define(["react","gpui-style-inject","mobx","react-dom"],(function(t,e,n,a){"use strict";function r(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}function o(t){if(t&&t.__esModule)return t;var e=Object.create(null);return t&&Object.keys(t).forEach((function(n){if("default"!==n){var a=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,a.get?a:{enumerable:!0,get:function(){return t[n]}})}})),e.default=t,Object.freeze(e)}var i=r(t),l=o(t),s=r(e),c=r(a),u=function(t,e){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},u(t,e)};function d(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}u(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var p=function(){return p=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},p.apply(this,arguments)};function f(t,e,n,a){return new(n||(n=Promise))((function(r,o){function i(t){try{s(a.next(t))}catch(t){o(t)}}function l(t){try{s(a.throw(t))}catch(t){o(t)}}function s(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(i,l)}s((a=a.apply(t,e||[])).next())}))}function h(t,e,n){if(n||2===arguments.length)for(var a,r=0,o=e.length;r<o;r++)!a&&r in e||(a||(a=Array.prototype.slice.call(e,0,r)),a[r]=e[r]);return t.concat(a||Array.prototype.slice.call(e))}var g="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function m(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function b(t){if(t.__esModule)return t;var e=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(t).forEach((function(n){var a=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,a.get?a:{enumerable:!0,get:function(){return t[n]}})})),e}function v(t){var e={exports:{}};return t(e,e.exports),e.exports}function y(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets option of @rollup/plugin-commonjs appropriately for this require call to behave properly.')}
/*
    object-assign
    (c) Sindre Sorhus
    @license MIT
    */var x=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable;function k(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}var S=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;var a=Object.getOwnPropertyNames(e).map((function(t){return e[t]}));if("0123456789"!==a.join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var n,a,r=k(t),o=1;o<arguments.length;o++){for(var i in n=Object(arguments[o]))w.call(n,i)&&(r[i]=n[i]);if(x){a=x(n);for(var l=0;l<a.length;l++)_.call(n,a[l])&&(r[a[l]]=n[a[l]])}}return r},C=v((function(t,e){var n=60103;if(e.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var a=Symbol.for;n=a("react.element"),e.Fragment=a("react.fragment")}var r=i.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function s(t,e,a){var i,s={},c=null,u=null;for(i in void 0!==a&&(c=""+a),void 0!==e.key&&(c=""+e.key),void 0!==e.ref&&(u=e.ref),e)o.call(e,i)&&!l.hasOwnProperty(i)&&(s[i]=e[i]);if(t&&t.defaultProps)for(i in e=t.defaultProps)void 0===s[i]&&(s[i]=e[i]);return{$$typeof:n,type:t,key:c,ref:u,props:s,_owner:r.current}}e.jsx=s,e.jsxs=s})),M=v((function(t){t.exports=C}));
/** @license React v17.0.1
     * react-jsx-runtime.production.min.js
     *
     * Copyright (c) Facebook, Inc. and its affiliates.
     *
     * This source code is licensed under the MIT license found in the
     * LICENSE file in the root directory of this source tree.
     */s.default("body {\n  background: unset !important; }\n\n.content {\n  width: 100%;\n  height: 100%;\n  overflow: auto; }\n\n.no_data {\n  display: flex;\n  flex-flow: row nowrap;\n  justify-content: center;\n  align-items: center;\n  width: 100vw;\n  height: 100vh;\n  font-size: 24px;\n  color: rgba(205, 224, 255, 0.24); }\n");var O=v((function(t){t.exports=function(t){if(Array.isArray(t))return t},t.exports.default=t.exports,t.exports.__esModule=!0})),E=v((function(t){t.exports=function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var a,r,o=[],i=!0,l=!1;try{for(n=n.call(t);!(i=(a=n.next()).done)&&(o.push(a.value),!e||o.length!==e);i=!0);}catch(t){l=!0,r=t}finally{try{i||null==n.return||n.return()}finally{if(l)throw r}}return o}},t.exports.default=t.exports,t.exports.__esModule=!0})),T=v((function(t){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,a=new Array(e);n<e;n++)a[n]=t[n];return a},t.exports.default=t.exports,t.exports.__esModule=!0})),D=v((function(t){t.exports=function(t,e){if(t){if("string"==typeof t)return T(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?T(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0})),I=v((function(t){t.exports=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.")},t.exports.default=t.exports,t.exports.__esModule=!0})),P=v((function(t){t.exports=function(t,e){return O(t)||E(t,e)||D(t,e)||I()},t.exports.default=t.exports,t.exports.__esModule=!0})),N=m(P),A=v((function(t){function e(){return t.exports=e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},t.exports.default=t.exports,t.exports.__esModule=!0,e.apply(this,arguments)}t.exports=e,t.exports.default=t.exports,t.exports.__esModule=!0})),z=m(A),R=v((function(t){!function(){var e={}.hasOwnProperty;function n(){for(var t=[],a=0;a<arguments.length;a++){var r=arguments[a];if(r){var o=typeof r;if("string"===o||"number"===o)t.push(r);else if(Array.isArray(r)){if(r.length){var i=n.apply(null,r);i&&t.push(i)}}else if("object"===o)if(r.toString===Object.prototype.toString)for(var l in r)e.call(r,l)&&r[l]&&t.push(l);else t.push(r.toString())}}return t.join(" ")}t.exports?(n.default=n,t.exports=n):window.classNames=n}()}));const L=({className:t="",fill:e,...n})=>i.default.createElement("svg",Object.assign({fill:e,width:"1em",height:"1em",viewBox:"0 0 1024 1024"},n||{}),i.default.createElement("path",{transform:"scale(1,-1) translate(0,-900)",d:"M534.4 421.76H336.064a10.368 10.368 0 0 0-10.368 10.368V655.936c0 5.76 4.608 10.368 10.368 10.368h201.728c20.096 0 40.128-4.352 57.664-14.08a122.688 122.688 0 0 0 21.888-201.088 126.72 126.72 0 0 0-82.944-29.44m48.256-314.24H336.064a10.368 10.368 0 0 0-10.368 10.368V341.632c0 5.76 4.608 10.432 10.368 10.432h246.592c20.096 0 40.192-4.352 57.728-14.208a122.88 122.88 0 0 0 0-216.256 117.952 117.952 0 0 0-57.728-14.144M266.24 37.76h316.48a192 192 0 0 1 96.128 358.208l-10.88 6.336 8.768 9.216c53.12 55.68 67.84 137.344 37.568 208A191.808 191.808 0 0 1 537.792 736H266.176A10.24 10.24 0 0 1 256 725.76v-677.76c0-5.632 4.608-10.24 10.24-10.24"})),j=({className:t="",style:e,onClick:n})=>i.default.createElement("span",{role:"img","aria-label":"bold",className:`anticon anticon-gapper-bold ${t}`,style:e,onClick:n},i.default.createElement(L,{fill:"currentColor"}));j.SVG=L;const F=({className:t="",fill:e,...n})=>i.default.createElement("svg",Object.assign({fill:e,width:"1em",height:"1em",viewBox:"0 0 1024 1024"},n||{}),i.default.createElement("path",{transform:"scale(1,-1) translate(0,-900)",d:"M725.7024 505.088c-8.768 8.64-26.624 8.768-35.392-0.064L510.4064 321.216 330.5024 505.088a25.984 25.984 0 0 1-35.392 0A26.496 26.496 0 0 1 288.0064 486.528a28.16 28.16 0 0 1 7.04-18.368l197.632-201.664c4.608-4.48 11.008-7.104 17.728-7.104a24.896 24.896 0 0 1 17.664 7.168L725.7024 468.16a26.24 26.24 0 0 1 7.04 18.432 28.48 28.48 0 0 1-7.04 18.496"})),B=({className:t="",style:e,onClick:n})=>i.default.createElement("span",{role:"img","aria-label":"drop-down1",className:`anticon anticon-gapper-drop-down1 ${t}`,style:e,onClick:n},i.default.createElement(F,{fill:"currentColor"}));B.SVG=F;const V=({className:t="",fill:e,...n})=>i.default.createElement("svg",Object.assign({fill:e,width:"1em",height:"1em",viewBox:"0 0 1024 1024"},n||{}),i.default.createElement("path",{transform:"scale(1,-1) translate(0,-900)",d:"M722.304 736H475.456A27.264 27.264 0 0 1 448 708.928c0-14.976 12.288-27.072 27.456-27.072h82.56l-197.44-595.712H283.456a27.264 27.264 0 0 1-27.456-27.072c0-14.976 12.288-27.072 27.456-27.072h246.848c15.104 0 27.392 12.16 27.392 27.072a27.264 27.264 0 0 1-27.392 27.072H449.92l197.632 595.712h74.752c15.104 0 27.392 12.16 27.392 27.072a27.264 27.264 0 0 1-27.392 27.072z"})),Y=({className:t="",style:e,onClick:n})=>i.default.createElement("span",{role:"img","aria-label":"italic",className:`anticon anticon-gapper-italic ${t}`,style:e,onClick:n},i.default.createElement(V,{fill:"currentColor"}));Y.SVG=V;const H=({className:t="",fill:e,...n})=>i.default.createElement("svg",Object.assign({fill:e,width:"1em",height:"1em",viewBox:"0 0 1024 1024"},n||{}),i.default.createElement("path",{transform:"scale(1,-1) translate(0,-900)",d:"M882.479074 598.014185A35.135912 35.135912 0 0 1 857.647136 607.99816a35.199912 35.199912 0 0 1-24.831938-9.983975L510.448004 275.646991 188.01681 598.014185A35.199912 35.199912 0 0 1 163.184872 607.99816 35.199912 35.199912 0 0 1 138.352934 598.014185a34.879913 34.879913 0 0 1 0-49.599876l347.263132-347.199132a34.879913 34.879913 0 0 1 49.599876 0L882.479074 548.350309a34.943913 34.943913 0 0 1 0 49.599876"})),W=({className:t="",style:e,onClick:n})=>i.default.createElement("span",{role:"img","aria-label":"down",className:`anticon anticon-gapper-down ${t}`,style:e,onClick:n},i.default.createElement(H,{fill:"currentColor"}));W.SVG=H;const U=({className:t="",fill:e,...n})=>i.default.createElement("svg",Object.assign({fill:e,width:"1em",height:"1em",viewBox:"0 0 1024 1024"},n||{}),i.default.createElement("path",{transform:"scale(1,-1) translate(0,-900)",d:"M853.312 413.888H170.688a42.688 42.688 0 0 1 0-85.376h682.624a42.688 42.688 0 0 1 0 85.376M170.688 618.688h682.624a42.688 42.688 0 0 1 0 85.312H170.688a42.688 42.688 0 0 1 0-85.312M853.312 123.712H170.688a42.688 42.688 0 0 1 0-85.312h682.624a42.688 42.688 0 0 1 0 85.312"})),G=({className:t="",style:e,onClick:n})=>i.default.createElement("span",{role:"img","aria-label":"menu1",className:`anticon anticon-gapper-menu1 ${t}`,style:e,onClick:n},i.default.createElement(U,{fill:"currentColor"}));G.SVG=U;const K=({className:t="",fill:e,...n})=>i.default.createElement("svg",Object.assign({fill:e,width:"1em",height:"1em",viewBox:"0 0 1024 1024"},n||{}),i.default.createElement("path",{transform:"scale(1,-1) translate(0,-900)",d:"M860.992 685.888A209.6 209.6 0 0 1 705.792 752.832c-59.264 0-115.456-22.656-158.144-63.872L443.008 585.792a10.752 10.752 0 0 1-2.24-13.312 12.032 12.032 0 0 1 10.88-6.592c20.096 0 36.864-1.92 51.328-5.824l1.024-0.128c3.52 0 7.552 0 10.112 2.56l80.704 79.232a155.52 155.52 0 0 0 110.976 45.248c41.216 0 80.576-16.448 107.904-45.248 28.16-28.16 43.712-67.072 43.712-109.248a158.144 158.144 0 0 0-46.72-108.096L707.648 322.752a156.032 156.032 0 0 0-211.456-7.488 19.648 19.648 0 0 1-14.272 5.44 18.624 18.624 0 0 1-13.504-6.912l-16.448-16.448c-4.608-4.608-9.024-10.432-7.04-17.6 0-6.592 2.56-11.776 7.168-14.784a218.624 218.624 0 0 1 146.304-55.424c56.32 0 112.896 21.12 156.352 62.976L856.384 372.672l1.536 1.536c86.016 86.016 87.36 225.92 3.072 311.68M600.64 151.872h-0.064a119.552 119.552 0 0 0-50.816 2.944l-0.896 0.128c-3.52 0-7.552 0-10.112-2.56L457.984 73.088a155.52 155.52 0 0 0-110.912-45.184c-41.28 0-80.64 16.448-107.904 45.184a152.96 152.96 0 0 0-43.776 109.312 162.112 162.112 0 0 0 46.72 109.504l101.632 100.16a156.032 156.032 0 0 0 211.392 7.488 19.52 19.52 0 0 1 14.272-5.376 18.56 18.56 0 0 1 13.504 6.912l16.448 16.448c4.608 4.608 9.024 10.368 7.104 17.6a16.96 16.96 0 0 1-7.232 14.784c-85.76 76.672-218.624 73.408-302.656-7.616L194.944 342.144l-1.536-1.472C107.392 254.656 106.048 114.752 190.4 28.992c41.28-42.88 95.424-65.472 156.672-65.472 59.264 0 115.392 22.656 158.08 63.872L609.92 130.496a10.88 10.88 0 0 1 2.176 13.44c-1.984 3.904-6.08 7.936-11.392 7.936"})),q=({className:t="",style:e,onClick:n})=>i.default.createElement("span",{role:"img","aria-label":"link1",className:`anticon anticon-gapper-link1 ${t}`,style:e,onClick:n},i.default.createElement(K,{fill:"currentColor"}));q.SVG=K;const X=({className:t="",fill:e,...n})=>i.default.createElement("svg",Object.assign({fill:e,width:"1em",height:"1em",viewBox:"0 0 1024 1024"},n||{}),i.default.createElement("path",{transform:"scale(1,-1) translate(0,-900)",d:"M265.28 565.952h537.408a37.12 37.12 0 0 1 0 74.048H265.28a37.056 37.056 0 0 1 0-74.048M365.568 395.008a37.056 37.056 0 0 1 0-73.984h335.616a37.056 37.056 0 0 1 0 73.984H365.568zM903.04 151.36H164.928a37.056 37.056 0 0 1 0-74.048H903.04a37.056 37.056 0 0 1 0 73.984"})),Z=({className:t="",style:e,onClick:n})=>i.default.createElement("span",{role:"img","aria-label":"text-center",className:`anticon anticon-gapper-text-center ${t}`,style:e,onClick:n},i.default.createElement(X,{fill:"currentColor"}));Z.SVG=X;const J=({className:t="",fill:e,...n})=>i.default.createElement("svg",Object.assign({fill:e,width:"1em",height:"1em",viewBox:"0 0 1024 1024"},n||{}),i.default.createElement("path",{transform:"scale(1,-1) translate(0,-900)",d:"M165.12 551.616h537.408a37.12 37.12 0 0 1 0 74.048H165.12a37.12 37.12 0 0 1 0-74.048M165.12 306.624h335.616a37.056 37.056 0 0 1 0 73.984H165.12a37.12 37.12 0 0 1 0-73.984M903.168 136.96H165.056a37.056 37.056 0 0 1 0-74.048H903.168a37.12 37.12 0 0 1 0 74.048"})),$=({className:t="",style:e,onClick:n})=>i.default.createElement("span",{role:"img","aria-label":"text-left",className:`anticon anticon-gapper-text-left ${t}`,style:e,onClick:n},i.default.createElement(J,{fill:"currentColor"}));$.SVG=J;const Q=({className:t="",fill:e,...n})=>i.default.createElement("svg",Object.assign({fill:e,width:"1em",height:"1em",viewBox:"0 0 1024 1024"},n||{}),i.default.createElement("path",{transform:"scale(1,-1) translate(0,-900)",d:"M365.632 551.616H903.04a37.12 37.12 0 0 1 0 74.048H365.632a37.12 37.12 0 0 1 0-74.048M903.04 380.672H567.424a37.056 37.056 0 0 1 0-74.048h335.616a37.12 37.12 0 0 1 0 74.048M903.04 136.96H164.928a37.056 37.056 0 0 1 0-74.048H903.04a37.12 37.12 0 0 1 0 74.048"})),tt=({className:t="",style:e,onClick:n})=>i.default.createElement("span",{role:"img","aria-label":"text-right",className:`anticon anticon-gapper-text-right ${t}`,style:e,onClick:n},i.default.createElement(Q,{fill:"currentColor"}));tt.SVG=Q;const et=({className:t="",fill:e,...n})=>i.default.createElement("svg",Object.assign({fill:e,width:"1em",height:"1em",viewBox:"0 0 1024 1024"},n||{}),i.default.createElement("path",{transform:"scale(1,-1) translate(0,-900)",d:"M894.528 546.688a33.728 33.728 0 0 1-17.6 18.432 32.32 32.32 0 0 1-25.408 0.448 32.896 32.896 0 0 1-18.944-43.008c20.224-51.968 27.52-111.424 21.12-171.968a360.704 360.704 0 0 0-136.512-242.176 360.64 360.64 0 0 0-267.84-74.688 360.704 360.704 0 0 0-242.176 136.576A361.024 361.024 0 0 0 132.48 438.08 360.768 360.768 0 0 0 269.056 680.32a360.96 360.96 0 0 0 267.776 74.688 372.288 372.288 0 0 0 163.072-61.888 34.176 34.176 0 0 1 25.024-5.376 32.32 32.32 0 0 1 21.376 14.08 34.304 34.304 0 0 1 5.376 25.024 32.384 32.384 0 0 1-13.952 21.312 414.464 414.464 0 0 1-192.32 72.32 425.344 425.344 0 0 1-316.928-88.32 425.664 425.664 0 0 1-161.472-286.976 428.928 428.928 0 0 1 88.32-316.288 422.592 422.592 0 0 1 285.44-160.576 424.128 424.128 0 0 1 316.48 88.448 430.144 430.144 0 0 1 161.92 286.912 431.04 431.04 0 0 1-24.64 203.072M485.44 533.12a37.44 37.44 0 1 1-0.128 74.944 37.44 37.44 0 0 1 0.128-74.88M485.44 508.16A37.44 37.44 0 0 1 448 470.784v-264.576a37.44 37.44 0 0 1 74.88 0V470.784a37.44 37.44 0 0 1-37.44 37.376"})),nt=({className:t="",style:e,onClick:n})=>i.default.createElement("span",{role:"img","aria-label":"tips",className:`anticon anticon-gapper-tips ${t}`,style:e,onClick:n},i.default.createElement(et,{fill:"currentColor"}));nt.SVG=et;var at="object"==typeof g&&g&&g.Object===Object&&g,rt="object"==typeof self&&self&&self.Object===Object&&self,ot=at||rt||Function("return this")(),it=ot.Symbol,lt=Object.prototype,st=lt.hasOwnProperty,ct=lt.toString,ut=it?it.toStringTag:void 0;var dt=function(t){var e=st.call(t,ut),n=t[ut];try{t[ut]=void 0;var a=!0}catch(t){}var r=ct.call(t);return a&&(e?t[ut]=n:delete t[ut]),r},pt=Object.prototype.toString;var ft=function(t){return pt.call(t)},ht=it?it.toStringTag:void 0;var gt=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":ht&&ht in Object(t)?dt(t):ft(t)},mt=Array.isArray;var bt=function(t){return null!=t&&"object"==typeof t};var vt=function(t){return"string"==typeof t||!mt(t)&&bt(t)&&"[object String]"==gt(t)};var yt=function(t){return function(e,n,a){for(var r=-1,o=Object(e),i=a(e),l=i.length;l--;){var s=i[t?l:++r];if(!1===n(o[s],s,o))break}return e}},xt=yt();var wt=function(t,e){for(var n=-1,a=Array(t);++n<t;)a[n]=e(n);return a};var _t=function(t){return bt(t)&&"[object Arguments]"==gt(t)},kt=Object.prototype,St=kt.hasOwnProperty,Ct=kt.propertyIsEnumerable,Mt=_t(function(){return arguments}())?_t:function(t){return bt(t)&&St.call(t,"callee")&&!Ct.call(t,"callee")},Ot=Mt;var Et=function(){return!1},Tt=v((function(t,e){var n=e&&!e.nodeType&&e,a=n&&t&&!t.nodeType&&t,r=a&&a.exports===n?ot.Buffer:void 0,o=(r?r.isBuffer:void 0)||Et;t.exports=o})),Dt=/^(?:0|[1-9]\d*)$/;var It=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&Dt.test(t))&&t>-1&&t%1==0&&t<e};var Pt=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991},Nt={};Nt["[object Float32Array]"]=Nt["[object Float64Array]"]=Nt["[object Int8Array]"]=Nt["[object Int16Array]"]=Nt["[object Int32Array]"]=Nt["[object Uint8Array]"]=Nt["[object Uint8ClampedArray]"]=Nt["[object Uint16Array]"]=Nt["[object Uint32Array]"]=!0,Nt["[object Arguments]"]=Nt["[object Array]"]=Nt["[object ArrayBuffer]"]=Nt["[object Boolean]"]=Nt["[object DataView]"]=Nt["[object Date]"]=Nt["[object Error]"]=Nt["[object Function]"]=Nt["[object Map]"]=Nt["[object Number]"]=Nt["[object Object]"]=Nt["[object RegExp]"]=Nt["[object Set]"]=Nt["[object String]"]=Nt["[object WeakMap]"]=!1;var At=function(t){return bt(t)&&Pt(t.length)&&!!Nt[gt(t)]};var zt=function(t){return function(e){return t(e)}},Rt=v((function(t,e){var n=e&&!e.nodeType&&e,a=n&&t&&!t.nodeType&&t,r=a&&a.exports===n&&at.process,o=function(){try{var t=a&&a.require&&a.require("util").types;return t||r&&r.binding&&r.binding("util")}catch(t){}}();t.exports=o})),Lt=Rt&&Rt.isTypedArray,jt=Lt?zt(Lt):At,Ft=Object.prototype.hasOwnProperty;var Bt=function(t,e){var n=mt(t),a=!n&&Ot(t),r=!n&&!a&&Tt(t),o=!n&&!a&&!r&&jt(t),i=n||a||r||o,l=i?wt(t.length,String):[],s=l.length;for(var c in t)!e&&!Ft.call(t,c)||i&&("length"==c||r&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||It(c,s))||l.push(c);return l},Vt=Object.prototype;var Yt=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Vt)};var Ht=function(t,e){return function(n){return t(e(n))}},Wt=Ht(Object.keys,Object),Ut=Object.prototype.hasOwnProperty;var Gt=function(t){if(!Yt(t))return Wt(t);var e=[];for(var n in Object(t))Ut.call(t,n)&&"constructor"!=n&&e.push(n);return e};var Kt=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};var qt=function(t){if(!Kt(t))return!1;var e=gt(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};var Xt=function(t){return null!=t&&Pt(t.length)&&!qt(t)};var Zt=function(t){return Xt(t)?Bt(t):Gt(t)};var Jt=function(t,e){return t&&xt(t,e,Zt)};var $t=function(t){return t};var Qt=function(t){return"function"==typeof t?t:$t};var te=function(t,e){return t&&Jt(t,Qt(e))},ee=Ht(Object.getPrototypeOf,Object),ne=Function.prototype,ae=Object.prototype,re=ne.toString,oe=ae.hasOwnProperty,ie=re.call(Object);var le=function(t){if(!bt(t)||"[object Object]"!=gt(t))return!1;var e=ee(t);if(null===e)return!0;var n=oe.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&re.call(n)==ie};var se=function(t,e){for(var n=-1,a=null==t?0:t.length,r=Array(a);++n<a;)r[n]=e(t[n],n,t);return r};var ce=function(){this.__data__=[],this.size=0};var ue=function(t,e){return t===e||t!=t&&e!=e};var de=function(t,e){for(var n=t.length;n--;)if(ue(t[n][0],e))return n;return-1},pe=Array.prototype.splice;var fe=function(t){var e=this.__data__,n=de(e,t);return!(n<0)&&(n==e.length-1?e.pop():pe.call(e,n,1),--this.size,!0)};var he=function(t){var e=this.__data__,n=de(e,t);return n<0?void 0:e[n][1]};var ge=function(t){return de(this.__data__,t)>-1};var me=function(t,e){var n=this.__data__,a=de(n,t);return a<0?(++this.size,n.push([t,e])):n[a][1]=e,this};function be(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var a=t[e];this.set(a[0],a[1])}}be.prototype.clear=ce,be.prototype.delete=fe,be.prototype.get=he,be.prototype.has=ge,be.prototype.set=me;var ve=be;var ye=function(){this.__data__=new ve,this.size=0};var xe=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n};var we=function(t){return this.__data__.get(t)};var _e,ke=function(t){return this.__data__.has(t)},Se=ot["__core-js_shared__"],Ce=(_e=/[^.]+$/.exec(Se&&Se.keys&&Se.keys.IE_PROTO||""))?"Symbol(src)_1."+_e:"";var Me=function(t){return!!Ce&&Ce in t},Oe=Function.prototype.toString;var Ee=function(t){if(null!=t){try{return Oe.call(t)}catch(t){}try{return t+""}catch(t){}}return""},Te=/^\[object .+?Constructor\]$/,De=Function.prototype,Ie=Object.prototype,Pe=De.toString,Ne=Ie.hasOwnProperty,Ae=RegExp("^"+Pe.call(Ne).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var ze=function(t){return!(!Kt(t)||Me(t))&&(qt(t)?Ae:Te).test(Ee(t))};var Re=function(t,e){return null==t?void 0:t[e]};var Le=function(t,e){var n=Re(t,e);return ze(n)?n:void 0},je=Le(ot,"Map"),Fe=Le(Object,"create");var Be=function(){this.__data__=Fe?Fe(null):{},this.size=0};var Ve=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Ye=Object.prototype.hasOwnProperty;var He=function(t){var e=this.__data__;if(Fe){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return Ye.call(e,t)?e[t]:void 0},We=Object.prototype.hasOwnProperty;var Ue=function(t){var e=this.__data__;return Fe?void 0!==e[t]:We.call(e,t)};var Ge=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Fe&&void 0===e?"__lodash_hash_undefined__":e,this};function Ke(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var a=t[e];this.set(a[0],a[1])}}Ke.prototype.clear=Be,Ke.prototype.delete=Ve,Ke.prototype.get=He,Ke.prototype.has=Ue,Ke.prototype.set=Ge;var qe=Ke;var Xe=function(){this.size=0,this.__data__={hash:new qe,map:new(je||ve),string:new qe}};var Ze=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var Je=function(t,e){var n=t.__data__;return Ze(e)?n["string"==typeof e?"string":"hash"]:n.map};var $e=function(t){var e=Je(this,t).delete(t);return this.size-=e?1:0,e};var Qe=function(t){return Je(this,t).get(t)};var tn=function(t){return Je(this,t).has(t)};var en=function(t,e){var n=Je(this,t),a=n.size;return n.set(t,e),this.size+=n.size==a?0:1,this};function nn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var a=t[e];this.set(a[0],a[1])}}nn.prototype.clear=Xe,nn.prototype.delete=$e,nn.prototype.get=Qe,nn.prototype.has=tn,nn.prototype.set=en;var an=nn;var rn=function(t,e){var n=this.__data__;if(n instanceof ve){var a=n.__data__;if(!je||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new an(a)}return n.set(t,e),this.size=n.size,this};function on(t){var e=this.__data__=new ve(t);this.size=e.size}on.prototype.clear=ye,on.prototype.delete=xe,on.prototype.get=we,on.prototype.has=ke,on.prototype.set=rn;var ln=on;var sn=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};var cn=function(t){return this.__data__.has(t)};function un(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new an;++e<n;)this.add(t[e])}un.prototype.add=un.prototype.push=sn,un.prototype.has=cn;var dn=un;var pn=function(t,e){for(var n=-1,a=null==t?0:t.length;++n<a;)if(e(t[n],n,t))return!0;return!1};var fn=function(t,e){return t.has(e)};var hn=function(t,e,n,a,r,o){var i=1&n,l=t.length,s=e.length;if(l!=s&&!(i&&s>l))return!1;var c=o.get(t),u=o.get(e);if(c&&u)return c==e&&u==t;var d=-1,p=!0,f=2&n?new dn:void 0;for(o.set(t,e),o.set(e,t);++d<l;){var h=t[d],g=e[d];if(a)var m=i?a(g,h,d,e,t,o):a(h,g,d,t,e,o);if(void 0!==m){if(m)continue;p=!1;break}if(f){if(!pn(e,(function(t,e){if(!fn(f,e)&&(h===t||r(h,t,n,a,o)))return f.push(e)}))){p=!1;break}}else if(h!==g&&!r(h,g,n,a,o)){p=!1;break}}return o.delete(t),o.delete(e),p},gn=ot.Uint8Array;var mn=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,a){n[++e]=[a,t]})),n};var bn=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n},vn=it?it.prototype:void 0,yn=vn?vn.valueOf:void 0;var xn=function(t,e,n,a,r,o,i){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new gn(t),new gn(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return ue(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var l=mn;case"[object Set]":var s=1&a;if(l||(l=bn),t.size!=e.size&&!s)return!1;var c=i.get(t);if(c)return c==e;a|=2,i.set(t,e);var u=hn(l(t),l(e),a,r,o,i);return i.delete(t),u;case"[object Symbol]":if(yn)return yn.call(t)==yn.call(e)}return!1};var wn=function(t,e){for(var n=-1,a=e.length,r=t.length;++n<a;)t[r+n]=e[n];return t};var _n=function(t,e,n){var a=e(t);return mt(t)?a:wn(a,n(t))};var kn=function(t,e){for(var n=-1,a=null==t?0:t.length,r=0,o=[];++n<a;){var i=t[n];e(i,n,t)&&(o[r++]=i)}return o};var Sn=function(){return[]},Cn=Object.prototype.propertyIsEnumerable,Mn=Object.getOwnPropertySymbols,On=Mn?function(t){return null==t?[]:(t=Object(t),kn(Mn(t),(function(e){return Cn.call(t,e)})))}:Sn,En=On;var Tn=function(t){return _n(t,Zt,En)},Dn=Object.prototype.hasOwnProperty;var In=function(t,e,n,a,r,o){var i=1&n,l=Tn(t),s=l.length;if(s!=Tn(e).length&&!i)return!1;for(var c=s;c--;){var u=l[c];if(!(i?u in e:Dn.call(e,u)))return!1}var d=o.get(t),p=o.get(e);if(d&&p)return d==e&&p==t;var f=!0;o.set(t,e),o.set(e,t);for(var h=i;++c<s;){var g=t[u=l[c]],m=e[u];if(a)var b=i?a(m,g,u,e,t,o):a(g,m,u,t,e,o);if(!(void 0===b?g===m||r(g,m,n,a,o):b)){f=!1;break}h||(h="constructor"==u)}if(f&&!h){var v=t.constructor,y=e.constructor;v==y||!("constructor"in t)||!("constructor"in e)||"function"==typeof v&&v instanceof v&&"function"==typeof y&&y instanceof y||(f=!1)}return o.delete(t),o.delete(e),f},Pn=Le(ot,"DataView"),Nn=Le(ot,"Promise"),An=Le(ot,"Set"),zn=Le(ot,"WeakMap"),Rn="[object Map]",Ln="[object Promise]",jn="[object Set]",Fn="[object WeakMap]",Bn="[object DataView]",Vn=Ee(Pn),Yn=Ee(je),Hn=Ee(Nn),Wn=Ee(An),Un=Ee(zn),Gn=gt;(Pn&&Gn(new Pn(new ArrayBuffer(1)))!=Bn||je&&Gn(new je)!=Rn||Nn&&Gn(Nn.resolve())!=Ln||An&&Gn(new An)!=jn||zn&&Gn(new zn)!=Fn)&&(Gn=function(t){var e=gt(t),n="[object Object]"==e?t.constructor:void 0,a=n?Ee(n):"";if(a)switch(a){case Vn:return Bn;case Yn:return Rn;case Hn:return Ln;case Wn:return jn;case Un:return Fn}return e});var Kn=Gn,qn="[object Arguments]",Xn="[object Array]",Zn="[object Object]",Jn=Object.prototype.hasOwnProperty;var $n=function(t,e,n,a,r,o){var i=mt(t),l=mt(e),s=i?Xn:Kn(t),c=l?Xn:Kn(e),u=(s=s==qn?Zn:s)==Zn,d=(c=c==qn?Zn:c)==Zn,p=s==c;if(p&&Tt(t)){if(!Tt(e))return!1;i=!0,u=!1}if(p&&!u)return o||(o=new ln),i||jt(t)?hn(t,e,n,a,r,o):xn(t,e,s,n,a,r,o);if(!(1&n)){var f=u&&Jn.call(t,"__wrapped__"),h=d&&Jn.call(e,"__wrapped__");if(f||h){var g=f?t.value():t,m=h?e.value():e;return o||(o=new ln),r(g,m,n,a,o)}}return!!p&&(o||(o=new ln),In(t,e,n,a,r,o))};var Qn=function t(e,n,a,r,o){return e===n||(null==e||null==n||!bt(e)&&!bt(n)?e!=e&&n!=n:$n(e,n,a,r,t,o))};var ta=function(t,e,n,a){var r=n.length,o=r,i=!a;if(null==t)return!o;for(t=Object(t);r--;){var l=n[r];if(i&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++r<o;){var s=(l=n[r])[0],c=t[s],u=l[1];if(i&&l[2]){if(void 0===c&&!(s in t))return!1}else{var d=new ln;if(a)var p=a(c,u,s,t,e,d);if(!(void 0===p?Qn(u,c,3,a,d):p))return!1}}return!0};var ea=function(t){return t==t&&!Kt(t)};var na=function(t){for(var e=Zt(t),n=e.length;n--;){var a=e[n],r=t[a];e[n]=[a,r,ea(r)]}return e};var aa=function(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}};var ra=function(t){var e=na(t);return 1==e.length&&e[0][2]?aa(e[0][0],e[0][1]):function(n){return n===t||ta(n,t,e)}};var oa=function(t){return"symbol"==typeof t||bt(t)&&"[object Symbol]"==gt(t)},ia=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,la=/^\w*$/;var sa=function(t,e){if(mt(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!oa(t))||(la.test(t)||!ia.test(t)||null!=e&&t in Object(e))};function ca(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var a=arguments,r=e?e.apply(this,a):a[0],o=n.cache;if(o.has(r))return o.get(r);var i=t.apply(this,a);return n.cache=o.set(r,i)||o,i};return n.cache=new(ca.Cache||an),n}ca.Cache=an;var ua=ca;var da=function(t){var e=ua(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e},pa=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,fa=/\\(\\)?/g,ha=da((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(pa,(function(t,n,a,r){e.push(a?r.replace(fa,"$1"):n||t)})),e})),ga=ha,ma=it?it.prototype:void 0,ba=ma?ma.toString:void 0;var va=function t(e){if("string"==typeof e)return e;if(mt(e))return se(e,t)+"";if(oa(e))return ba?ba.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n};var ya=function(t){return null==t?"":va(t)};var xa=function(t,e){return mt(t)?t:sa(t,e)?[t]:ga(ya(t))};var wa=function(t){if("string"==typeof t||oa(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e};var _a=function(t,e){for(var n=0,a=(e=xa(e,t)).length;null!=t&&n<a;)t=t[wa(e[n++])];return n&&n==a?t:void 0};var ka=function(t,e,n){var a=null==t?void 0:_a(t,e);return void 0===a?n:a};var Sa=function(t,e){return null!=t&&e in Object(t)};var Ca=function(t,e,n){for(var a=-1,r=(e=xa(e,t)).length,o=!1;++a<r;){var i=wa(e[a]);if(!(o=null!=t&&n(t,i)))break;t=t[i]}return o||++a!=r?o:!!(r=null==t?0:t.length)&&Pt(r)&&It(i,r)&&(mt(t)||Ot(t))};var Ma=function(t,e){return null!=t&&Ca(t,e,Sa)};var Oa=function(t,e){return sa(t)&&ea(e)?aa(wa(t),e):function(n){var a=ka(n,t);return void 0===a&&a===e?Ma(n,t):Qn(e,a,3)}};var Ea=function(t){return function(e){return null==e?void 0:e[t]}};var Ta=function(t){return function(e){return _a(e,t)}};var Da=function(t){return sa(t)?Ea(wa(t)):Ta(t)};var Ia=function(t){return"function"==typeof t?t:null==t?$t:"object"==typeof t?mt(t)?Oa(t[0],t[1]):ra(t):Da(t)};var Pa=function(t,e){return function(n,a){if(null==n)return n;if(!Xt(n))return t(n,a);for(var r=n.length,o=e?r:-1,i=Object(n);(e?o--:++o<r)&&!1!==a(i[o],o,i););return n}},Na=Pa(Jt);var Aa=function(t,e){var n=-1,a=Xt(t)?Array(t.length):[];return Na(t,(function(t,r,o){a[++n]=e(t,r,o)})),a};var za=function(t,e){return(mt(t)?se:Aa)(t,Ia(e))},Ra=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.flattenNames=void 0;var n=i(vt),a=i(te),r=i(le),o=i(za);function i(t){return t&&t.__esModule?t:{default:t}}var l=e.flattenNames=function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=[];return(0,o.default)(e,(function(e){Array.isArray(e)?t(e).map((function(t){return i.push(t)})):(0,r.default)(e)?(0,a.default)(e,(function(t,e){!0===t&&i.push(e),i.push(e+"-"+t)})):(0,n.default)(e)&&i.push(e)})),i};e.default=l}));var La=function(t,e){for(var n=-1,a=null==t?0:t.length;++n<a&&!1!==e(t[n],n,t););return t},ja=function(){try{var t=Le(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();var Fa=function(t,e,n){"__proto__"==e&&ja?ja(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n},Ba=Object.prototype.hasOwnProperty;var Va=function(t,e,n){var a=t[e];Ba.call(t,e)&&ue(a,n)&&(void 0!==n||e in t)||Fa(t,e,n)};var Ya=function(t,e,n,a){var r=!n;n||(n={});for(var o=-1,i=e.length;++o<i;){var l=e[o],s=a?a(n[l],t[l],l,n,t):void 0;void 0===s&&(s=t[l]),r?Fa(n,l,s):Va(n,l,s)}return n};var Ha=function(t,e){return t&&Ya(e,Zt(e),t)};var Wa=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e},Ua=Object.prototype.hasOwnProperty;var Ga=function(t){if(!Kt(t))return Wa(t);var e=Yt(t),n=[];for(var a in t)("constructor"!=a||!e&&Ua.call(t,a))&&n.push(a);return n};var Ka=function(t){return Xt(t)?Bt(t,!0):Ga(t)};var qa=function(t,e){return t&&Ya(e,Ka(e),t)},Xa=v((function(t,e){var n=e&&!e.nodeType&&e,a=n&&t&&!t.nodeType&&t,r=a&&a.exports===n?ot.Buffer:void 0,o=r?r.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var n=t.length,a=o?o(n):new t.constructor(n);return t.copy(a),a}}));var Za=function(t,e){var n=-1,a=t.length;for(e||(e=Array(a));++n<a;)e[n]=t[n];return e};var Ja=function(t,e){return Ya(t,En(t),e)},$a=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)wn(e,En(t)),t=ee(t);return e}:Sn,Qa=$a;var tr=function(t,e){return Ya(t,Qa(t),e)};var er=function(t){return _n(t,Ka,Qa)},nr=Object.prototype.hasOwnProperty;var ar=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&nr.call(t,"index")&&(n.index=t.index,n.input=t.input),n};var rr=function(t){var e=new t.constructor(t.byteLength);return new gn(e).set(new gn(t)),e};var or=function(t,e){var n=e?rr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)},ir=/\w*$/;var lr=function(t){var e=new t.constructor(t.source,ir.exec(t));return e.lastIndex=t.lastIndex,e},sr=it?it.prototype:void 0,cr=sr?sr.valueOf:void 0;var ur=function(t){return cr?Object(cr.call(t)):{}};var dr=function(t,e){var n=e?rr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)};var pr=function(t,e,n){var a=t.constructor;switch(e){case"[object ArrayBuffer]":return rr(t);case"[object Boolean]":case"[object Date]":return new a(+t);case"[object DataView]":return or(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return dr(t,n);case"[object Map]":case"[object Set]":return new a;case"[object Number]":case"[object String]":return new a(t);case"[object RegExp]":return lr(t);case"[object Symbol]":return ur(t)}},fr=Object.create,hr=function(){function t(){}return function(e){if(!Kt(e))return{};if(fr)return fr(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}(),gr=hr;var mr=function(t){return"function"!=typeof t.constructor||Yt(t)?{}:gr(ee(t))};var br=function(t){return bt(t)&&"[object Map]"==Kn(t)},vr=Rt&&Rt.isMap,yr=vr?zt(vr):br;var xr=function(t){return bt(t)&&"[object Set]"==Kn(t)},wr=Rt&&Rt.isSet,_r=wr?zt(wr):xr,kr="[object Arguments]",Sr="[object Function]",Cr="[object Object]",Mr={};Mr[kr]=Mr["[object Array]"]=Mr["[object ArrayBuffer]"]=Mr["[object DataView]"]=Mr["[object Boolean]"]=Mr["[object Date]"]=Mr["[object Float32Array]"]=Mr["[object Float64Array]"]=Mr["[object Int8Array]"]=Mr["[object Int16Array]"]=Mr["[object Int32Array]"]=Mr["[object Map]"]=Mr["[object Number]"]=Mr[Cr]=Mr["[object RegExp]"]=Mr["[object Set]"]=Mr["[object String]"]=Mr["[object Symbol]"]=Mr["[object Uint8Array]"]=Mr["[object Uint8ClampedArray]"]=Mr["[object Uint16Array]"]=Mr["[object Uint32Array]"]=!0,Mr["[object Error]"]=Mr[Sr]=Mr["[object WeakMap]"]=!1;var Or=function t(e,n,a,r,o,i){var l,s=1&n,c=2&n,u=4&n;if(a&&(l=o?a(e,r,o,i):a(e)),void 0!==l)return l;if(!Kt(e))return e;var d=mt(e);if(d){if(l=ar(e),!s)return Za(e,l)}else{var p=Kn(e),f=p==Sr||"[object GeneratorFunction]"==p;if(Tt(e))return Xa(e,s);if(p==Cr||p==kr||f&&!o){if(l=c||f?{}:mr(e),!s)return c?tr(e,qa(l,e)):Ja(e,Ha(l,e))}else{if(!Mr[p])return o?e:{};l=pr(e,p,s)}}i||(i=new ln);var h=i.get(e);if(h)return h;i.set(e,l),_r(e)?e.forEach((function(r){l.add(t(r,n,a,r,e,i))})):yr(e)&&e.forEach((function(r,o){l.set(o,t(r,n,a,o,e,i))}));var g=d?void 0:(u?c?er:Tn:c?Ka:Zt)(e);return La(g||e,(function(r,o){g&&(r=e[o=r]),Va(l,o,t(r,n,a,o,e,i))})),l};var Er=function(t){return Or(t,5)},Tr=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.mergeClasses=void 0;var n=o(te),a=o(Er),r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t};function o(t){return t&&t.__esModule?t:{default:t}}var i=e.mergeClasses=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=t.default&&(0,a.default)(t.default)||{};return e.map((function(e){var a=t[e];return a&&(0,n.default)(a,(function(t,e){o[e]||(o[e]={}),o[e]=r({},o[e],a[e])})),e})),o};e.default=i})),Dr=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.autoprefix=void 0;var n,a=(n=te)&&n.__esModule?n:{default:n},r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t};var o={borderRadius:function(t){return{msBorderRadius:t,MozBorderRadius:t,OBorderRadius:t,WebkitBorderRadius:t,borderRadius:t}},boxShadow:function(t){return{msBoxShadow:t,MozBoxShadow:t,OBoxShadow:t,WebkitBoxShadow:t,boxShadow:t}},userSelect:function(t){return{WebkitTouchCallout:t,KhtmlUserSelect:t,MozUserSelect:t,msUserSelect:t,WebkitUserSelect:t,userSelect:t}},flex:function(t){return{WebkitBoxFlex:t,MozBoxFlex:t,WebkitFlex:t,msFlex:t,flex:t}},flexBasis:function(t){return{WebkitFlexBasis:t,flexBasis:t}},justifyContent:function(t){return{WebkitJustifyContent:t,justifyContent:t}},transition:function(t){return{msTransition:t,MozTransition:t,OTransition:t,WebkitTransition:t,transition:t}},transform:function(t){return{msTransform:t,MozTransform:t,OTransform:t,WebkitTransform:t,transform:t}},absolute:function(t){var e=t&&t.split(" ");return{position:"absolute",top:e&&e[0],right:e&&e[1],bottom:e&&e[2],left:e&&e[3]}},extend:function(t,e){var n=e[t];return n||{extend:t}}},i=e.autoprefix=function(t){var e={};return(0,a.default)(t,(function(t,n){var i={};(0,a.default)(t,(function(t,e){var n=o[e];n?i=r({},i,n(t)):i[e]=t})),e[n]=i})),e};e.default=i})),Ir=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.hover=void 0;var n,a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},r=(n=i.default)&&n.__esModule?n:{default:n};function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=e.hover=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function i(){var n,s,c;o(this,i);for(var u=arguments.length,d=Array(u),p=0;p<u;p++)d[p]=arguments[p];return s=c=l(this,(n=i.__proto__||Object.getPrototypeOf(i)).call.apply(n,[this].concat(d))),c.state={hover:!1},c.handleMouseOver=function(){return c.setState({hover:!0})},c.handleMouseOut=function(){return c.setState({hover:!1})},c.render=function(){return r.default.createElement(e,{onMouseOver:c.handleMouseOver,onMouseOut:c.handleMouseOut},r.default.createElement(t,a({},c.props,c.state)))},l(c,s)}return s(i,n),i}(r.default.Component)};e.default=c})),Pr=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.active=void 0;var n,a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},r=(n=i.default)&&n.__esModule?n:{default:n};function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=e.active=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function i(){var n,s,c;o(this,i);for(var u=arguments.length,d=Array(u),p=0;p<u;p++)d[p]=arguments[p];return s=c=l(this,(n=i.__proto__||Object.getPrototypeOf(i)).call.apply(n,[this].concat(d))),c.state={active:!1},c.handleMouseDown=function(){return c.setState({active:!0})},c.handleMouseUp=function(){return c.setState({active:!1})},c.render=function(){return r.default.createElement(e,{onMouseDown:c.handleMouseDown,onMouseUp:c.handleMouseUp},r.default.createElement(t,a({},c.props,c.state)))},l(c,s)}return s(i,n),i}(r.default.Component)};e.default=c})),Nr=function(t,e){var n={},a=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];n[t]=e};return 0===t&&a("first-child"),t===e-1&&a("last-child"),(0===t||t%2==0)&&a("even"),1===Math.abs(t%2)&&a("odd"),a("nth-child",t),n},Ar=Object.defineProperty({default:Nr},"__esModule",{value:!0}),zr=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.ReactCSS=e.loop=e.handleActive=e.handleHover=e.hover=void 0;var n=s(Ra),a=s(Tr),r=s(Dr),o=s(Ir),i=s(Pr),l=s(Ar);function s(t){return t&&t.__esModule?t:{default:t}}e.hover=o.default,e.handleHover=o.default,e.handleActive=i.default,e.loop=l.default;var c=e.ReactCSS=function(t){for(var e=arguments.length,o=Array(e>1?e-1:0),i=1;i<e;i++)o[i-1]=arguments[i];var l=(0,n.default)(o),s=(0,a.default)(t,l);return(0,r.default)(s)};e.default=c})),Rr=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.calculateChange=function(t,e,n,a,r){var o=r.clientWidth,i=r.clientHeight,l="number"==typeof t.pageX?t.pageX:t.touches[0].pageX,s="number"==typeof t.pageY?t.pageY:t.touches[0].pageY,c=l-(r.getBoundingClientRect().left+window.pageXOffset),u=s-(r.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n){var d=void 0;if(d=u<0?0:u>i?1:Math.round(100*u/i)/100,e.a!==d)return{h:e.h,s:e.s,l:e.l,a:d,source:"rgb"}}else{var p=void 0;if(a!==(p=c<0?0:c>o?1:Math.round(100*c/o)/100))return{h:e.h,s:e.s,l:e.l,a:p,source:"rgb"}}return null}})),Lr=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n={},a=e.render=function(t,e,n,a){if("undefined"==typeof document&&!a)return null;var r=a?new a:document.createElement("canvas");r.width=2*n,r.height=2*n;var o=r.getContext("2d");return o?(o.fillStyle=t,o.fillRect(0,0,r.width,r.height),o.fillStyle=e,o.fillRect(0,0,n,n),o.translate(n,n),o.fillRect(0,0,n,n),r.toDataURL()):null};e.get=function(t,e,r,o){var i=t+"-"+e+"-"+r+(o?"-server":"");if(n[i])return n[i];var l=a(t,e,r,o);return n[i]=l,l}})),jr=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Checkboard=void 0;var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},a=l(i.default),r=l(zr),o=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(Lr);function l(t){return t&&t.__esModule?t:{default:t}}var s=e.Checkboard=function(t){var e=t.white,l=t.grey,s=t.size,c=t.renderers,u=t.borderRadius,d=t.boxShadow,p=t.children,f=(0,r.default)({default:{grid:{borderRadius:u,boxShadow:d,absolute:"0px 0px 0px 0px",background:"url("+o.get(e,l,s,c.canvas)+") center left"}}});return(0,i.default.isValidElement)(p)?a.default.cloneElement(p,n({},p.props,{style:n({},p.props.style,f.grid)})):a.default.createElement("div",{style:f.grid})};s.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}},e.default=s})),Fr=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Alpha=void 0;var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=c(i.default),o=c(zr),l=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(Rr),s=c(jr);function c(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var p=e.Alpha=function(t){function e(){var t,n,a;u(this,e);for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return n=a=d(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(o))),a.handleChange=function(t){var e=l.calculateChange(t,a.props.hsl,a.props.direction,a.props.a,a.container);e&&"function"==typeof a.props.onChange&&a.props.onChange(e,t)},a.handleMouseDown=function(t){a.handleChange(t),window.addEventListener("mousemove",a.handleChange),window.addEventListener("mouseup",a.handleMouseUp)},a.handleMouseUp=function(){a.unbindEventListeners()},a.unbindEventListeners=function(){window.removeEventListener("mousemove",a.handleChange),window.removeEventListener("mouseup",a.handleMouseUp)},d(a,n)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var t=this,e=this.props.rgb,a=(0,o.default)({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+e.r+","+e.g+","+e.b+", 0) 0%,\n           rgba("+e.r+","+e.g+","+e.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*e.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+e.r+","+e.g+","+e.b+", 0) 0%,\n           rgba("+e.r+","+e.g+","+e.b+", 1) 100%)"},pointer:{left:0,top:100*e.a+"%"}},overwrite:n({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return r.default.createElement("div",{style:a.alpha},r.default.createElement("div",{style:a.checkboard},r.default.createElement(s.default,{renderers:this.props.renderers})),r.default.createElement("div",{style:a.gradient}),r.default.createElement("div",{style:a.container,ref:function(e){return t.container=e},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},r.default.createElement("div",{style:a.pointer},this.props.pointer?r.default.createElement(this.props.pointer,this.props):r.default.createElement("div",{style:a.slider}))))}}]),e}(i.default.PureComponent||i.default.Component);e.default=p})),Br=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.EditableInput=void 0;var n=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),a=o(i.default),r=o(zr);function o(t){return t&&t.__esModule?t:{default:t}}var l=[38,40],s=1,c=e.EditableInput=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return n.handleBlur=function(){n.state.blurValue&&n.setState({value:n.state.blurValue,blurValue:null})},n.handleChange=function(t){n.setUpdatedValue(t.target.value,t)},n.handleKeyDown=function(t){var e,a=function(t){return Number(String(t).replace(/%/g,""))}(t.target.value);if(!isNaN(a)&&(e=t.keyCode,l.indexOf(e)>-1)){var r=n.getArrowOffset(),o=38===t.keyCode?a+r:a-r;n.setUpdatedValue(o,t)}},n.handleDrag=function(t){if(n.props.dragLabel){var e=Math.round(n.props.value+t.movementX);e>=0&&e<=n.props.dragMax&&n.props.onChange&&n.props.onChange(n.getValueObjectWithLabel(e),t)}},n.handleMouseDown=function(t){n.props.dragLabel&&(t.preventDefault(),n.handleDrag(t),window.addEventListener("mousemove",n.handleDrag),window.addEventListener("mouseup",n.handleMouseUp))},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleDrag),window.removeEventListener("mouseup",n.handleMouseUp)},n.state={value:String(t.value).toUpperCase(),blurValue:String(t.value).toUpperCase()},n.inputId="rc-editable-input-"+s++,n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),n(e,[{key:"componentDidUpdate",value:function(t,e){this.props.value===this.state.value||t.value===this.props.value&&e.value===this.state.value||(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(t){return function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},this.props.label,t)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||1}},{key:"setUpdatedValue",value:function(t,e){var n=this.props.label?this.getValueObjectWithLabel(t):t;this.props.onChange&&this.props.onChange(n,e),this.setState({value:t})}},{key:"render",value:function(){var t=this,e=(0,r.default)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return a.default.createElement("div",{style:e.wrap},a.default.createElement("input",{id:this.inputId,style:e.input,ref:function(e){return t.input=e},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?a.default.createElement("label",{htmlFor:this.inputId,style:e.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),e}(i.default.PureComponent||i.default.Component);e.default=c})),Vr=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.calculateChange=function(t,e,n,a){var r=a.clientWidth,o=a.clientHeight,i="number"==typeof t.pageX?t.pageX:t.touches[0].pageX,l="number"==typeof t.pageY?t.pageY:t.touches[0].pageY,s=i-(a.getBoundingClientRect().left+window.pageXOffset),c=l-(a.getBoundingClientRect().top+window.pageYOffset);if("vertical"===e){var u=void 0;if(c<0)u=359;else if(c>o)u=0;else{u=360*(-100*c/o+100)/100}if(n.h!==u)return{h:u,s:n.s,l:n.l,a:n.a,source:"hsl"}}else{var d=void 0;if(s<0)d=0;else if(s>r)d=359;else{d=360*(100*s/r)/100}if(n.h!==d)return{h:d,s:n.s,l:n.l,a:n.a,source:"hsl"}}return null}})),Yr=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Hue=void 0;var n=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),a=l(i.default),r=l(zr),o=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(Vr);function l(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var u=e.Hue=function(t){function e(){var t,n,a;s(this,e);for(var r=arguments.length,i=Array(r),l=0;l<r;l++)i[l]=arguments[l];return n=a=c(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(i))),a.handleChange=function(t){var e=o.calculateChange(t,a.props.direction,a.props.hsl,a.container);e&&"function"==typeof a.props.onChange&&a.props.onChange(e,t)},a.handleMouseDown=function(t){a.handleChange(t),window.addEventListener("mousemove",a.handleChange),window.addEventListener("mouseup",a.handleMouseUp)},a.handleMouseUp=function(){a.unbindEventListeners()},c(a,n)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),n(e,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var t=this,e=this.props.direction,n=void 0===e?"horizontal":e,o=(0,r.default)({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===n});return a.default.createElement("div",{style:o.hue},a.default.createElement("div",{className:"hue-"+n,style:o.container,ref:function(e){return t.container=e},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},a.default.createElement("style",null,"\n            .hue-horizontal {\n              background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n                33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n              background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n                17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n            }\n\n            .hue-vertical {\n              background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n                #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n              background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n                #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n            }\n          "),a.default.createElement("div",{style:o.pointer},this.props.pointer?a.default.createElement(this.props.pointer,this.props):a.default.createElement("div",{style:o.slider}))))}}]),e}(i.default.PureComponent||i.default.Component);e.default=u}));function Hr(){}function Wr(){}Wr.resetWarningCache=Hr;var Ur=v((function(t){t.exports=function(){function t(t,e,n,a,r,o){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==o){var i=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 i.name="Invariant Violation",i}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:Wr,resetWarningCache:Hr};return n.PropTypes=n,n}()}));var Gr=function(t,e,n){(void 0!==n&&!ue(t[e],n)||void 0===n&&!(e in t))&&Fa(t,e,n)};var Kr=function(t){return bt(t)&&Xt(t)};var qr=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]};var Xr=function(t){return Ya(t,Ka(t))};var Zr=function(t,e,n,a,r,o,i){var l=qr(t,n),s=qr(e,n),c=i.get(s);if(c)Gr(t,n,c);else{var u=o?o(l,s,n+"",t,e,i):void 0,d=void 0===u;if(d){var p=mt(s),f=!p&&Tt(s),h=!p&&!f&&jt(s);u=s,p||f||h?mt(l)?u=l:Kr(l)?u=Za(l):f?(d=!1,u=Xa(s,!0)):h?(d=!1,u=dr(s,!0)):u=[]:le(s)||Ot(s)?(u=l,Ot(l)?u=Xr(l):Kt(l)&&!qt(l)||(u=mr(s))):d=!1}d&&(i.set(s,u),r(u,s,a,o,i),i.delete(s)),Gr(t,n,u)}};var Jr=function t(e,n,a,r,o){e!==n&&xt(n,(function(i,l){if(o||(o=new ln),Kt(i))Zr(e,n,l,a,t,r,o);else{var s=r?r(qr(e,l),i,l+"",e,n,o):void 0;void 0===s&&(s=i),Gr(e,l,s)}}),Ka)};var $r=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)},Qr=Math.max;var to=function(t,e,n){return e=Qr(void 0===e?t.length-1:e,0),function(){for(var a=arguments,r=-1,o=Qr(a.length-e,0),i=Array(o);++r<o;)i[r]=a[e+r];r=-1;for(var l=Array(e+1);++r<e;)l[r]=a[r];return l[e]=n(i),$r(t,this,l)}};var eo=function(t){return function(){return t}},no=ja?function(t,e){return ja(t,"toString",{configurable:!0,enumerable:!1,value:eo(e),writable:!0})}:$t,ao=no,ro=Date.now;var oo=function(t){var e=0,n=0;return function(){var a=ro(),r=16-(a-n);if(n=a,r>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}},io=oo(ao);var lo=function(t,e){return io(to(t,e,$t),t+"")};var so=function(t,e,n){if(!Kt(n))return!1;var a=typeof e;return!!("number"==a?Xt(n)&&It(e,n.length):"string"==a&&e in n)&&ue(n[e],t)};var co=function(t){return lo((function(e,n){var a=-1,r=n.length,o=r>1?n[r-1]:void 0,i=r>2?n[2]:void 0;for(o=t.length>3&&"function"==typeof o?(r--,o):void 0,i&&so(n[0],n[1],i)&&(o=r<3?void 0:o,r=1),e=Object(e);++a<r;){var l=n[a];l&&t(e,l,a,o)}return e}))},uo=co((function(t,e,n){Jr(t,e,n)})),po=uo,fo=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Raised=void 0;var n=l(i.default),a=l(Ur),r=l(zr),o=l(po);function l(t){return t&&t.__esModule?t:{default:t}}var s=e.Raised=function(t){var e=t.zDepth,a=t.radius,i=t.background,l=t.children,s=t.styles,c=void 0===s?{}:s,u=(0,r.default)((0,o.default)({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+e+"px "+4*e+"px rgba(0,0,0,.24)",borderRadius:a,background:i}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},c),{"zDepth-1":1===e});return n.default.createElement("div",{style:u.wrap},n.default.createElement("div",{style:u.bg}),n.default.createElement("div",{style:u.content},l))};s.propTypes={background:a.default.string,zDepth:a.default.oneOf([0,1,2,3,4,5]),radius:a.default.number,styles:a.default.object},s.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}},e.default=s})),ho=function(){return ot.Date.now()},go=/\s/;var mo=function(t){for(var e=t.length;e--&&go.test(t.charAt(e)););return e},bo=/^\s+/;var vo=function(t){return t?t.slice(0,mo(t)+1).replace(bo,""):t},yo=/^[-+]0x[0-9a-f]+$/i,xo=/^0b[01]+$/i,wo=/^0o[0-7]+$/i,_o=parseInt;var ko=function(t){if("number"==typeof t)return t;if(oa(t))return NaN;if(Kt(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Kt(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=vo(t);var n=xo.test(t);return n||wo.test(t)?_o(t.slice(2),n?2:8):yo.test(t)?NaN:+t},So=Math.max,Co=Math.min;var Mo=function(t,e,n){var a,r,o,i,l,s,c=0,u=!1,d=!1,p=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function f(e){var n=a,o=r;return a=r=void 0,c=e,i=t.apply(o,n)}function h(t){return c=t,l=setTimeout(m,e),u?f(t):i}function g(t){var n=t-s;return void 0===s||n>=e||n<0||d&&t-c>=o}function m(){var t=ho();if(g(t))return b(t);l=setTimeout(m,function(t){var n=e-(t-s);return d?Co(n,o-(t-c)):n}(t))}function b(t){return l=void 0,p&&a?f(t):(a=r=void 0,i)}function v(){var t=ho(),n=g(t);if(a=arguments,r=this,s=t,n){if(void 0===l)return h(s);if(d)return clearTimeout(l),l=setTimeout(m,e),f(s)}return void 0===l&&(l=setTimeout(m,e)),i}return e=ko(e)||0,Kt(n)&&(u=!!n.leading,o=(d="maxWait"in n)?So(ko(n.maxWait)||0,e):o,p="trailing"in n?!!n.trailing:p),v.cancel=function(){void 0!==l&&clearTimeout(l),c=0,a=s=r=l=void 0},v.flush=function(){return void 0===l?i:b(ho())},v};var Oo=function(t,e,n){var a=!0,r=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return Kt(n)&&(a="leading"in n?!!n.leading:a,r="trailing"in n?!!n.trailing:r),Mo(t,e,{leading:a,maxWait:e,trailing:r})},Eo=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.calculateChange=function(t,e,n){var a=n.getBoundingClientRect(),r=a.width,o=a.height,i="number"==typeof t.pageX?t.pageX:t.touches[0].pageX,l="number"==typeof t.pageY?t.pageY:t.touches[0].pageY,s=i-(n.getBoundingClientRect().left+window.pageXOffset),c=l-(n.getBoundingClientRect().top+window.pageYOffset);s<0?s=0:s>r&&(s=r),c<0?c=0:c>o&&(c=o);var u=s/r,d=1-c/o;return{h:e.h,s:u,v:d,a:e.a,source:"hsv"}}})),To=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Saturation=void 0;var n=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),a=s(i.default),r=s(zr),o=s(Oo),l=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(Eo);function s(t){return t&&t.__esModule?t:{default:t}}var c=e.Saturation=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.handleChange=function(t){"function"==typeof n.props.onChange&&n.throttle(n.props.onChange,l.calculateChange(t,n.props.hsl,n.container),t)},n.handleMouseDown=function(t){n.handleChange(t);var e=n.getContainerRenderWindow();e.addEventListener("mousemove",n.handleChange),e.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.throttle=(0,o.default)((function(t,e,n){t(e,n)}),50),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),n(e,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){for(var t=this.container,e=window;!e.document.contains(t)&&e.parent!==e;)e=e.parent;return e}},{key:"unbindEventListeners",value:function(){var t=this.getContainerRenderWindow();t.removeEventListener("mousemove",this.handleChange),t.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var t=this,e=this.props.style||{},n=e.color,o=e.white,i=e.black,l=e.pointer,s=e.circle,c=(0,r.default)({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n            0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:n,white:o,black:i,pointer:l,circle:s}},{custom:!!this.props.style});return a.default.createElement("div",{style:c.color,ref:function(e){return t.container=e},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},a.default.createElement("style",null,"\n          .saturation-white {\n            background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n            background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n          }\n          .saturation-black {\n            background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n            background: linear-gradient(to top, #000, rgba(0,0,0,0));\n          }\n        "),a.default.createElement("div",{style:c.white,className:"saturation-white"},a.default.createElement("div",{style:c.black,className:"saturation-black"}),a.default.createElement("div",{style:c.pointer},this.props.pointer?a.default.createElement(this.props.pointer,this.props):a.default.createElement("div",{style:c.circle}))))}}]),e}(i.default.PureComponent||i.default.Component);e.default=c}));var Do=function(t,e){return(mt(t)?La:Na)(t,Qt(e))},Io=v((function(t){!function(e){var n=/^\s+/,a=/\s+$/,r=0,o=e.round,i=e.min,l=e.max,s=e.random;function c(t,s){if(s=s||{},(t=t||"")instanceof c)return t;if(!(this instanceof c))return new c(t,s);var u=function(t){var r={r:0,g:0,b:0},o=1,s=null,c=null,u=null,d=!1,p=!1;"string"==typeof t&&(t=function(t){t=t.replace(n,"").replace(a,"").toLowerCase();var e,r=!1;if(O[t])t=O[t],r=!0;else if("transparent"==t)return{r:0,g:0,b:0,a:0,format:"name"};if(e=L.rgb.exec(t))return{r:e[1],g:e[2],b:e[3]};if(e=L.rgba.exec(t))return{r:e[1],g:e[2],b:e[3],a:e[4]};if(e=L.hsl.exec(t))return{h:e[1],s:e[2],l:e[3]};if(e=L.hsla.exec(t))return{h:e[1],s:e[2],l:e[3],a:e[4]};if(e=L.hsv.exec(t))return{h:e[1],s:e[2],v:e[3]};if(e=L.hsva.exec(t))return{h:e[1],s:e[2],v:e[3],a:e[4]};if(e=L.hex8.exec(t))return{r:P(e[1]),g:P(e[2]),b:P(e[3]),a:R(e[4]),format:r?"name":"hex8"};if(e=L.hex6.exec(t))return{r:P(e[1]),g:P(e[2]),b:P(e[3]),format:r?"name":"hex"};if(e=L.hex4.exec(t))return{r:P(e[1]+""+e[1]),g:P(e[2]+""+e[2]),b:P(e[3]+""+e[3]),a:R(e[4]+""+e[4]),format:r?"name":"hex8"};if(e=L.hex3.exec(t))return{r:P(e[1]+""+e[1]),g:P(e[2]+""+e[2]),b:P(e[3]+""+e[3]),format:r?"name":"hex"};return!1}(t));"object"==typeof t&&(j(t.r)&&j(t.g)&&j(t.b)?(r=function(t,e,n){return{r:255*D(t,255),g:255*D(e,255),b:255*D(n,255)}}(t.r,t.g,t.b),d=!0,p="%"===String(t.r).substr(-1)?"prgb":"rgb"):j(t.h)&&j(t.s)&&j(t.v)?(s=A(t.s),c=A(t.v),r=function(t,n,a){t=6*D(t,360),n=D(n,100),a=D(a,100);var r=e.floor(t),o=t-r,i=a*(1-n),l=a*(1-o*n),s=a*(1-(1-o)*n),c=r%6;return{r:255*[a,l,i,i,s,a][c],g:255*[s,a,a,l,i,i][c],b:255*[i,i,s,a,a,l][c]}}(t.h,s,c),d=!0,p="hsv"):j(t.h)&&j(t.s)&&j(t.l)&&(s=A(t.s),u=A(t.l),r=function(t,e,n){var a,r,o;function i(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}if(t=D(t,360),e=D(e,100),n=D(n,100),0===e)a=r=o=n;else{var l=n<.5?n*(1+e):n+e-n*e,s=2*n-l;a=i(s,l,t+1/3),r=i(s,l,t),o=i(s,l,t-1/3)}return{r:255*a,g:255*r,b:255*o}}(t.h,s,u),d=!0,p="hsl"),t.hasOwnProperty("a")&&(o=t.a));return o=T(o),{ok:d,format:t.format||p,r:i(255,l(r.r,0)),g:i(255,l(r.g,0)),b:i(255,l(r.b,0)),a:o}}(t);this._originalInput=t,this._r=u.r,this._g=u.g,this._b=u.b,this._a=u.a,this._roundA=o(100*this._a)/100,this._format=s.format||u.format,this._gradientType=s.gradientType,this._r<1&&(this._r=o(this._r)),this._g<1&&(this._g=o(this._g)),this._b<1&&(this._b=o(this._b)),this._ok=u.ok,this._tc_id=r++}function u(t,e,n){t=D(t,255),e=D(e,255),n=D(n,255);var a,r,o=l(t,e,n),s=i(t,e,n),c=(o+s)/2;if(o==s)a=r=0;else{var u=o-s;switch(r=c>.5?u/(2-o-s):u/(o+s),o){case t:a=(e-n)/u+(e<n?6:0);break;case e:a=(n-t)/u+2;break;case n:a=(t-e)/u+4}a/=6}return{h:a,s:r,l:c}}function d(t,e,n){t=D(t,255),e=D(e,255),n=D(n,255);var a,r,o=l(t,e,n),s=i(t,e,n),c=o,u=o-s;if(r=0===o?0:u/o,o==s)a=0;else{switch(o){case t:a=(e-n)/u+(e<n?6:0);break;case e:a=(n-t)/u+2;break;case n:a=(t-e)/u+4}a/=6}return{h:a,s:r,v:c}}function p(t,e,n,a){var r=[N(o(t).toString(16)),N(o(e).toString(16)),N(o(n).toString(16))];return a&&r[0].charAt(0)==r[0].charAt(1)&&r[1].charAt(0)==r[1].charAt(1)&&r[2].charAt(0)==r[2].charAt(1)?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0):r.join("")}function f(t,e,n,a){return[N(z(a)),N(o(t).toString(16)),N(o(e).toString(16)),N(o(n).toString(16))].join("")}function h(t,e){e=0===e?0:e||10;var n=c(t).toHsl();return n.s-=e/100,n.s=I(n.s),c(n)}function g(t,e){e=0===e?0:e||10;var n=c(t).toHsl();return n.s+=e/100,n.s=I(n.s),c(n)}function m(t){return c(t).desaturate(100)}function b(t,e){e=0===e?0:e||10;var n=c(t).toHsl();return n.l+=e/100,n.l=I(n.l),c(n)}function v(t,e){e=0===e?0:e||10;var n=c(t).toRgb();return n.r=l(0,i(255,n.r-o(-e/100*255))),n.g=l(0,i(255,n.g-o(-e/100*255))),n.b=l(0,i(255,n.b-o(-e/100*255))),c(n)}function y(t,e){e=0===e?0:e||10;var n=c(t).toHsl();return n.l-=e/100,n.l=I(n.l),c(n)}function x(t,e){var n=c(t).toHsl(),a=(n.h+e)%360;return n.h=a<0?360+a:a,c(n)}function w(t){var e=c(t).toHsl();return e.h=(e.h+180)%360,c(e)}function _(t){var e=c(t).toHsl(),n=e.h;return[c(t),c({h:(n+120)%360,s:e.s,l:e.l}),c({h:(n+240)%360,s:e.s,l:e.l})]}function k(t){var e=c(t).toHsl(),n=e.h;return[c(t),c({h:(n+90)%360,s:e.s,l:e.l}),c({h:(n+180)%360,s:e.s,l:e.l}),c({h:(n+270)%360,s:e.s,l:e.l})]}function S(t){var e=c(t).toHsl(),n=e.h;return[c(t),c({h:(n+72)%360,s:e.s,l:e.l}),c({h:(n+216)%360,s:e.s,l:e.l})]}function C(t,e,n){e=e||6,n=n||30;var a=c(t).toHsl(),r=360/n,o=[c(t)];for(a.h=(a.h-(r*e>>1)+720)%360;--e;)a.h=(a.h+r)%360,o.push(c(a));return o}function M(t,e){e=e||6;for(var n=c(t).toHsv(),a=n.h,r=n.s,o=n.v,i=[],l=1/e;e--;)i.push(c({h:a,s:r,v:o})),o=(o+l)%1;return i}c.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},getLuminance:function(){var t,n,a,r=this.toRgb();return t=r.r/255,n=r.g/255,a=r.b/255,.2126*(t<=.03928?t/12.92:e.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:e.pow((n+.055)/1.055,2.4))+.0722*(a<=.03928?a/12.92:e.pow((a+.055)/1.055,2.4))},setAlpha:function(t){return this._a=T(t),this._roundA=o(100*this._a)/100,this},toHsv:function(){var t=d(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=d(this._r,this._g,this._b),e=o(360*t.h),n=o(100*t.s),a=o(100*t.v);return 1==this._a?"hsv("+e+", "+n+"%, "+a+"%)":"hsva("+e+", "+n+"%, "+a+"%, "+this._roundA+")"},toHsl:function(){var t=u(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=u(this._r,this._g,this._b),e=o(360*t.h),n=o(100*t.s),a=o(100*t.l);return 1==this._a?"hsl("+e+", "+n+"%, "+a+"%)":"hsla("+e+", "+n+"%, "+a+"%, "+this._roundA+")"},toHex:function(t){return p(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return function(t,e,n,a,r){var i=[N(o(t).toString(16)),N(o(e).toString(16)),N(o(n).toString(16)),N(z(a))];if(r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:o(this._r),g:o(this._g),b:o(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+o(this._r)+", "+o(this._g)+", "+o(this._b)+")":"rgba("+o(this._r)+", "+o(this._g)+", "+o(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:o(100*D(this._r,255))+"%",g:o(100*D(this._g,255))+"%",b:o(100*D(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+o(100*D(this._r,255))+"%, "+o(100*D(this._g,255))+"%, "+o(100*D(this._b,255))+"%)":"rgba("+o(100*D(this._r,255))+"%, "+o(100*D(this._g,255))+"%, "+o(100*D(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(E[p(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var e="#"+f(this._r,this._g,this._b,this._a),n=e,a=this._gradientType?"GradientType = 1, ":"";if(t){var r=c(t);n="#"+f(r._r,r._g,r._b,r._a)}return"progid:DXImageTransform.Microsoft.gradient("+a+"startColorstr="+e+",endColorstr="+n+")"},toString:function(t){var e=!!t;t=t||this._format;var n=!1,a=this._a<1&&this._a>=0;return e||!a||"hex"!==t&&"hex6"!==t&&"hex3"!==t&&"hex4"!==t&&"hex8"!==t&&"name"!==t?("rgb"===t&&(n=this.toRgbString()),"prgb"===t&&(n=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(n=this.toHexString()),"hex3"===t&&(n=this.toHexString(!0)),"hex4"===t&&(n=this.toHex8String(!0)),"hex8"===t&&(n=this.toHex8String()),"name"===t&&(n=this.toName()),"hsl"===t&&(n=this.toHslString()),"hsv"===t&&(n=this.toHsvString()),n||this.toHexString()):"name"===t&&0===this._a?this.toName():this.toRgbString()},clone:function(){return c(this.toString())},_applyModification:function(t,e){var n=t.apply(null,[this].concat([].slice.call(e)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(b,arguments)},brighten:function(){return this._applyModification(v,arguments)},darken:function(){return this._applyModification(y,arguments)},desaturate:function(){return this._applyModification(h,arguments)},saturate:function(){return this._applyModification(g,arguments)},greyscale:function(){return this._applyModification(m,arguments)},spin:function(){return this._applyModification(x,arguments)},_applyCombination:function(t,e){return t.apply(null,[this].concat([].slice.call(e)))},analogous:function(){return this._applyCombination(C,arguments)},complement:function(){return this._applyCombination(w,arguments)},monochromatic:function(){return this._applyCombination(M,arguments)},splitcomplement:function(){return this._applyCombination(S,arguments)},triad:function(){return this._applyCombination(_,arguments)},tetrad:function(){return this._applyCombination(k,arguments)}},c.fromRatio=function(t,e){if("object"==typeof t){var n={};for(var a in t)t.hasOwnProperty(a)&&(n[a]="a"===a?t[a]:A(t[a]));t=n}return c(t,e)},c.equals=function(t,e){return!(!t||!e)&&c(t).toRgbString()==c(e).toRgbString()},c.random=function(){return c.fromRatio({r:s(),g:s(),b:s()})},c.mix=function(t,e,n){n=0===n?0:n||50;var a=c(t).toRgb(),r=c(e).toRgb(),o=n/100;return c({r:(r.r-a.r)*o+a.r,g:(r.g-a.g)*o+a.g,b:(r.b-a.b)*o+a.b,a:(r.a-a.a)*o+a.a})},c.readability=function(t,n){var a=c(t),r=c(n);return(e.max(a.getLuminance(),r.getLuminance())+.05)/(e.min(a.getLuminance(),r.getLuminance())+.05)},c.isReadable=function(t,e,n){var a,r,o=c.readability(t,e);switch(r=!1,(a=function(t){var e,n;e=((t=t||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(t.size||"small").toLowerCase(),"AA"!==e&&"AAA"!==e&&(e="AA");"small"!==n&&"large"!==n&&(n="small");return{level:e,size:n}}(n)).level+a.size){case"AAsmall":case"AAAlarge":r=o>=4.5;break;case"AAlarge":r=o>=3;break;case"AAAsmall":r=o>=7}return r},c.mostReadable=function(t,e,n){var a,r,o,i,l=null,s=0;r=(n=n||{}).includeFallbackColors,o=n.level,i=n.size;for(var u=0;u<e.length;u++)(a=c.readability(t,e[u]))>s&&(s=a,l=c(e[u]));return c.isReadable(t,l,{level:o,size:i})||!r?l:(n.includeFallbackColors=!1,c.mostReadable(t,["#fff","#000"],n))};var O=c.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},E=c.hexNames=function(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[t[n]]=n);return e}(O);function T(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function D(t,n){(function(t){return"string"==typeof t&&-1!=t.indexOf(".")&&1===parseFloat(t)})(t)&&(t="100%");var a=function(t){return"string"==typeof t&&-1!=t.indexOf("%")}(t);return t=i(n,l(0,parseFloat(t))),a&&(t=parseInt(t*n,10)/100),e.abs(t-n)<1e-6?1:t%n/parseFloat(n)}function I(t){return i(1,l(0,t))}function P(t){return parseInt(t,16)}function N(t){return 1==t.length?"0"+t:""+t}function A(t){return t<=1&&(t=100*t+"%"),t}function z(t){return e.round(255*parseFloat(t)).toString(16)}function R(t){return P(t)/255}var L=function(){var t="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",e="[\\s|\\(]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")\\s*\\)?",n="[\\s|\\(]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")\\s*\\)?";return{CSS_UNIT:new RegExp(t),rgb:new RegExp("rgb"+e),rgba:new RegExp("rgba"+n),hsl:new RegExp("hsl"+e),hsla:new RegExp("hsla"+n),hsv:new RegExp("hsv"+e),hsva:new RegExp("hsva"+n),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function j(t){return!!L.CSS_UNIT.exec(t)}t.exports?t.exports=c:window.tinycolor=c}(Math)})),Po=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.isvalidColorString=e.red=e.getContrastingColor=e.isValidHex=e.toState=e.simpleCheckForValidColor=void 0;var n=r(Do),a=r(Io);function r(t){return t&&t.__esModule?t:{default:t}}e.simpleCheckForValidColor=function(t){var e=0,a=0;return(0,n.default)(["r","g","b","a","h","s","l","v"],(function(n){if(t[n]&&(e+=1,isNaN(t[n])||(a+=1),"s"===n||"l"===n)){/^\d+%$/.test(t[n])&&(a+=1)}})),e===a&&t};var o=e.toState=function(t,e){var n=t.hex?(0,a.default)(t.hex):(0,a.default)(t),r=n.toHsl(),o=n.toHsv(),i=n.toRgb(),l=n.toHex();return 0===r.s&&(r.h=e||0,o.h=e||0),{hsl:r,hex:"000000"===l&&0===i.a?"transparent":"#"+l,rgb:i,hsv:o,oldHue:t.h||e||r.h,source:t.source}};e.isValidHex=function(t){if("transparent"===t)return!0;var e="#"===String(t).charAt(0)?1:0;return t.length!==4+e&&t.length<7+e&&(0,a.default)(t).isValid()},e.getContrastingColor=function(t){if(!t)return"#fff";var e=o(t);return"transparent"===e.hex?"rgba(0,0,0,0.4)":(299*e.rgb.r+587*e.rgb.g+114*e.rgb.b)/1e3>=128?"#000":"#fff"},e.red={hsl:{a:1,h:0,l:.5,s:1},hex:"#ff0000",rgb:{r:255,g:0,b:0,a:1},hsv:{h:0,s:1,v:1,a:1}},e.isvalidColorString=function(t,e){var n=t.replace("°","");return(0,a.default)(e+" ("+n+")")._ok}})),No=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.ColorWrap=void 0;var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},a=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),r=s(i.default),o=s(Mo),l=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(Po);function s(t){return t&&t.__esModule?t:{default:t}}var c=e.ColorWrap=function(t){var e=function(e){function i(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);var e=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return e.handleChange=function(t,n){if(l.simpleCheckForValidColor(t)){var a=l.toState(t,t.h||e.state.oldHue);e.setState(a),e.props.onChangeComplete&&e.debounce(e.props.onChangeComplete,a,n),e.props.onChange&&e.props.onChange(a,n)}},e.handleSwatchHover=function(t,n){if(l.simpleCheckForValidColor(t)){var a=l.toState(t,t.h||e.state.oldHue);e.props.onSwatchHover&&e.props.onSwatchHover(a,n)}},e.state=n({},l.toState(t.color,0)),e.debounce=(0,o.default)((function(t,e,n){t(e,n)}),100),e}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(i,e),a(i,[{key:"render",value:function(){var e={};return this.props.onSwatchHover&&(e.onSwatchHover=this.handleSwatchHover),r.default.createElement(t,n({},this.props,this.state,{onChange:this.handleChange},e))}}],[{key:"getDerivedStateFromProps",value:function(t,e){return n({},l.toState(t.color,e.oldHue))}}]),i}(i.default.PureComponent||i.default.Component);return e.propTypes=n({},t.propTypes),e.defaultProps=n({},t.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),e};e.default=c})),Ao=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.handleFocus=void 0;var n,a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),o=(n=i.default)&&n.__esModule?n:{default:n};function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function c(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.handleFocus=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function i(){var t,e,n;l(this,i);for(var a=arguments.length,r=Array(a),o=0;o<a;o++)r[o]=arguments[o];return e=n=s(this,(t=i.__proto__||Object.getPrototypeOf(i)).call.apply(t,[this].concat(r))),n.state={focus:!1},n.handleFocus=function(){return n.setState({focus:!0})},n.handleBlur=function(){return n.setState({focus:!1})},s(n,e)}return c(i,n),r(i,[{key:"render",value:function(){return o.default.createElement(e,{onFocus:this.handleFocus,onBlur:this.handleBlur},o.default.createElement(t,a({},this.props,this.state)))}}]),i}(o.default.Component)}})),zo=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Swatch=void 0;var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},a=l(i.default),r=l(zr),o=l(jr);function l(t){return t&&t.__esModule?t:{default:t}}var s=e.Swatch=function(t){var e=t.color,i=t.style,l=t.onClick,s=void 0===l?function(){}:l,c=t.onHover,u=t.title,d=void 0===u?e:u,p=t.children,f=t.focus,h=t.focusStyle,g=void 0===h?{}:h,m="transparent"===e,b=(0,r.default)({default:{swatch:n({background:e,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},i,f?g:{})}}),v={};return c&&(v.onMouseOver=function(t){return c(e,t)}),a.default.createElement("div",n({style:b.swatch,onClick:function(t){return s(e,t)},title:d,tabIndex:0,onKeyDown:function(t){return 13===t.keyCode&&s(e,t)}},v),p,m&&a.default.createElement(o.default,{borderRadius:b.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))};e.default=(0,Ao.handleFocus)(s)})),Ro=v((function(t,e){function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Alpha",{enumerable:!0,get:function(){return n(Fr).default}}),Object.defineProperty(e,"Checkboard",{enumerable:!0,get:function(){return n(jr).default}}),Object.defineProperty(e,"EditableInput",{enumerable:!0,get:function(){return n(Br).default}}),Object.defineProperty(e,"Hue",{enumerable:!0,get:function(){return n(Yr).default}}),Object.defineProperty(e,"Raised",{enumerable:!0,get:function(){return n(fo).default}}),Object.defineProperty(e,"Saturation",{enumerable:!0,get:function(){return n(To).default}}),Object.defineProperty(e,"ColorWrap",{enumerable:!0,get:function(){return n(No).default}}),Object.defineProperty(e,"Swatch",{enumerable:!0,get:function(){return n(zo).default}})})),Lo=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.AlphaPointer=void 0;var n=r(i.default),a=r(zr);function r(t){return t&&t.__esModule?t:{default:t}}var o=e.AlphaPointer=function(t){var e=t.direction,r=(0,a.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===e});return n.default.createElement("div",{style:r.picker})};e.default=o})),jo=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.AlphaPicker=void 0;var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},a=l(i.default),r=l(zr),o=l(Lo);function l(t){return t&&t.__esModule?t:{default:t}}var s=e.AlphaPicker=function(t){var e=t.rgb,o=t.hsl,i=t.width,l=t.height,s=t.onChange,c=t.direction,u=t.style,d=t.renderers,p=t.pointer,f=t.className,h=void 0===f?"":f,g=(0,r.default)({default:{picker:{position:"relative",width:i,height:l},alpha:{radius:"2px",style:u}}});return a.default.createElement("div",{style:g.picker,className:"alpha-picker "+h},a.default.createElement(Ro.Alpha,n({},g.alpha,{rgb:e,hsl:o,pointer:p,renderers:d,onChange:s,direction:c})))};s.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:o.default},e.default=(0,Ro.ColorWrap)(s)})),Fo=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.BlockSwatches=void 0;var n=o(i.default),a=o(zr),r=o(za);function o(t){return t&&t.__esModule?t:{default:t}}var l=e.BlockSwatches=function(t){var e=t.colors,o=t.onClick,i=t.onSwatchHover,l=(0,a.default)({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return n.default.createElement("div",{style:l.swatches},(0,r.default)(e,(function(t){return n.default.createElement(Ro.Swatch,{key:t,color:t,style:l.swatch,onClick:o,onHover:i,focusStyle:{boxShadow:"0 0 4px "+t}})})),n.default.createElement("div",{style:l.clear}))};e.default=l})),Bo=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Block=void 0;var n=c(i.default),a=c(Ur),r=c(zr),o=c(po),l=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(Po),s=c(Fo);function c(t){return t&&t.__esModule?t:{default:t}}var u=e.Block=function(t){var e=t.onChange,a=t.onSwatchHover,i=t.hex,c=t.colors,u=t.width,d=t.triangle,p=t.styles,f=void 0===p?{}:p,h=t.className,g=void 0===h?"":h,m="transparent"===i,b=function(t,n){l.isValidHex(t)&&e({hex:t,source:"hex"},n)},v=(0,r.default)((0,o.default)({default:{card:{width:u,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:i,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:l.getContrastingColor(i),position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+i+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},f),{"hide-triangle":"hide"===d});return n.default.createElement("div",{style:v.card,className:"block-picker "+g},n.default.createElement("div",{style:v.triangle}),n.default.createElement("div",{style:v.head},m&&n.default.createElement(Ro.Checkboard,{borderRadius:"6px 6px 0 0"}),n.default.createElement("div",{style:v.label},i)),n.default.createElement("div",{style:v.body},n.default.createElement(s.default,{colors:c,onClick:b,onSwatchHover:a}),n.default.createElement(Ro.EditableInput,{style:{input:v.input},value:i,onChange:b})))};u.propTypes={width:a.default.oneOfType([a.default.string,a.default.number]),colors:a.default.arrayOf(a.default.string),triangle:a.default.oneOf(["top","hide"]),styles:a.default.object},u.defaultProps={width:170,colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top",styles:{}},e.default=(0,Ro.ColorWrap)(u)})),Vo=v((function(t,e){t.exports={red:{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"},pink:{50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},purple:{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"},deepPurple:{50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},indigo:{50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},blue:{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"},lightBlue:{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"},cyan:{50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},teal:{50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},green:{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"},lightGreen:{50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},lime:{50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},yellow:{50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},amber:{50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},orange:{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"},deepOrange:{50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},brown:{50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},grey:{50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121"},blueGrey:{50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},darkText:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",dividers:"rgba(0, 0, 0, 0.12)"},lightText:{primary:"rgba(255, 255, 255, 1)",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",dividers:"rgba(255, 255, 255, 0.12)"},darkIcons:{active:"rgba(0, 0, 0, 0.54)",inactive:"rgba(0, 0, 0, 0.38)"},lightIcons:{active:"rgba(255, 255, 255, 1)",inactive:"rgba(255, 255, 255, 0.5)"},white:"#ffffff",black:"#000000"}})),Yo=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.CircleSwatch=void 0;var n=r(i.default),a=r(zr);function r(t){return t&&t.__esModule?t:{default:t}}var o=e.CircleSwatch=function(t){var e=t.color,r=t.onClick,o=t.onSwatchHover,i=t.hover,l=t.active,s=t.circleSize,c=t.circleSpacing,u=(0,a.default)({default:{swatch:{width:s,height:s,marginRight:c,marginBottom:c,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+(s/2+1)+"px "+e,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+e}}},{hover:i,active:l});return n.default.createElement("div",{style:u.swatch},n.default.createElement(Ro.Swatch,{style:u.Swatch,color:e,onClick:r,onHover:o,focusStyle:{boxShadow:u.Swatch.boxShadow+", 0 0 5px "+e}}))};o.defaultProps={circleSize:28,circleSpacing:14},e.default=(0,zr.handleHover)(o)})),Ho=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Circle=void 0;var n=u(i.default),a=u(Ur),r=u(zr),o=u(za),l=u(po),s=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(Vo),c=u(Yo);function u(t){return t&&t.__esModule?t:{default:t}}var d=e.Circle=function(t){var e=t.width,a=t.onChange,i=t.onSwatchHover,s=t.colors,u=t.hex,d=t.circleSize,p=t.styles,f=void 0===p?{}:p,h=t.circleSpacing,g=t.className,m=void 0===g?"":g,b=(0,r.default)((0,l.default)({default:{card:{width:e,display:"flex",flexWrap:"wrap",marginRight:-h,marginBottom:-h}}},f)),v=function(t,e){return a({hex:t,source:"hex"},e)};return n.default.createElement("div",{style:b.card,className:"circle-picker "+m},(0,o.default)(s,(function(t){return n.default.createElement(c.default,{key:t,color:t,onClick:v,onSwatchHover:i,active:u===t.toLowerCase(),circleSize:d,circleSpacing:h})})))};d.propTypes={width:a.default.oneOfType([a.default.string,a.default.number]),circleSize:a.default.number,circleSpacing:a.default.number,styles:a.default.object},d.defaultProps={width:252,circleSize:28,circleSpacing:14,colors:[s.red[500],s.pink[500],s.purple[500],s.deepPurple[500],s.indigo[500],s.blue[500],s.lightBlue[500],s.cyan[500],s.teal[500],s.green[500],s.lightGreen[500],s.lime[500],s.yellow[500],s.amber[500],s.orange[500],s.deepOrange[500],s.brown[500],s.blueGrey[500]],styles:{}},e.default=(0,Ro.ColorWrap)(d)}));var Wo,Uo=function(t){return void 0===t},Go=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},Ko=(Wo=i.default)&&Wo.__esModule?Wo:{default:Wo};var qo=Object.defineProperty({default:function(t){var e=t.fill,n=void 0===e?"currentColor":e,a=t.width,r=void 0===a?24:a,o=t.height,i=void 0===o?24:o,l=t.style,s=void 0===l?{}:l,c=function(t,e){var n={};for(var a in t)e.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(t,a)&&(n[a]=t[a]);return n}(t,["fill","width","height","style"]);return Ko.default.createElement("svg",Go({viewBox:"0 0 24 24",style:Go({fill:n,width:r,height:i},s)},c),Ko.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},"__esModule",{value:!0}),Xo=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.ChromeFields=void 0;var n=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),a=c(i.default),r=c(zr),o=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(Po),l=c(Uo),s=c(qo);function c(t){return t&&t.__esModule?t:{default:t}}var u=e.ChromeFields=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return n.toggleViews=function(){"hex"===n.state.view?n.setState({view:"rgb"}):"rgb"===n.state.view?n.setState({view:"hsl"}):"hsl"===n.state.view&&(1===n.props.hsl.a?n.setState({view:"hex"}):n.setState({view:"rgb"}))},n.handleChange=function(t,e){t.hex?o.isValidHex(t.hex)&&n.props.onChange({hex:t.hex,source:"hex"},e):t.r||t.g||t.b?n.props.onChange({r:t.r||n.props.rgb.r,g:t.g||n.props.rgb.g,b:t.b||n.props.rgb.b,source:"rgb"},e):t.a?(t.a<0?t.a=0:t.a>1&&(t.a=1),n.props.onChange({h:n.props.hsl.h,s:n.props.hsl.s,l:n.props.hsl.l,a:Math.round(100*t.a)/100,source:"rgb"},e)):(t.h||t.s||t.l)&&("string"==typeof t.s&&t.s.includes("%")&&(t.s=t.s.replace("%","")),"string"==typeof t.l&&t.l.includes("%")&&(t.l=t.l.replace("%","")),1==t.s?t.s=.01:1==t.l&&(t.l=.01),n.props.onChange({h:t.h||n.props.hsl.h,s:Number((0,l.default)(t.s)?n.props.hsl.s:t.s),l:Number((0,l.default)(t.l)?n.props.hsl.l:t.l),source:"hsl"},e))},n.showHighlight=function(t){t.currentTarget.style.background="#eee"},n.hideHighlight=function(t){t.currentTarget.style.background="transparent"},1!==t.hsl.a&&"hex"===t.view?n.state={view:"rgb"}:n.state={view:t.view},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),n(e,[{key:"render",value:function(){var t=this,e=(0,r.default)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),n=void 0;return"hex"===this.state.view?n=a.default.createElement("div",{style:e.fields,className:"flexbox-fix"},a.default.createElement("div",{style:e.field},a.default.createElement(Ro.EditableInput,{style:{input:e.input,label:e.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?n=a.default.createElement("div",{style:e.fields,className:"flexbox-fix"},a.default.createElement("div",{style:e.field},a.default.createElement(Ro.EditableInput,{style:{input:e.input,label:e.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),a.default.createElement("div",{style:e.field},a.default.createElement(Ro.EditableInput,{style:{input:e.input,label:e.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),a.default.createElement("div",{style:e.field},a.default.createElement(Ro.EditableInput,{style:{input:e.input,label:e.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),a.default.createElement("div",{style:e.alpha},a.default.createElement(Ro.EditableInput,{style:{input:e.input,label:e.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(n=a.default.createElement("div",{style:e.fields,className:"flexbox-fix"},a.default.createElement("div",{style:e.field},a.default.createElement(Ro.EditableInput,{style:{input:e.input,label:e.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),a.default.createElement("div",{style:e.field},a.default.createElement(Ro.EditableInput,{style:{input:e.input,label:e.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),a.default.createElement("div",{style:e.field},a.default.createElement(Ro.EditableInput,{style:{input:e.input,label:e.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),a.default.createElement("div",{style:e.alpha},a.default.createElement(Ro.EditableInput,{style:{input:e.input,label:e.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),a.default.createElement("div",{style:e.wrap,className:"flexbox-fix"},n,a.default.createElement("div",{style:e.toggle},a.default.createElement("div",{style:e.icon,onClick:this.toggleViews,ref:function(e){return t.icon=e}},a.default.createElement(s.default,{style:e.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(t,e){return 1!==t.hsl.a&&"hex"===e.view?{view:"rgb"}:null}}]),e}(a.default.Component);u.defaultProps={view:"hex"},e.default=u})),Zo=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.ChromePointer=void 0;var n=r(i.default),a=r(zr);function r(t){return t&&t.__esModule?t:{default:t}}var o=e.ChromePointer=function(){var t=(0,a.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return n.default.createElement("div",{style:t.picker})};e.default=o})),Jo=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.ChromePointerCircle=void 0;var n=r(i.default),a=r(zr);function r(t){return t&&t.__esModule?t:{default:t}}var o=e.ChromePointerCircle=function(){var t=(0,a.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return n.default.createElement("div",{style:t.picker})};e.default=o})),$o=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Chrome=void 0;var n=u(i.default),a=u(Ur),r=u(zr),o=u(po),l=u(Xo),s=u(Zo),c=u(Jo);function u(t){return t&&t.__esModule?t:{default:t}}var d=e.Chrome=function(t){var e=t.width,a=t.onChange,i=t.disableAlpha,u=t.rgb,d=t.hsl,p=t.hsv,f=t.hex,h=t.renderers,g=t.styles,m=void 0===g?{}:g,b=t.className,v=void 0===b?"":b,y=t.defaultView,x=(0,r.default)((0,o.default)({default:{picker:{width:e,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+u.r+", "+u.g+", "+u.b+", "+u.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},m),{disableAlpha:i});return n.default.createElement("div",{style:x.picker,className:"chrome-picker "+v},n.default.createElement("div",{style:x.saturation},n.default.createElement(Ro.Saturation,{style:x.Saturation,hsl:d,hsv:p,pointer:c.default,onChange:a})),n.default.createElement("div",{style:x.body},n.default.createElement("div",{style:x.controls,className:"flexbox-fix"},n.default.createElement("div",{style:x.color},n.default.createElement("div",{style:x.swatch},n.default.createElement("div",{style:x.active}),n.default.createElement(Ro.Checkboard,{renderers:h}))),n.default.createElement("div",{style:x.toggles},n.default.createElement("div",{style:x.hue},n.default.createElement(Ro.Hue,{style:x.Hue,hsl:d,pointer:s.default,onChange:a})),n.default.createElement("div",{style:x.alpha},n.default.createElement(Ro.Alpha,{style:x.Alpha,rgb:u,hsl:d,pointer:s.default,renderers:h,onChange:a})))),n.default.createElement(l.default,{rgb:u,hsl:d,hex:f,view:y,onChange:a,disableAlpha:i})))};d.propTypes={width:a.default.oneOfType([a.default.string,a.default.number]),disableAlpha:a.default.bool,styles:a.default.object,defaultView:a.default.oneOf(["hex","rgb","hsl"])},d.defaultProps={width:225,disableAlpha:!1,styles:{}},e.default=(0,Ro.ColorWrap)(d)})),Qo=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.CompactColor=void 0;var n=o(i.default),a=o(zr),r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(Po);function o(t){return t&&t.__esModule?t:{default:t}}var l=e.CompactColor=function(t){var e=t.color,o=t.onClick,i=void 0===o?function(){}:o,l=t.onSwatchHover,s=t.active,c=(0,a.default)({default:{color:{background:e,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:r.getContrastingColor(e),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:s,"color-#FFFFFF":"#FFFFFF"===e,transparent:"transparent"===e});return n.default.createElement(Ro.Swatch,{style:c.color,color:e,onClick:i,onHover:l,focusStyle:{boxShadow:"0 0 4px "+e}},n.default.createElement("div",{style:c.dot}))};e.default=l})),ti=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.CompactFields=void 0;var n=r(i.default),a=r(zr);function r(t){return t&&t.__esModule?t:{default:t}}var o=e.CompactFields=function(t){var e=t.hex,r=t.rgb,o=t.onChange,i=(0,a.default)({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:e},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),l=function(t,e){t.r||t.g||t.b?o({r:t.r||r.r,g:t.g||r.g,b:t.b||r.b,source:"rgb"},e):o({hex:t.hex,source:"hex"},e)};return n.default.createElement("div",{style:i.fields,className:"flexbox-fix"},n.default.createElement("div",{style:i.active}),n.default.createElement(Ro.EditableInput,{style:{wrap:i.HEXwrap,input:i.HEXinput,label:i.HEXlabel},label:"hex",value:e,onChange:l}),n.default.createElement(Ro.EditableInput,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"r",value:r.r,onChange:l}),n.default.createElement(Ro.EditableInput,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"g",value:r.g,onChange:l}),n.default.createElement(Ro.EditableInput,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"b",value:r.b,onChange:l}))};e.default=o})),ei=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Compact=void 0;var n=d(i.default),a=d(Ur),r=d(zr),o=d(za),l=d(po),s=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(Po),c=d(Qo),u=d(ti);function d(t){return t&&t.__esModule?t:{default:t}}var p=e.Compact=function(t){var e=t.onChange,a=t.onSwatchHover,i=t.colors,d=t.hex,p=t.rgb,f=t.styles,h=void 0===f?{}:f,g=t.className,m=void 0===g?"":g,b=(0,r.default)((0,l.default)({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},h)),v=function(t,n){t.hex?s.isValidHex(t.hex)&&e({hex:t.hex,source:"hex"},n):e(t,n)};return n.default.createElement(Ro.Raised,{style:b.Compact,styles:h},n.default.createElement("div",{style:b.compact,className:"compact-picker "+m},n.default.createElement("div",null,(0,o.default)(i,(function(t){return n.default.createElement(c.default,{key:t,color:t,active:t.toLowerCase()===d,onClick:v,onSwatchHover:a})})),n.default.createElement("div",{style:b.clear})),n.default.createElement(u.default,{hex:d,rgb:p,onChange:v})))};p.propTypes={colors:a.default.arrayOf(a.default.string),styles:a.default.object},p.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}},e.default=(0,Ro.ColorWrap)(p)})),ni=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.GithubSwatch=void 0;var n=r(i.default),a=r(zr);function r(t){return t&&t.__esModule?t:{default:t}}var o=e.GithubSwatch=function(t){var e=t.hover,r=t.color,o=t.onClick,i=t.onSwatchHover,l={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},s=(0,a.default)({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:l}},{hover:e});return n.default.createElement("div",{style:s.swatch},n.default.createElement(Ro.Swatch,{color:r,onClick:o,onHover:i,focusStyle:l}))};e.default=(0,zr.handleHover)(o)})),ai=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Github=void 0;var n=c(i.default),a=c(Ur),r=c(zr),o=c(za),l=c(po),s=c(ni);function c(t){return t&&t.__esModule?t:{default:t}}var u=e.Github=function(t){var e=t.width,a=t.colors,i=t.onChange,c=t.onSwatchHover,u=t.triangle,d=t.styles,p=void 0===d?{}:d,f=t.className,h=void 0===f?"":f,g=(0,r.default)((0,l.default)({default:{card:{width:e,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},p),{"hide-triangle":"hide"===u,"top-left-triangle":"top-left"===u,"top-right-triangle":"top-right"===u,"bottom-left-triangle":"bottom-left"===u,"bottom-right-triangle":"bottom-right"===u}),m=function(t,e){return i({hex:t,source:"hex"},e)};return n.default.createElement("div",{style:g.card,className:"github-picker "+h},n.default.createElement("div",{style:g.triangleShadow}),n.default.createElement("div",{style:g.triangle}),(0,o.default)(a,(function(t){return n.default.createElement(s.default,{color:t,key:t,onClick:m,onSwatchHover:c})})))};u.propTypes={width:a.default.oneOfType([a.default.string,a.default.number]),colors:a.default.arrayOf(a.default.string),triangle:a.default.oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:a.default.object},u.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}},e.default=(0,Ro.ColorWrap)(u)})),ri=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.SliderPointer=void 0;var n=r(i.default),a=r(zr);function r(t){return t&&t.__esModule?t:{default:t}}var o=e.SliderPointer=function(t){var e=t.direction,r=(0,a.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===e});return n.default.createElement("div",{style:r.picker})};e.default=o})),oi=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.HuePicker=void 0;var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},a=c(i.default),r=c(Ur),o=c(zr),l=c(po),s=c(ri);function c(t){return t&&t.__esModule?t:{default:t}}var u=e.HuePicker=function(t){var e=t.width,r=t.height,i=t.onChange,s=t.hsl,c=t.direction,u=t.pointer,d=t.styles,p=void 0===d?{}:d,f=t.className,h=void 0===f?"":f,g=(0,o.default)((0,l.default)({default:{picker:{position:"relative",width:e,height:r},hue:{radius:"2px"}}},p));return a.default.createElement("div",{style:g.picker,className:"hue-picker "+h},a.default.createElement(Ro.Hue,n({},g.hue,{hsl:s,pointer:u,onChange:function(t){return i({a:1,h:t.h,l:.5,s:1})},direction:c})))};u.propTypes={styles:r.default.object},u.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:s.default,styles:{}},e.default=(0,Ro.ColorWrap)(u)})),ii=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Material=void 0;var n=l(i.default),a=l(zr),r=l(po),o=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(Po);function l(t){return t&&t.__esModule?t:{default:t}}var s=e.Material=function(t){var e=t.onChange,i=t.hex,l=t.rgb,s=t.styles,c=void 0===s?{}:s,u=t.className,d=void 0===u?"":u,p=(0,a.default)((0,r.default)({default:{material:{width:"98px",height:"98px",padding:"16px",fontFamily:"Roboto"},HEXwrap:{position:"relative"},HEXinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"2px solid "+i,outline:"none",height:"30px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},Hex:{style:{}},RGBwrap:{position:"relative"},RGBinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"1px solid #eee",outline:"none",height:"30px"},RGBlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},split:{display:"flex",marginRight:"-10px",paddingTop:"11px"},third:{flex:"1",paddingRight:"10px"}}},c)),f=function(t,n){t.hex?o.isValidHex(t.hex)&&e({hex:t.hex,source:"hex"},n):(t.r||t.g||t.b)&&e({r:t.r||l.r,g:t.g||l.g,b:t.b||l.b,source:"rgb"},n)};return n.default.createElement(Ro.Raised,{styles:c},n.default.createElement("div",{style:p.material,className:"material-picker "+d},n.default.createElement(Ro.EditableInput,{style:{wrap:p.HEXwrap,input:p.HEXinput,label:p.HEXlabel},label:"hex",value:i,onChange:f}),n.default.createElement("div",{style:p.split,className:"flexbox-fix"},n.default.createElement("div",{style:p.third},n.default.createElement(Ro.EditableInput,{style:{wrap:p.RGBwrap,input:p.RGBinput,label:p.RGBlabel},label:"r",value:l.r,onChange:f})),n.default.createElement("div",{style:p.third},n.default.createElement(Ro.EditableInput,{style:{wrap:p.RGBwrap,input:p.RGBinput,label:p.RGBlabel},label:"g",value:l.g,onChange:f})),n.default.createElement("div",{style:p.third},n.default.createElement(Ro.EditableInput,{style:{wrap:p.RGBwrap,input:p.RGBinput,label:p.RGBlabel},label:"b",value:l.b,onChange:f})))))};e.default=(0,Ro.ColorWrap)(s)})),li=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.PhotoshopPicker=void 0;var n=o(i.default),a=o(zr),r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(Po);function o(t){return t&&t.__esModule?t:{default:t}}var l=e.PhotoshopPicker=function(t){var e=t.onChange,o=t.rgb,i=t.hsv,l=t.hex,s=(0,a.default)({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",top:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}}),c=function(t,n){t["#"]?r.isValidHex(t["#"])&&e({hex:t["#"],source:"hex"},n):t.r||t.g||t.b?e({r:t.r||o.r,g:t.g||o.g,b:t.b||o.b,source:"rgb"},n):(t.h||t.s||t.v)&&e({h:t.h||i.h,s:t.s||i.s,v:t.v||i.v,source:"hsv"},n)};return n.default.createElement("div",{style:s.fields},n.default.createElement(Ro.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"h",value:Math.round(i.h),onChange:c}),n.default.createElement(Ro.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"s",value:Math.round(100*i.s),onChange:c}),n.default.createElement(Ro.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"v",value:Math.round(100*i.v),onChange:c}),n.default.createElement("div",{style:s.divider}),n.default.createElement(Ro.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"r",value:o.r,onChange:c}),n.default.createElement(Ro.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"g",value:o.g,onChange:c}),n.default.createElement(Ro.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"b",value:o.b,onChange:c}),n.default.createElement("div",{style:s.divider}),n.default.createElement(Ro.EditableInput,{style:{wrap:s.HEXwrap,input:s.HEXinput,label:s.HEXlabel},label:"#",value:l.replace("#",""),onChange:c}),n.default.createElement("div",{style:s.fieldSymbols},n.default.createElement("div",{style:s.symbol},"°"),n.default.createElement("div",{style:s.symbol},"%"),n.default.createElement("div",{style:s.symbol},"%")))};e.default=l})),si=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.PhotoshopPointerCircle=void 0;var n=r(i.default),a=r(zr);function r(t){return t&&t.__esModule?t:{default:t}}var o=e.PhotoshopPointerCircle=function(t){var e=t.hsl,r=(0,a.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":e.l>.5});return n.default.createElement("div",{style:r.picker})};e.default=o})),ci=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.PhotoshopPointerCircle=void 0;var n=r(i.default),a=r(zr);function r(t){return t&&t.__esModule?t:{default:t}}var o=e.PhotoshopPointerCircle=function(){var t=(0,a.default)({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return n.default.createElement("div",{style:t.pointer},n.default.createElement("div",{style:t.left},n.default.createElement("div",{style:t.leftInside})),n.default.createElement("div",{style:t.right},n.default.createElement("div",{style:t.rightInside})))};e.default=o})),ui=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.PhotoshopButton=void 0;var n=r(i.default),a=r(zr);function r(t){return t&&t.__esModule?t:{default:t}}var o=e.PhotoshopButton=function(t){var e=t.onClick,r=t.label,o=t.children,i=t.active,l=(0,a.default)({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:i});return n.default.createElement("div",{style:l.button,onClick:e},r||o)};e.default=o})),di=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.PhotoshopPreviews=void 0;var n=r(i.default),a=r(zr);function r(t){return t&&t.__esModule?t:{default:t}}var o=e.PhotoshopPreviews=function(t){var e=t.rgb,r=t.currentColor,o=(0,a.default)({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+e.r+","+e.g+", "+e.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:r,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return n.default.createElement("div",null,n.default.createElement("div",{style:o.label},"new"),n.default.createElement("div",{style:o.swatches},n.default.createElement("div",{style:o.new}),n.default.createElement("div",{style:o.current})),n.default.createElement("div",{style:o.label},"current"))};e.default=o})),pi=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Photoshop=void 0;var n=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),a=f(i.default),r=f(Ur),o=f(zr),l=f(po),s=f(li),c=f(si),u=f(ci),d=f(ui),p=f(di);function f(t){return t&&t.__esModule?t:{default:t}}var h=e.Photoshop=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return n.state={currentColor:t.hex},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),n(e,[{key:"render",value:function(){var t=this.props,e=t.styles,n=void 0===e?{}:e,r=t.className,i=void 0===r?"":r,f=(0,o.default)((0,l.default)({default:{picker:{background:"#DCDCDC",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)",boxSizing:"initial",width:"513px"},head:{backgroundImage:"linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)",borderBottom:"1px solid #B1B1B1",boxShadow:"inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)",height:"23px",lineHeight:"24px",borderRadius:"4px 4px 0 0",fontSize:"13px",color:"#4D4D4D",textAlign:"center"},body:{padding:"15px 15px 0",display:"flex"},saturation:{width:"256px",height:"256px",position:"relative",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0",overflow:"hidden"},hue:{position:"relative",height:"256px",width:"19px",marginLeft:"10px",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0"},controls:{width:"180px",marginLeft:"10px"},top:{display:"flex"},previews:{width:"60px"},actions:{flex:"1",marginLeft:"20px"}}},n));return a.default.createElement("div",{style:f.picker,className:"photoshop-picker "+i},a.default.createElement("div",{style:f.head},this.props.header),a.default.createElement("div",{style:f.body,className:"flexbox-fix"},a.default.createElement("div",{style:f.saturation},a.default.createElement(Ro.Saturation,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:c.default,onChange:this.props.onChange})),a.default.createElement("div",{style:f.hue},a.default.createElement(Ro.Hue,{direction:"vertical",hsl:this.props.hsl,pointer:u.default,onChange:this.props.onChange})),a.default.createElement("div",{style:f.controls},a.default.createElement("div",{style:f.top,className:"flexbox-fix"},a.default.createElement("div",{style:f.previews},a.default.createElement(p.default,{rgb:this.props.rgb,currentColor:this.state.currentColor})),a.default.createElement("div",{style:f.actions},a.default.createElement(d.default,{label:"OK",onClick:this.props.onAccept,active:!0}),a.default.createElement(d.default,{label:"Cancel",onClick:this.props.onCancel}),a.default.createElement(s.default,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),e}(a.default.Component);h.propTypes={header:r.default.string,styles:r.default.object},h.defaultProps={header:"Color Picker",styles:{}},e.default=(0,Ro.ColorWrap)(h)})),fi=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.SketchFields=void 0;var n=o(i.default),a=o(zr),r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(Po);function o(t){return t&&t.__esModule?t:{default:t}}var l=e.SketchFields=function(t){var e=t.onChange,o=t.rgb,i=t.hsl,l=t.hex,s=t.disableAlpha,c=(0,a.default)({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:s}),u=function(t,n){t.hex?r.isValidHex(t.hex)&&e({hex:t.hex,source:"hex"},n):t.r||t.g||t.b?e({r:t.r||o.r,g:t.g||o.g,b:t.b||o.b,a:o.a,source:"rgb"},n):t.a&&(t.a<0?t.a=0:t.a>100&&(t.a=100),t.a/=100,e({h:i.h,s:i.s,l:i.l,a:t.a,source:"rgb"},n))};return n.default.createElement("div",{style:c.fields,className:"flexbox-fix"},n.default.createElement("div",{style:c.double},n.default.createElement(Ro.EditableInput,{style:{input:c.input,label:c.label},label:"hex",value:l.replace("#",""),onChange:u})),n.default.createElement("div",{style:c.single},n.default.createElement(Ro.EditableInput,{style:{input:c.input,label:c.label},label:"r",value:o.r,onChange:u,dragLabel:"true",dragMax:"255"})),n.default.createElement("div",{style:c.single},n.default.createElement(Ro.EditableInput,{style:{input:c.input,label:c.label},label:"g",value:o.g,onChange:u,dragLabel:"true",dragMax:"255"})),n.default.createElement("div",{style:c.single},n.default.createElement(Ro.EditableInput,{style:{input:c.input,label:c.label},label:"b",value:o.b,onChange:u,dragLabel:"true",dragMax:"255"})),n.default.createElement("div",{style:c.alpha},n.default.createElement(Ro.EditableInput,{style:{input:c.input,label:c.label},label:"a",value:Math.round(100*o.a),onChange:u,dragLabel:"true",dragMax:"100"})))};e.default=l})),hi=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.SketchPresetColors=void 0;var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},a=l(i.default),r=l(Ur),o=l(zr);function l(t){return t&&t.__esModule?t:{default:t}}var s=e.SketchPresetColors=function(t){var e=t.colors,r=t.onClick,i=void 0===r?function(){}:r,l=t.onSwatchHover,s=(0,o.default)({default:{colors:{margin:"0 -10px",padding:"10px 0 0 10px",borderTop:"1px solid #eee",display:"flex",flexWrap:"wrap",position:"relative"},swatchWrap:{width:"16px",height:"16px",margin:"0 10px 10px 0"},swatch:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},"no-presets":{colors:{display:"none"}}},{"no-presets":!e||!e.length}),c=function(t,e){i({hex:t,source:"hex"},e)};return a.default.createElement("div",{style:s.colors,className:"flexbox-fix"},e.map((function(t){var e="string"==typeof t?{color:t}:t,r=""+e.color+(e.title||"");return a.default.createElement("div",{key:r,style:s.swatchWrap},a.default.createElement(Ro.Swatch,n({},e,{style:s.swatch,onClick:c,onHover:l,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+e.color}})))})))};s.propTypes={colors:r.default.arrayOf(r.default.oneOfType([r.default.string,r.default.shape({color:r.default.string,title:r.default.string})])).isRequired},e.default=s})),gi=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Sketch=void 0;var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},a=u(i.default),r=u(Ur),o=u(zr),l=u(po),s=u(fi),c=u(hi);function u(t){return t&&t.__esModule?t:{default:t}}var d=e.Sketch=function(t){var e=t.width,r=t.rgb,i=t.hex,u=t.hsv,d=t.hsl,p=t.onChange,f=t.onSwatchHover,h=t.disableAlpha,g=t.presetColors,m=t.renderers,b=t.styles,v=void 0===b?{}:b,y=t.className,x=void 0===y?"":y,w=(0,o.default)((0,l.default)({default:n({picker:{width:e,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba("+r.r+","+r.g+","+r.b+","+r.a+")",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},v),disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},v),{disableAlpha:h});return a.default.createElement("div",{style:w.picker,className:"sketch-picker "+x},a.default.createElement("div",{style:w.saturation},a.default.createElement(Ro.Saturation,{style:w.Saturation,hsl:d,hsv:u,onChange:p})),a.default.createElement("div",{style:w.controls,className:"flexbox-fix"},a.default.createElement("div",{style:w.sliders},a.default.createElement("div",{style:w.hue},a.default.createElement(Ro.Hue,{style:w.Hue,hsl:d,onChange:p})),a.default.createElement("div",{style:w.alpha},a.default.createElement(Ro.Alpha,{style:w.Alpha,rgb:r,hsl:d,renderers:m,onChange:p}))),a.default.createElement("div",{style:w.color},a.default.createElement(Ro.Checkboard,null),a.default.createElement("div",{style:w.activeColor}))),a.default.createElement(s.default,{rgb:r,hsl:d,hex:i,onChange:p,disableAlpha:h}),a.default.createElement(c.default,{colors:g,onClick:p,onSwatchHover:f}))};d.propTypes={disableAlpha:r.default.bool,width:r.default.oneOfType([r.default.string,r.default.number]),styles:r.default.object},d.defaultProps={disableAlpha:!1,width:200,styles:{},presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"]},e.default=(0,Ro.ColorWrap)(d)})),mi=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.SliderSwatch=void 0;var n=r(i.default),a=r(zr);function r(t){return t&&t.__esModule?t:{default:t}}var o=e.SliderSwatch=function(t){var e=t.hsl,r=t.offset,o=t.onClick,i=void 0===o?function(){}:o,l=t.active,s=t.first,c=t.last,u=(0,a.default)({default:{swatch:{height:"12px",background:"hsl("+e.h+", 50%, "+100*r+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:l,first:s,last:c});return n.default.createElement("div",{style:u.swatch,onClick:function(t){return i({h:e.h,s:.5,l:r,source:"hsl"},t)}})};e.default=o})),bi=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.SliderSwatches=void 0;var n=o(i.default),a=o(zr),r=o(mi);function o(t){return t&&t.__esModule?t:{default:t}}var l=e.SliderSwatches=function(t){var e=t.onClick,o=t.hsl,i=(0,a.default)({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}}),l=.1;return n.default.createElement("div",{style:i.swatches},n.default.createElement("div",{style:i.swatch},n.default.createElement(r.default,{hsl:o,offset:".80",active:Math.abs(o.l-.8)<l&&Math.abs(o.s-.5)<l,onClick:e,first:!0})),n.default.createElement("div",{style:i.swatch},n.default.createElement(r.default,{hsl:o,offset:".65",active:Math.abs(o.l-.65)<l&&Math.abs(o.s-.5)<l,onClick:e})),n.default.createElement("div",{style:i.swatch},n.default.createElement(r.default,{hsl:o,offset:".50",active:Math.abs(o.l-.5)<l&&Math.abs(o.s-.5)<l,onClick:e})),n.default.createElement("div",{style:i.swatch},n.default.createElement(r.default,{hsl:o,offset:".35",active:Math.abs(o.l-.35)<l&&Math.abs(o.s-.5)<l,onClick:e})),n.default.createElement("div",{style:i.swatch},n.default.createElement(r.default,{hsl:o,offset:".20",active:Math.abs(o.l-.2)<l&&Math.abs(o.s-.5)<l,onClick:e,last:!0})),n.default.createElement("div",{style:i.clear}))};e.default=l})),vi=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.SliderPointer=void 0;var n=r(i.default),a=r(zr);function r(t){return t&&t.__esModule?t:{default:t}}var o=e.SliderPointer=function(){var t=(0,a.default)({default:{picker:{width:"14px",height:"14px",borderRadius:"6px",transform:"translate(-7px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return n.default.createElement("div",{style:t.picker})};e.default=o})),yi=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Slider=void 0;var n=c(i.default),a=c(Ur),r=c(zr),o=c(po),l=c(bi),s=c(vi);function c(t){return t&&t.__esModule?t:{default:t}}var u=e.Slider=function(t){var e=t.hsl,a=t.onChange,i=t.pointer,s=t.styles,c=void 0===s?{}:s,u=t.className,d=void 0===u?"":u,p=(0,r.default)((0,o.default)({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}},c));return n.default.createElement("div",{style:p.wrap||{},className:"slider-picker "+d},n.default.createElement("div",{style:p.hue},n.default.createElement(Ro.Hue,{style:p.Hue,hsl:e,pointer:i,onChange:a})),n.default.createElement("div",{style:p.swatches},n.default.createElement(l.default,{hsl:e,onClick:a})))};u.propTypes={styles:a.default.object},u.defaultProps={pointer:s.default,styles:{}},e.default=(0,Ro.ColorWrap)(u)})),xi=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},wi=function(t){return t&&t.__esModule?t:{default:t}}(i.default);var _i=Object.defineProperty({default:function(t){var e=t.fill,n=void 0===e?"currentColor":e,a=t.width,r=void 0===a?24:a,o=t.height,i=void 0===o?24:o,l=t.style,s=void 0===l?{}:l,c=function(t,e){var n={};for(var a in t)e.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(t,a)&&(n[a]=t[a]);return n}(t,["fill","width","height","style"]);return wi.default.createElement("svg",xi({viewBox:"0 0 24 24",style:xi({fill:n,width:r,height:i},s)},c),wi.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},"__esModule",{value:!0}),ki=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.SwatchesColor=void 0;var n=l(i.default),a=l(zr),r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(Po),o=l(_i);function l(t){return t&&t.__esModule?t:{default:t}}var s=e.SwatchesColor=function(t){var e=t.color,i=t.onClick,l=void 0===i?function(){}:i,s=t.onSwatchHover,c=t.first,u=t.last,d=t.active,p=(0,a.default)({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:e,marginBottom:"1px"},check:{color:r.getContrastingColor(e),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{color:"#333"}},transparent:{check:{color:"#333"}}},{first:c,last:u,active:d,"color-#FFFFFF":"#FFFFFF"===e,transparent:"transparent"===e});return n.default.createElement(Ro.Swatch,{color:e,style:p.color,onClick:l,onHover:s,focusStyle:{boxShadow:"0 0 4px "+e}},n.default.createElement("div",{style:p.check},n.default.createElement(o.default,null)))};e.default=s})),Si=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.SwatchesGroup=void 0;var n=l(i.default),a=l(zr),r=l(za),o=l(ki);function l(t){return t&&t.__esModule?t:{default:t}}var s=e.SwatchesGroup=function(t){var e=t.onClick,i=t.onSwatchHover,l=t.group,s=t.active,c=(0,a.default)({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return n.default.createElement("div",{style:c.group},(0,r.default)(l,(function(t,a){return n.default.createElement(o.default,{key:t,color:t,active:t.toLowerCase()===s,first:0===a,last:a===l.length-1,onClick:e,onSwatchHover:i})})))};e.default=s})),Ci=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Swatches=void 0;var n=u(i.default),a=u(Ur),r=u(zr),o=u(za),l=u(po),s=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(Vo),c=u(Si);function u(t){return t&&t.__esModule?t:{default:t}}var d=e.Swatches=function(t){var e=t.width,a=t.height,i=t.onChange,s=t.onSwatchHover,u=t.colors,d=t.hex,p=t.styles,f=void 0===p?{}:p,h=t.className,g=void 0===h?"":h,m=(0,r.default)((0,l.default)({default:{picker:{width:e,height:a},overflow:{height:a,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}},f)),b=function(t,e){return i({hex:t,source:"hex"},e)};return n.default.createElement("div",{style:m.picker,className:"swatches-picker "+g},n.default.createElement(Ro.Raised,null,n.default.createElement("div",{style:m.overflow},n.default.createElement("div",{style:m.body},(0,o.default)(u,(function(t){return n.default.createElement(c.default,{key:t.toString(),group:t,active:d,onClick:b,onSwatchHover:s})})),n.default.createElement("div",{style:m.clear})))))};d.propTypes={width:a.default.oneOfType([a.default.string,a.default.number]),height:a.default.oneOfType([a.default.string,a.default.number]),colors:a.default.arrayOf(a.default.arrayOf(a.default.string)),styles:a.default.object},d.defaultProps={width:320,height:240,colors:[[s.red[900],s.red[700],s.red[500],s.red[300],s.red[100]],[s.pink[900],s.pink[700],s.pink[500],s.pink[300],s.pink[100]],[s.purple[900],s.purple[700],s.purple[500],s.purple[300],s.purple[100]],[s.deepPurple[900],s.deepPurple[700],s.deepPurple[500],s.deepPurple[300],s.deepPurple[100]],[s.indigo[900],s.indigo[700],s.indigo[500],s.indigo[300],s.indigo[100]],[s.blue[900],s.blue[700],s.blue[500],s.blue[300],s.blue[100]],[s.lightBlue[900],s.lightBlue[700],s.lightBlue[500],s.lightBlue[300],s.lightBlue[100]],[s.cyan[900],s.cyan[700],s.cyan[500],s.cyan[300],s.cyan[100]],[s.teal[900],s.teal[700],s.teal[500],s.teal[300],s.teal[100]],["#194D33",s.green[700],s.green[500],s.green[300],s.green[100]],[s.lightGreen[900],s.lightGreen[700],s.lightGreen[500],s.lightGreen[300],s.lightGreen[100]],[s.lime[900],s.lime[700],s.lime[500],s.lime[300],s.lime[100]],[s.yellow[900],s.yellow[700],s.yellow[500],s.yellow[300],s.yellow[100]],[s.amber[900],s.amber[700],s.amber[500],s.amber[300],s.amber[100]],[s.orange[900],s.orange[700],s.orange[500],s.orange[300],s.orange[100]],[s.deepOrange[900],s.deepOrange[700],s.deepOrange[500],s.deepOrange[300],s.deepOrange[100]],[s.brown[900],s.brown[700],s.brown[500],s.brown[300],s.brown[100]],[s.blueGrey[900],s.blueGrey[700],s.blueGrey[500],s.blueGrey[300],s.blueGrey[100]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]],styles:{}},e.default=(0,Ro.ColorWrap)(d)})),Mi=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Twitter=void 0;var n=c(i.default),a=c(Ur),r=c(zr),o=c(za),l=c(po),s=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(Po);function c(t){return t&&t.__esModule?t:{default:t}}var u=e.Twitter=function(t){var e=t.onChange,a=t.onSwatchHover,i=t.hex,c=t.colors,u=t.width,d=t.triangle,p=t.styles,f=void 0===p?{}:p,h=t.className,g=void 0===h?"":h,m=(0,r.default)((0,l.default)({default:{card:{width:u,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},f),{"hide-triangle":"hide"===d,"top-left-triangle":"top-left"===d,"top-right-triangle":"top-right"===d}),b=function(t,n){s.isValidHex(t)&&e({hex:t,source:"hex"},n)};return n.default.createElement("div",{style:m.card,className:"twitter-picker "+g},n.default.createElement("div",{style:m.triangleShadow}),n.default.createElement("div",{style:m.triangle}),n.default.createElement("div",{style:m.body},(0,o.default)(c,(function(t,e){return n.default.createElement(Ro.Swatch,{key:e,color:t,hex:t,style:m.swatch,onClick:b,onHover:a,focusStyle:{boxShadow:"0 0 4px "+t}})})),n.default.createElement("div",{style:m.hash},"#"),n.default.createElement(Ro.EditableInput,{label:null,style:{input:m.input},value:i.replace("#",""),onChange:b}),n.default.createElement("div",{style:m.clear})))};u.propTypes={width:a.default.oneOfType([a.default.string,a.default.number]),triangle:a.default.oneOf(["hide","top-left","top-right"]),colors:a.default.arrayOf(a.default.string),styles:a.default.object},u.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left",styles:{}},e.default=(0,Ro.ColorWrap)(u)})),Oi=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.GooglePointerCircle=void 0;var n=o(i.default),a=o(zr),r=o(Ur);function o(t){return t&&t.__esModule?t:{default:t}}var l=e.GooglePointerCircle=function(t){var e=(0,a.default)({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",border:"2px #fff solid",transform:"translate(-12px, -13px)",background:"hsl("+Math.round(t.hsl.h)+", "+Math.round(100*t.hsl.s)+"%, "+Math.round(100*t.hsl.l)+"%)"}}});return n.default.createElement("div",{style:e.picker})};l.propTypes={hsl:r.default.shape({h:r.default.number,s:r.default.number,l:r.default.number,a:r.default.number})},l.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}},e.default=l})),Ei=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.GooglePointer=void 0;var n=o(i.default),a=o(zr),r=o(Ur);function o(t){return t&&t.__esModule?t:{default:t}}var l=e.GooglePointer=function(t){var e=(0,a.default)({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",transform:"translate(-10px, -7px)",background:"hsl("+Math.round(t.hsl.h)+", 100%, 50%)",border:"2px white solid"}}});return n.default.createElement("div",{style:e.picker})};l.propTypes={hsl:r.default.shape({h:r.default.number,s:r.default.number,l:r.default.number,a:r.default.number})},l.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}},e.default=l})),Ti=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.GoogleFields=void 0;var n=o(i.default),a=o(zr),r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(Po);function o(t){return t&&t.__esModule?t:{default:t}}var l=e.GoogleFields=function(t){var e=t.onChange,o=t.rgb,i=t.hsl,l=t.hex,s=t.hsv,c=function(t,n){if(t.hex)r.isValidHex(t.hex)&&e({hex:t.hex,source:"hex"},n);else if(t.rgb){var a=t.rgb.split(",");r.isvalidColorString(t.rgb,"rgb")&&e({r:a[0],g:a[1],b:a[2],a:1,source:"rgb"},n)}else if(t.hsv){var o=t.hsv.split(",");r.isvalidColorString(t.hsv,"hsv")&&(o[2]=o[2].replace("%",""),o[1]=o[1].replace("%",""),o[0]=o[0].replace("°",""),1==o[1]?o[1]=.01:1==o[2]&&(o[2]=.01),e({h:Number(o[0]),s:Number(o[1]),v:Number(o[2]),source:"hsv"},n))}else if(t.hsl){var i=t.hsl.split(",");r.isvalidColorString(t.hsl,"hsl")&&(i[2]=i[2].replace("%",""),i[1]=i[1].replace("%",""),i[0]=i[0].replace("°",""),1==f[1]?f[1]=.01:1==f[2]&&(f[2]=.01),e({h:Number(i[0]),s:Number(i[1]),v:Number(i[2]),source:"hsl"},n))}},u=(0,a.default)({default:{wrap:{display:"flex",height:"100px",marginTop:"4px"},fields:{width:"100%"},column:{paddingTop:"10px",display:"flex",justifyContent:"space-between"},double:{padding:"0px 4.4px",boxSizing:"border-box"},input:{width:"100%",height:"38px",boxSizing:"border-box",padding:"4px 10% 3px",textAlign:"center",border:"1px solid #dadce0",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",fontFamily:"Roboto,Arial,sans-serif"},input2:{height:"38px",width:"100%",border:"1px solid #dadce0",boxSizing:"border-box",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",paddingLeft:"10px",fontFamily:"Roboto,Arial,sans-serif"},label:{textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"35px",top:"-6px",left:"0",right:"0",marginLeft:"auto",marginRight:"auto",fontFamily:"Roboto,Arial,sans-serif"},label2:{left:"10px",textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"32px",top:"-6px",fontFamily:"Roboto,Arial,sans-serif"},single:{flexGrow:"1",margin:"0px 4.4px"}}}),d=o.r+", "+o.g+", "+o.b,p=Math.round(i.h)+"°, "+Math.round(100*i.s)+"%, "+Math.round(100*i.l)+"%",f=Math.round(s.h)+"°, "+Math.round(100*s.s)+"%, "+Math.round(100*s.v)+"%";return n.default.createElement("div",{style:u.wrap,className:"flexbox-fix"},n.default.createElement("div",{style:u.fields},n.default.createElement("div",{style:u.double},n.default.createElement(Ro.EditableInput,{style:{input:u.input,label:u.label},label:"hex",value:l,onChange:c})),n.default.createElement("div",{style:u.column},n.default.createElement("div",{style:u.single},n.default.createElement(Ro.EditableInput,{style:{input:u.input2,label:u.label2},label:"rgb",value:d,onChange:c})),n.default.createElement("div",{style:u.single},n.default.createElement(Ro.EditableInput,{style:{input:u.input2,label:u.label2},label:"hsv",value:f,onChange:c})),n.default.createElement("div",{style:u.single},n.default.createElement(Ro.EditableInput,{style:{input:u.input2,label:u.label2},label:"hsl",value:p,onChange:c})))))};e.default=l})),Di=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Google=void 0;var n=u(i.default),a=u(Ur),r=u(zr),o=u(po),l=u(Oi),s=u(Ei),c=u(Ti);function u(t){return t&&t.__esModule?t:{default:t}}var d=e.Google=function(t){var e=t.width,a=t.onChange,i=t.rgb,u=t.hsl,d=t.hsv,p=t.hex,f=t.header,h=t.styles,g=void 0===h?{}:h,m=t.className,b=void 0===m?"":m,v=(0,r.default)((0,o.default)({default:{picker:{width:e,background:"#fff",border:"1px solid #dfe1e5",boxSizing:"initial",display:"flex",flexWrap:"wrap",borderRadius:"8px 8px 0px 0px"},head:{height:"57px",width:"100%",paddingTop:"16px",paddingBottom:"16px",paddingLeft:"16px",fontSize:"20px",boxSizing:"border-box",fontFamily:"Roboto-Regular,HelveticaNeue,Arial,sans-serif"},saturation:{width:"70%",padding:"0px",position:"relative",overflow:"hidden"},swatch:{width:"30%",height:"228px",padding:"0px",background:"rgba("+i.r+", "+i.g+", "+i.b+", 1)",position:"relative",overflow:"hidden"},body:{margin:"auto",width:"95%"},controls:{display:"flex",boxSizing:"border-box",height:"52px",paddingTop:"22px"},color:{width:"32px"},hue:{height:"8px",position:"relative",margin:"0px 16px 0px 16px",width:"100%"},Hue:{radius:"2px"}}},g));return n.default.createElement("div",{style:v.picker,className:"google-picker "+b},n.default.createElement("div",{style:v.head},f),n.default.createElement("div",{style:v.swatch}),n.default.createElement("div",{style:v.saturation},n.default.createElement(Ro.Saturation,{hsl:u,hsv:d,pointer:l.default,onChange:a})),n.default.createElement("div",{style:v.body},n.default.createElement("div",{style:v.controls,className:"flexbox-fix"},n.default.createElement("div",{style:v.hue},n.default.createElement(Ro.Hue,{style:v.Hue,hsl:u,radius:"4px",pointer:s.default,onChange:a}))),n.default.createElement(c.default,{rgb:i,hsl:u,hex:p,hsv:d,onChange:a})))};d.propTypes={width:a.default.oneOfType([a.default.string,a.default.number]),styles:a.default.object,header:a.default.string},d.defaultProps={width:652,styles:{},header:"Color picker"},e.default=(0,Ro.ColorWrap)(d)})),Ii=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.CustomPicker=e.GooglePicker=e.TwitterPicker=e.SwatchesPicker=e.SliderPicker=e.SketchPicker=e.PhotoshopPicker=e.MaterialPicker=e.HuePicker=e.GithubPicker=e.CompactPicker=e.ChromePicker=e.default=e.CirclePicker=e.BlockPicker=e.AlphaPicker=void 0,Object.defineProperty(e,"AlphaPicker",{enumerable:!0,get:function(){return a(jo).default}}),Object.defineProperty(e,"BlockPicker",{enumerable:!0,get:function(){return a(Bo).default}}),Object.defineProperty(e,"CirclePicker",{enumerable:!0,get:function(){return a(Ho).default}}),Object.defineProperty(e,"ChromePicker",{enumerable:!0,get:function(){return a($o).default}}),Object.defineProperty(e,"CompactPicker",{enumerable:!0,get:function(){return a(ei).default}}),Object.defineProperty(e,"GithubPicker",{enumerable:!0,get:function(){return a(ai).default}}),Object.defineProperty(e,"HuePicker",{enumerable:!0,get:function(){return a(oi).default}}),Object.defineProperty(e,"MaterialPicker",{enumerable:!0,get:function(){return a(ii).default}}),Object.defineProperty(e,"PhotoshopPicker",{enumerable:!0,get:function(){return a(pi).default}}),Object.defineProperty(e,"SketchPicker",{enumerable:!0,get:function(){return a(gi).default}}),Object.defineProperty(e,"SliderPicker",{enumerable:!0,get:function(){return a(yi).default}}),Object.defineProperty(e,"SwatchesPicker",{enumerable:!0,get:function(){return a(Ci).default}}),Object.defineProperty(e,"TwitterPicker",{enumerable:!0,get:function(){return a(Mi).default}}),Object.defineProperty(e,"GooglePicker",{enumerable:!0,get:function(){return a(Di).default}}),Object.defineProperty(e,"CustomPicker",{enumerable:!0,get:function(){return a(No).default}});var n=a($o);function a(t){return t&&t.__esModule?t:{default:t}}e.default=n.default}));function Pi(){return Pi=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},Pi.apply(this,arguments)}function Ni(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ai(t){if(Array.isArray(t))return t}function zi(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,a=new Array(e);n<e;n++)a[n]=t[n];return a}function Ri(t,e){if(t){if("string"==typeof t)return zi(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zi(t,e):void 0}}function Li(){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 ji(t,e){return Ai(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var a,r,o=[],i=!0,l=!1;try{for(n=n.call(t);!(i=(a=n.next()).done)&&(o.push(a.value),!e||o.length!==e);i=!0);}catch(t){l=!0,r=t}finally{try{i||null==n.return||n.return()}finally{if(l)throw r}}return o}}(t,e)||Ri(t,e)||Li()}function Fi(t){return Fi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fi(t)}function Bi(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function Vi(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Bi(Object(n),!0).forEach((function(e){Ni(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Bi(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Yi(t,e){if(null==t)return{};var n,a,r=function(t,e){if(null==t)return{};var n,a,r={},o=Object.keys(t);for(a=0;a<o.length;a++)n=o[a],e.indexOf(n)>=0||(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(a=0;a<o.length;a++)n=o[a],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function Hi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wi(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function Ui(t,e,n){return e&&Wi(t.prototype,e),n&&Wi(t,n),t}function Gi(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ki(t,e){return Ki=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Ki(t,e)}function qi(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ki(t,e)}function Xi(t){return Xi=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Xi(t)}var Zi=v((function(t){function e(n){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(t.exports=e=function(t){return typeof t},t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=e=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.default=t.exports,t.exports.__esModule=!0),e(n)}t.exports=e,t.exports.default=t.exports,t.exports.__esModule=!0})),Ji=m(Zi);function $i(t,e){if(e&&("object"===Ji(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Gi(t)}function Qi(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,a=Xi(t);if(e){var r=Xi(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return $i(this,n)}}var tl=function(t){return+setTimeout(t,16)},el=function(t){return clearTimeout(t)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(tl=function(t){return window.requestAnimationFrame(t)},el=function(t){return window.cancelAnimationFrame(t)});var nl=0,al=new Map;function rl(t){al.delete(t)}function ol(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=nl+=1;function a(e){if(0===e)rl(n),t();else{var r=tl((function(){a(e-1)}));al.set(n,r)}}return a(e),n}function il(t,e){return!!t&&t.contains(e)}function ll(t){return t instanceof HTMLElement?t:c.default.findDOMNode(t)}
/** @license React v16.13.1
     * react-is.production.min.js
     *
     * Copyright (c) Facebook, Inc. and its affiliates.
     *
     * This source code is licensed under the MIT license found in the
     * LICENSE file in the root directory of this source tree.
     */ol.cancel=function(t){var e=al.get(t);return rl(e),el(e)};var sl="function"==typeof Symbol&&Symbol.for,cl=sl?Symbol.for("react.element"):60103,ul=sl?Symbol.for("react.portal"):60106,dl=sl?Symbol.for("react.fragment"):60107,pl=sl?Symbol.for("react.strict_mode"):60108,fl=sl?Symbol.for("react.profiler"):60114,hl=sl?Symbol.for("react.provider"):60109,gl=sl?Symbol.for("react.context"):60110,ml=sl?Symbol.for("react.async_mode"):60111,bl=sl?Symbol.for("react.concurrent_mode"):60111,vl=sl?Symbol.for("react.forward_ref"):60112,yl=sl?Symbol.for("react.suspense"):60113,xl=sl?Symbol.for("react.suspense_list"):60120,wl=sl?Symbol.for("react.memo"):60115,_l=sl?Symbol.for("react.lazy"):60116,kl=sl?Symbol.for("react.block"):60121,Sl=sl?Symbol.for("react.fundamental"):60117,Cl=sl?Symbol.for("react.responder"):60118,Ml=sl?Symbol.for("react.scope"):60119;function Ol(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case cl:switch(t=t.type){case ml:case bl:case dl:case fl:case pl:case yl:return t;default:switch(t=t&&t.$$typeof){case gl:case vl:case _l:case wl:case hl:return t;default:return e}}case ul:return e}}}function El(t){return Ol(t)===bl}var Tl={AsyncMode:ml,ConcurrentMode:bl,ContextConsumer:gl,ContextProvider:hl,Element:cl,ForwardRef:vl,Fragment:dl,Lazy:_l,Memo:wl,Portal:ul,Profiler:fl,StrictMode:pl,Suspense:yl,isAsyncMode:function(t){return El(t)||Ol(t)===ml},isConcurrentMode:El,isContextConsumer:function(t){return Ol(t)===gl},isContextProvider:function(t){return Ol(t)===hl},isElement:function(t){return"object"==typeof t&&null!==t&&t.$$typeof===cl},isForwardRef:function(t){return Ol(t)===vl},isFragment:function(t){return Ol(t)===dl},isLazy:function(t){return Ol(t)===_l},isMemo:function(t){return Ol(t)===wl},isPortal:function(t){return Ol(t)===ul},isProfiler:function(t){return Ol(t)===fl},isStrictMode:function(t){return Ol(t)===pl},isSuspense:function(t){return Ol(t)===yl},isValidElementType:function(t){return"string"==typeof t||"function"==typeof t||t===dl||t===bl||t===fl||t===pl||t===yl||t===xl||"object"==typeof t&&null!==t&&(t.$$typeof===_l||t.$$typeof===wl||t.$$typeof===hl||t.$$typeof===gl||t.$$typeof===vl||t.$$typeof===Sl||t.$$typeof===Cl||t.$$typeof===Ml||t.$$typeof===kl)},typeOf:Ol},Dl=v((function(t){t.exports=Tl}));function Il(t,e){"function"==typeof t?t(e):"object"===Fi(t)&&t&&"current"in t&&(t.current=e)}function Pl(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){e.forEach((function(e){Il(e,t)}))}}function Nl(t){var e,n,a=Dl.isMemo(t)?t.type.type:t.type;return!("function"==typeof a&&!(null===(e=a.prototype)||void 0===e?void 0:e.render))&&!("function"==typeof t&&!(null===(n=t.prototype)||void 0===n?void 0:n.render))}function Al(t,e,n,a){var r=c.default.unstable_batchedUpdates?function(t){c.default.unstable_batchedUpdates(n,t)}:n;return t.addEventListener&&t.addEventListener(e,r,a),{remove:function(){t.removeEventListener&&t.removeEventListener(e,r)}}}function zl(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}var Rl=t.forwardRef((function(e,n){var a=e.didUpdate,r=e.getContainer,o=e.children,i=t.useRef();t.useImperativeHandle(n,(function(){return{}}));var l=t.useRef(!1);return!l.current&&zl()&&(i.current=r(),l.current=!0),t.useEffect((function(){null==a||a(e)})),t.useEffect((function(){return function(){var t,e;null===(t=i.current)||void 0===t||null===(e=t.parentNode)||void 0===e||e.removeChild(i.current)}}),[]),i.current?c.default.createPortal(o,i.current):null}));function Ll(t,e,n){return n?t[0]===e[0]:t[0]===e[0]&&t[1]===e[1]}var jl=function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var t=navigator.userAgent||navigator.vendor||window.opera;return!(!/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)&&!/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null==t?void 0:t.substr(0,4)))};function Fl(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit".concat(t)]="webkit".concat(e),n["Moz".concat(t)]="moz".concat(e),n["ms".concat(t)]="MS".concat(e),n["O".concat(t)]="o".concat(e.toLowerCase()),n}var Bl,Vl,Yl,Hl=(Bl=zl(),Vl="undefined"!=typeof window?window:{},Yl={animationend:Fl("Animation","AnimationEnd"),transitionend:Fl("Transition","TransitionEnd")},Bl&&("AnimationEvent"in Vl||delete Yl.animationend.animation,"TransitionEvent"in Vl||delete Yl.transitionend.transition),Yl),Wl={};if(zl()){var Ul=document.createElement("div");Wl=Ul.style}var Gl={};function Kl(t){if(Gl[t])return Gl[t];var e=Hl[t];if(e)for(var n=Object.keys(e),a=n.length,r=0;r<a;r+=1){var o=n[r];if(Object.prototype.hasOwnProperty.call(e,o)&&o in Wl)return Gl[t]=e[o],Gl[t]}return""}var ql=Kl("animationend"),Xl=Kl("transitionend"),Zl=!(!ql||!Xl),Jl=ql||"animationend",$l=Xl||"transitionend";function Ql(t,e){if(!t)return null;if("object"===Fi(t)){var n=e.replace(/-\w/g,(function(t){return t[1].toUpperCase()}));return t[n]}return"".concat(t,"-").concat(e)}var ts="none",es="appear",ns="enter",as="leave",rs="none",os="prepare",is="start",ls="active",ss="end";function cs(e){var n=t.useRef(!1),a=ji(t.useState(e),2),r=a[0],o=a[1];return t.useEffect((function(){return function(){n.current=!0}}),[]),[r,function(t){n.current||o(t)}]}var us=zl()?t.useLayoutEffect:t.useEffect,ds=[os,is,ls,ss];function ps(t){return t===ls||t===ss}var fs=function(t,e){var n=ji(l.useState(rs),2),a=n[0],r=n[1],o=function(){var t=l.useRef(null);function e(){ol.cancel(t.current)}return l.useEffect((function(){return function(){e()}}),[]),[function n(a){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;e();var o=ol((function(){r<=1?a({isCanceled:function(){return o!==t.current}}):n(a,r-1)}));t.current=o},e]}(),i=ji(o,2),s=i[0],c=i[1];return us((function(){if(a!==rs&&a!==ss){var t=ds.indexOf(a),n=ds[t+1],o=e(a);false===o?r(n):s((function(t){function e(){t.isCanceled()||r(n)}!0===o?e():Promise.resolve(o).then(e)}))}}),[t,a]),l.useEffect((function(){return function(){c()}}),[]),[function(){r(os)},a]};function hs(e,n,a,r){var o=r.motionEnter,i=void 0===o||o,s=r.motionAppear,c=void 0===s||s,u=r.motionLeave,d=void 0===u||u,p=r.motionDeadline,f=r.motionLeaveImmediately,h=r.onAppearPrepare,g=r.onEnterPrepare,m=r.onLeavePrepare,b=r.onAppearStart,v=r.onEnterStart,y=r.onLeaveStart,x=r.onAppearActive,w=r.onEnterActive,_=r.onLeaveActive,k=r.onAppearEnd,S=r.onEnterEnd,C=r.onLeaveEnd,M=r.onVisibleChanged,O=ji(cs(),2),E=O[0],T=O[1],D=ji(cs(ts),2),I=D[0],P=D[1],N=ji(cs(null),2),A=N[0],z=N[1],R=t.useRef(!1),L=t.useRef(null),j=t.useRef(!1),F=t.useRef(null);function B(){return a()||F.current}var V=t.useRef(!1);function Y(t){var e,n=B();t&&!t.deadline&&t.target!==n||(I===es&&V.current?e=null==k?void 0:k(n,t):I===ns&&V.current?e=null==S?void 0:S(n,t):I===as&&V.current&&(e=null==C?void 0:C(n,t)),!1===e||j.current||(P(ts),z(null)))}var H=function(e){var n=t.useRef(),a=t.useRef(e);a.current=e;var r=l.useCallback((function(t){a.current(t)}),[]);function o(t){t&&(t.removeEventListener($l,r),t.removeEventListener(Jl,r))}return l.useEffect((function(){return function(){o(n.current)}}),[]),[function(t){n.current&&n.current!==t&&o(n.current),t&&t!==n.current&&(t.addEventListener($l,r),t.addEventListener(Jl,r),n.current=t)},o]}(Y),W=ji(H,1)[0],U=l.useMemo((function(){var t,e,n;switch(I){case"appear":return Ni(t={},os,h),Ni(t,is,b),Ni(t,ls,x),t;case"enter":return Ni(e={},os,g),Ni(e,is,v),Ni(e,ls,w),e;case"leave":return Ni(n={},os,m),Ni(n,is,y),Ni(n,ls,_),n;default:return{}}}),[I]),G=ji(fs(I,(function(t){if(t===os){var e=U.prepare;return!!e&&e(B())}var n;q in U&&z((null===(n=U[q])||void 0===n?void 0:n.call(U,B(),null))||null);return q===ls&&(W(B()),p>0&&(clearTimeout(L.current),L.current=setTimeout((function(){Y({deadline:!0})}),p))),true})),2),K=G[0],q=G[1],X=ps(q);V.current=X,us((function(){T(n);var t,a=R.current;(R.current=!0,e)&&(!a&&n&&c&&(t=es),a&&n&&i&&(t=ns),(a&&!n&&d||!a&&f&&!n&&d)&&(t=as),t&&(P(t),K()))}),[n]),t.useEffect((function(){(I===es&&!c||I===ns&&!i||I===as&&!d)&&P(ts)}),[c,i,d]),t.useEffect((function(){return function(){clearTimeout(L.current),j.current=!0}}),[]),t.useEffect((function(){void 0!==E&&I===ts&&(null==M||M(E))}),[E,I]);var Z=A;return U.prepare&&q===is&&(Z=Vi({transition:"none"},Z)),[I,q,Z,null!=E?E:n]}var gs=function(t){qi(n,t);var e=Qi(n);function n(){return Hi(this,n),e.apply(this,arguments)}return Ui(n,[{key:"render",value:function(){return this.props.children}}]),n}(l.Component);var ms=function(e){var n=e;function a(t){return!(!t.motionName||!n)}"object"===Fi(e)&&(n=e.transitionSupport);var r=l.forwardRef((function(e,n){var r=e.visible,o=void 0===r||r,i=e.removeOnLeave,s=void 0===i||i,c=e.forceRender,u=e.children,d=e.motionName,p=e.leavedClassName,f=e.eventProps,h=a(e),g=t.useRef(),m=t.useRef();var b=ji(hs(h,o,(function(){try{return ll(g.current||m.current)}catch(t){return null}}),e),4),v=b[0],y=b[1],x=b[2],w=b[3],_=l.useRef(w);w&&(_.current=!0);var k=t.useRef(n);k.current=n;var S,C=l.useCallback((function(t){g.current=t,Il(k.current,t)}),[]),M=Vi(Vi({},f),{},{visible:o});if(u)if(v!==ts&&a(e)){var O,E;y===os?E="prepare":ps(y)?E="active":y===is&&(E="start"),S=u(Vi(Vi({},M),{},{className:R(Ql(d,v),(O={},Ni(O,Ql(d,"".concat(v,"-").concat(E)),E),Ni(O,d,"string"==typeof d),O)),style:x}),C)}else S=w?u(Vi({},M),C):!s&&_.current?u(Vi(Vi({},M),{},{className:p}),C):c?u(Vi(Vi({},M),{},{style:{display:"none"}}),C):null;else S=null;return l.createElement(gs,{ref:m},S)}));return r.displayName="CSSMotion",r}(Zl),bs="add",vs="keep",ys="remove",xs="removed";function ws(t){var e;return Vi(Vi({},e=t&&"object"===Fi(t)&&"key"in t?t:{key:t}),{},{key:String(e.key)})}function _s(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.map(ws)}function ks(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],a=0,r=e.length,o=_s(t),i=_s(e);o.forEach((function(t){for(var e=!1,o=a;o<r;o+=1){var l=i[o];if(l.key===t.key){a<o&&(n=n.concat(i.slice(a,o).map((function(t){return Vi(Vi({},t),{},{status:bs})}))),a=o),n.push(Vi(Vi({},l),{},{status:vs})),a+=1,e=!0;break}}e||n.push(Vi(Vi({},t),{},{status:ys}))})),a<r&&(n=n.concat(i.slice(a).map((function(t){return Vi(Vi({},t),{},{status:bs})}))));var l={};n.forEach((function(t){var e=t.key;l[e]=(l[e]||0)+1}));var s=Object.keys(l).filter((function(t){return l[t]>1}));return s.forEach((function(t){n=n.filter((function(e){var n=e.key,a=e.status;return n!==t||a!==ys})),n.forEach((function(e){e.key===t&&(e.status=vs)}))})),n}var Ss=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];var Cs=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ms,n=function(t){qi(a,t);var n=Qi(a);function a(){var t;return Hi(this,a),(t=n.apply(this,arguments)).state={keyEntities:[]},t.removeKey=function(e){t.setState((function(t){return{keyEntities:t.keyEntities.map((function(t){return t.key!==e?t:Vi(Vi({},t),{},{status:xs})}))}}))},t}return Ui(a,[{key:"render",value:function(){var t=this,n=this.state.keyEntities,a=this.props,r=a.component,o=a.children,i=a.onVisibleChanged,s=Yi(a,["component","children","onVisibleChanged"]),c=r||l.Fragment,u={};return Ss.forEach((function(t){u[t]=s[t],delete s[t]})),delete s.keys,l.createElement(c,s,n.map((function(n){var a=n.status,r=Yi(n,["status"]),s=a===bs||a===vs;return l.createElement(e,Pi({},u,{key:r.key,visible:s,eventProps:r,onVisibleChanged:function(e){null==i||i(e,{key:r.key}),e||t.removeKey(r.key)}}),o)})))}}],[{key:"getDerivedStateFromProps",value:function(t,e){var n=t.keys,a=e.keyEntities,r=_s(n);return{keyEntities:ks(a,r).filter((function(t){var e=a.find((function(e){var n=e.key;return t.key===n}));return!e||e.status!==xs||t.status!==ys}))}}}]),a}(l.Component);return n.defaultProps={component:"div"},n}(Zl);function Ms(t){var e=t.prefixCls,n=t.motion,a=t.animation,r=t.transitionName;return n||(a?{motionName:"".concat(e,"-").concat(a)}:r?{motionName:r}:null)}function Os(t){var e=t.prefixCls,n=t.visible,a=t.zIndex,r=t.mask,o=t.maskMotion,i=t.maskAnimation,s=t.maskTransitionName;if(!r)return null;var c={};return(o||s||i)&&(c=Vi({motionAppear:!0},Ms({motion:o,prefixCls:e,transitionName:s,animation:i}))),l.createElement(ms,Pi({},c,{visible:n,removeOnLeave:!0}),(function(t){var n=t.className;return l.createElement("div",{style:{zIndex:a},className:R("".concat(e,"-mask"),n)})}))}var Es,Ts=function(t){if(!t)return!1;if(t.offsetParent)return!0;if(t.getBBox){var e=t.getBBox();if(e.width||e.height)return!0}if(t.getBoundingClientRect){var n=t.getBoundingClientRect();if(n.width||n.height)return!0}return!1};function Ds(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function Is(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ds(Object(n),!0).forEach((function(e){Ns(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ds(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ps(t){return Ps="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ps(t)}function Ns(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var As={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function zs(){if(void 0!==Es)return Es;Es="";var t=document.createElement("p").style;for(var e in As)e+"Transform"in t&&(Es=e);return Es}function Rs(){return zs()?"".concat(zs(),"TransitionProperty"):"transitionProperty"}function Ls(){return zs()?"".concat(zs(),"Transform"):"transform"}function js(t,e){var n=Rs();n&&(t.style[n]=e,"transitionProperty"!==n&&(t.style.transitionProperty=e))}function Fs(t,e){var n=Ls();n&&(t.style[n]=e,"transform"!==n&&(t.style.transform=e))}var Bs,Vs=/matrix\((.*)\)/,Ys=/matrix3d\((.*)\)/;function Hs(t){var e=t.style.display;t.style.display="none",t.offsetHeight,t.style.display=e}function Ws(t,e,n){var a=n;if("object"!==Ps(e))return void 0!==a?("number"==typeof a&&(a="".concat(a,"px")),void(t.style[e]=a)):Bs(t,e);for(var r in e)e.hasOwnProperty(r)&&Ws(t,r,e[r])}function Us(t,e){var n=t["page".concat(e?"Y":"X","Offset")],a="scroll".concat(e?"Top":"Left");if("number"!=typeof n){var r=t.document;"number"!=typeof(n=r.documentElement[a])&&(n=r.body[a])}return n}function Gs(t){return Us(t)}function Ks(t){return Us(t,!0)}function qs(t){var e=function(t){var e,n,a,r=t.ownerDocument,o=r.body,i=r&&r.documentElement;return n=(e=t.getBoundingClientRect()).left,a=e.top,{left:n-=i.clientLeft||o.clientLeft||0,top:a-=i.clientTop||o.clientTop||0}}(t),n=t.ownerDocument,a=n.defaultView||n.parentWindow;return e.left+=Gs(a),e.top+=Ks(a),e}function Xs(t){return null!=t&&t==t.window}function Zs(t){return Xs(t)?t.document:9===t.nodeType?t:t.ownerDocument}var Js=new RegExp("^(".concat(/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,")(?!px)[a-z%]+$"),"i"),$s=/^(top|right|bottom|left)$/;function Qs(t,e){return"left"===t?e.useCssRight?"right":t:e.useCssBottom?"bottom":t}function tc(t){return"left"===t?"right":"right"===t?"left":"top"===t?"bottom":"bottom"===t?"top":void 0}function ec(t,e,n){"static"===Ws(t,"position")&&(t.style.position="relative");var a=-999,r=-999,o=Qs("left",n),i=Qs("top",n),l=tc(o),s=tc(i);"left"!==o&&(a=999),"top"!==i&&(r=999);var c,u="",d=qs(t);("left"in e||"top"in e)&&(u=(c=t).style.transitionProperty||c.style[Rs()]||"",js(t,"none")),"left"in e&&(t.style[l]="",t.style[o]="".concat(a,"px")),"top"in e&&(t.style[s]="",t.style[i]="".concat(r,"px")),Hs(t);var p=qs(t),f={};for(var h in e)if(e.hasOwnProperty(h)){var g=Qs(h,n),m="left"===h?a:r,b=d[h]-p[h];f[g]=g===h?m+b:m-b}Ws(t,f),Hs(t),("left"in e||"top"in e)&&js(t,u);var v={};for(var y in e)if(e.hasOwnProperty(y)){var x=Qs(y,n),w=e[y]-d[y];v[x]=y===x?f[x]+w:f[x]-w}Ws(t,v)}function nc(t,e){var n=qs(t),a=function(t){var e=window.getComputedStyle(t,null),n=e.getPropertyValue("transform")||e.getPropertyValue(Ls());if(n&&"none"!==n){var a=n.replace(/[^0-9\-.,]/g,"").split(",");return{x:parseFloat(a[12]||a[4],0),y:parseFloat(a[13]||a[5],0)}}return{x:0,y:0}}(t),r={x:a.x,y:a.y};"left"in e&&(r.x=a.x+e.left-n.left),"top"in e&&(r.y=a.y+e.top-n.top),function(t,e){var n=window.getComputedStyle(t,null),a=n.getPropertyValue("transform")||n.getPropertyValue(Ls());if(a&&"none"!==a){var r,o=a.match(Vs);o?((r=(o=o[1]).split(",").map((function(t){return parseFloat(t,10)})))[4]=e.x,r[5]=e.y,Fs(t,"matrix(".concat(r.join(","),")"))):((r=a.match(Ys)[1].split(",").map((function(t){return parseFloat(t,10)})))[12]=e.x,r[13]=e.y,Fs(t,"matrix3d(".concat(r.join(","),")")))}else Fs(t,"translateX(".concat(e.x,"px) translateY(").concat(e.y,"px) translateZ(0)"))}(t,r)}function ac(t,e){for(var n=0;n<t.length;n++)e(t[n])}function rc(t){return"border-box"===Bs(t,"boxSizing")}"undefined"!=typeof window&&(Bs=window.getComputedStyle?function(t,e,n){var a=n,r="",o=Zs(t);return(a=a||o.defaultView.getComputedStyle(t,null))&&(r=a.getPropertyValue(e)||a[e]),r}:function(t,e){var n=t.currentStyle&&t.currentStyle[e];if(Js.test(n)&&!$s.test(e)){var a=t.style,r=a.left,o=t.runtimeStyle.left;t.runtimeStyle.left=t.currentStyle.left,a.left="fontSize"===e?"1em":n||0,n=a.pixelLeft+"px",a.left=r,t.runtimeStyle.left=o}return""===n?"auto":n});var oc=["margin","border","padding"];function ic(t,e,n){var a,r={},o=t.style;for(a in e)e.hasOwnProperty(a)&&(r[a]=o[a],o[a]=e[a]);for(a in n.call(t),e)e.hasOwnProperty(a)&&(o[a]=r[a])}function lc(t,e,n){var a,r,o,i=0;for(r=0;r<e.length;r++)if(a=e[r])for(o=0;o<n.length;o++){var l=void 0;l="border"===a?"".concat(a).concat(n[o],"Width"):a+n[o],i+=parseFloat(Bs(t,l))||0}return i}var sc={getParent:function(t){var e=t;do{e=11===e.nodeType&&e.host?e.host:e.parentNode}while(e&&1!==e.nodeType&&9!==e.nodeType);return e}};function cc(t,e,n){var a=n;if(Xs(t))return"width"===e?sc.viewportWidth(t):sc.viewportHeight(t);if(9===t.nodeType)return"width"===e?sc.docWidth(t):sc.docHeight(t);var r="width"===e?["Left","Right"]:["Top","Bottom"],o="width"===e?t.getBoundingClientRect().width:t.getBoundingClientRect().height,i=rc(t),l=0;(null==o||o<=0)&&(o=void 0,(null==(l=Bs(t,e))||Number(l)<0)&&(l=t.style[e]||0),l=parseFloat(l)||0),void 0===a&&(a=i?1:-1);var s=void 0!==o||i,c=o||l;return-1===a?s?c-lc(t,["border","padding"],r):l:s?1===a?c:c+(2===a?-lc(t,["border"],r):lc(t,["margin"],r)):l+lc(t,oc.slice(a),r)}ac(["Width","Height"],(function(t){sc["doc".concat(t)]=function(e){var n=e.document;return Math.max(n.documentElement["scroll".concat(t)],n.body["scroll".concat(t)],sc["viewport".concat(t)](n))},sc["viewport".concat(t)]=function(e){var n="client".concat(t),a=e.document,r=a.body,o=a.documentElement[n];return"CSS1Compat"===a.compatMode&&o||r&&r[n]||o}}));var uc={position:"absolute",visibility:"hidden",display:"block"};function dc(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var a,r=e[0];return 0!==r.offsetWidth?a=cc.apply(void 0,e):ic(r,uc,(function(){a=cc.apply(void 0,e)})),a}function pc(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}ac(["width","height"],(function(t){var e=t.charAt(0).toUpperCase()+t.slice(1);sc["outer".concat(e)]=function(e,n){return e&&dc(e,t,n?0:1)};var n="width"===t?["Left","Right"]:["Top","Bottom"];sc[t]=function(e,a){var r=a;return void 0!==r?e?(rc(e)&&(r+=lc(e,["padding","border"],n)),Ws(e,t,r)):void 0:e&&dc(e,t,-1)}}));var fc={getWindow:function(t){if(t&&t.document&&t.setTimeout)return t;var e=t.ownerDocument||t;return e.defaultView||e.parentWindow},getDocument:Zs,offset:function(t,e,n){if(void 0===e)return qs(t);!function(t,e,n){if(n.ignoreShake){var a=qs(t),r=a.left.toFixed(0),o=a.top.toFixed(0),i=e.left.toFixed(0),l=e.top.toFixed(0);if(r===i&&o===l)return}n.useCssRight||n.useCssBottom?ec(t,e,n):n.useCssTransform&&Ls()in document.body.style?nc(t,e):ec(t,e,n)}(t,e,n||{})},isWindow:Xs,each:ac,css:Ws,clone:function(t){var e,n={};for(e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);if(t.overflow)for(e in t)t.hasOwnProperty(e)&&(n.overflow[e]=t.overflow[e]);return n},mix:pc,getWindowScrollLeft:function(t){return Gs(t)},getWindowScrollTop:function(t){return Ks(t)},merge:function(){for(var t={},e=0;e<arguments.length;e++)fc.mix(t,e<0||arguments.length<=e?void 0:arguments[e]);return t},viewportWidth:0,viewportHeight:0};pc(fc,sc);var hc=fc.getParent;function gc(t){if(fc.isWindow(t)||9===t.nodeType)return null;var e,n=fc.getDocument(t).body,a=fc.css(t,"position");if(!("fixed"===a||"absolute"===a))return"html"===t.nodeName.toLowerCase()?null:hc(t);for(e=hc(t);e&&e!==n&&9!==e.nodeType;e=hc(e))if("static"!==(a=fc.css(e,"position")))return e;return null}var mc=fc.getParent;function bc(t,e){for(var n={left:0,right:1/0,top:0,bottom:1/0},a=gc(t),r=fc.getDocument(t),o=r.defaultView||r.parentWindow,i=r.body,l=r.documentElement;a;){if(-1!==navigator.userAgent.indexOf("MSIE")&&0===a.clientWidth||a===i||a===l||"visible"===fc.css(a,"overflow")){if(a===i||a===l)break}else{var s=fc.offset(a);s.left+=a.clientLeft,s.top+=a.clientTop,n.top=Math.max(n.top,s.top),n.right=Math.min(n.right,s.left+a.clientWidth),n.bottom=Math.min(n.bottom,s.top+a.clientHeight),n.left=Math.max(n.left,s.left)}a=gc(a)}var c=null;fc.isWindow(t)||9===t.nodeType||(c=t.style.position,"absolute"===fc.css(t,"position")&&(t.style.position="fixed"));var u=fc.getWindowScrollLeft(o),d=fc.getWindowScrollTop(o),p=fc.viewportWidth(o),f=fc.viewportHeight(o),h=l.scrollWidth,g=l.scrollHeight,m=window.getComputedStyle(i);if("hidden"===m.overflowX&&(h=o.innerWidth),"hidden"===m.overflowY&&(g=o.innerHeight),t.style&&(t.style.position=c),e||function(t){if(fc.isWindow(t)||9===t.nodeType)return!1;var e=fc.getDocument(t),n=e.body,a=null;for(a=mc(t);a&&a!==n&&a!==e;a=mc(a))if("fixed"===fc.css(a,"position"))return!0;return!1}(t))n.left=Math.max(n.left,u),n.top=Math.max(n.top,d),n.right=Math.min(n.right,u+p),n.bottom=Math.min(n.bottom,d+f);else{var b=Math.max(h,u+p);n.right=Math.min(n.right,b);var v=Math.max(g,d+f);n.bottom=Math.min(n.bottom,v)}return n.top>=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function vc(t){var e,n,a;if(fc.isWindow(t)||9===t.nodeType){var r=fc.getWindow(t);e={left:fc.getWindowScrollLeft(r),top:fc.getWindowScrollTop(r)},n=fc.viewportWidth(r),a=fc.viewportHeight(r)}else e=fc.offset(t),n=fc.outerWidth(t),a=fc.outerHeight(t);return e.width=n,e.height=a,e}function yc(t,e){var n=e.charAt(0),a=e.charAt(1),r=t.width,o=t.height,i=t.left,l=t.top;return"c"===n?l+=o/2:"b"===n&&(l+=o),"c"===a?i+=r/2:"r"===a&&(i+=r),{left:i,top:l}}function xc(t,e,n,a,r){var o=yc(e,n[1]),i=yc(t,n[0]),l=[i.left-o.left,i.top-o.top];return{left:Math.round(t.left-l[0]+a[0]-r[0]),top:Math.round(t.top-l[1]+a[1]-r[1])}}function wc(t,e,n){return t.left<n.left||t.left+e.width>n.right}function _c(t,e,n){return t.top<n.top||t.top+e.height>n.bottom}function kc(t,e,n){var a=[];return fc.each(t,(function(t){a.push(t.replace(e,(function(t){return n[t]})))})),a}function Sc(t,e){return t[e]=-t[e],t}function Cc(t,e){return(/%$/.test(t)?parseInt(t.substring(0,t.length-1),10)/100*e:parseInt(t,10))||0}function Mc(t,e){t[0]=Cc(t[0],e.width),t[1]=Cc(t[1],e.height)}function Oc(t,e,n,a){var r=n.points,o=n.offset||[0,0],i=n.targetOffset||[0,0],l=n.overflow,s=n.source||t;o=[].concat(o),i=[].concat(i);var c={},u=0,d=bc(s,!(!(l=l||{})||!l.alwaysByViewport)),p=vc(s);Mc(o,p),Mc(i,e);var f=xc(p,e,r,o,i),h=fc.merge(p,f);if(d&&(l.adjustX||l.adjustY)&&a){if(l.adjustX&&wc(f,p,d)){var g=kc(r,/[lr]/gi,{l:"r",r:"l"}),m=Sc(o,0),b=Sc(i,0);(function(t,e,n){return t.left>n.right||t.left+e.width<n.left})(xc(p,e,g,m,b),p,d)||(u=1,r=g,o=m,i=b)}if(l.adjustY&&_c(f,p,d)){var v=kc(r,/[tb]/gi,{t:"b",b:"t"}),y=Sc(o,1),x=Sc(i,1);(function(t,e,n){return t.top>n.bottom||t.top+e.height<n.top})(xc(p,e,v,y,x),p,d)||(u=1,r=v,o=y,i=x)}u&&(f=xc(p,e,r,o,i),fc.mix(h,f));var w=wc(f,p,d),_=_c(f,p,d);if(w||_){var k=r;w&&(k=kc(r,/[lr]/gi,{l:"r",r:"l"})),_&&(k=kc(r,/[tb]/gi,{t:"b",b:"t"})),r=k,o=n.offset||[0,0],i=n.targetOffset||[0,0]}c.adjustX=l.adjustX&&w,c.adjustY=l.adjustY&&_,(c.adjustX||c.adjustY)&&(h=function(t,e,n,a){var r=fc.clone(t),o={width:e.width,height:e.height};return a.adjustX&&r.left<n.left&&(r.left=n.left),a.resizeWidth&&r.left>=n.left&&r.left+o.width>n.right&&(o.width-=r.left+o.width-n.right),a.adjustX&&r.left+o.width>n.right&&(r.left=Math.max(n.right-o.width,n.left)),a.adjustY&&r.top<n.top&&(r.top=n.top),a.resizeHeight&&r.top>=n.top&&r.top+o.height>n.bottom&&(o.height-=r.top+o.height-n.bottom),a.adjustY&&r.top+o.height>n.bottom&&(r.top=Math.max(n.bottom-o.height,n.top)),fc.mix(r,o)}(f,p,d,c))}return h.width!==p.width&&fc.css(s,"width",fc.width(s)+h.width-p.width),h.height!==p.height&&fc.css(s,"height",fc.height(s)+h.height-p.height),fc.offset(s,{left:h.left,top:h.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:r,offset:o,targetOffset:i,overflow:c}}function Ec(t,e,n){var a=n.target||e,r=vc(a),o=!function(t,e){var n=bc(t,e),a=vc(t);return!n||a.left+a.width<=n.left||a.top+a.height<=n.top||a.left>=n.right||a.top>=n.bottom}(a,n.overflow&&n.overflow.alwaysByViewport);return Oc(t,r,n,o)}Ec.__getOffsetParent=gc,Ec.__getVisibleRectForElement=bc;var Tc=function(t,e){return Qn(t,e)},Dc=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,a){return t[0]===e&&(n=a,!0)})),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),a=this.__entries__[n];return a&&a[1]},e.prototype.set=function(e,n){var a=t(this.__entries__,e);~a?this.__entries__[a][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,a=t(n,e);~a&&n.splice(a,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,a=this.__entries__;n<a.length;n++){var r=a[n];t.call(e,r[1],r[0])}},e}()}(),Ic="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,Pc="undefined"!=typeof global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),Nc="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(Pc):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)};var Ac=["top","right","bottom","left","width","height","size","weight"],zc="undefined"!=typeof MutationObserver,Rc=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,a=!1,r=0;function o(){n&&(n=!1,t()),a&&l()}function i(){Nc(o)}function l(){var t=Date.now();if(n){if(t-r<2)return;a=!0}else n=!0,a=!1,setTimeout(i,e);r=t}return l}(this.refresh.bind(this),20)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){Ic&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),zc?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){Ic&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e,a=Ac.some((function(t){return!!~n.indexOf(t)}));a&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),Lc=function(t,e){for(var n=0,a=Object.keys(e);n<a.length;n++){var r=a[n];Object.defineProperty(t,r,{value:e[r],enumerable:!1,writable:!1,configurable:!0})}return t},jc=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||Pc},Fc=Uc(0,0,0,0);function Bc(t){return parseFloat(t)||0}function Vc(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){return e+Bc(t["border-"+n+"-width"])}),0)}function Yc(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return Fc;var a=jc(t).getComputedStyle(t),r=function(t){for(var e={},n=0,a=["top","right","bottom","left"];n<a.length;n++){var r=a[n],o=t["padding-"+r];e[r]=Bc(o)}return e}(a),o=r.left+r.right,i=r.top+r.bottom,l=Bc(a.width),s=Bc(a.height);if("border-box"===a.boxSizing&&(Math.round(l+o)!==e&&(l-=Vc(a,"left","right")+o),Math.round(s+i)!==n&&(s-=Vc(a,"top","bottom")+i)),!function(t){return t===jc(t).document.documentElement}(t)){var c=Math.round(l+o)-e,u=Math.round(s+i)-n;1!==Math.abs(c)&&(l-=c),1!==Math.abs(u)&&(s-=u)}return Uc(r.left,r.top,l,s)}var Hc="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof jc(t).SVGGraphicsElement}:function(t){return t instanceof jc(t).SVGElement&&"function"==typeof t.getBBox};function Wc(t){return Ic?Hc(t)?function(t){var e=t.getBBox();return Uc(0,0,e.width,e.height)}(t):Yc(t):Fc}function Uc(t,e,n,a){return{x:t,y:e,width:n,height:a}}var Gc=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Uc(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=Wc(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),Kc=function(t,e){var n=function(t){var e=t.x,n=t.y,a=t.width,r=t.height,o="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,i=Object.create(o.prototype);return Lc(i,{x:e,y:n,width:a,height:r,top:n,right:e+a,bottom:r+n,left:e}),i}(e);Lc(this,{target:t,contentRect:n})},qc=function(){function t(t,e,n){if(this.activeObservations_=[],this.observations_=new Dc,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof jc(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new Gc(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof jc(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new Kc(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),Xc="undefined"!=typeof WeakMap?new WeakMap:new Dc,Zc=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=Rc.getInstance(),a=new qc(e,n,this);Xc.set(this,a)};["observe","unobserve","disconnect"].forEach((function(t){Zc.prototype[t]=function(){var e;return(e=Xc.get(this))[t].apply(e,arguments)}}));var Jc=void 0!==Pc.ResizeObserver?Pc.ResizeObserver:Zc;function $c(t,e){var n=null,a=null;var r=new Jc((function(t){var r=ji(t,1)[0].target;if(document.documentElement.contains(r)){var o=r.getBoundingClientRect(),i=o.width,l=o.height,s=Math.floor(i),c=Math.floor(l);n===s&&a===c||Promise.resolve().then((function(){e({width:s,height:c})})),n=s,a=c}}));return t&&r.observe(t),function(){r.disconnect()}}function Qc(t){return"function"!=typeof t?null:t()}function tu(t){return"object"===Fi(t)&&t?t:null}var eu=function(t,e){var n=t.children,a=t.disabled,r=t.target,o=t.align,l=t.onAlign,s=t.monitorWindowResize,c=t.monitorBufferTime,u=void 0===c?0:c,d=i.default.useRef({}),p=i.default.useRef(),f=i.default.Children.only(n),h=i.default.useRef({});h.current.disabled=a,h.current.target=r,h.current.align=o,h.current.onAlign=l;var g=function(t,e){var n=i.default.useRef(!1),a=i.default.useRef(null);function r(){window.clearTimeout(a.current)}return[function o(i){if(n.current&&!0!==i)r(),a.current=window.setTimeout((function(){n.current=!1,o()}),e);else{if(!1===t())return;n.current=!0,r(),a.current=window.setTimeout((function(){n.current=!1}),e)}},function(){n.current=!1,r()}]}((function(){var t=h.current,e=t.disabled,n=t.target,a=t.align,r=t.onAlign;if(!e&&n){var o,i=p.current,l=Qc(n),s=tu(n);d.current.element=l,d.current.point=s,d.current.align=a;var c=document.activeElement;return l&&Ts(l)?o=Ec(i,l,a):s&&(o=function(t,e,n){var a,r,o=fc.getDocument(t),i=o.defaultView||o.parentWindow,l=fc.getWindowScrollLeft(i),s=fc.getWindowScrollTop(i),c=fc.viewportWidth(i),u=fc.viewportHeight(i),d={left:a="pageX"in e?e.pageX:l+e.clientX,top:r="pageY"in e?e.pageY:s+e.clientY,width:0,height:0},p=a>=0&&a<=l+c&&r>=0&&r<=s+u,f=[n.points[0],"cc"];return Oc(t,d,Is(Is({},n),{},{points:f}),p)}(i,s,a)),function(t,e){t!==document.activeElement&&il(e,t)&&"function"==typeof t.focus&&t.focus()}(c,i),r&&o&&r(i,o),!0}return!1}),u),m=ji(g,2),b=m[0],v=m[1],y=i.default.useRef({cancel:function(){}}),x=i.default.useRef({cancel:function(){}});i.default.useEffect((function(){var t,e,n=Qc(r),a=tu(r);p.current!==x.current.element&&(x.current.cancel(),x.current.element=p.current,x.current.cancel=$c(p.current,b)),d.current.element===n&&((t=d.current.point)===(e=a)||t&&e&&("pageX"in e&&"pageY"in e?t.pageX===e.pageX&&t.pageY===e.pageY:"clientX"in e&&"clientY"in e&&t.clientX===e.clientX&&t.clientY===e.clientY))&&Tc(d.current.align,o)||(b(),y.current.element!==n&&(y.current.cancel(),y.current.element=n,y.current.cancel=$c(n,b)))})),i.default.useEffect((function(){a?v():b()}),[a]);var w=i.default.useRef(null);return i.default.useEffect((function(){s?w.current||(w.current=Al(window,"resize",b)):w.current&&(w.current.remove(),w.current=null)}),[s]),i.default.useEffect((function(){return function(){y.current.cancel(),x.current.cancel(),w.current&&w.current.remove(),v()}}),[]),i.default.useImperativeHandle(e,(function(){return{forceAlign:function(){return b(!0)}}})),i.default.isValidElement(f)&&(f=i.default.cloneElement(f,{ref:Pl(f.ref,p)})),f},nu=i.default.forwardRef(eu);nu.displayName="Align";var au=v((function(t){var e=function(t){var e,n=Object.prototype,a=n.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function c(t,e,n,a){var r=e&&e.prototype instanceof m?e:m,o=Object.create(r.prototype),i=new E(a||[]);return o._invoke=function(t,e,n){var a=d;return function(r,o){if(a===f)throw new Error("Generator is already running");if(a===h){if("throw"===r)throw o;return D()}for(n.method=r,n.arg=o;;){var i=n.delegate;if(i){var l=C(i,n);if(l){if(l===g)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===d)throw a=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=f;var s=u(t,e,n);if("normal"===s.type){if(a=n.done?h:p,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=h,n.method="throw",n.arg=s.arg)}}}(t,n,i),o}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var d="suspendedStart",p="suspendedYield",f="executing",h="completed",g={};function m(){}function b(){}function v(){}var y={};s(y,o,(function(){return this}));var x=Object.getPrototypeOf,w=x&&x(x(T([])));w&&w!==n&&a.call(w,o)&&(y=w);var _=v.prototype=m.prototype=Object.create(y);function k(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function n(r,o,i,l){var s=u(t[r],t,o);if("throw"!==s.type){var c=s.arg,d=c.value;return d&&"object"==typeof d&&a.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,i,l)}),(function(t){n("throw",t,i,l)})):e.resolve(d).then((function(t){c.value=t,i(c)}),(function(t){return n("throw",t,i,l)}))}l(s.arg)}var r;this._invoke=function(t,a){function o(){return new e((function(e,r){n(t,a,e,r)}))}return r=r?r.then(o,o):o()}}function C(t,n){var a=t.iterator[n.method];if(a===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method))return g;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var r=u(a,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,g;var o=r.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function M(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(M,this),this.reset(!0)}function T(t){if(t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function n(){for(;++r<t.length;)if(a.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}return{next:D}}function D(){return{value:e,done:!0}}return b.prototype=v,s(_,"constructor",v),s(v,"constructor",b),b.displayName=s(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,s(t,l,"GeneratorFunction")),t.prototype=Object.create(_),t},t.awrap=function(t){return{__await:t}},k(S.prototype),s(S.prototype,i,(function(){return this})),t.AsyncIterator=S,t.async=function(e,n,a,r,o){void 0===o&&(o=Promise);var i=new S(c(e,n,a,r),o);return t.isGeneratorFunction(n)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},k(_),s(_,l,"Generator"),s(_,o,(function(){return this})),s(_,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var a=e.pop();if(a in t)return n.value=a,n.done=!1,n}return n.done=!0,n}},t.values=T,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(O),!t)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(a,r){return l.type="throw",l.arg=t,n.next=a,r&&(n.method="next",n.arg=e),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],l=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=a.call(i,"catchLoc"),c=a.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),O(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var a=n.completion;if("throw"===a.type){var r=a.arg;O(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,a){return this.delegate={iterator:T(t),resultName:n,nextLoc:a},"next"===this.method&&(this.arg=e),g}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}})),ru=au;function ou(t,e,n,a,r,o,i){try{var l=t[o](i),s=l.value}catch(t){return void n(t)}l.done?e(s):Promise.resolve(s).then(a,r)}function iu(t){return function(){var e=this,n=arguments;return new Promise((function(a,r){var o=t.apply(e,n);function i(t){ou(o,a,r,i,l,"next",t)}function l(t){ou(o,a,r,i,l,"throw",t)}i(void 0)}))}}var lu=["measure","align",null,"motion"],su=l.forwardRef((function(e,n){var a=e.visible,r=e.prefixCls,o=e.className,i=e.style,s=e.children,c=e.zIndex,u=e.stretch,d=e.destroyPopupOnHide,p=e.forceRender,f=e.align,h=e.point,g=e.getRootDomNode,m=e.getClassNameFromAlign,b=e.onAlign,v=e.onMouseEnter,y=e.onMouseLeave,x=e.onMouseDown,w=e.onTouchStart,_=t.useRef(),k=t.useRef(),S=ji(t.useState(),2),C=S[0],M=S[1],O=function(t){var e=ji(l.useState({width:0,height:0}),2),n=e[0],a=e[1];return[l.useMemo((function(){var e={};if(t){var a=n.width,r=n.height;-1!==t.indexOf("height")&&r?e.height=r:-1!==t.indexOf("minHeight")&&r&&(e.minHeight=r),-1!==t.indexOf("width")&&a?e.width=a:-1!==t.indexOf("minWidth")&&a&&(e.minWidth=a)}return e}),[t,n]),function(t){a({width:t.offsetWidth,height:t.offsetHeight})}]}(u),E=ji(O,2),T=E[0],D=E[1];var I=function(e,n){var a=ji(t.useState(null),2),r=a[0],o=a[1],i=t.useRef(),l=t.useRef(!1);function s(t){l.current||o(t)}function c(){ol.cancel(i.current)}return t.useEffect((function(){s("measure")}),[e]),t.useEffect((function(){"measure"===r&&n(),r&&(i.current=ol(iu(ru.mark((function t(){var e,n;return ru.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=lu.indexOf(r),(n=lu[e+1])&&-1!==e&&s(n);case 3:case"end":return t.stop()}}),t)})))))}),[r]),t.useEffect((function(){return function(){l.current=!0,c()}}),[]),[r,function(t){c(),i.current=ol((function(){s((function(t){switch(r){case"align":return"motion";case"motion":return"stable"}return t})),null==t||t()}))}]}(a,(function(){u&&D(g())})),P=ji(I,2),N=P[0],A=P[1],z=t.useRef();function L(){var t;null===(t=_.current)||void 0===t||t.forceAlign()}function j(t,e){var n=m(e);C!==n&&M(n),"align"===N&&(C!==n?Promise.resolve().then((function(){L()})):A((function(){var t;null===(t=z.current)||void 0===t||t.call(z)})),null==b||b(t,e))}var F=Vi({},Ms(e));function B(){return new Promise((function(t){z.current=t}))}["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach((function(t){var e=F[t];F[t]=function(t,n){return A(),null==e?void 0:e(t,n)}})),l.useEffect((function(){F.motionName||"motion"!==N||A()}),[F.motionName,N]),l.useImperativeHandle(n,(function(){return{forceAlign:L,getElement:function(){return k.current}}}));var V=Vi(Vi({},T),{},{zIndex:c,opacity:"motion"!==N&&"stable"!==N&&a?0:void 0,pointerEvents:"stable"===N?void 0:"none"},i),Y=!0;!(null==f?void 0:f.points)||"align"!==N&&"stable"!==N||(Y=!1);var H=s;return l.Children.count(s)>1&&(H=l.createElement("div",{className:"".concat(r,"-content")},s)),l.createElement(ms,Pi({visible:a,ref:k,leavedClassName:"".concat(r,"-hidden")},F,{onAppearPrepare:B,onEnterPrepare:B,removeOnLeave:d,forceRender:p}),(function(t,e){var n=t.className,a=t.style,i=R(r,o,C,n);return l.createElement(nu,{target:h||g,key:"popup",ref:_,monitorWindowResize:!0,disabled:Y,align:f,onAlign:j},l.createElement("div",{ref:e,className:i,onMouseEnter:v,onMouseLeave:y,onMouseDownCapture:x,onTouchStartCapture:w,style:Vi(Vi({},a),V)},H))}))}));su.displayName="PopupInner";var cu=l.forwardRef((function(t,e){var n=t.prefixCls,a=t.visible,r=t.zIndex,o=t.children,i=t.mobile,s=(i=void 0===i?{}:i).popupClassName,c=i.popupStyle,u=i.popupMotion,d=void 0===u?{}:u,p=i.popupRender,f=l.useRef();l.useImperativeHandle(e,(function(){return{forceAlign:function(){},getElement:function(){return f.current}}}));var h=Vi({zIndex:r},c),g=o;return l.Children.count(o)>1&&(g=l.createElement("div",{className:"".concat(n,"-content")},o)),p&&(g=p(g)),l.createElement(ms,Pi({visible:a,ref:f,removeOnLeave:!0},d),(function(t,e){var a=t.className,r=t.style,o=R(n,s,a);return l.createElement("div",{ref:e,className:o,style:Vi(Vi({},r),h)},g)}))}));cu.displayName="MobilePopupInner";var uu=["visible","mobile"],du=l.forwardRef((function(e,n){var a=e.visible,r=e.mobile,o=Yi(e,uu),i=ji(t.useState(a),2),s=i[0],c=i[1],u=ji(t.useState(!1),2),d=u[0],p=u[1],f=Vi(Vi({},o),{},{visible:s});t.useEffect((function(){c(a),a&&r&&p(jl())}),[a,r]);var h=d?l.createElement(cu,Pi({},f,{mobile:r,ref:n})):l.createElement(su,Pi({},f,{ref:n}));return l.createElement("div",null,l.createElement(Os,f),h)}));du.displayName="Popup";var pu=l.createContext(null);function fu(){}function hu(){return""}function gu(t){return t?t.ownerDocument:window.document}var mu=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];var bu=function(t){var e=function(e){qi(a,e);var n=Qi(a);function a(t){var e,r;return Hi(this,a),(e=n.call(this,t)).popupRef=l.createRef(),e.triggerRef=l.createRef(),e.attachId=void 0,e.clickOutsideHandler=void 0,e.touchOutsideHandler=void 0,e.contextMenuOutsideHandler1=void 0,e.contextMenuOutsideHandler2=void 0,e.mouseDownTimeout=void 0,e.focusTime=void 0,e.preClickTime=void 0,e.preTouchTime=void 0,e.delayTimer=void 0,e.hasPopupMouseDown=void 0,e.onMouseEnter=function(t){var n=e.props.mouseEnterDelay;e.fireEvents("onMouseEnter",t),e.delaySetPopupVisible(!0,n,n?null:t)},e.onMouseMove=function(t){e.fireEvents("onMouseMove",t),e.setPoint(t)},e.onMouseLeave=function(t){e.fireEvents("onMouseLeave",t),e.delaySetPopupVisible(!1,e.props.mouseLeaveDelay)},e.onPopupMouseEnter=function(){e.clearDelayTimer()},e.onPopupMouseLeave=function(t){var n;t.relatedTarget&&!t.relatedTarget.setTimeout&&il(null===(n=e.popupRef.current)||void 0===n?void 0:n.getElement(),t.relatedTarget)||e.delaySetPopupVisible(!1,e.props.mouseLeaveDelay)},e.onFocus=function(t){e.fireEvents("onFocus",t),e.clearDelayTimer(),e.isFocusToShow()&&(e.focusTime=Date.now(),e.delaySetPopupVisible(!0,e.props.focusDelay))},e.onMouseDown=function(t){e.fireEvents("onMouseDown",t),e.preClickTime=Date.now()},e.onTouchStart=function(t){e.fireEvents("onTouchStart",t),e.preTouchTime=Date.now()},e.onBlur=function(t){e.fireEvents("onBlur",t),e.clearDelayTimer(),e.isBlurToHide()&&e.delaySetPopupVisible(!1,e.props.blurDelay)},e.onContextMenu=function(t){t.preventDefault(),e.fireEvents("onContextMenu",t),e.setPopupVisible(!0,t)},e.onContextMenuClose=function(){e.isContextMenuToShow()&&e.close()},e.onClick=function(t){if(e.fireEvents("onClick",t),e.focusTime){var n;if(e.preClickTime&&e.preTouchTime?n=Math.min(e.preClickTime,e.preTouchTime):e.preClickTime?n=e.preClickTime:e.preTouchTime&&(n=e.preTouchTime),Math.abs(n-e.focusTime)<20)return;e.focusTime=0}e.preClickTime=0,e.preTouchTime=0,e.isClickToShow()&&(e.isClickToHide()||e.isBlurToHide())&&t&&t.preventDefault&&t.preventDefault();var a=!e.state.popupVisible;(e.isClickToHide()&&!a||a&&e.isClickToShow())&&e.setPopupVisible(!e.state.popupVisible,t)},e.onPopupMouseDown=function(){var t;(e.hasPopupMouseDown=!0,clearTimeout(e.mouseDownTimeout),e.mouseDownTimeout=window.setTimeout((function(){e.hasPopupMouseDown=!1}),0),e.context)&&(t=e.context).onPopupMouseDown.apply(t,arguments)},e.onDocumentClick=function(t){if(!e.props.mask||e.props.maskClosable){var n=t.target,a=e.getRootDomNode(),r=e.getPopupDomNode();il(a,n)&&!e.isContextMenuOnly()||il(r,n)||e.hasPopupMouseDown||e.close()}},e.getRootDomNode=function(){var t=e.props.getTriggerDOMNode;if(t)return t(e.triggerRef.current);try{var n=ll(e.triggerRef.current);if(n)return n}catch(t){}return c.default.findDOMNode(Gi(e))},e.getPopupClassNameFromAlign=function(t){var n=[],a=e.props,r=a.popupPlacement,o=a.builtinPlacements,i=a.prefixCls,l=a.alignPoint,s=a.getPopupClassNameFromAlign;return r&&o&&n.push(function(t,e,n,a){for(var r=n.points,o=Object.keys(t),i=0;i<o.length;i+=1){var l=o[i];if(Ll(t[l].points,r,a))return"".concat(e,"-placement-").concat(l)}return""}(o,i,t,l)),s&&n.push(s(t)),n.join(" ")},e.getComponent=function(){var t=e.props,n=t.prefixCls,a=t.destroyPopupOnHide,r=t.popupClassName,o=t.onPopupAlign,i=t.popupMotion,s=t.popupAnimation,c=t.popupTransitionName,u=t.popupStyle,d=t.mask,p=t.maskAnimation,f=t.maskTransitionName,h=t.maskMotion,g=t.zIndex,m=t.popup,b=t.stretch,v=t.alignPoint,y=t.mobile,x=t.forceRender,w=e.state,_=w.popupVisible,k=w.point,S=e.getPopupAlign(),C={};return e.isMouseEnterToShow()&&(C.onMouseEnter=e.onPopupMouseEnter),e.isMouseLeaveToHide()&&(C.onMouseLeave=e.onPopupMouseLeave),C.onMouseDown=e.onPopupMouseDown,C.onTouchStart=e.onPopupMouseDown,l.createElement(du,Pi({prefixCls:n,destroyPopupOnHide:a,visible:_,point:v&&k,className:r,align:S,onAlign:o,animation:s,getClassNameFromAlign:e.getPopupClassNameFromAlign},C,{stretch:b,getRootDomNode:e.getRootDomNode,style:u,mask:d,zIndex:g,transitionName:c,maskAnimation:p,maskTransitionName:f,maskMotion:h,ref:e.popupRef,motion:i,mobile:y,forceRender:x}),"function"==typeof m?m():m)},e.attachParent=function(t){ol.cancel(e.attachId);var n,a=e.props,r=a.getPopupContainer,o=a.getDocument,i=e.getRootDomNode();r?(i||0===r.length)&&(n=r(i)):n=o(e.getRootDomNode()).body,n?n.appendChild(t):e.attachId=ol((function(){e.attachParent(t)}))},e.getContainer=function(){var t=(0,e.props.getDocument)(e.getRootDomNode()).createElement("div");return t.style.position="absolute",t.style.top="0",t.style.left="0",t.style.width="100%",e.attachParent(t),t},e.setPoint=function(t){e.props.alignPoint&&t&&e.setState({point:{pageX:t.pageX,pageY:t.pageY}})},e.handlePortalUpdate=function(){e.state.prevPopupVisible!==e.state.popupVisible&&e.props.afterPopupVisibleChange(e.state.popupVisible)},e.triggerContextValue={onPopupMouseDown:e.onPopupMouseDown},r="popupVisible"in t?!!t.popupVisible:!!t.defaultPopupVisible,e.state={prevPopupVisible:r,popupVisible:r},mu.forEach((function(t){e["fire".concat(t)]=function(n){e.fireEvents(t,n)}})),e}return Ui(a,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var t,e=this.props;if(this.state.popupVisible)return this.clickOutsideHandler||!this.isClickToHide()&&!this.isContextMenuToShow()||(t=e.getDocument(this.getRootDomNode()),this.clickOutsideHandler=Al(t,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(t=t||e.getDocument(this.getRootDomNode()),this.touchOutsideHandler=Al(t,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(t=t||e.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=Al(t,"scroll",this.onContextMenuClose)),void(!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Al(window,"blur",this.onContextMenuClose)));this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),ol.cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var t;return(null===(t=this.popupRef.current)||void 0===t?void 0:t.getElement())||null}},{key:"getPopupAlign",value:function(){var t=this.props,e=t.popupPlacement,n=t.popupAlign,a=t.builtinPlacements;return e&&a?function(t,e,n){return Vi(Vi({},t[e]||{}),n)}(a,e,n):n}},{key:"setPopupVisible",value:function(t,e){var n=this.props.alignPoint,a=this.state.popupVisible;this.clearDelayTimer(),a!==t&&("popupVisible"in this.props||this.setState({popupVisible:t,prevPopupVisible:a}),this.props.onPopupVisibleChange(t)),n&&e&&t&&this.setPoint(e)}},{key:"delaySetPopupVisible",value:function(t,e,n){var a=this,r=1e3*e;if(this.clearDelayTimer(),r){var o=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=window.setTimeout((function(){a.setPopupVisible(t,o),a.clearDelayTimer()}),r)}else this.setPopupVisible(t,n)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(t){var e=this.props.children.props,n=this.props;return e[t]&&n[t]?this["fire".concat(t)]:e[t]||n[t]}},{key:"isClickToShow",value:function(){var t=this.props,e=t.action,n=t.showAction;return-1!==e.indexOf("click")||-1!==n.indexOf("click")}},{key:"isContextMenuOnly",value:function(){var t=this.props.action;return"contextMenu"===t||1===t.length&&"contextMenu"===t[0]}},{key:"isContextMenuToShow",value:function(){var t=this.props,e=t.action,n=t.showAction;return-1!==e.indexOf("contextMenu")||-1!==n.indexOf("contextMenu")}},{key:"isClickToHide",value:function(){var t=this.props,e=t.action,n=t.hideAction;return-1!==e.indexOf("click")||-1!==n.indexOf("click")}},{key:"isMouseEnterToShow",value:function(){var t=this.props,e=t.action,n=t.showAction;return-1!==e.indexOf("hover")||-1!==n.indexOf("mouseEnter")}},{key:"isMouseLeaveToHide",value:function(){var t=this.props,e=t.action,n=t.hideAction;return-1!==e.indexOf("hover")||-1!==n.indexOf("mouseLeave")}},{key:"isFocusToShow",value:function(){var t=this.props,e=t.action,n=t.showAction;return-1!==e.indexOf("focus")||-1!==n.indexOf("focus")}},{key:"isBlurToHide",value:function(){var t=this.props,e=t.action,n=t.hideAction;return-1!==e.indexOf("focus")||-1!==n.indexOf("blur")}},{key:"forcePopupAlign",value:function(){var t;this.state.popupVisible&&(null===(t=this.popupRef.current)||void 0===t||t.forceAlign())}},{key:"fireEvents",value:function(t,e){var n=this.props.children.props[t];n&&n(e);var a=this.props[t];a&&a(e)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var e=this.state.popupVisible,n=this.props,a=n.children,r=n.forceRender,o=n.alignPoint,i=n.className,s=n.autoDestroy,c=l.Children.only(a),u={key:"trigger"};this.isContextMenuToShow()?u.onContextMenu=this.onContextMenu:u.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(u.onClick=this.onClick,u.onMouseDown=this.onMouseDown,u.onTouchStart=this.onTouchStart):(u.onClick=this.createTwoChains("onClick"),u.onMouseDown=this.createTwoChains("onMouseDown"),u.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(u.onMouseEnter=this.onMouseEnter,o&&(u.onMouseMove=this.onMouseMove)):u.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?u.onMouseLeave=this.onMouseLeave:u.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(u.onFocus=this.onFocus,u.onBlur=this.onBlur):(u.onFocus=this.createTwoChains("onFocus"),u.onBlur=this.createTwoChains("onBlur"));var d=R(c&&c.props&&c.props.className,i);d&&(u.className=d);var p=Vi({},u);Nl(c)&&(p.ref=Pl(this.triggerRef,c.ref));var f,h=l.cloneElement(c,p);return(e||this.popupRef.current||r)&&(f=l.createElement(t,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!e&&s&&(f=null),l.createElement(pu.Provider,{value:this.triggerContextValue},h,f)}}],[{key:"getDerivedStateFromProps",value:function(t,e){var n=t.popupVisible,a={};return void 0!==n&&e.popupVisible!==n&&(a.popupVisible=n,a.prevPopupVisible=e.popupVisible),a}}]),a}(l.Component);return e.contextType=pu,e.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:hu,getDocument:gu,onPopupVisibleChange:fu,afterPopupVisibleChange:fu,onPopupAlign:fu,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},e}(Rl),vu={adjustX:1,adjustY:1},yu=[0,0],xu={left:{points:["cr","cl"],overflow:vu,offset:[-4,0],targetOffset:yu},right:{points:["cl","cr"],overflow:vu,offset:[4,0],targetOffset:yu},top:{points:["bc","tc"],overflow:vu,offset:[0,-4],targetOffset:yu},bottom:{points:["tc","bc"],overflow:vu,offset:[0,4],targetOffset:yu},topLeft:{points:["bl","tl"],overflow:vu,offset:[0,-4],targetOffset:yu},leftTop:{points:["tr","tl"],overflow:vu,offset:[-4,0],targetOffset:yu},topRight:{points:["br","tr"],overflow:vu,offset:[0,-4],targetOffset:yu},rightTop:{points:["tl","tr"],overflow:vu,offset:[4,0],targetOffset:yu},bottomRight:{points:["tr","br"],overflow:vu,offset:[0,4],targetOffset:yu},rightBottom:{points:["bl","br"],overflow:vu,offset:[4,0],targetOffset:yu},bottomLeft:{points:["tl","bl"],overflow:vu,offset:[0,4],targetOffset:yu},leftBottom:{points:["br","bl"],overflow:vu,offset:[-4,0],targetOffset:yu}},wu=function(t){var e=t.overlay,n=t.prefixCls,a=t.id,r=t.overlayInnerStyle;return l.createElement("div",{className:"".concat(n,"-inner"),id:a,role:"tooltip",style:r},"function"==typeof e?e():e)},_u=function(e,n){var a=e.overlayClassName,r=e.trigger,o=void 0===r?["hover"]:r,i=e.mouseEnterDelay,s=void 0===i?0:i,c=e.mouseLeaveDelay,u=void 0===c?.1:c,d=e.overlayStyle,p=e.prefixCls,f=void 0===p?"rc-tooltip":p,h=e.children,g=e.onVisibleChange,m=e.afterVisibleChange,b=e.transitionName,v=e.animation,y=e.motion,x=e.placement,w=void 0===x?"right":x,_=e.align,k=void 0===_?{}:_,S=e.destroyTooltipOnHide,C=void 0!==S&&S,M=e.defaultVisible,O=e.getTooltipContainer,E=e.overlayInnerStyle,T=Yi(e,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),D=t.useRef(null);t.useImperativeHandle(n,(function(){return D.current}));var I=Vi({},T);"visible"in e&&(I.popupVisible=e.visible);var P=!1,N=!1;if("boolean"==typeof C)P=C;else if(C&&"object"===Fi(C)){var A=C.keepParent;P=!0===A,N=!1===A}return l.createElement(bu,Pi({popupClassName:a,prefixCls:f,popup:function(){var t=e.arrowContent,n=void 0===t?null:t,a=e.overlay,r=e.id;return[l.createElement("div",{className:"".concat(f,"-arrow"),key:"arrow"},n),l.createElement(wu,{key:"content",prefixCls:f,id:r,overlay:a,overlayInnerStyle:E})]},action:o,builtinPlacements:xu,popupPlacement:w,ref:D,popupAlign:k,getPopupContainer:O,onPopupVisibleChange:g,afterPopupVisibleChange:m,popupTransitionName:b,popupAnimation:v,popupMotion:y,defaultPopupVisible:M,destroyPopupOnHide:P,autoDestroy:N,mouseLeaveDelay:u,popupStyle:d,mouseEnterDelay:s},I),h)},ku=t.forwardRef(_u);function Su(t,e){var n=e||{},a=n.defaultValue,r=n.value,o=n.onChange,i=n.postState,s=ji(l.useState((function(){return void 0!==r?r:void 0!==a?"function"==typeof a?a():a:"function"==typeof t?t():t})),2),c=s[0],u=s[1],d=void 0!==r?r:c;i&&(d=i(d));var p=l.useRef(!0);return l.useEffect((function(){p.current?p.current=!1:void 0===r&&u(r)}),[r]),[d,function(t){u(t),d!==t&&o&&o(t,d)}]}var Cu={adjustX:1,adjustY:1},Mu={adjustX:0,adjustY:0},Ou=[0,0];function Eu(t){return"boolean"==typeof t?t?Cu:Mu:Pi(Pi({},Mu),t)}var Tu=l.isValidElement;function Du(t,e){return function(t,e,n){return Tu(t)?l.cloneElement(t,"function"==typeof n?n(t.props||{}):n):e}(t,t,e)}var Iu=t.createContext({});function Pu(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function Nu(t){return function(t){if(Array.isArray(t))return zi(t)}(t)||Pu(t)||Ri(t)||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 Au(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[];return i.default.Children.forEach(t,(function(t){(null!=t||e.keepEmpty)&&(Array.isArray(t)?n=n.concat(Au(t)):Dl.isFragment(t)&&t.props?n=n.concat(Au(t.props.children,e)):n.push(t))})),n}var zu={};function Ru(t,e){}function Lu(t,e){}function ju(t,e,n){e||zu[n]||(t(!1,n),zu[n]=!0)}function Fu(t,e){ju(Ru,t,e)}function Bu(t,e){ju(Lu,t,e)}var Vu="RC_FORM_INTERNAL_HOOKS",Yu=function(){Fu(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},Hu=l.createContext({getFieldValue:Yu,getFieldsValue:Yu,getFieldError:Yu,getFieldsError:Yu,isFieldsTouched:Yu,isFieldTouched:Yu,isFieldValidating:Yu,isFieldsValidating:Yu,resetFields:Yu,setFields:Yu,setFieldsValue:Yu,validateFields:Yu,submit:Yu,getInternalHooks:function(){return Yu(),{dispatch:Yu,initEntityValue:Yu,registerField:Yu,useSubscribe:Yu,setInitialValues:Yu,setCallbacks:Yu,getFields:Yu,setValidateMessages:Yu,setPreserve:Yu}}});function Wu(t){return null==t?[]:Array.isArray(t)?t:[t]}function Uu(){return Uu=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},Uu.apply(this,arguments)}function Gu(t){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Gu(t)}function Ku(t,e){return Ku=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Ku(t,e)}function qu(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function Xu(t,e,n){return Xu=qu()?Reflect.construct:function(t,e,n){var a=[null];a.push.apply(a,e);var r=new(Function.bind.apply(t,a));return n&&Ku(r,n.prototype),r},Xu.apply(null,arguments)}function Zu(t){var e="function"==typeof Map?new Map:void 0;return Zu=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,a)}function a(){return Xu(t,arguments,Gu(this).constructor)}return a.prototype=Object.create(t.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Ku(a,t)},Zu(t)}var Ju=/%[sdj%]/g,$u=function(){};function Qu(t){if(!t||!t.length)return null;var e={};return t.forEach((function(t){var n=t.field;e[n]=e[n]||[],e[n].push(t)})),e}function td(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var a=1,r=e[0],o=e.length;if("function"==typeof r)return r.apply(null,e.slice(1));if("string"==typeof r){var i=String(r).replace(Ju,(function(t){if("%%"===t)return"%";if(a>=o)return t;switch(t){case"%s":return String(e[a++]);case"%d":return Number(e[a++]);case"%j":try{return JSON.stringify(e[a++])}catch(t){return"[Circular]"}break;default:return t}}));return i}return r}function ed(t,e){return null==t||(!("array"!==e||!Array.isArray(t)||t.length)||!(!function(t){return"string"===t||"url"===t||"hex"===t||"email"===t||"date"===t||"pattern"===t}(e)||"string"!=typeof t||t))}function nd(t,e,n){var a=0,r=t.length;!function o(i){if(i&&i.length)n(i);else{var l=a;a+=1,l<r?e(t[l],o):n([])}}([])}"undefined"!=typeof process&&process.env;var ad=function(t){var e,n;function a(e,n){var a;return(a=t.call(this,"Async Validation Error")||this).errors=e,a.fields=n,a}return n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,Ku(e,n),a}(Zu(Error));function rd(t,e,n,a){if(e.first){var r=new Promise((function(e,r){var o=function(t){var e=[];return Object.keys(t).forEach((function(n){e.push.apply(e,t[n])})),e}(t);nd(o,n,(function(t){return a(t),t.length?r(new ad(t,Qu(t))):e()}))}));return r.catch((function(t){return t})),r}var o=e.firstFields||[];!0===o&&(o=Object.keys(t));var i=Object.keys(t),l=i.length,s=0,c=[],u=new Promise((function(e,r){var u=function(t){if(c.push.apply(c,t),++s===l)return a(c),c.length?r(new ad(c,Qu(c))):e()};i.length||(a(c),e()),i.forEach((function(e){var a=t[e];-1!==o.indexOf(e)?nd(a,n,u):function(t,e,n){var a=[],r=0,o=t.length;function i(t){a.push.apply(a,t),++r===o&&n(a)}t.forEach((function(t){e(t,i)}))}(a,n,u)}))}));return u.catch((function(t){return t})),u}function od(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:"function"==typeof e?e():e,field:e.field||t.fullField}}}function id(t,e){if(e)for(var n in e)if(e.hasOwnProperty(n)){var a=e[n];"object"==typeof a&&"object"==typeof t[n]?t[n]=Uu({},t[n],a):t[n]=a}return t}function ld(t,e,n,a,r,o){!t.required||n.hasOwnProperty(t.field)&&!ed(e,o||t.type)||a.push(td(r.messages.required,t.fullField))}var sd={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},cd={integer:function(t){return cd.number(t)&&parseInt(t,10)===t},float:function(t){return cd.number(t)&&!cd.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(t){return!1}},date:function(t){return"function"==typeof t.getTime&&"function"==typeof t.getMonth&&"function"==typeof t.getYear&&!isNaN(t.getTime())},number:function(t){return!isNaN(t)&&"number"==typeof t},object:function(t){return"object"==typeof t&&!cd.array(t)},method:function(t){return"function"==typeof t},email:function(t){return"string"==typeof t&&!!t.match(sd.email)&&t.length<255},url:function(t){return"string"==typeof t&&!!t.match(sd.url)},hex:function(t){return"string"==typeof t&&!!t.match(sd.hex)}};var ud={required:ld,whitespace:function(t,e,n,a,r){(/^\s+$/.test(e)||""===e)&&a.push(td(r.messages.whitespace,t.fullField))},type:function(t,e,n,a,r){if(t.required&&void 0===e)ld(t,e,n,a,r);else{var o=t.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(o)>-1?cd[o](e)||a.push(td(r.messages.types[o],t.fullField,t.type)):o&&typeof e!==t.type&&a.push(td(r.messages.types[o],t.fullField,t.type))}},range:function(t,e,n,a,r){var o="number"==typeof t.len,i="number"==typeof t.min,l="number"==typeof t.max,s=e,c=null,u="number"==typeof e,d="string"==typeof e,p=Array.isArray(e);if(u?c="number":d?c="string":p&&(c="array"),!c)return!1;p&&(s=e.length),d&&(s=e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),o?s!==t.len&&a.push(td(r.messages[c].len,t.fullField,t.len)):i&&!l&&s<t.min?a.push(td(r.messages[c].min,t.fullField,t.min)):l&&!i&&s>t.max?a.push(td(r.messages[c].max,t.fullField,t.max)):i&&l&&(s<t.min||s>t.max)&&a.push(td(r.messages[c].range,t.fullField,t.min,t.max))},enum:function(t,e,n,a,r){t.enum=Array.isArray(t.enum)?t.enum:[],-1===t.enum.indexOf(e)&&a.push(td(r.messages.enum,t.fullField,t.enum.join(", ")))},pattern:function(t,e,n,a,r){if(t.pattern)if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||a.push(td(r.messages.pattern.mismatch,t.fullField,e,t.pattern));else if("string"==typeof t.pattern){new RegExp(t.pattern).test(e)||a.push(td(r.messages.pattern.mismatch,t.fullField,e,t.pattern))}}};function dd(t,e,n,a,r){var o=t.type,i=[];if(t.required||!t.required&&a.hasOwnProperty(t.field)){if(ed(e,o)&&!t.required)return n();ud.required(t,e,a,i,r,o),ed(e,o)||ud.type(t,e,a,i,r)}n(i)}var pd={string:function(t,e,n,a,r){var o=[];if(t.required||!t.required&&a.hasOwnProperty(t.field)){if(ed(e,"string")&&!t.required)return n();ud.required(t,e,a,o,r,"string"),ed(e,"string")||(ud.type(t,e,a,o,r),ud.range(t,e,a,o,r),ud.pattern(t,e,a,o,r),!0===t.whitespace&&ud.whitespace(t,e,a,o,r))}n(o)},method:function(t,e,n,a,r){var o=[];if(t.required||!t.required&&a.hasOwnProperty(t.field)){if(ed(e)&&!t.required)return n();ud.required(t,e,a,o,r),void 0!==e&&ud.type(t,e,a,o,r)}n(o)},number:function(t,e,n,a,r){var o=[];if(t.required||!t.required&&a.hasOwnProperty(t.field)){if(""===e&&(e=void 0),ed(e)&&!t.required)return n();ud.required(t,e,a,o,r),void 0!==e&&(ud.type(t,e,a,o,r),ud.range(t,e,a,o,r))}n(o)},boolean:function(t,e,n,a,r){var o=[];if(t.required||!t.required&&a.hasOwnProperty(t.field)){if(ed(e)&&!t.required)return n();ud.required(t,e,a,o,r),void 0!==e&&ud.type(t,e,a,o,r)}n(o)},regexp:function(t,e,n,a,r){var o=[];if(t.required||!t.required&&a.hasOwnProperty(t.field)){if(ed(e)&&!t.required)return n();ud.required(t,e,a,o,r),ed(e)||ud.type(t,e,a,o,r)}n(o)},integer:function(t,e,n,a,r){var o=[];if(t.required||!t.required&&a.hasOwnProperty(t.field)){if(ed(e)&&!t.required)return n();ud.required(t,e,a,o,r),void 0!==e&&(ud.type(t,e,a,o,r),ud.range(t,e,a,o,r))}n(o)},float:function(t,e,n,a,r){var o=[];if(t.required||!t.required&&a.hasOwnProperty(t.field)){if(ed(e)&&!t.required)return n();ud.required(t,e,a,o,r),void 0!==e&&(ud.type(t,e,a,o,r),ud.range(t,e,a,o,r))}n(o)},array:function(t,e,n,a,r){var o=[];if(t.required||!t.required&&a.hasOwnProperty(t.field)){if(null==e&&!t.required)return n();ud.required(t,e,a,o,r,"array"),null!=e&&(ud.type(t,e,a,o,r),ud.range(t,e,a,o,r))}n(o)},object:function(t,e,n,a,r){var o=[];if(t.required||!t.required&&a.hasOwnProperty(t.field)){if(ed(e)&&!t.required)return n();ud.required(t,e,a,o,r),void 0!==e&&ud.type(t,e,a,o,r)}n(o)},enum:function(t,e,n,a,r){var o=[];if(t.required||!t.required&&a.hasOwnProperty(t.field)){if(ed(e)&&!t.required)return n();ud.required(t,e,a,o,r),void 0!==e&&ud.enum(t,e,a,o,r)}n(o)},pattern:function(t,e,n,a,r){var o=[];if(t.required||!t.required&&a.hasOwnProperty(t.field)){if(ed(e,"string")&&!t.required)return n();ud.required(t,e,a,o,r),ed(e,"string")||ud.pattern(t,e,a,o,r)}n(o)},date:function(t,e,n,a,r){var o=[];if(t.required||!t.required&&a.hasOwnProperty(t.field)){if(ed(e,"date")&&!t.required)return n();var i;if(ud.required(t,e,a,o,r),!ed(e,"date"))i=e instanceof Date?e:new Date(e),ud.type(t,i,a,o,r),i&&ud.range(t,i.getTime(),a,o,r)}n(o)},url:dd,hex:dd,email:dd,required:function(t,e,n,a,r){var o=[],i=Array.isArray(e)?"array":typeof e;ud.required(t,e,a,o,r,i),n(o)},any:function(t,e,n,a,r){var o=[];if(t.required||!t.required&&a.hasOwnProperty(t.field)){if(ed(e)&&!t.required)return n();ud.required(t,e,a,o,r)}n(o)}};function fd(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var hd=fd();function gd(t){this.rules=null,this._messages=hd,this.define(t)}function md(t,e){for(var n=t,a=0;a<e.length;a+=1){if(null==n)return;n=n[e[a]]}return n}function bd(t){return Ai(t)||Pu(t)||Ri(t)||Li()}function vd(t,e,n,a){if(!e.length)return n;var r,o=bd(e),i=o[0],l=o.slice(1);return r=t||"number"!=typeof i?Array.isArray(t)?Nu(t):Vi({},t):[],a&&void 0===n&&1===l.length?delete r[i][l[0]]:r[i]=vd(r[i],l,n,a),r}function yd(t,e,n){var a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return e.length&&a&&void 0===n&&!md(t,e.slice(0,-1))?t:vd(t,e,n,a)}function xd(t){return Wu(t)}function wd(t,e){return md(t,e)}function _d(t,e,n){var a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=yd(t,e,n,a);return r}function kd(t,e){var n={};return e.forEach((function(e){var a=wd(t,e);n=_d(n,e,a)})),n}function Sd(t,e){return t&&t.some((function(t){return Ed(t,e)}))}function Cd(t){return"object"===Fi(t)&&null!==t&&Object.getPrototypeOf(t)===Object.prototype}function Md(t,e){var n=Array.isArray(t)?Nu(t):Vi({},t);return e?(Object.keys(e).forEach((function(t){var a=n[t],r=e[t],o=Cd(a)&&Cd(r);n[t]=o?Md(a,r||{}):r})),n):n}function Od(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),a=1;a<e;a++)n[a-1]=arguments[a];return n.reduce((function(t,e){return Md(t,e)}),t)}function Ed(t,e){return!(!t||!e||t.length!==e.length)&&t.every((function(t,n){return e[n]===t}))}function Td(t){var e=arguments.length<=1?void 0:arguments[1];return e&&e.target&&t in e.target?e.target[t]:e}function Dd(t,e,n){var a=t.length;if(e<0||e>=a||n<0||n>=a)return t;var r=t[e],o=e-n;return o>0?[].concat(Nu(t.slice(0,n)),[r],Nu(t.slice(n,e)),Nu(t.slice(e+1,a))):o<0?[].concat(Nu(t.slice(0,e)),Nu(t.slice(e+1,n+1)),[r],Nu(t.slice(n+1,a))):t}gd.prototype={messages:function(t){return t&&(this._messages=id(fd(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if("object"!=typeof t||Array.isArray(t))throw new Error("Rules must be an object");var e,n;for(e in this.rules={},t)t.hasOwnProperty(e)&&(n=t[e],this.rules[e]=Array.isArray(n)?n:[n])},validate:function(t,e,n){var a=this;void 0===e&&(e={}),void 0===n&&(n=function(){});var r,o,i=t,l=e,s=n;if("function"==typeof l&&(s=l,l={}),!this.rules||0===Object.keys(this.rules).length)return s&&s(),Promise.resolve();if(l.messages){var c=this.messages();c===hd&&(c=fd()),id(c,l.messages),l.messages=c}else l.messages=this.messages();var u={};(l.keys||Object.keys(this.rules)).forEach((function(e){r=a.rules[e],o=i[e],r.forEach((function(n){var r=n;"function"==typeof r.transform&&(i===t&&(i=Uu({},i)),o=i[e]=r.transform(o)),(r="function"==typeof r?{validator:r}:Uu({},r)).validator=a.getValidationMethod(r),r.field=e,r.fullField=r.fullField||e,r.type=a.getType(r),r.validator&&(u[e]=u[e]||[],u[e].push({rule:r,value:o,source:i,field:e}))}))}));var d={};return rd(u,l,(function(t,e){var n,a=t.rule,r=!("object"!==a.type&&"array"!==a.type||"object"!=typeof a.fields&&"object"!=typeof a.defaultField);function o(t,e){return Uu({},e,{fullField:a.fullField+"."+t})}function i(n){void 0===n&&(n=[]);var i=n;if(Array.isArray(i)||(i=[i]),!l.suppressWarning&&i.length&&gd.warning("async-validator:",i),i.length&&void 0!==a.message&&(i=[].concat(a.message)),i=i.map(od(a)),l.first&&i.length)return d[a.field]=1,e(i);if(r){if(a.required&&!t.value)return void 0!==a.message?i=[].concat(a.message).map(od(a)):l.error&&(i=[l.error(a,td(l.messages.required,a.field))]),e(i);var s={};if(a.defaultField)for(var c in t.value)t.value.hasOwnProperty(c)&&(s[c]=a.defaultField);for(var u in s=Uu({},s,t.rule.fields))if(s.hasOwnProperty(u)){var p=Array.isArray(s[u])?s[u]:[s[u]];s[u]=p.map(o.bind(null,u))}var f=new gd(s);f.messages(l.messages),t.rule.options&&(t.rule.options.messages=l.messages,t.rule.options.error=l.error),f.validate(t.value,t.rule.options||l,(function(t){var n=[];i&&i.length&&n.push.apply(n,i),t&&t.length&&n.push.apply(n,t),e(n.length?n:null)}))}else e(i)}r=r&&(a.required||!a.required&&t.value),a.field=t.field,a.asyncValidator?n=a.asyncValidator(a,t.value,i,t.source,l):a.validator&&(!0===(n=a.validator(a,t.value,i,t.source,l))?i():!1===n?i(a.message||a.field+" fails"):n instanceof Array?i(n):n instanceof Error&&i(n.message)),n&&n.then&&n.then((function(){return i()}),(function(t){return i(t)}))}),(function(t){!function(t){var e,n=[],a={};function r(t){var e;Array.isArray(t)?n=(e=n).concat.apply(e,t):n.push(t)}for(e=0;e<t.length;e++)r(t[e]);n.length?a=Qu(n):(n=null,a=null),s(n,a)}(t)}))},getType:function(t){if(void 0===t.type&&t.pattern instanceof RegExp&&(t.type="pattern"),"function"!=typeof t.validator&&t.type&&!pd.hasOwnProperty(t.type))throw new Error(td("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if("function"==typeof t.validator)return t.validator;var e=Object.keys(t),n=e.indexOf("message");return-1!==n&&e.splice(n,1),1===e.length&&"required"===e[0]?pd.required:pd[this.getType(t)]||!1}},gd.register=function(t,e){if("function"!=typeof e)throw new Error("Cannot register a validator by type, validator is not a function");pd[t]=e},gd.warning=$u,gd.messages=hd,gd.validators=pd;var Id="'${name}' is not a valid ${type}",Pd={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:Id,method:Id,array:Id,object:Id,number:Id,date:Id,boolean:Id,integer:Id,float:Id,regexp:Id,email:Id,url:Id,hex:Id},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},Nd=gd;function Ad(t,e,n,a){var r=Vi(Vi({},n),{},{name:e,enum:(n.enum||[]).join(", ")}),o=function(t,e){return function(){return function(t,e){return t.replace(/\$\{\w+\}/g,(function(t){var n=t.slice(2,-1);return e[n]}))}(t,Vi(Vi({},r),e))}};return function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).forEach((function(r){var i=e[r];"string"==typeof i?n[r]=o(i,a):i&&"object"===Fi(i)?(n[r]={},t(i,n[r])):n[r]=i})),n}(Od({},Pd,t))}function zd(t,e,n,a,r){return Rd.apply(this,arguments)}function Rd(){return Rd=iu(ru.mark((function t(e,n,a,r,o){var i,s,c,u,d,p;return ru.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=Vi({},a),s=null,i&&"array"===i.type&&i.defaultField&&(s=i.defaultField,delete i.defaultField),c=new Nd(Ni({},e,[i])),u=Ad(r.validateMessages,e,i,o),c.messages(u),d=[],t.prev=7,t.next=10,Promise.resolve(c.validate(Ni({},e,n),Vi({},r)));case 10:t.next=15;break;case 12:t.prev=12,t.t0=t.catch(7),t.t0.errors?d=t.t0.errors.map((function(t,e){var n=t.message;return l.isValidElement(n)?l.cloneElement(n,{key:"error_".concat(e)}):n})):(console.error(t.t0),d=[u.default()]);case 15:if(d.length||!s){t.next=20;break}return t.next=18,Promise.all(n.map((function(t,n){return zd("".concat(e,".").concat(n),t,s,r,o)})));case 18:return p=t.sent,t.abrupt("return",p.reduce((function(t,e){return[].concat(Nu(t),Nu(e))}),[]));case 20:return t.abrupt("return",d);case 21:case"end":return t.stop()}}),t,null,[[7,12]])}))),Rd.apply(this,arguments)}function Ld(t,e,n,a,r,o){var i,l=t.join("."),s=n.map((function(t){var e=t.validator;return e?Vi(Vi({},t),{},{validator:function(t,n,a){var r=!1,o=e(t,n,(function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];Promise.resolve().then((function(){Fu(!r,"Your validator function has already return a promise. `callback` will be ignored."),r||a.apply(void 0,e)}))}));Fu(r=o&&"function"==typeof o.then&&"function"==typeof o.catch,"`callback` is deprecated. Please return a promise instead."),r&&o.then((function(){a()})).catch((function(t){a(t||" ")}))}}):t}));if(!0===r)i=new Promise(function(){var t=iu(ru.mark((function t(n,r){var i,c;return ru.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:i=0;case 1:if(!(i<s.length)){t.next=11;break}return t.next=4,zd(l,e,s[i],a,o);case 4:if(!(c=t.sent).length){t.next=8;break}return r(c),t.abrupt("return");case 8:i+=1,t.next=1;break;case 11:n([]);case 12:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}());else{var c=s.map((function(t){return zd(l,e,t,a,o)}));i=(r?function(t){return Fd.apply(this,arguments)}(c):function(t){return jd.apply(this,arguments)}(c)).then((function(t){return t.length?Promise.reject(t):[]}))}return i.catch((function(t){return t})),i}function jd(){return(jd=iu(ru.mark((function t(e){return ru.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.all(e).then((function(t){var e;return(e=[]).concat.apply(e,Nu(t))})));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Fd(){return Fd=iu(ru.mark((function t(e){var n;return ru.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=0,t.abrupt("return",new Promise((function(t){e.forEach((function(a){a.then((function(a){a.length&&t(a),(n+=1)===e.length&&t([])}))}))})));case 2:case"end":return t.stop()}}),t)}))),Fd.apply(this,arguments)}function Bd(t,e,n,a,r,o){return"function"==typeof t?t(e,n,"source"in o?{source:o.source}:{}):a!==r}var Vd=function(t){qi(n,t);var e=Qi(n);function n(t){var a;(Hi(this,n),(a=e.call(this,t)).state={resetCount:0},a.cancelRegisterFunc=null,a.mounted=!1,a.touched=!1,a.dirty=!1,a.validatePromise=null,a.errors=[],a.cancelRegister=function(){var t=a.props,e=t.preserve,n=t.isListField,r=t.name;a.cancelRegisterFunc&&a.cancelRegisterFunc(n,e,xd(r)),a.cancelRegisterFunc=null},a.getNamePath=function(){var t=a.props,e=t.name,n=t.fieldContext.prefixName;return void 0!==e?[].concat(Nu(void 0===n?[]:n),Nu(e)):[]},a.getRules=function(){var t=a.props,e=t.rules,n=void 0===e?[]:e,r=t.fieldContext;return n.map((function(t){return"function"==typeof t?t(r):t}))},a.refresh=function(){a.mounted&&a.setState((function(t){return{resetCount:t.resetCount+1}}))},a.onStoreChange=function(t,e,n){var r=a.props,o=r.shouldUpdate,i=r.dependencies,l=void 0===i?[]:i,s=r.onReset,c=n.store,u=a.getNamePath(),d=a.getValue(t),p=a.getValue(c),f=e&&Sd(e,u);switch("valueUpdate"===n.type&&"external"===n.source&&d!==p&&(a.touched=!0,a.dirty=!0,a.validatePromise=null,a.errors=[]),n.type){case"reset":if(!e||f)return a.touched=!1,a.dirty=!1,a.validatePromise=null,a.errors=[],s&&s(),void a.refresh();break;case"setField":if(f){var h=n.data;return"touched"in h&&(a.touched=h.touched),"validating"in h&&!("originRCField"in h)&&(a.validatePromise=h.validating?Promise.resolve([]):null),"errors"in h&&(a.errors=h.errors||[]),a.dirty=!0,void a.reRender()}if(o&&!u.length&&Bd(o,t,c,d,p,n))return void a.reRender();break;case"dependenciesUpdate":if(l.map(xd).some((function(t){return Sd(n.relatedFields,t)})))return void a.reRender();break;default:if(f||(!l.length||u.length||o)&&Bd(o,t,c,d,p,n))return void a.reRender()}!0===o&&a.reRender()},a.validateRules=function(t){var e=a.getNamePath(),n=a.getValue(),r=Promise.resolve().then((function(){if(!a.mounted)return[];var o=a.props,i=o.validateFirst,l=void 0!==i&&i,s=o.messageVariables,c=(t||{}).triggerName,u=a.getRules();c&&(u=u.filter((function(t){var e=t.validateTrigger;return!e||Wu(e).includes(c)})));var d=Ld(e,n,u,t,l,s);return d.catch((function(t){return t})).then((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];a.validatePromise===r&&(a.validatePromise=null,a.errors=t,a.reRender())})),d}));return a.validatePromise=r,a.dirty=!0,a.errors=[],a.reRender(),r},a.isFieldValidating=function(){return!!a.validatePromise},a.isFieldTouched=function(){return a.touched},a.isFieldDirty=function(){return a.dirty},a.getErrors=function(){return a.errors},a.isListField=function(){return a.props.isListField},a.isList=function(){return a.props.isList},a.isPreserve=function(){return a.props.preserve},a.getMeta=function(){return a.prevValidating=a.isFieldValidating(),{touched:a.isFieldTouched(),validating:a.prevValidating,errors:a.errors,name:a.getNamePath()}},a.getOnlyChild=function(t){if("function"==typeof t){var e=a.getMeta();return Vi(Vi({},a.getOnlyChild(t(a.getControlled(),e,a.props.fieldContext))),{},{isFunction:!0})}var n=Au(t);return 1===n.length&&l.isValidElement(n[0])?{child:n[0],isFunction:!1}:{child:n,isFunction:!1}},a.getValue=function(t){var e=a.props.fieldContext.getFieldsValue,n=a.getNamePath();return wd(t||e(!0),n)},a.getControlled=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=a.props,n=e.trigger,r=e.validateTrigger,o=e.getValueFromEvent,i=e.normalize,l=e.valuePropName,s=e.getValueProps,c=e.fieldContext,u=void 0!==r?r:c.validateTrigger,d=a.getNamePath(),p=c.getInternalHooks,f=c.getFieldsValue,h=p(Vu),g=h.dispatch,m=a.getValue(),b=s||function(t){return Ni({},l,t)},v=t[n],y=Vi(Vi({},t),b(m));y[n]=function(){var t;a.touched=!0,a.dirty=!0;for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t=o?o.apply(void 0,n):Td.apply(void 0,[l].concat(n)),i&&(t=i(t,m,f(!0))),g({type:"updateValue",namePath:d,value:t}),v&&v.apply(void 0,n)};var x=Wu(u||[]);return x.forEach((function(t){var e=y[t];y[t]=function(){e&&e.apply(void 0,arguments);var n=a.props.rules;n&&n.length&&g({type:"validateField",namePath:d,triggerName:t})}})),y},t.fieldContext)&&(0,(0,t.fieldContext.getInternalHooks)(Vu).initEntityValue)(Gi(a));return a}return Ui(n,[{key:"componentDidMount",value:function(){var t=this.props,e=t.shouldUpdate,n=t.fieldContext;if(this.mounted=!0,n){var a=(0,n.getInternalHooks)(Vu).registerField;this.cancelRegisterFunc=a(this)}!0===e&&this.reRender()}},{key:"componentWillUnmount",value:function(){this.cancelRegister(),this.mounted=!1}},{key:"reRender",value:function(){this.mounted&&this.forceUpdate()}},{key:"render",value:function(){var t,e=this.state.resetCount,n=this.props.children,a=this.getOnlyChild(n),r=a.child;return a.isFunction?t=r:l.isValidElement(r)?t=l.cloneElement(r,this.getControlled(r.props)):(Fu(!r,"`children` of Field is not validate ReactElement."),t=r),l.createElement(l.Fragment,{key:e},t)}}]),n}(l.Component);function Yd(t){var e=t.name,n=Yi(t,["name"]),a=l.useContext(Hu),r=void 0!==e?xd(e):void 0,o="keep";return n.isListField||(o="_".concat((r||[]).join("_"))),l.createElement(Vd,Pi({key:o,name:r},n,{fieldContext:a}))}Vd.contextType=Hu,Vd.defaultProps={trigger:"onChange",valuePropName:"value"};var Hd="__@field_split__";function Wd(t){return t.map((function(t){return"".concat(Fi(t),":").concat(t)})).join(Hd)}var Ud=function(){function t(){Hi(this,t),this.kvs=new Map}return Ui(t,[{key:"set",value:function(t,e){this.kvs.set(Wd(t),e)}},{key:"get",value:function(t){return this.kvs.get(Wd(t))}},{key:"update",value:function(t,e){var n=e(this.get(t));n?this.set(t,n):this.delete(t)}},{key:"delete",value:function(t){this.kvs.delete(Wd(t))}},{key:"map",value:function(t){return Nu(this.kvs.entries()).map((function(e){var n=ji(e,2),a=n[0],r=n[1],o=a.split(Hd);return t({key:o.map((function(t){var e=ji(t.match(/^([^:]*):(.*)$/),3),n=e[1],a=e[2];return"number"===n?Number(a):a})),value:r})}))}},{key:"toJSON",value:function(){var t={};return this.map((function(e){var n=e.key,a=e.value;return t[n.join(".")]=a,null})),t}}]),t}(),Gd=function t(e){var n=this;Hi(this,t),this.formHooked=!1,this.subscribable=!0,this.store={},this.fieldEntities=[],this.initialValues={},this.callbacks={},this.validateMessages=null,this.preserve=null,this.lastValidatePromise=null,this.getForm=function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,getInternalHooks:n.getInternalHooks}},this.getInternalHooks=function(t){return t===Vu?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve}):(Fu(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)},this.useSubscribe=function(t){n.subscribable=t},this.setInitialValues=function(t,e){n.initialValues=t||{},e&&(n.store=Od({},t,n.store))},this.getInitialValue=function(t){return wd(n.initialValues,t)},this.setCallbacks=function(t){n.callbacks=t},this.setValidateMessages=function(t){n.validateMessages=t},this.setPreserve=function(t){n.preserve=t},this.timeoutId=null,this.warningUnhooked=function(){},this.getFieldEntities=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t?n.fieldEntities.filter((function(t){return t.getNamePath().length})):n.fieldEntities},this.getFieldsMap=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=new Ud;return n.getFieldEntities(t).forEach((function(t){var n=t.getNamePath();e.set(n,t)})),e},this.getFieldEntitiesForNamePathList=function(t){if(!t)return n.getFieldEntities(!0);var e=n.getFieldsMap(!0);return t.map((function(t){var n=xd(t);return e.get(n)||{INVALIDATE_NAME_PATH:xd(t)}}))},this.getFieldsValue=function(t,e){if(n.warningUnhooked(),!0===t&&!e)return n.store;var a=n.getFieldEntitiesForNamePathList(Array.isArray(t)?t:null),r=[];return a.forEach((function(n){var a,o="INVALIDATE_NAME_PATH"in n?n.INVALIDATE_NAME_PATH:n.getNamePath();if(t||!(null===(a=n.isListField)||void 0===a?void 0:a.call(n)))if(e){var i="getMeta"in n?n.getMeta():null;e(i)&&r.push(o)}else r.push(o)})),kd(n.store,r.map(xd))},this.getFieldValue=function(t){n.warningUnhooked();var e=xd(t);return wd(n.store,e)},this.getFieldsError=function(t){return n.warningUnhooked(),n.getFieldEntitiesForNamePathList(t).map((function(e,n){return e&&!("INVALIDATE_NAME_PATH"in e)?{name:e.getNamePath(),errors:e.getErrors()}:{name:xd(t[n]),errors:[]}}))},this.getFieldError=function(t){n.warningUnhooked();var e=xd(t);return n.getFieldsError([e])[0].errors},this.isFieldsTouched=function(){n.warningUnhooked();for(var t=arguments.length,e=new Array(t),a=0;a<t;a++)e[a]=arguments[a];var r,o=e[0],i=e[1],l=!1;0===e.length?r=null:1===e.length?Array.isArray(o)?(r=o.map(xd),l=!1):(r=null,l=o):(r=o.map(xd),l=i);var s=n.getFieldEntities(!0),c=function(t){return t.isFieldTouched()};if(!r)return l?s.every(c):s.some(c);var u=new Ud;r.forEach((function(t){u.set(t,[])})),s.forEach((function(t){var e=t.getNamePath();r.forEach((function(n){n.every((function(t,n){return e[n]===t}))&&u.update(n,(function(e){return[].concat(Nu(e),[t])}))}))}));var d=function(t){return t.some(c)},p=u.map((function(t){return t.value}));return l?p.every(d):p.some(d)},this.isFieldTouched=function(t){return n.warningUnhooked(),n.isFieldsTouched([t])},this.isFieldsValidating=function(t){n.warningUnhooked();var e=n.getFieldEntities();if(!t)return e.some((function(t){return t.isFieldValidating()}));var a=t.map(xd);return e.some((function(t){var e=t.getNamePath();return Sd(a,e)&&t.isFieldValidating()}))},this.isFieldValidating=function(t){return n.warningUnhooked(),n.isFieldsValidating([t])},this.resetWithFieldInitialValue=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=new Ud,a=n.getFieldEntities(!0);a.forEach((function(t){var n=t.props.initialValue,a=t.getNamePath();if(void 0!==n){var r=e.get(a)||new Set;r.add({entity:t,value:n}),e.set(a,r)}}));var r,o=function(a){a.forEach((function(a){if(void 0!==a.props.initialValue){var r=a.getNamePath();if(void 0!==n.getInitialValue(r))Fu(!1,"Form already set 'initialValues' with path '".concat(r.join("."),"'. Field can not overwrite it."));else{var o=e.get(r);if(o&&o.size>1)Fu(!1,"Multiple Field with path '".concat(r.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(o){var i=n.getFieldValue(r);t.skipExist&&void 0!==i||(n.store=_d(n.store,r,Nu(o)[0].value))}}}}))};t.entities?r=t.entities:t.namePathList?(r=[],t.namePathList.forEach((function(t){var n,a=e.get(t);a&&(n=r).push.apply(n,Nu(Nu(a).map((function(t){return t.entity}))))}))):r=a,o(r)},this.resetFields=function(t){n.warningUnhooked();var e=n.store;if(!t)return n.store=Od({},n.initialValues),n.resetWithFieldInitialValue(),void n.notifyObservers(e,null,{type:"reset"});var a=t.map(xd);a.forEach((function(t){var e=n.getInitialValue(t);n.store=_d(n.store,t,e)})),n.resetWithFieldInitialValue({namePathList:a}),n.notifyObservers(e,a,{type:"reset"})},this.setFields=function(t){n.warningUnhooked();var e=n.store;t.forEach((function(t){var a=t.name;t.errors;var r=Yi(t,["name","errors"]),o=xd(a);"value"in r&&(n.store=_d(n.store,o,r.value)),n.notifyObservers(e,[o],{type:"setField",data:t})}))},this.getFields=function(){return n.getFieldEntities(!0).map((function(t){var e=t.getNamePath(),a=Vi(Vi({},t.getMeta()),{},{name:e,value:n.getFieldValue(e)});return Object.defineProperty(a,"originRCField",{value:!0}),a}))},this.initEntityValue=function(t){var e=t.props.initialValue;if(void 0!==e){var a=t.getNamePath();void 0===wd(n.store,a)&&(n.store=_d(n.store,a,e))}},this.registerField=function(t){if(n.fieldEntities.push(t),void 0!==t.props.initialValue){var e=n.store;n.resetWithFieldInitialValue({entities:[t],skipExist:!0}),n.notifyObservers(e,[t.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(e,a){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];n.fieldEntities=n.fieldEntities.filter((function(e){return e!==t}));var o=void 0!==a?a:n.preserve;if(!1===o&&(!e||r.length>1)){var i=t.getNamePath(),l=e?void 0:wd(n.initialValues,i);i.length&&n.getFieldValue(i)!==l&&n.fieldEntities.every((function(t){return!Ed(t.getNamePath(),i)}))&&(n.store=_d(n.store,i,l,!0))}}},this.dispatch=function(t){switch(t.type){case"updateValue":var e=t.namePath,a=t.value;n.updateValue(e,a);break;case"validateField":var r=t.namePath,o=t.triggerName;n.validateFields([r],{triggerName:o})}},this.notifyObservers=function(t,e,a){if(n.subscribable){var r=Vi(Vi({},a),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach((function(n){(0,n.onStoreChange)(t,e,r)}))}else n.forceRootUpdate()},this.updateValue=function(t,e){var a=xd(t),r=n.store;n.store=_d(n.store,a,e),n.notifyObservers(r,[a],{type:"valueUpdate",source:"internal"});var o=n.getDependencyChildrenFields(a);o.length&&n.validateFields(o),n.notifyObservers(r,o,{type:"dependenciesUpdate",relatedFields:[a].concat(Nu(o))});var i=n.callbacks.onValuesChange;i&&i(kd(n.store,[a]),n.getFieldsValue());n.triggerOnFieldsChange([a].concat(Nu(o)))},this.setFieldsValue=function(t){n.warningUnhooked();var e=n.store;t&&(n.store=Od(n.store,t)),n.notifyObservers(e,null,{type:"valueUpdate",source:"external"})},this.getDependencyChildrenFields=function(t){var e=new Set,a=[],r=new Ud;n.getFieldEntities().forEach((function(t){(t.props.dependencies||[]).forEach((function(e){var n=xd(e);r.update(n,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return e.add(t),e}))}))}));return function t(n){(r.get(n)||new Set).forEach((function(n){if(!e.has(n)){e.add(n);var r=n.getNamePath();n.isFieldDirty()&&r.length&&(a.push(r),t(r))}}))}(t),a},this.triggerOnFieldsChange=function(t,e){var a=n.callbacks.onFieldsChange;if(a){var r=n.getFields();if(e){var o=new Ud;e.forEach((function(t){var e=t.name,n=t.errors;o.set(e,n)})),r.forEach((function(t){t.errors=o.get(t.name)||t.errors}))}a(r.filter((function(e){var n=e.name;return Sd(t,n)})),r)}},this.validateFields=function(t,e){n.warningUnhooked();var a=!!t,r=a?t.map(xd):[],o=[];n.getFieldEntities(!0).forEach((function(i){if(a||r.push(i.getNamePath()),(null==e?void 0:e.recursive)&&a){var l=i.getNamePath();l.every((function(e,n){return t[n]===e||void 0===t[n]}))&&r.push(l)}if(i.props.rules&&i.props.rules.length){var s=i.getNamePath();if(!a||Sd(r,s)){var c=i.validateRules(Vi({validateMessages:Vi(Vi({},Pd),n.validateMessages)},e));o.push(c.then((function(){return{name:s,errors:[]}})).catch((function(t){return Promise.reject({name:s,errors:t})})))}}}));var i=function(t){var e=!1,n=t.length,a=[];return t.length?new Promise((function(r,o){t.forEach((function(t,i){t.catch((function(t){return e=!0,t})).then((function(t){n-=1,a[i]=t,n>0||(e&&o(a),r(a))}))}))})):Promise.resolve([])}(o);n.lastValidatePromise=i,i.catch((function(t){return t})).then((function(t){var e=t.map((function(t){return t.name}));n.notifyObservers(n.store,e,{type:"validateFinish"}),n.triggerOnFieldsChange(e,t)}));var l=i.then((function(){return n.lastValidatePromise===i?Promise.resolve(n.getFieldsValue(r)):Promise.reject([])})).catch((function(t){var e=t.filter((function(t){return t&&t.errors.length}));return Promise.reject({values:n.getFieldsValue(r),errorFields:e,outOfDate:n.lastValidatePromise!==i})}));return l.catch((function(t){return t})),l},this.submit=function(){n.warningUnhooked(),n.validateFields().then((function(t){var e=n.callbacks.onFinish;if(e)try{e(t)}catch(t){console.error(t)}})).catch((function(t){var e=n.callbacks.onFinishFailed;e&&e(t)}))},this.forceRootUpdate=e};function Kd(t){var e=l.useRef(),n=ji(l.useState({}),2)[1];if(!e.current)if(t)e.current=t;else{var a=new Gd((function(){n({})}));e.current=a.getForm()}return[e.current]}var qd=l.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),Xd=function(t){var e=t.validateMessages,n=t.onFormChange,a=t.onFormFinish,r=t.children,o=l.useContext(qd),i=l.useRef({});return l.createElement(qd.Provider,{value:Vi(Vi({},o),{},{validateMessages:Vi(Vi({},o.validateMessages),e),triggerFormChange:function(t,e){n&&n(t,{changedFields:e,forms:i.current}),o.triggerFormChange(t,e)},triggerFormFinish:function(t,e){a&&a(t,{values:e,forms:i.current}),o.triggerFormFinish(t,e)},registerForm:function(t,e){t&&(i.current=Vi(Vi({},i.current),{},Ni({},t,e))),o.registerForm(t,e)},unregisterForm:function(t){var e=Vi({},i.current);delete e[t],i.current=e,o.unregisterForm(t)}})},r)},Zd=function(t,e){var n=t.name,a=t.initialValues,r=t.fields,o=t.form,i=t.preserve,s=t.children,c=t.component,u=void 0===c?"form":c,d=t.validateMessages,p=t.validateTrigger,f=void 0===p?"onChange":p,h=t.onValuesChange,g=t.onFieldsChange,m=t.onFinish,b=t.onFinishFailed,v=Yi(t,["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"]),y=l.useContext(qd),x=ji(Kd(o),1)[0],w=x.getInternalHooks(Vu),_=w.useSubscribe,k=w.setInitialValues,S=w.setCallbacks,C=w.setValidateMessages,M=w.setPreserve;l.useImperativeHandle(e,(function(){return x})),l.useEffect((function(){return y.registerForm(n,x),function(){y.unregisterForm(n)}}),[y,x,n]),C(Vi(Vi({},y.validateMessages),d)),S({onValuesChange:h,onFieldsChange:function(t){if(y.triggerFormChange(n,t),g){for(var e=arguments.length,a=new Array(e>1?e-1:0),r=1;r<e;r++)a[r-1]=arguments[r];g.apply(void 0,[t].concat(a))}},onFinish:function(t){y.triggerFormFinish(n,t),m&&m(t)},onFinishFailed:b}),M(i);var O=l.useRef(null);k(a,!O.current),O.current||(O.current=!0);var E=s,T="function"==typeof s;T&&(E=s(x.getFieldsValue(!0),x));_(!T);var D=l.useRef();l.useEffect((function(){(function(t,e){if(t===e)return!0;if(!t&&e||t&&!e)return!1;if(!t||!e||"object"!==Fi(t)||"object"!==Fi(e))return!1;var n=Object.keys(t),a=Object.keys(e),r=new Set([].concat(Nu(n),Nu(a)));return Nu(r).every((function(n){var a=t[n],r=e[n];return"function"==typeof a&&"function"==typeof r||a===r}))})(D.current||[],r||[])||x.setFields(r||[]),D.current=r}),[r,x]);var I=l.useMemo((function(){return Vi(Vi({},x),{},{validateTrigger:f})}),[x,f]),P=l.createElement(Hu.Provider,{value:I},E);return!1===u?P:l.createElement(u,Pi({},v,{onSubmit:function(t){t.preventDefault(),t.stopPropagation(),x.submit()},onReset:function(t){var e;t.preventDefault(),x.resetFields(),null===(e=v.onReset)||void 0===e||e.call(v,t)}}),P)},Jd=l.forwardRef(Zd);function $d(t,e,n){var a=l.useRef({});return"value"in a.current&&!n(a.current.condition,e)||(a.current.value=t(),a.current.condition=e),a.current.value}Jd.FormProvider=Xd,Jd.Field=Yd,Jd.List=function(t){var e=t.name,n=t.initialValue,a=t.children,r=t.rules,o=t.validateTrigger,i=l.useContext(Hu),s=l.useRef({keys:[],id:0}).current;if("function"!=typeof a)return Fu(!1,"Form.List only accepts function as children."),null;var c=xd(i.prefixName)||[],u=[].concat(Nu(c),Nu(xd(e)));return l.createElement(Hu.Provider,{value:Vi(Vi({},i),{},{prefixName:u})},l.createElement(Yd,{name:[],shouldUpdate:function(t,e,n){return"internal"!==n.source&&t!==e},rules:r,validateTrigger:o,initialValue:n,isList:!0},(function(t,e){var n=t.value,r=void 0===n?[]:n,o=t.onChange,l=i.getFieldValue,c=function(){return l(u||[])||[]},d={add:function(t,e){var n=c();e>=0&&e<=n.length?(s.keys=[].concat(Nu(s.keys.slice(0,e)),[s.id],Nu(s.keys.slice(e))),o([].concat(Nu(n.slice(0,e)),[t],Nu(n.slice(e))))):(s.keys=[].concat(Nu(s.keys),[s.id]),o([].concat(Nu(n),[t]))),s.id+=1},remove:function(t){var e=c(),n=new Set(Array.isArray(t)?t:[t]);n.size<=0||(s.keys=s.keys.filter((function(t,e){return!n.has(e)})),o(e.filter((function(t,e){return!n.has(e)}))))},move:function(t,e){if(t!==e){var n=c();t<0||t>=n.length||e<0||e>=n.length||(s.keys=Dd(s.keys,t,e),o(Dd(n,t,e)))}}},p=r||[];return Array.isArray(p)||(p=[]),a(p.map((function(t,e){var n=s.keys[e];return void 0===n&&(s.keys[e]=s.id,n=s.keys[e],s.id+=1),{name:e,key:n,isListField:!0}})),d,e)})))},Jd.useForm=Kd;var Qd=function(t,e,n){Fu(t,"[antd: ".concat(e,"] ").concat(n))},tp={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages"},ep={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},np={lang:Pi({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}),timePickerLocale:Pi({},ep)},ap="${label} is not a valid ${type}",rp={locale:"en",Pagination:tp,DatePicker:np,TimePicker:ep,Calendar:np,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:ap,method:ap,array:ap,object:ap,number:ap,date:ap,boolean:ap,integer:ap,float:ap,regexp:ap,email:ap,url:ap,hex:ap},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"}},op=Pi({},rp.Modal);function ip(t){op=t?Pi(Pi({},op),t):Pi({},rp.Modal)}var lp=t.createContext(void 0),sp="internalMark",cp=function(t){qi(n,t);var e=Qi(n);function n(t){var a;return Hi(this,n),a=e.call(this,t),ip(t.locale&&t.locale.Modal),Qd(t._ANT_MARK__===sp,"LocaleProvider","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale"),a}return Ui(n,[{key:"componentDidMount",value:function(){ip(this.props.locale&&this.props.locale.Modal)}},{key:"componentDidUpdate",value:function(t){var e=this.props.locale;t.locale!==e&&ip(e&&e.Modal)}},{key:"componentWillUnmount",value:function(){ip()}},{key:"render",value:function(){var t=this.props,e=t.locale,n=t.children;return l.createElement(lp.Provider,{value:Pi(Pi({},e),{exist:!0})},n)}}]),n}(l.Component);cp.defaultProps={locale:{}};var up=function(t){qi(n,t);var e=Qi(n);function n(){return Hi(this,n),e.apply(this,arguments)}return Ui(n,[{key:"getLocale",value:function(){var t=this.props,e=t.componentName,n=t.defaultLocale||rp[null!=e?e:"global"],a=this.context,r=e&&a?a[e]:{};return Pi(Pi({},n instanceof Function?n():n),r||{})}},{key:"getLocaleCode",value:function(){var t=this.context,e=t&&t.locale;return t&&t.exist&&!e?rp.locale:e}},{key:"render",value:function(){return this.props.children(this.getLocale(),this.getLocaleCode(),this.context)}}]),n}(l.Component);up.defaultProps={componentName:"global"},up.contextType=lp;var dp=function(){var t=(0,l.useContext(yp).getPrefixCls)("empty-img-default");return l.createElement("svg",{className:t,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},l.createElement("g",{fill:"none",fillRule:"evenodd"},l.createElement("g",{transform:"translate(24 31.67)"},l.createElement("ellipse",{className:"".concat(t,"-ellipse"),cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),l.createElement("path",{className:"".concat(t,"-path-1"),d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z"}),l.createElement("path",{className:"".concat(t,"-path-2"),d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",transform:"translate(13.56)"}),l.createElement("path",{className:"".concat(t,"-path-3"),d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z"}),l.createElement("path",{className:"".concat(t,"-path-4"),d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z"})),l.createElement("path",{className:"".concat(t,"-path-5"),d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z"}),l.createElement("g",{className:"".concat(t,"-g"),transform:"translate(149.65 15.383)"},l.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),l.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},pp=function(){var t=(0,l.useContext(yp).getPrefixCls)("empty-img-simple");return l.createElement("svg",{className:t,width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},l.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},l.createElement("ellipse",{className:"".concat(t,"-ellipse"),cx:"32",cy:"33",rx:"32",ry:"7"}),l.createElement("g",{className:"".concat(t,"-g"),fillRule:"nonzero"},l.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),l.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",className:"".concat(t,"-path")}))))},fp=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n},hp=l.createElement(dp,null),gp=l.createElement(pp,null),mp=function(t){var e=t.className,n=t.prefixCls,a=t.image,r=void 0===a?hp:a,o=t.description,i=t.children,s=t.imageStyle,c=fp(t,["className","prefixCls","image","description","children","imageStyle"]),u=l.useContext(yp),d=u.getPrefixCls,p=u.direction;return l.createElement(up,{componentName:"Empty"},(function(t){var a,u=d("empty",n),f=void 0!==o?o:t.description,h="string"==typeof f?f:"empty",g=null;return g="string"==typeof r?l.createElement("img",{alt:h,src:r}):r,l.createElement("div",Pi({className:R(u,(a={},Ni(a,"".concat(u,"-normal"),r===gp),Ni(a,"".concat(u,"-rtl"),"rtl"===p),a),e)},c),l.createElement("div",{className:"".concat(u,"-image"),style:s},g),f&&l.createElement("div",{className:"".concat(u,"-description")},f),i&&l.createElement("div",{className:"".concat(u,"-footer")},i))}))};mp.PRESENTED_IMAGE_DEFAULT=hp,mp.PRESENTED_IMAGE_SIMPLE=gp;var bp=mp,vp=function(t){return l.createElement(xp,null,(function(e){var n=(0,e.getPrefixCls)("empty");switch(t){case"Table":case"List":return l.createElement(bp,{image:bp.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return l.createElement(bp,{image:bp.PRESENTED_IMAGE_SIMPLE,className:"".concat(n,"-small")});default:return l.createElement(bp,null)}}))},yp=l.createContext({getPrefixCls:function(t,e){return e||(t?"ant-".concat(t):"ant")},renderEmpty:vp}),xp=yp.Consumer,wp=l.createContext(void 0),_p=function(t){var e=t.children,n=t.size;return l.createElement(wp.Consumer,null,(function(t){return l.createElement(wp.Provider,{value:n||t},e)}))},kp=wp,Sp=function(t){qi(n,t);var e=Qi(n);function n(){var t;Hi(this,n);for(var a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))).closeTimer=null,t.close=function(e){e&&e.stopPropagation(),t.clearCloseTimer();var n=t.props,a=n.onClose,r=n.noticeKey;a&&a(r)},t.startCloseTimer=function(){t.props.duration&&(t.closeTimer=window.setTimeout((function(){t.close()}),1e3*t.props.duration))},t.clearCloseTimer=function(){t.closeTimer&&(clearTimeout(t.closeTimer),t.closeTimer=null)},t}return Ui(n,[{key:"componentDidMount",value:function(){this.startCloseTimer()}},{key:"componentDidUpdate",value:function(t){(this.props.duration!==t.duration||this.props.updateMark!==t.updateMark||this.props.visible!==t.visible&&this.props.visible)&&this.restartCloseTimer()}},{key:"componentWillUnmount",value:function(){this.clearCloseTimer()}},{key:"restartCloseTimer",value:function(){this.clearCloseTimer(),this.startCloseTimer()}},{key:"render",value:function(){var t=this,e=this.props,n=e.prefixCls,a=e.className,r=e.closable,o=e.closeIcon,i=e.style,s=e.onClick,u=e.children,d=e.holder,p="".concat(n,"-notice"),f=Object.keys(this.props).reduce((function(e,n){return"data-"!==n.substr(0,5)&&"aria-"!==n.substr(0,5)&&"role"!==n||(e[n]=t.props[n]),e}),{}),h=l.createElement("div",Pi({className:R(p,a,Ni({},"".concat(p,"-closable"),r)),style:i,onMouseEnter:this.clearCloseTimer,onMouseLeave:this.startCloseTimer,onClick:s},f),l.createElement("div",{className:"".concat(p,"-content")},u),r?l.createElement("a",{tabIndex:0,onClick:this.close,className:"".concat(p,"-close")},o||l.createElement("span",{className:"".concat(p,"-close-x")})):null);return d?c.default.createPortal(h,d):h}}]),n}(t.Component);function Cp(t){var e=l.useRef({}),n=ji(l.useState([]),2),a=n[0],r=n[1];return[function(n){var a=!0;t.add(n,(function(t,n){var o=n.key;if(t&&(!e.current[o]||a)){var i=l.createElement(Sp,Pi({},n,{holder:t}));e.current[o]=i,r((function(t){var e=t.findIndex((function(t){return t.key===n.key}));if(-1===e)return[].concat(Nu(t),[i]);var a=Nu(t);return a[e]=i,a}))}a=!1}))},l.createElement(l.Fragment,null,a)]}Sp.defaultProps={onClose:function(){},duration:1.5};var Mp=0,Op=Date.now();function Ep(){var t=Mp;return Mp+=1,"rcNotification_".concat(Op,"_").concat(t)}var Tp=function(t){qi(n,t);var e=Qi(n);function n(){var t;Hi(this,n);for(var a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))).state={notices:[]},t.hookRefs=new Map,t.add=function(e,n){var a=e.key||Ep(),r=Vi(Vi({},e),{},{key:a}),o=t.props.maxCount;t.setState((function(t){var e=t.notices,i=e.map((function(t){return t.notice.key})).indexOf(a),l=e.concat();return-1!==i?l.splice(i,1,{notice:r,holderCallback:n}):(o&&e.length>=o&&(r.key=l[0].notice.key,r.updateMark=Ep(),r.userPassKey=a,l.shift()),l.push({notice:r,holderCallback:n})),{notices:l}}))},t.remove=function(e){t.setState((function(t){return{notices:t.notices.filter((function(t){var n=t.notice,a=n.key;return(n.userPassKey||a)!==e}))}}))},t.noticePropsMap={},t}return Ui(n,[{key:"getTransitionName",value:function(){var t=this.props,e=t.prefixCls,n=t.animation,a=this.props.transitionName;return!a&&n&&(a="".concat(e,"-").concat(n)),a}},{key:"render",value:function(){var t=this,e=this.state.notices,n=this.props,a=n.prefixCls,r=n.className,o=n.closeIcon,i=n.style,s=[];return e.forEach((function(n,r){var i=n.notice,l=n.holderCallback,c=r===e.length-1?i.updateMark:void 0,u=i.key,d=i.userPassKey,p=Vi(Vi(Vi({prefixCls:a,closeIcon:o},i),i.props),{},{key:u,noticeKey:d||u,updateMark:c,onClose:function(e){var n;t.remove(e),null===(n=i.onClose)||void 0===n||n.call(i)},onClick:i.onClick,children:i.content});s.push(u),t.noticePropsMap[u]={props:p,holderCallback:l}})),l.createElement("div",{className:R(a,r),style:i},l.createElement(Cs,{keys:s,motionName:this.getTransitionName(),onVisibleChanged:function(e,n){var a=n.key;e||delete t.noticePropsMap[a]}},(function(e){var n=e.key,r=e.className,o=e.style,i=e.visible,s=t.noticePropsMap[n],c=s.props,u=s.holderCallback;return u?l.createElement("div",{key:n,className:R(r,"".concat(a,"-hook-holder")),style:Vi({},o),ref:function(e){void 0!==n&&(e?(t.hookRefs.set(n,e),u(e,c)):t.hookRefs.delete(n))}}):l.createElement(Sp,Pi({},c,{className:R(r,null==c?void 0:c.className),style:Vi(Vi({},o),null==c?void 0:c.style),visible:i}))})))}}]),n}(t.Component);Tp.newInstance=void 0,Tp.defaultProps={prefixCls:"rc-notification",animation:"fade",style:{top:65,left:"50%"}},Tp.newInstance=function(t,e){var n=t||{},a=n.getContainer,r=Yi(n,["getContainer"]),o=document.createElement("div");a?a().appendChild(o):document.body.appendChild(o);var i=!1;c.default.render(l.createElement(Tp,Pi({},r,{ref:function(t){i||(i=!0,e({notice:function(e){t.add(e)},removeNotice:function(e){t.remove(e)},component:t,destroy:function(){c.default.unmountComponentAtNode(o),o.parentNode&&o.parentNode.removeChild(o)},useNotification:function(){return Cp(t)}}))}})),o)};var Dp={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};function Ip(t,e){(function(t){return"string"==typeof t&&-1!==t.indexOf(".")&&1===parseFloat(t)})(t)&&(t="100%");var n=function(t){return"string"==typeof t&&-1!==t.indexOf("%")}(t);return t=360===e?t:Math.min(e,Math.max(0,parseFloat(t))),n&&(t=parseInt(String(t*e),10)/100),Math.abs(t-e)<1e-6?1:t=360===e?(t<0?t%e+e:t%e)/parseFloat(String(e)):t%e/parseFloat(String(e))}function Pp(t){return t<=1?100*Number(t)+"%":t}function Np(t){return 1===t.length?"0"+t:String(t)}function Ap(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*n*(e-t):n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function zp(t){return Rp(t)/255}function Rp(t){return parseInt(t,16)}var Lp={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function jp(t){var e={r:0,g:0,b:0},n=1,a=null,r=null,o=null,i=!1,l=!1;return"string"==typeof t&&(t=function(t){if(0===(t=t.trim().toLowerCase()).length)return!1;var e=!1;if(Lp[t])t=Lp[t],e=!0;else if("transparent"===t)return{r:0,g:0,b:0,a:0,format:"name"};var n=Yp.rgb.exec(t);if(n)return{r:n[1],g:n[2],b:n[3]};if(n=Yp.rgba.exec(t))return{r:n[1],g:n[2],b:n[3],a:n[4]};if(n=Yp.hsl.exec(t))return{h:n[1],s:n[2],l:n[3]};if(n=Yp.hsla.exec(t))return{h:n[1],s:n[2],l:n[3],a:n[4]};if(n=Yp.hsv.exec(t))return{h:n[1],s:n[2],v:n[3]};if(n=Yp.hsva.exec(t))return{h:n[1],s:n[2],v:n[3],a:n[4]};if(n=Yp.hex8.exec(t))return{r:Rp(n[1]),g:Rp(n[2]),b:Rp(n[3]),a:zp(n[4]),format:e?"name":"hex8"};if(n=Yp.hex6.exec(t))return{r:Rp(n[1]),g:Rp(n[2]),b:Rp(n[3]),format:e?"name":"hex"};if(n=Yp.hex4.exec(t))return{r:Rp(n[1]+n[1]),g:Rp(n[2]+n[2]),b:Rp(n[3]+n[3]),a:zp(n[4]+n[4]),format:e?"name":"hex8"};if(n=Yp.hex3.exec(t))return{r:Rp(n[1]+n[1]),g:Rp(n[2]+n[2]),b:Rp(n[3]+n[3]),format:e?"name":"hex"};return!1}(t)),"object"==typeof t&&(Hp(t.r)&&Hp(t.g)&&Hp(t.b)?(e=function(t,e,n){return{r:255*Ip(t,255),g:255*Ip(e,255),b:255*Ip(n,255)}}(t.r,t.g,t.b),i=!0,l="%"===String(t.r).substr(-1)?"prgb":"rgb"):Hp(t.h)&&Hp(t.s)&&Hp(t.v)?(a=Pp(t.s),r=Pp(t.v),e=function(t,e,n){t=6*Ip(t,360),e=Ip(e,100),n=Ip(n,100);var a=Math.floor(t),r=t-a,o=n*(1-e),i=n*(1-r*e),l=n*(1-(1-r)*e),s=a%6;return{r:255*[n,i,o,o,l,n][s],g:255*[l,n,n,i,o,o][s],b:255*[o,o,l,n,n,i][s]}}(t.h,a,r),i=!0,l="hsv"):Hp(t.h)&&Hp(t.s)&&Hp(t.l)&&(a=Pp(t.s),o=Pp(t.l),e=function(t,e,n){var a,r,o;if(t=Ip(t,360),e=Ip(e,100),n=Ip(n,100),0===e)r=n,o=n,a=n;else{var i=n<.5?n*(1+e):n+e-n*e,l=2*n-i;a=Ap(l,i,t+1/3),r=Ap(l,i,t),o=Ap(l,i,t-1/3)}return{r:255*a,g:255*r,b:255*o}}(t.h,a,o),i=!0,l="hsl"),Object.prototype.hasOwnProperty.call(t,"a")&&(n=t.a)),n=function(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}(n),{ok:i,format:t.format||l,r:Math.min(255,Math.max(e.r,0)),g:Math.min(255,Math.max(e.g,0)),b:Math.min(255,Math.max(e.b,0)),a:n}}var Fp="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",Bp="[\\s|\\(]+("+Fp+")[,|\\s]+("+Fp+")[,|\\s]+("+Fp+")\\s*\\)?",Vp="[\\s|\\(]+("+Fp+")[,|\\s]+("+Fp+")[,|\\s]+("+Fp+")[,|\\s]+("+Fp+")\\s*\\)?",Yp={CSS_UNIT:new RegExp(Fp),rgb:new RegExp("rgb"+Bp),rgba:new RegExp("rgba"+Vp),hsl:new RegExp("hsl"+Bp),hsla:new RegExp("hsla"+Vp),hsv:new RegExp("hsv"+Bp),hsva:new RegExp("hsva"+Vp),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Hp(t){return Boolean(Yp.CSS_UNIT.exec(String(t)))}var Wp=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function Up(t){var e=function(t,e,n){t=Ip(t,255),e=Ip(e,255),n=Ip(n,255);var a=Math.max(t,e,n),r=Math.min(t,e,n),o=0,i=a,l=a-r,s=0===a?0:l/a;if(a===r)o=0;else{switch(a){case t:o=(e-n)/l+(e<n?6:0);break;case e:o=(n-t)/l+2;break;case n:o=(t-e)/l+4}o/=6}return{h:o,s:s,v:i}}(t.r,t.g,t.b);return{h:360*e.h,s:e.s,v:e.v}}function Gp(t){var e=t.r,n=t.g,a=t.b;return"#".concat(function(t,e,n,a){var r=[Np(Math.round(t).toString(16)),Np(Math.round(e).toString(16)),Np(Math.round(n).toString(16))];return a&&r[0].startsWith(r[0].charAt(1))&&r[1].startsWith(r[1].charAt(1))&&r[2].startsWith(r[2].charAt(1))?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0):r.join("")}(e,n,a,!1))}function Kp(t,e,n){var a=n/100;return{r:(e.r-t.r)*a+t.r,g:(e.g-t.g)*a+t.g,b:(e.b-t.b)*a+t.b}}function qp(t,e,n){var a;return(a=Math.round(t.h)>=60&&Math.round(t.h)<=240?n?Math.round(t.h)-2*e:Math.round(t.h)+2*e:n?Math.round(t.h)+2*e:Math.round(t.h)-2*e)<0?a+=360:a>=360&&(a-=360),a}function Xp(t,e,n){return 0===t.h&&0===t.s?t.s:((a=n?t.s-.16*e:4===e?t.s+.16:t.s+.05*e)>1&&(a=1),n&&5===e&&a>.1&&(a=.1),a<.06&&(a=.06),Number(a.toFixed(2)));var a}function Zp(t,e,n){var a;return(a=n?t.v+.05*e:t.v-.15*e)>1&&(a=1),Number(a.toFixed(2))}function Jp(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],a=jp(t),r=5;r>0;r-=1){var o=Up(a),i=Gp(jp({h:qp(o,r,!0),s:Xp(o,r,!0),v:Zp(o,r,!0)}));n.push(i)}n.push(Gp(a));for(var l=1;l<=4;l+=1){var s=Up(a),c=Gp(jp({h:qp(s,l),s:Xp(s,l),v:Zp(s,l)}));n.push(c)}return"dark"===e.theme?Wp.map((function(t){var a=t.index,r=t.opacity;return Gp(Kp(jp(e.backgroundColor||"#141414"),jp(n[a]),100*r))})):n}var $p={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},Qp={},tf={};Object.keys($p).forEach((function(t){Qp[t]=Jp($p[t]),Qp[t].primary=Qp[t][5],tf[t]=Jp($p[t],{theme:"dark",backgroundColor:"#141414"}),tf[t].primary=tf[t][5]})),Qp.red,Qp.volcano,Qp.gold,Qp.orange,Qp.yellow,Qp.lime,Qp.green,Qp.cyan,Qp.blue,Qp.geekblue,Qp.purple,Qp.magenta,Qp.grey;var ef="rc-util-key";function nf(t){return t.attachTo?t.attachTo:document.querySelector("head")||document.body}function af(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!zl())return null;var a,r=document.createElement("style");(null===(e=n.csp)||void 0===e?void 0:e.nonce)&&(r.nonce=null===(a=n.csp)||void 0===a?void 0:a.nonce);r.innerHTML=t;var o=nf(n),i=o.firstChild;return n.prepend&&o.prepend?o.prepend(r):n.prepend&&i?o.insertBefore(r,i):o.appendChild(r),r}var rf=new Map;function of(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=nf(n);if(!rf.has(a)){var r=af("",n),o=r.parentNode;rf.set(a,o),o.removeChild(r)}var i=Array.from(rf.get(a).children).find((function(t){return"STYLE"===t.tagName&&t[ef]===e}));if(i){var l,s,c;if((null===(l=n.csp)||void 0===l?void 0:l.nonce)&&i.nonce!==(null===(s=n.csp)||void 0===s?void 0:s.nonce))i.nonce=null===(c=n.csp)||void 0===c?void 0:c.nonce;return i.innerHTML!==t&&(i.innerHTML=t),i}var u=af(t,n);return u[ef]=e,u}function lf(t){return"object"===Fi(t)&&"string"==typeof t.name&&"string"==typeof t.theme&&("object"===Fi(t.icon)||"function"==typeof t.icon)}function sf(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(t).reduce((function(e,n){var a=t[n];if("class"===n)e.className=a,delete e.class;else e[n]=a;return e}),{})}function cf(t,e,n){return n?i.default.createElement(t.tag,Vi(Vi({key:e},sf(t.attrs)),n),(t.children||[]).map((function(n,a){return cf(n,"".concat(e,"-").concat(t.tag,"-").concat(a))}))):i.default.createElement(t.tag,Vi({key:e},sf(t.attrs)),(t.children||[]).map((function(n,a){return cf(n,"".concat(e,"-").concat(t.tag,"-").concat(a))})))}function uf(t){return Jp(t)[0]}function df(t){return t?Array.isArray(t)?t:[t]:[]}var pf="\n.anticon {\n  display: inline-block;\n  color: inherit;\n  font-style: normal;\n  line-height: 0;\n  text-align: center;\n  text-transform: none;\n  vertical-align: -0.125em;\n  text-rendering: optimizeLegibility;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n  line-height: 1;\n}\n\n.anticon svg {\n  display: inline-block;\n}\n\n.anticon::before {\n  display: none;\n}\n\n.anticon .anticon-icon {\n  display: block;\n}\n\n.anticon[tabindex] {\n  cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n  display: inline-block;\n  -webkit-animation: loadingCircle 1s infinite linear;\n  animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n  100% {\n    -webkit-transform: rotate(360deg);\n    transform: rotate(360deg);\n  }\n}\n\n@keyframes loadingCircle {\n  100% {\n    -webkit-transform: rotate(360deg);\n    transform: rotate(360deg);\n  }\n}\n",ff=["icon","className","onClick","style","primaryColor","secondaryColor"],hf={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};var gf=function(e){var n=e.icon,a=e.className,r=e.onClick,o=e.style,i=e.primaryColor,l=e.secondaryColor,s=Yi(e,ff),c=hf;if(i&&(c={primaryColor:i,secondaryColor:l||uf(i)}),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pf,n=t.useContext(Iu).csp;t.useEffect((function(){of(e,"@ant-design-icons",{prepend:!0,csp:n})}),[])}(),function(t,e){Fu(t,"[@ant-design/icons] ".concat(e))}(lf(n),"icon should be icon definiton, but got ".concat(n)),!lf(n))return null;var u=n;return u&&"function"==typeof u.icon&&(u=Vi(Vi({},u),{},{icon:u.icon(c.primaryColor,c.secondaryColor)})),cf(u.icon,"svg-".concat(u.name),Vi({className:a,onClick:r,style:o,"data-icon":u.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},s))};gf.displayName="IconReact",gf.getTwoToneColors=function(){return Vi({},hf)},gf.setTwoToneColors=function(t){var e=t.primaryColor,n=t.secondaryColor;hf.primaryColor=e,hf.secondaryColor=n||uf(e),hf.calculated=!!n};var mf=gf;function bf(t){var e=ji(df(t),2),n=e[0],a=e[1];return mf.setTwoToneColors({primaryColor:n,secondaryColor:a})}var vf=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];bf("#1890ff");var yf=l.forwardRef((function(t,e){var n,a=t.className,r=t.icon,o=t.spin,i=t.rotate,s=t.tabIndex,c=t.onClick,u=t.twoToneColor,d=Yi(t,vf),p=l.useContext(Iu).prefixCls,f=void 0===p?"anticon":p,h=R(f,(Ni(n={},"".concat(f,"-").concat(r.name),!!r.name),Ni(n,"".concat(f,"-spin"),!!o||"loading"===r.name),n),a),g=s;void 0===g&&c&&(g=-1);var m=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,b=ji(df(u),2),v=b[0],y=b[1];return l.createElement("span",Vi(Vi({role:"img","aria-label":r.name},d),{},{ref:e,tabIndex:g,onClick:c,className:h}),l.createElement(mf,{icon:r,primaryColor:v,secondaryColor:y,style:m}))}));yf.displayName="AntdIcon",yf.getTwoToneColor=function(){var t=mf.getTwoToneColors();return t.calculated?[t.primaryColor,t.secondaryColor]:t.primaryColor},yf.setTwoToneColor=bf;var xf=yf,wf=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:Dp}))};wf.displayName="LoadingOutlined";var _f=l.forwardRef(wf),kf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},Sf=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:kf}))};Sf.displayName="ExclamationCircleFilled";var Cf=l.forwardRef(Sf),Mf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"},Of=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:Mf}))};Of.displayName="CloseCircleFilled";var Ef=l.forwardRef(Of),Tf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},Df=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:Tf}))};Df.displayName="CheckCircleFilled";var If,Pf=l.forwardRef(Df),Nf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},Af=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:Nf}))};Af.displayName="InfoCircleFilled";var zf,Rf,Lf,jf=3,Ff=1,Bf="",Vf="move-up",Yf=!1,Hf=!1;function Wf(t,e){var n=t.prefixCls,a=Th(),r=a.getPrefixCls,o=a.getRootPrefixCls,i=r("message",n||Bf),l=o(t.rootPrefixCls,i);if(If)e({prefixCls:i,rootPrefixCls:l,instance:If});else{var s={prefixCls:i,transitionName:Yf?Vf:"".concat(l,"-").concat(Vf),style:{top:zf},getContainer:Rf,maxCount:Lf};Tp.newInstance(s,(function(t){If?e({prefixCls:i,rootPrefixCls:l,instance:If}):(If=t,e({prefixCls:i,rootPrefixCls:l,instance:t}))}))}}var Uf={info:l.forwardRef(Af),success:Pf,error:Ef,warning:Cf,loading:_f};function Gf(t,e){var n,a=void 0!==t.duration?t.duration:jf,r=Uf[t.type],o=R("".concat(e,"-custom-content"),(Ni(n={},"".concat(e,"-").concat(t.type),t.type),Ni(n,"".concat(e,"-rtl"),!0===Hf),n));return{key:t.key,duration:a,style:t.style||{},className:t.className,content:l.createElement("div",{className:o},t.icon||r&&l.createElement(r,null),l.createElement("span",null,t.content)),onClose:t.onClose,onClick:t.onClick}}var Kf={open:function(t){var e=t.key||Ff++,n=new Promise((function(n){var a=function(){return"function"==typeof t.onClose&&t.onClose(),n(!0)};Wf(t,(function(n){var r=n.prefixCls;n.instance.notice(Gf(Pi(Pi({},t),{key:e,onClose:a}),r))}))})),a=function(){If&&If.removeNotice(e)};return a.then=function(t,e){return n.then(t,e)},a.promise=n,a},config:function(t){void 0!==t.top&&(zf=t.top,If=null),void 0!==t.duration&&(jf=t.duration),void 0!==t.prefixCls&&(Bf=t.prefixCls),void 0!==t.getContainer&&(Rf=t.getContainer),void 0!==t.transitionName&&(Vf=t.transitionName,If=null,Yf=!0),void 0!==t.maxCount&&(Lf=t.maxCount,If=null),void 0!==t.rtl&&(Hf=t.rtl)},destroy:function(t){if(If)if(t){(0,If.removeNotice)(t)}else{var e=If.destroy;e(),If=null}}};function qf(t,e){t[e]=function(n,a,r){return function(t){return"[object Object]"===Object.prototype.toString.call(t)&&!!t.content}(n)?t.open(Pi(Pi({},n),{type:e})):("function"==typeof a&&(r=a,a=void 0),t.open({content:n,duration:a,type:e,onClose:r}))}}["success","info","warning","error","loading"].forEach((function(t){return qf(Kf,t)})),Kf.warn=Kf.warning,Kf.useMessage=function(t,e){return function(){var n,a=null,r=ji(Cp({add:function(t,e){null==a||a.component.add(t,e)}}),2),o=r[0],i=r[1];var s=l.useRef({});return s.current.open=function(r){var i=r.prefixCls,l=n("message",i),s=n(),c=r.key||Ff++,u=new Promise((function(n){var i=function(){return"function"==typeof r.onClose&&r.onClose(),n(!0)};t(Pi(Pi({},r),{prefixCls:l,rootPrefixCls:s}),(function(t){var n=t.prefixCls,l=t.instance;a=l,o(e(Pi(Pi({},r),{key:c,onClose:i}),n))}))})),d=function(){a&&a.removeNotice(c)};return d.then=function(t,e){return u.then(t,e)},d.promise=u,d},["success","info","warning","error","loading"].forEach((function(t){return qf(s.current,t)})),[s.current,l.createElement(xp,{key:"holder"},(function(t){return n=t.getPrefixCls,i}))]}}(Wf,Gf);var Xf=Kf,Zf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}}]},name:"close",theme:"outlined"},Jf=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:Zf}))};Jf.displayName="CloseOutlined";var $f=l.forwardRef(Jf),Qf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"},th=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:Qf}))};th.displayName="CheckCircleOutlined";var eh=l.forwardRef(th),nh={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"}},{tag:"path",attrs:{d:"M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"close-circle",theme:"outlined"},ah=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:nh}))};ah.displayName="CloseCircleOutlined";var rh=l.forwardRef(ah),oh={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},ih=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:oh}))};ih.displayName="ExclamationCircleOutlined";var lh=l.forwardRef(ih),sh={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},ch=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:sh}))};ch.displayName="InfoCircleOutlined";var uh=l.forwardRef(ch);window&&window.__awaiter;var dh,ph,fh={},hh=4.5,gh=24,mh=24,bh="",vh="topRight",yh=!1;function xh(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:gh,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:mh;switch(t){case"topLeft":e={left:0,top:n,bottom:"auto"};break;case"topRight":e={right:0,top:n,bottom:"auto"};break;case"bottomLeft":e={left:0,top:"auto",bottom:a};break;default:e={right:0,top:"auto",bottom:a}}return e}function wh(t,e){var n=t.placement,a=void 0===n?vh:n,r=t.top,o=t.bottom,i=t.getContainer,s=void 0===i?dh:i,c=t.closeIcon,u=void 0===c?ph:c,d=t.prefixCls,p=(0,Th().getPrefixCls)("notification",d||bh),f="".concat(p,"-").concat(a),h=fh[f];if(h)Promise.resolve(h).then((function(t){e({prefixCls:"".concat(p,"-notice"),instance:t})}));else{var g=l.createElement("span",{className:"".concat(p,"-close-x")},u||l.createElement($f,{className:"".concat(p,"-close-icon")})),m=R("".concat(p,"-").concat(a),Ni({},"".concat(p,"-rtl"),!0===yh));fh[f]=new Promise((function(t){Tp.newInstance({prefixCls:p,className:m,style:xh(a,r,o),getContainer:s,closeIcon:g},(function(n){t(n),e({prefixCls:"".concat(p,"-notice"),instance:n})}))}))}}var _h={success:eh,info:uh,error:rh,warning:lh};function kh(t,e){var n=t.duration,a=t.icon,r=t.type,o=t.description,i=t.message,s=t.btn,c=t.onClose,u=t.onClick,d=t.key,p=t.style,f=t.className,h=void 0===n?hh:n,g=null;a?g=l.createElement("span",{className:"".concat(e,"-icon")},t.icon):r&&(g=l.createElement(_h[r]||null,{className:"".concat(e,"-icon ").concat(e,"-icon-").concat(r)}));var m=!o&&g?l.createElement("span",{className:"".concat(e,"-message-single-line-auto-margin")}):null;return{content:l.createElement("div",{className:g?"".concat(e,"-with-icon"):"",role:"alert"},g,l.createElement("div",{className:"".concat(e,"-message")},m,i),l.createElement("div",{className:"".concat(e,"-description")},o),s?l.createElement("span",{className:"".concat(e,"-btn")},s):null),duration:h,closable:!0,onClose:c,onClick:u,key:d,style:p||{},className:R(f,Ni({},"".concat(e,"-").concat(r),!!r))}}var Sh={open:function(t){wh(t,(function(e){var n=e.prefixCls;e.instance.notice(kh(t,n))}))},close:function(t){Object.keys(fh).forEach((function(e){return Promise.resolve(fh[e]).then((function(e){e.removeNotice(t)}))}))},config:function(t){var e=t.duration,n=t.placement,a=t.bottom,r=t.top,o=t.getContainer,i=t.closeIcon,l=t.prefixCls;void 0!==l&&(bh=l),void 0!==e&&(hh=e),void 0!==n?vh=n:t.rtl&&(vh="topLeft"),void 0!==a&&(mh=a),void 0!==r&&(gh=r),void 0!==o&&(dh=o),void 0!==i&&(ph=i),void 0!==t.rtl&&(yh=t.rtl)},destroy:function(){Object.keys(fh).forEach((function(t){Promise.resolve(fh[t]).then((function(t){t.destroy()})),delete fh[t]}))}};["success","info","warning","error"].forEach((function(t){Sh[t]=function(e){return Sh.open(Pi(Pi({},e),{type:t}))}})),Sh.warn=Sh.warning,Sh.useNotification=function(t,e){return function(){var n,a=null,r=ji(Cp({add:function(t,e){null==a||a.component.add(t,e)}}),2),o=r[0],i=r[1];var s=l.useRef({});return s.current.open=function(r){var i=r.prefixCls,l=n("notification",i);t(Pi(Pi({},r),{prefixCls:l}),(function(t){var n=t.prefixCls,i=t.instance;a=i,o(e(r,n))}))},["success","info","warning","error"].forEach((function(t){s.current[t]=function(e){return s.current.open(Pi(Pi({},e),{type:t}))}})),[s.current,l.createElement(xp,{key:"holder"},(function(t){return n=t.getPrefixCls,i}))]}}(wh,kh);var Ch,Mh=Sh,Oh=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","form"];function Eh(){return Ch||"ant"}var Th=function(){return{getPrefixCls:function(t,e){return e||(t?"".concat(Eh(),"-").concat(t):Eh())},getRootPrefixCls:function(t,e){return t||(Ch||(e&&e.includes("-")?e.replace(/^(.*)-[^-]*$/,"$1"):Eh()))}}},Dh=function(t){var e,n,a=t.children,r=t.csp,o=t.autoInsertSpaceInButton,i=t.form,s=t.locale,c=t.componentSize,u=t.direction,d=t.space,p=t.virtual,f=t.dropdownMatchSelectWidth,h=t.legacyLocale,g=t.parentContext,m=t.iconPrefixCls,b=l.useCallback((function(e,n){var a=t.prefixCls;if(n)return n;var r=a||g.getPrefixCls("");return e?"".concat(r,"-").concat(e):r}),[g.getPrefixCls,t.prefixCls]),v=Pi(Pi({},g),{csp:r,autoInsertSpaceInButton:o,locale:s||h,direction:u,space:d,virtual:p,dropdownMatchSelectWidth:f,getPrefixCls:b});Oh.forEach((function(e){var n=t[e];n&&(v[e]=n)}));var y=$d((function(){return v}),v,(function(t,e){var n=Object.keys(t),a=Object.keys(e);return n.length!==a.length||n.some((function(n){return t[n]!==e[n]}))})),x=l.useMemo((function(){return{prefixCls:m,csp:r}}),[m]),w=a,_={};return s&&(_=(null===(e=s.Form)||void 0===e?void 0:e.defaultValidateMessages)||(null===(n=rp.Form)||void 0===n?void 0:n.defaultValidateMessages)||{}),i&&i.validateMessages&&(_=Pi(Pi({},_),i.validateMessages)),Object.keys(_).length>0&&(w=l.createElement(Xd,{validateMessages:_},a)),s&&(w=l.createElement(cp,{locale:s,_ANT_MARK__:sp},w)),m&&(w=l.createElement(Iu.Provider,{value:x},w)),c&&(w=l.createElement(_p,{size:c},w)),l.createElement(yp.Provider,{value:y},w)},Ih=function(t){return l.useEffect((function(){t.direction&&(Xf.config({rtl:"rtl"===t.direction}),Mh.config({rtl:"rtl"===t.direction}))}),[t.direction]),l.createElement(up,null,(function(e,n,a){return l.createElement(xp,null,(function(e){return l.createElement(Dh,Pi({parentContext:e,legacyLocale:a},t))}))}))};Ih.ConfigContext=yp,Ih.SizeContext=kp,Ih.config=function(t){void 0!==t.prefixCls&&(Ch=t.prefixCls)};var Ph=Ih,Nh=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e},Ah=Nh("success","processing","error","default","warning"),zh=Nh("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"),Rh=function(){return{height:0,opacity:0}},Lh=function(t){return{height:t.scrollHeight,opacity:1}},jh=function(t,e){return!0===(null==e?void 0:e.deadline)||"height"===e.propertyName},Fh={motionName:"ant-motion-collapse",onAppearStart:Rh,onEnterStart:Rh,onAppearActive:Lh,onEnterActive:Lh,onLeaveStart:function(t){return{height:t?t.offsetHeight:0}},onLeaveActive:Rh,onAppearEnd:jh,onEnterEnd:jh,onLeaveEnd:jh,motionDeadline:500},Bh=function(t,e,n){return void 0!==n?n:"".concat(t,"-").concat(e)},Vh=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n},Yh=new RegExp("^(".concat(zh.join("|"),")(-inverse)?$"));function Hh(t,e){var n=t.type;if((!0===n.__ANT_BUTTON||!0===n.__ANT_SWITCH||!0===n.__ANT_CHECKBOX||"button"===t.type)&&t.props.disabled){var a=function(t,e){var n={},a=Pi({},t);return e.forEach((function(e){t&&e in t&&(n[e]=t[e],delete a[e])})),{picked:n,omitted:a}}(t.props.style,["position","left","right","top","bottom","float","display","zIndex"]),r=a.picked,o=a.omitted,i=Pi(Pi({display:"inline-block"},r),{cursor:"not-allowed",width:t.props.block?"100%":null}),s=Du(t,{style:Pi(Pi({},o),{pointerEvents:"none"}),className:null});return l.createElement("span",{style:i,className:R(t.props.className,"".concat(e,"-disabled-compatible-wrapper"))},s)}return t}var Wh=l.forwardRef((function(t,e){var n,a=l.useContext(yp),r=a.getPopupContainer,o=a.getPrefixCls,i=a.direction,s=ji(Su(!1,{value:t.visible,defaultValue:t.defaultVisible}),2),c=s[0],u=s[1],d=function(){var e=t.title,n=t.overlay;return!e&&!n&&0!==e},p=function(){var e=t.builtinPlacements,n=t.arrowPointAtCenter,a=t.autoAdjustOverflow;return e||function(t){var e=t.arrowWidth,n=void 0===e?4:e,a=t.horizontalArrowShift,r=void 0===a?16:a,o=t.verticalArrowShift,i=void 0===o?8:o,l=t.autoAdjustOverflow,s={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(r+n),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(i+n)]},topRight:{points:["br","tc"],offset:[r+n,-4]},rightTop:{points:["tl","cr"],offset:[4,-(i+n)]},bottomRight:{points:["tr","bc"],offset:[r+n,4]},rightBottom:{points:["bl","cr"],offset:[4,i+n]},bottomLeft:{points:["tl","bc"],offset:[-(r+n),4]},leftBottom:{points:["br","cl"],offset:[-4,i+n]}};return Object.keys(s).forEach((function(e){s[e]=t.arrowPointAtCenter?Pi(Pi({},s[e]),{overflow:Eu(l),targetOffset:Ou}):Pi(Pi({},xu[e]),{overflow:Eu(l)}),s[e].ignoreShake=!0})),s}({arrowPointAtCenter:n,autoAdjustOverflow:a})},f=t.getPopupContainer,h=Vh(t,["getPopupContainer"]),g=t.prefixCls,m=t.openClassName,b=t.getTooltipContainer,v=t.overlayClassName,y=t.color,x=t.overlayInnerStyle,w=t.children,_=o("tooltip",g),k=o(),S=c;!("visible"in t)&&d()&&(S=!1);var C,M,O,E=Hh(Tu(w)?w:l.createElement("span",null,w),_),T=E.props,D=R(T.className,Ni({},m||"".concat(_,"-open"),!0)),I=R(v,(Ni(n={},"".concat(_,"-rtl"),"rtl"===i),Ni(n,"".concat(_,"-").concat(y),y&&Yh.test(y)),n)),P=x;return y&&!Yh.test(y)&&(P=Pi(Pi({},x),{background:y}),C={background:y}),l.createElement(ku,Pi({},h,{prefixCls:_,overlayClassName:I,getTooltipContainer:f||b||r,ref:e,builtinPlacements:p(),overlay:(M=t.title,O=t.overlay,0===M?M:O||M||""),visible:S,onVisibleChange:function(e){var n;u(!d()&&e),d()||null===(n=t.onVisibleChange)||void 0===n||n.call(t,e)},onPopupAlign:function(t,e){var n=p(),a=Object.keys(n).filter((function(t){return n[t].points[0]===e.points[0]&&n[t].points[1]===e.points[1]}))[0];if(a){var r=t.getBoundingClientRect(),o={top:"50%",left:"50%"};a.indexOf("top")>=0||a.indexOf("Bottom")>=0?o.top="".concat(r.height-e.offset[1],"px"):(a.indexOf("Top")>=0||a.indexOf("bottom")>=0)&&(o.top="".concat(-e.offset[1],"px")),a.indexOf("left")>=0||a.indexOf("Right")>=0?o.left="".concat(r.width-e.offset[0],"px"):(a.indexOf("right")>=0||a.indexOf("Left")>=0)&&(o.left="".concat(-e.offset[0],"px")),t.style.transformOrigin="".concat(o.left," ").concat(o.top)}},overlayInnerStyle:P,arrowContent:l.createElement("span",{className:"".concat(_,"-arrow-content"),style:C}),motion:{motionName:Bh(k,"zoom-big-fast",t.transitionName),motionDeadline:1e3}}),S?Du(E,{className:D}):E)}));Wh.displayName="Tooltip",Wh.defaultProps={placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var Uh=Wh,Gh=function(t){return t?"function"==typeof t?t():t:null},Kh=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n},qh=l.forwardRef((function(t,e){var n=t.prefixCls,a=t.title,r=t.content,o=Kh(t,["prefixCls","title","content"]),i=l.useContext(yp).getPrefixCls,s=i("popover",n),c=i();return l.createElement(Uh,Pi({},o,{prefixCls:s,ref:e,overlay:function(t){return l.createElement(l.Fragment,null,a&&l.createElement("div",{className:"".concat(t,"-title")},Gh(a)),l.createElement("div",{className:"".concat(t,"-inner-content")},Gh(r)))}(s),transitionName:Bh(c,"zoom-big",o.transitionName)}))}));qh.displayName="Popover",qh.defaultProps={placement:"top",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}};var Xh=qh,Zh={adjustX:1,adjustY:1},Jh=[0,0],$h={topLeft:{points:["bl","tl"],overflow:Zh,offset:[0,-4],targetOffset:Jh},topCenter:{points:["bc","tc"],overflow:Zh,offset:[0,-4],targetOffset:Jh},topRight:{points:["br","tr"],overflow:Zh,offset:[0,-4],targetOffset:Jh},bottomLeft:{points:["tl","bl"],overflow:Zh,offset:[0,4],targetOffset:Jh},bottomCenter:{points:["tc","bc"],overflow:Zh,offset:[0,4],targetOffset:Jh},bottomRight:{points:["tr","br"],overflow:Zh,offset:[0,4],targetOffset:Jh}};var Qh=l.forwardRef((function(t,e){var n=t.arrow,a=void 0!==n&&n,r=t.prefixCls,o=void 0===r?"rc-dropdown":r,i=t.transitionName,s=t.animation,c=t.align,u=t.placement,d=void 0===u?"bottomLeft":u,p=t.placements,f=void 0===p?$h:p,h=t.getPopupContainer,g=t.showAction,m=t.hideAction,b=t.overlayClassName,v=t.overlayStyle,y=t.visible,x=t.trigger,w=void 0===x?["hover"]:x,_=Yi(t,["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger"]),k=ji(l.useState(),2),S=k[0],C=k[1],M="visible"in t?y:S,O=l.useRef(null);l.useImperativeHandle(e,(function(){return O.current}));var E,T,D,I,P=function(){var e=t.overlay;return"function"==typeof e?e():e},N=function(e){var n=t.onOverlayClick,a=P().props;C(!1),n&&n(e),a.onClick&&a.onClick(e)},A=function(){var t=P(),e={prefixCls:"".concat(o,"-menu"),onClick:N};return"string"==typeof t.type&&delete e.prefixCls,l.createElement(l.Fragment,null,a&&l.createElement("div",{className:"".concat(o,"-arrow")}),l.cloneElement(t,e))},z=m;return z||-1===w.indexOf("contextMenu")||(z=["click"]),l.createElement(bu,Object.assign({},_,{prefixCls:o,ref:O,popupClassName:R(b,Ni({},"".concat(o,"-show-arrow"),a)),popupStyle:v,builtinPlacements:f,action:w,showAction:g,hideAction:z||[],popupPlacement:d,popupAlign:c,popupTransitionName:i,popupAnimation:s,popupVisible:M,stretch:function(){var e=t.minOverlayWidthMatchTrigger,n=t.alignPoint;return"minOverlayWidthMatchTrigger"in t?e:!n}()?"minWidth":"",popup:"function"==typeof t.overlay?A:A(),onPopupVisibleChange:function(e){var n=t.onVisibleChange;C(e),"function"==typeof n&&n(e)},getPopupContainer:h}),(T=t.children,D=T.props?T.props:{},I=R(D.className,void 0!==(E=t.openClassName)?E:"".concat(o,"-open")),S&&T?l.cloneElement(T,{className:I}):T))})),tg={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},eg=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:tg}))};eg.displayName="RightOutlined";var ng=l.forwardRef(eg),ag={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},rg=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:ag}))};rg.displayName="EllipsisOutlined";var og=l.forwardRef(rg);function ig(t,e){var n=Vi({},t);return Array.isArray(e)&&e.forEach((function(t){delete n[t]})),n}var lg,sg=function t(e){return Hi(this,t),new Error("unreachable case: ".concat(JSON.stringify(e)))},cg=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n},ug=function(t){return l.createElement(xp,null,(function(e){var n,a=e.getPrefixCls,r=e.direction,o=t.prefixCls,i=t.size,s=t.className,c=cg(t,["prefixCls","size","className"]),u=a("btn-group",o),d="";switch(i){case"large":d="lg";break;case"small":d="sm";break;case"middle":case void 0:break;default:console.warn(new sg(i))}var p=R(u,(Ni(n={},"".concat(u,"-").concat(d),d),Ni(n,"".concat(u,"-rtl"),"rtl"===r),n),s);return l.createElement("div",Pi({},c,{className:p}))}))},dg=0,pg={};function fg(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=dg++,a=e;function r(){(a-=1)<=0?(t(),delete pg[n]):pg[n]=ol(r)}return pg[n]=ol(r),n}function hg(t){return!t||null===t.offsetParent||t.hidden}function gg(t){var e=(t||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return!(e&&e[1]&&e[2]&&e[3])||!(e[1]===e[2]&&e[2]===e[3])}fg.cancel=function(t){void 0!==t&&(ol.cancel(pg[t]),delete pg[t])},fg.ids=pg;var mg=function(t){qi(n,t);var e=Qi(n);function n(){var t;return Hi(this,n),(t=e.apply(this,arguments)).containerRef=l.createRef(),t.animationStart=!1,t.destroyed=!1,t.onClick=function(e,n){var a,r;if(!(!e||hg(e)||e.className.indexOf("-leave")>=0)){var o=t.props.insertExtraNode;t.extraNode=document.createElement("div");var i=Gi(t).extraNode,l=t.context.getPrefixCls;i.className="".concat(l(""),"-click-animating-node");var s=t.getAttributeName();if(e.setAttribute(s,"true"),n&&"#ffffff"!==n&&"rgb(255, 255, 255)"!==n&&gg(n)&&!/rgba\((?:\d*, ){3}0\)/.test(n)&&"transparent"!==n){i.style.borderColor=n;var c=(null===(a=e.getRootNode)||void 0===a?void 0:a.call(e))||e.ownerDocument,u=c instanceof Document?c.body:null!==(r=c.firstChild)&&void 0!==r?r:c;lg=of("\n      [".concat(l(""),"-click-animating-without-extra-node='true']::after, .").concat(l(""),"-click-animating-node {\n        --antd-wave-shadow-color: ").concat(n,";\n      }"),"antd-wave",{csp:t.csp,attachTo:u})}o&&e.appendChild(i),["transition","animation"].forEach((function(n){e.addEventListener("".concat(n,"start"),t.onTransitionStart),e.addEventListener("".concat(n,"end"),t.onTransitionEnd)}))}},t.onTransitionStart=function(e){if(!t.destroyed){var n=t.containerRef.current;e&&e.target===n&&!t.animationStart&&t.resetEffect(n)}},t.onTransitionEnd=function(e){e&&"fadeEffect"===e.animationName&&t.resetEffect(e.target)},t.bindAnimationEvent=function(e){if(e&&e.getAttribute&&!e.getAttribute("disabled")&&!(e.className.indexOf("disabled")>=0)){var n=function(n){if("INPUT"!==n.target.tagName&&!hg(n.target)){t.resetEffect(e);var a=getComputedStyle(e).getPropertyValue("border-top-color")||getComputedStyle(e).getPropertyValue("border-color")||getComputedStyle(e).getPropertyValue("background-color");t.clickWaveTimeoutId=window.setTimeout((function(){return t.onClick(e,a)}),0),fg.cancel(t.animationStartId),t.animationStart=!0,t.animationStartId=fg((function(){t.animationStart=!1}),10)}};return e.addEventListener("click",n,!0),{cancel:function(){e.removeEventListener("click",n,!0)}}}},t.renderWave=function(e){var n=e.csp,a=t.props.children;if(t.csp=n,!l.isValidElement(a))return a;var r=t.containerRef;return Nl(a)&&(r=Pl(a.ref,t.containerRef)),Du(a,{ref:r})},t}return Ui(n,[{key:"componentDidMount",value:function(){var t=this.containerRef.current;t&&1===t.nodeType&&(this.instance=this.bindAnimationEvent(t))}},{key:"componentWillUnmount",value:function(){this.instance&&this.instance.cancel(),this.clickWaveTimeoutId&&clearTimeout(this.clickWaveTimeoutId),this.destroyed=!0}},{key:"getAttributeName",value:function(){var t=this.context.getPrefixCls,e=this.props.insertExtraNode;return"".concat(t(""),e?"-click-animating":"-click-animating-without-extra-node")}},{key:"resetEffect",value:function(t){var e=this;if(t&&t!==this.extraNode&&t instanceof Element){var n=this.props.insertExtraNode,a=this.getAttributeName();t.setAttribute(a,"false"),lg&&(lg.innerHTML=""),n&&this.extraNode&&t.contains(this.extraNode)&&t.removeChild(this.extraNode),["transition","animation"].forEach((function(n){t.removeEventListener("".concat(n,"start"),e.onTransitionStart),t.removeEventListener("".concat(n,"end"),e.onTransitionEnd)}))}}},{key:"render",value:function(){return l.createElement(xp,null,this.renderWave)}}]),n}(l.Component);mg.contextType=yp;var bg=function(){return{width:0,opacity:0,transform:"scale(0)"}},vg=function(t){return{width:t.scrollWidth,opacity:1,transform:"scale(1)"}},yg=function(t){var e=t.prefixCls,n=!!t.loading;return t.existIcon?i.default.createElement("span",{className:"".concat(e,"-loading-icon")},i.default.createElement(_f,null)):i.default.createElement(ms,{visible:n,motionName:"".concat(e,"-loading-icon-motion"),removeOnLeave:!0,onAppearStart:bg,onAppearActive:vg,onEnterStart:bg,onEnterActive:vg,onLeaveStart:vg,onLeaveActive:bg},(function(t,n){var a=t.className,r=t.style;return i.default.createElement("span",{className:"".concat(e,"-loading-icon"),style:r,ref:n},i.default.createElement(_f,{className:a}))}))},xg=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n},wg=/^[\u4e00-\u9fa5]{2}$/,_g=wg.test.bind(wg);function kg(t){return"text"===t||"link"===t}function Sg(t,e){if(null!=t){var n,a=e?" ":"";return"string"!=typeof t&&"number"!=typeof t&&"string"==typeof t.type&&_g(t.props.children)?Du(t,{children:t.props.children.split("").join(a)}):"string"==typeof t?_g(t)?l.createElement("span",null,t.split("").join(a)):l.createElement("span",null,t):(n=t,l.isValidElement(n)&&n.type===l.Fragment?l.createElement("span",null,t):t)}}Nh("default","primary","ghost","dashed","link","text"),Nh("circle","round"),Nh("submit","button","reset");var Cg=function(t,e){var n,a,r=t.loading,o=void 0!==r&&r,i=t.prefixCls,s=t.type,c=t.danger,u=t.shape,d=t.size,p=t.className,f=t.children,h=t.icon,g=t.ghost,m=void 0!==g&&g,b=t.block,v=void 0!==b&&b,y=t.htmlType,x=void 0===y?"button":y,w=xg(t,["loading","prefixCls","type","danger","shape","size","className","children","icon","ghost","block","htmlType"]),_=l.useContext(kp),k=ji(l.useState(!!o),2),S=k[0],C=k[1],M=ji(l.useState(!1),2),O=M[0],E=M[1],T=l.useContext(yp),D=T.getPrefixCls,I=T.autoInsertSpaceInButton,P=T.direction,N=e||l.createRef(),A=l.useRef(),z=function(){return 1===l.Children.count(f)&&!h&&!kg(s)};a="object"===Fi(o)&&o.delay?o.delay||!0:!!o,l.useEffect((function(){clearTimeout(A.current),"number"==typeof a?A.current=window.setTimeout((function(){C(a)}),a):C(a)}),[a]),l.useEffect((function(){if(N&&N.current&&!1!==I){var t=N.current.textContent;z()&&_g(t)?O||E(!0):O&&E(!1)}}),[N]);var L=function(e){var n,a=t.onClick,r=t.disabled;S||r?e.preventDefault():null===(n=a)||void 0===n||n(e)};Qd(!("string"==typeof h&&h.length>2),"Button","`icon` is using ReactNode instead of string naming in v4. Please check `".concat(h,"` at https://ant.design/components/icon")),Qd(!(m&&kg(s)),"Button","`link` or `text` button can't be a `ghost` button.");var j=D("btn",i),F=!1!==I,B="";switch(d||_){case"large":B="lg";break;case"small":B="sm"}var V=S?"loading":h,Y=R(j,(Ni(n={},"".concat(j,"-").concat(s),s),Ni(n,"".concat(j,"-").concat(u),u),Ni(n,"".concat(j,"-").concat(B),B),Ni(n,"".concat(j,"-icon-only"),!f&&0!==f&&!!V),Ni(n,"".concat(j,"-background-ghost"),m&&!kg(s)),Ni(n,"".concat(j,"-loading"),S),Ni(n,"".concat(j,"-two-chinese-chars"),O&&F),Ni(n,"".concat(j,"-block"),v),Ni(n,"".concat(j,"-dangerous"),!!c),Ni(n,"".concat(j,"-rtl"),"rtl"===P),n),p),H=h&&!S?h:l.createElement(yg,{existIcon:!!h,prefixCls:j,loading:!!S}),W=f||0===f?function(t,e){var n=!1,a=[];return l.Children.forEach(t,(function(t){var e=Fi(t),r="string"===e||"number"===e;if(n&&r){var o=a.length-1,i=a[o];a[o]="".concat(i).concat(t)}else a.push(t);n=r})),l.Children.map(a,(function(t){return Sg(t,e)}))}(f,z()&&F):null,U=ig(w,["navigate"]);if(void 0!==U.href)return l.createElement("a",Pi({},U,{className:Y,onClick:L,ref:N}),H,W);var G=l.createElement("button",Pi({},w,{type:x,className:Y,onClick:L,ref:N}),H,W);return kg(s)?G:l.createElement(mg,null,G)},Mg=l.forwardRef(Cg);Mg.displayName="Button",Mg.Group=ug,Mg.__ANT_BUTTON=!0;var Og=Mg,Eg=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n},Tg=Og.Group,Dg=function(t){var e=l.useContext(yp),n=e.getPopupContainer,a=e.getPrefixCls,r=e.direction,o=t.prefixCls,i=t.type,s=t.disabled,c=t.onClick,u=t.htmlType,d=t.children,p=t.className,f=t.overlay,h=t.trigger,g=t.align,m=t.visible,b=t.onVisibleChange,v=t.placement,y=t.getPopupContainer,x=t.href,w=t.icon,_=void 0===w?l.createElement(og,null):w,k=t.title,S=t.buttonsRender,C=t.mouseEnterDelay,M=t.mouseLeaveDelay,O=t.overlayClassName,E=t.overlayStyle,T=Eg(t,["prefixCls","type","disabled","onClick","htmlType","children","className","overlay","trigger","align","visible","onVisibleChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle"]),D=a("dropdown-button",o),I={align:g,overlay:f,disabled:s,trigger:s?[]:h,onVisibleChange:b,getPopupContainer:y||n,mouseEnterDelay:C,mouseLeaveDelay:M,overlayClassName:O,overlayStyle:E};"visible"in t&&(I.visible=m),I.placement="placement"in t?v:"rtl"===r?"bottomLeft":"bottomRight";var P=ji(S([l.createElement(Og,{type:i,disabled:s,onClick:c,htmlType:u,href:x,title:k},d),l.createElement(Og,{type:i,icon:_})]),2),N=P[0],A=P[1];return l.createElement(Tg,Pi({},T,{className:R(D,p)}),N,l.createElement(Ng,I,A))};Dg.__ANT_BUTTON=!0,Dg.defaultProps={type:"default",buttonsRender:function(t){return t}};var Ig=Dg;Nh("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight");var Pg=function(t){var e,n,a=l.useContext(yp),r=a.getPopupContainer,o=a.getPrefixCls,i=a.direction,s=t.arrow,c=t.prefixCls,u=t.children,d=t.trigger,p=t.disabled,f=t.getPopupContainer,h=t.overlayClassName,g=o("dropdown",c),m=l.Children.only(u),b=Du(m,{className:R("".concat(g,"-trigger"),Ni({},"".concat(g,"-rtl"),"rtl"===i),m.props.className),disabled:p}),v=R(h,Ni({},"".concat(g,"-rtl"),"rtl"===i)),y=p?[]:d;return y&&-1!==y.indexOf("contextMenu")&&(e=!0),l.createElement(Qh,Pi({arrow:s,alignPoint:e},t,{overlayClassName:v,prefixCls:g,getPopupContainer:f||r,transitionName:function(){var e=o(),n=t.placement,a=void 0===n?"":n,r=t.transitionName;return void 0!==r?r:a.indexOf("top")>=0?"".concat(e,"-slide-down"):"".concat(e,"-slide-up")}(),trigger:y,overlay:function(){return function(e){var n,a=t.overlay;n="function"==typeof a?a():a;var r=(n=l.Children.only("string"==typeof n?l.createElement("span",null,n):n)).props;Qd(!r.mode||"vertical"===r.mode,"Dropdown",'mode="'.concat(r.mode,"\" is not supported for Dropdown's Menu."));var o=r.selectable,i=void 0!==o&&o,s=r.expandIcon,c=void 0!==s&&l.isValidElement(s)?s:l.createElement("span",{className:"".concat(e,"-menu-submenu-arrow")},l.createElement(ng,{className:"".concat(e,"-menu-submenu-arrow-icon")}));return"string"==typeof n.type?n:Du(n,{mode:"vertical",selectable:i,expandIcon:c})}(g)},placement:(n=t.placement,void 0!==n?n:"rtl"===i?"bottomRight":"bottomLeft")}),b)};Pg.Button=Ig,Pg.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1};var Ng=Pg,Ag={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(t){var e=t.keyCode;if(t.altKey&&!t.ctrlKey||t.metaKey||e>=Ag.F1&&e<=Ag.F12)return!1;switch(e){case Ag.ALT:case Ag.CAPS_LOCK:case Ag.CONTEXT_MENU:case Ag.CTRL:case Ag.DOWN:case Ag.END:case Ag.ESC:case Ag.HOME:case Ag.INSERT:case Ag.LEFT:case Ag.MAC_FF_META:case Ag.META:case Ag.NUMLOCK:case Ag.NUM_CENTER:case Ag.PAGE_DOWN:case Ag.PAGE_UP:case Ag.PAUSE:case Ag.PRINT_SCREEN:case Ag.RIGHT:case Ag.SHIFT:case Ag.UP:case Ag.WIN_KEY:case Ag.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=Ag.ZERO&&t<=Ag.NINE)return!0;if(t>=Ag.NUM_ZERO&&t<=Ag.NUM_MULTIPLY)return!0;if(t>=Ag.A&&t<=Ag.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===t)return!0;switch(t){case Ag.SPACE:case Ag.QUESTION_MARK:case Ag.NUM_PLUS:case Ag.NUM_MINUS:case Ag.NUM_PERIOD:case Ag.NUM_DIVISION:case Ag.SEMICOLON:case Ag.DASH:case Ag.EQUALS:case Ag.COMMA:case Ag.PERIOD:case Ag.SLASH:case Ag.APOSTROPHE:case Ag.SINGLE_QUOTE:case Ag.OPEN_SQUARE_BRACKET:case Ag.BACKSLASH:case Ag.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};function zg(){return"function"==typeof BigInt}function Rg(t){var e=t.trim(),n=e.startsWith("-");n&&(e=e.slice(1)),(e=e.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,"")).startsWith(".")&&(e="0".concat(e));var a=e||"0",r=a.split("."),o=r[0]||"0",i=r[1]||"0";"0"===o&&"0"===i&&(n=!1);var l=n?"-":"";return{negative:n,negativeStr:l,trimStr:a,integerStr:o,decimalStr:i,fullStr:"".concat(l).concat(a)}}function Lg(t){var e=String(t);return!Number.isNaN(Number(e))&&e.includes("e")}function jg(t){var e=String(t);if(Lg(t)){var n=Number(e.slice(e.indexOf("e-")+2)),a=e.match(/\.(\d+)/);return(null==a?void 0:a[1])&&(n+=a[1].length),n}return e.includes(".")&&Bg(e)?e.length-e.indexOf(".")-1:0}function Fg(t){var e=String(t);if(Lg(t)){if(t>Number.MAX_SAFE_INTEGER)return String(zg()?BigInt(t).toString():Number.MAX_SAFE_INTEGER);if(t<Number.MIN_SAFE_INTEGER)return String(zg()?BigInt(t).toString():Number.MIN_SAFE_INTEGER);e=t.toFixed(jg(e))}return Rg(e).fullStr}function Bg(t){return"number"==typeof t?!Number.isNaN(t):!!t&&(/^\s*-?\d+(\.\d+)?\s*$/.test(t)||/^\s*-?\d+\.\s*$/.test(t)||/^\s*-?\.\d+\s*$/.test(t))}var Vg=function(){function t(e){Hi(this,t),this.origin="",(e||0===e)&&String(e).trim()?(this.origin=String(e),this.number=Number(e)):this.empty=!0}return Ui(t,[{key:"negate",value:function(){return new t(-this.toNumber())}},{key:"add",value:function(e){if(this.isInvalidate())return new t(e);var n=Number(e);if(Number.isNaN(n))return this;var a=this.number+n;if(a>Number.MAX_SAFE_INTEGER)return new t(Number.MAX_SAFE_INTEGER);if(a<Number.MIN_SAFE_INTEGER)return new t(Number.MIN_SAFE_INTEGER);var r=Math.max(jg(this.number),jg(n));return new t(a.toFixed(r))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return Number.isNaN(this.number)}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(t){return this.toNumber()===(null==t?void 0:t.toNumber())}},{key:"lessEquals",value:function(t){return this.add(t.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return t?this.isInvalidate()?"":Fg(this.number):this.origin}}]),t}(),Yg=function(){function t(e){if(Hi(this,t),this.origin="",(e||0===e)&&String(e).trim())if(this.origin=String(e),"-"!==e){var n=e;if(Lg(n)&&(n=Number(n)),Bg(n="string"==typeof n?n:Fg(n))){var a=Rg(n);this.negative=a.negative;var r=a.trimStr.split(".");this.integer=BigInt(r[0]);var o=r[1]||"0";this.decimal=BigInt(o),this.decimalLen=o.length}else this.nan=!0}else this.nan=!0;else this.empty=!0}return Ui(t,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(t){var e="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(t,"0"));return BigInt(e)}},{key:"negate",value:function(){var e=new t(this.toString());return e.negative=!e.negative,e}},{key:"add",value:function(e){if(this.isInvalidate())return new t(e);var n=new t(e);if(n.isInvalidate())return this;var a=Math.max(this.getDecimalStr().length,n.getDecimalStr().length),r=Rg((this.alignDecimal(a)+n.alignDecimal(a)).toString()),o=r.negativeStr,i=r.trimStr,l="".concat(o).concat(i.padStart(a+1,"0"));return new t("".concat(l.slice(0,-a),".").concat(l.slice(-a)))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(t){return this.toString()===(null==t?void 0:t.toString())}},{key:"lessEquals",value:function(t){return this.add(t.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return t?this.isInvalidate()?"":Rg("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),t}();function Hg(t){return zg()?new Yg(t):new Vg(t)}function Wg(t,e,n){if(""===t)return"";var a=Rg(t),r=a.negativeStr,o=a.integerStr,i=a.decimalStr,l="".concat(e).concat(i),s="".concat(r).concat(o);if(n>=0){var c=Number(i[n]);return c>=5?Wg(Hg(t).add("0.".concat("0".repeat(n)).concat(10-c)).toString(),e,n):0===n?s:"".concat(s).concat(e).concat(i.padEnd(n,"0").slice(0,n))}return".0"===l?s:"".concat(s).concat(l)}function Ug(t){var e=t.prefixCls,n=t.upNode,a=t.downNode,r=t.upDisabled,o=t.downDisabled,i=t.onStep,s=l.useRef(),c=l.useRef();c.current=i;var u=function(t,e){t.preventDefault(),c.current(e),s.current=setTimeout((function t(){c.current(e),s.current=setTimeout(t,200)}),600)},d=function(){clearTimeout(s.current)};if(l.useEffect((function(){return d}),[]),jl())return null;var p="".concat(e,"-handler"),f=R(p,"".concat(p,"-up"),Ni({},"".concat(p,"-up-disabled"),r)),h=R(p,"".concat(p,"-down"),Ni({},"".concat(p,"-down-disabled"),o)),g={unselectable:"on",role:"button",onMouseUp:d,onMouseLeave:d};return l.createElement("div",{className:"".concat(p,"-wrap")},l.createElement("span",Pi({},g,{onMouseDown:function(t){u(t,!0)},"aria-label":"Increase Value","aria-disabled":r,className:f}),n||l.createElement("span",{unselectable:"on",className:"".concat(e,"-handler-up-inner")})),l.createElement("span",Pi({},g,{onMouseDown:function(t){u(t,!1)},"aria-label":"Decrease Value","aria-disabled":o,className:h}),a||l.createElement("span",{unselectable:"on",className:"".concat(e,"-handler-down-inner")})))}var Gg=zl()?l.useLayoutEffect:l.useEffect;function Kg(t,e){var n=l.useRef(!1);Gg((function(){if(n.current)return t();n.current=!0}),e)}var qg=function(t,e){return t||e.isEmpty()?e.toString():e.toNumber()},Xg=function(t){var e=Hg(t);return e.isInvalidate()?null:e},Zg=l.forwardRef((function(e,n){var a,r=e.prefixCls,o=void 0===r?"rc-input-number":r,i=e.className,s=e.style,c=e.min,u=e.max,d=e.step,p=void 0===d?1:d,f=e.defaultValue,h=e.value,g=e.disabled,m=e.readOnly,b=e.upHandler,v=e.downHandler,y=e.keyboard,x=e.stringMode,w=e.parser,_=e.formatter,k=e.precision,S=e.decimalSeparator,C=e.onChange,M=e.onInput,O=e.onPressEnter,E=e.onStep,T=Yi(e,["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"]),D="".concat(o,"-input"),I=l.useRef(null),P=ji(l.useState(!1),2),N=P[0],A=P[1],z=l.useRef(!1),L=l.useRef(!1),j=ji(l.useState((function(){return Hg(null!=h?h:f)})),2),F=j[0],B=j[1];var V=l.useCallback((function(t,e){if(!e)return k>=0?k:Math.max(jg(t),jg(p))}),[k,p]),Y=l.useCallback((function(t){var e=String(t);if(w)return w(e);var n=e;return S&&(n=n.replace(S,".")),n.replace(/[^\w.-]+/g,"")}),[w,S]),H=l.useCallback((function(t,e){if(_)return _(t);var n="number"==typeof t?Fg(t):t;if(!e){var a=V(n,e);if(Bg(n)&&(S||a>=0))n=Wg(n,S||".",a)}return n}),[_,V,S]),W=ji(l.useState((function(){var t=null!=f?f:h;return F.isInvalidate()&&["string","number"].includes(Fi(t))?Number.isNaN(t)?"":t:H(F.toString(),!1)})),2),U=W[0],G=W[1];function K(t,e){G(H(t.isInvalidate()?t.toString(!1):t.toString(!e),e))}var q,X,Z,J=l.useMemo((function(){return Xg(u)}),[u]),$=l.useMemo((function(){return Xg(c)}),[c]),Q=l.useMemo((function(){return!(!J||!F||F.isInvalidate())&&J.lessEquals(F)}),[J,F]),tt=l.useMemo((function(){return!(!$||!F||F.isInvalidate())&&F.lessEquals($)}),[$,F]),et=(q=I.current,X=N,Z=t.useRef(null),[function(){try{var t=q.selectionStart,e=q.selectionEnd,n=q.value,a=n.substring(0,t),r=n.substring(e);Z.current={start:t,end:e,value:n,beforeTxt:a,afterTxt:r}}catch(t){}},function(){if(q&&Z.current&&X)try{var t=q.value,e=Z.current,n=e.beforeTxt,a=e.afterTxt,r=e.start,o=t.length;if(t.endsWith(a))o=t.length-Z.current.afterTxt.length;else if(t.startsWith(n))o=n.length;else{var i=n[r-1],l=t.indexOf(i,r-1);-1!==l&&(o=l+1)}q.setSelectionRange(o,o)}catch(t){Fu(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(t.message))}}]),nt=ji(et,2),at=nt[0],rt=nt[1],ot=function(t){return J&&!t.lessEquals(J)?J:$&&!$.lessEquals(t)?$:null},it=function(t){return!ot(t)},lt=function(t,e){var n,a=t,r=it(a)||a.isEmpty();if(a.isEmpty()||e||(a=ot(a)||a,r=!0),!m&&!g&&r){var o=a.toString(),i=V(o,e);return i>=0&&(a=Hg(Wg(o,".",i))),a.equals(F)||(n=a,void 0===h&&B(n),null==C||C(a.isEmpty()?null:qg(x,a)),void 0===h&&K(a,e)),a}return F},st=function(t){if(at(),G(t),!L.current){var e=Hg(Y(t));e.isNaN()||lt(e,!0)}},ct=function(t){var e;if(!(t&&Q||!t&&tt)){z.current=!1;var n=Hg(p);t||(n=n.negate());var a=(F||Hg(0)).add(n.toString()),r=lt(a,!1);null==E||E(qg(x,r),{offset:p,type:t?"up":"down"}),null===(e=I.current)||void 0===e||e.focus()}},ut=function(t){var e=Hg(Y(U)),n=e;n=e.isNaN()?F:lt(e,t),void 0!==h?K(F,!1):n.isNaN()||K(n,!1)};return Kg((function(){F.isInvalidate()||K(F,!1)}),[k]),Kg((function(){var t=Hg(h);B(t),(t.isNaN()||!z.current||_)&&K(t,!1)}),[h]),Kg((function(){_&&rt()}),[U]),l.createElement("div",{className:R(o,i,(a={},Ni(a,"".concat(o,"-focused"),N),Ni(a,"".concat(o,"-disabled"),g),Ni(a,"".concat(o,"-readonly"),m),Ni(a,"".concat(o,"-not-a-number"),F.isNaN()),Ni(a,"".concat(o,"-out-of-range"),!F.isInvalidate()&&!it(F)),a)),style:s,onFocus:function(){A(!0)},onBlur:function(){ut(!1),A(!1),z.current=!1},onKeyDown:function(t){var e=t.which;z.current=!0,e===Ag.ENTER&&(L.current||(z.current=!1),ut(!0),null==O||O(t)),!1!==y&&!L.current&&[Ag.UP,Ag.DOWN].includes(e)&&(ct(Ag.UP===e),t.preventDefault())},onKeyUp:function(){z.current=!1},onCompositionStart:function(){L.current=!0},onCompositionEnd:function(){L.current=!1,st(I.current.value)}},l.createElement(Ug,{prefixCls:o,upNode:b,downNode:v,upDisabled:Q,downDisabled:tt,onStep:ct}),l.createElement("div",{className:"".concat(D,"-wrap")},l.createElement("input",Pi({autoComplete:"off",role:"spinbutton","aria-valuemin":c,"aria-valuemax":u,"aria-valuenow":F.isInvalidate()?null:F.toString(),step:p},T,{ref:Pl(I,n),className:D,value:U,onChange:function(t){var e=t.target.value;w||(e=e.replace(/。/g,".")),st(e),null==M||M(e)},disabled:g,readOnly:m}))))}));Zg.displayName="InputNumber";var Jg={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},$g=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:Jg}))};$g.displayName="UpOutlined";var Qg=l.forwardRef($g),tm={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},em=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:tm}))};em.displayName="DownOutlined";var nm=l.forwardRef(em),am=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n},rm=l.forwardRef((function(t,e){var n,a=l.useContext(yp),r=a.getPrefixCls,o=a.direction,i=l.useContext(kp),s=t.className,c=t.size,u=t.prefixCls,d=t.bordered,p=void 0===d||d,f=t.readOnly,h=am(t,["className","size","prefixCls","bordered","readOnly"]),g=r("input-number",u),m=l.createElement(Qg,{className:"".concat(g,"-handler-up-inner")}),b=l.createElement(nm,{className:"".concat(g,"-handler-down-inner")}),v=c||i,y=R((Ni(n={},"".concat(g,"-lg"),"large"===v),Ni(n,"".concat(g,"-sm"),"small"===v),Ni(n,"".concat(g,"-rtl"),"rtl"===o),Ni(n,"".concat(g,"-readonly"),f),Ni(n,"".concat(g,"-borderless"),!p),n),s);return l.createElement(Zg,Pi({ref:e,className:y,upHandler:m,downHandler:b,prefixCls:g,readOnly:f},h))})),om=function(t){qi(n,t);var e=Qi(n);function n(){var t;Hi(this,n);for(var a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))).resizeObserver=null,t.childNode=null,t.currentElement=null,t.state={width:0,height:0,offsetHeight:0,offsetWidth:0},t.onResize=function(e){var n=t.props.onResize,a=e[0].target,r=a.getBoundingClientRect(),o=r.width,i=r.height,l=a.offsetWidth,s=a.offsetHeight,c=Math.floor(o),u=Math.floor(i);if(t.state.width!==c||t.state.height!==u||t.state.offsetWidth!==l||t.state.offsetHeight!==s){var d={width:c,height:u,offsetWidth:l,offsetHeight:s};if(t.setState(d),n){var p=l===Math.round(o)?o:l,f=s===Math.round(i)?i:s;Promise.resolve().then((function(){n(Vi(Vi({},d),{},{offsetWidth:p,offsetHeight:f}),a)}))}}},t.setChildNode=function(e){t.childNode=e},t}return Ui(n,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){if(this.props.disabled)this.destroyObserver();else{var t=ll(this.childNode||this);t!==this.currentElement&&(this.destroyObserver(),this.currentElement=t),!this.resizeObserver&&t&&(this.resizeObserver=new Jc(this.onResize),this.resizeObserver.observe(t))}}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var t=Au(this.props.children);if(t.length>1)Fu(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(0===t.length)return Fu(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var e=t[0];if(l.isValidElement(e)&&Nl(e)){var n=e.ref;t[0]=l.cloneElement(e,{ref:Pl(n,this.setChildNode)})}return 1===t.length?t[0]:t.map((function(t,e){return!l.isValidElement(t)||"key"in t&&null!==t.key?t:l.cloneElement(t,{key:"".concat("rc-observer-key","-").concat(e)})}))}}]),n}(l.Component);function im(e){var n=t.useRef(),a=t.useRef(!1);return t.useEffect((function(){return function(){a.current=!0,ol.cancel(n.current)}}),[]),function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];a.current||(ol.cancel(n.current),n.current=ol((function(){e.apply(void 0,r)})))}}function lm(t,e){var n,a=t.prefixCls,r=t.id,o=t.active,i=t.tab,s=i.key,c=i.tab,u=i.disabled,d=i.closeIcon,p=t.closable,f=t.renderWrapper,h=t.removeAriaLabel,g=t.editable,m=t.onClick,b=t.onRemove,v=t.onFocus,y=t.style,x=t.className,w="".concat(a,"-tab");l.useEffect((function(){return b}),[]);var _=g&&!1!==p&&!u;function k(t){u||m(t)}var S=l.createElement("div",{key:s,ref:e,className:R(w,x,(n={},Ni(n,"".concat(w,"-with-remove"),_),Ni(n,"".concat(w,"-active"),o),Ni(n,"".concat(w,"-disabled"),u),n)),style:y,onClick:k},l.createElement("div",{role:"tab","aria-selected":o,id:r&&"".concat(r,"-tab-").concat(s),className:"".concat(w,"-btn"),"aria-controls":r&&"".concat(r,"-panel-").concat(s),"aria-disabled":u,tabIndex:u?null:0,onClick:function(t){t.stopPropagation(),k(t)},onKeyDown:function(t){[Ag.SPACE,Ag.ENTER].includes(t.which)&&(t.preventDefault(),k(t))},onFocus:v},c),_&&l.createElement("button",{type:"button","aria-label":h||"remove",tabIndex:0,className:"".concat(w,"-remove"),onClick:function(t){var e;t.stopPropagation(),(e=t).preventDefault(),e.stopPropagation(),g.onEdit("remove",{key:s,event:e})}},d||g.removeIcon||"×"));return f?f(S):S}om.displayName="ResizeObserver";var sm=l.forwardRef(lm),cm={width:0,height:0,left:0,top:0};var um={width:0,height:0,left:0,top:0,right:0};var dm=function(t,e,n,a){var r=n?n.call(a,t,e):void 0;if(void 0!==r)return!!r;if(t===e)return!0;if("object"!=typeof t||!t||"object"!=typeof e||!e)return!1;var o=Object.keys(t),i=Object.keys(e);if(o.length!==i.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(e),s=0;s<o.length;s++){var c=o[s];if(!l(c))return!1;var u=t[c],d=e[c];if(!1===(r=n?n.call(a,u,d,c):void 0)||void 0===r&&u!==d)return!1}return!0},pm=void 0;function fm(t,e){var n=t.prefixCls,a=t.invalidate,r=t.item,o=t.renderItem,i=t.responsive,s=t.registerSize,c=t.itemKey,u=t.className,d=t.style,p=t.children,f=t.display,h=t.order,g=t.component,m=void 0===g?"div":g,b=Yi(t,["prefixCls","invalidate","item","renderItem","responsive","registerSize","itemKey","className","style","children","display","order","component"]),v=i&&!f;function y(t){s(c,t)}l.useEffect((function(){return function(){y(null)}}),[]);var x,w=o&&r!==pm?o(r):p;a||(x={opacity:v?0:1,height:v?0:pm,overflowY:v?"hidden":pm,order:i?h:pm,pointerEvents:v?"none":pm,position:v?"absolute":pm});var _={};v&&(_["aria-hidden"]=!0);var k=l.createElement(m,Pi({className:R(!a&&n,u),style:Vi(Vi({},x),d)},_,b,{ref:e}),w);return i&&(k=l.createElement(om,{onResize:function(t){y(t.offsetWidth)}},k)),k}var hm=l.forwardRef(fm);hm.displayName="Item";var gm=function(t,e){var n=l.useContext(bm);if(!n){var a=t.component,r=void 0===a?"div":a,o=Yi(t,["component"]);return l.createElement(r,Pi({},o,{ref:e}))}var i=n.className,s=Yi(n,["className"]),c=t.className,u=Yi(t,["className"]);return l.createElement(bm.Provider,{value:null},l.createElement(hm,Pi({ref:e,className:R(i,c)},s,u)))},mm=l.forwardRef(gm);mm.displayName="RawItem";var bm=l.createContext(null),vm="responsive",ym="invalidate";function xm(t){return"+ ".concat(t.length," ...")}function wm(e,n){var a,r,o,i,s,c=e.prefixCls,u=void 0===c?"rc-overflow":c,d=e.data,p=void 0===d?[]:d,f=e.renderItem,h=e.renderRawItem,g=e.itemKey,m=e.itemWidth,b=void 0===m?10:m,v=e.ssr,y=e.style,x=e.className,w=e.maxCount,_=e.renderRest,k=e.renderRawRest,S=e.suffix,C=e.component,M=void 0===C?"div":C,O=e.itemComponent,E=e.onVisibleChange,T=Yi(e,["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"]),D=(a=ji(t.useState({}),2)[1],r=t.useRef([]),o=t.useRef(!1),i=0,s=0,t.useEffect((function(){return function(){o.current=!0}}),[]),function(t){var e=i;return i+=1,r.current.length<e+1&&(r.current[e]=t),[r.current[e],function(t){r.current[e]="function"==typeof t?t(r.current[e]):t,ol.cancel(s),s=ol((function(){o.current||a({})}))}]}),I="full"===v,P=ji(D(null),2),N=P[0],A=P[1],z=N||0,L=ji(D(new Map),2),j=L[0],F=L[1],B=ji(D(0),2),V=B[0],Y=B[1],H=ji(D(0),2),W=H[0],U=H[1],G=ji(D(0),2),K=G[0],q=G[1],X=ji(t.useState(null),2),Z=X[0],J=X[1],$=ji(t.useState(null),2),Q=$[0],tt=$[1],et=l.useMemo((function(){return null===Q&&I?Number.MAX_SAFE_INTEGER:Q||0}),[Q,N]),nt=ji(t.useState(!1),2),at=nt[0],rt=nt[1],ot="".concat(u,"-item"),it=Math.max(V,W),lt=p.length&&w===vm,st=w===ym,ct=lt||"number"==typeof w&&p.length>w,ut=t.useMemo((function(){var t=p;return lt?t=null===N&&I?p:p.slice(0,Math.min(p.length,z/b)):"number"==typeof w&&(t=p.slice(0,w)),t}),[p,b,N,w,lt]),dt=t.useMemo((function(){return lt?p.slice(et+1):p.slice(ut.length)}),[p,ut,lt,et]),pt=t.useCallback((function(t,e){var n;return"function"==typeof g?g(t):null!==(n=g&&(null==t?void 0:t[g]))&&void 0!==n?n:e}),[g]),ft=t.useCallback(f||function(t){return t},[f]);function ht(t,e){tt(t),e||(rt(t<p.length-1),null==E||E(t))}function gt(t,e){F((function(n){var a=new Map(n);return null===e?a.delete(t):a.set(t,e),a}))}function mt(t){return j.get(pt(ut[t],t))}l.useLayoutEffect((function(){if(z&&it&&ut){var t=K,e=ut.length,n=e-1;if(!e)return ht(0),void J(null);for(var a=0;a<e;a+=1){var r=mt(a);if(void 0===r){ht(a-1,!0);break}if(t+=r,0===n&&t<=z||a===n-1&&t+mt(n)<=z){ht(n),J(null);break}if(t+it>z){ht(a-1),J(t-r-K+W);break}}S&&mt(0)+K>z&&J(null)}}),[z,j,W,K,pt,ut]);var bt=at&&!!dt.length,vt={};null!==Z&&lt&&(vt={position:"absolute",left:Z,top:0});var yt,xt={prefixCls:ot,responsive:lt,component:O,invalidate:st},wt=h?function(t,e){var n=pt(t,e);return l.createElement(bm.Provider,{key:n,value:Vi(Vi({},xt),{},{order:e,item:t,itemKey:n,registerSize:gt,display:e<=et})},h(t,e))}:function(t,e){var n=pt(t,e);return l.createElement(hm,Pi({},xt,{order:e,key:n,item:t,renderItem:ft,itemKey:n,registerSize:gt,display:e<=et}))},_t={order:bt?et:Number.MAX_SAFE_INTEGER,className:"".concat(ot,"-rest"),registerSize:function(t,e){U(e),Y(W)},display:bt};if(k)k&&(yt=l.createElement(bm.Provider,{value:Vi(Vi({},xt),_t)},k(dt)));else{var kt=_||xm;yt=l.createElement(hm,Pi({},xt,_t),"function"==typeof kt?kt(dt):kt)}var St=l.createElement(M,Pi({className:R(!st&&u,x),style:y,ref:n},T),ut.map(wt),ct?yt:null,S&&l.createElement(hm,Pi({},xt,{order:et,className:"".concat(ot,"-suffix"),registerSize:function(t,e){q(e)},display:!0,style:vt}),S));return lt&&(St=l.createElement(om,{onResize:function(t,e){A(e.clientWidth)}},St)),St}var _m=l.forwardRef(wm);_m.displayName="Overflow",_m.Item=mm,_m.RESPONSIVE=vm,_m.INVALIDATE=ym;var km=["children","locked"],Sm=l.createContext(null);function Cm(t){var e=t.children,n=t.locked,a=Yi(t,km),r=l.useContext(Sm),o=$d((function(){return function(t,e){var n=Vi({},t);return Object.keys(e).forEach((function(t){var a=e[t];void 0!==a&&(n[t]=a)})),n}(r,a)}),[r,a],(function(t,e){return!(n||t[0]===e[0]&&dm(t[1],e[1]))}));return l.createElement(Sm.Provider,{value:o},e)}function Mm(t,e,n,a){var r=l.useContext(Sm),o=r.activeKey,i=r.onActive,s=r.onInactive,c={active:o===t};return e||(c.onMouseEnter=function(e){null==n||n({key:t,domEvent:e}),i(t)},c.onMouseLeave=function(e){null==a||a({key:t,domEvent:e}),s(t)}),c}var Om=["item"];function Em(t){var e=t.item,n=Yi(t,Om);return Object.defineProperty(n,"item",{get:function(){return Fu(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),e}}),n}function Tm(t){var e=t.icon,n=t.props,a=t.children;return("function"==typeof e?l.createElement(e,Vi({},n)):e)||a||null}function Dm(t){var e=l.useContext(Sm),n=e.mode,a=e.rtl,r=e.inlineIndent;if("inline"!==n)return null;return a?{paddingRight:t*r}:{paddingLeft:t*r}}var Im=[],Pm=l.createContext(null);function Nm(){return l.useContext(Pm)}var Am=l.createContext(Im);function zm(t){var e=l.useContext(Am);return l.useMemo((function(){return void 0!==t?[].concat(Nu(e),[t]):e}),[e,t])}var Rm=l.createContext(null),Lm=l.createContext(null);function jm(t,e){return void 0===t?null:"".concat(t,"-").concat(e)}function Fm(t){return jm(l.useContext(Lm),t)}var Bm=["title","attribute","elementRef"],Vm=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],Ym=["active"],Hm=function(t){qi(n,t);var e=Qi(n);function n(){return Hi(this,n),e.apply(this,arguments)}return Ui(n,[{key:"render",value:function(){var t=this.props,e=t.title,n=t.attribute,a=t.elementRef,r=ig(Yi(t,Bm),["eventKey"]);return Fu(!n,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),l.createElement(_m.Item,Pi({},n,{title:"string"==typeof e?e:void 0},r,{ref:a}))}}]),n}(l.Component),Wm=function(t){var e,n=t.style,a=t.className,r=t.eventKey;t.warnKey;var o=t.disabled,i=t.itemIcon,s=t.children,c=t.role,u=t.onMouseEnter,d=t.onMouseLeave,p=t.onClick,f=t.onKeyDown,h=t.onFocus,g=Yi(t,Vm),m=Fm(r),b=l.useContext(Sm),v=b.prefixCls,y=b.onItemClick,x=b.disabled,w=b.overflowDisabled,_=b.itemIcon,k=b.selectedKeys,S=b.onActive,C="".concat(v,"-item"),M=l.useRef(),O=l.useRef(),E=x||o,T=zm(r),D=function(t){return{key:r,keyPath:Nu(T).reverse(),item:M.current,domEvent:t}},I=i||_,P=Mm(r,E,u,d),N=P.active,A=Yi(P,Ym),z=k.includes(r),L=Dm(T.length),j={};return"option"===t.role&&(j["aria-selected"]=z),l.createElement(Hm,Pi({ref:M,elementRef:O,role:null===c?"none":c||"menuitem",tabIndex:o?null:-1,"data-menu-id":w&&m?null:m},g,A,j,{component:"li","aria-disabled":o,style:Vi(Vi({},L),n),className:R(C,(e={},Ni(e,"".concat(C,"-active"),N),Ni(e,"".concat(C,"-selected"),z),Ni(e,"".concat(C,"-disabled"),E),e),a),onClick:function(t){if(!E){var e=D(t);null==p||p(Em(e)),y(e)}},onKeyDown:function(t){if(null==f||f(t),t.which===Ag.ENTER){var e=D(t);null==p||p(Em(e)),y(e)}},onFocus:function(t){S(r),null==h||h(t)}}),s,l.createElement(Tm,{props:Vi(Vi({},t),{},{isSelected:z}),icon:I}))};function Um(t){var e=t.eventKey,n=Nm(),a=zm(e);return l.useEffect((function(){if(n)return n.registerPath(e,a),function(){n.unregisterPath(e,a)}}),[a]),n?null:l.createElement(Wm,t)}function Gm(t,e){return Au(t).map((function(t,n){if(l.isValidElement(t)){var a,r,o=t.key,i=null!==(a=null===(r=t.props)||void 0===r?void 0:r.eventKey)&&void 0!==a?a:o;null==i&&(i="tmp_key-".concat([].concat(Nu(e),[n]).join("-")));var s={key:i,eventKey:i};return l.cloneElement(t,s)}return t}))}function Km(t){var e=l.useRef(t);e.current=t;var n=l.useCallback((function(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return null===(t=e.current)||void 0===t?void 0:t.call.apply(t,[e].concat(a))}),[]);return t?n:void 0}var qm=["className","children"],Xm=function(t,e){var n=t.className,a=t.children,r=Yi(t,qm),o=l.useContext(Sm),i=o.prefixCls,s=o.mode,c=o.rtl;return l.createElement("ul",Pi({className:R(i,c&&"".concat(i,"-rtl"),"".concat(i,"-sub"),"".concat(i,"-").concat("inline"===s?"inline":"vertical"),n)},r,{"data-menu-list":!0,ref:e}),a)},Zm=l.forwardRef(Xm);Zm.displayName="SubMenuList";var Jm={adjustX:1,adjustY:1},$m={topLeft:{points:["bl","tl"],overflow:Jm,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Jm,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:Jm,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:Jm,offset:[4,0]}},Qm={topLeft:{points:["bl","tl"],overflow:Jm,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Jm,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:Jm,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:Jm,offset:[4,0]}};function tb(t,e,n){return e||(n?n[t]||n.other:void 0)}var eb={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function nb(t){var e=t.prefixCls,n=t.visible,a=t.children,r=t.popup,o=t.popupClassName,i=t.popupOffset,s=t.disabled,c=t.mode,u=t.onVisibleChange,d=l.useContext(Sm),p=d.getPopupContainer,f=d.rtl,h=d.subMenuOpenDelay,g=d.subMenuCloseDelay,m=d.builtinPlacements,b=d.triggerSubMenuAction,v=d.forceSubMenuRender,y=d.motion,x=d.defaultMotions,w=ji(l.useState(!1),2),_=w[0],k=w[1],S=Vi(Vi({},f?Qm:$m),m),C=eb[c],M=Vi(Vi({},tb(c,y,x)),{},{leavedClassName:"".concat(e,"-hidden"),removeOnLeave:!1,motionAppear:!0}),O=l.useRef();return l.useEffect((function(){return O.current=ol((function(){k(n)})),function(){ol.cancel(O.current)}}),[n]),l.createElement(bu,{prefixCls:e,popupClassName:R("".concat(e,"-popup"),Ni({},"".concat(e,"-rtl"),f),o),stretch:"horizontal"===c?"minWidth":null,getPopupContainer:p,builtinPlacements:S,popupPlacement:C,popupVisible:_,popup:r,popupAlign:i&&{offset:i},action:s?[]:[b],mouseEnterDelay:h,mouseLeaveDelay:g,onPopupVisibleChange:u,forceRender:v,popupMotion:M},a)}function ab(t){var e=t.id,n=t.open,a=t.keyPath,r=t.children,o="inline",i=l.useContext(Sm),s=i.prefixCls,c=i.forceSubMenuRender,u=i.motion,d=i.defaultMotions,p=i.mode,f=l.useRef(!1);f.current=p===o;var h=ji(l.useState(!f.current),2),g=h[0],m=h[1],b=!!f.current&&n;l.useEffect((function(){f.current&&m(!1)}),[p]);var v=Vi({},tb(o,u,d));a.length>1&&(v.motionAppear=!1);var y=v.onVisibleChanged;return v.onVisibleChanged=function(t){return f.current||t||m(!0),null==y?void 0:y(t)},g?null:l.createElement(Cm,{mode:o,locked:!f.current},l.createElement(ms,Pi({visible:b},v,{forceRender:c,removeOnLeave:!1,leavedClassName:"".concat(s,"-hidden")}),(function(t){var n=t.className,a=t.style;return l.createElement(Zm,{id:e,className:n,style:a},r)})))}var rb=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],ob=["active"],ib=function(t){var e,n=t.style,a=t.className,r=t.title,o=t.eventKey;t.warnKey;var i=t.disabled,s=t.internalPopupClose,c=t.children,u=t.itemIcon,d=t.expandIcon,p=t.popupClassName,f=t.popupOffset,h=t.onClick,g=t.onMouseEnter,m=t.onMouseLeave,b=t.onTitleClick,v=t.onTitleMouseEnter,y=t.onTitleMouseLeave,x=Yi(t,rb),w=Fm(o),_=l.useContext(Sm),k=_.prefixCls,S=_.mode,C=_.openKeys,M=_.disabled,O=_.overflowDisabled,E=_.activeKey,T=_.selectedKeys,D=_.itemIcon,I=_.expandIcon,P=_.onItemClick,N=_.onOpenChange,A=_.onActive,z=l.useContext(Rm).isSubPathKey,L=zm(),j="".concat(k,"-submenu"),F=M||i,B=l.useRef(),V=l.useRef(),Y=u||D,H=d||I,W=C.includes(o),U=!O&&W,G=z(T,o),K=Mm(o,F,v,y),q=K.active,X=Yi(K,ob),Z=ji(l.useState(!1),2),J=Z[0],$=Z[1],Q=function(t){F||$(t)},tt=l.useMemo((function(){return q||"inline"!==S&&(J||z([E],o))}),[S,q,E,J,o,z]),et=Dm(L.length),nt=Km((function(t){null==h||h(Em(t)),P(t)})),at=w&&"".concat(w,"-popup"),rt=l.createElement("div",Pi({role:"menuitem",style:et,className:"".concat(j,"-title"),tabIndex:F?null:-1,ref:B,title:"string"==typeof r?r:null,"data-menu-id":O&&w?null:w,"aria-expanded":U,"aria-haspopup":!0,"aria-controls":at,"aria-disabled":F,onClick:function(t){F||(null==b||b({key:o,domEvent:t}),"inline"===S&&N(o,!W))},onFocus:function(){A(o)}},X),r,l.createElement(Tm,{icon:"horizontal"!==S?H:null,props:Vi(Vi({},t),{},{isOpen:U,isSubMenu:!0})},l.createElement("i",{className:"".concat(j,"-arrow")}))),ot=l.useRef(S);if("inline"!==S&&(ot.current=L.length>1?"vertical":S),!O){var it=ot.current;rt=l.createElement(nb,{mode:it,prefixCls:j,visible:!s&&U&&"inline"!==S,popupClassName:p,popupOffset:f,popup:l.createElement(Cm,{mode:"horizontal"===it?"vertical":it},l.createElement(Zm,{id:at,ref:V},c)),disabled:F,onVisibleChange:function(t){"inline"!==S&&N(o,t)}},rt)}return l.createElement(Cm,{onItemClick:nt,mode:"horizontal"===S?"vertical":S,itemIcon:Y,expandIcon:H},l.createElement(_m.Item,Pi({role:"none"},x,{component:"li",style:n,className:R(j,"".concat(j,"-").concat(S),a,(e={},Ni(e,"".concat(j,"-open"),U),Ni(e,"".concat(j,"-active"),tt),Ni(e,"".concat(j,"-selected"),G),Ni(e,"".concat(j,"-disabled"),F),e)),onMouseEnter:function(t){Q(!0),null==g||g({key:o,domEvent:t})},onMouseLeave:function(t){Q(!1),null==m||m({key:o,domEvent:t})}}),rt,!O&&l.createElement(ab,{id:at,open:U,keyPath:L},c)))};function lb(t){var e,n=t.eventKey,a=t.children,r=zm(n),o=Gm(a,r),i=Nm();return l.useEffect((function(){if(i)return i.registerPath(n,r),function(){i.unregisterPath(n,r)}}),[r]),e=i?o:l.createElement(ib,t,o),l.createElement(Am.Provider,{value:r},e)}function sb(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(Ts(t)){var n=t.nodeName.toLowerCase(),a=["input","select","textarea","button"].includes(n)||t.isContentEditable||"a"===n&&!!t.getAttribute("href"),r=t.getAttribute("tabindex"),o=Number(r),i=null;return r&&!Number.isNaN(o)?i=o:a&&null===i&&(i=0),a&&t.disabled&&(i=null),null!==i&&(i>=0||e&&i<0)}return!1}var cb=Ag.LEFT,ub=Ag.RIGHT,db=Ag.UP,pb=Ag.DOWN,fb=Ag.ENTER,hb=Ag.ESC,gb=[db,pb,cb,ub];function mb(t,e){var n=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Nu(t.querySelectorAll("*")).filter((function(t){return sb(t,e)}));return sb(t,e)&&n.unshift(t),n}(t,!0);return n.filter((function(t){return e.has(t)}))}function bb(t,e,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!t)return null;var r=mb(t,e),o=r.length,i=r.findIndex((function(t){return n===t}));return a<0?-1===i?i=o-1:i-=1:a>0&&(i+=1),r[i=(i+o)%o]}function vb(t,e,n,a,r,o,i,s,c,u){var d=l.useRef(),p=l.useRef();p.current=e;var f=function(){ol.cancel(d.current)};return l.useEffect((function(){return function(){f()}}),[]),function(l){var h=l.which;if([].concat(gb,[fb,hb]).includes(h)){var g,m,b,v=function(){return g=new Set,m=new Map,b=new Map,o().forEach((function(t){var e=document.querySelector("[data-menu-id='".concat(jm(a,t),"']"));e&&(g.add(e),b.set(e,t),m.set(t,e))})),g};v();var y=function(t,e){for(var n=t||document.activeElement;n;){if(e.has(n))return n;n=n.parentElement}return null}(m.get(e),g),x=b.get(y),w=function(t,e,n,a){var r,o,i,l,s="prev",c="next",u="children",d="parent";if("inline"===t&&a===fb)return{inlineTrigger:!0};var p=(Ni(r={},db,s),Ni(r,pb,c),r),f=(Ni(o={},cb,n?c:s),Ni(o,ub,n?s:c),Ni(o,pb,u),Ni(o,fb,u),o),h=(Ni(i={},db,s),Ni(i,pb,c),Ni(i,fb,u),Ni(i,hb,d),Ni(i,cb,n?u:d),Ni(i,ub,n?d:u),i);switch(null===(l={inline:p,horizontal:f,vertical:h,inlineSub:p,horizontalSub:h,verticalSub:h}["".concat(t).concat(e?"":"Sub")])||void 0===l?void 0:l[a]){case s:return{offset:-1,sibling:!0};case c:return{offset:1,sibling:!0};case d:return{offset:-1,sibling:!1};case u:return{offset:1,sibling:!1};default:return null}}(t,1===i(x,!0).length,n,h);if(!w)return;gb.includes(h)&&l.preventDefault();var _=function(t){if(t){var e=t,n=t.querySelector("a");(null==n?void 0:n.getAttribute("href"))&&(e=n);var a=b.get(t);s(a),f(),d.current=ol((function(){p.current===a&&e.focus()}))}};if(w.sibling||!y){var k=bb(y&&"inline"!==t?function(t){for(var e=t;e;){if(e.getAttribute("data-menu-list"))return e;e=e.parentElement}return null}(y):r.current,g,y,w.offset);_(k)}else if(w.inlineTrigger)c(x);else if(w.offset>0)c(x,!0),f(),d.current=ol((function(){v();var t=y.getAttribute("aria-controls"),e=bb(document.getElementById(t),g);_(e)}),5);else if(w.offset<0){var S=i(x,!0),C=S[S.length-2],M=m.get(C);c(C,!1),_(M)}}null==u||u(l)}}var yb=Math.random().toFixed(5).toString().slice(2),xb=0;var wb="__RC_UTIL_PATH_SPLIT__",_b=function(t){return t.join(wb)},kb="rc-menu-more";function Sb(){var e=ji(l.useState({}),2)[1],n=t.useRef(new Map),a=t.useRef(new Map),r=ji(l.useState([]),2),o=r[0],i=r[1],s=t.useRef(0),c=t.useRef(!1),u=t.useCallback((function(t,r){var o=_b(r);a.current.set(o,t),n.current.set(t,o),s.current+=1;var i,l=s.current;i=function(){l===s.current&&(c.current||e({}))},Promise.resolve().then(i)}),[]),d=t.useCallback((function(t,e){var r=_b(e);a.current.delete(r),n.current.delete(t)}),[]),p=t.useCallback((function(t){i(t)}),[]),f=t.useCallback((function(t,e){var a=n.current.get(t)||"",r=a.split(wb);return e&&o.includes(r[0])&&r.unshift(kb),r}),[o]),h=t.useCallback((function(t,e){return t.some((function(t){return f(t,!0).includes(e)}))}),[f]),g=t.useCallback((function(t){var e="".concat(n.current.get(t)).concat(wb),r=new Set;return Nu(a.current.keys()).forEach((function(t){t.startsWith(e)&&r.add(a.current.get(t))})),r}),[]);return l.useEffect((function(){return function(){c.current=!0}}),[]),{registerPath:u,unregisterPath:d,refreshOverflowKeys:p,isSubPathKey:h,getKeyPath:f,getKeys:function(){var t=Nu(n.current.keys());return o.length&&t.push(kb),t},getSubPathKeys:g}}var Cb=["prefixCls","style","className","tabIndex","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName"],Mb=[],Ob=["className","title","eventKey","children"],Eb=["children"],Tb=function(t){var e=t.className,n=t.title;t.eventKey;var a=t.children,r=Yi(t,Ob),o=l.useContext(Sm).prefixCls,i="".concat(o,"-item-group");return l.createElement("li",Pi({},r,{onClick:function(t){return t.stopPropagation()},className:R(i,e)}),l.createElement("div",{className:"".concat(i,"-title"),title:"string"==typeof n?n:void 0},n),l.createElement("ul",{className:"".concat(i,"-list")},a))};function Db(t){var e=t.children,n=Yi(t,Eb),a=Gm(e,zm(n.eventKey));return Nm()?a:l.createElement(Tb,ig(n,["warnKey"]),a)}function Ib(t){var e=t.className,n=t.style,a=l.useContext(Sm).prefixCls;return Nm()?null:l.createElement("li",{className:R("".concat(a,"-item-divider"),e),style:n})}var Pb=zm,Nb=function(t){var e,n,a=t.prefixCls,r=void 0===a?"rc-menu":a,o=t.style,i=t.className,s=t.tabIndex,c=void 0===s?0:s,u=t.children,d=t.direction,p=t.id,f=t.mode,h=void 0===f?"vertical":f,g=t.inlineCollapsed,m=t.disabled,b=t.disabledOverflow,v=t.subMenuOpenDelay,y=void 0===v?.1:v,x=t.subMenuCloseDelay,w=void 0===x?.1:x,_=t.forceSubMenuRender,k=t.defaultOpenKeys,S=t.openKeys,C=t.activeKey,M=t.defaultActiveFirst,O=t.selectable,E=void 0===O||O,T=t.multiple,D=void 0!==T&&T,I=t.defaultSelectedKeys,P=t.selectedKeys,N=t.onSelect,A=t.onDeselect,z=t.inlineIndent,L=void 0===z?24:z,j=t.motion,F=t.defaultMotions,B=t.triggerSubMenuAction,V=void 0===B?"hover":B,Y=t.builtinPlacements,H=t.itemIcon,W=t.expandIcon,U=t.overflowedIndicator,G=void 0===U?"...":U,K=t.overflowedIndicatorPopupClassName,q=t.getPopupContainer,X=t.onClick,Z=t.onOpenChange,J=t.onKeyDown;t.openAnimation,t.openTransitionName;var $=Yi(t,Cb),Q=Gm(u,Mb),tt=ji(l.useState(!1),2),et=tt[0],nt=tt[1],at=l.useRef(),rt=function(t){var e=ji(Su(t,{value:t}),2),n=e[0],a=e[1];return l.useEffect((function(){xb+=1;var t="".concat(yb,"-").concat(xb);a("rc-menu-uuid-".concat(t))}),[]),n}(p),ot="rtl"===d,it=ji(l.useMemo((function(){return"inline"!==h&&"vertical"!==h||!g?[h,!1]:["vertical",g]}),[h,g]),2),lt=it[0],st=it[1],ct=ji(l.useState(0),2),ut=ct[0],dt=ct[1],pt=ut>=Q.length-1||"horizontal"!==lt||b,ft=Su(k,{value:S,postState:function(t){return t||Mb}}),ht=ji(ft,2),gt=ht[0],mt=ht[1],bt=function(t){mt(t),null==Z||Z(t)},vt=ji(l.useState(gt),2),yt=vt[0],xt=vt[1],wt="inline"===lt,_t=l.useRef(!1);l.useEffect((function(){wt&&xt(gt)}),[gt]),l.useEffect((function(){_t.current?wt?mt(yt):bt(Mb):_t.current=!0}),[wt]);var kt=Sb(),St=kt.registerPath,Ct=kt.unregisterPath,Mt=kt.refreshOverflowKeys,Ot=kt.isSubPathKey,Et=kt.getKeyPath,Tt=kt.getKeys,Dt=kt.getSubPathKeys,It=l.useMemo((function(){return{registerPath:St,unregisterPath:Ct}}),[St,Ct]),Pt=l.useMemo((function(){return{isSubPathKey:Ot}}),[Ot]);l.useEffect((function(){Mt(pt?Mb:Q.slice(ut+1).map((function(t){return t.key})))}),[ut,pt]);var Nt=ji(Su(C||M&&(null===(e=Q[0])||void 0===e?void 0:e.key),{value:C}),2),At=Nt[0],zt=Nt[1],Rt=Km((function(t){zt(t)})),Lt=Km((function(){zt(void 0)})),jt=Su(I||[],{value:P,postState:function(t){return Array.isArray(t)?t:null==t?Mb:[t]}}),Ft=ji(jt,2),Bt=Ft[0],Vt=Ft[1],Yt=Km((function(t){null==X||X(Em(t)),function(t){if(E){var e,n=t.key,a=Bt.includes(n);e=D?a?Bt.filter((function(t){return t!==n})):[].concat(Nu(Bt),[n]):[n],Vt(e);var r=Vi(Vi({},t),{},{selectedKeys:e});a?null==A||A(r):null==N||N(r)}!D&&gt.length&&"inline"!==lt&&bt(Mb)}(t)})),Ht=Km((function(t,e){var n=gt.filter((function(e){return e!==t}));if(e)n.push(t);else if("inline"!==lt){var a=Dt(t);n=n.filter((function(t){return!a.has(t)}))}dm(gt,n)||bt(n)})),Wt=Km(q),Ut=vb(lt,At,ot,rt,at,Tt,Et,zt,(function(t,e){var n=null!=e?e:!gt.includes(t);Ht(t,n)}),J);l.useEffect((function(){nt(!0)}),[]);var Gt="horizontal"!==lt||b?Q:Q.map((function(t,e){return l.createElement(Cm,{key:t.key,overflowDisabled:e>ut},t)})),Kt=l.createElement(_m,Pi({id:p,ref:at,prefixCls:"".concat(r,"-overflow"),component:"ul",itemComponent:Um,className:R(r,"".concat(r,"-root"),"".concat(r,"-").concat(lt),i,(n={},Ni(n,"".concat(r,"-inline-collapsed"),st),Ni(n,"".concat(r,"-rtl"),ot),n)),dir:d,style:o,role:"menu",tabIndex:c,data:Gt,renderRawItem:function(t){return t},renderRawRest:function(t){var e=t.length,n=e?Q.slice(-e):null;return l.createElement(lb,{eventKey:kb,title:G,disabled:pt,internalPopupClose:0===e,popupClassName:K},n)},maxCount:"horizontal"!==lt||b?_m.INVALIDATE:_m.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(t){dt(t)},onKeyDown:Ut},$));return l.createElement(Lm.Provider,{value:rt},l.createElement(Cm,{prefixCls:r,mode:lt,openKeys:gt,rtl:ot,disabled:m,motion:et?j:null,defaultMotions:et?F:null,activeKey:At,onActive:Rt,onInactive:Lt,selectedKeys:Bt,inlineIndent:L,subMenuOpenDelay:y,subMenuCloseDelay:w,forceSubMenuRender:_,builtinPlacements:Y,triggerSubMenuAction:V,getPopupContainer:Wt,itemIcon:H,expandIcon:W,onItemClick:Yt,onOpenChange:Ht},l.createElement(Rm.Provider,{value:Pt},Kt),l.createElement("div",{style:{display:"none"},"aria-hidden":!0},l.createElement(Pm.Provider,{value:It},Q))))};function Ab(t,e){var n=t.prefixCls,a=t.editable,r=t.locale,o=t.style;return a&&!1!==a.showAdd?l.createElement("button",{ref:e,type:"button",className:"".concat(n,"-nav-add"),style:o,"aria-label":(null==r?void 0:r.addAriaLabel)||"Add tab",onClick:function(t){a.onEdit("add",{event:t})}},a.addIcon||"+"):null}Nb.Item=Um,Nb.SubMenu=lb,Nb.ItemGroup=Db,Nb.Divider=Ib;var zb=l.forwardRef(Ab);function Rb(e,n){var a=e.prefixCls,r=e.id,o=e.tabs,i=e.locale,s=e.mobile,c=e.moreIcon,u=void 0===c?"More":c,d=e.moreTransitionName,p=e.style,f=e.className,h=e.editable,g=e.tabBarGutter,m=e.rtl,b=e.removeAriaLabel,v=e.onTabClick,y=ji(t.useState(!1),2),x=y[0],w=y[1],_=ji(t.useState(null),2),k=_[0],S=_[1],C="".concat(r,"-more-popup"),M="".concat(a,"-dropdown"),O=null!==k?"".concat(C,"-").concat(k):null,E=null==i?void 0:i.dropdownAriaLabel;var T=l.createElement(Nb,{onClick:function(t){var e=t.key,n=t.domEvent;v(e,n),w(!1)},id:C,tabIndex:-1,role:"listbox","aria-activedescendant":O,selectedKeys:[k],"aria-label":void 0!==E?E:"expanded dropdown"},o.map((function(t){var e=h&&!1!==t.closable&&!t.disabled;return l.createElement(Um,{key:t.key,id:"".concat(C,"-").concat(t.key),role:"option","aria-controls":r&&"".concat(r,"-panel-").concat(t.key),disabled:t.disabled},l.createElement("span",null,t.tab),e&&l.createElement("button",{type:"button","aria-label":b||"remove",tabIndex:0,className:"".concat(M,"-menu-item-remove"),onClick:function(e){e.stopPropagation(),function(t,e){t.preventDefault(),t.stopPropagation(),h.onEdit("remove",{key:e,event:t})}(e,t.key)}},t.closeIcon||h.removeIcon||"×"))})));function D(t){for(var e=o.filter((function(t){return!t.disabled})),n=e.findIndex((function(t){return t.key===k}))||0,a=e.length,r=0;r<a;r+=1){var i=e[n=(n+t+a)%a];if(!i.disabled)return void S(i.key)}}t.useEffect((function(){var t=document.getElementById(O);t&&t.scrollIntoView&&t.scrollIntoView(!1)}),[k]),t.useEffect((function(){x||S(null)}),[x]);var I=Ni({},m?"marginRight":"marginLeft",g);o.length||(I.visibility="hidden",I.order=1);var P=R(Ni({},"".concat(M,"-rtl"),m)),N=s?null:l.createElement(Qh,{prefixCls:M,overlay:T,trigger:["hover"],visible:x,transitionName:d,onVisibleChange:w,overlayClassName:P,mouseEnterDelay:.1,mouseLeaveDelay:.1},l.createElement("button",{type:"button",className:"".concat(a,"-nav-more"),style:I,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":C,id:"".concat(r,"-more"),"aria-expanded":x,onKeyDown:function(t){var e=t.which;if(x)switch(e){case Ag.UP:D(-1),t.preventDefault();break;case Ag.DOWN:D(1),t.preventDefault();break;case Ag.ESC:w(!1);break;case Ag.SPACE:case Ag.ENTER:null!==k&&v(k,t)}else[Ag.DOWN,Ag.SPACE,Ag.ENTER].includes(e)&&(w(!0),t.preventDefault())}},u));return l.createElement("div",{className:R("".concat(a,"-nav-operations"),f),style:p,ref:n},N,l.createElement(zb,{prefixCls:a,locale:i,editable:h}))}var Lb=l.memo(l.forwardRef(Rb),(function(t,e){return e.tabMoving})),jb=t.createContext(null),Fb=Math.pow(.995,20);function Bb(t,e){var n=l.useRef(t),a=ji(l.useState({}),2)[1];return[n.current,function(t){var r="function"==typeof t?t(n.current):t;r!==n.current&&e(r,n.current),n.current=r,a({})}]}var Vb=function(t){var e,n=t.position,a=t.prefixCls,r=t.extra;if(!r)return null;var o={};return r&&"object"===Fi(r)&&!l.isValidElement(r)?o=r:o.right=r,"right"===n&&(e=o.right),"left"===n&&(e=o.left),e?l.createElement("div",{className:"".concat(a,"-extra-content")},e):null};function Yb(e,n){var a,r,o,i,s,c,u,d=l.useContext(jb),p=d.prefixCls,f=d.tabs,h=e.className,g=e.style,m=e.id,b=e.animated,v=e.activeKey,y=e.rtl,x=e.extra,w=e.editable,_=e.locale,k=e.tabPosition,S=e.tabBarGutter,C=e.children,M=e.onTabClick,O=e.onTabScroll,E=t.useRef(),T=t.useRef(),D=t.useRef(),I=t.useRef(),P=(r=t.useRef(new Map),[function(t){return r.current.has(t)||r.current.set(t,l.createRef()),r.current.get(t)},function(t){r.current.delete(t)}]),N=ji(P,2),A=N[0],z=N[1],L="top"===k||"bottom"===k,j=ji(Bb(0,(function(t,e){L&&O&&O({direction:t>e?"left":"right"})})),2),F=j[0],B=j[1],V=ji(Bb(0,(function(t,e){!L&&O&&O({direction:t>e?"top":"bottom"})})),2),Y=V[0],H=V[1],W=ji(t.useState(0),2),U=W[0],G=W[1],K=ji(t.useState(0),2),q=K[0],X=K[1],Z=ji(t.useState(0),2),J=Z[0],$=Z[1],Q=ji(t.useState(0),2),tt=Q[0],et=Q[1],nt=ji(t.useState(null),2),at=nt[0],rt=nt[1],ot=ji(t.useState(null),2),it=ot[0],lt=ot[1],st=ji(t.useState(0),2),ct=st[0],ut=st[1],dt=ji(t.useState(0),2),pt=dt[0],ft=dt[1],ht=(o=new Map,i=t.useRef([]),s=ji(t.useState({}),2)[1],c=t.useRef("function"==typeof o?o():o),u=im((function(){var t=c.current;i.current.forEach((function(e){t=e(t)})),i.current=[],c.current=t,s({})})),[c.current,function(t){i.current.push(t),u()}]),gt=ji(ht,2),mt=gt[0],bt=gt[1],vt=function(e,n,a){return t.useMemo((function(){for(var t,a=new Map,r=n.get(null===(t=e[0])||void 0===t?void 0:t.key)||cm,o=r.left+r.width,i=0;i<e.length;i+=1){var l,s=e[i].key,c=n.get(s);c||(c=n.get(null===(l=e[i-1])||void 0===l?void 0:l.key)||cm);var u=a.get(s)||Vi({},c);u.right=o-u.left-u.width,a.set(s,u)}return a}),[e.map((function(t){return t.key})).join("_"),n,a])}(f,mt,U),yt="".concat(p,"-nav-operations-hidden"),xt=0,wt=0;function _t(t){return t<xt?xt:t>wt?wt:t}L?y?(xt=0,wt=Math.max(0,U-at)):(xt=Math.min(0,at-U),wt=0):(xt=Math.min(0,it-q),wt=0);var kt=t.useRef(),St=ji(t.useState(),2),Ct=St[0],Mt=St[1];function Ot(){Mt(Date.now())}function Et(){window.clearTimeout(kt.current)}function Tt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v,e=vt.get(t)||{width:0,height:0,left:0,right:0,top:0};if(L){var n=F;y?e.right<F?n=e.right:e.right+e.width>F+at&&(n=e.right+e.width-at):e.left<-F?n=-e.left:e.left+e.width>-F+at&&(n=-(e.left+e.width-at)),H(0),B(_t(n))}else{var a=Y;e.top<-Y?a=-e.top:e.top+e.height>-Y+it&&(a=-(e.top+e.height-it)),B(0),H(_t(a))}}!function(e,n){var a=ji(t.useState(),2),r=a[0],o=a[1],i=ji(t.useState(0),2),s=i[0],c=i[1],u=ji(t.useState(0),2),d=u[0],p=u[1],f=ji(t.useState(),2),h=f[0],g=f[1],m=t.useRef(),b=t.useRef(),v=t.useRef(null);v.current={onTouchStart:function(t){var e=t.touches[0],n=e.screenX,a=e.screenY;o({x:n,y:a}),window.clearInterval(m.current)},onTouchMove:function(t){if(r){t.preventDefault();var e=t.touches[0],a=e.screenX,i=e.screenY;o({x:a,y:i});var l=a-r.x,u=i-r.y;n(l,u);var d=Date.now();c(d),p(d-s),g({x:l,y:u})}},onTouchEnd:function(){if(r&&(o(null),g(null),h)){var t=h.x/d,e=h.y/d,a=Math.abs(t),i=Math.abs(e);if(Math.max(a,i)<.1)return;var l=t,s=e;m.current=window.setInterval((function(){Math.abs(l)<.01&&Math.abs(s)<.01?window.clearInterval(m.current):n(20*(l*=Fb),20*(s*=Fb))}),20)}},onWheel:function(t){var e=t.deltaX,a=t.deltaY,r=0,o=Math.abs(e),i=Math.abs(a);o===i?r="x"===b.current?e:a:o>i?(r=e,b.current="x"):(r=a,b.current="y"),n(-r,-r)&&t.preventDefault()}},l.useEffect((function(){function t(t){v.current.onTouchMove(t)}function n(t){v.current.onTouchEnd(t)}return document.addEventListener("touchmove",t,{passive:!1}),document.addEventListener("touchend",n,{passive:!1}),e.current.addEventListener("touchstart",(function(t){v.current.onTouchStart(t)}),{passive:!1}),e.current.addEventListener("wheel",(function(t){v.current.onWheel(t)})),function(){document.removeEventListener("touchmove",t),document.removeEventListener("touchend",n)}}),[])}(E,(function(t,e){function n(t,e){t((function(t){return _t(t+e)}))}if(L){if(at>=U)return!1;n(B,t)}else{if(it>=q)return!1;n(H,e)}return Et(),Ot(),!0})),t.useEffect((function(){return Et(),Ct&&(kt.current=window.setTimeout((function(){Mt(0)}),100)),Et}),[Ct]);var Dt=function(e,n,a,r,o){var i,l,s,c=o.tabs,u=o.tabPosition,d=o.rtl;["top","bottom"].includes(u)?(i="width",l=d?"right":"left",s=Math.abs(n.left)):(i="height",l="top",s=-n.top);var p=n[i],f=a[i],h=r[i],g=p;return f+h>p&&(g=p-h),t.useMemo((function(){if(!c.length)return[0,0];for(var t=c.length,n=t,a=0;a<t;a+=1){var r=e.get(c[a].key)||um;if(r[l]+r[i]>s+g){n=a-1;break}}for(var o=0,u=t-1;u>=0;u-=1)if((e.get(c[u].key)||um)[l]<s){o=u+1;break}return[o,n]}),[e,s,g,u,c.map((function(t){return t.key})).join("_"),d])}(vt,{width:at,height:it,left:F,top:Y},{width:J,height:tt},{width:ct,height:pt},Vi(Vi({},e),{},{tabs:f})),It=ji(Dt,2),Pt=It[0],Nt=It[1],At={};"top"===k||"bottom"===k?At[y?"marginRight":"marginLeft"]=S:At.marginTop=S;var zt=f.map((function(t,e){var n=t.key,a=t.className;return l.createElement(sm,{id:m,prefixCls:p,key:n,tab:t,style:0===e?void 0:At,className:a,closable:t.closable,editable:w,active:n===v,renderWrapper:C,removeAriaLabel:null==_?void 0:_.removeAriaLabel,ref:A(n),onClick:function(t){M(n,t)},onRemove:function(){z(n)},onFocus:function(){Tt(n),Ot(),E.current&&(y||(E.current.scrollLeft=0),E.current.scrollTop=0)}})})),Rt=im((function(){var t,e,n,a,r,o,i,l,s,c=(null===(t=E.current)||void 0===t?void 0:t.offsetWidth)||0,u=(null===(e=E.current)||void 0===e?void 0:e.offsetHeight)||0,d=(null===(n=I.current)||void 0===n?void 0:n.offsetWidth)||0,p=(null===(a=I.current)||void 0===a?void 0:a.offsetHeight)||0,h=(null===(r=D.current)||void 0===r?void 0:r.offsetWidth)||0,g=(null===(o=D.current)||void 0===o?void 0:o.offsetHeight)||0;rt(c),lt(u),ut(d),ft(p);var m=((null===(i=T.current)||void 0===i?void 0:i.offsetWidth)||0)-d,b=((null===(l=T.current)||void 0===l?void 0:l.offsetHeight)||0)-p;G(m),X(b);var v=null===(s=D.current)||void 0===s?void 0:s.className.includes(yt);$(m-(v?0:h)),et(b-(v?0:g)),bt((function(){var t=new Map;return f.forEach((function(e){var n=e.key,a=A(n).current;a&&t.set(n,{width:a.offsetWidth,height:a.offsetHeight,left:a.offsetLeft,top:a.offsetTop})})),t}))})),Lt=f.slice(0,Pt),jt=f.slice(Nt+1),Ft=[].concat(Nu(Lt),Nu(jt)),Bt=ji(t.useState(),2),Vt=Bt[0],Yt=Bt[1],Ht=vt.get(v),Wt=t.useRef();function Ut(){ol.cancel(Wt.current)}t.useEffect((function(){var t={};return Ht&&(L?(y?t.right=Ht.right:t.left=Ht.left,t.width=Ht.width):(t.top=Ht.top,t.height=Ht.height)),Ut(),Wt.current=ol((function(){Yt(t)})),Ut}),[Ht,L,y]),t.useEffect((function(){Tt()}),[v,Ht,vt,L]),t.useEffect((function(){Rt()}),[y,S,v,f.map((function(t){return t.key})).join("_")]);var Gt,Kt,qt,Xt,Zt=!!Ft.length,Jt="".concat(p,"-nav-wrap");return L?y?(Kt=F>0,Gt=F+at<U):(Gt=F<0,Kt=-F+at<U):(qt=Y<0,Xt=-Y+it<q),l.createElement("div",{ref:n,role:"tablist",className:R("".concat(p,"-nav"),h),style:g,onKeyDown:function(){Ot()}},l.createElement(Vb,{position:"left",extra:x,prefixCls:p}),l.createElement(om,{onResize:Rt},l.createElement("div",{className:R(Jt,(a={},Ni(a,"".concat(Jt,"-ping-left"),Gt),Ni(a,"".concat(Jt,"-ping-right"),Kt),Ni(a,"".concat(Jt,"-ping-top"),qt),Ni(a,"".concat(Jt,"-ping-bottom"),Xt),a)),ref:E},l.createElement(om,{onResize:Rt},l.createElement("div",{ref:T,className:"".concat(p,"-nav-list"),style:{transform:"translate(".concat(F,"px, ").concat(Y,"px)"),transition:Ct?"none":void 0}},zt,l.createElement(zb,{ref:I,prefixCls:p,locale:_,editable:w,style:Vi(Vi({},0===zt.length?void 0:At),{},{visibility:Zt?"hidden":null})}),l.createElement("div",{className:R("".concat(p,"-ink-bar"),Ni({},"".concat(p,"-ink-bar-animated"),b.inkBar)),style:Vt}))))),l.createElement(Lb,Pi({},e,{removeAriaLabel:null==_?void 0:_.removeAriaLabel,ref:D,prefixCls:p,tabs:Ft,className:!Zt&&yt,tabMoving:!!Ct})),l.createElement(Vb,{position:"right",extra:x,prefixCls:p}))}var Hb=l.forwardRef(Yb);function Wb(t){var e=t.id,n=t.activeKey,a=t.animated,r=t.tabPosition,o=t.rtl,i=t.destroyInactiveTabPane,s=l.useContext(jb),c=s.prefixCls,u=s.tabs,d=a.tabPane,p=u.findIndex((function(t){return t.key===n}));return l.createElement("div",{className:R("".concat(c,"-content-holder"))},l.createElement("div",{className:R("".concat(c,"-content"),"".concat(c,"-content-").concat(r),Ni({},"".concat(c,"-content-animated"),d)),style:p&&d?Ni({},o?"marginRight":"marginLeft","-".concat(p,"00%")):null},u.map((function(t){return l.cloneElement(t.node,{key:t.key,prefixCls:c,tabKey:t.key,id:e,animated:d,active:t.key===n,destroyInactiveTabPane:i})}))))}function Ub(t){var e=t.prefixCls,n=t.forceRender,a=t.className,r=t.style,o=t.id,i=t.active,s=t.animated,c=t.destroyInactiveTabPane,u=t.tabKey,d=t.children,p=ji(l.useState(n),2),f=p[0],h=p[1];l.useEffect((function(){i?h(!0):c&&h(!1)}),[i,c]);var g={};return i||(s?(g.visibility="hidden",g.height=0,g.overflowY="hidden"):g.display="none"),l.createElement("div",{id:o&&"".concat(o,"-panel-").concat(u),role:"tabpanel",tabIndex:i?0:-1,"aria-labelledby":o&&"".concat(o,"-tab-").concat(u),"aria-hidden":!i,style:Vi(Vi({},g),r),className:R("".concat(e,"-tabpane"),i&&"".concat(e,"-tabpane-active"),a)},(i||f||n)&&d)}var Gb=["id","prefixCls","className","children","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll"],Kb=0;function qb(e,n){var a,r,o=e.id,i=e.prefixCls,s=void 0===i?"rc-tabs":i,c=e.className,u=e.children,d=e.direction,p=e.activeKey,f=e.defaultActiveKey,h=e.editable,g=e.animated,m=void 0===g?{inkBar:!0,tabPane:!1}:g,b=e.tabPosition,v=void 0===b?"top":b,y=e.tabBarGutter,x=e.tabBarStyle,w=e.tabBarExtraContent,_=e.locale,k=e.moreIcon,S=e.moreTransitionName,C=e.destroyInactiveTabPane,M=e.renderTabBar,O=e.onChange,E=e.onTabClick,T=e.onTabScroll,D=Yi(e,Gb),I=function(t){return Au(t).map((function(t){return l.isValidElement(t)?Vi(Vi({key:void 0!==t.key?String(t.key):void 0},t.props),{},{node:t}):null})).filter((function(t){return t}))}(u),P="rtl"===d;r=!1===m?{inkBar:!1,tabPane:!1}:!0===m?{inkBar:!0,tabPane:!0}:Vi({inkBar:!0,tabPane:!1},"object"===Fi(m)?m:{});var N=ji(t.useState(!1),2),A=N[0],z=N[1];t.useEffect((function(){z(jl())}),[]);var L=ji(Su((function(){var t;return null===(t=I[0])||void 0===t?void 0:t.key}),{value:p,defaultValue:f}),2),j=L[0],F=L[1],B=ji(t.useState((function(){return I.findIndex((function(t){return t.key===j}))})),2),V=B[0],Y=B[1];t.useEffect((function(){var t,e=I.findIndex((function(t){return t.key===j}));-1===e&&(e=Math.max(0,Math.min(V,I.length-1)),F(null===(t=I[e])||void 0===t?void 0:t.key));Y(e)}),[I.map((function(t){return t.key})).join("_"),j,V]);var H=ji(Su(null,{value:o}),2),W=H[0],U=H[1],G=v;A&&!["left","right"].includes(v)&&(G="top"),t.useEffect((function(){o||(U("rc-tabs-".concat(Kb)),Kb+=1)}),[]);var K,q={id:W,activeKey:j,animated:r,tabPosition:G,rtl:P,mobile:A},X=Vi(Vi({},q),{},{editable:h,locale:_,moreIcon:k,moreTransitionName:S,tabBarGutter:y,onTabClick:function(t,e){null==E||E(t,e),F(t),null==O||O(t)},onTabScroll:T,extra:w,style:x,panes:u});return K=M?M(X,Hb):l.createElement(Hb,X),l.createElement(jb.Provider,{value:{tabs:I,prefixCls:s}},l.createElement("div",Pi({ref:n,id:o,className:R(s,"".concat(s,"-").concat(G),(a={},Ni(a,"".concat(s,"-mobile"),A),Ni(a,"".concat(s,"-editable"),h),Ni(a,"".concat(s,"-rtl"),P),a),c)},D),K,l.createElement(Wb,Pi({destroyInactiveTabPane:C},q,{animated:r}))))}var Xb=l.forwardRef(qb);Xb.TabPane=Ub;var Zb={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},Jb=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:Zb}))};Jb.displayName="PlusOutlined";var $b=l.forwardRef(Jb),Qb=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n};function tv(t){var e,n=t.type,a=t.className,r=t.size,o=t.onEdit,i=t.hideAdd,s=t.centered,c=t.addIcon,u=Qb(t,["type","className","size","onEdit","hideAdd","centered","addIcon"]),d=u.prefixCls,p=u.moreIcon,f=void 0===p?l.createElement(og,null):p,h=l.useContext(yp),g=h.getPrefixCls,m=h.direction,b=g("tabs",d);"editable-card"===n&&(e={onEdit:function(t,e){var n=e.key,a=e.event;null==o||o("add"===t?a:n,t)},removeIcon:l.createElement($f,null),addIcon:c||l.createElement($b,null),showAdd:!0!==i});var v=g();return Qd(!("onPrevClick"in u)&&!("onNextClick"in u),"Tabs","`onPrevClick` and `onNextClick` has been removed. Please use `onTabScroll` instead."),l.createElement(kp.Consumer,null,(function(t){var o,i=void 0!==r?r:t;return l.createElement(Xb,Pi({direction:m,moreTransitionName:"".concat(v,"-slide-up")},u,{className:R((o={},Ni(o,"".concat(b,"-").concat(i),i),Ni(o,"".concat(b,"-card"),["card","editable-card"].includes(n)),Ni(o,"".concat(b,"-editable-card"),"editable-card"===n),Ni(o,"".concat(b,"-centered"),s),o),a),editable:e,moreIcon:f,prefixCls:b}))}))}tv.TabPane=Ub;var ev=function(t){var e=t.value,n=t.hiddenArrow,a=t.colorPickerPlacement,r=t.onChange,o=t.cssColor,l=i.default.useMemo((function(){if(!e)return null;switch(e.type){case"linear":return i.default.createElement(i.default.Fragment,null,i.default.createElement("div",{className:"gp-gradient-form-item"},i.default.createElement("span",null,"起始颜色"),i.default.createElement(nv,{value:e.startColor,hiddenArrow:n,placement:a,onChange:function(t){return r(z(z({},e),{startColor:t}))}})),i.default.createElement("div",{className:"gp-gradient-form-item"},i.default.createElement("span",null,"终点颜色"),i.default.createElement(nv,{value:e.endColor,hiddenArrow:n,placement:a,onChange:function(t){return r(z(z({},e),{endColor:t}))}})));case"radial":return i.default.createElement(i.default.Fragment,null,i.default.createElement("div",{className:"gp-gradient-form-item"},i.default.createElement("span",null,"起始颜色"),i.default.createElement(nv,{value:e.startColor,hiddenArrow:n,placement:a,onChange:function(t){return r(z(z({},e),{startColor:t}))}})),i.default.createElement("div",{className:"gp-gradient-form-item"},i.default.createElement("span",null,"终点颜色"),i.default.createElement(nv,{value:e.endColor,hiddenArrow:n,placement:a,onChange:function(t){return r(z(z({},e),{endColor:t}))}})),i.default.createElement("div",{className:"gp-gradient-form-item"},i.default.createElement("span",null,"半径"),i.default.createElement(rm,{value:e.radius,onChange:function(t){return r(z(z({},e),{radius:t}))}})));default:return i.default.createElement("div",{className:"gp-gradient-form-item"},i.default.createElement("span",null,"选择颜色"),i.default.createElement(nv,{value:e.color,hiddenArrow:n,placement:a,onChange:function(t){return r(e?z(z({},e),{color:t}):{type:"pure",color:t})}}))}}),[e,r,a,n]);return i.default.createElement("div",{className:"gp-gradient"},i.default.createElement(tv,{size:"small",activeKey:null==e?void 0:e.type,onChange:function(t){if(!e||t!==e.type)switch(t){case"pure":r({type:t,color:e&&e.startColor});break;case"linear":r({type:t,startColor:e&&(e.startColor||e.color),endColor:e&&(e.endColor||e.color)});break;case"radial":r({type:t,startColor:e&&(e.startColor||e.color),endColor:e&&(e.endColor||e.color),radius:5})}}},i.default.createElement(tv.TabPane,{tab:"纯色",key:"pure"}),i.default.createElement(tv.TabPane,{tab:"线性渐变",key:"linear"}),i.default.createElement(tv.TabPane,{tab:"径向渐变",key:"radial"})),i.default.createElement("div",{className:"gp-gradient-form"},i.default.createElement("div",{className:"gp-gradient-form-item"},i.default.createElement("span",null,"预览"),i.default.createElement("div",{className:"preview",style:{background:o}})),l))};Nh("default","small");var nv=function e(n){var a=n.children,r=n.value,o=n.size,l=n.placement,s=n.hiddenArrow,c=n.mode,u=void 0===c?"rgba":c,d=n.onChange,p=t.useState(""),f=N(p,2),h=f[0],g=f[1];t.useEffect((function(){g(r)}),[r]);var m=t.useCallback((function(t){var e=t.rgb,n=t.hex;if("hex"!==u){if(e){var a=e.r,r=e.g,o=e.b,i=e.a,l="rgba(".concat(a,", ").concat(r,", ").concat(o,", ").concat(i,")");d&&d(l),g(l)}}else d&&d(n)}),[d,u]);return i.default.createElement(Xh,{overlayClassName:R("gp-color-picker-popover",{"gp-color-picker-popover-hidden-arrow":s}),trigger:"click",placement:l,content:i.default.createElement("div",{className:"gp-color-picker-sketch"},i.default.createElement(Ii.SketchPicker,{width:"260px",styles:{default:{picker:{borderRadius:"none",boxShadow:"none",padding:0}}},color:h,presetColors:e.DefaultColour,onChange:m}))},a||i.default.createElement("div",{className:R("gp-color-picker-btn",{"gp-color-picker-btn-small":"small"===o}),style:{background:h}},i.default.createElement(B,null)))};nv.DefaultColour=["#C03A39","#E8684A","#FF9500","#FFC600","#7EDC1B","#55DB6B","#6DD400","#0091FF","#59D4D9","#744AB8","#400D4F"],nv.Gradient=function(t){var e=t.children,n=t.size,a=t.value,r=t.disabled,o=void 0!==r&&r,l=t.hiddenArrow,s=t.colorPickerPlacement,c=t.onChange,u=i.default.useState(void 0),d=N(u,2),p=d[0],f=d[1];i.default.useEffect((function(){f(a)}),[a]);var h=i.default.useCallback((function(t){c?c(t):f(t)}),[c]),g=i.default.useMemo((function(){if(!p)return"";switch(p.type){case"pure":return p.color;case"linear":return"linear-gradient(to right, ".concat(p.startColor," , ").concat(p.endColor,")");case"radial":return"radial-gradient(circle, ".concat(p.startColor," ").concat(p.radius,"px, ").concat(p.endColor,")");default:return""}}),[p]);return i.default.createElement(Ng,{trigger:["click"],disabled:o,overlay:i.default.createElement(ev,{value:p,hiddenArrow:l,colorPickerPlacement:s,onChange:h,cssColor:g})},e||i.default.createElement("div",{className:R("gp-color-picker-btn",{"gp-color-picker-btn-small":"small"===n}),style:{background:g}},i.default.createElement(B,null)))};var av=m(v((function(t){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0}))),rv=v((function(t){function e(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}t.exports=function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t},t.exports.default=t.exports,t.exports.__esModule=!0})),ov=m(rv),iv=v((function(t){function e(n,a){return t.exports=e=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},t.exports.default=t.exports,t.exports.__esModule=!0,e(n,a)}t.exports=e,t.exports.default=t.exports,t.exports.__esModule=!0})),lv=m(v((function(t){t.exports=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&iv(t,e)},t.exports.default=t.exports,t.exports.__esModule=!0}))),sv=v((function(t){function e(n){return t.exports=e=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.default=t.exports,t.exports.__esModule=!0,e(n)}t.exports=e,t.exports.default=t.exports,t.exports.__esModule=!0})),cv=v((function(t){t.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}},t.exports.default=t.exports,t.exports.__esModule=!0})),uv=v((function(t){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.default=t.exports,t.exports.__esModule=!0})),dv=v((function(t){var e=Zi.default;t.exports=function(t,n){if(n&&("object"===e(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return uv(t)},t.exports.default=t.exports,t.exports.__esModule=!0})),pv=v((function(t){t.exports=function(t){var e=cv();return function(){var n,a=sv(t);if(e){var r=sv(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return dv(this,n)}},t.exports.default=t.exports,t.exports.__esModule=!0})),fv=m(pv),hv=function(t){lv(n,t);var e=fv(n);function n(t){var a;return av(this,n),(a=e.call(this,t)).state={hasError:!1,errorMessage:null},a}return ov(n,[{key:"componentDidCatch",value:function(t,e){console.error(t,e),this.setState({errorMessage:t})}},{key:"render",value:function(){return this.state.hasError?this.state.errorMessage?this.state.errorMessage:i.default.createElement("h1",null,"Something went wrong."):this.props.children}}],[{key:"getDerivedStateFromError",value:function(){return{hasError:!0}}}]),n}(t.Component),gv=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n};Nh("small","default","large");var mv=null;var bv=function(t){qi(n,t);var e=Qi(n);function n(t){var a;Hi(this,n),(a=e.call(this,t)).debouncifyUpdateSpinning=function(t){var e=(t||a.props).delay;e&&(a.cancelExistingSpin(),a.updateSpinning=Mo(a.originalUpdateSpinning,e))},a.updateSpinning=function(){var t=a.props.spinning;a.state.spinning!==t&&a.setState({spinning:t})},a.renderSpin=function(t){var e,n=t.getPrefixCls,r=t.direction,o=a.props,i=o.prefixCls,s=o.className,c=o.size,u=o.tip,d=o.wrapperClassName,p=o.style,f=gv(o,["prefixCls","className","size","tip","wrapperClassName","style"]),h=a.state.spinning,g=n("spin",i),m=R(g,(Ni(e={},"".concat(g,"-sm"),"small"===c),Ni(e,"".concat(g,"-lg"),"large"===c),Ni(e,"".concat(g,"-spinning"),h),Ni(e,"".concat(g,"-show-text"),!!u),Ni(e,"".concat(g,"-rtl"),"rtl"===r),e),s),b=ig(f,["spinning","delay","indicator"]),v=l.createElement("div",Pi({},b,{style:p,className:m}),function(t,e){var n=e.indicator,a="".concat(t,"-dot");return null===n?null:Tu(n)?Du(n,{className:R(n.props.className,a)}):Tu(mv)?Du(mv,{className:R(mv.props.className,a)}):l.createElement("span",{className:R(a,"".concat(t,"-dot-spin"))},l.createElement("i",{className:"".concat(t,"-dot-item")}),l.createElement("i",{className:"".concat(t,"-dot-item")}),l.createElement("i",{className:"".concat(t,"-dot-item")}),l.createElement("i",{className:"".concat(t,"-dot-item")}))}(g,a.props),u?l.createElement("div",{className:"".concat(g,"-text")},u):null);if(a.isNestedPattern()){var y=R("".concat(g,"-container"),Ni({},"".concat(g,"-blur"),h));return l.createElement("div",Pi({},b,{className:R("".concat(g,"-nested-loading"),d)}),h&&l.createElement("div",{key:"loading"},v),l.createElement("div",{className:y,key:"container"},a.props.children))}return v};var r=t.spinning,o=function(t,e){return!!t&&!!e&&!isNaN(Number(e))}(r,t.delay);return a.state={spinning:r&&!o},a.originalUpdateSpinning=a.updateSpinning,a.debouncifyUpdateSpinning(t),a}return Ui(n,[{key:"componentDidMount",value:function(){this.updateSpinning()}},{key:"componentDidUpdate",value:function(){this.debouncifyUpdateSpinning(),this.updateSpinning()}},{key:"componentWillUnmount",value:function(){this.cancelExistingSpin()}},{key:"cancelExistingSpin",value:function(){var t=this.updateSpinning;t&&t.cancel&&t.cancel()}},{key:"isNestedPattern",value:function(){return!(!this.props||void 0===this.props.children)}},{key:"render",value:function(){return l.createElement(xp,null,this.renderSpin)}}],[{key:"setDefaultIndicator",value:function(t){mv=t}}]),n}(l.Component);bv.defaultProps={spinning:!0,size:"default",wrapperClassName:""};var vv=bv,yv=v((function(t){t.exports=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=D(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var a=0,r=function(){};return{s:r,n:function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function(t){throw t},f:r}}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 o,i=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return i=t.done,t},e:function(t){l=!0,o=t},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw o}}}},t.exports.default=t.exports,t.exports.__esModule=!0})),xv=m(yv),wv=t.forwardRef((function(e,n){var a=e.children,r=e.scrollX,o=e.scrollY,l=t.useRef(),s=t.useState({x:"100%",y:"100%"}),c=N(s,2),u=c[0],d=c[1],p=t.useCallback((function(){var t=r?l.current.clientWidth:"100%",e="100%";if(o){var n,a=parseFloat(l.current.clientHeight),i=l.current.querySelectorAll(".ant-spin-container > *"),s=xv(i);try{for(s.s();!(n=s.n()).done;){var c=n.value;c.classList.contains("ant-table")||(a-=c.clientHeight);var p=window.getComputedStyle(c),f=p.marginTop,h=p.marginBottom;a-=parseFloat(f),a-=parseFloat(h)}}catch(t){s.e(t)}finally{s.f()}var g,m=l.current.querySelectorAll(".ant-spin-container .ant-table .ant-table-container > *"),b=xv(m);try{for(b.s();!(g=b.n()).done;){var v=g.value;v.classList.contains("ant-table-body")||(a-=v.clientHeight);var y=window.getComputedStyle(v),x=y.marginTop,w=y.marginBottom;a-=parseFloat(x),a-=parseFloat(w)}}catch(t){b.e(t)}finally{b.f()}e=a}t===u.x&&e===u.y||d({x:t,y:e})}),[r,o]);t.useEffect((function(){if(l.current)return setTimeout((function(){p()}),500),window.addEventListener("resize",p),function(){return window.removeEventListener("resize",p)}}),[p]),t.useImperativeHandle(n,(function(){return{resize:function(){l.current&&setTimeout((function(){p()}),500)}}}));var f=t.useMemo((function(){var t=z(z({},a.props),{scroll:u});return i.default.cloneElement(a,t)}),[a,u]);return i.default.createElement("div",{ref:l,className:"gp-table-container"},f)})),_v=v((function(t){t.exports=function(t){if(Array.isArray(t))return T(t)},t.exports.default=t.exports,t.exports.__esModule=!0})),kv=v((function(t){t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.default=t.exports,t.exports.__esModule=!0})),Sv=v((function(t){t.exports=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.")},t.exports.default=t.exports,t.exports.__esModule=!0})),Cv=m(v((function(t){t.exports=function(t){return _v(t)||kv(t)||D(t)||Sv()},t.exports.default=t.exports,t.exports.__esModule=!0}))),Mv=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n},Ov=function(t){var e,n=t.prefixCls,a=t.className,r=t.checked,o=t.onChange,i=t.onClick,s=Mv(t,["prefixCls","className","checked","onChange","onClick"]),c=(0,l.useContext(yp).getPrefixCls)("tag",n),u=R(c,(Ni(e={},"".concat(c,"-checkable"),!0),Ni(e,"".concat(c,"-checkable-checked"),r),e),a);return l.createElement("span",Pi({},s,{className:u,onClick:function(t){null==o||o(!r),null==i||i(t)}}))},Ev=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n},Tv=new RegExp("^(".concat(zh.join("|"),")(-inverse)?$")),Dv=new RegExp("^(".concat(Ah.join("|"),")$")),Iv=function(t,e){var n,a=t.prefixCls,r=t.className,o=t.style,i=t.children,s=t.icon,c=t.color,u=t.onClose,d=t.closeIcon,p=t.closable,f=void 0!==p&&p,h=Ev(t,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),g=l.useContext(yp),m=g.getPrefixCls,b=g.direction,v=ji(l.useState(!0),2),y=v[0],x=v[1];l.useEffect((function(){"visible"in h&&x(h.visible)}),[h.visible]);var w=function(){return!!c&&(Tv.test(c)||Dv.test(c))},_=Pi({backgroundColor:c&&!w()?c:void 0},o),k=w(),S=m("tag",a),C=R(S,(Ni(n={},"".concat(S,"-").concat(c),k),Ni(n,"".concat(S,"-has-color"),c&&!k),Ni(n,"".concat(S,"-hidden"),!y),Ni(n,"".concat(S,"-rtl"),"rtl"===b),n),r),M=function(t){t.stopPropagation(),null==u||u(t),t.defaultPrevented||"visible"in h||x(!1)},O="onClick"in h||i&&"a"===i.type,E=ig(h,["visible"]),T=s||null,D=T?l.createElement(l.Fragment,null,T,l.createElement("span",null,i)):i,I=l.createElement("span",Pi({},E,{ref:e,className:C,style:_}),D,f?d?l.createElement("span",{className:"".concat(S,"-close-icon"),onClick:M},d):l.createElement($f,{className:"".concat(S,"-close-icon"),onClick:M}):null);return O?l.createElement(mg,null,I):I},Pv=l.forwardRef(Iv);Pv.displayName="Tag",Pv.CheckableTag=Ov;var Nv=Pv,Av={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},zv=function(t){var e,n,a=[],r=1;if("string"==typeof t)if(Av[t])a=Av[t].slice(),n="rgb";else if("transparent"===t)r=0,n="rgb",a=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(t)){var o=(s=t.slice(1)).length;r=1,o<=4?(a=[parseInt(s[0]+s[0],16),parseInt(s[1]+s[1],16),parseInt(s[2]+s[2],16)],4===o&&(r=parseInt(s[3]+s[3],16)/255)):(a=[parseInt(s[0]+s[1],16),parseInt(s[2]+s[3],16),parseInt(s[4]+s[5],16)],8===o&&(r=parseInt(s[6]+s[7],16)/255)),a[0]||(a[0]=0),a[1]||(a[1]=0),a[2]||(a[2]=0),n="rgb"}else if(e=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(t)){var i=e[1],l="rgb"===i,s=i.replace(/a$/,"");n=s;o="cmyk"===s?4:"gray"===s?1:3;a=e[2].trim().split(/\s*[,\/]\s*|\s+/).map((function(t,e){if(/%$/.test(t))return e===o?parseFloat(t)/100:"rgb"===s?255*parseFloat(t)/100:parseFloat(t);if("h"===s[e]){if(/deg$/.test(t))return parseFloat(t);if(void 0!==Rv[t])return Rv[t]}return parseFloat(t)})),i===s&&a.push(1),r=l||void 0===a[o]?1:a[o],a=a.slice(0,o)}else t.length>10&&/[0-9](?:\s|\/)/.test(t)&&(a=t.match(/([0-9]+)/g).map((function(t){return parseFloat(t)})),n=t.match(/([a-z])/gi).join("").toLowerCase());else isNaN(t)?Array.isArray(t)||t.length?(a=[t[0],t[1],t[2]],n="rgb",r=4===t.length?t[3]:1):t instanceof Object&&(null!=t.r||null!=t.red||null!=t.R?(n="rgb",a=[t.r||t.red||t.R||0,t.g||t.green||t.G||0,t.b||t.blue||t.B||0]):(n="hsl",a=[t.h||t.hue||t.H||0,t.s||t.saturation||t.S||0,t.l||t.lightness||t.L||t.b||t.brightness]),r=t.a||t.alpha||t.opacity||1,null!=t.opacity&&(r/=100)):(n="rgb",a=[t>>>16,(65280&t)>>>8,255&t]);return{space:n,values:a,alpha:r}},Rv={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};var Lv=function(t){var e;Array.isArray(t)&&t.raw&&(t=String.raw.apply(null,arguments));var n=zv(t);if(!n.space)return[];var a=[0,0,0],r="h"===n.space[0]?[360,100,100]:[255,255,255];return(e=Array(3))[0]=Math.min(Math.max(n.values[0],a[0]),r[0]),e[1]=Math.min(Math.max(n.values[1],a[1]),r[1]),e[2]=Math.min(Math.max(n.values[2],a[2]),r[2]),"h"===n.space[0]&&(e=jv(e)),e.push(Math.min(Math.max(n.alpha,0),1)),e};function jv(t){var e,n,a,r,o,i=t[0]/360,l=t[1]/100,s=t[2]/100,c=0;if(0===l)return[o=255*s,o,o];for(e=2*s-(n=s<.5?s*(1+l):s+l-s*l),r=[0,0,0];c<3;)(a=i+1/3*-(c-1))<0?a++:a>1&&a--,o=6*a<1?e+6*(n-e)*a:2*a<1?n:3*a<2?e+(n-e)*(2/3-a)*6:e,r[c++]=255*o;return r}function Fv(t,e,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(void 0!==t&&void 0!==e&&void 0!==n){var r=255*(1-.1*a)+t*a*.1|0,o=255*(1-.1*a)+e*a*.1|0,i=255*(1-.1*a)+n*a*.1|0;return"rgb(".concat(r,", ").concat(o,", ").concat(i,")")}}var Bv=function(t,e){var n,a=z({background:Fv.apply(void 0,Cv(Lv(t.color||""))),borderColor:t.color,color:t.color},null!==(n=t.style)&&void 0!==n?n:{});return i.default.createElement(Nv,z({},t,{color:void 0,style:a,ref:e}))},Vv=i.default.forwardRef(Bv);Vv.displayName="Tag",Vv.CheckableTag=Nv.CheckableTag;var Yv={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页"},Hv={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]},Wv={lang:Pi({placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeWeekPlaceholder:["开始周","结束周"]},{locale:"zh_CN",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",yearFormat:"YYYY年",dayFormat:"D日",dateFormat:"YYYY年M月D日",dateTimeFormat:"YYYY年M月D日 HH时mm分ss秒",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪"}),timePickerLocale:Pi({},Hv)};Wv.lang.ok="确 定";var Uv,Gv="${label}不是一个有效的${type}",Kv={locale:"zh-cn",Pagination:Yv,DatePicker:Wv,TimePicker:Hv,Calendar:Wv,global:{placeholder:"请选择"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",selectAll:"全选当页",selectInvert:"反选当页",selectNone:"清空所有",selectionAll:"全选所有",sortTitle:"排序",expand:"展开行",collapse:"关闭行",triggerDesc:"点击降序",triggerAsc:"点击升序",cancelSort:"取消排序"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:"删除当页",selectAll:"全选所有",removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开"},PageHeader:{back:"返回"},Form:{optional:"（可选）",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:Gv,method:Gv,array:Gv,object:Gv,number:Gv,date:Gv,boolean:Gv,integer:Gv,float:Gv,regexp:Gv,email:Gv,url:Gv,hex:Gv},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},Image:{preview:"预览"}};function qv(t){if("undefined"==typeof document)return 0;if(t||void 0===Uv){var e=document.createElement("div");e.style.width="100%",e.style.height="200px";var n=document.createElement("div"),a=n.style;a.position="absolute",a.top="0",a.left="0",a.pointerEvents="none",a.visibility="hidden",a.width="200px",a.height="150px",a.overflow="hidden",n.appendChild(e),document.body.appendChild(n);var r=e.offsetWidth;n.style.overflow="scroll";var o=e.offsetWidth;r===o&&(o=n.clientWidth),document.body.removeChild(n),Uv=r-o}return Uv}function Xv(t){var e=t.match(/^(.*)px$/),n=Number(null==e?void 0:e[1]);return Number.isNaN(n)?qv():n}function Zv(t){return null==t?[]:Array.isArray(t)?t:[t]}function Jv(t,e){if(!e&&"number"!=typeof e)return t;for(var n=Zv(e),a=t,r=0;r<n.length;r+=1){if(!a)return null;a=a[n[r]]}return a}function $v(t){var e=[],n={};return t.forEach((function(t){for(var a=t||{},r=a.key,o=a.dataIndex,i=r||Zv(o).join("-")||"RC_TABLE_KEY";n[i];)i="".concat(i,"_next");n[i]=!0,e.push(i)})),e}function Qv(t){return null!=t}var ty=["colSpan","rowSpan","style","className"];function ey(t,e){var n,a,r,o=t.prefixCls,i=t.className,s=t.record,c=t.index,u=t.dataIndex,d=t.render,p=t.children,f=t.component,h=void 0===f?"td":f,g=t.colSpan,m=t.rowSpan,b=t.fixLeft,v=t.fixRight,y=t.firstFixLeft,x=t.lastFixLeft,w=t.firstFixRight,_=t.lastFixRight,k=t.appendNode,S=t.additionalProps,C=void 0===S?{}:S,M=t.ellipsis,O=t.align,E=t.rowType,T=t.isSticky,D="".concat(o,"-cell");if(p)r=p;else{var I=Jv(s,u);if(r=I,d){var P=d(I,s,c);!function(t){return t&&"object"===Fi(t)&&!Array.isArray(t)&&!l.isValidElement(t)}(P)?r=P:(r=P.children,a=P.props)}}"object"!==Fi(r)||Array.isArray(r)||l.isValidElement(r)||(r=null),M&&(x||w)&&(r=l.createElement("span",{className:"".concat(D,"-content")},r));var N=a||{},A=N.colSpan,z=N.rowSpan,L=N.style,j=N.className,F=Yi(N,ty),B=void 0!==A?A:g,V=void 0!==z?z:m;if(0===B||0===V)return null;var Y={},H="number"==typeof b,W="number"==typeof v;H&&(Y.position="sticky",Y.left=b),W&&(Y.position="sticky",Y.right=v);var U,G={};O&&(G.textAlign=O);var K=!0===M?{showTitle:!0}:M;K&&(K.showTitle||"header"===E)&&("string"==typeof r||"number"==typeof r?U=r.toString():l.isValidElement(r)&&"string"==typeof r.props.children&&(U=r.props.children));var q,X=Vi(Vi(Vi({title:U},F),C),{},{colSpan:B&&1!==B?B:null,rowSpan:V&&1!==V?V:null,className:R(D,i,(n={},Ni(n,"".concat(D,"-fix-left"),H),Ni(n,"".concat(D,"-fix-left-first"),y),Ni(n,"".concat(D,"-fix-left-last"),x),Ni(n,"".concat(D,"-fix-right"),W),Ni(n,"".concat(D,"-fix-right-first"),w),Ni(n,"".concat(D,"-fix-right-last"),_),Ni(n,"".concat(D,"-ellipsis"),M),Ni(n,"".concat(D,"-with-append"),k),Ni(n,"".concat(D,"-fix-sticky"),(H||W)&&T),n),C.className,j),style:Vi(Vi(Vi(Vi({},C.style),G),Y),L),ref:(q=h,"string"==typeof q||Nl(q)?e:null)});return l.createElement(h,X,k,r)}var ny=l.forwardRef(ey);ny.displayName="Cell";var ay=l.memo(ny,(function(t,e){return!!e.shouldCellUpdate&&!e.shouldCellUpdate(e.record,t.record)})),ry=l.createContext(null);function oy(t,e,n,a,r){var o,i,l=n[t]||{},s=n[e]||{};"left"===l.fixed?o=a.left[t]:"right"===s.fixed&&(i=a.right[e]);var c=!1,u=!1,d=!1,p=!1,f=n[e+1],h=n[t-1];if("rtl"===r){if(void 0!==o)p=!(h&&"left"===h.fixed);else if(void 0!==i){d=!(f&&"right"===f.fixed)}}else if(void 0!==o){c=!(f&&"left"===f.fixed)}else if(void 0!==i){u=!(h&&"right"===h.fixed)}return{fixLeft:o,fixRight:i,lastFixLeft:c,firstFixRight:u,lastFixRight:d,firstFixLeft:p,isSticky:a.isSticky}}function iy(t){var e,n=t.cells,a=t.stickyOffsets,r=t.flattenColumns,o=t.rowComponent,i=t.cellComponent,s=t.onHeaderRow,c=t.index,u=l.useContext(ry),d=u.prefixCls,p=u.direction;s&&(e=s(n.map((function(t){return t.column})),c));var f=$v(n.map((function(t){return t.column})));return l.createElement(o,e,n.map((function(t,e){var n,o=t.column,s=oy(t.colStart,t.colEnd,r,a,p);return o&&o.onHeaderCell&&(n=t.column.onHeaderCell(o)),l.createElement(ay,Pi({},t,{ellipsis:o.ellipsis,align:o.align,component:i,prefixCls:d,key:f[e]},s,{additionalProps:n,rowType:"header"}))})))}function ly(t){var e=t.stickyOffsets,n=t.columns,a=t.flattenColumns,r=t.onHeaderRow,o=l.useContext(ry),i=o.prefixCls,s=o.getComponent,c=l.useMemo((function(){return function(t){var e=[];!function t(n,a){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;e[r]=e[r]||[];var o=a,i=n.filter(Boolean).map((function(n){var a={key:n.key,className:n.className||"",children:n.title,column:n,colStart:o},i=1,l=n.children;return l&&l.length>0&&(i=t(l,o,r+1).reduce((function(t,e){return t+e}),0),a.hasSubColumns=!0),"colSpan"in n&&(i=n.colSpan),"rowSpan"in n&&(a.rowSpan=n.rowSpan),a.colSpan=i,a.colEnd=a.colStart+i-1,e[r].push(a),o+=i,i}));return i}(t,0);for(var n=e.length,a=function(t){e[t].forEach((function(e){"rowSpan"in e||e.hasSubColumns||(e.rowSpan=n-t)}))},r=0;r<n;r+=1)a(r);return e}(n)}),[n]),u=s(["header","wrapper"],"thead"),d=s(["header","row"],"tr"),p=s(["header","cell"],"th");return l.createElement(u,{className:"".concat(i,"-thead")},c.map((function(t,n){return l.createElement(iy,{key:n,flattenColumns:a,cells:t,stickyOffsets:e,rowComponent:d,cellComponent:p,onHeaderRow:r,index:n})})))}iy.displayName="HeaderRow";var sy=l.createContext(null);function cy(t){var e=t.prefixCls,n=t.children,a=t.component,r=t.cellComponent,o=t.fixHeader,i=t.fixColumn,s=t.horizonScroll,c=t.className,u=t.expanded,d=t.componentWidth,p=t.colSpan,f=l.useContext(ry).scrollbarSize;return l.useMemo((function(){var t=n;return i&&(t=l.createElement("div",{style:{width:d-(o?f:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(e,"-expanded-row-fixed")},t)),l.createElement(a,{className:c,style:{display:u?null:"none"}},l.createElement(ay,{component:r,prefixCls:e,colSpan:p},t))}),[n,a,o,s,c,u,d,p,f])}function uy(t){var e=t.className,n=t.style,a=t.record,r=t.index,o=t.rowKey,i=t.getRowKey,s=t.rowExpandable,c=t.expandedKeys,u=t.onRow,d=t.indent,p=void 0===d?0:d,f=t.rowComponent,h=t.cellComponent,g=t.childrenColumnName,m=l.useContext(ry),b=m.prefixCls,v=m.fixedInfoList,y=l.useContext(sy),x=y.fixHeader,w=y.fixColumn,_=y.horizonScroll,k=y.componentWidth,S=y.flattenColumns,C=y.expandableType,M=y.expandRowByClick,O=y.onTriggerExpand,E=y.rowClassName,T=y.expandedRowClassName,D=y.indentSize,I=y.expandIcon,P=y.expandedRowRender,N=y.expandIconColumnIndex,A=ji(l.useState(!1),2),z=A[0],L=A[1],j=c&&c.has(t.recordKey);l.useEffect((function(){j&&L(!0)}),[j]);var F,B="row"===C&&(!s||s(a)),V="nest"===C,Y=g&&a&&a[g],H=B||V;u&&(F=u(a,r));var W;"string"==typeof E?W=E:"function"==typeof E&&(W=E(a,r,p));var U,G,K=$v(S),q=l.createElement(f,Pi({},F,{"data-row-key":o,className:R(e,"".concat(b,"-row"),"".concat(b,"-row-level-").concat(p),W,F&&F.className),style:Vi(Vi({},n),F?F.style:null),onClick:function(t){if(M&&H&&O(a,t),F&&F.onClick){for(var e,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];(e=F).onClick.apply(e,[t].concat(r))}}}),S.map((function(t,e){var n,o,i=t.render,s=t.dataIndex,c=t.className,u=K[e],d=v[e];return e===(N||0)&&V&&(n=l.createElement(l.Fragment,null,l.createElement("span",{style:{paddingLeft:"".concat(D*p,"px")},className:"".concat(b,"-row-indent indent-level-").concat(p)}),I({prefixCls:b,expanded:j,expandable:Y,record:a,onExpand:O}))),t.onCell&&(o=t.onCell(a,r)),l.createElement(ay,Pi({className:c,ellipsis:t.ellipsis,align:t.align,component:h,prefixCls:b,key:u,record:a,index:r,dataIndex:s,render:i,shouldCellUpdate:t.shouldCellUpdate},d,{appendNode:n,additionalProps:o}))})));if(B&&(z||j)){var X=P(a,r,p+1,j),Z=T&&T(a,r,p);U=l.createElement(cy,{expanded:j,className:R("".concat(b,"-expanded-row"),"".concat(b,"-expanded-row-level-").concat(p+1),Z),prefixCls:b,fixHeader:x,fixColumn:w,horizonScroll:_,component:f,componentWidth:k,cellComponent:h,colSpan:S.length},X)}return Y&&j&&(G=(a[g]||[]).map((function(e,n){var a=i(e,n);return l.createElement(uy,Pi({},t,{key:a,rowKey:a,record:e,recordKey:a,index:n,indent:p+1}))}))),l.createElement(l.Fragment,null,q,U,G)}uy.displayName="BodyRow";var dy=l.createContext(null);function py(t){var e=t.columnKey,n=t.onColumnResize,a=l.useRef();return l.useEffect((function(){a.current&&n(e,a.current.offsetWidth)}),[]),l.createElement(om,{onResize:function(t){var a=t.offsetWidth;n(e,a)}},l.createElement("td",{ref:a,style:{padding:0,border:0,height:0}},l.createElement("div",{style:{height:0,overflow:"hidden"}}," ")))}function fy(t){var e=t.data,n=t.getRowKey,a=t.measureColumnWidth,r=t.expandedKeys,o=t.onRow,i=t.rowExpandable,s=t.emptyNode,c=t.childrenColumnName,u=l.useContext(dy).onColumnResize,d=l.useContext(ry),p=d.prefixCls,f=d.getComponent,h=l.useContext(sy),g=h.fixHeader,m=h.horizonScroll,b=h.flattenColumns,v=h.componentWidth;return l.useMemo((function(){var t,d=f(["body","wrapper"],"tbody"),h=f(["body","row"],"tr"),y=f(["body","cell"],"td");t=e.length?e.map((function(t,e){var a=n(t,e);return l.createElement(uy,{key:a,rowKey:a,record:t,recordKey:a,index:e,rowComponent:h,cellComponent:y,expandedKeys:r,onRow:o,getRowKey:n,rowExpandable:i,childrenColumnName:c})})):l.createElement(cy,{expanded:!0,className:"".concat(p,"-placeholder"),prefixCls:p,fixHeader:g,fixColumn:m,horizonScroll:m,component:h,componentWidth:v,cellComponent:y,colSpan:b.length},s);var x=$v(b);return l.createElement(d,{className:"".concat(p,"-tbody")},a&&l.createElement("tr",{"aria-hidden":"true",className:"".concat(p,"-measure-row"),style:{height:0,fontSize:0}},x.map((function(t){return l.createElement(py,{key:t,columnKey:t,onColumnResize:u})}))),t)}),[e,p,o,a,r,n,f,v,s,b])}var hy=l.memo(fy);hy.displayName="Body";var gy=["expandable"],my="RC_TABLE_INTERNAL_COL_DEFINE";var by=["children"],vy=["fixed"];function yy(t){return Au(t).filter((function(t){return l.isValidElement(t)})).map((function(t){var e=t.key,n=t.props,a=n.children,r=Vi({key:e},Yi(n,by));return a&&(r.children=yy(a)),r}))}function xy(t){return t.reduce((function(t,e){var n=e.fixed,a=!0===n?"left":n,r=e.children;return r&&r.length>0?[].concat(Nu(t),Nu(xy(r).map((function(t){return Vi({fixed:a},t)})))):[].concat(Nu(t),[Vi(Vi({},e),{},{fixed:a})])}),[])}function wy(t,e){var n=t.prefixCls,a=t.columns,r=t.children,o=t.expandable,i=t.expandedKeys,s=t.getRowKey,c=t.onTriggerExpand,u=t.expandIcon,d=t.rowExpandable,p=t.expandIconColumnIndex,f=t.direction,h=t.expandRowByClick,g=t.columnWidth,m=t.fixed,b=l.useMemo((function(){return a||yy(r)}),[a,r]),v=l.useMemo((function(){if(o){var t,e,a=p||0,r=b[a];e="left"!==m&&!m||p?"right"!==m&&!m||p!==b.length?r?r.fixed:null:"right":"left";var f=(Ni(t={},my,{className:"".concat(n,"-expand-icon-col")}),Ni(t,"title",""),Ni(t,"fixed",e),Ni(t,"className","".concat(n,"-row-expand-icon-cell")),Ni(t,"width",g),Ni(t,"render",(function(t,e,a){var r=s(e,a),o=i.has(r),p=!d||d(e),f=u({prefixCls:n,expanded:o,expandable:p,record:e,onExpand:c});return h?l.createElement("span",{onClick:function(t){return t.stopPropagation()}},f):f})),t),v=b.slice();return a>=0&&v.splice(a,0,f),v}return b}),[o,b,s,i,u,f]),y=l.useMemo((function(){var t=v;return e&&(t=e(t)),t.length||(t=[{render:function(){return null}}]),t}),[e,v,f]),x=l.useMemo((function(){return"rtl"===f?function(t){return t.map((function(t){var e=t.fixed,n=e;return"left"===e?n="right":"right"===e&&(n="left"),Vi({fixed:n},Yi(t,vy))}))}(xy(y)):xy(y)}),[y,f]);return[y,x]}function _y(e){var n=t.useRef(e),a=ji(t.useState({}),2)[1],r=t.useRef(null),o=t.useRef([]);return t.useEffect((function(){return function(){r.current=null}}),[]),[n.current,function(t){o.current.push(t);var e=Promise.resolve();r.current=e,e.then((function(){if(r.current===e){var t=o.current,i=n.current;o.current=[],t.forEach((function(t){n.current=t(n.current)})),r.current=null,i!==n.current&&a({})}}))}]}function ky(t){for(var e=t.colWidths,n=t.columns,a=[],r=!1,o=(t.columCount||n.length)-1;o>=0;o-=1){var i=e[o],s=n&&n[o],c=s&&s[my];(i||c||r)&&(a.unshift(l.createElement("col",Pi({key:o,style:{width:i}},c))),r=!0)}return l.createElement("colgroup",null,a)}function Sy(t){var e=t.className,n=t.children;return l.createElement("div",{className:e},n)}var Cy=["children"];function My(t){return t.children}My.Row=function(t){var e=t.children,n=Yi(t,Cy);return l.createElement("tr",n,e)},My.Cell=function(t){var e=t.className,n=t.index,a=t.children,r=t.colSpan,o=void 0===r?1:r,i=t.rowSpan,s=t.align,c=l.useContext(ry),u=c.prefixCls,d=c.direction,p=l.useContext(Oy),f=p.scrollColumnIndex,h=p.stickyOffsets,g=p.flattenColumns,m=n+o-1+1===f?o+1:o,b=oy(n,n+m-1,g,h,d);return l.createElement(ay,Pi({className:e,index:n,component:"td",prefixCls:u,record:null,dataIndex:null,align:s,render:function(){return{children:a,props:{colSpan:m,rowSpan:i}}}},b))};var Oy=l.createContext({});function Ey(t){var e=t.children,n=t.stickyOffsets,a=t.flattenColumns,r=l.useContext(ry).prefixCls,o=a.length-1,i=a[o],s=l.useMemo((function(){return{stickyOffsets:n,flattenColumns:a,scrollColumnIndex:(null==i?void 0:i.scrollbar)?o:null}}),[i,a,o,n]);return l.createElement(Oy.Provider,{value:s},l.createElement("tfoot",{className:"".concat(r,"-summary")},e))}var Ty=My;function Dy(t){var e,n=t.prefixCls,a=t.record,r=t.onExpand,o=t.expanded,i=t.expandable,s="".concat(n,"-row-expand-icon");if(!i)return l.createElement("span",{className:R(s,"".concat(n,"-row-spaced"))});return l.createElement("span",{className:R(s,(e={},Ni(e,"".concat(n,"-row-expanded"),o),Ni(e,"".concat(n,"-row-collapsed"),!o),e)),onClick:function(t){r(a,t),t.stopPropagation()}})}function Iy(t){var e=t.getBoundingClientRect(),n=document.documentElement;return{left:e.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:e.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}var Py=function(t,e){var n,a,r=t.scrollBodyRef,o=t.onScroll,i=t.offsetScroll,s=t.container,c=l.useContext(ry).prefixCls,u=(null===(n=r.current)||void 0===n?void 0:n.scrollWidth)||0,d=(null===(a=r.current)||void 0===a?void 0:a.clientWidth)||0,p=u&&d*(d/u),f=l.useRef(),h=ji(_y({scrollLeft:0,isHiddenScrollBar:!1}),2),g=h[0],m=h[1],b=l.useRef({delta:0,x:0}),v=ji(l.useState(!1),2),y=v[0],x=v[1],w=function(){x(!1)},_=function(t){var e,n=(t||(null===(e=window)||void 0===e?void 0:e.event)).buttons;if(y&&0!==n){var a=b.current.x+t.pageX-b.current.x-b.current.delta;a<=0&&(a=0),a+p>=d&&(a=d-p),o({scrollLeft:a/d*(u+2)}),b.current.x=t.pageX}else y&&x(!1)},k=function(){var t=Iy(r.current).top,e=t+r.current.offsetHeight,n=s===window?document.documentElement.scrollTop+window.innerHeight:Iy(s).top+s.clientHeight;e-qv()<=n||t>=n-i?m((function(t){return Vi(Vi({},t),{},{isHiddenScrollBar:!0})})):m((function(t){return Vi(Vi({},t),{},{isHiddenScrollBar:!1})}))},S=function(t){m((function(e){return Vi(Vi({},e),{},{scrollLeft:t/u*d||0})}))};return l.useImperativeHandle(e,(function(){return{setScrollLeft:S}})),l.useEffect((function(){var t=Al(document.body,"mouseup",w,!1),e=Al(document.body,"mousemove",_,!1);return k(),function(){t.remove(),e.remove()}}),[p,y]),l.useEffect((function(){var t=Al(s,"scroll",k,!1),e=Al(window,"resize",k,!1);return function(){t.remove(),e.remove()}}),[s]),l.useEffect((function(){g.isHiddenScrollBar||m((function(t){var e=r.current;return e?Vi(Vi({},t),{},{scrollLeft:e.scrollLeft/e.scrollWidth*e.clientWidth}):t}))}),[g.isHiddenScrollBar]),u<=d||!p||g.isHiddenScrollBar?null:l.createElement("div",{style:{height:qv(),width:d,bottom:i},className:"".concat(c,"-sticky-scroll")},l.createElement("div",{onMouseDown:function(t){t.persist(),b.current.delta=t.pageX-g.scrollLeft,b.current.x=0,x(!0),t.preventDefault()},ref:f,className:R("".concat(c,"-sticky-scroll-bar"),Ni({},"".concat(c,"-sticky-scroll-bar-active"),y)),style:{width:"".concat(p,"px"),transform:"translate3d(".concat(g.scrollLeft,"px, 0, 0)")}}))},Ny=l.forwardRef(Py),Ay=zl()?window:null;var zy=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];var Ry=l.forwardRef((function(e,n){var a=e.className,r=e.noData,o=e.columns,i=e.flattenColumns,s=e.colWidths,c=e.columCount,u=e.stickyOffsets,d=e.direction,p=e.fixHeader,f=e.stickyTopOffset,h=e.stickyBottomOffset,g=e.stickyClassName,m=e.onScroll,b=e.maxContentScroll,v=e.children,y=Yi(e,zy),x=l.useContext(ry),w=x.prefixCls,_=x.scrollbarSize,k=x.isSticky,S=k&&!p?0:_,C=l.useRef(null),M=l.useCallback((function(t){Il(n,t),Il(C,t)}),[]);l.useEffect((function(){var t;function e(t){var e=t.currentTarget,n=t.deltaX;n&&(m({currentTarget:e,scrollLeft:e.scrollLeft+n}),t.preventDefault())}return null===(t=C.current)||void 0===t||t.addEventListener("wheel",e),function(){var t;null===(t=C.current)||void 0===t||t.removeEventListener("wheel",e)}}),[]);var O=l.useMemo((function(){return i.every((function(t){return t.width>=0}))}),[i]),E=i[i.length-1],T={fixed:E?E.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(w,"-cell-scrollbar")}}},D=t.useMemo((function(){return S?[].concat(Nu(o),[T]):o}),[S,o]),I=t.useMemo((function(){return S?[].concat(Nu(i),[T]):i}),[S,i]),P=t.useMemo((function(){var t=u.right,e=u.left;return Vi(Vi({},u),{},{left:"rtl"===d?[].concat(Nu(e.map((function(t){return t+S}))),[0]):e,right:"rtl"===d?t:[].concat(Nu(t.map((function(t){return t+S}))),[0]),isSticky:k})}),[S,u,k]),N=function(e,n){return t.useMemo((function(){for(var t=[],a=0;a<n;a+=1){var r=e[a];if(void 0===r)return null;t[a]=r}return t}),[e.join("_"),n])}(s,c);return l.createElement("div",{style:Vi({overflow:"hidden"},k?{top:f,bottom:h}:{}),ref:M,className:R(a,Ni({},g,!!g))},l.createElement("table",{style:{tableLayout:"fixed",visibility:r||N?null:"hidden"}},(!r||!b||O)&&l.createElement(ky,{colWidths:N?[].concat(Nu(N),[S]):[],columCount:c+1,columns:I}),v(Vi(Vi({},y),{},{stickyOffsets:P,columns:D,flattenColumns:I}))))}));Ry.displayName="FixedHolder";var Ly=[],jy={},Fy="rc-table-internal-hook",By=l.memo((function(t){return t.children}),(function(t,e){return!!dm(t.props,e.props)&&(t.pingLeft!==e.pingLeft||t.pingRight!==e.pingRight)}));function Vy(e){var n,a,r,o,i=e.prefixCls,s=e.className,c=e.rowClassName,u=e.style,d=e.data,p=e.rowKey,f=e.scroll,h=e.tableLayout,g=e.direction,m=e.title,b=e.footer,v=e.summary,y=e.id,x=e.showHeader,w=e.components,_=e.emptyText,k=e.onRow,S=e.onHeaderRow,C=e.internalHooks,M=e.transformColumns,O=e.internalRefs,E=e.sticky,T=d||Ly,D=!!T.length,I=l.useMemo((function(){return function(){var t={};function e(t,n){n&&Object.keys(n).forEach((function(a){var r=n[a];r&&"object"===Fi(r)?(t[a]=t[a]||{},e(t[a],r)):t[a]=r}))}for(var n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return a.forEach((function(n){e(t,n)})),t}(w,{})}),[w]),P=l.useCallback((function(t,e){return Jv(I,t)||e}),[I]),N=l.useMemo((function(){return"function"==typeof p?p:function(t){return t&&t[p]}}),[p]),A=function(t){var e=t.expandable,n=Yi(t,gy);return"expandable"in t?Vi(Vi({},n),e):n}(e),z=A.expandIcon,L=A.expandedRowKeys,j=A.defaultExpandedRowKeys,F=A.defaultExpandAllRows,B=A.expandedRowRender,V=A.onExpand,Y=A.onExpandedRowsChange,H=A.expandRowByClick,W=A.rowExpandable,U=A.expandIconColumnIndex,G=A.expandedRowClassName,K=A.childrenColumnName,q=A.indentSize,X=z||Dy,Z=K||"children",J=l.useMemo((function(){return B?"row":!!(e.expandable&&C===Fy&&e.expandable.__PARENT_RENDER_ICON__||T.some((function(t){return t&&"object"===Fi(t)&&t[Z]})))&&"nest"}),[!!B,T]),$=l.useState((function(){return j||(F?function(t,e,n){var a=[];return function t(r){(r||[]).forEach((function(r,o){a.push(e(r,o)),t(r[n])}))}(t),a}(T,N,Z):[])})),Q=ji($,2),tt=Q[0],et=Q[1],nt=l.useMemo((function(){return new Set(L||tt||[])}),[L,tt]),at=l.useCallback((function(t){var e,n=N(t,T.indexOf(t)),a=nt.has(n);a?(nt.delete(n),e=Nu(nt)):e=[].concat(Nu(nt),[n]),et(e),V&&V(!a,t),Y&&Y(e)}),[N,nt,T,V,Y]),rt=ji(l.useState(0),2),ot=rt[0],it=rt[1],lt=ji(wy(Vi(Vi(Vi({},e),A),{},{expandable:!!B,expandedKeys:nt,getRowKey:N,onTriggerExpand:at,expandIcon:X,expandIconColumnIndex:U,direction:g}),C===Fy?M:null),2),st=lt[0],ct=lt[1],ut=l.useMemo((function(){return{columns:st,flattenColumns:ct}}),[st,ct]),dt=l.useRef(),pt=l.useRef(),ft=l.useRef(),ht=l.useRef(),gt=ji(l.useState(!1),2),mt=gt[0],bt=gt[1],vt=ji(l.useState(!1),2),yt=vt[0],xt=vt[1],wt=ji(_y(new Map),2),_t=wt[0],kt=wt[1],St=$v(ct).map((function(t){return _t.get(t)})),Ct=l.useMemo((function(){return St}),[St.join("_")]),Mt=function(e,n,a){var r=t.useMemo((function(){for(var t=[],r=[],o=0,i=0,l=0;l<n;l+=1)if("rtl"===a){r[l]=i,i+=e[l]||0;var s=n-l-1;t[s]=o,o+=e[s]||0}else{t[l]=o,o+=e[l]||0;var c=n-l-1;r[c]=i,i+=e[c]||0}return{left:t,right:r}}),[e,n,a]);return r}(Ct,ct.length,g),Ot=f&&Qv(f.y),Et=f&&Qv(f.x)||Boolean(A.fixed),Tt=Et&&ct.some((function(t){return t.fixed})),Dt=l.useRef(),It=function(t,e){var n="object"===Fi(t)?t:{},a=n.offsetHeader,r=void 0===a?0:a,o=n.offsetSummary,i=void 0===o?0:o,s=n.offsetScroll,c=void 0===s?0:s,u=n.getContainer,d=(void 0===u?function(){return Ay}:u)()||Ay;return l.useMemo((function(){var n=!!t;return{isSticky:n,stickyClassName:n?"".concat(e,"-sticky-holder"):"",offsetHeader:r,offsetSummary:i,offsetScroll:c,container:d}}),[c,r,i,e,d])}(E,i),Pt=It.isSticky,Nt=It.offsetHeader,At=It.offsetSummary,zt=It.offsetScroll,Rt=It.stickyClassName,Lt=It.container,jt=null==v?void 0:v(T),Ft=(Ot||Pt)&&l.isValidElement(jt)&&jt.type===My&&jt.props.fixed;Ot&&(r={overflowY:"scroll",maxHeight:f.y}),Et&&(a={overflowX:"auto"},Ot||(r={overflowY:"hidden"}),o={width:!0===f.x?"auto":f.x,minWidth:"100%"});var Bt=l.useCallback((function(t,e){Ts(dt.current)&&kt((function(n){if(n.get(t)!==e){var a=new Map(n);return a.set(t,e),a}return n}))}),[]),Vt=ji(function(e){var n=t.useRef(e||null),a=t.useRef();function r(){window.clearTimeout(a.current)}return t.useEffect((function(){return r}),[]),[function(t){n.current=t,r(),a.current=window.setTimeout((function(){n.current=null,a.current=void 0}),100)},function(){return n.current}]}(null),2),Yt=Vt[0],Ht=Vt[1];function Wt(t,e){e&&("function"==typeof e?e(t):e.scrollLeft!==t&&(e.scrollLeft=t))}var Ut=function(t){var e,n=t.currentTarget,a=t.scrollLeft,r="rtl"===g,o="number"==typeof a?a:n.scrollLeft,i=n||jy;Ht()&&Ht()!==i||(Yt(i),Wt(o,pt.current),Wt(o,ft.current),Wt(o,ht.current),Wt(o,null===(e=Dt.current)||void 0===e?void 0:e.setScrollLeft));if(n){var l=n.scrollWidth,s=n.clientWidth;r?(bt(-o<l-s),xt(-o>0)):(bt(o>0),xt(o<l-s))}},Gt=function(){ft.current&&Ut({currentTarget:ft.current})};l.useEffect((function(){return Gt}),[]),l.useEffect((function(){Et&&Gt()}),[Et]);var Kt=ji(l.useState(0),2),qt=Kt[0],Xt=Kt[1];l.useEffect((function(){Xt(function(t){if(!("undefined"!=typeof document&&t&&t instanceof Element))return{width:0,height:0};var e=getComputedStyle(t,"::-webkit-scrollbar"),n=e.width,a=e.height;return{width:Xv(n),height:Xv(a)}}(ft.current).width)}),[]),l.useEffect((function(){C===Fy&&O&&(O.body.current=ft.current)}));var Zt,Jt=P(["table"],"table"),$t=l.useMemo((function(){return h||(Tt?"max-content"===f.x?"auto":"fixed":Ot||Pt||ct.some((function(t){return t.ellipsis}))?"fixed":"auto")}),[Ot,Tt,ct,h,Pt]),Qt={colWidths:Ct,columCount:ct.length,stickyOffsets:Mt,onHeaderRow:S,fixHeader:Ot,scroll:f},te=l.useMemo((function(){return D?null:"function"==typeof _?_():_}),[D,_]),ee=l.createElement(hy,{data:T,measureColumnWidth:Ot||Et||Pt,expandedKeys:nt,rowExpandable:W,getRowKey:N,onRow:k,emptyNode:te,childrenColumnName:Z}),ne=l.createElement(ky,{colWidths:ct.map((function(t){return t.width})),columns:ct}),ae=P(["body"]);if(Ot||Pt){var re;"function"==typeof ae?(re=ae(T,{scrollbarSize:qt,ref:ft,onScroll:Ut}),Qt.colWidths=ct.map((function(t,e){var n=t.width,a=e===st.length-1?n-qt:n;return"number"!=typeof a||Number.isNaN(a)?(Fu(!1,"When use `components.body` with render props. Each column should have a fixed `width` value."),0):a}))):re=l.createElement("div",{style:Vi(Vi({},a),r),onScroll:Ut,ref:ft,className:R("".concat(i,"-body"))},l.createElement(Jt,{style:Vi(Vi({},o),{},{tableLayout:$t})},ne,ee,!Ft&&jt&&l.createElement(Ey,{stickyOffsets:Mt,flattenColumns:ct},jt)));var oe=Vi(Vi(Vi({noData:!T.length,maxContentScroll:Et&&"max-content"===f.x},Qt),ut),{},{direction:g,stickyClassName:Rt,onScroll:Ut});Zt=l.createElement(l.Fragment,null,!1!==x&&l.createElement(Ry,Pi({},oe,{stickyTopOffset:Nt,className:"".concat(i,"-header"),ref:pt}),(function(t){return l.createElement(ly,t)})),re,Ft&&l.createElement(Ry,Pi({},oe,{stickyBottomOffset:At,className:"".concat(i,"-summary"),ref:ht}),(function(t){return l.createElement(Ey,t,jt)})),Pt&&l.createElement(Ny,{ref:Dt,offsetScroll:zt,scrollBodyRef:ft,onScroll:Ut,container:Lt}))}else Zt=l.createElement("div",{style:Vi(Vi({},a),r),className:R("".concat(i,"-content")),onScroll:Ut,ref:ft},l.createElement(Jt,{style:Vi(Vi({},o),{},{tableLayout:$t})},ne,!1!==x&&l.createElement(ly,Pi({},Qt,ut)),ee,jt&&l.createElement(Ey,{stickyOffsets:Mt,flattenColumns:ct},jt)));var ie=function(t){return Object.keys(t).reduce((function(e,n){return"data-"!==n.substr(0,5)&&"aria-"!==n.substr(0,5)||(e[n]=t[n]),e}),{})}(e),le=l.createElement("div",Pi({className:R(i,s,(n={},Ni(n,"".concat(i,"-rtl"),"rtl"===g),Ni(n,"".concat(i,"-ping-left"),mt),Ni(n,"".concat(i,"-ping-right"),yt),Ni(n,"".concat(i,"-layout-fixed"),"fixed"===h),Ni(n,"".concat(i,"-fixed-header"),Ot),Ni(n,"".concat(i,"-fixed-column"),Tt),Ni(n,"".concat(i,"-scroll-horizontal"),Et),Ni(n,"".concat(i,"-has-fix-left"),ct[0]&&ct[0].fixed),Ni(n,"".concat(i,"-has-fix-right"),ct[ct.length-1]&&"right"===ct[ct.length-1].fixed),n)),style:u,id:y,ref:dt},ie),l.createElement(By,{pingLeft:mt,pingRight:yt,props:Vi(Vi({},e),{},{stickyOffsets:Mt,mergedExpandedKeys:nt})},m&&l.createElement(Sy,{className:"".concat(i,"-title")},m(T)),l.createElement("div",{className:"".concat(i,"-container")},Zt),b&&l.createElement(Sy,{className:"".concat(i,"-footer")},b(T))));Et&&(le=l.createElement(om,{onResize:function(t){var e=t.width;e!==ot&&(Gt(),it(dt.current?dt.current.offsetWidth:e))}},le));var se=l.useMemo((function(){return{prefixCls:i,getComponent:P,scrollbarSize:qt,direction:g,fixedInfoList:ct.map((function(t,e){return oy(e,e,ct,Mt,g)})),isSticky:Pt}}),[i,P,qt,g,ct,Mt,g,Pt]),ce=l.useMemo((function(){return Vi(Vi({},ut),{},{tableLayout:$t,rowClassName:c,expandedRowClassName:G,componentWidth:ot,fixHeader:Ot,fixColumn:Tt,horizonScroll:Et,expandIcon:X,expandableType:J,expandRowByClick:H,expandedRowRender:B,onTriggerExpand:at,expandIconColumnIndex:U,indentSize:q})}),[ut,$t,c,G,ot,Ot,Tt,Et,X,J,H,B,at,U,q]),ue=l.useMemo((function(){return{onColumnResize:Bt}}),[Bt]);return l.createElement(ry.Provider,{value:se},l.createElement(sy.Provider,{value:ce},l.createElement(dy.Provider,{value:ue},le)))}Vy.Column=function(t){return null},Vy.ColumnGroup=function(t){return null},Vy.Summary=Ty,Vy.defaultProps={rowKey:"key",prefixCls:"rc-table",emptyText:function(){return"No Data"}};var Yy=function(t){var e,n="".concat(t.rootPrefixCls,"-item"),a=R(n,"".concat(n,"-").concat(t.page),(Ni(e={},"".concat(n,"-active"),t.active),Ni(e,"".concat(n,"-disabled"),!t.page),Ni(e,t.className,!!t.className),e));return i.default.createElement("li",{title:t.showTitle?t.page:null,className:a,onClick:function(){t.onClick(t.page)},onKeyPress:function(e){t.onKeyPress(e,t.onClick,t.page)},tabIndex:"0"},t.itemRender(t.page,"page",i.default.createElement("a",{rel:"nofollow"},t.page)))},Hy=13,Wy=38,Uy=40,Gy=function(t){qi(n,t);var e=Qi(n);function n(){var t;Hi(this,n);for(var a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))).state={goInputText:""},t.buildOptionText=function(e){return"".concat(e," ").concat(t.props.locale.items_per_page)},t.changeSize=function(e){t.props.changeSize(Number(e))},t.handleChange=function(e){t.setState({goInputText:e.target.value})},t.handleBlur=function(e){var n=t.props,a=n.goButton,r=n.quickGo,o=n.rootPrefixCls,i=t.state.goInputText;a||""===i||(t.setState({goInputText:""}),e.relatedTarget&&(e.relatedTarget.className.indexOf("".concat(o,"-item-link"))>=0||e.relatedTarget.className.indexOf("".concat(o,"-item"))>=0)||r(t.getValidValue()))},t.go=function(e){""!==t.state.goInputText&&(e.keyCode!==Hy&&"click"!==e.type||(t.setState({goInputText:""}),t.props.quickGo(t.getValidValue())))},t}return Ui(n,[{key:"getValidValue",value:function(){var t=this.state.goInputText;return!t||isNaN(t)?void 0:Number(t)}},{key:"getPageSizeOptions",value:function(){var t=this.props,e=t.pageSize,n=t.pageSizeOptions;return n.some((function(t){return t.toString()===e.toString()}))?n:n.concat([e.toString()]).sort((function(t,e){return(isNaN(Number(t))?0:Number(t))-(isNaN(Number(e))?0:Number(e))}))}},{key:"render",value:function(){var t=this,e=this.props,n=e.pageSize,a=e.locale,r=e.rootPrefixCls,o=e.changeSize,l=e.quickGo,s=e.goButton,c=e.selectComponentClass,u=e.buildOptionText,d=e.selectPrefixCls,p=e.disabled,f=this.state.goInputText,h="".concat(r,"-options"),g=c,m=null,b=null,v=null;if(!o&&!l)return null;var y=this.getPageSizeOptions();if(o&&g){var x=y.map((function(e,n){return i.default.createElement(g.Option,{key:n,value:e.toString()},(u||t.buildOptionText)(e))}));m=i.default.createElement(g,{disabled:p,prefixCls:d,showSearch:!1,className:"".concat(h,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(n||y[0]).toString(),onChange:this.changeSize,getPopupContainer:function(t){return t.parentNode}},x)}return l&&(s&&(v="boolean"==typeof s?i.default.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:p,className:"".concat(h,"-quick-jumper-button")},a.jump_to_confirm):i.default.createElement("span",{onClick:this.go,onKeyUp:this.go},s)),b=i.default.createElement("div",{className:"".concat(h,"-quick-jumper")},a.jump_to,i.default.createElement("input",{disabled:p,type:"text",value:f,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),a.page,v)),i.default.createElement("li",{className:"".concat(h)},m,b)}}]),n}(i.default.Component);function Ky(){}function qy(t,e,n){var a=void 0===t?e.pageSize:t;return Math.floor((n.total-1)/a)+1}Gy.defaultProps={pageSizeOptions:["10","20","50","100"]};var Xy=function(e){qi(a,e);var n=Qi(a);function a(t){var e;Hi(this,a),(e=n.call(this,t)).getJumpPrevPage=function(){return Math.max(1,e.state.current-(e.props.showLessItems?3:5))},e.getJumpNextPage=function(){return Math.min(qy(void 0,e.state,e.props),e.state.current+(e.props.showLessItems?3:5))},e.getItemIcon=function(t,n){var a=e.props.prefixCls,r=t||i.default.createElement("button",{type:"button","aria-label":n,className:"".concat(a,"-item-link")});return"function"==typeof t&&(r=i.default.createElement(t,Vi({},e.props))),r},e.savePaginationNode=function(t){e.paginationNode=t},e.isValid=function(t){return"number"==typeof(n=t)&&isFinite(n)&&Math.floor(n)===n&&t!==e.state.current;var n},e.shouldDisplayQuickJumper=function(){var t=e.props,n=t.showQuickJumper,a=t.pageSize;return!(t.total<=a)&&n},e.handleKeyDown=function(t){t.keyCode!==Wy&&t.keyCode!==Uy||t.preventDefault()},e.handleKeyUp=function(t){var n=e.getValidValue(t);n!==e.state.currentInputValue&&e.setState({currentInputValue:n}),t.keyCode===Hy?e.handleChange(n):t.keyCode===Wy?e.handleChange(n-1):t.keyCode===Uy&&e.handleChange(n+1)},e.changePageSize=function(t){var n=e.state.current,a=qy(t,e.state,e.props);n=n>a?a:n,0===a&&(n=e.state.current),"number"==typeof t&&("pageSize"in e.props||e.setState({pageSize:t}),"current"in e.props||e.setState({current:n,currentInputValue:n})),e.props.onShowSizeChange(n,t),"onChange"in e.props&&e.props.onChange&&e.props.onChange(n,t)},e.handleChange=function(t){var n=e.props.disabled,a=t;if(e.isValid(a)&&!n){var r=qy(void 0,e.state,e.props);a>r?a=r:a<1&&(a=1),"current"in e.props||e.setState({current:a,currentInputValue:a});var o=e.state.pageSize;return e.props.onChange(a,o),a}return e.state.current},e.prev=function(){e.hasPrev()&&e.handleChange(e.state.current-1)},e.next=function(){e.hasNext()&&e.handleChange(e.state.current+1)},e.jumpPrev=function(){e.handleChange(e.getJumpPrevPage())},e.jumpNext=function(){e.handleChange(e.getJumpNextPage())},e.hasPrev=function(){return e.state.current>1},e.hasNext=function(){return e.state.current<qy(void 0,e.state,e.props)},e.runIfEnter=function(t,e){if("Enter"===t.key||13===t.charCode){for(var n=arguments.length,a=new Array(n>2?n-2:0),r=2;r<n;r++)a[r-2]=arguments[r];e.apply(void 0,a)}},e.runIfEnterPrev=function(t){e.runIfEnter(t,e.prev)},e.runIfEnterNext=function(t){e.runIfEnter(t,e.next)},e.runIfEnterJumpPrev=function(t){e.runIfEnter(t,e.jumpPrev)},e.runIfEnterJumpNext=function(t){e.runIfEnter(t,e.jumpNext)},e.handleGoTO=function(t){t.keyCode!==Hy&&"click"!==t.type||e.handleChange(e.state.currentInputValue)};var r=t.onChange!==Ky;"current"in t&&!r&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var o=t.defaultCurrent;"current"in t&&(o=t.current);var l=t.defaultPageSize;return"pageSize"in t&&(l=t.pageSize),o=Math.min(o,qy(l,void 0,t)),e.state={current:o,currentInputValue:o,pageSize:l},e}return Ui(a,[{key:"componentDidUpdate",value:function(t,e){var n=this.props.prefixCls;if(e.current!==this.state.current&&this.paginationNode){var a=this.paginationNode.querySelector(".".concat(n,"-item-").concat(e.current));a&&document.activeElement===a&&a.blur()}}},{key:"getValidValue",value:function(t){var e=t.target.value,n=qy(void 0,this.state,this.props),a=this.state.currentInputValue;return""===e?e:isNaN(Number(e))?a:e>=n?n:Number(e)}},{key:"getShowSizeChanger",value:function(){var t=this.props,e=t.showSizeChanger,n=t.total,a=t.totalBoundaryShowSizeChanger;return void 0!==e?e:n>a}},{key:"renderPrev",value:function(e){var n=this.props,a=n.prevIcon,r=(0,n.itemRender)(e,"prev",this.getItemIcon(a,"prev page")),o=!this.hasPrev();return t.isValidElement(r)?t.cloneElement(r,{disabled:o}):r}},{key:"renderNext",value:function(e){var n=this.props,a=n.nextIcon,r=(0,n.itemRender)(e,"next",this.getItemIcon(a,"next page")),o=!this.hasNext();return t.isValidElement(r)?t.cloneElement(r,{disabled:o}):r}},{key:"render",value:function(){var e=this,n=this.props,a=n.prefixCls,r=n.className,o=n.style,l=n.disabled,s=n.hideOnSinglePage,c=n.total,u=n.locale,d=n.showQuickJumper,p=n.showLessItems,f=n.showTitle,h=n.showTotal,g=n.simple,m=n.itemRender,b=n.showPrevNextJumpers,v=n.jumpPrevIcon,y=n.jumpNextIcon,x=n.selectComponentClass,w=n.selectPrefixCls,_=n.pageSizeOptions,k=this.state,S=k.current,C=k.pageSize,M=k.currentInputValue;if(!0===s&&c<=C)return null;var O=qy(void 0,this.state,this.props),E=[],T=null,D=null,I=null,P=null,N=null,A=d&&d.goButton,z=p?1:2,L=S-1>0?S-1:0,j=S+1<O?S+1:O,F=Object.keys(this.props).reduce((function(t,n){return"data-"!==n.substr(0,5)&&"aria-"!==n.substr(0,5)&&"role"!==n||(t[n]=e.props[n]),t}),{});if(g)return A&&(N="boolean"==typeof A?i.default.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},u.jump_to_confirm):i.default.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},A),N=i.default.createElement("li",{title:f?"".concat(u.jump_to).concat(S,"/").concat(O):null,className:"".concat(a,"-simple-pager")},N)),i.default.createElement("ul",Pi({className:R(a,"".concat(a,"-simple"),Ni({},"".concat(a,"-disabled"),l),r),style:o,ref:this.savePaginationNode},F),i.default.createElement("li",{title:f?u.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:R("".concat(a,"-prev"),Ni({},"".concat(a,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(L)),i.default.createElement("li",{title:f?"".concat(S,"/").concat(O):null,className:"".concat(a,"-simple-pager")},i.default.createElement("input",{type:"text",value:M,disabled:l,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"}),i.default.createElement("span",{className:"".concat(a,"-slash")},"/"),O),i.default.createElement("li",{title:f?u.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:R("".concat(a,"-next"),Ni({},"".concat(a,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(j)),N);if(O<=3+2*z){var B={locale:u,rootPrefixCls:a,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:f,itemRender:m};O||E.push(i.default.createElement(Yy,Pi({},B,{key:"noPager",page:1,className:"".concat(a,"-item-disabled")})));for(var V=1;V<=O;V+=1){var Y=S===V;E.push(i.default.createElement(Yy,Pi({},B,{key:V,page:V,active:Y})))}}else{var H=p?u.prev_3:u.prev_5,W=p?u.next_3:u.next_5;b&&(T=i.default.createElement("li",{title:f?H:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:R("".concat(a,"-jump-prev"),Ni({},"".concat(a,"-jump-prev-custom-icon"),!!v))},m(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(v,"prev page"))),D=i.default.createElement("li",{title:f?W:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:R("".concat(a,"-jump-next"),Ni({},"".concat(a,"-jump-next-custom-icon"),!!y))},m(this.getJumpNextPage(),"jump-next",this.getItemIcon(y,"next page")))),P=i.default.createElement(Yy,{locale:u,last:!0,rootPrefixCls:a,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:O,page:O,active:!1,showTitle:f,itemRender:m}),I=i.default.createElement(Yy,{locale:u,rootPrefixCls:a,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:f,itemRender:m});var U=Math.max(1,S-z),G=Math.min(S+z,O);S-1<=z&&(G=1+2*z),O-S<=z&&(U=O-2*z);for(var K=U;K<=G;K+=1){var q=S===K;E.push(i.default.createElement(Yy,{locale:u,rootPrefixCls:a,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:K,page:K,active:q,showTitle:f,itemRender:m}))}S-1>=2*z&&3!==S&&(E[0]=t.cloneElement(E[0],{className:"".concat(a,"-item-after-jump-prev")}),E.unshift(T)),O-S>=2*z&&S!==O-2&&(E[E.length-1]=t.cloneElement(E[E.length-1],{className:"".concat(a,"-item-before-jump-next")}),E.push(D)),1!==U&&E.unshift(I),G!==O&&E.push(P)}var X=null;h&&(X=i.default.createElement("li",{className:"".concat(a,"-total-text")},h(c,[0===c?0:(S-1)*C+1,S*C>c?c:S*C])));var Z=!this.hasPrev()||!O,J=!this.hasNext()||!O;return i.default.createElement("ul",Pi({className:R(a,r,Ni({},"".concat(a,"-disabled"),l)),style:o,unselectable:"unselectable",ref:this.savePaginationNode},F),X,i.default.createElement("li",{title:f?u.prev_page:null,onClick:this.prev,tabIndex:Z?null:0,onKeyPress:this.runIfEnterPrev,className:R("".concat(a,"-prev"),Ni({},"".concat(a,"-disabled"),Z)),"aria-disabled":Z},this.renderPrev(L)),E,i.default.createElement("li",{title:f?u.next_page:null,onClick:this.next,tabIndex:J?null:0,onKeyPress:this.runIfEnterNext,className:R("".concat(a,"-next"),Ni({},"".concat(a,"-disabled"),J)),"aria-disabled":J},this.renderNext(j)),i.default.createElement(Gy,{disabled:l,locale:u,rootPrefixCls:a,selectComponentClass:x,selectPrefixCls:w,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:S,pageSize:C,pageSizeOptions:_,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:A}))}}],[{key:"getDerivedStateFromProps",value:function(t,e){var n={};if("current"in t&&(n.current=t.current,t.current!==e.current&&(n.currentInputValue=n.current)),"pageSize"in t&&t.pageSize!==e.pageSize){var a=e.current,r=qy(t.pageSize,e,t);a=a>r?r:a,"current"in t||(n.current=a,n.currentInputValue=a),n.pageSize=t.pageSize}return n}}]),a}(i.default.Component);Xy.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Ky,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Ky,locale:Yv,style:{},itemRender:function(t,e,n){return n},totalBoundaryShowSizeChanger:50};var Zy={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Jy=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:Zy}))};Jy.displayName="LeftOutlined";var $y=l.forwardRef(Jy),Qy={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},tx=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:Qy}))};tx.displayName="DoubleLeftOutlined";var ex=l.forwardRef(tx),nx={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},ax=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:nx}))};ax.displayName="DoubleRightOutlined";var rx=l.forwardRef(ax),ox="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n    alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n    charSet checked classID className colSpan cols content contentEditable contextMenu\n    controls coords crossOrigin data dateTime default defer dir disabled download draggable\n    encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n    headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n    is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n    mediaGroup method min minLength multiple muted name noValidate nonce open\n    optimum pattern placeholder poster preload radioGroup readOnly rel required\n    reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n    shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n    summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n    onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n    onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n    onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n    onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n    onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n    onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/),ix="aria-",lx="data-";function sx(t,e){return 0===t.indexOf(e)}function cx(t){var e,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e=!1===n?{aria:!0,data:!0,attr:!0}:!0===n?{aria:!0}:Vi({},n);var a={};return Object.keys(t).forEach((function(n){(e.aria&&("role"===n||sx(n,ix))||e.data&&sx(n,lx)||e.attr&&ox.includes(n))&&(a[n]=t[n])})),a}function ux(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function dx(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ux(Object(n),!0).forEach((function(e){px(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ux(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function px(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var fx=l.forwardRef((function(t,e){var n=t.height,a=t.offset,r=t.children,o=t.prefixCls,i=t.onInnerResize,s={},c={display:"flex",flexDirection:"column"};return void 0!==a&&(s={height:n,position:"relative",overflow:"hidden"},c=dx(dx({},c),{},{transform:"translateY(".concat(a,"px)"),position:"absolute",left:0,right:0,top:0})),l.createElement("div",{style:s},l.createElement(om,{onResize:function(t){t.offsetHeight&&i&&i()}},l.createElement("div",{style:c,className:R(px({},"".concat(o,"-holder-inner"),o)),ref:e},r)))}));function hx(t){return hx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},hx(t)}function gx(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mx(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bx(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function vx(t,e){return vx=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},vx(t,e)}function yx(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,a=_x(t);if(e){var r=_x(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return xx(this,n)}}function xx(t,e){if(e&&("object"===hx(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function _x(t){return _x=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},_x(t)}fx.displayName="Filler";function kx(t){return"touches"in t?t.touches[0].pageY:t.pageY}var Sx=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vx(t,e)}(o,t);var e,n,a,r=yx(o);function o(){var t;mx(this,o);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return(t=r.call.apply(r,[this].concat(n))).moveRaf=null,t.scrollbarRef=l.createRef(),t.thumbRef=l.createRef(),t.visibleTimeout=null,t.state={dragging:!1,pageY:null,startTop:null,visible:!1},t.delayHidden=function(){clearTimeout(t.visibleTimeout),t.setState({visible:!0}),t.visibleTimeout=setTimeout((function(){t.setState({visible:!1})}),2e3)},t.onScrollbarTouchStart=function(t){t.preventDefault()},t.onContainerMouseDown=function(t){t.stopPropagation(),t.preventDefault()},t.patchEvents=function(){window.addEventListener("mousemove",t.onMouseMove),window.addEventListener("mouseup",t.onMouseUp),t.thumbRef.current.addEventListener("touchmove",t.onMouseMove),t.thumbRef.current.addEventListener("touchend",t.onMouseUp)},t.removeEvents=function(){window.removeEventListener("mousemove",t.onMouseMove),window.removeEventListener("mouseup",t.onMouseUp),t.scrollbarRef.current.removeEventListener("touchstart",t.onScrollbarTouchStart),t.thumbRef.current.removeEventListener("touchstart",t.onMouseDown),t.thumbRef.current.removeEventListener("touchmove",t.onMouseMove),t.thumbRef.current.removeEventListener("touchend",t.onMouseUp),ol.cancel(t.moveRaf)},t.onMouseDown=function(e){var n=t.props.onStartMove;t.setState({dragging:!0,pageY:kx(e),startTop:t.getTop()}),n(),t.patchEvents(),e.stopPropagation(),e.preventDefault()},t.onMouseMove=function(e){var n=t.state,a=n.dragging,r=n.pageY,o=n.startTop,i=t.props.onScroll;if(ol.cancel(t.moveRaf),a){var l=o+(kx(e)-r),s=t.getEnableScrollRange(),c=t.getEnableHeightRange(),u=c?l/c:0,d=Math.ceil(u*s);t.moveRaf=ol((function(){i(d)}))}},t.onMouseUp=function(){var e=t.props.onStopMove;t.setState({dragging:!1}),e(),t.removeEvents()},t.getSpinHeight=function(){var e=t.props,n=e.height,a=n/e.count*10;return a=Math.max(a,20),a=Math.min(a,n/2),Math.floor(a)},t.getEnableScrollRange=function(){var e=t.props;return e.scrollHeight-e.height||0},t.getEnableHeightRange=function(){return t.props.height-t.getSpinHeight()||0},t.getTop=function(){var e=t.props.scrollTop,n=t.getEnableScrollRange(),a=t.getEnableHeightRange();return 0===e||0===n?0:e/n*a},t.showScroll=function(){var e=t.props,n=e.height;return e.scrollHeight>n},t}return e=o,(n=[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(t){t.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var t=this.state,e=t.dragging,n=t.visible,a=this.props.prefixCls,r=this.getSpinHeight(),o=this.getTop(),i=this.showScroll(),s=i&&n;return l.createElement("div",{ref:this.scrollbarRef,className:R("".concat(a,"-scrollbar"),gx({},"".concat(a,"-scrollbar-show"),i)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:s?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},l.createElement("div",{ref:this.thumbRef,className:R("".concat(a,"-scrollbar-thumb"),gx({},"".concat(a,"-scrollbar-thumb-moving"),e)),style:{width:"100%",height:r,top:o,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}])&&bx(e.prototype,n),a&&bx(e,a),o}(l.Component);function Cx(t){var e=t.children,n=t.setRef,a=l.useCallback((function(t){n(t)}),[]);return l.cloneElement(e,{ref:a})}function Mx(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}var Ox=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.maps=void 0,this.maps=Object.create(null)}var e,n,a;return e=t,n=[{key:"set",value:function(t,e){this.maps[t]=e}},{key:"get",value:function(t){return this.maps[t]}}],n&&Mx(e.prototype,n),a&&Mx(e,a),t}();function Ex(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var a,r,o=[],i=!0,l=!1;try{for(n=n.call(t);!(i=(a=n.next()).done)&&(o.push(a.value),!e||o.length!==e);i=!0);}catch(t){l=!0,r=t}finally{try{i||null==n.return||n.return()}finally{if(l)throw r}}return o}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Tx(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Tx(t,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 Tx(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,a=new Array(e);n<e;n++)a[n]=t[n];return a}function Dx(t){return Dx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Dx(t)}function Ix(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var a,r,o=[],i=!0,l=!1;try{for(n=n.call(t);!(i=(a=n.next()).done)&&(o.push(a.value),!e||o.length!==e);i=!0);}catch(t){l=!0,r=t}finally{try{i||null==n.return||n.return()}finally{if(l)throw r}}return o}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Px(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Px(t,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 Px(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,a=new Array(e);n<e;n++)a[n]=t[n];return a}function Nx(t,e,n){var a=Ix(l.useState(t),2),r=a[0],o=a[1],i=Ix(l.useState(null),2),s=i[0],c=i[1];return l.useEffect((function(){var a=function(t,e,n){var a,r,o=t.length,i=e.length;if(0===o&&0===i)return null;o<i?(a=t,r=e):(a=e,r=t);var l={__EMPTY_ITEM__:!0};function s(t){return void 0!==t?n(t):l}for(var c=null,u=1!==Math.abs(o-i),d=0;d<r.length;d+=1){var p=s(a[d]);if(p!==s(r[d])){c=d,u=u||p!==s(r[d+1]);break}}return null===c?null:{index:c,multiple:u}}(r||[],t||[],e);void 0!==(null==a?void 0:a.index)&&(null==n||n(a.index),c(t[a.index])),o(t)}),[t]),[s]}function Ax(t){return Ax="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ax(t)}var zx="object"===("undefined"==typeof navigator?"undefined":Ax(navigator))&&/Firefox/i.test(navigator.userAgent),Rx=function(e,n){var a=t.useRef(!1),r=t.useRef(null);function o(){clearTimeout(r.current),a.current=!0,r.current=setTimeout((function(){a.current=!1}),50)}var i=t.useRef({top:e,bottom:n});return i.current.top=e,i.current.bottom=n,function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t<0&&i.current.top||t>0&&i.current.bottom;return e&&n?(clearTimeout(r.current),a.current=!1):n&&!a.current||o(),!a.current&&n}};var Lx=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange"];function jx(){return jx=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},jx.apply(this,arguments)}function Fx(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function Bx(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Fx(Object(n),!0).forEach((function(e){Vx(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Fx(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Vx(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yx(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var a,r,o=[],i=!0,l=!1;try{for(n=n.call(t);!(i=(a=n.next()).done)&&(o.push(a.value),!e||o.length!==e);i=!0);}catch(t){l=!0,r=t}finally{try{i||null==n.return||n.return()}finally{if(l)throw r}}return o}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Hx(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Hx(t,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 Hx(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,a=new Array(e);n<e;n++)a[n]=t[n];return a}function Wx(t,e){if(null==t)return{};var n,a,r=function(t,e){if(null==t)return{};var n,a,r={},o=Object.keys(t);for(a=0;a<o.length;a++)n=o[a],e.indexOf(n)>=0||(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(a=0;a<o.length;a++)n=o[a],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}var Ux=[],Gx={overflowY:"auto",overflowAnchor:"none"};function Kx(e,n){var a=e.prefixCls,r=void 0===a?"rc-virtual-list":a,o=e.className,i=e.height,s=e.itemHeight,c=e.fullHeight,u=void 0===c||c,d=e.style,p=e.data,f=e.children,h=e.itemKey,g=e.virtual,m=e.component,b=void 0===m?"div":m,v=e.onScroll,y=e.onVisibleChange,x=Wx(e,Lx),w=!(!1===g||!i||!s),_=w&&p&&s*p.length>i,k=Yx(t.useState(0),2),S=k[0],C=k[1],M=Yx(t.useState(!1),2),O=M[0],E=M[1],T=R(r,o),D=p||Ux,I=t.useRef(),P=t.useRef(),N=t.useRef(),A=l.useCallback((function(t){return"function"==typeof h?h(t):null==t?void 0:t[h]}),[h]),z={getKey:A};function L(t){C((function(e){var n=function(t){var e=t;Number.isNaN(Q.current)||(e=Math.min(e,Q.current));return e=Math.max(e,0)}("function"==typeof t?t(e):t);return I.current.scrollTop=n,n}))}var j=t.useRef({start:0,end:D.length}),F=t.useRef(),B=Yx(Nx(D,A),1)[0];F.current=B;var V=function(e,n,a){var r=Ex(l.useState(0),2),o=r[0],i=r[1],s=t.useRef(new Map),c=t.useRef(new Ox),u=t.useRef(0);function d(){u.current+=1;var t=u.current;Promise.resolve().then((function(){t===u.current&&(s.current.forEach((function(t,e){if(t&&t.offsetParent){var n=ll(t),a=n.offsetHeight;c.current.get(e)!==a&&c.current.set(e,n.offsetHeight)}})),i((function(t){return t+1})))}))}return[function(t,r){var o=e(t),i=s.current.get(o);r?(s.current.set(o,r),d()):s.current.delete(o),!i!=!r&&(r?null==n||n(t):null==a||a(t))},d,c.current,o]}(A,null,null),Y=Yx(V,4),H=Y[0],W=Y[1],U=Y[2],G=Y[3],K=l.useMemo((function(){if(!w)return{scrollHeight:void 0,start:0,end:D.length-1,offset:void 0};var t;if(!_)return{scrollHeight:(null===(t=P.current)||void 0===t?void 0:t.offsetHeight)||0,start:0,end:D.length-1,offset:void 0};for(var e,n,a,r=0,o=D.length,l=0;l<o;l+=1){var c=D[l],u=A(c),d=U.get(u),p=r+(void 0===d?s:d);p>=S&&void 0===e&&(e=l,n=r),p>S+i&&void 0===a&&(a=l),r=p}return void 0===e&&(e=0,n=0),void 0===a&&(a=D.length-1),{scrollHeight:r,start:e,end:a=Math.min(a+1,D.length),offset:n}}),[_,w,S,D,G,i]),q=K.scrollHeight,X=K.start,Z=K.end,J=K.offset;j.current.start=X,j.current.end=Z;var $=q-i,Q=t.useRef($);Q.current=$;var tt=S<=0,et=S>=$,nt=Rx(tt,et);var at=function(e,n,a,r){var o=t.useRef(0),i=t.useRef(null),l=t.useRef(null),s=t.useRef(!1),c=Rx(n,a);return[function(t){if(e){ol.cancel(i.current);var n=t.deltaY;o.current+=n,l.current=n,c(n)||(zx||t.preventDefault(),i.current=ol((function(){var t=s.current?10:1;r(o.current*t),o.current=0})))}},function(t){e&&(s.current=t.detail===l.current)}]}(w,tt,et,(function(t){L((function(e){return e+t}))})),rt=Yx(at,2),ot=rt[0],it=rt[1];!function(e,n,a){var r,o=t.useRef(!1),i=t.useRef(0),s=t.useRef(null),c=t.useRef(null),u=function(t){if(o.current){var e=Math.ceil(t.touches[0].pageY),n=i.current-e;i.current=e,a(n)&&t.preventDefault(),clearInterval(c.current),c.current=setInterval((function(){(!a(n*=.9333333333333333,!0)||Math.abs(n)<=.1)&&clearInterval(c.current)}),16)}},d=function(){o.current=!1,r()},p=function(t){r(),1!==t.touches.length||o.current||(o.current=!0,i.current=Math.ceil(t.touches[0].pageY),s.current=t.target,s.current.addEventListener("touchmove",u),s.current.addEventListener("touchend",d))};r=function(){s.current&&(s.current.removeEventListener("touchmove",u),s.current.removeEventListener("touchend",d))},l.useLayoutEffect((function(){return e&&n.current.addEventListener("touchstart",p),function(){n.current.removeEventListener("touchstart",p),r(),clearInterval(c.current)}}),[e])}(w,I,(function(t,e){return!nt(t,e)&&(ot({preventDefault:function(){},deltaY:t}),!0)})),t.useLayoutEffect((function(){function t(t){w&&t.preventDefault()}return I.current.addEventListener("wheel",ot),I.current.addEventListener("DOMMouseScroll",it),I.current.addEventListener("MozMousePixelScroll",t),function(){I.current.removeEventListener("wheel",ot),I.current.removeEventListener("DOMMouseScroll",it),I.current.removeEventListener("MozMousePixelScroll",t)}}),[w]);var lt=function(t,e,n,a,r,o,i,s){var c=l.useRef();return function(l){if(null!=l){if(ol.cancel(c.current),"number"==typeof l)i(l);else if(l&&"object"===Dx(l)){var u,d=l.align;u="index"in l?l.index:e.findIndex((function(t){return r(t)===l.key}));var p=l.offset,f=void 0===p?0:p;!function l(s,p){if(!(s<0)&&t.current){var h=t.current.clientHeight,g=!1,m=p;if(h){for(var b=p||d,v=0,y=0,x=0,w=Math.min(e.length,u),_=0;_<=w;_+=1){var k=r(e[_]);y=v;var S=n.get(k);v=x=y+(void 0===S?a:S),_===u&&void 0===S&&(g=!0)}var C=null;switch(b){case"top":C=y-f;break;case"bottom":C=x-h+f;break;default:var M=t.current.scrollTop;y<M?m="top":x>M+h&&(m="bottom")}null!==C&&C!==t.current.scrollTop&&i(C)}c.current=ol((function(){g&&o(),l(s-1,m)}))}}(3)}}else s()}}(I,D,U,s,A,W,L,(function(){var t;null===(t=N.current)||void 0===t||t.delayHidden()}));l.useImperativeHandle(n,(function(){return{scrollTo:lt}})),t.useLayoutEffect((function(){if(y){var t=D.slice(X,Z+1);y(t,D)}}),[X,Z,D]);var st=function(t,e,n,a,r,o){var i=o.getKey;return t.slice(e,n+1).map((function(t,n){var o=r(t,e+n,{}),s=i(t);return l.createElement(Cx,{key:s,setRef:function(e){return a(t,e)}},o)}))}(D,X,Z,H,f,z),ct=null;return i&&(ct=Bx(Vx({},u?"height":"maxHeight",i),Gx),w&&(ct.overflowY="hidden",O&&(ct.pointerEvents="none"))),l.createElement("div",jx({style:Bx(Bx({},d),{},{position:"relative"}),className:T},x),l.createElement(b,{className:"".concat(r,"-holder"),style:ct,ref:I,onScroll:function(t){var e=t.currentTarget.scrollTop;e!==S&&L(e),null==v||v(t)}},l.createElement(fx,{prefixCls:r,height:q,offset:J,onInnerResize:W,ref:P},st)),w&&l.createElement(Sx,{ref:N,prefixCls:r,scrollTop:S,height:i,scrollHeight:q,count:D.length,onScroll:function(t){L(t)},onStartMove:function(){E(!0)},onStopMove:function(){E(!1)}}))}var qx=l.forwardRef(Kx);qx.displayName="List";var Xx=function(t){var e,n=t.className,a=t.customizeIcon,r=t.customizeIconProps,o=t.onMouseDown,i=t.onClick,s=t.children;return e="function"==typeof a?a(r):a,l.createElement("span",{className:n,onMouseDown:function(t){t.preventDefault(),o&&o(t)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:i,"aria-hidden":!0},void 0!==e?e:l.createElement("span",{className:R(n.split(/\s+/).map((function(t){return"".concat(t,"-icon")})))},s))},Zx=function(t,e){var n=t.prefixCls,a=t.id,r=t.flattenOptions,o=t.childrenAsData,i=t.values,s=t.searchValue,c=t.multiple,u=t.defaultActiveFirstOption,d=t.height,p=t.itemHeight,f=t.notFoundContent,h=t.open,g=t.menuItemSelectedIcon,m=t.virtual,b=t.onSelect,v=t.onToggleOpen,y=t.onActiveValue,x=t.onScroll,w=t.onMouseEnter,_="".concat(n,"-item"),k=$d((function(){return r}),[h,r],(function(t,e){return e[0]&&t[1]!==e[1]})),S=l.useRef(null),C=function(t){t.preventDefault()},M=function(t){S.current&&S.current.scrollTo({index:t})},O=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=k.length,a=0;a<n;a+=1){var r=(t+a*e+n)%n,o=k[r],i=o.group,l=o.data;if(!i&&!l.disabled)return r}return-1},E=ji(l.useState((function(){return O(0)})),2),T=E[0],D=E[1],I=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];D(t);var n={source:e?"keyboard":"mouse"},a=k[t];a?y(a.data.value,t,n):y(null,-1,n)};l.useEffect((function(){I(!1!==u?O(0):-1)}),[k.length,s]),l.useEffect((function(){var t,e=setTimeout((function(){if(!c&&h&&1===i.size){var t=Array.from(i)[0],e=k.findIndex((function(e){return e.data.value===t}));I(e),M(e)}}));h&&(null===(t=S.current)||void 0===t||t.scrollTo(void 0));return function(){return clearTimeout(e)}}),[h]);var P=function(t){void 0!==t&&b(t,{selected:!i.has(t)}),c||v(!1)};if(l.useImperativeHandle(e,(function(){return{onKeyDown:function(t){var e=t.which;switch(e){case Ag.UP:case Ag.DOWN:var n=0;if(e===Ag.UP?n=-1:e===Ag.DOWN&&(n=1),0!==n){var a=O(T+n,n);M(a),I(a,!0)}break;case Ag.ENTER:var r=k[T];r&&!r.data.disabled?P(r.data.value):P(void 0),h&&t.preventDefault();break;case Ag.ESC:v(!1),h&&t.stopPropagation()}},onKeyUp:function(){},scrollTo:function(t){M(t)}}})),0===k.length)return l.createElement("div",{role:"listbox",id:"".concat(a,"_list"),className:"".concat(_,"-empty"),onMouseDown:C},f);function N(t){var e=k[t];if(!e)return null;var n=e.data||{},r=n.value,s=n.label,c=n.children,u=cx(n,!0),d=o?c:s;return e?l.createElement("div",Pi({"aria-label":"string"==typeof d?d:null},u,{key:t,role:"option",id:"".concat(a,"_list_").concat(t),"aria-selected":i.has(r)}),r):null}return l.createElement(l.Fragment,null,l.createElement("div",{role:"listbox",id:"".concat(a,"_list"),style:{height:0,width:0,overflow:"hidden"}},N(T-1),N(T),N(T+1)),l.createElement(qx,{itemKey:"key",ref:S,data:k,height:d,itemHeight:p,fullHeight:!1,onMouseDown:C,onScroll:x,virtual:m,onMouseEnter:w},(function(t,e){var n,a=t.group,r=t.groupOption,s=t.data,c=s.label,u=s.key;if(a)return l.createElement("div",{className:R(_,"".concat(_,"-group"))},void 0!==c?c:u);var d=s.disabled,p=s.value,f=s.title,h=s.children,m=s.style,b=s.className,v=Yi(s,["disabled","value","title","children","style","className"]),y=i.has(p),x="".concat(_,"-option"),w=R(_,x,b,(Ni(n={},"".concat(x,"-grouped"),r),Ni(n,"".concat(x,"-active"),T===e&&!d),Ni(n,"".concat(x,"-disabled"),d),Ni(n,"".concat(x,"-selected"),y),n)),k=!g||"function"==typeof g||y,S=(o?h:c)||p,C="string"==typeof S||"number"==typeof S?S.toString():void 0;return void 0!==f&&(C=f),l.createElement("div",Pi({},v,{"aria-selected":y,className:w,title:C,onMouseMove:function(){T===e||d||I(e)},onClick:function(){d||P(p)},style:m}),l.createElement("div",{className:"".concat(x,"-content")},S),l.isValidElement(g)||y,k&&l.createElement(Xx,{className:"".concat(_,"-option-state"),customizeIcon:g,customizeIconProps:{isSelected:y}},y?"✓":null))})))},Jx=l.forwardRef(Zx);Jx.displayName="OptionList";var $x=function(){return null};$x.isSelectOption=!0;var Qx=function(){return null};function tw(t){var e=t.key,n=t.props,a=n.children,r=n.value;return Vi({key:e,value:void 0!==r?r:e,children:a},Yi(n,["children","value"]))}function ew(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Au(t).map((function(t,n){if(!l.isValidElement(t)||!t.type)return null;var a=t.type.isSelectOptGroup,r=t.key,o=t.props,i=o.children,s=Yi(o,["children"]);return e||!a?tw(t):Vi(Vi({key:"__RC_SELECT_GRP__".concat(null===r?n:r,"__"),label:r},s),{},{options:ew(i)})})).filter((function(t){return t}))}function nw(t){return Array.isArray(t)?t:void 0!==t?[t]:[]}function aw(t,e){var n,a=Nu(e);for(n=t.length-1;n>=0&&t[n].disabled;n-=1);var r=null;return-1!==n&&(r=a[n],a.splice(n,1)),{values:a,removedValue:r}}Qx.isSelectOptGroup=!0;var rw="undefined"!=typeof window&&window.document&&window.document.documentElement,ow=0;function iw(t,e){var n,a=t.key;return"value"in t&&(n=t.value),null!=a?a:void 0!==n?n:"rc-index-key-".concat(e)}function lw(t){var e=Vi({},t);return"props"in e||Object.defineProperty(e,"props",{get:function(){return Fu(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),e}}),e}function sw(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=n.prevValueOptions,r=void 0===a?[]:a,o=new Map;return e.forEach((function(t){if(!t.group){var e=t.data;o.set(e.value,e)}})),t.map((function(t){var e=o.get(t);return e||(e=Vi({},r.find((function(e){return e._INTERNAL_OPTION_VALUE_===t})))),lw(e)}))}var cw=function(t,e){var n=e.options,a=e.prevValueMap,r=e.labelInValue,o=e.optionLabelProp,i=sw([t],n)[0],l={value:t},s=r?a.get(t):void 0;return s&&"object"===Fi(s)&&"label"in s?(l.label=s.label,i&&"string"==typeof s.label&&"string"==typeof i[o]&&s.label.trim()!==i[o].trim()&&Fu(!1,"`label` of `value` is not same as `label` in Select options.")):i&&o in i?l.label=i[o]:(l.label=t,l.isCacheable=!0),l.key=l.value,l};function uw(t){return nw(t).join("")}var dw=function(t,e){var n,a,r=t.prefixCls,o=t.id,i=t.inputElement,s=t.disabled,c=t.tabIndex,u=t.autoFocus,d=t.autoComplete,p=t.editable,f=t.accessibilityIndex,h=t.value,g=t.maxLength,m=t.onKeyDown,b=t.onMouseDown,v=t.onChange,y=t.onPaste,x=t.onCompositionStart,w=t.onCompositionEnd,_=t.open,k=t.attrs,S=i||l.createElement("input",null),C=S,M=C.ref,O=C.props,E=O.onKeyDown,T=O.onChange,D=O.onMouseDown,I=O.onCompositionStart,P=O.onCompositionEnd,N=O.style;return S=l.cloneElement(S,Vi(Vi({id:o,ref:Pl(e,M),disabled:s,tabIndex:c,autoComplete:d||"off",type:"search",autoFocus:u,className:R("".concat(r,"-selection-search-input"),null===(n=S)||void 0===n||null===(a=n.props)||void 0===a?void 0:a.className),style:Vi(Vi({},N),{},{opacity:p?null:0}),role:"combobox","aria-expanded":_,"aria-haspopup":"listbox","aria-owns":"".concat(o,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(o,"_list"),"aria-activedescendant":"".concat(o,"_list_").concat(f)},k),{},{value:p?h:"",maxLength:g,readOnly:!p,unselectable:p?null:"on",onKeyDown:function(t){m(t),E&&E(t)},onMouseDown:function(t){b(t),D&&D(t)},onChange:function(t){v(t),T&&T(t)},onCompositionStart:function(t){x(t),I&&I(t)},onCompositionEnd:function(t){w(t),P&&P(t)},onPaste:y}))},pw=l.forwardRef(dw);function fw(t,e){rw?l.useLayoutEffect(t,e):l.useEffect(t,e)}pw.displayName="Input";var hw=function(t){t.preventDefault(),t.stopPropagation()},gw=function(e){var n=e.id,a=e.prefixCls,r=e.values,o=e.open,i=e.searchValue,s=e.inputRef,c=e.placeholder,u=e.disabled,d=e.mode,p=e.showSearch,f=e.autoFocus,h=e.autoComplete,g=e.accessibilityIndex,m=e.tabIndex,b=e.removeIcon,v=e.maxTagCount,y=e.maxTagTextLength,x=e.maxTagPlaceholder,w=void 0===x?function(t){return"+ ".concat(t.length," ...")}:x,_=e.tagRender,k=e.onToggleOpen,S=e.onSelect,C=e.onInputChange,M=e.onInputPaste,O=e.onInputKeyDown,E=e.onInputMouseDown,T=e.onInputCompositionStart,D=e.onInputCompositionEnd,I=l.useRef(null),P=ji(t.useState(0),2),N=P[0],A=P[1],z=ji(t.useState(!1),2),L=z[0],j=z[1],F="".concat(a,"-selection"),B=o||"tags"===d?i:"",V="tags"===d||p&&(o||L);function Y(t,e,n,a){return l.createElement("span",{className:R("".concat(F,"-item"),Ni({},"".concat(F,"-item-disabled"),e))},l.createElement("span",{className:"".concat(F,"-item-content")},t),n&&l.createElement(Xx,{className:"".concat(F,"-item-remove"),onMouseDown:hw,onClick:a,customizeIcon:b},"×"))}fw((function(){A(I.current.scrollWidth)}),[B]);var H=l.createElement("div",{className:"".concat(F,"-search"),style:{width:N},onFocus:function(){j(!0)},onBlur:function(){j(!1)}},l.createElement(pw,{ref:s,open:o,prefixCls:a,id:n,inputElement:null,disabled:u,autoFocus:f,autoComplete:h,editable:V,accessibilityIndex:g,value:B,onKeyDown:O,onMouseDown:E,onChange:C,onPaste:M,onCompositionStart:T,onCompositionEnd:D,tabIndex:m,attrs:cx(e,!0)}),l.createElement("span",{ref:I,className:"".concat(F,"-search-mirror"),"aria-hidden":!0},B," ")),W=l.createElement(_m,{prefixCls:"".concat(F,"-overflow"),data:r,renderItem:function(t){var e=t.disabled,n=t.label,a=t.value,r=!u&&!e,i=n;if("number"==typeof y&&("string"==typeof n||"number"==typeof n)){var s=String(i);s.length>y&&(i="".concat(s.slice(0,y),"..."))}var c=function(t){t&&t.stopPropagation(),S(a,{selected:!1})};return"function"==typeof _?function(t,e,n,a,r){return l.createElement("span",{onMouseDown:function(t){hw(t),k(!o)}},_({label:e,value:t,disabled:n,closable:a,onClose:r}))}(a,i,e,r,c):Y(i,e,r,c)},renderRest:function(t){return Y("function"==typeof w?w(t):w,!1)},suffix:H,itemKey:"key",maxCount:v});return l.createElement(l.Fragment,null,W,!r.length&&!B&&l.createElement("span",{className:"".concat(F,"-placeholder")},c))},mw=function(t){var e=t.inputElement,n=t.prefixCls,a=t.id,r=t.inputRef,o=t.disabled,i=t.autoFocus,s=t.autoComplete,c=t.accessibilityIndex,u=t.mode,d=t.open,p=t.values,f=t.placeholder,h=t.tabIndex,g=t.showSearch,m=t.searchValue,b=t.activeValue,v=t.maxLength,y=t.onInputKeyDown,x=t.onInputMouseDown,w=t.onInputChange,_=t.onInputPaste,k=t.onInputCompositionStart,S=t.onInputCompositionEnd,C=ji(l.useState(!1),2),M=C[0],O=C[1],E="combobox"===u,T=E||g,D=p[0],I=m||"";E&&b&&!M&&(I=b),l.useEffect((function(){E&&O(!1)}),[E,b]);var P=!("combobox"!==u&&!d)&&!!I,N=!D||"string"!=typeof D.label&&"number"!=typeof D.label?void 0:D.label.toString();return l.createElement(l.Fragment,null,l.createElement("span",{className:"".concat(n,"-selection-search")},l.createElement(pw,{ref:r,prefixCls:n,id:a,open:d,inputElement:e,disabled:o,autoFocus:i,autoComplete:s,editable:T,accessibilityIndex:c,value:I,onKeyDown:y,onMouseDown:x,onChange:function(t){O(!0),w(t)},onPaste:_,onCompositionStart:k,onCompositionEnd:S,tabIndex:h,attrs:cx(t,!0),maxLength:E?v:void 0})),!E&&D&&!P&&l.createElement("span",{className:"".concat(n,"-selection-item"),title:N},D.label),!D&&!P&&l.createElement("span",{className:"".concat(n,"-selection-placeholder")},f))};function bw(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,e=l.useRef(null),n=l.useRef(null);function a(a){(a||null===e.current)&&(e.current=a),window.clearTimeout(n.current),n.current=window.setTimeout((function(){e.current=null}),t)}return l.useEffect((function(){return function(){window.clearTimeout(n.current)}}),[]),[function(){return e.current},a]}var vw=function(e,n){var a=t.useRef(null),r=t.useRef(!1),o=e.prefixCls,i=e.multiple,s=e.open,c=e.mode,u=e.showSearch,d=e.tokenWithEnter,p=e.onSearch,f=e.onSearchSubmit,h=e.onToggleOpen,g=e.onInputKeyDown,m=e.domRef;l.useImperativeHandle(n,(function(){return{focus:function(){a.current.focus()},blur:function(){a.current.blur()}}}));var b=ji(bw(0),2),v=b[0],y=b[1],x=t.useRef(null),w=function(t){!1!==p(t,!0,r.current)&&h(!0)},_={inputRef:a,onInputKeyDown:function(t){var e=t.which;e!==Ag.UP&&e!==Ag.DOWN||t.preventDefault(),g&&g(t),e!==Ag.ENTER||"tags"!==c||r.current||s||f(t.target.value),[Ag.SHIFT,Ag.TAB,Ag.BACKSPACE,Ag.ESC].includes(e)||h(!0)},onInputMouseDown:function(){y(!0)},onInputChange:function(t){var e=t.target.value;if(d&&x.current&&/[\r\n]/.test(x.current)){var n=x.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");e=e.replace(n,x.current)}x.current=null,w(e)},onInputPaste:function(t){var e=t.clipboardData.getData("text");x.current=e},onInputCompositionStart:function(){r.current=!0},onInputCompositionEnd:function(t){r.current=!1,"combobox"!==c&&w(t.target.value)}},k=i?l.createElement(gw,Pi({},e,_)):l.createElement(mw,Pi({},e,_));return l.createElement("div",{ref:m,className:"".concat(o,"-selector"),onClick:function(t){t.target!==a.current&&(void 0!==document.body.style.msTouchAction?setTimeout((function(){a.current.focus()})):a.current.focus())},onMouseDown:function(t){var e=v();t.target===a.current||e||t.preventDefault(),("combobox"===c||u&&e)&&s||(s&&p("",!0,!1),h())}},k)},yw=l.forwardRef(vw);yw.displayName="Selector";var xw=function(t,e){var n=t.prefixCls;t.disabled;var a=t.visible,r=t.children,o=t.popupElement,i=t.containerWidth,s=t.animation,c=t.transitionName,u=t.dropdownStyle,d=t.dropdownClassName,p=t.direction,f=void 0===p?"ltr":p,h=t.dropdownMatchSelectWidth,g=void 0===h||h,m=t.dropdownRender,b=t.dropdownAlign,v=t.getPopupContainer,y=t.empty,x=t.getTriggerDOMNode,w=t.onPopupVisibleChange,_=Yi(t,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange"]),k="".concat(n,"-dropdown"),S=o;m&&(S=m(o));var C=l.useMemo((function(){return function(t){var e="number"!=typeof t?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:e,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:e,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:e,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:e,adjustY:1}}}}(g)}),[g]),M=s?"".concat(k,"-").concat(s):c,O=l.useRef(null);l.useImperativeHandle(e,(function(){return{getPopupElement:function(){return O.current}}}));var E=Vi({minWidth:i},u);return"number"==typeof g?E.width=g:g&&(E.width=i),l.createElement(bu,Pi({},_,{showAction:w?["click"]:[],hideAction:w?["click"]:[],popupPlacement:"rtl"===f?"bottomRight":"bottomLeft",builtinPlacements:C,prefixCls:k,popupTransitionName:M,popup:l.createElement("div",{ref:O},S),popupAlign:b,popupVisible:a,getPopupContainer:v,popupClassName:R(d,Ni({},"".concat(k,"-empty"),y)),popupStyle:E,getTriggerDOMNode:x,onPopupVisibleChange:w}),r)},ww=l.forwardRef(xw);ww.displayName="SelectTrigger";var _w="RC_SELECT_INTERNAL_PROPS_MARK";var kw=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","tabIndex"];function Sw(e){var n=e.prefixCls,a=e.components.optionList,r=e.convertChildrenToData,o=e.flattenOptions,i=e.getLabeledValue,s=e.filterOptions,c=e.isValueDisabled,u=e.findValueOption;e.warningProps;var d=e.fillOptionsWithMissingValue,p=e.omitDOMProps;function f(e,f){var h,g=e.prefixCls,m=void 0===g?n:g,b=e.className,v=e.id,y=e.open,x=e.defaultOpen,w=e.options,_=e.children,k=e.mode,S=e.value,C=e.defaultValue,M=e.labelInValue,O=e.showSearch,E=e.inputValue,T=e.searchValue,D=e.filterOption,I=e.filterSort,P=e.optionFilterProp,N=void 0===P?"value":P,A=e.autoClearSearchValue,z=void 0===A||A,L=e.onSearch,j=e.allowClear,F=e.clearIcon,B=e.showArrow,V=e.inputIcon,Y=e.menuItemSelectedIcon,H=e.disabled,W=e.loading,U=e.defaultActiveFirstOption,G=e.notFoundContent,K=void 0===G?"Not Found":G,q=e.optionLabelProp,X=e.backfill;e.tabIndex;var Z=e.getInputElement,J=e.getRawInputElement,$=e.getPopupContainer,Q=e.listHeight,tt=void 0===Q?200:Q,et=e.listItemHeight,nt=void 0===et?20:et,at=e.animation,rt=e.transitionName,ot=e.virtual,it=e.dropdownStyle,lt=e.dropdownClassName,st=e.dropdownMatchSelectWidth,ct=e.dropdownRender,ut=e.dropdownAlign,dt=e.showAction,pt=void 0===dt?[]:dt,ft=e.direction,ht=e.tokenSeparators,gt=e.tagRender,mt=e.onPopupScroll,bt=e.onDropdownVisibleChange,vt=e.onFocus,yt=e.onBlur,xt=e.onKeyUp,wt=e.onKeyDown,_t=e.onMouseDown,kt=e.onChange,St=e.onSelect,Ct=e.onDeselect,Mt=e.onClear,Ot=e.internalProps,Et=void 0===Ot?{}:Ot,Tt=Yi(e,["prefixCls","className","id","open","defaultOpen","options","children","mode","value","defaultValue","labelInValue","showSearch","inputValue","searchValue","filterOption","filterSort","optionFilterProp","autoClearSearchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","menuItemSelectedIcon","disabled","loading","defaultActiveFirstOption","notFoundContent","optionLabelProp","backfill","tabIndex","getInputElement","getRawInputElement","getPopupContainer","listHeight","listItemHeight","animation","transitionName","virtual","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","showAction","direction","tokenSeparators","tagRender","onPopupScroll","onDropdownVisibleChange","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown","onChange","onSelect","onDeselect","onClear","internalProps"]),Dt=Et.mark===_w,It=p?p(Tt):Tt;kw.forEach((function(t){delete It[t]}));var Pt=t.useRef(null),Nt=t.useRef(null),At=t.useRef(null),zt=t.useRef(null),Rt=t.useMemo((function(){return(ht||[]).some((function(t){return["\n","\r\n"].includes(t)}))}),[ht]),Lt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,e=ji(l.useState(!1),2),n=e[0],a=e[1],r=l.useRef(null),o=function(){window.clearTimeout(r.current)};l.useEffect((function(){return o}),[]);var i=function(e,n){o(),r.current=window.setTimeout((function(){a(e),n&&n()}),t)};return[n,i,o]}(),jt=ji(Lt,3),Ft=jt[0],Bt=jt[1],Vt=jt[2],Yt=ji(t.useState(),2),Ht=Yt[0],Wt=Yt[1];t.useEffect((function(){var t;Wt("rc_select_".concat((rw?(t=ow,ow+=1):t="TEST_OR_SSR",t)))}),[]);var Ut=v||Ht,Gt=q;void 0===Gt&&(Gt=w?"label":"children");var Kt="combobox"!==k&&M,qt="tags"===k||"multiple"===k,Xt=void 0!==O?O:qt||"combobox"===k,Zt=ji(t.useState(!1),2),Jt=Zt[0],$t=Zt[1];t.useEffect((function(){$t(jl())}),[]);var Qt=t.useRef(null);l.useImperativeHandle(f,(function(){var t,e,n;return{focus:null===(t=At.current)||void 0===t?void 0:t.focus,blur:null===(e=At.current)||void 0===e?void 0:e.blur,scrollTo:null===(n=zt.current)||void 0===n?void 0:n.scrollTo}}));var te=ji(Su(C,{value:S}),2),ee=te[0],ne=te[1],ae=t.useMemo((function(){return function(t,e){var n=e.labelInValue,a=e.combobox,r=new Map;if(void 0===t||""===t&&a)return[[],r];var o=Array.isArray(t)?t:[t],i=o;return n&&(i=o.filter((function(t){return null!==t})).map((function(t){var e=t.key,n=t.value,a=void 0!==n?n:e;return r.set(a,t),a}))),[i,r]}(ee,{labelInValue:Kt,combobox:"combobox"===k})}),[ee,Kt]),re=ji(ae,2),oe=re[0],ie=re[1],le=t.useMemo((function(){return new Set(oe)}),[oe]),se=ji(t.useState(null),2),ce=se[0],ue=se[1],de=ji(t.useState(""),2),pe=de[0],fe=de[1],he=pe;"combobox"===k&&void 0!==ee?he=ee:void 0!==T?he=T:E&&(he=E);var ge=t.useMemo((function(){var t=w;return void 0===t&&(t=r(_)),"tags"===k&&d&&(t=d(t,ee,Gt,M)),t||[]}),[w,_,k,ee]),me=t.useMemo((function(){return o(ge,e)}),[ge]),be=function(t){var e=l.useRef(null),n=l.useMemo((function(){var e=new Map;return t.forEach((function(t){var n=t.data.value;e.set(n,t)})),e}),[t]);return e.current=n,function(t){return t.map((function(t){return e.current.get(t)})).filter(Boolean)}}(me),ve=t.useMemo((function(){if(!he||!Xt)return Nu(ge);var t=s(he,ge,{optionFilterProp:N,filterOption:"combobox"===k&&void 0===D?function(){return!0}:D});return"tags"===k&&t.every((function(t){return t[N]!==he}))&&t.unshift({value:he,label:he,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),I&&Array.isArray(t)?Nu(t).sort(I):t}),[ge,he,k,Xt,I]),ye=t.useMemo((function(){return o(ve,e)}),[ve]);t.useEffect((function(){zt.current&&zt.current.scrollTo&&zt.current.scrollTo(0)}),[he]);var xe,we,_e=t.useMemo((function(){var t=oe.map((function(t){var e=be([t]);return Vi(Vi({},i(t,{options:e,prevValueMap:ie,labelInValue:Kt,optionLabelProp:Gt})),{},{disabled:c(t,e)})}));return k||1!==t.length||null!==t[0].value||null!==t[0].label?t:[]}),[ee,ge,k]);xe=_e,we=l.useRef(xe),_e=l.useMemo((function(){var t=new Map;we.current.forEach((function(e){var n=e.value,a=e.label;n!==a&&t.set(n,a)}));var e=xe.map((function(e){var n=t.get(e.value);return e.isCacheable&&n?Vi(Vi({},e),{},{label:n}):e}));return we.current=e,e}),[xe]);var ke=function(t,e,n){var a=be([t]),r=u([t],a)[0];if(!Et.skipTriggerSelect){var o=Kt?i(t,{options:a,prevValueMap:ie,labelInValue:Kt,optionLabelProp:Gt}):t;e&&St?St(o,r):!e&&Ct&&Ct(o,r)}Dt&&(e&&Et.onRawSelect?Et.onRawSelect(t,r,n):!e&&Et.onRawDeselect&&Et.onRawDeselect(t,r,n))},Se=ji(t.useState([]),2),Ce=Se[0],Me=Se[1],Oe=function(t){if(!Dt||!Et.skipTriggerChange){var e=be(t),n=function(t,e){var n=e.optionLabelProp,a=e.labelInValue,r=e.prevValueMap,o=e.options,i=e.getLabeledValue,l=t;return a&&(l=l.map((function(t){return i(t,{options:o,prevValueMap:r,labelInValue:a,optionLabelProp:n})}))),l}(Array.from(t),{labelInValue:Kt,options:e,getLabeledValue:i,prevValueMap:ie,optionLabelProp:Gt}),a=qt?n:n[0];if(kt&&(0!==oe.length||0!==n.length)){var r=u(t,e,{prevValueOptions:Ce});Me(r.map((function(e,n){var a=Vi({},e);return Object.defineProperty(a,"_INTERNAL_OPTION_VALUE_",{get:function(){return t[n]}}),a}))),kt(a,qt?r:r[0])}ne(a)}},Ee=function(t,e){var n,a=e.selected,r=e.source;H||(qt?(n=new Set(oe),a?n.add(t):n.delete(t)):(n=new Set).add(t),(qt||!qt&&Array.from(oe)[0]!==t)&&Oe(Array.from(n)),ke(t,!qt||a,r),"combobox"===k?(fe(String(t)),ue("")):qt&&!z||(fe(""),ue("")))},Te="combobox"===k&&"function"==typeof Z&&Z()||null,De="function"==typeof J&&J(),Ie=ji(Su(void 0,{defaultValue:x,value:y}),2),Pe=Ie[0],Ne=Ie[1],Ae=Pe,ze=!K&&!ve.length;(H||ze&&Ae&&"combobox"===k)&&(Ae=!1);var Re,Le=!ze&&Ae,je=function(t){var e=void 0!==t?t:!Ae;Pe===e||H||(Ne(e),bt&&bt(e))};De&&(Re=function(t){je(t)}),function(t,e,n){var a=l.useRef(null);a.current={open:e,triggerOpen:n},l.useEffect((function(){function e(e){var n=e.target;n.shadowRoot&&e.composed&&(n=e.composedPath()[0]||n),a.current.open&&t().filter((function(t){return t})).every((function(t){return!t.contains(n)&&t!==n}))&&a.current.triggerOpen(!1)}return window.addEventListener("mousedown",e),function(){return window.removeEventListener("mousedown",e)}}),[])}((function(){var t;return[Pt.current,null===(t=Nt.current)||void 0===t?void 0:t.getPopupElement()]}),Le,je);var Fe=function(t,e,n){var a=!0,r=t;ue(null);var o=n?null:function(t,e){if(!e||!e.length)return null;var n=!1,a=function t(e,a){var r=bd(a),o=r[0],i=r.slice(1);if(!o)return[e];var l=e.split(o);return n=n||l.length>1,l.reduce((function(e,n){return[].concat(Nu(e),Nu(t(n,i)))}),[]).filter((function(t){return t}))}(t,e);return n?a:null}(t,ht),i=o;if("combobox"===k)e&&Oe([r]);else if(o){r="","tags"!==k&&(i=o.map((function(t){var e=me.find((function(e){return e.data[Gt]===t}));return e?e.data.value:null})).filter((function(t){return null!==t})));var l=Array.from(new Set([].concat(Nu(oe),Nu(i))));Oe(l),l.forEach((function(t){ke(t,!0,"input")})),je(!1),a=!1}return fe(r),L&&he!==r&&L(r),a};t.useEffect((function(){Pe&&H&&Ne(!1)}),[H]),t.useEffect((function(){Ae||qt||"combobox"===k||Fe("",!1,!1)}),[Ae]);var Be=ji(bw(),2),Ve=Be[0],Ye=Be[1],He=t.useRef(!1),We=[];t.useEffect((function(){return function(){We.forEach((function(t){return clearTimeout(t)})),We.splice(0,We.length)}}),[]);var Ue=ji(t.useState(0),2),Ge=Ue[0],Ke=Ue[1],qe=void 0!==U?U:"combobox"!==k,Xe=ji(t.useState(null),2),Ze=Xe[0],Je=Xe[1],$e=ji(t.useState({}),2)[1];fw((function(){if(Le){var t,e=Math.ceil(null===(t=Pt.current)||void 0===t?void 0:t.offsetWidth);Ze===e||Number.isNaN(e)||Je(e)}}),[Le]);var Qe,tn=l.createElement(a,{ref:zt,prefixCls:m,id:Ut,open:Ae,childrenAsData:!w,options:ve,flattenOptions:ye,multiple:qt,values:le,height:tt,itemHeight:nt,onSelect:function(t,e){Ee(t,Vi(Vi({},e),{},{source:"option"}))},onToggleOpen:je,onActiveValue:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=n.source,r=void 0===a?"keyboard":a;Ke(e),X&&"combobox"===k&&null!==t&&"keyboard"===r&&ue(String(t))},defaultActiveFirstOption:qe,notFoundContent:K,onScroll:mt,searchValue:he,menuItemSelectedIcon:Y,virtual:!1!==ot&&!1!==st,onMouseEnter:function(){$e({})}});!H&&j&&(oe.length||he)&&(Qe=l.createElement(Xx,{className:"".concat(m,"-clear"),onMouseDown:function(){Dt&&Et.onClear&&Et.onClear(),Mt&&Mt(),Oe([]),Fe("",!1,!1)},customizeIcon:F},"×"));var en,nn=void 0!==B?B:W||!qt&&"combobox"!==k;nn&&(en=l.createElement(Xx,{className:R("".concat(m,"-arrow"),Ni({},"".concat(m,"-arrow-loading"),W)),customizeIcon:V,customizeIconProps:{loading:W,searchValue:he,open:Ae,focused:Ft,showSearch:Xt}}));var an=R(m,b,(Ni(h={},"".concat(m,"-focused"),Ft),Ni(h,"".concat(m,"-multiple"),qt),Ni(h,"".concat(m,"-single"),!qt),Ni(h,"".concat(m,"-allow-clear"),j),Ni(h,"".concat(m,"-show-arrow"),nn),Ni(h,"".concat(m,"-disabled"),H),Ni(h,"".concat(m,"-loading"),W),Ni(h,"".concat(m,"-open"),Ae),Ni(h,"".concat(m,"-customize-input"),Te),Ni(h,"".concat(m,"-show-search"),Xt),h)),rn=l.createElement(ww,{ref:Nt,disabled:H,prefixCls:m,visible:Le,popupElement:tn,containerWidth:Ze,animation:at,transitionName:rt,dropdownStyle:it,dropdownClassName:lt,direction:ft,dropdownMatchSelectWidth:st,dropdownRender:ct,dropdownAlign:ut,getPopupContainer:$,empty:!ge.length,getTriggerDOMNode:function(){return Qt.current},onPopupVisibleChange:Re},De?l.cloneElement(De,{ref:Pl(Qt,De.props.ref)}):l.createElement(yw,Pi({},e,{domRef:Qt,prefixCls:m,inputElement:Te,ref:At,id:Ut,showSearch:Xt,mode:k,accessibilityIndex:Ge,multiple:qt,tagRender:gt,values:_e,open:Ae,onToggleOpen:je,searchValue:he,activeValue:ce,onSearch:Fe,onSearchSubmit:function(t){if(t&&t.trim()){var e=Array.from(new Set([].concat(Nu(oe),[t])));Oe(e),e.forEach((function(t){ke(t,!0,"input")})),fe("")}},onSelect:function(t,e){Ee(t,Vi(Vi({},e),{},{source:"selection"}))},tokenWithEnter:Rt})));return De?rn:l.createElement("div",Pi({className:an},It,{ref:Pt,onMouseDown:function(t){var e,n=t.target,a=null===(e=Nt.current)||void 0===e?void 0:e.getPopupElement();if(a&&a.contains(n)){var r=setTimeout((function(){var t,e=We.indexOf(r);(-1!==e&&We.splice(e,1),Vt(),Jt||a.contains(document.activeElement))||(null===(t=At.current)||void 0===t||t.focus())}));We.push(r)}if(_t){for(var o=arguments.length,i=new Array(o>1?o-1:0),l=1;l<o;l++)i[l-1]=arguments[l];_t.apply(void 0,[t].concat(i))}},onKeyDown:function(t){var e,n=Ve(),a=t.which;if(a===Ag.ENTER&&("combobox"!==k&&t.preventDefault(),Ae||je(!0)),Ye(!!he),a===Ag.BACKSPACE&&!n&&qt&&!he&&oe.length){var r=aw(_e,oe);null!==r.removedValue&&(Oe(r.values),ke(r.removedValue,!1,"input"))}for(var o=arguments.length,i=new Array(o>1?o-1:0),l=1;l<o;l++)i[l-1]=arguments[l];Ae&&zt.current&&(e=zt.current).onKeyDown.apply(e,[t].concat(i));wt&&wt.apply(void 0,[t].concat(i))},onKeyUp:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),a=1;a<e;a++)n[a-1]=arguments[a];var r;Ae&&zt.current&&(r=zt.current).onKeyUp.apply(r,[t].concat(n));xt&&xt.apply(void 0,[t].concat(n))},onFocus:function(){Bt(!0),H||(vt&&!He.current&&vt.apply(void 0,arguments),pt.includes("focus")&&je(!0)),He.current=!0},onBlur:function(){Bt(!1,(function(){He.current=!1,je(!1)})),H||(he&&("tags"===k?(Fe("",!1,!1),Oe(Array.from(new Set([].concat(Nu(oe),[he]))))):"multiple"===k&&fe("")),yt&&yt.apply(void 0,arguments))}}),Ft&&!Ae&&l.createElement("span",{style:{width:0,height:0,display:"flex",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(oe.join(", "))),rn,en,Qe)}return l.forwardRef(f)}var Cw=Sw({prefixCls:"rc-select",components:{optionList:Jx},convertChildrenToData:ew,flattenOptions:function(t){var e=[];return function t(n,a){n.forEach((function(n){a||!("options"in n)?e.push({key:iw(n,e.length),groupOption:a,data:n}):(e.push({key:iw(n,e.length),group:!0,data:n}),t(n.options,!0))}))}(t,!1),e},getLabeledValue:cw,filterOptions:function(t,e,n){var a,r=n.optionFilterProp,o=n.filterOption,i=[];return!1===o?Nu(e):(a="function"==typeof o?o:function(t){return function(e,n){var a=e.toLowerCase();return"options"in n?uw(n.label).toLowerCase().includes(a):uw(n[t]).toLowerCase().includes(a)}}(r),e.forEach((function(e){if("options"in e)if(a(t,e))i.push(e);else{var n=e.options.filter((function(e){return a(t,e)}));n.length&&i.push(Vi(Vi({},e),{},{options:n}))}else a(t,lw(e))&&i.push(e)})),i)},isValueDisabled:function(t,e){return sw([t],e)[0].disabled},findValueOption:sw,warningProps:function(t){var e=t.mode,n=t.options,a=t.children,r=t.backfill,o=t.allowClear,i=t.placeholder,s=t.getInputElement,c=t.showSearch,u=t.onSearch,d=t.defaultOpen,p=t.autoFocus,f=t.labelInValue,h=t.value,g=t.inputValue,m=t.optionLabelProp,b="multiple"===e||"tags"===e,v=void 0!==c?c:b||"combobox"===e,y=n||ew(a);if(Fu("tags"!==e||y.every((function(t){return!t.disabled})),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),("tags"===e||"combobox"===e)&&Fu(!y.some((function(t){return t.options?t.options.some((function(t){return"number"==typeof("value"in t?t.value:t.key)})):"number"==typeof("value"in t?t.value:t.key)})),"`value` of Option should not use number type when `mode` is `tags` or `combobox`."),Fu("combobox"!==e||!m,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Fu("combobox"===e||!r,"`backfill` only works with `combobox` mode."),Fu("combobox"===e||!s,"`getInputElement` only work with `combobox` mode."),Bu("combobox"!==e||!s||!o||!i,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),u&&!v&&"combobox"!==e&&"tags"!==e&&Fu(!1,"`onSearch` should work with `showSearch` instead of use alone."),Bu(!d||p,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),null!=h){var x=nw(h);Fu(!f||x.every((function(t){return"object"===Fi(t)&&("key"in t||"value"in t)})),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Fu(!b||Array.isArray(h),"`value` should be array when `mode` is `multiple` or `tags`")}if(a){var w=null;Au(a).some((function(t){if(!l.isValidElement(t)||!t.type)return!1;var e=t.type;return!e.isSelectOption&&(e.isSelectOptGroup?!Au(t.props.children).every((function(e){return!(l.isValidElement(e)&&t.type&&!e.type.isSelectOption)||(w=e.type,!1)})):(w=e,!0))})),w&&Fu(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(w.displayName||w.name||w,"`.")),Fu(void 0===g,"`inputValue` is deprecated, please use `searchValue` instead.")}},fillOptionsWithMissingValue:function(t,e,n,a){var r=nw(e).slice().sort(),o=Nu(t),i=new Set;return t.forEach((function(t){t.options?t.options.forEach((function(t){i.add(t.value)})):i.add(t.value)})),r.forEach((function(t){var e,r=a?t.value:t;i.has(r)||o.push(a?(Ni(e={},n,t.label),Ni(e,"value",r),e):{value:r})})),o}}),Mw=function(t){qi(n,t);var e=Qi(n);function n(){var t;return Hi(this,n),(t=e.apply(this,arguments)).selectRef=l.createRef(),t.focus=function(){t.selectRef.current.focus()},t.blur=function(){t.selectRef.current.blur()},t}return Ui(n,[{key:"render",value:function(){return l.createElement(Cw,Pi({ref:this.selectRef},this.props))}}]),n}(l.Component);Mw.Option=$x,Mw.OptGroup=Qx;var Ow={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},Ew=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:Ow}))};Ew.displayName="CheckOutlined";var Tw=l.forwardRef(Ew),Dw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},Iw=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:Dw}))};Iw.displayName="SearchOutlined";var Pw=l.forwardRef(Iw);function Nw(t){var e=t.suffixIcon,n=t.clearIcon,a=t.menuItemSelectedIcon,r=t.removeIcon,o=t.loading,i=t.multiple,s=t.prefixCls,c=n;n||(c=l.createElement(Ef,null));var u=null;if(void 0!==e)u=e;else if(o)u=l.createElement(_f,{spin:!0});else{var d="".concat(s,"-suffix");u=function(t){var e=t.open,n=t.showSearch;return e&&n?l.createElement(Pw,{className:d}):l.createElement(nm,{className:d})}}return{clearIcon:c,suffixIcon:u,itemIcon:void 0!==a?a:i?l.createElement(Tw,null):null,removeIcon:void 0!==r?r:l.createElement($f,null)}}var Aw=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n},zw="SECRET_COMBOBOX_MODE_DO_NOT_USE",Rw=function(t,e){var n,a,r=t.prefixCls,o=t.bordered,i=void 0===o||o,s=t.className,c=t.getPopupContainer,u=t.dropdownClassName,d=t.listHeight,p=void 0===d?256:d,f=t.listItemHeight,h=void 0===f?24:f,g=t.size,m=t.notFoundContent,b=Aw(t,["prefixCls","bordered","className","getPopupContainer","dropdownClassName","listHeight","listItemHeight","size","notFoundContent"]),v=l.useContext(yp),y=v.getPopupContainer,x=v.getPrefixCls,w=v.renderEmpty,_=v.direction,k=v.virtual,S=v.dropdownMatchSelectWidth,C=l.useContext(kp),M=x("select",r),O=x(),E=l.useMemo((function(){var t=b.mode;if("combobox"!==t)return t===zw?"combobox":t}),[b.mode]),T="multiple"===E||"tags"===E;a=void 0!==m?m:"combobox"===E?null:w("Select");var D=Nw(Pi(Pi({},b),{multiple:T,prefixCls:M})),I=D.suffixIcon,P=D.itemIcon,N=D.removeIcon,A=D.clearIcon,z=ig(b,["suffixIcon","itemIcon"]),L=R(u,Ni({},"".concat(M,"-dropdown-").concat(_),"rtl"===_)),j=g||C,F=R((Ni(n={},"".concat(M,"-lg"),"large"===j),Ni(n,"".concat(M,"-sm"),"small"===j),Ni(n,"".concat(M,"-rtl"),"rtl"===_),Ni(n,"".concat(M,"-borderless"),!i),n),s);return l.createElement(Mw,Pi({ref:e,virtual:k,dropdownMatchSelectWidth:S},z,{transitionName:Bh(O,"slide-up",b.transitionName),listHeight:p,listItemHeight:h,mode:E,prefixCls:M,direction:_,inputIcon:I,menuItemSelectedIcon:P,removeIcon:N,clearIcon:A,notFoundContent:a,className:F,getPopupContainer:c||y,dropdownClassName:L}))},Lw=l.forwardRef(Rw);Lw.SECRET_COMBOBOX_MODE_DO_NOT_USE=zw,Lw.Option=$x,Lw.OptGroup=Qx;var jw=Lw,Fw=function(t){return l.createElement(jw,Pi({size:"small"},t))};Fw.Option=jw.Option;var Bw=Fw,Vw=["xxl","xl","lg","md","sm","xs"],Yw={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},Hw=new Map,Ww=-1,Uw={},Gw={matchHandlers:{},dispatch:function(t){return Uw=t,Hw.forEach((function(t){return t(Uw)})),Hw.size>=1},subscribe:function(t){return Hw.size||this.register(),Ww+=1,Hw.set(Ww,t),t(Uw),Ww},unsubscribe:function(t){Hw.delete(t),Hw.size||this.unregister()},unregister:function(){var t=this;Object.keys(Yw).forEach((function(e){var n=Yw[e],a=t.matchHandlers[n];null==a||a.mql.removeListener(null==a?void 0:a.listener)})),Hw.clear()},register:function(){var t=this;Object.keys(Yw).forEach((function(e){var n=Yw[e],a=function(n){var a=n.matches;t.dispatch(Pi(Pi({},Uw),Ni({},e,a)))},r=window.matchMedia(n);r.addListener(a),t.matchHandlers[n]={mql:r,listener:a},a(r)}))}};function Kw(){var e=ji(t.useState({}),2),n=e[0],a=e[1];return t.useEffect((function(){var t=Gw.subscribe((function(t){a(t)}));return function(){return Gw.unsubscribe(t)}}),[]),n}var qw=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n},Xw=function(t){var e=t.prefixCls,n=t.selectPrefixCls,a=t.className,r=t.size,o=t.locale,i=qw(t,["prefixCls","selectPrefixCls","className","size","locale"]),s=Kw().xs,c=l.useContext(yp),u=c.getPrefixCls,d=c.direction,p=u("pagination",e),f=function(t){var e=Pi(Pi({},t),o),c="small"===r||!(!s||r||!i.responsive),f=u("select",n),h=R(Ni({mini:c},"".concat(p,"-rtl"),"rtl"===d),a);return l.createElement(Xy,Pi({},i,{prefixCls:p,selectPrefixCls:f},function(){var t=l.createElement("span",{className:"".concat(p,"-item-ellipsis")},"•••"),e=l.createElement("button",{className:"".concat(p,"-item-link"),type:"button",tabIndex:-1},l.createElement($y,null)),n=l.createElement("button",{className:"".concat(p,"-item-link"),type:"button",tabIndex:-1},l.createElement(ng,null)),a=l.createElement("a",{className:"".concat(p,"-item-link")},l.createElement("div",{className:"".concat(p,"-item-container")},l.createElement(ex,{className:"".concat(p,"-item-link-icon")}),t)),r=l.createElement("a",{className:"".concat(p,"-item-link")},l.createElement("div",{className:"".concat(p,"-item-container")},l.createElement(rx,{className:"".concat(p,"-item-link-icon")}),t));if("rtl"===d){var o=[n,e];e=o[0],n=o[1];var i=[r,a];a=i[0],r=i[1]}return{prevIcon:e,nextIcon:n,jumpPrevIcon:a,jumpNextIcon:r}}(),{className:h,selectComponentClass:c?Bw:jw,locale:e}))};return l.createElement(up,{componentName:"Pagination",defaultLocale:tp},f)},Zw=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n};function Jw(e,n,a){var r=n&&"object"===Fi(n)?n:{},o=r.total,i=void 0===o?0:o,l=Zw(r,["total"]),s=ji(t.useState((function(){return{current:"defaultCurrent"in l?l.defaultCurrent:1,pageSize:"defaultPageSize"in l?l.defaultPageSize:10}})),2),c=s[0],u=s[1],d=function(){for(var t={},e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return n.forEach((function(e){e&&Object.keys(e).forEach((function(n){var a=e[n];void 0!==a&&(t[n]=a)}))})),t}(c,l,{total:i>0?i:e}),p=Math.ceil((i||e)/d.pageSize);d.current>p&&(d.current=p||1);var f=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=arguments.length>1?arguments[1]:void 0;u({current:t,pageSize:e||d.pageSize})};return!1===n?[{},function(){}]:[Pi(Pi({},d),{onChange:function(t,e){var r;n&&(null===(r=n.onChange)||void 0===r||r.call(n,t,e)),f(t,e),a(t,e||(null==d?void 0:d.pageSize))}}),f]}var $w=l.createContext(null),Qw=function(t){for(var e=t.prefixCls,n=t.level,a=t.isStart,r=t.isEnd,o="".concat(e,"-indent-unit"),i=[],s=0;s<n;s+=1){var c;i.push(l.createElement("span",{key:s,className:R(o,(c={},Ni(c,"".concat(o,"-start"),a[s]),Ni(c,"".concat(o,"-end"),r[s]),c))}))}return l.createElement("span",{"aria-hidden":"true",className:"".concat(e,"-indent")},i)},t_=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove"],e_="open",n_="close",a_=function(t){qi(n,t);var e=Qi(n);function n(){var t;Hi(this,n);for(var a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))).state={dragNodeHighlight:!1},t.selectHandle=void 0,t.onSelectorClick=function(e){(0,t.props.context.onNodeClick)(e,__(t.props)),t.isSelectable()?t.onSelect(e):t.onCheck(e)},t.onSelectorDoubleClick=function(e){(0,t.props.context.onNodeDoubleClick)(e,__(t.props))},t.onSelect=function(e){if(!t.isDisabled()){var n=t.props.context.onNodeSelect;e.preventDefault(),n(e,__(t.props))}},t.onCheck=function(e){if(!t.isDisabled()){var n=t.props,a=n.disableCheckbox,r=n.checked,o=t.props.context.onNodeCheck;if(t.isCheckable()&&!a){e.preventDefault();var i=!r;o(e,__(t.props),i)}}},t.onMouseEnter=function(e){(0,t.props.context.onNodeMouseEnter)(e,__(t.props))},t.onMouseLeave=function(e){(0,t.props.context.onNodeMouseLeave)(e,__(t.props))},t.onContextMenu=function(e){(0,t.props.context.onNodeContextMenu)(e,__(t.props))},t.onDragStart=function(e){var n=t.props.context.onNodeDragStart;e.stopPropagation(),t.setState({dragNodeHighlight:!0}),n(e,Gi(t));try{e.dataTransfer.setData("text/plain","")}catch(t){}},t.onDragEnter=function(e){var n=t.props.context.onNodeDragEnter;e.preventDefault(),e.stopPropagation(),n(e,Gi(t))},t.onDragOver=function(e){var n=t.props.context.onNodeDragOver;e.preventDefault(),e.stopPropagation(),n(e,Gi(t))},t.onDragLeave=function(e){var n=t.props.context.onNodeDragLeave;e.stopPropagation(),n(e,Gi(t))},t.onDragEnd=function(e){var n=t.props.context.onNodeDragEnd;e.stopPropagation(),t.setState({dragNodeHighlight:!1}),n(e,Gi(t))},t.onDrop=function(e){var n=t.props.context.onNodeDrop;e.preventDefault(),e.stopPropagation(),t.setState({dragNodeHighlight:!1}),n(e,Gi(t))},t.onExpand=function(e){var n=t.props,a=n.loading,r=n.context.onNodeExpand;a||r(e,__(t.props))},t.setSelectHandle=function(e){t.selectHandle=e},t.getNodeState=function(){var e=t.props.expanded;return t.isLeaf()?null:e?e_:n_},t.hasChildren=function(){var e=t.props.eventKey;return!!((t.props.context.keyEntities[e]||{}).children||[]).length},t.isLeaf=function(){var e=t.props,n=e.isLeaf,a=e.loaded,r=t.props.context.loadData,o=t.hasChildren();return!1!==n&&(n||!r&&!o||r&&a&&!o)},t.isDisabled=function(){var e=t.props.disabled;return!(!t.props.context.disabled&&!e)},t.isCheckable=function(){var e=t.props.checkable,n=t.props.context.checkable;return!(!n||!1===e)&&n},t.syncLoadData=function(e){var n=e.expanded,a=e.loading,r=e.loaded,o=t.props.context,i=o.loadData,l=o.onNodeLoad;a||i&&n&&!t.isLeaf()&&(t.hasChildren()||r||l(__(t.props)))},t.renderSwitcherIconDom=function(e){var n=t.props.switcherIcon,a=t.props.context.switcherIcon,r=n||a;return"function"==typeof r?r(Vi(Vi({},t.props),{},{isLeaf:e})):r},t.renderSwitcher=function(){var e=t.props.expanded,n=t.props.context.prefixCls;if(t.isLeaf()){var a=t.renderSwitcherIconDom(!0);return!1!==a?l.createElement("span",{className:R("".concat(n,"-switcher"),"".concat(n,"-switcher-noop"))},a):null}var r=R("".concat(n,"-switcher"),"".concat(n,"-switcher_").concat(e?e_:n_)),o=t.renderSwitcherIconDom(!1);return!1!==o?l.createElement("span",{onClick:t.onExpand,className:r},o):null},t.renderCheckbox=function(){var e=t.props,n=e.checked,a=e.halfChecked,r=e.disableCheckbox,o=t.props.context.prefixCls,i=t.isDisabled(),s=t.isCheckable();if(!s)return null;var c="boolean"!=typeof s?s:null;return l.createElement("span",{className:R("".concat(o,"-checkbox"),n&&"".concat(o,"-checkbox-checked"),!n&&a&&"".concat(o,"-checkbox-indeterminate"),(i||r)&&"".concat(o,"-checkbox-disabled")),onClick:t.onCheck},c)},t.renderIcon=function(){var e=t.props.loading,n=t.props.context.prefixCls;return l.createElement("span",{className:R("".concat(n,"-iconEle"),"".concat(n,"-icon__").concat(t.getNodeState()||"docu"),e&&"".concat(n,"-icon_loading"))})},t.renderSelector=function(){var e,n,a=t.state.dragNodeHighlight,r=t.props,o=r.title,i=r.selected,s=r.icon,c=r.loading,u=r.data,d=t.props.context,p=d.prefixCls,f=d.showIcon,h=d.icon,g=d.draggable,m=d.loadData,b=d.titleRender,v=t.isDisabled(),y="function"==typeof g?g(u):g,x="".concat(p,"-node-content-wrapper");if(f){var w=s||h;e=w?l.createElement("span",{className:R("".concat(p,"-iconEle"),"".concat(p,"-icon__customize"))},"function"==typeof w?w(t.props):w):t.renderIcon()}else m&&c&&(e=t.renderIcon());n="function"==typeof o?o(u):b?b(u):o;var _=l.createElement("span",{className:"".concat(p,"-title")},n);return l.createElement("span",{ref:t.setSelectHandle,title:"string"==typeof o?o:"",className:R("".concat(x),"".concat(x,"-").concat(t.getNodeState()||"normal"),!v&&(i||a)&&"".concat(p,"-node-selected"),!v&&y&&"draggable"),draggable:!v&&y||void 0,"aria-grabbed":!v&&y||void 0,onMouseEnter:t.onMouseEnter,onMouseLeave:t.onMouseLeave,onContextMenu:t.onContextMenu,onClick:t.onSelectorClick,onDoubleClick:t.onSelectorDoubleClick,onDragStart:y?t.onDragStart:void 0},e,_,t.renderDropIndicator())},t.renderDropIndicator=function(){var e=t.props,n=e.disabled,a=e.eventKey,r=t.props.context,o=r.draggable,i=r.dropLevelOffset,l=r.dropPosition,s=r.prefixCls,c=r.indent,u=r.dropIndicatorRender,d=r.dragOverNodeKey,p=r.direction;return!n&&!1!==o&&d===a?u({dropPosition:l,dropLevelOffset:i,indent:c,prefixCls:s,direction:p}):null},t}return Ui(n,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var t=this.props.selectable,e=this.props.context.selectable;return"boolean"==typeof t?t:e}},{key:"render",value:function(){var t,e=this.props,n=e.eventKey,a=e.className,r=e.style,o=e.dragOver,i=e.dragOverGapTop,s=e.dragOverGapBottom,c=e.isLeaf,u=e.isStart,d=e.isEnd,p=e.expanded,f=e.selected,h=e.checked,g=e.halfChecked,m=e.loading,b=e.domRef,v=e.active,y=e.data,x=e.onMouseMove,w=Yi(e,t_),_=this.props.context,k=_.prefixCls,S=_.filterTreeNode,C=_.draggable,M=_.keyEntities,O=_.dropContainerKey,E=_.dropTargetKey,T=this.isDisabled(),D=g_(w),I=(M[n]||{}).level,P=d[d.length-1],N="function"==typeof C?C(y):C;return l.createElement("div",Pi({ref:b,className:R(a,"".concat(k,"-treenode"),(t={},Ni(t,"".concat(k,"-treenode-disabled"),T),Ni(t,"".concat(k,"-treenode-switcher-").concat(p?"open":"close"),!c),Ni(t,"".concat(k,"-treenode-checkbox-checked"),h),Ni(t,"".concat(k,"-treenode-checkbox-indeterminate"),g),Ni(t,"".concat(k,"-treenode-selected"),f),Ni(t,"".concat(k,"-treenode-loading"),m),Ni(t,"".concat(k,"-treenode-active"),v),Ni(t,"".concat(k,"-treenode-leaf-last"),P),Ni(t,"drop-target",E===n),Ni(t,"drop-container",O===n),Ni(t,"drag-over",!T&&o),Ni(t,"drag-over-gap-top",!T&&i),Ni(t,"drag-over-gap-bottom",!T&&s),Ni(t,"filter-node",S&&S(__(this.props))),t)),style:r,onDragEnter:N?this.onDragEnter:void 0,onDragOver:N?this.onDragOver:void 0,onDragLeave:N?this.onDragLeave:void 0,onDrop:N?this.onDrop:void 0,onDragEnd:N?this.onDragEnd:void 0,onMouseMove:x},D),l.createElement(Qw,{prefixCls:k,level:I,isStart:u,isEnd:d}),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),n}(l.Component),r_=function(t){return l.createElement($w.Consumer,null,(function(e){return l.createElement(a_,Pi({},t,{context:e}))}))};function o_(t,e){var n=t.slice(),a=n.indexOf(e);return a>=0&&n.splice(a,1),n}function i_(t,e){var n=t.slice();return-1===n.indexOf(e)&&n.push(e),n}function l_(t){return t.split("-")}function s_(t,e){return"".concat(t,"-").concat(e)}function c_(t,e){var n=[];return function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.forEach((function(e){var a=e.key,r=e.children;n.push(a),t(r)}))}(e[t].children),n}function u_(t){if(t.parent){var e=l_(t.pos);return Number(e[e.length-1])===t.parent.children.length-1}return!1}function d_(t,e,n,a,r,o,i,l,s,c){var u,d=t.clientX,p=t.clientY,f=t.target.getBoundingClientRect(),h=f.top,g=f.height,m=(("rtl"===c?-1:1)*(((null==r?void 0:r.x)||0)-d)-12)/a,b=l[n.props.eventKey];if(p<h+g/2){var v=i.findIndex((function(t){return t.data.key===b.key})),y=i[v<=0?0:v-1].data.key;b=l[y]}var x=b.key,w=b,_=b.key,k=0,S=0;if(!s.includes(x))for(var C=0;C<m&&u_(b);C+=1)b=b.parent,S+=1;var M,O=b.node,E=!0;return M=l_(b.pos),0===Number(M[M.length-1])&&0===b.level&&p<h+g/2&&o({dropNode:O,dropPosition:-1})&&b.key===n.props.eventKey?k=-1:(w.children||[]).length&&s.includes(_)?o({dropNode:O,dropPosition:0})?k=0:E=!1:0===S?m>-1.5?o({dropNode:O,dropPosition:1})?k=1:E=!1:o({dropNode:O,dropPosition:0})?k=0:o({dropNode:O,dropPosition:1})?k=1:E=!1:o({dropNode:O,dropPosition:1})?k=1:E=!1,{dropPosition:k,dropLevelOffset:S,dropTargetKey:b.key,dropTargetPos:b.pos,dragOverNodeKey:_,dropContainerKey:0===k?null:(null===(u=b.parent)||void 0===u?void 0:u.key)||null,dropAllowed:E}}function p_(t,e){if(t)return e.multiple?t.slice():t.length?[t[0]]:t}function f_(t){if(!t)return null;var e;if(Array.isArray(t))e={checkedKeys:t,halfCheckedKeys:void 0};else{if("object"!==Fi(t))return Fu(!1,"`checkedKeys` is not an array or an object"),null;e={checkedKeys:t.checked||void 0,halfCheckedKeys:t.halfChecked||void 0}}return e}function h_(t,e){var n=new Set;function a(t){if(!n.has(t)){var r=e[t];if(r){n.add(t);var o=r.parent;r.node.disabled||o&&a(o.key)}}}return(t||[]).forEach((function(t){a(t)})),Nu(n)}function g_(t){var e={};return Object.keys(t).forEach((function(n){(n.startsWith("data-")||n.startsWith("aria-"))&&(e[n]=t[n])})),e}r_.displayName="TreeNode",r_.defaultProps={title:"---"},r_.isTreeNode=1;var m_=["children"];function b_(t,e){return null!=t?t:e}function v_(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=new Set(!0===e?[]:e),a=[];function r(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t.map((function(i,l){var s=s_(o?o.pos:"0",l),c=b_(i.key,s),u=Vi(Vi({},i),{},{parent:o,pos:s,children:null,data:i,isStart:[].concat(Nu(o?o.isStart:[]),[0===l]),isEnd:[].concat(Nu(o?o.isEnd:[]),[l===t.length-1])});return a.push(u),!0===e||n.has(c)?u.children=r(i.children||[],u):u.children=[],u}))}return r(t),a}function y_(t,e,n){var a,r,o=null,i=Fi(n);"function"===i||"string"===i?o=n:n&&"object"===i&&(a=n.childrenPropName,o=n.externalGetKey),a=a||"children",o?"string"==typeof o?r=function(t){return t[o]}:"function"==typeof o&&(r=function(t){return o(t)}):r=function(t,e){return b_(t.key,e)},function n(o,i,l){var s=o?o[a]:t,c=o?s_(l.pos,i):"0";if(o){var u=r(o,c),d={node:o,index:i,pos:c,key:u,parentPos:l.node?l.pos:null,level:l.level+1};e(d)}s&&s.forEach((function(t,e){n(t,e,{node:o,pos:c,level:l?l.level+1:-1})}))}(null)}function x_(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.initWrapper,a=e.processEntity,r=e.onProcessFinished,o=e.externalGetKey,i=e.childrenPropName,l=arguments.length>2?arguments[2]:void 0,s=o||l,c={},u={},d={posEntities:c,keyEntities:u};return n&&(d=n(d)||d),y_(t,(function(t){var e=t.node,n=t.index,r=t.pos,o=t.key,i=t.parentPos,l={node:e,index:n,key:o,pos:r,level:t.level},s=b_(o,r);c[r]=l,u[s]=l,l.parent=c[i],l.parent&&(l.parent.children=l.parent.children||[],l.parent.children.push(l)),a&&a(l,d)}),{externalGetKey:s,childrenPropName:i}),r&&r(d),d}function w_(t,e){var n=e.expandedKeys,a=e.selectedKeys,r=e.loadedKeys,o=e.loadingKeys,i=e.checkedKeys,l=e.halfCheckedKeys,s=e.dragOverNodeKey,c=e.dropPosition,u=e.keyEntities[t];return{eventKey:t,expanded:-1!==n.indexOf(t),selected:-1!==a.indexOf(t),loaded:-1!==r.indexOf(t),loading:-1!==o.indexOf(t),checked:-1!==i.indexOf(t),halfChecked:-1!==l.indexOf(t),pos:String(u?u.pos:""),dragOver:s===t&&0===c,dragOverGapTop:s===t&&-1===c,dragOverGapBottom:s===t&&1===c}}function __(t){var e=t.data,n=t.expanded,a=t.selected,r=t.checked,o=t.loaded,i=t.loading,l=t.halfChecked,s=t.dragOver,c=t.dragOverGapTop,u=t.dragOverGapBottom,d=t.pos,p=t.active,f=Vi(Vi({},e),{},{expanded:n,selected:a,checked:r,loaded:o,loading:i,halfChecked:l,dragOver:s,dragOverGapTop:c,dragOverGapBottom:u,pos:d,active:p});return"props"in f||Object.defineProperty(f,"props",{get:function(){return Fu(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),t}}),f}function k_(t,e){var n=new Set;return t.forEach((function(t){e.has(t)||n.add(t)})),n}function S_(t){var e=t||{},n=e.disabled,a=e.disableCheckbox,r=e.checkable;return!(!n&&!a)||!1===r}function C_(t,e,n,a){var r,o=[];r=a||S_;var i,l=new Set(t.filter((function(t){var e=!!n[t];return e||o.push(t),e}))),s=new Map,c=0;return Object.keys(n).forEach((function(t){var e=n[t],a=e.level,r=s.get(a);r||(r=new Set,s.set(a,r)),r.add(e),c=Math.max(c,a)})),Fu(!o.length,"Tree missing follow keys: ".concat(o.slice(0,100).map((function(t){return"'".concat(t,"'")})).join(", "))),i=!0===e?function(t,e,n,a){for(var r=new Set(t),o=new Set,i=0;i<=n;i+=1)(e.get(i)||new Set).forEach((function(t){var e=t.key,n=t.node,o=t.children,i=void 0===o?[]:o;r.has(e)&&!a(n)&&i.filter((function(t){return!a(t.node)})).forEach((function(t){r.add(t.key)}))}));for(var l=new Set,s=n;s>=0;s-=1)(e.get(s)||new Set).forEach((function(t){var e=t.parent,n=t.node;if(!a(n)&&t.parent&&!l.has(t.parent.key))if(a(t.parent.node))l.add(e.key);else{var i=!0,s=!1;(e.children||[]).filter((function(t){return!a(t.node)})).forEach((function(t){var e=t.key,n=r.has(e);i&&!n&&(i=!1),s||!n&&!o.has(e)||(s=!0)})),i&&r.add(e.key),s&&o.add(e.key),l.add(e.key)}}));return{checkedKeys:Array.from(r),halfCheckedKeys:Array.from(k_(o,r))}}(l,s,c,r):function(t,e,n,a,r){for(var o=new Set(t),i=new Set(e),l=0;l<=a;l+=1)(n.get(l)||new Set).forEach((function(t){var e=t.key,n=t.node,a=t.children,l=void 0===a?[]:a;o.has(e)||i.has(e)||r(n)||l.filter((function(t){return!r(t.node)})).forEach((function(t){o.delete(t.key)}))}));i=new Set;for(var s=new Set,c=a;c>=0;c-=1)(n.get(c)||new Set).forEach((function(t){var e=t.parent,n=t.node;if(!r(n)&&t.parent&&!s.has(t.parent.key))if(r(t.parent.node))s.add(e.key);else{var a=!0,l=!1;(e.children||[]).filter((function(t){return!r(t.node)})).forEach((function(t){var e=t.key,n=o.has(e);a&&!n&&(a=!1),l||!n&&!i.has(e)||(l=!0)})),a||o.delete(e.key),l&&i.add(e.key),s.add(e.key)}}));return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(k_(i,o))}}(l,e.halfCheckedKeys,s,c,r),i}var M_=function(t){qi(n,t);var e=Qi(n);function n(t){var a;Hi(this,n),(a=e.call(this,t)).handleChange=function(t){var e=a.props,n=e.disabled,r=e.onChange;n||("checked"in a.props||a.setState({checked:t.target.checked}),r&&r({target:Vi(Vi({},a.props),{},{checked:t.target.checked}),stopPropagation:function(){t.stopPropagation()},preventDefault:function(){t.preventDefault()},nativeEvent:t.nativeEvent}))},a.saveInput=function(t){a.input=t};var r="checked"in t?t.checked:t.defaultChecked;return a.state={checked:r},a}return Ui(n,[{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){var t,e=this.props,n=e.prefixCls,a=e.className,r=e.style,o=e.name,l=e.id,s=e.type,c=e.disabled,u=e.readOnly,d=e.tabIndex,p=e.onClick,f=e.onFocus,h=e.onBlur,g=e.onKeyDown,m=e.onKeyPress,b=e.onKeyUp,v=e.autoFocus,y=e.value,x=e.required,w=Yi(e,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","onKeyDown","onKeyPress","onKeyUp","autoFocus","value","required"]),_=Object.keys(w).reduce((function(t,e){return"aria-"!==e.substr(0,5)&&"data-"!==e.substr(0,5)&&"role"!==e||(t[e]=w[e]),t}),{}),k=this.state.checked,S=R(n,a,(Ni(t={},"".concat(n,"-checked"),k),Ni(t,"".concat(n,"-disabled"),c),t));return i.default.createElement("span",{className:S,style:r},i.default.createElement("input",Pi({name:o,id:l,type:s,required:x,readOnly:u,disabled:c,tabIndex:d,className:"".concat(n,"-input"),checked:!!k,onClick:p,onFocus:f,onBlur:h,onKeyUp:b,onKeyDown:g,onKeyPress:m,onChange:this.handleChange,autoFocus:v,ref:this.saveInput,value:y},_)),i.default.createElement("span",{className:"".concat(n,"-inner")}))}}],[{key:"getDerivedStateFromProps",value:function(t,e){return"checked"in t?Vi(Vi({},e),{},{checked:t.checked}):null}}]),n}(t.Component);M_.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){},onKeyDown:function(){},onKeyPress:function(){},onKeyUp:function(){}};var O_=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n},E_=l.createContext(null),T_=function(t,e){var n=t.defaultValue,a=t.children,r=t.options,o=void 0===r?[]:r,i=t.prefixCls,s=t.className,c=t.style,u=t.onChange,d=O_(t,["defaultValue","children","options","prefixCls","className","style","onChange"]),p=l.useContext(yp),f=p.getPrefixCls,h=p.direction,g=ji(l.useState(d.value||n||[]),2),m=g[0],b=g[1],v=ji(l.useState([]),2),y=v[0],x=v[1];l.useEffect((function(){"value"in d&&b(d.value||[])}),[d.value]);var w=function(){return o.map((function(t){return"string"==typeof t?{label:t,value:t}:t}))},_=f("checkbox",i),k="".concat(_,"-group"),S=ig(d,["value","disabled"]);o&&o.length>0&&(a=w().map((function(t){return l.createElement(z_,{prefixCls:_,key:t.value.toString(),disabled:"disabled"in t?t.disabled:d.disabled,value:t.value,checked:-1!==m.indexOf(t.value),onChange:t.onChange,className:"".concat(k,"-item"),style:t.style},t.label)})));var C={toggleOption:function(t){var e=m.indexOf(t.value),n=Nu(m);-1===e?n.push(t.value):n.splice(e,1),"value"in d||b(n);var a=w();null==u||u(n.filter((function(t){return-1!==y.indexOf(t)})).sort((function(t,e){return a.findIndex((function(e){return e.value===t}))-a.findIndex((function(t){return t.value===e}))})))},value:m,disabled:d.disabled,name:d.name,registerValue:function(t){x((function(e){return[].concat(Nu(e),[t])}))},cancelValue:function(t){x((function(e){return e.filter((function(e){return e!==t}))}))}},M=R(k,Ni({},"".concat(k,"-rtl"),"rtl"===h),s);return l.createElement("div",Pi({className:M,style:c},S,{ref:e}),l.createElement(E_.Provider,{value:C},a))},D_=l.forwardRef(T_),I_=l.memo(D_),P_=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n},N_=function(t,e){var n,a=t.prefixCls,r=t.className,o=t.children,i=t.indeterminate,s=void 0!==i&&i,c=t.style,u=t.onMouseEnter,d=t.onMouseLeave,p=t.skipGroup,f=void 0!==p&&p,h=P_(t,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup"]),g=l.useContext(yp),m=g.getPrefixCls,b=g.direction,v=l.useContext(E_),y=l.useRef(h.value);l.useEffect((function(){null==v||v.registerValue(h.value),Qd("checked"in h||!!v||!("value"in h),"Checkbox","`value` is not a valid prop, do you mean `checked`?")}),[]),l.useEffect((function(){if(!f)return h.value!==y.current&&(null==v||v.cancelValue(y.current),null==v||v.registerValue(h.value)),function(){return null==v?void 0:v.cancelValue(h.value)}}),[h.value]);var x=m("checkbox",a),w=Pi({},h);v&&!f&&(w.onChange=function(){h.onChange&&h.onChange.apply(h,arguments),v.toggleOption&&v.toggleOption({label:o,value:h.value})},w.name=v.name,w.checked=-1!==v.value.indexOf(h.value),w.disabled=h.disabled||v.disabled);var _=R((Ni(n={},"".concat(x,"-wrapper"),!0),Ni(n,"".concat(x,"-rtl"),"rtl"===b),Ni(n,"".concat(x,"-wrapper-checked"),w.checked),Ni(n,"".concat(x,"-wrapper-disabled"),w.disabled),n),r),k=R(Ni({},"".concat(x,"-indeterminate"),s));return l.createElement("label",{className:_,style:c,onMouseEnter:u,onMouseLeave:d},l.createElement(M_,Pi({},w,{prefixCls:x,className:k,ref:e})),void 0!==o&&l.createElement("span",null,o))},A_=l.forwardRef(N_);A_.displayName="Checkbox";var z_=A_,R_=z_;R_.Group=I_,R_.__ANT_CHECKBOX=!0;var L_=R_,j_=t.createContext({prefixCls:"",firstLevel:!0,inlineCollapsed:!1});var F_={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},B_=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:F_}))};B_.displayName="BarsOutlined";var V_=l.forwardRef(B_),Y_=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n},H_=l.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function W_(t){var e=t.suffixCls,n=t.tagName,a=t.displayName;return function(t){var r=function(a){var r=l.useContext(yp).getPrefixCls,o=a.prefixCls,i=r(e,o);return l.createElement(t,Pi({prefixCls:i,tagName:n},a))};return r.displayName=a,r}}var U_=function(t){var e=t.prefixCls,n=t.className,a=t.children,r=t.tagName,o=Y_(t,["prefixCls","className","children","tagName"]),i=R(e,n);return l.createElement(r,Pi({className:i},o),a)};W_({suffixCls:"layout",tagName:"section",displayName:"Layout"})((function(t){var e,n=l.useContext(yp).direction,a=ji(l.useState([]),2),r=a[0],o=a[1],i=t.prefixCls,s=t.className,c=t.children,u=t.hasSider,d=t.tagName,p=Y_(t,["prefixCls","className","children","hasSider","tagName"]),f=R(i,(Ni(e={},"".concat(i,"-has-sider"),"boolean"==typeof u?u:r.length>0),Ni(e,"".concat(i,"-rtl"),"rtl"===n),e),s);return l.createElement(H_.Provider,{value:{siderHook:{addSider:function(t){o((function(e){return[].concat(Nu(e),[t])}))},removeSider:function(t){o((function(e){return e.filter((function(e){return e!==t}))}))}}}},l.createElement(d,Pi({className:f},p),c))})),W_({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(U_),W_({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(U_),W_({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(U_);var G_=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},K_=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n},q_={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},X_=l.createContext({}),Z_=function(){var t=0;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t+=1,"".concat(e).concat(t)}}(),J_=l.forwardRef((function(e,n){var a=e.prefixCls,r=e.className,o=e.trigger,i=e.children,s=e.defaultCollapsed,c=void 0!==s&&s,u=e.theme,d=void 0===u?"dark":u,p=e.style,f=void 0===p?{}:p,h=e.collapsible,g=void 0!==h&&h,m=e.reverseArrow,b=void 0!==m&&m,v=e.width,y=void 0===v?200:v,x=e.collapsedWidth,w=void 0===x?80:x,_=e.zeroWidthTriggerStyle,k=e.breakpoint,S=e.onCollapse,C=e.onBreakpoint,M=K_(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),O=t.useContext(H_).siderHook,E=ji(t.useState("collapsed"in M?M.collapsed:c),2),T=E[0],D=E[1],I=ji(t.useState(!1),2),P=I[0],N=I[1];t.useEffect((function(){"collapsed"in M&&D(M.collapsed)}),[M.collapsed]);var A=function(t,e){"collapsed"in M||D(t),null==S||S(t,e)},z=t.useRef();z.current=function(t){N(t.matches),null==C||C(t.matches),T!==t.matches&&A(t.matches,"responsive")},t.useEffect((function(){function t(t){return z.current(t)}var e;if("undefined"!=typeof window){var n=window.matchMedia;if(n&&k&&k in q_){e=n("(max-width: ".concat(q_[k],")"));try{e.addEventListener("change",t)}catch(n){e.addListener(t)}t(e)}}return function(){try{null==e||e.removeEventListener("change",t)}catch(n){null==e||e.removeListener(t)}}}),[]),t.useEffect((function(){var t=Z_("ant-sider-");return O.addSider(t),function(){return O.removeSider(t)}}),[]);var L,j,F,B,V,Y,H,W,U,G,K=function(){A(!T,"clickTrigger")},q=t.useContext(yp).getPrefixCls;return l.createElement(X_.Provider,{value:{siderCollapsed:T}},(j=q("layout-sider",a),F=ig(M,["collapsed"]),V=G_(B=T?w:y)?"".concat(B,"px"):String(B),Y=0===parseFloat(String(w||0))?l.createElement("span",{onClick:K,className:R("".concat(j,"-zero-width-trigger"),"".concat(j,"-zero-width-trigger-").concat(b?"right":"left")),style:_},o||l.createElement(V_,null)):null,H={expanded:b?l.createElement(ng,null):l.createElement($y,null),collapsed:b?l.createElement($y,null):l.createElement(ng,null)}[T?"collapsed":"expanded"],W=null!==o?Y||l.createElement("div",{className:"".concat(j,"-trigger"),onClick:K,style:{width:V}},o||H):null,U=Pi(Pi({},f),{flex:"0 0 ".concat(V),maxWidth:V,minWidth:V,width:V}),G=R(j,"".concat(j,"-").concat(d),(Ni(L={},"".concat(j,"-collapsed"),!!T),Ni(L,"".concat(j,"-has-trigger"),g&&null!==o&&!Y),Ni(L,"".concat(j,"-below"),!!P),Ni(L,"".concat(j,"-zero-width"),0===parseFloat(V)),L),r),l.createElement("aside",Pi({className:G},F,{style:U,ref:n}),l.createElement("div",{className:"".concat(j,"-children")},i),g||P&&Y?W:null)))}));J_.displayName="Sider";var $_=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n},Q_=function(t){qi(n,t);var e=Qi(n);function n(){var t;return Hi(this,n),(t=e.apply(this,arguments)).renderItem=function(e){var n,a,r=e.siderCollapsed,o=t.context,i=o.prefixCls,s=o.firstLevel,c=o.inlineCollapsed,u=o.direction,d=t.props,p=d.className,f=d.children,h=t.props,g=h.title,m=h.icon,b=h.danger,v=$_(h,["title","icon","danger"]),y=g;void 0===g?y=s?f:"":!1===g&&(y="");var x={title:y};r||c||(x.title=null,x.visible=!1);var w=Au(f).length;return l.createElement(Uh,Pi({},x,{placement:"rtl"===u?"left":"right",overlayClassName:"".concat(i,"-inline-collapsed-tooltip")}),l.createElement(Um,Pi({},v,{className:R((n={},Ni(n,"".concat(i,"-item-danger"),b),Ni(n,"".concat(i,"-item-only-child"),1===(m?w+1:w)),n),p),title:"string"==typeof g?g:void 0}),Du(m,{className:R(Tu(m)?null===(a=m.props)||void 0===a?void 0:a.className:"","".concat(i,"-item-icon"))}),t.renderItemChildren(c)))},t}return Ui(n,[{key:"renderItemChildren",value:function(t){var e=this.context,n=e.prefixCls,a=e.firstLevel,r=this.props,o=r.icon,i=r.children,s=l.createElement("span",{className:"".concat(n,"-title-content")},i);return(!o||Tu(i)&&"span"===i.type)&&i&&t&&a&&"string"==typeof i?l.createElement("div",{className:"".concat(n,"-inline-collapsed-noicon")},i.charAt(0)):s}},{key:"render",value:function(){return l.createElement(X_.Consumer,null,this.renderItem)}}]),n}(l.Component);Q_.contextType=j_;var tk=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n},ek=function(t){qi(n,t);var e=Qi(n);function n(t){var a;return Hi(this,n),(a=e.call(this,t)).renderMenu=function(t){var e=t.getPopupContainer,n=t.getPrefixCls,r=t.direction,o=n(),i=a.props,s=i.prefixCls,c=i.className,u=i.theme,d=i.expandIcon,p=ig(tk(i,["prefixCls","className","theme","expandIcon"]),["siderCollapsed","collapsedWidth"]),f=a.getInlineCollapsed(),h={horizontal:{motionName:"".concat(o,"-slide-up")},inline:Fh,other:{motionName:"".concat(o,"-zoom-big")}},g=n("menu",s),m=R("".concat(g,"-").concat(u),c);return l.createElement(j_.Provider,{value:{prefixCls:g,inlineCollapsed:f||!1,antdMenuTheme:u,direction:r,firstLevel:!0}},l.createElement(Nb,Pi({getPopupContainer:e,overflowedIndicator:l.createElement(og,null),overflowedIndicatorPopupClassName:"".concat(g,"-").concat(u)},p,{inlineCollapsed:f,className:m,prefixCls:g,direction:r,defaultMotions:h,expandIcon:Du(d,{className:"".concat(g,"-submenu-expand-icon")})})))},Qd(!("inlineCollapsed"in t&&"inline"!==t.mode),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Qd(!(void 0!==t.siderCollapsed&&"inlineCollapsed"in t),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),a}return Ui(n,[{key:"getInlineCollapsed",value:function(){var t=this.props,e=t.inlineCollapsed,n=t.siderCollapsed;return void 0!==n?n:e}},{key:"render",value:function(){return l.createElement(xp,null,this.renderMenu)}}]),n}(l.Component);ek.defaultProps={theme:"light"};var nk=function(t){qi(n,t);var e=Qi(n);function n(){return Hi(this,n),e.apply(this,arguments)}return Ui(n,[{key:"render",value:function(){var t=this;return l.createElement(X_.Consumer,null,(function(e){return l.createElement(ek,Pi({},t.props,e))}))}}]),n}(l.Component);nk.Divider=Ib,nk.Item=Q_,nk.SubMenu=function(t){var e,n,a=t.popupClassName,r=t.icon,o=t.title,i=l.useContext(j_),s=i.prefixCls,c=i.inlineCollapsed,u=i.antdMenuTheme,d=Pb();if(r){var p=Tu(o)&&"span"===o.type;n=l.createElement(l.Fragment,null,Du(r,{className:R(Tu(r)?null===(e=r.props)||void 0===e?void 0:e.className:"","".concat(s,"-item-icon"))}),p?o:l.createElement("span",{className:"".concat(s,"-title-content")},o))}else n=c&&!d.length&&o&&"string"==typeof o?l.createElement("div",{className:"".concat(s,"-inline-collapsed-noicon")},o.charAt(0)):l.createElement("span",{className:"".concat(s,"-title-content")},o);return l.createElement(j_.Provider,{value:Pi(Pi({},i),{firstLevel:!1})},l.createElement(lb,Pi({},ig(t,["icon"]),{title:n,popupClassName:R(s,"".concat(s,"-").concat(u),a)})))},nk.ItemGroup=Db;var ak=nk,rk=l.createContext(null),ok=rk.Provider,ik=rk,lk=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n},sk=function(t,e){var n,a=l.useContext(ik),r=l.useContext(yp),o=r.getPrefixCls,i=r.direction,s=Pl(e,l.useRef());l.useEffect((function(){Qd(!("optionType"in t),"Radio","`optionType` is only support in Radio.Group.")}),[]);var c=t.prefixCls,u=t.className,d=t.children,p=t.style,f=lk(t,["prefixCls","className","children","style"]),h=o("radio",c),g=Pi({},f);a&&(g.name=a.name,g.onChange=function(e){var n,r;null===(n=t.onChange)||void 0===n||n.call(t,e),null===(r=null==a?void 0:a.onChange)||void 0===r||r.call(a,e)},g.checked=t.value===a.value,g.disabled=t.disabled||a.disabled);var m=R("".concat(h,"-wrapper"),(Ni(n={},"".concat(h,"-wrapper-checked"),g.checked),Ni(n,"".concat(h,"-wrapper-disabled"),g.disabled),Ni(n,"".concat(h,"-wrapper-rtl"),"rtl"===i),n),u);return l.createElement("label",{className:m,style:p,onMouseEnter:t.onMouseEnter,onMouseLeave:t.onMouseLeave},l.createElement(M_,Pi({},g,{prefixCls:h,ref:s})),void 0!==d?l.createElement("span",null,d):null)},ck=l.forwardRef(sk);ck.displayName="Radio",ck.defaultProps={type:"radio"};var uk=ck;var dk=l.forwardRef((function(t,e){var n=l.useContext(yp),a=n.getPrefixCls,r=n.direction,o=l.useContext(kp),i=ji(Su(t.defaultValue,{value:t.value}),2),s=i[0],c=i[1];return l.createElement(ok,{value:{onChange:function(e){var n=s,a=e.target.value;"value"in t||c(a);var r=t.onChange;r&&a!==n&&r(e)},value:s,disabled:t.disabled,name:t.name}},function(){var n,i=t.prefixCls,c=t.className,u=void 0===c?"":c,d=t.options,p=t.optionType,f=t.buttonStyle,h=void 0===f?"outline":f,g=t.disabled,m=t.children,b=t.size,v=t.style,y=t.id,x=t.onMouseEnter,w=t.onMouseLeave,_=a("radio",i),k="".concat(_,"-group"),S=m;if(d&&d.length>0){var C="button"===p?"".concat(_,"-button"):_;S=d.map((function(t){return"string"==typeof t?l.createElement(uk,{key:t,prefixCls:C,disabled:g,value:t,checked:s===t},t):l.createElement(uk,{key:"radio-group-value-options-".concat(t.value),prefixCls:C,disabled:t.disabled||g,value:t.value,checked:s===t.value,style:t.style},t.label)}))}var M=b||o,O=R(k,"".concat(k,"-").concat(h),(Ni(n={},"".concat(k,"-").concat(M),M),Ni(n,"".concat(k,"-rtl"),"rtl"===r),n),u);return l.createElement("div",Pi({},function(t){return Object.keys(t).reduce((function(e,n){return"data-"!==n.substr(0,5)&&"aria-"!==n.substr(0,5)&&"role"!==n||"data-__"===n.substr(0,7)||(e[n]=t[n]),e}),{})}(t),{className:O,style:v,onMouseEnter:x,onMouseLeave:w,id:y,ref:e}),S)}())})),pk=l.memo(dk),fk=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n},hk=function(t,e){var n=l.useContext(ik),a=l.useContext(yp).getPrefixCls,r=t.prefixCls,o=fk(t,["prefixCls"]),i=a("radio-button",r);return n&&(o.checked=t.value===n.value,o.disabled=t.disabled||n.disabled),l.createElement(uk,Pi({prefixCls:i},o,{type:"radio",ref:e}))},gk=l.forwardRef(hk),mk=uk;mk.Button=gk,mk.Group=pk;var bk=mk,vk="SELECT_ALL",yk="SELECT_INVERT",xk="SELECT_NONE";function wk(t){return t&&t.fixed}function _k(t,e){var n=[];return(t||[]).forEach((function(t){n.push(t),t&&"object"===Fi(t)&&e in t&&(n=[].concat(Nu(n),Nu(_k(t[e],e))))})),n}function kk(e,n){var a=e||{},r=a.preserveSelectedRowKeys,o=a.selectedRowKeys,i=a.defaultSelectedRowKeys,s=a.getCheckboxProps,c=a.onChange,u=a.onSelect,d=a.onSelectAll,p=a.onSelectInvert,f=a.onSelectNone,h=a.onSelectMultiple,g=a.columnWidth,m=a.type,b=a.selections,v=a.fixed,y=a.renderCell,x=a.hideSelectAll,w=a.checkStrictly,_=void 0===w||w,k=n.prefixCls,S=n.data,C=n.pageData,M=n.getRecordByKey,O=n.getRowKey,E=n.expandType,T=n.childrenColumnName,D=n.locale,I=n.expandIconColumnIndex,P=n.getPopupContainer,N=ji(Su(o||i||[],{value:o}),2),A=N[0],z=N[1],R=l.useRef(new Map),L=t.useCallback((function(t){if(r){var e=new Map;t.forEach((function(t){var n=M(t);!n&&R.current.has(t)&&(n=R.current.get(t)),e.set(t,n)})),R.current=e}}),[M,r]);l.useEffect((function(){L(A)}),[A]);var j=t.useMemo((function(){return _?{keyEntities:null}:x_(S,{externalGetKey:O,childrenPropName:T})}),[S,O,_,T]).keyEntities,F=t.useMemo((function(){return _k(C,T)}),[C,T]),B=t.useMemo((function(){var t=new Map;return F.forEach((function(e,n){var a=O(e,n),r=(s?s(e):null)||{};t.set(a,r)})),t}),[F,O,s]),V=t.useCallback((function(t){var e;return!!(null===(e=B.get(O(t)))||void 0===e?void 0:e.disabled)}),[B,O]),Y=ji(t.useMemo((function(){if(_)return[A||[],[]];var t=C_(A,!0,j,V);return[t.checkedKeys||[],t.halfCheckedKeys]}),[A,_,j,V]),2),H=Y[0],W=Y[1],U=t.useMemo((function(){var t="radio"===m?H.slice(0,1):H;return new Set(t)}),[H,m]),G=t.useMemo((function(){return"radio"===m?new Set:new Set(W)}),[W,m]),K=ji(t.useState(null),2),q=K[0],X=K[1];l.useEffect((function(){e||z([])}),[!!e]);var Z=t.useCallback((function(t){var e,n;L(t),r?(e=t,n=t.map((function(t){return R.current.get(t)}))):(e=[],n=[],t.forEach((function(t){var a=M(t);void 0!==a&&(e.push(t),n.push(a))}))),z(e),null==c||c(e,n)}),[z,M,c,r]),J=t.useCallback((function(t,e,n,a){if(u){var r=n.map((function(t){return M(t)}));u(M(t),e,r,a)}Z(n)}),[u,M,Z]),$=t.useMemo((function(){return!b||x?null:(!0===b?[vk,yk,xk]:b).map((function(t){return t===vk?{key:"all",text:D.selectionAll,onSelect:function(){Z(S.map((function(t,e){return O(t,e)})))}}:t===yk?{key:"invert",text:D.selectInvert,onSelect:function(){var t=new Set(U);C.forEach((function(e,n){var a=O(e,n);t.has(a)?t.delete(a):t.add(a)}));var e=Array.from(t);p&&(Qd(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),p(e)),Z(e)}}:t===xk?{key:"none",text:D.selectNone,onSelect:function(){null==f||f(),Z([])}}:t}))}),[b,U,C,O,p,Z]),Q=t.useCallback((function(t){if(!e)return t;var n,a,r=new Set(U),o=F.map(O).filter((function(t){return!B.get(t).disabled})),i=o.every((function(t){return r.has(t)})),s=o.some((function(t){return r.has(t)}));if("radio"!==m){var c;if($){var u=l.createElement(ak,{getPopupContainer:P},$.map((function(t,e){var n=t.key,a=t.text,r=t.onSelect;return l.createElement(ak.Item,{key:n||e,onClick:function(){null==r||r(o)}},a)})));c=l.createElement("div",{className:"".concat(k,"-selection-extra")},l.createElement(Ng,{overlay:u,getPopupContainer:P},l.createElement("span",null,l.createElement(nm,null))))}var p=F.map((function(t,e){var n=O(t,e),a=B.get(n)||{};return Pi({checked:r.has(n)},a)})).filter((function(t){return t.disabled})),f=!!p.length&&p.length===F.length,b=f&&p.every((function(t){return t.checked})),w=f&&p.some((function(t){return t.checked}));n=!x&&l.createElement("div",{className:"".concat(k,"-selection")},l.createElement(L_,{checked:f?b:!!F.length&&i,indeterminate:f?!b&&w:!i&&s,onChange:function(){var t=[];i?o.forEach((function(e){r.delete(e),t.push(e)})):o.forEach((function(e){r.has(e)||(r.add(e),t.push(e))}));var e=Array.from(r);null==d||d(!i,e.map((function(t){return M(t)})),t.map((function(t){return M(t)}))),Z(e)},disabled:0===F.length||f,skipGroup:!0}),c)}a="radio"===m?function(t,e,n){var a=O(e,n),o=r.has(a);return{node:l.createElement(bk,Pi({},B.get(a),{checked:o,onClick:function(t){return t.stopPropagation()},onChange:function(t){r.has(a)||J(a,!0,[a],t.nativeEvent)}})),checked:o}}:function(t,e,n){var a,i,s=O(e,n),c=r.has(s),u=G.has(s),d=B.get(s);return"nest"===E?(i=u,Qd("boolean"!=typeof(null==d?void 0:d.indeterminate),"Table","set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")):i=null!==(a=null==d?void 0:d.indeterminate)&&void 0!==a?a:u,{node:l.createElement(L_,Pi({},d,{indeterminate:i,checked:c,skipGroup:!0,onClick:function(t){return t.stopPropagation()},onChange:function(t){var e=t.nativeEvent,n=e.shiftKey,a=-1,i=-1;if(n&&_){var l=new Set([q,s]);o.some((function(t,e){if(l.has(t)){if(-1!==a)return i=e,!0;a=e}return!1}))}if(-1!==i&&a!==i&&_){var u=o.slice(a,i+1),d=[];c?u.forEach((function(t){r.has(t)&&(d.push(t),r.delete(t))})):u.forEach((function(t){r.has(t)||(d.push(t),r.add(t))}));var p=Array.from(r);null==h||h(!c,p.map((function(t){return M(t)})),d.map((function(t){return M(t)}))),Z(p)}else{var f=H;if(_){var g=c?o_(f,s):i_(f,s);J(s,!c,g,e)}else{var m=C_([].concat(Nu(f),[s]),!0,j,V),b=m.checkedKeys,v=m.halfCheckedKeys,y=b;if(c){var x=new Set(b);x.delete(s),y=C_(Array.from(x),{checked:!1,halfCheckedKeys:v},j,V).checkedKeys}J(s,!c,y,e)}}X(s)}})),checked:c}};var S=Ni({width:g,className:"".concat(k,"-selection-column"),title:e.columnTitle||n,render:function(t,e,n){var r=a(t,e,n),o=r.node,i=r.checked;return y?y(i,e,n,o):o}},my,{className:"".concat(k,"-selection-col")});if("row"===E&&t.length&&!I){var C=bd(t),T=C[0],D=C.slice(1),N=v||wk(D[0]);return N&&(T.fixed=N),[T,Pi(Pi({},S),{fixed:N})].concat(Nu(D))}return[Pi(Pi({},S),{fixed:v||wk(t[0])})].concat(Nu(t))}),[O,F,e,H,U,G,g,$,E,q,B,h,J,V]);return[Q,U]}var Sk={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},Ck=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:Sk}))};Ck.displayName="CaretDownOutlined";var Mk=l.forwardRef(Ck),Ok={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},Ek=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:Ok}))};Ek.displayName="CaretUpOutlined";var Tk=l.forwardRef(Ek);function Dk(t,e){return"key"in t&&void 0!==t.key&&null!==t.key?t.key:t.dataIndex?Array.isArray(t.dataIndex)?t.dataIndex.join("."):t.dataIndex:e}function Ik(t,e){return e?"".concat(e,"-").concat(t):"".concat(t)}function Pk(t,e){return"function"==typeof t?t(e):t}var Nk="ascend",Ak="descend";function zk(t){return"object"===Fi(t.sorter)&&"number"==typeof t.sorter.multiple&&t.sorter.multiple}function Rk(t){return"function"==typeof t?t:!(!t||"object"!==Fi(t)||!t.compare)&&t.compare}function Lk(t,e,n){var a=[];function r(t,e){a.push({column:t,key:Dk(t,e),multiplePriority:zk(t),sortOrder:t.sortOrder})}return(t||[]).forEach((function(t,o){var i=Ik(o,n);t.children?("sortOrder"in t&&r(t,i),a=[].concat(Nu(a),Nu(Lk(t.children,e,i)))):t.sorter&&("sortOrder"in t?r(t,i):e&&t.defaultSortOrder&&a.push({column:t,key:Dk(t,i),multiplePriority:zk(t),sortOrder:t.defaultSortOrder}))})),a}function jk(t,e,n,a,r,o,i,s){return(e||[]).map((function(e,c){var u=Ik(c,s),d=e;if(d.sorter){var p=d.sortDirections||r,f=void 0===d.showSorterTooltip?i:d.showSorterTooltip,h=Dk(d,u),g=n.find((function(t){return t.key===h})),m=g?g.sortOrder:null,b=function(t,e){return e?t[t.indexOf(e)+1]:t[0]}(p,m),v=p.includes(Nk)&&l.createElement(Tk,{className:R("".concat(t,"-column-sorter-up"),{active:m===Nk})}),y=p.includes(Ak)&&l.createElement(Mk,{className:R("".concat(t,"-column-sorter-down"),{active:m===Ak})}),x=o||{},w=x.cancelSort,_=x.triggerAsc,k=x.triggerDesc,S=w;b===Ak?S=k:b===Nk&&(S=_);var C="object"===Fi(f)?f:{title:S};d=Pi(Pi({},d),{className:R(d.className,Ni({},"".concat(t,"-column-sort"),m)),title:function(n){var a=l.createElement("div",{className:"".concat(t,"-column-sorters")},l.createElement("span",{className:"".concat(t,"-column-title")},Pk(e.title,n)),l.createElement("span",{className:R("".concat(t,"-column-sorter"),Ni({},"".concat(t,"-column-sorter-full"),!(!v||!y)))},l.createElement("span",{className:"".concat(t,"-column-sorter-inner")},v,y)));return f?l.createElement(Uh,C,a):a},onHeaderCell:function(n){var r=e.onHeaderCell&&e.onHeaderCell(n)||{},o=r.onClick;return r.onClick=function(t){a({column:e,key:h,sortOrder:b,multiplePriority:zk(e)}),o&&o(t)},r.className=R(r.className,"".concat(t,"-column-has-sorters")),r}})}return"children"in d&&(d=Pi(Pi({},d),{children:jk(t,d.children,n,a,r,o,i,u)})),d}))}function Fk(t){var e=t.column;return{column:e,order:t.sortOrder,field:e.dataIndex,columnKey:e.key}}function Bk(t){var e=t.filter((function(t){return t.sortOrder})).map(Fk);return 0===e.length&&t.length?Pi(Pi({},Fk(t[t.length-1])),{column:void 0}):e.length<=1?e[0]||{}:e}function Vk(t,e,n){var a=e.slice().sort((function(t,e){return e.multiplePriority-t.multiplePriority})),r=t.slice(),o=a.filter((function(t){var e=t.column.sorter,n=t.sortOrder;return Rk(e)&&n}));return o.length?r.sort((function(t,e){for(var n=0;n<o.length;n+=1){var a=o[n],r=a.column.sorter,i=a.sortOrder,l=Rk(r);if(l&&i){var s=l(t,e,i);if(0!==s)return i===Nk?s:-s}}return 0})).map((function(t){var a=t[n];return a?Pi(Pi({},t),Ni({},n,Vk(a,e,n))):t})):r}function Yk(t){var e=t.prefixCls,n=t.mergedColumns,a=t.onSorterChange,r=t.sortDirections,o=t.tableLocale,i=t.showSorterTooltip,s=ji(l.useState(Lk(n,!0)),2),c=s[0],u=s[1],d=l.useMemo((function(){var t=!0,e=Lk(n,!1);if(!e.length)return c;var a=[];function r(e){t?a.push(e):a.push(Pi(Pi({},e),{sortOrder:null}))}var o=null;return e.forEach((function(e){null===o?(r(e),e.sortOrder&&(!1===e.multiplePriority?t=!1:o=!0)):(o&&!1!==e.multiplePriority||(t=!1),r(e))})),a}),[n,c]),p=l.useMemo((function(){var t=d.map((function(t){return{column:t.column,order:t.sortOrder}}));return{sortColumns:t,sortColumn:t[0]&&t[0].column,sortOrder:t[0]&&t[0].order}}),[d]);function f(t){var e;e=!1!==t.multiplePriority&&d.length&&!1!==d[0].multiplePriority?[].concat(Nu(d.filter((function(e){return e.key!==t.key}))),[t]):[t],u(e),a(Bk(e),e)}return[function(t){return jk(e,t,d,f,r,o,i)},d,p,function(){return Bk(d)}]}var Hk={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},Wk=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:Hk}))};Wk.displayName="FilterFilled";var Uk=l.forwardRef(Wk),Gk=function(t){return l.createElement("div",{className:t.className,onClick:function(t){return t.stopPropagation()}},t.children)};function Kk(t){var e,n=l.useRef(t),a=(e=l.useReducer((function(t){return t+1}),0),ji(e,2)[1]);return[function(){return n.current},function(t){n.current=t,a()}]}var qk=ak.SubMenu,Xk=ak.Item;function Zk(t){var e=t.filters,n=t.prefixCls,a=t.filteredKeys,r=t.filterMultiple,o=t.locale;return 0===e.length?l.createElement(Xk,{key:"empty"},l.createElement("div",{style:{margin:"16px 0"}},l.createElement(bp,{image:bp.PRESENTED_IMAGE_SIMPLE,description:o.filterEmptyText,imageStyle:{height:24}}))):e.map((function(t,e){var i=String(t.value);if(t.children)return l.createElement(qk,{key:i||e,title:t.text,popupClassName:"".concat(n,"-dropdown-submenu")},Zk({filters:t.children,prefixCls:n,filteredKeys:a,filterMultiple:r,locale:o}));var s=r?L_:bk;return l.createElement(Xk,{key:void 0!==t.value?i:e},l.createElement(s,{checked:a.includes(i)}),l.createElement("span",null,t.text))}))}function Jk(t){var e,n=t.tablePrefixCls,a=t.prefixCls,r=t.column,o=t.dropdownPrefixCls,i=t.columnKey,s=t.filterMultiple,c=t.filterState,u=t.triggerFilter,d=t.locale,p=t.children,f=t.getPopupContainer,h=r.filterDropdownVisible,g=r.onFilterDropdownVisibleChange,m=ji(l.useState(!1),2),b=m[0],v=m[1],y=!(!c||!(null===(e=c.filteredKeys)||void 0===e?void 0:e.length)&&!c.forceFiltered),x=function(t){v(t),null==g||g(t)},w="boolean"==typeof h?h:b,_=null==c?void 0:c.filteredKeys,k=ji(Kk(_||[]),2),S=k[0],C=k[1],M=function(t){var e=t.selectedKeys;C(e)};l.useEffect((function(){M({selectedKeys:_||[]})}),[_]);var O=ji(l.useState([]),2),E=O[0],T=O[1],D=l.useRef();l.useEffect((function(){return function(){window.clearTimeout(D.current)}}),[]);var I,P=function(t){var e=t&&t.length?t:null;return null!==e||c&&c.filteredKeys?Tc(e,null==c?void 0:c.filteredKeys)?null:void u({column:r,key:i,filteredKeys:e}):null},N=function(){x(!1),P(S())},A=function(){C([]),x(!1),P([])},z=R(Ni({},"".concat(o,"-menu-without-submenu"),!(r.filters||[]).some((function(t){return t.children}))));if("function"==typeof r.filterDropdown)I=r.filterDropdown({prefixCls:"".concat(o,"-custom"),setSelectedKeys:function(t){return M({selectedKeys:t})},selectedKeys:S(),confirm:function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{closeDropdown:!0}).closeDropdown&&x(!1),P(S())},clearFilters:A,filters:r.filters,visible:w});else if(r.filterDropdown)I=r.filterDropdown;else{var L=S()||[];I=l.createElement(l.Fragment,null,l.createElement(ak,{multiple:s,prefixCls:"".concat(o,"-menu"),className:z,onClick:function(){window.clearTimeout(D.current)},onSelect:M,onDeselect:M,selectedKeys:L,getPopupContainer:f,openKeys:E,onOpenChange:function(t){D.current=window.setTimeout((function(){T(t)}))}},Zk({filters:r.filters||[],prefixCls:a,filteredKeys:S(),filterMultiple:s,locale:d})),l.createElement("div",{className:"".concat(a,"-dropdown-btns")},l.createElement(Og,{type:"link",size:"small",disabled:0===L.length,onClick:A},d.filterReset),l.createElement(Og,{type:"primary",size:"small",onClick:N},d.filterConfirm)))}var j,F=l.createElement(Gk,{className:"".concat(a,"-dropdown")},I);j="function"==typeof r.filterIcon?r.filterIcon(y):r.filterIcon?r.filterIcon:l.createElement(Uk,null);var B=l.useContext(yp).direction;return l.createElement("div",{className:"".concat(a,"-column")},l.createElement("span",{className:"".concat(n,"-column-title")},p),l.createElement(Ng,{overlay:F,trigger:["click"],visible:w,onVisibleChange:function(t){t&&void 0!==_&&C(_||[]),x(t),t||r.filterDropdown||N()},getPopupContainer:f,placement:"rtl"===B?"bottomLeft":"bottomRight"},l.createElement("span",{role:"button",tabIndex:-1,className:R("".concat(a,"-trigger"),{active:y}),onClick:function(t){t.stopPropagation()}},j)))}function $k(t,e,n){var a=[];return(t||[]).forEach((function(t,r){var o,i=Ik(r,n);if(t.filters||"filterDropdown"in t||"onFilter"in t)if("filteredValue"in t){var l=t.filteredValue;"filterDropdown"in t||(l=null!==(o=null==l?void 0:l.map(String))&&void 0!==o?o:l),a.push({column:t,key:Dk(t,i),filteredKeys:l,forceFiltered:t.filtered})}else a.push({column:t,key:Dk(t,i),filteredKeys:e&&t.defaultFilteredValue?t.defaultFilteredValue:void 0,forceFiltered:t.filtered});"children"in t&&(a=[].concat(Nu(a),Nu($k(t.children,e,i))))})),a}function Qk(t,e,n,a,r,o,i,s){return n.map((function(n,c){var u=Ik(c,s),d=n.filterMultiple,p=void 0===d||d,f=n;if(f.filters||f.filterDropdown){var h=Dk(f,u),g=a.find((function(t){var e=t.key;return h===e}));f=Pi(Pi({},f),{title:function(a){return l.createElement(Jk,{tablePrefixCls:t,prefixCls:"".concat(t,"-filter"),dropdownPrefixCls:e,column:f,columnKey:h,filterState:g,filterMultiple:p,triggerFilter:r,locale:i,getPopupContainer:o},Pk(n.title,a))}})}return"children"in f&&(f=Pi(Pi({},f),{children:Qk(t,e,f.children,a,r,o,i,u)})),f}))}function tS(t){var e=[];return(t||[]).forEach((function(t){var n=t.value,a=t.children;e.push(n),a&&(e=[].concat(Nu(e),Nu(tS(a))))})),e}function eS(t){var e={};return t.forEach((function(t){var n=t.key,a=t.filteredKeys,r=t.column,o=r.filters;if(r.filterDropdown)e[n]=a||null;else if(Array.isArray(a)){var i=tS(o);e[n]=i.filter((function(t){return a.includes(String(t))}))}else e[n]=null})),e}function nS(t,e){return e.reduce((function(t,e){var n=e.column,a=n.onFilter,r=n.filters,o=e.filteredKeys;return a&&o&&o.length?t.filter((function(t){return o.some((function(e){var n=tS(r),o=n.findIndex((function(t){return String(t)===String(e)})),i=-1!==o?n[o]:e;return a(i,t)}))})):t}),t)}function aS(t){var e=t.prefixCls,n=t.dropdownPrefixCls,a=t.mergedColumns,r=t.onFilterChange,o=t.getPopupContainer,i=t.locale,s=ji(l.useState($k(a,!0)),2),c=s[0],u=s[1],d=l.useMemo((function(){var t=$k(a,!1),e=t.every((function(t){return void 0===t.filteredKeys}));if(e)return c;var n=t.every((function(t){return void 0!==t.filteredKeys}));return Qd(e||n,"Table","`FilteredKeys` should all be controlled or not controlled."),t}),[a,c]),p=l.useCallback((function(){return eS(d)}),[d]),f=function(t){var e=d.filter((function(e){return e.key!==t.key}));e.push(t),u(e),r(eS(e),e)};return[function(t){return Qk(e,n,t,d,f,o,i)},d,p]}function rS(t,e){return t.map((function(t){var n=Pi({},t);return n.title=Pk(t.title,e),"children"in n&&(n.children=rS(n.children,e)),n}))}function oS(t){return[l.useCallback((function(e){return rS(e,t)}),[t])]}function iS(t){return null!=t&&t===t.window}function lS(t,e){var n;if("undefined"==typeof window)return 0;var a=e?"scrollTop":"scrollLeft",r=0;return iS(t)?r=t[e?"pageYOffset":"pageXOffset"]:t instanceof Document?r=t.documentElement[a]:t&&(r=t[a]),t&&!iS(t)&&"number"!=typeof r&&(r=null===(n=(t.ownerDocument||t).documentElement)||void 0===n?void 0:n[a]),r}function sS(t,e,n,a){var r=n-e;return(t/=a/2)<1?r/2*t*t*t+e:r/2*((t-=2)*t*t+2)+e}function cS(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.getContainer,a=void 0===n?function(){return window}:n,r=e.callback,o=e.duration,i=void 0===o?450:o,l=a(),s=lS(l,!0),c=Date.now(),u=function e(){var n=Date.now()-c,a=sS(n>i?i:n,s,t,i);iS(l)?l.scrollTo(window.pageXOffset,a):l instanceof HTMLDocument||"HTMLDocument"===l.constructor.name?l.documentElement.scrollTop=a:l.scrollTop=a,n<i?ol(e):"function"==typeof r&&r()};ol(u)}var uS=[];function dS(t){var e,n=t.prefixCls,a=t.className,r=t.style,o=t.size,i=t.bordered,s=t.dropdownPrefixCls,c=t.dataSource,u=t.pagination,d=t.rowSelection,p=t.rowKey,f=t.rowClassName,h=t.columns,g=t.children,m=t.childrenColumnName,b=t.onChange,v=t.getPopupContainer,y=t.loading,x=t.expandIcon,w=t.expandable,_=t.expandedRowRender,k=t.expandIconColumnIndex,S=t.indentSize,C=t.scroll,M=t.sortDirections,O=t.locale,E=t.showSorterTooltip,T=void 0===E||E;Qd(!("function"==typeof p&&p.length>1),"Table","`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected.");var D=Kw(),I=l.useMemo((function(){var t=new Set(Object.keys(D).filter((function(t){return D[t]})));return(h||yy(g)).filter((function(e){return!e.responsive||e.responsive.some((function(e){return t.has(e)}))}))}),[g,h,D]),P=ig(t,["className","style","columns"]),N=l.useContext(kp),A=l.useContext(yp),z=A.locale,L=void 0===z?rp:z,j=A.renderEmpty,F=A.direction,B=o||N,V=Pi(Pi({},L.Table),O),Y=c||uS,H=l.useContext(yp).getPrefixCls,W=H("table",n),U=H("dropdown",s),G=Pi({childrenColumnName:m,expandIconColumnIndex:k},w),K=G.childrenColumnName,q=void 0===K?"children":K,X=l.useMemo((function(){return Y.some((function(t){var e;return null===(e=t)||void 0===e?void 0:e[q]}))?"nest":_||w&&w.expandedRowRender?"row":null}),[Y]),Z={body:l.useRef()},J=l.useMemo((function(){return"function"==typeof p?p:function(t){var e;return null===(e=t)||void 0===e?void 0:e[p]}}),[p]),$=function(t,e,n){var a=l.useRef({});return[function(r){if(!a.current||a.current.data!==t||a.current.childrenColumnName!==e||a.current.getRowKey!==n){var o=new Map;function r(t){t.forEach((function(t,a){var i=n(t,a);o.set(i,t),t&&"object"===Fi(t)&&e in t&&r(t[e]||[])}))}r(t),a.current={data:t,childrenColumnName:e,kvMap:o,getRowKey:n}}return a.current.kvMap.get(r)}]}(Y,q,J),Q=ji($,1)[0],tt={},et=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=Pi(Pi({},tt),t);n&&(tt.resetPagination(),a.pagination.current&&(a.pagination.current=1),u&&u.onChange&&u.onChange(1,a.pagination.pageSize)),C&&!1!==C.scrollToFirstRowOnChange&&Z.body.current&&cS(0,{getContainer:function(){return Z.body.current}}),null==b||b(a.pagination,a.filters,a.sorter,{currentDataSource:nS(Vk(Y,a.sorterStates,q),a.filterStates),action:e})},nt=ji(Yk({prefixCls:W,mergedColumns:I,onSorterChange:function(t,e){et({sorter:t,sorterStates:e},"sort",!1)},sortDirections:M||["ascend","descend"],tableLocale:V,showSorterTooltip:T}),4),at=nt[0],rt=nt[1],ot=nt[2],it=nt[3],lt=l.useMemo((function(){return Vk(Y,rt,q)}),[Y,rt]);tt.sorter=it(),tt.sorterStates=rt;var st=aS({prefixCls:W,locale:V,dropdownPrefixCls:U,mergedColumns:I,onFilterChange:function(t,e){et({filters:t,filterStates:e},"filter",!0)},getPopupContainer:v}),ct=ji(st,3),ut=ct[0],dt=ct[1],pt=ct[2],ft=nS(lt,dt);tt.filters=pt(),tt.filterStates=dt;var ht=ji(oS(l.useMemo((function(){return Pi({},ot)}),[ot])),1)[0],gt=ji(Jw(ft.length,u,(function(t,e){et({pagination:Pi(Pi({},tt.pagination),{current:t,pageSize:e})},"paginate")})),2),mt=gt[0],bt=gt[1];tt.pagination=!1===u?{}:function(t,e){var n={current:e.current,pageSize:e.pageSize},a=t&&"object"===Fi(t)?t:{};return Object.keys(a).forEach((function(t){var a=e[t];"function"!=typeof a&&(n[t]=a)})),n}(u,mt),tt.resetPagination=bt;var vt=l.useMemo((function(){if(!1===u||!mt.pageSize)return ft;var t=mt.current,e=void 0===t?1:t,n=mt.total,a=mt.pageSize,r=void 0===a?10:a;return Qd(e>0,"Table","`current` should be positive number."),ft.length<n?ft.length>r?(Qd(!1,"Table","`dataSource` length is less than `pagination.total` but large than `pagination.pageSize`. Please make sure your config correct data with async mode."),ft.slice((e-1)*r,e*r)):ft:ft.slice((e-1)*r,e*r)}),[!!u,ft,mt&&mt.current,mt&&mt.pageSize,mt&&mt.total]),yt=ji(kk(d,{prefixCls:W,data:ft,pageData:vt,getRowKey:J,getRecordByKey:Q,expandType:X,childrenColumnName:q,locale:V,expandIconColumnIndex:G.expandIconColumnIndex,getPopupContainer:v}),2),xt=yt[0],wt=yt[1];G.__PARENT_RENDER_ICON__=G.expandIcon,G.expandIcon=G.expandIcon||x||function(t){return function(e){var n,a=e.prefixCls,r=e.onExpand,o=e.record,i=e.expanded,s=e.expandable,c="".concat(a,"-row-expand-icon");return l.createElement("button",{type:"button",onClick:function(t){r(o,t),t.stopPropagation()},className:R(c,(n={},Ni(n,"".concat(c,"-spaced"),!s),Ni(n,"".concat(c,"-expanded"),s&&i),Ni(n,"".concat(c,"-collapsed"),s&&!i),n)),"aria-label":i?t.collapse:t.expand})}}(V),"nest"===X&&void 0===G.expandIconColumnIndex?G.expandIconColumnIndex=d?1:0:G.expandIconColumnIndex>0&&d&&(G.expandIconColumnIndex-=1),"number"!=typeof G.indentSize&&(G.indentSize="number"==typeof S?S:15);var _t,kt,St,Ct=l.useCallback((function(t){return ht(xt(ut(at(t))))}),[at,ut,xt]);if(!1!==u&&(null==mt?void 0:mt.total)){var Mt;Mt=mt.size?mt.size:"small"===B||"middle"===B?"small":void 0;var Ot=function(t){return l.createElement(Xw,Pi({className:"".concat(W,"-pagination ").concat(W,"-pagination-").concat(t)},mt,{size:Mt}))},Et="rtl"===F?"left":"right",Tt=mt.position;if(null!==Tt&&Array.isArray(Tt)){var Dt=Tt.find((function(t){return-1!==t.indexOf("top")})),It=Tt.find((function(t){return-1!==t.indexOf("bottom")})),Pt=Tt.every((function(t){return"none"==="".concat(t)}));Dt||It||Pt||(kt=Ot(Et)),Dt&&(_t=Ot(Dt.toLowerCase().replace("top",""))),It&&(kt=Ot(It.toLowerCase().replace("bottom","")))}else kt=Ot(Et)}"boolean"==typeof y?St={spinning:y}:"object"===Fi(y)&&(St=Pi({spinning:!0},y));var Nt=R("".concat(W,"-wrapper"),Ni({},"".concat(W,"-wrapper-rtl"),"rtl"===F),a);return l.createElement("div",{className:Nt,style:r},l.createElement(vv,Pi({spinning:!1},St),_t,l.createElement(Vy,Pi({},P,{columns:I,direction:F,expandable:G,prefixCls:W,className:R((e={},Ni(e,"".concat(W,"-middle"),"middle"===B),Ni(e,"".concat(W,"-small"),"small"===B),Ni(e,"".concat(W,"-bordered"),i),Ni(e,"".concat(W,"-empty"),0===Y.length),e)),data:vt,rowKey:J,rowClassName:function(t,e,n){var a;return a=R("function"==typeof f?f(t,e,n):f),R(Ni({},"".concat(W,"-row-selected"),wt.has(J(t,e))),a)},emptyText:O&&O.emptyText||j("Table"),internalHooks:Fy,internalRefs:Z,transformColumns:Ct})),kt))}dS.defaultProps={rowKey:"key"},dS.SELECTION_ALL=vk,dS.SELECTION_INVERT=yk,dS.SELECTION_NONE=xk,dS.Column=function(t){return null},dS.ColumnGroup=function(t){return null},dS.Summary=Ty;var pS=v((function(t){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.default=t.exports,t.exports.__esModule=!0})),fS=m(pS),hS=v((function(t,e){function n(t,e){return function(n){void 0===n&&(n=e);for(var a="",r=n;r--;)a+=t[Math.random()*t.length|0];return a}}Object.defineProperty(e,"__esModule",{value:!0}),e.customAlphabet=n,e.default=void 0;var a=n("ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz",21);e.default=a})),gS=m(hS),mS=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.tupleNum=e.tuple=void 0;e.tuple=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t};e.tupleNum=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t}})),bS=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var a,r=Object.assign({},n,e),o=r.wait;return r.immediate?function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];a&&clearTimeout(a);var r=!a;a=setTimeout((function(){a=null}),o),r&&t.apply(this,e)}:function(){for(var e=this,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];a&&clearTimeout(a),a=setTimeout((function(){t.apply(e,n)}),o)}};var n={wait:800,immediate:!0}})),vS=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var a=Object.assign({},n,e),r=a.wait;if(a.immediate){var o=0;return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var a=Date.now();a-o>r&&(t.apply(this,e),o=a)}}var i;return function(){for(var e=this,n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];i||(i=setTimeout((function(){i=null,t.apply(e,n)}),r))}};var n={wait:800,immediate:!0}})),yS=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(bS),a=r(vS);function r(t){return t&&t.__esModule?t:{default:t}}var o={debounce:n.default,throttle:a.default};e.default=o})),xS=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,r){var o=Object.assign({},n,r),i=new a((function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e.apply(this,t)}));return i.observe(t,o),i};var n={childList:!1,attributes:!0,characterData:!0,subtree:!1,attributeOldValue:!0,characterDataOldValue:!0,attributeFilter:["style"]},a=Reflect.get(window,"MutationObserver")||Reflect.get(window,"WebKitMutationObserver")||Reflect.get(window,"MozMutationObserver")})),wS=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(xS);var a={observer:n.default};e.default=a})),_S=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.tupleNum=e.tuple=void 0;var n=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t};e.tuple=n;var a=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t};e.tupleNum=a;var r={tuple:n,tupleNum:a};e.default=r})),kS=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"common",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"dom",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"nanoid",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"type",{enumerable:!0,get:function(){return o.default}}),e.default=void 0;var n=i(yS),a=i(wS),r=i(hS),o=i(_S);function i(t){return t&&t.__esModule?t:{default:t}}var l={common:n.default,dom:a.default,nanoid:r.default,type:o.default};e.default=l})),SS=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.EventListenerCls=void 0;var n=function(t,e){for(var n=0,a=e.length,r=t.length;n<a;n++,r++)t[r]=e[n];return t},a=function(){function t(){this._subscribers={}}return t.prototype.publish=function(t,e){for(var a,r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];null===(a=this._subscribers[t])||void 0===a||a.forEach((function(t){return t.apply(void 0,n([e],r))}))},t.prototype.addEventListener=function(t,e){this._subscribers[t]||(this._subscribers[t]=[]),this._subscribers[t].push(e)},t.prototype.removeEventListener=function(t,e){this._subscribers[t]=this._subscribers[t].filter((function(t){return t!==e}))},t}();e.EventListenerCls=a;var r=function(){function t(t){var e=this;this._publish=kS.common.debounce((function(){e.__onChange(),e.eventListener.publish("onChange",{target:e})}),{wait:80,immediate:!1}),this.eventListener=new a,this.__onChange=t||function(){}}return t.prototype.setOnChange=function(t){this.__onChange=t},t.prototype.addEventListener=function(t,e){this.eventListener.addEventListener(t,e)},t.prototype.removeEventListener=function(t,e){this.eventListener.removeEventListener(t,e)},t}();e.default=r})),CS=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(hS),a=r(SS);function r(t){return t&&t.__esModule?t:{default:t}}var o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),i=function(){return i=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},i.apply(this,arguments)},l=function(t){function e(e,n){var a=t.call(this,n)||this;return a._id=e.id,a.level=e.level,a._source=e.source,a._alias=e.alias,a._comment=e.comment,a._showComment=e.showComment,a._type=e.type,a.subtype=e.subtype,a}return o(e,t),e.createEmptyJSON=function(t){var e={id:(0,n.default)(5),source:{table:t.table,column:t.column,associates:t.associates},alias:t.alias,comment:"",showComment:!1,type:t.type,level:t.level};return t.subtype&&(e.subtype=t.subtype),e},Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){t!==this._id&&(this._id=t,this._publish())},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"source",{get:function(){return i({},this._source)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"alias",{get:function(){return this._alias},set:function(t){this._alias=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"comment",{get:function(){return this._comment},set:function(t){this._comment=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"showComment",{get:function(){return this._showComment},set:function(t){this._showComment=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this._type},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"expr",{get:function(){return this._expr},set:function(t){console.warn("字段不支持修改expr属性")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"orderBy",{get:function(){return this._orderBy},set:function(t){console.warn("字段不支持修改expr属性")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nullVal",{get:function(){return this._nullVal},set:function(t){console.warn("字段不支持修改expr属性")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"compare",{get:function(){return this._compare},set:function(t){console.warn("字段不支持修改expr属性")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dataFormat",{get:function(){return this._dataFormat},set:function(t){console.warn("字段不支持修改expr属性")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dateFormat",{get:function(){return this._dateFormat},set:function(t){console.warn("字段不支持修改expr属性")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"timeFormat",{get:function(){return this._timeFormat},set:function(t){console.warn("字段不支持修改expr属性")},enumerable:!1,configurable:!0}),e.prototype.addEventListener=function(t,e){this.eventListener.addEventListener(t,e)},e.prototype.removeEventListener=function(t,e){this.eventListener.removeEventListener(t,e)},e.prototype.toJSON=function(){return{id:this._id,level:this.level,source:this._source,alias:this._alias,comment:this._comment,showComment:this._showComment,type:this._type,subtype:this.subtype}},e}(a.default),s=l;e.default=s})),MS=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(CS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a.level=e.level||!1,a}return a(e,t),e.createEmptyJSON=function(t){return r(r({},n.default.createEmptyJSON(t)),{level:t.level||!1})},e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{level:this.level})},e}(n.default);e.default=o})),OS=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.StringFilterCls=e.StringFilterTypes=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(SS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=(0,mS.tuple)("condition","select","tree");e.StringFilterTypes=r;var o=function(t){function e(e,n){var a=t.call(this,n)||this;return a.type=e.type,a._level=e.level,a}return a(e,t),e.createEmptyJSON=function(){return{type:"condition",level:!1}},e.createEmpty=function(t){return new e(e.createEmptyJSON(),t)},Object.defineProperty(e.prototype,"level",{get:function(){return this._level},set:function(t){this._level=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return{type:this.type,level:this._level}},e}(n.default);e.StringFilterCls=o;var i=o;e.default=i})),ES=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.convertToSqlConfig=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(OS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a.type="select",a._value=e.value,a}return a(e,t),e.createEmptyJSON=function(){return r(r({},n.default.createEmptyJSON()),{type:"select",value:void 0})},e.createEmpty=function(t){return new e(e.createEmptyJSON(),t)},Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:this.type,value:this._value})},e}(n.default);e.convertToSqlConfig=function(t){if(t.value&&t.value.find((function(t){return t})))return{op:"=",value:[],options:t.value}};var i=o;e.default=i})),TS=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.convertToSqlConfig=e.ConditionModeTypes=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(OS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=(0,mS.tuple)("contain","not_contain","startwith","not_startwith","endwith","not_endwith","equal","not_equal","null_str","not_null_str","null","not_null");e.ConditionModeTypes=o;var i=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a.type="condition",a._mode=e.mode,a._value=e.value,a}return a(e,t),e.createEmptyJSON=function(){return r(r({},n.default.createEmptyJSON()),{type:"condition",mode:"contain",value:void 0})},e.createEmpty=function(t){return new e(e.createEmptyJSON(),t)},Object.defineProperty(e.prototype,"mode",{get:function(){return this._mode},set:function(t){this._mode=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:this.type,mode:this._mode,value:this._value})},e}(n.default);e.convertToSqlConfig=function(t){if(t.value||["null_str","not_null_str","null","nn"].includes(t.mode))switch(t.mode){case"contain":return{op:"**",value:[t.value],options:[]};case"not_contain":return{op:"!**",value:[t.value],options:[]};case"startwith":return{op:"*=",value:[t.value],options:[]};case"not_startwith":return{op:"!*=",value:[t.value],options:[]};case"endwith":return{op:"=*",value:[t.value],options:[]};case"not_endwith":return{op:"!=*",value:[t.value],options:[]};case"equal":return{op:"=",value:[t.value],options:[]};case"not_equal":return{op:"<>",value:[t.value],options:[]};case"null_str":return{op:"empty",value:[],options:[]};case"not_null_str":return{op:"ne",value:[],options:[]};case"null":return{op:"null",value:[],options:[]};case"not_null":return{op:"nn",value:[],options:[]}}};var l=i;e.default=l})),DS=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.convertToSqlConfig=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(OS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a.type="tree",a._treeCheckStrictly=e.treeCheckStrictly,a._value=e.value,a}return a(e,t),e.createEmptyJSON=function(){return r(r({},n.default.createEmptyJSON()),{type:"tree",treeCheckStrictly:!1,value:void 0})},e.createEmpty=function(t){return new e(e.createEmptyJSON(),t)},Object.defineProperty(e.prototype,"treeCheckStrictly",{get:function(){return this._treeCheckStrictly},set:function(t){this._treeCheckStrictly=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:this.type,treeCheckStrictly:this._treeCheckStrictly,value:this._value})},e}(n.default);e.convertToSqlConfig=function(t){if(t.value&&t.value.find((function(t){return t})))return{op:"=",value:[],options:t.value,level:t.treeCheckStrictly?"mutil":""}};var i=o;e.default=i})),IS=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"StringFilterTypes",{enumerable:!0,get:function(){return OS.StringFilterTypes}}),Object.defineProperty(e,"SelectFilter",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"ConditionFilter",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"TreeFilter",{enumerable:!0,get:function(){return r.default}}),e.convertToSqlConfig=e.StringFilterFactory=void 0;var n=i(ES),a=i(TS),r=i(DS);function o(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return o=function(){return t},t}function i(t){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var e=o();if(e&&e.has(t))return e.get(t);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var i=a?Object.getOwnPropertyDescriptor(t,r):null;i&&(i.get||i.set)?Object.defineProperty(n,r,i):n[r]=t[r]}return n.default=t,e&&e.set(t,n),n}var l={create:function(t,e){switch(t.type){case"select":return new n.default(t,e);case"condition":return new a.default(t,e);case"tree":return new r.default(t,e)}},createEmpty:function(t,e){switch(t){case"select":return n.default.createEmpty(e);case"tree":return r.default.createEmpty(e);default:return a.default.createEmpty(e)}}};e.StringFilterFactory=l;e.convertToSqlConfig=function(t){switch(t.type){case"condition":return(0,a.convertToSqlConfig)(t);case"select":return(0,n.convertToSqlConfig)(t);case"tree":return(0,r.convertToSqlConfig)(t)}}})),PS=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"convertToSqlConfig",{enumerable:!0,get:function(){return IS.convertToSqlConfig}}),e.default=e.FilterTypes=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(MS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=(0,mS.tuple)("select","condition","tree");e.FilterTypes=o;var i=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._type=e.type,a._filter=IS.StringFilterFactory.create(e.filter,(function(){return a._publish()})),a}return a(e,t),e.createEmptyJSON=function(t){return r(r({},n.default.createEmptyJSON(t)),{type:t.type,filter:IS.ConditionFilter.createEmptyJSON()})},e.createEmpty=function(t,n){return new e(e.createEmptyJSON(t),n)},Object.defineProperty(e.prototype,"filter",{get:function(){return this._filter},set:function(t){var e=this;t.setOnChange((function(){return e._publish()})),this._filter=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:this._type,filter:this._filter.toJSON()})},e}(n.default),l=i;e.default=l})),NS=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.NumberFilterCls=e.NumberFilterTypes=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(SS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=(0,mS.tuple)("condition","range");e.NumberFilterTypes=r;var o=function(t){function e(e,n){var a=t.call(this,n)||this;return a.type=e.type,a}return a(e,t),e.createEmptyJSON=function(){return{type:"range"}},e.createEmpty=function(t){return new e(e.createEmptyJSON(),t)},e.prototype.toJSON=function(){return{type:this.type}},e}(n.default);e.NumberFilterCls=o;var i=o;e.default=i})),AS=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.convertToSqlConfig=e.ConditionModeTypes=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(NS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=(0,mS.tuple)("equal","not_equal","great_than","great_equal","less_than","less_equal","null","not_null");e.ConditionModeTypes=o;var i=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a.type=e.type,a._mode=e.mode,a._value=e.value,a}return a(e,t),e.createEmptyJSON=function(){return r(r({},n.default.createEmptyJSON()),{type:"condition",mode:"equal",value:void 0})},e.createEmpty=function(t){return new e(e.createEmptyJSON(),t)},Object.defineProperty(e.prototype,"mode",{get:function(){return this._mode},set:function(t){this._mode=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:this.type,mode:this._mode,value:this._value})},e}(n.default);e.convertToSqlConfig=function(t){if(t.value||["null","nn"].includes(t.mode))switch(t.mode){case"equal":return{op:"=",value:[t.value],options:[]};case"not_equal":return{op:"!=",value:[t.value],options:[]};case"great_than":return{op:">",value:[t.value],options:[]};case"great_equal":return{op:">=",value:[t.value],options:[]};case"less_than":return{op:"<",value:[t.value],options:[]};case"less_equal":return{op:"<=",value:[t.value],options:[]};case"null":return{op:"null",value:[],options:[]};case"not_null":return{op:"nn",value:[],options:[]}}};var l=i;e.default=l})),zS=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.convertToSqlConfig=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(NS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a.type="range",a._value=e.value,a}return a(e,t),e.createEmptyJSON=function(){return r(r({},n.default.createEmptyJSON()),{type:"range",value:[void 0,void 0]})},e.createEmpty=function(t){return new e(e.createEmptyJSON(),t)},Object.defineProperty(e.prototype,"value",{get:function(){return function(t,e){for(var n=0,a=e.length,r=t.length;n<a;n++,r++)t[r]=e[n];return t}([],this._value)},set:function(t){this._value=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:this.type,value:this._value})},e}(n.default);e.convertToSqlConfig=function(t){if(t.value[0]||t.value[1])return{op:"between",value:t.value,options:[]}};var i=o;e.default=i})),RS=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"NumberFilterTypes",{enumerable:!0,get:function(){return NS.NumberFilterTypes}}),Object.defineProperty(e,"ConditionFilter",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"RangeFilter",{enumerable:!0,get:function(){return a.default}}),e.convertToSqlConfig=e.NumberFilterFactory=void 0;var n=o(AS),a=o(zS);function r(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return r=function(){return t},t}function o(t){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var e=r();if(e&&e.has(t))return e.get(t);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var i=a?Object.getOwnPropertyDescriptor(t,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=t[o]}return n.default=t,e&&e.set(t,n),n}var i={create:function(t,e){switch(t.type){case"condition":return new n.default(t,e);case"range":return new a.default(t,e)}},createEmpty:function(t,e){return"range"===t?a.default.createEmpty(e):n.default.createEmpty(e)}};e.NumberFilterFactory=i;e.convertToSqlConfig=function(t){switch(t.type){case"condition":return(0,n.convertToSqlConfig)(t);case"range":return(0,a.convertToSqlConfig)(t)}}})),LS=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"convertToSqlConfig",{enumerable:!0,get:function(){return RS.convertToSqlConfig}}),e.default=e.FilterTypes=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(MS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=(0,mS.tuple)("condition","range");e.FilterTypes=o;var i=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._type=e.type,a._filter=RS.NumberFilterFactory.create(e.filter,(function(){return a._publish()})),a}return a(e,t),e.createEmptyJSON=function(t){return r(r({},n.default.createEmptyJSON(t)),{type:t.type,filter:RS.ConditionFilter.createEmptyJSON()})},e.createEmpty=function(t,n){return new e(e.createEmptyJSON(t),n)},Object.defineProperty(e.prototype,"filter",{get:function(){return this._filter},set:function(t){var e=this;t.setOnChange((function(){return e._publish()})),this._filter=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:this._type,filter:this._filter.toJSON()})},e}(n.default),l=i;e.default=l})),jS=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.TimeFilterCls=e.DATE_FORMAT=e.FilterTypes=e.TimeFilterTypes=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(SS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=(0,mS.tuple)("datetime","datetime_range");e.TimeFilterTypes=r;var o=(0,mS.tuple)("date","datetime","year","month","day","time");e.FilterTypes=o;e.DATE_FORMAT="YYYY-MM-DD HH:mm:ss";var i=function(t){function e(e,n){var a=t.call(this,n)||this;return a.type=e.type,a._filterType=e.filterType,a}return a(e,t),e.createEmptyJSON=function(t){return{type:"datetime",filterType:t||"date"}},e.createEmpty=function(t,n){return"function"==typeof t&&(n=t,t=void 0),new e(e.createEmptyJSON(),n)},Object.defineProperty(e.prototype,"filterType",{get:function(){return this._filterType},set:function(t){this._filterType=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return{type:this.type,filterType:this._filterType}},e}(n.default);e.TimeFilterCls=i;var l=i;e.default=l})),FS=v((function(t,e){t.exports=function(){var e,n;function a(){return e.apply(null,arguments)}function r(t){e=t}function o(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function i(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function l(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function s(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(l(t,e))return!1;return!0}function c(t){return void 0===t}function u(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function d(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function p(t,e){var n,a=[],r=t.length;for(n=0;n<r;++n)a.push(e(t[n],n));return a}function f(t,e){for(var n in e)l(e,n)&&(t[n]=e[n]);return l(e,"toString")&&(t.toString=e.toString),l(e,"valueOf")&&(t.valueOf=e.valueOf),t}function h(t,e,n,a){return Xn(t,e,n,a,!0).utc()}function g(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function m(t){return null==t._pf&&(t._pf=g()),t._pf}function b(t){if(null==t._isValid){var e=m(t),a=n.call(e.parsedDateParts,(function(t){return null!=t})),r=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&a);if(t._strict&&(r=r&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function v(t){var e=h(NaN);return null!=t?f(m(e),t):m(e).userInvalidated=!0,e}n=Array.prototype.some?Array.prototype.some:function(t){var e,n=Object(this),a=n.length>>>0;for(e=0;e<a;e++)if(e in n&&t.call(this,n[e],e,n))return!0;return!1};var x=a.momentProperties=[],w=!1;function _(t,e){var n,a,r,o=x.length;if(c(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),c(e._i)||(t._i=e._i),c(e._f)||(t._f=e._f),c(e._l)||(t._l=e._l),c(e._strict)||(t._strict=e._strict),c(e._tzm)||(t._tzm=e._tzm),c(e._isUTC)||(t._isUTC=e._isUTC),c(e._offset)||(t._offset=e._offset),c(e._pf)||(t._pf=m(e)),c(e._locale)||(t._locale=e._locale),o>0)for(n=0;n<o;n++)c(r=e[a=x[n]])||(t[a]=r);return t}function k(t){_(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===w&&(w=!0,a.updateOffset(this),w=!1)}function S(t){return t instanceof k||null!=t&&null!=t._isAMomentObject}function C(t){!1===a.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function M(t,e){var n=!0;return f((function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,t),n){var r,o,i,s=[],c=arguments.length;for(o=0;o<c;o++){if(r="","object"==typeof arguments[o]){for(i in r+="\n["+o+"] ",arguments[0])l(arguments[0],i)&&(r+=i+": "+arguments[0][i]+", ");r=r.slice(0,-2)}else r=arguments[o];s.push(r)}C(t+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),n=!1}return e.apply(this,arguments)}),e)}var O,E={};function T(t,e){null!=a.deprecationHandler&&a.deprecationHandler(t,e),E[t]||(C(e),E[t]=!0)}function D(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function I(t){var e,n;for(n in t)l(t,n)&&(D(e=t[n])?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function P(t,e){var n,a=f({},t);for(n in e)l(e,n)&&(i(t[n])&&i(e[n])?(a[n]={},f(a[n],t[n]),f(a[n],e[n])):null!=e[n]?a[n]=e[n]:delete a[n]);for(n in t)l(t,n)&&!l(e,n)&&i(t[n])&&(a[n]=f({},a[n]));return a}function N(t){null!=t&&this.set(t)}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,O=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)l(t,e)&&n.push(e);return n};var A={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function z(t,e,n){var a=this._calendar[t]||this._calendar.sameElse;return D(a)?a.call(e,n):a}function R(t,e,n){var a=""+Math.abs(t),r=e-a.length;return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+a}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,j=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,F={},B={};function V(t,e,n,a){var r=a;"string"==typeof a&&(r=function(){return this[a]()}),t&&(B[t]=r),e&&(B[e[0]]=function(){return R(r.apply(this,arguments),e[1],e[2])}),n&&(B[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function Y(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function H(t){var e,n,a=t.match(L);for(e=0,n=a.length;e<n;e++)B[a[e]]?a[e]=B[a[e]]:a[e]=Y(a[e]);return function(e){var r,o="";for(r=0;r<n;r++)o+=D(a[r])?a[r].call(e,t):a[r];return o}}function W(t,e){return t.isValid()?(e=U(e,t.localeData()),F[e]=F[e]||H(e),F[e](t)):t.localeData().invalidDate()}function U(t,e){var n=5;function a(t){return e.longDateFormat(t)||t}for(j.lastIndex=0;n>=0&&j.test(t);)t=t.replace(j,a),j.lastIndex=0,n-=1;return t}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 K(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(L).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])}var q="Invalid date";function X(){return this._invalidDate}var Z="%d",J=/\d{1,2}/;function $(t){return this._ordinal.replace("%d",t)}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 tt(t,e,n,a){var r=this._relativeTime[n];return D(r)?r(t,e,n,a):r.replace(/%d/i,t)}function et(t,e){var n=this._relativeTime[t>0?"future":"past"];return D(n)?n(e):n.replace(/%s/i,e)}var nt={};function at(t,e){var n=t.toLowerCase();nt[n]=nt[n+"s"]=nt[e]=t}function rt(t){return"string"==typeof t?nt[t]||nt[t.toLowerCase()]:void 0}function ot(t){var e,n,a={};for(n in t)l(t,n)&&(e=rt(n))&&(a[e]=t[n]);return a}var it={};function lt(t,e){it[t]=e}function st(t){var e,n=[];for(e in t)l(t,e)&&n.push({unit:e,priority:it[e]});return n.sort((function(t,e){return t.priority-e.priority})),n}function ct(t){return t%4==0&&t%100!=0||t%400==0}function ut(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function dt(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=ut(e)),n}function pt(t,e){return function(n){return null!=n?(ht(this,t,n),a.updateOffset(this,e),this):ft(this,t)}}function ft(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function ht(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&ct(t.year())&&1===t.month()&&29===t.date()?(n=dt(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),te(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function gt(t){return D(this[t=rt(t)])?this[t]():this}function mt(t,e){if("object"==typeof t){var n,a=st(t=ot(t)),r=a.length;for(n=0;n<r;n++)this[a[n].unit](t[a[n].unit])}else if(D(this[t=rt(t)]))return this[t](e);return this}var bt,vt=/\d/,yt=/\d\d/,xt=/\d{3}/,wt=/\d{4}/,_t=/[+-]?\d{6}/,kt=/\d\d?/,St=/\d\d\d\d?/,Ct=/\d\d\d\d\d\d?/,Mt=/\d{1,3}/,Ot=/\d{1,4}/,Et=/[+-]?\d{1,6}/,Tt=/\d+/,Dt=/[+-]?\d+/,It=/Z|[+-]\d\d:?\d\d/gi,Pt=/Z|[+-]\d\d(?::?\d\d)?/gi,Nt=/[+-]?\d+(\.\d{1,3})?/,At=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function zt(t,e,n){bt[t]=D(e)?e:function(t,a){return t&&n?n:e}}function Rt(t,e){return l(bt,t)?bt[t](e._strict,e._locale):new RegExp(Lt(t))}function Lt(t){return jt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,n,a,r){return e||n||a||r})))}function jt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}bt={};var Ft={};function Bt(t,e){var n,a,r=e;for("string"==typeof t&&(t=[t]),u(e)&&(r=function(t,n){n[e]=dt(t)}),a=t.length,n=0;n<a;n++)Ft[t[n]]=r}function Vt(t,e){Bt(t,(function(t,n,a,r){a._w=a._w||{},e(t,a._w,a,r)}))}function Yt(t,e,n){null!=e&&l(Ft,t)&&Ft[t](e,n._a,n,t)}var Ht,Wt=0,Ut=1,Gt=2,Kt=3,qt=4,Xt=5,Zt=6,Jt=7,$t=8;function Qt(t,e){return(t%e+e)%e}function te(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=Qt(e,12);return t+=(e-n)/12,1===n?ct(t)?29:28:31-n%7%2}Ht=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},V("M",["MM",2],"Mo",(function(){return this.month()+1})),V("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),V("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),at("month","M"),lt("month",8),zt("M",kt),zt("MM",kt,yt),zt("MMM",(function(t,e){return e.monthsShortRegex(t)})),zt("MMMM",(function(t,e){return e.monthsRegex(t)})),Bt(["M","MM"],(function(t,e){e[Ut]=dt(t)-1})),Bt(["MMM","MMMM"],(function(t,e,n,a){var r=n._locale.monthsParse(t,a,n._strict);null!=r?e[Ut]=r:m(n).invalidMonth=t}));var ee="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ne="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ae=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,re=At,oe=At;function ie(t,e){return t?o(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||ae).test(e)?"format":"standalone"][t.month()]:o(this._months)?this._months:this._months.standalone}function le(t,e){return t?o(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[ae.test(e)?"format":"standalone"][t.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function se(t,e,n){var a,r,o,i=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],a=0;a<12;++a)o=h([2e3,a]),this._shortMonthsParse[a]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[a]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(r=Ht.call(this._shortMonthsParse,i))?r:null:-1!==(r=Ht.call(this._longMonthsParse,i))?r:null:"MMM"===e?-1!==(r=Ht.call(this._shortMonthsParse,i))||-1!==(r=Ht.call(this._longMonthsParse,i))?r:null:-1!==(r=Ht.call(this._longMonthsParse,i))||-1!==(r=Ht.call(this._shortMonthsParse,i))?r:null}function ce(t,e,n){var a,r,o;if(this._monthsParseExact)return se.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),a=0;a<12;a++){if(r=h([2e3,a]),n&&!this._longMonthsParse[a]&&(this._longMonthsParse[a]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[a]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[a]||(o="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[a]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[a].test(t))return a;if(n&&"MMM"===e&&this._shortMonthsParse[a].test(t))return a;if(!n&&this._monthsParse[a].test(t))return a}}function ue(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=dt(e);else if(!u(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),te(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function de(t){return null!=t?(ue(this,t),a.updateOffset(this,!0),this):ft(this,"Month")}function pe(){return te(this.year(),this.month())}function fe(t){return this._monthsParseExact?(l(this,"_monthsRegex")||ge.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=re),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function he(t){return this._monthsParseExact?(l(this,"_monthsRegex")||ge.call(this),t?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=oe),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function ge(){function t(t,e){return e.length-t.length}var e,n,a=[],r=[],o=[];for(e=0;e<12;e++)n=h([2e3,e]),a.push(this.monthsShort(n,"")),r.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(a.sort(t),r.sort(t),o.sort(t),e=0;e<12;e++)a[e]=jt(a[e]),r[e]=jt(r[e]);for(e=0;e<24;e++)o[e]=jt(o[e]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+a.join("|")+")","i")}function me(t){return ct(t)?366:365}V("Y",0,0,(function(){var t=this.year();return t<=9999?R(t,4):"+"+t})),V(0,["YY",2],0,(function(){return this.year()%100})),V(0,["YYYY",4],0,"year"),V(0,["YYYYY",5],0,"year"),V(0,["YYYYYY",6,!0],0,"year"),at("year","y"),lt("year",1),zt("Y",Dt),zt("YY",kt,yt),zt("YYYY",Ot,wt),zt("YYYYY",Et,_t),zt("YYYYYY",Et,_t),Bt(["YYYYY","YYYYYY"],Wt),Bt("YYYY",(function(t,e){e[Wt]=2===t.length?a.parseTwoDigitYear(t):dt(t)})),Bt("YY",(function(t,e){e[Wt]=a.parseTwoDigitYear(t)})),Bt("Y",(function(t,e){e[Wt]=parseInt(t,10)})),a.parseTwoDigitYear=function(t){return dt(t)+(dt(t)>68?1900:2e3)};var be=pt("FullYear",!0);function ve(){return ct(this.year())}function ye(t,e,n,a,r,o,i){var l;return t<100&&t>=0?(l=new Date(t+400,e,n,a,r,o,i),isFinite(l.getFullYear())&&l.setFullYear(t)):l=new Date(t,e,n,a,r,o,i),l}function xe(t){var e,n;return t<100&&t>=0?((n=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function we(t,e,n){var a=7+e-n;return-(7+xe(t,0,a).getUTCDay()-e)%7+a-1}function _e(t,e,n,a,r){var o,i,l=1+7*(e-1)+(7+n-a)%7+we(t,a,r);return l<=0?i=me(o=t-1)+l:l>me(t)?(o=t+1,i=l-me(t)):(o=t,i=l),{year:o,dayOfYear:i}}function ke(t,e,n){var a,r,o=we(t.year(),e,n),i=Math.floor((t.dayOfYear()-o-1)/7)+1;return i<1?a=i+Se(r=t.year()-1,e,n):i>Se(t.year(),e,n)?(a=i-Se(t.year(),e,n),r=t.year()+1):(r=t.year(),a=i),{week:a,year:r}}function Se(t,e,n){var a=we(t,e,n),r=we(t+1,e,n);return(me(t)-a+r)/7}function Ce(t){return ke(t,this._week.dow,this._week.doy).week}V("w",["ww",2],"wo","week"),V("W",["WW",2],"Wo","isoWeek"),at("week","w"),at("isoWeek","W"),lt("week",5),lt("isoWeek",5),zt("w",kt),zt("ww",kt,yt),zt("W",kt),zt("WW",kt,yt),Vt(["w","ww","W","WW"],(function(t,e,n,a){e[a.substr(0,1)]=dt(t)}));var Me={dow:0,doy:6};function Oe(){return this._week.dow}function Ee(){return this._week.doy}function Te(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function De(t){var e=ke(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function Ie(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}function Pe(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Ne(t,e){return t.slice(e,7).concat(t.slice(0,e))}V("d",0,"do","day"),V("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),V("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),V("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),V("e",0,0,"weekday"),V("E",0,0,"isoWeekday"),at("day","d"),at("weekday","e"),at("isoWeekday","E"),lt("day",11),lt("weekday",11),lt("isoWeekday",11),zt("d",kt),zt("e",kt),zt("E",kt),zt("dd",(function(t,e){return e.weekdaysMinRegex(t)})),zt("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),zt("dddd",(function(t,e){return e.weekdaysRegex(t)})),Vt(["dd","ddd","dddd"],(function(t,e,n,a){var r=n._locale.weekdaysParse(t,a,n._strict);null!=r?e.d=r:m(n).invalidWeekday=t})),Vt(["d","e","E"],(function(t,e,n,a){e[a]=dt(t)}));var Ae="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Re="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Le=At,je=At,Fe=At;function Be(t,e){var n=o(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Ne(n,this._week.dow):t?n[t.day()]:n}function Ve(t){return!0===t?Ne(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function Ye(t){return!0===t?Ne(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function He(t,e,n){var a,r,o,i=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],a=0;a<7;++a)o=h([2e3,1]).day(a),this._minWeekdaysParse[a]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[a]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[a]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(r=Ht.call(this._weekdaysParse,i))?r:null:"ddd"===e?-1!==(r=Ht.call(this._shortWeekdaysParse,i))?r:null:-1!==(r=Ht.call(this._minWeekdaysParse,i))?r:null:"dddd"===e?-1!==(r=Ht.call(this._weekdaysParse,i))||-1!==(r=Ht.call(this._shortWeekdaysParse,i))||-1!==(r=Ht.call(this._minWeekdaysParse,i))?r:null:"ddd"===e?-1!==(r=Ht.call(this._shortWeekdaysParse,i))||-1!==(r=Ht.call(this._weekdaysParse,i))||-1!==(r=Ht.call(this._minWeekdaysParse,i))?r:null:-1!==(r=Ht.call(this._minWeekdaysParse,i))||-1!==(r=Ht.call(this._weekdaysParse,i))||-1!==(r=Ht.call(this._shortWeekdaysParse,i))?r:null}function We(t,e,n){var a,r,o;if(this._weekdaysParseExact)return He.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),a=0;a<7;a++){if(r=h([2e3,1]).day(a),n&&!this._fullWeekdaysParse[a]&&(this._fullWeekdaysParse[a]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[a]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[a]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[a]||(o="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[a]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[a].test(t))return a;if(n&&"ddd"===e&&this._shortWeekdaysParse[a].test(t))return a;if(n&&"dd"===e&&this._minWeekdaysParse[a].test(t))return a;if(!n&&this._weekdaysParse[a].test(t))return a}}function Ue(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Ie(t,this.localeData()),this.add(t-e,"d")):e}function Ge(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Ke(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=Pe(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function qe(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Je.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=Le),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Xe(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Je.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=je),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ze(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Je.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Fe),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Je(){function t(t,e){return e.length-t.length}var e,n,a,r,o,i=[],l=[],s=[],c=[];for(e=0;e<7;e++)n=h([2e3,1]).day(e),a=jt(this.weekdaysMin(n,"")),r=jt(this.weekdaysShort(n,"")),o=jt(this.weekdays(n,"")),i.push(a),l.push(r),s.push(o),c.push(a),c.push(r),c.push(o);i.sort(t),l.sort(t),s.sort(t),c.sort(t),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("^("+i.join("|")+")","i")}function $e(){return this.hours()%12||12}function Qe(){return this.hours()||24}function tn(t,e){V(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function en(t,e){return e._meridiemParse}function nn(t){return"p"===(t+"").toLowerCase().charAt(0)}V("H",["HH",2],0,"hour"),V("h",["hh",2],0,$e),V("k",["kk",2],0,Qe),V("hmm",0,0,(function(){return""+$e.apply(this)+R(this.minutes(),2)})),V("hmmss",0,0,(function(){return""+$e.apply(this)+R(this.minutes(),2)+R(this.seconds(),2)})),V("Hmm",0,0,(function(){return""+this.hours()+R(this.minutes(),2)})),V("Hmmss",0,0,(function(){return""+this.hours()+R(this.minutes(),2)+R(this.seconds(),2)})),tn("a",!0),tn("A",!1),at("hour","h"),lt("hour",13),zt("a",en),zt("A",en),zt("H",kt),zt("h",kt),zt("k",kt),zt("HH",kt,yt),zt("hh",kt,yt),zt("kk",kt,yt),zt("hmm",St),zt("hmmss",Ct),zt("Hmm",St),zt("Hmmss",Ct),Bt(["H","HH"],Kt),Bt(["k","kk"],(function(t,e,n){var a=dt(t);e[Kt]=24===a?0:a})),Bt(["a","A"],(function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t})),Bt(["h","hh"],(function(t,e,n){e[Kt]=dt(t),m(n).bigHour=!0})),Bt("hmm",(function(t,e,n){var a=t.length-2;e[Kt]=dt(t.substr(0,a)),e[qt]=dt(t.substr(a)),m(n).bigHour=!0})),Bt("hmmss",(function(t,e,n){var a=t.length-4,r=t.length-2;e[Kt]=dt(t.substr(0,a)),e[qt]=dt(t.substr(a,2)),e[Xt]=dt(t.substr(r)),m(n).bigHour=!0})),Bt("Hmm",(function(t,e,n){var a=t.length-2;e[Kt]=dt(t.substr(0,a)),e[qt]=dt(t.substr(a))})),Bt("Hmmss",(function(t,e,n){var a=t.length-4,r=t.length-2;e[Kt]=dt(t.substr(0,a)),e[qt]=dt(t.substr(a,2)),e[Xt]=dt(t.substr(r))}));var an=/[ap]\.?m?\.?/i,rn=pt("Hours",!0);function on(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var ln,sn={calendar:A,longDateFormat:G,invalidDate:q,ordinal:Z,dayOfMonthOrdinalParse:J,relativeTime:Q,months:ee,monthsShort:ne,week:Me,weekdays:Ae,weekdaysMin:Re,weekdaysShort:ze,meridiemParse:an},cn={},un={};function dn(t,e){var n,a=Math.min(t.length,e.length);for(n=0;n<a;n+=1)if(t[n]!==e[n])return n;return a}function pn(t){return t?t.toLowerCase().replace("_","-"):t}function fn(t){for(var e,n,a,r,o=0;o<t.length;){for(e=(r=pn(t[o]).split("-")).length,n=(n=pn(t[o+1]))?n.split("-"):null;e>0;){if(a=gn(r.slice(0,e).join("-")))return a;if(n&&n.length>=e&&dn(r,n)>=e-1)break;e--}o++}return ln}function hn(t){return null!=t.match("^[^/\\\\]*$")}function gn(e){var n=null;if(void 0===cn[e]&&t&&t.exports&&hn(e))try{n=ln._abbr,y("./locale/"+e),mn(n)}catch(t){cn[e]=null}return cn[e]}function mn(t,e){var n;return t&&((n=c(e)?yn(t):bn(t,e))?ln=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),ln._abbr}function bn(t,e){if(null!==e){var n,a=sn;if(e.abbr=t,null!=cn[t])T("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."),a=cn[t]._config;else if(null!=e.parentLocale)if(null!=cn[e.parentLocale])a=cn[e.parentLocale]._config;else{if(null==(n=gn(e.parentLocale)))return un[e.parentLocale]||(un[e.parentLocale]=[]),un[e.parentLocale].push({name:t,config:e}),null;a=n._config}return cn[t]=new N(P(a,e)),un[t]&&un[t].forEach((function(t){bn(t.name,t.config)})),mn(t),cn[t]}return delete cn[t],null}function vn(t,e){if(null!=e){var n,a,r=sn;null!=cn[t]&&null!=cn[t].parentLocale?cn[t].set(P(cn[t]._config,e)):(null!=(a=gn(t))&&(r=a._config),e=P(r,e),null==a&&(e.abbr=t),(n=new N(e)).parentLocale=cn[t],cn[t]=n),mn(t)}else null!=cn[t]&&(null!=cn[t].parentLocale?(cn[t]=cn[t].parentLocale,t===mn()&&mn(t)):null!=cn[t]&&delete cn[t]);return cn[t]}function yn(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return ln;if(!o(t)){if(e=gn(t))return e;t=[t]}return fn(t)}function xn(){return O(cn)}function wn(t){var e,n=t._a;return n&&-2===m(t).overflow&&(e=n[Ut]<0||n[Ut]>11?Ut:n[Gt]<1||n[Gt]>te(n[Wt],n[Ut])?Gt:n[Kt]<0||n[Kt]>24||24===n[Kt]&&(0!==n[qt]||0!==n[Xt]||0!==n[Zt])?Kt:n[qt]<0||n[qt]>59?qt:n[Xt]<0||n[Xt]>59?Xt:n[Zt]<0||n[Zt]>999?Zt:-1,m(t)._overflowDayOfYear&&(e<Wt||e>Gt)&&(e=Gt),m(t)._overflowWeeks&&-1===e&&(e=Jt),m(t)._overflowWeekday&&-1===e&&(e=$t),m(t).overflow=e),t}var _n=/^\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)?)?$/,kn=/^\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)?)?$/,Sn=/Z|[+-]\d\d(?::?\d\d)?/,Cn=[["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]],Mn=[["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/]],On=/^\/?Date\((-?\d+)/i,En=/^(?:(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}))$/,Tn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Dn(t){var e,n,a,r,o,i,l=t._i,s=_n.exec(l)||kn.exec(l),c=Cn.length,u=Mn.length;if(s){for(m(t).iso=!0,e=0,n=c;e<n;e++)if(Cn[e][1].exec(s[1])){r=Cn[e][0],a=!1!==Cn[e][2];break}if(null==r)return void(t._isValid=!1);if(s[3]){for(e=0,n=u;e<n;e++)if(Mn[e][1].exec(s[3])){o=(s[2]||" ")+Mn[e][0];break}if(null==o)return void(t._isValid=!1)}if(!a&&null!=o)return void(t._isValid=!1);if(s[4]){if(!Sn.exec(s[4]))return void(t._isValid=!1);i="Z"}t._f=r+(o||"")+(i||""),Yn(t)}else t._isValid=!1}function In(t,e,n,a,r,o){var i=[Pn(t),ne.indexOf(e),parseInt(n,10),parseInt(a,10),parseInt(r,10)];return o&&i.push(parseInt(o,10)),i}function Pn(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function Nn(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function An(t,e,n){return!t||ze.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(m(n).weekdayMismatch=!0,n._isValid=!1,!1)}function zn(t,e,n){if(t)return Tn[t];if(e)return 0;var a=parseInt(n,10),r=a%100;return(a-r)/100*60+r}function Rn(t){var e,n=En.exec(Nn(t._i));if(n){if(e=In(n[4],n[3],n[2],n[5],n[6],n[7]),!An(n[1],e,t))return;t._a=e,t._tzm=zn(n[8],n[9],n[10]),t._d=xe.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),m(t).rfc2822=!0}else t._isValid=!1}function Ln(t){var e=On.exec(t._i);null===e?(Dn(t),!1===t._isValid&&(delete t._isValid,Rn(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:a.createFromInputFallback(t)))):t._d=new Date(+e[1])}function jn(t,e,n){return null!=t?t:null!=e?e:n}function Fn(t){var e=new Date(a.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function Bn(t){var e,n,a,r,o,i=[];if(!t._d){for(a=Fn(t),t._w&&null==t._a[Gt]&&null==t._a[Ut]&&Vn(t),null!=t._dayOfYear&&(o=jn(t._a[Wt],a[Wt]),(t._dayOfYear>me(o)||0===t._dayOfYear)&&(m(t)._overflowDayOfYear=!0),n=xe(o,0,t._dayOfYear),t._a[Ut]=n.getUTCMonth(),t._a[Gt]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=i[e]=a[e];for(;e<7;e++)t._a[e]=i[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[Kt]&&0===t._a[qt]&&0===t._a[Xt]&&0===t._a[Zt]&&(t._nextDay=!0,t._a[Kt]=0),t._d=(t._useUTC?xe:ye).apply(null,i),r=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Kt]=24),t._w&&void 0!==t._w.d&&t._w.d!==r&&(m(t).weekdayMismatch=!0)}}function Vn(t){var e,n,a,r,o,i,l,s,c;null!=(e=t._w).GG||null!=e.W||null!=e.E?(o=1,i=4,n=jn(e.GG,t._a[Wt],ke(Zn(),1,4).year),a=jn(e.W,1),((r=jn(e.E,1))<1||r>7)&&(s=!0)):(o=t._locale._week.dow,i=t._locale._week.doy,c=ke(Zn(),o,i),n=jn(e.gg,t._a[Wt],c.year),a=jn(e.w,c.week),null!=e.d?((r=e.d)<0||r>6)&&(s=!0):null!=e.e?(r=e.e+o,(e.e<0||e.e>6)&&(s=!0)):r=o),a<1||a>Se(n,o,i)?m(t)._overflowWeeks=!0:null!=s?m(t)._overflowWeekday=!0:(l=_e(n,a,r,o,i),t._a[Wt]=l.year,t._dayOfYear=l.dayOfYear)}function Yn(t){if(t._f!==a.ISO_8601)if(t._f!==a.RFC_2822){t._a=[],m(t).empty=!0;var e,n,r,o,i,l,s,c=""+t._i,u=c.length,d=0;for(s=(r=U(t._f,t._locale).match(L)||[]).length,e=0;e<s;e++)o=r[e],(n=(c.match(Rt(o,t))||[])[0])&&((i=c.substr(0,c.indexOf(n))).length>0&&m(t).unusedInput.push(i),c=c.slice(c.indexOf(n)+n.length),d+=n.length),B[o]?(n?m(t).empty=!1:m(t).unusedTokens.push(o),Yt(o,n,t)):t._strict&&!n&&m(t).unusedTokens.push(o);m(t).charsLeftOver=u-d,c.length>0&&m(t).unusedInput.push(c),t._a[Kt]<=12&&!0===m(t).bigHour&&t._a[Kt]>0&&(m(t).bigHour=void 0),m(t).parsedDateParts=t._a.slice(0),m(t).meridiem=t._meridiem,t._a[Kt]=Hn(t._locale,t._a[Kt],t._meridiem),null!==(l=m(t).era)&&(t._a[Wt]=t._locale.erasConvertYear(l,t._a[Wt])),Bn(t),wn(t)}else Rn(t);else Dn(t)}function Hn(t,e,n){var a;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((a=t.isPM(n))&&e<12&&(e+=12),a||12!==e||(e=0),e):e}function Wn(t){var e,n,a,r,o,i,l=!1,s=t._f.length;if(0===s)return m(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<s;r++)o=0,i=!1,e=_({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],Yn(e),b(e)&&(i=!0),o+=m(e).charsLeftOver,o+=10*m(e).unusedTokens.length,m(e).score=o,l?o<a&&(a=o,n=e):(null==a||o<a||i)&&(a=o,n=e,i&&(l=!0));f(t,n||e)}function Un(t){if(!t._d){var e=ot(t._i),n=void 0===e.day?e.date:e.day;t._a=p([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),Bn(t)}}function Gn(t){var e=new k(wn(Kn(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Kn(t){var e=t._i,n=t._f;return t._locale=t._locale||yn(t._l),null===e||void 0===n&&""===e?v({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),S(e)?new k(wn(e)):(d(e)?t._d=e:o(n)?Wn(t):n?Yn(t):qn(t),b(t)||(t._d=null),t))}function qn(t){var e=t._i;c(e)?t._d=new Date(a.now()):d(e)?t._d=new Date(e.valueOf()):"string"==typeof e?Ln(t):o(e)?(t._a=p(e.slice(0),(function(t){return parseInt(t,10)})),Bn(t)):i(e)?Un(t):u(e)?t._d=new Date(e):a.createFromInputFallback(t)}function Xn(t,e,n,a,r){var l={};return!0!==e&&!1!==e||(a=e,e=void 0),!0!==n&&!1!==n||(a=n,n=void 0),(i(t)&&s(t)||o(t)&&0===t.length)&&(t=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=r,l._l=n,l._i=t,l._f=e,l._strict=a,Gn(l)}function Zn(t,e,n,a){return Xn(t,e,n,a,!1)}a.createFromInputFallback=M("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),a.ISO_8601=function(){},a.RFC_2822=function(){};var Jn=M("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Zn.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:v()})),$n=M("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Zn.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:v()}));function Qn(t,e){var n,a;if(1===e.length&&o(e[0])&&(e=e[0]),!e.length)return Zn();for(n=e[0],a=1;a<e.length;++a)e[a].isValid()&&!e[a][t](n)||(n=e[a]);return n}function ta(){return Qn("isBefore",[].slice.call(arguments,0))}function ea(){return Qn("isAfter",[].slice.call(arguments,0))}var na=function(){return Date.now?Date.now():+new Date},aa=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ra(t){var e,n,a=!1,r=aa.length;for(e in t)if(l(t,e)&&(-1===Ht.call(aa,e)||null!=t[e]&&isNaN(t[e])))return!1;for(n=0;n<r;++n)if(t[aa[n]]){if(a)return!1;parseFloat(t[aa[n]])!==dt(t[aa[n]])&&(a=!0)}return!0}function oa(){return this._isValid}function ia(){return Ta(NaN)}function la(t){var e=ot(t),n=e.year||0,a=e.quarter||0,r=e.month||0,o=e.week||e.isoWeek||0,i=e.day||0,l=e.hour||0,s=e.minute||0,c=e.second||0,u=e.millisecond||0;this._isValid=ra(e),this._milliseconds=+u+1e3*c+6e4*s+1e3*l*60*60,this._days=+i+7*o,this._months=+r+3*a+12*n,this._data={},this._locale=yn(),this._bubble()}function sa(t){return t instanceof la}function ca(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function ua(t,e,n){var a,r=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),i=0;for(a=0;a<r;a++)(n&&t[a]!==e[a]||!n&&dt(t[a])!==dt(e[a]))&&i++;return i+o}function da(t,e){V(t,0,0,(function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+R(~~(t/60),2)+e+R(~~t%60,2)}))}da("Z",":"),da("ZZ",""),zt("Z",Pt),zt("ZZ",Pt),Bt(["Z","ZZ"],(function(t,e,n){n._useUTC=!0,n._tzm=fa(Pt,t)}));var pa=/([\+\-]|\d\d)/gi;function fa(t,e){var n,a,r=(e||"").match(t);return null===r?null:0===(a=60*(n=((r[r.length-1]||[])+"").match(pa)||["-",0,0])[1]+dt(n[2]))?0:"+"===n[0]?a:-a}function ha(t,e){var n,r;return e._isUTC?(n=e.clone(),r=(S(t)||d(t)?t.valueOf():Zn(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),a.updateOffset(n,!1),n):Zn(t).local()}function ga(t){return-Math.round(t._d.getTimezoneOffset())}function ma(t,e,n){var r,o=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=fa(Pt,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(r=ga(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==t&&(!e||this._changeInProgress?Aa(this,Ta(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:ga(this)}function ba(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function va(t){return this.utcOffset(0,t)}function ya(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(ga(this),"m")),this}function xa(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=fa(It,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this}function wa(t){return!!this.isValid()&&(t=t?Zn(t).utcOffset():0,(this.utcOffset()-t)%60==0)}function _a(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function ka(){if(!c(this._isDSTShifted))return this._isDSTShifted;var t,e={};return _(e,this),(e=Kn(e))._a?(t=e._isUTC?h(e._a):Zn(e._a),this._isDSTShifted=this.isValid()&&ua(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Sa(){return!!this.isValid()&&!this._isUTC}function Ca(){return!!this.isValid()&&this._isUTC}function Ma(){return!!this.isValid()&&this._isUTC&&0===this._offset}a.updateOffset=function(){};var Oa=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ea=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ta(t,e){var n,a,r,o=t,i=null;return sa(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:u(t)||!isNaN(+t)?(o={},e?o[e]=+t:o.milliseconds=+t):(i=Oa.exec(t))?(n="-"===i[1]?-1:1,o={y:0,d:dt(i[Gt])*n,h:dt(i[Kt])*n,m:dt(i[qt])*n,s:dt(i[Xt])*n,ms:dt(ca(1e3*i[Zt]))*n}):(i=Ea.exec(t))?(n="-"===i[1]?-1:1,o={y:Da(i[2],n),M:Da(i[3],n),w:Da(i[4],n),d:Da(i[5],n),h:Da(i[6],n),m:Da(i[7],n),s:Da(i[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(r=Pa(Zn(o.from),Zn(o.to)),(o={}).ms=r.milliseconds,o.M=r.months),a=new la(o),sa(t)&&l(t,"_locale")&&(a._locale=t._locale),sa(t)&&l(t,"_isValid")&&(a._isValid=t._isValid),a}function Da(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Ia(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Pa(t,e){var n;return t.isValid()&&e.isValid()?(e=ha(e,t),t.isBefore(e)?n=Ia(t,e):((n=Ia(e,t)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Na(t,e){return function(n,a){var r;return null===a||isNaN(+a)||(T(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=a,a=r),Aa(this,Ta(n,a),t),this}}function Aa(t,e,n,r){var o=e._milliseconds,i=ca(e._days),l=ca(e._months);t.isValid()&&(r=null==r||r,l&&ue(t,ft(t,"Month")+l*n),i&&ht(t,"Date",ft(t,"Date")+i*n),o&&t._d.setTime(t._d.valueOf()+o*n),r&&a.updateOffset(t,i||l))}Ta.fn=la.prototype,Ta.invalid=ia;var za=Na(1,"add"),Ra=Na(-1,"subtract");function La(t){return"string"==typeof t||t instanceof String}function ja(t){return S(t)||d(t)||La(t)||u(t)||Ba(t)||Fa(t)||null==t}function Fa(t){var e,n,a=i(t)&&!s(t),r=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],c=o.length;for(e=0;e<c;e+=1)n=o[e],r=r||l(t,n);return a&&r}function Ba(t){var e=o(t),n=!1;return e&&(n=0===t.filter((function(e){return!u(e)&&La(t)})).length),e&&n}function Va(t){var e,n,a=i(t)&&!s(t),r=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<o.length;e+=1)n=o[e],r=r||l(t,n);return a&&r}function Ya(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Ha(t,e){1===arguments.length&&(arguments[0]?ja(arguments[0])?(t=arguments[0],e=void 0):Va(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||Zn(),r=ha(n,this).startOf("day"),o=a.calendarFormat(this,r)||"sameElse",i=e&&(D(e[o])?e[o].call(this,n):e[o]);return this.format(i||this.localeData().calendar(o,this,Zn(n)))}function Wa(){return new k(this)}function Ua(t,e){var n=S(t)?t:Zn(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=rt(e)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())}function Ga(t,e){var n=S(t)?t:Zn(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=rt(e)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())}function Ka(t,e,n,a){var r=S(t)?t:Zn(t),o=S(e)?e:Zn(e);return!!(this.isValid()&&r.isValid()&&o.isValid())&&("("===(a=a||"()")[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===a[1]?this.isBefore(o,n):!this.isAfter(o,n))}function qa(t,e){var n,a=S(t)?t:Zn(t);return!(!this.isValid()||!a.isValid())&&("millisecond"===(e=rt(e)||"millisecond")?this.valueOf()===a.valueOf():(n=a.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))}function Xa(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function Za(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function Ja(t,e,n){var a,r,o;if(!this.isValid())return NaN;if(!(a=ha(t,this)).isValid())return NaN;switch(r=6e4*(a.utcOffset()-this.utcOffset()),e=rt(e)){case"year":o=$a(this,a)/12;break;case"month":o=$a(this,a);break;case"quarter":o=$a(this,a)/3;break;case"second":o=(this-a)/1e3;break;case"minute":o=(this-a)/6e4;break;case"hour":o=(this-a)/36e5;break;case"day":o=(this-a-r)/864e5;break;case"week":o=(this-a-r)/6048e5;break;default:o=this-a}return n?o:ut(o)}function $a(t,e){if(t.date()<e.date())return-$a(e,t);var n=12*(e.year()-t.year())+(e.month()-t.month()),a=t.clone().add(n,"months");return-(n+(e-a<0?(e-a)/(a-t.clone().add(n-1,"months")):(e-a)/(t.clone().add(n+1,"months")-a)))||0}function Qa(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function tr(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?W(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):D(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",W(n,"Z")):W(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function er(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,n,a,r="moment",o="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),t="["+r+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",a=o+'[")]',this.format(t+e+n+a)}function nr(t){t||(t=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var e=W(this,t);return this.localeData().postformat(e)}function ar(t,e){return this.isValid()&&(S(t)&&t.isValid()||Zn(t).isValid())?Ta({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function rr(t){return this.from(Zn(),t)}function or(t,e){return this.isValid()&&(S(t)&&t.isValid()||Zn(t).isValid())?Ta({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function ir(t){return this.to(Zn(),t)}function lr(t){var e;return void 0===t?this._locale._abbr:(null!=(e=yn(t))&&(this._locale=e),this)}a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var sr=M("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function cr(){return this._locale}var ur=1e3,dr=60*ur,pr=60*dr,fr=3506328*pr;function hr(t,e){return(t%e+e)%e}function gr(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-fr:new Date(t,e,n).valueOf()}function mr(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-fr:Date.UTC(t,e,n)}function br(t){var e,n;if(void 0===(t=rt(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?mr:gr,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=hr(e+(this._isUTC?0:this.utcOffset()*dr),pr);break;case"minute":e=this._d.valueOf(),e-=hr(e,dr);break;case"second":e=this._d.valueOf(),e-=hr(e,ur)}return this._d.setTime(e),a.updateOffset(this,!0),this}function vr(t){var e,n;if(void 0===(t=rt(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?mr:gr,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=pr-hr(e+(this._isUTC?0:this.utcOffset()*dr),pr)-1;break;case"minute":e=this._d.valueOf(),e+=dr-hr(e,dr)-1;break;case"second":e=this._d.valueOf(),e+=ur-hr(e,ur)-1}return this._d.setTime(e),a.updateOffset(this,!0),this}function yr(){return this._d.valueOf()-6e4*(this._offset||0)}function xr(){return Math.floor(this.valueOf()/1e3)}function wr(){return new Date(this.valueOf())}function _r(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function kr(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Sr(){return this.isValid()?this.toISOString():null}function Cr(){return b(this)}function Mr(){return f({},m(this))}function Or(){return m(this).overflow}function Er(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Tr(t,e){var n,r,o,i=this._eras||yn("en")._eras;for(n=0,r=i.length;n<r;++n)switch("string"==typeof i[n].since&&(o=a(i[n].since).startOf("day"),i[n].since=o.valueOf()),typeof i[n].until){case"undefined":i[n].until=1/0;break;case"string":o=a(i[n].until).startOf("day").valueOf(),i[n].until=o.valueOf()}return i}function Dr(t,e,n){var a,r,o,i,l,s=this.eras();for(t=t.toUpperCase(),a=0,r=s.length;a<r;++a)if(o=s[a].name.toUpperCase(),i=s[a].abbr.toUpperCase(),l=s[a].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(i===t)return s[a];break;case"NNNN":if(o===t)return s[a];break;case"NNNNN":if(l===t)return s[a]}else if([o,i,l].indexOf(t)>=0)return s[a]}function Ir(t,e){var n=t.since<=t.until?1:-1;return void 0===e?a(t.since).year():a(t.since).year()+(e-t.offset)*n}function Pr(){var t,e,n,a=this.localeData().eras();for(t=0,e=a.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),a[t].since<=n&&n<=a[t].until)return a[t].name;if(a[t].until<=n&&n<=a[t].since)return a[t].name}return""}function Nr(){var t,e,n,a=this.localeData().eras();for(t=0,e=a.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),a[t].since<=n&&n<=a[t].until)return a[t].narrow;if(a[t].until<=n&&n<=a[t].since)return a[t].narrow}return""}function Ar(){var t,e,n,a=this.localeData().eras();for(t=0,e=a.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),a[t].since<=n&&n<=a[t].until)return a[t].abbr;if(a[t].until<=n&&n<=a[t].since)return a[t].abbr}return""}function zr(){var t,e,n,r,o=this.localeData().eras();for(t=0,e=o.length;t<e;++t)if(n=o[t].since<=o[t].until?1:-1,r=this.clone().startOf("day").valueOf(),o[t].since<=r&&r<=o[t].until||o[t].until<=r&&r<=o[t].since)return(this.year()-a(o[t].since).year())*n+o[t].offset;return this.year()}function Rr(t){return l(this,"_erasNameRegex")||Hr.call(this),t?this._erasNameRegex:this._erasRegex}function Lr(t){return l(this,"_erasAbbrRegex")||Hr.call(this),t?this._erasAbbrRegex:this._erasRegex}function jr(t){return l(this,"_erasNarrowRegex")||Hr.call(this),t?this._erasNarrowRegex:this._erasRegex}function Fr(t,e){return e.erasAbbrRegex(t)}function Br(t,e){return e.erasNameRegex(t)}function Vr(t,e){return e.erasNarrowRegex(t)}function Yr(t,e){return e._eraYearOrdinalRegex||Tt}function Hr(){var t,e,n=[],a=[],r=[],o=[],i=this.eras();for(t=0,e=i.length;t<e;++t)a.push(jt(i[t].name)),n.push(jt(i[t].abbr)),r.push(jt(i[t].narrow)),o.push(jt(i[t].name)),o.push(jt(i[t].abbr)),o.push(jt(i[t].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+a.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function Wr(t,e){V(0,[t,t.length],0,e)}function Ur(t){return Jr.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Gr(t){return Jr.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Kr(){return Se(this.year(),1,4)}function qr(){return Se(this.isoWeekYear(),1,4)}function Xr(){var t=this.localeData()._week;return Se(this.year(),t.dow,t.doy)}function Zr(){var t=this.localeData()._week;return Se(this.weekYear(),t.dow,t.doy)}function Jr(t,e,n,a,r){var o;return null==t?ke(this,a,r).year:(e>(o=Se(t,a,r))&&(e=o),$r.call(this,t,e,n,a,r))}function $r(t,e,n,a,r){var o=_e(t,e,n,a,r),i=xe(o.year,0,o.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}function Qr(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}V("N",0,0,"eraAbbr"),V("NN",0,0,"eraAbbr"),V("NNN",0,0,"eraAbbr"),V("NNNN",0,0,"eraName"),V("NNNNN",0,0,"eraNarrow"),V("y",["y",1],"yo","eraYear"),V("y",["yy",2],0,"eraYear"),V("y",["yyy",3],0,"eraYear"),V("y",["yyyy",4],0,"eraYear"),zt("N",Fr),zt("NN",Fr),zt("NNN",Fr),zt("NNNN",Br),zt("NNNNN",Vr),Bt(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,n,a){var r=n._locale.erasParse(t,a,n._strict);r?m(n).era=r:m(n).invalidEra=t})),zt("y",Tt),zt("yy",Tt),zt("yyy",Tt),zt("yyyy",Tt),zt("yo",Yr),Bt(["y","yy","yyy","yyyy"],Wt),Bt(["yo"],(function(t,e,n,a){var r;n._locale._eraYearOrdinalRegex&&(r=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[Wt]=n._locale.eraYearOrdinalParse(t,r):e[Wt]=parseInt(t,10)})),V(0,["gg",2],0,(function(){return this.weekYear()%100})),V(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Wr("gggg","weekYear"),Wr("ggggg","weekYear"),Wr("GGGG","isoWeekYear"),Wr("GGGGG","isoWeekYear"),at("weekYear","gg"),at("isoWeekYear","GG"),lt("weekYear",1),lt("isoWeekYear",1),zt("G",Dt),zt("g",Dt),zt("GG",kt,yt),zt("gg",kt,yt),zt("GGGG",Ot,wt),zt("gggg",Ot,wt),zt("GGGGG",Et,_t),zt("ggggg",Et,_t),Vt(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,n,a){e[a.substr(0,2)]=dt(t)})),Vt(["gg","GG"],(function(t,e,n,r){e[r]=a.parseTwoDigitYear(t)})),V("Q",0,"Qo","quarter"),at("quarter","Q"),lt("quarter",7),zt("Q",vt),Bt("Q",(function(t,e){e[Ut]=3*(dt(t)-1)})),V("D",["DD",2],"Do","date"),at("date","D"),lt("date",9),zt("D",kt),zt("DD",kt,yt),zt("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),Bt(["D","DD"],Gt),Bt("Do",(function(t,e){e[Gt]=dt(t.match(kt)[0])}));var to=pt("Date",!0);function eo(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}V("DDD",["DDDD",3],"DDDo","dayOfYear"),at("dayOfYear","DDD"),lt("dayOfYear",4),zt("DDD",Mt),zt("DDDD",xt),Bt(["DDD","DDDD"],(function(t,e,n){n._dayOfYear=dt(t)})),V("m",["mm",2],0,"minute"),at("minute","m"),lt("minute",14),zt("m",kt),zt("mm",kt,yt),Bt(["m","mm"],qt);var no=pt("Minutes",!1);V("s",["ss",2],0,"second"),at("second","s"),lt("second",15),zt("s",kt),zt("ss",kt,yt),Bt(["s","ss"],Xt);var ao,ro,oo=pt("Seconds",!1);for(V("S",0,0,(function(){return~~(this.millisecond()/100)})),V(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),V(0,["SSS",3],0,"millisecond"),V(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),V(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),V(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),V(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),V(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),V(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),at("millisecond","ms"),lt("millisecond",16),zt("S",Mt,vt),zt("SS",Mt,yt),zt("SSS",Mt,xt),ao="SSSS";ao.length<=9;ao+="S")zt(ao,Tt);function io(t,e){e[Zt]=dt(1e3*("0."+t))}for(ao="S";ao.length<=9;ao+="S")Bt(ao,io);function lo(){return this._isUTC?"UTC":""}function so(){return this._isUTC?"Coordinated Universal Time":""}ro=pt("Milliseconds",!1),V("z",0,0,"zoneAbbr"),V("zz",0,0,"zoneName");var co=k.prototype;function uo(t){return Zn(1e3*t)}function po(){return Zn.apply(null,arguments).parseZone()}function fo(t){return t}co.add=za,co.calendar=Ha,co.clone=Wa,co.diff=Ja,co.endOf=vr,co.format=nr,co.from=ar,co.fromNow=rr,co.to=or,co.toNow=ir,co.get=gt,co.invalidAt=Or,co.isAfter=Ua,co.isBefore=Ga,co.isBetween=Ka,co.isSame=qa,co.isSameOrAfter=Xa,co.isSameOrBefore=Za,co.isValid=Cr,co.lang=sr,co.locale=lr,co.localeData=cr,co.max=$n,co.min=Jn,co.parsingFlags=Mr,co.set=mt,co.startOf=br,co.subtract=Ra,co.toArray=_r,co.toObject=kr,co.toDate=wr,co.toISOString=tr,co.inspect=er,"undefined"!=typeof Symbol&&null!=Symbol.for&&(co[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),co.toJSON=Sr,co.toString=Qa,co.unix=xr,co.valueOf=yr,co.creationData=Er,co.eraName=Pr,co.eraNarrow=Nr,co.eraAbbr=Ar,co.eraYear=zr,co.year=be,co.isLeapYear=ve,co.weekYear=Ur,co.isoWeekYear=Gr,co.quarter=co.quarters=Qr,co.month=de,co.daysInMonth=pe,co.week=co.weeks=Te,co.isoWeek=co.isoWeeks=De,co.weeksInYear=Xr,co.weeksInWeekYear=Zr,co.isoWeeksInYear=Kr,co.isoWeeksInISOWeekYear=qr,co.date=to,co.day=co.days=Ue,co.weekday=Ge,co.isoWeekday=Ke,co.dayOfYear=eo,co.hour=co.hours=rn,co.minute=co.minutes=no,co.second=co.seconds=oo,co.millisecond=co.milliseconds=ro,co.utcOffset=ma,co.utc=va,co.local=ya,co.parseZone=xa,co.hasAlignedHourOffset=wa,co.isDST=_a,co.isLocal=Sa,co.isUtcOffset=Ca,co.isUtc=Ma,co.isUTC=Ma,co.zoneAbbr=lo,co.zoneName=so,co.dates=M("dates accessor is deprecated. Use date instead.",to),co.months=M("months accessor is deprecated. Use month instead",de),co.years=M("years accessor is deprecated. Use year instead",be),co.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",ba),co.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",ka);var ho=N.prototype;function go(t,e,n,a){var r=yn(),o=h().set(a,e);return r[n](o,t)}function mo(t,e,n){if(u(t)&&(e=t,t=void 0),t=t||"",null!=e)return go(t,e,n,"month");var a,r=[];for(a=0;a<12;a++)r[a]=go(t,a,n,"month");return r}function bo(t,e,n,a){"boolean"==typeof t?(u(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,u(e)&&(n=e,e=void 0),e=e||"");var r,o=yn(),i=t?o._week.dow:0,l=[];if(null!=n)return go(e,(n+i)%7,a,"day");for(r=0;r<7;r++)l[r]=go(e,(r+i)%7,a,"day");return l}function vo(t,e){return mo(t,e,"months")}function yo(t,e){return mo(t,e,"monthsShort")}function xo(t,e,n){return bo(t,e,n,"weekdays")}function wo(t,e,n){return bo(t,e,n,"weekdaysShort")}function _o(t,e,n){return bo(t,e,n,"weekdaysMin")}ho.calendar=z,ho.longDateFormat=K,ho.invalidDate=X,ho.ordinal=$,ho.preparse=fo,ho.postformat=fo,ho.relativeTime=tt,ho.pastFuture=et,ho.set=I,ho.eras=Tr,ho.erasParse=Dr,ho.erasConvertYear=Ir,ho.erasAbbrRegex=Lr,ho.erasNameRegex=Rr,ho.erasNarrowRegex=jr,ho.months=ie,ho.monthsShort=le,ho.monthsParse=ce,ho.monthsRegex=he,ho.monthsShortRegex=fe,ho.week=Ce,ho.firstDayOfYear=Ee,ho.firstDayOfWeek=Oe,ho.weekdays=Be,ho.weekdaysMin=Ye,ho.weekdaysShort=Ve,ho.weekdaysParse=We,ho.weekdaysRegex=qe,ho.weekdaysShortRegex=Xe,ho.weekdaysMinRegex=Ze,ho.isPM=nn,ho.meridiem=on,mn("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(t){var e=t%10;return t+(1===dt(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),a.lang=M("moment.lang is deprecated. Use moment.locale instead.",mn),a.langData=M("moment.langData is deprecated. Use moment.localeData instead.",yn);var ko=Math.abs;function So(){var t=this._data;return this._milliseconds=ko(this._milliseconds),this._days=ko(this._days),this._months=ko(this._months),t.milliseconds=ko(t.milliseconds),t.seconds=ko(t.seconds),t.minutes=ko(t.minutes),t.hours=ko(t.hours),t.months=ko(t.months),t.years=ko(t.years),this}function Co(t,e,n,a){var r=Ta(e,n);return t._milliseconds+=a*r._milliseconds,t._days+=a*r._days,t._months+=a*r._months,t._bubble()}function Mo(t,e){return Co(this,t,e,1)}function Oo(t,e){return Co(this,t,e,-1)}function Eo(t){return t<0?Math.floor(t):Math.ceil(t)}function To(){var t,e,n,a,r,o=this._milliseconds,i=this._days,l=this._months,s=this._data;return o>=0&&i>=0&&l>=0||o<=0&&i<=0&&l<=0||(o+=864e5*Eo(Io(l)+i),i=0,l=0),s.milliseconds=o%1e3,t=ut(o/1e3),s.seconds=t%60,e=ut(t/60),s.minutes=e%60,n=ut(e/60),s.hours=n%24,i+=ut(n/24),l+=r=ut(Do(i)),i-=Eo(Io(r)),a=ut(l/12),l%=12,s.days=i,s.months=l,s.years=a,this}function Do(t){return 4800*t/146097}function Io(t){return 146097*t/4800}function Po(t){if(!this.isValid())return NaN;var e,n,a=this._milliseconds;if("month"===(t=rt(t))||"quarter"===t||"year"===t)switch(e=this._days+a/864e5,n=this._months+Do(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(Io(this._months)),t){case"week":return e/7+a/6048e5;case"day":return e+a/864e5;case"hour":return 24*e+a/36e5;case"minute":return 1440*e+a/6e4;case"second":return 86400*e+a/1e3;case"millisecond":return Math.floor(864e5*e)+a;default:throw new Error("Unknown unit "+t)}}function No(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*dt(this._months/12):NaN}function Ao(t){return function(){return this.as(t)}}var zo=Ao("ms"),Ro=Ao("s"),Lo=Ao("m"),jo=Ao("h"),Fo=Ao("d"),Bo=Ao("w"),Vo=Ao("M"),Yo=Ao("Q"),Ho=Ao("y");function Wo(){return Ta(this)}function Uo(t){return t=rt(t),this.isValid()?this[t+"s"]():NaN}function Go(t){return function(){return this.isValid()?this._data[t]:NaN}}var Ko=Go("milliseconds"),qo=Go("seconds"),Xo=Go("minutes"),Zo=Go("hours"),Jo=Go("days"),$o=Go("months"),Qo=Go("years");function ti(){return ut(this.days()/7)}var ei=Math.round,ni={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ai(t,e,n,a,r){return r.relativeTime(e||1,!!n,t,a)}function ri(t,e,n,a){var r=Ta(t).abs(),o=ei(r.as("s")),i=ei(r.as("m")),l=ei(r.as("h")),s=ei(r.as("d")),c=ei(r.as("M")),u=ei(r.as("w")),d=ei(r.as("y")),p=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||i<=1&&["m"]||i<n.m&&["mm",i]||l<=1&&["h"]||l<n.h&&["hh",l]||s<=1&&["d"]||s<n.d&&["dd",s];return null!=n.w&&(p=p||u<=1&&["w"]||u<n.w&&["ww",u]),(p=p||c<=1&&["M"]||c<n.M&&["MM",c]||d<=1&&["y"]||["yy",d])[2]=e,p[3]=+t>0,p[4]=a,ai.apply(null,p)}function oi(t){return void 0===t?ei:"function"==typeof t&&(ei=t,!0)}function ii(t,e){return void 0!==ni[t]&&(void 0===e?ni[t]:(ni[t]=e,"s"===t&&(ni.ss=e-1),!0))}function li(t,e){if(!this.isValid())return this.localeData().invalidDate();var n,a,r=!1,o=ni;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(r=t),"object"==typeof e&&(o=Object.assign({},ni,e),null!=e.s&&null==e.ss&&(o.ss=e.s-1)),a=ri(this,!r,o,n=this.localeData()),r&&(a=n.pastFuture(+this,a)),n.postformat(a)}var si=Math.abs;function ci(t){return(t>0)-(t<0)||+t}function ui(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,a,r,o,i,l,s=si(this._milliseconds)/1e3,c=si(this._days),u=si(this._months),d=this.asSeconds();return d?(t=ut(s/60),e=ut(t/60),s%=60,t%=60,n=ut(u/12),u%=12,a=s?s.toFixed(3).replace(/\.?0+$/,""):"",r=d<0?"-":"",o=ci(this._months)!==ci(d)?"-":"",i=ci(this._days)!==ci(d)?"-":"",l=ci(this._milliseconds)!==ci(d)?"-":"",r+"P"+(n?o+n+"Y":"")+(u?o+u+"M":"")+(c?i+c+"D":"")+(e||t||s?"T":"")+(e?l+e+"H":"")+(t?l+t+"M":"")+(s?l+a+"S":"")):"P0D"}var di=la.prototype;return di.isValid=oa,di.abs=So,di.add=Mo,di.subtract=Oo,di.as=Po,di.asMilliseconds=zo,di.asSeconds=Ro,di.asMinutes=Lo,di.asHours=jo,di.asDays=Fo,di.asWeeks=Bo,di.asMonths=Vo,di.asQuarters=Yo,di.asYears=Ho,di.valueOf=No,di._bubble=To,di.clone=Wo,di.get=Uo,di.milliseconds=Ko,di.seconds=qo,di.minutes=Xo,di.hours=Zo,di.days=Jo,di.weeks=ti,di.months=$o,di.years=Qo,di.humanize=li,di.toISOString=ui,di.toString=ui,di.toJSON=ui,di.locale=lr,di.localeData=cr,di.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ui),di.lang=sr,V("X",0,0,"unix"),V("x",0,0,"valueOf"),zt("x",Dt),zt("X",Nt),Bt("X",(function(t,e,n){n._d=new Date(1e3*parseFloat(t))})),Bt("x",(function(t,e,n){n._d=new Date(dt(t))})),
//! moment.js
a.version="2.29.3",r(Zn),a.fn=co,a.min=ta,a.max=ea,a.now=na,a.utc=h,a.unix=uo,a.months=vo,a.isDate=d,a.locale=mn,a.invalid=v,a.duration=Ta,a.isMoment=S,a.weekdays=xo,a.parseZone=po,a.localeData=yn,a.isDuration=sa,a.monthsShort=yo,a.weekdaysMin=_o,a.defineLocale=bn,a.updateLocale=vn,a.locales=xn,a.weekdaysShort=wo,a.normalizeUnits=rt,a.relativeTimeRounding=oi,a.relativeTimeThreshold=ii,a.calendarFormat=Ya,a.prototype=co,a.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"},a}()})),BS=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.convertToSqlConfig=e.DynamicTimeTypes=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(FS),a=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var e=r();if(e&&e.has(t))return e.get(t);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var i=a?Object.getOwnPropertyDescriptor(t,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=t[o]}n.default=t,e&&e.set(t,n);return n}(jS);function r(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return r=function(){return t},t}var o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),i=function(){return i=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},i.apply(this,arguments)},l=(0,mS.tuple)("current");e.DynamicTimeTypes=l;var s=function(t){function e(e,r){var o=t.call(this,e,r)||this;return o.type=e.type,o._value="object"==typeof e.value?(0,n.default)(e.value.moment,a.DATE_FORMAT):e.value,o}return o(e,t),e.createEmptyJSON=function(t){return i(i({},a.default.createEmptyJSON(t)),{type:"datetime",value:void 0})},e.createEmpty=function(t,n){return"function"==typeof t&&(n=t,t=void 0),new e(e.createEmptyJSON(t),n)},Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return i(i({},t.prototype.toJSON.call(this)),{type:this.type,value:this._value instanceof Object?{moment:this._value.format(a.DATE_FORMAT)}:this._value})},e}(a.default);e.convertToSqlConfig=function(t){if(t.value){var e;if("object"==typeof t.value)e=(0,n.default)(t.value.moment,a.DATE_FORMAT);else if("current"===t.value)e=(0,n.default)();switch(t.filterType){case"date":var r=e.format("YYYY-MM-DD");return{op:"between",value:[r+" 00:00:00",r+" 23:59:59"],options:[]};case"datetime":return{op:"=",value:[e.format("YYYY-MM-DD HH:mm:ss")],options:[]};case"year":return{op:"@only_year",value:[e.format("YYYY")],options:[]};case"month":return{op:"@only_month",value:[e.format("MM")],options:[]};case"day":return{op:"@only_day",value:[e.format("DD")],options:[]};case"time":return{op:"=",value:[e.format("HH:mm:ss")],options:[],dformat:"only_time"}}}};var c=s;e.default=c})),VS=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.convertToSqlConfig=e.DynamicTimeRangeTypes=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(FS),a=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var e=r();if(e&&e.has(t))return e.get(t);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var i=a?Object.getOwnPropertyDescriptor(t,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=t[o]}n.default=t,e&&e.set(t,n);return n}(jS);function r(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return r=function(){return t},t}var o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),i=function(){return i=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},i.apply(this,arguments)},l=(0,mS.tuple)("today","yesterday","this_week","last_week","this_month","last_month","this_quarter","last_quarter","this_year","last_year","nearly_a_week","nearly_a_month","nearly_a_year");e.DynamicTimeRangeTypes=l;var s=function(t){function e(e,r){var o=t.call(this,e,r)||this;o.type=e.type,o._filterType=e.filterType;var i=void 0;return"string"==typeof e.value?i=e.value:Array.isArray(e.value)&&(i=["string"==typeof e.value[0]?(0,n.default)(e.value[0],a.DATE_FORMAT):e.value[0],"string"==typeof e.value[1]?(0,n.default)(e.value[1],a.DATE_FORMAT):e.value[1]]),o._value=i,o}return o(e,t),e.createEmptyJSON=function(t){return i(i({},a.default.createEmptyJSON(t)),{filterType:"date",type:"datetime_range",value:[void 0,void 0]})},e.createEmpty=function(t,n){return"function"==typeof t&&(n=t,t=void 0),new e(e.createEmptyJSON(t),n)},Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return i(i({},t.prototype.toJSON.call(this)),{type:this.type,filterType:this._filterType,value:Array.isArray(this._value)?[this._value[0]&&this._value[0].format(a.DATE_FORMAT),this._value[1]&&this._value[1].format(a.DATE_FORMAT)]:this._value})},e}(a.default);e.convertToSqlConfig=function(t){if(t.value&&(!Array.isArray(t.value)||t.value[0]||t.value[1])){var e=[void 0,void 0];if("object"==typeof t.value)e=["string"==typeof t.value[0]?(0,n.default)(t.value[0],a.DATE_FORMAT):void 0,"string"==typeof t.value[1]?(0,n.default)(t.value[1],a.DATE_FORMAT):void 0];else switch(t.value){case"today":e=[(0,n.default)().startOf("d"),(0,n.default)().endOf("d")];case"yesterday":e=[(0,n.default)().add(-1,"days").startOf("d"),(0,n.default)().add(-1,"days").endOf("d")];case"this_week":e=[(0,n.default)().startOf("isoWeeks").startOf("d"),(0,n.default)().endOf("isoWeeks").endOf("d")];case"last_week":e=[(0,n.default)().add(-7,"day").startOf("isoWeeks").startOf("d"),(0,n.default)().add(-7,"day").endOf("isoWeeks").endOf("d")];case"this_month":e=[(0,n.default)().startOf("month").startOf("d"),(0,n.default)().endOf("month").endOf("d")];case"last_month":e=[(0,n.default)().add(-1,"month").startOf("month").startOf("d"),(0,n.default)().add(-1,"month").endOf("month").endOf("d")];case"this_quarter":e=[(0,n.default)().startOf("quarter").startOf("d"),(0,n.default)().endOf("quarter").endOf("d")];case"last_quarter":e=[(0,n.default)().add(-1,"quarter").startOf("quarter").startOf("d"),(0,n.default)().add(-1,"quarter").endOf("quarter").endOf("d")];case"this_year":e=[(0,n.default)().startOf("year").startOf("d"),(0,n.default)().endOf("year").endOf("d")];case"last_year":e=[(0,n.default)().add(-1,"year").startOf("year").startOf("d"),(0,n.default)().add(-1,"year").endOf("year").endOf("d")];case"nearly_a_week":e=[(0,n.default)().add(1,"day").add(-1,"week"),(0,n.default)()];case"nearly_a_month":e=[(0,n.default)().add(1,"day").add(-1,"month"),(0,n.default)()];case"nearly_a_year":e=[(0,n.default)().add(1,"day").add(-1,"year"),(0,n.default)()]}switch(t.filterType){case"date":return{op:"between",value:[e[0]?e[0].format("YYYY-MM-DD")+" 00:00:00":void 0,e[1]?e[1].format("YYYY-MM-DD")+" 23:59:59":void 0],options:[]};case"datetime":return{op:"between",value:[e[0]?e[0].format("YYYY-MM-DD HH:mm:ss"):void 0,e[1]?e[1].format("YYYY-MM-DD HH:mm:ss"):void 0],options:[]}}}};var c=s;e.default=c})),YS=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"TimeFilterTypes",{enumerable:!0,get:function(){return jS.TimeFilterTypes}}),Object.defineProperty(e,"FilterTypes",{enumerable:!0,get:function(){return jS.FilterTypes}}),Object.defineProperty(e,"DatetimeFilter",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"DatetimeRangeFilter",{enumerable:!0,get:function(){return a.default}}),e.convertToSqlConfig=e.TimeFilterFactory=void 0;var n=o(BS),a=o(VS);function r(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return r=function(){return t},t}function o(t){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var e=r();if(e&&e.has(t))return e.get(t);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var i=a?Object.getOwnPropertyDescriptor(t,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=t[o]}return n.default=t,e&&e.set(t,n),n}var i={create:function(t,e){switch(t.type){case"datetime":return new n.default(t,e);case"datetime_range":return new a.default(t,e)}},createEmpty:function(t,e,r){return"datetime_range"===t?a.default.createEmpty(e,r):n.default.createEmpty(e,r)}};e.TimeFilterFactory=i;e.convertToSqlConfig=function(t){switch(t.type){case"datetime":return(0,n.convertToSqlConfig)(t);case"datetime_range":return(0,a.convertToSqlConfig)(t)}}})),HS=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"convertToSqlConfig",{enumerable:!0,get:function(){return YS.convertToSqlConfig}}),e.default=e.FilterTypes=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(MS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=(0,mS.tuple)("datetime","datetime_range");e.FilterTypes=o;var i=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._type=e.type,a._filter=YS.TimeFilterFactory.create(e.filter,(function(){return a._publish()})),a}return a(e,t),e.createEmptyJSON=function(t){return r(r({},n.default.createEmptyJSON(t)),{type:t.type,filter:YS.DatetimeFilter.createEmptyJSON(t.subtype)})},e.createEmpty=function(t,n){return new e(e.createEmptyJSON(t),n)},Object.defineProperty(e.prototype,"filter",{get:function(){return this._filter},set:function(t){var e=this;t.setOnChange((function(){return e._publish()})),this._filter=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:this._type,filter:this._filter.toJSON()})},e}(n.default),l=i;e.default=l})),WS=function(t){var e=t.table,n=t.column,a=t.associates;if(!a)return e+"."+n;var r="",o=function(t,e){for(var n=0,a=e.length,r=t.length;n<a;n++,r++)t[r]=e[n];return t}([],a),i=o.shift();i&&(r=i.key);for(;o.length>0;){var l=o.shift();if(l){var s=l.key,c=l.associate;r+="."+c.origin+">"+s+"("+c.target+")"}}return r+="."+n};var US=Object.defineProperty({default:WS},"__esModule",{value:!0}),GS=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.convertToSqlConfig=e.FilterFieldFactory=void 0;var n=l(PS),a=l(LS),r=l(HS),o=function(t){return t&&t.__esModule?t:{default:t}}(US);function i(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return i=function(){return t},t}function l(t){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var e=i();if(e&&e.has(t))return e.get(t);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var o=a?Object.getOwnPropertyDescriptor(t,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=t[r]}return n.default=t,e&&e.set(t,n),n}var s={create:function(t,e){switch(t.type){case"string":return new n.default(t,e);case"int":case"float":case"double":return new a.default(t,e);case"time":return new r.default(t,e)}},createEmpty:function(t,e){switch(t.type){case"string":return n.default.createEmpty(t,e);case"int":case"float":case"double":return a.default.createEmpty(t,e);case"time":return r.default.createEmpty(t,e)}}};e.FilterFieldFactory=s;e.convertToSqlConfig=function(t){var e;switch(t.type){case"string":e=(0,n.convertToSqlConfig)(t.filter);break;case"int":case"float":case"double":e=(0,a.convertToSqlConfig)(t.filter);break;case"time":e=(0,r.convertToSqlConfig)(t.filter)}if(e)return{key:(0,o.default)(t.source),type:t.type,filter:[e]}}})),KS=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(GS).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===GS[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return GS[t]}}))}))})),qS=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n={};e.default=void 0;var a=function(t){return t&&t.__esModule?t:{default:t}}(CS);Object.keys(KS).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||t in e&&e[t]===KS[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return KS[t]}}))}));var r=a.default;e.default=r})),XS=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.convertRule=e.CustomColumnCls=void 0;var n=r(hS),a=r(SS);function r(t){return t&&t.__esModule?t:{default:t}}var o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),i=function(t){function e(e,n){var a=t.call(this,n)||this;return a.origin=e.origin,a.key=e.key,a._name=e.name,a._type=e.type,a._rule=e.rule,a._value=e.value,a}return o(e,t),e.createEmpty=function(t,a,r,o,i,l){return new e({origin:t,key:(0,n.default)(5),name:a,type:r,rule:o,value:i},l)},Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this._type},set:function(t){this._type=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rule",{get:function(){return this._rule},set:function(t){this._rule=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return{origin:this.origin,key:this.key,name:this._name,type:this._type,rule:this._rule,value:this._value}},e}(a.default);e.CustomColumnCls=i;e.convertRule=function(t){var e=[];return null==t||t.forEach((function(t){e.push({key:t.key,name:t.name,table:t.origin,type:t.type,rule:t.rule,value:t.value})})),e};var l=i;e.default=l})),ZS=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ConfigTypes=e.DataTypes=void 0;var n=o(hS),a=o(SS),r=o(XS);function o(t){return t&&t.__esModule?t:{default:t}}var i=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),l=function(){return l=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},l.apply(this,arguments)},s=function(t,e){for(var n=0,a=e.length,r=t.length;n<a;n++,r++)t[r]=e[n];return t},c=(0,mS.tuple)("dataConfig","api","json");e.DataTypes=c;var u=(0,mS.tuple)("unknown","progress","dimension","indicator","radar");e.ConfigTypes=u;var d=function(t){function e(e,a){var o=t.call(this,a)||this;return o.key=e.key||(0,n.default)(5),o.type=e.type,o.configType=e.configType,o._filters=e.filters.map((function(t){return qS.FilterFieldFactory.create(t,(function(){return o._publish()}))})),o._customColumns=e.customColumns.map((function(t){return new r.default(t,(function(){return o._publish()}))})),o._source=e.source||{table:""},o}return i(e,t),e.createEmptyJSON=function(t){return{key:(0,n.default)(5),type:"dataConfig",configType:"unknown",source:{table:t},filters:[],customColumns:[]}},Object.defineProperty(e.prototype,"filters",{get:function(){return s([],this._filters)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"customColumns",{get:function(){return s([],this._customColumns)},enumerable:!1,configurable:!0}),e.prototype.setSourceTable=function(t){t!==this._source.table&&(this._filters=[],this._customColumns=[],this._source.table=t,this._publish())},Object.defineProperty(e.prototype,"source",{get:function(){return l({},this._source)},enumerable:!1,configurable:!0}),e.prototype.addFilterField=function(t){var e=this;this._filters.find((function(e){return e.id===t.id}))?console.error("添加失败: 重复的字段"):(t.setOnChange((function(){return e._publish()})),this._filters.push(t),this._publish())},e.prototype.setFilterField=function(t,e){var n=this;e.setOnChange((function(){return n._publish()})),this._filters.splice(t,1,e),this._publish()},e.prototype.removeFilterField=function(t){var e=this._filters.findIndex((function(e){return e.id===t.id}));e>=0&&this._filters.splice(e,1),this._publish()},e.prototype.addCustomColumn=function(t){var e=this;this._customColumns.find((function(e){return e.key===t.key}))?console.error("添加失败: 重复的字段id"):(t.setOnChange((function(){return e._publish()})),this._customColumns.push(t),this._publish())},e.prototype.customColumnIsUsed=function(t){var e=this._customColumns.find((function(e){return e.key===t}));return e?!!this._filters.find((function(t){return t.source.column===e.key})):(console.error("不存在的字段"),!1)},e.prototype.removeCustomColumn=function(t){var e=this._customColumns.find((function(e){return e.key===t}));if(!e)return console.error("不存在的字段"),!1;this._filters=this._filters.filter((function(t){return t.source.column!==e.key})),delete this._customColumns[t],this._publish()},e.prototype.isValid=function(){return!1},e.prototype.addEventListener=function(t,e){this.eventListener.addEventListener(t,e)},e.prototype.removeEventListener=function(t,e){this.eventListener.removeEventListener(t,e)},e.prototype.toJSON=function(){return{key:this.key,type:this.type,configType:this.configType,source:this._source,customColumns:this._customColumns.map((function(t){return t.toJSON()})),filters:this.filters.map((function(t){return t.toJSON()}))}},e}(a.default),p=d;e.default=p})),JS=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(CS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._expr=e.expr,a._nullVal=e.nullVal,a}return a(e,t),e.createEmptyJSON=function(t){return r(r({},n.default.createEmptyJSON(t)),{expr:"none",nullVal:"none"})},Object.defineProperty(e.prototype,"expr",{get:function(){return this._expr},set:function(t){this._expr=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nullVal",{get:function(){return this._nullVal},set:function(t){this._nullVal=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{expr:this._expr,nullVal:this._nullVal})},e}(n.default);e.default=o})),$S=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(JS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._type=e.type,a._expr=e.expr,a}return a(e,t),e.createEmptyJSON=function(t){return r(r({},n.default.createEmptyJSON(t)),{type:t.type,expr:"none"})},e.createEmpty=function(t,n){return new e(e.createEmptyJSON(t),n)},Object.defineProperty(e.prototype,"expr",{get:function(){return this._expr},set:function(t){this._expr=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:this._type,expr:this._expr})},e}(n.default);e.default=o})),QS=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DataFormatTypes=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(SS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=(0,mS.tuple)("none","value","time","percent");e.DataFormatTypes=r;var o=function(t){function e(e,n){var a=t.call(this,n)||this;return a._type=e.type,a}return a(e,t),e.crateEmptyJSON=function(){return{type:"none"}},Object.defineProperty(e.prototype,"type",{get:function(){return this._type},set:function(t){this._type=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return{type:this._type}},e}(n.default),i=o;e.default=i})),tC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(QS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._type=e.type,a}return a(e,t),e.createEmptyJSON=function(){return{type:"none"}},e.createEmpty=function(t){return new e(e.createEmptyJSON(),t)},e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:this._type})},e}(n.default);e.default=o})),eC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(QS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._type="percent",a._precision=e.precision,a._showSign=e.showSign,a}return a(e,t),e.createEmptyJSON=function(){return{type:"percent",precision:2,showSign:!1}},e.createEmpty=function(t){return new e(e.createEmptyJSON(),t)},Object.defineProperty(e.prototype,"precision",{get:function(){return this._precision},set:function(t){this._precision=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"showSign",{get:function(){return this._showSign},set:function(t){this._showSign=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:this._type,precision:this._precision,showSign:this._showSign})},e}(n.default);e.default=o})),nC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.TimeTypes=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(QS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=(0,mS.tuple)("year","month","day","hour","minute","second","millisecond");e.TimeTypes=o;var i=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._type="time",a._precision=e.precision,a._source=e.source,a._target=e.target,a._showThousandsSeparator=e.showThousandsSeparator,a}return a(e,t),e.createEmptyJSON=function(){return{type:"time",precision:0,source:"second",target:"hour",showThousandsSeparator:!1}},e.createEmpty=function(t){return new e(e.createEmptyJSON(),t)},Object.defineProperty(e.prototype,"precision",{get:function(){return this._precision},set:function(t){this._precision=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"source",{get:function(){return this._source},set:function(t){this._source=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"target",{get:function(){return this._target},set:function(t){this._target=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"showThousandsSeparator",{get:function(){return this._showThousandsSeparator},set:function(t){this._showThousandsSeparator=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:this._type,precision:this._precision,source:this._source,target:this._target,showThousandsSeparator:this._showThousandsSeparator})},e}(n.default);e.default=i})),aC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.NumTypes=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(QS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=(0,mS.tuple)("none","k-cn","10k-cn","100k-cn","m-cn","10m-cn","100m-cn","k-en","m-en","b-en");e.NumTypes=o;var i=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._type="value",a._precision=e.precision,a._unit=e.unit,a._showThousandsSeparator=e.showThousandsSeparator,a}return a(e,t),e.createEmptyJSON=function(){return{type:"value",precision:0,unit:"none",showThousandsSeparator:!1}},e.createEmpty=function(t){return new e(e.createEmptyJSON(),t)},Object.defineProperty(e.prototype,"precision",{get:function(){return this._precision},set:function(t){this._precision=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"unit",{get:function(){return this._unit},set:function(t){this._unit=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"showThousandsSeparator",{get:function(){return this._showThousandsSeparator},set:function(t){this._showThousandsSeparator=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:this._type,precision:this._precision,unit:this._unit,showThousandsSeparator:this._showThousandsSeparator})},e}(n.default);e.default=i})),rC=function(t,e){var n=t.toString();switch(e.type){case"value":var a=Math.pow(10,e.precision);t*=a,t/=function(t){switch(t){case"b-en":return Math.pow(10,9);case"100m-cn":return Math.pow(10,8);case"10m-cn":return Math.pow(10,7);case"m-cn":case"m-en":return Math.pow(10,6);case"100k-cn":return Math.pow(10,5);case"10k-cn":return Math.pow(10,4);case"k-cn":case"k-en":return Math.pow(10,3);case"none":return 1}}(e.unit),t=Math.round(t)/a,n=String(t),e.precision>0&&(n=oC(t,e.precision)),e.showThousandsSeparator&&(n=iC(n));break;case"time":var r=Math.pow(10,e.precision);t=(t*=r)*lC(e.source)/lC(e.target),t=Math.round(t)/r,n=String(t),e.precision>0&&(n=oC(t,e.precision)),e.showThousandsSeparator&&(n=iC(n));break;case"percent":var o=Math.pow(10,e.precision);t=Math.round(100*t*o)/o,n=String(t),e.precision>0&&(n=oC(t,e.precision)),e.showSign&&(n+="%")}return{text:n,number:t}},oC=function(t,e){e=Number(e);var n,a=""+t,r=a.indexOf(".");for(r<0?(a+=".",n=0):n=a.length-r-1;n<e;)a+="0",n++;return a},iC=function(t){if(!t)return"";var e=t.indexOf(".");if(e>0){var n=t.slice(0,e),a=t.slice(e);return n=n.split("").reverse().reduce((function(t,e,n){return(n%3?e:e+",")+t})),""+n+a}return t.split("").reverse().reduce((function(t,e,n){return(n%3?e:e+",")+t}))},lC=function(t){switch(t){case"year":return 954e6;case"month":return 108e6;case"day":return 864e5;case"hour":return 36e5;case"minute":return 6e4;case"second":return 1e3;case"millisecond":return 1}};var sC=Object.defineProperty({formatData:rC},"__esModule",{value:!0}),cC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"DataFormatTypes",{enumerable:!0,get:function(){return QS.DataFormatTypes}}),Object.defineProperty(e,"formatData",{enumerable:!0,get:function(){return sC.formatData}}),e.DataFormatFactory=void 0;var n=i(tC),a=i(eC),r=i(nC),o=i(aC);function i(t){return t&&t.__esModule?t:{default:t}}var l={create:function(t){switch(t.type){case"percent":return new a.default(t);case"time":return new r.default(t);case"value":return new o.default(t);case"none":return new n.default(t)}},createEmpty:function(t){switch(t){case"percent":return a.default.createEmpty();case"time":return r.default.createEmpty();case"value":return o.default.createEmpty();case"none":return n.default.createEmpty()}}};e.DataFormatFactory=l})),uC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(cC).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===cC[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return cC[t]}}))}))})),dC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(JS),a=r(tC);function r(t){return t&&t.__esModule?t:{default:t}}var o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),i=function(){return i=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},i.apply(this,arguments)},l=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._type=e.type,a._dataFormat=uC.DataFormatFactory.create(e.dataFormat),a}return o(e,t),e.createEmptyJSON=function(t){return i(i({},n.default.createEmptyJSON(t)),{type:t.type,dataFormat:a.default.createEmptyJSON()})},e.createEmpty=function(t,n){return new e(e.createEmptyJSON(t),n)},Object.defineProperty(e.prototype,"dataFormat",{get:function(){return this._dataFormat},set:function(t){this._dataFormat=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return i(i({},t.prototype.toJSON.call(this)),{type:this._type,expr:this._expr,dataFormat:this._dataFormat.toJSON()})},e}(n.default);e.default=l})),pC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(JS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._type=e.type,a._expr=e.expr,a._dateFormat=e.dateFormat,a._timeFormat=e.timeFormat,a}return a(e,t),e.createEmptyJSON=function(t){return r(r({},n.default.createEmptyJSON(t)),{type:t.type,expr:"none",dateFormat:"default",timeFormat:"default"})},e.createEmpty=function(t,n){return new e(e.createEmptyJSON(t),n)},Object.defineProperty(e.prototype,"expr",{get:function(){return this._expr},set:function(t){this._expr=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dateFormat",{get:function(){return this._dateFormat},set:function(t){this._dateFormat=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"timeFormat",{get:function(){return this._timeFormat},set:function(t){this._timeFormat=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:this._type,expr:this._expr,dateFormat:this._dateFormat,timeFormat:this._timeFormat})},e}(n.default);e.default=o})),fC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.ProgressFieldFactory=void 0;var n=o($S),a=o(dC),r=o(pC);function o(t){return t&&t.__esModule?t:{default:t}}var i={create:function(t,e){switch(t.type){case"string":return new n.default(t,e);case"int":case"float":case"double":return new a.default(t,e);case"time":return new r.default(t,e)}},createEmpty:function(t,e){switch(t.type){case"string":return n.default.createEmpty(t,e);case"int":case"float":case"double":return a.default.createEmpty(t,e);case"time":return r.default.createEmpty(t,e)}}};e.ProgressFieldFactory=i})),hC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(fC).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===fC[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return fC[t]}}))}))})),gC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.convertToSqlConfig=u,e.default=void 0;var n=r(ZS),a=r(US);function r(t){return t&&t.__esModule?t:{default:t}}var o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),i=function(){return i=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},i.apply(this,arguments)},l=function(t,e){for(var n=0,a=e.length,r=t.length;n<a;n++,r++)t[r]=e[n];return t},s=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a.configType=e.configType,a._progresses=e.progresses.map((function(t){return{origin:hC.ProgressFieldFactory.create(t.origin,(function(){return a._publish()})),target:t.target&&("number"==typeof t.target?t.target:hC.ProgressFieldFactory.create(t.target,(function(){return a._publish()})))}})),a}return o(e,t),e.createEmptyJSON=function(){return i(i({},n.default.createEmptyJSON()),{configType:"progress",progresses:[]})},e.createEmpty=function(t){return new e(e.createEmptyJSON(),t)},Object.defineProperty(e.prototype,"progresses",{get:function(){return l([],this._progresses.map((function(t){return i({},t)})))},enumerable:!1,configurable:!0}),e.prototype.setSourceTable=function(e){e!==this.source.table&&(this._progresses=[],t.prototype.setSourceTable.call(this,e))},e.prototype.customColumnIsUsed=function(e){if(t.prototype.customColumnIsUsed.call(this,e))return!0;var n=this.customColumns.find((function(t){return t.key===e}));return n?!!this._progresses.find((function(t){var e=t.origin,a=t.target;return e.source.column===n.key||null!==a&&"object"==typeof a&&a.source.column===n.key})):(console.error("不存在的字段"),!1)},e.prototype.removeCustomColumn=function(e){var n=this.customColumns.find((function(t){return t.key===e}));if(!n)return console.error("不存在的字段"),!1;var a=this._progresses.filter((function(t){return t.origin.source.column===n.key})).map((function(t){var e=t.origin,a=t.target;return{origin:e,target:"object"!=typeof a||(null==a?void 0:a.source.column)!==n.key?a:void 0}}));this._progresses=a,t.prototype.removeCustomColumn.call(this,e)},e.prototype.changeFieldId=function(t,e){var n=t.id;t.id=e,this.eventListener.publish("onFieldIdChange",{target:t},n)},e.prototype.addProgress=function(t){var e=this;t.origin.setOnChange((function(){return e._publish()})),null!==t.target&&"object"==typeof t.target&&t.target.setOnChange((function(){return e._publish()})),this._progresses.push(t),this.eventListener.publish("onAddProgress",{target:t}),this._publish()},e.prototype.setProgress=function(t,e){var n=this;t.origin.setOnChange((function(){return n._publish()})),null!==t.target&&"object"==typeof t.target&&t.target.setOnChange((function(){return n._publish()})),this._progresses[e]=t,this._publish()},e.prototype.removeProgress=function(t){var e=this._progresses.splice(t,1)[0];this.eventListener.publish("onRemoveProgress",{target:e}),this._publish()},e.prototype.moveProgress=function(t,e){if(t!==e){var n=this._progresses[t];this._progresses=t<e?l(l(l(l([],this._progresses.slice(0,t)),this._progresses.slice(t+1,e+1)),[n]),this._progresses.slice(e+1)):l(l(l(l([],this._progresses.slice(0,e)),[n]),this._progresses.slice(e,t)),this._progresses.slice(t+1)),this._publish()}},e.prototype.isValid=function(){return c(this.toJSON())},e.prototype.convertToSqlConfig=function(){return u(this.toJSON())},e.prototype.addEventListener=function(t,e){this.eventListener.addEventListener(t,e)},e.prototype.removeEventListener=function(t,e){this.eventListener.removeEventListener(t,e)},e.prototype.toJSON=function(){return i(i({},t.prototype.toJSON.call(this)),{configType:this.configType,progresses:this._progresses.map((function(t){var e=t.origin,n=t.target;return{origin:e.toJSON(),target:null!==n&&"object"==typeof n?n.toJSON():n}}))})},e}(n.default);function c(t){return!!t.progresses.find((function(t){return void 0!==t.target}))}function u(t){if(!c(t))return!1;var e={criteria:t.filters.map((function(t){return(0,KS.convertToSqlConfig)(t)})).filter((function(t){return t})),rule:(0,XS.convertRule)(t.customColumns),group:[],value:[],drillDown:[]};return t.progresses.forEach((function(t){var n=t.origin,r=t.target;void 0!==r&&(e.value.push({customId:n.id,alias:n.alias,key:(0,a.default)(n.source),type:n.type,expr:n.expr}),null!==r&&"object"==typeof r&&e.value.push({customId:r.id,alias:r.alias,key:(0,a.default)(r.source),type:r.type,expr:r.expr}))})),e}var d=s;e.default=d})),mC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(CS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._expr=e.expr,a._nullVal=e.nullVal,a._orderBy=e.orderBy,a}return a(e,t),e.createEmptyJSON=function(t){return r(r({},n.default.createEmptyJSON(t)),{expr:"none",nullVal:"none",orderBy:"none"})},Object.defineProperty(e.prototype,"expr",{get:function(){return this._expr},set:function(t){this._expr=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nullVal",{get:function(){return this._nullVal},set:function(t){this._nullVal=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"orderBy",{get:function(){return this._orderBy},set:function(t){this._orderBy=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{expr:this._expr,nullVal:this._nullVal,orderBy:this._orderBy})},e}(n.default);e.default=o})),bC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(mC);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._type=e.type,a._expr=e.expr,a}return a(e,t),e.createEmptyJSON=function(t){return r(r({},n.default.createEmptyJSON(t)),{type:t.type,expr:"none"})},e.createEmpty=function(t,n){return new e(e.createEmptyJSON(t),n)},Object.defineProperty(e.prototype,"expr",{get:function(){return this._expr},set:function(t){this._expr=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:this._type,expr:this._expr})},e}(n.default);e.default=o})),vC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(mC),a=r(tC);function r(t){return t&&t.__esModule?t:{default:t}}var o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),i=function(){return i=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},i.apply(this,arguments)},l=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._type=e.type,a._dataFormat=uC.DataFormatFactory.create(e.dataFormat),a}return o(e,t),e.createEmptyJSON=function(t){return i(i({},n.default.createEmptyJSON(t)),{type:t.type,dataFormat:a.default.createEmptyJSON()})},e.createEmpty=function(t,n){return new e(e.createEmptyJSON(t),n)},Object.defineProperty(e.prototype,"dataFormat",{get:function(){return this._dataFormat},set:function(t){this._dataFormat=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return i(i({},t.prototype.toJSON.call(this)),{type:this._type,expr:this._expr,dataFormat:this._dataFormat.toJSON()})},e}(n.default);e.default=l})),yC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(mC);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._type=e.type,a._expr=e.expr,a._dateFormat=e.dateFormat,a._timeFormat=e.timeFormat,a}return a(e,t),e.createEmptyJSON=function(t){return r(r({},n.default.createEmptyJSON(t)),{type:t.type,expr:"none",dateFormat:"default",timeFormat:"default"})},e.createEmpty=function(t,n){return new e(e.createEmptyJSON(t),n)},Object.defineProperty(e.prototype,"expr",{get:function(){return this._expr},set:function(t){this._expr=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dateFormat",{get:function(){return this._dateFormat},set:function(t){this._dateFormat=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"timeFormat",{get:function(){return this._timeFormat},set:function(t){this._timeFormat=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:this._type,expr:this._expr,dateFormat:this._dateFormat,timeFormat:this._timeFormat})},e}(n.default);e.default=o})),xC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.DimensionFieldFactory=void 0;var n=o(bC),a=o(vC),r=o(yC);function o(t){return t&&t.__esModule?t:{default:t}}var i={create:function(t,e){switch(t.type){case"string":return new n.default(t,e);case"int":case"float":case"double":return new a.default(t,e);case"time":return new r.default(t,e)}},createEmpty:function(t,e){switch(t.type){case"string":return n.default.createEmpty(t,e);case"int":case"float":case"double":return a.default.createEmpty(t,e);case"time":return r.default.createEmpty(t,e)}}};e.DimensionFieldFactory=i})),wC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(xC).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===xC[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return xC[t]}}))}))})),_C=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.convertDformat=function(t,e){var n=[];t&&"default"!==t?"none"!==t&&n.push(t):n.push("%Y-%m-%d");e&&"default"!==e?"none"!==e&&n.push(e):n.push("%H:%i:%s");return n.join(" ")},e.TimeFormatTypes=e.DateFormatTypes=void 0;var n=(0,mS.tuple)("default","none","%Y年%m月%d日","%Y-%m-%d","%y/%m/%d","%Y年%m月","%Y-%m","%y/%m","%Y年","%Y","%m月","%m","%d日","%d");e.DateFormatTypes=n;var a=(0,mS.tuple)("default","none","%H:%i:%s","%H:%i","%H时%i分%s秒","%H时%i","%H时","%r:%i:%s %p","%r:%i %p");e.TimeFormatTypes=a})),kC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.convertToSqlConfig=u,e.default=void 0;var n=r(ZS),a=r(US);function r(t){return t&&t.__esModule?t:{default:t}}var o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),i=function(){return i=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},i.apply(this,arguments)},l=function(t,e){for(var n=0,a=e.length,r=t.length;n<a;n++,r++)t[r]=e[n];return t},s=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a.configType=e.configType,a._group=e.group.map((function(t){return wC.DimensionFieldFactory.create(t,(function(){return a._publish()}))})),a._value=e.value.map((function(t){return wC.DimensionFieldFactory.create(t,(function(){return a._publish()}))})),a}return o(e,t),e.createEmptyJSON=function(){return i(i({},n.default.createEmptyJSON()),{configType:"dimension",group:[],value:[]})},e.createEmpty=function(t){return new e(e.createEmptyJSON(),t)},Object.defineProperty(e.prototype,"group",{get:function(){return l([],this._group)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return l([],this._value)},enumerable:!1,configurable:!0}),e.prototype.setSourceTable=function(e){e!==this.source.table&&(this._group=[],this._value=[],t.prototype.setSourceTable.call(this,e))},e.prototype.customColumnIsUsed=function(e){if(t.prototype.customColumnIsUsed.call(this,e))return!0;var n=this.customColumns.find((function(t){return t.key===e}));return n?this._group&&!!this._group.find((function(t){return t.source.column===n.key}))||!!this._value.find((function(t){return t.source.column===n.key})):(console.error("不存在的字段"),!1)},e.prototype.removeCustomColumn=function(e){var n,a=this.customColumns.find((function(t){return t.key===e}));if(!a)return console.error("不存在的字段"),!1;var r=null===(n=this._group)||void 0===n?void 0:n.filter((function(t){return t.source.column===a.key}));this._group=r;var o=this._value.filter((function(t){return t.source.column===a.key}));this._value=o,t.prototype.removeCustomColumn.call(this,e)},e.prototype.addGroup=function(t){var e=this;t.setOnChange((function(){return e._publish()})),this._group=this._group||[],this._group.push(t),this.eventListener.publish("onAddGroup",{target:t}),this._publish()},e.prototype.removeGroup=function(t){if(this._group){var e=this._group.splice(t,1)[0];this.eventListener.publish("onRemoveGroup",{target:e}),this._publish()}},e.prototype.moveGroup=function(t,e){if(t!==e){var n=this._group[t];this._group=t<e?l(l(l(l([],this._group.slice(0,t)),this._group.slice(t+1,e+1)),[n]),this._group.slice(e+1)):l(l(l(l([],this._group.slice(0,e)),[n]),this._group.slice(e,t)),this._group.slice(t+1)),this._publish()}},e.prototype.changeFieldId=function(t,e){var n=t.id;t.id=e,this.eventListener.publish("onFieldIdChange",{target:t},n)},e.prototype.addValue=function(t){var e=this;t.setOnChange((function(){return e._publish()})),this._value.push(t),this.eventListener.publish("onAddValue",{target:t}),this._publish()},e.prototype.removeValue=function(t){var e=this._value.splice(t,1)[0];this.eventListener.publish("onRemoveValue",{target:e}),this._publish()},e.prototype.moveValue=function(t,e){if(t!==e){var n=this._value[t];this._value=t<e?l(l(l(l([],this._value.slice(0,t)),this._value.slice(t+1,e+1)),[n]),this._value.slice(e+1)):l(l(l(l([],this._value.slice(0,e)),[n]),this._value.slice(e,t)),this._value.slice(t+1)),this._publish()}},e.prototype.isValid=function(){return c(this.toJSON())},e.prototype.convertToSqlConfig=function(){return u(this.toJSON())},e.prototype.addEventListener=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[0],a=t[1];this.eventListener.addEventListener(n,a)},e.prototype.removeEventListener=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[0],a=t[1];this.eventListener.removeEventListener(n,a)},e.prototype.toJSON=function(){var e;return i(i({},t.prototype.toJSON.call(this)),{configType:this.configType,group:null===(e=this._group)||void 0===e?void 0:e.map((function(t){return t.toJSON()})),value:this._value.map((function(t){return t.toJSON()}))})},e}(n.default);function c(t){return t.value.length>0&&!!t.value.filter((function(t){return void 0!==t}))}function u(t){if(!c(t))return!1;var e=function(t){var e={customId:t.id,alias:t.alias,key:(0,a.default)(t.source),type:t.type,expr:t.expr,orderBy:t.orderBy};if("time"===t.type)if(t.subtype)switch(t.subtype){case"year":e.type="time-only_year",e.dformat="only_year";break;case"month":e.type="time-only_month",e.dformat="only_month";break;case"day":e.type="time-only_day",e.dformat="only_day";break;case"time":e.type="time-time",e.dformat="only_time"}else{var n=(0,_C.convertDformat)(t.dateFormat,t.timeFormat);n&&(e.dformat=n)}return e};return{criteria:t.filters.map((function(t){return(0,KS.convertToSqlConfig)(t)})).filter((function(t){return t})),rule:(0,XS.convertRule)(t.customColumns),group:((null==t?void 0:t.group)||[]).map((function(t){return i(i({},e(t)),{filter:[]})})),value:t.value.map((function(t){return e(t)})),drillDown:[]}}var d=s;e.default=d})),SC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Types=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(SS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=(0,mS.tuple)("shortCut","custom","dynamic");e.Types=r;var o=function(t){function e(e,n){var a=t.call(this,n)||this;return a._type=e.type,a}return a(e,t),e.createEmptyJSON=function(){return{type:"custom"}},Object.defineProperty(e.prototype,"type",{get:function(){return this._type},set:function(t){this._type=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.addEventListener=function(t,e){this.eventListener.addEventListener(t,e)},e.prototype.removeEventListener=function(t,e){this.eventListener.removeEventListener(t,e)},e.prototype.toJSON=function(){return{type:this._type}},e}(n.default),i=o;e.default=i})),CC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ShortCutTypes=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(SC);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=(0,mS.tuple)("all","today","yesterday","this_week_to_now","last_week","this_month_to_now","last_month","this_quarter_to_now","last_quarter","this_year_to_now","last_year");e.ShortCutTypes=o;var i=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._type=e.type,a._shortCut=e.shortCut,a}return a(e,t),e.createEmptyJSON=function(){return r(r({},n.default.createEmptyJSON()),{type:"shortCut",shortCut:"all"})},e.createEmpty=function(t){return new e(e.createEmptyJSON(),t)},Object.defineProperty(e.prototype,"shortCut",{get:function(){return this._shortCut},set:function(t){this._shortCut=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:this._type,shortCut:this._shortCut})},e}(n.default);e.default=i})),MC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(SC);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._type=e.type,a._startDate=e.startDate,a._startTime=e.startTime,a._startTimeEnabled=e.startTimeEnabled,a._endDate=e.endDate,a._endTime=e.endTime,a._endTimeEnabled=e.endTimeEnabled,a}return a(e,t),e.createEmptyJSON=function(){return r(r({},n.default.createEmptyJSON()),{type:"custom",startTimeEnabled:!1,endTimeEnabled:!1})},e.createEmpty=function(t){return new e(e.createEmptyJSON(),t)},Object.defineProperty(e.prototype,"startDate",{get:function(){return this._startDate},set:function(t){this._startDate=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"startTime",{get:function(){return this._startTime},set:function(t){this._startTime=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"startTimeEnabled",{get:function(){return this._startTimeEnabled},set:function(t){this._startTimeEnabled=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"endDate",{get:function(){return this._endDate},set:function(t){this._endDate=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"endTime",{get:function(){return this._endTime},set:function(t){this._endTime=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"endTimeEnabled",{get:function(){return this._endTimeEnabled},set:function(t){this._endTimeEnabled=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:this._type,startDate:this._startDate,startTime:this._startTime,startTimeEnabled:this._startTimeEnabled,endDate:this._endDate,endTime:this._endTime,endTimeEnabled:this._endTimeEnabled})},e}(n.default);e.default=o})),OC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DynamicTypes=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(SC);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=(0,mS.tuple)("day","week","month","year");e.DynamicTypes=o;var i=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._type=e.type,a._dynamicType=e.dynamicType,a._value=e.value,a}return a(e,t),e.createEmptyJSON=function(){return r(r({},n.default.createEmptyJSON()),{type:"dynamic",dynamicType:"day"})},e.createEmpty=function(t){return new e(e.createEmptyJSON(),t)},Object.defineProperty(e.prototype,"dynamicType",{get:function(){return this._dynamicType},set:function(t){this._dynamicType=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:this._type,dynamicType:this._dynamicType,value:this._value})},e}(n.default);e.default=i})),EC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ShortCutValue",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"CustomValue",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"DynamicValue",{enumerable:!0,get:function(){return r.default}}),e.TimeRangeValueFactory=void 0;var n=o(CC),a=o(MC),r=o(OC);function o(t){return t&&t.__esModule?t:{default:t}}var i={create:function(t,e){switch(t.type){case"shortCut":return new n.default(t,e);case"custom":return new a.default(t,e);case"dynamic":return new r.default(t,e)}},createEmpty:function(t,e){switch(t){case"custom":return a.default.createEmpty(e);case"dynamic":return r.default.createEmpty(e);default:return n.default.createEmpty(e)}}};e.TimeRangeValueFactory=i})),TC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.convertToSqlConfig=function(t){var e,a,r={alias:t.alias,key:t.source.table+"."+t.source.column,compareIndex:1,type:t.type,filter:[{op:"between",value:[],options:[]}]};switch(t.value.type){case"shortCut":switch(t.value.shortCut){case"today":var o=(0,n.default)().format("YYYY-MM-DD");r.filter[0].value=[o+" 00:00:00",o+" 23:59:59"];break;case"yesterday":var i=(0,n.default)().add(-1,"days").format("YYYY-MM-DD");r.filter[0].value=[i+" 00:00:00",i+" 23:59:59"];break;case"this_week_to_now":var l=(0,n.default)().startOf("isoWeek");r.filter[0].value=[l.format("YYYY-MM-DD 00:00:00"),(0,n.default)().format("YYYY-MM-DD 23:59:59")];break;case"last_week":r.filter[0].value=[(0,n.default)().add(-1,"week").startOf("isoWeek").format("YYYY-MM-DD 00:00:00"),(0,n.default)().add(-1,"week").endOf("isoWeek").format("YYYY-MM-DD 23:59:59")];break;case"this_month_to_now":r.filter[0].value=[(0,n.default)().startOf("month").format("YYYY-MM-DD 00:00:00"),(0,n.default)().format("YYYY-MM-DD 23:59:59")];break;case"last_month":r.filter[0].value=[(0,n.default)().add(-1,"month").startOf("month").format("YYYY-MM-DD 00:00:00"),(0,n.default)().add(-1,"month").endOf("month").format("YYYY-MM-DD 23:59:59")];break;case"this_quarter_to_now":r.filter[0].value=[(0,n.default)().startOf("quarter").format("YYYY-MM-DD 00:00:00"),(0,n.default)().format("YYYY-MM-DD 23:59:59")];break;case"last_quarter":r.filter[0].value=[(0,n.default)().add(-1,"quarter").startOf("quarter").format("YYYY-MM-DD 00:00:00"),(0,n.default)().add(-1,"quarter").endOf("quarter").format("YYYY-MM-DD 23:59:59")];break;case"this_year_to_now":r.filter[0].value=[(0,n.default)().startOf("year").format("YYYY-MM-DD 00:00:00"),(0,n.default)().format("YYYY-MM-DD 23:59:59")];break;case"last_year":r.filter[0].value=[(0,n.default)().add(-1,"year").startOf("year").format("YYYY-MM-DD 00:00:00"),(0,n.default)().add(-1,"year").endOf("year").format("YYYY-MM-DD 23:59:59")]}break;case"custom":if(!t.value.startDate&&!t.value.endDate)break;r.filter[0].value=[t.value.startDate?t.value.startDate+" "+(null!==(e=t.value.startTime)&&void 0!==e?e:"00:00:00"):null,t.value.endDate?t.value.endDate+" "+(null!==(a=t.value.endTime)&&void 0!==a?a:"23:59:59"):null];break;case"dynamic":if(!t.value.value)break;var s=(0,n.default)(),c=(0,n.default)();switch(t.value.dynamicType){case"day":s.add(0-t.value.value,"days");break;case"week":s.add(0-t.value.value,"week");break;case"month":s.add(0-t.value.value,"month");break;case"year":s.add(0-t.value.value,"year")}r.filter[0].value=[s.format("YYYY-MM-DD")+" 00:00:00",c.format("YYYY-MM-DD")+" 23:59:59"]}return r},e.default=e.YOYDimensionTypes=void 0;var n=r(FS),a=r(CS);function r(t){return t&&t.__esModule?t:{default:t}}var o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),i=function(){return i=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},i.apply(this,arguments)},l=(0,mS.tuple)("year","quarter","month","week");e.YOYDimensionTypes=l;var s=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._type=e.type,a._isCustomRange=e.isCustomRange,a._value=EC.TimeRangeValueFactory.create(e.value,(function(){return a._publish()})),a._yoyRatioEnabled=e.yoyRatioEnabled,a._yoyRatioDimension=e.yoyRatioDimension,a._yoyValueEnabled=e.yoyValueEnabled,a._yoyValueDimension=e.yoyValueDimension,a._chainRelativeRatioEnabled=e.chainRelativeRatioEnabled,a._chainRelativeValueEnabled=e.chainRelativeValueEnabled,a}return o(e,t),e.createEmptyJSON=function(t){return i(i({},a.default.createEmptyJSON(t)),{type:"time",isCustomRange:!1,value:EC.ShortCutValue.createEmptyJSON(),yoyRatioEnabled:!1,yoyRatioDimension:"year",yoyValueEnabled:!1,yoyValueDimension:"year",chainRelativeRatioEnabled:!1,chainRelativeValueEnabled:!1})},e.createEmpty=function(t,n){return new e(e.createEmptyJSON(t),n)},Object.defineProperty(e.prototype,"isCustomRange",{get:function(){return this._isCustomRange},set:function(t){this._isCustomRange=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"yoyRatioEnabled",{get:function(){return this._yoyRatioEnabled},set:function(t){this._yoyRatioEnabled=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"yoyRatioDimension",{get:function(){return this._yoyRatioDimension},set:function(t){this._yoyRatioDimension=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"yoyValueEnabled",{get:function(){return this._yoyValueEnabled},set:function(t){this._yoyValueEnabled=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"yoyValueDimension",{get:function(){return this._yoyValueDimension},set:function(t){this._yoyValueDimension=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"chainRelativeRatioEnabled",{get:function(){return this._chainRelativeRatioEnabled},set:function(t){this._chainRelativeRatioEnabled=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"chainRelativeValueEnabled",{get:function(){return this._chainRelativeValueEnabled},set:function(t){this._chainRelativeValueEnabled=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return i(i({},t.prototype.toJSON.call(this)),{type:this._type,isCustomRange:this._isCustomRange,value:this._value.toJSON(),yoyRatioEnabled:this._yoyRatioEnabled,yoyRatioDimension:this._yoyRatioDimension,yoyValueEnabled:this._yoyValueEnabled,yoyValueDimension:this._yoyValueDimension,chainRelativeRatioEnabled:this._chainRelativeRatioEnabled,chainRelativeValueEnabled:this._chainRelativeValueEnabled})},e}(a.default);e.default=s})),DC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(CS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._type=e.type,a._expr=e.expr,a._nullVal=e.nullVal,a._orderBy=e.orderBy,a}return a(e,t),e.createEmptyJSON=function(t){return r(r({},n.default.createEmptyJSON(t)),{type:t.type,expr:"none",nullVal:"none",orderBy:"none"})},Object.defineProperty(e.prototype,"expr",{get:function(){return this._expr},set:function(t){this._expr=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nullVal",{get:function(){return this._nullVal},set:function(t){this._nullVal=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"orderBy",{get:function(){return this._orderBy},set:function(t){this._orderBy=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:this._type,expr:this._expr,nullVal:this._nullVal,orderBy:this._orderBy})},e}(n.default);e.default=o})),IC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(DC);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._type=e.type,a._expr=e.expr,a}return a(e,t),e.createEmptyJSON=function(t){return r(r({},n.default.createEmptyJSON(t)),{type:t.type,expr:"count"})},e.createEmpty=function(t,n){return new e(e.createEmptyJSON(t),n)},Object.defineProperty(e.prototype,"expr",{get:function(){return this._expr},set:function(t){this._expr=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:this._type,expr:this._expr})},e}(n.default);e.default=o})),PC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(DC),a=r(tC);function r(t){return t&&t.__esModule?t:{default:t}}var o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),i=function(){return i=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},i.apply(this,arguments)},l=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._type=e.type,a._expr=e.expr,a._dataFormat=uC.DataFormatFactory.create(e.dataFormat),a}return o(e,t),e.createEmptyJSON=function(t){return i(i({},n.default.createEmptyJSON(t)),{type:t.type,expr:"sum",dataFormat:a.default.createEmptyJSON()})},e.createEmpty=function(t,n){return new e(e.createEmptyJSON(t),n)},Object.defineProperty(e.prototype,"dataFormat",{get:function(){return this._dataFormat},set:function(t){this._dataFormat=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return i(i({},t.prototype.toJSON.call(this)),{type:this._type,expr:this._expr,dataFormat:this._dataFormat.toJSON()})},e}(n.default);e.default=l})),NC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.IndicatorValueFactory=void 0;var n=r(IC),a=r(PC);function r(t){return t&&t.__esModule?t:{default:t}}var o={create:function(t,e){switch(t.type){case"string":return new n.default(t,e);case"int":case"float":case"double":return new a.default(t,e)}},createEmpty:function(t,e){switch(t.type){case"string":return n.default.createEmpty(t,e);case"int":case"float":case"double":return a.default.createEmpty(t,e)}}};e.IndicatorValueFactory=o})),AC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(NC).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===NC[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return NC[t]}}))}))})),zC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.convertToSqlConfig=f,e.default=void 0;var n=l(ZS),a=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var e=i();if(e&&e.has(t))return e.get(t);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var o=a?Object.getOwnPropertyDescriptor(t,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=t[r]}n.default=t,e&&e.set(t,n);return n}(TC),r=l(FS),o=l(US);function i(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return i=function(){return t},t}function l(t){return t&&t.__esModule?t:{default:t}}var s=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),c=function(){return c=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},c.apply(this,arguments)},u=function(t,e){for(var n=0,a=e.length,r=t.length;n<a;n++,r++)t[r]=e[n];return t},d=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.configType=e.configType,e.timeRange&&(r._timeRange=new a.default(e.timeRange,(function(){return r._publish()}))),r._value=e.value.map((function(t){return AC.IndicatorValueFactory.create(t,(function(){return r._publish()}))})),r}return s(e,t),e.createEmptyJSON=function(){return c(c({},n.default.createEmptyJSON()),{configType:"indicator",value:[]})},e.createEmpty=function(t){return new e(e.createEmptyJSON(),t)},Object.defineProperty(e.prototype,"timeRange",{get:function(){return this._timeRange},set:function(t){var e=this;null==t||t.setOnChange((function(){return e._publish()})),this._timeRange=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return u([],this._value)},enumerable:!1,configurable:!0}),e.prototype.changeFieldId=function(t,e){var n=t.id;t.id=e,this.eventListener.publish("onFieldIdChange",{target:t},n)},e.prototype.addValue=function(t){var e=this;t.setOnChange((function(){return e._publish()})),this._value.push(t),this.eventListener.publish("onAddValue",{target:t}),this._publish()},e.prototype.removeValue=function(t){var e=this._value.splice(t,1)[0];this.eventListener.publish("onRemoveValue",{target:e}),this._publish()},e.prototype.moveValue=function(t,e){if(t!==e){var n=this._value[t];this._value=t<e?u(u(u(u([],this._value.slice(0,t)),this._value.slice(t+1,e+1)),[n]),this._value.slice(e+1)):u(u(u(u([],this._value.slice(0,e)),[n]),this._value.slice(e,t)),this._value.slice(t+1)),this._publish()}},e.prototype.setSourceTable=function(e){e!==this.source.table&&(this.timeRange=void 0,this._value=[],t.prototype.setSourceTable.call(this,e))},e.prototype.customColumnIsUsed=function(e){if(t.prototype.customColumnIsUsed.call(this,e))return!0;var n=this.customColumns.find((function(t){return t.key===e}));return n?this._timeRange&&this._timeRange.source.column===n.key||!!this._value.find((function(t){return t.source.column===n.key})):(console.error("不存在的字段"),!1)},e.prototype.removeCustomColumn=function(e){var n=this.customColumns.find((function(t){return t.key===e}));if(!n)return console.error("不存在的字段"),!1;this._timeRange&&this._timeRange.source.column===n.key&&(this._timeRange=void 0);var a=this._value.filter((function(t){return t.source.column===n.key}));this._value=a,t.prototype.removeCustomColumn.call(this,e)},e.prototype.isValid=function(){return p(this.toJSON())},e.prototype.convertToSqlConfig=function(){return f(this.toJSON())},e.prototype.addEventListener=function(t,e){this.eventListener.addEventListener(t,e)},e.prototype.removeEventListener=function(t,e){this.eventListener.removeEventListener(t,e)},e.prototype.toJSON=function(){return c(c({},t.prototype.toJSON.call(this)),{configType:this.configType,timeRange:this.timeRange&&this.timeRange.toJSON(),value:this._value.map((function(t){return t.toJSON()}))})},e}(n.default);function p(t){return t.value.length>0&&!!t.value.filter((function(t){return void 0!==t}))}function f(t){if(!p(t))return!1;var e={criteria:t.filters.map((function(t){return(0,KS.convertToSqlConfig)(t)})).filter((function(t){return t})),rule:(0,XS.convertRule)(t.customColumns),group:[],value:[],drillDown:[]},n=void 0;if(t.timeRange){var i=(0,a.convertToSqlConfig)(t.timeRange);i.filter.length>0&&(n=i,e.criteria.unshift(n))}return t.value.forEach((function(a){var i={customId:a.id,alias:a.alias,key:(0,o.default)(a.source),type:a.type,expr:a.expr};if(e.value.push(i),t.timeRange){if(t.timeRange.yoyRatioEnabled){var l=Object.assign({},i,{alias:i.alias+"%%同比率"}),s=n.filter[0].value,c=s[0],u=s[1];switch(t.timeRange.yoyRatioDimension){case"week":l.compare={type:"ratio",value:[(0,r.default)(c).add(-1,"week").format("YYYY-MM-DD HH:mm:ss"),(0,r.default)(u).format("YYYY-MM-DD HH:mm:ss")]};break;case"month":l.compare={type:"ratio",value:[(0,r.default)(c).add(-1,"month").format("YYYY-MM-DD HH:mm:ss"),(0,r.default)(u).format("YYYY-MM-DD HH:mm:ss")]};break;case"quarter":l.compare={type:"ratio",value:[(0,r.default)(c).add(-1,"quarter").format("YYYY-MM-DD HH:mm:ss"),(0,r.default)(u).format("YYYY-MM-DD HH:mm:ss")]};break;case"year":l.compare={type:"ratio",value:[(0,r.default)(c).add(-1,"year").format("YYYY-MM-DD HH:mm:ss"),(0,r.default)(u).format("YYYY-MM-DD HH:mm:ss")]}}e.value.push(l)}if(t.timeRange.yoyValueEnabled){var d=Object.assign({},i,{alias:i.alias+"%%同比值"}),p=n.filter[0].value;c=p[0],u=p[1];switch(t.timeRange.yoyValueDimension){case"week":d.compare={type:"num",value:[(0,r.default)(c).add(-1,"week").format("YYYY-MM-DD HH:mm:ss"),(0,r.default)(u).format("YYYY-MM-DD HH:mm:ss")]};break;case"month":d.compare={type:"num",value:[(0,r.default)(c).add(-1,"month").format("YYYY-MM-DD HH:mm:ss"),(0,r.default)(u).format("YYYY-MM-DD HH:mm:ss")]};break;case"quarter":d.compare={type:"num",value:[(0,r.default)(c).add(-1,"quarter").format("YYYY-MM-DD HH:mm:ss"),(0,r.default)(u).format("YYYY-MM-DD HH:mm:ss")]};break;case"year":d.compare={type:"num",value:[(0,r.default)(c).add(-1,"year").format("YYYY-MM-DD HH:mm:ss"),(0,r.default)(u).format("YYYY-MM-DD HH:mm:ss")]}}e.value.push(d)}if(t.timeRange.chainRelativeRatioEnabled){var f=Object.assign({},i,{alias:i.alias+"%%环比率"}),h=n.filter[0].value,g=(c=h[0],u=h[1],(0,r.default)(c)),m=(0,r.default)(u),b=g.diff(m)-1e3;f.compare={type:"ratio",value:[g.add(b,"ms").format("YYYY-MM-DD HH:mm:ss"),m.format("YYYY-MM-DD HH:mm:ss")]},e.value.push(f)}if(t.timeRange.chainRelativeValueEnabled){var v=Object.assign({},i,{alias:i.alias+"%%环比值"}),y=n.filter[0].value;c=y[0],u=y[1],g=(0,r.default)(c),m=(0,r.default)(u),b=g.diff(m)-1e3;v.compare={type:"num",value:[g.add(b,"ms").format("YYYY-MM-DD HH:mm:ss"),m.format("YYYY-MM-DD HH:mm:ss")]},e.value.push(v)}}})),e}var h=d;e.default=h})),RC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(CS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._expr=e.expr,a._nullVal=e.nullVal,a._orderBy=e.orderBy,a}return a(e,t),e.createEmptyJSON=function(t){return r(r({},n.default.createEmptyJSON(t)),{expr:"none",nullVal:"none",orderBy:"none"})},Object.defineProperty(e.prototype,"expr",{get:function(){return this._expr},set:function(t){this._expr=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nullVal",{get:function(){return this._nullVal},set:function(t){this._nullVal=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"orderBy",{get:function(){return this._orderBy},set:function(t){this._orderBy=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{expr:this._expr,nullVal:this._nullVal,orderBy:this._orderBy})},e}(n.default);e.default=o})),LC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(RC);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._type=e.type,a._expr=e.expr,a}return a(e,t),e.createEmptyJSON=function(t){return r(r({},n.default.createEmptyJSON(t)),{type:t.type,expr:"none"})},e.createEmpty=function(t,n){return new e(e.createEmptyJSON(t),n)},Object.defineProperty(e.prototype,"expr",{get:function(){return this._expr},set:function(t){this._expr=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:this._type,expr:this._expr})},e}(n.default);e.default=o})),jC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(RC),a=r(tC);function r(t){return t&&t.__esModule?t:{default:t}}var o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),i=function(){return i=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},i.apply(this,arguments)},l=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._type=e.type,a._dataFormat=uC.DataFormatFactory.create(e.dataFormat),a}return o(e,t),e.createEmptyJSON=function(t){return i(i({},n.default.createEmptyJSON(t)),{type:t.type,dataFormat:a.default.createEmptyJSON()})},e.createEmpty=function(t,n){return new e(e.createEmptyJSON(t),n)},Object.defineProperty(e.prototype,"dataFormat",{get:function(){return this._dataFormat},set:function(t){this._dataFormat=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return i(i({},t.prototype.toJSON.call(this)),{type:this._type,expr:this._expr,dataFormat:this._dataFormat.toJSON()})},e}(n.default);e.default=l})),FC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(RC);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._type=e.type,a._expr=e.expr,a._dateFormat=e.dateFormat,a._timeFormat=e.timeFormat,a}return a(e,t),e.createEmptyJSON=function(t){return r(r({},n.default.createEmptyJSON(t)),{type:t.type,expr:"none",dateFormat:"default",timeFormat:"default"})},e.createEmpty=function(t,n){return new e(e.createEmptyJSON(t),n)},Object.defineProperty(e.prototype,"expr",{get:function(){return this._expr},set:function(t){this._expr=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dateFormat",{get:function(){return this._dateFormat},set:function(t){this._dateFormat=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"timeFormat",{get:function(){return this._timeFormat},set:function(t){this._timeFormat=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:this._type,expr:this._expr,dateFormat:this._dateFormat,timeFormat:this._timeFormat})},e}(n.default);e.default=o})),BC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.RadarGroupFactory=void 0;var n=o(LC),a=o(jC),r=o(FC);function o(t){return t&&t.__esModule?t:{default:t}}var i={create:function(t,e){switch(t.type){case"string":return new n.default(t,e);case"int":case"float":case"double":return new a.default(t,e);case"time":return new r.default(t,e)}},createEmpty:function(t,e){switch(t.type){case"string":return n.default.createEmpty(t,e);case"int":case"float":case"double":return a.default.createEmpty(t,e);case"time":return r.default.createEmpty(t,e)}}};e.RadarGroupFactory=i})),VC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(BC).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===BC[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return BC[t]}}))}))})),YC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(CS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._expr=e.expr,a._nullVal=e.nullVal,a._orderBy=e.orderBy,a}return a(e,t),e.createEmptyJSON=function(t){return r(r({},n.default.createEmptyJSON(t)),{expr:"none",nullVal:"none",orderBy:"none"})},Object.defineProperty(e.prototype,"expr",{get:function(){return this._expr},set:function(t){this._expr=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nullVal",{get:function(){return this._nullVal},set:function(t){this._nullVal=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"orderBy",{get:function(){return this._orderBy},set:function(t){this._orderBy=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{expr:this._expr,nullVal:this._nullVal,orderBy:this._orderBy})},e}(n.default);e.default=o})),HC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(YC);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._type=e.type,a._expr=e.expr,a}return a(e,t),e.createEmptyJSON=function(t){return r(r({},n.default.createEmptyJSON(t)),{type:t.type,expr:"none"})},e.createEmpty=function(t,n){return new e(e.createEmptyJSON(t),n)},Object.defineProperty(e.prototype,"expr",{get:function(){return this._expr},set:function(t){this._expr=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:this._type,expr:this._expr})},e}(n.default);e.default=o})),WC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(YC),a=r(tC);function r(t){return t&&t.__esModule?t:{default:t}}var o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),i=function(){return i=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},i.apply(this,arguments)},l=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._type=e.type,a._dataFormat=uC.DataFormatFactory.create(e.dataFormat),a}return o(e,t),e.createEmptyJSON=function(t){return i(i({},n.default.createEmptyJSON(t)),{type:t.type,dataFormat:a.default.createEmptyJSON()})},e.createEmpty=function(t,n){return new e(e.createEmptyJSON(t),n)},Object.defineProperty(e.prototype,"dataFormat",{get:function(){return this._dataFormat},set:function(t){this._dataFormat=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return i(i({},t.prototype.toJSON.call(this)),{type:this._type,expr:this._expr,dataFormat:this._dataFormat.toJSON()})},e}(n.default);e.default=l})),UC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(YC);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._type=e.type,a._expr=e.expr,a._dateFormat=e.dateFormat,a._timeFormat=e.timeFormat,a}return a(e,t),e.createEmptyJSON=function(t){return r(r({},n.default.createEmptyJSON(t)),{type:t.type,expr:"none",dateFormat:"default",timeFormat:"default"})},e.createEmpty=function(t,n){return new e(e.createEmptyJSON(t),n)},Object.defineProperty(e.prototype,"expr",{get:function(){return this._expr},set:function(t){this._expr=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dateFormat",{get:function(){return this._dateFormat},set:function(t){this._dateFormat=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"timeFormat",{get:function(){return this._timeFormat},set:function(t){this._timeFormat=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:this._type,expr:this._expr,dateFormat:this._dateFormat,timeFormat:this._timeFormat})},e}(n.default);e.default=o})),GC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.RadarColorFactory=void 0;var n=o(HC),a=o(WC),r=o(UC);function o(t){return t&&t.__esModule?t:{default:t}}var i={create:function(t,e){switch(t.type){case"string":return new n.default(t,e);case"int":case"float":case"double":return new a.default(t,e);case"time":return new r.default(t,e)}},createEmpty:function(t,e){switch(t.type){case"string":return n.default.createEmpty(t,e);case"int":case"float":case"double":return a.default.createEmpty(t,e);case"time":return r.default.createEmpty(t,e)}}};e.RadarColorFactory=i})),KC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(GC).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===GC[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return GC[t]}}))}))})),qC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(CS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._expr=e.expr,a._nullVal=e.nullVal,a._orderBy=e.orderBy,a}return a(e,t),e.createEmptyJSON=function(t){return r(r({},n.default.createEmptyJSON(t)),{expr:"none",nullVal:"none",orderBy:"none"})},Object.defineProperty(e.prototype,"expr",{get:function(){return this._expr},set:function(t){this._expr=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nullVal",{get:function(){return this._nullVal},set:function(t){this._nullVal=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"orderBy",{get:function(){return this._orderBy},set:function(t){this._orderBy=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{expr:this._expr,nullVal:this._nullVal,orderBy:this._orderBy})},e}(n.default);e.default=o})),XC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(qC);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._type=e.type,a._expr=e.expr,a}return a(e,t),e.createEmptyJSON=function(t){return r(r({},n.default.createEmptyJSON(t)),{type:t.type,expr:"count"})},e.createEmpty=function(t,n){return new e(e.createEmptyJSON(t),n)},Object.defineProperty(e.prototype,"expr",{get:function(){return this._expr},set:function(t){this._expr=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:this._type,expr:this._expr})},e}(n.default);e.default=o})),ZC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(qC),a=r(tC);function r(t){return t&&t.__esModule?t:{default:t}}var o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),i=function(){return i=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},i.apply(this,arguments)},l=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._type=e.type,a._dataFormat=uC.DataFormatFactory.create(e.dataFormat),a}return o(e,t),e.createEmptyJSON=function(t){return i(i({},n.default.createEmptyJSON(t)),{type:t.type,expr:"sum",dataFormat:a.default.createEmptyJSON()})},e.createEmpty=function(t,n){return new e(e.createEmptyJSON(t),n)},Object.defineProperty(e.prototype,"dataFormat",{get:function(){return this._dataFormat},set:function(t){this._dataFormat=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return i(i({},t.prototype.toJSON.call(this)),{type:this._type,expr:this._expr,dataFormat:this._dataFormat.toJSON()})},e}(n.default);e.default=l})),JC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(qC);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._type=e.type,a._expr=e.expr,a._dateFormat=e.dateFormat,a._timeFormat=e.timeFormat,a}return a(e,t),e.createEmptyJSON=function(t){return r(r({},n.default.createEmptyJSON(t)),{type:t.type,expr:"none",dateFormat:"default",timeFormat:"default"})},e.createEmpty=function(t,n){return new e(e.createEmptyJSON(t),n)},Object.defineProperty(e.prototype,"expr",{get:function(){return this._expr},set:function(t){this._expr=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dateFormat",{get:function(){return this._dateFormat},set:function(t){this._dateFormat=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"timeFormat",{get:function(){return this._timeFormat},set:function(t){this._timeFormat=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:this._type,expr:this._expr,dateFormat:this._dateFormat,timeFormat:this._timeFormat})},e}(n.default);e.default=o})),$C=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.RadarTargetFactory=void 0;var n=o(XC),a=o(ZC),r=o(JC);function o(t){return t&&t.__esModule?t:{default:t}}var i={create:function(t,e){switch(t.type){case"string":return new n.default(t,e);case"int":case"float":case"double":return new a.default(t,e);case"time":return new r.default(t,e)}},createEmpty:function(t,e){switch(t.type){case"string":return n.default.createEmpty(t,e);case"int":case"float":case"double":return a.default.createEmpty(t,e);case"time":return r.default.createEmpty(t,e)}}};e.RadarTargetFactory=i})),QC=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.keys($C).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===$C[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return $C[t]}}))}))})),tM=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.getRenderMode=f,e.convertToSqlConfig=g,e.default=e.ONE_INDICATOR_FOR_TWO_DIMENSIONS=e.MULTIPLE_INDICATORS_IN_COLOR=e.MULTIPLE_INDICATORS_IN_GROUP=e.MULTIPLE_INDICATORS=void 0;var n=r(ZS),a=r(US);function r(t){return t&&t.__esModule?t:{default:t}}var o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),i=function(){return i=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},i.apply(this,arguments)},l=function(t,e){for(var n=0,a=e.length,r=t.length;n<a;n++,r++)t[r]=e[n];return t},s=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a.configType=e.configType,a._group=e.group.map((function(t){return VC.RadarGroupFactory.create(t,(function(){return a._publish()}))})),a._target=e.target.map((function(t){return QC.RadarTargetFactory.create(t,(function(){return a._publish()}))})),a._color=e.color.map((function(t){return KC.RadarColorFactory.create(t,(function(){return a._publish()}))})),a}return o(e,t),e.createEmptyJSON=function(){return i(i({},n.default.createEmptyJSON()),{configType:"radar",group:[],target:[],color:[]})},e.createEmpty=function(t){return new e(e.createEmptyJSON(),t)},Object.defineProperty(e.prototype,"group",{get:function(){return l([],this._group)},set:function(t){this._group=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"target",{get:function(){return l([],this._target)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){return this._color},set:function(t){this._color=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.changeFieldId=function(t,e){var n=t.id;t.id=e,this.eventListener.publish("onFieldIdChange",{target:t},n)},e.prototype.addGroup=function(t){var e=this;t.setOnChange((function(){return e._publish()})),this._group.push(t),this.eventListener.publish("onAddGroup",{target:t}),this._publish()},e.prototype.removeGroup=function(t){var e=this._group.splice(t,1)[0];this.eventListener.publish("onRemoveGroup",{target:e}),this._publish()},e.prototype.moveGroup=function(t,e){if(t!==e){var n=this._group[t];this._group=t<e?l(l(l(l([],this._group.slice(0,t)),this._group.slice(t+1,e+1)),[n]),this._group.slice(e+1)):l(l(l(l([],this._group.slice(0,e)),[n]),this._group.slice(e,t)),this._group.slice(t+1)),this._publish()}},e.prototype.addColor=function(t){var e=this;t.setOnChange((function(){return e._publish()})),this._color.push(t),this.eventListener.publish("onAddColor",{target:t}),this._publish()},e.prototype.removeColor=function(t){var e=this._color.splice(t,1)[0];this.eventListener.publish("onRemoveColor",{target:e}),this._publish()},e.prototype.moveColor=function(t,e){if(t!==e){var n=this._color[t];this._color=t<e?l(l(l(l([],this._color.slice(0,t)),this._color.slice(t+1,e+1)),[n]),this._color.slice(e+1)):l(l(l(l([],this._color.slice(0,e)),[n]),this._color.slice(e,t)),this._color.slice(t+1)),this._publish()}},e.prototype.addTarget=function(t){var e=this;t.setOnChange((function(){return e._publish()})),this._target.push(t),this.eventListener.publish("onAddTarget",{target:t}),this._publish()},e.prototype.removeTarget=function(t){var e=this._target.splice(t,1)[0];this.eventListener.publish("onRemoveTarget",{target:e}),this._publish()},e.prototype.moveTarget=function(t,e){if(t!==e){var n=this._target[t];this._target=t<e?l(l(l(l([],this._target.slice(0,t)),this._target.slice(t+1,e+1)),[n]),this._target.slice(e+1)):l(l(l(l([],this._target.slice(0,e)),[n]),this._target.slice(e,t)),this._target.slice(t+1)),this._publish()}},e.prototype.setSourceTable=function(e){e!==this.source.table&&(this._group=[],this._target=[],this._color=[],t.prototype.setSourceTable.call(this,e))},e.prototype.customColumnIsUsed=function(e){if(t.prototype.customColumnIsUsed.call(this,e))return!0;var n=this.customColumns.find((function(t){return t.key===e}));return n?!!this._group.find((function(t){return t.source.column===n.key}))||!!this._color.find((function(t){return t.source.column===n.key}))||!!this._target.find((function(t){return t.source.column===n.key})):(console.error("不存在的字段"),!1)},e.prototype.removeCustomColumn=function(e){var n=this.customColumns.find((function(t){return t.key===e}));if(!n)return console.error("不存在的字段"),!1;this._group=this._group.filter((function(t){return t.source.column===n.key})),this._target=this._target.filter((function(t){return t.source.column===n.key})),this._color=this._color.filter((function(t){return t.source.column===n.key})),t.prototype.removeCustomColumn.call(this,e)},e.prototype.isValid=function(){return h(this.toJSON())},e.prototype.convertToSqlConfig=function(){return g(this.toJSON())},e.prototype.addEventListener=function(t,e){this.eventListener.addEventListener(t,e)},e.prototype.removeEventListener=function(t,e){this.eventListener.removeEventListener(t,e)},e.prototype.toJSON=function(){return i(i({},t.prototype.toJSON.call(this)),{configType:this.configType,group:this._group.map((function(t){return t.toJSON()})),target:this._target.map((function(t){return t.toJSON()})),color:this._color.map((function(t){return t.toJSON()}))})},e}(n.default),c="multipleIndicators";e.MULTIPLE_INDICATORS=c;var u="multipleIndicatorsInGroup";e.MULTIPLE_INDICATORS_IN_GROUP=u;var d="multipleIndicatorsInColor";e.MULTIPLE_INDICATORS_IN_COLOR=d;var p="oneIndicatorForTwoDimensions";function f(t){return 0===t.color.length&&t.group.length>0&&t.target.length>0?u:0===t.group.length&&t.color.length>0&&t.target.length>2?d:t.group.length>0&&t.color.length>0&&t.target.length>0?p:t.target.length>2?c:void 0}function h(t){return!!f(t)}function g(t){if(!h(t))return!1;var e={criteria:t.filters.map((function(t){return(0,KS.convertToSqlConfig)(t)})).filter((function(t){return t})),rule:(0,XS.convertRule)(t.customColumns),group:[],value:[],drillDown:[]};return t.group.forEach((function(t){var n={customId:t.id,alias:t.alias,key:(0,a.default)(t.source),type:t.type,expr:t.expr,orderBy:t.orderBy,filter:[]};e.group.push(n)})),t.color.forEach((function(t){var n={customId:t.id,alias:t.alias,key:(0,a.default)(t.source),type:t.type,expr:t.expr,orderBy:t.orderBy,filter:[]};e.group.push(n)})),t.target.forEach((function(t){var n={customId:t.id,alias:t.alias,key:(0,a.default)(t.source),type:t.type,expr:t.expr,orderBy:t.orderBy};e.value.push(n)})),e}e.ONE_INDICATOR_FOR_TWO_DIMENSIONS=p;var m=s;e.default=m})),eM=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Progress",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"Dimension",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"Indicator",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"Radar",{enumerable:!0,get:function(){return o.default}}),e.convertToSqlConfig=void 0;var n=l(gC),a=l(kC),r=l(zC),o=l(tM);function i(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return i=function(){return t},t}function l(t){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var e=i();if(e&&e.has(t))return e.get(t);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var o=a?Object.getOwnPropertyDescriptor(t,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=t[r]}return n.default=t,e&&e.set(t,n),n}e.convertToSqlConfig=function(t){switch(t.configType){case"progress":return(0,n.convertToSqlConfig)(t);case"dimension":return(0,a.convertToSqlConfig)(t);case"indicator":return(0,r.convertToSqlConfig)(t);case"radar":return(0,o.convertToSqlConfig)(t)}}})),nM=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ComponentCls=e.ComponentTypes=void 0;var n=r(hS),a=r(SS);function r(t){return t&&t.__esModule?t:{default:t}}var o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),i=function(){return i=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},i.apply(this,arguments)},l=(0,mS.tuple)("unknown","chart","filter","layer","text","image");e.ComponentTypes=l;var s=function(t){function e(e,n,a,r){var o=t.call(this,r)||this;return o._key=e.key,o.type=e.type,o._name=e.name,o._style={top:0,left:0,width:0,height:0},o._parent=n,o._root=a,o.moveTo(e.style||{}),o}return o(e,t),e.createEmptyJSON=function(){return{key:(0,n.default)(5),type:"unknown",name:"未命名组件",style:{top:40,left:40,width:400,height:300}}},Object.defineProperty(e.prototype,"key",{get:function(){return this._key},set:function(t){if(t!==this._key){if(this.parent.root.descendants[t])throw new Error("Component ERR: duplicate key!");this.parent.removeChild(this),this._key=t,this.parent.addChild(this),this._publish()}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(t){this._name!==t&&(this._name=t,this._publish())},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},set:function(t){this._parent!==t&&(this._parent=t,this._publish())},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"root",{get:function(){return this._root},set:function(t){this._root!==t&&(this._root=t,this._publish())},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"brothers",{get:function(){var t;return null===(t=this._parent)||void 0===t?void 0:t.children},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"style",{get:function(){return i({},this._style)},enumerable:!1,configurable:!0}),e.prototype.moveTo=function(t){this._style.left="number"==typeof t.left?t.left:this._style.left,this._style.top="number"==typeof t.top?t.top:this._style.top,this._style.width="number"==typeof t.width?t.width:this._style.width,this._style.height="number"==typeof t.height?t.height:this._style.height,this._publish(),this._parent.onChildMove()},e.prototype.move=function(t,e){this._style.top+=t,this._style.left+=e,this._publish()},e.prototype.remove=function(){this._parent.removeChild(this)},e.prototype.improveZIndex=function(t){this.parent.improveChildZIndex(this,t)},e.prototype.setZIndexToUp=function(){this.parent.setChildZIndexToTop(this)},e.prototype.setZIndexToBottom=function(){this.parent.setChildZIndexToBottom(this)},e.prototype.addEventListener=function(t,e){this.eventListener.addEventListener(t,e)},e.prototype.removeEventListener=function(t,e){this.eventListener.removeEventListener(t,e)},e.prototype.toJSON=function(){return{key:this.key,type:this.type,name:this.name,style:this.style}},e}(a.default);e.ComponentCls=s;var c=s;e.default=c})),aM=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.OrientationTypes=e.DisplayModeCls=e.ShowModeTypes=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(SS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=(0,mS.tuple)("ellipsis","wrap");e.ShowModeTypes=r;var o=function(t){function e(e,n){var a=t.call(this,n)||this;return a._type=e.type,a._value=e.value,a}return a(e,t),e.createEmptyJSON=function(){return{type:"ellipsis",value:4}},e.createEmpty=function(t){return new e(e.createEmptyJSON(),t)},Object.defineProperty(e.prototype,"type",{get:function(){return this._type},set:function(t){this._type=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return{type:this._type,value:this._value}},e}(n.default);e.DisplayModeCls=o;var i=(0,mS.tuple)("horizontal","vertical");e.OrientationTypes=i;var l=function(t){function e(e,n){var a=t.call(this,n)||this;return a._orientation=e.orientation,a.displayMode=new o(e.displayMode,(function(){return a._publish()})),a}return a(e,t),e.createEmptyJSON=function(){return{orientation:"horizontal",displayMode:o.createEmptyJSON()}},e.createEmpty=function(t){return new e(e.createEmptyJSON(),t)},Object.defineProperty(e.prototype,"orientation",{get:function(){return this._orientation},set:function(t){this._orientation=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.addEventListener=function(t,e){this.eventListener.addEventListener(t,e)},e.prototype.removeEventListener=function(t,e){this.eventListener.removeEventListener(t,e)},e.prototype.toJSON=function(){return{orientation:this._orientation,displayMode:this.displayMode.toJSON()}},e}(n.default);e.default=l})),rM=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(SS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(t){function e(e,n){var a=t.call(this,n)||this;return a._show=e.show,a._value=e.value,a._color=e.color,a._fontSize=e.fontSize,a}return a(e,t),e.createEmptyJSON=function(){return{show:!1,value:"",color:"#000",fontSize:14}},e.createEmpty=function(t){return new e(e.createEmptyJSON(),t)},Object.defineProperty(e.prototype,"show",{get:function(){return this._show},set:function(t){this._show=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){return this._color},set:function(t){this._color=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fontSize",{get:function(){return this._fontSize},set:function(t){this._fontSize=t||e.createEmptyJSON().fontSize,this._publish()},enumerable:!1,configurable:!0}),e.prototype.addEventListener=function(t,e){this.eventListener.addEventListener(t,e)},e.prototype.removeEventListener=function(t,e){this.eventListener.removeEventListener(t,e)},e.prototype.toJSON=function(){return{show:this._show,value:this._value,color:this._color,fontSize:this._fontSize}},e}(n.default),o=r;e.default=o})),oM=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(SS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(t){function e(e,n){var a=t.call(this,n)||this;return a._show=e.show,a._value=e.value,a}return a(e,t),e.createEmptyJSON=function(){return{show:!1,value:""}},e.createEmpty=function(t){return new e(e.createEmptyJSON(),t)},Object.defineProperty(e.prototype,"show",{get:function(){return this._show},set:function(t){this._show=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.addEventListener=function(t,e){this.eventListener.addEventListener(t,e)},e.prototype.removeEventListener=function(t,e){this.eventListener.removeEventListener(t,e)},e.prototype.toJSON=function(){return{show:this._show,value:this._value}},e}(n.default);e.default=r})),iM=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(hS),a=r(SS);function r(t){return t&&t.__esModule?t:{default:t}}var o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),i=function(){return i=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},i.apply(this,arguments)},l=function(t){function e(e,n){var a=t.call(this,n)||this;return a.id=e.id,a._name=e.name,a._columnType=e.columnType,a._columnSubType=e.columnSubType,a._relatedField=e.relatedField,a._hidden=e.hidden,a._width=e.width,a}return o(e,t),e.createEmptyJSON=function(t){return{id:t.id||(0,n.default)(5),name:t.alias,columnType:t.type,columnSubType:t.subtype,relatedField:{},hidden:!1,width:50}},Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"columnType",{get:function(){return this._columnType},set:function(t){this._columnType=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"columnSubType",{get:function(){return this._columnSubType},set:function(t){this._columnSubType=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"relatedField",{get:function(){return i({},this._relatedField)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hidden",{get:function(){return this._hidden},set:function(t){this._hidden=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.addRelatedField=function(t,e){this._relatedField[t]=e,this._publish()},e.prototype.removeRelatedField=function(t){delete this._relatedField[t],this._publish()},e.prototype.resetRelatedField=function(t){this._relatedField=t,this._publish()},e.prototype.toJSON=function(){return{id:this.id,name:this._name,columnType:this._columnType,relatedField:this._relatedField,hidden:this._hidden,width:this._width}},e}(a.default);e.default=l})),lM=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.StringFilterTypes=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(SS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=(0,mS.tuple)("input","select","condition","tag","tree");e.StringFilterTypes=r;var o=function(t){function e(e,n){var a=t.call(this,n)||this;return a.type=e.type,a}return a(e,t),e.createEmptyJSON=function(){return{type:"input"}},e.prototype.toJSON=function(){return{type:this.type}},e}(n.default);e.default=o})),sM=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.convertToSqlConfig=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(lM);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a.type=e.type,a._defaultValue=e.defaultValue,a._placeholder=e.placeholder,a}return a(e,t),e.createEmptyJSON=function(){return{type:"input",defaultValue:"",placeholder:""}},e.createEmpty=function(t){return new e(e.createEmptyJSON(),t)},Object.defineProperty(e.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(t){this._defaultValue=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"placeholder",{get:function(){return this._placeholder},set:function(t){this._placeholder=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:this.type,defaultValue:this._defaultValue,placeholder:this._placeholder})},e}(n.default);e.convertToSqlConfig=function(t){if(t.value)return{op:"**",value:[t.value],options:[]}};var i=o;e.default=i})),cM=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.getOp=e.convertToSqlConfig=e.MatchTypes=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(lM);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=(0,mS.tuple)("contain","startwith","equal");e.MatchTypes=o;var i=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a.type=e.type,a._multiple=e.multiple,a._defaultValue=e.defaultValue,a._matchType=e.matchType,a._source=e.source,a}return a(e,t),e.createEmptyJSON=function(){return r(r({},n.default.createEmptyJSON()),{type:"select",multiple:!1,defaultValue:[],matchType:"contain",source:void 0})},e.createEmpty=function(t){return new e(e.createEmptyJSON(),t)},Object.defineProperty(e.prototype,"multiple",{get:function(){return this._multiple},set:function(t){this._multiple=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"source",{get:function(){return this._source},set:function(t){this._source=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(t){this._defaultValue=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"matchType",{get:function(){return this._matchType},set:function(t){this._matchType=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:this.type,multiple:this._multiple,defaultValue:this._defaultValue,matchType:this._matchType,source:this._source})},e}(n.default);e.convertToSqlConfig=function(t){if(t.value&&(!Array.isArray(t.value)||t.value.find((function(t){return t}))))return{op:"=",value:[],options:t.multiple?t.value:[t.value]}};e.getOp=function(t){switch(t){case"contain":return"**";case"startwith":return"*=";case"equal":return"=";default:return""}};var l=i;e.default=l})),uM=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.convertToSqlConfig=e.ConditionModeTypes=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(lM);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=(0,mS.tuple)("contain","not_contain","startwith","not_startwith","endwith","not_endwith","equal","not_equal","null_str","not_null_str","null","not_null");e.ConditionModeTypes=o;var i=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a.type=e.type,a._defaultValue=e.defaultValue,a._mode=e.mode,a}return a(e,t),e.createEmptyJSON=function(){return r(r({},n.default.createEmptyJSON()),{type:"condition",defaultValue:"",mode:"contain"})},e.createEmpty=function(t){return new e(e.createEmptyJSON(),t)},Object.defineProperty(e.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(t){this._defaultValue=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"mode",{get:function(){return this._mode},set:function(t){this._mode=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:this.type,defaultValue:this._defaultValue,mode:this._mode})},e}(n.default);e.convertToSqlConfig=function(t){if(t.value||["null_str","not_null_str","null","nn"].includes(t.mode))switch(t.mode){case"contain":return{op:"**",value:[t.value],options:[]};case"not_contain":return{op:"!**",value:[t.value],options:[]};case"startwith":return{op:"*=",value:[t.value],options:[]};case"not_startwith":return{op:"!*=",value:[t.value],options:[]};case"endwith":return{op:"=*",value:[t.value],options:[]};case"not_endwith":return{op:"!=*",value:[t.value],options:[]};case"equal":return{op:"=",value:[t.value],options:[]};case"not_equal":return{op:"<>",value:[t.value],options:[]};case"null_str":return{op:"empty",value:[],options:[]};case"not_null_str":return{op:"ne",value:[],options:[]};case"null":return{op:"null",value:[],options:[]};case"not_null":return{op:"nn",value:[],options:[]}}};var l=i;e.default=l})),dM=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(SS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(t){function e(e,n){var a=t.call(this,n)||this;return a._tags=e.tags,a._other=e.other,a}return a(e,t),e.createEmptyJSON=function(){return{tags:"none",other:!1}},e.createEmpty=function(t){return new e(e.createEmptyJSON(),t)},Object.defineProperty(e.prototype,"tags",{get:function(){return this._tags},set:function(t){this._tags=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"other",{get:function(){return this._other},set:function(t){this._other=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return{tags:this._tags,other:this._other}},e}(n.default);e.default=r})),pM=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.convertToSqlConfig=void 0;var n=r(lM),a=r(dM);function r(t){return t&&t.__esModule?t:{default:t}}var o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),i=function(){return i=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},i.apply(this,arguments)},l=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.type=e.type,r._multiple=e.multiple,r._defaultValue=new a.default(e.defaultValue,(function(){return r._publish()})),r._maxTag=e.maxTag,r._maxSelectedTag=e.maxSelectedTag,r._source=e.source,r}return o(e,t),e.createEmptyJSON=function(){return i(i({},n.default.createEmptyJSON()),{type:"tag",multiple:!1,defaultValue:a.default.createEmptyJSON(),maxTag:10,maxSelectedTag:10,source:void 0})},e.createEmpty=function(t){return new e(e.createEmptyJSON(),t)},Object.defineProperty(e.prototype,"multiple",{get:function(){return this._multiple},set:function(t){this._multiple=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(t){this._defaultValue=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maxTag",{get:function(){return this._maxTag},set:function(t){this._maxTag=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maxSelectedTag",{get:function(){return this._maxSelectedTag},set:function(t){this._maxSelectedTag=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"source",{get:function(){return this._source},set:function(t){this._source=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return i(i({},t.prototype.toJSON.call(this)),{type:this.type,multiple:this._multiple,defaultValue:this._defaultValue.toJSON(),maxTag:this._maxTag,maxSelectedTag:this._maxSelectedTag,source:this._source})},e}(n.default);e.convertToSqlConfig=function(t){if(t.value){var e,n="=";return t.multiple?(n=t.value.exclude?"!=":"=",e=t.value.checked):e=[t.value],{op:n,value:[],options:e}}};var s=l;e.default=s})),fM=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.convertToSqlConfig=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(lM);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a.type=e.type,a._source=e.source,a._multiple=e.multiple,a._treeCheckStrictly=e.treeCheckStrictly,a._defaultExpandLevel=e.defaultExpandLevel,a._defaultValue=e.defaultValue,a}return a(e,t),e.createEmptyJSON=function(){return r(r({},n.default.createEmptyJSON()),{type:"tree",source:void 0,treeCheckStrictly:!1,multiple:!1,defaultValue:void 0,defaultExpandLevel:1})},e.createEmpty=function(t){return new e(e.createEmptyJSON(),t)},Object.defineProperty(e.prototype,"multiple",{get:function(){return this._multiple},set:function(t){this._multiple=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"treeCheckStrictly",{get:function(){return this._treeCheckStrictly},set:function(t){this._treeCheckStrictly=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"source",{get:function(){return this._source},set:function(t){this._source=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"defaultExpandLevel",{get:function(){return this._defaultExpandLevel},set:function(t){this._defaultExpandLevel=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(t){this._defaultValue=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:"tree",source:this._source,multiple:this._multiple,treeCheckStrictly:this._treeCheckStrictly,defaultExpandLevel:this._defaultExpandLevel,defaultValue:this._defaultValue})},e}(n.default);e.convertToSqlConfig=function(t){if(t.value&&t.value.find((function(t){return t})))return{op:"=",value:[],options:t.value,level:t.treeCheckStrictly?"mutil":""}};var i=o;e.default=i})),hM=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.convertToSqlConfig=e.StringFilterFactory=void 0;var n=s(sM),a=s(cM),r=s(uM),o=s(pM),i=s(fM);function l(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return l=function(){return t},t}function s(t){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var e=l();if(e&&e.has(t))return e.get(t);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var o=a?Object.getOwnPropertyDescriptor(t,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=t[r]}return n.default=t,e&&e.set(t,n),n}var c={create:function(t,e){switch(t.type){case"input":return new n.default(t,e);case"select":return new a.default(t,e);case"condition":return new r.default(t,e);case"tag":return new o.default(t,e);case"tree":return new i.default(t,e)}},createEmpty:function(t,e){switch(t){case"select":return a.default.createEmpty(e);case"condition":return r.default.createEmpty(e);case"tag":return o.default.createEmpty(e);case"tree":return i.default.createEmpty(e);default:return n.default.createEmpty(e)}}};e.StringFilterFactory=c;e.convertToSqlConfig=function(t){switch(t.type){case"condition":return(0,r.convertToSqlConfig)(t);case"input":return(0,n.convertToSqlConfig)(t);case"select":return(0,a.convertToSqlConfig)(t);case"tag":return(0,o.convertToSqlConfig)(t);case"tree":return(0,i.convertToSqlConfig)(t)}}})),gM=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(iM),a=r(sM);function r(t){return t&&t.__esModule?t:{default:t}}var o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),i=function(){return i=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},i.apply(this,arguments)},l=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a.level=e.level,a._columnType=e.columnType,a._filter=hM.StringFilterFactory.create(e.filter,(function(){return a._publish()})),a}return o(e,t),e.createEmptyJSON=function(t){return i(i({},n.default.createEmptyJSON(t)),{level:t.level,columnType:t.type,filter:a.default.createEmptyJSON()})},e.createEmpty=function(t,n){return new e(e.createEmptyJSON(t),n)},Object.defineProperty(e.prototype,"filter",{get:function(){return this._filter},set:function(t){var e=this;t.setOnChange((function(){return e._publish()})),this._filter=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return i(i({},t.prototype.toJSON.call(this)),{level:this.level,columnType:this._columnType,filter:this._filter.toJSON()})},e}(n.default),s=l;e.default=s})),mM=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.NumberFilterTypes=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(SS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=(0,mS.tuple)("condition","range");e.NumberFilterTypes=r;var o=function(t){function e(e,n){var a=t.call(this,n)||this;return a.type=e.type,a}return a(e,t),e.createEmptyJSON=function(){return{type:"condition"}},e.prototype.toJSON=function(){return{type:this.type}},e}(n.default);e.default=o})),bM=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.convertToSqlConfig=e.ConditionModeTypes=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(mM);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=(0,mS.tuple)("equal","not_equal","great_than","great_equal","less_than","less_equal","null","not_null");e.ConditionModeTypes=o;var i=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a.type=e.type,a._defaultValue=e.defaultValue,a._mode=e.mode,a}return a(e,t),e.createEmptyJSON=function(){return{type:"condition",defaultValue:void 0,mode:"equal"}},e.createEmpty=function(t){return new e(e.createEmptyJSON(),t)},Object.defineProperty(e.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(t){this._defaultValue=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"mode",{get:function(){return this._mode},set:function(t){this._mode=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:this.type,defaultValue:this._defaultValue,mode:this._mode})},e}(n.default);e.convertToSqlConfig=function(t){if(t.value||["null","nn"].includes(t.mode))switch(t.mode){case"equal":return{op:"=",value:[t.value],options:[]};case"not_equal":return{op:"!=",value:[t.value],options:[]};case"great_than":return{op:">",value:[t.value],options:[]};case"great_equal":return{op:">=",value:[t.value],options:[]};case"less_than":return{op:"<",value:[t.value],options:[]};case"less_equal":return{op:"<=",value:[t.value],options:[]};case"null":return{op:"null",value:[],options:[]};case"not_null":return{op:"nn",value:[],options:[]}}};var l=i;e.default=l})),vM=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.convertToSqlConfig=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(mM);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=function(){return r=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)},o=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a.type=e.type,a._defaultValue=e.defaultValue,a}return a(e,t),e.createEmptyJSON=function(){return r(r({},n.default.createEmptyJSON()),{type:"range",defaultValue:[void 0,void 0]})},e.createEmpty=function(t){return new e(e.createEmptyJSON(),t)},Object.defineProperty(e.prototype,"defaultValue",{get:function(){return function(t,e){for(var n=0,a=e.length,r=t.length;n<a;n++,r++)t[r]=e[n];return t}([],this._defaultValue)},set:function(t){this._defaultValue=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return r(r({},t.prototype.toJSON.call(this)),{type:this.type,defaultValue:this._defaultValue})},e}(n.default);e.convertToSqlConfig=function(t){if(t.value[0]||t.value[1])return{op:"between",value:t.value,options:[]}};var i=o;e.default=i})),yM=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.convertToSqlConfig=e.NumberFilterFactory=void 0;var n=o(bM),a=o(vM);function r(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return r=function(){return t},t}function o(t){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var e=r();if(e&&e.has(t))return e.get(t);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var i=a?Object.getOwnPropertyDescriptor(t,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=t[o]}return n.default=t,e&&e.set(t,n),n}var i={create:function(t,e){switch(t.type){case"condition":return new n.default(t,e);case"range":return new a.default(t,e)}},createEmpty:function(t,e){return"condition"===t?n.default.createEmpty(e):a.default.createEmpty(e)}};e.NumberFilterFactory=i;e.convertToSqlConfig=function(t){switch(t.type){case"condition":return(0,n.convertToSqlConfig)(t);case"range":return(0,a.convertToSqlConfig)(t)}}})),xM=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(iM),a=r(bM);function r(t){return t&&t.__esModule?t:{default:t}}var o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),i=function(){return i=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},i.apply(this,arguments)},l=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._columnType=e.columnType,a._filter=yM.NumberFilterFactory.create(e.filter,(function(){return a._publish()})),a}return o(e,t),e.createEmptyJSON=function(t){return i(i({},n.default.createEmptyJSON(t)),{columnType:t.type,filter:a.default.createEmptyJSON()})},e.createEmpty=function(t,n){return new e(e.createEmptyJSON(t),n)},Object.defineProperty(e.prototype,"filter",{get:function(){return this._filter},set:function(t){var e=this;t.setOnChange((function(){return e._publish()})),this._filter=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return i(i({},t.prototype.toJSON.call(this)),{columnType:this._columnType,filter:this._filter.toJSON()})},e}(n.default),s=l;e.default=s})),wM=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DATE_FORMAT=e.FilterTypes=e.TimeFilterTypes=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(SS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=(0,mS.tuple)("datetime","datetime_range");e.TimeFilterTypes=r;var o=(0,mS.tuple)("date","datetime","year","month","day","time");e.FilterTypes=o;e.DATE_FORMAT="YYYY-MM-DD HH:mm:ss";var i=function(t){function e(e,n){var a=t.call(this,n)||this;return a.type=e.type,a._filterType=e.filterType,a}return a(e,t),e.createEmptyJSON=function(t){return{type:"datetime",filterType:t||"date"}},Object.defineProperty(e.prototype,"filterType",{get:function(){return this._filterType},set:function(t){this._filterType=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return{type:this.type,filterType:this.filterType}},e}(n.default);e.default=i})),_M=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DynamicTypes=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(SS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=(0,mS.tuple)("day","week","month","year");e.DynamicTypes=r;var o=function(t){function e(e,n){var a=t.call(this,n)||this;return a._dynamicType=e.dynamicType,a._value=e.value,a}return a(e,t),e.createEmptyJSON=function(){return{dynamicType:"day"}},e.createEmpty=function(t){return new e(e.createEmptyJSON(),t)},Object.defineProperty(e.prototype,"dynamicType",{get:function(){return this._dynamicType},set:function(t){this._dynamicType=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return{dynamicType:this._dynamicType,value:this._value}},e}(n.default);e.default=o})),kM=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.convertToSqlConfig=e.ShortCutsTypes=e.DynamicTimeTypes=void 0;var n=i(FS),a=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var e=o();if(e&&e.has(t))return e.get(t);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var i=a?Object.getOwnPropertyDescriptor(t,r):null;i&&(i.get||i.set)?Object.defineProperty(n,r,i):n[r]=t[r]}n.default=t,e&&e.set(t,n);return n}(wM),r=i(_M);function o(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return o=function(){return t},t}function i(t){return t&&t.__esModule?t:{default:t}}var l=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),s=function(){return s=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},s.apply(this,arguments)},c=function(t,e){for(var n=0,a=e.length,r=t.length;n<a;n++,r++)t[r]=e[n];return t},u=(0,mS.tuple)("current");e.DynamicTimeTypes=u;var d=(0,mS.tuple)("today","yesterday","current");e.ShortCutsTypes=d;var p=function(t){function e(e,o){var i=t.call(this,e,o)||this;switch(i.type=e.type,typeof e.defaultValue){case"string":i._defaultValue=(0,n.default)(e.defaultValue,a.DATE_FORMAT);break;case"object":null===e.defaultValue?i._defaultValue=null:i._defaultValue=new r.default(e.defaultValue,(function(){return i._publish()}));break;default:i._defaultValue=void 0}return i._defaultValueType=e.defaultValueType,i._shortcuts=e.shortcuts,i}return l(e,t),e.createEmptyJSON=function(t){return s(s({},a.default.createEmptyJSON(t)),{type:"datetime",defaultValue:void 0,defaultValueType:"precise",shortcuts:t?[]:d})},e.createEmpty=function(t,n){return new e(e.createEmptyJSON(t),n)},Object.defineProperty(e.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(t){var e=this;t instanceof r.default&&t.setOnChange((function(){return e._publish()})),this._defaultValue=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"defaultValueType",{get:function(){return this._defaultValueType},set:function(t){this._defaultValueType=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shortcuts",{get:function(){return c([],this._shortcuts)},set:function(t){this._shortcuts=c([],t),this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){var e,n=s(s({},t.prototype.toJSON.call(this)),{type:this.type,defaultValueType:this._defaultValueType,shortcuts:this._shortcuts});return this._defaultValue instanceof r.default?n.defaultValue=this._defaultValue.toJSON():null===this._defaultValue?n.defaultValue=null:n.defaultValue=null===(e=this._defaultValue)||void 0===e?void 0:e.format(a.DATE_FORMAT),n},e}(a.default);e.convertToSqlConfig=function(t){if(void 0!==t.value){var e;if("object"==typeof t.value)if(null===t.value)e=(0,n.default)();else if(n.default.isMoment(t.value))e=(0,n.default)(t.value,a.DATE_FORMAT);else if(t.value.dynamicType){switch(e=(0,n.default)(),t.value.dynamicType){case"day":e.add(0-t.value.value,"days");break;case"week":e.add(0-t.value.value,"week");break;case"month":e.add(0-t.value.value,"month");break;case"year":e.add(0-t.value.value,"year")}e.format(a.DATE_FORMAT)}else e=(0,n.default)();else{t.value;try{e=(0,n.default)(t.value)}catch(t){e=(0,n.default)()}}switch(t.filterType){case"date":var r=e.format("YYYY-MM-DD");return{op:"between",value:[r+" 00:00:00",r+" 23:59:59"],options:[]};case"datetime":return{op:"=",value:[e.format("YYYY-MM-DD HH:mm:ss")],options:[]};case"year":return{op:"@only_year",value:[],options:[e.format("YYYY")]};case"month":return{op:"@only_month",value:[],options:[e.format("MM")]};case"day":return{op:"@only_day",value:[],options:[e.format("DD")]};case"time":return{op:"=",value:[e.format("HH:mm:ss")],options:[],dformat:"only_time"}}}};var f=p;e.default=f})),SM=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.TimeColumnSubtypes=e.ColumnTypes=void 0;var n=(0,mS.tuple)("string","time","int","float","double");e.ColumnTypes=n;var a=(0,mS.tuple)("year","month","day","time");e.TimeColumnSubtypes=a})),CM=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.convertToSqlConfig=e.ShortcutsOfTimeTypes=e.ShortcutsOfDayTypes=e.DynamicTimeRangeTypes=void 0;var n=i(FS),a=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var e=o();if(e&&e.has(t))return e.get(t);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var i=a?Object.getOwnPropertyDescriptor(t,r):null;i&&(i.get||i.set)?Object.defineProperty(n,r,i):n[r]=t[r]}n.default=t,e&&e.set(t,n);return n}(wM),r=i(_M);function o(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return o=function(){return t},t}function i(t){return t&&t.__esModule?t:{default:t}}var l=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),s=function(){return s=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},s.apply(this,arguments)},c=function(t,e){for(var n=0,a=e.length,r=t.length;n<a;n++,r++)t[r]=e[n];return t},u=(0,mS.tuple)("today","yesterday","this_week","last_week","this_month","last_month","this_quarter","last_quarter","this_year","last_year","nearly_a_week","nearly_a_month","nearly_a_year");e.DynamicTimeRangeTypes=u;var d=(0,mS.tuple)("today","yesterday","this_week","last_week","this_month","last_month","this_quarter","last_quarter","this_year","last_year","nearly_a_week","nearly_a_month","nearly_a_year");e.ShortcutsOfDayTypes=d;var p=(0,mS.tuple)("nearly_1_min","nearly_5_min","nearly_10_min","nearly_30_min","nearly_1_hour");e.ShortcutsOfTimeTypes=p;var f=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.type=e.type,i._defaultValue=Array.isArray(e.defaultValue)?["string"==typeof e.defaultValue[0]?(0,n.default)(e.defaultValue[0],a.DATE_FORMAT):e.defaultValue[0]&&new r.default(e.defaultValue[0],(function(){return i._publish()})),"string"==typeof e.defaultValue[1]?(0,n.default)(e.defaultValue[1],a.DATE_FORMAT):e.defaultValue[1]&&new r.default(e.defaultValue[1],(function(){return i._publish()}))]:e.defaultValue,i._defaultValueType=e.defaultValueType,i._shortcuts=e.shortcuts,i}return l(e,t),e.createEmptyJSON=function(t){var e=d;return"time"===t?e=p:t&&SM.TimeColumnSubtypes.includes(t)&&(e=[]),s(s({},a.default.createEmptyJSON(t)),{type:"datetime_range",defaultValue:void 0,defaultValueType:void 0,shortcuts:e})},e.createEmpty=function(t,n){return new e(e.createEmptyJSON(t),n)},Object.defineProperty(e.prototype,"defaultValue",{get:function(){return Array.isArray(this._defaultValue)?c([],this._defaultValue):this._defaultValue},set:function(t){var e=this;Array.isArray(t)&&t.forEach((function(t){t instanceof r.default&&t.setOnChange((function(){return e._publish()}))})),this._defaultValue=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"defaultValueType",{get:function(){return this._defaultValueType},set:function(t){this._defaultValueType=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shortcuts",{get:function(){return c([],this._shortcuts)},set:function(t){this._shortcuts=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){var e,n;return s(s({},t.prototype.toJSON.call(this)),{type:this.type,defaultValue:Array.isArray(this._defaultValue)?[this._defaultValue[0]instanceof r.default?this._defaultValue[0].toJSON():null===(e=this._defaultValue[0])||void 0===e?void 0:e.format(a.DATE_FORMAT),this._defaultValue[1]instanceof r.default?this._defaultValue[1].toJSON():null===(n=this._defaultValue[1])||void 0===n?void 0:n.format(a.DATE_FORMAT)]:this._defaultValue,defaultValueType:this._defaultValueType,shortcuts:this._shortcuts})},e}(a.default);e.convertToSqlConfig=function(t){if(t.value&&(!Array.isArray(t.value)||t.value[0]||t.value[1])){var e=[void 0,void 0];if(Array.isArray(t.value))e=t.value;else if("object"==typeof t.value)e=["string"==typeof t.value[0]?(0,n.default)(t.value[0],a.DATE_FORMAT):void 0,"string"==typeof t.value[1]?(0,n.default)(t.value[1],a.DATE_FORMAT):void 0];else switch(t.value){case"today":e=[(0,n.default)().startOf("d"),(0,n.default)().endOf("d")];break;case"yesterday":e=[(0,n.default)().add(-1,"days").startOf("d"),(0,n.default)().add(-1,"days").endOf("d")];break;case"this_week":e=[(0,n.default)().startOf("isoWeeks").startOf("d"),(0,n.default)().endOf("isoWeeks").endOf("d")];break;case"last_week":e=[(0,n.default)().add(-7,"day").startOf("isoWeeks").startOf("d"),(0,n.default)().add(-7,"day").endOf("isoWeeks").endOf("d")];break;case"this_month":e=[(0,n.default)().startOf("month").startOf("d"),(0,n.default)().endOf("month").endOf("d")];break;case"last_month":e=[(0,n.default)().add(-1,"month").startOf("month").startOf("d"),(0,n.default)().add(-1,"month").endOf("month").endOf("d")];break;case"this_quarter":e=[(0,n.default)().startOf("quarter").startOf("d"),(0,n.default)().endOf("quarter").endOf("d")];break;case"last_quarter":e=[(0,n.default)().add(-1,"quarter").startOf("quarter").startOf("d"),(0,n.default)().add(-1,"quarter").endOf("quarter").endOf("d")];break;case"this_year":e=[(0,n.default)().startOf("year").startOf("d"),(0,n.default)().endOf("year").endOf("d")];break;case"last_year":e=[(0,n.default)().add(-1,"year").startOf("year").startOf("d"),(0,n.default)().add(-1,"year").endOf("year").endOf("d")];break;case"nearly_a_week":e=[(0,n.default)().add(1,"day").add(-1,"week"),(0,n.default)()];break;case"nearly_a_month":e=[(0,n.default)().add(1,"day").add(-1,"month"),(0,n.default)()];break;case"nearly_a_year":e=[(0,n.default)().add(1,"day").add(-1,"year"),(0,n.default)()]}switch(t.filterType){case"date":return{op:"between",value:[e[0]?e[0].format("YYYY-MM-DD")+" 00:00:00":void 0,e[1]?e[1].format("YYYY-MM-DD")+" 23:59:59":void 0],options:[]};case"datetime":return{op:"between",value:[e[0]?e[0].format("YYYY-MM-DD HH:mm:ss"):void 0,e[1]?e[1].format("YYYY-MM-DD HH:mm:ss"):void 0],options:[]}}}};var h=f;e.default=h})),MM=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.convertToSqlConfig=e.TimeFilterFactory=void 0;var n=o(kM),a=o(CM);function r(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return r=function(){return t},t}function o(t){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var e=r();if(e&&e.has(t))return e.get(t);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var i=a?Object.getOwnPropertyDescriptor(t,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=t[o]}return n.default=t,e&&e.set(t,n),n}var i={create:function(t,e){switch(t.type){case"datetime":return new n.default(t,e);case"datetime_range":return new a.default(t,e)}},createEmpty:function(t,e,r){return"datetime"===e?n.default.createEmpty(t,r):a.default.createEmpty(t,r)}};e.TimeFilterFactory=i;e.convertToSqlConfig=function(t){switch(t.type){case"datetime":return(0,n.convertToSqlConfig)(t);case"datetime_range":return(0,a.convertToSqlConfig)(t)}}})),OM=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"convertToSqlConfig",{enumerable:!0,get:function(){return MM.convertToSqlConfig}}),e.default=e.DATE_FORMAT=void 0;var n=r(iM),a=r(kM);function r(t){return t&&t.__esModule?t:{default:t}}var o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),i=function(){return i=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},i.apply(this,arguments)};e.DATE_FORMAT="YYYY-MM-DD HH:mm:ss";var l=function(t){function e(e,n){var a=t.call(this,e,n)||this;return a._columnType=e.columnType,a._filter=MM.TimeFilterFactory.create(e.filter,(function(){return a._publish()})),a}return o(e,t),e.createEmptyJSON=function(t){return i(i({},n.default.createEmptyJSON(t)),{columnType:t.type,filter:a.default.createEmptyJSON(t.subtype)})},e.createEmpty=function(t,n){return new e(e.createEmptyJSON(t),n)},Object.defineProperty(e.prototype,"filter",{get:function(){return this._filter},set:function(t){var e=this;t.setOnChange((function(){return e._publish()})),this._filter=t,this._publish()},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return i(i({},t.prototype.toJSON.call(this)),{columnType:this._columnType,filter:this._filter.toJSON()})},e}(n.default),s=l;e.default=s})),EM=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.FieldFactory=void 0;var n=o(gM),a=o(xM),r=o(OM);function o(t){return t&&t.__esModule?t:{default:t}}var i={create:function(t,e){switch(t.columnType){case"string":return new n.default(t,e);case"int":case"float":case"double":return new a.default(t,e);case"time":return new r.default(t,e)}},createEmpty:function(t,e){switch(t.type){case"string":return n.default.createEmpty(t,e);case"int":case"float":case"double":return a.default.createEmpty(t,e);case"time":return r.default.createEmpty(t,e)}}};e.FieldFactory=i})),TM=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(EM).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===EM[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return EM[t]}}))}))})),DM=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.convertToSqlConfig=void 0;var n=i(nM),a=i(aM),r=i(rM),o=i(oM);function i(t){return t&&t.__esModule?t:{default:t}}var l=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),s=function(){return s=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},s.apply(this,arguments)},c=function(t){function e(e,n,i,l){var s=t.call(this,e,n,i,l)||this;return s.type=e.type,s._showSearchBtn=e.showSearchBtn,s._showClearBtn=e.showClearBtn,s._showResetBtn=e.showResetBtn,s._height=e.height,s.title=new r.default(e.title,(function(){return s._publish()})),s.comment=new o.default(e.comment,(function(){return s._publish()})),s.label=new a.default(e.label,(function(){return s._publish()})),s._fields=e.fields.map((function(t){return TM.FieldFactory.create(t,(function(){return s._publish()}))})),s}return l(e,t),e.createEmptyJSON=function(){return s(s({},n.default.createEmptyJSON()),{name:"查询组件",type:"filter",title:r.default.createEmptyJSON(),comment:o.default.createEmptyJSON(),label:a.default.createEmptyJSON(),height:!1,fields:[],showSearchBtn:!1,showClearBtn:!1,showResetBtn:!1})},e.createEmpty=function(t,n,a){return new e(e.createEmptyJSON(),t,n,a)},Object.defineProperty(e.prototype,"showSearchBtn",{get:function(){return this._showSearchBtn},set:function(t){this._showSearchBtn=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"showClearBtn",{get:function(){return this._showClearBtn},set:function(t){this._showClearBtn=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"showResetBtn",{get:function(){return this._showResetBtn},set:function(t){this._showResetBtn=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fields",{get:function(){return function(t,e){for(var n=0,a=e.length,r=t.length;n<a;n++,r++)t[r]=e[n];return t}([],this._fields)},enumerable:!1,configurable:!0}),e.prototype.addField=function(t,e){var n=this;t.setOnChange((function(){return n._publish()})),e?this._fields.splice(e,0,t):this._fields.push(t),this._publish()},e.prototype.setField=function(t,e){var n=this;e.setOnChange((function(){return n._publish()})),this._fields.splice(t,1,e),this._publish()},e.prototype.removeField=function(t){this._fields.splice(t,1),this._publish()},e.prototype.replaceFields=function(t){var e=this;this._fields=t.map((function(t){return t.setOnChange((function(){return e._publish()})),t})),this._publish()},e.prototype.toJSON=function(){return s(s({},t.prototype.toJSON.call(this)),{type:this.type,showSearchBtn:this._showSearchBtn,showClearBtn:this._showClearBtn,showResetBtn:this._showResetBtn,height:this._height,title:this.title.toJSON(),comment:this.comment.toJSON(),label:this.label.toJSON(),fields:this._fields.map((function(t){return t.toJSON()}))})},e}(n.default);e.convertToSqlConfig=function(t,e){var n,a=e.table,r=e.column;switch(t.columnType){case"string":n=(0,hM.convertToSqlConfig)(t.filter);break;case"int":case"float":case"double":n=(0,yM.convertToSqlConfig)(t.filter);break;case"time":n=(0,MM.convertToSqlConfig)(t.filter)}if(n)return{key:a+"."+r,type:t.columnType,filter:[n]}};var u=c;e.default=u})),IM=function(){function t(){av(this,t),this._subscribers={}}return ov(t,[{key:"publish",value:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),a=1;a<e;a++)n[a-1]=arguments[a];var r;null===(r=this._subscribers[t])||void 0===r||r.forEach((function(t){return t.apply(void 0,n)}))}},{key:"addEventListener",value:function(t,e){this._subscribers[t]||(this._subscribers[t]=[]),this._subscribers[t].push(e)}},{key:"removeEventListener",value:function(t,e){this._subscribers[t]=this._subscribers[t].filter((function(t){return t!==e}))}}]),t}(),PM=IM;function NM(t,e){var n,a;if(0===e.length)return t;for(n=0,a=e.length;n<a;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return t<0?-2*t:t}function AM(t,e,n,a){var r,o=NM(NM(NM(t,n),(r=e,Object.prototype.toString.call(r))),typeof e);if(null===e)return NM(o,"null");if(void 0===e)return NM(o,"undefined");if("object"==typeof e||"function"==typeof e){if(-1!==a.indexOf(e))return NM(o,"[Circular]"+n);a.push(e);var i=function(t,e,n){return Object.keys(e).sort().reduce((function(t,a){return AM(t,e[a],a,n)}),t)}(o,e,a);if(!("valueOf"in e)||"function"!=typeof e.valueOf)return i;try{return NM(i,String(e.valueOf()))}catch(t){return NM(i,"[valueOf exception]"+(t.stack||t.message))}}return NM(o,e.toString())}var zM=function(t){return function(t,e){for(;t.length<e;)t="0"+t;return t}(AM(0,t,"",[]).toString(16),8)},RM=window&&window.__awaiter||function(t,e,n,a){return new(n||(n=Promise))((function(r,o){function i(t){try{s(a.next(t))}catch(t){o(t)}}function l(t){try{s(a.throw(t))}catch(t){o(t)}}function s(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(i,l)}s((a=a.apply(t,e||[])).next())}))};function LM(e,n,a){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=t.useMemo((function(){return{immediate:o.immediate||!0}}),[o]),l=t.useRef(n.dataConfig),s=t.useReducer((function(t,e){return e.dataConfig&&(l.current=e.dataConfig),z(z({},t),e)}),n),c=N(s,2),u=c[0],d=c[1],p=t.useState(void 0),f=N(p,2),h=f[0],g=f[1],m=t.useReducer((function(t,e){var n=N(e,2),a=n[0],r=n[1];return z(z({},t),fS({},a,r))}),{}),b=N(m,2),v=b[0],y=b[1],x=t.useMemo((function(){return new PM}),[]);t.useEffect((function(){var t=function(t,n){var a=l.current,r=[];n.forEach((function(t){var n=t.filter,o=t.relatedField;if(o[e]){var i=DM.convertToSqlConfig(n,{table:a.source.table,column:o[e]});i&&r.push(i)}})),y([t,r])};return x.addEventListener("onFilter",t),function(){x.removeEventListener("onFilter",t)}}),[e,x]);var w=t.useState(),_=N(w,2),k=_[0],S=_[1];t.useEffect((function(){var t=function(t){S(t)};return x.addEventListener("onIndicatorCardDataRangeChange",t),function(){x.removeEventListener("onIndicatorCardDataRangeChange",t)}}),[e,x]),t.useEffect((function(){return a.addEventListener(e,x),function(){a.removeEventListener(e,x)}}),[e,a,x]);var C=t.useRef({godivaParamsHash:"",data:void 0}),M=t.useCallback((function(){return RM(r,void 0,void 0,ru.mark((function t(){var n,a,r,o,i,l,s,c,d,p,f,h;return ru.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=u.dataConfig,o=u.extraDataConfig,i=void 0===o?{}:o,l=u.data,s=u.getDataFromGodiva,!l){t.next=5;break}return C.current={godivaParamsHash:"",data:void 0},g({total:l.total,data:i?l.data.slice(i.dataStart,i.dataCount):l.data}),t.abrupt("return");case 5:if(s){t.next=9;break}return C.current={godivaParamsHash:"",data:void 0},g(void 0),t.abrupt("return");case 9:t.t0=r.type,t.next="dataConfig"===t.t0?12:"api"===t.t0||"json"===t.t0?46:49;break;case 12:if(c=eM.convertToSqlConfig(r)){t.next=17;break}return C.current={godivaParamsHash:"",data:void 0},g(void 0),t.abrupt("return");case 17:if((null===(a=null===(n=c.criteria)||void 0===n?void 0:n[0])||void 0===a?void 0:a.filter[0])&&k&&(c.criteria[0].filter[0].value=k),Object.values(v).forEach((function(t){t&&(c.criteria=c.criteria.concat(t))})),d={config:c,key:e},void 0!==i.dataStart&&(d.st=i.dataStart),void 0!==i.dataCount&&(d.pp=i.dataCount),i.isSummary&&(d.isSummary=!0,d.expr=i.expr),(p=zM(d))===C.current.godivaParamsHash){t.next=45;break}if(C.current={godivaParamsHash:p,data:void 0},!i.isSummary||0!==i.expr.length){t.next=31;break}return f={data:[],total:0},C.current.data=f,g(f),t.abrupt("return");case 31:if(c.criteria)try{window["godiva_filters_".concat(e)]=JSON.parse(JSON.stringify(c.criteria))}catch(t){console.error("godiva_filters_".concat(e," 保存出错 ").concat(String(t)))}return t.prev=32,t.next=35,s(d);case 35:h=t.sent,C.current.data=h,g(h),t.next=45;break;case 40:t.prev=40,t.t1=t.catch(32),console.error(t.t1),C.current.data=void 0,g(void 0);case 45:return t.abrupt("return");case 46:return C.current={godivaParamsHash:"",data:void 0},g(void 0),t.abrupt("return");case 49:case"end":return t.stop()}}),t,null,[[32,40]])})))}),[u,v,k,e]),O=t.useRef(i.immediate),E=t.useRef({loading:!1,nextGetData:void 0});return t.useEffect((function(){if(O.current)if(E.current.loading)E.current.nextGetData=M;else{E.current.loading=!0;M().then((function t(){if(E.current.nextGetData){var e=E.current.nextGetData;E.current.nextGetData=void 0,e().then(t)}else E.current.loading=!1}))}else O.current=!0}),[M]),[h,d]}function jM(t,e){var n=t,a=void 0;if(e.nullVal&&!t){switch(a=void 0,e.nullVal){case"null":n="null";break;case"strikethrough":n="-";break;case"zero":n="0"}return{text:n,number:a}}return a=parseFloat(n),"string"===e.type||"time"===e.type?{text:n,number:a}:isNaN(a)?{text:n,number:void 0}:e.dataFormat?uC.formatData(a,e.dataFormat):{text:a.toString(),number:a}}var FM={ascend:"asc",descend:"desc",null:null,asc:"ascend",desc:"descend"},BM=function(t,e,n){var a={key:t.id,dataIndex:t.alias,ellipsis:!0,width:(null==n?void 0:n.width)||120,title:i.default.createElement("div",null,t.alias,t.showComment&&t.comment&&i.default.createElement(Uh,{title:t.comment},i.default.createElement("span",null,i.default.createElement(nt,null)))),render:function(e){return jM(e,t).text}};return e&&(a.sorter={multiple:1},a.sortOrder=FM[t.orderBy||"null"]),a},VM=function(e,n){var a=t.useState((function(){var t=[];return e.data.group.forEach((function(e){FM[e.orderBy]&&t.push({columnKey:e.id,order:FM[e.orderBy]})})),e.data.value.forEach((function(e){FM[e.orderBy]&&t.push({columnKey:e.id,order:FM[e.orderBy]})})),t})),r=N(a,2),o=r[0],l=r[1],s=t.useState(e),c=N(s,2),u=c[0],d=c[1],p=t.useState(n),f=N(p,2),h=f[0],g=f[1],m=t.useCallback((function(t){var e=t.config,n=t.data,a=t.sorter;e&&d(e),n&&g(n),a&&l(a)}),[]),b=t.useState([]),v=N(b,2),y=v[0],x=v[1],w=t.useRef(void 0),_=t.useRef(void 0);t.useEffect((function(){var t=[].concat(Cv((u.data.group||[]).map((function(t){var e;return z(z({},BM(t,u.sortable,null===(e=null==u?void 0:u.columns)||void 0===e?void 0:e[t.id])),{gapperCustom:t.dataFormat})}))),Cv(u.data.value.map((function(t){var e;return z(z({},BM(t,u.sortable,null===(e=null==u?void 0:u.columns)||void 0===e?void 0:e[t.id])),{gapperCustom:t.dataFormat})}))));t.forEach((function(t){var e=o.find((function(e){return e.columnKey===t.key}));e?t.sortOrder=e.order:delete t.sortOrder}));var e=!1,n=zM(t);if(n!==w.current&&(w.current=n,e=!0),u.cell.merge&&h.length>0&&Array.isArray(u.data.group)&&u.data.group.length>0){var a=zM(t);if(a!==_.current){_.current=a,e=!0;var r=u.data.group,i=r.map((function(t){return t.alias}));r.forEach((function(e,n){var a=i.slice(0,n+1);t[n].render=function(t,n,r){if(!(r>=h.length)){if(r>0&&a.every((function(t){return h[r-1]&&h[r-1][t]===h[r][t]})))return{props:{rowSpan:0,colSpan:0},children:null};for(var o=1,i=function(t){if(!a.every((function(e){return h[t][e]===n[e]})))return"break";o++},l=r+1;l<h.length;l++){if("break"===i(l))break}var s=jM(t,e).text;return{props:{rowSpan:o,colSpan:1},children:s}}}}))}}else _.current=void 0;e&&x(t)}),[u,h,o]);var k=t.useState([]),S=N(k,2),C=S[0],M=S[1],O=t.useRef(void 0);return t.useEffect((function(){if(0!==y.length){var t={baseColumns:y,stack:u.stack,fixed:u.cell.fixed,showIndex:u.showIndex,header:u.tableHeader,border:u.tableBorder,indexAlias:u.indexAlias,indexWidth:u.indexWidth},e=zM(t);if(e!==O.current){O.current=e;var n=y.map((function(t){return z({},t)})),a=n.length;t.stack.enabled&&t.stack.params.forEach((function(t){var e=t.name,a=t.fields,r=n.length+1,o=a.map((function(t){var e=n.findIndex((function(e){return e.key===t}));e<r&&(r=e);var a=n.splice(e,1);return N(a,1)[0]}));n.splice(r,0,{key:gS(),title:i.default.createElement("div",{className:"gcs-table-customHeader-".concat(u.key)},e),children:o})}));var r=t.fixed,o=r.left,l=r.right;if(o)for(var s=0,c=0;c<o;)n[s].fixed="left",Reflect.has(n[s],"children")?c+=n[s].children.length:c+=1,s++;if(l)for(var d=n.length-1,p=a;p>=l;)n[d].fixed="right",Reflect.has(n[d],"children")?p-=n[d].children.length:p-=1,d--;t.showIndex&&n.unshift({title:i.default.createElement("div",{className:"gcs-table-customHeader-".concat(u.key)},t.indexAlias),key:"__index",dataIndex:"__index",width:t.indexWidth||60,fixed:"left",render:function(t,e,n){return n+1}}),M(n)}}else M([])}),[y,u]),[C,m]},YM=function(t,e){var n,a=t.filters.find((function(t){return t.id===e}));if(a)return a;switch(t.configType){case"progress":t.progresses.find((function(t){var n=t.origin,r=t.target;return n.id===e?(a=n,!0):null!==r&&"object"===Ji(r)&&r.id===e?(a=r,!0):void 0}));break;case"dimension":(a=null===(n=t.group)||void 0===n?void 0:n.find((function(t){return t.id===e})))||(a=t.value.find((function(t){return t.id===e})))}return a},HM=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n},WM=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.children?e.children.forEach((function(e){return t(e,n)})):n.push(e),n},UM=t.forwardRef((function(e){var n=e.component,a=e.data,r=e.getDataFromGodiva,o=e.eventDistributor,l=t.useState([]),s=N(l,2),c=s[0],u=s[1],d=t.useState({}),p=N(d,2),f=p[0],h=p[1],g=t.useState(0),m=N(g,2),b=m[0],v=m[1],y=LM(n.key,{dataConfig:n.data,extraDataConfig:{dataStart:0,dataCount:n.pagination.pageSize},data:a,getDataFromGodiva:r},o),x=N(y,2),w=x[0],_=x[1],k=LM(n.key,{dataConfig:n.data,extraDataConfig:{dataStart:0,dataCount:1,isSummary:!0,expr:[]},data:a,getDataFromGodiva:r},o),S=N(k,2),C=S[0],M=S[1],O=VM(n,c),E=N(O,2),T=E[0],D=E[1];t.useEffect((function(){D({config:n})}),[n]),t.useEffect((function(){D({data:c})}),[c]);var I=t.useState({current:1,pageSize:n.pagination.pageSize}),P=N(I,2),A=P[0],R=P[1],L=t.useState((function(){var t=[];return n.data.group.forEach((function(e){FM[e.orderBy]&&t.push({columnKey:e.id,order:FM[e.orderBy]})})),n.data.value.forEach((function(e){FM[e.orderBy]&&t.push({columnKey:e.id,order:FM[e.orderBy]})})),t})),j=N(L,2),F=j[0],B=j[1];t.useEffect((function(){n.data.group.forEach((function(t){var e=F.find((function(e){return e.columnKey===t.id}));t.orderBy=e?FM[e.order]:"none"})),n.data.value.forEach((function(t){var e=F.find((function(e){return e.columnKey===t.id}));t.orderBy=e?FM[e.order]:"none"})),_({dataConfig:n.data}),M({dataConfig:n.data})}),[n.data,F]),t.useEffect((function(){_({data:a}),M({data:a})}),[a]),t.useEffect((function(){_({getDataFromGodiva:r}),M({getDataFromGodiva:r})}),[r]),t.useEffect((function(){R((function(t){return{current:1,pageSize:t.pageSize}}))}),[n.dataRange.start,n.dataRange.end]),t.useEffect((function(){var t={dataStart:(A.current-1)*A.pageSize,dataCount:A.pageSize};n.dataRange.start&&(t.dataStart=n.dataRange.start-1+(A.current-1)*A.pageSize),n.dataRange.end&&t.dataStart+t.dataCount>n.dataRange.end&&(t.dataCount=n.dataRange.end-t.dataStart),t.dataCount>=0&&_({extraDataConfig:t})}),[A,n.dataRange.start,n.dataRange.end]),t.useEffect((function(){M({extraDataConfig:{dataStart:0,dataCount:1,isSummary:!0,expr:Object.keys(n.summary.expr).map((function(t){if("none"!==n.summary.expr[t]){var e={},a=YM(n.data,t);return a&&(e.key="".concat(a.source.table,".").concat(a.source.column),e.alias=a.alias,e.expr=n.summary.expr[t]),e}})).filter(Boolean)}})}),[n.summary]),t.useEffect((function(){R((function(t){return t.pageSize===n.pagination.pageSize?t:{current:1,pageSize:n.pagination.pageSize}}))}),[n.pagination]),t.useEffect((function(){if(!w)return u([]),void v(0);var t=w.data,e=w.total;u(t.map((function(t,e){return z({key:e},t)}))),n.dataRange.start||n.dataRange.end?n.dataRange.start&&n.dataRange.end?v(n.dataRange.end-n.dataRange.start+1):n.dataRange.start&&!n.dataRange.end?v(e-n.dataRange.start+1):!n.dataRange.start&&n.dataRange.end&&v(Math.min(e,n.dataRange.end)):v(e)}),[w,n.dataRange.start,n.dataRange.end]),t.useEffect((function(){if(C){var t=C.data;h(z(z({},t[0]),{__index:n.summary.name||"合计"}))}else h([])}),[C,n.data,n.summary.name]);var V=t.useCallback((function(t){return n.pagination.showTotal||n.pagination.showTotalPage?i.default.createElement("div",{className:"gcs-pagination-text"},n.pagination.showTotalPage&&i.default.createElement("div",{key:"pageNumber"},"共 ",i.default.createElement("span",{key:"pageNumber"},Math.ceil(t/A.pageSize)||1)," 页"),n.pagination.showTotal&&n.pagination.showTotalPage&&i.default.createElement("span",{key:"separator"},", "),n.pagination.showTotal&&i.default.createElement("div",{key:"total"},i.default.createElement("span",{key:"total"},t)," 条")):null}),[n.pagination]),Y=t.useMemo((function(){return"\n       \n      \n      .gcs-table-wrapper .gcs-table .gcs-table-".concat(n.key," .ant-table > .ant-table-container > .ant-table-content > table,\n      .gcs-table-wrapper .gcs-table .gcs-table-").concat(n.key," .ant-table > .ant-table-container > .ant-table-header > table {\n        border-top: ").concat(n.tableBorder.width,"px ").concat(n.tableBorder.type||"solid"," ").concat(n.tableBorder.hasHorizontalBorder?n.tableBorder.borderColor:"transparent",";\n      }\n      .gcs-table-wrapper .gcs-table .gcs-table-").concat(n.key," .ant-table-container {\n        border-left: ").concat(n.tableBorder.width,"px ").concat(n.tableBorder.type||"solid"," ").concat(n.tableBorder.hasVerticalBorder?n.tableBorder.borderColor:"transparent",";\n      }\n      .gcs-table-wrapper .gcs-table .gcs-table-").concat(n.key," table tr > th {\n        height: ").concat(n.tableHeader.height,"px;\n        font-size: ").concat(n.tableHeader.fontSize,"px;\n        font-weight: ").concat(n.tableHeader.fontWeight,";\n        color: ").concat(n.tableHeader.color,";\n        text-align: ").concat(n.tableHeader.textAlign,";\n        background: ").concat(n.tableHeader.bgColor,";\n        border-right: ").concat(n.tableBorder.width,"px ").concat(n.tableBorder.type||"solid"," ").concat(n.tableBorder.hasVerticalBorder?n.tableBorder.borderColor:"transparent",";\n        border-bottom: ").concat(n.tableBorder.width,"px ").concat(n.tableBorder.type||"solid"," ").concat(n.tableBorder.hasHorizontalBorder?n.tableBorder.borderColor:"transparent",";\n        padding: 0 16px;\n      }\n    ")}),[n.key,n.tableHeader,n.tableBorder]),H=t.useMemo((function(){return"\n      .gcs-table-wrapper .gcs-table .gcs-table-".concat(n.key," table tr > td {\n        padding: 0;\n        height: ").concat(n.tableBody.height,"px;\n        font-size: ").concat(n.tableBody.fontSize,"px;\n        font-weight: ").concat(n.tableBody.fontWeight,";\n        color: ").concat(n.tableBody.color,";\n        text-align: ").concat(n.tableBody.textAlign,";\n        vertical-align: ").concat(n.tableBody.verticalAlign,";\n        border-right: ").concat(n.tableBorder.width,"px ").concat(n.tableBorder.type||"solid"," ").concat(n.tableBorder.hasVerticalBorder?n.tableBorder.borderColor:"transparent",";\n        border-bottom: ").concat(n.tableBorder.width,"px ").concat(n.tableBorder.type||"solid"," ").concat(n.tableBorder.hasHorizontalBorder?n.tableBorder.borderColor:"transparent",";\n      }\n      .gcs-table-wrapper .gcs-table .gcs-table-").concat(n.key," table tr:nth-child(even) > td {\n        background-color: ").concat(n.tableBody.oddColor,";\n      }\n      .gcs-table-wrapper .gcs-table .gcs-table-").concat(n.key," table tr:nth-child(odd) > td {\n        background-color: ").concat(n.tableBody.evenColor,";\n      }\n      .gcs-table-wrapper .gcs-table .gcs-table-").concat(n.key," .ant-table {\n        background-color: unset;\n      }\n    ")}),[n.key,n.tableBody,n.tableBorder]),W=t.useRef();t.useEffect((function(){W.current.resize()}),[n.style]);var U=t.useCallback((function(){if(!n.summary.show)return null;var t=f.__index,e=HM(f,["__index"]),a=[];return T.filter((function(t){return"__index"!==t.dataIndex})).forEach((function(t){var n=WM(t);a.push.apply(a,Cv(n.map((function(t){return{key:t.dataIndex,value:e[t.dataIndex]}}))))})),i.default.createElement(dS.Summary,{fixed:!0},i.default.createElement(dS.Summary.Row,null,i.default.createElement(dS.Summary.Cell,{index:0},t),a.map((function(t,e){var n=t.key,a=t.value;return i.default.createElement(dS.Summary.Cell,{key:n,index:e+1},a)}))))}),[n.summary,f]),G=t.useCallback((function(t,e,n){n=Array.isArray(n)?n:[n],B(n),D({sorter:n})}),[]),K=t.useMemo((function(){var t={};return n.position&&Array.isArray(n.position)&&4===n.position.map((function(t){return["string","number"].includes(Ji(t))})).filter(Boolean).length&&(t.padding=n.position.map((function(t){return"".concat(t||0,"px")})).join(" ")),t}),[n.position]);return i.default.createElement("div",{className:"gcs-table-wrapper",style:K},i.default.createElement("div",{className:"gcs-table"},i.default.createElement(wv,{ref:W,scrollX:!0,scrollY:!0},i.default.createElement(dS,{className:"gcs-table-".concat(n.key),columns:T,dataSource:c,pagination:!1,showSorterTooltip:!1,summary:U,onChange:G}))),!!n.pagination.show&&i.default.createElement("div",{className:"gcs-pagination"},i.default.createElement(Xw,{size:"small",current:A.current,total:b,showTotal:V,showSizeChanger:!1,pageSize:A.pageSize,onChange:function(t,e){R((function(n){return{current:t,pageSize:e||n.pageSize}}))}}),n.pagination.showPageSize&&i.default.createElement(jw,{size:"small",value:A.pageSize,options:[{label:"10 条/页",value:10},{label:"20 条/页",value:20},{label:"50 条/页",value:50}],onChange:function(t){R((function(e){return{current:e.current,pageSize:t}}))}})),i.default.createElement("div",{dangerouslySetInnerHTML:{__html:"\n          <style>\n            ".concat(Y,"\n            ").concat(H,"\n          </style>\n        ")}}))})),GM=UM,KM=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},qM=new function(){this.browser=new KM,this.node=!1,this.wxa=!1,this.worker=!1,this.canvasSupported=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(qM.wxa=!0,qM.canvasSupported=!0,qM.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?(qM.worker=!0,qM.canvasSupported=!0):"undefined"==typeof navigator?(qM.node=!0,qM.canvasSupported=!0,qM.svgSupported=!0):function(t,e){var n=e.browser,a=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),i=/micromessenger/i.test(t);a&&(n.firefox=!0,n.version=a[1]);r&&(n.ie=!0,n.version=r[1]);o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18);i&&(n.weChat=!0);e.canvasSupported=!!document.createElement("canvas").getContext,e.svgSupported="undefined"!=typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!=typeof document;var l=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in l||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in l)&&!("OTransition"in l),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,qM);var XM=qM,ZM={"[object Function]":!0,"[object RegExp]":!0,"[object Date]":!0,"[object Error]":!0,"[object CanvasGradient]":!0,"[object CanvasPattern]":!0,"[object Image]":!0,"[object Canvas]":!0},JM={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0},$M=Object.prototype.toString,QM=Array.prototype,tO=QM.forEach,eO=QM.filter,nO=QM.slice,aO=QM.map,rO=function(){}.constructor,oO=rO?rO.prototype:null,iO="__proto__",lO={};function sO(t,e){lO[t]=e}var cO=2311;function uO(){return cO++}function dO(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!=typeof console&&console.error.apply(console,t)}function pO(t){if(null==t||"object"!=typeof t)return t;var e=t,n=$M.call(t);if("[object Array]"===n){if(!$O(t)){e=[];for(var a=0,r=t.length;a<r;a++)e[a]=pO(t[a])}}else if(JM[n]){if(!$O(t)){var o=t.constructor;if(o.from)e=o.from(t);else{e=new o(t.length);for(a=0,r=t.length;a<r;a++)e[a]=pO(t[a])}}}else if(!ZM[n]&&!$O(t)&&!jO(t))for(var i in e={},t)t.hasOwnProperty(i)&&i!==iO&&(e[i]=pO(t[i]));return e}function fO(t,e,n){if(!zO(e)||!zO(t))return n?pO(e):t;for(var a in e)if(e.hasOwnProperty(a)&&a!==iO){var r=t[a],o=e[a];!zO(o)||!zO(r)||DO(o)||DO(r)||jO(o)||jO(r)||RO(o)||RO(r)||$O(o)||$O(r)?!n&&a in t||(t[a]=pO(e[a])):fO(r,o,n)}return t}function hO(t,e){for(var n=t[0],a=1,r=t.length;a<r;a++)n=fO(n,t[a],e);return n}function gO(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&n!==iO&&(t[n]=e[n]);return t}function mO(t,e,n){for(var a=OO(e),r=0;r<a.length;r++){var o=a[r];(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}return t}var bO=function(){return lO.createCanvas()};function vO(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,a=t.length;n<a;n++)if(t[n]===e)return n}return-1}function yO(t,e){var n=t.prototype;function a(){}for(var r in a.prototype=e.prototype,t.prototype=new a,n)n.hasOwnProperty(r)&&(t.prototype[r]=n[r]);t.prototype.constructor=t,t.superClass=e}function xO(t,e,n){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var a=Object.getOwnPropertyNames(e),r=0;r<a.length;r++){var o=a[r];"constructor"!==o&&(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}else mO(t,e,n)}function wO(t){return!!t&&("string"!=typeof t&&"number"==typeof t.length)}function _O(t,e,n){if(t&&e)if(t.forEach&&t.forEach===tO)t.forEach(e,n);else if(t.length===+t.length)for(var a=0,r=t.length;a<r;a++)e.call(n,t[a],a,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o,t)}function kO(t,e,n){if(!t)return[];if(!e)return GO(t);if(t.map&&t.map===aO)return t.map(e,n);for(var a=[],r=0,o=t.length;r<o;r++)a.push(e.call(n,t[r],r,t));return a}function SO(t,e,n,a){if(t&&e){for(var r=0,o=t.length;r<o;r++)n=e.call(a,n,t[r],r,t);return n}}function CO(t,e,n){if(!t)return[];if(!e)return GO(t);if(t.filter&&t.filter===eO)return t.filter(e,n);for(var a=[],r=0,o=t.length;r<o;r++)e.call(n,t[r],r,t)&&a.push(t[r]);return a}function MO(t,e,n){if(t&&e)for(var a=0,r=t.length;a<r;a++)if(e.call(n,t[a],a,t))return t[a]}function OO(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}lO.createCanvas=function(){return document.createElement("canvas")};var EO=oO&&IO(oO.bind)?oO.call.bind(oO.bind):function(t,e){for(var n=[],a=2;a<arguments.length;a++)n[a-2]=arguments[a];return function(){return t.apply(e,n.concat(nO.call(arguments)))}};function TO(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat(nO.call(arguments)))}}function DO(t){return Array.isArray?Array.isArray(t):"[object Array]"===$M.call(t)}function IO(t){return"function"==typeof t}function PO(t){return"string"==typeof t}function NO(t){return"[object String]"===$M.call(t)}function AO(t){return"number"==typeof t}function zO(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function RO(t){return!!ZM[$M.call(t)]}function LO(t){return!!JM[$M.call(t)]}function jO(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function FO(t){return null!=t.colorStops}function BO(t){return null!=t.image}function VO(t){return"[object RegExp]"===$M.call(t)}function YO(t){return t!=t}function HO(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,a=t.length;n<a;n++)if(null!=t[n])return t[n]}function WO(t,e){return null!=t?t:e}function UO(t,e,n){return null!=t?t:null!=e?e:n}function GO(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return nO.apply(t,e)}function KO(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function qO(t,e){if(!t)throw new Error(e)}function XO(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var ZO="__ec_primitive__";function JO(t){t[ZO]=!0}function $O(t){return t[ZO]}var QO=function(){function t(e){this.data={};var n=DO(e);this.data={};var a=this;function r(t,e){n?a.set(t,e):a.set(e,t)}e instanceof t?e.each(r):e&&_O(e,r)}return t.prototype.get=function(t){return this.data.hasOwnProperty(t)?this.data[t]:null},t.prototype.set=function(t,e){return this.data[t]=e},t.prototype.each=function(t,e){for(var n in this.data)this.data.hasOwnProperty(n)&&t.call(e,this.data[n],n)},t.prototype.keys=function(){return OO(this.data)},t.prototype.removeKey=function(t){delete this.data[t]},t}();function tE(t){return new QO(t)}function eE(t,e){for(var n=new t.constructor(t.length+e.length),a=0;a<t.length;a++)n[a]=t[a];var r=t.length;for(a=0;a<e.length;a++)n[a+r]=e[a];return n}function nE(t,e){var n;if(Object.create)n=Object.create(t);else{var a=function(){};a.prototype=t,n=new a}return e&&gO(n,e),n}function aE(t,e){return t.hasOwnProperty(e)}function rE(){}var oE=Object.freeze({__proto__:null,$override:sO,guid:uO,logError:dO,clone:pO,merge:fO,mergeAll:hO,extend:gO,defaults:mO,createCanvas:bO,indexOf:vO,inherits:yO,mixin:xO,isArrayLike:wO,each:_O,map:kO,reduce:SO,filter:CO,find:MO,keys:OO,bind:EO,curry:TO,isArray:DO,isFunction:IO,isString:PO,isStringSafe:NO,isNumber:AO,isObject:zO,isBuiltInObject:RO,isTypedArray:LO,isDom:jO,isGradientObject:FO,isImagePatternObject:BO,isRegExp:VO,eqNaN:YO,retrieve:HO,retrieve2:WO,retrieve3:UO,slice:GO,normalizeCssArray:KO,assert:qO,trim:XO,setAsPrimitive:JO,isPrimitive:$O,HashMap:QO,createHashMap:tE,concatArray:eE,createObject:nE,hasOwn:aE,noop:rE});function iE(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function lE(t,e){return t[0]=e[0],t[1]=e[1],t}function sE(t){return[t[0],t[1]]}function cE(t,e,n){return t[0]=e,t[1]=n,t}function uE(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function dE(t,e,n,a){return t[0]=e[0]+n[0]*a,t[1]=e[1]+n[1]*a,t}function pE(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function fE(t){return Math.sqrt(gE(t))}var hE=fE;function gE(t){return t[0]*t[0]+t[1]*t[1]}var mE=gE;function bE(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function vE(t,e){var n=fE(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function yE(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var xE=yE;function wE(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var _E=wE;function kE(t,e,n,a){return t[0]=e[0]+a*(n[0]-e[0]),t[1]=e[1]+a*(n[1]-e[1]),t}function SE(t,e,n){var a=e[0],r=e[1];return t[0]=n[0]*a+n[2]*r+n[4],t[1]=n[1]*a+n[3]*r+n[5],t}function CE(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function ME(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}var OE=Object.freeze({__proto__:null,create:iE,copy:lE,clone:sE,set:cE,add:uE,scaleAndAdd:dE,sub:pE,len:fE,length:hE,lenSquare:gE,lengthSquare:mE,mul:function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t},div:function(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t},dot:function(t,e){return t[0]*e[0]+t[1]*e[1]},scale:bE,normalize:vE,distance:yE,dist:xE,distanceSquare:wE,distSquare:_E,negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t},lerp:kE,applyTransform:SE,min:CE,max:ME}),EE=function(t,e){this.target=t,this.topTarget=e&&e.topTarget},TE=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new EE(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,a=t.offsetY,r=n-this._x,o=a-this._y;this._x=n,this._y=a,e.drift(r,o,t),this.handler.dispatchToElement(new EE(e,t),"drag",t.event);var i=this.handler.findHover(n,a,e).target,l=this._dropTarget;this._dropTarget=i,e!==i&&(l&&i!==l&&this.handler.dispatchToElement(new EE(l,t),"dragleave",t.event),i&&i!==l&&this.handler.dispatchToElement(new EE(i,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new EE(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new EE(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),DE=TE,IE=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,a){this._$handlers||(this._$handlers={});var r=this._$handlers;if("function"==typeof e&&(a=n,n=e,e=null),!n||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),r[t]||(r[t]=[]);for(var i=0;i<r[t].length;i++)if(r[t][i].h===n)return this;var l={h:n,query:e,ctx:a||this,callAtLast:n.zrEventfulCallAtLast},s=r[t].length-1,c=r[t][s];return c&&c.callAtLast?r[t].splice(s,0,l):r[t].push(l),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var a=[],r=0,o=n[t].length;r<o;r++)n[t][r].h!==e&&a.push(n[t][r]);n[t]=a}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var a=this._$handlers[t],r=this._$eventProcessor;if(a)for(var o=e.length,i=a.length,l=0;l<i;l++){var s=a[l];if(!r||!r.filter||null==s.query||r.filter(t,s.query))switch(o){case 0:s.h.call(s.ctx);break;case 1:s.h.call(s.ctx,e[0]);break;case 2:s.h.call(s.ctx,e[0],e[1]);break;default:s.h.apply(s.ctx,e)}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var a=this._$handlers[t],r=this._$eventProcessor;if(a)for(var o=e.length,i=e[o-1],l=a.length,s=0;s<l;s++){var c=a[s];if(!r||!r.filter||null==c.query||r.filter(t,c.query))switch(o){case 0:c.h.call(i);break;case 1:c.h.call(i,e[0]);break;case 2:c.h.call(i,e[0],e[1]);break;default:c.h.apply(i,e.slice(1,o-1))}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t}(),PE=IE,NE=Math.log(2);function AE(t,e,n,a,r,o){var i=a+"-"+r,l=t.length;if(o.hasOwnProperty(i))return o[i];if(1===e){var s=Math.round(Math.log((1<<l)-1&~r)/NE);return t[n][s]}for(var c=a|1<<n,u=n+1;a&1<<u;)u++;for(var d=0,p=0,f=0;p<l;p++){var h=1<<p;h&r||(d+=(f%2?-1:1)*t[n][p]*AE(t,e-1,u,c,r|h,o),f++)}return o[i]=d,d}function zE(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],a={},r=AE(n,8,0,0,0,a);if(0!==r){for(var o=[],i=0;i<8;i++)for(var l=0;l<8;l++)null==o[l]&&(o[l]=0),o[l]+=((i+l)%2?-1:1)*AE(n,7,0===i?1:0,1<<i,1<<l,a)/r*e[i];return function(t,e,n){var a=e*o[6]+n*o[7]+1;t[0]=(e*o[0]+n*o[1]+o[2])/a,t[1]=(e*o[3]+n*o[4]+o[5])/a}}}var RE=[];function LE(t,e,n,a,r){if(e.getBoundingClientRect&&XM.domSupported&&!jE(e)){var o=e.___zrEVENTSAVED||(e.___zrEVENTSAVED={}),i=function(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var a=["left","right"],r=["top","bottom"],o=0;o<4;o++){var i=document.createElement("div"),l=o%2,s=(o>>1)%2;i.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",a[l]+":0",r[s]+":0",a[1-l]+":auto",r[1-s]+":auto",""].join("!important;"),t.appendChild(i),n.push(i)}return n}(e,o),l=function(t,e,n){for(var a=n?"invTrans":"trans",r=e[a],o=e.srcCoords,i=[],l=[],s=!0,c=0;c<4;c++){var u=t[c].getBoundingClientRect(),d=2*c,p=u.left,f=u.top;i.push(p,f),s=s&&o&&p===o[d]&&f===o[d+1],l.push(t[c].offsetLeft,t[c].offsetTop)}return s&&r?r:(e.srcCoords=i,e[a]=n?zE(l,i):zE(i,l))}(i,o,r);if(l)return l(t,n,a),!0}return!1}function jE(t){return"CANVAS"===t.nodeName.toUpperCase()}var FE="undefined"!=typeof window&&!!window.addEventListener,BE=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,VE=[];function YE(t,e,n,a){return n=n||{},a||!XM.canvasSupported?HE(t,e,n):XM.browser.firefox&&XM.browser.version<"39"&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):HE(t,e,n),n}function HE(t,e,n){if(XM.domSupported&&t.getBoundingClientRect){var a=e.clientX,r=e.clientY;if(jE(t)){var o=t.getBoundingClientRect();return n.zrX=a-o.left,void(n.zrY=r-o.top)}if(LE(VE,t,a,r))return n.zrX=VE[0],void(n.zrY=VE[1])}n.zrX=n.zrY=0}function WE(t){return t||window.event}function UE(t,e,n){if(null!=(e=WE(e)).zrX)return e;var a=e.type;if(a&&a.indexOf("touch")>=0){var r="touchend"!==a?e.targetTouches[0]:e.changedTouches[0];r&&YE(t,r,e,n)}else{YE(t,e,e,n);var o=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,a=t.deltaY;if(null==n||null==a)return e;return 3*(0!==a?Math.abs(a):Math.abs(n))*(a>0?-1:a<0?1:n>0?-1:1)}(e);e.zrDelta=o?o/120:-(e.detail||0)/3}var i=e.button;return null==e.which&&void 0!==i&&BE.test(e.type)&&(e.which=1&i?1:2&i?3:4&i?2:0),e}function GE(t,e,n,a){FE?t.addEventListener(e,n,a):t.attachEvent("on"+e,n)}var KE=FE?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};function qE(t){return 2===t.which||3===t.which}var XE=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var a=t.touches;if(a){for(var r={points:[],touches:[],target:e,event:t},o=0,i=a.length;o<i;o++){var l=a[o],s=YE(n,l,{});r.points.push([s.zrX,s.zrY]),r.touches.push(l)}this._track.push(r)}},t.prototype._recognize=function(t){for(var e in JE)if(JE.hasOwnProperty(e)){var n=JE[e](this._track,t);if(n)return n}},t}();function ZE(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}var JE={pinch:function(t,e){var n=t.length;if(n){var a,r=(t[n-1]||{}).points,o=(t[n-2]||{}).points||r;if(o&&o.length>1&&r&&r.length>1){var i=ZE(r)/ZE(o);!isFinite(i)&&(i=1),e.pinchScale=i;var l=[((a=r)[0][0]+a[1][0])/2,(a[0][1]+a[1][1])/2];return e.pinchX=l[0],e.pinchY=l[1],{type:"pinch",target:t[0].target,event:e}}}}},$E="silent";function QE(){KE(this.event)}var tT=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return d(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(PE),eT=function(t,e){this.x=t,this.y=e},nT=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],aT=function(t){function e(e,n,a,r){var o=t.call(this)||this;return o._hovered=new eT(0,0),o.storage=e,o.painter=n,o.painterRoot=r,a=a||new tT,o.proxy=null,o.setHandlerProxy(a),o._draggingMgr=new DE(o),o}return d(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(_O(nT,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,a=oT(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);var i=this._hovered=a?new eT(e,n):this.findHover(e,n),l=i.target,s=this.proxy;s.setCursor&&s.setCursor(l?l.cursor:"default"),o&&l!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(i,"mousemove",t),l&&l!==o&&this.dispatchToElement(i,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new eT(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,n){var a=(t=t||{}).target;if(!a||!a.silent){for(var r="on"+e,o=function(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:QE}}(e,t,n);a&&(a[r]&&(o.cancelBubble=!!a[r].call(a,o)),a.trigger(e,o),a=a.__hostTarget?a.__hostTarget:a.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"==typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)})))}},e.prototype.findHover=function(t,e,n){for(var a=this.storage.getDisplayList(),r=new eT(t,e),o=a.length-1;o>=0;o--){var i=void 0;if(a[o]!==n&&!a[o].ignore&&(i=rT(a[o],t,e))&&(!r.topTarget&&(r.topTarget=a[o]),i!==$E)){r.target=a[o];break}}return r},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new XE);var n=this._gestureMgr;"start"===e&&n.clear();var a=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),a){var r=a.type;t.gestureEvent=r;var o=new eT;o.target=a.target,this.dispatchToElement(o,r,a.event)}},e}(PE);function rT(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var a=t,r=void 0,o=!1;a;){if(a.ignoreClip&&(o=!0),!o){var i=a.getClipPath();if(i&&!i.contain(e,n))return!1;a.silent&&(r=!0)}var l=a.__hostTarget;a=l||a.parent}return!r||$E}return!1}function oT(t,e,n){var a=t.painter;return e<0||e>a.getWidth()||n<0||n>a.getHeight()}_O(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){aT.prototype[t]=function(e){var n,a,r=e.zrX,o=e.zrY,i=oT(this,r,o);if("mouseup"===t&&i||(a=(n=this.findHover(r,o)).target),"mousedown"===t)this._downEl=a,this._downPoint=[e.zrX,e.zrY],this._upEl=a;else if("mouseup"===t)this._upEl=a;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||xE(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));var iT=aT;function lT(t,e,n,a){var r=e+1;if(r===n)return 1;if(a(t[r++],t[e])<0){for(;r<n&&a(t[r],t[r-1])<0;)r++;!function(t,e,n){n--;for(;e<n;){var a=t[e];t[e++]=t[n],t[n--]=a}}(t,e,r)}else for(;r<n&&a(t[r],t[r-1])>=0;)r++;return r-e}function sT(t,e,n,a,r){for(a===e&&a++;a<n;a++){for(var o,i=t[a],l=e,s=a;l<s;)r(i,t[o=l+s>>>1])<0?s=o:l=o+1;var c=a-l;switch(c){case 3:t[l+3]=t[l+2];case 2:t[l+2]=t[l+1];case 1:t[l+1]=t[l];break;default:for(;c>0;)t[l+c]=t[l+c-1],c--}t[l]=i}}function cT(t,e,n,a,r,o){var i=0,l=0,s=1;if(o(t,e[n+r])>0){for(l=a-r;s<l&&o(t,e[n+r+s])>0;)i=s,(s=1+(s<<1))<=0&&(s=l);s>l&&(s=l),i+=r,s+=r}else{for(l=r+1;s<l&&o(t,e[n+r-s])<=0;)i=s,(s=1+(s<<1))<=0&&(s=l);s>l&&(s=l);var c=i;i=r-s,s=r-c}for(i++;i<s;){var u=i+(s-i>>>1);o(t,e[n+u])>0?i=u+1:s=u}return s}function uT(t,e,n,a,r,o){var i=0,l=0,s=1;if(o(t,e[n+r])<0){for(l=r+1;s<l&&o(t,e[n+r-s])<0;)i=s,(s=1+(s<<1))<=0&&(s=l);s>l&&(s=l);var c=i;i=r-s,s=r-c}else{for(l=a-r;s<l&&o(t,e[n+r+s])>=0;)i=s,(s=1+(s<<1))<=0&&(s=l);s>l&&(s=l),i+=r,s+=r}for(i++;i<s;){var u=i+(s-i>>>1);o(t,e[n+u])<0?s=u:i=u+1}return s}function dT(t,e){var n,a,r=7,o=0,i=[];function l(l){var s=n[l],c=a[l],u=n[l+1],d=a[l+1];a[l]=c+d,l===o-3&&(n[l+1]=n[l+2],a[l+1]=a[l+2]),o--;var p=uT(t[u],t,s,c,0,e);s+=p,0!==(c-=p)&&0!==(d=cT(t[s+c-1],t,u,d,d-1,e))&&(c<=d?function(n,a,o,l){var s=0;for(s=0;s<a;s++)i[s]=t[n+s];var c=0,u=o,d=n;if(t[d++]=t[u++],0==--l){for(s=0;s<a;s++)t[d+s]=i[c+s];return}if(1===a){for(s=0;s<l;s++)t[d+s]=t[u+s];return void(t[d+l]=i[c])}var p,f,h,g=r;for(;;){p=0,f=0,h=!1;do{if(e(t[u],i[c])<0){if(t[d++]=t[u++],f++,p=0,0==--l){h=!0;break}}else if(t[d++]=i[c++],p++,f=0,1==--a){h=!0;break}}while((p|f)<g);if(h)break;do{if(0!==(p=uT(t[u],i,c,a,0,e))){for(s=0;s<p;s++)t[d+s]=i[c+s];if(d+=p,c+=p,(a-=p)<=1){h=!0;break}}if(t[d++]=t[u++],0==--l){h=!0;break}if(0!==(f=cT(i[c],t,u,l,0,e))){for(s=0;s<f;s++)t[d+s]=t[u+s];if(d+=f,u+=f,0===(l-=f)){h=!0;break}}if(t[d++]=i[c++],1==--a){h=!0;break}g--}while(p>=7||f>=7);if(h)break;g<0&&(g=0),g+=2}if((r=g)<1&&(r=1),1===a){for(s=0;s<l;s++)t[d+s]=t[u+s];t[d+l]=i[c]}else{if(0===a)throw new Error;for(s=0;s<a;s++)t[d+s]=i[c+s]}}(s,c,u,d):function(n,a,o,l){var s=0;for(s=0;s<l;s++)i[s]=t[o+s];var c=n+a-1,u=l-1,d=o+l-1,p=0,f=0;if(t[d--]=t[c--],0==--a){for(p=d-(l-1),s=0;s<l;s++)t[p+s]=i[s];return}if(1===l){for(f=(d-=a)+1,p=(c-=a)+1,s=a-1;s>=0;s--)t[f+s]=t[p+s];return void(t[d]=i[u])}var h=r;for(;;){var g=0,m=0,b=!1;do{if(e(i[u],t[c])<0){if(t[d--]=t[c--],g++,m=0,0==--a){b=!0;break}}else if(t[d--]=i[u--],m++,g=0,1==--l){b=!0;break}}while((g|m)<h);if(b)break;do{if(0!==(g=a-uT(i[u],t,n,a,a-1,e))){for(a-=g,f=(d-=g)+1,p=(c-=g)+1,s=g-1;s>=0;s--)t[f+s]=t[p+s];if(0===a){b=!0;break}}if(t[d--]=i[u--],1==--l){b=!0;break}if(0!==(m=l-cT(t[c],i,0,l,l-1,e))){for(l-=m,f=(d-=m)+1,p=(u-=m)+1,s=0;s<m;s++)t[f+s]=i[p+s];if(l<=1){b=!0;break}}if(t[d--]=t[c--],0==--a){b=!0;break}h--}while(g>=7||m>=7);if(b)break;h<0&&(h=0),h+=2}(r=h)<1&&(r=1);if(1===l){for(f=(d-=a)+1,p=(c-=a)+1,s=a-1;s>=0;s--)t[f+s]=t[p+s];t[d]=i[u]}else{if(0===l)throw new Error;for(p=d-(l-1),s=0;s<l;s++)t[p+s]=i[s]}}(s,c,u,d))}return n=[],a=[],{mergeRuns:function(){for(;o>1;){var t=o-2;if(t>=1&&a[t-1]<=a[t]+a[t+1]||t>=2&&a[t-2]<=a[t]+a[t-1])a[t-1]<a[t+1]&&t--;else if(a[t]>a[t+1])break;l(t)}},forceMergeRuns:function(){for(;o>1;){var t=o-2;t>0&&a[t-1]<a[t+1]&&t--,l(t)}},pushRun:function(t,e){n[o]=t,a[o]=e,o+=1}}}function pT(t,e,n,a){n||(n=0),a||(a=t.length);var r=a-n;if(!(r<2)){var o=0;if(r<32)sT(t,n,a,n+(o=lT(t,n,a,e)),e);else{var i=dT(t,e),l=function(t){for(var e=0;t>=32;)e|=1&t,t>>=1;return t+e}(r);do{if((o=lT(t,n,a,e))<l){var s=r;s>l&&(s=l),sT(t,n,n+s,n+o,e),o=s}i.pushRun(n,o),i.mergeRuns(),r-=o,n+=o}while(0!==r);i.forceMergeRuns()}}}var fT=!1;function hT(){fT||(fT=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function gT(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var mT=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=gT}return t.prototype.traverse=function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var n=this._displayList;return!t&&n.length||this.updateDisplayList(e),n},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,a=0,r=e.length;a<r;a++)this._updateAndAddDisplayable(e[a],null,t);n.length=this._displayListLen,XM.canvasSupported&&pT(n,gT)},t.prototype._updateAndAddDisplayable=function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.update(),t.afterUpdate();var a=t.getClipPath();if(t.ignoreClip)e=null;else if(a){e=e?e.slice():[];for(var r=a,o=t;r;)r.parent=o,r.updateTransform(),e.push(r),o=r,r=r.getClipPath()}if(t.childrenRef){for(var i=t.childrenRef(),l=0;l<i.length;l++){var s=i[l];t.__dirty&&(s.__dirty|=1),this._updateAndAddDisplayable(s,e,n)}t.__dirty=0}else{var c=t;e&&e.length?c.__clipPaths=e:c.__clipPaths&&c.__clipPaths.length>0&&(c.__clipPaths=[]),isNaN(c.z)&&(hT(),c.z=0),isNaN(c.z2)&&(hT(),c.z2=0),isNaN(c.zlevel)&&(hT(),c.zlevel=0),this._displayList[this._displayListLen++]=c}var u=t.getDecalElement&&t.getDecalElement();u&&this._updateAndAddDisplayable(u,e,n);var d=t.getTextGuideLine();d&&this._updateAndAddDisplayable(d,e,n);var p=t.getTextContent();p&&this._updateAndAddDisplayable(p,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,n=t.length;e<n;e++)this.delRoot(t[e]);else{var a=vO(this._roots,t);a>=0&&this._roots.splice(a,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),bT=mT,vT="undefined"!=typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)},yT={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1,a=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=a*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/a)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/a)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-yT.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*yT.bounceIn(2*t):.5*yT.bounceOut(2*t-1)+.5}},xT=yT,wT=function(){function t(t){this._initialized=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=null!=t.loop&&t.loop,this.gap=t.gap||0,this.easing=t.easing||"linear",this.onframe=t.onframe,this.ondestroy=t.ondestroy,this.onrestart=t.onrestart}return t.prototype.step=function(t,e){if(this._initialized||(this._startTime=t+this._delay,this._initialized=!0),!this._paused){var n=(t-this._startTime-this._pausedTime)/this._life;n<0&&(n=0),n=Math.min(n,1);var a=this.easing,r="string"==typeof a?xT[a]:a,o="function"==typeof r?r(n):n;if(this.onframe&&this.onframe(o),1===n){if(!this.loop)return!0;this._restart(t),this.onrestart&&this.onrestart()}return!1}this._pausedTime+=e},t.prototype._restart=function(t){var e=(t-this._startTime-this._pausedTime)%this._life;this._startTime=t-e+this.gap,this._pausedTime=0},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t}(),_T=wT,kT=function(t){this.value=t},ST=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new kT(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),CT=function(){function t(t){this._list=new ST,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,a=this._map,r=null;if(null==a[t]){var o=n.len(),i=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=n.head;n.remove(l),delete a[l.key],r=l.value,this._lastRemovedEntry=l}i?i.value=e:i=new kT(e),i.key=t,n.insertEntry(i),a[t]=i}return r},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}(),MT=CT,OT={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function ET(t){return(t=Math.round(t))<0?0:t>255?255:t}function TT(t){return t<0?0:t>1?1:t}function DT(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?ET(parseFloat(e)/100*255):ET(parseInt(e,10))}function IT(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?TT(parseFloat(e)/100):TT(parseFloat(e))}function PT(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function NT(t,e,n){return t+(e-t)*n}function AT(t,e,n,a,r){return t[0]=e,t[1]=n,t[2]=a,t[3]=r,t}function zT(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var RT=new MT(20),LT=null;function jT(t,e){LT&&zT(LT,e),LT=RT.put(t,LT||e.slice())}function FT(t,e){if(t){e=e||[];var n=RT.get(t);if(n)return zT(e,n);var a=(t+="").replace(/ /g,"").toLowerCase();if(a in OT)return zT(e,OT[a]),jT(t,e),e;var r,o=a.length;if("#"===a.charAt(0))return 4===o||5===o?(r=parseInt(a.slice(1,4),16))>=0&&r<=4095?(AT(e,(3840&r)>>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,5===o?parseInt(a.slice(4),16)/15:1),jT(t,e),e):void AT(e,0,0,0,1):7===o||9===o?(r=parseInt(a.slice(1,7),16))>=0&&r<=16777215?(AT(e,(16711680&r)>>16,(65280&r)>>8,255&r,9===o?parseInt(a.slice(7),16)/255:1),jT(t,e),e):void AT(e,0,0,0,1):void 0;var i=a.indexOf("("),l=a.indexOf(")");if(-1!==i&&l+1===o){var s=a.substr(0,i),c=a.substr(i+1,l-(i+1)).split(","),u=1;switch(s){case"rgba":if(4!==c.length)return 3===c.length?AT(e,+c[0],+c[1],+c[2],1):AT(e,0,0,0,1);u=IT(c.pop());case"rgb":return 3!==c.length?void AT(e,0,0,0,1):(AT(e,DT(c[0]),DT(c[1]),DT(c[2]),u),jT(t,e),e);case"hsla":return 4!==c.length?void AT(e,0,0,0,1):(c[3]=IT(c[3]),BT(c,e),jT(t,e),e);case"hsl":return 3!==c.length?void AT(e,0,0,0,1):(BT(c,e),jT(t,e),e);default:return}}AT(e,0,0,0,1)}}function BT(t,e){var n=(parseFloat(t[0])%360+360)%360/360,a=IT(t[1]),r=IT(t[2]),o=r<=.5?r*(a+1):r+a-r*a,i=2*r-o;return AT(e=e||[],ET(255*PT(i,o,n+1/3)),ET(255*PT(i,o,n)),ET(255*PT(i,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function VT(t,e){var n=FT(t);if(n){for(var a=0;a<3;a++)n[a]=e<0?n[a]*(1-e)|0:(255-n[a])*e+n[a]|0,n[a]>255?n[a]=255:n[a]<0&&(n[a]=0);return XT(n,4===n.length?"rgba":"rgb")}}function YT(t){var e=FT(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function HT(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var a=t*(e.length-1),r=Math.floor(a),o=Math.ceil(a),i=e[r],l=e[o],s=a-r;return n[0]=ET(NT(i[0],l[0],s)),n[1]=ET(NT(i[1],l[1],s)),n[2]=ET(NT(i[2],l[2],s)),n[3]=TT(NT(i[3],l[3],s)),n}}var WT=HT;function UT(t,e,n){if(e&&e.length&&t>=0&&t<=1){var a=t*(e.length-1),r=Math.floor(a),o=Math.ceil(a),i=FT(e[r]),l=FT(e[o]),s=a-r,c=XT([ET(NT(i[0],l[0],s)),ET(NT(i[1],l[1],s)),ET(NT(i[2],l[2],s)),TT(NT(i[3],l[3],s))],"rgba");return n?{color:c,leftIndex:r,rightIndex:o,value:a}:c}}var GT=UT;function KT(t,e,n,a){var r=FT(t);if(t)return r=function(t){if(t){var e,n,a=t[0]/255,r=t[1]/255,o=t[2]/255,i=Math.min(a,r,o),l=Math.max(a,r,o),s=l-i,c=(l+i)/2;if(0===s)e=0,n=0;else{n=c<.5?s/(l+i):s/(2-l-i);var u=((l-a)/6+s/2)/s,d=((l-r)/6+s/2)/s,p=((l-o)/6+s/2)/s;a===l?e=p-d:r===l?e=1/3+u-p:o===l&&(e=2/3+d-u),e<0&&(e+=1),e>1&&(e-=1)}var f=[360*e,n,c];return null!=t[3]&&f.push(t[3]),f}}(r),null!=e&&(r[0]=function(t){return(t=Math.round(t))<0?0:t>360?360:t}(e)),null!=n&&(r[1]=IT(n)),null!=a&&(r[2]=IT(a)),XT(BT(r),"rgba")}function qT(t,e){var n=FT(t);if(n&&null!=e)return n[3]=TT(e),XT(n,"rgba")}function XT(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}function ZT(t,e){var n=FT(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}var JT=Object.freeze({__proto__:null,parse:FT,lift:VT,toHex:YT,fastLerp:HT,fastMapToColor:WT,lerp:UT,mapToColor:GT,modifyHSL:KT,modifyAlpha:qT,stringify:XT,lum:ZT,random:function(){return"rgb("+Math.round(255*Math.random())+","+Math.round(255*Math.random())+","+Math.round(255*Math.random())+")"}}),$T=Array.prototype.slice;function QT(t,e,n){return(e-t)*n+t}function tD(t,e,n,a){for(var r=e.length,o=0;o<r;o++)t[o]=QT(e[o],n[o],a)}function eD(t,e,n,a){for(var r=e.length,o=0;o<r;o++)t[o]=e[o]+n[o]*a;return t}function nD(t,e,n,a){for(var r=e.length,o=r&&e[0].length,i=0;i<r;i++){t[i]||(t[i]=[]);for(var l=0;l<o;l++)t[i][l]=e[i][l]+n[i][l]*a}return t}function aD(t,e,n){var a=t,r=e;if(a.push&&r.push){var o=a.length,i=r.length;if(o!==i)if(o>i)a.length=i;else for(var l=o;l<i;l++)a.push(1===n?r[l]:$T.call(r[l]));var s=a[0]&&a[0].length;for(l=0;l<a.length;l++)if(1===n)isNaN(a[l])&&(a[l]=r[l]);else for(var c=0;c<s;c++)isNaN(a[l][c])&&(a[l][c]=r[l][c])}}function rD(t,e){var n=t.length;if(n!==e.length)return!1;for(var a=0;a<n;a++)if(t[a]!==e[a])return!1;return!0}function oD(t,e,n,a,r,o,i){var l=.5*(n-t),s=.5*(a-e);return(2*(e-n)+l+s)*i+(-3*(e-n)-2*l-s)*o+l*r+e}function iD(t,e,n,a,r,o,i,l){for(var s=e.length,c=0;c<s;c++)t[c]=oD(e[c],n[c],a[c],r[c],o,i,l)}function lD(t){if(wO(t)){var e=t.length;if(wO(t[0])){for(var n=[],a=0;a<e;a++)n.push($T.call(t[a]));return n}return $T.call(t)}return t}function sD(t){return t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.floor(t[2]),"rgba("+t.join(",")+")"}var cD,uD,dD=[0,0,0,0],pD=function(){function t(t){this.keyframes=[],this.maxTime=0,this.arrDim=0,this.interpolable=!0,this._needsSort=!1,this._isAllValueEqual=!0,this._lastFrame=0,this._lastFramePercent=0,this.propName=t}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return!this._isAllValueEqual&&this.keyframes.length>=2&&this.interpolable&&this.maxTime>0},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e){t>=this.maxTime?this.maxTime=t:this._needsSort=!0;var n=this.keyframes,a=n.length;if(this.interpolable)if(wO(e)){var r=function(t){return wO(t&&t[0])?2:1}(e);if(a>0&&this.arrDim!==r)return void(this.interpolable=!1);if(1===r&&"number"!=typeof e[0]||2===r&&"number"!=typeof e[0][0])return void(this.interpolable=!1);if(a>0){var o=n[a-1];this._isAllValueEqual&&(1===r&&rD(e,o.value)||(this._isAllValueEqual=!1))}this.arrDim=r}else{if(this.arrDim>0)return void(this.interpolable=!1);if("string"==typeof e){var i=FT(e);i?(e=i,this.isValueColor=!0):this.interpolable=!1}else if("number"!=typeof e||isNaN(e))return void(this.interpolable=!1);if(this._isAllValueEqual&&a>0){o=n[a-1];(this.isValueColor&&!rD(o.value,e)||o.value!==e)&&(this._isAllValueEqual=!1)}}var l={time:t,value:e,percent:0};return this.keyframes.push(l),l},t.prototype.prepare=function(t){var e=this.keyframes;this._needsSort&&e.sort((function(t,e){return t.time-e.time}));for(var n=this.arrDim,a=e.length,r=e[a-1],o=0;o<a;o++)e[o].percent=e[o].time/this.maxTime,n>0&&o!==a-1&&aD(e[o].value,r.value,n);if(t&&this.needsAnimate()&&t.needsAnimate()&&n===t.arrDim&&this.isValueColor===t.isValueColor&&!t._finished){this._additiveTrack=t;var i=e[0].value;for(o=0;o<a;o++)0===n?this.isValueColor?e[o].additiveValue=eD([],e[o].value,i,-1):e[o].additiveValue=e[o].value-i:1===n?e[o].additiveValue=eD([],e[o].value,i,-1):2===n&&(e[o].additiveValue=nD([],e[o].value,i,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,a=null!=this._additiveTrack,r=a?"additiveValue":"value",o=this.keyframes,i=this.keyframes.length,l=this.propName,s=this.arrDim,c=this.isValueColor;if(e<0)n=0;else if(e<this._lastFramePercent){for(n=Math.min(this._lastFrame+1,i-1);n>=0&&!(o[n].percent<=e);n--);n=Math.min(n,i-2)}else{for(n=this._lastFrame;n<i&&!(o[n].percent>e);n++);n=Math.min(n-1,i-2)}var u=o[n+1],d=o[n];if(d&&u){this._lastFrame=n,this._lastFramePercent=e;var p=u.percent-d.percent;if(0!==p){var f=(e-d.percent)/p,h=a?this._additiveValue:c?dD:t[l];if((s>0||c)&&!h&&(h=this._additiveValue=[]),this.useSpline){var g=o[n][r],m=o[0===n?n:n-1][r],b=o[n>i-2?i-1:n+1][r],v=o[n>i-3?i-1:n+2][r];if(s>0)1===s?iD(h,m,g,b,v,f,f*f,f*f*f):function(t,e,n,a,r,o,i,l){for(var s=e.length,c=e[0].length,u=0;u<s;u++){t[u]||(t[1]=[]);for(var d=0;d<c;d++)t[u][d]=oD(e[u][d],n[u][d],a[u][d],r[u][d],o,i,l)}}(h,m,g,b,v,f,f*f,f*f*f);else if(c)iD(h,m,g,b,v,f,f*f,f*f*f),a||(t[l]=sD(h));else{var y=void 0;y=this.interpolable?oD(m,g,b,v,f,f*f,f*f*f):b,a?this._additiveValue=y:t[l]=y}}else if(s>0)1===s?tD(h,d[r],u[r],f):function(t,e,n,a){for(var r=e.length,o=r&&e[0].length,i=0;i<r;i++){t[i]||(t[i]=[]);for(var l=0;l<o;l++)t[i][l]=QT(e[i][l],n[i][l],a)}}(h,d[r],u[r],f);else if(c)tD(h,d[r],u[r],f),a||(t[l]=sD(h));else{y=void 0;y=this.interpolable?QT(d[r],u[r],f):function(t,e,n){return n>.5?e:t}(d[r],u[r],f),a?this._additiveValue=y:t[l]=y}a&&this._addToTarget(t)}}}},t.prototype._addToTarget=function(t){var e=this.arrDim,n=this.propName,a=this._additiveValue;0===e?this.isValueColor?(FT(t[n],dD),eD(dD,dD,a,1),t[n]=sD(dD)):t[n]=t[n]+a:1===e?eD(t[n],t[n],a,1):2===e&&nD(t[n],t[n],a,1)},t}(),fD=function(){function t(t,e,n){this._tracks={},this._trackKeys=[],this._delay=0,this._maxTime=0,this._paused=!1,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&n?dO("Can' use additive animation on looped animation."):this._additiveAnimators=n}return t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e){return this.whenWithKeys(t,e,OO(e))},t.prototype.whenWithKeys=function(t,e,n){for(var a=this._tracks,r=0;r<n.length;r++){var o=n[r],i=a[o];if(!i){i=a[o]=new pD(o);var l=void 0,s=this._getAdditiveTrack(o);if(s){var c=s.keyframes[s.keyframes.length-1];l=c&&c.value,s.isValueColor&&l&&(l=sD(l))}else l=this._target[o];if(null==l)continue;0!==t&&i.addKeyframe(0,lD(l)),this._trackKeys.push(o)}i.addKeyframe(t,lD(e[o]))}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n<e;n++)t[n].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var n=0;n<e.length;n++)e[n].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,n=0;n<e.length;n++)t[e[n]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,n=this._additiveAnimators;if(n)for(var a=0;a<n.length;a++){var r=n[a].getTrack(t);r&&(e=r)}return e},t.prototype.start=function(t,e){if(!(this._started>0)){this._started=1;for(var n=this,a=[],r=0;r<this._trackKeys.length;r++){var o=this._trackKeys[r],i=this._tracks[o],l=this._getAdditiveTrack(o),s=i.keyframes;if(i.prepare(l),i.needsAnimate())a.push(i);else if(!i.interpolable){var c=s[s.length-1];c&&(n._target[i.propName]=c.value)}}if(a.length||e){var u=new _T({life:this._maxTime,loop:this._loop,delay:this._delay,onframe:function(t){n._started=2;var e=n._additiveAnimators;if(e){for(var r=!1,o=0;o<e.length;o++)if(e[o]._clip){r=!0;break}r||(n._additiveAnimators=null)}for(o=0;o<a.length;o++)a[o].step(n._target,t);var i=n._onframeCbs;if(i)for(o=0;o<i.length;o++)i[o](n._target,t)},ondestroy:function(){n._doneCallback()}});this._clip=u,this.animation&&this.animation.addClip(u),t&&"spline"!==t&&(u.easing=t)}else this._doneCallback();return this}},t.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},t.prototype.delay=function(t){return this._delay=t,this},t.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},t.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},t.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(t){return this._tracks[t]},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var n=this._tracks,a=this._trackKeys,r=0;r<t.length;r++){var o=n[t[r]];o&&(e?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}var i=!0;for(r=0;r<a.length;r++)if(!n[a[r]].isFinished()){i=!1;break}return i&&this._abortedCallback(),i},t.prototype.saveFinalToTarget=function(t,e){if(t){e=e||this._trackKeys;for(var n=0;n<e.length;n++){var a=e[n],r=this._tracks[a];if(r&&!r.isFinished()){var o=r.keyframes,i=o[o.length-1];if(i){var l=lD(i.value);r.isValueColor&&(l=sD(l)),t[a]=l}}}}},t.prototype.__changeFinalValue=function(t,e){e=e||OO(t);for(var n=0;n<e.length;n++){var a=e[n],r=this._tracks[a];if(r){var o=r.keyframes;if(o.length>1){var i=o.pop();r.addKeyframe(i.time,t[a]),r.prepare(r.getAdditiveTrack())}}}},t}(),hD=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n.onframe=e.onframe||function(){},n}return d(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._clipsHead?(this._clipsTail.next=t,t.prev=this._clipsTail,t.next=null,this._clipsTail=t):this._clipsHead=this._clipsTail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._clipsHead=n,n?n.prev=e:this._clipsTail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){for(var e=(new Date).getTime()-this._pausedTime,n=e-this._time,a=this._clipsHead;a;){var r=a.next;a.step(e,n)?(a.ondestroy&&a.ondestroy(),this.removeClip(a),a=r):a=r}this._time=e,t||(this.onframe(n),this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,vT((function e(){t._running&&(vT(e),!t._paused&&t.update())}))},e.prototype.start=function(){this._running||(this._time=(new Date).getTime(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=(new Date).getTime(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=(new Date).getTime()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._clipsHead;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._clipsHead=this._clipsTail=null},e.prototype.isFinished=function(){return null==this._clipsHead},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new fD(t,e.loop);return this.addAnimator(n),n},e}(PE),gD=hD,mD=XM.domSupported,bD=(uD={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:cD=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:kO(cD,(function(t){var e=t.replace("mouse","pointer");return uD.hasOwnProperty(e)?e:t}))}),vD=["mousemove","mouseup"],yD=["pointermove","pointerup"],xD=!1;function wD(t){var e=t.pointerType;return"pen"===e||"touch"===e}function _D(t){t&&(t.zrByTouch=!0)}function kD(t,e){for(var n=e,a=!1;n&&9!==n.nodeType&&!(a=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return a}var SD=function(t,e){this.stopPropagation=rE,this.stopImmediatePropagation=rE,this.preventDefault=rE,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},CD={mousedown:function(t){t=UE(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=UE(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=UE(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){kD(this,(t=UE(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){xD=!0,t=UE(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){xD||(t=UE(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){_D(t=UE(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),CD.mousemove.call(this,t),CD.mousedown.call(this,t)},touchmove:function(t){_D(t=UE(this.dom,t)),this.handler.processGesture(t,"change"),CD.mousemove.call(this,t)},touchend:function(t){_D(t=UE(this.dom,t)),this.handler.processGesture(t,"end"),CD.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&CD.click.call(this,t)},pointerdown:function(t){CD.mousedown.call(this,t)},pointermove:function(t){wD(t)||CD.mousemove.call(this,t)},pointerup:function(t){CD.mouseup.call(this,t)},pointerout:function(t){wD(t)||CD.mouseout.call(this,t)}};_O(["click","dblclick","contextmenu"],(function(t){CD[t]=function(e){e=UE(this.dom,e),this.trigger(t,e)}}));var MD={pointermove:function(t){wD(t)||MD.mousemove.call(this,t)},pointerup:function(t){MD.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function OD(t,e){var n=e.domHandlers;XM.pointerEventsSupported?_O(bD.pointer,(function(a){TD(e,a,(function(e){n[a].call(t,e)}))})):(XM.touchEventsSupported&&_O(bD.touch,(function(a){TD(e,a,(function(r){n[a].call(t,r),function(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}(e)}))})),_O(bD.mouse,(function(a){TD(e,a,(function(r){r=WE(r),e.touching||n[a].call(t,r)}))})))}function ED(t,e){function n(n){TD(e,n,(function(a){a=WE(a),kD(t,a.target)||(a=function(t,e){return UE(t.dom,new SD(t,e),!0)}(t,a),e.domHandlers[n].call(t,a))}),{capture:!0})}XM.pointerEventsSupported?_O(yD,n):XM.touchEventsSupported||_O(vD,n)}function TD(t,e,n,a){t.mounted[e]=n,t.listenerOpts[e]=a,GE(t.domTarget,e,n,a)}function DD(t){var e,n,a,r,o=t.mounted;for(var i in o)o.hasOwnProperty(i)&&(e=t.domTarget,n=i,a=o[i],r=t.listenerOpts[i],FE?e.removeEventListener(n,a,r):e.detachEvent("on"+n,a));t.mounted={}}var ID=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},PD=function(t){function e(e,n){var a=t.call(this)||this;return a.__pointerCapturing=!1,a.dom=e,a.painterRoot=n,a._localHandlerScope=new ID(e,CD),mD&&(a._globalHandlerScope=new ID(document,MD)),OD(a,a._localHandlerScope),a}return d(e,t),e.prototype.dispose=function(){DD(this._localHandlerScope),mD&&DD(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,mD&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?ED(this,e):DD(e)}},e}(PE),ND=PD,AD=1;"undefined"!=typeof window&&(AD=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var zD=AD,RD="#333",LD="#ccc";function jD(){return[1,0,0,1,0,0]}function FD(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function BD(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function VD(t,e,n){var a=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],i=e[1]*n[2]+e[3]*n[3],l=e[0]*n[4]+e[2]*n[5]+e[4],s=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=a,t[1]=r,t[2]=o,t[3]=i,t[4]=l,t[5]=s,t}function YD(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function HD(t,e,n){var a=e[0],r=e[2],o=e[4],i=e[1],l=e[3],s=e[5],c=Math.sin(n),u=Math.cos(n);return t[0]=a*u+i*c,t[1]=-a*c+i*u,t[2]=r*u+l*c,t[3]=-r*c+u*l,t[4]=u*o+c*s,t[5]=u*s-c*o,t}function WD(t,e,n){var a=n[0],r=n[1];return t[0]=e[0]*a,t[1]=e[1]*r,t[2]=e[2]*a,t[3]=e[3]*r,t[4]=e[4]*a,t[5]=e[5]*r,t}function UD(t,e){var n=e[0],a=e[2],r=e[4],o=e[1],i=e[3],l=e[5],s=n*i-o*a;return s?(s=1/s,t[0]=i*s,t[1]=-o*s,t[2]=-a*s,t[3]=n*s,t[4]=(a*l-i*r)*s,t[5]=(o*r-n*l)*s,t):null}function GD(t){var e=[1,0,0,1,0,0];return BD(e,t),e}var KD=Object.freeze({__proto__:null,create:jD,identity:FD,copy:BD,mul:VD,translate:YD,rotate:HD,scale:WD,invert:UD,clone:GD}),qD=FD,XD=5e-5;function ZD(t){return t>XD||t<-5e-5}var JD,$D,QD=[],tI=[],eI=[1,0,0,1,0,0],nI=Math.abs,aI=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return ZD(this.rotation)||ZD(this.x)||ZD(this.y)||ZD(this.scaleX-1)||ZD(this.scaleY-1)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||[1,0,0,1,0,0],e?this.getLocalTransform(n):qD(n),t&&(e?VD(n,t,n):BD(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&qD(n)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(QD);var n=QD[0]<0?-1:1,a=QD[1]<0?-1:1,r=((QD[0]-n)*e+n)/QD[0]||0,o=((QD[1]-a)*e+a)/QD[1]||0;t[0]*=r,t[1]*=r,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||[1,0,0,1,0,0],UD(this.invTransform,t)},t.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],a=Math.atan2(t[1],t[0]),r=Math.PI/2+a-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-a,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(VD(tI,t.invTransform,e),e=tI);var n=this.originX,a=this.originY;(n||a)&&(eI[4]=n,eI[5]=a,VD(tI,e,eI),tI[4]-=n,tI[5]-=a,e=tI),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],a=this.invTransform;return a&&SE(n,n,a),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],a=this.transform;return a&&SE(n,n,a),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&nI(t[0]-1)>1e-10&&nI(t[3]-1)>1e-10?Math.sqrt(nI(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){for(var e=0;e<rI.length;e++){var n=rI[e];this[n]=t[n]}},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,a=t.originY||0,r=t.scaleX,o=t.scaleY,i=t.rotation||0,l=t.x,s=t.y,c=t.skewX?Math.tan(t.skewX):0,u=t.skewY?Math.tan(-t.skewY):0;return n||a?(e[4]=-n*r-c*a*o,e[5]=-a*o-u*n*r):e[4]=e[5]=0,e[0]=r,e[3]=o,e[1]=u*r,e[2]=c*o,i&&HD(e,e,i),e[4]+=n+l,e[5]+=a+s,e},t.initDefaultProps=function(){var e=t.prototype;e.x=0,e.y=0,e.scaleX=1,e.scaleY=1,e.originX=0,e.originY=0,e.skewX=0,e.skewY=0,e.rotation=0,e.globalScaleRatio=1}(),t}(),rI=["x","y","originX","originY","rotation","scaleX","scaleY","skewX","skewY"],oI=aI,iI=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,a){t.x=e.x+n.x*a,t.y=e.y+n.y*a},t.lerp=function(t,e,n,a){var r=1-a;t.x=r*e.x+a*n.x,t.y=r*e.y+a*n.y},t}(),lI=iI,sI=Math.min,cI=Math.max,uI=new lI,dI=new lI,pI=new lI,fI=new lI,hI=new lI,gI=new lI,mI=function(){function t(t,e,n,a){n<0&&(t+=n,n=-n),a<0&&(e+=a,a=-a),this.x=t,this.y=e,this.width=n,this.height=a}return t.prototype.union=function(t){var e=sI(t.x,this.x),n=sI(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=cI(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=cI(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,a=t.height/e.height,r=[1,0,0,1,0,0];return YD(r,r,[-e.x,-e.y]),WD(r,r,[n,a]),YD(r,r,[t.x,t.y]),r},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var a=this,r=a.x,o=a.x+a.width,i=a.y,l=a.y+a.height,s=e.x,c=e.x+e.width,u=e.y,d=e.y+e.height,p=!(o<s||c<r||l<u||d<i);if(n){var f=1/0,h=0,g=Math.abs(o-s),m=Math.abs(c-r),b=Math.abs(l-u),v=Math.abs(d-i),y=Math.min(g,m),x=Math.min(b,v);o<s||c<r?y>h&&(h=y,g<m?lI.set(gI,-g,0):lI.set(gI,m,0)):y<f&&(f=y,g<m?lI.set(hI,g,0):lI.set(hI,-m,0)),l<u||d<i?x>h&&(h=x,b<v?lI.set(gI,0,-b):lI.set(gI,0,v)):y<f&&(f=y,b<v?lI.set(hI,0,b):lI.set(hI,0,-v))}return n&&lI.copy(n,p?hI:gI),p},t.prototype.contain=function(t,e){var n=this;return t>=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,a){if(a){if(a[1]<1e-5&&a[1]>-1e-5&&a[2]<1e-5&&a[2]>-1e-5){var r=a[0],o=a[3],i=a[4],l=a[5];return e.x=n.x*r+i,e.y=n.y*o+l,e.width=n.width*r,e.height=n.height*o,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}uI.x=pI.x=n.x,uI.y=fI.y=n.y,dI.x=fI.x=n.x+n.width,dI.y=pI.y=n.y+n.height,uI.transform(a),fI.transform(a),dI.transform(a),pI.transform(a),e.x=sI(uI.x,dI.x,pI.x,fI.x),e.y=sI(uI.y,dI.y,pI.y,fI.y);var s=cI(uI.x,dI.x,pI.x,fI.x),c=cI(uI.y,dI.y,pI.y,fI.y);e.width=s-e.x,e.height=c-e.y}else e!==n&&t.copy(e,n)},t}(),bI=mI,vI={},yI="12px sans-serif";var xI={measureText:function(t,e){return JD||(JD=bO().getContext("2d")),$D!==e&&($D=JD.font=e||yI),JD.measureText(t)}};function wI(t,e){var n=vI[e=e||yI];n||(n=vI[e]=new MT(500));var a=n.get(t);return null==a&&(a=xI.measureText(t,e).width,n.put(t,a)),a}function _I(t,e,n,a){var r=wI(t,e),o=MI(e),i=SI(0,r,n),l=CI(0,o,a);return new bI(i,l,r,o)}function kI(t,e,n,a){var r=((t||"")+"").split("\n");if(1===r.length)return _I(r[0],e,n,a);for(var o=new bI(0,0,0,0),i=0;i<r.length;i++){var l=_I(r[i],e,n,a);0===i?o.copy(l):o.union(l)}return o}function SI(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function CI(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function MI(t){return wI("国",t)}function OI(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function EI(t,e,n){var a=e.position||"inside",r=null!=e.distance?e.distance:5,o=n.height,i=n.width,l=o/2,s=n.x,c=n.y,u="left",d="top";if(a instanceof Array)s+=OI(a[0],n.width),c+=OI(a[1],n.height),u=null,d=null;else switch(a){case"left":s-=r,c+=l,u="right",d="middle";break;case"right":s+=r+i,c+=l,d="middle";break;case"top":s+=i/2,c-=r,u="center",d="bottom";break;case"bottom":s+=i/2,c+=o+r,u="center";break;case"inside":s+=i/2,c+=l,u="center",d="middle";break;case"insideLeft":s+=r,c+=l,d="middle";break;case"insideRight":s+=i-r,c+=l,u="right",d="middle";break;case"insideTop":s+=i/2,c+=r,u="center";break;case"insideBottom":s+=i/2,c+=o-r,u="center",d="bottom";break;case"insideTopLeft":s+=r,c+=r;break;case"insideTopRight":s+=i-r,c+=r,u="right";break;case"insideBottomLeft":s+=r,c+=o-r,d="bottom";break;case"insideBottomRight":s+=i-r,c+=o-r,u="right",d="bottom"}return(t=t||{}).x=s,t.y=c,t.align=u,t.verticalAlign=d,t}var TI="__zr_normal__",DI=["x","y","scaleX","scaleY","originX","originY","rotation","ignore"],II={x:!0,y:!0,scaleX:!0,scaleY:!0,originX:!0,originY:!0,rotation:!0,ignore:!1},PI={},NI=new bI(0,0,0,0),AI=function(){function t(t){this.id=uO(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var a=this.transform;a||(a=this.transform=[1,0,0,1,0,0]),a[4]+=t,a[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,a=n.local,r=e.innerTransformable,o=void 0,i=void 0,l=!1;r.parent=a?this:null;var s=!1;if(r.copyTransform(e),null!=n.position){var c=NI;n.layoutRect?c.copy(n.layoutRect):c.copy(this.getBoundingRect()),a||c.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(PI,n,c):EI(PI,n,c),r.x=PI.x,r.y=PI.y,o=PI.align,i=PI.verticalAlign;var u=n.origin;if(u&&null!=n.rotation){var d=void 0,p=void 0;"center"===u?(d=.5*c.width,p=.5*c.height):(d=OI(u[0],c.width),p=OI(u[1],c.height)),s=!0,r.originX=-r.x+d+(a?0:c.x),r.originY=-r.y+p+(a?0:c.y)}}null!=n.rotation&&(r.rotation=n.rotation);var f=n.offset;f&&(r.x+=f[0],r.y+=f[1],s||(r.originX=-f[0],r.originY=-f[1]));var h=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),m=void 0,b=void 0,v=void 0;h&&this.canBeInsideText()?(m=n.insideFill,b=n.insideStroke,null!=m&&"auto"!==m||(m=this.getInsideTextFill()),null!=b&&"auto"!==b||(b=this.getInsideTextStroke(m),v=!0)):(m=n.outsideFill,b=n.outsideStroke,null!=m&&"auto"!==m||(m=this.getOutsideFill()),null!=b&&"auto"!==b||(b=this.getOutsideStroke(m),v=!0)),(m=m||"#000")===g.fill&&b===g.stroke&&v===g.autoStroke&&o===g.align&&i===g.verticalAlign||(l=!0,g.fill=m,g.stroke=b,g.autoStroke=v,g.align=o,g.verticalAlign=i,e.setDefaultTextStyle(g)),e.__dirty|=1,l&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?LD:RD},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&FT(e);n||(n=[255,255,255,1]);for(var a=n[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*a+(r?0:255)*(1-a);return n[3]=1,XT(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},gO(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(zO(t))for(var n=OO(t),a=0;a<n.length;a++){var r=n[a];this.attrKV(r,t[r])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,n=0;n<this.animators.length;n++){var a=this.animators[n],r=a.__fromStateTransition;if(!r||r===TI){var o=a.targetName,i=o?e[o]:e;a.saveFinalToTarget(i)}}},t.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,DI)},t.prototype._savePrimaryToNormal=function(t,e,n){for(var a=0;a<n.length;a++){var r=n[a];null==t[r]||r in e||(e[r]=this[r])}},t.prototype.hasState=function(){return this.currentStates.length>0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(TI,!1,t)},t.prototype.useState=function(t,e,n,a){var r=t===TI;if(this.hasState()||!r){var o=this.currentStates,i=this.stateTransition;if(!(vO(o,t)>=0)||!e&&1!==o.length){var l;if(this.stateProxy&&!r&&(l=this.stateProxy(t)),l||(l=this.states&&this.states[t]),l||r){r||this.saveCurrentToNormalState(l);var s=!!(l&&l.hoverLayer||a);s&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,l,this._normalState,e,!n&&!this.__inHover&&i&&i.duration>0,i);var c=this._textContent,u=this._textGuide;return c&&c.useState(t,e,n,s),u&&u.useState(t,e,n,s),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!s&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2),l}dO("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var a=[],r=this.currentStates,o=t.length,i=o===r.length;if(i)for(var l=0;l<o;l++)if(t[l]!==r[l]){i=!1;break}if(i)return;for(l=0;l<o;l++){var s=t[l],c=void 0;this.stateProxy&&(c=this.stateProxy(s,t)),c||(c=this.states[s]),c&&a.push(c)}var u=a[o-1],d=!!(u&&u.hoverLayer||n);d&&this._toggleHoverLayerFlag(!0);var p=this._mergeStates(a),f=this.stateTransition;this.saveCurrentToNormalState(p),this._applyStateObj(t.join(","),p,this._normalState,!1,!e&&!this.__inHover&&f&&f.duration>0,f);var h=this._textContent,g=this._textGuide;h&&h.useStates(t,e,d),g&&g.useStates(t,e,d),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!d&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2)}else this.clearStates()},t.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},t.prototype.removeState=function(t){var e=vO(this.currentStates,t);if(e>=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var a=this.currentStates.slice(),r=vO(a,t),o=vO(a,e)>=0;r>=0?o?a.splice(r,1):a[r]=e:n&&!o&&a.push(e),this.useStates(a)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},a=0;a<t.length;a++){var r=t[a];gO(n,r),r.textConfig&&gO(e=e||{},r.textConfig)}return e&&(n.textConfig=e),n},t.prototype._applyStateObj=function(t,e,n,a,r,o){var i=!(e&&a);e&&e.textConfig?(this.textConfig=gO({},a?this.textConfig:n.textConfig),gO(this.textConfig,e.textConfig)):i&&n.textConfig&&(this.textConfig=n.textConfig);for(var l={},s=!1,c=0;c<DI.length;c++){var u=DI[c],d=r&&II[u];e&&null!=e[u]?d?(s=!0,l[u]=e[u]):this[u]=e[u]:i&&null!=n[u]&&(d?(s=!0,l[u]=n[u]):this[u]=n[u])}if(!r)for(c=0;c<this.animators.length;c++){var p=this.animators[c],f=p.targetName;p.__changeFinalValue(f?(e||n)[f]:e||n)}s&&this._transitionState(t,l,o)},t.prototype._attachComponent=function(t){if(t.__zr&&!t.__hostTarget)throw new Error("Text element has been added to zrender.");if(t===this)throw new Error("Recursive component attachment.");var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this},t.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},t.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(t){var e=this._textContent;if(e!==t){if(e&&e!==t&&this.removeTextContent(),t.__zr&&!t.__hostTarget)throw new Error("Text element has been added to zrender.");t.innerTransformable=new oI,this._attachComponent(t),this._textContent=t,this.markRedraw()}},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),gO(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=1;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,n=this._textGuide;e&&(e.__inHover=t),n&&(n.__inHover=t)},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e){var n=t?this[t]:this;if(n){var a=new fD(n,e);return this.addAnimator(a,t),a}dO('Property "'+t+'" is not existed in element '+this.id)},t.prototype.addAnimator=function(t,e){var n=this.__zr,a=this;t.during((function(){a.updateDuringAnimation(e)})).done((function(){var e=a.animators,n=vO(e,t);n>=0&&e.splice(n,1)})),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,a=n.length,r=[],o=0;o<a;o++){var i=n[o];t&&t!==i.scope?r.push(i):i.stop(e)}return this.animators=r,this},t.prototype.animateTo=function(t,e,n){zI(this,t,e,n)},t.prototype.animateFrom=function(t,e,n){zI(this,t,e,n,!0)},t.prototype._transitionState=function(t,e,n,a){for(var r=zI(this,e,n,a),o=0;o<r.length;o++)r[o].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;e.type="element",e.name="",e.ignore=!1,e.silent=!1,e.isGroup=!1,e.draggable=!1,e.dragging=!1,e.ignoreClip=!1,e.__inHover=!1,e.__dirty=1;var n={};function a(t,e,a){n[t+e+a]||(console.warn("DEPRECATED: '"+t+"' has been deprecated. use '"+e+"', '"+a+"' instead"),n[t+e+a]=!0)}function r(t,n,r,o){function i(t,e){Object.defineProperty(e,0,{get:function(){return t[r]},set:function(e){t[r]=e}}),Object.defineProperty(e,1,{get:function(){return t[o]},set:function(e){t[o]=e}})}Object.defineProperty(e,t,{get:function(){(a(t,r,o),this[n])||i(this,this[n]=[]);return this[n]},set:function(e){a(t,r,o),this[r]=e[0],this[o]=e[1],this[n]=e,i(this,e)}})}Object.defineProperty&&(!XM.browser.ie||XM.browser.version>8)&&(r("position","_legacyPos","x","y"),r("scale","_legacyScale","scaleX","scaleY"),r("origin","_legacyOrigin","originX","originY"))}(),t}();function zI(t,e,n,a,r){var o=[];jI(t,"",t,e,n=n||{},a,o,r);var i=o.length,l=!1,s=n.done,c=n.aborted,u=function(){l=!0,--i<=0&&(l?s&&s():c&&c())},d=function(){--i<=0&&(l?s&&s():c&&c())};i||s&&s(),o.length>0&&n.during&&o[0].during((function(t,e){n.during(e)}));for(var p=0;p<o.length;p++){var f=o[p];u&&f.done(u),d&&f.aborted(d),f.start(n.easing,n.force)}return o}function RI(t,e,n){for(var a=0;a<n;a++)t[a]=e[a]}function LI(t,e,n){if(wO(e[n]))if(wO(t[n])||(t[n]=[]),LO(e[n])){var a=e[n].length;t[n].length!==a&&(t[n]=new e[n].constructor(a),RI(t[n],e[n],a))}else{var r=e[n],o=t[n],i=r.length;if(wO(r[0]))for(var l=r[0].length,s=0;s<i;s++)o[s]?RI(o[s],r[s],l):o[s]=Array.prototype.slice.call(r[s]);else RI(o,r,i);o.length=r.length}else t[n]=e[n]}function jI(t,e,n,a,r,o,i,l){for(var s=[],c=[],u=OO(a),d=r.duration,p=r.delay,f=r.additive,h=r.setToFinal,g=!zO(o),m=0;m<u.length;m++){if(null!=n[C=u[m]]&&null!=a[C]&&(g||o[C]))if(zO(a[C])&&!wO(a[C])){if(e){l||(n[C]=a[C],t.updateDuringAnimation(e));continue}jI(t,C,n[C],a[C],r,o&&o[C],i,l)}else s.push(C),c.push(C);else l||(n[C]=a[C],t.updateDuringAnimation(e),c.push(C))}var b=s.length;if(b>0||r.force&&!i.length){for(var v=t.animators,y=[],x=0;x<v.length;x++)v[x].targetName===e&&y.push(v[x]);if(!f&&y.length)for(x=0;x<y.length;x++){if(y[x].stopTracks(c)){var w=vO(v,y[x]);v.splice(w,1)}}var _=void 0,k=void 0,S=void 0;if(l){k={},h&&(_={});for(x=0;x<b;x++){k[C=s[x]]=n[C],h?_[C]=a[C]:n[C]=a[C]}}else if(h){S={};for(x=0;x<b;x++){var C;S[C=s[x]]=lD(n[C]),LI(n,a,C)}}var M=new fD(n,!1,f?y:null);M.targetName=e,r.scope&&(M.scope=r.scope),h&&_&&M.whenWithKeys(0,_,s),S&&M.whenWithKeys(0,S,s),M.whenWithKeys(null==d?500:d,l?k:a,s).delay(p||0),t.addAnimator(M,e),i.push(M)}}xO(AI,PE),xO(AI,oI);var FI=AI,BI=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return d(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){if(t&&(t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),t.__hostTarget))throw"This elemenet has been used as an attachment";return this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,a=n.indexOf(e);a>=0&&(n.splice(a,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=vO(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,a=n[e];if(t&&t!==this&&t.parent!==this&&t!==a){n[e]=t,a.parent=null;var r=this.__zr;r&&a.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,a=vO(n,t);return a<0||(n.splice(a,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n<t.length;n++){var a=t[n];e&&a.removeSelfFromZr(e),a.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var n=this._children,a=0;a<n.length;a++){var r=n[a];t.call(e,r,a)}return this},e.prototype.traverse=function(t,e){for(var n=0;n<this._children.length;n++){var a=this._children[n],r=t.call(e,a);a.isGroup&&!r&&a.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++){this._children[n].addSelfToZr(e)}},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++){this._children[n].removeSelfFromZr(e)}},e.prototype.getBoundingRect=function(t){for(var e=new bI(0,0,0,0),n=t||this._children,a=[],r=null,o=0;o<n.length;o++){var i=n[o];if(!i.ignore&&!i.invisible){var l=i.getBoundingRect(),s=i.getLocalTransform(a);s?(bI.applyTransform(e,l,s),(r=r||e.clone()).union(e)):(r=r||l.clone()).union(l)}}return r||e},e}(FI);BI.prototype.type="group";var VI=BI,YI=!XM.canvasSupported,HI={},WI={};
/*!
    * ZRender, a high performance 2d drawing library.
    *
    * Copyright (c) 2013, Baidu Inc.
    * All rights reserved.
    *
    * LICENSE
    * https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
    */var UI=function(){function t(t,e,n){var a=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var r=new bT,o=n.renderer||"canvas";if(YI)throw new Error("IE8 support has been dropped since 5.0");if(HI[o]||(o=OO(HI)[0]),!HI[o])throw new Error("Renderer '"+o+"' is not imported. Please import it first.");n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var i=new HI[o](e,r,n,t);this.storage=r,this.painter=i;var l=XM.node||XM.worker?null:new ND(i.getViewportRoot(),i.root);this.handler=new iT(r,i,l,i.root),this.animation=new gD({stage:{update:function(){return a._flush(!0)}}}),this.animation.start()}return t.prototype.add=function(t){t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh()},t.prototype.setBackgroundColor=function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=function(t){if(!t)return!1;if("string"==typeof t)return ZT(t,1)<.4;if(t.colorStops){for(var e=t.colorStops,n=0,a=e.length,r=0;r<a;r++)n+=ZT(e[r].color,1);return(n/=a)<.4}return!1}(t)},t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(t){this._darkMode=t},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(t){t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},t.prototype.refresh=function(){this._needsRefresh=!0,this.animation.start()},t.prototype.flush=function(){this._flush(!1)},t.prototype._flush=function(t){var e,n=(new Date).getTime();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var a=(new Date).getTime();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:a-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},t.prototype.addHover=function(t){},t.prototype.removeHover=function(t){},t.prototype.clearHover=function(){},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover()},t.prototype.resize=function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},t.prototype.clearAnimation=function(){this.animation.clear()},t.prototype.getWidth=function(){return this.painter.getWidth()},t.prototype.getHeight=function(){return this.painter.getHeight()},t.prototype.pathToImage=function(t,e){if(this.painter.pathToImage)return this.painter.pathToImage(t,e)},t.prototype.setCursorStyle=function(t){this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this.handler.off(t,e)},t.prototype.trigger=function(t,e){this.handler.trigger(t,e)},t.prototype.clear=function(){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof VI&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()},t.prototype.dispose=function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,function(t){delete WI[t]}(this.id)},t}();function GI(t,e){var n=new UI(uO(),t,e);return WI[n.id]=n,n}function KI(t,e){HI[t]=e}var qI=Object.freeze({__proto__:null,init:GI,dispose:function(t){t.dispose()},disposeAll:function(){for(var t in WI)WI.hasOwnProperty(t)&&WI[t].dispose();WI={}},getInstance:function(t){return WI[t]},registerPainter:KI,version:"5.2.1"}),XI=1e-4;function ZI(t,e,n,a){var r=e[0],o=e[1],i=n[0],l=n[1],s=o-r,c=l-i;if(0===s)return 0===c?i:(i+l)/2;if(a)if(s>0){if(t<=r)return i;if(t>=o)return l}else{if(t>=r)return i;if(t<=o)return l}else{if(t===r)return i;if(t===o)return l}return(t-r)/s*c+i}function JI(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return"string"==typeof t?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n}function $I(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function QI(t){return t.sort((function(t,e){return t-e})),t}function tP(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return eP(t)}function eP(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),a=n>0?+e.slice(n+1):0,r=n>0?n:e.length,o=e.indexOf("."),i=o<0?0:r-1-o;return Math.max(0,i-a)}function nP(t,e){var n=Math.log,a=Math.LN10,r=Math.floor(n(t[1]-t[0])/a),o=Math.round(n(Math.abs(e[1]-e[0]))/a),i=Math.min(Math.max(-r+o,0),20);return isFinite(i)?i:20}function aP(t,e,n){if(!t[e])return 0;var a=SO(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===a)return 0;for(var r=Math.pow(10,n),o=kO(t,(function(t){return(isNaN(t)?0:t)/a*r*100})),i=100*r,l=kO(o,(function(t){return Math.floor(t)})),s=SO(l,(function(t,e){return t+e}),0),c=kO(o,(function(t,e){return t-l[e]}));s<i;){for(var u=Number.NEGATIVE_INFINITY,d=null,p=0,f=c.length;p<f;++p)c[p]>u&&(u=c[p],d=p);++l[d],c[d]=0,++s}return l[e]/r}function rP(t,e){var n=Math.max(tP(t),tP(e)),a=t+e;return n>20?a:$I(a,n)}var oP=9007199254740991;function iP(t){var e=2*Math.PI;return(t%e+e)%e}function lP(t){return t>-1e-4&&t<XI}var sP=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function cP(t){if(t instanceof Date)return t;if("string"==typeof t){var e=sP.exec(t);if(!e)return new Date(NaN);if(e[8]){var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0)}return null==t?new Date(NaN):new Date(Math.round(t))}function uP(t){return Math.pow(10,dP(t))}function dP(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}function pP(t,e){var n=dP(t),a=Math.pow(10,n),r=t/a;return t=(e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10)*a,n>=-20?+t.toFixed(n<0?-n:0):t}function fP(t,e){var n=(t.length-1)*e+1,a=Math.floor(n),r=+t[a-1],o=n-a;return o?r+o*(t[a]-r):r}function hP(t){t.sort((function(t,e){return l(t,e,0)?-1:1}));for(var e=-1/0,n=1,a=0;a<t.length;){for(var r=t[a].interval,o=t[a].close,i=0;i<2;i++)r[i]<=e&&(r[i]=e,o[i]=i?1:1-n),e=r[i],n=o[i];r[0]===r[1]&&o[0]*o[1]!=1?t.splice(a,1):a++}return t;function l(t,e,n){return t.interval[n]<e.interval[n]||t.interval[n]===e.interval[n]&&(t.close[n]-e.close[n]==(n?-1:1)||!n&&l(t,e,1))}}function gP(t){var e=parseFloat(t);return e==t&&(0!==e||"string"!=typeof t||t.indexOf("x")<=0)?e:NaN}function mP(t){return!isNaN(gP(t))}function bP(){return Math.round(9*Math.random())}function vP(t,e){return 0===e?t:vP(e,t%e)}function yP(t,e){return null==t?e:null==e?t:t*e/vP(t,e)}function xP(t){throw new Error(t)}var wP="series\0",_P="\0_ec_\0";function kP(t){return t instanceof Array?t:null==t?[]:[t]}function SP(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var a=0,r=n.length;a<r;a++){var o=n[a];!t.emphasis[e].hasOwnProperty(o)&&t[e].hasOwnProperty(o)&&(t.emphasis[e][o]=t[e][o])}}}var CP=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function MP(t){return!zO(t)||DO(t)||t instanceof Date?t:t.value}function OP(t){return zO(t)&&!(t instanceof Array)}function EP(t,e,n){var a="normalMerge"===n,r="replaceMerge"===n,o="replaceAll"===n;t=t||[],e=(e||[]).slice();var i=tE();_O(e,(function(t,n){zO(t)||(e[n]=null)}));var l,s,c=function(t,e,n){var a=[];if("replaceAll"===n)return a;for(var r=0;r<t.length;r++){var o=t[r];o&&null!=o.id&&e.set(o.id,r),a.push({existing:"replaceMerge"===n||NP(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return a}(t,i,n);return(a||r)&&function(t,e,n,a){_O(a,(function(r,o){if(r&&null!=r.id){var i=DP(r.id),l=n.get(i);if(null!=l){var s=t[l];qO(!s.newOption,'Duplicated option on id "'+i+'".'),s.newOption=r,s.existing=e[l],a[o]=null}}}))}(c,t,i,e),a&&function(t,e){_O(e,(function(n,a){if(n&&null!=n.name)for(var r=0;r<t.length;r++){var o=t[r].existing;if(!t[r].newOption&&o&&(null==o.id||null==n.id)&&!NP(n)&&!NP(o)&&TP("name",o,n))return t[r].newOption=n,void(e[a]=null)}}))}(c,e),a||r?function(t,e,n){_O(e,(function(e){if(e){for(var a,r=0;(a=t[r])&&(a.newOption||NP(a.existing)||a.existing&&null!=e.id&&!TP("id",e,a.existing));)r++;a?(a.newOption=e,a.brandNew=n):t.push({newOption:e,brandNew:n,existing:null,keyInfo:null}),r++}}))}(c,e,r):o&&function(t,e){_O(e,(function(e){t.push({newOption:e,brandNew:!0,existing:null,keyInfo:null})}))}(c,e),l=c,s=tE(),_O(l,(function(t){var e=t.existing;e&&s.set(e.id,t)})),_O(l,(function(t){var e=t.newOption;qO(!e||null==e.id||!s.get(e.id)||s.get(e.id)===t,"id duplicates: "+(e&&e.id)),e&&null!=e.id&&s.set(e.id,t),!t.keyInfo&&(t.keyInfo={})})),_O(l,(function(t,e){var n=t.existing,a=t.newOption,r=t.keyInfo;if(zO(a)){if(r.name=null!=a.name?DP(a.name):n?n.name:wP+e,n)r.id=DP(n.id);else if(null!=a.id)r.id=DP(a.id);else{var o=0;do{r.id="\0"+r.name+"\0"+o++}while(s.get(r.id))}s.set(r.id,t)}})),c}function TP(t,e,n){var a=IP(e[t],null),r=IP(n[t],null);return null!=a&&null!=r&&a===r}function DP(t){return IP(t,"")}function IP(t,e){if(null==t)return e;var n=typeof t;return"string"===n?t:"number"===n||NO(t)?t+"":e}function PP(t){var e=t.name;return!(!e||!e.indexOf(wP))}function NP(t){return t&&null!=t.id&&0===DP(t.id).indexOf(_P)}function AP(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?DO(e.dataIndex)?kO(e.dataIndex,(function(e){return t.indexOfRawIndex(e)})):t.indexOfRawIndex(e.dataIndex):null!=e.name?DO(e.name)?kO(e.name,(function(e){return t.indexOfName(e)})):t.indexOfName(e.name):void 0}function zP(){var t="__ec_inner_"+RP++;return function(e){return e[t]||(e[t]={})}}var RP=bP();function LP(t,e,n){var a=jP(e,n),r=a.mainTypeSpecified,o=a.queryOptionMap,i=a.others,l=n?n.defaultMainType:null;return!r&&l&&o.set(l,{}),o.each((function(e,a){var r=VP(t,a,e,{useDefault:l===a,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});i[a+"Models"]=r.models,i[a+"Model"]=r.models[0]})),i}function jP(t,e){var n;if(PO(t)){var a={};a[t+"Index"]=0,n=a}else n=t;var r=tE(),o={},i=!1;return _O(n,(function(t,n){if("dataIndex"!==n&&"dataIndexInside"!==n){var a=n.match(/^(\w+)(Index|Id|Name)$/)||[],l=a[1],s=(a[2]||"").toLowerCase();if(l&&s&&!(e&&e.includeMainTypes&&vO(e.includeMainTypes,l)<0))i=i||!!l,(r.get(l)||r.set(l,{}))[s]=t}else o[n]=t})),{mainTypeSpecified:i,queryOptionMap:r,others:o}}var FP={useDefault:!0,enableAll:!1,enableNone:!1},BP={useDefault:!1,enableAll:!0,enableNone:!0};function VP(t,e,n,a){a=a||FP;var r=n.index,o=n.id,i=n.name,l={models:null,specified:null!=r||null!=o||null!=i};if(!l.specified){var s=void 0;return l.models=a.useDefault&&(s=t.getComponent(e))?[s]:[],l}return"none"===r||!1===r?(qO(a.enableNone,'`"none"` or `false` is not a valid value on index option.'),l.models=[],l):("all"===r&&(qO(a.enableAll,'`"all"` is not a valid value on index option.'),r=o=i=null),l.models=t.queryComponents({mainType:e,index:r,id:o,name:i}),l)}function YP(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function HP(t,e){var n=tE(),a=[];return _O(t,(function(t){var r=e(t);(n.get(r)||(a.push(r),n.set(r,[]))).push(t)})),{keys:a,buckets:n}}function WP(t,e,n,a,r){var o=null==e||"auto"===e;if(null==a)return a;if("number"==typeof a)return $I(h=QT(n||0,a,r),o?Math.max(tP(n||0),tP(a)):e);if("string"==typeof a)return r<1?n:a;for(var i=[],l=n,s=a,c=Math.max(l?l.length:0,s.length),u=0;u<c;++u){var d=t.getDimensionInfo(u);if(d&&"ordinal"===d.type)i[u]=(r<1&&l?l:s)[u];else{var p=l&&l[u]?l[u]:0,f=s[u],h=QT(p,f,r);i[u]=$I(h,o?Math.max(tP(p),tP(f)):e)}}return i}var UP="___EC__COMPONENT__CONTAINER___",GP="___EC__EXTENDED_CLASS___";function KP(t){var e={main:"",sub:""};if(t){var n=t.split(".");e.main=n[0]||"",e.sub=n[1]||""}return e}function qP(t,e){t.$constructor=t,t.extend=function(t){var e=this;function n(){for(var a=[],r=0;r<arguments.length;r++)a[r]=arguments[r];if(t.$constructor)t.$constructor.apply(this,arguments);else{if(XP(e)){var o=nE(n.prototype,new(e.bind.apply(e,h([void 0],a))));return o}e.apply(this,arguments)}}return n[GP]=!0,gO(n.prototype,t),n.extend=this.extend,n.superCall=$P,n.superApply=QP,yO(n,this),n.superClass=e,n}}function XP(t){return"function"==typeof t&&/^class\s/.test(Function.prototype.toString.call(t))}function ZP(t,e){t.extend=e.extend}var JP=Math.round(10*Math.random());function $P(t,e){for(var n=[],a=2;a<arguments.length;a++)n[a-2]=arguments[a];return this.superClass.prototype[e].apply(t,n)}function QP(t,e,n){return this.superClass.prototype[e].apply(t,n)}function tN(t){var e={};t.registerClass=function(t){var n,a=t.type||t.prototype.type;if(a){qO(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n=a),'componentType "'+n+'" illegal'),t.prototype.type=a;var r=KP(a);if(r.sub){if(r.sub!==UP){var o=function(t){var n=e[t.main];n&&n[UP]||((n=e[t.main]={})[UP]=!0);return n}(r);o[r.sub]=t}}else e[r.main]=t}return t},t.getClass=function(t,n,a){var r=e[t];if(r&&r[UP]&&(r=n?r[n]:null),a&&!r)throw new Error(n?"Component "+t+"."+(n||"")+" is used but not imported.":t+".type should be specified.");return r},t.getClassesByMainType=function(t){var n=KP(t),a=[],r=e[n.main];return r&&r[UP]?_O(r,(function(t,e){e!==UP&&a.push(t)})):a.push(r),a},t.hasClass=function(t){var n=KP(t);return!!e[n.main]},t.getAllClassMainTypes=function(){var t=[];return _O(e,(function(e,n){t.push(n)})),t},t.hasSubTypes=function(t){var n=KP(t),a=e[n.main];return a&&a[UP]}}function eN(t,e){for(var n=0;n<t.length;n++)t[n][1]||(t[n][1]=t[n][0]);return e=e||!1,function(n,a,r){for(var o={},i=0;i<t.length;i++){var l=t[i][1];if(!(a&&vO(a,l)>=0||r&&vO(r,l)<0)){var s=n.getShallow(l,e);null!=s&&(o[t[i][0]]=s)}}return o}}var nN=eN([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),aN=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return nN(this,t,e)},t}(),rN=new MT(50);function oN(t){if("string"==typeof t){var e=rN.get(t);return e&&e.image}return t}function iN(t,e,n,a,r){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var o=rN.get(t),i={hostEl:n,cb:a,cbPayload:r};return o?!sN(e=o.image)&&o.pending.push(i):((e=new Image).onload=e.onerror=lN,rN.put(t,e.__cachedImgObj={image:e,pending:[i]}),e.src=e.__zrImageSrc=t),e}return t}return e}function lN(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],a=n.cb;a&&a(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function sN(t){return t&&t.width&&t.height}var cN=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function uN(t,e,n,a,r){if(!e)return"";var o=(t+"").split("\n");r=dN(e,n,a,r);for(var i=0,l=o.length;i<l;i++)o[i]=pN(o[i],r);return o.join("\n")}function dN(t,e,n,a){var r=gO({},a=a||{});r.font=e,n=WO(n,"..."),r.maxIterations=WO(a.maxIterations,2);var o=r.minChar=WO(a.minChar,0);r.cnCharWidth=wI("国",e);var i=r.ascCharWidth=wI("a",e);r.placeholder=WO(a.placeholder,"");for(var l=t=Math.max(0,t-1),s=0;s<o&&l>=i;s++)l-=i;var c=wI(n,e);return c>l&&(n="",c=0),l=t-c,r.ellipsis=n,r.ellipsisWidth=c,r.contentWidth=l,r.containerWidth=t,r}function pN(t,e){var n=e.containerWidth,a=e.font,r=e.contentWidth;if(!n)return"";var o=wI(t,a);if(o<=n)return t;for(var i=0;;i++){if(o<=r||i>=e.maxIterations){t+=e.ellipsis;break}var l=0===i?fN(t,r,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*r/o):0;o=wI(t=t.substr(0,l),a)}return""===t&&(t=e.placeholder),t}function fN(t,e,n,a){for(var r=0,o=0,i=t.length;o<i&&r<e;o++){var l=t.charCodeAt(o);r+=0<=l&&l<=127?n:a}return o}var hN=function(){},gN=function(t){this.tokens=[],t&&(this.tokens=t)},mN=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]};function bN(t,e,n,a,r){var o,i,l=""===e,s=r&&n.rich[r]||{},c=t.lines,u=s.font||n.font,d=!1;if(a){var p=s.padding,f=p?p[1]+p[3]:0;if(null!=s.width&&"auto"!==s.width){var h=OI(s.width,a.width)+f;c.length>0&&h+a.accumWidth>a.width&&(o=e.split("\n"),d=!0),a.accumWidth=h}else{var g=xN(e,u,a.width,a.breakAll,a.accumWidth);a.accumWidth=g.accumWidth+f,i=g.linesWidths,o=g.lines}}else o=e.split("\n");for(var m=0;m<o.length;m++){var b=o[m],v=new hN;if(v.styleName=r,v.text=b,v.isLineHolder=!b&&!l,"number"==typeof s.width?v.width=s.width:v.width=i?i[m]:wI(b,u),m||d)c.push(new gN([v]));else{var y=(c[c.length-1]||(c[0]=new gN)).tokens,x=y.length;1===x&&y[0].isLineHolder?y[0]=v:(b||!x||l)&&y.push(v)}}}var vN=SO(",&?/;] ".split(""),(function(t,e){return t[e]=!0,t}),{});function yN(t){return!function(t){var e=t.charCodeAt(0);return e>=33&&e<=255}(t)||!!vN[t]}function xN(t,e,n,a,r){for(var o=[],i=[],l="",s="",c=0,u=0,d=0;d<t.length;d++){var p=t.charAt(d);if("\n"!==p){var f=wI(p,e),h=!a&&!yN(p);(o.length?u+f>n:r+u+f>n)?u?(l||s)&&(h?(l||(l=s,s="",u=c=0),o.push(l),i.push(u-c),s+=p,l="",u=c+=f):(s&&(l+=s,u+=c,s="",c=0),o.push(l),i.push(u),l=p,u=f)):h?(o.push(s),i.push(c),s=p,c=f):(o.push(p),i.push(f)):(u+=f,h?(s+=p,c+=f):(s&&(l+=s,s="",c=0),l+=p))}else s&&(l+=s,u+=c),o.push(l),i.push(u),l="",s="",c=0,u=0}return o.length||l||(l=t,s="",c=0),s&&(l+=s),l&&(o.push(l),i.push(u)),1===o.length&&(u+=r),{accumWidth:u,lines:o,linesWidths:i}}var wN="__zr_style_"+Math.round(10*Math.random()),_N={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},kN={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};_N[wN]=!0;var SN=["z","z2","invisible"],CN=["invisible"],MN=function(t){function e(e){return t.call(this,e)||this}var n;return d(e,t),e.prototype._init=function(e){for(var n=OO(e),a=0;a<n.length;a++){var r=n[a];"style"===r?this.useStyle(e[r]):t.prototype.attrKV.call(this,r,e[r])}this.style||this.useStyle({})},e.prototype.beforeBrush=function(){},e.prototype.afterBrush=function(){},e.prototype.innerBeforeBrush=function(){},e.prototype.innerAfterBrush=function(){},e.prototype.shouldBePainted=function(t,e,n,a){var r=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&function(t,e,n){ON.copy(t.getBoundingRect()),t.transform&&ON.applyTransform(t.transform);return EN.width=e,EN.height=n,!ON.intersect(EN)}(this,t,e)||r&&!r[0]&&!r[3])return!1;if(n&&this.__clipPaths)for(var o=0;o<this.__clipPaths.length;++o)if(this.__clipPaths[o].isZeroArea())return!1;if(a&&this.parent)for(var i=this.parent;i;){if(i.ignore)return!1;i=i.parent}return!0},e.prototype.contain=function(t,e){return this.rectContain(t,e)},e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.rectContain=function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(n[0],n[1])},e.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,n=this.getBoundingRect(),a=this.style,r=a.shadowBlur||0,o=a.shadowOffsetX||0,i=a.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new bI(0,0,0,0)),e?bI.applyTransform(t,n,e):t.copy(n),(r||o||i)&&(t.width+=2*r+Math.abs(o),t.height+=2*r+Math.abs(i),t.x=Math.min(t.x,t.x+o-r),t.y=Math.min(t.y,t.y+i-r));var l=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-l),t.y=Math.floor(t.y-l),t.width=Math.ceil(t.width+1+2*l),t.height=Math.ceil(t.height+1+2*l))}return t},e.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new bI(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},e.prototype.getPrevPaintRect=function(){return this._prevPaintRect},e.prototype.animateStyle=function(t){return this.animate("style",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},e.prototype.attrKV=function(e,n){"style"!==e?t.prototype.attrKV.call(this,e,n):this.style?this.setStyle(n):this.useStyle(n)},e.prototype.setStyle=function(t,e){return"string"==typeof t?this.style[t]=e:gO(this.style,t),this.dirtyStyle(),this},e.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=2,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(2&this.__dirty)},e.prototype.styleUpdated=function(){this.__dirty&=-3},e.prototype.createStyle=function(t){return nE(_N,t)},e.prototype.useStyle=function(t){t[wN]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},e.prototype.isStyleObject=function(t){return t[wN]},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,n,SN)},e.prototype._applyStateObj=function(e,n,a,r,o,i){t.prototype._applyStateObj.call(this,e,n,a,r,o,i);var l,s=!(n&&r);if(n&&n.style?o?r?l=n.style:(l=this._mergeStyle(this.createStyle(),a.style),this._mergeStyle(l,n.style)):(l=this._mergeStyle(this.createStyle(),r?this.style:a.style),this._mergeStyle(l,n.style)):s&&(l=a.style),l)if(o){var c=this.style;if(this.style=this.createStyle(s?{}:c),s)for(var u=OO(c),d=0;d<u.length;d++){(f=u[d])in l&&(l[f]=l[f],this.style[f]=c[f])}var p=OO(l);for(d=0;d<p.length;d++){var f=p[d];this.style[f]=this.style[f]}this._transitionState(e,{style:l},i,this.getAnimationStyleProps())}else this.useStyle(l);var h=this.__inHover?CN:SN;for(d=0;d<h.length;d++){f=h[d];n&&null!=n[f]?this[f]=n[f]:s&&null!=a[f]&&(this[f]=a[f])}},e.prototype._mergeStates=function(e){for(var n,a=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.style&&(n=n||{},this._mergeStyle(n,o.style))}return n&&(a.style=n),a},e.prototype._mergeStyle=function(t,e){return gO(t,e),t},e.prototype.getAnimationStyleProps=function(){return kN},e.initDefaultProps=((n=e.prototype).type="displayable",n.invisible=!1,n.z=0,n.z2=0,n.zlevel=0,n.culling=!1,n.cursor="pointer",n.rectHover=!1,n.incremental=!1,n._rect=null,n.dirtyRectTolerance=0,void(n.__dirty=3)),e}(FI),ON=new bI(0,0,0,0),EN=new bI(0,0,0,0);var TN=MN,DN=Math.pow,IN=Math.sqrt,PN=1e-8,NN=1e-4,AN=IN(3),zN=1/3,RN=iE(),LN=iE(),jN=iE();function FN(t){return t>-1e-8&&t<PN}function BN(t){return t>PN||t<-1e-8}function VN(t,e,n,a,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*a+3*o*n)}function YN(t,e,n,a,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(a-n)*r*r)}function HN(t,e,n,a,r,o){var i=a+3*(e-n)-t,l=3*(n-2*e+t),s=3*(e-t),c=t-r,u=l*l-3*i*s,d=l*s-9*i*c,p=s*s-3*l*c,f=0;if(FN(u)&&FN(d)){if(FN(l))o[0]=0;else(S=-s/l)>=0&&S<=1&&(o[f++]=S)}else{var h=d*d-4*u*p;if(FN(h)){var g=d/u,m=-g/2;(S=-l/i+g)>=0&&S<=1&&(o[f++]=S),m>=0&&m<=1&&(o[f++]=m)}else if(h>0){var b=IN(h),v=u*l+1.5*i*(-d+b),y=u*l+1.5*i*(-d-b);(S=(-l-((v=v<0?-DN(-v,zN):DN(v,zN))+(y=y<0?-DN(-y,zN):DN(y,zN))))/(3*i))>=0&&S<=1&&(o[f++]=S)}else{var x=(2*u*l-3*i*d)/(2*IN(u*u*u)),w=Math.acos(x)/3,_=IN(u),k=Math.cos(w),S=(-l-2*_*k)/(3*i),C=(m=(-l+_*(k+AN*Math.sin(w)))/(3*i),(-l+_*(k-AN*Math.sin(w)))/(3*i));S>=0&&S<=1&&(o[f++]=S),m>=0&&m<=1&&(o[f++]=m),C>=0&&C<=1&&(o[f++]=C)}}return f}function WN(t,e,n,a,r){var o=6*n-12*e+6*t,i=9*e+3*a-3*t-9*n,l=3*e-3*t,s=0;if(FN(i)){if(BN(o))(u=-l/o)>=0&&u<=1&&(r[s++]=u)}else{var c=o*o-4*i*l;if(FN(c))r[0]=-o/(2*i);else if(c>0){var u,d=IN(c),p=(-o-d)/(2*i);(u=(-o+d)/(2*i))>=0&&u<=1&&(r[s++]=u),p>=0&&p<=1&&(r[s++]=p)}}return s}function UN(t,e,n,a,r,o){var i=(e-t)*r+t,l=(n-e)*r+e,s=(a-n)*r+n,c=(l-i)*r+i,u=(s-l)*r+l,d=(u-c)*r+c;o[0]=t,o[1]=i,o[2]=c,o[3]=d,o[4]=d,o[5]=u,o[6]=s,o[7]=a}function GN(t,e,n,a,r,o,i,l,s,c,u){var d,p,f,h,g,m=.005,b=1/0;RN[0]=s,RN[1]=c;for(var v=0;v<1;v+=.05)LN[0]=VN(t,n,r,i,v),LN[1]=VN(e,a,o,l,v),(h=_E(RN,LN))<b&&(d=v,b=h);b=1/0;for(var y=0;y<32&&!(m<NN);y++)p=d-m,f=d+m,LN[0]=VN(t,n,r,i,p),LN[1]=VN(e,a,o,l,p),h=_E(LN,RN),p>=0&&h<b?(d=p,b=h):(jN[0]=VN(t,n,r,i,f),jN[1]=VN(e,a,o,l,f),g=_E(jN,RN),f<=1&&g<b?(d=f,b=g):m*=.5);return u&&(u[0]=VN(t,n,r,i,d),u[1]=VN(e,a,o,l,d)),IN(b)}function KN(t,e,n,a,r,o,i,l,s){for(var c=t,u=e,d=0,p=1/s,f=1;f<=s;f++){var h=f*p,g=VN(t,n,r,i,h),m=VN(e,a,o,l,h),b=g-c,v=m-u;d+=Math.sqrt(b*b+v*v),c=g,u=m}return d}function qN(t,e,n,a){var r=1-a;return r*(r*t+2*a*e)+a*a*n}function XN(t,e,n,a){return 2*((1-a)*(e-t)+a*(n-e))}function ZN(t,e,n){var a=t+n-2*e;return 0===a?.5:(t-e)/a}function JN(t,e,n,a,r){var o=(e-t)*a+t,i=(n-e)*a+e,l=(i-o)*a+o;r[0]=t,r[1]=o,r[2]=l,r[3]=l,r[4]=i,r[5]=n}function $N(t,e,n,a,r,o,i,l,s){var c,u=.005,d=1/0;RN[0]=i,RN[1]=l;for(var p=0;p<1;p+=.05){LN[0]=qN(t,n,r,p),LN[1]=qN(e,a,o,p),(m=_E(RN,LN))<d&&(c=p,d=m)}d=1/0;for(var f=0;f<32&&!(u<NN);f++){var h=c-u,g=c+u;LN[0]=qN(t,n,r,h),LN[1]=qN(e,a,o,h);var m=_E(LN,RN);if(h>=0&&m<d)c=h,d=m;else{jN[0]=qN(t,n,r,g),jN[1]=qN(e,a,o,g);var b=_E(jN,RN);g<=1&&b<d?(c=g,d=b):u*=.5}}return s&&(s[0]=qN(t,n,r,c),s[1]=qN(e,a,o,c)),IN(d)}function QN(t,e,n,a,r,o,i){for(var l=t,s=e,c=0,u=1/i,d=1;d<=i;d++){var p=d*u,f=qN(t,n,r,p),h=qN(e,a,o,p),g=f-l,m=h-s;c+=Math.sqrt(g*g+m*m),l=f,s=h}return c}var tA=Math.min,eA=Math.max,nA=Math.sin,aA=Math.cos,rA=2*Math.PI,oA=iE(),iA=iE(),lA=iE();function sA(t,e,n){if(0!==t.length){for(var a=t[0],r=a[0],o=a[0],i=a[1],l=a[1],s=1;s<t.length;s++)a=t[s],r=tA(r,a[0]),o=eA(o,a[0]),i=tA(i,a[1]),l=eA(l,a[1]);e[0]=r,e[1]=i,n[0]=o,n[1]=l}}function cA(t,e,n,a,r,o){r[0]=tA(t,n),r[1]=tA(e,a),o[0]=eA(t,n),o[1]=eA(e,a)}var uA=[],dA=[];function pA(t,e,n,a,r,o,i,l,s,c){var u=WN,d=VN,p=u(t,n,r,i,uA);s[0]=1/0,s[1]=1/0,c[0]=-1/0,c[1]=-1/0;for(var f=0;f<p;f++){var h=d(t,n,r,i,uA[f]);s[0]=tA(h,s[0]),c[0]=eA(h,c[0])}p=u(e,a,o,l,dA);for(f=0;f<p;f++){var g=d(e,a,o,l,dA[f]);s[1]=tA(g,s[1]),c[1]=eA(g,c[1])}s[0]=tA(t,s[0]),c[0]=eA(t,c[0]),s[0]=tA(i,s[0]),c[0]=eA(i,c[0]),s[1]=tA(e,s[1]),c[1]=eA(e,c[1]),s[1]=tA(l,s[1]),c[1]=eA(l,c[1])}function fA(t,e,n,a,r,o,i,l){var s=ZN,c=qN,u=eA(tA(s(t,n,r),1),0),d=eA(tA(s(e,a,o),1),0),p=c(t,n,r,u),f=c(e,a,o,d);i[0]=tA(t,r,p),i[1]=tA(e,o,f),l[0]=eA(t,r,p),l[1]=eA(e,o,f)}function hA(t,e,n,a,r,o,i,l,s){var c=CE,u=ME,d=Math.abs(r-o);if(d%rA<1e-4&&d>1e-4)return l[0]=t-n,l[1]=e-a,s[0]=t+n,void(s[1]=e+a);if(oA[0]=aA(r)*n+t,oA[1]=nA(r)*a+e,iA[0]=aA(o)*n+t,iA[1]=nA(o)*a+e,c(l,oA,iA),u(s,oA,iA),(r%=rA)<0&&(r+=rA),(o%=rA)<0&&(o+=rA),r>o&&!i?o+=rA:r<o&&i&&(r+=rA),i){var p=o;o=r,r=p}for(var f=0;f<o;f+=Math.PI/2)f>r&&(lA[0]=aA(f)*n+t,lA[1]=nA(f)*a+e,c(l,lA,l),u(s,lA,s))}var gA={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},mA=[],bA=[],vA=[],yA=[],xA=[],wA=[],_A=Math.min,kA=Math.max,SA=Math.cos,CA=Math.sin,MA=Math.sqrt,OA=Math.abs,EA=Math.PI,TA=2*EA,DA="undefined"!=typeof Float32Array,IA=[];function PA(t){return Math.round(t/EA*1e8)/1e8%2*EA}function NA(t,e){var n=PA(t[0]);n<0&&(n+=TA);var a=n-t[0],r=t[1];r+=a,!e&&r-n>=TA?r=n+TA:e&&n-r>=TA?r=n-TA:!e&&n>r?r=n+(TA-PA(n-r)):e&&n<r&&(r=n-(TA-PA(r-n))),t[0]=n,t[1]=r}var AA=function(){function t(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return t.prototype.increaseVersion=function(){this._version++},t.prototype.getVersion=function(){return this._version},t.prototype.setScale=function(t,e,n){(n=n||0)>0&&(this._ux=OA(n/zD/t)||0,this._uy=OA(n/zD/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(gA.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=OA(t-this._xi),a=OA(e-this._yi),r=n>this._ux||a>this._uy;if(this.addData(gA.L,t,e),this._ctx&&r&&(this._needsDash?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+a*a;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,a,r,o){return this._drawPendingPt(),this.addData(gA.C,t,e,n,a,r,o),this._ctx&&(this._needsDash?this._dashedBezierTo(t,e,n,a,r,o):this._ctx.bezierCurveTo(t,e,n,a,r,o)),this._xi=r,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,a){return this._drawPendingPt(),this.addData(gA.Q,t,e,n,a),this._ctx&&(this._needsDash?this._dashedQuadraticTo(t,e,n,a):this._ctx.quadraticCurveTo(t,e,n,a)),this._xi=n,this._yi=a,this},t.prototype.arc=function(t,e,n,a,r,o){this._drawPendingPt(),IA[0]=a,IA[1]=r,NA(IA,o),a=IA[0];var i=(r=IA[1])-a;return this.addData(gA.A,t,e,n,n,a,i,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,a,r,o),this._xi=SA(r)*n+t,this._yi=CA(r)*n+e,this},t.prototype.arcTo=function(t,e,n,a,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,a,r),this},t.prototype.rect=function(t,e,n,a){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,a),this.addData(gA.R,t,e,n,a),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(gA.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&(this._needsDash&&this._dashedLineTo(e,n),t.closePath()),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.setLineDash=function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,n=0;n<t.length;n++)e+=t[n];this._dashSum=e,this._needsDash=!0}else this._lineDash=null,this._needsDash=!1;return this},t.prototype.setLineDashOffset=function(t){return this._dashOffset=t,this},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!DA||(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},t.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var e=t.length,n=0,a=this._len,r=0;r<e;r++)n+=t[r].len();DA&&this.data instanceof Float32Array&&(this.data=new Float32Array(a+n));for(r=0;r<e;r++)for(var o=t[r].data,i=0;i<o.length;i++)this.data[a++]=o[i];this._len=a},t.prototype.addData=function(t,e,n,a,r,o,i,l,s){if(this._saveData){var c=this.data;this._len+arguments.length>c.length&&(this._expandData(),c=this.data);for(var u=0;u<arguments.length;u++)c[this._len++]=arguments[u]}},t.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},t.prototype._dashedLineTo=function(t,e){var n,a,r=this._dashSum,o=this._lineDash,i=this._ctx,l=this._dashOffset,s=this._xi,c=this._yi,u=t-s,d=e-c,p=MA(u*u+d*d),f=s,h=c,g=o.length;for(l<0&&(l=r+l),f-=(l%=r)*(u/=p),h-=l*(d/=p);u>0&&f<=t||u<0&&f>=t||0===u&&(d>0&&h<=e||d<0&&h>=e);)f+=u*(n=o[a=this._dashIdx]),h+=d*n,this._dashIdx=(a+1)%g,u>0&&f<s||u<0&&f>s||d>0&&h<c||d<0&&h>c||i[a%2?"moveTo":"lineTo"](u>=0?_A(f,t):kA(f,t),d>=0?_A(h,e):kA(h,e));u=f-t,d=h-e,this._dashOffset=-MA(u*u+d*d)},t.prototype._dashedBezierTo=function(t,e,n,a,r,o){var i,l,s,c,u,d=this._ctx,p=this._dashSum,f=this._dashOffset,h=this._lineDash,g=this._xi,m=this._yi,b=0,v=this._dashIdx,y=h.length,x=0;for(f<0&&(f=p+f),f%=p,i=0;i<1;i+=.1)l=VN(g,t,n,r,i+.1)-VN(g,t,n,r,i),s=VN(m,e,a,o,i+.1)-VN(m,e,a,o,i),b+=MA(l*l+s*s);for(;v<y&&!((x+=h[v])>f);v++);for(i=(x-f)/b;i<=1;)c=VN(g,t,n,r,i),u=VN(m,e,a,o,i),v%2?d.moveTo(c,u):d.lineTo(c,u),i+=h[v]/b,v=(v+1)%y;v%2!=0&&d.lineTo(r,o),l=r-c,s=o-u,this._dashOffset=-MA(l*l+s*s)},t.prototype._dashedQuadraticTo=function(t,e,n,a){var r=n,o=a;n=(n+2*t)/3,a=(a+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,n,a,r,o)},t.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,DA&&this._len>11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){vA[0]=vA[1]=xA[0]=xA[1]=Number.MAX_VALUE,yA[0]=yA[1]=wA[0]=wA[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,a=0,r=0,o=0;for(t=0;t<this._len;){var i=e[t++],l=1===t;switch(l&&(r=n=e[t],o=a=e[t+1]),i){case gA.M:n=r=e[t++],a=o=e[t++],xA[0]=r,xA[1]=o,wA[0]=r,wA[1]=o;break;case gA.L:cA(n,a,e[t],e[t+1],xA,wA),n=e[t++],a=e[t++];break;case gA.C:pA(n,a,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],xA,wA),n=e[t++],a=e[t++];break;case gA.Q:fA(n,a,e[t++],e[t++],e[t],e[t+1],xA,wA),n=e[t++],a=e[t++];break;case gA.A:var s=e[t++],c=e[t++],u=e[t++],d=e[t++],p=e[t++],f=e[t++]+p;t+=1;var h=!e[t++];l&&(r=SA(p)*u+s,o=CA(p)*d+c),hA(s,c,u,d,p,f,h,xA,wA),n=SA(f)*u+s,a=CA(f)*d+c;break;case gA.R:cA(r=n=e[t++],o=a=e[t++],r+e[t++],o+e[t++],xA,wA);break;case gA.Z:n=r,a=o}CE(vA,vA,xA),ME(yA,yA,wA)}return 0===t&&(vA[0]=vA[1]=yA[0]=yA[1]=0),new bI(vA[0],vA[1],yA[0]-vA[0],yA[1]-vA[1])},t.prototype._calculateLength=function(){var t=this.data,e=this._len,n=this._ux,a=this._uy,r=0,o=0,i=0,l=0;this._pathSegLen||(this._pathSegLen=[]);for(var s=this._pathSegLen,c=0,u=0,d=0;d<e;){var p=t[d++],f=1===d;f&&(i=r=t[d],l=o=t[d+1]);var h=-1;switch(p){case gA.M:r=i=t[d++],o=l=t[d++];break;case gA.L:var g=t[d++],m=(y=t[d++])-o;(OA(T=g-r)>n||OA(m)>a||d===e-1)&&(h=Math.sqrt(T*T+m*m),r=g,o=y);break;case gA.C:var b=t[d++],v=t[d++],y=(g=t[d++],t[d++]),x=t[d++],w=t[d++];h=KN(r,o,b,v,g,y,x,w,10),r=x,o=w;break;case gA.Q:h=QN(r,o,b=t[d++],v=t[d++],g=t[d++],y=t[d++],10),r=g,o=y;break;case gA.A:var _=t[d++],k=t[d++],S=t[d++],C=t[d++],M=t[d++],O=t[d++],E=O+M;d+=1,t[d++],f&&(i=SA(M)*S+_,l=CA(M)*C+k),h=kA(S,C)*_A(TA,Math.abs(O)),r=SA(E)*S+_,o=CA(E)*C+k;break;case gA.R:i=r=t[d++],l=o=t[d++],h=2*t[d++]+2*t[d++];break;case gA.Z:var T=i-r;m=l-o;h=Math.sqrt(T*T+m*m),r=i,o=l}h>=0&&(s[u++]=h,c+=h)}return this._pathLen=c,c},t.prototype.rebuildPath=function(t,e){var n,a,r,o,i,l,s,c,u,d,p=this.data,f=this._ux,h=this._uy,g=this._len,m=e<1,b=0,v=0,y=0;if(!m||(this._pathSegLen||this._calculateLength(),s=this._pathSegLen,c=e*this._pathLen))t:for(var x=0;x<g;){var w=p[x++],_=1===x;switch(_&&(n=r=p[x],a=o=p[x+1]),w!==gA.L&&y>0&&(t.lineTo(u,d),y=0),w){case gA.M:n=r=p[x++],a=o=p[x++],t.moveTo(r,o);break;case gA.L:i=p[x++],l=p[x++];var k=OA(i-r),S=OA(l-o);if(k>f||S>h){if(m){if(b+(q=s[v++])>c){var C=(c-b)/q;t.lineTo(r*(1-C)+i*C,o*(1-C)+l*C);break t}b+=q}t.lineTo(i,l),r=i,o=l,y=0}else{var M=k*k+S*S;M>y&&(u=i,d=l,y=M)}break;case gA.C:var O=p[x++],E=p[x++],T=p[x++],D=p[x++],I=p[x++],P=p[x++];if(m){if(b+(q=s[v++])>c){UN(r,O,T,I,C=(c-b)/q,mA),UN(o,E,D,P,C,bA),t.bezierCurveTo(mA[1],bA[1],mA[2],bA[2],mA[3],bA[3]);break t}b+=q}t.bezierCurveTo(O,E,T,D,I,P),r=I,o=P;break;case gA.Q:O=p[x++],E=p[x++],T=p[x++],D=p[x++];if(m){if(b+(q=s[v++])>c){JN(r,O,T,C=(c-b)/q,mA),JN(o,E,D,C,bA),t.quadraticCurveTo(mA[1],bA[1],mA[2],bA[2]);break t}b+=q}t.quadraticCurveTo(O,E,T,D),r=T,o=D;break;case gA.A:var N=p[x++],A=p[x++],z=p[x++],R=p[x++],L=p[x++],j=p[x++],F=p[x++],B=!p[x++],V=z>R?z:R,Y=OA(z-R)>.001,H=L+j,W=!1;if(m)b+(q=s[v++])>c&&(H=L+j*(c-b)/q,W=!0),b+=q;if(Y&&t.ellipse?t.ellipse(N,A,z,R,F,L,H,B):t.arc(N,A,V,L,H,B),W)break t;_&&(n=SA(L)*z+N,a=CA(L)*R+A),r=SA(H)*z+N,o=CA(H)*R+A;break;case gA.R:n=r=p[x],a=o=p[x+1],i=p[x++],l=p[x++];var U=p[x++],G=p[x++];if(m){if(b+(q=s[v++])>c){var K=c-b;t.moveTo(i,l),t.lineTo(i+_A(K,U),l),(K-=U)>0&&t.lineTo(i+U,l+_A(K,G)),(K-=G)>0&&t.lineTo(i+kA(U-K,0),l+G),(K-=U)>0&&t.lineTo(i,l+kA(G-K,0));break t}b+=q}t.rect(i,l,U,G);break;case gA.Z:if(m){var q;if(b+(q=s[v++])>c){C=(c-b)/q;t.lineTo(r*(1-C)+n*C,o*(1-C)+a*C);break t}b+=q}t.closePath(),r=n,o=a}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=gA,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._needsDash=!1,e._dashOffset=0,e._dashIdx=0,e._dashSum=0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}(),zA=AA;function RA(t,e,n,a,r,o,i){if(0===r)return!1;var l=r,s=0;if(i>e+l&&i>a+l||i<e-l&&i<a-l||o>t+l&&o>n+l||o<t-l&&o<n-l)return!1;if(t===n)return Math.abs(o-t)<=l/2;var c=(s=(e-a)/(t-n))*o-i+(t*a-n*e)/(t-n);return c*c/(s*s+1)<=l/2*l/2}function LA(t,e,n,a,r,o,i,l,s,c,u){if(0===s)return!1;var d=s;return!(u>e+d&&u>a+d&&u>o+d&&u>l+d||u<e-d&&u<a-d&&u<o-d&&u<l-d||c>t+d&&c>n+d&&c>r+d&&c>i+d||c<t-d&&c<n-d&&c<r-d&&c<i-d)&&GN(t,e,n,a,r,o,i,l,c,u,null)<=d/2}function jA(t,e,n,a,r,o,i,l,s){if(0===i)return!1;var c=i;return!(s>e+c&&s>a+c&&s>o+c||s<e-c&&s<a-c&&s<o-c||l>t+c&&l>n+c&&l>r+c||l<t-c&&l<n-c&&l<r-c)&&$N(t,e,n,a,r,o,l,s,null)<=c/2}var FA=2*Math.PI;function BA(t){return(t%=FA)<0&&(t+=FA),t}var VA=2*Math.PI;function YA(t,e,n,a,r,o,i,l,s){if(0===i)return!1;var c=i;l-=t,s-=e;var u=Math.sqrt(l*l+s*s);if(u-c>n||u+c<n)return!1;if(Math.abs(a-r)%VA<1e-4)return!0;if(o){var d=a;a=BA(r),r=BA(d)}else a=BA(a),r=BA(r);a>r&&(r+=VA);var p=Math.atan2(s,l);return p<0&&(p+=VA),p>=a&&p<=r||p+VA>=a&&p+VA<=r}function HA(t,e,n,a,r,o){if(o>e&&o>a||o<e&&o<a)return 0;if(a===e)return 0;var i=(o-e)/(a-e),l=a<e?1:-1;1!==i&&0!==i||(l=a<e?.5:-.5);var s=i*(n-t)+t;return s===r?1/0:s>r?l:0}var WA=zA.CMD,UA=2*Math.PI;var GA=[-1,-1,-1],KA=[-1,-1];function qA(t,e,n,a,r,o,i,l,s,c){if(c>e&&c>a&&c>o&&c>l||c<e&&c<a&&c<o&&c<l)return 0;var u,d=HN(e,a,o,l,c,GA);if(0===d)return 0;for(var p=0,f=-1,h=void 0,g=void 0,m=0;m<d;m++){var b=GA[m],v=0===b||1===b?.5:1;VN(t,n,r,i,b)<s||(f<0&&(f=WN(e,a,o,l,KA),KA[1]<KA[0]&&f>1&&(u=void 0,u=KA[0],KA[0]=KA[1],KA[1]=u),h=VN(e,a,o,l,KA[0]),f>1&&(g=VN(e,a,o,l,KA[1]))),2===f?b<KA[0]?p+=h<e?v:-v:b<KA[1]?p+=g<h?v:-v:p+=l<g?v:-v:b<KA[0]?p+=h<e?v:-v:p+=l<h?v:-v)}return p}function XA(t,e,n,a,r,o,i,l){if(l>e&&l>a&&l>o||l<e&&l<a&&l<o)return 0;var s=function(t,e,n,a,r){var o=t-2*e+n,i=2*(e-t),l=t-a,s=0;if(FN(o))BN(i)&&(u=-l/i)>=0&&u<=1&&(r[s++]=u);else{var c=i*i-4*o*l;if(FN(c))(u=-i/(2*o))>=0&&u<=1&&(r[s++]=u);else if(c>0){var u,d=IN(c),p=(-i-d)/(2*o);(u=(-i+d)/(2*o))>=0&&u<=1&&(r[s++]=u),p>=0&&p<=1&&(r[s++]=p)}}return s}(e,a,o,l,GA);if(0===s)return 0;var c=ZN(e,a,o);if(c>=0&&c<=1){for(var u=0,d=qN(e,a,o,c),p=0;p<s;p++){var f=0===GA[p]||1===GA[p]?.5:1;qN(t,n,r,GA[p])<i||(GA[p]<c?u+=d<e?f:-f:u+=o<d?f:-f)}return u}f=0===GA[0]||1===GA[0]?.5:1;return qN(t,n,r,GA[0])<i?0:o<e?f:-f}function ZA(t,e,n,a,r,o,i,l){if((l-=e)>n||l<-n)return 0;var s=Math.sqrt(n*n-l*l);GA[0]=-s,GA[1]=s;var c=Math.abs(a-r);if(c<1e-4)return 0;if(c>=UA-1e-4){a=0,r=UA;var u=o?1:-1;return i>=GA[0]+t&&i<=GA[1]+t?u:0}if(a>r){var d=a;a=r,r=d}a<0&&(a+=UA,r+=UA);for(var p=0,f=0;f<2;f++){var h=GA[f];if(h+t>i){var g=Math.atan2(l,h);u=o?1:-1;g<0&&(g=UA+g),(g>=a&&g<=r||g+UA>=a&&g+UA<=r)&&(g>Math.PI/2&&g<1.5*Math.PI&&(u=-u),p+=u)}}return p}function JA(t,e,n,a,r){for(var o,i,l=t.data,s=t.len(),c=0,u=0,d=0,p=0,f=0,h=0;h<s;){var g=l[h++],m=1===h;switch(g===WA.M&&h>1&&(n||(c+=HA(u,d,p,f,a,r))),m&&(p=u=l[h],f=d=l[h+1]),g){case WA.M:u=p=l[h++],d=f=l[h++];break;case WA.L:if(n){if(RA(u,d,l[h],l[h+1],e,a,r))return!0}else c+=HA(u,d,l[h],l[h+1],a,r)||0;u=l[h++],d=l[h++];break;case WA.C:if(n){if(LA(u,d,l[h++],l[h++],l[h++],l[h++],l[h],l[h+1],e,a,r))return!0}else c+=qA(u,d,l[h++],l[h++],l[h++],l[h++],l[h],l[h+1],a,r)||0;u=l[h++],d=l[h++];break;case WA.Q:if(n){if(jA(u,d,l[h++],l[h++],l[h],l[h+1],e,a,r))return!0}else c+=XA(u,d,l[h++],l[h++],l[h],l[h+1],a,r)||0;u=l[h++],d=l[h++];break;case WA.A:var b=l[h++],v=l[h++],y=l[h++],x=l[h++],w=l[h++],_=l[h++];h+=1;var k=!!(1-l[h++]);o=Math.cos(w)*y+b,i=Math.sin(w)*x+v,m?(p=o,f=i):c+=HA(u,d,o,i,a,r);var S=(a-b)*x/y+b;if(n){if(YA(b,v,x,w,w+_,k,e,S,r))return!0}else c+=ZA(b,v,x,w,w+_,k,S,r);u=Math.cos(w+_)*y+b,d=Math.sin(w+_)*x+v;break;case WA.R:if(p=u=l[h++],f=d=l[h++],o=p+l[h++],i=f+l[h++],n){if(RA(p,f,o,f,e,a,r)||RA(o,f,o,i,e,a,r)||RA(o,i,p,i,e,a,r)||RA(p,i,p,f,e,a,r))return!0}else c+=HA(o,f,o,i,a,r),c+=HA(p,i,p,f,a,r);break;case WA.Z:if(n){if(RA(u,d,p,f,e,a,r))return!0}else c+=HA(u,d,p,f,a,r);u=p,d=f}}return n||function(t,e){return Math.abs(t-e)<1e-4}(d,f)||(c+=HA(u,d,p,f,a,r)||0),0!==c}var $A=mO({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},_N),QA={style:mO({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},kN.style)},tz=["x","y","rotation","scaleX","scaleY","originX","originY","invisible","culling","z","z2","zlevel","parent"],ez=function(t){function e(e){return t.call(this,e)||this}var n;return d(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var a=this.style;if(a.decal){var r=this._decalEl=this._decalEl||new e;r.buildPath===e.prototype.buildPath&&(r.buildPath=function(t){n.buildPath(t,n.shape)}),r.silent=!0;var o=r.style;for(var i in a)o[i]!==a[i]&&(o[i]=a[i]);o.fill=a.fill?a.decal:null,o.decal=null,o.shadowColor=null,a.strokeFirst&&(o.stroke=null);for(var l=0;l<tz.length;++l)r[tz[l]]=this[tz[l]];r.__dirty|=1}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(e){var n=OO(e);this.shape=this.getDefaultShape();var a=this.getDefaultStyle();a&&this.useStyle(a);for(var r=0;r<n.length;r++){var o=n[r],i=e[o];"style"===o?this.style?gO(this.style,i):this.useStyle(i):"shape"===o?gO(this.shape,i):t.prototype.attrKV.call(this,o,i)}this.style||this.useStyle({})},e.prototype.getDefaultStyle=function(){return null},e.prototype.getDefaultShape=function(){return{}},e.prototype.canBeInsideText=function(){return this.hasFill()},e.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if(PO(t)){var e=ZT(t,0);return e>.5?RD:e>.2?"#eee":LD}if(t)return LD}return RD},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(PO(e)){var n=this.__zr;if(!(!n||!n.isDarkMode())===ZT(t,0)<.4)return e}},e.prototype.buildPath=function(t,e,n){},e.prototype.pathUpdated=function(){this.__dirty&=-5},e.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},e.prototype.createPathProxy=function(){this.path=new zA(!1)},e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var a=!1;this.path||(a=!0,this.createPathProxy());var r=this.path;(a||4&this.__dirty)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||n){o.copy(t);var i=e.strokeNoScale?this.getLineScale():1,l=e.lineWidth;if(!this.hasFill()){var s=this.strokeContainThreshold;l=Math.max(l,null==s?4:s)}i>1e-10&&(o.width+=l/i,o.height+=l/i,o.x-=l/i/2,o.y-=l/i/2)}return o}return t},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),a=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],a.contain(t,e)){var o=this.path;if(this.hasStroke()){var i=r.lineWidth,l=r.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(this.hasFill()||(i=Math.max(i,this.strokeContainThreshold)),function(t,e,n,a){return JA(t,e,!0,n,a)}(o,i/l,t,e)))return!0}if(this.hasFill())return function(t,e,n){return JA(t,0,!1,e,n)}(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=4,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},e.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:gO(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(4&this.__dirty)},e.prototype.createStyle=function(t){return nE($A,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=gO({},this.shape))},e.prototype._applyStateObj=function(e,n,a,r,o,i){t.prototype._applyStateObj.call(this,e,n,a,r,o,i);var l,s=!(n&&r);if(n&&n.shape?o?r?l=n.shape:(l=gO({},a.shape),gO(l,n.shape)):(l=gO({},r?this.shape:a.shape),gO(l,n.shape)):s&&(l=a.shape),l)if(o){this.shape=gO({},this.shape);for(var c={},u=OO(l),d=0;d<u.length;d++){var p=u[d];"object"==typeof l[p]?this.shape[p]=l[p]:c[p]=l[p]}this._transitionState(e,{shape:c},i)}else this.shape=l,this.dirtyShape()},e.prototype._mergeStates=function(e){for(var n,a=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.shape&&(n=n||{},this._mergeStyle(n,o.shape))}return n&&(a.shape=n),a},e.prototype.getAnimationStyleProps=function(){return QA},e.prototype.isZeroArea=function(){return!1},e.extend=function(t){var n=function(e){function n(n){var a=e.call(this,n)||this;return t.init&&t.init.call(a,n),a}return d(n,e),n.prototype.getDefaultStyle=function(){return pO(t.style)},n.prototype.getDefaultShape=function(){return pO(t.shape)},n}(e);for(var a in t)"function"==typeof t[a]&&(n.prototype[a]=t[a]);return n},e.initDefaultProps=((n=e.prototype).type="path",n.strokeContainThreshold=5,n.segmentIgnoreThreshold=0,n.subPixelOptimize=!1,n.autoBatch=!1,void(n.__dirty=7)),e}(TN),nz=ez,az=mO({strokeFirst:!0,font:yI,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},$A),rz=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return nE(az,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=kI(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var a=t.lineWidth;n.x-=a/2,n.y-=a/2,n.width+=a,n.height+=a}this._rect=n}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(TN);rz.prototype.type="tspan";var oz=rz,iz=mO({x:0,y:0},_N),lz={style:mO({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},kN.style)};var sz=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.prototype.createStyle=function(t){return nE(iz,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var a,r=(a=e.image)&&"string"!=typeof a&&a.width&&a.height?e.image:this.__image;if(!r)return 0;var o="width"===t?"height":"width",i=e[o];return null==i?r[t]:r[t]/r[o]*i},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return lz},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new bI(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(TN);sz.prototype.type="image";var cz=sz;var uz=Math.round;function dz(t,e,n){if(e){var a=e.x1,r=e.x2,o=e.y1,i=e.y2;t.x1=a,t.x2=r,t.y1=o,t.y2=i;var l=n&&n.lineWidth;return l?(uz(2*a)===uz(2*r)&&(t.x1=t.x2=fz(a,l,!0)),uz(2*o)===uz(2*i)&&(t.y1=t.y2=fz(o,l,!0)),t):t}}function pz(t,e,n){if(e){var a=e.x,r=e.y,o=e.width,i=e.height;t.x=a,t.y=r,t.width=o,t.height=i;var l=n&&n.lineWidth;return l?(t.x=fz(a,l,!0),t.y=fz(r,l,!0),t.width=Math.max(fz(a+o,l,!1)-t.x,0===o?0:1),t.height=Math.max(fz(r+i,l,!1)-t.y,0===i?0:1),t):t}}function fz(t,e,n){if(!e)return t;var a=uz(2*t);return(a+uz(e))%2==0?a/2:(a+(n?1:-1))/2}var hz=function(){this.x=0,this.y=0,this.width=0,this.height=0},gz={},mz=function(t){function e(e){return t.call(this,e)||this}return d(e,t),e.prototype.getDefaultShape=function(){return new hz},e.prototype.buildPath=function(t,e){var n,a,r,o;if(this.subPixelOptimize){var i=pz(gz,e,this.style);n=i.x,a=i.y,r=i.width,o=i.height,i.r=e.r,e=i}else n=e.x,a=e.y,r=e.width,o=e.height;e.r?function(t,e){var n,a,r,o,i,l=e.x,s=e.y,c=e.width,u=e.height,d=e.r;c<0&&(l+=c,c=-c),u<0&&(s+=u,u=-u),"number"==typeof d?n=a=r=o=d:d instanceof Array?1===d.length?n=a=r=o=d[0]:2===d.length?(n=r=d[0],a=o=d[1]):3===d.length?(n=d[0],a=o=d[1],r=d[2]):(n=d[0],a=d[1],r=d[2],o=d[3]):n=a=r=o=0,n+a>c&&(n*=c/(i=n+a),a*=c/i),r+o>c&&(r*=c/(i=r+o),o*=c/i),a+r>u&&(a*=u/(i=a+r),r*=u/i),n+o>u&&(n*=u/(i=n+o),o*=u/i),t.moveTo(l+n,s),t.lineTo(l+c-a,s),0!==a&&t.arc(l+c-a,s+a,a,-Math.PI/2,0),t.lineTo(l+c,s+u-r),0!==r&&t.arc(l+c-r,s+u-r,r,0,Math.PI/2),t.lineTo(l+o,s+u),0!==o&&t.arc(l+o,s+u-o,o,Math.PI/2,Math.PI),t.lineTo(l,s+n),0!==n&&t.arc(l+n,s+n,n,Math.PI,1.5*Math.PI)}(t,e):t.rect(n,a,r,o)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(nz);mz.prototype.type="rect";var bz=mz,vz={fill:"#000"},yz={style:mO({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},kN.style)},xz=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=vz,n.attr(e),n}return d(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var n=this._children[e];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},e.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(e){var n=this.innerTransformable;return n?n.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){this._childCursor=0,function(t){kz(t),_O(t.rich,kz)}(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new bI(0,0,0,0),e=this._children,n=[],a=null,r=0;r<e.length;r++){var o=e[r],i=o.getBoundingRect(),l=o.getLocalTransform(n);l?(t.copy(i),t.applyTransform(l),(a=a||t.clone()).union(t)):(a=a||i.clone()).union(i)}this._rect=a||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||vz},e.prototype.setTextContent=function(t){throw new Error("Can't attach text on another text")},e.prototype._mergeStyle=function(t,e){if(!e)return t;var n=e.rich,a=t.rich||n&&{};return gO(t,e),n&&a?(this._mergeRich(a,n),t.rich=a):a&&(t.rich=a),t},e.prototype._mergeRich=function(t,e){for(var n=OO(e),a=0;a<n.length;a++){var r=n[a];t[r]=t[r]||{},gO(t[r],e[r])}},e.prototype.getAnimationStyleProps=function(){return yz},e.prototype._getOrCreateChild=function(t){var e=this._children[this._childCursor];return e&&e instanceof t||(e=new t),this._children[this._childCursor++]=e,e.__zr=this.__zr,e.parent=this,e},e.prototype._updatePlainTexts=function(){var t=this.style,e=t.font||yI,n=t.padding,a=function(t,e){null!=t&&(t+="");var n,a=e.overflow,r=e.padding,o=e.font,i="truncate"===a,l=MI(o),s=WO(e.lineHeight,l),c="truncate"===e.lineOverflow,u=e.width,d=(n=null!=u&&"break"===a||"breakAll"===a?t?xN(t,e.font,u,"breakAll"===a,0).lines:[]:t?t.split("\n"):[]).length*s,p=WO(e.height,d);if(d>p&&c){var f=Math.floor(p/s);n=n.slice(0,f)}var h=p,g=u;if(r&&(h+=r[0]+r[2],null!=g&&(g+=r[1]+r[3])),t&&i&&null!=g)for(var m=dN(u,o,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),b=0;b<n.length;b++)n[b]=pN(n[b],m);if(null==u){var v=0;for(b=0;b<n.length;b++)v=Math.max(wI(n[b],o),v);u=v}return{lines:n,height:p,outerHeight:h,lineHeight:s,calculatedLineHeight:l,contentHeight:d,width:u}}(Oz(t),t),r=Ez(t),o=!!t.backgroundColor,i=a.outerHeight,l=a.lines,s=a.lineHeight,c=this._defaultStyle,u=t.x||0,d=t.y||0,p=t.align||c.align||"left",f=t.verticalAlign||c.verticalAlign||"top",h=u,g=CI(d,a.contentHeight,f);if(r||n){var m=a.width;n&&(m+=n[1]+n[3]);var b=SI(u,m,p),v=CI(d,i,f);r&&this._renderBackground(t,t,b,v,m,i)}g+=s/2,n&&(h=Mz(u,p,n),"top"===f?g+=n[0]:"bottom"===f&&(g-=n[2]));for(var y=0,x=!1,w=(Cz("fill"in t?t.fill:(x=!0,c.fill))),_=(Sz("stroke"in t?t.stroke:o||c.autoStroke&&!x?null:(y=2,c.stroke))),k=t.textShadowBlur>0,S=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),C=a.calculatedLineHeight,M=0;M<l.length;M++){var O=this._getOrCreateChild(oz),E=O.createStyle();O.useStyle(E),E.text=l[M],E.x=h,E.y=g,p&&(E.textAlign=p),E.textBaseline="middle",E.opacity=t.opacity,E.strokeFirst=!0,k&&(E.shadowBlur=t.textShadowBlur||0,E.shadowColor=t.textShadowColor||"transparent",E.shadowOffsetX=t.textShadowOffsetX||0,E.shadowOffsetY=t.textShadowOffsetY||0),_&&(E.stroke=_,E.lineWidth=t.lineWidth||y,E.lineDash=t.lineDash,E.lineDashOffset=t.lineDashOffset||0),w&&(E.fill=w),E.font=e,g+=s,S&&O.setBoundingRect(new bI(SI(E.x,t.width,E.textAlign),CI(E.y,C,E.textBaseline),t.width,C))}},e.prototype._updateRichTexts=function(){var t=this.style,e=function(t,e){var n=new mN;if(null!=t&&(t+=""),!t)return n;for(var a,r=e.width,o=e.height,i=e.overflow,l="break"!==i&&"breakAll"!==i||null==r?null:{width:r,accumWidth:0,breakAll:"breakAll"===i},s=cN.lastIndex=0;null!=(a=cN.exec(t));){var c=a.index;c>s&&bN(n,t.substring(s,c),e,l),bN(n,a[2],e,l,a[1]),s=cN.lastIndex}s<t.length&&bN(n,t.substring(s,t.length),e,l);var u=[],d=0,p=0,f=e.padding,h="truncate"===i,g="truncate"===e.lineOverflow;function m(t,e,n){t.width=e,t.lineHeight=n,d+=n,p=Math.max(p,e)}t:for(var b=0;b<n.lines.length;b++){for(var v=n.lines[b],y=0,x=0,w=0;w<v.tokens.length;w++){var _=(P=v.tokens[w]).styleName&&e.rich[P.styleName]||{},k=P.textPadding=_.padding,S=k?k[1]+k[3]:0,C=P.font=_.font||e.font;P.contentHeight=MI(C);var M=WO(_.height,P.contentHeight);if(P.innerHeight=M,k&&(M+=k[0]+k[2]),P.height=M,P.lineHeight=UO(_.lineHeight,e.lineHeight,M),P.align=_&&_.align||e.align,P.verticalAlign=_&&_.verticalAlign||"middle",g&&null!=o&&d+P.lineHeight>o){w>0?(v.tokens=v.tokens.slice(0,w),m(v,x,y),n.lines=n.lines.slice(0,b+1)):n.lines=n.lines.slice(0,b);break t}var O=_.width,E=null==O||"auto"===O;if("string"==typeof O&&"%"===O.charAt(O.length-1))P.percentWidth=O,u.push(P),P.contentWidth=wI(P.text,C);else{if(E){var T=_.backgroundColor,D=T&&T.image;D&&sN(D=oN(D))&&(P.width=Math.max(P.width,D.width*M/D.height))}var I=h&&null!=r?r-x:null;null!=I&&I<P.width?!E||I<S?(P.text="",P.width=P.contentWidth=0):(P.text=uN(P.text,I-S,C,e.ellipsis,{minChar:e.truncateMinChar}),P.width=P.contentWidth=wI(P.text,C)):P.contentWidth=wI(P.text,C)}P.width+=S,x+=P.width,_&&(y=Math.max(y,P.lineHeight))}m(v,x,y)}for(n.outerWidth=n.width=WO(r,p),n.outerHeight=n.height=WO(o,d),n.contentHeight=d,n.contentWidth=p,f&&(n.outerWidth+=f[1]+f[3],n.outerHeight+=f[0]+f[2]),b=0;b<u.length;b++){var P,N=(P=u[b]).percentWidth;P.width=parseInt(N,10)/100*n.width}return n}(Oz(t),t),n=e.width,a=e.outerWidth,r=e.outerHeight,o=t.padding,i=t.x||0,l=t.y||0,s=this._defaultStyle,c=t.align||s.align,u=t.verticalAlign||s.verticalAlign,d=SI(i,a,c),p=CI(l,r,u),f=d,h=p;o&&(f+=o[3],h+=o[0]);var g=f+n;Ez(t)&&this._renderBackground(t,t,d,p,a,r);for(var m=!!t.backgroundColor,b=0;b<e.lines.length;b++){for(var v=e.lines[b],y=v.tokens,x=y.length,w=v.lineHeight,_=v.width,k=0,S=f,C=g,M=x-1,O=void 0;k<x&&(!(O=y[k]).align||"left"===O.align);)this._placeToken(O,t,w,h,S,"left",m),_-=O.width,S+=O.width,k++;for(;M>=0&&"right"===(O=y[M]).align;)this._placeToken(O,t,w,h,C,"right",m),_-=O.width,C-=O.width,M--;for(S+=(n-(S-f)-(g-C)-_)/2;k<=M;)O=y[k],this._placeToken(O,t,w,h,S+O.width/2,"center",m),S+=O.width,k++;h+=w}},e.prototype._placeToken=function(t,e,n,a,r,o,i){var l=e.rich[t.styleName]||{};l.text=t.text;var s=t.verticalAlign,c=a+n/2;"top"===s?c=a+t.height/2:"bottom"===s&&(c=a+n-t.height/2),!t.isLineHolder&&Ez(l)&&this._renderBackground(l,e,"right"===o?r-t.width:"center"===o?r-t.width/2:r,c-t.height/2,t.width,t.height);var u=!!l.backgroundColor,d=t.textPadding;d&&(r=Mz(r,o,d),c-=t.height/2-d[0]-t.innerHeight/2);var p=this._getOrCreateChild(oz),f=p.createStyle();p.useStyle(f);var h=this._defaultStyle,g=!1,m=0,b=Cz("fill"in l?l.fill:"fill"in e?e.fill:(g=!0,h.fill)),v=Sz("stroke"in l?l.stroke:"stroke"in e?e.stroke:u||i||h.autoStroke&&!g?null:(m=2,h.stroke)),y=l.textShadowBlur>0||e.textShadowBlur>0;f.text=t.text,f.x=r,f.y=c,y&&(f.shadowBlur=l.textShadowBlur||e.textShadowBlur||0,f.shadowColor=l.textShadowColor||e.textShadowColor||"transparent",f.shadowOffsetX=l.textShadowOffsetX||e.textShadowOffsetX||0,f.shadowOffsetY=l.textShadowOffsetY||e.textShadowOffsetY||0),f.textAlign=o,f.textBaseline="middle",f.font=t.font||yI,f.opacity=UO(l.opacity,e.opacity,1),v&&(f.lineWidth=UO(l.lineWidth,e.lineWidth,m),f.lineDash=WO(l.lineDash,e.lineDash),f.lineDashOffset=e.lineDashOffset||0,f.stroke=v),b&&(f.fill=b);var x=t.contentWidth,w=t.contentHeight;p.setBoundingRect(new bI(SI(f.x,x,f.textAlign),CI(f.y,w,f.textBaseline),x,w))},e.prototype._renderBackground=function(t,e,n,a,r,o){var i,l,s,c=t.backgroundColor,u=t.borderWidth,d=t.borderColor,p=c&&c.image,f=c&&!p,h=t.borderRadius,g=this;if(f||t.lineHeight||u&&d){(i=this._getOrCreateChild(bz)).useStyle(i.createStyle()),i.style.fill=null;var m=i.shape;m.x=n,m.y=a,m.width=r,m.height=o,m.r=h,i.dirtyShape()}if(f)(s=i.style).fill=c||null,s.fillOpacity=WO(t.fillOpacity,1);else if(p){(l=this._getOrCreateChild(cz)).onload=function(){g.dirtyStyle()};var b=l.style;b.image=c.image,b.x=n,b.y=a,b.width=r,b.height=o}u&&d&&((s=i.style).lineWidth=u,s.stroke=d,s.strokeOpacity=WO(t.strokeOpacity,1),s.lineDash=t.borderDash,s.lineDashOffset=t.borderDashOffset||0,i.strokeContainThreshold=0,i.hasFill()&&i.hasStroke()&&(s.strokeFirst=!0,s.lineWidth*=2));var v=(i||l).style;v.shadowBlur=t.shadowBlur||0,v.shadowColor=t.shadowColor||"transparent",v.shadowOffsetX=t.shadowOffsetX||0,v.shadowOffsetY=t.shadowOffsetY||0,v.opacity=UO(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";if(t.fontSize||t.fontFamily||t.fontWeight){var n="";n="string"!=typeof t.fontSize||-1===t.fontSize.indexOf("px")&&-1===t.fontSize.indexOf("rem")&&-1===t.fontSize.indexOf("em")?isNaN(+t.fontSize)?"12px":t.fontSize+"px":t.fontSize,e=[t.fontStyle,t.fontWeight,n,t.fontFamily||"sans-serif"].join(" ")}return e&&XO(e)||t.textFont||t.font},e}(TN),wz={left:!0,right:1,center:1},_z={top:1,bottom:1,middle:1};function kz(t){if(t){t.font=xz.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||wz[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||_z[n]?n:"top",t.padding&&(t.padding=KO(t.padding))}}function Sz(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function Cz(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function Mz(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function Oz(t){var e=t.text;return null!=e&&(e+=""),e}function Ez(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}var Tz=xz,Dz=zP(),Iz=function(t,e,n,a){if(a){var r=Dz(a);r.dataIndex=n,r.dataType=e,r.seriesIndex=t,"group"===a.type&&a.traverse((function(a){var r=Dz(a);r.seriesIndex=t,r.dataIndex=n,r.dataType=e}))}},Pz=1,Nz={},Az=zP(),zz=["emphasis","blur","select"],Rz=["normal","emphasis","blur","select"],Lz=10,jz="highlight",Fz="downplay",Bz="select",Vz="unselect",Yz="toggleSelect";function Hz(t){return null!=t&&"none"!==t}var Wz=new MT(100);function Uz(t){if("string"!=typeof t)return t;var e=Wz.get(t);return e||(e=VT(t,-.1),Wz.put(t,e)),e}function Gz(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function Kz(t){Gz(t,"emphasis",2)}function qz(t){2===t.hoverState&&Gz(t,"normal",0)}function Xz(t){Gz(t,"blur",1)}function Zz(t){1===t.hoverState&&Gz(t,"normal",0)}function Jz(t){t.selected=!0}function $z(t){t.selected=!1}function Qz(t,e,n){e(t,n)}function tR(t,e,n){Qz(t,e,n),t.isGroup&&t.traverse((function(t){Qz(t,e,n)}))}function eR(t,e){switch(e){case"emphasis":t.hoverState=2;break;case"normal":t.hoverState=0;break;case"blur":t.hoverState=1;break;case"select":t.selected=!0}}function nR(t,e){var n=this.states[t];if(this.style){if("emphasis"===t)return function(t,e,n,a){var r=n&&vO(n,"select")>=0,o=!1;if(t instanceof nz){var i=Az(t),l=r&&i.selectFill||i.normalFill,s=r&&i.selectStroke||i.normalStroke;if(Hz(l)||Hz(s)){var c=(a=a||{}).style||{};"inherit"===c.fill?(o=!0,a=gO({},a),(c=gO({},c)).fill=l):!Hz(c.fill)&&Hz(l)?(o=!0,a=gO({},a),(c=gO({},c)).fill=Uz(l)):!Hz(c.stroke)&&Hz(s)&&(o||(a=gO({},a),c=gO({},c)),c.stroke=Uz(s)),a.style=c}}if(a&&null==a.z2){o||(a=gO({},a));var u=t.z2EmphasisLift;a.z2=t.z2+(null!=u?u:Lz)}return a}(this,0,e,n);if("blur"===t)return function(t,e,n){var a=vO(t.currentStates,e)>=0,r=t.style.opacity,o=a?null:function(t,e,n,a){for(var r=t.style,o={},i=0;i<e.length;i++){var l=e[i],s=r[l];o[l]=null==s?a&&a[l]:s}for(i=0;i<t.animators.length;i++){var c=t.animators[i];c.__fromStateTransition&&c.__fromStateTransition.indexOf(n)<0&&"style"===c.targetName&&c.saveFinalToTarget(o,e)}return o}(t,["opacity"],e,{opacity:1}),i=(n=n||{}).style||{};return null==i.opacity&&(n=gO({},n),i=gO({opacity:a?r:.1*o.opacity},i),n.style=i),n}(this,t,n);if("select"===t)return function(t,e,n){if(n&&null==n.z2){n=gO({},n);var a=t.z2SelectLift;n.z2=t.z2+(null!=a?a:9)}return n}(this,0,n)}return n}function aR(t){t.stateProxy=nR;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=nR),n&&(n.stateProxy=nR)}function rR(t,e){!pR(t,e)&&!t.__highByOuter&&tR(t,Kz)}function oR(t,e){!pR(t,e)&&!t.__highByOuter&&tR(t,qz)}function iR(t,e){t.__highByOuter|=1<<(e||0),tR(t,Kz)}function lR(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&tR(t,qz)}function sR(t){tR(t,Xz)}function cR(t){tR(t,Zz)}function uR(t){tR(t,Jz)}function dR(t){tR(t,$z)}function pR(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function fR(t){t.getModel().eachComponent((function(e,n){("series"===e?t.getViewOfSeriesModel(n):t.getViewOfComponentModel(n)).group.traverse((function(t){Zz(t)}))}))}function hR(t,e,n,a){var r=a.getModel();function o(t,e){for(var n=0;n<e.length;n++){var a=t.getItemGraphicEl(e[n]);a&&cR(a)}}if(n=n||"coordinateSystem",null!=t&&e&&"none"!==e){var i=r.getSeriesByIndex(t),l=i.coordinateSystem;l&&l.master&&(l=l.master);var s=[];r.eachSeries((function(t){var r=i===t,c=t.coordinateSystem;if(c&&c.master&&(c=c.master),!("series"===n&&!r||"coordinateSystem"===n&&!(c&&l?c===l:r)||"series"===e&&r)){if(a.getViewOfSeriesModel(t).group.traverse((function(t){Xz(t)})),wO(e))o(t.getData(),e);else if(zO(e))for(var u=OO(e),d=0;d<u.length;d++)o(t.getData(u[d]),e[u[d]]);s.push(t)}})),r.eachComponent((function(t,e){if("series"!==t){var n=a.getViewOfComponentModel(e);n&&n.blurSeries&&n.blurSeries(s,r)}}))}}function gR(t,e,n){if(null!=t&&null!=e){var a=n.getModel().getComponent(t,e);if(a){var r=n.getViewOfComponentModel(a);r&&r.focusBlurEnabled&&r.group.traverse((function(t){Xz(t)}))}}}function mR(t,e,n,a){var r={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==n)return r;var o=a.getModel().getComponent(t,e);if(!o)return r;var i=a.getViewOfComponentModel(o);if(!i||!i.findHighDownDispatchers)return r;for(var l,s=i.findHighDownDispatchers(n),c=0;c<s.length;c++)if("self"===Dz(s[c]).focus){l=!0;break}return{focusSelf:l,dispatchers:s}}function bR(t){_O(t.getAllData(),(function(e){var n=e.data,a=e.type;n.eachItemGraphicEl((function(e,n){t.isSelected(n,a)?uR(e):dR(e)}))}))}function vR(t){var e=[];return t.eachSeries((function(t){_O(t.getAllData(),(function(n){n.data;var a=n.type,r=t.getSelectedDataIndices();if(r.length>0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=a&&(o.dataType=a),e.push(o)}}))})),e}function yR(t,e,n){SR(t,!0),tR(t,aR),xR(t,e,n)}function xR(t,e,n){var a=Dz(t);null!=e?(a.focus=e,a.blurScope=n):a.focus&&(a.focus=null)}var wR=["emphasis","blur","select"],_R={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function kR(t,e,n,a){n=n||"itemStyle";for(var r=0;r<wR.length;r++){var o=wR[r],i=e.getModel([o,n]);t.ensureState(o).style=a?a(i):i[_R[n]]()}}function SR(t,e){var n=!1===e,a=t;t.highDownSilentOnTouch&&(a.__highDownSilentOnTouch=t.highDownSilentOnTouch),n&&!a.__highDownDispatcher||(a.__highByOuter=a.__highByOuter||0,a.__highDownDispatcher=!n)}function CR(t){return!(!t||!t.__highDownDispatcher)}function MR(t){var e=t.type;return e===Bz||e===Vz||e===Yz}function OR(t){var e=t.type;return e===jz||e===Fz}var ER=zA.CMD,TR=[[],[],[]],DR=Math.sqrt,IR=Math.atan2;function PR(t,e){if(e){var n,a,r,o,i,l,s=t.data,c=t.len(),u=ER.M,d=ER.C,p=ER.L,f=ER.R,h=ER.A,g=ER.Q;for(r=0,o=0;r<c;){switch(n=s[r++],o=r,a=0,n){case u:case p:a=1;break;case d:a=3;break;case g:a=2;break;case h:var m=e[4],b=e[5],v=DR(e[0]*e[0]+e[1]*e[1]),y=DR(e[2]*e[2]+e[3]*e[3]),x=IR(-e[1]/y,e[0]/v);s[r]*=v,s[r++]+=m,s[r]*=y,s[r++]+=b,s[r++]*=v,s[r++]*=y,s[r++]+=x,s[r++]+=x,o=r+=2;break;case f:l[0]=s[r++],l[1]=s[r++],SE(l,l,e),s[o++]=l[0],s[o++]=l[1],l[0]+=s[r++],l[1]+=s[r++],SE(l,l,e),s[o++]=l[0],s[o++]=l[1]}for(i=0;i<a;i++){var w=TR[i];w[0]=s[r++],w[1]=s[r++],SE(w,w,e),s[o++]=w[0],s[o++]=w[1]}}t.increaseVersion()}}var NR=Math.sqrt,AR=Math.sin,zR=Math.cos,RR=Math.PI;function LR(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function jR(t,e){return(t[0]*e[0]+t[1]*e[1])/(LR(t)*LR(e))}function FR(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(jR(t,e))}function BR(t,e,n,a,r,o,i,l,s,c,u){var d=s*(RR/180),p=zR(d)*(t-n)/2+AR(d)*(e-a)/2,f=-1*AR(d)*(t-n)/2+zR(d)*(e-a)/2,h=p*p/(i*i)+f*f/(l*l);h>1&&(i*=NR(h),l*=NR(h));var g=(r===o?-1:1)*NR((i*i*(l*l)-i*i*(f*f)-l*l*(p*p))/(i*i*(f*f)+l*l*(p*p)))||0,m=g*i*f/l,b=g*-l*p/i,v=(t+n)/2+zR(d)*m-AR(d)*b,y=(e+a)/2+AR(d)*m+zR(d)*b,x=FR([1,0],[(p-m)/i,(f-b)/l]),w=[(p-m)/i,(f-b)/l],_=[(-1*p-m)/i,(-1*f-b)/l],k=FR(w,_);if(jR(w,_)<=-1&&(k=RR),jR(w,_)>=1&&(k=0),k<0){var S=Math.round(k/RR*1e6)/1e6;k=2*RR+S%2*RR}u.addData(c,v,y,i,l,x,k,d,o)}var VR=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,YR=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;var HR=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.prototype.applyTransform=function(t){},e}(nz);function WR(t){return null!=t.setData}function UR(t,e){var n=function(t){var e=new zA;if(!t)return e;var n,a=0,r=0,o=a,i=r,l=zA.CMD,s=t.match(VR);if(!s)return e;for(var c=0;c<s.length;c++){for(var u=s[c],d=u.charAt(0),p=void 0,f=u.match(YR)||[],h=f.length,g=0;g<h;g++)f[g]=parseFloat(f[g]);for(var m=0;m<h;){var b=void 0,v=void 0,y=void 0,x=void 0,w=void 0,_=void 0,k=void 0,S=a,C=r,M=void 0,O=void 0;switch(d){case"l":a+=f[m++],r+=f[m++],p=l.L,e.addData(p,a,r);break;case"L":a=f[m++],r=f[m++],p=l.L,e.addData(p,a,r);break;case"m":a+=f[m++],r+=f[m++],p=l.M,e.addData(p,a,r),o=a,i=r,d="l";break;case"M":a=f[m++],r=f[m++],p=l.M,e.addData(p,a,r),o=a,i=r,d="L";break;case"h":a+=f[m++],p=l.L,e.addData(p,a,r);break;case"H":a=f[m++],p=l.L,e.addData(p,a,r);break;case"v":r+=f[m++],p=l.L,e.addData(p,a,r);break;case"V":r=f[m++],p=l.L,e.addData(p,a,r);break;case"C":p=l.C,e.addData(p,f[m++],f[m++],f[m++],f[m++],f[m++],f[m++]),a=f[m-2],r=f[m-1];break;case"c":p=l.C,e.addData(p,f[m++]+a,f[m++]+r,f[m++]+a,f[m++]+r,f[m++]+a,f[m++]+r),a+=f[m-2],r+=f[m-1];break;case"S":b=a,v=r,M=e.len(),O=e.data,n===l.C&&(b+=a-O[M-4],v+=r-O[M-3]),p=l.C,S=f[m++],C=f[m++],a=f[m++],r=f[m++],e.addData(p,b,v,S,C,a,r);break;case"s":b=a,v=r,M=e.len(),O=e.data,n===l.C&&(b+=a-O[M-4],v+=r-O[M-3]),p=l.C,S=a+f[m++],C=r+f[m++],a+=f[m++],r+=f[m++],e.addData(p,b,v,S,C,a,r);break;case"Q":S=f[m++],C=f[m++],a=f[m++],r=f[m++],p=l.Q,e.addData(p,S,C,a,r);break;case"q":S=f[m++]+a,C=f[m++]+r,a+=f[m++],r+=f[m++],p=l.Q,e.addData(p,S,C,a,r);break;case"T":b=a,v=r,M=e.len(),O=e.data,n===l.Q&&(b+=a-O[M-4],v+=r-O[M-3]),a=f[m++],r=f[m++],p=l.Q,e.addData(p,b,v,a,r);break;case"t":b=a,v=r,M=e.len(),O=e.data,n===l.Q&&(b+=a-O[M-4],v+=r-O[M-3]),a+=f[m++],r+=f[m++],p=l.Q,e.addData(p,b,v,a,r);break;case"A":y=f[m++],x=f[m++],w=f[m++],_=f[m++],k=f[m++],BR(S=a,C=r,a=f[m++],r=f[m++],_,k,y,x,w,p=l.A,e);break;case"a":y=f[m++],x=f[m++],w=f[m++],_=f[m++],k=f[m++],BR(S=a,C=r,a+=f[m++],r+=f[m++],_,k,y,x,w,p=l.A,e)}}"z"!==d&&"Z"!==d||(p=l.Z,e.addData(p),a=o,r=i),n=p}return e.toStatic(),e}(t),a=gO({},e);return a.buildPath=function(t){if(WR(t)){t.setData(n.data),(e=t.getContext())&&t.rebuildPath(e,1)}else{var e=t;n.rebuildPath(e,1)}},a.applyTransform=function(t){PR(n,t),this.dirtyShape()},a}function GR(t,e){return new HR(UR(t,e))}function KR(t,e){e=e||{};var n=new nz;return t.shape&&n.setShape(t.shape),n.setStyle(t.style),e.bakeTransform?PR(n.path,t.getComputedTransform()):e.toLocal?n.setLocalTransform(t.getComputedTransform()):n.copyTransform(t),n.buildPath=t.buildPath,n.applyTransform=n.applyTransform,n.z=t.z,n.z2=t.z2,n.zlevel=t.zlevel,n}var qR=function(){this.cx=0,this.cy=0,this.r=0},XR=function(t){function e(e){return t.call(this,e)||this}return d(e,t),e.prototype.getDefaultShape=function(){return new qR},e.prototype.buildPath=function(t,e,n){n&&t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(nz);XR.prototype.type="circle";var ZR=XR,JR=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},$R=function(t){function e(e){return t.call(this,e)||this}return d(e,t),e.prototype.getDefaultShape=function(){return new JR},e.prototype.buildPath=function(t,e){var n=.5522848,a=e.cx,r=e.cy,o=e.rx,i=e.ry,l=o*n,s=i*n;t.moveTo(a-o,r),t.bezierCurveTo(a-o,r-s,a-l,r-i,a,r-i),t.bezierCurveTo(a+l,r-i,a+o,r-s,a+o,r),t.bezierCurveTo(a+o,r+s,a+l,r+i,a,r+i),t.bezierCurveTo(a-l,r+i,a-o,r+s,a-o,r),t.closePath()},e}(nz);$R.prototype.type="ellipse";var QR=$R,tL=Math.PI,eL=2*tL,nL=Math.sin,aL=Math.cos,rL=Math.acos,oL=Math.atan2,iL=Math.abs,lL=Math.sqrt,sL=Math.max,cL=Math.min,uL=1e-4;function dL(t,e,n,a,r,o,i){var l=t-n,s=e-a,c=(i?o:-o)/lL(l*l+s*s),u=c*s,d=-c*l,p=t+u,f=e+d,h=n+u,g=a+d,m=(p+h)/2,b=(f+g)/2,v=h-p,y=g-f,x=v*v+y*y,w=r-o,_=p*g-h*f,k=(y<0?-1:1)*lL(sL(0,w*w*x-_*_)),S=(_*y-v*k)/x,C=(-_*v-y*k)/x,M=(_*y+v*k)/x,O=(-_*v+y*k)/x,E=S-m,T=C-b,D=M-m,I=O-b;return E*E+T*T>D*D+I*I&&(S=M,C=O),{cx:S,cy:C,x01:-u,y01:-d,x11:S*(r/w-1),y11:C*(r/w-1)}}function pL(t,e){var n=sL(e.r,0),a=sL(e.r0||0,0),r=n>0;if(r||a>0){if(r||(n=a,a=0),a>n){var o=n;n=a,a=o}var i,l=!!e.clockwise,s=e.startAngle,c=e.endAngle;if(s===c)i=0;else{var u=[s,c];NA(u,!l),i=iL(u[0]-u[1])}var d=e.cx,p=e.cy,f=e.cornerRadius||0,h=e.innerCornerRadius||0;if(n>uL)if(i>eL-uL)t.moveTo(d+n*aL(s),p+n*nL(s)),t.arc(d,p,n,s,c,!l),a>uL&&(t.moveTo(d+a*aL(c),p+a*nL(c)),t.arc(d,p,a,c,s,l));else{var g=iL(n-a)/2,m=cL(g,f),b=cL(g,h),v=b,y=m,x=n*aL(s),w=n*nL(s),_=a*aL(c),k=a*nL(c),S=void 0,C=void 0,M=void 0,O=void 0;if((m>uL||b>uL)&&(S=n*aL(c),C=n*nL(c),M=a*aL(s),O=a*nL(s),i<tL)){var E=function(t,e,n,a,r,o,i,l){var s=n-t,c=a-e,u=i-r,d=l-o,p=d*s-u*c;if(!(p*p<uL))return[t+(p=(u*(e-o)-d*(t-r))/p)*s,e+p*c]}(x,w,M,O,S,C,_,k);if(E){var T=x-E[0],D=w-E[1],I=S-E[0],P=C-E[1],N=1/nL(rL((T*I+D*P)/(lL(T*T+D*D)*lL(I*I+P*P)))/2),A=lL(E[0]*E[0]+E[1]*E[1]);v=cL(b,(a-A)/(N-1)),y=cL(m,(n-A)/(N+1))}}if(i>uL)if(y>uL){var z=dL(M,O,x,w,n,y,l),R=dL(S,C,_,k,n,y,l);t.moveTo(d+z.cx+z.x01,p+z.cy+z.y01),y<m?t.arc(d+z.cx,p+z.cy,y,oL(z.y01,z.x01),oL(R.y01,R.x01),!l):(t.arc(d+z.cx,p+z.cy,y,oL(z.y01,z.x01),oL(z.y11,z.x11),!l),t.arc(d,p,n,oL(z.cy+z.y11,z.cx+z.x11),oL(R.cy+R.y11,R.cx+R.x11),!l),t.arc(d+R.cx,p+R.cy,y,oL(R.y11,R.x11),oL(R.y01,R.x01),!l))}else t.moveTo(d+x,p+w),t.arc(d,p,n,s,c,!l);else t.moveTo(d+x,p+w);if(a>uL&&i>uL)if(v>uL){z=dL(_,k,S,C,a,-v,l),R=dL(x,w,M,O,a,-v,l);t.lineTo(d+z.cx+z.x01,p+z.cy+z.y01),v<b?t.arc(d+z.cx,p+z.cy,v,oL(z.y01,z.x01),oL(R.y01,R.x01),!l):(t.arc(d+z.cx,p+z.cy,v,oL(z.y01,z.x01),oL(z.y11,z.x11),!l),t.arc(d,p,a,oL(z.cy+z.y11,z.cx+z.x11),oL(R.cy+R.y11,R.cx+R.x11),l),t.arc(d+R.cx,p+R.cy,v,oL(R.y11,R.x11),oL(R.y01,R.x01),!l))}else t.lineTo(d+_,p+k),t.arc(d,p,a,c,s,l);else t.lineTo(d+_,p+k)}else t.moveTo(d,p);t.closePath()}}var fL=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0,this.innerCornerRadius=0},hL=function(t){function e(e){return t.call(this,e)||this}return d(e,t),e.prototype.getDefaultShape=function(){return new fL},e.prototype.buildPath=function(t,e){pL(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(nz);hL.prototype.type="sector";var gL=hL,mL=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},bL=function(t){function e(e){return t.call(this,e)||this}return d(e,t),e.prototype.getDefaultShape=function(){return new mL},e.prototype.buildPath=function(t,e){var n=e.cx,a=e.cy,r=2*Math.PI;t.moveTo(n+e.r,a),t.arc(n,a,e.r,0,r,!1),t.moveTo(n+e.r0,a),t.arc(n,a,e.r0,0,r,!0)},e}(nz);bL.prototype.type="ring";var vL=bL;function yL(t,e,n,a,r,o,i){var l=.5*(n-t),s=.5*(a-e);return(2*(e-n)+l+s)*i+(-3*(e-n)-2*l-s)*o+l*r+e}function xL(t,e,n){var a=e.smooth,r=e.points;if(r&&r.length>=2){if(a&&"spline"!==a){var o=function(t,e,n,a){var r,o,i,l,s=[],c=[],u=[],d=[];if(a){i=[1/0,1/0],l=[-1/0,-1/0];for(var p=0,f=t.length;p<f;p++)CE(i,i,t[p]),ME(l,l,t[p]);CE(i,i,a[0]),ME(l,l,a[1])}for(p=0,f=t.length;p<f;p++){var h=t[p];if(n)r=t[p?p-1:f-1],o=t[(p+1)%f];else{if(0===p||p===f-1){s.push(sE(t[p]));continue}r=t[p-1],o=t[p+1]}pE(c,o,r),bE(c,c,e);var g=yE(h,r),m=yE(h,o),b=g+m;0!==b&&(g/=b,m/=b),bE(u,c,-g),bE(d,c,m);var v=uE([],h,u),y=uE([],h,d);a&&(ME(v,v,i),CE(v,v,l),ME(y,y,i),CE(y,y,l)),s.push(v),s.push(y)}return n&&s.push(s.shift()),s}(r,a,n,e.smoothConstraint);t.moveTo(r[0][0],r[0][1]);for(var i=r.length,l=0;l<(n?i:i-1);l++){var s=o[2*l],c=o[2*l+1],u=r[(l+1)%i];t.bezierCurveTo(s[0],s[1],c[0],c[1],u[0],u[1])}}else{"spline"===a&&(r=function(t,e){for(var n=t.length,a=[],r=0,o=1;o<n;o++)r+=yE(t[o-1],t[o]);var i=r/2;for(i=i<n?n:i,o=0;o<i;o++){var l=o/(i-1)*(e?n:n-1),s=Math.floor(l),c=l-s,u=void 0,d=t[s%n],p=void 0,f=void 0;e?(u=t[(s-1+n)%n],p=t[(s+1)%n],f=t[(s+2)%n]):(u=t[0===s?s:s-1],p=t[s>n-2?n-1:s+1],f=t[s>n-3?n-1:s+2]);var h=c*c,g=c*h;a.push([yL(u[0],d[0],p[0],f[0],c,h,g),yL(u[1],d[1],p[1],f[1],c,h,g)])}return a}(r,n)),t.moveTo(r[0][0],r[0][1]);l=1;for(var d=r.length;l<d;l++)t.lineTo(r[l][0],r[l][1])}n&&t.closePath()}}var wL=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},_L=function(t){function e(e){return t.call(this,e)||this}return d(e,t),e.prototype.getDefaultShape=function(){return new wL},e.prototype.buildPath=function(t,e){xL(t,e,!0)},e}(nz);_L.prototype.type="polygon";var kL=_L,SL=function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},CL=function(t){function e(e){return t.call(this,e)||this}return d(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new SL},e.prototype.buildPath=function(t,e){xL(t,e,!1)},e}(nz);CL.prototype.type="polyline";var ML=CL,OL={},EL=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},TL=function(t){function e(e){return t.call(this,e)||this}return d(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new EL},e.prototype.buildPath=function(t,e){var n,a,r,o;if(this.subPixelOptimize){var i=dz(OL,e,this.style);n=i.x1,a=i.y1,r=i.x2,o=i.y2}else n=e.x1,a=e.y1,r=e.x2,o=e.y2;var l=e.percent;0!==l&&(t.moveTo(n,a),l<1&&(r=n*(1-l)+r*l,o=a*(1-l)+o*l),t.lineTo(r,o))},e.prototype.pointAt=function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]},e}(nz);TL.prototype.type="line";var DL=TL,IL=[],PL=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1};function NL(t,e,n){var a=t.cpx2,r=t.cpy2;return null===a||null===r?[(n?YN:VN)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?YN:VN)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?XN:qN)(t.x1,t.cpx1,t.x2,e),(n?XN:qN)(t.y1,t.cpy1,t.y2,e)]}var AL=function(t){function e(e){return t.call(this,e)||this}return d(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new PL},e.prototype.buildPath=function(t,e){var n=e.x1,a=e.y1,r=e.x2,o=e.y2,i=e.cpx1,l=e.cpy1,s=e.cpx2,c=e.cpy2,u=e.percent;0!==u&&(t.moveTo(n,a),null==s||null==c?(u<1&&(JN(n,i,r,u,IL),i=IL[1],r=IL[2],JN(a,l,o,u,IL),l=IL[1],o=IL[2]),t.quadraticCurveTo(i,l,r,o)):(u<1&&(UN(n,i,s,r,u,IL),i=IL[1],s=IL[2],r=IL[3],UN(a,l,c,o,u,IL),l=IL[1],c=IL[2],o=IL[3]),t.bezierCurveTo(i,l,s,c,r,o)))},e.prototype.pointAt=function(t){return NL(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=NL(this.shape,t,!0);return vE(e,e)},e}(nz);AL.prototype.type="bezier-curve";var zL=AL,RL=function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},LL=function(t){function e(e){return t.call(this,e)||this}return d(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new RL},e.prototype.buildPath=function(t,e){var n=e.cx,a=e.cy,r=Math.max(e.r,0),o=e.startAngle,i=e.endAngle,l=e.clockwise,s=Math.cos(o),c=Math.sin(o);t.moveTo(s*r+n,c*r+a),t.arc(n,a,r,o,i,!l)},e}(nz);LL.prototype.type="arc";var jL=LL,FL=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return d(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),n=0;n<t.length;n++)e=e||t[n].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(e[0],e[1],t[n].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var n=e.paths||[],a=0;a<n.length;a++)n[a].buildPath(t,n[a].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),nz.prototype.getBoundingRect.call(this)},e}(nz),BL=FL,VL=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}(),YL=VL,HL=function(t){function e(e,n,a,r,o,i){var l=t.call(this,o)||this;return l.x=null==e?0:e,l.y=null==n?0:n,l.x2=null==a?1:a,l.y2=null==r?0:r,l.type="linear",l.global=i||!1,l}return d(e,t),e}(YL),WL=HL,UL=function(t){function e(e,n,a,r,o){var i=t.call(this,r)||this;return i.x=null==e?.5:e,i.y=null==n?.5:n,i.r=null==a?.5:a,i.type="radial",i.global=o||!1,i}return d(e,t),e}(YL),GL=UL,KL=[0,0],qL=[0,0],XL=new lI,ZL=new lI,JL=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new lI;for(n=0;n<2;n++)this._axes[n]=new lI;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var n=this._corners,a=this._axes,r=t.x,o=t.y,i=r+t.width,l=o+t.height;if(n[0].set(r,o),n[1].set(i,o),n[2].set(i,l),n[3].set(r,l),e)for(var s=0;s<4;s++)n[s].transform(e);lI.sub(a[0],n[1],n[0]),lI.sub(a[1],n[3],n[0]),a[0].normalize(),a[1].normalize();for(s=0;s<2;s++)this._origin[s]=a[s].dot(n[0])},t.prototype.intersect=function(t,e){var n=!0,a=!e;return XL.set(1/0,1/0),ZL.set(0,0),!this._intersectCheckOneSide(this,t,XL,ZL,a,1)&&(n=!1,a)||!this._intersectCheckOneSide(t,this,XL,ZL,a,-1)&&(n=!1,a)||a||lI.copy(e,n?XL:ZL),n},t.prototype._intersectCheckOneSide=function(t,e,n,a,r,o){for(var i=!0,l=0;l<2;l++){var s=this._axes[l];if(this._getProjMinMaxOnAxis(l,t._corners,KL),this._getProjMinMaxOnAxis(l,e._corners,qL),KL[1]<qL[0]||KL[0]>qL[1]){if(i=!1,r)return i;var c=Math.abs(qL[0]-KL[1]),u=Math.abs(KL[0]-qL[1]);Math.min(c,u)>a.len()&&(c<u?lI.scale(a,s,-c*o):lI.scale(a,s,u*o))}else if(n){c=Math.abs(qL[0]-KL[1]),u=Math.abs(KL[0]-qL[1]);Math.min(c,u)<n.len()&&(c<u?lI.scale(n,s,c*o):lI.scale(n,s,-u*o))}}return i},t.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var a=this._axes[t],r=this._origin,o=e[0].dot(a)+r[t],i=o,l=o,s=1;s<e.length;s++){var c=e[s].dot(a)+r[t];i=Math.min(c,i),l=Math.max(c,l)}n[0]=i,n[1]=l},t}(),$L=JL,QL=[],tj=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return d(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],e)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},e.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){(e=this._displayables[t]).parent=this,e.update(),e.parent=null}for(t=0;t<this._temporaryDisplayables.length;t++){var e;(e=this._temporaryDisplayables[t]).parent=this,e.update(),e.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new bI(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var n=this._displayables[e],a=n.getBoundingRect().clone();n.needLocalTransform()&&a.applyTransform(n.getLocalTransform(QL)),t.union(a)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(n[0],n[1]))for(var a=0;a<this._displayables.length;a++){if(this._displayables[a].contain(t,e))return!0}return!1},e}(TN),ej=tj,nj=zP();function aj(t,e,n,a,r){var o;if(e&&e.ecModel){var i=e.ecModel.getUpdatePayload();o=i&&i.animation}var l="update"===t;if(e&&e.isAnimationEnabled()){var s=void 0,c=void 0,u=void 0;return a?(s=WO(a.duration,200),c=WO(a.easing,"cubicOut"),u=0):(s=e.getShallow(l?"animationDurationUpdate":"animationDuration"),c=e.getShallow(l?"animationEasingUpdate":"animationEasing"),u=e.getShallow(l?"animationDelayUpdate":"animationDelay")),o&&(null!=o.duration&&(s=o.duration),null!=o.easing&&(c=o.easing),null!=o.delay&&(u=o.delay)),"function"==typeof u&&(u=u(n,r)),"function"==typeof s&&(s=s(n)),{duration:s||0,delay:u,easing:c}}return null}function rj(t,e,n,a,r,o,i){var l,s=!1;"function"==typeof r?(i=o,o=r,r=null):zO(r)&&(o=r.cb,i=r.during,s=r.isFrom,l=r.removeOpt,r=r.dataIndex);var c="remove"===t;c||e.stopAnimation("remove");var u=aj(t,a,r,c?l||{}:null,a&&a.getAnimationDelayParams?a.getAnimationDelayParams(e,r):null);if(u&&u.duration>0){var d={duration:u.duration,delay:u.delay||0,easing:u.easing,done:o,force:!!o||!!i,setToFinal:!c,scope:t,during:i};s?e.animateFrom(n,d):e.animateTo(n,d)}else e.stopAnimation(),!s&&e.attr(n),i&&i(1),o&&o()}function oj(t,e,n,a,r,o){rj("update",t,e,n,a,r,o)}function ij(t,e,n,a,r,o){rj("init",t,e,n,a,r,o)}function lj(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++){if("remove"===t.animators[e].scope)return!0}return!1}function sj(t,e,n,a,r,o){lj(t)||rj("remove",t,e,n,a,r,o)}function cj(t,e,n,a){t.removeTextContent(),t.removeTextGuideLine(),sj(t,{style:{opacity:0}},e,n,a)}function uj(t,e,n){function a(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse((function(t){t.isGroup||cj(t,e,n,a)})):cj(t,e,n,a)}function dj(t){nj(t).oldStyle=t.style}var pj=Math.max,fj=Math.min,hj={};function gj(t){return nz.extend(t)}var mj=function(t,e){var n=UR(t,e);return function(t){function e(e){var a=t.call(this,e)||this;return a.applyTransform=n.applyTransform,a.buildPath=n.buildPath,a}return d(e,t),e}(HR)};function bj(t,e){return mj(t,e)}function vj(t,e){hj[t]=e}function yj(t){if(hj.hasOwnProperty(t))return hj[t]}function xj(t,e,n,a){var r=GR(t,e);return n&&("center"===a&&(n=_j(n,r.getBoundingRect())),Sj(r,n)),r}function wj(t,e,n){var a=new cz({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var r={width:t.width,height:t.height};a.setStyle(_j(e,r))}}});return a}function _j(t,e){var n,a=e.width/e.height,r=t.height*a;return n=r<=t.width?t.height:(r=t.width)/a,{x:t.x+t.width/2-r/2,y:t.y+t.height/2-n/2,width:r,height:n}}var kj=function(t,e){for(var n=[],a=t.length,r=0;r<a;r++){var o=t[r];n.push(o.getUpdatedPathProxy(!0))}var i=new nz(e);return i.createPathProxy(),i.buildPath=function(t){if(WR(t)){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e,1)}},i};function Sj(t,e){if(t.applyTransform){var n=t.getBoundingRect().calculateTransform(e);t.applyTransform(n)}}var Cj=fz;function Mj(t,e){for(var n=FD([]);t&&t!==e;)VD(n,t.getLocalTransform(),n),t=t.parent;return n}function Oj(t,e,n){return e&&!wO(e)&&(e=oI.getLocalTransform(e)),n&&(e=UD([],e)),SE([],t,e)}function Ej(t,e,n){var a=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-a:"right"===t?a:0,"top"===t?-r:"bottom"===t?r:0];return o=Oj(o,e,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Tj(t){return!t.isGroup}function Dj(t,e,n){if(t&&e){var a=function(t){var e={};return t.traverse((function(t){Tj(t)&&t.anid&&(e[t.anid]=t)})),e}(t);e.traverse((function(t){if(Tj(t)&&t.anid){var e=a[t.anid];if(e){var o=r(t);t.attr(r(e)),oj(t,o,n,Dz(t).dataIndex)}}}))}function r(t){var e={x:t.x,y:t.y,rotation:t.rotation};return function(t){return null!=t.shape}(t)&&(e.shape=gO({},t.shape)),e}}function Ij(t,e){return kO(t,(function(t){var n=t[0];n=pj(n,e.x),n=fj(n,e.x+e.width);var a=t[1];return a=pj(a,e.y),[n,a=fj(a,e.y+e.height)]}))}function Pj(t,e){var n=pj(t.x,e.x),a=fj(t.x+t.width,e.x+e.width),r=pj(t.y,e.y),o=fj(t.y+t.height,e.y+e.height);if(a>=n&&o>=r)return{x:n,y:r,width:a-n,height:o-r}}function Nj(t,e,n){var a=gO({rectHover:!0},e),r=a.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),mO(r,n),new cz(a)):xj(t.replace("path://",""),a,n,"center")}function Aj(t,e,n,a,r){for(var o=0,i=r[r.length-1];o<r.length;o++){var l=r[o];if(zj(t,e,n,a,l[0],l[1],i[0],i[1]))return!0;i=l}}function zj(t,e,n,a,r,o,i,l){var s,c=n-t,u=a-e,d=i-r,p=l-o,f=Rj(d,p,c,u);if((s=f)<=1e-6&&s>=-1e-6)return!1;var h=t-r,g=e-o,m=Rj(h,g,c,u)/f;if(m<0||m>1)return!1;var b=Rj(h,g,d,p)/f;return!(b<0||b>1)}function Rj(t,e,n,a){return t*a-n*e}function Lj(t){var e=t.itemTooltipOption,n=t.componentModel,a=t.itemName,r=PO(e)?{formatter:e}:e,o=n.mainType,i=n.componentIndex,l={componentType:o,name:a,$vars:["name"]};l[o+"Index"]=i;var s=t.formatterParamsExtra;s&&_O(OO(s),(function(t){aE(l,t)||(l[t]=s[t],l.$vars.push(t))}));var c=Dz(t.el);c.componentMainType=o,c.componentIndex=i,c.tooltipConfig={name:a,option:mO({content:a,formatterParams:l},r)}}vj("circle",ZR),vj("ellipse",QR),vj("sector",gL),vj("ring",vL),vj("polygon",kL),vj("polyline",ML),vj("rect",bz),vj("line",DL),vj("bezierCurve",zL),vj("arc",jL);var jj=Object.freeze({__proto__:null,updateProps:oj,initProps:ij,removeElement:sj,removeElementWithFadeOut:uj,isElementRemoved:lj,extendShape:gj,extendPath:bj,registerShape:vj,getShapeClass:yj,makePath:xj,makeImage:wj,mergePath:kj,resizePath:Sj,subPixelOptimizeLine:function(t){return dz(t.shape,t.shape,t.style),t},subPixelOptimizeRect:function(t){return pz(t.shape,t.shape,t.style),t},subPixelOptimize:Cj,getTransform:Mj,applyTransform:Oj,transformDirection:Ej,groupTransition:Dj,clipPointsByRect:Ij,clipRectByRect:Pj,createIcon:Nj,linePolygonIntersect:Aj,lineLineIntersect:zj,setTooltipConfig:Lj,Group:VI,Image:cz,Text:Tz,Circle:ZR,Ellipse:QR,Sector:gL,Ring:vL,Polygon:kL,Polyline:ML,Rect:bz,Line:DL,BezierCurve:zL,Arc:jL,IncrementalDisplayable:ej,CompoundPath:BL,LinearGradient:WL,RadialGradient:GL,BoundingRect:bI,OrientedBoundingRect:$L,Point:lI,Path:nz}),Fj={};function Bj(t,e){for(var n=0;n<zz.length;n++){var a=zz[n],r=e[a],o=t.ensureState(a);o.style=o.style||{},o.style.text=r}var i=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(i,!0)}function Vj(t,e,n){var a,r=t.labelFetcher,o=t.labelDataIndex,i=t.labelDimIndex,l=e.normal;r&&(a=r.getFormattedLabel(o,"normal",null,i,l&&l.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==a&&(a=IO(t.defaultText)?t.defaultText(o,t,n):t.defaultText);for(var s={normal:a},c=0;c<zz.length;c++){var u=zz[c],d=e[u];s[u]=WO(r?r.getFormattedLabel(o,u,null,i,d&&d.get("formatter")):null,a)}return s}function Yj(t,e,n,a){n=n||Fj;for(var r=t instanceof Tz,o=!1,i=0;i<Rz.length;i++){if((p=e[Rz[i]])&&p.getShallow("show")){o=!0;break}}var l=r?t:t.getTextContent();if(o){r||(l||(l=new Tz,t.setTextContent(l)),t.stateProxy&&(l.stateProxy=t.stateProxy));var s=Vj(n,e),c=e.normal,u=!!c.getShallow("show"),d=Wj(c,a&&a.normal,n,!1,!r);d.text=s.normal,r||t.setTextConfig(Uj(c,n,!1));for(i=0;i<zz.length;i++){var p,f=zz[i];if(p=e[f]){var h=l.ensureState(f),g=!!WO(p.getShallow("show"),u);if(g!==u&&(h.ignore=!g),h.style=Wj(p,a&&a[f],n,!0,!r),h.style.text=s[f],!r)t.ensureState(f).textConfig=Uj(p,n,!0)}}l.silent=!!c.getShallow("silent"),null!=l.style.x&&(d.x=l.style.x),null!=l.style.y&&(d.y=l.style.y),l.ignore=!u,l.useStyle(d),l.dirty(),n.enableTextSetter&&(Jj(l).setLabelText=function(t){var a=Vj(n,e,t);Bj(l,a)})}else l&&(l.ignore=!0);t.dirty()}function Hj(t,e){e=e||"label";for(var n={normal:t.getModel(e)},a=0;a<zz.length;a++){var r=zz[a];n[r]=t.getModel([r,e])}return n}function Wj(t,e,n,a,r){var o={};return function(t,e,n,a,r){n=n||Fj;var o,i=e.ecModel,l=i&&i.option.textStyle,s=function(t){var e;for(;t&&t!==t.ecModel;){var n=(t.option||Fj).rich;if(n){e=e||{};for(var a=OO(n),r=0;r<a.length;r++){e[a[r]]=1}}t=t.parentModel}return e}(e);if(s)for(var c in o={},s)if(s.hasOwnProperty(c)){var u=e.getModel(["rich",c]);Xj(o[c]={},u,l,n,a,r,!1,!0)}o&&(t.rich=o);var d=e.get("overflow");d&&(t.overflow=d);var p=e.get("minMargin");null!=p&&(t.margin=p);Xj(t,e,l,n,a,r,!0,!1)}(o,t,n,a,r),e&&gO(o,e),o}function Uj(t,e,n){e=e||{};var a,r={},o=t.getShallow("rotate"),i=WO(t.getShallow("distance"),n?null:5),l=t.getShallow("offset");return"outside"===(a=t.getShallow("position")||(n?null:"inside"))&&(a=e.defaultOutsidePosition||"top"),null!=a&&(r.position=a),null!=l&&(r.offset=l),null!=o&&(o*=Math.PI/180,r.rotation=o),null!=i&&(r.distance=i),r.outsideFill="inherit"===t.get("color")?e.inheritColor||null:"auto",r}var Gj=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],Kj=["align","lineHeight","width","height","tag","verticalAlign"],qj=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function Xj(t,e,n,a,r,o,i,l){n=!r&&n||Fj;var s=a&&a.inheritColor,c=e.getShallow("color"),u=e.getShallow("textBorderColor"),d=WO(e.getShallow("opacity"),n.opacity);"inherit"!==c&&"auto"!==c||(c=s||null),"inherit"!==u&&"auto"!==u||(u=s||null),o||(c=c||n.color,u=u||n.textBorderColor),null!=c&&(t.fill=c),null!=u&&(t.stroke=u);var p=WO(e.getShallow("textBorderWidth"),n.textBorderWidth);null!=p&&(t.lineWidth=p);var f=WO(e.getShallow("textBorderType"),n.textBorderType);null!=f&&(t.lineDash=f);var h=WO(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=h&&(t.lineDashOffset=h),r||null!=d||l||(d=a&&a.defaultOpacity),null!=d&&(t.opacity=d),r||o||null==t.fill&&a.inheritColor&&(t.fill=a.inheritColor);for(var g=0;g<Gj.length;g++){var m=Gj[g];null!=(v=WO(e.getShallow(m),n[m]))&&(t[m]=v)}for(g=0;g<Kj.length;g++){m=Kj[g];null!=(v=e.getShallow(m))&&(t[m]=v)}if(null==t.verticalAlign){var b=e.getShallow("baseline");null!=b&&(t.verticalAlign=b)}if(!i||!a.disableBox){for(g=0;g<qj.length;g++){var v;m=qj[g];null!=(v=e.getShallow(m))&&(t[m]=v)}var y=e.getShallow("borderType");null!=y&&(t.borderDash=y),"auto"!==t.backgroundColor&&"inherit"!==t.backgroundColor||!s||(t.backgroundColor=s),"auto"!==t.borderColor&&"inherit"!==t.borderColor||!s||(t.borderColor=s)}}function Zj(t,e){var n=e&&e.getModel("textStyle");return XO([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var Jj=zP();function $j(t,e,n,a){if(t){var r=Jj(t);r.prevValue=r.value,r.value=n;var o=e.normal;r.valueAnimation=o.get("valueAnimation"),r.valueAnimation&&(r.precision=o.get("precision"),r.defaultInterpolatedText=a,r.statesModels=e)}}function Qj(t,e,n,a,r){var o=Jj(t);if(o.valueAnimation){var i=o.defaultInterpolatedText,l=WO(o.interpolatedValue,o.prevValue),s=o.value;(null==o.prevValue?ij:oj)(t,{},a,e,null,(function(a){var c=WP(n,o.precision,l,s,a);o.interpolatedValue=1===a?null:c;var u=Vj({labelDataIndex:e,labelFetcher:r,defaultText:i?i(c):c+""},o.statesModels,c);Bj(t,u)}))}}var tF,eF,nF=["textStyle","color"],aF=new Tz,rF=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(nF):null)},t.prototype.getFont=function(){return Zj({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){return aF.useStyle({text:t,fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily"),verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline"),padding:this.getShallow("padding"),lineHeight:this.getShallow("lineHeight"),rich:this.getShallow("rich")}),aF.update(),aF.getBoundingRect()},t}(),oF=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],iF=eN(oF),lF=function(){function t(){}return t.prototype.getLineStyle=function(t){return iF(this,t)},t}(),sF=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],cF=eN(sF),uF=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return cF(this,t,e)},t}(),dF=function(){function t(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}return t.prototype.init=function(t,e,n){for(var a=[],r=3;r<arguments.length;r++)a[r-3]=arguments[r]},t.prototype.mergeOption=function(t,e){fO(this.option,t,!0)},t.prototype.get=function(t,e){return null==t?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},t.prototype.getShallow=function(t,e){var n=this.option,a=null==n?n:n[t];if(null==a&&!e){var r=this.parentModel;r&&(a=r.getShallow(t))}return a},t.prototype.getModel=function(e,n){var a=null!=e,r=a?this.parsePath(e):null;return new t(a?this._doGet(r):this.option,n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(r)),this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){return new(0,this.constructor)(pO(this.option))},t.prototype.parsePath=function(t){return"string"==typeof t?t.split("."):t},t.prototype.resolveParentPath=function(t){return t},t.prototype.isAnimationEnabled=function(){if(!XM.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(t,e){var n=this.option;if(!t)return n;for(var a=0;a<t.length&&(!t[a]||null!=(n=n&&"object"==typeof n?n[t[a]]:null));a++);return null==n&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},t}();qP(dF),tF=dF,eF=["__\0is_clz",JP++].join("_"),tF.prototype[eF]=!0,tF.isInstance=function(t){return!(!t||!t[eF])},xO(dF,lF),xO(dF,uF),xO(dF,aN),xO(dF,rF);var pF=Math.round(10*Math.random());function fF(t){return[t||"",pF++].join("_")}function hF(t,e){return fO(fO({},t,!0),e,!0)}var gF="ZH",mF="EN",bF=mF,vF={},yF={},xF=XM.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase().indexOf(gF)>-1?gF:bF;function wF(t,e){t=t.toUpperCase(),yF[t]=new dF(e),vF[t]=e}wF(mF,{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),wF(gF,{time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表，"},series:{single:{prefix:"",withName:"图表类型是{seriesType}，表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType}，",withoutName:"第{seriesId}个系列是一个{seriesType}，",separator:{middle:"；",end:"。"}}},data:{allData:"其数据是——",partialData:"其中，前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:"，",end:""}}}});var _F=1e3,kF=6e4,SF=36e5,CF=864e5,MF=31536e6,OF={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},EF="{yyyy}-{MM}-{dd}",TF={year:"{yyyy}",month:"{yyyy}-{MM}",day:EF,hour:"{yyyy}-{MM}-{dd} "+OF.hour,minute:"{yyyy}-{MM}-{dd} "+OF.minute,second:"{yyyy}-{MM}-{dd} "+OF.second,millisecond:OF.none},DF=["year","month","day","hour","minute","second","millisecond"],IF=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function PF(t,e){return"0000".substr(0,e-(t+="").length)+t}function NF(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function AF(t){return t===NF(t)}function zF(t,e,n,a){var r=cP(t),o=r[jF(n)](),i=r[FF(n)]()+1,l=Math.floor((i-1)/4)+1,s=r[BF(n)](),c=r["get"+(n?"UTC":"")+"Day"](),u=r[VF(n)](),d=(u-1)%12+1,p=r[YF(n)](),f=r[HF(n)](),h=r[WF(n)](),g=a instanceof dF?a:function(t){return yF[t]}(a||xF)||yF.EN,m=g.getModel("time"),b=m.get("month"),v=m.get("monthAbbr"),y=m.get("dayOfWeek"),x=m.get("dayOfWeekAbbr");return(e||"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,o%100+"").replace(/{Q}/g,l+"").replace(/{MMMM}/g,b[i-1]).replace(/{MMM}/g,v[i-1]).replace(/{MM}/g,PF(i,2)).replace(/{M}/g,i+"").replace(/{dd}/g,PF(s,2)).replace(/{d}/g,s+"").replace(/{eeee}/g,y[c]).replace(/{ee}/g,x[c]).replace(/{e}/g,c+"").replace(/{HH}/g,PF(u,2)).replace(/{H}/g,u+"").replace(/{hh}/g,PF(d+"",2)).replace(/{h}/g,d+"").replace(/{mm}/g,PF(p,2)).replace(/{m}/g,p+"").replace(/{ss}/g,PF(f,2)).replace(/{s}/g,f+"").replace(/{SSS}/g,PF(h,3)).replace(/{S}/g,h+"")}function RF(t,e){var n=cP(t),a=n[FF(e)]()+1,r=n[BF(e)](),o=n[VF(e)](),i=n[YF(e)](),l=n[HF(e)](),s=0===n[WF(e)](),c=s&&0===l,u=c&&0===i,d=u&&0===o,p=d&&1===r;return p&&1===a?"year":p?"month":d?"day":u?"hour":c?"minute":s?"second":"millisecond"}function LF(t,e,n){var a="number"==typeof t?cP(t):t;switch(e=e||RF(t,n)){case"year":return a[jF(n)]();case"half-year":return a[FF(n)]()>=6?1:0;case"quarter":return Math.floor((a[FF(n)]()+1)/4);case"month":return a[FF(n)]();case"day":return a[BF(n)]();case"half-day":return a[VF(n)]()/24;case"hour":return a[VF(n)]();case"minute":return a[YF(n)]();case"second":return a[HF(n)]();case"millisecond":return a[WF(n)]()}}function jF(t){return t?"getUTCFullYear":"getFullYear"}function FF(t){return t?"getUTCMonth":"getMonth"}function BF(t){return t?"getUTCDate":"getDate"}function VF(t){return t?"getUTCHours":"getHours"}function YF(t){return t?"getUTCMinutes":"getMinutes"}function HF(t){return t?"getUTCSeconds":"getSeconds"}function WF(t){return t?"getUTCMilliseconds":"getMilliseconds"}function UF(t){return t?"setUTCFullYear":"setFullYear"}function GF(t){return t?"setUTCMonth":"setMonth"}function KF(t){return t?"setUTCDate":"setDate"}function qF(t){return t?"setUTCHours":"setHours"}function XF(t){return t?"setUTCMinutes":"setMinutes"}function ZF(t){return t?"setUTCSeconds":"setSeconds"}function JF(t){return t?"setUTCMilliseconds":"setMilliseconds"}function $F(t){if(!mP(t))return PO(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function QF(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var tB=KO,eB=/([&<>"'])/g,nB={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function aB(t){return null==t?"":(t+"").replace(eB,(function(t,e){return nB[e]}))}function rB(t,e,n){function a(t){return t&&XO(t)?t:"-"}function r(t){return!(null==t||isNaN(t)||!isFinite(t))}var o="time"===e,i=t instanceof Date;if(o||i){var l=o?cP(t):t;if(!isNaN(+l))return zF(l,"{yyyy}-{MM}-{dd} {hh}:{mm}:{ss}",n);if(i)return"-"}if("ordinal"===e)return NO(t)?a(t):AO(t)&&r(t)?t+"":"-";var s=gP(t);return r(s)?$F(s):NO(t)?a(t):"-"}var oB=["a","b","c","d","e","f","g"],iB=function(t,e){return"{"+t+(null==e?"":e)+"}"};function lB(t,e,n){DO(e)||(e=[e]);var a=e.length;if(!a)return"";for(var r=e[0].$vars||[],o=0;o<r.length;o++){var i=oB[o];t=t.replace(iB(i),iB(i,0))}for(var l=0;l<a;l++)for(var s=0;s<r.length;s++){var c=e[l][r[s]];t=t.replace(iB(oB[s],l),n?aB(c):c)}return t}function sB(t,e){var n=PO(t)?{color:t,extraCssText:e}:t||{},a=n.color,r=n.type;e=n.extraCssText;var o=n.renderMode||"html";return a?"html"===o?"subItem"===r?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+aB(a)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+aB(a)+";"+(e||"")+'"></span>':{renderMode:o,content:"{"+(n.markerId||"markerX")+"|}  ",style:"subItem"===r?{width:4,height:4,borderRadius:2,backgroundColor:a}:{width:10,height:10,borderRadius:5,backgroundColor:a}}:""}function cB(t,e){return e=e||"transparent",PO(t)?t:zO(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function uB(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}var dB=_O,pB=["left","right","top","bottom","width","height"],fB=[["width","left","right"],["height","top","bottom"]];function hB(t,e,n,a,r){var o=0,i=0;null==a&&(a=1/0),null==r&&(r=1/0);var l=0;e.eachChild((function(s,c){var u,d,p=s.getBoundingRect(),f=e.childAt(c+1),h=f&&f.getBoundingRect();if("horizontal"===t){var g=p.width+(h?-h.x+p.x:0);(u=o+g)>a||s.newline?(o=0,u=g,i+=l+n,l=p.height):l=Math.max(l,p.height)}else{var m=p.height+(h?-h.y+p.y:0);(d=i+m)>r||s.newline?(o+=l+n,i=0,d=m,l=p.width):l=Math.max(l,p.width)}s.newline||(s.x=o,s.y=i,s.markRedraw(),"horizontal"===t?o=u+n:i=d+n)}))}var gB=hB;function mB(t,e,n){n=tB(n||0);var a=e.width,r=e.height,o=JI(t.left,a),i=JI(t.top,r),l=JI(t.right,a),s=JI(t.bottom,r),c=JI(t.width,a),u=JI(t.height,r),d=n[2]+n[0],p=n[1]+n[3],f=t.aspect;switch(isNaN(c)&&(c=a-l-p-o),isNaN(u)&&(u=r-s-d-i),null!=f&&(isNaN(c)&&isNaN(u)&&(f>a/r?c=.8*a:u=.8*r),isNaN(c)&&(c=f*u),isNaN(u)&&(u=c/f)),isNaN(o)&&(o=a-l-c-p),isNaN(i)&&(i=r-s-u-d),t.left||t.right){case"center":o=a/2-c/2-n[3];break;case"right":o=a-c-p}switch(t.top||t.bottom){case"middle":case"center":i=r/2-u/2-n[0];break;case"bottom":i=r-u-d}o=o||0,i=i||0,isNaN(c)&&(c=a-p-o-(l||0)),isNaN(u)&&(u=r-d-i-(s||0));var h=new bI(o+n[3],i+n[0],c,u);return h.margin=n,h}function bB(t,e,n,a,r){var o=!r||!r.hv||r.hv[0],i=!r||!r.hv||r.hv[1],l=r&&r.boundingMode||"all";if(o||i){var s;if("raw"===l)s="group"===t.type?new bI(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(s=t.getBoundingRect(),t.needLocalTransform()){var c=t.getLocalTransform();(s=s.clone()).applyTransform(c)}var u=mB(mO({width:s.width,height:s.height},e),n,a),d=o?u.x-s.x:0,p=i?u.y-s.y:0;"raw"===l?(t.x=d,t.y=p):(t.x+=d,t.y+=p),t.markRedraw()}}function vB(t){var e=t.layoutMode||t.constructor.layoutMode;return zO(e)?e:e?{type:e}:null}function yB(t,e,n){var a=n&&n.ignoreSize;!DO(a)&&(a=[a,a]);var r=i(fB[0],0),o=i(fB[1],1);function i(n,r){var o={},i=0,c={},u=0;if(dB(n,(function(e){c[e]=t[e]})),dB(n,(function(t){l(e,t)&&(o[t]=c[t]=e[t]),s(o,t)&&i++,s(c,t)&&u++})),a[r])return s(e,n[1])?c[n[2]]=null:s(e,n[2])&&(c[n[1]]=null),c;if(2!==u&&i){if(i>=2)return o;for(var d=0;d<n.length;d++){var p=n[d];if(!l(o,p)&&l(t,p)){o[p]=t[p];break}}return o}return c}function l(t,e){return t.hasOwnProperty(e)}function s(t,e){return null!=t[e]&&"auto"!==t[e]}function c(t,e,n){dB(t,(function(t){e[t]=n[t]}))}c(fB[0],t,r),c(fB[1],t,o)}function xB(t){return wB({},t)}function wB(t,e){return e&&t&&dB(pB,(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}TO(hB,"vertical"),TO(hB,"horizontal");var _B=zP(),kB=function(t){function e(e,n,a){var r=t.call(this,e,n,a)||this;return r.uid=fF("ec_cpt_model"),r}return d(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=vB(this),a=n?xB(t):{};fO(t,e.getTheme().get(this.mainType)),fO(t,this.getDefaultOption()),n&&yB(t,a,n)},e.prototype.mergeOption=function(t,e){fO(this.option,t,!0);var n=vB(this);n&&yB(this.option,t,n)},e.prototype.optionUpdated=function(t,e){},e.prototype.getDefaultOption=function(){var t=this.constructor;if(!function(t){return!(!t||!t[GP])}(t))return t.defaultOption;var e=_B(this);if(!e.defaultOption){for(var n=[],a=t;a;){var r=a.prototype.defaultOption;r&&n.push(r),a=a.superClass}for(var o={},i=n.length-1;i>=0;i--)o=fO(o,n[i],!0);e.defaultOption=o}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",a=t+"Id";return VP(this.ecModel,t,{index:this.get(n,!0),id:this.get(a,!0)},e)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},e.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(dF);ZP(kB,dF),tN(kB),function(t){var e={};t.registerSubTypeDefaulter=function(t,n){var a=KP(t);e[a.main]=n},t.determineSubType=function(n,a){var r=a.type;if(!r){var o=KP(n).main;t.hasSubTypes(n)&&e[o]&&(r=e[o](a))}return r}}(kB),function(t,e){function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,a,r,o){if(t.length){var i=function(t){var a={},r=[];return _O(t,(function(o){var i=n(a,o),l=function(t,e){var n=[];return _O(t,(function(t){vO(e,t)>=0&&n.push(t)})),n}(i.originalDeps=e(o),t);i.entryCount=l.length,0===i.entryCount&&r.push(o),_O(l,(function(t){vO(i.predecessor,t)<0&&i.predecessor.push(t);var e=n(a,t);vO(e.successor,t)<0&&e.successor.push(o)}))})),{graph:a,noEntryList:r}}(a),l=i.graph,s=i.noEntryList,c={};for(_O(t,(function(t){c[t]=!0}));s.length;){var u=s.pop(),d=l[u],p=!!c[u];p&&(r.call(o,u,d.originalDeps.slice()),delete c[u]),_O(d.successor,p?h:f)}_O(c,(function(){throw new Error("")}))}function f(t){l[t].entryCount--,0===l[t].entryCount&&s.push(t)}function h(t){c[t]=!0,f(t)}}}(kB,(function(t){var e=[];_O(kB.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=kO(e,(function(t){return KP(t).main})),"dataset"!==t&&vO(e,"dataset")<=0&&e.unshift("dataset");return e}));var SB="";"undefined"!=typeof navigator&&(SB=navigator.platform||"");var CB="rgba(0, 0, 0, 0.2)",MB={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:CB,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:CB,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:CB,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:CB,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:CB,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:CB,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:SB.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},OB=tE(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),EB="original",TB="arrayRows",DB="objectRows",IB="keyedColumns",PB="typedArray",NB="unknown",AB="column",zB="row",RB=1,LB=2,jB=3,FB=zP();function BB(t,e,n){var a={},r=YB(e);if(!r||!t)return a;var o,i,l=[],s=[],c=e.ecModel,u=FB(c).datasetMap,d=r.uid+"_"+n.seriesLayoutBy;_O(t=t.slice(),(function(e,n){var r=zO(e)?e:t[n]={name:e};"ordinal"===r.type&&null==o&&(o=n,i=h(r)),a[r.name]=[]}));var p=u.get(d)||u.set(d,{categoryWayDim:i,valueWayDim:0});function f(t,e,n){for(var a=0;a<n;a++)t.push(e+a)}function h(t){var e=t.dimsDef;return e?e.length:1}return _O(t,(function(t,e){var n=t.name,r=h(t);if(null==o){var i=p.valueWayDim;f(a[n],i,r),f(s,i,r),p.valueWayDim+=r}else if(o===e)f(a[n],0,r),f(l,0,r);else{i=p.categoryWayDim;f(a[n],i,r),f(s,i,r),p.categoryWayDim+=r}})),l.length&&(a.itemName=l),s.length&&(a.seriesName=s),a}function VB(t,e,n){var a={};if(!YB(t))return a;var r,o=e.sourceFormat,i=e.dimensionsDefine;o!==DB&&o!==IB||_O(i,(function(t,e){"name"===(zO(t)?t.name:t)&&(r=e)}));var l=function(){for(var t={},a={},l=[],s=0,c=Math.min(5,n);s<c;s++){var u=WB(e.data,o,e.seriesLayoutBy,i,e.startIndex,s);l.push(u);var d=u===jB;if(d&&null==t.v&&s!==r&&(t.v=s),(null==t.n||t.n===t.v||!d&&l[t.n]===jB)&&(t.n=s),p(t)&&l[t.n]!==jB)return t;d||(u===LB&&null==a.v&&s!==r&&(a.v=s),null!=a.n&&a.n!==a.v||(a.n=s))}function p(t){return null!=t.v&&null!=t.n}return p(t)?t:p(a)?a:null}();if(l){a.value=[l.v];var s=null!=r?r:l.n;a.itemName=[s],a.seriesName=[s]}return a}function YB(t){if(!t.get("data",!0))return VP(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},FP).models[0]}function HB(t,e){return WB(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function WB(t,e,n,a,r,o){var i,l,s;if(LO(t))return jB;if(a){var c=a[o];zO(c)?(l=c.name,s=c.type):PO(c)&&(l=c)}if(null!=s)return"ordinal"===s?RB:jB;if(e===TB){var u=t;if(n===zB){for(var d=u[o],p=0;p<(d||[]).length&&p<5;p++)if(null!=(i=v(d[r+p])))return i}else for(p=0;p<u.length&&p<5;p++){var f=u[r+p];if(f&&null!=(i=v(f[o])))return i}}else if(e===DB){var h=t;if(!l)return jB;for(p=0;p<h.length&&p<5;p++){if((m=h[p])&&null!=(i=v(m[l])))return i}}else if(e===IB){if(!l)return jB;if(!(d=t[l])||LO(d))return jB;for(p=0;p<d.length&&p<5;p++)if(null!=(i=v(d[p])))return i}else if(e===EB){var g=t;for(p=0;p<g.length&&p<5;p++){var m,b=MP(m=g[p]);if(!DO(b))return jB;if(null!=(i=v(b[o])))return i}}function v(t){var e=PO(t);return null!=t&&isFinite(t)&&""!==t?e?LB:jB:e&&"-"!==t?RB:void 0}return jB}var UB=tE();var GB,KB,qB,XB=zP(),ZB=zP(),JB=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){var a=kP(this.get("color",!0)),r=this.get("colorLayer",!0);return QB(this,XB,a,r,t,e,n)},t.prototype.clearColorPalette=function(){!function(t,e){e(t).paletteIdx=0,e(t).paletteNameMap={}}(this,XB)},t}();function $B(t,e,n,a){var r=kP(t.get(["aria","decal","decals"]));return QB(t,ZB,r,null,e,n,a)}function QB(t,e,n,a,r,o,i){var l=e(o=o||t),s=l.paletteIdx||0,c=l.paletteNameMap=l.paletteNameMap||{};if(c.hasOwnProperty(r))return c[r];var u=null!=i&&a?function(t,e){for(var n=t.length,a=0;a<n;a++)if(t[a].length>e)return t[a];return t[n-1]}(a,i):n;if((u=u||n)&&u.length){var d=u[s];return r&&(c[r]=d),l.paletteIdx=(s+1)%u.length,d}}var tV=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.prototype.init=function(t,e,n,a,r,o){a=a||{},this.option=null,this._theme=new dF(a),this._locale=new dF(r),this._optionManager=o},e.prototype.setOption=function(t,e,n){var a=aV(e);this._optionManager.setOption(t,n,a),this._resetOption(null,a)},e.prototype.resetOption=function(t,e){return this._resetOption(t,aV(e))},e.prototype._resetOption=function(t,e){var n=!1,a=this._optionManager;if(!t||"recreate"===t){var r=a.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):qB(this,r),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=a.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var i=a.getMediaOption(this);i.length&&_O(i,(function(t){n=!0,this._mergeOption(t,e)}),this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,a=this._componentsMap,r=this._componentsCount,o=[],i=tE(),l=e&&e.replaceMergeMainTypeMap;FB(this).datasetMap=tE(),_O(t,(function(t,e){null!=t&&(kB.hasClass(e)?e&&(o.push(e),i.set(e,!0)):n[e]=null==n[e]?pO(t):fO(n[e],t,!0))})),l&&l.each((function(t,e){kB.hasClass(e)&&!i.get(e)&&(o.push(e),i.set(e,!0))})),kB.topologicalTravel(o,kB.getAllClassMainTypes(),(function(e){var o=function(t,e,n){var a=UB.get(e);if(!a)return n;var r=a(t);return r?n.concat(r):n}(this,e,kP(t[e])),i=a.get(e),s=i?l&&l.get(e)?"replaceMerge":"normalMerge":"replaceAll",c=EP(i,o,s);(function(t,e,n){_O(t,(function(t){var a=t.newOption;zO(a)&&(t.keyInfo.mainType=e,t.keyInfo.subType=function(t,e,n,a){return e.type?e.type:n?n.subType:a.determineSubType(t,e)}(e,a,t.existing,n))}))})(c,e,kB),n[e]=null,a.set(e,null),r.set(e,0);var u=[],d=[],p=0;_O(c,(function(t,n){var a=t.existing,r=t.newOption;if(r){var o="series"===e,i=kB.getClass(e,t.keyInfo.subType,!o);if(!i)return;if(a&&a.constructor===i)a.name=t.keyInfo.name,a.mergeOption(r,this),a.optionUpdated(r,!1);else{var l=gO({componentIndex:n},t.keyInfo);gO(a=new i(r,this,this,l),l),t.brandNew&&(a.__requireNewView=!0),a.init(r,this,this),a.optionUpdated(null,!0)}}else a&&(a.mergeOption({},this),a.optionUpdated({},!1));a?(u.push(a.option),d.push(a),p++):(u.push(void 0),d.push(void 0))}),this),n[e]=u,a.set(e,d),r.set(e,p),"series"===e&&GB(this)}),this),this._seriesIndices||GB(this)},e.prototype.getOption=function(){var t=pO(this.option);return _O(t,(function(e,n){if(kB.hasClass(n)){for(var a=kP(e),r=a.length,o=!1,i=r-1;i>=0;i--)a[i]&&!NP(a[i])?o=!0:(a[i]=null,!o&&r--);a.length=r,t[n]=a}})),delete t["\0_ec_inner"],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var a=n[e||0];if(a)return a;if(null==e)for(var r=0;r<n.length;r++)if(n[r])return n[r]}},e.prototype.queryComponents=function(t){var e=t.mainType;if(!e)return[];var n,a=t.index,r=t.id,o=t.name,i=this._componentsMap.get(e);return i&&i.length?(null!=a?(n=[],_O(kP(a),(function(t){i[t]&&n.push(i[t])}))):n=null!=r?eV("id",r,i):null!=o?eV("name",o,i):CO(i,(function(t){return!!t})),nV(n,t)):[]},e.prototype.findComponents=function(t){var e,n=t.query,a=t.mainType,r=function(t){var e=a+"Index",n=a+"Id",r=a+"Name";return!t||null==t[e]&&null==t[n]&&null==t[r]?null:{mainType:a,index:t[e],id:t[n],name:t[r]}}(n),o=r?this.queryComponents(r):CO(this._componentsMap.get(a),(function(t){return!!t}));return e=nV(o,t),t.filter?CO(e,t.filter):e},e.prototype.eachComponent=function(t,e,n){var a=this._componentsMap;if(IO(t)){var r=e,o=t;a.each((function(t,e){for(var n=0;t&&n<t.length;n++){var a=t[n];a&&o.call(r,e,a,a.componentIndex)}}))}else for(var i=PO(t)?a.get(t):zO(t)?this.findComponents(t):null,l=0;i&&l<i.length;l++){var s=i[l];s&&e.call(n,s,s.componentIndex)}},e.prototype.getSeriesByName=function(t){var e=IP(t,null);return CO(this._componentsMap.get("series"),(function(t){return!!t&&null!=e&&t.name===e}))},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return CO(this._componentsMap.get("series"),(function(e){return!!e&&e.subType===t}))},e.prototype.getSeries=function(){return CO(this._componentsMap.get("series"),(function(t){return!!t}))},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){KB(this),_O(this._seriesIndices,(function(n){var a=this._componentsMap.get("series")[n];t.call(e,a,n)}),this)},e.prototype.eachRawSeries=function(t,e){_O(this._componentsMap.get("series"),(function(n){n&&t.call(e,n,n.componentIndex)}))},e.prototype.eachSeriesByType=function(t,e,n){KB(this),_O(this._seriesIndices,(function(a){var r=this._componentsMap.get("series")[a];r.subType===t&&e.call(n,r,a)}),this)},e.prototype.eachRawSeriesByType=function(t,e,n){return _O(this.getSeriesByType(t),e,n)},e.prototype.isSeriesFiltered=function(t){return KB(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){KB(this);var n=[];_O(this._seriesIndices,(function(a){var r=this._componentsMap.get("series")[a];t.call(e,r,a)&&n.push(a)}),this),this._seriesIndices=n,this._seriesIndicesMap=tE(n)},e.prototype.restoreData=function(t){GB(this);var e=this._componentsMap,n=[];e.each((function(t,e){kB.hasClass(e)&&n.push(e)})),kB.topologicalTravel(n,kB.getAllClassMainTypes(),(function(n){_O(e.get(n),(function(e){!e||"series"===n&&function(t,e){if(e){var n=e.seriesIndex,a=e.seriesId,r=e.seriesName;return null!=n&&t.componentIndex!==n||null!=a&&t.id!==a||null!=r&&t.name!==r}}(e,t)||e.restoreData()}))}))},e.internalField=(GB=function(t){var e=t._seriesIndices=[];_O(t._componentsMap.get("series"),(function(t){t&&e.push(t.componentIndex)})),t._seriesIndicesMap=tE(e)},KB=function(t){},void(qB=function(t,e){t.option={},t.option["\0_ec_inner"]=1,t._componentsMap=tE({series:[]}),t._componentsCount=tE();var n=e.aria;zO(n)&&null==n.enabled&&(n.enabled=!0),function(t,e){var n=t.color&&!t.colorLayer;_O(e,(function(e,a){"colorLayer"===a&&n||kB.hasClass(a)||("object"==typeof e?t[a]=t[a]?fO(t[a],e,!1):pO(e):null==t[a]&&(t[a]=e))}))}(e,t._theme.option),fO(e,MB,!1),t._mergeOption(e,null)})),e}(dF);function eV(t,e,n){if(DO(e)){var a=tE();return _O(e,(function(t){null!=t&&(null!=IP(t,null)&&a.set(t,!0))})),CO(n,(function(e){return e&&a.get(e[t])}))}var r=IP(e,null);return CO(n,(function(e){return e&&null!=r&&e[t]===r}))}function nV(t,e){return e.hasOwnProperty("subType")?CO(t,(function(t){return t&&t.subType===e.subType})):t}function aV(t){var e=tE();return t&&_O(kP(t.replaceMerge),(function(t){e.set(t,!0)})),{replaceMergeMainTypeMap:e}}xO(tV,JB);var rV=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],oV=function(t){_O(rV,(function(e){this[e]=EO(t[e],t)}),this)},iV={},lV=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var n=[];_O(iV,(function(a,r){var o=a.create(t,e);n=n.concat(o||[])})),this._coordinateSystems=n},t.prototype.update=function(t,e){_O(this._coordinateSystems,(function(n){n.update&&n.update(t,e)}))},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){iV[t]=e},t.get=function(t){return iV[t]},t}(),sV=/^(min|max)?(.+)$/,cV=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,n){t&&(_O(kP(t.series),(function(t){t&&t.data&&LO(t.data)&&JO(t.data)})),_O(kP(t.dataset),(function(t){t&&t.source&&LO(t.source)&&JO(t.source)}))),t=pO(t);var a=this._optionBackup,r=function(t,e,n){var a,r,o=[],i=t.baseOption,l=t.timeline,s=t.options,c=t.media,u=!!t.media,d=!!(s||l||i&&i.timeline);i?(r=i).timeline||(r.timeline=l):((d||u)&&(t.options=t.media=null),r=t);u&&DO(c)&&_O(c,(function(t){t&&t.option&&(t.query?o.push(t):a||(a=t))}));function p(t){_O(e,(function(e){e(t,n)}))}return p(r),_O(s,(function(t){return p(t)})),_O(o,(function(t){return p(t.option)})),{baseOption:r,timelineOptions:s||[],mediaDefault:a,mediaList:o}}(t,e,!a);this._newBaseOption=r.baseOption,a?(r.timelineOptions.length&&(a.timelineOptions=r.timelineOptions),r.mediaList.length&&(a.mediaList=r.mediaList),r.mediaDefault&&(a.mediaDefault=r.mediaDefault)):this._optionBackup=r},t.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],pO(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,n=this._timelineOptions;if(n.length){var a=t.getComponent("timeline");a&&(e=pO(n[a.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e,n,a=this._api.getWidth(),r=this._api.getHeight(),o=this._mediaList,i=this._mediaDefault,l=[],s=[];if(!o.length&&!i)return s;for(var c=0,u=o.length;c<u;c++)uV(o[c].query,a,r)&&l.push(c);return!l.length&&i&&(l=[-1]),l.length&&(e=l,n=this._currentMediaIndices,e.join(",")!==n.join(","))&&(s=kO(l,(function(t){return pO(-1===t?i.option:o[t].option)}))),this._currentMediaIndices=l,s},t}();function uV(t,e,n){var a={width:e,height:n,aspectratio:e/n},r=!0;return _O(t,(function(t,e){var n=e.match(sV);if(n&&n[1]&&n[2]){var o=n[1],i=n[2].toLowerCase();(function(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e})(a[i],t,o)||(r=!1)}})),r}var dV=_O,pV=zO,fV=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function hV(t){var e=t&&t.itemStyle;if(e)for(var n=0,a=fV.length;n<a;n++){var r=fV[n],o=e.normal,i=e.emphasis;o&&o[r]&&(t[r]=t[r]||{},t[r].normal?fO(t[r].normal,o[r]):t[r].normal=o[r],o[r]=null),i&&i[r]&&(t[r]=t[r]||{},t[r].emphasis?fO(t[r].emphasis,i[r]):t[r].emphasis=i[r],i[r]=null)}}function gV(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var a=t[e].normal,r=t[e].emphasis;a&&(n?(t[e].normal=t[e].emphasis=null,mO(t[e],a)):t[e]=a),r&&(t.emphasis=t.emphasis||{},t.emphasis[e]=r,r.focus&&(t.emphasis.focus=r.focus),r.blurScope&&(t.emphasis.blurScope=r.blurScope))}}function mV(t){gV(t,"itemStyle"),gV(t,"lineStyle"),gV(t,"areaStyle"),gV(t,"label"),gV(t,"labelLine"),gV(t,"upperLabel"),gV(t,"edgeLabel")}function bV(t,e){var n=pV(t)&&t[e],a=pV(n)&&n.textStyle;if(a)for(var r=0,o=CP.length;r<o;r++){var i=CP[r];a.hasOwnProperty(i)&&(n[i]=a[i])}}function vV(t){t&&(mV(t),bV(t,"label"),t.emphasis&&bV(t.emphasis,"label"))}function yV(t){return DO(t)?t:t?[t]:[]}function xV(t){return(DO(t)?t[0]:t)||{}}function wV(t,e){dV(yV(t.series),(function(t){pV(t)&&function(t){if(pV(t)){hV(t),mV(t),bV(t,"label"),bV(t,"upperLabel"),bV(t,"edgeLabel"),t.emphasis&&(bV(t.emphasis,"label"),bV(t.emphasis,"upperLabel"),bV(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(hV(e),vV(e));var n=t.markLine;n&&(hV(n),vV(n));var a=t.markArea;a&&vV(a);var r=t.data;if("graph"===t.type){r=r||t.nodes;var o=t.links||t.edges;if(o&&!LO(o))for(var i=0;i<o.length;i++)vV(o[i]);_O(t.categories,(function(t){mV(t)}))}if(r&&!LO(r))for(i=0;i<r.length;i++)vV(r[i]);if((e=t.markPoint)&&e.data){var l=e.data;for(i=0;i<l.length;i++)vV(l[i])}if((n=t.markLine)&&n.data){var s=n.data;for(i=0;i<s.length;i++)DO(s[i])?(vV(s[i][0]),vV(s[i][1])):vV(s[i])}"gauge"===t.type?(bV(t,"axisLabel"),bV(t,"title"),bV(t,"detail")):"treemap"===t.type?(gV(t.breadcrumb,"itemStyle"),_O(t.levels,(function(t){mV(t)}))):"tree"===t.type&&mV(t.leaves)}}(t)}));var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),dV(n,(function(e){dV(yV(t[e]),(function(t){t&&(bV(t,"axisLabel"),bV(t.axisPointer,"label"))}))})),dV(yV(t.parallel),(function(t){var e=t&&t.parallelAxisDefault;bV(e,"axisLabel"),bV(e&&e.axisPointer,"label")})),dV(yV(t.calendar),(function(t){gV(t,"itemStyle"),bV(t,"dayLabel"),bV(t,"monthLabel"),bV(t,"yearLabel")})),dV(yV(t.radar),(function(t){bV(t,"name"),t.name&&null==t.axisName&&(t.axisName=t.name,delete t.name),null!=t.nameGap&&null==t.axisNameGap&&(t.axisNameGap=t.nameGap,delete t.nameGap)})),dV(yV(t.geo),(function(t){pV(t)&&(vV(t),dV(yV(t.regions),(function(t){vV(t)})))})),dV(yV(t.timeline),(function(t){vV(t),gV(t,"label"),gV(t,"itemStyle"),gV(t,"controlStyle",!0);var e=t.data;DO(e)&&_O(e,(function(t){zO(t)&&(gV(t,"label"),gV(t,"itemStyle"))}))})),dV(yV(t.toolbox),(function(t){gV(t,"iconStyle"),dV(t.feature,(function(t){gV(t,"iconStyle")}))})),bV(xV(t.axisPointer),"label"),bV(xV(t.tooltip).axisPointer,"label")}function _V(t){t&&_O(kV,(function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])}))}var kV=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],SV=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],CV=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function MV(t){var e=t&&t.itemStyle;if(e)for(var n=0;n<CV.length;n++){var a=CV[n][1],r=CV[n][0];null!=e[a]&&(e[r]=e[a])}}function OV(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function EV(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function TV(t,e){if(t)for(var n=0;n<t.length;n++)e(t[n]),t[n]&&TV(t[n].children,e)}function DV(t,e){wV(t,e),t.series=kP(t.series),_O(t.series,(function(t){if(zO(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e){if(null!=t.clockWise&&(t.clockwise=t.clockWise),OV(t.label),(r=t.data)&&!LO(r))for(var n=0;n<r.length;n++)OV(r[n]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},(t.emphasis.scaleSize=null)&&(t.emphasis.scaleSize=t.hoverOffset))}else if("gauge"===e){var a=function(t,e){for(var n=e.split(","),a=t,r=0;r<n.length&&null!=(a=a&&a[n[r]]);r++);return a}(t,"pointer.color");null!=a&&function(t,e,n,a){for(var r,o=e.split(","),i=t,l=0;l<o.length-1;l++)null==i[r=o[l]]&&(i[r]={}),i=i[r];(a||null==i[o[l]])&&(i[o[l]]=n)}(t,"itemStyle.color",a)}else if("bar"===e){var r;if(MV(t),MV(t.backgroundStyle),MV(t.emphasis),(r=t.data)&&!LO(r))for(n=0;n<r.length;n++)"object"==typeof r[n]&&(MV(r[n]),MV(r[n]&&r[n].emphasis))}else if("sunburst"===e){var o=t.highlightPolicy;o&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=o)),EV(t),TV(t.data,EV)}else"graph"===e||"sankey"===e?function(t){t&&null!=t.focusNodeAdjacency&&(t.emphasis=t.emphasis||{},null==t.emphasis.focus&&(t.emphasis.focus="adjacency"))}(t):"map"===e&&(t.mapType&&!t.map&&(t.map=t.mapType),t.mapLocation&&mO(t,t.mapLocation));null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),_V(t)}})),t.dataRange&&(t.visualMap=t.dataRange),_O(SV,(function(e){var n=t[e];n&&(DO(n)||(n=[n]),_O(n,(function(t){_V(t)})))}))}function IV(t){_O(t,(function(e,n){var a=[],r=[NaN,NaN],o=[e.stackResultDimension,e.stackedOverDimension],i=e.data,l=e.isStackedByIndex;i.modify(o,(function(o,s,c){var u,d,p=i.get(e.stackedDimension,c);if(isNaN(p))return r;l?d=i.getRawIndex(c):u=i.get(e.stackedByDimension,c);for(var f=NaN,h=n-1;h>=0;h--){var g=t[h];if(l||(d=g.data.rawIndexOf(g.stackedByDimension,u)),d>=0){var m=g.data.getByRawIndex(g.stackResultDimension,d);if(p>=0&&m>0||p<=0&&m<0){p=rP(p,m),f=m;break}}}return a[0]=p,a[1]=f,a}))}))}var PV,NV,AV,zV,RV,LV=function(t){this.data=t.data||(t.sourceFormat===IB?{}:[]),this.sourceFormat=t.sourceFormat||NB,this.seriesLayoutBy=t.seriesLayoutBy||AB,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;n<e.length;n++){var a=e[n];null==a.type&&HB(this,n)===RB&&(a.type="ordinal")}};function jV(t){return t instanceof LV}function FV(t,e,n){n=n||VV(t);var a=e.seriesLayoutBy,r=function(t,e,n,a,r){var o,i;if(!t)return{dimensionsDefine:YV(r),startIndex:i,dimensionsDetectedCount:o};if(e===TB){var l=t;"auto"===a||null==a?HV((function(t){null!=t&&"-"!==t&&(PO(t)?null==i&&(i=1):i=0)}),n,l,10):i=AO(a)?a:a?1:0,r||1!==i||(r=[],HV((function(t,e){r[e]=null!=t?t+"":""}),n,l,1/0)),o=r?r.length:n===zB?l.length:l[0]?l[0].length:null}else if(e===DB)r||(r=function(t){var e,n=0;for(;n<t.length&&!(e=t[n++]););if(e){var a=[];return _O(e,(function(t,e){a.push(e)})),a}}(t));else if(e===IB)r||(r=[],_O(t,(function(t,e){r.push(e)})));else if(e===EB){var s=MP(t[0]);o=DO(s)&&s.length||1}return{startIndex:i,dimensionsDefine:YV(r),dimensionsDetectedCount:o}}(t,n,a,e.sourceHeader,e.dimensions);return new LV({data:t,sourceFormat:n,seriesLayoutBy:a,dimensionsDefine:r.dimensionsDefine,startIndex:r.startIndex,dimensionsDetectedCount:r.dimensionsDetectedCount,metaRawOption:pO(e)})}function BV(t){return new LV({data:t,sourceFormat:LO(t)?PB:EB})}function VV(t){var e=NB;if(LO(t))e=PB;else if(DO(t)){0===t.length&&(e=TB);for(var n=0,a=t.length;n<a;n++){var r=t[n];if(null!=r){if(DO(r)){e=TB;break}if(zO(r)){e=DB;break}}}}else if(zO(t))for(var o in t)if(aE(t,o)&&wO(t[o])){e=IB;break}return e}function YV(t){if(t){var e=tE();return kO(t,(function(t,n){var a={name:(t=zO(t)?t:{name:t}).name,displayName:t.displayName,type:t.type};if(null==a.name)return a;a.name+="",null==a.displayName&&(a.displayName=a.name);var r=e.get(a.name);return r?a.name+="-"+r.count++:e.set(a.name,{count:1}),a}))}}function HV(t,e,n,a){if(e===zB)for(var r=0;r<n.length&&r<a;r++)t(n[r]?n[r][0]:null,r);else{var o=n[0]||[];for(r=0;r<o.length&&r<a;r++)t(o[r],r)}}function WV(t){var e=t.sourceFormat;return e===DB||e===IB}var UV=function(){function t(t,e){var n=jV(t)?t:BV(t);this._source=n;var a=this._data=n.data;n.sourceFormat===PB&&(this._offset=0,this._dimSize=e,this._data=a),RV(this,a,n)}return t.prototype.getSource=function(){return this._source},t.prototype.count=function(){return 0},t.prototype.getItem=function(t,e){},t.prototype.appendData=function(t){},t.prototype.clean=function(){},t.protoInitialize=function(){var e=t.prototype;e.pure=!1,e.persistent=!0}(),t.internalField=function(){var t;RV=function(t,r,o){var i=o.sourceFormat,l=o.seriesLayoutBy,s=o.startIndex,c=o.dimensionsDefine;if(gO(t,zV[eY(i,l)]),i===PB)t.getItem=e,t.count=a,t.fillStorage=n;else{var u=qV(i,l);t.getItem=EO(u,null,r,s,c);var d=JV(i,l);t.count=EO(d,null,r,s,c)}};var e=function(t,e){t-=this._offset,e=e||[];for(var n=this._data,a=this._dimSize,r=a*t,o=0;o<a;o++)e[o]=n[r+o];return e},n=function(t,e,n,a){for(var r=this._data,o=this._dimSize,i=0;i<o;i++){for(var l=a[i],s=null==l[0]?1/0:l[0],c=null==l[1]?-1/0:l[1],u=e-t,d=n[i],p=0;p<u;p++){var f=r[p*o+i];d[t+p]=f,f<s&&(s=f),f>c&&(c=f)}l[0]=s,l[1]=c}},a=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}(t={}).arrayRows_column={pure:!0,appendData:r},t.arrayRows_row={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t.objectRows={pure:!0,appendData:r},t.keyedColumns={pure:!0,appendData:function(t){var e=this._data;_O(t,(function(t,n){for(var a=e[n]||(e[n]=[]),r=0;r<(t||[]).length;r++)a.push(t[r])}))}},t.original={appendData:r},t.typedArray={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},zV=t}(),t}(),GV=function(t,e,n,a){return t[a]},KV=((PV={}).arrayRows_column=function(t,e,n,a){return t[a+e]},PV.arrayRows_row=function(t,e,n,a,r){a+=e;for(var o=r||[],i=t,l=0;l<i.length;l++){var s=i[l];o[l]=s?s[a]:null}return o},PV.objectRows=GV,PV.keyedColumns=function(t,e,n,a,r){for(var o=r||[],i=0;i<n.length;i++){var l=t[n[i].name];o[i]=l?l[a]:null}return o},PV.original=GV,PV);function qV(t,e){return KV[eY(t,e)]}var XV=function(t,e,n){return t.length},ZV=((NV={}).arrayRows_column=function(t,e,n){return Math.max(0,t.length-e)},NV.arrayRows_row=function(t,e,n){var a=t[0];return a?Math.max(0,a.length-e):0},NV.objectRows=XV,NV.keyedColumns=function(t,e,n){var a=t[n[0].name];return a?a.length:0},NV.original=XV,NV);function JV(t,e){return ZV[eY(t,e)]}var $V=function(t,e,n){return t[e]},QV=((AV={}).arrayRows=$V,AV.objectRows=function(t,e,n){return t[n]},AV.keyedColumns=$V,AV.original=function(t,e,n){var a=MP(t);return a instanceof Array?a[e]:a},AV.typedArray=$V,AV);function tY(t){return QV[t]}function eY(t,e){return t===TB?t+"_"+e:t}function nY(t,e,n){if(t){var a=t.getRawDataItem(e);if(null!=a){var r=t.getStore(),o=r.getSource().sourceFormat;if(null!=n){var i=t.getDimensionIndex(n),l=r.getDimensionProperty(i);return tY(o)(a,i,l)}var s=a;return o===EB&&(s=MP(a)),s}}}var aY=/\{@(.+?)\}/g,rY=function(){function t(){}return t.prototype.getDataParams=function(t,e){var n=this.getData(e),a=this.getRawValue(t,e),r=n.getRawIndex(t),o=n.getName(t),i=n.getRawDataItem(t),l=n.getItemVisual(t,"style"),s=l&&l[n.getItemVisual(t,"drawType")||"fill"],c=l&&l.stroke,u=this.mainType,d="series"===u,p=n.userOutput&&n.userOutput.get();return{componentType:u,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:d?this.subType:null,seriesIndex:this.seriesIndex,seriesId:d?this.id:null,seriesName:d?this.name:null,name:o,dataIndex:r,data:i,dataType:e,value:a,color:s,borderColor:c,dimensionNames:p?p.fullDimensions:null,encode:p?p.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,n,a,r,o){e=e||"normal";var i=this.getData(n),l=this.getDataParams(t,n);(o&&(l.value=o.interpolatedValue),null!=a&&DO(l.value)&&(l.value=l.value[a]),r)||(r=i.getItemModel(t).get("normal"===e?["label","formatter"]:[e,"label","formatter"]));return"function"==typeof r?(l.status=e,l.dimensionIndex=a,r(l)):"string"==typeof r?lB(r,l).replace(aY,(function(e,n){var a=n.length,r=n;"["===r.charAt(0)&&"]"===r.charAt(a-1)&&(r=+r.slice(1,a-1));var l=nY(i,t,r);if(o&&DO(o.interpolatedValue)){var s=i.getDimensionIndex(r);s>=0&&(l=o.interpolatedValue[s])}return null!=l?l+"":""})):void 0},t.prototype.getRawValue=function(t,e){return nY(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function oY(t){var e,n;return zO(t)?t.type&&(n=t):e=t,{markupText:e,markupFragment:n}}function iY(t){return new lY(t)}var lY=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,a=t&&t.skip;if(this._dirty&&n){var r=this.context;r.data=r.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!a&&(e=this._plan(this.context));var o,i=u(this._modBy),l=this._modDataCount||0,s=u(t&&t.modBy),c=t&&t.modDataCount||0;function u(t){return!(t>=1)&&(t=1),t}i===s&&l===c||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=this._doReset(a)),this._modBy=s,this._modDataCount=c;var d=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,f=Math.min(null!=d?this._dueIndex+d:1/0,this._dueEnd);if(!a&&(o||p<f)){var h=this._progress;if(DO(h))for(var g=0;g<h.length;g++)this._doProgress(h[g],p,f,s,c);else this._doProgress(h,p,f,s,c)}this._dueIndex=f;var m=null!=this._settedOutputEnd?this._settedOutputEnd:f;this._outputDueEnd=m}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(t,e,n,a,r){sY.reset(e,n,a,r),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:sY.next},this.context)},t.prototype._doReset=function(t){var e,n;this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&((e=this._reset(this.context))&&e.progress&&(n=e.forceFirstProgress,e=e.progress),DO(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var a=this._downstream;return a&&a.dirty(),n},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},t.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},t}(),sY=function(){var t,e,n,a,r,o={reset:function(s,c,u,d){e=s,t=c,n=u,a=d,r=Math.ceil(a/n),o.next=n>1&&a>0?l:i}};return o;function i(){return e<t?e++:null}function l(){var o=e%r*n+Math.ceil(e/r),i=e>=t?null:o<a?o:e;return e++,i}}();function cY(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"===n&&"number"!=typeof t&&null!=t&&"-"!==t&&(t=+cP(t)),null==t||""===t?NaN:+t)}var uY=tE({number:function(t){return parseFloat(t)},time:function(t){return+cP(t)},trim:function(t){return"string"==typeof t?XO(t):t}});function dY(t){return uY.get(t)}var pY={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}},fY=function(){function t(t,e){if("number"!=typeof e){xP("")}this._opFn=pY[t],this._rvalFloat=gP(e)}return t.prototype.evaluate=function(t){return"number"==typeof t?this._opFn(t,this._rvalFloat):this._opFn(gP(t),this._rvalFloat)},t}(),hY=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=typeof t,a=typeof e,r="number"===n?t:gP(t),o="number"===a?e:gP(e),i=isNaN(r),l=isNaN(o);if(i&&(r=this._incomparable),l&&(o=this._incomparable),i&&l){var s="string"===n,c="string"===a;s&&(r=c?t:0),c&&(o=s?e:0)}return r<o?this._resultLT:r>o?-this._resultLT:0},t}(),gY=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=gP(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=gP(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function mY(t,e){return"eq"===t||"ne"===t?new gY("eq"===t,e):aE(pY,t)?new fY(t,e):null}var bY=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return cY(t,e)},t}();function vY(t){if(!SY(t.sourceFormat)){xP("")}return t.data}function yY(t){var e=t.sourceFormat,n=t.data;if(!SY(e)){xP("")}if(e===TB){for(var a=[],r=0,o=n.length;r<o;r++)a.push(n[r].slice());return a}if(e===DB){for(a=[],r=0,o=n.length;r<o;r++)a.push(gO({},n[r]));return a}}function xY(t,e,n){if(null!=n)return"number"==typeof n||!isNaN(n)&&!aE(e,n)?t[n]:aE(e,n)?e[n]:void 0}function wY(t){return pO(t)}var _Y=tE();function kY(t,e,n,a){e.length||xP(""),zO(t)||xP("");var r=t.type,o=_Y.get(r);o||xP("");var i=kO(e,(function(t){return function(t,e){var n=new bY,a=t.data,r=n.sourceFormat=t.sourceFormat,o=t.startIndex;t.seriesLayoutBy!==AB&&xP("");var i=[],l={},s=t.dimensionsDefine;if(s)_O(s,(function(t,e){var n=t.name,a={index:e,name:n,displayName:t.displayName};i.push(a),null!=n&&(aE(l,n)&&xP(""),l[n]=a)}));else for(var c=0;c<t.dimensionsDetectedCount;c++)i.push({index:c});var u=qV(r,AB);e.__isBuiltIn&&(n.getRawDataItem=function(t){return u(a,o,i,t)},n.getRawData=EO(vY,null,t)),n.cloneRawData=EO(yY,null,t);var d=JV(r,AB);n.count=EO(d,null,a,o,i);var p=tY(r);n.retrieveValue=function(t,e){var n=u(a,o,i,t);return f(n,e)};var f=n.retrieveValueFromItem=function(t,e){if(null!=t){var n=i[e];return n?p(t,e,n.name):void 0}};return n.getDimensionInfo=EO(xY,null,i,l),n.cloneAllDimensionInfo=EO(wY,null,i),n}(t,o)}));return kO(kP(o.transform({upstream:i[0],upstreamList:i,config:pO(t.config)})),(function(t,n){var a;zO(t)||xP(""),t.data||xP(""),SY(VV(t.data))||xP("");var r=e[0];if(r&&0===n&&!t.dimensions){var o=r.startIndex;o&&(t.data=r.data.slice(0,o).concat(t.data)),a={seriesLayoutBy:AB,sourceHeader:o,dimensions:r.metaRawOption.dimensions}}else a={seriesLayoutBy:AB,sourceHeader:0,dimensions:t.dimensions};return FV(t.data,a,null)}))}function SY(t){return t===TB||t===DB}var CY,MY="undefined",OY=typeof Uint32Array===MY?Array:Uint32Array,EY=typeof Uint16Array===MY?Array:Uint16Array,TY=typeof Int32Array===MY?Array:Int32Array,DY=typeof Float64Array===MY?Array:Float64Array,IY={float:DY,int:TY,ordinal:Array,number:Array,time:DY};function PY(t){return t>65535?OY:EY}function NY(t,e,n,a,r){var o=IY[n||"float"];if(r){var i=t[e],l=i&&i.length;if(l!==a){for(var s=new o(a),c=0;c<l;c++)s[c]=i[c];t[e]=s}}else t[e]=new o(a)}var AY=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=tE()}return t.prototype.initData=function(t,e,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var a=t.getSource(),r=this.defaultDimValueGetter=CY[a.sourceFormat];this._dimValueGetter=n||r,this._rawExtent=[],WV(a),this._dimensions=kO(e,(function(t){return{type:t.type,property:t.property}})),this._initDataFromProvider(0,t.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(t,e){var n=this._calcDimNameToIdx,a=this._dimensions,r=n.get(t);if(null!=r){if(a[r].type===e)return r}else r=a.length;return a[r]={type:e},n.set(t,r),this._chunks[r]=new IY[e||"float"](this._rawCount),this._rawExtent[r]=[1/0,-1/0],r},t.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],a=this._dimensions[t],r=this._rawExtent,o=a.ordinalOffset||0,i=n.length;0===o&&(r[t]=[1/0,-1/0]);for(var l=r[t],s=o;s<i;s++){var c=n[s]=e.parseAndCollect(n[s]);l[0]=Math.min(c,l[0]),l[1]=Math.max(c,l[1])}a.ordinalMeta=e,a.ordinalOffset=i,a.type="ordinal"},t.prototype.getOrdinalMeta=function(t){return this._dimensions[t].ordinalMeta},t.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},t.prototype.appendData=function(t){var e=this._provider,n=this.count();e.appendData(t);var a=e.count();return e.persistent||(a+=n),n<a&&this._initDataFromProvider(n,a,!0),[n,a]},t.prototype.appendValues=function(t,e){for(var n=this._chunks,a=this._dimensions,r=a.length,o=this._rawExtent,i=this.count(),l=i+Math.max(t.length,e||0),s=0;s<r;s++){NY(n,s,(f=a[s]).type,l,!0)}for(var c=[],u=i;u<l;u++)for(var d=u-i,p=0;p<r;p++){var f=a[p],h=CY.arrayRows.call(this,t[d]||c,f.property,d,p);n[p][u]=h;var g=o[p];h<g[0]&&(g[0]=h),h>g[1]&&(g[1]=h)}return this._rawCount=this._count=l,{start:i,end:l}},t.prototype._initDataFromProvider=function(t,e,n){for(var a=this._provider,r=this._chunks,o=this._dimensions,i=o.length,l=this._rawExtent,s=kO(o,(function(t){return t.property})),c=0;c<i;c++){var u=o[c];l[c]||(l[c]=[1/0,-1/0]),NY(r,c,u.type,e,n)}if(a.fillStorage)a.fillStorage(t,e,r,l);else for(var d=[],p=t;p<e;p++){d=a.getItem(p,d);for(var f=0;f<i;f++){var h=r[f],g=this._dimValueGetter(d,s[f],p,f);h[p]=g;var m=l[f];g<m[0]&&(m[0]=g),g>m[1]&&(m[1]=g)}}!a.persistent&&a.clean&&a.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var n=this._chunks[t];return n?n[this.getRawIndex(e)]:NaN},t.prototype.getValues=function(t,e){var n=[],a=[];if(null==e){e=t,t=[];for(var r=0;r<this._dimensions.length;r++)a.push(r)}else a=t;r=0;for(var o=a.length;r<o;r++)n.push(this.get(a[r],e));return n},t.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._chunks[t];return n?n[e]:NaN},t.prototype.getSum=function(t){var e=0;if(this._chunks[t])for(var n=0,a=this.count();n<a;n++){var r=this.get(t,n);isNaN(r)||(e+=r)}return e},t.prototype.getMedian=function(t){var e=[];this.each([t],(function(t){isNaN(t)||e.push(t)}));var n=e.sort((function(t,e){return t-e})),a=this.count();return 0===a?0:a%2==1?n[(a-1)/2]:(n[a/2]+n[a/2-1])/2},t.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&n<this._count&&n===t)return t;for(var a=0,r=this._count-1;a<=r;){var o=(a+r)/2|0;if(e[o]<t)a=o+1;else{if(!(e[o]>t))return o;r=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var a=this._chunks[t],r=[];if(!a)return r;null==n&&(n=1/0);for(var o=1/0,i=-1,l=0,s=0,c=this.count();s<c;s++){var u=e-a[this.getRawIndex(s)],d=Math.abs(u);d<=n&&((d<o||d===o&&u>=0&&i<0)&&(o=d,i=u,l=0),u===i&&(r[l++]=s))}return r.length=l,r},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,a=this._count;if(n===Array){t=new n(a);for(var r=0;r<a;r++)t[r]=e[r]}else t=new n(e.buffer,0,a)}else{t=new(n=PY(this._rawCount))(this.count());for(r=0;r<t.length;r++)t[r]=r}return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var n=this.clone(),a=n.count(),r=new(PY(n._rawCount))(a),o=[],i=t.length,l=0,s=t[0],c=n._chunks,u=0;u<a;u++){var d=void 0,p=n.getRawIndex(u);if(0===i)d=e(u);else if(1===i){d=e(c[s][p],u)}else{for(var f=0;f<i;f++)o[f]=c[t[f]][p];o[f]=u,d=e.apply(null,o)}d&&(r[l++]=p)}return l<a&&(n._indices=r),n._count=l,n._extent=[],n._updateGetRawIdx(),n},t.prototype.selectRange=function(t){var e=this.clone(),n=e._count;if(!n)return this;var a=OO(t),r=a.length;if(!r)return this;var o=e.count(),i=new(PY(e._rawCount))(o),l=0,s=a[0],c=t[s][0],u=t[s][1],d=e._chunks,p=!1;if(!e._indices){var f=0;if(1===r){for(var h=d[a[0]],g=0;g<n;g++){((y=h[g])>=c&&y<=u||isNaN(y))&&(i[l++]=f),f++}p=!0}else if(2===r){h=d[a[0]];var m=d[a[1]],b=t[a[1]][0],v=t[a[1]][1];for(g=0;g<n;g++){var y=h[g],x=m[g];(y>=c&&y<=u||isNaN(y))&&(x>=b&&x<=v||isNaN(x))&&(i[l++]=f),f++}p=!0}}if(!p)if(1===r)for(g=0;g<o;g++){var w=e.getRawIndex(g);((y=d[a[0]][w])>=c&&y<=u||isNaN(y))&&(i[l++]=w)}else for(g=0;g<o;g++){for(var _=!0,k=(w=e.getRawIndex(g),0);k<r;k++){var S=a[k];((y=d[S][w])<t[S][0]||y>t[S][1])&&(_=!1)}_&&(i[l++]=e.getRawIndex(g))}return l<o&&(e._indices=i),e._count=l,e._extent=[],e._updateGetRawIdx(),e},t.prototype.map=function(t,e){var n=this.clone(t);return this._updateDims(n,t,e),n},t.prototype.modify=function(t,e){this._updateDims(this,t,e)},t.prototype._updateDims=function(t,e,n){for(var a=t._chunks,r=[],o=e.length,i=t.count(),l=[],s=t._rawExtent,c=0;c<e.length;c++)s[e[c]]=[1/0,-1/0];for(var u=0;u<i;u++){for(var d=t.getRawIndex(u),p=0;p<o;p++)l[p]=a[e[p]][d];l[o]=u;var f=n&&n.apply(null,l);if(null!=f){"object"!=typeof f&&(r[0]=f,f=r);for(c=0;c<f.length;c++){var h=e[c],g=f[c],m=s[h],b=a[h];b&&(b[d]=g),g<m[0]&&(m[0]=g),g>m[1]&&(m[1]=g)}}}},t.prototype.lttbDownSample=function(t,e){var n,a,r,o=this.clone([t],!0),i=o._chunks[t],l=this.count(),s=0,c=Math.floor(1/e),u=this.getRawIndex(0),d=new(PY(this._rawCount))(Math.ceil(l/c)+2);d[s++]=u;for(var p=1;p<l-1;p+=c){for(var f=Math.min(p+c,l-1),h=Math.min(p+2*c,l),g=(h+f)/2,m=0,b=f;b<h;b++){var v=i[k=this.getRawIndex(b)];isNaN(v)||(m+=v)}m/=h-f;var y=p,x=Math.min(p+c,l),w=p-1,_=i[u];n=-1,r=y;for(b=y;b<x;b++){var k;v=i[k=this.getRawIndex(b)];isNaN(v)||(a=Math.abs((w-g)*(v-_)-(w-b)*(m-_)))>n&&(n=a,r=k)}d[s++]=r,u=r}return d[s++]=this.getRawIndex(l-1),o._count=s,o._indices=d,o.getRawIndex=this._getRawIdx,o},t.prototype.downSample=function(t,e,n,a){for(var r=this.clone([t],!0),o=r._chunks,i=[],l=Math.floor(1/e),s=o[t],c=this.count(),u=r._rawExtent[t]=[1/0,-1/0],d=new(PY(this._rawCount))(Math.ceil(c/l)),p=0,f=0;f<c;f+=l){l>c-f&&(l=c-f,i.length=l);for(var h=0;h<l;h++){var g=this.getRawIndex(f+h);i[h]=s[g]}var m=n(i),b=this.getRawIndex(Math.min(f+a(i,m)||0,c-1));s[b]=m,m<u[0]&&(u[0]=m),m>u[1]&&(u[1]=m),d[p++]=b}return r._count=p,r._indices=d,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,a=this._chunks,r=0,o=this.count();r<o;r++){var i=this.getRawIndex(r);switch(n){case 0:e(r);break;case 1:e(a[t[0]][i],r);break;case 2:e(a[t[0]][i],a[t[1]][i],r);break;default:for(var l=0,s=[];l<n;l++)s[l]=a[t[l]][i];s[l]=r,e.apply(null,s)}}},t.prototype.getDataExtent=function(t){var e=this._chunks[t],n=[1/0,-1/0];if(!e)return n;var a,r=this.count();if(!this._indices)return this._rawExtent[t].slice();if(a=this._extent[t])return a.slice();for(var o=(a=n)[0],i=a[1],l=0;l<r;l++){var s=e[this.getRawIndex(l)];s<o&&(o=s),s>i&&(i=s)}return a=[o,i],this._extent[t]=a,a},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],a=this._chunks,r=0;r<a.length;r++)n.push(a[r][e]);return n},t.prototype.clone=function(e,n){var a,r,o=new t,i=this._chunks,l=e&&SO(e,(function(t,e){return t[e]=!0,t}),{});if(l)for(var s=0;s<i.length;s++)o._chunks[s]=l[s]?(a=i[s],r=void 0,(r=a.constructor)===Array?a.slice():new r(a)):i[s];else o._chunks=i;return this._copyCommonProps(o),n||(o._indices=this._cloneIndices()),o._updateGetRawIdx(),o},t.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=pO(this._extent),t._rawExtent=pO(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var n=this._indices.length;e=new t(n);for(var a=0;a<n;a++)e[a]=this._indices[a]}else e=new t(this._indices);return e}return null},t.prototype._getRawIdxIdentity=function(t){return t},t.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,a){return cY(t[a],this._dimensions[a])}CY={arrayRows:t,objectRows:function(t,e,n,a){return cY(t[e],this._dimensions[a])},keyedColumns:t,original:function(t,e,n,a){var r=t&&(null==t.value?t:t.value);return cY(r instanceof Array?r[a]:r,this._dimensions[a])},typedArray:function(t,e,n,a){return t[a]}}}(),t}(),zY=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,a=this._getUpstreamSourceManagers(),r=!!a.length;if(LY(n)){var o=n,i=void 0,l=void 0,s=void 0;if(r){var c=a[0];c.prepareSource(),i=(s=c.getSource()).data,l=s.sourceFormat,e=[c._getVersionSign()]}else l=LO(i=o.get("data",!0))?PB:EB,e=[];var u=this._getSourceMetaRawOption()||{},d=s&&s.metaRawOption||{},p=WO(u.seriesLayoutBy,d.seriesLayoutBy)||null,f=WO(u.sourceHeader,d.sourceHeader)||null,h=WO(u.dimensions,d.dimensions);t=p!==d.seriesLayoutBy||!!f!=!!d.sourceHeader||h?[FV(i,{seriesLayoutBy:p,sourceHeader:f,dimensions:h},l)]:[]}else{var g=n;if(r){var m=this._applyTransform(a);t=m.sourceList,e=m.upstreamSignList}else{t=[FV(g.get("source",!0),this._getSourceMetaRawOption(),null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,a=n.get("transform",!0),r=n.get("fromTransformResult",!0);if(null!=r){1!==t.length&&jY("")}var o,i=[],l=[];return _O(t,(function(t){t.prepareSource();var e=t.getSource(r||0);null==r||e||jY(""),i.push(e),l.push(t._getVersionSign())})),a?e=function(t,e,n){var a=kP(t),r=a.length;r||xP("");for(var o=0,i=r;o<i;o++)e=kY(a[o],e),o!==i-1&&(e.length=Math.max(e.length,1));return e}(a,i,n.componentIndex):null!=r&&(e=[(o=i[0],new LV({data:o.data,sourceFormat:o.sourceFormat,seriesLayoutBy:o.seriesLayoutBy,dimensionsDefine:pO(o.dimensionsDefine),startIndex:o.startIndex,dimensionsDetectedCount:o.dimensionsDetectedCount}))]),{sourceList:e,upstreamSignList:l}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var n=t[e];if(n._isDirty()||this._upstreamSignList[e]!==n._getVersionSign())return!0}},t.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(t)}return e},t.prototype.getSharedDataStore=function(t){var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},t.prototype._innerGetDataStore=function(t,e,n){var a=this._storeList,r=a[0];r||(r=a[0]={});var o=r[n];if(!o){var i=this._getUpstreamSourceManagers()[0];LY(this._sourceHost)&&i?o=i._innerGetDataStore(t,e,n):(o=new AY).initData(new UV(e,t.length),t),r[n]=o}return o},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(LY(t)){var e=YB(t);return e?[e.getSourceManager()]:[]}return kO(function(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?VP(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},FP).models:[]}(t),(function(t){return t.getSourceManager()}))},t.prototype._getSourceMetaRawOption=function(){var t,e,n,a=this._sourceHost;if(LY(a))t=a.get("seriesLayoutBy",!0),e=a.get("sourceHeader",!0),n=a.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var r=a;t=r.get("seriesLayoutBy",!0),e=r.get("sourceHeader",!0),n=r.get("dimensions",!0)}return{seriesLayoutBy:t,sourceHeader:e,dimensions:n}},t}();function RY(t){t.option.transform&&JO(t.option.transform)}function LY(t){return"series"===t.mainType}function jY(t){throw new Error(t)}function FY(t,e){var n=t.color||"#6e7079",a=t.fontSize||12,r=t.fontWeight||"400",o=t.color||"#464646",i=t.fontSize||14,l=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+aB(a+"")+"px;color:"+aB(n)+";font-weight:"+aB(r+""),valueStyle:"font-size:"+aB(i+"")+"px;color:"+aB(o)+";font-weight:"+aB(l+"")}:{nameStyle:{fontSize:a,fill:n,fontWeight:r},valueStyle:{fontSize:i,fill:o,fontWeight:l}}}var BY=[0,10,20,30],VY=["","\n","\n\n","\n\n\n"];function YY(t,e){return e.type=t,e}function HY(t){return aE(WY,t.type)&&WY[t.type]}var WY={section:{planLayout:function(t){var e=t.blocks.length,n=e>1||e>0&&!t.noHeader,a=0;_O(t.blocks,(function(t){HY(t).planLayout(t);var e=t.__gapLevelBetweenSubBlocks;e>=a&&(a=e+(!n||e&&("section"!==t.type||t.noHeader)?0:1))})),t.__gapLevelBetweenSubBlocks=a},build:function(t,e,n,a){var r=e.noHeader,o=GY(e),i=function(t,e,n,a){var r=[],o=e.blocks||[];qO(!o||DO(o)),o=o||[];var i=t.orderMode;if(e.sortBlocks&&i){o=o.slice();var l={valueAsc:"asc",valueDesc:"desc"};if(aE(l,i)){var s=new hY(l[i],null);o.sort((function(t,e){return s.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===i&&o.reverse()}var c=GY(e);if(_O(o,(function(e,n){var o=HY(e).build(t,e,n>0?c.html:0,a);null!=o&&r.push(o)})),!r.length)return;return"richText"===t.renderMode?r.join(c.richText):KY(r.join(""),n)}(t,e,r?n:o.html,a);if(r)return i;var l=rB(e.header,"ordinal",t.useUTC),s=FY(a,t.renderMode).nameStyle;return"richText"===t.renderMode?qY(t,l,s)+o.richText+i:KY('<div style="'+s+";"+'line-height:1;">'+aB(l)+"</div>"+i,n)}},nameValue:{planLayout:function(t){t.__gapLevelBetweenSubBlocks=0},build:function(t,e,n,a){var r=t.renderMode,o=e.noName,i=e.noValue,l=!e.markerType,s=e.name,c=e.value,u=t.useUTC;if(!o||!i){var d=l?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",r),p=o?"":rB(s,"ordinal",u),f=e.valueType,h=i?[]:DO(c)?kO(c,(function(t,e){return rB(t,DO(f)?f[e]:f,u)})):[rB(c,DO(f)?f[0]:f,u)],g=!l||!o,m=!l&&o,b=FY(a,r),v=b.nameStyle,y=b.valueStyle;return"richText"===r?(l?"":d)+(o?"":qY(t,p,v))+(i?"":function(t,e,n,a,r){var o=[r],i=a?10:20;return n&&o.push({padding:[0,0,0,i],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(e.join("  "),o)}(t,h,g,m,y)):KY((l?"":d)+(o?"":function(t,e,n){return'<span style="'+n+";"+(e?"margin-left:2px":"")+'">'+aB(t)+"</span>"}(p,!l,v))+(i?"":function(t,e,n,a){var r=n?"10px":"20px";return'<span style="'+(e?"float:right;margin-left:"+r:"")+";"+a+'">'+kO(t,(function(t){return aB(t)})).join("&nbsp;&nbsp;")+"</span>"}(h,g,m,y)),n)}}}};function UY(t,e,n,a,r,o){if(t){var i=HY(t);i.planLayout(t);var l={useUTC:r,renderMode:n,orderMode:a,markupStyleCreator:e};return i.build(l,t,0,o)}}function GY(t){var e=t.__gapLevelBetweenSubBlocks;return{html:BY[e],richText:VY[e]}}function KY(t,e){return'<div style="'+("margin: "+e+"px 0 0")+";"+'line-height:1;">'+t+'<div style="clear:both"></div></div>'}function qY(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function XY(t,e){return cB(t.getData().getItemVisual(e,"style")[t.visualDrawType])}function ZY(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var JY=function(){function t(){this.richTextStyles={},this._nextStyleNameId=bP()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var a="richText"===n?this._generateStyleName():null,r=sB({color:e,type:t,renderMode:n,markerId:a});return PO(r)?r:(this.richTextStyles[a]=r.style,r.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};DO(e)?_O(e,(function(t){return gO(n,t)})):gO(n,e);var a=this._generateStyleName();return this.richTextStyles[a]=n,"{"+a+"|"+t+"}"},t}();function $Y(t){var e,n,a,r,o=t.series,i=t.dataIndex,l=t.multipleSeries,s=o.getData(),c=s.mapDimensionsAll("defaultedTooltip"),u=c.length,d=o.getRawValue(i),p=DO(d),f=XY(o,i);if(u>1||p&&!u){var h=function(t,e,n,a,r){var o=e.getData(),i=SO(t,(function(t,e,n){var a=o.getDimensionInfo(n);return t||a&&!1!==a.tooltip&&null!=a.displayName}),!1),l=[],s=[],c=[];function u(t,e){var n=o.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(i?c.push(YY("nameValue",{markerType:"subItem",markerColor:r,name:n.displayName,value:t,valueType:n.type})):(l.push(t),s.push(n.type)))}return a.length?_O(a,(function(t){u(nY(o,n,t),t)})):_O(t,u),{inlineValues:l,inlineValueTypes:s,blocks:c}}(d,o,i,c,f);e=h.inlineValues,n=h.inlineValueTypes,a=h.blocks,r=h.inlineValues[0]}else if(u){var g=s.getDimensionInfo(c[0]);r=e=nY(s,i,c[0]),n=g.type}else r=e=p?d[0]:d;var m=PP(o),b=m&&o.name||"",v=s.getName(i),y=l?b:v;return YY("section",{header:b,noHeader:l||!m,sortParam:r,blocks:[YY("nameValue",{markerType:"item",markerColor:f,name:y,noName:!XO(y),value:e,valueType:n})].concat(a||[])})}var QY=zP();function tH(t,e){return t.getName(e)||t.getId(e)}var eH=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return d(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=iY({count:aH,reset:rH}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(QY(this).sourceManager=new zY(this)).prepareSource();var a=this.getInitialData(t,n);iH(a,this),this.dataTask.context.data=a,QY(this).dataBeforeProcessed=a,nH(this),this._initSelectedMapFromData(a)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=vB(this),a=n?xB(t):{},r=this.subType;kB.hasClass(r)&&(r+="Series"),fO(t,e.getTheme().get(this.subType)),fO(t,this.getDefaultOption()),SP(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&yB(t,a,n)},e.prototype.mergeOption=function(t,e){t=fO(this.option,t,!0),this.fillDataTextStyle(t.data);var n=vB(this);n&&yB(this.option,t,n);var a=QY(this).sourceManager;a.dirty(),a.prepareSource();var r=this.getInitialData(t,e);iH(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,QY(this).dataBeforeProcessed=r,nH(this),this._initSelectedMapFromData(r)},e.prototype.fillDataTextStyle=function(t){if(t&&!LO(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&SP(t[n],"label",e)},e.prototype.getInitialData=function(t,e){},e.prototype.appendData=function(t){this.getRawData().appendData(t.data)},e.prototype.getData=function(t){var e=sH(this);if(e){var n=e.context.data;return null==t?n:n.getLinkedData(t)}return QY(this).data},e.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},e.prototype.setData=function(t){var e=sH(this);if(e){var n=e.context;n.outputData=t,e!==this.dataTask&&(n.data=t)}QY(this).data=t},e.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return tE(t)},e.prototype.getSourceManager=function(){return QY(this).sourceManager},e.prototype.getSource=function(){return this.getSourceManager().getSource()},e.prototype.getRawData=function(){return QY(this).dataBeforeProcessed},e.prototype.getColorBy=function(){return this.get("colorBy")||"series"},e.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},e.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},e.prototype.formatTooltip=function(t,e,n){return $Y({series:this,dataIndex:t,multipleSeries:e})},e.prototype.isAnimationEnabled=function(){if(XM.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),!!t},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var a=this.ecModel,r=JB.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=a.getColorFromPalette(t,e,n)),r},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n)for(var a=this.getData(e),r=0;r<t.length;r++){var o=tH(a,t[r]);n[o]=!1,this._selectedDataIndicesMap[o]=-1}},e.prototype.toggleSelect=function(t,e){for(var n=[],a=0;a<t.length;a++)n[0]=t[a],this.isSelected(t[a],e)?this.unselect(n,e):this.select(n,e)},e.prototype.getSelectedDataIndices=function(){for(var t=this._selectedDataIndicesMap,e=OO(t),n=[],a=0;a<e.length;a++){var r=t[e[a]];r>=0&&n.push(r)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;return n&&n[tH(this.getData(e),t)]||!1},e.prototype.isUniversalTransitionEnabled=function(){if(this.__universalTransitionEnabled)return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,a,r=this.option.selectedMode,o=e.length;if(r&&o)if("multiple"===r)for(var i=this.option.selectedMap||(this.option.selectedMap={}),l=0;l<o;l++){var s=e[l];i[u=tH(t,s)]=!0,this._selectedDataIndicesMap[u]=t.getRawIndex(s)}else if("single"===r||!0===r){var c=e[o-1],u=tH(t,c);this.option.selectedMap=((n={})[u]=!0,n),this._selectedDataIndicesMap=((a={})[u]=t.getRawIndex(c),a)}},e.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each((function(n){var a=t.getRawDataItem(n);a&&a.selected&&e.push(n)})),e.length>0&&this._innerSelect(t,e)}},e.registerClass=function(t){return kB.registerClass(t)},e.protoInitialize=function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),e}(kB);function nH(t){var e=t.name;PP(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),a=[];return _O(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&a.push(n.displayName)})),a.join(" ")}(t)||e)}function aH(t){return t.model.getRawData().count()}function rH(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),oH}function oH(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function iH(t,e){_O(eE(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,TO(lH,e))}))}function lH(t,e){var n=sH(t);return n&&n.setOutputEnd((e||this).count()),e}function sH(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var a=n.currentTask;if(a){var r=a.agentStubMap;r&&(a=r.get(t.uid))}return a}}xO(eH,rY),xO(eH,JB),ZP(eH,kB);var cH=function(){function t(){this.group=new VI,this.uid=fF("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,a){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,a){},t.prototype.updateLayout=function(t,e,n,a){},t.prototype.updateVisual=function(t,e,n,a){},t.prototype.blurSeries=function(t,e){},t}();function uH(){var t=zP();return function(e){var n=t(e),a=e.pipelineContext,r=!!n.large,o=!!n.progressiveRender,i=n.large=!(!a||!a.large),l=n.progressiveRender=!(!a||!a.progressiveRender);return!(r===i&&o===l)&&"reset"}}qP(cH),tN(cH);var dH=zP(),pH=uH(),fH=function(){function t(){this.group=new VI,this.uid=fF("viewChart"),this.renderTask=iY({plan:mH,reset:bH}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,a){},t.prototype.highlight=function(t,e,n,a){gH(t.getData(),a,"emphasis")},t.prototype.downplay=function(t,e,n,a){gH(t.getData(),a,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,a){this.render(t,e,n,a)},t.prototype.updateLayout=function(t,e,n,a){this.render(t,e,n,a)},t.prototype.updateVisual=function(t,e,n,a){this.render(t,e,n,a)},t.markUpdateMethod=function(t,e){dH(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function hH(t,e,n){t&&("emphasis"===e?iR:lR)(t,n)}function gH(t,e,n){var a=AP(t,e),r=e&&null!=e.highlightKey?function(t){var e=Nz[t];return null==e&&Pz<=32&&(e=Nz[t]=Pz++),e}(e.highlightKey):null;null!=a?_O(kP(a),(function(e){hH(t.getItemGraphicEl(e),n,r)})):t.eachItemGraphicEl((function(t){hH(t,n,r)}))}function mH(t){return pH(t.model)}function bH(t){var e=t.model,n=t.ecModel,a=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,i=t.view,l=r&&dH(r).updateMethod,s=o?"incrementalPrepareRender":l&&i[l]?l:"render";return"render"!==s&&i[s](e,n,a,r),vH[s]}qP(fH),tN(fH);var vH={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},yH="\0__throttleOriginMethod",xH="\0__throttleRate",wH="\0__throttleType";function _H(t,e,n){var a,r,o,i,l,s=0,c=0,u=null;function d(){c=(new Date).getTime(),u=null,t.apply(o,i||[])}e=e||0;var p=function(){for(var t=[],p=0;p<arguments.length;p++)t[p]=arguments[p];a=(new Date).getTime(),o=this,i=t;var f=l||e,h=l||n;l=null,r=a-(h?s:c)-f,clearTimeout(u),h?u=setTimeout(d,f):r>=0?d():u=setTimeout(d,-r),s=a};return p.clear=function(){u&&(clearTimeout(u),u=null)},p.debounceNextCall=function(t){l=t},p}function kH(t,e,n,a){var r=t[e];if(r){var o=r[yH]||r,i=r[wH];if(r[xH]!==n||i!==a){if(null==n||!a)return t[e]=o;(r=t[e]=_H(o,n,"debounce"===a))[yH]=o,r[wH]=a,r[xH]=n}return r}}var SH=zP(),CH={itemStyle:eN(sF,!0),lineStyle:eN(oF,!0)},MH={lineStyle:"stroke",itemStyle:"fill"};function OH(t,e){var n=t.visualStyleMapper||CH[e];return n||(console.warn("Unkown style type '"+e+"'."),CH.itemStyle)}function EH(t,e){var n=t.visualDrawType||MH[e];return n||(console.warn("Unkown style type '"+e+"'."),"fill")}var TH={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),a=t.visualStyleAccessPath||"itemStyle",r=t.getModel(a),o=OH(t,a)(r),i=r.getShallow("decal");i&&(n.setVisual("decal",i),i.dirty=!0);var l=EH(t,a),s=o[l],c=IO(s)?s:null,u="auto"===o.fill||"auto"===o.stroke;if(!o[l]||c||u){var d=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[l]||(o[l]=d,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||"function"==typeof o.fill?d:o.fill,o.stroke="auto"===o.stroke||"function"==typeof o.stroke?d:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",l),!e.isSeriesFiltered(t)&&c)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var a=t.getDataParams(n),r=gO({},o);r[l]=c(a),e.setItemVisual(n,"style",r)}}}},DH=new dF,IH={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),a=t.visualStyleAccessPath||"itemStyle",r=OH(t,a),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[a]){DH.option=n[a];var i=r(DH);gO(t.ensureUniqueItemVisual(e,"style"),i),DH.option.decal&&(t.setItemVisual(e,"decal",DH.option.decal),DH.option.decal.dirty=!0),o in i&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},PH={performRawSeries:!0,overallReset:function(t){var e=tE();t.eachSeries((function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var a=t.type+"-"+n,r=e.get(a);r||(r={},e.set(a,r)),SH(t).scope=r}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),a={},r=e.getData(),o=SH(e).scope,i=e.visualStyleAccessPath||"itemStyle",l=EH(e,i);r.each((function(t){var e=r.getRawIndex(t);a[e]=t})),n.each((function(t){var i=a[t];if(r.getItemVisual(i,"colorFromPalette")){var s=r.ensureUniqueItemVisual(i,"style"),c=n.getName(t)||t+"",u=n.count();s[l]=e.getColorFromPalette(c,o,u)}}))}}))}},NH=Math.PI;var AH=function(){function t(t,e,n,a){this._stageTaskMap=tE(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),a=this._visualHandlers=a.slice(),this._allHandlers=n.concat(a)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),a=n.context,r=!e&&n.progressiveEnabled&&(!a||a.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,o=a&&a.modDataCount;return{step:r,modBy:null!=o?Math.ceil(o/r):null,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),a=t.getData().count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&a>=n.threshold,o=t.get("large")&&a>=t.get("largeThreshold"),i="mod"===t.get("progressiveChunkMode")?a:null;t.pipelineContext=n.context={progressiveRender:r,modDataCount:i,large:o}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=tE();t.eachSeries((function(t){var a=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:a&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(a||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;_O(this._allHandlers,(function(a){var r=t.get(a.uid)||t.set(a.uid,{});qO(!(a.reset&&a.overallReset),""),a.reset&&this._createSeriesStageTask(a,r,e,n),a.overallReset&&this._createOverallStageTask(a,r,e,n)}),this)},t.prototype.prepareView=function(t,e,n,a){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=a,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,a){a=a||{};var r=!1,o=this;function i(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}_O(t,(function(t,l){if(!a.visualType||a.visualType===t.visualType){var s=o._stageTaskMap.get(t.uid),c=s.seriesTaskMap,u=s.overallTask;if(u){var d,p=u.agentStubMap;p.each((function(t){i(a,t)&&(t.dirty(),d=!0)})),d&&u.dirty(),o.updatePayload(u,n);var f=o.getPerformArgs(u,a.block);p.each((function(t){t.perform(f)})),u.perform(f)&&(r=!0)}else c&&c.each((function(l,s){i(a,l)&&l.dirty();var c=o.getPerformArgs(l,a.block);c.skip=!t.performRawSeries&&e.isSeriesFiltered(l.context.model),o.updatePayload(l,n),l.perform(c)&&(r=!0)}))}})),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e=t.dataTask.perform()||e})),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,a){var r=this,o=e.seriesTaskMap,i=e.seriesTaskMap=tE(),l=t.seriesType,s=t.getTargetSeries;function c(e){var l=e.uid,s=i.set(l,o&&o.get(l)||iY({plan:FH,reset:BH,count:HH}));s.context={model:e,ecModel:n,api:a,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,s)}t.createOnAllSeries?n.eachRawSeries(c):l?n.eachRawSeriesByType(l,c):s&&s(n,a).each(c)},t.prototype._createOverallStageTask=function(t,e,n,a){var r=this,o=e.overallTask=e.overallTask||iY({reset:zH});o.context={ecModel:n,api:a,overallReset:t.overallReset,scheduler:r};var i=o.agentStubMap,l=o.agentStubMap=tE(),s=t.seriesType,c=t.getTargetSeries,u=!0,d=!1;function p(t){var e=t.uid,n=l.set(e,i&&i.get(e)||(d=!0,iY({reset:RH,onDirty:jH})));n.context={model:t,overallProgress:u},n.agent=o,n.__block=u,r._pipe(t,n)}qO(!t.createOnAllSeries,""),s?n.eachRawSeriesByType(s,p):c?c(n,a).each(p):(u=!1,_O(n.getSeries(),p)),d&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,a=this._pipelineMap.get(n);!a.head&&(a.head=e),a.tail&&a.tail.pipe(e),a.tail=e,e.__idxInPipeline=a.count++,e.__pipeline=a},t.wrapStageHandler=function(t,e){return IO(t)&&(t={overallReset:t,seriesType:WH(t)}),t.uid=fF("stageHandler"),e&&(t.visualType=e),t},t}();function zH(t){t.overallReset(t.ecModel,t.api,t.payload)}function RH(t){return t.overallProgress&&LH}function LH(){this.agent.dirty(),this.getDownstream().dirty()}function jH(){this.agent&&this.agent.dirty()}function FH(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function BH(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=kP(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?kO(e,(function(t,e){return YH(e)})):VH}var VH=YH(0);function YH(t){return function(e,n){var a=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o<e.end;o++)r.dataEach(a,o);else r&&r.progress&&r.progress(e,a)}}function HH(t){return t.data.count()}function WH(t){UH=null;try{t(GH,KH)}catch(t){}return UH}var UH,GH={},KH={};function qH(t,e){for(var n in e.prototype)t[n]=rE}qH(GH,tV),qH(KH,oV),GH.eachSeriesByType=GH.eachRawSeriesByType=function(t){UH=t},GH.eachComponent=function(t){"series"===t.mainType&&t.subType&&(UH=t.subType)};var XH=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],ZH={color:XH,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],XH]},JH="#B9B8CE",$H="#100C2A",QH=function(){return{axisLine:{lineStyle:{color:JH}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},tW=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],eW={darkMode:!0,color:tW,backgroundColor:$H,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:JH}},textStyle:{color:JH},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:JH}},dataZoom:{borderColor:"#71708A",textStyle:{color:JH},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:JH}},timeline:{lineStyle:{color:JH},label:{color:JH},controlStyle:{color:JH,borderColor:JH}},calendar:{itemStyle:{color:$H},dayLabel:{color:JH},monthLabel:{color:JH},yearLabel:{color:JH}},timeAxis:QH(),logAxis:QH(),valueAxis:QH(),categoryAxis:QH(),line:{symbol:"circle"},graph:{color:tW},gauge:{title:{color:JH},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:JH},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};eW.categoryAxis.splitLine.show=!1;var nW=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},n={},a={};if(PO(t)){var r=KP(t);e.mainType=r.main||null,e.subType=r.sub||null}else{var o=["Index","Name","Id"],i={name:1,dataIndex:1,dataType:1};_O(t,(function(t,r){for(var l=!1,s=0;s<o.length;s++){var c=o[s],u=r.lastIndexOf(c);if(u>0&&u===r.length-c.length){var d=r.slice(0,u);"data"!==d&&(e.mainType=d,e[c.toLowerCase()]=t,l=!0)}}i.hasOwnProperty(r)&&(n[r]=t,l=!0),l||(a[r]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:a}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var a=n.targetEl,r=n.packedEvent,o=n.model,i=n.view;if(!o||!i)return!0;var l=e.cptQuery,s=e.dataQuery;return c(l,o,"mainType")&&c(l,o,"subType")&&c(l,o,"index","componentIndex")&&c(l,o,"name")&&c(l,o,"id")&&c(s,r,"name")&&c(s,r,"dataIndex")&&c(s,r,"dataType")&&(!i.filterForExposedEvent||i.filterForExposedEvent(t,e.otherQuery,a,r));function c(t,e,n,a){return null==t[n]||e[a||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),aW={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){var a=t.get("symbol"),r=t.get("symbolSize"),o=t.get("symbolKeepAspect"),i=t.get("symbolRotate"),l=t.get("symbolOffset"),s=IO(a),c=IO(r),u=IO(i),d=IO(l),p=s||c||u||d,f=!s&&a?a:t.defaultSymbol,h=c?null:r,g=u?null:i,m=d?null:l;if(n.setVisual({legendIcon:t.legendIcon||f,symbol:f,symbolSize:h,symbolKeepAspect:o,symbolRotate:g,symbolOffset:m}),!e.isSeriesFiltered(t))return{dataEach:p?function(e,n){var o=t.getRawValue(n),p=t.getDataParams(n);s&&e.setItemVisual(n,"symbol",a(o,p)),c&&e.setItemVisual(n,"symbolSize",r(o,p)),u&&e.setItemVisual(n,"symbolRotate",i(o,p)),d&&e.setItemVisual(n,"symbolOffset",l(o,p))}:null}}}};function rW(t,e,n){switch(n){case"color":return t.getItemVisual(e,"style")[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,n)}}function oW(t,e){switch(e){case"color":return t.getVisual("style")[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e)}}function iW(t,e,n,a){switch(n){case"color":t.ensureUniqueItemVisual(e,"style")[t.getVisual("drawType")]=a,t.setItemVisual(e,"colorFromPalette",!1);break;case"opacity":t.ensureUniqueItemVisual(e,"style").opacity=a;break;case"symbol":case"symbolSize":case"liftZ":t.setItemVisual(e,n,a)}}function lW(t,e){function n(e,n){var a=[];return e.eachComponent({mainType:"series",subType:t,query:n},(function(t){a.push(t.seriesIndex)})),a}_O([[t+"ToggleSelect","toggleSelect"],[t+"Select","select"],[t+"UnSelect","unselect"]],(function(t){e(t[0],(function(e,a,r){e=gO({},e),r.dispatchAction(gO(e,{type:t[1],seriesIndex:n(a,e)}))}))}))}function sW(t,e,n,a,r){var o=t+e;n.isSilent(o)||a.eachComponent({mainType:"series",subType:"pie"},(function(t){for(var e=t.seriesIndex,a=r.selected,i=0;i<a.length;i++)if(a[i].seriesIndex===e){var l=t.getData(),s=AP(l,r.fromActionPayload);n.trigger(o,{type:o,seriesId:t.id,name:DO(s)?l.getName(s[0]):l.getName(s),selected:gO({},t.option.selectedMap)})}}))}function cW(t,e,n){for(var a;t&&(!e(t)||(a=t,!n));)t=t.__hostTarget||t.parent;return a}var uW=Math.round(9*Math.random()),dW="function"==typeof Object.defineProperty,pW=function(){function t(){this._id="__ec_inner_"+uW++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var n=this._guard(t);return dW?Object.defineProperty(n,this._id,{value:e,enumerable:!1,configurable:!0}):n[this._id]=e,this},t.prototype.delete=function(t){return!!this.has(t)&&(delete this._guard(t)[this._id],!0)},t.prototype.has=function(t){return!!this._guard(t)[this._id]},t.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},t}(),fW=pW,hW=nz.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,a=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,a-o),t.lineTo(n+r,a+o),t.lineTo(n-r,a+o),t.closePath()}}),gW=nz.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,a=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,a-o),t.lineTo(n+r,a),t.lineTo(n,a+o),t.lineTo(n-r,a),t.closePath()}}),mW=nz.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,a=e.y,r=e.width/5*3,o=Math.max(r,e.height),i=r/2,l=i*i/(o-i),s=a-o+i+l,c=Math.asin(l/i),u=Math.cos(c)*i,d=Math.sin(c),p=Math.cos(c),f=.6*i,h=.7*i;t.moveTo(n-u,s+l),t.arc(n,s,i,Math.PI-c,2*Math.PI+c),t.bezierCurveTo(n+u-d*f,s+l+p*f,n,a-h,n,a),t.bezierCurveTo(n,a-h,n-u+d*f,s+l+p*f,n-u,s+l),t.closePath()}}),bW=nz.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,a=e.width,r=e.x,o=e.y,i=a/3*2;t.moveTo(r,o),t.lineTo(r+i,o+n),t.lineTo(r,o+n/4*3),t.lineTo(r-i,o+n),t.lineTo(r,o),t.closePath()}}),vW={line:function(t,e,n,a,r){r.x1=t,r.y1=e+a/2,r.x2=t+n,r.y2=e+a/2},rect:function(t,e,n,a,r){r.x=t,r.y=e,r.width=n,r.height=a},roundRect:function(t,e,n,a,r){r.x=t,r.y=e,r.width=n,r.height=a,r.r=Math.min(n,a)/4},square:function(t,e,n,a,r){var o=Math.min(n,a);r.x=t,r.y=e,r.width=o,r.height=o},circle:function(t,e,n,a,r){r.cx=t+n/2,r.cy=e+a/2,r.r=Math.min(n,a)/2},diamond:function(t,e,n,a,r){r.cx=t+n/2,r.cy=e+a/2,r.width=n,r.height=a},pin:function(t,e,n,a,r){r.x=t+n/2,r.y=e+a/2,r.width=n,r.height=a},arrow:function(t,e,n,a,r){r.x=t+n/2,r.y=e+a/2,r.width=n,r.height=a},triangle:function(t,e,n,a,r){r.cx=t+n/2,r.cy=e+a/2,r.width=n,r.height=a}},yW={};_O({line:DL,rect:bz,roundRect:bz,square:bz,circle:ZR,diamond:gW,pin:mW,arrow:bW,triangle:hW},(function(t,e){yW[e]=new t}));var xW=nz.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var a=EI(t,e,n),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===e.position&&(a.y=n.y+.4*n.height),a},buildPath:function(t,e,n){var a=e.symbolType;if("none"!==a){var r=yW[a];r||(r=yW[a="rect"]),vW[a](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,n)}}});function wW(t,e){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff",n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=t:n.fill=t,this.markRedraw()}}function _W(t,e,n,a,r,o,i){var l,s=0===t.indexOf("empty");return s&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(l=0===t.indexOf("image://")?wj(t.slice(8),new bI(e,n,a,r),i?"center":"cover"):0===t.indexOf("path://")?xj(t.slice(7),{},new bI(e,n,a,r),i?"center":"cover"):new xW({shape:{symbolType:t,x:e,y:n,width:a,height:r}})).__isEmptyBrush=s,l.setColor=wW,o&&l.setColor(o),l}function kW(t){return DO(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}function SW(t,e){if(null!=t)return DO(t)||(t=[t,t]),[JI(t[0],e[0])||0,JI(WO(t[1],t[0]),e[1])||0]}function CW(t,e,n){for(var a="radial"===e.type?function(t,e,n){var a=n.width,r=n.height,o=Math.min(a,r),i=null==e.x?.5:e.x,l=null==e.y?.5:e.y,s=null==e.r?.5:e.r;return e.global||(i=i*a+n.x,l=l*r+n.y,s*=o),t.createRadialGradient(i,l,0,i,l,s)}(t,e,n):function(t,e,n){var a=null==e.x?0:e.x,r=null==e.x2?1:e.x2,o=null==e.y?0:e.y,i=null==e.y2?0:e.y2;return e.global||(a=a*n.width+n.x,r=r*n.width+n.x,o=o*n.height+n.y,i=i*n.height+n.y),a=isNaN(a)?0:a,r=isNaN(r)?1:r,o=isNaN(o)?0:o,i=isNaN(i)?0:i,t.createLinearGradient(a,o,r,i)}(t,e,n),r=e.colorStops,o=0;o<r.length;o++)a.addColorStop(r[o].offset,r[o].color);return a}function MW(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!0;return!1}function OW(t,e){return t&&"solid"!==t&&e>0?(e=e||1,"dashed"===t?[4*e,2*e]:"dotted"===t?[e]:AO(t)?[t]:DO(t)?t:null):null}var EW=new zA(!0);function TW(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function DW(t){return"string"==typeof t&&"none"!==t}function IW(t){var e=t.fill;return null!=e&&"none"!==e}function PW(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function NW(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function AW(t,e,n){var a=iN(e.image,e.__image,n);if(sN(a)){var r=t.createPattern(a,e.repeat||"repeat");if("function"==typeof DOMMatrix&&r.setTransform){var o=new DOMMatrix;o.rotateSelf(0,0,(e.rotation||0)/Math.PI*180),o.scaleSelf(e.scaleX||1,e.scaleY||1),o.translateSelf(e.x||0,e.y||0),r.setTransform(o)}return r}}var zW=["shadowBlur","shadowOffsetX","shadowOffsetY"],RW=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function LW(t,e,n,a,r){var o=!1;if(!a&&e===(n=n||{}))return!1;if(a||e.opacity!==n.opacity){o||(BW(t,r),o=!0);var i=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(i)?_N.opacity:i}(a||e.blend!==n.blend)&&(o||(BW(t,r),o=!0),t.globalCompositeOperation=e.blend||_N.blend);for(var l=0;l<zW.length;l++){var s=zW[l];(a||e[s]!==n[s])&&(o||(BW(t,r),o=!0),t[s]=t.dpr*(e[s]||0))}return(a||e.shadowColor!==n.shadowColor)&&(o||(BW(t,r),o=!0),t.shadowColor=e.shadowColor||_N.shadowColor),o}function jW(t,e,n,a,r){var o=VW(e,r.inHover),i=a?null:n&&VW(n,r.inHover)||{};if(o===i)return!1;var l=LW(t,o,i,a,r);if((a||o.fill!==i.fill)&&(l||(BW(t,r),l=!0),DW(o.fill)&&(t.fillStyle=o.fill)),(a||o.stroke!==i.stroke)&&(l||(BW(t,r),l=!0),DW(o.stroke)&&(t.strokeStyle=o.stroke)),(a||o.opacity!==i.opacity)&&(l||(BW(t,r),l=!0),t.globalAlpha=null==o.opacity?1:o.opacity),e.hasStroke()){var s=o.lineWidth/(o.strokeNoScale&&e&&e.getLineScale?e.getLineScale():1);t.lineWidth!==s&&(l||(BW(t,r),l=!0),t.lineWidth=s)}for(var c=0;c<RW.length;c++){var u=RW[c],d=u[0];(a||o[d]!==i[d])&&(l||(BW(t,r),l=!0),t[d]=o[d]||u[1])}return l}function FW(t,e){var n=e.transform,a=t.dpr||1;n?t.setTransform(a*n[0],a*n[1],a*n[2],a*n[3],a*n[4],a*n[5]):t.setTransform(a,0,0,a,0,0)}function BW(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function VW(t,e){return e&&t.__hoverStyle||t.style}function YW(t,e){HW(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function HW(t,e,n,a){var r=e.transform;if(!e.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1))return e.__dirty&=-2,void(e.__isRendered=!1);var o=e.__clipPaths,i=n.prevElClipPaths,l=!1,s=!1;if(i&&!MW(o,i)||(i&&i.length&&(BW(t,n),t.restore(),s=l=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),o&&o.length&&(BW(t,n),t.save(),function(t,e,n){for(var a=!1,r=0;r<t.length;r++){var o=t[r];a=a||o.isZeroArea(),FW(e,o),e.beginPath(),o.buildPath(e,o.shape),e.clip()}n.allClipped=a}(o,t,n),l=!0),n.prevElClipPaths=o),n.allClipped)e.__isRendered=!1;else{e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var c=n.prevEl;c||(s=l=!0);var u,d,p=e instanceof nz&&e.autoBatch&&function(t){var e=IW(t),n=TW(t);return!(t.lineDash||!(+e^+n)||e&&"string"!=typeof t.fill||n&&"string"!=typeof t.stroke||t.strokePercent<1||t.strokeOpacity<1||t.fillOpacity<1)}(e.style);l||(u=r,d=c.transform,u&&d?u[0]!==d[0]||u[1]!==d[1]||u[2]!==d[2]||u[3]!==d[3]||u[4]!==d[4]||u[5]!==d[5]:u||d)?(BW(t,n),FW(t,e)):p||BW(t,n);var f=VW(e,n.inHover);e instanceof nz?(1!==n.lastDrawType&&(s=!0,n.lastDrawType=1),jW(t,e,c,s,n),p&&(n.batchFill||n.batchStroke)||t.beginPath(),function(t,e,n,a){var r=TW(n),o=IW(n),i=n.strokePercent,l=i<1,s=!e.path;e.silent&&!l||!s||e.createPathProxy();var c=e.path||EW;if(!a){var u=n.fill,d=n.stroke,p=o&&!!u.colorStops,f=r&&!!d.colorStops,h=o&&!!u.image,g=r&&!!d.image,m=void 0,b=void 0,v=void 0,y=void 0,x=void 0;(p||f)&&(x=e.getBoundingRect()),p&&(m=e.__dirty?CW(t,u,x):e.__canvasFillGradient,e.__canvasFillGradient=m),f&&(b=e.__dirty?CW(t,d,x):e.__canvasStrokeGradient,e.__canvasStrokeGradient=b),h&&(v=e.__dirty||!e.__canvasFillPattern?AW(t,u,e):e.__canvasFillPattern,e.__canvasFillPattern=v),g&&(y=e.__dirty||!e.__canvasStrokePattern?AW(t,d,e):e.__canvasStrokePattern,e.__canvasStrokePattern=v),p?t.fillStyle=m:h&&(v?t.fillStyle=v:o=!1),f?t.strokeStyle=b:g&&(y?t.strokeStyle=y:r=!1)}var w=n.lineDash&&n.lineWidth>0&&OW(n.lineDash,n.lineWidth),_=n.lineDashOffset,k=!!t.setLineDash,S=e.getGlobalScale();if(c.setScale(S[0],S[1],e.segmentIgnoreThreshold),w){var C=n.strokeNoScale&&e.getLineScale?e.getLineScale():1;C&&1!==C&&(w=kO(w,(function(t){return t/C})),_/=C)}var M=!0;(s||4&e.__dirty||w&&!k&&r)&&(c.setDPR(t.dpr),l?c.setContext(null):(c.setContext(t),M=!1),c.reset(),w&&!k&&(c.setLineDash(w),c.setLineDashOffset(_)),e.buildPath(c,e.shape,a),c.toStatic(),e.pathUpdated()),M&&c.rebuildPath(t,l?i:1),w&&k&&(t.setLineDash(w),t.lineDashOffset=_),a||(n.strokeFirst?(r&&NW(t,n),o&&PW(t,n)):(o&&PW(t,n),r&&NW(t,n))),w&&k&&t.setLineDash([])}(t,e,f,p),p&&(n.batchFill=f.fill||"",n.batchStroke=f.stroke||"")):e instanceof oz?(3!==n.lastDrawType&&(s=!0,n.lastDrawType=3),jW(t,e,c,s,n),function(t,e,n){var a=n.text;if(null!=a&&(a+=""),a){t.font=n.font||yI,t.textAlign=n.textAlign,t.textBaseline=n.textBaseline;var r=void 0;if(t.setLineDash){var o=n.lineDash&&n.lineWidth>0&&OW(n.lineDash,n.lineWidth),i=n.lineDashOffset;if(o){var l=n.strokeNoScale&&e.getLineScale?e.getLineScale():1;l&&1!==l&&(o=kO(o,(function(t){return t/l})),i/=l),t.setLineDash(o),t.lineDashOffset=i,r=!0}}n.strokeFirst?(TW(n)&&t.strokeText(a,n.x,n.y),IW(n)&&t.fillText(a,n.x,n.y)):(IW(n)&&t.fillText(a,n.x,n.y),TW(n)&&t.strokeText(a,n.x,n.y)),r&&t.setLineDash([])}}(t,e,f)):e instanceof cz?(2!==n.lastDrawType&&(s=!0,n.lastDrawType=2),function(t,e,n,a,r){LW(t,VW(e,r.inHover),n&&VW(n,r.inHover),a,r)}(t,e,c,s,n),function(t,e,n){var a=e.__image=iN(n.image,e.__image,e,e.onload);if(a&&sN(a)){var r=n.x||0,o=n.y||0,i=e.getWidth(),l=e.getHeight(),s=a.width/a.height;if(null==i&&null!=l?i=l*s:null==l&&null!=i?l=i/s:null==i&&null==l&&(i=a.width,l=a.height),n.sWidth&&n.sHeight){var c=n.sx||0,u=n.sy||0;t.drawImage(a,c,u,n.sWidth,n.sHeight,r,o,i,l)}else if(n.sx&&n.sy){var d=i-(c=n.sx),p=l-(u=n.sy);t.drawImage(a,c,u,d,p,r,o,i,l)}else t.drawImage(a,r,o,i,l)}}(t,e,f)):e instanceof ej&&(4!==n.lastDrawType&&(s=!0,n.lastDrawType=4),function(t,e,n){var a=e.getDisplayables(),r=e.getTemporalDisplayables();t.save();var o,i,l={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(o=e.getCursor(),i=a.length;o<i;o++){(u=a[o]).beforeBrush&&u.beforeBrush(),u.innerBeforeBrush(),HW(t,u,l,o===i-1),u.innerAfterBrush(),u.afterBrush&&u.afterBrush(),l.prevEl=u}for(var s=0,c=r.length;s<c;s++){var u;(u=r[s]).beforeBrush&&u.beforeBrush(),u.innerBeforeBrush(),HW(t,u,l,s===c-1),u.innerAfterBrush(),u.afterBrush&&u.afterBrush(),l.prevEl=u}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}(t,e,n)),p&&a&&BW(t,n),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}}var WW,UW=new fW,GW=new MT(100),KW=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function qW(t,e){if("none"===t)return null;var n=e.getDevicePixelRatio(),a=e.getZr(),r="svg"===a.painter.type;t.dirty&&UW.delete(t);var o=UW.get(t);if(o)return o;var i=mO(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===i.backgroundColor&&(i.backgroundColor=null);var l={repeat:"repeat"};return function(t){for(var e,o=[n],l=!0,s=0;s<KW.length;++s){var c=i[KW[s]],u=typeof c;if(null!=c&&!DO(c)&&"string"!==u&&"number"!==u&&"boolean"!==u){l=!1;break}o.push(c)}if(l){e=o.join(",")+(r?"-svg":"");var d=GW.get(e);d&&(r?t.svgElement=d:t.image=d)}var p,f=ZW(i.dashArrayX),h=function(t){if(!t||"object"==typeof t&&0===t.length)return[0,0];if("number"==typeof t){var e=Math.ceil(t);return[e,e]}var n=kO(t,(function(t){return Math.ceil(t)}));return t.length%2?n.concat(n):n}(i.dashArrayY),g=XW(i.symbol),m=(w=f,kO(w,(function(t){return JW(t)}))),b=JW(h),v=!r&&bO(),y=r&&a.painter.createSVGElement("g"),x=function(){for(var t=1,e=0,n=m.length;e<n;++e)t=yP(t,m[e]);var a=1;for(e=0,n=g.length;e<n;++e)a=yP(a,g[e].length);t*=a;var r=b*m.length*g.length;return{width:Math.max(1,Math.min(t,i.maxTileWidth)),height:Math.max(1,Math.min(r,i.maxTileHeight))}}();var w;v&&(v.width=x.width*n,v.height=x.height*n,p=v.getContext("2d"));(function(){p&&(p.clearRect(0,0,v.width,v.height),i.backgroundColor&&(p.fillStyle=i.backgroundColor,p.fillRect(0,0,v.width,v.height)));for(var t=0,e=0;e<h.length;++e)t+=h[e];if(t<=0)return;var o=-b,l=0,s=0,c=0;for(;o<x.height;){if(l%2==0){for(var u=s/2%g.length,d=0,m=0,w=0;d<2*x.width;){var _=0;for(e=0;e<f[c].length;++e)_+=f[c][e];if(_<=0)break;if(m%2==0){var k=.5*(1-i.symbolSize),S=d+f[c][m]*k,C=o+h[l]*k,M=f[c][m]*i.symbolSize,O=h[l]*i.symbolSize,E=w/2%g[u].length;T(S,C,M,O,g[u][E])}d+=f[c][m],++w,++m===f[c].length&&(m=0)}++c===f.length&&(c=0)}o+=h[l],++s,++l===h.length&&(l=0)}function T(t,e,o,l,s){var c=r?1:n,u=_W(s,t*c,e*c,o*c,l*c,i.color,i.symbolKeepAspect);r?y.appendChild(a.painter.paintOne(u)):YW(p,u)}})(),l&&GW.put(e,v||y);t.image=v,t.svgElement=y,t.svgWidth=x.width,t.svgHeight=x.height}(l),l.rotation=i.rotation,l.scaleX=l.scaleY=r?1:1/n,UW.set(t,l),t.dirty=!1,l}function XW(t){if(!t||0===t.length)return[["rect"]];if("string"==typeof t)return[[t]];for(var e=!0,n=0;n<t.length;++n)if("string"!=typeof t[n]){e=!1;break}if(e)return XW([t]);var a=[];for(n=0;n<t.length;++n)"string"==typeof t[n]?a.push([t[n]]):a.push(t[n]);return a}function ZW(t){if(!t||0===t.length)return[[0,0]];if("number"==typeof t)return[[r=Math.ceil(t),r]];for(var e=!0,n=0;n<t.length;++n)if("number"!=typeof t[n]){e=!1;break}if(e)return ZW([t]);var a=[];for(n=0;n<t.length;++n)if("number"==typeof t[n]){var r=Math.ceil(t[n]);a.push([r,r])}else{r=kO(t[n],(function(t){return Math.ceil(t)}));r.length%2==1?a.push(r.concat(r)):a.push(r)}return a}function JW(t){for(var e=0,n=0;n<t.length;++n)e+=t[n];return t.length%2==1?2*e:e}function $W(t){PO(t)&&(t=(new DOMParser).parseFromString(t,"text/xml"));var e=t;for(9===e.nodeType&&(e=e.firstChild);"svg"!==e.nodeName.toLowerCase()||1!==e.nodeType;)e=e.nextSibling;return e}var QW={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},tU=OO(QW),eU={"alignment-baseline":"textBaseline","stop-color":"stopColor"},nU=OO(eU),aU=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(t,e){e=e||{};var n=$W(t);if(!n)throw new Error("Illegal svg");this._defsUsePending=[];var a=new VI;this._root=a;var r=[],o=n.getAttribute("viewBox")||"",i=parseFloat(n.getAttribute("width")||e.width),l=parseFloat(n.getAttribute("height")||e.height);isNaN(i)&&(i=null),isNaN(l)&&(l=null),cU(n,a,null,!0,!1);for(var s,c,u=n.firstChild;u;)this._parseNode(u,a,r,null,!1,!1),u=u.nextSibling;if(function(t,e){for(var n=0;n<e.length;n++){var a=e[n];a[0].style[a[1]]=t[a[2]]}}(this._defs,this._defsUsePending),this._defsUsePending=[],o){var d=fU(o);d.length>=4&&(s={x:parseFloat(d[0]||0),y:parseFloat(d[1]||0),width:parseFloat(d[2]),height:parseFloat(d[3])})}if(s&&null!=i&&null!=l&&(c=vU(s,{x:0,y:0,width:i,height:l}),!e.ignoreViewBox)){var p=a;(a=new VI).add(p),p.scaleX=p.scaleY=c.scale,p.x=c.x,p.y=c.y}return e.ignoreRootClip||null==i||null==l||a.setClipPath(new bz({shape:{x:0,y:0,width:i,height:l}})),{root:a,width:i,height:l,viewBoxRect:s,viewBoxTransform:c,named:r}},t.prototype._parseNode=function(t,e,n,a,r,o){var i,l=t.nodeName.toLowerCase(),s=a;if("defs"===l&&(r=!0),"text"===l&&(o=!0),"defs"===l||"switch"===l)i=e;else{if(!r){var c=WW[l];if(c&&aE(WW,l)){i=c.call(this,t,e);var u=t.getAttribute("name");if(u){var d={name:u,namedFrom:null,svgNodeTagLower:l,el:i};n.push(d),"g"===l&&(s=d)}else a&&n.push({name:a.name,namedFrom:a,svgNodeTagLower:l,el:i});e.add(i)}}var p=rU[l];if(p&&aE(rU,l)){var f=p.call(this,t),h=t.getAttribute("id");h&&(this._defs[h]=f)}}if(i&&i.isGroup)for(var g=t.firstChild;g;)1===g.nodeType?this._parseNode(g,i,n,s,r,o):3===g.nodeType&&o&&this._parseText(g,i),g=g.nextSibling},t.prototype._parseText=function(t,e){var n=new oz({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});lU(e,n),cU(t,n,this._defsUsePending,!1,!1),function(t,e){var n=e.__selfStyle;if(n){var a=n.textBaseline,r=a;a&&"auto"!==a?"baseline"===a?r="alphabetic":"before-edge"===a||"text-before-edge"===a?r="top":"after-edge"===a||"text-after-edge"===a?r="bottom":"central"!==a&&"mathematical"!==a||(r="middle"):r="alphabetic",t.style.textBaseline=r}var o=e.__inheritedStyle;if(o){var i=o.textAlign,l=i;i&&("middle"===i&&(l="center"),t.style.textAlign=l)}}(n,e);var a=n.style,r=a.fontSize;r&&r<9&&(a.fontSize=9,n.scaleX*=r/9,n.scaleY*=r/9);var o=(a.fontSize||a.fontFamily)&&[a.fontStyle,a.fontWeight,(a.fontSize||12)+"px",a.fontFamily||"sans-serif"].join(" ");a.font=o;var i=n.getBoundingRect();return this._textX+=i.width,e.add(n),n},t.internalField=void(WW={g:function(t,e){var n=new VI;return lU(e,n),cU(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new bz;return lU(e,n),cU(t,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(t,e){var n=new ZR;return lU(e,n),cU(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,e){var n=new DL;return lU(e,n),cU(t,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(t,e){var n=new QR;return lU(e,n),cU(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(t,e){var n,a=t.getAttribute("points");a&&(n=sU(a));var r=new kL({shape:{points:n||[]},silent:!0});return lU(e,r),cU(t,r,this._defsUsePending,!1,!1),r},polyline:function(t,e){var n,a=t.getAttribute("points");a&&(n=sU(a));var r=new ML({shape:{points:n||[]},silent:!0});return lU(e,r),cU(t,r,this._defsUsePending,!1,!1),r},image:function(t,e){var n=new cz;return lU(e,n),cU(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n.silent=!0,n},text:function(t,e){var n=t.getAttribute("x")||"0",a=t.getAttribute("y")||"0",r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(r),this._textY=parseFloat(a)+parseFloat(o);var i=new VI;return lU(e,i),cU(t,i,this._defsUsePending,!1,!0),i},tspan:function(t,e){var n=t.getAttribute("x"),a=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=a&&(this._textY=parseFloat(a));var r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",i=new VI;return lU(e,i),cU(t,i,this._defsUsePending,!1,!0),this._textX+=parseFloat(r),this._textY+=parseFloat(o),i},path:function(t,e){var n=GR(t.getAttribute("d")||"");return lU(e,n),cU(t,n,this._defsUsePending,!1,!1),n.silent=!0,n}}),t}(),rU={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),n=parseInt(t.getAttribute("y1")||"0",10),a=parseInt(t.getAttribute("x2")||"10",10),r=parseInt(t.getAttribute("y2")||"0",10),o=new WL(e,n,a,r);return oU(t,o),iU(t,o),o},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),n=parseInt(t.getAttribute("cy")||"0",10),a=parseInt(t.getAttribute("r")||"0",10),r=new GL(e,n,a);return oU(t,r),iU(t,r),r}};function oU(t,e){"userSpaceOnUse"===t.getAttribute("gradientUnits")&&(e.global=!0)}function iU(t,e){for(var n=t.firstChild;n;){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var a=n.getAttribute("offset"),r=void 0;r=a&&a.indexOf("%")>0?parseInt(a,10)/100:a?parseFloat(a):0;var o={};bU(n,o,o);var i=o.stopColor||n.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:r,color:i})}n=n.nextSibling}}function lU(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),mO(e.__inheritedStyle,t.__inheritedStyle))}function sU(t){for(var e=fU(t),n=[],a=0;a<e.length;a+=2){var r=parseFloat(e[a]),o=parseFloat(e[a+1]);n.push([r,o])}return n}function cU(t,e,n,a,r){var o=e,i=o.__inheritedStyle=o.__inheritedStyle||{},l={};1===t.nodeType&&(function(t,e){var n=t.getAttribute("transform");if(n){n=n.replace(/,/g," ");var a=[],r=null;n.replace(hU,(function(t,e,n){return a.push(e,n),""}));for(var o=a.length-1;o>0;o-=2){var i=a[o],l=a[o-1],s=fU(i);switch(r=r||[1,0,0,1,0,0],l){case"translate":YD(r,r,[parseFloat(s[0]),parseFloat(s[1]||"0")]);break;case"scale":WD(r,r,[parseFloat(s[0]),parseFloat(s[1]||s[0])]);break;case"rotate":HD(r,r,-parseFloat(s[0])*gU);break;case"skewX":VD(r,[1,0,Math.tan(parseFloat(s[0])*gU),1,0,0],r);break;case"skewY":VD(r,[1,Math.tan(parseFloat(s[0])*gU),0,1,0,0],r);break;case"matrix":r[0]=parseFloat(s[0]),r[1]=parseFloat(s[1]),r[2]=parseFloat(s[2]),r[3]=parseFloat(s[3]),r[4]=parseFloat(s[4]),r[5]=parseFloat(s[5])}}e.setLocalTransform(r)}}(t,e),bU(t,i,l),a||function(t,e,n){for(var a=0;a<tU.length;a++){var r=tU[a];null!=(o=t.getAttribute(r))&&(e[QW[r]]=o)}for(a=0;a<nU.length;a++){var o;r=nU[a];null!=(o=t.getAttribute(r))&&(n[eU[r]]=o)}}(t,i,l)),o.style=o.style||{},null!=i.fill&&(o.style.fill=dU(o,"fill",i.fill,n)),null!=i.stroke&&(o.style.stroke=dU(o,"stroke",i.stroke,n)),_O(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(t){null!=i[t]&&(o.style[t]=parseFloat(i[t]))})),_O(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],(function(t){null!=i[t]&&(o.style[t]=i[t])})),r&&(o.__selfStyle=l),i.lineDash&&(o.style.lineDash=kO(fU(i.lineDash),(function(t){return parseFloat(t)}))),"hidden"!==i.visibility&&"collapse"!==i.visibility||(o.invisible=!0),"none"===i.display&&(o.ignore=!0)}var uU=/^url\(\s*#(.*?)\)/;function dU(t,e,n,a){var r=n&&n.match(uU);if(!r)return"none"===n&&(n=null),n;var o=XO(r[1]);a.push([t,e,o])}var pU=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function fU(t){return t.match(pU)||[]}var hU=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,gU=Math.PI/180;var mU=/([^\s:;]+)\s*:\s*([^:;]+)/g;function bU(t,e,n){var a,r=t.getAttribute("style");if(r)for(mU.lastIndex=0;null!=(a=mU.exec(r));){var o=a[1],i=aE(QW,o)?QW[o]:null;i&&(e[i]=a[2]);var l=aE(eU,o)?eU[o]:null;l&&(n[l]=a[2])}}function vU(t,e){var n=e.width/t.width,a=e.height/t.height,r=Math.min(n,a);return{scale:r,x:-(t.x+t.width/2)*r+(e.x+e.width/2),y:-(t.y+t.height/2)*r+(e.y+e.height/2)}}function yU(t,e){return Math.abs(t-e)<1e-8}function xU(t,e,n){var a=0,r=t[0];if(!r)return!1;for(var o=1;o<t.length;o++){var i=t[o];a+=HA(r[0],r[1],i[0],i[1],e,n),r=i}var l=t[0];return yU(r[0],l[0])&&yU(r[1],l[1])||(a+=HA(r[0],r[1],l[0],l[1],e,n)),0!==a}var wU=[],_U=function(){function t(t){this.name=t}return t.prototype.getCenter=function(){},t}(),kU=function(t){function e(e,n,a){var r=t.call(this,e)||this;if(r.type="geoJSON",r.geometries=n,a)a=[a[0],a[1]];else{var o=r.getBoundingRect();a=[o.x+o.width/2,o.y+o.height/2]}return r._center=a,r}return d(e,t),e.prototype.getBoundingRect=function(){var t=this._rect;if(t)return t;for(var e=Number.MAX_VALUE,n=[e,e],a=[-e,-e],r=[],o=[],i=this.geometries,l=0;l<i.length;l++){if("polygon"===i[l].type)sA(i[l].exterior,r,o),CE(n,n,r),ME(a,a,o)}return 0===l&&(n[0]=n[1]=a[0]=a[1]=0),this._rect=new bI(n[0],n[1],a[0]-n[0],a[1]-n[1])},e.prototype.contain=function(t){var e=this.getBoundingRect(),n=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var a=0,r=n.length;a<r;a++)if("polygon"===n[a].type){var o=n[a].exterior,i=n[a].interiors;if(xU(o,t[0],t[1])){for(var l=0;l<(i?i.length:0);l++)if(xU(i[l],t[0],t[1]))continue t;return!0}}return!1},e.prototype.transformTo=function(t,e,n,a){var r=this.getBoundingRect(),o=r.width/r.height;n?a||(a=n/o):n=o*a;for(var i=new bI(t,e,n,a),l=r.calculateTransform(i),s=this.geometries,c=0;c<s.length;c++)if("polygon"===s[c].type){for(var u=s[c].exterior,d=s[c].interiors,p=0;p<u.length;p++)SE(u[p],u[p],l);for(var f=0;f<(d?d.length:0);f++)for(p=0;p<d[f].length;p++)SE(d[f][p],d[f][p],l)}(r=this._rect).copy(i),this._center=[r.x+r.width/2,r.y+r.height/2]},e.prototype.cloneShallow=function(t){null==t&&(t=this.name);var n=new e(t,this.geometries,this._center);return n._rect=this._rect,n.transformTo=null,n},e.prototype.getCenter=function(){return this._center},e.prototype.setCenter=function(t){this._center=t},e}(_U),SU=function(t){function e(e,n){var a=t.call(this,e)||this;return a.type="geoSVG",a._elOnlyForCalculate=n,a}return d(e,t),e.prototype.getCenter=function(){var t=this._center;return t||(t=this._center=this._calculateCenter()),t},e.prototype._calculateCenter=function(){for(var t=this._elOnlyForCalculate,e=t.getBoundingRect(),n=[e.x+e.width/2,e.y+e.height/2],a=FD(wU),r=t;r&&!r.isGeoSVGGraphicRoot;)VD(a,r.getLocalTransform(),a),r=r.parent;return UD(a,a),SE(n,n,a),n},e}(_U),CU=tE(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),MU=function(){function t(t,e){this.type="geoSVG",this._usedGraphicMap=tE(),this._freedGraphics=[],this._mapName=t,this._parsedXML=$W(e)}return t.prototype.load=function(){var t=this._firstGraphic;if(!t){t=this._firstGraphic=this._buildGraphic(this._parsedXML),this._freedGraphics.push(t),this._boundingRect=this._firstGraphic.boundingRect.clone();var e=function(t){var e=[],n=tE();return _O(t,(function(t){if(null==t.namedFrom){var a=new SU(t.name,t.el);e.push(a),n.set(t.name,a)}})),{regions:e,regionsMap:n}}(t.named),n=e.regions,a=e.regionsMap;this._regions=n,this._regionsMap=a}return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},t.prototype._buildGraphic=function(t){var e,n,a,r;try{qO(null!=(n=(e=t&&(a=t,r={ignoreViewBox:!0,ignoreRootClip:!0},(new aU).parse(a,r))||{}).root))}catch(t){throw new Error("Invalid svg format\n"+t.message)}var o=new VI;o.add(n),o.isGeoSVGGraphicRoot=!0;var i=e.width,l=e.height,s=e.viewBoxRect,c=this._boundingRect;if(!c){var u=void 0,d=void 0,p=void 0,f=void 0;if(null!=i?(u=0,p=i):s&&(u=s.x,p=s.width),null!=l?(d=0,f=l):s&&(d=s.y,f=s.height),null==u||null==d){var h=n.getBoundingRect();null==u&&(u=h.x,p=h.width),null==d&&(d=h.y,f=h.height)}c=this._boundingRect=new bI(u,d,p,f)}if(s){var g=vU(s,c);n.scaleX=n.scaleY=g.scale,n.x=g.x,n.y=g.y}o.setClipPath(new bz({shape:c.plain()}));var m=[];return _O(e.named,(function(t){var e;null!=CU.get(t.svgNodeTagLower)&&(m.push(t),(e=t.el).silent=!1,e.isGroup&&e.traverse((function(t){t.silent=!1})))})),{root:o,boundingRect:c,named:m}},t.prototype.useGraphic=function(t){var e=this._usedGraphicMap,n=e.get(t);return n||(n=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),e.set(t,n),n)},t.prototype.freeGraphic=function(t){var e=this._usedGraphicMap,n=e.get(t);n&&(e.removeKey(t),this._freedGraphics.push(n))},t}();function OU(t,e,n){for(var a=[],r=e[0],o=e[1],i=0;i<t.length;i+=2){var l=t.charCodeAt(i)-64,s=t.charCodeAt(i+1)-64;l=l>>1^-(1&l),s=s>>1^-(1&s),r=l+=r,o=s+=o,a.push([l/n,s/n])}return a}function EU(t,e){return t=function(t){if(!t.UTF8Encoding)return t;var e=t,n=e.UTF8Scale;null==n&&(n=1024);for(var a=e.features,r=0;r<a.length;r++){var o=a[r].geometry;if("Polygon"===o.type)for(var i=o.coordinates,l=0;l<i.length;l++)i[l]=OU(i[l],o.encodeOffsets[l],n);else if("MultiPolygon"===o.type)for(i=o.coordinates,l=0;l<i.length;l++)for(var s=i[l],c=0;c<s.length;c++)s[c]=OU(s[c],o.encodeOffsets[l][c],n)}return e.UTF8Encoding=!1,e}(t),kO(CO(t.features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var n=t.properties,a=t.geometry,r=[];if("Polygon"===a.type){var o=a.coordinates;r.push({type:"polygon",exterior:o[0],interiors:o.slice(1)})}"MultiPolygon"===a.type&&_O(o=a.coordinates,(function(t){t[0]&&r.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})}));var i=new kU(n[e||"name"],r,n.cp);return i.properties=n,i}))}for(var TU=[126,25],DU="南海诸岛",IU=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],PU=0;PU<IU.length;PU++)for(var NU=0;NU<IU[PU].length;NU++)IU[PU][NU][0]/=10.5,IU[PU][NU][1]/=-14,IU[PU][NU][0]+=TU[0],IU[PU][NU][1]+=TU[1];var AU={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};var zU={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};var RU=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];var LU=function(){function t(t,e,n){var a;this.type="geoJSON",this._parsedMap=tE(),this._mapName=t,this._specialAreas=n,this._geoJSON=PO(a=e)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(a):new Function("return ("+a+");")():a}return t.prototype.load=function(t,e){e=e||"name";var n=this._parsedMap.get(e);if(!n){var a=this._parseToRegions(e);n=this._parsedMap.set(e,{regions:a,boundingRect:jU(a)})}var r=tE(),o=[];return _O(n.regions,(function(e){var n=e.name;t&&t.hasOwnProperty(n)&&(e=e.cloneShallow(n=t[n])),o.push(e),r.set(n,e)})),{regions:o,boundingRect:n.boundingRect||new bI(0,0,0,0),regionsMap:r}},t.prototype._parseToRegions=function(t){var e,n=this._mapName,a=this._geoJSON;try{e=a?EU(a,t):[]}catch(t){throw new Error("Invalid geoJson format\n"+t.message)}return function(t,e){if("china"===t){for(var n=0;n<e.length;n++)if(e[n].name===DU)return;e.push(new kU(DU,kO(IU,(function(t){return{type:"polygon",exterior:t}})),TU))}}(n,e),_O(e,(function(t){var e=t.name;!function(t,e){if("china"===t){var n=AU[e.name];if(n){var a=e.getCenter();a[0]+=n[0]/10.5,a[1]+=-n[1]/14,e.setCenter(a)}}}(n,t),function(t,e){if("world"===t){var n=zU[e.name];if(n){var a=[n[0],n[1]];e.setCenter(a)}}}(n,t),function(t,e){"china"===t&&"台湾"===e.name&&e.geometries.push({type:"polygon",exterior:RU[0]})}(n,t);var a=this._specialAreas&&this._specialAreas[e];a&&t.transformTo(a.left,a.top,a.width,a.height)}),this),e},t.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},t}();function jU(t){for(var e,n=0;n<t.length;n++){var a=t[n].getBoundingRect();(e=e||a.clone()).union(a)}return e}var FU=tE(),BU=function(t,e,n){if(e.svg){var a=new MU(t,e.svg);FU.set(t,a)}else{var r=e.geoJson||e.geoJSON;r&&!e.features?n=e.specialAreas:r=e;a=new LU(t,r,n);FU.set(t,a)}},VU=function(t){return FU.get(t)},YU=function(t){var e=FU.get(t);return e&&"geoJSON"===e.type&&e.getMapForUser()},HU=function(t,e,n){var a=FU.get(t);if(a)return a.load(e,n)},WU=new PE,UU="undefined"!=typeof window,GU=2e3,KU=4500,qU={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:GU,CHART:3e3,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:KU,ARIA:6e3,DECAL:7e3}},XU=/^[a-zA-Z0-9_]+$/,ZU="__connectUpdateStatus";function JU(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(!this.isDisposed())return QU(this,t,e);this.id}}function $U(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return QU(this,t,e)}}function QU(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),PE.prototype[e].apply(t,n)}var tG,eG,nG,aG,rG,oG,iG,lG,sG,cG,uG,dG,pG,fG,hG,gG,mG,bG,vG,yG=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e}(PE),xG=yG.prototype;xG.on=$U("on"),xG.off=$U("off");var wG=function(t){function e(e,n,a){var r=t.call(this,new nW)||this;r._chartsViews=[],r._chartsMap={},r._componentsViews=[],r._componentsMap={},r._pendingActions=[],a=a||{},"string"==typeof n&&(n=TG[n]),r._dom=e;var o=r._zr=GI(e,{renderer:a.renderer||"canvas",devicePixelRatio:a.devicePixelRatio,width:a.width,height:a.height,useDirtyRect:null!=a.useDirtyRect&&a.useDirtyRect});r._throttledZrFlush=_H(EO(o.flush,o),17),(n=pO(n))&&DV(n,!0),r._theme=n,r._locale=function(t){if(PO(t)){var e=vF[t.toUpperCase()]||{};return t===gF||t===mF?pO(e):fO(pO(e),pO(vF.EN),!1)}return fO(pO(t),pO(vF.EN),!1)}(a.locale||xF),r._coordSysMgr=new lV;var i=r._api=gG(r);function l(t,e){return t.__prio-e.__prio}return pT(EG,l),pT(MG,l),r._scheduler=new AH(r,i,MG,EG),r._messageCenter=new yG,r._initEvents(),r.resize=EO(r.resize,r),o.animation.on("frame",r._onframe,r),cG(o,r),uG(o,r),JO(r),r}return d(e,t),e.prototype._onframe=function(){if(!this._disposed){vG(this);var t=this._scheduler;if(this.__pendingUpdate){var e=this.__pendingUpdate.silent;this.__flagInMainProcess=!0,tG(this),aG.update.call(this,null,this.__pendingUpdate.updateParams),this._zr.flush(),this.__flagInMainProcess=!1,this.__pendingUpdate=null,lG.call(this,e),sG.call(this,e)}else if(t.unfinished){var n=1,a=this._model,r=this._api;t.unfinished=!1;do{var o=+new Date;t.performSeriesTasks(a),t.performDataProcessorTasks(a),oG(this,a),t.performVisualTasks(a),hG(this,this._model,r,"remain",{}),n-=+new Date-o}while(n>0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.setOption=function(t,e,n){if(this._disposed)this.id;else{var a,r,o;if(zO(e)&&(n=e.lazyUpdate,a=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this.__flagInMainProcess=!0,!this._model||e){var i=new cV(this._api),l=this._theme,s=this._model=new tV;s.scheduler=this._scheduler,s.init(null,null,null,l,this._locale,i)}this._model.setOption(t,{replaceMerge:r},OG);var c={seriesTransition:o,optionChanged:!0};n?(this.__pendingUpdate={silent:a,updateParams:c},this.__flagInMainProcess=!1,this.getZr().wakeUp()):(tG(this),aG.update.call(this,null,c),this._zr.flush(),this.__pendingUpdate=null,this.__flagInMainProcess=!1,lG.call(this,a),sG.call(this,a))}},e.prototype.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||UU&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){if(XM.canvasSupported)return t=t||{},this._zr.painter.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.getSvgDataURL=function(){if(XM.svgSupported){var t=this._zr;return _O(t.storage.getDisplayList(),(function(t){t.stopAnimation(null,!0)})),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(!this._disposed){var e=(t=t||{}).excludeComponents,n=this._model,a=[],r=this;_O(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(a.push(e),e.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return _O(a,(function(t){t.group.ignore=!1})),o}this.id},e.prototype.getConnectedDataURL=function(t){if(this._disposed)this.id;else if(XM.canvasSupported){var e="svg"===t.type,n=this.group,a=Math.min,r=Math.max,o=1/0;if(PG[n]){var i=o,l=o,s=-1/0,c=-1/0,u=[],d=t&&t.pixelRatio||this.getDevicePixelRatio();_O(IG,(function(o,d){if(o.group===n){var p=e?o.getZr().painter.getSvgDom().innerHTML:o.getRenderedCanvas(pO(t)),f=o.getDom().getBoundingClientRect();i=a(f.left,i),l=a(f.top,l),s=r(f.right,s),c=r(f.bottom,c),u.push({dom:p,left:f.left,top:f.top})}}));var p=(s*=d)-(i*=d),f=(c*=d)-(l*=d),h=bO(),g=GI(h,{renderer:e?"svg":"canvas"});if(g.resize({width:p,height:f}),e){var m="";return _O(u,(function(t){var e=t.left-i,n=t.top-l;m+='<g transform="translate('+e+","+n+')">'+t.dom+"</g>"})),g.painter.getSvgRoot().innerHTML=m,t.connectedBackgroundColor&&g.painter.setBackgroundColor(t.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()}return t.connectedBackgroundColor&&g.add(new bz({shape:{x:0,y:0,width:p,height:f},style:{fill:t.connectedBackgroundColor}})),_O(u,(function(t){var e=new cz({style:{x:t.left*d-i,y:t.top*d-l,image:t.dom}});g.add(e)})),g.refreshImmediately(),h.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},e.prototype.convertToPixel=function(t,e){return rG(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return rG(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){var n;if(!this._disposed)return _O(LP(this._model,t),(function(t,a){a.indexOf("Models")>=0&&_O(t,(function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===a){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}}),this)}),this),!!n;this.id},e.prototype.getVisual=function(t,e){var n=LP(this._model,t,{defaultMainType:"series"}),a=n.seriesModel.getData(),r=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?a.indexOfRawIndex(n.dataIndex):null;return null!=r?rW(a,r,e):oW(a,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t=this;_O(kG,(function(e){var n=function(n){var a,r=t.getModel(),o=n.target;if("globalout"===e?a={}:o&&cW(o,(function(t){var e=Dz(t);if(e&&null!=e.dataIndex){var n=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return a=n&&n.getDataParams(e.dataIndex,e.dataType)||{},!0}if(e.eventData)return a=gO({},e.eventData),!0}),!0),a){var i=a.componentType,l=a.componentIndex;"markLine"!==i&&"markPoint"!==i&&"markArea"!==i||(i="series",l=a.seriesIndex);var s=i&&null!=l&&r.getComponent(i,l),c=s&&t["series"===s.mainType?"_chartsMap":"_componentsMap"][s.__viewId];a.event=n,a.type=e,t._$eventProcessor.eventInfo={targetEl:o,packedEvent:a,model:s,view:c},t.trigger(e,a)}};n.zrEventfulCallAtLast=!0,t._zr.on(e,n,t)})),_O(CG,(function(e,n){t._messageCenter.on(n,(function(t){this.trigger(n,t)}),t)})),_O(["selectchanged"],(function(e){t._messageCenter.on(e,(function(t){this.trigger(e,t)}),t)})),function(t,e,n){t.on("selectchanged",(function(t){var a=n.getModel();t.isFromClick?(sW("map","selectchanged",e,a,t),sW("pie","selectchanged",e,a,t)):"select"===t.fromAction?(sW("map","selected",e,a,t),sW("pie","selected",e,a,t)):"unselect"===t.fromAction&&(sW("map","unselected",e,a,t),sW("pie","unselected",e,a,t))}))}(this._messageCenter,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)this.id;else{this._disposed=!0,YP(this.getDom(),zG,"");var t=this,e=t._api,n=t._model;_O(t._componentsViews,(function(t){t.dispose(n,e)})),_O(t._chartsViews,(function(t){t.dispose(n,e)})),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete IG[t.id]}},e.prototype.resize=function(t){if(this._disposed)this.id;else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),a=t&&t.silent;this.__pendingUpdate&&(null==a&&(a=this.__pendingUpdate.silent),n=!0,this.__pendingUpdate=null),this.__flagInMainProcess=!0,n&&tG(this),aG.update.call(this,{type:"resize",animation:gO({duration:0},t&&t.animation)}),this.__flagInMainProcess=!1,lG.call(this,a),sG.call(this,a)}}},e.prototype.showLoading=function(t,e){if(this._disposed)this.id;else if(zO(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),DG[t]){var n=DG[t](this._api,e),a=this._zr;this._loadingFX=n,a.add(n)}},e.prototype.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=gO({},t);return e.type=CG[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)this.id;else if(zO(e)||(e={silent:!!e}),SG[t.type]&&this._model)if(this.__flagInMainProcess)this._pendingActions.push(t);else{var n=e.silent;iG.call(this,t,n);var a=e.flush;a?this._zr.flush():!1!==a&&XM.browser.weChat&&this._throttledZrFlush(),lG.call(this,n),sG.call(this,n)}},e.prototype.updateLabelLayout=function(){WU.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)this.id;else{var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},e.internalField=function(){function t(t){for(var e=[],n=t.currentStates,a=0;a<n.length;a++){var r=n[a];"emphasis"!==r&&"blur"!==r&&"select"!==r&&e.push(r)}t.selected&&t.states.select&&e.push("select"),2===t.hoverState&&t.states.emphasis?e.push("emphasis"):1===t.hoverState&&t.states.blur&&e.push("blur"),t.useStates(e)}function e(t,e){t.preventAutoZ||n(e.group,t.get("z")||0,t.get("zlevel")||0,-1/0)}function n(t,e,a,r){var o=t.getTextContent(),i=t.getTextGuideLine();if(t.isGroup)for(var l=t.childrenRef(),s=0;s<l.length;s++)r=Math.max(n(l[s],e,a,r),r);else t.z=e,t.zlevel=a,r=Math.max(t.z2,r);if(o&&(o.z=e,o.zlevel=a,isFinite(r)&&(o.z2=r+2)),i){var c=t.textGuideLineConfig;i.z=e,i.zlevel=a,isFinite(r)&&(i.z2=r+(c&&c.showAbove?1:-1))}return r}function a(t,e){e.group.traverse((function(t){if(!lj(t)){var e=t.getTextContent(),n=t.getTextGuideLine();t.stateTransition&&(t.stateTransition=null),e&&e.stateTransition&&(e.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),t.hasState()?(t.prevStates=t.currentStates,t.clearStates()):t.prevStates&&(t.prevStates=null)}}))}function r(e,n){var a=e.getModel("stateAnimation"),r=e.isAnimationEnabled(),o=a.get("duration"),i=o>0?{duration:o,delay:a.get("delay"),easing:a.get("easing")}:null;n.group.traverse((function(e){if(e.states&&e.states.emphasis){if(lj(e))return;if(e instanceof nz&&function(t){var e=Az(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}(e),e.__dirty){var n=e.prevStates;n&&e.useStates(n)}if(r){e.stateTransition=i;var a=e.getTextContent(),o=e.getTextGuideLine();a&&(a.stateTransition=i),o&&(o.stateTransition=i)}e.__dirty&&t(e)}}))}tG=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),eG(t,!0),eG(t,!1),e.plan()},eG=function(t,e){for(var n=t._model,a=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,i=t._zr,l=t._api,s=0;s<r.length;s++)r[s].__alive=!1;function c(t){var s=t.__requireNewView;t.__requireNewView=!1;var c="_ec_"+t.id+"_"+t.type,u=!s&&o[c];if(!u){var d=KP(t.type);(u=new(e?cH.getClass(d.main,d.sub):fH.getClass(d.sub))).init(n,l),o[c]=u,r.push(u),i.add(u.group)}t.__viewId=u.__id=c,u.__alive=!0,u.__model=t,u.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},!e&&a.prepareView(u,t,n,l)}e?n.eachComponent((function(t,e){"series"!==t&&c(e)})):n.eachSeries(c);for(s=0;s<r.length;){var u=r[s];u.__alive?s++:(!e&&u.renderTask.dispose(),i.remove(u.group),u.dispose(n,l),r.splice(s,1),o[u.__id]===u&&delete o[u.__id],u.__id=u.group.__ecComponentInfo=null)}},nG=function(t,e,n,a,r){var o=t._model;if(o.setUpdatePayload(n),a){var i={};i[a+"Id"]=n[a+"Id"],i[a+"Index"]=n[a+"Index"],i[a+"Name"]=n[a+"Name"];var l={mainType:a,query:i};r&&(l.subType=r);var s,c=n.excludeSeriesId;null!=c&&(s=tE(),_O(kP(c),(function(t){var e=IP(t,null);null!=e&&s.set(e,!0)}))),OR(n)&&fR(t._api),o&&o.eachComponent(l,(function(e){if(!(s&&null!==s.get(e.id)))if(OR(n))if(e instanceof eH)n.type!==jz||n.notBlur||function(t,e,n){var a=t.seriesIndex,r=t.getData(e.dataType),o=AP(r,e);o=(DO(o)?o[0]:o)||0;var i=r.getItemGraphicEl(o);if(!i)for(var l=r.count(),s=0;!i&&s<l;)i=r.getItemGraphicEl(s++);if(i){var c=Dz(i);hR(a,c.focus,c.blurScope,n)}else{var u=t.get(["emphasis","focus"]),d=t.get(["emphasis","blurScope"]);null!=u&&hR(a,u,d,n)}}(e,n,t._api);else{var a=mR(e.mainType,e.componentIndex,n.name,t._api),r=a.focusSelf,o=a.dispatchers;n.type===jz&&r&&!n.notBlur&&gR(e.mainType,e.componentIndex,t._api),o&&_O(o,(function(t){n.type===jz?iR(t):lR(t)}))}else MR(n)&&e instanceof eH&&(!function(t,e,n){if(MR(e)){var a=e.dataType,r=AP(t.getData(a),e);DO(r)||(r=[r]),t[e.type===Yz?"toggleSelect":e.type===Bz?"select":"unselect"](r,a)}}(e,n,t._api),bR(e),bG(t))}),t),o&&o.eachComponent(l,(function(e){s&&null!==s.get(e.id)||u(t["series"===a?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else _O([].concat(t._componentsViews).concat(t._chartsViews),u);function u(a){a&&a.__alive&&a[e]&&a[e](a.__model,o,t._api,n)}},aG={prepareAndUpdate:function(t){tG(this),aG.update.call(this,t,{optionChanged:null!=t.newOption})},update:function(t,e){var n=this._model,a=this._api,r=this._zr,o=this._coordSysMgr,i=this._scheduler;if(n){n.setUpdatePayload(t),i.restoreData(n,t),i.performSeriesTasks(n),o.create(n,a),i.performDataProcessorTasks(n,t),oG(this,n),o.update(n,a),dG(n),i.performVisualTasks(n,t),pG(this,n,a,t,e);var l=n.get("backgroundColor")||"transparent",s=n.get("darkMode");if(XM.canvasSupported)r.setBackgroundColor(l),null!=s&&"auto"!==s&&r.setDarkMode(s);else{var c=FT(l);l=XT(c,"rgb"),0===c[3]&&(l="transparent")}WU.trigger("afterupdate",n,a)}},updateTransform:function(t){var e=this,n=this._model,a=this._api;if(n){n.setUpdatePayload(t);var r=[];n.eachComponent((function(o,i){if("series"!==o){var l=e.getViewOfComponentModel(i);if(l&&l.__alive)if(l.updateTransform){var s=l.updateTransform(i,n,a,t);s&&s.update&&r.push(l)}else r.push(l)}}));var o=tE();n.eachSeries((function(r){var i=e._chartsMap[r.__viewId];if(i.updateTransform){var l=i.updateTransform(r,n,a,t);l&&l.update&&o.set(r.uid,1)}else o.set(r.uid,1)})),dG(n),this._scheduler.performVisualTasks(n,t,{setDirty:!0,dirtyMap:o}),hG(this,n,a,t,{},o),WU.trigger("afterupdate",n,a)}},updateView:function(t){var e=this._model;e&&(e.setUpdatePayload(t),fH.markUpdateMethod(t,"updateView"),dG(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),pG(this,e,this._api,t,{}),WU.trigger("afterupdate",e,this._api))},updateVisual:function(t){var e=this,n=this._model;n&&(n.setUpdatePayload(t),n.eachSeries((function(t){t.getData().clearAllVisual()})),fH.markUpdateMethod(t,"updateVisual"),dG(n),this._scheduler.performVisualTasks(n,t,{visualType:"visual",setDirty:!0}),n.eachComponent((function(a,r){if("series"!==a){var o=e.getViewOfComponentModel(r);o&&o.__alive&&o.updateVisual(r,n,e._api,t)}})),n.eachSeries((function(a){e._chartsMap[a.__viewId].updateVisual(a,n,e._api,t)})),WU.trigger("afterupdate",n,this._api))},updateLayout:function(t){aG.update.call(this,t)}},rG=function(t,e,n,a){if(t._disposed)t.id;else for(var r,o=t._model,i=t._coordSysMgr.getCoordinateSystems(),l=LP(o,n),s=0;s<i.length;s++){var c=i[s];if(c[e]&&null!=(r=c[e](o,l,a)))return r}},oG=function(t,e){var n=t._chartsMap,a=t._scheduler;e.eachSeries((function(t){a.updateStreamModes(t,n[t.__viewId])}))},iG=function(t,e){var n=this,a=this.getModel(),r=t.type,o=t.escapeConnect,i=SG[r],l=i.actionInfo,s=(l.update||"update").split(":"),c=s.pop(),u=null!=s[0]&&KP(s[0]);this.__flagInMainProcess=!0;var d=[t],p=!1;t.batch&&(p=!0,d=kO(t.batch,(function(e){return(e=mO(gO({},e),t)).batch=null,e})));var f,h=[],g=MR(t),m=OR(t);if(_O(d,(function(e){if((f=(f=i.action(e,n._model,n._api))||gO({},e)).type=l.event||f.type,h.push(f),m){var a=jP(t),r=a.queryOptionMap,o=a.mainTypeSpecified?r.keys()[0]:"series";nG(n,c,e,o),bG(n)}else g?(nG(n,c,e,"series"),bG(n)):u&&nG(n,c,e,u.main,u.sub)})),"none"===c||m||g||u||(this.__pendingUpdate?(tG(this),aG.update.call(this,t),this.__pendingUpdate=null):aG[c].call(this,t)),f=p?{type:l.event||r,escapeConnect:o,batch:h}:h[0],this.__flagInMainProcess=!1,!e){var b=this._messageCenter;if(b.trigger(f.type,f),g){var v={type:"selectchanged",escapeConnect:o,selected:vR(a),isFromClick:t.isFromClick||!1,fromAction:t.type,fromActionPayload:t};b.trigger(v.type,v)}}},lG=function(t){for(var e=this._pendingActions;e.length;){var n=e.shift();iG.call(this,n,t)}},sG=function(t){!t&&this.trigger("updated")},cG=function(t,e){t.on("rendered",(function(n){e.trigger("rendered",n),!t.animation.isFinished()||e.__pendingUpdate||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")}))},uG=function(t,e){t.on("mouseover",(function(t){var n=cW(t.target,CR);n&&(!function(t,e,n){var a=Dz(t),r=mR(a.componentMainType,a.componentIndex,a.componentHighDownName,n),o=r.dispatchers,i=r.focusSelf;o?(i&&gR(a.componentMainType,a.componentIndex,n),_O(o,(function(t){return rR(t,e)}))):(hR(a.seriesIndex,a.focus,a.blurScope,n),"self"===a.focus&&gR(a.componentMainType,a.componentIndex,n),rR(t,e))}(n,t,e._api),bG(e))})).on("mouseout",(function(t){var n=cW(t.target,CR);n&&(!function(t,e,n){fR(n);var a=Dz(t),r=mR(a.componentMainType,a.componentIndex,a.componentHighDownName,n).dispatchers;r?_O(r,(function(t){return oR(t,e)})):oR(t,e)}(n,t,e._api),bG(e))})).on("click",(function(t){var n=cW(t.target,(function(t){return null!=Dz(t).dataIndex}),!0);if(n){var a=n.selected?"unselect":"select",r=Dz(n);e._api.dispatchAction({type:a,dataType:r.dataType,dataIndexInside:r.dataIndex,seriesIndex:r.seriesIndex,isFromClick:!0})}}))},dG=function(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))},pG=function(t,e,n,a,r){fG(t,e,n,a,r),_O(t._chartsViews,(function(t){t.__alive=!1})),hG(t,e,n,a,r),_O(t._chartsViews,(function(t){t.__alive||t.remove(e,n)}))},fG=function(t,n,o,i,l,s){_O(s||t._componentsViews,(function(t){var l=t.__model;a(l,t),t.render(l,n,o,i),e(l,t),r(l,t)}))},hG=function(t,n,o,i,l,s){var c=t._scheduler;l=gO(l||{},{updatedSeries:n.getSeries()}),WU.trigger("series:beforeupdate",n,o,l);var u=!1;n.eachSeries((function(e){var n=t._chartsMap[e.__viewId];n.__alive=!0;var r=n.renderTask;c.updatePayload(r,i),a(e,n),s&&s.get(e.uid)&&r.dirty(),r.perform(c.getPerformArgs(r))&&(u=!0),n.group.silent=!!e.get("silent"),function(t,e){var n=t.get("blendMode")||null;e.group.traverse((function(t){t.isGroup||(t.style.blend=n),t.eachPendingDisplayable&&t.eachPendingDisplayable((function(t){t.style.blend=n}))}))}(e,n),bR(e)})),c.unfinished=u||c.unfinished,WU.trigger("series:layoutlabels",n,o,l),WU.trigger("series:transition",n,o,l),n.eachSeries((function(n){var a=t._chartsMap[n.__viewId];e(n,a),r(n,a)})),function(t,e){var n=t._zr.storage,a=0;n.traverse((function(t){t.isGroup||a++})),a>e.get("hoverLayerThreshold")&&!XM.node&&!XM.worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.group.traverse((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}(t,n),WU.trigger("series:afterupdate",n,o,l)},bG=function(t){t.__needsUpdateStatus=!0,t.getZr().wakeUp()},vG=function(e){e.__needsUpdateStatus&&(e.getZr().storage.traverse((function(e){lj(e)||t(e)})),e.__needsUpdateStatus=!1)},gG=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return d(n,e),n.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},n.prototype.enterEmphasis=function(e,n){iR(e,n),bG(t)},n.prototype.leaveEmphasis=function(e,n){lR(e,n),bG(t)},n.prototype.enterBlur=function(e){sR(e),bG(t)},n.prototype.leaveBlur=function(e){cR(e),bG(t)},n.prototype.enterSelect=function(e){uR(e),bG(t)},n.prototype.leaveSelect=function(e){dR(e),bG(t)},n.prototype.getModel=function(){return t.getModel()},n.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},n.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},n}(oV))(t)},mG=function(t){function e(t,e){for(var n=0;n<t.length;n++){t[n][ZU]=e}}_O(CG,(function(n,a){t._messageCenter.on(a,(function(n){if(PG[t.group]&&0!==t[ZU]){if(n&&n.escapeConnect)return;var a=t.makeActionFromEvent(n),r=[];_O(IG,(function(e){e!==t&&e.group===t.group&&r.push(e)})),e(r,0),_O(r,(function(t){1!==t[ZU]&&t.dispatchAction(a)})),e(r,2)}}))}))}}(),e}(PE),_G=wG.prototype;_G.on=JU("on"),_G.off=JU("off"),_G.one=function(t,e,n){var a=this;this.on.call(this,t,(function n(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];e&&e.apply&&e.apply(this,r),a.off(t,n)}),n)};var kG=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];var SG={},CG={},MG=[],OG=[],EG=[],TG={},DG={},IG={},PG={},NG=+new Date-0,AG=+new Date-0,zG="_echarts_instance_";function RG(t,e,n){var a=FG(t);if(a)return a;var r=new wG(t,e,n);return r.id="ec_"+NG++,IG[r.id]=r,YP(t,zG,r.id),mG(r),WU.trigger("afterinit",r),r}function LG(t){PG[t]=!1}var jG=LG;function FG(t){return IG[function(t,e){return t.getAttribute?t.getAttribute(e):t[e]}(t,zG)]}function BG(t,e){TG[t]=e}function VG(t){vO(OG,t)<0&&OG.push(t)}function YG(t,e){JG(MG,t,e,2e3)}function HG(t){UG("afterinit",t)}function WG(t){UG("afterupdate",t)}function UG(t,e){WU.on(t,e)}function GG(t,e,n){"function"==typeof e&&(n=e,e="");var a=zO(t)?t.type:[t,t={event:e}][0];t.event=(t.event||a).toLowerCase(),e=t.event,CG[e]||(qO(XU.test(a)&&XU.test(e)),SG[a]||(SG[a]={action:n,actionInfo:t}),CG[e]=a)}function KG(t,e){lV.register(t,e)}function qG(t,e){JG(EG,t,e,1e3,"layout")}function XG(t,e){JG(EG,t,e,3e3,"visual")}var ZG=[];function JG(t,e,n,a,r){if((IO(e)||zO(e))&&(n=e,e=a),!(vO(ZG,n)>=0)){ZG.push(n);var o=AH.wrapStageHandler(n,r);o.__prio=e,o.__raw=n,t.push(o)}}function $G(t,e){DG[t]=e}function QG(t,e,n){BU(t,e,n)}var tK=function(t){var e=(t=pO(t)).type;e||xP("");var n=e.split(":");2!==n.length&&xP("");var a=!1;"echarts"===n[0]&&(e=n[1],a=!0),t.__isBuiltIn=a,_Y.set(e,t)};XG(GU,TH),XG(KU,IH),XG(KU,PH),XG(GU,aW),XG(KU,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(t.hasSymbolVisual&&!e.isSeriesFiltered(t))return{dataEach:t.getData().hasItemOption?function(t,e){var n=t.getItemModel(e),a=n.getShallow("symbol",!0),r=n.getShallow("symbolSize",!0),o=n.getShallow("symbolRotate",!0),i=n.getShallow("symbolOffset",!0),l=n.getShallow("symbolKeepAspect",!0);null!=a&&t.setItemVisual(e,"symbol",a),null!=r&&t.setItemVisual(e,"symbolSize",r),null!=o&&t.setItemVisual(e,"symbolRotate",o),null!=i&&t.setItemVisual(e,"symbolOffset",i),null!=l&&t.setItemVisual(e,"symbolKeepAspect",l)}:null}}}),XG(7e3,(function(t,e){t.eachRawSeries((function(n){if(!t.isSeriesFiltered(n)){var a=n.getData();a.hasItemVisual()&&a.each((function(t){var n=a.getItemVisual(t,"decal");n&&(a.ensureUniqueItemVisual(t,"style").decal=qW(n,e))}));var r=a.getVisual("decal");if(r)a.getVisual("style").decal=qW(r,e)}}))})),VG(DV),YG(900,(function(t){var e=tE();t.eachSeries((function(t){var n=t.get("stack");if(n){var a=e.get(n)||e.set(n,[]),r=t.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;a.length&&r.setCalculationInfo("stackedOnSeries",a[a.length-1].seriesModel),a.push(o)}})),e.each(IV)})),$G("default",(function(t,e){mO(e=e||{},{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new VI,a=new bz({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(a);var r,o=new Tz({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),i=new bz({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(i),e.showSpinner&&((r=new jL({shape:{startAngle:-NH/2,endAngle:-NH/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*NH/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*NH/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=o.getBoundingRect().width,l=e.showSpinner?e.spinnerRadius:0,s=(t.getWidth()-2*l-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:l),c=t.getHeight()/2;e.showSpinner&&r.setShape({cx:s,cy:c}),i.setShape({x:s-l,y:c-l,width:2*l,height:2*l}),a.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n})),GG({type:jz,event:jz,update:jz},rE),GG({type:Fz,event:Fz,update:Fz},rE),GG({type:Bz,event:Bz,update:Bz},rE),GG({type:Vz,event:Vz,update:Vz},rE),GG({type:Yz,event:Yz,update:Yz},rE),BG("light",ZH),BG("dark",eW);function eK(t){return null==t?0:t.length||1}function nK(t){return t}var aK=function(){function t(t,e,n,a,r,o){this._old=t,this._new=e,this._oldKeyGetter=n||nK,this._newKeyGetter=a||nK,this.context=r,this._diffModeMultiple="multiple"===o}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},a=new Array(t.length),r=new Array(e.length);this._initIndexMap(t,null,a,"_oldKeyGetter"),this._initIndexMap(e,n,r,"_newKeyGetter");for(var o=0;o<t.length;o++){var i=a[o],l=n[i],s=eK(l);if(s>1){var c=l.shift();1===l.length&&(n[i]=l[0]),this._update&&this._update(c,o)}else 1===s?(n[i]=null,this._update&&this._update(l,o)):this._remove&&this._remove(o)}this._performRestAdd(r,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},a={},r=[],o=[];this._initIndexMap(t,n,r,"_oldKeyGetter"),this._initIndexMap(e,a,o,"_newKeyGetter");for(var i=0;i<r.length;i++){var l=r[i],s=n[l],c=a[l],u=eK(s),d=eK(c);if(u>1&&1===d)this._updateManyToOne&&this._updateManyToOne(c,s),a[l]=null;else if(1===u&&d>1)this._updateOneToMany&&this._updateOneToMany(c,s),a[l]=null;else if(1===u&&1===d)this._update&&this._update(c,s),a[l]=null;else if(u>1&&d>1)this._updateManyToMany&&this._updateManyToMany(c,s),a[l]=null;else if(u>1)for(var p=0;p<u;p++)this._remove&&this._remove(s[p]);else this._remove&&this._remove(s)}this._performRestAdd(o,a)},t.prototype._performRestAdd=function(t,e){for(var n=0;n<t.length;n++){var a=t[n],r=e[a],o=eK(r);if(o>1)for(var i=0;i<o;i++)this._add&&this._add(r[i]);else 1===o&&this._add&&this._add(r);e[a]=null}},t.prototype._initIndexMap=function(t,e,n,a){for(var r=this._diffModeMultiple,o=0;o<t.length;o++){var i="_ec_"+this[a](t[o],o);if(r||(n[o]=i),e){var l=e[i],s=eK(l);0===s?(e[i]=o,r&&n.push(i)):1===s?e[i]=[l,o]:l.push(o)}}},t}(),rK=function(){function t(t,e){this._encode=t,this._schema=e}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function oK(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function iK(t){return"category"===t?"ordinal":"time"===t?"time":"float"}var lK=function(t){this.otherDims={},null!=t&&gO(this,t)},sK=zP(),cK={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},uK=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=fK(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return WO(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=WV(this.source),n=!hK(t),a="",r=[],o=0,i=0;o<t;o++){var l=void 0,s=void 0,c=void 0,u=this.dimensions[i];if(u&&u.storeDimIndex===o)l=e?u.name:null,s=u.type,c=u.ordinalMeta,i++;else{var d=this.getSourceDimension(o);d&&(l=e?d.name:null,s=d.type)}r.push({property:l,type:s,ordinalMeta:c}),!e||null==l||u&&u.isCalculationCoord||(a+=n?l.replace(/\`/g,"`1").replace(/\$/g,"`2"):l),a+="$",a+=cK[s]||"f",c&&(a+=c.uid),a+="$"}var p=this.source;return{dimensions:r,hash:[p.seriesLayoutBy,p.startIndex,a].join("$$")}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var a=void 0,r=this.dimensions[n];if(r&&r.storeDimIndex===e)r.isCalculationCoord||(a=r.name),n++;else{var o=this.getSourceDimension(e);o&&(a=o.name)}t.push(a)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function dK(t){return t instanceof uK}function pK(t){for(var e=tE(),n=0;n<(t||[]).length;n++){var a=t[n],r=zO(a)?a.name:a;null!=r&&null==e.get(r)&&e.set(r,n)}return e}function fK(t){var e=sK(t);return e.dimNameMap||(e.dimNameMap=pK(t.dimensionsDefine))}function hK(t){return t>30}var gK,mK,bK,vK,yK,xK,wK,_K=zO,kK=kO,SK="undefined"==typeof Int32Array?Array:Int32Array,CK=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],MK=["_approximateExtent"],OK=function(){function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var a=!1;dK(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(a=!0,n=t),n=n||["x","y"];for(var r={},o=[],i={},l=!1,s={},c=0;c<n.length;c++){var u=n[c],d=PO(u)?new lK({name:u}):u instanceof lK?u:new lK(u),p=d.name;d.type=d.type||"float",d.coordDim||(d.coordDim=p,d.coordDimIndex=0);var f=d.otherDims=d.otherDims||{};o.push(p),r[p]=d,null!=s[p]&&(l=!0),d.createInvertedIndices&&(i[p]=[]),0===f.itemName&&(this._nameDimIdx=c),0===f.itemId&&(this._idDimIdx=c),a&&(d.storeDimIndex=c)}if(this.dimensions=o,this._dimInfos=r,this._initGetDimensionInfo(l),this.hostModel=e,this._invertedIndicesMap=i,this._dimOmitted){var h=this._dimIdxToName=tE();_O(o,(function(t){h.set(r[t].storeDimIndex,t)}))}}return t.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(null==e)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var n=this._dimIdxToName.get(e);if(null!=n)return n;var a=this._schema.getSourceDimension(e);return a?a.name:void 0},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return-1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if("number"==typeof t||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0))return+t},t.prototype._getStoreDimIndex=function(t){return this.getDimensionIndex(t)},t.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},t.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(t){return e.hasOwnProperty(t)?e[t]:void 0}:function(t){return e[t]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(t,e){var n=this._dimSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var a=n.encode[t];return a?a[e]:null},t.prototype.mapDimensionsAll=function(t){return(this._dimSummary.encode[t]||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,n){var a,r=this;if(t instanceof AY&&(a=t),!a){var o=this.dimensions,i=jV(t)||wO(t)?new UV(t,o.length):t;a=new AY;var l=kK(o,(function(t){return{type:r._dimInfos[t].type,property:t}}));a.initData(i,l,n)}this._store=a,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,a.count()),this._dimSummary=function(t,e){var n={},a=n.encode={},r=tE(),o=[],i=[],l={};_O(t.dimensions,(function(e){var n,s=t.getDimensionInfo(e),c=s.coordDim;if(c){var u=s.coordDimIndex;oK(a,c)[u]=e,s.isExtraCoord||(r.set(c,1),"ordinal"!==(n=s.type)&&"time"!==n&&(o[0]=e),oK(l,c)[u]=t.getDimensionIndex(s.name)),s.defaultTooltip&&i.push(e)}OB.each((function(t,e){var n=oK(a,e),r=s.otherDims[e];null!=r&&!1!==r&&(n[r]=s.name)}))}));var s=[],c={};r.each((function(t,e){var n=a[e];c[e]=n[0],s=s.concat(n)})),n.dataDimsOnCoord=s,n.dataDimIndicesOnCoord=kO(s,(function(e){return t.getDimensionInfo(e).storeDimIndex})),n.encodeFirstDimNotExtra=c;var u=a.label;u&&u.length&&(o=u.slice());var d=a.tooltip;return d&&d.length?i=d.slice():i.length||(i=o.slice()),a.defaultedLabel=o,a.defaultedTooltip=i,n.userOutput=new rK(l,e),n}(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},t.prototype.appendValues=function(t,e){var n=this._store.appendValues(t,e.length),a=n.start,r=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var i=a;i<r;i++){var l=i-a;this._nameList[i]=e[l],o&&wK(this,i)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,n=0;n<e.length;n++){var a=this._dimInfos[e[n]];a.ordinalMeta&&t.collectOrdinalMeta(a.storeDimIndex,a.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==PB&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var a=this._nameList,r=this._idList;if(n.getSource().sourceFormat===EB&&!n.pure)for(var o=[],i=t;i<e;i++){var l=n.getItem(i,o);if(!this.hasItemOption&&OP(l)&&(this.hasItemOption=!0),l){var s=l.name;null==a[i]&&null!=s&&(a[i]=IP(s,null));var c=l.id;null==r[i]&&null!=c&&(r[i]=IP(c,null))}}if(this._shouldMakeIdFromName())for(i=t;i<e;i++)wK(this,i);gK(this)}},t.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},t.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},t.prototype.setCalculationInfo=function(t,e){_K(t)?gO(this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getName=function(t){var e=this.getRawIndex(t),n=this._nameList[e];return null==n&&null!=this._nameDimIdx&&(n=bK(this,this._nameDimIdx,e)),null==n&&(n=""),n},t.prototype._getCategory=function(t,e){var n=this._store.get(t,e),a=this._store.getOrdinalMeta(t);return a?a.categories[n]:n},t.prototype.getId=function(t){return mK(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var n=this._store,a=this._dimInfos[t];if(a)return n.get(a.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var n=this._store,a=this._dimInfos[t];if(a)return n.getByRawIndex(a.storeDimIndex,e)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},t.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},t.prototype.getValues=function(t,e){var n=this,a=this._store;return DO(t)?a.getValues(kK(t,(function(t){return n._getStoreDimIndex(t)})),e):a.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,n=0,a=e.length;n<a;n++)if(isNaN(this._store.get(e[n],t)))return!1;return!0},t.prototype.indexOfName=function(t){for(var e=0,n=this._store.count();e<n;e++)if(this.getName(e)===t)return e;return-1},t.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},t.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},t.prototype.rawIndexOf=function(t,e){var n=(t&&this._invertedIndicesMap[t])[e];return null==n||isNaN(n)?-1:n},t.prototype.indicesOfNearest=function(t,e,n){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,n)},t.prototype.each=function(t,e,n){"function"==typeof t&&(n=e,e=t,t=[]);var a=n||this,r=kK(vK(t),this._getStoreDimIndex,this);this._store.each(r,a?EO(e,a):e)},t.prototype.filterSelf=function(t,e,n){"function"==typeof t&&(n=e,e=t,t=[]);var a=n||this,r=kK(vK(t),this._getStoreDimIndex,this);return this._store=this._store.filter(r,a?EO(e,a):e),this},t.prototype.selectRange=function(t){var e=this,n={};return _O(OO(t),(function(a){var r=e._getStoreDimIndex(a);n[r]=t[a]})),this._store=this._store.selectRange(n),this},t.prototype.mapArray=function(t,e,n){"function"==typeof t&&(n=e,e=t,t=[]),n=n||this;var a=[];return this.each(t,(function(){a.push(e&&e.apply(this,arguments))}),n),a},t.prototype.map=function(t,e,n,a){var r=n||a||this,o=kK(vK(t),this._getStoreDimIndex,this),i=xK(this);return i._store=this._store.map(o,r?EO(e,r):e),i},t.prototype.modify=function(t,e,n,a){var r=n||a||this,o=kK(vK(t),this._getStoreDimIndex,this);this._store.modify(o,r?EO(e,r):e)},t.prototype.downSample=function(t,e,n,a){var r=xK(this);return r._store=this._store.downSample(this._getStoreDimIndex(t),e,n,a),r},t.prototype.lttbDownSample=function(t,e){var n=xK(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),n},t.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},t.prototype.getItemModel=function(t){var e=this.hostModel,n=this.getRawDataItem(t);return new dF(n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new aK(t?t.getStore().getIndices():[],this.getStore().getIndices(),(function(e){return mK(t,e)}),(function(t){return mK(e,t)}))},t.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},t.prototype.setVisual=function(t,e){this._visual=this._visual||{},_K(t)?gO(this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var n=this._itemVisuals[t],a=n&&n[e];return null==a?this.getVisual(e):a},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,a=n[t];a||(a=n[t]={});var r=a[e];return null==r&&(DO(r=this.getVisual(e))?r=r.slice():_K(r)&&(r=gO({},r)),a[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var a=this._itemVisuals[t]||{};this._itemVisuals[t]=a,_K(e)?gO(a,e):a[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){if(_K(t))for(var n in t)t.hasOwnProperty(n)&&this.setLayout(n,t[n]);else this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?gO(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;Iz(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){_O(this._graphicEls,(function(n,a){n&&t&&t.call(e,n,a)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:kK(this.dimensions,this._getDimInfo,this),this.hostModel)),yK(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];"function"==typeof n&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(GO(arguments)))})},t.internalField=(gK=function(t){var e=t._invertedIndicesMap;_O(e,(function(n,a){var r=t._dimInfos[a],o=r.ordinalMeta,i=t._store;if(o){n=e[a]=new SK(o.categories.length);for(var l=0;l<n.length;l++)n[l]=-1;for(l=0;l<i.count();l++)n[i.get(r.storeDimIndex,l)]=l}}))},bK=function(t,e,n){return IP(t._getCategory(e,n),null)},mK=function(t,e){var n=t._idList[e];return null==n&&null!=t._idDimIdx&&(n=bK(t,t._idDimIdx,e)),null==n&&(n="e\0\0"+e),n},vK=function(t){return DO(t)||(t=null!=t?[t]:[]),t},xK=function(e){var n=new t(e._schema?e._schema:kK(e.dimensions,e._getDimInfo,e),e.hostModel);return yK(n,e),n},yK=function(t,e){_O(CK.concat(e.__wrappedMethods||[]),(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t.__wrappedMethods=e.__wrappedMethods,_O(MK,(function(n){t[n]=pO(e[n])})),t._calculationInfo=gO({},e._calculationInfo)},void(wK=function(t,e){var n=t._nameList,a=t._idList,r=t._nameDimIdx,o=t._idDimIdx,i=n[e],l=a[e];if(null==i&&null!=r&&(n[e]=i=bK(t,r,e)),null==l&&null!=o&&(a[e]=l=bK(t,o,e)),null==l&&null!=i){var s=t._nameRepeatCount,c=s[i]=(s[i]||0)+1;l=i,c>1&&(l+="__ec__"+c),a[e]=l}})),t}();function EK(t,e){jV(t)||(t=BV(t));var n=(e=e||{}).coordDimensions||[],a=e.dimensionsDefine||t.dimensionsDefine||[],r=tE(),o=[],i=function(t,e,n,a){var r=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,a||0);return _O(e,(function(t){var e;zO(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))})),r}(t,n,a,e.dimensionsCount),l=e.canOmitUnusedDimensions&&hK(i),s=a===t.dimensionsDefine,c=s?fK(t):pK(a),u=e.encodeDefine;!u&&e.encodeDefaulter&&(u=e.encodeDefaulter(t,i));for(var d=tE(u),p=new TY(i),f=0;f<p.length;f++)p[f]=-1;function h(t){var e=p[t];if(e<0){var n=a[t],r=zO(n)?n:{name:n},i=new lK,l=r.name;null!=l&&null!=c.get(l)&&(i.name=i.displayName=l),null!=r.type&&(i.type=r.type),null!=r.displayName&&(i.displayName=r.displayName);var s=o.length;return p[t]=s,i.storeDimIndex=t,o.push(i),i}return o[e]}if(!l)for(f=0;f<i;f++)h(f);d.each((function(t,e){var n=kP(t).slice();if(1===n.length&&!PO(n[0])&&n[0]<0)d.set(e,!1);else{var a=d.set(e,[]);_O(n,(function(t,n){var r=PO(t)?c.get(t):t;null!=r&&r<i&&(a[n]=r,m(h(r),e,n))}))}}));var g=0;function m(t,e,n){null!=OB.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,r.set(e,!0))}_O(n,(function(t){var e,n,a,r;if(PO(t))e=t,r={};else{e=(r=t).name;var o=r.ordinalMeta;r.ordinalMeta=null,(r=gO({},r)).ordinalMeta=o,n=r.dimsDef,a=r.otherDims,r.name=r.coordDim=r.coordDimIndex=r.dimsDef=r.otherDims=null}var l=d.get(e);if(!1!==l){if(!(l=kP(l)).length)for(var c=0;c<(n&&n.length||1);c++){for(;g<i&&null!=h(g).coordDim;)g++;g<i&&l.push(g++)}_O(l,(function(t,o){var i=h(t);if(s&&null!=r.type&&(i.type=r.type),m(mO(i,r),e,o),null==i.name&&n){var l=n[o];!zO(l)&&(l={name:l}),i.name=i.displayName=l.name,i.defaultTooltip=l.defaultTooltip}a&&mO(i.otherDims,a)}))}}));var b=e.generateCoord,v=e.generateCoordCount,y=null!=v;v=b?v||1:0;var x=b||"value";function w(t){null==t.name&&(t.name=t.coordDim)}if(l)_O(o,(function(t){w(t)})),o.sort((function(t,e){return t.storeDimIndex-e.storeDimIndex}));else for(var _=0;_<i;_++){var k=h(_);null==k.coordDim&&(k.coordDim=TK(x,r,y),k.coordDimIndex=0,(!b||v<=0)&&(k.isExtraCoord=!0),v--),w(k),null!=k.type||HB(t,_)!==RB&&(!k.isExtraCoord||null==k.otherDims.itemName&&null==k.otherDims.seriesName)||(k.type="ordinal")}return function(t){for(var e=tE(),n=0;n<t.length;n++){var a=t[n],r=a.name,o=e.get(r)||0;o>0&&(a.name=r+(o-1)),o++,e.set(r,o)}}(o),new uK({source:t,dimensions:o,fullDimensionCount:i,dimensionOmitted:l})}function TK(t,e,n){var a=e.data;if(n||a.hasOwnProperty(t)){for(var r=0;a.hasOwnProperty(t+r);)r++;t+=r}return e.set(t,!0),t}var DK=function(t){this.coordSysDims=[],this.axisMap=tE(),this.categoryAxisMap=tE(),this.coordSysName=t};var IK={cartesian2d:function(t,e,n,a){var r=t.getReferringComponents("xAxis",FP).models[0],o=t.getReferringComponents("yAxis",FP).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),PK(r)&&(a.set("x",r),e.firstCategoryDimIndex=0),PK(o)&&(a.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,a){var r=t.getReferringComponents("singleAxis",FP).models[0];e.coordSysDims=["single"],n.set("single",r),PK(r)&&(a.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,a){var r=t.getReferringComponents("polar",FP).models[0],o=r.findAxisModel("radiusAxis"),i=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",i),PK(o)&&(a.set("radius",o),e.firstCategoryDimIndex=0),PK(i)&&(a.set("angle",i),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,a){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,a){var r=t.ecModel,o=r.getComponent("parallel",t.get("parallelIndex")),i=e.coordSysDims=o.dimensions.slice();_O(o.parallelAxisIndex,(function(t,o){var l=r.getComponent("parallelAxis",t),s=i[o];n.set(s,l),PK(l)&&(a.set(s,l),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=o))}))}};function PK(t){return"category"===t.get("type")}function NK(t,e,n){var a,r,o,i=(n=n||{}).byIndex,l=n.stackedCoordDimension;!function(t){return!dK(t.schema)}(e)?(r=e.schema,a=r.dimensions,o=e.store):a=e;var s,c,u,d,p=!(!t||!t.get("stack"));if(_O(a,(function(t,e){PO(t)&&(a[e]=t={name:t}),p&&!t.isExtraCoord&&(i||s||!t.ordinalMeta||(s=t),c||"ordinal"===t.type||"time"===t.type||l&&l!==t.coordDim||(c=t))})),!c||i||s||(i=!0),c){u="__\0ecstackresult_"+t.id,d="__\0ecstackedover_"+t.id,s&&(s.createInvertedIndices=!0);var f=c.coordDim,h=c.type,g=0;_O(a,(function(t){t.coordDim===f&&g++}));var m={name:u,coordDim:f,coordDimIndex:g,type:h,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},b={name:d,coordDim:d,coordDimIndex:g+1,type:h,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};r?(o&&(m.storeDimIndex=o.ensureCalculationDimension(d,h),b.storeDimIndex=o.ensureCalculationDimension(u,h)),r.appendCalculationDimension(m),r.appendCalculationDimension(b)):(a.push(m),a.push(b))}return{stackedDimension:c&&c.name,stackedByDimension:s&&s.name,isStackedByIndex:i,stackedOverDimension:d,stackResultDimension:u}}function AK(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function zK(t,e){return AK(t,e)?t.getCalculationInfo("stackResultDimension"):e}function RK(t,e,n){n=n||{};var a,r=e.getSourceManager(),o=!1;t?(o=!0,a=BV(t)):o=(a=r.getSource()).sourceFormat===EB;var i=function(t){var e=t.get("coordinateSystem"),n=new DK(e),a=IK[e];if(a)return a(t,n,n.axisMap,n.categoryAxisMap),n}(e),l=function(t,e){var n,a=t.get("coordinateSystem"),r=lV.get(a);return e&&e.coordSysDims&&(n=kO(e.coordSysDims,(function(t){var n={name:t},a=e.axisMap.get(t);if(a){var r=a.get("type");n.type=iK(r)}return n}))),n||(n=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),n}(e,i),s=n.useEncodeDefaulter,c=IO(s)?s:s?TO(BB,l,e):null,u=EK(a,{coordDimensions:l,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:c,canOmitUnusedDimensions:!o}),d=function(t,e,n){var a,r;return n&&_O(t,(function(t,o){var i=t.coordDim,l=n.categoryAxisMap.get(i);l&&(null==a&&(a=o),t.ordinalMeta=l.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(r=!0)})),r||null==a||(t[a].otherDims.itemName=0),a}(u.dimensions,n.createInvertedIndices,i),p=o?null:r.getSharedDataStore(u),f=NK(e,{schema:u,store:p}),h=new OK(u,e);h.setCalculationInfo(f);var g=null!=d&&function(t){if(t.sourceFormat===EB){var e=function(t){var e=0;for(;e<t.length&&null==t[e];)e++;return t[e]}(t.data||[]);return null!=e&&!DO(MP(e))}}(a)?function(t,e,n,a){return a===d?n:this.defaultDimValueGetter(t,e,n,a)}:null;return h.hasItemOption=!1,h.initData(o?a:p,null,g),h}var LK=function(){function t(t){this._setting=t||{},this._extent=[1/0,-1/0]}return t.prototype.getSetting=function(t){return this._setting[t]},t.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();tN(LK);var jK=0,FK=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++jK}return t.createByAxisModel=function(e){var n=e.option,a=n.data,r=a&&kO(a,BK);return new t({categories:r,needCollect:!r,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if("string"!=typeof t&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var a=this._getOrCreateMap();return null==(e=a.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,a.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=tE(this.categories))},t}();function BK(t){return zO(t)&&null!=t.value?t.value:t+""}var VK=$I;function YK(t,e,n,a){var r={},o=t[1]-t[0],i=r.interval=pP(o/e,!0);null!=n&&i<n&&(i=r.interval=n),null!=a&&i>a&&(i=r.interval=a);var l=r.intervalPrecision=HK(i);return function(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),WK(t,0,e),WK(t,1,e),t[0]>t[1]&&(t[0]=t[1])}(r.niceTickExtent=[VK(Math.ceil(t[0]/i)*i,l),VK(Math.floor(t[1]/i)*i,l)],t),r}function HK(t){return tP(t)+2}function WK(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function UK(t,e){return t>=e[0]&&t<=e[1]}function GK(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function KK(t,e){return t*(e[1]-e[0])+e[0]}var qK=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var a=n.getSetting("ordinalMeta");return a||(a=new FK({})),DO(a)&&(a=new FK({categories:kO(a,(function(t){return zO(t)?t.value:t}))})),n._ordinalMeta=a,n._extent=n.getSetting("extent")||[0,a.categories.length-1],n}return d(e,t),e.prototype.parse=function(t){return"string"==typeof t?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return UK(t=this.parse(t),this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return GK(t=this._getTickNumber(this.parse(t)),this._extent)},e.prototype.scale=function(t){return t=Math.round(KK(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],a=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,i=Math.min(o,e.length);r<i;++r){var l=e[r];n[r]=l,a[l]=r}for(var s=0;r<o;++r){for(;null!=a[s];)s++;n.push(s),a[s]=r}}else this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null},e.prototype._getTickNumber=function(t){var e=this._ticksByOrdinalNumber;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getRawOrdinalNumber=function(t){var e=this._ordinalNumbersByTick;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getLabel=function(t){if(!this.isBlank()){var e=this.getRawOrdinalNumber(t.value),n=this._ordinalMeta.categories[e];return null==n?"":n+""}},e.prototype.count=function(){return this._extent[1]-this._extent[0]+1},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.isInExtentRange=function(t){return t=this._getTickNumber(t),this._extent[0]<=t&&this._extent[1]>=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.niceTicks=function(){},e.prototype.niceExtent=function(){},e.type="ordinal",e}(LK);LK.registerClass(qK);var XK=$I,ZK=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return d(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return UK(t,this._extent)},e.prototype.normalize=function(t){return GK(t,this._extent)},e.prototype.scale=function(t){return KK(t,this._extent)},e.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=HK(t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,a=this._niceExtent,r=this._intervalPrecision,o=[];if(!e)return o;n[0]<a[0]&&(t?o.push({value:XK(a[0]-e,r)}):o.push({value:n[0]}));for(var i=a[0];i<=a[1]&&(o.push({value:i}),(i=XK(i+e,r))!==o[o.length-1].value);)if(o.length>1e4)return[];var l=o.length?o[o.length-1].value:a[1];return n[1]>l&&(t?o.push({value:XK(l+e,r)}):o.push({value:n[1]})),o},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],a=this.getExtent(),r=1;r<e.length;r++){for(var o=e[r],i=e[r-1],l=0,s=[],c=(o.value-i.value)/t;l<t-1;){var u=XK(i.value+(l+1)*c);u>a[0]&&u<a[1]&&s.push(u),l++}n.push(s)}return n},e.prototype.getLabel=function(t,e){if(null==t)return"";var n=e&&e.precision;return null==n?n=tP(t.value)||0:"auto"===n&&(n=this._intervalPrecision),$F(XK(t.value,n,!0))},e.prototype.niceTicks=function(t,e,n){t=t||5;var a=this._extent,r=a[1]-a[0];if(isFinite(r)){r<0&&(r=-r,a.reverse());var o=YK(a,t,e,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},e.prototype.niceExtent=function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var n=e[0];t.fixMax||(e[1]+=n/2),e[0]-=n/2}else e[1]=1;var a=e[1]-e[0];isFinite(a)||(e[0]=0,e[1]=1),this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var r=this._interval;t.fixMin||(e[0]=XK(Math.floor(e[0]/r)*r)),t.fixMax||(e[1]=XK(Math.ceil(e[1]/r)*r))},e.type="interval",e}(LK);LK.registerClass(ZK);var JK="__ec_stack_",$K="undefined"!=typeof Float32Array?Float32Array:Array;function QK(t){return t.get("stack")||JK+t.seriesIndex}function tq(t){return t.dim+t.index}function eq(t,e){var n=[];return e.eachSeriesByType(t,(function(t){lq(t)&&!sq(t)&&n.push(t)})),n}function nq(t){var e=function(t){var e={};_O(t,(function(t){var n=t.coordinateSystem.getBaseAxis();if("time"===n.type||"value"===n.type)for(var a=t.getData(),r=n.dim+"_"+n.index,o=a.getDimensionIndex(a.mapDimension(n.dim)),i=a.getStore(),l=0,s=i.count();l<s;++l){var c=i.get(o,l);e[r]?e[r].push(c):e[r]=[c]}}));var n={};for(var a in e)if(e.hasOwnProperty(a)){var r=e[a];if(r){r.sort((function(t,e){return t-e}));for(var o=null,i=1;i<r.length;++i){var l=r[i]-r[i-1];l>0&&(o=null===o?l:Math.min(o,l))}n[a]=o}}return n}(t),n=[];return _O(t,(function(t){var a,r=t.coordinateSystem.getBaseAxis(),o=r.getExtent();if("category"===r.type)a=r.getBandWidth();else if("value"===r.type||"time"===r.type){var i=r.dim+"_"+r.index,l=e[i],s=Math.abs(o[1]-o[0]),c=r.scale.getExtent(),u=Math.abs(c[1]-c[0]);a=l?s/u*l:s}else{var d=t.getData();a=Math.abs(o[1]-o[0])/d.count()}var p=JI(t.get("barWidth"),a),f=JI(t.get("barMaxWidth"),a),h=JI(t.get("barMinWidth")||1,a),g=t.get("barGap"),m=t.get("barCategoryGap");n.push({bandWidth:a,barWidth:p,barMaxWidth:f,barMinWidth:h,barGap:g,barCategoryGap:m,axisKey:tq(r),stackId:QK(t)})})),aq(n)}function aq(t){var e={};_O(t,(function(t,n){var a=t.axisKey,r=t.bandWidth,o=e[a]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},i=o.stacks;e[a]=o;var l=t.stackId;i[l]||o.autoWidthCount++,i[l]=i[l]||{width:0,maxWidth:0};var s=t.barWidth;s&&!i[l].width&&(i[l].width=s,s=Math.min(o.remainedWidth,s),o.remainedWidth-=s);var c=t.barMaxWidth;c&&(i[l].maxWidth=c);var u=t.barMinWidth;u&&(i[l].minWidth=u);var d=t.barGap;null!=d&&(o.gap=d);var p=t.barCategoryGap;null!=p&&(o.categoryGap=p)}));var n={};return _O(e,(function(t,e){n[e]={};var a=t.stacks,r=t.bandWidth,o=t.categoryGap;if(null==o){var i=OO(a).length;o=Math.max(35-4*i,15)+"%"}var l=JI(o,r),s=JI(t.gap,1),c=t.remainedWidth,u=t.autoWidthCount,d=(c-l)/(u+(u-1)*s);d=Math.max(d,0),_O(a,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){a=t.width;e&&(a=Math.min(a,e)),n&&(a=Math.max(a,n)),t.width=a,c-=a+s*a,u--}else{var a=d;e&&e<a&&(a=Math.min(e,c)),n&&n>a&&(a=n),a!==d&&(t.width=a,c-=a+s*a,u--)}})),d=(c-l)/(u+(u-1)*s),d=Math.max(d,0);var p,f=0;_O(a,(function(t,e){t.width||(t.width=d),p=t,f+=t.width*(1+s)})),p&&(f-=p.width*s);var h=-f/2;_O(a,(function(t,a){n[e][a]=n[e][a]||{bandWidth:r,offset:h,width:t.width},h+=t.width*(1+s)}))})),n}function rq(t,e,n){if(t&&e){var a=t[tq(e)];return null!=a&&null!=n?a[QK(n)]:a}}function oq(t,e){var n=eq(t,e),a=nq(n),r={};_O(n,(function(t){var e=t.getData(),n=t.coordinateSystem,o=n.getBaseAxis(),i=QK(t),l=a[tq(o)][i],s=l.offset,c=l.width,u=n.getOtherAxis(o),d=t.get("barMinHeight")||0;r[i]=r[i]||[],e.setLayout({bandWidth:l.bandWidth,offset:s,size:c});for(var p=e.mapDimension(u.dim),f=e.mapDimension(o.dim),h=AK(e,p),g=u.isHorizontal(),m=cq(o,u),b=e.getStore(),v=e.getDimensionIndex(p),y=e.getDimensionIndex(f),x=0,w=b.count();x<w;x++){var _=b.get(v,x),k=b.get(y,x),S=_>=0?"p":"n",C=m;h&&(r[i][k]||(r[i][k]={p:m,n:m}),C=r[i][k][S]);var M,O=void 0,E=void 0,T=void 0,D=void 0;if(g)O=C,E=(M=n.dataToPoint([_,k]))[1]+s,T=M[0]-m,D=c,Math.abs(T)<d&&(T=(T<0?-1:1)*d),isNaN(T)||h&&(r[i][k][S]+=T);else O=(M=n.dataToPoint([k,_]))[0]+s,E=C,T=c,D=M[1]-m,Math.abs(D)<d&&(D=(D<=0?-1:1)*d),isNaN(D)||h&&(r[i][k][S]+=D);e.setItemLayout(x,{x:O,y:E,width:T,height:D})}}))}var iq={seriesType:"bar",plan:uH(),reset:function(t){if(lq(t)&&sq(t)){var e=t.getData(),n=t.coordinateSystem,a=n.master.getRect(),r=n.getBaseAxis(),o=n.getOtherAxis(r),i=e.getDimensionIndex(e.mapDimension(o.dim)),l=e.getDimensionIndex(e.mapDimension(r.dim)),s=o.isHorizontal(),c=s?0:1,u=rq(nq([t]),r,t).width;return u>.5||(u=.5),{progress:function(t,e){for(var d,p=t.count,f=new $K(2*p),h=new $K(2*p),g=new $K(p),m=[],b=[],v=0,y=0,x=e.getStore();null!=(d=t.next());)b[c]=x.get(i,d),b[1-c]=x.get(l,d),m=n.dataToPoint(b,null),h[v]=s?a.x+a.width:m[0],f[v++]=m[0],h[v]=s?m[1]:a.y+a.height,f[v++]=m[1],g[y++]=d;e.setLayout({largePoints:f,largeDataIndices:g,largeBackgroundPoints:h,barWidth:u,valueAxisStart:cq(r,o),backgroundStart:s?a.x:a.y,valueAxisHorizontal:s})}}}}};function lq(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function sq(t){return t.pipelineContext&&t.pipelineContext.large}function cq(t,e,n){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}var uq=function(t){function e(e){var n=t.call(this,e)||this;return n.type="time",n}return d(e,t),e.prototype.getLabel=function(t){var e=this.getSetting("useUTC");return zF(t.value,TF[function(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}(NF(this._minLevelUnit))]||TF.second,e,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,e,n){var a=this.getSetting("useUTC");return function(t,e,n,a,r){var o=null;if("string"==typeof n)o=n;else if("function"==typeof n)o=n(t.value,e,{level:t.level});else{var i=gO({},OF);if(t.level>0)for(var l=0;l<DF.length;++l)i[DF[l]]="{primary|"+i[DF[l]]+"}";var s=n?!1===n.inherit?n:mO(n,i):i,c=RF(t.value,r);if(s[c])o=s[c];else if(s.inherit){for(l=IF.indexOf(c)-1;l>=0;--l)if(s[c]){o=s[c];break}o=o||i.none}if(DO(o)){var u=null==t.level?0:t.level>=0?t.level:o.length+t.level;o=o[u=Math.min(u,o.length-1)]}}return zF(new Date(t.value),o,r,a)}(t,e,n,this.getSetting("locale"),a)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,a=[];if(!e)return a;a.push({value:n[0],level:0});var r=this.getSetting("useUTC"),o=function(t,e,n,a){var r=1e4,o=IF,i=0;function l(t,e,n,r,o,i,l){for(var s=new Date(e),c=e,u=s[r]();c<n&&c<=a[1];)l.push({value:c}),u+=t,s[o](u),c=s.getTime();l.push({value:c,notAdd:!0})}function s(t,r,o){var i=[],s=!r.length;if(!function(t,e,n,a){var r=cP(e),o=cP(n),i=function(t){return LF(r,t,a)===LF(o,t,a)},l=function(){return i("year")},s=function(){return l()&&i("month")},c=function(){return s()&&i("day")},u=function(){return c()&&i("hour")},d=function(){return u()&&i("minute")},p=function(){return d()&&i("second")},f=function(){return p()&&i("millisecond")};switch(t){case"year":return l();case"month":return s();case"day":return c();case"hour":return u();case"minute":return d();case"second":return p();case"millisecond":return f()}}(NF(t),a[0],a[1],n)){s&&(r=[{value:bq(new Date(a[0]),t,n)},{value:a[1]}]);for(var c=0;c<r.length-1;c++){var u=r[c].value,d=r[c+1].value;if(u!==d){var p=void 0,f=void 0,h=void 0,g=!1;switch(t){case"year":p=Math.max(1,Math.round(e/CF/365)),f=jF(n),h=UF(n);break;case"half-year":case"quarter":case"month":p=fq(e),f=FF(n),h=GF(n);break;case"week":case"half-week":case"day":p=pq(e),f=BF(n),h=KF(n),g=!0;break;case"half-day":case"quarter-day":case"hour":p=hq(e),f=VF(n),h=qF(n);break;case"minute":p=gq(e,!0),f=YF(n),h=XF(n);break;case"second":p=gq(e,!1),f=HF(n),h=ZF(n);break;case"millisecond":p=mq(e),f=WF(n),h=JF(n)}l(p,u,d,f,h,g,i),"year"===t&&o.length>1&&0===c&&o.unshift({value:o[0].value-p})}}for(c=0;c<i.length;c++)o.push(i[c]);return i}}for(var c=[],u=[],d=0,p=0,f=0;f<o.length&&i++<r;++f){var h=NF(o[f]);if(AF(o[f]))if(s(o[f],c[c.length-1]||[],u),h!==(o[f+1]?NF(o[f+1]):null)){if(u.length){p=d,u.sort((function(t,e){return t.value-e.value}));for(var g=[],m=0;m<u.length;++m){var b=u[m].value;0!==m&&u[m-1].value===b||(g.push(u[m]),b>=a[0]&&b<=a[1]&&d++)}var v=(a[1]-a[0])/e;if(d>1.5*v&&p>v/1.5)break;if(c.push(g),d>v||t===o[f])break}u=[]}}var y=CO(kO(c,(function(t){return CO(t,(function(t){return t.value>=a[0]&&t.value<=a[1]&&!t.notAdd}))})),(function(t){return t.length>0})),x=[],w=y.length-1;for(f=0;f<y.length;++f)for(var _=y[f],k=0;k<_.length;++k)x.push({value:_[k].value,level:w-f});x.sort((function(t,e){return t.value-e.value}));var S=[];for(f=0;f<x.length;++f)0!==f&&x[f].value===x[f-1].value||S.push(x[f]);return S}(this._minLevelUnit,this._approxInterval,r,n);return(a=a.concat(o)).push({value:n[1],level:0}),a},e.prototype.niceExtent=function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=CF,e[1]+=CF),e[1]===-1/0&&e[0]===1/0){var n=new Date;e[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),e[0]=e[1]-CF}this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval)},e.prototype.niceTicks=function(t,e,n){t=t||10;var a=this._extent,r=a[1]-a[0];this._approxInterval=r/t,null!=e&&this._approxInterval<e&&(this._approxInterval=e),null!=n&&this._approxInterval>n&&(this._approxInterval=n);var o=dq.length,i=Math.min(function(t,e,n,a){for(;n<a;){var r=n+a>>>1;t[r][1]<e?n=r+1:a=r}return n}(dq,this._approxInterval,0,o),o-1);this._interval=dq[i][1],this._minLevelUnit=dq[Math.max(i-1,0)][0]},e.prototype.parse=function(t){return"number"==typeof t?t:+cP(t)},e.prototype.contain=function(t){return UK(this.parse(t),this._extent)},e.prototype.normalize=function(t){return GK(this.parse(t),this._extent)},e.prototype.scale=function(t){return KK(t,this._extent)},e.type="time",e}(ZK),dq=[["second",_F],["minute",kF],["hour",SF],["quarter-day",216e5],["half-day",432e5],["day",10368e4],["half-week",3024e5],["week",6048e5],["month",26784e5],["quarter",8208e6],["half-year",MF/2],["year",MF]];function pq(t,e){return(t/=CF)>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function fq(t){return(t/=2592e6)>6?6:t>3?3:t>2?2:1}function hq(t){return(t/=SF)>12?12:t>6?6:t>3.5?4:t>2?2:1}function gq(t,e){return(t/=e?kF:_F)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function mq(t){return pP(t,!0)}function bq(t,e,n){var a=new Date(t);switch(NF(e)){case"year":case"month":a[GF(n)](0);case"day":a[KF(n)](1);case"hour":a[qF(n)](0);case"minute":a[XF(n)](0);case"second":a[ZF(n)](0),a[JF(n)](0)}return a.getTime()}LK.registerClass(uq);var vq=LK.prototype,yq=ZK.prototype,xq=$I,wq=Math.floor,_q=Math.ceil,kq=Math.pow,Sq=Math.log,Cq=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new ZK,e._interval=0,e}return d(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,a=e.getExtent();return kO(yq.getTicks.call(this,t),(function(t){var e=t.value,r=$I(kq(this.base,e));return r=e===n[0]&&this._fixMin?Oq(r,a[0]):r,{value:r=e===n[1]&&this._fixMax?Oq(r,a[1]):r}}),this)},e.prototype.setExtent=function(t,e){var n=this.base;t=Sq(t)/Sq(n),e=Sq(e)/Sq(n),yq.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=vq.getExtent.call(this);e[0]=kq(t,e[0]),e[1]=kq(t,e[1]);var n=this._originalScale.getExtent();return this._fixMin&&(e[0]=Oq(e[0],n[0])),this._fixMax&&(e[1]=Oq(e[1],n[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=Sq(t[0])/Sq(e),t[1]=Sq(t[1])/Sq(e),vq.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.niceTicks=function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var a=uP(n);for(t/n*a<=.5&&(a*=10);!isNaN(a)&&Math.abs(a)<1&&Math.abs(a)>0;)a*=10;var r=[$I(_q(e[0]/a)*a),$I(wq(e[1]/a)*a)];this._interval=a,this._niceExtent=r}},e.prototype.niceExtent=function(t){yq.niceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return UK(t=Sq(t)/Sq(this.base),this._extent)},e.prototype.normalize=function(t){return GK(t=Sq(t)/Sq(this.base),this._extent)},e.prototype.scale=function(t){return t=KK(t,this._extent),kq(this.base,t)},e.type="log",e}(LK),Mq=Cq.prototype;function Oq(t,e){return xq(t,tP(e))}Mq.getMinorTicks=yq.getMinorTicks,Mq.getLabel=yq.getLabel,LK.registerClass(Cq);var Eq=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var a=this._isOrdinal="ordinal"===t.type;this._needCrossZero=e.getNeedCrossZero&&e.getNeedCrossZero();var r=this._modelMinRaw=e.get("min",!0);IO(r)?this._modelMinNum=Pq(t,r({min:n[0],max:n[1]})):"dataMin"!==r&&(this._modelMinNum=Pq(t,r));var o=this._modelMaxRaw=e.get("max",!0);if(IO(o)?this._modelMaxNum=Pq(t,o({min:n[0],max:n[1]})):"dataMax"!==o&&(this._modelMaxNum=Pq(t,o)),a)this._axisDataLen=e.getCategories().length;else{var i=e.get("boundaryGap"),l=DO(i)?i:[i||0,i||0];"boolean"==typeof l[0]||"boolean"==typeof l[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[OI(l[0],1),OI(l[1],1)]}},t.prototype.calculate=function(){var t=this._isOrdinal,e=this._dataMin,n=this._dataMax,a=this._axisDataLen,r=this._boundaryGapInner,o=t?null:n-e||Math.abs(e),i="dataMin"===this._modelMinRaw?e:this._modelMinNum,l="dataMax"===this._modelMaxRaw?n:this._modelMaxNum,s=null!=i,c=null!=l;null==i&&(i=t?a?0:NaN:e-r[0]*o),null==l&&(l=t?a?a-1:NaN:n+r[1]*o),(null==i||!isFinite(i))&&(i=NaN),(null==l||!isFinite(l))&&(l=NaN),i>l&&(i=NaN,l=NaN);var u=YO(i)||YO(l)||t&&!a;this._needCrossZero&&(i>0&&l>0&&!s&&(i=0),i<0&&l<0&&!c&&(l=0));var d=this._determinedMin,p=this._determinedMax;return null!=d&&(i=d,s=!0),null!=p&&(l=p,c=!0),{min:i,max:l,minFixed:s,maxFixed:c,isBlank:u}},t.prototype.modifyDataMinMax=function(t,e){this[Dq[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){this[Tq[t]]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),Tq={min:"_determinedMin",max:"_determinedMax"},Dq={min:"_dataMin",max:"_dataMax"};function Iq(t,e,n){var a=t.rawExtentInfo;return a||(a=new Eq(t,e,n),t.rawExtentInfo=a,a)}function Pq(t,e){return null==e?null:YO(e)?NaN:t.parse(e)}function Nq(t,e){var n=t.type,a=Iq(t,e,t.getExtent()).calculate();t.setBlank(a.isBlank);var r=a.min,o=a.max,i=e.ecModel;if(i&&"time"===n){var l=eq("bar",i),s=!1;if(_O(l,(function(t){s=s||t.getBaseAxis()===e.axis})),s){var c=nq(l),u=function(t,e,n,a){var r=n.axis.getExtent(),o=r[1]-r[0],i=rq(a,n.axis);if(void 0===i)return{min:t,max:e};var l=1/0;_O(i,(function(t){l=Math.min(t.offset,l)}));var s=-1/0;_O(i,(function(t){s=Math.max(t.offset+t.width,s)})),l=Math.abs(l),s=Math.abs(s);var c=l+s,u=e-t,d=u/(1-(l+s)/o)-u;return{min:t-=d*(l/c),max:e+=d*(s/c)}}(r,o,e,c);r=u.min,o=u.max}}return{extent:[r,o],fixMin:a.minFixed,fixMax:a.maxFixed}}function Aq(t,e){var n=e,a=Nq(t,n),r=a.extent,o=n.get("splitNumber");t instanceof Cq&&(t.base=n.get("logBase"));var i=t.type;t.setExtent(r[0],r[1]),t.niceExtent({splitNumber:o,fixMin:a.fixMin,fixMax:a.fixMax,minInterval:"interval"===i||"time"===i?n.get("minInterval"):null,maxInterval:"interval"===i||"time"===i?n.get("maxInterval"):null});var l=n.get("interval");null!=l&&t.setInterval&&t.setInterval(l)}function zq(t,e){if(e=e||t.get("type"))switch(e){case"category":return new qK({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new uq({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(LK.getClass(e)||ZK)}}function Rq(t){var e,n,a=t.getLabelModel().get("formatter"),r="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?(n=a,function(e,a){return t.scale.getFormattedLabel(e,a,n)}):"string"==typeof a?function(e){return function(n){var a=t.scale.getLabel(n);return e.replace("{value}",null!=a?a:"")}}(a):"function"==typeof a?(e=a,function(n,a){return null!=r&&(a=n.value-r),e(Lq(t,n),a,null!=n.level?{level:n.level}:null)}):function(e){return t.scale.getLabel(e)}}function Lq(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function jq(t,e){var n=e*Math.PI/180,a=t.width,r=t.height,o=a*Math.abs(Math.cos(n))+Math.abs(r*Math.sin(n)),i=a*Math.abs(Math.sin(n))+Math.abs(r*Math.cos(n));return new bI(t.x,t.y,o,i)}function Fq(t){var e=t.get("interval");return null==e?"auto":e}function Bq(t){return"category"===t.type&&0===Fq(t.getLabelModel())}function Vq(t,e){var n={};return _O(t.mapDimensionsAll(e),(function(e){n[zK(t,e)]=!0})),OO(n)}var Yq=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}();var Hq={isDimensionStacked:AK,enableDataStack:NK,getStackedDimension:zK};var Wq=Object.freeze({__proto__:null,createList:function(t){return RK(null,t)},getLayoutRect:mB,dataStack:Hq,createScale:function(t,e){var n=e;e instanceof dF||(n=new dF(e));var a=zq(n);return a.setExtent(t[0],t[1]),Aq(a,n),a},mixinAxisModelCommonMethods:function(t){xO(t,Yq)},getECData:Dz,createTextStyle:function(t,e){return Wj(t,null,null,"normal"!==(e=e||{}).state)},createDimensions:function(t,e){return EK(t,e).dimensions},createSymbol:_W,enableHoverEmphasis:yR}),Uq=[],Gq={registerPreprocessor:VG,registerProcessor:YG,registerPostInit:HG,registerPostUpdate:WG,registerUpdateLifecycle:UG,registerAction:GG,registerCoordinateSystem:KG,registerLayout:qG,registerVisual:XG,registerTransform:tK,registerLoading:$G,registerMap:QG,PRIORITY:qU,ComponentModel:kB,ComponentView:cH,SeriesModel:eH,ChartView:fH,registerComponentModel:function(t){kB.registerClass(t)},registerComponentView:function(t){cH.registerClass(t)},registerSeriesModel:function(t){eH.registerClass(t)},registerChartView:function(t){fH.registerClass(t)},registerSubTypeDefaulter:function(t,e){kB.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){KI(t,e)}};function Kq(t){DO(t)?_O(t,(function(t){Kq(t)})):vO(Uq,t)>=0||(Uq.push(t),IO(t)&&(t={install:t}),t.install(Gq))}var qq=Object.freeze({__proto__:null,linearMap:ZI,round:$I,asc:QI,getPrecision:tP,getPrecisionSafe:eP,getPixelPrecision:nP,getPercentWithPrecision:aP,MAX_SAFE_INTEGER:oP,remRadian:iP,isRadianAroundZero:lP,parseDate:cP,quantity:uP,quantityExponent:dP,nice:pP,quantile:fP,reformIntervals:hP,isNumeric:mP,numericToNumber:gP}),Xq=Object.freeze({__proto__:null,parse:cP,format:zF}),Zq=Object.freeze({__proto__:null,extendShape:gj,extendPath:bj,makePath:xj,makeImage:wj,mergePath:kj,resizePath:Sj,createIcon:Nj,updateProps:oj,initProps:ij,getTransform:Mj,clipPointsByRect:Ij,clipRectByRect:Pj,registerShape:vj,getShapeClass:yj,Group:VI,Image:cz,Text:Tz,Circle:ZR,Ellipse:QR,Sector:gL,Ring:vL,Polygon:kL,Polyline:ML,Rect:bz,Line:DL,BezierCurve:zL,Arc:jL,IncrementalDisplayable:ej,CompoundPath:BL,LinearGradient:WL,RadialGradient:GL,BoundingRect:bI}),Jq=Object.freeze({__proto__:null,addCommas:$F,toCamelCase:QF,normalizeCssArray:tB,encodeHTML:aB,formatTpl:lB,getTooltipMarker:sB,formatTime:function(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var a=cP(e),r=n?"UTC":"",o=a["get"+r+"FullYear"](),i=a["get"+r+"Month"]()+1,l=a["get"+r+"Date"](),s=a["get"+r+"Hours"](),c=a["get"+r+"Minutes"](),u=a["get"+r+"Seconds"](),d=a["get"+r+"Milliseconds"]();return t=t.replace("MM",PF(i,2)).replace("M",i).replace("yyyy",o).replace("yy",o%100+"").replace("dd",PF(l,2)).replace("d",l).replace("hh",PF(s,2)).replace("h",s).replace("mm",PF(c,2)).replace("m",c).replace("ss",PF(u,2)).replace("s",u).replace("SSS",PF(d,3))},capitalFirst:function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},truncateText:uN,getTextRect:function(t,e,n,a,r,o,i,l){return new Tz({style:{text:t,font:e,align:n,verticalAlign:a,padding:r,rich:o,overflow:i?"truncate":null,lineHeight:l}}).getBoundingRect()}}),$q=Object.freeze({__proto__:null,map:kO,each:_O,indexOf:vO,inherits:yO,reduce:SO,filter:CO,bind:EO,curry:TO,isArray:DO,isString:PO,isObject:zO,isFunction:IO,extend:gO,defaults:mO,clone:pO,merge:fO}),Qq=zP();function tX(t){return"category"===t.type?function(t){var e=t.getLabelModel(),n=nX(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(t):function(t){var e=t.scale.getTicks(),n=Rq(t);return{labels:kO(e,(function(e,a){return{level:e.level,formattedLabel:n(e,a),rawLabel:t.scale.getLabel(e),tickValue:e.value}}))}}(t)}function eX(t,e){return"category"===t.type?function(t,e){var n,a,r=aX(t,"ticks"),o=Fq(e),i=rX(r,o);if(i)return i;e.get("show")&&!t.scale.isBlank()||(n=[]);if(IO(o))n=lX(t,o,!0);else if("auto"===o){var l=nX(t,t.getLabelModel());a=l.labelCategoryInterval,n=kO(l.labels,(function(t){return t.tickValue}))}else n=iX(t,a=o,!0);return oX(r,o,{ticks:n,tickCategoryInterval:a})}(t,e):{ticks:kO(t.scale.getTicks(),(function(t){return t.value}))}}function nX(t,e){var n,a,r=aX(t,"labels"),o=Fq(e),i=rX(r,o);return i||(IO(o)?n=lX(t,o):(a="auto"===o?function(t){var e=Qq(t).autoInterval;return null!=e?e:Qq(t).autoInterval=t.calculateCategoryInterval()}(t):o,n=iX(t,a)),oX(r,o,{labels:n,labelCategoryInterval:a}))}function aX(t,e){return Qq(t)[e]||(Qq(t)[e]=[])}function rX(t,e){for(var n=0;n<t.length;n++)if(t[n].key===e)return t[n].value}function oX(t,e,n){return t.push({key:e,value:n}),n}function iX(t,e,n){var a=Rq(t),r=t.scale,o=r.getExtent(),i=t.getLabelModel(),l=[],s=Math.max((e||0)+1,1),c=o[0],u=r.count();0!==c&&s>1&&u/s>2&&(c=Math.round(Math.ceil(c/s)*s));var d=Bq(t),p=i.get("showMinLabel")||d,f=i.get("showMaxLabel")||d;p&&c!==o[0]&&g(o[0]);for(var h=c;h<=o[1];h+=s)g(h);function g(t){var e={value:t};l.push(n?t:{formattedLabel:a(e),rawLabel:r.getLabel(e),tickValue:t})}return f&&h-s!==o[1]&&g(o[1]),l}function lX(t,e,n){var a=t.scale,r=Rq(t),o=[];return _O(a.getTicks(),(function(t){var i=a.getLabel(t),l=t.value;e(t.value,i)&&o.push(n?l:{formattedLabel:r(t),rawLabel:i,tickValue:l})})),o}var sX=[0,1],cX=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),a=Math.max(e[0],e[1]);return t>=n&&t<=a},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return nP(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,a=this.scale;return t=a.normalize(t),this.onBand&&"ordinal"===a.type&&uX(n=n.slice(),a.count()),ZI(t,sX,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,a=this.scale;this.onBand&&"ordinal"===a.type&&uX(n=n.slice(),a.count());var r=ZI(t,n,sX,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=kO(eX(this,e).ticks,(function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}}),this);return function(t,e,n,a){var r=e.length;if(!t.onBand||n||!r)return;var o,i,l=t.getExtent();if(1===r)e[0].coord=l[0],o=e[1]={coord:l[0]};else{var s=e[r-1].tickValue-e[0].tickValue,c=(e[r-1].coord-e[0].coord)/s;_O(e,(function(t){t.coord-=c/2})),i=1+t.scale.getExtent()[1]-e[r-1].tickValue,o={coord:e[r-1].coord+c*i},e.push(o)}var u=l[0]>l[1];d(e[0].coord,l[0])&&(a?e[0].coord=l[0]:e.shift());a&&d(l[0],e[0].coord)&&e.unshift({coord:l[0]});d(l[1],o.coord)&&(a?o.coord=l[1]:e.pop());a&&d(o.coord,l[1])&&e.push({coord:l[1]});function d(t,e){return t=$I(t),e=$I(e),u?t>e:t<e}}(this,n,e.get("alignWithLabel"),t.clamp),n},t.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick").get("splitNumber");return t>0&&t<100||(t=5),kO(this.scale.getMinorTicks(t),(function(t){return kO(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this)},t.prototype.getViewLabels=function(){return tX(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var a=Math.abs(t[1]-t[0]);return Math.abs(a)/n},t.prototype.calculateCategoryInterval=function(){return function(t){var e=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),n=Rq(t),a=(e.axisRotate-e.labelRotate)/180*Math.PI,r=t.scale,o=r.getExtent(),i=r.count();if(o[1]-o[0]<1)return 0;var l=1;i>40&&(l=Math.max(1,Math.floor(i/40)));for(var s=o[0],c=t.dataToCoord(s+1)-t.dataToCoord(s),u=Math.abs(c*Math.cos(a)),d=Math.abs(c*Math.sin(a)),p=0,f=0;s<=o[1];s+=l){var h,g,m=kI(n({value:s}),e.font,"center","top");h=1.3*m.width,g=1.3*m.height,p=Math.max(p,h,7),f=Math.max(f,g,7)}var b=p/u,v=f/d;isNaN(b)&&(b=1/0),isNaN(v)&&(v=1/0);var y=Math.max(0,Math.floor(Math.min(b,v))),x=Qq(t.model),w=t.getExtent(),_=x.lastAutoInterval,k=x.lastTickCount;return null!=_&&null!=k&&Math.abs(_-y)<=1&&Math.abs(k-i)<=1&&_>y&&x.axisExtent0===w[0]&&x.axisExtent1===w[1]?y=_:(x.lastTickCount=i,x.lastAutoInterval=y,x.axisExtent0=w[0],x.axisExtent1=w[1]),y}(this)},t}();function uX(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}var dX=2*Math.PI,pX=zA.CMD,fX=["top","right","bottom","left"];function hX(t,e,n,a,r){var o=n.width,i=n.height;switch(t){case"top":a.set(n.x+o/2,n.y-e),r.set(0,-1);break;case"bottom":a.set(n.x+o/2,n.y+i+e),r.set(0,1);break;case"left":a.set(n.x-e,n.y+i/2),r.set(-1,0);break;case"right":a.set(n.x+o+e,n.y+i/2),r.set(1,0)}}function gX(t,e,n,a,r,o,i,l,s){i-=t,l-=e;var c=Math.sqrt(i*i+l*l),u=(i/=c)*n+t,d=(l/=c)*n+e;if(Math.abs(a-r)%dX<1e-4)return s[0]=u,s[1]=d,c-n;if(o){var p=a;a=BA(r),r=BA(p)}else a=BA(a),r=BA(r);a>r&&(r+=dX);var f=Math.atan2(l,i);if(f<0&&(f+=dX),f>=a&&f<=r||f+dX>=a&&f+dX<=r)return s[0]=u,s[1]=d,c-n;var h=n*Math.cos(a)+t,g=n*Math.sin(a)+e,m=n*Math.cos(r)+t,b=n*Math.sin(r)+e,v=(h-i)*(h-i)+(g-l)*(g-l),y=(m-i)*(m-i)+(b-l)*(b-l);return v<y?(s[0]=h,s[1]=g,Math.sqrt(v)):(s[0]=m,s[1]=b,Math.sqrt(y))}function mX(t,e,n,a,r,o,i,l){var s=r-t,c=o-e,u=n-t,d=a-e,p=Math.sqrt(u*u+d*d),f=(s*(u/=p)+c*(d/=p))/p;l&&(f=Math.min(Math.max(f,0),1)),f*=p;var h=i[0]=t+f*u,g=i[1]=e+f*d;return Math.sqrt((h-r)*(h-r)+(g-o)*(g-o))}function bX(t,e,n,a,r,o,i){n<0&&(t+=n,n=-n),a<0&&(e+=a,a=-a);var l=t+n,s=e+a,c=i[0]=Math.min(Math.max(r,t),l),u=i[1]=Math.min(Math.max(o,e),s);return Math.sqrt((c-r)*(c-r)+(u-o)*(u-o))}var vX=[];function yX(t,e,n){var a=bX(e.x,e.y,e.width,e.height,t.x,t.y,vX);return n.set(vX[0],vX[1]),a}function xX(t,e,n){for(var a,r,o=0,i=0,l=0,s=0,c=1/0,u=e.data,d=t.x,p=t.y,f=0;f<u.length;){var h=u[f++];1===f&&(l=o=u[f],s=i=u[f+1]);var g=c;switch(h){case pX.M:o=l=u[f++],i=s=u[f++];break;case pX.L:g=mX(o,i,u[f],u[f+1],d,p,vX,!0),o=u[f++],i=u[f++];break;case pX.C:g=GN(o,i,u[f++],u[f++],u[f++],u[f++],u[f],u[f+1],d,p,vX),o=u[f++],i=u[f++];break;case pX.Q:g=$N(o,i,u[f++],u[f++],u[f],u[f+1],d,p,vX),o=u[f++],i=u[f++];break;case pX.A:var m=u[f++],b=u[f++],v=u[f++],y=u[f++],x=u[f++],w=u[f++];f+=1;var _=!!(1-u[f++]);a=Math.cos(x)*v+m,r=Math.sin(x)*y+b,f<=1&&(l=a,s=r),g=gX(m,b,y,x,x+w,_,(d-m)*y/v+m,p,vX),o=Math.cos(x+w)*v+m,i=Math.sin(x+w)*y+b;break;case pX.R:g=bX(l=o=u[f++],s=i=u[f++],u[f++],u[f++],d,p,vX);break;case pX.Z:g=mX(o,i,l,s,d,p,vX,!0),o=l,i=s}g<c&&(c=g,n.set(vX[0],vX[1]))}return c}var wX=new lI,_X=new lI,kX=new lI,SX=new lI,CX=new lI;function MX(t,e){if(t){var n=t.getTextGuideLine(),a=t.getTextContent();if(a&&n){var r=t.textGuideLineConfig||{},o=[[0,0],[0,0],[0,0]],i=r.candidates||fX,l=a.getBoundingRect().clone();l.applyTransform(a.getComputedTransform());var s=1/0,c=r.anchor,u=t.getComputedTransform(),d=u&&UD([],u),p=e.get("length2")||0;c&&kX.copy(c);for(var f=0;f<i.length;f++){hX(i[f],0,l,wX,SX),lI.scaleAndAdd(_X,wX,SX,p),_X.transform(d);var h=t.getBoundingRect(),g=c?c.distance(_X):t instanceof nz?xX(_X,t.path,kX):yX(_X,h,kX);g<s&&(s=g,_X.transform(u),kX.transform(u),kX.toArray(o[0]),_X.toArray(o[1]),wX.toArray(o[2]))}TX(o,e.get("minTurnAngle")),n.setShape({points:o})}}}var OX=[],EX=new lI;function TX(t,e){if(e<=180&&e>0){e=e/180*Math.PI,wX.fromArray(t[0]),_X.fromArray(t[1]),kX.fromArray(t[2]),lI.sub(SX,wX,_X),lI.sub(CX,kX,_X);var n=SX.len(),a=CX.len();if(!(n<.001||a<.001)){SX.scale(1/n),CX.scale(1/a);var r=SX.dot(CX);if(Math.cos(e)<r){var o=mX(_X.x,_X.y,kX.x,kX.y,wX.x,wX.y,OX,!1);EX.fromArray(OX),EX.scaleAndAdd(CX,o/Math.tan(Math.PI-e));var i=kX.x!==_X.x?(EX.x-_X.x)/(kX.x-_X.x):(EX.y-_X.y)/(kX.y-_X.y);if(isNaN(i))return;i<0?lI.copy(EX,_X):i>1&&lI.copy(EX,kX),EX.toArray(t[1])}}}}function DX(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,wX.fromArray(t[0]),_X.fromArray(t[1]),kX.fromArray(t[2]),lI.sub(SX,_X,wX),lI.sub(CX,kX,_X);var a=SX.len(),r=CX.len();if(!(a<.001||r<.001))if(SX.scale(1/a),CX.scale(1/r),SX.dot(e)<Math.cos(n)){var o=mX(_X.x,_X.y,kX.x,kX.y,wX.x,wX.y,OX,!1);EX.fromArray(OX);var i=Math.PI/2,l=i+Math.acos(CX.dot(e))-n;if(l>=i)lI.copy(EX,kX);else{EX.scaleAndAdd(CX,o/Math.tan(Math.PI/2-l));var s=kX.x!==_X.x?(EX.x-_X.x)/(kX.x-_X.x):(EX.y-_X.y)/(kX.y-_X.y);if(isNaN(s))return;s<0?lI.copy(EX,_X):s>1&&lI.copy(EX,kX)}EX.toArray(t[1])}}}function IX(t,e,n,a){var r="normal"===n,o=r?t:t.ensureState(n);o.ignore=e;var i=a.get("smooth");i&&!0===i&&(i=.3),o.shape=o.shape||{},i>0&&(o.shape.smooth=i);var l=a.getModel("lineStyle").getLineStyle();r?t.useStyle(l):o.style=l}function PX(t,e){var n=e.smooth,a=e.points;if(a)if(t.moveTo(a[0][0],a[0][1]),n>0&&a.length>=3){var r=xE(a[0],a[1]),o=xE(a[1],a[2]);if(!r||!o)return t.lineTo(a[1][0],a[1][1]),void t.lineTo(a[2][0],a[2][1]);var i=Math.min(r,o)*n,l=kE([],a[1],a[0],i/r),s=kE([],a[1],a[2],i/o),c=kE([],l,s,.5);t.bezierCurveTo(l[0],l[1],l[0],l[1],c[0],c[1]),t.bezierCurveTo(s[0],s[1],s[0],s[1],a[2][0],a[2][1])}else for(var u=1;u<a.length;u++)t.lineTo(a[u][0],a[u][1])}function NX(t,e,n){var a=t.getTextGuideLine(),r=t.getTextContent();if(r){for(var o=e.normal,i=o.get("show"),l=r.ignore,s=0;s<Rz.length;s++){var c=Rz[s],u=e[c],d="normal"===c;if(u){var p=u.get("show");if((d?l:WO(r.states[c]&&r.states[c].ignore,l))||!WO(p,i)){var f=d?a:a&&a.states.normal;f&&(f.ignore=!0);continue}a||(a=new ML,t.setTextGuideLine(a),d||!l&&i||IX(a,!0,"normal",e.normal),t.stateProxy&&(a.stateProxy=t.stateProxy)),IX(a,!1,c,u)}}if(a){mO(a.style,n),a.style.fill=null;var h=o.get("showAbove");(t.textGuideLineConfig=t.textGuideLineConfig||{}).showAbove=h||!1,a.buildPath=PX}}else a&&t.removeTextGuideLine()}function AX(t,e){e=e||"labelLine";for(var n={normal:t.getModel(e)},a=0;a<zz.length;a++){var r=zz[a];n[r]=t.getModel([r,e])}return n}function zX(t){for(var e=[],n=0;n<t.length;n++){var a=t[n];if(!a.defaultAttr.ignore){var r=a.label,o=r.getComputedTransform(),i=r.getBoundingRect(),l=!o||o[1]<1e-5&&o[2]<1e-5,s=r.style.margin||0,c=i.clone();c.applyTransform(o),c.x-=s/2,c.y-=s/2,c.width+=s,c.height+=s;var u=l?new $L(i,o):null;e.push({label:r,labelLine:a.labelLine,rect:c,localRect:i,obb:u,priority:a.priority,defaultAttr:a.defaultAttr,layoutOption:a.computedLayoutOption,axisAligned:l,transform:o})}}return e}function RX(t,e,n,a,r,o){var i=t.length;if(!(i<2)){t.sort((function(t,n){return t.rect[e]-n.rect[e]}));for(var l,s=0,c=!1,u=0,d=0;d<i;d++){var p=t[d],f=p.rect;(l=f[e]-s)<0&&(f[e]-=l,p.label[e]-=l,c=!0),u+=Math.max(-l,0),s=f[e]+f[n]}u>0&&o&&x(-u/i,0,i);var h,g,m=t[0],b=t[i-1];return v(),h<0&&w(-h,.8),g<0&&w(g,.8),v(),y(h,g,1),y(g,h,-1),v(),h<0&&_(-h),g<0&&_(g),c}function v(){h=m.rect[e]-a,g=r-b.rect[e]-b.rect[n]}function y(t,e,n){if(t<0){var a=Math.min(e,-t);if(a>0){x(a*n,0,i);var r=a+t;r<0&&w(-r*n,1)}else w(-t*n,1)}}function x(n,a,r){0!==n&&(c=!0);for(var o=a;o<r;o++){var i=t[o];i.rect[e]+=n,i.label[e]+=n}}function w(a,r){for(var o=[],l=0,s=1;s<i;s++){var c=t[s-1].rect,u=Math.max(t[s].rect[e]-c[e]-c[n],0);o.push(u),l+=u}if(l){var d=Math.min(Math.abs(a)/l,r);if(a>0)for(s=0;s<i-1;s++){x(o[s]*d,0,s+1)}else for(s=i-1;s>0;s--){x(-(o[s-1]*d),s,i)}}}function _(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(i-1)),a=0;a<i-1;a++)if(e>0?x(n,0,a+1):x(-n,i-a-1,i),(t-=n)<=0)return}}function LX(t,e,n,a){return RX(t,"y","height",e,n,a)}function jX(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var n=new bI(0,0,0,0);function a(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var r=0;r<t.length;r++){var o=t[r],i=o.axisAligned,l=o.localRect,s=o.transform,c=o.label,u=o.labelLine;n.copy(o.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var d=o.obb,p=!1,f=0;f<e.length;f++){var h=e[f];if(n.intersect(h.rect)){if(i&&h.axisAligned){p=!0;break}if(h.obb||(h.obb=new $L(h.localRect,h.transform)),d||(d=new $L(l,s)),d.intersect(h.obb)){p=!0;break}}}p?(a(c),u&&a(u)):(c.attr("ignore",o.defaultAttr.ignore),u&&u.attr("ignore",o.defaultAttr.labelGuideIgnore),e.push(o))}}function FX(t){if(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n].slice());return e}}function BX(t,e){var n=t.label,a=e&&e.getTextGuideLine();return{dataIndex:t.dataIndex,dataType:t.dataType,seriesIndex:t.seriesModel.seriesIndex,text:t.label.style.text,rect:t.hostRect,labelRect:t.rect,align:n.style.align,verticalAlign:n.style.verticalAlign,labelLinePoints:FX(a&&a.shape.points)}}var VX=["align","verticalAlign","width","height","fontSize"],YX=new oI,HX=zP(),WX=zP();function UX(t,e,n){for(var a=0;a<n.length;a++){var r=n[a];null!=e[r]&&(t[r]=e[r])}}var GX=["x","y","rotation"],KX=function(){function t(){this._labelList=[],this._chartViewList=[]}return t.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},t.prototype._addLabel=function(t,e,n,a,r){var o=a.style,i=a.__hostTarget.textConfig||{},l=a.getComputedTransform(),s=a.getBoundingRect().plain();bI.applyTransform(s,s,l),l?YX.setLocalTransform(l):(YX.x=YX.y=YX.rotation=YX.originX=YX.originY=0,YX.scaleX=YX.scaleY=1);var c,u=a.__hostTarget;if(u){c=u.getBoundingRect().plain();var d=u.getComputedTransform();bI.applyTransform(c,c,d)}var p=c&&u.getTextGuideLine();this._labelList.push({label:a,labelLine:p,seriesModel:n,dataIndex:t,dataType:e,layoutOption:r,computedLayoutOption:null,rect:s,hostRect:c,priority:c?c.width*c.height:0,defaultAttr:{ignore:a.ignore,labelGuideIgnore:p&&p.ignore,x:YX.x,y:YX.y,scaleX:YX.scaleX,scaleY:YX.scaleY,rotation:YX.rotation,style:{x:o.x,y:o.y,align:o.align,verticalAlign:o.verticalAlign,width:o.width,height:o.height,fontSize:o.fontSize},cursor:a.cursor,attachedPos:i.position,attachedRot:i.rotation}})},t.prototype.addLabelsOfSeries=function(t){var e=this;this._chartViewList.push(t);var n=t.__model,a=n.get("labelLayout");(IO(a)||OO(a).length)&&t.group.traverse((function(t){if(t.ignore)return!0;var r=t.getTextContent(),o=Dz(t);r&&!r.disableLabelLayout&&e._addLabel(o.dataIndex,o.dataType,n,r,a)}))},t.prototype.updateLayoutConfig=function(t){var e=t.getWidth(),n=t.getHeight();function a(t,e){return function(){MX(t,e)}}for(var r=0;r<this._labelList.length;r++){var o=this._labelList[r],i=o.label,l=i.__hostTarget,s=o.defaultAttr,c=void 0;c=(c="function"==typeof o.layoutOption?o.layoutOption(BX(o,l)):o.layoutOption)||{},o.computedLayoutOption=c;var u=Math.PI/180;l&&l.setTextConfig({local:!1,position:null!=c.x||null!=c.y?null:s.attachedPos,rotation:null!=c.rotate?c.rotate*u:s.attachedRot,offset:[c.dx||0,c.dy||0]});var d=!1;if(null!=c.x?(i.x=JI(c.x,e),i.setStyle("x",0),d=!0):(i.x=s.x,i.setStyle("x",s.style.x)),null!=c.y?(i.y=JI(c.y,n),i.setStyle("y",0),d=!0):(i.y=s.y,i.setStyle("y",s.style.y)),c.labelLinePoints){var p=l.getTextGuideLine();p&&(p.setShape({points:c.labelLinePoints}),d=!1)}HX(i).needsUpdateLabelLine=d,i.rotation=null!=c.rotate?c.rotate*u:s.rotation,i.scaleX=s.scaleX,i.scaleY=s.scaleY;for(var f=0;f<VX.length;f++){var h=VX[f];i.setStyle(h,null!=c[h]?c[h]:s.style[h])}if(c.draggable){if(i.draggable=!0,i.cursor="move",l){var g=o.seriesModel;if(null!=o.dataIndex)g=o.seriesModel.getData(o.dataType).getItemModel(o.dataIndex);i.on("drag",a(l,g.getModel("labelLine")))}}else i.off("drag"),i.cursor=s.cursor}},t.prototype.layout=function(t){var e,n=t.getWidth(),a=t.getHeight(),r=zX(this._labelList),o=CO(r,(function(t){return"shiftX"===t.layoutOption.moveOverlap})),i=CO(r,(function(t){return"shiftY"===t.layoutOption.moveOverlap}));RX(o,"x","width",0,n,e),LX(i,0,a),jX(CO(r,(function(t){return t.layoutOption.hideOverlap})))},t.prototype.processLabelsOverall=function(){var t=this;_O(this._chartViewList,(function(e){var n=e.__model,a=e.ignoreLabelLineUpdate,r=n.isAnimationEnabled();e.group.traverse((function(e){if(e.ignore)return!0;var o=!a,i=e.getTextContent();!o&&i&&(o=HX(i).needsUpdateLabelLine),o&&t._updateLabelLine(e,n),r&&t._animateLabels(e,n)}))}))},t.prototype._updateLabelLine=function(t,e){var n=t.getTextContent(),a=Dz(t),r=a.dataIndex;if(n&&null!=r){var o=e.getData(a.dataType),i=o.getItemModel(r),l={},s=o.getItemVisual(r,"style"),c=o.getVisual("drawType");l.stroke=s[c];var u=i.getModel("labelLine");NX(t,AX(i),l),MX(t,u)}},t.prototype._animateLabels=function(t,e){var n=t.getTextContent(),a=t.getTextGuideLine();if(n&&!n.ignore&&!n.invisible&&!t.disableLabelAnimation&&!lj(t)){var r=(f=HX(n)).oldLayout,o=Dz(t),i=o.dataIndex,l={x:n.x,y:n.y,rotation:n.rotation},s=e.getData(o.dataType);if(r){n.attr(r);var c=t.prevStates;c&&(vO(c,"select")>=0&&n.attr(f.oldLayoutSelect),vO(c,"emphasis")>=0&&n.attr(f.oldLayoutEmphasis)),oj(n,l,e,i)}else if(n.attr(l),!Jj(n).valueAnimation){var u=WO(n.style.opacity,1);n.style.opacity=0,ij(n,{style:{opacity:u}},e,i)}if(f.oldLayout=l,n.states.select){var d=f.oldLayoutSelect={};UX(d,l,GX),UX(d,n.states.select,GX)}if(n.states.emphasis){var p=f.oldLayoutEmphasis={};UX(p,l,GX),UX(p,n.states.emphasis,GX)}Qj(n,i,s,e,e)}if(a&&!a.ignore&&!a.invisible){r=(f=WX(a)).oldLayout;var f,h={points:a.shape.points};r?(a.attr({shape:r}),oj(a,{shape:h},e)):(a.setShape(h),a.style.strokePercent=0,ij(a,{style:{strokePercent:1}},e)),f.oldLayout=h}},t}(),qX=zP();function XX(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){var a=qX(e).labelManager;a||(a=qX(e).labelManager=new KX),a.clearLabels()})),t.registerUpdateLifecycle("series:layoutlabels",(function(t,e,n){var a=qX(e).labelManager;n.updatedSeries.forEach((function(t){a.addLabelsOfSeries(e.getViewOfSeriesModel(t))})),a.updateLayoutConfig(e),a.layout(e),a.processLabelsOverall()}))}function ZX(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function JX(t){var e;if(t&&"transparent"!==t){if("string"==typeof t&&t.indexOf("rgba")>-1){var n=FT(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}}function $X(t,e,n,a,r){for(var o=e.length,i=n.length,l=t.newPos,s=l-a,c=0;l+1<o&&s+1<i&&r(e[l+1],n[s+1]);)l++,s++,c++;return c&&t.components.push({count:c,added:!1,removed:!1,indices:[]}),t.newPos=l,s}function QX(t,e,n){var a=t[t.length-1];a&&a.added===e&&a.removed===n?t[t.length-1]={count:a.count+1,added:e,removed:n,indices:[]}:t.push({count:1,added:e,removed:n,indices:[]})}function tZ(t){for(var e=0,n=t.length,a=0,r=0;e<n;e++){var o=t[e];if(o.removed){for(l=r;l<r+o.count;l++)o.indices.push(l);r+=o.count}else{for(var i=[],l=a;l<a+o.count;l++)i.push(l);o.indices=i,a+=o.count,o.added||(r+=o.count)}}return t}function eZ(t,e,n){return function(t,e,n){n||(n=function(t,e){return t===e}),t=t.slice();var a=(e=e.slice()).length,r=t.length,o=1,i=a+r,l=[{newPos:-1,components:[]}],s=$X(l[0],e,t,0,n);if(l[0].newPos+1>=a&&s+1>=r){for(var c=[],u=0;u<e.length;u++)c.push(u);return[{indices:c,count:e.length,added:!1,removed:!1}]}function d(){for(var i=-1*o;i<=o;i+=2){var s,c=l[i-1],u=l[i+1],d=(u?u.newPos:0)-i;c&&(l[i-1]=void 0);var p=c&&c.newPos+1<a,f=u&&0<=d&&d<r;if(p||f){if(!p||f&&c.newPos<u.newPos?QX((s={newPos:(h=u).newPos,components:h.components.slice(0)}).components,!1,!0):((s=c).newPos++,QX(s.components,!0,!1)),d=$X(s,e,t,i,n),s.newPos+1>=a&&d+1>=r)return tZ(s.components);l[i]=s}else l[i]=void 0}var h;o++}for(;o<=i;){var p=d();if(p)return p}}(t,e,n)}Kq(XX);var nZ="none",aZ=Math.round,rZ=Math.sin,oZ=Math.cos,iZ=Math.PI,lZ=2*Math.PI,sZ=180/iZ,cZ=1e-4;function uZ(t){return aZ(1e3*t)/1e3}function dZ(t){return aZ(1e4*t)/1e4}function pZ(t){return t<cZ&&t>-1e-4}function fZ(t,e){e&&hZ(t,"transform","matrix("+uZ(e[0])+","+uZ(e[1])+","+uZ(e[2])+","+uZ(e[3])+","+dZ(e[4])+","+dZ(e[5])+")")}function hZ(t,e,n){(!n||"linear"!==n.type&&"radial"!==n.type)&&t.setAttribute(e,n)}function gZ(t,e,n){var a=null==e.opacity?1:e.opacity;if(n instanceof cz)hZ(t,"opacity",a+"");else{if(function(t){var e=t.fill;return null!=e&&e!==nZ}(e)){var r=JX(e.fill);hZ(t,"fill",r.color),hZ(t,"fill-opacity",(null!=e.fillOpacity?e.fillOpacity*r.opacity*a:r.opacity*a)+"")}else hZ(t,"fill",nZ);if(function(t){var e=t.stroke;return null!=e&&e!==nZ}(e)){var o=JX(e.stroke);hZ(t,"stroke",o.color);var i=e.lineWidth,l=e.strokeNoScale?n.getLineScale():1;hZ(t,"stroke-width",(l?i/l:0)+""),hZ(t,"paint-order",e.strokeFirst?"stroke":"fill"),hZ(t,"stroke-opacity",(null!=e.strokeOpacity?e.strokeOpacity*o.opacity*a:o.opacity*a)+"");var s=e.lineDash&&i>0&&OW(e.lineDash,i);if(s){var c=e.lineDashOffset;l&&1!==l&&(s=kO(s,(function(t){return t/l})),c&&(c=aZ(c/=l))),hZ(t,"stroke-dasharray",s.join(",")),hZ(t,"stroke-dashoffset",(c||0)+"")}else hZ(t,"stroke-dasharray",nZ);e.lineCap&&hZ(t,"stroke-linecap",e.lineCap),e.lineJoin&&hZ(t,"stroke-linejoin",e.lineJoin),e.miterLimit&&hZ(t,"stroke-miterlimit",e.miterLimit+"")}else hZ(t,"stroke",nZ)}}var mZ=function(){function t(){}return t.prototype.reset=function(){this._d=[],this._str=""},t.prototype.moveTo=function(t,e){this._add("M",t,e)},t.prototype.lineTo=function(t,e){this._add("L",t,e)},t.prototype.bezierCurveTo=function(t,e,n,a,r,o){this._add("C",t,e,n,a,r,o)},t.prototype.quadraticCurveTo=function(t,e,n,a){this._add("Q",t,e,n,a)},t.prototype.arc=function(t,e,n,a,r,o){this.ellipse(t,e,n,n,0,a,r,o)},t.prototype.ellipse=function(t,e,n,a,r,o,i,l){var s=0===this._d.length,c=i-o,u=!l,d=Math.abs(c),p=pZ(d-lZ)||(u?c>=lZ:-c>=lZ),f=c>0?c%lZ:c%lZ+lZ,h=!1;h=!!p||!pZ(d)&&f>=iZ==!!u;var g=dZ(t+n*oZ(o)),m=dZ(e+a*rZ(o));p&&(c=u?lZ-1e-4:1e-4-lZ,h=!0,s&&this._d.push("M",g,m));var b=dZ(t+n*oZ(o+c)),v=dZ(e+a*rZ(o+c));if(isNaN(g)||isNaN(m)||isNaN(n)||isNaN(a)||isNaN(r)||isNaN(sZ)||isNaN(b)||isNaN(v))return"";this._d.push("A",dZ(n),dZ(a),aZ(r*sZ),+h,+u,b,v)},t.prototype.rect=function(t,e,n,a){this._add("M",t,e),this._add("L",t+n,e),this._add("L",t+n,e+a),this._add("L",t,e+a),this._add("L",t,e),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,n,a,r,o,i,l,s){this._d.push(t);for(var c=1;c<arguments.length;c++){var u=arguments[c];if(isNaN(u))return void(this._invalid=!0);this._d.push(dZ(u))}},t.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(" "),this._d=[]},t.prototype.getStr=function(){return this._str},t}(),bZ={brush:function(t){var e=t.style,n=t.__svgEl;n||(n=ZX("path"),t.__svgEl=n),t.path||t.createPathProxy();var a=t.path;t.shapeChanged()&&(a.beginPath(),t.buildPath(a,t.shape),t.pathUpdated());var r=a.getVersion(),o=t,i=o.__svgPathBuilder;(o.__svgPathVersion!==r||!i||t.style.strokePercent<1)&&(i||(i=o.__svgPathBuilder=new mZ),i.reset(),a.rebuildPath(i,t.style.strokePercent),i.generateStr(),o.__svgPathVersion=r),hZ(n,"d",i.getStr()),gZ(n,e,t),fZ(n,t.transform)}},vZ={brush:function(t){var e=t.style,n=e.image;if(n instanceof HTMLImageElement?n=n.src:n instanceof HTMLCanvasElement&&(n=n.toDataURL()),n){var a=e.x||0,r=e.y||0,o=e.width,i=e.height,l=t.__svgEl;l||(l=ZX("image"),t.__svgEl=l),n!==t.__imageSrc&&(!function(t,e,n){t.setAttributeNS("http://www.w3.org/1999/xlink",e,n)}(l,"href",n),t.__imageSrc=n),hZ(l,"width",o+""),hZ(l,"height",i+""),hZ(l,"x",a+""),hZ(l,"y",r+""),gZ(l,e,t),fZ(l,t.transform)}}},yZ={left:"start",right:"end",center:"middle",middle:"middle"};var xZ={brush:function(t){var e=t.style,n=e.text;if(null!=n&&(n+=""),n&&!isNaN(e.x)&&!isNaN(e.y)){var a=t.__svgEl;a||(function(t,e,n){t.setAttributeNS("http://www.w3.org/XML/1998/namespace",e,n)}(a=ZX("text"),"xml:space","preserve"),t.__svgEl=a);var r=e.font||yI;a.style.font=r,a.textContent=n,gZ(a,e,t),fZ(a,t.transform);var o=e.x||0,i=function(t,e,n){return"top"===n?t+=e/2:"bottom"===n&&(t-=e/2),t}(e.y||0,MI(r),e.textBaseline),l=yZ[e.textAlign]||e.textAlign;hZ(a,"dominant-baseline","central"),hZ(a,"text-anchor",l),hZ(a,"x",o+""),hZ(a,"y",i+"")}}},wZ=function(){function t(t,e,n,a,r){this.nextId=0,this._domName="_dom",this.createElement=ZX,this._zrId=t,this._svgRoot=e,this._tagNames="string"==typeof n?[n]:n,this._markLabel=a,r&&(this._domName=r)}return t.prototype.getDefs=function(t){var e=this._svgRoot,n=this._svgRoot.getElementsByTagName("defs");if(0===n.length){if(t){var a=e.insertBefore(this.createElement("defs"),e.firstChild);return a.contains||(a.contains=function(t){var e=a.children;if(!e)return!1;for(var n=e.length-1;n>=0;--n)if(e[n]===t)return!0;return!1}),a}return null}return n[0]},t.prototype.doUpdate=function(t,e){if(t){var n=this.getDefs(!1);if(t[this._domName]&&n.contains(t[this._domName]))"function"==typeof e&&e(t);else{var a=this.add(t);a&&(t[this._domName]=a)}}},t.prototype.add=function(t){return null},t.prototype.addDom=function(t){var e=this.getDefs(!0);t.parentNode!==e&&e.appendChild(t)},t.prototype.removeDom=function(t){var e=this.getDefs(!1);e&&t[this._domName]&&(e.removeChild(t[this._domName]),t[this._domName]=null)},t.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var e=[];return _O(this._tagNames,(function(n){for(var a=t.getElementsByTagName(n),r=0;r<a.length;r++)e.push(a[r])})),e},t.prototype.markAllUnused=function(){var t=this.getDoms(),e=this;_O(t,(function(t){t[e._markLabel]="0"}))},t.prototype.markDomUsed=function(t){t&&(t[this._markLabel]="1")},t.prototype.markDomUnused=function(t){t&&(t[this._markLabel]="0")},t.prototype.isDomUnused=function(t){return t&&"1"!==t[this._markLabel]},t.prototype.removeUnused=function(){var t=this,e=this.getDefs(!1);e&&_O(this.getDoms(),(function(n){t.isDomUnused(n)&&e.removeChild(n)}))},t.prototype.getSvgProxy=function(t){return t instanceof nz?bZ:t instanceof cz?vZ:t instanceof oz?xZ:bZ},t.prototype.getSvgElement=function(t){return t.__svgEl},t}(),_Z=wZ;function kZ(t){return"linear"===t.type}function SZ(t){return"radial"===t.type}function CZ(t){return t&&("linear"===t.type||"radial"===t.type)}var MZ=function(t){function e(e,n){return t.call(this,e,n,["linearGradient","radialGradient"],"__gradient_in_use__")||this}return d(e,t),e.prototype.addWithoutUpdate=function(t,e){if(e&&e.style){var n=this;_O(["fill","stroke"],(function(a){var r=e.style[a];if(CZ(r)){var o=r,i=n.getDefs(!0),l=void 0;o.__dom?(l=o.__dom,i.contains(o.__dom)||n.addDom(l)):l=n.add(o),n.markUsed(e);var s=l.getAttribute("id");t.setAttribute(a,"url(#"+s+")")}}))}},e.prototype.add=function(t){var e;if(kZ(t))e=this.createElement("linearGradient");else{if(!SZ(t))return dO("Illegal gradient type."),null;e=this.createElement("radialGradient")}return t.id=t.id||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-gradient-"+t.id),this.updateDom(t,e),this.addDom(e),e},e.prototype.update=function(t){if(CZ(t)){var e=this;this.doUpdate(t,(function(){var n=t.__dom;if(n){var a=n.tagName,r=t.type;"linear"===r&&"linearGradient"===a||"radial"===r&&"radialGradient"===a?e.updateDom(t,t.__dom):(e.removeDom(t),e.add(t))}}))}},e.prototype.updateDom=function(t,e){if(kZ(t))e.setAttribute("x1",t.x+""),e.setAttribute("y1",t.y+""),e.setAttribute("x2",t.x2+""),e.setAttribute("y2",t.y2+"");else{if(!SZ(t))return void dO("Illegal gradient type.");e.setAttribute("cx",t.x+""),e.setAttribute("cy",t.y+""),e.setAttribute("r",t.r+"")}t.global?e.setAttribute("gradientUnits","userSpaceOnUse"):e.setAttribute("gradientUnits","objectBoundingBox"),e.innerHTML="";for(var n=t.colorStops,a=0,r=n.length;a<r;++a){var o=this.createElement("stop");o.setAttribute("offset",100*n[a].offset+"%");var i=n[a].color;if(i.indexOf("rgba")>-1){var l=FT(i)[3],s=YT(i);o.setAttribute("stop-color","#"+s),o.setAttribute("stop-opacity",l+"")}else o.setAttribute("stop-color",n[a].color);e.appendChild(o)}t.__dom=e},e.prototype.markUsed=function(e){if(e.style){var n=e.style.fill;n&&n.__dom&&t.prototype.markDomUsed.call(this,n.__dom),(n=e.style.stroke)&&n.__dom&&t.prototype.markDomUsed.call(this,n.__dom)}},e}(_Z),OZ=MZ;function EZ(t){return t&&(!!t.image||!!t.svgElement)}var TZ=new fW,DZ=function(t){function e(e,n){return t.call(this,e,n,["pattern"],"__pattern_in_use__")||this}return d(e,t),e.prototype.addWithoutUpdate=function(t,e){if(e&&e.style){var n=this;_O(["fill","stroke"],(function(a){var r=e.style[a];if(EZ(r)){var o=n.getDefs(!0),i=TZ.get(r);i?o.contains(i)||n.addDom(i):i=n.add(r),n.markUsed(e);var l=i.getAttribute("id");t.setAttribute(a,"url(#"+l+")")}}))}},e.prototype.add=function(t){if(EZ(t)){var e=this.createElement("pattern");return t.id=null==t.id?this.nextId++:t.id,e.setAttribute("id","zr"+this._zrId+"-pattern-"+t.id),e.setAttribute("x","0"),e.setAttribute("y","0"),e.setAttribute("patternUnits","userSpaceOnUse"),this.updateDom(t,e),this.addDom(e),e}},e.prototype.update=function(t){if(EZ(t)){var e=this;this.doUpdate(t,(function(){var n=TZ.get(t);e.updateDom(t,n)}))}},e.prototype.updateDom=function(t,e){var n=t.svgElement;if(n instanceof SVGElement)n.parentNode!==e&&(e.innerHTML="",e.appendChild(n),e.setAttribute("width",t.svgWidth+""),e.setAttribute("height",t.svgHeight+""));else{var a=void 0,r=e.getElementsByTagName("image");if(r.length){if(!t.image)return void e.removeChild(r[0]);a=r[0]}else t.image&&(a=this.createElement("image"));if(a){var o=void 0,i=t.image;if("string"==typeof i?o=i:i instanceof HTMLImageElement?o=i.src:i instanceof HTMLCanvasElement&&(o=i.toDataURL()),o){a.setAttribute("href",o),a.setAttribute("x","0"),a.setAttribute("y","0");var l=iN(o,a,{dirty:function(){}},(function(t){e.setAttribute("width",t.width+""),e.setAttribute("height",t.height+"")}));l&&l.width&&l.height&&(e.setAttribute("width",l.width+""),e.setAttribute("height",l.height+"")),e.appendChild(a)}}}var s="translate("+(t.x||0)+", "+(t.y||0)+") rotate("+(t.rotation||0)/Math.PI*180+") scale("+(t.scaleX||1)+", "+(t.scaleY||1)+")";e.setAttribute("patternTransform",s),TZ.set(t,e)},e.prototype.markUsed=function(e){e.style&&(EZ(e.style.fill)&&t.prototype.markDomUsed.call(this,TZ.get(e.style.fill)),EZ(e.style.stroke)&&t.prototype.markDomUsed.call(this,TZ.get(e.style.stroke)))},e}(_Z),IZ=DZ;function PZ(t){var e=t.__clipPaths;return e&&e.length>0}var NZ=function(t){function e(e,n){var a=t.call(this,e,n,"clipPath","__clippath_in_use__")||this;return a._refGroups={},a._keyDuplicateCount={},a}return d(e,t),e.prototype.markAllUnused=function(){t.prototype.markAllUnused.call(this);var e=this._refGroups;for(var n in e)e.hasOwnProperty(n)&&this.markDomUnused(e[n]);this._keyDuplicateCount={}},e.prototype._getClipPathGroup=function(t,e){if(PZ(t)){var n=t.__clipPaths,a=this._keyDuplicateCount,r=function(t){var e=[];if(t)for(var n=0;n<t.length;n++){var a=t[n];e.push(a.id)}return e.join(",")}(n);return MW(n,e&&e.__clipPaths)&&(a[r]=a[r]||0,a[r]&&(r+="-"+a[r]),a[r]++),this._refGroups[r]||(this._refGroups[r]=this.createElement("g"))}},e.prototype.update=function(t,e){var n=this._getClipPathGroup(t,e);return n&&(this.markDomUsed(n),this.updateDom(n,t.__clipPaths)),n},e.prototype.updateDom=function(t,e){if(e&&e.length>0){var n=this.getDefs(!0),a=e[0],r=void 0,o=void 0;a._dom?(o=a._dom.getAttribute("id"),r=a._dom,n.contains(r)||n.appendChild(r)):(o="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,(r=this.createElement("clipPath")).setAttribute("id",o),n.appendChild(r),a._dom=r),this.getSvgProxy(a).brush(a);var i=this.getSvgElement(a);r.innerHTML="",r.appendChild(i),t.setAttribute("clip-path","url(#"+o+")"),e.length>1&&this.updateDom(r,e.slice(1))}else t&&t.setAttribute("clip-path","none")},e.prototype.markUsed=function(e){var n=this;e.__clipPaths&&_O(e.__clipPaths,(function(e){e._dom&&t.prototype.markDomUsed.call(n,e._dom)}))},e.prototype.removeUnused=function(){t.prototype.removeUnused.call(this);var e={},n=this._refGroups;for(var a in n)if(n.hasOwnProperty(a)){var r=n[a];this.isDomUnused(r)?r.parentNode&&r.parentNode.removeChild(r):e[a]=r}this._refGroups=e},e}(_Z),AZ=function(t){function e(e,n){var a=t.call(this,e,n,["filter"],"__filter_in_use__","_shadowDom")||this;return a._shadowDomMap={},a._shadowDomPool=[],a}return d(e,t),e.prototype._getFromPool=function(){var t=this._shadowDomPool.pop();if(!t){(t=this.createElement("filter")).setAttribute("id","zr"+this._zrId+"-shadow-"+this.nextId++);var e=this.createElement("feDropShadow");t.appendChild(e),this.addDom(t)}return t},e.prototype.update=function(t,e){if(function(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}(e.style)){var n=function(t){var e=t.style,n=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}(e),a=e._shadowDom=this._shadowDomMap[n];a||(a=this._getFromPool(),this._shadowDomMap[n]=a),this.updateDom(t,e,a)}else this.remove(t,e)},e.prototype.remove=function(t,e){null!=e._shadowDom&&(e._shadowDom=null,t.removeAttribute("filter"))},e.prototype.updateDom=function(t,e,n){var a=n.children[0],r=e.style,o=e.getGlobalScale(),i=o[0],l=o[1];if(i&&l){var s=r.shadowOffsetX||0,c=r.shadowOffsetY||0,u=r.shadowBlur,d=JX(r.shadowColor);a.setAttribute("dx",s/i+""),a.setAttribute("dy",c/l+""),a.setAttribute("flood-color",d.color),a.setAttribute("flood-opacity",d.opacity+"");var p=u/2/i+" "+u/2/l;a.setAttribute("stdDeviation",p),n.setAttribute("x","-100%"),n.setAttribute("y","-100%"),n.setAttribute("width","300%"),n.setAttribute("height","300%"),e._shadowDom=n;var f=n.getAttribute("id");t.setAttribute("filter","url(#"+f+")")}},e.prototype.removeUnused=function(){if(this.getDefs(!1)){var t=this._shadowDomPool,e=this._shadowDomMap;for(var n in e)e.hasOwnProperty(n)&&t.push(e[n]);this._shadowDomMap={}}},e}(_Z),zZ=AZ;function RZ(t){return parseInt(t,10)}function LZ(t){return t instanceof nz?bZ:t instanceof cz?vZ:t instanceof oz?xZ:bZ}function jZ(t,e){return e&&t&&e.parentNode!==t}function FZ(t,e,n){if(jZ(t,e)&&n){var a=n.nextSibling;a?t.insertBefore(e,a):t.appendChild(e)}}function BZ(t,e){if(jZ(t,e)){var n=t.firstChild;n?t.insertBefore(e,n):t.appendChild(e)}}function VZ(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function YZ(t){return t.__svgEl}var HZ=function(){function t(t,e,n,a){this.type="svg",this.refreshHover=WZ("refreshHover"),this.pathToImage=WZ("pathToImage"),this.configLayer=WZ("configLayer"),this.root=t,this.storage=e,this._opts=n=gO({},n||{});var r=ZX("svg");r.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns","http://www.w3.org/2000/svg"),r.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),r.setAttribute("version","1.1"),r.setAttribute("baseProfile","full"),r.style.cssText="user-select:none;position:absolute;left:0;top:0;";var o=ZX("g");r.appendChild(o);var i=ZX("g");r.appendChild(i),this._gradientManager=new OZ(a,i),this._patternManager=new IZ(a,i),this._clipPathManager=new NZ(a,i),this._shadowManager=new zZ(a,i);var l=document.createElement("div");l.style.cssText="overflow:hidden;position:relative",this._svgDom=r,this._svgRoot=i,this._backgroundRoot=o,this._viewport=l,t.appendChild(l),l.appendChild(r),this.resize(n.width,n.height),this._visibleList=[]}return t.prototype.getType=function(){return"svg"},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.getSvgRoot=function(){return this._svgRoot},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.refresh=function(){var t=this.storage.getDisplayList(!0);this._paintList(t)},t.prototype.setBackgroundColor=function(t){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var e=ZX("rect");e.setAttribute("width",this.getWidth()),e.setAttribute("height",this.getHeight()),e.setAttribute("x",0),e.setAttribute("y",0),e.setAttribute("id",0);var n=JX(t),a=n.color,r=n.opacity;e.setAttribute("fill",a),e.setAttribute("fill-opacity",r),this._backgroundRoot.appendChild(e),this._backgroundNode=e},t.prototype.createSVGElement=function(t){return ZX(t)},t.prototype.paintOne=function(t){var e=LZ(t);return e&&e.brush(t),YZ(t)},t.prototype._paintList=function(t){var e=this._gradientManager,n=this._patternManager,a=this._clipPathManager,r=this._shadowManager;e.markAllUnused(),n.markAllUnused(),a.markAllUnused(),r.markAllUnused();for(var o=this._svgRoot,i=this._visibleList,l=t.length,s=[],c=0;c<l;c++){var u=LZ(x=t[c]),d=YZ(x);x.invisible||(!x.__dirty&&d||(u&&u.brush(x),(d=YZ(x))&&x.style&&(e.update(x.style.fill),e.update(x.style.stroke),n.update(x.style.fill),n.update(x.style.stroke),r.update(d,x)),x.__dirty=0),d&&s.push(x))}var p,f,h,g,m,b=eZ(i,s);for(c=0;c<b.length;c++){if((y=b[c]).removed)for(var v=0;v<y.count;v++){d=YZ(x=i[y.indices[v]]);PZ(x)?(h=d)&&h.parentNode&&h.parentNode.removeChild(h):VZ(o,d)}}for(c=0;c<b.length;c++){var y;if(!(y=b[c]).removed)for(v=0;v<y.count;v++){var x=s[y.indices[v]],w=a.update(x,g);w!==m&&(p=f,w&&(p?FZ(o,w,p):BZ(o,w),f=w,p=null),m=w);d=YZ(x);p?FZ(m||o,d,p):BZ(m||o,d),p=d||p,m||(f=p),e.markUsed(x),e.addWithoutUpdate(d,x),n.markUsed(x),n.addWithoutUpdate(d,x),a.markUsed(x),g=x}}e.removeUnused(),n.removeUnused(),a.removeUnused(),r.removeUnused(),this._visibleList=s},t.prototype.resize=function(t,e){var n=this._viewport;n.style.display="none";var a=this._opts;if(null!=t&&(a.width=t),null!=e&&(a.height=e),t=this._getSize(0),e=this._getSize(1),n.style.display="",this._width!==t||this._height!==e){this._width=t,this._height=e;var r=n.style;r.width=t+"px",r.height=e+"px";var o=this._svgDom;o.setAttribute("width",t+""),o.setAttribute("height",e+"")}this._backgroundNode&&(this._backgroundNode.setAttribute("width",t),this._backgroundNode.setAttribute("height",e))},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t.prototype._getSize=function(t){var e=this._opts,n=["width","height"][t],a=["clientWidth","clientHeight"][t],r=["paddingLeft","paddingTop"][t],o=["paddingRight","paddingBottom"][t];if(null!=e[n]&&"auto"!==e[n])return parseFloat(e[n]);var i=this.root,l=document.defaultView.getComputedStyle(i);return(i[a]||RZ(l[n])||RZ(i.style[n]))-(RZ(l[r])||0)-(RZ(l[o])||0)|0},t.prototype.dispose=function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},t.prototype.clear=function(){var t=this._viewport;t&&t.parentNode&&t.parentNode.removeChild(t)},t.prototype.toDataURL=function(){this.refresh();var t=this._svgDom,e=t.outerHTML||(t.parentNode&&t.parentNode).innerHTML;return"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent(e.replace(/></g,">\n\r<"))},t}();function WZ(t){return function(){dO('In SVG mode painter not support method "'+t+'"')}}var UZ=HZ;function GZ(){return!1}function KZ(t,e,n){var a=bO(),r=e.getWidth(),o=e.getHeight(),i=a.style;return i&&(i.position="absolute",i.left="0",i.top="0",i.width=r+"px",i.height=o+"px",a.setAttribute("data-zr-dom-id",t)),a.width=r*n,a.height=o*n,a}var qZ=function(t){function e(e,n,a){var r,o=t.call(this)||this;o.motionBlur=!1,o.lastFrameAlpha=.7,o.dpr=1,o.virtual=!1,o.config={},o.incremental=!1,o.zlevel=0,o.maxRepaintRectCount=5,o.__dirty=!0,o.__firstTimePaint=!0,o.__used=!1,o.__drawIndex=0,o.__startIndex=0,o.__endIndex=0,o.__prevStartIndex=null,o.__prevEndIndex=null,a=a||zD,"string"==typeof e?r=KZ(e,n,a):zO(e)&&(e=(r=e).id),o.id=e,o.dom=r;var i=r.style;return i&&(r.onselectstart=GZ,i.webkitUserSelect="none",i.userSelect="none",i.webkitTapHighlightColor="rgba(0,0,0,0)",i["-webkit-touch-callout"]="none",i.padding="0",i.margin="0",i.borderWidth="0"),o.domBack=null,o.ctxBack=null,o.painter=n,o.config=null,o.dpr=a,o}return d(e,t),e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=KZ("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,e,n,a){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var r,o=[],i=this.maxRepaintRectCount,l=!1,s=new bI(0,0,0,0);function c(t){if(t.isFinite()&&!t.isZero())if(0===o.length){(e=new bI(0,0,0,0)).copy(t),o.push(e)}else{for(var e,n=!1,a=1/0,r=0,c=0;c<o.length;++c){var u=o[c];if(u.intersect(t)){var d=new bI(0,0,0,0);d.copy(u),d.union(t),o[c]=d,n=!0;break}if(l){s.copy(t),s.union(u);var p=t.width*t.height,f=u.width*u.height,h=s.width*s.height-p-f;h<a&&(a=h,r=c)}}if(l&&(o[r].union(t),n=!0),!n)(e=new bI(0,0,0,0)).copy(t),o.push(e);l||(l=o.length>=i)}}for(var u=this.__startIndex;u<this.__endIndex;++u){if(f=t[u]){var d=f.shouldBePainted(n,a,!0,!0);(h=f.__isRendered&&(1&f.__dirty||!d)?f.getPrevPaintRect():null)&&c(h);var p=d&&(1&f.__dirty||!f.__isRendered)?f.getPaintRect():null;p&&c(p)}}for(u=this.__prevStartIndex;u<this.__prevEndIndex;++u){var f,h;d=(f=e[u]).shouldBePainted(n,a,!0,!0);if(f&&(!d||!f.__zr)&&f.__isRendered)(h=f.getPrevPaintRect())&&c(h)}do{r=!1;for(u=0;u<o.length;)if(o[u].isZero())o.splice(u,1);else{for(var g=u+1;g<o.length;)o[u].intersect(o[g])?(r=!0,o[u].union(o[g]),o.splice(g,1)):g++;u++}}while(r);return this._paintRects=o,o},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var n=this.dpr,a=this.dom,r=a.style,o=this.domBack;r&&(r.width=t+"px",r.height=e+"px"),a.width=t*n,a.height=e*n,o&&(o.width=t*n,o.height=e*n,1!==n&&this.ctxBack.scale(n,n))},e.prototype.clear=function(t,e,n){var a=this.dom,r=this.ctx,o=a.width,i=a.height;e=e||this.clearColor;var l=this.motionBlur&&!t,s=this.lastFrameAlpha,c=this.dpr,u=this;l&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(a,0,0,o/c,i/c));var d=this.domBack;function p(t,n,a,o){if(r.clearRect(t,n,a,o),e&&"transparent"!==e){var i=void 0;FO(e)?(i=e.__canvasGradient||CW(r,e,{x:0,y:0,width:a,height:o}),e.__canvasGradient=i):BO(e)&&(i=AW(r,e,{dirty:function(){u.setUnpainted(),u.__painter.refresh()}})),r.save(),r.fillStyle=i||e,r.fillRect(t,n,a,o),r.restore()}l&&(r.save(),r.globalAlpha=s,r.drawImage(d,t,n,a,o),r.restore())}!n||l?p(0,0,o,i):n.length&&_O(n,(function(t){p(t.x*c,t.y*c,t.width*c,t.height*c)}))},e}(PE),XZ=qZ,ZZ=1e5,JZ=314159,$Z=.01;function QZ(t){return parseInt(t,10)}var tJ=function(){function t(t,e,n,a){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var r=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=n=gO({},n||{}),this.dpr=n.devicePixelRatio||zD,this._singleCanvas=r,this.root=t;var o=t.style;o&&(o.webkitTapHighlightColor="transparent",o.webkitUserSelect="none",o.userSelect="none",o["-webkit-touch-callout"]="none",t.innerHTML=""),this.storage=e;var i=this._zlevelList;this._prevDisplayList=[];var l=this._layers;if(r){var s=t,c=s.width,u=s.height;null!=n.width&&(c=n.width),null!=n.height&&(u=n.height),this.dpr=n.devicePixelRatio||1,s.width=c*this.dpr,s.height=u*this.dpr,this._width=c,this._height=u;var d=new XZ(s,this,this.dpr);d.__builtin__=!0,d.initContext(),l[314159]=d,d.zlevel=JZ,i.push(JZ),this._domRoot=t}else{this._width=this._getSize(0),this._height=this._getSize(1);var p=this._domRoot=function(t,e){var n=document.createElement("div");return n.style.cssText=["position:relative","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}(this._width,this._height);t.appendChild(p)}}return t.prototype.getType=function(){return"canvas"},t.prototype.isSingleCanvas=function(){return this._singleCanvas},t.prototype.getViewportRoot=function(){return this._domRoot},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.refresh=function(t){var e=this.storage.getDisplayList(!0),n=this._prevDisplayList,a=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,n,t,this._redrawId);for(var r=0;r<a.length;r++){var o=a[r],i=this._layers[o];if(!i.__builtin__&&i.refresh){var l=0===r?this._backgroundColor:null;i.refresh(l)}}return this._opts.useDirtyRect&&(this._prevDisplayList=e.slice()),this},t.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},t.prototype._paintHoverList=function(t){var e=t.length,n=this._hoverlayer;if(n&&n.clear(),e){for(var a,r={inHover:!0,viewWidth:this._width,viewHeight:this._height},o=0;o<e;o++){var i=t[o];i.__inHover&&(n||(n=this._hoverlayer=this.getLayer(ZZ)),a||(a=n.ctx).save(),HW(a,i,r,o===e-1))}a&&a.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(ZZ)},t.prototype.paintOne=function(t,e){YW(t,e)},t.prototype._paintList=function(t,e,n,a){if(this._redrawId===a){n=n||!1,this._updateLayerStatus(t);var r=this._doPaintList(t,e,n),o=r.finished,i=r.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),i&&this._paintHoverList(t),o)this.eachLayer((function(t){t.afterBrush&&t.afterBrush()}));else{var l=this;vT((function(){l._paintList(t,e,n,a)}))}}},t.prototype._compositeManually=function(){var t=this.getLayer(JZ).ctx,e=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,e,n),this.eachBuiltinLayer((function(a){a.virtual&&t.drawImage(a.dom,0,0,e,n)}))},t.prototype._doPaintList=function(t,e,n){for(var a=this,r=[],o=this._opts.useDirtyRect,i=0;i<this._zlevelList.length;i++){var l=this._zlevelList[i],s=this._layers[l];s.__builtin__&&s!==this._hoverlayer&&(s.__dirty||n)&&r.push(s)}for(var c=!0,u=!1,d=function(i){var l,s=r[i],d=s.ctx,f=o&&s.createRepaintRects(t,e,p._width,p._height),h=n?s.__startIndex:s.__drawIndex,g=!n&&s.incremental&&Date.now,m=g&&Date.now(),b=s.zlevel===p._zlevelList[0]?p._backgroundColor:null;if(s.__startIndex===s.__endIndex)s.clear(!1,b,f);else if(h===s.__startIndex){var v=t[h];v.incremental&&v.notClear&&!n||s.clear(!1,b,f)}-1===h&&(console.error("For some unknown reason. drawIndex is -1"),h=s.__startIndex);var y=function(e){var n={inHover:!1,allClipped:!1,prevEl:null,viewWidth:a._width,viewHeight:a._height};for(l=h;l<s.__endIndex;l++){var r=t[l];if(r.__inHover&&(u=!0),a._doPaintEl(r,s,o,e,n,l===s.__endIndex-1),g)if(Date.now()-m>15)break}n.prevElClipPaths&&d.restore()};if(f)if(0===f.length)l=s.__endIndex;else for(var x=p.dpr,w=0;w<f.length;++w){var _=f[w];d.save(),d.beginPath(),d.rect(_.x*x,_.y*x,_.width*x,_.height*x),d.clip(),y(_),d.restore()}else d.save(),y(),d.restore();s.__drawIndex=l,s.__drawIndex<s.__endIndex&&(c=!1)},p=this,f=0;f<r.length;f++)d(f);return XM.wxa&&_O(this._layers,(function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()})),{finished:c,needsRefreshHover:u}},t.prototype._doPaintEl=function(t,e,n,a,r,o){var i=e.ctx;if(n){var l=t.getPaintRect();(!a||l&&l.intersect(a))&&(HW(i,t,r,o),t.setPrevPaintRect(l))}else HW(i,t,r,o)},t.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=JZ);var n=this._layers[t];return n||((n=new XZ("zr_"+t,this,this.dpr)).zlevel=t,n.__builtin__=!0,this._layerConfig[t]?fO(n,this._layerConfig[t],!0):this._layerConfig[t-$Z]&&fO(n,this._layerConfig[t-$Z],!0),e&&(n.virtual=e),this.insertLayer(t,n),n.initContext()),n},t.prototype.insertLayer=function(t,e){var n=this._layers,a=this._zlevelList,r=a.length,o=this._domRoot,i=null,l=-1;if(n[t])dO("ZLevel "+t+" has been used already");else if(function(t){return!!t&&(!!t.__builtin__||"function"==typeof t.resize&&"function"==typeof t.refresh)}(e)){if(r>0&&t>a[0]){for(l=0;l<r-1&&!(a[l]<t&&a[l+1]>t);l++);i=n[a[l]]}if(a.splice(l+1,0,t),n[t]=e,!e.virtual)if(i){var s=i.dom;s.nextSibling?o.insertBefore(e.dom,s.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.__painter=this}else dO("Layer of zlevel "+t+" is not valid")},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,a=0;a<n.length;a++){var r=n[a];t.call(e,this._layers[r],r)}},t.prototype.eachBuiltinLayer=function(t,e){for(var n=this._zlevelList,a=0;a<n.length;a++){var r=n[a],o=this._layers[r];o.__builtin__&&t.call(e,o,r)}},t.prototype.eachOtherLayer=function(t,e){for(var n=this._zlevelList,a=0;a<n.length;a++){var r=n[a],o=this._layers[r];o.__builtin__||t.call(e,o,r)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(t){function e(t){o&&(o.__endIndex!==t&&(o.__dirty=!0),o.__endIndex=t)}if(this.eachBuiltinLayer((function(t,e){t.__dirty=t.__used=!1})),this._singleCanvas)for(var n=1;n<t.length;n++){if((l=t[n]).zlevel!==t[n-1].zlevel||l.incremental){this._needsManuallyCompositing=!0;break}}var a,r,o=null,i=0;for(r=0;r<t.length;r++){var l,s=(l=t[r]).zlevel,c=void 0;a!==s&&(a=s,i=0),l.incremental?((c=this.getLayer(s+.001,this._needsManuallyCompositing)).incremental=!0,i=1):c=this.getLayer(s+(i>0?$Z:0),this._needsManuallyCompositing),c.__builtin__||dO("ZLevel "+s+" has been used by unkown layer "+c.id),c!==o&&(c.__used=!0,c.__startIndex!==r&&(c.__dirty=!0),c.__startIndex=r,c.incremental?c.__drawIndex=-1:c.__drawIndex=r,e(r),o=c),1&l.__dirty&&!l.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=r))}e(r),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,_O(this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?fO(n[t],e,!0):n[t]=e;for(var a=0;a<this._zlevelList.length;a++){var r=this._zlevelList[a];if(r===t||r===t+$Z)fO(this._layers[r],n[t],!0)}}},t.prototype.delLayer=function(t){var e=this._layers,n=this._zlevelList,a=e[t];a&&(a.dom.parentNode.removeChild(a.dom),delete e[t],n.splice(vO(n,t),1))},t.prototype.resize=function(t,e){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var a=this._opts;if(null!=t&&(a.width=t),null!=e&&(a.height=e),t=this._getSize(0),e=this._getSize(1),n.style.display="",this._width!==t||e!==this._height){for(var r in n.style.width=t+"px",n.style.height=e+"px",this._layers)this._layers.hasOwnProperty(r)&&this._layers[r].resize(t,e);this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(JZ).resize(t,e)}return this},t.prototype.clearLayer=function(t){var e=this._layers[t];e&&e.clear()},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},t.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[314159].dom;var e=new XZ("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var n=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var a=e.dom.width,r=e.dom.height;this.eachLayer((function(t){t.__builtin__?n.drawImage(t.dom,0,0,a,r):t.renderToCanvas&&(n.save(),t.renderToCanvas(n),n.restore())}))}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},i=this.storage.getDisplayList(!0),l=0,s=i.length;l<s;l++){var c=i[l];HW(n,c,o,l===s-1)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t.prototype._getSize=function(t){var e=this._opts,n=["width","height"][t],a=["clientWidth","clientHeight"][t],r=["paddingLeft","paddingTop"][t],o=["paddingRight","paddingBottom"][t];if(null!=e[n]&&"auto"!==e[n])return parseFloat(e[n]);var i=this.root,l=document.defaultView.getComputedStyle(i);return(i[a]||QZ(l[n])||QZ(i.style[n]))-(QZ(l[r])||0)-(QZ(l[o])||0)|0},t.prototype.pathToImage=function(t,e){e=e||this.dpr;var n=document.createElement("canvas"),a=n.getContext("2d"),r=t.getBoundingRect(),o=t.style,i=o.shadowBlur*e,l=o.shadowOffsetX*e,s=o.shadowOffsetY*e,c=t.hasStroke()?o.lineWidth:0,u=Math.max(c/2,-l+i),d=Math.max(c/2,l+i),p=Math.max(c/2,-s+i),f=Math.max(c/2,s+i),h=r.width+u+d,g=r.height+p+f;n.width=h*e,n.height=g*e,a.scale(e,e),a.clearRect(0,0,h,g),a.dpr=e;var m={x:t.x,y:t.y,scaleX:t.scaleX,scaleY:t.scaleY,rotation:t.rotation,originX:t.originX,originY:t.originY};t.x=u-r.x,t.y=p-r.y,t.rotation=0,t.scaleX=1,t.scaleY=1,t.updateTransform(),t&&HW(a,t,{inHover:!1,viewWidth:this._width,viewHeight:this._height},!0);var b=new cz({style:{x:0,y:0,image:n}});return gO(t,m),b},t}(),eJ=tJ;function nJ(t){t.registerPainter("canvas",eJ)}var aJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return d(e,t),e.prototype.getInitialData=function(t){return RK(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var e=new VI,n=_W("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);e.add(n),n.setStyle(t.lineStyle);var a=this.getData().getVisual("symbol"),r=this.getData().getVisual("symbolRotate"),o="none"===a?"circle":a,i=.8*t.itemHeight,l=_W(o,(t.itemWidth-i)/2,(t.itemHeight-i)/2,i,i,t.itemStyle.fill);e.add(l),l.setStyle(t.itemStyle);var s="inherit"===t.iconRotate?r:t.iconRotate||0;return l.rotation=s*Math.PI/180,l.setOrigin([t.itemWidth/2,t.itemHeight/2]),o.indexOf("empty")>-1&&(l.style.stroke=l.style.fill,l.style.fill="#fff",l.style.lineWidth=2),e},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={zlevel:0,z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0,lineStyle:{width:"bolder"}},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"}},e}(eH);function rJ(t,e){var n=t.mapDimensionsAll("defaultedLabel"),a=n.length;if(1===a){var r=nY(t,e,n[0]);return null!=r?r+"":null}if(a){for(var o=[],i=0;i<n.length;i++)o.push(nY(t,e,n[i]));return o.join(" ")}}function oJ(t,e){var n=t.mapDimensionsAll("defaultedLabel");if(!DO(e))return e+"";for(var a=[],r=0;r<n.length;r++){var o=t.getDimensionIndex(n[r]);o>=0&&a.push(e[o])}return a.join(" ")}var iJ=function(t){function e(e,n,a,r){var o=t.call(this)||this;return o.updateData(e,n,a,r),o}return d(e,t),e.prototype._createSymbol=function(t,e,n,a,r){this.removeAll();var o=_W(t,-1,-1,2,2,null,r);o.attr({z2:100,culling:!0,scaleX:a[0]/2,scaleY:a[1]/2}),o.drift=lJ,this._symbolType=t,this.add(o)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){iR(this.childAt(0))},e.prototype.downplay=function(){lR(this.childAt(0))},e.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},e.prototype.setDraggable=function(t){var e=this.childAt(0);e.draggable=t,e.cursor=t?"move":e.cursor},e.prototype.updateData=function(t,n,a,r){this.silent=!1;var o=t.getItemVisual(n,"symbol")||"circle",i=t.hostModel,l=e.getSymbolSize(t,n),s=o!==this._symbolType,c=r&&r.disableAnimation;if(s){var u=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,t,n,l,u)}else{(p=this.childAt(0)).silent=!1;var d={scaleX:l[0]/2,scaleY:l[1]/2};c?p.attr(d):oj(p,d,i,n),dj(p)}if(this._updateCommon(t,n,l,a,r),s){var p=this.childAt(0);if(!c){d={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:p.style.opacity}};p.scaleX=p.scaleY=0,p.style.opacity=0,ij(p,d,i,n)}}c&&this.childAt(0).stopAnimation("remove"),this._seriesModel=i},e.prototype._updateCommon=function(t,e,n,a,r){var o,i,l,s,c,u,d,p,f=this.childAt(0),h=t.hostModel;if(a&&(o=a.emphasisItemStyle,i=a.blurItemStyle,l=a.selectItemStyle,s=a.focus,c=a.blurScope,u=a.labelStatesModels,d=a.hoverScale,p=a.cursorStyle),!a||t.hasItemOption){var g=a&&a.itemModel?a.itemModel:t.getItemModel(e),m=g.getModel("emphasis");o=m.getModel("itemStyle").getItemStyle(),l=g.getModel(["select","itemStyle"]).getItemStyle(),i=g.getModel(["blur","itemStyle"]).getItemStyle(),s=m.get("focus"),c=m.get("blurScope"),u=Hj(g),d=m.getShallow("scale"),p=g.getShallow("cursor")}var b=t.getItemVisual(e,"symbolRotate");f.attr("rotation",(b||0)*Math.PI/180||0);var v=SW(t.getItemVisual(e,"symbolOffset"),n);v&&(f.x=v[0],f.y=v[1]),p&&f.attr("cursor",p);var y=t.getItemVisual(e,"style"),x=y.fill;if(f instanceof cz){var w=f.style;f.useStyle(gO({image:w.image,x:w.x,y:w.y,width:w.width,height:w.height},y))}else f.__isEmptyBrush?f.useStyle(gO({},y)):f.useStyle(y),f.style.decal=null,f.setColor(x,r&&r.symbolInnerColor),f.style.strokeNoScale=!0;var _=t.getItemVisual(e,"liftZ"),k=this._z2;null!=_?null==k&&(this._z2=f.z2,f.z2+=_):null!=k&&(f.z2=k,this._z2=null);var S=r&&r.useNameLabel;Yj(f,u,{labelFetcher:h,labelDataIndex:e,defaultText:function(e){return S?t.getName(e):rJ(t,e)},inheritColor:x,defaultOpacity:y.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var C=f.ensureState("emphasis");if(C.style=o,f.ensureState("select").style=l,f.ensureState("blur").style=i,d){var M=Math.max(1.1,3/this._sizeY);C.scaleX=this._sizeX*M,C.scaleY=this._sizeY*M}this.setSymbolScale(1),yR(this,s,c)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e){var n=this.childAt(0),a=this._seriesModel,r=Dz(this).dataIndex,o=e&&e.animation;if(this.silent=n.silent=!0,e&&e.fadeLabel){var i=n.getTextContent();i&&sj(i,{style:{opacity:0}},a,{dataIndex:r,removeOpt:o,cb:function(){n.removeTextContent()}})}else n.removeTextContent();sj(n,{style:{opacity:0},scaleX:0,scaleY:0},a,{dataIndex:r,cb:t,removeOpt:o})},e.getSymbolSize=function(t,e){return kW(t.getItemVisual(e,"symbolSize"))},e}(VI);function lJ(t,e){this.parent.drift(t,e)}function sJ(t,e,n,a){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(a.isIgnore&&a.isIgnore(n))&&!(a.clipShape&&!a.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function cJ(t){return null==t||zO(t)||(t={isIgnore:t}),t||{}}function uJ(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),hoverScale:n.get("scale"),labelStatesModels:Hj(e),cursorStyle:e.get("cursor")}}var dJ=function(){function t(t){this.group=new VI,this._SymbolCtor=t||iJ}return t.prototype.updateData=function(t,e){e=cJ(e);var n=this.group,a=t.hostModel,r=this._data,o=this._SymbolCtor,i=e.disableAnimation,l=uJ(t),s={disableAnimation:i},c=e.getSymbolPoint||function(e){return t.getItemLayout(e)};r||n.removeAll(),t.diff(r).add((function(a){var r=c(a);if(sJ(t,r,a,e)){var i=new o(t,a,l,s);i.setPosition(r),t.setItemGraphicEl(a,i),n.add(i)}})).update((function(u,d){var p=r.getItemGraphicEl(d),f=c(u);if(sJ(t,f,u,e)){var h=t.getItemVisual(u,"symbol")||"circle",g=p&&p.getSymbolType&&p.getSymbolType();if(!p||g&&g!==h)n.remove(p),(p=new o(t,u,l,s)).setPosition(f);else{p.updateData(t,u,l,s);var m={x:f[0],y:f[1]};i?p.attr(m):oj(p,m,a)}n.add(p),t.setItemGraphicEl(u,p)}else n.remove(p)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}))})).execute(),this._getSymbolPoint=c,this._data=t},t.prototype.isPersistent=function(){return!0},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl((function(e,n){var a=t._getSymbolPoint(n);e.setPosition(a),e.markRedraw()}))},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=uJ(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function a(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}n=cJ(n);for(var r=t.start;r<t.end;r++){var o=e.getItemLayout(r);if(sJ(e,o,r,n)){var i=new this._SymbolCtor(e,r,this._seriesScope);i.traverse(a),i.setPosition(o),this.group.add(i),e.setItemGraphicEl(r,i)}}},t.prototype.remove=function(t){var e=this.group,n=this._data;n&&t?n.eachItemGraphicEl((function(t){t.fadeOut((function(){e.remove(t)}))})):e.removeAll()},t}();function pJ(t,e,n){var a=t.getBaseAxis(),r=t.getOtherAxis(a),o=function(t,e){var n=0,a=t.scale.getExtent();"start"===e?n=a[0]:"end"===e?n=a[1]:a[0]>0?n=a[0]:a[1]<0&&(n=a[1]);return n}(r,n),i=a.dim,l=r.dim,s=e.mapDimension(l),c=e.mapDimension(i),u="x"===l||"radius"===l?1:0,d=kO(t.dimensions,(function(t){return e.mapDimension(t)})),p=!1,f=e.getCalculationInfo("stackResultDimension");return AK(e,d[0])&&(p=!0,d[0]=f),AK(e,d[1])&&(p=!0,d[1]=f),{dataDimsForPoint:d,valueStart:o,valueAxisDim:l,baseAxisDim:i,stacked:!!p,valueDim:s,baseDim:c,baseDataOffset:u,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function fJ(t,e,n,a){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),a)),isNaN(r)&&(r=t.valueStart);var o=t.baseDataOffset,i=[];return i[o]=n.get(t.baseDim,a),i[1-o]=r,e.dataToPoint(i)}var hJ="undefined"!=typeof Float32Array,gJ=hJ?Float32Array:Array;function mJ(t){return DO(t)?hJ?new Float32Array(t):t:new gJ(t)}var bJ=Math.min,vJ=Math.max;function yJ(t,e){return isNaN(t)||isNaN(e)}function xJ(t,e,n,a,r,o,i,l,s){for(var c,u,d,p,f,h,g=n,m=0;m<a;m++){var b=e[2*g],v=e[2*g+1];if(g>=r||g<0)break;if(yJ(b,v)){if(s){g+=o;continue}break}if(g===n)t[o>0?"moveTo":"lineTo"](b,v),d=b,p=v;else{var y=b-c,x=v-u;if(y*y+x*x<.5){g+=o;continue}if(i>0){var w=g+o,_=e[2*w],k=e[2*w+1],S=m+1;if(s)for(;yJ(_,k)&&S<a;)S++,_=e[2*(w+=o)],k=e[2*w+1];var C=.5,M=0,O=0,E=void 0,T=void 0;if(S>=a||yJ(_,k))f=b,h=v;else{M=_-c,O=k-u;var D=b-c,I=_-b,P=v-u,N=k-v,A=void 0,z=void 0;"x"===l?(A=Math.abs(D),z=Math.abs(I),f=b-A*i,h=v,E=b+A*i,T=v):"y"===l?(A=Math.abs(P),z=Math.abs(N),f=b,h=v-A*i,E=b,T=v+A*i):(A=Math.sqrt(D*D+P*P),f=b-M*i*(1-(C=(z=Math.sqrt(I*I+N*N))/(z+A))),h=v-O*i*(1-C),T=v+O*i*C,E=bJ(E=b+M*i*C,vJ(_,b)),T=bJ(T,vJ(k,v)),E=vJ(E,bJ(_,b)),h=v-(O=(T=vJ(T,bJ(k,v)))-v)*A/z,f=bJ(f=b-(M=E-b)*A/z,vJ(c,b)),h=bJ(h,vJ(u,v)),E=b+(M=b-(f=vJ(f,bJ(c,b))))*z/A,T=v+(O=v-(h=vJ(h,bJ(u,v))))*z/A)}t.bezierCurveTo(d,p,f,h,b,v),d=E,p=T}else t.lineTo(b,v)}c=b,u=v,g+=o}return m}var wJ=function(){this.smooth=0,this.smoothConstraint=!0},_J=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return d(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new wJ},e.prototype.buildPath=function(t,e){var n=e.points,a=0,r=n.length/2;if(e.connectNulls){for(;r>0&&yJ(n[2*r-2],n[2*r-1]);r--);for(;a<r&&yJ(n[2*a],n[2*a+1]);a++);}for(;a<r;)a+=xJ(t,n,a,r,r,1,e.smooth,e.smoothMonotone,e.connectNulls)+1},e.prototype.getPointOn=function(t,e){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var n,a,r=this.path.data,o=zA.CMD,i="x"===e,l=[],s=0;s<r.length;){var c=void 0,u=void 0,d=void 0,p=void 0,f=void 0,h=void 0,g=void 0;switch(r[s++]){case o.M:n=r[s++],a=r[s++];break;case o.L:if(c=r[s++],u=r[s++],(g=i?(t-n)/(c-n):(t-a)/(u-a))<=1&&g>=0){var m=i?(u-a)*g+a:(c-n)*g+n;return i?[t,m]:[m,t]}n=c,a=u;break;case o.C:c=r[s++],u=r[s++],d=r[s++],p=r[s++],f=r[s++],h=r[s++];var b=i?HN(n,c,d,f,t,l):HN(a,u,p,h,t,l);if(b>0)for(var v=0;v<b;v++){var y=l[v];if(y<=1&&y>=0){m=i?VN(a,u,p,h,y):VN(n,c,d,f,y);return i?[t,m]:[m,t]}}n=f,a=h}}},e}(nz),kJ=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e}(wJ),SJ=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return d(e,t),e.prototype.getDefaultShape=function(){return new kJ},e.prototype.buildPath=function(t,e){var n=e.points,a=e.stackedOnPoints,r=0,o=n.length/2,i=e.smoothMonotone;if(e.connectNulls){for(;o>0&&yJ(n[2*o-2],n[2*o-1]);o--);for(;r<o&&yJ(n[2*r],n[2*r+1]);r++);}for(;r<o;){var l=xJ(t,n,r,o,o,1,e.smooth,i,e.connectNulls);xJ(t,a,r+l-1,l,o,-1,e.stackedOnSmooth,i,e.connectNulls),r+=l+1,t.closePath()}},e}(nz);function CJ(t,e,n,a,r){var o=t.getArea(),i=o.x,l=o.y,s=o.width,c=o.height,u=n.get(["lineStyle","width"])||2;i-=u/2,l-=u/2,s+=u,c+=u,i=Math.floor(i),s=Math.round(s);var d=new bz({shape:{x:i,y:l,width:s,height:c}});if(e){var p=t.getBaseAxis(),f=p.isHorizontal(),h=p.inverse;f?(h&&(d.shape.x+=s),d.shape.width=0):(h||(d.shape.y+=c),d.shape.height=0),ij(d,{shape:{width:s,height:c,x:i,y:l}},n,null,a,"function"==typeof r?function(t){r(t,d)}:null)}return d}function MJ(t,e,n){var a=t.getArea(),r=$I(a.r0,1),o=$I(a.r,1),i=new gL({shape:{cx:$I(t.cx,1),cy:$I(t.cy,1),r0:r,r:o,startAngle:a.startAngle,endAngle:a.endAngle,clockwise:a.clockwise}});e&&("angle"===t.getBaseAxis().dim?i.shape.endAngle=a.startAngle:i.shape.r=r,ij(i,{shape:{endAngle:a.endAngle,r:o}},n));return i}function OJ(t,e,n,a,r){return t?"polar"===t.type?MJ(t,e,n):"cartesian2d"===t.type?CJ(t,e,n,a,r):null:null}function EJ(t,e){return t.type===e}function TJ(t,e){if(t.length===e.length){for(var n=0;n<t.length;n++)if(t[n]!==e[n])return;return!0}}function DJ(t){for(var e=1/0,n=1/0,a=-1/0,r=-1/0,o=0;o<t.length;){var i=t[o++],l=t[o++];isNaN(i)||(e=Math.min(i,e),a=Math.max(i,a)),isNaN(l)||(n=Math.min(l,n),r=Math.max(l,r))}return[[e,n],[a,r]]}function IJ(t,e){var n=DJ(t),a=n[0],r=n[1],o=DJ(e),i=o[0],l=o[1];return Math.max(Math.abs(a[0]-i[0]),Math.abs(a[1]-i[1]),Math.abs(r[0]-l[0]),Math.abs(r[1]-l[1]))}function PJ(t){return"number"==typeof t?t:t?.5:0}function NJ(t,e,n){for(var a=e.getBaseAxis(),r="x"===a.dim||"radius"===a.dim?0:1,o=[],i=0,l=[],s=[],c=[];i<t.length-2;i+=2)switch(c[0]=t[i+2],c[1]=t[i+3],s[0]=t[i],s[1]=t[i+1],o.push(s[0],s[1]),n){case"end":l[r]=c[r],l[1-r]=s[1-r],o.push(l[0],l[1]);break;case"middle":var u=(s[r]+c[r])/2,d=[];l[r]=d[r]=u,l[1-r]=s[1-r],d[1-r]=c[1-r],o.push(l[0],l[1]),o.push(d[0],d[1]);break;default:l[r]=s[r],l[1-r]=c[1-r],o.push(l[0],l[1])}return o.push(t[i++],t[i++]),o}function AJ(t,e,n){var a=t.getVisual("visualMeta");if(a&&a.length&&t.count()&&"cartesian2d"===e.type){for(var r,o,i=a.length-1;i>=0;i--){var l=t.getDimensionInfo(a[i].dimension);if("x"===(r=l&&l.coordDim)||"y"===r){o=a[i];break}}if(o){var s=e.getAxis(r),c=kO(o.stops,(function(t){return{coord:s.toGlobalCoord(s.dataToCoord(t.value)),color:t.color}})),u=c.length,d=o.outerColors.slice();u&&c[0].coord>c[u-1].coord&&(c.reverse(),d.reverse());var p=function(t,e){var n,a,r=[],o=t.length;function i(t,e,n){var a=t.coord;return{coord:n,color:UT((n-a)/(e.coord-a),[t.color,e.color])}}for(var l=0;l<o;l++){var s=t[l],c=s.coord;if(c<0)n=s;else{if(c>e){a&&r.push(i(a,s,e));break}n&&(r.push(i(n,s,0)),n=null),r.push(s),a=s}}return r}(c,"x"===r?n.getWidth():n.getHeight()),f=p.length;if(!f&&u)return c[0].coord<0?d[1]?d[1]:c[u-1].color:d[0]?d[0]:c[0].color;var h=p[0].coord-0,g=p[f-1].coord+0,m=g-h;if(m<.001)return"transparent";_O(p,(function(t){t.offset=(t.coord-h)/m})),p.push({offset:f?p[f-1].offset:.5,color:d[1]||"transparent"}),p.unshift({offset:f?p[0].offset:.5,color:d[0]||"transparent"});var b=new WL(0,0,0,0,p,!0);return b[r]=h,b[r+"2"]=g,b}}}function zJ(t,e,n){var a=t.get("showAllSymbol"),r="auto"===a;if(!a||r){var o=n.getAxesByScale("ordinal")[0];if(o&&(!r||!function(t,e){var n=t.getExtent(),a=Math.abs(n[1]-n[0])/t.scale.count();isNaN(a)&&(a=0);for(var r=e.count(),o=Math.max(1,Math.round(r/5)),i=0;i<r;i+=o)if(1.5*iJ.getSymbolSize(e,i)[t.isHorizontal()?1:0]>a)return!1;return!0}(o,e))){var i=e.mapDimension(o.dim),l={};return _O(o.getViewLabels(),(function(t){var e=o.scale.getRawOrdinalNumber(t.tickValue);l[e]=1})),function(t){return!l.hasOwnProperty(e.get(i,t))}}}}function RJ(t,e){return isNaN(t)||isNaN(e)}function LJ(t,e){return[t[2*e],t[2*e+1]]}function jJ(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e<zz.length;e++)if(t.get([zz[e],"endLabel","show"]))return!0;return!1}function FJ(t,e,n,a){if(EJ(e,"cartesian2d")){var r=a.getModel("endLabel"),o=r.get("valueAnimation"),i=a.getData(),l={lastFrameIndex:0},s=jJ(a)?function(n,a){t._endLabelOnDuring(n,a,i,l,o,r,e)}:null,c=e.getBaseAxis().isHorizontal(),u=CJ(e,n,a,(function(){var e=t._endLabel;e&&n&&null!=l.originalX&&e.attr({x:l.originalX,y:l.originalY})}),s);if(!a.get("clip",!0)){var d=u.shape,p=Math.max(d.width,d.height);c?(d.y-=p,d.height+=2*p):(d.x-=p,d.width+=2*p)}return s&&s(1,u),u}return MJ(e,n,a)}var BJ=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.prototype.init=function(){var t=new VI,e=new dJ;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},e.prototype.render=function(t,e,n){var a=this,r=t.coordinateSystem,o=this.group,i=t.getData(),l=t.getModel("lineStyle"),s=t.getModel("areaStyle"),c=i.getLayout("points")||[],u="polar"===r.type,d=this._coordSys,p=this._symbolDraw,f=this._polyline,h=this._polygon,g=this._lineGroup,m=t.get("animation"),b=!s.isEmpty(),v=s.get("origin"),y=pJ(r,i,v),x=b&&function(t,e,n){if(!n.valueDim)return[];for(var a=e.count(),r=mJ(2*a),o=0;o<a;o++){var i=fJ(n,t,e,o);r[2*o]=i[0],r[2*o+1]=i[1]}return r}(r,i,y),w=t.get("showSymbol"),_=w&&!u&&zJ(t,i,r),k=this._data;k&&k.eachItemGraphicEl((function(t,e){t.__temp&&(o.remove(t),k.setItemGraphicEl(e,null))})),w||p.remove(),o.add(g);var S,C=!u&&t.get("step");r&&r.getArea&&t.get("clip",!0)&&(null!=(S=r.getArea()).width?(S.x-=.1,S.y-=.1,S.width+=.2,S.height+=.2):S.r0&&(S.r0-=.5,S.r+=.5)),this._clipShapeForSymbol=S;var M=AJ(i,r,n)||i.getVisual("style")[i.getVisual("drawType")];if(f&&d.type===r.type&&C===this._step){b&&!h?h=this._newPolygon(c,x):h&&!b&&(g.remove(h),h=this._polygon=null),u||this._initOrUpdateEndLabel(t,r,cB(M));var O=g.getClipPath();if(O)ij(O,{shape:FJ(this,r,!1,t).shape},t);else g.setClipPath(FJ(this,r,!0,t));w&&p.updateData(i,{isIgnore:_,clipShape:S,disableAnimation:!0,getSymbolPoint:function(t){return[c[2*t],c[2*t+1]]}}),TJ(this._stackedOnPoints,x)&&TJ(this._points,c)||(m?this._doUpdateAnimation(i,x,r,n,C,v):(C&&(c=NJ(c,r,C),x&&(x=NJ(x,r,C))),f.setShape({points:c}),h&&h.setShape({points:c,stackedOnPoints:x})))}else w&&p.updateData(i,{isIgnore:_,clipShape:S,disableAnimation:!0,getSymbolPoint:function(t){return[c[2*t],c[2*t+1]]}}),m&&this._initSymbolLabelAnimation(i,r,S),C&&(c=NJ(c,r,C),x&&(x=NJ(x,r,C))),f=this._newPolyline(c),b&&(h=this._newPolygon(c,x)),u||this._initOrUpdateEndLabel(t,r,cB(M)),g.setClipPath(FJ(this,r,!0,t));var E=t.get(["emphasis","focus"]),T=t.get(["emphasis","blurScope"]);(f.useStyle(mO(l.getLineStyle(),{fill:"none",stroke:M,lineJoin:"bevel"})),kR(f,t,"lineStyle"),f.style.lineWidth>0&&"bolder"===t.get(["emphasis","lineStyle","width"]))&&(f.getState("emphasis").style.lineWidth=+f.style.lineWidth+1);Dz(f).seriesIndex=t.seriesIndex,yR(f,E,T);var D=PJ(t.get("smooth")),I=t.get("smoothMonotone"),P=t.get("connectNulls");if(f.setShape({smooth:D,smoothMonotone:I,connectNulls:P}),h){var N=i.getCalculationInfo("stackedOnSeries"),A=0;h.useStyle(mO(s.getAreaStyle(),{fill:M,opacity:.7,lineJoin:"bevel",decal:i.getVisual("style").decal})),N&&(A=PJ(N.get("smooth"))),h.setShape({smooth:D,stackedOnSmooth:A,smoothMonotone:I,connectNulls:P}),kR(h,t,"areaStyle"),Dz(h).seriesIndex=t.seriesIndex,yR(h,E,T)}var z=function(t){a._changePolyState(t)};i.eachItemGraphicEl((function(t){t&&(t.onHoverStateChange=z)})),this._polyline.onHoverStateChange=z,this._data=i,this._coordSys=r,this._stackedOnPoints=x,this._points=c,this._step=C,this._valueOrigin=v},e.prototype.dispose=function(){},e.prototype.highlight=function(t,e,n,a){var r=t.getData(),o=AP(r,a);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var i=r.getLayout("points"),l=r.getItemGraphicEl(o);if(!l){var s=i[2*o],c=i[2*o+1];if(isNaN(s)||isNaN(c))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(s,c))return;var u=t.get("zlevel"),d=t.get("z");(l=new iJ(r,o)).x=s,l.y=c,l.setZ(u,d);var p=l.getSymbolPath().getTextContent();p&&(p.zlevel=u,p.z=d,p.z2=this._polyline.z2+1),l.__temp=!0,r.setItemGraphicEl(o,l),l.stopSymbolAnimation(!0),this.group.add(l)}l.highlight()}else fH.prototype.highlight.call(this,t,e,n,a)},e.prototype.downplay=function(t,e,n,a){var r=t.getData(),o=AP(r,a);if(this._changePolyState("normal"),null!=o&&o>=0){var i=r.getItemGraphicEl(o);i&&(i.__temp?(r.setItemGraphicEl(o,null),this.group.remove(i)):i.downplay())}else fH.prototype.downplay.call(this,t,e,n,a)},e.prototype._changePolyState=function(t){var e=this._polygon;eR(this._polyline,t),e&&eR(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new _J({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new SJ({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,e,n){var a,r,o=e.getBaseAxis(),i=o.inverse;"cartesian2d"===e.type?(a=o.isHorizontal(),r=!1):"polar"===e.type&&(a="angle"===o.dim,r=!0);var l=t.hostModel,s=l.get("animationDuration");"function"==typeof s&&(s=s(null));var c=l.get("animationDelay")||0,u="function"==typeof c?c(null):c;t.eachItemGraphicEl((function(t,o){var l=t;if(l){var d=[t.x,t.y],p=void 0,f=void 0,h=void 0;if(n)if(r){var g=n,m=e.pointToCoord(d);a?(p=g.startAngle,f=g.endAngle,h=-m[1]/180*Math.PI):(p=g.r0,f=g.r,h=m[0])}else{var b=n;a?(p=b.x,f=b.x+b.width,h=t.x):(p=b.y+b.height,f=b.y,h=t.y)}var v=f===p?0:(h-p)/(f-p);i&&(v=1-v);var y="function"==typeof c?c(o):s*v+u,x=l.getSymbolPath(),w=x.getTextContent();l.attr({scaleX:0,scaleY:0}),l.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:y}),w&&w.animateFrom({style:{opacity:0}},{duration:300,delay:y}),x.disableLabelAnimation=!0}}))},e.prototype._initOrUpdateEndLabel=function(t,e,n){var a=t.getModel("endLabel");if(jJ(t)){var r=t.getData(),o=this._polyline,i=this._endLabel;i||((i=this._endLabel=new Tz({z2:200})).ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=function(t){for(var e=t.length/2;e>0&&RJ(t[2*e-2],t[2*e-1]);e--);return e-1}(r.getLayout("points"));l>=0&&(Yj(o,Hj(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:l,defaultText:function(t,e,n){return null!=n?oJ(r,n):rJ(r,t)},enableTextSetter:!0},function(t,e){var n=e.getBaseAxis(),a=n.isHorizontal(),r=n.inverse,o=a?r?"right":"left":"center",i=a?"middle":r?"top":"bottom";return{normal:{align:t.get("align")||o,verticalAlign:t.get("verticalAlign")||i}}}(a,e)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,n,a,r,o,i){var l=this._endLabel,s=this._polyline;if(l){t<1&&null==a.originalX&&(a.originalX=l.x,a.originalY=l.y);var c=n.getLayout("points"),u=n.hostModel,d=u.get("connectNulls"),p=o.get("precision"),f=o.get("distance")||0,h=i.getBaseAxis(),g=h.isHorizontal(),m=h.inverse,b=e.shape,v=m?g?b.x:b.y+b.height:g?b.x+b.width:b.y,y=(g?f:0)*(m?-1:1),x=(g?0:-f)*(m?-1:1),w=g?"x":"y",_=function(t,e,n){for(var a,r,o=t.length/2,i="x"===n?0:1,l=0,s=-1,c=0;c<o;c++)if(r=t[2*c+i],!isNaN(r)&&!isNaN(t[2*c+1-i]))if(0!==c){if(a<=e&&r>=e||a>=e&&r<=e){s=c;break}l=c,a=r}else a=r;return{range:[l,s],t:(e-a)/(r-a)}}(c,v,w),k=_.range,S=k[1]-k[0],C=void 0;if(S>=1){if(S>1&&!d){var M=LJ(c,k[0]);l.attr({x:M[0]+y,y:M[1]+x}),r&&(C=u.getRawValue(k[0]))}else{(M=s.getPointOn(v,w))&&l.attr({x:M[0]+y,y:M[1]+x});var O=u.getRawValue(k[0]),E=u.getRawValue(k[1]);r&&(C=WP(n,p,O,E,_.t))}a.lastFrameIndex=k[0]}else{var T=1===t||a.lastFrameIndex>0?k[0]:0;M=LJ(c,T);r&&(C=u.getRawValue(T)),l.attr({x:M[0]+y,y:M[1]+x})}r&&Jj(l).setLabelText(C)}},e.prototype._doUpdateAnimation=function(t,e,n,a,r,o){var i=this._polyline,l=this._polygon,s=t.hostModel,c=function(t,e,n,a,r,o,i,l){for(var s=function(t,e){var n=[];return e.diff(t).add((function(t){n.push({cmd:"+",idx:t})})).update((function(t,e){n.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){n.push({cmd:"-",idx:t})})).execute(),n}(t,e),c=[],u=[],d=[],p=[],f=[],h=[],g=[],m=pJ(r,e,i),b=t.getLayout("points")||[],v=e.getLayout("points")||[],y=0;y<s.length;y++){var x=s[y],w=!0,_=void 0,k=void 0;switch(x.cmd){case"=":_=2*x.idx,k=2*x.idx1;var S=b[_],C=b[_+1],M=v[k],O=v[k+1];(isNaN(S)||isNaN(C))&&(S=M,C=O),c.push(S,C),u.push(M,O),d.push(n[_],n[_+1]),p.push(a[k],a[k+1]),g.push(e.getRawIndex(x.idx1));break;case"+":var E=x.idx,T=m.dataDimsForPoint,D=r.dataToPoint([e.get(T[0],E),e.get(T[1],E)]);k=2*E,c.push(D[0],D[1]),u.push(v[k],v[k+1]);var I=fJ(m,r,e,E);d.push(I[0],I[1]),p.push(a[k],a[k+1]),g.push(e.getRawIndex(E));break;case"-":w=!1}w&&(f.push(x),h.push(h.length))}h.sort((function(t,e){return g[t]-g[e]}));var P=c.length,N=mJ(P),A=mJ(P),z=mJ(P),R=mJ(P),L=[];for(y=0;y<h.length;y++){var j=h[y],F=2*y,B=2*j;N[F]=c[B],N[F+1]=c[B+1],A[F]=u[B],A[F+1]=u[B+1],z[F]=d[B],z[F+1]=d[B+1],R[F]=p[B],R[F+1]=p[B+1],L[y]=f[j]}return{current:N,next:A,stackedOnCurrent:z,stackedOnNext:R,status:L}}(this._data,t,this._stackedOnPoints,e,this._coordSys,0,this._valueOrigin),u=c.current,d=c.stackedOnCurrent,p=c.next,f=c.stackedOnNext;if(r&&(u=NJ(c.current,n,r),d=NJ(c.stackedOnCurrent,n,r),p=NJ(c.next,n,r),f=NJ(c.stackedOnNext,n,r)),IJ(u,p)>3e3||l&&IJ(d,f)>3e3)return i.stopAnimation(),i.setShape({points:p}),void(l&&(l.stopAnimation(),l.setShape({points:p,stackedOnPoints:f})));i.shape.__points=c.current,i.shape.points=u;var h={shape:{points:p}};c.current!==u&&(h.shape.__points=c.next),i.stopAnimation(),oj(i,h,s),l&&(l.setShape({points:u,stackedOnPoints:d}),l.stopAnimation(),oj(l,{shape:{stackedOnPoints:f}},s),i.shape.points!==l.shape.points&&(l.shape.points=i.shape.points));for(var g=[],m=c.status,b=0;b<m.length;b++){if("="===m[b].cmd){var v=t.getItemGraphicEl(m[b].idx1);v&&g.push({el:v,ptIdx:b})}}i.animators&&i.animators.length&&i.animators[0].during((function(){l&&l.dirtyShape();for(var t=i.shape.__points,e=0;e<g.length;e++){var n=g[e].el,a=2*g[e].ptIdx;n.x=t[a],n.y=t[a+1],n.markRedraw()}}))},e.prototype.remove=function(t){var e=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl((function(t,a){t.__temp&&(e.remove(t),n.setItemGraphicEl(a,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},e.type="line",e}(fH);function VJ(t,e){return{seriesType:t,plan:uH(),reset:function(t){var n=t.getData(),a=t.coordinateSystem,r=t.pipelineContext,o=e||r.large;if(a){var i=kO(a.dimensions,(function(t){return n.mapDimension(t)})).slice(0,2),l=i.length,s=n.getCalculationInfo("stackResultDimension");AK(n,i[0])&&(i[0]=s),AK(n,i[1])&&(i[1]=s);var c=n.getStore(),u=n.getDimensionIndex(i[0]),d=n.getDimensionIndex(i[1]);return l&&{progress:function(t,e){for(var n=t.end-t.start,r=o&&mJ(n*l),i=[],s=[],p=t.start,f=0;p<t.end;p++){var h=void 0;if(1===l){var g=c.get(u,p);h=a.dataToPoint(g,null,s)}else i[0]=c.get(u,p),i[1]=c.get(d,p),h=a.dataToPoint(i,null,s);o?(r[f++]=h[0],r[f++]=h[1]):e.setItemLayout(p,h.slice())}o&&e.setLayout("points",r)}}}}}}var YJ={average:function(t){for(var e=0,n=0,a=0;a<t.length;a++)isNaN(t[a])||(e+=t[a],n++);return 0===n?NaN:e/n},sum:function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n]||0;return e},max:function(t){for(var e=-1/0,n=0;n<t.length;n++)t[n]>e&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n<t.length;n++)t[n]<e&&(e=t[n]);return isFinite(e)?e:NaN},nearest:function(t){return t[0]}},HJ=function(t){return Math.round(t.length/2)};function WJ(t){return{seriesType:t,reset:function(t,e,n){var a=t.getData(),r=t.get("sampling"),o=t.coordinateSystem,i=a.count();if(i>10&&"cartesian2d"===o.type&&r){var l=o.getBaseAxis(),s=o.getOtherAxis(l),c=l.getExtent(),u=n.getDevicePixelRatio(),d=Math.abs(c[1]-c[0])*(u||1),p=Math.round(i/d);if(p>1){"lttb"===r&&t.setData(a.lttbDownSample(a.mapDimension(s.dim),1/p));var f=void 0;"string"==typeof r?f=YJ[r]:"function"==typeof r&&(f=r),f&&t.setData(a.downSample(a.mapDimension(s.dim),1/p,f,HJ))}}}}}function UJ(t){t.registerChartView(BJ),t.registerSeriesModel(aJ),t.registerLayout(VJ("line",!0)),t.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",n)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,WJ("line"))}var GJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.getInitialData=function(t,e){return RK(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t){var e=this.coordinateSystem;if(e&&e.clampData){var n=e.dataToPoint(e.clampData(t)),a=this.getData(),r=a.getLayout("offset"),o=a.getLayout("size");return n[e.getBaseAxis().isHorizontal()?0:1]+=r+o/2,n}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(eH);eH.registerClass(GJ);var KJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.getInitialData=function(){return RK(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},e.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t},e.prototype.brushSelector=function(t,e,n){return n.rect(e.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=hF(GJ.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),e}(GJ),qJ=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},XJ=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return d(e,t),e.prototype.getDefaultShape=function(){return new qJ},e.prototype.buildPath=function(t,e){var n=e.cx,a=e.cy,r=Math.max(e.r0||0,0),o=Math.max(e.r,0),i=.5*(o-r),l=r+i,s=e.startAngle,c=e.endAngle,u=e.clockwise,d=Math.cos(s),p=Math.sin(s),f=Math.cos(c),h=Math.sin(c);(u?c-s<2*Math.PI:s-c<2*Math.PI)&&(t.moveTo(d*r+n,p*r+a),t.arc(d*l+n,p*l+a,i,-Math.PI+s,s,!u)),t.arc(n,a,o,s,c,!u),t.moveTo(f*o+n,h*o+a),t.arc(f*l+n,h*l+a,i,c-2*Math.PI,c-Math.PI,!u),0!==r&&(t.arc(n,a,r,c,s,u),t.moveTo(d*r+n,h*r+a)),t.closePath()},e}(nz);function ZJ(t,e,n){return e*Math.sin(t)*(n?-1:1)}function JJ(t,e,n){return e*Math.cos(t)*(n?1:-1)}var $J=[0,0],QJ=Math.max,t$=Math.min;var e$=function(t){function e(){var n=t.call(this)||this;return n.type=e.type,n._isFirstFrame=!0,n}return d(e,t),e.prototype.render=function(t,e,n,a){this._model=t,this._removeOnRenderedListener(n),this._updateDrawMode(t);var r=t.get("coordinateSystem");"cartesian2d"!==r&&"polar"!==r||(this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n,a))},e.prototype.incrementalPrepareRender=function(t){this._clear(),this._updateDrawMode(t),this._updateLargeClip(t)},e.prototype.incrementalRender=function(t,e){this._incrementalRenderLarge(t,e)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t,e,n,a){var r,o=this.group,i=t.getData(),l=this._data,s=t.coordinateSystem,c=s.getBaseAxis();"cartesian2d"===s.type?r=c.isHorizontal():"polar"===s.type&&(r="angle"===c.dim);var u=t.isAnimationEnabled()?t:null,d=function(t,e){var n=t.get("realtimeSort",!0),a=e.getBaseAxis();if(n&&"category"===a.type&&"cartesian2d"===e.type)return{baseAxis:a,otherAxis:e.getOtherAxis(a)}}(t,s);d&&this._enableRealtimeSort(d,i,n);var p=t.get("clip",!0)||d,f=function(t,e){var n=t.getArea&&t.getArea();if(EJ(t,"cartesian2d")){var a=t.getBaseAxis();if("category"!==a.type||!a.onBand){var r=e.getLayout("bandWidth");a.isHorizontal()?(n.x-=r,n.width+=2*r):(n.y-=r,n.height+=2*r)}}return n}(s,i);o.removeClipPath();var h=t.get("roundCap",!0),g=t.get("showBackground",!0),m=t.getModel("backgroundStyle"),b=m.get("borderRadius")||0,v=[],y=this._backgroundEls,x=a&&a.isInitSort,w=a&&"changeAxisOrder"===a.type;function _(t){var e=c$[s.type](i,t),n=function(t,e,n){return new("polar"===t.type?gL:bz)({shape:m$(e,n,t),silent:!0,z2:0})}(s,r,e);return n.useStyle(m.getItemStyle()),"cartesian2d"===s.type&&n.setShape("r",b),v[t]=n,n}i.diff(l).add((function(e){var n=i.getItemModel(e),a=c$[s.type](i,e,n);if(g&&_(e),i.hasValue(e)&&s$[s.type](a)){var l=!1;p&&(l=n$[s.type](f,a));var m=a$[s.type](t,i,e,a,r,u,c.model,!1,h);d$(m,i,e,n,a,t,r,"polar"===s.type),x?m.attr({shape:a}):d?r$(d,u,m,a,e,r,!1,!1):ij(m,{shape:a},t,e),i.setItemGraphicEl(e,m),o.add(m),m.ignore=l}})).update((function(e,n){var a=i.getItemModel(e),k=c$[s.type](i,e,a);if(g){var S=void 0;0===y.length?S=_(n):((S=y[n]).useStyle(m.getItemStyle()),"cartesian2d"===s.type&&S.setShape("r",b),v[e]=S);var C=c$[s.type](i,e);oj(S,{shape:m$(r,C,s)},u,e)}var M=l.getItemGraphicEl(n);if(i.hasValue(e)&&s$[s.type](k)){var O=!1;p&&(O=n$[s.type](f,k))&&o.remove(M),M?dj(M):M=a$[s.type](t,i,e,k,r,u,c.model,!!M,h),w||d$(M,i,e,a,k,t,r,"polar"===s.type),x?M.attr({shape:k}):d?r$(d,u,M,k,e,r,!0,w):oj(M,{shape:k},t,e,null),i.setItemGraphicEl(e,M),M.ignore=O,o.add(M)}else o.remove(M)})).remove((function(e){var n=l.getItemGraphicEl(e);n&&uj(n,t,e)})).execute();var k=this._backgroundGroup||(this._backgroundGroup=new VI);k.removeAll();for(var S=0;S<v.length;++S)k.add(v[S]);o.add(k),this._backgroundEls=v,this._data=i},e.prototype._renderLarge=function(t,e,n){this._clear(),h$(t,this.group),this._updateLargeClip(t)},e.prototype._incrementalRenderLarge=function(t,e){this._removeBackground(),h$(e,this.group,!0)},e.prototype._updateLargeClip=function(t){var e=t.get("clip",!0)?OJ(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._enableRealtimeSort=function(t,e,n){var a=this;if(e.count()){var r=t.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(e,t,n),this._isFirstFrame=!1;else{var o=function(t){var n=e.getItemGraphicEl(t);if(n){var a=n.shape;return(r.isHorizontal()?Math.abs(a.height):Math.abs(a.width))||0}return 0};this._onRendered=function(){a._updateSortWithinSameData(e,o,r,n)},n.getZr().on("rendered",this._onRendered)}}},e.prototype._dataSort=function(t,e,n){var a=[];return t.each(t.mapDimension(e.dim),(function(t,e){var r=n(e);r=null==r?NaN:r,a.push({dataIndex:e,mappedValue:r,ordinalNumber:t})})),a.sort((function(t,e){return e.mappedValue-t.mappedValue})),{ordinalNumbers:kO(a,(function(t){return t.ordinalNumber}))}},e.prototype._isOrderChangedWithinSameData=function(t,e,n){for(var a=n.scale,r=t.mapDimension(n.dim),o=Number.MAX_VALUE,i=0,l=a.getOrdinalMeta().categories.length;i<l;++i){var s=t.rawIndexOf(r,a.getRawOrdinalNumber(i)),c=s<0?Number.MIN_VALUE:e(t.indexOfRawIndex(s));if(c>o)return!0;o=c}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,a=n.getExtent(),r=Math.max(0,a[0]),o=Math.min(a[1],n.getOrdinalMeta().categories.length-1);r<=o;++r)if(t.ordinalNumbers[r]!==n.getRawOrdinalNumber(r))return!0},e.prototype._updateSortWithinSameData=function(t,e,n,a){if(this._isOrderChangedWithinSameData(t,e,n)){var r=this._dataSort(t,n,e);this._isOrderDifferentInView(r,n)&&(this._removeOnRenderedListener(a),a.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:r}))}},e.prototype._dispatchInitSort=function(t,e,n){var a=e.baseAxis,r=this._dataSort(t,a,(function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:a.dim+"Axis",isInitSort:!0,axisId:a.index,sortInfo:r})},e.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},e.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(e){uj(e,t,Dz(e).dataIndex)}))):e.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(fH),n$={cartesian2d:function(t,e){var n=e.width<0?-1:1,a=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),a<0&&(e.y+=e.height,e.height=-e.height);var r=t.x+t.width,o=t.y+t.height,i=QJ(e.x,t.x),l=t$(e.x+e.width,r),s=QJ(e.y,t.y),c=t$(e.y+e.height,o),u=l<i,d=c<s;return e.x=u&&i>r?l:i,e.y=d&&s>o?c:s,e.width=u?0:l-i,e.height=d?0:c-s,n<0&&(e.x+=e.width,e.width=-e.width),a<0&&(e.y+=e.height,e.height=-e.height),u||d},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var a=e.r;e.r=e.r0,e.r0=a}var r=t$(e.r,t.r),o=QJ(e.r0,t.r0);e.r=r,e.r0=o;var i=r-o<0;if(n<0){a=e.r;e.r=e.r0,e.r0=a}return i}},a$={cartesian2d:function(t,e,n,a,r,o,i,l,s){var c=new bz({shape:gO({},a),z2:1});(c.__dataIndex=n,c.name="item",o)&&(c.shape[r?"height":"width"]=0);return c},polar:function(t,e,n,a,r,o,i,l,s){var c=!r&&s?XJ:gL,u=new c({shape:a,z2:1});u.name="item";var d,p,f=u$(r);if(u.calculateTextPosition=(d=f,p=({isRoundCap:c===XJ}||{}).isRoundCap,function(t,e,n){var a=e.position;if(!a||a instanceof Array)return EI(t,e,n);var r=d(a),o=null!=e.distance?e.distance:5,i=this.shape,l=i.cx,s=i.cy,c=i.r,u=i.r0,f=(c+u)/2,h=i.startAngle,g=i.endAngle,m=(h+g)/2,b=p?Math.abs(c-u)/2:0,v=Math.cos,y=Math.sin,x=l+c*v(h),w=s+c*y(h),_="left",k="top";switch(r){case"startArc":x=l+(u-o)*v(m),w=s+(u-o)*y(m),_="center",k="top";break;case"insideStartArc":x=l+(u+o)*v(m),w=s+(u+o)*y(m),_="center",k="bottom";break;case"startAngle":x=l+f*v(h)+ZJ(h,o+b,!1),w=s+f*y(h)+JJ(h,o+b,!1),_="right",k="middle";break;case"insideStartAngle":x=l+f*v(h)+ZJ(h,-o+b,!1),w=s+f*y(h)+JJ(h,-o+b,!1),_="left",k="middle";break;case"middle":x=l+f*v(m),w=s+f*y(m),_="center",k="middle";break;case"endArc":x=l+(c+o)*v(m),w=s+(c+o)*y(m),_="center",k="bottom";break;case"insideEndArc":x=l+(c-o)*v(m),w=s+(c-o)*y(m),_="center",k="top";break;case"endAngle":x=l+f*v(g)+ZJ(g,o+b,!0),w=s+f*y(g)+JJ(g,o+b,!0),_="left",k="middle";break;case"insideEndAngle":x=l+f*v(g)+ZJ(g,-o+b,!0),w=s+f*y(g)+JJ(g,-o+b,!0),_="right",k="middle";break;default:return EI(t,e,n)}return(t=t||{}).x=x,t.y=w,t.align=_,t.verticalAlign=k,t}),o){var h=r?"r":"endAngle",g={};u.shape[h]=r?0:a.startAngle,g[h]=a[h],(l?oj:ij)(u,{shape:g},o)}return u}};function r$(t,e,n,a,r,o,i,l){var s,c;o?(c={x:a.x,width:a.width},s={y:a.y,height:a.height}):(c={y:a.y,height:a.height},s={x:a.x,width:a.width}),l||(i?oj:ij)(n,{shape:s},e,r,null),(i?oj:ij)(n,{shape:c},e?t.baseAxis.model:null,r)}function o$(t,e){for(var n=0;n<e.length;n++)if(!isFinite(t[e[n]]))return!0;return!1}var i$=["x","y","width","height"],l$=["cx","cy","r","startAngle","endAngle"],s$={cartesian2d:function(t){return!o$(t,i$)},polar:function(t){return!o$(t,l$)}},c$={cartesian2d:function(t,e,n){var a=t.getItemLayout(e),r=n?function(t,e){var n=t.get(["itemStyle","borderColor"]);if(!n||"none"===n)return 0;var a=t.get(["itemStyle","borderWidth"])||0,r=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),o=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(a,r,o)}(n,a):0,o=a.width>0?1:-1,i=a.height>0?1:-1;return{x:a.x+o*r/2,y:a.y+i*r/2,width:a.width-o*r,height:a.height-i*r}},polar:function(t,e,n){var a=t.getItemLayout(e);return{cx:a.cx,cy:a.cy,r0:a.r0,r:a.r,startAngle:a.startAngle,endAngle:a.endAngle,clockwise:a.clockwise}}};function u$(t){return function(t){var e=t?"Arc":"Angle";return function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}}}(t)}function d$(t,e,n,a,r,o,i,l){var s=e.getItemVisual(n,"style");l||t.setShape("r",a.get(["itemStyle","borderRadius"])||0),t.useStyle(s);var c=a.getShallow("cursor");c&&t.attr("cursor",c);var u=l?i?r.r>=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":i?r.height>=0?"bottom":"top":r.width>=0?"right":"left",d=Hj(a);Yj(t,d,{labelFetcher:o,labelDataIndex:n,defaultText:rJ(o.getData(),n),inheritColor:s.fill,defaultOpacity:s.opacity,defaultOutsidePosition:u});var p=t.getTextContent();if(l&&p){var f=a.get(["label","position"]);t.textConfig.inside="middle"===f||null,function(t,e,n,a){if("number"!=typeof a)if(DO(e))t.setTextConfig({rotation:0});else{var r,o=t.shape,i=o.clockwise?o.startAngle:o.endAngle,l=o.clockwise?o.endAngle:o.startAngle,s=(i+l)/2,c=n(e);switch(c){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=s;break;case"startAngle":case"insideStartAngle":r=i;break;case"endAngle":case"insideEndAngle":r=l;break;default:return void t.setTextConfig({rotation:0})}var u=1.5*Math.PI-r;"middle"===c&&u>Math.PI/2&&u<1.5*Math.PI&&(u-=Math.PI),t.setTextConfig({rotation:u})}else t.setTextConfig({rotation:a})}(t,"outside"===f?u:f,u$(i),a.get(["label","rotate"]))}$j(p,d,o.getRawValue(n),(function(t){return oJ(e,t)}));var h=a.getModel(["emphasis"]);yR(t,h.get("focus"),h.get("blurScope")),kR(t,a),function(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}(r)&&(t.style.fill="none",t.style.stroke="none",_O(t.states,(function(t){t.style&&(t.style.fill=t.style.stroke="none")})))}var p$=function(){},f$=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return d(e,t),e.prototype.getDefaultShape=function(){return new p$},e.prototype.buildPath=function(t,e){for(var n=e.points,a=this.__startPoint,r=this.__baseDimIdx,o=0;o<n.length;o+=2)a[r]=n[o+r],t.moveTo(a[0],a[1]),t.lineTo(n[o],n[o+1])},e}(nz);function h$(t,e,n){var a=t.getData(),r=[],o=a.getLayout("valueAxisHorizontal")?1:0;r[1-o]=a.getLayout("valueAxisStart");var i=a.getLayout("largeDataIndices"),l=a.getLayout("barWidth"),s=t.getModel("backgroundStyle");if(t.get("showBackground",!0)){var c=a.getLayout("largeBackgroundPoints"),u=[];u[1-o]=a.getLayout("backgroundStart");var d=new f$({shape:{points:c},incremental:!!n,silent:!0,z2:0});d.__startPoint=u,d.__baseDimIdx=o,d.__largeDataIndices=i,d.__barWidth=l,function(t,e,n){var a=e.get("borderColor")||e.get("color"),r=e.getItemStyle();t.useStyle(r),t.style.fill=null,t.style.stroke=a,t.style.lineWidth=n.getLayout("barWidth")}(d,s,a),e.add(d)}var p=new f$({shape:{points:a.getLayout("largePoints")},incremental:!!n});p.__startPoint=r,p.__baseDimIdx=o,p.__largeDataIndices=i,p.__barWidth=l,e.add(p),function(t,e,n){var a=n.getVisual("style");t.useStyle(gO({},a)),t.style.fill=null,t.style.stroke=a.fill,t.style.lineWidth=n.getLayout("barWidth")}(p,0,a),Dz(p).seriesIndex=t.seriesIndex,t.get("silent")||(p.on("mousedown",g$),p.on("mousemove",g$))}var g$=_H((function(t){var e=function(t,e,n){var a=t.__baseDimIdx,r=1-a,o=t.shape.points,i=t.__largeDataIndices,l=Math.abs(t.__barWidth/2),s=t.__startPoint[r];$J[0]=e,$J[1]=n;for(var c=$J[a],u=$J[1-a],d=c-l,p=c+l,f=0,h=o.length/2;f<h;f++){var g=2*f,m=o[g+a],b=o[g+r];if(m>=d&&m<=p&&(s<=b?u>=s&&u<=b:u>=b&&u<=s))return i[f]}return-1}(this,t.offsetX,t.offsetY);Dz(this).dataIndex=e>=0?e:null}),30,!1);function m$(t,e,n){if(EJ(n,"cartesian2d")){var a=e,r=n.getArea();return{x:t?a.x:r.x,y:t?r.y:a.y,width:t?a.width:r.width,height:t?r.height:a.height}}var o=e;return{cx:(r=n.getArea()).cx,cy:r.cy,r0:t?r.r0:o.r0,r:t?r.r:o.r,startAngle:t?o.startAngle:0,endAngle:t?o.endAngle:2*Math.PI}}function b$(t){t.registerChartView(e$),t.registerSeriesModel(KJ),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,TO(oq,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,iq),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,WJ("bar")),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},(function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},(function(e){t.sortInfo&&e.axis.setCategorySortInfo(t.sortInfo)}))}))}var v$=2*Math.PI,y$=Math.PI/180;function x$(t,e){return mB(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function w$(t,e){var n=x$(t,e),a=t.get("center"),r=t.get("radius");DO(r)||(r=[0,r]),DO(a)||(a=[a,a]);var o=JI(n.width,e.getWidth()),i=JI(n.height,e.getHeight()),l=Math.min(o,i);return{cx:JI(a[0],o)+n.x,cy:JI(a[1],i)+n.y,r0:JI(r[0],l/2),r:JI(r[1],l/2)}}function _$(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),a=e.mapDimension("value"),r=x$(t,n),o=w$(t,n),i=o.cx,l=o.cy,s=o.r,c=o.r0,u=-t.get("startAngle")*y$,d=t.get("minAngle")*y$,p=0;e.each(a,(function(t){!isNaN(t)&&p++}));var f=e.getSum(a),h=Math.PI/(f||p)*2,g=t.get("clockwise"),m=t.get("roseType"),b=t.get("stillShowZeroSum"),v=e.getDataExtent(a);v[0]=0;var y=v$,x=0,w=u,_=g?1:-1;if(e.setLayout({viewRect:r,r:s}),e.each(a,(function(t,n){var a;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:g,cx:i,cy:l,r0:c,r:m?NaN:s});else{(a="area"!==m?0===f&&b?h:t*h:v$/p)<d?(a=d,y-=d):x+=t;var r=w+_*a;e.setItemLayout(n,{angle:a,startAngle:w,endAngle:r,clockwise:g,cx:i,cy:l,r0:c,r:m?ZI(t,v,[c,s]):s}),w=r}})),y<v$&&p)if(y<=.001){var k=v$/p;e.each(a,(function(t,n){if(!isNaN(t)){var a=e.getItemLayout(n);a.angle=k,a.startAngle=u+_*n*k,a.endAngle=u+_*(n+1)*k}}))}else h=y/x,w=u,e.each(a,(function(t,n){if(!isNaN(t)){var a=e.getItemLayout(n),r=a.angle===d?d:t*h;a.startAngle=w,a.endAngle=w+_*r,w+=_*r}}))}))}function k$(t){return{seriesType:t,reset:function(t,e){var n=e.findComponents({mainType:"legend"});if(n&&n.length){var a=t.getData();a.filterSelf((function(t){for(var e=a.getName(t),r=0;r<n.length;r++)if(!n[r].isSelected(e))return!1;return!0}))}}}}var S$=Math.PI/180;function C$(t,e,n,a,r,o,i,l,s,c){if(!(t.length<2)){for(var u=t.length,d=0;d<u;d++)if("outer"===t[d].position&&"labelLine"===t[d].labelAlignTo){var p=t[d].label.x-c;t[d].linePoints[1][0]+=p,t[d].label.x=c}LX(t,s,s+i)&&function(t){for(var o={list:[],maxY:0},i={list:[],maxY:0},l=0;l<t.length;l++)if("none"===t[l].labelAlignTo){var s=t[l],c=s.label.y>n?i:o,u=Math.abs(s.label.y-n);if(u>c.maxY){var d=s.label.x-e-s.len2*r,p=a+s.len,h=Math.abs(d)<p?Math.sqrt(u*u/(1-d*d/p/p)):p;c.rB=h,c.maxY=u}c.list.push(s)}f(o),f(i)}(t)}function f(t){for(var o=t.rB,i=o*o,l=0;l<t.list.length;l++){var s=t.list[l],c=Math.abs(s.label.y-n),u=a+s.len,d=u*u,p=Math.sqrt((1-Math.abs(c*c/i))*d);s.label.x=e+(p+s.len2)*r}}}function M$(t){return"center"===t.position}function O$(t){var e,n,a=t.getData(),r=[],o=!1,i=(t.get("minShowLabelAngle")||0)*S$,l=a.getLayout("viewRect"),s=a.getLayout("r"),c=l.width,u=l.x,d=l.y,p=l.height;function f(t){t.ignore=!0}a.each((function(t){var l=a.getItemGraphicEl(t),d=l.shape,p=l.getTextContent(),h=l.getTextGuideLine(),g=a.getItemModel(t),m=g.getModel("label"),b=m.get("position")||g.get(["emphasis","label","position"]),v=m.get("distanceToLabelLine"),y=m.get("alignTo"),x=JI(m.get("edgeDistance"),c),w=m.get("bleedMargin"),_=g.getModel("labelLine"),k=_.get("length");k=JI(k,c);var S=_.get("length2");if(S=JI(S,c),Math.abs(d.endAngle-d.startAngle)<i)return _O(p.states,f),void(p.ignore=!0);if(function(t){if(!t.ignore)return!0;for(var e in t.states)if(!1===t.states[e].ignore)return!0;return!1}(p)){var C,M,O,E,T=(d.startAngle+d.endAngle)/2,D=Math.cos(T),I=Math.sin(T);e=d.cx,n=d.cy;var P,N="inside"===b||"inner"===b;if("center"===b)C=d.cx,M=d.cy,E="center";else{var A=(N?(d.r+d.r0)/2*D:d.r*D)+e,z=(N?(d.r+d.r0)/2*I:d.r*I)+n;if(C=A+3*D,M=z+3*I,!N){var R=A+D*(k+s-d.r),L=z+I*(k+s-d.r),j=R+(D<0?-1:1)*S;C="edge"===y?D<0?u+x:u+c-x:j+(D<0?-v:v),M=L,O=[[A,z],[R,L],[j,L]]}E=N?"center":"edge"===y?D>0?"right":"left":D>0?"left":"right"}var F=m.get("rotate");if("number"==typeof F)P=F*(Math.PI/180);else if("center"===b)P=0;else{var B=D<0?-T+Math.PI:-T;"radial"===F||!0===F?P=B:"tangential"===F&&"outside"!==b&&"outer"!==b?(P=B+Math.PI/2)>Math.PI/2&&(P-=Math.PI):P=0}if(o=!!P,p.x=C,p.y=M,p.rotation=P,p.setStyle({verticalAlign:"middle"}),N){p.setStyle({align:E});var V=p.states.select;V&&(V.x+=p.x,V.y+=p.y)}else{var Y=p.getBoundingRect().clone();Y.applyTransform(p.getComputedTransform());var H=(p.style.margin||0)+2.1;Y.y-=H/2,Y.height+=H,r.push({label:p,labelLine:h,position:b,len:k,len2:S,minTurnAngle:_.get("minTurnAngle"),maxSurfaceAngle:_.get("maxSurfaceAngle"),surfaceNormal:new lI(D,I),linePoints:O,textAlign:E,labelDistance:v,labelAlignTo:y,edgeDistance:x,bleedMargin:w,rect:Y})}l.setTextConfig({inside:N})}})),!o&&t.get("avoidLabelOverlap")&&function(t,e,n,a,r,o,i,l){for(var s=[],c=[],u=Number.MAX_VALUE,d=-Number.MAX_VALUE,p=0;p<t.length;p++){var f=t[p].label;M$(t[p])||(f.x<e?(u=Math.min(u,f.x),s.push(t[p])):(d=Math.max(d,f.x),c.push(t[p])))}for(C$(c,e,n,a,1,0,o,0,l,d),C$(s,e,n,a,-1,0,o,0,l,u),p=0;p<t.length;p++){var h=t[p];if(f=h.label,!M$(h)){var g=h.linePoints;if(g){var m="edge"===h.labelAlignTo,b=h.rect.width,v=void 0;(v=m?f.x<e?g[2][0]-h.labelDistance-i-h.edgeDistance:i+r-h.edgeDistance-g[2][0]-h.labelDistance:f.x<e?f.x-i-h.bleedMargin:i+r-f.x-h.bleedMargin)<h.rect.width&&(h.label.style.width=v,"edge"===h.labelAlignTo&&(b=v));var y=g[1][0]-g[2][0];m?f.x<e?g[2][0]=i+h.edgeDistance+b+h.labelDistance:g[2][0]=i+r-h.edgeDistance-b-h.labelDistance:(f.x<e?g[2][0]=f.x+h.labelDistance:g[2][0]=f.x-h.labelDistance,g[1][0]=g[2][0]+y),g[1][1]=g[2][1]=f.y}}}}(r,e,n,s,c,p,u,d);for(var h=0;h<r.length;h++){var g=r[h],m=g.label,b=g.labelLine,v=isNaN(m.x)||isNaN(m.y);if(m){m.setStyle({align:g.textAlign}),v&&(_O(m.states,f),m.ignore=!0);var y=m.states.select;y&&(y.x+=m.x,y.y+=m.y)}if(b){var x=g.linePoints;v||!x?(_O(b.states,f),b.ignore=!0):(TX(x,g.minTurnAngle),DX(x,g.surfaceNormal,g.maxSurfaceAngle),b.setShape({points:x}),m.__hostTarget.textGuideLineConfig={anchor:new lI(x[0][0],x[0][1])})}}}function E$(t,e,n){var a=t.get("borderRadius");return null==a?n?{innerCornerRadius:0,cornerRadius:0}:null:(DO(a)||(a=[a,a]),{innerCornerRadius:OI(a[0],e.r0),cornerRadius:OI(a[1],e.r)})}var T$=function(t){function e(e,n,a){var r=t.call(this)||this;r.z2=2;var o=new Tz;return r.setTextContent(o),r.updateData(e,n,a,!0),r}return d(e,t),e.prototype.updateData=function(t,e,n,a){var r=this,o=t.hostModel,i=t.getItemModel(e),l=i.getModel("emphasis"),s=t.getItemLayout(e),c=gO(E$(i.getModel("itemStyle"),s,!0),s);if(isNaN(c.startAngle))r.setShape(c);else{if(a)r.setShape(c),"scale"===o.getShallow("animationType")?(r.shape.r=s.r0,ij(r,{shape:{r:s.r}},o,e)):null!=n?(r.setShape({startAngle:n,endAngle:n}),ij(r,{shape:{startAngle:s.startAngle,endAngle:s.endAngle}},o,e)):(r.shape.endAngle=s.startAngle,oj(r,{shape:{endAngle:s.endAngle}},o,e));else dj(r),oj(r,{shape:c},o,e);r.useStyle(t.getItemVisual(e,"style")),kR(r,i);var u=(s.startAngle+s.endAngle)/2,d=o.get("selectedOffset"),f=Math.cos(u)*d,h=Math.sin(u)*d,g=i.getShallow("cursor");g&&r.attr("cursor",g),this._updateLabel(o,t,e),r.ensureState("emphasis").shape=p({r:s.r+(l.get("scale")&&l.get("scaleSize")||0)},E$(l.getModel("itemStyle"),s)),gO(r.ensureState("select"),{x:f,y:h,shape:E$(i.getModel(["select","itemStyle"]),s)}),gO(r.ensureState("blur"),{shape:E$(i.getModel(["blur","itemStyle"]),s)});var m=r.getTextGuideLine(),b=r.getTextContent();m&&gO(m.ensureState("select"),{x:f,y:h}),gO(b.ensureState("select"),{x:f,y:h}),yR(this,l.get("focus"),l.get("blurScope"))}},e.prototype._updateLabel=function(t,e,n){var a=this,r=e.getItemModel(n),o=r.getModel("labelLine"),i=e.getItemVisual(n,"style"),l=i&&i.fill,s=i&&i.opacity;Yj(a,Hj(r),{labelFetcher:e.hostModel,labelDataIndex:n,inheritColor:l,defaultOpacity:s,defaultText:t.getFormattedLabel(n,"normal")||e.getName(n)});var c=a.getTextContent();a.setTextConfig({position:null,rotation:null}),c.attr({z2:10});var u=t.get(["label","position"]);if("outside"!==u&&"outer"!==u)a.removeTextGuideLine();else{var d=this.getTextGuideLine();d||(d=new ML,this.setTextGuideLine(d)),NX(this,AX(r),{stroke:l,opacity:UO(o.get(["lineStyle","opacity"]),s,1)})}},e}(gL),D$=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ignoreLabelLineUpdate=!0,e}return d(e,t),e.prototype.init=function(){var t=new VI;this._sectorGroup=t},e.prototype.render=function(t,e,n,a){var r,o=t.getData(),i=this._data,l=this.group;if(!i&&o.count()>0){for(var s=o.getItemLayout(0),c=1;isNaN(s&&s.startAngle)&&c<o.count();++c)s=o.getItemLayout(c);s&&(r=s.startAngle)}if(this._emptyCircleSector&&l.remove(this._emptyCircleSector),0===o.count()&&t.get("showEmptyCircle")){var u=new gL({shape:w$(t,n)});u.useStyle(t.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=u,l.add(u)}o.diff(i).add((function(t){var e=new T$(o,t,r);o.setItemGraphicEl(t,e),l.add(e)})).update((function(t,e){var n=i.getItemGraphicEl(e);n.updateData(o,t,r),n.off("click"),l.add(n),o.setItemGraphicEl(t,n)})).remove((function(e){uj(i.getItemGraphicEl(e),t,e)})).execute(),O$(t),"expansion"!==t.get("animationTypeUpdate")&&(this._data=o)},e.prototype.dispose=function(){},e.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var a=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(a*a+r*r);return o<=n.r&&o>=n.r0}},e.type="pie",e}(fH);function I$(t,e,n){e=DO(e)&&{coordDimensions:e}||gO({encodeDefine:t.getEncode()},e);var a=t.getSource(),r=EK(a,e).dimensions,o=new OK(r,t);return o.initData(a,n),o}var P$=function(){function t(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return t.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},t.prototype.containName=function(t){return this._getRawData().indexOfName(t)>=0},t.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},t.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)},t}(),N$=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new P$(EO(this.getData,this),EO(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return I$(this,{coordDimensions:["value"],encodeDefaulter:TO(VB,this)})},e.prototype.getDataParams=function(e){var n=this.getData(),a=t.prototype.getDataParams.call(this,e),r=[];return n.each(n.mapDimension("value"),(function(t){r.push(t)})),a.percent=aP(r,e,n.hostModel.get("percentPrecision")),a.$vars.push("percent"),a},e.prototype._defaultLabelLine=function(t){SP(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.type="series.pie",e.defaultOption={zlevel:0,z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},e}(eH);function A$(t){t.registerChartView(D$),t.registerSeriesModel(N$),lW("pie",t.registerAction),t.registerLayout(TO(_$,"pie")),t.registerProcessor(k$("pie")),t.registerProcessor(function(t){return{seriesType:t,reset:function(t,e){var n=t.getData();n.filterSelf((function(t){var e=n.mapDimension("value"),a=n.get(e,t);return!("number"==typeof a&&!isNaN(a)&&a<0)}))}}}("pie"))}var z$=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return d(e,t),e.prototype.getInitialData=function(t,e){return RK(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},e}(eH),R$=function(){},L$=function(t){function e(e){return t.call(this,e)||this}return d(e,t),e.prototype.getDefaultShape=function(){return new R$},e.prototype.buildPath=function(t,e){var n=e.points,a=e.size,r=this.symbolProxy,o=r.shape,i=t.getContext?t.getContext():t;if(i&&a[0]<4)this._ctx=i;else{this._ctx=null;for(var l=0;l<n.length;){var s=n[l++],c=n[l++];isNaN(s)||isNaN(c)||(this.softClipShape&&!this.softClipShape.contain(s,c)||(o.x=s-a[0]/2,o.y=c-a[1]/2,o.width=a[0],o.height=a[1],r.buildPath(t,o,!0)))}}},e.prototype.afterBrush=function(){var t=this.shape,e=t.points,n=t.size,a=this._ctx;if(a)for(var r=0;r<e.length;){var o=e[r++],i=e[r++];isNaN(o)||isNaN(i)||(this.softClipShape&&!this.softClipShape.contain(o,i)||a.fillRect(o-n[0]/2,i-n[1]/2,n[0],n[1]))}},e.prototype.findDataIndex=function(t,e){for(var n=this.shape,a=n.points,r=n.size,o=Math.max(r[0],4),i=Math.max(r[1],4),l=a.length/2-1;l>=0;l--){var s=2*l,c=a[s]-o/2,u=a[s+1]-i/2;if(t>=c&&e>=u&&t<=c+o&&e<=u+i)return l}return-1},e}(nz),j$=function(){function t(){this.group=new VI}return t.prototype.isPersistent=function(){return!this._incremental},t.prototype.updateData=function(t,e){this.group.removeAll();var n=new L$({rectHover:!0,cursor:"default"});n.setShape({points:t.getLayout("points")}),this._setCommon(n,t,!1,e),this.group.add(n),this._incremental=null},t.prototype.updateLayout=function(t){if(!this._incremental){var e=t.getLayout("points");this.group.eachChild((function(t){if(null!=t.startIndex){var n=2*(t.endIndex-t.startIndex),a=4*t.startIndex*2;e=new Float32Array(e.buffer,a,n)}t.setShape("points",e)}))}},t.prototype.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>2e6?(this._incremental||(this._incremental=new ej({silent:!0})),this.group.add(this._incremental)):this._incremental=null},t.prototype.incrementalUpdate=function(t,e,n){var a;this._incremental?(a=new L$,this._incremental.addDisplayable(a,!0)):((a=new L$({rectHover:!0,cursor:"default",startIndex:t.start,endIndex:t.end})).incremental=!0,this.group.add(a)),a.setShape({points:e.getLayout("points")}),this._setCommon(a,e,!!this._incremental,n)},t.prototype._setCommon=function(t,e,n,a){var r=e.hostModel;a=a||{};var o=e.getVisual("symbolSize");t.setShape("size",o instanceof Array?o:[o,o]),t.softClipShape=a.clipShape||null,t.symbolProxy=_W(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var i=t.shape.size[0]<4;t.useStyle(r.getModel("itemStyle").getItemStyle(i?["color","shadowBlur","shadowColor"]:["color"]));var l=e.getVisual("style"),s=l&&l.fill;if(s&&t.setColor(s),!n){var c=Dz(t);c.seriesIndex=r.seriesIndex,t.on("mousemove",(function(e){c.dataIndex=null;var n=t.findDataIndex(e.offsetX,e.offsetY);n>=0&&(c.dataIndex=n+(t.startIndex||0))}))}},t.prototype.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},t.prototype._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()},t}(),F$=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.render=function(t,e,n){var a=t.getData();this._updateSymbolDraw(a,t).updateData(a,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var a=t.getData();this._updateSymbolDraw(a,t).incrementalPrepareUpdate(a),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,n){var a=t.getData();if(this.group.dirty(),!this._finished||a.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var r=VJ("").reset(t,e,n);r.progress&&r.progress({start:0,end:a.count(),count:a.count()},a),this._symbolDraw.updateLayout(a)},e.prototype._getClipShape=function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},e.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,a=e.pipelineContext.large;return n&&a===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=a?new j$:new dJ,this._isLargeDraw=a,this.group.removeAll()),this.group.add(n.group),n},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(fH),B$=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(kB),V$=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",FP).models[0]},e.type="cartesian2dAxis",e}(kB);xO(V$,Yq);var Y$={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},H$=fO({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},Y$),W$=fO({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},Y$),U$={category:H$,value:W$,time:fO({scale:!0,splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},W$),log:mO({scale:!0,logBase:10},W$)},G$={value:1,category:1,time:1,log:1};function K$(t,e,n,a){_O(G$,(function(r,o){var i=fO(fO({},U$[o],!0),a,!0),l=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+o,n}return d(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=vB(this),a=n?xB(t):{};fO(t,e.getTheme().get(o+"Axis")),fO(t,this.getDefaultOption()),t.type=q$(t),n&&yB(t,a,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=FK.createByAxisModel(this))},n.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=e+"Axis."+o,n.defaultOption=i,n}(n);t.registerComponentModel(l)})),t.registerSubTypeDefaulter(e+"Axis",q$)}function q$(t){return t.type||(t.data?"category":"value")}var X$=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return kO(this._dimList,(function(t){return this._axes[t]}),this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),CO(this.getAxes(),(function(e){return e.scale.type===t}))},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),Z$=["x","y"];function J$(t){return"interval"===t.type||"time"===t.type}var $$=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=Z$,e}return d(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(J$(t)&&J$(e)){var n=t.getExtent(),a=e.getExtent(),r=this.dataToPoint([n[0],a[0]]),o=this.dataToPoint([n[1],a[1]]),i=n[1]-n[0],l=a[1]-a[0];if(i&&l){var s=(o[0]-r[0])/i,c=(o[1]-r[1])/l,u=r[0]-n[0]*s,d=r[1]-a[0]*c,p=this._transform=[s,0,0,c,u,d];this._invTransform=UD([],p)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.dataToPoint=function(t,e,n){n=n||[];var a=t[0],r=t[1];if(this._transform&&null!=a&&isFinite(a)&&null!=r&&isFinite(r))return SE(n,t,this._transform);var o=this.getAxis("x"),i=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(a,e)),n[1]=i.toGlobalCoord(i.dataToCoord(r,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,a=this.getAxis("y").scale,r=n.getExtent(),o=a.getExtent(),i=n.parse(t[0]),l=a.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),i),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),l),Math.max(o[0],o[1])),e},e.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return SE(n,t,this._invTransform);var a=this.getAxis("x"),r=this.getAxis("y");return n[0]=a.coordToData(a.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(){var t=this.getAxis("x").getGlobalExtent(),e=this.getAxis("y").getGlobalExtent(),n=Math.min(t[0],t[1]),a=Math.min(e[0],e[1]),r=Math.max(t[0],t[1])-n,o=Math.max(e[0],e[1])-a;return new bI(n,a,r,o)},e}(X$),Q$=function(t){function e(e,n,a,r,o){var i=t.call(this,e,n,a)||this;return i.index=0,i.type=r||"value",i.position=o||"bottom",i}return d(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(cX);function tQ(t,e,n){n=n||{};var a=t.coordinateSystem,r=e.axis,o={},i=r.getAxesOnZeroOf()[0],l=r.position,s=i?"onZero":l,c=r.dim,u=a.getRect(),d=[u.x,u.x+u.width,u.y,u.y+u.height],p={left:0,right:1,top:0,bottom:1,onZero:2},f=e.get("offset")||0,h="x"===c?[d[2]-f,d[3]+f]:[d[0]-f,d[1]+f];if(i){var g=i.toGlobalCoord(i.dataToCoord(0));h[p.onZero]=Math.max(Math.min(g,h[1]),h[0])}o.position=["y"===c?h[p[s]]:d[0],"x"===c?h[p[s]]:d[3]],o.rotation=Math.PI/2*("x"===c?0:1);o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,left:-1,right:1}[l],o.labelOffset=i?h[p[l]]-h[p.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),HO(n.labelInside,e.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var m=e.get(["axisLabel","rotate"]);return o.labelRotate="top"===s?-m:m,o.z2=1,o}function eQ(t){return"cartesian2d"===t.get("coordinateSystem")}function nQ(t){var e={xAxisModel:null,yAxisModel:null};return _O(e,(function(n,a){var r=a.replace(/Model$/,""),o=t.getReferringComponents(r,FP).models[0];e[a]=o})),e}var aQ=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=Z$,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;this._updateScale(t,this.model),_O(n.x,(function(t){Aq(t.scale,t.model)})),_O(n.y,(function(t){Aq(t.scale,t.model)}));var a={};_O(n.x,(function(t){oQ(n,"y",t,a)})),_O(n.y,(function(t){oQ(n,"x",t,a)})),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var a=t.getBoxLayoutParams(),r=!n&&t.get("containLabel"),o=mB(a,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var i=this._axesList;function l(){_O(i,(function(t){var e=t.isHorizontal(),n=e?[0,o.width]:[0,o.height],a=t.inverse?1:0;t.setExtent(n[a],n[1-a]),function(t,e){var n=t.getExtent(),a=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return a-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return a-t+e}}(t,e?o.x:o.y)}))}l(),r&&(_O(i,(function(t){if(!t.model.get(["axisLabel","inside"])){var e=function(t){var e=t.model,n=t.scale;if(e.get(["axisLabel","show"])&&!n.isBlank()){var a,r,o=n.getExtent();r=n instanceof qK?n.count():(a=n.getTicks()).length;var i,l=t.getLabelModel(),s=Rq(t),c=1;r>40&&(c=Math.ceil(r/40));for(var u=0;u<r;u+=c){var d=s(a?a[u]:{value:o[0]+u},u),p=jq(l.getTextRect(d),l.get("rotate")||0);i?i.union(p):i=p}return i}}(t);if(e){var n=t.isHorizontal()?"height":"width",a=t.model.get(["axisLabel","margin"]);o[n]-=e[n]+a,"top"===t.position?o.y+=e.height+a:"left"===t.position&&(o.x+=e.width+a)}}})),l()),_O(this._coordsList,(function(t){t.calcAffineTransform()}))},t.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n)return n[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}zO(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var a=0,r=this._coordsList;a<r.length;a++)if(r[a].getAxis("x").index===t||r[a].getAxis("y").index===e)return r[a]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(t,e,n){var a=this._findConvertTarget(e);return a.cartesian?a.cartesian.dataToPoint(n):a.axis?a.axis.toGlobalCoord(a.axis.dataToCoord(n)):null},t.prototype.convertFromPixel=function(t,e,n){var a=this._findConvertTarget(e);return a.cartesian?a.cartesian.pointToData(n):a.axis?a.axis.coordToData(a.axis.toLocalCoord(n)):null},t.prototype._findConvertTarget=function(t){var e,n,a=t.seriesModel,r=t.xAxisModel||a&&a.getReferringComponents("xAxis",FP).models[0],o=t.yAxisModel||a&&a.getReferringComponents("yAxis",FP).models[0],i=t.gridModel,l=this._coordsList;if(a)vO(l,e=a.coordinateSystem)<0&&(e=null);else if(r&&o)e=this.getCartesian(r.componentIndex,o.componentIndex);else if(r)n=this.getAxis("x",r.componentIndex);else if(o)n=this.getAxis("y",o.componentIndex);else if(i){i.coordinateSystem===this&&(e=this._coordsList[0])}return{cartesian:e,axis:n}},t.prototype.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},t.prototype._initCartesian=function(t,e,n){var a=this,r=this,o={left:!1,right:!1,top:!1,bottom:!1},i={x:{},y:{}},l={x:0,y:0};if(e.eachComponent("xAxis",s("x"),this),e.eachComponent("yAxis",s("y"),this),!l.x||!l.y)return this._axesMap={},void(this._axesList=[]);function s(e){return function(n,a){if(rQ(n,t)){var s=n.get("position");"x"===e?"top"!==s&&"bottom"!==s&&(s=o.bottom?"top":"bottom"):"left"!==s&&"right"!==s&&(s=o.left?"right":"left"),o[s]=!0;var c=new Q$(e,zq(n),[0,0],n.get("type"),s),u="category"===c.type;c.onBand=u&&n.get("boundaryGap"),c.inverse=n.get("inverse"),n.axis=c,c.model=n,c.grid=r,c.index=a,r._axesList.push(c),i[e][a]=c,l[e]++}}}this._axesMap=i,_O(i.x,(function(e,n){_O(i.y,(function(r,o){var i="x"+n+"y"+o,l=new $$(i);l.master=a,l.model=t,a._coordsMap[i]=l,a._coordsList.push(l),l.addAxis(e),l.addAxis(r)}))}))},t.prototype._updateScale=function(t,e){function n(t,e){_O(Vq(t,e.dim),(function(n){e.scale.unionExtentFromData(t,n)}))}_O(this._axesList,(function(t){if(t.scale.setExtent(1/0,-1/0),"category"===t.type){var e=t.model.get("categorySortInfo");t.scale.setSortInfo(e)}})),t.eachSeries((function(t){if(eQ(t)){var a=nQ(t),r=a.xAxisModel,o=a.yAxisModel;if(!rQ(r,e)||!rQ(o,e))return;var i=this.getCartesian(r.componentIndex,o.componentIndex),l=t.getData(),s=i.getAxis("x"),c=i.getAxis("y");"list"===l.type&&(n(l,s),n(l,c))}}),this)},t.prototype.getTooltipAxes=function(t){var e=[],n=[];return _O(this.getCartesians(),(function(a){var r=null!=t&&"auto"!==t?a.getAxis(t):a.getBaseAxis(),o=a.getOtherAxis(r);vO(e,r)<0&&e.push(r),vO(n,o)<0&&n.push(o)})),{baseAxes:e,otherAxes:n}},t.create=function(e,n){var a=[];return e.eachComponent("grid",(function(r,o){var i=new t(r,e,n);i.name="grid_"+o,i.resize(r,n,!0),r.coordinateSystem=i,a.push(i)})),e.eachSeries((function(t){if(eQ(t)){var e=nQ(t),n=e.xAxisModel,a=e.yAxisModel,r=n.getCoordSysModel().coordinateSystem;t.coordinateSystem=r.getCartesian(n.componentIndex,a.componentIndex)}})),a},t.dimensions=Z$,t}();function rQ(t,e){return t.getCoordSysModel()===e}function oQ(t,e,n,a){n.getAxesOnZeroOf=function(){return r?[r]:[]};var r,o=t[e],i=n.model,l=i.get(["axisLine","onZero"]),s=i.get(["axisLine","onZeroAxisIndex"]);if(l){if(null!=s)iQ(o[s])&&(r=o[s]);else for(var c in o)if(o.hasOwnProperty(c)&&iQ(o[c])&&!a[u(o[c])]){r=o[c];break}r&&(a[u(r)]=!0)}function u(t){return t.dim+"_"+t.index}}function iQ(t){return t&&"category"!==t.type&&"time"!==t.type&&function(t){var e=t.scale.getExtent(),n=e[0],a=e[1];return!(n>0&&a>0||n<0&&a<0)}(t)}var lQ=Math.PI,sQ=function(){function t(t,e){this.group=new VI,this.opt=e,this.axisModel=t,mO(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new VI({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!cQ[t]},t.prototype.add=function(t){cQ[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var a,r,o=iP(e-t);return lP(o)?(r=n>0?"top":"bottom",a="center"):lP(o-lQ)?(r=n>0?"bottom":"top",a="center"):(r="middle",a=o>0&&o<lQ?n>0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:a,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),cQ={axisLine:function(t,e,n,a){var r=e.get(["axisLine","show"]);if("auto"===r&&t.handleAutoShown&&(r=t.handleAutoShown("axisLine")),r){var o=e.axis.getExtent(),i=a.transform,l=[o[0],0],s=[o[1],0];i&&(SE(l,l,i),SE(s,s,i));var c=gO({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),u=new DL({subPixelOptimize:!0,shape:{x1:l[0],y1:l[1],x2:s[0],y2:s[1]},style:c,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});u.anid="line",n.add(u);var d=e.get(["axisLine","symbol"]);if(null!=d){var p=e.get(["axisLine","symbolSize"]);"string"==typeof d&&(d=[d,d]),"string"!=typeof p&&"number"!=typeof p||(p=[p,p]);var f=SW(e.get(["axisLine","symbolOffset"])||0,p),h=p[0],g=p[1];_O([{rotate:t.rotation+Math.PI/2,offset:f[0],r:0},{rotate:t.rotation-Math.PI/2,offset:f[1],r:Math.sqrt((l[0]-s[0])*(l[0]-s[0])+(l[1]-s[1])*(l[1]-s[1]))}],(function(e,a){if("none"!==d[a]&&null!=d[a]){var r=_W(d[a],-h/2,-g/2,h,g,c.stroke,!0),o=e.r+e.offset;r.attr({rotation:e.rotate,x:l[0]+o*Math.cos(t.rotation),y:l[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}}))}}},axisTickLabel:function(t,e,n,a){var r=function(t,e,n,a){var r=n.axis,o=n.getModel("axisTick"),i=o.get("show");"auto"===i&&a.handleAutoShown&&(i=a.handleAutoShown("axisTick"));if(!i||r.scale.isBlank())return;for(var l=o.getModel("lineStyle"),s=a.tickDirection*o.get("length"),c=fQ(r.getTicksCoords(),e.transform,s,mO(l.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),u=0;u<c.length;u++)t.add(c[u]);return c}(n,a,e,t),o=function(t,e,n,a){var r=n.axis;if(!HO(a.axisLabelShow,n.get(["axisLabel","show"]))||r.scale.isBlank())return;var o=n.getModel("axisLabel"),i=o.get("margin"),l=r.getViewLabels(),s=(HO(a.labelRotate,o.get("rotate"))||0)*lQ/180,c=sQ.innerTextLayout(a.rotation,s,a.labelDirection),u=n.getCategories&&n.getCategories(!0),d=[],p=sQ.isLabelSilent(n),f=n.get("triggerEvent");return _O(l,(function(l,s){var h="ordinal"===r.scale.type?r.scale.getRawOrdinalNumber(l.tickValue):l.tickValue,g=l.formattedLabel,m=l.rawLabel,b=o;if(u&&u[h]){var v=u[h];zO(v)&&v.textStyle&&(b=new dF(v.textStyle,o,n.ecModel))}var y=b.getTextColor()||n.get(["axisLine","lineStyle","color"]),x=r.dataToCoord(h),w=new Tz({x:x,y:a.labelOffset+a.labelDirection*i,rotation:c.rotation,silent:p,z2:10+(l.level||0),style:Wj(b,{text:g,align:b.getShallow("align",!0)||c.textAlign,verticalAlign:b.getShallow("verticalAlign",!0)||b.getShallow("baseline",!0)||c.textVerticalAlign,fill:"function"==typeof y?y("category"===r.type?m:"value"===r.type?h+"":h,s):y})});if(w.anid="label_"+h,f){var _=sQ.makeAxisEventDataBase(n);_.targetType="axisLabel",_.value=m,Dz(w).eventData=_}e.add(w),w.updateTransform(),d.push(w),t.add(w),w.decomposeTransform()})),d}(n,a,e,t);(function(t,e,n){if(Bq(t.axis))return;var a=t.get(["axisLabel","showMinLabel"]),r=t.get(["axisLabel","showMaxLabel"]);n=n||[];var o=(e=e||[])[0],i=e[1],l=e[e.length-1],s=e[e.length-2],c=n[0],u=n[1],d=n[n.length-1],p=n[n.length-2];!1===a?(uQ(o),uQ(c)):dQ(o,i)&&(a?(uQ(i),uQ(u)):(uQ(o),uQ(c)));!1===r?(uQ(l),uQ(d)):dQ(s,l)&&(r?(uQ(s),uQ(p)):(uQ(l),uQ(d)))}(e,o,r),function(t,e,n,a){var r=n.axis,o=n.getModel("minorTick");if(!o.get("show")||r.scale.isBlank())return;var i=r.getMinorTicksCoords();if(!i.length)return;for(var l=o.getModel("lineStyle"),s=a*o.get("length"),c=mO(l.getLineStyle(),mO(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),u=0;u<i.length;u++)for(var d=fQ(i[u],e.transform,s,c,"minorticks_"+u),p=0;p<d.length;p++)t.add(d[p])}(n,a,e,t.tickDirection),e.get(["axisLabel","hideOverlap"]))&&jX(zX(kO(o,(function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}}))))},axisName:function(t,e,n,a){var r=HO(t.axisName,e.get("name"));if(r){var o,i,l=e.get("nameLocation"),s=t.nameDirection,c=e.getModel("nameTextStyle"),u=e.get("nameGap")||0,d=e.axis.getExtent(),p=d[0]>d[1]?-1:1,f=["start"===l?d[0]-p*u:"end"===l?d[1]+p*u:(d[0]+d[1])/2,pQ(l)?t.labelOffset+s*u:0],h=e.get("nameRotate");null!=h&&(h=h*lQ/180),pQ(l)?o=sQ.innerTextLayout(t.rotation,null!=h?h:t.rotation,s):(o=function(t,e,n,a){var r,o,i=iP(n-t),l=a[0]>a[1],s="start"===e&&!l||"start"!==e&&l;lP(i-lQ/2)?(o=s?"bottom":"top",r="center"):lP(i-1.5*lQ)?(o=s?"top":"bottom",r="center"):(o="middle",r=i<1.5*lQ&&i>lQ/2?s?"left":"right":s?"right":"left");return{rotation:i,textAlign:r,textVerticalAlign:o}}(t.rotation,l,h||0,d),null!=(i=t.axisNameAvailableWidth)&&(i=Math.abs(i/Math.sin(o.rotation)),!isFinite(i)&&(i=null)));var g=c.getFont(),m=e.get("nameTruncate",!0)||{},b=m.ellipsis,v=HO(t.nameTruncateMaxWidth,m.maxWidth,i),y=new Tz({x:f[0],y:f[1],rotation:o.rotation,silent:sQ.isLabelSilent(e),style:Wj(c,{text:r,font:g,overflow:"truncate",width:v,ellipsis:b,fill:c.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:c.get("align")||o.textAlign,verticalAlign:c.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(Lj({el:y,componentModel:e,itemName:r}),y.__fullText=r,y.anid="name",e.get("triggerEvent")){var x=sQ.makeAxisEventDataBase(e);x.targetType="axisName",x.name=r,Dz(y).eventData=x}a.add(y),y.updateTransform(),n.add(y),y.decomposeTransform()}}};function uQ(t){t&&(t.ignore=!0)}function dQ(t,e){var n=t&&t.getBoundingRect().clone(),a=e&&e.getBoundingRect().clone();if(n&&a){var r=FD([]);return HD(r,r,-t.rotation),n.applyTransform(VD([],r,t.getLocalTransform())),a.applyTransform(VD([],r,e.getLocalTransform())),n.intersect(a)}}function pQ(t){return"middle"===t||"center"===t}function fQ(t,e,n,a,r){for(var o=[],i=[],l=[],s=0;s<t.length;s++){var c=t[s].coord;i[0]=c,i[1]=0,l[0]=c,l[1]=n,e&&(SE(i,i,e),SE(l,l,e));var u=new DL({subPixelOptimize:!0,shape:{x1:i[0],y1:i[1],x2:l[0],y2:l[1]},style:a,z2:2,autoBatch:!0,silent:!0});u.anid=r+"_"+t[s].tickValue,o.push(u)}return o}function hQ(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(t,e,n){var a=e.getComponent("tooltip"),r=e.getComponent("axisPointer"),o=r.get("link",!0)||[],i=[];_O(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var l=yQ(n.model),s=t.coordSysAxesInfo[l]={};t.coordSysMap[l]=n;var c=n.model.getModel("tooltip",a);if(_O(n.getAxes(),TO(f,!1,null)),n.getTooltipAxes&&a&&c.get("show")){var u="axis"===c.get("trigger"),d="cross"===c.get(["axisPointer","type"]),p=n.getTooltipAxes(c.get(["axisPointer","axis"]));(u||d)&&_O(p.baseAxes,TO(f,!d||"cross",u)),d&&_O(p.otherAxes,TO(f,"cross",!1))}}function f(a,l,u){var d=u.model.getModel("axisPointer",r),p=d.get("show");if(p&&("auto"!==p||a||vQ(d))){null==l&&(l=d.get("triggerTooltip")),d=a?function(t,e,n,a,r,o){var i=e.getModel("axisPointer"),l={};_O(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(t){l[t]=pO(i.get(t))})),l.snap="category"!==t.type&&!!o,"cross"===i.get("type")&&(l.type="line");var s=l.label||(l.label={});if(null==s.show&&(s.show=!1),"cross"===r){var c=i.get(["label","show"]);if(s.show=null==c||c,!o){var u=l.lineStyle=i.get("crossStyle");u&&mO(s,u.textStyle)}}return t.model.getModel("axisPointer",new dF(l,n,a))}(u,c,r,e,a,l):d;var f=d.get("snap"),h=yQ(u.model),g=l||f||"category"===u.type,m=t.axesInfo[h]={key:h,axis:u,coordSys:n,axisPointerModel:d,triggerTooltip:l,involveSeries:g,snap:f,useHandle:vQ(d),seriesModels:[],linkGroup:null};s[h]=m,t.seriesInvolved=t.seriesInvolved||g;var b=function(t,e){for(var n=e.model,a=e.dim,r=0;r<t.length;r++){var o=t[r]||{};if(gQ(o[a+"AxisId"],n.id)||gQ(o[a+"AxisIndex"],n.componentIndex)||gQ(o[a+"AxisName"],n.name))return r}}(o,u);if(null!=b){var v=i[b]||(i[b]={axesInfo:{}});v.axesInfo[h]=m,v.mapper=o[b].mapper,m.linkGroup=v}}}}))}(n,t,e),n.seriesInvolved&&function(t,e){e.eachSeries((function(e){var n=e.coordinateSystem,a=e.get(["tooltip","trigger"],!0),r=e.get(["tooltip","show"],!0);n&&"none"!==a&&!1!==a&&"item"!==a&&!1!==r&&!1!==e.get(["axisPointer","show"],!0)&&_O(t.coordSysAxesInfo[yQ(n.model)],(function(t){var a=t.axis;n.getAxis(a.dim)===a&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())}))}))}(n,t),n}function gQ(t,e){return"all"===t||DO(t)&&vO(t,e)>=0||t===e}function mQ(t){var e=bQ(t);if(e){var n=e.axisPointerModel,a=e.axis.scale,r=n.option,o=n.get("status"),i=n.get("value");null!=i&&(i=a.parse(i));var l=vQ(n);null==o&&(r.status=l?"show":"hide");var s=a.getExtent().slice();s[0]>s[1]&&s.reverse(),(null==i||i>s[1])&&(i=s[1]),i<s[0]&&(i=s[0]),r.value=i,l&&(r.status=e.axis.scale.isBlank()?"hide":"show")}}function bQ(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[yQ(t)]}function vQ(t){return!!t.get(["handle","show"])}function yQ(t){return t.type+"||"+t.id}var xQ={},wQ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.render=function(e,n,a,r){this.axisPointerClass&&mQ(e),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,a,!0)},e.prototype.updateAxisPointer=function(t,e,n,a){this._doUpdateAxisPointerClass(t,n,!1)},e.prototype.remove=function(t,e){var n=this._axisPointer;n&&n.remove(e)},e.prototype.dispose=function(e,n){this._disposeAxisPointer(n),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(t,n,a){var r=e.getAxisPointerClass(this.axisPointerClass);if(r){var o=function(t){var e=bQ(t);return e&&e.axisPointerModel}(t);o?(this._axisPointer||(this._axisPointer=new r)).render(t,o,n,a):this._disposeAxisPointer(n)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,e){xQ[t]=e},e.getAxisPointerClass=function(t){return t&&xQ[t]},e.type="axis",e}(cH),_Q=zP();function kQ(t,e,n,a){var r=n.axis;if(!r.scale.isBlank()){var o=n.getModel("splitArea"),i=o.getModel("areaStyle"),l=i.get("color"),s=a.coordinateSystem.getRect(),c=r.getTicksCoords({tickModel:o,clamp:!0});if(c.length){var u=l.length,d=_Q(t).splitAreaColors,p=tE(),f=0;if(d)for(var h=0;h<c.length;h++){var g=d.get(c[h].tickValue);if(null!=g){f=(g+(u-1)*h)%u;break}}var m=r.toGlobalCoord(c[0].coord),b=i.getAreaStyle();l=DO(l)?l:[l];for(h=1;h<c.length;h++){var v=r.toGlobalCoord(c[h].coord),y=void 0,x=void 0,w=void 0,_=void 0;r.isHorizontal()?(y=m,x=s.y,w=v-y,_=s.height,m=y+w):(y=s.x,x=m,w=s.width,m=x+(_=v-x));var k=c[h-1].tickValue;null!=k&&p.set(k,f),e.add(new bz({anid:null!=k?"area_"+k:null,shape:{x:y,y:x,width:w,height:_},style:mO({fill:l[f]},b),autoBatch:!0,silent:!0})),f=(f+1)%u}_Q(t).splitAreaColors=p}}}function SQ(t){_Q(t).splitAreaColors=null}var CQ=["axisLine","axisTickLabel","axisName"],MQ=["splitArea","splitLine","minorSplitLine"],OQ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="CartesianAxisPointer",n}return d(e,t),e.prototype.render=function(e,n,a,r){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new VI,this.group.add(this._axisGroup),e.get("show")){var i=e.getCoordSysModel(),l=tQ(i,e),s=new sQ(e,gO({handleAutoShown:function(t){for(var n=i.coordinateSystem.getCartesians(),a=0;a<n.length;a++){var r=n[a].getOtherAxis(e.axis).type;if("value"===r||"log"===r)return!0}return!1}},l));_O(CQ,s.add,s),this._axisGroup.add(s.getGroup()),_O(MQ,(function(t){e.get([t,"show"])&&EQ[t](this,this._axisGroup,e,i)}),this),r&&"changeAxisOrder"===r.type&&r.isInitSort||Dj(o,this._axisGroup,e),t.prototype.render.call(this,e,n,a,r)}},e.prototype.remove=function(){SQ(this)},e.type="cartesianAxis",e}(wQ),EQ={splitLine:function(t,e,n,a){var r=n.axis;if(!r.scale.isBlank()){var o=n.getModel("splitLine"),i=o.getModel("lineStyle"),l=i.get("color");l=DO(l)?l:[l];for(var s=a.coordinateSystem.getRect(),c=r.isHorizontal(),u=0,d=r.getTicksCoords({tickModel:o}),p=[],f=[],h=i.getLineStyle(),g=0;g<d.length;g++){var m=r.toGlobalCoord(d[g].coord);c?(p[0]=m,p[1]=s.y,f[0]=m,f[1]=s.y+s.height):(p[0]=s.x,p[1]=m,f[0]=s.x+s.width,f[1]=m);var b=u++%l.length,v=d[g].tickValue;e.add(new DL({anid:null!=v?"line_"+d[g].tickValue:null,subPixelOptimize:!0,autoBatch:!0,shape:{x1:p[0],y1:p[1],x2:f[0],y2:f[1]},style:mO({stroke:l[b]},h),silent:!0}))}}},minorSplitLine:function(t,e,n,a){var r=n.axis,o=n.getModel("minorSplitLine").getModel("lineStyle"),i=a.coordinateSystem.getRect(),l=r.isHorizontal(),s=r.getMinorTicksCoords();if(s.length)for(var c=[],u=[],d=o.getLineStyle(),p=0;p<s.length;p++)for(var f=0;f<s[p].length;f++){var h=r.toGlobalCoord(s[p][f].coord);l?(c[0]=h,c[1]=i.y,u[0]=h,u[1]=i.y+i.height):(c[0]=i.x,c[1]=h,u[0]=i.x+i.width,u[1]=h),e.add(new DL({anid:"minor_line_"+s[p][f].tickValue,subPixelOptimize:!0,autoBatch:!0,shape:{x1:c[0],y1:c[1],x2:u[0],y2:u[1]},style:d,silent:!0}))}},splitArea:function(t,e,n,a){kQ(t,e,n,a)}},TQ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.type="xAxis",e}(OQ),DQ=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=TQ.type,e}return d(e,t),e.type="yAxis",e}(OQ),IQ=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return d(e,t),e.prototype.render=function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new bz({shape:t.coordinateSystem.getRect(),style:mO({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(cH),PQ={offset:0};function NQ(t){t.registerComponentView(IQ),t.registerComponentModel(B$),t.registerCoordinateSystem("cartesian2d",aQ),K$(t,"x",V$,PQ),K$(t,"y",V$,PQ),t.registerComponentView(TQ),t.registerComponentView(DQ),t.registerPreprocessor((function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})}))}function AQ(t){t.eachSeriesByType("radar",(function(t){var e=t.getData(),n=[],a=t.coordinateSystem;if(a){var r=a.getIndicatorAxes();_O(r,(function(t,o){e.each(e.mapDimension(r[o].dim),(function(t,e){n[e]=n[e]||[];var r=a.dataToPoint(t,o);n[e][o]=zQ(r)?r:RQ(a)}))})),e.each((function(t){var r=MO(n[t],(function(t){return zQ(t)}))||RQ(a);n[t].push(r.slice()),e.setItemLayout(t,n[t])}))}}))}function zQ(t){return!isNaN(t[0])&&!isNaN(t[1])}function RQ(t){return[t.cx,t.cy]}function LQ(t){var e=t.polar;if(e){DO(e)||(e=[e]);var n=[];_O(e,(function(e,a){e.indicator?(e.type&&!e.shape&&(e.shape=e.type),t.radar=t.radar||[],DO(t.radar)||(t.radar=[t.radar]),t.radar.push(e)):n.push(e)})),t.polar=n}_O(t.series,(function(t){t&&"radar"===t.type&&t.polarIndex&&(t.radarIndex=t.polarIndex)}))}var jQ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.render=function(t,e,n){var a=t.coordinateSystem,r=this.group,o=t.getData(),i=this._data;function l(t,e){var n=t.getItemVisual(e,"symbol")||"circle";if("none"!==n){var a=kW(t.getItemVisual(e,"symbolSize")),r=_W(n,-1,-1,2,2),o=t.getItemVisual(e,"symbolRotate")||0;return r.attr({style:{strokeNoScale:!0},z2:100,scaleX:a[0]/2,scaleY:a[1]/2,rotation:o*Math.PI/180||0}),r}}function s(e,n,a,r,o,i){a.removeAll();for(var s=0;s<n.length-1;s++){var c=l(r,o);c&&(c.__dimIdx=s,e[s]?(c.setPosition(e[s]),jj[i?"initProps":"updateProps"](c,{x:n[s][0],y:n[s][1]},t,o)):c.setPosition(n[s]),a.add(c))}}function c(t){return kO(t,(function(t){return[a.cx,a.cy]}))}o.diff(i).add((function(e){var n=o.getItemLayout(e);if(n){var a=new kL,r=new ML,i={shape:{points:n}};a.shape.points=c(n),r.shape.points=c(n),ij(a,i,t,e),ij(r,i,t,e);var l=new VI,u=new VI;l.add(r),l.add(a),l.add(u),s(r.shape.points,n,u,o,e,!0),o.setItemGraphicEl(e,l)}})).update((function(e,n){var a=i.getItemGraphicEl(n),r=a.childAt(0),l=a.childAt(1),c=a.childAt(2),u={shape:{points:o.getItemLayout(e)}};u.shape.points&&(s(r.shape.points,u.shape.points,c,o,e,!1),dj(l),dj(r),oj(r,u,t),oj(l,u,t),o.setItemGraphicEl(e,a))})).remove((function(t){r.remove(i.getItemGraphicEl(t))})).execute(),o.eachItemGraphicEl((function(t,e){var n=o.getItemModel(e),a=t.childAt(0),i=t.childAt(1),l=t.childAt(2),s=o.getItemVisual(e,"style"),c=s.fill;r.add(t),a.useStyle(mO(n.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:c})),kR(a,n,"lineStyle"),kR(i,n,"areaStyle");var u=n.getModel("areaStyle"),d=u.isEmpty()&&u.parentModel.isEmpty();i.ignore=d,_O(["emphasis","select","blur"],(function(t){var e=n.getModel([t,"areaStyle"]),a=e.isEmpty()&&e.parentModel.isEmpty();i.ensureState(t).ignore=a&&d})),i.useStyle(mO(u.getAreaStyle(),{fill:c,opacity:.7,decal:s.decal}));var p=n.getModel("emphasis"),f=p.getModel("itemStyle").getItemStyle();l.eachChild((function(t){if(t instanceof cz){var a=t.style;t.useStyle(gO({image:a.image,x:a.x,y:a.y,width:a.width,height:a.height},s))}else t.useStyle(s),t.setColor(c),t.style.strokeNoScale=!0;t.ensureState("emphasis").style=pO(f);var r=o.getStore().get(o.getDimensionIndex(t.__dimIdx),e);(null==r||isNaN(r))&&(r=""),Yj(t,Hj(n),{labelFetcher:o.hostModel,labelDataIndex:e,labelDimIndex:t.__dimIdx,defaultText:r,inheritColor:c,defaultOpacity:s.opacity})})),yR(t,p.get("focus"),p.get("blurScope"))})),this._data=o},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.type="radar",e}(fH),FQ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return d(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new P$(EO(this.getData,this),EO(this.getRawData,this))},e.prototype.getInitialData=function(t,e){return I$(this,{generateCoord:"indicator_",generateCoordCount:1/0})},e.prototype.formatTooltip=function(t,e,n){var a=this.getData(),r=this.coordinateSystem.getIndicatorAxes(),o=this.getData().getName(t),i=""===o?this.name:o,l=XY(this,t);return YY("section",{header:i,sortBlocks:!0,blocks:kO(r,(function(e){var n=a.get(a.mapDimension(e.dim),t);return YY("nameValue",{markerType:"subItem",markerColor:l,name:e.name,value:n,sortParam:n})}))})},e.prototype.getTooltipPosition=function(t){if(null!=t)for(var e=this.getData(),n=this.coordinateSystem,a=e.getValues(kO(n.dimensions,(function(t){return e.mapDimension(t)})),t),r=0,o=a.length;r<o;r++)if(!isNaN(a[r])){var i=n.getIndicatorAxes();return n.coordToPoint(i[r].dataToCoord(a[r]),r)}},e.type="series.radar",e.dependencies=["radar"],e.defaultOption={zlevel:0,z:2,colorBy:"data",coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid",join:"round"},label:{position:"top"},symbolSize:8},e}(eH),BQ=U$.value;function VQ(t,e){return mO({show:e},t)}var YQ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.optionUpdated=function(){var t=this.get("boundaryGap"),e=this.get("splitNumber"),n=this.get("scale"),a=this.get("axisLine"),r=this.get("axisTick"),o=this.get("axisLabel"),i=this.get("axisName"),l=this.get(["axisName","show"]),s=this.get(["axisName","formatter"]),c=this.get("axisNameGap"),u=this.get("triggerEvent"),d=kO(this.get("indicator")||[],(function(d){null!=d.max&&d.max>0&&!d.min?d.min=0:null!=d.min&&d.min<0&&!d.max&&(d.max=0);var p=i;null!=d.color&&(p=mO({color:d.color},i));var f=fO(pO(d),{boundaryGap:t,splitNumber:e,scale:n,axisLine:a,axisTick:r,axisLabel:o,name:d.text,nameLocation:"end",nameGap:c,nameTextStyle:p,triggerEvent:u},!1);if(l||(f.name=""),"string"==typeof s){var h=f.name;f.name=s.replace("{value}",null!=h?h:"")}else"function"==typeof s&&(f.name=s(f.name,f));var g=new dF(f,null,this.ecModel);return xO(g,Yq.prototype),g.mainType="radar",g.componentIndex=this.componentIndex,g}),this);this._indicatorModels=d},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type="radar",e.defaultOption={zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:fO({lineStyle:{color:"#bbb"}},BQ.axisLine),axisLabel:VQ(BQ.axisLabel,!1),axisTick:VQ(BQ.axisTick,!1),splitLine:VQ(BQ.splitLine,!0),splitArea:VQ(BQ.splitArea,!0),indicator:[]},e}(kB),HQ=["axisLine","axisTickLabel","axisName"],WQ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.render=function(t,e,n){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},e.prototype._buildAxes=function(t){var e=t.coordinateSystem;_O(kO(e.getIndicatorAxes(),(function(t){return new sQ(t.model,{position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})})),(function(t){_O(HQ,t.add,t),this.group.add(t.getGroup())}),this)},e.prototype._buildSplitLineAndArea=function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var a=t.get("shape"),r=t.getModel("splitLine"),o=t.getModel("splitArea"),i=r.getModel("lineStyle"),l=o.getModel("areaStyle"),s=r.get("show"),c=o.get("show"),u=i.get("color"),d=l.get("color"),p=DO(u)?u:[u],f=DO(d)?d:[d],h=[],g=[];if("circle"===a)for(var m=n[0].getTicksCoords(),b=e.cx,v=e.cy,y=0;y<m.length;y++){if(s)h[O(h,p,y)].push(new ZR({shape:{cx:b,cy:v,r:m[y].coord}}));if(c&&y<m.length-1)g[O(g,f,y)].push(new vL({shape:{cx:b,cy:v,r0:m[y].coord,r:m[y+1].coord}}))}else{var x,w=kO(n,(function(t,n){var a=t.getTicksCoords();return x=null==x?a.length-1:Math.min(a.length-1,x),kO(a,(function(t){return e.coordToPoint(t.coord,n)}))})),_=[];for(y=0;y<=x;y++){for(var k=[],S=0;S<n.length;S++)k.push(w[S][y]);if(k[0]&&k.push(k[0].slice()),s)h[O(h,p,y)].push(new ML({shape:{points:k}}));if(c&&_)g[O(g,f,y-1)].push(new kL({shape:{points:k.concat(_)}}));_=k.slice().reverse()}}var C=i.getLineStyle(),M=l.getAreaStyle();_O(g,(function(t,e){this.group.add(kj(t,{style:mO({stroke:"none",fill:f[e%f.length]},M),silent:!0}))}),this),_O(h,(function(t,e){this.group.add(kj(t,{style:mO({fill:"none",stroke:p[e%p.length]},C),silent:!0}))}),this)}function O(t,e,n){var a=n%e.length;return t[a]=t[a]||[],a}},e.type="radar",e}(cH),UQ=function(t){function e(e,n,a){var r=t.call(this,e,n,a)||this;return r.type="value",r.angle=0,r.name="",r}return d(e,t),e}(cX),GQ=function(){function t(t,e,n){this.dimensions=[],this._model=t,this._indicatorAxes=kO(t.getIndicatorModels(),(function(t,e){var n="indicator_"+e,a=new UQ(n,new ZK);return a.name=t.get("name"),a.model=t,t.axis=a,this.dimensions.push(n),a}),this),this.resize(t,n)}return t.prototype.getIndicatorAxes=function(){return this._indicatorAxes},t.prototype.dataToPoint=function(t,e){var n=this._indicatorAxes[e];return this.coordToPoint(n.dataToCoord(t),e)},t.prototype.coordToPoint=function(t,e){var n=this._indicatorAxes[e].angle;return[this.cx+t*Math.cos(n),this.cy-t*Math.sin(n)]},t.prototype.pointToData=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,a=Math.sqrt(e*e+n*n);e/=a,n/=a;for(var r,o=Math.atan2(-n,e),i=1/0,l=-1,s=0;s<this._indicatorAxes.length;s++){var c=this._indicatorAxes[s],u=Math.abs(o-c.angle);u<i&&(r=c,l=s,i=u)}return[l,+(r&&r.coordToData(a))]},t.prototype.resize=function(t,e){var n=t.get("center"),a=e.getWidth(),r=e.getHeight(),o=Math.min(a,r)/2;this.cx=JI(n[0],a),this.cy=JI(n[1],r),this.startAngle=t.get("startAngle")*Math.PI/180;var i=t.get("radius");"string"!=typeof i&&"number"!=typeof i||(i=[0,i]),this.r0=JI(i[0],o),this.r=JI(i[1],o),_O(this._indicatorAxes,(function(t,e){t.setExtent(this.r0,this.r);var n=this.startAngle+e*Math.PI*2/this._indicatorAxes.length;n=Math.atan2(Math.sin(n),Math.cos(n)),t.angle=n}),this)},t.prototype.update=function(t,e){var n=this._indicatorAxes,a=this._model;_O(n,(function(t){t.scale.setExtent(1/0,-1/0)})),t.eachSeriesByType("radar",(function(e,r){if("radar"===e.get("coordinateSystem")&&t.getComponent("radar",e.get("radarIndex"))===a){var o=e.getData();_O(n,(function(t){t.scale.unionExtentFromData(o,o.mapDimension(t.dim))}))}}),this);var r=a.get("splitNumber");function o(t){var e=Math.pow(10,Math.floor(Math.log(t)/Math.LN10)),n=t/e;return 2===n?n=5:n*=2,n*e}_O(n,(function(t,e){var n=Nq(t.scale,t.model).extent;Aq(t.scale,t.model);var a=t.model,i=t.scale,l=Pq(i,a.get("min",!0)),s=Pq(i,a.get("max",!0)),c=i.getInterval();if(null!=l&&null!=s)i.setExtent(+l,+s),i.setInterval((s-l)/r);else if(null!=l){var u=void 0;do{u=l+c*r,i.setExtent(+l,u),i.setInterval(c),c=o(c)}while(u<n[1]&&isFinite(u)&&isFinite(n[1]))}else if(null!=s){var d=void 0;do{d=s-c*r,i.setExtent(d,+s),i.setInterval(c),c=o(c)}while(d>n[0]&&isFinite(d)&&isFinite(n[0]))}else{i.getTicks().length-1>r&&(c=o(c));d=$I((u=Math.ceil(n[1]/c)*c)-c*r);i.setExtent(d,u),i.setInterval(c)}}))},t.prototype.convertToPixel=function(t,e,n){return console.warn("Not implemented."),null},t.prototype.convertFromPixel=function(t,e,n){return console.warn("Not implemented."),null},t.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},t.create=function(e,n){var a=[];return e.eachComponent("radar",(function(r){var o=new t(r,e,n);a.push(o),r.coordinateSystem=o})),e.eachSeriesByType("radar",(function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=a[t.get("radarIndex")||0])})),a},t.dimensions=[],t}();function KQ(t){t.registerCoordinateSystem("radar",GQ),t.registerComponentModel(YQ),t.registerComponentView(WQ),t.registerVisual({seriesType:"radar",reset:function(t){var e=t.getData();e.each((function(t){e.setItemVisual(t,"legendIcon","roundRect")})),e.setVisual("legendIcon","roundRect")}})}function qQ(t){Kq(KQ),t.registerChartView(jQ),t.registerSeriesModel(FQ),t.registerLayout(AQ),t.registerProcessor(k$("radar")),t.registerPreprocessor(LQ)}var XQ="\0_ec_interaction_mutex";function ZQ(t,e){return!!JQ(t)[e]}function JQ(t){return t[XQ]||(t[XQ]={})}GG({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},(function(){}));var $Q=function(t){function e(e){var n=t.call(this)||this;n._zr=e;var a=EO(n._mousedownHandler,n),r=EO(n._mousemoveHandler,n),o=EO(n._mouseupHandler,n),i=EO(n._mousewheelHandler,n),l=EO(n._pinchHandler,n);return n.enable=function(t,n){this.disable(),this._opt=mO(pO(n)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",a),e.on("mousemove",r),e.on("mouseup",o)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",i),e.on("pinch",l))},n.disable=function(){e.off("mousedown",a),e.off("mousemove",r),e.off("mouseup",o),e.off("mousewheel",i),e.off("pinch",l)},n}return d(e,t),e.prototype.isDragging=function(){return this._dragging},e.prototype.isPinching=function(){return this._pinching},e.prototype.setPointerChecker=function(t){this.pointerChecker=t},e.prototype.dispose=function(){this.disable()},e.prototype._mousedownHandler=function(t){if(!(qE(t)||t.target&&t.target.draggable)){var e=t.offsetX,n=t.offsetY;this.pointerChecker&&this.pointerChecker(t,e,n)&&(this._x=e,this._y=n,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){if(this._dragging&&e0("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!ZQ(this._zr,"globalPan")){var e=t.offsetX,n=t.offsetY,a=this._x,r=this._y,o=e-a,i=n-r;this._x=e,this._y=n,this._opt.preventDefaultMouseMove&&KE(t.event),t0(this,"pan","moveOnMouseMove",t,{dx:o,dy:i,oldX:a,oldY:r,newX:e,newY:n,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){qE(t)||(this._dragging=!1)},e.prototype._mousewheelHandler=function(t){var e=e0("zoomOnMouseWheel",t,this._opt),n=e0("moveOnMouseWheel",t,this._opt),a=t.wheelDelta,r=Math.abs(a),o=t.offsetX,i=t.offsetY;if(0!==a&&(e||n)){if(e){var l=r>3?1.4:r>1?1.2:1.1;QQ(this,"zoom","zoomOnMouseWheel",t,{scale:a>0?l:1/l,originX:o,originY:i,isAvailableBehavior:null})}if(n){var s=Math.abs(a);QQ(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(a>0?1:-1)*(s>3?.4:s>1?.15:.05),originX:o,originY:i,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){ZQ(this._zr,"globalPan")||QQ(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})},e}(PE);function QQ(t,e,n,a,r){t.pointerChecker&&t.pointerChecker(a,r.originX,r.originY)&&(KE(a.event),t0(t,e,n,a,r))}function t0(t,e,n,a,r){r.isAvailableBehavior=EO(e0,null,n,a),t.trigger(e,r)}function e0(t,e,n){var a=n[t];return!t||a&&(!PO(a)||e.event[a+"Key"])}function n0(t,e,n){var a=t.target;a.x+=e,a.y+=n,a.dirty()}function a0(t,e,n,a){var r=t.target,o=t.zoomLimit,i=t.zoom=t.zoom||1;if(i*=e,o){var l=o.min||0,s=o.max||1/0;i=Math.max(Math.min(s,i),l)}var c=i/t.zoom;t.zoom=i,r.x-=(n-r.x)*(c-1),r.y-=(a-r.y)*(c-1),r.scaleX*=c,r.scaleY*=c,r.dirty()}var r0={axisPointer:1,tooltip:1,brush:1};function o0(t,e,n){var a=e.getComponentByElement(t.topTarget),r=a&&a.coordinateSystem;return a&&a!==n&&!r0.hasOwnProperty(a.mainType)&&r&&r.model!==n}var i0=["rect","circle","line","ellipse","polygon","polyline","path"],l0=tE(i0),s0=tE(i0.concat(["g"])),c0=tE(i0.concat(["g"])),u0=zP();function d0(t){var e=t.getItemStyle(),n=t.get("areaColor");return null!=n&&(e.fill=n),e}var p0=function(){function t(t){var e=new VI;this.uid=fF("ec_map_draw"),this._controller=new $Q(t.getZr()),this._controllerHost={target:e},this.group=e,e.add(this._regionsGroup=new VI),e.add(this._svgGroup=new VI)}return t.prototype.draw=function(t,e,n,a,r){var o="geo"===t.mainType,i=t.getData&&t.getData();o&&e.eachComponent({mainType:"series",subType:"map"},(function(e){i||e.getHostGeoModel()!==t||(i=e.getData())}));var l=t.coordinateSystem,s=this._regionsGroup,c=this.group,u=l.getTransformInfo(),d=u.raw,p=u.roam;!s.childAt(0)||r?(c.x=p.x,c.y=p.y,c.scaleX=p.scaleX,c.scaleY=p.scaleY,c.dirty()):oj(c,p,t);var f=i&&i.getVisual("visualMeta")&&i.getVisual("visualMeta").length>0,h={api:n,geo:l,mapOrGeoModel:t,data:i,isVisualEncodedByVisualMap:f,isGeo:o,transformInfoRaw:d};"geoJSON"===l.resourceType?this._buildGeoJSON(h):"geoSVG"===l.resourceType&&this._buildSVG(h),this._updateController(t,e,n),this._updateMapSelectHandler(t,s,n,a)},t.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=tE(),n=tE(),a=this._regionsGroup,r=t.transformInfoRaw,o=t.mapOrGeoModel,i=t.data,l=function(t){return[t[0]*r.scaleX+r.x,t[1]*r.scaleY+r.y]};a.removeAll(),_O(t.geo.regions,(function(r){var s=r.name,c=e.get(s),u=n.get(s)||{},d=u.dataIdx,p=u.regionModel;c||(c=e.set(s,new VI),a.add(c),d=i?i.indexOfName(s):null,p=t.isGeo?o.getRegionModel(s):i?i.getItemModel(d):null,n.set(s,{dataIdx:d,regionModel:p}));var f=new BL({segmentIgnoreThreshold:1,shape:{paths:[]}});c.add(f),_O(r.geometries,(function(t){if("polygon"===t.type){for(var e=[],n=0;n<t.exterior.length;++n)e.push(l(t.exterior[n]));f.shape.paths.push(new kL({segmentIgnoreThreshold:1,shape:{points:e}}));for(n=0;n<(t.interiors?t.interiors.length:0);++n){for(var a=t.interiors[n],r=[],o=0;o<a.length;++o)r.push(l(a[o]));f.shape.paths.push(new kL({segmentIgnoreThreshold:1,shape:{points:r}}))}}})),f0(t,f,d,p),f instanceof TN&&(f.culling=!0);var h=l(r.getCenter());h0(t,f,s,p,o,d,h)})),e.each((function(e,a){var r=n.get(a),i=r.dataIdx,l=r.regionModel;g0(t,e,a,l,o,i),m0(t,e,a,l,o),b0(t,e,a,l,o)}),this)},t.prototype._buildSVG=function(t){var e=t.geo.map,n=t.transformInfoRaw;this._svgGroup.x=n.x,this._svgGroup.y=n.y,this._svgGroup.scaleX=n.scaleX,this._svgGroup.scaleY=n.scaleY,this._svgResourceChanged(e)&&(this._freeSVG(),this._useSVG(e));var a=this._svgDispatcherMap=tE(),r=!1;_O(this._svgGraphicRecord.named,(function(e){var n=e.name,o=t.mapOrGeoModel,i=t.data,l=e.svgNodeTagLower,s=e.el,c=i?i.indexOfName(n):null,u=o.getRegionModel(n);(null!=l0.get(l)&&s instanceof TN&&f0(t,s,c,u),s instanceof TN&&(s.culling=!0),s.z2EmphasisLift=0,e.namedFrom)||(null!=c0.get(l)&&h0(t,s,n,u,o,c,null),g0(t,s,n,u,o,c),m0(t,s,n,u,o),null!=s0.get(l)&&("self"===b0(t,s,n,u,o)&&(r=!0),(a.get(n)||a.set(n,[])).push(s)))}),this),this._enableBlurEntireSVG(r,t)},t.prototype._enableBlurEntireSVG=function(t,e){if(t&&e.isGeo){var n=e.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle().opacity;this._svgGraphicRecord.root.traverse((function(t){if(!t.isGroup){aR(t);var e=t.ensureState("blur").style||{};null==e.opacity&&null!=n&&(e.opacity=n),t.ensureState("emphasis")}}))}},t.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},t.prototype.findHighDownDispatchers=function(t,e){if(null==t)return[];var n=e.coordinateSystem;if("geoJSON"===n.resourceType){var a=this._regionsGroupByName;if(a){var r=a.get(t);return r?[r]:[]}}else if("geoSVG"===n.resourceType)return this._svgDispatcherMap&&this._svgDispatcherMap.get(t)||[]},t.prototype._svgResourceChanged=function(t){return this._svgMapName!==t},t.prototype._useSVG=function(t){var e=VU(t);if(e&&"geoSVG"===e.type){var n=e.useGraphic(this.uid);this._svgGroup.add(n.root),this._svgGraphicRecord=n,this._svgMapName=t}},t.prototype._freeSVG=function(){var t=this._svgMapName;if(null!=t){var e=VU(t);e&&"geoSVG"===e.type&&e.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},t.prototype._updateController=function(t,e,n){var a=t.coordinateSystem,r=this._controller,o=this._controllerHost;o.zoomLimit=t.get("scaleLimit"),o.zoom=a.getZoom(),r.enable(t.get("roam")||!1);var i=t.mainType;function l(){var e={type:"geoRoam",componentType:i};return e[i+"Id"]=t.id,e}r.off("pan").on("pan",(function(t){this._mouseDownFlag=!1,n0(o,t.dx,t.dy),n.dispatchAction(gO(l(),{dx:t.dx,dy:t.dy}))}),this),r.off("zoom").on("zoom",(function(t){this._mouseDownFlag=!1,a0(o,t.scale,t.originX,t.originY),n.dispatchAction(gO(l(),{zoom:t.scale,originX:t.originX,originY:t.originY}))}),this),r.setPointerChecker((function(e,r,o){return a.containPoint([r,o])&&!o0(e,n,t)}))},t.prototype.resetForLabelLayout=function(){this.group.traverse((function(t){var e=t.getTextContent();e&&(e.ignore=u0(e).ignore)}))},t.prototype._updateMapSelectHandler=function(t,e,n,a){var r=this;e.off("mousedown"),e.off("click"),t.get("selectedMode")&&(e.on("mousedown",(function(){r._mouseDownFlag=!0})),e.on("click",(function(t){r._mouseDownFlag&&(r._mouseDownFlag=!1)})))},t}();function f0(t,e,n,a){var r=a.getModel("itemStyle"),o=a.getModel(["emphasis","itemStyle"]),i=a.getModel(["blur","itemStyle"]),l=a.getModel(["select","itemStyle"]),s=d0(r),c=d0(o),u=d0(l),d=d0(i),p=t.data;if(p){var f=p.getItemVisual(n,"style"),h=p.getItemVisual(n,"decal");t.isVisualEncodedByVisualMap&&f.fill&&(s.fill=f.fill),h&&(s.decal=qW(h,t.api))}e.setStyle(s),e.style.strokeNoScale=!0,e.ensureState("emphasis").style=c,e.ensureState("select").style=u,e.ensureState("blur").style=d,aR(e)}function h0(t,e,n,a,r,o,i){var l=t.data,s=t.isGeo,c=l&&isNaN(l.get(l.mapDimension("value"),o)),u=l&&l.getItemLayout(o);if(s||c||u&&u.showLabel){var d=s?n:o,p=void 0;(!l||o>=0)&&(p=r);var f=i?{normal:{align:"center",verticalAlign:"middle"}}:null;Yj(e,Hj(a),{labelFetcher:p,labelDataIndex:d,defaultText:n},f);var h=e.getTextContent();if(h&&(u0(h).ignore=h.ignore,e.textConfig&&i)){var g=e.getBoundingRect().clone();e.textConfig.layoutRect=g,e.textConfig.position=[(i[0]-g.x)/g.width*100+"%",(i[1]-g.y)/g.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function g0(t,e,n,a,r,o){t.data?t.data.setItemGraphicEl(o,e):Dz(e).eventData={componentType:"geo",componentIndex:r.componentIndex,geoIndex:r.componentIndex,name:n,region:a&&a.option||{}}}function m0(t,e,n,a,r){t.data||Lj({el:e,componentModel:r,itemName:n,itemTooltipOption:a.get("tooltip")})}function b0(t,e,n,a,r){e.highDownSilentOnTouch=!!r.get("selectedMode");var o=a.getModel("emphasis"),i=o.get("focus");return yR(e,i,o.get("blurScope")),t.isGeo&&function(t,e,n){var a=Dz(t);a.componentMainType=e.mainType,a.componentIndex=e.componentIndex,a.componentHighDownName=n}(e,r,n),i}var v0=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.render=function(t,e,n,a){if(!a||"mapToggleSelect"!==a.type||a.from!==this.uid){var r=this.group;if(r.removeAll(),!t.getHostGeoModel()){if(this._mapDraw&&a&&"geoRoam"===a.type&&this._mapDraw.resetForLabelLayout(),a&&"geoRoam"===a.type&&"series"===a.componentType&&a.seriesId===t.id)(o=this._mapDraw)&&r.add(o.group);else if(t.needsDrawMap){var o=this._mapDraw||new p0(n);r.add(o.group),o.draw(t,e,n,this,a),this._mapDraw=o}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,n)}}},e.prototype.remove=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},e.prototype._renderSymbols=function(t,e,n){var a=t.originalData,r=this.group;a.each(a.mapDimension("value"),(function(e,n){if(!isNaN(e)){var o=a.getItemLayout(n);if(o&&o.point){var i=o.point,l=o.offset,s=new ZR({style:{fill:t.getData().getVisual("style").fill},shape:{cx:i[0]+9*l,cy:i[1],r:3},silent:!0,z2:8+(l?0:11)});if(!l){var c=t.mainSeries.getData(),u=a.getName(n),d=c.indexOfName(u),p=a.getItemModel(n),f=p.getModel("label"),h=c.getItemGraphicEl(d);Yj(s,Hj(p),{labelFetcher:{getFormattedLabel:function(e,n){return t.getFormattedLabel(d,n)}}}),s.disableLabelAnimation=!0,f.get("position")||s.setTextConfig({position:"bottom"}),h.onHoverStateChange=function(t){eR(s,t)}}r.add(s)}}}))},e.type="map",e}(fH),y0=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.needsDrawMap=!1,n.seriesGroup=[],n.getTooltipPosition=function(t){if(null!=t){var e=this.getData().getName(t),n=this.coordinateSystem,a=n.getRegion(e);return a&&n.dataToPoint(a.getCenter())}},n}return d(e,t),e.prototype.getInitialData=function(t){for(var e=I$(this,{coordDimensions:["value"],encodeDefaulter:TO(VB,this)}),n=tE(),a=[],r=0,o=e.count();r<o;r++){var i=e.getName(r);n.set(i,!0)}return _O(HU(this.getMapType(),this.option.nameMap,this.option.nameProperty).regions,(function(t){var e=t.name;n.get(e)||a.push(e)})),e.appendValues([],a),e},e.prototype.getHostGeoModel=function(){var t=this.option.geoIndex;return null!=t?this.ecModel.getComponent("geo",t):null},e.prototype.getMapType=function(){return(this.getHostGeoModel()||this).option.map},e.prototype.getRawValue=function(t){var e=this.getData();return e.get(e.mapDimension("value"),t)},e.prototype.getRegionModel=function(t){var e=this.getData();return e.getItemModel(e.indexOfName(t))},e.prototype.formatTooltip=function(t,e,n){for(var a=this.getData(),r=this.getRawValue(t),o=a.getName(t),i=this.seriesGroup,l=[],s=0;s<i.length;s++){var c=i[s].originalData.indexOfName(o),u=a.mapDimension("value");isNaN(i[s].originalData.get(u,c))||l.push(i[s].name)}return YY("section",{header:l.join(", "),noHeader:!l.length,blocks:[YY("nameValue",{name:o,value:r})]})},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.getLegendIcon=function(t){var e=t.icon||"roundRect",n=_W(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill);return n.setStyle(t.itemStyle),n.style.stroke="none",e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},e.type="series.map",e.dependencies=["geo"],e.layoutMode="box",e.defaultOption={zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},e}(eH);function x0(t){var e={};t.eachSeriesByType("map",(function(t){var n=t.getHostGeoModel(),a=n?"o"+n.id:"i"+t.getMapType();(e[a]=e[a]||[]).push(t)})),_O(e,(function(t,e){for(var n,a,r,o=(n=kO(t,(function(t){return t.getData()})),a=t[0].get("mapValueCalculation"),r={},_O(n,(function(t){t.each(t.mapDimension("value"),(function(e,n){var a="ec-"+t.getName(n);r[a]=r[a]||[],isNaN(e)||r[a].push(e)}))})),n[0].map(n[0].mapDimension("value"),(function(t,e){for(var o="ec-"+n[0].getName(e),i=0,l=1/0,s=-1/0,c=r[o].length,u=0;u<c;u++)l=Math.min(l,r[o][u]),s=Math.max(s,r[o][u]),i+=r[o][u];return 0===c?NaN:"min"===a?l:"max"===a?s:"average"===a?i/c:i}))),i=0;i<t.length;i++)t[i].originalData=t[i].getData();for(i=0;i<t.length;i++)t[i].seriesGroup=t,t[i].needsDrawMap=0===i&&!t[i].getHostGeoModel(),t[i].setData(o.cloneShallow()),t[i].mainSeries=t[0]}))}function w0(t){var e={};t.eachSeriesByType("map",(function(n){var a=n.getMapType();if(!n.getHostGeoModel()&&!e[a]){var r={};_O(n.seriesGroup,(function(e){var n=e.coordinateSystem,a=e.originalData;e.get("showLegendSymbol")&&t.getComponent("legend")&&a.each(a.mapDimension("value"),(function(t,e){var o=a.getName(e),i=n.getRegion(o);if(i&&!isNaN(t)){var l=r[o]||0,s=n.dataToPoint(i.getCenter());r[o]=l+1,a.setItemLayout(e,{point:s,offset:l})}}))}));var o=n.getData();o.each((function(t){var e=o.getName(t),n=o.getItemLayout(t)||{};n.showLabel=!r[e],o.setItemLayout(t,n)})),e[a]=!0}}))}var _0=SE,k0=function(t){function e(e){var n=t.call(this)||this;return n.type="view",n.dimensions=["x","y"],n._roamTransformable=new oI,n._rawTransformable=new oI,n.name=e,n}return d(e,t),e.prototype.setBoundingRect=function(t,e,n,a){return this._rect=new bI(t,e,n,a),this._rect},e.prototype.getBoundingRect=function(){return this._rect},e.prototype.setViewRect=function(t,e,n,a){this._transformTo(t,e,n,a),this._viewRect=new bI(t,e,n,a)},e.prototype._transformTo=function(t,e,n,a){var r=this.getBoundingRect(),o=this._rawTransformable;o.transform=r.calculateTransform(new bI(t,e,n,a));var i=o.parent;o.parent=null,o.decomposeTransform(),o.parent=i,this._updateTransform()},e.prototype.setCenter=function(t){t&&(this._center=t,this._updateCenterAndZoom())},e.prototype.setZoom=function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min&&(t=Math.max(e.min,t))),this._zoom=t,this._updateCenterAndZoom()},e.prototype.getDefaultCenter=function(){var t=this.getBoundingRect();return[t.x+t.width/2,t.y+t.height/2]},e.prototype.getCenter=function(){return this._center||this.getDefaultCenter()},e.prototype.getZoom=function(){return this._zoom||1},e.prototype.getRoamTransform=function(){return this._roamTransformable.getLocalTransform()},e.prototype._updateCenterAndZoom=function(){var t=this._rawTransformable.getLocalTransform(),e=this._roamTransformable,n=this.getDefaultCenter(),a=this.getCenter(),r=this.getZoom();a=SE([],a,t),n=SE([],n,t),e.originX=a[0],e.originY=a[1],e.x=n[0]-a[0],e.y=n[1]-a[1],e.scaleX=e.scaleY=r,this._updateTransform()},e.prototype._updateTransform=function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),BD(this.transform||(this.transform=[]),e.transform||[1,0,0,1,0,0]),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],UD(this.invTransform,this.transform),this.decomposeTransform()},e.prototype.getTransformInfo=function(){var t=this._rawTransformable,e=this._roamTransformable,n=new oI;return n.transform=e.transform,n.decomposeTransform(),{roam:{x:n.x,y:n.y,scaleX:n.scaleX,scaleY:n.scaleY},raw:{x:t.x,y:t.y,scaleX:t.scaleX,scaleY:t.scaleY}}},e.prototype.getViewRect=function(){return this._viewRect},e.prototype.getViewRectAfterRoam=function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},e.prototype.dataToPoint=function(t,e,n){var a=e?this._rawTransform:this.transform;return n=n||[],a?_0(n,t,a):lE(n,t)},e.prototype.pointToData=function(t){var e=this.invTransform;return e?_0([],t,e):[t[0],t[1]]},e.prototype.convertToPixel=function(t,e,n){var a=S0(e);return a===this?a.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var a=S0(e);return a===this?a.pointToData(n):null},e.prototype.containPoint=function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])},e.dimensions=["x","y"],e}(oI);function S0(t){var e=t.seriesModel;return e?e.coordinateSystem:null}var C0={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},M0=["lng","lat"],O0=function(t){function e(e,n,a){var r=t.call(this,e)||this;r.dimensions=M0,r.type="geo",r._nameCoordMap=tE(),r.map=n;var o=HU(n,a.nameMap,a.nameProperty),i=VU(n);r.resourceType=i?i.type:null;var l=C0[i.type];r._regionsMap=o.regionsMap,r._invertLongitute=l.invertLongitute,r.regions=o.regions,r.aspectScale=WO(a.aspectScale,l.aspectScale);var s=o.boundingRect;return r.setBoundingRect(s.x,s.y,s.width,s.height),r}return d(e,t),e.prototype._transformTo=function(t,e,n,a){var r=this.getBoundingRect(),o=this._invertLongitute;r=r.clone(),o&&(r.y=-r.y-r.height);var i=this._rawTransformable;i.transform=r.calculateTransform(new bI(t,e,n,a));var l=i.parent;i.parent=null,i.decomposeTransform(),i.parent=l,o&&(i.scaleY=-i.scaleY),this._updateTransform()},e.prototype.getRegion=function(t){return this._regionsMap.get(t)},e.prototype.getRegionByCoord=function(t){for(var e=this.regions,n=0;n<e.length;n++){var a=e[n];if("geoJSON"===a.type&&a.contain(t))return e[n]}},e.prototype.addGeoCoord=function(t,e){this._nameCoordMap.set(t,e)},e.prototype.getGeoCoord=function(t){var e=this._regionsMap.get(t);return this._nameCoordMap.get(t)||e&&e.getCenter()},e.prototype.dataToPoint=function(t,e,n){if("string"==typeof t&&(t=this.getGeoCoord(t)),t)return k0.prototype.dataToPoint.call(this,t,e,n)},e.prototype.convertToPixel=function(t,e,n){var a=E0(e);return a===this?a.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var a=E0(e);return a===this?a.pointToData(n):null},e}(k0);function E0(t){var e=t.geoModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo",FP).models[0]||{}).coordinateSystem:null}function T0(t,e){var n=t.get("boundingCoords");if(null!=n){var a=n[0],r=n[1];isNaN(a[0])||isNaN(a[1])||isNaN(r[0])||isNaN(r[1])||this.setBoundingRect(a[0],a[1],r[0]-a[0],r[1]-a[1])}var o,i,l,s=this.getBoundingRect(),c=t.get("layoutCenter"),u=t.get("layoutSize"),d=e.getWidth(),p=e.getHeight(),f=s.width/s.height*this.aspectScale,h=!1;if(c&&u&&(o=[JI(c[0],d),JI(c[1],p)],i=JI(u,Math.min(d,p)),isNaN(o[0])||isNaN(o[1])||isNaN(i)||(h=!0)),h)l={},f>1?(l.width=i,l.height=i/f):(l.height=i,l.width=i*f),l.y=o[1]-l.height/2,l.x=o[0]-l.width/2;else{var g=t.getBoxLayoutParams();g.aspect=f,l=mB(g,{width:d,height:p})}this.setViewRect(l.x,l.y,l.width,l.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}xO(O0,k0);var D0=function(){function t(){this.dimensions=M0}return t.prototype.create=function(t,e){var n=[];t.eachComponent("geo",(function(t,a){var r=t.get("map"),o=new O0(r+a,r,{nameMap:t.get("nameMap"),nameProperty:t.get("nameProperty"),aspectScale:t.get("aspectScale")});o.zoomLimit=t.get("scaleLimit"),n.push(o),t.coordinateSystem=o,o.model=t,o.resize=T0,o.resize(t,e)})),t.eachSeries((function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=n[e]}}));var a={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();a[e]=a[e]||[],a[e].push(t)}})),_O(a,(function(t,a){var r=kO(t,(function(t){return t.get("nameMap")})),o=new O0(a,a,{nameMap:hO(r),nameProperty:t[0].get("nameProperty"),aspectScale:t[0].get("aspectScale")});o.zoomLimit=HO.apply(null,kO(t,(function(t){return t.get("scaleLimit")}))),n.push(o),o.resize=T0,o.resize(t[0],e),_O(t,(function(t){t.coordinateSystem=o,function(t,e){_O(e.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}(o,t)}))})),n},t.prototype.getFilledRegions=function(t,e,n,a){for(var r=(t||[]).slice(),o=tE(),i=0;i<r.length;i++)o.set(r[i].name,r[i]);return _O(HU(e,n,a).regions,(function(t){var e=t.name;!o.get(e)&&r.push({name:e})})),r},t}(),I0=new D0,P0=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.init=function(t,e,n){var a=VU(t.map);if(a&&"geoJSON"===a.type){var r=t.itemStyle=t.itemStyle||{};"color"in r||(r.color="#eee")}this.mergeDefaultAndTheme(t,n),SP(t,"label",["show"])},e.prototype.optionUpdated=function(){var t=this,e=this.option;e.regions=I0.getFilledRegions(e.regions,e.map,e.nameMap,e.nameProperty);var n={};this._optionModelMap=SO(e.regions||[],(function(e,a){var r=a.name;return r&&(e.set(r,new dF(a,t,t.ecModel)),a.selected&&(n[r]=!0)),e}),tE()),e.selectedMap||(e.selectedMap=n)},e.prototype.getRegionModel=function(t){return this._optionModelMap.get(t)||new dF(null,this,this.ecModel)},e.prototype.getFormattedLabel=function(t,e){var n=this.getRegionModel(t),a="normal"===e?n.get(["label","formatter"]):n.get(["emphasis","label","formatter"]),r={name:t};return"function"==typeof a?(r.status=e,a(r)):"string"==typeof a?a.replace("{a}",null!=t?t:""):void 0},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.select=function(t){var e=this.option,n=e.selectedMode;n&&("multiple"!==n&&(e.selectedMap=null),(e.selectedMap||(e.selectedMap={}))[t]=!0)},e.prototype.unSelect=function(t){var e=this.option.selectedMap;e&&(e[t]=!1)},e.prototype.toggleSelected=function(t){this[this.isSelected(t)?"unSelect":"select"](t)},e.prototype.isSelected=function(t){var e=this.option.selectedMap;return!(!e||!e[t])},e.type="geo",e.layoutMode="box",e.defaultOption={zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},e}(kB);function N0(t,e,n){var a=t.getZoom(),r=t.getCenter(),o=e.zoom,i=t.dataToPoint(r);if(null!=e.dx&&null!=e.dy&&(i[0]-=e.dx,i[1]-=e.dy,t.setCenter(t.pointToData(i))),null!=o){if(n){var l=n.min||0,s=n.max||1/0;o=Math.max(Math.min(a*o,s),l)/a}t.scaleX*=o,t.scaleY*=o;var c=(e.originX-t.x)*(o-1),u=(e.originY-t.y)*(o-1);t.x-=c,t.y-=u,t.updateTransform(),t.setCenter(t.pointToData(i)),t.setZoom(o*a)}return{center:t.getCenter(),zoom:t.getZoom()}}var A0=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.focusBlurEnabled=!0,n}return d(e,t),e.prototype.init=function(t,e){this._api=e},e.prototype.render=function(t,e,n,a){if(this._model=t,!t.get("show"))return this._mapDraw&&this._mapDraw.remove(),void(this._mapDraw=null);this._mapDraw||(this._mapDraw=new p0(n));var r=this._mapDraw;r.draw(t,e,n,this,a),r.group.on("click",this._handleRegionClick,this),r.group.silent=t.get("silent"),this.group.add(r.group),this.updateSelectStatus(t,e,n)},e.prototype._handleRegionClick=function(t){var e;cW(t.target,(function(t){return null!=(e=Dz(t).eventData)}),!0),e&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:e.name})},e.prototype.updateSelectStatus=function(t,e,n){var a=this;this._mapDraw.group.traverse((function(t){var e=Dz(t).eventData;if(e)return a._model.isSelected(e.name)?n.enterSelect(t):n.leaveSelect(t),!0}))},e.prototype.findHighDownDispatchers=function(t){return this._mapDraw&&this._mapDraw.findHighDownDispatchers(t,this._model)},e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove()},e.type="geo",e}(cH);function z0(t){function e(e,n){n.update="geo:updateSelectStatus",t.registerAction(n,(function(t,n){var a={},r=[];return n.eachComponent({mainType:"geo",query:t},(function(n){n[e](t.name),_O(n.coordinateSystem.regions,(function(t){a[t.name]=n.isSelected(t.name)||!1}));var o=[];_O(a,(function(t,e){a[e]&&o.push(e)})),r.push({geoIndex:n.componentIndex,name:o})})),{selected:a,allSelected:r,name:t.name}}))}t.registerCoordinateSystem("geo",I0),t.registerComponentModel(P0),t.registerComponentView(A0),e("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),e("select",{type:"geoSelect",event:"geoselected"}),e("unSelect",{type:"geoUnSelect",event:"geounselected"}),t.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},(function(e){var a=e.coordinateSystem;if("geo"===a.type){var r=N0(a,t,e.get("scaleLimit"));e.setCenter&&e.setCenter(r.center),e.setZoom&&e.setZoom(r.zoom),"series"===n&&_O(e.seriesGroup,(function(t){t.setCenter(r.center),t.setZoom(r.zoom)}))}}))}))}function R0(t,e){var n=t.isExpand?t.children:[],a=t.parentNode.children,r=t.hierNode.i?a[t.hierNode.i-1]:null;if(n.length){!function(t){var e=t.children,n=e.length,a=0,r=0;for(;--n>=0;){var o=e[n];o.hierNode.prelim+=a,o.hierNode.modifier+=a,r+=o.hierNode.change,a+=o.hierNode.shift+r}}(t);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;r?(t.hierNode.prelim=r.hierNode.prelim+e(t,r),t.hierNode.modifier=t.hierNode.prelim-o):t.hierNode.prelim=o}else r&&(t.hierNode.prelim=r.hierNode.prelim+e(t,r));t.parentNode.hierNode.defaultAncestor=function(t,e,n,a){if(e){for(var r=t,o=t,i=o.parentNode.children[0],l=e,s=r.hierNode.modifier,c=o.hierNode.modifier,u=i.hierNode.modifier,d=l.hierNode.modifier;l=B0(l),o=V0(o),l&&o;){r=B0(r),i=V0(i),r.hierNode.ancestor=t;var p=l.hierNode.prelim+d-o.hierNode.prelim-c+a(l,o);p>0&&(H0(Y0(l,t,n),t,p),c+=p,s+=p),d+=l.hierNode.modifier,c+=o.hierNode.modifier,s+=r.hierNode.modifier,u+=i.hierNode.modifier}l&&!B0(r)&&(r.hierNode.thread=l,r.hierNode.modifier+=d-s),o&&!V0(i)&&(i.hierNode.thread=o,i.hierNode.modifier+=c-u,n=t)}return n}(t,r,t.parentNode.hierNode.defaultAncestor||a[0],e)}function L0(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function j0(t){return arguments.length?t:W0}function F0(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function B0(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function V0(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function Y0(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function H0(t,e,n){var a=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=a,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=a}function W0(t,e){return t.parentNode===e.parentNode?1:2}var U0=function(){this.parentPoint=[],this.childPoints=[]},G0=function(t){function e(e){return t.call(this,e)||this}return d(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new U0},e.prototype.buildPath=function(t,e){var n=e.childPoints,a=n.length,r=e.parentPoint,o=n[0],i=n[a-1];if(1===a)return t.moveTo(r[0],r[1]),void t.lineTo(o[0],o[1]);var l=e.orient,s="TB"===l||"BT"===l?0:1,c=1-s,u=JI(e.forkPosition,1),d=[];d[s]=r[s],d[c]=r[c]+(i[c]-r[c])*u,t.moveTo(r[0],r[1]),t.lineTo(d[0],d[1]),t.moveTo(o[0],o[1]),d[s]=o[s],t.lineTo(d[0],d[1]),d[s]=i[s],t.lineTo(d[0],d[1]),t.lineTo(i[0],i[1]);for(var p=1;p<a-1;p++){var f=n[p];t.moveTo(f[0],f[1]),d[s]=f[s],t.lineTo(d[0],d[1])}},e}(nz),K0=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._mainGroup=new VI,n}return d(e,t),e.prototype.init=function(t,e){this._controller=new $Q(e.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},e.prototype.render=function(t,e,n){var a=t.getData(),r=t.layoutInfo,o=this._mainGroup;"radial"===t.get("layout")?(o.x=r.x+r.width/2,o.y=r.y+r.height/2):(o.x=r.x,o.y=r.y),this._updateViewCoordSys(t),this._updateController(t,e,n);var i=this._data;a.diff(i).add((function(e){q0(a,e)&&X0(a,e,null,o,t)})).update((function(e,n){var r=i.getItemGraphicEl(n);q0(a,e)?X0(a,e,r,o,t):r&&$0(i,n,r,o,t)})).remove((function(e){var n=i.getItemGraphicEl(e);n&&$0(i,e,n,o,t)})).execute(),this._nodeScaleRatio=t.get("nodeScaleRatio"),this._updateNodeAndLinkScale(t),!0===t.get("expandAndCollapse")&&a.eachItemGraphicEl((function(e,a){e.off("click").on("click",(function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:t.id,dataIndex:a})}))})),this._data=a},e.prototype._updateViewCoordSys=function(t){var e=t.getData(),n=[];e.each((function(t){var a=e.getItemLayout(t);!a||isNaN(a.x)||isNaN(a.y)||n.push([+a.x,+a.y])}));var a=[],r=[];sA(n,a,r);var o=this._min,i=this._max;r[0]-a[0]==0&&(a[0]=o?o[0]:a[0]-1,r[0]=i?i[0]:r[0]+1),r[1]-a[1]==0&&(a[1]=o?o[1]:a[1]-1,r[1]=i?i[1]:r[1]+1);var l=t.coordinateSystem=new k0;l.zoomLimit=t.get("scaleLimit"),l.setBoundingRect(a[0],a[1],r[0]-a[0],r[1]-a[1]),l.setCenter(t.get("center")),l.setZoom(t.get("zoom")),this.group.attr({x:l.x,y:l.y,scaleX:l.scaleX,scaleY:l.scaleY}),this._min=a,this._max=r},e.prototype._updateController=function(t,e,n){var a=this,r=this._controller,o=this._controllerHost,i=this.group;r.setPointerChecker((function(e,a,r){var o=i.getBoundingRect();return o.applyTransform(i.transform),o.contain(a,r)&&!o0(e,n,t)})),r.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(e){n0(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"treeRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){a0(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"treeRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),a._updateNodeAndLinkScale(t),n.updateLabelLayout()}))},e.prototype._updateNodeAndLinkScale=function(t){var e=t.getData(),n=this._getNodeGlobalScale(t);e.eachItemGraphicEl((function(t,e){t.setSymbolScale(n)}))},e.prototype._getNodeGlobalScale=function(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=this._nodeScaleRatio,a=e.scaleX||1;return((e.getZoom()-1)*n+1)/a},e.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype.remove=function(){this._mainGroup.removeAll(),this._data=null},e.type="tree",e}(fH);function q0(t,e){var n=t.getItemLayout(e);return n&&!isNaN(n.x)&&!isNaN(n.y)}function X0(t,e,n,a,r){var o=!n,i=t.tree.getNodeByDataIndex(e),l=i.getModel(),s=i.getVisual("style").fill,c=!1===i.isExpand&&0!==i.children.length?s:"#fff",u=t.tree.root,d=i.parentNode===u?i:i.parentNode||i,p=t.getItemGraphicEl(d.dataIndex),f=d.getLayout(),h=p?{x:p.__oldX,y:p.__oldY,rawX:p.__radialOldRawX,rawY:p.__radialOldRawY}:f,g=i.getLayout();o?((n=new iJ(t,e,null,{symbolInnerColor:c,useNameLabel:!0})).x=h.x,n.y=h.y):n.updateData(t,e,null,{symbolInnerColor:c,useNameLabel:!0}),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=g.rawX,n.__radialRawY=g.rawY,a.add(n),t.setItemGraphicEl(e,n),n.__oldX=n.x,n.__oldY=n.y,oj(n,{x:g.x,y:g.y},r);var m=n.getSymbolPath();if("radial"===r.get("layout")){var b=u.children[0],v=b.getLayout(),y=b.children.length,x=void 0,w=void 0;if(g.x===v.x&&!0===i.isExpand){var _={x:(b.children[0].getLayout().x+b.children[y-1].getLayout().x)/2,y:(b.children[0].getLayout().y+b.children[y-1].getLayout().y)/2};(x=Math.atan2(_.y-v.y,_.x-v.x))<0&&(x=2*Math.PI+x),(w=_.x<v.x)&&(x-=Math.PI)}else(x=Math.atan2(g.y-v.y,g.x-v.x))<0&&(x=2*Math.PI+x),0===i.children.length||0!==i.children.length&&!1===i.isExpand?(w=g.x<v.x)&&(x-=Math.PI):(w=g.x>v.x)||(x-=Math.PI);var k=w?"left":"right",S=l.getModel("label"),C=S.get("rotate"),M=C*(Math.PI/180),O=m.getTextContent();O&&(m.setTextConfig({position:S.get("position")||k,rotation:null==C?-x:M,origin:"center"}),O.setStyle("verticalAlign","middle"))}var E=l.get(["emphasis","focus"]),T="ancestor"===E?i.getAncestorsIndices():"descendant"===E?i.getDescendantIndices():null;T&&(Dz(n).focus=T),function(t,e,n,a,r,o,i,l){var s=e.getModel(),c=t.get("edgeShape"),u=t.get("layout"),d=t.getOrient(),p=t.get(["lineStyle","curveness"]),f=t.get("edgeForkPosition"),h=s.getModel("lineStyle").getLineStyle(),g=a.__edge;if("curve"===c)e.parentNode&&e.parentNode!==n&&(g||(g=a.__edge=new zL({shape:Q0(u,d,p,r,r)})),oj(g,{shape:Q0(u,d,p,o,i)},t));else if("polyline"===c&&"orthogonal"===u&&e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var m=e.children,b=[],v=0;v<m.length;v++){var y=m[v].getLayout();b.push([y.x,y.y])}g||(g=a.__edge=new G0({shape:{parentPoint:[i.x,i.y],childPoints:[[i.x,i.y]],orient:d,forkPosition:f}})),oj(g,{shape:{parentPoint:[i.x,i.y],childPoints:b}},t)}g&&(g.useStyle(mO({strokeNoScale:!0,fill:null},h)),kR(g,s,"lineStyle"),aR(g),l.add(g))}(r,i,u,n,h,f,g,a),n.__edge&&(n.onHoverStateChange=function(e){if("blur"!==e){var a=i.parentNode&&t.getItemGraphicEl(i.parentNode.dataIndex);a&&1===a.hoverState||eR(n.__edge,e)}})}function Z0(t,e,n,a,r){var o=J0(e.tree.root,t),i=o.source,l=o.sourceLayout,s=e.getItemGraphicEl(t.dataIndex);if(s){var c=e.getItemGraphicEl(i.dataIndex).__edge,u=s.__edge||(!1===i.isExpand||1===i.children.length?c:void 0),d=a.get("edgeShape"),p=a.get("layout"),f=a.get("orient"),h=a.get(["lineStyle","curveness"]);u&&("curve"===d?sj(u,{shape:Q0(p,f,h,l,l),style:{opacity:0}},a,{cb:function(){n.remove(u)},removeOpt:r}):"polyline"===d&&"orthogonal"===a.get("layout")&&sj(u,{shape:{parentPoint:[l.x,l.y],childPoints:[[l.x,l.y]]},style:{opacity:0}},a,{cb:function(){n.remove(u)},removeOpt:r}))}}function J0(t,e){for(var n,a=e.parentNode===t?e:e.parentNode||e;null==(n=a.getLayout());)a=a.parentNode===t?a:a.parentNode||a;return{source:a,sourceLayout:n}}function $0(t,e,n,a,r){var o=t.tree.getNodeByDataIndex(e),i=J0(t.tree.root,o).sourceLayout,l={duration:r.get("animationDurationUpdate"),easing:r.get("animationEasingUpdate")};sj(n,{x:i.x+1,y:i.y+1},r,{cb:function(){a.remove(n),t.setItemGraphicEl(e,null)},removeOpt:l}),n.fadeOut(null,{fadeLabel:!0,animation:l}),o.children.forEach((function(e){Z0(e,t,a,r,l)})),Z0(o,t,a,r,l)}function Q0(t,e,n,a,r){var o,i,l,s,c,u,d,p;if("radial"===t){c=a.rawX,d=a.rawY,u=r.rawX,p=r.rawY;var f=F0(c,d),h=F0(c,d+(p-d)*n),g=F0(u,p+(d-p)*n),m=F0(u,p);return{x1:f.x||0,y1:f.y||0,x2:m.x||0,y2:m.y||0,cpx1:h.x||0,cpy1:h.y||0,cpx2:g.x||0,cpy2:g.y||0}}return c=a.x,d=a.y,u=r.x,p=r.y,"LR"!==e&&"RL"!==e||(o=c+(u-c)*n,i=d,l=u+(c-u)*n,s=p),"TB"!==e&&"BT"!==e||(o=c,i=d+(p-d)*n,l=u,s=p+(d-p)*n),{x1:c,y1:d,x2:u,y2:p,cpx1:o,cpy1:i,cpx2:l,cpy2:s}}var t1=zP();function e1(t){var e=t.mainData,n=t.datas;n||(n={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,l1(e,n,t),_O(n,(function(n){_O(e.TRANSFERABLE_METHODS,(function(e){n.wrapMethod(e,TO(n1,t))}))})),e.wrapMethod("cloneShallow",TO(r1,t)),_O(e.CHANGABLE_METHODS,(function(n){e.wrapMethod(n,TO(a1,t))})),qO(n[e.dataType]===e)}function n1(t,e){if(function(t){return t1(t).mainData===t}(this)){var n=gO({},t1(this).datas);n[this.dataType]=e,l1(e,n,t)}else s1(e,this.dataType,t1(this).mainData,t);return e}function a1(t,e){return t.struct&&t.struct.update(),e}function r1(t,e){return _O(t1(e).datas,(function(n,a){n!==e&&s1(n.cloneShallow(),a,e,t)})),e}function o1(t){var e=t1(this).mainData;return null==t||null==e?e:t1(e).datas[t]}function i1(){var t=t1(this).mainData;return null==t?[{data:t}]:kO(OO(t1(t).datas),(function(e){return{type:e,data:t1(t).datas[e]}}))}function l1(t,e,n){t1(t).datas={},_O(e,(function(e,a){s1(e,a,t,n)}))}function s1(t,e,n,a){t1(n).datas[e]=t,t1(t).mainData=n,t.dataType=e,a.struct&&(t[a.structAttr]=a.struct,a.struct[a.datasAttr[e]]=t),t.getLinkedData=o1,t.getLinkedDataAll=i1}var c1=function(){function t(t,e){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=t||"",this.hostTree=e}return t.prototype.isRemoved=function(){return this.dataIndex<0},t.prototype.eachNode=function(t,e,n){"function"==typeof t&&(n=e,e=t,t=null),PO(t=t||{})&&(t={order:t});var a,r=t.order||"preorder",o=this[t.attr||"children"];"preorder"===r&&(a=e.call(n,this));for(var i=0;!a&&i<o.length;i++)o[i].eachNode(t,e,n);"postorder"===r&&e.call(n,this)},t.prototype.updateDepthAndHeight=function(t){var e=0;this.depth=t;for(var n=0;n<this.children.length;n++){var a=this.children[n];a.updateDepthAndHeight(t+1),a.height>e&&(e=a.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,a=n.length;e<a;e++){var r=n[e].getNodeById(t);if(r)return r}},t.prototype.contains=function(t){if(t===this)return!0;for(var e=0,n=this.children,a=n.length;e<a;e++){var r=n[e].contains(t);if(r)return r}},t.prototype.getAncestors=function(t){for(var e=[],n=t?this:this.parentNode;n;)e.push(n),n=n.parentNode;return e.reverse(),e},t.prototype.getAncestorsIndices=function(){for(var t=[],e=this;e;)t.push(e.dataIndex),e=e.parentNode;return t.reverse(),t},t.prototype.getDescendantIndices=function(){var t=[];return this.eachNode((function(e){t.push(e.dataIndex)})),t},t.prototype.getValue=function(t){var e=this.hostTree.data;return e.getStore().get(e.getDimensionIndex(t||"value"),this.dataIndex)},t.prototype.setLayout=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},t.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e<t.length;++e)if(t[e]===this)return e;return-1}return-1},t.prototype.isAncestorOf=function(t){for(var e=t.parentNode;e;){if(e===this)return!0;e=e.parentNode}return!1},t.prototype.isDescendantOf=function(t){return t!==this&&t.isAncestorOf(this)},t}(),u1=function(){function t(t){this.type="tree",this._nodes=[],this.hostModel=t}return t.prototype.eachNode=function(t,e,n){this.root.eachNode(t,e,n)},t.prototype.getNodeByDataIndex=function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},t.prototype.getNodeById=function(t){return this.root.getNodeById(t)},t.prototype.update=function(){for(var t=this.data,e=this._nodes,n=0,a=e.length;n<a;n++)e[n].dataIndex=-1;for(n=0,a=t.count();n<a;n++)e[t.getRawIndex(n)].dataIndex=n},t.prototype.clearLayouts=function(){this.data.clearItemLayouts()},t.createTree=function(e,n,a){var r=new t(n),o=[],i=1;!function t(e,n){var a=e.value;i=Math.max(i,DO(a)?a.length:1),o.push(e);var l=new c1(IP(e.name,""),r);n?function(t,e){var n=e.children;if(t.parentNode===e)return;n.push(t),t.parentNode=e}(l,n):r.root=l,r._nodes.push(l);var s=e.children;if(s)for(var c=0;c<s.length;c++)t(s[c],l)}(e),r.root.updateDepthAndHeight(0);var l=EK(o,{coordDimensions:["value"],dimensionsCount:i}).dimensions,s=new OK(l,n);return s.initData(o),a&&a(s),e1({mainData:s,struct:r,structAttr:"tree"}),r.update(),r},t}();function d1(t,e,n){if(t&&vO(e,t.type)>=0){var a=n.getData().tree.root,r=t.targetNode;if("string"==typeof r&&(r=a.getNodeById(r)),r&&a.contains(r))return{node:r};var o=t.targetNodeId;if(null!=o&&(r=a.getNodeById(o)))return{node:r}}}function p1(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}function f1(t,e){return vO(p1(t),e)>=0}function h1(t,e){for(var n=[];t;){var a=t.dataIndex;n.push({name:t.name,dataIndex:a,value:e.getRawValue(a)}),t=t.parentNode}return n.reverse(),n}var g1=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return d(e,t),e.prototype.getInitialData=function(t){var e={name:t.name,children:t.data},n=t.leaves||{},a=new dF(n,this,this.ecModel),r=u1.createTree(e,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e);return n&&n.children.length&&n.isExpand||(t.parentModel=a),t}))}));var o=0;r.eachNode("preorder",(function(t){t.depth>o&&(o=t.depth)}));var i=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:o;return r.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=i})),r.data},e.prototype.getOrient=function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.formatTooltip=function(t,e,n){for(var a=this.getData().tree,r=a.root.children[0],o=a.getNodeByDataIndex(t),i=o.getValue(),l=o.name;o&&o!==r;)l=o.parentNode.name+"."+l,o=o.parentNode;return YY("nameValue",{name:l,value:i,noValue:isNaN(i)||null==i})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),a=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=h1(a,this),n},e.type="series.tree",e.layoutMode="box",e.defaultOption={zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},e}(eH);function m1(t,e){for(var n,a=[t];n=a.pop();)if(e(n),n.isExpand){var r=n.children;if(r.length)for(var o=r.length-1;o>=0;o--)a.push(r[o])}}function b1(t,e){t.eachSeriesByType("tree",(function(t){!function(t,e){var n=function(t,e){return mB(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=n;var a=t.get("layout"),r=0,o=0,i=null;"radial"===a?(r=2*Math.PI,o=Math.min(n.height,n.width)/2,i=j0((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(r=n.width,o=n.height,i=j0());var l=t.getData().tree.root,s=l.children[0];if(s){!function(t){var e=t;e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var n,a,r=[e];n=r.pop();)if(a=n.children,n.isExpand&&a.length)for(var o=a.length-1;o>=0;o--){var i=a[o];i.hierNode={defaultAncestor:null,ancestor:i,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},r.push(i)}}(l),function(t,e,n){for(var a,r=[t],o=[];a=r.pop();)if(o.push(a),a.isExpand){var i=a.children;if(i.length)for(var l=0;l<i.length;l++)r.push(i[l])}for(;a=o.pop();)e(a,n)}(s,R0,i),l.hierNode.modifier=-s.hierNode.prelim,m1(s,L0);var c=s,u=s,d=s;m1(s,(function(t){var e=t.getLayout().x;e<c.getLayout().x&&(c=t),e>u.getLayout().x&&(u=t),t.depth>d.depth&&(d=t)}));var p=c===u?1:i(c,u)/2,f=p-c.getLayout().x,h=0,g=0,m=0,b=0;if("radial"===a)h=r/(u.getLayout().x+p+f),g=o/(d.depth-1||1),m1(s,(function(t){m=(t.getLayout().x+f)*h,b=(t.depth-1)*g;var e=F0(m,b);t.setLayout({x:e.x,y:e.y,rawX:m,rawY:b},!0)}));else{var v=t.getOrient();"RL"===v||"LR"===v?(g=o/(u.getLayout().x+p+f),h=r/(d.depth-1||1),m1(s,(function(t){b=(t.getLayout().x+f)*g,m="LR"===v?(t.depth-1)*h:r-(t.depth-1)*h,t.setLayout({x:m,y:b},!0)}))):"TB"!==v&&"BT"!==v||(h=r/(u.getLayout().x+p+f),g=o/(d.depth-1||1),m1(s,(function(t){m=(t.getLayout().x+f)*h,b="TB"===v?(t.depth-1)*g:o-(t.depth-1)*g,t.setLayout({x:m,y:b},!0)})))}}}(t,e)}))}function v1(t){t.eachSeriesByType("tree",(function(t){var e=t.getData();e.tree.eachNode((function(t){var n=t.getModel().getModel("itemStyle").getItemStyle();gO(e.ensureUniqueItemVisual(t.dataIndex,"style"),n)}))}))}var y1=function(){},x1=["treemapZoomToNode","treemapRender","treemapMove"];function w1(t){var e=t.getData().tree,n={};e.eachNode((function(e){for(var a=e;a&&a.depth>1;)a=a.parentNode;var r=$B(t.ecModel,a.name||a.dataIndex+"",n);e.setVisual("decal",r)}))}var _1=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventUsingHoverLayer=!0,n}return d(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};k1(n);var a=t.levels||[],r=this.designatedVisualItemStyle={},o=new dF({itemStyle:r},this,e);a=t.levels=function(t,e){var n,a,r=kP(e.get("color")),o=kP(e.get(["aria","decal","decals"]));if(!r)return;_O(t=t||[],(function(t){var e=new dF(t),r=e.get("color"),o=e.get("decal");(e.get(["itemStyle","color"])||r&&"none"!==r)&&(n=!0),(e.get(["itemStyle","decal"])||o&&"none"!==o)&&(a=!0)}));var i=t[0]||(t[0]={});n||(i.color=r.slice());!a&&o&&(i.decal=o.slice());return t}(a,e);var i=kO(a||[],(function(t){return new dF(t,o,e)}),this),l=u1.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=l.getNodeByDataIndex(e),a=n?i[n.depth]:null;return t.parentModel=a||o,t}))}));return l.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,e,n){var a=this.getData(),r=this.getRawValue(t);return YY("nameValue",{name:a.getName(t),value:r})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),a=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=h1(a,this),n.treePathInfo=n.treeAncestors,n},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},gO(this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=tE(),this._idIndexMapCount=0);var n=e.get(t);return null==n&&e.set(t,n=this._idIndexMapCount++),n},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){w1(this)},e.type="series.treemap",e.layoutMode="box",e.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],ellipsis:!0,verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},e}(eH);function k1(t){var e=0;_O(t.children,(function(t){k1(t);var n=t.value;DO(n)&&(n=n[0]),e+=n}));var n=t.value;DO(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),DO(t.value)?t.value[0]=n:t.value=n}var S1=function(){function t(t){this.group=new VI,t.add(this.group)}return t.prototype.render=function(t,e,n,a){var r=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),r.get("show")&&n){var i=r.getModel("itemStyle"),l=i.getModel("textStyle"),s={pos:{left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,s,l),this._renderContent(t,s,i,l,a),bB(o,s.pos,s.box)}},t.prototype._prepare=function(t,e,n){for(var a=t;a;a=a.parentNode){var r=IP(a.getModel().get("name"),""),o=n.getTextRect(r),i=Math.max(o.width+16,e.emptyItemWidth);e.totalWidth+=i+8,e.renderList.push({node:a,text:r,width:i})}},t.prototype._renderContent=function(t,e,n,a,r){for(var o=0,i=e.emptyItemWidth,l=t.get(["breadcrumb","height"]),s=function(t,e,n){var a=e.width,r=e.height,o=JI(t.left,a),i=JI(t.top,r),l=JI(t.right,a),s=JI(t.bottom,r);return(isNaN(o)||isNaN(parseFloat(t.left)))&&(o=0),(isNaN(l)||isNaN(parseFloat(t.right)))&&(l=a),(isNaN(i)||isNaN(parseFloat(t.top)))&&(i=0),(isNaN(s)||isNaN(parseFloat(t.bottom)))&&(s=r),n=tB(n||0),{width:Math.max(l-o-n[1]-n[3],0),height:Math.max(s-i-n[0]-n[2],0)}}(e.pos,e.box),c=e.totalWidth,u=e.renderList,d=u.length-1;d>=0;d--){var p=u[d],f=p.node,h=p.width,g=p.text;c>s.width&&(c-=h-i,h=i,g=null);var m=new kL({shape:{points:C1(o,0,h,l,d===u.length-1,0===d)},style:mO(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new Tz({style:{text:g,fill:a.getTextColor(),font:a.getFont()}}),textConfig:{position:"inside"},z2:1e5,onclick:TO(r,f)});m.disableLabelAnimation=!0,this.group.add(m),M1(m,t,f),o+=h+8}},t.prototype.remove=function(){this.group.removeAll()},t}();function C1(t,e,n,a,r,o){var i=[[r?t:t-5,e],[t+n,e],[t+n,e+a],[r?t:t-5,e+a]];return!o&&i.splice(2,0,[t+n+5,e+a/2]),!r&&i.push([t,e+a/2]),i}function M1(t,e,n){Dz(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.componentIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&h1(n,e)}}var O1=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,n,a,r){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:n,delay:a,easing:r}),!0)},t.prototype.finished=function(t){return this._finishedCallback=t,this},t.prototype.start=function(){for(var t=this,e=this._storage.length,n=function(){--e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},a=0,r=this._storage.length;a<r;a++){var o=this._storage[a];o.el.animateTo(o.target,{duration:o.duration,delay:o.delay,easing:o.easing,setToFinal:!0,done:n,aborted:n})}return this},t}();var E1=VI,T1=bz,D1="label",I1="upperLabel",P1=eN([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),N1=function(t){var e=P1(t);return e.stroke=e.fill=e.lineWidth=null,e},A1=zP(),z1=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._state="ready",n._storage={nodeGroup:[],background:[],content:[]},n}return d(e,t),e.prototype.render=function(t,e,n,a){if(!(vO(e.findComponents({mainType:"series",subType:"treemap",query:a}),t)<0)){this.seriesModel=t,this.api=n,this.ecModel=e;var r=d1(a,["treemapZoomToNode","treemapRootToNode"],t),o=a&&a.type,i=t.layoutInfo,l=!this._oldTree,s=this._storage,c="treemapRootToNode"===o&&r&&s?{rootNodeGroup:s.nodeGroup[r.node.getRawIndex()],direction:a.direction}:null,u=this._giveContainerGroup(i),d=t.get("animation"),p=this._doRender(u,t,c);!d||l||o&&"treemapZoomToNode"!==o&&"treemapRootToNode"!==o?p.renderFinally():this._doAnimation(u,p,t,c),this._resetController(n),this._renderBreadcrumb(t,n,r)}},e.prototype._giveContainerGroup=function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new E1,this._initEvents(e),this.group.add(e)),e.x=t.x,e.y=t.y,e},e.prototype._doRender=function(t,e,n){var a=e.getData().tree,r=this._oldTree,o={nodeGroup:[],background:[],content:[]},i={nodeGroup:[],background:[],content:[]},l=this._storage,s=[];function c(t,a,r,c){return function(t,e,n,a,r,o,i,l,s,c){if(!i)return;var u=i.getLayout(),d=t.getData(),p=i.getModel();if(d.setItemGraphicEl(i.dataIndex,null),!u||!u.isInView)return;var f=u.width,h=u.height,g=u.borderWidth,m=u.invisible,b=i.getRawIndex(),v=l&&l.getRawIndex(),y=i.viewChildren,x=u.upperHeight,w=y&&y.length,_=p.getModel("itemStyle"),k=p.getModel(["emphasis","itemStyle"]),S=p.getModel(["blur","itemStyle"]),C=p.getModel(["select","itemStyle"]),M=_.get("borderRadius")||0,O=j("nodeGroup",E1);if(!O)return;if(s.add(O),O.x=u.x||0,O.y=u.y||0,O.markRedraw(),A1(O).nodeWidth=f,A1(O).nodeHeight=h,u.isAboveViewRoot)return O;var E=j("background",T1,c,20);E&&N(O,E,w&&u.upperLabelHeight);var T=p.get(["emphasis","focus"]),D=p.get(["emphasis","blurScope"]),I="ancestor"===T?i.getAncestorsIndices():"descendant"===T?i.getDescendantIndices():T;if(w)CR(O)&&SR(O,!1),E&&(SR(E,!0),d.setItemGraphicEl(i.dataIndex,E),xR(E,I,D));else{var P=j("content",T1,c,30);P&&A(O,P),E.disableMorphing=!0,E&&CR(E)&&SR(E,!1),SR(O,!0),d.setItemGraphicEl(i.dataIndex,O),xR(O,I,D)}return O;function N(e,n,a){var r=Dz(n);if(r.dataIndex=i.dataIndex,r.seriesIndex=t.seriesIndex,n.setShape({x:0,y:0,width:f,height:h,r:M}),m)z(n);else{n.invisible=!1;var o=i.getVisual("style"),l=o.stroke,s=N1(_);s.fill=l;var c=P1(k);c.fill=k.get("borderColor");var u=P1(S);u.fill=S.get("borderColor");var d=P1(C);if(d.fill=C.get("borderColor"),a){var p=f-2*g;R(n,l,o.opacity,{x:g,y:0,width:p,height:x})}else n.removeTextContent();n.setStyle(s),n.ensureState("emphasis").style=c,n.ensureState("blur").style=u,n.ensureState("select").style=d,aR(n)}e.add(n)}function A(e,n){var a=Dz(n);a.dataIndex=i.dataIndex,a.seriesIndex=t.seriesIndex;var r=Math.max(f-2*g,0),o=Math.max(h-2*g,0);if(n.culling=!0,n.setShape({x:g,y:g,width:r,height:o,r:M}),m)z(n);else{n.invisible=!1;var l=i.getVisual("style"),s=l.fill,c=N1(_);c.fill=s,c.decal=l.decal;var u=P1(k),d=P1(S),p=P1(C);R(n,s,l.opacity,null),n.setStyle(c),n.ensureState("emphasis").style=u,n.ensureState("blur").style=d,n.ensureState("select").style=p,aR(n)}e.add(n)}function z(t){!t.invisible&&o.push(t)}function R(e,n,a,r){var o=p.getModel(r?I1:D1),l=IP(p.get("name"),null),s=o.getShallow("show");Yj(e,Hj(p,r?I1:D1),{defaultText:s?l:null,inheritColor:n,defaultOpacity:a,labelFetcher:t,labelDataIndex:i.dataIndex});var c=e.getTextContent();if(c){var d=c.style,f=KO(d.padding||0);r&&(e.setTextConfig({layoutRect:r}),c.disableLabelLayout=!0),c.beforeUpdate=function(){var t=Math.max((r?r.width:e.shape.width)-f[1]-f[3],0),n=Math.max((r?r.height:e.shape.height)-f[0]-f[2],0);d.width===t&&d.height===n||c.setStyle({width:t,height:n})},d.truncateMinChar=2,d.lineOverflow="truncate",L(d,r,u);var h=c.getState("emphasis");L(h?h.style:null,r,u)}}function L(e,n,a){var r=e?e.text:null;if(!n&&a.isLeafRoot&&null!=r){var o=t.get("drillDownIcon",!0);e.text=o?o+" "+r:r}}function j(t,a,o,i){var l=null!=v&&n[t][v],s=r[t];return l?(n[t][v]=null,F(s,l)):m||((l=new a)instanceof TN&&(l.z2=function(t,e){return 100*t+e}(o,i)),B(s,l)),e[t][b]=l}function F(t,e){var n=t[b]={};e instanceof E1?(n.oldX=e.x,n.oldY=e.y):n.oldShape=gO({},e.shape)}function B(t,e){var n=t[b]={},o=i.parentNode,l=e instanceof VI;if(o&&(!a||"drillDown"===a.direction)){var s=0,c=0,u=r.background[o.getRawIndex()];!a&&u&&u.oldShape&&(s=u.oldShape.width,c=u.oldShape.height),l?(n.oldX=0,n.oldY=c):n.oldShape={x:s,y:c,width:0,height:0}}n.fadein=!l}}(e,i,l,n,o,s,t,a,r,c)}!function t(e,n,a,r,o){r?(n=e,_O(e,(function(t,e){!t.isRemoved()&&l(e,e)}))):new aK(n,e,i,i).add(l).update(l).remove(TO(l,null)).execute();function i(t){return t.getId()}function l(i,l){var s=null!=i?e[i]:null,u=null!=l?n[l]:null,d=c(s,u,a,o);d&&t(s&&s.viewChildren||[],u&&u.viewChildren||[],d,r,o+1)}}(a.root?[a.root]:[],r&&r.root?[r.root]:[],t,a===r||!r,0);var u=function(t){var e={nodeGroup:[],background:[],content:[]};return t&&_O(t,(function(t,n){var a=e[n];_O(t,(function(t){t&&(a.push(t),A1(t).willDelete=!0)}))})),e}(l);return this._oldTree=a,this._storage=i,{lastsForAnimation:o,willDeleteEls:u,renderFinally:function(){_O(u,(function(t){_O(t,(function(t){t.parent&&t.parent.remove(t)}))})),_O(s,(function(t){t.invisible=!0,t.dirty()}))}}},e.prototype._doAnimation=function(t,e,n,a){var r=n.get("animationDurationUpdate"),o=n.get("animationEasing"),i=(IO(r)?0:r)||0,l=(IO(o)?null:o)||"cubicOut",s=new O1;_O(e.willDeleteEls,(function(t,e){_O(t,(function(t,n){if(!t.invisible){var r,o=t.parent,c=A1(o);if(a&&"drillDown"===a.direction)r=o===a.rootNodeGroup?{shape:{x:0,y:0,width:c.nodeWidth,height:c.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var u=0,d=0;c.willDelete||(u=c.nodeWidth/2,d=c.nodeHeight/2),r="nodeGroup"===e?{x:u,y:d,style:{opacity:0}}:{shape:{x:u,y:d,width:0,height:0},style:{opacity:0}}}r&&s.add(t,r,i,0,l)}}))})),_O(this._storage,(function(t,n){_O(t,(function(t,a){var r=e.lastsForAnimation[n][a],o={};r&&(t instanceof VI?null!=r.oldX&&(o.x=t.x,o.y=t.y,t.x=r.oldX,t.y=r.oldY):(r.oldShape&&(o.shape=gO({},t.shape),t.setShape(r.oldShape)),r.fadein?(t.setStyle("opacity",0),o.style={opacity:1}):1!==t.style.opacity&&(o.style={opacity:1})),s.add(t,o,i,0,l))}))}),this),this._state="animating",s.finished(EO((function(){this._state="ready",e.renderFinally()}),this)).start()},e.prototype._resetController=function(t){var e=this._controller;e||((e=this._controller=new $Q(t.getZr())).enable(this.seriesModel.get("roam")),e.on("pan",EO(this._onPan,this)),e.on("zoom",EO(this._onZoom,this)));var n=new bI(0,0,t.getWidth(),t.getHeight());e.setPointerChecker((function(t,e,a){return n.contain(e,a)}))},e.prototype._clearController=function(){var t=this._controller;t&&(t.dispose(),t=null)},e.prototype._onPan=function(t){if("animating"!==this._state&&(Math.abs(t.dx)>3||Math.abs(t.dy)>3)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},e.prototype._onZoom=function(t){var e=t.originX,n=t.originY;if("animating"!==this._state){var a=this.seriesModel.getData().tree.root;if(!a)return;var r=a.getLayout();if(!r)return;var o=new bI(r.x,r.y,r.width,r.height),i=this.seriesModel.layoutInfo,l=[1,0,0,1,0,0];YD(l,l,[-(e-=i.x),-(n-=i.y)]),WD(l,l,[t.scale,t.scale]),YD(l,l,[e,n]),o.applyTransform(l),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:o.x,y:o.y,width:o.width,height:o.height}})}},e.prototype._initEvents=function(t){var e=this;t.on("click",(function(t){if("ready"===e._state){var n=e.seriesModel.get("nodeClick",!0);if(n){var a=e.findTarget(t.offsetX,t.offsetY);if(a){var r=a.node;if(r.getLayout().isLeafRoot)e._rootToNode(a);else if("zoomToNode"===n)e._zoomToNode(a);else if("link"===n){var o=r.hostTree.data.getItemModel(r.dataIndex),i=o.get("link",!0),l=o.get("target",!0)||"blank";i&&uB(i,l)}}}}}),this)},e.prototype._renderBreadcrumb=function(t,e,n){var a=this;n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(n={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new S1(this.group))).render(t,e,n.node,(function(e){"animating"!==a._state&&(f1(t.getViewRoot(),e)?a._rootToNode({node:e}):a._zoomToNode({node:e}))}))},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},e.prototype.dispose=function(){this._clearController()},e.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype.findTarget=function(t,e){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},(function(a){var r=this._storage.background[a.getRawIndex()];if(r){var o=r.transformCoordToLocal(t,e),i=r.shape;if(!(i.x<=o[0]&&o[0]<=i.x+i.width&&i.y<=o[1]&&o[1]<=i.y+i.height))return!1;n={node:a,offsetX:o[0],offsetY:o[1]}}}),this),n},e.type="treemap",e}(fH);var R1=_O,L1=zO,j1=-1,F1=function(){function t(e){var n=e.mappingMethod,a=e.type,r=this.option=pO(e);this.type=a,this.mappingMethod=n,this._normalizeData=X1[n];var o=t.visualHandlers[a];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[n],"piecewise"===n?(B1(r),function(t){var e=t.pieceList;t.hasSpecialVisual=!1,_O(e,(function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)}))}(r)):"category"===n?r.categories?function(t){var e=t.categories,n=t.categoryMap={},a=t.visual;if(R1(e,(function(t,e){n[t]=e})),!DO(a)){var r=[];zO(a)?R1(a,(function(t,e){var a=n[e];r[null!=a?a:j1]=t})):r[-1]=a,a=q1(t,r)}for(var o=e.length-1;o>=0;o--)null==a[o]&&(delete n[e[o]],e.pop())}(r):B1(r,!0):(qO("linear"!==n||r.dataExtent),B1(r))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return EO(this._normalizeData,this)},t.listVisualTypes=function(){return OO(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){zO(t)?_O(t,e,n):e.call(n,t)},t.mapVisual=function(e,n,a){var r,o=DO(e)?[]:zO(e)?{}:(r=!0,null);return t.eachVisual(e,(function(t,e){var i=n.call(a,t,e);r?o=i:o[e]=i})),o},t.retrieveVisuals=function(e){var n,a={};return e&&R1(t.visualHandlers,(function(t,r){e.hasOwnProperty(r)&&(a[r]=e[r],n=!0)})),n?a:null},t.prepareVisualTypes=function(t){if(DO(t))t=t.slice();else{if(!L1(t))return[];var e=[];R1(t,(function(t,n){e.push(n)})),t=e}return t.sort((function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1})),t},t.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,n){for(var a,r=1/0,o=0,i=e.length;o<i;o++){var l=e[o].value;if(null!=l){if(l===t||"string"==typeof l&&l===t+"")return o;n&&d(l,o)}}for(o=0,i=e.length;o<i;o++){var s=e[o],c=s.interval,u=s.close;if(c){if(c[0]===-1/0){if(Z1(u[1],t,c[1]))return o}else if(c[1]===1/0){if(Z1(u[0],c[0],t))return o}else if(Z1(u[0],c[0],t)&&Z1(u[1],t,c[1]))return o;n&&d(c[0],o),n&&d(c[1],o)}}if(n)return t===1/0?e.length-1:t===-1/0?0:a;function d(e,n){var o=Math.abs(e-t);o<r&&(r=o,a=n)}},t.visualHandlers={color:{applyVisual:H1("color"),getColorMapper:function(){var t=this.option;return EO("category"===t.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),W1.call(this,t)}:function(e,n,a){var r=!!a;return!n&&(e=this._normalizeData(e)),a=HT(e,t.parsedVisual,a),r?a:XT(a,"rgba")},this)},_normalizedToVisual:{linear:function(t){return XT(HT(t,this.option.parsedVisual),"rgba")},category:W1,piecewise:function(t,e){var n=K1.call(this,e);return null==n&&(n=XT(HT(t,this.option.parsedVisual),"rgba")),n},fixed:U1}},colorHue:V1((function(t,e){return KT(t,e)})),colorSaturation:V1((function(t,e){return KT(t,null,e)})),colorLightness:V1((function(t,e){return KT(t,null,null,e)})),colorAlpha:V1((function(t,e){return qT(t,e)})),decal:{applyVisual:H1("decal"),_normalizedToVisual:{linear:null,category:W1,piecewise:null,fixed:null}},opacity:{applyVisual:H1("opacity"),_normalizedToVisual:G1([0,1])},liftZ:{applyVisual:H1("liftZ"),_normalizedToVisual:{linear:U1,category:U1,piecewise:U1,fixed:U1}},symbol:{applyVisual:function(t,e,n){n("symbol",this.mapValueToVisual(t))},_normalizedToVisual:{linear:Y1,category:W1,piecewise:function(t,e){var n=K1.call(this,e);return null==n&&(n=Y1.call(this,t)),n},fixed:U1}},symbolSize:{applyVisual:H1("symbolSize"),_normalizedToVisual:G1([0,1])}},t}();function B1(t,e){var n=t.visual,a=[];zO(n)?R1(n,(function(t){a.push(t)})):null!=n&&a.push(n);e||1!==a.length||{color:1,symbol:1}.hasOwnProperty(t.type)||(a[1]=a[0]),q1(t,a)}function V1(t){return{applyVisual:function(e,n,a){var r=this.mapValueToVisual(e);a("color",t(n("color"),r))},_normalizedToVisual:G1([0,1])}}function Y1(t){var e=this.option.visual;return e[Math.round(ZI(t,[0,1],[0,e.length-1],!0))]||{}}function H1(t){return function(e,n,a){a(t,this.mapValueToVisual(e))}}function W1(t){var e=this.option.visual;return e[this.option.loop&&t!==j1?t%e.length:t]}function U1(){return this.option.visual[0]}function G1(t){return{linear:function(e){return ZI(e,t,this.option.visual,!0)},category:W1,piecewise:function(e,n){var a=K1.call(this,n);return null==a&&(a=ZI(e,t,this.option.visual,!0)),a},fixed:U1}}function K1(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var a=n[F1.findPieceIndex(t,n)];if(a&&a.visual)return a.visual[this.type]}}function q1(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=kO(e,(function(t){return FT(t)}))),e}var X1={linear:function(t){return ZI(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,n=F1.findPieceIndex(t,e,!0);if(null!=n)return ZI(n,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?j1:e},fixed:rE};function Z1(t,e,n){return t?e<=n:e<n}var J1=zP(),$1={seriesType:"treemap",reset:function(t){var e=t.getData().tree.root;e.isRemoved()||Q1(e,{},t.getViewRoot().getAncestors(),t)}};function Q1(t,e,n,a){var r=t.getModel(),o=t.getLayout(),i=t.hostTree.data;if(o&&!o.invisible&&o.isInView){var l,s=r.getModel("itemStyle"),c=function(t,e,n){var a=gO({},e),r=n.designatedVisualItemStyle;return _O(["color","colorAlpha","colorSaturation"],(function(n){r[n]=e[n];var o=t.get(n);r[n]=null,null!=o&&(a[n]=o)})),a}(s,e,a),u=i.ensureUniqueItemVisual(t.dataIndex,"style"),d=s.get("borderColor"),p=s.get("borderColorSaturation");null!=p&&(d=function(t,e){return null!=e?KT(e,null,null,t):null}(p,l=t3(c))),u.stroke=d;var f=t.viewChildren;if(f&&f.length){var h=function(t,e,n,a,r,o){if(!o||!o.length)return;var i=n3(e,"color")||null!=r.color&&"none"!==r.color&&(n3(e,"colorAlpha")||n3(e,"colorSaturation"));if(!i)return;var l=e.get("visualMin"),s=e.get("visualMax"),c=n.dataExtent.slice();null!=l&&l<c[0]&&(c[0]=l),null!=s&&s>c[1]&&(c[1]=s);var u=e.get("colorMappingBy"),d={type:i.name,dataExtent:c,visual:i.range};"color"!==d.type||"index"!==u&&"id"!==u?d.mappingMethod="linear":(d.mappingMethod="category",d.loop=!0);var p=new F1(d);return J1(p).drColorMappingBy=u,p}(0,r,o,0,c,f);_O(f,(function(t,e){if(t.depth>=n.length||t===n[t.depth]){var o=function(t,e,n,a,r,o){var i=gO({},e);if(r){var l=r.type,s="color"===l&&J1(r).drColorMappingBy,c="index"===s?a:"id"===s?o.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));i[l]=r.mapValueToVisual(c)}return i}(r,c,t,e,h,a);Q1(t,o,n,a)}}))}else l=t3(c),u.fill=l}}function t3(t){var e=e3(t,"color");if(e){var n=e3(t,"colorAlpha"),a=e3(t,"colorSaturation");return a&&(e=KT(e,null,null,a)),n&&(e=qT(e,n)),e}}function e3(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function n3(t,e){var n=t.get(e);return DO(n)&&n.length?{name:e,range:n}:null}var a3=Math.max,r3=Math.min,o3=HO,i3=_O,l3=["itemStyle","borderWidth"],s3=["itemStyle","gapWidth"],c3=["upperLabel","show"],u3=["upperLabel","height"],d3={seriesType:"treemap",reset:function(t,e,n,a){var r=n.getWidth(),o=n.getHeight(),i=t.option,l=mB(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),s=i.size||[],c=JI(o3(l.width,s[0]),r),u=JI(o3(l.height,s[1]),o),d=a&&a.type,p=d1(a,["treemapZoomToNode","treemapRootToNode"],t),f="treemapRender"===d||"treemapMove"===d?a.rootRect:null,h=t.getViewRoot(),g=p1(h);if("treemapMove"!==d){var m="treemapZoomToNode"===d?function(t,e,n,a,r){var o,i=(e||{}).node,l=[a,r];if(!i||i===n)return l;var s=a*r,c=s*t.option.zoomToNodeRatio;for(;o=i.parentNode;){for(var u=0,d=o.children,p=0,f=d.length;p<f;p++)u+=d[p].getValue();var h=i.getValue();if(0===h)return l;c*=u/h;var g=o.getModel(),m=g.get(l3);(c+=4*m*m+(3*m+Math.max(m,m3(g)))*Math.pow(c,.5))>oP&&(c=oP),i=o}c<s&&(c=s);var b=Math.pow(c/s,.5);return[a*b,r*b]}(t,p,h,c,u):f?[f.width,f.height]:[c,u],b=i.sort;b&&"asc"!==b&&"desc"!==b&&(b="desc");var v={squareRatio:i.squareRatio,sort:b,leafDepth:i.leafDepth};h.hostTree.clearLayouts();var y={x:0,y:0,width:m[0],height:m[1],area:m[0]*m[1]};h.setLayout(y),p3(h,v,!1,0),y=h.getLayout(),i3(g,(function(t,e){var n=(g[e+1]||h).getValue();t.setLayout(gO({dataExtent:[n,n],borderWidth:0,upperHeight:0},y))}))}var x=t.getData().tree.root;x.setLayout(function(t,e,n){if(e)return{x:e.x,y:e.y};var a={x:0,y:0};if(!n)return a;var r=n.node,o=r.getLayout();if(!o)return a;var i=[o.width/2,o.height/2],l=r;for(;l;){var s=l.getLayout();i[0]+=s.x,i[1]+=s.y,l=l.parentNode}return{x:t.width/2-i[0],y:t.height/2-i[1]}}(l,f,p),!0),t.setLayoutInfo(l),g3(x,new bI(-l.x,-l.y,r,o),g,h,0)}};function p3(t,e,n,a){var r,o;if(!t.isRemoved()){var i=t.getLayout();r=i.width,o=i.height;var l=t.getModel(),s=l.get(l3),c=l.get(s3)/2,u=m3(l),d=Math.max(s,u),p=s-c,f=d-c;t.setLayout({borderWidth:s,upperHeight:d,upperLabelHeight:u},!0);var h=(r=a3(r-2*p,0))*(o=a3(o-p-f,0)),g=function(t,e,n,a,r,o){var i=t.children||[],l=a.sort;"asc"!==l&&"desc"!==l&&(l=null);var s=null!=a.leafDepth&&a.leafDepth<=o;if(r&&!s)return t.viewChildren=[];i=CO(i,(function(t){return!t.isRemoved()})),function(t,e){e&&t.sort((function(t,n){var a="asc"===e?t.getValue()-n.getValue():n.getValue()-t.getValue();return 0===a?"asc"===e?t.dataIndex-n.dataIndex:n.dataIndex-t.dataIndex:a}))}(i,l);var c=function(t,e,n){for(var a=0,r=0,o=e.length;r<o;r++)a+=e[r].getValue();var i,l=t.get("visualDimension");e&&e.length?"value"===l&&n?(i=[e[e.length-1].getValue(),e[0].getValue()],"asc"===n&&i.reverse()):(i=[1/0,-1/0],i3(e,(function(t){var e=t.getValue(l);e<i[0]&&(i[0]=e),e>i[1]&&(i[1]=e)}))):i=[NaN,NaN];return{sum:a,dataExtent:i}}(e,i,l);if(0===c.sum)return t.viewChildren=[];if(c.sum=function(t,e,n,a,r){if(!a)return n;for(var o=t.get("visibleMin"),i=r.length,l=i,s=i-1;s>=0;s--){var c=r["asc"===a?i-s-1:s].getValue();c/n*e<o&&(l=s,n-=c)}return"asc"===a?r.splice(0,i-l):r.splice(l,i-l),n}(e,n,c.sum,l,i),0===c.sum)return t.viewChildren=[];for(var u=0,d=i.length;u<d;u++){var p=i[u].getValue()/c.sum*n;i[u].setLayout({area:p})}s&&(i.length&&t.setLayout({isLeafRoot:!0},!0),i.length=0);return t.viewChildren=i,t.setLayout({dataExtent:c.dataExtent},!0),i}(t,l,h,e,n,a);if(g.length){var m={x:p,y:f,width:r,height:o},b=r3(r,o),v=1/0,y=[];y.area=0;for(var x=0,w=g.length;x<w;){var _=g[x];y.push(_),y.area+=_.getLayout().area;var k=f3(y,b,e.squareRatio);k<=v?(x++,v=k):(y.area-=y.pop().getLayout().area,h3(y,b,m,c,!1),b=r3(m.width,m.height),y.length=y.area=0,v=1/0)}if(y.length&&h3(y,b,m,c,!0),!n){var S=l.get("childrenVisibleMin");null!=S&&h<S&&(n=!0)}for(x=0,w=g.length;x<w;x++)p3(g[x],e,n,a+1)}}}function f3(t,e,n){for(var a=0,r=1/0,o=0,i=void 0,l=t.length;o<l;o++)(i=t[o].getLayout().area)&&(i<r&&(r=i),i>a&&(a=i));var s=t.area*t.area,c=e*e*n;return s?a3(c*a/s,s/(c*r)):1/0}function h3(t,e,n,a,r){var o=e===n.width?0:1,i=1-o,l=["x","y"],s=["width","height"],c=n[l[o]],u=e?t.area/e:0;(r||u>n[s[i]])&&(u=n[s[i]]);for(var d=0,p=t.length;d<p;d++){var f=t[d],h={},g=u?f.getLayout().area/u:0,m=h[s[i]]=a3(u-2*a,0),b=n[l[o]]+n[s[o]]-c,v=d===p-1||b<g?b:g,y=h[s[o]]=a3(v-2*a,0);h[l[i]]=n[l[i]]+r3(a,m/2),h[l[o]]=c+r3(a,y/2),c+=v,f.setLayout(h,!0)}n[l[i]]+=u,n[s[i]]-=u}function g3(t,e,n,a,r){var o=t.getLayout(),i=n[r],l=i&&i===t;if(!(i&&!l||r===n.length&&t!==a)){t.setLayout({isInView:!0,invisible:!l&&!e.intersect(o),isAboveViewRoot:l},!0);var s=new bI(e.x-o.x,e.y-o.y,e.width,e.height);i3(t.viewChildren||[],(function(t){g3(t,s,n,a,r+1)}))}}function m3(t){return t.get(c3)?t.get(u3):0}function b3(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),a=t.getGraph().data,r=n.mapArray(n.getName);a.filterSelf((function(t){var n=a.getItemModel(t).getShallow("category");if(null!=n){"number"==typeof n&&(n=r[n]);for(var o=0;o<e.length;o++)if(!e[o].isSelected(n))return!1}return!0}))}))}function v3(t){var e={};t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),a=t.getData(),r={};n.each((function(a){var o=n.getName(a);r["ec-"+o]=a;var i=n.getItemModel(a),l=i.getModel("itemStyle").getItemStyle();l.fill||(l.fill=t.getColorFromPalette(o,e)),n.setItemVisual(a,"style",l);for(var s=["symbol","symbolSize","symbolKeepAspect"],c=0;c<s.length;c++){var u=i.getShallow(s[c],!0);null!=u&&n.setItemVisual(a,s[c],u)}})),n.count()&&a.each((function(t){var e=a.getItemModel(t).getShallow("category");if(null!=e){"string"==typeof e&&(e=r["ec-"+e]);var o=n.getItemVisual(e,"style");gO(a.ensureUniqueItemVisual(t,"style"),o);for(var i=["symbol","symbolSize","symbolKeepAspect"],l=0;l<i.length;l++)a.setItemVisual(t,i[l],n.getItemVisual(e,i[l]))}}))}))}function y3(t){return t instanceof Array||(t=[t,t]),t}function x3(t){t.eachSeriesByType("graph",(function(t){var e=t.getGraph(),n=t.getEdgeData(),a=y3(t.get("edgeSymbol")),r=y3(t.get("edgeSymbolSize"));n.setVisual("fromSymbol",a&&a[0]),n.setVisual("toSymbol",a&&a[1]),n.setVisual("fromSymbolSize",r&&r[0]),n.setVisual("toSymbolSize",r&&r[1]),n.setVisual("style",t.getModel("lineStyle").getLineStyle()),n.each((function(t){var a=n.getItemModel(t),r=e.getEdgeByIndex(t),o=y3(a.getShallow("symbol",!0)),i=y3(a.getShallow("symbolSize",!0)),l=a.getModel("lineStyle").getLineStyle(),s=n.ensureUniqueItemVisual(t,"style");switch(gO(s,l),s.stroke){case"source":var c=r.node1.getVisual("style");s.stroke=c&&c.fill;break;case"target":c=r.node2.getVisual("style");s.stroke=c&&c.fill}o[0]&&r.setVisual("fromSymbol",o[0]),o[1]&&r.setVisual("toSymbol",o[1]),i[0]&&r.setVisual("fromSymbolSize",i[0]),i[1]&&r.setVisual("toSymbolSize",i[1])}))}))}var w3="--\x3e",_3=function(t){return t.get("autoCurveness")||null},k3=function(t,e){var n=_3(t),a=20,r=[];if("number"==typeof n)a=n;else if(DO(n))return void(t.__curvenessList=n);e>a&&(a=e);var o=a%2?a+2:a+3;r=[];for(var i=0;i<o;i++)r.push((i%2?i+1:i)/10*(i%2?-1:1));t.__curvenessList=r},S3=function(t,e,n){var a=[t.id,t.dataIndex].join("."),r=[e.id,e.dataIndex].join(".");return[n.uid,a,r].join(w3)},C3=function(t){var e=t.split(w3);return[e[0],e[2],e[1]].join(w3)},M3=function(t,e){var n=e.__edgeMap;return n[t]?n[t].length:0};function O3(t,e,n,a){var r=_3(e),o=DO(r);if(!r)return null;var i=function(t,e){var n=S3(t.node1,t.node2,e);return e.__edgeMap[n]}(t,e);if(!i)return null;for(var l=-1,s=0;s<i.length;s++)if(i[s]===n){l=s;break}var c=function(t,e){return M3(S3(t.node1,t.node2,e),e)+M3(S3(t.node2,t.node1,e),e)}(t,e);k3(e,c),t.lineStyle=t.lineStyle||{};var u=S3(t.node1,t.node2,e),d=e.__curvenessList,p=o||c%2?0:1;if(i.isForward)return d[p+l];var f=C3(u),h=M3(f,e),g=d[l+h+p];return a?o?r&&0===r[0]?(h+p)%2?g:-g:((h%2?0:1)+p)%2?g:-g:(h+p)%2?g:-g:d[l+h+p]}function E3(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var n=t.getGraph();n.eachNode((function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])})),T3(n,t)}}function T3(t,e){t.eachEdge((function(t,n){var a=UO(t.getModel().get(["lineStyle","curveness"]),-O3(t,e,n,!0),0),r=sE(t.node1.getLayout()),o=sE(t.node2.getLayout()),i=[r,o];+a&&i.push([(r[0]+o[0])/2-(r[1]-o[1])*a,(r[1]+o[1])/2-(o[0]-r[0])*a]),t.setLayout(i)}))}function D3(t,e){t.eachSeriesByType("graph",(function(t){var e=t.get("layout"),n=t.coordinateSystem;if(n&&"view"!==n.type){var a=t.getData(),r=[];_O(n.dimensions,(function(t){r=r.concat(a.mapDimensionsAll(t))}));for(var o=0;o<a.count();o++){for(var i=[],l=!1,s=0;s<r.length;s++){var c=a.get(r[s],o);isNaN(c)||(l=!0),i.push(c)}l?a.setItemLayout(o,n.dataToPoint(i)):a.setItemLayout(o,[NaN,NaN])}T3(a.graph,t)}else e&&"none"!==e||E3(t)}))}function I3(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=t.option.nodeScaleRatio,a=e.scaleX;return((e.getZoom()-1)*n+1)/a}function P3(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),+e}var N3=Math.PI,A3=[];function z3(t,e){var n=t.coordinateSystem;if(!n||"view"===n.type){var a=n.getBoundingRect(),r=t.getData(),o=r.graph,i=a.width/2+a.x,l=a.height/2+a.y,s=Math.min(a.width,a.height)/2,c=r.count();r.setLayout({cx:i,cy:l}),c&&(R3[e](t,o,r,s,i,l,c),o.eachEdge((function(e,n){var a,r=UO(e.getModel().get(["lineStyle","curveness"]),O3(e,t,n),0),o=sE(e.node1.getLayout()),s=sE(e.node2.getLayout()),c=(o[0]+s[0])/2,u=(o[1]+s[1])/2;+r&&(a=[i*(r*=3)+c*(1-r),l*r+u*(1-r)]),e.setLayout([o,s,a])})))}}var R3={value:function(t,e,n,a,r,o,i){var l=0,s=n.getSum("value"),c=2*Math.PI/(s||i);e.eachNode((function(t){var e=t.getValue("value"),n=c*(s?e:1)/2;l+=n,t.setLayout([a*Math.cos(l)+r,a*Math.sin(l)+o]),l+=n}))},symbolSize:function(t,e,n,a,r,o,i){var l=0;A3.length=i;var s=I3(t);e.eachNode((function(t){var e=P3(t);isNaN(e)&&(e=2),e<0&&(e=0),e*=s;var n=Math.asin(e/2/a);isNaN(n)&&(n=N3/2),A3[t.dataIndex]=n,l+=2*n}));var c=(2*N3-l)/i/2,u=0;e.eachNode((function(t){var e=c+A3[t.dataIndex];u+=e,t.setLayout([a*Math.cos(u)+r,a*Math.sin(u)+o]),u+=e}))}};function L3(t){t.eachSeriesByType("graph",(function(t){"circular"===t.get("layout")&&z3(t,"symbolSize")}))}var j3=dE;function F3(t){t.eachSeriesByType("graph",(function(t){var e=t.coordinateSystem;if(!e||"view"===e.type)if("force"===t.get("layout")){var n=t.preservedPoints||{},a=t.getGraph(),r=a.data,o=a.edgeData,i=t.getModel("force"),l=i.get("initLayout");t.preservedPoints?r.each((function(t){var e=r.getId(t);r.setItemLayout(t,n[e]||[NaN,NaN])})):l&&"none"!==l?"circular"===l&&z3(t,"value"):E3(t);var s=r.getDataExtent("value"),c=o.getDataExtent("value"),u=i.get("repulsion"),d=i.get("edgeLength"),p=DO(u)?u:[u,u],f=DO(d)?d:[d,d];f=[f[1],f[0]];var h=r.mapArray("value",(function(t,e){var n=r.getItemLayout(e),a=ZI(t,s,p);return isNaN(a)&&(a=(p[0]+p[1])/2),{w:a,rep:a,fixed:r.getItemModel(e).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}})),g=o.mapArray("value",(function(e,n){var r=a.getEdgeByIndex(n),o=ZI(e,c,f);isNaN(o)&&(o=(f[0]+f[1])/2);var i=r.getModel(),l=UO(r.getModel().get(["lineStyle","curveness"]),-O3(r,t,n,!0),0);return{n1:h[r.node1.dataIndex],n2:h[r.node2.dataIndex],d:o,curveness:l,ignoreForceLayout:i.get("ignoreForceLayout")}})),m=e.getBoundingRect(),b=function(t,e,n){for(var a=t,r=e,o=n.rect,i=o.width,l=o.height,s=[o.x+i/2,o.y+l/2],c=null==n.gravity?.1:n.gravity,u=0;u<a.length;u++){var d=a[u];d.p||(d.p=iE(i*(Math.random()-.5)+s[0],l*(Math.random()-.5)+s[1])),d.pp=sE(d.p),d.edges=null}var p,f,h=null==n.friction?.6:n.friction,g=h;return{warmUp:function(){g=.8*h},setFixed:function(t){a[t].fixed=!0},setUnfixed:function(t){a[t].fixed=!1},beforeStep:function(t){p=t},afterStep:function(t){f=t},step:function(t){p&&p(a,r);for(var e=[],n=a.length,o=0;o<r.length;o++){var i=r[o];if(!i.ignoreForceLayout){var l=i.n1;pE(e,(m=i.n2).p,l.p);var u=fE(e)-i.d,d=m.w/(l.w+m.w);isNaN(d)&&(d=0),vE(e,e),!l.fixed&&j3(l.p,l.p,e,d*u*g),!m.fixed&&j3(m.p,m.p,e,-(1-d)*u*g)}}for(o=0;o<n;o++)(y=a[o]).fixed||(pE(e,s,y.p),j3(y.p,y.p,e,c*g));for(o=0;o<n;o++){l=a[o];for(var h=o+1;h<n;h++){var m;pE(e,(m=a[h]).p,l.p),0===(u=fE(e))&&(cE(e,Math.random()-.5,Math.random()-.5),u=1);var b=(l.rep+m.rep)/u/u;!l.fixed&&j3(l.pp,l.pp,e,b),!m.fixed&&j3(m.pp,m.pp,e,-b)}}var v=[];for(o=0;o<n;o++){var y;(y=a[o]).fixed||(pE(v,y.p,y.pp),j3(y.p,y.p,v,g),lE(y.pp,y.p))}var x=(g*=.992)<.01;f&&f(a,r,x),t&&t(x)}}}(h,g,{rect:m,gravity:i.get("gravity"),friction:i.get("friction")});b.beforeStep((function(t,e){for(var n=0,r=t.length;n<r;n++)t[n].fixed&&lE(t[n].p,a.getNodeByIndex(n).getLayout())})),b.afterStep((function(t,e,o){for(var i=0,l=t.length;i<l;i++)t[i].fixed||a.getNodeByIndex(i).setLayout(t[i].p),n[r.getId(i)]=t[i].p;for(i=0,l=e.length;i<l;i++){var s=e[i],c=a.getEdgeByIndex(i),u=s.n1.p,d=s.n2.p,p=c.getLayout();(p=p?p.slice():[])[0]=p[0]||[],p[1]=p[1]||[],lE(p[0],u),lE(p[1],d),+s.curveness&&(p[2]=[(u[0]+d[0])/2-(u[1]-d[1])*s.curveness,(u[1]+d[1])/2-(d[0]-u[0])*s.curveness]),c.setLayout(p)}})),t.forceLayout=b,t.preservedPoints=n,b.step()}else t.forceLayout=null}))}function B3(t,e){var n=[];return t.eachSeriesByType("graph",(function(t){var a=t.get("coordinateSystem");if(!a||"view"===a){var r=t.getData(),o=[],i=[];sA(r.mapArray((function(t){var e=r.getItemModel(t);return[+e.get("x"),+e.get("y")]})),o,i),i[0]-o[0]==0&&(i[0]+=1,o[0]-=1),i[1]-o[1]==0&&(i[1]+=1,o[1]-=1);var l=(i[0]-o[0])/(i[1]-o[1]),s=function(t,e,n){return mB(gO(t.getBoxLayoutParams(),{aspect:n}),{width:e.getWidth(),height:e.getHeight()})}(t,e,l);isNaN(l)&&(o=[s.x,s.y],i=[s.x+s.width,s.y+s.height]);var c=i[0]-o[0],u=i[1]-o[1],d=s.width,p=s.height,f=t.coordinateSystem=new k0;f.zoomLimit=t.get("scaleLimit"),f.setBoundingRect(o[0],o[1],c,u),f.setViewRect(s.x,s.y,d,p),f.setCenter(t.get("center")),f.setZoom(t.get("zoom")),n.push(f)}})),n}var V3=DL.prototype,Y3=zL.prototype,H3=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1};function W3(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}!function(t){function e(){return null!==t&&t.apply(this,arguments)||this}d(e,t)}(H3);var U3=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-line",n}return d(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new H3},e.prototype.buildPath=function(t,e){W3(e)?V3.buildPath.call(this,t,e):Y3.buildPath.call(this,t,e)},e.prototype.pointAt=function(t){return W3(this.shape)?V3.pointAt.call(this,t):Y3.pointAt.call(this,t)},e.prototype.tangentAt=function(t){var e=this.shape,n=W3(e)?[e.x2-e.x1,e.y2-e.y1]:Y3.tangentAt.call(this,t);return vE(n,n)},e}(nz),G3=["fromSymbol","toSymbol"];function K3(t){return"_"+t+"Type"}function q3(t,e,n){var a=e.getItemVisual(n,t);if(a&&"none"!==a){var r=e.getItemVisual(n,t+"Size"),o=e.getItemVisual(n,t+"Rotate"),i=e.getItemVisual(n,t+"Offset"),l=e.getItemVisual(n,t+"KeepAspect"),s=kW(r),c=SW(i||0,s),u=_W(a,-s[0]/2+c[0],-s[1]/2+c[1],s[0],s[1],null,l);return u.__specifiedRotation=null==o||isNaN(o)?void 0:+o*Math.PI/180||0,u.name=t,u}}function X3(t,e){t.x1=e[0][0],t.y1=e[0][1],t.x2=e[1][0],t.y2=e[1][1],t.percent=1;var n=e[2];n?(t.cpx1=n[0],t.cpy1=n[1]):(t.cpx1=NaN,t.cpy1=NaN)}var Z3=function(t){function e(e,n,a){var r=t.call(this)||this;return r._createLine(e,n,a),r}return d(e,t),e.prototype._createLine=function(t,e,n){var a=t.hostModel,r=function(t){var e=new U3({name:"line",subPixelOptimize:!0});return X3(e.shape,t),e}(t.getItemLayout(e));r.shape.percent=0,ij(r,{shape:{percent:1}},a,e),this.add(r),_O(G3,(function(n){var a=q3(n,t,e);this.add(a),this[K3(n)]=t.getItemVisual(e,n)}),this),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var a=t.hostModel,r=this.childOfName("line"),o=t.getItemLayout(e),i={shape:{}};X3(i.shape,o),oj(r,i,a,e),_O(G3,(function(n){var a=t.getItemVisual(e,n),r=K3(n);if(this[r]!==a){this.remove(this.childOfName(n));var o=q3(n,t,e);this.add(o)}this[r]=a}),this),this._updateCommonStl(t,e,n)},e.prototype.getLinePath=function(){return this.childAt(0)},e.prototype._updateCommonStl=function(t,e,n){var a=t.hostModel,r=this.childOfName("line"),o=n&&n.emphasisLineStyle,i=n&&n.blurLineStyle,l=n&&n.selectLineStyle,s=n&&n.labelStatesModels;if(!n||t.hasItemOption){var c=t.getItemModel(e);o=c.getModel(["emphasis","lineStyle"]).getLineStyle(),i=c.getModel(["blur","lineStyle"]).getLineStyle(),l=c.getModel(["select","lineStyle"]).getLineStyle(),s=Hj(c)}var u=t.getItemVisual(e,"style"),d=u.stroke;r.useStyle(u),r.style.fill=null,r.style.strokeNoScale=!0,r.ensureState("emphasis").style=o,r.ensureState("blur").style=i,r.ensureState("select").style=l,_O(G3,(function(t){var e=this.childOfName(t);if(e){e.setColor(d),e.style.opacity=u.opacity;for(var n=0;n<zz.length;n++){var a=zz[n],o=r.getState(a);if(o){var i=o.style||{},l=e.ensureState(a),s=l.style||(l.style={});null!=i.stroke&&(s[e.__isEmptyBrush?"stroke":"fill"]=i.stroke),null!=i.opacity&&(s.opacity=i.opacity)}}e.markRedraw()}}),this);var p=a.getRawValue(e);Yj(this,s,{labelDataIndex:e,labelFetcher:{getFormattedLabel:function(e,n){return a.getFormattedLabel(e,n,t.dataType)}},inheritColor:d||"#000",defaultOpacity:u.opacity,defaultText:(null==p?t.getName(e):isFinite(p)?$I(p):p)+""});var f=this.getTextContent();if(f){var h=s.normal;f.__align=f.style.align,f.__verticalAlign=f.style.verticalAlign,f.__position=h.get("position")||"middle";var g=h.get("distance");DO(g)||(g=[g,g]),f.__labelDistance=g}this.setTextConfig({position:null,local:!0,inside:!1}),yR(this)},e.prototype.highlight=function(){iR(this)},e.prototype.downplay=function(){lR(this)},e.prototype.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},e.prototype.setLinePoints=function(t){var e=this.childOfName("line");X3(e.shape,t),e.dirty()},e.prototype.beforeUpdate=function(){var t=this,e=t.childOfName("fromSymbol"),n=t.childOfName("toSymbol"),a=t.getTextContent();if(e||n||a&&!a.ignore){for(var r=1,o=this.parent;o;)o.scaleX&&(r/=o.scaleX),o=o.parent;var i=t.childOfName("line");if(this.__dirty||i.__dirty){var l=i.shape.percent,s=i.pointAt(0),c=i.pointAt(l),u=pE([],c,s);if(vE(u,u),e&&(e.setPosition(s),k(e,0),e.scaleX=e.scaleY=r*l,e.markRedraw()),n&&(n.setPosition(c),k(n,1),n.scaleX=n.scaleY=r*l,n.markRedraw()),a&&!a.ignore){a.x=a.y=0,a.originX=a.originY=0;var d=void 0,p=void 0,f=a.__labelDistance,h=f[0]*r,g=f[1]*r,m=l/2,b=i.tangentAt(m),v=[b[1],-b[0]],y=i.pointAt(m);v[1]>0&&(v[0]=-v[0],v[1]=-v[1]);var x=b[0]<0?-1:1;if("start"!==a.__position&&"end"!==a.__position){var w=-Math.atan2(b[1],b[0]);c[0]<s[0]&&(w=Math.PI+w),a.rotation=w}var _=void 0;switch(a.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":_=-g,p="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":_=g,p="top";break;default:_=0,p="middle"}switch(a.__position){case"end":a.x=u[0]*h+c[0],a.y=u[1]*g+c[1],d=u[0]>.8?"left":u[0]<-.8?"right":"center",p=u[1]>.8?"top":u[1]<-.8?"bottom":"middle";break;case"start":a.x=-u[0]*h+s[0],a.y=-u[1]*g+s[1],d=u[0]>.8?"right":u[0]<-.8?"left":"center",p=u[1]>.8?"bottom":u[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":a.x=h*x+s[0],a.y=s[1]+_,d=b[0]<0?"right":"left",a.originX=-h*x,a.originY=-_;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":a.x=y[0],a.y=y[1]+_,d="center",a.originY=-_;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":a.x=-h*x+c[0],a.y=c[1]+_,d=b[0]>=0?"right":"left",a.originX=h*x,a.originY=-_}a.scaleX=a.scaleY=r,a.setStyle({verticalAlign:a.__verticalAlign||p,align:a.__align||d})}}}function k(t,e){var n=t.__specifiedRotation;if(null==n){var a=i.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(a[1],a[0]))}else t.attr("rotation",n)}},e}(VI),J3=function(){function t(t){this.group=new VI,this._LineCtor=t||Z3}return t.prototype.isPersistent=function(){return!0},t.prototype.updateData=function(t){var e=this,n=this,a=n.group,r=n._lineData;n._lineData=t,r||a.removeAll();var o=$3(t);t.diff(r).add((function(n){e._doAdd(t,n,o)})).update((function(n,a){e._doUpdate(r,t,a,n,o)})).remove((function(t){a.remove(r.getItemGraphicEl(t))})).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,n){e.updateLayout(t,n)}),this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=$3(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e){function n(t){t.isGroup||function(t){return t.animators&&t.animators.length>0}(t)||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var a=t.start;a<t.end;a++){if(t6(e.getItemLayout(a))){var r=new this._LineCtor(e,a,this._seriesScope);r.traverse(n),this.group.add(r),e.setItemGraphicEl(a,r)}}},t.prototype.remove=function(){this.group.removeAll()},t.prototype._doAdd=function(t,e,n){if(t6(t.getItemLayout(e))){var a=new this._LineCtor(t,e,n);t.setItemGraphicEl(e,a),this.group.add(a)}},t.prototype._doUpdate=function(t,e,n,a,r){var o=t.getItemGraphicEl(n);t6(e.getItemLayout(a))?(o?o.updateData(e,a,r):o=new this._LineCtor(e,a,r),e.setItemGraphicEl(a,o),this.group.add(o)):this.group.remove(o)},t}();function $3(t){var e=t.hostModel;return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:e.getModel(["emphasis","lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),labelStatesModels:Hj(e)}}function Q3(t){return isNaN(t[0])||isNaN(t[1])}function t6(t){return!Q3(t[0])&&!Q3(t[1])}var e6=[],n6=[],a6=[],r6=qN,o6=_E,i6=Math.abs;function l6(t,e,n){for(var a,r=t[0],o=t[1],i=t[2],l=1/0,s=n*n,c=.1,u=.1;u<=.9;u+=.1){e6[0]=r6(r[0],o[0],i[0],u),e6[1]=r6(r[1],o[1],i[1],u),(f=i6(o6(e6,e)-s))<l&&(l=f,a=u)}for(var d=0;d<32;d++){var p=a+c;n6[0]=r6(r[0],o[0],i[0],a),n6[1]=r6(r[1],o[1],i[1],a),a6[0]=r6(r[0],o[0],i[0],p),a6[1]=r6(r[1],o[1],i[1],p);var f=o6(n6,e)-s;if(i6(f)<.01)break;var h=o6(a6,e)-s;c/=2,f<0?h>=0?a+=c:a-=c:h>=0?a-=c:a+=c}return a}function s6(t,e){var n=[],a=JN,r=[[],[],[]],o=[[],[]],i=[];e/=2,t.eachEdge((function(t,l){var s=t.getLayout(),c=t.getVisual("fromSymbol"),u=t.getVisual("toSymbol");s.__original||(s.__original=[sE(s[0]),sE(s[1])],s[2]&&s.__original.push(sE(s[2])));var d=s.__original;if(null!=s[2]){if(lE(r[0],d[0]),lE(r[1],d[2]),lE(r[2],d[1]),c&&"none"!==c){var p=P3(t.node1),f=l6(r,d[0],p*e);a(r[0][0],r[1][0],r[2][0],f,n),r[0][0]=n[3],r[1][0]=n[4],a(r[0][1],r[1][1],r[2][1],f,n),r[0][1]=n[3],r[1][1]=n[4]}if(u&&"none"!==u){p=P3(t.node2),f=l6(r,d[1],p*e);a(r[0][0],r[1][0],r[2][0],f,n),r[1][0]=n[1],r[2][0]=n[2],a(r[0][1],r[1][1],r[2][1],f,n),r[1][1]=n[1],r[2][1]=n[2]}lE(s[0],r[0]),lE(s[1],r[2]),lE(s[2],r[1])}else{if(lE(o[0],d[0]),lE(o[1],d[1]),pE(i,o[1],o[0]),vE(i,i),c&&"none"!==c){p=P3(t.node1);dE(o[0],o[0],i,p*e)}if(u&&"none"!==u){p=P3(t.node2);dE(o[1],o[1],i,-p*e)}lE(s[0],o[0]),lE(s[1],o[1])}}))}function c6(t){return"view"===t.type}var u6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.init=function(t,e){var n=new dJ,a=new J3,r=this.group;this._controller=new $Q(e.getZr()),this._controllerHost={target:r},r.add(n.group),r.add(a.group),this._symbolDraw=n,this._lineDraw=a,this._firstRender=!0},e.prototype.render=function(t,e,n){var a=this,r=t.coordinateSystem;this._model=t;var o=this._symbolDraw,i=this._lineDraw,l=this.group;if(c6(r)){var s={x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY};this._firstRender?l.attr(s):oj(l,s,t)}s6(t.getGraph(),I3(t));var c=t.getData();o.updateData(c);var u=t.getEdgeData();i.updateData(u),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var d=t.forceLayout,p=t.get(["force","layoutAnimation"]);d&&this._startForceLayoutIteration(d,p),c.graph.eachNode((function(t){var e=t.dataIndex,n=t.getGraphicEl(),r=t.getModel();n.off("drag").off("dragend");var o=r.get("draggable");o&&n.on("drag",(function(){d&&(d.warmUp(),!a._layouting&&a._startForceLayoutIteration(d,p),d.setFixed(e),c.setItemLayout(e,[n.x,n.y]))})).on("dragend",(function(){d&&d.setUnfixed(e)})),n.setDraggable(o&&!!d),"adjacency"===r.get(["emphasis","focus"])&&(Dz(n).focus=t.getAdjacentDataIndices())})),c.graph.eachEdge((function(t){var e=t.getGraphicEl();"adjacency"===t.getModel().get(["emphasis","focus"])&&(Dz(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})}));var f="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),h=c.getLayout("cx"),g=c.getLayout("cy");c.eachItemGraphicEl((function(t,e){var n=c.getItemModel(e).get(["label","rotate"])||0,a=t.getSymbolPath();if(f){var r=c.getItemLayout(e),o=Math.atan2(r[1]-g,r[0]-h);o<0&&(o=2*Math.PI+o);var i=r[0]<h;i&&(o-=Math.PI);var l=i?"left":"right";a.setTextConfig({rotation:-o,position:l,origin:"center"});var s=a.ensureState("emphasis");gO(s.textConfig||(s.textConfig={}),{position:l})}else a.setTextConfig({rotation:n*=Math.PI/180})})),this._firstRender=!1},e.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype._startForceLayoutIteration=function(t,e){var n=this;!function a(){t.step((function(t){n.updateLayout(n._model),(n._layouting=!t)&&(e?n._layoutTimeout=setTimeout(a,16):a())}))}()},e.prototype._updateController=function(t,e,n){var a=this,r=this._controller,o=this._controllerHost,i=this.group;r.setPointerChecker((function(e,a,r){var o=i.getBoundingRect();return o.applyTransform(i.transform),o.contain(a,r)&&!o0(e,n,t)})),c6(t.coordinateSystem)?(r.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(e){n0(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){a0(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),a._updateNodeAndLinkScale(),s6(t.getGraph(),I3(t)),a._lineDraw.updateLayout(),n.updateLabelLayout()}))):r.disable()},e.prototype._updateNodeAndLinkScale=function(){var t=this._model,e=t.getData(),n=I3(t);e.eachItemGraphicEl((function(t,e){t.setSymbolScale(n)}))},e.prototype.updateLayout=function(t){s6(t.getGraph(),I3(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},e.type="graph",e}(fH);function d6(t){return"_EC_"+t}var p6=function(){function t(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return t.prototype.isDirected=function(){return this._directed},t.prototype.addNode=function(t,e){t=null==t?""+e:""+t;var n=this._nodesMap;if(!n[d6(t)]){var a=new f6(t,e);return a.hostGraph=this,this.nodes.push(a),n[d6(t)]=a,a}},t.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},t.prototype.getNodeById=function(t){return this._nodesMap[d6(t)]},t.prototype.addEdge=function(t,e,n){var a=this._nodesMap,r=this._edgesMap;if("number"==typeof t&&(t=this.nodes[t]),"number"==typeof e&&(e=this.nodes[e]),t instanceof f6||(t=a[d6(t)]),e instanceof f6||(e=a[d6(e)]),t&&e){var o=t.id+"-"+e.id,i=new h6(t,e,n);return i.hostGraph=this,this._directed&&(t.outEdges.push(i),e.inEdges.push(i)),t.edges.push(i),t!==e&&e.edges.push(i),this.edges.push(i),r[o]=i,i}},t.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},t.prototype.getEdge=function(t,e){t instanceof f6&&(t=t.id),e instanceof f6&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},t.prototype.eachNode=function(t,e){for(var n=this.nodes,a=n.length,r=0;r<a;r++)n[r].dataIndex>=0&&t.call(e,n[r],r)},t.prototype.eachEdge=function(t,e){for(var n=this.edges,a=n.length,r=0;r<a;r++)n[r].dataIndex>=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&t.call(e,n[r],r)},t.prototype.breadthFirstTraverse=function(t,e,n,a){if(e instanceof f6||(e=this._nodesMap[d6(e)]),e){for(var r="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o<this.nodes.length;o++)this.nodes[o].__visited=!1;if(!t.call(a,e,null))for(var i=[e];i.length;){var l=i.shift(),s=l[r];for(o=0;o<s.length;o++){var c=s[o],u=c.node1===l?c.node2:c.node1;if(!u.__visited){if(t.call(a,u,l))return;i.push(u),u.__visited=!0}}}}},t.prototype.update=function(){for(var t=this.data,e=this.edgeData,n=this.nodes,a=this.edges,r=0,o=n.length;r<o;r++)n[r].dataIndex=-1;for(r=0,o=t.count();r<o;r++)n[t.getRawIndex(r)].dataIndex=r;e.filterSelf((function(t){var n=a[e.getRawIndex(t)];return n.node1.dataIndex>=0&&n.node2.dataIndex>=0}));for(r=0,o=a.length;r<o;r++)a[r].dataIndex=-1;for(r=0,o=e.count();r<o;r++)a[e.getRawIndex(r)].dataIndex=r},t.prototype.clone=function(){for(var e=new t(this._directed),n=this.nodes,a=this.edges,r=0;r<n.length;r++)e.addNode(n[r].id,n[r].dataIndex);for(r=0;r<a.length;r++){var o=a[r];e.addEdge(o.node1.id,o.node2.id,o.dataIndex)}return e},t}(),f6=function(){function t(t,e){this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=-1,this.id=null==t?"":t,this.dataIndex=null==e?-1:e}return t.prototype.degree=function(){return this.edges.length},t.prototype.inDegree=function(){return this.inEdges.length},t.prototype.outDegree=function(){return this.outEdges.length},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostGraph.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getAdjacentDataIndices=function(){for(var t={edge:[],node:[]},e=0;e<this.edges.length;e++){var n=this.edges[e];n.dataIndex<0||(t.edge.push(n.dataIndex),t.node.push(n.node1.dataIndex,n.node2.dataIndex))}return t},t}(),h6=function(){function t(t,e,n){this.dataIndex=-1,this.node1=t,this.node2=e,this.dataIndex=null==n?-1:n}return t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostGraph.edgeData.getItemModel(this.dataIndex).getModel(t)},t.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},t}();function g6(t,e){return{getValue:function(n){var a=this[t][e];return a.getStore().get(a.getDimensionIndex(n||"value"),this.dataIndex)},setVisual:function(n,a){this.dataIndex>=0&&this[t][e].setItemVisual(this.dataIndex,n,a)},getVisual:function(n){return this[t][e].getItemVisual(this.dataIndex,n)},setLayout:function(n,a){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,a)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}function m6(t,e,n,a,r){for(var o=new p6(a),i=0;i<t.length;i++)o.addNode(HO(t[i].id,t[i].name,i),i);var l=[],s=[],c=0;for(i=0;i<e.length;i++){var u=e[i],d=u.source,p=u.target;o.addEdge(d,p,c)&&(s.push(u),l.push(HO(IP(u.id,null),d+" > "+p)),c++)}var f,h=n.get("coordinateSystem");if("cartesian2d"===h||"polar"===h)f=RK(t,n);else{var g=lV.get(h),m=g&&g.dimensions||[];vO(m,"value")<0&&m.concat(["value"]);var b=EK(t,{coordDimensions:m,encodeDefine:n.getEncode()}).dimensions;(f=new OK(b,n)).initData(t)}var v=new OK(["value"],n);return v.initData(s,l),r&&r(f,v),e1({mainData:f,struct:o,structAttr:"graph",datas:{node:f,edge:v},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}xO(f6,g6("hostGraph","data")),xO(h6,g6("hostGraph","edgeData"));var b6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return d(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments);var n=this;function a(){return n._categoriesData}this.legendVisualProvider=new P$(a,a),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeDefaultAndTheme=function(e){t.prototype.mergeDefaultAndTheme.apply(this,arguments),SP(e,"edgeLabel",["show"])},e.prototype.getInitialData=function(t,e){var n,a=t.edges||t.links||[],r=t.data||t.nodes||[],o=this;if(r&&a){_3(n=this)&&(n.__curvenessList=[],n.__edgeMap={},k3(n));var i=m6(r,a,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t){var e=o._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t}));var n=dF.prototype.getModel;function a(t,e){var a=n.call(this,t,e);return a.resolveParentPath=r,a}function r(t){if(t&&("label"===t[0]||"label"===t[1])){var e=t.slice();return"label"===t[0]?e[0]="edgeLabel":"label"===t[1]&&(e[1]="edgeLabel"),e}return t}e.wrapMethod("getItemModel",(function(t){return t.resolveParentPath=r,t.getModel=a,t}))}));return _O(i.edges,(function(t){!function(t,e,n,a){if(_3(n)){var r=S3(t,e,n),o=n.__edgeMap,i=o[C3(r)];o[r]&&!i?o[r].isForward=!0:i&&o[r]&&(i.isForward=!0,o[r].isForward=!1),o[r]=o[r]||[],o[r].push(a)}}(t.node1,t.node2,this,t.dataIndex)}),this),i.data}},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.getCategoriesData=function(){return this._categoriesData},e.prototype.formatTooltip=function(t,e,n){if("edge"===n){var a=this.getData(),r=this.getDataParams(t,n),o=a.graph.getEdgeByIndex(t),i=a.getName(o.node1.dataIndex),l=a.getName(o.node2.dataIndex),s=[];return null!=i&&s.push(i),null!=l&&s.push(l),YY("nameValue",{name:s.join(" > "),value:r.value,noValue:null==r.value})}return $Y({series:this,dataIndex:t,multipleSeries:e})},e.prototype._updateCategoriesData=function(){var t=kO(this.option.categories||[],(function(t){return null!=t.value?t:gO({value:0},t)})),e=new OK(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t)}))},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.isAnimationEnabled=function(){return t.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},e.type="series.graph",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(eH),v6={type:"graphRoam",event:"graphRoam",update:"none"};var y6=function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0},x6=function(t){function e(e){var n=t.call(this,e)||this;return n.type="pointer",n}return d(e,t),e.prototype.getDefaultShape=function(){return new y6},e.prototype.buildPath=function(t,e){var n=Math.cos,a=Math.sin,r=e.r,o=e.width,i=e.angle,l=e.x-n(i)*o*(o>=r/3?1:2),s=e.y-a(i)*o*(o>=r/3?1:2);i=e.angle-Math.PI/2,t.moveTo(l,s),t.lineTo(e.x+n(i)*o,e.y+a(i)*o),t.lineTo(e.x+n(e.angle)*r,e.y+a(e.angle)*r),t.lineTo(e.x-n(i)*o,e.y-a(i)*o),t.lineTo(l,s)},e}(nz);function w6(t,e){var n=null==t?"":t+"";return e&&("string"==typeof e?n=e.replace("{value}",n):"function"==typeof e&&(n=e(t))),n}var _6=2*Math.PI,k6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.render=function(t,e,n){this.group.removeAll();var a=t.get(["axisLine","lineStyle","color"]),r=function(t,e){var n=t.get("center"),a=e.getWidth(),r=e.getHeight(),o=Math.min(a,r);return{cx:JI(n[0],e.getWidth()),cy:JI(n[1],e.getHeight()),r:JI(t.get("radius"),o/2)}}(t,n);this._renderMain(t,e,n,a,r),this._data=t.getData()},e.prototype.dispose=function(){},e.prototype._renderMain=function(t,e,n,a,r){for(var o=this.group,i=t.get("clockwise"),l=-t.get("startAngle")/180*Math.PI,s=-t.get("endAngle")/180*Math.PI,c=t.getModel("axisLine"),u=c.get("roundCap")?XJ:gL,d=c.get("show"),p=c.getModel("lineStyle"),f=p.get("width"),h=(s-l)%_6||s===l?(s-l)%_6:_6,g=l,m=0;d&&m<a.length;m++){var b=new u({shape:{startAngle:g,endAngle:s=l+h*Math.min(Math.max(a[m][0],0),1),cx:r.cx,cy:r.cy,clockwise:i,r0:r.r-f,r:r.r},silent:!0});b.setStyle({fill:a[m][1]}),b.setStyle(p.getLineStyle(["color","width"])),o.add(b),g=s}var v=function(t){if(t<=0)return a[0][1];var e;for(e=0;e<a.length;e++)if(a[e][0]>=t&&(0===e?0:a[e-1][0])<t)return a[e][1];return a[e-1][1]};if(!i){var y=l;l=s,s=y}this._renderTicks(t,e,n,v,r,l,s,i,f),this._renderTitleAndDetail(t,e,n,v,r),this._renderAnchor(t,r),this._renderPointer(t,e,n,v,r,l,s,i,f)},e.prototype._renderTicks=function(t,e,n,a,r,o,i,l,s){for(var c,u,d=this.group,p=r.cx,f=r.cy,h=r.r,g=+t.get("min"),m=+t.get("max"),b=t.getModel("splitLine"),v=t.getModel("axisTick"),y=t.getModel("axisLabel"),x=t.get("splitNumber"),w=v.get("splitNumber"),_=JI(b.get("length"),h),k=JI(v.get("length"),h),S=o,C=(i-o)/x,M=C/w,O=b.getModel("lineStyle").getLineStyle(),E=v.getModel("lineStyle").getLineStyle(),T=b.get("distance"),D=0;D<=x;D++){if(c=Math.cos(S),u=Math.sin(S),b.get("show")){var I=new DL({shape:{x1:c*(h-(P=T?T+s:s))+p,y1:u*(h-P)+f,x2:c*(h-_-P)+p,y2:u*(h-_-P)+f},style:O,silent:!0});"auto"===O.stroke&&I.setStyle({stroke:a(D/x)}),d.add(I)}if(y.get("show")){var P=y.get("distance")+T,N=w6($I(D/x*(m-g)+g),y.get("formatter")),A=a(D/x);d.add(new Tz({style:Wj(y,{text:N,x:c*(h-_-P)+p,y:u*(h-_-P)+f,verticalAlign:u<-.8?"top":u>.8?"bottom":"middle",align:c<-.4?"left":c>.4?"right":"center"},{inheritColor:A}),silent:!0}))}if(v.get("show")&&D!==x){P=(P=v.get("distance"))?P+s:s;for(var z=0;z<=w;z++){c=Math.cos(S),u=Math.sin(S);var R=new DL({shape:{x1:c*(h-P)+p,y1:u*(h-P)+f,x2:c*(h-k-P)+p,y2:u*(h-k-P)+f},silent:!0,style:E});"auto"===E.stroke&&R.setStyle({stroke:a((D+z/w)/x)}),d.add(R),S+=M}S-=M}else S+=C}},e.prototype._renderPointer=function(t,e,n,a,r,o,i,l,s){var c=this.group,u=this._data,d=this._progressEls,p=[],f=t.get(["pointer","show"]),h=t.getModel("progress"),g=h.get("show"),m=t.getData(),b=m.mapDimension("value"),v=+t.get("min"),y=+t.get("max"),x=[v,y],w=[o,i];function _(e,n){var a,o=m.getItemModel(e).getModel("pointer"),i=JI(o.get("width"),r.r),l=JI(o.get("length"),r.r),s=t.get(["pointer","icon"]),c=o.get("offsetCenter"),u=JI(c[0],r.r),d=JI(c[1],r.r),p=o.get("keepAspect");return(a=s?_W(s,u-i/2,d-l,i,l,null,p):new x6({shape:{angle:-Math.PI/2,width:i,r:l,x:u,y:d}})).rotation=-(n+Math.PI/2),a.x=r.cx,a.y=r.cy,a}function k(t,e){var n=h.get("roundCap")?XJ:gL,a=h.get("overlap"),i=a?h.get("width"):s/m.count(),c=a?r.r-i:r.r-(t+1)*i,u=a?r.r:r.r-t*i,d=new n({shape:{startAngle:o,endAngle:e,cx:r.cx,cy:r.cy,clockwise:l,r0:c,r:u}});return a&&(d.z2=y-m.get(b,t)%y),d}(g||f)&&(m.diff(u).add((function(e){if(f){var n=_(e,o);ij(n,{rotation:-(ZI(m.get(b,e),x,w,!0)+Math.PI/2)},t),c.add(n),m.setItemGraphicEl(e,n)}if(g){var a=k(e,o),r=h.get("clip");ij(a,{shape:{endAngle:ZI(m.get(b,e),x,w,r)}},t),c.add(a),Iz(t.seriesIndex,m.dataType,e,a),p[e]=a}})).update((function(e,n){if(f){var a=u.getItemGraphicEl(n),r=a?a.rotation:o,i=_(e,r);i.rotation=r,oj(i,{rotation:-(ZI(m.get(b,e),x,w,!0)+Math.PI/2)},t),c.add(i),m.setItemGraphicEl(e,i)}if(g){var l=d[n],s=k(e,l?l.shape.endAngle:o),v=h.get("clip");oj(s,{shape:{endAngle:ZI(m.get(b,e),x,w,v)}},t),c.add(s),Iz(t.seriesIndex,m.dataType,e,s),p[e]=s}})).execute(),m.each((function(t){var e=m.getItemModel(t),n=e.getModel("emphasis");if(f){var r=m.getItemGraphicEl(t),o=m.getItemVisual(t,"style"),i=o.fill;if(r instanceof cz){var l=r.style;r.useStyle(gO({image:l.image,x:l.x,y:l.y,width:l.width,height:l.height},o))}else r.useStyle(o),"pointer"!==r.type&&r.setColor(i);r.setStyle(e.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===r.style.fill&&r.setStyle("fill",a(ZI(m.get(b,t),x,[0,1],!0))),r.z2EmphasisLift=0,kR(r,e),yR(r,n.get("focus"),n.get("blurScope"))}if(g){var s=p[t];s.useStyle(m.getItemVisual(t,"style")),s.setStyle(e.getModel(["progress","itemStyle"]).getItemStyle()),s.z2EmphasisLift=0,kR(s,e),yR(s,n.get("focus"),n.get("blurScope"))}})),this._progressEls=p)},e.prototype._renderAnchor=function(t,e){var n=t.getModel("anchor");if(n.get("show")){var a=n.get("size"),r=n.get("icon"),o=n.get("offsetCenter"),i=n.get("keepAspect"),l=_W(r,e.cx-a/2+JI(o[0],e.r),e.cy-a/2+JI(o[1],e.r),a,a,null,i);l.z2=n.get("showAbove")?1:0,l.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(l)}},e.prototype._renderTitleAndDetail=function(t,e,n,a,r){var o=this,i=t.getData(),l=i.mapDimension("value"),s=+t.get("min"),c=+t.get("max"),u=new VI,d=[],p=[],f=t.isAnimationEnabled(),h=t.get(["pointer","showAbove"]);i.diff(this._data).add((function(t){d[t]=new Tz({silent:!0}),p[t]=new Tz({silent:!0})})).update((function(t,e){d[t]=o._titleEls[e],p[t]=o._detailEls[e]})).execute(),i.each((function(e){var n=i.getItemModel(e),o=i.get(l,e),g=new VI,m=a(ZI(o,[s,c],[0,1],!0)),b=n.getModel("title");if(b.get("show")){var v=b.get("offsetCenter"),y=r.cx+JI(v[0],r.r),x=r.cy+JI(v[1],r.r);(E=d[e]).attr({z2:h?0:2,style:Wj(b,{x:y,y:x,text:i.getName(e),align:"center",verticalAlign:"middle"},{inheritColor:m})}),g.add(E)}var w=n.getModel("detail");if(w.get("show")){var _=w.get("offsetCenter"),k=r.cx+JI(_[0],r.r),S=r.cy+JI(_[1],r.r),C=JI(w.get("width"),r.r),M=JI(w.get("height"),r.r),O=t.get(["progress","show"])?i.getItemVisual(e,"style").fill:m,E=p[e],T=w.get("formatter");E.attr({z2:h?0:2,style:Wj(w,{x:k,y:S,text:w6(o,T),width:isNaN(C)?null:C,height:isNaN(M)?null:M,align:"center",verticalAlign:"middle"},{inheritColor:O})}),$j(E,{normal:w},o,(function(t){return w6(t,T)})),f&&Qj(E,e,i,t,{getFormattedLabel:function(t,e,n,a,r,i){return w6(i?i.interpolatedValue:o,T)}}),g.add(E)}u.add(g)})),this.group.add(u),this._titleEls=d,this._detailEls=p},e.type="gauge",e}(fH),S6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="itemStyle",n}return d(e,t),e.prototype.getInitialData=function(t,e){return I$(this,["value"])},e.type="series.gauge",e.defaultOption={zlevel:0,z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},e}(eH);var C6=["itemStyle","opacity"],M6=function(t){function e(e,n){var a=t.call(this)||this,r=a,o=new ML,i=new Tz;return r.setTextContent(i),a.setTextGuideLine(o),a.updateData(e,n,!0),a}return d(e,t),e.prototype.updateData=function(t,e,n){var a=this,r=t.hostModel,o=t.getItemModel(e),i=t.getItemLayout(e),l=o.getModel("emphasis"),s=o.get(C6);s=null==s?1:s,n||dj(a),a.useStyle(t.getItemVisual(e,"style")),a.style.lineJoin="round",n?(a.setShape({points:i.points}),a.style.opacity=0,ij(a,{style:{opacity:s}},r,e)):oj(a,{style:{opacity:s},shape:{points:i.points}},r,e),kR(a,o),this._updateLabel(t,e),yR(this,l.get("focus"),l.get("blurScope"))},e.prototype._updateLabel=function(t,e){var n=this,a=this.getTextGuideLine(),r=n.getTextContent(),o=t.hostModel,i=t.getItemModel(e),l=t.getItemLayout(e).label,s=t.getItemVisual(e,"style"),c=s.fill;Yj(r,Hj(i),{labelFetcher:t.hostModel,labelDataIndex:e,defaultOpacity:s.opacity,defaultText:t.getName(e)},{normal:{align:l.textAlign,verticalAlign:l.verticalAlign}}),n.setTextConfig({local:!0,inside:!!l.inside,insideStroke:c,outsideFill:c});var u=l.linePoints;a.setShape({points:u}),n.textGuideLineConfig={anchor:u?new lI(u[0][0],u[0][1]):null},oj(r,{style:{x:l.x,y:l.y}},o,e),r.attr({rotation:l.rotation,originX:l.x,originY:l.y,z2:10}),NX(n,AX(i),{stroke:c})},e}(kL),O6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreLabelLineUpdate=!0,n}return d(e,t),e.prototype.render=function(t,e,n){var a=t.getData(),r=this._data,o=this.group;a.diff(r).add((function(t){var e=new M6(a,t);a.setItemGraphicEl(t,e),o.add(e)})).update((function(t,e){var n=r.getItemGraphicEl(e);n.updateData(a,t),o.add(n),a.setItemGraphicEl(t,n)})).remove((function(e){uj(r.getItemGraphicEl(e),t,e)})).execute(),this._data=a},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.prototype.dispose=function(){},e.type="funnel",e}(fH),E6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new P$(EO(this.getData,this),EO(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.getInitialData=function(t,e){return I$(this,{coordDimensions:["value"],encodeDefaulter:TO(VB,this)})},e.prototype._defaultLabelLine=function(t){SP(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.prototype.getDataParams=function(e){var n=this.getData(),a=t.prototype.getDataParams.call(this,e),r=n.mapDimension("value"),o=n.getSum(r);return a.percent=o?+(n.get(r,e)/o*100).toFixed(2):0,a.$vars.push("percent"),a},e.type="series.funnel",e.defaultOption={zlevel:0,z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(eH);function T6(t,e){t.eachSeriesByType("funnel",(function(t){var n=t.getData(),a=n.mapDimension("value"),r=t.get("sort"),o=function(t,e){return mB(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e),i=t.get("orient"),l=o.width,s=o.height,c=function(t,e){for(var n=t.mapDimension("value"),a=t.mapArray(n,(function(t){return t})),r=[],o="ascending"===e,i=0,l=t.count();i<l;i++)r[i]=i;return"function"==typeof e?r.sort(e):"none"!==e&&r.sort((function(t,e){return o?a[t]-a[e]:a[e]-a[t]})),r}(n,r),u=o.x,d=o.y,p="horizontal"===i?[JI(t.get("minSize"),s),JI(t.get("maxSize"),s)]:[JI(t.get("minSize"),l),JI(t.get("maxSize"),l)],f=n.getDataExtent(a),h=t.get("min"),g=t.get("max");null==h&&(h=Math.min(f[0],0)),null==g&&(g=f[1]);var m=t.get("funnelAlign"),b=t.get("gap"),v=(("horizontal"===i?l:s)-b*(n.count()-1))/n.count(),y=function(t,e){if("horizontal"===i){var r=ZI(n.get(a,t)||0,[h,g],p,!0),o=void 0;switch(m){case"top":o=d;break;case"center":o=d+(s-r)/2;break;case"bottom":o=d+(s-r)}return[[e,o],[e,o+r]]}var c,f=ZI(n.get(a,t)||0,[h,g],p,!0);switch(m){case"left":c=u;break;case"center":c=u+(l-f)/2;break;case"right":c=u+l-f}return[[c,e],[c+f,e]]};"ascending"===r&&(v=-v,b=-b,"horizontal"===i?u+=l:d+=s,c=c.reverse());for(var x=0;x<c.length;x++){var w=c[x],_=c[x+1],k=n.getItemModel(w);if("horizontal"===i){var S=k.get(["itemStyle","width"]);null==S?S=v:(S=JI(S,l),"ascending"===r&&(S=-S));var C=y(w,u),M=y(_,u+S);u+=S+b,n.setItemLayout(w,{points:C.concat(M.slice().reverse())})}else{var O=k.get(["itemStyle","height"]);null==O?O=v:(O=JI(O,s),"ascending"===r&&(O=-O));C=y(w,d),M=y(_,d+O);d+=O+b,n.setItemLayout(w,{points:C.concat(M.slice().reverse())})}}!function(t){var e=t.hostModel.get("orient");t.each((function(n){var a,r,o,i,l=t.getItemModel(n),s=l.getModel("label").get("position"),c=l.getModel("labelLine"),u=t.getItemLayout(n),d=u.points,p="inner"===s||"inside"===s||"center"===s||"insideLeft"===s||"insideRight"===s;if(p)"insideLeft"===s?(r=(d[0][0]+d[3][0])/2+5,o=(d[0][1]+d[3][1])/2,a="left"):"insideRight"===s?(r=(d[1][0]+d[2][0])/2-5,o=(d[1][1]+d[2][1])/2,a="right"):(r=(d[0][0]+d[1][0]+d[2][0]+d[3][0])/4,o=(d[0][1]+d[1][1]+d[2][1]+d[3][1])/4,a="center"),i=[[r,o],[r,o]];else{var f=void 0,h=void 0,g=void 0,m=void 0,b=c.get("length");"left"===s?(f=(d[3][0]+d[0][0])/2,h=(d[3][1]+d[0][1])/2,r=(g=f-b)-5,a="right"):"right"===s?(f=(d[1][0]+d[2][0])/2,h=(d[1][1]+d[2][1])/2,r=(g=f+b)+5,a="left"):"top"===s?(f=(d[3][0]+d[0][0])/2,o=(m=(h=(d[3][1]+d[0][1])/2)-b)-5,a="center"):"bottom"===s?(f=(d[1][0]+d[2][0])/2,o=(m=(h=(d[1][1]+d[2][1])/2)+b)+5,a="center"):"rightTop"===s?(f="horizontal"===e?d[3][0]:d[1][0],h="horizontal"===e?d[3][1]:d[1][1],"horizontal"===e?(o=(m=h-b)-5,a="center"):(r=(g=f+b)+5,a="top")):"rightBottom"===s?(f=d[2][0],h=d[2][1],"horizontal"===e?(o=(m=h+b)+5,a="center"):(r=(g=f+b)+5,a="bottom")):"leftTop"===s?(f=d[0][0],h="horizontal"===e?d[0][1]:d[1][1],"horizontal"===e?(o=(m=h-b)-5,a="center"):(r=(g=f-b)-5,a="right")):"leftBottom"===s?(f="horizontal"===e?d[1][0]:d[3][0],h="horizontal"===e?d[1][1]:d[2][1],"horizontal"===e?(o=(m=h+b)+5,a="center"):(r=(g=f-b)-5,a="right")):(f=(d[1][0]+d[2][0])/2,h=(d[1][1]+d[2][1])/2,"horizontal"===e?(o=(m=h+b)+5,a="center"):(r=(g=f+b)+5,a="left")),"horizontal"===e?r=g=f:o=m=h,i=[[f,h],[g,m]]}u.label={linePoints:i,x:r,y:o,verticalAlign:"middle",textAlign:a,inside:p}}))}(n)}))}var D6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._dataGroup=new VI,n._initialized=!1,n}return d(e,t),e.prototype.init=function(){this.group.add(this._dataGroup)},e.prototype.render=function(t,e,n,a){var r=this._dataGroup,o=t.getData(),i=this._data,l=t.coordinateSystem,s=l.dimensions,c=N6(t);if(o.diff(i).add((function(t){A6(P6(o,r,t,s,l),o,t,c)})).update((function(e,n){var a=i.getItemGraphicEl(n),r=I6(o,e,s,l);o.setItemGraphicEl(e,a),oj(a,{shape:{points:r}},t,e),dj(a),A6(a,o,e,c)})).remove((function(t){var e=i.getItemGraphicEl(t);r.remove(e)})).execute(),!this._initialized){this._initialized=!0;var u=function(t,e,n){var a=t.model,r=t.getRect(),o=new bz({shape:{x:r.x,y:r.y,width:r.width,height:r.height}}),i="horizontal"===a.get("layout")?"width":"height";return o.setShape(i,0),ij(o,{shape:{width:r.width,height:r.height}},e,n),o}(l,t,(function(){setTimeout((function(){r.removeClipPath()}))}));r.setClipPath(u)}this._data=o},e.prototype.incrementalPrepareRender=function(t,e,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},e.prototype.incrementalRender=function(t,e,n){for(var a=e.getData(),r=e.coordinateSystem,o=r.dimensions,i=N6(e),l=t.start;l<t.end;l++){var s=P6(a,this._dataGroup,l,o,r);s.incremental=!0,A6(s,a,l,i)}},e.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},e.type="parallel",e}(fH);function I6(t,e,n,a){for(var r,o=[],i=0;i<n.length;i++){var l=n[i],s=t.get(t.mapDimension(l),e);r=s,("category"===a.getAxis(l).type?null==r:null==r||isNaN(r))||o.push(a.dataToPoint(s,l))}return o}function P6(t,e,n,a,r){var o=I6(t,n,a,r),i=new ML({shape:{points:o},z2:10});return e.add(i),t.setItemGraphicEl(n,i),i}function N6(t){var e=t.get("smooth",!0);return!0===e&&(e=.3),YO(e=gP(e))&&(e=0),{smooth:e}}function A6(t,e,n,a){t.useStyle(e.getItemVisual(n,"style")),t.style.fill=null,t.setShape("smooth",a.smooth);var r=e.getItemModel(n),o=r.getModel("emphasis");kR(t,r,"lineStyle"),yR(t,o.get("focus"),o.get("blurScope"))}var z6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return d(e,t),e.prototype.getInitialData=function(t,e){return RK(null,this,{useEncodeDefaulter:EO(R6,null,this)})},e.prototype.getRawIndicesByActiveState=function(t){var e=this.coordinateSystem,n=this.getData(),a=[];return e.eachActiveState(n,(function(e,r){t===e&&a.push(n.getRawIndex(r))})),a},e.type="series.parallel",e.dependencies=["parallel"],e.defaultOption={zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"},e}(eH);function R6(t){var e=t.ecModel.getComponent("parallel",t.get("parallelIndex"));if(e){var n={};return _O(e.dimensions,(function(t){var e=+t.replace("dim","");n[t]=e})),n}}var L6=["lineStyle","opacity"],j6={seriesType:"parallel",reset:function(t,e){var n=t.coordinateSystem,a={normal:t.get(["lineStyle","opacity"]),active:t.get("activeOpacity"),inactive:t.get("inactiveOpacity")};return{progress:function(t,e){n.eachActiveState(e,(function(t,n){var r=a[t];if("normal"===t&&e.hasItemOption){var o=e.getItemModel(n).get(L6,!0);null!=o&&(r=o)}e.ensureUniqueItemVisual(n,"style").opacity=r}),t.start,t.end)}}}};function F6(t){!function(t){if(t.parallel)return;var e=!1;_O(t.series,(function(t){t&&"parallel"===t.type&&(e=!0)})),e&&(t.parallel=[{}])}(t),function(t){_O(kP(t.parallelAxis),(function(e){if(zO(e)){var n=e.parallelIndex||0,a=kP(t.parallel)[n];a&&a.parallelAxisDefault&&fO(e,a.parallelAxisDefault,!1)}}))}(t)}var B6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.render=function(t,e,n){this._model=t,this._api=n,this._handlers||(this._handlers={},_O(V6,(function(t,e){n.getZr().on(e,this._handlers[e]=EO(t,this))}),this)),kH(this,"_throttledDispatchExpand",t.get("axisExpandRate"),"fixRate")},e.prototype.dispose=function(t,e){_O(this._handlers,(function(t,n){e.getZr().off(n,t)})),this._handlers=null},e.prototype._throttledDispatchExpand=function(t){this._dispatchExpand(t)},e.prototype._dispatchExpand=function(t){t&&this._api.dispatchAction(gO({type:"parallelAxisExpand"},t))},e.type="parallel",e}(cH),V6={mousedown:function(t){Y6(this,"click")&&(this._mouseDownPoint=[t.offsetX,t.offsetY])},mouseup:function(t){var e=this._mouseDownPoint;if(Y6(this,"click")&&e){var n=[t.offsetX,t.offsetY];if(Math.pow(e[0]-n[0],2)+Math.pow(e[1]-n[1],2)>5)return;var a=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==a.behavior&&this._dispatchExpand({axisExpandWindow:a.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&Y6(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),a=n.behavior;"jump"===a&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===a?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===a?null:{duration:0}})}}};function Y6(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}var H6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var e=this.option;t&&fO(e,t,!0),this._initDimensions()},e.prototype.contains=function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},e.prototype.setAxisExpand=function(t){_O(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])}),this)},e.prototype._initDimensions=function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[];_O(CO(this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(t){return(t.get("parallelIndex")||0)===this.componentIndex}),this),(function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)}))},e.type="parallel",e.dependencies=["parallelAxis"],e.layoutMode="box",e.defaultOption={zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},e}(kB),W6=function(t){function e(e,n,a,r,o){var i=t.call(this,e,n,a)||this;return i.type=r||"value",i.axisIndex=o,i}return d(e,t),e.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},e}(cX);function U6(t,e,n,a,r,o){t=t||0;var i=n[1]-n[0];if(null!=r&&(r=K6(r,[0,i])),null!=o&&(o=Math.max(o,null!=r?r:0)),"all"===a){var l=Math.abs(e[1]-e[0]);l=K6(l,[0,i]),r=o=K6(l,[r,o]),a=0}e[0]=K6(e[0],n),e[1]=K6(e[1],n);var s=G6(e,a);e[a]+=t;var c,u=r||0,d=n.slice();return s.sign<0?d[0]+=u:d[1]-=u,e[a]=K6(e[a],d),c=G6(e,a),null!=r&&(c.sign!==s.sign||c.span<r)&&(e[1-a]=e[a]+s.sign*r),c=G6(e,a),null!=o&&c.span>o&&(e[1-a]=e[a]+c.sign*o),e}function G6(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function K6(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var q6=_O,X6=Math.min,Z6=Math.max,J6=Math.floor,$6=Math.ceil,Q6=$I,t2=Math.PI,e2=function(){function t(t,e,n){this.type="parallel",this._axesMap=tE(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var a=t.dimensions,r=t.parallelAxisIndex;q6(a,(function(t,n){var a=r[n],o=e.getComponent("parallelAxis",a),i=this._axesMap.set(t,new W6(t,zq(o),[0,0],o.get("type"),a)),l="category"===i.type;i.onBand=l&&o.get("boundaryGap"),i.inverse=o.get("inverse"),o.axis=i,i.model=o,i.coordinateSystem=o.coordinateSystem=this}),this)},t.prototype.update=function(t,e){this._updateAxesFromSeries(this._model,t)},t.prototype.containPoint=function(t){var e=this._makeLayoutInfo(),n=e.axisBase,a=e.layoutBase,r=e.pixelDimIndex,o=t[1-r],i=t[r];return o>=n&&o<=n+e.axisLength&&i>=a&&i<=a+e.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(t,e){e.eachSeries((function(n){if(t.contains(n,e)){var a=n.getData();q6(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(a,a.mapDimension(t)),Aq(e.scale,e.model)}),this)}}),this)},t.prototype.resize=function(t,e){this._rect=mB(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},t.prototype.getRect=function(){return this._rect},t.prototype._makeLayoutInfo=function(){var t,e=this._model,n=this._rect,a=["x","y"],r=["width","height"],o=e.get("layout"),i="horizontal"===o?0:1,l=n[r[i]],s=[0,l],c=this.dimensions.length,u=n2(e.get("axisExpandWidth"),s),d=n2(e.get("axisExpandCount")||0,[0,c]),p=e.get("axisExpandable")&&c>3&&c>d&&d>1&&u>0&&l>0,f=e.get("axisExpandWindow");f?(t=n2(f[1]-f[0],s),f[1]=f[0]+t):(t=n2(u*(d-1),s),(f=[u*(e.get("axisExpandCenter")||J6(c/2))-t/2])[1]=f[0]+t);var h=(l-t)/(c-d);h<3&&(h=0);var g=[J6(Q6(f[0]/u,1))+1,$6(Q6(f[1]/u,1))-1],m=h/u*f[0];return{layout:o,pixelDimIndex:i,layoutBase:n[a[i]],layoutLength:l,axisBase:n[a[1-i]],axisLength:n[r[1-i]],axisExpandable:p,axisExpandWidth:u,axisCollapseWidth:h,axisExpandWindow:f,axisCount:c,winInnerIndices:g,axisExpandWindow0Pos:m}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,n=this.dimensions,a=this._makeLayoutInfo(),r=a.layout;e.each((function(t){var e=[0,a.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),q6(n,(function(e,n){var o=(a.axisExpandable?r2:a2)(n,a),i={horizontal:{x:o.position,y:a.axisLength},vertical:{x:0,y:o.position}},l={horizontal:t2/2,vertical:0},s=[i[r].x+t.x,i[r].y+t.y],c=l[r],u=[1,0,0,1,0,0];HD(u,u,c),YD(u,u,s),this._axesLayout[e]={position:s,rotation:c,transform:u,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},t.prototype.getAxis=function(t){return this._axesMap.get(t)},t.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},t.prototype.eachActiveState=function(t,e,n,a){null==n&&(n=0),null==a&&(a=t.count());var r=this._axesMap,o=this.dimensions,i=[],l=[];_O(o,(function(e){i.push(t.mapDimension(e)),l.push(r.get(e).model)}));for(var s=this.hasAxisBrushed(),c=n;c<a;c++){var u=void 0;if(s){u="active";for(var d=t.getValues(i,c),p=0,f=o.length;p<f;p++){if("inactive"===l[p].getActiveState(d[p])){u="inactive";break}}}else u="normal";e(u,c)}},t.prototype.hasAxisBrushed=function(){for(var t=this.dimensions,e=this._axesMap,n=!1,a=0,r=t.length;a<r;a++)"normal"!==e.get(t[a]).model.getActiveState()&&(n=!0);return n},t.prototype.axisCoordToPoint=function(t,e){return Oj([t,0],this._axesLayout[e].transform)},t.prototype.getAxisLayout=function(t){return pO(this._axesLayout[t])},t.prototype.getSlidedAxisExpandWindow=function(t){var e=this._makeLayoutInfo(),n=e.pixelDimIndex,a=e.axisExpandWindow.slice(),r=a[1]-a[0],o=[0,e.axisExpandWidth*(e.axisCount-1)];if(!this.containPoint(t))return{behavior:"none",axisExpandWindow:a};var i,l=t[n]-e.layoutBase-e.axisExpandWindow0Pos,s="slide",c=e.axisCollapseWidth,u=this._model.get("axisExpandSlideTriggerArea"),d=null!=u[0];if(c)d&&c&&l<r*u[0]?(s="jump",i=l-r*u[2]):d&&c&&l>r*(1-u[0])?(s="jump",i=l-r*(1-u[2])):(i=l-r*u[1])>=0&&(i=l-r*(1-u[1]))<=0&&(i=0),(i*=e.axisExpandWidth/c)?U6(i,a,o,"all"):s="none";else{var p=a[1]-a[0];(a=[Z6(0,o[1]*l/p-p/2)])[1]=X6(o[1],a[0]+p),a[0]=a[1]-p}return{axisExpandWindow:a,behavior:s}},t}();function n2(t,e){return X6(Z6(t,e[0]),e[1])}function a2(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function r2(t,e){var n,a,r=e.layoutLength,o=e.axisExpandWidth,i=e.axisCount,l=e.axisCollapseWidth,s=e.winInnerIndices,c=l,u=!1;return t<s[0]?(n=t*l,a=l):t<=s[1]?(n=e.axisExpandWindow0Pos+t*o-e.axisExpandWindow[0],c=o,u=!0):(n=r-(i-1-t)*l,a=l),{position:n,axisNameAvailableWidth:c,axisLabelShow:u,nameTruncateMaxWidth:a}}var o2={create:function(t,e){var n=[];return t.eachComponent("parallel",(function(a,r){var o=new e2(a,t,e);o.name="parallel_"+r,o.resize(a,e),a.coordinateSystem=o,o.model=a,n.push(o)})),t.eachSeries((function(t){if("parallel"===t.get("coordinateSystem")){var e=t.getReferringComponents("parallel",FP).models[0];t.coordinateSystem=e.coordinateSystem}})),n}},i2=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.activeIntervals=[],n}return d(e,t),e.prototype.getAreaSelectStyle=function(){return eN([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},e.prototype.setActiveIntervals=function(t){var e=this.activeIntervals=pO(t);if(e)for(var n=e.length-1;n>=0;n--)QI(e[n])},e.prototype.getActiveState=function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(+t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var a=0,r=e.length;a<r;a++)if(e[a][0]<=t&&t<=e[a][1])return"active";return"inactive"},e}(kB);xO(i2,Yq);var l2=!0,s2=Math.min,c2=Math.max,u2=Math.pow,d2="globalPan",p2={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},f2={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},h2={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},g2=0,m2=function(t){function e(e){var n=t.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=e,n.group=new VI,n._uid="brushController_"+g2++,_O(H2,(function(t,e){this._handlers[e]=EO(t,this)}),n),n}return d(e,t),e.prototype.enableBrush=function(t){return this._brushType&&this._doDisableBrush(),t.brushType&&this._doEnableBrush(t),this},e.prototype._doEnableBrush=function(t){var e=this._zr;this._enableGlobalPan||function(t,e,n){JQ(t)[e]=n}(e,d2,this._uid),_O(this._handlers,(function(t,n){e.on(n,t)})),this._brushType=t.brushType,this._brushOption=fO(pO(h2),t,!0)},e.prototype._doDisableBrush=function(){var t=this._zr;!function(t,e,n){var a=JQ(t);a[e]===n&&(a[e]=null)}(t,d2,this._uid),_O(this._handlers,(function(e,n){t.off(n,e)})),this._brushType=this._brushOption=null},e.prototype.setPanels=function(t){if(t&&t.length){var e=this._panels={};_O(t,(function(t){e[t.panelId]=pO(t)}))}else this._panels=null;return this},e.prototype.mount=function(t){t=t||{},this._enableGlobalPan=t.enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({x:t.x||0,y:t.y||0,rotation:t.rotation||0,scaleX:t.scaleX||1,scaleY:t.scaleY||1}),this._transform=e.getLocalTransform(),this},e.prototype.updateCovers=function(t){t=kO(t,(function(t){return fO(pO(h2),t,!0)}));var e=this._covers,n=this._covers=[],a=this,r=this._creatingCover;return new aK(e,t,(function(t,e){return o(t.__brushOption,e)}),o).add(i).update(i).remove((function(t){e[t]!==r&&a.group.remove(e[t])})).execute(),this;function o(t,e){return(null!=t.id?t.id:"\0-brush-index-"+e)+"-"+t.brushType}function i(o,i){var l=t[o];if(null!=i&&e[i]===r)n[o]=e[i];else{var s=n[o]=null!=i?(e[i].__brushOption=l,e[i]):v2(a,b2(a,l));w2(a,s)}}},e.prototype.unmount=function(){return this.enableBrush(!1),C2(this),this._zr.remove(this.group),this},e.prototype.dispose=function(){this.unmount(),this.off()},e}(PE);function b2(t,e){var n=U2[e.brushType].createCover(t,e);return n.__brushOption=e,x2(n,e),t.group.add(n),n}function v2(t,e){var n=_2(e);return n.endCreating&&(n.endCreating(t,e),x2(e,e.__brushOption)),e}function y2(t,e){var n=e.__brushOption;_2(e).updateCoverShape(t,e,n.range,n)}function x2(t,e){var n=e.z;null==n&&(n=1e4),t.traverse((function(t){t.z=n,t.z2=n}))}function w2(t,e){_2(e).updateCommon(t,e),y2(t,e)}function _2(t){return U2[t.__brushOption.brushType]}function k2(t,e,n){var a,r=t._panels;if(!r)return l2;var o=t._transform;return _O(r,(function(t){t.isTargetByCursor(e,n,o)&&(a=t)})),a}function S2(t,e){var n=t._panels;if(!n)return l2;var a=e.__brushOption.panelId;return null!=a?n[a]:l2}function C2(t){var e=t._covers,n=e.length;return _O(e,(function(e){t.group.remove(e)}),t),e.length=0,!!n}function M2(t,e){var n=kO(t._covers,(function(t){var e=t.__brushOption,n=pO(e.range);return{brushType:e.brushType,panelId:e.panelId,range:n}}));t.trigger("brush",{areas:n,isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function O2(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function E2(t,e,n,a){var r=new VI;return r.add(new bz({name:"main",style:P2(n),silent:!0,draggable:!0,cursor:"move",drift:TO(z2,t,e,r,["n","s","w","e"]),ondragend:TO(M2,e,{isEnd:!0})})),_O(a,(function(n){r.add(new bz({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:TO(z2,t,e,r,n),ondragend:TO(M2,e,{isEnd:!0})}))})),r}function T2(t,e,n,a){var r=a.brushStyle.lineWidth||0,o=c2(r,6),i=n[0][0],l=n[1][0],s=i-r/2,c=l-r/2,u=n[0][1],d=n[1][1],p=u-o+r/2,f=d-o+r/2,h=u-i,g=d-l,m=h+r,b=g+r;I2(t,e,"main",i,l,h,g),a.transformable&&(I2(t,e,"w",s,c,o,b),I2(t,e,"e",p,c,o,b),I2(t,e,"n",s,c,m,o),I2(t,e,"s",s,f,m,o),I2(t,e,"nw",s,c,o,o),I2(t,e,"ne",p,c,o,o),I2(t,e,"sw",s,f,o,o),I2(t,e,"se",p,f,o,o))}function D2(t,e){var n=e.__brushOption,a=n.transformable,r=e.childAt(0);r.useStyle(P2(n)),r.attr({silent:!a,cursor:a?"move":"default"}),_O([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],(function(n){var r=e.childOfName(n.join("")),o=1===n.length?A2(t,n[0]):function(t,e){var n=[A2(t,e[0]),A2(t,e[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}(t,n);r&&r.attr({silent:!a,invisible:!a,cursor:a?f2[o]+"-resize":null})}))}function I2(t,e,n,a,r,o,i){var l=e.childOfName(n);l&&l.setShape(function(t){var e=s2(t[0][0],t[1][0]),n=s2(t[0][1],t[1][1]),a=c2(t[0][0],t[1][0]),r=c2(t[0][1],t[1][1]);return{x:e,y:n,width:a-e,height:r-n}}(j2(t,e,[[a,r],[a+o,r+i]])))}function P2(t){return mO({strokeNoScale:!0},t.brushStyle)}function N2(t,e,n,a){var r=[s2(t,n),s2(e,a)],o=[c2(t,n),c2(e,a)];return[[r[0],o[0]],[r[1],o[1]]]}function A2(t,e){var n=Ej({w:"left",e:"right",n:"top",s:"bottom"}[e],function(t){return Mj(t.group)}(t));return{left:"w",right:"e",top:"n",bottom:"s"}[n]}function z2(t,e,n,a,r,o){var i=n.__brushOption,l=t.toRectRange(i.range),s=L2(e,r,o);_O(a,(function(t){var e=p2[t];l[e[0]][e[1]]+=s[e[0]]})),i.range=t.fromRectRange(N2(l[0][0],l[1][0],l[0][1],l[1][1])),w2(e,n),M2(e,{isEnd:!1})}function R2(t,e,n,a){var r=e.__brushOption.range,o=L2(t,n,a);_O(r,(function(t){t[0]+=o[0],t[1]+=o[1]})),w2(t,e),M2(t,{isEnd:!1})}function L2(t,e,n){var a=t.group,r=a.transformCoordToLocal(e,n),o=a.transformCoordToLocal(0,0);return[r[0]-o[0],r[1]-o[1]]}function j2(t,e,n){var a=S2(t,e);return a&&a!==l2?a.clipPath(n,t._transform):pO(n)}function F2(t){var e=t.event;e.preventDefault&&e.preventDefault()}function B2(t,e,n){return t.childOfName("main").contain(e,n)}function V2(t,e,n,a){var r,o=t._creatingCover,i=t._creatingPanel,l=t._brushOption;if(t._track.push(n.slice()),function(t){var e=t._track;if(!e.length)return!1;var n=e[e.length-1],a=e[0],r=n[0]-a[0],o=n[1]-a[1];return u2(r*r+o*o,.5)>6}(t)||o){if(i&&!o){"single"===l.brushMode&&C2(t);var s=pO(l);s.brushType=Y2(s.brushType,i),s.panelId=i===l2?null:i.panelId,o=t._creatingCover=b2(t,s),t._covers.push(o)}if(o){var c=U2[Y2(t._brushType,i)];o.__brushOption.range=c.getCreatingRange(j2(t,o,t._track)),a&&(v2(t,o),c.updateCommon(t,o)),y2(t,o),r={isEnd:a}}}else a&&"single"===l.brushMode&&l.removeOnClick&&k2(t,e,n)&&C2(t)&&(r={isEnd:a,removeOnClick:!0});return r}function Y2(t,e){return"auto"===t?e.defaultBrushType:t}var H2={mousedown:function(t){if(this._dragging)W2(this,t);else if(!t.target||!t.target.draggable){F2(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=k2(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,n=t.offsetY,a=this.group.transformCoordToLocal(e,n);if(function(t,e,n){if(t._brushType&&!function(t,e,n){var a=t._zr;return e<0||e>a.getWidth()||n<0||n>a.getHeight()}(t,e.offsetX,e.offsetY)){var a=t._zr,r=t._covers,o=k2(t,e,n);if(!t._dragging)for(var i=0;i<r.length;i++){var l=r[i].__brushOption;if(o&&(o===l2||l.panelId===o.panelId)&&U2[l.brushType].contain(r[i],n[0],n[1]))return}o&&a.setCursorStyle("crosshair")}}(this,t,a),this._dragging){F2(t);var r=V2(this,t,a,!1);r&&M2(this,r)}},mouseup:function(t){W2(this,t)}};function W2(t,e){if(t._dragging){F2(e);var n=e.offsetX,a=e.offsetY,r=t.group.transformCoordToLocal(n,a),o=V2(t,e,r,!0);t._dragging=!1,t._track=[],t._creatingCover=null,o&&M2(t,o)}}var U2={lineX:G2(0),lineY:G2(1),rect:{createCover:function(t,e){function n(t){return t}return E2({toRectRange:n,fromRectRange:n},t,e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(t){var e=O2(t);return N2(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,n,a){T2(t,e,n,a)},updateCommon:D2,contain:B2},polygon:{createCover:function(t,e){var n=new VI;return n.add(new ML({name:"main",style:P2(e),silent:!0})),n},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new kL({name:"main",draggable:!0,drift:TO(R2,t,e),ondragend:TO(M2,t,{isEnd:!0})}))},updateCoverShape:function(t,e,n,a){e.childAt(0).setShape({points:j2(t,e,n)})},updateCommon:D2,contain:B2}};function G2(t){return{createCover:function(e,n){return E2({toRectRange:function(e){var n=[e,[0,100]];return t&&n.reverse(),n},fromRectRange:function(e){return e[t]}},e,n,[[["w"],["e"]],[["n"],["s"]]][t])},getCreatingRange:function(e){var n=O2(e);return[s2(n[0][t],n[1][t]),c2(n[0][t],n[1][t])]},updateCoverShape:function(e,n,a,r){var o,i=S2(e,n);if(i!==l2&&i.getLinearBrushOtherExtent)o=i.getLinearBrushOtherExtent(t);else{var l=e._zr;o=[0,[l.getWidth(),l.getHeight()][1-t]]}var s=[a,o];t&&s.reverse(),T2(e,n,s,r)},updateCommon:D2,contain:B2}}function K2(t){return t=Z2(t),function(e){return Ij(e,t)}}function q2(t,e){return t=Z2(t),function(n){var a=null!=e?e:n,r=a?t.width:t.height,o=a?t.x:t.y;return[o,o+(r||0)]}}function X2(t,e,n){var a=Z2(t);return function(t,r){return a.contain(r[0],r[1])&&!o0(t,e,n)}}function Z2(t){return bI.create(t)}var J2=["axisLine","axisTickLabel","axisName"],$2=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.init=function(e,n){t.prototype.init.apply(this,arguments),(this._brushController=new m2(n.getZr())).on("brush",EO(this._onBrush,this))},e.prototype.render=function(t,e,n,a){if(!function(t,e,n){return n&&"axisAreaSelect"===n.type&&e.findComponents({mainType:"parallelAxis",query:n})[0]===t}(t,e,a)){this.axisModel=t,this.api=n,this.group.removeAll();var r=this._axisGroup;if(this._axisGroup=new VI,this.group.add(this._axisGroup),t.get("show")){var o=function(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}(t,e),i=o.coordinateSystem,l=t.getAreaSelectStyle(),s=l.width,c=t.axis.dim,u=gO({strokeContainThreshold:s},i.getAxisLayout(c)),d=new sQ(t,u);_O(J2,d.add,d),this._axisGroup.add(d.getGroup()),this._refreshBrushController(u,l,t,o,s,n),Dj(r,this._axisGroup,t)}}},e.prototype._refreshBrushController=function(t,e,n,a,r,o){var i=n.axis.getExtent(),l=i[1]-i[0],s=Math.min(30,.1*Math.abs(l)),c=bI.create({x:i[0],y:-r/2,width:l,height:r});c.x-=s,c.width+=2*s,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,x:t.position[0],y:t.position[1]}).setPanels([{panelId:"pl",clipPath:K2(c),isTargetByCursor:X2(c,o,a),getLinearBrushOtherExtent:q2(c,0)}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers(function(t){var e=t.axis;return kO(t.activeIntervals,(function(t){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}}))}(n))},e.prototype._onBrush=function(t){var e=t.areas,n=this.axisModel,a=n.axis,r=kO(e,(function(t){return[a.coordToData(t.range[0],!0),a.coordToData(t.range[1],!0)]}));(!n.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:r})},e.prototype.dispose=function(){this._brushController.dispose()},e.type="parallelAxis",e}(cH);var Q2={type:"axisAreaSelect",event:"axisAreaSelected"};var t5={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function e5(t){t.registerComponentView(B6),t.registerComponentModel(H6),t.registerCoordinateSystem("parallel",o2),t.registerPreprocessor(F6),t.registerComponentModel(i2),t.registerComponentView($2),K$(t,"parallel",i2,t5),function(t){t.registerAction(Q2,(function(t,e){e.eachComponent({mainType:"parallelAxis",query:t},(function(e){e.axis.model.setActiveIntervals(t.intervals)}))})),t.registerAction("parallelAxisExpand",(function(t,e){e.eachComponent({mainType:"parallel",query:t},(function(e){e.setAxisExpand(t)}))}))}(t)}var n5=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0},a5=function(t){function e(e){return t.call(this,e)||this}return d(e,t),e.prototype.getDefaultShape=function(){return new n5},e.prototype.buildPath=function(t,e){var n=e.extent;t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),"vertical"===e.orient?(t.lineTo(e.x2+n,e.y2),t.bezierCurveTo(e.cpx2+n,e.cpy2,e.cpx1+n,e.cpy1,e.x1+n,e.y1)):(t.lineTo(e.x2,e.y2+n),t.bezierCurveTo(e.cpx2,e.cpy2+n,e.cpx1,e.cpy1+n,e.x1,e.y1+n)),t.closePath()},e.prototype.highlight=function(){iR(this)},e.prototype.downplay=function(){lR(this)},e}(nz),r5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._focusAdjacencyDisabled=!1,n}return d(e,t),e.prototype.render=function(t,e,n){var a=this,r=t.getGraph(),o=this.group,i=t.layoutInfo,l=i.width,s=i.height,c=t.getData(),u=t.getData("edge"),d=t.get("orient");this._model=t,o.removeAll(),o.x=i.x,o.y=i.y,r.eachEdge((function(e){var n=new a5,a=Dz(n);a.dataIndex=e.dataIndex,a.seriesIndex=t.seriesIndex,a.dataType="edge";var r,i,c,p,f,h,g,m,b=e.getModel(),v=b.getModel("lineStyle"),y=v.get("curveness"),x=e.node1.getLayout(),w=e.node1.getModel(),_=w.get("localX"),k=w.get("localY"),S=e.node2.getLayout(),C=e.node2.getModel(),M=C.get("localX"),O=C.get("localY"),E=e.getLayout();switch(n.shape.extent=Math.max(1,E.dy),n.shape.orient=d,"vertical"===d?(r=(null!=_?_*l:x.x)+E.sy,i=(null!=k?k*s:x.y)+x.dy,c=(null!=M?M*l:S.x)+E.ty,f=r,h=i*(1-y)+(p=null!=O?O*s:S.y)*y,g=c,m=i*y+p*(1-y)):(r=(null!=_?_*l:x.x)+x.dx,i=(null!=k?k*s:x.y)+E.sy,f=r*(1-y)+(c=null!=M?M*l:S.x)*y,h=i,g=r*y+c*(1-y),m=p=(null!=O?O*s:S.y)+E.ty),n.setShape({x1:r,y1:i,x2:c,y2:p,cpx1:f,cpy1:h,cpx2:g,cpy2:m}),n.useStyle(v.getItemStyle()),n.style.fill){case"source":n.style.fill=e.node1.getVisual("color"),n.style.decal=e.node1.getVisual("style").decal;break;case"target":n.style.fill=e.node2.getVisual("color"),n.style.decal=e.node2.getVisual("style").decal;break;case"gradient":var T=e.node1.getVisual("color"),D=e.node2.getVisual("color");"string"==typeof T&&"string"==typeof D&&(n.style.fill=new WL(0,0,+("horizontal"===d),+("vertical"===d),[{color:T,offset:0},{color:D,offset:1}]))}var I=b.getModel("emphasis");kR(n,b,"lineStyle",(function(t){return t.getItemStyle()})),o.add(n),u.setItemGraphicEl(e.dataIndex,n);var P=I.get("focus");yR(n,"adjacency"===P?e.getAdjacentDataIndices():P,I.get("blurScope")),Dz(n).dataType="edge"})),r.eachNode((function(e){var n=e.getLayout(),a=e.getModel(),r=a.get("localX"),i=a.get("localY"),u=a.getModel("emphasis"),d=new bz({shape:{x:null!=r?r*l:n.x,y:null!=i?i*s:n.y,width:n.dx,height:n.dy},style:a.getModel("itemStyle").getItemStyle(),z2:10});Yj(d,Hj(a),{labelFetcher:t,labelDataIndex:e.dataIndex,defaultText:e.id}),d.disableLabelAnimation=!0,d.setStyle("fill",e.getVisual("color")),d.setStyle("decal",e.getVisual("style").decal),kR(d,a),o.add(d),c.setItemGraphicEl(e.dataIndex,d),Dz(d).dataType="node";var p=u.get("focus");yR(d,"adjacency"===p?e.getAdjacentDataIndices():p,u.get("blurScope"))})),c.eachItemGraphicEl((function(e,r){c.getItemModel(r).get("draggable")&&(e.drift=function(e,o){a._focusAdjacencyDisabled=!0,this.shape.x+=e,this.shape.y+=o,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:t.id,dataIndex:c.getRawIndex(r),localX:this.shape.x/l,localY:this.shape.y/s})},e.ondragend=function(){a._focusAdjacencyDisabled=!1},e.draggable=!0,e.cursor="move")})),!this._data&&t.isAnimationEnabled()&&o.setClipPath(function(t,e,n){var a=new bz({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return ij(a,{shape:{width:t.width+20}},e,n),a}(o.getBoundingRect(),t,(function(){o.removeClipPath()}))),this._data=t.getData()},e.prototype.dispose=function(){},e.type="sankey",e}(fH);var o5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.getInitialData=function(t,e){var n=t.edges||t.links,a=t.data||t.nodes,r=t.levels;this.levelModels=[];for(var o=this.levelModels,i=0;i<r.length;i++)null!=r[i].depth&&r[i].depth>=0&&(o[r[i].depth]=new dF(r[i],this,e));if(a&&n){var l=m6(a,n,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,a=n.getData().getItemLayout(e);if(a){var r=a.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t})),e.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,a=n.getGraph().getEdgeByIndex(e).node1.getLayout();if(a){var r=a.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t}))}));return l.data}},e.prototype.setNodePosition=function(t,e){var n=(this.option.data||this.option.nodes)[t];n.localX=e[0],n.localY=e[1]},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.formatTooltip=function(t,e,n){function a(t){return isNaN(t)||null==t}if("edge"===n){var r=this.getDataParams(t,n),o=r.data,i=r.value;return YY("nameValue",{name:o.source+" -- "+o.target,value:i,noValue:a(i)})}var l=this.getGraph().getNodeByIndex(t).getLayout().value,s=this.getDataParams(t,n).data.name;return YY("nameValue",{name:null!=s?s+"":null,value:l,noValue:a(l)})},e.prototype.optionUpdated=function(){},e.prototype.getDataParams=function(e,n){var a=t.prototype.getDataParams.call(this,e,n);if(null==a.value&&"node"===n){var r=this.getGraph().getNodeByIndex(e).getLayout().value;a.value=r}return a},e.type="series.sankey",e.defaultOption={zlevel:0,z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},e}(eH);function i5(t,e){t.eachSeriesByType("sankey",(function(t){var n=t.get("nodeWidth"),a=t.get("nodeGap"),r=function(t,e){return mB(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=r;var o=r.width,i=r.height,l=t.getGraph(),s=l.nodes,c=l.edges;!function(t){_O(t,(function(t){var e=m5(t.outEdges,g5),n=m5(t.inEdges,g5),a=t.getValue()||0,r=Math.max(e,n,a);t.setLayout({value:r},!0)}))}(s),function(t,e,n,a,r,o,i,l,s){(function(t,e,n,a,r,o,i){for(var l=[],s=[],c=[],u=[],d=0,p=0;p<e.length;p++)l[p]=1;for(p=0;p<t.length;p++)s[p]=t[p].inEdges.length,0===s[p]&&c.push(t[p]);var f=-1;for(;c.length;){for(var h=0;h<c.length;h++){var g=c[h],m=g.hostGraph.data.getRawDataItem(g.dataIndex),b=null!=m.depth&&m.depth>=0;b&&m.depth>f&&(f=m.depth),g.setLayout({depth:b?m.depth:d},!0),"vertical"===o?g.setLayout({dy:n},!0):g.setLayout({dx:n},!0);for(var v=0;v<g.outEdges.length;v++){var y=g.outEdges[v];l[e.indexOf(y)]=0;var x=y.node2;0==--s[t.indexOf(x)]&&u.indexOf(x)<0&&u.push(x)}}++d,c=u,u=[]}for(p=0;p<l.length;p++)if(1===l[p])throw new Error("Sankey is a DAG, the original data has cycle!");var w=f>d-1?f:d-1;i&&"left"!==i&&function(t,e,n,a){if("right"===e){for(var r=[],o=t,i=0;o.length;){for(var l=0;l<o.length;l++){var s=o[l];s.setLayout({skNodeHeight:i},!0);for(var c=0;c<s.inEdges.length;c++){var u=s.inEdges[c];r.indexOf(u.node1)<0&&r.push(u.node1)}}o=r,r=[],++i}_O(t,(function(t){l5(t)||t.setLayout({depth:Math.max(0,a-t.getLayout().skNodeHeight)},!0)}))}else"justify"===e&&function(t,e){_O(t,(function(t){l5(t)||t.outEdges.length||t.setLayout({depth:e},!0)}))}(t,a)}(t,i,0,w);!function(t,e,n){_O(t,(function(t){var a=t.getLayout().depth*e;"vertical"===n?t.setLayout({y:a},!0):t.setLayout({x:a},!0)}))}(t,"vertical"===o?(r-n)/w:(a-n)/w,o)})(t,e,n,r,o,l,s),function(t,e,n,a,r,o,i){var l=function(t,e){var n=[],a="vertical"===e?"y":"x",r=HP(t,(function(t){return t.getLayout()[a]}));return r.keys.sort((function(t,e){return t-e})),_O(r.keys,(function(t){n.push(r.buckets.get(t))})),n}(t,i);(function(t,e,n,a,r,o){var i=1/0;_O(t,(function(t){var e=t.length,l=0;_O(t,(function(t){l+=t.getLayout().value}));var s="vertical"===o?(a-(e-1)*r)/l:(n-(e-1)*r)/l;s<i&&(i=s)})),_O(t,(function(t){_O(t,(function(t,e){var n=t.getLayout().value*i;"vertical"===o?(t.setLayout({x:e},!0),t.setLayout({dx:n},!0)):(t.setLayout({y:e},!0),t.setLayout({dy:n},!0))}))})),_O(e,(function(t){var e=+t.getValue()*i;t.setLayout({dy:e},!0)}))})(l,e,n,a,r,i),s5(l,r,n,a,i);for(var s=1;o>0;o--)c5(l,s*=.99,i),s5(l,r,n,a,i),b5(l,s,i),s5(l,r,n,a,i)}(t,e,o,r,a,i,l),function(t,e){var n="vertical"===e?"x":"y";_O(t,(function(t){t.outEdges.sort((function(t,e){return t.node2.getLayout()[n]-e.node2.getLayout()[n]})),t.inEdges.sort((function(t,e){return t.node1.getLayout()[n]-e.node1.getLayout()[n]}))})),_O(t,(function(t){var e=0,n=0;_O(t.outEdges,(function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy})),_O(t.inEdges,(function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy}))}))}(t,l)}(s,c,n,a,o,i,0!==CO(s,(function(t){return 0===t.getLayout().value})).length?0:t.get("layoutIterations"),t.get("orient"),t.get("nodeAlign"))}))}function l5(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function s5(t,e,n,a,r){var o="vertical"===r?"x":"y";_O(t,(function(t){var i,l,s;t.sort((function(t,e){return t.getLayout()[o]-e.getLayout()[o]}));for(var c=0,u=t.length,d="vertical"===r?"dx":"dy",p=0;p<u;p++)(s=c-(l=t[p]).getLayout()[o])>0&&(i=l.getLayout()[o]+s,"vertical"===r?l.setLayout({x:i},!0):l.setLayout({y:i},!0)),c=l.getLayout()[o]+l.getLayout()[d]+e;if((s=c-e-("vertical"===r?a:n))>0){i=l.getLayout()[o]-s,"vertical"===r?l.setLayout({x:i},!0):l.setLayout({y:i},!0),c=i;for(p=u-2;p>=0;--p)(s=(l=t[p]).getLayout()[o]+l.getLayout()[d]+e-c)>0&&(i=l.getLayout()[o]-s,"vertical"===r?l.setLayout({x:i},!0):l.setLayout({y:i},!0)),c=l.getLayout()[o]}}))}function c5(t,e,n){_O(t.slice().reverse(),(function(t){_O(t,(function(t){if(t.outEdges.length){var a=m5(t.outEdges,u5,n)/m5(t.outEdges,g5);if(isNaN(a)){var r=t.outEdges.length;a=r?m5(t.outEdges,d5,n)/r:0}if("vertical"===n){var o=t.getLayout().x+(a-h5(t,n))*e;t.setLayout({x:o},!0)}else{var i=t.getLayout().y+(a-h5(t,n))*e;t.setLayout({y:i},!0)}}}))}))}function u5(t,e){return h5(t.node2,e)*t.getValue()}function d5(t,e){return h5(t.node2,e)}function p5(t,e){return h5(t.node1,e)*t.getValue()}function f5(t,e){return h5(t.node1,e)}function h5(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function g5(t){return t.getValue()}function m5(t,e,n){for(var a=0,r=t.length,o=-1;++o<r;){var i=+e(t[o],n);isNaN(i)||(a+=i)}return a}function b5(t,e,n){_O(t,(function(t){_O(t,(function(t){if(t.inEdges.length){var a=m5(t.inEdges,p5,n)/m5(t.inEdges,g5);if(isNaN(a)){var r=t.inEdges.length;a=r?m5(t.inEdges,f5,n)/r:0}if("vertical"===n){var o=t.getLayout().x+(a-h5(t,n))*e;t.setLayout({x:o},!0)}else{var i=t.getLayout().y+(a-h5(t,n))*e;t.setLayout({y:i},!0)}}}))}))}function v5(t){t.eachSeriesByType("sankey",(function(t){var e=t.getGraph().nodes;if(e.length){var n=1/0,a=-1/0;_O(e,(function(t){var e=t.getLayout().value;e<n&&(n=e),e>a&&(a=e)})),_O(e,(function(e){var r=new F1({type:"color",mappingMethod:"linear",dataExtent:[n,a],visual:t.get("color")}).mapValueToVisual(e.getLayout().value),o=e.getModel().get(["itemStyle","color"]);null!=o?(e.setVisual("color",o),e.setVisual("style",{fill:o})):(e.setVisual("color",r),e.setVisual("style",{fill:r}))}))}}))}var y5=function(){function t(){}return t.prototype.getInitialData=function(t,e){var n,a,r=e.getComponent("xAxis",this.get("xAxisIndex")),o=e.getComponent("yAxis",this.get("yAxisIndex")),i=r.get("type"),l=o.get("type");"category"===i?(t.layout="horizontal",n=r.getOrdinalMeta(),a=!0):"category"===l?(t.layout="vertical",n=o.getOrdinalMeta(),a=!0):t.layout=t.layout||"horizontal";var s=["x","y"],c="horizontal"===t.layout?0:1,u=this._baseAxisDim=s[c],d=s[1-c],p=[r,o],f=p[c].get("type"),h=p[1-c].get("type"),g=t.data;if(g&&a){var m=[];_O(g,(function(t,e){var n;DO(t)?(n=t.slice(),t.unshift(e)):DO(t.value)?((n=gO({},t)).value=n.value.slice(),t.value.unshift(e)):n=t,m.push(n)})),t.data=m}var b=this.defaultValueDimensions,v=[{name:u,type:iK(f),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:d,type:iK(h),dimsDef:b.slice()}];return I$(this,{coordDimensions:v,dimensionsCount:b.length+1,encodeDefaulter:TO(BB,v,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},t}(),x5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],n.visualDrawType="stroke",n}return d(e,t),e.type="series.boxplot",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},e}(eH);xO(x5,y5,!0);var w5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.render=function(t,e,n){var a=t.getData(),r=this.group,o=this._data;this._data||r.removeAll();var i="horizontal"===t.get("layout")?1:0;a.diff(o).add((function(t){if(a.hasValue(t)){var e=S5(a.getItemLayout(t),a,t,i,!0);a.setItemGraphicEl(t,e),r.add(e)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(a.hasValue(t)){var l=a.getItemLayout(t);n?(dj(n),C5(l,n,a,t)):n=S5(l,a,t,i),r.add(n),a.setItemGraphicEl(t,n)}else r.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&r.remove(e)})).execute(),this._data=a},e.prototype.remove=function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},e.type="boxplot",e}(fH),_5=function(){},k5=function(t){function e(e){var n=t.call(this,e)||this;return n.type="boxplotBoxPath",n}return d(e,t),e.prototype.getDefaultShape=function(){return new _5},e.prototype.buildPath=function(t,e){var n=e.points,a=0;for(t.moveTo(n[a][0],n[a][1]),a++;a<4;a++)t.lineTo(n[a][0],n[a][1]);for(t.closePath();a<n.length;a++)t.moveTo(n[a][0],n[a][1]),a++,t.lineTo(n[a][0],n[a][1])},e}(nz);function S5(t,e,n,a,r){var o=t.ends,i=new k5({shape:{points:r?M5(o,a,t):o}});return C5(t,i,e,n,r),i}function C5(t,e,n,a,r){var o=n.hostModel;(0,jj[r?"initProps":"updateProps"])(e,{shape:{points:t.ends}},o,a),e.useStyle(n.getItemVisual(a,"style")),e.style.strokeNoScale=!0,e.z2=100;var i=n.getItemModel(a);kR(e,i),yR(e,i.get(["emphasis","focus"]),i.get(["emphasis","blurScope"]))}function M5(t,e,n){return kO(t,(function(t){return(t=t.slice())[e]=n.initBaseline,t}))}function O5(t,e){}var E5=_O;function T5(t){var e=function(t){var e=[],n=[];return t.eachSeriesByType("boxplot",(function(t){var a=t.getBaseAxis(),r=vO(n,a);r<0&&(r=n.length,n[r]=a,e[r]={axis:a,seriesModels:[]}),e[r].seriesModels.push(t)})),e}(t);E5(e,(function(t){var e=t.seriesModels;e.length&&(!function(t){var e,n,a=t.axis,r=t.seriesModels,o=r.length,i=t.boxWidthList=[],l=t.boxOffsetList=[],s=[];if("category"===a.type)n=a.getBandWidth();else{var c=0;E5(r,(function(t){c=Math.max(c,t.getData().count())})),e=a.getExtent(),Math.abs(e[1]-e[0])}E5(r,(function(t){var e=t.get("boxWidth");DO(e)||(e=[e,e]),s.push([JI(e[0],n)||0,JI(e[1],n)||0])}));var u=.8*n-2,d=u/o*.3,p=(u-d*(o-1))/o,f=p/2-u/2;E5(r,(function(t,e){l.push(f),f+=d+p,i.push(Math.min(Math.max(p,s[e][0]),s[e][1]))}))}(t),E5(e,(function(e,n){!function(t,e,n){var a=t.coordinateSystem,r=t.getData(),o=n/2,i="horizontal"===t.get("layout")?0:1,l=1-i,s=["x","y"],c=r.mapDimension(s[i]),u=r.mapDimensionsAll(s[l]);if(null==c||u.length<5)return;for(var d=0;d<r.count();d++){var p=r.get(c,d),f=y(p,u[2],d),h=y(p,u[0],d),g=y(p,u[1],d),m=y(p,u[3],d),b=y(p,u[4],d),v=[];x(v,g,!1),x(v,m,!0),v.push(h,g,b,m),w(v,h),w(v,b),w(v,f),r.setItemLayout(d,{initBaseline:f[l],ends:v})}function y(t,n,o){var s,c=r.get(n,o),u=[];return u[i]=t,u[l]=c,isNaN(t)||isNaN(c)?s=[NaN,NaN]:(s=a.dataToPoint(u))[i]+=e,s}function x(t,e,n){var a=e.slice(),r=e.slice();a[i]+=o,r[i]-=o,n?t.push(a,r):t.push(r,a)}function w(t,e){var n=e.slice(),a=e.slice();n[i]-=o,a[i]+=o,t.push(n,a)}}(e,t.boxOffsetList[n],t.boxWidthList[n])})))}))}var D5={type:"echarts:boxplot",transform:function(t){var e=t.upstream;if(e.sourceFormat!==TB){xP("")}var n=function(t,e){for(var n=[],a=[],r=(e=e||{}).boundIQR,o="none"===r||0===r,i=0;i<t.length;i++){var l=QI(t[i].slice()),s=fP(l,.25),c=fP(l,.5),u=fP(l,.75),d=l[0],p=l[l.length-1],f=(null==r?1.5:r)*(u-s),h=o?d:Math.max(d,s-f),g=o?p:Math.min(p,u+f),m=e.itemNameFormatter,b=IO(m)?m({value:i}):PO(m)?m.replace("{value}",i+""):i+"";n.push([b,h,s,c,u,g]);for(var v=0;v<l.length;v++){var y=l[v];if(y<h||y>g){var x=[b,y];a.push(x)}}}return{boxData:n,outliers:a}}(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:n.boxData},{data:n.outliers}]}};var I5=["color","borderColor"],P5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.render=function(t,e,n){this.group.removeClipPath(),this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},e.prototype.incrementalPrepareRender=function(t,e,n){this._clear(),this._updateDrawMode(t)},e.prototype.incrementalRender=function(t,e,n,a){this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t){var e=t.getData(),n=this._data,a=this.group,r=e.getLayout("isSimpleBox"),o=t.get("clip",!0),i=t.coordinateSystem,l=i.getArea&&i.getArea();this._data||a.removeAll(),e.diff(n).add((function(n){if(e.hasValue(n)){var i=e.getItemLayout(n);if(o&&R5(l,i))return;var s=z5(i,n,!0);ij(s,{shape:{points:i.ends}},t,n),L5(s,e,n,r),a.add(s),e.setItemGraphicEl(n,s)}})).update((function(i,s){var c=n.getItemGraphicEl(s);if(e.hasValue(i)){var u=e.getItemLayout(i);o&&R5(l,u)?a.remove(c):(c?(oj(c,{shape:{points:u.ends}},t,i),dj(c)):c=z5(u),L5(c,e,i,r),a.add(c),e.setItemGraphicEl(i,c))}else a.remove(c)})).remove((function(t){var e=n.getItemGraphicEl(t);e&&a.remove(e)})).execute(),this._data=e},e.prototype._renderLarge=function(t){this._clear(),V5(t,this.group);var e=t.get("clip",!0)?OJ(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(t,e){for(var n,a=e.getData(),r=a.getLayout("isSimpleBox");null!=(n=t.next());){var o=z5(a.getItemLayout(n));L5(o,a,n,r),o.incremental=!0,this.group.add(o)}},e.prototype._incrementalRenderLarge=function(t,e){V5(e,this.group,!0)},e.prototype.remove=function(t){this._clear()},e.prototype._clear=function(){this.group.removeAll(),this._data=null},e.type="candlestick",e}(fH),N5=function(){},A5=function(t){function e(e){var n=t.call(this,e)||this;return n.type="normalCandlestickBox",n}return d(e,t),e.prototype.getDefaultShape=function(){return new N5},e.prototype.buildPath=function(t,e){var n=e.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))},e}(nz);function z5(t,e,n){var a=t.ends;return new A5({shape:{points:n?j5(a,t):a},z2:100})}function R5(t,e){for(var n=!0,a=0;a<e.ends.length;a++)if(t.contain(e.ends[a][0],e.ends[a][1])){n=!1;break}return n}function L5(t,e,n,a){var r=e.getItemModel(n);t.useStyle(e.getItemVisual(n,"style")),t.style.strokeNoScale=!0,t.__simpleBox=a,kR(t,r)}function j5(t,e){return kO(t,(function(t){return(t=t.slice())[1]=e.initBaseline,t}))}var F5=function(){},B5=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeCandlestickBox",n}return d(e,t),e.prototype.getDefaultShape=function(){return new F5},e.prototype.buildPath=function(t,e){for(var n=e.points,a=0;a<n.length;)if(this.__sign===n[a++]){var r=n[a++];t.moveTo(r,n[a++]),t.lineTo(r,n[a++])}else a+=3},e}(nz);function V5(t,e,n){var a=t.getData().getLayout("largePoints"),r=new B5({shape:{points:a},__sign:1});e.add(r);var o=new B5({shape:{points:a},__sign:-1});e.add(o),Y5(1,r,t),Y5(-1,o,t),n&&(r.incremental=!0,o.incremental=!0)}function Y5(t,e,n,a){var r=n.get(["itemStyle",t>0?"borderColor":"borderColor0"])||n.get(["itemStyle",t>0?"color":"color0"]),o=n.getModel("itemStyle").getItemStyle(I5);e.useStyle(o),e.style.fill=null,e.style.stroke=r}var H5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],n}return d(e,t),e.prototype.getShadowDim=function(){return"open"},e.prototype.brushSelector=function(t,e,n){var a=e.getItemLayout(t);return a&&n.rect(a.brushRect)},e.type="series.candlestick",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},e}(eH);function W5(t){t&&DO(t.series)&&_O(t.series,(function(t){zO(t)&&"k"===t.type&&(t.type="candlestick")}))}xO(H5,y5,!0);var U5=["itemStyle","borderColor"],G5=["itemStyle","borderColor0"],K5=["itemStyle","color"],q5=["itemStyle","color0"],X5={seriesType:"candlestick",plan:uH(),performRawSeries:!0,reset:function(t,e){function n(t,e){return e.get(t>0?K5:q5)}function a(t,e){return e.get(t>0?U5:G5)}if(!e.isSeriesFiltered(t))return!t.pipelineContext.large&&{progress:function(t,e){for(var r;null!=(r=t.next());){var o=e.getItemModel(r),i=e.getItemLayout(r).sign,l=o.getItemStyle();l.fill=n(i,o),l.stroke=a(i,o)||l.fill,gO(e.ensureUniqueItemVisual(r,"style"),l)}}}}},Z5="undefined"!=typeof Float32Array?Float32Array:Array,J5={seriesType:"candlestick",plan:uH(),reset:function(t){var e=t.coordinateSystem,n=t.getData(),a=function(t,e){var n,a=t.getBaseAxis(),r="category"===a.type?a.getBandWidth():(n=a.getExtent(),Math.abs(n[1]-n[0])/e.count()),o=JI(WO(t.get("barMaxWidth"),r),r),i=JI(WO(t.get("barMinWidth"),1),r),l=t.get("barWidth");return null!=l?JI(l,r):Math.max(Math.min(r/2,o),i)}(t,n),r=["x","y"],o=n.getDimensionIndex(n.mapDimension(r[0])),i=kO(n.mapDimensionsAll(r[1]),n.getDimensionIndex,n),l=i[0],s=i[1],c=i[2],u=i[3];if(n.setLayout({candleWidth:a,isSimpleBox:a<=1.3}),!(o<0||i.length<4))return{progress:t.pipelineContext.large?function(t,n){var a,r,i=new Z5(4*t.count),d=0,p=[],f=[],h=n.getStore();for(;null!=(r=t.next());){var g=h.get(o,r),m=h.get(l,r),b=h.get(s,r),v=h.get(c,r),y=h.get(u,r);isNaN(g)||isNaN(v)||isNaN(y)?(i[d++]=NaN,d+=3):(i[d++]=$5(h,r,m,b,s),p[0]=g,p[1]=v,a=e.dataToPoint(p,null,f),i[d++]=a?a[0]:NaN,i[d++]=a?a[1]:NaN,p[1]=y,a=e.dataToPoint(p,null,f),i[d++]=a?a[1]:NaN)}n.setLayout("largePoints",i)}:function(t,n){var r,i=n.getStore();for(;null!=(r=t.next());){var d=i.get(o,r),p=i.get(l,r),f=i.get(s,r),h=i.get(c,r),g=i.get(u,r),m=Math.min(p,f),b=Math.max(p,f),v=k(m,d),y=k(b,d),x=k(h,d),w=k(g,d),_=[];S(_,y,0),S(_,v,1),_.push(M(w),M(y),M(x),M(v)),n.setItemLayout(r,{sign:$5(i,r,p,f,s),initBaseline:p>f?y[1]:v[1],ends:_,brushRect:C(h,g,d)})}function k(t,n){var a=[];return a[0]=n,a[1]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(a)}function S(t,e,n){var r=e.slice(),o=e.slice();r[0]=Cj(r[0]+a/2,1,!1),o[0]=Cj(o[0]-a/2,1,!0),n?t.push(r,o):t.push(o,r)}function C(t,e,n){var r=k(t,n),o=k(e,n);return r[0]-=a/2,o[0]-=a/2,{x:r[0],y:r[1],width:a,height:o[1]-r[1]}}function M(t){return t[0]=Cj(t[0],1),t}}}}};function $5(t,e,n,a,r){return n>a?-1:n<a?1:e>0?t.get(r,e-1)<=a?1:-1:1}function Q5(t,e){var n=e.rippleEffectColor||e.color;t.eachChild((function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})}))}var t4=function(t){function e(e,n){var a=t.call(this)||this,r=new iJ(e,n),o=new VI;return a.add(r),a.add(o),a.updateData(e,n),a}return d(e,t),e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,a=t.rippleNumber,r=this.childAt(1),o=0;o<a;o++){var i=_W(e,-1,-1,2,2,n);i.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var l=-o/a*t.period+t.effectOffset;i.animate("",!0).when(t.period,{scaleX:t.rippleScale/2,scaleY:t.rippleScale/2}).delay(l).start(),i.animateStyle(!0).when(t.period,{opacity:0}).delay(l).start(),r.add(i)}Q5(r,t)},e.prototype.updateEffectAnimation=function(t){for(var e=this._effectCfg,n=this.childAt(1),a=["symbolType","period","rippleScale","rippleNumber"],r=0;r<a.length;r++){var o=a[r];if(e[o]!==t[o])return this.stopEffectAnimation(),void this.startEffectAnimation(t)}Q5(n,t)},e.prototype.highlight=function(){iR(this)},e.prototype.downplay=function(){lR(this)},e.prototype.getSymbolType=function(){var t=this.childAt(0);return t&&t.getSymbolType()},e.prototype.updateData=function(t,e){var n=this,a=t.hostModel;this.childAt(0).updateData(t,e);var r=this.childAt(1),o=t.getItemModel(e),i=t.getItemVisual(e,"symbol"),l=kW(t.getItemVisual(e,"symbolSize")),s=t.getItemVisual(e,"style"),c=s&&s.fill;r.setScale(l),r.traverse((function(t){t.setStyle("fill",c)}));var u=SW(t.getItemVisual(e,"symbolOffset"),l);u&&(r.x=u[0],r.y=u[1]);var d=t.getItemVisual(e,"symbolRotate");r.rotation=(d||0)*Math.PI/180||0;var p={};p.showEffectOn=a.get("showEffectOn"),p.rippleScale=o.get(["rippleEffect","scale"]),p.brushType=o.get(["rippleEffect","brushType"]),p.period=1e3*o.get(["rippleEffect","period"]),p.effectOffset=e/t.count(),p.z=a.getShallow("z")||0,p.zlevel=a.getShallow("zlevel")||0,p.symbolType=i,p.color=c,p.rippleEffectColor=o.get(["rippleEffect","color"]),p.rippleNumber=o.get(["rippleEffect","number"]),this.off("mouseover").off("mouseout").off("emphasis").off("normal"),"render"===p.showEffectOn?(this._effectCfg?this.updateEffectAnimation(p):this.startEffectAnimation(p),this._effectCfg=p):(this._effectCfg=null,this.stopEffectAnimation(),this.onHoverStateChange=function(t){"emphasis"===t?"render"!==p.showEffectOn&&n.startEffectAnimation(p):"normal"===t&&"render"!==p.showEffectOn&&n.stopEffectAnimation()}),this._effectCfg=p,yR(this)},e.prototype.fadeOut=function(t){this.off("mouseover").off("mouseout"),t&&t()},e}(VI),e4=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.init=function(){this._symbolDraw=new dJ(t4)},e.prototype.render=function(t,e,n){var a=t.getData(),r=this._symbolDraw;r.updateData(a,{clipShape:this._getClipShape(t)}),this.group.add(r.group)},e.prototype._getClipShape=function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},e.prototype.updateTransform=function(t,e,n){var a=t.getData();this.group.dirty();var r=VJ("").reset(t,e,n);r.progress&&r.progress({start:0,end:a.count(),count:a.count()},a),this._symbolDraw.updateLayout()},e.prototype._updateGroupTransform=function(t){var e=t.coordinateSystem;e&&e.getRoamTransform&&(this.group.transform=GD(e.getRoamTransform()),this.group.decomposeTransform())},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0)},e.type="effectScatter",e}(fH),n4=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return d(e,t),e.prototype.getInitialData=function(t,e){return RK(null,this,{useEncodeDefaulter:!0})},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.type="series.effectScatter",e.dependencies=["grid","polar"],e.defaultOption={coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",clip:!0,rippleEffect:{period:4,scale:2.5,brushType:"fill",number:3},universalTransition:{divideShape:"clone"},symbolSize:10},e}(eH);var a4=function(t){function e(e,n,a){var r=t.call(this)||this;return r.add(r.createLine(e,n,a)),r._updateEffectSymbol(e,n),r}return d(e,t),e.prototype.createLine=function(t,e,n){return new Z3(t,e,n)},e.prototype._updateEffectSymbol=function(t,e){var n=t.getItemModel(e).getModel("effect"),a=n.get("symbolSize"),r=n.get("symbol");DO(a)||(a=[a,a]);var o=t.getItemVisual(e,"style"),i=n.get("color")||o&&o.stroke,l=this.childAt(1);this._symbolType!==r&&(this.remove(l),(l=_W(r,-.5,-.5,1,1,i)).z2=100,l.culling=!0,this.add(l)),l&&(l.setStyle("shadowColor",i),l.setStyle(n.getItemStyle(["color"])),l.scaleX=a[0],l.scaleY=a[1],l.setColor(i),this._symbolType=r,this._symbolScale=a,this._updateEffectAnimation(t,n,e))},e.prototype._updateEffectAnimation=function(t,e,n){var a=this.childAt(1);if(a){var r=this,o=t.getItemLayout(n),i=1e3*e.get("period"),l=e.get("loop"),s=e.get("constantSpeed"),c=HO(e.get("delay"),(function(e){return e/t.count()*i/3}));if(a.ignore=!0,this._updateAnimationPoints(a,o),s>0&&(i=this._getLineLength(a)/s*1e3),(i!==this._period||l!==this._loop)&&(a.stopAnimation(),i>0)){var u=void 0;u="function"==typeof c?c(n):c,a.__t>0&&(u=-i*a.__t),a.__t=0;var d=a.animate("",l).when(i,{__t:1}).delay(u).during((function(){r._updateSymbolPosition(a)}));l||d.done((function(){r.remove(a)})),d.start()}this._period=i,this._loop=l}},e.prototype._getLineLength=function(t){return xE(t.__p1,t.__cp1)+xE(t.__cp1,t.__p2)},e.prototype._updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},e.prototype.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},e.prototype._updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,a=t.__cp1,r=t.__t,o=[t.x,t.y],i=o.slice(),l=qN,s=XN;o[0]=l(e[0],a[0],n[0],r),o[1]=l(e[1],a[1],n[1],r);var c=s(e[0],a[0],n[0],r),u=s(e[1],a[1],n[1],r);t.rotation=-Math.atan2(u,c)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==t.__lastT&&t.__lastT<t.__t?(t.scaleY=1.05*xE(i,o),1===r&&(o[0]=i[0]+(o[0]-i[0])/2,o[1]=i[1]+(o[1]-i[1])/2)):1===t.__lastT?t.scaleY=2*xE(e,o):t.scaleY=this._symbolScale[1]),t.__lastT=t.__t,t.ignore=!1,t.x=o[0],t.y=o[1]},e.prototype.updateLayout=function(t,e){this.childAt(0).updateLayout(t,e);var n=t.getItemModel(e).getModel("effect");this._updateEffectAnimation(t,n,e)},e}(VI),r4=function(t){function e(e,n,a){var r=t.call(this)||this;return r._createPolyline(e,n,a),r}return d(e,t),e.prototype._createPolyline=function(t,e,n){var a=t.getItemLayout(e),r=new ML({shape:{points:a}});this.add(r),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var a=t.hostModel;oj(this.childAt(0),{shape:{points:t.getItemLayout(e)}},a,e),this._updateCommonStl(t,e,n)},e.prototype._updateCommonStl=function(t,e,n){var a=this.childAt(0),r=t.getItemModel(e),o=n&&n.emphasisLineStyle;n&&!t.hasItemOption||(o=r.getModel(["emphasis","lineStyle"]).getLineStyle()),a.useStyle(t.getItemVisual(e,"style")),a.style.fill=null,a.style.strokeNoScale=!0,a.ensureState("emphasis").style=o,yR(this)},e.prototype.updateLayout=function(t,e){this.childAt(0).setShape("points",t.getItemLayout(e))},e}(VI),o4=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._lastFrame=0,e._lastFramePercent=0,e}return d(e,t),e.prototype.createLine=function(t,e,n){return new r4(t,e,n)},e.prototype._updateAnimationPoints=function(t,e){this._points=e;for(var n=[0],a=0,r=1;r<e.length;r++){var o=e[r-1],i=e[r];a+=xE(o,i),n.push(a)}if(0!==a){for(r=0;r<n.length;r++)n[r]/=a;this._offsets=n,this._length=a}else this._length=0},e.prototype._getLineLength=function(){return this._length},e.prototype._updateSymbolPosition=function(t){var e=t.__t,n=this._points,a=this._offsets,r=n.length;if(a){var o,i=this._lastFrame;if(e<this._lastFramePercent){for(o=Math.min(i+1,r-1);o>=0&&!(a[o]<=e);o--);o=Math.min(o,r-2)}else{for(o=i;o<r&&!(a[o]>e);o++);o=Math.min(o-1,r-2)}var l=(e-a[o])/(a[o+1]-a[o]),s=n[o],c=n[o+1];t.x=s[0]*(1-l)+l*c[0],t.y=s[1]*(1-l)+l*c[1];var u=c[0]-s[0],d=c[1]-s[1];t.rotation=-Math.atan2(d,u)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=e,t.ignore=!1}},e}(a4),i4=function(){this.polyline=!1,this.curveness=0,this.segs=[]},l4=function(t){function e(e){return t.call(this,e)||this}return d(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new i4},e.prototype.buildPath=function(t,e){var n=e.segs,a=e.curveness;if(e.polyline)for(var r=0;r<n.length;){var o=n[r++];if(o>0){t.moveTo(n[r++],n[r++]);for(var i=1;i<o;i++)t.lineTo(n[r++],n[r++])}}else for(r=0;r<n.length;){var l=n[r++],s=n[r++],c=n[r++],u=n[r++];if(t.moveTo(l,s),a>0){var d=(l+c)/2-(s-u)*a,p=(s+u)/2-(c-l)*a;t.quadraticCurveTo(d,p,c,u)}else t.lineTo(c,u)}},e.prototype.findDataIndex=function(t,e){var n=this.shape,a=n.segs,r=n.curveness,o=this.style.lineWidth;if(n.polyline)for(var i=0,l=0;l<a.length;){var s=a[l++];if(s>0)for(var c=a[l++],u=a[l++],d=1;d<s;d++){if(RA(c,u,p=a[l++],f=a[l++],o,t,e))return i}i++}else for(i=0,l=0;l<a.length;){c=a[l++],u=a[l++];var p=a[l++],f=a[l++];if(r>0){if(jA(c,u,(c+p)/2-(u-f)*r,(u+f)/2-(p-c)*r,p,f,o,t,e))return i}else if(RA(c,u,p,f,o,t,e))return i;i++}return-1},e}(nz),s4=function(){function t(){this.group=new VI}return t.prototype.isPersistent=function(){return!this._incremental},t.prototype.updateData=function(t){this.group.removeAll();var e=new l4({rectHover:!0,cursor:"default"});e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t),this.group.add(e),this._incremental=null},t.prototype.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>5e5?(this._incremental||(this._incremental=new ej({silent:!0})),this.group.add(this._incremental)):this._incremental=null},t.prototype.incrementalUpdate=function(t,e){var n=new l4;n.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(n,e,!!this._incremental),this._incremental?this._incremental.addDisplayable(n,!0):(n.rectHover=!0,n.cursor="default",n.__startIndex=t.start,this.group.add(n))},t.prototype.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},t.prototype._setCommon=function(t,e,n){var a=e.hostModel;t.setShape({polyline:a.get("polyline"),curveness:a.get(["lineStyle","curveness"])}),t.useStyle(a.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var r=e.getVisual("style");if(r&&r.stroke&&t.setStyle("stroke",r.stroke),t.setStyle("fill",null),!n){var o=Dz(t);o.seriesIndex=a.seriesIndex,t.on("mousemove",(function(e){o.dataIndex=null;var n=t.findDataIndex(e.offsetX,e.offsetY);n>0&&(o.dataIndex=n+t.__startIndex)}))}},t.prototype._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()},t}(),c4={seriesType:"lines",plan:uH(),reset:function(t){var e=t.coordinateSystem,n=t.get("polyline"),a=t.pipelineContext.large;return{progress:function(r,o){var i=[];if(a){var l=void 0,s=r.end-r.start;if(n){for(var c=0,u=r.start;u<r.end;u++)c+=t.getLineCoordsCount(u);l=new Float32Array(s+2*c)}else l=new Float32Array(4*s);var d=0,p=[];for(u=r.start;u<r.end;u++){var f=t.getLineCoords(u,i);n&&(l[d++]=f);for(var h=0;h<f;h++)p=e.dataToPoint(i[h],!1,p),l[d++]=p[0],l[d++]=p[1]}o.setLayout("linesPoints",l)}else for(u=r.start;u<r.end;u++){var g=o.getItemModel(u),m=(f=t.getLineCoords(u,i),[]);if(n)for(var b=0;b<f;b++)m.push(e.dataToPoint(i[b]));else{m[0]=e.dataToPoint(i[0]),m[1]=e.dataToPoint(i[1]);var v=g.get(["lineStyle","curveness"]);+v&&(m[2]=[(m[0][0]+m[1][0])/2-(m[0][1]-m[1][1])*v,(m[0][1]+m[1][1])/2-(m[1][0]-m[0][0])*v])}o.setItemLayout(u,m)}}}}},u4=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.render=function(t,e,n){var a=t.getData(),r=this._updateLineDraw(a,t),o=t.get("zlevel"),i=t.get(["effect","trailLength"]),l=n.getZr(),s="svg"===l.painter.getType();s||l.painter.getLayer(o).clear(!0),null==this._lastZlevel||s||l.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(t)&&i&&(s||l.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(i/10+.9,1),0)})),r.updateData(a);var c=t.get("clip",!0)&&OJ(t.coordinateSystem,!1,t);c?this.group.setClipPath(c):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var a=t.getData();this._updateLineDraw(a,t).incrementalPrepareUpdate(a),this._clearLayer(n),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,n){var a=t.getData(),r=t.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var o=c4.reset(t,e,n);o.progress&&o.progress({start:0,end:a.count(),count:a.count()},a),this._lineDraw.updateLayout(),this._clearLayer(n)},e.prototype._updateLineDraw=function(t,e){var n=this._lineDraw,a=this._showEffect(e),r=!!e.get("polyline"),o=e.pipelineContext.large;return n&&a===this._hasEffet&&r===this._isPolyline&&o===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=o?new s4:new J3(r?a?o4:r4:a?a4:Z3),this._hasEffet=a,this._isPolyline=r,this._isLargeDraw=o),this.group.add(n.group),n},e.prototype._showEffect=function(t){return!!t.get(["effect","show"])},e.prototype._clearLayer=function(t){var e=t.getZr();"svg"===e.painter.getType()||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},e.prototype.remove=function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.type="lines",e}(fH),d4="undefined"==typeof Uint32Array?Array:Uint32Array,p4="undefined"==typeof Float64Array?Array:Float64Array;function f4(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=kO(e,(function(t){var e={coords:[t[0].coord,t[1].coord]};return t[0].name&&(e.fromName=t[0].name),t[1].name&&(e.toName=t[1].name),hO([e,t[0],t[1]])})))}var h4=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return d(e,t),e.prototype.init=function(e){e.data=e.data||[],f4(e);var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count)),t.prototype.init.apply(this,arguments)},e.prototype.mergeOption=function(e){if(f4(e),e.data){var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count))}t.prototype.mergeOption.apply(this,arguments)},e.prototype.appendData=function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=eE(this._flatCoords,e.flatCoords),this._flatCoordsOffset=eE(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},e.prototype._getCoordsFromItemModel=function(t){var e=this.getData().getItemModel(t);return e.option instanceof Array?e.option:e.getShallow("coords")},e.prototype.getLineCoordsCount=function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},e.prototype.getLineCoords=function(t,e){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*t],a=this._flatCoordsOffset[2*t+1],r=0;r<a;r++)e[r]=e[r]||[],e[r][0]=this._flatCoords[n+2*r],e[r][1]=this._flatCoords[n+2*r+1];return a}var o=this._getCoordsFromItemModel(t);for(r=0;r<o.length;r++)e[r]=e[r]||[],e[r][0]=o[r][0],e[r][1]=o[r][1];return o.length},e.prototype._processFlatCoordsArray=function(t){var e=0;if(this._flatCoords&&(e=this._flatCoords.length),"number"==typeof t[0]){for(var n=t.length,a=new d4(n),r=new p4(n),o=0,i=0,l=0,s=0;s<n;){l++;var c=t[s++];a[i++]=o+e,a[i++]=c;for(var u=0;u<c;u++){var d=t[s++],p=t[s++];r[o++]=d,r[o++]=p}}return{flatCoordsOffset:new Uint32Array(a.buffer,0,i),flatCoords:r,count:l}}return{flatCoordsOffset:null,flatCoords:null,count:t.length}},e.prototype.getInitialData=function(t,e){var n=new OK(["value"],this);return n.hasItemOption=!1,n.initData(t.data,[],(function(t,e,a,r){if(t instanceof Array)return NaN;n.hasItemOption=!0;var o=t.value;return null!=o?o instanceof Array?o[r]:o:void 0})),n},e.prototype.formatTooltip=function(t,e,n){var a=this.getData().getItemModel(t),r=a.get("name");if(r)return r;var o=a.get("fromName"),i=a.get("toName"),l=[];return null!=o&&l.push(o),null!=i&&l.push(i),YY("nameValue",{name:l.join(" > ")})},e.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},e.type="series.lines",e.dependencies=["grid","polar","geo","calendar"],e.defaultOption={coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},e}(eH);function g4(t){return t instanceof Array||(t=[t,t]),t}var m4={seriesType:"lines",reset:function(t){var e=g4(t.get("symbol")),n=g4(t.get("symbolSize")),a=t.getData();return a.setVisual("fromSymbol",e&&e[0]),a.setVisual("toSymbol",e&&e[1]),a.setVisual("fromSymbolSize",n&&n[0]),a.setVisual("toSymbolSize",n&&n[1]),{dataEach:a.hasItemOption?function(t,e){var n=t.getItemModel(e),a=g4(n.getShallow("symbol",!0)),r=g4(n.getShallow("symbolSize",!0));a[0]&&t.setItemVisual(e,"fromSymbol",a[0]),a[1]&&t.setItemVisual(e,"toSymbol",a[1]),r[0]&&t.setItemVisual(e,"fromSymbolSize",r[0]),r[1]&&t.setItemVisual(e,"toSymbolSize",r[1])}:null}}};var b4=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=bO();this.canvas=t}return t.prototype.update=function(t,e,n,a,r,o){var i=this._getBrush(),l=this._getGradient(r,"inRange"),s=this._getGradient(r,"outOfRange"),c=this.pointSize+this.blurSize,u=this.canvas,d=u.getContext("2d"),p=t.length;u.width=e,u.height=n;for(var f=0;f<p;++f){var h=t[f],g=h[0],m=h[1],b=a(h[2]);d.globalAlpha=b,d.drawImage(i,g-c,m-c)}if(!u.width||!u.height)return u;for(var v=d.getImageData(0,0,u.width,u.height),y=v.data,x=0,w=y.length,_=this.minOpacity,k=this.maxOpacity-_;x<w;){b=y[x+3]/256;var S=4*Math.floor(255*b);if(b>0){var C=o(b)?l:s;b>0&&(b=b*k+_),y[x++]=C[S],y[x++]=C[S+1],y[x++]=C[S+2],y[x++]=C[S+3]*b*256}else x+=4}return d.putImageData(v,0,0),u},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=bO()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var a=t.getContext("2d");return a.clearRect(0,0,n,n),a.shadowOffsetX=n,a.shadowBlur=this.blurSize,a.shadowColor="#000",a.beginPath(),a.arc(-e,e,this.pointSize,0,2*Math.PI,!0),a.closePath(),a.fill(),t},t.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,a=n[e]||(n[e]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,i=0;i<256;i++)t[e](i/255,!0,r),a[o++]=r[0],a[o++]=r[1],a[o++]=r[2],a[o++]=r[3];return a},t}();function v4(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var y4=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.render=function(t,e,n){var a;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(a=e)}))})),this.group.removeAll(),this._incrementalDisplayable=null;var r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):v4(r)&&this._renderOnGeo(r,t,a,n)},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll()},e.prototype.incrementalRender=function(t,e,n,a){var r=e.coordinateSystem;r&&(v4(r)?this.render(e,n,a):this._renderOnCartesianAndCalendar(e,a,t.start,t.end,!0))},e.prototype._renderOnCartesianAndCalendar=function(t,e,n,a,r){var o,i,l,s,c=t.coordinateSystem;if(EJ(c,"cartesian2d")){var u=c.getAxis("x"),d=c.getAxis("y");o=u.getBandWidth(),i=d.getBandWidth(),l=u.scale.getExtent(),s=d.scale.getExtent()}for(var p=this.group,f=t.getData(),h=t.getModel(["emphasis","itemStyle"]).getItemStyle(),g=t.getModel(["blur","itemStyle"]).getItemStyle(),m=t.getModel(["select","itemStyle"]).getItemStyle(),b=Hj(t),v=t.get(["emphasis","focus"]),y=t.get(["emphasis","blurScope"]),x=EJ(c,"cartesian2d")?[f.mapDimension("x"),f.mapDimension("y"),f.mapDimension("value")]:[f.mapDimension("time"),f.mapDimension("value")],w=n;w<a;w++){var _=void 0,k=f.getItemVisual(w,"style");if(EJ(c,"cartesian2d")){var S=f.get(x[0],w),C=f.get(x[1],w);if(isNaN(f.get(x[2],w))||S<l[0]||S>l[1]||C<s[0]||C>s[1])continue;var M=c.dataToPoint([S,C]);_=new bz({shape:{x:Math.floor(Math.round(M[0])-o/2),y:Math.floor(Math.round(M[1])-i/2),width:Math.ceil(o),height:Math.ceil(i)},style:k})}else{if(isNaN(f.get(x[1],w)))continue;_=new bz({z2:1,shape:c.dataToRect([f.get(x[0],w)]).contentShape,style:k})}var O=f.getItemModel(w);if(f.hasItemOption){var E=O.getModel("emphasis");h=E.getModel("itemStyle").getItemStyle(),g=O.getModel(["blur","itemStyle"]).getItemStyle(),m=O.getModel(["select","itemStyle"]).getItemStyle(),v=E.get("focus"),y=E.get("blurScope"),b=Hj(O)}var T=t.getRawValue(w),D="-";T&&null!=T[2]&&(D=T[2]+""),Yj(_,b,{labelFetcher:t,labelDataIndex:w,defaultOpacity:k.opacity,defaultText:D}),_.ensureState("emphasis").style=h,_.ensureState("blur").style=g,_.ensureState("select").style=m,yR(_,v,y),_.incremental=r,r&&(_.states.emphasis.hoverLayer=!0),p.add(_),f.setItemGraphicEl(w,_)}},e.prototype._renderOnGeo=function(t,e,n,a){var r=n.targetVisuals.inRange,o=n.targetVisuals.outOfRange,i=e.getData(),l=this._hmLayer||this._hmLayer||new b4;l.blurSize=e.get("blurSize"),l.pointSize=e.get("pointSize"),l.minOpacity=e.get("minOpacity"),l.maxOpacity=e.get("maxOpacity");var s=t.getViewRect().clone(),c=t.getRoamTransform();s.applyTransform(c);var u=Math.max(s.x,0),d=Math.max(s.y,0),p=Math.min(s.width+s.x,a.getWidth()),f=Math.min(s.height+s.y,a.getHeight()),h=p-u,g=f-d,m=[i.mapDimension("lng"),i.mapDimension("lat"),i.mapDimension("value")],b=i.mapArray(m,(function(e,n,a){var r=t.dataToPoint([e,n]);return r[0]-=u,r[1]-=d,r.push(a),r})),v=n.getExtent(),y="visualMap.continuous"===n.type?function(t,e){var n=t[1]-t[0];return e=[(e[0]-t[0])/n,(e[1]-t[0])/n],function(t){return t>=e[0]&&t<=e[1]}}(v,n.option.range):function(t,e,n){var a=t[1]-t[0],r=(e=kO(e,(function(e){return{interval:[(e.interval[0]-t[0])/a,(e.interval[1]-t[0])/a]}}))).length,o=0;return function(t){var a;for(a=o;a<r;a++)if((i=e[a].interval)[0]<=t&&t<=i[1]){o=a;break}if(a===r)for(a=o-1;a>=0;a--){var i;if((i=e[a].interval)[0]<=t&&t<=i[1]){o=a;break}}return a>=0&&a<r&&n[a]}}(v,n.getPieceList(),n.option.selected);l.update(b,h,g,r.color.getNormalizer(),{inRange:r.color.getColorMapper(),outOfRange:o.color.getColorMapper()},y);var x=new cz({style:{width:h,height:g,x:u,y:d,image:l.canvas},silent:!0});this.group.add(x)},e.type="heatmap",e}(fH),x4=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.getInitialData=function(t,e){return RK(null,this,{generateCoord:"value"})},e.prototype.preventIncremental=function(){var t=lV.get(this.get("coordinateSystem"));if(t&&t.dimensions)return"lng"===t.dimensions[0]&&"lat"===t.dimensions[1]},e.type="series.heatmap",e.dependencies=["grid","geo","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},e}(eH);var w4=["itemStyle","borderWidth"],_4=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],k4=new ZR,S4=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.render=function(t,e,n){var a=this.group,r=t.getData(),o=this._data,i=t.coordinateSystem,l=i.getBaseAxis().isHorizontal(),s=i.master.getRect(),c={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:t,coordSys:i,coordSysExtent:[[s.x,s.x+s.width],[s.y,s.y+s.height]],isHorizontal:l,valueDim:_4[+l],categoryDim:_4[1-+l]};return r.diff(o).add((function(t){if(r.hasValue(t)){var e=P4(r,t),n=C4(r,t,e,c),o=z4(r,c,n);r.setItemGraphicEl(t,o),a.add(o),B4(o,c,n)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(r.hasValue(t)){var i=P4(r,t),l=C4(r,t,i,c),s=L4(r,l);n&&s!==n.__pictorialShapeStr&&(a.remove(n),r.setItemGraphicEl(t,null),n=null),n?function(t,e,n){var a=n.animationModel,r=n.dataIndex;oj(t.__pictorialBundle,{x:n.bundlePosition[0],y:n.bundlePosition[1]},a,r),n.symbolRepeat?E4(t,e,n,!0):T4(t,e,n,!0);D4(t,n,!0),I4(t,e,n,!0)}(n,c,l):n=z4(r,c,l,!0),r.setItemGraphicEl(t,n),n.__pictorialSymbolMeta=l,a.add(n),B4(n,c,l)}else a.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&R4(o,t,e.__pictorialSymbolMeta.animationModel,e)})).execute(),this._data=r,this.group},e.prototype.remove=function(t,e){var n=this.group,a=this._data;t.get("animation")?a&&a.eachItemGraphicEl((function(e){R4(a,Dz(e).dataIndex,t,e)})):n.removeAll()},e.type="pictorialBar",e}(fH);function C4(t,e,n,a){var r=t.getItemLayout(e),o=n.get("symbolRepeat"),i=n.get("symbolClip"),l=n.get("symbolPosition")||"start",s=(n.get("symbolRotate")||0)*Math.PI/180||0,c=n.get("symbolPatternSize")||2,u=n.isAnimationEnabled(),d={dataIndex:e,layout:r,itemModel:n,symbolType:t.getItemVisual(e,"symbol")||"circle",style:t.getItemVisual(e,"style"),symbolClip:i,symbolRepeat:o,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:c,rotation:s,animationModel:u?n:null,hoverScale:u&&n.get(["emphasis","scale"]),z2:n.getShallow("z",!0)||0};!function(t,e,n,a,r){var o,i=a.valueDim,l=t.get("symbolBoundingData"),s=a.coordSys.getOtherAxis(a.coordSys.getBaseAxis()),c=s.toGlobalCoord(s.dataToCoord(0)),u=1-+(n[i.wh]<=0);if(DO(l)){var d=[M4(s,l[0])-c,M4(s,l[1])-c];d[1]<d[0]&&d.reverse(),o=d[u]}else o=null!=l?M4(s,l)-c:e?a.coordSysExtent[i.index][u]-c:n[i.wh];r.boundingLength=o,e&&(r.repeatCutLength=n[i.wh]);r.pxSign=o>0?1:o<0?-1:0}(n,o,r,a,d),function(t,e,n,a,r,o,i,l,s,c){var u,d=s.valueDim,p=s.categoryDim,f=Math.abs(n[p.wh]),h=t.getItemVisual(e,"symbolSize");u=DO(h)?h.slice():null==h?["100%","100%"]:[h,h];u[p.index]=JI(u[p.index],f),u[d.index]=JI(u[d.index],a?f:Math.abs(o)),c.symbolSize=u,(c.symbolScale=[u[0]/l,u[1]/l])[d.index]*=(s.isHorizontal?-1:1)*i}(t,e,r,o,0,d.boundingLength,d.pxSign,c,a,d),function(t,e,n,a,r){var o=t.get(w4)||0;o&&(k4.attr({scaleX:e[0],scaleY:e[1],rotation:n}),k4.updateTransform(),o/=k4.getLineScale(),o*=e[a.valueDim.index]);r.valueLineWidth=o}(n,d.symbolScale,s,a,d);var p=d.symbolSize,f=SW(n.get("symbolOffset"),p);return function(t,e,n,a,r,o,i,l,s,c,u,d){var p=u.categoryDim,f=u.valueDim,h=d.pxSign,g=Math.max(e[f.index]+l,0),m=g;if(a){var b=Math.abs(s),v=HO(t.get("symbolMargin"),"15%")+"",y=!1;v.lastIndexOf("!")===v.length-1&&(y=!0,v=v.slice(0,v.length-1));var x=JI(v,e[f.index]),w=Math.max(g+2*x,0),_=y?0:2*x,k=mP(a),S=k?a:V4((b+_)/w);w=g+2*(x=(b-S*g)/2/(y?S:Math.max(S-1,1))),_=y?0:2*x,k||"fixed"===a||(S=c?V4((Math.abs(c)+_)/w):0),m=S*w-_,d.repeatTimes=S,d.symbolMargin=x}var C=h*(m/2),M=d.pathPosition=[];M[p.index]=n[p.wh]/2,M[f.index]="start"===i?C:"end"===i?s-C:s/2,o&&(M[0]+=o[0],M[1]+=o[1]);var O=d.bundlePosition=[];O[p.index]=n[p.xy],O[f.index]=n[f.xy];var E=d.barRectShape=gO({},n);E[f.wh]=h*Math.max(Math.abs(n[f.wh]),Math.abs(M[f.index]+C)),E[p.wh]=n[p.wh];var T=d.clipShape={};T[p.xy]=-n[p.xy],T[p.wh]=u.ecSize[p.wh],T[f.xy]=0,T[f.wh]=n[f.wh]}(n,p,r,o,0,f,l,d.valueLineWidth,d.boundingLength,d.repeatCutLength,a,d),d}function M4(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function O4(t){var e=t.symbolPatternSize,n=_W(t.symbolType,-e/2,-e/2,e,e);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function E4(t,e,n,a){var r=t.__pictorialBundle,o=n.symbolSize,i=n.valueLineWidth,l=n.pathPosition,s=e.valueDim,c=n.repeatTimes||0,u=0,d=o[e.valueDim.index]+i+2*n.symbolMargin;for(j4(t,(function(t){t.__pictorialAnimationIndex=u,t.__pictorialRepeatTimes=c,u<c?F4(t,null,h(u),n,a):F4(t,null,{scaleX:0,scaleY:0},n,a,(function(){r.remove(t)})),u++}));u<c;u++){var p=O4(n);p.__pictorialAnimationIndex=u,p.__pictorialRepeatTimes=c,r.add(p);var f=h(u);F4(p,{x:f.x,y:f.y,scaleX:0,scaleY:0},{scaleX:f.scaleX,scaleY:f.scaleY,rotation:f.rotation},n,a)}function h(t){var e=l.slice(),a=n.pxSign,r=t;return("start"===n.symbolRepeatDirection?a>0:a<0)&&(r=c-1-t),e[s.index]=d*(r-c/2+.5)+l[s.index],{x:e[0],y:e[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function T4(t,e,n,a){var r=t.__pictorialBundle,o=t.__pictorialMainPath;o?F4(o,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,a):(o=t.__pictorialMainPath=O4(n),r.add(o),F4(o,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,a))}function D4(t,e,n){var a=gO({},e.barRectShape),r=t.__pictorialBarRect;r?F4(r,null,{shape:a},e,n):((r=t.__pictorialBarRect=new bz({z2:2,shape:a,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,t.add(r))}function I4(t,e,n,a){if(n.symbolClip){var r=t.__pictorialClipPath,o=gO({},n.clipShape),i=e.valueDim,l=n.animationModel,s=n.dataIndex;if(r)oj(r,{shape:o},l,s);else{o[i.wh]=0,r=new bz({shape:o}),t.__pictorialBundle.setClipPath(r),t.__pictorialClipPath=r;var c={};c[i.wh]=n.clipShape[i.wh],jj[a?"updateProps":"initProps"](r,{shape:c},l,s)}}}function P4(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=N4,n.isAnimationEnabled=A4,n}function N4(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function A4(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function z4(t,e,n,a){var r=new VI,o=new VI;return r.add(o),r.__pictorialBundle=o,o.x=n.bundlePosition[0],o.y=n.bundlePosition[1],n.symbolRepeat?E4(r,e,n):T4(r,0,n),D4(r,n,a),I4(r,e,n,a),r.__pictorialShapeStr=L4(t,n),r.__pictorialSymbolMeta=n,r}function R4(t,e,n,a){var r=a.__pictorialBarRect;r&&r.removeTextContent();var o=[];j4(a,(function(t){o.push(t)})),a.__pictorialMainPath&&o.push(a.__pictorialMainPath),a.__pictorialClipPath&&(n=null),_O(o,(function(t){sj(t,{scaleX:0,scaleY:0},n,e,(function(){a.parent&&a.parent.remove(a)}))})),t.setItemGraphicEl(e,null)}function L4(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function j4(t,e,n){_O(t.__pictorialBundle.children(),(function(a){a!==t.__pictorialBarRect&&e.call(n,a)}))}function F4(t,e,n,a,r,o){e&&t.attr(e),a.symbolClip&&!r?n&&t.attr(n):n&&jj[r?"updateProps":"initProps"](t,n,a.animationModel,a.dataIndex,o)}function B4(t,e,n){var a=n.dataIndex,r=n.itemModel,o=r.getModel("emphasis"),i=o.getModel("itemStyle").getItemStyle(),l=r.getModel(["blur","itemStyle"]).getItemStyle(),s=r.getModel(["select","itemStyle"]).getItemStyle(),c=r.getShallow("cursor"),u=o.get("focus"),d=o.get("blurScope"),p=o.get("scale");j4(t,(function(t){if(t instanceof cz){var e=t.style;t.useStyle(gO({image:e.image,x:e.x,y:e.y,width:e.width,height:e.height},n.style))}else t.useStyle(n.style);var a=t.ensureState("emphasis");a.style=i,p&&(a.scaleX=1.1*t.scaleX,a.scaleY=1.1*t.scaleY),t.ensureState("blur").style=l,t.ensureState("select").style=s,c&&(t.cursor=c),t.z2=n.z2}));var f=e.valueDim.posDesc[+(n.boundingLength>0)];Yj(t.__pictorialBarRect,Hj(r),{labelFetcher:e.seriesModel,labelDataIndex:a,defaultText:rJ(e.seriesModel.getData(),a),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:f}),yR(t,u,d)}function V4(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var Y4=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n.defaultSymbol="roundRect",n}return d(e,t),e.prototype.getInitialData=function(e){return e.stack=null,t.prototype.getInitialData.apply(this,arguments)},e.type="series.pictorialBar",e.dependencies=["grid"],e.defaultOption=hF(GJ.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),e}(GJ);var H4=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._layers=[],n}return d(e,t),e.prototype.render=function(t,e,n){var a=t.getData(),r=this,o=this.group,i=t.getLayerSeries(),l=a.getLayout("layoutInfo"),s=l.rect,c=l.boundaryGap;function u(t){return t.name}o.x=0,o.y=s.y+c[0];var d=new aK(this._layersSeries||[],i,u,u),p=[];function f(e,n,l){var s=r._layers;if("remove"!==e){for(var c,u,d=[],f=[],h=i[n].indices,g=0;g<h.length;g++){var m=a.getItemLayout(h[g]),b=m.x,v=m.y0,y=m.y;d.push(b,v),f.push(b,v+y),c=a.getItemVisual(h[g],"style")}var x=a.getItemLayout(h[0]),w=t.getModel("label").get("margin"),_=t.getModel("emphasis");if("add"===e){var k=p[n]=new VI;u=new SJ({shape:{points:d,stackedOnPoints:f,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),k.add(u),o.add(k),t.isAnimationEnabled()&&u.setClipPath(function(t,e,n){var a=new bz({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return ij(a,{shape:{x:t.x-50,width:t.width+100,height:t.height+20}},e,n),a}(u.getBoundingRect(),t,(function(){u.removeClipPath()})))}else{k=s[l];u=k.childAt(0),o.add(k),p[n]=k,oj(u,{shape:{points:d,stackedOnPoints:f}},t),dj(u)}Yj(u,Hj(t),{labelDataIndex:h[g-1],defaultText:a.getName(h[g-1]),inheritColor:c.fill},{normal:{verticalAlign:"middle"}}),u.setTextConfig({position:null,local:!0});var S=u.getTextContent();S&&(S.x=x.x-w,S.y=x.y0+x.y/2),u.useStyle(c),a.setItemGraphicEl(n,u),kR(u,t),yR(u,_.get("focus"),_.get("blurScope"))}else o.remove(s[n])}d.add(EO(f,this,"add")).update(EO(f,this,"update")).remove(EO(f,this,"remove")).execute(),this._layersSeries=i,this._layers=p},e.type="themeRiver",e}(fH);var W4=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new P$(EO(this.getData,this),EO(this.getRawData,this))},e.prototype.fixData=function(t){var e=t.length,n={},a=HP(t,(function(t){return n.hasOwnProperty(t[0]+"")||(n[t[0]+""]=-1),t[2]})),r=[];a.buckets.each((function(t,e){r.push({name:e,dataList:t})}));for(var o=r.length,i=0;i<o;++i){for(var l=r[i].name,s=0;s<r[i].dataList.length;++s){var c=r[i].dataList[s][0]+"";n[c]=i}for(var c in n)n.hasOwnProperty(c)&&n[c]!==i&&(n[c]=i,t[e]=[c,0,l],e++)}return t},e.prototype.getInitialData=function(t,e){for(var n=this.getReferringComponents("singleAxis",FP).models[0].get("type"),a=CO(t.data,(function(t){return void 0!==t[2]})),r=this.fixData(a||[]),o=[],i=this.nameMap=tE(),l=0,s=0;s<r.length;++s)o.push(r[s][2]),i.get(r[s][2])||(i.set(r[s][2],l),l++);var c=EK(r,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:iK(n)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,u=new OK(c,this);return u.initData(r),u},e.prototype.getLayerSeries=function(){for(var t=this.getData(),e=t.count(),n=[],a=0;a<e;++a)n[a]=a;var r=t.mapDimension("single"),o=HP(n,(function(e){return t.get("name",e)})),i=[];return o.buckets.each((function(e,n){e.sort((function(e,n){return t.get(r,e)-t.get(r,n)})),i.push({name:n,indices:e})})),i},e.prototype.getAxisTooltipData=function(t,e,n){DO(t)||(t=t?[t]:[]);for(var a,r=this.getData(),o=this.getLayerSeries(),i=[],l=o.length,s=0;s<l;++s){for(var c=Number.MAX_VALUE,u=-1,d=o[s].indices.length,p=0;p<d;++p){var f=r.get(t[0],o[s].indices[p]),h=Math.abs(f-e);h<=c&&(a=f,c=h,u=o[s].indices[p])}i.push(u)}return{dataIndices:i,nestestValue:a}},e.prototype.formatTooltip=function(t,e,n){var a=this.getData();return YY("nameValue",{name:a.getName(t),value:a.get(a.mapDimension("value"),t)})},e.type="series.themeRiver",e.dependencies=["singleAxis"],e.defaultOption={zlevel:0,z:2,colorBy:"data",coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",fontSize:11},emphasis:{label:{show:!0}}},e}(eH);function U4(t,e){t.eachSeriesByType("themeRiver",(function(t){var e=t.getData(),n=t.coordinateSystem,a={},r=n.getRect();a.rect=r;var o=t.get("boundaryGap"),i=n.getAxis();(a.boundaryGap=o,"horizontal"===i.orient)?(o[0]=JI(o[0],r.height),o[1]=JI(o[1],r.height),G4(e,t,r.height-o[0]-o[1])):(o[0]=JI(o[0],r.width),o[1]=JI(o[1],r.width),G4(e,t,r.width-o[0]-o[1]));e.setLayout("layoutInfo",a)}))}function G4(t,e,n){if(t.count())for(var a,r=e.coordinateSystem,o=e.getLayerSeries(),i=t.mapDimension("single"),l=t.mapDimension("value"),s=kO(o,(function(e){return kO(e.indices,(function(e){var n=r.dataToPoint(t.get(i,e));return n[1]=t.get(l,e),n}))})),c=function(t){for(var e=t.length,n=t[0].length,a=[],r=[],o=0,i=0;i<n;++i){for(var l=0,s=0;s<e;++s)l+=t[s][i][1];l>o&&(o=l),a.push(l)}for(var c=0;c<n;++c)r[c]=(o-a[c])/2;o=0;for(var u=0;u<n;++u){var d=a[u]+r[u];d>o&&(o=d)}return{y0:r,max:o}}(s),u=c.y0,d=n/c.max,p=o.length,f=o[0].indices.length,h=0;h<f;++h){a=u[h]*d,t.setItemLayout(o[0].indices[h],{layerIndex:0,x:s[0][h][0],y0:a,y:s[0][h][1]*d});for(var g=1;g<p;++g)a+=s[g-1][h][1]*d,t.setItemLayout(o[g].indices[h],{layerIndex:g,x:s[g][h][0],y0:a,y:s[g][h][1]*d})}}var K4=function(t){function e(e,n,a,r){var o=t.call(this)||this;o.z2=2,o.textConfig={inside:!0},Dz(o).seriesIndex=n.seriesIndex;var i=new Tz({z2:4,silent:e.getModel().get(["label","silent"])});return o.setTextContent(i),o.updateData(!0,e,n,a,r),o}return d(e,t),e.prototype.updateData=function(t,e,n,a,r){this.node=e,e.piece=this,n=n||this._seriesModel,a=a||this._ecModel;var o=this;Dz(o).dataIndex=e.dataIndex;var i=e.getModel(),l=i.getModel("emphasis"),s=e.getLayout(),c=gO({},s);c.label=null;var u=e.getVisual("style");u.lineJoin="bevel";var d=e.getVisual("decal");d&&(u.decal=qW(d,r));var p=E$(i.getModel("itemStyle"),c,!0);gO(c,p),_O(zz,(function(t){var e=o.ensureState(t),n=i.getModel([t,"itemStyle"]);e.style=n.getItemStyle();var a=E$(n,c);a&&(e.shape=a)})),t?(o.setShape(c),o.shape.r=s.r0,oj(o,{shape:{r:s.r}},n,e.dataIndex)):(oj(o,{shape:c},n),dj(o)),o.useStyle(u),this._updateLabel(n);var f=i.getShallow("cursor");f&&o.attr("cursor",f),this._seriesModel=n||this._seriesModel,this._ecModel=a||this._ecModel;var h=l.get("focus");yR(this,"ancestor"===h?e.getAncestorsIndices():"descendant"===h?e.getDescendantIndices():h,l.get("blurScope"))},e.prototype._updateLabel=function(t){var e=this,n=this.node.getModel(),a=n.getModel("label"),r=this.node.getLayout(),o=r.endAngle-r.startAngle,i=(r.startAngle+r.endAngle)/2,l=Math.cos(i),s=Math.sin(i),c=this,u=c.getTextContent(),d=this.node.dataIndex,p=a.get("minAngle")/180*Math.PI,f=a.get("show")&&!(null!=p&&Math.abs(o)<p);function h(t,e){var n=t.get(e);return null==n?a.get(e):n}u.ignore=!f,_O(Rz,(function(a){var o="normal"===a?n.getModel("label"):n.getModel([a,"label"]),p="normal"===a,f=p?u:u.ensureState(a),g=t.getFormattedLabel(d,a);p&&(g=g||e.node.name),f.style=Wj(o,{},null,"normal"!==a,!0),g&&(f.style.text=g);var m=o.get("show");null==m||p||(f.ignore=!m);var b,v=h(o,"position"),y=p?c:c.states[a],x=y.style.fill;y.textConfig={outsideFill:"inherit"===o.get("color")?x:null,inside:"outside"!==v};var w=h(o,"distance")||0,_=h(o,"align");"outside"===v?(b=r.r+w,_=i>Math.PI/2?"right":"left"):_&&"center"!==_?"left"===_?(b=r.r0+w,i>Math.PI/2&&(_="right")):"right"===_&&(b=r.r-w,i>Math.PI/2&&(_="left")):(b=(r.r+r.r0)/2,_="center"),f.style.align=_,f.style.verticalAlign=h(o,"verticalAlign")||"middle",f.x=b*l+r.cx,f.y=b*s+r.cy;var k=h(o,"rotate"),S=0;"radial"===k?(S=-i)<-Math.PI/2&&(S+=Math.PI):"tangential"===k?(S=Math.PI/2-i)>Math.PI/2?S-=Math.PI:S<-Math.PI/2&&(S+=Math.PI):"number"==typeof k&&(S=k*Math.PI/180),f.rotation=S})),u.dirtyStyle()},e}(gL),q4="sunburstRootToNode",X4="sunburstHighlight";var Z4=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.render=function(t,e,n,a){var r=this;this.seriesModel=t,this.api=n,this.ecModel=e;var o=t.getData(),i=o.tree.root,l=t.getViewRoot(),s=this.group,c=t.get("renderLabelForZeroData"),u=[];l.eachNode((function(t){u.push(t)}));var d=this._oldChildren||[];!function(a,r){if(0===a.length&&0===r.length)return;function l(t){return t.getId()}function u(l,u){!function(a,r){c||!a||a.getValue()||(a=null);if(a!==i&&r!==i)if(r&&r.piece)a?(r.piece.updateData(!1,a,t,e,n),o.setItemGraphicEl(a.dataIndex,r.piece)):function(t){if(!t)return;t.piece&&(s.remove(t.piece),t.piece=null)}(r);else if(a){var l=new K4(a,t,e,n);s.add(l),o.setItemGraphicEl(a.dataIndex,l)}}(null==l?null:a[l],null==u?null:r[u])}new aK(r,a,l,l).add(u).update(u).remove(TO(u,null)).execute()}(u,d),function(a,o){o.depth>0?(r.virtualPiece?r.virtualPiece.updateData(!1,a,t,e,n):(r.virtualPiece=new K4(a,t,e,n),s.add(r.virtualPiece)),o.piece.off("click"),r.virtualPiece.on("click",(function(t){r._rootToNode(o.parentNode)}))):r.virtualPiece&&(s.remove(r.virtualPiece),r.virtualPiece=null)}(i,l),this._initEvents(),this._oldChildren=u},e.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",(function(e){var n=!1;t.seriesModel.getViewRoot().eachNode((function(a){if(!n&&a.piece&&a.piece===e.target){var r=a.getModel().get("nodeClick");if("rootToNode"===r)t._rootToNode(a);else if("link"===r){var o=a.getModel(),i=o.get("link");if(i)uB(i,o.get("target",!0)||"_blank")}n=!0}}))}))},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:q4,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},e.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var a=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(a*a+r*r);return o<=n.r&&o>=n.r0}},e.type="sunburst",e}(fH),J4=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreStyleOnData=!0,n}return d(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};$4(n);var a=this._levelModels=kO(t.levels||[],(function(t){return new dF(t,this,e)}),this),r=u1.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e),o=a[n.depth];return o&&(t.parentModel=o),t}))}));return r.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),a=this.getData().tree.getNodeByDataIndex(e);return n.treePathInfo=h1(a,this),n},e.prototype.getLevelModel=function(t){return this._levelModels&&this._levelModels[t.depth]},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){w1(this)},e.type="series.sunburst",e.defaultOption={zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},e}(eH);function $4(t){var e=0;_O(t.children,(function(t){$4(t);var n=t.value;DO(n)&&(n=n[0]),e+=n}));var n=t.value;DO(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),DO(t.value)?t.value[0]=n:t.value=n}var Q4=Math.PI/180;function t8(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.get("center"),a=t.get("radius");DO(a)||(a=[0,a]),DO(e)||(e=[e,e]);var r=n.getWidth(),o=n.getHeight(),i=Math.min(r,o),l=JI(e[0],r),s=JI(e[1],o),c=JI(a[0],i/2),u=JI(a[1],i/2),d=-t.get("startAngle")*Q4,p=t.get("minAngle")*Q4,f=t.getData().tree.root,h=t.getViewRoot(),g=h.depth,m=t.get("sort");null!=m&&e8(h,m);var b=0;_O(h.children,(function(t){!isNaN(t.getValue())&&b++}));var v=h.getValue(),y=Math.PI/(v||b)*2,x=h.depth>0,w=h.height-(x?-1:1),_=(u-c)/(w||1),k=t.get("clockwise"),S=t.get("stillShowZeroSum"),C=k?1:-1,M=function(e,n){if(e){var a=n;if(e!==f){var r=e.getValue(),o=0===v&&S?y:r*y;o<p&&(o=p),a=n+C*o;var u=e.depth-g-(x?-1:1),d=c+_*u,h=c+_*(u+1),m=t.getLevelModel(e);if(m){var b=m.get("r0",!0),w=m.get("r",!0),O=m.get("radius",!0);null!=O&&(b=O[0],w=O[1]),null!=b&&(d=JI(b,i/2)),null!=w&&(h=JI(w,i/2))}e.setLayout({angle:o,startAngle:n,endAngle:a,clockwise:k,cx:l,cy:s,r0:d,r:h})}if(e.children&&e.children.length){var E=0;_O(e.children,(function(t){E+=M(t,n+E)}))}return a-n}};if(x){var O=c,E=c+_,T=2*Math.PI;f.setLayout({angle:T,startAngle:d,endAngle:d+T,clockwise:k,cx:l,cy:s,r0:O,r:E})}M(h,d)}))}function e8(t,e){var n=t.children||[];t.children=function(t,e){if("function"==typeof e){var n=kO(t,(function(t,e){var n=t.getValue();return{params:{depth:t.depth,height:t.height,dataIndex:t.dataIndex,getValue:function(){return n}},index:e}}));return n.sort((function(t,n){return e(t.params,n.params)})),kO(n,(function(e){return t[e.index]}))}var a="asc"===e;return t.sort((function(t,e){var n=(t.getValue()-e.getValue())*(a?1:-1);return 0===n?(t.dataIndex-e.dataIndex)*(a?-1:1):n}))}(n,e),n.length&&_O(t.children,(function(t){e8(t,e)}))}function n8(t){var e={};t.eachSeriesByType("sunburst",(function(t){var n=t.getData(),a=n.tree;a.eachNode((function(r){var o=r.getModel().getModel("itemStyle").getItemStyle();o.fill||(o.fill=function(t,n,a){for(var r=t;r&&r.depth>1;)r=r.parentNode;var o=n.getColorFromPalette(r.name||r.dataIndex+"",e);return t.depth>1&&"string"==typeof o&&(o=VT(o,(t.depth-1)/(a-1)*.5)),o}(r,t,a.root.height)),gO(n.ensureUniqueItemVisual(r.dataIndex,"style"),o)}))}))}var a8={color:"fill",borderColor:"stroke"},r8={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},o8=zP(),i8=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},e.prototype.getInitialData=function(t,e){return RK(null,this)},e.prototype.getDataParams=function(e,n,a){var r=t.prototype.getDataParams.call(this,e,n);return a&&(r.info=o8(a).info),r},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,clip:!1},e}(eH);function l8(t,e){return e=e||[0,0],kO(["x","y"],(function(n,a){var r=this.getAxis(n),o=e[a],i=t[a]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-i)-r.dataToCoord(o+i))}),this)}function s8(t,e){return e=e||[0,0],kO([0,1],(function(n){var a=e[n],r=t[n]/2,o=[],i=[];return o[n]=a-r,i[n]=a+r,o[1-n]=i[1-n]=e[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(i)[n])}),this)}function c8(t,e){var n=this.getAxis(),a=e instanceof Array?e[0]:e,r=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(a-r)-n.dataToCoord(a+r))}function u8(t,e){return e=e||[0,0],kO(["Radius","Angle"],(function(n,a){var r=this["get"+n+"Axis"](),o=e[a],i=t[a]/2,l="category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-i)-r.dataToCoord(o+i));return"Angle"===n&&(l=l*Math.PI/180),l}),this)}function d8(t,e,n,a){return t&&(t.legacy||!1!==t.legacy&&!n&&!a&&"tspan"!==e&&("text"===e||aE(t,"text")))}function p8(t,e,n){var a,r,o,i=t;if("text"===e)o=i;else{o={},aE(i,"text")&&(o.text=i.text),aE(i,"rich")&&(o.rich=i.rich),aE(i,"textFill")&&(o.fill=i.textFill),aE(i,"textStroke")&&(o.stroke=i.textStroke),aE(i,"fontFamily")&&(o.fontFamily=i.fontFamily),aE(i,"fontSize")&&(o.fontSize=i.fontSize),aE(i,"fontStyle")&&(o.fontStyle=i.fontStyle),aE(i,"fontWeight")&&(o.fontWeight=i.fontWeight),r={type:"text",style:o,silent:!0},a={};var l=aE(i,"textPosition");n?a.position=l?i.textPosition:"inside":l&&(a.position=i.textPosition),aE(i,"textPosition")&&(a.position=i.textPosition),aE(i,"textOffset")&&(a.offset=i.textOffset),aE(i,"textRotation")&&(a.rotation=i.textRotation),aE(i,"textDistance")&&(a.distance=i.textDistance)}return f8(o,t),_O(o.rich,(function(t){f8(t,t)})),{textConfig:a,textContent:r}}function f8(t,e){e&&(e.font=e.textFont||e.font,aE(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),aE(e,"textAlign")&&(t.align=e.textAlign),aE(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),aE(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),aE(e,"textWidth")&&(t.width=e.textWidth),aE(e,"textHeight")&&(t.height=e.textHeight),aE(e,"textBackgroundColor")&&(t.backgroundColor=e.textBackgroundColor),aE(e,"textPadding")&&(t.padding=e.textPadding),aE(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),aE(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),aE(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),aE(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),aE(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),aE(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),aE(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function h8(t,e,n){var a=t;a.textPosition=a.textPosition||n.position||"inside",null!=n.offset&&(a.textOffset=n.offset),null!=n.rotation&&(a.textRotation=n.rotation),null!=n.distance&&(a.textDistance=n.distance);var r=a.textPosition.indexOf("inside")>=0,o=t.fill||"#000";g8(a,e);var i=null==a.textFill;return r?i&&(a.textFill=n.insideFill||"#fff",!a.textStroke&&n.insideStroke&&(a.textStroke=n.insideStroke),!a.textStroke&&(a.textStroke=o),null==a.textStrokeWidth&&(a.textStrokeWidth=2)):(i&&(a.textFill=t.fill||n.outsideFill||"#000"),!a.textStroke&&n.outsideStroke&&(a.textStroke=n.outsideStroke)),a.text=e.text,a.rich=e.rich,_O(e.rich,(function(t){g8(t,t)})),a}function g8(t,e){e&&(aE(e,"fill")&&(t.textFill=e.fill),aE(e,"stroke")&&(t.textStroke=e.fill),aE(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),aE(e,"font")&&(t.font=e.font),aE(e,"fontStyle")&&(t.fontStyle=e.fontStyle),aE(e,"fontWeight")&&(t.fontWeight=e.fontWeight),aE(e,"fontSize")&&(t.fontSize=e.fontSize),aE(e,"fontFamily")&&(t.fontFamily=e.fontFamily),aE(e,"align")&&(t.textAlign=e.align),aE(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),aE(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),aE(e,"width")&&(t.textWidth=e.width),aE(e,"height")&&(t.textHeight=e.height),aE(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),aE(e,"padding")&&(t.textPadding=e.padding),aE(e,"borderColor")&&(t.textBorderColor=e.borderColor),aE(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),aE(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),aE(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),aE(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),aE(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),aE(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),aE(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),aE(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),aE(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),aE(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}var m8={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]};function b8(t,e,n){var a=t[n],r=m8[n];a&&(e[r[0]]=a[0],e[r[1]]=a[1])}function v8(t,e,n){null!=t[n]&&(e[n]=t[n])}function y8(t,e,n){n&&(t[e]=n[e])}function x8(t,e,n,a,r){var o=n[t];if(o){var i,l=e[t],s=o.enterFrom;if(r&&s){!i&&(i=a[t]={});for(var c=OO(s),u=0;u<c.length;u++){i[v=c[u]]=s[v]}}if(!r&&l)if(o.transition){!i&&(i=a[t]={});var d=kP(o.transition);for(u=0;u<d.length;u++){var p=l[v=d[u]];i[v]=p}}else if(vO(n.transition,t)>=0){!i&&(i=a[t]={});var f=OO(l);for(u=0;u<f.length;u++){p=l[v=f[u]];_8(o[v],p)&&(i[v]=p)}}var h=o.leaveTo;if(h){var g=k8(e),m=g[t]||(g[t]={}),b=OO(h);for(u=0;u<b.length;u++){var v;m[v=b[u]]=h[v]}}}}function w8(t,e,n){var a=e[t];if(a)for(var r=n[t]={},o=OO(a),i=0;i<o.length;i++){var l=o[i];r[l]=lD(a[l])}}function _8(t,e){return wO(t)?t!==e:null!=t&&isFinite(t)}function k8(t){var e=o8(t);return e.leaveToProps||(e.leaveToProps={})}OO({x:1,y:1,scaleX:1,scaleY:1,originX:1,originY:1,rotation:1}).join(", ");var S8="emphasis",C8="normal",M8="blur",O8="select",E8=[C8,S8,M8,O8],T8={normal:["itemStyle"],emphasis:[S8,"itemStyle"],blur:[M8,"itemStyle"],select:[O8,"itemStyle"]},D8={normal:["label"],emphasis:[S8,"label"],blur:[M8,"label"],select:[O8,"label"]},I8={normal:{},emphasis:{},blur:{},select:{}},P8={cartesian2d:function(t){var e=t.master.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:EO(l8,t)}}},geo:function(t){var e=t.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:t.getZoom()},api:{coord:function(e){return t.dataToPoint(e)},size:EO(s8,t)}}},singleAxis:function(t){var e=t.getRect();return{coordSys:{type:"singleAxis",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:EO(c8,t)}}},polar:function(t){var e=t.getRadiusAxis(),n=t.getAngleAxis(),a=e.getExtent();return a[0]>a[1]&&a.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:a[1],r0:a[0]},api:{coord:function(a){var r=e.dataToRadius(a[0]),o=n.dataToAngle(a[1]),i=t.coordToPoint([r,o]);return i.push(r,o*Math.PI/180),i},size:EO(u8,t)}}},calendar:function(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}};function N8(t){return t instanceof nz}function A8(t){return t instanceof TN}var z8=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.render=function(t,e,n,a){var r=this._data,o=t.getData(),i=this.group,l=H8(t,o,e,n);r||i.removeAll(),o.diff(r).add((function(e){U8(n,null,e,l(e,a),t,i,o)})).remove((function(e){t7(r.getItemGraphicEl(e),t,i)})).update((function(e,s){var c=r.getItemGraphicEl(s);U8(n,c,e,l(e,a),t,i,o)})).execute();var s=t.get("clip",!0)?OJ(t.coordinateSystem,!1,t):null;s?i.setClipPath(s):i.removeClipPath(),this._data=o},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll(),this._data=null},e.prototype.incrementalRender=function(t,e,n,a,r){var o=e.getData(),i=H8(e,o,n,a);function l(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var s=t.start;s<t.end;s++){var c=U8(null,null,s,i(s,r),e,this.group,o);c&&c.traverse(l)}},e.prototype.filterForExposedEvent=function(t,e,n,a){var r=e.element;if(null==r||n.name===r)return!0;for(;(n=n.__hostTarget||n.parent)&&n!==this.group;)if(n.name===r)return!0;return!1},e.type="custom",e}(fH);function R8(t){var e,n=t.type;if("path"===n){var a=t.shape,r=null!=a.width&&null!=a.height?{x:a.x||0,y:a.y||0,width:a.width,height:a.height}:null,o=e7(a);e=xj(o,null,r,a.layout||"center"),o8(e).customPathData=o}else if("image"===n)e=new cz({}),o8(e).customImagePath=t.style.image;else if("text"===n)e=new Tz({});else if("group"===n)e=new VI;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var i=yj(n);if(!i){xP("")}e=new i}return o8(e).customGraphicType=n,e.name=t.name,e.z2EmphasisLift=1,e.z2SelectLift=1,e}function L8(t,e,n,a,r,o,i,l){var s=r&&r.normal.cfg;s&&e.setTextConfig(s);var c=a&&a.style;if(c){if("text"===e.type){var u=c;aE(u,"textFill")&&(u.fill=u.textFill),aE(u,"textStroke")&&(u.stroke=u.textStroke)}var d=void 0,p=N8(e)?c.decal:null;t&&p&&(p.dirty=!0,d=qW(p,t)),c.__decalPattern=d}o8(e).userDuring=a.during;var f={},h={};x8("shape",e,a,f,i),w8("shape",a,h),function(t,e,n,a){var r=e.enterFrom;if(a&&r)for(var o=OO(r),i=0;i<o.length;i++)n[p=o[i]]=r[p];if(!a)if(e.transition){var l=kP(e.transition);for(i=0;i<l.length;i++)if("style"!==(p=l[i])&&"shape"!==p&&"extra"!==p){var s=t[p];n[p]=s}}else y8(n,"x",t),y8(n,"y",t);var c=e.leaveTo;if(c){var u=k8(t),d=OO(c);for(i=0;i<d.length;i++){var p;u[p=d[i]]=c[p]}}}(e,a,f,i),function(t,e,n){b8(e,n,"position"),b8(e,n,"scale"),b8(e,n,"origin"),v8(e,n,"x"),v8(e,n,"y"),v8(e,n,"scaleX"),v8(e,n,"scaleY"),v8(e,n,"originX"),v8(e,n,"originY"),v8(e,n,"rotation")}(0,a,h),x8("extra",e,a,f,i),w8("extra",a,h),function(t,e,n,a,r){if(n){var o,i=t.style,l=n.enterFrom;if(r&&l){var s=OO(l);!o&&(o=a.style={});for(var c=0;c<s.length;c++)o[y=s[c]]=l[y]}if(!r&&i)if(n.transition){var u=kP(n.transition);for(!o&&(o=a.style={}),c=0;c<u.length;c++){var d=i[y=u[c]];o[y]=d}}else if(t.getAnimationStyleProps&&vO(e.transition,"style")>=0){var p=t.getAnimationStyleProps(),f=p?p.style:null;if(f){!o&&(o=a.style={});var h=OO(n);for(c=0;c<h.length;c++)f[y=h[c]]&&(d=i[y],o[y]=d)}}var g=n.leaveTo;if(g){var m=OO(g),b=k8(t),v=b.style||(b.style={});for(c=0;c<m.length;c++){var y;v[y=m[c]]=g[y]}}}}(e,a,c,f,i),h.style=c,function(t,e){var n=t.isGroup?null:t,a=e.style;if(n&&a){n.useStyle(a);var r=a.__decalPattern;r&&(n.style.decal=r);for(var o=n.animators,i=0;i<o.length;i++){var l=o[i];"style"===l.targetName&&l.changeTarget(n.style)}}e&&(e.style=null,e&&t.attr(e),e.style=a)}(e,h),function(t,e,n,a,r){if(a){var o=o8(t).userDuring,i={dataIndex:e,isFrom:!0,during:o?EO(B8,{el:t,userDuring:o}):null};r?ij(t,a,n,i):oj(t,a,n,i)}}(e,n,o,f,i),function(t,e,n){aE(e,"silent")&&(t.silent=e.silent),aE(e,"ignore")&&(t.ignore=e.ignore),A8(t)&&aE(e,"invisible")&&(t.invisible=e.invisible);N8(t)&&aE(e,"autoBatch")&&(t.autoBatch=e.autoBatch);n||aE(e,"info")&&(o8(t).info=e.info)}(e,a,l),c?e.dirty():e.markRedraw()}var j8={},F8={setTransform:function(t,e){return j8.el[t]=e,this},getTransform:function(t){return j8.el[t]},setShape:function(t,e){return(j8.el.shape||(j8.el.shape={}))[t]=e,j8.isShapeDirty=!0,this},getShape:function(t){var e=j8.el.shape;if(e)return e[t]},setStyle:function(t,e){var n=j8.el.style;return n&&(n[t]=e,j8.isStyleDirty=!0),this},getStyle:function(t){var e=j8.el.style;if(e)return e[t]},setExtra:function(t,e){return(j8.el.extra||(j8.el.extra={}))[t]=e,this},getExtra:function(t){var e=j8.el.extra;if(e)return e[t]}};function B8(){var t=this,e=t.el;if(e){var n=o8(e).userDuring,a=t.userDuring;n===a?(j8.el=e,j8.isShapeDirty=!1,j8.isStyleDirty=!1,a(F8),j8.isShapeDirty&&e.dirtyShape&&e.dirtyShape(),j8.isStyleDirty&&e.dirtyStyle&&e.dirtyStyle()):t.el=t.userDuring=null}}function V8(t,e,n,a,r,o,i){var l=e.isGroup?null:e,s=r&&r[t].cfg;if(l){var c=l.ensureState(t);if(!1===a){var u=l.getState(t);u&&(u.style=null)}else c.style=a||null;s&&(c.textConfig=s),aR(l)}}function Y8(t,e,n){var a=n===C8,r=a?e:X8(e,n),o=r?r.z2:null;null!=o&&((a?t:t.ensureState(n)).z2=o||0)}function H8(t,e,n,a){var r=t.get("renderItem"),o=t.coordinateSystem,i={};o&&(i=o.prepareCustoms?o.prepareCustoms(o):P8[o.type](o));for(var l,s,c=mO({getWidth:a.getWidth,getHeight:a.getHeight,getZr:a.getZr,getDevicePixelRatio:a.getDevicePixelRatio,value:function(t,n){return null==n&&(n=l),e.getStore().get(e.getDimensionIndex(t||0),n)},style:function(n,a){null==a&&(a=l);var r=e.getItemVisual(a,"style"),o=r&&r.fill,i=r&&r.opacity,s=v(a,C8).getItemStyle();null!=o&&(s.fill=o),null!=i&&(s.opacity=i);var c={inheritColor:PO(o)?o:"#000"},u=y(a,C8),d=Wj(u,null,c,!1,!0);d.text=u.getShallow("show")?WO(t.getFormattedLabel(a,C8),rJ(e,a)):null;var p=Uj(u,c,!1);return w(n,s),s=h8(s,d,p),n&&x(s,n),s.legacy=!0,s},ordinalRawValue:function(t,n){null==n&&(n=l),t=t||0;var a=e.getDimensionInfo(t);if(!a){var r=e.getDimensionIndex(t);return r>=0?e.getStore().get(r,n):void 0}var o=e.get(a.name,n),i=a&&a.ordinalMeta;return i?i.categories[o]:o},styleEmphasis:function(n,a){null==a&&(a=l);var r=v(a,S8).getItemStyle(),o=y(a,S8),i=Wj(o,null,null,!0,!0);i.text=o.getShallow("show")?UO(t.getFormattedLabel(a,S8),t.getFormattedLabel(a,C8),rJ(e,a)):null;var s=Uj(o,null,!0);return w(n,r),r=h8(r,i,s),n&&x(r,n),r.legacy=!0,r},visual:function(t,n){if(null==n&&(n=l),aE(a8,t)){var a=e.getItemVisual(n,"style");return a?a[a8[t]]:null}if(aE(r8,t))return e.getItemVisual(n,t)},barLayout:function(t){if("cartesian2d"===o.type){return function(t){var e=[],n=t.axis,a="axis0";if("category"===n.type){for(var r=n.getBandWidth(),o=0;o<t.count;o++)e.push(mO({bandWidth:r,axisKey:a,stackId:JK+o},t));var i=aq(e),l=[];for(o=0;o<t.count;o++){var s=i.axis0[JK+o];s.offsetCenter=s.offset+s.width/2,l.push(s)}return l}}(mO({axis:o.getBaseAxis()},t))}},currentSeriesIndices:function(){return n.getCurrentSeriesIndices()},font:function(t){return Zj(t,n)}},i.api||{}),u={context:{},seriesId:t.id,seriesName:t.name,seriesIndex:t.seriesIndex,coordSys:i.coordSys,dataInsideLength:e.count(),encode:W8(t.getData())},d={},p={},f={},h={},g=0;g<E8.length;g++){var m=E8[g];f[m]=t.getModel(T8[m]),h[m]=t.getModel(D8[m])}function b(t){return t===l?s||(s=e.getItemModel(t)):e.getItemModel(t)}function v(t,n){return e.hasItemOption?t===l?d[n]||(d[n]=b(t).getModel(T8[n])):b(t).getModel(T8[n]):f[n]}function y(t,n){return e.hasItemOption?t===l?p[n]||(p[n]=b(t).getModel(D8[n])):b(t).getModel(D8[n]):h[n]}return function(t,n){return l=t,s=null,d={},p={},r&&r(mO({dataIndexInside:t,dataIndex:e.getRawIndex(t),actionType:n?n.type:null},u),c)};function x(t,e){for(var n in e)aE(e,n)&&(t[n]=e[n])}function w(t,e){t&&(t.textFill&&(e.textFill=t.textFill),t.textPosition&&(e.textPosition=t.textPosition))}}function W8(t){var e={};return _O(t.dimensions,(function(n){var a=t.getDimensionInfo(n);if(!a.isExtraCoord){var r=a.coordDim;(e[r]=e[r]||[])[a.coordDimIndex]=t.getDimensionIndex(n)}})),e}function U8(t,e,n,a,r,o,i){if(a){var l=G8(t,e,n,a,r,o);return l&&i.setItemGraphicEl(n,l),l&&yR(l,a.focus,a.blurScope),l}o.remove(e)}function G8(t,e,n,a,r,o,i){var l=-1,s=e;e&&K8(e,a,r)&&(l=vO(o.childrenRef(),e),e=null);var c,u,d=!e,p=e;p?p.clearStates():(p=R8(a),s&&(c=s,(u=p).copyTransform(c),A8(u)&&A8(c)&&(u.setStyle(c.style),u.z=c.z,u.z2=c.z2,u.zlevel=c.zlevel,u.invisible=c.invisible,u.ignore=c.ignore,N8(u)&&N8(c)&&u.setShape(c.shape)))),!1===a.morph?p.disableMorphing=!0:p.disableMorphing&&(p.disableMorphing=!1),I8.normal.cfg=I8.normal.conOpt=I8.emphasis.cfg=I8.emphasis.conOpt=I8.blur.cfg=I8.blur.conOpt=I8.select.cfg=I8.select.conOpt=null,I8.isLegacy=!1,function(t,e,n,a,r,o){if(t.isGroup)return;q8(n,null,o),q8(n,S8,o);var i=o.normal.conOpt,l=o.emphasis.conOpt,s=o.blur.conOpt,c=o.select.conOpt;if(null!=i||null!=l||null!=c||null!=s){var u=t.getTextContent();if(!1===i)u&&t.removeTextContent();else{i=o.normal.conOpt=i||{type:"text"},u?u.clearStates():(u=R8(i),t.setTextContent(u)),L8(null,u,e,i,null,a,r,!0);for(var d=i&&i.style,p=0;p<E8.length;p++){var f=E8[p];if(f!==C8){var h=o[f].conOpt;V8(f,u,0,Z8(i,h,f),null)}}d?u.dirty():u.markRedraw()}}}(p,n,a,r,d,I8),function(t,e,n,a,r){var o=n.clipPath;if(!1===o)t&&t.getClipPath()&&t.removeClipPath();else if(o){var i=t.getClipPath();i&&K8(i,o,a)&&(i=null),i||(i=R8(o),t.setClipPath(i)),L8(null,i,e,o,null,a,r,!1)}}(p,n,a,r,d),L8(t,p,n,a,I8,r,d,!1);for(var f=0;f<E8.length;f++){var h=E8[f];if(h!==C8){var g=X8(a,h);V8(h,p,0,Z8(a,g,h),I8)}}return function(t,e,n){if(!t.isGroup){var a=t,r=n.currentZ,o=n.currentZLevel;a.z=r,a.zlevel=o;var i=e.z2;null!=i&&(a.z2=i||0);for(var l=0;l<E8.length;l++)Y8(a,e,E8[l])}}(p,a,r),"group"===a.type&&function(t,e,n,a,r){var o=a.children,i=o?o.length:0,l=a.$mergeChildren,s="byName"===l||a.diffChildrenByName,c=!1===l;if(!i&&!s&&!c)return;if(s)return u={api:t,oldChildren:e.children()||[],newChildren:o||[],dataIndex:n,seriesModel:r,group:e},void new aK(u.oldChildren,u.newChildren,J8,J8,u).add($8).update($8).remove(Q8).execute();var u;c&&e.removeAll();for(var d=0;d<i;d++)o[d]&&G8(t,e.childAt(d),n,o[d],r,e);for(var p=e.childCount()-1;p>=d;p--)t7(e.childAt(p),r,e)}(t,p,n,a,r),l>=0?o.replaceAt(p,l):o.add(p),p}function K8(t,e,n){var a,r=o8(t),o=e.type,i=e.shape,l=e.style;return n.isUniversalTransitionEnabled()||null!=o&&o!==r.customGraphicType||"path"===o&&((a=i)&&(aE(a,"pathData")||aE(a,"d")))&&e7(i)!==r.customPathData||"image"===o&&aE(l,"image")&&l.image!==r.customImagePath}function q8(t,e,n){var a=e?X8(t,e):t,r=e?Z8(t,a,S8):t.style,o=t.type,i=a?a.textConfig:null,l=t.textContent,s=l?e?X8(l,e):l:null;if(r&&(n.isLegacy||d8(r,o,!!i,!!s))){n.isLegacy=!0;var c=p8(r,o,!e);!i&&c.textConfig&&(i=c.textConfig),!s&&c.textContent&&(s=c.textContent)}if(!e&&s){var u=s;!u.type&&(u.type="text")}var d=e?n[e]:n.normal;d.cfg=i,d.conOpt=s}function X8(t,e){return e?t?t[e]:null:t}function Z8(t,e,n){var a=e&&e.style;return null==a&&n===S8&&t&&(a=t.styleEmphasis),a}function J8(t,e){var n=t&&t.name;return null!=n?n:"e\0\0"+e}function $8(t,e){var n=this.context,a=null!=t?n.newChildren[t]:null,r=null!=e?n.oldChildren[e]:null;G8(n.api,r,n.dataIndex,a,n.seriesModel,n.group)}function Q8(t){var e=this.context;t7(e.oldChildren[t],e.seriesModel,e.group)}function t7(t,e,n){if(t){var a=o8(t).leaveToProps;a?oj(t,a,e,{cb:function(){n.remove(t)}}):n.remove(t)}}function e7(t){return t&&(t.pathData||t.d)}var n7=zP(),a7=pO,r7=EO,o7=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,a){var r=e.get("value"),o=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,a||this._lastValue!==r||this._lastStatus!==o){this._lastValue=r,this._lastStatus=o;var i=this._group,l=this._handle;if(!o||"hide"===o)return i&&i.hide(),void(l&&l.hide());i&&i.show(),l&&l.show();var s={};this.makeElOption(s,r,t,e,n);var c=s.graphicKey;c!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=c;var u=this._moveAnimation=this.determineAnimation(t,e);if(i){var d=TO(i7,e,u);this.updatePointerEl(i,s,d),this.updateLabelEl(i,s,d,e)}else i=this._group=new VI,this.createPointerEl(i,s,t,e),this.createLabelEl(i,s,t,e),n.getZr().add(i);u7(i,e,!0),this._renderHandle(r)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get("animation"),a=t.axis,r="category"===a.type,o=e.get("snap");if(!o&&!r)return!1;if("auto"===n||null==n){var i=this.animationThreshold;if(r&&a.getBandWidth()>i)return!0;if(o){var l=bQ(t).seriesDataCount,s=a.getExtent();return Math.abs(s[0]-s[1])/l>i}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,a,r){},t.prototype.createPointerEl=function(t,e,n,a){var r=e.pointer;if(r){var o=n7(t).pointerEl=new jj[r.type](a7(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,a){if(e.label){var r=n7(t).labelEl=new Tz(a7(e.label));t.add(r),s7(r,a)}},t.prototype.updatePointerEl=function(t,e,n){var a=n7(t).pointerEl;a&&e.pointer&&(a.setStyle(e.pointer.style),n(a,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,a){var r=n7(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),s7(r,a))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,a=this._api.getZr(),r=this._handle,o=n.getModel("handle"),i=n.get("status");if(!o.get("show")||!i||"hide"===i)return r&&a.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=Nj(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){KE(t.event)},onmousedown:r7(this._onHandleDragMove,this,0,0),drift:r7(this._onHandleDragMove,this),ondragend:r7(this._onHandleDragEnd,this)}),a.add(r)),u7(r,n,!1),r.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var l=o.get("size");DO(l)||(l=[l,l]),r.scaleX=l[0]/2,r.scaleY=l[1]/2,kH(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){i7(this._axisPointerModel,!e&&this._moveAnimation,this._handle,c7(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var a=this.updateHandleTransform(c7(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=a,n.stopAnimation(),n.attr(c7(a)),n7(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,a=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),a&&e.remove(a),this._group=null,this._handle=null,this._payloadInfo=null)},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},t}();function i7(t,e,n,a){l7(n7(n).lastProp,a)||(n7(n).lastProp=a,e?oj(n,a,t):(n.stopAnimation(),n.attr(a)))}function l7(t,e){if(zO(t)&&zO(e)){var n=!0;return _O(e,(function(e,a){n=n&&l7(t[a],e)})),!!n}return t===e}function s7(t,e){t[e.get(["label","show"])?"show":"hide"]()}function c7(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function u7(t,e,n){var a=e.get("z"),r=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=a&&(t.z=a),null!=r&&(t.zlevel=r),t.silent=n)}))}function d7(t){var e,n=t.get("type"),a=t.getModel(n+"Style");return"line"===n?(e=a.getLineStyle()).fill=null:"shadow"===n&&((e=a.getAreaStyle()).stroke=null),e}function p7(t,e,n,a,r){var o=f7(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),i=n.getModel("label"),l=tB(i.get("padding")||0),s=i.getFont(),c=kI(o,s),u=r.position,d=c.width+l[1]+l[3],p=c.height+l[0]+l[2],f=r.align;"right"===f&&(u[0]-=d),"center"===f&&(u[0]-=d/2);var h=r.verticalAlign;"bottom"===h&&(u[1]-=p),"middle"===h&&(u[1]-=p/2),function(t,e,n,a){var r=a.getWidth(),o=a.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+n,o)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(u,d,p,a);var g=i.get("backgroundColor");g&&"auto"!==g||(g=e.get(["axisLine","lineStyle","color"])),t.label={x:u[0],y:u[1],style:Wj(i,{text:o,font:s,fill:i.getTextColor(),padding:l,backgroundColor:g}),z2:10}}function f7(t,e,n,a,r){t=e.scale.parse(t);var o=e.scale.getLabel({value:t},{precision:r.precision}),i=r.formatter;if(i){var l={value:Lq(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};_O(a,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),a=t.dataIndexInside,r=e&&e.getDataParams(a);r&&l.seriesData.push(r)})),PO(i)?o=i.replace("{value}",o):IO(i)&&(o=i(l))}return o}function h7(t,e,n){var a=[1,0,0,1,0,0];return HD(a,a,n.rotation),YD(a,a,n.position),Oj([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],a)}function g7(t,e,n,a,r,o){var i=sQ.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),p7(e,a,r,o,{position:h7(a.axis,t,n),align:i.textAlign,verticalAlign:i.textVerticalAlign})}function m7(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function b7(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}function v7(t,e,n,a,r,o){return{cx:t,cy:e,r0:n,r:a,startAngle:r,endAngle:o,clockwise:!0}}var y7=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.prototype.makeElOption=function(t,e,n,a,r){var o=n.axis,i=o.grid,l=a.get("type"),s=x7(i,o).getOtherAxis(o).getGlobalExtent(),c=o.toGlobalCoord(o.dataToCoord(e,!0));if(l&&"none"!==l){var u=d7(a),d=w7[l](o,c,s);d.style=u,t.graphicKey=d.type,t.pointer=d}g7(e,t,tQ(i.model,n),n,a,r)},e.prototype.getHandleTransform=function(t,e,n){var a=tQ(e.axis.grid.model,e,{labelInside:!1});a.labelMargin=n.get(["handle","margin"]);var r=h7(e.axis,t,a);return{x:r[0],y:r[1],rotation:a.rotation+(a.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,a){var r=n.axis,o=r.grid,i=r.getGlobalExtent(!0),l=x7(o,r).getOtherAxis(r).getGlobalExtent(),s="x"===r.dim?0:1,c=[t.x,t.y];c[s]+=e[s],c[s]=Math.min(i[1],c[s]),c[s]=Math.max(i[0],c[s]);var u=(l[1]+l[0])/2,d=[u,u];d[s]=c[s];return{x:c[0],y:c[1],rotation:t.rotation,cursorPoint:d,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][s]}},e}(o7);function x7(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var w7={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:m7([e,n[0]],[e,n[1]],_7(t))}},shadow:function(t,e,n){var a=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:b7([e-a/2,n[0]],[a,r],_7(t))}}};function _7(t){return"x"===t.dim?0:1}var k7=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.type="axisPointer",e.defaultOption={show:"auto",zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(kB),S7=zP(),C7=_O;function M7(t,e,n){if(!XM.node){var a=e.getZr();S7(a).records||(S7(a).records={}),function(t,e){if(S7(t).initialized)return;function n(n,a){t.on(n,(function(n){var r=function(t){var e={showTip:[],hideTip:[]},n=function(a){var r=e[a.type];r?r.push(a):(a.dispatchAction=n,t.dispatchAction(a))};return{dispatchAction:n,pendings:e}}(e);C7(S7(t).records,(function(t){t&&a(t,n,r.dispatchAction)})),function(t,e){var n,a=t.showTip.length,r=t.hideTip.length;a?n=t.showTip[a-1]:r&&(n=t.hideTip[r-1]);n&&(n.dispatchAction=null,e.dispatchAction(n))}(r.pendings,e)}))}S7(t).initialized=!0,n("click",TO(E7,"click")),n("mousemove",TO(E7,"mousemove")),n("globalout",O7)}(a,e),(S7(a).records[t]||(S7(a).records[t]={})).handler=n}}function O7(t,e,n){t.handler("leave",null,n)}function E7(t,e,n,a){e.handler(t,n,a)}function T7(t,e){if(!XM.node){var n=e.getZr();(S7(n).records||{})[t]&&(S7(n).records[t]=null)}}var D7=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.render=function(t,e,n){var a=e.getComponent("tooltip"),r=t.get("triggerOn")||a&&a.get("triggerOn")||"mousemove|click";M7("axisPointer",n,(function(t,e,n){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},e.prototype.remove=function(t,e){T7("axisPointer",e)},e.prototype.dispose=function(t,e){T7("axisPointer",e)},e.type="axisPointer",e}(cH);function I7(t,e){var n,a=[],r=t.seriesIndex;if(null==r||!(n=e.getSeriesByIndex(r)))return{point:[]};var o=n.getData(),i=AP(o,t);if(null==i||i<0||DO(i))return{point:[]};var l=o.getItemGraphicEl(i),s=n.coordinateSystem;if(n.getTooltipPosition)a=n.getTooltipPosition(i)||[];else if(s&&s.dataToPoint)if(t.isStacked){var c=s.getBaseAxis(),u=s.getOtherAxis(c).dim,d=c.dim,p="x"===u||"radius"===u?1:0,f=o.mapDimension(d),h=[];h[p]=o.get(f,i),h[1-p]=o.get(o.getCalculationInfo("stackResultDimension"),i),a=s.dataToPoint(h)||[]}else a=s.dataToPoint(o.getValues(kO(s.dimensions,(function(t){return o.mapDimension(t)})),i))||[];else if(l){var g=l.getBoundingRect().clone();g.applyTransform(l.transform),a=[g.x+g.width/2,g.y+g.height/2]}return{point:a,el:l}}var P7=zP();function N7(t,e,n){var a=t.currTrigger,r=[t.x,t.y],o=t,i=t.dispatchAction||EO(n.dispatchAction,n),l=e.getComponent("axisPointer").coordSysAxesInfo;if(l){j7(r)&&(r=I7({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var s=j7(r),c=o.axesInfo,u=l.axesInfo,d="leave"===a||j7(r),p={},f={},h={list:[],map:{}},g={showPointer:TO(z7,f),showTooltip:TO(R7,h)};_O(l.coordSysMap,(function(t,e){var n=s||t.containPoint(r);_O(l.coordSysAxesInfo[e],(function(t,e){var a=t.axis,o=function(t,e){for(var n=0;n<(t||[]).length;n++){var a=t[n];if(e.axis.dim===a.axisDim&&e.axis.model.componentIndex===a.axisIndex)return a}}(c,t);if(!d&&n&&(!c||o)){var i=o&&o.value;null!=i||s||(i=a.pointToData(r)),null!=i&&A7(t,i,g,!1,p)}}))}));var m={};return _O(u,(function(t,e){var n=t.linkGroup;n&&!f[e]&&_O(n.axesInfo,(function(e,a){var r=f[a];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,L7(e),L7(t)))),m[t.key]=o}}))})),_O(m,(function(t,e){A7(u[e],t,g,!0,p)})),function(t,e,n){var a=n.axesInfo=[];_O(e,(function(e,n){var r=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&a.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})}))}(f,u,p),function(t,e,n,a){if(j7(e)||!t.list.length)return void a({type:"hideTip"});var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};a({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}(h,r,t,i),function(t,e,n){var a=n.getZr(),r="axisPointerLastHighlights",o=P7(a)[r]||{},i=P7(a)[r]={};_O(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&_O(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;i[e]=t}))}));var l=[],s=[];_O(o,(function(t,e){!i[e]&&s.push(t)})),_O(i,(function(t,e){!o[e]&&l.push(t)})),s.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:s}),l.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:l})}(u,0,n),p}}function A7(t,e,n,a,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var i=function(t,e){var n=e.axis,a=n.dim,r=t,o=[],i=Number.MAX_VALUE,l=-1;return _O(e.seriesModels,(function(e,s){var c,u,d=e.getData().mapDimensionsAll(a);if(e.getAxisTooltipData){var p=e.getAxisTooltipData(d,t,n);u=p.dataIndices,c=p.nestestValue}else{if(!(u=e.getData().indicesOfNearest(d[0],t,"category"===n.type?.5:null)).length)return;c=e.getData().get(d[0],u[0])}if(null!=c&&isFinite(c)){var f=t-c,h=Math.abs(f);h<=i&&((h<i||f>=0&&l<0)&&(i=h,l=f,r=c,o.length=0),_O(u,(function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:o,snapToValue:r}}(e,t),l=i.payloadBatch,s=i.snapToValue;l[0]&&null==r.seriesIndex&&gO(r,l[0]),!a&&t.snap&&o.containData(s)&&null!=s&&(e=s),n.showPointer(t,e,l),n.showTooltip(t,i,s)}else n.showPointer(t,e)}function z7(t,e,n,a){t[e.key]={value:n,payloadBatch:a}}function R7(t,e,n,a){var r=n.payloadBatch,o=e.axis,i=o.model,l=e.axisPointerModel;if(e.triggerTooltip&&r.length){var s=e.coordSys.model,c=yQ(s),u=t.map[c];u||(u=t.map[c]={coordSysId:s.id,coordSysIndex:s.componentIndex,coordSysType:s.type,coordSysMainType:s.mainType,dataByAxis:[]},t.list.push(u)),u.dataByAxis.push({axisDim:o.dim,axisIndex:i.componentIndex,axisType:i.type,axisId:i.id,value:a,valueLabelOpt:{precision:l.get(["label","precision"]),formatter:l.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function L7(t){var e=t.axis.model,n={},a=n.axisDim=t.axis.dim;return n.axisIndex=n[a+"AxisIndex"]=e.componentIndex,n.axisName=n[a+"AxisName"]=e.name,n.axisId=n[a+"AxisId"]=e.id,n}function j7(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function F7(t){wQ.registerAxisPointerClass("CartesianAxisPointer",y7),t.registerComponentModel(k7),t.registerComponentView(D7),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!DO(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=hQ(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},N7)}function B7(t){Kq(NQ),Kq(F7)}var V7=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.prototype.makeElOption=function(t,e,n,a,r){var o=n.axis;"angle"===o.dim&&(this.animationThreshold=Math.PI/18);var i=o.polar,l=i.getOtherAxis(o).getExtent(),s=o.dataToCoord(e),c=a.get("type");if(c&&"none"!==c){var u=d7(a),d=Y7[c](o,i,s,l);d.style=u,t.graphicKey=d.type,t.pointer=d}var p=function(t,e,n,a,r){var o=e.axis,i=o.dataToCoord(t),l=a.getAngleAxis().getExtent()[0];l=l/180*Math.PI;var s,c,u,d=a.getRadiusAxis().getExtent();if("radius"===o.dim){var p=[1,0,0,1,0,0];HD(p,p,l),YD(p,p,[a.cx,a.cy]),s=Oj([i,-r],p);var f=e.getModel("axisLabel").get("rotate")||0,h=sQ.innerTextLayout(l,f*Math.PI/180,-1);c=h.textAlign,u=h.textVerticalAlign}else{var g=d[1];s=a.coordToPoint([g+r,i]);var m=a.cx,b=a.cy;c=Math.abs(s[0]-m)/g<.3?"center":s[0]>m?"left":"right",u=Math.abs(s[1]-b)/g<.3?"middle":s[1]>b?"top":"bottom"}return{position:s,align:c,verticalAlign:u}}(e,n,0,i,a.get(["label","margin"]));p7(t,n,a,r,p)},e}(o7);var Y7={line:function(t,e,n,a){return"angle"===t.dim?{type:"Line",shape:m7(e.coordToPoint([a[0],n]),e.coordToPoint([a[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,a){var r=Math.max(1,t.getBandWidth()),o=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:v7(e.cx,e.cy,a[0],a[1],(-n-r/2)*o,(r/2-n)*o)}:{type:"Sector",shape:v7(e.cx,e.cy,n-r/2,n+r/2,0,2*Math.PI)}}},H7=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.findAxisModel=function(t){var e;return this.ecModel.eachComponent(t,(function(t){t.getCoordSysModel()===this&&(e=t)}),this),e},e.type="polar",e.dependencies=["radiusAxis","angleAxis"],e.defaultOption={zlevel:0,z:0,center:["50%","50%"],radius:"80%"},e}(kB),W7=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",FP).models[0]},e.type="polarAxis",e}(kB);xO(W7,Yq);var U7=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.type="angleAxis",e}(W7),G7=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.type="radiusAxis",e}(W7),K7=function(t){function e(e,n){return t.call(this,"radius",e,n)||this}return d(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e}(cX);K7.prototype.dataToRadius=cX.prototype.dataToCoord,K7.prototype.radiusToData=cX.prototype.coordToData;var q7=zP(),X7=function(t){function e(e,n){return t.call(this,"angle",e,n||[0,360])||this}return d(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e.prototype.calculateCategoryInterval=function(){var t=this,e=t.getLabelModel(),n=t.scale,a=n.getExtent(),r=n.count();if(a[1]-a[0]<1)return 0;var o=a[0],i=t.dataToCoord(o+1)-t.dataToCoord(o),l=Math.abs(i),s=kI(null==o?"":o+"",e.getFont(),"center","top"),c=Math.max(s.height,7)/l;isNaN(c)&&(c=1/0);var u=Math.max(0,Math.floor(c)),d=q7(t.model),p=d.lastAutoInterval,f=d.lastTickCount;return null!=p&&null!=f&&Math.abs(p-u)<=1&&Math.abs(f-r)<=1&&p>u?u=p:(d.lastTickCount=r,d.lastAutoInterval=u),u},e}(cX);X7.prototype.dataToAngle=cX.prototype.dataToCoord,X7.prototype.angleToData=cX.prototype.coordToData;var Z7=["radius","angle"],J7=function(){function t(t){this.dimensions=Z7,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new K7,this._angleAxis=new X7,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return t.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},t.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},t.prototype.getAxis=function(t){return this["_"+t+"Axis"]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(t){var e=[],n=this._angleAxis,a=this._radiusAxis;return n.scale.type===t&&e.push(n),a.scale.type===t&&e.push(a),e},t.prototype.getAngleAxis=function(){return this._angleAxis},t.prototype.getRadiusAxis=function(){return this._radiusAxis},t.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},t.prototype.getTooltipAxes=function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},t.prototype.dataToPoint=function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},t.prototype.pointToData=function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},t.prototype.pointToCoord=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,a=this.getAngleAxis(),r=a.getExtent(),o=Math.min(r[0],r[1]),i=Math.max(r[0],r[1]);a.inverse?o=i-360:i=o+360;var l=Math.sqrt(e*e+n*n);e/=l,n/=l;for(var s=Math.atan2(-n,e)/Math.PI*180,c=s<o?1:-1;s<o||s>i;)s+=360*c;return[l,s]},t.prototype.coordToPoint=function(t){var e=t[0],n=t[1]/180*Math.PI;return[Math.cos(n)*e+this.cx,-Math.sin(n)*e+this.cy]},t.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis().getExtent().slice();e[0]>e[1]&&e.reverse();var n=t.getExtent(),a=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*a,endAngle:-n[1]*a,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,a=e-this.cy,r=n*n+a*a,o=this.r,i=this.r0;return r<=o*o&&r>=i*i}}},t.prototype.convertToPixel=function(t,e,n){return $7(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return $7(e)===this?this.pointToData(n):null},t}();function $7(t){var e=t.seriesModel,n=t.polarModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}function Q7(t,e){var n=this,a=n.getAngleAxis(),r=n.getRadiusAxis();if(a.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){if(t.coordinateSystem===n){var e=t.getData();_O(Vq(e,"radius"),(function(t){r.scale.unionExtentFromData(e,t)})),_O(Vq(e,"angle"),(function(t){a.scale.unionExtentFromData(e,t)}))}})),Aq(a.scale,a.model),Aq(r.scale,r.model),"category"===a.type&&!a.onBand){var o=a.getExtent(),i=360/a.scale.count();a.inverse?o[1]+=i:o[1]-=i,a.setExtent(o[0],o[1])}}function t9(t,e){if(t.type=e.get("type"),t.scale=zq(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),function(t){return"angleAxis"===t.mainType}(e)){t.inverse=t.inverse!==e.get("clockwise");var n=e.get("startAngle");t.setExtent(n,n+(t.inverse?-360:360))}e.axis=t,t.model=e}var e9={dimensions:Z7,create:function(t,e){var n=[];return t.eachComponent("polar",(function(t,a){var r=new J7(a+"");r.update=Q7;var o=r.getRadiusAxis(),i=r.getAngleAxis(),l=t.findAxisModel("radiusAxis"),s=t.findAxisModel("angleAxis");t9(o,l),t9(i,s),function(t,e,n){var a=e.get("center"),r=n.getWidth(),o=n.getHeight();t.cx=JI(a[0],r),t.cy=JI(a[1],o);var i=t.getRadiusAxis(),l=Math.min(r,o)/2,s=e.get("radius");null==s?s=[0,"100%"]:DO(s)||(s=[0,s]);var c=[JI(s[0],l),JI(s[1],l)];i.inverse?i.setExtent(c[1],c[0]):i.setExtent(c[0],c[1])}(r,t,e),n.push(r),t.coordinateSystem=r,r.model=t})),t.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var e=t.getReferringComponents("polar",FP).models[0];t.coordinateSystem=e.coordinateSystem}})),n}},n9=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function a9(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var a=t.coordToPoint([e[0],n]),r=t.coordToPoint([e[1],n]);return{x1:a[0],y1:a[1],x2:r[0],y2:r[1]}}function r9(t){return t.getRadiusAxis().inverse?0:1}function o9(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var i9=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return d(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,a=n.polar,r=a.getRadiusAxis().getExtent(),o=n.getTicksCoords(),i=n.getMinorTicksCoords(),l=kO(n.getViewLabels(),(function(t){t=pO(t);var e=n.scale,a="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(a),t}));o9(l),o9(o),_O(n9,(function(e){!t.get([e,"show"])||n.scale.isBlank()&&"axisLine"!==e||l9[e](this.group,t,a,o,i,r,l)}),this)}},e.type="angleAxis",e}(wQ),l9={axisLine:function(t,e,n,a,r,o){var i,l=e.getModel(["axisLine","lineStyle"]),s=r9(n),c=s?0:1;(i=0===o[c]?new ZR({shape:{cx:n.cx,cy:n.cy,r:o[s]},style:l.getLineStyle(),z2:1,silent:!0}):new vL({shape:{cx:n.cx,cy:n.cy,r:o[s],r0:o[c]},style:l.getLineStyle(),z2:1,silent:!0})).style.fill=null,t.add(i)},axisTick:function(t,e,n,a,r,o){var i=e.getModel("axisTick"),l=(i.get("inside")?-1:1)*i.get("length"),s=o[r9(n)],c=kO(a,(function(t){return new DL({shape:a9(n,[s,s+l],t.coord)})}));t.add(kj(c,{style:mO(i.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,a,r,o){if(r.length){for(var i=e.getModel("axisTick"),l=e.getModel("minorTick"),s=(i.get("inside")?-1:1)*l.get("length"),c=o[r9(n)],u=[],d=0;d<r.length;d++)for(var p=0;p<r[d].length;p++)u.push(new DL({shape:a9(n,[c,c+s],r[d][p].coord)}));t.add(kj(u,{style:mO(l.getModel("lineStyle").getLineStyle(),mO(i.getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(t,e,n,a,r,o,i){var l=e.getCategories(!0),s=e.getModel("axisLabel"),c=s.get("margin"),u=e.get("triggerEvent");_O(i,(function(a,r){var i=s,d=a.tickValue,p=o[r9(n)],f=n.coordToPoint([p+c,a.coord]),h=n.cx,g=n.cy,m=Math.abs(f[0]-h)/p<.3?"center":f[0]>h?"left":"right",b=Math.abs(f[1]-g)/p<.3?"middle":f[1]>g?"top":"bottom";if(l&&l[d]){var v=l[d];zO(v)&&v.textStyle&&(i=new dF(v.textStyle,s,s.ecModel))}var y=new Tz({silent:sQ.isLabelSilent(e),style:Wj(i,{x:f[0],y:f[1],fill:i.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:a.formattedLabel,align:m,verticalAlign:b})});if(t.add(y),u){var x=sQ.makeAxisEventDataBase(e);x.targetType="axisLabel",x.value=a.rawLabel,Dz(y).eventData=x}}),this)},splitLine:function(t,e,n,a,r,o){var i=e.getModel("splitLine").getModel("lineStyle"),l=i.get("color"),s=0;l=l instanceof Array?l:[l];for(var c=[],u=0;u<a.length;u++){var d=s++%l.length;c[d]=c[d]||[],c[d].push(new DL({shape:a9(n,o,a[u].coord)}))}for(u=0;u<c.length;u++)t.add(kj(c[u],{style:mO({stroke:l[u%l.length]},i.getLineStyle()),silent:!0,z:e.get("z")}))},minorSplitLine:function(t,e,n,a,r,o){if(r.length){for(var i=e.getModel("minorSplitLine").getModel("lineStyle"),l=[],s=0;s<r.length;s++)for(var c=0;c<r[s].length;c++)l.push(new DL({shape:a9(n,o,r[s][c].coord)}));t.add(kj(l,{style:i.getLineStyle(),silent:!0,z:e.get("z")}))}},splitArea:function(t,e,n,a,r,o){if(a.length){var i=e.getModel("splitArea").getModel("areaStyle"),l=i.get("color"),s=0;l=l instanceof Array?l:[l];for(var c=[],u=Math.PI/180,d=-a[0].coord*u,p=Math.min(o[0],o[1]),f=Math.max(o[0],o[1]),h=e.get("clockwise"),g=1,m=a.length;g<=m;g++){var b=g===m?a[0].coord:a[g].coord,v=s++%l.length;c[v]=c[v]||[],c[v].push(new gL({shape:{cx:n.cx,cy:n.cy,r0:p,r:f,startAngle:d,endAngle:-b*u,clockwise:h},silent:!0})),d=-b*u}for(g=0;g<c.length;g++)t.add(kj(c[g],{style:mO({fill:l[g%l.length]},i.getAreaStyle()),silent:!0}))}}},s9=["axisLine","axisTickLabel","axisName"],c9=["splitLine","splitArea","minorSplitLine"],u9=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return d(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=this._axisGroup,a=this._axisGroup=new VI;this.group.add(a);var r=t.axis,o=r.polar,i=o.getAngleAxis(),l=r.getTicksCoords(),s=r.getMinorTicksCoords(),c=i.getExtent()[0],u=r.getExtent(),d=function(t,e,n){return{position:[t.cx,t.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:e.getModel("axisLabel").get("rotate"),z2:1}}(o,t,c),p=new sQ(t,d);_O(s9,p.add,p),a.add(p.getGroup()),Dj(n,a,t),_O(c9,(function(e){t.get([e,"show"])&&!r.scale.isBlank()&&d9[e](this.group,t,o,c,u,l,s)}),this)}},e.type="radiusAxis",e}(wQ),d9={splitLine:function(t,e,n,a,r,o){var i=e.getModel("splitLine").getModel("lineStyle"),l=i.get("color"),s=0;l=l instanceof Array?l:[l];for(var c=[],u=0;u<o.length;u++){var d=s++%l.length;c[d]=c[d]||[],c[d].push(new ZR({shape:{cx:n.cx,cy:n.cy,r:o[u].coord}}))}for(u=0;u<c.length;u++)t.add(kj(c[u],{style:mO({stroke:l[u%l.length],fill:null},i.getLineStyle()),silent:!0}))},minorSplitLine:function(t,e,n,a,r,o,i){if(i.length){for(var l=e.getModel("minorSplitLine").getModel("lineStyle"),s=[],c=0;c<i.length;c++)for(var u=0;u<i[c].length;u++)s.push(new ZR({shape:{cx:n.cx,cy:n.cy,r:i[c][u].coord}}));t.add(kj(s,{style:mO({fill:null},l.getLineStyle()),silent:!0}))}},splitArea:function(t,e,n,a,r,o){if(o.length){var i=e.getModel("splitArea").getModel("areaStyle"),l=i.get("color"),s=0;l=l instanceof Array?l:[l];for(var c=[],u=o[0].coord,d=1;d<o.length;d++){var p=s++%l.length;c[p]=c[p]||[],c[p].push(new gL({shape:{cx:n.cx,cy:n.cy,r0:u,r:o[d].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),u=o[d].coord}for(d=0;d<c.length;d++)t.add(kj(c[d],{style:mO({fill:l[d%l.length]},i.getAreaStyle()),silent:!0}))}}};function p9(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function f9(t,e){return e.dim+t.model.componentIndex}function h9(t,e,n){var a={},r=function(t){var e={};_O(t,(function(t,n){var a=t.getData(),r=t.coordinateSystem,o=r.getBaseAxis(),i=f9(r,o),l=o.getExtent(),s="category"===o.type?o.getBandWidth():Math.abs(l[1]-l[0])/a.count(),c=e[i]||{bandWidth:s,remainedWidth:s,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},u=c.stacks;e[i]=c;var d=p9(t);u[d]||c.autoWidthCount++,u[d]=u[d]||{width:0,maxWidth:0};var p=JI(t.get("barWidth"),s),f=JI(t.get("barMaxWidth"),s),h=t.get("barGap"),g=t.get("barCategoryGap");p&&!u[d].width&&(p=Math.min(c.remainedWidth,p),u[d].width=p,c.remainedWidth-=p),f&&(u[d].maxWidth=f),null!=h&&(c.gap=h),null!=g&&(c.categoryGap=g)}));var n={};return _O(e,(function(t,e){n[e]={};var a=t.stacks,r=t.bandWidth,o=JI(t.categoryGap,r),i=JI(t.gap,1),l=t.remainedWidth,s=t.autoWidthCount,c=(l-o)/(s+(s-1)*i);c=Math.max(c,0),_O(a,(function(t,e){var n=t.maxWidth;n&&n<c&&(n=Math.min(n,l),t.width&&(n=Math.min(n,t.width)),l-=n,t.width=n,s--)})),c=(l-o)/(s+(s-1)*i),c=Math.max(c,0);var u,d=0;_O(a,(function(t,e){t.width||(t.width=c),u=t,d+=t.width*(1+i)})),u&&(d-=u.width*i);var p=-d/2;_O(a,(function(t,a){n[e][a]=n[e][a]||{offset:p,width:t.width},p+=t.width*(1+i)}))})),n}(CO(e.getSeriesByType(t),(function(t){return!e.isSeriesFiltered(t)&&t.coordinateSystem&&"polar"===t.coordinateSystem.type})));e.eachSeriesByType(t,(function(t){if("polar"===t.coordinateSystem.type){var e=t.getData(),n=t.coordinateSystem,o=n.getBaseAxis(),i=f9(n,o),l=p9(t),s=r[i][l],c=s.offset,u=s.width,d=n.getOtherAxis(o),p=t.coordinateSystem.cx,f=t.coordinateSystem.cy,h=t.get("barMinHeight")||0,g=t.get("barMinAngle")||0;a[l]=a[l]||[];for(var m=e.mapDimension(d.dim),b=e.mapDimension(o.dim),v=AK(e,m),y="radius"!==o.dim||!t.get("roundCap",!0),x=d.dataToCoord(0),w=0,_=e.count();w<_;w++){var k=e.get(m,w),S=e.get(b,w),C=k>=0?"p":"n",M=x;v&&(a[l][S]||(a[l][S]={p:x,n:x}),M=a[l][S][C]);var O=void 0,E=void 0,T=void 0,D=void 0;if("radius"===d.dim){var I=d.dataToCoord(k)-x,P=o.dataToCoord(S);Math.abs(I)<h&&(I=(I<0?-1:1)*h),O=M,E=M+I,D=(T=P-c)-u,v&&(a[l][S][C]=E)}else{var N=d.dataToCoord(k,y)-x,A=o.dataToCoord(S);Math.abs(N)<g&&(N=(N<0?-1:1)*g),E=(O=A+c)+u,T=M,D=M+N,v&&(a[l][S][C]=D)}e.setItemLayout(w,{cx:p,cy:f,r0:O,r:E,startAngle:-T*Math.PI/180,endAngle:-D*Math.PI/180,clockwise:T>=D})}}}))}var g9={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},m9={splitNumber:5},b9=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.type="polar",e}(cH);function v9(t,e){e=e||{};var n=t.coordinateSystem,a=t.axis,r={},o=a.position,i=a.orient,l=n.getRect(),s=[l.x,l.x+l.width,l.y,l.y+l.height],c={horizontal:{top:s[2],bottom:s[3]},vertical:{left:s[0],right:s[1]}};r.position=["vertical"===i?c.vertical[o]:s[0],"horizontal"===i?c.horizontal[o]:s[3]];r.rotation=Math.PI/2*{horizontal:0,vertical:1}[i];r.labelDirection=r.tickDirection=r.nameDirection={top:-1,bottom:1,right:1,left:-1}[o],t.get(["axisTick","inside"])&&(r.tickDirection=-r.tickDirection),HO(e.labelInside,t.get(["axisLabel","inside"]))&&(r.labelDirection=-r.labelDirection);var u=e.rotate;return null==u&&(u=t.get(["axisLabel","rotate"])),r.labelRotation="top"===o?-u:u,r.z2=1,r}var y9=["axisLine","axisTickLabel","axisName"],x9=["splitArea","splitLine"],w9=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="SingleAxisPointer",n}return d(e,t),e.prototype.render=function(e,n,a,r){var o=this.group;o.removeAll();var i=this._axisGroup;this._axisGroup=new VI;var l=v9(e),s=new sQ(e,l);_O(y9,s.add,s),o.add(this._axisGroup),o.add(s.getGroup()),_O(x9,(function(t){e.get([t,"show"])&&_9[t](this,this.group,this._axisGroup,e)}),this),Dj(i,this._axisGroup,e),t.prototype.render.call(this,e,n,a,r)},e.prototype.remove=function(){SQ(this)},e.type="singleAxis",e}(wQ),_9={splitLine:function(t,e,n,a){var r=a.axis;if(!r.scale.isBlank()){var o=a.getModel("splitLine"),i=o.getModel("lineStyle"),l=i.get("color");l=l instanceof Array?l:[l];for(var s=a.coordinateSystem.getRect(),c=r.isHorizontal(),u=[],d=0,p=r.getTicksCoords({tickModel:o}),f=[],h=[],g=0;g<p.length;++g){var m=r.toGlobalCoord(p[g].coord);c?(f[0]=m,f[1]=s.y,h[0]=m,h[1]=s.y+s.height):(f[0]=s.x,f[1]=m,h[0]=s.x+s.width,h[1]=m);var b=d++%l.length;u[b]=u[b]||[],u[b].push(new DL({subPixelOptimize:!0,shape:{x1:f[0],y1:f[1],x2:h[0],y2:h[1]},silent:!0}))}var v=i.getLineStyle(["color"]);for(g=0;g<u.length;++g)e.add(kj(u[g],{style:mO({stroke:l[g%l.length]},v),silent:!0}))}},splitArea:function(t,e,n,a){kQ(t,n,a,a)}},k9=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.getCoordSysModel=function(){return this},e.type="singleAxis",e.layoutMode="box",e.defaultOption={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}},e}(kB);xO(k9,Yq.prototype);var S9=function(t){function e(e,n,a,r,o){var i=t.call(this,e,n,a)||this;return i.type=r||"value",i.position=o||"bottom",i}return d(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.pointToData=function(t,e){return this.coordinateSystem.pointToData(t)[0]},e}(cX),C9=["single"],M9=function(){function t(t,e,n){this.type="single",this.dimension="single",this.dimensions=C9,this.axisPointerEnabled=!0,this.model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var a=this.dimension,r=new S9(a,zq(t),[0,0],t.get("type"),t.get("position")),o="category"===r.type;r.onBand=o&&t.get("boundaryGap"),r.inverse=t.get("inverse"),r.orient=t.get("orient"),t.axis=r,r.model=t,r.coordinateSystem=this,this._axis=r},t.prototype.update=function(t,e){t.eachSeries((function(t){if(t.coordinateSystem===this){var e=t.getData();_O(e.mapDimensionsAll(this.dimension),(function(t){this._axis.scale.unionExtentFromData(e,t)}),this),Aq(this._axis.scale,this._axis.model)}}),this)},t.prototype.resize=function(t,e){this._rect=mB({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},t.prototype.getRect=function(){return this._rect},t.prototype._adjustAxis=function(){var t=this._rect,e=this._axis,n=e.isHorizontal(),a=n?[0,t.width]:[0,t.height],r=e.reverse?1:0;e.setExtent(a[r],a[1-r]),this._updateAxisTransform(e,n?t.x:t.y)},t.prototype._updateAxisTransform=function(t,e){var n=t.getExtent(),a=n[0]+n[1],r=t.isHorizontal();t.toGlobalCoord=r?function(t){return t+e}:function(t){return a-t+e},t.toLocalCoord=r?function(t){return t-e}:function(t){return a-t+e}},t.prototype.getAxis=function(){return this._axis},t.prototype.getBaseAxis=function(){return this._axis},t.prototype.getAxes=function(){return[this._axis]},t.prototype.getTooltipAxes=function(){return{baseAxes:[this.getAxis()],otherAxes:[]}},t.prototype.containPoint=function(t){var e=this.getRect(),n=this.getAxis();return"horizontal"===n.orient?n.contain(n.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},t.prototype.pointToData=function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},t.prototype.dataToPoint=function(t){var e=this.getAxis(),n=this.getRect(),a=[],r="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),a[r]=e.toGlobalCoord(e.dataToCoord(+t)),a[1-r]=0===r?n.y+n.height/2:n.x+n.width/2,a},t.prototype.convertToPixel=function(t,e,n){return O9(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return O9(e)===this?this.pointToData(n):null},t}();function O9(t){var e=t.seriesModel,n=t.singleAxisModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var E9={create:function(t,e){var n=[];return t.eachComponent("singleAxis",(function(a,r){var o=new M9(a,t,e);o.name="single_"+r,o.resize(a,e),a.coordinateSystem=o,n.push(o)})),t.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var e=t.getReferringComponents("singleAxis",FP).models[0];t.coordinateSystem=e&&e.coordinateSystem}})),n},dimensions:C9},T9=["x","y"],D9=["width","height"],I9=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.prototype.makeElOption=function(t,e,n,a,r){var o=n.axis,i=o.coordinateSystem,l=A9(i,1-N9(o)),s=i.dataToPoint(e)[0],c=a.get("type");if(c&&"none"!==c){var u=d7(a),d=P9[c](o,s,l);d.style=u,t.graphicKey=d.type,t.pointer=d}g7(e,t,v9(n),n,a,r)},e.prototype.getHandleTransform=function(t,e,n){var a=v9(e,{labelInside:!1});a.labelMargin=n.get(["handle","margin"]);var r=h7(e.axis,t,a);return{x:r[0],y:r[1],rotation:a.rotation+(a.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,a){var r=n.axis,o=r.coordinateSystem,i=N9(r),l=A9(o,i),s=[t.x,t.y];s[i]+=e[i],s[i]=Math.min(l[1],s[i]),s[i]=Math.max(l[0],s[i]);var c=A9(o,1-i),u=(c[1]+c[0])/2,d=[u,u];return d[i]=s[i],{x:s[0],y:s[1],rotation:t.rotation,cursorPoint:d,tooltipOption:{verticalAlign:"middle"}}},e}(o7),P9={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:m7([e,n[0]],[e,n[1]],N9(t))}},shadow:function(t,e,n){var a=t.getBandWidth(),r=n[1]-n[0];return{type:"Rect",shape:b7([e-a/2,n[0]],[a,r],N9(t))}}};function N9(t){return t.isHorizontal()?0:1}function A9(t,e){var n=t.getRect();return[n[T9[e]],n[T9[e]]+n[D9[e]]]}var z9=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.type="single",e}(cH);var R9=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.init=function(e,n,a){var r=xB(e);t.prototype.init.apply(this,arguments),L9(e,r)},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),L9(this.option,e)},e.prototype.getCellSize=function(){return this.option.cellSize},e.type="calendar",e.defaultOption={zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},e}(kB);function L9(t,e){var n,a=t.cellSize;1===(n=DO(a)?a:t.cellSize=[a,a]).length&&(n[1]=n[0]);var r=kO([0,1],(function(t){return function(t,e){return null!=t[fB[e][0]]||null!=t[fB[e][1]]&&null!=t[fB[e][2]]}(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]}));yB(t,e,{type:"box",ignoreSize:r})}var j9={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},F9={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]},B9=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.render=function(t,e,n){var a=this.group;a.removeAll();var r=t.coordinateSystem,o=r.getRangeInfo(),i=r.getOrient();this._renderDayRect(t,o,a),this._renderLines(t,o,i,a),this._renderYearText(t,o,i,a),this._renderMonthText(t,i,a),this._renderWeekText(t,o,i,a)},e.prototype._renderDayRect=function(t,e,n){for(var a=t.coordinateSystem,r=t.getModel("itemStyle").getItemStyle(),o=a.getCellWidth(),i=a.getCellHeight(),l=e.start.time;l<=e.end.time;l=a.getNextNDay(l,1).time){var s=a.dataToRect([l],!1).tl,c=new bz({shape:{x:s[0],y:s[1],width:o,height:i},cursor:"default",style:r});n.add(c)}},e.prototype._renderLines=function(t,e,n,a){var r=this,o=t.coordinateSystem,i=t.getModel(["splitLine","lineStyle"]).getLineStyle(),l=t.get(["splitLine","show"]),s=i.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var c=e.start,u=0;c.time<=e.end.time;u++){p(c.formatedDate),0===u&&(c=o.getDateInfo(e.start.y+"-"+e.start.m));var d=c.date;d.setMonth(d.getMonth()+1),c=o.getDateInfo(d)}function p(e){r._firstDayOfMonth.push(o.getDateInfo(e)),r._firstDayPoints.push(o.dataToRect([e],!1).tl);var s=r._getLinePointsOfOneWeek(t,e,n);r._tlpoints.push(s[0]),r._blpoints.push(s[s.length-1]),l&&r._drawSplitline(s,i,a)}p(o.getNextNDay(e.end.time,1).formatedDate),l&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,s,n),i,a),l&&this._drawSplitline(r._getEdgesPoints(r._blpoints,s,n),i,a)},e.prototype._getEdgesPoints=function(t,e,n){var a=[t[0].slice(),t[t.length-1].slice()],r="horizontal"===n?0:1;return a[0][r]=a[0][r]-e/2,a[1][r]=a[1][r]+e/2,a},e.prototype._drawSplitline=function(t,e,n){var a=new ML({z2:20,shape:{points:t},style:e});n.add(a)},e.prototype._getLinePointsOfOneWeek=function(t,e,n){for(var a=t.coordinateSystem,r=a.getDateInfo(e),o=[],i=0;i<7;i++){var l=a.getNextNDay(r.time,i),s=a.dataToRect([l.time],!1);o[2*l.day]=s.tl,o[2*l.day+1]=s["horizontal"===n?"bl":"tr"]}return o},e.prototype._formatterLabel=function(t,e){return"string"==typeof t&&t?(n=t,_O(e,(function(t,e){n=n.replace("{"+e+"}",a?aB(t):t)})),n):"function"==typeof t?t(e):e.nameMap;var n,a},e.prototype._yearTextPositionControl=function(t,e,n,a,r){var o=e[0],i=e[1],l=["center","bottom"];"bottom"===a?(i+=r,l=["center","top"]):"left"===a?o-=r:"right"===a?(o+=r,l=["center","top"]):i-=r;var s=0;return"left"!==a&&"right"!==a||(s=Math.PI/2),{rotation:s,x:o,y:i,style:{align:l[0],verticalAlign:l[1]}}},e.prototype._renderYearText=function(t,e,n,a){var r=t.getModel("yearLabel");if(r.get("show")){var o=r.get("margin"),i=r.get("position");i||(i="horizontal"!==n?"top":"left");var l=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],s=(l[0][0]+l[1][0])/2,c=(l[0][1]+l[1][1])/2,u="horizontal"===n?0:1,d={top:[s,l[u][1]],bottom:[s,l[1-u][1]],left:[l[1-u][0],c],right:[l[u][0],c]},p=e.start.y;+e.end.y>+e.start.y&&(p=p+"-"+e.end.y);var f=r.get("formatter"),h={start:e.start.y,end:e.end.y,nameMap:p},g=this._formatterLabel(f,h),m=new Tz({z2:30,style:Wj(r,{text:g})});m.attr(this._yearTextPositionControl(m,d[i],n,i,o)),a.add(m)}},e.prototype._monthTextPositionControl=function(t,e,n,a,r){var o="left",i="top",l=t[0],s=t[1];return"horizontal"===n?(s+=r,e&&(o="center"),"start"===a&&(i="bottom")):(l+=r,e&&(i="middle"),"start"===a&&(o="right")),{x:l,y:s,align:o,verticalAlign:i}},e.prototype._renderMonthText=function(t,e,n){var a=t.getModel("monthLabel");if(a.get("show")){var r=a.get("nameMap"),o=a.get("margin"),i=a.get("position"),l=a.get("align"),s=[this._tlpoints,this._blpoints];PO(r)&&(r=j9[r.toUpperCase()]||[]);var c="start"===i?0:1,u="horizontal"===e?0:1;o="start"===i?-o:o;for(var d="center"===l,p=0;p<s[c].length-1;p++){var f=s[c][p].slice(),h=this._firstDayOfMonth[p];if(d){var g=this._firstDayPoints[p];f[u]=(g[u]+s[0][p+1][u])/2}var m=a.get("formatter"),b=r[+h.m-1],v={yyyy:h.y,yy:(h.y+"").slice(2),MM:h.m,M:+h.m,nameMap:b},y=this._formatterLabel(m,v),x=new Tz({z2:30,style:gO(Wj(a,{text:y}),this._monthTextPositionControl(f,d,e,i,o))});n.add(x)}}},e.prototype._weekTextPositionControl=function(t,e,n,a,r){var o="center",i="middle",l=t[0],s=t[1],c="start"===n;return"horizontal"===e?(l=l+a+(c?1:-1)*r[0]/2,o=c?"right":"left"):(s=s+a+(c?1:-1)*r[1]/2,i=c?"bottom":"top"),{x:l,y:s,align:o,verticalAlign:i}},e.prototype._renderWeekText=function(t,e,n,a){var r=t.getModel("dayLabel");if(r.get("show")){var o=t.coordinateSystem,i=r.get("position"),l=r.get("nameMap"),s=r.get("margin"),c=o.getFirstDayOfWeek();PO(l)&&(l=F9[l.toUpperCase()]||[]);var u=o.getNextNDay(e.end.time,7-e.lweek).time,d=[o.getCellWidth(),o.getCellHeight()];s=JI(s,Math.min(d[1],d[0])),"start"===i&&(u=o.getNextNDay(e.start.time,-(7+e.fweek)).time,s=-s);for(var p=0;p<7;p++){var f,h=o.getNextNDay(u,p),g=o.dataToRect([h.time],!1).center;f=Math.abs((p+c)%7);var m=new Tz({z2:30,style:gO(Wj(r,{text:l[f]}),this._weekTextPositionControl(g,n,i,s,d))});a.add(m)}}},e.type="calendar",e}(cH),V9=864e5,Y9=function(){function t(e,n,a){this.type="calendar",this.dimensions=t.dimensions,this.getDimensionsInfo=t.getDimensionsInfo,this._model=e}return t.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},t.prototype.getRangeInfo=function(){return this._rangeInfo},t.prototype.getModel=function(){return this._model},t.prototype.getRect=function(){return this._rect},t.prototype.getCellWidth=function(){return this._sw},t.prototype.getCellHeight=function(){return this._sh},t.prototype.getOrient=function(){return this._orient},t.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},t.prototype.getDateInfo=function(t){var e=(t=cP(t)).getFullYear(),n=t.getMonth()+1,a=n<10?"0"+n:""+n,r=t.getDate(),o=r<10?"0"+r:""+r,i=t.getDay();return{y:e+"",m:a,d:o,day:i=Math.abs((i+7-this.getFirstDayOfWeek())%7),time:t.getTime(),formatedDate:e+"-"+a+"-"+o,date:t}},t.prototype.getNextNDay=function(t,e){return 0===(e=e||0)||(t=new Date(this.getDateInfo(t).time)).setDate(t.getDate()+e),this.getDateInfo(t)},t.prototype.update=function(t,e){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,a=["width","height"],r=this._model.getCellSize().slice(),o=this._model.getBoxLayoutParams(),i="horizontal"===this._orient?[n,7]:[7,n];_O([0,1],(function(t){c(r,t)&&(o[a[t]]=r[t]*i[t])}));var l={width:e.getWidth(),height:e.getHeight()},s=this._rect=mB(o,l);function c(t,e){return null!=t[e]&&"auto"!==t[e]}_O([0,1],(function(t){c(r,t)||(r[t]=s[a[t]]/i[t])})),this._sw=r[0],this._sh=r[1]},t.prototype.dataToPoint=function(t,e){DO(t)&&(t=t[0]),null==e&&(e=!0);var n=this.getDateInfo(t),a=this._rangeInfo,r=n.formatedDate;if(e&&!(n.time>=a.start.time&&n.time<a.end.time+V9))return[NaN,NaN];var o=n.day,i=this._getRangeInfo([a.start.time,r]).nthWeek;return"vertical"===this._orient?[this._rect.x+o*this._sw+this._sw/2,this._rect.y+i*this._sh+this._sh/2]:[this._rect.x+i*this._sw+this._sw/2,this._rect.y+o*this._sh+this._sh/2]},t.prototype.pointToData=function(t){var e=this.pointToDate(t);return e&&e.time},t.prototype.dataToRect=function(t,e){var n=this.dataToPoint(t,e);return{contentShape:{x:n[0]-(this._sw-this._lineWidth)/2,y:n[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:n,tl:[n[0]-this._sw/2,n[1]-this._sh/2],tr:[n[0]+this._sw/2,n[1]-this._sh/2],br:[n[0]+this._sw/2,n[1]+this._sh/2],bl:[n[0]-this._sw/2,n[1]+this._sh/2]}},t.prototype.pointToDate=function(t){var e=Math.floor((t[0]-this._rect.x)/this._sw)+1,n=Math.floor((t[1]-this._rect.y)/this._sh)+1,a=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,e-1,a):this._getDateByWeeksAndDay(e,n-1,a)},t.prototype.convertToPixel=function(t,e,n){var a=H9(e);return a===this?a.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){var a=H9(e);return a===this?a.pointToData(n):null},t.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},t.prototype._initRangeOption=function(){var t,e=this._model.get("range");if(DO(e)&&1===e.length&&(e=e[0]),DO(e))t=e;else{var n=e.toString();if(/^\d{4}$/.test(n)&&(t=[n+"-01-01",n+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(n)){var a=this.getDateInfo(n),r=a.date;r.setMonth(r.getMonth()+1);var o=this.getNextNDay(r,-1);t=[a.formatedDate,o.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(n)&&(t=[n,n])}if(!t)return e;var i=this._getRangeInfo(t);return i.start.time>i.end.time&&t.reverse(),t},t.prototype._getRangeInfo=function(t){var e,n=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];n[0].time>n[1].time&&(e=!0,n.reverse());var a=Math.floor(n[1].time/V9)-Math.floor(n[0].time/V9)+1,r=new Date(n[0].time),o=r.getDate(),i=n[1].date.getDate();r.setDate(o+a-1);var l=r.getDate();if(l!==i)for(var s=r.getTime()-n[1].time>0?1:-1;(l=r.getDate())!==i&&(r.getTime()-n[1].time)*s>0;)a-=s,r.setDate(l-s);var c=Math.floor((a+n[0].day+6)/7),u=e?1-c:c-1;return e&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:a,weeks:c,nthWeek:u,fweek:n[0].day,lweek:n[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,n){var a=this._getRangeInfo(n);if(t>a.weeks||0===t&&e<a.fweek||t===a.weeks&&e>a.lweek)return null;var r=7*(t-1)-a.fweek+e,o=new Date(a.start.time);return o.setDate(+a.start.d+r),this.getDateInfo(o)},t.create=function(e,n){var a=[];return e.eachComponent("calendar",(function(r){var o=new t(r,e,n);a.push(o),r.coordinateSystem=o})),e.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=a[t.get("calendarIndex")||0])})),a},t.dimensions=["time","value"],t}();function H9(t){var e=t.calendarModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem:null}var W9=zP(),U9={path:null,compoundPath:null,group:VI,image:cz,text:Tz},G9=function(t){var e=t.graphic;DO(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])},K9=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventAutoZ=!0,n}return d(e,t),e.prototype.mergeOption=function(e,n){var a=this.option.elements;this.option.elements=null,t.prototype.mergeOption.call(this,e,n),this.option.elements=a},e.prototype.optionUpdated=function(t,e){var n=this.option,a=(e?n:t).elements,r=n.elements=e?[]:n.elements,o=[];this._flatten(a,o,null);var i=EP(r,o,"normalMerge"),l=this._elOptionsToUpdate=[];_O(i,(function(t,e){var n=t.newOption;n&&(l.push(n),function(t,e){var n=t.existing;if(e.id=t.keyInfo.id,!e.type&&n&&(e.type=n.type),null==e.parentId){var a=e.parentOption;a?e.parentId=a.id:n&&(e.parentId=n.parentId)}e.parentOption=null}(t,n),function(t,e,n){var a=gO({},n),r=t[e],o=n.$action||"merge";"merge"===o?r?(fO(r,a,!0),yB(r,a,{ignoreSize:!0}),wB(n,r)):t[e]=a:"replace"===o?t[e]=a:"remove"===o&&r&&(t[e]=null)}(r,e,n),function(t,e){if(!t)return;if(t.hv=e.hv=[J9(e,["left","right"]),J9(e,["top","bottom"])],"group"===t.type){var n=t,a=e;null==n.width&&(n.width=a.width=0),null==n.height&&(n.height=a.height=0)}}(r[e],n))}),this);for(var s=r.length-1;s>=0;s--)null==r[s]?r.splice(s,1):delete r[s].$action},e.prototype._flatten=function(t,e,n){_O(t,(function(t){if(t){n&&(t.parentOption=n),e.push(t);var a=t.children;"group"===t.type&&a&&this._flatten(a,e,t),delete t.children}}),this)},e.prototype.useElOptionsToUpdate=function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t},e.type="graphic",e.defaultOption={elements:[]},e}(kB),q9=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.init=function(){this._elMap=tE()},e.prototype.render=function(t,e,n){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t),this._relocate(t,n)},e.prototype._updateElements=function(t){var e=t.useElOptionsToUpdate();if(e){var n=this._elMap,a=this.group;_O(e,(function(e){var r=IP(e.id,null),o=null!=r?n.get(r):null,i=IP(e.parentId,null),l=null!=i?n.get(i):a,s=e.type,c=e.style;"text"===s&&c&&e.hv&&e.hv[1]&&(c.textVerticalAlign=c.textBaseline=c.verticalAlign=c.align=null);var u=e.textContent,d=e.textConfig;if(c&&d8(c,s,!!d,!!u)){var p=p8(c,s,!0);!d&&p.textConfig&&(d=e.textConfig=p.textConfig),!u&&p.textContent&&(u=p.textContent)}var f=function(t){return t=gO({},t),_O(["id","parentId","$action","hv","bounding","textContent"].concat(pB),(function(e){delete t[e]})),t}(e),h=e.$action||"merge";"merge"===h?o?o.attr(f):X9(r,l,f,n):"replace"===h?(Z9(o,n),X9(r,l,f,n)):"remove"===h&&Z9(o,n);var g=n.get(r);if(g&&u)if("merge"===h){var m=g.getTextContent();m?m.attr(u):g.setTextContent(new Tz(u))}else"replace"===h&&g.setTextContent(new Tz(u));if(g){var b=W9(g);b.__ecGraphicWidthOption=e.width,b.__ecGraphicHeightOption=e.height,function(t,e,n){var a=Dz(t).eventData;t.silent||t.ignore||a||(a=Dz(t).eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name});a&&(a.info=n.info)}(g,t,e),Lj({el:g,componentModel:t,itemName:g.name,itemTooltipOption:e.tooltip})}}))}},e.prototype._relocate=function(t,e){for(var n=t.option.elements,a=this.group,r=this._elMap,o=e.getWidth(),i=e.getHeight(),l=0;l<n.length;l++){if((f=null!=(p=IP((d=n[l]).id,null))?r.get(p):null)&&f.isGroup){var s=(h=f.parent)===a,c=W9(f),u=W9(h);c.__ecGraphicWidth=JI(c.__ecGraphicWidthOption,s?o:u.__ecGraphicWidth)||0,c.__ecGraphicHeight=JI(c.__ecGraphicHeightOption,s?i:u.__ecGraphicHeight)||0}}for(l=n.length-1;l>=0;l--){var d,p,f;if(f=null!=(p=IP((d=n[l]).id,null))?r.get(p):null){var h=f.parent;u=W9(h);bB(f,d,h===a?{width:o,height:i}:{width:u.__ecGraphicWidth,height:u.__ecGraphicHeight},null,{hv:d.hv,boundingMode:d.bounding})}}},e.prototype._clear=function(){var t=this._elMap;t.each((function(e){Z9(e,t)})),this._elMap=tE()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(cH);function X9(t,e,n,a){var r=n.type,o=new(aE(U9,r)?U9[r]:yj(r))(n);e.add(o),a.set(t,o),W9(o).__ecGraphicId=t}function Z9(t,e){var n=t&&t.parent;n&&("group"===t.type&&t.traverse((function(t){Z9(t,e)})),e.removeKey(W9(t).__ecGraphicId),n.remove(t))}function J9(t,e){var n;return _O(e,(function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)})),n}function $9(t){t.registerComponentModel(K9),t.registerComponentView(q9),t.registerPreprocessor(G9)}var Q9=["x","y","radius","angle","single"],ttt=["cartesian2d","polar","singleAxis"];function ett(t){return t+"Axis"}function ntt(t,e){var n,a=tE(),r=[],o=tE();t.eachComponent({mainType:"dataZoom",query:e},(function(t){o.get(t.uid)||l(t)}));do{n=!1,t.eachComponent("dataZoom",i)}while(n);function i(t){!o.get(t.uid)&&function(t){var e=!1;return t.eachTargetAxis((function(t,n){var r=a.get(t);r&&r[n]&&(e=!0)})),e}(t)&&(l(t),n=!0)}function l(t){o.set(t.uid,!0),r.push(t),t.eachTargetAxis((function(t,e){(a.get(t)||a.set(t,[]))[e]=!0}))}return r}function att(t){var e=t.ecModel,n={infoList:[],infoMap:tE()};return t.eachTargetAxis((function(t,a){var r=e.getComponent(ett(t),a);if(r){var o=r.getCoordSysModel();if(o){var i=o.uid,l=n.infoMap.get(i);l||(l={model:o,axisModels:[]},n.infoList.push(l),n.infoMap.set(i,l)),l.axisModels.push(r)}}})),n}var rtt=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}(),ott=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return d(e,t),e.prototype.init=function(t,e,n){var a=itt(t);this.settledOption=a,this.mergeDefaultAndTheme(t,n),this._doInit(a)},e.prototype.mergeOption=function(t){var e=itt(t);fO(this.option,t,!0),fO(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;_O([["start","startValue"],["end","endValue"]],(function(t,a){"value"===this._rangePropMode[a]&&(e[t[0]]=n[t[0]]=null)}),this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=tE();this._fillSpecifiedTargetAxis(e)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each((function(t){t.indexList.length&&(this._noTarget=!1)}),this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return _O(Q9,(function(n){var a=this.getReferringComponents(ett(n),BP);if(a.specified){e=!0;var r=new rtt;_O(a.models,(function(t){r.add(t.componentIndex)})),t.set(n,r)}}),this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,a=!0;if(a){var r="vertical"===e?"y":"x";o(n.findComponents({mainType:r+"Axis"}),r)}a&&o(n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}}),"single");function o(e,n){var r=e[0];if(r){var o=new rtt;if(o.add(r.componentIndex),t.set(n,o),a=!1,"x"===n||"y"===n){var i=r.getReferringComponents("grid",FP).models[0];i&&_O(e,(function(t){r.componentIndex!==t.componentIndex&&i===t.getReferringComponents("grid",FP).models[0]&&o.add(t.componentIndex)}))}}}a&&_O(Q9,(function(e){if(a){var r=n.findComponents({mainType:ett(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var o=new rtt;o.add(r[0].componentIndex),t.set(e,o),a=!1}}}),this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis((function(e){!t&&(t=e)}),this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");_O([["start","startValue"],["end","endValue"]],(function(a,r){var o=null!=t[a[0]],i=null!=t[a[1]];o&&!i?e[r]="percent":!o&&i?e[r]="value":n?e[r]=n[r]:o&&(e[r]="percent")}))},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis((function(e,n){null==t&&(t=this.ecModel.getComponent(ett(e),n))}),this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each((function(n,a){_O(n.indexList,(function(n){t.call(e,a,n)}))}))},e.prototype.getAxisProxy=function(t,e){var n=this.getAxisModel(t,e);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent(ett(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;_O([["start","startValue"],["end","endValue"]],(function(a){null==t[a[0]]&&null==t[a[1]]||(e[a[0]]=n[a[0]]=t[a[0]],e[a[1]]=n[a[1]]=t[a[1]])}),this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;_O(["start","startValue","end","endValue"],(function(n){e[n]=t[n]}))},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,n=this._targetAxisInfoMap.keys(),a=0;a<n.length;a++)for(var r=n[a],o=this._targetAxisInfoMap.get(r),i=0;i<o.indexList.length;i++){var l=this.getAxisProxy(r,o.indexList[i]);if(l.hostedBy(this))return l;e||(e=l)}return e},e.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},e.prototype.getOrient=function(){return this._orient},e.type="dataZoom",e.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],e.defaultOption={zlevel:0,z:4,filterMode:"filter",start:0,end:100},e}(kB);function itt(t){var e={};return _O(["start","end","startValue","endValue","throttle"],(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}var ltt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.type="dataZoom.select",e}(ott),stt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.render=function(t,e,n,a){this.dataZoomModel=t,this.ecModel=e,this.api=n},e.type="dataZoom",e}(cH),ctt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.type="dataZoom.select",e}(stt),utt=_O,dtt=QI,ptt=function(){function t(t,e,n,a){this._dimName=t,this._axisIndex=e,this.ecModel=a,this._dataZoomModel=n}return t.prototype.hostedBy=function(t){return this._dataZoomModel===t},t.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},t.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},t.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries((function(e){if(function(t){var e=t.get("coordinateSystem");return vO(ttt,e)>=0}(e)){var n=ett(this._dimName),a=e.getReferringComponents(n,FP).models[0];a&&this._axisIndex===a.componentIndex&&t.push(e)}}),this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return pO(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._dataExtent,a=this.getAxisModel().axis.scale,r=this._dataZoomModel.getRangePropMode(),o=[0,100],i=[],l=[];utt(["start","end"],(function(s,c){var u=t[s],d=t[s+"Value"];"percent"===r[c]?(null==u&&(u=o[c]),d=a.parse(ZI(u,o,n))):(e=!0,u=ZI(d=null==d?n[c]:a.parse(d),n,o)),l[c]=d,i[c]=u})),dtt(l),dtt(i);var s=this._minMaxSpan;function c(t,e,n,r,o){var i=o?"Span":"ValueSpan";U6(0,t,n,"all",s["min"+i],s["max"+i]);for(var l=0;l<2;l++)e[l]=ZI(t[l],n,r,!0),o&&(e[l]=a.parse(e[l]))}return e?c(l,i,n,o,!1):c(i,l,o,n,!0),{valueWindow:l,percentWindow:i}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=function(t,e,n){var a=[1/0,-1/0];utt(n,(function(t){!function(t,e,n){e&&_O(Vq(e,n),(function(n){var a=e.getApproximateExtent(n);a[0]<t[0]&&(t[0]=a[0]),a[1]>t[1]&&(t[1]=a[1])}))}(a,t.getData(),e)}));var r=t.getAxisModel(),o=Iq(r.axis.scale,r,a).calculate();return[o.min,o.max]}(this,this._dimName,e),this._updateMinMaxSpan();var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var n=this._dimName,a=this.getTargetSeriesModels(),r=t.get("filterMode"),o=this._valueWindow;"none"!==r&&utt(a,(function(t){var e=t.getData(),a=e.mapDimensionsAll(n);if(a.length){if("weakFilter"===r){var i=e.getStore(),l=kO(a,(function(t){return e.getDimensionIndex(t)}),e);e.filterSelf((function(t){for(var e,n,r,s=0;s<a.length;s++){var c=i.get(l[s],t),u=!isNaN(c),d=c<o[0],p=c>o[1];if(u&&!d&&!p)return!0;u&&(r=!0),d&&(e=!0),p&&(n=!0)}return r&&e&&n}))}else utt(a,(function(n){if("empty"===r)t.setData(e=e.map(n,(function(t){return function(t){return t>=o[0]&&t<=o[1]}(t)?t:NaN})));else{var a={};a[n]=o,e.selectRange(a)}}));utt(a,(function(t){e.setApproximateExtent(o,t)}))}}))}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;utt(["min","max"],(function(a){var r=e.get(a+"Span"),o=e.get(a+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?r=ZI(n[0]+o,n,[0,100],!0):null!=r&&(o=ZI(r,[0,100],n,!0)-n[0]),t[a+"Span"]=r,t[a+"ValueSpan"]=o}),this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var a=nP(n,[0,500]);a=Math.min(a,20);var r=t.axis.scale.rawExtentInfo;0!==e[0]&&r.setDeterminedMinMax("min",+n[0].toFixed(a)),100!==e[1]&&r.setDeterminedMinMax("max",+n[1].toFixed(a)),r.freeze()}},t}();var ftt={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(a,r){var o=t.getComponent(ett(a),r);e(a,r,o,n)}))}))}e((function(t,e,n,a){n.__dzAxisProxy=null}));var n=[];e((function(e,a,r,o){r.__dzAxisProxy||(r.__dzAxisProxy=new ptt(e,a,o,t),n.push(r.__dzAxisProxy))}));var a=tE();return _O(n,(function(t){_O(t.getTargetSeriesModels(),(function(t){a.set(t.uid,t)}))})),a},overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(e,n){t.getAxisProxy(e,n).reset(t)})),t.eachTargetAxis((function(n,a){t.getAxisProxy(n,a).filterData(t,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),a=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:a[0],endValue:a[1]})}}))}};var htt=!1;function gtt(t){htt||(htt=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,ftt),function(t){t.registerAction("dataZoom",(function(t,e){_O(ntt(e,t),(function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))}(t),t.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function mtt(t){t.registerComponentModel(ltt),t.registerComponentView(ctt),gtt(t)}var btt=function(){},vtt={};function ytt(t,e){vtt[t]=e}function xtt(t){return vtt[t]}var wtt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;_O(this.option.feature,(function(t,n){var a=xtt(n);a&&(a.getDefaultOption&&(a.defaultOption=a.getDefaultOption(e)),fO(t,a.defaultOption))}))},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},e}(kB);function _tt(t,e){var n=tB(e.get("padding")),a=e.getItemStyle(["color","opacity"]);return a.fill=e.get("backgroundColor"),t=new bz({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:a,silent:!0,z2:-1})}var ktt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.prototype.render=function(t,e,n,a){var r=this.group;if(r.removeAll(),t.get("show")){var o=+t.get("itemSize"),i=t.get("feature")||{},l=this._features||(this._features={}),s=[];_O(i,(function(t,e){s.push(e)})),new aK(this._featureNames||[],s).add(c).update(c).remove(TO(c,null)).execute(),this._featureNames=s,function(t,e,n){var a=e.getBoxLayoutParams(),r=e.get("padding"),o={width:n.getWidth(),height:n.getHeight()},i=mB(a,o,r);gB(e.get("orient"),t,e.get("itemGap"),i.width,i.height),bB(t,a,o,r)}(r,t,n),r.add(_tt(r.getBoundingRect(),t)),r.eachChild((function(t){var e=t.__title,a=t.ensureState("emphasis"),i=a.textConfig||(a.textConfig={}),l=t.getTextContent(),s=l&&l.states.emphasis;if(s&&!IO(s)&&e){var c=s.style||(s.style={}),u=kI(e,Tz.makeFont(c)),d=t.x+r.x,p=!1;t.y+r.y+o+u.height>n.getHeight()&&(i.position="top",p=!0);var f=p?-5-u.height:o+8;d+u.width/2>n.getWidth()?(i.position=["100%",f],c.align="right"):d-u.width/2<0&&(i.position=[0,f],c.align="left")}}))}function c(c,u){var d,p=s[c],f=s[u],h=i[p],g=new dF(h,t,t.ecModel);if(a&&null!=a.newTitle&&a.featureName===p&&(h.title=a.newTitle),p&&!f){if(function(t){return 0===t.indexOf("my")}(p))d={onclick:g.option.onclick,featureName:p};else{var m=xtt(p);if(!m)return;d=new m}l[p]=d}else if(!(d=l[f]))return;d.uid=fF("toolbox-feature"),d.model=g,d.ecModel=e,d.api=n;var b=d instanceof btt;p||!f?!g.get("show")||b&&d.unusable?b&&d.remove&&d.remove(e,n):(!function(a,i,l){var s,c,u=a.getModel("iconStyle"),d=a.getModel(["emphasis","iconStyle"]),p=i instanceof btt&&i.getIcons?i.getIcons():a.get("icon"),f=a.get("title")||{};"string"==typeof p?(s={})[l]=p:s=p;"string"==typeof f?(c={})[l]=f:c=f;var h=a.iconPaths={};_O(s,(function(l,s){var p=Nj(l,{},{x:-o/2,y:-o/2,width:o,height:o});p.setStyle(u.getItemStyle()),p.ensureState("emphasis").style=d.getItemStyle();var f=new Tz({style:{text:c[s],align:d.get("textAlign"),borderRadius:d.get("textBorderRadius"),padding:d.get("textPadding"),fill:null},ignore:!0});p.setTextContent(f),Lj({el:p,componentModel:t,itemName:s,formatterParamsExtra:{title:c[s]}}),p.__title=c[s],p.on("mouseover",(function(){var e=d.getItemStyle(),n="vertical"===t.get("orient")?null==t.get("right")?"right":"left":null==t.get("bottom")?"bottom":"top";f.setStyle({fill:d.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:d.get("textBackgroundColor")}),p.setTextConfig({position:d.get("textPosition")||n}),f.ignore=!t.get("showTitle"),iR(this)})).on("mouseout",(function(){"emphasis"!==a.get(["iconStatus",s])&&lR(this),f.hide()})),("emphasis"===a.get(["iconStatus",s])?iR:lR)(p),r.add(p),p.on("click",EO(i.onclick,i,e,n,s)),h[s]=p}))}(g,d,p),g.setIconStatus=function(t,e){var n=this.option,a=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,a[t]&&("emphasis"===e?iR:lR)(a[t])},d instanceof btt&&d.render&&d.render(g,e,n,a)):b&&d.dispose&&d.dispose(e,n)}},e.prototype.updateView=function(t,e,n,a){_O(this._features,(function(t){t instanceof btt&&t.updateView&&t.updateView(t.model,e,n,a)}))},e.prototype.remove=function(t,e){_O(this._features,(function(n){n instanceof btt&&n.remove&&n.remove(t,e)})),this.group.removeAll()},e.prototype.dispose=function(t,e){_O(this._features,(function(n){n instanceof btt&&n.dispose&&n.dispose(t,e)}))},e.type="toolbox",e}(cH);var Stt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.prototype.onclick=function(t,e){var n=this.model,a=n.get("name")||t.get("title.0.text")||"echarts",r="svg"===e.getZr().painter.getType(),o=r?"svg":n.get("type",!0)||"png",i=e.getConnectedDataURL({type:o,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if("function"!=typeof MouseEvent||!XM.browser.newEdge&&(XM.browser.ie||XM.browser.edge))if(window.navigator.msSaveOrOpenBlob||r){var l=i.split(","),s=l[0].indexOf("base64")>-1,c=r?decodeURIComponent(l[1]):l[1];s&&(c=window.atob(c));var u=a+"."+o;if(window.navigator.msSaveOrOpenBlob){for(var d=c.length,p=new Uint8Array(d);d--;)p[d]=c.charCodeAt(d);var f=new Blob([p]);window.navigator.msSaveOrOpenBlob(f,u)}else{var h=document.createElement("iframe");document.body.appendChild(h);var g=h.contentWindow,m=g.document;m.open("image/svg+xml","replace"),m.write(c),m.close(),g.focus(),m.execCommand("SaveAs",!0,u),document.body.removeChild(h)}}else{var b=n.get("lang"),v='<body style="margin:0;"><img src="'+i+'" style="max-width:100%;" title="'+(b&&b[0]||"")+'" /></body>',y=window.open();y.document.write(v),y.document.title=a}else{var x=document.createElement("a");x.download=a+"."+o,x.target="_blank",x.href=i;var w=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});x.dispatchEvent(w)}},e.getDefaultOption=function(t){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},e}(btt);Stt.prototype.unusable=!XM.canvasSupported;var Ctt="__ec_magicType_stack__",Mtt=[["line","bar"],["stack"]],Ott=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return _O(t.get("type"),(function(t){e[t]&&(n[t]=e[t])})),n},e.getDefaultOption=function(t){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},e.prototype.onclick=function(t,e,n){var a=this.model,r=a.get(["seriesIndex",n]);if(Ett[n]){var o,i={series:[]};_O(Mtt,(function(t){vO(t,n)>=0&&_O(t,(function(t){a.setIconStatus(t,"normal")}))})),a.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},(function(t){var e=t.subType,r=t.id,o=Ett[n](e,r,t,a);o&&(mO(o,t.option),i.series.push(o));var l=t.coordinateSystem;if(l&&"cartesian2d"===l.type&&("line"===n||"bar"===n)){var s=l.getAxesByScale("ordinal")[0];if(s){var c=s.dim+"Axis",u=t.getReferringComponents(c,FP).models[0].componentIndex;i[c]=i[c]||[];for(var d=0;d<=u;d++)i[c][u]=i[c][u]||{};i[c][u].boundaryGap="bar"===n}}}));var l=n;"stack"===n&&(o=fO({stack:a.option.title.tiled,tiled:a.option.title.stack},a.option.title),"emphasis"!==a.get(["iconStatus",n])&&(l="tiled")),e.dispatchAction({type:"changeMagicType",currentType:l,newOption:i,newTitle:o,featureName:"magicType"})}},e}(btt),Ett={line:function(t,e,n,a){if("bar"===t)return fO({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},a.get(["option","line"])||{},!0)},bar:function(t,e,n,a){if("line"===t)return fO({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},a.get(["option","bar"])||{},!0)},stack:function(t,e,n,a){var r=n.get("stack")===Ctt;if("line"===t||"bar"===t)return a.setIconStatus("stack",r?"normal":"emphasis"),fO({id:e,stack:r?"":Ctt},a.get(["option","stack"])||{},!0)}};GG({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)}));var Ttt=new Array(60).join("-"),Dtt="\t";function Itt(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var Ptt=new RegExp("[\t]+","g");function Ntt(t,e){var n=t.split(new RegExp("\n*"+Ttt+"\n*","g")),a={series:[]};return _O(n,(function(t,n){if(function(t){if(t.slice(0,t.indexOf("\n")).indexOf(Dtt)>=0)return!0}(t)){var r=function(t){for(var e=t.split(/\n+/g),n=[],a=kO(Itt(e.shift()).split(Ptt),(function(t){return{name:t,data:[]}})),r=0;r<e.length;r++){var o=Itt(e[r]).split(Ptt);n.push(o.shift());for(var i=0;i<o.length;i++)a[i]&&(a[i].data[r]=o[i])}return{series:a,categories:n}}(t),o=e[n],i=o.axisDim+"Axis";o&&(a[i]=a[i]||[],a[i][o.axisIndex]={data:r.categories},a.series=a.series.concat(r.series))}else{r=function(t){for(var e=t.split(/\n+/g),n=Itt(e.shift()),a=[],r=0;r<e.length;r++){var o=Itt(e[r]);if(o){var i=o.split(Ptt),l="",s=void 0,c=!1;isNaN(i[0])?(c=!0,l=i[0],i=i.slice(1),a[r]={name:l,value:[]},s=a[r].value):s=a[r]=[];for(var u=0;u<i.length;u++)s.push(+i[u]);1===s.length&&(c?a[r].value=s[0]:a[r]=s[0])}}return{name:n,data:a}}(t);a.series.push(r)}})),a}var Att=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.prototype.onclick=function(t,e){var n=e.getDom(),a=this.model;this._dom&&n.removeChild(this._dom);var r=document.createElement("div");r.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",r.style.backgroundColor=a.get("backgroundColor")||"#fff";var o=document.createElement("h4"),i=a.get("lang")||[];o.innerHTML=i[0]||a.get("title"),o.style.cssText="margin: 10px 20px;",o.style.color=a.get("textColor");var l=document.createElement("div"),s=document.createElement("textarea");l.style.cssText="display:block;width:100%;overflow:auto;";var c=a.get("optionToContent"),u=a.get("contentToOption"),d=function(t){var e,n,a,r=function(t){var e={},n=[],a=[];return t.eachRawSeries((function(t){var r=t.coordinateSystem;if(!r||"cartesian2d"!==r.type&&"polar"!==r.type)n.push(t);else{var o=r.getBaseAxis();if("category"===o.type){var i=o.dim+"_"+o.index;e[i]||(e[i]={categoryAxis:o,valueAxis:r.getOtherAxis(o),series:[]},a.push({axisDim:o.dim,axisIndex:o.index})),e[i].series.push(t)}else n.push(t)}})),{seriesGroupByCategoryAxis:e,other:n,meta:a}}(t);return{value:CO([(n=r.seriesGroupByCategoryAxis,a=[],_O(n,(function(t,e){var n=t.categoryAxis,r=t.valueAxis.dim,o=[" "].concat(kO(t.series,(function(t){return t.name}))),i=[n.model.getCategories()];_O(t.series,(function(t){var e=t.getRawData();i.push(t.getRawData().mapArray(e.mapDimension(r),(function(t){return t})))}));for(var l=[o.join(Dtt)],s=0;s<i[0].length;s++){for(var c=[],u=0;u<i.length;u++)c.push(i[u][s]);l.push(c.join(Dtt))}a.push(l.join("\n"))})),a.join("\n\n"+Ttt+"\n\n")),(e=r.other,kO(e,(function(t){var e=t.getRawData(),n=[t.name],a=[];return e.each(e.dimensions,(function(){for(var t=arguments.length,r=arguments[t-1],o=e.getName(r),i=0;i<t-1;i++)a[i]=arguments[i];n.push((o?o+Dtt:"")+a.join(Dtt))})),n.join("\n")})).join("\n\n"+Ttt+"\n\n"))],(function(t){return!!t.replace(/[\n\t\s]/g,"")})).join("\n\n"+Ttt+"\n\n"),meta:r.meta}}(t);if("function"==typeof c){var p=c(e.getOption());"string"==typeof p?l.innerHTML=p:jO(p)&&l.appendChild(p)}else l.appendChild(s),s.readOnly=a.get("readOnly"),s.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",s.style.color=a.get("textColor"),s.style.borderColor=a.get("textareaBorderColor"),s.style.backgroundColor=a.get("textareaColor"),s.value=d.value;var f=d.meta,h=document.createElement("div");h.style.cssText="position:absolute;bottom:0;left:0;right:0;";var g="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",m=document.createElement("div"),b=document.createElement("div");g+=";background-color:"+a.get("buttonColor"),g+=";color:"+a.get("buttonTextColor");var v=this;function y(){n.removeChild(r),v._dom=null}GE(m,"click",y),GE(b,"click",(function(){if(null==u&&null!=c||null!=u&&null==c)y();else{var t;try{t="function"==typeof u?u(l,e.getOption()):Ntt(s.value,f)}catch(t){throw y(),new Error("Data view format error "+t)}t&&e.dispatchAction({type:"changeDataView",newOption:t}),y()}})),m.innerHTML=i[1],b.innerHTML=i[2],b.style.cssText=g,m.style.cssText=g,!a.get("readOnly")&&h.appendChild(b),h.appendChild(m),r.appendChild(o),r.appendChild(l),r.appendChild(h),l.style.height=n.clientHeight-80+"px",n.appendChild(r),this._dom=r},e.prototype.remove=function(t,e){this._dom&&e.getDom().removeChild(this._dom)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.getDefaultOption=function(t){return{show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:t.getLocaleModel().get(["toolbox","dataView","title"]),lang:t.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"}},e}(btt);function ztt(t,e){return kO(t,(function(t,n){var a=e&&e[n];if(zO(a)&&!DO(a)){zO(t)&&!DO(t)||(t={value:t});var r=null!=a.name&&null==t.name;return t=mO(t,a),r&&delete t.name,t}return t}))}GG({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},(function(t,e){var n=[];_O(t.newOption.series,(function(t){var a=e.getSeriesByName(t.name)[0];if(a){var r=a.get("data");n.push({name:t.name,data:ztt(t.data,r)})}else n.push(gO({type:"scatter"},t))})),e.mergeOption(mO({series:n},t.newOption))}));var Rtt=_O,Ltt=zP();function jtt(t){var e=Ltt(t);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var Ftt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.prototype.onclick=function(t,e){!function(t){Ltt(t).snapshots=null}(t),e.dispatchAction({type:"restore",from:this.uid})},e.getDefaultOption=function(t){return{show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:t.getLocaleModel().get(["toolbox","restore","title"])}},e}(btt);GG({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(t,e){e.resetOption("recreate")}));var Btt=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],Vtt=function(){function t(t,e,n){var a=this;this._targetInfoList=[];var r=Htt(e,t);_O(Wtt,(function(t,e){(!n||!n.include||vO(n.include,e)>=0)&&t(r,a._targetInfoList)}))}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,(function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var a=Ktt[t.brushType](0,n,e);t.__rangeOffset={offset:Xtt[t.brushType](a.values,t.range,[1,1]),xyMinMax:a.xyMinMax}}})),t},t.prototype.matchOutputRanges=function(t,e,n){_O(t,(function(t){var a=this.findTargetInfo(t,e);a&&!0!==a&&_O(a.coordSyses,(function(a){var r=Ktt[t.brushType](1,a,t.range,!0);n(t,r.values,a,e)}))}),this)},t.prototype.setInputRanges=function(t,e){_O(t,(function(t){var n,a,r,o,i,l=this.findTargetInfo(t,e);if(t.range=t.range||[],l&&!0!==l){t.panelId=l.panelId;var s=Ktt[t.brushType](0,l.coordSys,t.coordRange),c=t.__rangeOffset;t.range=c?Xtt[t.brushType](s.values,c.offset,(n=s.xyMinMax,a=c.xyMinMax,r=Jtt(n),o=Jtt(a),i=[r[0]/o[0],r[1]/o[1]],isNaN(i[0])&&(i[0]=1),isNaN(i[1])&&(i[1]=1),i)):s.values}}),this)},t.prototype.makePanelOpts=function(t,e){return kO(this._targetInfoList,(function(n){var a=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:K2(a),isTargetByCursor:X2(a,t,n.coordSysModel),getLinearBrushOtherExtent:q2(a)}}))},t.prototype.controlSeries=function(t,e,n){var a=this.findTargetInfo(t,n);return!0===a||a&&vO(a.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,a=Htt(e,t),r=0;r<n.length;r++){var o=n[r],i=t.panelId;if(i){if(o.panelId===i)return o}else for(var l=0;l<Utt.length;l++)if(Utt[l](a,o))return o}return!0},t}();function Ytt(t){return t[0]>t[1]&&t.reverse(),t}function Htt(t,e){return LP(t,e,{includeMainTypes:Btt})}var Wtt={grid:function(t,e){var n=t.xAxisModels,a=t.yAxisModels,r=t.gridModels,o=tE(),i={},l={};(n||a||r)&&(_O(n,(function(t){var e=t.axis.grid.model;o.set(e.id,e),i[e.id]=!0})),_O(a,(function(t){var e=t.axis.grid.model;o.set(e.id,e),l[e.id]=!0})),_O(r,(function(t){o.set(t.id,t),i[t.id]=!0,l[t.id]=!0})),o.each((function(t){var r=t.coordinateSystem,o=[];_O(r.getCartesians(),(function(t,e){(vO(n,t.getAxis("x").model)>=0||vO(a,t.getAxis("y").model)>=0)&&o.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:Gtt.grid,xAxisDeclared:i[t.id],yAxisDeclared:l[t.id]})})))},geo:function(t,e){_O(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:Gtt.geo})}))}},Utt=[function(t,e){var n=t.xAxisModel,a=t.yAxisModel,r=t.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&a&&(r=a.axis.grid.model),r&&r===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],Gtt={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(Mj(t)),e}},Ktt={lineX:TO(qtt,0),lineY:TO(qtt,1),rect:function(t,e,n,a){var r=t?e.pointToData([n[0][0],n[1][0]],a):e.dataToPoint([n[0][0],n[1][0]],a),o=t?e.pointToData([n[0][1],n[1][1]],a):e.dataToPoint([n[0][1],n[1][1]],a),i=[Ytt([r[0],o[0]]),Ytt([r[1],o[1]])];return{values:i,xyMinMax:i}},polygon:function(t,e,n,a){var r=[[1/0,-1/0],[1/0,-1/0]],o=kO(n,(function(n){var o=t?e.pointToData(n,a):e.dataToPoint(n,a);return r[0][0]=Math.min(r[0][0],o[0]),r[1][0]=Math.min(r[1][0],o[1]),r[0][1]=Math.max(r[0][1],o[0]),r[1][1]=Math.max(r[1][1],o[1]),o}));return{values:o,xyMinMax:r}}};function qtt(t,e,n,a){var r=n.getAxis(["x","y"][t]),o=Ytt(kO([0,1],(function(t){return e?r.coordToData(r.toLocalCoord(a[t]),!0):r.toGlobalCoord(r.dataToCoord(a[t]))}))),i=[];return i[t]=o,i[1-t]=[NaN,NaN],{values:o,xyMinMax:i}}var Xtt={lineX:TO(Ztt,0),lineY:TO(Ztt,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return kO(t,(function(t,a){return[t[0]-n[0]*e[a][0],t[1]-n[1]*e[a][1]]}))}};function Ztt(t,e,n,a){return[e[0]-a[t]*n[0],e[1]-a[t]*n[1]]}function Jtt(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var $tt,Qtt,tet=_O,eet=_P+"toolbox-dataZoom_",net=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.prototype.render=function(t,e,n,a){this._brushController||(this._brushController=new m2(n.getZr()),this._brushController.on("brush",EO(this._onBrush,this)).mount()),function(t,e,n,a,r){var o=n._isZoomActive;a&&"takeGlobalCursor"===a.type&&(o="dataZoomSelect"===a.key&&a.dataZoomSelectActive);n._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var i=new Vtt(ret(t),e,{include:["grid"]}).makePanelOpts(r,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(i).enableBrush(!(!o||!i.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}(t,e,this,a,n),function(t,e){t.setIconStatus("back",function(t){return jtt(t).length}(e)>1?"emphasis":"normal")}(t,e)},e.prototype.onclick=function(t,e,n){aet[n].call(this)},e.prototype.remove=function(t,e){this._brushController&&this._brushController.unmount()},e.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var n={},a=this.ecModel;this._brushController.updateCovers([]),new Vtt(ret(this.model),a,{include:["grid"]}).matchOutputRanges(e,a,(function(t,e,n){if("cartesian2d"===n.type){var a=t.brushType;"rect"===a?(r("x",n,e[0]),r("y",n,e[1])):r({lineX:"x",lineY:"y"}[a],n,e)}})),function(t,e){var n=jtt(t);Rtt(e,(function(e,a){for(var r=n.length-1;r>=0&&!n[r][a];r--);if(r<0){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:a})[0];if(o){var i=o.getPercentRange();n[0][a]={dataZoomId:a,start:i[0],end:i[1]}}}})),n.push(e)}(a,n),this._dispatchZoomAction(n)}function r(t,e,r){var o=e.getAxis(t),i=o.model,l=function(t,e,n){var a;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(t,e.componentIndex)&&(a=n)})),a}(t,i,a),s=l.findRepresentativeAxisProxy(i).getMinMaxSpan();null==s.minValueSpan&&null==s.maxValueSpan||(r=U6(0,r.slice(),o.scale.getExtent(),0,s.minValueSpan,s.maxValueSpan)),l&&(n[l.id]={dataZoomId:l.id,startValue:r[0],endValue:r[1]})}},e.prototype._dispatchZoomAction=function(t){var e=[];tet(t,(function(t,n){e.push(pO(t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},e.getDefaultOption=function(t){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}}},e}(btt),aet={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(function(t){var e=jtt(t),n=e[e.length-1];e.length>1&&e.pop();var a={};return Rtt(n,(function(t,n){for(var r=e.length-1;r>=0;r--)if(t=e[r][n]){a[n]=t;break}})),a}(this.ecModel))}};function ret(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex="all"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex="all"),e}$tt="dataZoom",Qtt=function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var a=e.getModel(n),r=[],o=LP(t,ret(a));return tet(o.xAxisModels,(function(t){return i(t,"xAxis","xAxisIndex")})),tet(o.yAxisModels,(function(t){return i(t,"yAxis","yAxisIndex")})),r}function i(t,e,n){var o=t.componentIndex,i={type:"select",$fromToolbox:!0,filterMode:a.get("filterMode",!0)||"filter",id:eet+e+o};i[n]=o,r.push(i)}},qO(null==UB.get($tt)&&Qtt),UB.set($tt,Qtt);var oet=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(kB);function iet(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function set(t){if(XM.domSupported)for(var e=document.documentElement.style,n=0,a=t.length;n<a;n++)if(t[n]in e)return t[n]}var cet=set(["transform","webkitTransform","OTransform","MozTransform","msTransform"]);function uet(t,e){if(!t)return e;e=QF(e,!0);var n=t.indexOf(e);return(t=-1===n?e:"-"+t.slice(0,n)+"-"+e).toLowerCase()}var det=uet(set(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),"transition"),pet=uet(cet,"transform"),fet="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(XM.transform3dSupported?"will-change:transform;":"");function het(t,e,n){var a=t.toFixed(0)+"px",r=e.toFixed(0)+"px";if(!XM.transformSupported)return n?"top:"+r+";left:"+a+";":[["top",r],["left",a]];var o=XM.transform3dSupported,i="translate"+(o?"3d":"")+"("+a+","+r+(o?",0":"")+")";return n?"top:0;left:0;"+pet+":"+i+";":[["top",0],["left",0],[cet,i]]}function get(t,e,n){var a=[],r=t.get("transitionDuration"),o=t.get("backgroundColor"),i=t.get("shadowBlur"),l=t.get("shadowColor"),s=t.get("shadowOffsetX"),c=t.get("shadowOffsetY"),u=t.getModel("textStyle"),d=ZY(t,"html"),p=s+"px "+c+"px "+i+"px "+l;return a.push("box-shadow:"+p),e&&r&&a.push(function(t,e){var n="cubic-bezier(0.23,1,0.32,1)",a=" "+t/2+"s "+n,r="opacity"+a+",visibility"+a;return e||(a=" "+t+"s "+n,r+=XM.transformSupported?","+pet+a:",left"+a+",top"+a),det+":"+r}(r,n)),o&&(XM.canvasSupported?a.push("background-color:"+o):(a.push("background-color:#"+YT(o)),a.push("filter:alpha(opacity=70)"))),_O(["width","color","radius"],(function(e){var n="border-"+e,r=QF(n),o=t.get(r);null!=o&&a.push(n+":"+o+("color"===e?"":"px"))})),a.push(function(t){var e=[],n=t.get("fontSize"),a=t.getTextColor();a&&e.push("color:"+a),e.push("font:"+t.getFont()),n&&e.push("line-height:"+Math.round(3*n/2)+"px");var r=t.get("textShadowColor"),o=t.get("textShadowBlur")||0,i=t.get("textShadowOffsetX")||0,l=t.get("textShadowOffsetY")||0;return r&&o&&e.push("text-shadow:"+i+"px "+l+"px "+o+"px "+r),_O(["decoration","align"],(function(n){var a=t.get(n);a&&e.push("text-"+n+":"+a)})),e.join(";")}(u)),null!=d&&a.push("padding:"+tB(d).join("px ")+"px"),a.join(";")+";"}function met(t,e,n,a,r){var o=e&&e.painter;if(n){var i=o&&o.getViewportRoot();i&&function(t,e,n,a,r){LE(RE,e,a,r,!0)&&LE(t,n,RE[0],RE[1])}(t,i,document.body,a,r)}else{t[0]=a,t[1]=r;var l=o&&o.getViewportRootOffset();l&&(t[0]+=l.offsetLeft,t[1]+=l.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var bet=function(){function t(t,e,n){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._firstShow=!0,this._longHide=!0,XM.wxa)return null;var a=document.createElement("div");a.domBelongToZr=!0,this.el=a;var r=this._zr=e.getZr(),o=this._appendToBody=n&&n.appendToBody;met(this._styleCoord,r,o,e.getWidth()/2,e.getHeight()/2),o?document.body.appendChild(a):t.appendChild(a),this._container=t;var i=this;a.onmouseenter=function(){i._enterable&&(clearTimeout(i._hideTimeout),i._show=!0),i._inContent=!0},a.onmousemove=function(t){if(t=t||window.event,!i._enterable){var e=r.handler;UE(r.painter.getViewportRoot(),t,!0),e.dispatch("mousemove",t)}},a.onmouseleave=function(){i._inContent=!1,i._enterable&&i._show&&i.hideLater(i._hideDelay)}}return t.prototype.update=function(t){var e=this._container,n=function(t,e){var n=t.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(t);return n?e?n[e]:n:null}(e,"position"),a=e.style;"absolute"!==a.position&&"absolute"!==n&&(a.position="relative"),t.get("alwaysShowContent")&&this._moveIfResized(),this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,a=n.style,r=this._styleCoord;n.innerHTML?a.cssText=fet+get(t,!this._firstShow,this._longHide)+het(r[0],r[1],!0)+"border-color:"+cB(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):a.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,a,r){var o=this.el;if(null!=t){var i="";if(PO(r)&&"item"===n.get("trigger")&&!iet(n)&&(i=function(t,e,n){if(!PO(n)||"inside"===n)return"";var a=t.get("backgroundColor"),r=t.get("borderWidth");e=cB(e);var o,i,l="left"===(o=n)?"right":"right"===o?"left":"top"===o?"bottom":"top",s=Math.max(1.5*Math.round(r),6),c="",u=pet+":";vO(["left","right"],l)>-1?(c+="top:50%",u+="translateY(-50%) rotate("+(i="left"===l?-225:-45)+"deg)"):(c+="left:50%",u+="translateX(-50%) rotate("+(i="top"===l?225:45)+"deg)");var d=i*Math.PI/180,p=s+r,f=p*Math.abs(Math.cos(d))+p*Math.abs(Math.sin(d)),h=e+" solid "+r+"px;";return'<div style="'+["position:absolute;width:"+s+"px;height:"+s+"px;",(c+=";"+l+":-"+Math.round(100*((f-Math.SQRT2*r)/2+Math.SQRT2*r-(f-p)/2))/100+"px")+";"+u+";","border-bottom:"+h,"border-right:"+h,"background-color:"+a+";"].join("")+'"></div>'}(n,a,r)),PO(t))o.innerHTML=t+i;else if(t){o.innerHTML="",DO(t)||(t=[t]);for(var l=0;l<t.length;l++)jO(t[l])&&t[l].parentNode!==o&&o.appendChild(t[l]);if(i&&o.childNodes.length){var s=document.createElement("div");s.innerHTML=i,o.appendChild(s)}}}else o.innerHTML=""},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el;return[t.offsetWidth,t.offsetHeight]},t.prototype.moveTo=function(t,e){var n=this._styleCoord;if(met(n,this._zr,this._appendToBody,t,e),null!=n[0]&&null!=n[1]){var a=this.el.style;_O(het(n[0],n[1]),(function(t){a[t[0]]=t[1]}))}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){var t=this,e=this.el.style;e.visibility="hidden",e.opacity="0",XM.transform3dSupported&&(e.willChange=""),this._show=!1,this._longHideTimeout=setTimeout((function(){return t._longHide=!0}),500)},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(EO(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this.el.parentNode.removeChild(this.el)},t}(),vet=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._zr=t.getZr(),wet(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return t.prototype.update=function(t){t.get("alwaysShowContent")&&this._moveIfResized()},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(t,e,n,a,r){zO(t)&&xP(""),this.el&&this._zr.remove(this.el);var o=n.getModel("textStyle");this.el=new Tz({style:{rich:e.richTextStyles,text:t,lineHeight:22,backgroundColor:n.get("backgroundColor"),borderRadius:n.get("borderRadius"),borderWidth:1,borderColor:a,shadowColor:n.get("shadowColor"),shadowBlur:n.get("shadowBlur"),shadowOffsetX:n.get("shadowOffsetX"),shadowOffsetY:n.get("shadowOffsetY"),textShadowColor:o.get("textShadowColor"),textShadowBlur:o.get("textShadowBlur")||0,textShadowOffsetX:o.get("textShadowOffsetX")||0,textShadowOffsetY:o.get("textShadowOffsetY")||0,fill:n.get(["textStyle","color"]),padding:ZY(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),this._zr.add(this.el);var i=this;this.el.on("mouseover",(function(){i._enterable&&(clearTimeout(i._hideTimeout),i._show=!0),i._inContent=!0})),this.el.on("mouseout",(function(){i._enterable&&i._show&&i.hideLater(i._hideDelay),i._inContent=!1}))},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),n=xet(t.style);return[e.width+n.left+n.right,e.height+n.top+n.bottom]},t.prototype.moveTo=function(t,e){var n=this.el;if(n){var a=this._styleCoord;wet(a,this._zr,t,e),t=a[0],e=a[1];var r=n.style,o=yet(r.borderWidth||0),i=xet(r);n.x=t+o+i.left,n.y=e+o+i.top,n.markRedraw()}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(EO(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}();function yet(t){return Math.max(0,t)}function xet(t){var e=yet(t.shadowBlur||0),n=yet(t.shadowOffsetX||0),a=yet(t.shadowOffsetY||0);return{left:yet(e-n),right:yet(e+n),top:yet(e-a),bottom:yet(e+a)}}function wet(t,e,n,a){t[0]=n,t[1]=a,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var _et=EO,ket=_O,Cet=JI,Met=new bz({shape:{x:-1,y:-1,width:2,height:2}}),Oet=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.init=function(t,e){if(!XM.node){var n,a=t.getComponent("tooltip"),r=a.get("renderMode");this._renderMode="auto"===(n=r)?XM.domSupported?"html":"richText":n||"html",this._tooltipContent="richText"===this._renderMode?new vet(e):new bet(e.getDom(),e,{appendToBody:a.get("appendToBody",!0)})}},e.prototype.render=function(t,e,n){if(!XM.node){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n,this._alwaysShowContent=t.get("alwaysShowContent");var a=this._tooltipContent;a.update(t),a.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),this._updatePosition="html"===this._renderMode?_H(_et(this._doUpdatePosition,this),50):this._doUpdatePosition}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel.get("triggerOn");M7("itemTooltip",this._api,_et((function(e,n,a){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,a):"leave"===e&&this._hide(a))}),this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var a=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&a.manuallyShowTip(t,e,n,{x:a._lastX,y:a._lastY,dataByCoordSys:a._lastDataByCoordSys})}))}},e.prototype.manuallyShowTip=function(t,e,n,a){if(a.from!==this.uid&&!XM.node){var r=Tet(a,n);this._ticket="";var o=a.dataByCoordSys,i=function(t,e,n){var a=jP(t).queryOptionMap,r=a.keys()[0];if(!r||"series"===r)return;var o,i=VP(e,r,a.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(!i)return;if(n.getViewOfComponentModel(i).group.traverse((function(e){var n=Dz(e).tooltipConfig;if(n&&n.name===t.name)return o=e,!0})),o)return{componentMainType:r,componentIndex:i.componentIndex,el:o}}(a,e,n);if(i){var l=i.el.getBoundingRect().clone();l.applyTransform(i.el.transform),this._tryShow({offsetX:l.x+l.width/2,offsetY:l.y+l.height/2,target:i.el,position:a.position,positionDefault:"bottom"},r)}else if(a.tooltip&&null!=a.x&&null!=a.y){var s=Met;s.x=a.x,s.y=a.y,s.update(),Dz(s).tooltipConfig={name:null,option:a.tooltip},this._tryShow({offsetX:a.x,offsetY:a.y,target:s},r)}else if(o)this._tryShow({offsetX:a.x,offsetY:a.y,position:a.position,dataByCoordSys:o,tooltipOption:a.tooltipOption},r);else if(null!=a.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,a))return;var c=I7(a,e),u=c.point[0],d=c.point[1];null!=u&&null!=d&&this._tryShow({offsetX:u,offsetY:d,target:c.el,position:a.position,positionDefault:"bottom"},r)}else null!=a.x&&null!=a.y&&(n.dispatchAction({type:"updateAxisPointer",x:a.x,y:a.y}),this._tryShow({offsetX:a.x,offsetY:a.y,position:a.position,target:n.getZr().findHover(a.x,a.y).target},r))}},e.prototype.manuallyHideTip=function(t,e,n,a){var r=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,a.from!==this.uid&&this._hide(Tet(a,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,a){var r=a.seriesIndex,o=a.dataIndex,i=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=i){var l=e.getSeriesByIndex(r);if(l)if("axis"===Eet([l.getData().getItemModel(o),l,(l.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:a.position}),!0}},e.prototype._tryShow=function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var a=t.dataByCoordSys;if(a&&a.length)this._showAxisTooltip(a,t);else if(n){var r,o;this._lastDataByCoordSys=null,cW(n,(function(t){return null!=Dz(t).dataIndex?(r=t,!0):null!=Dz(t).tooltipConfig?(o=t,!0):void 0}),!0),r?this._showSeriesItemTooltip(t,r,e):o?this._showComponentItemTooltip(t,o,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=EO(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,a=this._tooltipModel,r=[e.offsetX,e.offsetY],o=Eet([e.tooltipOption],a),i=this._renderMode,l=[],s=YY("section",{blocks:[],noHeader:!0}),c=[],u=new JY;ket(t,(function(t){ket(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),a=t.value;if(e&&null!=a){var r=f7(a,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),o=YY("section",{header:r,noHeader:!XO(r),sortBlocks:!0,blocks:[]});s.blocks.push(o),_O(t.seriesDataIndices,(function(s){var d=n.getSeriesByIndex(s.seriesIndex),p=s.dataIndexInside,f=d.getDataParams(p);if(!(f.dataIndex<0)){f.axisDim=t.axisDim,f.axisIndex=t.axisIndex,f.axisType=t.axisType,f.axisId=t.axisId,f.axisValue=Lq(e.axis,{value:a}),f.axisValueLabel=r,f.marker=u.makeTooltipMarker("item",cB(f.color),i);var h=oY(d.formatTooltip(p,!0,null));h.markupFragment&&o.blocks.push(h.markupFragment),h.markupText&&c.push(h.markupText),l.push(f)}}))}}))})),s.blocks.reverse(),c.reverse();var d=e.position,p=o.get("order"),f=UY(s,u,i,p,n.get("useUTC"),o.get("textStyle"));f&&c.unshift(f);var h="richText"===i?"\n\n":"<br/>",g=c.join(h);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(t,l)?this._updatePosition(o,d,r[0],r[1],this._tooltipContent,l):this._showTooltipContent(o,g,l,Math.random()+"",r[0],r[1],d,null,u)}))},e.prototype._showSeriesItemTooltip=function(t,e,n){var a=this._ecModel,r=Dz(e),o=r.seriesIndex,i=a.getSeriesByIndex(o),l=r.dataModel||i,s=r.dataIndex,c=r.dataType,u=l.getData(c),d=this._renderMode,p=t.positionDefault,f=Eet([u.getItemModel(s),l,i&&(i.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),h=f.get("trigger");if(null==h||"item"===h){var g=l.getDataParams(s,c),m=new JY;g.marker=m.makeTooltipMarker("item",cB(g.color),d);var b=oY(l.formatTooltip(s,!1,c)),v=f.get("order"),y=b.markupFragment?UY(b.markupFragment,m,d,v,a.get("useUTC"),f.get("textStyle")):b.markupText,x="item_"+l.name+"_"+s;this._showOrMove(f,(function(){this._showTooltipContent(f,y,g,x,t.offsetX,t.offsetY,t.position,t.target,m)})),n({type:"showTip",dataIndexInside:s,dataIndex:u.getRawIndex(s),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var a=Dz(e),r=a.tooltipConfig.option||{};if(PO(r)){r={content:r,formatter:r}}var o=[r],i=this._ecModel.getComponent(a.componentMainType,a.componentIndex);i&&o.push(i),o.push({formatter:r.content});var l=t.positionDefault,s=Eet(o,this._tooltipModel,l?{position:l}:null),c=s.get("content"),u=Math.random()+"",d=new JY;this._showOrMove(s,(function(){var n=pO(s.get("formatterParams")||{});this._showTooltipContent(s,c,n,u,t.offsetX,t.offsetY,t.position,e,d)})),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,a,r,o,i,l,s){if(this._ticket="",t.get("showContent")&&t.get("show")){var c=this._tooltipContent,u=t.get("formatter");i=i||t.get("position");var d=e,p=this._getNearestPoint([r,o],n,t.get("trigger"),t.get("borderColor")).color;if(u)if(PO(u)){var f=t.ecModel.get("useUTC"),h=DO(n)?n[0]:n;d=u,h&&h.axisType&&h.axisType.indexOf("time")>=0&&(d=zF(h.axisValue,d,f)),d=lB(d,n,!0)}else if(IO(u)){var g=_et((function(e,a){e===this._ticket&&(c.setContent(a,s,t,p,i),this._updatePosition(t,i,r,o,c,n,l))}),this);this._ticket=a,d=u(n,a,g)}else d=u;c.setContent(d,s,t,p,i),c.show(t,p),this._updatePosition(t,i,r,o,c,n,l)}},e.prototype._getNearestPoint=function(t,e,n,a){return"axis"===n||DO(e)?{color:a||("html"===this._renderMode?"#fff":"none")}:DO(e)?void 0:{color:a||e.color||e.borderColor}},e.prototype._doUpdatePosition=function(t,e,n,a,r,o,i){var l=this._api.getWidth(),s=this._api.getHeight();e=e||t.get("position");var c=r.getSize(),u=t.get("align"),d=t.get("verticalAlign"),p=i&&i.getBoundingRect().clone();if(i&&p.applyTransform(i.transform),IO(e)&&(e=e([n,a],o,r.el,p,{viewSize:[l,s],contentSize:c.slice()})),DO(e))n=Cet(e[0],l),a=Cet(e[1],s);else if(zO(e)){var f=e;f.width=c[0],f.height=c[1];var h=mB(f,{width:l,height:s});n=h.x,a=h.y,u=null,d=null}else if(PO(e)&&i){var g=function(t,e,n,a){var r=n[0],o=n[1],i=Math.ceil(Math.SQRT2*a)+8,l=0,s=0,c=e.width,u=e.height;switch(t){case"inside":l=e.x+c/2-r/2,s=e.y+u/2-o/2;break;case"top":l=e.x+c/2-r/2,s=e.y-o-i;break;case"bottom":l=e.x+c/2-r/2,s=e.y+u+i;break;case"left":l=e.x-r-i,s=e.y+u/2-o/2;break;case"right":l=e.x+c+i,s=e.y+u/2-o/2}return[l,s]}(e,p,c,t.get("borderWidth"));n=g[0],a=g[1]}else{g=function(t,e,n,a,r,o,i){var l=n.getSize(),s=l[0],c=l[1];null!=o&&(t+s+o+2>a?t-=s+o:t+=o);null!=i&&(e+c+i>r?e-=c+i:e+=i);return[t,e]}(n,a,r,l,s,u?null:20,d?null:20);n=g[0],a=g[1]}if(u&&(n-=Det(u)?c[0]/2:"right"===u?c[0]:0),d&&(a-=Det(d)?c[1]/2:"bottom"===d?c[1]:0),iet(t)){g=function(t,e,n,a,r){var o=n.getSize(),i=o[0],l=o[1];return t=Math.min(t+i,a)-i,e=Math.min(e+l,r)-l,t=Math.max(t,0),e=Math.max(e,0),[t,e]}(n,a,r,l,s);n=g[0],a=g[1]}r.moveTo(n,a)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,a=this._cbParamsList,r=!!n&&n.length===t.length;return r&&ket(n,(function(n,o){var i=n.dataByAxis||[],l=(t[o]||{}).dataByAxis||[];(r=r&&i.length===l.length)&&ket(i,(function(t,n){var o=l[n]||{},i=t.seriesDataIndices||[],s=o.seriesDataIndices||[];(r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&i.length===s.length)&&ket(i,(function(t,e){var n=s[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})),a&&_O(t.seriesDataIndices,(function(t){var n=t.seriesIndex,o=e[n],i=a[n];o&&i&&i.data!==o.data&&(r=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){XM.node||(this._tooltipContent.dispose(),T7("itemTooltip",e))},e.type="tooltip",e}(cH);function Eet(t,e,n){var a,r=e.ecModel;n?(a=new dF(n,r,r),a=new dF(e.option,a,r)):a=e;for(var o=t.length-1;o>=0;o--){var i=t[o];i&&(i instanceof dF&&(i=i.get("tooltip",!0)),PO(i)&&(i={formatter:i}),i&&(a=new dF(i,a,r)))}return a}function Tet(t,e){return t.dispatchAction||EO(e.dispatchAction,e)}function Det(t){return"center"===t||"middle"===t}function Iet(t){Kq(F7),t.registerComponentModel(oet),t.registerComponentView(Oet),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},(function(){})),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},(function(){}))}var Pet=["rect","polygon","keep","clear"];function Net(t,e){var n=kP(t?t.brush:[]);if(n.length){var a=[];_O(n,(function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(a=a.concat(e))}));var r=t&&t.toolbox;DO(r)&&(r=r[0]),r||(r={feature:{}},t.toolbox=[r]);var o=r.feature||(r.feature={}),i=o.brush||(o.brush={}),l=i.type||(i.type=[]);l.push.apply(l,a),function(t){var e={};_O(t,(function(t){e[t]=1})),t.length=0,_O(e,(function(e,n){t.push(n)}))}(l),e&&!l.length&&l.push.apply(l,Pet)}}var Aet=_O;function zet(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function Ret(t,e,n){var a={};return Aet(e,(function(e){var r,o=a[e]=((r=function(){}).prototype.__hidden=r.prototype,new r);Aet(t[e],(function(t,a){if(F1.isValidType(a)){var r={type:a,visual:t};n&&n(r,e),o[a]=new F1(r),"opacity"===a&&((r=pO(r)).type="colorAlpha",o.__hidden.__alphaForOpacity=new F1(r))}}))})),a}function Let(t,e,n){var a;_O(n,(function(t){e.hasOwnProperty(t)&&zet(e[t])&&(a=!0)})),a&&_O(n,(function(n){e.hasOwnProperty(n)&&zet(e[n])?t[n]=pO(e[n]):delete t[n]}))}var jet={lineX:Fet(0),lineY:Fet(1),rect:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])},rect:function(t,e,n){return t&&n.boundingRect.intersect(t)}},polygon:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])&&xU(n.range,t[0],t[1])},rect:function(t,e,n){var a=n.range;if(!t||a.length<=1)return!1;var r=t.x,o=t.y,i=t.width,l=t.height,s=a[0];return!!(xU(a,r,o)||xU(a,r+i,o)||xU(a,r,o+l)||xU(a,r+i,o+l)||bI.create(t).contain(s[0],s[1])||Aj(r,o,r+i,o,a)||Aj(r,o,r,o+l,a)||Aj(r+i,o,r+i,o+l,a)||Aj(r,o+l,r+i,o+l,a))||void 0}}};function Fet(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,a){if(e){var r=a.range;return Bet(e[t],r)}},rect:function(a,r,o){if(a){var i=o.range,l=[a[e[t]],a[e[t]]+a[n[t]]];return l[1]<l[0]&&l.reverse(),Bet(l[0],i)||Bet(l[1],i)||Bet(i[0],l)||Bet(i[1],l)}}}}function Bet(t,e){return e[0]<=t&&t<=e[1]}var Vet=["inBrush","outOfBrush"],Yet="__ecBrushSelect",Het="__ecInBrushSelectEvent";function Wet(t){t.eachComponent({mainType:"brush"},(function(e){(e.brushTargetManager=new Vtt(e.option,t)).setInputRanges(e.areas,t)}))}function Uet(t,e,n){var a,r,o=[];t.eachComponent({mainType:"brush"},(function(t){n&&"takeGlobalCursor"===n.type&&t.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1})})),Wet(t),t.eachComponent({mainType:"brush"},(function(e,n){var i={brushId:e.id,brushIndex:n,brushName:e.name,areas:pO(e.areas),selected:[]};o.push(i);var l=e.option,s=l.brushLink,c=[],u=[],d=[],p=!1;n||(a=l.throttleType,r=l.throttleDelay);var f=kO(e.areas,(function(t){var e=qet[t.brushType],n=mO({boundingRect:e?e(t):void 0},t);return n.selectors=function(t){var e=t.brushType,n={point:function(a){return jet[e].point(a,n,t)},rect:function(a){return jet[e].rect(a,n,t)}};return n}(n),n})),h=Ret(e.option,Vet,(function(t){t.mappingMethod="fixed"}));function g(t){return"all"===s||!!c[t]}function m(t){return!!t.length}DO(s)&&_O(s,(function(t){c[t]=1})),t.eachSeries((function(n,a){var r=d[a]=[];"parallel"===n.subType?function(t,e){var n=t.coordinateSystem;p=p||n.hasAxisBrushed(),g(e)&&n.eachActiveState(t.getData(),(function(t,e){"active"===t&&(u[e]=1)}))}(n,a):function(n,a,r){if(!n.brushSelector||function(t,e){var n=t.option.seriesIndex;return null!=n&&"all"!==n&&(DO(n)?vO(n,e)<0:e!==n)}(e,a))return;if(_O(f,(function(a){e.brushTargetManager.controlSeries(a,n,t)&&r.push(a),p=p||m(r)})),g(a)&&m(r)){var o=n.getData();o.each((function(t){Ket(n,r,o,t)&&(u[t]=1)}))}}(n,a,r)})),t.eachSeries((function(t,e){var n={seriesId:t.id,seriesIndex:e,seriesName:t.name,dataIndex:[]};i.selected.push(n);var a=d[e],r=t.getData(),o=g(e)?function(t){return u[t]?(n.dataIndex.push(r.getRawIndex(t)),"inBrush"):"outOfBrush"}:function(e){return Ket(t,a,r,e)?(n.dataIndex.push(r.getRawIndex(e)),"inBrush"):"outOfBrush"};(g(e)?p:m(a))&&function(t,e,n,a,r,o){var i,l={};function s(t){return rW(n,i,t)}function c(t,e){iW(n,i,t,e)}function u(t,u){i=null==o?t:u;var d=n.getRawDataItem(i);if(!d||!1!==d.visualMap)for(var p=a.call(r,t),f=e[p],h=l[p],g=0,m=h.length;g<m;g++){var b=h[g];f[b]&&f[b].applyVisual(t,s,c)}}_O(t,(function(t){var n=F1.prepareVisualTypes(e[t]);l[t]=n})),null==o?n.each(u):n.each([o],u)}(Vet,h,r,o)}))})),function(t,e,n,a,r){if(!r)return;var o=t.getZr();if(o[Het])return;o.__ecBrushSelect||(o.__ecBrushSelect=Get);kH(o,Yet,n,e)(t,a)}(e,a,r,o,n)}function Get(t,e){if(!t.isDisposed()){var n=t.getZr();n[Het]=!0,t.dispatchAction({type:"brushSelect",batch:e}),n[Het]=!1}}function Ket(t,e,n,a){for(var r=0,o=e.length;r<o;r++){var i=e[r];if(t.brushSelector(a,n,i.selectors,i))return!0}}var qet={rect:function(t){return Xet(t.range)},polygon:function(t){for(var e,n=t.range,a=0,r=n.length;a<r;a++){e=e||[[1/0,-1/0],[1/0,-1/0]];var o=n[a];o[0]<e[0][0]&&(e[0][0]=o[0]),o[0]>e[0][1]&&(e[0][1]=o[0]),o[1]<e[1][0]&&(e[1][0]=o[1]),o[1]>e[1][1]&&(e[1][1]=o[1])}return e&&Xet(e)}};function Xet(t){return new bI(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var Zet=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new m2(e.getZr())).on("brush",EO(this._onBrush,this)).mount()},e.prototype.render=function(t,e,n,a){this.model=t,this._updateController(t,e,n,a)},e.prototype.updateTransform=function(t,e,n,a){Wet(e),this._updateController(t,e,n,a)},e.prototype.updateVisual=function(t,e,n,a){this.updateTransform(t,e,n,a)},e.prototype.updateView=function(t,e,n,a){this._updateController(t,e,n,a)},e.prototype._updateController=function(t,e,n,a){(!a||a.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},e.prototype.dispose=function(){this._brushController.dispose()},e.prototype._onBrush=function(t){var e=this.model.id,n=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:e,areas:pO(n),$from:e}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:pO(n),$from:e})},e.type="brush",e}(cH),Jet=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.areas=[],n.brushOption={},n}return d(e,t),e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&Let(n,t,["inBrush","outOfBrush"]);var a=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:"#ddd"},a.hasOwnProperty("liftZ")||(a.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=kO(t,(function(t){return $et(this.option,t)}),this))},e.prototype.setBrushOption=function(t){this.brushOption=$et(this.option,t),this.brushType=this.brushOption.brushType},e.type="brush",e.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],e.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},e}(kB);function $et(t,e){return fO({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new dF(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var Qet=["rect","polygon","lineX","lineY","keep","clear"],tnt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.prototype.render=function(t,e,n){var a,r,o;e.eachComponent({mainType:"brush"},(function(t){a=t.brushType,r=t.brushOption.brushMode||"single",o=o||!!t.areas.length})),this._brushType=a,this._brushMode=r,_O(t.get("type",!0),(function(e){t.setIconStatus(e,("keep"===e?"multiple"===r:"clear"===e?o:e===a)?"emphasis":"normal")}))},e.prototype.updateView=function(t,e,n){this.render(t,e,n)},e.prototype.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return _O(t.get("type",!0),(function(t){e[t]&&(n[t]=e[t])})),n},e.prototype.onclick=function(t,e,n){var a=this._brushType,r=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?a:a!==n&&n,brushMode:"keep"===n?"multiple"===r?"single":"multiple":r}})},e.getDefaultOption=function(t){return{show:!0,type:Qet.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.getLocaleModel().get(["toolbox","brush","title"])}},e}(btt);var ent=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return d(e,t),e.type="title",e.defaultOption={zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(kB),nnt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var a=this.group,r=t.getModel("textStyle"),o=t.getModel("subtextStyle"),i=t.get("textAlign"),l=WO(t.get("textBaseline"),t.get("textVerticalAlign")),s=new Tz({style:Wj(r,{text:t.get("text"),fill:r.getTextColor()},{disableBox:!0}),z2:10}),c=s.getBoundingRect(),u=t.get("subtext"),d=new Tz({style:Wj(o,{text:u,fill:o.getTextColor(),y:c.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),p=t.get("link"),f=t.get("sublink"),h=t.get("triggerEvent",!0);s.silent=!p&&!h,d.silent=!f&&!h,p&&s.on("click",(function(){uB(p,"_"+t.get("target"))})),f&&d.on("click",(function(){uB(f,"_"+t.get("subtarget"))})),Dz(s).eventData=Dz(d).eventData=h?{componentType:"title",componentIndex:t.componentIndex}:null,a.add(s),u&&a.add(d);var g=a.getBoundingRect(),m=t.getBoxLayoutParams();m.width=g.width,m.height=g.height;var b=mB(m,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));i||("middle"===(i=t.get("left")||t.get("right"))&&(i="center"),"right"===i?b.x+=b.width:"center"===i&&(b.x+=b.width/2)),l||("center"===(l=t.get("top")||t.get("bottom"))&&(l="middle"),"bottom"===l?b.y+=b.height:"middle"===l&&(b.y+=b.height/2),l=l||"top"),a.x=b.x,a.y=b.y,a.markRedraw();var v={align:i,verticalAlign:l};s.setStyle(v),d.setStyle(v),g=a.getBoundingRect();var y=b.margin,x=t.getItemStyle(["color","opacity"]);x.fill=t.get("backgroundColor");var w=new bz({shape:{x:g.x-y[3],y:g.y-y[0],width:g.width+y[1]+y[3],height:g.height+y[0]+y[2],r:t.get("borderRadius")},style:x,subPixelOptimize:!0,silent:!0});a.add(w)}},e.type="title",e}(cH);function ant(t){t.registerComponentModel(ent),t.registerComponentView(nnt)}var rnt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode="box",n}return d(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._initData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this._initData()},e.prototype.setCurrentIndex=function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},e.prototype.getCurrentIndex=function(){return this.option.currentIndex},e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},e.prototype.setPlayState=function(t){this.option.autoPlay=!!t},e.prototype.getPlayState=function(){return!!this.option.autoPlay},e.prototype._initData=function(){var t,e=this.option,n=e.data||[],a=e.axisType,r=this._names=[];"category"===a?(t=[],_O(n,(function(e,n){var a,o=IP(MP(e),"");zO(e)?(a=pO(e)).value=n:a=n,t.push(a),r.push(o)}))):t=n;var o={category:"ordinal",time:"time",value:"number"}[a]||"number";(this._data=new OK([{name:"value",type:o}],this)).initData(t,r)},e.prototype.getData=function(){return this._data},e.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},e.type="timeline",e.defaultOption={zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},e}(kB),ont=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.type="timeline.slider",e.defaultOption=hF(rnt.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),e}(rnt);xO(ont,rY.prototype);var int=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.type="timeline",e}(cH),lnt=function(t){function e(e,n,a,r){var o=t.call(this,e,n,a)||this;return o.type=r||"value",o}return d(e,t),e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},e}(cX),snt=Math.PI,cnt=zP(),unt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.init=function(t,e){this.api=e},e.prototype.render=function(t,e,n){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var a=this._layout(t,n),r=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),i=this._axis=this._createAxis(a,t);t.formatTooltip=function(t){return YY("nameValue",{noName:!0,value:i.scale.getLabel({value:t})})},_O(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](a,r,i,t)}),this),this._renderAxisLabel(a,o,i,t),this._position(a,t)}this._doPlayStop(),this._updateTicksStatus()},e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},e.prototype.dispose=function(){this._clearTimer()},e.prototype._layout=function(t,e){var n,a,r,o,i=t.get(["label","position"]),l=t.get("orient"),s=function(t,e){return mB(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}(t,e),c={horizontal:"center",vertical:(n=null==i||"auto"===i?"horizontal"===l?s.y+s.height/2<e.getHeight()/2?"-":"+":s.x+s.width/2<e.getWidth()/2?"+":"-":PO(i)?{horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[l][i]:i)>=0||"+"===n?"left":"right"},u={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},d={horizontal:0,vertical:snt/2},p="vertical"===l?s.height:s.width,f=t.getModel("controlStyle"),h=f.get("show",!0),g=h?f.get("itemSize"):0,m=h?f.get("itemGap"):0,b=g+m,v=t.get(["label","rotate"])||0;v=v*snt/180;var y=f.get("position",!0),x=h&&f.get("showPlayBtn",!0),w=h&&f.get("showPrevBtn",!0),_=h&&f.get("showNextBtn",!0),k=0,S=p;"left"===y||"bottom"===y?(x&&(a=[0,0],k+=b),w&&(r=[k,0],k+=b),_&&(o=[S-g,0],S-=b)):(x&&(a=[S-g,0],S-=b),w&&(r=[0,0],k+=b),_&&(o=[S-g,0],S-=b));var C=[k,S];return t.get("inverse")&&C.reverse(),{viewRect:s,mainLength:p,orient:l,rotation:d[l],labelRotation:v,labelPosOpt:n,labelAlign:t.get(["label","align"])||c[l],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||u[l],playPosition:a,prevBtnPosition:r,nextBtnPosition:o,axisExtent:C,controlSize:g,controlGap:m}},e.prototype._position=function(t,e){var n=this._mainGroup,a=this._labelGroup,r=t.viewRect;if("vertical"===t.orient){var o=[1,0,0,1,0,0],i=r.x,l=r.y+r.height;YD(o,o,[-i,-l]),HD(o,o,-snt/2),YD(o,o,[i,l]),(r=r.clone()).applyTransform(o)}var s=m(r),c=m(n.getBoundingRect()),u=m(a.getBoundingRect()),d=[n.x,n.y],p=[a.x,a.y];p[0]=d[0]=s[0][0];var f,h=t.labelPosOpt;null==h||PO(h)?(b(d,c,s,1,f="+"===h?0:1),b(p,u,s,1,1-f)):(b(d,c,s,1,f=h>=0?0:1),p[1]=d[1]+h);function g(t){t.originX=s[0][0]-t.x,t.originY=s[1][0]-t.y}function m(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function b(t,e,n,a,r){t[a]+=n[a][r]-e[a][r]}n.setPosition(d),a.setPosition(p),n.rotation=a.rotation=t.rotation,g(n),g(a)},e.prototype._createAxis=function(t,e){var n=e.getData(),a=e.get("axisType"),r=function(t,e){if(e=e||t.get("type"))switch(e){case"category":return new qK({ordinalMeta:t.getCategories(),extent:[1/0,-1/0]});case"time":return new uq({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new ZK}}(e,a);r.getTicks=function(){return n.mapArray(["value"],(function(t){return{value:t}}))};var o=n.getDataExtent("value");r.setExtent(o[0],o[1]),r.niceTicks();var i=new lnt("value",r,t.axisExtent,a);return i.model=e,i},e.prototype._createGroup=function(t){var e=this[t]=new VI;return this.group.add(e),e},e.prototype._renderAxisLine=function(t,e,n,a){var r=n.getExtent();if(a.get(["lineStyle","show"])){var o=new DL({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:gO({lineCap:"round"},a.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(o);var i=this._progressLine=new DL({shape:{x1:r[0],x2:this._currentPointer?this._currentPointer.x:r[0],y1:0,y2:0},style:mO({lineCap:"round",lineWidth:o.style.lineWidth},a.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});e.add(i)}},e.prototype._renderAxisTick=function(t,e,n,a){var r=this,o=a.getData(),i=n.scale.getTicks();this._tickSymbols=[],_O(i,(function(t){var i=n.dataToCoord(t.value),l=o.getItemModel(t.value),s=l.getModel("itemStyle"),c=l.getModel(["emphasis","itemStyle"]),u=l.getModel(["progress","itemStyle"]),d={x:i,y:0,onclick:EO(r._changeTimeline,r,t.value)},p=dnt(l,s,e,d);p.ensureState("emphasis").style=c.getItemStyle(),p.ensureState("progress").style=u.getItemStyle(),yR(p);var f=Dz(p);l.get("tooltip")?(f.dataIndex=t.value,f.dataModel=a):f.dataIndex=f.dataModel=null,r._tickSymbols.push(p)}))},e.prototype._renderAxisLabel=function(t,e,n,a){var r=this;if(n.getLabelModel().get("show")){var o=a.getData(),i=n.getViewLabels();this._tickLabels=[],_O(i,(function(a){var i=a.tickValue,l=o.getItemModel(i),s=l.getModel("label"),c=l.getModel(["emphasis","label"]),u=l.getModel(["progress","label"]),d=n.dataToCoord(a.tickValue),p=new Tz({x:d,y:0,rotation:t.labelRotation-t.rotation,onclick:EO(r._changeTimeline,r,i),silent:!1,style:Wj(s,{text:a.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});p.ensureState("emphasis").style=Wj(c),p.ensureState("progress").style=Wj(u),e.add(p),yR(p),cnt(p).dataIndex=i,r._tickLabels.push(p)}))}},e.prototype._renderControl=function(t,e,n,a){var r=t.controlSize,o=t.rotation,i=a.getModel("controlStyle").getItemStyle(),l=a.getModel(["emphasis","controlStyle"]).getItemStyle(),s=a.getPlayState(),c=a.get("inverse",!0);function u(t,n,s,c){if(t){var u=OI(WO(a.get(["controlStyle",n+"BtnSize"]),r),r),d=function(t,e,n,a){var r=a.style,o=Nj(t.get(["controlStyle",e]),a||{},new bI(n[0],n[1],n[2],n[3]));r&&o.setStyle(r);return o}(a,n+"Icon",[0,-u/2,u,u],{x:t[0],y:t[1],originX:r/2,originY:0,rotation:c?-o:0,rectHover:!0,style:i,onclick:s});d.ensureState("emphasis").style=l,e.add(d),yR(d)}}u(t.nextBtnPosition,"next",EO(this._changeTimeline,this,c?"-":"+")),u(t.prevBtnPosition,"prev",EO(this._changeTimeline,this,c?"+":"-")),u(t.playPosition,s?"stop":"play",EO(this._handlePlayClick,this,!s),!0)},e.prototype._renderCurrentPointer=function(t,e,n,a){var r=a.getData(),o=a.getCurrentIndex(),i=r.getItemModel(o).getModel("checkpointStyle"),l=this,s={onCreate:function(t){t.draggable=!0,t.drift=EO(l._handlePointerDrag,l),t.ondragend=EO(l._handlePointerDragend,l),pnt(t,l._progressLine,o,n,a,!0)},onUpdate:function(t){pnt(t,l._progressLine,o,n,a)}};this._currentPointer=dnt(i,i,this._mainGroup,{},this._currentPointer,s)},e.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},e.prototype._handlePointerDrag=function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},e.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},e.prototype._pointerChangeTimeline=function(t,e){var n=this._toAxisCoord(t)[0],a=QI(this._axis.getExtent().slice());n>a[1]&&(n=a[1]),n<a[0]&&(n=a[0]),this._currentPointer.x=n,this._currentPointer.markRedraw(),this._progressLine.shape.x2=n,this._progressLine.dirty();var r=this._findNearestTick(n),o=this.model;(e||r!==o.getCurrentIndex()&&o.get("realtime"))&&this._changeTimeline(r)},e.prototype._doPlayStop=function(){var t=this;this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout((function(){var e=t.model;t._changeTimeline(e.getCurrentIndex()+(e.get("rewind",!0)?-1:1))}),this.model.get("playInterval")))},e.prototype._toAxisCoord=function(t){return Oj(t,this._mainGroup.getLocalTransform(),!0)},e.prototype._findNearestTick=function(t){var e,n=this.model.getData(),a=1/0,r=this._axis;return n.each(["value"],(function(n,o){var i=r.dataToCoord(n),l=Math.abs(i-t);l<a&&(a=l,e=o)})),e},e.prototype._clearTimer=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},e.prototype._changeTimeline=function(t){var e=this.model.getCurrentIndex();"+"===t?t=e+1:"-"===t&&(t=e-1),this.api.dispatchAction({type:"timelineChange",currentIndex:t,from:this.uid})},e.prototype._updateTicksStatus=function(){var t=this.model.getCurrentIndex(),e=this._tickSymbols,n=this._tickLabels;if(e)for(var a=0;a<e.length;a++)e&&e[a]&&e[a].toggleState("progress",a<t);if(n)for(a=0;a<n.length;a++)n&&n[a]&&n[a].toggleState("progress",cnt(n[a]).dataIndex<=t)},e.type="timeline.slider",e}(int);function dnt(t,e,n,a,r,o){var i=e.get("color");r?(r.setColor(i),n.add(r),o&&o.onUpdate(r)):((r=_W(t.get("symbol"),-1,-1,2,2,i)).setStyle("strokeNoScale",!0),n.add(r),o&&o.onCreate(r));var l=e.getItemStyle(["color"]);r.setStyle(l),a=fO({rectHover:!0,z2:100},a,!0);var s=kW(t.get("symbolSize"));a.scaleX=s[0]/2,a.scaleY=s[1]/2;var c=SW(t.get("symbolOffset"),s);c&&(a.x=(a.x||0)+c[0],a.y=(a.y||0)+c[1]);var u=t.get("symbolRotate");return a.rotation=(u||0)*Math.PI/180||0,r.attr(a),r.updateTransform(),r}function pnt(t,e,n,a,r,o){if(!t.dragging){var i=r.getModel("checkpointStyle"),l=a.dataToCoord(r.getData().get("value",n));if(o||!i.get("animation",!0))t.attr({x:l,y:0}),e&&e.attr({shape:{x2:l}});else{var s={duration:i.get("animationDuration",!0),easing:i.get("animationEasing",!0)};t.stopAnimation(null,!0),t.animateTo({x:l,y:0},s),e&&e.animateTo({shape:{x2:l}},s)}}}function fnt(t){var e=t&&t.timeline;DO(e)||(e=e?[e]:[]),_O(e,(function(t){t&&function(t){var e=t.type,n={number:"value",time:"time"};n[e]&&(t.axisType=n[e],delete t.type);if(hnt(t),gnt(t,"controlPosition")){var a=t.controlStyle||(t.controlStyle={});gnt(a,"position")||(a.position=t.controlPosition),"none"!==a.position||gnt(a,"show")||(a.show=!1,delete a.position),delete t.controlPosition}_O(t.data||[],(function(t){zO(t)&&!DO(t)&&(!gnt(t,"value")&&gnt(t,"name")&&(t.value=t.name),hnt(t))}))}(t)}))}function hnt(t){var e=t.itemStyle||(t.itemStyle={}),n=e.emphasis||(e.emphasis={}),a=t.label||t.label||{},r=a.normal||(a.normal={}),o={normal:1,emphasis:1};_O(a,(function(t,e){o[e]||gnt(r,e)||(r[e]=t)})),n.label&&!gnt(a,"emphasis")&&(a.emphasis=n.label,delete n.label)}function gnt(t,e){return t.hasOwnProperty(e)}function mnt(t,e){if(!t)return!1;for(var n=DO(t)?t:[t],a=0;a<n.length;a++)if(n[a]&&n[a][e])return!0;return!1}function bnt(t){SP(t,"label",["show"])}var vnt=zP(),ynt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.createdBySelf=!1,n}return d(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._mergeOption(t,n,!1,!0)},e.prototype.isAnimationEnabled=function(){if(XM.node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},e.prototype.mergeOption=function(t,e){this._mergeOption(t,e,!1,!1)},e.prototype._mergeOption=function(t,e,n,a){var r=this.mainType;n||e.eachSeries((function(t){var n=t.get(this.mainType,!0),o=vnt(t)[r];n&&n.data?(o?o._mergeOption(n,e,!0):(a&&bnt(n),_O(n.data,(function(t){t instanceof Array?(bnt(t[0]),bnt(t[1])):bnt(t)})),gO(o=this.createMarkerModelFromSeries(n,this,e),{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),o.__hostSeries=t),vnt(t)[r]=o):vnt(t)[r]=null}),this)},e.prototype.formatTooltip=function(t,e,n){var a=this.getData(),r=this.getRawValue(t),o=a.getName(t);return YY("section",{header:this.name,blocks:[YY("nameValue",{name:o,value:r,noName:!o,noValue:null==r})]})},e.prototype.getData=function(){return this._data},e.prototype.setData=function(t){this._data=t},e.getMarkerModelFromSeries=function(t,e){return vnt(t)[e]},e.type="marker",e.dependencies=["series","grid","polar","geo"],e}(kB);xO(ynt,rY.prototype);var xnt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,a){return new e(t,n,a)},e.type="markPoint",e.defaultOption={zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},e}(ynt);function wnt(t,e,n,a,r,o){var i=[],l=AK(e,a)?e.getCalculationInfo("stackResultDimension"):a,s=Ont(e,l,t),c=e.indicesOfNearest(l,s)[0];i[r]=e.get(n,c),i[o]=e.get(l,c);var u=e.get(a,c),d=tP(e.get(a,c));return(d=Math.min(d,20))>=0&&(i[o]=+i[o].toFixed(d)),[i,u]}var _nt={min:TO(wnt,"min"),max:TO(wnt,"max"),average:TO(wnt,"average"),median:TO(wnt,"median")};function knt(t,e){var n=t.getData(),a=t.coordinateSystem;if(e&&!function(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}(e)&&!DO(e.coord)&&a){var r=a.dimensions,o=Snt(e,n,a,t);if((e=pO(e)).type&&_nt[e.type]&&o.baseAxis&&o.valueAxis){var i=vO(r,o.baseAxis.dim),l=vO(r,o.valueAxis.dim),s=_nt[e.type](n,o.baseDataDim,o.valueDataDim,i,l);e.coord=s[0],e.value=s[1]}else{for(var c=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis],u=0;u<2;u++)_nt[c[u]]&&(c[u]=Ont(n,n.mapDimension(r[u]),c[u]));e.coord=c}}return e}function Snt(t,e,n,a){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=n.getAxis(function(t,e){var n=t.getData().getDimensionInfo(e);return n&&n.coordDim}(a,r.valueDataDim)),r.baseAxis=n.getOtherAxis(r.valueAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim)):(r.baseAxis=a.getBaseAxis(),r.valueAxis=n.getOtherAxis(r.baseAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim),r.valueDataDim=e.mapDimension(r.valueAxis.dim)),r}function Cnt(t,e){return!(t&&t.containData&&e.coord&&!function(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}(e))||t.containData(e.coord)}function Mnt(t,e){return t?function(t,n,a,r){return cY(r<2?t.coord&&t.coord[r]:t.value,e[r])}:function(t,n,a,r){return cY(t.value,e[r])}}function Ont(t,e,n){if("average"===n){var a=0,r=0;return t.each(e,(function(t,e){isNaN(t)||(a+=t,r++)})),a/r}return"median"===n?t.getMedian(e):t.getDataExtent(e)["max"===n?1:0]}var Ent=zP(),Tnt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.init=function(){this.markerGroupMap=tE()},e.prototype.render=function(t,e,n){var a=this,r=this.markerGroupMap;r.each((function(t){Ent(t).keep=!1})),e.eachSeries((function(t){var r=ynt.getMarkerModelFromSeries(t,a.type);r&&a.renderSeries(t,r,e,n)})),r.each((function(t){!Ent(t).keep&&a.group.remove(t.group)}))},e.prototype.markKeep=function(t){Ent(t).keep=!0},e.prototype.blurSeries=function(t){var e=this;_O(t,(function(t){var n=ynt.getMarkerModelFromSeries(t,e.type);n&&n.getData().eachItemGraphicEl((function(t){t&&sR(t)}))}))},e.type="marker",e}(cH);function Dnt(t,e,n){var a=e.coordinateSystem;t.each((function(r){var o,i=t.getItemModel(r),l=JI(i.get("x"),n.getWidth()),s=JI(i.get("y"),n.getHeight());if(isNaN(l)||isNaN(s)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,r));else if(a){var c=t.get(a.dimensions[0],r),u=t.get(a.dimensions[1],r);o=a.dataToPoint([c,u])}}else o=[l,s];isNaN(l)||(o[0]=l),isNaN(s)||(o[1]=s),t.setItemLayout(r,o)}))}var Int=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=ynt.getMarkerModelFromSeries(t,"markPoint");e&&(Dnt(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout())}),this)},e.prototype.renderSeries=function(t,e,n,a){var r=t.coordinateSystem,o=t.id,i=t.getData(),l=this.markerGroupMap,s=l.get(o)||l.set(o,new dJ),c=function(t,e,n){var a;a=t?kO(t&&t.dimensions,(function(t){return gO(gO({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new OK(a,n),o=kO(n.get("data"),TO(knt,e));t&&(o=CO(o,TO(Cnt,t)));var i=Mnt(!!t,a);return r.initData(o,null,i),r}(r,t,e);e.setData(c),Dnt(e.getData(),t,a),c.each((function(t){var n=c.getItemModel(t),a=n.getShallow("symbol"),r=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),l=n.getShallow("symbolOffset"),s=n.getShallow("symbolKeepAspect");if(IO(a)||IO(r)||IO(o)||IO(l)){var u=e.getRawValue(t),d=e.getDataParams(t);IO(a)&&(a=a(u,d)),IO(r)&&(r=r(u,d)),IO(o)&&(o=o(u,d)),IO(l)&&(l=l(u,d))}var p=n.getModel("itemStyle").getItemStyle(),f=oW(i,"color");p.fill||(p.fill=f),c.setItemVisual(t,{symbol:a,symbolSize:r,symbolRotate:o,symbolOffset:l,symbolKeepAspect:s,style:p})})),s.updateData(c),this.group.add(s.group),c.eachItemGraphicEl((function(t){t.traverse((function(t){Dz(t).dataModel=e}))})),this.markKeep(s),s.group.silent=e.get("silent")||t.get("silent")},e.type="markPoint",e}(Tnt);var Pnt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,a){return new e(t,n,a)},e.type="markLine",e.defaultOption={zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},e}(ynt),Nnt=zP(),Ant=function(t,e,n,a){var r,o=t.getData();if(DO(a))r=a;else{var i=a.type;if("min"===i||"max"===i||"average"===i||"median"===i||null!=a.xAxis||null!=a.yAxis){var l=void 0,s=void 0;if(null!=a.yAxis||null!=a.xAxis)l=e.getAxis(null!=a.yAxis?"y":"x"),s=HO(a.yAxis,a.xAxis);else{var c=Snt(a,o,e,t);l=c.valueAxis,s=Ont(o,zK(o,c.valueDataDim),i)}var u="x"===l.dim?0:1,d=1-u,p=pO(a),f={coord:[]};p.type=null,p.coord=[],p.coord[d]=-1/0,f.coord[d]=1/0;var h=n.get("precision");h>=0&&"number"==typeof s&&(s=+s.toFixed(Math.min(h,20))),p.coord[u]=f.coord[u]=s,r=[p,f,{type:i,valueIndex:a.valueIndex,value:s}]}else r=[]}var g=[knt(t,r[0]),knt(t,r[1]),gO({},r[2])];return g[2].type=g[2].type||null,fO(g[2],g[0]),fO(g[2],g[1]),g};function znt(t){return!isNaN(t)&&!isFinite(t)}function Rnt(t,e,n,a){var r=1-t,o=a.dimensions[t];return znt(e[r])&&znt(n[r])&&e[t]===n[t]&&a.getAxis(o).containData(e[t])}function Lnt(t,e){if("cartesian2d"===t.type){var n=e[0].coord,a=e[1].coord;if(n&&a&&(Rnt(1,n,a,t)||Rnt(0,n,a,t)))return!0}return Cnt(t,e[0])&&Cnt(t,e[1])}function jnt(t,e,n,a,r){var o,i=a.coordinateSystem,l=t.getItemModel(e),s=JI(l.get("x"),r.getWidth()),c=JI(l.get("y"),r.getHeight());if(isNaN(s)||isNaN(c)){if(a.getMarkerPosition)o=a.getMarkerPosition(t.getValues(t.dimensions,e));else{var u=i.dimensions,d=t.get(u[0],e),p=t.get(u[1],e);o=i.dataToPoint([d,p])}if(EJ(i,"cartesian2d")){var f=i.getAxis("x"),h=i.getAxis("y");u=i.dimensions;znt(t.get(u[0],e))?o[0]=f.toGlobalCoord(f.getExtent()[n?0:1]):znt(t.get(u[1],e))&&(o[1]=h.toGlobalCoord(h.getExtent()[n?0:1]))}isNaN(s)||(o[0]=s),isNaN(c)||(o[1]=c)}else o=[s,c];t.setItemLayout(e,o)}var Fnt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=ynt.getMarkerModelFromSeries(t,"markLine");if(e){var a=e.getData(),r=Nnt(e).from,o=Nnt(e).to;r.each((function(e){jnt(r,e,!0,t,n),jnt(o,e,!1,t,n)})),a.each((function(t){a.setItemLayout(t,[r.getItemLayout(t),o.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},e.prototype.renderSeries=function(t,e,n,a){var r=t.coordinateSystem,o=t.id,i=t.getData(),l=this.markerGroupMap,s=l.get(o)||l.set(o,new J3);this.group.add(s.group);var c=function(t,e,n){var a;a=t?kO(t&&t.dimensions,(function(t){return gO(gO({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new OK(a,n),o=new OK(a,n),i=new OK([],n),l=kO(n.get("data"),TO(Ant,e,t,n));t&&(l=CO(l,TO(Lnt,t)));var s=Mnt(!!t,a);return r.initData(kO(l,(function(t){return t[0]})),null,s),o.initData(kO(l,(function(t){return t[1]})),null,s),i.initData(kO(l,(function(t){return t[2]}))),i.hasItemOption=!0,{from:r,to:o,line:i}}(r,t,e),u=c.from,d=c.to,p=c.line;Nnt(e).from=u,Nnt(e).to=d,e.setData(p);var f=e.get("symbol"),h=e.get("symbolSize"),g=e.get("symbolRotate"),m=e.get("symbolOffset");function b(e,n,r){var o=e.getItemModel(n);jnt(e,n,r,t,a);var l=o.getModel("itemStyle").getItemStyle();null==l.fill&&(l.fill=oW(i,"color")),e.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:WO(o.get("symbolOffset",!0),m[r?0:1]),symbolRotate:WO(o.get("symbolRotate",!0),g[r?0:1]),symbolSize:WO(o.get("symbolSize"),h[r?0:1]),symbol:WO(o.get("symbol",!0),f[r?0:1]),style:l})}DO(f)||(f=[f,f]),DO(h)||(h=[h,h]),DO(g)||(g=[g,g]),DO(m)||(m=[m,m]),c.from.each((function(t){b(u,t,!0),b(d,t,!1)})),p.each((function(t){var e=p.getItemModel(t).getModel("lineStyle").getLineStyle();p.setItemLayout(t,[u.getItemLayout(t),d.getItemLayout(t)]),null==e.stroke&&(e.stroke=u.getItemVisual(t,"style").fill),p.setItemVisual(t,{fromSymbolKeepAspect:u.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:u.getItemVisual(t,"symbolOffset"),fromSymbolRotate:u.getItemVisual(t,"symbolRotate"),fromSymbolSize:u.getItemVisual(t,"symbolSize"),fromSymbol:u.getItemVisual(t,"symbol"),toSymbolKeepAspect:d.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:d.getItemVisual(t,"symbolOffset"),toSymbolRotate:d.getItemVisual(t,"symbolRotate"),toSymbolSize:d.getItemVisual(t,"symbolSize"),toSymbol:d.getItemVisual(t,"symbol"),style:e})})),s.updateData(p),c.line.eachItemGraphicEl((function(t,n){t.traverse((function(t){Dz(t).dataModel=e}))})),this.markKeep(s),s.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(Tnt);var Bnt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,a){return new e(t,n,a)},e.type="markArea",e.defaultOption={zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e}(ynt),Vnt=zP(),Ynt=function(t,e,n,a){var r=knt(t,a[0]),o=knt(t,a[1]),i=r.coord,l=o.coord;i[0]=HO(i[0],-1/0),i[1]=HO(i[1],-1/0),l[0]=HO(l[0],1/0),l[1]=HO(l[1],1/0);var s=hO([{},r,o]);return s.coord=[r.coord,o.coord],s.x0=r.x,s.y0=r.y,s.x1=o.x,s.y1=o.y,s};function Hnt(t){return!isNaN(t)&&!isFinite(t)}function Wnt(t,e,n,a){var r=1-t;return Hnt(e[r])&&Hnt(n[r])}function Unt(t,e){var n=e.coord[0],a=e.coord[1];return!!(EJ(t,"cartesian2d")&&n&&a&&(Wnt(1,n,a)||Wnt(0,n,a)))||(Cnt(t,{coord:n,x:e.x0,y:e.y0})||Cnt(t,{coord:a,x:e.x1,y:e.y1}))}function Gnt(t,e,n,a,r){var o,i=a.coordinateSystem,l=t.getItemModel(e),s=JI(l.get(n[0]),r.getWidth()),c=JI(l.get(n[1]),r.getHeight());if(isNaN(s)||isNaN(c)){if(a.getMarkerPosition)o=a.getMarkerPosition(t.getValues(n,e));else{var u=[f=t.get(n[0],e),h=t.get(n[1],e)];i.clampData&&i.clampData(u,u),o=i.dataToPoint(u,!0)}if(EJ(i,"cartesian2d")){var d=i.getAxis("x"),p=i.getAxis("y"),f=t.get(n[0],e),h=t.get(n[1],e);Hnt(f)?o[0]=d.toGlobalCoord(d.getExtent()["x0"===n[0]?0:1]):Hnt(h)&&(o[1]=p.toGlobalCoord(p.getExtent()["y0"===n[1]?0:1]))}isNaN(s)||(o[0]=s),isNaN(c)||(o[1]=c)}else o=[s,c];return o}var Knt=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],qnt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=ynt.getMarkerModelFromSeries(t,"markArea");if(e){var a=e.getData();a.each((function(e){var r=kO(Knt,(function(r){return Gnt(a,e,r,t,n)}));a.setItemLayout(e,r),a.getItemGraphicEl(e).setShape("points",r)}))}}),this)},e.prototype.renderSeries=function(t,e,n,a){var r=t.coordinateSystem,o=t.id,i=t.getData(),l=this.markerGroupMap,s=l.get(o)||l.set(o,{group:new VI});this.group.add(s.group),this.markKeep(s);var c=function(t,e,n){var a,r,o=["x0","y0","x1","y1"];if(t){var i=kO(t&&t.dimensions,(function(t){var n=e.getData();return gO(gO({},n.getDimensionInfo(n.mapDimension(t))||{}),{name:t,ordinalMeta:null})}));r=kO(o,(function(t,e){return{name:t,type:i[e%2].type}})),a=new OK(r,n)}else a=new OK(r=[{name:"value",type:"float"}],n);var l=kO(n.get("data"),TO(Ynt,e,t,n));t&&(l=CO(l,TO(Unt,t)));var s=t?function(t,e,n,a){return cY(t.coord[Math.floor(a/2)][a%2],r[a])}:function(t,e,n,a){return cY(t.value,r[a])};return a.initData(l,null,s),a.hasItemOption=!0,a}(r,t,e);e.setData(c),c.each((function(e){var n=kO(Knt,(function(n){return Gnt(c,e,n,t,a)})),o=r.getAxis("x").scale,l=r.getAxis("y").scale,s=o.getExtent(),u=l.getExtent(),d=[o.parse(c.get("x0",e)),o.parse(c.get("x1",e))],p=[l.parse(c.get("y0",e)),l.parse(c.get("y1",e))];QI(d),QI(p);var f=!!(s[0]>d[1]||s[1]<d[0]||u[0]>p[1]||u[1]<p[0]);c.setItemLayout(e,{points:n,allClipped:f});var h=c.getItemModel(e).getModel("itemStyle").getItemStyle(),g=oW(i,"color");h.fill||(h.fill=g,"string"==typeof h.fill&&(h.fill=qT(h.fill,.4))),h.stroke||(h.stroke=g),c.setItemVisual(e,"style",h)})),c.diff(Vnt(s).data).add((function(t){var e=c.getItemLayout(t);if(!e.allClipped){var n=new kL({shape:{points:e.points}});c.setItemGraphicEl(t,n),s.group.add(n)}})).update((function(t,n){var a=Vnt(s).data.getItemGraphicEl(n),r=c.getItemLayout(t);r.allClipped?a&&s.group.remove(a):(a?oj(a,{shape:{points:r.points}},e,t):a=new kL({shape:{points:r.points}}),c.setItemGraphicEl(t,a),s.group.add(a))})).remove((function(t){var e=Vnt(s).data.getItemGraphicEl(t);s.group.remove(e)})).execute(),c.eachItemGraphicEl((function(t,n){var a=c.getItemModel(n),r=c.getItemVisual(n,"style");t.useStyle(c.getItemVisual(n,"style")),Yj(t,Hj(a),{labelFetcher:e,labelDataIndex:n,defaultText:c.getName(n)||"",inheritColor:"string"==typeof r.fill?qT(r.fill,1):"#000"}),kR(t,a),yR(t),Dz(t).dataModel=e})),Vnt(s).data=c,s.group.silent=e.get("silent")||t.get("silent")},e.type="markArea",e}(Tnt);var Xnt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return d(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),this._updateSelector(e)},e.prototype._updateSelector=function(t){var e=t.selector,n=this.ecModel;!0===e&&(e=t.selector=["all","inverse"]),DO(e)&&_O(e,(function(t,a){PO(t)&&(t={type:t}),e[a]=fO(t,function(t,e){return"all"===e?{type:"all",title:t.getLocaleModel().get(["legend","selector","all"])}:"inverse"===e?{type:"inverse",title:t.getLocaleModel().get(["legend","selector","inverse"])}:void 0}(n,t.type))}))},e.prototype.optionUpdated=function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,n=0;n<t.length;n++){var a=t[n].get("name");if(this.isSelected(a)){this.select(a),e=!0;break}}!e&&this.select(t[0].get("name"))}},e.prototype._updateData=function(t){var e=[],n=[];t.eachRawSeries((function(a){var r,o=a.name;if(n.push(o),a.legendVisualProvider){var i=a.legendVisualProvider.getAllNames();t.isSeriesFiltered(a)||(n=n.concat(i)),i.length?e=e.concat(i):r=!0}else r=!0;r&&PP(a)&&e.push(a.name)})),this._availableNames=n;var a=kO(this.get("data")||e,(function(t){return"string"!=typeof t&&"number"!=typeof t||(t={name:t}),new dF(t,this,this.ecModel)}),this);this._data=a},e.prototype.getData=function(){return this._data},e.prototype.select=function(t){var e=this.option.selected;"single"===this.get("selectedMode")&&_O(this._data,(function(t){e[t.get("name")]=!1}));e[t]=!0},e.prototype.unSelect=function(t){"single"!==this.get("selectedMode")&&(this.option.selected[t]=!1)},e.prototype.toggleSelected=function(t){var e=this.option.selected;e.hasOwnProperty(t)||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},e.prototype.allSelect=function(){var t=this._data,e=this.option.selected;_O(t,(function(t){e[t.get("name",!0)]=!0}))},e.prototype.inverseSelect=function(){var t=this._data,e=this.option.selected;_O(t,(function(t){var n=t.get("name",!0);e.hasOwnProperty(n)||(e[n]=!0),e[n]=!e[n]}))},e.prototype.isSelected=function(t){var e=this.option.selected;return!(e.hasOwnProperty(t)&&!e[t])&&vO(this._availableNames,t)>=0},e.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(kB),Znt=TO,Jnt=_O,$nt=VI,Qnt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return d(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new $nt),this.group.add(this._selectorGroup=new $nt),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,e,n){var a=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var r=t.get("align"),o=t.get("orient");r&&"auto"!==r||(r="right"===t.get("left")&&"vertical"===o?"right":"left");var i=t.get("selector",!0),l=t.get("selectorPosition",!0);!i||l&&"auto"!==l||(l="horizontal"===o?"end":"start"),this.renderInner(r,t,e,n,i,o,l);var s=t.getBoxLayoutParams(),c={width:n.getWidth(),height:n.getHeight()},u=t.get("padding"),d=mB(s,c,u),p=this.layoutInner(t,r,d,a,i,l),f=mB(mO({width:p.width,height:p.height},s),c,u);this.group.x=f.x-p.x,this.group.y=f.y-p.y,this.group.markRedraw(),this.group.add(this._backgroundEl=_tt(p,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,e,n,a,r,o,i){var l=this.getContentGroup(),s=tE(),c=e.get("selectedMode"),u=[];n.eachRawSeries((function(t){!t.get("legendHoverLink")&&u.push(t.id)})),Jnt(e.getData(),(function(r,o){var i=r.get("name");if(!this.newlineDisabled&&(""===i||"\n"===i)){var d=new $nt;return d.newline=!0,void l.add(d)}var p=n.getSeriesByName(i)[0];if(!s.get(i))if(p){var f=p.getData(),h=f.getVisual("legendLineStyle")||{},g=f.getVisual("legendIcon"),m=f.getVisual("style");this._createItem(p,i,o,r,e,t,h,m,g,c).on("click",Znt(tat,i,null,a,u)).on("mouseover",Znt(nat,p.name,null,a,u)).on("mouseout",Znt(aat,p.name,null,a,u)),s.set(i,!0)}else n.eachRawSeries((function(n){if(!s.get(i)&&n.legendVisualProvider){var l=n.legendVisualProvider;if(!l.containName(i))return;var d=l.indexOfName(i),p=l.getItemVisual(d,"style"),f=l.getItemVisual(d,"legendIcon"),h=FT(p.fill);h&&0===h[3]&&(h[3]=.2,p.fill=XT(h,"rgba")),this._createItem(n,i,o,r,e,t,{},p,f,c).on("click",Znt(tat,null,i,a,u)).on("mouseover",Znt(nat,null,i,a,u)).on("mouseout",Znt(aat,null,i,a,u)),s.set(i,!0)}}),this)}),this),r&&this._createSelector(r,e,a,o,i)},e.prototype._createSelector=function(t,e,n,a,r){var o=this.getSelectorGroup();Jnt(t,(function(t){var a=t.type,r=new Tz({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===a?"legendAllSelect":"legendInverseSelect"})}});o.add(r),Yj(r,{normal:e.getModel("selectorLabel"),emphasis:e.getModel(["emphasis","selectorLabel"])},{defaultText:t.title}),yR(r)}))},e.prototype._createItem=function(t,e,n,a,r,o,i,l,s,c){var u=t.visualDrawType,d=r.get("itemWidth"),p=r.get("itemHeight"),f=r.isSelected(e),h=a.get("symbolRotate"),g=a.get("symbolKeepAspect"),m=a.get("icon"),b=function(t,e,n,a,r,o){function i(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),Jnt(t,(function(n,a){"inherit"===t[a]&&(t[a]=e[a])}))}var l=e.getModel("itemStyle").getItemStyle(),s=0===t.lastIndexOf("empty",0)?"fill":"stroke";l.decal=a.decal,"inherit"===l.fill&&(l.fill=a[r]);"inherit"===l.stroke&&(l.stroke=a[s]);"inherit"===l.opacity&&(l.opacity=("fill"===r?a:n).opacity);i(l,a);var c=e.getModel("lineStyle"),u=c.getLineStyle();if(i(u,n),"auto"===l.fill&&(l.fill=a.fill),"auto"===l.stroke&&(l.stroke=a.fill),"auto"===u.stroke&&(u.stroke=a.fill),!o){var d=e.get("inactiveBorderWidth"),p=l[s];l.lineWidth="auto"===d?a.lineWidth>0&&p?2:0:l.lineWidth,l.fill=e.get("inactiveColor"),l.stroke=e.get("inactiveBorderColor"),u.stroke=c.get("inactiveColor"),u.lineWidth=c.get("inactiveWidth")}return{itemStyle:l,lineStyle:u}}(s=m||s||"roundRect",a,i,l,u,f),v=new $nt,y=a.getModel("textStyle");if("function"!=typeof t.getLegendIcon||m&&"inherit"!==m){var x="inherit"===m&&t.getData().getVisual("symbol")?"inherit"===h?t.getData().getVisual("symbolRotate"):h:0;v.add(function(t){var e=t.icon||"roundRect",n=_W(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);n.setStyle(t.itemStyle),n.rotation=(t.iconRotate||0)*Math.PI/180,n.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2);return n}({itemWidth:d,itemHeight:p,icon:s,iconRotate:x,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:g}))}else v.add(t.getLegendIcon({itemWidth:d,itemHeight:p,icon:s,iconRotate:h,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:g}));var w="left"===o?d+5:-5,_=o,k=r.get("formatter"),S=e;"string"==typeof k&&k?S=k.replace("{name}",null!=e?e:""):"function"==typeof k&&(S=k(e));var C=a.get("inactiveColor");v.add(new Tz({style:Wj(y,{text:S,x:w,y:p/2,fill:f?y.getTextColor():C,align:_,verticalAlign:"middle"})}));var M=new bz({shape:v.getBoundingRect(),invisible:!0}),O=a.getModel("tooltip");return O.get("show")&&Lj({el:M,componentModel:r,itemName:e,itemTooltipOption:O.option}),v.add(M),v.eachChild((function(t){t.silent=!0})),M.silent=!c,this.getContentGroup().add(v),yR(v),v.__legendDataIndex=n,v},e.prototype.layoutInner=function(t,e,n,a,r,o){var i=this.getContentGroup(),l=this.getSelectorGroup();gB(t.get("orient"),i,t.get("itemGap"),n.width,n.height);var s=i.getBoundingRect(),c=[-s.x,-s.y];if(l.markRedraw(),i.markRedraw(),r){gB("horizontal",l,t.get("selectorItemGap",!0));var u=l.getBoundingRect(),d=[-u.x,-u.y],p=t.get("selectorButtonGap",!0),f=t.getOrient().index,h=0===f?"width":"height",g=0===f?"height":"width",m=0===f?"y":"x";"end"===o?d[f]+=s[h]+p:c[f]+=u[h]+p,d[1-f]+=s[g]/2-u[g]/2,l.x=d[0],l.y=d[1],i.x=c[0],i.y=c[1];var b={x:0,y:0};return b[h]=s[h]+p+u[h],b[g]=Math.max(s[g],u[g]),b[m]=Math.min(0,u[m]+d[1-f]),b}return i.x=c[0],i.y=c[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(cH);function tat(t,e,n,a){aat(t,e,n,a),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),nat(t,e,n,a)}function eat(t){for(var e,n=t.getZr().storage.getDisplayList(),a=0,r=n.length;a<r&&!(e=n[a].states.emphasis);)a++;return e&&e.hoverLayer}function nat(t,e,n,a){eat(n)||n.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:a})}function aat(t,e,n,a){eat(n)||n.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:a})}function rat(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries((function(t){for(var n=0;n<e.length;n++)if(!e[n].isSelected(t.name))return!1;return!0}))}function oat(t,e,n){var a,r={},o="toggleSelected"===t;return n.eachComponent("legend",(function(n){o&&null!=a?n[a?"select":"unSelect"](e.name):"allSelect"===t||"inverseSelect"===t?n[t]():(n[t](e.name),a=n.isSelected(e.name)),_O(n.getData(),(function(t){var e=t.get("name");if("\n"!==e&&""!==e){var a=n.isSelected(e);r.hasOwnProperty(e)?r[e]=r[e]&&a:r[e]=a}}))})),"allSelect"===t||"inverseSelect"===t?{selected:r}:{name:e.name,selected:r}}function iat(t){t.registerComponentModel(Xnt),t.registerComponentView(Qnt),t.registerProcessor(t.PRIORITY.PROCESSOR.SERIES_FILTER,rat),t.registerSubTypeDefaulter("legend",(function(){return"plain"})),function(t){t.registerAction("legendToggleSelect","legendselectchanged",TO(oat,"toggleSelected")),t.registerAction("legendAllSelect","legendselectall",TO(oat,"allSelect")),t.registerAction("legendInverseSelect","legendinverseselect",TO(oat,"inverseSelect")),t.registerAction("legendSelect","legendselected",TO(oat,"select")),t.registerAction("legendUnSelect","legendunselected",TO(oat,"unSelect"))}(t)}var lat=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.setScrollDataIndex=function(t){this.option.scrollDataIndex=t},e.prototype.init=function(e,n,a){var r=xB(e);t.prototype.init.call(this,e,n,a),sat(this,e,r)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),sat(this,this.option,e)},e.type="legend.scroll",e.defaultOption=hF(Xnt.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),e}(Xnt);function sat(t,e,n){var a=[1,1];a[t.getOrient().index]=0,yB(e,n,{type:"box",ignoreSize:!!a})}var cat=VI,uat=["width","height"],dat=["x","y"],pat=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!0,n._currentIndex=0,n}return d(e,t),e.prototype.init=function(){t.prototype.init.call(this),this.group.add(this._containerGroup=new cat),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new cat)},e.prototype.resetInner=function(){t.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},e.prototype.renderInner=function(e,n,a,r,o,i,l){var s=this;t.prototype.renderInner.call(this,e,n,a,r,o,i,l);var c=this._controllerGroup,u=n.get("pageIconSize",!0),d=DO(u)?u:[u,u];f("pagePrev",0);var p=n.getModel("pageTextStyle");function f(t,e){var a=t+"DataIndex",o=Nj(n.get("pageIcons",!0)[n.getOrient().name][e],{onclick:EO(s._pageGo,s,a,n,r)},{x:-d[0]/2,y:-d[1]/2,width:d[0],height:d[1]});o.name=t,c.add(o)}c.add(new Tz({name:"pageText",style:{text:"xx/xx",fill:p.getTextColor(),font:p.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),f("pageNext",1)},e.prototype.layoutInner=function(t,e,n,a,r,o){var i=this.getSelectorGroup(),l=t.getOrient().index,s=uat[l],c=dat[l],u=uat[1-l],d=dat[1-l];r&&gB("horizontal",i,t.get("selectorItemGap",!0));var p=t.get("selectorButtonGap",!0),f=i.getBoundingRect(),h=[-f.x,-f.y],g=pO(n);r&&(g[s]=n[s]-f[s]-p);var m=this._layoutContentAndController(t,a,g,l,s,u,d,c);if(r){if("end"===o)h[l]+=m[s]+p;else{var b=f[s]+p;h[l]-=b,m[c]-=b}m[s]+=f[s]+p,h[1-l]+=m[d]+m[u]/2-f[u]/2,m[u]=Math.max(m[u],f[u]),m[d]=Math.min(m[d],f[d]+h[1-l]),i.x=h[0],i.y=h[1],i.markRedraw()}return m},e.prototype._layoutContentAndController=function(t,e,n,a,r,o,i,l){var s=this.getContentGroup(),c=this._containerGroup,u=this._controllerGroup;gB(t.get("orient"),s,t.get("itemGap"),a?n.width:null,a?null:n.height),gB("horizontal",u,t.get("pageButtonItemGap",!0));var d=s.getBoundingRect(),p=u.getBoundingRect(),f=this._showController=d[r]>n[r],h=[-d.x,-d.y];e||(h[a]=s[l]);var g=[0,0],m=[-p.x,-p.y],b=WO(t.get("pageButtonGap",!0),t.get("itemGap",!0));f&&("end"===t.get("pageButtonPosition",!0)?m[a]+=n[r]-p[r]:g[a]+=p[r]+b);m[1-a]+=d[o]/2-p[o]/2,s.setPosition(h),c.setPosition(g),u.setPosition(m);var v={x:0,y:0};if(v[r]=f?n[r]:d[r],v[o]=Math.max(d[o],p[o]),v[i]=Math.min(0,p[i]+m[1-a]),c.__rectSize=n[r],f){var y={x:0,y:0};y[r]=Math.max(n[r]-p[r]-b,0),y[o]=v[o],c.setClipPath(new bz({shape:y})),c.__rectSize=y[r]}else u.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var x=this._getPageInfo(t);return null!=x.pageIndex&&oj(s,{x:x.contentPosition[0],y:x.contentPosition[1]},f?t:null),this._updatePageInfoView(t,x),v},e.prototype._pageGo=function(t,e,n){var a=this._getPageInfo(e)[t];null!=a&&n.dispatchAction({type:"legendScroll",scrollDataIndex:a,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;_O(["pagePrev","pageNext"],(function(a){var r=null!=e[a+"DataIndex"],o=n.childOfName(a);o&&(o.setStyle("fill",r?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),o.cursor=r?"pointer":"default")}));var a=n.childOfName("pageText"),r=t.get("pageFormatter"),o=e.pageIndex,i=null!=o?o+1:0,l=e.pageCount;a&&r&&a.setStyle("text",PO(r)?r.replace("{current}",null==i?"":i+"").replace("{total}",null==l?"":l+""):r({current:i,total:l}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),a=this._containerGroup.__rectSize,r=t.getOrient().index,o=uat[r],i=dat[r],l=this._findTargetItemIndex(e),s=n.children(),c=s[l],u=s.length,d=u?1:0,p={contentPosition:[n.x,n.y],pageCount:d,pageIndex:d-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!c)return p;var f=v(c);p.contentPosition[r]=-f.s;for(var h=l+1,g=f,m=f,b=null;h<=u;++h)(!(b=v(s[h]))&&m.e>g.s+a||b&&!y(b,g.s))&&(g=m.i>g.i?m:b)&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=g.i),++p.pageCount),m=b;for(h=l-1,g=f,m=f,b=null;h>=-1;--h)(b=v(s[h]))&&y(m,b.s)||!(g.i<m.i)||(m=g,null==p.pagePrevDataIndex&&(p.pagePrevDataIndex=g.i),++p.pageCount,++p.pageIndex),g=b;return p;function v(t){if(t){var e=t.getBoundingRect(),n=e[i]+t[i];return{s:n,e:n+e[o],i:t.__legendDataIndex}}}function y(t,e){return t.e>=e&&t.s<=e+a}},e.prototype._findTargetItemIndex=function(t){return this._showController?(this.getContentGroup().eachChild((function(a,r){var o=a.__legendDataIndex;null==n&&null!=o&&(n=r),o===t&&(e=r)})),null!=e?e:n):0;var e,n},e.type="legend.scroll",e}(Qnt);function fat(t){Kq(iat),t.registerComponentModel(lat),t.registerComponentView(pat),function(t){t.registerAction("legendScroll","legendscroll",(function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(n)}))}))}(t)}function hat(t){Kq(iat),Kq(fat)}var gat=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.type="dataZoom.inside",e.defaultOption=hF(ott.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(ott),mat=zP();function bat(t,e,n){mat(t).coordSysRecordMap.each((function(t){var a=t.dataZoomInfoMap.get(e.uid);a&&(a.getRange=n)}))}function vat(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function yat(t,e){t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function xat(t,e,n,a){return t.coordinateSystem.containPoint([n,a])}function wat(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,(function(t,e){var n=mat(e),a=n.coordSysRecordMap||(n.coordSysRecordMap=tE());a.each((function(t){t.dataZoomInfoMap=null})),t.eachComponent({mainType:"dataZoom",subType:"inside"},(function(t){_O(att(t).infoList,(function(n){var r=n.model.uid,o=a.get(r)||a.set(r,function(t,e){var n={model:e,containsPoint:TO(xat,e),dispatchAction:TO(yat,t),dataZoomInfoMap:null,controller:null},a=n.controller=new $Q(t.getZr());return _O(["pan","zoom","scrollMove"],(function(t){a.on(t,(function(e){var a=[];n.dataZoomInfoMap.each((function(r){if(e.isAvailableBehavior(r.model.option)){var o=(r.getRange||{})[t],i=o&&o(r.dzReferCoordSysInfo,n.model.mainType,n.controller,e);!r.model.get("disabled",!0)&&i&&a.push({dataZoomId:r.model.id,start:i[0],end:i[1]})}})),a.length&&n.dispatchAction(a)}))})),n}(e,n.model));(o.dataZoomInfoMap||(o.dataZoomInfoMap=tE())).set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})}))})),a.each((function(t){var e,n=t.controller,r=t.dataZoomInfoMap;if(r){var o=r.keys()[0];null!=o&&(e=r.get(o))}if(e){var i=function(t){var e,n="type_",a={type_true:2,type_move:1,type_false:0,type_undefined:-1},r=!0;return t.each((function(t){var o=t.model,i=!o.get("disabled",!0)&&(!o.get("zoomLock",!0)||"move");a[n+i]>a[n+e]&&(e=i),r=r&&o.get("preventDefaultMouseMove",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!r}}}(r);n.enable(i.controlType,i.opt),n.setPointerChecker(t.containsPoint),kH(t,"dispatchAction",e.model.get("throttle",!0),"fixRate")}else vat(a,t)}))}))}var _at=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return d(e,t),e.prototype.render=function(e,n,a){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),bat(a,e,{pan:EO(kat.pan,this),zoom:EO(kat.zoom,this),scrollMove:EO(kat.scrollMove,this)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){!function(t,e){for(var n=mat(t).coordSysRecordMap,a=n.keys(),r=0;r<a.length;r++){var o=a[r],i=n.get(o),l=i.dataZoomInfoMap;if(l){var s=e.uid;l.get(s)&&(l.removeKey(s),l.keys().length||vat(n,i))}}}(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(stt),kat={zoom:function(t,e,n,a){var r=this.range,o=r.slice(),i=t.axisModels[0];if(i){var l=Cat[e](null,[a.originX,a.originY],i,n,t),s=(l.signal>0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(o[1]-o[0])+o[0],c=Math.max(1/a.scale,0);o[0]=(o[0]-s)*c+s,o[1]=(o[1]-s)*c+s;var u=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return U6(0,o,[0,100],0,u.minSpan,u.maxSpan),this.range=o,r[0]!==o[0]||r[1]!==o[1]?o:void 0}},pan:Sat((function(t,e,n,a,r,o){var i=Cat[a]([o.oldX,o.oldY],[o.newX,o.newY],e,r,n);return i.signal*(t[1]-t[0])*i.pixel/i.pixelLength})),scrollMove:Sat((function(t,e,n,a,r,o){return Cat[a]([0,0],[o.scrollDelta,o.scrollDelta],e,r,n).signal*(t[1]-t[0])*o.scrollDelta}))};function Sat(t){return function(e,n,a,r){var o=this.range,i=o.slice(),l=e.axisModels[0];if(l)return U6(t(i,l,e,n,a,r),i,[0,100],"all"),this.range=i,o[0]!==i[0]||o[1]!==i[1]?i:void 0}}var Cat={grid:function(t,e,n,a,r){var o=n.axis,i={},l=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(i.pixel=e[0]-t[0],i.pixelLength=l.width,i.pixelStart=l.x,i.signal=o.inverse?1:-1):(i.pixel=e[1]-t[1],i.pixelLength=l.height,i.pixelStart=l.y,i.signal=o.inverse?-1:1),i},polar:function(t,e,n,a,r){var o=n.axis,i={},l=r.model.coordinateSystem,s=l.getRadiusAxis().getExtent(),c=l.getAngleAxis().getExtent();return t=t?l.pointToCoord(t):[0,0],e=l.pointToCoord(e),"radiusAxis"===n.mainType?(i.pixel=e[0]-t[0],i.pixelLength=s[1]-s[0],i.pixelStart=s[0],i.signal=o.inverse?1:-1):(i.pixel=e[1]-t[1],i.pixelLength=c[1]-c[0],i.pixelStart=c[0],i.signal=o.inverse?-1:1),i},singleAxis:function(t,e,n,a,r){var o=n.axis,i=r.model.coordinateSystem.getRect(),l={};return t=t||[0,0],"horizontal"===o.orient?(l.pixel=e[0]-t[0],l.pixelLength=i.width,l.pixelStart=i.x,l.signal=o.inverse?1:-1):(l.pixel=e[1]-t[1],l.pixelLength=i.height,l.pixelStart=i.y,l.signal=o.inverse?-1:1),l}};function Mat(t){gtt(t),t.registerComponentModel(gat),t.registerComponentView(_at),wat(t)}var Oat=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=hF(ott.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(ott),Eat=bz,Tat="horizontal",Dat="vertical",Iat=["line","bar","candlestick","scatter"],Pat={easing:"cubicOut",duration:100,delay:0},Nat=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return d(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=EO(this._onBrush,this),this._onBrushEnd=EO(this._onBrushEnd,this)},e.prototype.render=function(e,n,a,r){if(t.prototype.render.apply(this,arguments),kH(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1!==e.get("show")){if(e.noTarget())return this._clear(),void this.group.removeAll();r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){!function(t,e){var n=t[e];n&&n[yH]&&(t[e]=n[yH])}(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new VI;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect")?7:0,a=this._findCoordRect(),r={width:e.getWidth(),height:e.getHeight()},o=this._orient===Tat?{right:r.width-a.x-a.width,top:r.height-30-7-n,width:a.width,height:30}:{right:7,top:a.y,width:30,height:a.height},i=xB(t.option);_O(["right","top","width","height"],(function(t){"ph"===i[t]&&(i[t]=o[t])}));var l=mB(i,r);this._location={x:l.x,y:l.y},this._size=[l.width,l.height],this._orient===Dat&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,a=this.dataZoomModel.getFirstTargetAxisModel(),r=a&&a.get("inverse"),o=this._displayables.sliderGroup,i=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==Tat||r?n===Tat&&r?{scaleY:i?1:-1,scaleX:-1}:n!==Dat||r?{scaleY:i?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:i?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:i?1:-1,scaleX:1});var l=t.getBoundingRect([o]);t.x=e.x-l.x,t.y=e.y-l.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,a=t.get("brushSelect");n.add(new Eat({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var r=new Eat({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:EO(this._onClickPanel,this)}),o=this.api.getZr();a?(r.on("mousedown",this._onBrushStart,this),r.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(r)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=t.series,a=n.getRawData(),r=n.getShadowDim?n.getShadowDim():t.otherDim;if(null!=r){var o=a.getDataExtent(r),i=.3*(o[1]-o[0]);o=[o[0]-i,o[1]+i];var l,s=[0,e[1]],c=[0,e[0]],u=[[e[0],0],[0,0]],d=[],p=c[1]/(a.count()-1),f=0,h=Math.round(a.count()/e[0]);a.each([r],(function(t,e){if(h>0&&e%h)f+=p;else{var n=null==t||isNaN(t)||""===t,a=n?0:ZI(t,o,s,!0);n&&!l&&e?(u.push([u[u.length-1][0],0]),d.push([d[d.length-1][0],0])):!n&&l&&(u.push([f,0]),d.push([f,0])),u.push([f,a]),d.push([f,a]),f+=p,l=n}}));for(var g=this.dataZoomModel,m=0;m<3;m++){var b=v(1===m);this._displayables.sliderGroup.add(b),this._displayables.dataShadowSegs.push(b)}}}function v(t){var e=g.getModel(t?"selectedDataBackground":"dataBackground"),n=new VI,a=new kL({shape:{points:u},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),r=new ML({shape:{points:d},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(a),n.add(r),n}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,a=this.ecModel;return t.eachTargetAxis((function(r,o){_O(t.getAxisProxy(r,o).getTargetSeriesModels(),(function(t){if(!(n||!0!==e&&vO(Iat,t.get("type"))<0)){var i,l=a.getComponent(ett(r),o).axis,s={x:"y",y:"x",radius:"angle",angle:"radius"}[r],c=t.coordinateSystem;null!=s&&c.getOtherAxis&&(i=c.getOtherAxis(l).inverse),s=t.getData().mapDimension(s),n={thisAxis:l,series:t,thisDim:r,otherDim:s,otherAxisInverse:i}}}),this)}),this),n}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],a=e.handleLabels=[null,null],r=this._displayables.sliderGroup,o=this._size,i=this.dataZoomModel,l=this.api,s=i.get("borderRadius")||0,c=i.get("brushSelect"),u=e.filler=new Eat({silent:c,style:{fill:i.get("fillerColor")},textConfig:{position:"inside"}});r.add(u),r.add(new Eat({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:s},style:{stroke:i.get("dataBackgroundColor")||i.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),_O([0,1],(function(e){var o=i.get("handleIcon");!yW[o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o);var l=_W(o,-1,0,2,2,null,!0);l.attr({cursor:Aat(this._orient),draggable:!0,drift:EO(this._onDragMove,this,e),ondragend:EO(this._onDragEnd,this),onmouseover:EO(this._showDataInfo,this,!0),onmouseout:EO(this._showDataInfo,this,!1),z2:5});var s=l.getBoundingRect(),c=i.get("handleSize");this._handleHeight=JI(c,this._size[1]),this._handleWidth=s.width/s.height*this._handleHeight,l.setStyle(i.getModel("handleStyle").getItemStyle()),l.style.strokeNoScale=!0,l.rectHover=!0,l.ensureState("emphasis").style=i.getModel(["emphasis","handleStyle"]).getItemStyle(),yR(l);var u=i.get("handleColor");null!=u&&(l.style.fill=u),r.add(n[e]=l);var d=i.getModel("textStyle");t.add(a[e]=new Tz({silent:!0,invisible:!0,style:Wj(d,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:d.getTextColor(),font:d.getFont()}),z2:10}))}),this);var d=u;if(c){var p=JI(i.get("moveHandleSize"),o[1]),f=e.moveHandle=new bz({style:i.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:p}}),h=.8*p,g=e.moveHandleIcon=_W(i.get("moveHandleIcon"),-h/2,-h/2,h,h,"#fff",!0);g.silent=!0,g.y=o[1]+p/2-.5,f.ensureState("emphasis").style=i.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var m=Math.min(o[1]/2,Math.max(p,10));(d=e.moveZone=new bz({invisible:!0,shape:{y:o[1]-m,height:p+m}})).on("mouseover",(function(){l.enterEmphasis(f)})).on("mouseout",(function(){l.leaveEmphasis(f)})),r.add(f),r.add(g),r.add(d)}d.attr({draggable:!0,cursor:Aat(this._orient),drift:EO(this._onDragMove,this,"all"),ondragstart:EO(this._showDataInfo,this,!0),ondragend:EO(this._onDragEnd,this),onmouseover:EO(this._showDataInfo,this,!0),onmouseout:EO(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[ZI(t[0],[0,100],e,!0),ZI(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,a=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),i=[0,100];U6(e,a,r,n.get("zoomLock")?"all":t,null!=o.minSpan?ZI(o.minSpan,i,r,!0):null,null!=o.maxSpan?ZI(o.maxSpan,i,r,!0):null);var l=this._range,s=this._range=QI([ZI(a[0],r,i,!0),ZI(a[1],r,i,!0)]);return!l||l[0]!==s[0]||l[1]!==s[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,a=QI(n.slice()),r=this._size;_O([0,1],(function(t){var a=e.handles[t],o=this._handleHeight;a.attr({scaleX:o/2,scaleY:o/2,x:n[t]+(t?-1:1),y:r[1]/2-o/2})}),this),e.filler.setShape({x:a[0],y:0,width:a[1]-a[0],height:r[1]});var o={x:a[0],width:a[1]-a[0]};e.moveHandle&&(e.moveHandle.setShape(o),e.moveZone.setShape(o),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",o.x+o.width/2));for(var i=e.dataShadowSegs,l=[0,a[0],a[1],r[0]],s=0;s<i.length;s++){var c=i[s],u=c.getClipPath();u||(u=new bz,c.setClipPath(u)),u.setShape({x:l[s],y:0,width:l[s+1]-l[s],height:r[1]})}this._updateDataInfo(t)},e.prototype._updateDataInfo=function(t){var e=this.dataZoomModel,n=this._displayables,a=n.handleLabels,r=this._orient,o=["",""];if(e.get("showDetail")){var i=e.findRepresentativeAxisProxy();if(i){var l=i.getAxisModel().axis,s=this._range,c=t?i.calculateDataWindow({start:s[0],end:s[1]}).valueWindow:i.getDataValueWindow();o=[this._formatLabel(c[0],l),this._formatLabel(c[1],l)]}}var u=QI(this._handleEnds.slice());function d(t){var e=Mj(n.handles[t].parent,this.group),i=Ej(0===t?"right":"left",e),l=this._handleWidth/2+5,s=Oj([u[t]+(0===t?-l:l),this._size[1]/2],e);a[t].setStyle({x:s[0],y:s[1],verticalAlign:r===Tat?"middle":i,align:r===Tat?i:"center",text:o[t]})}d.call(this,0),d.call(this,1)},e.prototype._formatLabel=function(t,e){var n=this.dataZoomModel,a=n.get("labelFormatter"),r=n.get("labelPrecision");null!=r&&"auto"!==r||(r=e.getPixelPrecision());var o=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel({value:Math.round(t)}):t.toFixed(Math.min(r,20));return IO(a)?a(t,o):PO(a)?a.replace("{value}",o):o},e.prototype._showDataInfo=function(t){t=this._dragging||t;var e=this._displayables,n=e.handleLabels;n[0].attr("invisible",!t),n[1].attr("invisible",!t),e.moveHandle&&this.api[t?"enterEmphasis":"leaveEmphasis"](e.moveHandle,1)},e.prototype._onDragMove=function(t,e,n,a){this._dragging=!0,KE(a.event);var r=Oj([e,n],this._displayables.sliderGroup.getLocalTransform(),!0),o=this._updateInterval(t,r[0]),i=this.dataZoomModel.get("realtime");this._updateView(!i),o&&i&&this._dispatchZoomAction(!0)},e.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1),!this.dataZoomModel.get("realtime")&&this._dispatchZoomAction(!1)},e.prototype._onClickPanel=function(t){var e=this._size,n=this._displayables.sliderGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(n[0]<0||n[0]>e[0]||n[1]<0||n[1]>e[1])){var a=this._handleEnds,r=(a[0]+a[1])/2,o=this._updateInterval("all",n[0]-r);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new lI(e,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var n=e.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(n.width)<5)){var a=this._getViewExtent(),r=[0,100];this._range=QI([ZI(n.x,a,r,!0),ZI(n.x+n.width,a,r,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(KE(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var n=this._displayables,a=this.dataZoomModel,r=n.brushRect;r||(r=n.brushRect=new Eat({silent:!0,style:a.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(r)),r.attr("ignore",!1);var o=this._brushStart,i=this._displayables.sliderGroup,l=i.transformCoordToLocal(t,e),s=i.transformCoordToLocal(o.x,o.y),c=this._size;l[0]=Math.max(Math.min(c[0],l[0]),0),r.setShape({x:s[0],y:0,width:l[0]-s[0],height:c[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?Pat:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=att(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var a=this.api.getWidth(),r=this.api.getHeight();t={x:.2*a,y:.2*r,width:.6*a,height:.6*r}}return t},e.type="dataZoom.slider",e}(stt);function Aat(t){return"vertical"===t?"ns-resize":"ew-resize"}function zat(t){t.registerComponentModel(Oat),t.registerComponentView(Nat),gtt(t)}function Rat(t){Kq(Mat),Kq(zat)}var Lat=function(t,e,n){var a=pO((jat[t]||{})[e]);return n&&DO(a)?a[a.length-1]:a},jat={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},Fat=F1.mapVisual,Bat=F1.eachVisual,Vat=DO,Yat=_O,Hat=QI,Wat=ZI,Uat=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return d(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,e){var n=this.option;XM.canvasSupported||(n.realtime=!1),!e&&Let(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var e=this.stateList;t=EO(t,this),this.controllerVisuals=Ret(this.option.controller,e,t),this.targetVisuals=Ret(this.option.target,e,t)},e.prototype.getItemSymbol=function(){return null},e.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries((function(t,n){e.push(n)})):e=kP(t),e},e.prototype.eachTargetSeries=function(t,e){_O(this.getTargetSeriesIndices(),(function(n){var a=this.ecModel.getSeriesByIndex(n);a&&t.call(e,a)}),this)},e.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries((function(n){n===t&&(e=!0)})),e},e.prototype.formatValueText=function(t,e,n){var a,r=this.option,o=r.precision,i=this.dataBound,l=r.formatter;n=n||["<",">"],DO(t)&&(t=t.slice(),a=!0);var s=e?t:a?[c(t[0]),c(t[1])]:c(t);return PO(l)?l.replace("{value}",a?s[0]:s).replace("{value2}",a?s[1]:s):IO(l)?a?l(t[0],t[1]):l(t):a?t[0]===i[0]?n[0]+" "+s[1]:t[1]===i[1]?n[1]+" "+s[0]:s[0]+" - "+s[1]:s;function c(t){return t===i[0]?"min":t===i[1]?"max":(+t).toFixed(Math.min(o,20))}},e.prototype.resetExtent=function(){var t=this.option,e=Hat([t.min,t.max]);this._dataExtent=e},e.prototype.getDataDimensionIndex=function(t){var e=this.option.dimension;if(null!=e)return t.getDimensionIndex(e);for(var n=t.dimensions,a=n.length-1;a>=0;a--){var r=n[a],o=t.getDimensionInfo(r);if(!o.isCalculationCoord)return o.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},a=e.target||(e.target={}),r=e.controller||(e.controller={});fO(a,n),fO(r,n);var o=this.isCategory();function i(n){Vat(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")}}i.call(this,a),i.call(this,r),function(t,e,n){var a=t[e],r=t[n];a&&!r&&(r=t[n]={},Yat(a,(function(t,e){if(F1.isValidType(e)){var n=Lat(e,"inactive",o);null!=n&&(r[e]=n,"color"!==e||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}})))}.call(this,a,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,a=this.get("inactiveColor"),r=this.getItemSymbol()||"roundRect";Yat(this.stateList,(function(i){var l=this.itemSize,s=t[i];s||(s=t[i]={color:o?a:[a]}),null==s.symbol&&(s.symbol=e&&pO(e)||(o?r:[r])),null==s.symbolSize&&(s.symbolSize=n&&pO(n)||(o?l[0]:[l[0],l[0]])),s.symbol=Fat(s.symbol,(function(t){return"none"===t?r:t}));var c=s.symbolSize;if(null!=c){var u=-1/0;Bat(c,(function(t){t>u&&(u=t)})),s.symbolSize=Fat(c,(function(t){return Wat(t,[0,u],[0,l[0]],!0)}))}}),this)}.call(this,r)},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,zlevel:0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},e}(kB),Gat=[20,140],Kat=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},e.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(null==e[0]||isNaN(e[0]))&&(e[0]=Gat[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=Gat[1])},e.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):DO(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},e.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),_O(this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=e[1]/3)}),this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),e=QI((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]<t[0]&&(e[0]=t[0]),e[1]<t[0]&&(e[1]=t[0]),e},e.prototype.getValueState=function(t){var e=this.option.range,n=this.getExtent();return(e[0]<=n[0]||e[0]<=t)&&(e[1]>=n[1]||t<=e[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries((function(n){var a=[],r=n.getData();r.each(this.getDataDimensionIndex(r),(function(e,n){t[0]<=e&&e<=t[1]&&a.push(n)}),this),e.push({seriesId:n.id,dataIndex:a})}),this),e},e.prototype.getVisualMeta=function(t){var e=qat(this,"outOfRange",this.getExtent()),n=qat(this,"inRange",this.option.range.slice()),a=[];function r(e,n){a.push({value:e,color:t(e,n)})}for(var o=0,i=0,l=n.length,s=e.length;i<s&&(!n.length||e[i]<=n[0]);i++)e[i]<n[o]&&r(e[i],"outOfRange");for(var c=1;o<l;o++,c=0)c&&a.length&&r(n[o],"outOfRange"),r(n[o],"inRange");for(c=1;i<s;i++)(!n.length||n[n.length-1]<e[i])&&(c&&(a.length&&r(a[a.length-1].value,"outOfRange"),c=0),r(e[i],"outOfRange"));var u=a.length;return{stops:a,outerColors:[u?a[0].color:"transparent",u?a[u-1].color:"transparent"]}},e.type="visualMap.continuous",e.defaultOption=hF(Uat.defaultOption,{align:"auto",calculable:!1,hoverLink:!0,realtime:!0,handleIcon:"path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",handleSize:"120%",handleStyle:{borderColor:"#fff",borderWidth:1},indicatorIcon:"circle",indicatorSize:"50%",indicatorStyle:{borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}}),e}(Uat);function qat(t,e,n){if(n[0]===n[1])return n.slice();for(var a=(n[1]-n[0])/200,r=n[0],o=[],i=0;i<=200&&r<n[1];i++)o.push(r),r+=a;return o.push(n[1]),o}var Xat=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.autoPositionValues={left:1,right:1,top:1,bottom:1},n}return d(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e},e.prototype.render=function(t,e,n,a){this.visualMapModel=t,!1!==t.get("show")?this.doRender(t,e,n,a):this.group.removeAll()},e.prototype.renderBackground=function(t){var e=this.visualMapModel,n=tB(e.get("padding")||0),a=t.getBoundingRect();t.add(new bz({z2:-1,silent:!0,shape:{x:a.x-n[3],y:a.y-n[0],width:a.width+n[3]+n[1],height:a.height+n[0]+n[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},e.prototype.getControllerVisual=function(t,e,n){var a=(n=n||{}).forceState,r=this.visualMapModel,o={};if("color"===e){var i=r.get("contentColor");o.color=i}function l(t){return o[t]}function s(t,e){o[t]=e}var c=r.controllerVisuals[a||r.getValueState(t)];return _O(F1.prepareVisualTypes(c),(function(a){var r=c[a];n.convertOpacityToAlpha&&"opacity"===a&&(a="colorAlpha",r=c.__alphaForOpacity),F1.dependsOn(a,e)&&r&&r.applyVisual(t,l,s)})),o[e]},e.prototype.positionGroup=function(t){var e=this.visualMapModel,n=this.api;bB(t,e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},e.prototype.doRender=function(t,e,n,a){},e.type="visualMap",e}(cH),Zat=[["left","right","width"],["top","bottom","height"]];function Jat(t,e,n){var a=t.option,r=a.align;if(null!=r&&"auto"!==r)return r;for(var o={width:e.getWidth(),height:e.getHeight()},i="horizontal"===a.orient?1:0,l=Zat[i],s=[0,null,10],c={},u=0;u<3;u++)c[Zat[1-i][u]]=s[u],c[l[u]]=2===u?n[0]:a[l[u]];var d=[["x","width",3],["y","height",0]][i],p=mB(c,o,a.padding);return l[(p.margin[d[2]]||0)+p[d[0]]+.5*p[d[1]]<.5*o[d[1]]?0:1]}function $at(t,e){return _O(t||[],(function(t){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null),t.highlightKey="visualMap"+(e?e.componentIndex:"")})),t}var Qat=ZI,trt=_O,ert=Math.min,nrt=Math.max,art=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._shapes={},n._dataInterval=[],n._handleEnds=[],n._hoverLinkDataIndices=[],n}return d(e,t),e.prototype.doRender=function(t,e,n,a){this._api=n,a&&"selectDataRange"===a.type&&a.from===this.uid||this._buildView()},e.prototype._buildView=function(){this.group.removeAll();var t=this.visualMapModel,e=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e);var n=t.get("text");this._renderEndsText(e,n,0),this._renderEndsText(e,n,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},e.prototype._renderEndsText=function(t,e,n){if(e){var a=e[1-n];a=null!=a?a+"":"";var r=this.visualMapModel,o=r.get("textGap"),i=r.itemSize,l=this._shapes.mainGroup,s=this._applyTransform([i[0]/2,0===n?-o:i[1]+o],l),c=this._applyTransform(0===n?"bottom":"top",l),u=this._orient,d=this.visualMapModel.textStyleModel;this.group.add(new Tz({style:{x:s[0],y:s[1],verticalAlign:"horizontal"===u?"middle":c,align:"horizontal"===u?c:"center",text:a,font:d.getFont(),fill:d.getTextColor()}}))}},e.prototype._renderBar=function(t){var e=this.visualMapModel,n=this._shapes,a=e.itemSize,r=this._orient,o=this._useHandle,i=Jat(e,this.api,a),l=n.mainGroup=this._createBarGroup(i),s=new VI;l.add(s),s.add(n.outOfRange=rrt()),s.add(n.inRange=rrt(null,o?irt(this._orient):null,EO(this._dragHandle,this,"all",!1),EO(this._dragHandle,this,"all",!0))),s.setClipPath(new bz({shape:{x:0,y:0,width:a[0],height:a[1],r:3}}));var c=e.textStyleModel.getTextRect("国"),u=nrt(c.width,c.height);o&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(e,l,0,a,u,r),this._createHandle(e,l,1,a,u,r)),this._createIndicator(e,l,a,u,r),t.add(l)},e.prototype._createHandle=function(t,e,n,a,r,o){var i=EO(this._dragHandle,this,n,!1),l=EO(this._dragHandle,this,n,!0),s=OI(t.get("handleSize"),a[0]),c=_W(t.get("handleIcon"),-s/2,-s/2,s,s,null,!0),u=irt(this._orient);c.attr({cursor:u,draggable:!0,drift:i,ondragend:l,onmousemove:function(t){KE(t.event)}}),c.x=a[0]/2,c.useStyle(t.getModel("handleStyle").getItemStyle()),c.setStyle({strokeNoScale:!0,strokeFirst:!0}),c.style.lineWidth*=2,c.ensureState("emphasis").style=t.getModel(["emphasis","handleStyle"]).getItemStyle(),SR(c,!0),e.add(c);var d=this.visualMapModel.textStyleModel,p=new Tz({cursor:u,draggable:!0,drift:i,onmousemove:function(t){KE(t.event)},ondragend:l,style:{x:0,y:0,text:"",font:d.getFont(),fill:d.getTextColor()}});p.ensureState("blur").style={opacity:.1},p.stateTransition={duration:200},this.group.add(p);var f=[s,0],h=this._shapes;h.handleThumbs[n]=c,h.handleLabelPoints[n]=f,h.handleLabels[n]=p},e.prototype._createIndicator=function(t,e,n,a,r){var o=OI(t.get("indicatorSize"),n[0]),i=_W(t.get("indicatorIcon"),-o/2,-o/2,o,o,null,!0);i.attr({cursor:"move",invisible:!0,silent:!0,x:n[0]/2});var l=t.getModel("indicatorStyle").getItemStyle();if(i instanceof cz){var s=i.style;i.useStyle(gO({image:s.image,x:s.x,y:s.y,width:s.width,height:s.height},l))}else i.useStyle(l);e.add(i);var c=this.visualMapModel.textStyleModel,u=new Tz({silent:!0,invisible:!0,style:{x:0,y:0,text:"",font:c.getFont(),fill:c.getTextColor()}});this.group.add(u);var d=[("horizontal"===r?a/2:6)+n[0]/2,0],p=this._shapes;p.indicator=i,p.indicatorLabel=u,p.indicatorLabelPoint=d,this._firstShowIndicator=!0},e.prototype._dragHandle=function(t,e,n,a){if(this._useHandle){if(this._dragging=!e,!e){var r=this._applyTransform([n,a],this._shapes.mainGroup,!0);this._updateInterval(t,r[1]),this._hideIndicator(),this._updateView()}e===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?!this._hovering&&this._clearHoverLinkToSeries():ort(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},e.prototype._resetInterval=function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),n=t.getExtent(),a=[0,t.itemSize[1]];this._handleEnds=[Qat(e[0],n,a,!0),Qat(e[1],n,a,!0)]},e.prototype._updateInterval=function(t,e){e=e||0;var n=this.visualMapModel,a=this._handleEnds,r=[0,n.itemSize[1]];U6(e,a,r,t,0);var o=n.getExtent();this._dataInterval=[Qat(a[0],r,o,!0),Qat(a[1],r,o,!0)]},e.prototype._updateView=function(t){var e=this.visualMapModel,n=e.getExtent(),a=this._shapes,r=[0,e.itemSize[1]],o=t?r:this._handleEnds,i=this._createBarVisual(this._dataInterval,n,o,"inRange"),l=this._createBarVisual(n,n,r,"outOfRange");a.inRange.setStyle({fill:i.barColor}).setShape("points",i.barPoints),a.outOfRange.setStyle({fill:l.barColor}).setShape("points",l.barPoints),this._updateHandle(o,i)},e.prototype._createBarVisual=function(t,e,n,a){var r={forceState:a,convertOpacityToAlpha:!0},o=this._makeColorGradient(t,r),i=[this.getControllerVisual(t[0],"symbolSize",r),this.getControllerVisual(t[1],"symbolSize",r)],l=this._createBarPoints(n,i);return{barColor:new WL(0,0,0,1,o),barPoints:l,handlesColor:[o[0].color,o[o.length-1].color]}},e.prototype._makeColorGradient=function(t,e){var n=[],a=(t[1]-t[0])/100;n.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var r=1;r<100;r++){var o=t[0]+a*r;if(o>t[1])break;n.push({color:this.getControllerVisual(o,"color",e),offset:r/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},e.prototype._createBarPoints=function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},e.prototype._createBarGroup=function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new VI("horizontal"!==e||n?"horizontal"===e&&n?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"!==e||n?{scaleX:"left"===t?1:-1}:{scaleX:"left"===t?1:-1,scaleY:-1}:{scaleX:"bottom"===t?1:-1,rotation:Math.PI/2})},e.prototype._updateHandle=function(t,e){if(this._useHandle){var n=this._shapes,a=this.visualMapModel,r=n.handleThumbs,o=n.handleLabels,i=a.itemSize,l=a.getExtent();trt([0,1],(function(s){var c=r[s];c.setStyle("fill",e.handlesColor[s]),c.y=t[s];var u=Qat(t[s],[0,i[1]],l,!0),d=this.getControllerVisual(u,"symbolSize");c.scaleX=c.scaleY=d/i[0],c.x=i[0]-d/2;var p=Oj(n.handleLabelPoints[s],Mj(c,this.group));o[s].setStyle({x:p[0],y:p[1],text:a.formatValueText(this._dataInterval[s]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},e.prototype._showIndicator=function(t,e,n,a){var r=this.visualMapModel,o=r.getExtent(),i=r.itemSize,l=[0,i[1]],s=this._shapes,c=s.indicator;if(c){c.attr("invisible",!1);var u=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0}),d=this.getControllerVisual(t,"symbolSize"),p=Qat(t,o,l,!0),f=i[0]-d/2,h={x:c.x,y:c.y};c.y=p,c.x=f;var g=Oj(s.indicatorLabelPoint,Mj(c,this.group)),m=s.indicatorLabel;m.attr("invisible",!1);var b=this._applyTransform("left",s.mainGroup),v="horizontal"===this._orient;m.setStyle({text:(n||"")+r.formatValueText(e),verticalAlign:v?b:"middle",align:v?"center":b});var y={x:f,y:p,style:{fill:u}},x={style:{x:g[0],y:g[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var w={duration:100,easing:"cubicInOut",additive:!0};c.x=h.x,c.y=h.y,c.animateTo(y,w),m.animateTo(x,w)}else c.attr(y),m.attr(x);this._firstShowIndicator=!1;var _=this._shapes.handleLabels;if(_)for(var k=0;k<_.length;k++)this._api.enterBlur(_[k])}},e.prototype._enableHoverLinkToSeries=function(){var t=this;this._shapes.mainGroup.on("mousemove",(function(e){if(t._hovering=!0,!t._dragging){var n=t.visualMapModel.itemSize,a=t._applyTransform([e.offsetX,e.offsetY],t._shapes.mainGroup,!0,!0);a[1]=ert(nrt(0,a[1]),n[1]),t._doHoverLinkToSeries(a[1],0<=a[0]&&a[0]<=n[0])}})).on("mouseout",(function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()}))},e.prototype._enableHoverLinkFromSeries=function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},e.prototype._doHoverLinkToSeries=function(t,e){var n=this.visualMapModel,a=n.itemSize;if(n.option.hoverLink){var r=[0,a[1]],o=n.getExtent();t=ert(nrt(r[0],t),r[1]);var i=function(t,e,n){var a=6,r=t.get("hoverLinkDataSize");r&&(a=Qat(r,e,n,!0)/2);return a}(n,o,r),l=[t-i,t+i],s=Qat(t,r,o,!0),c=[Qat(l[0],r,o,!0),Qat(l[1],r,o,!0)];l[0]<r[0]&&(c[0]=-1/0),l[1]>r[1]&&(c[1]=1/0),e&&(c[0]===-1/0?this._showIndicator(s,c[1],"< ",i):c[1]===1/0?this._showIndicator(s,c[0],"> ",i):this._showIndicator(s,s,"≈ ",i));var u=this._hoverLinkDataIndices,d=[];(e||ort(n))&&(d=this._hoverLinkDataIndices=n.findTargetDataIndices(c));var p=function(t,e){var n={},a={};return r(t||[],n),r(e||[],a,n),[o(n),o(a)];function r(t,e,n){for(var a=0,r=t.length;a<r;a++){var o=IP(t[a].seriesId,null);if(null==o)return;for(var i=kP(t[a].dataIndex),l=n&&n[o],s=0,c=i.length;s<c;s++){var u=i[s];l&&l[u]?l[u]=null:(e[o]||(e[o]={}))[u]=1}}}function o(t,e){var n=[];for(var a in t)if(t.hasOwnProperty(a)&&null!=t[a])if(e)n.push(+a);else{var r=o(t[a],!0);r.length&&n.push({seriesId:a,dataIndex:r})}return n}}(u,d);this._dispatchHighDown("downplay",$at(p[0],n)),this._dispatchHighDown("highlight",$at(p[1],n))}},e.prototype._hoverLinkFromSeriesMouseOver=function(t){var e=t.target,n=this.visualMapModel;if(e&&null!=Dz(e).dataIndex){var a=Dz(e),r=this.ecModel.getSeriesByIndex(a.seriesIndex);if(n.isTargetSeries(r)){var o=r.getData(a.dataType),i=o.getStore().get(n.getDataDimensionIndex(o),a.dataIndex);isNaN(i)||this._showIndicator(i,i)}}},e.prototype._hideIndicator=function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0);var e=this._shapes.handleLabels;if(e)for(var n=0;n<e.length;n++)this._api.leaveBlur(e[n])},e.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",$at(t,this.visualMapModel)),t.length=0},e.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},e.prototype._applyTransform=function(t,e,n,a){var r=Mj(e,a?null:this.group);return DO(t)?Oj(t,r,n):Ej(t,r,n)},e.prototype._dispatchHighDown=function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},e.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},e.prototype.remove=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},e.type="visualMap.continuous",e}(Xat);function rrt(t,e,n,a){return new kL({shape:{points:t},draggable:!!n,cursor:e,drift:n,onmousemove:function(t){KE(t.event)},ondragend:a})}function ort(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function irt(t){return"vertical"===t?"ns-resize":"ew-resize"}var lrt={type:"selectDataRange",event:"dataRangeSelected",update:"update"},srt=function(t,e){e.eachComponent({mainType:"visualMap",query:t},(function(e){e.setSelected(t.selected)}))},crt=[{createOnAllSeries:!0,reset:function(t,e){var n=[];return e.eachComponent("visualMap",(function(e){var a,r,o,i,l,s=t.pipelineContext;!e.isTargetSeries(t)||s&&s.large||n.push((a=e.stateList,r=e.targetVisuals,o=EO(e.getValueState,e),i=e.getDataDimensionIndex(t.getData()),l={},_O(a,(function(t){var e=F1.prepareVisualTypes(r[t]);l[t]=e})),{progress:function(t,e){var n,a;function s(t){return rW(e,a,t)}function c(t,n){iW(e,a,t,n)}null!=i&&(n=e.getDimensionIndex(i));for(var u=e.getStore();null!=(a=t.next());){var d=e.getRawDataItem(a);if(!d||!1!==d.visualMap)for(var p=null!=i?u.get(n,a):a,f=o(p),h=r[f],g=l[f],m=0,b=g.length;m<b;m++){var v=g[m];h[v]&&h[v].applyVisual(p,s,c)}}}}))})),n}},{createOnAllSeries:!0,reset:function(t,e){var n=t.getData(),a=[];e.eachComponent("visualMap",(function(e){if(e.isTargetSeries(t)){var r=e.getVisualMeta(EO(urt,null,t,e))||{stops:[],outerColors:[]},o=e.getDataDimensionIndex(n);o>=0&&(r.dimension=o,a.push(r))}})),t.getData().setVisual("visualMeta",a)}}];function urt(t,e,n,a){for(var r=e.targetVisuals[a],o=F1.prepareVisualTypes(r),i={color:oW(t.getData(),"color")},l=0,s=o.length;l<s;l++){var c=o[l],u=r["opacity"===c?"__alphaForOpacity":c];u&&u.applyVisual(n,d,p)}return i.color;function d(t){return i[t]}function p(t,e){i[t]=e}}var drt=_O;function prt(t){var e=t&&t.visualMap;DO(e)||(e=e?[e]:[]),drt(e,(function(t){if(t){frt(t,"splitList")&&!frt(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&DO(e)&&drt(e,(function(t){zO(t)&&(frt(t,"start")&&!frt(t,"min")&&(t.min=t.start),frt(t,"end")&&!frt(t,"max")&&(t.max=t.end))}))}}))}function frt(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}var hrt=!1;function grt(t){hrt||(hrt=!0,t.registerSubTypeDefaulter("visualMap",(function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})),t.registerAction(lrt,srt),_O(crt,(function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)})),t.registerPreprocessor(prt))}function mrt(t){t.registerComponentModel(Kat),t.registerComponentView(art),grt(t)}var brt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._pieceList=[],n}return d(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var a=this._mode=this._determineMode();this._pieceList=[],vrt[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var r=this.option.categories;this.resetVisual((function(t,e){"categories"===a?(t.mappingMethod="category",t.categories=pO(r)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=kO(this._pieceList,(function(t){return t=pO(t),"inRange"!==e&&(t.visual=null),t})))}))},e.prototype.completeVisualOption=function(){var e=this.option,n={},a=F1.listVisualTypes(),r=this.isCategory();function o(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}_O(e.pieces,(function(t){_O(a,(function(e){t.hasOwnProperty(e)&&(n[e]=1)}))})),_O(n,(function(t,n){var a=!1;_O(this.stateList,(function(t){a=a||o(e,t,n)||o(e.target,t,n)}),this),!a&&_O(this.stateList,(function(t){(e[t]||(e[t]={}))[n]=Lat(n,"inRange"===t?"active":"inactive",r)}))}),this),t.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,e){var n=this.option,a=this._pieceList,r=(e?n:t).selected||{};if(n.selected=r,_O(a,(function(t,e){var n=this.getSelectedMapKey(t);r.hasOwnProperty(n)||(r[n]=!0)}),this),"single"===n.selectedMode){var o=!1;_O(a,(function(t,e){var n=this.getSelectedMapKey(t);r[n]&&(o?r[n]=!1:o=!0)}),this)}},e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},e.prototype.getSelectedMapKey=function(t){return"categories"===this._mode?t.value+"":t.index+""},e.prototype.getPieceList=function(){return this._pieceList},e.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(t){this.option.selected=pO(t)},e.prototype.getValueState=function(t){var e=F1.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[],n=this._pieceList;return this.eachTargetSeries((function(a){var r=[],o=a.getData();o.each(this.getDataDimensionIndex(o),(function(e,a){F1.findPieceIndex(e,n)===t&&r.push(a)}),this),e.push({seriesId:a.id,dataIndex:r})}),this),e},e.prototype.getRepresentValue=function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},e.prototype.getVisualMeta=function(t){if(!this.isCategory()){var e=[],n=["",""],a=this,r=this._pieceList.slice();if(r.length){var o=r[0].interval[0];o!==-1/0&&r.unshift({interval:[-1/0,o]}),(o=r[r.length-1].interval[1])!==1/0&&r.push({interval:[o,1/0]})}else r.push({interval:[-1/0,1/0]});var i=-1/0;return _O(r,(function(t){var e=t.interval;e&&(e[0]>i&&l([i,e[0]],"outOfRange"),l(e.slice()),i=e[1])}),this),{stops:e,outerColors:n}}function l(r,o){var i=a.getRepresentValue({interval:r});o||(o=a.getValueState(i));var l=t(i,o);r[0]===-1/0?n[0]=l:r[1]===1/0?n[1]=l:e.push({value:r[0],color:l},{value:r[1],color:l})}},e.type="visualMap.piecewise",e.defaultOption=hF(Uat.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e}(Uat),vrt={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),a=this.getExtent(),r=e.splitNumber;r=Math.max(parseInt(r,10),1),e.splitNumber=r;for(var o=(a[1]-a[0])/r;+o.toFixed(n)!==o&&n<5;)n++;e.precision=n,o=+o.toFixed(n),e.minOpen&&t.push({interval:[-1/0,a[0]],close:[0,0]});for(var i=0,l=a[0];i<r;l+=o,i++){var s=i===r-1?a[1]:l+o;t.push({interval:[l,s],close:[1,1]})}e.maxOpen&&t.push({interval:[a[1],1/0],close:[0,0]}),hP(t),_O(t,(function(t,e){t.index=e,t.text=this.formatValueText(t.interval)}),this)},categories:function(t){var e=this.option;_O(e.categories,(function(e){t.push({text:this.formatValueText(e,!0),value:e})}),this),yrt(e,t)},pieces:function(t){var e=this.option;_O(e.pieces,(function(e,n){zO(e)||(e={value:e});var a={text:"",index:n};if(null!=e.label&&(a.text=e.label),e.hasOwnProperty("value")){var r=a.value=e.value;a.interval=[r,r],a.close=[1,1]}else{for(var o=a.interval=[],i=a.close=[0,0],l=[1,0,1],s=[-1/0,1/0],c=[],u=0;u<2;u++){for(var d=[["gte","gt","min"],["lte","lt","max"]][u],p=0;p<3&&null==o[u];p++)o[u]=e[d[p]],i[u]=l[p],c[u]=2===p;null==o[u]&&(o[u]=s[u])}c[0]&&o[1]===1/0&&(i[0]=0),c[1]&&o[0]===-1/0&&(i[1]=0),o[0]===o[1]&&i[0]&&i[1]&&(a.value=o[0])}a.visual=F1.retrieveVisuals(e),t.push(a)}),this),yrt(e,t),hP(t),_O(t,(function(t){var e=t.close,n=[["<","≤"][e[1]],[">","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)}),this)}};function yrt(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var xrt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return d(e,t),e.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),a=e.textStyleModel,r=a.getFont(),o=a.getTextColor(),i=this._getItemAlign(),l=e.itemSize,s=this._getViewData(),c=s.endsText,u=HO(e.get("showLabel",!0),!c);c&&this._renderEndsText(t,c[0],l,u,i),_O(s.viewPieceList,(function(a){var s=a.piece,c=new VI;c.onclick=EO(this._onItemClick,this,s),this._enableHoverLink(c,a.indexInModelPieceList);var d=e.getRepresentValue(s);if(this._createItemSymbol(c,d,[0,0,l[0],l[1]]),u){var p=this.visualMapModel.getValueState(d);c.add(new Tz({style:{x:"right"===i?-n:l[0]+n,y:l[1]/2,text:s.text,verticalAlign:"middle",align:i,font:r,fill:o,opacity:"outOfRange"===p?.5:1}}))}t.add(c)}),this),c&&this._renderEndsText(t,c[1],l,u,i),gB(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,e){var n=this;t.on("mouseover",(function(){return a("highlight")})).on("mouseout",(function(){return a("downplay")}));var a=function(t){var a=n.visualMapModel;a.option.hoverLink&&n.api.dispatchAction({type:t,batch:$at(a.findTargetDataIndices(e),a)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return Jat(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},e.prototype._renderEndsText=function(t,e,n,a,r){if(e){var o=new VI,i=this.visualMapModel.textStyleModel;o.add(new Tz({style:{x:a?"right"===r?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:a?r:"center",text:e,font:i.getFont(),fill:i.getTextColor()}})),t.add(o)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=kO(t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),n=t.get("text"),a=t.get("orient"),r=t.get("inverse");return("horizontal"===a?r:!r)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},e.prototype._createItemSymbol=function(t,e,n){t.add(_W(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color")))},e.prototype._onItemClick=function(t){var e=this.visualMapModel,n=e.option,a=pO(n.selected),r=e.getSelectedMapKey(t);"single"===n.selectedMode?(a[r]=!0,_O(a,(function(t,e){a[e]=e===r}))):a[r]=!a[r],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:a})},e.type="visualMap.piecewise",e}(Xat);function wrt(t){t.registerComponentModel(brt),t.registerComponentView(xrt),grt(t)}function _rt(t){Kq(mrt),Kq(wrt)}var krt={label:{enabled:!0},decal:{show:!1}},Srt=zP(),Crt={};function Mrt(t,e){var n=t.getModel("aria");if(n.get("enabled")){var a=pO(krt);fO(a.label,t.getLocaleModel().get("aria"),!1),fO(n.option,a,!1),function(){if(n.getModel("decal").get("show")){var e=tE();t.eachSeries((function(t){if(!t.isColorBySeries()){var n=e.get(t.type);n||(n={},e.set(t.type,n)),Srt(t).scope=n}})),t.eachRawSeries((function(e){if(!t.isSeriesFiltered(e))if("function"!=typeof e.enableAriaDecal){var n=e.getData();if(e.isColorBySeries()){var a=$B(e.ecModel,e.name,Crt,t.getSeriesCount()),r=n.getVisual("decal");n.setVisual("decal",c(r,a))}else{var o=e.getRawData(),i={},l=Srt(e).scope;n.each((function(t){var e=n.getRawIndex(t);i[e]=t}));var s=o.count();o.each((function(t){var a=i[t],r=o.getName(t)||t+"",u=$B(e.ecModel,r,l,s),d=n.getItemVisual(a,"decal");n.setItemVisual(a,"decal",c(d,u))}))}}else e.enableAriaDecal();function c(t,e){var n=t?gO(gO({},e),t):e;return n.dirty=!0,n}}))}}(),function(){var a=t.getLocaleModel().get("aria"),i=n.getModel("label");if(i.option=mO(i.option,a),!i.get("enabled"))return;var l=e.getZr().dom;if(i.get("description"))return void l.setAttribute("aria-label",i.get("description"));var s,c=t.getSeriesCount(),u=i.get(["data","maxCount"])||10,d=i.get(["series","maxCount"])||10,p=Math.min(c,d);if(c<1)return;var f=function(){var e=t.get("title");e&&e.length&&(e=e[0]);return e&&e.text}();if(f){var h=i.get(["general","withTitle"]);s=r(h,{title:f})}else s=i.get(["general","withoutTitle"]);var g=[],m=c>1?i.get(["series","multiple","prefix"]):i.get(["series","single","prefix"]);s+=r(m,{seriesCount:c}),t.eachSeries((function(t,e){if(e<p){var n=void 0,a=t.get("name")?"withName":"withoutName";n=r(n=c>1?i.get(["series","multiple",a]):i.get(["series","single",a]),{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:o(t.subType)});var l=t.getData();if(l.count()>u)n+=r(i.get(["data","partialData"]),{displayCnt:u});else n+=i.get(["data","allData"]);for(var s=[],d=0;d<l.count();d++)if(d<u){var f=l.getName(d),h=nY(l,d),m=i.get(["data",f?"withName":"withoutName"]);s.push(r(m,{name:f,value:h}))}var b=i.get(["data","separator","middle"]),v=i.get(["data","separator","end"]);n+=s.join(b)+v,g.push(n)}}));var b=i.getModel(["series","multiple","separator"]),v=b.get("middle"),y=b.get("end");s+=g.join(v)+y,l.setAttribute("aria-label",s)}()}function r(t,e){if("string"!=typeof t)return t;var n=t;return _O(e,(function(t,e){n=n.replace(new RegExp("\\{\\s*"+e+"\\s*\\}","g"),t)})),n}function o(e){return t.getLocaleModel().get(["series","typeNames"])[e]||"自定义图"}}function Ort(t){if(t&&t.aria){var e=t.aria;null!=e.show&&(e.enabled=e.show),e.label=e.label||{},_O(["description","general","series","data"],(function(t){null!=e[t]&&(e.label[t]=e[t])}))}}var Ert={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},Trt=function(){function t(t){if(null==(this._condVal=PO(t)?new RegExp(t):VO(t)?t:null)){xP("")}}return t.prototype.evaluate=function(t){var e=typeof t;return"string"===e?this._condVal.test(t):"number"===e&&this._condVal.test(t+"")},t}(),Drt=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),Irt=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(!t[e].evaluate())return!1;return!0},t}(),Prt=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(t[e].evaluate())return!0;return!1},t}(),Nrt=function(){function t(){}return t.prototype.evaluate=function(){return!this.child.evaluate()},t}(),Art=function(){function t(){}return t.prototype.evaluate=function(){for(var t=!!this.valueParser,e=(0,this.getValue)(this.valueGetterParam),n=t?this.valueParser(e):null,a=0;a<this.subCondList.length;a++)if(!this.subCondList[a].evaluate(t?n:e))return!1;return!0},t}();function zrt(t,e){if(!0===t||!1===t){var n=new Drt;return n.value=t,n}return Lrt(t)||xP(""),t.and?Rrt("and",t,e):t.or?Rrt("or",t,e):t.not?function(t,e){var n=t.not,a="";Lrt(n)||xP(a);var r=new Nrt;r.child=zrt(n,e),r.child||xP(a);return r}(t,e):function(t,e){for(var n="",a=e.prepareGetValue(t),r=[],o=OO(t),i=t.parser,l=i?dY(i):null,s=0;s<o.length;s++){var c=o[s];if("parser"!==c&&!e.valueGetterAttrMap.get(c)){var u=aE(Ert,c)?Ert[c]:c,d=t[c],p=l?l(d):d,f=mY(u,p)||"reg"===u&&new Trt(p);f||xP(n),r.push(f)}}r.length||xP(n);var h=new Art;return h.valueGetterParam=a,h.valueParser=l,h.getValue=e.getValue,h.subCondList=r,h}(t,e)}function Rrt(t,e,n){var a=e[t];DO(a)||xP(""),a.length||xP("");var r="and"===t?new Irt:new Prt;return r.children=kO(a,(function(t){return zrt(t,n)})),r.children.length||xP(""),r}function Lrt(t){return zO(t)&&!wO(t)}var jrt=function(){function t(t,e){this._cond=zrt(t,e)}return t.prototype.evaluate=function(){return this._cond.evaluate()},t}();var Frt={type:"echarts:filter",transform:function(t){for(var e,n,a,r=t.upstream,o=(n=t.config,a={valueGetterAttrMap:tE({dimension:!0}),prepareGetValue:function(t){var e=t.dimension;aE(t,"dimension")||xP("");var n=r.getDimensionInfo(e);return n||xP(""),{dimIdx:n.index}},getValue:function(t){return r.retrieveValueFromItem(e,t.dimIdx)}},new jrt(n,a)),i=[],l=0,s=r.count();l<s;l++)e=r.getRawDataItem(l),o.evaluate()&&i.push(e);return{data:i}}},Brt={type:"echarts:sort",transform:function(t){var e=t.upstream,n=t.config,a="",r=kP(n);r.length||xP(a);var o=[];_O(r,(function(t){var n=t.dimension,r=t.order,i=t.parser,l=t.incomparable;if(null==n&&xP(a),"asc"!==r&&"desc"!==r&&xP(a),l&&"min"!==l&&"max"!==l){xP("")}if("asc"!==r&&"desc"!==r){xP("")}var s=e.getDimensionInfo(n);s||xP(a);var c=i?dY(i):null;i&&!c&&xP(a),o.push({dimIdx:s.index,parser:c,comparator:new hY(r,l)})}));var i=e.sourceFormat;i!==TB&&i!==DB&&xP(a);for(var l=[],s=0,c=e.count();s<c;s++)l.push(e.getRawDataItem(s));return l.sort((function(t,n){for(var a=0;a<o.length;a++){var r=o[a],i=e.retrieveValueFromItem(t,r.dimIdx),l=e.retrieveValueFromItem(n,r.dimIdx);r.parser&&(i=r.parser(i),l=r.parser(l));var s=r.comparator.evaluate(i,l);if(0!==s)return s}return 0})),{data:l}}};var Vrt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return d(e,t),e.prototype.init=function(e,n,a){t.prototype.init.call(this,e,n,a),this._sourceManager=new zY(this),RY(this)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),RY(this)},e.prototype.optionUpdated=function(){this._sourceManager.dirty()},e.prototype.getSourceManager=function(){return this._sourceManager},e.type="dataset",e.defaultOption={seriesLayoutBy:AB},e}(kB),Yrt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return d(e,t),e.type="dataset",e}(cH);var Hrt=zA.CMD;function Wrt(t,e){return Math.abs(t-e)<1e-5}function Urt(t){var e,n,a,r,o,i=t.data,l=t.len(),s=[],c=0,u=0,d=0,p=0;function f(t,n){e&&e.length>2&&s.push(e),e=[t,n]}function h(t,n,a,r){Wrt(t,a)&&Wrt(n,r)||e.push(t,n,a,r,a,r)}function g(t,n,a,r,o,i){var l=Math.abs(n-t),s=4*Math.tan(l/4)/3,c=n<t?-1:1,u=Math.cos(t),d=Math.sin(t),p=Math.cos(n),f=Math.sin(n),h=u*o+a,g=d*i+r,m=p*o+a,b=f*i+r,v=o*s*c,y=i*s*c;e.push(h-v*d,g+y*u,m+v*f,b-y*p,m,b)}for(var m=0;m<l;){var b=i[m++],v=1===m;switch(v&&(d=c=i[m],p=u=i[m+1],b!==Hrt.L&&b!==Hrt.C&&b!==Hrt.Q||(e=[d,p])),b){case Hrt.M:c=d=i[m++],u=p=i[m++],f(d,p);break;case Hrt.L:h(c,u,n=i[m++],a=i[m++]),c=n,u=a;break;case Hrt.C:e.push(i[m++],i[m++],i[m++],i[m++],c=i[m++],u=i[m++]);break;case Hrt.Q:n=i[m++],a=i[m++],r=i[m++],o=i[m++],e.push(c+2/3*(n-c),u+2/3*(a-u),r+2/3*(n-r),o+2/3*(a-o),r,o),c=r,u=o;break;case Hrt.A:var y=i[m++],x=i[m++],w=i[m++],_=i[m++],k=i[m++],S=i[m++]+k;m+=1;var C=!i[m++];n=Math.cos(k)*w+y,a=Math.sin(k)*_+x,v?f(d=n,p=a):h(c,u,n,a),c=Math.cos(S)*w+y,u=Math.sin(S)*_+x;for(var M=(C?-1:1)*Math.PI/2,O=k;C?O>S:O<S;O+=M){g(O,C?Math.max(O+M,S):Math.min(O+M,S),y,x,w,_)}break;case Hrt.R:d=c=i[m++],p=u=i[m++],n=d+i[m++],a=p+i[m++],f(n,p),h(n,p,n,a),h(n,a,d,a),h(d,a,d,p),h(d,p,n,p);break;case Hrt.Z:e&&h(c,u,d,p),c=d,u=p}}return e&&e.length>2&&s.push(e),s}function Grt(t,e,n,a,r,o,i,l,s,c){if(Wrt(t,n)&&Wrt(e,a)&&Wrt(r,i)&&Wrt(o,l))s.push(i,l);else{var u=2/c,d=u*u,p=i-t,f=l-e,h=Math.sqrt(p*p+f*f);p/=h,f/=h;var g=n-t,m=a-e,b=r-i,v=o-l,y=g*g+m*m,x=b*b+v*v;if(y<d&&x<d)s.push(i,l);else{var w=p*g+f*m,_=-p*b-f*v;if(y-w*w<d&&w>=0&&x-_*_<d&&_>=0)s.push(i,l);else{var k=[],S=[];UN(t,n,r,i,.5,k),UN(e,a,o,l,.5,S),Grt(k[0],S[0],k[1],S[1],k[2],S[2],k[3],S[3],s,c),Grt(k[4],S[4],k[5],S[5],k[6],S[6],k[7],S[7],s,c)}}}}function Krt(t,e,n){var a=t[e],r=t[1-e],o=Math.abs(a/r),i=Math.ceil(Math.sqrt(o*n)),l=Math.floor(n/i);0===l&&(l=1,i=n);for(var s=[],c=0;c<i;c++)s.push(l);var u=n-i*l;if(u>0)for(c=0;c<u;c++)s[c%i]+=1;return s}function qrt(t,e,n){for(var a=t.r0,r=t.r,o=t.startAngle,i=t.endAngle,l=Math.abs(i-o),s=l*r,c=r-a,u=s>Math.abs(c),d=Krt([s,c],u?0:1,e),p=(u?l:c)/d.length,f=0;f<d.length;f++)for(var h=(u?c:l)/d[f],g=0;g<d[f];g++){var m={};u?(m.startAngle=o+p*f,m.endAngle=o+p*(f+1),m.r0=a+h*g,m.r=a+h*(g+1)):(m.startAngle=o+h*g,m.endAngle=o+h*(g+1),m.r0=a+p*f,m.r=a+p*(f+1)),m.clockwise=t.clockwise,m.cx=t.cx,m.cy=t.cy,n.push(m)}}function Xrt(t,e,n,a){return t*a-n*e}function Zrt(t,e,n,a,r,o,i,l){var s=n-t,c=a-e,u=i-r,d=l-o,p=Xrt(u,d,s,c);if(Math.abs(p)<1e-6)return null;var f=Xrt(t-r,e-o,u,d)/p;return f<0||f>1?null:new lI(f*s+t,f*c+e)}function Jrt(t,e,n){var a=new lI;lI.sub(a,n,e),a.normalize();var r=new lI;return lI.sub(r,t,e),r.dot(a)}function $rt(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push(e)}function Qrt(t){var e=t.points,n=[],a=[];sA(e,n,a);var r=new bI(n[0],n[1],a[0]-n[0],a[1]-n[1]),o=r.width,i=r.height,l=r.x,s=r.y,c=new lI,u=new lI;return o>i?(c.x=u.x=l+o/2,c.y=s,u.y=s+i):(c.y=u.y=s+i/2,c.x=l,u.x=l+o),function(t,e,n){for(var a=t.length,r=[],o=0;o<a;o++){var i=t[o],l=t[(o+1)%a],s=Zrt(i[0],i[1],l[0],l[1],e.x,e.y,n.x,n.y);s&&r.push({projPt:Jrt(s,e,n),pt:s,idx:o})}if(r.length<2)return[{points:t},{points:t}];r.sort((function(t,e){return t.projPt-e.projPt}));var c=r[0],u=r[r.length-1];if(u.idx<c.idx){var d=c;c=u,u=d}var p=[c.pt.x,c.pt.y],f=[u.pt.x,u.pt.y],h=[p],g=[f];for(o=c.idx+1;o<=u.idx;o++)$rt(h,t[o].slice());for($rt(h,f),$rt(h,p),o=u.idx+1;o<=c.idx+a;o++)$rt(g,t[o%a].slice());return $rt(g,p),$rt(g,f),[{points:h},{points:g}]}(e,c,u)}function tot(t,e,n,a){if(1===n)a.push(e);else{var r=Math.floor(n/2),o=t(e);tot(t,o[0],r,a),tot(t,o[1],n-r,a)}return a}function eot(t,e){e.setStyle(t.style),e.z=t.z,e.z2=t.z2,e.zlevel=t.zlevel}function not(t,e){var n,a=[],r=t.shape;switch(t.type){case"rect":!function(t,e,n){for(var a=t.width,r=t.height,o=a>r,i=Krt([a,r],o?0:1,e),l=o?"width":"height",s=o?"height":"width",c=o?"x":"y",u=o?"y":"x",d=t[l]/i.length,p=0;p<i.length;p++)for(var f=t[s]/i[p],h=0;h<i[p];h++){var g={};g[c]=p*d,g[u]=h*f,g[l]=d,g[s]=f,g.x+=t.x,g.y+=t.y,n.push(g)}}(r,e,a),n=bz;break;case"sector":qrt(r,e,a),n=gL;break;case"circle":qrt({r0:0,r:r.r,startAngle:0,endAngle:2*Math.PI,cx:r.cx,cy:r.cy},e,a),n=gL;break;default:var o=t.getComputedTransform(),i=o?Math.sqrt(Math.max(o[0]*o[0]+o[1]*o[1],o[2]*o[2]+o[3]*o[3])):1,l=kO(function(t,e){var n=Urt(t),a=[];e=e||1;for(var r=0;r<n.length;r++){var o=n[r],i=[],l=o[0],s=o[1];i.push(l,s);for(var c=2;c<o.length;){var u=o[c++],d=o[c++],p=o[c++],f=o[c++],h=o[c++],g=o[c++];Grt(l,s,u,d,p,f,h,g,i,e),l=h,s=g}a.push(i)}return a}(t.getUpdatedPathProxy(),i),(function(t){return function(t){for(var e=[],n=0;n<t.length;)e.push([t[n++],t[n++]]);return e}(t)})),s=l.length;if(0===s)tot(Qrt,{points:l[0]},e,a);else if(s===e)for(var c=0;c<s;c++)a.push({points:l[c]});else{var u=0,d=kO(l,(function(t){var e=[],n=[];sA(t,e,n);var a=(n[1]-e[1])*(n[0]-e[0]);return u+=a,{poly:t,area:a}}));d.sort((function(t,e){return e.area-t.area}));var p=e;for(c=0;c<s;c++){var f=d[c];if(p<=0)break;var h=c===s-1?p:Math.ceil(f.area/u*e);h<0||(tot(Qrt,{points:f.poly},h,a),p-=h)}}n=kL}if(!n)return function(t,e){for(var n=[],a=0;a<e;a++)n.push(KR(t));return n}(t,e);var g=[];for(c=0;c<a.length;c++){var m=new n;m.setShape(a[c]),eot(t,m),g.push(m)}return g}function aot(t,e){var n=t.length,a=e.length;if(n===a)return[t,e];for(var r=[],o=[],i=n<a?t:e,l=Math.min(n,a),s=Math.abs(a-n)/6,c=(l-2)/6,u=Math.ceil(s/c)+1,d=[i[0],i[1]],p=s,f=2;f<l;){var h=i[f-2],g=i[f-1],m=i[f++],b=i[f++],v=i[f++],y=i[f++],x=i[f++],w=i[f++];if(p<=0)d.push(m,b,v,y,x,w);else{for(var _=Math.min(p,u-1)+1,k=1;k<=_;k++){var S=k/_;UN(h,m,v,x,S,r),UN(g,b,y,w,S,o),h=r[3],g=o[3],d.push(r[1],o[1],r[2],o[2],h,g),m=r[5],b=o[5],v=r[6],y=o[6]}p-=_-1}}return i===t?[d,e]:[t,d]}function rot(t,e){for(var n=t.length,a=t[n-2],r=t[n-1],o=[],i=0;i<e.length;)o[i++]=a,o[i++]=r;return o}function oot(t){for(var e=0,n=0,a=0,r=t.length,o=0,i=r-2;o<r;i=o,o+=2){var l=t[i],s=t[i+1],c=t[o],u=t[o+1],d=l*u-c*s;e+=d,n+=(l+c)*d,a+=(s+u)*d}return 0===e?[t[0]||0,t[1]||0]:[n/e/3,a/e/3,e]}function iot(t,e,n,a){for(var r=(t.length-2)/6,o=1/0,i=0,l=t.length,s=l-2,c=0;c<r;c++){for(var u=6*c,d=0,p=0;p<l;p+=2){var f=0===p?u:(u+p-2)%s+2,h=t[f]-n[0],g=t[f+1]-n[1],m=e[p]-a[0]-h,b=e[p+1]-a[1]-g;d+=m*m+b*b}d<o&&(o=d,i=c)}return i}function lot(t){for(var e=[],n=t.length,a=0;a<n;a+=2)e[a]=t[n-a-2],e[a+1]=t[n-a-1];return e}function sot(t){return t.__isCombineMorphing}var cot="__mOriginal_";function uot(t,e,n){var a=cot+e,r=t[a]||t[e];t[a]||(t[a]=t[e]);var o=n.replace,i=n.after,l=n.before;t[e]=function(){var t,e=arguments;return l&&l.apply(this,e),t=o?o.apply(this,e):r.apply(this,e),i&&i.apply(this,e),t}}function dot(t,e){var n=cot+e;t[n]&&(t[e]=t[n],t[n]=null)}function pot(t,e){for(var n=0;n<t.length;n++)for(var a=t[n],r=0;r<a.length;){var o=a[r],i=a[r+1];a[r++]=e[0]*o+e[2]*i+e[4],a[r++]=e[1]*o+e[3]*i+e[5]}}function fot(t,e){var n=t.getUpdatedPathProxy(),a=e.getUpdatedPathProxy(),r=function(t,e){for(var n,a,r,o=[],i=[],l=0;l<Math.max(t.length,e.length);l++){var s=t[l],c=e[l],u=void 0,d=void 0;s?c?(a=u=(n=aot(s,c))[0],r=d=n[1]):(d=rot(r||s,s),u=s):(u=rot(a||c,c),d=c),o.push(u),i.push(d)}return[o,i]}(Urt(n),Urt(a)),o=r[0],i=r[1],l=t.getComputedTransform(),s=e.getComputedTransform();l&&pot(o,l),s&&pot(i,s),uot(e,"updateTransform",{replace:function(){this.transform=null}}),e.transform=null;var c=function(t,e,n,a){for(var r,o=[],i=0;i<t.length;i++){var l=t[i],s=e[i],c=oot(l),u=oot(s);null==r&&(r=c[2]<0!=u[2]<0);var d=[],p=[],f=0,h=1/0,g=[],m=l.length;r&&(l=lot(l));for(var b=6*iot(l,s,c,u),v=m-2,y=0;y<v;y+=2){var x=(b+y)%v+2;d[y+2]=l[x]-c[0],d[y+3]=l[x+1]-c[1]}if(d[0]=l[b]-c[0],d[1]=l[b+1]-c[1],n>0)for(var w=a/n,_=-a/2;_<=a/2;_+=w){var k=Math.sin(_),S=Math.cos(_),C=0;for(y=0;y<l.length;y+=2){var M=d[y],O=d[y+1],E=s[y]-u[0],T=s[y+1]-u[1],D=E*S-T*k,I=E*k+T*S;g[y]=D,g[y+1]=I;var P=D-M,N=I-O;C+=P*P+N*N}if(C<h){h=C,f=_;for(var A=0;A<g.length;A++)p[A]=g[A]}}else for(var z=0;z<m;z+=2)p[z]=s[z]-u[0],p[z+1]=s[z+1]-u[1];o.push({from:d,to:p,fromCp:c,toCp:u,rotation:-f})}return o}(o,i,10,Math.PI),u=[];uot(e,"buildPath",{replace:function(t){for(var n=e.__morphT,a=1-n,r=[],o=0;o<c.length;o++){var i=c[o],l=i.from,s=i.to,d=i.rotation*n,p=i.fromCp,f=i.toCp,h=Math.sin(d),g=Math.cos(d);kE(r,p,f,n);for(var m=0;m<l.length;m+=2){var b=l[m],v=l[m+1],y=b*a+(k=s[m])*n,x=v*a+(S=s[m+1])*n;u[m]=y*g-x*h+r[0],u[m+1]=y*h+x*g+r[1]}var w=u[0],_=u[1];t.moveTo(w,_);for(m=2;m<l.length;){var k=u[m++],S=u[m++],C=u[m++],M=u[m++],O=u[m++],E=u[m++];w===k&&_===S&&C===O&&M===E?t.lineTo(O,E):t.bezierCurveTo(k,S,C,M,O,E),w=O,_=E}}}})}function hot(t,e,n){if(!t||!e)return e;var a=n.done,r=n.during;return fot(t,e),e.__morphT=0,e.animateTo({__morphT:1},mO({during:function(t){e.dirtyShape(),r&&r(t)},done:function(){dot(e,"buildPath"),dot(e,"updateTransform"),e.__morphT=-1,e.createPathProxy(),e.dirtyShape(),a&&a()}},n)),e}function got(t,e,n,a,r,o){t=r===n?0:Math.round(32767*(t-n)/(r-n)),e=o===a?0:Math.round(32767*(e-a)/(o-a));for(var i,l=0,s=32768;s>0;s/=2){var c=0,u=0;(t&s)>0&&(c=1),(e&s)>0&&(u=1),l+=s*s*(3*c^u),0===u&&(1===c&&(t=s-1-t,e=s-1-e),i=t,t=e,e=i)}return l}function mot(t){var e=1/0,n=1/0,a=-1/0,r=-1/0,o=kO(t,(function(t){var o=t.getBoundingRect(),i=t.getComputedTransform(),l=o.x+o.width/2+(i?i[4]:0),s=o.y+o.height/2+(i?i[5]:0);return e=Math.min(l,e),n=Math.min(s,n),a=Math.max(l,a),r=Math.max(s,r),[l,s]}));return kO(o,(function(o,i){return{cp:o,z:got(o[0],o[1],e,n,a,r),path:t[i]}})).sort((function(t,e){return t.z-e.z})).map((function(t){return t.path}))}function bot(t){return not(t.path,t.count)}function vot(t){return DO(t[0])}function yot(t,e){for(var n=[],a=t.length,r=0;r<a;r++)n.push({one:t[r],many:[]});for(r=0;r<e.length;r++){var o=e[r].length,i=void 0;for(i=0;i<o;i++)n[i%a].many.push(e[r][i])}var l=0;for(r=a-1;r>=0;r--)if(!n[r].many.length){var s=n[l].many;if(s.length<=1){if(!l)return n;l=0}o=s.length;var c=Math.ceil(o/2);n[r].many=s.slice(c,o),n[l].many=s.slice(0,c),l++}return n}var xot={clone:function(t){for(var e=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),a=0;a<t.count;a++){var r=KR(t.path);r.setStyle("opacity",n),e.push(r)}return e},split:null};function wot(t,e,n,a,r,o){if(t.length&&e.length){var i=aj("update",a,r);if(i&&i.duration>0){var l,s,c=a.getModel("universalTransition").get("delay"),u=Object.assign({setToFinal:!0},i);vot(t)&&(l=t,s=e),vot(e)&&(l=e,s=t);for(var d=l?l===t:t.length>e.length,p=l?yot(s,l):yot(d?e:t,[d?t:e]),f=0,h=0;h<p.length;h++)f+=p[h].many.length;var g=0;for(h=0;h<p.length;h++)m(p[h],d,g,f),g+=p[h].many.length}}function m(t,e,a,r,i){var l=t.many,s=t.one;if(1!==l.length||i)for(var d=mO({dividePath:xot[n],individualDelay:c&&function(t,e,n,o){return c(t+a,r)}},u),p=e?function(t,e,n){var a=[];!function t(e){for(var n=0;n<e.length;n++){var r=e[n];sot(r)?t(r.childrenRef()):r instanceof nz&&a.push(r)}}(t);var r=a.length;if(!r)return{fromIndividuals:[],toIndividuals:[],count:0};var o=(n.dividePath||bot)({path:e,count:r});if(o.length!==r)return console.error("Invalid morphing: unmatched splitted path"),{fromIndividuals:[],toIndividuals:[],count:0};a=mot(a),o=mot(o);for(var i=n.done,l=n.during,s=n.individualDelay,c=new oI,u=0;u<r;u++){var d=a[u],p=o[u];p.parent=e,p.copyTransform(c),s||fot(d,p)}function f(t){for(var e=0;e<o.length;e++)o[e].addSelfToZr(t)}function h(){e.__isCombineMorphing=!1,e.__morphT=-1,e.childrenRef=null,dot(e,"addSelfToZr"),dot(e,"removeSelfFromZr")}e.__isCombineMorphing=!0,e.childrenRef=function(){return o},uot(e,"addSelfToZr",{after:function(t){f(t)}}),uot(e,"removeSelfFromZr",{after:function(t){for(var e=0;e<o.length;e++)o[e].removeSelfFromZr(t)}});var g=o.length;if(s){var m=g,b=function(){0==--m&&(h(),i&&i())};for(u=0;u<g;u++){var v=s?mO({delay:(n.delay||0)+s(u,g,a[u],o[u]),done:b},n):n;hot(a[u],o[u],v)}}else e.__morphT=0,e.animateTo({__morphT:1},mO({during:function(t){for(var n=0;n<g;n++){var a=o[n];a.__morphT=e.__morphT,a.dirtyShape()}l&&l(t)},done:function(){h();for(var e=0;e<t.length;e++)dot(t[e],"updateTransform");i&&i()}},n));return e.__zr&&f(e.__zr),{fromIndividuals:a,toIndividuals:o,count:g}}(l,s,d):function(t,e,n){var a=e.length,r=[],o=n.dividePath||bot;if(sot(t)){!function t(e){for(var n=0;n<e.length;n++){var a=e[n];sot(a)?t(a.childrenRef()):a instanceof nz&&r.push(a)}}(t.childrenRef());var i=r.length;if(i<a)for(var l=0,s=i;s<a;s++)r.push(KR(r[l++%i]));r.length=a}else{r=o({path:t,count:a});var c=t.getComputedTransform();for(s=0;s<r.length;s++)r[s].setLocalTransform(c);if(r.length!==a)return console.error("Invalid morphing: unmatched splitted path"),{fromIndividuals:[],toIndividuals:[],count:0}}r=mot(r),e=mot(e);var u=n.individualDelay;for(s=0;s<a;s++){var d=u?mO({delay:(n.delay||0)+u(s,a,r[s],e[s])},n):n;hot(r[s],e[s],d)}return{fromIndividuals:r,toIndividuals:e,count:e.length}}(s,l,d),f=p.fromIndividuals,h=p.toIndividuals,g=f.length,b=0;b<g;b++){v=c?mO({delay:c(b,g)},u):u;o(f[b],h[b],e?l[b]:t.one,e?t.one:l[b],v)}else{var v,y=e?l[0]:s,x=e?s:l[0];if(sot(y))m({many:[y],one:x},!0,a,r,!0);else hot(y,x,v=c?mO({delay:c(a,r)},u):u),o(y,x,y,x,v)}}}function _ot(t){if(!t)return[];if(DO(t)){for(var e=[],n=0;n<t.length;n++)e.push(_ot(t[n]));return e}var a=[];return t.traverse((function(t){t instanceof nz&&!t.disableMorphing&&!t.invisible&&!t.ignore&&a.push(t)})),a}var kot=zP();function Sot(t){var e=[];return _O(t,(function(t){var n=t.data;if(!(n.count()>1e4))for(var a=n.getIndices(),r=function(t){for(var e=t.dimensions,n=0;n<e.length;n++){var a=t.getDimensionInfo(e[n]);if(a&&0===a.otherDims.itemGroupId)return e[n]}}(n),o=0;o<a.length;o++)e.push({data:n,dim:t.dim||r,divide:t.divide,dataIndex:o})})),e}function Cot(t,e,n){t.traverse((function(t){t instanceof nz&&ij(t,{style:{opacity:0}},e,{dataIndex:n,isFrom:!0})}))}function Mot(t){if(t.parent){var e=t.getComputedTransform();t.setLocalTransform(e),t.parent.remove(t)}}function Oot(t){t.stopAnimation(),t.isGroup&&t.traverse((function(t){t.stopAnimation()}))}function Eot(t,e,n){var a=aj("update",n,e);a&&t.traverse((function(t){if(t instanceof TN){var e=function(t){return nj(t).oldStyle}(t);e&&t.animateFrom({style:e},a)}}))}function Tot(t,e,n){var a=Sot(t),r=Sot(e);function o(t,e,n,a,r){(n||t)&&e.animateFrom({style:(n||t).style},r)}function i(t){for(var e=0;e<t.length;e++)if(t[e].dim)return t[e].dim}var l=i(a),s=i(r),c=!1;function u(t,e){return function(n){var a=n.data,r=n.dataIndex;if(e)return a.getId(r);var o=a.hostModel&&a.hostModel.get("dataGroupId"),i=t?l||s:s||l,c=i&&a.getDimensionInfo(i),u=c&&c.ordinalMeta;if(c){var d=a.get(c.name,r);return u&&u.categories[d]||d+""}var p=a.getRawDataItem(r);return p&&p.groupId?p.groupId+"":o||a.getId(r)}}var d=function(t,e){var n=t.length;if(n!==e.length)return!1;for(var a=0;a<n;a++){var r=t[a],o=e[a];if(r.data.getId(r.dataIndex)!==o.data.getId(o.dataIndex))return!1}return!0}(a,r),p={};if(!d)for(var f=0;f<r.length;f++){var h=r[f],g=h.data.getItemGraphicEl(h.dataIndex);g&&(p[g.id]=!0)}function m(t,e){var n=a[e],i=r[t],l=i.data.hostModel,s=n.data.getItemGraphicEl(n.dataIndex),u=i.data.getItemGraphicEl(i.dataIndex);s!==u?s&&p[s.id]||u&&(Oot(u),s?(Oot(s),Mot(s),c=!0,wot(_ot(s),_ot(u),i.divide,l,t,o)):Cot(u,l,t)):u&&Eot(u,i.dataIndex,l)}new aK(a,r,u(!0,d),u(!1,d),null,"multiple").update(m).updateManyToOne((function(t,e){var n=r[t],i=n.data,l=i.hostModel,s=i.getItemGraphicEl(n.dataIndex),u=CO(kO(e,(function(t){return a[t].data.getItemGraphicEl(a[t].dataIndex)})),(function(t){return t&&t!==s&&!p[t.id]}));s&&(Oot(s),u.length?(_O(u,(function(t){Oot(t),Mot(t)})),c=!0,wot(_ot(u),_ot(s),n.divide,l,t,o)):Cot(s,l,n.dataIndex))})).updateOneToMany((function(t,e){var n=a[e],i=n.data.getItemGraphicEl(n.dataIndex);if(!i||!p[i.id]){var l=CO(kO(t,(function(t){return r[t].data.getItemGraphicEl(r[t].dataIndex)})),(function(t){return t&&t!==i})),s=r[t[0]].data.hostModel;l.length&&(_O(l,(function(t){return Oot(t)})),i?(Oot(i),Mot(i),c=!0,wot(_ot(i),_ot(l),n.divide,s,t[0],o)):_O(l,(function(e){return Cot(e,s,t[0])})))}})).updateManyToMany((function(t,e){new aK(e,t,(function(t){return a[t].data.getId(a[t].dataIndex)}),(function(t){return r[t].data.getId(r[t].dataIndex)})).update((function(n,a){m(t[n],e[a])})).execute()})).execute(),c&&_O(e,(function(t){var e=t.data.hostModel,a=e&&n.getViewOfSeriesModel(e),r=aj("update",e,0);a&&e.isAnimationEnabled()&&r&&r.duration>0&&a.group.traverse((function(t){t instanceof nz&&!t.animators.length&&t.animateFrom({style:{opacity:0}},r)}))}))}function Dot(t){var e=t.getModel("universalTransition").get("seriesKey");return e||t.id}function Iot(t){return DO(t)?t.sort().join(","):t}function Pot(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function Not(t,e){for(var n=0;n<t.length;n++){if(null!=e.seriesIndex&&e.seriesIndex===t[n].seriesIndex||null!=e.seriesId&&e.seriesId===t[n].id)return n}}Kq([nJ]),Kq([function(t){t.registerPainter("svg",UZ)}]),Kq([UJ,b$,A$,function(t){Kq(NQ),t.registerSeriesModel(z$),t.registerChartView(F$),t.registerLayout(VJ("scatter"))},qQ,function(t){Kq(z0),t.registerChartView(v0),t.registerSeriesModel(y0),t.registerLayout(w0),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,x0),lW("map",t.registerAction)},function(t){t.registerChartView(K0),t.registerSeriesModel(g1),t.registerLayout(b1),t.registerVisual(v1),function(t){t.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var n=t.dataIndex,a=e.getData().tree.getNodeByDataIndex(n);a.isExpand=!a.isExpand}))})),t.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var n=N0(e.coordinateSystem,t);e.setCenter&&e.setCenter(n.center),e.setZoom&&e.setZoom(n.zoom)}))}))}(t)},function(t){t.registerSeriesModel(_1),t.registerChartView(z1),t.registerVisual($1),t.registerLayout(d3),function(t){for(var e=0;e<x1.length;e++)t.registerAction({type:x1[e],update:"updateView"},y1);t.registerAction({type:"treemapRootToNode",update:"updateView"},(function(t,e){e.eachComponent({mainType:"series",subType:"treemap",query:t},(function(e,n){var a=d1(t,["treemapZoomToNode","treemapRootToNode"],e);if(a){var r=e.getViewRoot();r&&(t.direction=f1(r,a.node)?"rollUp":"drillDown"),e.resetViewRoot(a.node)}}))}))}(t)},function(t){t.registerChartView(u6),t.registerSeriesModel(b6),t.registerProcessor(b3),t.registerVisual(v3),t.registerVisual(x3),t.registerLayout(D3),t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,L3),t.registerLayout(F3),t.registerCoordinateSystem("graphView",{dimensions:k0.dimensions,create:B3}),t.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},(function(){})),t.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},(function(){})),t.registerAction(v6,(function(t,e){e.eachComponent({mainType:"series",query:t},(function(e){var n=N0(e.coordinateSystem,t);e.setCenter&&e.setCenter(n.center),e.setZoom&&e.setZoom(n.zoom)}))}))},function(t){t.registerChartView(k6),t.registerSeriesModel(S6)},function(t){t.registerChartView(O6),t.registerSeriesModel(E6),t.registerLayout(T6),t.registerProcessor(k$("funnel"))},function(t){Kq(e5),t.registerChartView(D6),t.registerSeriesModel(z6),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,j6)},function(t){t.registerChartView(r5),t.registerSeriesModel(o5),t.registerLayout(i5),t.registerVisual(v5),t.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},(function(e){e.setNodePosition(t.dataIndex,[t.localX,t.localY])}))}))},function(t){t.registerSeriesModel(x5),t.registerChartView(w5),t.registerVisual(O5),t.registerLayout(T5),t.registerTransform(D5)},function(t){t.registerChartView(P5),t.registerSeriesModel(H5),t.registerPreprocessor(W5),t.registerVisual(X5),t.registerLayout(J5)},function(t){t.registerChartView(e4),t.registerSeriesModel(n4),t.registerLayout(VJ("effectScatter"))},function(t){t.registerChartView(u4),t.registerSeriesModel(h4),t.registerLayout(c4),t.registerVisual(m4)},function(t){t.registerChartView(y4),t.registerSeriesModel(x4)},function(t){t.registerChartView(S4),t.registerSeriesModel(Y4),t.registerLayout(TO(oq,"pictorialBar"))},function(t){t.registerChartView(H4),t.registerSeriesModel(W4),t.registerLayout(U4),t.registerProcessor(k$("themeRiver"))},function(t){t.registerChartView(Z4),t.registerSeriesModel(J4),t.registerLayout(TO(t8,"sunburst")),t.registerProcessor(TO(k$,"sunburst")),t.registerVisual(n8),function(t){t.registerAction({type:q4,update:"updateView"},(function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},(function(e,n){var a=d1(t,[q4],e);if(a){var r=e.getViewRoot();r&&(t.direction=f1(r,a.node)?"rollUp":"drillDown"),e.resetViewRoot(a.node)}}))})),t.registerAction({type:X4,update:"none"},(function(t,e,n){t=gO({},t),e.eachComponent({mainType:"series",subType:"sunburst",query:t},(function(e){var n=d1(t,[X4],e);n&&(t.dataIndex=n.node.dataIndex)})),n.dispatchAction(gO(t,{type:"highlight"}))})),t.registerAction({type:"sunburstUnhighlight",update:"updateView"},(function(t,e,n){t=gO({},t),n.dispatchAction(gO(t,{type:"downplay"}))}))}(t)},function(t){t.registerChartView(z8),t.registerSeriesModel(i8)}]),Kq(B7),Kq((function(t){Kq(F7),wQ.registerAxisPointerClass("PolarAxisPointer",V7),t.registerCoordinateSystem("polar",e9),t.registerComponentModel(H7),t.registerComponentView(b9),K$(t,"angle",U7,g9),K$(t,"radius",G7,m9),t.registerComponentView(i9),t.registerComponentView(u9),t.registerLayout(TO(h9,"bar"))})),Kq(z0),Kq((function(t){Kq(F7),wQ.registerAxisPointerClass("SingleAxisPointer",I9),t.registerComponentView(z9),t.registerComponentView(w9),t.registerComponentModel(k9),K$(t,"single",k9,k9.defaultOption),t.registerCoordinateSystem("single",E9)})),Kq(e5),Kq((function(t){t.registerComponentModel(R9),t.registerComponentView(B9),t.registerCoordinateSystem("calendar",Y9)})),Kq($9),Kq((function(t){t.registerComponentModel(wtt),t.registerComponentView(ktt),ytt("saveAsImage",Stt),ytt("magicType",Ott),ytt("dataView",Att),ytt("dataZoom",net),ytt("restore",Ftt),Kq(mtt)})),Kq(Iet),Kq(F7),Kq((function(t){t.registerComponentView(Zet),t.registerComponentModel(Jet),t.registerPreprocessor(Net),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,Uet),t.registerAction({type:"brush",event:"brush",update:"updateVisual"},(function(t,e){e.eachComponent({mainType:"brush",query:t},(function(e){e.setAreas(t.areas)}))})),t.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},(function(){})),t.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},(function(){})),ytt("brush",tnt)})),Kq(ant),Kq((function(t){t.registerComponentModel(ont),t.registerComponentView(unt),t.registerSubTypeDefaulter("timeline",(function(){return"slider"})),function(t){t.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(t,e,n){var a=e.getComponent("timeline");return a&&null!=t.currentIndex&&(a.setCurrentIndex(t.currentIndex),!a.get("loop",!0)&&a.isIndexMax()&&a.getPlayState()&&(a.setPlayState(!1),n.dispatchAction({type:"timelinePlayChange",playState:!1,from:t.from}))),e.resetOption("timeline",{replaceMerge:a.get("replaceMerge",!0)}),mO({currentIndex:a.option.currentIndex},t)})),t.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},(function(t,e){var n=e.getComponent("timeline");n&&null!=t.playState&&n.setPlayState(t.playState)}))}(t),t.registerPreprocessor(fnt)})),Kq((function(t){t.registerComponentModel(xnt),t.registerComponentView(Int),t.registerPreprocessor((function(t){mnt(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})}))})),Kq((function(t){t.registerComponentModel(Pnt),t.registerComponentView(Fnt),t.registerPreprocessor((function(t){mnt(t.series,"markLine")&&(t.markLine=t.markLine||{})}))})),Kq((function(t){t.registerComponentModel(Bnt),t.registerComponentView(qnt),t.registerPreprocessor((function(t){mnt(t.series,"markArea")&&(t.markArea=t.markArea||{})}))})),Kq(hat),Kq(Rat),Kq(Mat),Kq(zat),Kq(_rt),Kq(mrt),Kq(wrt),Kq((function(t){t.registerPreprocessor(Ort),t.registerVisual(t.PRIORITY.VISUAL.ARIA,Mrt)})),Kq((function(t){t.registerTransform(Frt),t.registerTransform(Brt)})),Kq((function(t){t.registerComponentModel(Vrt),t.registerComponentView(Yrt)})),Kq((function(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){_O(kP(n.seriesTransition),(function(t){_O(kP(t.to),(function(t){for(var e=n.updatedSeries,a=0;a<e.length;a++)(null!=t.seriesIndex&&t.seriesIndex===e[a].seriesIndex||null!=t.seriesId&&t.seriesId===e[a].id)&&(e[a].__universalTransitionEnabled=!0)}))}))})),t.registerUpdateLifecycle("series:transition",(function(t,e,n){var a=kot(e);if(a.oldSeries&&n.updatedSeries&&n.optionChanged){var r=n.seriesTransition;if(r)_O(kP(r),(function(t){!function(t,e,n,a){var r=[],o=[];_O(kP(t.from),(function(t){var n=Not(e.oldSeries,t);n>=0&&r.push({data:e.oldData[n],divide:Pot(e.oldData[n]),dim:t.dimension})})),_O(kP(t.to),(function(t){var e=Not(n.updatedSeries,t);if(e>=0){var a=n.updatedSeries[e].getData();o.push({data:a,divide:Pot(a),dim:t.dimension})}})),r.length>0&&o.length>0&&Tot(r,o,a)}(t,a,n,e)}));else{var o=function(t,e){var n=tE(),a=tE(),r=tE();return _O(t.oldSeries,(function(e,n){var o=t.oldData[n],i=Dot(e),l=Iot(i);a.set(l,o),DO(i)&&_O(i,(function(t){r.set(t,{data:o,key:l})}))})),_O(e.updatedSeries,(function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.getData(),o=Dot(t),i=Iot(o),l=a.get(i);if(l)n.set(i,{oldSeries:[{divide:Pot(l),data:l}],newSeries:[{divide:Pot(e),data:e}]});else if(DO(o)){var s=[];_O(o,(function(t){var e=a.get(t);e&&s.push({divide:Pot(e),data:e})})),s.length&&n.set(i,{oldSeries:s,newSeries:[{data:e,divide:Pot(e)}]})}else{var c=r.get(o);if(c){var u=n.get(c.key);u||(u={oldSeries:[{data:c.data,divide:Pot(c.data)}],newSeries:[]},n.set(c.key,u)),u.newSeries.push({data:e,divide:Pot(e)})}}}})),n}(a,n);_O(o.keys(),(function(t){var n=o.get(t);Tot(n.oldSeries,n.newSeries,e)}))}_O(n.updatedSeries,(function(t){t.__universalTransitionEnabled&&(t.__universalTransitionEnabled=!1)}))}for(var i=t.getSeries(),l=a.oldSeries=[],s=a.oldData=[],c=0;c<i.length;c++){var u=i[c].getData();u.count()<1e4&&(l.push(i[c]),s.push(u))}}))})),Kq(XX);var Aot=Object.freeze({__proto__:null,registerLocale:wF,version:"5.2.1",dependencies:{zrender:"5.2.1"},PRIORITY:qU,init:RG,connect:function(t){if(DO(t)){var e=t;t=null,_O(e,(function(e){null!=e.group&&(t=e.group)})),t=t||"g_"+AG++,_O(e,(function(e){e.group=t}))}return PG[t]=!0,t},disConnect:LG,disconnect:jG,dispose:function(t){"string"==typeof t?t=IG[t]:t instanceof wG||(t=FG(t)),t instanceof wG&&!t.isDisposed()&&t.dispose()},getInstanceByDom:FG,getInstanceById:function(t){return IG[t]},registerTheme:BG,registerPreprocessor:VG,registerProcessor:YG,registerPostInit:HG,registerPostUpdate:WG,registerUpdateLifecycle:UG,registerAction:GG,registerCoordinateSystem:KG,getCoordinateSystemDimensions:function(t){var e=lV.get(t);if(e)return e.getDimensionsInfo?e.getDimensionsInfo():e.dimensions.slice()},registerLayout:qG,registerVisual:XG,registerLoading:$G,setCanvasCreator:function(t){sO("createCanvas",t)},registerMap:QG,getMap:function(t){return YU(t)},registerTransform:tK,dataTool:{},throttle:_H,use:Kq,parseGeoJSON:EU,parseGeoJson:EU,env:XM,Model:dF,Axis:cX,innerDrawElementOnCanvas:YW,zrender:qI,matrix:KD,vector:OE,zrUtil:oE,color:JT,helper:Wq,number:qq,time:Xq,graphic:Zq,format:Jq,util:$q,List:OK,ComponentModel:kB,ComponentView:cH,SeriesModel:eH,ChartView:fH,extendComponentModel:function(t){var e=kB.extend(t);return kB.registerClass(e),e},extendComponentView:function(t){var e=cH.extend(t);return cH.registerClass(e),e},extendSeriesModel:function(t){var e=eH.extend(t);return eH.registerClass(e),e},extendChartView:function(t){var e=fH.extend(t);return fH.registerClass(e),e}}),zot=b(Aot);v((function(t,e){var n;self,n=function(t){return(()=>{var e={"./index.js":
/*!******************************!*\
      !*** ./index.js + 6 modules ***!
      \******************************/(t,e,n)=>{n.r(e);var a=n("echarts/lib/echarts");a.extendSeriesModel({type:"series.liquidFill",optionUpdated:function(){var t=this.option;t.gridSize=Math.max(Math.floor(t.gridSize),4)},getInitialData:function(t,e){var n=a.helper.createDimensions(t.data,{coordDimensions:["value"]}),r=new a.List(n,this);return r.initData(t.data),r},defaultOption:{color:["#294D99","#156ACF","#1598ED","#45BDFF"],center:["50%","50%"],radius:"50%",amplitude:"8%",waveLength:"80%",phase:"auto",period:"auto",direction:"right",shape:"circle",waveAnimation:!0,animationEasing:"linear",animationEasingUpdate:"linear",animationDuration:2e3,animationDurationUpdate:1e3,outline:{show:!0,borderDistance:8,itemStyle:{color:"none",borderColor:"#294D99",borderWidth:8,shadowBlur:20,shadowColor:"rgba(0, 0, 0, 0.25)"}},backgroundStyle:{color:"#E3F7FF"},itemStyle:{opacity:.95,shadowBlur:50,shadowColor:"rgba(0, 0, 0, 0.4)"},label:{show:!0,color:"#294D99",insideColor:"#fff",fontSize:50,fontWeight:"bold",align:"center",baseline:"middle",position:"inside"},emphasis:{itemStyle:{opacity:.8}}}}),Array.prototype.slice;var r=function(){}.constructor,o=r?r.prototype:null;o&&"function"==typeof o.bind&&o.call.bind(o.bind);const i=a.graphic.extendShape({type:"ec-liquid-fill",shape:{waveLength:0,radius:0,radiusY:0,cx:0,cy:0,waterLevel:0,amplitude:0,phase:0,inverse:!1},buildPath:function(t,e){null==e.radiusY&&(e.radiusY=e.radius);for(var n=Math.max(2*Math.ceil(2*e.radius/e.waveLength*4),8);e.phase<2*-Math.PI;)e.phase+=2*Math.PI;for(;e.phase>0;)e.phase-=2*Math.PI;var a=e.phase/Math.PI/2*e.waveLength,r=e.cx-e.radius+a-2*e.radius;t.moveTo(r,e.waterLevel);for(var o=0,i=0;i<n;++i){var s=i%4,c=l(i*e.waveLength/4,s,e.waveLength,e.amplitude);t.bezierCurveTo(c[0][0]+r,-c[0][1]+e.waterLevel,c[1][0]+r,-c[1][1]+e.waterLevel,c[2][0]+r,-c[2][1]+e.waterLevel),i===n-1&&(o=c[2][0])}e.inverse?(t.lineTo(o+r,e.cy-e.radiusY),t.lineTo(r,e.cy-e.radiusY),t.lineTo(r,e.waterLevel)):(t.lineTo(o+r,e.cy+e.radiusY),t.lineTo(r,e.cy+e.radiusY),t.lineTo(r,e.waterLevel)),t.closePath()}});function l(t,e,n,a){return 0===e?[[t+.5*n/Math.PI/2,a/2],[t+.5*n/Math.PI,a],[t+n/4,a]]:1===e?[[t+.5*n/Math.PI/2*(Math.PI-2),a],[t+.5*n/Math.PI/2*(Math.PI-1),a/2],[t+n/4,0]]:2===e?[[t+.5*n/Math.PI/2,-a/2],[t+.5*n/Math.PI,-a],[t+n/4,-a]]:[[t+.5*n/Math.PI/2*(Math.PI-2),-a],[t+.5*n/Math.PI/2*(Math.PI-1),-a/2],[t+n/4,0]]}var s=function(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return"string"==typeof t?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n};function c(t){return t&&0===t.indexOf("path://")}a.extendChartView({type:"liquidFill",render:function(t,e,n){var r=this,o=this.group;o.removeAll();var l=t.getData(),u=l.getItemModel(0),d=u.get("center"),p=u.get("radius"),f=n.getWidth(),h=n.getHeight(),g=Math.min(f,h),m=0,b=0,v=t.get("outline.show");v&&(m=t.get("outline.borderDistance"),b=s(t.get("outline.itemStyle.borderWidth"),g));var y,x,w,_=s(d[0],f),k=s(d[1],h),S=!1,C=t.get("shape");"container"===C?(S=!0,x=[(y=[f/2,h/2])[0]-b/2,y[1]-b/2],w=[s(m,f),s(m,h)],p=[Math.max(x[0]-w[0],0),Math.max(x[1]-w[1],0)]):(x=(y=s(p,g)/2)-b/2,w=s(m,g),p=Math.max(x-w,0)),v&&(P().style.lineWidth=b,o.add(P()));var M=S?0:_-p,O=S?0:k-p,E=null;o.add(function(){var e=I(p);e.setStyle(t.getModel("backgroundStyle").getItemStyle()),e.style.fill=null,e.z2=5;var n=I(p);n.setStyle(t.getModel("backgroundStyle").getItemStyle()),n.style.stroke=null;var r=new a.graphic.Group;return r.add(e),r.add(n),r}());var T=this._data,D=[];function I(t,e){if(C){if(c(C)){var n=a.graphic.makePath(C.slice(7),{}),r=n.getBoundingRect(),o=r.width,i=r.height;o>i?(i*=2*t/o,o=2*t):(o*=2*t/i,i=2*t);var l=e?0:_-o/2,s=e?0:k-i/2;return n=a.graphic.makePath(C.slice(7),{},new a.graphic.BoundingRect(l,s,o,i)),e&&(n.x=-o/2,n.y=-i/2),n}if(S){var u=e?-t[0]:_-t[0],d=e?-t[1]:k-t[1];return a.helper.createSymbol("rect",u,d,2*t[0],2*t[1])}return u=e?-t:_-t,d=e?-t:k-t,"pin"===C?d+=t:"arrow"===C&&(d-=t),a.helper.createSymbol(C,u,d,2*t,2*t)}return new a.graphic.Circle({shape:{cx:e?0:_,cy:e?0:k,r:t}})}function P(){var e=I(y);return e.style.fill=null,e.setStyle(t.getModel("outline.itemStyle").getItemStyle()),e}function N(e,n,r){var o=S?p[0]:p,c=S?h/2:p,u=l.getItemModel(e),d=u.getModel("itemStyle"),f=u.get("phase"),g=s(u.get("amplitude"),2*c),m=s(u.get("waveLength"),2*o),b=c-l.get("value",e)*c*2;f=r?r.shape.phase:"auto"===f?e*Math.PI/4:f;var v=d.getItemStyle();if(!v.fill){var y=t.get("color"),x=e%y.length;v.fill=y[x]}var w=new i({shape:{waveLength:m,radius:o,radiusY:c,cx:2*o,cy:0,waterLevel:b,amplitude:g,phase:f,inverse:n},style:v,x:_,y:k});w.shape._waterLevel=b;var C=u.getModel("emphasis.itemStyle").getItemStyle();C.lineWidth=0,w.ensureState("emphasis").style=C,a.helper.enableHoverEmphasis(w);var M=I(p,!0);return M.setStyle({fill:"white"}),w.setClipPath(M),w}function A(t,e,n){var a=l.getItemModel(t),r=a.get("period"),o=a.get("direction"),i=l.get("value",t),s=a.get("phase");s=n?n.shape.phase:"auto"===s?t*Math.PI/4:s;var c=0;c="auto"===r?function(e){var n=l.count();return 0===n?e:e*(.2+(n-t)/n*.8)}(5e3):"function"==typeof r?r(i,t):r;var u=0;"right"===o||null==o?u=Math.PI:"left"===o?u=-Math.PI:"none"===o?u=0:console.error("Illegal direction value for liquid fill."),"none"!==o&&a.get("waveAnimation")&&e.animate("shape",!0).when(0,{phase:s}).when(c/2,{phase:u+s}).when(c,{phase:2*u+s}).during((function(){E&&E.dirty(!0)})).start()}l.diff(T).add((function(e){var n=N(e,!1),r=n.shape.waterLevel;n.shape.waterLevel=S?h/2:p,a.graphic.initProps(n,{shape:{waterLevel:r}},t),n.z2=2,A(e,n,null),o.add(n),l.setItemGraphicEl(e,n),D.push(n)})).update((function(e,n){for(var i=T.getItemGraphicEl(n),s=N(e,!1,i),u={},d=["amplitude","cx","cy","phase","radius","radiusY","waterLevel","waveLength"],p=0;p<d.length;++p){var f=d[p];s.shape.hasOwnProperty(f)&&(u[f]=s.shape[f])}var g={},m=["fill","opacity","shadowBlur","shadowColor"];for(p=0;p<m.length;++p)f=m[p],s.style.hasOwnProperty(f)&&(g[f]=s.style[f]);S&&(u.radiusY=h/2),a.graphic.updateProps(i,{shape:u,x:s.x,y:s.y},t),t.isUniversalTransitionEnabled&&t.isUniversalTransitionEnabled()?a.graphic.updateProps(i,{style:g},t):i.useStyle(g);var b=i.getClipPath(),v=s.getClipPath();i.setClipPath(s.getClipPath()),i.shape.inverse=s.inverse,b&&v&&r._shape===C&&!c(C)&&a.graphic.updateProps(v,{shape:b.shape},t,{isFrom:!0}),A(e,i,i),o.add(i),l.setItemGraphicEl(e,i),D.push(i)})).remove((function(t){var e=T.getItemGraphicEl(t);o.remove(e)})).execute(),u.get("label.show")&&o.add(function(e){var n=u.getModel("label");function r(){var e=t.getFormattedLabel(0,"normal"),n=100*l.get("value",0),a=l.getName(0)||t.name;return isNaN(n)||(a=n.toFixed(0)+"%"),null==e?a:e}var o={z2:10,shape:{x:M,y:O,width:2*(S?p[0]:p),height:2*(S?p[1]:p)},style:{fill:"transparent"},textConfig:{position:n.get("position")||"inside"},silent:!0},i={style:{text:r(),textAlign:n.get("align"),textVerticalAlign:n.get("baseline")}};Object.assign(i.style,a.helper.createTextStyle(n));var s=new a.graphic.Rect(o),c=new a.graphic.Rect(o);c.disableLabelAnimation=!0,s.disableLabelAnimation=!0;var d=new a.graphic.Text(i),f=new a.graphic.Text(i);s.setTextContent(d),c.setTextContent(f);var h=n.get("insideColor");f.style.fill=h;var g=new a.graphic.Group;g.add(s),g.add(c);var m=I(p,!0);return(E=new a.graphic.CompoundPath({shape:{paths:e},x:_,y:k})).setClipPath(m),c.setClipPath(E),g}(D)),this._shape=C,this._data=l},dispose:function(){}})},"echarts/lib/echarts":
/*!**************************!*\
      !*** external "echarts" ***!
      \**************************/e=>{e.exports=t}},n={};function a(t){if(n[t])return n[t].exports;var r=n[t]={exports:{}};return e[t](r,r.exports,a),r.exports}return a.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a("./index.js")})()},t.exports=n(zot)})),Kq([nJ]);var Rot=function(t){switch(t.type){case"pure":return t.color;case"linear":return{type:"linear",x:0,y:1,x2:0,y2:0,colorStops:[{offset:0,color:t.startColor},{offset:1,color:t.endColor}]};case"radial":return{type:"radial",x:.5,y:.5,r:t.radius,colorStops:[{offset:0,color:t.startColor},{offset:1,color:t.endColor}]};default:return null}},Lot=function(e){var n=e.origin,a=e.target,r=e.data,o=e.radius,l=e.grid,s=e.wave,c=e.percentage,u=e.outline,d=e.background,p=e.unit,f=e.hasTarget,h=e.isRowLastOne,g=e.isColLastOne,m=e.field,b=i.default.useRef(null),v=i.default.useRef();i.default.useEffect((function(){if(b.current){var t=setInterval((function(){if(b.current){t&&clearInterval(t),t=null,v.current||(v.current=RG(b.current));var e=v.current,a=null===(null==r?void 0:r.target)?0:Number(null==r?void 0:r.origin)/Number(null==r?void 0:r.target)||0,i=a>=1?1:a,l={series:[{type:"liquidFill",data:[{name:n.label.value,value:i}],radius:"".concat(2*(o||0)).concat(p),label:{formatter:function(t){var e,o=f?["{percentage|".concat((100*a).toFixed(2),"%}")]:["{percentage|未设置目标值}"];void 0!==(null==r?void 0:r.origin)?e=jM(r.origin.toString(),m.origin).text:e="";var i=t.name;return n.label.show?n.value.show?n.value.lineFeed?(o.push("{label|".concat(i,"}")),e&&o.push("{value|".concat(e,"}{unit|").concat(n.unit.value,"}"))):n.unit.show?o.push("{label|".concat(i&&i+":","}{value|").concat(e,"}{unit|").concat(n.unit.value,"}")):o.push("{label|".concat(i&&i+":","}{value|").concat(e,"}")):o.push("{label|".concat(i,"}")):n.value.show&&(n.unit.show?o.push("{value|".concat(e,"}{unit|").concat(n.unit.value,"}")):o.push("{value|".concat(e,"}"))),o.join("\n")},rich:{percentage:{padding:[0,0,5,0],color:null==c?void 0:c.color,fontSize:null==c?void 0:c.fontSize},label:{color:n.label.color,fontSize:n.label.fontSize},value:{color:n.value.color,fontSize:n.value.fontSize},unit:{color:n.unit.color,fontSize:n.unit.fontSize}},width:2*(o||0),overflow:"truncate"},itemStyle:{color:Rot(s.colorFill),shadowBlur:0},outline:{borderDistance:2,itemStyle:{borderWidth:u.width||0,borderColor:Rot(u.colorFill),shadowBlur:0}},backgroundStyle:{color:Rot(d.colorFill)}}]};e.setOption(l)}}),10);return function(){t&&clearInterval(t)}}}),[u,p,o,n,c,s,d,r,f,m.origin]);var y=i.default.useRef(null);i.default.useEffect((function(){var t=l.row,e=l.col;y.current.style.marginRight=h?"0":t.autoFill?"":"".concat(t.spacing||0).concat(p),y.current.style.marginBottom=g?"0":e.autoFill?"":"".concat(e.spacing||0).concat(p)}),[l,p,h,g]),i.default.useEffect((function(){var t;null===(t=v.current)||void 0===t||t.resize()}),[o,u.width,p]);var x=i.default.useMemo((function(){return{width:"".concat(2*(o||0)+(u.width||0)).concat(p),height:"".concat(2*(o||0)+(u.width||0)).concat(p)}}),[o,p,u.width]),w=i.default.useMemo((function(){return{display:a.label.show?a.value.lineFeed?"block":"inline-block":"none",fontSize:"".concat(a.label.fontSize).concat(p),color:a.label.color}}),[a.label.show,a.value.lineFeed,a.label.fontSize,a.label.color,p]),_=i.default.useMemo((function(){return{display:a.value.show?a.value.lineFeed?"block":"inline-block":"none",color:a.value.color,fontSize:"".concat(a.value.fontSize).concat(p)}}),[a.value.show,a.value.lineFeed,a.value.color,a.value.fontSize,p]),k=i.default.useMemo((function(){return{display:a.unit.show?"inline-block":"none",fontSize:"".concat(a.unit.fontSize).concat(p),color:a.unit.color}}),[a.unit.fontSize,a.unit.color,a.unit.show,p]),S=t.useCallback((function(){var t;null!==m.target&&"object"===Ji(m.target)&&void 0!==(null==r?void 0:r.target)?t=jM(r.target.toString(),m.target).text:t=null==r?void 0:r.target;return!a.value.lineFeed&&a.label.show&&a.value.show?i.default.createElement(i.default.Fragment,null,i.default.createElement("div",{style:w},a.label.value&&a.label.value+":"),i.default.createElement("div",{style:_},i.default.createElement("span",null,t),i.default.createElement("span",{style:k},a.unit.value))):i.default.createElement(i.default.Fragment,null,i.default.createElement("div",{style:w},a.label.value),i.default.createElement("div",{style:_},i.default.createElement("span",null,t),i.default.createElement("span",{style:k},a.unit.value)))}),[w,_,k,a.label.show,a.value.show,a.label.value,a.unit.value,a.value.lineFeed,r,m.target]);return i.default.createElement("div",{className:"gcs-liquidFill",ref:y},i.default.createElement("div",{className:"gcs-liquidFill-chart",ref:b,style:x}),i.default.createElement("div",{className:"gcs-liquidFill-label"},S()))},jot=t.forwardRef((function(e,n){var a=e.component,r=e.dashboard,o=e.data,l=e.getDataFromGodiva,s=e.eventDistributor,c=LM(a.key,{dataConfig:a.data,extraDataConfig:{dataStart:0,dataCount:1},data:o,getDataFromGodiva:l},s),u=N(c,2),d=u[0],p=u[1];t.useEffect((function(){p({dataConfig:a.data})}),[a.data]),t.useEffect((function(){p({data:o})}),[o]),t.useEffect((function(){p({getDataFromGodiva:l})}),[l]);var f=t.useMemo((function(){if(!d)return[];var t=N(d.data,1)[0];return a.data.progresses.map((function(e){var n=e.origin,a=e.target;return{origin:t[n.alias],target:null!==a&&"object"===Ji(a)?t[a.alias]:a}}))}),[d,a.data]),h=t.useState([]),g=N(h,2),m=g[0],b=g[1],v=t.useRef([]);i.default.useEffect((function(){var t=[],e=[],n=[];a.data.progresses.forEach((function(t){e.push(a.subCharts[t.origin.id]),n.push(t)}));for(var r=a.grid.row.limit||1,o=0;o<e.length;o+=r)t.push(e.slice(o,o+r));v.current=n,b(t)}),[a.subCharts,a.grid,a.data.progresses]);var y=i.default.useMemo((function(){return"manual"!==a.grid.type?{}:{top:"".concat(a.grid.manual.top).concat(r.page.unit),right:"".concat(a.grid.manual.right).concat(r.page.unit),bottom:"".concat(a.grid.manual.bottom).concat(r.page.unit),left:"".concat(a.grid.manual.left).concat(r.page.unit)}}),[a.grid,r.page.unit]),x=i.default.useRef(null),w=i.default.useCallback((function(t){if(!x.current)return{};var e=x.current.clientHeight/m.length,n=a.grid.col.autoFill?0:a.grid.col.spacing||0;return 0===t?{top:t*e,bottom:(m.length-t-1)*e+n}:{top:t*e-n,bottom:(m.length-t-1)*e+n}}),[m.length,a.grid.col.spacing,a.grid.col.autoFill]);return i.default.createElement("div",{className:"gcs-progress-wrapper"},i.default.createElement("div",{className:"gcs-progress-grid",style:y,ref:x},m.map((function(t,e){return i.default.createElement("div",{className:"gcs-progress-subChart-wrapper",key:e,style:w(e)},t.map((function(n,o){var l,s=e*(a.grid.row.limit||1)+o,c=f[s],u=null===(l=a.data.progresses[s])||void 0===l?void 0:l.target,d=null!==u&&("object"===Ji(u)||void 0!==u),p=o===t.length-1,h=e===m.length-1,g=v.current[s];return"liquid-fill"===a.subChartType?i.default.createElement(Lot,z({key:"".concat(e-o),grid:a.grid,unit:r.page.unit,data:c,hasTarget:d,isRowLastOne:p,isColLastOne:h,field:g},n)):null})))}))))})),Fot=jot,Bot=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ColorFillCls=e.setPrimaryColor=e.getPrimaryColor=e.DefaultColour=e.ColorFillTypes=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(SS);var a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}(),r=(0,mS.tuple)("pure","linear","radial");e.ColorFillTypes=r;e.DefaultColour=["#4499fa","#59d4d9","#4cd964","#ff9500","#ff3b30","#c894f6","#8c6fde","#767aee","#52c41a","#ff2d55","#ffcc00","#5ac8fa","#f478b8","#fae34c","#59d9a4"];var o="#2b9f7f";e.getPrimaryColor=function(){return o};e.setPrimaryColor=function(t){void 0===t&&(t=""),o=t};var i=function(t){function e(e,n){var a=t.call(this,n)||this;switch(a._color="",a._startColor="",a._endColor="",a._radius=0,e.type){case"pure":a._color=e.color;break;case"linear":a._startColor=e.startColor,a._endColor=e.endColor;break;case"radial":a._startColor=e.startColor,a._endColor=e.endColor,a._radius=e.radius}return a._type=e.type,a}return a(e,t),e.createEmptyJSON=function(t){return void 0===t&&(t=""),{type:"pure",color:t}},e.createEmpty=function(t){return new e(e.createEmptyJSON(),t)},Object.defineProperty(e.prototype,"type",{get:function(){return this._type},set:function(t){switch(this._type=t,this._type){case"pure":this.color=this.startColor||"",this.startColor="",this.endColor="",this.radius=0;break;case"linear":this.color="",this.startColor=this.startColor||this.color,this.endColor=this.endColor||this.color,this.radius=0;break;case"radial":this.color="",this.startColor=this.startColor||this.color,this.endColor=this.endColor||this.color,this.radius=5}this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){return this._color},set:function(t){"pure"===this._type&&(this.color=t),this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"startColor",{get:function(){return this._startColor},set:function(t){"linear"!==this._type&&"radial"!==this._type||(this._startColor=t),this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"endColor",{get:function(){return this._endColor},set:function(t){"linear"!==this._type&&"radial"!==this._type||(this._endColor=t),this._publish()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this._radius},set:function(t){"radial"===this._type&&(this._radius=t),this._publish()},enumerable:!1,configurable:!0}),e.prototype.addEventListener=function(t,e){this.eventListener.addEventListener(t,e)},e.prototype.removeEventListener=function(t,e){this.eventListener.removeEventListener(t,e)},e.prototype.toJSON=function(){switch(this._type){case"linear":return{type:this._type,startColor:this._startColor,endColor:this._endColor};case"radial":return{type:this._type,startColor:this._startColor,endColor:this._endColor,radius:this._radius};default:return{type:this._type,color:this._color}}},e}(n.default);e.ColorFillCls=i;var l=i;e.default=l})),Vot=function(t){var e=Bot.getPrimaryColor();switch(t.type){case"pure":return t.color;case"linear":return{type:"linear",x:0,y:1,x2:0,y2:0,colorStops:[{offset:0,color:t.startColor||e},{offset:1,color:t.endColor||e}]};case"radial":return{type:"radial",x:.5,y:.5,r:t.radius,colorStops:[{offset:0,color:t.startColor||e},{offset:1,color:t.endColor||e}]}}},Yot=function(t,e,n){var a;switch(t){case"left":a=z({},e,{position:"left",left:0,top:50,orient:n?n.orient:"vertical"});break;case"top":a=z({},e,{position:"top",left:"center",top:0,width:"90%",formatter:null,orient:null==n?void 0:n.orient});break;case"right":a=z({},e,{position:"right",top:50,right:0,orient:n?n.orient:"vertical"});break;case"bottom":a=z({},e,{position:"bottom",left:"center",bottom:0,width:"90%",formatter:null,orient:null==n?void 0:n.orient});break;case"customize":!(a=z({},e,{top:n.top,right:n.right,bottom:n.bottom,left:n.left,width:"90%",formatter:null,orient:n.orient})).top&&a.bottom&&delete a.top,!a.left&&a.right&&delete a.left;break;default:a=e}return a},Hot=function(t){if("none"===t||"string"!=typeof t&&!(null==t?void 0:t.show))return null;var e={show:!0,type:"scroll",formatter:function(t){return(t=t.toString()).length>10?t.substring(0,9)+"...":t}};return"string"==typeof t?e=Yot(t,e):(e.itemHeight=t.fontSize+2,e.itemWidth=t.fontSize+13,e.textStyle={color:t.color,fontSize:t.fontSize,fontStyle:t.fontStyle,fontWeight:t.fontWeight},e=Yot(t.location,e,t)),e},Wot=function(t){return{title:{text:t,textStyle:{color:"#999",fontSize:12},left:"center",top:"center"}}},Uot=function(t,e,n,a){var r;r="xAxis"===n?e?"bottom":0===a?"left":"right":e?"left":0===a?"top":"bottom";var o=Cv(t.name.padding);if(e&&"yAxis"===n)switch(t.name.location){case"start":o[0]?o[0]-=o[2]:o[0]=-o[2];break;case"center":o[1]?o[1]-=o[3]:o[1]=-o[3]}var i={position:r,type:t.type,nameGap:t.name.gap,nameLocation:t.name.location,nameRotate:t.name.rotate,nameTextStyle:{padding:o,fontSize:t.name.fontSize,color:t.name.color,fontWeight:t.name.fontWeight,fontStyle:t.name.fontStyle},inverse:t.inverse,min:t.min,max:t.max,axisLabel:{show:t.label.show,fontSize:t.label.fontSize,color:t.label.color,fontWeight:t.label.fontWeight,fontStyle:t.label.fontStyle,rotate:t.label.rotate},axisLine:{show:t.line.show,lineStyle:{width:t.line.width,color:t.line.color,type:t.line.type}},axisTick:{show:t.tick.show,length:t.tick.size,lineStyle:{width:t.tick.width,color:t.tick.color,type:t.tick.type}},splitLine:{show:t.split.show,lineStyle:{width:t.split.width,color:t.split.color,type:t.split.type}}};return t.name.title&&(i.name=t.name.title),i},Got=function(t,e){var n=[],a=t.includes("group"),r=t.includes("series"),o=t.includes("value"),i=function(t){var n=JSON.parse(t);return e.group.map((function(t){return n[t.alias]})).join("-")};return a&&r?n.push((function(t,e){return t.concat("".concat(i(e.name),"(").concat(e.seriesName,")"))})):a?n.push((function(t,e){return t.concat(i(e.name))})):r&&n.push((function(t,e){return t.concat(e.seriesName)})),o&&n.push((function(t,e){return t.concat(e.data.text)})),function(t){var e=[];return n.forEach((function(n){e=n(e,t)})),e.join("\n")}},Kot=function(t,e,n,a,r){var o=t.data.group.length>1,i=[];o&&e.forEach((function(t,e){i.push({data:t,index:e})}));var l=[],s=[];return t.data.value.forEach((function(c,u){var d=t.series[c.id];if(d){var p={name:c.alias,barWidth:d.width,type:d.type,itemStyle:{borderRadius:d.radius},symbolSize:d.symbolSize};d.areaStyle&&d.areaStyle.color&&(p.areaStyle={color:Vot(d.areaStyle.color)}),"xAxis"===r?(p.xAxisIndex=a,p.yAxisIndex=d.axisIndex):(p.yAxisIndex=a,p.xAxisIndex=d.axisIndex);var f,h=t.stack;if(h.enabled){var g=h.params.find((function(t){return t.fields.find((function(t){return t===c.id}))}));g&&(p.stack=g.name)}switch(f=o?n.map((function(t){var e=t.value,n=JSON.parse(e),a=i.find((function(t){for(var e=0,a=Object.entries(n);e<a.length;e++){var r=N(a[e],2),o=r[0],i=r[1];if(t.data[o]!==i)return!1}return!0}));return a?{data:a.data[c.alias],index:a.index}:{}})):e.map((function(t,e){return{data:t[c.alias],index:e}})),f=f.map((function(t){var e=t.data,n=t.index,a=jM(e,c),r=a.text;return{value:a.number,text:r,index:n}})),0===d.conditionalFormats.length?p.data=f:p.data=f.map((function(a,r){var o={value:a.value,text:a.text,index:a.index};return d.conditionalFormats.forEach((function(i){var l=function(t,e,n,a){if(!t.value)return!1;switch(t.op){case"bt":return!(!t.value[0]&&t.value[1]||t.value[0]&&e<t.value[0]||t.value[1]&&e>t.value[1]);case"ne":return Math.abs(e-t.value)>1e-5;case"gt":return e>t.value;case"ge":return e>=t.value;case"lt":return e<t.value;case"le":return e<=t.value;case"before":switch(t.unit){case"index":return n<=t.value-1;case"percent":return n<=a*(t.value/100)-1;default:return!1}case"after":switch(t.unit){case"index":return n>=a-t.value;case"percent":return n>=a*(1-t.value/100);default:return!1}case"index":return n+1===t.value;default:return!1}}(i.condition,a.value,r,e.length);if(l){switch(o.visualMap=!1,o.itemStyle={color:Vot(i.itemStyle)},i.label.display){case"show":if(0===i.label.tooltips.length)o.label={show:!1};else{var s={show:!0,position:i.label.position,fontSize:i.label.fontSize,fontWeight:i.label.fontWeight,fontStyle:i.label.fontStyle,color:o.itemStyle.color};i.label.isCustomColor&&(s.color=i.label.customColor),s.formatter=Got(i.label.tooltips,t.data),o.label=s}break;case"hidden":o.label={show:!1}}switch(i.axisLabel.display){case"show":var c={show:!0,fontSize:i.axisLabel.fontSize,fontWeight:i.axisLabel.fontWeight,fontStyle:i.axisLabel.fontStyle};i.axisLabel.isCustomColor&&(c.color=i.axisLabel.customColor),n[r].textStyle=c;break;case"hidden":n[r].textStyle={show:!1}}}})),o})),d.itemColor.type){case"colorFill":p.itemStyle.color=Vot(d.itemColor.value);break;case"visualMap":var m=d.itemColor.value;if(!m.startColor||!m.endColor)break;if("piecewise"===m.type&&!m.radius)break;var b=f.filter((function(t){return!isNaN(t.value)})).map((function(t){return t.value})),v=Math.max.apply(Math,Cv(b)),y=Math.min.apply(Math,Cv(b));switch(m.type){case"continuous":s.push({type:m.type,show:!1,dimension:"xAxis"===r?1:0,seriesIndex:u,inRange:{color:[m.startColor,m.endColor]},min:y,max:v});break;case"piecewise":s.push({type:m.type,splitNumber:m.radius,show:!1,dimension:"xAxis"===r?1:0,seriesIndex:u,inRange:{color:[m.startColor,m.endColor]},min:y,max:v})}}var x=d.label;if(x&&x.show&&x.tooltips.length>0){var w={show:x.show,position:x.position,color:"inherit",fontSize:x.fontSize,fontWeight:x.fontWeight,formatter:Got(x.tooltips,t.data)};x.isCustomColor&&(w.color=x.customColor),p.label=w}l.push(p)}})),{series:l,visualMap:s}},qot=function(t,e){if(0===t.data.group.length||0===e.length)return Wot("无数据");if(e.length>3e3)return Wot("数据过多, 无法渲染");var n={};if(t.data.group.forEach((function(t){n[t.alias]=Array.from(new Set(e.map((function(e){return e[t.alias]}))))})),Object.values(n).reduce((function(t,e){return t*e.length}),1)>3e3)return Wot("维度数据过多, 无法渲染");var a={color:"#31b7fa",tooltip:{trigger:"item",axisPointer:{type:"shadow"},confine:!0,formatter:function(t){var e,n=t.seriesName,a=t.name,r=t.data,o=Object.entries(JSON.parse(a));return 1===o.length?e="".concat(n,"<br/>").concat(o[0][1],": ").concat(r.text):(e="".concat(n,": ").concat(r.text),o.forEach((function(t){var n=N(t,2),a=n[0],r=n[1];e+="<br/>&nbsp;&nbsp;".concat(a,": ").concat(r)}))),e}},grid:t.grid},r=function(t,e,n,a){var r=Uot(t,!0,e,0),o=[{}],i=[0],l=n.group.map((function(t,e){var l=[];o.forEach((function(e){var n=a[t.alias].map((function(n){return z({},e,fS({},t.alias,n))}));l=l.concat(n)})),o=l;var s=e===n.group.length-1?JSON.parse(JSON.stringify(r)):{position:r.position,inverse:r.inverse,axisLabel:JSON.parse(JSON.stringify(r.axisLabel)),axisLine:{show:!1},axisTick:{show:!1},splitLine:{show:!1}};if(s.type="category",s.data=o.map((function(t){return{value:JSON.stringify(t)}})),s.axisLabel.show&&(s.axisLabel.formatter=function(e){var n=(e=JSON.parse(e||"{}"))[t.alias]?"".concat(e[t.alias]):"";return n.length>10?n.substring(0,10)+"...":n}),e!==n.group.length-1){var c=Math.max.apply(Math,Cv(o.map((function(e){return e[t.alias].length})))),u=Math.max(Math.min(c,11)*s.axisLabel.fontSize*.75*Math.sin(s.axisLabel.rotate/180*Math.PI),s.axisLabel.fontSize)+5;i.push(u+i[i.length-1])}return s}));return i.reverse().forEach((function(t,e){l[e].offset=t})),l}(t.categoryAxis,t.category,t.data,n),o=t.valueAxises.map((function(e,n){return Uot(e,!1,t.category,n)}));"xAxis"===t.category?(a.xAxis=r,a.yAxis=o):(a.yAxis=r,a.xAxis=o);var i=Kot(t,e,r[r.length-1].data,r.length-1,t.category),l=i.series,s=i.visualMap;a.series=l,a.visualMap=s;var c=Hot(t.legend);c&&(a.legend=c);var u=function(t,e){if(!t.dataZoom.show)return null;var n={type:"slider",show:!0,filterMode:"filter",showDetail:!1,realtime:!0,fillerColor:t.dataZoom.filterColor,borderColor:t.dataZoom.borderColor,backgroundColor:"transparent",handleIcon:"M10.7,11.9H9.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",handleSize:10,handleStyle:{shadowBlur:6,shadowOffsetX:1,shadowOffsetY:2,shadowColor:"#aaa"},labelFormatter:""};return"xAxis"===t.category?(n.xAxisIndex=e.length-1,n.height=t.dataZoom.size||20,n.bottom=t.dataZoom.offset||0):(n.yAxisIndex=e.length-1,n.width=t.dataZoom.size||20,n.right=t.dataZoom.offset||0),n}(t,r);return u&&(a.dataZoom=u),a};Kq([b$,UJ,ant,B7,Iet,hat,Rat,_rt,nJ]);var Xot=t.forwardRef((function(e,n){var a=e.component,r=e.data,o=e.getDataFromGodiva,l=e.eventDistributor,s=t.useRef(),c=t.useRef(),u=LM(a.key,{dataConfig:a.data,data:r,getDataFromGodiva:o},l,{immediate:!1}),d=N(u,2),p=d[0],f=d[1];t.useEffect((function(){f({dataConfig:a.data})}),[a.data]),t.useEffect((function(){if(a.dataRange.start||a.dataRange.end){var t={dataStart:a.dataRange.start?a.dataRange.start-1:0};a.dataRange.end&&(t.dataCount=a.dataRange.end-t.dataStart),f({extraDataConfig:t})}else f({extraDataConfig:void 0})}),[a.dataRange]),t.useEffect((function(){f({data:r})}),[r]),t.useEffect((function(){f({getDataFromGodiva:o})}),[o]);var h=t.useMemo((function(){return p?p.data:[]}),[p,a.data]);return t.useEffect((function(){c.current=RG(s.current)}),[]),t.useEffect((function(){var t;null===(t=c.current)||void 0===t||t.resize()}),[a.style]),t.useEffect((function(){if(c.current){var t=qot(a,h);c.current.setOption(t,{notMerge:!0}),c.current.resize()}}),[h,a]),i.default.createElement("div",{ref:s,className:"gcs-mixed"})})),Zot=Xot;function Jot(t,e){var n="".concat(t);if(0===(e=Number(e)))return n;var a=n.indexOf(".");for(a<0&&(n+=".",a=0);a<e;)n+="0",a++;return n}var $ot=function(e){var n=e.nameFontSize,a=e.nameColor,r=e.valueFontSize,o=e.valueColor,l=e.positiveRatioFontSize,s=e.positiveRatioColor,c=e.positiveRatioPrecision,u=e.negativeRatioFontSize,d=e.negativeRatioColor,p=e.negativeRatioPrecision,f=e.data,h=e.value,g=e.timeRange,m=e.grid,b=e.unit,v=e.isRowLastOne,y=e.isColLastOne,x=t.useMemo((function(){return{fontSize:n,color:a}}),[n,a]),w=t.useMemo((function(){return{fontSize:r,color:o}}),[r,o]),_=function(t){var e=t.name,n=t.data,a=parseFloat(n),r=n,o="↑";if(a>=0){o="↑";var f=Math.pow(10,c);r=Jot(Math.round(a*f)/f,c)}else{o="↓";var h=Math.pow(10,p);r=Jot(Math.round(a*h)/h,p)}var g=a>=0?l:u,m=a>=0?s:d;return i.default.createElement("div",{className:"gcs-indicatorCard-item-compare"},i.default.createElement("span",{style:{fontSize:g||12}},e),i.default.createElement("span",{style:{color:m,fontSize:g}},r," ",o))},k=function(t){var e=t.name,n=jM(t.data,h),a=n.text,r=n.number,o="↑";void 0!==r&&(o=r>=0?"↑":"↓");var c=void 0!==r&&r>=0?l:u,p=void 0!==r&&r>=0?s:d;return i.default.createElement("div",{className:"gcs-indicatorCard-item-compare"},i.default.createElement("span",{style:{fontSize:c||12}},e),i.default.createElement("span",{style:{color:p,fontSize:c}},a," ",o))},S=i.default.useRef(null);i.default.useEffect((function(){var t=m.row,e=m.col;S.current&&(S.current.style.marginRight=v?"0":t.autoFill?"":"".concat(t.spacing||0).concat(b),S.current.style.marginBottom=y?"0":e.autoFill?"":"".concat(e.spacing||0).concat(b))}),[m,b,v,y]);var C=t.useMemo((function(){return jM(f[h.alias]||"0",h).text}),[h.alias,f,h]);return f&&h?i.default.createElement("div",{className:"gcs-indicatorCard-item",ref:S},i.default.createElement("div",{className:"gcs-indicatorCard-item-name",style:x},h.alias),i.default.createElement("div",{className:"gcs-indicatorCard-item-value",style:w},C),g&&i.default.createElement("div",null,g.yoyRatioEnabled&&_({name:"同比率",data:f["".concat(h.alias,"%%同比率")]}),g.yoyValueEnabled&&k({name:"同比值",data:f["".concat(h.alias,"%%同比值")]}),g.chainRelativeRatioEnabled&&_({name:"环比率",data:f["".concat(h.alias,"%%环比率")]}),g.chainRelativeValueEnabled&&k({name:"环比值",data:f["".concat(h.alias,"%%环比值")]}))):null},Qot=v((function(t,e){t.exports=function(){var e,n;function a(){return e.apply(null,arguments)}function r(t){e=t}function o(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function i(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function l(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function s(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(l(t,e))return!1;return!0}function c(t){return void 0===t}function u(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function d(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function p(t,e){var n,a=[];for(n=0;n<t.length;++n)a.push(e(t[n],n));return a}function f(t,e){for(var n in e)l(e,n)&&(t[n]=e[n]);return l(e,"toString")&&(t.toString=e.toString),l(e,"valueOf")&&(t.valueOf=e.valueOf),t}function h(t,e,n,a){return qn(t,e,n,a,!0).utc()}function g(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function m(t){return null==t._pf&&(t._pf=g()),t._pf}function b(t){if(null==t._isValid){var e=m(t),a=n.call(e.parsedDateParts,(function(t){return null!=t})),r=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&a);if(t._strict&&(r=r&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function v(t){var e=h(NaN);return null!=t?f(m(e),t):m(e).userInvalidated=!0,e}n=Array.prototype.some?Array.prototype.some:function(t){var e,n=Object(this),a=n.length>>>0;for(e=0;e<a;e++)if(e in n&&t.call(this,n[e],e,n))return!0;return!1};var x=a.momentProperties=[],w=!1;function _(t,e){var n,a,r;if(c(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),c(e._i)||(t._i=e._i),c(e._f)||(t._f=e._f),c(e._l)||(t._l=e._l),c(e._strict)||(t._strict=e._strict),c(e._tzm)||(t._tzm=e._tzm),c(e._isUTC)||(t._isUTC=e._isUTC),c(e._offset)||(t._offset=e._offset),c(e._pf)||(t._pf=m(e)),c(e._locale)||(t._locale=e._locale),x.length>0)for(n=0;n<x.length;n++)c(r=e[a=x[n]])||(t[a]=r);return t}function k(t){_(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===w&&(w=!0,a.updateOffset(this),w=!1)}function S(t){return t instanceof k||null!=t&&null!=t._isAMomentObject}function C(t){!1===a.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function M(t,e){var n=!0;return f((function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,t),n){var r,o,i,s=[];for(o=0;o<arguments.length;o++){if(r="","object"==typeof arguments[o]){for(i in r+="\n["+o+"] ",arguments[0])l(arguments[0],i)&&(r+=i+": "+arguments[0][i]+", ");r=r.slice(0,-2)}else r=arguments[o];s.push(r)}C(t+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),n=!1}return e.apply(this,arguments)}),e)}var O,E={};function T(t,e){null!=a.deprecationHandler&&a.deprecationHandler(t,e),E[t]||(C(e),E[t]=!0)}function D(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function I(t){var e,n;for(n in t)l(t,n)&&(D(e=t[n])?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function P(t,e){var n,a=f({},t);for(n in e)l(e,n)&&(i(t[n])&&i(e[n])?(a[n]={},f(a[n],t[n]),f(a[n],e[n])):null!=e[n]?a[n]=e[n]:delete a[n]);for(n in t)l(t,n)&&!l(e,n)&&i(t[n])&&(a[n]=f({},a[n]));return a}function N(t){null!=t&&this.set(t)}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,O=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)l(t,e)&&n.push(e);return n};var A={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function z(t,e,n){var a=this._calendar[t]||this._calendar.sameElse;return D(a)?a.call(e,n):a}function R(t,e,n){var a=""+Math.abs(t),r=e-a.length;return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+a}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,j=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,F={},B={};function V(t,e,n,a){var r=a;"string"==typeof a&&(r=function(){return this[a]()}),t&&(B[t]=r),e&&(B[e[0]]=function(){return R(r.apply(this,arguments),e[1],e[2])}),n&&(B[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function Y(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function H(t){var e,n,a=t.match(L);for(e=0,n=a.length;e<n;e++)B[a[e]]?a[e]=B[a[e]]:a[e]=Y(a[e]);return function(e){var r,o="";for(r=0;r<n;r++)o+=D(a[r])?a[r].call(e,t):a[r];return o}}function W(t,e){return t.isValid()?(e=U(e,t.localeData()),F[e]=F[e]||H(e),F[e](t)):t.localeData().invalidDate()}function U(t,e){var n=5;function a(t){return e.longDateFormat(t)||t}for(j.lastIndex=0;n>=0&&j.test(t);)t=t.replace(j,a),j.lastIndex=0,n-=1;return t}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 K(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(L).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])}var q="Invalid date";function X(){return this._invalidDate}var Z="%d",J=/\d{1,2}/;function $(t){return this._ordinal.replace("%d",t)}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 tt(t,e,n,a){var r=this._relativeTime[n];return D(r)?r(t,e,n,a):r.replace(/%d/i,t)}function et(t,e){var n=this._relativeTime[t>0?"future":"past"];return D(n)?n(e):n.replace(/%s/i,e)}var nt={};function at(t,e){var n=t.toLowerCase();nt[n]=nt[n+"s"]=nt[e]=t}function rt(t){return"string"==typeof t?nt[t]||nt[t.toLowerCase()]:void 0}function ot(t){var e,n,a={};for(n in t)l(t,n)&&(e=rt(n))&&(a[e]=t[n]);return a}var it={};function lt(t,e){it[t]=e}function st(t){var e,n=[];for(e in t)l(t,e)&&n.push({unit:e,priority:it[e]});return n.sort((function(t,e){return t.priority-e.priority})),n}function ct(t){return t%4==0&&t%100!=0||t%400==0}function ut(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function dt(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=ut(e)),n}function pt(t,e){return function(n){return null!=n?(ht(this,t,n),a.updateOffset(this,e),this):ft(this,t)}}function ft(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function ht(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&ct(t.year())&&1===t.month()&&29===t.date()?(n=dt(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),te(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function gt(t){return D(this[t=rt(t)])?this[t]():this}function mt(t,e){if("object"==typeof t){var n,a=st(t=ot(t));for(n=0;n<a.length;n++)this[a[n].unit](t[a[n].unit])}else if(D(this[t=rt(t)]))return this[t](e);return this}var bt,vt=/\d/,yt=/\d\d/,xt=/\d{3}/,wt=/\d{4}/,_t=/[+-]?\d{6}/,kt=/\d\d?/,St=/\d\d\d\d?/,Ct=/\d\d\d\d\d\d?/,Mt=/\d{1,3}/,Ot=/\d{1,4}/,Et=/[+-]?\d{1,6}/,Tt=/\d+/,Dt=/[+-]?\d+/,It=/Z|[+-]\d\d:?\d\d/gi,Pt=/Z|[+-]\d\d(?::?\d\d)?/gi,Nt=/[+-]?\d+(\.\d{1,3})?/,At=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function zt(t,e,n){bt[t]=D(e)?e:function(t,a){return t&&n?n:e}}function Rt(t,e){return l(bt,t)?bt[t](e._strict,e._locale):new RegExp(Lt(t))}function Lt(t){return jt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,n,a,r){return e||n||a||r})))}function jt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}bt={};var Ft={};function Bt(t,e){var n,a=e;for("string"==typeof t&&(t=[t]),u(e)&&(a=function(t,n){n[e]=dt(t)}),n=0;n<t.length;n++)Ft[t[n]]=a}function Vt(t,e){Bt(t,(function(t,n,a,r){a._w=a._w||{},e(t,a._w,a,r)}))}function Yt(t,e,n){null!=e&&l(Ft,t)&&Ft[t](e,n._a,n,t)}var Ht,Wt=0,Ut=1,Gt=2,Kt=3,qt=4,Xt=5,Zt=6,Jt=7,$t=8;function Qt(t,e){return(t%e+e)%e}function te(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=Qt(e,12);return t+=(e-n)/12,1===n?ct(t)?29:28:31-n%7%2}Ht=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},V("M",["MM",2],"Mo",(function(){return this.month()+1})),V("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),V("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),at("month","M"),lt("month",8),zt("M",kt),zt("MM",kt,yt),zt("MMM",(function(t,e){return e.monthsShortRegex(t)})),zt("MMMM",(function(t,e){return e.monthsRegex(t)})),Bt(["M","MM"],(function(t,e){e[Ut]=dt(t)-1})),Bt(["MMM","MMMM"],(function(t,e,n,a){var r=n._locale.monthsParse(t,a,n._strict);null!=r?e[Ut]=r:m(n).invalidMonth=t}));var ee="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ne="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ae=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,re=At,oe=At;function ie(t,e){return t?o(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||ae).test(e)?"format":"standalone"][t.month()]:o(this._months)?this._months:this._months.standalone}function le(t,e){return t?o(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[ae.test(e)?"format":"standalone"][t.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function se(t,e,n){var a,r,o,i=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],a=0;a<12;++a)o=h([2e3,a]),this._shortMonthsParse[a]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[a]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(r=Ht.call(this._shortMonthsParse,i))?r:null:-1!==(r=Ht.call(this._longMonthsParse,i))?r:null:"MMM"===e?-1!==(r=Ht.call(this._shortMonthsParse,i))||-1!==(r=Ht.call(this._longMonthsParse,i))?r:null:-1!==(r=Ht.call(this._longMonthsParse,i))||-1!==(r=Ht.call(this._shortMonthsParse,i))?r:null}function ce(t,e,n){var a,r,o;if(this._monthsParseExact)return se.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),a=0;a<12;a++){if(r=h([2e3,a]),n&&!this._longMonthsParse[a]&&(this._longMonthsParse[a]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[a]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[a]||(o="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[a]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[a].test(t))return a;if(n&&"MMM"===e&&this._shortMonthsParse[a].test(t))return a;if(!n&&this._monthsParse[a].test(t))return a}}function ue(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=dt(e);else if(!u(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),te(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function de(t){return null!=t?(ue(this,t),a.updateOffset(this,!0),this):ft(this,"Month")}function pe(){return te(this.year(),this.month())}function fe(t){return this._monthsParseExact?(l(this,"_monthsRegex")||ge.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=re),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function he(t){return this._monthsParseExact?(l(this,"_monthsRegex")||ge.call(this),t?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=oe),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function ge(){function t(t,e){return e.length-t.length}var e,n,a=[],r=[],o=[];for(e=0;e<12;e++)n=h([2e3,e]),a.push(this.monthsShort(n,"")),r.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(a.sort(t),r.sort(t),o.sort(t),e=0;e<12;e++)a[e]=jt(a[e]),r[e]=jt(r[e]);for(e=0;e<24;e++)o[e]=jt(o[e]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+a.join("|")+")","i")}function me(t){return ct(t)?366:365}V("Y",0,0,(function(){var t=this.year();return t<=9999?R(t,4):"+"+t})),V(0,["YY",2],0,(function(){return this.year()%100})),V(0,["YYYY",4],0,"year"),V(0,["YYYYY",5],0,"year"),V(0,["YYYYYY",6,!0],0,"year"),at("year","y"),lt("year",1),zt("Y",Dt),zt("YY",kt,yt),zt("YYYY",Ot,wt),zt("YYYYY",Et,_t),zt("YYYYYY",Et,_t),Bt(["YYYYY","YYYYYY"],Wt),Bt("YYYY",(function(t,e){e[Wt]=2===t.length?a.parseTwoDigitYear(t):dt(t)})),Bt("YY",(function(t,e){e[Wt]=a.parseTwoDigitYear(t)})),Bt("Y",(function(t,e){e[Wt]=parseInt(t,10)})),a.parseTwoDigitYear=function(t){return dt(t)+(dt(t)>68?1900:2e3)};var be=pt("FullYear",!0);function ve(){return ct(this.year())}function ye(t,e,n,a,r,o,i){var l;return t<100&&t>=0?(l=new Date(t+400,e,n,a,r,o,i),isFinite(l.getFullYear())&&l.setFullYear(t)):l=new Date(t,e,n,a,r,o,i),l}function xe(t){var e,n;return t<100&&t>=0?((n=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function we(t,e,n){var a=7+e-n;return-(7+xe(t,0,a).getUTCDay()-e)%7+a-1}function _e(t,e,n,a,r){var o,i,l=1+7*(e-1)+(7+n-a)%7+we(t,a,r);return l<=0?i=me(o=t-1)+l:l>me(t)?(o=t+1,i=l-me(t)):(o=t,i=l),{year:o,dayOfYear:i}}function ke(t,e,n){var a,r,o=we(t.year(),e,n),i=Math.floor((t.dayOfYear()-o-1)/7)+1;return i<1?a=i+Se(r=t.year()-1,e,n):i>Se(t.year(),e,n)?(a=i-Se(t.year(),e,n),r=t.year()+1):(r=t.year(),a=i),{week:a,year:r}}function Se(t,e,n){var a=we(t,e,n),r=we(t+1,e,n);return(me(t)-a+r)/7}function Ce(t){return ke(t,this._week.dow,this._week.doy).week}V("w",["ww",2],"wo","week"),V("W",["WW",2],"Wo","isoWeek"),at("week","w"),at("isoWeek","W"),lt("week",5),lt("isoWeek",5),zt("w",kt),zt("ww",kt,yt),zt("W",kt),zt("WW",kt,yt),Vt(["w","ww","W","WW"],(function(t,e,n,a){e[a.substr(0,1)]=dt(t)}));var Me={dow:0,doy:6};function Oe(){return this._week.dow}function Ee(){return this._week.doy}function Te(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function De(t){var e=ke(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function Ie(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}function Pe(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Ne(t,e){return t.slice(e,7).concat(t.slice(0,e))}V("d",0,"do","day"),V("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),V("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),V("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),V("e",0,0,"weekday"),V("E",0,0,"isoWeekday"),at("day","d"),at("weekday","e"),at("isoWeekday","E"),lt("day",11),lt("weekday",11),lt("isoWeekday",11),zt("d",kt),zt("e",kt),zt("E",kt),zt("dd",(function(t,e){return e.weekdaysMinRegex(t)})),zt("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),zt("dddd",(function(t,e){return e.weekdaysRegex(t)})),Vt(["dd","ddd","dddd"],(function(t,e,n,a){var r=n._locale.weekdaysParse(t,a,n._strict);null!=r?e.d=r:m(n).invalidWeekday=t})),Vt(["d","e","E"],(function(t,e,n,a){e[a]=dt(t)}));var Ae="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Re="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Le=At,je=At,Fe=At;function Be(t,e){var n=o(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Ne(n,this._week.dow):t?n[t.day()]:n}function Ve(t){return!0===t?Ne(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function Ye(t){return!0===t?Ne(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function He(t,e,n){var a,r,o,i=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],a=0;a<7;++a)o=h([2e3,1]).day(a),this._minWeekdaysParse[a]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[a]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[a]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(r=Ht.call(this._weekdaysParse,i))?r:null:"ddd"===e?-1!==(r=Ht.call(this._shortWeekdaysParse,i))?r:null:-1!==(r=Ht.call(this._minWeekdaysParse,i))?r:null:"dddd"===e?-1!==(r=Ht.call(this._weekdaysParse,i))||-1!==(r=Ht.call(this._shortWeekdaysParse,i))||-1!==(r=Ht.call(this._minWeekdaysParse,i))?r:null:"ddd"===e?-1!==(r=Ht.call(this._shortWeekdaysParse,i))||-1!==(r=Ht.call(this._weekdaysParse,i))||-1!==(r=Ht.call(this._minWeekdaysParse,i))?r:null:-1!==(r=Ht.call(this._minWeekdaysParse,i))||-1!==(r=Ht.call(this._weekdaysParse,i))||-1!==(r=Ht.call(this._shortWeekdaysParse,i))?r:null}function We(t,e,n){var a,r,o;if(this._weekdaysParseExact)return He.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),a=0;a<7;a++){if(r=h([2e3,1]).day(a),n&&!this._fullWeekdaysParse[a]&&(this._fullWeekdaysParse[a]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[a]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[a]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[a]||(o="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[a]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[a].test(t))return a;if(n&&"ddd"===e&&this._shortWeekdaysParse[a].test(t))return a;if(n&&"dd"===e&&this._minWeekdaysParse[a].test(t))return a;if(!n&&this._weekdaysParse[a].test(t))return a}}function Ue(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Ie(t,this.localeData()),this.add(t-e,"d")):e}function Ge(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Ke(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=Pe(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function qe(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Je.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=Le),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Xe(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Je.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=je),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ze(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Je.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Fe),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Je(){function t(t,e){return e.length-t.length}var e,n,a,r,o,i=[],l=[],s=[],c=[];for(e=0;e<7;e++)n=h([2e3,1]).day(e),a=jt(this.weekdaysMin(n,"")),r=jt(this.weekdaysShort(n,"")),o=jt(this.weekdays(n,"")),i.push(a),l.push(r),s.push(o),c.push(a),c.push(r),c.push(o);i.sort(t),l.sort(t),s.sort(t),c.sort(t),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("^("+i.join("|")+")","i")}function $e(){return this.hours()%12||12}function Qe(){return this.hours()||24}function tn(t,e){V(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function en(t,e){return e._meridiemParse}function nn(t){return"p"===(t+"").toLowerCase().charAt(0)}V("H",["HH",2],0,"hour"),V("h",["hh",2],0,$e),V("k",["kk",2],0,Qe),V("hmm",0,0,(function(){return""+$e.apply(this)+R(this.minutes(),2)})),V("hmmss",0,0,(function(){return""+$e.apply(this)+R(this.minutes(),2)+R(this.seconds(),2)})),V("Hmm",0,0,(function(){return""+this.hours()+R(this.minutes(),2)})),V("Hmmss",0,0,(function(){return""+this.hours()+R(this.minutes(),2)+R(this.seconds(),2)})),tn("a",!0),tn("A",!1),at("hour","h"),lt("hour",13),zt("a",en),zt("A",en),zt("H",kt),zt("h",kt),zt("k",kt),zt("HH",kt,yt),zt("hh",kt,yt),zt("kk",kt,yt),zt("hmm",St),zt("hmmss",Ct),zt("Hmm",St),zt("Hmmss",Ct),Bt(["H","HH"],Kt),Bt(["k","kk"],(function(t,e,n){var a=dt(t);e[Kt]=24===a?0:a})),Bt(["a","A"],(function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t})),Bt(["h","hh"],(function(t,e,n){e[Kt]=dt(t),m(n).bigHour=!0})),Bt("hmm",(function(t,e,n){var a=t.length-2;e[Kt]=dt(t.substr(0,a)),e[qt]=dt(t.substr(a)),m(n).bigHour=!0})),Bt("hmmss",(function(t,e,n){var a=t.length-4,r=t.length-2;e[Kt]=dt(t.substr(0,a)),e[qt]=dt(t.substr(a,2)),e[Xt]=dt(t.substr(r)),m(n).bigHour=!0})),Bt("Hmm",(function(t,e,n){var a=t.length-2;e[Kt]=dt(t.substr(0,a)),e[qt]=dt(t.substr(a))})),Bt("Hmmss",(function(t,e,n){var a=t.length-4,r=t.length-2;e[Kt]=dt(t.substr(0,a)),e[qt]=dt(t.substr(a,2)),e[Xt]=dt(t.substr(r))}));var an=/[ap]\.?m?\.?/i,rn=pt("Hours",!0);function on(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var ln,sn={calendar:A,longDateFormat:G,invalidDate:q,ordinal:Z,dayOfMonthOrdinalParse:J,relativeTime:Q,months:ee,monthsShort:ne,week:Me,weekdays:Ae,weekdaysMin:Re,weekdaysShort:ze,meridiemParse:an},cn={},un={};function dn(t,e){var n,a=Math.min(t.length,e.length);for(n=0;n<a;n+=1)if(t[n]!==e[n])return n;return a}function pn(t){return t?t.toLowerCase().replace("_","-"):t}function fn(t){for(var e,n,a,r,o=0;o<t.length;){for(e=(r=pn(t[o]).split("-")).length,n=(n=pn(t[o+1]))?n.split("-"):null;e>0;){if(a=hn(r.slice(0,e).join("-")))return a;if(n&&n.length>=e&&dn(r,n)>=e-1)break;e--}o++}return ln}function hn(e){var n=null;if(void 0===cn[e]&&t&&t.exports)try{n=ln._abbr,y("./locale/"+e),gn(n)}catch(t){cn[e]=null}return cn[e]}function gn(t,e){var n;return t&&((n=c(e)?vn(t):mn(t,e))?ln=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),ln._abbr}function mn(t,e){if(null!==e){var n,a=sn;if(e.abbr=t,null!=cn[t])T("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."),a=cn[t]._config;else if(null!=e.parentLocale)if(null!=cn[e.parentLocale])a=cn[e.parentLocale]._config;else{if(null==(n=hn(e.parentLocale)))return un[e.parentLocale]||(un[e.parentLocale]=[]),un[e.parentLocale].push({name:t,config:e}),null;a=n._config}return cn[t]=new N(P(a,e)),un[t]&&un[t].forEach((function(t){mn(t.name,t.config)})),gn(t),cn[t]}return delete cn[t],null}function bn(t,e){if(null!=e){var n,a,r=sn;null!=cn[t]&&null!=cn[t].parentLocale?cn[t].set(P(cn[t]._config,e)):(null!=(a=hn(t))&&(r=a._config),e=P(r,e),null==a&&(e.abbr=t),(n=new N(e)).parentLocale=cn[t],cn[t]=n),gn(t)}else null!=cn[t]&&(null!=cn[t].parentLocale?(cn[t]=cn[t].parentLocale,t===gn()&&gn(t)):null!=cn[t]&&delete cn[t]);return cn[t]}function vn(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return ln;if(!o(t)){if(e=hn(t))return e;t=[t]}return fn(t)}function yn(){return O(cn)}function xn(t){var e,n=t._a;return n&&-2===m(t).overflow&&(e=n[Ut]<0||n[Ut]>11?Ut:n[Gt]<1||n[Gt]>te(n[Wt],n[Ut])?Gt:n[Kt]<0||n[Kt]>24||24===n[Kt]&&(0!==n[qt]||0!==n[Xt]||0!==n[Zt])?Kt:n[qt]<0||n[qt]>59?qt:n[Xt]<0||n[Xt]>59?Xt:n[Zt]<0||n[Zt]>999?Zt:-1,m(t)._overflowDayOfYear&&(e<Wt||e>Gt)&&(e=Gt),m(t)._overflowWeeks&&-1===e&&(e=Jt),m(t)._overflowWeekday&&-1===e&&(e=$t),m(t).overflow=e),t}var wn=/^\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)?)?$/,_n=/^\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)?)?$/,kn=/Z|[+-]\d\d(?::?\d\d)?/,Sn=[["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]],Cn=[["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/]],Mn=/^\/?Date\((-?\d+)/i,On=/^(?:(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}))$/,En={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Tn(t){var e,n,a,r,o,i,l=t._i,s=wn.exec(l)||_n.exec(l);if(s){for(m(t).iso=!0,e=0,n=Sn.length;e<n;e++)if(Sn[e][1].exec(s[1])){r=Sn[e][0],a=!1!==Sn[e][2];break}if(null==r)return void(t._isValid=!1);if(s[3]){for(e=0,n=Cn.length;e<n;e++)if(Cn[e][1].exec(s[3])){o=(s[2]||" ")+Cn[e][0];break}if(null==o)return void(t._isValid=!1)}if(!a&&null!=o)return void(t._isValid=!1);if(s[4]){if(!kn.exec(s[4]))return void(t._isValid=!1);i="Z"}t._f=r+(o||"")+(i||""),Vn(t)}else t._isValid=!1}function Dn(t,e,n,a,r,o){var i=[In(t),ne.indexOf(e),parseInt(n,10),parseInt(a,10),parseInt(r,10)];return o&&i.push(parseInt(o,10)),i}function In(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function Pn(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Nn(t,e,n){return!t||ze.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(m(n).weekdayMismatch=!0,n._isValid=!1,!1)}function An(t,e,n){if(t)return En[t];if(e)return 0;var a=parseInt(n,10),r=a%100;return(a-r)/100*60+r}function zn(t){var e,n=On.exec(Pn(t._i));if(n){if(e=Dn(n[4],n[3],n[2],n[5],n[6],n[7]),!Nn(n[1],e,t))return;t._a=e,t._tzm=An(n[8],n[9],n[10]),t._d=xe.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),m(t).rfc2822=!0}else t._isValid=!1}function Rn(t){var e=Mn.exec(t._i);null===e?(Tn(t),!1===t._isValid&&(delete t._isValid,zn(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:a.createFromInputFallback(t)))):t._d=new Date(+e[1])}function Ln(t,e,n){return null!=t?t:null!=e?e:n}function jn(t){var e=new Date(a.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function Fn(t){var e,n,a,r,o,i=[];if(!t._d){for(a=jn(t),t._w&&null==t._a[Gt]&&null==t._a[Ut]&&Bn(t),null!=t._dayOfYear&&(o=Ln(t._a[Wt],a[Wt]),(t._dayOfYear>me(o)||0===t._dayOfYear)&&(m(t)._overflowDayOfYear=!0),n=xe(o,0,t._dayOfYear),t._a[Ut]=n.getUTCMonth(),t._a[Gt]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=i[e]=a[e];for(;e<7;e++)t._a[e]=i[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[Kt]&&0===t._a[qt]&&0===t._a[Xt]&&0===t._a[Zt]&&(t._nextDay=!0,t._a[Kt]=0),t._d=(t._useUTC?xe:ye).apply(null,i),r=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Kt]=24),t._w&&void 0!==t._w.d&&t._w.d!==r&&(m(t).weekdayMismatch=!0)}}function Bn(t){var e,n,a,r,o,i,l,s,c;null!=(e=t._w).GG||null!=e.W||null!=e.E?(o=1,i=4,n=Ln(e.GG,t._a[Wt],ke(Xn(),1,4).year),a=Ln(e.W,1),((r=Ln(e.E,1))<1||r>7)&&(s=!0)):(o=t._locale._week.dow,i=t._locale._week.doy,c=ke(Xn(),o,i),n=Ln(e.gg,t._a[Wt],c.year),a=Ln(e.w,c.week),null!=e.d?((r=e.d)<0||r>6)&&(s=!0):null!=e.e?(r=e.e+o,(e.e<0||e.e>6)&&(s=!0)):r=o),a<1||a>Se(n,o,i)?m(t)._overflowWeeks=!0:null!=s?m(t)._overflowWeekday=!0:(l=_e(n,a,r,o,i),t._a[Wt]=l.year,t._dayOfYear=l.dayOfYear)}function Vn(t){if(t._f!==a.ISO_8601)if(t._f!==a.RFC_2822){t._a=[],m(t).empty=!0;var e,n,r,o,i,l,s=""+t._i,c=s.length,u=0;for(r=U(t._f,t._locale).match(L)||[],e=0;e<r.length;e++)o=r[e],(n=(s.match(Rt(o,t))||[])[0])&&((i=s.substr(0,s.indexOf(n))).length>0&&m(t).unusedInput.push(i),s=s.slice(s.indexOf(n)+n.length),u+=n.length),B[o]?(n?m(t).empty=!1:m(t).unusedTokens.push(o),Yt(o,n,t)):t._strict&&!n&&m(t).unusedTokens.push(o);m(t).charsLeftOver=c-u,s.length>0&&m(t).unusedInput.push(s),t._a[Kt]<=12&&!0===m(t).bigHour&&t._a[Kt]>0&&(m(t).bigHour=void 0),m(t).parsedDateParts=t._a.slice(0),m(t).meridiem=t._meridiem,t._a[Kt]=Yn(t._locale,t._a[Kt],t._meridiem),null!==(l=m(t).era)&&(t._a[Wt]=t._locale.erasConvertYear(l,t._a[Wt])),Fn(t),xn(t)}else zn(t);else Tn(t)}function Yn(t,e,n){var a;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((a=t.isPM(n))&&e<12&&(e+=12),a||12!==e||(e=0),e):e}function Hn(t){var e,n,a,r,o,i,l=!1;if(0===t._f.length)return m(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<t._f.length;r++)o=0,i=!1,e=_({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],Vn(e),b(e)&&(i=!0),o+=m(e).charsLeftOver,o+=10*m(e).unusedTokens.length,m(e).score=o,l?o<a&&(a=o,n=e):(null==a||o<a||i)&&(a=o,n=e,i&&(l=!0));f(t,n||e)}function Wn(t){if(!t._d){var e=ot(t._i),n=void 0===e.day?e.date:e.day;t._a=p([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),Fn(t)}}function Un(t){var e=new k(xn(Gn(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Gn(t){var e=t._i,n=t._f;return t._locale=t._locale||vn(t._l),null===e||void 0===n&&""===e?v({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),S(e)?new k(xn(e)):(d(e)?t._d=e:o(n)?Hn(t):n?Vn(t):Kn(t),b(t)||(t._d=null),t))}function Kn(t){var e=t._i;c(e)?t._d=new Date(a.now()):d(e)?t._d=new Date(e.valueOf()):"string"==typeof e?Rn(t):o(e)?(t._a=p(e.slice(0),(function(t){return parseInt(t,10)})),Fn(t)):i(e)?Wn(t):u(e)?t._d=new Date(e):a.createFromInputFallback(t)}function qn(t,e,n,a,r){var l={};return!0!==e&&!1!==e||(a=e,e=void 0),!0!==n&&!1!==n||(a=n,n=void 0),(i(t)&&s(t)||o(t)&&0===t.length)&&(t=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=r,l._l=n,l._i=t,l._f=e,l._strict=a,Un(l)}function Xn(t,e,n,a){return qn(t,e,n,a,!1)}a.createFromInputFallback=M("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),a.ISO_8601=function(){},a.RFC_2822=function(){};var Zn=M("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Xn.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:v()})),Jn=M("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Xn.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:v()}));function $n(t,e){var n,a;if(1===e.length&&o(e[0])&&(e=e[0]),!e.length)return Xn();for(n=e[0],a=1;a<e.length;++a)e[a].isValid()&&!e[a][t](n)||(n=e[a]);return n}function Qn(){return $n("isBefore",[].slice.call(arguments,0))}function ta(){return $n("isAfter",[].slice.call(arguments,0))}var ea=function(){return Date.now?Date.now():+new Date},na=["year","quarter","month","week","day","hour","minute","second","millisecond"];function aa(t){var e,n,a=!1;for(e in t)if(l(t,e)&&(-1===Ht.call(na,e)||null!=t[e]&&isNaN(t[e])))return!1;for(n=0;n<na.length;++n)if(t[na[n]]){if(a)return!1;parseFloat(t[na[n]])!==dt(t[na[n]])&&(a=!0)}return!0}function ra(){return this._isValid}function oa(){return Ea(NaN)}function ia(t){var e=ot(t),n=e.year||0,a=e.quarter||0,r=e.month||0,o=e.week||e.isoWeek||0,i=e.day||0,l=e.hour||0,s=e.minute||0,c=e.second||0,u=e.millisecond||0;this._isValid=aa(e),this._milliseconds=+u+1e3*c+6e4*s+1e3*l*60*60,this._days=+i+7*o,this._months=+r+3*a+12*n,this._data={},this._locale=vn(),this._bubble()}function la(t){return t instanceof ia}function sa(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function ca(t,e,n){var a,r=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),i=0;for(a=0;a<r;a++)(n&&t[a]!==e[a]||!n&&dt(t[a])!==dt(e[a]))&&i++;return i+o}function ua(t,e){V(t,0,0,(function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+R(~~(t/60),2)+e+R(~~t%60,2)}))}ua("Z",":"),ua("ZZ",""),zt("Z",Pt),zt("ZZ",Pt),Bt(["Z","ZZ"],(function(t,e,n){n._useUTC=!0,n._tzm=pa(Pt,t)}));var da=/([\+\-]|\d\d)/gi;function pa(t,e){var n,a,r=(e||"").match(t);return null===r?null:0===(a=60*(n=((r[r.length-1]||[])+"").match(da)||["-",0,0])[1]+dt(n[2]))?0:"+"===n[0]?a:-a}function fa(t,e){var n,r;return e._isUTC?(n=e.clone(),r=(S(t)||d(t)?t.valueOf():Xn(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),a.updateOffset(n,!1),n):Xn(t).local()}function ha(t){return-Math.round(t._d.getTimezoneOffset())}function ga(t,e,n){var r,o=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=pa(Pt,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(r=ha(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==t&&(!e||this._changeInProgress?Na(this,Ea(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:ha(this)}function ma(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function ba(t){return this.utcOffset(0,t)}function va(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(ha(this),"m")),this}function ya(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=pa(It,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this}function xa(t){return!!this.isValid()&&(t=t?Xn(t).utcOffset():0,(this.utcOffset()-t)%60==0)}function wa(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function _a(){if(!c(this._isDSTShifted))return this._isDSTShifted;var t,e={};return _(e,this),(e=Gn(e))._a?(t=e._isUTC?h(e._a):Xn(e._a),this._isDSTShifted=this.isValid()&&ca(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function ka(){return!!this.isValid()&&!this._isUTC}function Sa(){return!!this.isValid()&&this._isUTC}function Ca(){return!!this.isValid()&&this._isUTC&&0===this._offset}a.updateOffset=function(){};var Ma=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Oa=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ea(t,e){var n,a,r,o=t,i=null;return la(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:u(t)||!isNaN(+t)?(o={},e?o[e]=+t:o.milliseconds=+t):(i=Ma.exec(t))?(n="-"===i[1]?-1:1,o={y:0,d:dt(i[Gt])*n,h:dt(i[Kt])*n,m:dt(i[qt])*n,s:dt(i[Xt])*n,ms:dt(sa(1e3*i[Zt]))*n}):(i=Oa.exec(t))?(n="-"===i[1]?-1:1,o={y:Ta(i[2],n),M:Ta(i[3],n),w:Ta(i[4],n),d:Ta(i[5],n),h:Ta(i[6],n),m:Ta(i[7],n),s:Ta(i[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(r=Ia(Xn(o.from),Xn(o.to)),(o={}).ms=r.milliseconds,o.M=r.months),a=new ia(o),la(t)&&l(t,"_locale")&&(a._locale=t._locale),la(t)&&l(t,"_isValid")&&(a._isValid=t._isValid),a}function Ta(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Da(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Ia(t,e){var n;return t.isValid()&&e.isValid()?(e=fa(e,t),t.isBefore(e)?n=Da(t,e):((n=Da(e,t)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Pa(t,e){return function(n,a){var r;return null===a||isNaN(+a)||(T(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=a,a=r),Na(this,Ea(n,a),t),this}}function Na(t,e,n,r){var o=e._milliseconds,i=sa(e._days),l=sa(e._months);t.isValid()&&(r=null==r||r,l&&ue(t,ft(t,"Month")+l*n),i&&ht(t,"Date",ft(t,"Date")+i*n),o&&t._d.setTime(t._d.valueOf()+o*n),r&&a.updateOffset(t,i||l))}Ea.fn=ia.prototype,Ea.invalid=oa;var Aa=Pa(1,"add"),za=Pa(-1,"subtract");function Ra(t){return"string"==typeof t||t instanceof String}function La(t){return S(t)||d(t)||Ra(t)||u(t)||Fa(t)||ja(t)||null==t}function ja(t){var e,n,a=i(t)&&!s(t),r=!1,o=["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(e=0;e<o.length;e+=1)n=o[e],r=r||l(t,n);return a&&r}function Fa(t){var e=o(t),n=!1;return e&&(n=0===t.filter((function(e){return!u(e)&&Ra(t)})).length),e&&n}function Ba(t){var e,n,a=i(t)&&!s(t),r=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<o.length;e+=1)n=o[e],r=r||l(t,n);return a&&r}function Va(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Ya(t,e){1===arguments.length&&(arguments[0]?La(arguments[0])?(t=arguments[0],e=void 0):Ba(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||Xn(),r=fa(n,this).startOf("day"),o=a.calendarFormat(this,r)||"sameElse",i=e&&(D(e[o])?e[o].call(this,n):e[o]);return this.format(i||this.localeData().calendar(o,this,Xn(n)))}function Ha(){return new k(this)}function Wa(t,e){var n=S(t)?t:Xn(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=rt(e)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())}function Ua(t,e){var n=S(t)?t:Xn(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=rt(e)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())}function Ga(t,e,n,a){var r=S(t)?t:Xn(t),o=S(e)?e:Xn(e);return!!(this.isValid()&&r.isValid()&&o.isValid())&&("("===(a=a||"()")[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===a[1]?this.isBefore(o,n):!this.isAfter(o,n))}function Ka(t,e){var n,a=S(t)?t:Xn(t);return!(!this.isValid()||!a.isValid())&&("millisecond"===(e=rt(e)||"millisecond")?this.valueOf()===a.valueOf():(n=a.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))}function qa(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function Xa(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function Za(t,e,n){var a,r,o;if(!this.isValid())return NaN;if(!(a=fa(t,this)).isValid())return NaN;switch(r=6e4*(a.utcOffset()-this.utcOffset()),e=rt(e)){case"year":o=Ja(this,a)/12;break;case"month":o=Ja(this,a);break;case"quarter":o=Ja(this,a)/3;break;case"second":o=(this-a)/1e3;break;case"minute":o=(this-a)/6e4;break;case"hour":o=(this-a)/36e5;break;case"day":o=(this-a-r)/864e5;break;case"week":o=(this-a-r)/6048e5;break;default:o=this-a}return n?o:ut(o)}function Ja(t,e){if(t.date()<e.date())return-Ja(e,t);var n=12*(e.year()-t.year())+(e.month()-t.month()),a=t.clone().add(n,"months");return-(n+(e-a<0?(e-a)/(a-t.clone().add(n-1,"months")):(e-a)/(t.clone().add(n+1,"months")-a)))||0}function $a(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Qa(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?W(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):D(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",W(n,"Z")):W(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function tr(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,n,a,r="moment",o="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),t="["+r+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",a=o+'[")]',this.format(t+e+n+a)}function er(t){t||(t=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var e=W(this,t);return this.localeData().postformat(e)}function nr(t,e){return this.isValid()&&(S(t)&&t.isValid()||Xn(t).isValid())?Ea({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function ar(t){return this.from(Xn(),t)}function rr(t,e){return this.isValid()&&(S(t)&&t.isValid()||Xn(t).isValid())?Ea({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function or(t){return this.to(Xn(),t)}function ir(t){var e;return void 0===t?this._locale._abbr:(null!=(e=vn(t))&&(this._locale=e),this)}a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var lr=M("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function sr(){return this._locale}var cr=1e3,ur=60*cr,dr=60*ur,pr=3506328*dr;function fr(t,e){return(t%e+e)%e}function hr(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-pr:new Date(t,e,n).valueOf()}function gr(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-pr:Date.UTC(t,e,n)}function mr(t){var e,n;if(void 0===(t=rt(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?gr:hr,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=fr(e+(this._isUTC?0:this.utcOffset()*ur),dr);break;case"minute":e=this._d.valueOf(),e-=fr(e,ur);break;case"second":e=this._d.valueOf(),e-=fr(e,cr)}return this._d.setTime(e),a.updateOffset(this,!0),this}function br(t){var e,n;if(void 0===(t=rt(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?gr:hr,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=dr-fr(e+(this._isUTC?0:this.utcOffset()*ur),dr)-1;break;case"minute":e=this._d.valueOf(),e+=ur-fr(e,ur)-1;break;case"second":e=this._d.valueOf(),e+=cr-fr(e,cr)-1}return this._d.setTime(e),a.updateOffset(this,!0),this}function vr(){return this._d.valueOf()-6e4*(this._offset||0)}function yr(){return Math.floor(this.valueOf()/1e3)}function xr(){return new Date(this.valueOf())}function wr(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function _r(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function kr(){return this.isValid()?this.toISOString():null}function Sr(){return b(this)}function Cr(){return f({},m(this))}function Mr(){return m(this).overflow}function Or(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Er(t,e){var n,r,o,i=this._eras||vn("en")._eras;for(n=0,r=i.length;n<r;++n)switch("string"==typeof i[n].since&&(o=a(i[n].since).startOf("day"),i[n].since=o.valueOf()),typeof i[n].until){case"undefined":i[n].until=1/0;break;case"string":o=a(i[n].until).startOf("day").valueOf(),i[n].until=o.valueOf()}return i}function Tr(t,e,n){var a,r,o,i,l,s=this.eras();for(t=t.toUpperCase(),a=0,r=s.length;a<r;++a)if(o=s[a].name.toUpperCase(),i=s[a].abbr.toUpperCase(),l=s[a].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(i===t)return s[a];break;case"NNNN":if(o===t)return s[a];break;case"NNNNN":if(l===t)return s[a]}else if([o,i,l].indexOf(t)>=0)return s[a]}function Dr(t,e){var n=t.since<=t.until?1:-1;return void 0===e?a(t.since).year():a(t.since).year()+(e-t.offset)*n}function Ir(){var t,e,n,a=this.localeData().eras();for(t=0,e=a.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),a[t].since<=n&&n<=a[t].until)return a[t].name;if(a[t].until<=n&&n<=a[t].since)return a[t].name}return""}function Pr(){var t,e,n,a=this.localeData().eras();for(t=0,e=a.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),a[t].since<=n&&n<=a[t].until)return a[t].narrow;if(a[t].until<=n&&n<=a[t].since)return a[t].narrow}return""}function Nr(){var t,e,n,a=this.localeData().eras();for(t=0,e=a.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),a[t].since<=n&&n<=a[t].until)return a[t].abbr;if(a[t].until<=n&&n<=a[t].since)return a[t].abbr}return""}function Ar(){var t,e,n,r,o=this.localeData().eras();for(t=0,e=o.length;t<e;++t)if(n=o[t].since<=o[t].until?1:-1,r=this.clone().startOf("day").valueOf(),o[t].since<=r&&r<=o[t].until||o[t].until<=r&&r<=o[t].since)return(this.year()-a(o[t].since).year())*n+o[t].offset;return this.year()}function zr(t){return l(this,"_erasNameRegex")||Yr.call(this),t?this._erasNameRegex:this._erasRegex}function Rr(t){return l(this,"_erasAbbrRegex")||Yr.call(this),t?this._erasAbbrRegex:this._erasRegex}function Lr(t){return l(this,"_erasNarrowRegex")||Yr.call(this),t?this._erasNarrowRegex:this._erasRegex}function jr(t,e){return e.erasAbbrRegex(t)}function Fr(t,e){return e.erasNameRegex(t)}function Br(t,e){return e.erasNarrowRegex(t)}function Vr(t,e){return e._eraYearOrdinalRegex||Tt}function Yr(){var t,e,n=[],a=[],r=[],o=[],i=this.eras();for(t=0,e=i.length;t<e;++t)a.push(jt(i[t].name)),n.push(jt(i[t].abbr)),r.push(jt(i[t].narrow)),o.push(jt(i[t].name)),o.push(jt(i[t].abbr)),o.push(jt(i[t].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+a.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function Hr(t,e){V(0,[t,t.length],0,e)}function Wr(t){return Zr.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Ur(t){return Zr.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Gr(){return Se(this.year(),1,4)}function Kr(){return Se(this.isoWeekYear(),1,4)}function qr(){var t=this.localeData()._week;return Se(this.year(),t.dow,t.doy)}function Xr(){var t=this.localeData()._week;return Se(this.weekYear(),t.dow,t.doy)}function Zr(t,e,n,a,r){var o;return null==t?ke(this,a,r).year:(e>(o=Se(t,a,r))&&(e=o),Jr.call(this,t,e,n,a,r))}function Jr(t,e,n,a,r){var o=_e(t,e,n,a,r),i=xe(o.year,0,o.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}function $r(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}V("N",0,0,"eraAbbr"),V("NN",0,0,"eraAbbr"),V("NNN",0,0,"eraAbbr"),V("NNNN",0,0,"eraName"),V("NNNNN",0,0,"eraNarrow"),V("y",["y",1],"yo","eraYear"),V("y",["yy",2],0,"eraYear"),V("y",["yyy",3],0,"eraYear"),V("y",["yyyy",4],0,"eraYear"),zt("N",jr),zt("NN",jr),zt("NNN",jr),zt("NNNN",Fr),zt("NNNNN",Br),Bt(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,n,a){var r=n._locale.erasParse(t,a,n._strict);r?m(n).era=r:m(n).invalidEra=t})),zt("y",Tt),zt("yy",Tt),zt("yyy",Tt),zt("yyyy",Tt),zt("yo",Vr),Bt(["y","yy","yyy","yyyy"],Wt),Bt(["yo"],(function(t,e,n,a){var r;n._locale._eraYearOrdinalRegex&&(r=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[Wt]=n._locale.eraYearOrdinalParse(t,r):e[Wt]=parseInt(t,10)})),V(0,["gg",2],0,(function(){return this.weekYear()%100})),V(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Hr("gggg","weekYear"),Hr("ggggg","weekYear"),Hr("GGGG","isoWeekYear"),Hr("GGGGG","isoWeekYear"),at("weekYear","gg"),at("isoWeekYear","GG"),lt("weekYear",1),lt("isoWeekYear",1),zt("G",Dt),zt("g",Dt),zt("GG",kt,yt),zt("gg",kt,yt),zt("GGGG",Ot,wt),zt("gggg",Ot,wt),zt("GGGGG",Et,_t),zt("ggggg",Et,_t),Vt(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,n,a){e[a.substr(0,2)]=dt(t)})),Vt(["gg","GG"],(function(t,e,n,r){e[r]=a.parseTwoDigitYear(t)})),V("Q",0,"Qo","quarter"),at("quarter","Q"),lt("quarter",7),zt("Q",vt),Bt("Q",(function(t,e){e[Ut]=3*(dt(t)-1)})),V("D",["DD",2],"Do","date"),at("date","D"),lt("date",9),zt("D",kt),zt("DD",kt,yt),zt("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),Bt(["D","DD"],Gt),Bt("Do",(function(t,e){e[Gt]=dt(t.match(kt)[0])}));var Qr=pt("Date",!0);function to(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}V("DDD",["DDDD",3],"DDDo","dayOfYear"),at("dayOfYear","DDD"),lt("dayOfYear",4),zt("DDD",Mt),zt("DDDD",xt),Bt(["DDD","DDDD"],(function(t,e,n){n._dayOfYear=dt(t)})),V("m",["mm",2],0,"minute"),at("minute","m"),lt("minute",14),zt("m",kt),zt("mm",kt,yt),Bt(["m","mm"],qt);var eo=pt("Minutes",!1);V("s",["ss",2],0,"second"),at("second","s"),lt("second",15),zt("s",kt),zt("ss",kt,yt),Bt(["s","ss"],Xt);var no,ao,ro=pt("Seconds",!1);for(V("S",0,0,(function(){return~~(this.millisecond()/100)})),V(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),V(0,["SSS",3],0,"millisecond"),V(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),V(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),V(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),V(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),V(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),V(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),at("millisecond","ms"),lt("millisecond",16),zt("S",Mt,vt),zt("SS",Mt,yt),zt("SSS",Mt,xt),no="SSSS";no.length<=9;no+="S")zt(no,Tt);function oo(t,e){e[Zt]=dt(1e3*("0."+t))}for(no="S";no.length<=9;no+="S")Bt(no,oo);function io(){return this._isUTC?"UTC":""}function lo(){return this._isUTC?"Coordinated Universal Time":""}ao=pt("Milliseconds",!1),V("z",0,0,"zoneAbbr"),V("zz",0,0,"zoneName");var so=k.prototype;function co(t){return Xn(1e3*t)}function uo(){return Xn.apply(null,arguments).parseZone()}function po(t){return t}so.add=Aa,so.calendar=Ya,so.clone=Ha,so.diff=Za,so.endOf=br,so.format=er,so.from=nr,so.fromNow=ar,so.to=rr,so.toNow=or,so.get=gt,so.invalidAt=Mr,so.isAfter=Wa,so.isBefore=Ua,so.isBetween=Ga,so.isSame=Ka,so.isSameOrAfter=qa,so.isSameOrBefore=Xa,so.isValid=Sr,so.lang=lr,so.locale=ir,so.localeData=sr,so.max=Jn,so.min=Zn,so.parsingFlags=Cr,so.set=mt,so.startOf=mr,so.subtract=za,so.toArray=wr,so.toObject=_r,so.toDate=xr,so.toISOString=Qa,so.inspect=tr,"undefined"!=typeof Symbol&&null!=Symbol.for&&(so[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),so.toJSON=kr,so.toString=$a,so.unix=yr,so.valueOf=vr,so.creationData=Or,so.eraName=Ir,so.eraNarrow=Pr,so.eraAbbr=Nr,so.eraYear=Ar,so.year=be,so.isLeapYear=ve,so.weekYear=Wr,so.isoWeekYear=Ur,so.quarter=so.quarters=$r,so.month=de,so.daysInMonth=pe,so.week=so.weeks=Te,so.isoWeek=so.isoWeeks=De,so.weeksInYear=qr,so.weeksInWeekYear=Xr,so.isoWeeksInYear=Gr,so.isoWeeksInISOWeekYear=Kr,so.date=Qr,so.day=so.days=Ue,so.weekday=Ge,so.isoWeekday=Ke,so.dayOfYear=to,so.hour=so.hours=rn,so.minute=so.minutes=eo,so.second=so.seconds=ro,so.millisecond=so.milliseconds=ao,so.utcOffset=ga,so.utc=ba,so.local=va,so.parseZone=ya,so.hasAlignedHourOffset=xa,so.isDST=wa,so.isLocal=ka,so.isUtcOffset=Sa,so.isUtc=Ca,so.isUTC=Ca,so.zoneAbbr=io,so.zoneName=lo,so.dates=M("dates accessor is deprecated. Use date instead.",Qr),so.months=M("months accessor is deprecated. Use month instead",de),so.years=M("years accessor is deprecated. Use year instead",be),so.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",ma),so.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",_a);var fo=N.prototype;function ho(t,e,n,a){var r=vn(),o=h().set(a,e);return r[n](o,t)}function go(t,e,n){if(u(t)&&(e=t,t=void 0),t=t||"",null!=e)return ho(t,e,n,"month");var a,r=[];for(a=0;a<12;a++)r[a]=ho(t,a,n,"month");return r}function mo(t,e,n,a){"boolean"==typeof t?(u(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,u(e)&&(n=e,e=void 0),e=e||"");var r,o=vn(),i=t?o._week.dow:0,l=[];if(null!=n)return ho(e,(n+i)%7,a,"day");for(r=0;r<7;r++)l[r]=ho(e,(r+i)%7,a,"day");return l}function bo(t,e){return go(t,e,"months")}function vo(t,e){return go(t,e,"monthsShort")}function yo(t,e,n){return mo(t,e,n,"weekdays")}function xo(t,e,n){return mo(t,e,n,"weekdaysShort")}function wo(t,e,n){return mo(t,e,n,"weekdaysMin")}fo.calendar=z,fo.longDateFormat=K,fo.invalidDate=X,fo.ordinal=$,fo.preparse=po,fo.postformat=po,fo.relativeTime=tt,fo.pastFuture=et,fo.set=I,fo.eras=Er,fo.erasParse=Tr,fo.erasConvertYear=Dr,fo.erasAbbrRegex=Rr,fo.erasNameRegex=zr,fo.erasNarrowRegex=Lr,fo.months=ie,fo.monthsShort=le,fo.monthsParse=ce,fo.monthsRegex=he,fo.monthsShortRegex=fe,fo.week=Ce,fo.firstDayOfYear=Ee,fo.firstDayOfWeek=Oe,fo.weekdays=Be,fo.weekdaysMin=Ye,fo.weekdaysShort=Ve,fo.weekdaysParse=We,fo.weekdaysRegex=qe,fo.weekdaysShortRegex=Xe,fo.weekdaysMinRegex=Ze,fo.isPM=nn,fo.meridiem=on,gn("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(t){var e=t%10;return t+(1===dt(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),a.lang=M("moment.lang is deprecated. Use moment.locale instead.",gn),a.langData=M("moment.langData is deprecated. Use moment.localeData instead.",vn);var _o=Math.abs;function ko(){var t=this._data;return this._milliseconds=_o(this._milliseconds),this._days=_o(this._days),this._months=_o(this._months),t.milliseconds=_o(t.milliseconds),t.seconds=_o(t.seconds),t.minutes=_o(t.minutes),t.hours=_o(t.hours),t.months=_o(t.months),t.years=_o(t.years),this}function So(t,e,n,a){var r=Ea(e,n);return t._milliseconds+=a*r._milliseconds,t._days+=a*r._days,t._months+=a*r._months,t._bubble()}function Co(t,e){return So(this,t,e,1)}function Mo(t,e){return So(this,t,e,-1)}function Oo(t){return t<0?Math.floor(t):Math.ceil(t)}function Eo(){var t,e,n,a,r,o=this._milliseconds,i=this._days,l=this._months,s=this._data;return o>=0&&i>=0&&l>=0||o<=0&&i<=0&&l<=0||(o+=864e5*Oo(Do(l)+i),i=0,l=0),s.milliseconds=o%1e3,t=ut(o/1e3),s.seconds=t%60,e=ut(t/60),s.minutes=e%60,n=ut(e/60),s.hours=n%24,i+=ut(n/24),l+=r=ut(To(i)),i-=Oo(Do(r)),a=ut(l/12),l%=12,s.days=i,s.months=l,s.years=a,this}function To(t){return 4800*t/146097}function Do(t){return 146097*t/4800}function Io(t){if(!this.isValid())return NaN;var e,n,a=this._milliseconds;if("month"===(t=rt(t))||"quarter"===t||"year"===t)switch(e=this._days+a/864e5,n=this._months+To(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(Do(this._months)),t){case"week":return e/7+a/6048e5;case"day":return e+a/864e5;case"hour":return 24*e+a/36e5;case"minute":return 1440*e+a/6e4;case"second":return 86400*e+a/1e3;case"millisecond":return Math.floor(864e5*e)+a;default:throw new Error("Unknown unit "+t)}}function Po(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*dt(this._months/12):NaN}function No(t){return function(){return this.as(t)}}var Ao=No("ms"),zo=No("s"),Ro=No("m"),Lo=No("h"),jo=No("d"),Fo=No("w"),Bo=No("M"),Vo=No("Q"),Yo=No("y");function Ho(){return Ea(this)}function Wo(t){return t=rt(t),this.isValid()?this[t+"s"]():NaN}function Uo(t){return function(){return this.isValid()?this._data[t]:NaN}}var Go=Uo("milliseconds"),Ko=Uo("seconds"),qo=Uo("minutes"),Xo=Uo("hours"),Zo=Uo("days"),Jo=Uo("months"),$o=Uo("years");function Qo(){return ut(this.days()/7)}var ti=Math.round,ei={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ni(t,e,n,a,r){return r.relativeTime(e||1,!!n,t,a)}function ai(t,e,n,a){var r=Ea(t).abs(),o=ti(r.as("s")),i=ti(r.as("m")),l=ti(r.as("h")),s=ti(r.as("d")),c=ti(r.as("M")),u=ti(r.as("w")),d=ti(r.as("y")),p=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||i<=1&&["m"]||i<n.m&&["mm",i]||l<=1&&["h"]||l<n.h&&["hh",l]||s<=1&&["d"]||s<n.d&&["dd",s];return null!=n.w&&(p=p||u<=1&&["w"]||u<n.w&&["ww",u]),(p=p||c<=1&&["M"]||c<n.M&&["MM",c]||d<=1&&["y"]||["yy",d])[2]=e,p[3]=+t>0,p[4]=a,ni.apply(null,p)}function ri(t){return void 0===t?ti:"function"==typeof t&&(ti=t,!0)}function oi(t,e){return void 0!==ei[t]&&(void 0===e?ei[t]:(ei[t]=e,"s"===t&&(ei.ss=e-1),!0))}function ii(t,e){if(!this.isValid())return this.localeData().invalidDate();var n,a,r=!1,o=ei;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(r=t),"object"==typeof e&&(o=Object.assign({},ei,e),null!=e.s&&null==e.ss&&(o.ss=e.s-1)),a=ai(this,!r,o,n=this.localeData()),r&&(a=n.pastFuture(+this,a)),n.postformat(a)}var li=Math.abs;function si(t){return(t>0)-(t<0)||+t}function ci(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,a,r,o,i,l,s=li(this._milliseconds)/1e3,c=li(this._days),u=li(this._months),d=this.asSeconds();return d?(t=ut(s/60),e=ut(t/60),s%=60,t%=60,n=ut(u/12),u%=12,a=s?s.toFixed(3).replace(/\.?0+$/,""):"",r=d<0?"-":"",o=si(this._months)!==si(d)?"-":"",i=si(this._days)!==si(d)?"-":"",l=si(this._milliseconds)!==si(d)?"-":"",r+"P"+(n?o+n+"Y":"")+(u?o+u+"M":"")+(c?i+c+"D":"")+(e||t||s?"T":"")+(e?l+e+"H":"")+(t?l+t+"M":"")+(s?l+a+"S":"")):"P0D"}var ui=ia.prototype;return ui.isValid=ra,ui.abs=ko,ui.add=Co,ui.subtract=Mo,ui.as=Io,ui.asMilliseconds=Ao,ui.asSeconds=zo,ui.asMinutes=Ro,ui.asHours=Lo,ui.asDays=jo,ui.asWeeks=Fo,ui.asMonths=Bo,ui.asQuarters=Vo,ui.asYears=Yo,ui.valueOf=Po,ui._bubble=Eo,ui.clone=Ho,ui.get=Wo,ui.milliseconds=Go,ui.seconds=Ko,ui.minutes=qo,ui.hours=Xo,ui.days=Zo,ui.weeks=Qo,ui.months=Jo,ui.years=$o,ui.humanize=ii,ui.toISOString=ci,ui.toString=ci,ui.toJSON=ci,ui.locale=ir,ui.localeData=sr,ui.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ci),ui.lang=lr,V("X",0,0,"unix"),V("x",0,0,"valueOf"),zt("x",Dt),zt("X",Nt),Bt("X",(function(t,e,n){n._d=new Date(1e3*parseFloat(t))})),Bt("x",(function(t,e,n){n._d=new Date(dt(t))})),
//! moment.js
a.version="2.29.1",r(Xn),a.fn=so,a.min=Qn,a.max=ta,a.now=ea,a.utc=h,a.unix=co,a.months=bo,a.isDate=d,a.locale=gn,a.invalid=v,a.duration=Ea,a.isMoment=S,a.weekdays=yo,a.parseZone=uo,a.localeData=vn,a.isDuration=la,a.monthsShort=vo,a.weekdaysMin=wo,a.defineLocale=mn,a.updateLocale=bn,a.locales=yn,a.weekdaysShort=xo,a.normalizeUnits=rt,a.relativeTimeRounding=ri,a.relativeTimeThreshold=oi,a.calendarFormat=Va,a.prototype=so,a.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"},a}()})),tit={getNow:function(){return Qot()},getFixedDate:function(t){return Qot(t,"YYYY-MM-DD")},getEndDate:function(t){return t.clone().endOf("month")},getWeekDay:function(t){var e=t.clone().locale("en_US");return e.weekday()+e.localeData().firstDayOfWeek()},getYear:function(t){return t.year()},getMonth:function(t){return t.month()},getDate:function(t){return t.date()},getHour:function(t){return t.hour()},getMinute:function(t){return t.minute()},getSecond:function(t){return t.second()},addYear:function(t,e){return t.clone().add(e,"year")},addMonth:function(t,e){return t.clone().add(e,"month")},addDate:function(t,e){return t.clone().add(e,"day")},setYear:function(t,e){return t.clone().year(e)},setMonth:function(t,e){return t.clone().month(e)},setDate:function(t,e){return t.clone().date(e)},setHour:function(t,e){return t.clone().hour(e)},setMinute:function(t,e){return t.clone().minute(e)},setSecond:function(t,e){return t.clone().second(e)},isAfter:function(t,e){return t.isAfter(e)},isValidate:function(t){return t.isValid()},locale:{getWeekFirstDay:function(t){return Qot().locale(t).localeData().firstDayOfWeek()},getWeekFirstDate:function(t,e){return e.clone().locale(t).weekday(0)},getWeek:function(t,e){return e.clone().locale(t).week()},getShortWeekDays:function(t){return Qot().locale(t).localeData().weekdaysMin()},getShortMonths:function(t){return Qot().locale(t).localeData().monthsShort()},format:function(t,e,n){return e.clone().locale(t).format(n)},parse:function(t,e,n){for(var a=[],r=0;r<n.length;r+=1){var o=n[r],i=e;if(o.includes("wo")||o.includes("Wo")){var l=(o=o.replace(/wo/g,"w").replace(/Wo/g,"W")).match(/[-YyMmDdHhSsWwGg]+/g),s=i.match(/[-\d]+/g);l&&s?(o=l.join(""),i=s.join("")):a.push(o.replace(/o/g,""))}var c=Qot(i,o,t,!0);if(c.isValid())return c}for(var u=0;u<a.length;u+=1){var d=Qot(e,a[u],t,!1);if(d.isValid())return Bu(!1,"Not match any format strictly and fallback to fuzzy match. Please help to fire a issue about this."),d}return null}}};var eit={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},nit=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:eit}))};nit.displayName="CalendarOutlined";var ait=l.forwardRef(nit),rit={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},oit=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:rit}))};oit.displayName="ClockCircleOutlined";var iit=l.forwardRef(oit),lit=l.createContext({}),sit={visibility:"hidden"};function cit(t){var e=t.prefixCls,n=t.prevIcon,a=void 0===n?"‹":n,r=t.nextIcon,o=void 0===r?"›":r,i=t.superPrevIcon,s=void 0===i?"«":i,c=t.superNextIcon,u=void 0===c?"»":c,d=t.onSuperPrev,p=t.onSuperNext,f=t.onPrev,h=t.onNext,g=t.children,m=l.useContext(lit),b=m.hideNextBtn,v=m.hidePrevBtn;return l.createElement("div",{className:e},d&&l.createElement("button",{type:"button",onClick:d,tabIndex:-1,className:"".concat(e,"-super-prev-btn"),style:v?sit:{}},s),f&&l.createElement("button",{type:"button",onClick:f,tabIndex:-1,className:"".concat(e,"-prev-btn"),style:v?sit:{}},a),l.createElement("div",{className:"".concat(e,"-view")},g),h&&l.createElement("button",{type:"button",onClick:h,tabIndex:-1,className:"".concat(e,"-next-btn"),style:b?sit:{}},o),p&&l.createElement("button",{type:"button",onClick:p,tabIndex:-1,className:"".concat(e,"-super-next-btn"),style:b?sit:{}},u))}function uit(t){var e=t.prefixCls,n=t.generateConfig,a=t.viewDate,r=t.onPrevDecades,o=t.onNextDecades;if(l.useContext(lit).hideHeader)return null;var i="".concat(e,"-header"),s=n.getYear(a),c=Math.floor(s/Mit)*Mit,u=c+Mit-1;return l.createElement(cit,Pi({},t,{prefixCls:i,onSuperPrev:r,onSuperNext:o}),c,"-",u)}function dit(t,e,n,a,r){var o=t.setHour(e,n);return o=t.setMinute(o,a),o=t.setSecond(o,r)}function pit(t,e,n){if(!n)return e;var a=e;return a=t.setHour(a,t.getHour(n)),a=t.setMinute(a,t.getMinute(n)),a=t.setSecond(a,t.getSecond(n))}function fit(t,e){var n=t.getYear(e),a=t.getMonth(e)+1,r=t.getEndDate(t.getFixedDate("".concat(n,"-").concat(a,"-01"))),o=t.getDate(r),i=a<10?"0".concat(a):"".concat(a);return"".concat(n,"-").concat(i,"-").concat(o)}function hit(t){for(var e=t.prefixCls,n=t.disabledDate,a=t.onSelect,r=t.picker,o=t.rowNum,i=t.colNum,s=t.prefixColumn,c=t.rowClassName,u=t.baseDate,d=t.getCellClassName,p=t.getCellText,f=t.getCellNode,h=t.getCellDate,g=t.generateConfig,m=t.titleCell,b=t.headerCells,v=l.useContext(lit),y=v.onDateMouseEnter,x=v.onDateMouseLeave,w=v.mode,_="".concat(e,"-cell"),k=[],S=0;S<o;S+=1){for(var C=[],M=void 0,O=function(t){var e,o=h(u,S*i+t),c=Bit({cellDate:o,mode:w,disabledDate:n,generateConfig:g});0===t&&(M=o,s&&C.push(s(M)));var b=m&&m(o);C.push(l.createElement("td",{key:t,title:b,className:R(_,Vi((e={},Ni(e,"".concat(_,"-disabled"),c),Ni(e,"".concat(_,"-start"),1===p(o)||"year"===r&&Number(b)%10==0),Ni(e,"".concat(_,"-end"),b===fit(g,o)||"year"===r&&Number(b)%10==9),e),d(o))),onClick:function(){c||a(o)},onMouseEnter:function(){!c&&y&&y(o)},onMouseLeave:function(){!c&&x&&x(o)}},f?f(o):l.createElement("div",{className:"".concat(_,"-inner")},p(o))))},E=0;E<i;E+=1)O(E);k.push(l.createElement("tr",{key:S,className:c&&c(M)},C))}return l.createElement("div",{className:"".concat(e,"-body")},l.createElement("table",{className:"".concat(e,"-content")},b&&l.createElement("thead",null,l.createElement("tr",null,b)),l.createElement("tbody",null,k)))}function git(t){var e=Cit-1,n=t.prefixCls,a=t.viewDate,r=t.generateConfig,o="".concat(n,"-cell"),i=r.getYear(a),s=Math.floor(i/Cit)*Cit,c=Math.floor(i/Mit)*Mit,u=c+Mit-1,d=r.setYear(a,c-Math.ceil((12*Cit-Mit)/2));return l.createElement(hit,Pi({},t,{rowNum:4,colNum:3,baseDate:d,getCellText:function(t){var n=r.getYear(t);return"".concat(n,"-").concat(n+e)},getCellClassName:function(t){var n,a=r.getYear(t),i=a+e;return Ni(n={},"".concat(o,"-in-view"),c<=a&&i<=u),Ni(n,"".concat(o,"-selected"),a===s),n},getCellDate:function(t,e){return r.addYear(t,e*Cit)}}))}var mit=new Map;function bit(t,e,n){if(mit.get(t)&&cancelAnimationFrame(mit.get(t)),n<=0)mit.set(t,requestAnimationFrame((function(){t.scrollTop=e})));else{var a=(e-t.scrollTop)/n*10;mit.set(t,requestAnimationFrame((function(){t.scrollTop+=a,t.scrollTop!==e&&bit(t,e,n-10)})))}}function vit(t,e){var n=e.onLeftRight,a=e.onCtrlLeftRight,r=e.onUpDown,o=e.onPageUpDown,i=e.onEnter,l=t.which,s=t.ctrlKey,c=t.metaKey;switch(l){case Ag.LEFT:if(s||c){if(a)return a(-1),!0}else if(n)return n(-1),!0;break;case Ag.RIGHT:if(s||c){if(a)return a(1),!0}else if(n)return n(1),!0;break;case Ag.UP:if(r)return r(-1),!0;break;case Ag.DOWN:if(r)return r(1),!0;break;case Ag.PAGE_UP:if(o)return o(-1),!0;break;case Ag.PAGE_DOWN:if(o)return o(1),!0;break;case Ag.ENTER:if(i)return i(),!0}return!1}function yit(t,e,n,a){var r=t;if(!r)switch(e){case"time":r=a?"hh:mm:ss a":"HH:mm:ss";break;case"week":r="gggg-wo";break;case"month":r="YYYY-MM";break;case"quarter":r="YYYY-[Q]Q";break;case"year":r="YYYY";break;default:r=n?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return r}function xit(t,e,n){var a="time"===t?8:10,r="function"==typeof e?e(n.getNow()).length:e.length;return Math.max(a,r)+2}var wit=null,_it=new Set;var kit={year:function(t){return"month"===t||"date"===t?"year":t},month:function(t){return"date"===t?"month":t},quarter:function(t){return"month"===t||"date"===t?"quarter":t},week:function(t){return"date"===t?"week":t},time:null,date:null};function Sit(t,e){return t.some((function(t){return t&&t.contains(e)}))}var Cit=10,Mit=10*Cit;function Oit(t){var e=t.prefixCls,n=t.onViewDateChange,a=t.generateConfig,r=t.viewDate,o=t.operationRef,i=t.onSelect,s=t.onPanelChange,c="".concat(e,"-decade-panel");o.current={onKeyDown:function(t){return vit(t,{onLeftRight:function(t){i(a.addYear(r,t*Cit),"key")},onCtrlLeftRight:function(t){i(a.addYear(r,t*Mit),"key")},onUpDown:function(t){i(a.addYear(r,t*Cit*3),"key")},onEnter:function(){s("year",r)}})}};var u=function(t){var e=a.addYear(r,t*Mit);n(e),s(null,e)};return l.createElement("div",{className:c},l.createElement(uit,Pi({},t,{prefixCls:e,onPrevDecades:function(){u(-1)},onNextDecades:function(){u(1)}})),l.createElement(git,Pi({},t,{prefixCls:e,onSelect:function(t){i(t,"mouse"),s("year",t)}})))}function Eit(t,e){return!t&&!e||!(!t||!e)&&void 0}function Tit(t,e,n){var a=Eit(e,n);return"boolean"==typeof a?a:t.getYear(e)===t.getYear(n)}function Dit(t,e){return Math.floor(t.getMonth(e)/3)+1}function Iit(t,e,n){var a=Eit(e,n);return"boolean"==typeof a?a:Tit(t,e,n)&&Dit(t,e)===Dit(t,n)}function Pit(t,e,n){var a=Eit(e,n);return"boolean"==typeof a?a:Tit(t,e,n)&&t.getMonth(e)===t.getMonth(n)}function Nit(t,e,n){var a=Eit(e,n);return"boolean"==typeof a?a:t.getYear(e)===t.getYear(n)&&t.getMonth(e)===t.getMonth(n)&&t.getDate(e)===t.getDate(n)}function Ait(t,e,n,a){var r=Eit(n,a);return"boolean"==typeof r?r:t.locale.getWeek(e,n)===t.locale.getWeek(e,a)}function zit(t,e,n){return Nit(t,e,n)&&function(t,e,n){var a=Eit(e,n);return"boolean"==typeof a?a:t.getHour(e)===t.getHour(n)&&t.getMinute(e)===t.getMinute(n)&&t.getSecond(e)===t.getSecond(n)}(t,e,n)}function Rit(t,e,n,a){return!!(e&&n&&a)&&(!Nit(t,e,a)&&!Nit(t,n,a)&&t.isAfter(a,e)&&t.isAfter(n,a))}function Lit(t,e,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;switch(e){case"year":return n.addYear(t,10*a);case"quarter":case"month":return n.addYear(t,a);default:return n.addMonth(t,a)}}function jit(t,e){var n=e.generateConfig,a=e.locale,r=e.format;return"function"==typeof r?r(t):n.locale.format(a.locale,t,r)}function Fit(t,e){var n=e.generateConfig,a=e.locale,r=e.formatList;return t&&"function"!=typeof r[0]?n.locale.parse(a.locale,t,r):null}function Bit(t){var e=t.cellDate,n=t.mode,a=t.disabledDate,r=t.generateConfig;if(!a)return!1;var o=function(t,n,o){for(var i=n;i<=o;){var l=void 0;switch(t){case"date":if(l=r.setDate(e,i),!a(l))return!1;break;case"month":if(!Bit({cellDate:l=r.setMonth(e,i),mode:"month",generateConfig:r,disabledDate:a}))return!1;break;case"year":if(!Bit({cellDate:l=r.setYear(e,i),mode:"year",generateConfig:r,disabledDate:a}))return!1}i+=1}return!0};switch(n){case"date":case"week":return a(e);case"month":return o("date",1,r.getDate(r.getEndDate(e)));case"quarter":var i=3*Math.floor(r.getMonth(e)/3);return o("month",i,i+2);case"year":return o("month",0,11);case"decade":var l=r.getYear(e),s=Math.floor(l/Cit)*Cit;return o("year",s,s+Cit-1)}}function Vit(t){if(l.useContext(lit).hideHeader)return null;var e=t.prefixCls,n=t.generateConfig,a=t.locale,r=t.value,o=t.format,i="".concat(e,"-header");return l.createElement(cit,{prefixCls:i},r?jit(r,{locale:a,format:o,generateConfig:n}):" ")}function Yit(e){var n=e.prefixCls,a=e.units,r=e.onSelect,o=e.value,i=e.active,s=e.hideDisabledOptions,c="".concat(n,"-cell"),u=l.useContext(lit).open,d=t.useRef(null),p=t.useRef(new Map),f=t.useRef();return t.useLayoutEffect((function(){var t=p.current.get(o);t&&!1!==u&&bit(d.current,t.offsetTop,120)}),[o]),t.useLayoutEffect((function(){if(u){var t=p.current.get(o);t&&(f.current=function(t,e){var n;return function a(){Ts(t)?e():n=ol((function(){a()}))}(),function(){ol.cancel(n)}}(t,(function(){bit(d.current,t.offsetTop,0)})))}return function(){var t;null===(t=f.current)||void 0===t||t.call(f)}}),[u]),l.createElement("ul",{className:R("".concat(n,"-column"),Ni({},"".concat(n,"-column-active"),i)),ref:d,style:{position:"relative"}},a.map((function(t){var e;return s&&t.disabled?null:l.createElement("li",{key:t.value,ref:function(e){p.current.set(t.value,e)},className:R(c,(e={},Ni(e,"".concat(c,"-disabled"),t.disabled),Ni(e,"".concat(c,"-selected"),o===t.value),e)),onClick:function(){t.disabled||r(t.value)}},l.createElement("div",{className:"".concat(c,"-inner")},t.label))})))}function Hit(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0",a=String(t);a.length<e;)a="".concat(n).concat(t);return a}function Wit(t){return null==t?[]:Array.isArray(t)?t:[t]}function Uit(t){var e={};return Object.keys(t).forEach((function(n){"data-"!==n.substr(0,5)&&"aria-"!==n.substr(0,5)&&"role"!==n&&"name"!==n||"data-__"===n.substr(0,7)||(e[n]=t[n])})),e}function Git(t,e){return t?t[e]:null}function Kit(t,e,n){var a=[Git(t,0),Git(t,1)];return a[n]="function"==typeof e?e(a[n]):e,a[0]||a[1]?a:null}function qit(t,e){if(t.length!==e.length)return!0;for(var n=0;n<t.length;n+=1)if(t[n].disabled!==e[n].disabled)return!0;return!1}function Xit(t,e,n,a){for(var r=[],o=t;o<=e;o+=n)r.push({label:Hit(o,2),value:o,disabled:(a||[]).includes(o)});return r}function Zit(t){var e,n=t.generateConfig,a=t.prefixCls,r=t.operationRef,o=t.activeColumnIndex,i=t.value,s=t.showHour,c=t.showMinute,u=t.showSecond,d=t.use12Hours,p=t.hourStep,f=void 0===p?1:p,h=t.minuteStep,g=void 0===h?1:h,m=t.secondStep,b=void 0===m?1:m,v=t.disabledHours,y=t.disabledMinutes,x=t.disabledSeconds,w=t.hideDisabledOptions,_=t.onSelect,k=[],S="".concat(a,"-content"),C="".concat(a,"-time-panel"),M=i?n.getHour(i):-1,O=M,E=i?n.getMinute(i):-1,T=i?n.getSecond(i):-1,D=function(t,e,a,r){var o=i||n.getNow(),l=Math.max(0,e),s=Math.max(0,a),c=Math.max(0,r);return o=dit(n,o,d&&t?l+12:l,s,c)},I=Xit(0,23,f,v&&v()),P=$d((function(){return I}),I,qit);d&&(e=O>=12,O%=12);var N=ji(l.useMemo((function(){if(!d)return[!1,!1];var t=[!0,!0];return P.forEach((function(e){var n=e.disabled,a=e.value;n||(a>=12?t[1]=!1:t[0]=!1)})),t}),[d,P]),2),A=N[0],z=N[1],R=l.useMemo((function(){return d?P.filter(e?function(t){return t.value>=12}:function(t){return t.value<12}).map((function(t){var e=t.value%12,n=0===e?"12":Hit(e,2);return Vi(Vi({},t),{},{label:n,value:e})})):P}),[d,e,P]),L=Xit(0,59,g,y&&y(M)),j=Xit(0,59,b,x&&x(M,E));function F(t,e,n,a,r){!1!==t&&k.push({node:l.cloneElement(e,{prefixCls:C,value:n,active:o===k.length,onSelect:r,units:a,hideDisabledOptions:w}),onSelect:r,value:n,units:a})}r.current={onUpDown:function(t){var e=k[o];if(e)for(var n=e.units.findIndex((function(t){return t.value===e.value})),a=e.units.length,r=1;r<a;r+=1){var i=e.units[(n+t*r+a)%a];if(!0!==i.disabled){e.onSelect(i.value);break}}}},F(s,l.createElement(Yit,{key:"hour"}),O,R,(function(t){_(D(e,t,E,T),"mouse")})),F(c,l.createElement(Yit,{key:"minute"}),E,L,(function(t){_(D(e,O,t,T),"mouse")})),F(u,l.createElement(Yit,{key:"second"}),T,j,(function(t){_(D(e,O,E,t),"mouse")}));var B=-1;return"boolean"==typeof e&&(B=e?1:0),F(!0===d,l.createElement(Yit,{key:"12hours"}),B,[{label:"AM",value:0,disabled:A},{label:"PM",value:1,disabled:z}],(function(t){_(D(!!t,O,E,T),"mouse")})),l.createElement("div",{className:S},k.map((function(t){return t.node})))}function Jit(t){var e=t.generateConfig,n=t.format,a=void 0===n?"HH:mm:ss":n,r=t.prefixCls,o=t.active,i=t.operationRef,s=t.showHour,c=t.showMinute,u=t.showSecond,d=t.use12Hours,p=void 0!==d&&d,f=t.onSelect,h=t.value,g="".concat(r,"-time-panel"),m=l.useRef(),b=ji(l.useState(-1),2),v=b[0],y=b[1],x=[s,c,u,p].filter((function(t){return!1!==t})).length;return i.current={onKeyDown:function(t){return vit(t,{onLeftRight:function(t){y((v+t+x)%x)},onUpDown:function(t){-1===v?y(0):m.current&&m.current.onUpDown(t)},onEnter:function(){f(h||e.getNow(),"key"),y(-1)}})},onBlur:function(){y(-1)}},l.createElement("div",{className:R(g,Ni({},"".concat(g,"-active"),o))},l.createElement(Vit,Pi({},t,{format:a,prefixCls:r})),l.createElement(Zit,Pi({},t,{prefixCls:r,activeColumnIndex:v,operationRef:m})))}var $it=l.createContext({});function Qit(t){var e=t.cellPrefixCls,n=t.generateConfig,a=t.rangedValue,r=t.hoverRangedValue,o=t.isInView,i=t.isSameCell,l=t.offsetCell,s=t.today,c=t.value;return function(t){var u,d=l(t,-1),p=l(t,1),f=Git(a,0),h=Git(a,1),g=Git(r,0),m=Git(r,1),b=Rit(n,g,m,t);function v(t){return i(f,t)}function y(t){return i(h,t)}var x=i(g,t),w=i(m,t),_=(b||w)&&(!o(d)||y(d)),k=(b||x)&&(!o(p)||v(p));return Ni(u={},"".concat(e,"-in-view"),o(t)),Ni(u,"".concat(e,"-in-range"),Rit(n,f,h,t)),Ni(u,"".concat(e,"-range-start"),v(t)),Ni(u,"".concat(e,"-range-end"),y(t)),Ni(u,"".concat(e,"-range-start-single"),v(t)&&!h),Ni(u,"".concat(e,"-range-end-single"),y(t)&&!f),Ni(u,"".concat(e,"-range-start-near-hover"),v(t)&&(i(d,g)||Rit(n,g,m,d))),Ni(u,"".concat(e,"-range-end-near-hover"),y(t)&&(i(p,m)||Rit(n,g,m,p))),Ni(u,"".concat(e,"-range-hover"),b),Ni(u,"".concat(e,"-range-hover-start"),x),Ni(u,"".concat(e,"-range-hover-end"),w),Ni(u,"".concat(e,"-range-hover-edge-start"),_),Ni(u,"".concat(e,"-range-hover-edge-end"),k),Ni(u,"".concat(e,"-range-hover-edge-start-near-range"),_&&i(d,h)),Ni(u,"".concat(e,"-range-hover-edge-end-near-range"),k&&i(p,f)),Ni(u,"".concat(e,"-today"),i(s,t)),Ni(u,"".concat(e,"-selected"),i(c,t)),u}}function tlt(t){var e=t.prefixCls,n=t.generateConfig,a=t.prefixColumn,r=t.locale,o=t.rowCount,i=t.viewDate,s=t.value,c=t.dateRender,u=l.useContext($it),d=u.rangedValue,p=u.hoverRangedValue,f=function(t,e,n){var a=e.locale.getWeekFirstDay(t),r=e.setDate(n,1),o=e.getWeekDay(r),i=e.addDate(r,a-o);return e.getMonth(i)===e.getMonth(n)&&e.getDate(i)>1&&(i=e.addDate(i,-7)),i}(r.locale,n,i),h="".concat(e,"-cell"),g=n.locale.getWeekFirstDay(r.locale),m=n.getNow(),b=[],v=r.shortWeekDays||(n.locale.getShortWeekDays?n.locale.getShortWeekDays(r.locale):[]);a&&b.push(l.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var y=0;y<7;y+=1)b.push(l.createElement("th",{key:y},v[(y+g)%7]));var x=Qit({cellPrefixCls:h,today:m,value:s,generateConfig:n,rangedValue:a?null:d,hoverRangedValue:a?null:p,isSameCell:function(t,e){return Nit(n,t,e)},isInView:function(t){return Pit(n,t,i)},offsetCell:function(t,e){return n.addDate(t,e)}}),w=c?function(t){return c(t,m)}:void 0;return l.createElement(hit,Pi({},t,{rowNum:o,colNum:7,baseDate:f,getCellNode:w,getCellText:n.getDate,getCellClassName:x,getCellDate:n.addDate,titleCell:function(t){return jit(t,{locale:r,format:"YYYY-MM-DD",generateConfig:n})},headerCells:b}))}function elt(t){var e=t.prefixCls,n=t.generateConfig,a=t.locale,r=t.viewDate,o=t.onNextMonth,i=t.onPrevMonth,s=t.onNextYear,c=t.onPrevYear,u=t.onYearClick,d=t.onMonthClick;if(l.useContext(lit).hideHeader)return null;var p="".concat(e,"-header"),f=a.shortMonths||(n.locale.getShortMonths?n.locale.getShortMonths(a.locale):[]),h=n.getMonth(r),g=l.createElement("button",{type:"button",key:"year",onClick:u,tabIndex:-1,className:"".concat(e,"-year-btn")},jit(r,{locale:a,format:a.yearFormat,generateConfig:n})),m=l.createElement("button",{type:"button",key:"month",onClick:d,tabIndex:-1,className:"".concat(e,"-month-btn")},a.monthFormat?jit(r,{locale:a,format:a.monthFormat,generateConfig:n}):f[h]),b=a.monthBeforeYear?[m,g]:[g,m];return l.createElement(cit,Pi({},t,{prefixCls:p,onSuperPrev:c,onPrev:i,onNext:o,onSuperNext:s}),b)}function nlt(t){var e=t.prefixCls,n=t.panelName,a=void 0===n?"date":n,r=t.keyboardConfig,o=t.active,i=t.operationRef,s=t.generateConfig,c=t.value,u=t.viewDate,d=t.onViewDateChange,p=t.onPanelChange,f=t.onSelect,h="".concat(e,"-").concat(a,"-panel");i.current={onKeyDown:function(t){return vit(t,Vi({onLeftRight:function(t){f(s.addDate(c||u,t),"key")},onCtrlLeftRight:function(t){f(s.addYear(c||u,t),"key")},onUpDown:function(t){f(s.addDate(c||u,7*t),"key")},onPageUpDown:function(t){f(s.addMonth(c||u,t),"key")}},r))}};var g=function(t){var e=s.addYear(u,t);d(e),p(null,e)},m=function(t){var e=s.addMonth(u,t);d(e),p(null,e)};return l.createElement("div",{className:R(h,Ni({},"".concat(h,"-active"),o))},l.createElement(elt,Pi({},t,{prefixCls:e,value:c,viewDate:u,onPrevYear:function(){g(-1)},onNextYear:function(){g(1)},onPrevMonth:function(){m(-1)},onNextMonth:function(){m(1)},onMonthClick:function(){p("month",u)},onYearClick:function(){p("year",u)}})),l.createElement(tlt,Pi({},t,{onSelect:function(t){return f(t,"mouse")},prefixCls:e,value:c,viewDate:u,rowCount:6})))}var alt=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e}("date","time");function rlt(t){var e=t.prefixCls,n=t.operationRef,a=t.generateConfig,r=t.value,o=t.defaultValue,i=t.disabledTime,s=t.showTime,c=t.onSelect,u="".concat(e,"-datetime-panel"),d=ji(l.useState(null),2),p=d[0],f=d[1],h=l.useRef({}),g=l.useRef({}),m="object"===Fi(s)?Vi({},s):{};var b=function(t){g.current.onBlur&&g.current.onBlur(t),f(null)};n.current={onKeyDown:function(t){if(t.which===Ag.TAB){var e=(n=t.shiftKey?-1:1,a=alt.indexOf(p)+n,alt[a]||null);return f(e),e&&t.preventDefault(),!0}var n,a;if(p){var r="date"===p?h:g;return r.current&&r.current.onKeyDown&&r.current.onKeyDown(t),!0}return!![Ag.LEFT,Ag.RIGHT,Ag.UP,Ag.DOWN].includes(t.which)&&(f("date"),!0)},onBlur:b,onClose:b};var v=function(t,e){var n=t;"date"===e&&!r&&m.defaultValue?(n=a.setHour(n,a.getHour(m.defaultValue)),n=a.setMinute(n,a.getMinute(m.defaultValue)),n=a.setSecond(n,a.getSecond(m.defaultValue))):"time"===e&&!r&&o&&(n=a.setYear(n,a.getYear(o)),n=a.setMonth(n,a.getMonth(o)),n=a.setDate(n,a.getDate(o))),c&&c(n,"mouse")},y=i?i(r||null):{};return l.createElement("div",{className:R(u,Ni({},"".concat(u,"-active"),p))},l.createElement(nlt,Pi({},t,{operationRef:h,active:"date"===p,onSelect:function(t){v(pit(a,t,s&&"object"===Fi(s)?s.defaultValue:null),"date")}})),l.createElement(Jit,Pi({},t,{format:void 0},m,y,{defaultValue:void 0,operationRef:g,active:"time"===p,onSelect:function(t){v(t,"time")}})))}function olt(t){var e=t.prefixCls,n=t.generateConfig,a=t.locale,r=t.value,o="".concat(e,"-cell"),i="".concat(e,"-week-panel-row");return l.createElement(nlt,Pi({},t,{panelName:"week",prefixColumn:function(t){return l.createElement("td",{key:"week",className:R(o,"".concat(o,"-week"))},n.locale.getWeek(a.locale,t))},rowClassName:function(t){return R(i,Ni({},"".concat(i,"-selected"),Ait(n,a.locale,r,t)))},keyboardConfig:{onLeftRight:null}}))}function ilt(t){var e=t.prefixCls,n=t.generateConfig,a=t.locale,r=t.viewDate,o=t.onNextYear,i=t.onPrevYear,s=t.onYearClick;if(l.useContext(lit).hideHeader)return null;var c="".concat(e,"-header");return l.createElement(cit,Pi({},t,{prefixCls:c,onSuperPrev:i,onSuperNext:o}),l.createElement("button",{type:"button",onClick:s,className:"".concat(e,"-year-btn")},jit(r,{locale:a,format:a.yearFormat,generateConfig:n})))}function llt(t){var e=t.prefixCls,n=t.locale,a=t.value,r=t.viewDate,o=t.generateConfig,i=t.monthCellRender,s=l.useContext($it),c=s.rangedValue,u=s.hoverRangedValue,d=Qit({cellPrefixCls:"".concat(e,"-cell"),value:a,generateConfig:o,rangedValue:c,hoverRangedValue:u,isSameCell:function(t,e){return Pit(o,t,e)},isInView:function(){return!0},offsetCell:function(t,e){return o.addMonth(t,e)}}),p=n.shortMonths||(o.locale.getShortMonths?o.locale.getShortMonths(n.locale):[]),f=o.setMonth(r,0),h=i?function(t){return i(t,n)}:void 0;return l.createElement(hit,Pi({},t,{rowNum:4,colNum:3,baseDate:f,getCellNode:h,getCellText:function(t){return n.monthFormat?jit(t,{locale:n,format:n.monthFormat,generateConfig:o}):p[o.getMonth(t)]},getCellClassName:d,getCellDate:o.addMonth,titleCell:function(t){return jit(t,{locale:n,format:"YYYY-MM",generateConfig:o})}}))}function slt(t){var e=t.prefixCls,n=t.operationRef,a=t.onViewDateChange,r=t.generateConfig,o=t.value,i=t.viewDate,s=t.onPanelChange,c=t.onSelect,u="".concat(e,"-month-panel");n.current={onKeyDown:function(t){return vit(t,{onLeftRight:function(t){c(r.addMonth(o||i,t),"key")},onCtrlLeftRight:function(t){c(r.addYear(o||i,t),"key")},onUpDown:function(t){c(r.addMonth(o||i,3*t),"key")},onEnter:function(){s("date",o||i)}})}};var d=function(t){var e=r.addYear(i,t);a(e),s(null,e)};return l.createElement("div",{className:u},l.createElement(ilt,Pi({},t,{prefixCls:e,onPrevYear:function(){d(-1)},onNextYear:function(){d(1)},onYearClick:function(){s("year",i)}})),l.createElement(llt,Pi({},t,{prefixCls:e,onSelect:function(t){c(t,"mouse"),s("date",t)}})))}function clt(t){var e=t.prefixCls,n=t.generateConfig,a=t.locale,r=t.viewDate,o=t.onNextYear,i=t.onPrevYear,s=t.onYearClick;if(l.useContext(lit).hideHeader)return null;var c="".concat(e,"-header");return l.createElement(cit,Pi({},t,{prefixCls:c,onSuperPrev:i,onSuperNext:o}),l.createElement("button",{type:"button",onClick:s,className:"".concat(e,"-year-btn")},jit(r,{locale:a,format:a.yearFormat,generateConfig:n})))}function ult(t){var e=t.prefixCls,n=t.locale,a=t.value,r=t.viewDate,o=t.generateConfig,i=l.useContext($it),s=i.rangedValue,c=i.hoverRangedValue,u=Qit({cellPrefixCls:"".concat(e,"-cell"),value:a,generateConfig:o,rangedValue:s,hoverRangedValue:c,isSameCell:function(t,e){return Iit(o,t,e)},isInView:function(){return!0},offsetCell:function(t,e){return o.addMonth(t,3*e)}}),d=o.setDate(o.setMonth(r,0),1);return l.createElement(hit,Pi({},t,{rowNum:1,colNum:4,baseDate:d,getCellText:function(t){return jit(t,{locale:n,format:n.quarterFormat||"[Q]Q",generateConfig:o})},getCellClassName:u,getCellDate:function(t,e){return o.addMonth(t,3*e)},titleCell:function(t){return jit(t,{locale:n,format:"YYYY-[Q]Q",generateConfig:o})}}))}function dlt(t){var e=t.prefixCls,n=t.operationRef,a=t.onViewDateChange,r=t.generateConfig,o=t.value,i=t.viewDate,s=t.onPanelChange,c=t.onSelect,u="".concat(e,"-quarter-panel");n.current={onKeyDown:function(t){return vit(t,{onLeftRight:function(t){c(r.addMonth(o||i,3*t),"key")},onCtrlLeftRight:function(t){c(r.addYear(o||i,t),"key")},onUpDown:function(t){c(r.addYear(o||i,t),"key")}})}};var d=function(t){var e=r.addYear(i,t);a(e),s(null,e)};return l.createElement("div",{className:u},l.createElement(clt,Pi({},t,{prefixCls:e,onPrevYear:function(){d(-1)},onNextYear:function(){d(1)},onYearClick:function(){s("year",i)}})),l.createElement(ult,Pi({},t,{prefixCls:e,onSelect:function(t){c(t,"mouse")}})))}function plt(t){var e=t.prefixCls,n=t.generateConfig,a=t.viewDate,r=t.onPrevDecade,o=t.onNextDecade,i=t.onDecadeClick;if(l.useContext(lit).hideHeader)return null;var s="".concat(e,"-header"),c=n.getYear(a),u=Math.floor(c/hlt)*hlt,d=u+hlt-1;return l.createElement(cit,Pi({},t,{prefixCls:s,onSuperPrev:r,onSuperNext:o}),l.createElement("button",{type:"button",onClick:i,className:"".concat(e,"-decade-btn")},u,"-",d))}function flt(t){var e=t.prefixCls,n=t.value,a=t.viewDate,r=t.locale,o=t.generateConfig,i=l.useContext($it),s=i.rangedValue,c=i.hoverRangedValue,u="".concat(e,"-cell"),d=o.getYear(a),p=Math.floor(d/hlt)*hlt,f=p+hlt-1,h=o.setYear(a,p-Math.ceil((12-hlt)/2)),g=Qit({cellPrefixCls:u,value:n,generateConfig:o,rangedValue:s,hoverRangedValue:c,isSameCell:function(t,e){return Tit(o,t,e)},isInView:function(t){var e=o.getYear(t);return p<=e&&e<=f},offsetCell:function(t,e){return o.addYear(t,e)}});return l.createElement(hit,Pi({},t,{rowNum:4,colNum:3,baseDate:h,getCellText:o.getYear,getCellClassName:g,getCellDate:o.addYear,titleCell:function(t){return jit(t,{locale:r,format:"YYYY",generateConfig:o})}}))}var hlt=10;function glt(t){var e=t.prefixCls,n=t.operationRef,a=t.onViewDateChange,r=t.generateConfig,o=t.value,i=t.viewDate,s=t.sourceMode,c=t.onSelect,u=t.onPanelChange,d="".concat(e,"-year-panel");n.current={onKeyDown:function(t){return vit(t,{onLeftRight:function(t){c(r.addYear(o||i,t),"key")},onCtrlLeftRight:function(t){c(r.addYear(o||i,t*hlt),"key")},onUpDown:function(t){c(r.addYear(o||i,3*t),"key")},onEnter:function(){u("date"===s?"date":"month",o||i)}})}};var p=function(t){var e=r.addYear(i,10*t);a(e),u(null,e)};return l.createElement("div",{className:d},l.createElement(plt,Pi({},t,{prefixCls:e,onPrevDecade:function(){p(-1)},onNextDecade:function(){p(1)},onDecadeClick:function(){u("decade",i)}})),l.createElement(flt,Pi({},t,{prefixCls:e,onSelect:function(t){u("date"===s?"date":"month",t),c(t,"mouse")}})))}function mlt(t,e,n){return n?l.createElement("div",{className:"".concat(t,"-footer-extra")},n(e)):null}function blt(t){var e,n,a=t.prefixCls,r=t.rangeList,o=void 0===r?[]:r,i=t.components,s=void 0===i?{}:i,c=t.needConfirmButton,u=t.onNow,d=t.onOk,p=t.okDisabled,f=t.showNow,h=t.locale;if(o.length){var g=s.rangeItem||"span";e=l.createElement(l.Fragment,null,o.map((function(t){var e=t.label,n=t.onClick,r=t.onMouseEnter,o=t.onMouseLeave;return l.createElement("li",{key:e,className:"".concat(a,"-preset")},l.createElement(g,{onClick:n,onMouseEnter:r,onMouseLeave:o},e))})))}if(c){var m=s.button||"button";u&&!e&&!1!==f&&(e=l.createElement("li",{className:"".concat(a,"-now")},l.createElement("a",{className:"".concat(a,"-now-btn"),onClick:u},h.now))),n=c&&l.createElement("li",{className:"".concat(a,"-ok")},l.createElement(m,{disabled:p,onClick:d},h.ok))}return e||n?l.createElement("ul",{className:"".concat(a,"-ranges")},e,n):null}function vlt(t){var e,n=t.prefixCls,a=void 0===n?"rc-picker":n,r=t.className,o=t.style,i=t.locale,s=t.generateConfig,c=t.value,u=t.defaultValue,d=t.pickerValue,p=t.defaultPickerValue,f=t.disabledDate,h=t.mode,g=t.picker,m=void 0===g?"date":g,b=t.tabIndex,v=void 0===b?0:b,y=t.showNow,x=t.showTime,w=t.showToday,_=t.renderExtraFooter,k=t.hideHeader,S=t.onSelect,C=t.onChange,M=t.onPanelChange,O=t.onMouseDown,E=t.onPickerValueChange,T=t.onOk,D=t.components,I=t.direction,P=t.hourStep,N=void 0===P?1:P,A=t.minuteStep,z=void 0===A?1:A,L=t.secondStep,j=void 0===L?1:L,F="date"===m&&!!x||"time"===m,B=24%N==0,V=60%z==0,Y=60%j==0,H=l.useContext(lit),W=H.operationRef,U=H.panelRef,G=H.onSelect,K=H.hideRanges,q=H.defaultOpenValue,X=l.useContext($it),Z=X.inRange,J=X.panelPosition,$=X.rangedValue,Q=X.hoverRangedValue,tt=l.useRef({}),et=l.useRef(!0),nt=ji(Su(null,{value:c,defaultValue:u,postState:function(t){return!t&&q&&"time"===m?q:t}}),2),at=nt[0],rt=nt[1],ot=Su(null,{value:d,defaultValue:p||at,postState:function(t){var e=s.getNow();return t?!at&&x?"object"===Fi(x)?pit(s,Array.isArray(t)?t[0]:t,x.defaultValue||e):pit(s,Array.isArray(t)?t[0]:t,u||e):t:e}}),it=ji(ot,2),lt=it[0],st=it[1],ct=function(t){st(t),E&&E(t)},ut=function(t){var e=kit[m];return e?e(t):t},dt=ji(Su((function(){return"time"===m?"time":ut("date")}),{value:h}),2),pt=dt[0],ft=dt[1];l.useEffect((function(){ft(m)}),[m]);var ht,gt=ji(l.useState((function(){return pt})),2),mt=gt[0],bt=gt[1],vt=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];(pt===m||n)&&(rt(t),S&&S(t),G&&G(t,e),!C||zit(s,t,at)||(null==f?void 0:f(t))||C(t))},yt=function(t){return tt.current&&tt.current.onKeyDown?([Ag.LEFT,Ag.RIGHT,Ag.UP,Ag.DOWN,Ag.PAGE_UP,Ag.PAGE_DOWN,Ag.ENTER].includes(t.which)&&t.preventDefault(),tt.current.onKeyDown(t)):(Fu(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)};W&&"right"!==J&&(W.current={onKeyDown:yt,onClose:function(){tt.current&&tt.current.onClose&&tt.current.onClose()}}),l.useEffect((function(){c&&!et.current&&st(c)}),[c]),l.useEffect((function(){et.current=!1}),[]);var xt,wt,_t=Vi(Vi({},t),{},{operationRef:tt,prefixCls:a,viewDate:lt,value:at,onViewDateChange:ct,sourceMode:mt,onPanelChange:function(t,e){var n=ut(t||pt);bt(pt),ft(n),M&&(pt!==n||zit(s,lt,lt))&&M(e,n)},disabledDate:f});switch(delete _t.onChange,delete _t.onSelect,pt){case"decade":ht=l.createElement(Oit,Pi({},_t,{onSelect:function(t,e){ct(t),vt(t,e)}}));break;case"year":ht=l.createElement(glt,Pi({},_t,{onSelect:function(t,e){ct(t),vt(t,e)}}));break;case"month":ht=l.createElement(slt,Pi({},_t,{onSelect:function(t,e){ct(t),vt(t,e)}}));break;case"quarter":ht=l.createElement(dlt,Pi({},_t,{onSelect:function(t,e){ct(t),vt(t,e)}}));break;case"week":ht=l.createElement(olt,Pi({},_t,{onSelect:function(t,e){ct(t),vt(t,e)}}));break;case"time":delete _t.showTime,ht=l.createElement(Jit,Pi({},_t,"object"===Fi(x)?x:null,{onSelect:function(t,e){ct(t),vt(t,e)}}));break;default:ht=x?l.createElement(rlt,Pi({},_t,{onSelect:function(t,e){ct(t),vt(t,e)}})):l.createElement(nlt,Pi({},_t,{onSelect:function(t,e){ct(t),vt(t,e)}}))}var kt;if(K||(xt=mlt(a,pt,_),wt=blt({prefixCls:a,components:D,needConfirmButton:F,okDisabled:!at||f&&f(at),locale:i,showNow:y,onNow:F&&function(){var t=s.getNow(),e=function(t,e,n,a,r,o){var i=Math.floor(t/a)*a;if(i<t)return[i,60-r,60-o];var l=Math.floor(e/r)*r;return l<e?[i,l,60-o]:[i,l,Math.floor(n/o)*o]}(s.getHour(t),s.getMinute(t),s.getSecond(t),B?N:1,V?z:1,Y?j:1),n=dit(s,t,e[0],e[1],e[2]);vt(n,"submit")},onOk:function(){at&&(vt(at,"submit",!0),T&&T(at))}})),w&&"date"===pt&&"date"===m&&!x){var St=s.getNow(),Ct="".concat(a,"-today-btn"),Mt=f&&f(St);kt=l.createElement("a",{className:R(Ct,Mt&&"".concat(Ct,"-disabled")),"aria-disabled":Mt,onClick:function(){Mt||vt(St,"mouse",!0)}},i.today)}return l.createElement(lit.Provider,{value:Vi(Vi({},H),{},{mode:pt,hideHeader:"hideHeader"in t?k:H.hideHeader,hidePrevBtn:Z&&"right"===J,hideNextBtn:Z&&"left"===J})},l.createElement("div",{tabIndex:v,className:R("".concat(a,"-panel"),r,(e={},Ni(e,"".concat(a,"-panel-has-range"),$&&$[0]&&$[1]),Ni(e,"".concat(a,"-panel-has-range-hover"),Q&&Q[0]&&Q[1]),Ni(e,"".concat(a,"-panel-rtl"),"rtl"===I),e)),style:o,onKeyDown:yt,onBlur:function(t){tt.current&&tt.current.onBlur&&tt.current.onBlur(t)},onMouseDown:O,ref:U},ht,xt||wt||kt?l.createElement("div",{className:"".concat(a,"-footer")},xt,wt,kt):null))}var ylt={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function xlt(t){var e,n=t.prefixCls,a=t.popupElement,r=t.popupStyle,o=t.visible,i=t.dropdownClassName,s=t.dropdownAlign,c=t.transitionName,u=t.getPopupContainer,d=t.children,p=t.range,f=t.popupPlacement,h=t.direction,g="".concat(n,"-dropdown");return l.createElement(bu,{showAction:[],hideAction:[],popupPlacement:void 0!==f?f:"rtl"===h?"bottomRight":"bottomLeft",builtinPlacements:ylt,prefixCls:g,popupTransitionName:c,popup:a,popupAlign:s,popupVisible:o,popupClassName:R(i,(e={},Ni(e,"".concat(g,"-range"),p),Ni(e,"".concat(g,"-rtl"),"rtl"===h),e)),popupStyle:r,getPopupContainer:u},d)}function wlt(e){var n=e.open,a=e.value,r=e.isClickOutside,o=e.triggerOpen,i=e.forwardKeyDown,l=e.onKeyDown,s=e.blurToCancel,c=e.onSubmit,u=e.onCancel,d=e.onFocus,p=e.onBlur,f=ji(t.useState(!1),2),h=f[0],g=f[1],m=ji(t.useState(!1),2),b=m[0],v=m[1],y=t.useRef(!1),x=t.useRef(!1),w=t.useRef(!1),_={onMouseDown:function(){g(!0),o(!0)},onKeyDown:function(t){if(l(t,(function(){w.current=!0})),!w.current){switch(t.which){case Ag.ENTER:return n?!1!==c()&&g(!0):o(!0),void t.preventDefault();case Ag.TAB:return void(h&&n&&!t.shiftKey?(g(!1),t.preventDefault()):!h&&n&&!i(t)&&t.shiftKey&&(g(!0),t.preventDefault()));case Ag.ESC:return g(!0),void u()}n||[Ag.SHIFT].includes(t.which)?h||i(t):o(!0)}},onFocus:function(t){g(!0),v(!0),d&&d(t)},onBlur:function(t){!y.current&&r(document.activeElement)?(s?setTimeout((function(){for(var t=document.activeElement;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;r(t)&&u()}),0):n&&(o(!1),x.current&&c()),v(!1),p&&p(t)):y.current=!1}};return t.useEffect((function(){x.current=!1}),[n]),t.useEffect((function(){x.current=!0}),[a]),t.useEffect((function(){return t=function(t){var e=function(t){var e,n=t.target;return t.composed&&n.shadowRoot&&(null===(e=t.composedPath)||void 0===e?void 0:e.call(t)[0])||n}(t);if(n){var a=r(e);a?b&&!a||o(!1):(y.current=!0,requestAnimationFrame((function(){y.current=!1})))}},!wit&&"undefined"!=typeof window&&window.addEventListener&&(wit=function(t){Nu(_it).forEach((function(e){e(t)}))},window.addEventListener("mousedown",wit)),_it.add(t),function(){_it.delete(t),0===_it.size&&(window.removeEventListener("mousedown",wit),wit=null)};var t})),[_,{focused:b,typing:h}]}function _lt(t){var e=t.valueTexts,n=t.onTextChange,a=ji(l.useState(""),2),r=a[0],o=a[1],i=l.useRef([]);function s(){o(i.current[0])}return i.current=e,l.useEffect((function(){e.every((function(t){return t!==r}))&&s()}),[e.join("||")]),[r,function(t){o(t),n(t)},s]}function klt(t,e){var n=e.formatList,a=e.generateConfig,r=e.locale;return $d((function(){if(!t)return[[""],""];for(var e="",o=[],i=0;i<n.length;i+=1){var l=n[i],s=jit(t,{generateConfig:a,locale:r,format:l});o.push(s),0===i&&(e=s)}return[o,e]}),[t,n],(function(t,e){return t[0]!==e[0]||!dm(t[1],e[1])}))}function Slt(e,n){var a=n.formatList,r=n.generateConfig,o=n.locale,i=ji(t.useState(null),2),l=i[0],s=i[1],c=t.useRef(null);function u(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];cancelAnimationFrame(c.current),e?s(t):c.current=requestAnimationFrame((function(){s(t)}))}var d=ji(klt(l,{formatList:a,generateConfig:r,locale:o}),2)[1];function p(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];u(null,t)}return t.useEffect((function(){p(!0)}),[e]),t.useEffect((function(){return function(){return cancelAnimationFrame(c.current)}}),[]),[d,function(t){u(t)},p]}function Clt(t){var e,n=t.prefixCls,a=void 0===n?"rc-picker":n,r=t.id,o=t.tabIndex,i=t.style,s=t.className,c=t.dropdownClassName,u=t.dropdownAlign,d=t.popupStyle,p=t.transitionName,f=t.generateConfig,h=t.locale,g=t.inputReadOnly,m=t.allowClear,b=t.autoFocus,v=t.showTime,y=t.picker,x=void 0===y?"date":y,w=t.format,_=t.use12Hours,k=t.value,S=t.defaultValue,C=t.open,M=t.defaultOpen,O=t.defaultOpenValue,E=t.suffixIcon,T=t.clearIcon,D=t.disabled,I=t.disabledDate,P=t.placeholder,N=t.getPopupContainer,A=t.pickerRef,z=t.panelRender,L=t.onChange,j=t.onOpenChange,F=t.onFocus,B=t.onBlur,V=t.onMouseDown,Y=t.onMouseUp,H=t.onMouseEnter,W=t.onMouseLeave,U=t.onContextMenu,G=t.onClick,K=t.onKeyDown,q=t.onSelect,X=t.direction,Z=t.autoComplete,J=void 0===Z?"off":Z,$=l.useRef(null),Q="date"===x&&!!v||"time"===x,tt=Wit(yit(w,x,v,_)),et=l.useRef(null),nt=l.useRef(null),at=l.useRef(null),rt=ji(Su(null,{value:k,defaultValue:S}),2),ot=rt[0],it=rt[1],lt=ji(l.useState(ot),2),st=lt[0],ct=lt[1],ut=l.useRef(null),dt=ji(Su(!1,{value:C,defaultValue:M,postState:function(t){return!D&&t},onChange:function(t){j&&j(t),!t&&ut.current&&ut.current.onClose&&ut.current.onClose()}}),2),pt=dt[0],ft=dt[1],ht=ji(klt(st,{formatList:tt,generateConfig:f,locale:h}),2),gt=ht[0],mt=ht[1],bt=ji(_lt({valueTexts:gt,onTextChange:function(t){var e=Fit(t,{locale:h,formatList:tt,generateConfig:f});!e||I&&I(e)||ct(e)}}),3),vt=bt[0],yt=bt[1],xt=bt[2],wt=function(t){ct(t),it(t),L&&!zit(f,ot,t)&&L(t,t?jit(t,{generateConfig:f,locale:h,format:tt[0]}):"")},_t=function(t){D&&t||ft(t)},kt=wlt({blurToCancel:Q,open:pt,value:vt,triggerOpen:_t,forwardKeyDown:function(t){return pt&&ut.current&&ut.current.onKeyDown?ut.current.onKeyDown(t):(Fu(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},isClickOutside:function(t){return!Sit([et.current,nt.current,at.current],t)},onSubmit:function(){return!(!st||I&&I(st))&&(wt(st),_t(!1),xt(),!0)},onCancel:function(){_t(!1),ct(ot),xt()},onKeyDown:function(t,e){null==K||K(t,e)},onFocus:F,onBlur:B}),St=ji(kt,2),Ct=St[0],Mt=St[1],Ot=Mt.focused,Et=Mt.typing;l.useEffect((function(){pt||(ct(ot),gt.length&&""!==gt[0]?mt!==vt&&xt():yt(""))}),[pt,gt]),l.useEffect((function(){pt||xt()}),[x]),l.useEffect((function(){ct(ot)}),[ot]),A&&(A.current={focus:function(){$.current&&$.current.focus()},blur:function(){$.current&&$.current.blur()}});var Tt=ji(Slt(vt,{formatList:tt,generateConfig:f,locale:h}),3),Dt=Tt[0],It=Tt[1],Pt=Tt[2],Nt=Vi(Vi({},t),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),At=l.createElement(vlt,Pi({},Nt,{generateConfig:f,className:R(Ni({},"".concat(a,"-panel-focused"),!Et)),value:st,locale:h,tabIndex:-1,onSelect:function(t){null==q||q(t),ct(t)},direction:X,onPanelChange:function(e,n){var a=t.onPanelChange;Pt(!0),null==a||a(e,n)}}));z&&(At=z(At));var zt,Rt,Lt=l.createElement("div",{className:"".concat(a,"-panel-container"),onMouseDown:function(t){t.preventDefault()}},At);E&&(zt=l.createElement("span",{className:"".concat(a,"-suffix")},E)),m&&ot&&!D&&(Rt=l.createElement("span",{onMouseDown:function(t){t.preventDefault(),t.stopPropagation()},onMouseUp:function(t){t.preventDefault(),t.stopPropagation(),wt(null),_t(!1)},className:"".concat(a,"-clear"),role:"button"},T||l.createElement("span",{className:"".concat(a,"-clear-btn")})));var jt="rtl"===X?"bottomRight":"bottomLeft";return l.createElement(lit.Provider,{value:{operationRef:ut,hideHeader:"time"===x,panelRef:et,onSelect:function(t,e){("submit"===e||"key"!==e&&!Q)&&(wt(t),_t(!1))},open:pt,defaultOpenValue:O,onDateMouseEnter:It,onDateMouseLeave:Pt}},l.createElement(xlt,{visible:pt,popupElement:Lt,popupStyle:d,prefixCls:a,dropdownClassName:c,dropdownAlign:u,getPopupContainer:N,transitionName:p,popupPlacement:jt,direction:X},l.createElement("div",{ref:at,className:R(a,s,(e={},Ni(e,"".concat(a,"-disabled"),D),Ni(e,"".concat(a,"-focused"),Ot),Ni(e,"".concat(a,"-rtl"),"rtl"===X),e)),style:i,onMouseDown:V,onMouseUp:function(){Y&&Y.apply(void 0,arguments),$.current&&($.current.focus(),_t(!0))},onMouseEnter:H,onMouseLeave:W,onContextMenu:U,onClick:G},l.createElement("div",{className:R("".concat(a,"-input"),Ni({},"".concat(a,"-input-placeholder"),!!Dt)),ref:nt},l.createElement("input",Pi({id:r,tabIndex:o,disabled:D,readOnly:g||"function"==typeof tt[0]||!Et,value:Dt||vt,onChange:function(t){yt(t.target.value)},autoFocus:b,placeholder:P,ref:$,title:vt},Ct,{size:xit(x,tt[0],f)},Uit(t),{autoComplete:J})),zt,Rt))))}var Mlt=function(t){qi(n,t);var e=Qi(n);function n(){var t;Hi(this,n);for(var a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))).pickerRef=l.createRef(),t.focus=function(){t.pickerRef.current&&t.pickerRef.current.focus()},t.blur=function(){t.pickerRef.current&&t.pickerRef.current.blur()},t}return Ui(n,[{key:"render",value:function(){return l.createElement(Clt,Pi({},this.props,{pickerRef:this.pickerRef}))}}]),n}(l.Component);function Olt(t,e,n,a){var r=Lit(t,n,a,1);function o(n){return n(t,e)?"same":n(r,e)?"closing":"far"}switch(n){case"year":return o((function(t,e){return function(t,e,n){var a=Eit(e,n);return"boolean"==typeof a?a:Math.floor(t.getYear(e)/10)===Math.floor(t.getYear(n)/10)}(a,t,e)}));case"quarter":case"month":return o((function(t,e){return Tit(a,t,e)}));default:return o((function(t,e){return Pit(a,t,e)}))}}function Elt(t){var e=t.values,n=t.picker,a=t.defaultDates,r=t.generateConfig,o=ji(l.useState((function(){return[Git(a,0),Git(a,1)]})),2),i=o[0],s=o[1],c=ji(l.useState(null),2),u=c[0],d=c[1],p=Git(e,0),f=Git(e,1);return[function(t){return i[t]?i[t]:Git(u,t)||function(t,e,n,a){var r=Git(t,0),o=Git(t,1);if(0===e)return r;if(r&&o)switch(Olt(r,o,n,a)){case"same":case"closing":return r;default:return Lit(o,n,a,-1)}return r}(e,t,n,r)||p||f||r.getNow()},function(t,n){if(t){var a=Kit(u,t,n);s(Kit(i,null,n)||[null,null]);var r=(n+1)%2;Git(e,r)||(a=Kit(a,t,r)),d(a)}else(p||f)&&d(null)}]}function Tlt(t,e){return t&&t[0]&&t[1]&&e.isAfter(t[0],t[1])?[t[1],t[0]]:t}function Dlt(t,e,n,a){return!!t||(!(!a||!a[e])||!!n[(e+1)%2])}function Ilt(e){var n,a,r,o=e.prefixCls,i=void 0===o?"rc-picker":o,s=e.id,c=e.style,u=e.className,d=e.popupStyle,p=e.dropdownClassName,f=e.transitionName,h=e.dropdownAlign,g=e.getPopupContainer,m=e.generateConfig,b=e.locale,v=e.placeholder,y=e.autoFocus,x=e.disabled,w=e.format,_=e.picker,k=void 0===_?"date":_,S=e.showTime,C=e.use12Hours,M=e.separator,O=void 0===M?"~":M,E=e.value,T=e.defaultValue,D=e.defaultPickerValue,I=e.open,P=e.defaultOpen,N=e.disabledDate,A=e.disabledTime,z=e.dateRender,L=e.panelRender,j=e.ranges,F=e.allowEmpty,B=e.allowClear,V=e.suffixIcon,Y=e.clearIcon,H=e.pickerRef,W=e.inputReadOnly,U=e.mode,G=e.renderExtraFooter,K=e.onChange,q=e.onOpenChange,X=e.onPanelChange,Z=e.onCalendarChange,J=e.onFocus,$=e.onBlur,Q=e.onMouseEnter,tt=e.onMouseLeave,et=e.onOk,nt=e.onKeyDown,at=e.components,rt=e.order,ot=e.direction,it=e.activePickerIndex,lt=e.autoComplete,st=void 0===lt?"off":lt,ct="date"===k&&!!S||"time"===k,ut=t.useRef({}),dt=t.useRef(null),pt=t.useRef(null),ft=t.useRef(null),ht=t.useRef(null),gt=t.useRef(null),mt=t.useRef(null),bt=t.useRef(null),vt=Wit(yit(w,k,S,C)),yt=ji(Su(0,{value:it}),2),xt=yt[0],wt=yt[1],_t=t.useRef(null),kt=l.useMemo((function(){return Array.isArray(x)?x:[x||!1,x||!1]}),[x]),St=ji(Su(null,{value:E,defaultValue:T,postState:function(t){return"time"!==k||rt?Tlt(t,m):t}}),2),Ct=St[0],Mt=St[1],Ot=ji(Elt({values:Ct,picker:k,defaultDates:D,generateConfig:m}),2),Et=Ot[0],Tt=Ot[1],Dt=Su(Ct,{postState:function(t){var e=t;if(kt[0]&&kt[1])return e;for(var n=0;n<2;n+=1)!kt[n]||Git(e,n)||Git(F,n)||(e=Kit(e,m.getNow(),n));return e}}),It=ji(Dt,2),Pt=It[0],Nt=It[1],At=ji(Su([k,k],{value:U}),2),zt=At[0],Rt=At[1];t.useEffect((function(){Rt([k,k])}),[k]);var Lt=function(t,e){Rt(t),X&&X(e,t)},jt=function(t,e,n){var a=t.picker,r=t.locale,o=t.selectedValue,i=t.disabledDate,s=t.disabled,c=t.generateConfig,u=Git(o,0),d=Git(o,1);function p(t){return c.locale.getWeekFirstDate(r.locale,t)}function f(t){return 100*c.getYear(t)+c.getMonth(t)}function h(t){return 10*c.getYear(t)+Dit(c,t)}var g=l.useCallback((function(t){if(i&&i(t))return!0;if(s[1]&&d)return!Nit(c,t,d)&&c.isAfter(t,d);if(e&&d)switch(a){case"quarter":return h(t)>h(d);case"month":return f(t)>f(d);case"week":return p(t)>p(d);default:return!Nit(c,t,d)&&c.isAfter(t,d)}return!1}),[i,s[1],d,e]),m=l.useCallback((function(t){if(i&&i(t))return!0;if(s[0]&&u)return!Nit(c,t,d)&&c.isAfter(u,t);if(n&&u)switch(a){case"quarter":return h(t)<h(u);case"month":return f(t)<f(u);case"week":return p(t)<p(u);default:return!Nit(c,t,u)&&c.isAfter(u,t)}return!1}),[i,s[0],u,n]);return[g,m]}({picker:k,selectedValue:Pt,locale:b,disabled:kt,disabledDate:N,generateConfig:m},ut.current[1],ut.current[0]),Ft=ji(jt,2),Bt=Ft[0],Vt=Ft[1],Yt=ji(Su(!1,{value:I,defaultValue:P,postState:function(t){return!kt[xt]&&t},onChange:function(t){q&&q(t),!t&&_t.current&&_t.current.onClose&&_t.current.onClose()}}),2),Ht=Yt[0],Wt=Yt[1],Ut=Ht&&0===xt,Gt=Ht&&1===xt,Kt=ji(t.useState(0),2),qt=Kt[0],Xt=Kt[1];t.useEffect((function(){!Ht&&dt.current&&Xt(dt.current.offsetWidth)}),[Ht]);var Zt=l.useRef();function Jt(t,e){if(t)clearTimeout(Zt.current),ut.current[e]=!0,wt(e),Wt(t),Ht||Tt(null,e);else if(xt===e){Wt(t);var n=ut.current;Zt.current=setTimeout((function(){n===ut.current&&(ut.current={})}))}}function $t(t){Jt(!0,t),setTimeout((function(){var e=[mt,bt][t];e.current&&e.current.focus()}),0)}function Qt(t,e){var n=t,a=Git(n,0),r=Git(n,1);a&&r&&m.isAfter(a,r)&&("week"===k&&!Ait(m,b.locale,a,r)||"quarter"===k&&!Iit(m,a,r)||"week"!==k&&"quarter"!==k&&"time"!==k&&!Nit(m,a,r)?(0===e?(n=[a,null],r=null):(a=null,n=[null,r]),ut.current=Ni({},e,!0)):"time"===k&&!1===rt||(n=Tlt(n,m))),Nt(n);var o=n&&n[0]?jit(n[0],{generateConfig:m,locale:b,format:vt[0]}):"",i=n&&n[1]?jit(n[1],{generateConfig:m,locale:b,format:vt[0]}):"";Z&&Z(n,[o,i],{range:0===e?"start":"end"});var l=Dlt(a,0,kt,F),s=Dlt(r,1,kt,F);(null===n||l&&s)&&(Mt(n),!K||zit(m,Git(Ct,0),a)&&zit(m,Git(Ct,1),r)||K(n,[o,i]));var c=null;0!==e||kt[1]?1!==e||kt[0]||(c=0):c=1,null===c||c===xt||ut.current[c]&&Git(n,c)||!Git(n,e)?Jt(!1,e):$t(c)}var te=function(t){return Ht&&_t.current&&_t.current.onKeyDown?_t.current.onKeyDown(t):(Fu(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},ee={formatList:vt,generateConfig:m,locale:b},ne=ji(klt(Git(Pt,0),ee),2),ae=ne[0],re=ne[1],oe=ji(klt(Git(Pt,1),ee),2),ie=oe[0],le=oe[1],se=function(t,e){var n=Fit(t,{locale:b,formatList:vt,generateConfig:m});n&&!(0===e?Bt:Vt)(n)&&(Nt(Kit(Pt,n,e)),Tt(n,e))},ce=ji(_lt({valueTexts:ae,onTextChange:function(t){return se(t,0)}}),3),ue=ce[0],de=ce[1],pe=ce[2],fe=ji(_lt({valueTexts:ie,onTextChange:function(t){return se(t,1)}}),3),he=fe[0],ge=fe[1],me=fe[2],be=ji(t.useState(null),2),ve=be[0],ye=be[1],xe=ji(t.useState(null),2),we=xe[0],_e=xe[1],ke=ji(Slt(ue,{formatList:vt,generateConfig:m,locale:b}),3),Se=ke[0],Ce=ke[1],Me=ke[2],Oe=ji(Slt(he,{formatList:vt,generateConfig:m,locale:b}),3),Ee=Oe[0],Te=Oe[1],De=Oe[2],Ie=function(t,e){return{blurToCancel:ct,forwardKeyDown:te,onBlur:$,isClickOutside:function(t){return!Sit([pt.current,ft.current,ht.current,dt.current],t)},onFocus:function(e){wt(t),J&&J(e)},triggerOpen:function(e){Jt(e,t)},onSubmit:function(){Qt(Pt,t),e()},onCancel:function(){Jt(!1,t),Nt(Ct),e()}}},Pe=wlt(Vi(Vi({},Ie(0,pe)),{},{open:Ut,value:ue,onKeyDown:function(t,e){null==nt||nt(t,e)}})),Ne=ji(Pe,2),Ae=Ne[0],ze=Ne[1],Re=ze.focused,Le=ze.typing,je=wlt(Vi(Vi({},Ie(1,me)),{},{open:Gt,value:he,onKeyDown:function(t,e){null==nt||nt(t,e)}})),Fe=ji(je,2),Be=Fe[0],Ve=Fe[1],Ye=Ve.focused,He=Ve.typing,We=Ct&&Ct[0]?jit(Ct[0],{locale:b,format:"YYYYMMDDHHmmss",generateConfig:m}):"",Ue=Ct&&Ct[1]?jit(Ct[1],{locale:b,format:"YYYYMMDDHHmmss",generateConfig:m}):"";t.useEffect((function(){Ht||(Nt(Ct),ae.length&&""!==ae[0]?re!==ue&&pe():de(""),ie.length&&""!==ie[0]?le!==he&&me():ge(""))}),[Ht,ae,ie]),t.useEffect((function(){Nt(Ct)}),[We,Ue]),H&&(H.current={focus:function(){mt.current&&mt.current.focus()},blur:function(){mt.current&&mt.current.blur(),bt.current&&bt.current.blur()}});var Ge=Object.keys(j||{}).map((function(t){var e=j[t],n="function"==typeof e?e():e;return{label:t,onClick:function(){Qt(n,null),Jt(!1,xt)},onMouseEnter:function(){ye(n)},onMouseLeave:function(){ye(null)}}}));function Ke(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=null;Ht&&we&&we[0]&&we[1]&&m.isAfter(we[1],we[0])&&(a=we);var r=S;if(S&&"object"===Fi(S)&&S.defaultValue){var o=S.defaultValue;r=Vi(Vi({},S),{},{defaultValue:Git(o,xt)||void 0})}var s=null;return z&&(s=function(t,e){return z(t,e,{range:xt?"end":"start"})}),l.createElement($it.Provider,{value:{inRange:!0,panelPosition:t,rangedValue:ve||Pt,hoverRangedValue:a}},l.createElement(vlt,Pi({},e,n,{dateRender:s,showTime:r,mode:zt[xt],generateConfig:m,style:void 0,direction:ot,disabledDate:0===xt?Bt:Vt,disabledTime:function(t){return!!A&&A(t,0===xt?"start":"end")},className:R(Ni({},"".concat(i,"-panel-focused"),0===xt?!Le:!He)),value:Git(Pt,xt),locale:b,tabIndex:-1,onPanelChange:function(e,n){0===xt&&Me(!0),1===xt&&De(!0),Lt(Kit(zt,n,xt),Kit(Pt,e,xt));var a=e;"right"===t&&zt[xt]===n&&(a=Lit(a,n,m,-1)),Tt(a,xt)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Git(Pt,0===xt?1:0)})))}var qe=0,Xe=0;xt&&ft.current&&gt.current&&pt.current&&(qe=ft.current.offsetWidth+gt.current.offsetWidth,pt.current.offsetWidth&&qe>pt.current.offsetWidth&&(Xe=qe));var Ze="rtl"===ot?{right:qe}:{left:qe};var Je,$e,Qe=l.createElement("div",{className:R("".concat(i,"-range-wrapper"),"".concat(i,"-").concat(k,"-range-wrapper")),style:{minWidth:qt}},l.createElement("div",{className:"".concat(i,"-range-arrow"),style:Ze}),function(){var t,e=mlt(i,zt[xt],G),n=blt({prefixCls:i,components:at,needConfirmButton:ct,okDisabled:!Git(Pt,xt)||N&&N(Pt[xt]),locale:b,rangeList:Ge,onOk:function(){Git(Pt,xt)&&(Qt(Pt,xt),et&&et(Pt))}});if("time"===k||S)t=Ke();else{var a=Et(xt),r=Lit(a,k,m),o=zt[xt]===k,s=Ke(!!o&&"left",{pickerValue:a,onPickerValueChange:function(t){Tt(t,xt)}}),c=Ke("right",{pickerValue:r,onPickerValueChange:function(t){Tt(Lit(t,k,m,-1),xt)}});t="rtl"===ot?l.createElement(l.Fragment,null,c,o&&s):l.createElement(l.Fragment,null,s,o&&c)}var u=l.createElement(l.Fragment,null,l.createElement("div",{className:"".concat(i,"-panels")},t),(e||n)&&l.createElement("div",{className:"".concat(i,"-footer")},e,n));return L&&(u=L(u)),l.createElement("div",{className:"".concat(i,"-panel-container"),style:{marginLeft:Xe},ref:pt,onMouseDown:function(t){t.preventDefault()}},u)}());V&&(Je=l.createElement("span",{className:"".concat(i,"-suffix")},V)),B&&(Git(Ct,0)&&!kt[0]||Git(Ct,1)&&!kt[1])&&($e=l.createElement("span",{onMouseDown:function(t){t.preventDefault(),t.stopPropagation()},onMouseUp:function(t){t.preventDefault(),t.stopPropagation();var e=Ct;kt[0]||(e=Kit(e,null,0)),kt[1]||(e=Kit(e,null,1)),Qt(e,null),Jt(!1,xt)},className:"".concat(i,"-clear")},Y||l.createElement("span",{className:"".concat(i,"-clear-btn")})));var tn={size:xit(k,vt[0],m)},en=0,nn=0;ft.current&&ht.current&&gt.current&&(0===xt?nn=ft.current.offsetWidth:(en=qe,nn=ht.current.offsetWidth));var an="rtl"===ot?{right:en}:{left:en};return l.createElement(lit.Provider,{value:{operationRef:_t,hideHeader:"time"===k,onDateMouseEnter:function(t){_e(Kit(Pt,t,xt)),0===xt?Ce(t):Te(t)},onDateMouseLeave:function(){_e(Kit(Pt,null,xt)),0===xt?Me():De()},hideRanges:!0,onSelect:function(t,e){var n=Kit(Pt,t,xt);"submit"===e||"key"!==e&&!ct?(Qt(n,xt),0===xt?Me():De()):Nt(n)},open:Ht}},l.createElement(xlt,{visible:Ht,popupElement:Qe,popupStyle:d,prefixCls:i,dropdownClassName:p,dropdownAlign:h,getPopupContainer:g,transitionName:f,range:!0,direction:ot},l.createElement("div",Pi({ref:dt,className:R(i,"".concat(i,"-range"),u,(n={},Ni(n,"".concat(i,"-disabled"),kt[0]&&kt[1]),Ni(n,"".concat(i,"-focused"),0===xt?Re:Ye),Ni(n,"".concat(i,"-rtl"),"rtl"===ot),n)),style:c,onClick:function(t){Ht||mt.current.contains(t.target)||bt.current.contains(t.target)||(kt[0]?kt[1]||$t(1):$t(0))},onMouseEnter:Q,onMouseLeave:tt,onMouseDown:function(t){!Ht||!Re&&!Ye||mt.current.contains(t.target)||bt.current.contains(t.target)||t.preventDefault()}},Uit(e)),l.createElement("div",{className:R("".concat(i,"-input"),(a={},Ni(a,"".concat(i,"-input-active"),0===xt),Ni(a,"".concat(i,"-input-placeholder"),!!Se),a)),ref:ft},l.createElement("input",Pi({id:s,disabled:kt[0],readOnly:W||"function"==typeof vt[0]||!Le,value:Se||ue,onChange:function(t){de(t.target.value)},autoFocus:y,placeholder:Git(v,0)||"",ref:mt},Ae,tn,{autoComplete:st}))),l.createElement("div",{className:"".concat(i,"-range-separator"),ref:gt},O),l.createElement("div",{className:R("".concat(i,"-input"),(r={},Ni(r,"".concat(i,"-input-active"),1===xt),Ni(r,"".concat(i,"-input-placeholder"),!!Ee),r)),ref:ht},l.createElement("input",Pi({disabled:kt[1],readOnly:W||"function"==typeof vt[0]||!He,value:Ee||he,onChange:function(t){ge(t.target.value)},placeholder:Git(v,1)||"",ref:bt},Be,tn,{autoComplete:st}))),l.createElement("div",{className:"".concat(i,"-active-bar"),style:Vi(Vi({},an),{},{width:nn,position:"absolute"})}),Je,$e)))}var Plt=function(t){qi(n,t);var e=Qi(n);function n(){var t;Hi(this,n);for(var a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))).pickerRef=l.createRef(),t.focus=function(){t.pickerRef.current&&t.pickerRef.current.focus()},t.blur=function(){t.pickerRef.current&&t.pickerRef.current.blur()},t}return Ui(n,[{key:"render",value:function(){return l.createElement(Ilt,Pi({},this.props,{pickerRef:this.pickerRef}))}}]),n}(l.Component);function Nlt(t,e,n){return void 0!==n?n:"year"===t&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:"quarter"===t&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:"month"===t&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:"week"===t&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:"time"===t&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder}function Alt(t,e,n){return void 0!==n?n:"year"===t&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:"month"===t&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:"week"===t&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:"time"===t&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder}var zlt=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n};var Rlt={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},Llt=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:Rlt}))};Llt.displayName="SwapRightOutlined";var jlt=l.forwardRef(Llt),Flt=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n};var Blt={button:function(t){return l.createElement(Og,Pi({size:"small",type:"primary"},t))},rangeItem:function(t){return l.createElement(Nv,Pi({color:"blue"},t))}};function Vlt(t){var e,n=t.format,a=t.picker,r=t.showHour,o=t.showMinute,i=t.showSecond,l=t.use12Hours,s=(e=n,e?Array.isArray(e)?e:[e]:[])[0],c=Pi({},t);return s&&"string"==typeof s&&(s.includes("s")||void 0!==i||(c.showSecond=!1),s.includes("m")||void 0!==o||(c.showMinute=!1),s.includes("H")||s.includes("h")||void 0!==r||(c.showHour=!1),(s.includes("a")||s.includes("A"))&&void 0===l&&(c.use12Hours=!0)),"time"===a?c:("function"==typeof s&&delete c.format,{showTime:c})}var Ylt=function(t){var e=function(t){function e(e,n){var a=function(a){qi(o,a);var r=Qi(o);function o(a){var i;return Hi(this,o),(i=r.call(this,a)).pickerRef=l.createRef(),i.focus=function(){i.pickerRef.current&&i.pickerRef.current.focus()},i.blur=function(){i.pickerRef.current&&i.pickerRef.current.blur()},i.renderPicker=function(n){var a=Pi(Pi({},n),i.props.locale),r=i.context,o=r.getPrefixCls,s=r.direction,c=r.getPopupContainer,u=i.props,d=u.prefixCls,p=u.getPopupContainer,f=u.className,h=u.size,g=u.bordered,m=void 0===g||g,b=u.placeholder,v=zlt(u,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),y=i.props,x=y.format,w=y.showTime,_=o("picker",d),k={showToday:!0},S={};e&&(S.picker=e);var C=e||i.props.picker;S=Pi(Pi(Pi({},S),w?Vlt(Pi({format:x,picker:C},w)):{}),"time"===C?Vlt(Pi(Pi({format:x},i.props),{picker:C})):{});var M=o();return l.createElement(kp.Consumer,null,(function(e){var n,r=h||e;return l.createElement(Mlt,Pi({ref:i.pickerRef,placeholder:Nlt(C,a,b),suffixIcon:"time"===C?l.createElement(iit,null):l.createElement(ait,null),clearIcon:l.createElement(Ef,null),allowClear:!0,transitionName:"".concat(M,"-slide-up")},k,v,S,{locale:a.lang,className:R((n={},Ni(n,"".concat(_,"-").concat(r),r),Ni(n,"".concat(_,"-borderless"),!m),n),f),prefixCls:_,getPopupContainer:p||c,generateConfig:t,prevIcon:l.createElement("span",{className:"".concat(_,"-prev-icon")}),nextIcon:l.createElement("span",{className:"".concat(_,"-next-icon")}),superPrevIcon:l.createElement("span",{className:"".concat(_,"-super-prev-icon")}),superNextIcon:l.createElement("span",{className:"".concat(_,"-super-next-icon")}),components:Blt,direction:s}))}))},Qd("quarter"!==e,n,"DatePicker.".concat(n," is legacy usage. Please use DatePicker[picker='").concat(e,"'] directly.")),i}return Ui(o,[{key:"render",value:function(){return l.createElement(up,{componentName:"DatePicker",defaultLocale:np},this.renderPicker)}}]),o}(l.Component);return a.contextType=yp,n&&(a.displayName=n),a}return{DatePicker:e(),WeekPicker:e("week","WeekPicker"),MonthPicker:e("month","MonthPicker"),YearPicker:e("year","YearPicker"),TimePicker:e("time","TimePicker"),QuarterPicker:e("quarter","QuarterPicker")}}(t),n=e.DatePicker,a=e.WeekPicker,r=e.MonthPicker,o=e.YearPicker,i=e.TimePicker,s=e.QuarterPicker,c=function(t){var e=function(e){qi(a,e);var n=Qi(a);function a(){var e;return Hi(this,a),(e=n.apply(this,arguments)).pickerRef=l.createRef(),e.focus=function(){e.pickerRef.current&&e.pickerRef.current.focus()},e.blur=function(){e.pickerRef.current&&e.pickerRef.current.blur()},e.renderPicker=function(n){var a=Pi(Pi({},n),e.props.locale),r=e.context,o=r.getPrefixCls,i=r.direction,s=r.getPopupContainer,c=e.props,u=c.prefixCls,d=c.getPopupContainer,p=c.className,f=c.size,h=c.bordered,g=void 0===h||h,m=c.placeholder,b=Flt(c,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),v=e.props,y=v.format,x=v.showTime,w=v.picker,_=o("picker",u),k={};k=Pi(Pi(Pi({},k),x?Vlt(Pi({format:y,picker:w},x)):{}),"time"===w?Vlt(Pi(Pi({format:y},e.props),{picker:w})):{});var S=o();return l.createElement(kp.Consumer,null,(function(n){var r,o=f||n;return l.createElement(Plt,Pi({separator:l.createElement("span",{"aria-label":"to",className:"".concat(_,"-separator")},l.createElement(jlt,null)),ref:e.pickerRef,placeholder:Alt(w,a,m),suffixIcon:"time"===w?l.createElement(iit,null):l.createElement(ait,null),clearIcon:l.createElement(Ef,null),allowClear:!0,transitionName:"".concat(S,"-slide-up")},b,k,{className:R((r={},Ni(r,"".concat(_,"-").concat(o),o),Ni(r,"".concat(_,"-borderless"),!g),r),p),locale:a.lang,prefixCls:_,getPopupContainer:d||s,generateConfig:t,prevIcon:l.createElement("span",{className:"".concat(_,"-prev-icon")}),nextIcon:l.createElement("span",{className:"".concat(_,"-next-icon")}),superPrevIcon:l.createElement("span",{className:"".concat(_,"-super-prev-icon")}),superNextIcon:l.createElement("span",{className:"".concat(_,"-super-next-icon")}),components:Blt,direction:i}))}))},e}return Ui(a,[{key:"render",value:function(){return l.createElement(up,{componentName:"DatePicker",defaultLocale:np},this.renderPicker)}}]),a}(l.Component);return e.contextType=yp,e}(t),u=n;return u.WeekPicker=a,u.MonthPicker=r,u.YearPicker=o,u.RangePicker=c,u.TimePicker=i,u.QuarterPicker=s,u}(tit),Hlt=Ylt,Wlt=v((function(t,e){t.exports=function(){var e,n;function a(){return e.apply(null,arguments)}function r(t){e=t}function o(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function i(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function l(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function s(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(l(t,e))return!1;return!0}function c(t){return void 0===t}function u(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function d(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function p(t,e){var n,a=[],r=t.length;for(n=0;n<r;++n)a.push(e(t[n],n));return a}function f(t,e){for(var n in e)l(e,n)&&(t[n]=e[n]);return l(e,"toString")&&(t.toString=e.toString),l(e,"valueOf")&&(t.valueOf=e.valueOf),t}function h(t,e,n,a){return Xn(t,e,n,a,!0).utc()}function g(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function m(t){return null==t._pf&&(t._pf=g()),t._pf}function b(t){if(null==t._isValid){var e=m(t),a=n.call(e.parsedDateParts,(function(t){return null!=t})),r=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&a);if(t._strict&&(r=r&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function v(t){var e=h(NaN);return null!=t?f(m(e),t):m(e).userInvalidated=!0,e}n=Array.prototype.some?Array.prototype.some:function(t){var e,n=Object(this),a=n.length>>>0;for(e=0;e<a;e++)if(e in n&&t.call(this,n[e],e,n))return!0;return!1};var x=a.momentProperties=[],w=!1;function _(t,e){var n,a,r,o=x.length;if(c(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),c(e._i)||(t._i=e._i),c(e._f)||(t._f=e._f),c(e._l)||(t._l=e._l),c(e._strict)||(t._strict=e._strict),c(e._tzm)||(t._tzm=e._tzm),c(e._isUTC)||(t._isUTC=e._isUTC),c(e._offset)||(t._offset=e._offset),c(e._pf)||(t._pf=m(e)),c(e._locale)||(t._locale=e._locale),o>0)for(n=0;n<o;n++)c(r=e[a=x[n]])||(t[a]=r);return t}function k(t){_(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===w&&(w=!0,a.updateOffset(this),w=!1)}function S(t){return t instanceof k||null!=t&&null!=t._isAMomentObject}function C(t){!1===a.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function M(t,e){var n=!0;return f((function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,t),n){var r,o,i,s=[],c=arguments.length;for(o=0;o<c;o++){if(r="","object"==typeof arguments[o]){for(i in r+="\n["+o+"] ",arguments[0])l(arguments[0],i)&&(r+=i+": "+arguments[0][i]+", ");r=r.slice(0,-2)}else r=arguments[o];s.push(r)}C(t+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),n=!1}return e.apply(this,arguments)}),e)}var O,E={};function T(t,e){null!=a.deprecationHandler&&a.deprecationHandler(t,e),E[t]||(C(e),E[t]=!0)}function D(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function I(t){var e,n;for(n in t)l(t,n)&&(D(e=t[n])?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function P(t,e){var n,a=f({},t);for(n in e)l(e,n)&&(i(t[n])&&i(e[n])?(a[n]={},f(a[n],t[n]),f(a[n],e[n])):null!=e[n]?a[n]=e[n]:delete a[n]);for(n in t)l(t,n)&&!l(e,n)&&i(t[n])&&(a[n]=f({},a[n]));return a}function N(t){null!=t&&this.set(t)}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,O=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)l(t,e)&&n.push(e);return n};var A={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function z(t,e,n){var a=this._calendar[t]||this._calendar.sameElse;return D(a)?a.call(e,n):a}function R(t,e,n){var a=""+Math.abs(t),r=e-a.length;return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+a}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,j=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,F={},B={};function V(t,e,n,a){var r=a;"string"==typeof a&&(r=function(){return this[a]()}),t&&(B[t]=r),e&&(B[e[0]]=function(){return R(r.apply(this,arguments),e[1],e[2])}),n&&(B[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function Y(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function H(t){var e,n,a=t.match(L);for(e=0,n=a.length;e<n;e++)B[a[e]]?a[e]=B[a[e]]:a[e]=Y(a[e]);return function(e){var r,o="";for(r=0;r<n;r++)o+=D(a[r])?a[r].call(e,t):a[r];return o}}function W(t,e){return t.isValid()?(e=U(e,t.localeData()),F[e]=F[e]||H(e),F[e](t)):t.localeData().invalidDate()}function U(t,e){var n=5;function a(t){return e.longDateFormat(t)||t}for(j.lastIndex=0;n>=0&&j.test(t);)t=t.replace(j,a),j.lastIndex=0,n-=1;return t}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 K(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(L).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])}var q="Invalid date";function X(){return this._invalidDate}var Z="%d",J=/\d{1,2}/;function $(t){return this._ordinal.replace("%d",t)}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 tt(t,e,n,a){var r=this._relativeTime[n];return D(r)?r(t,e,n,a):r.replace(/%d/i,t)}function et(t,e){var n=this._relativeTime[t>0?"future":"past"];return D(n)?n(e):n.replace(/%s/i,e)}var nt={};function at(t,e){var n=t.toLowerCase();nt[n]=nt[n+"s"]=nt[e]=t}function rt(t){return"string"==typeof t?nt[t]||nt[t.toLowerCase()]:void 0}function ot(t){var e,n,a={};for(n in t)l(t,n)&&(e=rt(n))&&(a[e]=t[n]);return a}var it={};function lt(t,e){it[t]=e}function st(t){var e,n=[];for(e in t)l(t,e)&&n.push({unit:e,priority:it[e]});return n.sort((function(t,e){return t.priority-e.priority})),n}function ct(t){return t%4==0&&t%100!=0||t%400==0}function ut(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function dt(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=ut(e)),n}function pt(t,e){return function(n){return null!=n?(ht(this,t,n),a.updateOffset(this,e),this):ft(this,t)}}function ft(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function ht(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&ct(t.year())&&1===t.month()&&29===t.date()?(n=dt(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),te(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function gt(t){return D(this[t=rt(t)])?this[t]():this}function mt(t,e){if("object"==typeof t){var n,a=st(t=ot(t)),r=a.length;for(n=0;n<r;n++)this[a[n].unit](t[a[n].unit])}else if(D(this[t=rt(t)]))return this[t](e);return this}var bt,vt=/\d/,yt=/\d\d/,xt=/\d{3}/,wt=/\d{4}/,_t=/[+-]?\d{6}/,kt=/\d\d?/,St=/\d\d\d\d?/,Ct=/\d\d\d\d\d\d?/,Mt=/\d{1,3}/,Ot=/\d{1,4}/,Et=/[+-]?\d{1,6}/,Tt=/\d+/,Dt=/[+-]?\d+/,It=/Z|[+-]\d\d:?\d\d/gi,Pt=/Z|[+-]\d\d(?::?\d\d)?/gi,Nt=/[+-]?\d+(\.\d{1,3})?/,At=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function zt(t,e,n){bt[t]=D(e)?e:function(t,a){return t&&n?n:e}}function Rt(t,e){return l(bt,t)?bt[t](e._strict,e._locale):new RegExp(Lt(t))}function Lt(t){return jt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,n,a,r){return e||n||a||r})))}function jt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}bt={};var Ft={};function Bt(t,e){var n,a,r=e;for("string"==typeof t&&(t=[t]),u(e)&&(r=function(t,n){n[e]=dt(t)}),a=t.length,n=0;n<a;n++)Ft[t[n]]=r}function Vt(t,e){Bt(t,(function(t,n,a,r){a._w=a._w||{},e(t,a._w,a,r)}))}function Yt(t,e,n){null!=e&&l(Ft,t)&&Ft[t](e,n._a,n,t)}var Ht,Wt=0,Ut=1,Gt=2,Kt=3,qt=4,Xt=5,Zt=6,Jt=7,$t=8;function Qt(t,e){return(t%e+e)%e}function te(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=Qt(e,12);return t+=(e-n)/12,1===n?ct(t)?29:28:31-n%7%2}Ht=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},V("M",["MM",2],"Mo",(function(){return this.month()+1})),V("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),V("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),at("month","M"),lt("month",8),zt("M",kt),zt("MM",kt,yt),zt("MMM",(function(t,e){return e.monthsShortRegex(t)})),zt("MMMM",(function(t,e){return e.monthsRegex(t)})),Bt(["M","MM"],(function(t,e){e[Ut]=dt(t)-1})),Bt(["MMM","MMMM"],(function(t,e,n,a){var r=n._locale.monthsParse(t,a,n._strict);null!=r?e[Ut]=r:m(n).invalidMonth=t}));var ee="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ne="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ae=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,re=At,oe=At;function ie(t,e){return t?o(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||ae).test(e)?"format":"standalone"][t.month()]:o(this._months)?this._months:this._months.standalone}function le(t,e){return t?o(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[ae.test(e)?"format":"standalone"][t.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function se(t,e,n){var a,r,o,i=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],a=0;a<12;++a)o=h([2e3,a]),this._shortMonthsParse[a]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[a]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(r=Ht.call(this._shortMonthsParse,i))?r:null:-1!==(r=Ht.call(this._longMonthsParse,i))?r:null:"MMM"===e?-1!==(r=Ht.call(this._shortMonthsParse,i))||-1!==(r=Ht.call(this._longMonthsParse,i))?r:null:-1!==(r=Ht.call(this._longMonthsParse,i))||-1!==(r=Ht.call(this._shortMonthsParse,i))?r:null}function ce(t,e,n){var a,r,o;if(this._monthsParseExact)return se.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),a=0;a<12;a++){if(r=h([2e3,a]),n&&!this._longMonthsParse[a]&&(this._longMonthsParse[a]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[a]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[a]||(o="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[a]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[a].test(t))return a;if(n&&"MMM"===e&&this._shortMonthsParse[a].test(t))return a;if(!n&&this._monthsParse[a].test(t))return a}}function ue(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=dt(e);else if(!u(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),te(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function de(t){return null!=t?(ue(this,t),a.updateOffset(this,!0),this):ft(this,"Month")}function pe(){return te(this.year(),this.month())}function fe(t){return this._monthsParseExact?(l(this,"_monthsRegex")||ge.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=re),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function he(t){return this._monthsParseExact?(l(this,"_monthsRegex")||ge.call(this),t?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=oe),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function ge(){function t(t,e){return e.length-t.length}var e,n,a=[],r=[],o=[];for(e=0;e<12;e++)n=h([2e3,e]),a.push(this.monthsShort(n,"")),r.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(a.sort(t),r.sort(t),o.sort(t),e=0;e<12;e++)a[e]=jt(a[e]),r[e]=jt(r[e]);for(e=0;e<24;e++)o[e]=jt(o[e]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+a.join("|")+")","i")}function me(t){return ct(t)?366:365}V("Y",0,0,(function(){var t=this.year();return t<=9999?R(t,4):"+"+t})),V(0,["YY",2],0,(function(){return this.year()%100})),V(0,["YYYY",4],0,"year"),V(0,["YYYYY",5],0,"year"),V(0,["YYYYYY",6,!0],0,"year"),at("year","y"),lt("year",1),zt("Y",Dt),zt("YY",kt,yt),zt("YYYY",Ot,wt),zt("YYYYY",Et,_t),zt("YYYYYY",Et,_t),Bt(["YYYYY","YYYYYY"],Wt),Bt("YYYY",(function(t,e){e[Wt]=2===t.length?a.parseTwoDigitYear(t):dt(t)})),Bt("YY",(function(t,e){e[Wt]=a.parseTwoDigitYear(t)})),Bt("Y",(function(t,e){e[Wt]=parseInt(t,10)})),a.parseTwoDigitYear=function(t){return dt(t)+(dt(t)>68?1900:2e3)};var be=pt("FullYear",!0);function ve(){return ct(this.year())}function ye(t,e,n,a,r,o,i){var l;return t<100&&t>=0?(l=new Date(t+400,e,n,a,r,o,i),isFinite(l.getFullYear())&&l.setFullYear(t)):l=new Date(t,e,n,a,r,o,i),l}function xe(t){var e,n;return t<100&&t>=0?((n=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function we(t,e,n){var a=7+e-n;return-(7+xe(t,0,a).getUTCDay()-e)%7+a-1}function _e(t,e,n,a,r){var o,i,l=1+7*(e-1)+(7+n-a)%7+we(t,a,r);return l<=0?i=me(o=t-1)+l:l>me(t)?(o=t+1,i=l-me(t)):(o=t,i=l),{year:o,dayOfYear:i}}function ke(t,e,n){var a,r,o=we(t.year(),e,n),i=Math.floor((t.dayOfYear()-o-1)/7)+1;return i<1?a=i+Se(r=t.year()-1,e,n):i>Se(t.year(),e,n)?(a=i-Se(t.year(),e,n),r=t.year()+1):(r=t.year(),a=i),{week:a,year:r}}function Se(t,e,n){var a=we(t,e,n),r=we(t+1,e,n);return(me(t)-a+r)/7}function Ce(t){return ke(t,this._week.dow,this._week.doy).week}V("w",["ww",2],"wo","week"),V("W",["WW",2],"Wo","isoWeek"),at("week","w"),at("isoWeek","W"),lt("week",5),lt("isoWeek",5),zt("w",kt),zt("ww",kt,yt),zt("W",kt),zt("WW",kt,yt),Vt(["w","ww","W","WW"],(function(t,e,n,a){e[a.substr(0,1)]=dt(t)}));var Me={dow:0,doy:6};function Oe(){return this._week.dow}function Ee(){return this._week.doy}function Te(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function De(t){var e=ke(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function Ie(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}function Pe(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Ne(t,e){return t.slice(e,7).concat(t.slice(0,e))}V("d",0,"do","day"),V("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),V("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),V("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),V("e",0,0,"weekday"),V("E",0,0,"isoWeekday"),at("day","d"),at("weekday","e"),at("isoWeekday","E"),lt("day",11),lt("weekday",11),lt("isoWeekday",11),zt("d",kt),zt("e",kt),zt("E",kt),zt("dd",(function(t,e){return e.weekdaysMinRegex(t)})),zt("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),zt("dddd",(function(t,e){return e.weekdaysRegex(t)})),Vt(["dd","ddd","dddd"],(function(t,e,n,a){var r=n._locale.weekdaysParse(t,a,n._strict);null!=r?e.d=r:m(n).invalidWeekday=t})),Vt(["d","e","E"],(function(t,e,n,a){e[a]=dt(t)}));var Ae="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Re="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Le=At,je=At,Fe=At;function Be(t,e){var n=o(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Ne(n,this._week.dow):t?n[t.day()]:n}function Ve(t){return!0===t?Ne(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function Ye(t){return!0===t?Ne(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function He(t,e,n){var a,r,o,i=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],a=0;a<7;++a)o=h([2e3,1]).day(a),this._minWeekdaysParse[a]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[a]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[a]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(r=Ht.call(this._weekdaysParse,i))?r:null:"ddd"===e?-1!==(r=Ht.call(this._shortWeekdaysParse,i))?r:null:-1!==(r=Ht.call(this._minWeekdaysParse,i))?r:null:"dddd"===e?-1!==(r=Ht.call(this._weekdaysParse,i))||-1!==(r=Ht.call(this._shortWeekdaysParse,i))||-1!==(r=Ht.call(this._minWeekdaysParse,i))?r:null:"ddd"===e?-1!==(r=Ht.call(this._shortWeekdaysParse,i))||-1!==(r=Ht.call(this._weekdaysParse,i))||-1!==(r=Ht.call(this._minWeekdaysParse,i))?r:null:-1!==(r=Ht.call(this._minWeekdaysParse,i))||-1!==(r=Ht.call(this._weekdaysParse,i))||-1!==(r=Ht.call(this._shortWeekdaysParse,i))?r:null}function We(t,e,n){var a,r,o;if(this._weekdaysParseExact)return He.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),a=0;a<7;a++){if(r=h([2e3,1]).day(a),n&&!this._fullWeekdaysParse[a]&&(this._fullWeekdaysParse[a]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[a]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[a]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[a]||(o="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[a]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[a].test(t))return a;if(n&&"ddd"===e&&this._shortWeekdaysParse[a].test(t))return a;if(n&&"dd"===e&&this._minWeekdaysParse[a].test(t))return a;if(!n&&this._weekdaysParse[a].test(t))return a}}function Ue(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Ie(t,this.localeData()),this.add(t-e,"d")):e}function Ge(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Ke(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=Pe(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function qe(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Je.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=Le),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Xe(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Je.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=je),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ze(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Je.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Fe),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Je(){function t(t,e){return e.length-t.length}var e,n,a,r,o,i=[],l=[],s=[],c=[];for(e=0;e<7;e++)n=h([2e3,1]).day(e),a=jt(this.weekdaysMin(n,"")),r=jt(this.weekdaysShort(n,"")),o=jt(this.weekdays(n,"")),i.push(a),l.push(r),s.push(o),c.push(a),c.push(r),c.push(o);i.sort(t),l.sort(t),s.sort(t),c.sort(t),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("^("+i.join("|")+")","i")}function $e(){return this.hours()%12||12}function Qe(){return this.hours()||24}function tn(t,e){V(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function en(t,e){return e._meridiemParse}function nn(t){return"p"===(t+"").toLowerCase().charAt(0)}V("H",["HH",2],0,"hour"),V("h",["hh",2],0,$e),V("k",["kk",2],0,Qe),V("hmm",0,0,(function(){return""+$e.apply(this)+R(this.minutes(),2)})),V("hmmss",0,0,(function(){return""+$e.apply(this)+R(this.minutes(),2)+R(this.seconds(),2)})),V("Hmm",0,0,(function(){return""+this.hours()+R(this.minutes(),2)})),V("Hmmss",0,0,(function(){return""+this.hours()+R(this.minutes(),2)+R(this.seconds(),2)})),tn("a",!0),tn("A",!1),at("hour","h"),lt("hour",13),zt("a",en),zt("A",en),zt("H",kt),zt("h",kt),zt("k",kt),zt("HH",kt,yt),zt("hh",kt,yt),zt("kk",kt,yt),zt("hmm",St),zt("hmmss",Ct),zt("Hmm",St),zt("Hmmss",Ct),Bt(["H","HH"],Kt),Bt(["k","kk"],(function(t,e,n){var a=dt(t);e[Kt]=24===a?0:a})),Bt(["a","A"],(function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t})),Bt(["h","hh"],(function(t,e,n){e[Kt]=dt(t),m(n).bigHour=!0})),Bt("hmm",(function(t,e,n){var a=t.length-2;e[Kt]=dt(t.substr(0,a)),e[qt]=dt(t.substr(a)),m(n).bigHour=!0})),Bt("hmmss",(function(t,e,n){var a=t.length-4,r=t.length-2;e[Kt]=dt(t.substr(0,a)),e[qt]=dt(t.substr(a,2)),e[Xt]=dt(t.substr(r)),m(n).bigHour=!0})),Bt("Hmm",(function(t,e,n){var a=t.length-2;e[Kt]=dt(t.substr(0,a)),e[qt]=dt(t.substr(a))})),Bt("Hmmss",(function(t,e,n){var a=t.length-4,r=t.length-2;e[Kt]=dt(t.substr(0,a)),e[qt]=dt(t.substr(a,2)),e[Xt]=dt(t.substr(r))}));var an=/[ap]\.?m?\.?/i,rn=pt("Hours",!0);function on(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var ln,sn={calendar:A,longDateFormat:G,invalidDate:q,ordinal:Z,dayOfMonthOrdinalParse:J,relativeTime:Q,months:ee,monthsShort:ne,week:Me,weekdays:Ae,weekdaysMin:Re,weekdaysShort:ze,meridiemParse:an},cn={},un={};function dn(t,e){var n,a=Math.min(t.length,e.length);for(n=0;n<a;n+=1)if(t[n]!==e[n])return n;return a}function pn(t){return t?t.toLowerCase().replace("_","-"):t}function fn(t){for(var e,n,a,r,o=0;o<t.length;){for(e=(r=pn(t[o]).split("-")).length,n=(n=pn(t[o+1]))?n.split("-"):null;e>0;){if(a=gn(r.slice(0,e).join("-")))return a;if(n&&n.length>=e&&dn(r,n)>=e-1)break;e--}o++}return ln}function hn(t){return null!=t.match("^[^/\\\\]*$")}function gn(e){var n=null;if(void 0===cn[e]&&t&&t.exports&&hn(e))try{n=ln._abbr,y("./locale/"+e),mn(n)}catch(t){cn[e]=null}return cn[e]}function mn(t,e){var n;return t&&((n=c(e)?yn(t):bn(t,e))?ln=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),ln._abbr}function bn(t,e){if(null!==e){var n,a=sn;if(e.abbr=t,null!=cn[t])T("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."),a=cn[t]._config;else if(null!=e.parentLocale)if(null!=cn[e.parentLocale])a=cn[e.parentLocale]._config;else{if(null==(n=gn(e.parentLocale)))return un[e.parentLocale]||(un[e.parentLocale]=[]),un[e.parentLocale].push({name:t,config:e}),null;a=n._config}return cn[t]=new N(P(a,e)),un[t]&&un[t].forEach((function(t){bn(t.name,t.config)})),mn(t),cn[t]}return delete cn[t],null}function vn(t,e){if(null!=e){var n,a,r=sn;null!=cn[t]&&null!=cn[t].parentLocale?cn[t].set(P(cn[t]._config,e)):(null!=(a=gn(t))&&(r=a._config),e=P(r,e),null==a&&(e.abbr=t),(n=new N(e)).parentLocale=cn[t],cn[t]=n),mn(t)}else null!=cn[t]&&(null!=cn[t].parentLocale?(cn[t]=cn[t].parentLocale,t===mn()&&mn(t)):null!=cn[t]&&delete cn[t]);return cn[t]}function yn(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return ln;if(!o(t)){if(e=gn(t))return e;t=[t]}return fn(t)}function xn(){return O(cn)}function wn(t){var e,n=t._a;return n&&-2===m(t).overflow&&(e=n[Ut]<0||n[Ut]>11?Ut:n[Gt]<1||n[Gt]>te(n[Wt],n[Ut])?Gt:n[Kt]<0||n[Kt]>24||24===n[Kt]&&(0!==n[qt]||0!==n[Xt]||0!==n[Zt])?Kt:n[qt]<0||n[qt]>59?qt:n[Xt]<0||n[Xt]>59?Xt:n[Zt]<0||n[Zt]>999?Zt:-1,m(t)._overflowDayOfYear&&(e<Wt||e>Gt)&&(e=Gt),m(t)._overflowWeeks&&-1===e&&(e=Jt),m(t)._overflowWeekday&&-1===e&&(e=$t),m(t).overflow=e),t}var _n=/^\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)?)?$/,kn=/^\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)?)?$/,Sn=/Z|[+-]\d\d(?::?\d\d)?/,Cn=[["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]],Mn=[["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/]],On=/^\/?Date\((-?\d+)/i,En=/^(?:(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}))$/,Tn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Dn(t){var e,n,a,r,o,i,l=t._i,s=_n.exec(l)||kn.exec(l),c=Cn.length,u=Mn.length;if(s){for(m(t).iso=!0,e=0,n=c;e<n;e++)if(Cn[e][1].exec(s[1])){r=Cn[e][0],a=!1!==Cn[e][2];break}if(null==r)return void(t._isValid=!1);if(s[3]){for(e=0,n=u;e<n;e++)if(Mn[e][1].exec(s[3])){o=(s[2]||" ")+Mn[e][0];break}if(null==o)return void(t._isValid=!1)}if(!a&&null!=o)return void(t._isValid=!1);if(s[4]){if(!Sn.exec(s[4]))return void(t._isValid=!1);i="Z"}t._f=r+(o||"")+(i||""),Yn(t)}else t._isValid=!1}function In(t,e,n,a,r,o){var i=[Pn(t),ne.indexOf(e),parseInt(n,10),parseInt(a,10),parseInt(r,10)];return o&&i.push(parseInt(o,10)),i}function Pn(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function Nn(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function An(t,e,n){return!t||ze.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(m(n).weekdayMismatch=!0,n._isValid=!1,!1)}function zn(t,e,n){if(t)return Tn[t];if(e)return 0;var a=parseInt(n,10),r=a%100;return(a-r)/100*60+r}function Rn(t){var e,n=En.exec(Nn(t._i));if(n){if(e=In(n[4],n[3],n[2],n[5],n[6],n[7]),!An(n[1],e,t))return;t._a=e,t._tzm=zn(n[8],n[9],n[10]),t._d=xe.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),m(t).rfc2822=!0}else t._isValid=!1}function Ln(t){var e=On.exec(t._i);null===e?(Dn(t),!1===t._isValid&&(delete t._isValid,Rn(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:a.createFromInputFallback(t)))):t._d=new Date(+e[1])}function jn(t,e,n){return null!=t?t:null!=e?e:n}function Fn(t){var e=new Date(a.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function Bn(t){var e,n,a,r,o,i=[];if(!t._d){for(a=Fn(t),t._w&&null==t._a[Gt]&&null==t._a[Ut]&&Vn(t),null!=t._dayOfYear&&(o=jn(t._a[Wt],a[Wt]),(t._dayOfYear>me(o)||0===t._dayOfYear)&&(m(t)._overflowDayOfYear=!0),n=xe(o,0,t._dayOfYear),t._a[Ut]=n.getUTCMonth(),t._a[Gt]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=i[e]=a[e];for(;e<7;e++)t._a[e]=i[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[Kt]&&0===t._a[qt]&&0===t._a[Xt]&&0===t._a[Zt]&&(t._nextDay=!0,t._a[Kt]=0),t._d=(t._useUTC?xe:ye).apply(null,i),r=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Kt]=24),t._w&&void 0!==t._w.d&&t._w.d!==r&&(m(t).weekdayMismatch=!0)}}function Vn(t){var e,n,a,r,o,i,l,s,c;null!=(e=t._w).GG||null!=e.W||null!=e.E?(o=1,i=4,n=jn(e.GG,t._a[Wt],ke(Zn(),1,4).year),a=jn(e.W,1),((r=jn(e.E,1))<1||r>7)&&(s=!0)):(o=t._locale._week.dow,i=t._locale._week.doy,c=ke(Zn(),o,i),n=jn(e.gg,t._a[Wt],c.year),a=jn(e.w,c.week),null!=e.d?((r=e.d)<0||r>6)&&(s=!0):null!=e.e?(r=e.e+o,(e.e<0||e.e>6)&&(s=!0)):r=o),a<1||a>Se(n,o,i)?m(t)._overflowWeeks=!0:null!=s?m(t)._overflowWeekday=!0:(l=_e(n,a,r,o,i),t._a[Wt]=l.year,t._dayOfYear=l.dayOfYear)}function Yn(t){if(t._f!==a.ISO_8601)if(t._f!==a.RFC_2822){t._a=[],m(t).empty=!0;var e,n,r,o,i,l,s,c=""+t._i,u=c.length,d=0;for(s=(r=U(t._f,t._locale).match(L)||[]).length,e=0;e<s;e++)o=r[e],(n=(c.match(Rt(o,t))||[])[0])&&((i=c.substr(0,c.indexOf(n))).length>0&&m(t).unusedInput.push(i),c=c.slice(c.indexOf(n)+n.length),d+=n.length),B[o]?(n?m(t).empty=!1:m(t).unusedTokens.push(o),Yt(o,n,t)):t._strict&&!n&&m(t).unusedTokens.push(o);m(t).charsLeftOver=u-d,c.length>0&&m(t).unusedInput.push(c),t._a[Kt]<=12&&!0===m(t).bigHour&&t._a[Kt]>0&&(m(t).bigHour=void 0),m(t).parsedDateParts=t._a.slice(0),m(t).meridiem=t._meridiem,t._a[Kt]=Hn(t._locale,t._a[Kt],t._meridiem),null!==(l=m(t).era)&&(t._a[Wt]=t._locale.erasConvertYear(l,t._a[Wt])),Bn(t),wn(t)}else Rn(t);else Dn(t)}function Hn(t,e,n){var a;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((a=t.isPM(n))&&e<12&&(e+=12),a||12!==e||(e=0),e):e}function Wn(t){var e,n,a,r,o,i,l=!1,s=t._f.length;if(0===s)return m(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<s;r++)o=0,i=!1,e=_({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],Yn(e),b(e)&&(i=!0),o+=m(e).charsLeftOver,o+=10*m(e).unusedTokens.length,m(e).score=o,l?o<a&&(a=o,n=e):(null==a||o<a||i)&&(a=o,n=e,i&&(l=!0));f(t,n||e)}function Un(t){if(!t._d){var e=ot(t._i),n=void 0===e.day?e.date:e.day;t._a=p([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),Bn(t)}}function Gn(t){var e=new k(wn(Kn(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Kn(t){var e=t._i,n=t._f;return t._locale=t._locale||yn(t._l),null===e||void 0===n&&""===e?v({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),S(e)?new k(wn(e)):(d(e)?t._d=e:o(n)?Wn(t):n?Yn(t):qn(t),b(t)||(t._d=null),t))}function qn(t){var e=t._i;c(e)?t._d=new Date(a.now()):d(e)?t._d=new Date(e.valueOf()):"string"==typeof e?Ln(t):o(e)?(t._a=p(e.slice(0),(function(t){return parseInt(t,10)})),Bn(t)):i(e)?Un(t):u(e)?t._d=new Date(e):a.createFromInputFallback(t)}function Xn(t,e,n,a,r){var l={};return!0!==e&&!1!==e||(a=e,e=void 0),!0!==n&&!1!==n||(a=n,n=void 0),(i(t)&&s(t)||o(t)&&0===t.length)&&(t=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=r,l._l=n,l._i=t,l._f=e,l._strict=a,Gn(l)}function Zn(t,e,n,a){return Xn(t,e,n,a,!1)}a.createFromInputFallback=M("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),a.ISO_8601=function(){},a.RFC_2822=function(){};var Jn=M("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Zn.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:v()})),$n=M("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Zn.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:v()}));function Qn(t,e){var n,a;if(1===e.length&&o(e[0])&&(e=e[0]),!e.length)return Zn();for(n=e[0],a=1;a<e.length;++a)e[a].isValid()&&!e[a][t](n)||(n=e[a]);return n}function ta(){return Qn("isBefore",[].slice.call(arguments,0))}function ea(){return Qn("isAfter",[].slice.call(arguments,0))}var na=function(){return Date.now?Date.now():+new Date},aa=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ra(t){var e,n,a=!1,r=aa.length;for(e in t)if(l(t,e)&&(-1===Ht.call(aa,e)||null!=t[e]&&isNaN(t[e])))return!1;for(n=0;n<r;++n)if(t[aa[n]]){if(a)return!1;parseFloat(t[aa[n]])!==dt(t[aa[n]])&&(a=!0)}return!0}function oa(){return this._isValid}function ia(){return Ta(NaN)}function la(t){var e=ot(t),n=e.year||0,a=e.quarter||0,r=e.month||0,o=e.week||e.isoWeek||0,i=e.day||0,l=e.hour||0,s=e.minute||0,c=e.second||0,u=e.millisecond||0;this._isValid=ra(e),this._milliseconds=+u+1e3*c+6e4*s+1e3*l*60*60,this._days=+i+7*o,this._months=+r+3*a+12*n,this._data={},this._locale=yn(),this._bubble()}function sa(t){return t instanceof la}function ca(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function ua(t,e,n){var a,r=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),i=0;for(a=0;a<r;a++)(n&&t[a]!==e[a]||!n&&dt(t[a])!==dt(e[a]))&&i++;return i+o}function da(t,e){V(t,0,0,(function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+R(~~(t/60),2)+e+R(~~t%60,2)}))}da("Z",":"),da("ZZ",""),zt("Z",Pt),zt("ZZ",Pt),Bt(["Z","ZZ"],(function(t,e,n){n._useUTC=!0,n._tzm=fa(Pt,t)}));var pa=/([\+\-]|\d\d)/gi;function fa(t,e){var n,a,r=(e||"").match(t);return null===r?null:0===(a=60*(n=((r[r.length-1]||[])+"").match(pa)||["-",0,0])[1]+dt(n[2]))?0:"+"===n[0]?a:-a}function ha(t,e){var n,r;return e._isUTC?(n=e.clone(),r=(S(t)||d(t)?t.valueOf():Zn(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),a.updateOffset(n,!1),n):Zn(t).local()}function ga(t){return-Math.round(t._d.getTimezoneOffset())}function ma(t,e,n){var r,o=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=fa(Pt,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(r=ga(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==t&&(!e||this._changeInProgress?Aa(this,Ta(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:ga(this)}function ba(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function va(t){return this.utcOffset(0,t)}function ya(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(ga(this),"m")),this}function xa(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=fa(It,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this}function wa(t){return!!this.isValid()&&(t=t?Zn(t).utcOffset():0,(this.utcOffset()-t)%60==0)}function _a(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function ka(){if(!c(this._isDSTShifted))return this._isDSTShifted;var t,e={};return _(e,this),(e=Kn(e))._a?(t=e._isUTC?h(e._a):Zn(e._a),this._isDSTShifted=this.isValid()&&ua(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Sa(){return!!this.isValid()&&!this._isUTC}function Ca(){return!!this.isValid()&&this._isUTC}function Ma(){return!!this.isValid()&&this._isUTC&&0===this._offset}a.updateOffset=function(){};var Oa=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ea=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ta(t,e){var n,a,r,o=t,i=null;return sa(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:u(t)||!isNaN(+t)?(o={},e?o[e]=+t:o.milliseconds=+t):(i=Oa.exec(t))?(n="-"===i[1]?-1:1,o={y:0,d:dt(i[Gt])*n,h:dt(i[Kt])*n,m:dt(i[qt])*n,s:dt(i[Xt])*n,ms:dt(ca(1e3*i[Zt]))*n}):(i=Ea.exec(t))?(n="-"===i[1]?-1:1,o={y:Da(i[2],n),M:Da(i[3],n),w:Da(i[4],n),d:Da(i[5],n),h:Da(i[6],n),m:Da(i[7],n),s:Da(i[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(r=Pa(Zn(o.from),Zn(o.to)),(o={}).ms=r.milliseconds,o.M=r.months),a=new la(o),sa(t)&&l(t,"_locale")&&(a._locale=t._locale),sa(t)&&l(t,"_isValid")&&(a._isValid=t._isValid),a}function Da(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Ia(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Pa(t,e){var n;return t.isValid()&&e.isValid()?(e=ha(e,t),t.isBefore(e)?n=Ia(t,e):((n=Ia(e,t)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Na(t,e){return function(n,a){var r;return null===a||isNaN(+a)||(T(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=a,a=r),Aa(this,Ta(n,a),t),this}}function Aa(t,e,n,r){var o=e._milliseconds,i=ca(e._days),l=ca(e._months);t.isValid()&&(r=null==r||r,l&&ue(t,ft(t,"Month")+l*n),i&&ht(t,"Date",ft(t,"Date")+i*n),o&&t._d.setTime(t._d.valueOf()+o*n),r&&a.updateOffset(t,i||l))}Ta.fn=la.prototype,Ta.invalid=ia;var za=Na(1,"add"),Ra=Na(-1,"subtract");function La(t){return"string"==typeof t||t instanceof String}function ja(t){return S(t)||d(t)||La(t)||u(t)||Ba(t)||Fa(t)||null==t}function Fa(t){var e,n,a=i(t)&&!s(t),r=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],c=o.length;for(e=0;e<c;e+=1)n=o[e],r=r||l(t,n);return a&&r}function Ba(t){var e=o(t),n=!1;return e&&(n=0===t.filter((function(e){return!u(e)&&La(t)})).length),e&&n}function Va(t){var e,n,a=i(t)&&!s(t),r=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<o.length;e+=1)n=o[e],r=r||l(t,n);return a&&r}function Ya(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Ha(t,e){1===arguments.length&&(arguments[0]?ja(arguments[0])?(t=arguments[0],e=void 0):Va(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||Zn(),r=ha(n,this).startOf("day"),o=a.calendarFormat(this,r)||"sameElse",i=e&&(D(e[o])?e[o].call(this,n):e[o]);return this.format(i||this.localeData().calendar(o,this,Zn(n)))}function Wa(){return new k(this)}function Ua(t,e){var n=S(t)?t:Zn(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=rt(e)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())}function Ga(t,e){var n=S(t)?t:Zn(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=rt(e)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())}function Ka(t,e,n,a){var r=S(t)?t:Zn(t),o=S(e)?e:Zn(e);return!!(this.isValid()&&r.isValid()&&o.isValid())&&("("===(a=a||"()")[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===a[1]?this.isBefore(o,n):!this.isAfter(o,n))}function qa(t,e){var n,a=S(t)?t:Zn(t);return!(!this.isValid()||!a.isValid())&&("millisecond"===(e=rt(e)||"millisecond")?this.valueOf()===a.valueOf():(n=a.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))}function Xa(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function Za(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function Ja(t,e,n){var a,r,o;if(!this.isValid())return NaN;if(!(a=ha(t,this)).isValid())return NaN;switch(r=6e4*(a.utcOffset()-this.utcOffset()),e=rt(e)){case"year":o=$a(this,a)/12;break;case"month":o=$a(this,a);break;case"quarter":o=$a(this,a)/3;break;case"second":o=(this-a)/1e3;break;case"minute":o=(this-a)/6e4;break;case"hour":o=(this-a)/36e5;break;case"day":o=(this-a-r)/864e5;break;case"week":o=(this-a-r)/6048e5;break;default:o=this-a}return n?o:ut(o)}function $a(t,e){if(t.date()<e.date())return-$a(e,t);var n=12*(e.year()-t.year())+(e.month()-t.month()),a=t.clone().add(n,"months");return-(n+(e-a<0?(e-a)/(a-t.clone().add(n-1,"months")):(e-a)/(t.clone().add(n+1,"months")-a)))||0}function Qa(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function tr(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?W(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):D(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",W(n,"Z")):W(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function er(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,n,a,r="moment",o="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),t="["+r+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",a=o+'[")]',this.format(t+e+n+a)}function nr(t){t||(t=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var e=W(this,t);return this.localeData().postformat(e)}function ar(t,e){return this.isValid()&&(S(t)&&t.isValid()||Zn(t).isValid())?Ta({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function rr(t){return this.from(Zn(),t)}function or(t,e){return this.isValid()&&(S(t)&&t.isValid()||Zn(t).isValid())?Ta({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function ir(t){return this.to(Zn(),t)}function lr(t){var e;return void 0===t?this._locale._abbr:(null!=(e=yn(t))&&(this._locale=e),this)}a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var sr=M("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function cr(){return this._locale}var ur=1e3,dr=60*ur,pr=60*dr,fr=3506328*pr;function hr(t,e){return(t%e+e)%e}function gr(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-fr:new Date(t,e,n).valueOf()}function mr(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-fr:Date.UTC(t,e,n)}function br(t){var e,n;if(void 0===(t=rt(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?mr:gr,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=hr(e+(this._isUTC?0:this.utcOffset()*dr),pr);break;case"minute":e=this._d.valueOf(),e-=hr(e,dr);break;case"second":e=this._d.valueOf(),e-=hr(e,ur)}return this._d.setTime(e),a.updateOffset(this,!0),this}function vr(t){var e,n;if(void 0===(t=rt(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?mr:gr,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=pr-hr(e+(this._isUTC?0:this.utcOffset()*dr),pr)-1;break;case"minute":e=this._d.valueOf(),e+=dr-hr(e,dr)-1;break;case"second":e=this._d.valueOf(),e+=ur-hr(e,ur)-1}return this._d.setTime(e),a.updateOffset(this,!0),this}function yr(){return this._d.valueOf()-6e4*(this._offset||0)}function xr(){return Math.floor(this.valueOf()/1e3)}function wr(){return new Date(this.valueOf())}function _r(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function kr(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Sr(){return this.isValid()?this.toISOString():null}function Cr(){return b(this)}function Mr(){return f({},m(this))}function Or(){return m(this).overflow}function Er(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Tr(t,e){var n,r,o,i=this._eras||yn("en")._eras;for(n=0,r=i.length;n<r;++n)switch("string"==typeof i[n].since&&(o=a(i[n].since).startOf("day"),i[n].since=o.valueOf()),typeof i[n].until){case"undefined":i[n].until=1/0;break;case"string":o=a(i[n].until).startOf("day").valueOf(),i[n].until=o.valueOf()}return i}function Dr(t,e,n){var a,r,o,i,l,s=this.eras();for(t=t.toUpperCase(),a=0,r=s.length;a<r;++a)if(o=s[a].name.toUpperCase(),i=s[a].abbr.toUpperCase(),l=s[a].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(i===t)return s[a];break;case"NNNN":if(o===t)return s[a];break;case"NNNNN":if(l===t)return s[a]}else if([o,i,l].indexOf(t)>=0)return s[a]}function Ir(t,e){var n=t.since<=t.until?1:-1;return void 0===e?a(t.since).year():a(t.since).year()+(e-t.offset)*n}function Pr(){var t,e,n,a=this.localeData().eras();for(t=0,e=a.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),a[t].since<=n&&n<=a[t].until)return a[t].name;if(a[t].until<=n&&n<=a[t].since)return a[t].name}return""}function Nr(){var t,e,n,a=this.localeData().eras();for(t=0,e=a.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),a[t].since<=n&&n<=a[t].until)return a[t].narrow;if(a[t].until<=n&&n<=a[t].since)return a[t].narrow}return""}function Ar(){var t,e,n,a=this.localeData().eras();for(t=0,e=a.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),a[t].since<=n&&n<=a[t].until)return a[t].abbr;if(a[t].until<=n&&n<=a[t].since)return a[t].abbr}return""}function zr(){var t,e,n,r,o=this.localeData().eras();for(t=0,e=o.length;t<e;++t)if(n=o[t].since<=o[t].until?1:-1,r=this.clone().startOf("day").valueOf(),o[t].since<=r&&r<=o[t].until||o[t].until<=r&&r<=o[t].since)return(this.year()-a(o[t].since).year())*n+o[t].offset;return this.year()}function Rr(t){return l(this,"_erasNameRegex")||Hr.call(this),t?this._erasNameRegex:this._erasRegex}function Lr(t){return l(this,"_erasAbbrRegex")||Hr.call(this),t?this._erasAbbrRegex:this._erasRegex}function jr(t){return l(this,"_erasNarrowRegex")||Hr.call(this),t?this._erasNarrowRegex:this._erasRegex}function Fr(t,e){return e.erasAbbrRegex(t)}function Br(t,e){return e.erasNameRegex(t)}function Vr(t,e){return e.erasNarrowRegex(t)}function Yr(t,e){return e._eraYearOrdinalRegex||Tt}function Hr(){var t,e,n=[],a=[],r=[],o=[],i=this.eras();for(t=0,e=i.length;t<e;++t)a.push(jt(i[t].name)),n.push(jt(i[t].abbr)),r.push(jt(i[t].narrow)),o.push(jt(i[t].name)),o.push(jt(i[t].abbr)),o.push(jt(i[t].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+a.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function Wr(t,e){V(0,[t,t.length],0,e)}function Ur(t){return Jr.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Gr(t){return Jr.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Kr(){return Se(this.year(),1,4)}function qr(){return Se(this.isoWeekYear(),1,4)}function Xr(){var t=this.localeData()._week;return Se(this.year(),t.dow,t.doy)}function Zr(){var t=this.localeData()._week;return Se(this.weekYear(),t.dow,t.doy)}function Jr(t,e,n,a,r){var o;return null==t?ke(this,a,r).year:(e>(o=Se(t,a,r))&&(e=o),$r.call(this,t,e,n,a,r))}function $r(t,e,n,a,r){var o=_e(t,e,n,a,r),i=xe(o.year,0,o.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}function Qr(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}V("N",0,0,"eraAbbr"),V("NN",0,0,"eraAbbr"),V("NNN",0,0,"eraAbbr"),V("NNNN",0,0,"eraName"),V("NNNNN",0,0,"eraNarrow"),V("y",["y",1],"yo","eraYear"),V("y",["yy",2],0,"eraYear"),V("y",["yyy",3],0,"eraYear"),V("y",["yyyy",4],0,"eraYear"),zt("N",Fr),zt("NN",Fr),zt("NNN",Fr),zt("NNNN",Br),zt("NNNNN",Vr),Bt(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,n,a){var r=n._locale.erasParse(t,a,n._strict);r?m(n).era=r:m(n).invalidEra=t})),zt("y",Tt),zt("yy",Tt),zt("yyy",Tt),zt("yyyy",Tt),zt("yo",Yr),Bt(["y","yy","yyy","yyyy"],Wt),Bt(["yo"],(function(t,e,n,a){var r;n._locale._eraYearOrdinalRegex&&(r=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[Wt]=n._locale.eraYearOrdinalParse(t,r):e[Wt]=parseInt(t,10)})),V(0,["gg",2],0,(function(){return this.weekYear()%100})),V(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Wr("gggg","weekYear"),Wr("ggggg","weekYear"),Wr("GGGG","isoWeekYear"),Wr("GGGGG","isoWeekYear"),at("weekYear","gg"),at("isoWeekYear","GG"),lt("weekYear",1),lt("isoWeekYear",1),zt("G",Dt),zt("g",Dt),zt("GG",kt,yt),zt("gg",kt,yt),zt("GGGG",Ot,wt),zt("gggg",Ot,wt),zt("GGGGG",Et,_t),zt("ggggg",Et,_t),Vt(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,n,a){e[a.substr(0,2)]=dt(t)})),Vt(["gg","GG"],(function(t,e,n,r){e[r]=a.parseTwoDigitYear(t)})),V("Q",0,"Qo","quarter"),at("quarter","Q"),lt("quarter",7),zt("Q",vt),Bt("Q",(function(t,e){e[Ut]=3*(dt(t)-1)})),V("D",["DD",2],"Do","date"),at("date","D"),lt("date",9),zt("D",kt),zt("DD",kt,yt),zt("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),Bt(["D","DD"],Gt),Bt("Do",(function(t,e){e[Gt]=dt(t.match(kt)[0])}));var to=pt("Date",!0);function eo(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}V("DDD",["DDDD",3],"DDDo","dayOfYear"),at("dayOfYear","DDD"),lt("dayOfYear",4),zt("DDD",Mt),zt("DDDD",xt),Bt(["DDD","DDDD"],(function(t,e,n){n._dayOfYear=dt(t)})),V("m",["mm",2],0,"minute"),at("minute","m"),lt("minute",14),zt("m",kt),zt("mm",kt,yt),Bt(["m","mm"],qt);var no=pt("Minutes",!1);V("s",["ss",2],0,"second"),at("second","s"),lt("second",15),zt("s",kt),zt("ss",kt,yt),Bt(["s","ss"],Xt);var ao,ro,oo=pt("Seconds",!1);for(V("S",0,0,(function(){return~~(this.millisecond()/100)})),V(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),V(0,["SSS",3],0,"millisecond"),V(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),V(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),V(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),V(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),V(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),V(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),at("millisecond","ms"),lt("millisecond",16),zt("S",Mt,vt),zt("SS",Mt,yt),zt("SSS",Mt,xt),ao="SSSS";ao.length<=9;ao+="S")zt(ao,Tt);function io(t,e){e[Zt]=dt(1e3*("0."+t))}for(ao="S";ao.length<=9;ao+="S")Bt(ao,io);function lo(){return this._isUTC?"UTC":""}function so(){return this._isUTC?"Coordinated Universal Time":""}ro=pt("Milliseconds",!1),V("z",0,0,"zoneAbbr"),V("zz",0,0,"zoneName");var co=k.prototype;function uo(t){return Zn(1e3*t)}function po(){return Zn.apply(null,arguments).parseZone()}function fo(t){return t}co.add=za,co.calendar=Ha,co.clone=Wa,co.diff=Ja,co.endOf=vr,co.format=nr,co.from=ar,co.fromNow=rr,co.to=or,co.toNow=ir,co.get=gt,co.invalidAt=Or,co.isAfter=Ua,co.isBefore=Ga,co.isBetween=Ka,co.isSame=qa,co.isSameOrAfter=Xa,co.isSameOrBefore=Za,co.isValid=Cr,co.lang=sr,co.locale=lr,co.localeData=cr,co.max=$n,co.min=Jn,co.parsingFlags=Mr,co.set=mt,co.startOf=br,co.subtract=Ra,co.toArray=_r,co.toObject=kr,co.toDate=wr,co.toISOString=tr,co.inspect=er,"undefined"!=typeof Symbol&&null!=Symbol.for&&(co[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),co.toJSON=Sr,co.toString=Qa,co.unix=xr,co.valueOf=yr,co.creationData=Er,co.eraName=Pr,co.eraNarrow=Nr,co.eraAbbr=Ar,co.eraYear=zr,co.year=be,co.isLeapYear=ve,co.weekYear=Ur,co.isoWeekYear=Gr,co.quarter=co.quarters=Qr,co.month=de,co.daysInMonth=pe,co.week=co.weeks=Te,co.isoWeek=co.isoWeeks=De,co.weeksInYear=Xr,co.weeksInWeekYear=Zr,co.isoWeeksInYear=Kr,co.isoWeeksInISOWeekYear=qr,co.date=to,co.day=co.days=Ue,co.weekday=Ge,co.isoWeekday=Ke,co.dayOfYear=eo,co.hour=co.hours=rn,co.minute=co.minutes=no,co.second=co.seconds=oo,co.millisecond=co.milliseconds=ro,co.utcOffset=ma,co.utc=va,co.local=ya,co.parseZone=xa,co.hasAlignedHourOffset=wa,co.isDST=_a,co.isLocal=Sa,co.isUtcOffset=Ca,co.isUtc=Ma,co.isUTC=Ma,co.zoneAbbr=lo,co.zoneName=so,co.dates=M("dates accessor is deprecated. Use date instead.",to),co.months=M("months accessor is deprecated. Use month instead",de),co.years=M("years accessor is deprecated. Use year instead",be),co.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",ba),co.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",ka);var ho=N.prototype;function go(t,e,n,a){var r=yn(),o=h().set(a,e);return r[n](o,t)}function mo(t,e,n){if(u(t)&&(e=t,t=void 0),t=t||"",null!=e)return go(t,e,n,"month");var a,r=[];for(a=0;a<12;a++)r[a]=go(t,a,n,"month");return r}function bo(t,e,n,a){"boolean"==typeof t?(u(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,u(e)&&(n=e,e=void 0),e=e||"");var r,o=yn(),i=t?o._week.dow:0,l=[];if(null!=n)return go(e,(n+i)%7,a,"day");for(r=0;r<7;r++)l[r]=go(e,(r+i)%7,a,"day");return l}function vo(t,e){return mo(t,e,"months")}function yo(t,e){return mo(t,e,"monthsShort")}function xo(t,e,n){return bo(t,e,n,"weekdays")}function wo(t,e,n){return bo(t,e,n,"weekdaysShort")}function _o(t,e,n){return bo(t,e,n,"weekdaysMin")}ho.calendar=z,ho.longDateFormat=K,ho.invalidDate=X,ho.ordinal=$,ho.preparse=fo,ho.postformat=fo,ho.relativeTime=tt,ho.pastFuture=et,ho.set=I,ho.eras=Tr,ho.erasParse=Dr,ho.erasConvertYear=Ir,ho.erasAbbrRegex=Lr,ho.erasNameRegex=Rr,ho.erasNarrowRegex=jr,ho.months=ie,ho.monthsShort=le,ho.monthsParse=ce,ho.monthsRegex=he,ho.monthsShortRegex=fe,ho.week=Ce,ho.firstDayOfYear=Ee,ho.firstDayOfWeek=Oe,ho.weekdays=Be,ho.weekdaysMin=Ye,ho.weekdaysShort=Ve,ho.weekdaysParse=We,ho.weekdaysRegex=qe,ho.weekdaysShortRegex=Xe,ho.weekdaysMinRegex=Ze,ho.isPM=nn,ho.meridiem=on,mn("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(t){var e=t%10;return t+(1===dt(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),a.lang=M("moment.lang is deprecated. Use moment.locale instead.",mn),a.langData=M("moment.langData is deprecated. Use moment.localeData instead.",yn);var ko=Math.abs;function So(){var t=this._data;return this._milliseconds=ko(this._milliseconds),this._days=ko(this._days),this._months=ko(this._months),t.milliseconds=ko(t.milliseconds),t.seconds=ko(t.seconds),t.minutes=ko(t.minutes),t.hours=ko(t.hours),t.months=ko(t.months),t.years=ko(t.years),this}function Co(t,e,n,a){var r=Ta(e,n);return t._milliseconds+=a*r._milliseconds,t._days+=a*r._days,t._months+=a*r._months,t._bubble()}function Mo(t,e){return Co(this,t,e,1)}function Oo(t,e){return Co(this,t,e,-1)}function Eo(t){return t<0?Math.floor(t):Math.ceil(t)}function To(){var t,e,n,a,r,o=this._milliseconds,i=this._days,l=this._months,s=this._data;return o>=0&&i>=0&&l>=0||o<=0&&i<=0&&l<=0||(o+=864e5*Eo(Io(l)+i),i=0,l=0),s.milliseconds=o%1e3,t=ut(o/1e3),s.seconds=t%60,e=ut(t/60),s.minutes=e%60,n=ut(e/60),s.hours=n%24,i+=ut(n/24),l+=r=ut(Do(i)),i-=Eo(Io(r)),a=ut(l/12),l%=12,s.days=i,s.months=l,s.years=a,this}function Do(t){return 4800*t/146097}function Io(t){return 146097*t/4800}function Po(t){if(!this.isValid())return NaN;var e,n,a=this._milliseconds;if("month"===(t=rt(t))||"quarter"===t||"year"===t)switch(e=this._days+a/864e5,n=this._months+Do(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(Io(this._months)),t){case"week":return e/7+a/6048e5;case"day":return e+a/864e5;case"hour":return 24*e+a/36e5;case"minute":return 1440*e+a/6e4;case"second":return 86400*e+a/1e3;case"millisecond":return Math.floor(864e5*e)+a;default:throw new Error("Unknown unit "+t)}}function No(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*dt(this._months/12):NaN}function Ao(t){return function(){return this.as(t)}}var zo=Ao("ms"),Ro=Ao("s"),Lo=Ao("m"),jo=Ao("h"),Fo=Ao("d"),Bo=Ao("w"),Vo=Ao("M"),Yo=Ao("Q"),Ho=Ao("y");function Wo(){return Ta(this)}function Uo(t){return t=rt(t),this.isValid()?this[t+"s"]():NaN}function Go(t){return function(){return this.isValid()?this._data[t]:NaN}}var Ko=Go("milliseconds"),qo=Go("seconds"),Xo=Go("minutes"),Zo=Go("hours"),Jo=Go("days"),$o=Go("months"),Qo=Go("years");function ti(){return ut(this.days()/7)}var ei=Math.round,ni={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ai(t,e,n,a,r){return r.relativeTime(e||1,!!n,t,a)}function ri(t,e,n,a){var r=Ta(t).abs(),o=ei(r.as("s")),i=ei(r.as("m")),l=ei(r.as("h")),s=ei(r.as("d")),c=ei(r.as("M")),u=ei(r.as("w")),d=ei(r.as("y")),p=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||i<=1&&["m"]||i<n.m&&["mm",i]||l<=1&&["h"]||l<n.h&&["hh",l]||s<=1&&["d"]||s<n.d&&["dd",s];return null!=n.w&&(p=p||u<=1&&["w"]||u<n.w&&["ww",u]),(p=p||c<=1&&["M"]||c<n.M&&["MM",c]||d<=1&&["y"]||["yy",d])[2]=e,p[3]=+t>0,p[4]=a,ai.apply(null,p)}function oi(t){return void 0===t?ei:"function"==typeof t&&(ei=t,!0)}function ii(t,e){return void 0!==ni[t]&&(void 0===e?ni[t]:(ni[t]=e,"s"===t&&(ni.ss=e-1),!0))}function li(t,e){if(!this.isValid())return this.localeData().invalidDate();var n,a,r=!1,o=ni;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(r=t),"object"==typeof e&&(o=Object.assign({},ni,e),null!=e.s&&null==e.ss&&(o.ss=e.s-1)),a=ri(this,!r,o,n=this.localeData()),r&&(a=n.pastFuture(+this,a)),n.postformat(a)}var si=Math.abs;function ci(t){return(t>0)-(t<0)||+t}function ui(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,a,r,o,i,l,s=si(this._milliseconds)/1e3,c=si(this._days),u=si(this._months),d=this.asSeconds();return d?(t=ut(s/60),e=ut(t/60),s%=60,t%=60,n=ut(u/12),u%=12,a=s?s.toFixed(3).replace(/\.?0+$/,""):"",r=d<0?"-":"",o=ci(this._months)!==ci(d)?"-":"",i=ci(this._days)!==ci(d)?"-":"",l=ci(this._milliseconds)!==ci(d)?"-":"",r+"P"+(n?o+n+"Y":"")+(u?o+u+"M":"")+(c?i+c+"D":"")+(e||t||s?"T":"")+(e?l+e+"H":"")+(t?l+t+"M":"")+(s?l+a+"S":"")):"P0D"}var di=la.prototype;return di.isValid=oa,di.abs=So,di.add=Mo,di.subtract=Oo,di.as=Po,di.asMilliseconds=zo,di.asSeconds=Ro,di.asMinutes=Lo,di.asHours=jo,di.asDays=Fo,di.asWeeks=Bo,di.asMonths=Vo,di.asQuarters=Yo,di.asYears=Ho,di.valueOf=No,di._bubble=To,di.clone=Wo,di.get=Uo,di.milliseconds=Ko,di.seconds=qo,di.minutes=Xo,di.hours=Zo,di.days=Jo,di.weeks=ti,di.months=$o,di.years=Qo,di.humanize=li,di.toISOString=ui,di.toString=ui,di.toJSON=ui,di.locale=lr,di.localeData=cr,di.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ui),di.lang=sr,V("X",0,0,"unix"),V("x",0,0,"valueOf"),zt("x",Dt),zt("X",Nt),Bt("X",(function(t,e,n){n._d=new Date(1e3*parseFloat(t))})),Bt("x",(function(t,e,n){n._d=new Date(dt(t))})),
//! moment.js
a.version="2.29.3",r(Zn),a.fn=co,a.min=ta,a.max=ea,a.now=na,a.utc=h,a.unix=uo,a.months=vo,a.isDate=d,a.locale=mn,a.invalid=v,a.duration=Ta,a.isMoment=S,a.weekdays=xo,a.parseZone=po,a.localeData=yn,a.isDuration=sa,a.monthsShort=yo,a.weekdaysMin=_o,a.defineLocale=bn,a.updateLocale=vn,a.locales=xn,a.weekdaysShort=wo,a.normalizeUnits=rt,a.relativeTimeRounding=oi,a.relativeTimeThreshold=ii,a.calendarFormat=Ya,a.prototype=co,a.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"},a}()})),Ult=t.forwardRef((function(e,n){var a,r,o,l,s,c,u,d,p=e.component,f=e.dashboard,h=e.data,g=e.getDataFromGodiva,m=e.eventDistributor,b=LM(p.key,{dataConfig:p.data,extraDataConfig:{dataStart:0,dataCount:1},data:h,getDataFromGodiva:g},m),v=N(b,2),y=v[0],x=v[1];t.useEffect((function(){x({dataConfig:p.data})}),[p.data]),t.useEffect((function(){x({data:h})}),[h]),t.useEffect((function(){x({getDataFromGodiva:g})}),[g]);var w=t.useMemo((function(){return y?N(y.data,1)[0]:[]}),[y,p.data]),_=t.useState([]),k=N(_,2),S=k[0],C=k[1];i.default.useEffect((function(){var t=[],e=[];p.data.value.forEach((function(t){e.push(p.cards[t.id])}));for(var n=p.grid.row.limit||1,a=0;a<e.length;a+=n)t.push(e.slice(a,a+n));C(t)}),[p.data.value,p.grid.row.limit]);var M=i.default.useRef(null),O=i.default.useMemo((function(){return"manual"!==p.grid.type?{}:{top:"".concat(p.grid.manual.top).concat(f.page.unit),right:"".concat(p.grid.manual.right).concat(f.page.unit),bottom:"".concat(p.grid.manual.bottom).concat(f.page.unit),left:"".concat(p.grid.manual.left).concat(f.page.unit)}}),[p.grid,f.page.unit]),E=i.default.useCallback((function(t){if(!M.current)return{};var e=M.current.clientHeight/S.length,n=p.grid.col.autoFill?0:p.grid.col.spacing||0;return 0===t?{top:t*e,bottom:(S.length-t-1)*e+n}:{top:t*e-n,bottom:(S.length-t-1)*e+n}}),[S.length,p.grid.col.spacing,p.grid.col.autoFill]),T=t.useState((function(){if(!p.data.timeRange)return[void 0,void 0];var t=TC.convertToSqlConfig(p.data.timeRange).filter,e=t[0].value[0],n=t[0].value[1];return[e&&Wlt(e),n&&Wlt(n)]})),D=N(T,2),I=D[0],P=D[1];t.useEffect((function(){if(p.data.timeRange){var t=TC.convertToSqlConfig(p.data.timeRange).filter,e=t[0].value[0],n=t[0].value[1];P([e&&Wlt(e),n&&Wlt(n)])}else P([void 0,void 0])}),[p.data.timeRange]);return t.useEffect((function(){var t=N(I,2),e=t[0],n=t[1];m.publish("onIndicatorCardDataRangeChange",[e?e.format("YYYY-MM-DD HH:mm:ss"):null,n?n.format("YYYY-MM-DD HH:mm:ss"):null])}),[I]),i.default.createElement("div",{className:"gcs-indicatorCard"},(null===(r=null===(a=p.data)||void 0===a?void 0:a.timeRange)||void 0===r?void 0:r.isCustomRange)&&i.default.createElement("div",{className:"gcs-indicatorCard-date"},"统计时间范围",i.default.createElement(Hlt.RangePicker,{value:I,onChange:function(t){var e=N(t,2),n=e[0],a=e[1];P([n,a])},showTime:"custom"===(null===(l=null===(o=p.data.timeRange)||void 0===o?void 0:o.value)||void 0===l?void 0:l.type)&&((null===(c=null===(s=p.data.timeRange)||void 0===s?void 0:s.value)||void 0===c?void 0:c.startTimeEnabled)||(null===(d=null===(u=p.data.timeRange)||void 0===u?void 0:u.value)||void 0===d?void 0:d.endTimeEnabled)),size:"small"})),i.default.createElement("div",{className:"gcs-indicatorCard-content"},i.default.createElement("div",{className:"gcs-indicatorCard-grid",style:O,ref:M},S.map((function(t,e){return i.default.createElement("div",{className:"gcs-indicatorCard-item-wrapper",key:e,style:E(e)},t.map((function(n,a){var r=e*(p.grid.row.limit||1)+a,o=a===t.length-1,l=e===S.length-1,s=p.data.value[r];return i.default.createElement($ot,z({key:"".concat(e-a),grid:p.grid,unit:f.page.unit,data:w,value:s,isRowLastOne:o,isColLastOne:l,timeRange:p.data.timeRange},n))})))})))))})),Glt=Ult,Klt=function(t){return{title:{text:t,textStyle:{color:"#999",fontSize:12},left:"center",top:"center"}}},qlt={px:"px",pt:"pt",percent:"%"},Xlt=function(t,e){var n,a,r,o,i,l,s,c,u,d,p,f,h,g,m,b=t.data.group[0],v=t.data.value[0],y=t.grid,x=!(null===(n=null==t?void 0:t.miscellaneous)||void 0===n?void 0:n.showInvalidData),w=0,_=[],k=[],S=null===(r=null===(a=null==t?void 0:t.miscellaneous)||void 0===a?void 0:a.combineDecimalItems)||void 0===r?void 0:r.enabled,C=null===(i=null===(o=null==t?void 0:t.miscellaneous)||void 0===o?void 0:o.combineDecimalItems)||void 0===i?void 0:i.value;if(e.map((function(t){var e=t[v.alias];if(x&&(0===e||"0"===e||""===e||null==e))return null;var n=jM(e,v).number;return n&&(w+=n),t})).filter((function(t){return null!==t})).forEach((function(e,n){var a=e[b.alias],r=jM(e[v.alias],v),o=r.text,i=r.number;if(S&&i&&i/w*100<=C)k.push(i);else{var l=t.values[a],s=l?Vot(l):Bot.DefaultColour[n%Bot.DefaultColour.length];_.push({name:e[b.alias],value:i,text:o,index:n,itemStyle:{color:s},label:function(){if(!t.label.isCustomColor&&"outside"===t.label.position)return{color:s}}()})}})),S){var M=k.reduce((function(t,e){return t+=e}),0);if(!x||0!==M){var O=null===(s=null===(l=null==t?void 0:t.miscellaneous)||void 0===l?void 0:l.combineDecimalItems)||void 0===s?void 0:s.colorFill,E=O?Vot(O):Bot.DefaultColour[_.length%Bot.DefaultColour.length];_.push({name:null===(u=null===(c=null==t?void 0:t.miscellaneous)||void 0===c?void 0:c.combineDecimalItems)||void 0===u?void 0:u.text,text:M.toString(),value:M,index:_.length,itemStyle:{color:E},label:function(){if(!t.label.isCustomColor&&"outside"===t.label.position)return{color:E}}()})}}var T={name:v.alias,type:"pie",center:["".concat(y.center.x).concat(qlt[y.center.xUnit]),"".concat(y.center.y).concat(qlt[y.center.yUnit])],radius:["".concat(void 0===y.isAnnulus||y.isAnnulus?y.innerRadius:0,"%"),"".concat(y.outerRadius,"%")],startAngle:y.startAngle,clockwise:y.clockwise,data:_,itemStyle:{borderColor:t.grid.borderColor?Vot(t.grid.borderColor):void 0,borderWidth:t.grid.borderWidth,borderRadius:t.grid.borderRadius}};t.roseTypeEnabled&&(T.roseType=t.roseType);var D,I,P,N,A,z,R={show:t.label.show,fontSize:t.label.fontSize,fontWeight:t.label.fontWeight,fontStyle:t.label.fontStyle,color:"#fff",alignTo:t.label.alignTo||"none"};"outside"!==t.label.position&&(R.position=t.label.position),"edge"===R.alignTo&&(R.position="outer",R.edgeDistance=t.label.edgeDistance),t.label.isCustomColor&&(R.color=t.label.customColor),(null===(p=null===(d=t.label)||void 0===d?void 0:d.lineDisplay)||void 0===p?void 0:p.enabled)&&(R.rich={first:{fontSize:t.label.fontSize,fontWeight:t.label.fontWeight,fontStyle:t.label.fontStyle,align:t.label.lineDisplay.textAlign},second:{fontSize:t.label.fontSize2,fontWeight:t.label.fontWeight2,fontStyle:t.label.fontStyle2,align:t.label.lineDisplay.textAlign}},t.label.isCustomColor2&&(R.rich.second.color=t.label.customColor2)),R.formatter=(null===(h=null===(f=t.label)||void 0===f?void 0:f.lineDisplay)||void 0===h?void 0:h.enabled)?function(t){var e=[],n=t.lineDisplay.firstLine.includes("group"),a=t.lineDisplay.firstLine.includes("series"),r=t.lineDisplay.firstLine.includes("value"),o=t.lineDisplay.firstLine.includes("percent");n&&a?e.push((function(t,e){return t.concat("".concat(e.name,"(").concat(e.seriesName,")"))})):n?e.push((function(t,e){return t.concat(e.name)})):a&&e.push((function(t,e){return t.concat(e.seriesName)})),r&&o?e.push((function(t,e){return t.concat("".concat(e.data.text,"(").concat(e.percent,"%)"))})):r?e.push((function(t,e){return t.concat(e.data.text)})):o&&e.push((function(t,e){return t.concat("".concat(e.percent,"%"))}));var i=[],l=t.lineDisplay.secondLine.includes("group"),s=t.lineDisplay.secondLine.includes("series"),c=t.lineDisplay.secondLine.includes("value"),u=t.lineDisplay.secondLine.includes("percent");return l&&s?i.push((function(t,e){return t.concat("".concat(Object.values(e.name),"(").concat(e.seriesName,")"))})):l?i.push((function(t,e){return t.concat(Object.values(e.name))})):s&&i.push((function(t,e){return t.concat(e.seriesName)})),c&&u?i.push((function(t,e){return t.concat("".concat(e.data.text,"(").concat(e.percent,"%)"))})):c?i.push((function(t,e){return t.concat(e.data.text)})):u&&i.push((function(t,e){return t.concat("".concat(e.percent,"%"))})),function(t){var n=[],a=[];return e.forEach((function(e){n=e(n,t)})),i.forEach((function(e){a=e(a,t)})),"{first|".concat(n.join(","),"}\n{second|").concat(a.join(","),"}")}}(t.label):(D=t.label.tooltips,I=[],P=D.includes("group"),N=D.includes("series"),A=D.includes("value"),z=D.includes("percent"),P&&N?I.push((function(t,e){return t.concat("".concat(e.name,"(").concat(e.seriesName,")"))})):P?I.push((function(t,e){return t.concat(e.name)})):N&&I.push((function(t,e){return t.concat(e.seriesName)})),A&&z?I.push((function(t,e){return t.concat("".concat(e.data.text,"(").concat(e.percent,"%)"))})):A?I.push((function(t,e){return t.concat(e.data.text)})):z&&I.push((function(t,e){return t.concat("".concat(e.percent,"%"))})),function(t){var e=[];return I.forEach((function(n){e=n(e,t)})),e.join("\n")}),T.label=R;var L={show:t.labelLine.show};if(t.labelLine.show&&(L.length=t.labelLine.length,L.length2=t.labelLine.length2),t.labelLine.isCustomColor&&(L.lineStyle={color:t.labelLine.customColor}),t.grid.minShowLabelAngle&&(T.minShowLabelAngle=t.grid.minShowLabelAngle,L.minTurnAngle=t.grid.minShowLabelAngle),T.labelLine=L,null===(g=null==t?void 0:t.tooltips)||void 0===g?void 0:g.show){var j={showGroup:t.tooltips.tooltips.includes("group"),showSeries:t.tooltips.tooltips.includes("series"),showValue:t.tooltips.tooltips.includes("value"),showPercent:t.tooltips.tooltips.includes("percent")};T.tooltip={show:!0,formatter:function(t){var e,n=t.seriesName,a=t.name,r=t.marker,o=t.value,i=t.percent;j.showValue&&j.showPercent?e='<span style="float:right;margin-left:20px;">'.concat(o,"(").concat(i,"%)</span>"):j.showValue?e='<span style="float:right;margin-left:20px;">'.concat(o,"</span>"):j.showPercent&&(e='<span style="float:right;margin-left:20px;">'.concat(i,"%</span>"));var l=j.showGroup?'<div style="line-height:1;">'.concat(n,"</div>"):"",s=j.showSeries?"".concat(r,'<span style="margin-left:2px">').concat(a,"</span>"):"";return'<div style="margin:0;line-height:1;">'.concat(l,'<div style="margin: 10px 0 0;line-height:1;"><div style="margin: 0;line-height:1;">').concat(s).concat(e,'<div style="clear:both"></div></div><div style="clear:both"></div></div><div style="clear:both"></div></div></div>')},textStyle:{color:t.tooltips.color,fontSize:t.tooltips.fontSize,fontWeight:t.tooltips.fontWeight,fontStyle:t.tooltips.fontStyle},backgroundColor:t.tooltips.backgroundColor}}var F={type:"text",style:{text:"",textAlign:"center",rich:{}},left:"".concat(y.center.x).concat(qlt[y.center.xUnit]),top:"".concat(y.center.y).concat(qlt[y.center.yUnit])},B=null===(m=t.grid)||void 0===m?void 0:m.centerContent;return B&&(B.index.forEach((function(t){if(B[t].show)switch(F.style.text&&(F.style.text+="\n"),F.style.rich[t]={fill:B[t].color,fontSize:B[t].fontSize},t){case"total":F.style.text+="{total|".concat(w.toString(),"}");break;case"group":F.style.text+="{group|".concat(_[0].name,"}");break;case"series":F.style.text+="{series|".concat(v.alias,"}");break;case"value":F.style.text+="{value|".concat(_[0].value.toString(),"}");break;case"percent":F.style.text+="{percent|".concat((_[0].value/w).toFixed(2),"%}")}})),"50%"===F.left&&(F.left="center"),"50%"===F.top&&(F.top="middle")),""===F.style.text&&(F=null),{series:[T],graphic:F,total:w}},Zlt=function(t,e,n){var a,r=t.grid,o={type:"text",style:{text:"",textAlign:"center",rich:{}},left:"".concat(r.center.x).concat(qlt[r.center.xUnit]),top:"".concat(r.center.y).concat(qlt[r.center.yUnit])},i=null===(a=t.grid)||void 0===a?void 0:a.centerContent;return i&&(i.index.forEach((function(t){if(i[t].show)switch(o.style.text&&(o.style.text+="\n"),o.style.rich[t]={fill:i[t].color,fontSize:i[t].fontSize},t){case"total":o.style.text+="{total|".concat(n.toString(),"}");break;case"group":o.style.text+="{group|".concat(e.name,"}");break;case"series":o.style.text+="{series|".concat(e.seriesName,"}");break;case"value":o.style.text+="{value|".concat(e.value,"}");break;case"percent":o.style.text+="{percent|".concat(e.percent,"%}")}})),"50%"===o.left&&(o.left="center"),"50%"===o.top&&(o.top="middle")),o};Kq([A$,ant,B7,$9,Iet,hat,Rat,_rt,nJ]);var Jlt=t.forwardRef((function(e,n){var a=e.component,r=e.data,o=e.getDataFromGodiva,l=e.eventDistributor,s=t.useRef(),c=t.useRef(),u=LM(a.key,{dataConfig:a.data,data:r,getDataFromGodiva:o},l),d=N(u,2),p=d[0],f=d[1];t.useEffect((function(){f({dataConfig:a.data})}),[a.data]),t.useEffect((function(){if(a.dataRange.start||a.dataRange.end){var t={dataStart:a.dataRange.start?a.dataRange.start-1:0};a.dataRange.end&&(t.dataCount=a.dataRange.end-t.dataStart),f({extraDataConfig:t})}else f({extraDataConfig:void 0})}),[a.dataRange]),t.useEffect((function(){f({data:r})}),[r]),t.useEffect((function(){f({getDataFromGodiva:o})}),[o]);var h=t.useMemo((function(){return p?p.data:[]}),[p,a.data]);return t.useEffect((function(){c.current=RG(s.current)}),[]),t.useEffect((function(){var t;null===(t=c.current)||void 0===t||t.resize()}),[a.style]),t.useEffect((function(){var t,e,n;function r(t){if("pie"===t.componentSubType){var n=Zlt(a,t,e);n&&c.current.setOption({graphic:n})}}if(c.current&&(t=function(t,e){var n,a,r;if(1!==t.data.group.length||1!==t.data.value.length||0===e.length)return Klt("无数据");if(e.length>3e3)return Klt("数据过多, 无法渲染");var o={color:"#31b7fa"};(!(null===(n=null==t?void 0:t.tooltips)||void 0===n?void 0:n.show)&&void 0===(null===(a=null==t?void 0:t.tooltips)||void 0===a?void 0:a.show)||(null===(r=null==t?void 0:t.tooltips)||void 0===r?void 0:r.show))&&(o.tooltip={confine:!0});var i=Xlt(t,e),l=i.series,s=i.graphic,c=i.total;o.series=l,o.customConfig={total:c},s&&(o.graphic=s);var u=Hot(t.legend);return u&&(o.legend=u),o}(a,h),t.customConfig&&(e=t.customConfig.total,delete t.customConfig),c.current.setOption(t,{notMerge:!0}),c.current.resize(),t.graphic&&c.current.on("mouseover",r),a.grid.isAnnulus&&a.grid.centerContent.carousel.enabled)){var o=0;n=setInterval((function(){var n=t.series[0].data;o===n.length&&(o=0);var r=Zlt(a,{name:n[o].name,seriesName:t.series[0].name,value:n[o].value||0,percent:n[o].value?(n[o].value/e*100).toFixed(2):"0"},e);r&&c.current.setOption({graphic:r}),o++}),a.grid.centerContent.carousel.timeout)}return function(){(null==t?void 0:t.graphic)&&c.current.off("mouseover",r),n&&clearInterval(n)}}),[h,a]),i.default.createElement("div",{ref:s,className:"gcs-pie"})})),$lt=Jlt,Qlt=function(t){return{title:{text:t,textStyle:{color:"#999",fontSize:12},left:"center",top:"center"}}},tst=function(t,e){var n,a,r,o,i,l,s,c=t.series[e],u={};if(!c)return u;u.itemStyle={opacity:null===(n=null==c?void 0:c.itemStyle)||void 0===n?void 0:n.opacity,color:(null===(a=null==c?void 0:c.itemStyle)||void 0===a?void 0:a.color)&&Vot(null===(r=null==c?void 0:c.itemStyle)||void 0===r?void 0:r.color)||void 0,borderWidth:null===(o=null==c?void 0:c.itemStyle)||void 0===o?void 0:o.borderWidth,borderType:null===(i=null==c?void 0:c.itemStyle)||void 0===i?void 0:i.borderType,borderColor:(null===(l=null==c?void 0:c.itemStyle)||void 0===l?void 0:l.color)&&Vot(null===(s=null==c?void 0:c.itemStyle)||void 0===s?void 0:s.borderColor)||void 0},u.lineStyle={type:c.lineStyle.type,width:c.lineStyle.width};var d=Vot(c.lineStyle.colorFill);if(d&&(u.lineStyle.color=d),c.label.show&&(u.label={show:c.label.show,color:c.label.color,fontSize:c.label.fontSize,formatter:function(t){var e=t.value;return"".concat(0|e,"{unit|").concat(c.label.unit.value,"}")},rich:{unit:{color:c.label.unit.color,fontSize:c.label.unit.fontSize}}}),c.areaStyle.enabled){u.areaStyle={opacity:c.areaStyle.opacity};var p=Vot(c.areaStyle.colorFill);p&&(u.areaStyle.color=p)}return u},est=function(t){return{axisLabel:{show:t.show,fontSize:t.fontSize,color:t.color,formatter:function(e){return"".concat(e,"{unit|").concat(t.unit.value,"}")},rich:{unit:{color:t.unit.color,fontSize:t.unit.fontSize}}}}},nst=function(t,e){var n,a,r,o,i,l,s,c,u,d,p,f,h;if(0===e.length)return Qlt("无数据");if(e.length>3e3)return Qlt("数据过多, 无法渲染");var g={};if(t.data.group.forEach((function(t){g[t.alias]=Array.from(new Set(e.map((function(e){return e[t.alias]}))))})),Object.values(g).reduce((function(t,e){return t*e.length}),1)>3e3)return Qlt("维度数据过多, 无法渲染");var m,b={tooltip:{trigger:"item",confine:!0},radar:{shape:t.shape,center:t.center,radius:t.radius,name:{show:t.radarName.show,fontSize:t.radarName.fontSize,color:t.radarName.color},axisLine:{lineStyle:{color:(null===(n=null==t?void 0:t.axisLine)||void 0===n?void 0:n.color)||"#333",width:null!==(r=null===(a=null==t?void 0:t.axisLine)||void 0===a?void 0:a.width)&&void 0!==r?r:1,type:(null===(o=null==t?void 0:t.axisLine)||void 0===o?void 0:o.type)||"solid"}},splitArea:{areaStyle:{color:(null===(l=null===(i=null==t?void 0:t.split)||void 0===i?void 0:i.areaStyle)||void 0===l?void 0:l.color)||["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}},splitLine:{lineStyle:{color:(null===(c=null===(s=null==t?void 0:t.split)||void 0===s?void 0:s.lineStyle)||void 0===c?void 0:c.color)||["#ccc"],width:null!==(p=null===(d=null===(u=null==t?void 0:t.split)||void 0===u?void 0:u.lineStyle)||void 0===d?void 0:d.width)&&void 0!==p?p:1,type:(null===(h=null===(f=null==t?void 0:t.split)||void 0===f?void 0:f.lineStyle)||void 0===h?void 0:h.type)||"solid"}}}};switch(tM.getRenderMode(t.data)){case tM.MULTIPLE_INDICATORS:m=[],t.data.target.forEach((function(t){return m.push({name:t.alias})})),z(m[0],est(t.axisLabel)),b.radar.indicator=m,b.series=function(t,e,n){var a=t.data.target.map((function(t){return e[0][t.alias]})),r=a.map((function(t,e){var n=new Array(a.length);return n.splice(e,1,t),n})),o=Math.max.apply(Math,Cv(a));return n.forEach((function(t){return t.max=1.2*o|0})),[e].concat(Cv(r)).map((function(e,r){return 0===r?{type:"radar",data:[z(z({},tst(t,tM.MULTIPLE_INDICATORS)),{value:a})],z:1,tooltip:{show:!1}}:{type:"radar",symbol:"none",lineStyle:{color:"transparent"},tooltip:{formatter:function(){return"".concat(n[r-1].name,": ").concat(a[r-1])}},z:2,data:[e]}}))}(t,e,m);break;case tM.MULTIPLE_INDICATORS_IN_GROUP:!function(){var n,a,r,o=[],i=null===(r=null===(a=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.group)||void 0===a?void 0:a[0])||void 0===r?void 0:r.alias;i&&(e.forEach((function(t){return o.push({name:t[i]})})),z(o[0],est(t.axisLabel)),b.radar.indicator=o),b.series=function(t,e,n){var a=new Array(t.data.target.length).fill(0).map((function(){return[]})),r=new Array(t.data.target.length),o=new Array(n.length).fill(0).map((function(){return[]})),i=new Array(n.length).fill(0).map((function(){return[]})),l=[];return t.data.target.forEach((function(t,n){e.forEach((function(e,r){a[n].push(e[t.alias]),o[r].push(e[t.alias]),i[r].push({targetIndex:n,value:e[t.alias]})})),r[n]=a[n].map((function(t,e){var r=new Array(a[n].length);return r.splice(e,1,t),r}))})),a.forEach((function(e,a){[e].concat(Cv(r[a])).forEach((function(r,o){0===o?l.push({type:"radar",data:[z(z({},tst(t,t.data.target[a].id)),{value:r,name:t.data.target[a].alias,tooltip:{show:!1}})],z:a+1}):l.push({type:"radar",symbol:"none",lineStyle:{color:"transparent"},z:t.data.target.length+1,data:[{value:r,name:t.data.target[a].alias,tooltip:{formatter:function(){return"".concat(n[o-1].name,"<br />").concat(t.data.target[a].alias,": ").concat(e[o-1])}}}]})}))})),n.forEach((function(t,e){return t.max=1.2*Math.max.apply(Math,Cv(o[e]))|0})),i.forEach((function(e,a){e.sort((function(t,e){return t.value-e.value})),e.forEach((function(e,r){l[a+e.targetIndex*(n.length+1)+1].z=2*t.data.target.length-r}))})),l}(t,e,o)}();break;case tM.MULTIPLE_INDICATORS_IN_COLOR:!function(){var n=[];t.data.target.forEach((function(t){return n.push({name:t.alias})})),z(n[0],est(t.axisLabel)),b.radar.indicator=n,b.series=function(t,e,n){var a=new Array(n.length).fill(0).map((function(){return[]})),r=new Array(n.length).fill(0).map((function(){return[]})),o=t.data.color[0].alias,i=[];return e.forEach((function(l,s){var c=t.data.target.map((function(t){return l[t.alias]})),u=c.map((function(t,e){var n=new Array(c.length);return n.splice(e,1,t),n}));c.forEach((function(t,e){a[e].push(t),r[e].push({dataIndex:s,value:t})})),[l].concat(Cv(u)).forEach((function(a,r){0===r?i.push({type:"radar",data:[z(z({},tst(t,l[o])),{value:c,name:l[o],tooltip:{show:!1}})],z:s+1}):i.push({type:"radar",symbol:"none",lineStyle:{color:"transparent"},z:e.length+1,data:[{value:a,name:l[o],tooltip:{formatter:function(){return"".concat(l[o],"<br />").concat(n[r-1].name,": ").concat(c[r-1])}}}]})}))})),n.forEach((function(t,e){return t.max=1.2*Math.max.apply(Math,Cv(a[e]))|0})),r.forEach((function(t,a){t.sort((function(t,e){return t.value-e.value})),t.forEach((function(t,r){i[(n.length+1)*t.dataIndex+a+1].z=2*e.length-r}))})),i}(t,e,n)}();break;case tM.ONE_INDICATOR_FOR_TWO_DIMENSIONS:!function(){var n,a,r,o=[],i=null===(r=null===(a=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.group)||void 0===a?void 0:a[0])||void 0===r?void 0:r.alias,l=[];e.forEach((function(t){l.includes(t[i])||(l.push(t[i]),o.push({name:t[i]}))})),z(o[0],est(t.axisLabel)),b.radar.indicator=o,b.series=function(t,e,n){var a=[],r=new Array(n.length).fill(0).map((function(){return[]})),o=new Array(n.length).fill(0).map((function(){return[]})),i=t.data.color[0].alias,l=t.data.group[0].alias,s=t.data.target[0].alias,c=[];e.forEach((function(t){c.includes(t[i])||c.push(t[i])}));var u=new Array(c.length).fill(0).map((function(){return[]})),d=new Array(c.length);return c.forEach((function(t,a){n.forEach((function(n,c){var d=n.name,p=e.find((function(e){return d===e[l]&&t===e[i]}));u[a].push(p?p[s]:null),r[c].push(p?p[s]:null),o[c].push({uniqueColorIndex:a,value:p?p[s]:null})})),d[a]=u[a].map((function(t,e){var n=new Array(u[a].length);return n.splice(e,1,t),n}))})),u.forEach((function(e,r){[e].concat(Cv(d[r])).forEach((function(o,i){0===i?a.push({type:"radar",data:[z(z({},tst(t,c[r])),{value:o,name:c[r],tooltip:{show:!1}})],z:r+1}):a.push({type:"radar",symbol:"none",lineStyle:{color:"transparent"},z:t.data.target.length+1,data:[{value:o,name:c[r],tooltip:{formatter:function(){return"".concat(n[i-1].name,"<br />").concat(c[r],": ").concat(e[i-1])}}}]})}))})),n.forEach((function(t,e){return t.max=1.2*Math.max.apply(Math,Cv(r[e]))|0})),o.forEach((function(t,e){t.sort((function(t,e){return t.value-e.value})),t.forEach((function(t,r){a[e+t.uniqueColorIndex*(n.length+1)+1].z=2*c.length-r}))})),a}(t,e,o)}()}if(tM.getRenderMode(t.data)!==tM.MULTIPLE_INDICATORS){var v=Hot(t.legend);v&&(b.legend=v)}return b};Kq([ant,hat,qQ,nJ]);var ast=t.forwardRef((function(e,n){var a=e.component,r=e.data,o=e.getDataFromGodiva,l=e.eventDistributor,s=t.useRef(),c=t.useRef(),u=LM(a.key,{dataConfig:a.data,data:r,getDataFromGodiva:o},l),d=N(u,2),p=d[0],f=d[1];t.useEffect((function(){f({dataConfig:a.data})}),[a.data]),t.useEffect((function(){if(a.dataRange.start||a.dataRange.end){var t={dataStart:a.dataRange.start?a.dataRange.start-1:0};a.dataRange.end&&(t.dataCount=a.dataRange.end-t.dataStart),f({extraDataConfig:t})}else f({extraDataConfig:void 0})}),[a.dataRange]),t.useEffect((function(){f({data:r})}),[r]),t.useEffect((function(){f({getDataFromGodiva:o})}),[o]);var h=t.useMemo((function(){return p?p.data:[]}),[p,a.data]);return t.useEffect((function(){c.current=RG(s.current)}),[]),t.useEffect((function(){var t;null===(t=c.current)||void 0===t||t.resize()}),[a.style]),t.useEffect((function(){if(c.current){var t=nst(a,h);c.current.setOption(t,{notMerge:!0}),c.current.resize()}}),[h,a]),i.default.createElement("div",{ref:s,className:"gcs-radar"})})),rst=ast,ost=t.forwardRef((function(e,n){var a=e.component,r=e.dashboard,o=t.useMemo((function(){var t=a.title;return{color:t.color,fontSize:t.fontSize||16}}),[a.title]),l=t.useMemo((function(){var t={};switch(a.background.type){case"color_fill":var e=a.background.colorFill;switch(e.type){case"pure":t.background=e.color;break;case"linear":t.background="linear-gradient(to right, ".concat(e.startColor," , ").concat(e.endColor,")");break;case"radial":t.background="radial-gradient(circle, ".concat(e.startColor," ").concat(e.radius,"px, ").concat(e.endColor,")")}break;case"image":switch(t.backgroundImage="url(".concat(r.images[a.background.image.url],")"),t.backgroundRepeat="no-repeat",t.backgroundPosition="".concat(a.background.image.horizontalAlign," ").concat(a.background.image.verticalAlign),a.background.image.mode){case"default":break;case"cover_x":t.backgroundSize="100% auto";break;case"cover_y":t.backgroundSize="auto 100%";break;case"cover":t.backgroundSize="100% 100%"}}return a.border.width>0&&(t.border="".concat(a.border.width,"px ").concat(a.border.type," ").concat(a.border.color),t.borderRadius="".concat(a.border.radius,"px")),t}),[a.border,a.background]),s=t.useMemo((function(){switch(a.chartType){case"table":return GM;case"progress":return Fot;case"line":case"column":case"mixed":case"bar":return Zot;case"pie":return $lt;case"indicator-card":return Glt;case"radar":return rst;default:return function(){return null}}}),[a.chartType]);return i.default.createElement("div",{className:"gcs-chartContainer",style:l},a.title.show&&i.default.createElement("div",{className:"gcs-chartContainer-title",style:o},i.default.createElement("span",null,a.title.value),a.tooltip.show&&i.default.createElement(Uh,{title:a.tooltip.value},i.default.createElement("span",null,i.default.createElement(nt,null)))),i.default.createElement("div",{className:"gcs-chartContainer-content"},i.default.createElement(s,z({},e,{ref:n}))))})),ist=ost,lst=v((function(t,e){t.exports=function(){var t=Array.prototype.slice;function e(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function n(t){return i(t)?t:K(t)}function a(t){return l(t)?t:q(t)}function r(t){return s(t)?t:X(t)}function o(t){return i(t)&&!c(t)?t:Z(t)}function i(t){return!(!t||!t[d])}function l(t){return!(!t||!t[p])}function s(t){return!(!t||!t[f])}function c(t){return l(t)||s(t)}function u(t){return!(!t||!t[h])}e(a,n),e(r,n),e(o,n),n.isIterable=i,n.isKeyed=l,n.isIndexed=s,n.isAssociative=c,n.isOrdered=u,n.Keyed=a,n.Indexed=r,n.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",f="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",g="delete",m=5,b=1<<m,v=b-1,y={},x={value:!1},w={value:!1};function _(t){return t.value=!1,t}function k(t){t&&(t.value=!0)}function S(){}function C(t,e){e=e||0;for(var n=Math.max(0,t.length-e),a=new Array(n),r=0;r<n;r++)a[r]=t[r+e];return a}function M(t){return void 0===t.size&&(t.size=t.__iterate(E)),t.size}function O(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?M(t)+e:e}function E(){return!0}function T(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function D(t,e){return P(t,e,0)}function I(t,e){return P(t,e,e)}function P(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}var N=0,A=1,z=2,R="function"==typeof Symbol&&Symbol.iterator,L="@@iterator",j=R||L;function F(t){this.next=t}function B(t,e,n,a){var r=0===t?e:1===t?n:[e,n];return a?a.value=r:a={value:r,done:!1},a}function V(){return{value:void 0,done:!0}}function Y(t){return!!U(t)}function H(t){return t&&"function"==typeof t.next}function W(t){var e=U(t);return e&&e.call(t)}function U(t){var e=t&&(R&&t[R]||t[L]);if("function"==typeof e)return e}function G(t){return t&&"number"==typeof t.length}function K(t){return null==t?it():i(t)?t.toSeq():ct(t)}function q(t){return null==t?it().toKeyedSeq():i(t)?l(t)?t.toSeq():t.fromEntrySeq():lt(t)}function X(t){return null==t?it():i(t)?l(t)?t.entrySeq():t.toIndexedSeq():st(t)}function Z(t){return(null==t?it():i(t)?l(t)?t.entrySeq():t:st(t)).toSetSeq()}F.prototype.toString=function(){return"[Iterator]"},F.KEYS=N,F.VALUES=A,F.ENTRIES=z,F.prototype.inspect=F.prototype.toSource=function(){return this.toString()},F.prototype[j]=function(){return this},e(K,n),K.of=function(){return K(arguments)},K.prototype.toSeq=function(){return this},K.prototype.toString=function(){return this.__toString("Seq {","}")},K.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},K.prototype.__iterate=function(t,e){return dt(this,t,e,!0)},K.prototype.__iterator=function(t,e){return pt(this,t,e,!0)},e(q,K),q.prototype.toKeyedSeq=function(){return this},e(X,K),X.of=function(){return X(arguments)},X.prototype.toIndexedSeq=function(){return this},X.prototype.toString=function(){return this.__toString("Seq [","]")},X.prototype.__iterate=function(t,e){return dt(this,t,e,!1)},X.prototype.__iterator=function(t,e){return pt(this,t,e,!1)},e(Z,K),Z.of=function(){return Z(arguments)},Z.prototype.toSetSeq=function(){return this},K.isSeq=ot,K.Keyed=q,K.Set=Z,K.Indexed=X;var J,$,Q,tt="@@__IMMUTABLE_SEQ__@@";function et(t){this._array=t,this.size=t.length}function nt(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function at(t){this._iterable=t,this.size=t.length||t.size}function rt(t){this._iterator=t,this._iteratorCache=[]}function ot(t){return!(!t||!t[tt])}function it(){return J||(J=new et([]))}function lt(t){var e=Array.isArray(t)?new et(t).fromEntrySeq():H(t)?new rt(t).fromEntrySeq():Y(t)?new at(t).fromEntrySeq():"object"==typeof t?new nt(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function st(t){var e=ut(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function ct(t){var e=ut(t)||"object"==typeof t&&new nt(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}function ut(t){return G(t)?new et(t):H(t)?new rt(t):Y(t)?new at(t):void 0}function dt(t,e,n,a){var r=t._cache;if(r){for(var o=r.length-1,i=0;i<=o;i++){var l=r[n?o-i:i];if(!1===e(l[1],a?l[0]:i,t))return i+1}return i}return t.__iterateUncached(e,n)}function pt(t,e,n,a){var r=t._cache;if(r){var o=r.length-1,i=0;return new F((function(){var t=r[n?o-i:i];return i++>o?V():B(e,a?t[0]:i-1,t[1])}))}return t.__iteratorUncached(e,n)}function ft(t,e){return e?ht(e,t,"",{"":t}):gt(t)}function ht(t,e,n,a){return Array.isArray(e)?t.call(a,n,X(e).map((function(n,a){return ht(t,n,a,e)}))):mt(e)?t.call(a,n,q(e).map((function(n,a){return ht(t,n,a,e)}))):e}function gt(t){return Array.isArray(t)?X(t).map(gt).toList():mt(t)?q(t).map(gt).toMap():t}function mt(t){return t&&(t.constructor===Object||void 0===t.constructor)}function bt(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if((t=t.valueOf())===(e=e.valueOf())||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function vt(t,e){if(t===e)return!0;if(!i(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||l(t)!==l(e)||s(t)!==s(e)||u(t)!==u(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!c(t);if(u(t)){var a=t.entries();return e.every((function(t,e){var r=a.next().value;return r&&bt(r[1],t)&&(n||bt(r[0],e))}))&&a.next().done}var r=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{r=!0;var o=t;t=e,e=o}var d=!0,p=e.__iterate((function(e,a){if(n?!t.has(e):r?!bt(e,t.get(a,y)):!bt(t.get(a,y),e))return d=!1,!1}));return d&&t.size===p}function yt(t,e){if(!(this instanceof yt))return new yt(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if($)return $;$=this}}function xt(t,e){if(!t)throw new Error(e)}function wt(t,e,n){if(!(this instanceof wt))return new wt(t,e,n);if(xt(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),n=void 0===n?1:Math.abs(n),e<t&&(n=-n),this._start=t,this._end=e,this._step=n,this.size=Math.max(0,Math.ceil((e-t)/n-1)+1),0===this.size){if(Q)return Q;Q=this}}function _t(){throw TypeError("Abstract")}function kt(){}function St(){}function Ct(){}K.prototype[tt]=!0,e(et,X),et.prototype.get=function(t,e){return this.has(t)?this._array[O(this,t)]:e},et.prototype.__iterate=function(t,e){for(var n=this._array,a=n.length-1,r=0;r<=a;r++)if(!1===t(n[e?a-r:r],r,this))return r+1;return r},et.prototype.__iterator=function(t,e){var n=this._array,a=n.length-1,r=0;return new F((function(){return r>a?V():B(t,r,n[e?a-r++:r++])}))},e(nt,q),nt.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},nt.prototype.has=function(t){return this._object.hasOwnProperty(t)},nt.prototype.__iterate=function(t,e){for(var n=this._object,a=this._keys,r=a.length-1,o=0;o<=r;o++){var i=a[e?r-o:o];if(!1===t(n[i],i,this))return o+1}return o},nt.prototype.__iterator=function(t,e){var n=this._object,a=this._keys,r=a.length-1,o=0;return new F((function(){var i=a[e?r-o:o];return o++>r?V():B(t,i,n[i])}))},nt.prototype[h]=!0,e(at,X),at.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=W(this._iterable),a=0;if(H(n))for(var r;!(r=n.next()).done&&!1!==t(r.value,a++,this););return a},at.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=W(this._iterable);if(!H(n))return new F(V);var a=0;return new F((function(){var e=n.next();return e.done?e:B(t,a++,e.value)}))},e(rt,X),rt.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n,a=this._iterator,r=this._iteratorCache,o=0;o<r.length;)if(!1===t(r[o],o++,this))return o;for(;!(n=a.next()).done;){var i=n.value;if(r[o]=i,!1===t(i,o++,this))break}return o},rt.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterator,a=this._iteratorCache,r=0;return new F((function(){if(r>=a.length){var e=n.next();if(e.done)return e;a[r]=e.value}return B(t,r,a[r++])}))},e(yt,X),yt.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},yt.prototype.get=function(t,e){return this.has(t)?this._value:e},yt.prototype.includes=function(t){return bt(this._value,t)},yt.prototype.slice=function(t,e){var n=this.size;return T(t,e,n)?this:new yt(this._value,I(e,n)-D(t,n))},yt.prototype.reverse=function(){return this},yt.prototype.indexOf=function(t){return bt(this._value,t)?0:-1},yt.prototype.lastIndexOf=function(t){return bt(this._value,t)?this.size:-1},yt.prototype.__iterate=function(t,e){for(var n=0;n<this.size;n++)if(!1===t(this._value,n,this))return n+1;return n},yt.prototype.__iterator=function(t,e){var n=this,a=0;return new F((function(){return a<n.size?B(t,a++,n._value):V()}))},yt.prototype.equals=function(t){return t instanceof yt?bt(this._value,t._value):vt(t)},e(wt,X),wt.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},wt.prototype.get=function(t,e){return this.has(t)?this._start+O(this,t)*this._step:e},wt.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},wt.prototype.slice=function(t,e){return T(t,e,this.size)?this:(t=D(t,this.size),(e=I(e,this.size))<=t?new wt(0,0):new wt(this.get(t,this._end),this.get(e,this._end),this._step))},wt.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step==0){var n=e/this._step;if(n>=0&&n<this.size)return n}return-1},wt.prototype.lastIndexOf=function(t){return this.indexOf(t)},wt.prototype.__iterate=function(t,e){for(var n=this.size-1,a=this._step,r=e?this._start+n*a:this._start,o=0;o<=n;o++){if(!1===t(r,o,this))return o+1;r+=e?-a:a}return o},wt.prototype.__iterator=function(t,e){var n=this.size-1,a=this._step,r=e?this._start+n*a:this._start,o=0;return new F((function(){var i=r;return r+=e?-a:a,o>n?V():B(t,o++,i)}))},wt.prototype.equals=function(t){return t instanceof wt?this._start===t._start&&this._end===t._end&&this._step===t._step:vt(this,t)},e(_t,n),e(kt,_t),e(St,_t),e(Ct,_t),_t.Keyed=kt,_t.Indexed=St,_t.Set=Ct;var Mt="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var n=65535&(t|=0),a=65535&(e|=0);return n*a+((t>>>16)*a+n*(e>>>16)<<16>>>0)|0};function Ot(t){return t>>>1&1073741824|3221225471&t}function Et(t){if(!1===t||null==t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null==t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){var n=0|t;for(n!==t&&(n^=4294967295*t);t>4294967295;)n^=t/=4294967295;return Ot(n)}if("string"===e)return t.length>Ft?Tt(t):Dt(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return It(t);if("function"==typeof t.toString)return Dt(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function Tt(t){var e=Yt[t];return void 0===e&&(e=Dt(t),Vt===Bt&&(Vt=0,Yt={}),Vt++,Yt[t]=e),e}function Dt(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return Ot(e)}function It(t){var e;if(Rt&&void 0!==(e=zt.get(t)))return e;if(void 0!==(e=t[jt]))return e;if(!Nt){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[jt]))return e;if(void 0!==(e=At(t)))return e}if(e=++Lt,1073741824&Lt&&(Lt=0),Rt)zt.set(t,e);else{if(void 0!==Pt&&!1===Pt(t))throw new Error("Non-extensible objects are not allowed as keys.");if(Nt)Object.defineProperty(t,jt,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[jt]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[jt]=e}}return e}var Pt=Object.isExtensible,Nt=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}();function At(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}var zt,Rt="function"==typeof WeakMap;Rt&&(zt=new WeakMap);var Lt=0,jt="__immutablehash__";"function"==typeof Symbol&&(jt=Symbol(jt));var Ft=16,Bt=255,Vt=0,Yt={};function Ht(t){xt(t!==1/0,"Cannot perform this action with an infinite size.")}function Wt(t){return null==t?re():Ut(t)&&!u(t)?t:re().withMutations((function(e){var n=a(t);Ht(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}function Ut(t){return!(!t||!t[Kt])}e(Wt,kt),Wt.prototype.toString=function(){return this.__toString("Map {","}")},Wt.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},Wt.prototype.set=function(t,e){return oe(this,t,e)},Wt.prototype.setIn=function(t,e){return this.updateIn(t,y,(function(){return e}))},Wt.prototype.remove=function(t){return oe(this,t,y)},Wt.prototype.deleteIn=function(t){return this.updateIn(t,(function(){return y}))},Wt.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},Wt.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var a=me(this,_n(t),e,n);return a===y?void 0:a},Wt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):re()},Wt.prototype.merge=function(){return pe(this,void 0,arguments)},Wt.prototype.mergeWith=function(e){return pe(this,e,t.call(arguments,1))},Wt.prototype.mergeIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,re(),(function(t){return"function"==typeof t.merge?t.merge.apply(t,n):n[n.length-1]}))},Wt.prototype.mergeDeep=function(){return pe(this,fe,arguments)},Wt.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return pe(this,he(e),n)},Wt.prototype.mergeDeepIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,re(),(function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,n):n[n.length-1]}))},Wt.prototype.sort=function(t){return Ye(dn(this,t))},Wt.prototype.sortBy=function(t,e){return Ye(dn(this,e,t))},Wt.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},Wt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new S)},Wt.prototype.asImmutable=function(){return this.__ensureOwner()},Wt.prototype.wasAltered=function(){return this.__altered},Wt.prototype.__iterator=function(t,e){return new te(this,t,e)},Wt.prototype.__iterate=function(t,e){var n=this,a=0;return this._root&&this._root.iterate((function(e){return a++,t(e[1],e[0],n)}),e),a},Wt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?ae(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Wt.isMap=Ut;var Gt,Kt="@@__IMMUTABLE_MAP__@@",qt=Wt.prototype;function Xt(t,e){this.ownerID=t,this.entries=e}function Zt(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function Jt(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function $t(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function Qt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function te(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&ne(t._root)}function ee(t,e){return B(t,e[0],e[1])}function ne(t,e){return{node:t,index:0,__prev:e}}function ae(t,e,n,a){var r=Object.create(qt);return r.size=t,r._root=e,r.__ownerID=n,r.__hash=a,r.__altered=!1,r}function re(){return Gt||(Gt=ae(0))}function oe(t,e,n){var a,r;if(t._root){var o=_(x),i=_(w);if(a=ie(t._root,t.__ownerID,0,void 0,e,n,o,i),!i.value)return t;r=t.size+(o.value?n===y?-1:1:0)}else{if(n===y)return t;r=1,a=new Xt(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=r,t._root=a,t.__hash=void 0,t.__altered=!0,t):a?ae(r,a):re()}function ie(t,e,n,a,r,o,i,l){return t?t.update(e,n,a,r,o,i,l):o===y?t:(k(l),k(i),new Qt(e,a,[r,o]))}function le(t){return t.constructor===Qt||t.constructor===$t}function se(t,e,n,a,r){if(t.keyHash===a)return new $t(e,a,[t.entry,r]);var o,i=(0===n?t.keyHash:t.keyHash>>>n)&v,l=(0===n?a:a>>>n)&v;return new Zt(e,1<<i|1<<l,i===l?[se(t,e,n+m,a,r)]:(o=new Qt(e,a,r),i<l?[t,o]:[o,t]))}function ce(t,e,n,a){t||(t=new S);for(var r=new Qt(t,Et(n),[n,a]),o=0;o<e.length;o++){var i=e[o];r=r.update(t,0,void 0,i[0],i[1])}return r}function ue(t,e,n,a){for(var r=0,o=0,i=new Array(n),l=0,s=1,c=e.length;l<c;l++,s<<=1){var u=e[l];void 0!==u&&l!==a&&(r|=s,i[o++]=u)}return new Zt(t,r,i)}function de(t,e,n,a,r){for(var o=0,i=new Array(b),l=0;0!==n;l++,n>>>=1)i[l]=1&n?e[o++]:void 0;return i[a]=r,new Jt(t,o+1,i)}function pe(t,e,n){for(var r=[],o=0;o<n.length;o++){var l=n[o],s=a(l);i(l)||(s=s.map((function(t){return ft(t)}))),r.push(s)}return ge(t,e,r)}function fe(t,e,n){return t&&t.mergeDeep&&i(e)?t.mergeDeep(e):bt(t,e)?t:e}function he(t){return function(e,n,a){if(e&&e.mergeDeepWith&&i(n))return e.mergeDeepWith(t,n);var r=t(e,n,a);return bt(e,r)?e:r}}function ge(t,e,n){return n=n.filter((function(t){return 0!==t.size})),0===n.length?t:0!==t.size||t.__ownerID||1!==n.length?t.withMutations((function(t){for(var a=e?function(n,a){t.update(a,y,(function(t){return t===y?n:e(t,n,a)}))}:function(e,n){t.set(n,e)},r=0;r<n.length;r++)n[r].forEach(a)})):t.constructor(n[0])}function me(t,e,n,a){var r=t===y,o=e.next();if(o.done){var i=r?n:t,l=a(i);return l===i?t:l}xt(r||t&&t.set,"invalid keyPath");var s=o.value,c=r?y:t.get(s,y),u=me(c,e,n,a);return u===c?t:u===y?t.remove(s):(r?re():t).set(s,u)}function be(t){return t=(t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,t+=t>>8,127&(t+=t>>16)}function ve(t,e,n,a){var r=a?t:C(t);return r[e]=n,r}function ye(t,e,n,a){var r=t.length+1;if(a&&e+1===r)return t[e]=n,t;for(var o=new Array(r),i=0,l=0;l<r;l++)l===e?(o[l]=n,i=-1):o[l]=t[l+i];return o}function xe(t,e,n){var a=t.length-1;if(n&&e===a)return t.pop(),t;for(var r=new Array(a),o=0,i=0;i<a;i++)i===e&&(o=1),r[i]=t[i+o];return r}qt[Kt]=!0,qt[g]=qt.remove,qt.removeIn=qt.deleteIn,Xt.prototype.get=function(t,e,n,a){for(var r=this.entries,o=0,i=r.length;o<i;o++)if(bt(n,r[o][0]))return r[o][1];return a},Xt.prototype.update=function(t,e,n,a,r,o,i){for(var l=r===y,s=this.entries,c=0,u=s.length;c<u&&!bt(a,s[c][0]);c++);var d=c<u;if(d?s[c][1]===r:l)return this;if(k(i),(l||!d)&&k(o),!l||1!==s.length){if(!d&&!l&&s.length>=we)return ce(t,s,a,r);var p=t&&t===this.ownerID,f=p?s:C(s);return d?l?c===u-1?f.pop():f[c]=f.pop():f[c]=[a,r]:f.push([a,r]),p?(this.entries=f,this):new Xt(t,f)}},Zt.prototype.get=function(t,e,n,a){void 0===e&&(e=Et(n));var r=1<<((0===t?e:e>>>t)&v),o=this.bitmap;return 0==(o&r)?a:this.nodes[be(o&r-1)].get(t+m,e,n,a)},Zt.prototype.update=function(t,e,n,a,r,o,i){void 0===n&&(n=Et(a));var l=(0===e?n:n>>>e)&v,s=1<<l,c=this.bitmap,u=0!=(c&s);if(!u&&r===y)return this;var d=be(c&s-1),p=this.nodes,f=u?p[d]:void 0,h=ie(f,t,e+m,n,a,r,o,i);if(h===f)return this;if(!u&&h&&p.length>=_e)return de(t,p,c,l,h);if(u&&!h&&2===p.length&&le(p[1^d]))return p[1^d];if(u&&h&&1===p.length&&le(h))return h;var g=t&&t===this.ownerID,b=u?h?c:c^s:c|s,x=u?h?ve(p,d,h,g):xe(p,d,g):ye(p,d,h,g);return g?(this.bitmap=b,this.nodes=x,this):new Zt(t,b,x)},Jt.prototype.get=function(t,e,n,a){void 0===e&&(e=Et(n));var r=(0===t?e:e>>>t)&v,o=this.nodes[r];return o?o.get(t+m,e,n,a):a},Jt.prototype.update=function(t,e,n,a,r,o,i){void 0===n&&(n=Et(a));var l=(0===e?n:n>>>e)&v,s=r===y,c=this.nodes,u=c[l];if(s&&!u)return this;var d=ie(u,t,e+m,n,a,r,o,i);if(d===u)return this;var p=this.count;if(u){if(!d&&--p<ke)return ue(t,c,p,l)}else p++;var f=t&&t===this.ownerID,h=ve(c,l,d,f);return f?(this.count=p,this.nodes=h,this):new Jt(t,p,h)},$t.prototype.get=function(t,e,n,a){for(var r=this.entries,o=0,i=r.length;o<i;o++)if(bt(n,r[o][0]))return r[o][1];return a},$t.prototype.update=function(t,e,n,a,r,o,i){void 0===n&&(n=Et(a));var l=r===y;if(n!==this.keyHash)return l?this:(k(i),k(o),se(this,t,e,n,[a,r]));for(var s=this.entries,c=0,u=s.length;c<u&&!bt(a,s[c][0]);c++);var d=c<u;if(d?s[c][1]===r:l)return this;if(k(i),(l||!d)&&k(o),l&&2===u)return new Qt(t,this.keyHash,s[1^c]);var p=t&&t===this.ownerID,f=p?s:C(s);return d?l?c===u-1?f.pop():f[c]=f.pop():f[c]=[a,r]:f.push([a,r]),p?(this.entries=f,this):new $t(t,this.keyHash,f)},Qt.prototype.get=function(t,e,n,a){return bt(n,this.entry[0])?this.entry[1]:a},Qt.prototype.update=function(t,e,n,a,r,o,i){var l=r===y,s=bt(a,this.entry[0]);return(s?r===this.entry[1]:l)?this:(k(i),l?void k(o):s?t&&t===this.ownerID?(this.entry[1]=r,this):new Qt(t,this.keyHash,[a,r]):(k(o),se(this,t,e,Et(a),[a,r])))},Xt.prototype.iterate=$t.prototype.iterate=function(t,e){for(var n=this.entries,a=0,r=n.length-1;a<=r;a++)if(!1===t(n[e?r-a:a]))return!1},Zt.prototype.iterate=Jt.prototype.iterate=function(t,e){for(var n=this.nodes,a=0,r=n.length-1;a<=r;a++){var o=n[e?r-a:a];if(o&&!1===o.iterate(t,e))return!1}},Qt.prototype.iterate=function(t,e){return t(this.entry)},e(te,F),te.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var n,a=e.node,r=e.index++;if(a.entry){if(0===r)return ee(t,a.entry)}else if(a.entries){if(r<=(n=a.entries.length-1))return ee(t,a.entries[this._reverse?n-r:r])}else if(r<=(n=a.nodes.length-1)){var o=a.nodes[this._reverse?n-r:r];if(o){if(o.entry)return ee(t,o.entry);e=this._stack=ne(o,e)}continue}e=this._stack=this._stack.__prev}return V()};var we=b/4,_e=b/2,ke=b/4;function Se(t){var e=Ae();if(null==t)return e;if(Ce(t))return t;var n=r(t),a=n.size;return 0===a?e:(Ht(a),a>0&&a<b?Ne(0,a,m,null,new Ee(n.toArray())):e.withMutations((function(t){t.setSize(a),n.forEach((function(e,n){return t.set(n,e)}))})))}function Ce(t){return!(!t||!t[Me])}e(Se,St),Se.of=function(){return this(arguments)},Se.prototype.toString=function(){return this.__toString("List [","]")},Se.prototype.get=function(t,e){if((t=O(this,t))>=0&&t<this.size){var n=je(this,t+=this._origin);return n&&n.array[t&v]}return e},Se.prototype.set=function(t,e){return ze(this,t,e)},Se.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},Se.prototype.insert=function(t,e){return this.splice(t,0,e)},Se.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=m,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Ae()},Se.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations((function(n){Fe(n,0,e+t.length);for(var a=0;a<t.length;a++)n.set(e+a,t[a])}))},Se.prototype.pop=function(){return Fe(this,0,-1)},Se.prototype.unshift=function(){var t=arguments;return this.withMutations((function(e){Fe(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])}))},Se.prototype.shift=function(){return Fe(this,1)},Se.prototype.merge=function(){return Be(this,void 0,arguments)},Se.prototype.mergeWith=function(e){return Be(this,e,t.call(arguments,1))},Se.prototype.mergeDeep=function(){return Be(this,fe,arguments)},Se.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return Be(this,he(e),n)},Se.prototype.setSize=function(t){return Fe(this,0,t)},Se.prototype.slice=function(t,e){var n=this.size;return T(t,e,n)?this:Fe(this,D(t,n),I(e,n))},Se.prototype.__iterator=function(t,e){var n=0,a=Pe(this,e);return new F((function(){var e=a();return e===Ie?V():B(t,n++,e)}))},Se.prototype.__iterate=function(t,e){for(var n,a=0,r=Pe(this,e);(n=r())!==Ie&&!1!==t(n,a++,this););return a},Se.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Ne(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},Se.isList=Ce;var Me="@@__IMMUTABLE_LIST__@@",Oe=Se.prototype;function Ee(t,e){this.array=t,this.ownerID=e}Oe[Me]=!0,Oe[g]=Oe.remove,Oe.setIn=qt.setIn,Oe.deleteIn=Oe.removeIn=qt.removeIn,Oe.update=qt.update,Oe.updateIn=qt.updateIn,Oe.mergeIn=qt.mergeIn,Oe.mergeDeepIn=qt.mergeDeepIn,Oe.withMutations=qt.withMutations,Oe.asMutable=qt.asMutable,Oe.asImmutable=qt.asImmutable,Oe.wasAltered=qt.wasAltered,Ee.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var a=n>>>e&v;if(a>=this.array.length)return new Ee([],t);var r,o=0===a;if(e>0){var i=this.array[a];if((r=i&&i.removeBefore(t,e-m,n))===i&&o)return this}if(o&&!r)return this;var l=Le(this,t);if(!o)for(var s=0;s<a;s++)l.array[s]=void 0;return r&&(l.array[a]=r),l},Ee.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var a,r=n-1>>>e&v;if(r>=this.array.length)return this;if(e>0){var o=this.array[r];if((a=o&&o.removeAfter(t,e-m,n))===o&&r===this.array.length-1)return this}var i=Le(this,t);return i.array.splice(r+1),a&&(i.array[r]=a),i};var Te,De,Ie={};function Pe(t,e){var n=t._origin,a=t._capacity,r=Ve(a),o=t._tail;return i(t._root,t._level,0);function i(t,e,n){return 0===e?l(t,n):s(t,e,n)}function l(t,i){var l=i===r?o&&o.array:t&&t.array,s=i>n?0:n-i,c=a-i;return c>b&&(c=b),function(){if(s===c)return Ie;var t=e?--c:s++;return l&&l[t]}}function s(t,r,o){var l,s=t&&t.array,c=o>n?0:n-o>>r,u=1+(a-o>>r);return u>b&&(u=b),function(){for(;;){if(l){var t=l();if(t!==Ie)return t;l=null}if(c===u)return Ie;var n=e?--u:c++;l=i(s&&s[n],r-m,o+(n<<r))}}}}function Ne(t,e,n,a,r,o,i){var l=Object.create(Oe);return l.size=e-t,l._origin=t,l._capacity=e,l._level=n,l._root=a,l._tail=r,l.__ownerID=o,l.__hash=i,l.__altered=!1,l}function Ae(){return Te||(Te=Ne(0,0,m))}function ze(t,e,n){if((e=O(t,e))!=e)return t;if(e>=t.size||e<0)return t.withMutations((function(t){e<0?Fe(t,e).set(0,n):Fe(t,0,e+1).set(e,n)}));e+=t._origin;var a=t._tail,r=t._root,o=_(w);return e>=Ve(t._capacity)?a=Re(a,t.__ownerID,0,e,n,o):r=Re(r,t.__ownerID,t._level,e,n,o),o.value?t.__ownerID?(t._root=r,t._tail=a,t.__hash=void 0,t.__altered=!0,t):Ne(t._origin,t._capacity,t._level,r,a):t}function Re(t,e,n,a,r,o){var i,l=a>>>n&v,s=t&&l<t.array.length;if(!s&&void 0===r)return t;if(n>0){var c=t&&t.array[l],u=Re(c,e,n-m,a,r,o);return u===c?t:((i=Le(t,e)).array[l]=u,i)}return s&&t.array[l]===r?t:(k(o),i=Le(t,e),void 0===r&&l===i.array.length-1?i.array.pop():i.array[l]=r,i)}function Le(t,e){return e&&t&&e===t.ownerID?t:new Ee(t?t.array.slice():[],e)}function je(t,e){if(e>=Ve(t._capacity))return t._tail;if(e<1<<t._level+m){for(var n=t._root,a=t._level;n&&a>0;)n=n.array[e>>>a&v],a-=m;return n}}function Fe(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var a=t.__ownerID||new S,r=t._origin,o=t._capacity,i=r+e,l=void 0===n?o:n<0?o+n:r+n;if(i===r&&l===o)return t;if(i>=l)return t.clear();for(var s=t._level,c=t._root,u=0;i+u<0;)c=new Ee(c&&c.array.length?[void 0,c]:[],a),u+=1<<(s+=m);u&&(i+=u,r+=u,l+=u,o+=u);for(var d=Ve(o),p=Ve(l);p>=1<<s+m;)c=new Ee(c&&c.array.length?[c]:[],a),s+=m;var f=t._tail,h=p<d?je(t,l-1):p>d?new Ee([],a):f;if(f&&p>d&&i<o&&f.array.length){for(var g=c=Le(c,a),b=s;b>m;b-=m){var y=d>>>b&v;g=g.array[y]=Le(g.array[y],a)}g.array[d>>>m&v]=f}if(l<o&&(h=h&&h.removeAfter(a,0,l)),i>=p)i-=p,l-=p,s=m,c=null,h=h&&h.removeBefore(a,0,i);else if(i>r||p<d){for(u=0;c;){var x=i>>>s&v;if(x!==p>>>s&v)break;x&&(u+=(1<<s)*x),s-=m,c=c.array[x]}c&&i>r&&(c=c.removeBefore(a,s,i-u)),c&&p<d&&(c=c.removeAfter(a,s,p-u)),u&&(i-=u,l-=u)}return t.__ownerID?(t.size=l-i,t._origin=i,t._capacity=l,t._level=s,t._root=c,t._tail=h,t.__hash=void 0,t.__altered=!0,t):Ne(i,l,s,c,h)}function Be(t,e,n){for(var a=[],o=0,l=0;l<n.length;l++){var s=n[l],c=r(s);c.size>o&&(o=c.size),i(s)||(c=c.map((function(t){return ft(t)}))),a.push(c)}return o>t.size&&(t=t.setSize(o)),ge(t,e,a)}function Ve(t){return t<b?0:t-1>>>m<<m}function Ye(t){return null==t?Ue():He(t)?t:Ue().withMutations((function(e){var n=a(t);Ht(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}function He(t){return Ut(t)&&u(t)}function We(t,e,n,a){var r=Object.create(Ye.prototype);return r.size=t?t.size:0,r._map=t,r._list=e,r.__ownerID=n,r.__hash=a,r}function Ue(){return De||(De=We(re(),Ae()))}function Ge(t,e,n){var a,r,o=t._map,i=t._list,l=o.get(e),s=void 0!==l;if(n===y){if(!s)return t;i.size>=b&&i.size>=2*o.size?(a=(r=i.filter((function(t,e){return void 0!==t&&l!==e}))).toKeyedSeq().map((function(t){return t[0]})).flip().toMap(),t.__ownerID&&(a.__ownerID=r.__ownerID=t.__ownerID)):(a=o.remove(e),r=l===i.size-1?i.pop():i.set(l,void 0))}else if(s){if(n===i.get(l)[1])return t;a=o,r=i.set(l,[e,n])}else a=o.set(e,i.size),r=i.set(i.size,[e,n]);return t.__ownerID?(t.size=a.size,t._map=a,t._list=r,t.__hash=void 0,t):We(a,r)}function Ke(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function qe(t){this._iter=t,this.size=t.size}function Xe(t){this._iter=t,this.size=t.size}function Ze(t){this._iter=t,this.size=t.size}function Je(t){var e=yn(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=xn,e.__iterateUncached=function(e,n){var a=this;return t.__iterate((function(t,n){return!1!==e(n,t,a)}),n)},e.__iteratorUncached=function(e,n){if(e===z){var a=t.__iterator(e,n);return new F((function(){var t=a.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t}))}return t.__iterator(e===A?N:A,n)},e}function $e(t,e,n){var a=yn(t);return a.size=t.size,a.has=function(e){return t.has(e)},a.get=function(a,r){var o=t.get(a,y);return o===y?r:e.call(n,o,a,t)},a.__iterateUncached=function(a,r){var o=this;return t.__iterate((function(t,r,i){return!1!==a(e.call(n,t,r,i),r,o)}),r)},a.__iteratorUncached=function(a,r){var o=t.__iterator(z,r);return new F((function(){var r=o.next();if(r.done)return r;var i=r.value,l=i[0];return B(a,l,e.call(n,i[1],l,t),r)}))},a}function Qe(t,e){var n=yn(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=Je(t);return e.reverse=function(){return t.flip()},e}),n.get=function(n,a){return t.get(e?n:-1-n,a)},n.has=function(n){return t.has(e?n:-1-n)},n.includes=function(e){return t.includes(e)},n.cacheResult=xn,n.__iterate=function(e,n){var a=this;return t.__iterate((function(t,n){return e(t,n,a)}),!n)},n.__iterator=function(e,n){return t.__iterator(e,!n)},n}function tn(t,e,n,a){var r=yn(t);return a&&(r.has=function(a){var r=t.get(a,y);return r!==y&&!!e.call(n,r,a,t)},r.get=function(a,r){var o=t.get(a,y);return o!==y&&e.call(n,o,a,t)?o:r}),r.__iterateUncached=function(r,o){var i=this,l=0;return t.__iterate((function(t,o,s){if(e.call(n,t,o,s))return l++,r(t,a?o:l-1,i)}),o),l},r.__iteratorUncached=function(r,o){var i=t.__iterator(z,o),l=0;return new F((function(){for(;;){var o=i.next();if(o.done)return o;var s=o.value,c=s[0],u=s[1];if(e.call(n,u,c,t))return B(r,a?c:l++,u,o)}}))},r}function en(t,e,n){var a=Wt().asMutable();return t.__iterate((function(r,o){a.update(e.call(n,r,o,t),0,(function(t){return t+1}))})),a.asImmutable()}function nn(t,e,n){var a=l(t),r=(u(t)?Ye():Wt()).asMutable();t.__iterate((function(o,i){r.update(e.call(n,o,i,t),(function(t){return(t=t||[]).push(a?[i,o]:o),t}))}));var o=vn(t);return r.map((function(e){return gn(t,o(e))}))}function an(t,e,n,a){var r=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n|=0),T(e,n,r))return t;var o=D(e,r),i=I(n,r);if(o!=o||i!=i)return an(t.toSeq().cacheResult(),e,n,a);var l,s=i-o;s==s&&(l=s<0?0:s);var c=yn(t);return c.size=0===l?l:t.size&&l||void 0,!a&&ot(t)&&l>=0&&(c.get=function(e,n){return(e=O(this,e))>=0&&e<l?t.get(e+o,n):n}),c.__iterateUncached=function(e,n){var r=this;if(0===l)return 0;if(n)return this.cacheResult().__iterate(e,n);var i=0,s=!0,c=0;return t.__iterate((function(t,n){if(!s||!(s=i++<o))return c++,!1!==e(t,a?n:c-1,r)&&c!==l})),c},c.__iteratorUncached=function(e,n){if(0!==l&&n)return this.cacheResult().__iterator(e,n);var r=0!==l&&t.__iterator(e,n),i=0,s=0;return new F((function(){for(;i++<o;)r.next();if(++s>l)return V();var t=r.next();return a||e===A?t:B(e,s-1,e===N?void 0:t.value[1],t)}))},c}function rn(t,e,n){var a=yn(t);return a.__iterateUncached=function(a,r){var o=this;if(r)return this.cacheResult().__iterate(a,r);var i=0;return t.__iterate((function(t,r,l){return e.call(n,t,r,l)&&++i&&a(t,r,o)})),i},a.__iteratorUncached=function(a,r){var o=this;if(r)return this.cacheResult().__iterator(a,r);var i=t.__iterator(z,r),l=!0;return new F((function(){if(!l)return V();var t=i.next();if(t.done)return t;var r=t.value,s=r[0],c=r[1];return e.call(n,c,s,o)?a===z?t:B(a,s,c,t):(l=!1,V())}))},a}function on(t,e,n,a){var r=yn(t);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var l=!0,s=0;return t.__iterate((function(t,o,c){if(!l||!(l=e.call(n,t,o,c)))return s++,r(t,a?o:s-1,i)})),s},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var l=t.__iterator(z,o),s=!0,c=0;return new F((function(){var t,o,u;do{if((t=l.next()).done)return a||r===A?t:B(r,c++,r===N?void 0:t.value[1],t);var d=t.value;o=d[0],u=d[1],s&&(s=e.call(n,u,o,i))}while(s);return r===z?t:B(r,o,u,t)}))},r}function ln(t,e){var n=l(t),r=[t].concat(e).map((function(t){return i(t)?n&&(t=a(t)):t=n?lt(t):st(Array.isArray(t)?t:[t]),t})).filter((function(t){return 0!==t.size}));if(0===r.length)return t;if(1===r.length){var o=r[0];if(o===t||n&&l(o)||s(t)&&s(o))return o}var c=new et(r);return n?c=c.toKeyedSeq():s(t)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=r.reduce((function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}}),0),c}function sn(t,e,n){var a=yn(t);return a.__iterateUncached=function(a,r){var o=0,l=!1;function s(t,c){var u=this;t.__iterate((function(t,r){return(!e||c<e)&&i(t)?s(t,c+1):!1===a(t,n?r:o++,u)&&(l=!0),!l}),r)}return s(t,0),o},a.__iteratorUncached=function(a,r){var o=t.__iterator(a,r),l=[],s=0;return new F((function(){for(;o;){var t=o.next();if(!1===t.done){var c=t.value;if(a===z&&(c=c[1]),e&&!(l.length<e)||!i(c))return n?t:B(a,s++,c,t);l.push(o),o=c.__iterator(a,r)}else o=l.pop()}return V()}))},a}function cn(t,e,n){var a=vn(t);return t.toSeq().map((function(r,o){return a(e.call(n,r,o,t))})).flatten(!0)}function un(t,e){var n=yn(t);return n.size=t.size&&2*t.size-1,n.__iterateUncached=function(n,a){var r=this,o=0;return t.__iterate((function(t,a){return(!o||!1!==n(e,o++,r))&&!1!==n(t,o++,r)}),a),o},n.__iteratorUncached=function(n,a){var r,o=t.__iterator(A,a),i=0;return new F((function(){return(!r||i%2)&&(r=o.next()).done?r:i%2?B(n,i++,e):B(n,i++,r.value,r)}))},n}function dn(t,e,n){e||(e=wn);var a=l(t),r=0,o=t.toSeq().map((function(e,a){return[a,e,r++,n?n(e,a,t):e]})).toArray();return o.sort((function(t,n){return e(t[3],n[3])||t[2]-n[2]})).forEach(a?function(t,e){o[e].length=2}:function(t,e){o[e]=t[1]}),a?q(o):s(t)?X(o):Z(o)}function pn(t,e,n){if(e||(e=wn),n){var a=t.toSeq().map((function(e,a){return[e,n(e,a,t)]})).reduce((function(t,n){return fn(e,t[1],n[1])?n:t}));return a&&a[0]}return t.reduce((function(t,n){return fn(e,t,n)?n:t}))}function fn(t,e,n){var a=t(n,e);return 0===a&&n!==e&&(null==n||n!=n)||a>0}function hn(t,e,a){var r=yn(t);return r.size=new et(a).map((function(t){return t.size})).min(),r.__iterate=function(t,e){for(var n,a=this.__iterator(A,e),r=0;!(n=a.next()).done&&!1!==t(n.value,r++,this););return r},r.__iteratorUncached=function(t,r){var o=a.map((function(t){return t=n(t),W(r?t.reverse():t)})),i=0,l=!1;return new F((function(){var n;return l||(n=o.map((function(t){return t.next()})),l=n.some((function(t){return t.done}))),l?V():B(t,i++,e.apply(null,n.map((function(t){return t.value}))))}))},r}function gn(t,e){return ot(t)?e:t.constructor(e)}function mn(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function bn(t){return Ht(t.size),M(t)}function vn(t){return l(t)?a:s(t)?r:o}function yn(t){return Object.create((l(t)?q:s(t)?X:Z).prototype)}function xn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):K.prototype.cacheResult.call(this)}function wn(t,e){return t>e?1:t<e?-1:0}function _n(t){var e=W(t);if(!e){if(!G(t))throw new TypeError("Expected iterable or array-like: "+t);e=W(n(t))}return e}function kn(t,e){var n,a=function(o){if(o instanceof a)return o;if(!(this instanceof a))return new a(o);if(!n){n=!0;var i=Object.keys(t);On(r,i),r.size=i.length,r._name=e,r._keys=i,r._defaultValues=t}this._map=Wt(o)},r=a.prototype=Object.create(Sn);return r.constructor=a,a}e(Ye,Wt),Ye.of=function(){return this(arguments)},Ye.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Ye.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},Ye.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Ue()},Ye.prototype.set=function(t,e){return Ge(this,t,e)},Ye.prototype.remove=function(t){return Ge(this,t,y)},Ye.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Ye.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate((function(e){return e&&t(e[1],e[0],n)}),e)},Ye.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},Ye.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?We(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},Ye.isOrderedMap=He,Ye.prototype[h]=!0,Ye.prototype[g]=Ye.prototype.remove,e(Ke,q),Ke.prototype.get=function(t,e){return this._iter.get(t,e)},Ke.prototype.has=function(t){return this._iter.has(t)},Ke.prototype.valueSeq=function(){return this._iter.valueSeq()},Ke.prototype.reverse=function(){var t=this,e=Qe(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},Ke.prototype.map=function(t,e){var n=this,a=$e(this,t,e);return this._useKeys||(a.valueSeq=function(){return n._iter.toSeq().map(t,e)}),a},Ke.prototype.__iterate=function(t,e){var n,a=this;return this._iter.__iterate(this._useKeys?function(e,n){return t(e,n,a)}:(n=e?bn(this):0,function(r){return t(r,e?--n:n++,a)}),e)},Ke.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(A,e),a=e?bn(this):0;return new F((function(){var r=n.next();return r.done?r:B(t,e?--a:a++,r.value,r)}))},Ke.prototype[h]=!0,e(qe,X),qe.prototype.includes=function(t){return this._iter.includes(t)},qe.prototype.__iterate=function(t,e){var n=this,a=0;return this._iter.__iterate((function(e){return t(e,a++,n)}),e)},qe.prototype.__iterator=function(t,e){var n=this._iter.__iterator(A,e),a=0;return new F((function(){var e=n.next();return e.done?e:B(t,a++,e.value,e)}))},e(Xe,Z),Xe.prototype.has=function(t){return this._iter.includes(t)},Xe.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){return t(e,e,n)}),e)},Xe.prototype.__iterator=function(t,e){var n=this._iter.__iterator(A,e);return new F((function(){var e=n.next();return e.done?e:B(t,e.value,e.value,e)}))},e(Ze,q),Ze.prototype.entrySeq=function(){return this._iter.toSeq()},Ze.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){if(e){mn(e);var a=i(e);return t(a?e.get(1):e[1],a?e.get(0):e[0],n)}}),e)},Ze.prototype.__iterator=function(t,e){var n=this._iter.__iterator(A,e);return new F((function(){for(;;){var e=n.next();if(e.done)return e;var a=e.value;if(a){mn(a);var r=i(a);return B(t,r?a.get(0):a[0],r?a.get(1):a[1],e)}}}))},qe.prototype.cacheResult=Ke.prototype.cacheResult=Xe.prototype.cacheResult=Ze.prototype.cacheResult=xn,e(kn,kt),kn.prototype.toString=function(){return this.__toString(Mn(this)+" {","}")},kn.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},kn.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._defaultValues[t];return this._map?this._map.get(t,n):n},kn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=Cn(this,re()))},kn.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+Mn(this));var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:Cn(this,n)},kn.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:Cn(this,e)},kn.prototype.wasAltered=function(){return this._map.wasAltered()},kn.prototype.__iterator=function(t,e){var n=this;return a(this._defaultValues).map((function(t,e){return n.get(e)})).__iterator(t,e)},kn.prototype.__iterate=function(t,e){var n=this;return a(this._defaultValues).map((function(t,e){return n.get(e)})).__iterate(t,e)},kn.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?Cn(this,e,t):(this.__ownerID=t,this._map=e,this)};var Sn=kn.prototype;function Cn(t,e,n){var a=Object.create(Object.getPrototypeOf(t));return a._map=e,a.__ownerID=n,a}function Mn(t){return t._name||t.constructor.name||"Record"}function On(t,e){try{e.forEach(En.bind(void 0,t))}catch(t){}}function En(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){xt(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function Tn(t){return null==t?Rn():Dn(t)&&!u(t)?t:Rn().withMutations((function(e){var n=o(t);Ht(n.size),n.forEach((function(t){return e.add(t)}))}))}function Dn(t){return!(!t||!t[Pn])}Sn[g]=Sn.remove,Sn.deleteIn=Sn.removeIn=qt.removeIn,Sn.merge=qt.merge,Sn.mergeWith=qt.mergeWith,Sn.mergeIn=qt.mergeIn,Sn.mergeDeep=qt.mergeDeep,Sn.mergeDeepWith=qt.mergeDeepWith,Sn.mergeDeepIn=qt.mergeDeepIn,Sn.setIn=qt.setIn,Sn.update=qt.update,Sn.updateIn=qt.updateIn,Sn.withMutations=qt.withMutations,Sn.asMutable=qt.asMutable,Sn.asImmutable=qt.asImmutable,e(Tn,Ct),Tn.of=function(){return this(arguments)},Tn.fromKeys=function(t){return this(a(t).keySeq())},Tn.prototype.toString=function(){return this.__toString("Set {","}")},Tn.prototype.has=function(t){return this._map.has(t)},Tn.prototype.add=function(t){return An(this,this._map.set(t,!0))},Tn.prototype.remove=function(t){return An(this,this._map.remove(t))},Tn.prototype.clear=function(){return An(this,this._map.clear())},Tn.prototype.union=function(){var e=t.call(arguments,0);return e=e.filter((function(t){return 0!==t.size})),0===e.length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations((function(t){for(var n=0;n<e.length;n++)o(e[n]).forEach((function(e){return t.add(e)}))})):this.constructor(e[0])},Tn.prototype.intersect=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return o(t)}));var n=this;return this.withMutations((function(t){n.forEach((function(n){e.every((function(t){return t.includes(n)}))||t.remove(n)}))}))},Tn.prototype.subtract=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return o(t)}));var n=this;return this.withMutations((function(t){n.forEach((function(n){e.some((function(t){return t.includes(n)}))&&t.remove(n)}))}))},Tn.prototype.merge=function(){return this.union.apply(this,arguments)},Tn.prototype.mergeWith=function(e){var n=t.call(arguments,1);return this.union.apply(this,n)},Tn.prototype.sort=function(t){return Ln(dn(this,t))},Tn.prototype.sortBy=function(t,e){return Ln(dn(this,e,t))},Tn.prototype.wasAltered=function(){return this._map.wasAltered()},Tn.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate((function(e,a){return t(a,a,n)}),e)},Tn.prototype.__iterator=function(t,e){return this._map.map((function(t,e){return e})).__iterator(t,e)},Tn.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):(this.__ownerID=t,this._map=e,this)},Tn.isSet=Dn;var In,Pn="@@__IMMUTABLE_SET__@@",Nn=Tn.prototype;function An(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function zn(t,e){var n=Object.create(Nn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function Rn(){return In||(In=zn(re()))}function Ln(t){return null==t?Yn():jn(t)?t:Yn().withMutations((function(e){var n=o(t);Ht(n.size),n.forEach((function(t){return e.add(t)}))}))}function jn(t){return Dn(t)&&u(t)}Nn[Pn]=!0,Nn[g]=Nn.remove,Nn.mergeDeep=Nn.merge,Nn.mergeDeepWith=Nn.mergeWith,Nn.withMutations=qt.withMutations,Nn.asMutable=qt.asMutable,Nn.asImmutable=qt.asImmutable,Nn.__empty=Rn,Nn.__make=zn,e(Ln,Tn),Ln.of=function(){return this(arguments)},Ln.fromKeys=function(t){return this(a(t).keySeq())},Ln.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Ln.isOrderedSet=jn;var Fn,Bn=Ln.prototype;function Vn(t,e){var n=Object.create(Bn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function Yn(){return Fn||(Fn=Vn(Ue()))}function Hn(t){return null==t?Xn():Wn(t)?t:Xn().unshiftAll(t)}function Wn(t){return!(!t||!t[Gn])}Bn[h]=!0,Bn.__empty=Yn,Bn.__make=Vn,e(Hn,St),Hn.of=function(){return this(arguments)},Hn.prototype.toString=function(){return this.__toString("Stack [","]")},Hn.prototype.get=function(t,e){var n=this._head;for(t=O(this,t);n&&t--;)n=n.next;return n?n.value:e},Hn.prototype.peek=function(){return this._head&&this._head.value},Hn.prototype.push=function(){if(0===arguments.length)return this;for(var t=this.size+arguments.length,e=this._head,n=arguments.length-1;n>=0;n--)e={value:arguments[n],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):qn(t,e)},Hn.prototype.pushAll=function(t){if(0===(t=r(t)).size)return this;Ht(t.size);var e=this.size,n=this._head;return t.reverse().forEach((function(t){e++,n={value:t,next:n}})),this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):qn(e,n)},Hn.prototype.pop=function(){return this.slice(1)},Hn.prototype.unshift=function(){return this.push.apply(this,arguments)},Hn.prototype.unshiftAll=function(t){return this.pushAll(t)},Hn.prototype.shift=function(){return this.pop.apply(this,arguments)},Hn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Xn()},Hn.prototype.slice=function(t,e){if(T(t,e,this.size))return this;var n=D(t,this.size);if(I(e,this.size)!==this.size)return St.prototype.slice.call(this,t,e);for(var a=this.size-n,r=this._head;n--;)r=r.next;return this.__ownerID?(this.size=a,this._head=r,this.__hash=void 0,this.__altered=!0,this):qn(a,r)},Hn.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?qn(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Hn.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var n=0,a=this._head;a&&!1!==t(a.value,n++,this);)a=a.next;return n},Hn.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,a=this._head;return new F((function(){if(a){var e=a.value;return a=a.next,B(t,n++,e)}return V()}))},Hn.isStack=Wn;var Un,Gn="@@__IMMUTABLE_STACK__@@",Kn=Hn.prototype;function qn(t,e,n,a){var r=Object.create(Kn);return r.size=t,r._head=e,r.__ownerID=n,r.__hash=a,r.__altered=!1,r}function Xn(){return Un||(Un=qn(0))}function Zn(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}Kn[Gn]=!0,Kn.withMutations=qt.withMutations,Kn.asMutable=qt.asMutable,Kn.asImmutable=qt.asImmutable,Kn.wasAltered=qt.wasAltered,n.Iterator=F,Zn(n,{toArray:function(){Ht(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate((function(e,n){t[n]=e})),t},toIndexedSeq:function(){return new qe(this)},toJS:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJS?t.toJS():t})).__toJS()},toJSON:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t})).__toJS()},toKeyedSeq:function(){return new Ke(this,!0)},toMap:function(){return Wt(this.toKeyedSeq())},toObject:function(){Ht(this.size);var t={};return this.__iterate((function(e,n){t[n]=e})),t},toOrderedMap:function(){return Ye(this.toKeyedSeq())},toOrderedSet:function(){return Ln(l(this)?this.valueSeq():this)},toSet:function(){return Tn(l(this)?this.valueSeq():this)},toSetSeq:function(){return new Xe(this)},toSeq:function(){return s(this)?this.toIndexedSeq():l(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Hn(l(this)?this.valueSeq():this)},toList:function(){return Se(l(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){return gn(this,ln(this,t.call(arguments,0)))},includes:function(t){return this.some((function(e){return bt(e,t)}))},entries:function(){return this.__iterator(z)},every:function(t,e){Ht(this.size);var n=!0;return this.__iterate((function(a,r,o){if(!t.call(e,a,r,o))return n=!1,!1})),n},filter:function(t,e){return gn(this,tn(this,t,e,!0))},find:function(t,e,n){var a=this.findEntry(t,e);return a?a[1]:n},findEntry:function(t,e){var n;return this.__iterate((function(a,r,o){if(t.call(e,a,r,o))return n=[r,a],!1})),n},findLastEntry:function(t,e){return this.toSeq().reverse().findEntry(t,e)},forEach:function(t,e){return Ht(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){Ht(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate((function(a){n?n=!1:e+=t,e+=null!=a?a.toString():""})),e},keys:function(){return this.__iterator(N)},map:function(t,e){return gn(this,$e(this,t,e))},reduce:function(t,e,n){var a,r;return Ht(this.size),arguments.length<2?r=!0:a=e,this.__iterate((function(e,o,i){r?(r=!1,a=e):a=t.call(n,a,e,o,i)})),a},reduceRight:function(t,e,n){var a=this.toKeyedSeq().reverse();return a.reduce.apply(a,arguments)},reverse:function(){return gn(this,Qe(this,!0))},slice:function(t,e){return gn(this,an(this,t,e,!0))},some:function(t,e){return!this.every(ea(t),e)},sort:function(t){return gn(this,dn(this,t))},values:function(){return this.__iterator(A)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(t,e){return M(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return en(this,t,e)},equals:function(t){return vt(this,t)},entrySeq:function(){var t=this;if(t._cache)return new et(t._cache);var e=t.toSeq().map(ta).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(ea(t),e)},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},first:function(){return this.find(E)},flatMap:function(t,e){return gn(this,cn(this,t,e))},flatten:function(t){return gn(this,sn(this,t,!0))},fromEntrySeq:function(){return new Ze(this)},get:function(t,e){return this.find((function(e,n){return bt(n,t)}),void 0,e)},getIn:function(t,e){for(var n,a=this,r=_n(t);!(n=r.next()).done;){var o=n.value;if((a=a&&a.get?a.get(o,y):y)===y)return e}return a},groupBy:function(t,e){return nn(this,t,e)},has:function(t){return this.get(t,y)!==y},hasIn:function(t){return this.getIn(t,y)!==y},isSubset:function(t){return t="function"==typeof t.includes?t:n(t),this.every((function(e){return t.includes(e)}))},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:n(t)).isSubset(this)},keySeq:function(){return this.toSeq().map(Qn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(t){return pn(this,t)},maxBy:function(t,e){return pn(this,e,t)},min:function(t){return pn(this,t?na(t):oa)},minBy:function(t,e){return pn(this,e?na(e):oa,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return gn(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return gn(this,on(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(ea(t),e)},sortBy:function(t,e){return gn(this,dn(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return gn(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return gn(this,rn(this,t,e))},takeUntil:function(t,e){return this.takeWhile(ea(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ia(this))}});var Jn=n.prototype;Jn[d]=!0,Jn[j]=Jn.values,Jn.__toJS=Jn.toArray,Jn.__toStringMapper=aa,Jn.inspect=Jn.toSource=function(){return this.toString()},Jn.chain=Jn.flatMap,Jn.contains=Jn.includes,function(){try{Object.defineProperty(Jn,"length",{get:function(){if(!n.noLengthWarning){var t;try{throw new Error}catch(e){t=e.stack}if(-1===t.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+t),this.size}}})}catch(t){}}(),Zn(a,{flip:function(){return gn(this,Je(this))},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLastKey:function(t,e){return this.toSeq().reverse().findKey(t,e)},keyOf:function(t){return this.findKey((function(e){return bt(e,t)}))},lastKeyOf:function(t){return this.findLastKey((function(e){return bt(e,t)}))},mapEntries:function(t,e){var n=this,a=0;return gn(this,this.toSeq().map((function(r,o){return t.call(e,[o,r],a++,n)})).fromEntrySeq())},mapKeys:function(t,e){var n=this;return gn(this,this.toSeq().flip().map((function(a,r){return t.call(e,a,r,n)})).flip())}});var $n=a.prototype;function Qn(t,e){return e}function ta(t,e){return[e,t]}function ea(t){return function(){return!t.apply(this,arguments)}}function na(t){return function(){return-t.apply(this,arguments)}}function aa(t){return"string"==typeof t?JSON.stringify(t):t}function ra(){return C(arguments)}function oa(t,e){return t<e?1:t>e?-1:0}function ia(t){if(t.size===1/0)return 0;var e=u(t),n=l(t),a=e?1:0,r=t.__iterate(n?e?function(t,e){a=31*a+sa(Et(t),Et(e))|0}:function(t,e){a=a+sa(Et(t),Et(e))|0}:e?function(t){a=31*a+Et(t)|0}:function(t){a=a+Et(t)|0});return la(r,a)}function la(t,e){return e=Mt(e,3432918353),e=Mt(e<<15|e>>>-15,461845907),e=Mt(e<<13|e>>>-13,5),e=Mt((e=(e+3864292196|0)^t)^e>>>16,2246822507),e=Ot((e=Mt(e^e>>>13,3266489909))^e>>>16)}function sa(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}return $n[p]=!0,$n[j]=Jn.entries,$n.__toJS=Jn.toObject,$n.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+aa(t)},Zn(r,{toKeyedSeq:function(){return new Ke(this,!1)},filter:function(t,e){return gn(this,tn(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.toKeyedSeq().keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.toKeyedSeq().reverse().keyOf(t);return void 0===e?-1:e},reverse:function(){return gn(this,Qe(this,!1))},slice:function(t,e){return gn(this,an(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(0|e,0),0===n||2===n&&!e)return this;t=D(t,t<0?this.count():this.size);var a=this.slice(0,t);return gn(this,1===n?a:a.concat(C(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.toKeyedSeq().findLastKey(t,e);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(t){return gn(this,sn(this,t,!1))},get:function(t,e){return(t=O(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find((function(e,n){return n===t}),void 0,e)},has:function(t){return(t=O(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return gn(this,un(this,t))},interleave:function(){var t=[this].concat(C(arguments)),e=hn(this.toSeq(),X.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),gn(this,n)},last:function(){return this.get(-1)},skipWhile:function(t,e){return gn(this,on(this,t,e,!1))},zip:function(){return gn(this,hn(this,ra,[this].concat(C(arguments))))},zipWith:function(t){var e=C(arguments);return e[0]=this,gn(this,hn(this,t,e))}}),r.prototype[f]=!0,r.prototype[h]=!0,Zn(o,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Jn.includes,Zn(q,a.prototype),Zn(X,r.prototype),Zn(Z,o.prototype),Zn(kt,a.prototype),Zn(St,r.prototype),Zn(Ct,o.prototype),{Iterable:n,Seq:K,Collection:_t,Map:Wt,OrderedMap:Ye,List:Se,Stack:Hn,Set:Tn,OrderedSet:Ln,Record:kn,Range:wt,Repeat:yt,is:bt,fromJS:ft}}()})),sst=lst.OrderedMap,cst={createFromArray:function(t){return sst(t.map((function(t){return[t.getKey(),t]})))}};var ust=lst.Map,dst=lst.OrderedSet,pst=lst.Record,fst=dst(),hst={style:fst,entity:null},gst=function(t){var e,n;function a(){return t.apply(this,arguments)||this}n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var r=a.prototype;return r.getStyle=function(){return this.get("style")},r.getEntity=function(){return this.get("entity")},r.hasStyle=function(t){return this.getStyle().includes(t)},a.applyStyle=function(t,e){var n=t.set("style",t.getStyle().add(e));return a.create(n)},a.removeStyle=function(t,e){var n=t.set("style",t.getStyle().remove(e));return a.create(n)},a.applyEntity=function(t,e){var n=t.getEntity()===e?t:t.set("entity",e);return a.create(n)},a.create=function(t){if(!t)return mst;var e=ust({style:fst,entity:null}).merge(t),n=bst.get(e);if(n)return n;var r=new a(e);return bst=bst.set(e,r),r},a.fromJS=function(t){var e=t.style,n=t.entity;return new a({style:Array.isArray(e)?dst(e):e,entity:Array.isArray(n)?dst(n):n})},a}(pst(hst)),mst=new gst,bst=ust([[ust(hst),mst]]);gst.EMPTY=mst;var vst=gst;var yst=function(t,e,n,a){if(t.size){var r=0;t.reduce((function(t,o,i){return e(t,o)||(n(t)&&a(r,i),r=i),o})),n(t.last())&&a(r,t.count())}};var xst=lst.List,wst=lst.Map,_st=lst.OrderedSet,kst=lst.Record,Sst=lst.Repeat,Cst=_st(),Mst=kst({key:"",type:"unstyled",text:"",characterList:xst(),depth:0,data:wst()});function Ost(t,e){return t.getStyle()===e.getStyle()}function Est(t,e){return t.getEntity()===e.getEntity()}var Tst=function(t){var e,n;function a(e){return t.call(this,function(t){if(!t)return t;var e=t.characterList,n=t.text;return n&&!e&&(t.characterList=xst(Sst(vst.EMPTY,n.length))),t}(e))||this}n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var r=a.prototype;return r.getKey=function(){return this.get("key")},r.getType=function(){return this.get("type")},r.getText=function(){return this.get("text")},r.getCharacterList=function(){return this.get("characterList")},r.getLength=function(){return this.getText().length},r.getDepth=function(){return this.get("depth")},r.getData=function(){return this.get("data")},r.getInlineStyleAt=function(t){var e=this.getCharacterList().get(t);return e?e.getStyle():Cst},r.getEntityAt=function(t){var e=this.getCharacterList().get(t);return e?e.getEntity():null},r.findStyleRanges=function(t,e){yst(this.getCharacterList(),Ost,t,e)},r.findEntityRanges=function(t,e){yst(this.getCharacterList(),Est,t,e)},a}(Mst);var Dst=lst.List,Ist=lst.Map,Pst=lst.OrderedSet,Nst=lst.Record,Ast=lst.Repeat,zst=Pst(),Rst={parent:null,characterList:Dst(),data:Ist(),depth:0,key:"",text:"",type:"unstyled",children:Dst(),prevSibling:null,nextSibling:null},Lst=function(t,e){return t.getStyle()===e.getStyle()},jst=function(t,e){return t.getEntity()===e.getEntity()},Fst=function(t){if(!t)return t;var e=t.characterList,n=t.text;return n&&!e&&(t.characterList=Dst(Ast(vst.EMPTY,n.length))),t},Bst=function(t){var e,n;function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Rst;return t.call(this,Fst(e))||this}n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var r=a.prototype;return r.getKey=function(){return this.get("key")},r.getType=function(){return this.get("type")},r.getText=function(){return this.get("text")},r.getCharacterList=function(){return this.get("characterList")},r.getLength=function(){return this.getText().length},r.getDepth=function(){return this.get("depth")},r.getData=function(){return this.get("data")},r.getInlineStyleAt=function(t){var e=this.getCharacterList().get(t);return e?e.getStyle():zst},r.getEntityAt=function(t){var e=this.getCharacterList().get(t);return e?e.getEntity():null},r.getChildKeys=function(){return this.get("children")},r.getParentKey=function(){return this.get("parent")},r.getPrevSiblingKey=function(){return this.get("prevSibling")},r.getNextSiblingKey=function(){return this.get("nextSibling")},r.findStyleRanges=function(t,e){yst(this.getCharacterList(),Lst,t,e)},r.findEntityRanges=function(t,e){yst(this.getCharacterList(),jst,t,e)},a}(Nst(Rst)),Vst=Bst,Yst=lst.Map;function Hst(t,e,n,a){var r=t.getBlockMap(),o=e.getStartKey(),i=e.getStartOffset(),l=e.getEndKey(),s=e.getEndOffset(),c=r.skipUntil((function(t,e){return e===o})).takeUntil((function(t,e){return e===l})).concat(Yst([[l,r.get(l)]])).map((function(t,e){var r,c;o===l?(r=i,c=s):(r=e===o?i:0,c=e===l?s:t.getLength());for(var u,d=t.getCharacterList();r<c;)u=d.get(r),d=d.set(r,a?vst.applyStyle(u,n):vst.removeStyle(u,n)),r++;return t.set("characterList",d)}));return t.merge({blockMap:r.merge(c),selectionBefore:e,selectionAfter:e})}var Wst={add:function(t,e,n){return Hst(t,e,n,!0)},remove:function(t,e,n){return Hst(t,e,n,!1)}};var Ust=function(t,e,n,a){for(var r=e,o=t.getCharacterList();r<n;)o=o.set(r,vst.applyEntity(o.get(r),a)),r++;return t.set("characterList",o)};var Gst=function(t,e,n){var a=t.getBlockMap(),r=e.getStartKey(),o=e.getStartOffset(),i=e.getEndKey(),l=e.getEndOffset(),s=a.skipUntil((function(t,e){return e===r})).takeUntil((function(t,e){return e===i})).toOrderedMap().merge(lst.OrderedMap([[i,a.get(i)]])).map((function(t,e){var a=e===r?o:0,s=e===i?l:t.getLength();return Ust(t,a,s,n)}));return t.merge({blockMap:a.merge(s),selectionBefore:e,selectionAfter:e})},Kst={getRemovalRange:function(t,e,n,a,r){var o=n.split(" ");o=o.map((function(t,e){if("forward"===r){if(e>0)return" "+t}else if(e<o.length-1)return t+" ";return t}));for(var i,l=a,s=null,c=null,u=0;u<o.length;u++){if(t<(i=l+o[u].length)&&l<e)null!==s||(s=l),c=i;else if(null!==s)break;l=i}var d=a+n.length,p=s===a,f=c===d;return(!p&&f||p&&!f)&&("forward"===r?c!==d&&c++:s!==a&&s--),{start:s,end:c}}};var qst=function(t,e){for(var n=arguments.length,a=new Array(n>2?n-2:0),r=2;r<n;r++)a[r-2]=arguments[r];if(!t){var o;if(void 0===e)o=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var i=0;(o=new Error(e.replace(/%s/g,(function(){return String(a[i++])})))).name="Invariant Violation"}throw o.framesToPop=1,o}};var Xst=function(t,e){var n=[];return t.findEntityRanges((function(t){return t.getEntity()===e}),(function(t,e){n.push({start:t,end:e})})),n.length||qst(!1),n};function Zst(t,e,n,a,r,o,i){var l=n.getStartOffset(),s=n.getEndOffset(),c=t.__get(r).getMutability(),u=i?l:s;if("MUTABLE"===c)return n;var d=Xst(e,r).filter((function(t){return u<=t.end&&u>=t.start}));1!=d.length&&qst(!1);var p=d[0];if("IMMUTABLE"===c)return n.merge({anchorOffset:p.start,focusOffset:p.end,isBackward:!1});o||(i?s=p.end:l=p.start);var f=Kst.getRemovalRange(l,s,e.getText().slice(p.start,p.end),p.start,a);return n.merge({anchorOffset:f.start,focusOffset:f.end,isBackward:!1})}var Jst=function(t,e,n,a,r){var o=a.getStartOffset(),i=a.getEndOffset(),l=e.getEntityAt(o),s=n.getEntityAt(i-1);if(!l&&!s)return a;var c=a;if(l&&l===s)c=Zst(t,e,c,r,l,!0,!0);else if(l&&s){var u=Zst(t,e,c,r,l,!1,!0),d=Zst(t,n,c,r,s,!1,!1);c=c.merge({anchorOffset:u.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(l){var p=Zst(t,e,c,r,l,!1,!0);c=c.merge({anchorOffset:p.getStartOffset(),isBackward:!1})}else if(s){var f=Zst(t,n,c,r,s,!1,!1);c=c.merge({focusOffset:f.getEndOffset(),isBackward:!1})}return c},$st={},Qst=Math.pow(2,24);var tct=function(){for(var t;void 0===t||$st.hasOwnProperty(t)||!isNaN(+t);)t=Math.floor(Math.random()*Qst).toString(32);return $st[t]=!0,t},ect=lst.OrderedMap,nct=function(t){return t.first()instanceof Vst?function(t){var e,n={};return ect(t.withMutations((function(t){t.forEach((function(a,r){var o=a.getKey(),i=a.getNextSiblingKey(),l=a.getPrevSiblingKey(),s=a.getChildKeys(),c=a.getParentKey(),u=tct();if(n[o]=u,i&&(t.get(i)?t.setIn([i,"prevSibling"],u):t.setIn([o,"nextSibling"],null)),l&&(t.get(l)?t.setIn([l,"nextSibling"],u):t.setIn([o,"prevSibling"],null)),c&&t.get(c)){var d=t.get(c).getChildKeys();t.setIn([c,"children"],d.set(d.indexOf(a.getKey()),u))}else t.setIn([o,"parent"],null),e&&(t.setIn([e.getKey(),"nextSibling"],u),t.setIn([o,"prevSibling"],n[e.getKey()])),e=t.get(o);s.forEach((function(e){t.get(e)?t.setIn([e,"parent"],u):t.setIn([o,"children"],a.getChildKeys().filter((function(t){return t!==e})))}))}))})).toArray().map((function(t){return[n[t.getKey()],t.set("key",n[t.getKey()])]})))}(t):function(t){return ect(t.toArray().map((function(t){var e=tct();return[e,t.set("key",e)]})))}(t)};function act(t,e,n){var a=e.getCharacterList(),r=n>0?a.get(n-1):void 0,o=n<a.count()?a.get(n):void 0,i=r?r.getEntity():void 0,l=o?o.getEntity():void 0;if(l&&l===i&&"MUTABLE"!==t.__get(l).getMutability()){for(var s,c=function(t,e,n){var a;return yst(t,(function(t,e){return t.getEntity()===e.getEntity()}),(function(t){return t.getEntity()===e}),(function(t,e){t<=n&&e>=n&&(a={start:t,end:e})})),"object"!=typeof a&&qst(!1),a}(a,l,n),u=c.start,d=c.end;u<d;)s=a.get(u),a=a.set(u,vst.applyEntity(s,null)),u++;return e.set("characterList",a)}return e}var rct=function(t,e){var n=t.getBlockMap(),a=t.getEntityMap(),r={},o=e.getStartKey(),i=e.getStartOffset(),l=n.get(o),s=act(a,l,i);s!==l&&(r[o]=s);var c=e.getEndKey(),u=e.getEndOffset(),d=n.get(c);o===c&&(d=s);var p=act(a,d,u);return p!==d&&(r[c]=p),Object.keys(r).length?t.merge({blockMap:n.merge(r),selectionAfter:e}):t.set("selectionAfter",e)},oct=function(t,e){var n=e.getStartKey(),a=e.getStartOffset(),r=e.getEndKey(),o=e.getEndOffset(),i=rct(t,e).getBlockMap(),l=i.keySeq(),s=l.indexOf(n),c=l.indexOf(r)+1;return nct(i.slice(s,c).map((function(t,e){var i=t.getText(),l=t.getCharacterList();return n===r?t.merge({text:i.slice(a,o),characterList:l.slice(a,o)}):e===n?t.merge({text:i.slice(a),characterList:l.slice(a)}):e===r?t.merge({text:i.slice(0,o),characterList:l.slice(0,o)}):t})))};var ict=function(t,e,n){var a=t;if(n===a.count())e.forEach((function(t){a=a.push(t)}));else if(0===n)e.reverse().forEach((function(t){a=a.unshift(t)}));else{var r=a.slice(0,n),o=a.slice(n);a=r.concat(e,o).toList()}return a},lct=lst.List,sct=function(t,e,n,a,r,o){var i=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",l=n.get(r),s=l.getText(),c=l.getCharacterList(),u=r,d=o+a.getText().length,p=null;switch(i){case"MERGE_OLD_DATA_TO_NEW_DATA":p=a.getData().merge(l.getData());break;case"REPLACE_WITH_NEW_DATA":p=a.getData()}var f=l.getType();s&&"unstyled"===f&&(f=a.getType());var h=l.merge({text:s.slice(0,o)+a.getText()+s.slice(o),characterList:ict(c,a.getCharacterList(),o),type:f,data:p});return t.merge({blockMap:n.set(r,h),selectionBefore:e,selectionAfter:e.merge({anchorKey:u,anchorOffset:d,focusKey:u,focusOffset:d,isBackward:!1})})},cct=function(t,e,n,a,r,o){var i=n.first()instanceof Vst,l=[],s=a.size,c=n.get(r),u=a.first(),d=a.last(),p=d.getLength(),f=d.getKey(),h=i&&(!c.getChildKeys().isEmpty()||!u.getChildKeys().isEmpty());n.forEach((function(t,e){e===r?(h?l.push(t):l.push(function(t,e,n){var a=t.getText(),r=t.getCharacterList(),o=a.slice(0,e),i=r.slice(0,e),l=n.first();return t.merge({text:o+l.getText(),characterList:i.concat(l.getCharacterList()),type:o?t.getType():l.getType(),data:l.getData()})}(t,o,a)),a.slice(h?0:1,s-1).forEach((function(t){return l.push(t)})),l.push(function(t,e,n){var a=t.getText(),r=t.getCharacterList(),o=a.length,i=a.slice(e,o),l=r.slice(e,o),s=n.last();return s.merge({text:s.getText()+i,characterList:s.getCharacterList().concat(l),data:s.getData()})}(t,o,a))):l.push(t)}));var g=cst.createFromArray(l);return i&&(g=function(t,e,n,a){return t.withMutations((function(e){var r=n.getKey(),o=a.getKey(),i=n.getNextSiblingKey(),l=n.getParentKey(),s=function(t,e){var n=t.getKey(),a=t,r=[];for(e.get(n)&&r.push(n);a&&a.getNextSiblingKey();){var o=a.getNextSiblingKey();if(!o)break;r.push(o),a=e.get(o)}return r}(a,t),c=s[s.length-1];if(e.get(o)?(e.setIn([r,"nextSibling"],o),e.setIn([o,"prevSibling"],r)):(e.setIn([r,"nextSibling"],a.getNextSiblingKey()),e.setIn([a.getNextSiblingKey(),"prevSibling"],r)),e.setIn([c,"nextSibling"],i),i&&e.setIn([i,"prevSibling"],c),s.forEach((function(t){return e.setIn([t,"parent"],l)})),l){var u=t.get(l).getChildKeys(),d=u.indexOf(r)+1,p=u.toArray();p.splice.apply(p,[d,0].concat(s)),e.setIn([l,"children"],lct(p))}}))}(g,0,c,u)),t.merge({blockMap:g,selectionBefore:e,selectionAfter:e.merge({anchorKey:f,anchorOffset:p,focusKey:f,focusOffset:p,isBackward:!1})})},uct=function(t,e,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";e.isCollapsed()||qst(!1);var r=t.getBlockMap(),o=nct(n),i=e.getStartKey(),l=e.getStartOffset(),s=r.get(i);return s instanceof Vst&&(s.getChildKeys().isEmpty()||qst(!1)),1===o.size?sct(t,e,r,o.first(),i,l,a):cct(t,e,r,o,i,l)},dct=lst.Repeat;var pct=function(t,e,n,a){e.isCollapsed()||qst(!1);var r=null;if(null!=n&&(r=n.length),null==r||0===r)return t;var o=t.getBlockMap(),i=e.getStartKey(),l=e.getStartOffset(),s=o.get(i),c=s.getText(),u=s.merge({text:c.slice(0,l)+n+c.slice(l,s.getLength()),characterList:ict(s.getCharacterList(),dct(a,r).toList(),l)}),d=l+r;return t.merge({blockMap:o.set(i,u),selectionAfter:e.merge({anchorOffset:d,focusOffset:d})})},fct=lst.Map;var hct=function(t,e,n){var a=e.getStartKey(),r=e.getEndKey(),o=t.getBlockMap(),i=o.toSeq().skipUntil((function(t,e){return e===a})).takeUntil((function(t,e){return e===r})).concat(fct([[r,o.get(r)]])).map(n);return t.merge({blockMap:o.merge(i),selectionBefore:e,selectionAfter:e})},gct=function(t,e){if(!(t instanceof Vst))return null;var n=t.getNextSiblingKey();if(n)return n;var a=t.getParentKey();if(!a)return null;for(var r=e.get(a);r&&!r.getNextSiblingKey();){var o=r.getParentKey();r=o?e.get(o):null}return r?r.getNextSiblingKey():null};lst.List;var mct=lst.Map,bct=function(t,e,n){if(t){var a=e.get(t);a&&e.set(t,n(a))}},vct=function(t,e){var n=[];if(!t)return n;for(var a=e.get(t);a&&a.getParentKey();){var r=a.getParentKey();r&&n.push(r),a=r?e.get(r):null}return n},yct=function(t,e,n){if(!t)return null;for(var a=n.get(t.getKey()).getNextSiblingKey();a&&!e.get(a);)a=n.get(a).getNextSiblingKey()||null;return a},xct=function(t,e,n){if(!t)return null;for(var a=n.get(t.getKey()).getPrevSiblingKey();a&&!e.get(a);)a=n.get(a).getPrevSiblingKey()||null;return a},wct=function(t,e,n,a){return t.withMutations((function(r){if(bct(e.getKey(),r,(function(t){return t.merge({nextSibling:yct(t,r,a),prevSibling:xct(t,r,a)})})),bct(n.getKey(),r,(function(t){return t.merge({nextSibling:yct(t,r,a),prevSibling:xct(t,r,a)})})),vct(e.getKey(),a).forEach((function(t){return bct(t,r,(function(t){return t.merge({children:t.getChildKeys().filter((function(t){return r.get(t)})),nextSibling:yct(t,r,a),prevSibling:xct(t,r,a)})}))})),bct(e.getNextSiblingKey(),r,(function(t){return t.merge({prevSibling:e.getPrevSiblingKey()})})),bct(e.getPrevSiblingKey(),r,(function(t){return t.merge({nextSibling:yct(t,r,a)})})),bct(n.getNextSiblingKey(),r,(function(t){return t.merge({prevSibling:xct(t,r,a)})})),bct(n.getPrevSiblingKey(),r,(function(t){return t.merge({nextSibling:n.getNextSiblingKey()})})),vct(n.getKey(),a).forEach((function(t){bct(t,r,(function(t){return t.merge({children:t.getChildKeys().filter((function(t){return r.get(t)})),nextSibling:yct(t,r,a),prevSibling:xct(t,r,a)})}))})),function(t,e){var n=[];if(!t)return n;for(var a=gct(t,e);a&&e.get(a);){var r=e.get(a);n.push(a),a=r.getParentKey()?gct(r,e):null}return n}(n,a).forEach((function(t){return bct(t,r,(function(t){return t.merge({nextSibling:yct(t,r,a),prevSibling:xct(t,r,a)})}))})),null==t.get(e.getKey())&&null!=t.get(n.getKey())&&n.getParentKey()===e.getKey()&&null==n.getPrevSiblingKey()){var o=e.getPrevSiblingKey();bct(n.getKey(),r,(function(t){return t.merge({prevSibling:o})})),bct(o,r,(function(t){return t.merge({nextSibling:n.getKey()})}));var i=o?t.get(o):null,l=i?i.getParentKey():null;if(e.getChildKeys().forEach((function(t){bct(t,r,(function(t){return t.merge({parent:l})}))})),null!=l){var s=t.get(l);bct(l,r,(function(t){return t.merge({children:s.getChildKeys().concat(e.getChildKeys())})}))}bct(e.getChildKeys().find((function(e){return null===t.get(e).getNextSiblingKey()})),r,(function(t){return t.merge({nextSibling:e.getNextSiblingKey()})}))}}))},_ct=function(t,e,n){if(0===e)for(;e<n;)t=t.shift(),e++;else if(n===t.count())for(;n>e;)t=t.pop(),n--;else{var a=t.slice(0,e),r=t.slice(n);t=a.concat(r).toList()}return t},kct=function(t,e){if(e.isCollapsed())return t;var n,a=t.getBlockMap(),r=e.getStartKey(),o=e.getStartOffset(),i=e.getEndKey(),l=e.getEndOffset(),s=a.get(r),c=a.get(i),u=s instanceof Vst,d=[];if(u){var p=c.getChildKeys(),f=vct(i,a);c.getNextSiblingKey()&&(d=d.concat(f)),p.isEmpty()||(d=d.concat(f.concat([i]))),d=d.concat(vct(gct(c,a),a))}n=s===c?_ct(s.getCharacterList(),o,l):s.getCharacterList().slice(0,o).concat(c.getCharacterList().slice(l));var h=s.merge({text:s.getText().slice(0,o)+c.getText().slice(l),characterList:n}),g=u&&0===o&&0===l&&c.getParentKey()===r&&null==c.getPrevSiblingKey()?mct([[r,null]]):a.toSeq().skipUntil((function(t,e){return e===r})).takeUntil((function(t,e){return e===i})).filter((function(t,e){return-1===d.indexOf(e)})).concat(mct([[i,null]])).map((function(t,e){return e===r?h:null})),m=a.merge(g).filter((function(t){return!!t}));return u&&s!==c&&(m=wct(m,s,c,a)),t.merge({blockMap:m,selectionBefore:e,selectionAfter:e.merge({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1})})},Sct=lst.List,Cct=lst.Map,Mct=function(t,e,n){if(t){var a=e.get(t);a&&e.set(t,n(a))}},Oct=function(t,e){e.isCollapsed()||qst(!1);var n=e.getAnchorKey(),a=t.getBlockMap(),r=a.get(n),o=r.getText();if(!o){var i=r.getType();if("unordered-list-item"===i||"ordered-list-item"===i)return hct(t,e,(function(t){return t.merge({type:"unstyled",depth:0})}))}var l=e.getAnchorOffset(),s=r.getCharacterList(),c=tct(),u=r instanceof Vst,d=r.merge({text:o.slice(0,l),characterList:s.slice(0,l)}),p=d.merge({key:c,text:o.slice(l),characterList:s.slice(l),data:Cct()}),f=a.toSeq().takeUntil((function(t){return t===r})),h=a.toSeq().skipUntil((function(t){return t===r})).rest(),g=f.concat([[n,d],[c,p]],h).toOrderedMap();return u&&(r.getChildKeys().isEmpty()||qst(!1),g=function(t,e,n){return t.withMutations((function(t){var a=e.getKey(),r=n.getKey();Mct(e.getParentKey(),t,(function(t){var e=t.getChildKeys(),n=e.indexOf(a)+1,o=e.toArray();return o.splice(n,0,r),t.merge({children:Sct(o)})})),Mct(e.getNextSiblingKey(),t,(function(t){return t.merge({prevSibling:r})})),Mct(a,t,(function(t){return t.merge({nextSibling:r})})),Mct(r,t,(function(t){return t.merge({prevSibling:a})}))}))}(g,d,p)),t.merge({blockMap:g,selectionBefore:e,selectionAfter:e.merge({anchorKey:c,anchorOffset:0,focusKey:c,focusOffset:0,isBackward:!1})})},Ect=lst.OrderedSet,Tct={replaceText:function(t,e,n,a,r){var o=rct(t,e),i=kct(o,e),l=vst.create({style:a||Ect(),entity:r||null});return pct(i,i.getSelectionAfter(),n,l)},insertText:function(t,e,n,a,r){return e.isCollapsed()||qst(!1),Tct.replaceText(t,e,n,a,r)},moveText:function(t,e,n){var a=oct(t,e),r=Tct.removeRange(t,e,"backward");return Tct.replaceWithFragment(r,n,a)},replaceWithFragment:function(t,e,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",r=rct(t,e),o=kct(r,e);return uct(o,o.getSelectionAfter(),n,a)},removeRange:function(t,e,n){var a,r,o,i;e.getIsBackward()&&(e=e.merge({anchorKey:e.getFocusKey(),anchorOffset:e.getFocusOffset(),focusKey:e.getAnchorKey(),focusOffset:e.getAnchorOffset(),isBackward:!1})),a=e.getAnchorKey(),r=e.getFocusKey(),o=t.getBlockForKey(a),i=t.getBlockForKey(r);var l=e.getStartOffset(),s=e.getEndOffset(),c=o.getEntityAt(l),u=i.getEntityAt(s-1);if(a===r&&c&&c===u){var d=Jst(t.getEntityMap(),o,i,e,n);return kct(t,d)}var p=rct(t,e);return kct(p,e)},splitBlock:function(t,e){var n=rct(t,e),a=kct(n,e);return Oct(a,a.getSelectionAfter())},applyInlineStyle:function(t,e,n){return Wst.add(t,e,n)},removeInlineStyle:function(t,e,n){return Wst.remove(t,e,n)},setBlockType:function(t,e,n){return hct(t,e,(function(t){return t.merge({type:n,depth:0})}))},setBlockData:function(t,e,n){return hct(t,e,(function(t){return t.merge({data:n})}))},mergeBlockData:function(t,e,n){return hct(t,e,(function(t){return t.merge({data:t.getData().merge(n)})}))},applyEntity:function(t,e,n){var a=rct(t,e);return Gst(a,e,n)}},Dct=Tct;var Ict=function(t){return Object.keys(t).map((function(e){return t[e]}))};function Pct(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Nct=lst.List,Act=lst.Repeat,zct=lst.Record,Rct=function(){return!0},Lct=zct({start:null,end:null}),jct=zct({start:null,end:null,decoratorKey:null,leaves:null}),Fct={generate:function(t,e,n){var a=e.getLength();if(!a)return Nct.of(new jct({start:0,end:0,decoratorKey:null,leaves:Nct.of(new Lct({start:0,end:0}))}));var r=[],o=n?n.getDecorations(e,t):Nct(Act(null,a)),i=e.getCharacterList();return yst(o,Vct,Rct,(function(t,e){r.push(new jct({start:t,end:e,decoratorKey:o.get(t),leaves:Bct(i.slice(t,e).toList(),t)}))})),Nct(r)},fromJS:function(t){var e=t.leaves,n=function(t,e){if(null==t)return{};var n,a,r={},o=Object.keys(t);for(a=0;a<o.length;a++)n=o[a],e.indexOf(n)>=0||(r[n]=t[n]);return r}(t,["leaves"]);return new jct(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),a.forEach((function(e){Pct(t,e,n[e])}))}return t}({},n,{leaves:null!=e?Nct(Array.isArray(e)?e:Ict(e)).map((function(t){return Lct(t)})):null}))}};function Bct(t,e){var n=[],a=t.map((function(t){return t.getStyle()})).toList();return yst(a,Vct,Rct,(function(t,a){n.push(new Lct({start:t+e,end:a+e}))})),Nct(n)}function Vct(t,e){return t===e}var Yct=Fct;var Hct=function(t){var e,n;function a(){return t.apply(this,arguments)||this}n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var r=a.prototype;return r.getType=function(){return this.get("type")},r.getMutability=function(){return this.get("mutability")},r.getData=function(){return this.get("data")},a}((0,lst.Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object})),Wct=Hct;var Uct=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)}))};function Gct(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Kct=(0,lst.Map)(),qct=Uct();function Xct(t,e){console.warn("WARNING: "+t+' will be deprecated soon!\nPlease use "'+e+'" instead.')}var Zct={getLastCreatedEntityKey:function(){return Xct("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),Zct.__getLastCreatedEntityKey()},create:function(t,e,n){return Xct("DraftEntity.create","contentState.createEntity"),Zct.__create(t,e,n)},add:function(t){return Xct("DraftEntity.add","contentState.addEntity"),Zct.__add(t)},get:function(t){return Xct("DraftEntity.get","contentState.getEntity"),Zct.__get(t)},__getAll:function(){return Kct},__loadWithEntities:function(t){Kct=t,qct=Uct()},mergeData:function(t,e){return Xct("DraftEntity.mergeData","contentState.mergeEntityData"),Zct.__mergeData(t,e)},replaceData:function(t,e){return Xct("DraftEntity.replaceData","contentState.replaceEntityData"),Zct.__replaceData(t,e)},__getLastCreatedEntityKey:function(){return qct},__create:function(t,e,n){return Zct.__add(new Wct({type:t,mutability:e,data:n||{}}))},__add:function(t){return qct=Uct(),Kct=Kct.set(qct,t),qct},__get:function(t){var e=Kct.get(t);return e||qst(!1),e},__mergeData:function(t,e){var n=Zct.__get(t),a=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),a.forEach((function(e){Gct(t,e,n[e])}))}return t}({},n.getData(),e),r=n.set("data",a);return Kct=Kct.set(t,r),r},__replaceData:function(t,e){var n=Zct.__get(t).set("data",e);return Kct=Kct.set(t,n),n}},Jct=Zct;var $ct=function(t){var e,n;function a(){return t.apply(this,arguments)||this}n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var r=a.prototype;return r.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},r.getAnchorKey=function(){return this.get("anchorKey")},r.getAnchorOffset=function(){return this.get("anchorOffset")},r.getFocusKey=function(){return this.get("focusKey")},r.getFocusOffset=function(){return this.get("focusOffset")},r.getIsBackward=function(){return this.get("isBackward")},r.getHasFocus=function(){return this.get("hasFocus")},r.hasEdgeWithin=function(t,e,n){var a=this.getAnchorKey(),r=this.getFocusKey();if(a===r&&a===t){var o=this.getStartOffset(),i=this.getEndOffset();return e<=o&&o<=n||e<=i&&i<=n}if(t!==a&&t!==r)return!1;var l=t===a?this.getAnchorOffset():this.getFocusOffset();return e<=l&&n>=l},r.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},r.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},r.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},r.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},r.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},a.createEmpty=function(t){return new a({anchorKey:t,anchorOffset:0,focusKey:t,focusOffset:0,isBackward:!1,hasFocus:!1})},a}((0,lst.Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1})),Qct=$ct,tut=function(t){return!("undefined"==typeof window||!window.__DRAFT_GKX)&&!!window.__DRAFT_GKX[t]},eut=new RegExp("\r","g");var nut=function(t){return t.replace(eut,"")};function aut(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),a.forEach((function(e){rut(t,e,n[e])}))}return t}function rut(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var out=lst.List,iut=lst.Record,lut=lst.Repeat,sut=lst.Map,cut=lst.OrderedMap,uut=iut({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),dut=tut("draft_tree_data_support")?Vst:Tst,put=function(t){var e,n;function a(){return t.apply(this,arguments)||this}n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var r=a.prototype;return r.getEntityMap=function(){return Jct},r.getBlockMap=function(){return this.get("blockMap")},r.getSelectionBefore=function(){return this.get("selectionBefore")},r.getSelectionAfter=function(){return this.get("selectionAfter")},r.getBlockForKey=function(t){return this.getBlockMap().get(t)},r.getKeyBefore=function(t){return this.getBlockMap().reverse().keySeq().skipUntil((function(e){return e===t})).skip(1).first()},r.getKeyAfter=function(t){return this.getBlockMap().keySeq().skipUntil((function(e){return e===t})).skip(1).first()},r.getBlockAfter=function(t){return this.getBlockMap().skipUntil((function(e,n){return n===t})).skip(1).first()},r.getBlockBefore=function(t){return this.getBlockMap().reverse().skipUntil((function(e,n){return n===t})).skip(1).first()},r.getBlocksAsArray=function(){return this.getBlockMap().toArray()},r.getFirstBlock=function(){return this.getBlockMap().first()},r.getLastBlock=function(){return this.getBlockMap().last()},r.getPlainText=function(t){return this.getBlockMap().map((function(t){return t?t.getText():""})).join(t||"\n")},r.getLastCreatedEntityKey=function(){return Jct.__getLastCreatedEntityKey()},r.hasText=function(){var t=this.getBlockMap();return t.size>1||escape(t.first().getText()).replace(/%u200B/g,"").length>0},r.createEntity=function(t,e,n){return Jct.__create(t,e,n),this},r.mergeEntityData=function(t,e){return Jct.__mergeData(t,e),this},r.replaceEntityData=function(t,e){return Jct.__replaceData(t,e),this},r.addEntity=function(t){return Jct.__add(t),this},r.getEntity=function(t){return Jct.__get(t)},r.getAllEntities=function(){return Jct.__getAll()},r.loadWithEntities=function(t){return Jct.__loadWithEntities(t)},a.createFromBlockArray=function(t,e){var n=Array.isArray(t)?t:t.contentBlocks,r=cst.createFromArray(n),o=r.isEmpty()?new Qct:Qct.createEmpty(r.first().getKey());return new a({blockMap:r,entityMap:e||Jct,selectionBefore:o,selectionAfter:o})},a.createFromText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=t.split(e),r=n.map((function(t){return t=nut(t),new dut({key:tct(),text:t,type:"unstyled",characterList:out(lut(vst.EMPTY,t.length))})}));return a.createFromBlockArray(r)},a.fromJS=function(t){return new a(aut({},t,{blockMap:cut(t.blockMap).map(a.createContentBlockFromJS),selectionBefore:new Qct(t.selectionBefore),selectionAfter:new Qct(t.selectionAfter)}))},a.createContentBlockFromJS=function(t){var e=t.characterList;return new dut(aut({},t,{data:sut(t.data),characterList:null!=e?out((Array.isArray(e)?e:Ict(e)).map((function(t){return vst.fromJS(t)}))):void 0}))},a}(uut),fut=put,hut="LTR",gut=null;function mut(t){return t===hut||"RTL"===t}function but(t){return mut(t)||qst(!1),t===hut?"ltr":"rtl"}function vut(t){gut=t}var yut={NEUTRAL:"NEUTRAL",LTR:hut,RTL:"RTL",isStrong:mut,getHTMLDir:but,getHTMLDirIfDifferent:function(t,e){return mut(t)||qst(!1),mut(e)||qst(!1),t===e?null:but(t)},setGlobalDir:vut,initGlobalDir:function(){vut(hut)},getGlobalDir:function(){return gut||this.initGlobalDir(),gut||qst(!1),gut}},xut=yut,wut="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",_ut="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",kut=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃǄ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ﬀ-ﬆﬓ-ﬗＡ-Ｚａ-ｚｦ-ｯｰｱ-ﾝﾞ-ﾟﾠ-ﾾￂ-ￇￊ-ￏￒ-ￗￚ-ￜ"+wut+_ut+"]"),Sut=new RegExp("["+wut+_ut+"]");function Cut(t){var e=kut.exec(t);return null==e?null:e[0]}function Mut(t){var e=Cut(t);return null==e?xut.NEUTRAL:Sut.exec(e)?xut.RTL:xut.LTR}function Out(t,e){if(e=e||xut.NEUTRAL,!t.length)return e;var n=Mut(t);return n===xut.NEUTRAL?e:n}function Eut(t,e){return e||(e=xut.getGlobalDir()),xut.isStrong(e)||qst(!1),Out(t,e)}var Tut={firstStrongChar:Cut,firstStrongCharDir:Mut,resolveBlockDir:Out,getDirection:Eut,isDirectionLTR:function(t,e){return Eut(t,e)===xut.LTR},isDirectionRTL:function(t,e){return Eut(t,e)===xut.RTL}};function Dut(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Iut,Put=function(){function t(t){Dut(this,"_defaultDir",void 0),Dut(this,"_lastDir",void 0),t?xut.isStrong(t)||qst(!1):t=xut.getGlobalDir(),this._defaultDir=t,this.reset()}var e=t.prototype;return e.reset=function(){this._lastDir=this._defaultDir},e.getDirection=function(t){return this._lastDir=Tut.getDirection(t,this._lastDir),this._lastDir},t}(),Nut=function(t){if(null!=t)return t;throw new Error("Got unexpected null or undefined")},Aut=lst.OrderedMap,zut={getDirectionMap:function(t,e){Iut?Iut.reset():Iut=new Put;var n=t.getBlockMap(),a=n.valueSeq().map((function(t){return Nut(Iut).getDirection(t.getText())})),r=Aut(n.keySeq().zip(a));return null!=e&&lst.is(e,r)?e:r}};function Rut(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),a.forEach((function(e){Lut(t,e,n[e])}))}return t}function Lut(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var jut=lst.OrderedSet,Fut=lst.Record,But=lst.Stack,Vut=lst.OrderedMap,Yut=lst.List,Hut=Fut({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:But(),selection:null,treeMap:null,undoStack:But()}),Wut=function(){e.createEmpty=function(t){return this.createWithText("",t)},e.createWithText=function(t,n){return e.createWithContent(fut.createFromText(t),n)},e.createWithContent=function(t,n){if(0===t.getBlockMap().count())return e.createEmpty(n);var a=t.getBlockMap().first().getKey();return e.create({currentContent:t,undoStack:But(),redoStack:But(),decorator:n||null,selection:Qct.createEmpty(a)})},e.create=function(t){var n=t.currentContent,a=Rut({},t,{treeMap:Gut(n,t.decorator),directionMap:zut.getDirectionMap(n)});return new e(new Hut(a))},e.fromJS=function(t){return new e(new Hut(Rut({},t,{directionMap:null!=t.directionMap?Vut(t.directionMap):t.directionMap,inlineStyleOverride:null!=t.inlineStyleOverride?jut(t.inlineStyleOverride):t.inlineStyleOverride,nativelyRenderedContent:null!=t.nativelyRenderedContent?fut.fromJS(t.nativelyRenderedContent):t.nativelyRenderedContent,redoStack:null!=t.redoStack?But(t.redoStack.map((function(t){return fut.fromJS(t)}))):t.redoStack,selection:null!=t.selection?new Qct(t.selection):t.selection,treeMap:null!=t.treeMap?Vut(t.treeMap).map((function(t){return Yut(t).map((function(t){return Yct.fromJS(t)}))})):t.treeMap,undoStack:null!=t.undoStack?But(t.undoStack.map((function(t){return fut.fromJS(t)}))):t.undoStack,currentContent:fut.fromJS(t.currentContent)})))},e.set=function(t,n){var a=t.getImmutable().withMutations((function(e){var a=e.get("decorator"),r=a;null===n.decorator?r=null:n.decorator&&(r=n.decorator);var o=n.currentContent||t.getCurrentContent();if(r!==a){var i,l=e.get("treeMap");return i=r&&a?function(t,e,n,a,r){return n.merge(e.toSeq().filter((function(e){return a.getDecorations(e,t)!==r.getDecorations(e,t)})).map((function(e){return Yct.generate(t,e,a)})))}(o,o.getBlockMap(),l,r,a):Gut(o,r),void e.merge({decorator:r,treeMap:i,nativelyRenderedContent:null})}o!==t.getCurrentContent()&&e.set("treeMap",function(t,e,n,a){var r=t.getCurrentContent().set("entityMap",n),o=r.getBlockMap();return t.getImmutable().get("treeMap").merge(e.toSeq().filter((function(t,e){return t!==o.get(e)})).map((function(t){return Yct.generate(r,t,a)})))}(t,o.getBlockMap(),o.getEntityMap(),r)),e.merge(n)}));return new e(a)};var t=e.prototype;function e(t){Lut(this,"_immutable",void 0),this._immutable=t}return t.toJS=function(){return this.getImmutable().toJS()},t.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},t.getCurrentContent=function(){return this.getImmutable().get("currentContent")},t.getUndoStack=function(){return this.getImmutable().get("undoStack")},t.getRedoStack=function(){return this.getImmutable().get("redoStack")},t.getSelection=function(){return this.getImmutable().get("selection")},t.getDecorator=function(){return this.getImmutable().get("decorator")},t.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},t.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},t.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},t.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},t.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},e.setInlineStyleOverride=function(t,n){return e.set(t,{inlineStyleOverride:n})},t.getCurrentInlineStyle=function(){var t=this.getInlineStyleOverride();if(null!=t)return t;var e=this.getCurrentContent(),n=this.getSelection();return n.isCollapsed()?function(t,e){var n=e.getStartKey(),a=e.getStartOffset(),r=t.getBlockForKey(n);if(a>0)return r.getInlineStyleAt(a-1);if(r.getLength())return r.getInlineStyleAt(0);return qut(t,n)}(e,n):function(t,e){var n=e.getStartKey(),a=e.getStartOffset(),r=t.getBlockForKey(n);if(a<r.getLength())return r.getInlineStyleAt(a);if(a>0)return r.getInlineStyleAt(a-1);return qut(t,n)}(e,n)},t.getBlockTree=function(t){return this.getImmutable().getIn(["treeMap",t])},t.isSelectionAtStartOfContent=function(){var t=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(t,0,0)},t.isSelectionAtEndOfContent=function(){var t=this.getCurrentContent().getBlockMap().last(),e=t.getLength();return this.getSelection().hasEdgeWithin(t.getKey(),e,e)},t.getDirectionMap=function(){return this.getImmutable().get("directionMap")},e.acceptSelection=function(t,e){return Uut(t,e,!1)},e.forceSelection=function(t,e){return e.getHasFocus()||(e=e.set("hasFocus",!0)),Uut(t,e,!0)},e.moveSelectionToEnd=function(t){var n=t.getCurrentContent().getLastBlock(),a=n.getKey(),r=n.getLength();return e.acceptSelection(t,new Qct({anchorKey:a,anchorOffset:r,focusKey:a,focusOffset:r,isBackward:!1}))},e.moveFocusToEnd=function(t){var n=e.moveSelectionToEnd(t);return e.forceSelection(n,n.getSelection())},e.push=function(t,n,a){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(t.getCurrentContent()===n)return t;var o=zut.getDirectionMap(n,t.getDirectionMap());if(!t.getAllowUndo())return e.set(t,{currentContent:n,directionMap:o,lastChangeType:a,selection:n.getSelectionAfter(),forceSelection:r,inlineStyleOverride:null});var i=t.getSelection(),l=t.getCurrentContent(),s=t.getUndoStack(),c=n;i!==l.getSelectionAfter()||Kut(t,a)?(s=s.push(l),c=c.set("selectionBefore",i)):"insert-characters"!==a&&"backspace-character"!==a&&"delete-character"!==a||(c=c.set("selectionBefore",l.getSelectionBefore()));var u=t.getInlineStyleOverride(),d=["adjust-depth","change-block-type","split-block"];-1===d.indexOf(a)&&(u=null);var p={currentContent:c,directionMap:o,undoStack:s,redoStack:But(),lastChangeType:a,selection:n.getSelectionAfter(),forceSelection:r,inlineStyleOverride:u};return e.set(t,p)},e.undo=function(t){if(!t.getAllowUndo())return t;var n=t.getUndoStack(),a=n.peek();if(!a)return t;var r=t.getCurrentContent(),o=zut.getDirectionMap(a,t.getDirectionMap());return e.set(t,{currentContent:a,directionMap:o,undoStack:n.shift(),redoStack:t.getRedoStack().push(r),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:r.getSelectionBefore()})},e.redo=function(t){if(!t.getAllowUndo())return t;var n=t.getRedoStack(),a=n.peek();if(!a)return t;var r=t.getCurrentContent(),o=zut.getDirectionMap(a,t.getDirectionMap());return e.set(t,{currentContent:a,directionMap:o,undoStack:t.getUndoStack().push(r),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:a.getSelectionAfter()})},t.getImmutable=function(){return this._immutable},e}();function Uut(t,e,n){return Wut.set(t,{selection:e,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function Gut(t,e){return t.getBlockMap().map((function(n){return Yct.generate(t,n,e)})).toOrderedMap()}function Kut(t,e){return e!==t.getLastChangeType()||"insert-characters"!==e&&"backspace-character"!==e&&"delete-character"!==e}function qut(t,e){var n=t.getBlockMap().reverse().skipUntil((function(t,n){return n===e})).skip(1).skipUntil((function(t,e){return t.getLength()})).first();return n?n.getInlineStyleAt(n.getLength()-1):jut()}var Xut=Wut,Zut=lst.OrderedMap,Jut=lst.List,$ut=function(t,e,n){if(t){var a=e.get(t);a&&e.set(t,n(a))}},Qut=function(t,e,n,a,r){if(!r)return t;var o="after"===a,i=e.getKey(),l=n.getKey(),s=e.getParentKey(),c=e.getNextSiblingKey(),u=e.getPrevSiblingKey(),d=n.getParentKey(),p=o?n.getNextSiblingKey():l,f=o?l:n.getPrevSiblingKey();return t.withMutations((function(t){$ut(s,t,(function(t){var e=t.getChildKeys();return t.merge({children:e.delete(e.indexOf(i))})})),$ut(u,t,(function(t){return t.merge({nextSibling:c})})),$ut(c,t,(function(t){return t.merge({prevSibling:u})})),$ut(p,t,(function(t){return t.merge({prevSibling:i})})),$ut(f,t,(function(t){return t.merge({nextSibling:i})})),$ut(d,t,(function(t){var e=t.getChildKeys(),n=e.indexOf(l),a=o?n+1:0!==n?n-1:0,r=e.toArray();return r.splice(a,0,i),t.merge({children:Jut(r)})})),$ut(i,t,(function(t){return t.merge({nextSibling:p,prevSibling:f,parent:d})}))}))},tdt=function(t,e,n,a){"replace"===a&&qst(!1);var r=n.getKey(),o=e.getKey();o===r&&qst(!1);var i=t.getBlockMap(),l=e instanceof Vst,s=[e],c=i.delete(o);l&&(s=[],c=i.withMutations((function(t){var n=e.getNextSiblingKey(),a=gct(e,t);t.toSeq().skipUntil((function(t){return t.getKey()===o})).takeWhile((function(t){var e=t.getKey(),r=e===o,i=n&&e!==n,l=!n&&t.getParentKey()&&(!a||e!==a);return!!(r||i||l)})).forEach((function(e){s.push(e),t.delete(e.getKey())}))})));var u=c.toSeq().takeUntil((function(t){return t===n})),d=c.toSeq().skipUntil((function(t){return t===n})).skip(1),p=s.map((function(t){return[t.getKey(),t]})),f=Zut();if("before"===a){var h=t.getBlockBefore(r);h&&h.getKey()===e.getKey()&&qst(!1),f=u.concat([].concat(p,[[r,n]]),d).toOrderedMap()}else if("after"===a){var g=t.getBlockAfter(r);g&&g.getKey()===o&&qst(!1),f=u.concat([[r,n]].concat(p),d).toOrderedMap()}return t.merge({blockMap:Qut(f,e,n,a,l),selectionBefore:t.getSelectionAfter(),selectionAfter:t.getSelectionAfter().merge({anchorKey:o,focusKey:o})})};function edt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),a.forEach((function(e){ndt(t,e,n[e])}))}return t}function ndt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var adt=tut("draft_tree_data_support"),rdt=adt?Vst:Tst,odt=lst.List,idt=lst.Repeat,ldt={insertAtomicBlock:function(t,e,n){var a=t.getCurrentContent(),r=t.getSelection(),o=Dct.removeRange(a,r,"backward"),i=o.getSelectionAfter(),l=Dct.splitBlock(o,i),s=l.getSelectionAfter(),c=Dct.setBlockType(l,s,"atomic"),u=vst.create({entity:e}),d={key:tct(),type:"atomic",text:n,characterList:odt(idt(u,n.length))},p={key:tct(),type:"unstyled"};adt&&(d=edt({},d,{nextSibling:p.key}),p=edt({},p,{prevSibling:d.key}));var f=[new rdt(d),new rdt(p)],h=cst.createFromArray(f),g=Dct.replaceWithFragment(c,s,h),m=g.merge({selectionBefore:r,selectionAfter:g.getSelectionAfter().set("hasFocus",!0)});return Xut.push(t,m,"insert-fragment")},moveAtomicBlock:function(t,e,n,a){var r,o=t.getCurrentContent(),i=t.getSelection();if("before"===a||"after"===a){var l=o.getBlockForKey("before"===a?n.getStartKey():n.getEndKey());r=tdt(o,e,l,a)}else{var s=Dct.removeRange(o,n,"backward"),c=s.getSelectionAfter(),u=s.getBlockForKey(c.getFocusKey());if(0===c.getStartOffset())r=tdt(s,e,u,"before");else if(c.getEndOffset()===u.getLength())r=tdt(s,e,u,"after");else{var d=Dct.splitBlock(s,c),p=d.getSelectionAfter(),f=d.getBlockForKey(p.getFocusKey());r=tdt(d,e,f,"before")}}var h=r.merge({selectionBefore:i,selectionAfter:r.getSelectionAfter().set("hasFocus",!0)});return Xut.push(t,h,"move-block")}};var sdt=lst.List,cdt=function(){function t(t){!function(t,e,n){e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n}(this,"_decorators",void 0),this._decorators=t.slice()}var e=t.prototype;return e.getDecorations=function(t,e){var n=Array(t.getText().length).fill(null);return this._decorators.forEach((function(a,r){var o=0;(0,a.strategy)(t,(function(t,e){(function(t,e,n){for(var a=e;a<n;a++)if(null!=t[a])return!1;return!0})(n,t,e)&&(!function(t,e,n,a){for(var r=e;r<n;r++)t[r]=a}(n,t,e,r+"."+o),o++)}),e)})),sdt(n)},e.getComponentForKey=function(t){var e=parseInt(t.split(".")[0],10);return this._decorators[e].component},e.getPropsForKey=function(t){var e=parseInt(t.split(".")[0],10);return this._decorators[e].props},t}();var udt=cdt;function ddt(t){return t.replace(/\//g,"-")}var pdt=function(t){return"object"==typeof t?Object.keys(t).filter((function(e){return t[e]})).map(ddt).join(" "):Array.prototype.map.call(arguments,ddt).join(" ")},fdt=(0,lst.Map)({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},section:{element:"section"},article:{element:"article"},"unordered-list-item":{element:"li",wrapper:i.default.createElement("ul",{className:pdt("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:i.default.createElement("ol",{className:pdt("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:i.default.createElement("pre",{className:pdt("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}}),hdt={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}},gdt=v((function(t,e){!function(n,a){var r="function",o="undefined",i="object",l="string",s="model",c="name",u="type",d="vendor",p="version",f="architecture",h="console",g="mobile",m="tablet",b="smarttv",v="wearable",y="embedded",x="Amazon",w="Apple",_="ASUS",k="BlackBerry",S="Firefox",C="Google",M="Huawei",O="LG",E="Microsoft",T="Motorola",D="Opera",I="Samsung",P="Sony",N="Xiaomi",A="Zebra",z="Facebook",R=function(t){for(var e={},n=0;n<t.length;n++)e[t[n].toUpperCase()]=t[n];return e},L=function(t,e){return typeof t===l&&-1!==j(e).indexOf(j(t))},j=function(t){return t.toLowerCase()},F=function(t,e){if(typeof t===l)return t=t.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof e===o?t:t.substring(0,255)},B=function(t,e){for(var n,o,l,s,c,u,d=0;d<e.length&&!c;){var p=e[d],f=e[d+1];for(n=o=0;n<p.length&&!c;)if(c=p[n++].exec(t))for(l=0;l<f.length;l++)u=c[++o],typeof(s=f[l])===i&&s.length>0?2===s.length?typeof s[1]==r?this[s[0]]=s[1].call(this,u):this[s[0]]=s[1]:3===s.length?typeof s[1]!==r||s[1].exec&&s[1].test?this[s[0]]=u?u.replace(s[1],s[2]):a:this[s[0]]=u?s[1].call(this,u,s[2]):a:4===s.length&&(this[s[0]]=u?s[3].call(this,u.replace(s[1],s[2])):a):this[s]=u||a;d+=2}},V=function(t,e){for(var n in e)if(typeof e[n]===i&&e[n].length>0){for(var r=0;r<e[n].length;r++)if(L(e[n][r],t))return"?"===n?a:n}else if(L(e[n],t))return"?"===n?a:n;return t},Y={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},H={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[p,[c,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[p,[c,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[c,p],[/opios[\/ ]+([\w\.]+)/i],[p,[c,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[p,[c,D]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[c,p],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[p,[c,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[p,[c,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[p,[c,"WeChat"]],[/konqueror\/([\w\.]+)/i],[p,[c,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[p,[c,"IE"]],[/yabrowser\/([\w\.]+)/i],[p,[c,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[c,/(.+)/,"$1 Secure Browser"],p],[/\bfocus\/([\w\.]+)/i],[p,[c,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[p,[c,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[p,[c,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[p,[c,"Dolphin"]],[/coast\/([\w\.]+)/i],[p,[c,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[p,[c,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[p,[c,S]],[/\bqihu|(qi?ho?o?|360)browser/i],[[c,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[c,/(.+)/,"$1 Browser"],p],[/(comodo_dragon)\/([\w\.]+)/i],[[c,/_/g," "],p],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[c,p],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[c],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[c,z],p],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[c,p],[/\bgsa\/([\w\.]+) .*safari\//i],[p,[c,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[p,[c,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[c,"Chrome WebView"],p],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[p,[c,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[c,p],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[p,[c,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[p,c],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[c,[p,V,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[c,p],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[c,"Netscape"],p],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[p,[c,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[c,p]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[f,"amd64"]],[/(ia32(?=;))/i],[[f,j]],[/((?:i[346]|x)86)[;\)]/i],[[f,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[f,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[f,"armhf"]],[/windows (ce|mobile); ppc;/i],[[f,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[f,/ower/,"",j]],[/(sun4\w)[;\)]/i],[[f,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[f,j]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[s,[d,I],[u,m]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[s,[d,I],[u,g]],[/\((ip(?:hone|od)[\w ]*);/i],[s,[d,w],[u,g]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[s,[d,w],[u,m]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[s,[d,M],[u,m]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[s,[d,M],[u,g]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[s,/_/g," "],[d,N],[u,g]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[s,/_/g," "],[d,N],[u,m]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[s,[d,"OPPO"],[u,g]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[s,[d,"Vivo"],[u,g]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[s,[d,"Realme"],[u,g]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[s,[d,T],[u,g]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[s,[d,T],[u,m]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[s,[d,O],[u,m]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[s,[d,O],[u,g]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[s,[d,"Lenovo"],[u,m]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[s,/_/g," "],[d,"Nokia"],[u,g]],[/(pixel c)\b/i],[s,[d,C],[u,m]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[s,[d,C],[u,g]],[/droid.+ ([c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[s,[d,P],[u,g]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[s,"Xperia Tablet"],[d,P],[u,m]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[s,[d,"OnePlus"],[u,g]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[s,[d,x],[u,m]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[s,/(.+)/g,"Fire Phone $1"],[d,x],[u,g]],[/(playbook);[-\w\),; ]+(rim)/i],[s,d,[u,m]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[s,[d,k],[u,g]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[s,[d,_],[u,m]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[s,[d,_],[u,g]],[/(nexus 9)/i],[s,[d,"HTC"],[u,m]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[d,[s,/_/g," "],[u,g]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[s,[d,"Acer"],[u,m]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[s,[d,"Meizu"],[u,g]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[s,[d,"Sharp"],[u,g]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[d,s,[u,g]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[d,s,[u,m]],[/(surface duo)/i],[s,[d,E],[u,m]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[s,[d,"Fairphone"],[u,g]],[/(u304aa)/i],[s,[d,"AT&T"],[u,g]],[/\bsie-(\w*)/i],[s,[d,"Siemens"],[u,g]],[/\b(rct\w+) b/i],[s,[d,"RCA"],[u,m]],[/\b(venue[\d ]{2,7}) b/i],[s,[d,"Dell"],[u,m]],[/\b(q(?:mv|ta)\w+) b/i],[s,[d,"Verizon"],[u,m]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[s,[d,"Barnes & Noble"],[u,m]],[/\b(tm\d{3}\w+) b/i],[s,[d,"NuVision"],[u,m]],[/\b(k88) b/i],[s,[d,"ZTE"],[u,m]],[/\b(nx\d{3}j) b/i],[s,[d,"ZTE"],[u,g]],[/\b(gen\d{3}) b.+49h/i],[s,[d,"Swiss"],[u,g]],[/\b(zur\d{3}) b/i],[s,[d,"Swiss"],[u,m]],[/\b((zeki)?tb.*\b) b/i],[s,[d,"Zeki"],[u,m]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],s,[u,m]],[/\b(ns-?\w{0,9}) b/i],[s,[d,"Insignia"],[u,m]],[/\b((nxa|next)-?\w{0,9}) b/i],[s,[d,"NextBook"],[u,m]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],s,[u,g]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],s,[u,g]],[/\b(ph-1) /i],[s,[d,"Essential"],[u,g]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[s,[d,"Envizen"],[u,m]],[/\b(trio[-\w\. ]+) b/i],[s,[d,"MachSpeed"],[u,m]],[/\btu_(1491) b/i],[s,[d,"Rotor"],[u,m]],[/(shield[\w ]+) b/i],[s,[d,"Nvidia"],[u,m]],[/(sprint) (\w+)/i],[d,s,[u,g]],[/(kin\.[onetw]{3})/i],[[s,/\./g," "],[d,E],[u,g]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[s,[d,A],[u,m]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[s,[d,A],[u,g]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,s,[u,h]],[/droid.+; (shield) bui/i],[s,[d,"Nvidia"],[u,h]],[/(playstation [345portablevi]+)/i],[s,[d,P],[u,h]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[s,[d,E],[u,h]],[/smart-tv.+(samsung)/i],[d,[u,b]],[/hbbtv.+maple;(\d+)/i],[[s,/^/,"SmartTV"],[d,I],[u,b]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,O],[u,b]],[/(apple) ?tv/i],[d,[s,"Apple TV"],[u,b]],[/crkey/i],[[s,"Chromecast"],[d,C],[u,b]],[/droid.+aft(\w)( bui|\))/i],[s,[d,x],[u,b]],[/\(dtv[\);].+(aquos)/i],[s,[d,"Sharp"],[u,b]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[d,F],[s,F],[u,b]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[u,b]],[/((pebble))app/i],[d,s,[u,v]],[/droid.+; (glass) \d/i],[s,[d,C],[u,v]],[/droid.+; (wt63?0{2,3})\)/i],[s,[d,A],[u,v]],[/(quest( 2)?)/i],[s,[d,z],[u,v]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[u,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[s,[u,g]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[s,[u,m]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[u,m]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[u,g]],[/(android[-\w\. ]{0,9});.+buil/i],[s,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[p,[c,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[p,[c,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[c,p],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[p,c]],os:[[/microsoft (windows) (vista|xp)/i],[c,p],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[c,[p,V,Y]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[c,"Windows"],[p,V,Y]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[p,/_/g,"."],[c,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[c,"Mac OS"],[p,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[p,c],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[c,p],[/\(bb(10);/i],[p,[c,k]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[p,[c,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[p,[c,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[p,[c,"webOS"]],[/crkey\/([\d\.]+)/i],[p,[c,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[c,"Chromium OS"],p],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[c,p],[/(sunos) ?([\w\.\d]*)/i],[[c,"Solaris"],p],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[c,p]]},W=function(t,e){if(typeof t===i&&(e=t,t=a),!(this instanceof W))return new W(t,e).getResult();var r=t||(typeof n!==o&&n.navigator&&n.navigator.userAgent?n.navigator.userAgent:""),s=e?function(t,e){var n={};for(var a in t)e[a]&&e[a].length%2==0?n[a]=e[a].concat(t[a]):n[a]=t[a];return n}(H,e):H;return this.getBrowser=function(){var t={};return t.name=a,t.version=a,B.call(t,r,s.browser),t.major=function(t){return typeof t===l?t.replace(/[^\d\.]/g,"").split(".")[0]:a}(t.version),t},this.getCPU=function(){var t={};return t.architecture=a,B.call(t,r,s.cpu),t},this.getDevice=function(){var t={};return t.vendor=a,t.model=a,t.type=a,B.call(t,r,s.device),t},this.getEngine=function(){var t={};return t.name=a,t.version=a,B.call(t,r,s.engine),t},this.getOS=function(){var t={};return t.name=a,t.version=a,B.call(t,r,s.os),t},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(t){return r=typeof t===l&&t.length>255?F(t,255):t,this},this.setUA(r),this};W.VERSION="0.7.31",W.BROWSER=R([c,p,"major"]),W.CPU=R([f]),W.DEVICE=R([s,d,u,h,g,b,m,v,y]),W.ENGINE=W.OS=R([c,p]),t.exports&&(e=t.exports=W),e.UAParser=W;var U=typeof n!==o&&(n.jQuery||n.Zepto);if(U&&!U.ua){var G=new W;U.ua=G.getResult(),U.ua.get=function(){return G.getUA()},U.ua.set=function(t){G.setUA(t);var e=G.getResult();for(var n in e)U.ua[n]=e[n]}}}("object"==typeof window?window:g)})),mdt="Unknown",bdt={"Mac OS":"Mac OS X"};var vdt,ydt=(new gdt).getResult(),xdt=function(t){if(!t)return{major:"",minor:""};var e=t.split(".");return{major:e[0],minor:e[1]}}(ydt.browser.version),wdt={browserArchitecture:ydt.cpu.architecture||mdt,browserFullVersion:ydt.browser.version||mdt,browserMinorVersion:xdt.minor||mdt,browserName:ydt.browser.name||mdt,browserVersion:ydt.browser.major||mdt,deviceName:ydt.device.model||mdt,engineName:ydt.engine.name||mdt,engineVersion:ydt.engine.version||mdt,platformArchitecture:ydt.cpu.architecture||mdt,platformName:(vdt=ydt.os.name,bdt[vdt]||vdt||mdt),platformVersion:ydt.os.version||mdt,platformFullVersion:ydt.os.version||mdt},_dt=/\./,kdt=/\|\|/,Sdt=/\s+\-\s+/,Cdt=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,Mdt=/^(\d*)(.*)/;function Odt(t,e){var n=t.split(kdt);return n.length>1?n.some((function(t){return jdt.contains(t,e)})):function(t,e){var n=t.split(Sdt);if(n.length>0&&n.length<=2||qst(!1),1===n.length)return Edt(n[0],e);var a=n[0],r=n[1];return Ndt(a)&&Ndt(r)||qst(!1),Edt(">="+a,e)&&Edt("<="+r,e)}(t=n[0].trim(),e)}function Edt(t,e){if(""===(t=t.trim()))return!0;var n=e.split(_dt),a=Idt(t),r=a.modifier,o=a.rangeComponents;switch(r){case"<":return Tdt(n,o);case"<=":return function(t,e){var n=Ldt(t,e);return-1===n||0===n}(n,o);case">=":return Ddt(n,o);case">":return function(t,e){return 1===Ldt(t,e)}(n,o);case"~":case"~>":return function(t,e){var n=e.slice(),a=e.slice();a.length>1&&a.pop();var r=a.length-1,o=parseInt(a[r],10);Pdt(o)&&(a[r]=o+1+"");return Ddt(t,n)&&Tdt(t,a)}(n,o);default:return function(t,e){return 0===Ldt(t,e)}(n,o)}}function Tdt(t,e){return-1===Ldt(t,e)}function Ddt(t,e){var n=Ldt(t,e);return 1===n||0===n}function Idt(t){var e=t.split(_dt),n=e[0].match(Cdt);return n||qst(!1),{modifier:n[1],rangeComponents:[n[2]].concat(e.slice(1))}}function Pdt(t){return!isNaN(t)&&isFinite(t)}function Ndt(t){return!Idt(t).modifier}function Adt(t,e){for(var n=t.length;n<e;n++)t[n]="0"}function zdt(t,e){var n=t.match(Mdt)[1],a=e.match(Mdt)[1],r=parseInt(n,10),o=parseInt(a,10);return Pdt(r)&&Pdt(o)&&r!==o?Rdt(r,o):Rdt(t,e)}function Rdt(t,e){return typeof t!=typeof e&&qst(!1),t>e?1:t<e?-1:0}function Ldt(t,e){for(var n=function(t,e){Adt(t=t.slice(),(e=e.slice()).length);for(var n=0;n<e.length;n++){var a=e[n].match(/^[x*]$/i);if(a&&(e[n]=t[n]="0","*"===a[0]&&n===e.length-1))for(var r=n;r<t.length;r++)t[r]="0"}return Adt(e,t.length),[t,e]}(t,e),a=n[0],r=n[1],o=0;o<r.length;o++){var i=zdt(a[o],r[o]);if(i)return i}return 0}var jdt={contains:function(t,e){return Odt(t.trim(),e.trim())}},Fdt=jdt,Bdt=Object.prototype.hasOwnProperty;var Vdt=function(t,e,n){if(!t)return null;var a={};for(var r in t)Bdt.call(t,r)&&(a[r]=e.call(n,t[r],r,t));return a};var Ydt=function(t){var e={};return function(n){return e.hasOwnProperty(n)||(e[n]=t.call(this,n)),e[n]}};function Hdt(t,e,n,a){if(t===n)return!0;if(!n.startsWith(t))return!1;var r=n.slice(t.length);return!!e&&(r=a?a(r):r,Fdt.contains(r,e))}function Wdt(t){return"Windows"===wdt.platformName?t.replace(/^\s*NT/,""):t}var Udt=Vdt({isBrowser:function(t){return Hdt(wdt.browserName,wdt.browserFullVersion,t)},isBrowserArchitecture:function(t){return Hdt(wdt.browserArchitecture,null,t)},isDevice:function(t){return Hdt(wdt.deviceName,null,t)},isEngine:function(t){return Hdt(wdt.engineName,wdt.engineVersion,t)},isPlatform:function(t){return Hdt(wdt.platformName,wdt.platformFullVersion,t,Wdt)},isPlatformArchitecture:function(t){return Hdt(wdt.platformArchitecture,null,t)}},Ydt);var Gdt=function(t){return t&&t.ownerDocument?t.ownerDocument:document};var Kdt=function(t){return!(!t||!t.ownerDocument)&&t.nodeType===Node.ELEMENT_NODE};var qdt=function t(e){if(Kdt(e)){var n=e,a=n.getAttribute("data-offset-key");if(a)return a;for(var r=0;r<n.childNodes.length;r++){var o=t(n.childNodes[r]);if(o)return o}}return null};var Xdt=function(t){for(var e=t;e&&e!==Gdt(t).documentElement;){var n=qdt(e);if(null!=n)return n;e=e.parentNode}return null};var Zdt=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:window};function Jdt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var $dt=lst.Map,Qdt={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},tpt=Udt.isBrowser("IE <= 11"),ept=function(){function t(t){var e=this;Jdt(this,"observer",void 0),Jdt(this,"container",void 0),Jdt(this,"mutations",void 0),Jdt(this,"onCharData",void 0),this.container=t,this.mutations=$dt();var n=Zdt(t);n.MutationObserver&&!tpt?this.observer=new n.MutationObserver((function(t){return e.registerMutations(t)})):this.onCharData=function(t){t.target instanceof Node||qst(!1),e.registerMutation({type:"characterData",target:t.target})}}var e=t.prototype;return e.start=function(){this.observer?this.observer.observe(this.container,Qdt):this.container.addEventListener("DOMCharacterDataModified",this.onCharData)},e.stopAndFlushMutations=function(){var t=this.observer;t?(this.registerMutations(t.takeRecords()),t.disconnect()):this.container.removeEventListener("DOMCharacterDataModified",this.onCharData);var e=this.mutations;return this.mutations=$dt(),e},e.registerMutations=function(t){for(var e=0;e<t.length;e++)this.registerMutation(t[e])},e.getMutationTextContent=function(t){var e=t.type,n=t.target,a=t.removedNodes;if("characterData"===e){if(""!==n.textContent)return tpt?n.textContent.replace("\n",""):n.textContent}else if("childList"===e){if(a&&a.length)return"";if(""!==n.textContent)return n.textContent}return null},e.registerMutation=function(t){var e=this.getMutationTextContent(t);if(null!=e){var n=Nut(Xdt(t.target));this.mutations=this.mutations.set(n,e)}},t}(),npt=ept,apt="-",rpt={encode:function(t,e,n){return t+apt+e+apt+n},decode:function(t){var e=t.split(apt).reverse(),n=e[0],a=e[1];return{blockKey:e.slice(2).reverse().join(apt),decoratorKey:parseInt(a,10),leafKey:parseInt(n,10)}}},opt=8,ipt=9,lpt=13,spt=27,cpt=32,upt=37,dpt=38,ppt=39,fpt=40,hpt=46,gpt=function(){return null},mpt=function(){return null};var bpt=function(t){return!(!t||!t.ownerDocument)&&(t.ownerDocument.defaultView?t instanceof t.ownerDocument.defaultView.HTMLElement:t instanceof HTMLElement)};var vpt=function(t){var e=t.editorContainer;return e||qst(!1),bpt(e.firstChild)||qst(!1),e.firstChild};var ypt=function(t,e,n,a,r){var o=Nut(t.getSelection());if(!e||!a)return o;var i=rpt.decode(e),l=i.blockKey,s=t.getBlockTree(l),c=s&&s.getIn([i.decoratorKey,"leaves",i.leafKey]),u=rpt.decode(a),d=u.blockKey,p=t.getBlockTree(d),f=p&&p.getIn([u.decoratorKey,"leaves",u.leafKey]);if(!c||!f)return o;var h=c.get("start"),g=f.get("start"),m=c?h+n:null,b=f?g+r:null;if(o.getAnchorKey()===l&&o.getAnchorOffset()===m&&o.getFocusKey()===d&&o.getFocusOffset()===b)return o;var v=!1;if(l===d){var y=c.get("end"),x=f.get("end");v=g===h&&x===y?r<n:g<h}else{var w=t.getCurrentContent().getBlockMap().keySeq().skipUntil((function(t){return t===l||t===d})).first();v=w===d}return o.merge({anchorKey:l,anchorOffset:m,focusKey:d,focusOffset:b,isBackward:v})};function xpt(t,e,n){var a=e,r=Xdt(a);(null!=r||t&&(t===a||t.firstChild===a)||qst(!1),t===a)&&(a=a.firstChild,Kdt(a)||qst(!1),"true"!==(a=a).getAttribute("data-contents")&&qst(!1),n>0&&(n=a.childNodes.length));if(0===n){var o=null;if(null!=r)o=r;else{var i=function(t){for(;t.firstChild&&(Kdt(t.firstChild)&&"true"===t.firstChild.getAttribute("data-blocks")||qdt(t.firstChild));)t=t.firstChild;return t}(a);o=Nut(qdt(i))}return{key:o,offset:0}}var l=a.childNodes[n-1],s=null,c=null;if(qdt(l)){var u=function(t){for(;t.lastChild&&(Kdt(t.lastChild)&&"true"===t.lastChild.getAttribute("data-blocks")||qdt(t.lastChild));)t=t.lastChild;return t}(l);s=Nut(qdt(u)),c=wpt(u)}else s=Nut(r),c=wpt(l);return{key:s,offset:c}}function wpt(t){var e=t.textContent;return"\n"===e?0:e.length}var _pt=function(t,e,n,a,r,o){var i=n.nodeType===Node.TEXT_NODE,l=r.nodeType===Node.TEXT_NODE;if(i&&l)return{selectionState:ypt(t,Nut(Xdt(n)),a,Nut(Xdt(r)),o),needsRecovery:!1};var s=null,c=null,u=!0;return i?(s={key:Nut(Xdt(n)),offset:a},c=xpt(e,r,o)):l?(c={key:Nut(Xdt(r)),offset:o},s=xpt(e,n,a)):(s=xpt(e,n,a),c=xpt(e,r,o),n===r&&a===o&&(u=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:ypt(t,s.key,s.offset,c.key,c.offset),needsRecovery:u}};var kpt=function(t,e){var n=e.ownerDocument.defaultView.getSelection(),a=n.anchorNode,r=n.anchorOffset,o=n.focusNode,i=n.focusOffset;return 0===n.rangeCount||null==a||null==o?{selectionState:t.getSelection().set("hasFocus",!1),needsRecovery:!1}:_pt(t,e,a,r,o,i)};var Spt=function(t){if(t._blockSelectEvents||t._latestEditorState!==t.props.editorState){if(t._blockSelectEvents){var e=t.props.editorState.getSelection();gpt({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(e.toJS())})}}else{var n=t.props.editorState,a=kpt(n,vpt(t)),r=a.selectionState;r!==n.getSelection()&&(n=a.needsRecovery?Xut.forceSelection(n,r):Xut.acceptSelection(n,r),t.update(n))}};var Cpt=function(t){return null!=t&&""!=t},Mpt=Cpt;function Opt(t,e){return Mpt(e)&&"MUTABLE"===t.__get(e).getMutability()?e:null}var Ept=function(t,e){var n;if(e.isCollapsed()){var a=e.getAnchorKey(),r=e.getAnchorOffset();return r>0?(n=t.getBlockForKey(a).getEntityAt(r-1))!==t.getBlockForKey(a).getEntityAt(r)?null:Opt(t.getEntityMap(),n):null}var o=e.getStartKey(),i=e.getStartOffset(),l=t.getBlockForKey(o);return n=i===l.getLength()?null:l.getEntityAt(i),Opt(t.getEntityMap(),n)},Tpt=Udt.isBrowser("IE"),Dpt=!1,Ipt=!1,Ppt=null;var Npt={onCompositionStart:function(t){Ipt=!0,function(t){Ppt||(Ppt=new npt(vpt(t))).start()}(t)},onCompositionEnd:function(t){Dpt=!1,Ipt=!1,setTimeout((function(){Dpt||Npt.resolveComposition(t)}),20)},onSelect:Spt,onKeyDown:function(t,e){if(!Ipt)return Npt.resolveComposition(t),void t._onKeyDown(e);e.which!==ppt&&e.which!==upt||e.preventDefault()},onKeyPress:function(t,e){e.which===lpt&&e.preventDefault()},resolveComposition:function(t){if(!Ipt){var e=Nut(Ppt).stopAndFlushMutations();Ppt=null,Dpt=!0;var n=Xut.set(t._latestEditorState,{inCompositionMode:!1});if(t.exitCurrentMode(),e.size){var a=n.getCurrentContent();e.forEach((function(t,e){var r=rpt.decode(e),o=r.blockKey,i=r.decoratorKey,l=r.leafKey,s=n.getBlockTree(o).getIn([i,"leaves",l]),c=s.start,u=s.end,d=n.getSelection().merge({anchorKey:o,focusKey:o,anchorOffset:c,focusOffset:u,isBackward:!1}),p=Ept(a,d),f=a.getBlockForKey(o).getInlineStyleAt(c);a=Dct.replaceText(a,d,t,f,p),n=Xut.set(n,{currentContent:a})}));var r=kpt(n,vpt(t)).selectionState;t.restoreEditorDOM();var o=Tpt?Xut.forceSelection(n,r):Xut.acceptSelection(n,r);t.update(Xut.push(o,a,"insert-characters"))}else t.update(n)}}},Apt=Npt;function zpt(){return zpt=S||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},zpt.apply(this,arguments)}var Rpt=function(t){var e,n;function a(){return t.apply(this,arguments)||this}return n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,a.prototype.render=function(){var t=this.props,e=t.block,n=t.children,a=t.contentState,r=t.decorator,o=t.decoratorKey,l=t.direction,s=t.leafSet,c=t.text,u=e.getKey(),d=s.get("leaves"),p=r.getComponentForKey(o),f=r.getPropsForKey(o),h=rpt.encode(u,parseInt(o,10),0),g=c.slice(d.first().get("start"),d.last().get("end")),m=xut.getHTMLDirIfDifferent(Tut.getDirection(g),l);return i.default.createElement(p,zpt({},f,{contentState:a,decoratedText:g,dir:m,key:h,entityKey:e.getEntityAt(s.get("start")),offsetKey:h}),n)},a}(i.default.Component),Lpt=Rpt;function jpt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fpt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Bpt=Udt.isBrowser("IE <= 11");var Vpt=function(t){var e,n;function a(e){var n;return Fpt(jpt(n=t.call(this,e)||this),"_forceFlag",void 0),Fpt(jpt(n),"_node",void 0),n._forceFlag=!1,n}n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var r=a.prototype;return r.shouldComponentUpdate=function(t){var e=this._node,n=""===t.children;Kdt(e)||qst(!1);var a=e;return n?!function(t){return Bpt?"\n"===t.textContent:"BR"===t.tagName}(a):a.textContent!==t.children},r.componentDidMount=function(){this._forceFlag=!this._forceFlag},r.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},r.render=function(){var t,e=this;return""===this.props.children?this._forceFlag?(t=function(t){return e._node=t},Bpt?i.default.createElement("span",{key:"A","data-text":"true",ref:t},"\n"):i.default.createElement("br",{key:"A","data-text":"true",ref:t})):function(t){return Bpt?i.default.createElement("span",{key:"B","data-text":"true",ref:t},"\n"):i.default.createElement("br",{key:"B","data-text":"true",ref:t})}((function(t){return e._node=t})):i.default.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(t){return e._node=t}},this.props.children)},a}(i.default.Component);var Ypt=function(t){return!(!t||!t.ownerDocument)&&(Kdt(t)&&"BR"===t.nodeName)};var Hpt=function(t){var e=(t?t.ownerDocument||t:document).defaultView||window;return!(!t||!("function"==typeof e.Node?t instanceof e.Node:"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName))};var Wpt=function(t){return Hpt(t)&&3==t.nodeType};var Upt=function t(e,n){return!(!e||!n)&&(e===n||!Wpt(e)&&(Wpt(n)?t(e,n.parentNode):"contains"in e?e.contains(n):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(n))))};var Gpt=function(t){if(void 0===(t=t||("undefined"!=typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}},Kpt=Udt.isBrowser("IE");function qpt(t,e){if(!t)return"[empty]";var n=Xpt(t,e);return n.nodeType===Node.TEXT_NODE?n.textContent:(Kdt(n)||qst(!1),n.outerHTML)}function Xpt(t,e){var n=void 0!==e?e(t):[];if(t.nodeType===Node.TEXT_NODE){var a=t.textContent.length;return Gdt(t).createTextNode("[text "+a+(n.length?" | "+n.join(", "):"")+"]")}var r=t.cloneNode();1===r.nodeType&&n.length&&r.setAttribute("data-labels",n.join(", "));for(var o=t.childNodes,i=0;i<o.length;i++)r.appendChild(Xpt(o[i],e));return r}function Zpt(t,e){for(var n=t,a=n;n;){if(Kdt(n)&&a.hasAttribute("contenteditable"))return qpt(n,e);a=n=n.parentNode}return"Could not find contentEditable parent of node"}function Jpt(t){return null===t.nodeValue?t.childNodes.length:t.nodeValue.length}function $pt(t,e,n,a){var r=Gpt();if(t.extend&&null!=e&&Upt(r,e)){n>Jpt(e)&&mpt({anonymizedDom:Zpt(e),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(a.toJS())});var o=e===t.focusNode;try{t.rangeCount>0&&t.extend&&t.extend(e,n)}catch(i){throw mpt({anonymizedDom:Zpt(e,(function(e){var n=[];return e===r&&n.push("active element"),e===t.anchorNode&&n.push("selection anchor node"),e===t.focusNode&&n.push("selection focus node"),n})),extraParams:JSON.stringify({activeElementName:r?r.nodeName:null,nodeIsFocus:e===t.focusNode,nodeWasFocus:o,selectionRangeCount:t.rangeCount,selectionAnchorNodeName:t.anchorNode?t.anchorNode.nodeName:null,selectionAnchorOffset:t.anchorOffset,selectionFocusNodeName:t.focusNode?t.focusNode.nodeName:null,selectionFocusOffset:t.focusOffset,message:i?""+i:null,offset:n},null,2),selectionState:JSON.stringify(a.toJS(),null,2)}),i}}else if(e&&t.rangeCount>0){var i=t.getRangeAt(0);i.setEnd(e,n),t.addRange(i.cloneRange())}}function Qpt(t,e,n,a){var r=Gdt(e).createRange();if(n>Jpt(e)&&mpt({anonymizedDom:Zpt(e),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(a.toJS())}),r.setStart(e,n),Kpt)try{t.addRange(r)}catch(t){}else t.addRange(r)}var tft=function(t,e,n,a,r){var o=Gdt(e);if(Upt(o.documentElement,e)){var i=o.defaultView.getSelection(),l=t.getAnchorKey(),s=t.getAnchorOffset(),c=t.getFocusKey(),u=t.getFocusOffset(),d=t.getIsBackward();if(!i.extend&&d){var p=l,f=s;l=c,s=u,c=p,u=f,d=!1}var h=l===n&&a<=s&&r>=s,g=c===n&&a<=u&&r>=u;if(h&&g)return i.removeAllRanges(),Qpt(i,e,s-a,t),void $pt(i,e,u-a,t);if(d){if(g&&(i.removeAllRanges(),Qpt(i,e,u-a,t)),h){var m=i.focusNode,b=i.focusOffset;i.removeAllRanges(),Qpt(i,e,s-a,t),$pt(i,m,b,t)}}else h&&(i.removeAllRanges(),Qpt(i,e,s-a,t)),g&&$pt(i,e,u-a,t)}};function eft(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nft(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var aft=tft,rft=function(t){var e,n;function a(){for(var e,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return nft(eft(e=t.call.apply(t,[this].concat(a))||this),"leaf",void 0),e}n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var r=a.prototype;return r._setSelection=function(){var t=this.props.selection;if(null!=t&&t.getHasFocus()){var e=this.props,n=e.block,a=e.start,r=e.text,o=n.getKey(),i=a+r.length;if(t.hasEdgeWithin(o,a,i)){var l=this.leaf;l||qst(!1);var s,c=l.firstChild;c||qst(!1),c.nodeType===Node.TEXT_NODE?s=c:Ypt(c)?s=l:(s=c.firstChild)||qst(!1),aft(t,s,o,a,i)}}},r.shouldComponentUpdate=function(t){var e=this.leaf;return e||qst(!1),e.textContent!==t.text||t.styleSet!==this.props.styleSet||t.forceSelection},r.componentDidUpdate=function(){this._setSelection()},r.componentDidMount=function(){this._setSelection()},r.render=function(){var t=this,e=this.props.block,n=this.props.text;n.endsWith("\n")&&this.props.isLast&&(n+="\n");var a=this.props,r=a.customStyleMap,o=a.customStyleFn,l=a.offsetKey,s=a.styleSet,c=s.reduce((function(t,e){var n={},a=r[e];return void 0!==a&&t.textDecoration!==a.textDecoration&&(n.textDecoration=[t.textDecoration,a.textDecoration].join(" ").trim()),S(t,a,n)}),{});if(o){var u=o(s,e);c=S(c,u)}return i.default.createElement("span",{"data-offset-key":l,ref:function(e){return t.leaf=e},style:c},i.default.createElement(Vpt,null,n))},a}(i.default.Component),oft=rft;lst.List;var ift=function(t){var e,n;function a(){return t.apply(this,arguments)||this}return n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,a.prototype.render=function(){var t=this.props,e=t.block,n=t.contentState,a=t.customStyleFn,r=t.customStyleMap,o=t.decorator,l=t.direction,s=t.forceSelection,c=t.hasSelection,u=t.selection,d=t.tree,p=e.getKey(),f=e.getText(),h=d.size-1,g=this.props.children||d.map((function(t,d){var g=t.get("decoratorKey"),m=t.get("leaves"),b=m.size-1,v=m.map((function(t,n){var o=rpt.encode(p,d,n),l=t.get("start"),m=t.get("end");return i.default.createElement(oft,{key:o,offsetKey:o,block:e,start:l,selection:c?u:null,forceSelection:s,text:f.slice(l,m),styleSet:e.getInlineStyleAt(l),customStyleMap:r,customStyleFn:a,isLast:g===h&&n===b})})).toArray();return g&&o?i.default.createElement(Lpt,{block:e,children:v,contentState:n,decorator:o,decoratorKey:g,direction:l,leafSet:t,text:f,key:d}):v})).toArray();return i.default.createElement("div",{"data-offset-key":rpt.encode(p,0,0),className:pdt({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===l,"public/DraftStyleDefault/rtl":"RTL"===l})},g)},a}(i.default.Component),lft=ift;function sft(t,e){return!!e&&(t===e.documentElement||t===e.body)}var cft={getTop:function(t){var e=t.ownerDocument;return sft(t,e)?e.body.scrollTop||e.documentElement.scrollTop:t.scrollTop},setTop:function(t,e){var n=t.ownerDocument;sft(t,n)?n.body.scrollTop=n.documentElement.scrollTop=e:t.scrollTop=e},getLeft:function(t){var e=t.ownerDocument;return sft(t,e)?e.body.scrollLeft||e.documentElement.scrollLeft:t.scrollLeft},setLeft:function(t,e){var n=t.ownerDocument;sft(t,n)?n.body.scrollLeft=n.documentElement.scrollLeft=e:t.scrollLeft=e}},uft=/-(.)/g;var dft=function(t){return t.replace(uft,(function(t,e){return e.toUpperCase()}))},pft=/([A-Z])/g;var fft=function(t){return t.replace(pft,"-$1").toLowerCase()};function hft(t){return null==t?t:String(t)}var gft=function(t,e){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(t,null)))return hft(n.getPropertyValue(fft(e)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(t,null))return hft(n.getPropertyValue(fft(e)));if("display"===e)return"none"}return t.currentStyle?hft("float"===e?t.currentStyle.cssFloat||t.currentStyle.styleFloat:t.currentStyle[dft(e)]):hft(t.style&&t.style[dft(e)])};function mft(t,e){var n=bft.get(t,e);return"auto"===n||"scroll"===n}var bft={get:gft,getScrollParent:function(t){if(!t)return null;for(var e=t.ownerDocument;t&&t!==e.body;){if(mft(t,"overflow")||mft(t,"overflowY")||mft(t,"overflowX"))return t;t=t.parentNode}return e.defaultView||e.parentWindow}},vft=bft;var yft=function(t){var e=t.ownerDocument.documentElement;if(!("getBoundingClientRect"in t)||!Upt(e,t))return{left:0,right:0,top:0,bottom:0};var n=t.getBoundingClientRect();return{left:Math.round(n.left)-e.clientLeft,right:Math.round(n.right)-e.clientLeft,top:Math.round(n.top)-e.clientTop,bottom:Math.round(n.bottom)-e.clientTop}};var xft=function(t){var e=yft(t);return{x:e.left,y:e.top,width:e.right-e.left,height:e.bottom-e.top}},wft="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;var _ft=function(t){return(t=t||document).scrollingElement?t.scrollingElement:wft||"CSS1Compat"!==t.compatMode?t.body:t.documentElement};var kft=function(t){return t.Window&&t instanceof t.Window?{x:t.pageXOffset||t.document.documentElement.scrollLeft,y:t.pageYOffset||t.document.documentElement.scrollTop}:{x:t.scrollLeft,y:t.scrollTop}};var Sft=function(t){var e=_ft(t.ownerDocument||t.document);t.Window&&t instanceof t.Window&&(t=e);var n=kft(t),a=t===e?t.ownerDocument.documentElement:t,r=t.scrollWidth-a.clientWidth,o=t.scrollHeight-a.clientHeight;return n.x=Math.max(0,Math.min(n.x,r)),n.y=Math.max(0,Math.min(n.y,o)),n};function Cft(){var t;return document.documentElement&&(t=document.documentElement.clientWidth),!t&&document.body&&(t=document.body.clientWidth),t||0}function Mft(){var t;return document.documentElement&&(t=document.documentElement.clientHeight),!t&&document.body&&(t=document.body.clientHeight),t||0}function Oft(){return{width:window.innerWidth||Cft(),height:window.innerHeight||Mft()}}Oft.withoutScrollbars=function(){return{width:Cft(),height:Mft()}};var Eft=Oft;function Tft(){return Tft=S||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},Tft.apply(this,arguments)}function Dft(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ift(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),a.forEach((function(e){Pft(t,e,n[e])}))}return t}function Pft(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}lst.List;var Nft=function(t,e){return t.getAnchorKey()===e||t.getFocusKey()===e},Aft=function(t,e){var n=e.get(t.getType())||e.get("unstyled"),a=n.wrapper;return{Element:n.element||e.get("unstyled").element,wrapperTemplate:a}},zft=function(t,e){var n=e(t);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},Rft=function(t,e,n,a,r,o){var i={"data-block":!0,"data-editor":e,"data-offset-key":n,key:t.getKey(),ref:o},l=a(t);return l&&(i.className=l),void 0!==r.customEditable&&(i=Ift({},i,{contentEditable:r.customEditable,suppressContentEditableWarning:!0})),i},Lft=function(t){var e,n;function a(){for(var e,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return Pft(Dft(e=t.call.apply(t,[this].concat(a))||this),"wrapperRef",i.default.createRef()),e}n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var r=a.prototype;return r.shouldComponentUpdate=function(t){var e=this.props,n=e.block,a=e.direction,r=e.tree,o=!n.getChildKeys().isEmpty(),i=n!==t.block||r!==t.tree||a!==t.direction||Nft(t.selection,t.block.getKey())&&t.forceSelection;return o||i},r.componentDidMount=function(){var t=this.props.selection,e=t.getEndKey();if(t.getHasFocus()&&e===this.props.block.getKey()){var n=this.wrapperRef.current;if(n){var a,r=vft.getScrollParent(n),o=Sft(r);if(r===window){var i=xft(n);(a=i.y+i.height-Eft().height)>0&&window.scrollTo(o.x,o.y+a+10)}else{bpt(n)||qst(!1);var l=n;(a=l.offsetHeight+l.offsetTop-(r.offsetHeight+o.y))>0&&cft.setTop(r,cft.getTop(r)+a+10)}}}},r.render=function(){var t=this,e=this.props,n=e.block,r=e.blockRenderMap,o=e.blockRendererFn,l=e.blockStyleFn,s=e.contentState,c=e.decorator,u=e.editorKey,d=e.editorState,p=e.customStyleFn,f=e.customStyleMap,h=e.direction,g=e.forceSelection,m=e.selection,b=e.tree,v=null;n.children.size&&(v=n.children.reduce((function(e,n){var c=rpt.encode(n,0,0),p=s.getBlockForKey(n),f=zft(p,o),h=f.CustomComponent||a,g=Aft(p,r),m=g.Element,b=g.wrapperTemplate,v=Rft(p,u,c,l,f,null),y=Ift({},t.props,{tree:d.getBlockTree(n),blockProps:f.customProps,offsetKey:c,block:p});return e.push(i.default.createElement(m,v,i.default.createElement(h,y))),!b||function(t,e){var n=t.getNextSiblingKey();return!!n&&e.getBlockForKey(n).getType()===t.getType()}(p,s)||function(t,e,n){var a=[],r=!0,o=!1,l=void 0;try{for(var s,c=n.reverse()[Symbol.iterator]();!(r=(s=c.next()).done);r=!0){var u=s.value;if(u.type!==e)break;a.push(u)}}catch(t){o=!0,l=t}finally{try{r||null==c.return||c.return()}finally{if(o)throw l}}n.splice(n.indexOf(a[0]),a.length+1);var d=a.reverse(),p=d[0].key;n.push(i.default.cloneElement(t,{key:"".concat(p,"-wrap"),"data-offset-key":rpt.encode(p,0,0)},d))}(b,m,e),e}),[]));var y=n.getKey(),x=rpt.encode(y,0,0),w=zft(n,o),_=w.CustomComponent,k=null!=_?i.default.createElement(_,Tft({},this.props,{tree:d.getBlockTree(y),blockProps:w.customProps,offsetKey:x,block:n})):i.default.createElement(lft,{block:n,children:v,contentState:s,customStyleFn:p,customStyleMap:f,decorator:c,direction:h,forceSelection:g,hasSelection:Nft(m,y),selection:m,tree:b});if(n.getParentKey())return k;var S=Aft(n,r).Element,C=Rft(n,u,x,l,w,this.wrapperRef);return i.default.createElement(S,C,k)},a}(i.default.Component),jft=Lft;function Fft(){return Fft=S||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},Fft.apply(this,arguments)}var Bft=function(t){var e,n;function a(){return t.apply(this,arguments)||this}n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var r=a.prototype;return r.shouldComponentUpdate=function(t){var e=this.props.editorState,n=t.editorState;if(e.getDirectionMap()!==n.getDirectionMap())return!0;if(e.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var a=n.getNativelyRenderedContent(),r=e.isInCompositionMode(),o=n.isInCompositionMode();if(e===n||null!==a&&n.getCurrentContent()===a||r&&o)return!1;var i=e.getCurrentContent(),l=n.getCurrentContent(),s=e.getDecorator(),c=n.getDecorator();return r!==o||i!==l||s!==c||n.mustForceSelection()},r.render=function(){for(var t=this.props,e=t.blockRenderMap,n=t.blockRendererFn,a=t.blockStyleFn,r=t.customStyleMap,o=t.customStyleFn,l=t.editorState,s=t.editorKey,c=t.textDirectionality,u=l.getCurrentContent(),d=l.getSelection(),p=l.mustForceSelection(),f=l.getDecorator(),h=Nut(l.getDirectionMap()),g=[],m=u.getBlocksAsArray()[0];m;){var b=m.getKey(),v={blockRenderMap:e,blockRendererFn:n,blockStyleFn:a,contentState:u,customStyleFn:o,customStyleMap:r,decorator:f,editorKey:s,editorState:l,forceSelection:p,selection:d,block:m,direction:c||h.get(b),tree:l.getBlockTree(b)},y=(e.get(m.getType())||e.get("unstyled")).wrapper;g.push({block:i.default.createElement(jft,Fft({key:b},v)),wrapperTemplate:y,key:b,offsetKey:rpt.encode(b,0,0)});var x=m.getNextSiblingKey();m=x?u.getBlockForKey(x):null}for(var w=[],_=0;_<g.length;){var k=g[_];if(k.wrapperTemplate){var S=[];do{S.push(g[_].block),_++}while(_<g.length&&g[_].wrapperTemplate===k.wrapperTemplate);var C=i.default.cloneElement(k.wrapperTemplate,{key:k.key+"-wrap","data-offset-key":k.offsetKey},S);w.push(C)}else w.push(k.block),_++}return i.default.createElement("div",{"data-contents":"true"},w)},a}(i.default.Component),Vft=Bft;function Yft(){return Yft=S||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},Yft.apply(this,arguments)}function Hft(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wft(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Uft=function(t,e){return t.getAnchorKey()===e||t.getFocusKey()===e},Gft=function(t){var e,n;function a(){for(var e,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return Wft(Hft(e=t.call.apply(t,[this].concat(a))||this),"_node",void 0),e}n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var r=a.prototype;return r.shouldComponentUpdate=function(t){return this.props.block!==t.block||this.props.tree!==t.tree||this.props.direction!==t.direction||Uft(t.selection,t.block.getKey())&&t.forceSelection},r.componentDidMount=function(){if(!this.props.preventScroll){var t=this.props.selection,e=t.getEndKey();if(t.getHasFocus()&&e===this.props.block.getKey()){var n=this._node;if(null!=n){var a,r=vft.getScrollParent(n),o=Sft(r);if(r===window){var i=xft(n);(a=i.y+i.height-Eft().height)>0&&window.scrollTo(o.x,o.y+a+10)}else{bpt(n)||qst(!1),(a=n.offsetHeight+n.offsetTop-(r.offsetTop+r.offsetHeight+o.y))>0&&cft.setTop(r,cft.getTop(r)+a+10)}}}}},r._renderChildren=function(){var t=this,e=this.props.block,n=e.getKey(),a=e.getText(),r=this.props.tree.size-1,o=Uft(this.props.selection,n);return this.props.tree.map((function(l,s){var c=l.get("leaves");if(0===c.size)return null;var u=c.size-1,d=c.map((function(l,c){var d=rpt.encode(n,s,c),p=l.get("start"),f=l.get("end");return i.default.createElement(oft,{key:d,offsetKey:d,block:e,start:p,selection:o?t.props.selection:null,forceSelection:t.props.forceSelection,text:a.slice(p,f),styleSet:e.getInlineStyleAt(p),customStyleMap:t.props.customStyleMap,customStyleFn:t.props.customStyleFn,isLast:s===r&&c===u})})).toArray(),p=l.get("decoratorKey");if(null==p)return d;if(!t.props.decorator)return d;var f=Nut(t.props.decorator),h=f.getComponentForKey(p);if(!h)return d;var g=f.getPropsForKey(p),m=rpt.encode(n,s,0),b=c.first().get("start"),v=c.last().get("end"),y=a.slice(b,v),x=e.getEntityAt(l.get("start")),w=xut.getHTMLDirIfDifferent(Tut.getDirection(y),t.props.direction),_={contentState:t.props.contentState,decoratedText:y,dir:w,start:b,end:v,blockKey:n,entityKey:x,offsetKey:m};return i.default.createElement(h,Yft({},g,_,{key:m}),d)})).toArray()},r.render=function(){var t=this,e=this.props,n=e.direction,a=e.offsetKey,r=pdt({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return i.default.createElement("div",{"data-offset-key":a,className:r,ref:function(e){return t._node=e}},this._renderChildren())},a}(i.default.Component),Kft=Gft;var qft=function(t){var e=t||"",n=arguments.length;if(n>1)for(var a=1;a<n;a++){var r=arguments[a];r&&(e=(e?e+" ":"")+r)}return e};function Xft(){return Xft=S||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},Xft.apply(this,arguments)}function Zft(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),a.forEach((function(e){Jft(t,e,n[e])}))}return t}function Jft(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var $ft=function(t,e,n,a){return pdt({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===t,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===t,"public/DraftStyleDefault/reset":n,"public/DraftStyleDefault/depth0":0===e,"public/DraftStyleDefault/depth1":1===e,"public/DraftStyleDefault/depth2":2===e,"public/DraftStyleDefault/depth3":3===e,"public/DraftStyleDefault/depth4":e>=4,"public/DraftStyleDefault/listLTR":"LTR"===a,"public/DraftStyleDefault/listRTL":"RTL"===a})},Qft=function(t){var e,n;function a(){return t.apply(this,arguments)||this}n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var r=a.prototype;return r.shouldComponentUpdate=function(t){var e=this.props.editorState,n=t.editorState;if(e.getDirectionMap()!==n.getDirectionMap())return!0;if(e.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var a=n.getNativelyRenderedContent(),r=e.isInCompositionMode(),o=n.isInCompositionMode();if(e===n||null!==a&&n.getCurrentContent()===a||r&&o)return!1;var i=e.getCurrentContent(),l=n.getCurrentContent(),s=e.getDecorator(),c=n.getDecorator();return r!==o||i!==l||s!==c||n.mustForceSelection()},r.render=function(){for(var t=this.props,e=t.blockRenderMap,n=t.blockRendererFn,a=t.blockStyleFn,r=t.customStyleMap,o=t.customStyleFn,l=t.editorState,s=t.editorKey,c=t.preventScroll,u=t.textDirectionality,d=l.getCurrentContent(),p=l.getSelection(),f=l.mustForceSelection(),h=l.getDecorator(),g=Nut(l.getDirectionMap()),m=d.getBlocksAsArray(),b=[],v=null,y=null,x=0;x<m.length;x++){var w=m[x],_=w.getKey(),k=w.getType(),S=n(w),C=void 0,M=void 0,O=void 0;S&&(C=S.component,M=S.props,O=S.editable);var E=u||g.get(_),T=rpt.encode(_,0,0),D={contentState:d,block:w,blockProps:M,blockStyleFn:a,customStyleMap:r,customStyleFn:o,decorator:h,direction:E,forceSelection:f,offsetKey:T,preventScroll:c,selection:p,tree:l.getBlockTree(_)},I=e.get(k)||e.get("unstyled"),P=I.wrapper,N=I.element||e.get("unstyled").element,A=w.getDepth(),z="";if(a&&(z=a(w)),"li"===N)z=qft(z,$ft(k,A,y!==P||null===v||A>v,E));var R=C||Kft,L={className:z,"data-block":!0,"data-editor":s,"data-offset-key":T,key:_};void 0!==O&&(L=Zft({},L,{contentEditable:O,suppressContentEditableWarning:!0}));var j=i.default.createElement(N,L,i.default.createElement(R,Xft({},D,{key:_})));b.push({block:j,wrapperTemplate:P,key:_,offsetKey:T}),v=P?w.getDepth():null,y=P}for(var F=[],B=0;B<b.length;){var V=b[B];if(V.wrapperTemplate){var Y=[];do{Y.push(b[B].block),B++}while(B<b.length&&b[B].wrapperTemplate===V.wrapperTemplate);var H=i.default.cloneElement(V.wrapperTemplate,{key:V.key+"-wrap","data-offset-key":V.offsetKey},Y);F.push(H)}else F.push(V.block),B++}return i.default.createElement("div",{"data-contents":"true"},F)},a}(i.default.Component),tht=Qft,eht=tut("draft_tree_data_support")?Vft:tht,nht={isImage:function(t){return"image"===aht(t)[0]},isJpeg:function(t){var e=aht(t);return nht.isImage(t)&&("jpeg"===e[1]||"pjpeg"===e[1])}};function aht(t){return t.split("/")}var rht=nht;var oht=function(t){return function(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"length"in t&&!("setInterval"in t)&&"number"!=typeof t.nodeType&&(Array.isArray(t)||"callee"in t||"item"in t)}(t)?Array.isArray(t)?t.slice():function(t){var e=t.length;if((Array.isArray(t)||"object"!=typeof t&&"function"!=typeof t)&&qst(!1),"number"!=typeof e&&qst(!1),0===e||e-1 in t||qst(!1),"function"==typeof t.callee&&qst(!1),t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch(t){}for(var n=Array(e),a=0;a<e;a++)n[a]=t[a];return n}(t):[t]};function iht(t){return function(){return t}}var lht=function(){};lht.thatReturns=iht,lht.thatReturnsFalse=iht(!1),lht.thatReturnsTrue=iht(!0),lht.thatReturnsNull=iht(null),lht.thatReturnsThis=function(){return this},lht.thatReturnsArgument=function(t){return t};var sht=lht,cht=new RegExp("\r\n","g"),uht={"text/rtf":1,"text/html":1};function dht(t){if("file"==t.kind)return t.getAsFile()}var pht=function(){function t(t){this.data=t,this.types=t.types?oht(t.types):[]}var e=t.prototype;return e.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(t){return uht[t]}))},e.getText=function(){var t;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(t=this.data.getData("text/plain")):t=this.data.getData("Text")),t?t.replace(cht,"\n"):null},e.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");if(-1!=this.types.indexOf("text/html"))return this.data.getData("text/html")}},e.isLink=function(){return this.types.some((function(t){return-1!=t.indexOf("Url")||-1!=t.indexOf("text/uri-list")||t.indexOf("text/x-moz-url")}))},e.getLink=function(){return this.data.getData?-1!=this.types.indexOf("text/x-moz-url")?this.data.getData("text/x-moz-url").split("\n")[0]:-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url"):null},e.isImage=function(){var t=this.types.some((function(t){return-1!=t.indexOf("application/x-moz-file")}));if(t)return!0;for(var e=this.getFiles(),n=0;n<e.length;n++){var a=e[n].type;if(!rht.isImage(a))return!1}return!0},e.getCount=function(){return this.data.hasOwnProperty("items")?this.data.items.length:this.data.hasOwnProperty("mozItemCount")?this.data.mozItemCount:this.data.files?this.data.files.length:null},e.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(dht).filter(sht.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},e.hasFiles=function(){return this.getFiles().length>0},t}(),fht=pht,hht=/\.textClipping$/,ght={"text/plain":!0,"text/html":!0,"text/rtf":!0};var mht=function(t,e){var n=0,a=[];t.forEach((function(r){!function(t,e){if(!g.FileReader||t.type&&!(t.type in ght))return void e("");if(""===t.type){var n="";return hht.test(t.name)&&(n=t.name.replace(hht,"")),void e(n)}var a=new FileReader;a.onload=function(){var t=a.result;"string"!=typeof t&&qst(!1),e(t)},a.onerror=function(){e("")},a.readAsText(t)}(r,(function(r){n++,r&&a.push(r.slice(0,5e3)),n==t.length&&e(a.join("\r"))}))}))};var bht=function(t){return"handled"===t||!0===t};var vht={onDragEnd:function(t){t.exitCurrentMode(),yht(t)},onDrop:function(t,e){var n=new fht(e.nativeEvent.dataTransfer),a=t._latestEditorState,r=function(t,e){var n=null,a=null,r=Gdt(t.currentTarget);if("function"==typeof r.caretRangeFromPoint){var o=r.caretRangeFromPoint(t.x,t.y);n=o.startContainer,a=o.startOffset}else{if(!t.rangeParent)return null;n=t.rangeParent,a=t.rangeOffset}n=Nut(n),a=Nut(a);var i=Nut(Xdt(n));return ypt(e,i,a,i,a)}(e.nativeEvent,a);if(e.preventDefault(),t._dragCount=0,t.exitCurrentMode(),null!=r){var o=n.getFiles();if(o.length>0){if(t.props.handleDroppedFiles&&bht(t.props.handleDroppedFiles(r,o)))return;mht(o,(function(e){e&&t.update(xht(a,r,e))}))}else{var i=t._internalDrag?"internal":"external";t.props.handleDrop&&bht(t.props.handleDrop(r,n,i))||(t._internalDrag?t.update(function(t,e){var n=Dct.moveText(t.getCurrentContent(),t.getSelection(),e);return Xut.push(t,n,"insert-fragment")}(a,r)):t.update(xht(a,r,n.getText()))),yht(t)}}}};function yht(t){t._internalDrag=!1;var e=t.editorContainer;if(e){var n=new MouseEvent("mouseup",{view:Zdt(e),bubbles:!0,cancelable:!0});e.dispatchEvent(n)}}function xht(t,e,n){var a=Dct.insertText(t.getCurrentContent(),e,n,t.getCurrentInlineStyle());return Xut.push(t,a,"insert-fragment")}var wht=vht;var _ht=function(t){var e=t.getSelection(),n=e.getAnchorKey(),a=t.getBlockTree(n),r=e.getStartOffset(),o=!1;return a.some((function(t){return r===t.get("start")?(o=!0,!0):r<t.get("end")&&t.get("leaves").some((function(t){var e=t.get("start");return r===e&&(o=!0,!0)}))})),o};!function(t,e){if(!t.setImmediate){var n,a,r,o,i,l=1,s={},c=!1,u=t.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(t);d=d&&d.setTimeout?d:t,"[object process]"==={}.toString.call(t.process)?n=function(t){process.nextTick((function(){f(t)}))}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((r=new MessageChannel).port1.onmessage=function(t){f(t.data)},n=function(t){r.port2.postMessage(t)}):u&&"onreadystatechange"in u.createElement("script")?(a=u.documentElement,n=function(t){var e=u.createElement("script");e.onreadystatechange=function(){f(t),e.onreadystatechange=null,a.removeChild(e),e=null},a.appendChild(e)}):n=function(t){setTimeout(f,0,t)}:(o="setImmediate$"+Math.random()+"$",i=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(o)&&f(+e.data.slice(o.length))},t.addEventListener?t.addEventListener("message",i,!1):t.attachEvent("onmessage",i),n=function(e){t.postMessage(o+e,"*")}),d.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),a=0;a<e.length;a++)e[a]=arguments[a+1];var r={callback:t,args:e};return s[l]=r,n(l),l++},d.clearImmediate=p}function p(t){delete s[t]}function f(t){if(c)setTimeout(f,0,t);else{var e=s[t];if(e){c=!0;try{!function(t){var e=t.callback,n=t.args;switch(n.length){case 0:e();break;case 1:e(n[0]);break;case 2:e(n[0],n[1]);break;case 3:e(n[0],n[1],n[2]);break;default:e.apply(void 0,n)}}(e)}finally{p(t),c=!1}}}}}("undefined"==typeof self?g:self);var kht=g.setImmediate,Sht=Udt.isBrowser("Firefox");function Cht(t,e,n,a,r){var o=Dct.replaceText(t.getCurrentContent(),t.getSelection(),e,n,a);return Xut.push(t,o,"insert-characters",r)}var Mht=function(t,e){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var n=t._latestEditorState,a=e.data;if(a)if(t.props.handleBeforeInput&&bht(t.props.handleBeforeInput(a,n,e.timeStamp)))e.preventDefault();else{var r=n.getSelection(),o=r.getStartOffset(),i=r.getAnchorKey();if(!r.isCollapsed())return e.preventDefault(),void t.update(Cht(n,a,n.getCurrentInlineStyle(),Ept(n.getCurrentContent(),n.getSelection()),!0));var l,s=Cht(n,a,n.getCurrentInlineStyle(),Ept(n.getCurrentContent(),n.getSelection()),!1),c=!1;if(c||(c=_ht(t._latestCommittedEditorState)),!c){var u=n.getBlockTree(i),d=s.getBlockTree(i);c=u.size!==d.size||u.zip(d).some((function(t){var e=t[0],n=t[1],r=e.get("start"),i=r+(r>=o?a.length:0),l=e.get("end"),s=l+(l>=o?a.length:0),c=n.get("start"),u=n.get("end"),d=n.get("decoratorKey");return e.get("decoratorKey")!==d||e.get("leaves").size!==n.get("leaves").size||i!==c||s!==u||null!=d&&u-c!=l-r}))}if(c||(l=a,c=Sht&&("'"==l||"/"==l)),c||(c=Nut(s.getDirectionMap()).get(i)!==Nut(n.getDirectionMap()).get(i)),c)return e.preventDefault(),s=Xut.set(s,{forceSelection:!0}),void t.update(s);s=Xut.set(s,{nativelyRenderedContent:s.getCurrentContent()}),t._pendingStateFromBeforeInput=s,kht((function(){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0)}))}};var Oht=function(t,e){var n=e.currentTarget.ownerDocument;if(!Boolean(t.props.preserveSelectionOnBlur)&&Gpt(n)===n.body){var a=n.defaultView.getSelection(),r=t.editor;1===a.rangeCount&&Upt(r,a.anchorNode)&&Upt(r,a.focusNode)&&a.removeAllRanges()}var o=t._latestEditorState,i=o.getSelection();if(i.getHasFocus()){var l=i.set("hasFocus",!1);t.props.onBlur&&t.props.onBlur(e),t.update(Xut.acceptSelection(o,l))}};var Eht=function(t,e){t.setMode("composite"),t.update(Xut.set(t._latestEditorState,{inCompositionMode:!0})),t._onCompositionStart(e)};var Tht=function(t){var e=t.getSelection();return e.isCollapsed()?null:oct(t.getCurrentContent(),e)};var Dht=function(t,e){t._latestEditorState.getSelection().isCollapsed()?e.preventDefault():t.setClipboard(Tht(t._latestEditorState))};var Iht=function(t){if(!t||!("ownerDocument"in t))return!1;if("ownerDocument"in t){var e=t;if(!e.ownerDocument.defaultView)return e instanceof Node;if(e instanceof e.ownerDocument.defaultView.Node)return!0}return!1};var Pht=function(t,e){var n,a=t._latestEditorState,r=a.getSelection(),o=e.target;if(r.isCollapsed())e.preventDefault();else{if(Iht(o)){var i=o;n=Sft(vft.getScrollParent(i))}var l=Tht(a);t.setClipboard(l),t.setMode("cut"),setTimeout((function(){t.restoreEditorDOM(n),t.exitCurrentMode(),t.update(function(t){var e=Dct.removeRange(t.getCurrentContent(),t.getSelection(),"forward");return Xut.push(t,e,"remove-range")}(a))}),0)}};var Nht=function(t,e){t.setMode("drag"),e.preventDefault()};var Aht=function(t){t._internalDrag=!0,t.setMode("drag")};var zht=function(t,e){var n=t._latestEditorState,a=n.getSelection();if(!a.getHasFocus()){var r=a.set("hasFocus",!0);t.props.onFocus&&t.props.onFocus(e),Udt.isBrowser("Chrome < 60.0.3081.0")?t.update(Xut.forceSelection(n,r)):t.update(Xut.acceptSelection(n,r))}},Rht=/[\uD800-\uDFFF]/;function Lht(t){return 55296<=t&&t<=57343}function jht(t){return Rht.test(t)}function Fht(t,e){return 1+Lht(t.charCodeAt(e))}function Bht(t,e,n){if(e=e||0,n=void 0===n?1/0:n||0,!jht(t))return t.substr(e,n);var a=t.length;if(a<=0||e>a||n<=0)return"";var r=0;if(e>0){for(;e>0&&r<a;e--)r+=Fht(t,r);if(r>=a)return""}else if(e<0){for(r=a;e<0&&0<r;e++)r-=Fht(t,r-1);r<0&&(r=0)}var o=a;if(n<a)for(o=r;n>0&&o<a;n--)o+=Fht(t,o);return t.substring(r,o)}var Vht={getCodePoints:function(t){for(var e=[],n=0;n<t.length;n+=Fht(t,n))e.push(t.codePointAt(n));return e},getUTF16Length:Fht,hasSurrogateUnit:jht,isCodeUnitInSurrogateRange:Lht,isSurrogatePair:function(t,e){if(0<=e&&e<t.length||qst(!1),e+1===t.length)return!1;var n=t.charCodeAt(e),a=t.charCodeAt(e+1);return 55296<=n&&n<=56319&&56320<=a&&a<=57343},strlen:function(t){if(!jht(t))return t.length;for(var e=0,n=0;n<t.length;n+=Fht(t,n))e++;return e},substring:function(t,e,n){(e=e||0)<0&&(e=0),(n=void 0===n?1/0:n||0)<0&&(n=0);var a=Math.abs(n-e);return Bht(t,e=e<n?e:n,a)},substr:Bht},Yht=Vht;var Hht=function(t,e){var n=t.getSelection(),a=t.getCurrentContent(),r=n.getStartKey(),o=n.getStartOffset(),i=r,l=0;if(e>o){var s=a.getKeyBefore(r);if(null==s)i=r;else i=s,l=a.getBlockForKey(s).getText().length}else l=o-e;return n.merge({focusKey:i,focusOffset:l,isBackward:!0})},Wht=tut("draft_tree_data_support");var Uht=function(t,e,n){var a=t.getSelection(),r=t.getCurrentContent(),o=a,i=a.getAnchorKey(),l=a.getFocusKey(),s=r.getBlockForKey(i);if(Wht&&"forward"===n&&i!==l)return r;if(a.isCollapsed()){if("forward"===n){if(t.isSelectionAtEndOfContent())return r;if(Wht)if(a.getAnchorOffset()===r.getBlockForKey(i).getLength()){var c=r.getBlockForKey(s.nextSibling);if(!c||0===c.getLength())return r}}else if(t.isSelectionAtStartOfContent())return r;if((o=e(t))===a)return r}return Dct.removeRange(r,o,n)};var Ght=function(t){var e=Uht(t,(function(t){var e=t.getSelection(),n=t.getCurrentContent(),a=e.getAnchorKey(),r=e.getAnchorOffset(),o=n.getBlockForKey(a).getText()[r-1];return Hht(t,o?Yht.getUTF16Length(o,0):1)}),"backward");if(e===t.getCurrentContent())return t;var n=t.getSelection();return Xut.push(t,e.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")},Kht=Cpt,qht=Udt.isEngine("Gecko");var Xht=function(t,e){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var n=t.editor.ownerDocument.defaultView.getSelection(),a=n.anchorNode,r=n.isCollapsed,o=(null==a?void 0:a.nodeType)!==Node.TEXT_NODE&&(null==a?void 0:a.nodeType)!==Node.ELEMENT_NODE;if(null!=a&&!o){if(a.nodeType===Node.TEXT_NODE&&(null!==a.previousSibling||null!==a.nextSibling)){var i=a.parentNode;if(null==i)return;a.nodeValue=i.textContent;for(var l=i.firstChild;null!=l;l=l.nextSibling)l!==a&&i.removeChild(l)}var s=a.textContent,c=t._latestEditorState,u=Nut(Xdt(a)),d=rpt.decode(u),p=d.blockKey,f=d.decoratorKey,h=d.leafKey,g=c.getBlockTree(p).getIn([f,"leaves",h]),m=g.start,b=g.end,v=c.getCurrentContent(),y=v.getBlockForKey(p),x=y.getText().slice(m,b);if(s.endsWith("\n\n")&&(s=s.slice(0,-1)),s!==x){var w,_,k,S,C=c.getSelection(),M=C.merge({anchorOffset:m,focusOffset:b,isBackward:!1}),O=y.getEntityAt(m),E=Kht(O)?v.getEntity(O):null,T="MUTABLE"===(null!=E?E.getMutability():null),D=T?"spellcheck-change":"apply-entity",I=Dct.replaceText(v,M,s,y.getInlineStyleAt(m),T?y.getEntityAt(m):null);if(qht)w=n.anchorOffset,_=n.focusOffset,S=(k=m+Math.min(w,_))+Math.abs(w-_),w=k,_=S;else{var P=s.length-x.length;k=C.getStartOffset(),S=C.getEndOffset(),w=r?S+P:k,_=S+P}var N=I.merge({selectionBefore:v.getSelectionAfter(),selectionAfter:C.merge({anchorOffset:w,focusOffset:_})});t.update(Xut.push(c,N,D))}else{var A=e.nativeEvent.inputType;if(A){var z=function(t,e){return"deleteContentBackward"===t?Ght(e):e}(A,c);if(z!==c)return t.restoreEditorDOM(),void t.update(z)}}}};var Zht=function(t){return t.which===lpt&&(t.getModifierState("Shift")||t.getModifierState("Alt")||t.getModifierState("Control"))},Jht=Udt.isPlatform("Mac OS X"),$ht={isCtrlKeyCommand:function(t){return!!t.ctrlKey&&!t.altKey},isOptionKeyCommand:function(t){return Jht&&t.altKey},usesMacOSHeuristics:function(){return Jht},hasCommandModifier:function(t){return Jht?!!t.metaKey&&!t.altKey:$ht.isCtrlKeyCommand(t)},isSoftNewlineEvent:Zht},Qht=$ht,tgt=null,egt={cut:function(t){var e=t.getCurrentContent(),n=t.getSelection(),a=null;if(n.isCollapsed()){var r=n.getAnchorKey(),o=e.getBlockForKey(r).getLength();if(o===n.getAnchorOffset()){var i=e.getKeyAfter(r);if(null==i)return t;a=n.set("focusKey",i).set("focusOffset",0)}else a=n.set("focusOffset",o)}else a=n;a=Nut(a),tgt=oct(e,a);var l=Dct.removeRange(e,a,"forward");return l===e?t:Xut.push(t,l,"remove-range")},paste:function(t){if(!tgt)return t;var e=Dct.replaceWithFragment(t.getCurrentContent(),t.getSelection(),tgt);return Xut.push(t,e,"insert-fragment")}};var ngt=Udt.isBrowser("Chrome")?function(t){for(var e=t.cloneRange(),n=[],a=t.endContainer;null!=a;a=a.parentNode){var r=a===t.commonAncestorContainer;r?e.setStart(t.startContainer,t.startOffset):e.setStart(e.endContainer,0);var o,i=Array.from(e.getClientRects());if(n.push(i),r)return n.reverse(),(o=[]).concat.apply(o,n);e.setEndBefore(a)}qst(!1)}:function(t){return Array.from(t.getClientRects())},agt=ngt;function rgt(t,e){for(var n=1/0,a=1/0,r=-1/0,o=-1/0,i=0;i<t.length;i++){var l=t[i];0!==l.width&&1!==l.width&&(n=Math.min(n,l.top),a=Math.min(a,l.bottom),r=Math.max(r,l.top),o=Math.max(o,l.bottom))}return r<=a&&r-n<e&&o-a<e}function ogt(t){switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return t.length;default:return t.childNodes.length}}var igt=function(t){t.collapsed||qst(!1);var e=(t=t.cloneRange()).startContainer;1!==e.nodeType&&(e=e.parentNode);var n=function(t){var e=getComputedStyle(t),n=Gdt(t),a=n.createElement("div");a.style.fontFamily=e.fontFamily,a.style.fontSize=e.fontSize,a.style.fontStyle=e.fontStyle,a.style.fontWeight=e.fontWeight,a.style.lineHeight=e.lineHeight,a.style.position="absolute",a.textContent="M";var r=n.body;r||qst(!1),r.appendChild(a);var o=a.getBoundingClientRect();return r.removeChild(a),o.height}(e),a=t.endContainer,r=t.endOffset;for(t.setStart(t.startContainer,0);rgt(agt(t),n)&&(a=t.startContainer,r=t.startOffset,a.parentNode||qst(!1),t.setStartBefore(a),1!==a.nodeType||"inline"===getComputedStyle(a).display););for(var o=a,i=r-1;;){for(var l=o.nodeValue,s=i;s>=0;s--)if(!(null!=l&&s>0&&Yht.isSurrogatePair(l,s-1))){if(t.setStart(o,s),!rgt(agt(t),n))break;a=o,r=s}if(-1===s||0===o.childNodes.length)break;i=ogt(o=o.childNodes[s])}return t.setStart(a,r),t};var lgt=function(t,e){var n=Uht(t,(function(t){var n=t.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return Hht(t,1);var a=e.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return a=igt(a),_pt(t,null,a.endContainer,a.endOffset,a.startContainer,a.startOffset).selectionState}),"backward");return n===t.getCurrentContent()?t:Xut.push(t,n,"remove-range")},sgt="\\s|(?![_])"+function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟：-？！-／［-｀｛-･⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}(),cgt=new RegExp("^(?:"+sgt+")*(?:"+"['‘’]|(?!"+sgt+").)*(?:(?!"+sgt+").)"),ugt=new RegExp("(?:(?!"+sgt+").)(?:"+"['‘’]|(?!"+sgt+").)*(?:"+sgt+")*$");function dgt(t,e){var n=e?ugt.exec(t):cgt.exec(t);return n?n[0]:t}var pgt={getBackward:function(t){return dgt(t,!0)},getForward:function(t){return dgt(t,!1)}};var fgt=function(t){var e=Uht(t,(function(t){var e=t.getSelection(),n=e.getStartOffset();if(0===n)return Hht(t,1);var a=e.getStartKey(),r=t.getCurrentContent().getBlockForKey(a).getText().slice(0,n),o=pgt.getBackward(r);return Hht(t,o.length||1)}),"backward");return e===t.getCurrentContent()?t:Xut.push(t,e,"remove-range")};var hgt=function(t,e){var n,a=t.getSelection(),r=a.getStartKey(),o=a.getStartOffset(),i=t.getCurrentContent(),l=r;return e>i.getBlockForKey(r).getText().length-o?(l=i.getKeyAfter(r),n=0):n=o+e,a.merge({focusKey:l,focusOffset:n})};var ggt=function(t){var e=Uht(t,(function(t){var e=t.getSelection(),n=e.getStartOffset(),a=e.getStartKey(),r=t.getCurrentContent().getBlockForKey(a).getText().slice(n),o=pgt.getForward(r);return hgt(t,o.length||1)}),"forward");return e===t.getCurrentContent()?t:Xut.push(t,e,"remove-range")};var mgt=function(t){var e=Dct.splitBlock(t.getCurrentContent(),t.getSelection());return Xut.push(t,e,"split-block")};var bgt=function(t){var e=t.getSelection(),n=e.getEndKey(),a=t.getCurrentContent().getBlockForKey(n).getLength();return Xut.set(t,{selection:e.merge({anchorKey:n,anchorOffset:a,focusKey:n,focusOffset:a,isBackward:!1}),forceSelection:!0})};var vgt=function(t){var e=t.getSelection(),n=e.getStartKey();return Xut.set(t,{selection:e.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})};var ygt=function(t){var e=Uht(t,(function(t){var e=t.getSelection(),n=t.getCurrentContent(),a=e.getAnchorKey(),r=e.getAnchorOffset(),o=n.getBlockForKey(a).getText()[r];return hgt(t,o?Yht.getUTF16Length(o,0):1)}),"forward");if(e===t.getCurrentContent())return t;var n=t.getSelection();return Xut.push(t,e.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")};var xgt=function(t){var e=t.getSelection();if(!e.isCollapsed())return t;var n=e.getAnchorOffset();if(0===n)return t;var a,r,o=e.getAnchorKey(),i=t.getCurrentContent(),l=i.getBlockForKey(o).getLength();if(l<=1)return t;n===l?(a=e.set("anchorOffset",n-1),r=e):r=(a=e.set("focusOffset",n+1)).set("anchorOffset",n+1);var s=oct(i,a),c=Dct.removeRange(i,a,"backward"),u=c.getSelectionAfter(),d=u.getAnchorOffset()-1,p=u.merge({anchorOffset:d,focusOffset:d}),f=Dct.replaceWithFragment(c,p,s),h=Xut.push(t,f,"insert-fragment");return Xut.acceptSelection(h,r)};var wgt=function(t,e,n){var a=Xut.undo(e);if("spellcheck-change"!==e.getLastChangeType())t.preventDefault(),e.getNativelyRenderedContent()?(n(Xut.set(e,{nativelyRenderedContent:null})),setTimeout((function(){n(a)}),0)):n(a);else{var r=a.getCurrentContent();n(Xut.set(a,{nativelyRenderedContent:r}))}},_gt=Qht.isOptionKeyCommand,kgt=Udt.isBrowser("Chrome");var Sgt=function(t,e){var n=e.which,a=t._latestEditorState;function r(n){var a=t.props[n];return!!a&&(a(e),!0)}switch(n){case lpt:if(e.preventDefault(),t.props.handleReturn&&bht(t.props.handleReturn(e,a)))return;break;case spt:if(e.preventDefault(),r("onEscape"))return;break;case ipt:if(r("onTab"))return;break;case dpt:if(r("onUpArrow"))return;break;case ppt:if(r("onRightArrow"))return;break;case fpt:if(r("onDownArrow"))return;break;case upt:if(r("onLeftArrow"))return;break;case cpt:kgt&&_gt(e)&&e.preventDefault()}var o=t.props.keyBindingFn(e);if(null!=o&&""!==o)if("undo"!==o){if(e.preventDefault(),!t.props.handleKeyCommand||!bht(t.props.handleKeyCommand(o,a,e.timeStamp))){var i=function(t,e,n){switch(t){case"redo":return Xut.redo(e);case"delete":return ygt(e);case"delete-word":return ggt(e);case"backspace":return Ght(e);case"backspace-word":return fgt(e);case"backspace-to-start-of-line":return lgt(e,n);case"split-block":return mgt(e);case"transpose-characters":return xgt(e);case"move-selection-to-start-of-block":return vgt(e);case"move-selection-to-end-of-block":return bgt(e);case"secondary-cut":return egt.cut(e);case"secondary-paste":return egt.paste(e);default:return e}}(o,a,e);i!==a&&t.update(i)}}else wgt(e,a,t.update);else if(n===cpt&&kgt&&_gt(e)){var l=Dct.replaceText(a.getCurrentContent(),a.getSelection()," ");t.update(Xut.push(a,l,"insert-characters"))}};var Cgt=function(){function t(t){!function(t,e,n){e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n}(this,"_uri",void 0),this._uri=t}return t.prototype.toString=function(){return this._uri},t}(),Mgt=Cgt,Ogt=Udt.isBrowser("IE <= 9");var Egt=function(t){var e,n=null;return!Ogt&&document.implementation&&document.implementation.createHTMLDocument&&((e=document.implementation.createHTMLDocument("foo")).documentElement||qst(!1),e.documentElement.innerHTML=t,n=e.getElementsByTagName("body")[0]),n};var Tgt=function(t){return!(!t||!t.ownerDocument)&&(Kdt(t)&&"A"===t.nodeName)};var Dgt,Igt=function(t){return!(!t||!t.ownerDocument)&&(Kdt(t)&&"IMG"===t.nodeName)};function Pgt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),a.forEach((function(e){Ngt(t,e,n[e])}))}return t}function Ngt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Agt=lst.List,zgt=lst.Map,Rgt=lst.OrderedSet,Lgt=tut("draft_tree_data_support"),jgt=new RegExp("\r","g"),Fgt=new RegExp("\n","g"),Bgt=new RegExp("^\n","g"),Vgt=new RegExp("&nbsp;","g"),Ygt=new RegExp("&#13;?","g"),Hgt=new RegExp("&#8203;?","g"),Wgt=["bold","bolder","500","600","700","800","900"],Ugt=["light","lighter","normal","100","200","300","400"],Ggt=["className","href","rel","target","title"],Kgt=["alt","className","height","src","width"],qgt=(Ngt(Dgt={},pdt("public/DraftStyleDefault/depth0"),0),Ngt(Dgt,pdt("public/DraftStyleDefault/depth1"),1),Ngt(Dgt,pdt("public/DraftStyleDefault/depth2"),2),Ngt(Dgt,pdt("public/DraftStyleDefault/depth3"),3),Ngt(Dgt,pdt("public/DraftStyleDefault/depth4"),4),Dgt),Xgt=zgt({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),Zgt=function(t){var e={};return t.mapKeys((function(t,n){var a=[n.element];void 0!==n.aliasedElements&&a.push.apply(a,n.aliasedElements),a.forEach((function(n){void 0===e[n]?e[n]=t:"string"==typeof e[n]?e[n]=[e[n],t]:e[n].push(t)}))})),zgt(e)},Jgt=function(t){if(bpt(t)&&t.style.fontFamily.includes("monospace"))return"CODE";return null},$gt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(qgt).some((function(n){t.classList.contains(n)&&(e=qgt[n])})),e},Qgt=function(t){if(!Tgt(t))return!1;var e=t;if(!e.href||"http:"!==e.protocol&&"https:"!==e.protocol&&"mailto:"!==e.protocol&&"tel:"!==e.protocol)return!1;try{new Mgt(e.href);return!0}catch(t){return!1}},tmt=function(t){if(!Igt(t))return!1;var e=t;return!(!e.attributes.getNamedItem("src")||!e.attributes.getNamedItem("src").value)},emt=function(t,e){if(!bpt(t))return e;var n=t,a=n.style.fontWeight,r=n.style.fontStyle,o=n.style.textDecoration;return e.withMutations((function(t){Wgt.indexOf(a)>=0?t.add("BOLD"):Ugt.indexOf(a)>=0&&t.remove("BOLD"),"italic"===r?t.add("ITALIC"):"normal"===r&&t.remove("ITALIC"),"underline"===o&&t.add("UNDERLINE"),"line-through"===o&&t.add("STRIKETHROUGH"),"none"===o&&(t.remove("UNDERLINE"),t.remove("STRIKETHROUGH"))}))},nmt=function(t){return"ul"===t||"ol"===t},amt=function(){function t(t,e){Ngt(this,"characterList",Agt()),Ngt(this,"currentBlockType","unstyled"),Ngt(this,"currentDepth",0),Ngt(this,"currentEntity",null),Ngt(this,"currentText",""),Ngt(this,"wrapper",null),Ngt(this,"blockConfigs",[]),Ngt(this,"contentBlocks",[]),Ngt(this,"entityMap",Jct),Ngt(this,"blockTypeMap",void 0),Ngt(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=t,this.disambiguate=e}var e=t.prototype;return e.clear=function(){this.characterList=Agt(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=Jct,this.wrapper=null,this.contentBlocks=[]},e.addDOMNode=function(t){var e;return this.contentBlocks=[],this.currentDepth=0,(e=this.blockConfigs).push.apply(e,this._toBlockConfigs([t],Rgt())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},e.getContentBlocks=function(){return 0===this.contentBlocks.length&&(Lgt?this._toContentBlocks(this.blockConfigs):this._toFlatContentBlocks(this.blockConfigs)),{contentBlocks:this.contentBlocks,entityMap:this.entityMap}},e._makeBlockConfig=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.key||tct(),n=Pgt({key:e,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:Agt(),prevSibling:null,nextSibling:null,childConfigs:[]},t);return this.characterList=Agt(),this.currentBlockType="unstyled",this.currentText="",n},e._toBlockConfigs=function(t,e){for(var n=[],a=0;a<t.length;a++){var r=t[a],o=r.nodeName.toLowerCase();if("body"===o||nmt(o)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var i=this.currentDepth,l=this.wrapper;nmt(o)&&(this.wrapper=o,nmt(l)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(r.childNodes),e)),this.currentDepth=i,this.wrapper=l}else{var s=this.blockTypeMap.get(o);if(void 0===s)if("#text"!==o)if("br"!==o)if(tmt(r))this._addImgNode(r,e);else if(Qgt(r))this._addAnchorNode(r,n,e);else{var c=e;Xgt.has(o)&&(c=c.add(Xgt.get(o))),c=emt(r,c);var u=Jgt(r);null!=u&&(c=c.add(u)),n.push.apply(n,this._toBlockConfigs(Array.from(r.childNodes),c))}else this._addBreakNode(r,e);else this._addTextNode(r,e);else{this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var d=this.currentDepth,p=this.wrapper;if(this.wrapper="pre"===o?"pre":this.wrapper,"string"!=typeof s&&(s=this.disambiguate(o,this.wrapper)||s[0]||"unstyled"),!Lgt&&bpt(r)&&("unordered-list-item"===s||"ordered-list-item"===s)){var f=r;this.currentDepth=$gt(f,this.currentDepth)}var h=tct(),g=this._toBlockConfigs(Array.from(r.childNodes),e);this._trimCurrentText(),n.push(this._makeBlockConfig({key:h,childConfigs:g,type:s})),this.currentDepth=d,this.wrapper=p}}}return n},e._appendText=function(t,e){var n;this.currentText+=t;var a=vst.create({style:e,entity:this.currentEntity});this.characterList=(n=this.characterList).push.apply(n,Array(t.length).fill(a))},e._trimCurrentText=function(){var t=this.currentText.length,e=t-this.currentText.trimLeft().length,n=this.currentText.trimRight().length,a=this.characterList.findEntry((function(t){return null!==t.getEntity()}));(e=void 0!==a?Math.min(e,a[0]):e)>(n=void 0!==(a=this.characterList.reverse().findEntry((function(t){return null!==t.getEntity()})))?Math.max(n,t-a[0]):n)?(this.currentText="",this.characterList=Agt()):(this.currentText=this.currentText.slice(e,n),this.characterList=this.characterList.slice(e,n))},e._addTextNode=function(t,e){var n=t.textContent;""===n.trim()&&"pre"!==this.wrapper&&(n=" "),"pre"!==this.wrapper&&(n=(n=n.replace(Bgt,"")).replace(Fgt," ")),this._appendText(n,e)},e._addBreakNode=function(t,e){Ypt(t)&&this._appendText("\n",e)},e._addImgNode=function(t,e){if(Igt(t)){var n=t,a={};Kgt.forEach((function(t){var e=n.getAttribute(t);e&&(a[t]=e)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",a),tut("draftjs_fix_paste_for_img")?"presentation"!==n.getAttribute("role")&&this._appendText("📷",e):this._appendText("📷",e),this.currentEntity=null}},e._addAnchorNode=function(t,e,n){if(Tgt(t)){var a=t,r={};Ggt.forEach((function(t){var e=a.getAttribute(t);e&&(r[t]=e)})),r.url=new Mgt(a.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",r||{}),e.push.apply(e,this._toBlockConfigs(Array.from(t.childNodes),n)),this.currentEntity=null}},e._toContentBlocks=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=t.length-1,a=0;a<=n;a++){var r=t[a];r.parent=e,r.prevSibling=a>0?t[a-1].key:null,r.nextSibling=a<n?t[a+1].key:null,r.children=Agt(r.childConfigs.map((function(t){return t.key}))),this.contentBlocks.push(new Vst(Pgt({},r))),this._toContentBlocks(r.childConfigs,r.key)}},e._hoistContainersInBlockConfigs=function(t){var e=this;return Agt(t).flatMap((function(t){return"unstyled"!==t.type||""!==t.text?[t]:e._hoistContainersInBlockConfigs(t.childConfigs)}))},e._toFlatContentBlocks=function(t){var e=this;this._hoistContainersInBlockConfigs(t).forEach((function(t){var n=e._extractTextFromBlockConfigs(t.childConfigs),a=n.text,r=n.characterList;e.contentBlocks.push(new Tst(Pgt({},t,{text:t.text+a,characterList:t.characterList.concat(r)})))}))},e._extractTextFromBlockConfigs=function(t){for(var e=t.length-1,n="",a=Agt(),r=0;r<=e;r++){var o=t[r];n+=o.text,a=a.concat(o.characterList),""!==n&&"unstyled"!==o.type&&(n+="\n",a=a.push(a.last()));var i=this._extractTextFromBlockConfigs(o.childConfigs);n+=i.text,a=a.concat(i.characterList)}return{text:n,characterList:a}},t}(),rmt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Egt,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:fdt,a=e(t=t.trim().replace(jgt,"").replace(Vgt," ").replace(Ygt,"").replace(Hgt,""));if(!a)return null;var r=Zgt(n),o=function(t,e){return"li"===t?"ol"===e?"ordered-list-item":"unordered-list-item":null};return new amt(r,o).addDOMNode(a).getContentBlocks()};function omt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var imt=lst.List,lmt=lst.Repeat,smt=tut("draft_tree_data_support"),cmt=smt?Vst:Tst,umt={processHTML:function(t,e){return rmt(t,Egt,e)},processText:function(t,e,n){return t.reduce((function(t,a,r){a=nut(a);var o=tct(),i={key:o,type:n,text:a,characterList:imt(lmt(e,a.length))};if(smt&&0!==r){var l=r-1;i=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),a.forEach((function(e){omt(t,e,n[e])}))}return t}({},i,{prevSibling:(t[l]=t[l].merge({nextSibling:o})).getKey()})}return t.push(new cmt(i)),t}),[])}},dmt=umt;var pmt=function(t,e,n,a){var r=e.getStartKey(),o=e.getEndKey(),i=t.getBlockMap(),l=i.toSeq().skipUntil((function(t,e){return e===r})).takeUntil((function(t,e){return e===o})).concat([[o,i.get(o)]]).map((function(t){var e=t.getDepth()+n;return e=Math.max(0,Math.min(e,a)),t.set("depth",e)}));return i=i.merge(l),t.merge({blockMap:i,selectionBefore:e,selectionAfter:e})},fmt={currentBlockContainsLink:function(t){var e=t.getSelection(),n=t.getCurrentContent(),a=n.getEntityMap();return n.getBlockForKey(e.getAnchorKey()).getCharacterList().slice(e.getStartOffset(),e.getEndOffset()).some((function(t){var e=t.getEntity();return!!e&&"LINK"===a.__get(e).getType()}))},getCurrentBlockType:function(t){var e=t.getSelection();return t.getCurrentContent().getBlockForKey(e.getStartKey()).getType()},getDataObjectForLinkURL:function(t){return{url:t.toString()}},handleKeyCommand:function(t,e,n){switch(e){case"bold":return fmt.toggleInlineStyle(t,"BOLD");case"italic":return fmt.toggleInlineStyle(t,"ITALIC");case"underline":return fmt.toggleInlineStyle(t,"UNDERLINE");case"code":return fmt.toggleCode(t);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return fmt.onBackspace(t);case"delete":case"delete-word":case"delete-to-end-of-block":return fmt.onDelete(t);default:return null}},insertSoftNewline:function(t){var e=Dct.insertText(t.getCurrentContent(),t.getSelection(),"\n",t.getCurrentInlineStyle(),null),n=Xut.push(t,e,"insert-characters");return Xut.forceSelection(n,e.getSelectionAfter())},onBackspace:function(t){var e=t.getSelection();if(!e.isCollapsed()||e.getAnchorOffset()||e.getFocusOffset())return null;var n=t.getCurrentContent(),a=e.getStartKey(),r=n.getBlockBefore(a);if(r&&"atomic"===r.getType()){var o=n.getBlockMap().delete(r.getKey()),i=n.merge({blockMap:o,selectionAfter:e});if(i!==n)return Xut.push(t,i,"remove-range")}var l=fmt.tryToRemoveBlockStyle(t);return l?Xut.push(t,l,"change-block-type"):null},onDelete:function(t){var e=t.getSelection();if(!e.isCollapsed())return null;var n=t.getCurrentContent(),a=e.getStartKey(),r=n.getBlockForKey(a).getLength();if(e.getStartOffset()<r)return null;var o=n.getBlockAfter(a);if(!o||"atomic"!==o.getType())return null;var i=e.merge({focusKey:o.getKey(),focusOffset:o.getLength()}),l=Dct.removeRange(n,i,"forward");return l!==n?Xut.push(t,l,"remove-range"):null},onTab:function(t,e,n){var a=e.getSelection(),r=a.getAnchorKey();if(r!==a.getFocusKey())return e;var o=e.getCurrentContent(),i=o.getBlockForKey(r),l=i.getType();if("unordered-list-item"!==l&&"ordered-list-item"!==l)return e;t.preventDefault();var s=i.getDepth();if(!t.shiftKey&&s===n)return e;var c=pmt(o,a,t.shiftKey?-1:1,n);return Xut.push(e,c,"adjust-depth")},toggleBlockType:function(t,e){var n=t.getSelection(),a=n.getStartKey(),r=n.getEndKey(),o=t.getCurrentContent(),i=n;if(a!==r&&0===n.getEndOffset()){var l=Nut(o.getBlockBefore(r));r=l.getKey(),i=i.merge({anchorKey:a,anchorOffset:n.getStartOffset(),focusKey:r,focusOffset:l.getLength(),isBackward:!1})}var s=o.getBlockMap().skipWhile((function(t,e){return e!==a})).reverse().skipWhile((function(t,e){return e!==r})).some((function(t){return"atomic"===t.getType()}));if(s)return t;var c=o.getBlockForKey(a).getType()===e?"unstyled":e;return Xut.push(t,Dct.setBlockType(o,i,c),"change-block-type")},toggleCode:function(t){var e=t.getSelection(),n=e.getAnchorKey(),a=e.getFocusKey();return e.isCollapsed()||n!==a?fmt.toggleBlockType(t,"code-block"):fmt.toggleInlineStyle(t,"CODE")},toggleInlineStyle:function(t,e){var n=t.getSelection(),a=t.getCurrentInlineStyle();if(n.isCollapsed())return Xut.setInlineStyleOverride(t,a.has(e)?a.remove(e):a.add(e));var r,o=t.getCurrentContent();return r=a.has(e)?Dct.removeInlineStyle(o,n,e):Dct.applyInlineStyle(o,n,e),Xut.push(t,r,"change-inline-style")},toggleLink:function(t,e,n){var a=Dct.applyEntity(t.getCurrentContent(),e,n);return Xut.push(t,a,"apply-entity")},tryToRemoveBlockStyle:function(t){var e=t.getSelection(),n=e.getAnchorOffset();if(e.isCollapsed()&&0===n){var a=e.getAnchorKey(),r=t.getCurrentContent(),o=r.getBlockForKey(a).getType(),i=r.getBlockBefore(a);if("code-block"===o&&i&&"code-block"===i.getType()&&0!==i.getLength())return null;if("unstyled"!==o)return Dct.setBlockType(r,e,"unstyled")}return null}},hmt=fmt,gmt=/\r\n?|\n/g;var mmt=function(t){return t.split(gmt)};function bmt(t,e,n){var a=Dct.replaceWithFragment(t.getCurrentContent(),t.getSelection(),e);return Xut.push(t,a.set("entityMap",n),"insert-fragment")}var vmt=function(t,e){e.preventDefault();var n=new fht(e.clipboardData);if(!n.isRichText()){var a=n.getFiles(),r=n.getText();if(a.length>0){if(t.props.handlePastedFiles&&bht(t.props.handlePastedFiles(a)))return;return void mht(a,(function(e){if(e=e||r){var n=t._latestEditorState,a=mmt(e),o=vst.create({style:n.getCurrentInlineStyle(),entity:Ept(n.getCurrentContent(),n.getSelection())}),i=hmt.getCurrentBlockType(n),l=dmt.processText(a,o,i),s=cst.createFromArray(l),c=Dct.replaceWithFragment(n.getCurrentContent(),n.getSelection(),s);t.update(Xut.push(n,c,"insert-fragment"))}}))}}var o=[],i=n.getText(),l=n.getHTML(),s=t._latestEditorState;if(t.props.formatPastedText){var c=t.props.formatPastedText(i,l);i=c.text,l=c.html}if(!t.props.handlePastedText||!bht(t.props.handlePastedText(i,l,s))){if(i&&(o=mmt(i)),!t.props.stripPastedStyles){var u,d=t.getClipboard();if(!t.props.formatPastedText&&n.isRichText()&&d){if(-1!==(null===(u=l)||void 0===u?void 0:u.indexOf(t.getEditorKey()))||1===o.length&&1===d.size&&d.first().getText()===i)return void t.update(bmt(t._latestEditorState,d))}else if(d&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&function(t,e){return t.length===e.size&&e.valueSeq().every((function(e,n){return e.getText()===t[n]}))}(o,d))return void t.update(bmt(t._latestEditorState,d));if(l){var p=dmt.processHTML(l,t.props.blockRenderMap);if(p){var f=p.contentBlocks,h=p.entityMap;if(f){var g=cst.createFromArray(f);return void t.update(bmt(t._latestEditorState,g,h))}}}t.setClipboard(null)}if(o.length){var m=vst.create({style:s.getCurrentInlineStyle(),entity:Ept(s.getCurrentContent(),s.getSelection())}),b=hmt.getCurrentBlockType(s),v=dmt.processText(o,m,b),y=cst.createFromArray(v);t.update(bmt(t._latestEditorState,y))}}},ymt=Udt.isBrowser("Chrome"),xmt=Udt.isBrowser("Firefox"),wmt=ymt||xmt?Spt:function(t){},_mt={onBeforeInput:Mht,onBlur:Oht,onCompositionStart:Eht,onCopy:Dht,onCut:Pht,onDragOver:Nht,onDragStart:Aht,onFocus:zht,onInput:Xht,onKeyDown:Sgt,onPaste:vmt,onSelect:Spt,onMouseUp:wmt,onKeyUp:wmt},kmt=c.default.unstable_flushControlled;var Smt=function(t){var e,n;function a(){return t.apply(this,arguments)||this}n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var r=a.prototype;return r.shouldComponentUpdate=function(t){return this.props.text!==t.text||this.props.editorState.getSelection().getHasFocus()!==t.editorState.getSelection().getHasFocus()},r.render=function(){var t=this.props.editorState.getSelection().getHasFocus(),e=pdt({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":t});return i.default.createElement("div",{className:e},i.default.createElement("div",{className:pdt("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},a}(i.default.Component),Cmt=Smt,Mmt=Udt.isPlatform("Mac OS X"),Omt=Mmt&&Udt.isBrowser("Firefox < 29"),Emt=Qht.hasCommandModifier,Tmt=Qht.isCtrlKeyCommand;function Dmt(t){return Mmt&&t.altKey||Tmt(t)}var Imt=function(t){switch(t.keyCode){case 66:return Emt(t)?"bold":null;case 68:return Tmt(t)?"delete":null;case 72:return Tmt(t)?"backspace":null;case 73:return Emt(t)?"italic":null;case 74:return Emt(t)?"code":null;case 75:return Mmt&&Tmt(t)?"secondary-cut":null;case 77:case 79:return Tmt(t)?"split-block":null;case 84:return Mmt&&Tmt(t)?"transpose-characters":null;case 85:return Emt(t)?"underline":null;case 87:return Mmt&&Tmt(t)?"backspace-word":null;case 89:return Tmt(t)?Mmt?"secondary-paste":"redo":null;case 90:return function(t){return Emt(t)?t.shiftKey?"redo":"undo":null}(t)||null;case lpt:return"split-block";case hpt:return function(t){return!Mmt&&t.shiftKey?null:Dmt(t)?"delete-word":"delete"}(t);case opt:return function(t){return Emt(t)&&Mmt?"backspace-to-start-of-line":Dmt(t)?"backspace-word":"backspace"}(t);case upt:return Omt&&Emt(t)?"move-selection-to-start-of-block":null;case ppt:return Omt&&Emt(t)?"move-selection-to-end-of-block":null;default:return null}};function Pmt(){return Pmt=S||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},Pmt.apply(this,arguments)}function Nmt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),a.forEach((function(e){zmt(t,e,n[e])}))}return t}function Amt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zmt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Rmt(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var Lmt=Udt.isBrowser("IE"),jmt=!Lmt,Fmt={edit:_mt,composite:Apt,drag:wht,cut:null,render:null},Bmt=!1,Vmt=function(t){function e(){return t.apply(this,arguments)||this}Rmt(e,t);var n=e.prototype;return n.render=function(){return null},n.componentDidMount=function(){this._update()},n.componentDidUpdate=function(){this._update()},n._update=function(){var t=this.props.editor;t._latestEditorState=this.props.editorState,t._blockSelectEvents=!0},e}(i.default.Component),Ymt=function(t){function e(e){var n;return zmt(Amt(n=t.call(this,e)||this),"_blockSelectEvents",void 0),zmt(Amt(n),"_clipboard",void 0),zmt(Amt(n),"_handler",void 0),zmt(Amt(n),"_dragCount",void 0),zmt(Amt(n),"_internalDrag",void 0),zmt(Amt(n),"_editorKey",void 0),zmt(Amt(n),"_placeholderAccessibilityID",void 0),zmt(Amt(n),"_latestEditorState",void 0),zmt(Amt(n),"_latestCommittedEditorState",void 0),zmt(Amt(n),"_pendingStateFromBeforeInput",void 0),zmt(Amt(n),"_onBeforeInput",void 0),zmt(Amt(n),"_onBlur",void 0),zmt(Amt(n),"_onCharacterData",void 0),zmt(Amt(n),"_onCompositionEnd",void 0),zmt(Amt(n),"_onCompositionStart",void 0),zmt(Amt(n),"_onCopy",void 0),zmt(Amt(n),"_onCut",void 0),zmt(Amt(n),"_onDragEnd",void 0),zmt(Amt(n),"_onDragOver",void 0),zmt(Amt(n),"_onDragStart",void 0),zmt(Amt(n),"_onDrop",void 0),zmt(Amt(n),"_onInput",void 0),zmt(Amt(n),"_onFocus",void 0),zmt(Amt(n),"_onKeyDown",void 0),zmt(Amt(n),"_onKeyPress",void 0),zmt(Amt(n),"_onKeyUp",void 0),zmt(Amt(n),"_onMouseDown",void 0),zmt(Amt(n),"_onMouseUp",void 0),zmt(Amt(n),"_onPaste",void 0),zmt(Amt(n),"_onSelect",void 0),zmt(Amt(n),"editor",void 0),zmt(Amt(n),"editorContainer",void 0),zmt(Amt(n),"focus",void 0),zmt(Amt(n),"blur",void 0),zmt(Amt(n),"setMode",void 0),zmt(Amt(n),"exitCurrentMode",void 0),zmt(Amt(n),"restoreEditorDOM",void 0),zmt(Amt(n),"setClipboard",void 0),zmt(Amt(n),"getClipboard",void 0),zmt(Amt(n),"getEditorKey",void 0),zmt(Amt(n),"update",void 0),zmt(Amt(n),"onDragEnter",void 0),zmt(Amt(n),"onDragLeave",void 0),zmt(Amt(n),"_handleEditorContainerRef",(function(t){n.editorContainer=t,n.editor=null!==t?t.firstChild:null})),zmt(Amt(n),"focus",(function(t){var e=n.props.editorState,a=e.getSelection().getHasFocus(),r=n.editor;if(r){var o=vft.getScrollParent(r),i=t||Sft(o),l=i.x,s=i.y;bpt(r)||qst(!1),r.focus(),o===window?window.scrollTo(l,s):cft.setTop(o,s),a||n.update(Xut.forceSelection(e,e.getSelection()))}})),zmt(Amt(n),"blur",(function(){var t=n.editor;t&&(bpt(t)||qst(!1),t.blur())})),zmt(Amt(n),"setMode",(function(t){var e=n.props,a=e.onPaste,r=e.onCut,o=e.onCopy,i=Nmt({},Fmt.edit);a&&(i.onPaste=a),r&&(i.onCut=r),o&&(i.onCopy=o);var l=Nmt({},Fmt,{edit:i});n._handler=l[t]})),zmt(Amt(n),"exitCurrentMode",(function(){n.setMode("edit")})),zmt(Amt(n),"restoreEditorDOM",(function(t){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(t)}))})),zmt(Amt(n),"setClipboard",(function(t){n._clipboard=t})),zmt(Amt(n),"getClipboard",(function(){return n._clipboard})),zmt(Amt(n),"update",(function(t){n._latestEditorState=t,n.props.onChange(t)})),zmt(Amt(n),"onDragEnter",(function(){n._dragCount++})),zmt(Amt(n),"onDragLeave",(function(){n._dragCount--,0===n._dragCount&&n.exitCurrentMode()})),n._blockSelectEvents=!1,n._clipboard=null,n._handler=null,n._dragCount=0,n._editorKey=e.editorKey||tct(),n._placeholderAccessibilityID="placeholder-"+n._editorKey,n._latestEditorState=e.editorState,n._latestCommittedEditorState=e.editorState,n._onBeforeInput=n._buildHandler("onBeforeInput"),n._onBlur=n._buildHandler("onBlur"),n._onCharacterData=n._buildHandler("onCharacterData"),n._onCompositionEnd=n._buildHandler("onCompositionEnd"),n._onCompositionStart=n._buildHandler("onCompositionStart"),n._onCopy=n._buildHandler("onCopy"),n._onCut=n._buildHandler("onCut"),n._onDragEnd=n._buildHandler("onDragEnd"),n._onDragOver=n._buildHandler("onDragOver"),n._onDragStart=n._buildHandler("onDragStart"),n._onDrop=n._buildHandler("onDrop"),n._onInput=n._buildHandler("onInput"),n._onFocus=n._buildHandler("onFocus"),n._onKeyDown=n._buildHandler("onKeyDown"),n._onKeyPress=n._buildHandler("onKeyPress"),n._onKeyUp=n._buildHandler("onKeyUp"),n._onMouseDown=n._buildHandler("onMouseDown"),n._onMouseUp=n._buildHandler("onMouseUp"),n._onPaste=n._buildHandler("onPaste"),n._onSelect=n._buildHandler("onSelect"),n.getEditorKey=function(){return n._editorKey},n.state={contentsKey:0},n}Rmt(e,t);var n=e.prototype;return n._buildHandler=function(t){var e=this;return function(n){if(!e.props.readOnly){var a=e._handler&&e._handler[t];a&&(kmt?kmt((function(){return a(e,n)})):a(e,n))}}},n._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},n._renderPlaceholder=function(){if(this._showPlaceholder()){var t={text:Nut(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return i.default.createElement(Cmt,t)}return null},n._renderARIADescribedBy=function(){var t=this.props.ariaDescribedBy||"",e=this._showPlaceholder()?this._placeholderAccessibilityID:"";return t.replace("{{editor_id_placeholder}}",e)||void 0},n.render=function(){var t=this.props,e=t.blockRenderMap,n=t.blockRendererFn,a=t.blockStyleFn,r=t.customStyleFn,o=t.customStyleMap,l=t.editorState,s=t.preventScroll,c=t.readOnly,u=t.textAlignment,d=t.textDirectionality,p=pdt({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===u,"DraftEditor/alignRight":"right"===u,"DraftEditor/alignCenter":"center"===u}),f=this.props.role||"textbox",h="combobox"===f?!!this.props.ariaExpanded:null,g={blockRenderMap:e,blockRendererFn:n,blockStyleFn:a,customStyleMap:Nmt({},hdt,o),customStyleFn:r,editorKey:this._editorKey,editorState:l,preventScroll:s,textDirectionality:d};return i.default.createElement("div",{className:p},this._renderPlaceholder(),i.default.createElement("div",{className:pdt("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},i.default.createElement("div",{"aria-activedescendant":c?null:this.props.ariaActiveDescendantID,"aria-autocomplete":c?null:this.props.ariaAutoComplete,"aria-controls":c?null:this.props.ariaControls,"aria-describedby":this._renderARIADescribedBy(),"aria-expanded":c?null:h,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":c?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:pdt({notranslate:!c,"public/DraftEditor/content":!0}),contentEditable:!c,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:this.props.editorRef,role:c?null:f,spellCheck:jmt&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},i.default.createElement(Vmt,{editor:this,editorState:l}),i.default.createElement(eht,Pmt({},g,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!Bmt&&tut("draft_ods_enabled")&&(Bmt=!0),this.setMode("edit"),Lmt&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):g.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},e}(i.default.Component);zmt(Ymt,"defaultProps",{ariaDescribedBy:"{{editor_id_placeholder}}",blockRenderMap:fdt,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:Imt,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var Hmt=Ymt,Wmt=Object.freeze({__proto__:null}),Umt={stringify:function(t){return"_"+String(t)},unstringify:function(t){return t.slice(1)}},Gmt=Umt,Kmt=Yht.strlen;var qmt=function(t,e){var n=[];return t.findEntityRanges((function(t){return!!t.getEntity()}),(function(a,r){var o=t.getText(),i=t.getEntityAt(a);n.push({offset:Kmt(o.slice(0,a)),length:Kmt(o.slice(a,r)),key:Number(e[Gmt.stringify(i)])})})),n},Xmt=function(t,e){return t===e},Zmt=function(t){return!!t},Jmt=[];var $mt=function(t){var e=t.getCharacterList().map((function(t){return t.getStyle()})).toList(),n=e.flatten().toSet().map((function(n){return function(t,e,n){var a=[],r=e.map((function(t){return t.has(n)})).toList();return yst(r,Xmt,Zmt,(function(e,r){var o=t.getText();a.push({offset:Yht.strlen(o.slice(0,e)),length:Yht.strlen(o.slice(e,r)),style:n})})),a}(t,e,n)}));return Array.prototype.concat.apply(Jmt,n.toJS())};function Qmt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var tbt=function(t,e){return{key:t.getKey(),text:t.getText(),type:t.getType(),depth:t.getDepth(),inlineStyleRanges:$mt(t),entityRanges:qmt(t,e),data:t.getData().toObject()}},ebt=function(t,e,n,a){if(t instanceof Tst)n.push(tbt(t,e));else{t instanceof Vst||qst(!1);var r=t.getParentKey(),o=a[t.getKey()]=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),a.forEach((function(e){Qmt(t,e,n[e])}))}return t}({},tbt(t,e),{children:[]});r?a[r].children.push(o):n.push(o)}},nbt=function(t){var e={entityMap:{},blocks:[]};return e=function(t,e){var n=e.entityMap,a=[],r={},o={},i=0;return t.getBlockMap().forEach((function(t){t.findEntityRanges((function(t){return null!==t.getEntity()}),(function(e){var a=t.getEntityAt(e),r=Gmt.stringify(a);o[r]||(o[r]=a,n[r]="".concat(i),i++)})),ebt(t,n,a,r)})),{blocks:a,entityMap:n}}(t,e),e=function(t,e){var n=e.blocks,a=e.entityMap,r={};return Object.keys(a).forEach((function(e,n){var a=t.getEntity(Gmt.unstringify(e));r[n]={type:a.getType(),mutability:a.getMutability(),data:a.getData()}})),{blocks:n,entityMap:r}}(t,e),e};function abt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),a.forEach((function(e){rbt(t,e,n[e])}))}return t}function rbt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var obt=function(t){if(!t||!t.type)return!1;var e=t.type;return"unordered-list-item"===e||"ordered-list-item"===e},ibt={fromRawTreeStateToRawState:function(t){var e=t.blocks,n=[];return Array.isArray(e)||qst(!1),Array.isArray(e)&&e.length?(function(t,e){for(var n=[].concat(t).reverse();n.length;){var a=n.pop();e(a);var r=a.children;Array.isArray(r)||qst(!1),n=n.concat([].concat(r.reverse()))}}(e,(function(t){var e=abt({},t);obt(t)&&(e.depth=e.depth||0,function(t){Array.isArray(t.children)&&(t.children=t.children.map((function(e){return e.type===t.type?abt({},e,{depth:(t.depth||0)+1}):e})))}(t),null!=t.children&&t.children.length>0)||(delete e.children,n.push(e))})),t.blocks=n,abt({},t,{blocks:n})):t},fromRawStateToRawTreeState:function(t){var e=[],n=[];return t.blocks.forEach((function(t){var a=obt(t),r=t.depth||0,o=abt({},t,{children:[]});if(a){var i=n[0];if(null==i&&0===r)e.push(o);else if(null==i||i.depth<r-1){var l={key:tct(),text:"",depth:r-1,type:t.type,children:[],entityRanges:[],inlineStyleRanges:[]};n.unshift(l),1===r?e.push(l):null!=i&&i.children.push(l),l.children.push(o)}else if(i.depth===r-1)i.children.push(o);else{for(;null!=i&&i.depth>=r;)n.shift(),i=n[0];r>0?i.children.push(o):e.push(o)}}else e.push(o)})),abt({},t,{blocks:e})}},lbt=lst.List;var sbt=function(t,e){var n=t.map((function(t,n){var a=e[n];return vst.create({style:t,entity:a})}));return lbt(n)},cbt=Yht.substr;var ubt=function(t,e){var n=Array(t.length).fill(null);return e&&e.forEach((function(e){for(var a=cbt(t,0,e.offset).length,r=a+cbt(t,e.offset,e.length).length,o=a;o<r;o++)n[o]=e.key})),n},dbt=lst.OrderedSet,pbt=Yht.substr,fbt=dbt();var hbt=function(t,e){var n=Array(t.length).fill(fbt);return e&&e.forEach((function(e){for(var a=pbt(t,0,e.offset).length,r=a+pbt(t,e.offset,e.length).length;a<r;)n[a]=n[a].add(e.style),a++})),n};function gbt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),a.forEach((function(e){mbt(t,e,n[e])}))}return t}function mbt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var bbt=tut("draft_tree_data_support"),vbt=lst.List,ybt=lst.Map,xbt=lst.OrderedMap,wbt=function(t,e){var n=t.key,a=t.type,r=t.data;return{text:t.text,depth:t.depth||0,type:a||"unstyled",key:n||tct(),data:ybt(r),characterList:_bt(t,e)}},_bt=function(t,e){var n=t.text,a=t.entityRanges,r=t.inlineStyleRanges,o=a||[];return sbt(hbt(n,r||[]),ubt(n,o.filter((function(t){return e.hasOwnProperty(t.key)})).map((function(t){return gbt({},t,{key:e[t.key]})}))))},kbt=function(t){return gbt({},t,{key:t.key||tct()})},Sbt=function(t,e,n){var a=e.map((function(t){return gbt({},t,{parentRef:n})}));return t.concat(a.reverse())},Cbt=function(t,e){var n=t.blocks.find((function(t){return Array.isArray(t.children)&&t.children.length>0})),a=bbt&&!n?ibt.fromRawStateToRawTreeState(t).blocks:t.blocks;if(!bbt)return function(t,e){return xbt(t.map((function(t){var n=new Tst(wbt(t,e));return[n.getKey(),n]})))}(n?ibt.fromRawTreeStateToRawState(t).blocks:a,e);var r=function(t,e){return t.map(kbt).reduce((function(n,a,r){Array.isArray(a.children)||qst(!1);var o=a.children.map(kbt),i=new Vst(gbt({},wbt(a,e),{prevSibling:0===r?null:t[r-1].key,nextSibling:r===t.length-1?null:t[r+1].key,children:vbt(o.map((function(t){return t.key})))}));n=n.set(i.getKey(),i);for(var l=Sbt([],o,i);l.length>0;){var s=l.pop(),c=s.parentRef,u=c.getChildKeys(),d=u.indexOf(s.key),p=Array.isArray(s.children);if(!p){p||qst(!1);break}var f=s.children.map(kbt),h=new Vst(gbt({},wbt(s,e),{parent:c.getKey(),children:vbt(f.map((function(t){return t.key}))),prevSibling:0===d?null:u.get(d-1),nextSibling:d===u.size-1?null:u.get(d+1)}));n=n.set(h.getKey(),h),l=Sbt(l,f,h)}return n}),xbt())}(a,e);return r},Mbt=function(t){Array.isArray(t.blocks)||qst(!1);var e=function(t){var e=t.entityMap,n={};return Object.keys(e).forEach((function(t){var a=e[t],r=a.type,o=a.mutability,i=a.data;n[t]=Jct.__create(r,o,i||{})})),n}(t),n=Cbt(t,e),a=n.isEmpty()?new Qct:Qct.createEmpty(n.first().getKey());return new fut({blockMap:n,entityMap:e,selectionBefore:a,selectionAfter:a})};var Obt=function(t){var e=agt(t),n=0,a=0,r=0,o=0;if(e.length){if(e.length>1&&0===e[0].width){var i=e[1];n=i.top,a=i.right,r=i.bottom,o=i.left}else{var l=e[0];n=l.top,a=l.right,r=l.bottom,o=l.left}for(var s=1;s<e.length;s++){var c=e[s];0!==c.height&&0!==c.width&&(n=Math.min(n,c.top),a=Math.max(a,c.right),r=Math.max(r,c.bottom),o=Math.min(o,c.left))}}return{top:n,right:a,bottom:r,left:o,width:a-o,height:r-n}};var Ebt=function(t){var e=t.getSelection();if(!e.rangeCount)return null;var n=e.getRangeAt(0),a=Obt(n),r=a.top,o=a.right,i=a.bottom,l=a.left;return 0===r&&0===o&&0===i&&0===l?null:a},Tbt={Editor:Hmt,EditorBlock:Kft,EditorState:Xut,CompositeDecorator:udt,Entity:Jct,EntityInstance:Wct,BlockMapBuilder:cst,CharacterMetadata:vst,ContentBlock:Tst,ContentState:fut,RawDraftContentState:b(Wmt),SelectionState:Qct,AtomicBlockUtils:ldt,KeyBindingUtil:Qht,Modifier:Dct,RichUtils:hmt,DefaultDraftBlockRenderMap:fdt,DefaultDraftInlineStyle:hdt,convertFromHTML:rmt,convertFromRaw:Mbt,convertToRaw:nbt,genKey:tct,getDefaultKeyBinding:Imt,getVisibleSelectionRect:Ebt},Dbt=function(t){var e=t.getSelection(),n=t.getCurrentContent(),a=e.getStartKey(),r=e.getEndKey(),o=a===r,i=[n.getBlockForKey(a)];if(!o)for(var l=a;l!==r;){var s=n.getBlockAfter(l);i.push(s),l=s.getKey()}return i};function Ibt(t,e){var n=t.getCurrentInlineStyle();if(e){var a=e.toUpperCase();return n.toArray().reverse().find((function(t){return 0===t.indexOf(a)}))}return n}var Pbt=function(t,e){return e=e.toUpperCase(),Tbt.RichUtils.toggleInlineStyle(t,e)},Nbt=function(t,e,n){e=n.toUpperCase()+"-"+e.toUpperCase();var a=function(t,e){var n=t.getSelection(),a=t.getCurrentContent(),r=a.getBlockMap(),o=Dbt(t);if(0===o.length)return t;var i=n.getStartKey(),l=n.getStartOffset(),s=n.getEndKey(),c=n.getEndOffset(),u=r.map((function(t){if(!t||-1===o.indexOf(t))return t;var n=t.getKey(),a=t.getCharacterList().toArray(),r=[];return r=n===i&&n===s?a.map((function(t,n){return n>=l&&n<c?e(t):t})):n===i?a.map((function(t,n){return n>=l?e(t):t})):n===s?a.map((function(t,n){return n<c?e(t):t})):a.map((function(t){return e(t)})),t.merge({characterList:r})}));return a.merge({blockMap:u,selectionBefore:n,selectionAfter:n}),Tbt.EditorState.push(t,a,"change-inline-style")}(t,(function(t){return t.getStyle().toJS().reduce((function(t,a){return 0===a.indexOf(n)&&a!==e?Tbt.CharacterMetadata.removeStyle(t,a):t}),t)}));return Pbt(a,e)},Abt=function(t){return t.getCurrentContent().getBlockForKey(t.getSelection().getAnchorKey())};function zbt(t,e){var n=Abt(t).getData();if(e){var a=e.toUpperCase();return n.get(a)}return n}var Rbt=function(t,e,n){var a=lst.Map();return function(t,e){var n=Tbt.Modifier.setBlockData(t.getCurrentContent(),t.getSelection(),e);return Tbt.EditorState.push(t,n,"change-block-data")}(t,a=a.set(e,zbt(t,"TEXTALIGN")!==n?n:void 0))},Lbt=function(t,e){var n=function(t){var e=Dbt(t);if(!(e.length>1)){var n,a=e[0],r=t.getSelection(),o=r.getStartOffset(),i=r.getEndOffset();o===i&&0===o?i=1:o===i&&(o-=1);for(var l=o;l<i;l+=1){var s=a.getEntityAt(l);if(!s){n=void 0;break}if(l===o)n=s;else if(n!==s){n=void 0;break}}return n}console.warn("选择了两个块级区域, 无法获取entity信息")}(t);if(n){var a=t.getCurrentContent().getEntity(n);return a&&a.getType()===e?a:void 0}},jbt=function(t,e,n){if(n||(n=t.getSelection()),n.isCollapsed()||"atomic"===function(t){return Abt(t).getType()}(t))return t;if(!e)return Tbt.RichUtils.toggleLink(t,n,null);try{var a=t;return a=Tbt.RichUtils.toggleLink(a,n,e),a=Tbt.EditorState.forceSelection(a,n.merge({anchorOffset:n.getEndOffset(),focusOffset:n.getEndOffset()})),a=Tbt.EditorState.push(a,Tbt.Modifier.insertText(a.getCurrentContent(),a.getSelection(),""),"apply-entity")}catch(e){return console.warn(e),t}},Fbt=function(t){var e=t.children,n=t.entityData;return i.default.createElement("span",{className:"gf-link-wrap"},i.default.createElement("a",{className:"gf-link",href:n.href,target:n.target},e))},Bbt=function(e){var n=e.children,a=e.entityData,r=t.useContext(Qvt),o=r.editorState,l=r.onChange;return i.default.createElement(Xh,{trigger:"click",content:i.default.createElement("div",null,i.default.createElement(Og,{type:"link",onClick:function(){return window.open(a.href,a.target)}},"查看链接"),i.default.createElement(Og,{type:"link",onClick:function(){var t=o.getSelection();t.getAnchorOffset()===t.getFocusOffset()&&(t=t.merge({anchorOffset:n[0].props.start+n[0].props.text.length,focusOffset:n[0].props.start,isBackward:!0})),l(jbt(o,!1,t))}},"取消链接")),onVisibleChange:function(t){t&&l(Tbt.EditorState.forceSelection(o,o.getSelection()))}},i.default.createElement("span",{className:"gf-link-wrap"},i.default.createElement("a",{className:"gf-link"},n)))};function Vbt(t,e,n,a,r){var o;return R(t,(Ni(o={},"".concat(t,"-sm"),"small"===n),Ni(o,"".concat(t,"-lg"),"large"===n),Ni(o,"".concat(t,"-disabled"),a),Ni(o,"".concat(t,"-rtl"),"rtl"===r),Ni(o,"".concat(t,"-borderless"),!e),o))}function Ybt(t){return!!(t.prefix||t.suffix||t.allowClear)}var Hbt=Nh("text","input");function Wbt(t){return!(!t.addonBefore&&!t.addonAfter)}var Ubt=function(t){qi(n,t);var e=Qi(n);function n(){var t;return Hi(this,n),(t=e.apply(this,arguments)).containerRef=l.createRef(),t.onInputMouseUp=function(e){var n;if(null===(n=t.containerRef.current)||void 0===n?void 0:n.contains(e.target)){var a=t.props.triggerFocus;null==a||a()}},t}return Ui(n,[{key:"renderClearIcon",value:function(t){var e,n=this.props,a=n.allowClear,r=n.value,o=n.disabled,i=n.readOnly,s=n.handleReset,c=n.suffix;if(!a)return null;var u=!o&&!i&&r,d="".concat(t,"-clear-icon");return l.createElement(Ef,{onClick:s,onMouseDown:function(t){return t.preventDefault()},className:R((e={},Ni(e,"".concat(d,"-hidden"),!u),Ni(e,"".concat(d,"-has-suffix"),!!c),e),d),role:"button"})}},{key:"renderSuffix",value:function(t){var e=this.props,n=e.suffix,a=e.allowClear;return n||a?l.createElement("span",{className:"".concat(t,"-suffix")},this.renderClearIcon(t),n):null}},{key:"renderLabeledIcon",value:function(t,e){var n,a=this.props,r=a.focused,o=a.value,i=a.prefix,s=a.className,c=a.size,u=a.suffix,d=a.disabled,p=a.allowClear,f=a.direction,h=a.style,g=a.readOnly,m=a.bordered,b=this.renderSuffix(t);if(!Ybt(this.props))return Du(e,{value:o});var v=i?l.createElement("span",{className:"".concat(t,"-prefix")},i):null,y=R("".concat(t,"-affix-wrapper"),(Ni(n={},"".concat(t,"-affix-wrapper-focused"),r),Ni(n,"".concat(t,"-affix-wrapper-disabled"),d),Ni(n,"".concat(t,"-affix-wrapper-sm"),"small"===c),Ni(n,"".concat(t,"-affix-wrapper-lg"),"large"===c),Ni(n,"".concat(t,"-affix-wrapper-input-with-clear-btn"),u&&p&&o),Ni(n,"".concat(t,"-affix-wrapper-rtl"),"rtl"===f),Ni(n,"".concat(t,"-affix-wrapper-readonly"),g),Ni(n,"".concat(t,"-affix-wrapper-borderless"),!m),Ni(n,"".concat(s),!Wbt(this.props)&&s),n));return l.createElement("span",{ref:this.containerRef,className:y,style:h,onMouseUp:this.onInputMouseUp},v,Du(e,{style:null,value:o,className:Vbt(t,m,c,d)}),b)}},{key:"renderInputWithLabel",value:function(t,e){var n,a=this.props,r=a.addonBefore,o=a.addonAfter,i=a.style,s=a.size,c=a.className,u=a.direction;if(!Wbt(this.props))return e;var d="".concat(t,"-group"),p="".concat(d,"-addon"),f=r?l.createElement("span",{className:p},r):null,h=o?l.createElement("span",{className:p},o):null,g=R("".concat(t,"-wrapper"),d,Ni({},"".concat(d,"-rtl"),"rtl"===u)),m=R("".concat(t,"-group-wrapper"),(Ni(n={},"".concat(t,"-group-wrapper-sm"),"small"===s),Ni(n,"".concat(t,"-group-wrapper-lg"),"large"===s),Ni(n,"".concat(t,"-group-wrapper-rtl"),"rtl"===u),n),c);return l.createElement("span",{className:m,style:i},l.createElement("span",{className:g},f,Du(e,{style:null}),h))}},{key:"renderTextAreaWithClearIcon",value:function(t,e){var n,a=this.props,r=a.value,o=a.allowClear,i=a.className,s=a.style,c=a.direction,u=a.bordered;if(!o)return Du(e,{value:r});var d=R("".concat(t,"-affix-wrapper"),"".concat(t,"-affix-wrapper-textarea-with-clear-btn"),(Ni(n={},"".concat(t,"-affix-wrapper-rtl"),"rtl"===c),Ni(n,"".concat(t,"-affix-wrapper-borderless"),!u),Ni(n,"".concat(i),!Wbt(this.props)&&i),n));return l.createElement("span",{className:d,style:s},Du(e,{style:null,value:r}),this.renderClearIcon(t))}},{key:"render",value:function(){var t=this.props,e=t.prefixCls,n=t.inputType,a=t.element;return n===Hbt[0]?this.renderTextAreaWithClearIcon(e,a):this.renderInputWithLabel(e,this.renderLabeledIcon(e,a))}}]),n}(l.Component),Gbt=Ubt;function Kbt(t){return null==t?"":t}function qbt(t,e,n,a){if(n){var r=e,o=t.value;return"click"===e.type?((r=Object.create(e)).target=t,r.currentTarget=t,t.value="",n(r),void(t.value=o)):void 0!==a?((r=Object.create(e)).target=t,r.currentTarget=t,t.value=a,void n(r)):void n(r)}}function Xbt(t,e){if(t){t.focus(e);var n=(e||{}).cursor;if(n){var a=t.value.length;switch(n){case"start":t.setSelectionRange(0,0);break;case"end":t.setSelectionRange(a,a);break;default:t.setSelectionRange(0,a)}}}}var Zbt=function(t){qi(n,t);var e=Qi(n);function n(t){var a;Hi(this,n),(a=e.call(this,t)).direction="ltr",a.focus=function(t){Xbt(a.input,t)},a.saveClearableInput=function(t){a.clearableInput=t},a.saveInput=function(t){a.input=t},a.onFocus=function(t){var e=a.props.onFocus;a.setState({focused:!0},a.clearPasswordValueAttribute),null==e||e(t)},a.onBlur=function(t){var e=a.props.onBlur;a.setState({focused:!1},a.clearPasswordValueAttribute),null==e||e(t)},a.handleReset=function(t){a.setValue("",(function(){a.focus()})),qbt(a.input,t,a.props.onChange)},a.renderInput=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=a.props,i=o.className,s=o.addonBefore,c=o.addonAfter,u=o.size,d=o.disabled,p=ig(a.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType","bordered"]);return l.createElement("input",Pi({autoComplete:r.autoComplete},p,{onChange:a.handleChange,onFocus:a.onFocus,onBlur:a.onBlur,onKeyDown:a.handleKeyDown,className:R(Vbt(t,n,u||e,d,a.direction),Ni({},i,i&&!s&&!c)),ref:a.saveInput}))},a.clearPasswordValueAttribute=function(){a.removePasswordTimeout=setTimeout((function(){a.input&&"password"===a.input.getAttribute("type")&&a.input.hasAttribute("value")&&a.input.removeAttribute("value")}))},a.handleChange=function(t){a.setValue(t.target.value,a.clearPasswordValueAttribute),qbt(a.input,t,a.props.onChange)},a.handleKeyDown=function(t){var e=a.props,n=e.onPressEnter,r=e.onKeyDown;n&&13===t.keyCode&&n(t),null==r||r(t)},a.renderComponent=function(t){var e=t.getPrefixCls,n=t.direction,r=t.input,o=a.state,i=o.value,s=o.focused,c=a.props,u=c.prefixCls,d=c.bordered,p=void 0===d||d,f=e("input",u);return a.direction=n,l.createElement(kp.Consumer,null,(function(t){return l.createElement(Gbt,Pi({size:t},a.props,{prefixCls:f,inputType:"input",value:Kbt(i),element:a.renderInput(f,t,p,r),handleReset:a.handleReset,ref:a.saveClearableInput,direction:n,focused:s,triggerFocus:a.focus,bordered:p}))}))};var r=void 0===t.value?t.defaultValue:t.value;return a.state={value:r,focused:!1,prevValue:t.value},a}return Ui(n,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(t){return Ybt(t)!==Ybt(this.props)&&Qd(this.input!==document.activeElement,"Input","When Input is focused, dynamic add or remove prefix / suffix will make it lose focus caused by dom structure change. Read more: https://ant.design/components/input/#FAQ"),null}},{key:"componentWillUnmount",value:function(){this.removePasswordTimeout&&clearTimeout(this.removePasswordTimeout)}},{key:"blur",value:function(){this.input.blur()}},{key:"setSelectionRange",value:function(t,e,n){this.input.setSelectionRange(t,e,n)}},{key:"select",value:function(){this.input.select()}},{key:"setValue",value:function(t,e){void 0===this.props.value?this.setState({value:t},e):null==e||e()}},{key:"render",value:function(){return l.createElement(xp,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(t,e){var n=e.prevValue,a={prevValue:t.value};return void 0===t.value&&n===t.value||(a.value=t.value),a}}]),n}(l.Component);Zbt.defaultProps={type:"text"};var Jbt=Zbt,$bt=function(t){return l.createElement(xp,null,(function(e){var n,a=e.getPrefixCls,r=e.direction,o=t.prefixCls,i=t.className,s=void 0===i?"":i,c=a("input-group",o),u=R(c,(Ni(n={},"".concat(c,"-lg"),"large"===t.size),Ni(n,"".concat(c,"-sm"),"small"===t.size),Ni(n,"".concat(c,"-compact"),t.compact),Ni(n,"".concat(c,"-rtl"),"rtl"===r),n),s);return l.createElement("span",{className:u,style:t.style,onMouseEnter:t.onMouseEnter,onMouseLeave:t.onMouseLeave,onFocus:t.onFocus,onBlur:t.onBlur},t.children)}))},Qbt=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n},tvt=l.forwardRef((function(t,e){var n,a,r=t.prefixCls,o=t.inputPrefixCls,i=t.className,s=t.size,c=t.suffix,u=t.enterButton,d=void 0!==u&&u,p=t.addonAfter,f=t.loading,h=t.disabled,g=t.onSearch,m=t.onChange,b=Qbt(t,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange"]),v=l.useContext(yp),y=v.getPrefixCls,x=v.direction,w=l.useContext(kp),_=s||w,k=l.useRef(null),S=function(t){var e;document.activeElement===(null===(e=k.current)||void 0===e?void 0:e.input)&&t.preventDefault()},C=function(t){var e;g&&g(null===(e=k.current)||void 0===e?void 0:e.input.value,t)},M=y("input-search",r),O=y("input",o),E="boolean"==typeof d?l.createElement(Pw,null):null,T="".concat(M,"-button"),D=d||{},I=D.type&&!0===D.type.__ANT_BUTTON;a=I||"button"===D.type?Du(D,Pi({onMouseDown:S,onClick:C,key:"enterButton"},I?{className:T,size:_}:{})):l.createElement(Og,{className:T,type:d?"primary":void 0,size:_,disabled:h,key:"enterButton",onMouseDown:S,onClick:C,loading:f,icon:E},d),p&&(a=[a,Du(p,{key:"addonAfter"})]);var P=R(M,(Ni(n={},"".concat(M,"-rtl"),"rtl"===x),Ni(n,"".concat(M,"-").concat(_),!!_),Ni(n,"".concat(M,"-with-button"),!!d),n),i);return l.createElement(Jbt,Pi({ref:Pl(k,e),onPressEnter:C},b,{size:_,prefixCls:O,addonAfter:a,suffix:c,onChange:function(t){t&&t.target&&"click"===t.type&&g&&g(t.target.value,t),m&&m(t)},className:P,disabled:h}))}));tvt.displayName="Search";var evt,nvt,avt=tvt,rvt="\n  min-height:0 !important;\n  max-height:none !important;\n  height:0 !important;\n  visibility:hidden !important;\n  overflow:hidden !important;\n  position:absolute !important;\n  z-index:-1000 !important;\n  top:0 !important;\n  right:0 !important\n",ovt=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],ivt={};function lvt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.getAttribute("id")||t.getAttribute("data-reactid")||t.getAttribute("name");if(e&&ivt[n])return ivt[n];var a=window.getComputedStyle(t),r=a.getPropertyValue("box-sizing")||a.getPropertyValue("-moz-box-sizing")||a.getPropertyValue("-webkit-box-sizing"),o=parseFloat(a.getPropertyValue("padding-bottom"))+parseFloat(a.getPropertyValue("padding-top")),i=parseFloat(a.getPropertyValue("border-bottom-width"))+parseFloat(a.getPropertyValue("border-top-width")),l=ovt.map((function(t){return"".concat(t,":").concat(a.getPropertyValue(t))})).join(";"),s={sizingStyle:l,paddingSize:o,borderSize:i,boxSizing:r};return e&&n&&(ivt[n]=s),s}!function(t){t[t.NONE=0]="NONE",t[t.RESIZING=1]="RESIZING",t[t.RESIZED=2]="RESIZED"}(nvt||(nvt={}));var svt=function(t){qi(n,t);var e=Qi(n);function n(t){var a;return Hi(this,n),(a=e.call(this,t)).nextFrameActionId=void 0,a.resizeFrameId=void 0,a.textArea=void 0,a.saveTextArea=function(t){a.textArea=t},a.handleResize=function(t){var e=a.state.resizeStatus,n=a.props,r=n.autoSize,o=n.onResize;e===nvt.NONE&&("function"==typeof o&&o(t),r&&a.resizeOnNextFrame())},a.resizeOnNextFrame=function(){cancelAnimationFrame(a.nextFrameActionId),a.nextFrameActionId=requestAnimationFrame(a.resizeTextarea)},a.resizeTextarea=function(){var t=a.props.autoSize;if(t&&a.textArea){var e=t.minRows,n=t.maxRows,r=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;evt||((evt=document.createElement("textarea")).setAttribute("tab-index","-1"),evt.setAttribute("aria-hidden","true"),document.body.appendChild(evt)),t.getAttribute("wrap")?evt.setAttribute("wrap",t.getAttribute("wrap")):evt.removeAttribute("wrap");var r=lvt(t,e),o=r.paddingSize,i=r.borderSize,l=r.boxSizing,s=r.sizingStyle;evt.setAttribute("style","".concat(s,";").concat(rvt)),evt.value=t.value||t.placeholder||"";var c,u=Number.MIN_SAFE_INTEGER,d=Number.MAX_SAFE_INTEGER,p=evt.scrollHeight;if("border-box"===l?p+=i:"content-box"===l&&(p-=o),null!==n||null!==a){evt.value=" ";var f=evt.scrollHeight-o;null!==n&&(u=f*n,"border-box"===l&&(u=u+o+i),p=Math.max(u,p)),null!==a&&(d=f*a,"border-box"===l&&(d=d+o+i),c=p>d?"":"hidden",p=Math.min(d,p))}return{height:p,minHeight:u,maxHeight:d,overflowY:c,resize:"none"}}(a.textArea,!1,e,n);a.setState({textareaStyles:r,resizeStatus:nvt.RESIZING},(function(){cancelAnimationFrame(a.resizeFrameId),a.resizeFrameId=requestAnimationFrame((function(){a.setState({resizeStatus:nvt.RESIZED},(function(){a.resizeFrameId=requestAnimationFrame((function(){a.setState({resizeStatus:nvt.NONE}),a.fixFirefoxAutoScroll()}))}))}))}))}},a.renderTextArea=function(){var t=a.props,e=t.prefixCls,n=void 0===e?"rc-textarea":e,r=t.autoSize,o=t.onResize,i=t.className,s=t.disabled,c=a.state,u=c.textareaStyles,d=c.resizeStatus,p=ig(a.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),f=R(n,i,Ni({},"".concat(n,"-disabled"),s));"value"in p&&(p.value=p.value||"");var h=Vi(Vi(Vi({},a.props.style),u),d===nvt.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return l.createElement(om,{onResize:a.handleResize,disabled:!(r||o)},l.createElement("textarea",Pi({},p,{className:f,style:h,ref:a.saveTextArea})))},a.state={textareaStyles:{},resizeStatus:nvt.NONE},a}return Ui(n,[{key:"componentDidMount",value:function(){this.resizeTextarea()}},{key:"componentDidUpdate",value:function(t){t.value!==this.props.value&&this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var t=this.textArea.selectionStart,e=this.textArea.selectionEnd;this.textArea.setSelectionRange(t,e)}}catch(t){}}},{key:"render",value:function(){return this.renderTextArea()}}]),n}(l.Component),cvt=function(t){qi(n,t);var e=Qi(n);function n(t){var a;Hi(this,n),(a=e.call(this,t)).resizableTextArea=void 0,a.focus=function(){a.resizableTextArea.textArea.focus()},a.saveTextArea=function(t){a.resizableTextArea=t},a.handleChange=function(t){var e=a.props.onChange;a.setValue(t.target.value,(function(){a.resizableTextArea.resizeTextarea()})),e&&e(t)},a.handleKeyDown=function(t){var e=a.props,n=e.onPressEnter,r=e.onKeyDown;13===t.keyCode&&n&&n(t),r&&r(t)};var r=void 0===t.value||null===t.value?t.defaultValue:t.value;return a.state={value:r},a}return Ui(n,[{key:"setValue",value:function(t,e){"value"in this.props||this.setState({value:t},e)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return l.createElement(svt,Pi({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(t){return"value"in t?{value:t.value}:null}}]),n}(l.Component),uvt=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n};function dvt(t,e){return Nu(t||"").slice(0,e).join("")}var pvt=l.forwardRef((function(t,e){var n,a=t.prefixCls,r=t.bordered,o=void 0===r||r,i=t.showCount,s=void 0!==i&&i,c=t.maxLength,u=t.className,d=t.style,p=t.size,f=t.onCompositionStart,h=t.onCompositionEnd,g=t.onChange,m=uvt(t,["prefixCls","bordered","showCount","maxLength","className","style","size","onCompositionStart","onCompositionEnd","onChange"]),b=l.useContext(yp),v=b.getPrefixCls,y=b.direction,x=l.useContext(kp),w=l.useRef(null),_=l.useRef(null),k=ji(l.useState(!1),2),S=k[0],C=k[1],M=ji(Su(m.defaultValue,{value:m.value}),2),O=M[0],E=M[1],T=function(t,e){void 0===m.value&&(E(t),null==e||e())},D=Number(c)>0,I=v("input",a);l.useImperativeHandle(e,(function(){var t;return{resizableTextArea:null===(t=w.current)||void 0===t?void 0:t.resizableTextArea,focus:function(t){var e,n;Xbt(null===(n=null===(e=w.current)||void 0===e?void 0:e.resizableTextArea)||void 0===n?void 0:n.textArea,t)},blur:function(){var t;return null===(t=w.current)||void 0===t?void 0:t.blur()}}}));var P=l.createElement(cvt,Pi({},ig(m,["allowClear"]),{className:R((n={},Ni(n,"".concat(I,"-borderless"),!o),Ni(n,u,u&&!s),Ni(n,"".concat(I,"-sm"),"small"===x||"small"===p),Ni(n,"".concat(I,"-lg"),"large"===x||"large"===p),n)),style:s?void 0:d,prefixCls:I,onCompositionStart:function(t){C(!0),null==f||f(t)},onChange:function(t){var e=t.target.value;!S&&D&&(e=dvt(e,c)),T(e),qbt(t.currentTarget,t,g,e)},onCompositionEnd:function(t){C(!1);var e=t.currentTarget.value;D&&(e=dvt(e,c)),e!==O&&(T(e),qbt(t.currentTarget,t,g,e)),null==h||h(t)},ref:w})),N=Kbt(O);S||!D||null!==m.value&&void 0!==m.value||(N=dvt(N,c));var A=l.createElement(Gbt,Pi({},m,{prefixCls:I,direction:y,inputType:"text",value:N,element:P,handleReset:function(t){var e,n;T("",(function(){var t;null===(t=w.current)||void 0===t||t.focus()})),qbt(null===(n=null===(e=w.current)||void 0===e?void 0:e.resizableTextArea)||void 0===n?void 0:n.textArea,t,g)},ref:_,bordered:o,style:s?void 0:d}));if(s){var z=Nu(N).length,L="";return L="object"===Fi(s)?s.formatter({count:z,maxLength:c}):"".concat(z).concat(D?" / ".concat(c):""),l.createElement("div",{className:R("".concat(I,"-textarea"),Ni({},"".concat(I,"-textarea-rtl"),"rtl"===y),"".concat(I,"-textarea-show-count"),u),style:d,"data-count":L},A)}return A})),fvt=pvt,hvt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},gvt=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:hvt}))};gvt.displayName="EyeOutlined";var mvt=l.forwardRef(gvt),bvt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},vvt=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:bvt}))};vvt.displayName="EyeInvisibleOutlined";var yvt=l.forwardRef(vvt),xvt=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n},wvt={click:"onClick",hover:"onMouseOver"},_vt=l.forwardRef((function(e,n){var a=ji(t.useState(!1),2),r=a[0],o=a[1],i=function(){e.disabled||o(!r)},s=function(t){var a=t.getPrefixCls,o=e.className,s=e.prefixCls,c=e.inputPrefixCls,u=e.size,d=e.visibilityToggle,p=xvt(e,["className","prefixCls","inputPrefixCls","size","visibilityToggle"]),f=a("input",c),h=a("input-password",s),g=d&&function(t){var n,a=e.action,o=e.iconRender,s=wvt[a]||"",c=(void 0===o?function(){return null}:o)(r),u=(Ni(n={},s,i),Ni(n,"className","".concat(t,"-icon")),Ni(n,"key","passwordIcon"),Ni(n,"onMouseDown",(function(t){t.preventDefault()})),Ni(n,"onMouseUp",(function(t){t.preventDefault()})),n);return l.cloneElement(l.isValidElement(c)?c:l.createElement("span",null,c),u)}(h),m=R(h,o,Ni({},"".concat(h,"-").concat(u),!!u)),b=Pi(Pi({},ig(p,["suffix","iconRender"])),{type:r?"text":"password",className:m,prefixCls:f,suffix:g});return u&&(b.size=u),l.createElement(Jbt,Pi({ref:n},b))};return l.createElement(xp,null,s)}));_vt.defaultProps={action:"click",visibilityToggle:!0,iconRender:function(t){return t?l.createElement(mvt,null):l.createElement(yvt,null)}},_vt.displayName="Password";var kvt=_vt;Jbt.Group=$bt,Jbt.Search=avt,Jbt.TextArea=fvt,Jbt.Password=kvt;var Svt,Cvt=t.createContext({}),Mvt=function(){if(!zl()||!window.document.documentElement)return!1;if(void 0!==Svt)return Svt;var t=document.createElement("div");return t.style.display="flex",t.style.flexDirection="column",t.style.rowGap="1px",t.appendChild(document.createElement("div")),t.appendChild(document.createElement("div")),document.body.appendChild(t),Svt=1===t.scrollHeight,document.body.removeChild(t),Svt},Ovt=function(){var t=ji(l.useState(!1),2),e=t[0],n=t[1];return l.useEffect((function(){n(Mvt())}),[]),e},Evt=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n};Nh("top","middle","bottom","stretch"),Nh("start","end","center","space-around","space-between");var Tvt=l.forwardRef((function(t,e){var n,a=t.prefixCls,r=t.justify,o=t.align,i=t.className,s=t.style,c=t.children,u=t.gutter,d=void 0===u?0:u,p=t.wrap,f=Evt(t,["prefixCls","justify","align","className","style","children","gutter","wrap"]),h=l.useContext(yp),g=h.getPrefixCls,m=h.direction,b=ji(l.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),2),v=b[0],y=b[1],x=Ovt(),w=l.useRef(d);l.useEffect((function(){var t=Gw.subscribe((function(t){var e=w.current||0;(!Array.isArray(e)&&"object"===Fi(e)||Array.isArray(e)&&("object"===Fi(e[0])||"object"===Fi(e[1])))&&y(t)}));return function(){return Gw.unsubscribe(t)}}),[]);var _=g("row",a),k=function(){var t=[0,0];return(Array.isArray(d)?d:[d,0]).forEach((function(e,n){if("object"===Fi(e))for(var a=0;a<Vw.length;a++){var r=Vw[a];if(v[r]&&void 0!==e[r]){t[n]=e[r];break}}else t[n]=e||0})),t}(),S=R(_,(Ni(n={},"".concat(_,"-no-wrap"),!1===p),Ni(n,"".concat(_,"-").concat(r),r),Ni(n,"".concat(_,"-").concat(o),o),Ni(n,"".concat(_,"-rtl"),"rtl"===m),n),i),C={},M=k[0]>0?k[0]/-2:void 0,O=k[1]>0?k[1]/-2:void 0;if(M&&(C.marginLeft=M,C.marginRight=M),x){var E=ji(k,2);C.rowGap=E[1]}else O&&(C.marginTop=O,C.marginBottom=O);var T=l.useMemo((function(){return{gutter:k,wrap:p,supportFlexGap:x}}),[k,p,x]);return l.createElement(Cvt.Provider,{value:T},l.createElement("div",Pi({},f,{className:S,style:Pi(Pi({},C),s),ref:e}),c))}));Tvt.displayName="Row";var Dvt=Tvt,Ivt=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n};var Pvt=["xs","sm","md","lg","xl","xxl"],Nvt=l.forwardRef((function(t,e){var n,a=l.useContext(yp),r=a.getPrefixCls,o=a.direction,i=l.useContext(Cvt),s=i.gutter,c=i.wrap,u=i.supportFlexGap,d=t.prefixCls,p=t.span,f=t.order,h=t.offset,g=t.push,m=t.pull,b=t.className,v=t.children,y=t.flex,x=t.style,w=Ivt(t,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),_=r("col",d),k={};Pvt.forEach((function(e){var n,a={},r=t[e];"number"==typeof r?a.span=r:"object"===Fi(r)&&(a=r||{}),delete w[e],k=Pi(Pi({},k),(Ni(n={},"".concat(_,"-").concat(e,"-").concat(a.span),void 0!==a.span),Ni(n,"".concat(_,"-").concat(e,"-order-").concat(a.order),a.order||0===a.order),Ni(n,"".concat(_,"-").concat(e,"-offset-").concat(a.offset),a.offset||0===a.offset),Ni(n,"".concat(_,"-").concat(e,"-push-").concat(a.push),a.push||0===a.push),Ni(n,"".concat(_,"-").concat(e,"-pull-").concat(a.pull),a.pull||0===a.pull),Ni(n,"".concat(_,"-rtl"),"rtl"===o),n))}));var S=R(_,(Ni(n={},"".concat(_,"-").concat(p),void 0!==p),Ni(n,"".concat(_,"-order-").concat(f),f),Ni(n,"".concat(_,"-offset-").concat(h),h),Ni(n,"".concat(_,"-push-").concat(g),g),Ni(n,"".concat(_,"-pull-").concat(m),m),n),b,k),C={};if(s&&s[0]>0){var M=s[0]/2;C.paddingLeft=M,C.paddingRight=M}if(s&&s[1]>0&&!u){var O=s[1]/2;C.paddingTop=O,C.paddingBottom=O}return y&&(C.flex=function(t){return"number"==typeof t?"".concat(t," ").concat(t," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(t)?"0 0 ".concat(t):t}(y),"auto"!==y||!1!==c||C.minWidth||(C.minWidth=0)),l.createElement("div",Pi({},w,{style:Pi(Pi({},C),x),className:S,ref:e}),v)}));Nvt.displayName="Col";var Avt=Nvt,zvt=l.forwardRef((function(t,e){var n,a=t.prefixCls,r=void 0===a?"rc-switch":a,o=t.className,i=t.checked,s=t.defaultChecked,c=t.disabled,u=t.loadingIcon,d=t.checkedChildren,p=t.unCheckedChildren,f=t.onClick,h=t.onChange,g=t.onKeyDown,m=Yi(t,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),b=ji(Su(!1,{value:i,defaultValue:s}),2),v=b[0],y=b[1];function x(t,e){var n=v;return c||(y(n=t),null==h||h(n,e)),n}var w=R(r,o,(Ni(n={},"".concat(r,"-checked"),v),Ni(n,"".concat(r,"-disabled"),c),n));return l.createElement("button",Object.assign({},m,{type:"button",role:"switch","aria-checked":v,disabled:c,className:w,ref:e,onKeyDown:function(t){t.which===Ag.LEFT?x(!1,t):t.which===Ag.RIGHT&&x(!0,t),null==g||g(t)},onClick:function(t){var e=x(!v,t);null==f||f(e,t)}}),u,l.createElement("span",{className:"".concat(r,"-inner")},v?d:p))}));zvt.displayName="Switch";var Rvt=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n},Lvt=l.forwardRef((function(t,e){var n,a=t.prefixCls,r=t.size,o=t.loading,i=t.className,s=void 0===i?"":i,c=t.disabled,u=Rvt(t,["prefixCls","size","loading","className","disabled"]);Qd("checked"in u||!("value"in u),"Switch","`value` is not a valid prop, do you mean `checked`?");var d=l.useContext(yp),p=d.getPrefixCls,f=d.direction,h=l.useContext(kp),g=p("switch",a),m=l.createElement("div",{className:"".concat(g,"-handle")},o&&l.createElement(_f,{className:"".concat(g,"-loading-icon")})),b=R((Ni(n={},"".concat(g,"-small"),"small"===(r||h)),Ni(n,"".concat(g,"-loading"),o),Ni(n,"".concat(g,"-rtl"),"rtl"===f),n),s);return l.createElement(mg,{insertExtraNode:!0},l.createElement(zvt,Pi({},u,{prefixCls:g,className:b,disabled:c||o,ref:e,loadingIcon:m})))}));Lvt.__ANT_SWITCH=!0,Lvt.displayName="Switch";var jvt=Lvt,Fvt={type:"LINK",draftDecorator:{strategy:function(t,e,n){t.findEntityRanges((function(t){var e=t.getEntity();return null!==e&&"LINK"===n.getEntity(e).getType()}),e)},component:function(e){var n=e.children,a=e.entityKey,r=e.contentState,o=t.useContext(Qvt).readOnly,l=t.useMemo((function(){var t=r.getEntity(a).getData();return{href:t.href,target:t.target}}),[r,a]);return o?i.default.createElement(Fbt,{children:n,entityData:l}):i.default.createElement(Bbt,{children:n,entityData:l})}},Control:function(e){var n=e.editorState,a=e.onChange,r=t.useState({href:"",target:!1}),o=N(r,2),l=o[0],s=o[1],c=t.useState(void 0),u=N(c,2),d=u[0],p=u[1],f=t.useCallback((function(){var t=!!l.href&&Tbt.Entity.create("LINK","MUTABLE",{href:l.href,target:l.target?"_blank":"_self"});a(jbt(n,t,d)),v(!1)}),[l,n,a]),h=t.useMemo((function(){var t=Lbt(n,"LINK");if(t){var e=t.getData();return{href:e.href,target:e.target}}}),[n]),g=t.useState(!1),m=N(g,2),b=m[0],v=m[1],y=t.useMemo((function(){var t=n.getSelection(),e=t.getAnchorKey(),a=t.getAnchorOffset(),r=t.getFocusKey(),o=t.getFocusOffset();return e!==r||a===o}),[n]);return i.default.createElement("div",{onClick:function(t){return t.stopPropagation()}},i.default.createElement(Xh,{trigger:["click"],placement:"bottomLeft",visible:b,onVisibleChange:function(t){y?v(!1):(t&&(s(h||{href:"",target:!1}),p(n.getSelection()),a(Tbt.EditorState.forceSelection(n,n.getSelection()))),v(t))},content:i.default.createElement(i.default.Fragment,null,i.default.createElement(Dvt,null,i.default.createElement(Avt,{flex:"none",style:{marginRight:"6px"}},"链接"),i.default.createElement(Avt,{flex:"1"},i.default.createElement("div",{style:{width:"100%",overflow:"hidden"}},i.default.createElement(Jbt,{size:"small",value:l.href,onChange:function(t){return s(z(z({},l),{href:t.target.value}))}})))),i.default.createElement(Dvt,{style:{marginTop:"12px"}},i.default.createElement(Avt,{flex:"1"},i.default.createElement("span",null,"新窗口打开"),i.default.createElement(jvt,{size:"small",checked:l.target,onChange:function(t){return s(z(z({},l),{target:t}))}})),i.default.createElement(Avt,{flex:"none"},i.default.createElement(Og,{size:"small",onClick:f},"确定"))))},i.default.createElement(Og,{type:"text",icon:i.default.createElement("div",{className:R("graft-control",{"is-active":h})},i.default.createElement(q,null)),disabled:y})))}};Nh("LINK");var Bvt=fS({},Fvt.type,Fvt);Nh("left","center","right","justify");var Vvt={left:{type:"left",icon:i.default.createElement($,null)},center:{type:"center",icon:i.default.createElement(Z,null)},right:{type:"right",icon:i.default.createElement(tt,null)},justify:{type:"justify",icon:i.default.createElement(G,null)}},Yvt={type:"TEXTALIGN",getClassName:function(t){var e=t.getData().get("TEXTALIGN");return e?"graft-textAlign-".concat(e):""},Control:function(e){var n=e.types,a=e.editorState,r=e.onChange,o=t.useMemo((function(){return(n||["left","center","right"]).map((function(t){return Vvt[t]}))}),[n]),l=t.useCallback((function(t){r(Rbt(a,"TEXTALIGN",t))}),[a,r]),s=t.useMemo((function(){return zbt(a,"TEXTALIGN")}),[a]);return o&&i.default.createElement(i.default.Fragment,null,o.map((function(t){return t&&i.default.createElement(Og,{key:t.type,type:"text",icon:i.default.createElement("div",{className:R("graft-control",{"is-active":s===t.type})},t.icon),onClick:function(){return l(t.type)}})})))}};Nh("TEXTALIGN");var Hvt,Wvt=fS({},Yvt.type,Yvt),Uvt={type:"BACKGROUNDCOLOR",getStyle:function(t){return 0===t.indexOf("BACKGROUNDCOLOR")?{backgroundColor:t.split("-")[1]}:{}},Control:function(e){var n=e.editorState,a=e.onChange,r=t.useCallback((function(t){a(Nbt(n,t.toLocaleUpperCase(),"BACKGROUNDCOLOR"))}),[n,a]),o=t.useMemo((function(){var t=Ibt(n,"BACKGROUNDCOLOR");if(t)return t.split("-")[1]}),[n]);return i.default.createElement(nv,{value:o,onChange:r},i.default.createElement(Og,{type:"text",icon:i.default.createElement("div",{className:"graft-control graft-control-backgroundColor",style:{backgroundColor:o}},"A")}))}},Gvt={type:"FONTCOLOR",getStyle:function(t){return 0===t.indexOf("FONTCOLOR")?{color:t.split("-")[1]}:{}},Control:function(e){var n=e.editorState,a=e.onChange,r=t.useCallback((function(t){a(Nbt(n,t.toLocaleUpperCase(),"FONTCOLOR"))}),[n,a]),o=t.useMemo((function(){var t=Ibt(n,"FONTCOLOR");if(t)return t.split("-")[1]}),[n]);return i.default.createElement(nv,{value:o,onChange:r},i.default.createElement(Og,{type:"text",icon:i.default.createElement("div",{className:"graft-control graft-control-fontColor"},"A",i.default.createElement("div",{className:"graft-control-fontColor-underline",style:{backgroundColor:o}}))}))}},Kvt={type:"FONTSIZE",getStyle:function(t){if(0===t.indexOf("FONTSIZE")){var e=t.split("-")[1];return{fontSize:"".concat(e,"px")}}return{}},Control:function(e){var n=e.minFontSize,a=e.maxFontSize,r=e.editorState,o=e.onChange,l=t.useCallback((function(t){o(Nbt(r,t.toString(),"FONTSIZE"))}),[r,o]),s=t.useMemo((function(){return n||12}),[n]),c=t.useMemo((function(){return a||40}),[a]),u=t.useMemo((function(){var t=Ibt(r,"FONTSIZE");if(t)return t.split("-")[1]}),[r]);return i.default.createElement(Ng,{trigger:["click"],arrow:!0,overlayClassName:"graft-control-dropmenu",overlay:i.default.createElement(ak,null,Array.from({length:c-s+1}).map((function(t,e){var n=s+e;return i.default.createElement(ak.Item,{key:n,onClick:function(){return l(n)}},n)}))),onVisibleChange:function(t){t&&o(Tbt.EditorState.forceSelection(r,r.getSelection()))}},i.default.createElement(Og,{type:"text"},i.default.createElement("div",{className:"graft-control graft-control-fontSize"},i.default.createElement("span",{className:"graft-control-fontWeight-value"},u||"字号"),i.default.createElement(W,null))))}},qvt={type:"FONTWEIGHT",getStyle:function(t){return 0===t.indexOf("FONTWEIGHT")?{fontWeight:t.split("-")[1]}:{}},Control:function(e){var n=e.minFontWeight,a=e.maxFontWeight,r=e.editorState,o=e.onChange,l=t.useCallback((function(t){o(Nbt(r,t.toString(),"FONTWEIGHT"))}),[r,o]),s=t.useMemo((function(){return n||400}),[n]),c=t.useMemo((function(){return a||600}),[a]),u=t.useMemo((function(){var t=Ibt(r,"FONTWEIGHT");if(t)return t.split("-")[1]}),[r]);return i.default.createElement(Ng,{trigger:["click"],arrow:!0,overlay:i.default.createElement(ak,null,Array.from({length:(c-s)/100+1}).map((function(t,e){var n=s+100*e;return i.default.createElement(ak.Item,{key:n,onClick:function(){return l(n)}},n)}))),onVisibleChange:function(t){t&&o(Tbt.EditorState.forceSelection(r,r.getSelection()))}},i.default.createElement(Og,{type:"text"},i.default.createElement("div",{className:"graft-control graft-control-fontWeight"},i.default.createElement("span",{className:"graft-control-fontWeight-value"},u||"字重"),i.default.createElement(W,null))))}};Nh("BACKGROUNDCOLOR","FONTSIZE","FONTCOLOR","FONTWEIGHT");var Xvt=(fS(Hvt={},Uvt.type,Uvt),fS(Hvt,Gvt.type,Gvt),fS(Hvt,Kvt.type,Kvt),fS(Hvt,qvt.type,qvt),Hvt),Zvt={BOLD:{type:"BOLD",icon:i.default.createElement(j,null)},ITALIC:{type:"ITALIC",icon:i.default.createElement(Y,null)},UNDERLINE:{type:"UNDERLINE",icon:i.default.createElement("span",{style:{textDecoration:"underline"}},"U")},STRIKETHROUGH:{type:"STRIKETHROUGH",icon:i.default.createElement("span",{style:{textDecoration:"line-through"}},"U")}},Jvt=function(e){var n=e.type,a=e.editorState,r=e.onChange,o=t.useMemo((function(){return Zvt[n]}),[n]),l=t.useCallback((function(t){r(Pbt(a,t))}),[a,r]),s=t.useMemo((function(){return function(t,e){return Ibt(t).has(e.toUpperCase())}(a,n)}),[a,n]);return o?i.default.createElement(Og,{type:"text",icon:i.default.createElement("div",{className:R("graft-control",{"is-active":s})},o.icon),onClick:function(){return l(o.type)}}):i.default.createElement(i.default.Fragment,null)},$vt=function(e){var n=e.items,a=e.editorState,r=e.onChange,o=t.useRef();return i.default.createElement("div",{className:"graft-editor-toolbar",ref:o},n.map((function(t,e){switch(t=t.toUpperCase()){case"TEXTALIGN":var n=Wvt[t].Control;return i.default.createElement(n,{key:e,editorState:a,onChange:r});case"BACKGROUNDCOLOR":case"FONTCOLOR":case"FONTSIZE":case"FONTWEIGHT":var o=Xvt[t].Control;return i.default.createElement(o,{key:e,editorState:a,onChange:r});case"LINK":var l=Bvt[t].Control;return i.default.createElement(l,{key:e,editorState:a,onChange:r});case"|":return i.default.createElement("span",{key:e,className:"graft-editor-toolbar-separator"},"|");case"BOLD":case"ITALIC":case"UNDERLINE":case"STRIKETHROUGH":return i.default.createElement(Jvt,{key:e,type:t,editorState:a,onChange:r});default:return null}})))},Qvt=t.createContext({}),tyt=t.forwardRef((function(e,n){var a=e.className,r=void 0===a?"":a,o=e.style,l=void 0===o?{}:o,s=e.editorState,c=e.placeholder,u=e.readOnly,d=e.onChange,p=e.onClick,f=t.useRef(),h=t.useMemo((function(){return{items:["fontColor","backgroundColor","|","italic","underline","strikethrough","textAlign","|","fontSize","fontWeight","|","link"],editorState:s,onChange:d}}),[s,d]),g=t.useMemo((function(){return{editorState:s,onChange:d,placeholder:c,readOnly:u,customStyleFn:function(t){var e={};return t.toArray().forEach((function(t){Object.values(Xvt).forEach((function(n){var a=n.getStyle;z(e,a(t))}))})),e},blockStyleFn:function(t){var e=[];return Object.values(Wvt).forEach((function(n){var a=n.getClassName;e.push(a(t))})),e.join(" ")}}}),[s,d,c,u]),m=t.useRef(),b=t.useState(!1),v=N(b,2),y=v[0],x=v[1],w=t.useCallback((function(){m.current&&clearTimeout(m.current),!y&&x(!0)}),[y]),_=t.useCallback((function(){m.current=setTimeout((function(){x(!1)}),200)}),[]);return t.useImperativeHandle(n,(function(){return{focus:function(){return f.current.focus()}}})),i.default.createElement(Qvt.Provider,{value:{readOnly:u||!1,editorState:s,onChange:d}},i.default.createElement("div",{className:"graft-editor ".concat(r),style:l,onFocus:w,onBlur:_,onClick:p},i.default.createElement(Xh,{visible:y&&!u,placement:"topLeft",overlayClassName:"graft-editor-toolbar-container",content:i.default.createElement($vt,h)},i.default.createElement(Tbt.Editor,z({},g,{ref:f})))))}));tyt.createEmpty=function(){return Tbt.EditorState.createEmpty(new Tbt.CompositeDecorator(Object.values(Bvt).map((function(t){return t.draftDecorator}))))},tyt.createFromRaw=function(t){return Tbt.EditorState.createWithContent(Tbt.convertFromRaw(t),new Tbt.CompositeDecorator(Object.values(Bvt).map((function(t){return t.draftDecorator}))))},tyt.toRaw=function(t){return Tbt.convertToRaw(t.getCurrentContent())};var eyt=i.default.forwardRef((function(e,n){var a=e.component,r=e.dashboard,o=e.onClick,l=e.onChange,s=a.text,c=a.showMode,u=a.horizontalAlign,d=a.verticalAlign,p=a.padding,f=a.background,h=a.border,g=t.useMemo((function(){var t={};switch(u){case"left":t.justifyContent="flex-start";break;case"center":t.justifyContent="center";break;case"right":t.justifyContent="flex-end"}switch(d){case"top":t.alignItems="flex-start";break;case"middle":t.alignItems="center";break;case"bottom":t.alignItems="flex-end"}switch(t.padding=p.map((function(t){return"".concat(t,"px")})).join(" "),f.type){case"color_fill":var e=f.colorFill;switch(e.type){case"pure":t.background=e.color;break;case"linear":t.background="linear-gradient(to right, ".concat(e.startColor," , ").concat(e.endColor,")");break;case"radial":t.background="radial-gradient(circle, ".concat(e.startColor," ").concat(e.radius,"px, ").concat(e.endColor,")")}break;case"image":switch(t.backgroundImage="url(".concat(r.images[f.image.url],")"),t.backgroundRepeat="no-repeat",t.backgroundPosition="".concat(f.image.horizontalAlign," ").concat(f.image.verticalAlign),f.image.mode){case"default":break;case"cover_x":t.backgroundSize="100% auto";break;case"cover_y":t.backgroundSize="auto 100%";break;case"cover":t.backgroundSize="100% 100%"}}return h.width>0&&(t.border="".concat(h.width,"px ").concat(h.type," ").concat(h.color),t.borderRadius="".concat(h.radius,"px")),t}),[s,c,u,d,p,f,h,r]),m=t.useMemo((function(){var t={};switch(t.textAlign=u,c){case"scroll":t.whiteSpace="pre-wrap";break;case"wrap":t.width="100%"}return t}),[u,c]),b=i.default.useState(s?tyt.createFromRaw(s):tyt.createEmpty()),v=N(b,2),y=v[0],x=v[1],w=t.useRef(),_=t.useCallback((function(t){x(t),null==l||l(tyt.toRaw(t))}),[l]);t.useImperativeHandle(n,(function(){return{focus:function(){return w.current.focus()}}}));var k=t.useMemo((function(){return!l}),[l]);return i.default.createElement("div",{className:"gcs-text",style:g,onClick:o},i.default.createElement(tyt,{ref:w,readOnly:k,style:m,editorState:y,onChange:_}))})),nyt=eyt,ayt=i.default.forwardRef((function(e,n){var a=e.component,r=e.dashboard,o=a.image,l=a.border,s=a.background,c=t.useMemo((function(){var t={};if(o.url)switch(t.backgroundImage="url(".concat(r.images[o.url],")"),t.backgroundRepeat="no-repeat",t.backgroundPosition="".concat(o.horizontalAlign," ").concat(o.verticalAlign),o.mode){case"default":break;case"cover_x":t.backgroundSize="100% auto";break;case"cover_y":t.backgroundSize="auto 100%";break;case"cover":t.backgroundSize="100% 100%"}return t}),[o,r]),u=t.useMemo((function(){var t={};switch(s.type){case"color_fill":var e=s.colorFill;switch(e.type){case"pure":t.background=e.color;break;case"linear":t.background="linear-gradient(to right, ".concat(e.startColor," , ").concat(e.endColor,")");break;case"radial":t.background="radial-gradient(circle, ".concat(e.startColor," ").concat(e.radius,"px, ").concat(e.endColor,")")}break;case"image":switch(t.backgroundImage="url(".concat(r.images[s.image.url],")"),t.backgroundRepeat="no-repeat",t.backgroundPosition="".concat(s.image.horizontalAlign," ").concat(s.image.verticalAlign),s.image.mode){case"default":break;case"cover_x":t.backgroundSize="100% auto";break;case"cover_y":t.backgroundSize="auto 100%";break;case"cover":t.backgroundSize="100% 100%"}}return l.width>0&&(t.border="".concat(l.width,"px ").concat(l.type," ").concat(l.color),t.borderRadius="".concat(l.radius,"px")),t}),[l,s]),d=t.useRef();return t.useImperativeHandle(n,(function(){return{getDom:function(){return d.current}}})),i.default.createElement("div",{ref:d,className:"gcs-image-wrapper",style:u},i.default.createElement("div",{className:"gcs-image",style:c}))})),ryt=ayt;function oyt(t){var e=t.className,n=t.direction,a=t.index,r=t.marginDirection,o=t.children,i=t.split,s=t.wrap,c=l.useContext(lyt),u=c.horizontalSize,d=c.verticalSize,p=c.latestIndex,f={};return c.supportFlexGap||("vertical"===n?a<p&&(f={marginBottom:u/(i?2:1)}):f=Pi(Pi({},a<p&&Ni({},r,u/(i?2:1))),s&&{paddingBottom:d})),null==o?null:l.createElement(l.Fragment,null,l.createElement("div",{className:e,style:f},o),a<p&&i&&l.createElement("span",{className:"".concat(e,"-split"),style:f},i))}var iyt=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n},lyt=l.createContext({latestIndex:0,horizontalSize:0,verticalSize:0,supportFlexGap:!1}),syt={small:8,middle:16,large:24};var cyt=function(t){var e,n=l.useContext(yp),a=n.getPrefixCls,r=n.space,o=n.direction,i=t.size,s=void 0===i?(null==r?void 0:r.size)||"small":i,c=t.align,u=t.className,d=t.children,p=t.direction,f=void 0===p?"horizontal":p,h=t.prefixCls,g=t.split,m=t.style,b=t.wrap,v=void 0!==b&&b,y=iyt(t,["size","align","className","children","direction","prefixCls","split","style","wrap"]),x=Ovt(),w=ji(l.useMemo((function(){return(Array.isArray(s)?s:[s,s]).map((function(t){return function(t){return"string"==typeof t?syt[t]:t||0}(t)}))}),[s]),2),_=w[0],k=w[1],S=Au(d,{keepEmpty:!0}),C=void 0===c&&"horizontal"===f?"center":c,M=a("space",h),O=R(M,"".concat(M,"-").concat(f),(Ni(e={},"".concat(M,"-rtl"),"rtl"===o),Ni(e,"".concat(M,"-align-").concat(C),C),e),u),E="".concat(M,"-item"),T="rtl"===o?"marginLeft":"marginRight",D=0,I=S.map((function(t,e){return null!=t&&(D=e),l.createElement(oyt,{className:E,key:"".concat(E,"-").concat(e),direction:f,index:e,marginDirection:T,split:g,wrap:v},t)})),P=l.useMemo((function(){return{horizontalSize:_,verticalSize:k,latestIndex:D,supportFlexGap:x}}),[_,k,D,x]);if(0===S.length)return null;var N={};return v&&(N.flexWrap="wrap",x||(N.marginBottom=-k)),x&&(N.columnGap=_,N.rowGap=k),l.createElement("div",Pi({className:O,style:Pi(Pi({},N),m)},y),l.createElement(lyt.Provider,{value:P},I))},uyt=function(e){var n=e.field,a=e.className,r=t.useContext(qxt),o=r.fieldsForm,l=r.setFieldsForm,s=t.useState(n.filter.defaultValue),c=N(s,2),u=c[0],d=c[1];t.useEffect((function(){if(o[n.id]){var t=o[n.id].filter.value;d(t)}}),[o[n.id]]);var p=t.useCallback((function(t){var e=t.target.value;l((function(t){return z(z({},t),fS({},n.id,z(z({},t[n.id]),{filter:z(z({},t[n.id].filter),{value:e})})))}))}),[n.id]);return i.default.createElement(Jbt,{className:a,value:u,placeholder:n.filter.placeholder,allowClear:!0,size:"small",onChange:function(t){return d(t.target.value)},onPressEnter:p,onBlur:p})},dyt=window&&window.__awaiter||function(t,e,n,a){return new(n||(n=Promise))((function(r,o){function i(t){try{s(a.next(t))}catch(t){o(t)}}function l(t){try{s(a.throw(t))}catch(t){o(t)}}function s(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(i,l)}s((a=a.apply(t,e||[])).next())}))},pyt=function(e){var n=e.field,a=e.className,r=e.getDataTableColumnValue,o=t.useContext(qxt),l=o.fieldsForm,s=o.setFieldsForm,c=o.dashboard,u=t.useState(n.filter.defaultValue),d=N(u,2),p=d[0],f=d[1],h=t.useState(!1),g=N(h,2),m=g[0],b=g[1],v=t.useState([]),y=N(v,2),x=y[0],w=y[1],_=t.useRef(0),k=t.useCallback((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return dyt(void 0,void 0,void 0,ru.mark((function e(){var a,o,i;return ru.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("chart"===(a=c.components[n.filter.source]).type&&"unknown"!==a.chartType){e.next=3;break}return e.abrupt("return");case 3:return _.current+=1,o=_.current,b(!0),e.prev=6,e.next=9,r({field:"".concat(a.data.source.table,".").concat(n.relatedField[n.filter.source]),op:cM.getOp(n.filter.matchType),keyword:t,pp:30,pg:1});case 9:if(i=e.sent,o===_.current){e.next=12;break}return e.abrupt("return");case 12:w(i),e.next=19;break;case 15:e.prev=15,e.t0=e.catch(6),console.error(e.t0),w([]);case 19:b(!1);case 20:case"end":return e.stop()}}),e,null,[[6,15]])})))}),[n,n.filter.source,n.filter.matchType]);t.useEffect((function(){k()}),[k]),t.useEffect((function(){if(l[n.id]){var t=l[n.id].filter.value;f(t)}}),[l[n.id]]);var S=t.useCallback((function(t){s((function(e){return z(z({},e),fS({},n.id,z(z({},e[n.id]),{filter:z(z({},e[n.id].filter),{value:t})})))}))}),[n.id]);return i.default.createElement("div",{className:a},i.default.createElement(jw,{mode:n.filter.multiple?"multiple":void 0,value:p,dropdownMatchSelectWidth:!1,size:"small",loading:m,notFoundContent:m?i.default.createElement(vv,{size:"small"}):null,onSearch:k,style:{width:"100%"},showSearch:!0,allowClear:!0,onChange:S},x.map((function(t){return i.default.createElement(jw.Option,{key:t,value:t},t)}))))},fyt={equal:{title:"等于"},not_equal:{title:"不等于"},great_than:{title:"大于"},great_equal:{title:"大于等于"},less_than:{title:"小于"},less_equal:{title:"小于等于"},null:{title:"空"},not_null:{title:"非空"}},hyt={contain:{title:"包含"},not_contain:{title:"不包含"},startwith:{title:"以...开始"},not_startwith:{title:"不以...开始"},endwith:{title:"以...结束"},not_endwith:{title:"不以...结束"},equal:{title:"等于"},not_equal:{title:"不等于"},null_str:{title:"空字符串"},not_null_str:{title:"非空字符串"},null:{title:"空"},not_null:{title:"非空"}},gyt={today:{title:"今天"},yesterday:{title:"昨天"},current:{title:"当前"}},myt={today:{title:"今天"},yesterday:{title:"昨天"},this_week:{title:"本周"},last_week:{title:"上周"},this_month:{title:"本月"},last_month:{title:"上月"},this_quarter:{title:"本季度"},last_quarter:{title:"上季度"},this_year:{title:"今年"},last_year:{title:"去年"},nearly_a_week:{title:"近一周"},nearly_a_month:{title:"近一月"},nearly_a_year:{title:"近一年"},nearly_1_min:{title:"近1分钟"},nearly_5_min:{title:"近5分钟"},nearly_10_min:{title:"近10分钟"},nearly_30_min:{title:"近30分钟"},nearly_1_hour:{title:"近1小时"}},byt=function(e){var n=e.field,a=e.className,r=t.useContext(qxt),o=r.fieldsForm,l=r.setFieldsForm,s=t.useState(n.filter.mode),c=N(s,2),u=c[0],d=c[1],p=t.useState(n.filter.defaultValue),f=N(p,2),h=f[0],g=f[1];t.useEffect((function(){if(o[n.id]){var t=o[n.id].filter,e=t.mode,a=t.value;d(e),g(a)}}),[o[n.id]]);var m=t.useCallback((function(t){l((function(e){return z(z({},e),fS({},n.id,z(z({},e[n.id]),{filter:z(z({},e[n.id].filter),{mode:t})})))}))}),[n.id]),b=t.useCallback((function(t){var e=t.target.value;l((function(t){return z(z({},t),fS({},n.id,z(z({},t[n.id]),{filter:z(z({},t[n.id].filter),{value:e})})))}))}),[n.id]);return i.default.createElement(cyt,{className:a},i.default.createElement(jw,{value:u,size:"small",onChange:m},uM.ConditionModeTypes.map((function(t){return i.default.createElement(jw.Option,{key:t,value:t},hyt[t].title)}))),i.default.createElement(Jbt,{value:h,allowClear:!0,size:"small",onChange:function(t){return g(t.target.value)},onPressEnter:b,onBlur:b}))},vyt=window&&window.__awaiter||function(t,e,n,a){return new(n||(n=Promise))((function(r,o){function i(t){try{s(a.next(t))}catch(t){o(t)}}function l(t){try{s(a.throw(t))}catch(t){o(t)}}function s(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(i,l)}s((a=a.apply(t,e||[])).next())}))},yyt=function(e){var n=e.className,a=e.field,r=e.tags,o=e.defaultValue,l=t.useState(null),s=N(l,2),c=s[0],u=s[1],d=t.useContext(qxt),p=d.fieldsForm,f=d.setFieldsForm;t.useEffect((function(){"none"===o.tags?u(null):1===o.tags&&u(r[0])}),[r,o]),t.useEffect((function(){if(p[a.id]){var t=p[a.id].filter.value;u(t)}}),[p[a.id]]);var h=t.useCallback((function(t){f((function(e){return z(z({},e),fS({},a.id,z(z({},a),{filter:z(z({},a.filter),{value:t})})))}))}),[a]);return i.default.createElement(cyt,{className:R(n,"gcs-filter-tag")},r.map((function(t){return i.default.createElement("span",{className:R("gcs-filter-string-tag",{"is-active":c===t}),key:t,onClick:function(){return h(t)}},t)})))},xyt=function(e){var n=e.className,a=e.field,r=e.tags,o=e.maxTag,l=e.maxSelectedTag,s=t.useState({exclude:!1,checked:[]}),c=N(s,2),u=c[0],d=c[1],p=t.useMemo((function(){return!u.exclude&&0===u.checked.length||u.checked.length===o&&!u.exclude}),[u,o]),f=t.useContext(qxt),h=f.fieldsForm,g=f.setFieldsForm;t.useEffect((function(){if(h[a.id]){var t=h[a.id].filter,e=t.value;t.multiple&&(e.tags&&(Array.isArray(e.tags)?d({exclude:!1,checked:JSON.parse(JSON.stringify(e.tags))}):"number"==typeof e.tags?d({exclude:!1,checked:r.slice(0,e.tags)}):"all"===e.tags&&d({exclude:!1,checked:[]})),e.checked&&d(e))}}),[h[a.id]]);return i.default.createElement("div",{className:R(n,"gcs-filter-tag")},i.default.createElement("span",{className:R("gcs-filter-string-tag","tag-all",{"is-active":p}),onClick:function(){return d({exclude:!1,checked:[]})}},"全部"),i.default.createElement(cyt,null,r.slice(0,o).map((function(t){return i.default.createElement("span",{key:t,className:R("gcs-filter-string-tag",{"is-active":u.checked.includes(t)}),onClick:function(){return function(t){if(l&&u.checked.length>=l)Xf.warn("超过最大可选择标签数量!");else{var e=u.checked.includes(t)?{exclude:!1,checked:u.checked.filter((function(e){return e!==t}))}:{exclude:!1,checked:[].concat(Cv(u.checked),[t])};g((function(t){return z(z({},t),fS({},a.id,z(z({},a),{filter:z(z({},a.filter),{value:e})})))}))}}(t)}},t)}))),r.length>o&&i.default.createElement("span",{className:R("gcs-filter-string-tag","tag-other",{"is-active":u.exclude}),onClick:function(){return d((function(t){return{exclude:!t.exclude,checked:[]}}))}},"其他"))},wyt=function(e){var n=e.field,a=e.className,r=e.getDataTableColumnValue,o=t.useContext(qxt).dashboard,l=t.useState([]),s=N(l,2),c=s[0],u=s[1];return t.useEffect((function(){vyt(void 0,void 0,void 0,ru.mark((function t(){var e,a;return ru.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n.filter.source){t.next=2;break}return t.abrupt("return");case 2:if("chart"===(e=o.components[n.filter.source]).type&&"unknown"!==e.chartType){t.next=5;break}return t.abrupt("return");case 5:return t.prev=5,t.next=8,r({field:"".concat(e.data.source.table,".").concat(n.relatedField[n.filter.source]),op:"**",keyword:"",pp:n.filter.maxTag+1,pg:1});case 8:a=t.sent,Array.isArray(a)?u(a):u([]),t.next=16;break;case 12:t.prev=12,t.t0=t.catch(5),console.error(t.t0),u([]);case 16:case"end":return t.stop()}}),t,null,[[5,12]])})))}),[n,n.filter.source]),i.default.createElement(i.default.Fragment,null,n.filter.multiple?i.default.createElement(xyt,{className:a,tags:c,field:n,maxTag:n.filter.maxTag,maxSelectedTag:n.filter.maxSelectedTag}):i.default.createElement(yyt,{className:a,field:n,tags:c,defaultValue:n.filter.defaultValue}))},_yt=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],kyt=["key"],Syt=function(e,n){var a=e.className,r=e.style,o=e.motion,i=e.motionNodes,s=e.motionType,c=e.onMotionStart,u=e.onMotionEnd,d=e.active,p=e.treeNodeRequiredProps,f=Yi(e,_yt),h=ji(l.useState(!0),2),g=h[0],m=h[1],b=l.useContext($w).prefixCls,v=l.useRef(!1),y=function(){v.current||u(),v.current=!0};return t.useEffect((function(){i&&"hide"===s&&g&&m(!1)}),[i]),t.useEffect((function(){return i&&c(),function(){i&&y()}}),[]),i?l.createElement(ms,Pi({ref:n,visible:g},o,{motionAppear:"show"===s,onAppearEnd:y,onLeaveEnd:y}),(function(t,e){var n=t.className,a=t.style;return l.createElement("div",{ref:e,className:R("".concat(b,"-treenode-motion"),n),style:a},i.map((function(t){var e=t.data,n=e.key,a=Yi(e,kyt),r=t.isStart,o=t.isEnd;delete a.children;var i=w_(n,p);return l.createElement(r_,Pi({},a,i,{active:d,data:t.data,key:n,isStart:r,isEnd:o}))})))})):l.createElement(r_,Pi({domRef:n,className:a,style:r},f,{active:d}))};Syt.displayName="MotionTreeNode";var Cyt=l.forwardRef(Syt);function Myt(t,e,n){var a=t.findIndex((function(t){return t.data.key===n})),r=t[a+1],o=e.findIndex((function(t){return t.data.key===n}));if(r){var i=e.findIndex((function(t){return t.data.key===r.data.key}));return e.slice(o+1,i)}return e.slice(o+1)}var Oyt=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],Eyt=["key"],Tyt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Dyt=function(){},Iyt="RC_TREE_MOTION_".concat(Math.random()),Pyt={key:Iyt},Nyt={key:Iyt,level:0,index:0,pos:"0",node:Pyt},Ayt={parent:null,children:[],pos:Nyt.pos,data:Pyt,isStart:[],isEnd:[]};function zyt(t,e,n,a){return!1!==e&&n?t.slice(0,Math.ceil(n/a)+1):t}function Ryt(t){return b_(t.data.key,t.pos)}var Lyt=function(t,e){var n=t.prefixCls,a=t.data;t.selectable,t.checkable;var r=t.expandedKeys,o=t.selectedKeys,i=t.checkedKeys,s=t.loadedKeys,c=t.loadingKeys,u=t.halfCheckedKeys,d=t.keyEntities,p=t.disabled,f=t.dragging,h=t.dragOverNodeKey,g=t.dropPosition,m=t.motion,b=t.height,v=t.itemHeight,y=t.virtual,x=t.focusable,w=t.activeItem,_=t.focused,k=t.tabIndex,S=t.onKeyDown,C=t.onFocus,M=t.onBlur,O=t.onActiveChange,E=t.onListChangeStart,T=t.onListChangeEnd,D=Yi(t,Oyt),I=l.useRef(null),P=l.useRef(null);l.useImperativeHandle(e,(function(){return{scrollTo:function(t){I.current.scrollTo(t)},getIndentWidth:function(){return P.current.offsetWidth}}}));var N=ji(l.useState(r),2),A=N[0],z=N[1],R=ji(l.useState(a),2),L=R[0],j=R[1],F=ji(l.useState(a),2),B=F[0],V=F[1],Y=ji(l.useState([]),2),H=Y[0],W=Y[1],U=ji(l.useState(null),2),G=U[0],K=U[1];function q(){j(a),V(a),W([]),K(null),T()}l.useEffect((function(){z(r);var t=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=t.length,a=e.length;if(1!==Math.abs(n-a))return{add:!1,key:null};function r(t,e){var n=new Map;t.forEach((function(t){n.set(t,!0)}));var a=e.filter((function(t){return!n.has(t)}));return 1===a.length?a[0]:null}return n<a?{add:!0,key:r(t,e)}:{add:!1,key:r(e,t)}}(A,r);if(null!==t.key)if(t.add){var e=L.findIndex((function(e){return e.data.key===t.key})),n=zyt(Myt(L,a,t.key),y,b,v),o=L.slice();o.splice(e+1,0,Ayt),V(o),W(n),K("show")}else{var i=a.findIndex((function(e){return e.data.key===t.key})),l=zyt(Myt(a,L,t.key),y,b,v),s=a.slice();s.splice(i+1,0,Ayt),V(s),W(l),K("hide")}else L!==a&&(j(a),V(a))}),[r,a]),l.useEffect((function(){f||q()}),[f]);var X=m?B:a,Z={expandedKeys:r,selectedKeys:o,loadedKeys:s,loadingKeys:c,checkedKeys:i,halfCheckedKeys:u,dragOverNodeKey:h,dropPosition:g,keyEntities:d};return l.createElement(l.Fragment,null,_&&w&&l.createElement("span",{style:Tyt,"aria-live":"assertive"},function(t){for(var e=String(t.data.key),n=t;n.parent;)n=n.parent,e="".concat(n.data.key," > ").concat(e);return e}(w)),l.createElement("div",{role:"tree"},l.createElement("input",{style:Tyt,disabled:!1===x||p,tabIndex:!1!==x?k:null,onKeyDown:S,onFocus:C,onBlur:M,value:"",onChange:Dyt})),l.createElement("div",{className:"".concat(n,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden"}},l.createElement("div",{className:"".concat(n,"-indent")},l.createElement("div",{ref:P,className:"".concat(n,"-indent-unit")}))),l.createElement(qx,Pi({},D,{data:X,itemKey:Ryt,height:b,fullHeight:!1,virtual:y,itemHeight:v,prefixCls:"".concat(n,"-list"),ref:I}),(function(t){var e=t.pos,n=t.data,a=n.key,r=Yi(n,Eyt),o=t.isStart,i=t.isEnd,s=b_(a,e);delete r.children;var c=w_(s,Z);return l.createElement(Cyt,Pi({},r,c,{active:!!w&&a===w.data.key,pos:e,data:t.data,isStart:o,isEnd:i,motion:m,motionNodes:a===Iyt?H:null,motionType:G,onMotionStart:E,onMotionEnd:q,treeNodeRequiredProps:Z,onMouseMove:function(){O(null)}}))})))},jyt=l.forwardRef(Lyt);jyt.displayName="NodeList";var Fyt=function(t){qi(n,t);var e=Qi(n);function n(){var t;Hi(this,n);for(var a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))).destroyed=!1,t.delayedDragEnterLogic=void 0,t.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],dragging:!1,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null},t.dragStartMousePosition=null,t.dragNode=void 0,t.listRef=l.createRef(),t.onNodeDragStart=function(e,n){var a=t.state,r=a.expandedKeys,o=a.keyEntities,i=t.props.onDragStart,l=n.props.eventKey;t.dragNode=n,t.dragStartMousePosition={x:e.clientX,y:e.clientY};var s=o_(r,l);t.setState({dragging:!0,dragChildrenKeys:c_(l,o),indent:t.listRef.current.getIndentWidth()}),t.setExpandedKeys(s),window.addEventListener("dragend",t.onWindowDragEnd),i&&i({event:e,node:__(n.props)})},t.onNodeDragEnter=function(e,n){var a=t.state,r=a.expandedKeys,o=a.keyEntities,i=a.dragChildrenKeys,l=a.flattenNodes,s=a.indent,c=t.props,u=c.onDragEnter,d=c.onExpand,p=c.allowDrop,f=c.direction,h=n.props.pos,g=Gi(t).dragNode,m=d_(e,0,n,s,t.dragStartMousePosition,p,l,o,r,f),b=m.dropPosition,v=m.dropLevelOffset,y=m.dropTargetKey,x=m.dropContainerKey,w=m.dropTargetPos,_=m.dropAllowed,k=m.dragOverNodeKey;g&&-1===i.indexOf(y)&&_?(t.delayedDragEnterLogic||(t.delayedDragEnterLogic={}),Object.keys(t.delayedDragEnterLogic).forEach((function(e){clearTimeout(t.delayedDragEnterLogic[e])})),g.props.eventKey!==n.props.eventKey&&(e.persist(),t.delayedDragEnterLogic[h]=window.setTimeout((function(){if(t.state.dragging){var a=Nu(r),i=o[n.props.eventKey];i&&(i.children||[]).length&&(a=i_(r,n.props.eventKey)),"expandedKeys"in t.props||t.setExpandedKeys(a),d&&d(a,{node:__(n.props),expanded:!0,nativeEvent:e.nativeEvent})}}),800)),g.props.eventKey!==y||0!==v?(t.setState({dragOverNodeKey:k,dropPosition:b,dropLevelOffset:v,dropTargetKey:y,dropContainerKey:x,dropTargetPos:w,dropAllowed:_}),u&&u({event:e,node:__(n.props),expandedKeys:r})):t.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})):t.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})},t.onNodeDragOver=function(e,n){var a=t.state,r=a.dragChildrenKeys,o=a.flattenNodes,i=a.keyEntities,l=a.expandedKeys,s=a.indent,c=t.props,u=c.onDragOver,d=c.allowDrop,p=c.direction,f=Gi(t).dragNode,h=d_(e,0,n,s,t.dragStartMousePosition,d,o,i,l,p),g=h.dropPosition,m=h.dropLevelOffset,b=h.dropTargetKey,v=h.dropContainerKey,y=h.dropAllowed,x=h.dropTargetPos,w=h.dragOverNodeKey;f&&-1===r.indexOf(b)&&y&&(f.props.eventKey===b&&0===m?null===t.state.dropPosition&&null===t.state.dropLevelOffset&&null===t.state.dropTargetKey&&null===t.state.dropContainerKey&&null===t.state.dropTargetPos&&!1===t.state.dropAllowed&&null===t.state.dragOverNodeKey||t.setState({dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1,dragOverNodeKey:null}):g===t.state.dropPosition&&m===t.state.dropLevelOffset&&b===t.state.dropTargetKey&&v===t.state.dropContainerKey&&x===t.state.dropTargetPos&&y===t.state.dropAllowed&&w===t.state.dragOverNodeKey||t.setState({dropPosition:g,dropLevelOffset:m,dropTargetKey:b,dropContainerKey:v,dropTargetPos:x,dropAllowed:y,dragOverNodeKey:w}),u&&u({event:e,node:__(n.props)}))},t.onNodeDragLeave=function(e,n){var a=t.props.onDragLeave;a&&a({event:e,node:__(n.props)})},t.onWindowDragEnd=function(e){t.onNodeDragEnd(e,null,!0),window.removeEventListener("dragend",t.onWindowDragEnd)},t.onNodeDragEnd=function(e,n){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t.props.onDragEnd;t.setState({dragOverNodeKey:null}),t.cleanDragState(),r&&!a&&r({event:e,node:__(n.props)}),t.dragNode=null},t.onNodeDrop=function(e,n){var a,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=t.state,i=o.dragChildrenKeys,l=o.dropPosition,s=o.dropTargetKey,c=o.dropTargetPos,u=o.dropAllowed;if(u){var d=t.props.onDrop;if(t.setState({dragOverNodeKey:null}),t.cleanDragState(),null!==s){var p=Vi(Vi({},w_(s,t.getTreeNodeRequiredProps())),{},{active:(null===(a=t.getActiveItem())||void 0===a?void 0:a.data.key)===s,data:t.state.keyEntities[s].node}),f=-1!==i.indexOf(s);Fu(!f,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var h=l_(c),g={event:e,node:__(p),dragNode:t.dragNode?__(t.dragNode.props):null,dragNodesKeys:[t.dragNode.props.eventKey].concat(i),dropToGap:0!==l,dropPosition:l+Number(h[h.length-1])};d&&!r&&d(g),t.dragNode=null}}},t.cleanDragState=function(){t.state.dragging&&t.setState({dragging:!1,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),t.dragStartMousePosition=null},t.onNodeClick=function(e,n){var a=t.props.onClick;a&&a(e,n)},t.onNodeDoubleClick=function(e,n){var a=t.props.onDoubleClick;a&&a(e,n)},t.onNodeSelect=function(e,n){var a=t.state.selectedKeys,r=t.state.keyEntities,o=t.props,i=o.onSelect,l=o.multiple,s=n.selected,c=n.key,u=!s,d=(a=u?l?i_(a,c):[c]:o_(a,c)).map((function(t){var e=r[t];return e?e.node:null})).filter((function(t){return t}));t.setUncontrolledState({selectedKeys:a}),i&&i(a,{event:"select",selected:u,node:n,selectedNodes:d,nativeEvent:e.nativeEvent})},t.onNodeCheck=function(e,n,a){var r,o=t.state,i=o.keyEntities,l=o.checkedKeys,s=o.halfCheckedKeys,c=t.props,u=c.checkStrictly,d=c.onCheck,p=n.key,f={event:"check",node:n,checked:a,nativeEvent:e.nativeEvent};if(u){var h=a?i_(l,p):o_(l,p);r={checked:h,halfChecked:o_(s,p)},f.checkedNodes=h.map((function(t){return i[t]})).filter((function(t){return t})).map((function(t){return t.node})),t.setUncontrolledState({checkedKeys:h})}else{var g=C_([].concat(Nu(l),[p]),!0,i),m=g.checkedKeys,b=g.halfCheckedKeys;if(!a){var v=new Set(m);v.delete(p);var y=C_(Array.from(v),{checked:!1,halfCheckedKeys:b},i);m=y.checkedKeys,b=y.halfCheckedKeys}r=m,f.checkedNodes=[],f.checkedNodesPositions=[],f.halfCheckedKeys=b,m.forEach((function(t){var e=i[t];if(e){var n=e.node,a=e.pos;f.checkedNodes.push(n),f.checkedNodesPositions.push({node:n,pos:a})}})),t.setUncontrolledState({checkedKeys:m},!1,{halfCheckedKeys:b})}d&&d(r,f)},t.onNodeLoad=function(e){return new Promise((function(n,a){t.setState((function(r){var o=r.loadedKeys,i=void 0===o?[]:o,l=r.loadingKeys,s=void 0===l?[]:l,c=t.props,u=c.loadData,d=c.onLoad,p=e.key;return u&&-1===i.indexOf(p)&&-1===s.indexOf(p)?(u(e).then((function(){var a=t.state,r=a.loadedKeys,o=a.loadingKeys,i=i_(r,p),l=o_(o,p);d&&d(i,{event:"load",node:e}),t.setUncontrolledState({loadedKeys:i}),t.setState({loadingKeys:l}),n()})).catch((function(e){var n=o_(t.state.loadingKeys,p);t.setState({loadingKeys:n}),a(e)})),{loadingKeys:i_(s,p)}):null}))}))},t.onNodeMouseEnter=function(e,n){var a=t.props.onMouseEnter;a&&a({event:e,node:n})},t.onNodeMouseLeave=function(e,n){var a=t.props.onMouseLeave;a&&a({event:e,node:n})},t.onNodeContextMenu=function(e,n){var a=t.props.onRightClick;a&&(e.preventDefault(),a({event:e,node:n}))},t.onFocus=function(){var e=t.props.onFocus;t.setState({focused:!0}),e&&e.apply(void 0,arguments)},t.onBlur=function(){var e=t.props.onBlur;t.setState({focused:!1}),t.onActiveChange(null),e&&e.apply(void 0,arguments)},t.getTreeNodeRequiredProps=function(){var e=t.state;return{expandedKeys:e.expandedKeys||[],selectedKeys:e.selectedKeys||[],loadedKeys:e.loadedKeys||[],loadingKeys:e.loadingKeys||[],checkedKeys:e.checkedKeys||[],halfCheckedKeys:e.halfCheckedKeys||[],dragOverNodeKey:e.dragOverNodeKey,dropPosition:e.dropPosition,keyEntities:e.keyEntities}},t.setExpandedKeys=function(e){var n=v_(t.state.treeData,e);t.setUncontrolledState({expandedKeys:e,flattenNodes:n},!0)},t.onNodeExpand=function(e,n){var a=t.state.expandedKeys,r=t.state.listChanging,o=t.props,i=o.onExpand,l=o.loadData,s=n.key,c=n.expanded;if(!r){var u=a.indexOf(s),d=!c;if(Fu(c&&-1!==u||!c&&-1===u,"Expand state not sync with index check"),a=d?i_(a,s):o_(a,s),t.setExpandedKeys(a),i&&i(a,{node:n,expanded:d,nativeEvent:e.nativeEvent}),d&&l){var p=t.onNodeLoad(n);p&&p.then((function(){var e=v_(t.state.treeData,a);t.setUncontrolledState({flattenNodes:e})})).catch((function(){var e=o_(t.state.expandedKeys,s);t.setExpandedKeys(e)}))}}},t.onListChangeStart=function(){t.setUncontrolledState({listChanging:!0})},t.onListChangeEnd=function(){setTimeout((function(){t.setUncontrolledState({listChanging:!1})}))},t.onActiveChange=function(e){var n=t.state.activeKey,a=t.props.onActiveChange;n!==e&&(t.setState({activeKey:e}),null!==e&&t.scrollTo({key:e}),a&&a(e))},t.getActiveItem=function(){var e=t.state,n=e.activeKey,a=e.flattenNodes;return null===n?null:a.find((function(t){return t.data.key===n}))||null},t.offsetActiveKey=function(e){var n=t.state,a=n.flattenNodes,r=n.activeKey,o=a.findIndex((function(t){return t.data.key===r}));-1===o&&e<0&&(o=a.length);var i=a[o=(o+e+a.length)%a.length];if(i){var l=i.data.key;t.onActiveChange(l)}else t.onActiveChange(null)},t.onKeyDown=function(e){var n=t.state,a=n.activeKey,r=n.expandedKeys,o=n.checkedKeys,i=t.props,l=i.onKeyDown,s=i.checkable,c=i.selectable;switch(e.which){case Ag.UP:t.offsetActiveKey(-1),e.preventDefault();break;case Ag.DOWN:t.offsetActiveKey(1),e.preventDefault()}var u=t.getActiveItem();if(u&&u.data){var d=t.getTreeNodeRequiredProps(),p=!1===u.data.isLeaf||!!(u.data.children||[]).length,f=__(Vi(Vi({},w_(a,d)),{},{data:u.data,active:!0}));switch(e.which){case Ag.LEFT:p&&r.includes(a)?t.onNodeExpand({},f):u.parent&&t.onActiveChange(u.parent.data.key),e.preventDefault();break;case Ag.RIGHT:p&&!r.includes(a)?t.onNodeExpand({},f):u.children&&u.children.length&&t.onActiveChange(u.children[0].data.key),e.preventDefault();break;case Ag.ENTER:case Ag.SPACE:!s||f.disabled||!1===f.checkable||f.disableCheckbox?s||!c||f.disabled||!1===f.selectable||t.onNodeSelect({},f):t.onNodeCheck({},f,!o.includes(a))}}l&&l(e)},t.setUncontrolledState=function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!t.destroyed){var r=!1,o=!0,i={};Object.keys(e).forEach((function(n){n in t.props?o=!1:(r=!0,i[n]=e[n])})),!r||n&&!o||t.setState(Vi(Vi({},i),a))}},t.scrollTo=function(e){t.listRef.current.scrollTo(e)},t}return Ui(n,[{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"render",value:function(){var t,e=this.state,n=e.focused,a=e.flattenNodes,r=e.keyEntities,o=e.dragging,i=e.activeKey,s=e.dropLevelOffset,c=e.dropContainerKey,u=e.dropTargetKey,d=e.dropPosition,p=e.dragOverNodeKey,f=e.indent,h=this.props,g=h.prefixCls,m=h.className,b=h.style,v=h.showLine,y=h.focusable,x=h.tabIndex,w=void 0===x?0:x,_=h.selectable,k=h.showIcon,S=h.icon,C=h.switcherIcon,M=h.draggable,O=h.checkable,E=h.checkStrictly,T=h.disabled,D=h.motion,I=h.loadData,P=h.filterTreeNode,N=h.height,A=h.itemHeight,z=h.virtual,L=h.titleRender,j=h.dropIndicatorRender,F=h.onContextMenu,B=h.direction,V=g_(this.props);return l.createElement($w.Provider,{value:{prefixCls:g,selectable:_,showIcon:k,icon:S,switcherIcon:C,draggable:M,checkable:O,checkStrictly:E,disabled:T,keyEntities:r,dropLevelOffset:s,dropContainerKey:c,dropTargetKey:u,dropPosition:d,dragOverNodeKey:p,indent:f,direction:B,dropIndicatorRender:j,loadData:I,filterTreeNode:P,titleRender:L,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},l.createElement("div",{className:R(g,m,(t={},Ni(t,"".concat(g,"-show-line"),v),Ni(t,"".concat(g,"-focused"),n),Ni(t,"".concat(g,"-active-focused"),null!==i),t))},l.createElement(jyt,Pi({ref:this.listRef,prefixCls:g,style:b,data:a,disabled:T,selectable:_,checkable:!!O,motion:D,dragging:o,height:N,itemHeight:A,virtual:z,focusable:y,focused:n,tabIndex:w,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:F},this.getTreeNodeRequiredProps(),V))))}}],[{key:"getDerivedStateFromProps",value:function(t,e){var n,a=e.prevProps,r={prevProps:t};function o(e){return!a&&e in t||a&&a[e]!==t[e]}if(o("treeData")?n=t.treeData:o("children")&&(Fu(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),n=function t(e){return Au(e).map((function(e){if(!function(t){return t&&t.type&&t.type.isTreeNode}(e))return Fu(!e,"Tree/TreeNode can only accept TreeNode as children."),null;var n=e.key,a=e.props,r=a.children,o=Vi({key:n},Yi(a,m_)),i=t(r);return i.length&&(o.children=i),o})).filter((function(t){return t}))}(t.children)),n){r.treeData=n;var i=x_(n);r.keyEntities=Vi(Ni({},Iyt,Nyt),i.keyEntities)}var l,s=r.keyEntities||e.keyEntities;if(o("expandedKeys")||a&&o("autoExpandParent"))r.expandedKeys=t.autoExpandParent||!a&&t.defaultExpandParent?h_(t.expandedKeys,s):t.expandedKeys;else if(!a&&t.defaultExpandAll){var c=Vi({},s);delete c[Iyt],r.expandedKeys=Object.keys(c).map((function(t){return c[t].key}))}else!a&&t.defaultExpandedKeys&&(r.expandedKeys=t.autoExpandParent||t.defaultExpandParent?h_(t.defaultExpandedKeys,s):t.defaultExpandedKeys);if(r.expandedKeys||delete r.expandedKeys,n||r.expandedKeys){var u=v_(n||e.treeData,r.expandedKeys||e.expandedKeys);r.flattenNodes=u}if((t.selectable&&(o("selectedKeys")?r.selectedKeys=p_(t.selectedKeys,t):!a&&t.defaultSelectedKeys&&(r.selectedKeys=p_(t.defaultSelectedKeys,t))),t.checkable)&&(o("checkedKeys")?l=f_(t.checkedKeys)||{}:!a&&t.defaultCheckedKeys?l=f_(t.defaultCheckedKeys)||{}:n&&(l=f_(t.checkedKeys)||{checkedKeys:e.checkedKeys,halfCheckedKeys:e.halfCheckedKeys}),l)){var d=l,p=d.checkedKeys,f=void 0===p?[]:p,h=d.halfCheckedKeys,g=void 0===h?[]:h;if(!t.checkStrictly){var m=C_(f,!0,s);f=m.checkedKeys,g=m.halfCheckedKeys}r.checkedKeys=f,r.halfCheckedKeys=g}return o("loadedKeys")&&(r.loadedKeys=t.loadedKeys),r}}]),n}(l.Component);Fyt.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:function(t){var e=t.dropPosition,n=t.dropLevelOffset,a=t.indent,r={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(e){case-1:r.top=0,r.left=-n*a;break;case 1:r.bottom=0,r.left=-n*a;break;case 0:r.bottom=0,r.left=a}return l.createElement("div",{style:r})},allowDrop:function(){return!0}},Fyt.TreeNode=r_;var Byt=l.createContext(null);function Vyt(t,e){if(!t)return!0;var n=t.data,a=n.disabled,r=n.disableCheckbox;switch(e){case"select":return a;case"checkbox":return a||r}return!1}function Yyt(t,e){var n=l.useCallback((function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"select",a=arguments.length>2?arguments[2]:void 0,r=t.get(e);return!a&&Vyt(r,n)?null:r}),[t]),a=l.useCallback((function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"select",a=arguments.length>2?arguments[2]:void 0,r=e.get(t);return!a&&Vyt(r,n)?null:r}),[e]);return[n,a]}function Hyt(t){return l.useMemo((function(){var e=new Map,n=new Map;return t.forEach((function(t){e.set(t.key,t),n.set(t.data.value,t)})),[e,n]}),[t])}var Wyt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Uyt=function(t,e){var n=t.prefixCls,a=t.height,r=t.itemHeight,o=t.virtual,i=t.options,s=t.flattenOptions,c=t.multiple,u=t.searchValue,d=t.onSelect,p=t.onToggleOpen,f=t.open,h=t.notFoundContent,g=t.onMouseEnter,m=l.useContext(Byt),b=m.checkable,v=m.checkedKeys,y=m.halfCheckedKeys,x=m.treeExpandedKeys,w=m.treeDefaultExpandAll,_=m.treeDefaultExpandedKeys,k=m.onTreeExpand,S=m.treeIcon,C=m.showTreeIcon,M=m.switcherIcon,O=m.treeLine,E=m.treeNodeFilterProp,T=m.loadData,D=m.treeLoadedKeys,I=m.treeMotion,P=m.onTreeLoad,N=l.useRef(),A=$d((function(){return i}),[f,i],(function(t,e){return e[0]&&t[1]!==e[1]})),z=ji(Hyt(s),2),R=ji(Yyt(z[0],z[1]),2),L=R[0],j=R[1],F=l.useMemo((function(){return v.map((function(t){var e=j(t);return e?e.key:null}))}),[v,j]),B=l.useMemo((function(){return b?{checked:F,halfChecked:y}:null}),[F,y,b]);l.useEffect((function(){var t;f&&!c&&F.length&&(null===(t=N.current)||void 0===t||t.scrollTo({key:F[0]}))}),[f]);var V=String(u).toLowerCase(),Y=ji(l.useState(_),2),H=Y[0],W=Y[1],U=ji(l.useState(null),2),G=U[0],K=U[1],q=l.useMemo((function(){return x?Nu(x):u?G:H}),[H,G,V,x]);l.useEffect((function(){u&&K(s.map((function(t){return t.key})))}),[u]);var X=function(t){t.preventDefault()},Z=function(t,e){var n=e.node.key,a=L(n,b?"checkbox":"select");null!==a&&d(a.data.value,{selected:!v.includes(a.data.value)}),c||p(!1)},J=ji(l.useState(null),2),$=J[0],Q=J[1],tt=L($);if(l.useImperativeHandle(e,(function(){var t;return{scrollTo:null===(t=N.current)||void 0===t?void 0:t.scrollTo,onKeyDown:function(t){var e;switch(t.which){case Ag.UP:case Ag.DOWN:case Ag.LEFT:case Ag.RIGHT:null===(e=N.current)||void 0===e||e.onKeyDown(t);break;case Ag.ENTER:var n=(null==tt?void 0:tt.data)||{},a=n.selectable,r=n.value;!1!==a&&Z(0,{node:{key:$},selected:!v.includes(r)});break;case Ag.ESC:p(!1)}},onKeyUp:function(){}}})),0===A.length)return l.createElement("div",{role:"listbox",className:"".concat(n,"-empty"),onMouseDown:X},h);var et={};return D&&(et.loadedKeys=D),q&&(et.expandedKeys=q),l.createElement("div",{onMouseDown:X,onMouseEnter:g},tt&&f&&l.createElement("span",{style:Wyt,"aria-live":"assertive"},tt.data.value),l.createElement(Fyt,Pi({ref:N,focusable:!1,prefixCls:"".concat(n,"-tree"),treeData:A,height:a,itemHeight:r,virtual:o,multiple:c,icon:S,showIcon:C,switcherIcon:M,showLine:O,loadData:u?null:T,motion:I,checkable:b,checkStrictly:!0,checkedKeys:B,selectedKeys:b?[]:F,defaultExpandAll:w},et,{onActiveChange:Q,onSelect:Z,onCheck:Z,onExpand:function(t){W(t),K(t),k&&k(t)},onLoad:P,filterTreeNode:function(t){return!!V&&String(t[E]).toLowerCase().includes(V)}})))},Gyt=l.forwardRef(Uyt);Gyt.displayName="OptionList";var Kyt=function(){return null};function qyt(t){return Au(t).map((function(t){if(!l.isValidElement(t)||!t.type)return null;var e=t.key,n=t.props,a=n.children,r=Vi({key:e,value:n.value},Yi(n,["children","value"])),o=qyt(a);return o.length&&(r.children=o),r})).filter((function(t){return t}))}function Xyt(t){if(!t)return t;var e=Vi({},t);return"props"in e||Object.defineProperty(e,"props",{get:function(){return Fu(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),e}}),e}function Zyt(t){return Array.isArray(t)?t:void 0!==t?[t]:[]}function Jyt(t,e){var n=new Map;return e.forEach((function(t){var e=t.data;n.set(e.value,e)})),t.map((function(t){return Xyt(n.get(t))}))}function $yt(t){return t.disabled||t.disableCheckbox||!1===t.checkable}function Qyt(t){for(var e=0,n=t.parent;n;)n=n.parent,e+=1;return e}function txt(t){var e=v_(function t(e){return(e||[]).map((function(e){var n=e.value,a=e.key,r=e.children,o=Vi(Vi({},e),{},{key:"key"in e?a:n});return r&&(o.children=t(r)),o}))}(t),!0);return e.map((function(t){return{key:t.data.key,data:t.data,level:Qyt(t)}}))}function ext(t,e,n,a){var r=new Map;return Zyt(e).forEach((function(t){t&&"object"===Fi(t)&&"value"in t&&r.set(t.value,t)})),t.map((function(t){var e={value:t},o=n(t,"select",!0),i=o?a(o.data):t;if(r.has(t)){var l=r.get(t);e.label="label"in l?l.label:i,"halfChecked"in l&&(e.halfChecked=l.halfChecked)}else e.label=i;return e}))}function nxt(t,e){return function t(n){return(n||[]).map((function(n){var a=n.key,r=n.value,o=n.children,i="value"in n?r:a,l=Vi(Vi({},Yi(n,["key","value","children"])),{},{key:null!=a?a:i,value:i,title:e(n)});return"children"in n&&(l.children=t(o)),l}))}(t)}function axt(t,e,n){var a=n.getLabelProp,r=n.simpleMode,o=l.useRef({});return t?(o.current.formatTreeData=o.current.treeData===t?o.current.formatTreeData:nxt(r?function(t,e){var n=e.id,a=e.pId,r=e.rootPId,o={},i=[],l=t.map((function(t){var e=Vi({},t),a=e[n];return o[a]=e,e.key=e.key||a,e}));return l.forEach((function(t){var e=t[a],n=o[e];n&&(n.children=n.children||[],n.children.push(t)),(e===r||!n&&null===r)&&i.push(t)})),i}(t,Vi({id:"id",pId:"pId",rootPId:null},!0!==r?r:{})):t,a),o.current.treeData=t):o.current.formatTreeData=o.current.children===e?o.current.formatTreeData:nxt(qyt(e),a),o.current.formatTreeData}var rxt="SHOW_ALL",oxt="SHOW_PARENT",ixt="SHOW_CHILD";function lxt(t,e,n){var a=new Set(t);return e===ixt?t.filter((function(t){var e=n[t];return!(e&&e.children&&e.children.every((function(t){var e=t.node;return $yt(e)||a.has(e.key)})))})):e===oxt?t.filter((function(t){var e=n[t],r=e?e.parent:null;return!(r&&!$yt(r.node)&&a.has(r.node.key))})):t}var sxt=["expandedKeys","treeData","treeCheckable","showCheckedStrategy","searchPlaceholder","treeLine","treeIcon","showTreeIcon","switcherIcon","treeNodeFilterProp","filterTreeNode","dropdownPopupAlign","treeDefaultExpandAll","treeCheckStrictly","treeExpandedKeys","treeLoadedKeys","treeMotion","onTreeExpand","onTreeLoad","loadData","treeDataSimpleMode","treeNodeLabelProp","treeDefaultExpandedKeys"],cxt=Sw({prefixCls:"rc-tree-select",components:{optionList:Gyt},convertChildrenToData:function(){return null},flattenOptions:txt,getLabeledValue:cw,filterOptions:function(t,e,n){var a,r=n.optionFilterProp,o=n.filterOption;return!1===o?e:(a="function"==typeof o?o:function(t){return function(e,n){var a=n[t];return String(a).toLowerCase().includes(String(e).toLowerCase())}}(r),function e(n){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n.map((function(n){var o=n.children,i=r||a(t,Xyt(n)),l=e(o||[],i);return i||l.length?Vi(Vi({},n),{},{children:l}):null})).filter((function(t){return t}))}(e))},isValueDisabled:function(t,e){var n=Jyt([t],e)[0];return!!n&&n.disabled},findValueOption:Jyt,omitDOMProps:function(t){var e=Vi({},t);return sxt.forEach((function(t){delete e[t]})),e}});cxt.displayName="Select";var uxt=l.forwardRef((function(e,n){var a=e.multiple,r=e.treeCheckable,o=e.treeCheckStrictly,i=e.showCheckedStrategy,s=void 0===i?"SHOW_CHILD":i,c=e.labelInValue,u=e.loadData,d=e.treeLoadedKeys,p=e.treeNodeFilterProp,f=void 0===p?"value":p,h=e.treeNodeLabelProp,g=e.treeDataSimpleMode,m=e.treeData,b=e.treeExpandedKeys,v=e.treeDefaultExpandedKeys,y=e.treeDefaultExpandAll,x=e.children,w=e.treeIcon,_=e.showTreeIcon,k=e.switcherIcon,S=e.treeLine,C=e.treeMotion,M=e.filterTreeNode,O=e.dropdownPopupAlign,E=e.onChange,T=e.onTreeExpand,D=e.onTreeLoad,I=e.onDropdownVisibleChange,P=e.onSelect,N=e.onDeselect,A=r||o,z=a||A,R=r&&!o,L=o||c,j=l.useRef(null);l.useImperativeHandle(n,(function(){return{scrollTo:j.current.scrollTo,focus:j.current.focus,blur:j.current.blur}}));var F=function(t){return m&&t.label||t.title},B=function(t){return h?t[h]:F(t)},V=axt(m,x,{getLabelProp:F,simpleMode:g}),Y=ji(Hyt(t.useMemo((function(){return txt(V)}),[V])),2),H=ji(Yyt(Y[0],Y[1]),2),W=H[0],U=H[1],G=t.useMemo((function(){return R?x_(V):{keyEntities:null}}),[V,r,o]).keyEntities,K=ji(Su(e.defaultValue,{value:e.value}),2),q=K[0],X=K[1],Z=function(t){var e=[],n=[];return t.forEach((function(t){U(t)?n.push(t):e.push(t)})),{missingRawValues:e,existRawValues:n}},J=t.useMemo((function(){var t=[],e=[];if(Zyt(q).forEach((function(n){if(n&&"object"===Fi(n)&&"value"in n)if(n.halfChecked&&o){var a=U(n.value);t.push(a?a.key:n.value)}else e.push(n.value);else e.push(n)})),R){var n=Z(e),a=n.missingRawValues,r=C_(n.existRawValues.map((function(t){return U(t).key})),!0,G),i=r.checkedKeys,l=r.halfCheckedKeys;return[[].concat(Nu(a),Nu(i.map((function(t){return W(t).data.value})))),l]}return[e,t]}),[q,z,L,r,o]),$=ji(J,2),Q=$[0],tt=$[1],et=function(t,e){var n=e.value,a=e.getEntityByValue,r=e.getEntityByKey,o=e.treeConduction,i=e.showCheckedStrategy,s=e.conductKeyEntities,c=e.getLabelProp;return l.useMemo((function(){var e=t;return o&&(e=lxt(t.map((function(t){var e=a(t);return e?e.key:t})),i,s).map((function(t){var e=r(t);return e?e.data.value:t}))),ext(e,n,a,c)}),[t,n,o,i,a])}(Q,{treeConduction:R,value:q,showCheckedStrategy:s,conductKeyEntities:G,getEntityByValue:U,getEntityByKey:W,getLabelProp:B}),nt=function(t,e,n){if(X(z?t:t[0]),E){var a=t;if(R&&"SHOW_ALL"!==s){var r=lxt(t.map((function(t){var e=U(t);return e?e.key:t})),s,G);a=r.map((function(t){var e=W(t);return e?e.data.value:t}))}var i=e||{triggerValue:void 0,selected:void 0},c=i.triggerValue,u=i.selected,d=L?ext(a,q,U,B):a;if(o){var p=tt.map((function(t){var e=W(t);return e?e.data.value:t})).filter((function(t){return!a.includes(t)}));d=[].concat(Nu(d),Nu(ext(p,q,U,B)))}var f={preValue:et,triggerValue:c},h=!0;(o||"selection"===n&&!u)&&(h=!1),function(t,e,n,a,r){var o=null,i=null;function s(){i||(i=[],function t(a){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0",s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return a.map((function(a,c){var u="".concat(r,"-").concat(c),d=n.includes(a.value),p=t(a.children||[],u,d),f=l.createElement(Kyt,a,p.map((function(t){return t.node})));if(e===a.value&&(o=f),d){var h={pos:u,node:f,children:p};return s||i.push(h),h}return null})).filter((function(t){return t}))}(a),i.sort((function(t,e){var a=t.node.props.value,r=e.node.props.value;return n.indexOf(a)-n.indexOf(r)})))}Object.defineProperty(t,"triggerNode",{get:function(){return Fu(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),s(),o}}),Object.defineProperty(t,"allCheckedNodes",{get:function(){return Fu(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),s(),r?i:i.map((function(t){return t.node}))}})}(f,c,t,V,h),A?f.checked=u:f.selected=u,E(z?d:d[0],L?null:a.map((function(t){var e=U(t);return e?B(e.data):null})),f)}},at=l.useCallback((function(t){if(I){var e={};Object.defineProperty(e,"documentClickClose",{get:function(){return Fu(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),I(t,e)}}),[I]),rt={optionLabelProp:null,optionFilterProp:f,dropdownAlign:O,internalProps:{mark:_w,onClear:function(){nt([],null,"clear")},skipTriggerChange:!0,skipTriggerSelect:!0,onRawSelect:function(t,e,n){var a=t;if(z){var r=function(t,e){var n=new Set(t);return n.add(e),Array.from(n)}(Q,t);if(R){var o=Z(r),i=o.missingRawValues,l=C_(o.existRawValues.map((function(t){return U(t).key})),!0,G).checkedKeys;r=[].concat(Nu(i),Nu(l.map((function(t){return W(t).data.value}))))}nt(r,{selected:!0,triggerValue:t},n)}else nt([t],{selected:!0,triggerValue:t},n);P&&P(a,e)},onRawDeselect:function(t,e,n){var a=t,r=function(t,e){var n=new Set(t);return n.delete(e),Array.from(n)}(Q,t);if(R){var o=Z(r),i=o.missingRawValues,l=C_(o.existRawValues.map((function(t){return U(t).key})),{checked:!1,halfCheckedKeys:tt},G).checkedKeys;r=[].concat(Nu(i),Nu(l.map((function(t){return W(t).data.value}))))}nt(r,{selected:!1,triggerValue:t},n),N&&N(a,e)}}};return"filterTreeNode"in e&&(rt.filterOption=M),l.createElement(Byt.Provider,{value:{checkable:A,loadData:u,treeLoadedKeys:d,onTreeLoad:D,checkedKeys:Q,halfCheckedKeys:tt,treeDefaultExpandAll:y,treeExpandedKeys:b,treeDefaultExpandedKeys:v,onTreeExpand:T,treeIcon:w,treeMotion:C,showTreeIcon:_,switcherIcon:k,treeLine:S,treeNodeFilterProp:f}},l.createElement(cxt,Pi({ref:j,mode:z?"multiple":null},e,rt,{value:et,labelInValue:!0,options:V,onChange:null,onSelect:null,onDeselect:null,onDropdownVisibleChange:at})))})),dxt=function(t){qi(n,t);var e=Qi(n);function n(){var t;return Hi(this,n),(t=e.apply(this,arguments)).selectRef=l.createRef(),t.focus=function(){t.selectRef.current.focus()},t.blur=function(){t.selectRef.current.blur()},t}return Ui(n,[{key:"render",value:function(){return l.createElement(uxt,Pi({ref:this.selectRef},this.props))}}]),n}(l.Component);dxt.TreeNode=Kyt,dxt.SHOW_ALL=rxt,dxt.SHOW_PARENT=oxt,dxt.SHOW_CHILD=ixt;var pxt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},fxt=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:pxt}))};fxt.displayName="FileOutlined";var hxt=l.forwardRef(fxt),gxt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},mxt=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:gxt}))};mxt.displayName="MinusSquareOutlined";var bxt=l.forwardRef(mxt),vxt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},yxt=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:vxt}))};yxt.displayName="PlusSquareOutlined";var xxt=l.forwardRef(yxt),wxt={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},_xt=function(t,e){return l.createElement(xf,Vi(Vi({},t),{},{ref:e,icon:wxt}))};_xt.displayName="CaretDownFilled";var kxt=l.forwardRef(_xt);var Sxt=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n},Cxt=function(t,e){var n,a=t.prefixCls,r=t.size,o=t.bordered,i=void 0===o||o,s=t.className,c=t.treeCheckable,u=t.multiple,d=t.listHeight,p=void 0===d?256:d,f=t.listItemHeight,h=void 0===f?26:f,g=t.notFoundContent,m=t.switcherIcon,b=t.treeLine,v=t.getPopupContainer,y=t.dropdownClassName,x=t.treeIcon,w=void 0!==x&&x,_=t.transitionName,k=t.choiceTransitionName,S=void 0===k?"":k,C=Sxt(t,["prefixCls","size","bordered","className","treeCheckable","multiple","listHeight","listItemHeight","notFoundContent","switcherIcon","treeLine","getPopupContainer","dropdownClassName","treeIcon","transitionName","choiceTransitionName"]),M=l.useContext(yp),O=M.getPopupContainer,E=M.getPrefixCls,T=M.renderEmpty,D=M.direction,I=M.virtual,P=M.dropdownMatchSelectWidth,N=l.useContext(kp);Qd(!1!==u||!c,"TreeSelect","`multiple` will always be `true` when `treeCheckable` is true");var A,z=E("select",a),L=E("select-tree",a),j=E("tree-select",a),F=R(y,"".concat(j,"-dropdown"),Ni({},"".concat(j,"-dropdown-rtl"),"rtl"===D)),B=!(!c&&!u),V=Nw(Pi(Pi({},C),{multiple:B,prefixCls:z})),Y=V.suffixIcon,H=V.removeIcon,W=V.clearIcon;A=void 0!==g?g:T("Select");var U=ig(C,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),G=r||N,K=R(!a&&j,(Ni(n={},"".concat(z,"-lg"),"large"===G),Ni(n,"".concat(z,"-sm"),"small"===G),Ni(n,"".concat(z,"-rtl"),"rtl"===D),Ni(n,"".concat(z,"-borderless"),!i),n),s),q=E();return l.createElement(dxt,Pi({virtual:I,dropdownMatchSelectWidth:P},U,{ref:e,prefixCls:z,className:K,listHeight:p,listItemHeight:h,treeCheckable:c?l.createElement("span",{className:"".concat(z,"-tree-checkbox-inner")}):c,inputIcon:Y,multiple:u,removeIcon:H,clearIcon:W,switcherIcon:function(t){return function(t,e,n,a){var r,o=a.isLeaf,i=a.expanded;if(a.loading)return l.createElement(_f,{className:"".concat(t,"-switcher-loading-icon")});if(n&&"object"===Fi(n)&&(r=n.showLeafIcon),o)return n?"object"!==Fi(n)||r?l.createElement(hxt,{className:"".concat(t,"-switcher-line-icon")}):l.createElement("span",{className:"".concat(t,"-switcher-leaf-line")}):null;var s="".concat(t,"-switcher-icon");return Tu(e)?Du(e,{className:R(e.props.className||"",s)}):e||(n?i?l.createElement(bxt,{className:"".concat(t,"-switcher-line-icon")}):l.createElement(xxt,{className:"".concat(t,"-switcher-line-icon")}):l.createElement(kxt,{className:s}))}(L,m,b,t)},showTreeIcon:w,notFoundContent:A,getPopupContainer:v||O,treeMotion:null,dropdownClassName:F,choiceTransitionName:Bh(q,"",S),transitionName:Bh(q,"slide-up",_)}))},Mxt=l.forwardRef(Cxt);Mxt.TreeNode=Kyt,Mxt.SHOW_ALL=rxt,Mxt.SHOW_PARENT=oxt,Mxt.SHOW_CHILD=ixt;var Oxt=Mxt,Ext=window&&window.__awaiter||function(t,e,n,a){return new(n||(n=Promise))((function(r,o){function i(t){try{s(a.next(t))}catch(t){o(t)}}function l(t){try{s(a.throw(t))}catch(t){o(t)}}function s(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(i,l)}s((a=a.apply(t,e||[])).next())}))},Txt=function(e){var n=e.field,a=e.className,r=e.getDataTableColumnValue,o=t.useContext(qxt),l=o.fieldsForm,s=o.setFieldsForm,c=o.dashboard,u=t.useState(n.filter.defaultValue),d=N(u,2),p=d[0],f=d[1];t.useEffect((function(){if(l[n.id]){var t=l[n.id].filter.value;f(t)}}),[l[n.id]]);var h=t.useCallback((function(t){s((function(e){return z(z({},e),fS({},n.id,z(z({},e[n.id]),{filter:z(z({},e[n.id].filter),{value:t})})))}))}),[n.id]),g=t.useState([]),m=N(g,2),b=m[0],v=m[1],y=t.useCallback((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.id,a=t.keyword,o=void 0===a?"":a,i=t.deep;return Ext(void 0,void 0,void 0,ru.mark((function t(){var a,l,s;return ru.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("chart"===(a=c.components[n.filter.source]).type&&"unknown"!==a.chartType){t.next=3;break}return t.abrupt("return",[]);case 3:return l={field:"".concat(a.data.source.table,".").concat(n.relatedField[n.filter.source]),op:"**",keyword:o,level:"multi",id:e,deep:i},t.next=6,r(l);case 6:return s=t.sent,t.abrupt("return",s.map((function(t){return{key:t.id,id:t.id,pId:t.parent,title:t.name,value:"".concat(t.id,">").concat(t.name),depth:t.depth,isLeaf:!t.has_child}})));case 8:case"end":return t.stop()}}),t)})))}),[n,n.filter.source,c.components]),x=t.useCallback((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.keyword;return Ext(void 0,void 0,void 0,ru.mark((function t(){var n,a;return ru.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e?{keyword:e}:{deep:3},t.next=3,y(n);case 3:a=t.sent,v(a);case 5:case"end":return t.stop()}}),t)})))}),[y]);t.useEffect((function(){x({keyword:""})}),[x]);var w=t.useCallback((function(t){return Ext(void 0,void 0,void 0,ru.mark((function e(){var n,a,r;return ru.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==t.props.children.length){e.next=7;break}return n=t.props.value.split(">",1)[0],e.next=4,y({id:n});case 4:a=e.sent,r=a.filter((function(t){return t.id!==n})),v(b.concat(r));case 7:case"end":return e.stop()}}),e)})))}),[b,y]);return i.default.createElement("div",{className:a},i.default.createElement(Oxt,{style:{width:"100%"},size:"small",value:p,dropdownMatchSelectWidth:!1,treeData:b,treeCheckStrictly:n.filter.treeCheckStrictly,loadData:w,allowClear:!0,showSearch:!0,onSearch:function(t){x({keyword:t})},onChange:h}))},Dxt=function(t){var e=t.field,n=t.getDataTableColumnValue,a=t.className;switch(e.filter.type){case"input":return i.default.createElement(uyt,{className:a,field:e});case"select":return i.default.createElement(pyt,{className:a,field:e,getDataTableColumnValue:n});case"condition":return i.default.createElement(byt,{className:a,field:e});case"tag":return i.default.createElement(wyt,{className:a,field:e,getDataTableColumnValue:n});case"tree":return i.default.createElement(Txt,{className:a,field:e,getDataTableColumnValue:n});default:return null}},Ixt=function(t){var e=t.field,n=t.style,a=t.className,r=t.name,o=t.getDataTableColumnValue;return i.default.createElement("div",{className:a,style:n},i.default.createElement("div",{className:R("gcs-filter-searchBar-item-label",{"gcs-filter-searchBar-item-label-vertical":Array.isArray(r)&&r.length>1})},r),i.default.createElement(Dxt,{className:"gcs-filter-searchBar-item-content",field:e,getDataTableColumnValue:o}))},Pxt=function(e){var n=e.field,a=e.className,r=t.useContext(qxt),o=r.fieldsForm,l=r.setFieldsForm,s=t.useState(n.filter.mode),c=N(s,2),u=c[0],d=c[1],p=t.useState(n.filter.defaultValue),f=N(p,2),h=f[0],g=f[1];t.useEffect((function(){if(o[n.id]){var t=o[n.id].filter,e=t.mode,a=t.value;d(e),g(a)}}),[o[n.id]]);var m=t.useCallback((function(t){l((function(e){return z(z({},e),fS({},n.id,z(z({},e[n.id]),{filter:z(z({},e[n.id].filter),{mode:t})})))}))}),[n.id]);t.useEffect((function(){o[n.id]&&m(n.filter.mode)}),[m,n.filter.mode]);var b=t.useCallback((function(t){l((function(e){return z(z({},e),fS({},n.id,z(z({},e[n.id]),{filter:z(z({},e[n.id].filter),{value:t})})))}))}),[n.id]);return t.useEffect((function(){o[n.id]&&b(n.filter.defaultValue)}),[b,n.filter.defaultValue]),i.default.createElement(cyt,{className:a},i.default.createElement(jw,{value:u,size:"small",style:{width:"100%",minWidth:50},onChange:m},bM.ConditionModeTypes.map((function(t){return i.default.createElement(jw.Option,{key:t,value:t},fyt[t].title)}))),!["not_null","null"].includes(u)&&i.default.createElement(rm,{value:h,size:"small",style:{width:"100%"},onChange:b}))},Nxt=function(e){var n=e.className,a=e.field,r=t.useContext(qxt),o=r.fieldsForm,l=r.setFieldsForm,s=t.useState(a.filter.defaultValue),c=N(s,2),u=c[0],d=c[1];t.useEffect((function(){d(a.filter.defaultValue)}),[a.filter.defaultValue]),t.useEffect((function(){if(o[a.id]){var t=o[a.id].filter.value;d(t)}}),[o[a.id]]);var p=t.useCallback((function(t){l((function(e){return z(z({},e),fS({},a.id,z(z({},e[a.id]),{filter:z(z({},e[a.id].filter),{value:[t,u[1]]})})))}))}),[a,u[1]]),f=t.useCallback((function(t){l((function(e){return z(z({},e),fS({},a.id,z(z({},e[a.id]),{filter:z(z({},e[a.id].filter),{value:[u[0],t]})})))}))}),[a,u[0]]);return t.useEffect((function(){l((function(t){return z(z({},t),fS({},a.id,z(z({},t[a.id]),{filter:z(z({},t[a.id].filter),{value:a.filter.defaultValue})})))}))}),[a.id,a.filter.defaultValue]),i.default.createElement(cyt,{className:n},i.default.createElement(rm,{key:"first",style:{width:"100%"},value:u[0],size:"small",onChange:p}),i.default.createElement(rm,{key:"second",style:{width:"100%"},value:u[1],size:"small",onChange:f}))},Axt=function(t){var e=t.field,n=t.className;switch(e.filter.type){case"condition":return i.default.createElement(Pxt,{className:n,field:e});case"range":return i.default.createElement(Nxt,{className:n,field:e});default:return null}},zxt=function(t){var e=t.field,n=t.style,a=t.className,r=t.name;return i.default.createElement("div",{className:a,style:n},i.default.createElement("div",{className:R("gcs-filter-searchBar-item-label",{"gcs-filter-searchBar-item-label-vertical":Array.isArray(r)&&r.length>1})},r),i.default.createElement(Axt,{className:"gcs-filter-searchBar-item-content",field:e}))},Rxt=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n},Lxt=Hlt.TimePicker,jxt=Hlt.RangePicker,Fxt=l.forwardRef((function(t,e){return l.createElement(jxt,Pi({},t,{dropdownClassName:t.popupClassName,picker:"time",mode:void 0,ref:e}))})),Bxt=l.forwardRef((function(t,e){var n=t.addon,a=t.renderExtraFooter,r=t.popupClassName,o=Rxt(t,["addon","renderExtraFooter","popupClassName"]),i=l.useMemo((function(){return a||(n?(Qd(!1,"TimePicker","`addon` is deprecated. Please use `renderExtraFooter` instead."),n):void 0)}),[n,a]);return l.createElement(Lxt,Pi({},o,{dropdownClassName:r,mode:void 0,ref:e,renderExtraFooter:i}))}));Bxt.displayName="TimePicker",Bxt.RangePicker=Fxt;var Vxt=Bxt,Yxt=function(t){switch(Ji(t)){case"string":return Wlt(t);case"object":if(null==t)return t;if(Wlt.isMoment(t))return t;var e=Wlt();switch(null==t?void 0:t.dynamicType){case"day":e.add(0-t.value,"days");break;case"week":e.add(0-t.value,"week");break;case"month":e.add(0-t.value,"month");break;case"year":e.add(0-t.value,"year")}return e}},Hxt=function(e){var n=e.field,a=t.useState(Yxt(n.filter.defaultValue)),r=N(a,2),o=r[0],l=r[1],s=t.useContext(qxt),c=s.fieldsForm,u=s.setFieldsForm;t.useEffect((function(){if(c[n.id]){var t=c[n.id].filter.value;l(Yxt(t))}}),[c[n.id]]);var d=t.useCallback((function(t){u((function(e){return z(z({},e),fS({},n.id,z(z({},e[n.id]),{filter:z(z({},e[n.id].filter),{value:t||void 0})})))}))}),[n.id]),p=t.useCallback((function(){return["date","datetime"].includes(n.filter.filterType)?n.filter.shortcuts.map((function(t){if("current"===t&&"date"===n.filter.filterType)return null;var e;switch(t){case"current":case"today":e=function(){d(Wlt())};break;case"yesterday":e=function(){d(Wlt().add(-1,"days"))}}return i.default.createElement(Og,{type:"text",size:"small",onClick:e},gyt[t].title)})):null}),[n.filter.filterType,n.filter.shortcuts]);switch(n.filter.filterType){case"date":return i.default.createElement(Hlt,{style:{width:"100%"},value:o,onChange:d,renderExtraFooter:p});case"datetime":return i.default.createElement(Hlt,{style:{width:"100%"},showTime:!0,format:"YYYY-MM-DD HH:mm:ss",value:o,onChange:d,renderExtraFooter:p});case"year":return i.default.createElement(Hlt,{style:{width:"100%"},picker:"year",value:o,onChange:d});case"month":return i.default.createElement(jw,{value:Wlt(o).format("M"),style:{width:"100%"},onChange:function(t){return d(Wlt(t,"M"))}},Array.from({length:12}).map((function(t,e){var n=e+1;return i.default.createElement(jw.Option,{key:n,value:n},n)})));case"day":return i.default.createElement(jw,{value:Wlt(o).format("D"),style:{width:"100%"},onChange:function(t){return d(Wlt(t,"D"))}},Array.from({length:31}).map((function(t,e){var n=e+1;return i.default.createElement(jw.Option,{key:n,value:n},n)})));case"time":return i.default.createElement(Vxt,{style:{width:"100%"},value:o,onChange:d});default:return null}},Wxt=function(t){return Array.isArray(t)?t.map((function(t){switch(Ji(t)){case"string":return Wlt(t);case"object":if(Wlt.isMoment(t))return t;var e=Wlt();switch(t.dynamicType){case"day":e.add(0-t.value,"days");break;case"week":e.add(0-t.value,"week");break;case"month":e.add(0-t.value,"month");break;case"year":e.add(0-t.value,"year")}return e}})):t},Uxt=function(e){var n=e.field,a=t.useState(Wxt(n.filter.defaultValue)),r=N(a,2),o=r[0],l=r[1],s=t.useContext(qxt),c=s.fieldsForm,u=s.setFieldsForm,d=t.useMemo((function(){return"datetime"===n.filter.filterType?{showTime:!0,format:"YYYY-MM-DD HH:mm:ss"}:{}}),[n.filter.filterType]),p=t.useCallback((function(t){if("object"===Ji(t))return t;switch(t){case"today":return[Wlt().startOf("d"),Wlt().endOf("d")];case"yesterday":return[Wlt().add(-1,"days").startOf("d"),Wlt().add(-1,"days").endOf("d")];case"this_week":return[Wlt().startOf("isoWeeks").startOf("d"),Wlt().endOf("isoWeeks").endOf("d")];case"last_week":return[Wlt().add(-7,"days").startOf("isoWeeks").startOf("d"),Wlt().add(-7,"days").endOf("isoWeeks").endOf("d")];case"this_month":return[Wlt().startOf("months").startOf("d"),Wlt().endOf("months").endOf("d")];case"last_month":return[Wlt().add(-1,"months").startOf("months").startOf("d"),Wlt().add(-1,"months").endOf("months").endOf("d")];case"this_quarter":return[Wlt().startOf("quarters").startOf("d"),Wlt().endOf("quarters").endOf("d")];case"last_quarter":return[Wlt().add(-1,"quarters").startOf("quarters").startOf("d"),Wlt().add(-1,"quarters").endOf("quarters").endOf("d")];case"this_year":return[Wlt().startOf("years").startOf("d"),Wlt().endOf("years").endOf("d")];case"last_year":return[Wlt().add(-1,"years").startOf("years").startOf("d"),Wlt().add(-1,"years").endOf("years").endOf("d")];case"nearly_a_week":return[Wlt().add(1,"days").add(-1,"week"),Wlt()];case"nearly_a_month":return[Wlt().add(1,"days").add(-1,"months"),Wlt()];case"nearly_a_year":return[Wlt().add(1,"days").add(-1,"years"),Wlt()];case"nearly_1_min":return[Wlt().add(-1,"minutes").startOf("minutes"),Wlt().endOf("minutes")];case"nearly_5_min":return[Wlt().add(-5,"minutes").startOf("minutes"),Wlt().endOf("minutes")];case"nearly_10_min":return[Wlt().add(-10,"minutes").startOf("minutes"),Wlt().endOf("minutes")];case"nearly_30_min":return[Wlt().add(-30,"minutes").startOf("minutes"),Wlt().endOf("minutes")];case"nearly_1_hour":return[Wlt().add(-60,"minutes").startOf("minutes"),Wlt().endOf("minutes")]}}),[]);t.useEffect((function(){if(c[n.id]){var t=c[n.id].filter.value;l("string"==typeof t?p(t):Wxt(t))}}),[c[n.id]]);var f=t.useCallback((function(t){u((function(e){return z(z({},e),fS({},n.id,z(z({},e[n.id]),{filter:z(z({},e[n.id].filter),{value:t||void 0})})))}))}),[n.id]),h=t.useCallback((function(){return["date","datetime","time"].includes(n.filter.filterType)?n.filter.shortcuts.map((function(t){return i.default.createElement(Og,{type:"text",size:"small",onClick:function(){f(t)}},myt[t].title)})):null}),[n.filter.filterType,n.filter.shortcuts]);return"string"==typeof o||(null==o?void 0:o.filter((function(t){return"string"==typeof t})).length)>0?null:"time"===n.filter.filterType?i.default.createElement(Vxt.RangePicker,{value:o,style:{width:"100%"},renderExtraFooter:h,onChange:f}):i.default.createElement(Hlt.RangePicker,z({value:o,style:{width:"100%"}},d,{renderExtraFooter:h,onChange:f}))},Gxt=function(t){var e=t.field;switch(e.filter.type){case"datetime":return i.default.createElement(Hxt,{field:e});case"datetime_range":return i.default.createElement(Uxt,{field:e});default:return null}},Kxt=function(t){var e=t.field,n=t.className,a=t.style,r=t.name;return i.default.createElement("div",{className:n,style:a},i.default.createElement("div",{className:R("gcs-filter-searchBar-item-label",{"gcs-filter-searchBar-item-label-vertical":Array.isArray(r)&&r.length>1})},r),i.default.createElement("div",{className:"gcs-filter-searchBar-item-content"},i.default.createElement(Gxt,{field:e})))},qxt=i.default.createContext(null),Xxt=i.default.forwardRef((function(e,n){var a=e.component,r=e.dashboard,o=e.getDataTableColumnValue,l=e.eventDistributor,s=a.title,c=a.comment,u=a.fields,d=a.label,p=a.height,f=a.style,h=a.showSearchBtn,g=a.showClearBtn,m=a.showResetBtn,b=r.page,v=t.useRef(),y=t.useState((function(){var t={};return u.map((function(e){t[e.id]=z({},e),t[e.id].filter.value=t[e.id].filter.defaultValue})),t})),x=N(y,2),w=x[0],_=x[1],k=t.useRef();t.useEffect((function(){var t=zM(u);t!==k.current&&(k.current=t,_((function(){var t={};return u.map((function(e){t[e.id]=z({},e),t[e.id].filter.value=t[e.id].filter.defaultValue})),t})))}),[u]),t.useImperativeHandle(n,(function(){return{getDom:function(){return v.current}}}));var S=t.useMemo((function(){return p?{height:"".concat(f.height).concat(b.unit)}:{}}),[p,f,b]),C=t.useMemo((function(){return{color:s.color,fontSize:s.fontSize}}),[s]),M=t.useCallback((function(t){return{width:"".concat(t.width,"%")}}),[]),O=t.useCallback((function(){var t={};u.map((function(e){t[e.id]=z({},e);var n={type:e.filter.type};"filterType"in e.filter&&(n.filterType=e.filter.filterType),t[e.id].filter=n})),_(t)}),[u]),E=t.useCallback((function(){var t={};u.map((function(e){t[e.id]=z({},e),"mode"in e.filter&&(t[e.id].filter.mode=e.filter.mode),"matchType"in e.filter&&(t[e.id].filter.matchType=e.filter.matchType),t[e.id].filter.value=e.filter.defaultValue})),_(t)}),[u]),T=t.useCallback((function(){var t=[];u.map((function(e){t.push({filter:z({},w[e.id]),relatedField:e.relatedField})})),l.publish("onFilter",a.key,t)}),[u,w]);return t.useEffect((function(){T()}),[T]),i.default.createElement("div",{ref:v,className:"gcs-filter",style:S},i.default.createElement("div",{className:"gcs-filter-title",style:C},s.show&&s.value,c.show&&i.default.createElement(Uh,{title:c.value},i.default.createElement("span",{className:"gcs-filter-tooltip"},i.default.createElement(nt,null)))),i.default.createElement("div",{className:"gcs-filter-searchBar"},i.default.createElement(qxt.Provider,{value:{fieldsForm:w,setFieldsForm:_,dashboard:r}},u.map((function(t){if(t.hidden)return null;var e;switch(d.displayMode.type){case"ellipsis":e=t.name.length>d.displayMode.value?t.name.slice(0,d.displayMode.value)+"...":t.name;break;case"wrap":e=[];for(var n=0;n<t.name.length;n+=d.displayMode.value)e.push(i.default.createElement("div",null,t.name.slice(n,n+d.displayMode.value)))}switch(t.columnType){case"string":return i.default.createElement(Ixt,{className:R("gcs-filter-searchBar-item","gcs-filter-searchBar-item-".concat(d.orientation)),key:t.id,field:t,name:e,style:M(t),getDataTableColumnValue:o});case"int":case"float":case"double":return i.default.createElement(zxt,{className:R("gcs-filter-searchBar-item","gcs-filter-searchBar-item-".concat(d.orientation)),key:t.id,field:t,name:e,style:M(t)});case"time":return i.default.createElement(Kxt,{className:R("gcs-filter-searchBar-item","gcs-filter-searchBar-item-".concat(d.orientation)),key:t.id,field:t,name:e,style:M(t)});default:return null}}))),i.default.createElement(cyt,{className:"gcs-filter-actionBar"},g&&i.default.createElement(Og,{size:"small",onClick:O},"清空"),m&&i.default.createElement(Og,{size:"small",onClick:E},"重置"),h&&i.default.createElement(Og,{type:"primary",size:"small",onClick:T},"搜索"))))})),Zxt=Xxt,Jxt=window&&window.__rest||function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n},$xt=t.forwardRef((function(e,n){var a=e.component,r=e.dashboard,o=e.eventDistributor,l=e.getDataFromGodiva,s=e.getDataTableColumnValue,c=Jxt(e,["component","dashboard","eventDistributor","getDataFromGodiva","getDataTableColumnValue"]),u=t.useMemo((function(){var t=null;switch(a.type){case"chart":t=ist;break;case"text":t=nyt;break;case"image":t=ryt;break;case"filter":t=Zxt}return t}),[a]);return u&&i.default.createElement(hv,null,i.default.createElement(Ph,{locale:Kv},i.default.createElement(u,z({ref:n,component:a,dashboard:r,eventDistributor:o,getDataFromGodiva:l,getDataTableColumnValue:s},c))))})),Qxt=$xt,twt=function(){function t(){av(this,t),this._eventListeners={}}return ov(t,[{key:"addEventListener",value:function(t,e){this._eventListeners[t]||(this._eventListeners[t]=[]),this._eventListeners[t].push(e)}},{key:"removeEventListener",value:function(t,e){this._eventListeners[t]=this._eventListeners[t].filter((function(t){return t!==e}))}},{key:"publish",value:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),a=1;a<e;a++)n[a-1]=arguments[a];Object.values(this._eventListeners).forEach((function(e){e.forEach((function(e){e.publish.apply(e,[t].concat(n))}))}))}},{key:"publishByComponentKeys",value:function(t,e){for(var n=this,a=arguments.length,r=new Array(a>2?a-2:0),o=2;o<a;o++)r[o-2]=arguments[o];"string"==typeof t&&(t=[t]),t.forEach((function(t){var a;null===(a=n._eventListeners[t])||void 0===a||a.forEach((function(t){null==t||t.publish.apply(t,[e].concat(r))}))}))}}]),t}(),ewt=twt,nwt=function e(n){var a=n.eventDistributor,r=n.layer,o=n.dashboard,l=n.onLayer,s=n.renderComponent,c=n.getDataFromGodiva,u=n.getDataTableColumnValue,d=t.useMemo((function(){return o.components[r.key]}),[r,o]),p=t.useMemo((function(){var t=o.page.unit,e=d.style;return{top:"".concat(e.top).concat(t),left:"".concat(e.left).concat(t),width:"".concat(e.width).concat(t),height:"".concat(e.height).concat(t)}}),[d,o]),f=t.useMemo((function(){var t={component:d,dashboard:o,getDataFromGodiva:c,getDataTableColumnValue:u,eventDistributor:a},e=i.default.createElement(Qxt,t);return s?s(e,t):e}),[s,d,o,c]),h=t.useMemo((function(){var t={id:d.key,className:"gcs-layer",style:p};if(l){var e=l(d)||{},n=e.className,a=void 0===n?"":n,r=e.style,o=void 0===r?{}:r;t.className=t.className+" "+a,t.style=z(z({},t.style),o)}return t}),[d,l,p]);return i.default.createElement("div",h,f,"folder"===r.type&&r.children.length>0&&r.children.slice().reverse().map((function(t){return i.default.createElement(e,{key:t.key,layer:t,dashboard:o,eventDistributor:a,renderComponent:s,getDataFromGodiva:c,getDataTableColumnValue:u})})))},awt=t.forwardRef((function(e,n){var a=e.dashboard,r=e.dashboardStyle,o=void 0===r?{}:r,l=e.onLayer,s=e.renderComponent,c=e.moveComponent,u=e.getDataFromGodiva,d=e.getDataTableColumnValue,p=t.useState({}),f=N(p,2),h=f[0],g=f[1];t.useEffect((function(){var t;g((t=a.page,{width:"".concat(t.width).concat(t.unit),height:"".concat(t.height).concat(t.unit),background:"#ffffff"}))}),[a]);var m=t.useState({}),b=N(m,2),v=b[0],y=b[1];t.useEffect((function(){y(function(t,e){switch(t.type){case"color_fill":var n=t.colorFill;switch(n.type){case"pure":return{background:n.color};case"linear":return{background:"linear-gradient(to right, ".concat(n.startColor," , ").concat(n.endColor,")")};case"radial":return{background:"radial-gradient(circle, ".concat(n.startColor," ").concat(n.radius,"px, ").concat(n.endColor,")")};default:return{}}case"image":var a={backgroundImage:"url(".concat(e.images[t.image.url],")"),backgroundRepeat:"no-repeat",backgroundPosition:"".concat(t.image.horizontalAlign," ").concat(t.image.verticalAlign)};switch(t.image.mode){case"default":break;case"cover_x":a.backgroundSize="100% auto";break;case"cover_y":a.backgroundSize="auto 100%";break;case"cover":a.backgroundSize="100% 100%"}return a;case"default":return{backgroundColor:"rgb(255,255,255, 0)"};default:return{}}}(a.background,a))}),[a]);var x=t.useMemo((function(){var t=a.grid;return t.show?{backgroundSize:"".concat(t.value).concat(t.unit," ").concat(t.value).concat(t.unit)}:{background:"none"}}),[a.grid]),w=t.useRef(new ewt);return i.default.createElement("div",{className:"gcs-dashboard-container"},i.default.createElement("div",{ref:n,className:"gcs-dashboard",style:z(z(z({},h),v),o)},i.default.createElement("div",{className:"gcs-dashboard-grid",style:x}),a.layers.slice().reverse().map((function(t){return i.default.createElement(nwt,{key:t.key,layer:t,dashboard:a,eventDistributor:w.current,onLayer:l,renderComponent:s,getDataFromGodiva:u,getDataTableColumnValue:d})})),c))})),rwt=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,a=(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},n(t,e)},function(t,e){function a(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(a.prototype=e.prototype,new a)}),r=function(t){function e(e,n){void 0===n&&(n=500);var a=t.call(this,e)||this;return a._code=n,a}return a(e,t),Object.defineProperty(e.prototype,"code",{get:function(){return this._code},enumerable:!1,configurable:!0}),e}(Error),o=r;e.default=o})),owt=m(rwt),iwt=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(rwt);var a=function(){return a=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},a.apply(this,arguments)},r=function(t,e){void 0===e&&(e={});var a=e.timeout,r=void 0===a?2e4:a,i=function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n}(e,["timeout"]);return o(i),new Promise((function(e,a){fetch(t,i).then((function(t){return e(t)})).catch((function(t){return a(t)})),setTimeout((function(){a(new n.default("Timeout: "+r+"ms exceeded: \n\t"+t+"\t\n"+JSON.stringify(i)+" ",404))}),r)}))};r.onlyAllowedGetAndPost=!1;var o=function(t){switch(void 0===t&&(t={}),(t.method||"GET").toLocaleUpperCase()){case"PUT":r.onlyAllowedGetAndPost&&(t.method="POST",t.headers=a(a({},t.headers),{"X-HTTP-Method-Override":"PUT"}));break;case"DELETE":r.onlyAllowedGetAndPost&&(t.method="POST",t.headers=a(a({},t.headers),{"X-HTTP-Method-Override":"DELETE"}));break;case"PATCH":r.onlyAllowedGetAndPost&&(t.method="POST",t.headers=a(a({},t.headers),{"X-HTTP-Method-Override":"PATCH"}))}},i=r;e.default=i})),lwt=v((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(iwt);var a=function(){return a=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},a.apply(this,arguments)},r=function(t,e,n,a){return new(n||(n=Promise))((function(r,o){function i(t){try{s(a.next(t))}catch(t){o(t)}}function l(t){try{s(a.throw(t))}catch(t){o(t)}}function s(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(i,l)}s((a=a.apply(t,e||[])).next())}))},o=function(t,e){var n,a,r,o,i={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,a&&(r=2&o[0]?a.return:o[0]?a.throw||((r=a.return)&&r.call(a),0):a.next)&&!(r=r.call(a,o[1])).done)return r;switch(a=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return i.label++,{value:o[1],done:!1};case 5:i.label++,a=o[1],o=[0];continue;case 7:o=i.ops.pop(),i.trys.pop();continue;default:if(!(r=i.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){i=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){i.label=o[1];break}if(6===o[0]&&i.label<r[1]){i.label=r[1],r=o;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(o);break}r[2]&&i.ops.pop(),i.trys.pop();continue}o=e.call(t,i)}catch(t){o=[6,t],a=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}},i=!1,l=[],s=function t(e,a){return void 0===a&&(a={}),r(void 0,void 0,Promise,(function(){var r,s;return o(this,(function(o){switch(o.label){case 0:return a=c(a),[4,(0,n.default)(e,a)];case 1:return 401!==(r=o.sent()).status?[2,r]:i?[4,new Promise((function(n){l.push((function(){n(t(e,a))}))}))]:[3,3];case 2:return[2,o.sent()];case 3:return t.refreshAccessToken?(i=!0,[4,t.refreshAccessToken()]):[3,6];case 4:return o.sent()?(a=c(a),[4,(0,n.default)(e,a)]):(l=[],i=!1,[2]);case 5:s=o.sent(),l.forEach((function(t){return t()})),l=[],i=!1,o.label=6;case 6:return s?[3,8]:(a=c(a),[4,(0,n.default)(e,a)]);case 7:s=o.sent(),o.label=8;case 8:return 401!==s.status?[2,s]:[2]}}))}))};s.additionalHeaders=void 0,s.refreshAccessToken=void 0;var c=function(t){return a(a({},t),{headers:a(a({},t.headers||{}),s.additionalHeaders)})},u=s;e.default=u})),swt=m(lwt);s.default('/*!\n * \n * antd v4.16.13\n * \n * Copyright 2015-present, Alipay, Inc.\n * All rights reserved.\n *       \n */[class*=ant-]::-ms-clear,[class*=ant-] input::-ms-clear,[class*=ant-] input::-ms-reveal,[class^=ant-]::-ms-clear,[class^=ant-] input::-ms-clear,[class^=ant-] input::-ms-reveal{display:none}body,html{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,:after,:before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}body{margin:0;color:rgba(0,0,0,.85);font-size:14px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variant:tabular-nums;line-height:1.5715;background-color:#fff;font-feature-settings:"tnum"}[tabindex="-1"]:focus{outline:none!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;color:rgba(0,0,0,.85);font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=number],input[type=password],input[type=text],textarea{-webkit-appearance:none}dl,ol,ul{margin-top:0;margin-bottom:1em}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#1890ff;text-decoration:none;background-color:transparent;outline:none;cursor:pointer;transition:color .3s;-webkit-text-decoration-skip:objects}a:hover{color:#40a9ff}a:active{color:#096dd9}a:active,a:focus,a:hover{text-decoration:none;outline:0}a[disabled]{color:rgba(0,0,0,.25);cursor:not-allowed}code,kbd,pre,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}svg:not(:root){overflow:hidden}[role=button],a,area,button,input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;color:rgba(0,0,0,.45);text-align:left;caption-side:bottom}button,input,optgroup,select,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}::-moz-selection{color:#fff;background:#1890ff}::selection{color:#fff;background:#1890ff}.clearfix:after,.clearfix:before{display:table;content:""}.clearfix:after{clear:both}.anticon{display:inline-block;color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.anticon>*{line-height:1}.anticon svg{display:inline-block}.anticon:before{display:none}.anticon .anticon-icon{display:block}.anticon[tabindex]{cursor:pointer}.anticon-spin,.anticon-spin:before{display:inline-block;-webkit-animation:loadingCircle 1s linear infinite;animation:loadingCircle 1s linear infinite}.ant-fade-appear,.ant-fade-enter,.ant-fade-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.ant-fade-appear.ant-fade-appear-active,.ant-fade-enter.ant-fade-enter-active{-webkit-animation-name:antFadeIn;animation-name:antFadeIn;-webkit-animation-play-state:running;animation-play-state:running}.ant-fade-leave.ant-fade-leave-active{-webkit-animation-name:antFadeOut;animation-name:antFadeOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.ant-fade-appear,.ant-fade-enter{opacity:0}.ant-fade-appear,.ant-fade-enter,.ant-fade-leave{-webkit-animation-timing-function:linear;animation-timing-function:linear}@-webkit-keyframes antFadeIn{0%{opacity:0}to{opacity:1}}@keyframes antFadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes antFadeOut{0%{opacity:1}to{opacity:0}}@keyframes antFadeOut{0%{opacity:1}to{opacity:0}}.ant-move-up-appear,.ant-move-up-enter,.ant-move-up-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.ant-move-up-appear.ant-move-up-appear-active,.ant-move-up-enter.ant-move-up-enter-active{-webkit-animation-name:antMoveUpIn;animation-name:antMoveUpIn;-webkit-animation-play-state:running;animation-play-state:running}.ant-move-up-leave.ant-move-up-leave-active{-webkit-animation-name:antMoveUpOut;animation-name:antMoveUpOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.ant-move-up-appear,.ant-move-up-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-move-up-leave{-webkit-animation-timing-function:cubic-bezier(.6,.04,.98,.34);animation-timing-function:cubic-bezier(.6,.04,.98,.34)}.ant-move-down-appear,.ant-move-down-enter,.ant-move-down-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.ant-move-down-appear.ant-move-down-appear-active,.ant-move-down-enter.ant-move-down-enter-active{-webkit-animation-name:antMoveDownIn;animation-name:antMoveDownIn;-webkit-animation-play-state:running;animation-play-state:running}.ant-move-down-leave.ant-move-down-leave-active{-webkit-animation-name:antMoveDownOut;animation-name:antMoveDownOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.ant-move-down-appear,.ant-move-down-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-move-down-leave{-webkit-animation-timing-function:cubic-bezier(.6,.04,.98,.34);animation-timing-function:cubic-bezier(.6,.04,.98,.34)}.ant-move-left-appear,.ant-move-left-enter,.ant-move-left-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.ant-move-left-appear.ant-move-left-appear-active,.ant-move-left-enter.ant-move-left-enter-active{-webkit-animation-name:antMoveLeftIn;animation-name:antMoveLeftIn;-webkit-animation-play-state:running;animation-play-state:running}.ant-move-left-leave.ant-move-left-leave-active{-webkit-animation-name:antMoveLeftOut;animation-name:antMoveLeftOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.ant-move-left-appear,.ant-move-left-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-move-left-leave{-webkit-animation-timing-function:cubic-bezier(.6,.04,.98,.34);animation-timing-function:cubic-bezier(.6,.04,.98,.34)}.ant-move-right-appear,.ant-move-right-enter,.ant-move-right-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.ant-move-right-appear.ant-move-right-appear-active,.ant-move-right-enter.ant-move-right-enter-active{-webkit-animation-name:antMoveRightIn;animation-name:antMoveRightIn;-webkit-animation-play-state:running;animation-play-state:running}.ant-move-right-leave.ant-move-right-leave-active{-webkit-animation-name:antMoveRightOut;animation-name:antMoveRightOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.ant-move-right-appear,.ant-move-right-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-move-right-leave{-webkit-animation-timing-function:cubic-bezier(.6,.04,.98,.34);animation-timing-function:cubic-bezier(.6,.04,.98,.34)}@-webkit-keyframes antMoveDownIn{0%{transform:translateY(100%);transform-origin:0 0;opacity:0}to{transform:translateY(0);transform-origin:0 0;opacity:1}}@keyframes antMoveDownIn{0%{transform:translateY(100%);transform-origin:0 0;opacity:0}to{transform:translateY(0);transform-origin:0 0;opacity:1}}@-webkit-keyframes antMoveDownOut{0%{transform:translateY(0);transform-origin:0 0;opacity:1}to{transform:translateY(100%);transform-origin:0 0;opacity:0}}@keyframes antMoveDownOut{0%{transform:translateY(0);transform-origin:0 0;opacity:1}to{transform:translateY(100%);transform-origin:0 0;opacity:0}}@-webkit-keyframes antMoveLeftIn{0%{transform:translateX(-100%);transform-origin:0 0;opacity:0}to{transform:translateX(0);transform-origin:0 0;opacity:1}}@keyframes antMoveLeftIn{0%{transform:translateX(-100%);transform-origin:0 0;opacity:0}to{transform:translateX(0);transform-origin:0 0;opacity:1}}@-webkit-keyframes antMoveLeftOut{0%{transform:translateX(0);transform-origin:0 0;opacity:1}to{transform:translateX(-100%);transform-origin:0 0;opacity:0}}@keyframes antMoveLeftOut{0%{transform:translateX(0);transform-origin:0 0;opacity:1}to{transform:translateX(-100%);transform-origin:0 0;opacity:0}}@-webkit-keyframes antMoveRightIn{0%{transform:translateX(100%);transform-origin:0 0;opacity:0}to{transform:translateX(0);transform-origin:0 0;opacity:1}}@keyframes antMoveRightIn{0%{transform:translateX(100%);transform-origin:0 0;opacity:0}to{transform:translateX(0);transform-origin:0 0;opacity:1}}@-webkit-keyframes antMoveRightOut{0%{transform:translateX(0);transform-origin:0 0;opacity:1}to{transform:translateX(100%);transform-origin:0 0;opacity:0}}@keyframes antMoveRightOut{0%{transform:translateX(0);transform-origin:0 0;opacity:1}to{transform:translateX(100%);transform-origin:0 0;opacity:0}}@-webkit-keyframes antMoveUpIn{0%{transform:translateY(-100%);transform-origin:0 0;opacity:0}to{transform:translateY(0);transform-origin:0 0;opacity:1}}@keyframes antMoveUpIn{0%{transform:translateY(-100%);transform-origin:0 0;opacity:0}to{transform:translateY(0);transform-origin:0 0;opacity:1}}@-webkit-keyframes antMoveUpOut{0%{transform:translateY(0);transform-origin:0 0;opacity:1}to{transform:translateY(-100%);transform-origin:0 0;opacity:0}}@keyframes antMoveUpOut{0%{transform:translateY(0);transform-origin:0 0;opacity:1}to{transform:translateY(-100%);transform-origin:0 0;opacity:0}}@-webkit-keyframes loadingCircle{to{transform:rotate(1turn)}}@keyframes loadingCircle{to{transform:rotate(1turn)}}[ant-click-animating-without-extra-node=true],[ant-click-animating=true]{position:relative}html{--antd-wave-shadow-color:#1890ff;--scroll-bar:0}.ant-click-animating-node,[ant-click-animating-without-extra-node=true]:after{position:absolute;top:0;right:0;bottom:0;left:0;display:block;border-radius:inherit;box-shadow:0 0 0 0 #1890ff;box-shadow:0 0 0 0 var(--antd-wave-shadow-color);opacity:.2;-webkit-animation:fadeEffect 2s cubic-bezier(.08,.82,.17,1),waveEffect .4s cubic-bezier(.08,.82,.17,1);animation:fadeEffect 2s cubic-bezier(.08,.82,.17,1),waveEffect .4s cubic-bezier(.08,.82,.17,1);-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;content:"";pointer-events:none}@-webkit-keyframes waveEffect{to{box-shadow:0 0 0 #1890ff;box-shadow:0 0 0 6px var(--antd-wave-shadow-color)}}@keyframes waveEffect{to{box-shadow:0 0 0 #1890ff;box-shadow:0 0 0 6px var(--antd-wave-shadow-color)}}@-webkit-keyframes fadeEffect{to{opacity:0}}@keyframes fadeEffect{to{opacity:0}}.ant-slide-up-appear,.ant-slide-up-enter,.ant-slide-up-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.ant-slide-up-appear.ant-slide-up-appear-active,.ant-slide-up-enter.ant-slide-up-enter-active{-webkit-animation-name:antSlideUpIn;animation-name:antSlideUpIn;-webkit-animation-play-state:running;animation-play-state:running}.ant-slide-up-leave.ant-slide-up-leave-active{-webkit-animation-name:antSlideUpOut;animation-name:antSlideUpOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.ant-slide-up-appear,.ant-slide-up-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.23,1,.32,1);animation-timing-function:cubic-bezier(.23,1,.32,1)}.ant-slide-up-leave{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06)}.ant-slide-down-appear,.ant-slide-down-enter,.ant-slide-down-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.ant-slide-down-appear.ant-slide-down-appear-active,.ant-slide-down-enter.ant-slide-down-enter-active{-webkit-animation-name:antSlideDownIn;animation-name:antSlideDownIn;-webkit-animation-play-state:running;animation-play-state:running}.ant-slide-down-leave.ant-slide-down-leave-active{-webkit-animation-name:antSlideDownOut;animation-name:antSlideDownOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.ant-slide-down-appear,.ant-slide-down-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.23,1,.32,1);animation-timing-function:cubic-bezier(.23,1,.32,1)}.ant-slide-down-leave{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06)}.ant-slide-left-appear,.ant-slide-left-enter,.ant-slide-left-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.ant-slide-left-appear.ant-slide-left-appear-active,.ant-slide-left-enter.ant-slide-left-enter-active{-webkit-animation-name:antSlideLeftIn;animation-name:antSlideLeftIn;-webkit-animation-play-state:running;animation-play-state:running}.ant-slide-left-leave.ant-slide-left-leave-active{-webkit-animation-name:antSlideLeftOut;animation-name:antSlideLeftOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.ant-slide-left-appear,.ant-slide-left-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.23,1,.32,1);animation-timing-function:cubic-bezier(.23,1,.32,1)}.ant-slide-left-leave{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06)}.ant-slide-right-appear,.ant-slide-right-enter,.ant-slide-right-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.ant-slide-right-appear.ant-slide-right-appear-active,.ant-slide-right-enter.ant-slide-right-enter-active{-webkit-animation-name:antSlideRightIn;animation-name:antSlideRightIn;-webkit-animation-play-state:running;animation-play-state:running}.ant-slide-right-leave.ant-slide-right-leave-active{-webkit-animation-name:antSlideRightOut;animation-name:antSlideRightOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.ant-slide-right-appear,.ant-slide-right-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.23,1,.32,1);animation-timing-function:cubic-bezier(.23,1,.32,1)}.ant-slide-right-leave{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06)}@-webkit-keyframes antSlideUpIn{0%{transform:scaleY(.8);transform-origin:0 0;opacity:0}to{transform:scaleY(1);transform-origin:0 0;opacity:1}}@keyframes antSlideUpIn{0%{transform:scaleY(.8);transform-origin:0 0;opacity:0}to{transform:scaleY(1);transform-origin:0 0;opacity:1}}@-webkit-keyframes antSlideUpOut{0%{transform:scaleY(1);transform-origin:0 0;opacity:1}to{transform:scaleY(.8);transform-origin:0 0;opacity:0}}@keyframes antSlideUpOut{0%{transform:scaleY(1);transform-origin:0 0;opacity:1}to{transform:scaleY(.8);transform-origin:0 0;opacity:0}}@-webkit-keyframes antSlideDownIn{0%{transform:scaleY(.8);transform-origin:100% 100%;opacity:0}to{transform:scaleY(1);transform-origin:100% 100%;opacity:1}}@keyframes antSlideDownIn{0%{transform:scaleY(.8);transform-origin:100% 100%;opacity:0}to{transform:scaleY(1);transform-origin:100% 100%;opacity:1}}@-webkit-keyframes antSlideDownOut{0%{transform:scaleY(1);transform-origin:100% 100%;opacity:1}to{transform:scaleY(.8);transform-origin:100% 100%;opacity:0}}@keyframes antSlideDownOut{0%{transform:scaleY(1);transform-origin:100% 100%;opacity:1}to{transform:scaleY(.8);transform-origin:100% 100%;opacity:0}}@-webkit-keyframes antSlideLeftIn{0%{transform:scaleX(.8);transform-origin:0 0;opacity:0}to{transform:scaleX(1);transform-origin:0 0;opacity:1}}@keyframes antSlideLeftIn{0%{transform:scaleX(.8);transform-origin:0 0;opacity:0}to{transform:scaleX(1);transform-origin:0 0;opacity:1}}@-webkit-keyframes antSlideLeftOut{0%{transform:scaleX(1);transform-origin:0 0;opacity:1}to{transform:scaleX(.8);transform-origin:0 0;opacity:0}}@keyframes antSlideLeftOut{0%{transform:scaleX(1);transform-origin:0 0;opacity:1}to{transform:scaleX(.8);transform-origin:0 0;opacity:0}}@-webkit-keyframes antSlideRightIn{0%{transform:scaleX(.8);transform-origin:100% 0;opacity:0}to{transform:scaleX(1);transform-origin:100% 0;opacity:1}}@keyframes antSlideRightIn{0%{transform:scaleX(.8);transform-origin:100% 0;opacity:0}to{transform:scaleX(1);transform-origin:100% 0;opacity:1}}@-webkit-keyframes antSlideRightOut{0%{transform:scaleX(1);transform-origin:100% 0;opacity:1}to{transform:scaleX(.8);transform-origin:100% 0;opacity:0}}@keyframes antSlideRightOut{0%{transform:scaleX(1);transform-origin:100% 0;opacity:1}to{transform:scaleX(.8);transform-origin:100% 0;opacity:0}}.ant-zoom-appear,.ant-zoom-enter,.ant-zoom-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.ant-zoom-appear.ant-zoom-appear-active,.ant-zoom-enter.ant-zoom-enter-active{-webkit-animation-name:antZoomIn;animation-name:antZoomIn;-webkit-animation-play-state:running;animation-play-state:running}.ant-zoom-leave.ant-zoom-leave-active{-webkit-animation-name:antZoomOut;animation-name:antZoomOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.ant-zoom-appear,.ant-zoom-enter{transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-appear-prepare,.ant-zoom-enter-prepare{transform:none}.ant-zoom-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.ant-zoom-big-appear,.ant-zoom-big-enter,.ant-zoom-big-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.ant-zoom-big-appear.ant-zoom-big-appear-active,.ant-zoom-big-enter.ant-zoom-big-enter-active{-webkit-animation-name:antZoomBigIn;animation-name:antZoomBigIn;-webkit-animation-play-state:running;animation-play-state:running}.ant-zoom-big-leave.ant-zoom-big-leave-active{-webkit-animation-name:antZoomBigOut;animation-name:antZoomBigOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.ant-zoom-big-appear,.ant-zoom-big-enter{transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-big-appear-prepare,.ant-zoom-big-enter-prepare{transform:none}.ant-zoom-big-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.ant-zoom-big-fast-appear,.ant-zoom-big-fast-enter,.ant-zoom-big-fast-leave{-webkit-animation-duration:.1s;animation-duration:.1s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.ant-zoom-big-fast-appear.ant-zoom-big-fast-appear-active,.ant-zoom-big-fast-enter.ant-zoom-big-fast-enter-active{-webkit-animation-name:antZoomBigIn;animation-name:antZoomBigIn;-webkit-animation-play-state:running;animation-play-state:running}.ant-zoom-big-fast-leave.ant-zoom-big-fast-leave-active{-webkit-animation-name:antZoomBigOut;animation-name:antZoomBigOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.ant-zoom-big-fast-appear,.ant-zoom-big-fast-enter{transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-big-fast-appear-prepare,.ant-zoom-big-fast-enter-prepare{transform:none}.ant-zoom-big-fast-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.ant-zoom-up-appear,.ant-zoom-up-enter,.ant-zoom-up-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.ant-zoom-up-appear.ant-zoom-up-appear-active,.ant-zoom-up-enter.ant-zoom-up-enter-active{-webkit-animation-name:antZoomUpIn;animation-name:antZoomUpIn;-webkit-animation-play-state:running;animation-play-state:running}.ant-zoom-up-leave.ant-zoom-up-leave-active{-webkit-animation-name:antZoomUpOut;animation-name:antZoomUpOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.ant-zoom-up-appear,.ant-zoom-up-enter{transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-up-appear-prepare,.ant-zoom-up-enter-prepare{transform:none}.ant-zoom-up-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.ant-zoom-down-appear,.ant-zoom-down-enter,.ant-zoom-down-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.ant-zoom-down-appear.ant-zoom-down-appear-active,.ant-zoom-down-enter.ant-zoom-down-enter-active{-webkit-animation-name:antZoomDownIn;animation-name:antZoomDownIn;-webkit-animation-play-state:running;animation-play-state:running}.ant-zoom-down-leave.ant-zoom-down-leave-active{-webkit-animation-name:antZoomDownOut;animation-name:antZoomDownOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.ant-zoom-down-appear,.ant-zoom-down-enter{transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-down-appear-prepare,.ant-zoom-down-enter-prepare{transform:none}.ant-zoom-down-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.ant-zoom-left-appear,.ant-zoom-left-enter,.ant-zoom-left-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.ant-zoom-left-appear.ant-zoom-left-appear-active,.ant-zoom-left-enter.ant-zoom-left-enter-active{-webkit-animation-name:antZoomLeftIn;animation-name:antZoomLeftIn;-webkit-animation-play-state:running;animation-play-state:running}.ant-zoom-left-leave.ant-zoom-left-leave-active{-webkit-animation-name:antZoomLeftOut;animation-name:antZoomLeftOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.ant-zoom-left-appear,.ant-zoom-left-enter{transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-left-appear-prepare,.ant-zoom-left-enter-prepare{transform:none}.ant-zoom-left-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.ant-zoom-right-appear,.ant-zoom-right-enter,.ant-zoom-right-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.ant-zoom-right-appear.ant-zoom-right-appear-active,.ant-zoom-right-enter.ant-zoom-right-enter-active{-webkit-animation-name:antZoomRightIn;animation-name:antZoomRightIn;-webkit-animation-play-state:running;animation-play-state:running}.ant-zoom-right-leave.ant-zoom-right-leave-active{-webkit-animation-name:antZoomRightOut;animation-name:antZoomRightOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.ant-zoom-right-appear,.ant-zoom-right-enter{transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-right-appear-prepare,.ant-zoom-right-enter-prepare{transform:none}.ant-zoom-right-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}@-webkit-keyframes antZoomIn{0%{transform:scale(.2);opacity:0}to{transform:scale(1);opacity:1}}@keyframes antZoomIn{0%{transform:scale(.2);opacity:0}to{transform:scale(1);opacity:1}}@-webkit-keyframes antZoomOut{0%{transform:scale(1)}to{transform:scale(.2);opacity:0}}@keyframes antZoomOut{0%{transform:scale(1)}to{transform:scale(.2);opacity:0}}@-webkit-keyframes antZoomBigIn{0%{transform:scale(.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes antZoomBigIn{0%{transform:scale(.8);opacity:0}to{transform:scale(1);opacity:1}}@-webkit-keyframes antZoomBigOut{0%{transform:scale(1)}to{transform:scale(.8);opacity:0}}@keyframes antZoomBigOut{0%{transform:scale(1)}to{transform:scale(.8);opacity:0}}@-webkit-keyframes antZoomUpIn{0%{transform:scale(.8);transform-origin:50% 0;opacity:0}to{transform:scale(1);transform-origin:50% 0}}@keyframes antZoomUpIn{0%{transform:scale(.8);transform-origin:50% 0;opacity:0}to{transform:scale(1);transform-origin:50% 0}}@-webkit-keyframes antZoomUpOut{0%{transform:scale(1);transform-origin:50% 0}to{transform:scale(.8);transform-origin:50% 0;opacity:0}}@keyframes antZoomUpOut{0%{transform:scale(1);transform-origin:50% 0}to{transform:scale(.8);transform-origin:50% 0;opacity:0}}@-webkit-keyframes antZoomLeftIn{0%{transform:scale(.8);transform-origin:0 50%;opacity:0}to{transform:scale(1);transform-origin:0 50%}}@keyframes antZoomLeftIn{0%{transform:scale(.8);transform-origin:0 50%;opacity:0}to{transform:scale(1);transform-origin:0 50%}}@-webkit-keyframes antZoomLeftOut{0%{transform:scale(1);transform-origin:0 50%}to{transform:scale(.8);transform-origin:0 50%;opacity:0}}@keyframes antZoomLeftOut{0%{transform:scale(1);transform-origin:0 50%}to{transform:scale(.8);transform-origin:0 50%;opacity:0}}@-webkit-keyframes antZoomRightIn{0%{transform:scale(.8);transform-origin:100% 50%;opacity:0}to{transform:scale(1);transform-origin:100% 50%}}@keyframes antZoomRightIn{0%{transform:scale(.8);transform-origin:100% 50%;opacity:0}to{transform:scale(1);transform-origin:100% 50%}}@-webkit-keyframes antZoomRightOut{0%{transform:scale(1);transform-origin:100% 50%}to{transform:scale(.8);transform-origin:100% 50%;opacity:0}}@keyframes antZoomRightOut{0%{transform:scale(1);transform-origin:100% 50%}to{transform:scale(.8);transform-origin:100% 50%;opacity:0}}@-webkit-keyframes antZoomDownIn{0%{transform:scale(.8);transform-origin:50% 100%;opacity:0}to{transform:scale(1);transform-origin:50% 100%}}@keyframes antZoomDownIn{0%{transform:scale(.8);transform-origin:50% 100%;opacity:0}to{transform:scale(1);transform-origin:50% 100%}}@-webkit-keyframes antZoomDownOut{0%{transform:scale(1);transform-origin:50% 100%}to{transform:scale(.8);transform-origin:50% 100%;opacity:0}}@keyframes antZoomDownOut{0%{transform:scale(1);transform-origin:50% 100%}to{transform:scale(.8);transform-origin:50% 100%;opacity:0}}.ant-motion-collapse-legacy{overflow:hidden}.ant-motion-collapse,.ant-motion-collapse-legacy-active{transition:height .2s cubic-bezier(.645,.045,.355,1),opacity .2s cubic-bezier(.645,.045,.355,1)!important}.ant-motion-collapse{overflow:hidden}.ant-affix{position:fixed;z-index:10}.ant-alert{box-sizing:border-box;margin:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;display:flex;align-items:center;padding:8px 15px;word-wrap:break-word;border-radius:2px}.ant-alert-content{flex:1;min-width:0}.ant-alert-icon{margin-right:8px}.ant-alert-description{display:none;font-size:14px;line-height:22px}.ant-alert-success{background-color:#f6ffed;border:1px solid #b7eb8f}.ant-alert-success .ant-alert-icon{color:#52c41a}.ant-alert-info{background-color:#e6f7ff;border:1px solid #91d5ff}.ant-alert-info .ant-alert-icon{color:#1890ff}.ant-alert-warning{background-color:#fffbe6;border:1px solid #ffe58f}.ant-alert-warning .ant-alert-icon{color:#faad14}.ant-alert-error{background-color:#fff2f0;border:1px solid #ffccc7}.ant-alert-error .ant-alert-icon{color:#ff4d4f}.ant-alert-error .ant-alert-description>pre{margin:0;padding:0}.ant-alert-action{margin-left:8px}.ant-alert-close-icon{margin-left:8px;padding:0;overflow:hidden;font-size:12px;line-height:12px;background-color:transparent;border:none;outline:none;cursor:pointer}.ant-alert-close-icon .anticon-close{color:rgba(0,0,0,.45);transition:color .3s}.ant-alert-close-icon .anticon-close:hover{color:rgba(0,0,0,.75)}.ant-alert-close-text{color:rgba(0,0,0,.45);transition:color .3s}.ant-alert-close-text:hover{color:rgba(0,0,0,.75)}.ant-alert-with-description{align-items:flex-start;padding:15px 15px 15px 24px}.ant-alert-with-description.ant-alert-no-icon{padding:15px}.ant-alert-with-description .ant-alert-icon{margin-right:15px;font-size:24px}.ant-alert-with-description .ant-alert-message{display:block;margin-bottom:4px;color:rgba(0,0,0,.85);font-size:16px}.ant-alert-message{color:rgba(0,0,0,.85)}.ant-alert-with-description .ant-alert-description{display:block}.ant-alert.ant-alert-motion-leave{overflow:hidden;opacity:1;transition:max-height .3s cubic-bezier(.78,.14,.15,.86),opacity .3s cubic-bezier(.78,.14,.15,.86),padding-top .3s cubic-bezier(.78,.14,.15,.86),padding-bottom .3s cubic-bezier(.78,.14,.15,.86),margin-bottom .3s cubic-bezier(.78,.14,.15,.86)}.ant-alert.ant-alert-motion-leave-active{max-height:0;margin-bottom:0!important;padding-top:0;padding-bottom:0;opacity:0}.ant-alert-banner{margin-bottom:0;border:0;border-radius:0}.ant-alert.ant-alert-rtl{direction:rtl}.ant-alert-rtl.ant-alert.ant-alert-no-icon{padding:8px 15px}.ant-alert-rtl .ant-alert-icon{margin-right:auto;margin-left:8px}.ant-alert-rtl .ant-alert-action,.ant-alert-rtl .ant-alert-close-icon{margin-right:8px;margin-left:auto}.ant-alert-rtl.ant-alert-with-description .ant-alert-icon{margin-right:auto;margin-left:15px}.ant-anchor{box-sizing:border-box;margin:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;padding:0 0 0 2px}.ant-anchor-wrapper{margin-left:-4px;padding-left:4px;overflow:auto;background-color:transparent}.ant-anchor-ink{position:absolute;top:0;left:0;height:100%}.ant-anchor-ink:before{position:relative;display:block;width:2px;height:100%;margin:0 auto;background-color:#f0f0f0;content:" "}.ant-anchor-ink-ball{position:absolute;left:50%;display:none;width:8px;height:8px;background-color:#fff;border:2px solid #1890ff;border-radius:8px;transform:translateX(-50%);transition:top .3s ease-in-out}.ant-anchor-ink-ball.visible{display:inline-block}.ant-anchor.fixed .ant-anchor-ink .ant-anchor-ink-ball{display:none}.ant-anchor-link{padding:7px 0 7px 16px;line-height:1.143}.ant-anchor-link-title{position:relative;display:block;margin-bottom:6px;overflow:hidden;color:rgba(0,0,0,.85);white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-anchor-link-title:only-child{margin-bottom:0}.ant-anchor-link-active>.ant-anchor-link-title{color:#1890ff}.ant-anchor-link .ant-anchor-link{padding-top:5px;padding-bottom:5px}.ant-anchor-rtl{direction:rtl}.ant-anchor-rtl.ant-anchor-wrapper{margin-right:-4px;margin-left:0;padding-right:4px;padding-left:0}.ant-anchor-rtl .ant-anchor-ink{right:0;left:auto}.ant-anchor-rtl .ant-anchor-ink-ball{right:50%;left:0;transform:translateX(50%)}.ant-anchor-rtl .ant-anchor-link{padding:7px 16px 7px 0}.ant-select-auto-complete{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum"}.ant-select-auto-complete .ant-select-clear{right:13px}.ant-avatar{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-block;overflow:hidden;color:#fff;white-space:nowrap;text-align:center;vertical-align:middle;background:#ccc;width:32px;height:32px;line-height:32px;border-radius:50%}.ant-avatar-image{background:transparent}.ant-avatar .ant-image-img{display:block}.ant-avatar-string{position:absolute;left:50%;transform-origin:0 center}.ant-avatar.ant-avatar-icon{font-size:18px}.ant-avatar.ant-avatar-icon>.anticon{margin:0}.ant-avatar-lg{width:40px;height:40px;line-height:40px;border-radius:50%}.ant-avatar-lg-string{position:absolute;left:50%;transform-origin:0 center}.ant-avatar-lg.ant-avatar-icon{font-size:24px}.ant-avatar-lg.ant-avatar-icon>.anticon{margin:0}.ant-avatar-sm{width:24px;height:24px;line-height:24px;border-radius:50%}.ant-avatar-sm-string{position:absolute;left:50%;transform-origin:0 center}.ant-avatar-sm.ant-avatar-icon{font-size:14px}.ant-avatar-sm.ant-avatar-icon>.anticon{margin:0}.ant-avatar-square{border-radius:2px}.ant-avatar>img{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.ant-avatar-group{display:inline-flex}.ant-avatar-group .ant-avatar{border:1px solid #fff}.ant-avatar-group .ant-avatar:not(:first-child){margin-left:-8px}.ant-avatar-group-popover .ant-avatar+.ant-avatar{margin-left:3px}.ant-avatar-group-rtl .ant-avatar:not(:first-child){margin-right:-8px;margin-left:0}.ant-avatar-group-popover.ant-popover-rtl .ant-avatar+.ant-avatar{margin-right:3px;margin-left:0}.ant-back-top{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:fixed;right:100px;bottom:50px;z-index:10;width:40px;height:40px;cursor:pointer}.ant-back-top:empty{display:none}.ant-back-top-rtl{right:auto;left:100px;direction:rtl}.ant-back-top-content{width:40px;height:40px;overflow:hidden;color:#fff;text-align:center;background-color:rgba(0,0,0,.45);border-radius:20px;transition:all .3s}.ant-back-top-content:hover{background-color:rgba(0,0,0,.85);transition:all .3s}.ant-back-top-icon{font-size:24px;line-height:40px}@media screen and (max-width:768px){.ant-back-top{right:60px}}@media screen and (max-width:480px){.ant-back-top{right:20px}}.ant-badge{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-block;line-height:1}.ant-badge-count{z-index:auto;min-width:20px;height:20px;padding:0 6px;color:#fff;font-weight:400;font-size:12px;line-height:20px;white-space:nowrap;text-align:center;background:#ff4d4f;border-radius:10px;box-shadow:0 0 0 1px #fff}.ant-badge-count a,.ant-badge-count a:hover{color:#fff}.ant-badge-count-sm{min-width:14px;height:14px;padding:0;font-size:12px;line-height:14px;border-radius:7px}.ant-badge-multiple-words{padding:0 8px}.ant-badge-dot{z-index:auto;width:6px;min-width:6px;height:6px;background:#ff4d4f;border-radius:100%;box-shadow:0 0 0 1px #fff}.ant-badge-dot.ant-scroll-number{transition:background 1.5s}.ant-badge-count,.ant-badge-dot,.ant-badge .ant-scroll-number-custom-component{position:absolute;top:0;right:0;transform:translate(50%,-50%);transform-origin:100% 0}.ant-badge-count.anticon-spin,.ant-badge-dot.anticon-spin,.ant-badge .ant-scroll-number-custom-component.anticon-spin{-webkit-animation:antBadgeLoadingCircle 1s linear infinite;animation:antBadgeLoadingCircle 1s linear infinite}.ant-badge-status{line-height:inherit;vertical-align:baseline}.ant-badge-status-dot{position:relative;top:-1px;display:inline-block;width:6px;height:6px;vertical-align:middle;border-radius:50%}.ant-badge-status-success{background-color:#52c41a}.ant-badge-status-processing{position:relative;background-color:#1890ff}.ant-badge-status-processing:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #1890ff;border-radius:50%;-webkit-animation:antStatusProcessing 1.2s ease-in-out infinite;animation:antStatusProcessing 1.2s ease-in-out infinite;content:""}.ant-badge-status-default{background-color:#d9d9d9}.ant-badge-status-error{background-color:#ff4d4f}.ant-badge-status-warning{background-color:#faad14}.ant-badge-status-magenta,.ant-badge-status-pink{background:#eb2f96}.ant-badge-status-red{background:#f5222d}.ant-badge-status-volcano{background:#fa541c}.ant-badge-status-orange{background:#fa8c16}.ant-badge-status-yellow{background:#fadb14}.ant-badge-status-gold{background:#faad14}.ant-badge-status-cyan{background:#13c2c2}.ant-badge-status-lime{background:#a0d911}.ant-badge-status-green{background:#52c41a}.ant-badge-status-blue{background:#1890ff}.ant-badge-status-geekblue{background:#2f54eb}.ant-badge-status-purple{background:#722ed1}.ant-badge-status-text{margin-left:8px;color:rgba(0,0,0,.85);font-size:14px}.ant-badge-zoom-appear,.ant-badge-zoom-enter{-webkit-animation:antZoomBadgeIn .3s cubic-bezier(.12,.4,.29,1.46);animation:antZoomBadgeIn .3s cubic-bezier(.12,.4,.29,1.46);-webkit-animation-fill-mode:both;animation-fill-mode:both}.ant-badge-zoom-leave{-webkit-animation:antZoomBadgeOut .3s cubic-bezier(.71,-.46,.88,.6);animation:antZoomBadgeOut .3s cubic-bezier(.71,-.46,.88,.6);-webkit-animation-fill-mode:both;animation-fill-mode:both}.ant-badge-not-a-wrapper .ant-badge-zoom-appear,.ant-badge-not-a-wrapper .ant-badge-zoom-enter{-webkit-animation:antNoWrapperZoomBadgeIn .3s cubic-bezier(.12,.4,.29,1.46);animation:antNoWrapperZoomBadgeIn .3s cubic-bezier(.12,.4,.29,1.46)}.ant-badge-not-a-wrapper .ant-badge-zoom-leave{-webkit-animation:antNoWrapperZoomBadgeOut .3s cubic-bezier(.71,-.46,.88,.6);animation:antNoWrapperZoomBadgeOut .3s cubic-bezier(.71,-.46,.88,.6)}.ant-badge-not-a-wrapper:not(.ant-badge-status){vertical-align:middle}.ant-badge-not-a-wrapper .ant-scroll-number-custom-component{transform:none}.ant-badge-not-a-wrapper .ant-scroll-number,.ant-badge-not-a-wrapper .ant-scroll-number-custom-component{position:relative;top:auto;display:block;transform-origin:50% 50%}@-webkit-keyframes antStatusProcessing{0%{transform:scale(.8);opacity:.5}to{transform:scale(2.4);opacity:0}}@keyframes antStatusProcessing{0%{transform:scale(.8);opacity:.5}to{transform:scale(2.4);opacity:0}}.ant-scroll-number{overflow:hidden}.ant-scroll-number-only{position:relative;display:inline-block;transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-scroll-number-only,.ant-scroll-number-only>p.ant-scroll-number-only-unit{height:20px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.ant-scroll-number-only>p.ant-scroll-number-only-unit{margin:0}.ant-scroll-number-symbol{vertical-align:top}@-webkit-keyframes antZoomBadgeIn{0%{transform:scale(0) translate(50%,-50%);opacity:0}to{transform:scale(1) translate(50%,-50%)}}@keyframes antZoomBadgeIn{0%{transform:scale(0) translate(50%,-50%);opacity:0}to{transform:scale(1) translate(50%,-50%)}}@-webkit-keyframes antZoomBadgeOut{0%{transform:scale(1) translate(50%,-50%)}to{transform:scale(0) translate(50%,-50%);opacity:0}}@keyframes antZoomBadgeOut{0%{transform:scale(1) translate(50%,-50%)}to{transform:scale(0) translate(50%,-50%);opacity:0}}@-webkit-keyframes antNoWrapperZoomBadgeIn{0%{transform:scale(0);opacity:0}to{transform:scale(1)}}@keyframes antNoWrapperZoomBadgeIn{0%{transform:scale(0);opacity:0}to{transform:scale(1)}}@-webkit-keyframes antNoWrapperZoomBadgeOut{0%{transform:scale(1)}to{transform:scale(0);opacity:0}}@keyframes antNoWrapperZoomBadgeOut{0%{transform:scale(1)}to{transform:scale(0);opacity:0}}@-webkit-keyframes antBadgeLoadingCircle{0%{transform-origin:50%}to{transform:translate(50%,-50%) rotate(1turn);transform-origin:50%}}@keyframes antBadgeLoadingCircle{0%{transform-origin:50%}to{transform:translate(50%,-50%) rotate(1turn);transform-origin:50%}}.ant-ribbon-wrapper{position:relative}.ant-ribbon{box-sizing:border-box;margin:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:absolute;top:8px;height:22px;padding:0 8px;color:#fff;line-height:22px;white-space:nowrap;background-color:#1890ff;border-radius:2px}.ant-ribbon-text{color:#fff}.ant-ribbon-corner{position:absolute;top:100%;width:8px;height:8px;color:currentColor;border:4px solid;transform:scaleY(.75);transform-origin:top}.ant-ribbon-corner:after{position:absolute;top:-4px;left:-4px;width:inherit;height:inherit;color:rgba(0,0,0,.25);border:inherit;content:""}.ant-ribbon-color-magenta,.ant-ribbon-color-pink{color:#eb2f96;background:#eb2f96}.ant-ribbon-color-red{color:#f5222d;background:#f5222d}.ant-ribbon-color-volcano{color:#fa541c;background:#fa541c}.ant-ribbon-color-orange{color:#fa8c16;background:#fa8c16}.ant-ribbon-color-yellow{color:#fadb14;background:#fadb14}.ant-ribbon-color-gold{color:#faad14;background:#faad14}.ant-ribbon-color-cyan{color:#13c2c2;background:#13c2c2}.ant-ribbon-color-lime{color:#a0d911;background:#a0d911}.ant-ribbon-color-green{color:#52c41a;background:#52c41a}.ant-ribbon-color-blue{color:#1890ff;background:#1890ff}.ant-ribbon-color-geekblue{color:#2f54eb;background:#2f54eb}.ant-ribbon-color-purple{color:#722ed1;background:#722ed1}.ant-ribbon.ant-ribbon-placement-end{right:-8px;border-bottom-right-radius:0}.ant-ribbon.ant-ribbon-placement-end .ant-ribbon-corner{right:0;border-color:currentColor transparent transparent currentColor}.ant-ribbon.ant-ribbon-placement-start{left:-8px;border-bottom-left-radius:0}.ant-ribbon.ant-ribbon-placement-start .ant-ribbon-corner{left:0;border-color:currentColor currentColor transparent transparent}.ant-badge-rtl{direction:rtl}.ant-badge-rtl .ant-badge-count,.ant-badge-rtl .ant-badge-dot,.ant-badge-rtl .ant-badge .ant-scroll-number-custom-component{right:auto;left:0;direction:ltr;transform:translate(-50%,-50%);transform-origin:0 0}.ant-badge-rtl.ant-badge .ant-scroll-number-custom-component{right:auto;left:0;transform:translate(-50%,-50%);transform-origin:0 0}.ant-badge-rtl .ant-badge-status-text{margin-right:8px;margin-left:0}.ant-badge-rtl .ant-badge-zoom-appear,.ant-badge-rtl .ant-badge-zoom-enter{-webkit-animation-name:antZoomBadgeInRtl;animation-name:antZoomBadgeInRtl}.ant-badge-rtl .ant-badge-zoom-leave{-webkit-animation-name:antZoomBadgeOutRtl;animation-name:antZoomBadgeOutRtl}.ant-badge-not-a-wrapper .ant-badge-count{transform:none}.ant-ribbon-rtl{direction:rtl}.ant-ribbon-rtl.ant-ribbon-placement-end{right:unset;left:-8px;border-bottom-right-radius:2px;border-bottom-left-radius:0}.ant-ribbon-rtl.ant-ribbon-placement-end .ant-ribbon-corner{right:unset;left:0}.ant-ribbon-rtl.ant-ribbon-placement-end .ant-ribbon-corner,.ant-ribbon-rtl.ant-ribbon-placement-end .ant-ribbon-corner:after{border-color:currentColor currentColor transparent transparent}.ant-ribbon-rtl.ant-ribbon-placement-start{right:-8px;left:unset;border-bottom-right-radius:0;border-bottom-left-radius:2px}.ant-ribbon-rtl.ant-ribbon-placement-start .ant-ribbon-corner{right:0;left:unset}.ant-ribbon-rtl.ant-ribbon-placement-start .ant-ribbon-corner,.ant-ribbon-rtl.ant-ribbon-placement-start .ant-ribbon-corner:after{border-color:currentColor transparent transparent currentColor}@-webkit-keyframes antZoomBadgeInRtl{0%{transform:scale(0) translate(-50%,-50%);opacity:0}to{transform:scale(1) translate(-50%,-50%)}}@keyframes antZoomBadgeInRtl{0%{transform:scale(0) translate(-50%,-50%);opacity:0}to{transform:scale(1) translate(-50%,-50%)}}@-webkit-keyframes antZoomBadgeOutRtl{0%{transform:scale(1) translate(-50%,-50%)}to{transform:scale(0) translate(-50%,-50%);opacity:0}}@keyframes antZoomBadgeOutRtl{0%{transform:scale(1) translate(-50%,-50%)}to{transform:scale(0) translate(-50%,-50%);opacity:0}}.ant-breadcrumb{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";color:rgba(0,0,0,.45);font-size:14px}.ant-breadcrumb .anticon{font-size:14px}.ant-breadcrumb a{color:rgba(0,0,0,.45);transition:color .3s}.ant-breadcrumb a:hover{color:#40a9ff}.ant-breadcrumb>span:last-child,.ant-breadcrumb>span:last-child a{color:rgba(0,0,0,.85)}.ant-breadcrumb>span:last-child .ant-breadcrumb-separator{display:none}.ant-breadcrumb-separator{margin:0 8px;color:rgba(0,0,0,.45)}.ant-breadcrumb-link>.anticon+a,.ant-breadcrumb-link>.anticon+span,.ant-breadcrumb-overlay-link>.anticon{margin-left:4px}.ant-breadcrumb-rtl{direction:rtl}.ant-breadcrumb-rtl:before{display:table;content:""}.ant-breadcrumb-rtl:after{display:table;clear:both;content:""}.ant-breadcrumb-rtl>span{float:right}.ant-breadcrumb-rtl .ant-breadcrumb-link>.anticon+a,.ant-breadcrumb-rtl .ant-breadcrumb-link>.anticon+span,.ant-breadcrumb-rtl .ant-breadcrumb-overlay-link>.anticon{margin-right:4px;margin-left:0}.ant-btn{line-height:1.5715;position:relative;display:inline-block;font-weight:400;white-space:nowrap;text-align:center;background-image:none;box-shadow:0 2px 0 rgba(0,0,0,.015);cursor:pointer;transition:all .3s cubic-bezier(.645,.045,.355,1);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;touch-action:manipulation;height:32px;padding:4px 15px;font-size:14px;border-radius:2px;color:rgba(0,0,0,.85);border:1px solid #d9d9d9;background:#fff}.ant-btn>.anticon{line-height:1}.ant-btn,.ant-btn:active,.ant-btn:focus{outline:0}.ant-btn:not([disabled]):hover{text-decoration:none}.ant-btn:not([disabled]):active{outline:0;box-shadow:none}.ant-btn[disabled]{cursor:not-allowed}.ant-btn[disabled]>*{pointer-events:none}.ant-btn-lg{height:40px;padding:6.4px 15px;font-size:16px;border-radius:2px}.ant-btn-sm{height:24px;padding:0 7px;font-size:14px;border-radius:2px}.ant-btn>a:only-child{color:currentColor}.ant-btn>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn:focus,.ant-btn:hover{color:#40a9ff;border-color:#40a9ff;background:#fff}.ant-btn:focus>a:only-child,.ant-btn:hover>a:only-child{color:currentColor}.ant-btn:focus>a:only-child:after,.ant-btn:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn:active{color:#096dd9;border-color:#096dd9;background:#fff}.ant-btn:active>a:only-child{color:currentColor}.ant-btn:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn[disabled],.ant-btn[disabled]:active,.ant-btn[disabled]:focus,.ant-btn[disabled]:hover{color:rgba(0,0,0,.25);border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn[disabled]:active>a:only-child,.ant-btn[disabled]:focus>a:only-child,.ant-btn[disabled]:hover>a:only-child,.ant-btn[disabled]>a:only-child{color:currentColor}.ant-btn[disabled]:active>a:only-child:after,.ant-btn[disabled]:focus>a:only-child:after,.ant-btn[disabled]:hover>a:only-child:after,.ant-btn[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn:active,.ant-btn:focus,.ant-btn:hover{text-decoration:none;background:#fff}.ant-btn>span{display:inline-block}.ant-btn-primary{color:#fff;border-color:#1890ff;background:#1890ff;text-shadow:0 -1px 0 rgba(0,0,0,.12);box-shadow:0 2px 0 rgba(0,0,0,.045)}.ant-btn-primary>a:only-child{color:currentColor}.ant-btn-primary>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-primary:focus,.ant-btn-primary:hover{color:#fff;border-color:#40a9ff;background:#40a9ff}.ant-btn-primary:focus>a:only-child,.ant-btn-primary:hover>a:only-child{color:currentColor}.ant-btn-primary:focus>a:only-child:after,.ant-btn-primary:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-primary:active{color:#fff;border-color:#096dd9;background:#096dd9}.ant-btn-primary:active>a:only-child{color:currentColor}.ant-btn-primary:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-primary[disabled],.ant-btn-primary[disabled]:active,.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:hover{color:rgba(0,0,0,.25);border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-primary[disabled]:active>a:only-child,.ant-btn-primary[disabled]:focus>a:only-child,.ant-btn-primary[disabled]:hover>a:only-child,.ant-btn-primary[disabled]>a:only-child{color:currentColor}.ant-btn-primary[disabled]:active>a:only-child:after,.ant-btn-primary[disabled]:focus>a:only-child:after,.ant-btn-primary[disabled]:hover>a:only-child:after,.ant-btn-primary[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-group .ant-btn-primary:not(:first-child):not(:last-child){border-right-color:#40a9ff;border-left-color:#40a9ff}.ant-btn-group .ant-btn-primary:not(:first-child):not(:last-child):disabled{border-color:#d9d9d9}.ant-btn-group .ant-btn-primary:first-child:not(:last-child){border-right-color:#40a9ff}.ant-btn-group .ant-btn-primary:first-child:not(:last-child)[disabled]{border-right-color:#d9d9d9}.ant-btn-group .ant-btn-primary+.ant-btn-primary,.ant-btn-group .ant-btn-primary:last-child:not(:first-child){border-left-color:#40a9ff}.ant-btn-group .ant-btn-primary+.ant-btn-primary[disabled],.ant-btn-group .ant-btn-primary:last-child:not(:first-child)[disabled]{border-left-color:#d9d9d9}.ant-btn-ghost{color:rgba(0,0,0,.85);border-color:#d9d9d9;background:transparent}.ant-btn-ghost>a:only-child{color:currentColor}.ant-btn-ghost>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-ghost:focus,.ant-btn-ghost:hover{color:#40a9ff;border-color:#40a9ff;background:transparent}.ant-btn-ghost:focus>a:only-child,.ant-btn-ghost:hover>a:only-child{color:currentColor}.ant-btn-ghost:focus>a:only-child:after,.ant-btn-ghost:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-ghost:active{color:#096dd9;border-color:#096dd9;background:transparent}.ant-btn-ghost:active>a:only-child{color:currentColor}.ant-btn-ghost:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-ghost[disabled],.ant-btn-ghost[disabled]:active,.ant-btn-ghost[disabled]:focus,.ant-btn-ghost[disabled]:hover{color:rgba(0,0,0,.25);border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-ghost[disabled]:active>a:only-child,.ant-btn-ghost[disabled]:focus>a:only-child,.ant-btn-ghost[disabled]:hover>a:only-child,.ant-btn-ghost[disabled]>a:only-child{color:currentColor}.ant-btn-ghost[disabled]:active>a:only-child:after,.ant-btn-ghost[disabled]:focus>a:only-child:after,.ant-btn-ghost[disabled]:hover>a:only-child:after,.ant-btn-ghost[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dashed{color:rgba(0,0,0,.85);border-color:#d9d9d9;background:#fff;border-style:dashed}.ant-btn-dashed>a:only-child{color:currentColor}.ant-btn-dashed>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dashed:focus,.ant-btn-dashed:hover{color:#40a9ff;border-color:#40a9ff;background:#fff}.ant-btn-dashed:focus>a:only-child,.ant-btn-dashed:hover>a:only-child{color:currentColor}.ant-btn-dashed:focus>a:only-child:after,.ant-btn-dashed:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dashed:active{color:#096dd9;border-color:#096dd9;background:#fff}.ant-btn-dashed:active>a:only-child{color:currentColor}.ant-btn-dashed:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dashed[disabled],.ant-btn-dashed[disabled]:active,.ant-btn-dashed[disabled]:focus,.ant-btn-dashed[disabled]:hover{color:rgba(0,0,0,.25);border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-dashed[disabled]:active>a:only-child,.ant-btn-dashed[disabled]:focus>a:only-child,.ant-btn-dashed[disabled]:hover>a:only-child,.ant-btn-dashed[disabled]>a:only-child{color:currentColor}.ant-btn-dashed[disabled]:active>a:only-child:after,.ant-btn-dashed[disabled]:focus>a:only-child:after,.ant-btn-dashed[disabled]:hover>a:only-child:after,.ant-btn-dashed[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-danger{color:#fff;border-color:#ff4d4f;background:#ff4d4f;text-shadow:0 -1px 0 rgba(0,0,0,.12);box-shadow:0 2px 0 rgba(0,0,0,.045)}.ant-btn-danger>a:only-child{color:currentColor}.ant-btn-danger>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-danger:focus,.ant-btn-danger:hover{color:#fff;border-color:#ff7875;background:#ff7875}.ant-btn-danger:focus>a:only-child,.ant-btn-danger:hover>a:only-child{color:currentColor}.ant-btn-danger:focus>a:only-child:after,.ant-btn-danger:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-danger:active{color:#fff;border-color:#d9363e;background:#d9363e}.ant-btn-danger:active>a:only-child{color:currentColor}.ant-btn-danger:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-danger[disabled],.ant-btn-danger[disabled]:active,.ant-btn-danger[disabled]:focus,.ant-btn-danger[disabled]:hover{color:rgba(0,0,0,.25);border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-danger[disabled]:active>a:only-child,.ant-btn-danger[disabled]:focus>a:only-child,.ant-btn-danger[disabled]:hover>a:only-child,.ant-btn-danger[disabled]>a:only-child{color:currentColor}.ant-btn-danger[disabled]:active>a:only-child:after,.ant-btn-danger[disabled]:focus>a:only-child:after,.ant-btn-danger[disabled]:hover>a:only-child:after,.ant-btn-danger[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-link{color:#1890ff;border-color:transparent;background:transparent;box-shadow:none}.ant-btn-link>a:only-child{color:currentColor}.ant-btn-link>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-link:focus,.ant-btn-link:hover{color:#40a9ff;border-color:#40a9ff;background:transparent}.ant-btn-link:focus>a:only-child,.ant-btn-link:hover>a:only-child{color:currentColor}.ant-btn-link:focus>a:only-child:after,.ant-btn-link:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-link:active{color:#096dd9;border-color:#096dd9;background:transparent}.ant-btn-link:active>a:only-child{color:currentColor}.ant-btn-link:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-link[disabled],.ant-btn-link[disabled]:active,.ant-btn-link[disabled]:focus,.ant-btn-link[disabled]:hover{border-color:#d9d9d9;background:#f5f5f5}.ant-btn-link:hover{background:transparent}.ant-btn-link:active,.ant-btn-link:focus,.ant-btn-link:hover{border-color:transparent}.ant-btn-link[disabled],.ant-btn-link[disabled]:active,.ant-btn-link[disabled]:focus,.ant-btn-link[disabled]:hover{color:rgba(0,0,0,.25);border-color:transparent;background:transparent;text-shadow:none;box-shadow:none}.ant-btn-link[disabled]:active>a:only-child,.ant-btn-link[disabled]:focus>a:only-child,.ant-btn-link[disabled]:hover>a:only-child,.ant-btn-link[disabled]>a:only-child{color:currentColor}.ant-btn-link[disabled]:active>a:only-child:after,.ant-btn-link[disabled]:focus>a:only-child:after,.ant-btn-link[disabled]:hover>a:only-child:after,.ant-btn-link[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-text{color:rgba(0,0,0,.85);border-color:transparent;background:transparent;box-shadow:none}.ant-btn-text>a:only-child{color:currentColor}.ant-btn-text>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-text:focus,.ant-btn-text:hover{color:#40a9ff;border-color:#40a9ff;background:transparent}.ant-btn-text:focus>a:only-child,.ant-btn-text:hover>a:only-child{color:currentColor}.ant-btn-text:focus>a:only-child:after,.ant-btn-text:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-text:active{color:#096dd9;border-color:#096dd9;background:transparent}.ant-btn-text:active>a:only-child{color:currentColor}.ant-btn-text:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-text[disabled],.ant-btn-text[disabled]:active,.ant-btn-text[disabled]:focus,.ant-btn-text[disabled]:hover{border-color:#d9d9d9;background:#f5f5f5}.ant-btn-text:focus,.ant-btn-text:hover{color:rgba(0,0,0,.85);background:rgba(0,0,0,.018);border-color:transparent}.ant-btn-text:active{color:rgba(0,0,0,.85);background:rgba(0,0,0,.028);border-color:transparent}.ant-btn-text[disabled],.ant-btn-text[disabled]:active,.ant-btn-text[disabled]:focus,.ant-btn-text[disabled]:hover{color:rgba(0,0,0,.25);border-color:transparent;background:transparent;text-shadow:none;box-shadow:none}.ant-btn-text[disabled]:active>a:only-child,.ant-btn-text[disabled]:focus>a:only-child,.ant-btn-text[disabled]:hover>a:only-child,.ant-btn-text[disabled]>a:only-child{color:currentColor}.ant-btn-text[disabled]:active>a:only-child:after,.ant-btn-text[disabled]:focus>a:only-child:after,.ant-btn-text[disabled]:hover>a:only-child:after,.ant-btn-text[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dangerous{color:#ff4d4f;border-color:#ff4d4f;background:#fff}.ant-btn-dangerous>a:only-child{color:currentColor}.ant-btn-dangerous>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dangerous:focus,.ant-btn-dangerous:hover{color:#ff7875;border-color:#ff7875;background:#fff}.ant-btn-dangerous:focus>a:only-child,.ant-btn-dangerous:hover>a:only-child{color:currentColor}.ant-btn-dangerous:focus>a:only-child:after,.ant-btn-dangerous:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dangerous:active{color:#d9363e;border-color:#d9363e;background:#fff}.ant-btn-dangerous:active>a:only-child{color:currentColor}.ant-btn-dangerous:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dangerous[disabled],.ant-btn-dangerous[disabled]:active,.ant-btn-dangerous[disabled]:focus,.ant-btn-dangerous[disabled]:hover{color:rgba(0,0,0,.25);border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-dangerous[disabled]:active>a:only-child,.ant-btn-dangerous[disabled]:focus>a:only-child,.ant-btn-dangerous[disabled]:hover>a:only-child,.ant-btn-dangerous[disabled]>a:only-child{color:currentColor}.ant-btn-dangerous[disabled]:active>a:only-child:after,.ant-btn-dangerous[disabled]:focus>a:only-child:after,.ant-btn-dangerous[disabled]:hover>a:only-child:after,.ant-btn-dangerous[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-primary{color:#fff;border-color:#ff4d4f;background:#ff4d4f;text-shadow:0 -1px 0 rgba(0,0,0,.12);box-shadow:0 2px 0 rgba(0,0,0,.045)}.ant-btn-dangerous.ant-btn-primary>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-primary>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-primary:focus,.ant-btn-dangerous.ant-btn-primary:hover{color:#fff;border-color:#ff7875;background:#ff7875}.ant-btn-dangerous.ant-btn-primary:focus>a:only-child,.ant-btn-dangerous.ant-btn-primary:hover>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-primary:focus>a:only-child:after,.ant-btn-dangerous.ant-btn-primary:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-primary:active{color:#fff;border-color:#d9363e;background:#d9363e}.ant-btn-dangerous.ant-btn-primary:active>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-primary:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-primary[disabled],.ant-btn-dangerous.ant-btn-primary[disabled]:active,.ant-btn-dangerous.ant-btn-primary[disabled]:focus,.ant-btn-dangerous.ant-btn-primary[disabled]:hover{color:rgba(0,0,0,.25);border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-dangerous.ant-btn-primary[disabled]:active>a:only-child,.ant-btn-dangerous.ant-btn-primary[disabled]:focus>a:only-child,.ant-btn-dangerous.ant-btn-primary[disabled]:hover>a:only-child,.ant-btn-dangerous.ant-btn-primary[disabled]>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-primary[disabled]:active>a:only-child:after,.ant-btn-dangerous.ant-btn-primary[disabled]:focus>a:only-child:after,.ant-btn-dangerous.ant-btn-primary[disabled]:hover>a:only-child:after,.ant-btn-dangerous.ant-btn-primary[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-link{color:#ff4d4f;border-color:transparent;background:transparent;box-shadow:none}.ant-btn-dangerous.ant-btn-link>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-link>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-link:focus,.ant-btn-dangerous.ant-btn-link:hover{color:#40a9ff;border-color:#40a9ff}.ant-btn-dangerous.ant-btn-link:active{color:#096dd9;border-color:#096dd9}.ant-btn-dangerous.ant-btn-link[disabled],.ant-btn-dangerous.ant-btn-link[disabled]:active,.ant-btn-dangerous.ant-btn-link[disabled]:focus,.ant-btn-dangerous.ant-btn-link[disabled]:hover{border-color:#d9d9d9;background:#f5f5f5}.ant-btn-dangerous.ant-btn-link:focus,.ant-btn-dangerous.ant-btn-link:hover{color:#ff7875;border-color:transparent;background:transparent}.ant-btn-dangerous.ant-btn-link:focus>a:only-child,.ant-btn-dangerous.ant-btn-link:hover>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-link:focus>a:only-child:after,.ant-btn-dangerous.ant-btn-link:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-link:active{color:#d9363e;border-color:transparent;background:transparent}.ant-btn-dangerous.ant-btn-link:active>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-link:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-link[disabled],.ant-btn-dangerous.ant-btn-link[disabled]:active,.ant-btn-dangerous.ant-btn-link[disabled]:focus,.ant-btn-dangerous.ant-btn-link[disabled]:hover{color:rgba(0,0,0,.25);border-color:transparent;background:transparent;text-shadow:none;box-shadow:none}.ant-btn-dangerous.ant-btn-link[disabled]:active>a:only-child,.ant-btn-dangerous.ant-btn-link[disabled]:focus>a:only-child,.ant-btn-dangerous.ant-btn-link[disabled]:hover>a:only-child,.ant-btn-dangerous.ant-btn-link[disabled]>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-link[disabled]:active>a:only-child:after,.ant-btn-dangerous.ant-btn-link[disabled]:focus>a:only-child:after,.ant-btn-dangerous.ant-btn-link[disabled]:hover>a:only-child:after,.ant-btn-dangerous.ant-btn-link[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-text{color:#ff4d4f;border-color:transparent;background:transparent;box-shadow:none}.ant-btn-dangerous.ant-btn-text>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-text>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-text:focus,.ant-btn-dangerous.ant-btn-text:hover{color:#40a9ff;border-color:#40a9ff;background:transparent}.ant-btn-dangerous.ant-btn-text:active{color:#096dd9;border-color:#096dd9;background:transparent}.ant-btn-dangerous.ant-btn-text[disabled],.ant-btn-dangerous.ant-btn-text[disabled]:active,.ant-btn-dangerous.ant-btn-text[disabled]:focus,.ant-btn-dangerous.ant-btn-text[disabled]:hover{border-color:#d9d9d9;background:#f5f5f5}.ant-btn-dangerous.ant-btn-text:focus,.ant-btn-dangerous.ant-btn-text:hover{color:#ff7875;border-color:transparent;background:rgba(0,0,0,.018)}.ant-btn-dangerous.ant-btn-text:focus>a:only-child,.ant-btn-dangerous.ant-btn-text:hover>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-text:focus>a:only-child:after,.ant-btn-dangerous.ant-btn-text:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-text:active{color:#d9363e;border-color:transparent;background:rgba(0,0,0,.028)}.ant-btn-dangerous.ant-btn-text:active>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-text:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-text[disabled],.ant-btn-dangerous.ant-btn-text[disabled]:active,.ant-btn-dangerous.ant-btn-text[disabled]:focus,.ant-btn-dangerous.ant-btn-text[disabled]:hover{color:rgba(0,0,0,.25);border-color:transparent;background:transparent;text-shadow:none;box-shadow:none}.ant-btn-dangerous.ant-btn-text[disabled]:active>a:only-child,.ant-btn-dangerous.ant-btn-text[disabled]:focus>a:only-child,.ant-btn-dangerous.ant-btn-text[disabled]:hover>a:only-child,.ant-btn-dangerous.ant-btn-text[disabled]>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-text[disabled]:active>a:only-child:after,.ant-btn-dangerous.ant-btn-text[disabled]:focus>a:only-child:after,.ant-btn-dangerous.ant-btn-text[disabled]:hover>a:only-child:after,.ant-btn-dangerous.ant-btn-text[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-icon-only{width:32px;height:32px;padding:2.4px 0;font-size:16px;border-radius:2px;vertical-align:-3px}.ant-btn-icon-only>*{font-size:16px}.ant-btn-icon-only.ant-btn-lg{width:40px;height:40px;padding:4.9px 0;font-size:18px;border-radius:2px}.ant-btn-icon-only.ant-btn-lg>*{font-size:18px}.ant-btn-icon-only.ant-btn-sm{width:24px;height:24px;padding:0;font-size:14px;border-radius:2px}.ant-btn-icon-only.ant-btn-sm>*{font-size:14px}.ant-btn-icon-only>.anticon{display:flex;justify-content:center}.ant-btn-round{height:32px;padding:4px 16px;font-size:14px;border-radius:32px}.ant-btn-round.ant-btn-lg{height:40px;padding:6.4px 20px;font-size:16px;border-radius:40px}.ant-btn-round.ant-btn-sm{height:24px;padding:0 12px;font-size:14px;border-radius:24px}.ant-btn-round.ant-btn-icon-only{width:auto}.ant-btn-circle{min-width:32px;padding-right:0;padding-left:0;text-align:center;border-radius:50%}.ant-btn-circle.ant-btn-lg{min-width:40px;border-radius:50%}.ant-btn-circle.ant-btn-sm{min-width:24px;border-radius:50%}.ant-btn:before{position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;z-index:1;display:none;background:#fff;border-radius:inherit;opacity:.35;transition:opacity .2s;content:"";pointer-events:none}.ant-btn .anticon{transition:margin-left .3s cubic-bezier(.645,.045,.355,1)}.ant-btn .anticon.anticon-minus>svg,.ant-btn .anticon.anticon-plus>svg{shape-rendering:optimizeSpeed}.ant-btn.ant-btn-loading{position:relative}.ant-btn.ant-btn-loading:not([disabled]){pointer-events:none}.ant-btn.ant-btn-loading:before{display:block}.ant-btn>.ant-btn-loading-icon{transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-btn>.ant-btn-loading-icon .anticon{padding-right:8px;-webkit-animation:none;animation:none}.ant-btn>.ant-btn-loading-icon .anticon svg{-webkit-animation:loadingCircle 1s linear infinite;animation:loadingCircle 1s linear infinite}.ant-btn-group{display:inline-flex}.ant-btn-group,.ant-btn-group>.ant-btn,.ant-btn-group>span>.ant-btn{position:relative}.ant-btn-group>.ant-btn:active,.ant-btn-group>.ant-btn:focus,.ant-btn-group>.ant-btn:hover,.ant-btn-group>span>.ant-btn:active,.ant-btn-group>span>.ant-btn:focus,.ant-btn-group>span>.ant-btn:hover{z-index:2}.ant-btn-group>.ant-btn[disabled],.ant-btn-group>span>.ant-btn[disabled]{z-index:0}.ant-btn-group .ant-btn-icon-only{font-size:14px}.ant-btn-group-lg>.ant-btn,.ant-btn-group-lg>span>.ant-btn{height:40px;padding:6.4px 15px;font-size:16px;border-radius:0}.ant-btn-group-lg .ant-btn.ant-btn-icon-only{width:40px;height:40px;padding-right:0;padding-left:0}.ant-btn-group-sm>.ant-btn,.ant-btn-group-sm>span>.ant-btn{height:24px;padding:0 7px;font-size:14px;border-radius:0}.ant-btn-group-sm>.ant-btn>.anticon,.ant-btn-group-sm>span>.ant-btn>.anticon{font-size:14px}.ant-btn-group-sm .ant-btn.ant-btn-icon-only{width:24px;height:24px;padding-right:0;padding-left:0}.ant-btn+.ant-btn-group,.ant-btn-group+.ant-btn,.ant-btn-group+.ant-btn-group,.ant-btn-group .ant-btn+.ant-btn,.ant-btn-group .ant-btn+span,.ant-btn-group>span+span,.ant-btn-group span+.ant-btn{margin-left:-1px}.ant-btn-group .ant-btn-primary+.ant-btn:not(.ant-btn-primary):not([disabled]){border-left-color:transparent}.ant-btn-group .ant-btn{border-radius:0}.ant-btn-group>.ant-btn:first-child,.ant-btn-group>span:first-child>.ant-btn{margin-left:0}.ant-btn-group>.ant-btn:only-child,.ant-btn-group>span:only-child>.ant-btn{border-radius:2px}.ant-btn-group>.ant-btn:first-child:not(:last-child),.ant-btn-group>span:first-child:not(:last-child)>.ant-btn{border-top-left-radius:2px;border-bottom-left-radius:2px}.ant-btn-group>.ant-btn:last-child:not(:first-child),.ant-btn-group>span:last-child:not(:first-child)>.ant-btn{border-top-right-radius:2px;border-bottom-right-radius:2px}.ant-btn-group-sm>.ant-btn:only-child,.ant-btn-group-sm>span:only-child>.ant-btn{border-radius:2px}.ant-btn-group-sm>.ant-btn:first-child:not(:last-child),.ant-btn-group-sm>span:first-child:not(:last-child)>.ant-btn{border-top-left-radius:2px;border-bottom-left-radius:2px}.ant-btn-group-sm>.ant-btn:last-child:not(:first-child),.ant-btn-group-sm>span:last-child:not(:first-child)>.ant-btn{border-top-right-radius:2px;border-bottom-right-radius:2px}.ant-btn-group>.ant-btn-group{float:left}.ant-btn-group>.ant-btn-group:not(:first-child):not(:last-child)>.ant-btn{border-radius:0}.ant-btn-group>.ant-btn-group:first-child:not(:last-child)>.ant-btn:last-child{padding-right:8px;border-top-right-radius:0;border-bottom-right-radius:0}.ant-btn-group>.ant-btn-group:last-child:not(:first-child)>.ant-btn:first-child{padding-left:8px;border-top-left-radius:0;border-bottom-left-radius:0}.ant-btn-group-rtl.ant-btn+.ant-btn-group,.ant-btn-group-rtl.ant-btn-group+.ant-btn,.ant-btn-group-rtl.ant-btn-group+.ant-btn-group,.ant-btn-group-rtl.ant-btn-group .ant-btn+.ant-btn,.ant-btn-group-rtl.ant-btn-group .ant-btn+span,.ant-btn-group-rtl.ant-btn-group>span+span,.ant-btn-group-rtl.ant-btn-group span+.ant-btn,.ant-btn-rtl.ant-btn+.ant-btn-group,.ant-btn-rtl.ant-btn-group+.ant-btn,.ant-btn-rtl.ant-btn-group+.ant-btn-group,.ant-btn-rtl.ant-btn-group .ant-btn+.ant-btn,.ant-btn-rtl.ant-btn-group .ant-btn+span,.ant-btn-rtl.ant-btn-group>span+span,.ant-btn-rtl.ant-btn-group span+.ant-btn{margin-right:-1px;margin-left:auto}.ant-btn-group.ant-btn-group-rtl{direction:rtl}.ant-btn-group-rtl.ant-btn-group>.ant-btn:first-child:not(:last-child),.ant-btn-group-rtl.ant-btn-group>span:first-child:not(:last-child)>.ant-btn{border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}.ant-btn-group-rtl.ant-btn-group>.ant-btn:last-child:not(:first-child),.ant-btn-group-rtl.ant-btn-group>span:last-child:not(:first-child)>.ant-btn{border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.ant-btn-group-rtl.ant-btn-group-sm>.ant-btn:first-child:not(:last-child),.ant-btn-group-rtl.ant-btn-group-sm>span:first-child:not(:last-child)>.ant-btn{border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}.ant-btn-group-rtl.ant-btn-group-sm>.ant-btn:last-child:not(:first-child),.ant-btn-group-rtl.ant-btn-group-sm>span:last-child:not(:first-child)>.ant-btn{border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.ant-btn:active>span,.ant-btn:focus>span{position:relative}.ant-btn>.anticon+span,.ant-btn>span+.anticon{margin-left:8px}.ant-btn.ant-btn-background-ghost{color:#fff;border-color:#fff}.ant-btn.ant-btn-background-ghost,.ant-btn.ant-btn-background-ghost:active,.ant-btn.ant-btn-background-ghost:focus,.ant-btn.ant-btn-background-ghost:hover{background:transparent}.ant-btn-background-ghost.ant-btn-primary{color:#1890ff;border-color:#1890ff;text-shadow:none}.ant-btn-background-ghost.ant-btn-primary>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-primary>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-primary:focus,.ant-btn-background-ghost.ant-btn-primary:hover{color:#40a9ff;border-color:#40a9ff}.ant-btn-background-ghost.ant-btn-primary:focus>a:only-child,.ant-btn-background-ghost.ant-btn-primary:hover>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-primary:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-primary:active{color:#096dd9;border-color:#096dd9}.ant-btn-background-ghost.ant-btn-primary:active>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-primary:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-primary[disabled],.ant-btn-background-ghost.ant-btn-primary[disabled]:active,.ant-btn-background-ghost.ant-btn-primary[disabled]:focus,.ant-btn-background-ghost.ant-btn-primary[disabled]:hover{color:rgba(0,0,0,.25);border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-background-ghost.ant-btn-primary[disabled]:active>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled]:focus>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled]:hover>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled]>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-primary[disabled]:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled]:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled]:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-danger{color:#ff4d4f;border-color:#ff4d4f;text-shadow:none}.ant-btn-background-ghost.ant-btn-danger>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-danger>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-danger:focus,.ant-btn-background-ghost.ant-btn-danger:hover{color:#ff7875;border-color:#ff7875}.ant-btn-background-ghost.ant-btn-danger:focus>a:only-child,.ant-btn-background-ghost.ant-btn-danger:hover>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-danger:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-danger:active{color:#d9363e;border-color:#d9363e}.ant-btn-background-ghost.ant-btn-danger:active>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-danger:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-danger[disabled],.ant-btn-background-ghost.ant-btn-danger[disabled]:active,.ant-btn-background-ghost.ant-btn-danger[disabled]:focus,.ant-btn-background-ghost.ant-btn-danger[disabled]:hover{color:rgba(0,0,0,.25);border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-background-ghost.ant-btn-danger[disabled]:active>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled]:focus>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled]:hover>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled]>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-danger[disabled]:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled]:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled]:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-dangerous{color:#ff4d4f;border-color:#ff4d4f;text-shadow:none}.ant-btn-background-ghost.ant-btn-dangerous>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-dangerous>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-dangerous:focus,.ant-btn-background-ghost.ant-btn-dangerous:hover{color:#ff7875;border-color:#ff7875}.ant-btn-background-ghost.ant-btn-dangerous:focus>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous:hover>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-dangerous:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-dangerous:active{color:#d9363e;border-color:#d9363e}.ant-btn-background-ghost.ant-btn-dangerous:active>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-dangerous:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-dangerous[disabled],.ant-btn-background-ghost.ant-btn-dangerous[disabled]:active,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:focus,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:hover{color:rgba(0,0,0,.25);border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-background-ghost.ant-btn-dangerous[disabled]:active>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:focus>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:hover>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous[disabled]>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-dangerous[disabled]:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link{color:#ff4d4f;border-color:transparent;text-shadow:none}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:focus,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:hover{color:#ff7875;border-color:transparent}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:focus>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:hover>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:active{color:#d9363e;border-color:transparent}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:active>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled],.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:active,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:focus,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:hover{color:rgba(0,0,0,.25);border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:active>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:focus>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:hover>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-two-chinese-chars:first-letter{letter-spacing:.34em}.ant-btn-two-chinese-chars>:not(.anticon){margin-right:-.34em;letter-spacing:.34em}.ant-btn-block{width:100%}.ant-btn:empty{display:inline-block;width:0;visibility:hidden;content:"\\a0"}a.ant-btn{padding-top:.01px!important;line-height:30px}a.ant-btn-lg{line-height:38px}a.ant-btn-sm{line-height:22px}.ant-btn-rtl{direction:rtl}.ant-btn-group-rtl.ant-btn-group .ant-btn-primary+.ant-btn-primary,.ant-btn-group-rtl.ant-btn-group .ant-btn-primary:last-child:not(:first-child){border-right-color:#40a9ff;border-left-color:#d9d9d9}.ant-btn-group-rtl.ant-btn-group .ant-btn-primary+.ant-btn-primary[disabled],.ant-btn-group-rtl.ant-btn-group .ant-btn-primary:last-child:not(:first-child)[disabled]{border-right-color:#d9d9d9;border-left-color:#40a9ff}.ant-btn-rtl.ant-btn>.ant-btn-loading-icon .anticon{padding-right:0;padding-left:8px}.ant-btn>.ant-btn-loading-icon:only-child .anticon{padding-right:0;padding-left:0}.ant-btn-rtl.ant-btn>.anticon+span,.ant-btn-rtl.ant-btn>span+.anticon{margin-right:8px;margin-left:0}.ant-picker-calendar{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";background:#fff}.ant-picker-calendar-header{display:flex;justify-content:flex-end;padding:12px 0}.ant-picker-calendar-header .ant-picker-calendar-year-select{min-width:80px}.ant-picker-calendar-header .ant-picker-calendar-month-select{min-width:70px;margin-left:8px}.ant-picker-calendar-header .ant-picker-calendar-mode-switch{margin-left:8px}.ant-picker-calendar .ant-picker-panel{background:#fff;border:0;border-top:1px solid #f0f0f0;border-radius:0}.ant-picker-calendar .ant-picker-panel .ant-picker-date-panel,.ant-picker-calendar .ant-picker-panel .ant-picker-month-panel{width:auto}.ant-picker-calendar .ant-picker-panel .ant-picker-body{padding:8px 0}.ant-picker-calendar .ant-picker-panel .ant-picker-content{width:100%}.ant-picker-calendar-mini{border-radius:2px}.ant-picker-calendar-mini .ant-picker-calendar-header{padding-right:8px;padding-left:8px}.ant-picker-calendar-mini .ant-picker-panel{border-radius:0 0 2px 2px}.ant-picker-calendar-mini .ant-picker-content{height:256px}.ant-picker-calendar-mini .ant-picker-content th{height:auto;padding:0;line-height:18px}.ant-picker-calendar-full .ant-picker-panel{display:block;width:100%;text-align:right;background:#fff;border:0}.ant-picker-calendar-full .ant-picker-panel .ant-picker-body td,.ant-picker-calendar-full .ant-picker-panel .ant-picker-body th{padding:0}.ant-picker-calendar-full .ant-picker-panel .ant-picker-body th{height:auto;padding:0 12px 5px 0;line-height:18px}.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell:before{display:none}.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell:hover .ant-picker-calendar-date{background:#f5f5f5}.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell .ant-picker-calendar-date-today:before{display:none}.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected .ant-picker-calendar-date,.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected .ant-picker-calendar-date-today,.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected:hover .ant-picker-calendar-date,.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected:hover .ant-picker-calendar-date-today{background:#e6f7ff}.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected .ant-picker-calendar-date-today .ant-picker-calendar-date-value,.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected .ant-picker-calendar-date .ant-picker-calendar-date-value,.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected:hover .ant-picker-calendar-date-today .ant-picker-calendar-date-value,.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected:hover .ant-picker-calendar-date .ant-picker-calendar-date-value{color:#1890ff}.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date{display:block;width:auto;height:auto;margin:0 4px;padding:4px 8px 0;border:0;border-top:2px solid #f0f0f0;border-radius:0;transition:background .3s}.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-value{line-height:24px;transition:color .3s}.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-content{position:static;width:auto;height:86px;overflow-y:auto;color:rgba(0,0,0,.85);line-height:1.5715;text-align:left}.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-today{border-color:#1890ff}.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-today .ant-picker-calendar-date-value{color:rgba(0,0,0,.85)}@media only screen and (max-width:480px){.ant-picker-calendar-header{display:block}.ant-picker-calendar-header .ant-picker-calendar-year-select{width:50%}.ant-picker-calendar-header .ant-picker-calendar-month-select{width:calc(50% - 8px)}.ant-picker-calendar-header .ant-picker-calendar-mode-switch{width:100%;margin-top:8px;margin-left:0}.ant-picker-calendar-header .ant-picker-calendar-mode-switch>label{width:50%;text-align:center}}.ant-picker-calendar-rtl{direction:rtl}.ant-picker-calendar-rtl .ant-picker-calendar-header .ant-picker-calendar-mode-switch,.ant-picker-calendar-rtl .ant-picker-calendar-header .ant-picker-calendar-month-select{margin-right:8px;margin-left:0}.ant-picker-calendar-rtl.ant-picker-calendar-full .ant-picker-panel{text-align:left}.ant-picker-calendar-rtl.ant-picker-calendar-full .ant-picker-panel .ant-picker-body th{padding:0 0 5px 12px}.ant-picker-calendar-rtl.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-content{text-align:right}.ant-card{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;background:#fff;border-radius:2px}.ant-card-rtl{direction:rtl}.ant-card-hoverable{cursor:pointer;transition:box-shadow .3s,border-color .3s}.ant-card-hoverable:hover{border-color:transparent;box-shadow:0 1px 2px -2px rgba(0,0,0,.16),0 3px 6px 0 rgba(0,0,0,.12),0 5px 12px 4px rgba(0,0,0,.09)}.ant-card-bordered{border:1px solid #f0f0f0}.ant-card-head{min-height:48px;margin-bottom:-1px;padding:0 24px;color:rgba(0,0,0,.85);font-weight:500;font-size:16px;background:transparent;border-bottom:1px solid #f0f0f0;border-radius:2px 2px 0 0}.ant-card-head:after,.ant-card-head:before{display:table;content:""}.ant-card-head:after{clear:both}.ant-card-head-wrapper{display:flex;align-items:center}.ant-card-head-title{display:inline-block;flex:1;padding:16px 0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-card-head-title>.ant-typography,.ant-card-head-title>.ant-typography-edit-content{left:0;margin-top:0;margin-bottom:0}.ant-card-head .ant-tabs{clear:both;margin-bottom:-17px;color:rgba(0,0,0,.85);font-weight:400;font-size:14px}.ant-card-head .ant-tabs-bar{border-bottom:1px solid #f0f0f0}.ant-card-extra{float:right;margin-left:auto;padding:16px 0;color:rgba(0,0,0,.85);font-weight:400;font-size:14px}.ant-card-rtl .ant-card-extra{margin-right:auto;margin-left:0}.ant-card-body{padding:24px}.ant-card-body:after,.ant-card-body:before{display:table;content:""}.ant-card-body:after{clear:both}.ant-card-contain-grid:not(.ant-card-loading) .ant-card-body{margin:-1px 0 0 -1px;padding:0}.ant-card-grid{float:left;width:33.33%;padding:24px;border:0;border-radius:0;box-shadow:1px 0 0 0 #f0f0f0,0 1px 0 0 #f0f0f0,1px 1px 0 0 #f0f0f0,inset 1px 0 0 0 #f0f0f0,inset 0 1px 0 0 #f0f0f0;transition:all .3s}.ant-card-rtl .ant-card-grid{float:right}.ant-card-grid-hoverable:hover{position:relative;z-index:1;box-shadow:0 1px 2px -2px rgba(0,0,0,.16),0 3px 6px 0 rgba(0,0,0,.12),0 5px 12px 4px rgba(0,0,0,.09)}.ant-card-contain-tabs>.ant-card-head .ant-card-head-title{min-height:32px;padding-bottom:0}.ant-card-contain-tabs>.ant-card-head .ant-card-extra{padding-bottom:0}.ant-card-bordered .ant-card-cover{margin-top:-1px;margin-right:-1px;margin-left:-1px}.ant-card-cover>*{display:block;width:100%}.ant-card-cover img{border-radius:2px 2px 0 0}.ant-card-actions{margin:0;padding:0;list-style:none;background:#fff;border-top:1px solid #f0f0f0}.ant-card-actions:after,.ant-card-actions:before{display:table;content:""}.ant-card-actions:after{clear:both}.ant-card-actions>li{float:left;margin:12px 0;color:rgba(0,0,0,.45);text-align:center}.ant-card-rtl .ant-card-actions>li{float:right}.ant-card-actions>li>span{position:relative;display:block;min-width:32px;font-size:14px;line-height:1.5715;cursor:pointer}.ant-card-actions>li>span:hover{color:#1890ff;transition:color .3s}.ant-card-actions>li>span>.anticon,.ant-card-actions>li>span a:not(.ant-btn){display:inline-block;width:100%;color:rgba(0,0,0,.45);line-height:22px;transition:color .3s}.ant-card-actions>li>span>.anticon:hover,.ant-card-actions>li>span a:not(.ant-btn):hover{color:#1890ff}.ant-card-actions>li>span>.anticon{font-size:16px;line-height:22px}.ant-card-actions>li:not(:last-child){border-right:1px solid #f0f0f0}.ant-card-rtl .ant-card-actions>li:not(:last-child){border-right:none;border-left:1px solid #f0f0f0}.ant-card-type-inner .ant-card-head{padding:0 24px;background:#fafafa}.ant-card-type-inner .ant-card-head-title{padding:12px 0;font-size:14px}.ant-card-type-inner .ant-card-body{padding:16px 24px}.ant-card-type-inner .ant-card-extra{padding:13.5px 0}.ant-card-meta{margin:-4px 0}.ant-card-meta:after,.ant-card-meta:before{display:table;content:""}.ant-card-meta:after{clear:both}.ant-card-meta-avatar{float:left;padding-right:16px}.ant-card-rtl .ant-card-meta-avatar{float:right;padding-right:0;padding-left:16px}.ant-card-meta-detail{overflow:hidden}.ant-card-meta-detail>div:not(:last-child){margin-bottom:8px}.ant-card-meta-title{overflow:hidden;color:rgba(0,0,0,.85);font-weight:500;font-size:16px;white-space:nowrap;text-overflow:ellipsis}.ant-card-meta-description{color:rgba(0,0,0,.45)}.ant-card-loading{overflow:hidden}.ant-card-loading .ant-card-body{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-card-loading-content p{margin:0}.ant-card-loading-block{height:14px;margin:4px 0;background:linear-gradient(90deg,rgba(207,216,220,.2),rgba(207,216,220,.4),rgba(207,216,220,.2));background-size:600% 600%;border-radius:2px;-webkit-animation:card-loading 1.4s ease infinite;animation:card-loading 1.4s ease infinite}@-webkit-keyframes card-loading{0%,to{background-position:0 50%}50%{background-position:100% 50%}}@keyframes card-loading{0%,to{background-position:0 50%}50%{background-position:100% 50%}}.ant-card-small>.ant-card-head{min-height:36px;padding:0 12px;font-size:14px}.ant-card-small>.ant-card-head>.ant-card-head-wrapper>.ant-card-head-title{padding:8px 0}.ant-card-small>.ant-card-head>.ant-card-head-wrapper>.ant-card-extra{padding:8px 0;font-size:14px}.ant-card-small>.ant-card-body{padding:12px}.ant-carousel{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum"}.ant-carousel .slick-slider{position:relative;display:block;box-sizing:border-box;touch-action:pan-y;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}.ant-carousel .slick-list{position:relative;display:block;margin:0;padding:0;overflow:hidden}.ant-carousel .slick-list:focus{outline:none}.ant-carousel .slick-list.dragging{cursor:pointer}.ant-carousel .slick-list .slick-slide{pointer-events:none}.ant-carousel .slick-list .slick-slide input.ant-checkbox-input,.ant-carousel .slick-list .slick-slide input.ant-radio-input{visibility:hidden}.ant-carousel .slick-list .slick-slide.slick-active{pointer-events:auto}.ant-carousel .slick-list .slick-slide.slick-active input.ant-checkbox-input,.ant-carousel .slick-list .slick-slide.slick-active input.ant-radio-input{visibility:visible}.ant-carousel .slick-list .slick-slide>div>div{vertical-align:bottom}.ant-carousel .slick-slider .slick-list,.ant-carousel .slick-slider .slick-track{transform:translateZ(0);touch-action:pan-y}.ant-carousel .slick-track{position:relative;top:0;left:0;display:block}.ant-carousel .slick-track:after,.ant-carousel .slick-track:before{display:table;content:""}.ant-carousel .slick-track:after{clear:both}.slick-loading .ant-carousel .slick-track{visibility:hidden}.ant-carousel .slick-slide{display:none;float:left;height:100%;min-height:1px}.ant-carousel .slick-slide img{display:block}.ant-carousel .slick-slide.slick-loading img{display:none}.ant-carousel .slick-slide.dragging img{pointer-events:none}.ant-carousel .slick-initialized .slick-slide{display:block}.ant-carousel .slick-loading .slick-slide{visibility:hidden}.ant-carousel .slick-vertical .slick-slide{display:block;height:auto}.ant-carousel .slick-arrow.slick-hidden{display:none}.ant-carousel .slick-next,.ant-carousel .slick-prev{position:absolute;top:50%;display:block;width:20px;height:20px;margin-top:-10px;padding:0;font-size:0;line-height:0;border:0;cursor:pointer}.ant-carousel .slick-next,.ant-carousel .slick-next:focus,.ant-carousel .slick-next:hover,.ant-carousel .slick-prev,.ant-carousel .slick-prev:focus,.ant-carousel .slick-prev:hover{color:transparent;background:transparent;outline:none}.ant-carousel .slick-next:focus:before,.ant-carousel .slick-next:hover:before,.ant-carousel .slick-prev:focus:before,.ant-carousel .slick-prev:hover:before{opacity:1}.ant-carousel .slick-next.slick-disabled:before,.ant-carousel .slick-prev.slick-disabled:before{opacity:.25}.ant-carousel .slick-prev{left:-25px}.ant-carousel .slick-prev:before{content:"←"}.ant-carousel .slick-next{right:-25px}.ant-carousel .slick-next:before{content:"→"}.ant-carousel .slick-dots{position:absolute;right:0;bottom:0;left:0;z-index:15;display:flex!important;justify-content:center;margin-right:15%;margin-left:15%;padding-left:0;list-style:none}.ant-carousel .slick-dots-bottom{bottom:12px}.ant-carousel .slick-dots-top{top:12px;bottom:auto}.ant-carousel .slick-dots li{position:relative;display:inline-block;flex:0 1 auto;box-sizing:content-box;width:16px;height:3px;margin:0 3px;padding:0;text-align:center;text-indent:-999px;vertical-align:top;transition:all .5s}.ant-carousel .slick-dots li button{display:block;width:100%;height:3px;padding:0;color:transparent;font-size:0;background:#fff;border:0;border-radius:1px;outline:none;cursor:pointer;opacity:.3;transition:all .5s}.ant-carousel .slick-dots li button:focus,.ant-carousel .slick-dots li button:hover{opacity:.75}.ant-carousel .slick-dots li.slick-active{width:24px}.ant-carousel .slick-dots li.slick-active button{background:#fff;opacity:1}.ant-carousel .slick-dots li.slick-active:focus,.ant-carousel .slick-dots li.slick-active:hover{opacity:1}.ant-carousel-vertical .slick-dots{top:50%;bottom:auto;flex-direction:column;width:3px;height:auto;margin:0;transform:translateY(-50%)}.ant-carousel-vertical .slick-dots-left{right:auto;left:12px}.ant-carousel-vertical .slick-dots-right{right:12px;left:auto}.ant-carousel-vertical .slick-dots li{width:3px;height:16px;margin:4px 2px;vertical-align:baseline}.ant-carousel-vertical .slick-dots li button{width:3px;height:16px}.ant-carousel-vertical .slick-dots li.slick-active,.ant-carousel-vertical .slick-dots li.slick-active button{width:3px;height:24px}.ant-carousel-rtl{direction:rtl}.ant-carousel-rtl .ant-carousel .slick-track{right:0;left:auto}.ant-carousel-rtl .ant-carousel .slick-prev{right:-25px;left:auto}.ant-carousel-rtl .ant-carousel .slick-prev:before{content:"→"}.ant-carousel-rtl .ant-carousel .slick-next{right:auto;left:-25px}.ant-carousel-rtl .ant-carousel .slick-next:before{content:"←"}.ant-carousel-rtl.ant-carousel .slick-dots{flex-direction:row-reverse}.ant-carousel-rtl.ant-carousel-vertical .slick-dots{flex-direction:column}.ant-cascader{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum"}.ant-cascader-input.ant-input{position:static;width:100%;padding-right:24px;background-color:transparent!important;cursor:pointer}.ant-cascader-picker-show-search .ant-cascader-input.ant-input{position:relative}.ant-cascader-picker{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-block;background-color:#fff;border-radius:2px;outline:0;cursor:pointer;transition:color .3s}.ant-cascader-picker-with-value .ant-cascader-picker-label{color:transparent}.ant-cascader-picker-disabled{color:rgba(0,0,0,.25);background:#f5f5f5;cursor:not-allowed}.ant-cascader-picker-disabled .ant-cascader-input{cursor:not-allowed}.ant-cascader-picker:focus .ant-cascader-input{border-color:#40a9ff;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(24,144,255,.2)}.ant-cascader-picker-borderless .ant-cascader-input{border-color:transparent!important;box-shadow:none!important}.ant-cascader-picker-show-search.ant-cascader-picker-focused{color:rgba(0,0,0,.25)}.ant-cascader-picker-label{position:absolute;top:50%;left:0;width:100%;height:20px;margin-top:-10px;padding:0 20px 0 12px;overflow:hidden;line-height:20px;white-space:nowrap;text-overflow:ellipsis}.ant-cascader-picker-clear{position:absolute;top:50%;right:12px;z-index:2;width:12px;height:12px;margin-top:-6px;color:rgba(0,0,0,.25);font-size:12px;line-height:12px;background:#fff;cursor:pointer;opacity:0;transition:color .3s ease,opacity .15s ease}.ant-cascader-picker-clear:hover{color:rgba(0,0,0,.45)}.ant-cascader-picker:hover .ant-cascader-picker-clear{opacity:1}.ant-cascader-picker-arrow{position:absolute;top:50%;right:12px;z-index:1;width:12px;height:12px;margin-top:-6px;color:rgba(0,0,0,.25);font-size:12px;line-height:12px}.ant-cascader-picker-label:hover+.ant-cascader-input:not(.ant-cascader-picker-disabled .ant-cascader-picker-label:hover+.ant-cascader-input){border-color:#40a9ff;border-right-width:1px!important}.ant-cascader-picker-small .ant-cascader-picker-arrow,.ant-cascader-picker-small .ant-cascader-picker-clear{right:8px}.ant-cascader-menus{position:absolute;z-index:1050;font-size:14px;white-space:nowrap;background:#fff;border-radius:2px;box-shadow:0 3px 6px -4px rgba(0,0,0,.12),0 6px 16px 0 rgba(0,0,0,.08),0 9px 28px 8px rgba(0,0,0,.05)}.ant-cascader-menus ol,.ant-cascader-menus ul{margin:0;list-style:none}.ant-cascader-menus-empty,.ant-cascader-menus-hidden{display:none}.ant-cascader-menus.ant-slide-up-appear.ant-slide-up-appear-active.ant-cascader-menus-placement-bottomLeft,.ant-cascader-menus.ant-slide-up-enter.ant-slide-up-enter-active.ant-cascader-menus-placement-bottomLeft{-webkit-animation-name:antSlideUpIn;animation-name:antSlideUpIn}.ant-cascader-menus.ant-slide-up-appear.ant-slide-up-appear-active.ant-cascader-menus-placement-topLeft,.ant-cascader-menus.ant-slide-up-enter.ant-slide-up-enter-active.ant-cascader-menus-placement-topLeft{-webkit-animation-name:antSlideDownIn;animation-name:antSlideDownIn}.ant-cascader-menus.ant-slide-up-leave.ant-slide-up-leave-active.ant-cascader-menus-placement-bottomLeft{-webkit-animation-name:antSlideUpOut;animation-name:antSlideUpOut}.ant-cascader-menus.ant-slide-up-leave.ant-slide-up-leave-active.ant-cascader-menus-placement-topLeft{-webkit-animation-name:antSlideDownOut;animation-name:antSlideDownOut}.ant-cascader-menu{display:inline-block;min-width:111px;height:180px;margin:0;padding:4px 0;overflow:auto;vertical-align:top;list-style:none;border-right:1px solid #f0f0f0;-ms-overflow-style:-ms-autohiding-scrollbar}.ant-cascader-menu:first-child{border-radius:2px 0 0 2px}.ant-cascader-menu:last-child{margin-right:-1px;border-right-color:transparent;border-radius:0 2px 2px 0}.ant-cascader-menu:only-child{border-radius:2px}.ant-cascader-menu-item{padding:5px 12px;overflow:hidden;line-height:22px;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;transition:all .3s}.ant-cascader-menu-item:hover{background:#f5f5f5}.ant-cascader-menu-item-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-cascader-menu-item-disabled:hover{background:transparent}.ant-cascader-menu-empty .ant-cascader-menu-item{color:rgba(0,0,0,.25);cursor:default;pointer-events:none}.ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled),.ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled):hover{font-weight:600;background-color:#e6f7ff}.ant-cascader-menu-item-expand{position:relative;padding-right:24px}.ant-cascader-menu-item-expand .ant-cascader-menu-item-expand-icon,.ant-cascader-menu-item-loading-icon{position:absolute;right:12px;color:rgba(0,0,0,.45);font-size:10px}.ant-cascader-menu-item-disabled.ant-cascader-menu-item-expand .ant-cascader-menu-item-expand-icon,.ant-cascader-menu-item-disabled.ant-cascader-menu-item-loading-icon{color:rgba(0,0,0,.25)}.ant-cascader-menu-item .ant-cascader-menu-item-keyword{color:#ff4d4f}.ant-cascader-picker-rtl .ant-cascader-input.ant-input{padding-right:11px;padding-left:24px;text-align:right}.ant-cascader-picker-rtl{direction:rtl}.ant-cascader-picker-rtl .ant-cascader-picker-label{padding:0 12px 0 20px;text-align:right}.ant-cascader-picker-rtl .ant-cascader-picker-arrow,.ant-cascader-picker-rtl .ant-cascader-picker-clear{right:auto;left:12px}.ant-cascader-picker-rtl.ant-cascader-picker-small .ant-cascader-picker-arrow,.ant-cascader-picker-rtl.ant-cascader-picker-small .ant-cascader-picker-clear{right:auto;left:8px}.ant-cascader-menu-rtl .ant-cascader-menu{direction:rtl;border-right:none;border-left:1px solid #f0f0f0}.ant-cascader-menu-rtl .ant-cascader-menu:first-child{border-radius:0 2px 2px 0}.ant-cascader-menu-rtl .ant-cascader-menu:last-child{margin-right:0;margin-left:-1px;border-left-color:transparent;border-radius:2px 0 0 2px}.ant-cascader-menu-rtl .ant-cascader-menu:only-child{border-radius:2px}.ant-cascader-menu-rtl .ant-cascader-menu-item-expand{padding-right:12px;padding-left:24px}.ant-cascader-menu-rtl .ant-cascader-menu-item-expand .ant-cascader-menu-item-expand-icon,.ant-cascader-menu-rtl .ant-cascader-menu-item-loading-icon{right:auto;left:12px}.ant-cascader-menu-rtl .ant-cascader-menu-item-loading-icon{transform:scaleY(-1)}.ant-checkbox{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;top:.2em;line-height:1;white-space:nowrap;outline:none;cursor:pointer}.ant-checkbox-input:focus+.ant-checkbox-inner,.ant-checkbox-wrapper:hover .ant-checkbox-inner,.ant-checkbox:hover .ant-checkbox-inner{border-color:#1890ff}.ant-checkbox-checked:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #1890ff;border-radius:2px;visibility:hidden;-webkit-animation:antCheckboxEffect .36s ease-in-out;animation:antCheckboxEffect .36s ease-in-out;-webkit-animation-fill-mode:backwards;animation-fill-mode:backwards;content:""}.ant-checkbox-wrapper:hover .ant-checkbox:after,.ant-checkbox:hover:after{visibility:visible}.ant-checkbox-inner{position:relative;top:0;left:0;display:block;width:16px;height:16px;direction:ltr;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;border-collapse:separate;transition:all .3s}.ant-checkbox-inner:after{position:absolute;top:50%;left:21.5%;display:table;width:5.71428571px;height:9.14285714px;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(0) translate(-50%,-50%);opacity:0;transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;content:" "}.ant-checkbox-input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;cursor:pointer;opacity:0}.ant-checkbox-checked .ant-checkbox-inner:after{position:absolute;display:table;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(1) translate(-50%,-50%);opacity:1;transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;content:" "}.ant-checkbox-checked .ant-checkbox-inner{background-color:#1890ff;border-color:#1890ff}.ant-checkbox-disabled{cursor:not-allowed}.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner:after{border-color:rgba(0,0,0,.25);-webkit-animation-name:none;animation-name:none}.ant-checkbox-disabled .ant-checkbox-input{cursor:not-allowed}.ant-checkbox-disabled .ant-checkbox-inner{background-color:#f5f5f5;border-color:#d9d9d9!important}.ant-checkbox-disabled .ant-checkbox-inner:after{border-color:#f5f5f5;border-collapse:separate;-webkit-animation-name:none;animation-name:none}.ant-checkbox-disabled+span{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-checkbox-disabled:hover:after,.ant-checkbox-wrapper:hover .ant-checkbox-disabled:after{visibility:hidden}.ant-checkbox-wrapper{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";display:inline-flex;align-items:baseline;line-height:unset;cursor:pointer}.ant-checkbox-wrapper:after{display:inline-block;width:0;overflow:hidden;content:"\\a0"}.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled{cursor:not-allowed}.ant-checkbox-wrapper+.ant-checkbox-wrapper{margin-left:8px}.ant-checkbox+span{padding-right:8px;padding-left:8px}.ant-checkbox-group{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";display:inline-block}.ant-checkbox-group-item{margin-right:8px}.ant-checkbox-group-item:last-child{margin-right:0}.ant-checkbox-group-item+.ant-checkbox-group-item{margin-left:0}.ant-checkbox-indeterminate .ant-checkbox-inner{background-color:#fff;border-color:#d9d9d9}.ant-checkbox-indeterminate .ant-checkbox-inner:after{top:50%;left:50%;width:8px;height:8px;background-color:#1890ff;border:0;transform:translate(-50%,-50%) scale(1);opacity:1;content:" "}.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner:after{background-color:rgba(0,0,0,.25);border-color:rgba(0,0,0,.25)}.ant-checkbox-rtl{direction:rtl}.ant-checkbox-group-rtl .ant-checkbox-group-item{margin-right:0;margin-left:8px}.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child{margin-left:0!important}.ant-checkbox-group-rtl .ant-checkbox-group-item+.ant-checkbox-group-item{margin-left:8px}.ant-collapse{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";background-color:#fafafa;border:1px solid #d9d9d9;border-bottom:0;border-radius:2px}.ant-collapse>.ant-collapse-item{border-bottom:1px solid #d9d9d9}.ant-collapse>.ant-collapse-item:last-child,.ant-collapse>.ant-collapse-item:last-child>.ant-collapse-header{border-radius:0 0 2px 2px}.ant-collapse>.ant-collapse-item>.ant-collapse-header{position:relative;padding:12px 16px;color:rgba(0,0,0,.85);line-height:1.5715;cursor:pointer;transition:all .3s,visibility 0s}.ant-collapse>.ant-collapse-item>.ant-collapse-header:before{display:table;content:""}.ant-collapse>.ant-collapse-item>.ant-collapse-header:after{display:table;clear:both;content:""}.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow{display:inline-block;margin-right:12px;font-size:12px;vertical-align:-1px}.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow svg{transition:transform .24s}.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-extra{float:right}.ant-collapse>.ant-collapse-item>.ant-collapse-header:focus{outline:none}.ant-collapse>.ant-collapse-item .ant-collapse-header-collapsible-only{cursor:default}.ant-collapse>.ant-collapse-item .ant-collapse-header-collapsible-only .ant-collapse-header-text{cursor:pointer}.ant-collapse>.ant-collapse-item.ant-collapse-no-arrow>.ant-collapse-header{padding-left:12px}.ant-collapse-icon-position-right>.ant-collapse-item>.ant-collapse-header{padding:12px 40px 12px 16px}.ant-collapse-icon-position-right>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow{position:absolute;top:50%;right:16px;left:auto;margin:0;transform:translateY(-50%)}.ant-collapse-content{color:rgba(0,0,0,.85);background-color:#fff;border-top:1px solid #d9d9d9}.ant-collapse-content>.ant-collapse-content-box{padding:16px}.ant-collapse-content-hidden{display:none}.ant-collapse-item:last-child>.ant-collapse-content{border-radius:0 0 2px 2px}.ant-collapse-borderless{background-color:#fafafa;border:0}.ant-collapse-borderless>.ant-collapse-item{border-bottom:1px solid #d9d9d9}.ant-collapse-borderless>.ant-collapse-item:last-child,.ant-collapse-borderless>.ant-collapse-item:last-child .ant-collapse-header{border-radius:0}.ant-collapse-borderless>.ant-collapse-item>.ant-collapse-content{background-color:transparent;border-top:0}.ant-collapse-borderless>.ant-collapse-item>.ant-collapse-content>.ant-collapse-content-box{padding-top:4px}.ant-collapse-ghost{background-color:transparent;border:0}.ant-collapse-ghost>.ant-collapse-item{border-bottom:0}.ant-collapse-ghost>.ant-collapse-item>.ant-collapse-content{background-color:transparent;border-top:0}.ant-collapse-ghost>.ant-collapse-item>.ant-collapse-content>.ant-collapse-content-box{padding-top:12px;padding-bottom:12px}.ant-collapse .ant-collapse-item-disabled>.ant-collapse-header,.ant-collapse .ant-collapse-item-disabled>.ant-collapse-header>.arrow{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-collapse-rtl{direction:rtl}.ant-collapse-rtl .ant-collapse>.ant-collapse-item>.ant-collapse-header{padding:12px 40px 12px 16px}.ant-collapse-rtl.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow svg{transform:rotate(180deg)}.ant-collapse-rtl.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-extra{float:left}.ant-collapse-rtl.ant-collapse>.ant-collapse-item.ant-collapse-no-arrow>.ant-collapse-header{padding-right:12px;padding-left:0}.ant-comment{position:relative;background-color:inherit}.ant-comment-inner{display:flex;padding:16px 0}.ant-comment-avatar{position:relative;flex-shrink:0;margin-right:12px;cursor:pointer}.ant-comment-avatar img{width:32px;height:32px;border-radius:50%}.ant-comment-content{position:relative;flex:1 1 auto;min-width:1px;font-size:14px;word-wrap:break-word}.ant-comment-content-author{display:flex;flex-wrap:wrap;justify-content:flex-start;margin-bottom:4px;font-size:14px}.ant-comment-content-author>a,.ant-comment-content-author>span{padding-right:8px;font-size:12px;line-height:18px}.ant-comment-content-author-name{color:rgba(0,0,0,.45);font-size:14px;transition:color .3s}.ant-comment-content-author-name>*,.ant-comment-content-author-name>:hover{color:rgba(0,0,0,.45)}.ant-comment-content-author-time{color:#ccc;white-space:nowrap;cursor:auto}.ant-comment-content-detail p{margin-bottom:inherit;white-space:pre-wrap}.ant-comment-actions{margin-top:12px;margin-bottom:inherit;padding-left:0}.ant-comment-actions>li{display:inline-block;color:rgba(0,0,0,.45)}.ant-comment-actions>li>span{margin-right:10px;color:rgba(0,0,0,.45);font-size:12px;cursor:pointer;transition:color .3s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-comment-actions>li>span:hover{color:#595959}.ant-comment-nested{margin-left:44px}.ant-comment-rtl{direction:rtl}.ant-comment-rtl .ant-comment-avatar{margin-right:0;margin-left:12px}.ant-comment-rtl .ant-comment-content-author>a,.ant-comment-rtl .ant-comment-content-author>span{padding-right:0;padding-left:8px}.ant-comment-rtl .ant-comment-actions{padding-right:0}.ant-comment-rtl .ant-comment-actions>li>span{margin-right:0;margin-left:10px}.ant-comment-rtl .ant-comment-nested{margin-right:44px;margin-left:0}.ant-picker{box-sizing:border-box;margin:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";padding:4px 11px;position:relative;display:inline-flex;align-items:center;background:#fff;border:1px solid #d9d9d9;border-radius:2px;transition:border .3s,box-shadow .3s}.ant-picker-focused,.ant-picker:hover{border-color:#40a9ff;border-right-width:1px!important}.ant-picker-focused{outline:0;box-shadow:0 0 0 2px rgba(24,144,255,.2)}.ant-picker.ant-picker-disabled{background:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.ant-picker.ant-picker-disabled .ant-picker-suffix{color:rgba(0,0,0,.25)}.ant-picker.ant-picker-borderless{background-color:transparent!important;border-color:transparent!important;box-shadow:none!important}.ant-picker-input{position:relative;display:inline-flex;align-items:center;width:100%}.ant-picker-input>input{position:relative;display:inline-block;width:100%;min-width:0;color:rgba(0,0,0,.85);font-size:14px;line-height:1.5715;background-color:#fff;background-image:none;border-radius:2px;transition:all .3s;flex:auto;min-width:1px;height:auto;padding:0;background:transparent;border:0}.ant-picker-input>input::-moz-placeholder{opacity:1}.ant-picker-input>input:-ms-input-placeholder{color:#bfbfbf}.ant-picker-input>input::placeholder{color:#bfbfbf}.ant-picker-input>input:-moz-placeholder-shown{text-overflow:ellipsis}.ant-picker-input>input:-ms-input-placeholder{text-overflow:ellipsis}.ant-picker-input>input:placeholder-shown{text-overflow:ellipsis}.ant-picker-input>input:hover{border-color:#40a9ff;border-right-width:1px!important}.ant-picker-input>input-focused,.ant-picker-input>input:focus{border-color:#40a9ff;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(24,144,255,.2)}.ant-picker-input>input-disabled{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-picker-input>input-disabled:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-picker-input>input[disabled]{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-picker-input>input[disabled]:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-picker-input>input-borderless,.ant-picker-input>input-borderless-disabled,.ant-picker-input>input-borderless-focused,.ant-picker-input>input-borderless:focus,.ant-picker-input>input-borderless:hover,.ant-picker-input>input-borderless[disabled]{background-color:transparent;border:none;box-shadow:none}textarea.ant-picker-input>input{max-width:100%;height:auto;min-height:32px;line-height:1.5715;vertical-align:bottom;transition:all .3s,height 0s}.ant-picker-input>input-lg{padding:6.5px 11px;font-size:16px}.ant-picker-input>input-sm{padding:0 7px}.ant-picker-input>input:focus{box-shadow:none}.ant-picker-input>input[disabled]{background:transparent}.ant-picker-input:hover .ant-picker-clear{opacity:1}.ant-picker-input-placeholder>input{color:#bfbfbf}.ant-picker-large{padding:6.5px 11px}.ant-picker-large .ant-picker-input>input{font-size:16px}.ant-picker-small{padding:0 7px}.ant-picker-suffix{align-self:center;margin-left:4px;color:rgba(0,0,0,.25);line-height:1;pointer-events:none}.ant-picker-suffix>*{vertical-align:top}.ant-picker-clear{position:absolute;top:50%;right:0;color:rgba(0,0,0,.25);line-height:1;background:#fff;transform:translateY(-50%);cursor:pointer;opacity:0;transition:opacity .3s,color .3s}.ant-picker-clear>*{vertical-align:top}.ant-picker-clear:hover{color:rgba(0,0,0,.45)}.ant-picker-separator{position:relative;display:inline-block;width:1em;height:16px;color:rgba(0,0,0,.25);font-size:16px;vertical-align:top;cursor:default}.ant-picker-focused .ant-picker-separator{color:rgba(0,0,0,.45)}.ant-picker-disabled .ant-picker-range-separator .ant-picker-separator{cursor:not-allowed}.ant-picker-range{position:relative;display:inline-flex}.ant-picker-range .ant-picker-clear{right:11px}.ant-picker-range:hover .ant-picker-clear{opacity:1}.ant-picker-range .ant-picker-active-bar{bottom:-1px;height:2px;margin-left:11px;background:#1890ff;opacity:0;transition:all .3s ease-out;pointer-events:none}.ant-picker-range.ant-picker-focused .ant-picker-active-bar{opacity:1}.ant-picker-range-separator{align-items:center;padding:0 8px;line-height:1}.ant-picker-range.ant-picker-small .ant-picker-clear{right:7px}.ant-picker-range.ant-picker-small .ant-picker-active-bar{margin-left:7px}.ant-picker-dropdown{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:absolute;z-index:1050}.ant-picker-dropdown-hidden{display:none}.ant-picker-dropdown-placement-bottomLeft .ant-picker-range-arrow{top:1.66666667px;display:block;transform:rotate(-45deg)}.ant-picker-dropdown-placement-topLeft .ant-picker-range-arrow{bottom:1.66666667px;display:block;transform:rotate(135deg)}.ant-picker-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-picker-dropdown-placement-topLeft,.ant-picker-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-picker-dropdown-placement-topRight,.ant-picker-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-picker-dropdown-placement-topLeft,.ant-picker-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-picker-dropdown-placement-topRight{-webkit-animation-name:antSlideDownIn;animation-name:antSlideDownIn}.ant-picker-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-picker-dropdown-placement-bottomLeft,.ant-picker-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-picker-dropdown-placement-bottomRight,.ant-picker-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-picker-dropdown-placement-bottomLeft,.ant-picker-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-picker-dropdown-placement-bottomRight{-webkit-animation-name:antSlideUpIn;animation-name:antSlideUpIn}.ant-picker-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-picker-dropdown-placement-topLeft,.ant-picker-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-picker-dropdown-placement-topRight{-webkit-animation-name:antSlideDownOut;animation-name:antSlideDownOut}.ant-picker-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-picker-dropdown-placement-bottomLeft,.ant-picker-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-picker-dropdown-placement-bottomRight{-webkit-animation-name:antSlideUpOut;animation-name:antSlideUpOut}.ant-picker-dropdown-range{padding:6.66666667px 0}.ant-picker-dropdown-range-hidden{display:none}.ant-picker-dropdown .ant-picker-panel>.ant-picker-time-panel{padding-top:4px}.ant-picker-ranges{margin-bottom:0;padding:4px 12px;overflow:hidden;line-height:34px;text-align:left;list-style:none}.ant-picker-ranges>li{display:inline-block}.ant-picker-ranges .ant-picker-preset>.ant-tag-blue{color:#1890ff;background:#e6f7ff;border-color:#91d5ff;cursor:pointer}.ant-picker-ranges .ant-picker-ok{float:right;margin-left:8px}.ant-picker-range-wrapper{display:flex}.ant-picker-range-arrow{position:absolute;z-index:1;display:none;width:10px;height:10px;margin-left:16.5px;box-shadow:2px -2px 6px rgba(0,0,0,.06);transition:left .3s ease-out}.ant-picker-range-arrow:after{position:absolute;top:1px;right:1px;width:10px;height:10px;border-color:#fff #fff transparent transparent;border-style:solid;border-width:5px;content:""}.ant-picker-panel-container{overflow:hidden;vertical-align:top;background:#fff;border-radius:2px;box-shadow:0 3px 6px -4px rgba(0,0,0,.12),0 6px 16px 0 rgba(0,0,0,.08),0 9px 28px 8px rgba(0,0,0,.05);transition:margin .3s}.ant-picker-panel-container .ant-picker-panels{display:inline-flex;flex-wrap:nowrap;direction:ltr}.ant-picker-panel-container .ant-picker-panel{vertical-align:top;background:transparent;border-width:0 0 1px;border-radius:0}.ant-picker-panel-container .ant-picker-panel .ant-picker-content,.ant-picker-panel-container .ant-picker-panel table{text-align:center}.ant-picker-panel-container .ant-picker-panel-focused{border-color:#f0f0f0}.ant-picker-panel{display:inline-flex;flex-direction:column;text-align:center;background:#fff;border:1px solid #f0f0f0;border-radius:2px;outline:none}.ant-picker-panel-focused{border-color:#1890ff}.ant-picker-date-panel,.ant-picker-decade-panel,.ant-picker-month-panel,.ant-picker-quarter-panel,.ant-picker-time-panel,.ant-picker-week-panel,.ant-picker-year-panel{display:flex;flex-direction:column;width:280px}.ant-picker-header{display:flex;padding:0 8px;color:rgba(0,0,0,.85);border-bottom:1px solid #f0f0f0}.ant-picker-header>*{flex:none}.ant-picker-header button{padding:0;color:rgba(0,0,0,.25);line-height:40px;background:transparent;border:0;cursor:pointer;transition:color .3s}.ant-picker-header>button{min-width:1.6em;font-size:14px}.ant-picker-header>button:hover{color:rgba(0,0,0,.85)}.ant-picker-header-view{flex:auto;font-weight:500;line-height:40px}.ant-picker-header-view button{color:inherit;font-weight:inherit}.ant-picker-header-view button:not(:first-child){margin-left:8px}.ant-picker-header-view button:hover{color:#1890ff}.ant-picker-next-icon,.ant-picker-prev-icon,.ant-picker-super-next-icon,.ant-picker-super-prev-icon{position:relative;display:inline-block;width:7px;height:7px}.ant-picker-next-icon:before,.ant-picker-prev-icon:before,.ant-picker-super-next-icon:before,.ant-picker-super-prev-icon:before{position:absolute;top:0;left:0;display:inline-block;width:7px;height:7px;border:0 solid;border-width:1.5px 0 0 1.5px;content:""}.ant-picker-super-next-icon:after,.ant-picker-super-prev-icon:after{position:absolute;top:4px;left:4px;display:inline-block;width:7px;height:7px;border:0 solid;border-width:1.5px 0 0 1.5px;content:""}.ant-picker-prev-icon,.ant-picker-super-prev-icon{transform:rotate(-45deg)}.ant-picker-next-icon,.ant-picker-super-next-icon{transform:rotate(135deg)}.ant-picker-content{width:100%;table-layout:fixed;border-collapse:collapse}.ant-picker-content td,.ant-picker-content th{position:relative;min-width:24px;font-weight:400}.ant-picker-content th{height:30px;color:rgba(0,0,0,.85);line-height:30px}.ant-picker-cell{padding:3px 0;color:rgba(0,0,0,.25);cursor:pointer}.ant-picker-cell-in-view{color:rgba(0,0,0,.85)}.ant-picker-cell:before{position:absolute;top:50%;right:0;left:0;z-index:1;height:24px;transform:translateY(-50%);transition:all .3s;content:""}.ant-picker-cell:hover:not(.ant-picker-cell-in-view) .ant-picker-cell-inner,.ant-picker-cell:hover:not(.ant-picker-cell-selected):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):not(.ant-picker-cell-range-hover-start):not(.ant-picker-cell-range-hover-end) .ant-picker-cell-inner{background:#f5f5f5}.ant-picker-cell-in-view.ant-picker-cell-today .ant-picker-cell-inner:before{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;border:1px solid #1890ff;border-radius:2px;content:""}.ant-picker-cell-in-view.ant-picker-cell-in-range{position:relative}.ant-picker-cell-in-view.ant-picker-cell-in-range:before{background:#e6f7ff}.ant-picker-cell-in-view.ant-picker-cell-range-end .ant-picker-cell-inner,.ant-picker-cell-in-view.ant-picker-cell-range-start .ant-picker-cell-inner,.ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner{color:#fff;background:#1890ff}.ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single):before,.ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single):before{background:#e6f7ff}.ant-picker-cell-in-view.ant-picker-cell-range-start:before{left:50%}.ant-picker-cell-in-view.ant-picker-cell-range-end:before{right:50%}.ant-picker-cell-in-view.ant-picker-cell-range-hover-end.ant-picker-cell-range-end-single:after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-end.ant-picker-cell-range-start.ant-picker-cell-range-end.ant-picker-cell-range-start-near-hover:after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-end:not(.ant-picker-cell-in-range):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-start.ant-picker-cell-range-start-single:after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-start.ant-picker-cell-range-start.ant-picker-cell-range-end.ant-picker-cell-range-end-near-hover:after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-start:not(.ant-picker-cell-in-range):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):after,.ant-picker-cell-in-view.ant-picker-cell-range-hover:not(.ant-picker-cell-in-range):after{position:absolute;top:50%;z-index:0;height:24px;border-top:1px dashed #7ec1ff;border-bottom:1px dashed #7ec1ff;transform:translateY(-50%);transition:all .3s;content:""}.ant-picker-cell-range-hover-end:after,.ant-picker-cell-range-hover-start:after,.ant-picker-cell-range-hover:after{right:0;left:2px}.ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover:before,.ant-picker-cell-in-view.ant-picker-cell-range-end.ant-picker-cell-range-hover:before,.ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single).ant-picker-cell-range-hover-end:before,.ant-picker-cell-in-view.ant-picker-cell-range-start.ant-picker-cell-range-hover:before,.ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single).ant-picker-cell-range-hover-start:before,.ant-picker-panel>:not(.ant-picker-date-panel) .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end:before,.ant-picker-panel>:not(.ant-picker-date-panel) .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start:before{background:#cbe6ff}.ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single):not(.ant-picker-cell-range-end) .ant-picker-cell-inner{border-radius:2px 0 0 2px}.ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single):not(.ant-picker-cell-range-start) .ant-picker-cell-inner{border-radius:0 2px 2px 0}.ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end .ant-picker-cell-inner:after,.ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start .ant-picker-cell-inner:after{position:absolute;top:0;bottom:0;z-index:-1;background:#cbe6ff;transition:all .3s;content:""}.ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start .ant-picker-cell-inner:after{right:-6px;left:0}.ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end .ant-picker-cell-inner:after{right:0;left:-6px}.ant-picker-cell-range-hover.ant-picker-cell-range-start:after{right:50%}.ant-picker-cell-range-hover.ant-picker-cell-range-end:after{left:50%}.ant-picker-cell-in-view.ant-picker-cell-range-hover-edge-start:not(.ant-picker-cell-range-hover-edge-start-near-range):after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-start:after,.ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover-edge-start.ant-picker-cell-range-hover-edge-start-near-range:after,tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover-end:first-child:after,tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover:first-child:after{left:6px;border-left:1px dashed #7ec1ff;border-top-left-radius:2px;border-bottom-left-radius:2px}.ant-picker-cell-in-view.ant-picker-cell-end.ant-picker-cell-range-hover-edge-end.ant-picker-cell-range-hover-edge-end-near-range:after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-edge-end:not(.ant-picker-cell-range-hover-edge-end-near-range):after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-end:after,tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child:after,tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover:last-child:after{right:6px;border-right:1px dashed #7ec1ff;border-top-right-radius:2px;border-bottom-right-radius:2px}.ant-picker-cell-disabled{color:rgba(0,0,0,.25);pointer-events:none}.ant-picker-cell-disabled .ant-picker-cell-inner{background:transparent}.ant-picker-cell-disabled:before{background:rgba(0,0,0,.04)}.ant-picker-cell-disabled.ant-picker-cell-today .ant-picker-cell-inner:before{border-color:rgba(0,0,0,.25)}.ant-picker-decade-panel .ant-picker-content,.ant-picker-month-panel .ant-picker-content,.ant-picker-quarter-panel .ant-picker-content,.ant-picker-year-panel .ant-picker-content{height:264px}.ant-picker-decade-panel .ant-picker-cell-inner,.ant-picker-month-panel .ant-picker-cell-inner,.ant-picker-quarter-panel .ant-picker-cell-inner,.ant-picker-year-panel .ant-picker-cell-inner{padding:0 8px}.ant-picker-quarter-panel .ant-picker-content{height:56px}.ant-picker-footer{width:-webkit-min-content;width:-moz-min-content;width:min-content;min-width:100%;line-height:38px;text-align:center;border-bottom:1px solid transparent}.ant-picker-panel .ant-picker-footer{border-top:1px solid #f0f0f0}.ant-picker-footer-extra{padding:0 12px;line-height:38px;text-align:left}.ant-picker-footer-extra:not(:last-child){border-bottom:1px solid #f0f0f0}.ant-picker-now{text-align:left}.ant-picker-today-btn{color:#1890ff}.ant-picker-today-btn:hover{color:#40a9ff}.ant-picker-today-btn:active{color:#096dd9}.ant-picker-today-btn.ant-picker-today-btn-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-picker-decade-panel .ant-picker-cell-inner{padding:0 4px}.ant-picker-decade-panel .ant-picker-cell:before{display:none}.ant-picker-month-panel .ant-picker-body,.ant-picker-quarter-panel .ant-picker-body,.ant-picker-year-panel .ant-picker-body{padding:0 8px}.ant-picker-month-panel .ant-picker-cell-inner,.ant-picker-quarter-panel .ant-picker-cell-inner,.ant-picker-year-panel .ant-picker-cell-inner{width:60px}.ant-picker-month-panel .ant-picker-cell-range-hover-start:after,.ant-picker-quarter-panel .ant-picker-cell-range-hover-start:after,.ant-picker-year-panel .ant-picker-cell-range-hover-start:after{left:14px;border-left:1px dashed #7ec1ff;border-radius:2px 0 0 2px}.ant-picker-month-panel .ant-picker-cell-range-hover-end:after,.ant-picker-panel-rtl .ant-picker-month-panel .ant-picker-cell-range-hover-start:after,.ant-picker-panel-rtl .ant-picker-quarter-panel .ant-picker-cell-range-hover-start:after,.ant-picker-panel-rtl .ant-picker-year-panel .ant-picker-cell-range-hover-start:after,.ant-picker-quarter-panel .ant-picker-cell-range-hover-end:after,.ant-picker-year-panel .ant-picker-cell-range-hover-end:after{right:14px;border-right:1px dashed #7ec1ff;border-radius:0 2px 2px 0}.ant-picker-panel-rtl .ant-picker-month-panel .ant-picker-cell-range-hover-end:after,.ant-picker-panel-rtl .ant-picker-quarter-panel .ant-picker-cell-range-hover-end:after,.ant-picker-panel-rtl .ant-picker-year-panel .ant-picker-cell-range-hover-end:after{left:14px;border-left:1px dashed #7ec1ff;border-radius:2px 0 0 2px}.ant-picker-week-panel .ant-picker-body{padding:8px 12px}.ant-picker-week-panel .ant-picker-cell-selected .ant-picker-cell-inner,.ant-picker-week-panel .ant-picker-cell .ant-picker-cell-inner,.ant-picker-week-panel .ant-picker-cell:hover .ant-picker-cell-inner{background:transparent!important}.ant-picker-week-panel-row td{transition:background .3s}.ant-picker-week-panel-row:hover td{background:#f5f5f5}.ant-picker-week-panel-row-selected:hover td,.ant-picker-week-panel-row-selected td{background:#1890ff}.ant-picker-week-panel-row-selected:hover td.ant-picker-cell-week,.ant-picker-week-panel-row-selected td.ant-picker-cell-week{color:hsla(0,0%,100%,.5)}.ant-picker-week-panel-row-selected:hover td.ant-picker-cell-today .ant-picker-cell-inner:before,.ant-picker-week-panel-row-selected td.ant-picker-cell-today .ant-picker-cell-inner:before{border-color:#fff}.ant-picker-week-panel-row-selected:hover td .ant-picker-cell-inner,.ant-picker-week-panel-row-selected td .ant-picker-cell-inner{color:#fff}.ant-picker-date-panel .ant-picker-body{padding:8px 12px}.ant-picker-date-panel .ant-picker-content{width:252px}.ant-picker-date-panel .ant-picker-content th{width:36px}.ant-picker-datetime-panel{display:flex}.ant-picker-datetime-panel .ant-picker-time-panel{border-left:1px solid #f0f0f0}.ant-picker-datetime-panel .ant-picker-date-panel,.ant-picker-datetime-panel .ant-picker-time-panel{transition:opacity .3s}.ant-picker-datetime-panel-active .ant-picker-date-panel,.ant-picker-datetime-panel-active .ant-picker-time-panel{opacity:.3}.ant-picker-datetime-panel-active .ant-picker-date-panel-active,.ant-picker-datetime-panel-active .ant-picker-time-panel-active{opacity:1}.ant-picker-time-panel{width:auto;min-width:auto}.ant-picker-time-panel .ant-picker-content{display:flex;flex:auto;height:224px}.ant-picker-time-panel-column{flex:1 0 auto;width:56px;margin:0;padding:0;overflow-y:hidden;text-align:left;list-style:none;transition:background .3s}.ant-picker-time-panel-column:after{display:block;height:196px;content:""}.ant-picker-datetime-panel .ant-picker-time-panel-column:after{height:198px}.ant-picker-time-panel-column:not(:first-child){border-left:1px solid #f0f0f0}.ant-picker-time-panel-column-active{background:rgba(230,247,255,.2)}.ant-picker-time-panel-column:hover{overflow-y:auto}.ant-picker-time-panel-column>li{margin:0;padding:0}.ant-picker-time-panel-column>li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner{display:block;width:100%;height:28px;margin:0;padding:0 0 0 14px;color:rgba(0,0,0,.85);line-height:28px;border-radius:0;cursor:pointer;transition:background .3s}.ant-picker-time-panel-column>li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner:hover{background:#f5f5f5}.ant-picker-time-panel-column>li.ant-picker-time-panel-cell-selected .ant-picker-time-panel-cell-inner{background:#e6f7ff}.ant-picker-time-panel-column>li.ant-picker-time-panel-cell-disabled .ant-picker-time-panel-cell-inner{color:rgba(0,0,0,.25);background:transparent;cursor:not-allowed}:root .ant-picker-range-wrapper .ant-picker-month-panel .ant-picker-cell,:root .ant-picker-range-wrapper .ant-picker-year-panel .ant-picker-cell,_:-ms-fullscreen .ant-picker-range-wrapper .ant-picker-month-panel .ant-picker-cell,_:-ms-fullscreen .ant-picker-range-wrapper .ant-picker-year-panel .ant-picker-cell{padding:21px 0}.ant-picker-rtl{direction:rtl}.ant-picker-rtl .ant-picker-suffix{margin-right:4px;margin-left:0}.ant-picker-rtl .ant-picker-clear{right:auto;left:0}.ant-picker-rtl .ant-picker-separator{transform:rotate(180deg)}.ant-picker-panel-rtl .ant-picker-header-view button:not(:first-child){margin-right:8px;margin-left:0}.ant-picker-rtl.ant-picker-range .ant-picker-clear{right:auto;left:11px}.ant-picker-rtl.ant-picker-range .ant-picker-active-bar{margin-right:11px;margin-left:0}.ant-picker-rtl.ant-picker-range.ant-picker-small .ant-picker-active-bar{margin-right:7px}.ant-picker-dropdown-rtl .ant-picker-ranges{text-align:right}.ant-picker-dropdown-rtl .ant-picker-ranges .ant-picker-ok{float:left;margin-right:8px;margin-left:0}.ant-picker-panel-rtl{direction:rtl}.ant-picker-panel-rtl .ant-picker-prev-icon,.ant-picker-panel-rtl .ant-picker-super-prev-icon{transform:rotate(135deg)}.ant-picker-panel-rtl .ant-picker-next-icon,.ant-picker-panel-rtl .ant-picker-super-next-icon{transform:rotate(-45deg)}.ant-picker-cell .ant-picker-cell-inner{position:relative;z-index:2;display:inline-block;min-width:24px;height:24px;line-height:24px;border-radius:2px;transition:background .3s,border .3s}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-start:before{right:50%;left:0}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-end:before{right:0;left:50%}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-start.ant-picker-cell-range-end:before{right:50%;left:50%}.ant-picker-panel-rtl .ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start .ant-picker-cell-inner:after{right:0;left:-6px}.ant-picker-panel-rtl .ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end .ant-picker-cell-inner:after{right:-6px;left:0}.ant-picker-panel-rtl .ant-picker-cell-range-hover.ant-picker-cell-range-start:after{right:0;left:50%}.ant-picker-panel-rtl .ant-picker-cell-range-hover.ant-picker-cell-range-end:after{right:50%;left:0}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single):not(.ant-picker-cell-range-end) .ant-picker-cell-inner{border-radius:0 2px 2px 0}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single):not(.ant-picker-cell-range-start) .ant-picker-cell-inner{border-radius:2px 0 0 2px}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-hover-edge-start:not(.ant-picker-cell-range-hover-edge-start-near-range):after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover-edge-start.ant-picker-cell-range-hover-edge-start-near-range:after,.ant-picker-panel-rtl tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover:not(.ant-picker-cell-selected):first-child:after{right:6px;left:0;border-right:1px dashed #7ec1ff;border-left:none;border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-end.ant-picker-cell-range-hover-edge-end.ant-picker-cell-range-hover-edge-end-near-range:after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-hover-edge-end:not(.ant-picker-cell-range-hover-edge-end-near-range):after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-hover-end:after,.ant-picker-panel-rtl tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover:not(.ant-picker-cell-selected):last-child:after{right:0;left:6px;border-right:none;border-left:1px dashed #7ec1ff;border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-end.ant-picker-cell-range-hover-start.ant-picker-cell-range-hover-edge-end:not(.ant-picker-cell-range-hover):after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover-edge-start:not(.ant-picker-cell-range-hover):after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover-end.ant-picker-cell-range-hover-edge-start:not(.ant-picker-cell-range-hover):after,.ant-picker-panel-rtl tr>.ant-picker-cell-in-view.ant-picker-cell-end.ant-picker-cell-range-hover.ant-picker-cell-range-hover-edge-end:first-child:after,.ant-picker-panel-rtl tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover-end:first-child:after,.ant-picker-panel-rtl tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child:after,.ant-picker-panel-rtl tr>.ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover.ant-picker-cell-range-hover-edge-start:last-child:after{right:6px;left:6px;border-right:1px dashed #7ec1ff;border-left:1px dashed #7ec1ff;border-radius:2px}.ant-picker-dropdown-rtl .ant-picker-footer-extra{direction:rtl;text-align:right}.ant-picker-panel-rtl .ant-picker-time-panel{direction:ltr}.ant-descriptions-header{display:flex;align-items:center;margin-bottom:20px}.ant-descriptions-title{flex:auto;overflow:hidden;color:rgba(0,0,0,.85);font-weight:700;font-size:16px;line-height:1.5715;white-space:nowrap;text-overflow:ellipsis}.ant-descriptions-extra{margin-left:auto;color:rgba(0,0,0,.85);font-size:14px}.ant-descriptions-view{width:100%;overflow:hidden;border-radius:2px}.ant-descriptions-view table{width:100%;table-layout:fixed}.ant-descriptions-row>td,.ant-descriptions-row>th{padding-bottom:16px}.ant-descriptions-row:last-child{border-bottom:none}.ant-descriptions-item-label{color:rgba(0,0,0,.85);font-weight:400;font-size:14px;line-height:1.5715;text-align:start}.ant-descriptions-item-label:after{content:":";position:relative;top:-.5px;margin:0 8px 0 2px}.ant-descriptions-item-label.ant-descriptions-item-no-colon:after{content:" "}.ant-descriptions-item-no-label:after{margin:0;content:""}.ant-descriptions-item-content{display:table-cell;flex:1;color:rgba(0,0,0,.85);font-size:14px;line-height:1.5715;word-break:break-word;overflow-wrap:break-word}.ant-descriptions-item{padding-bottom:0;vertical-align:top}.ant-descriptions-item-container{display:flex}.ant-descriptions-item-container .ant-descriptions-item-content,.ant-descriptions-item-container .ant-descriptions-item-label{display:inline-flex;align-items:baseline}.ant-descriptions-middle .ant-descriptions-row>td,.ant-descriptions-middle .ant-descriptions-row>th{padding-bottom:12px}.ant-descriptions-small .ant-descriptions-row>td,.ant-descriptions-small .ant-descriptions-row>th{padding-bottom:8px}.ant-descriptions-bordered .ant-descriptions-view{border:1px solid #f0f0f0}.ant-descriptions-bordered .ant-descriptions-view>table{table-layout:auto;border-collapse:collapse}.ant-descriptions-bordered .ant-descriptions-item-content,.ant-descriptions-bordered .ant-descriptions-item-label{padding:16px 24px;border-right:1px solid #f0f0f0}.ant-descriptions-bordered .ant-descriptions-item-content:last-child,.ant-descriptions-bordered .ant-descriptions-item-label:last-child{border-right:none}.ant-descriptions-bordered .ant-descriptions-item-label{background-color:#fafafa}.ant-descriptions-bordered .ant-descriptions-item-label:after{display:none}.ant-descriptions-bordered .ant-descriptions-row{border-bottom:1px solid #f0f0f0}.ant-descriptions-bordered .ant-descriptions-row:last-child{border-bottom:none}.ant-descriptions-bordered.ant-descriptions-middle .ant-descriptions-item-content,.ant-descriptions-bordered.ant-descriptions-middle .ant-descriptions-item-label{padding:12px 24px}.ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-content,.ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-label{padding:8px 16px}.ant-descriptions-rtl{direction:rtl}.ant-descriptions-rtl .ant-descriptions-item-label:after{margin:0 2px 0 8px}.ant-descriptions-rtl.ant-descriptions-bordered .ant-descriptions-item-content,.ant-descriptions-rtl.ant-descriptions-bordered .ant-descriptions-item-label{border-right:none;border-left:1px solid #f0f0f0}.ant-descriptions-rtl.ant-descriptions-bordered .ant-descriptions-item-content:last-child,.ant-descriptions-rtl.ant-descriptions-bordered .ant-descriptions-item-label:last-child{border-left:none}.ant-divider{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";border-top:1px solid rgba(0,0,0,.06)}.ant-divider-vertical{position:relative;top:-.06em;display:inline-block;height:.9em;margin:0 8px;vertical-align:middle;border-top:0;border-left:1px solid rgba(0,0,0,.06)}.ant-divider-horizontal{display:flex;clear:both;width:100%;min-width:100%;margin:24px 0}.ant-divider-horizontal.ant-divider-with-text{display:flex;margin:16px 0;color:rgba(0,0,0,.85);font-weight:500;font-size:16px;white-space:nowrap;text-align:center;border-top:0;border-top-color:rgba(0,0,0,.06)}.ant-divider-horizontal.ant-divider-with-text:after,.ant-divider-horizontal.ant-divider-with-text:before{position:relative;top:50%;width:50%;border-top:1px solid transparent;border-top-color:inherit;border-bottom:0;transform:translateY(50%);content:""}.ant-divider-horizontal.ant-divider-with-text-left:before{top:50%;width:5%}.ant-divider-horizontal.ant-divider-with-text-left:after,.ant-divider-horizontal.ant-divider-with-text-right:before{top:50%;width:95%}.ant-divider-horizontal.ant-divider-with-text-right:after{top:50%;width:5%}.ant-divider-inner-text{display:inline-block;padding:0 1em}.ant-divider-dashed{background:none;border:dashed rgba(0,0,0,.06);border-width:1px 0 0}.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed{border-top:0}.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed:after,.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed:before{border-style:dashed none none}.ant-divider-vertical.ant-divider-dashed{border-width:0 0 0 1px}.ant-divider-plain.ant-divider-with-text{color:rgba(0,0,0,.85);font-weight:400;font-size:14px}.ant-divider-rtl{direction:rtl}.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-left:before{width:95%}.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-left:after,.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right:before{width:5%}.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right:after{width:95%}.ant-drawer{position:fixed;z-index:1000;width:0;height:100%;transition:transform .3s cubic-bezier(.7,.3,.1,1),height 0s ease .3s,width 0s ease .3s}.ant-drawer>*{transition:transform .3s cubic-bezier(.7,.3,.1,1),box-shadow .3s cubic-bezier(.7,.3,.1,1)}.ant-drawer-content-wrapper{position:absolute;width:100%;height:100%}.ant-drawer .ant-drawer-content{width:100%;height:100%}.ant-drawer-left,.ant-drawer-right{top:0;width:0;height:100%}.ant-drawer-left .ant-drawer-content-wrapper,.ant-drawer-right .ant-drawer-content-wrapper{height:100%}.ant-drawer-left.ant-drawer-open,.ant-drawer-right.ant-drawer-open{width:100%;transition:transform .3s cubic-bezier(.7,.3,.1,1)}.ant-drawer-left,.ant-drawer-left .ant-drawer-content-wrapper{left:0}.ant-drawer-left.ant-drawer-open .ant-drawer-content-wrapper{box-shadow:6px 0 16px -8px rgba(0,0,0,.08),9px 0 28px 0 rgba(0,0,0,.05),12px 0 48px 16px rgba(0,0,0,.03)}.ant-drawer-right,.ant-drawer-right .ant-drawer-content-wrapper{right:0}.ant-drawer-right.ant-drawer-open .ant-drawer-content-wrapper{box-shadow:-6px 0 16px -8px rgba(0,0,0,.08),-9px 0 28px 0 rgba(0,0,0,.05),-12px 0 48px 16px rgba(0,0,0,.03)}.ant-drawer-right.ant-drawer-open.no-mask{right:1px;transform:translateX(1px)}.ant-drawer-bottom,.ant-drawer-top{left:0;width:100%;height:0%}.ant-drawer-bottom .ant-drawer-content-wrapper,.ant-drawer-top .ant-drawer-content-wrapper{width:100%}.ant-drawer-bottom.ant-drawer-open,.ant-drawer-top.ant-drawer-open{height:100%;transition:transform .3s cubic-bezier(.7,.3,.1,1)}.ant-drawer-top{top:0}.ant-drawer-top.ant-drawer-open .ant-drawer-content-wrapper{box-shadow:0 6px 16px -8px rgba(0,0,0,.08),0 9px 28px 0 rgba(0,0,0,.05),0 12px 48px 16px rgba(0,0,0,.03)}.ant-drawer-bottom,.ant-drawer-bottom .ant-drawer-content-wrapper{bottom:0}.ant-drawer-bottom.ant-drawer-open .ant-drawer-content-wrapper{box-shadow:0 -6px 16px -8px rgba(0,0,0,.08),0 -9px 28px 0 rgba(0,0,0,.05),0 -12px 48px 16px rgba(0,0,0,.03)}.ant-drawer-bottom.ant-drawer-open.no-mask{bottom:1px;transform:translateY(1px)}.ant-drawer.ant-drawer-open .ant-drawer-mask{height:100%;opacity:1;transition:none;-webkit-animation:antdDrawerFadeIn .3s cubic-bezier(.7,.3,.1,1);animation:antdDrawerFadeIn .3s cubic-bezier(.7,.3,.1,1);pointer-events:auto}.ant-drawer-title{margin:0;color:rgba(0,0,0,.85);font-weight:500;font-size:16px;line-height:22px}.ant-drawer-content{position:relative;z-index:1;overflow:auto;background-color:#fff;background-clip:padding-box;border:0}.ant-drawer-close{position:absolute;top:0;right:0;z-index:10;display:block;padding:20px;color:rgba(0,0,0,.45);font-weight:700;font-size:16px;font-style:normal;line-height:1;text-align:center;text-transform:none;text-decoration:none;background:transparent;border:0;outline:0;cursor:pointer;transition:color .3s;text-rendering:auto}.ant-drawer-close:focus,.ant-drawer-close:hover{color:rgba(0,0,0,.75);text-decoration:none}.ant-drawer-header-no-title .ant-drawer-close{margin-right:var(--scroll-bar);padding-right:calc(20px - var(--scroll-bar))}.ant-drawer-header{position:relative;padding:16px 24px;border-bottom:1px solid #f0f0f0;border-radius:2px 2px 0 0}.ant-drawer-header,.ant-drawer-header-no-title{color:rgba(0,0,0,.85);background:#fff}.ant-drawer-wrapper-body{display:flex;flex-direction:column;flex-wrap:nowrap;width:100%;height:100%}.ant-drawer-body{flex-grow:1;padding:24px;overflow:auto;font-size:14px;line-height:1.5715;word-wrap:break-word}.ant-drawer-footer{flex-shrink:0;padding:10px 16px;border-top:1px solid #f0f0f0}.ant-drawer-mask{position:absolute;top:0;left:0;width:100%;height:0;background-color:rgba(0,0,0,.45);opacity:0;filter:alpha(opacity=45);transition:opacity .3s linear,height 0s ease .3s;pointer-events:none}.ant-drawer-open-content{box-shadow:0 3px 6px -4px rgba(0,0,0,.12),0 6px 16px 0 rgba(0,0,0,.08),0 9px 28px 8px rgba(0,0,0,.05)}.ant-drawer .ant-picker-clear{background:#fff}@-webkit-keyframes antdDrawerFadeIn{0%{opacity:0}to{opacity:1}}@keyframes antdDrawerFadeIn{0%{opacity:0}to{opacity:1}}.ant-drawer-rtl{direction:rtl}.ant-drawer-rtl .ant-drawer-close{right:auto;left:0}.ant-dropdown-menu-item.ant-dropdown-menu-item-danger{color:#ff4d4f}.ant-dropdown-menu-item.ant-dropdown-menu-item-danger:hover{color:#fff;background-color:#ff4d4f}.ant-dropdown{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:absolute;top:-9999px;left:-9999px;z-index:1050;display:block}.ant-dropdown:before{position:absolute;top:-4px;right:0;bottom:-4px;left:-7px;z-index:-9999;opacity:.0001;content:" "}.ant-dropdown-wrap{position:relative}.ant-dropdown-wrap .ant-btn>.anticon-down{font-size:10px}.ant-dropdown-wrap .anticon-down:before{transition:transform .2s}.ant-dropdown-wrap-open .anticon-down:before{transform:rotate(180deg)}.ant-dropdown-hidden,.ant-dropdown-menu-hidden,.ant-dropdown-menu-submenu-hidden{display:none}.ant-dropdown-show-arrow.ant-dropdown-placement-topCenter,.ant-dropdown-show-arrow.ant-dropdown-placement-topLeft,.ant-dropdown-show-arrow.ant-dropdown-placement-topRight{padding-bottom:10px}.ant-dropdown-show-arrow.ant-dropdown-placement-bottomCenter,.ant-dropdown-show-arrow.ant-dropdown-placement-bottomLeft,.ant-dropdown-show-arrow.ant-dropdown-placement-bottomRight{padding-top:10px}.ant-dropdown-arrow{position:absolute;z-index:1;display:block;width:8.48528137px;height:8.48528137px;background:transparent;border-style:solid;border-width:4.24264069px;transform:rotate(45deg)}.ant-dropdown-placement-topCenter>.ant-dropdown-arrow,.ant-dropdown-placement-topLeft>.ant-dropdown-arrow,.ant-dropdown-placement-topRight>.ant-dropdown-arrow{bottom:6.2px;border-color:transparent #fff #fff transparent;box-shadow:3px 3px 7px rgba(0,0,0,.07)}.ant-dropdown-placement-topCenter>.ant-dropdown-arrow{left:50%;transform:translateX(-50%) rotate(45deg)}.ant-dropdown-placement-topLeft>.ant-dropdown-arrow{left:16px}.ant-dropdown-placement-topRight>.ant-dropdown-arrow{right:16px}.ant-dropdown-placement-bottomCenter>.ant-dropdown-arrow,.ant-dropdown-placement-bottomLeft>.ant-dropdown-arrow,.ant-dropdown-placement-bottomRight>.ant-dropdown-arrow{top:6px;border-color:#fff transparent transparent #fff;box-shadow:-2px -2px 5px rgba(0,0,0,.06)}.ant-dropdown-placement-bottomCenter>.ant-dropdown-arrow{left:50%;transform:translateX(-50%) rotate(45deg)}.ant-dropdown-placement-bottomLeft>.ant-dropdown-arrow{left:16px}.ant-dropdown-placement-bottomRight>.ant-dropdown-arrow{right:16px}.ant-dropdown-menu{position:relative;margin:0;padding:4px 0;text-align:left;list-style-type:none;background-color:#fff;background-clip:padding-box;border-radius:2px;outline:none;box-shadow:0 3px 6px -4px rgba(0,0,0,.12),0 6px 16px 0 rgba(0,0,0,.08),0 9px 28px 8px rgba(0,0,0,.05)}.ant-dropdown-menu-item-group-title{padding:5px 12px;color:rgba(0,0,0,.45);transition:all .3s}.ant-dropdown-menu-submenu-popup{position:absolute;z-index:1050;background:transparent;box-shadow:none;transform-origin:0 0}.ant-dropdown-menu-submenu-popup li,.ant-dropdown-menu-submenu-popup ul{list-style:none}.ant-dropdown-menu-submenu-popup ul{margin-right:.3em;margin-left:.3em}.ant-dropdown-menu-item{position:relative;display:flex;align-items:center}.ant-dropdown-menu-item-icon{min-width:12px;margin-right:8px;font-size:12px}.ant-dropdown-menu-title-content{flex:auto}.ant-dropdown-menu-title-content>a{color:inherit;transition:all .3s}.ant-dropdown-menu-title-content>a:hover{color:inherit}.ant-dropdown-menu-title-content>a:after{position:absolute;top:0;right:0;bottom:0;left:0;content:""}.ant-dropdown-menu-item,.ant-dropdown-menu-submenu-title{clear:both;margin:0;padding:5px 12px;color:rgba(0,0,0,.85);font-weight:400;font-size:14px;line-height:22px;white-space:nowrap;cursor:pointer;transition:all .3s}.ant-dropdown-menu-item-selected,.ant-dropdown-menu-submenu-title-selected{color:#1890ff;background-color:#e6f7ff}.ant-dropdown-menu-item:hover,.ant-dropdown-menu-submenu-title:hover{background-color:#f5f5f5}.ant-dropdown-menu-item-disabled,.ant-dropdown-menu-submenu-title-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-dropdown-menu-item-disabled:hover,.ant-dropdown-menu-submenu-title-disabled:hover{color:rgba(0,0,0,.25);background-color:#fff;cursor:not-allowed}.ant-dropdown-menu-item-disabled a,.ant-dropdown-menu-submenu-title-disabled a{pointer-events:none}.ant-dropdown-menu-item-divider,.ant-dropdown-menu-submenu-title-divider{height:1px;margin:4px 0;overflow:hidden;line-height:0;background-color:#f0f0f0}.ant-dropdown-menu-item .ant-dropdown-menu-submenu-expand-icon,.ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-expand-icon{position:absolute;right:8px}.ant-dropdown-menu-item .ant-dropdown-menu-submenu-expand-icon .ant-dropdown-menu-submenu-arrow-icon,.ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-expand-icon .ant-dropdown-menu-submenu-arrow-icon{margin-right:0!important;color:rgba(0,0,0,.45);font-size:10px;font-style:normal}.ant-dropdown-menu-item-group-list{margin:0 8px;padding:0;list-style:none}.ant-dropdown-menu-submenu-title{padding-right:24px}.ant-dropdown-menu-submenu-vertical{position:relative}.ant-dropdown-menu-submenu-vertical>.ant-dropdown-menu{position:absolute;top:0;left:100%;min-width:100%;margin-left:4px;transform-origin:0 0}.ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled .ant-dropdown-menu-submenu-title,.ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow-icon{color:rgba(0,0,0,.25);background-color:#fff;cursor:not-allowed}.ant-dropdown-menu-submenu-selected .ant-dropdown-menu-submenu-title{color:#1890ff}.ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottomCenter,.ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottomLeft,.ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottomRight,.ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottomCenter,.ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottomLeft,.ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottomRight{-webkit-animation-name:antSlideUpIn;animation-name:antSlideUpIn}.ant-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-dropdown-placement-topCenter,.ant-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-dropdown-placement-topLeft,.ant-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-dropdown-placement-topRight,.ant-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-dropdown-placement-topCenter,.ant-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-dropdown-placement-topLeft,.ant-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-dropdown-placement-topRight{-webkit-animation-name:antSlideDownIn;animation-name:antSlideDownIn}.ant-dropdown.ant-slide-down-leave.ant-slide-down-leave-active.ant-dropdown-placement-bottomCenter,.ant-dropdown.ant-slide-down-leave.ant-slide-down-leave-active.ant-dropdown-placement-bottomLeft,.ant-dropdown.ant-slide-down-leave.ant-slide-down-leave-active.ant-dropdown-placement-bottomRight{-webkit-animation-name:antSlideUpOut;animation-name:antSlideUpOut}.ant-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-dropdown-placement-topCenter,.ant-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-dropdown-placement-topLeft,.ant-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-dropdown-placement-topRight{-webkit-animation-name:antSlideDownOut;animation-name:antSlideDownOut}.ant-dropdown-button>.anticon.anticon-down,.ant-dropdown-link>.anticon.anticon-down,.ant-dropdown-trigger>.anticon.anticon-down{font-size:10px;vertical-align:baseline}.ant-dropdown-button{white-space:nowrap}.ant-dropdown-button.ant-btn-group>.ant-btn:last-child:not(:first-child):not(.ant-btn-icon-only){padding-right:8px;padding-left:8px}.ant-dropdown-menu-dark,.ant-dropdown-menu-dark .ant-dropdown-menu{background:#001529}.ant-dropdown-menu-dark .ant-dropdown-menu-item,.ant-dropdown-menu-dark .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow:after,.ant-dropdown-menu-dark .ant-dropdown-menu-item>.anticon+span>a,.ant-dropdown-menu-dark .ant-dropdown-menu-item>.anticon+span>a .ant-dropdown-menu-submenu-arrow:after,.ant-dropdown-menu-dark .ant-dropdown-menu-item>a,.ant-dropdown-menu-dark .ant-dropdown-menu-item>a .ant-dropdown-menu-submenu-arrow:after,.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title,.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow:after{color:hsla(0,0%,100%,.65)}.ant-dropdown-menu-dark .ant-dropdown-menu-item:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-item>.anticon+span>a:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-item>a:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title:hover{color:#fff;background:transparent}.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected,.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected>a{color:#fff;background:#1890ff}.ant-dropdown-rtl{direction:rtl}.ant-dropdown-rtl.ant-dropdown:before{right:-7px;left:0}.ant-dropdown-menu.ant-dropdown-menu-rtl,.ant-dropdown-rtl .ant-dropdown-menu-item-group-title{direction:rtl;text-align:right}.ant-dropdown-menu-submenu-popup.ant-dropdown-menu-submenu-rtl{transform-origin:100% 0}.ant-dropdown-rtl .ant-dropdown-menu-item,.ant-dropdown-rtl .ant-dropdown-menu-submenu-popup li,.ant-dropdown-rtl .ant-dropdown-menu-submenu-popup ul,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title{text-align:right}.ant-dropdown-rtl .ant-dropdown-menu-item>.anticon:first-child,.ant-dropdown-rtl .ant-dropdown-menu-item>span>.anticon:first-child,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title>.anticon:first-child,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title>span>.anticon:first-child{margin-right:0;margin-left:8px}.ant-dropdown-rtl .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow{right:auto;left:8px}.ant-dropdown-rtl .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow-icon,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow-icon{margin-left:0!important;transform:scaleX(-1)}.ant-dropdown-rtl .ant-dropdown-menu-submenu-title{padding-right:12px;padding-left:24px}.ant-dropdown-rtl .ant-dropdown-menu-submenu-vertical>.ant-dropdown-menu{right:100%;left:0;margin-right:4px;margin-left:0}.ant-empty{margin:0 8px;font-size:14px;line-height:1.5715;text-align:center}.ant-empty-image{height:100px;margin-bottom:8px}.ant-empty-image img{height:100%}.ant-empty-image svg{height:100%;margin:auto}.ant-empty-footer{margin-top:16px}.ant-empty-normal{margin:32px 0;color:rgba(0,0,0,.25)}.ant-empty-normal .ant-empty-image{height:40px}.ant-empty-small{margin:8px 0;color:rgba(0,0,0,.25)}.ant-empty-small .ant-empty-image{height:35px}.ant-empty-img-default-ellipse{fill:#f5f5f5;fill-opacity:.8}.ant-empty-img-default-path-1{fill:#aeb8c2}.ant-empty-img-default-path-2{fill:url(#linearGradient-1)}.ant-empty-img-default-path-3{fill:#f5f5f7}.ant-empty-img-default-path-4,.ant-empty-img-default-path-5{fill:#dce0e6}.ant-empty-img-default-g{fill:#fff}.ant-empty-img-simple-ellipse{fill:#f5f5f5}.ant-empty-img-simple-g{stroke:#d9d9d9}.ant-empty-img-simple-path{fill:#fafafa}.ant-empty-rtl{direction:rtl}.ant-form-item .ant-mentions,.ant-form-item textarea.ant-input{height:auto}.ant-form-item .ant-upload{background:transparent}.ant-form-item .ant-upload.ant-upload-drag{background:#fafafa}.ant-form-item input[type=checkbox],.ant-form-item input[type=radio]{width:14px;height:14px}.ant-form-item .ant-checkbox-inline,.ant-form-item .ant-radio-inline{display:inline-block;margin-left:8px;font-weight:400;vertical-align:middle;cursor:pointer}.ant-form-item .ant-checkbox-inline:first-child,.ant-form-item .ant-radio-inline:first-child{margin-left:0}.ant-form-item .ant-checkbox-vertical,.ant-form-item .ant-radio-vertical{display:block}.ant-form-item .ant-checkbox-vertical+.ant-checkbox-vertical,.ant-form-item .ant-radio-vertical+.ant-radio-vertical{margin-left:0}.ant-form-item .ant-input-number+.ant-form-text{margin-left:8px}.ant-form-item .ant-input-number-handler-wrap{z-index:2}.ant-form-item .ant-cascader-picker,.ant-form-item .ant-select{width:100%}.ant-form-item .ant-input-group .ant-cascader-picker,.ant-form-item .ant-input-group .ant-select,.ant-form-item .ant-picker-calendar-month-select,.ant-form-item .ant-picker-calendar-year-select{width:auto}.ant-form-inline{display:flex;flex-wrap:wrap}.ant-form-inline .ant-form-item{flex:none;flex-wrap:nowrap;margin-right:16px;margin-bottom:0}.ant-form-inline .ant-form-item-with-help{margin-bottom:24px}.ant-form-inline .ant-form-item>.ant-form-item-control,.ant-form-inline .ant-form-item>.ant-form-item-label{display:inline-block;vertical-align:top}.ant-form-inline .ant-form-item>.ant-form-item-label{flex:none}.ant-form-inline .ant-form-item .ant-form-item-has-feedback,.ant-form-inline .ant-form-item .ant-form-text{display:inline-block}.ant-form-horizontal .ant-form-item-label{flex-grow:0}.ant-form-horizontal .ant-form-item-control{flex:1 1 0}.ant-form-vertical .ant-form-item{flex-direction:column}.ant-form-vertical .ant-form-item-label>label{height:auto}.ant-col-24.ant-form-item-label,.ant-col-xl-24.ant-form-item-label,.ant-form-vertical .ant-form-item-label{padding:0 0 8px;line-height:1.5715;white-space:normal;text-align:left}.ant-col-24.ant-form-item-label>label,.ant-col-xl-24.ant-form-item-label>label,.ant-form-vertical .ant-form-item-label>label{margin:0}.ant-col-24.ant-form-item-label>label:after,.ant-col-xl-24.ant-form-item-label>label:after,.ant-form-vertical .ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-24.ant-form-item-label,.ant-form-rtl.ant-col-xl-24.ant-form-item-label,.ant-form-rtl.ant-form-vertical .ant-form-item-label{text-align:right}@media (max-width:575px){.ant-form-item .ant-form-item-label{padding:0 0 8px;line-height:1.5715;white-space:normal;text-align:left}.ant-form-item .ant-form-item-label>label{margin:0}.ant-form-item .ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-form-item .ant-form-item-label{text-align:right}.ant-form .ant-form-item{flex-wrap:wrap}.ant-form .ant-form-item .ant-form-item-control,.ant-form .ant-form-item .ant-form-item-label{flex:0 0 100%;max-width:100%}.ant-col-xs-24.ant-form-item-label{padding:0 0 8px;line-height:1.5715;white-space:normal;text-align:left}.ant-col-xs-24.ant-form-item-label>label{margin:0}.ant-col-xs-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-xs-24.ant-form-item-label{text-align:right}}@media (max-width:767px){.ant-col-sm-24.ant-form-item-label{padding:0 0 8px;line-height:1.5715;white-space:normal;text-align:left}.ant-col-sm-24.ant-form-item-label>label{margin:0}.ant-col-sm-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-sm-24.ant-form-item-label{text-align:right}}@media (max-width:991px){.ant-col-md-24.ant-form-item-label{padding:0 0 8px;line-height:1.5715;white-space:normal;text-align:left}.ant-col-md-24.ant-form-item-label>label{margin:0}.ant-col-md-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-md-24.ant-form-item-label{text-align:right}}@media (max-width:1199px){.ant-col-lg-24.ant-form-item-label{padding:0 0 8px;line-height:1.5715;white-space:normal;text-align:left}.ant-col-lg-24.ant-form-item-label>label{margin:0}.ant-col-lg-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-lg-24.ant-form-item-label{text-align:right}}@media (max-width:1599px){.ant-col-xl-24.ant-form-item-label{padding:0 0 8px;line-height:1.5715;white-space:normal;text-align:left}.ant-col-xl-24.ant-form-item-label>label{margin:0}.ant-col-xl-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-xl-24.ant-form-item-label{text-align:right}}.ant-form-item-explain.ant-form-item-explain-error{color:#ff4d4f}.ant-form-item-explain.ant-form-item-explain-warning{color:#faad14}.ant-form-item-has-feedback .ant-input{padding-right:24px}.ant-form-item-has-feedback .ant-input-affix-wrapper .ant-input-suffix{padding-right:18px}.ant-form-item-has-feedback .ant-input-search:not(.ant-input-search-enter-button) .ant-input-suffix{right:28px}.ant-form-item-has-feedback .ant-switch{margin:2px 0 4px}.ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-arrow,.ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-clear,.ant-form-item-has-feedback>.ant-select .ant-select-arrow,.ant-form-item-has-feedback>.ant-select .ant-select-clear{right:32px}.ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-selection-selected-value,.ant-form-item-has-feedback>.ant-select .ant-select-selection-selected-value{padding-right:42px}.ant-form-item-has-feedback .ant-cascader-picker-arrow{margin-right:19px}.ant-form-item-has-feedback .ant-cascader-picker-clear{right:32px}.ant-form-item-has-feedback .ant-picker,.ant-form-item-has-feedback .ant-picker-large{padding-right:29.2px}.ant-form-item-has-feedback .ant-picker-small{padding-right:25.2px}.ant-form-item-has-feedback.ant-form-item-has-error .ant-form-item-children-icon,.ant-form-item-has-feedback.ant-form-item-has-success .ant-form-item-children-icon,.ant-form-item-has-feedback.ant-form-item-has-warning .ant-form-item-children-icon,.ant-form-item-has-feedback.ant-form-item-is-validating .ant-form-item-children-icon{position:absolute;top:50%;right:0;z-index:1;width:32px;height:20px;margin-top:-10px;font-size:14px;line-height:20px;text-align:center;visibility:visible;-webkit-animation:zoomIn .3s cubic-bezier(.12,.4,.29,1.46);animation:zoomIn .3s cubic-bezier(.12,.4,.29,1.46);pointer-events:none}.ant-form-item-has-success.ant-form-item-has-feedback .ant-form-item-children-icon{color:#52c41a;-webkit-animation-name:diffZoomIn1!important;animation-name:diffZoomIn1!important}.ant-form-item-has-warning .ant-form-item-split{color:#faad14}.ant-form-item-has-warning :not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper,.ant-form-item-has-warning :not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover,.ant-form-item-has-warning :not(.ant-input-disabled):not(.ant-input-borderless).ant-input,.ant-form-item-has-warning :not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover{background-color:#fff;border-color:#faad14}.ant-form-item-has-warning .ant-calendar-picker-open .ant-calendar-picker-input,.ant-form-item-has-warning :not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused,.ant-form-item-has-warning :not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus,.ant-form-item-has-warning :not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused,.ant-form-item-has-warning :not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus{border-color:#ffc53d;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(250,173,20,.2)}.ant-form-item-has-warning .ant-input-prefix{color:#faad14}.ant-form-item-has-warning .ant-input-group-addon{color:#faad14;border-color:#faad14}.ant-form-item-has-warning .has-feedback{color:#faad14}.ant-form-item-has-warning.ant-form-item-has-feedback .ant-form-item-children-icon{color:#faad14;-webkit-animation-name:diffZoomIn3!important;animation-name:diffZoomIn3!important}.ant-form-item-has-warning .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input) .ant-select-selector{background-color:#fff;border-color:#faad14!important}.ant-form-item-has-warning .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input).ant-select-focused .ant-select-selector,.ant-form-item-has-warning .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input).ant-select-open .ant-select-selector{border-color:#ffc53d;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(250,173,20,.2)}.ant-form-item-has-warning .ant-input-number,.ant-form-item-has-warning .ant-picker{background-color:#fff;border-color:#faad14}.ant-form-item-has-warning .ant-input-number-focused,.ant-form-item-has-warning .ant-input-number:focus,.ant-form-item-has-warning .ant-picker-focused,.ant-form-item-has-warning .ant-picker:focus{border-color:#ffc53d;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(250,173,20,.2)}.ant-form-item-has-warning .ant-input-number:not([disabled]):hover,.ant-form-item-has-warning .ant-picker:not([disabled]):hover{background-color:#fff;border-color:#faad14}.ant-form-item-has-warning .ant-cascader-picker:focus .ant-cascader-input{border-color:#ffc53d;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(250,173,20,.2)}.ant-form-item-has-error .ant-form-item-split{color:#ff4d4f}.ant-form-item-has-error :not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper,.ant-form-item-has-error :not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover,.ant-form-item-has-error :not(.ant-input-disabled):not(.ant-input-borderless).ant-input,.ant-form-item-has-error :not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover{background-color:#fff;border-color:#ff4d4f}.ant-form-item-has-error .ant-calendar-picker-open .ant-calendar-picker-input,.ant-form-item-has-error :not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused,.ant-form-item-has-error :not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus,.ant-form-item-has-error :not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused,.ant-form-item-has-error :not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus{border-color:#ff7875;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(255,77,79,.2)}.ant-form-item-has-error .ant-input-prefix{color:#ff4d4f}.ant-form-item-has-error .ant-input-group-addon{color:#ff4d4f;border-color:#ff4d4f}.ant-form-item-has-error .has-feedback{color:#ff4d4f}.ant-form-item-has-error.ant-form-item-has-feedback .ant-form-item-children-icon{color:#ff4d4f;-webkit-animation-name:diffZoomIn2!important;animation-name:diffZoomIn2!important}.ant-form-item-has-error .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input) .ant-select-selector{background-color:#fff;border-color:#ff4d4f!important}.ant-form-item-has-error .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input).ant-select-focused .ant-select-selector,.ant-form-item-has-error .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input).ant-select-open .ant-select-selector{border-color:#ff7875;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(255,77,79,.2)}.ant-form-item-has-error .ant-input-group-addon .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{background-color:inherit;border:0;box-shadow:none}.ant-form-item-has-error .ant-select.ant-select-auto-complete .ant-input:focus{border-color:#ff4d4f}.ant-form-item-has-error .ant-input-number,.ant-form-item-has-error .ant-picker{background-color:#fff;border-color:#ff4d4f}.ant-form-item-has-error .ant-input-number-focused,.ant-form-item-has-error .ant-input-number:focus,.ant-form-item-has-error .ant-picker-focused,.ant-form-item-has-error .ant-picker:focus{border-color:#ff7875;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(255,77,79,.2)}.ant-form-item-has-error .ant-input-number:not([disabled]):hover,.ant-form-item-has-error .ant-mention-wrapper .ant-mention-editor,.ant-form-item-has-error .ant-mention-wrapper .ant-mention-editor:not([disabled]):hover,.ant-form-item-has-error .ant-picker:not([disabled]):hover{background-color:#fff;border-color:#ff4d4f}.ant-form-item-has-error .ant-mention-wrapper.ant-mention-active:not([disabled]) .ant-mention-editor,.ant-form-item-has-error .ant-mention-wrapper .ant-mention-editor:not([disabled]):focus{border-color:#ff7875;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(255,77,79,.2)}.ant-form-item-has-error .ant-cascader-picker:hover .ant-cascader-picker-label:hover+.ant-cascader-input.ant-input{border-color:#ff4d4f}.ant-form-item-has-error .ant-cascader-picker:focus .ant-cascader-input{background-color:#fff;border-color:#ff7875;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(255,77,79,.2)}.ant-form-item-has-error .ant-transfer-list{border-color:#ff4d4f}.ant-form-item-has-error .ant-transfer-list-search:not([disabled]){border-color:#d9d9d9}.ant-form-item-has-error .ant-transfer-list-search:not([disabled]):hover{border-color:#40a9ff;border-right-width:1px!important}.ant-form-item-has-error .ant-transfer-list-search:not([disabled]):focus{border-color:#40a9ff;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(24,144,255,.2)}.ant-form-item-has-error .ant-radio-button-wrapper{border-color:#ff4d4f!important}.ant-form-item-has-error .ant-radio-button-wrapper:not(:first-child):before{background-color:#ff4d4f}.ant-form-item-is-validating.ant-form-item-has-feedback .ant-form-item-children-icon{display:inline-block;color:#1890ff}.ant-form{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum"}.ant-form legend{display:block;width:100%;margin-bottom:20px;padding:0;color:rgba(0,0,0,.45);font-size:16px;line-height:inherit;border:0;border-bottom:1px solid #d9d9d9}.ant-form label{font-size:14px}.ant-form input[type=search]{box-sizing:border-box}.ant-form input[type=checkbox],.ant-form input[type=radio]{line-height:normal}.ant-form input[type=file]{display:block}.ant-form input[type=range]{display:block;width:100%}.ant-form select[multiple],.ant-form select[size]{height:auto}.ant-form input[type=checkbox]:focus,.ant-form input[type=file]:focus,.ant-form input[type=radio]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.ant-form output{display:block;padding-top:15px;color:rgba(0,0,0,.85);font-size:14px;line-height:1.5715}.ant-form .ant-form-text{display:inline-block;padding-right:8px}.ant-form-small .ant-form-item-label>label{height:24px}.ant-form-small .ant-form-item-control-input{min-height:24px}.ant-form-large .ant-form-item-label>label{height:40px}.ant-form-large .ant-form-item-control-input{min-height:40px}.ant-form-item{box-sizing:border-box;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";margin:0 0 24px;vertical-align:top}.ant-form-item-with-help{margin-bottom:0}.ant-form-item-hidden,.ant-form-item-hidden.ant-row{display:none}.ant-form-item-label{display:inline-block;flex-grow:0;overflow:hidden;white-space:nowrap;text-align:right;vertical-align:middle}.ant-form-item-label-left{text-align:left}.ant-form-item-label>label{position:relative;display:inline-flex;align-items:center;max-width:100%;height:32px;color:rgba(0,0,0,.85);font-size:14px}.ant-form-item-label>label>.anticon{font-size:14px;vertical-align:top}.ant-form-item-label>label.ant-form-item-required:not(.ant-form-item-required-mark-optional):before{display:inline-block;margin-right:4px;color:#ff4d4f;font-size:14px;font-family:SimSun,sans-serif;line-height:1;content:"*"}.ant-form-hide-required-mark .ant-form-item-label>label.ant-form-item-required:not(.ant-form-item-required-mark-optional):before{display:none}.ant-form-item-label>label .ant-form-item-optional{display:inline-block;margin-left:4px;color:rgba(0,0,0,.45)}.ant-form-hide-required-mark .ant-form-item-label>label .ant-form-item-optional{display:none}.ant-form-item-label>label .ant-form-item-tooltip{color:rgba(0,0,0,.45);cursor:help;-ms-writing-mode:lr-tb;writing-mode:horizontal-tb;-webkit-margin-start:4px;margin-inline-start:4px}.ant-form-item-label>label:after{content:":";position:relative;top:-.5px;margin:0 8px 0 2px}.ant-form-item-label>label.ant-form-item-no-colon:after{content:" "}.ant-form-item-control{display:flex;flex-direction:column;flex-grow:1}.ant-form-item-control:first-child:not([class^=ant-col-]):not([class*=" ant-col-"]){width:100%}.ant-form-item-control-input{position:relative;display:flex;align-items:center;min-height:32px}.ant-form-item-control-input-content{flex:auto;max-width:100%}.ant-form-item-explain,.ant-form-item-extra{clear:both;min-height:24px;color:rgba(0,0,0,.45);font-size:14px;line-height:1.5715;transition:color .3s cubic-bezier(.215,.61,.355,1)}.ant-form-item .ant-input-textarea-show-count:after{margin-bottom:-22px}.ant-show-help-appear,.ant-show-help-enter,.ant-show-help-leave{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.ant-show-help-appear.ant-show-help-appear-active,.ant-show-help-enter.ant-show-help-enter-active{-webkit-animation-name:antShowHelpIn;animation-name:antShowHelpIn;-webkit-animation-play-state:running;animation-play-state:running}.ant-show-help-leave.ant-show-help-leave-active{-webkit-animation-name:antShowHelpOut;animation-name:antShowHelpOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.ant-show-help-appear,.ant-show-help-enter{opacity:0}.ant-show-help-appear,.ant-show-help-enter,.ant-show-help-leave{-webkit-animation-timing-function:cubic-bezier(.645,.045,.355,1);animation-timing-function:cubic-bezier(.645,.045,.355,1)}@-webkit-keyframes antShowHelpIn{0%{transform:translateY(-5px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes antShowHelpIn{0%{transform:translateY(-5px);opacity:0}to{transform:translateY(0);opacity:1}}@-webkit-keyframes antShowHelpOut{to{transform:translateY(-5px);opacity:0}}@keyframes antShowHelpOut{to{transform:translateY(-5px);opacity:0}}@-webkit-keyframes diffZoomIn1{0%{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}@keyframes diffZoomIn1{0%{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}@-webkit-keyframes diffZoomIn2{0%{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}@keyframes diffZoomIn2{0%{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}@-webkit-keyframes diffZoomIn3{0%{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}@keyframes diffZoomIn3{0%{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}.ant-form-rtl{direction:rtl}.ant-form-rtl .ant-form-item-label{text-align:left}.ant-form-rtl .ant-form-item-label>label.ant-form-item-required:before{margin-right:0;margin-left:4px}.ant-form-rtl .ant-form-item-label>label:after{margin:0 2px 0 8px}.ant-form-rtl .ant-form-item-label>label .ant-form-item-optional{margin-right:4px;margin-left:0}.ant-col-rtl .ant-form-item-control:first-child{width:100%}.ant-form-rtl .ant-form-item-has-feedback .ant-input{padding-right:11px;padding-left:24px}.ant-form-rtl .ant-form-item-has-feedback .ant-input-affix-wrapper .ant-input-suffix{padding-right:11px;padding-left:18px}.ant-form-rtl .ant-form-item-has-feedback .ant-input-affix-wrapper .ant-input{padding:0}.ant-form-rtl .ant-form-item-has-feedback .ant-input-search:not(.ant-input-search-enter-button) .ant-input-suffix{right:auto;left:28px}.ant-form-rtl .ant-form-item-has-feedback .ant-input-number{padding-left:18px}.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-arrow,.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-clear,.ant-form-rtl .ant-form-item-has-feedback>.ant-select .ant-select-arrow,.ant-form-rtl .ant-form-item-has-feedback>.ant-select .ant-select-clear{right:auto;left:32px}.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-selection-selected-value,.ant-form-rtl .ant-form-item-has-feedback>.ant-select .ant-select-selection-selected-value{padding-right:0;padding-left:42px}.ant-form-rtl .ant-form-item-has-feedback .ant-cascader-picker-arrow{margin-right:0;margin-left:19px}.ant-form-rtl .ant-form-item-has-feedback .ant-cascader-picker-clear{right:auto;left:32px}.ant-form-rtl .ant-form-item-has-feedback .ant-picker,.ant-form-rtl .ant-form-item-has-feedback .ant-picker-large{padding-right:11px;padding-left:29.2px}.ant-form-rtl .ant-form-item-has-feedback .ant-picker-small{padding-right:7px;padding-left:25.2px}.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-error .ant-form-item-children-icon,.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-success .ant-form-item-children-icon,.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-warning .ant-form-item-children-icon,.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-is-validating .ant-form-item-children-icon{right:auto;left:0}.ant-form-rtl.ant-form-inline .ant-form-item{margin-right:0;margin-left:16px}.ant-row{flex-flow:row wrap}.ant-row,.ant-row:after,.ant-row:before{display:flex}.ant-row-no-wrap{flex-wrap:nowrap}.ant-row-start{justify-content:flex-start}.ant-row-center{justify-content:center}.ant-row-end{justify-content:flex-end}.ant-row-space-between{justify-content:space-between}.ant-row-space-around{justify-content:space-around}.ant-row-top{align-items:flex-start}.ant-row-middle{align-items:center}.ant-row-bottom{align-items:flex-end}.ant-col{position:relative;max-width:100%;min-height:1px}.ant-col-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-push-24{left:100%}.ant-col-pull-24{right:100%}.ant-col-offset-24{margin-left:100%}.ant-col-order-24{order:24}.ant-col-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-push-23{left:95.83333333%}.ant-col-pull-23{right:95.83333333%}.ant-col-offset-23{margin-left:95.83333333%}.ant-col-order-23{order:23}.ant-col-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-push-22{left:91.66666667%}.ant-col-pull-22{right:91.66666667%}.ant-col-offset-22{margin-left:91.66666667%}.ant-col-order-22{order:22}.ant-col-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-push-21{left:87.5%}.ant-col-pull-21{right:87.5%}.ant-col-offset-21{margin-left:87.5%}.ant-col-order-21{order:21}.ant-col-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-push-20{left:83.33333333%}.ant-col-pull-20{right:83.33333333%}.ant-col-offset-20{margin-left:83.33333333%}.ant-col-order-20{order:20}.ant-col-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-push-19{left:79.16666667%}.ant-col-pull-19{right:79.16666667%}.ant-col-offset-19{margin-left:79.16666667%}.ant-col-order-19{order:19}.ant-col-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-push-18{left:75%}.ant-col-pull-18{right:75%}.ant-col-offset-18{margin-left:75%}.ant-col-order-18{order:18}.ant-col-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-push-17{left:70.83333333%}.ant-col-pull-17{right:70.83333333%}.ant-col-offset-17{margin-left:70.83333333%}.ant-col-order-17{order:17}.ant-col-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-push-16{left:66.66666667%}.ant-col-pull-16{right:66.66666667%}.ant-col-offset-16{margin-left:66.66666667%}.ant-col-order-16{order:16}.ant-col-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-push-15{left:62.5%}.ant-col-pull-15{right:62.5%}.ant-col-offset-15{margin-left:62.5%}.ant-col-order-15{order:15}.ant-col-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-push-14{left:58.33333333%}.ant-col-pull-14{right:58.33333333%}.ant-col-offset-14{margin-left:58.33333333%}.ant-col-order-14{order:14}.ant-col-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-push-13{left:54.16666667%}.ant-col-pull-13{right:54.16666667%}.ant-col-offset-13{margin-left:54.16666667%}.ant-col-order-13{order:13}.ant-col-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-push-12{left:50%}.ant-col-pull-12{right:50%}.ant-col-offset-12{margin-left:50%}.ant-col-order-12{order:12}.ant-col-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-push-11{left:45.83333333%}.ant-col-pull-11{right:45.83333333%}.ant-col-offset-11{margin-left:45.83333333%}.ant-col-order-11{order:11}.ant-col-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-push-10{left:41.66666667%}.ant-col-pull-10{right:41.66666667%}.ant-col-offset-10{margin-left:41.66666667%}.ant-col-order-10{order:10}.ant-col-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-push-9{left:37.5%}.ant-col-pull-9{right:37.5%}.ant-col-offset-9{margin-left:37.5%}.ant-col-order-9{order:9}.ant-col-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-push-8{left:33.33333333%}.ant-col-pull-8{right:33.33333333%}.ant-col-offset-8{margin-left:33.33333333%}.ant-col-order-8{order:8}.ant-col-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-push-7{left:29.16666667%}.ant-col-pull-7{right:29.16666667%}.ant-col-offset-7{margin-left:29.16666667%}.ant-col-order-7{order:7}.ant-col-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-push-6{left:25%}.ant-col-pull-6{right:25%}.ant-col-offset-6{margin-left:25%}.ant-col-order-6{order:6}.ant-col-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-push-5{left:20.83333333%}.ant-col-pull-5{right:20.83333333%}.ant-col-offset-5{margin-left:20.83333333%}.ant-col-order-5{order:5}.ant-col-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-push-4{left:16.66666667%}.ant-col-pull-4{right:16.66666667%}.ant-col-offset-4{margin-left:16.66666667%}.ant-col-order-4{order:4}.ant-col-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-push-3{left:12.5%}.ant-col-pull-3{right:12.5%}.ant-col-offset-3{margin-left:12.5%}.ant-col-order-3{order:3}.ant-col-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-push-2{left:8.33333333%}.ant-col-pull-2{right:8.33333333%}.ant-col-offset-2{margin-left:8.33333333%}.ant-col-order-2{order:2}.ant-col-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-push-1{left:4.16666667%}.ant-col-pull-1{right:4.16666667%}.ant-col-offset-1{margin-left:4.16666667%}.ant-col-order-1{order:1}.ant-col-0{display:none}.ant-col-offset-0{margin-left:0}.ant-col-order-0{order:0}.ant-col-offset-0.ant-col-rtl{margin-right:0}.ant-col-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}.ant-col-xs-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-xs-push-24{left:100%}.ant-col-xs-pull-24{right:100%}.ant-col-xs-offset-24{margin-left:100%}.ant-col-xs-order-24{order:24}.ant-col-xs-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-xs-push-23{left:95.83333333%}.ant-col-xs-pull-23{right:95.83333333%}.ant-col-xs-offset-23{margin-left:95.83333333%}.ant-col-xs-order-23{order:23}.ant-col-xs-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-xs-push-22{left:91.66666667%}.ant-col-xs-pull-22{right:91.66666667%}.ant-col-xs-offset-22{margin-left:91.66666667%}.ant-col-xs-order-22{order:22}.ant-col-xs-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-xs-push-21{left:87.5%}.ant-col-xs-pull-21{right:87.5%}.ant-col-xs-offset-21{margin-left:87.5%}.ant-col-xs-order-21{order:21}.ant-col-xs-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-xs-push-20{left:83.33333333%}.ant-col-xs-pull-20{right:83.33333333%}.ant-col-xs-offset-20{margin-left:83.33333333%}.ant-col-xs-order-20{order:20}.ant-col-xs-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-xs-push-19{left:79.16666667%}.ant-col-xs-pull-19{right:79.16666667%}.ant-col-xs-offset-19{margin-left:79.16666667%}.ant-col-xs-order-19{order:19}.ant-col-xs-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-xs-push-18{left:75%}.ant-col-xs-pull-18{right:75%}.ant-col-xs-offset-18{margin-left:75%}.ant-col-xs-order-18{order:18}.ant-col-xs-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-xs-push-17{left:70.83333333%}.ant-col-xs-pull-17{right:70.83333333%}.ant-col-xs-offset-17{margin-left:70.83333333%}.ant-col-xs-order-17{order:17}.ant-col-xs-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-xs-push-16{left:66.66666667%}.ant-col-xs-pull-16{right:66.66666667%}.ant-col-xs-offset-16{margin-left:66.66666667%}.ant-col-xs-order-16{order:16}.ant-col-xs-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-xs-push-15{left:62.5%}.ant-col-xs-pull-15{right:62.5%}.ant-col-xs-offset-15{margin-left:62.5%}.ant-col-xs-order-15{order:15}.ant-col-xs-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-xs-push-14{left:58.33333333%}.ant-col-xs-pull-14{right:58.33333333%}.ant-col-xs-offset-14{margin-left:58.33333333%}.ant-col-xs-order-14{order:14}.ant-col-xs-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-xs-push-13{left:54.16666667%}.ant-col-xs-pull-13{right:54.16666667%}.ant-col-xs-offset-13{margin-left:54.16666667%}.ant-col-xs-order-13{order:13}.ant-col-xs-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-xs-push-12{left:50%}.ant-col-xs-pull-12{right:50%}.ant-col-xs-offset-12{margin-left:50%}.ant-col-xs-order-12{order:12}.ant-col-xs-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-xs-push-11{left:45.83333333%}.ant-col-xs-pull-11{right:45.83333333%}.ant-col-xs-offset-11{margin-left:45.83333333%}.ant-col-xs-order-11{order:11}.ant-col-xs-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-xs-push-10{left:41.66666667%}.ant-col-xs-pull-10{right:41.66666667%}.ant-col-xs-offset-10{margin-left:41.66666667%}.ant-col-xs-order-10{order:10}.ant-col-xs-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-xs-push-9{left:37.5%}.ant-col-xs-pull-9{right:37.5%}.ant-col-xs-offset-9{margin-left:37.5%}.ant-col-xs-order-9{order:9}.ant-col-xs-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-xs-push-8{left:33.33333333%}.ant-col-xs-pull-8{right:33.33333333%}.ant-col-xs-offset-8{margin-left:33.33333333%}.ant-col-xs-order-8{order:8}.ant-col-xs-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-xs-push-7{left:29.16666667%}.ant-col-xs-pull-7{right:29.16666667%}.ant-col-xs-offset-7{margin-left:29.16666667%}.ant-col-xs-order-7{order:7}.ant-col-xs-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-xs-push-6{left:25%}.ant-col-xs-pull-6{right:25%}.ant-col-xs-offset-6{margin-left:25%}.ant-col-xs-order-6{order:6}.ant-col-xs-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-xs-push-5{left:20.83333333%}.ant-col-xs-pull-5{right:20.83333333%}.ant-col-xs-offset-5{margin-left:20.83333333%}.ant-col-xs-order-5{order:5}.ant-col-xs-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-xs-push-4{left:16.66666667%}.ant-col-xs-pull-4{right:16.66666667%}.ant-col-xs-offset-4{margin-left:16.66666667%}.ant-col-xs-order-4{order:4}.ant-col-xs-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-xs-push-3{left:12.5%}.ant-col-xs-pull-3{right:12.5%}.ant-col-xs-offset-3{margin-left:12.5%}.ant-col-xs-order-3{order:3}.ant-col-xs-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-xs-push-2{left:8.33333333%}.ant-col-xs-pull-2{right:8.33333333%}.ant-col-xs-offset-2{margin-left:8.33333333%}.ant-col-xs-order-2{order:2}.ant-col-xs-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-xs-push-1{left:4.16666667%}.ant-col-xs-pull-1{right:4.16666667%}.ant-col-xs-offset-1{margin-left:4.16666667%}.ant-col-xs-order-1{order:1}.ant-col-xs-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-xs-push-0{left:auto}.ant-col-xs-pull-0{right:auto}.ant-col-xs-offset-0{margin-left:0}.ant-col-xs-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-xs-push-0.ant-col-rtl{right:auto}.ant-col-xs-pull-0.ant-col-rtl{left:auto}.ant-col-xs-offset-0.ant-col-rtl{margin-right:0}.ant-col-xs-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-xs-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-xs-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-xs-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-xs-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-xs-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-xs-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-xs-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-xs-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-xs-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-xs-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-xs-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-xs-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-xs-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-xs-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-xs-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-xs-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-xs-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-xs-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-xs-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-xs-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-xs-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-xs-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-xs-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-xs-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-xs-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-xs-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-xs-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-xs-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-xs-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-xs-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-xs-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-xs-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-xs-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-xs-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-xs-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-xs-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-xs-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-xs-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-xs-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-xs-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-xs-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-xs-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-xs-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-xs-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-xs-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-xs-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-xs-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-xs-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-xs-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-xs-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-xs-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-xs-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-xs-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-xs-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-xs-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-xs-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-xs-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-xs-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-xs-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-xs-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-xs-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-xs-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-xs-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-xs-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-xs-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-xs-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-xs-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-xs-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-xs-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-xs-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-xs-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}@media (min-width:576px){.ant-col-sm-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-sm-push-24{left:100%}.ant-col-sm-pull-24{right:100%}.ant-col-sm-offset-24{margin-left:100%}.ant-col-sm-order-24{order:24}.ant-col-sm-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-sm-push-23{left:95.83333333%}.ant-col-sm-pull-23{right:95.83333333%}.ant-col-sm-offset-23{margin-left:95.83333333%}.ant-col-sm-order-23{order:23}.ant-col-sm-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-sm-push-22{left:91.66666667%}.ant-col-sm-pull-22{right:91.66666667%}.ant-col-sm-offset-22{margin-left:91.66666667%}.ant-col-sm-order-22{order:22}.ant-col-sm-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-sm-push-21{left:87.5%}.ant-col-sm-pull-21{right:87.5%}.ant-col-sm-offset-21{margin-left:87.5%}.ant-col-sm-order-21{order:21}.ant-col-sm-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-sm-push-20{left:83.33333333%}.ant-col-sm-pull-20{right:83.33333333%}.ant-col-sm-offset-20{margin-left:83.33333333%}.ant-col-sm-order-20{order:20}.ant-col-sm-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-sm-push-19{left:79.16666667%}.ant-col-sm-pull-19{right:79.16666667%}.ant-col-sm-offset-19{margin-left:79.16666667%}.ant-col-sm-order-19{order:19}.ant-col-sm-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-sm-push-18{left:75%}.ant-col-sm-pull-18{right:75%}.ant-col-sm-offset-18{margin-left:75%}.ant-col-sm-order-18{order:18}.ant-col-sm-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-sm-push-17{left:70.83333333%}.ant-col-sm-pull-17{right:70.83333333%}.ant-col-sm-offset-17{margin-left:70.83333333%}.ant-col-sm-order-17{order:17}.ant-col-sm-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-sm-push-16{left:66.66666667%}.ant-col-sm-pull-16{right:66.66666667%}.ant-col-sm-offset-16{margin-left:66.66666667%}.ant-col-sm-order-16{order:16}.ant-col-sm-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-sm-push-15{left:62.5%}.ant-col-sm-pull-15{right:62.5%}.ant-col-sm-offset-15{margin-left:62.5%}.ant-col-sm-order-15{order:15}.ant-col-sm-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-sm-push-14{left:58.33333333%}.ant-col-sm-pull-14{right:58.33333333%}.ant-col-sm-offset-14{margin-left:58.33333333%}.ant-col-sm-order-14{order:14}.ant-col-sm-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-sm-push-13{left:54.16666667%}.ant-col-sm-pull-13{right:54.16666667%}.ant-col-sm-offset-13{margin-left:54.16666667%}.ant-col-sm-order-13{order:13}.ant-col-sm-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-sm-push-12{left:50%}.ant-col-sm-pull-12{right:50%}.ant-col-sm-offset-12{margin-left:50%}.ant-col-sm-order-12{order:12}.ant-col-sm-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-sm-push-11{left:45.83333333%}.ant-col-sm-pull-11{right:45.83333333%}.ant-col-sm-offset-11{margin-left:45.83333333%}.ant-col-sm-order-11{order:11}.ant-col-sm-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-sm-push-10{left:41.66666667%}.ant-col-sm-pull-10{right:41.66666667%}.ant-col-sm-offset-10{margin-left:41.66666667%}.ant-col-sm-order-10{order:10}.ant-col-sm-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-sm-push-9{left:37.5%}.ant-col-sm-pull-9{right:37.5%}.ant-col-sm-offset-9{margin-left:37.5%}.ant-col-sm-order-9{order:9}.ant-col-sm-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-sm-push-8{left:33.33333333%}.ant-col-sm-pull-8{right:33.33333333%}.ant-col-sm-offset-8{margin-left:33.33333333%}.ant-col-sm-order-8{order:8}.ant-col-sm-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-sm-push-7{left:29.16666667%}.ant-col-sm-pull-7{right:29.16666667%}.ant-col-sm-offset-7{margin-left:29.16666667%}.ant-col-sm-order-7{order:7}.ant-col-sm-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-sm-push-6{left:25%}.ant-col-sm-pull-6{right:25%}.ant-col-sm-offset-6{margin-left:25%}.ant-col-sm-order-6{order:6}.ant-col-sm-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-sm-push-5{left:20.83333333%}.ant-col-sm-pull-5{right:20.83333333%}.ant-col-sm-offset-5{margin-left:20.83333333%}.ant-col-sm-order-5{order:5}.ant-col-sm-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-sm-push-4{left:16.66666667%}.ant-col-sm-pull-4{right:16.66666667%}.ant-col-sm-offset-4{margin-left:16.66666667%}.ant-col-sm-order-4{order:4}.ant-col-sm-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-sm-push-3{left:12.5%}.ant-col-sm-pull-3{right:12.5%}.ant-col-sm-offset-3{margin-left:12.5%}.ant-col-sm-order-3{order:3}.ant-col-sm-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-sm-push-2{left:8.33333333%}.ant-col-sm-pull-2{right:8.33333333%}.ant-col-sm-offset-2{margin-left:8.33333333%}.ant-col-sm-order-2{order:2}.ant-col-sm-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-sm-push-1{left:4.16666667%}.ant-col-sm-pull-1{right:4.16666667%}.ant-col-sm-offset-1{margin-left:4.16666667%}.ant-col-sm-order-1{order:1}.ant-col-sm-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-sm-push-0{left:auto}.ant-col-sm-pull-0{right:auto}.ant-col-sm-offset-0{margin-left:0}.ant-col-sm-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-sm-push-0.ant-col-rtl{right:auto}.ant-col-sm-pull-0.ant-col-rtl{left:auto}.ant-col-sm-offset-0.ant-col-rtl{margin-right:0}.ant-col-sm-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-sm-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-sm-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-sm-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-sm-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-sm-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-sm-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-sm-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-sm-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-sm-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-sm-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-sm-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-sm-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-sm-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-sm-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-sm-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-sm-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-sm-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-sm-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-sm-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-sm-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-sm-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-sm-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-sm-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-sm-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-sm-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-sm-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-sm-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-sm-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-sm-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-sm-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-sm-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-sm-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-sm-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-sm-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-sm-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-sm-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-sm-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-sm-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-sm-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-sm-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-sm-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-sm-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-sm-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-sm-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-sm-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-sm-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-sm-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-sm-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-sm-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-sm-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-sm-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-sm-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-sm-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-sm-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-sm-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-sm-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-sm-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-sm-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-sm-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-sm-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-sm-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-sm-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-sm-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-sm-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-sm-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-sm-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-sm-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-sm-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-sm-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-sm-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-sm-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}}@media (min-width:768px){.ant-col-md-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-md-push-24{left:100%}.ant-col-md-pull-24{right:100%}.ant-col-md-offset-24{margin-left:100%}.ant-col-md-order-24{order:24}.ant-col-md-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-md-push-23{left:95.83333333%}.ant-col-md-pull-23{right:95.83333333%}.ant-col-md-offset-23{margin-left:95.83333333%}.ant-col-md-order-23{order:23}.ant-col-md-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-md-push-22{left:91.66666667%}.ant-col-md-pull-22{right:91.66666667%}.ant-col-md-offset-22{margin-left:91.66666667%}.ant-col-md-order-22{order:22}.ant-col-md-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-md-push-21{left:87.5%}.ant-col-md-pull-21{right:87.5%}.ant-col-md-offset-21{margin-left:87.5%}.ant-col-md-order-21{order:21}.ant-col-md-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-md-push-20{left:83.33333333%}.ant-col-md-pull-20{right:83.33333333%}.ant-col-md-offset-20{margin-left:83.33333333%}.ant-col-md-order-20{order:20}.ant-col-md-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-md-push-19{left:79.16666667%}.ant-col-md-pull-19{right:79.16666667%}.ant-col-md-offset-19{margin-left:79.16666667%}.ant-col-md-order-19{order:19}.ant-col-md-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-md-push-18{left:75%}.ant-col-md-pull-18{right:75%}.ant-col-md-offset-18{margin-left:75%}.ant-col-md-order-18{order:18}.ant-col-md-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-md-push-17{left:70.83333333%}.ant-col-md-pull-17{right:70.83333333%}.ant-col-md-offset-17{margin-left:70.83333333%}.ant-col-md-order-17{order:17}.ant-col-md-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-md-push-16{left:66.66666667%}.ant-col-md-pull-16{right:66.66666667%}.ant-col-md-offset-16{margin-left:66.66666667%}.ant-col-md-order-16{order:16}.ant-col-md-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-md-push-15{left:62.5%}.ant-col-md-pull-15{right:62.5%}.ant-col-md-offset-15{margin-left:62.5%}.ant-col-md-order-15{order:15}.ant-col-md-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-md-push-14{left:58.33333333%}.ant-col-md-pull-14{right:58.33333333%}.ant-col-md-offset-14{margin-left:58.33333333%}.ant-col-md-order-14{order:14}.ant-col-md-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-md-push-13{left:54.16666667%}.ant-col-md-pull-13{right:54.16666667%}.ant-col-md-offset-13{margin-left:54.16666667%}.ant-col-md-order-13{order:13}.ant-col-md-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-md-push-12{left:50%}.ant-col-md-pull-12{right:50%}.ant-col-md-offset-12{margin-left:50%}.ant-col-md-order-12{order:12}.ant-col-md-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-md-push-11{left:45.83333333%}.ant-col-md-pull-11{right:45.83333333%}.ant-col-md-offset-11{margin-left:45.83333333%}.ant-col-md-order-11{order:11}.ant-col-md-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-md-push-10{left:41.66666667%}.ant-col-md-pull-10{right:41.66666667%}.ant-col-md-offset-10{margin-left:41.66666667%}.ant-col-md-order-10{order:10}.ant-col-md-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-md-push-9{left:37.5%}.ant-col-md-pull-9{right:37.5%}.ant-col-md-offset-9{margin-left:37.5%}.ant-col-md-order-9{order:9}.ant-col-md-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-md-push-8{left:33.33333333%}.ant-col-md-pull-8{right:33.33333333%}.ant-col-md-offset-8{margin-left:33.33333333%}.ant-col-md-order-8{order:8}.ant-col-md-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-md-push-7{left:29.16666667%}.ant-col-md-pull-7{right:29.16666667%}.ant-col-md-offset-7{margin-left:29.16666667%}.ant-col-md-order-7{order:7}.ant-col-md-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-md-push-6{left:25%}.ant-col-md-pull-6{right:25%}.ant-col-md-offset-6{margin-left:25%}.ant-col-md-order-6{order:6}.ant-col-md-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-md-push-5{left:20.83333333%}.ant-col-md-pull-5{right:20.83333333%}.ant-col-md-offset-5{margin-left:20.83333333%}.ant-col-md-order-5{order:5}.ant-col-md-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-md-push-4{left:16.66666667%}.ant-col-md-pull-4{right:16.66666667%}.ant-col-md-offset-4{margin-left:16.66666667%}.ant-col-md-order-4{order:4}.ant-col-md-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-md-push-3{left:12.5%}.ant-col-md-pull-3{right:12.5%}.ant-col-md-offset-3{margin-left:12.5%}.ant-col-md-order-3{order:3}.ant-col-md-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-md-push-2{left:8.33333333%}.ant-col-md-pull-2{right:8.33333333%}.ant-col-md-offset-2{margin-left:8.33333333%}.ant-col-md-order-2{order:2}.ant-col-md-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-md-push-1{left:4.16666667%}.ant-col-md-pull-1{right:4.16666667%}.ant-col-md-offset-1{margin-left:4.16666667%}.ant-col-md-order-1{order:1}.ant-col-md-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-md-push-0{left:auto}.ant-col-md-pull-0{right:auto}.ant-col-md-offset-0{margin-left:0}.ant-col-md-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-md-push-0.ant-col-rtl{right:auto}.ant-col-md-pull-0.ant-col-rtl{left:auto}.ant-col-md-offset-0.ant-col-rtl{margin-right:0}.ant-col-md-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-md-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-md-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-md-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-md-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-md-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-md-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-md-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-md-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-md-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-md-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-md-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-md-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-md-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-md-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-md-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-md-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-md-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-md-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-md-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-md-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-md-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-md-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-md-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-md-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-md-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-md-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-md-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-md-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-md-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-md-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-md-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-md-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-md-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-md-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-md-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-md-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-md-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-md-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-md-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-md-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-md-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-md-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-md-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-md-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-md-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-md-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-md-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-md-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-md-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-md-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-md-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-md-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-md-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-md-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-md-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-md-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-md-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-md-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-md-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-md-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-md-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-md-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-md-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-md-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-md-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-md-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-md-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-md-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-md-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-md-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-md-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}}@media (min-width:992px){.ant-col-lg-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-lg-push-24{left:100%}.ant-col-lg-pull-24{right:100%}.ant-col-lg-offset-24{margin-left:100%}.ant-col-lg-order-24{order:24}.ant-col-lg-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-lg-push-23{left:95.83333333%}.ant-col-lg-pull-23{right:95.83333333%}.ant-col-lg-offset-23{margin-left:95.83333333%}.ant-col-lg-order-23{order:23}.ant-col-lg-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-lg-push-22{left:91.66666667%}.ant-col-lg-pull-22{right:91.66666667%}.ant-col-lg-offset-22{margin-left:91.66666667%}.ant-col-lg-order-22{order:22}.ant-col-lg-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-lg-push-21{left:87.5%}.ant-col-lg-pull-21{right:87.5%}.ant-col-lg-offset-21{margin-left:87.5%}.ant-col-lg-order-21{order:21}.ant-col-lg-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-lg-push-20{left:83.33333333%}.ant-col-lg-pull-20{right:83.33333333%}.ant-col-lg-offset-20{margin-left:83.33333333%}.ant-col-lg-order-20{order:20}.ant-col-lg-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-lg-push-19{left:79.16666667%}.ant-col-lg-pull-19{right:79.16666667%}.ant-col-lg-offset-19{margin-left:79.16666667%}.ant-col-lg-order-19{order:19}.ant-col-lg-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-lg-push-18{left:75%}.ant-col-lg-pull-18{right:75%}.ant-col-lg-offset-18{margin-left:75%}.ant-col-lg-order-18{order:18}.ant-col-lg-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-lg-push-17{left:70.83333333%}.ant-col-lg-pull-17{right:70.83333333%}.ant-col-lg-offset-17{margin-left:70.83333333%}.ant-col-lg-order-17{order:17}.ant-col-lg-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-lg-push-16{left:66.66666667%}.ant-col-lg-pull-16{right:66.66666667%}.ant-col-lg-offset-16{margin-left:66.66666667%}.ant-col-lg-order-16{order:16}.ant-col-lg-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-lg-push-15{left:62.5%}.ant-col-lg-pull-15{right:62.5%}.ant-col-lg-offset-15{margin-left:62.5%}.ant-col-lg-order-15{order:15}.ant-col-lg-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-lg-push-14{left:58.33333333%}.ant-col-lg-pull-14{right:58.33333333%}.ant-col-lg-offset-14{margin-left:58.33333333%}.ant-col-lg-order-14{order:14}.ant-col-lg-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-lg-push-13{left:54.16666667%}.ant-col-lg-pull-13{right:54.16666667%}.ant-col-lg-offset-13{margin-left:54.16666667%}.ant-col-lg-order-13{order:13}.ant-col-lg-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-lg-push-12{left:50%}.ant-col-lg-pull-12{right:50%}.ant-col-lg-offset-12{margin-left:50%}.ant-col-lg-order-12{order:12}.ant-col-lg-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-lg-push-11{left:45.83333333%}.ant-col-lg-pull-11{right:45.83333333%}.ant-col-lg-offset-11{margin-left:45.83333333%}.ant-col-lg-order-11{order:11}.ant-col-lg-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-lg-push-10{left:41.66666667%}.ant-col-lg-pull-10{right:41.66666667%}.ant-col-lg-offset-10{margin-left:41.66666667%}.ant-col-lg-order-10{order:10}.ant-col-lg-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-lg-push-9{left:37.5%}.ant-col-lg-pull-9{right:37.5%}.ant-col-lg-offset-9{margin-left:37.5%}.ant-col-lg-order-9{order:9}.ant-col-lg-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-lg-push-8{left:33.33333333%}.ant-col-lg-pull-8{right:33.33333333%}.ant-col-lg-offset-8{margin-left:33.33333333%}.ant-col-lg-order-8{order:8}.ant-col-lg-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-lg-push-7{left:29.16666667%}.ant-col-lg-pull-7{right:29.16666667%}.ant-col-lg-offset-7{margin-left:29.16666667%}.ant-col-lg-order-7{order:7}.ant-col-lg-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-lg-push-6{left:25%}.ant-col-lg-pull-6{right:25%}.ant-col-lg-offset-6{margin-left:25%}.ant-col-lg-order-6{order:6}.ant-col-lg-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-lg-push-5{left:20.83333333%}.ant-col-lg-pull-5{right:20.83333333%}.ant-col-lg-offset-5{margin-left:20.83333333%}.ant-col-lg-order-5{order:5}.ant-col-lg-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-lg-push-4{left:16.66666667%}.ant-col-lg-pull-4{right:16.66666667%}.ant-col-lg-offset-4{margin-left:16.66666667%}.ant-col-lg-order-4{order:4}.ant-col-lg-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-lg-push-3{left:12.5%}.ant-col-lg-pull-3{right:12.5%}.ant-col-lg-offset-3{margin-left:12.5%}.ant-col-lg-order-3{order:3}.ant-col-lg-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-lg-push-2{left:8.33333333%}.ant-col-lg-pull-2{right:8.33333333%}.ant-col-lg-offset-2{margin-left:8.33333333%}.ant-col-lg-order-2{order:2}.ant-col-lg-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-lg-push-1{left:4.16666667%}.ant-col-lg-pull-1{right:4.16666667%}.ant-col-lg-offset-1{margin-left:4.16666667%}.ant-col-lg-order-1{order:1}.ant-col-lg-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-lg-push-0{left:auto}.ant-col-lg-pull-0{right:auto}.ant-col-lg-offset-0{margin-left:0}.ant-col-lg-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-lg-push-0.ant-col-rtl{right:auto}.ant-col-lg-pull-0.ant-col-rtl{left:auto}.ant-col-lg-offset-0.ant-col-rtl{margin-right:0}.ant-col-lg-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-lg-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-lg-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-lg-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-lg-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-lg-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-lg-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-lg-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-lg-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-lg-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-lg-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-lg-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-lg-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-lg-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-lg-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-lg-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-lg-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-lg-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-lg-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-lg-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-lg-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-lg-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-lg-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-lg-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-lg-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-lg-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-lg-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-lg-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-lg-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-lg-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-lg-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-lg-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-lg-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-lg-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-lg-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-lg-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-lg-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-lg-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-lg-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-lg-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-lg-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-lg-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-lg-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-lg-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-lg-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-lg-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-lg-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-lg-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-lg-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-lg-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-lg-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-lg-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-lg-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-lg-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-lg-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-lg-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-lg-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-lg-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-lg-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-lg-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-lg-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-lg-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-lg-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-lg-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-lg-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-lg-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-lg-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-lg-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-lg-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-lg-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-lg-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-lg-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}}@media (min-width:1200px){.ant-col-xl-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-xl-push-24{left:100%}.ant-col-xl-pull-24{right:100%}.ant-col-xl-offset-24{margin-left:100%}.ant-col-xl-order-24{order:24}.ant-col-xl-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-xl-push-23{left:95.83333333%}.ant-col-xl-pull-23{right:95.83333333%}.ant-col-xl-offset-23{margin-left:95.83333333%}.ant-col-xl-order-23{order:23}.ant-col-xl-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-xl-push-22{left:91.66666667%}.ant-col-xl-pull-22{right:91.66666667%}.ant-col-xl-offset-22{margin-left:91.66666667%}.ant-col-xl-order-22{order:22}.ant-col-xl-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-xl-push-21{left:87.5%}.ant-col-xl-pull-21{right:87.5%}.ant-col-xl-offset-21{margin-left:87.5%}.ant-col-xl-order-21{order:21}.ant-col-xl-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-xl-push-20{left:83.33333333%}.ant-col-xl-pull-20{right:83.33333333%}.ant-col-xl-offset-20{margin-left:83.33333333%}.ant-col-xl-order-20{order:20}.ant-col-xl-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-xl-push-19{left:79.16666667%}.ant-col-xl-pull-19{right:79.16666667%}.ant-col-xl-offset-19{margin-left:79.16666667%}.ant-col-xl-order-19{order:19}.ant-col-xl-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-xl-push-18{left:75%}.ant-col-xl-pull-18{right:75%}.ant-col-xl-offset-18{margin-left:75%}.ant-col-xl-order-18{order:18}.ant-col-xl-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-xl-push-17{left:70.83333333%}.ant-col-xl-pull-17{right:70.83333333%}.ant-col-xl-offset-17{margin-left:70.83333333%}.ant-col-xl-order-17{order:17}.ant-col-xl-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-xl-push-16{left:66.66666667%}.ant-col-xl-pull-16{right:66.66666667%}.ant-col-xl-offset-16{margin-left:66.66666667%}.ant-col-xl-order-16{order:16}.ant-col-xl-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-xl-push-15{left:62.5%}.ant-col-xl-pull-15{right:62.5%}.ant-col-xl-offset-15{margin-left:62.5%}.ant-col-xl-order-15{order:15}.ant-col-xl-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-xl-push-14{left:58.33333333%}.ant-col-xl-pull-14{right:58.33333333%}.ant-col-xl-offset-14{margin-left:58.33333333%}.ant-col-xl-order-14{order:14}.ant-col-xl-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-xl-push-13{left:54.16666667%}.ant-col-xl-pull-13{right:54.16666667%}.ant-col-xl-offset-13{margin-left:54.16666667%}.ant-col-xl-order-13{order:13}.ant-col-xl-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-xl-push-12{left:50%}.ant-col-xl-pull-12{right:50%}.ant-col-xl-offset-12{margin-left:50%}.ant-col-xl-order-12{order:12}.ant-col-xl-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-xl-push-11{left:45.83333333%}.ant-col-xl-pull-11{right:45.83333333%}.ant-col-xl-offset-11{margin-left:45.83333333%}.ant-col-xl-order-11{order:11}.ant-col-xl-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-xl-push-10{left:41.66666667%}.ant-col-xl-pull-10{right:41.66666667%}.ant-col-xl-offset-10{margin-left:41.66666667%}.ant-col-xl-order-10{order:10}.ant-col-xl-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-xl-push-9{left:37.5%}.ant-col-xl-pull-9{right:37.5%}.ant-col-xl-offset-9{margin-left:37.5%}.ant-col-xl-order-9{order:9}.ant-col-xl-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-xl-push-8{left:33.33333333%}.ant-col-xl-pull-8{right:33.33333333%}.ant-col-xl-offset-8{margin-left:33.33333333%}.ant-col-xl-order-8{order:8}.ant-col-xl-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-xl-push-7{left:29.16666667%}.ant-col-xl-pull-7{right:29.16666667%}.ant-col-xl-offset-7{margin-left:29.16666667%}.ant-col-xl-order-7{order:7}.ant-col-xl-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-xl-push-6{left:25%}.ant-col-xl-pull-6{right:25%}.ant-col-xl-offset-6{margin-left:25%}.ant-col-xl-order-6{order:6}.ant-col-xl-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-xl-push-5{left:20.83333333%}.ant-col-xl-pull-5{right:20.83333333%}.ant-col-xl-offset-5{margin-left:20.83333333%}.ant-col-xl-order-5{order:5}.ant-col-xl-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-xl-push-4{left:16.66666667%}.ant-col-xl-pull-4{right:16.66666667%}.ant-col-xl-offset-4{margin-left:16.66666667%}.ant-col-xl-order-4{order:4}.ant-col-xl-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-xl-push-3{left:12.5%}.ant-col-xl-pull-3{right:12.5%}.ant-col-xl-offset-3{margin-left:12.5%}.ant-col-xl-order-3{order:3}.ant-col-xl-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-xl-push-2{left:8.33333333%}.ant-col-xl-pull-2{right:8.33333333%}.ant-col-xl-offset-2{margin-left:8.33333333%}.ant-col-xl-order-2{order:2}.ant-col-xl-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-xl-push-1{left:4.16666667%}.ant-col-xl-pull-1{right:4.16666667%}.ant-col-xl-offset-1{margin-left:4.16666667%}.ant-col-xl-order-1{order:1}.ant-col-xl-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-xl-push-0{left:auto}.ant-col-xl-pull-0{right:auto}.ant-col-xl-offset-0{margin-left:0}.ant-col-xl-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-xl-push-0.ant-col-rtl{right:auto}.ant-col-xl-pull-0.ant-col-rtl{left:auto}.ant-col-xl-offset-0.ant-col-rtl{margin-right:0}.ant-col-xl-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-xl-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-xl-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-xl-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-xl-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-xl-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-xl-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-xl-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-xl-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-xl-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-xl-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-xl-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-xl-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-xl-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-xl-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-xl-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-xl-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-xl-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-xl-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-xl-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-xl-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-xl-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-xl-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-xl-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-xl-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-xl-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-xl-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-xl-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-xl-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-xl-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-xl-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-xl-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-xl-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-xl-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-xl-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-xl-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-xl-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-xl-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-xl-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-xl-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-xl-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-xl-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-xl-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-xl-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-xl-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-xl-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-xl-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-xl-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-xl-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-xl-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-xl-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-xl-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-xl-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-xl-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-xl-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-xl-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-xl-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-xl-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-xl-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-xl-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-xl-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-xl-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-xl-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-xl-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-xl-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-xl-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-xl-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-xl-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-xl-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-xl-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-xl-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-xl-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}}@media (min-width:1600px){.ant-col-xxl-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-xxl-push-24{left:100%}.ant-col-xxl-pull-24{right:100%}.ant-col-xxl-offset-24{margin-left:100%}.ant-col-xxl-order-24{order:24}.ant-col-xxl-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-xxl-push-23{left:95.83333333%}.ant-col-xxl-pull-23{right:95.83333333%}.ant-col-xxl-offset-23{margin-left:95.83333333%}.ant-col-xxl-order-23{order:23}.ant-col-xxl-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-xxl-push-22{left:91.66666667%}.ant-col-xxl-pull-22{right:91.66666667%}.ant-col-xxl-offset-22{margin-left:91.66666667%}.ant-col-xxl-order-22{order:22}.ant-col-xxl-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-xxl-push-21{left:87.5%}.ant-col-xxl-pull-21{right:87.5%}.ant-col-xxl-offset-21{margin-left:87.5%}.ant-col-xxl-order-21{order:21}.ant-col-xxl-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-xxl-push-20{left:83.33333333%}.ant-col-xxl-pull-20{right:83.33333333%}.ant-col-xxl-offset-20{margin-left:83.33333333%}.ant-col-xxl-order-20{order:20}.ant-col-xxl-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-xxl-push-19{left:79.16666667%}.ant-col-xxl-pull-19{right:79.16666667%}.ant-col-xxl-offset-19{margin-left:79.16666667%}.ant-col-xxl-order-19{order:19}.ant-col-xxl-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-xxl-push-18{left:75%}.ant-col-xxl-pull-18{right:75%}.ant-col-xxl-offset-18{margin-left:75%}.ant-col-xxl-order-18{order:18}.ant-col-xxl-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-xxl-push-17{left:70.83333333%}.ant-col-xxl-pull-17{right:70.83333333%}.ant-col-xxl-offset-17{margin-left:70.83333333%}.ant-col-xxl-order-17{order:17}.ant-col-xxl-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-xxl-push-16{left:66.66666667%}.ant-col-xxl-pull-16{right:66.66666667%}.ant-col-xxl-offset-16{margin-left:66.66666667%}.ant-col-xxl-order-16{order:16}.ant-col-xxl-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-xxl-push-15{left:62.5%}.ant-col-xxl-pull-15{right:62.5%}.ant-col-xxl-offset-15{margin-left:62.5%}.ant-col-xxl-order-15{order:15}.ant-col-xxl-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-xxl-push-14{left:58.33333333%}.ant-col-xxl-pull-14{right:58.33333333%}.ant-col-xxl-offset-14{margin-left:58.33333333%}.ant-col-xxl-order-14{order:14}.ant-col-xxl-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-xxl-push-13{left:54.16666667%}.ant-col-xxl-pull-13{right:54.16666667%}.ant-col-xxl-offset-13{margin-left:54.16666667%}.ant-col-xxl-order-13{order:13}.ant-col-xxl-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-xxl-push-12{left:50%}.ant-col-xxl-pull-12{right:50%}.ant-col-xxl-offset-12{margin-left:50%}.ant-col-xxl-order-12{order:12}.ant-col-xxl-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-xxl-push-11{left:45.83333333%}.ant-col-xxl-pull-11{right:45.83333333%}.ant-col-xxl-offset-11{margin-left:45.83333333%}.ant-col-xxl-order-11{order:11}.ant-col-xxl-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-xxl-push-10{left:41.66666667%}.ant-col-xxl-pull-10{right:41.66666667%}.ant-col-xxl-offset-10{margin-left:41.66666667%}.ant-col-xxl-order-10{order:10}.ant-col-xxl-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-xxl-push-9{left:37.5%}.ant-col-xxl-pull-9{right:37.5%}.ant-col-xxl-offset-9{margin-left:37.5%}.ant-col-xxl-order-9{order:9}.ant-col-xxl-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-xxl-push-8{left:33.33333333%}.ant-col-xxl-pull-8{right:33.33333333%}.ant-col-xxl-offset-8{margin-left:33.33333333%}.ant-col-xxl-order-8{order:8}.ant-col-xxl-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-xxl-push-7{left:29.16666667%}.ant-col-xxl-pull-7{right:29.16666667%}.ant-col-xxl-offset-7{margin-left:29.16666667%}.ant-col-xxl-order-7{order:7}.ant-col-xxl-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-xxl-push-6{left:25%}.ant-col-xxl-pull-6{right:25%}.ant-col-xxl-offset-6{margin-left:25%}.ant-col-xxl-order-6{order:6}.ant-col-xxl-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-xxl-push-5{left:20.83333333%}.ant-col-xxl-pull-5{right:20.83333333%}.ant-col-xxl-offset-5{margin-left:20.83333333%}.ant-col-xxl-order-5{order:5}.ant-col-xxl-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-xxl-push-4{left:16.66666667%}.ant-col-xxl-pull-4{right:16.66666667%}.ant-col-xxl-offset-4{margin-left:16.66666667%}.ant-col-xxl-order-4{order:4}.ant-col-xxl-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-xxl-push-3{left:12.5%}.ant-col-xxl-pull-3{right:12.5%}.ant-col-xxl-offset-3{margin-left:12.5%}.ant-col-xxl-order-3{order:3}.ant-col-xxl-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-xxl-push-2{left:8.33333333%}.ant-col-xxl-pull-2{right:8.33333333%}.ant-col-xxl-offset-2{margin-left:8.33333333%}.ant-col-xxl-order-2{order:2}.ant-col-xxl-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-xxl-push-1{left:4.16666667%}.ant-col-xxl-pull-1{right:4.16666667%}.ant-col-xxl-offset-1{margin-left:4.16666667%}.ant-col-xxl-order-1{order:1}.ant-col-xxl-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-xxl-push-0{left:auto}.ant-col-xxl-pull-0{right:auto}.ant-col-xxl-offset-0{margin-left:0}.ant-col-xxl-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-xxl-push-0.ant-col-rtl{right:auto}.ant-col-xxl-pull-0.ant-col-rtl{left:auto}.ant-col-xxl-offset-0.ant-col-rtl{margin-right:0}.ant-col-xxl-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-xxl-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-xxl-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-xxl-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-xxl-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-xxl-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-xxl-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-xxl-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-xxl-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-xxl-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-xxl-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-xxl-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-xxl-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-xxl-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-xxl-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-xxl-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-xxl-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-xxl-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-xxl-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-xxl-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-xxl-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-xxl-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-xxl-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-xxl-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-xxl-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-xxl-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-xxl-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-xxl-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-xxl-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-xxl-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-xxl-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-xxl-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-xxl-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-xxl-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-xxl-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-xxl-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-xxl-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-xxl-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-xxl-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-xxl-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-xxl-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-xxl-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-xxl-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-xxl-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-xxl-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-xxl-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-xxl-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-xxl-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-xxl-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-xxl-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-xxl-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-xxl-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-xxl-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-xxl-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-xxl-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-xxl-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-xxl-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-xxl-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-xxl-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-xxl-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-xxl-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-xxl-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-xxl-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-xxl-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-xxl-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-xxl-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-xxl-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-xxl-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-xxl-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-xxl-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-xxl-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-xxl-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}}.ant-row-rtl{direction:rtl}.ant-image{position:relative;display:inline-block}.ant-image-img{display:block;width:100%;height:auto}.ant-image-img-placeholder{background-color:#f5f5f5;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE0LjUgMi41aC0xM0EuNS41IDAgMDAxIDN2MTBhLjUuNSAwIDAwLjUuNWgxM2EuNS41IDAgMDAuNS0uNVYzYS41LjUgMCAwMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwMTAgMiAxIDEgMCAwMTAtMnptOC4wMyA2LjgzYS4xMjcuMTI3IDAgMDEtLjA4MS4wM0gyLjc2OWEuMTI1LjEyNSAwIDAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAxLjE3Ny0uMDE2bC4wMTYuMDE2TDcuMDggMTAuMDlsMi40Ny0yLjkzYS4xMjYuMTI2IDAgMDEuMTc3LS4wMTZsLjAxNS4wMTYgMy41ODggNC4yNDRhLjEyNy4xMjcgMCAwMS0uMDIuMTc1eiIgZmlsbD0iIzhDOEM4QyIvPjwvc3ZnPg==);background-repeat:no-repeat;background-position:50%;background-size:30%}.ant-image-mask{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;color:#fff;background:rgba(0,0,0,.5);cursor:pointer;opacity:0;transition:opacity .3s}.ant-image-mask-info .anticon{-webkit-margin-end:4px;margin-inline-end:4px}.ant-image-mask:hover{opacity:1}.ant-image-placeholder{position:absolute;top:0;right:0;bottom:0;left:0}.ant-image-preview{pointer-events:none;height:100%;text-align:center}.ant-image-preview.ant-zoom-enter,.ant-image-preview.antzoom-appear{transform:none;opacity:0;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-image-preview-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;height:100%;background-color:rgba(0,0,0,.45)}.ant-image-preview-mask-hidden{display:none}.ant-image-preview-wrap{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto;outline:0;-webkit-overflow-scrolling:touch}.ant-image-preview-body{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}.ant-image-preview-img{max-width:100%;max-height:100%;vertical-align:middle;transform:scaleX(1);cursor:-webkit-grab;cursor:grab;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:auto}.ant-image-preview-img,.ant-image-preview-img-wrapper{transition:transform .3s cubic-bezier(.215,.61,.355,1) 0s}.ant-image-preview-img-wrapper{position:absolute;top:0;right:0;bottom:0;left:0}.ant-image-preview-img-wrapper:before{display:inline-block;width:1px;height:50%;margin-right:-1px;content:""}.ant-image-preview-moving .ant-image-preview-img{cursor:-webkit-grabbing;cursor:grabbing}.ant-image-preview-moving .ant-image-preview-img-wrapper{transition-duration:0s}.ant-image-preview-wrap{z-index:1080}.ant-image-preview-operations{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;font-feature-settings:"tnum";position:absolute;top:0;right:0;z-index:1;display:flex;flex-direction:row-reverse;align-items:center;width:100%;color:hsla(0,0%,100%,.85);list-style:none;background:rgba(0,0,0,.1);pointer-events:auto}.ant-image-preview-operations-operation{margin-left:12px;padding:12px;cursor:pointer}.ant-image-preview-operations-operation-disabled{color:hsla(0,0%,100%,.25);pointer-events:none}.ant-image-preview-operations-operation:last-of-type{margin-left:0}.ant-image-preview-operations-icon{font-size:18px}.ant-image-preview-switch-left,.ant-image-preview-switch-right{position:absolute;top:50%;right:10px;z-index:1;display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin-top:-22px;color:hsla(0,0%,100%,.85);background:rgba(0,0,0,.1);border-radius:50%;cursor:pointer;pointer-events:auto}.ant-image-preview-switch-left-disabled,.ant-image-preview-switch-right-disabled{color:hsla(0,0%,100%,.25);cursor:not-allowed}.ant-image-preview-switch-left-disabled>.anticon,.ant-image-preview-switch-right-disabled>.anticon{cursor:not-allowed}.ant-image-preview-switch-left>.anticon,.ant-image-preview-switch-right>.anticon{font-size:18px}.ant-image-preview-switch-left{left:10px}.ant-image-preview-switch-right{right:10px}.ant-input-number{box-sizing:border-box;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";position:relative;width:100%;min-width:0;color:rgba(0,0,0,.85);font-size:14px;line-height:1.5715;background-color:#fff;background-image:none;transition:all .3s;display:inline-block;width:90px;margin:0;padding:0;border:1px solid #d9d9d9;border-radius:2px}.ant-input-number::-moz-placeholder{opacity:1}.ant-input-number:-ms-input-placeholder{color:#bfbfbf}.ant-input-number::placeholder{color:#bfbfbf}.ant-input-number:-moz-placeholder-shown{text-overflow:ellipsis}.ant-input-number:-ms-input-placeholder{text-overflow:ellipsis}.ant-input-number:placeholder-shown{text-overflow:ellipsis}.ant-input-number-focused,.ant-input-number:focus{border-color:#40a9ff;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(24,144,255,.2)}.ant-input-number[disabled]{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input-number[disabled]:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-input-number-borderless,.ant-input-number-borderless-disabled,.ant-input-number-borderless-focused,.ant-input-number-borderless:focus,.ant-input-number-borderless:hover,.ant-input-number-borderless[disabled]{background-color:transparent;border:none;box-shadow:none}textarea.ant-input-number{max-width:100%;height:auto;min-height:32px;line-height:1.5715;vertical-align:bottom;transition:all .3s,height 0s}.ant-input-number-lg{padding:6.5px 11px}.ant-input-number-sm{padding:0 7px}.ant-input-number-handler{position:relative;display:block;width:100%;height:50%;overflow:hidden;color:rgba(0,0,0,.45);font-weight:700;line-height:0;text-align:center;border-left:1px solid #d9d9d9;transition:all .1s linear}.ant-input-number-handler:active{background:#f4f4f4}.ant-input-number-handler:hover .ant-input-number-handler-down-inner,.ant-input-number-handler:hover .ant-input-number-handler-up-inner{color:#40a9ff}.ant-input-number-handler-down-inner,.ant-input-number-handler-up-inner{display:inline-block;color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;right:4px;width:12px;height:12px;color:rgba(0,0,0,.45);line-height:12px;transition:all .1s linear;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-input-number-handler-down-inner>*,.ant-input-number-handler-up-inner>*{line-height:1}.ant-input-number-handler-down-inner svg,.ant-input-number-handler-up-inner svg{display:inline-block}.ant-input-number-handler-down-inner:before,.ant-input-number-handler-up-inner:before{display:none}.ant-input-number-handler-down-inner .ant-input-number-handler-down-inner-icon,.ant-input-number-handler-down-inner .ant-input-number-handler-up-inner-icon,.ant-input-number-handler-up-inner .ant-input-number-handler-down-inner-icon,.ant-input-number-handler-up-inner .ant-input-number-handler-up-inner-icon{display:block}.ant-input-number:hover{border-color:#40a9ff;border-right-width:1px!important}.ant-input-number:hover+.ant-form-item-children-icon{opacity:0;transition:opacity .24s linear .24s}.ant-input-number-focused{border-color:#40a9ff;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(24,144,255,.2)}.ant-input-number-disabled{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input-number-disabled:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-input-number-disabled .ant-input-number-input{cursor:not-allowed}.ant-input-number-disabled .ant-input-number-handler-wrap,.ant-input-number-readonly .ant-input-number-handler-wrap{display:none}.ant-input-number-input{width:100%;height:30px;padding:0 11px;text-align:left;background-color:transparent;border:0;border-radius:2px;outline:0;transition:all .3s linear;-moz-appearance:textfield!important}.ant-input-number-input::-moz-placeholder{opacity:1}.ant-input-number-input:-ms-input-placeholder{color:#bfbfbf}.ant-input-number-input::placeholder{color:#bfbfbf}.ant-input-number-input:-moz-placeholder-shown{text-overflow:ellipsis}.ant-input-number-input:-ms-input-placeholder{text-overflow:ellipsis}.ant-input-number-input:placeholder-shown{text-overflow:ellipsis}.ant-input-number-input[type=number]::-webkit-inner-spin-button,.ant-input-number-input[type=number]::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.ant-input-number-lg{padding:0;font-size:16px}.ant-input-number-lg input{height:38px}.ant-input-number-sm{padding:0}.ant-input-number-sm input{height:22px;padding:0 7px}.ant-input-number-handler-wrap{position:absolute;top:0;right:0;width:22px;height:100%;background:#fff;border-radius:0 2px 2px 0;opacity:0;transition:opacity .24s linear .1s}.ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-down-inner,.ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-up-inner{min-width:auto;margin-right:0;font-size:7px}.ant-input-number-borderless .ant-input-number-handler-wrap{border-left-width:0}.ant-input-number-handler-wrap:hover .ant-input-number-handler{height:40%}.ant-input-number:hover .ant-input-number-handler-wrap{opacity:1}.ant-input-number-handler-up{border-top-right-radius:2px;cursor:pointer}.ant-input-number-handler-up-inner{top:50%;margin-top:-5px;text-align:center}.ant-input-number-handler-up:hover{height:60%!important}.ant-input-number-handler-down{top:0;border-top:1px solid #d9d9d9;border-bottom-right-radius:2px;cursor:pointer}.ant-input-number-handler-down-inner{top:50%;text-align:center;transform:translateY(-50%)}.ant-input-number-handler-down:hover{height:60%!important}.ant-input-number-borderless .ant-input-number-handler-down{border-top-width:0}.ant-input-number-handler-down-disabled,.ant-input-number-handler-up-disabled{cursor:not-allowed}.ant-input-number-handler-down-disabled:hover .ant-input-number-handler-down-inner,.ant-input-number-handler-up-disabled:hover .ant-input-number-handler-up-inner{color:rgba(0,0,0,.25)}.ant-input-number-borderless{box-shadow:none}.ant-input-number-out-of-range input{color:#ff4d4f}.ant-input-number-rtl{direction:rtl}.ant-input-number-rtl .ant-input-number-handler-wrap{right:auto;left:0;border-right:1px solid #d9d9d9;border-left:0;border-radius:2px 0 0 2px}.ant-input-number-rtl.ant-input-number-borderless .ant-input-number-handler-wrap{border-right-width:0}.ant-input-number-rtl .ant-input-number-input{direction:ltr;text-align:right}.ant-input-affix-wrapper{position:relative;display:inline-block;width:100%;min-width:0;padding:4px 11px;color:rgba(0,0,0,.85);font-size:14px;line-height:1.5715;background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:2px;transition:all .3s;display:inline-flex}.ant-input-affix-wrapper::-moz-placeholder{opacity:1}.ant-input-affix-wrapper:-ms-input-placeholder{color:#bfbfbf}.ant-input-affix-wrapper::placeholder{color:#bfbfbf}.ant-input-affix-wrapper:-moz-placeholder-shown{text-overflow:ellipsis}.ant-input-affix-wrapper:-ms-input-placeholder{text-overflow:ellipsis}.ant-input-affix-wrapper:placeholder-shown{text-overflow:ellipsis}.ant-input-affix-wrapper:hover{border-color:#40a9ff;border-right-width:1px!important}.ant-input-rtl .ant-input-affix-wrapper:hover{border-right-width:0;border-left-width:1px!important}.ant-input-affix-wrapper-focused,.ant-input-affix-wrapper:focus{border-color:#40a9ff;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(24,144,255,.2)}.ant-input-rtl .ant-input-affix-wrapper-focused,.ant-input-rtl .ant-input-affix-wrapper:focus{border-right-width:0;border-left-width:1px!important}.ant-input-affix-wrapper-disabled{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input-affix-wrapper-disabled:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-input-affix-wrapper[disabled]{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input-affix-wrapper[disabled]:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-input-affix-wrapper-borderless,.ant-input-affix-wrapper-borderless-disabled,.ant-input-affix-wrapper-borderless-focused,.ant-input-affix-wrapper-borderless:focus,.ant-input-affix-wrapper-borderless:hover,.ant-input-affix-wrapper-borderless[disabled]{background-color:transparent;border:none;box-shadow:none}textarea.ant-input-affix-wrapper{max-width:100%;height:auto;min-height:32px;line-height:1.5715;vertical-align:bottom;transition:all .3s,height 0s}.ant-input-affix-wrapper-lg{padding:6.5px 11px;font-size:16px}.ant-input-affix-wrapper-sm{padding:0 7px}.ant-input-affix-wrapper-rtl{direction:rtl}.ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover{border-color:#40a9ff;border-right-width:1px!important;z-index:1}.ant-input-rtl .ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover{border-right-width:0;border-left-width:1px!important}.ant-input-search-with-button .ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover{z-index:0}.ant-input-affix-wrapper-focused,.ant-input-affix-wrapper:focus{z-index:1}.ant-input-affix-wrapper-disabled .ant-input[disabled]{background:transparent}.ant-input-affix-wrapper>input.ant-input{padding:0;border:none;outline:none}.ant-input-affix-wrapper>input.ant-input:focus{box-shadow:none!important}.ant-input-affix-wrapper:before{width:0;visibility:hidden;content:"\\a0"}.ant-input-prefix,.ant-input-suffix{display:flex;flex:none;align-items:center}.ant-input-prefix{margin-right:4px}.ant-input-suffix{margin-left:4px}.anticon.ant-input-clear-icon{margin:0;color:rgba(0,0,0,.25);font-size:12px;vertical-align:-1px;cursor:pointer;transition:color .3s}.anticon.ant-input-clear-icon:hover{color:rgba(0,0,0,.45)}.anticon.ant-input-clear-icon:active{color:rgba(0,0,0,.85)}.anticon.ant-input-clear-icon-hidden{visibility:hidden}.anticon.ant-input-clear-icon-has-suffix{margin:0 4px}.ant-input-affix-wrapper-textarea-with-clear-btn{padding:0!important;border:0!important}.ant-input-affix-wrapper-textarea-with-clear-btn .ant-input-clear-icon{position:absolute;top:8px;right:8px;z-index:1}.ant-input{box-sizing:border-box;margin:0;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-block;width:100%;min-width:0;padding:4px 11px;color:rgba(0,0,0,.85);font-size:14px;line-height:1.5715;background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:2px;transition:all .3s}.ant-input::-moz-placeholder{opacity:1}.ant-input:-ms-input-placeholder{color:#bfbfbf}.ant-input::placeholder{color:#bfbfbf}.ant-input:-moz-placeholder-shown{text-overflow:ellipsis}.ant-input:-ms-input-placeholder{text-overflow:ellipsis}.ant-input:placeholder-shown{text-overflow:ellipsis}.ant-input:hover{border-color:#40a9ff;border-right-width:1px!important}.ant-input-rtl .ant-input:hover{border-right-width:0;border-left-width:1px!important}.ant-input-focused,.ant-input:focus{border-color:#40a9ff;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(24,144,255,.2)}.ant-input-rtl .ant-input-focused,.ant-input-rtl .ant-input:focus{border-right-width:0;border-left-width:1px!important}.ant-input-disabled{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input-disabled:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-input[disabled]{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input[disabled]:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-input-borderless,.ant-input-borderless-disabled,.ant-input-borderless-focused,.ant-input-borderless:focus,.ant-input-borderless:hover,.ant-input-borderless[disabled]{background-color:transparent;border:none;box-shadow:none}textarea.ant-input{max-width:100%;height:auto;min-height:32px;line-height:1.5715;vertical-align:bottom;transition:all .3s,height 0s}.ant-input-lg{padding:6.5px 11px;font-size:16px}.ant-input-sm{padding:0 7px}.ant-input-rtl{direction:rtl}.ant-input-group{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;display:table;width:100%;border-collapse:separate;border-spacing:0}.ant-input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.ant-input-group>[class*=col-]{padding-right:8px}.ant-input-group>[class*=col-]:last-child{padding-right:0}.ant-input-group-addon,.ant-input-group-wrap,.ant-input-group>.ant-input{display:table-cell}.ant-input-group-addon:not(:first-child):not(:last-child),.ant-input-group-wrap:not(:first-child):not(:last-child),.ant-input-group>.ant-input:not(:first-child):not(:last-child){border-radius:0}.ant-input-group-addon,.ant-input-group-wrap{width:1px;white-space:nowrap;vertical-align:middle}.ant-input-group-wrap>*{display:block!important}.ant-input-group .ant-input{float:left;width:100%;margin-bottom:0;text-align:inherit}.ant-input-group .ant-input:focus,.ant-input-group .ant-input:hover{z-index:1;border-right-width:1px}.ant-input-search-with-button .ant-input-group .ant-input:hover{z-index:0}.ant-input-group-addon{position:relative;padding:0 11px;color:rgba(0,0,0,.85);font-weight:400;font-size:14px;text-align:center;background-color:#fafafa;border:1px solid #d9d9d9;border-radius:2px;transition:all .3s}.ant-input-group-addon .ant-select{margin:-5px -11px}.ant-input-group-addon .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{background-color:inherit;border:1px solid transparent;box-shadow:none}.ant-input-group-addon .ant-select-focused .ant-select-selector,.ant-input-group-addon .ant-select-open .ant-select-selector{color:#1890ff}.ant-input-group-addon .ant-cascader-picker{margin:-9px -12px;background-color:transparent}.ant-input-group-addon .ant-cascader-picker .ant-cascader-input{text-align:left;border:0;box-shadow:none}.ant-input-group-addon:first-child,.ant-input-group-addon:first-child .ant-select .ant-select-selector,.ant-input-group>.ant-input:first-child,.ant-input-group>.ant-input:first-child .ant-select .ant-select-selector{border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-group>.ant-input-affix-wrapper:not(:first-child) .ant-input{border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-group>.ant-input-affix-wrapper:not(:last-child) .ant-input{border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-group-addon:first-child{border-right:0}.ant-input-group-addon:last-child{border-left:0}.ant-input-group-addon:last-child,.ant-input-group-addon:last-child .ant-select .ant-select-selector,.ant-input-group>.ant-input:last-child,.ant-input-group>.ant-input:last-child .ant-select .ant-select-selector{border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-group-lg .ant-input,.ant-input-group-lg>.ant-input-group-addon{padding:6.5px 11px;font-size:16px}.ant-input-group-sm .ant-input,.ant-input-group-sm>.ant-input-group-addon{padding:0 7px}.ant-input-group-lg .ant-select-single .ant-select-selector{height:40px}.ant-input-group-sm .ant-select-single .ant-select-selector{height:24px}.ant-input-group .ant-input-affix-wrapper:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-group .ant-input-affix-wrapper:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-search .ant-input-group .ant-input-affix-wrapper:not(:last-child){border-top-left-radius:2px;border-bottom-left-radius:2px}.ant-input-group.ant-input-group-compact{display:block}.ant-input-group.ant-input-group-compact:before{display:table;content:""}.ant-input-group.ant-input-group-compact:after{display:table;clear:both;content:""}.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child),.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child),.ant-input-group.ant-input-group-compact>.ant-input:not(:first-child):not(:last-child){border-right-width:1px}.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child):focus,.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child):hover,.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child):focus,.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child):hover,.ant-input-group.ant-input-group-compact>.ant-input:not(:first-child):not(:last-child):focus,.ant-input-group.ant-input-group-compact>.ant-input:not(:first-child):not(:last-child):hover{z-index:1}.ant-input-group.ant-input-group-compact>*{display:inline-block;float:none;vertical-align:top;border-radius:0}.ant-input-group.ant-input-group-compact>.ant-input-affix-wrapper,.ant-input-group.ant-input-group-compact>.ant-picker-range{display:inline-flex}.ant-input-group.ant-input-group-compact>:not(:last-child){margin-right:-1px;border-right-width:1px}.ant-input-group.ant-input-group-compact .ant-input{float:none}.ant-input-group.ant-input-group-compact>.ant-cascader-picker .ant-input,.ant-input-group.ant-input-group-compact>.ant-input-group-wrapper .ant-input,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input,.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-selector{border-right-width:1px;border-radius:0}.ant-input-group.ant-input-group-compact>.ant-cascader-picker .ant-input:focus,.ant-input-group.ant-input-group-compact>.ant-cascader-picker .ant-input:hover,.ant-input-group.ant-input-group-compact>.ant-input-group-wrapper .ant-input:focus,.ant-input-group.ant-input-group-compact>.ant-input-group-wrapper .ant-input:hover,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input:focus,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input:hover,.ant-input-group.ant-input-group-compact>.ant-select-focused,.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-arrow,.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-selector:focus,.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-selector:hover{z-index:1}.ant-input-group.ant-input-group-compact>.ant-cascader-picker:first-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete:first-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-select:first-child>.ant-select-selector,.ant-input-group.ant-input-group-compact>:first-child{border-top-left-radius:2px;border-bottom-left-radius:2px}.ant-input-group.ant-input-group-compact>.ant-cascader-picker-focused:last-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-cascader-picker:last-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-select:last-child>.ant-select-selector,.ant-input-group.ant-input-group-compact>:last-child{border-right-width:1px;border-top-right-radius:2px;border-bottom-right-radius:2px}.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input{vertical-align:top}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper+.ant-input-group-wrapper{margin-left:-1px}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper+.ant-input-group-wrapper .ant-input-affix-wrapper,.ant-input-group.ant-input-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search>.ant-input-group>.ant-input-group-addon>.ant-input-search-button{border-radius:0}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search>.ant-input-group>.ant-input{border-radius:2px 0 0 2px}.ant-input-group-rtl .ant-input-group-addon:first-child,.ant-input-group>.ant-input-rtl:first-child{border-radius:0 2px 2px 0}.ant-input-group-rtl .ant-input-group-addon:first-child{border-right:1px solid #d9d9d9;border-left:0}.ant-input-group-rtl .ant-input-group-addon:last-child{border-right:0;border-left:1px solid #d9d9d9}.ant-input-group-rtl.ant-input-group-addon:last-child,.ant-input-group-rtl.ant-input-group .ant-input-affix-wrapper:not(:first-child),.ant-input-group-rtl.ant-input-group>.ant-input:last-child{border-radius:2px 0 0 2px}.ant-input-group-rtl.ant-input-group .ant-input-affix-wrapper:not(:last-child){border-radius:0 2px 2px 0}.ant-input-group-rtl.ant-input-group.ant-input-group-compact>:not(:last-child){margin-right:0;margin-left:-1px;border-left-width:1px}.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-cascader-picker:first-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-select-auto-complete:first-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-select:first-child>.ant-select-selector,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>:first-child{border-radius:0 2px 2px 0}.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-cascader-picker-focused:last-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-cascader-picker:last-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-select-auto-complete:last-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-select:last-child>.ant-select-selector,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>:last-child{border-left-width:1px;border-radius:2px 0 0 2px}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper-rtl+.ant-input-group-wrapper-rtl{margin-right:-1px;margin-left:0}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper-rtl:not(:last-child).ant-input-search>.ant-input-group>.ant-input{border-radius:0 2px 2px 0}.ant-input-group-wrapper{display:inline-block;width:100%;text-align:start;vertical-align:top}.ant-input-password-icon{color:rgba(0,0,0,.45);cursor:pointer;transition:all .3s}.ant-input-password-icon:hover{color:rgba(0,0,0,.85)}.ant-input[type=color]{height:32px}.ant-input[type=color].ant-input-lg{height:40px}.ant-input[type=color].ant-input-sm{height:24px;padding-top:3px;padding-bottom:3px}.ant-input-textarea-show-count:after{float:right;color:rgba(0,0,0,.45);white-space:nowrap;content:attr(data-count);pointer-events:none}.ant-input-search .ant-input:focus,.ant-input-search .ant-input:hover{border-color:#40a9ff}.ant-input-search .ant-input:focus+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary),.ant-input-search .ant-input:hover+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary){border-left-color:#40a9ff}.ant-input-search .ant-input-affix-wrapper{border-radius:0}.ant-input-search .ant-input-lg{line-height:1.5713}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child{left:-1px;padding:0;border:0}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child .ant-input-search-button{padding-top:0;padding-bottom:0;border-radius:0 2px 2px 0}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child .ant-input-search-button:not(.ant-btn-primary){color:rgba(0,0,0,.45)}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child .ant-input-search-button:not(.ant-btn-primary).ant-btn-loading:before{top:0;right:0;bottom:0;left:0}.ant-input-search-button{height:32px}.ant-input-search-button:focus,.ant-input-search-button:hover{z-index:1}.ant-input-search-large .ant-input-search-button{height:40px}.ant-input-search-small .ant-input-search-button{height:24px}.ant-input-group-rtl,.ant-input-group-wrapper-rtl{direction:rtl}.ant-input-affix-wrapper.ant-input-affix-wrapper-rtl>input.ant-input{border:none;outline:none}.ant-input-affix-wrapper-rtl .ant-input-prefix{margin:0 0 0 4px}.ant-input-affix-wrapper-rtl .ant-input-suffix{margin:0 4px 0 0}.ant-input-textarea-rtl{direction:rtl}.ant-input-textarea-rtl.ant-input-textarea-show-count:after{text-align:left}.ant-input-affix-wrapper-rtl .ant-input-clear-icon-has-suffix{margin-right:0;margin-left:4px}.ant-input-affix-wrapper-rtl .ant-input-clear-icon{right:auto;left:8px}.ant-input-search-rtl{direction:rtl}.ant-input-search-rtl .ant-input:focus+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary),.ant-input-search-rtl .ant-input:hover+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary){border-right-color:#40a9ff;border-left-color:#d9d9d9}.ant-input-search-rtl>.ant-input-group>.ant-input-affix-wrapper-focused,.ant-input-search-rtl>.ant-input-group>.ant-input-affix-wrapper:hover{border-right-color:#40a9ff}.ant-input-search-rtl>.ant-input-group>.ant-input-group-addon{right:-1px;left:auto}.ant-input-search-rtl>.ant-input-group>.ant-input-group-addon .ant-input-search-button{border-radius:2px 0 0 2px}@media (-ms-high-contrast:none),screen and (-ms-high-contrast:active){.ant-input{height:32px}.ant-input-lg{height:40px}.ant-input-sm{height:24px}.ant-input-affix-wrapper>input.ant-input{height:auto}}.ant-layout{display:flex;flex:auto;flex-direction:column;min-height:0;background:#f0f2f5}.ant-layout,.ant-layout *{box-sizing:border-box}.ant-layout.ant-layout-has-sider{flex-direction:row}.ant-layout.ant-layout-has-sider>.ant-layout,.ant-layout.ant-layout-has-sider>.ant-layout-content{width:0}.ant-layout-footer,.ant-layout-header{flex:0 0 auto}.ant-layout-header{height:64px;padding:0 50px;color:rgba(0,0,0,.85);line-height:64px;background:#001529}.ant-layout-footer{padding:24px 50px;color:rgba(0,0,0,.85);font-size:14px;background:#f0f2f5}.ant-layout-content{flex:auto;min-height:0}.ant-layout-sider{position:relative;min-width:0;background:#001529;transition:all .2s}.ant-layout-sider-children{height:100%;margin-top:-.1px;padding-top:.1px}.ant-layout-sider-children .ant-menu.ant-menu-inline-collapsed{width:auto}.ant-layout-sider-has-trigger{padding-bottom:48px}.ant-layout-sider-right{order:1}.ant-layout-sider-trigger{position:fixed;bottom:0;z-index:1;height:48px;color:#fff;line-height:48px;text-align:center;background:#002140;cursor:pointer;transition:all .2s}.ant-layout-sider-zero-width>*{overflow:hidden}.ant-layout-sider-zero-width-trigger{position:absolute;top:64px;right:-36px;z-index:1;width:36px;height:42px;color:#fff;font-size:18px;line-height:42px;text-align:center;background:#001529;border-radius:0 2px 2px 0;cursor:pointer;transition:background .3s ease}.ant-layout-sider-zero-width-trigger:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;transition:all .3s;content:""}.ant-layout-sider-zero-width-trigger:hover:after{background:hsla(0,0%,100%,.1)}.ant-layout-sider-zero-width-trigger-right{left:-36px;border-radius:2px 0 0 2px}.ant-layout-sider-light{background:#fff}.ant-layout-sider-light .ant-layout-sider-trigger,.ant-layout-sider-light .ant-layout-sider-zero-width-trigger{color:rgba(0,0,0,.85);background:#fff}.ant-layout-rtl{direction:rtl}.ant-list{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative}.ant-list *{outline:none}.ant-list-pagination{margin-top:24px;text-align:right}.ant-list-pagination .ant-pagination-options{text-align:left}.ant-list-more{margin-top:12px;text-align:center}.ant-list-more button{padding-right:32px;padding-left:32px}.ant-list-spin{min-height:40px;text-align:center}.ant-list-empty-text{padding:16px;color:rgba(0,0,0,.25);font-size:14px;text-align:center}.ant-list-items{margin:0;padding:0;list-style:none}.ant-list-item{display:flex;align-items:center;justify-content:space-between;padding:12px 0;color:rgba(0,0,0,.85)}.ant-list-item-meta{display:flex;flex:1;align-items:flex-start;max-width:100%}.ant-list-item-meta-avatar{margin-right:16px}.ant-list-item-meta-content{flex:1 0;width:0;color:rgba(0,0,0,.85)}.ant-list-item-meta-title{margin-bottom:4px;color:rgba(0,0,0,.85);font-size:14px;line-height:1.5715}.ant-list-item-meta-title>a{color:rgba(0,0,0,.85);transition:all .3s}.ant-list-item-meta-title>a:hover{color:#1890ff}.ant-list-item-meta-description{color:rgba(0,0,0,.45);font-size:14px;line-height:1.5715}.ant-list-item-action{flex:0 0 auto;margin-left:48px;padding:0;font-size:0;list-style:none}.ant-list-item-action>li{position:relative;display:inline-block;padding:0 8px;color:rgba(0,0,0,.45);font-size:14px;line-height:1.5715;text-align:center}.ant-list-item-action>li:first-child{padding-left:0}.ant-list-item-action-split{position:absolute;top:50%;right:0;width:1px;height:14px;margin-top:-7px;background-color:#f0f0f0}.ant-list-footer,.ant-list-header{background:transparent}.ant-list-footer,.ant-list-header{padding-top:12px;padding-bottom:12px}.ant-list-empty{padding:16px 0;color:rgba(0,0,0,.45);font-size:12px;text-align:center}.ant-list-split .ant-list-item{border-bottom:1px solid #f0f0f0}.ant-list-split .ant-list-item:last-child{border-bottom:none}.ant-list-split .ant-list-header{border-bottom:1px solid #f0f0f0}.ant-list-split.ant-list-empty .ant-list-footer{border-top:1px solid #f0f0f0}.ant-list-loading .ant-list-spin-nested-loading{min-height:32px}.ant-list-split.ant-list-something-after-last-item .ant-spin-container>.ant-list-items>.ant-list-item:last-child{border-bottom:1px solid #f0f0f0}.ant-list-lg .ant-list-item{padding:16px 24px}.ant-list-sm .ant-list-item{padding:8px 16px}.ant-list-vertical .ant-list-item{align-items:normal}.ant-list-vertical .ant-list-item-main{display:block;flex:1}.ant-list-vertical .ant-list-item-extra{margin-left:40px}.ant-list-vertical .ant-list-item-meta{margin-bottom:16px}.ant-list-vertical .ant-list-item-meta-title{margin-bottom:12px;color:rgba(0,0,0,.85);font-size:16px;line-height:24px}.ant-list-vertical .ant-list-item-action{margin-top:16px;margin-left:auto}.ant-list-vertical .ant-list-item-action>li{padding:0 16px}.ant-list-vertical .ant-list-item-action>li:first-child{padding-left:0}.ant-list-grid .ant-col>.ant-list-item{display:block;max-width:100%;margin-bottom:16px;padding-top:0;padding-bottom:0;border-bottom:none}.ant-list-item-no-flex{display:block}.ant-list:not(.ant-list-vertical) .ant-list-item-no-flex .ant-list-item-action{float:right}.ant-list-bordered{border:1px solid #d9d9d9;border-radius:2px}.ant-list-bordered .ant-list-footer,.ant-list-bordered .ant-list-header,.ant-list-bordered .ant-list-item{padding-right:24px;padding-left:24px}.ant-list-bordered .ant-list-pagination{margin:16px 24px}.ant-list-bordered.ant-list-sm .ant-list-footer,.ant-list-bordered.ant-list-sm .ant-list-header,.ant-list-bordered.ant-list-sm .ant-list-item{padding:8px 16px}.ant-list-bordered.ant-list-lg .ant-list-footer,.ant-list-bordered.ant-list-lg .ant-list-header,.ant-list-bordered.ant-list-lg .ant-list-item{padding:16px 24px}@media screen and (max-width:768px){.ant-list-item-action,.ant-list-vertical .ant-list-item-extra{margin-left:24px}}@media screen and (max-width:576px){.ant-list-item{flex-wrap:wrap}.ant-list-item-action{margin-left:12px}.ant-list-vertical .ant-list-item{flex-wrap:wrap-reverse}.ant-list-vertical .ant-list-item-main{min-width:220px}.ant-list-vertical .ant-list-item-extra{margin:auto auto 16px}}.ant-list-rtl{direction:rtl;text-align:right}.ant-list-rtl .ReactVirtualized__List .ant-list-item{direction:rtl}.ant-list-rtl .ant-list-pagination{text-align:left}.ant-list-rtl .ant-list-item-meta-avatar{margin-right:0;margin-left:16px}.ant-list-rtl .ant-list-item-action{margin-right:48px;margin-left:0}.ant-list.ant-list-rtl .ant-list-item-action>li:first-child{padding-right:0;padding-left:16px}.ant-list-rtl .ant-list-item-action-split{right:auto;left:0}.ant-list-rtl.ant-list-vertical .ant-list-item-extra{margin-right:40px;margin-left:0}.ant-list-rtl.ant-list-vertical .ant-list-item-action{margin-right:auto}.ant-list-rtl .ant-list-vertical .ant-list-item-action>li:first-child{padding-right:0;padding-left:16px}.ant-list-rtl .ant-list:not(.ant-list-vertical) .ant-list-item-no-flex .ant-list-item-action{float:left}@media screen and (max-width:768px){.ant-list-rtl .ant-list-item-action,.ant-list-rtl .ant-list-vertical .ant-list-item-extra{margin-right:24px;margin-left:0}}@media screen and (max-width:576px){.ant-list-rtl .ant-list-item-action{margin-right:22px;margin-left:0}.ant-list-rtl.ant-list-vertical .ant-list-item-extra{margin:auto auto 16px}}.ant-mentions{box-sizing:border-box;margin:0;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";width:100%;min-width:0;color:rgba(0,0,0,.85);font-size:14px;background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:2px;transition:all .3s;position:relative;display:inline-block;height:auto;padding:0;overflow:hidden;line-height:1.5715;white-space:pre-wrap;vertical-align:bottom}.ant-mentions::-moz-placeholder{opacity:1}.ant-mentions:-ms-input-placeholder{color:#bfbfbf}.ant-mentions::placeholder{color:#bfbfbf}.ant-mentions:-moz-placeholder-shown{text-overflow:ellipsis}.ant-mentions:-ms-input-placeholder{text-overflow:ellipsis}.ant-mentions:placeholder-shown{text-overflow:ellipsis}.ant-mentions-focused,.ant-mentions:focus,.ant-mentions:hover{border-color:#40a9ff;border-right-width:1px!important}.ant-mentions-focused,.ant-mentions:focus{outline:0;box-shadow:0 0 0 2px rgba(24,144,255,.2)}.ant-mentions-disabled{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-mentions-disabled:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-mentions[disabled]{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-mentions[disabled]:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-mentions-borderless,.ant-mentions-borderless-disabled,.ant-mentions-borderless-focused,.ant-mentions-borderless:focus,.ant-mentions-borderless:hover,.ant-mentions-borderless[disabled]{background-color:transparent;border:none;box-shadow:none}textarea.ant-mentions{max-width:100%;height:auto;min-height:32px;line-height:1.5715;vertical-align:bottom;transition:all .3s,height 0s}.ant-mentions-lg{padding:6.5px 11px;font-size:16px}.ant-mentions-sm{padding:0 7px}.ant-mentions-disabled>textarea{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-mentions-disabled>textarea:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-mentions-focused{border-color:#40a9ff;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(24,144,255,.2)}.ant-mentions-measure,.ant-mentions>textarea{min-height:30px;margin:0;padding:4px 11px;overflow:inherit;overflow-x:hidden;overflow-y:auto;font-weight:inherit;font-size:inherit;font-family:inherit;font-style:inherit;font-variant:inherit;font-size-adjust:inherit;font-stretch:inherit;line-height:inherit;direction:inherit;letter-spacing:inherit;white-space:inherit;text-align:inherit;vertical-align:top;word-wrap:break-word;word-break:inherit;-moz-tab-size:inherit;-o-tab-size:inherit;tab-size:inherit}.ant-mentions>textarea{width:100%;border:none;outline:none;resize:none}.ant-mentions>textarea::-moz-placeholder{opacity:1}.ant-mentions>textarea:-ms-input-placeholder{color:#bfbfbf}.ant-mentions>textarea::placeholder{color:#bfbfbf}.ant-mentions>textarea:-moz-placeholder-shown{text-overflow:ellipsis}.ant-mentions>textarea:-ms-input-placeholder{text-overflow:ellipsis}.ant-mentions>textarea:placeholder-shown{text-overflow:ellipsis}.ant-mentions-measure{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;color:transparent;pointer-events:none}.ant-mentions-measure>span{display:inline-block;min-height:1em}.ant-mentions-dropdown{margin:0;padding:0;color:rgba(0,0,0,.85);font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:absolute;top:-9999px;left:-9999px;z-index:1050;box-sizing:border-box;font-size:14px;font-variant:normal;background-color:#fff;border-radius:2px;outline:none;box-shadow:0 3px 6px -4px rgba(0,0,0,.12),0 6px 16px 0 rgba(0,0,0,.08),0 9px 28px 8px rgba(0,0,0,.05)}.ant-mentions-dropdown-hidden{display:none}.ant-mentions-dropdown-menu{max-height:250px;margin-bottom:0;padding-left:0;overflow:auto;list-style:none;outline:none}.ant-mentions-dropdown-menu-item{position:relative;display:block;min-width:100px;padding:5px 12px;overflow:hidden;color:rgba(0,0,0,.85);font-weight:400;line-height:1.5715;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;transition:background .3s ease}.ant-mentions-dropdown-menu-item:hover{background-color:#f5f5f5}.ant-mentions-dropdown-menu-item:first-child{border-radius:2px 2px 0 0}.ant-mentions-dropdown-menu-item:last-child{border-radius:0 0 2px 2px}.ant-mentions-dropdown-menu-item-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-mentions-dropdown-menu-item-disabled:hover{color:rgba(0,0,0,.25);background-color:#fff;cursor:not-allowed}.ant-mentions-dropdown-menu-item-selected{color:rgba(0,0,0,.85);font-weight:600;background-color:#fafafa}.ant-mentions-dropdown-menu-item-active{background-color:#f5f5f5}.ant-mentions-rtl{direction:rtl}.ant-menu-item-danger.ant-menu-item,.ant-menu-item-danger.ant-menu-item-active,.ant-menu-item-danger.ant-menu-item:hover{color:#ff4d4f}.ant-menu-item-danger.ant-menu-item:active{background:#fff1f0}.ant-menu-item-danger.ant-menu-item-selected,.ant-menu-item-danger.ant-menu-item-selected>a,.ant-menu-item-danger.ant-menu-item-selected>a:hover{color:#ff4d4f}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected{background-color:#fff1f0}.ant-menu-inline .ant-menu-item-danger.ant-menu-item:after{border-right-color:#ff4d4f}.ant-menu-dark .ant-menu-item-danger.ant-menu-item,.ant-menu-dark .ant-menu-item-danger.ant-menu-item:hover,.ant-menu-dark .ant-menu-item-danger.ant-menu-item>a{color:#ff4d4f}.ant-menu-dark.ant-menu-dark:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected{color:#fff;background-color:#ff4d4f}.ant-menu{box-sizing:border-box;font-variant:tabular-nums;line-height:1.5715;font-feature-settings:"tnum";margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;line-height:0;text-align:left;list-style:none;background:#fff;outline:none;box-shadow:0 3px 6px -4px rgba(0,0,0,.12),0 6px 16px 0 rgba(0,0,0,.08),0 9px 28px 8px rgba(0,0,0,.05);transition:background .3s,width .3s cubic-bezier(.2,0,0,1) 0s}.ant-menu:after,.ant-menu:before{display:table;content:""}.ant-menu:after{clear:both}.ant-menu.ant-menu-root:focus-visible{box-shadow:0 0 0 2px rgba(24,144,255,.2)}.ant-menu ol,.ant-menu ul{margin:0;padding:0;list-style:none}.ant-menu-overflow{display:flex}.ant-menu-overflow-item{flex:none}.ant-menu-hidden,.ant-menu-submenu-hidden{display:none}.ant-menu-item-group-title{height:1.5715;padding:8px 16px;color:rgba(0,0,0,.45);font-size:14px;line-height:1.5715;transition:all .3s}.ant-menu-horizontal .ant-menu-submenu{transition:border-color .3s cubic-bezier(.645,.045,.355,1),background .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-submenu,.ant-menu-submenu-inline{transition:border-color .3s cubic-bezier(.645,.045,.355,1),background .3s cubic-bezier(.645,.045,.355,1),padding .15s cubic-bezier(.645,.045,.355,1)}.ant-menu-submenu-selected{color:#1890ff}.ant-menu-item:active,.ant-menu-submenu-title:active{background:#e6f7ff}.ant-menu-submenu .ant-menu-sub{cursor:auto;transition:background .3s cubic-bezier(.645,.045,.355,1),padding .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-title-content{transition:color .3s}.ant-menu-item a{color:rgba(0,0,0,.85)}.ant-menu-item a:hover{color:#1890ff}.ant-menu-item a:before{position:absolute;top:0;right:0;bottom:0;left:0;background-color:transparent;content:""}.ant-menu-item>.ant-badge a{color:rgba(0,0,0,.85)}.ant-menu-item>.ant-badge a:hover{color:#1890ff}.ant-menu-item-divider{height:1px;overflow:hidden;line-height:0;background-color:#f0f0f0}.ant-menu-horizontal .ant-menu-item,.ant-menu-horizontal .ant-menu-submenu{margin-top:-1px}.ant-menu-horizontal>.ant-menu-item-active,.ant-menu-horizontal>.ant-menu-item:hover,.ant-menu-horizontal>.ant-menu-submenu .ant-menu-submenu-title:hover{background-color:transparent}.ant-menu-item-selected,.ant-menu-item-selected a,.ant-menu-item-selected a:hover{color:#1890ff}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected{background-color:#e6f7ff}.ant-menu-inline,.ant-menu-vertical,.ant-menu-vertical-left{border-right:1px solid #f0f0f0}.ant-menu-vertical-right{border-left:1px solid #f0f0f0}.ant-menu-vertical-left.ant-menu-sub,.ant-menu-vertical-right.ant-menu-sub,.ant-menu-vertical.ant-menu-sub{min-width:160px;max-height:calc(100vh - 100px);padding:0;overflow:hidden;border-right:0}.ant-menu-vertical-left.ant-menu-sub:not([class*=-active]),.ant-menu-vertical-right.ant-menu-sub:not([class*=-active]),.ant-menu-vertical.ant-menu-sub:not([class*=-active]){overflow-x:hidden;overflow-y:auto}.ant-menu-vertical-left.ant-menu-sub .ant-menu-item,.ant-menu-vertical-right.ant-menu-sub .ant-menu-item,.ant-menu-vertical.ant-menu-sub .ant-menu-item{left:0;margin-left:0;border-right:0}.ant-menu-vertical-left.ant-menu-sub .ant-menu-item:after,.ant-menu-vertical-right.ant-menu-sub .ant-menu-item:after,.ant-menu-vertical.ant-menu-sub .ant-menu-item:after{border-right:0}.ant-menu-vertical-left.ant-menu-sub>.ant-menu-item,.ant-menu-vertical-left.ant-menu-sub>.ant-menu-submenu,.ant-menu-vertical-right.ant-menu-sub>.ant-menu-item,.ant-menu-vertical-right.ant-menu-sub>.ant-menu-submenu,.ant-menu-vertical.ant-menu-sub>.ant-menu-item,.ant-menu-vertical.ant-menu-sub>.ant-menu-submenu{transform-origin:0 0}.ant-menu-horizontal.ant-menu-sub{min-width:114px}.ant-menu-horizontal .ant-menu-item,.ant-menu-horizontal .ant-menu-submenu-title{transition:border-color .3s,background .3s}.ant-menu-item,.ant-menu-submenu-title{position:relative;display:block;margin:0;padding:0 20px;white-space:nowrap;cursor:pointer;transition:border-color .3s,background .3s,padding .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-item .ant-menu-item-icon,.ant-menu-item .anticon,.ant-menu-submenu-title .ant-menu-item-icon,.ant-menu-submenu-title .anticon{min-width:14px;font-size:14px;transition:font-size .15s cubic-bezier(.215,.61,.355,1),margin .3s cubic-bezier(.645,.045,.355,1),color .3s}.ant-menu-item .ant-menu-item-icon+span,.ant-menu-item .anticon+span,.ant-menu-submenu-title .ant-menu-item-icon+span,.ant-menu-submenu-title .anticon+span{margin-left:10px;opacity:1;transition:opacity .3s cubic-bezier(.645,.045,.355,1),margin .3s,color .3s}.ant-menu-item .ant-menu-item-icon.svg,.ant-menu-submenu-title .ant-menu-item-icon.svg{vertical-align:-.125em}.ant-menu-item.ant-menu-item-only-child>.ant-menu-item-icon,.ant-menu-item.ant-menu-item-only-child>.anticon,.ant-menu-submenu-title.ant-menu-item-only-child>.ant-menu-item-icon,.ant-menu-submenu-title.ant-menu-item-only-child>.anticon{margin-right:0}.ant-menu-item:focus-visible,.ant-menu-submenu-title:focus-visible{box-shadow:0 0 0 2px rgba(24,144,255,.2)}.ant-menu>.ant-menu-item-divider{height:1px;margin:1px 0;padding:0;overflow:hidden;line-height:0;background-color:#f0f0f0}.ant-menu-submenu-popup{position:absolute;z-index:1050;background:transparent;border-radius:2px;box-shadow:none;transform-origin:0 0}.ant-menu-submenu-popup:before{position:absolute;top:-7px;right:0;bottom:0;left:0;z-index:-1;width:100%;height:100%;opacity:.0001;content:" "}.ant-menu-submenu-placement-rightTop:before{top:0;left:-7px}.ant-menu-submenu>.ant-menu{background-color:#fff;border-radius:2px}.ant-menu-submenu>.ant-menu-submenu-title:after{transition:transform .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-submenu-popup>.ant-menu{background-color:#fff}.ant-menu-submenu-arrow,.ant-menu-submenu-expand-icon{position:absolute;top:50%;right:16px;width:10px;color:rgba(0,0,0,.85);transform:translateY(-50%);transition:transform .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-submenu-arrow:after,.ant-menu-submenu-arrow:before{position:absolute;width:6px;height:1.5px;background-color:currentColor;border-radius:2px;transition:background .3s cubic-bezier(.645,.045,.355,1),transform .3s cubic-bezier(.645,.045,.355,1),top .3s cubic-bezier(.645,.045,.355,1),color .3s cubic-bezier(.645,.045,.355,1);content:""}.ant-menu-submenu-arrow:before{transform:rotate(45deg) translateY(-2.5px)}.ant-menu-submenu-arrow:after{transform:rotate(-45deg) translateY(2.5px)}.ant-menu-submenu:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-submenu:hover>.ant-menu-submenu-title>.ant-menu-submenu-expand-icon{color:#1890ff}.ant-menu-inline-collapsed .ant-menu-submenu-arrow:before,.ant-menu-submenu-inline .ant-menu-submenu-arrow:before{transform:rotate(-45deg) translateX(2.5px)}.ant-menu-inline-collapsed .ant-menu-submenu-arrow:after,.ant-menu-submenu-inline .ant-menu-submenu-arrow:after{transform:rotate(45deg) translateX(-2.5px)}.ant-menu-submenu-horizontal .ant-menu-submenu-arrow{display:none}.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow{transform:translateY(-2px)}.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after{transform:rotate(-45deg) translateX(-2.5px)}.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before{transform:rotate(45deg) translateX(2.5px)}.ant-menu-vertical-left .ant-menu-submenu-selected,.ant-menu-vertical-right .ant-menu-submenu-selected,.ant-menu-vertical .ant-menu-submenu-selected{color:#1890ff}.ant-menu-horizontal{line-height:46px;border:0;border-bottom:1px solid #f0f0f0;box-shadow:none}.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu{margin-top:-1px;margin-bottom:0;padding:0 20px}.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-active,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-open,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-selected,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item:hover,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-active,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-open,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-selected,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu:hover{color:#1890ff}.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-active:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-open:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-selected:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item:hover:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-active:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-open:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-selected:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu:hover:after{border-bottom:2px solid #1890ff}.ant-menu-horizontal>.ant-menu-item,.ant-menu-horizontal>.ant-menu-submenu{position:relative;top:1px;display:inline-block;vertical-align:bottom}.ant-menu-horizontal>.ant-menu-item:after,.ant-menu-horizontal>.ant-menu-submenu:after{position:absolute;right:20px;bottom:0;left:20px;border-bottom:2px solid transparent;transition:border-color .3s cubic-bezier(.645,.045,.355,1);content:""}.ant-menu-horizontal>.ant-menu-submenu>.ant-menu-submenu-title{padding:0}.ant-menu-horizontal>.ant-menu-item a{color:rgba(0,0,0,.85)}.ant-menu-horizontal>.ant-menu-item a:hover{color:#1890ff}.ant-menu-horizontal>.ant-menu-item a:before{bottom:-2px}.ant-menu-horizontal>.ant-menu-item-selected a{color:#1890ff}.ant-menu-horizontal:after{display:block;clear:both;height:0;content:"\\20"}.ant-menu-inline .ant-menu-item,.ant-menu-vertical-left .ant-menu-item,.ant-menu-vertical-right .ant-menu-item,.ant-menu-vertical .ant-menu-item{position:relative}.ant-menu-inline .ant-menu-item:after,.ant-menu-vertical-left .ant-menu-item:after,.ant-menu-vertical-right .ant-menu-item:after,.ant-menu-vertical .ant-menu-item:after{position:absolute;top:0;right:0;bottom:0;border-right:3px solid #1890ff;transform:scaleY(.0001);opacity:0;transition:transform .15s cubic-bezier(.215,.61,.355,1),opacity .15s cubic-bezier(.215,.61,.355,1);content:""}.ant-menu-inline .ant-menu-item,.ant-menu-inline .ant-menu-submenu-title,.ant-menu-vertical-left .ant-menu-item,.ant-menu-vertical-left .ant-menu-submenu-title,.ant-menu-vertical-right .ant-menu-item,.ant-menu-vertical-right .ant-menu-submenu-title,.ant-menu-vertical .ant-menu-item,.ant-menu-vertical .ant-menu-submenu-title{height:40px;margin-top:4px;margin-bottom:4px;padding:0 16px;overflow:hidden;line-height:40px;text-overflow:ellipsis}.ant-menu-inline .ant-menu-submenu,.ant-menu-vertical-left .ant-menu-submenu,.ant-menu-vertical-right .ant-menu-submenu,.ant-menu-vertical .ant-menu-submenu{padding-bottom:.02px}.ant-menu-inline .ant-menu-item:not(:last-child),.ant-menu-vertical-left .ant-menu-item:not(:last-child),.ant-menu-vertical-right .ant-menu-item:not(:last-child),.ant-menu-vertical .ant-menu-item:not(:last-child){margin-bottom:8px}.ant-menu-inline>.ant-menu-item,.ant-menu-inline>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-vertical-left>.ant-menu-item,.ant-menu-vertical-left>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-vertical-right>.ant-menu-item,.ant-menu-vertical-right>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-vertical>.ant-menu-item,.ant-menu-vertical>.ant-menu-submenu>.ant-menu-submenu-title{height:40px;line-height:40px}.ant-menu-vertical .ant-menu-item-group-list .ant-menu-submenu-title,.ant-menu-vertical .ant-menu-submenu-title{padding-right:34px}.ant-menu-inline{width:100%}.ant-menu-inline .ant-menu-item-selected:after,.ant-menu-inline .ant-menu-selected:after{transform:scaleY(1);opacity:1;transition:transform .15s cubic-bezier(.645,.045,.355,1),opacity .15s cubic-bezier(.645,.045,.355,1)}.ant-menu-inline .ant-menu-item,.ant-menu-inline .ant-menu-submenu-title{width:calc(100% + 1px)}.ant-menu-inline .ant-menu-item-group-list .ant-menu-submenu-title,.ant-menu-inline .ant-menu-submenu-title{padding-right:34px}.ant-menu-inline.ant-menu-root .ant-menu-item,.ant-menu-inline.ant-menu-root .ant-menu-submenu-title{display:flex;align-items:center;transition:border-color .3s,background .3s,padding .1s cubic-bezier(.215,.61,.355,1)}.ant-menu-inline.ant-menu-root .ant-menu-item>.ant-menu-title-content,.ant-menu-inline.ant-menu-root .ant-menu-submenu-title>.ant-menu-title-content{flex:auto;min-width:0;overflow:hidden;text-overflow:ellipsis}.ant-menu-inline.ant-menu-root .ant-menu-item>*,.ant-menu-inline.ant-menu-root .ant-menu-submenu-title>*{flex:none}.ant-menu.ant-menu-inline-collapsed{width:80px}.ant-menu.ant-menu-inline-collapsed>.ant-menu-item,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title{left:0;padding:0 calc(50% - 8px);text-overflow:clip}.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .ant-menu-submenu-arrow,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item .ant-menu-submenu-arrow,.ant-menu.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-submenu-arrow{opacity:0}.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .ant-menu-item-icon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .anticon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-item-icon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .anticon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item .ant-menu-item-icon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item .anticon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-item-icon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .anticon{margin:0;font-size:16px;line-height:40px}.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .ant-menu-item-icon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .anticon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-item-icon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .anticon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item .ant-menu-item-icon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item .anticon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-item-icon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .anticon+span{display:inline-block;opacity:0}.ant-menu.ant-menu-inline-collapsed .ant-menu-item-icon,.ant-menu.ant-menu-inline-collapsed .anticon{display:inline-block}.ant-menu.ant-menu-inline-collapsed-tooltip{pointer-events:none}.ant-menu.ant-menu-inline-collapsed-tooltip .ant-menu-item-icon,.ant-menu.ant-menu-inline-collapsed-tooltip .anticon{display:none}.ant-menu.ant-menu-inline-collapsed-tooltip a{color:hsla(0,0%,100%,.85)}.ant-menu.ant-menu-inline-collapsed .ant-menu-item-group-title{padding-right:4px;padding-left:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-menu-item-group-list{margin:0;padding:0}.ant-menu-item-group-list .ant-menu-item,.ant-menu-item-group-list .ant-menu-submenu-title{padding:0 16px 0 28px}.ant-menu-root.ant-menu-inline,.ant-menu-root.ant-menu-vertical,.ant-menu-root.ant-menu-vertical-left,.ant-menu-root.ant-menu-vertical-right{box-shadow:none}.ant-menu-root.ant-menu-inline-collapsed .ant-menu-item>.ant-menu-inline-collapsed-noicon,.ant-menu-root.ant-menu-inline-collapsed .ant-menu-submenu .ant-menu-submenu-title>.ant-menu-inline-collapsed-noicon{font-size:16px;text-align:center}.ant-menu-sub.ant-menu-inline{padding:0;background:#fafafa;border-radius:0;box-shadow:none}.ant-menu-sub.ant-menu-inline>.ant-menu-item,.ant-menu-sub.ant-menu-inline>.ant-menu-submenu>.ant-menu-submenu-title{height:40px;line-height:40px;list-style-position:inside;list-style-type:disc}.ant-menu-sub.ant-menu-inline .ant-menu-item-group-title{padding-left:32px}.ant-menu-item-disabled,.ant-menu-submenu-disabled{color:rgba(0,0,0,.25)!important;background:none;cursor:not-allowed}.ant-menu-item-disabled:after,.ant-menu-submenu-disabled:after{border-color:transparent!important}.ant-menu-item-disabled a,.ant-menu-submenu-disabled a{color:rgba(0,0,0,.25)!important;pointer-events:none}.ant-menu-item-disabled>.ant-menu-submenu-title,.ant-menu-submenu-disabled>.ant-menu-submenu-title{color:rgba(0,0,0,.25)!important;cursor:not-allowed}.ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before{background:rgba(0,0,0,.25)!important}.ant-layout-header .ant-menu{line-height:inherit}.ant-menu-light .ant-menu-item-active,.ant-menu-light .ant-menu-item:hover,.ant-menu-light .ant-menu-submenu-active,.ant-menu-light .ant-menu-submenu-title:hover,.ant-menu-light .ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open{color:#1890ff}.ant-menu-dark .ant-menu-sub,.ant-menu.ant-menu-dark,.ant-menu.ant-menu-dark .ant-menu-sub{color:hsla(0,0%,100%,.65);background:#001529}.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow{opacity:.45;transition:all .3s}.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow:before{background:#fff}.ant-menu-dark.ant-menu-submenu-popup{background:transparent}.ant-menu-dark .ant-menu-inline.ant-menu-sub{background:#000c17}.ant-menu-dark.ant-menu-horizontal{border-bottom:0}.ant-menu-dark.ant-menu-horizontal>.ant-menu-item,.ant-menu-dark.ant-menu-horizontal>.ant-menu-submenu{top:0;margin-top:0;padding:0 20px;border-color:#001529;border-bottom:0}.ant-menu-dark.ant-menu-horizontal>.ant-menu-item:hover{background-color:#1890ff}.ant-menu-dark.ant-menu-horizontal>.ant-menu-item>a:before{bottom:0}.ant-menu-dark .ant-menu-item,.ant-menu-dark .ant-menu-item-group-title,.ant-menu-dark .ant-menu-item>a,.ant-menu-dark .ant-menu-item>span>a{color:hsla(0,0%,100%,.65)}.ant-menu-dark.ant-menu-inline,.ant-menu-dark.ant-menu-vertical,.ant-menu-dark.ant-menu-vertical-left,.ant-menu-dark.ant-menu-vertical-right{border-right:0}.ant-menu-dark.ant-menu-inline .ant-menu-item,.ant-menu-dark.ant-menu-vertical-left .ant-menu-item,.ant-menu-dark.ant-menu-vertical-right .ant-menu-item,.ant-menu-dark.ant-menu-vertical .ant-menu-item{left:0;margin-left:0;border-right:0}.ant-menu-dark.ant-menu-inline .ant-menu-item:after,.ant-menu-dark.ant-menu-vertical-left .ant-menu-item:after,.ant-menu-dark.ant-menu-vertical-right .ant-menu-item:after,.ant-menu-dark.ant-menu-vertical .ant-menu-item:after{border-right:0}.ant-menu-dark.ant-menu-inline .ant-menu-item,.ant-menu-dark.ant-menu-inline .ant-menu-submenu-title{width:100%}.ant-menu-dark .ant-menu-item-active,.ant-menu-dark .ant-menu-item:hover,.ant-menu-dark .ant-menu-submenu-active,.ant-menu-dark .ant-menu-submenu-open,.ant-menu-dark .ant-menu-submenu-selected,.ant-menu-dark .ant-menu-submenu-title:hover{color:#fff;background-color:transparent}.ant-menu-dark .ant-menu-item-active>a,.ant-menu-dark .ant-menu-item-active>span>a,.ant-menu-dark .ant-menu-item:hover>a,.ant-menu-dark .ant-menu-item:hover>span>a,.ant-menu-dark .ant-menu-submenu-active>a,.ant-menu-dark .ant-menu-submenu-active>span>a,.ant-menu-dark .ant-menu-submenu-open>a,.ant-menu-dark .ant-menu-submenu-open>span>a,.ant-menu-dark .ant-menu-submenu-selected>a,.ant-menu-dark .ant-menu-submenu-selected>span>a,.ant-menu-dark .ant-menu-submenu-title:hover>a,.ant-menu-dark .ant-menu-submenu-title:hover>span>a{color:#fff}.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow{opacity:1}.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before{background:#fff}.ant-menu-dark .ant-menu-item:hover{background-color:transparent}.ant-menu-dark.ant-menu-dark:not(.ant-menu-horizontal) .ant-menu-item-selected{background-color:#1890ff}.ant-menu-dark .ant-menu-item-selected{color:#fff;border-right:0}.ant-menu-dark .ant-menu-item-selected:after{border-right:0}.ant-menu-dark .ant-menu-item-selected .ant-menu-item-icon,.ant-menu-dark .ant-menu-item-selected .ant-menu-item-icon+span,.ant-menu-dark .ant-menu-item-selected .anticon,.ant-menu-dark .ant-menu-item-selected .anticon+span,.ant-menu-dark .ant-menu-item-selected>a,.ant-menu-dark .ant-menu-item-selected>a:hover,.ant-menu-dark .ant-menu-item-selected>span>a,.ant-menu-dark .ant-menu-item-selected>span>a:hover{color:#fff}.ant-menu-submenu-popup.ant-menu-dark .ant-menu-item-selected,.ant-menu.ant-menu-dark .ant-menu-item-selected{background-color:#1890ff}.ant-menu-dark .ant-menu-item-disabled,.ant-menu-dark .ant-menu-item-disabled>a,.ant-menu-dark .ant-menu-item-disabled>span>a,.ant-menu-dark .ant-menu-submenu-disabled,.ant-menu-dark .ant-menu-submenu-disabled>a,.ant-menu-dark .ant-menu-submenu-disabled>span>a{color:hsla(0,0%,100%,.35)!important;opacity:.8}.ant-menu-dark .ant-menu-item-disabled>.ant-menu-submenu-title,.ant-menu-dark .ant-menu-submenu-disabled>.ant-menu-submenu-title{color:hsla(0,0%,100%,.35)!important}.ant-menu-dark .ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before{background:hsla(0,0%,100%,.35)!important}.ant-menu.ant-menu-rtl{direction:rtl;text-align:right}.ant-menu-rtl .ant-menu-item-group-title{text-align:right}.ant-menu-rtl.ant-menu-inline,.ant-menu-rtl.ant-menu-vertical{border-right:none;border-left:1px solid #f0f0f0}.ant-menu-rtl.ant-menu-dark.ant-menu-inline,.ant-menu-rtl.ant-menu-dark.ant-menu-vertical{border-left:none}.ant-menu-rtl.ant-menu-vertical-left.ant-menu-sub>.ant-menu-item,.ant-menu-rtl.ant-menu-vertical-left.ant-menu-sub>.ant-menu-submenu,.ant-menu-rtl.ant-menu-vertical-right.ant-menu-sub>.ant-menu-item,.ant-menu-rtl.ant-menu-vertical-right.ant-menu-sub>.ant-menu-submenu,.ant-menu-rtl.ant-menu-vertical.ant-menu-sub>.ant-menu-item,.ant-menu-rtl.ant-menu-vertical.ant-menu-sub>.ant-menu-submenu{transform-origin:top right}.ant-menu-rtl .ant-menu-item .ant-menu-item-icon,.ant-menu-rtl .ant-menu-item .anticon,.ant-menu-rtl .ant-menu-submenu-title .ant-menu-item-icon,.ant-menu-rtl .ant-menu-submenu-title .anticon{margin-right:auto;margin-left:10px}.ant-menu-rtl .ant-menu-item.ant-menu-item-only-child>.ant-menu-item-icon,.ant-menu-rtl .ant-menu-item.ant-menu-item-only-child>.anticon,.ant-menu-rtl .ant-menu-submenu-title.ant-menu-item-only-child>.ant-menu-item-icon,.ant-menu-rtl .ant-menu-submenu-title.ant-menu-item-only-child>.anticon{margin-left:0}.ant-menu-submenu-rtl.ant-menu-submenu-popup{transform-origin:100% 0}.ant-menu-rtl .ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-rtl .ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-rtl .ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-rtl .ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow{right:auto;left:16px}.ant-menu-rtl .ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-rtl .ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-rtl .ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow:before{transform:rotate(-45deg) translateY(-2px)}.ant-menu-rtl .ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-rtl .ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-rtl .ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow:after{transform:rotate(45deg) translateY(2px)}.ant-menu-rtl.ant-menu-inline .ant-menu-item:after,.ant-menu-rtl.ant-menu-vertical-left .ant-menu-item:after,.ant-menu-rtl.ant-menu-vertical-right .ant-menu-item:after,.ant-menu-rtl.ant-menu-vertical .ant-menu-item:after{right:auto;left:0}.ant-menu-rtl.ant-menu-inline .ant-menu-item,.ant-menu-rtl.ant-menu-inline .ant-menu-submenu-title,.ant-menu-rtl.ant-menu-vertical-left .ant-menu-item,.ant-menu-rtl.ant-menu-vertical-left .ant-menu-submenu-title,.ant-menu-rtl.ant-menu-vertical-right .ant-menu-item,.ant-menu-rtl.ant-menu-vertical-right .ant-menu-submenu-title,.ant-menu-rtl.ant-menu-vertical .ant-menu-item,.ant-menu-rtl.ant-menu-vertical .ant-menu-submenu-title{text-align:right}.ant-menu-rtl.ant-menu-inline .ant-menu-submenu-title{padding-right:0;padding-left:34px}.ant-menu-rtl.ant-menu-vertical .ant-menu-submenu-title{padding-right:16px;padding-left:34px}.ant-menu-rtl.ant-menu-inline-collapsed.ant-menu-vertical .ant-menu-submenu-title{padding:0 calc(50% - 8px)}.ant-menu-rtl .ant-menu-item-group-list .ant-menu-item,.ant-menu-rtl .ant-menu-item-group-list .ant-menu-submenu-title{padding:0 28px 0 16px}.ant-menu-sub.ant-menu-inline{border:0}.ant-menu-rtl.ant-menu-sub.ant-menu-inline .ant-menu-item-group-title{padding-right:32px;padding-left:0}.ant-message{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:fixed;top:8px;left:0;z-index:1010;width:100%;pointer-events:none}.ant-message-notice{padding:8px;text-align:center}.ant-message-notice-content{display:inline-block;padding:10px 16px;background:#fff;border-radius:2px;box-shadow:0 3px 6px -4px rgba(0,0,0,.12),0 6px 16px 0 rgba(0,0,0,.08),0 9px 28px 8px rgba(0,0,0,.05);pointer-events:all}.ant-message-success .anticon{color:#52c41a}.ant-message-error .anticon{color:#ff4d4f}.ant-message-warning .anticon{color:#faad14}.ant-message-info .anticon,.ant-message-loading .anticon{color:#1890ff}.ant-message .anticon{position:relative;top:1px;margin-right:8px;font-size:16px}.ant-message-notice.ant-move-up-leave.ant-move-up-leave-active{-webkit-animation-name:MessageMoveOut;animation-name:MessageMoveOut;-webkit-animation-duration:.3s;animation-duration:.3s}@-webkit-keyframes MessageMoveOut{0%{max-height:150px;padding:8px;opacity:1}to{max-height:0;padding:0;opacity:0}}@keyframes MessageMoveOut{0%{max-height:150px;padding:8px;opacity:1}to{max-height:0;padding:0;opacity:0}}.ant-message-rtl,.ant-message-rtl span{direction:rtl}.ant-message-rtl .anticon{margin-right:0;margin-left:8px}.ant-modal{box-sizing:border-box;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";pointer-events:none;position:relative;top:100px;width:auto;max-width:calc(100vw - 32px);margin:0 auto;padding:0 0 24px}.ant-modal.ant-zoom-enter,.ant-modal.antzoom-appear{transform:none;opacity:0;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;height:100%;background-color:rgba(0,0,0,.45)}.ant-modal-mask-hidden{display:none}.ant-modal-wrap{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto;outline:0;-webkit-overflow-scrolling:touch;z-index:1000}.ant-modal-title{margin:0;color:rgba(0,0,0,.85);font-weight:500;font-size:16px;line-height:22px;word-wrap:break-word}.ant-modal-content{position:relative;background-color:#fff;background-clip:padding-box;border:0;border-radius:2px;box-shadow:0 3px 6px -4px rgba(0,0,0,.12),0 6px 16px 0 rgba(0,0,0,.08),0 9px 28px 8px rgba(0,0,0,.05);pointer-events:auto}.ant-modal-close{position:absolute;top:0;right:0;z-index:10;padding:0;color:rgba(0,0,0,.45);font-weight:700;line-height:1;text-decoration:none;background:transparent;border:0;outline:0;cursor:pointer;transition:color .3s}.ant-modal-close-x{display:block;width:56px;height:56px;font-size:16px;font-style:normal;line-height:56px;text-align:center;text-transform:none;text-rendering:auto}.ant-modal-close:focus,.ant-modal-close:hover{color:rgba(0,0,0,.75);text-decoration:none}.ant-modal-header{padding:16px 24px;color:rgba(0,0,0,.85);background:#fff;border-bottom:1px solid #f0f0f0;border-radius:2px 2px 0 0}.ant-modal-body{padding:24px;font-size:14px;line-height:1.5715;word-wrap:break-word}.ant-modal-footer{padding:10px 16px;text-align:right;background:transparent;border-top:1px solid #f0f0f0;border-radius:0 0 2px 2px}.ant-modal-footer .ant-btn+.ant-btn:not(.ant-dropdown-trigger){margin-bottom:0;margin-left:8px}.ant-modal-open{overflow:hidden}.ant-modal-centered{text-align:center}.ant-modal-centered:before{display:inline-block;width:0;height:100%;vertical-align:middle;content:""}.ant-modal-centered .ant-modal{top:0;display:inline-block;text-align:left;vertical-align:middle}@media (max-width:767px){.ant-modal{max-width:calc(100vw - 16px);margin:8px auto}.ant-modal-centered .ant-modal{flex:1}}.ant-modal-confirm .ant-modal-header{display:none}.ant-modal-confirm .ant-modal-body{padding:32px 32px 24px}.ant-modal-confirm-body-wrapper:before{display:table;content:""}.ant-modal-confirm-body-wrapper:after{display:table;clear:both;content:""}.ant-modal-confirm-body .ant-modal-confirm-title{display:block;overflow:hidden;color:rgba(0,0,0,.85);font-weight:500;font-size:16px;line-height:1.4}.ant-modal-confirm-body .ant-modal-confirm-content{margin-top:8px;color:rgba(0,0,0,.85);font-size:14px}.ant-modal-confirm-body>.anticon{float:left;margin-right:16px;font-size:22px}.ant-modal-confirm-body>.anticon+.ant-modal-confirm-title+.ant-modal-confirm-content{margin-left:38px}.ant-modal-confirm .ant-modal-confirm-btns{float:right;margin-top:24px}.ant-modal-confirm .ant-modal-confirm-btns .ant-btn+.ant-btn{margin-bottom:0;margin-left:8px}.ant-modal-confirm-error .ant-modal-confirm-body>.anticon{color:#ff4d4f}.ant-modal-confirm-confirm .ant-modal-confirm-body>.anticon,.ant-modal-confirm-warning .ant-modal-confirm-body>.anticon{color:#faad14}.ant-modal-confirm-info .ant-modal-confirm-body>.anticon{color:#1890ff}.ant-modal-confirm-success .ant-modal-confirm-body>.anticon{color:#52c41a}.ant-modal-wrap-rtl{direction:rtl}.ant-modal-wrap-rtl .ant-modal-close{right:auto;left:0}.ant-modal-wrap-rtl .ant-modal-footer{text-align:left}.ant-modal-wrap-rtl .ant-modal-footer .ant-btn+.ant-btn{margin-right:8px;margin-left:0}.ant-modal-wrap-rtl .ant-modal-confirm-body{direction:rtl}.ant-modal-wrap-rtl .ant-modal-confirm-body>.anticon{float:right;margin-right:0;margin-left:16px}.ant-modal-wrap-rtl .ant-modal-confirm-body>.anticon+.ant-modal-confirm-title+.ant-modal-confirm-content{margin-right:38px;margin-left:0}.ant-modal-wrap-rtl .ant-modal-confirm-btns{float:left}.ant-modal-wrap-rtl .ant-modal-confirm-btns .ant-btn+.ant-btn{margin-right:8px;margin-left:0}.ant-modal-wrap-rtl.ant-modal-centered .ant-modal{text-align:right}.ant-notification{box-sizing:border-box;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:fixed;z-index:1010;margin:0 24px 0 0}.ant-notification-bottomLeft,.ant-notification-topLeft{margin-right:0;margin-left:24px}.ant-notification-bottomLeft .ant-notification-fade-appear.ant-notification-fade-appear-active,.ant-notification-bottomLeft .ant-notification-fade-enter.ant-notification-fade-enter-active,.ant-notification-topLeft .ant-notification-fade-appear.ant-notification-fade-appear-active,.ant-notification-topLeft .ant-notification-fade-enter.ant-notification-fade-enter-active{-webkit-animation-name:NotificationLeftFadeIn;animation-name:NotificationLeftFadeIn}.ant-notification-close-icon{font-size:14px;cursor:pointer}.ant-notification-hook-holder{position:relative}.ant-notification-notice{position:relative;width:384px;max-width:calc(100vw - 48px);margin-bottom:16px;margin-left:auto;padding:16px 24px;overflow:hidden;line-height:1.5715;word-wrap:break-word;background:#fff;border-radius:2px;box-shadow:0 3px 6px -4px rgba(0,0,0,.12),0 6px 16px 0 rgba(0,0,0,.08),0 9px 28px 8px rgba(0,0,0,.05)}.ant-notification-bottomLeft .ant-notification-notice,.ant-notification-topLeft .ant-notification-notice{margin-right:auto;margin-left:0}.ant-notification-notice-message{margin-bottom:8px;color:rgba(0,0,0,.85);font-size:16px;line-height:24px}.ant-notification-notice-message-single-line-auto-margin{display:block;width:calc(264px - 100%);max-width:4px;background-color:transparent;pointer-events:none}.ant-notification-notice-message-single-line-auto-margin:before{display:block;content:""}.ant-notification-notice-description{font-size:14px}.ant-notification-notice-closable .ant-notification-notice-message{padding-right:24px}.ant-notification-notice-with-icon .ant-notification-notice-message{margin-bottom:4px;margin-left:48px;font-size:16px}.ant-notification-notice-with-icon .ant-notification-notice-description{margin-left:48px;font-size:14px}.ant-notification-notice-icon{position:absolute;margin-left:4px;font-size:24px;line-height:24px}.anticon.ant-notification-notice-icon-success{color:#52c41a}.anticon.ant-notification-notice-icon-info{color:#1890ff}.anticon.ant-notification-notice-icon-warning{color:#faad14}.anticon.ant-notification-notice-icon-error{color:#ff4d4f}.ant-notification-notice-close{position:absolute;top:16px;right:22px;color:rgba(0,0,0,.45);outline:none}.ant-notification-notice-close:hover{color:rgba(0,0,0,.67)}.ant-notification-notice-btn{float:right;margin-top:16px}.ant-notification .notification-fade-effect{-webkit-animation-duration:.24s;animation-duration:.24s;-webkit-animation-timing-function:cubic-bezier(.645,.045,.355,1);animation-timing-function:cubic-bezier(.645,.045,.355,1);-webkit-animation-fill-mode:both;animation-fill-mode:both}.ant-notification-fade-appear,.ant-notification-fade-enter{opacity:0;-webkit-animation-play-state:paused;animation-play-state:paused}.ant-notification-fade-appear,.ant-notification-fade-enter,.ant-notification-fade-leave{-webkit-animation-duration:.24s;animation-duration:.24s;-webkit-animation-timing-function:cubic-bezier(.645,.045,.355,1);animation-timing-function:cubic-bezier(.645,.045,.355,1);-webkit-animation-fill-mode:both;animation-fill-mode:both}.ant-notification-fade-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-play-state:paused;animation-play-state:paused}.ant-notification-fade-appear.ant-notification-fade-appear-active,.ant-notification-fade-enter.ant-notification-fade-enter-active{-webkit-animation-name:NotificationFadeIn;animation-name:NotificationFadeIn;-webkit-animation-play-state:running;animation-play-state:running}.ant-notification-fade-leave.ant-notification-fade-leave-active{-webkit-animation-name:NotificationFadeOut;animation-name:NotificationFadeOut;-webkit-animation-play-state:running;animation-play-state:running}@-webkit-keyframes NotificationFadeIn{0%{left:384px;opacity:0}to{left:0;opacity:1}}@keyframes NotificationFadeIn{0%{left:384px;opacity:0}to{left:0;opacity:1}}@-webkit-keyframes NotificationLeftFadeIn{0%{right:384px;opacity:0}to{right:0;opacity:1}}@keyframes NotificationLeftFadeIn{0%{right:384px;opacity:0}to{right:0;opacity:1}}@-webkit-keyframes NotificationFadeOut{0%{max-height:150px;margin-bottom:16px;opacity:1}to{max-height:0;margin-bottom:0;padding-top:0;padding-bottom:0;opacity:0}}@keyframes NotificationFadeOut{0%{max-height:150px;margin-bottom:16px;opacity:1}to{max-height:0;margin-bottom:0;padding-top:0;padding-bottom:0;opacity:0}}.ant-notification-rtl{direction:rtl}.ant-notification-rtl .ant-notification-notice-closable .ant-notification-notice-message{padding-right:0;padding-left:24px}.ant-notification-rtl .ant-notification-notice-with-icon .ant-notification-notice-description,.ant-notification-rtl .ant-notification-notice-with-icon .ant-notification-notice-message{margin-right:48px;margin-left:0}.ant-notification-rtl .ant-notification-notice-icon{margin-right:4px;margin-left:0}.ant-notification-rtl .ant-notification-notice-close{right:auto;left:22px}.ant-notification-rtl .ant-notification-notice-btn{float:left}.ant-page-header{box-sizing:border-box;margin:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;padding:16px 24px;background-color:#fff}.ant-page-header-ghost{background-color:inherit}.ant-page-header.has-breadcrumb{padding-top:12px}.ant-page-header.has-footer{padding-bottom:0}.ant-page-header-back{margin-right:16px;font-size:16px;line-height:1}.ant-page-header-back-button{color:#1890ff;text-decoration:none;outline:none;transition:color .3s;color:#000;cursor:pointer}.ant-page-header-back-button:focus,.ant-page-header-back-button:hover{color:#40a9ff}.ant-page-header-back-button:active{color:#096dd9}.ant-page-header .ant-divider-vertical{height:14px;margin:0 12px;vertical-align:middle}.ant-breadcrumb+.ant-page-header-heading{margin-top:8px}.ant-page-header-heading{display:flex;justify-content:space-between}.ant-page-header-heading-left{display:flex;align-items:center;margin:4px 0;overflow:hidden}.ant-page-header-heading-title{margin-right:12px;margin-bottom:0;color:rgba(0,0,0,.85);font-weight:600;font-size:20px;line-height:32px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-page-header-heading .ant-avatar{margin-right:12px}.ant-page-header-heading-sub-title{margin-right:12px;color:rgba(0,0,0,.45);font-size:14px;line-height:1.5715;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-page-header-heading-extra{margin:4px 0;white-space:nowrap}.ant-page-header-heading-extra>*{margin-left:12px;white-space:unset}.ant-page-header-heading-extra>:first-child{margin-left:0}.ant-page-header-content{padding-top:12px}.ant-page-header-footer{margin-top:16px}.ant-page-header-footer .ant-tabs>.ant-tabs-nav{margin:0}.ant-page-header-footer .ant-tabs>.ant-tabs-nav:before{border:none}.ant-page-header-footer .ant-tabs .ant-tabs-tab{padding-top:8px;padding-bottom:8px;font-size:16px}.ant-page-header-compact .ant-page-header-heading{flex-wrap:wrap}.ant-page-header-rtl{direction:rtl}.ant-page-header-rtl .ant-page-header-back{float:right;margin-right:0;margin-left:16px}.ant-page-header-rtl .ant-page-header-heading-title,.ant-page-header-rtl .ant-page-header-heading .ant-avatar{margin-right:0;margin-left:12px}.ant-page-header-rtl .ant-page-header-heading-sub-title{float:right;margin-right:0;margin-left:12px}.ant-page-header-rtl .ant-page-header-heading-tags{float:right}.ant-page-header-rtl .ant-page-header-heading-extra{float:left}.ant-page-header-rtl .ant-page-header-heading-extra>*{margin-right:12px;margin-left:0}.ant-page-header-rtl .ant-page-header-heading-extra>:first-child{margin-right:0}.ant-page-header-rtl .ant-page-header-footer .ant-tabs-bar .ant-tabs-nav{float:right}.ant-pagination{box-sizing:border-box;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;font-feature-settings:"tnum"}.ant-pagination,.ant-pagination ol,.ant-pagination ul{margin:0;padding:0;list-style:none}.ant-pagination:after{display:block;clear:both;height:0;overflow:hidden;visibility:hidden;content:" "}.ant-pagination-item,.ant-pagination-total-text{display:inline-block;height:32px;margin-right:8px;line-height:30px;vertical-align:middle}.ant-pagination-item{min-width:32px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;text-align:center;list-style:none;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;outline:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-pagination-item a{display:block;padding:0 6px;color:rgba(0,0,0,.85);transition:none}.ant-pagination-item a:hover{text-decoration:none}.ant-pagination-item:focus-visible,.ant-pagination-item:hover{border-color:#1890ff;transition:all .3s}.ant-pagination-item:focus-visible a,.ant-pagination-item:hover a{color:#1890ff}.ant-pagination-item-active{font-weight:500;background:#fff;border-color:#1890ff}.ant-pagination-item-active a{color:#1890ff}.ant-pagination-item-active:focus-visible,.ant-pagination-item-active:hover{border-color:#40a9ff}.ant-pagination-item-active:focus-visible a,.ant-pagination-item-active:hover a{color:#40a9ff}.ant-pagination-jump-next,.ant-pagination-jump-prev{outline:0}.ant-pagination-jump-next .ant-pagination-item-container,.ant-pagination-jump-prev .ant-pagination-item-container{position:relative}.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon,.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon{color:#1890ff;font-size:12px;letter-spacing:-1px;opacity:0;transition:all .2s}.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon-svg,.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon-svg{top:0;right:0;bottom:0;left:0;margin:auto}.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-ellipsis,.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-ellipsis{position:absolute;top:0;right:0;bottom:0;left:0;display:block;margin:auto;color:rgba(0,0,0,.25);font-family:Arial,Helvetica,sans-serif;letter-spacing:2px;text-align:center;text-indent:.13em;opacity:1;transition:all .2s}.ant-pagination-jump-next:focus-visible .ant-pagination-item-link-icon,.ant-pagination-jump-next:hover .ant-pagination-item-link-icon,.ant-pagination-jump-prev:focus-visible .ant-pagination-item-link-icon,.ant-pagination-jump-prev:hover .ant-pagination-item-link-icon{opacity:1}.ant-pagination-jump-next:focus-visible .ant-pagination-item-ellipsis,.ant-pagination-jump-next:hover .ant-pagination-item-ellipsis,.ant-pagination-jump-prev:focus-visible .ant-pagination-item-ellipsis,.ant-pagination-jump-prev:hover .ant-pagination-item-ellipsis{opacity:0}.ant-pagination-jump-next,.ant-pagination-jump-prev,.ant-pagination-prev{margin-right:8px}.ant-pagination-jump-next,.ant-pagination-jump-prev,.ant-pagination-next,.ant-pagination-prev{display:inline-block;min-width:32px;height:32px;color:rgba(0,0,0,.85);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:32px;text-align:center;vertical-align:middle;list-style:none;border-radius:2px;cursor:pointer;transition:all .3s}.ant-pagination-next,.ant-pagination-prev{font-family:Arial,Helvetica,sans-serif;outline:0}.ant-pagination-next button,.ant-pagination-prev button{color:rgba(0,0,0,.85);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-pagination-next:hover button,.ant-pagination-prev:hover button{border-color:#40a9ff}.ant-pagination-next .ant-pagination-item-link,.ant-pagination-prev .ant-pagination-item-link{display:block;width:100%;height:100%;padding:0;font-size:12px;text-align:center;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;outline:none;transition:all .3s}.ant-pagination-next:focus-visible .ant-pagination-item-link,.ant-pagination-next:hover .ant-pagination-item-link,.ant-pagination-prev:focus-visible .ant-pagination-item-link,.ant-pagination-prev:hover .ant-pagination-item-link{color:#1890ff;border-color:#1890ff}.ant-pagination-disabled,.ant-pagination-disabled:focus-visible,.ant-pagination-disabled:hover{cursor:not-allowed}.ant-pagination-disabled .ant-pagination-item-link,.ant-pagination-disabled:focus-visible .ant-pagination-item-link,.ant-pagination-disabled:hover .ant-pagination-item-link{color:rgba(0,0,0,.25);border-color:#d9d9d9;cursor:not-allowed}.ant-pagination-slash{margin:0 10px 0 5px}.ant-pagination-options{display:inline-block;margin-left:16px;vertical-align:middle}@media (-ms-high-contrast:none){.ant-pagination-options,.ant-pagination-options ::-ms-backdrop{vertical-align:top}}.ant-pagination-options-size-changer.ant-select{display:inline-block;width:auto}.ant-pagination-options-quick-jumper{display:inline-block;height:32px;margin-left:8px;line-height:32px;vertical-align:top}.ant-pagination-options-quick-jumper input{position:relative;display:inline-block;width:100%;min-width:0;padding:4px 11px;color:rgba(0,0,0,.85);font-size:14px;line-height:1.5715;background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:2px;transition:all .3s;width:50px;height:32px;margin:0 8px}.ant-pagination-options-quick-jumper input::-moz-placeholder{opacity:1}.ant-pagination-options-quick-jumper input:-ms-input-placeholder{color:#bfbfbf}.ant-pagination-options-quick-jumper input::placeholder{color:#bfbfbf}.ant-pagination-options-quick-jumper input:-moz-placeholder-shown{text-overflow:ellipsis}.ant-pagination-options-quick-jumper input:-ms-input-placeholder{text-overflow:ellipsis}.ant-pagination-options-quick-jumper input:placeholder-shown{text-overflow:ellipsis}.ant-pagination-options-quick-jumper input:hover{border-color:#40a9ff;border-right-width:1px!important}.ant-pagination-options-quick-jumper input-focused,.ant-pagination-options-quick-jumper input:focus{border-color:#40a9ff;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(24,144,255,.2)}.ant-pagination-options-quick-jumper input-disabled{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-pagination-options-quick-jumper input-disabled:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-pagination-options-quick-jumper input[disabled]{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-pagination-options-quick-jumper input[disabled]:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-pagination-options-quick-jumper input-borderless,.ant-pagination-options-quick-jumper input-borderless-disabled,.ant-pagination-options-quick-jumper input-borderless-focused,.ant-pagination-options-quick-jumper input-borderless:focus,.ant-pagination-options-quick-jumper input-borderless:hover,.ant-pagination-options-quick-jumper input-borderless[disabled]{background-color:transparent;border:none;box-shadow:none}textarea.ant-pagination-options-quick-jumper input{max-width:100%;height:auto;min-height:32px;line-height:1.5715;vertical-align:bottom;transition:all .3s,height 0s}.ant-pagination-options-quick-jumper input-lg{padding:6.5px 11px;font-size:16px}.ant-pagination-options-quick-jumper input-sm{padding:0 7px}.ant-pagination-simple .ant-pagination-next,.ant-pagination-simple .ant-pagination-prev{height:24px;line-height:24px;vertical-align:top}.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link,.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link{height:24px;background-color:transparent;border:0}.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link:after,.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link:after{height:24px;line-height:24px}.ant-pagination-simple .ant-pagination-simple-pager{display:inline-block;height:24px;margin-right:8px}.ant-pagination-simple .ant-pagination-simple-pager input{box-sizing:border-box;height:100%;margin-right:8px;padding:0 6px;text-align:center;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;outline:none;transition:border-color .3s}.ant-pagination-simple .ant-pagination-simple-pager input:hover{border-color:#1890ff}.ant-pagination-simple .ant-pagination-simple-pager input[disabled]{color:rgba(0,0,0,.25);background:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.ant-pagination.mini .ant-pagination-simple-pager,.ant-pagination.mini .ant-pagination-total-text{height:24px;line-height:24px}.ant-pagination.mini .ant-pagination-item{min-width:24px;height:24px;margin:0;line-height:22px}.ant-pagination.mini .ant-pagination-item:not(.ant-pagination-item-active){background:transparent;border-color:transparent}.ant-pagination.mini .ant-pagination-next,.ant-pagination.mini .ant-pagination-prev{min-width:24px;height:24px;margin:0;line-height:24px}.ant-pagination.mini .ant-pagination-next .ant-pagination-item-link,.ant-pagination.mini .ant-pagination-prev .ant-pagination-item-link{background:transparent;border-color:transparent}.ant-pagination.mini .ant-pagination-next .ant-pagination-item-link:after,.ant-pagination.mini .ant-pagination-prev .ant-pagination-item-link:after{height:24px;line-height:24px}.ant-pagination.mini .ant-pagination-jump-next,.ant-pagination.mini .ant-pagination-jump-prev{height:24px;margin-right:0;line-height:24px}.ant-pagination.mini .ant-pagination-options{margin-left:2px}.ant-pagination.mini .ant-pagination-options-size-changer{top:0}.ant-pagination.mini .ant-pagination-options-quick-jumper{height:24px;line-height:24px}.ant-pagination.mini .ant-pagination-options-quick-jumper input{padding:0 7px;width:44px;height:24px}.ant-pagination.ant-pagination-disabled{cursor:not-allowed}.ant-pagination.ant-pagination-disabled .ant-pagination-item{background:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.ant-pagination.ant-pagination-disabled .ant-pagination-item a{color:rgba(0,0,0,.25);background:transparent;border:none;cursor:not-allowed}.ant-pagination.ant-pagination-disabled .ant-pagination-item-active{background:#e6e6e6}.ant-pagination.ant-pagination-disabled .ant-pagination-item-active a{color:rgba(0,0,0,.25)}.ant-pagination.ant-pagination-disabled .ant-pagination-item-link{color:rgba(0,0,0,.25);background:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.ant-pagination-simple.ant-pagination.ant-pagination-disabled .ant-pagination-item-link{background:transparent}.ant-pagination.ant-pagination-disabled .ant-pagination-item-link-icon{opacity:0}.ant-pagination.ant-pagination-disabled .ant-pagination-item-ellipsis{opacity:1}.ant-pagination.ant-pagination-disabled .ant-pagination-simple-pager{color:rgba(0,0,0,.25)}@media only screen and (max-width:992px){.ant-pagination-item-after-jump-prev,.ant-pagination-item-before-jump-next{display:none}}@media only screen and (max-width:576px){.ant-pagination-options{display:none}}.ant-pagination-rtl .ant-pagination-item,.ant-pagination-rtl .ant-pagination-jump-next,.ant-pagination-rtl .ant-pagination-jump-prev,.ant-pagination-rtl .ant-pagination-prev,.ant-pagination-rtl .ant-pagination-total-text{margin-right:0;margin-left:8px}.ant-pagination-rtl .ant-pagination-slash{margin:0 5px 0 10px}.ant-pagination-rtl .ant-pagination-options{margin-right:16px;margin-left:0}.ant-pagination-rtl .ant-pagination-options .ant-pagination-options-size-changer.ant-select{margin-right:0;margin-left:8px}.ant-pagination-rtl .ant-pagination-options .ant-pagination-options-quick-jumper{margin-left:0}.ant-pagination-rtl.ant-pagination-simple .ant-pagination-simple-pager,.ant-pagination-rtl.ant-pagination-simple .ant-pagination-simple-pager input{margin-right:0;margin-left:8px}.ant-pagination-rtl.ant-pagination.mini .ant-pagination-options{margin-right:2px;margin-left:0}.ant-popconfirm{z-index:1060}.ant-popover{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:absolute;top:0;left:0;z-index:1030;font-weight:400;white-space:normal;text-align:left;cursor:auto;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.ant-popover:after{position:absolute;background:hsla(0,0%,100%,.01);content:""}.ant-popover-hidden{display:none}.ant-popover-placement-top,.ant-popover-placement-topLeft,.ant-popover-placement-topRight{padding-bottom:10px}.ant-popover-placement-right,.ant-popover-placement-rightBottom,.ant-popover-placement-rightTop{padding-left:10px}.ant-popover-placement-bottom,.ant-popover-placement-bottomLeft,.ant-popover-placement-bottomRight{padding-top:10px}.ant-popover-placement-left,.ant-popover-placement-leftBottom,.ant-popover-placement-leftTop{padding-right:10px}.ant-popover-inner{background-color:#fff;background-clip:padding-box;border-radius:2px;box-shadow:0 3px 6px -4px rgba(0,0,0,.12),0 6px 16px 0 rgba(0,0,0,.08),0 9px 28px 8px rgba(0,0,0,.05);box-shadow:0 0 8px rgba(0,0,0,.15)\\9}@media (-ms-high-contrast:none),screen and (-ms-high-contrast:active){.ant-popover-inner{box-shadow:0 3px 6px -4px rgba(0,0,0,.12),0 6px 16px 0 rgba(0,0,0,.08),0 9px 28px 8px rgba(0,0,0,.05)}}.ant-popover-title{min-width:177px;min-height:32px;margin:0;padding:5px 16px 4px;color:rgba(0,0,0,.85);font-weight:500;border-bottom:1px solid #f0f0f0}.ant-popover-inner-content{padding:12px 16px;color:rgba(0,0,0,.85)}.ant-popover-message{position:relative;padding:4px 0 12px;color:rgba(0,0,0,.85);font-size:14px}.ant-popover-message>.anticon{position:absolute;top:8.0005px;color:#faad14;font-size:14px}.ant-popover-message-title{padding-left:22px}.ant-popover-buttons{margin-bottom:4px;text-align:right}.ant-popover-buttons button{margin-left:8px}.ant-popover-arrow{position:absolute;display:block;width:8.48528137px;height:8.48528137px;overflow:hidden;background:transparent;pointer-events:none}.ant-popover-arrow-content{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:6px;height:6px;margin:auto;background-color:#fff;content:"";pointer-events:auto}.ant-popover-placement-top .ant-popover-arrow,.ant-popover-placement-topLeft .ant-popover-arrow,.ant-popover-placement-topRight .ant-popover-arrow{bottom:1.51471863px}.ant-popover-placement-top .ant-popover-arrow-content,.ant-popover-placement-topLeft .ant-popover-arrow-content,.ant-popover-placement-topRight .ant-popover-arrow-content{box-shadow:3px 3px 7px rgba(0,0,0,.07);transform:translateY(-4.24264069px) rotate(45deg)}.ant-popover-placement-top .ant-popover-arrow{left:50%;transform:translateX(-50%)}.ant-popover-placement-topLeft .ant-popover-arrow{left:16px}.ant-popover-placement-topRight .ant-popover-arrow{right:16px}.ant-popover-placement-right .ant-popover-arrow,.ant-popover-placement-rightBottom .ant-popover-arrow,.ant-popover-placement-rightTop .ant-popover-arrow{left:1.51471863px}.ant-popover-placement-right .ant-popover-arrow-content,.ant-popover-placement-rightBottom .ant-popover-arrow-content,.ant-popover-placement-rightTop .ant-popover-arrow-content{box-shadow:-3px 3px 7px rgba(0,0,0,.07);transform:translateX(4.24264069px) rotate(45deg)}.ant-popover-placement-right .ant-popover-arrow{top:50%;transform:translateY(-50%)}.ant-popover-placement-rightTop .ant-popover-arrow{top:12px}.ant-popover-placement-rightBottom .ant-popover-arrow{bottom:12px}.ant-popover-placement-bottom .ant-popover-arrow,.ant-popover-placement-bottomLeft .ant-popover-arrow,.ant-popover-placement-bottomRight .ant-popover-arrow{top:1.51471863px}.ant-popover-placement-bottom .ant-popover-arrow-content,.ant-popover-placement-bottomLeft .ant-popover-arrow-content,.ant-popover-placement-bottomRight .ant-popover-arrow-content{box-shadow:-2px -2px 5px rgba(0,0,0,.06);transform:translateY(4.24264069px) rotate(45deg)}.ant-popover-placement-bottom .ant-popover-arrow{left:50%;transform:translateX(-50%)}.ant-popover-placement-bottomLeft .ant-popover-arrow{left:16px}.ant-popover-placement-bottomRight .ant-popover-arrow{right:16px}.ant-popover-placement-left .ant-popover-arrow,.ant-popover-placement-leftBottom .ant-popover-arrow,.ant-popover-placement-leftTop .ant-popover-arrow{right:1.51471863px}.ant-popover-placement-left .ant-popover-arrow-content,.ant-popover-placement-leftBottom .ant-popover-arrow-content,.ant-popover-placement-leftTop .ant-popover-arrow-content{box-shadow:3px -3px 7px rgba(0,0,0,.07);transform:translateX(-4.24264069px) rotate(45deg)}.ant-popover-placement-left .ant-popover-arrow{top:50%;transform:translateY(-50%)}.ant-popover-placement-leftTop .ant-popover-arrow{top:12px}.ant-popover-placement-leftBottom .ant-popover-arrow{bottom:12px}.ant-popover-magenta .ant-popover-arrow-content,.ant-popover-magenta .ant-popover-inner,.ant-popover-pink .ant-popover-arrow-content,.ant-popover-pink .ant-popover-inner{background-color:#eb2f96}.ant-popover-red .ant-popover-arrow-content,.ant-popover-red .ant-popover-inner{background-color:#f5222d}.ant-popover-volcano .ant-popover-arrow-content,.ant-popover-volcano .ant-popover-inner{background-color:#fa541c}.ant-popover-orange .ant-popover-arrow-content,.ant-popover-orange .ant-popover-inner{background-color:#fa8c16}.ant-popover-yellow .ant-popover-arrow-content,.ant-popover-yellow .ant-popover-inner{background-color:#fadb14}.ant-popover-gold .ant-popover-arrow-content,.ant-popover-gold .ant-popover-inner{background-color:#faad14}.ant-popover-cyan .ant-popover-arrow-content,.ant-popover-cyan .ant-popover-inner{background-color:#13c2c2}.ant-popover-lime .ant-popover-arrow-content,.ant-popover-lime .ant-popover-inner{background-color:#a0d911}.ant-popover-green .ant-popover-arrow-content,.ant-popover-green .ant-popover-inner{background-color:#52c41a}.ant-popover-blue .ant-popover-arrow-content,.ant-popover-blue .ant-popover-inner{background-color:#1890ff}.ant-popover-geekblue .ant-popover-arrow-content,.ant-popover-geekblue .ant-popover-inner{background-color:#2f54eb}.ant-popover-purple .ant-popover-arrow-content,.ant-popover-purple .ant-popover-inner{background-color:#722ed1}.ant-popover-rtl{direction:rtl;text-align:right}.ant-popover-rtl .ant-popover-message-title{padding-right:22px;padding-left:16px}.ant-popover-rtl .ant-popover-buttons{text-align:left}.ant-popover-rtl .ant-popover-buttons button{margin-right:8px;margin-left:0}.ant-progress{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";display:inline-block}.ant-progress-line{position:relative;width:100%;font-size:14px}.ant-progress-steps{display:inline-block}.ant-progress-steps-outer{display:flex;flex-direction:row;align-items:center}.ant-progress-steps-item{flex-shrink:0;min-width:2px;margin-right:2px;background:#f3f3f3;transition:all .3s}.ant-progress-steps-item-active{background:#1890ff}.ant-progress-small.ant-progress-line,.ant-progress-small.ant-progress-line .ant-progress-text .anticon{font-size:12px}.ant-progress-outer{display:inline-block;width:100%;margin-right:0;padding-right:0}.ant-progress-show-info .ant-progress-outer{margin-right:calc(-2em - 8px);padding-right:calc(2em + 8px)}.ant-progress-inner{position:relative;display:inline-block;width:100%;overflow:hidden;vertical-align:middle;background-color:#f5f5f5;border-radius:100px}.ant-progress-circle-trail{stroke:#f5f5f5}.ant-progress-circle-path{-webkit-animation:ant-progress-appear .3s;animation:ant-progress-appear .3s}.ant-progress-inner:not(.ant-progress-circle-gradient) .ant-progress-circle-path{stroke:#1890ff}.ant-progress-bg,.ant-progress-success-bg{position:relative;background-color:#1890ff;border-radius:100px;transition:all .4s cubic-bezier(.08,.82,.17,1) 0s}.ant-progress-success-bg{position:absolute;top:0;left:0;background-color:#52c41a}.ant-progress-text{display:inline-block;width:2em;margin-left:8px;color:rgba(0,0,0,.85);font-size:1em;line-height:1;white-space:nowrap;text-align:left;vertical-align:middle;word-break:normal}.ant-progress-text .anticon{font-size:14px}.ant-progress-status-active .ant-progress-bg:before{position:absolute;top:0;right:0;bottom:0;left:0;background:#fff;border-radius:10px;opacity:0;-webkit-animation:ant-progress-active 2.4s cubic-bezier(.23,1,.32,1) infinite;animation:ant-progress-active 2.4s cubic-bezier(.23,1,.32,1) infinite;content:""}.ant-progress-status-exception .ant-progress-bg{background-color:#ff4d4f}.ant-progress-status-exception .ant-progress-text{color:#ff4d4f}.ant-progress-status-exception .ant-progress-inner:not(.ant-progress-circle-gradient) .ant-progress-circle-path{stroke:#ff4d4f}.ant-progress-status-success .ant-progress-bg{background-color:#52c41a}.ant-progress-status-success .ant-progress-text{color:#52c41a}.ant-progress-status-success .ant-progress-inner:not(.ant-progress-circle-gradient) .ant-progress-circle-path{stroke:#52c41a}.ant-progress-circle .ant-progress-inner{position:relative;line-height:1;background-color:transparent}.ant-progress-circle .ant-progress-text{position:absolute;top:50%;left:50%;width:100%;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:1em;line-height:1;white-space:normal;text-align:center;transform:translate(-50%,-50%)}.ant-progress-circle .ant-progress-text .anticon{font-size:1.16666667em}.ant-progress-circle.ant-progress-status-exception .ant-progress-text{color:#ff4d4f}.ant-progress-circle.ant-progress-status-success .ant-progress-text{color:#52c41a}@-webkit-keyframes ant-progress-active{0%{transform:translateX(-100%) scaleX(0);opacity:.1}20%{transform:translateX(-100%) scaleX(0);opacity:.5}to{transform:translateX(0) scaleX(1);opacity:0}}@keyframes ant-progress-active{0%{transform:translateX(-100%) scaleX(0);opacity:.1}20%{transform:translateX(-100%) scaleX(0);opacity:.5}to{transform:translateX(0) scaleX(1);opacity:0}}.ant-progress-rtl{direction:rtl}.ant-progress-rtl.ant-progress-show-info .ant-progress-outer{margin-right:0;margin-left:calc(-2em - 8px);padding-right:0;padding-left:calc(2em + 8px)}.ant-progress-rtl .ant-progress-success-bg{right:0;left:auto}.ant-progress-rtl.ant-progress-line .ant-progress-text,.ant-progress-rtl.ant-progress-steps .ant-progress-text{margin-right:8px;margin-left:0;text-align:right}.ant-radio-group{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";display:inline-block;font-size:0}.ant-radio-group .ant-badge-count{z-index:1}.ant-radio-group>.ant-badge:not(:first-child)>.ant-radio-button-wrapper{border-left:none}.ant-radio-wrapper{box-sizing:border-box;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-flex;align-items:baseline;margin:0 8px 0 0;cursor:pointer}.ant-radio-wrapper:after{display:inline-block;width:0;overflow:hidden;content:"\\a0"}.ant-radio{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;top:.2em;display:inline-block;outline:none;cursor:pointer}.ant-radio-input:focus+.ant-radio-inner,.ant-radio-wrapper:hover .ant-radio,.ant-radio:hover .ant-radio-inner{border-color:#1890ff}.ant-radio-input:focus+.ant-radio-inner{box-shadow:0 0 0 3px rgba(24,144,255,.08)}.ant-radio-checked:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #1890ff;border-radius:50%;visibility:hidden;-webkit-animation:antRadioEffect .36s ease-in-out;animation:antRadioEffect .36s ease-in-out;-webkit-animation-fill-mode:both;animation-fill-mode:both;content:""}.ant-radio-wrapper:hover .ant-radio:after,.ant-radio:hover:after{visibility:visible}.ant-radio-inner{position:relative;top:0;left:0;display:block;width:16px;height:16px;background-color:#fff;border:1px solid #d9d9d9;border-radius:50%;transition:all .3s}.ant-radio-inner:after{position:absolute;top:3px;left:3px;display:block;width:8px;height:8px;background-color:#1890ff;border-top:0;border-left:0;border-radius:8px;transform:scale(0);opacity:0;transition:all .3s cubic-bezier(.78,.14,.15,.86);content:" "}.ant-radio-input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;cursor:pointer;opacity:0}.ant-radio-checked .ant-radio-inner{border-color:#1890ff}.ant-radio-checked .ant-radio-inner:after{transform:scale(1);opacity:1;transition:all .3s cubic-bezier(.78,.14,.15,.86)}.ant-radio-disabled{cursor:not-allowed}.ant-radio-disabled .ant-radio-inner{background-color:#f5f5f5;border-color:#d9d9d9!important;cursor:not-allowed}.ant-radio-disabled .ant-radio-inner:after{background-color:rgba(0,0,0,.2)}.ant-radio-disabled .ant-radio-input{cursor:not-allowed}.ant-radio-disabled+span{color:rgba(0,0,0,.25);cursor:not-allowed}span.ant-radio+*{padding-right:8px;padding-left:8px}.ant-radio-button-wrapper{position:relative;display:inline-block;height:32px;margin:0;padding:0 15px;color:rgba(0,0,0,.85);font-size:14px;line-height:30px;background:#fff;border-color:#d9d9d9;border-style:solid;border-width:1.02px 1px 1px 0;cursor:pointer;transition:color .3s,background .3s,border-color .3s,box-shadow .3s}.ant-radio-button-wrapper a{color:rgba(0,0,0,.85)}.ant-radio-button-wrapper>.ant-radio-button{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%}.ant-radio-group-large .ant-radio-button-wrapper{height:40px;font-size:16px;line-height:38px}.ant-radio-group-small .ant-radio-button-wrapper{height:24px;padding:0 7px;line-height:22px}.ant-radio-button-wrapper:not(:first-child):before{position:absolute;top:-1px;left:-1px;display:block;box-sizing:content-box;width:1px;height:100%;padding:1px 0;background-color:#d9d9d9;transition:background-color .3s;content:""}.ant-radio-button-wrapper:first-child{border-left:1px solid #d9d9d9;border-radius:2px 0 0 2px}.ant-radio-button-wrapper:last-child{border-radius:0 2px 2px 0}.ant-radio-button-wrapper:first-child:last-child{border-radius:2px}.ant-radio-button-wrapper:hover{position:relative;color:#1890ff}.ant-radio-button-wrapper:focus-within{box-shadow:0 0 0 3px rgba(24,144,255,.08)}.ant-radio-button-wrapper .ant-radio-inner,.ant-radio-button-wrapper input[type=checkbox],.ant-radio-button-wrapper input[type=radio]{width:0;height:0;opacity:0;pointer-events:none}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled){z-index:1;color:#1890ff;background:#fff;border-color:#1890ff}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):before{background-color:#1890ff}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):first-child{border-color:#1890ff}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover{color:#40a9ff;border-color:#40a9ff}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover:before{background-color:#40a9ff}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active{color:#096dd9;border-color:#096dd9}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active:before{background-color:#096dd9}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within{box-shadow:0 0 0 3px rgba(24,144,255,.08)}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled){color:#fff;background:#1890ff;border-color:#1890ff}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover{color:#fff;background:#40a9ff;border-color:#40a9ff}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active{color:#fff;background:#096dd9;border-color:#096dd9}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within{box-shadow:0 0 0 3px rgba(24,144,255,.08)}.ant-radio-button-wrapper-disabled{cursor:not-allowed}.ant-radio-button-wrapper-disabled,.ant-radio-button-wrapper-disabled:first-child,.ant-radio-button-wrapper-disabled:hover{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9}.ant-radio-button-wrapper-disabled:first-child{border-left-color:#d9d9d9}.ant-radio-button-wrapper-disabled.ant-radio-button-wrapper-checked{color:rgba(0,0,0,.25);background-color:#e6e6e6;border-color:#d9d9d9;box-shadow:none}@-webkit-keyframes antRadioEffect{0%{transform:scale(1);opacity:.5}to{transform:scale(1.6);opacity:0}}@keyframes antRadioEffect{0%{transform:scale(1);opacity:.5}to{transform:scale(1.6);opacity:0}}.ant-radio-group.ant-radio-group-rtl{direction:rtl}.ant-radio-wrapper.ant-radio-wrapper-rtl{margin-right:0;margin-left:8px;direction:rtl}.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl{border-right-width:0;border-left-width:1px}.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper:not(:first-child):before{right:-1px;left:0}.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper:first-child{border-right:1px solid #d9d9d9;border-radius:0 2px 2px 0}.ant-radio-button-wrapper-checked:not([class*=" ant-radio-button-wrapper-disabled"]).ant-radio-button-wrapper:first-child{border-right-color:#40a9ff}.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper:last-child{border-radius:2px 0 0 2px}.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper-disabled:first-child{border-right-color:#d9d9d9}.ant-rate{box-sizing:border-box;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;font-feature-settings:"tnum";display:inline-block;margin:0;padding:0;color:#fadb14;font-size:20px;line-height:unset;list-style:none;outline:none}.ant-rate-disabled .ant-rate-star{cursor:default}.ant-rate-disabled .ant-rate-star:hover{transform:scale(1)}.ant-rate-star{position:relative;display:inline-block;color:inherit;cursor:pointer}.ant-rate-star:not(:last-child){margin-right:8px}.ant-rate-star>div{transition:all .3s,outline 0s}.ant-rate-star>div:focus-visible,.ant-rate-star>div:hover{transform:scale(1.1)}.ant-rate-star>div:focus{outline:0}.ant-rate-star>div:focus-visible{outline:1px dashed #fadb14}.ant-rate-star-first,.ant-rate-star-second{color:#f0f0f0;transition:all .3s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-rate-star-first .anticon,.ant-rate-star-second .anticon{vertical-align:middle}.ant-rate-star-first{position:absolute;top:0;left:0;width:50%;height:100%;overflow:hidden;opacity:0}.ant-rate-star-half .ant-rate-star-first,.ant-rate-star-half .ant-rate-star-second{opacity:1}.ant-rate-star-full .ant-rate-star-second,.ant-rate-star-half .ant-rate-star-first{color:inherit}.ant-rate-text{display:inline-block;margin:0 8px;font-size:14px}.ant-rate-rtl{direction:rtl}.ant-rate-rtl .ant-rate-star:not(:last-child){margin-right:0;margin-left:8px}.ant-rate-rtl .ant-rate-star-first{right:0;left:auto}.ant-result{padding:48px 32px}.ant-result-success .ant-result-icon>.anticon{color:#52c41a}.ant-result-error .ant-result-icon>.anticon{color:#ff4d4f}.ant-result-info .ant-result-icon>.anticon{color:#1890ff}.ant-result-warning .ant-result-icon>.anticon{color:#faad14}.ant-result-image{width:250px;height:295px;margin:auto}.ant-result-icon{margin-bottom:24px;text-align:center}.ant-result-icon>.anticon{font-size:72px}.ant-result-title{color:rgba(0,0,0,.85);font-size:24px;line-height:1.8;text-align:center}.ant-result-subtitle{color:rgba(0,0,0,.45);font-size:14px;line-height:1.6;text-align:center}.ant-result-extra{margin:24px 0 0;text-align:center}.ant-result-extra>*{margin-right:8px}.ant-result-extra>:last-child{margin-right:0}.ant-result-content{margin-top:24px;padding:24px 40px;background-color:#fafafa}.ant-result-rtl{direction:rtl}.ant-result-rtl .ant-result-extra>*{margin-right:0;margin-left:8px}.ant-result-rtl .ant-result-extra>:last-child{margin-left:0}.ant-select-single .ant-select-selector{display:flex}.ant-select-single .ant-select-selector .ant-select-selection-search{position:absolute;top:0;right:11px;bottom:0;left:11px}.ant-select-single .ant-select-selector .ant-select-selection-search-input{width:100%}.ant-select-single .ant-select-selector .ant-select-selection-item,.ant-select-single .ant-select-selector .ant-select-selection-placeholder{padding:0;line-height:30px;transition:all .3s}@supports (-moz-appearance:meterbar){.ant-select-single .ant-select-selector .ant-select-selection-item,.ant-select-single .ant-select-selector .ant-select-selection-placeholder{line-height:30px}}.ant-select-single .ant-select-selector .ant-select-selection-item{position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-select-single .ant-select-selector .ant-select-selection-placeholder{pointer-events:none}.ant-select-single .ant-select-selector .ant-select-selection-item:after,.ant-select-single .ant-select-selector .ant-select-selection-placeholder:after,.ant-select-single .ant-select-selector:after{display:inline-block;width:0;visibility:hidden;content:"\\a0"}.ant-select-single.ant-select-show-arrow .ant-select-selection-search{right:25px}.ant-select-single.ant-select-show-arrow .ant-select-selection-item,.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder{padding-right:18px}.ant-select-single.ant-select-open .ant-select-selection-item{color:#bfbfbf}.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{width:100%;height:32px;padding:0 11px}.ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input{height:30px}.ant-select-single:not(.ant-select-customize-input) .ant-select-selector:after{line-height:30px}.ant-select-single.ant-select-customize-input .ant-select-selector:after{display:none}.ant-select-single.ant-select-customize-input .ant-select-selector .ant-select-selection-search{position:static;width:100%}.ant-select-single.ant-select-customize-input .ant-select-selector .ant-select-selection-placeholder{position:absolute;right:0;left:0;padding:0 11px}.ant-select-single.ant-select-customize-input .ant-select-selector .ant-select-selection-placeholder:after{display:none}.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector{height:40px}.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-item,.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder,.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector:after{line-height:38px}.ant-select-single.ant-select-lg:not(.ant-select-customize-input):not(.ant-select-customize-input) .ant-select-selection-search-input{height:38px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector{height:24px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-item,.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder,.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector:after{line-height:22px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input):not(.ant-select-customize-input) .ant-select-selection-search-input{height:22px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selection-search{right:7px;left:7px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector{padding:0 7px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-search{right:28px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-item,.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-placeholder{padding-right:21px}.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector{padding:0 11px}.ant-select-selection-overflow{position:relative;display:flex;flex:auto;flex-wrap:wrap;max-width:100%}.ant-select-selection-overflow-item{flex:none;align-self:center;max-width:100%}.ant-select-multiple .ant-select-selector{display:flex;flex-wrap:wrap;align-items:center;padding:1px 4px}.ant-select-show-search.ant-select-multiple .ant-select-selector{cursor:text}.ant-select-disabled.ant-select-multiple .ant-select-selector{background:#f5f5f5;cursor:not-allowed}.ant-select-multiple .ant-select-selector:after{display:inline-block;width:0;margin:2px 0;line-height:24px;content:"\\a0"}.ant-select-multiple.ant-select-allow-clear .ant-select-selector,.ant-select-multiple.ant-select-show-arrow .ant-select-selector{padding-right:24px}.ant-select-multiple .ant-select-selection-item{position:relative;display:flex;flex:none;box-sizing:border-box;max-width:100%;height:24px;margin-top:2px;margin-bottom:2px;line-height:22px;background:#f5f5f5;border:1px solid #f0f0f0;border-radius:2px;cursor:default;transition:font-size .3s,line-height .3s,height .3s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-margin-end:4px;margin-inline-end:4px;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:4px;padding-inline-end:4px}.ant-select-disabled.ant-select-multiple .ant-select-selection-item{color:#bfbfbf;border-color:#d9d9d9;cursor:not-allowed}.ant-select-multiple .ant-select-selection-item-content{display:inline-block;margin-right:4px;overflow:hidden;white-space:pre;text-overflow:ellipsis}.ant-select-multiple .ant-select-selection-item-remove{color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;color:rgba(0,0,0,.45);font-weight:700;font-size:10px;line-height:inherit;cursor:pointer}.ant-select-multiple .ant-select-selection-item-remove>*{line-height:1}.ant-select-multiple .ant-select-selection-item-remove svg{display:inline-block}.ant-select-multiple .ant-select-selection-item-remove:before{display:none}.ant-select-multiple .ant-select-selection-item-remove .ant-select-multiple .ant-select-selection-item-remove-icon{display:block}.ant-select-multiple .ant-select-selection-item-remove>.anticon{vertical-align:-.2em}.ant-select-multiple .ant-select-selection-item-remove:hover{color:rgba(0,0,0,.75)}.ant-select-multiple .ant-select-selection-overflow-item+.ant-select-selection-overflow-item .ant-select-selection-search{-webkit-margin-start:0;margin-inline-start:0}.ant-select-multiple .ant-select-selection-search{position:relative;max-width:100%;margin-top:2px;margin-bottom:2px;-webkit-margin-start:7px;margin-inline-start:7px}.ant-select-multiple .ant-select-selection-search-input,.ant-select-multiple .ant-select-selection-search-mirror{height:24px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:24px;transition:all .3s}.ant-select-multiple .ant-select-selection-search-input{width:100%;min-width:4.1px}.ant-select-multiple .ant-select-selection-search-mirror{position:absolute;top:0;left:0;z-index:999;white-space:pre;visibility:hidden}.ant-select-multiple .ant-select-selection-placeholder{position:absolute;top:50%;right:11px;left:11px;transform:translateY(-50%);transition:all .3s}.ant-select-multiple.ant-select-lg .ant-select-selector:after{line-height:32px}.ant-select-multiple.ant-select-lg .ant-select-selection-item{line-height:30px}.ant-select-multiple.ant-select-lg .ant-select-selection-search{height:32px;line-height:32px}.ant-select-multiple.ant-select-lg .ant-select-selection-search-input,.ant-select-multiple.ant-select-lg .ant-select-selection-search-mirror{height:32px;line-height:30px}.ant-select-multiple.ant-select-sm .ant-select-selector:after{line-height:16px}.ant-select-multiple.ant-select-sm .ant-select-selection-item{height:16px;line-height:14px}.ant-select-multiple.ant-select-sm .ant-select-selection-search{height:16px;line-height:16px}.ant-select-multiple.ant-select-sm .ant-select-selection-search-input,.ant-select-multiple.ant-select-sm .ant-select-selection-search-mirror{height:16px;line-height:14px}.ant-select-multiple.ant-select-sm .ant-select-selection-placeholder{left:7px}.ant-select-multiple.ant-select-sm .ant-select-selection-search{-webkit-margin-start:3px;margin-inline-start:3px}.ant-select-multiple.ant-select-lg .ant-select-selection-item{height:32px;line-height:32px}.ant-select-disabled .ant-select-selection-item-remove{display:none}.ant-select{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-block;cursor:pointer}.ant-select:not(.ant-select-customize-input) .ant-select-selector{position:relative;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-select:not(.ant-select-customize-input) .ant-select-selector input{cursor:pointer}.ant-select-show-search.ant-select:not(.ant-select-customize-input) .ant-select-selector{cursor:text}.ant-select-show-search.ant-select:not(.ant-select-customize-input) .ant-select-selector input{cursor:auto}.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector{border-color:#40a9ff;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(24,144,255,.2)}.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector{color:rgba(0,0,0,.25);background:#f5f5f5;cursor:not-allowed}.ant-select-multiple.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector{background:#f5f5f5}.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector input{cursor:not-allowed}.ant-select:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input{margin:0;padding:0;background:transparent;border:none;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.ant-select:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input::-webkit-search-cancel-button{display:none;-webkit-appearance:none}.ant-select:not(.ant-select-disabled):hover .ant-select-selector{border-color:#40a9ff;border-right-width:1px!important}.ant-select-selection-item{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}@media (-ms-high-contrast:none){.ant-select-selection-item,.ant-select-selection-item ::-ms-backdrop{flex:auto}}.ant-select-selection-placeholder{flex:1;overflow:hidden;color:#bfbfbf;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}@media (-ms-high-contrast:none){.ant-select-selection-placeholder,.ant-select-selection-placeholder ::-ms-backdrop{flex:auto}}.ant-select-arrow{display:inline-block;color:inherit;font-style:normal;line-height:0;text-transform:none;vertical-align:-.125em;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:50%;right:11px;width:12px;height:12px;margin-top:-6px;color:rgba(0,0,0,.25);font-size:12px;line-height:1;text-align:center;pointer-events:none}.ant-select-arrow>*{line-height:1}.ant-select-arrow svg{display:inline-block}.ant-select-arrow:before{display:none}.ant-select-arrow .ant-select-arrow-icon{display:block}.ant-select-arrow .anticon{vertical-align:top;transition:transform .3s}.ant-select-arrow .anticon>svg{vertical-align:top}.ant-select-arrow .anticon:not(.ant-select-suffix){pointer-events:auto}.ant-select-disabled .ant-select-arrow{cursor:not-allowed}.ant-select-clear{position:absolute;top:50%;right:11px;z-index:1;display:inline-block;width:12px;height:12px;margin-top:-6px;color:rgba(0,0,0,.25);font-size:12px;font-style:normal;line-height:1;text-align:center;text-transform:none;background:#fff;cursor:pointer;opacity:0;transition:color .3s ease,opacity .15s ease;text-rendering:auto}.ant-select-clear:before{display:block}.ant-select-clear:hover{color:rgba(0,0,0,.45)}.ant-select:hover .ant-select-clear{opacity:1}.ant-select-dropdown{margin:0;color:rgba(0,0,0,.85);font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:absolute;top:-9999px;left:-9999px;z-index:1050;box-sizing:border-box;padding:4px 0;overflow:hidden;font-size:14px;font-variant:normal;background-color:#fff;border-radius:2px;outline:none;box-shadow:0 3px 6px -4px rgba(0,0,0,.12),0 6px 16px 0 rgba(0,0,0,.08),0 9px 28px 8px rgba(0,0,0,.05)}.ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-bottomLeft,.ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-bottomLeft{-webkit-animation-name:antSlideUpIn;animation-name:antSlideUpIn}.ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-topLeft,.ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-topLeft{-webkit-animation-name:antSlideDownIn;animation-name:antSlideDownIn}.ant-select-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-select-dropdown-placement-bottomLeft{-webkit-animation-name:antSlideUpOut;animation-name:antSlideUpOut}.ant-select-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-select-dropdown-placement-topLeft{-webkit-animation-name:antSlideDownOut;animation-name:antSlideDownOut}.ant-select-dropdown-hidden{display:none}.ant-select-dropdown-empty{color:rgba(0,0,0,.25)}.ant-select-item-empty{color:rgba(0,0,0,.85);color:rgba(0,0,0,.25)}.ant-select-item,.ant-select-item-empty{position:relative;display:block;min-height:32px;padding:5px 12px;font-weight:400;font-size:14px;line-height:22px}.ant-select-item{color:rgba(0,0,0,.85);cursor:pointer;transition:background .3s ease}.ant-select-item-group{color:rgba(0,0,0,.45);font-size:12px;cursor:default}.ant-select-item-option{display:flex}.ant-select-item-option-content{flex:auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-select-item-option-state{flex:none}.ant-select-item-option-active:not(.ant-select-item-option-disabled){background-color:#f5f5f5}.ant-select-item-option-selected:not(.ant-select-item-option-disabled){color:rgba(0,0,0,.85);font-weight:600;background-color:#e6f7ff}.ant-select-item-option-selected:not(.ant-select-item-option-disabled) .ant-select-item-option-state{color:#1890ff}.ant-select-item-option-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-select-item-option-disabled.ant-select-item-option-selected{background-color:#f5f5f5}.ant-select-item-option-grouped{padding-left:24px}.ant-select-lg{font-size:16px}.ant-select-borderless .ant-select-selector{background-color:transparent!important;border-color:transparent!important;box-shadow:none!important}.ant-select-rtl{direction:rtl}.ant-select-rtl .ant-select-arrow,.ant-select-rtl .ant-select-clear{right:auto;left:11px}.ant-select-dropdown-rtl{direction:rtl}.ant-select-dropdown-rtl .ant-select-item-option-grouped{padding-right:24px;padding-left:12px}.ant-select-rtl.ant-select-multiple.ant-select-allow-clear .ant-select-selector,.ant-select-rtl.ant-select-multiple.ant-select-show-arrow .ant-select-selector{padding-right:4px;padding-left:24px}.ant-select-rtl.ant-select-multiple .ant-select-selection-item{text-align:right}.ant-select-rtl.ant-select-multiple .ant-select-selection-item-content{margin-right:0;margin-left:4px;text-align:right}.ant-select-rtl.ant-select-multiple .ant-select-selection-search-mirror{right:0;left:auto}.ant-select-rtl.ant-select-multiple .ant-select-selection-placeholder{right:11px;left:auto}.ant-select-rtl.ant-select-multiple.ant-select-sm .ant-select-selection-placeholder{right:7px}.ant-select-rtl.ant-select-single .ant-select-selector .ant-select-selection-item,.ant-select-rtl.ant-select-single .ant-select-selector .ant-select-selection-placeholder{right:0;left:9px;text-align:right}.ant-select-rtl.ant-select-single.ant-select-show-arrow .ant-select-selection-search{right:11px;left:25px}.ant-select-rtl.ant-select-single.ant-select-show-arrow .ant-select-selection-item,.ant-select-rtl.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder{padding-right:0;padding-left:18px}.ant-select-rtl.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-search{right:6px}.ant-select-rtl.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-item,.ant-select-rtl.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-placeholder{padding-right:0;padding-left:21px}.ant-skeleton{display:table;width:100%}.ant-skeleton-header{display:table-cell;padding-right:16px;vertical-align:top}.ant-skeleton-header .ant-skeleton-avatar{display:inline-block;vertical-align:top;background:hsla(0,0%,74.5%,.2);width:32px;height:32px;line-height:32px}.ant-skeleton-header .ant-skeleton-avatar.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-header .ant-skeleton-avatar-lg{width:40px;height:40px;line-height:40px}.ant-skeleton-header .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-header .ant-skeleton-avatar-sm{width:24px;height:24px;line-height:24px}.ant-skeleton-header .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-content{display:table-cell;width:100%;vertical-align:top}.ant-skeleton-content .ant-skeleton-title{width:100%;height:16px;margin-top:16px;background:hsla(0,0%,74.5%,.2);border-radius:4px}.ant-skeleton-content .ant-skeleton-title+.ant-skeleton-paragraph{margin-top:24px}.ant-skeleton-content .ant-skeleton-paragraph{padding:0}.ant-skeleton-content .ant-skeleton-paragraph>li{width:100%;height:16px;list-style:none;background:hsla(0,0%,74.5%,.2);border-radius:4px}.ant-skeleton-content .ant-skeleton-paragraph>li:last-child:not(:first-child):not(:nth-child(2)){width:61%}.ant-skeleton-content .ant-skeleton-paragraph>li+li{margin-top:16px}.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title{margin-top:12px}.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title+.ant-skeleton-paragraph{margin-top:28px}.ant-skeleton-round .ant-skeleton-content .ant-skeleton-paragraph>li,.ant-skeleton-round .ant-skeleton-content .ant-skeleton-title{border-radius:100px}.ant-skeleton.ant-skeleton-active .ant-skeleton-avatar,.ant-skeleton.ant-skeleton-active .ant-skeleton-button,.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-paragraph>li,.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-title,.ant-skeleton.ant-skeleton-active .ant-skeleton-image,.ant-skeleton.ant-skeleton-active .ant-skeleton-input{background:linear-gradient(90deg,hsla(0,0%,74.5%,.2) 25%,hsla(0,0%,50.6%,.24) 37%,hsla(0,0%,74.5%,.2) 63%);background-size:400% 100%;-webkit-animation:ant-skeleton-loading 1.4s ease infinite;animation:ant-skeleton-loading 1.4s ease infinite}.ant-skeleton-element{display:inline-block;width:auto}.ant-skeleton-element .ant-skeleton-button{display:inline-block;vertical-align:top;background:hsla(0,0%,74.5%,.2);border-radius:2px;width:64px;height:32px;line-height:32px}.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-circle{width:32px;border-radius:50%}.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-round{border-radius:32px}.ant-skeleton-element .ant-skeleton-button-lg{width:80px;height:40px;line-height:40px}.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-circle{width:40px;border-radius:50%}.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-round{border-radius:40px}.ant-skeleton-element .ant-skeleton-button-sm{width:48px;height:24px;line-height:24px}.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-circle{width:24px;border-radius:50%}.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-round{border-radius:24px}.ant-skeleton-element .ant-skeleton-avatar{display:inline-block;vertical-align:top;background:hsla(0,0%,74.5%,.2);width:32px;height:32px;line-height:32px}.ant-skeleton-element .ant-skeleton-avatar.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-element .ant-skeleton-avatar-lg{width:40px;height:40px;line-height:40px}.ant-skeleton-element .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-element .ant-skeleton-avatar-sm{width:24px;height:24px;line-height:24px}.ant-skeleton-element .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-element .ant-skeleton-input{display:inline-block;vertical-align:top;background:hsla(0,0%,74.5%,.2);width:100%;height:32px;line-height:32px}.ant-skeleton-element .ant-skeleton-input-lg{width:100%;height:40px;line-height:40px}.ant-skeleton-element .ant-skeleton-input-sm{width:100%;height:24px;line-height:24px}.ant-skeleton-element .ant-skeleton-image{display:flex;align-items:center;justify-content:center;vertical-align:top;background:hsla(0,0%,74.5%,.2);width:96px;height:96px;line-height:96px}.ant-skeleton-element .ant-skeleton-image.ant-skeleton-image-circle{border-radius:50%}.ant-skeleton-element .ant-skeleton-image-path{fill:#bfbfbf}.ant-skeleton-element .ant-skeleton-image-svg{width:48px;height:48px;line-height:48px;max-width:192px;max-height:192px}.ant-skeleton-element .ant-skeleton-image-svg.ant-skeleton-image-circle{border-radius:50%}@-webkit-keyframes ant-skeleton-loading{0%{background-position:100% 50%}to{background-position:0 50%}}@keyframes ant-skeleton-loading{0%{background-position:100% 50%}to{background-position:0 50%}}.ant-skeleton-rtl{direction:rtl}.ant-skeleton-rtl .ant-skeleton-header{padding-right:0;padding-left:16px}.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-avatar,.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-paragraph>li,.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-title{-webkit-animation-name:ant-skeleton-loading-rtl;animation-name:ant-skeleton-loading-rtl}@-webkit-keyframes ant-skeleton-loading-rtl{0%{background-position:0 50%}to{background-position:100% 50%}}@keyframes ant-skeleton-loading-rtl{0%{background-position:0 50%}to{background-position:100% 50%}}.ant-slider{box-sizing:border-box;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;height:12px;margin:10px 6px;padding:4px 0;cursor:pointer;touch-action:none}.ant-slider-vertical{width:12px;height:100%;margin:6px 10px;padding:0 4px}.ant-slider-vertical .ant-slider-rail{width:4px;height:100%}.ant-slider-vertical .ant-slider-track{width:4px}.ant-slider-vertical .ant-slider-handle{margin-top:-6px;margin-left:-5px}.ant-slider-vertical .ant-slider-mark{top:0;left:12px;width:18px;height:100%}.ant-slider-vertical .ant-slider-mark-text{left:4px;white-space:nowrap}.ant-slider-vertical .ant-slider-step{width:4px;height:100%}.ant-slider-vertical .ant-slider-dot{top:auto;left:2px;margin-bottom:-4px}.ant-slider-tooltip .ant-tooltip-inner{min-width:unset}.ant-slider-rtl.ant-slider-vertical .ant-slider-handle{margin-right:-5px;margin-left:0}.ant-slider-rtl.ant-slider-vertical .ant-slider-mark{right:12px;left:auto}.ant-slider-rtl.ant-slider-vertical .ant-slider-mark-text{right:4px;left:auto}.ant-slider-rtl.ant-slider-vertical .ant-slider-dot{right:2px;left:auto}.ant-slider-with-marks{margin-bottom:28px}.ant-slider-rail{width:100%;background-color:#f5f5f5}.ant-slider-rail,.ant-slider-track{position:absolute;height:4px;border-radius:2px;transition:background-color .3s}.ant-slider-track{background-color:#91d5ff}.ant-slider-handle{position:absolute;width:14px;height:14px;margin-top:-5px;background-color:#fff;border:2px solid #91d5ff;border-radius:50%;box-shadow:0;cursor:pointer;transition:border-color .3s,box-shadow .6s,transform .3s cubic-bezier(.18,.89,.32,1.28)}.ant-slider-handle-dragging.ant-slider-handle-dragging.ant-slider-handle-dragging,.ant-slider-handle:focus{border-color:#46a6ff;box-shadow:0 0 0 5px rgba(24,144,255,.12)}.ant-slider-handle:focus{outline:none}.ant-slider-handle.ant-tooltip-open{border-color:#1890ff}.ant-slider:hover .ant-slider-rail{background-color:#e1e1e1}.ant-slider:hover .ant-slider-track{background-color:#69c0ff}.ant-slider:hover .ant-slider-handle:not(.ant-tooltip-open){border-color:#69c0ff}.ant-slider-mark{position:absolute;top:14px;left:0;width:100%;font-size:14px}.ant-slider-mark-text{position:absolute;display:inline-block;color:rgba(0,0,0,.45);text-align:center;word-break:keep-all;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-slider-mark-text-active{color:rgba(0,0,0,.85)}.ant-slider-step{position:absolute;width:100%;height:4px;background:transparent}.ant-slider-dot{position:absolute;top:-2px;width:8px;height:8px;background-color:#fff;border:2px solid #f0f0f0;border-radius:50%;cursor:pointer}.ant-slider-dot,.ant-slider-dot:first-child,.ant-slider-dot:last-child{margin-left:-4px}.ant-slider-dot-active{border-color:#8cc8ff}.ant-slider-disabled{cursor:not-allowed}.ant-slider-disabled .ant-slider-track{background-color:rgba(0,0,0,.25)!important}.ant-slider-disabled .ant-slider-dot,.ant-slider-disabled .ant-slider-handle{background-color:#fff;border-color:rgba(0,0,0,.25)!important;box-shadow:none;cursor:not-allowed}.ant-slider-disabled .ant-slider-dot,.ant-slider-disabled .ant-slider-mark-text{cursor:not-allowed!important}.ant-slider-rtl{direction:rtl}.ant-slider-rtl .ant-slider-mark{right:0;left:auto}.ant-slider-rtl .ant-slider-dot,.ant-slider-rtl .ant-slider-dot:first-child,.ant-slider-rtl .ant-slider-dot:last-child{margin-right:-4px;margin-left:0}.ant-space{display:inline-flex}.ant-space-vertical{flex-direction:column}.ant-space-align-center{align-items:center}.ant-space-align-start{align-items:flex-start}.ant-space-align-end{align-items:flex-end}.ant-space-align-baseline{align-items:baseline}.ant-space-item:empty{display:none}.ant-space-rtl{direction:rtl}.ant-spin{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:absolute;display:none;color:#1890ff;text-align:center;vertical-align:middle;opacity:0;transition:transform .3s cubic-bezier(.78,.14,.15,.86)}.ant-spin-spinning{position:static;display:inline-block;opacity:1}.ant-spin-nested-loading{position:relative}.ant-spin-nested-loading>div>.ant-spin{position:absolute;top:0;left:0;z-index:4;display:block;width:100%;height:100%;max-height:400px}.ant-spin-nested-loading>div>.ant-spin .ant-spin-dot{position:absolute;top:50%;left:50%;margin:-10px}.ant-spin-nested-loading>div>.ant-spin .ant-spin-text{position:absolute;top:50%;width:100%;padding-top:5px;text-shadow:0 1px 2px #fff}.ant-spin-nested-loading>div>.ant-spin.ant-spin-show-text .ant-spin-dot{margin-top:-20px}.ant-spin-nested-loading>div>.ant-spin-sm .ant-spin-dot{margin:-7px}.ant-spin-nested-loading>div>.ant-spin-sm .ant-spin-text{padding-top:2px}.ant-spin-nested-loading>div>.ant-spin-sm.ant-spin-show-text .ant-spin-dot{margin-top:-17px}.ant-spin-nested-loading>div>.ant-spin-lg .ant-spin-dot{margin:-16px}.ant-spin-nested-loading>div>.ant-spin-lg .ant-spin-text{padding-top:11px}.ant-spin-nested-loading>div>.ant-spin-lg.ant-spin-show-text .ant-spin-dot{margin-top:-26px}.ant-spin-container{position:relative;transition:opacity .3s}.ant-spin-container:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;display:none\\9;width:100%;height:100%;background:#fff;opacity:0;transition:all .3s;content:"";pointer-events:none}.ant-spin-blur{clear:both;overflow:hidden;opacity:.5;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}.ant-spin-blur:after{opacity:.4;pointer-events:auto}.ant-spin-tip{color:rgba(0,0,0,.45)}.ant-spin-dot{position:relative;display:inline-block;font-size:20px;width:1em;height:1em}.ant-spin-dot-item{position:absolute;display:block;width:9px;height:9px;background-color:#1890ff;border-radius:100%;transform:scale(.75);transform-origin:50% 50%;opacity:.3;-webkit-animation:antSpinMove 1s linear infinite alternate;animation:antSpinMove 1s linear infinite alternate}.ant-spin-dot-item:first-child{top:0;left:0}.ant-spin-dot-item:nth-child(2){top:0;right:0;-webkit-animation-delay:.4s;animation-delay:.4s}.ant-spin-dot-item:nth-child(3){right:0;bottom:0;-webkit-animation-delay:.8s;animation-delay:.8s}.ant-spin-dot-item:nth-child(4){bottom:0;left:0;-webkit-animation-delay:1.2s;animation-delay:1.2s}.ant-spin-dot-spin{transform:rotate(45deg);-webkit-animation:antRotate 1.2s linear infinite;animation:antRotate 1.2s linear infinite}.ant-spin-sm .ant-spin-dot{font-size:14px}.ant-spin-sm .ant-spin-dot i{width:6px;height:6px}.ant-spin-lg .ant-spin-dot{font-size:32px}.ant-spin-lg .ant-spin-dot i{width:14px;height:14px}.ant-spin.ant-spin-show-text .ant-spin-text{display:block}@media (-ms-high-contrast:active),(-ms-high-contrast:none){.ant-spin-blur{background:#fff;opacity:.5}}@-webkit-keyframes antSpinMove{to{opacity:1}}@keyframes antSpinMove{to{opacity:1}}@-webkit-keyframes antRotate{to{transform:rotate(405deg)}}@keyframes antRotate{to{transform:rotate(405deg)}}.ant-spin-rtl{direction:rtl}.ant-spin-rtl .ant-spin-dot-spin{transform:rotate(-45deg);-webkit-animation-name:antRotateRtl;animation-name:antRotateRtl}@-webkit-keyframes antRotateRtl{to{transform:rotate(-405deg)}}@keyframes antRotateRtl{to{transform:rotate(-405deg)}}.ant-statistic{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum"}.ant-statistic-title{margin-bottom:4px;color:rgba(0,0,0,.45);font-size:14px}.ant-statistic-content{color:rgba(0,0,0,.85);font-size:24px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.ant-statistic-content-value{display:inline-block;direction:ltr}.ant-statistic-content-prefix,.ant-statistic-content-suffix{display:inline-block}.ant-statistic-content-prefix{margin-right:4px}.ant-statistic-content-suffix{margin-left:4px}.ant-statistic-rtl{direction:rtl}.ant-statistic-rtl .ant-statistic-content-prefix{margin-right:0;margin-left:4px}.ant-statistic-rtl .ant-statistic-content-suffix{margin-right:4px;margin-left:0}.ant-steps{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";display:flex;width:100%;font-size:0;text-align:initial}.ant-steps-item{position:relative;display:inline-block;flex:1;overflow:hidden;vertical-align:top}.ant-steps-item-container{outline:none}.ant-steps-item:last-child{flex:none}.ant-steps-item:last-child>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after,.ant-steps-item:last-child>.ant-steps-item-container>.ant-steps-item-tail{display:none}.ant-steps-item-content,.ant-steps-item-icon{display:inline-block;vertical-align:top}.ant-steps-item-icon{width:32px;height:32px;margin:0 8px 0 0;font-size:16px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:32px;text-align:center;border:1px solid rgba(0,0,0,.25);border-radius:32px;transition:background-color .3s,border-color .3s}.ant-steps-item-icon .ant-steps-icon{position:relative;top:-.5px;color:#1890ff;line-height:1}.ant-steps-item-tail{position:absolute;top:12px;left:0;width:100%;padding:0 10px}.ant-steps-item-tail:after{display:inline-block;width:100%;height:1px;background:#f0f0f0;border-radius:1px;transition:background .3s;content:""}.ant-steps-item-title{position:relative;display:inline-block;padding-right:16px;color:rgba(0,0,0,.85);font-size:16px;line-height:32px}.ant-steps-item-title:after{position:absolute;top:16px;left:100%;display:block;width:9999px;height:1px;background:#f0f0f0;content:""}.ant-steps-item-subtitle{display:inline;margin-left:8px;font-weight:400}.ant-steps-item-description,.ant-steps-item-subtitle{color:rgba(0,0,0,.45);font-size:14px}.ant-steps-item-wait .ant-steps-item-icon{background-color:#fff;border-color:rgba(0,0,0,.25)}.ant-steps-item-wait .ant-steps-item-icon>.ant-steps-icon{color:rgba(0,0,0,.25)}.ant-steps-item-wait .ant-steps-item-icon>.ant-steps-icon .ant-steps-icon-dot{background:rgba(0,0,0,.25)}.ant-steps-item-wait>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title{color:rgba(0,0,0,.45)}.ant-steps-item-wait>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{background-color:#f0f0f0}.ant-steps-item-wait>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-description{color:rgba(0,0,0,.45)}.ant-steps-item-wait>.ant-steps-item-container>.ant-steps-item-tail:after{background-color:#f0f0f0}.ant-steps-item-process .ant-steps-item-icon{background-color:#fff;border-color:#1890ff}.ant-steps-item-process .ant-steps-item-icon>.ant-steps-icon{color:#1890ff}.ant-steps-item-process .ant-steps-item-icon>.ant-steps-icon .ant-steps-icon-dot{background:#1890ff}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title{color:rgba(0,0,0,.85)}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{background-color:#f0f0f0}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-description{color:rgba(0,0,0,.85)}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-tail:after{background-color:#f0f0f0}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-icon{background:#1890ff}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-icon .ant-steps-icon{color:#fff}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-title{font-weight:500}.ant-steps-item-finish .ant-steps-item-icon{background-color:#fff;border-color:#1890ff}.ant-steps-item-finish .ant-steps-item-icon>.ant-steps-icon{color:#1890ff}.ant-steps-item-finish .ant-steps-item-icon>.ant-steps-icon .ant-steps-icon-dot{background:#1890ff}.ant-steps-item-finish>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title{color:rgba(0,0,0,.85)}.ant-steps-item-finish>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{background-color:#1890ff}.ant-steps-item-finish>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-description{color:rgba(0,0,0,.45)}.ant-steps-item-finish>.ant-steps-item-container>.ant-steps-item-tail:after{background-color:#1890ff}.ant-steps-item-error .ant-steps-item-icon{background-color:#fff;border-color:#ff4d4f}.ant-steps-item-error .ant-steps-item-icon>.ant-steps-icon{color:#ff4d4f}.ant-steps-item-error .ant-steps-item-icon>.ant-steps-icon .ant-steps-icon-dot{background:#ff4d4f}.ant-steps-item-error>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title{color:#ff4d4f}.ant-steps-item-error>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{background-color:#f0f0f0}.ant-steps-item-error>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-description{color:#ff4d4f}.ant-steps-item-error>.ant-steps-item-container>.ant-steps-item-tail:after{background-color:#f0f0f0}.ant-steps-item.ant-steps-next-error .ant-steps-item-title:after{background:#ff4d4f}.ant-steps-item-disabled{cursor:not-allowed}.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button]{cursor:pointer}.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button] .ant-steps-item-description,.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button] .ant-steps-item-icon .ant-steps-icon,.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button] .ant-steps-item-subtitle,.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button] .ant-steps-item-title{transition:color .3s}.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button]:hover .ant-steps-item-description,.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button]:hover .ant-steps-item-subtitle,.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button]:hover .ant-steps-item-title{color:#1890ff}.ant-steps .ant-steps-item:not(.ant-steps-item-active):not(.ant-steps-item-process)>.ant-steps-item-container[role=button]:hover .ant-steps-item-icon{border-color:#1890ff}.ant-steps .ant-steps-item:not(.ant-steps-item-active):not(.ant-steps-item-process)>.ant-steps-item-container[role=button]:hover .ant-steps-item-icon .ant-steps-icon{color:#1890ff}.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item{padding-left:16px;white-space:nowrap}.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:first-child{padding-left:0}.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:last-child .ant-steps-item-title{padding-right:0}.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item-tail{display:none}.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item-description{max-width:140px;white-space:normal}.ant-steps-item-custom>.ant-steps-item-container>.ant-steps-item-icon{height:auto;background:none;border:0}.ant-steps-item-custom>.ant-steps-item-container>.ant-steps-item-icon>.ant-steps-icon{top:0;left:.5px;width:32px;height:32px;font-size:24px;line-height:32px}.ant-steps-item-custom.ant-steps-item-process .ant-steps-item-icon>.ant-steps-icon{color:#1890ff}.ant-steps:not(.ant-steps-vertical) .ant-steps-item-custom .ant-steps-item-icon{width:auto;background:none}.ant-steps-small.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item{padding-left:12px}.ant-steps-small.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:first-child{padding-left:0}.ant-steps-small .ant-steps-item-icon{width:24px;height:24px;margin:0 8px 0 0;font-size:12px;line-height:24px;text-align:center;border-radius:24px}.ant-steps-small .ant-steps-item-title{padding-right:12px;font-size:14px;line-height:24px}.ant-steps-small .ant-steps-item-title:after{top:12px}.ant-steps-small .ant-steps-item-description{color:rgba(0,0,0,.45);font-size:14px}.ant-steps-small .ant-steps-item-tail{top:8px}.ant-steps-small .ant-steps-item-custom .ant-steps-item-icon{width:inherit;height:inherit;line-height:inherit;background:none;border:0;border-radius:0}.ant-steps-small .ant-steps-item-custom .ant-steps-item-icon>.ant-steps-icon{font-size:24px;line-height:24px;transform:none}.ant-steps-vertical{display:flex;flex-direction:column}.ant-steps-vertical>.ant-steps-item{display:block;flex:1 0 auto;padding-left:0;overflow:visible}.ant-steps-vertical>.ant-steps-item .ant-steps-item-icon{float:left;margin-right:16px}.ant-steps-vertical>.ant-steps-item .ant-steps-item-content{display:block;min-height:48px;overflow:hidden}.ant-steps-vertical>.ant-steps-item .ant-steps-item-title{line-height:32px}.ant-steps-vertical>.ant-steps-item .ant-steps-item-description{padding-bottom:12px}.ant-steps-vertical>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{position:absolute;top:0;left:16px;width:1px;height:100%;padding:38px 0 6px}.ant-steps-vertical>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail:after{width:1px;height:100%}.ant-steps-vertical>.ant-steps-item:not(:last-child)>.ant-steps-item-container>.ant-steps-item-tail{display:block}.ant-steps-vertical>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{display:none}.ant-steps-vertical.ant-steps-small .ant-steps-item-container .ant-steps-item-tail{position:absolute;top:0;left:12px;padding:30px 0 6px}.ant-steps-vertical.ant-steps-small .ant-steps-item-container .ant-steps-item-title{line-height:24px}.ant-steps-label-vertical .ant-steps-item{overflow:visible}.ant-steps-label-vertical .ant-steps-item-tail{margin-left:58px;padding:3.5px 24px}.ant-steps-label-vertical .ant-steps-item-content{display:block;width:116px;margin-top:8px;text-align:center}.ant-steps-label-vertical .ant-steps-item-icon{display:inline-block;margin-left:42px}.ant-steps-label-vertical .ant-steps-item-title{padding-right:0;padding-left:0}.ant-steps-label-vertical .ant-steps-item-title:after{display:none}.ant-steps-label-vertical .ant-steps-item-subtitle{display:block;margin-bottom:4px;margin-left:0;line-height:1.5715}.ant-steps-label-vertical.ant-steps-small:not(.ant-steps-dot) .ant-steps-item-icon{margin-left:46px}.ant-steps-dot .ant-steps-item-title,.ant-steps-dot.ant-steps-small .ant-steps-item-title{line-height:1.5715}.ant-steps-dot .ant-steps-item-tail,.ant-steps-dot.ant-steps-small .ant-steps-item-tail{top:2px;width:100%;margin:0 0 0 70px;padding:0}.ant-steps-dot .ant-steps-item-tail:after,.ant-steps-dot.ant-steps-small .ant-steps-item-tail:after{width:calc(100% - 20px);height:3px;margin-left:12px}.ant-steps-dot .ant-steps-item:first-child .ant-steps-icon-dot,.ant-steps-dot.ant-steps-small .ant-steps-item:first-child .ant-steps-icon-dot{left:2px}.ant-steps-dot .ant-steps-item-icon,.ant-steps-dot.ant-steps-small .ant-steps-item-icon{width:8px;height:8px;margin-left:67px;padding-right:0;line-height:8px;background:transparent;border:0}.ant-steps-dot .ant-steps-item-icon .ant-steps-icon-dot,.ant-steps-dot.ant-steps-small .ant-steps-item-icon .ant-steps-icon-dot{position:relative;float:left;width:100%;height:100%;border-radius:100px;transition:all .3s}.ant-steps-dot .ant-steps-item-icon .ant-steps-icon-dot:after,.ant-steps-dot.ant-steps-small .ant-steps-item-icon .ant-steps-icon-dot:after{position:absolute;top:-12px;left:-26px;width:60px;height:32px;background:rgba(0,0,0,.001);content:""}.ant-steps-dot .ant-steps-item-content,.ant-steps-dot.ant-steps-small .ant-steps-item-content{width:140px}.ant-steps-dot .ant-steps-item-process .ant-steps-item-icon,.ant-steps-dot.ant-steps-small .ant-steps-item-process .ant-steps-item-icon{position:relative;top:-1px;width:10px;height:10px;line-height:10px;background:none}.ant-steps-dot .ant-steps-item-process .ant-steps-icon:first-child .ant-steps-icon-dot,.ant-steps-dot.ant-steps-small .ant-steps-item-process .ant-steps-icon:first-child .ant-steps-icon-dot{left:0}.ant-steps-vertical.ant-steps-dot .ant-steps-item-icon{margin-top:8px;margin-left:0;background:none}.ant-steps-vertical.ant-steps-dot .ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{top:2px;left:-9px;margin:0;padding:22px 0 4px}.ant-steps-vertical.ant-steps-dot .ant-steps-item:first-child .ant-steps-icon-dot{left:0}.ant-steps-vertical.ant-steps-dot .ant-steps-item-content{width:inherit}.ant-steps-vertical.ant-steps-dot .ant-steps-item-process .ant-steps-item-container .ant-steps-item-icon .ant-steps-icon-dot{left:-2px}.ant-steps-navigation{padding-top:12px}.ant-steps-navigation.ant-steps-small .ant-steps-item-container{margin-left:-12px}.ant-steps-navigation .ant-steps-item{overflow:visible;text-align:center}.ant-steps-navigation .ant-steps-item-container{display:inline-block;height:100%;margin-left:-16px;padding-bottom:12px;text-align:left;transition:opacity .3s}.ant-steps-navigation .ant-steps-item-container .ant-steps-item-content{max-width:auto}.ant-steps-navigation .ant-steps-item-container .ant-steps-item-title{max-width:100%;padding-right:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-steps-navigation .ant-steps-item-container .ant-steps-item-title:after{display:none}.ant-steps-navigation .ant-steps-item:not(.ant-steps-item-active) .ant-steps-item-container[role=button]{cursor:pointer}.ant-steps-navigation .ant-steps-item:not(.ant-steps-item-active) .ant-steps-item-container[role=button]:hover{opacity:.85}.ant-steps-navigation .ant-steps-item:last-child{flex:1}.ant-steps-navigation .ant-steps-item:last-child:after{display:none}.ant-steps-navigation .ant-steps-item:after{position:absolute;top:50%;left:100%;display:inline-block;width:12px;height:12px;margin-top:-14px;margin-left:-2px;border:1px solid rgba(0,0,0,.25);border-bottom:none;border-left:none;transform:rotate(45deg);content:""}.ant-steps-navigation .ant-steps-item:before{position:absolute;bottom:0;left:50%;display:inline-block;width:0;height:2px;background-color:#1890ff;transition:width .3s,left .3s;transition-timing-function:ease-out;content:""}.ant-steps-navigation .ant-steps-item.ant-steps-item-active:before{left:0;width:100%}.ant-steps-navigation.ant-steps-vertical>.ant-steps-item{margin-right:0!important}.ant-steps-navigation.ant-steps-vertical>.ant-steps-item:before{display:none}.ant-steps-navigation.ant-steps-vertical>.ant-steps-item.ant-steps-item-active:before{top:0;right:0;left:unset;display:block;width:3px;height:calc(100% - 24px)}.ant-steps-navigation.ant-steps-vertical>.ant-steps-item:after{position:relative;top:-2px;left:50%;display:block;width:8px;height:8px;margin-bottom:8px;text-align:center;transform:rotate(135deg)}.ant-steps-navigation.ant-steps-vertical>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{visibility:hidden}.ant-steps-rtl{direction:rtl}.ant-steps.ant-steps-rtl .ant-steps-item-icon{margin-right:0;margin-left:8px}.ant-steps-rtl .ant-steps-item-tail{right:0;left:auto}.ant-steps-rtl .ant-steps-item-title{padding-right:0;padding-left:16px}.ant-steps-rtl .ant-steps-item-title:after{right:100%;left:auto}.ant-steps-rtl.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item{padding-right:16px;padding-left:0}.ant-steps-rtl.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:first-child{padding-right:0}.ant-steps-rtl.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:last-child .ant-steps-item-title{padding-left:0}.ant-steps-rtl .ant-steps-item-custom .ant-steps-item-icon>.ant-steps-icon{right:.5px;left:auto}.ant-steps-rtl.ant-steps-navigation.ant-steps-small .ant-steps-item-container{margin-right:-12px;margin-left:0}.ant-steps-rtl.ant-steps-navigation .ant-steps-item-container{margin-right:-16px;margin-left:0;text-align:right}.ant-steps-rtl.ant-steps-navigation .ant-steps-item-container .ant-steps-item-title{padding-left:0}.ant-steps-rtl.ant-steps-navigation .ant-steps-item:after{right:100%;left:auto;margin-right:-2px;margin-left:0;transform:rotate(225deg)}.ant-steps-rtl.ant-steps-small.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item{padding-right:12px;padding-left:0}.ant-steps-rtl.ant-steps-small.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:first-child{padding-right:0}.ant-steps-rtl.ant-steps-small .ant-steps-item-title{padding-right:0;padding-left:12px}.ant-steps-rtl.ant-steps-vertical>.ant-steps-item .ant-steps-item-icon{float:right;margin-right:0;margin-left:16px}.ant-steps-rtl.ant-steps-vertical>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{right:16px;left:auto}.ant-steps-rtl.ant-steps-vertical.ant-steps-small .ant-steps-item-container .ant-steps-item-tail{right:12px;left:auto}.ant-steps-rtl.ant-steps-label-vertical .ant-steps-item-title{padding-left:0}.ant-steps-rtl.ant-steps-dot .ant-steps-item-tail,.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item-tail{margin:0 70px 0 0}.ant-steps-rtl.ant-steps-dot .ant-steps-item-tail:after,.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item-tail:after{margin-right:12px;margin-left:0}.ant-steps-rtl.ant-steps-dot .ant-steps-item:first-child .ant-steps-icon-dot,.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item:first-child .ant-steps-icon-dot{right:2px;left:auto}.ant-steps-rtl.ant-steps-dot .ant-steps-item-icon,.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item-icon{margin-right:67px;margin-left:0}.ant-steps-rtl.ant-steps-dot .ant-steps-item-icon .ant-steps-icon-dot,.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item-icon .ant-steps-icon-dot{float:right}.ant-steps-rtl.ant-steps-dot .ant-steps-item-icon .ant-steps-icon-dot:after,.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item-icon .ant-steps-icon-dot:after{right:-26px;left:auto}.ant-steps-rtl.ant-steps-vertical.ant-steps-dot .ant-steps-item-icon{margin-right:0;margin-left:16px}.ant-steps-rtl.ant-steps-vertical.ant-steps-dot .ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{right:-9px;left:auto}.ant-steps-rtl.ant-steps-vertical.ant-steps-dot .ant-steps-item:first-child .ant-steps-icon-dot{right:0;left:auto}.ant-steps-rtl.ant-steps-vertical.ant-steps-dot .ant-steps-item-process .ant-steps-icon-dot{right:-2px;left:auto}.ant-steps-rtl.ant-steps-with-progress.ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:first-child.ant-steps-item-active{padding-right:4px}.ant-steps-with-progress .ant-steps-item{padding-top:4px}.ant-steps-with-progress .ant-steps-item .ant-steps-item-tail{top:4px!important}.ant-steps-with-progress.ant-steps-horizontal .ant-steps-item:first-child{padding-bottom:4px;padding-left:4px}.ant-steps-with-progress .ant-steps-item-icon{position:relative}.ant-steps-with-progress .ant-steps-item-icon .ant-progress{position:absolute;top:-5px;right:-5px;bottom:-5px;left:-5px}.ant-switch{margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-block;box-sizing:border-box;min-width:44px;height:22px;line-height:22px;vertical-align:middle;background-color:rgba(0,0,0,.25);border:0;border-radius:100px;cursor:pointer;transition:all .2s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-switch:focus{outline:0;box-shadow:0 0 0 2px rgba(0,0,0,.1)}.ant-switch-checked:focus{box-shadow:0 0 0 2px rgba(24,144,255,.2)}.ant-switch:focus:hover{box-shadow:none}.ant-switch-checked{background-color:#1890ff}.ant-switch-disabled,.ant-switch-loading{cursor:not-allowed;opacity:.4}.ant-switch-disabled *,.ant-switch-loading *{box-shadow:none;cursor:not-allowed}.ant-switch-inner{display:block;margin:0 7px 0 25px;color:#fff;font-size:12px;transition:margin .2s}.ant-switch-checked .ant-switch-inner{margin:0 25px 0 7px}.ant-switch-handle{top:2px;left:2px;width:18px;height:18px}.ant-switch-handle,.ant-switch-handle:before{position:absolute;transition:all .2s ease-in-out}.ant-switch-handle:before{top:0;right:0;bottom:0;left:0;background-color:#fff;border-radius:9px;box-shadow:0 2px 4px 0 rgba(0,35,11,.2);content:""}.ant-switch-checked .ant-switch-handle{left:calc(100% - 20px)}.ant-switch:not(.ant-switch-disabled):active .ant-switch-handle:before{right:-30%;left:0}.ant-switch:not(.ant-switch-disabled):active.ant-switch-checked .ant-switch-handle:before{right:0;left:-30%}.ant-switch-loading-icon{position:relative;top:2px;color:rgba(0,0,0,.65);vertical-align:top}.ant-switch-checked .ant-switch-loading-icon{color:#1890ff}.ant-switch-small{min-width:28px;height:16px;line-height:16px}.ant-switch-small .ant-switch-inner{margin:0 5px 0 18px;font-size:12px}.ant-switch-small .ant-switch-handle{width:12px;height:12px}.ant-switch-small .ant-switch-loading-icon{top:1.5px;font-size:9px}.ant-switch-small.ant-switch-checked .ant-switch-inner{margin:0 18px 0 5px}.ant-switch-small.ant-switch-checked .ant-switch-handle{left:calc(100% - 14px)}.ant-switch-rtl{direction:rtl}.ant-switch-rtl .ant-switch-inner{margin:0 25px 0 7px}.ant-switch-rtl .ant-switch-handle{right:2px;left:auto}.ant-switch-rtl:not(.ant-switch-rtl-disabled):active .ant-switch-handle:before{right:0;left:-30%}.ant-switch-rtl:not(.ant-switch-rtl-disabled):active.ant-switch-checked .ant-switch-handle:before{right:-30%;left:0}.ant-switch-rtl.ant-switch-checked .ant-switch-inner{margin:0 7px 0 25px}.ant-switch-rtl.ant-switch-checked .ant-switch-handle{right:calc(100% - 20px)}.ant-switch-rtl.ant-switch-small.ant-switch-checked .ant-switch-handle{right:calc(100% - 14px)}.ant-table.ant-table-middle{font-size:14px}.ant-table.ant-table-middle .ant-table-footer,.ant-table.ant-table-middle .ant-table-tbody>tr>td,.ant-table.ant-table-middle .ant-table-thead>tr>th,.ant-table.ant-table-middle .ant-table-title,.ant-table.ant-table-middle tfoot>tr>td,.ant-table.ant-table-middle tfoot>tr>th{padding:12px 8px}.ant-table.ant-table-middle .ant-table-filter-trigger{margin-right:-4px}.ant-table.ant-table-middle .ant-table-expanded-row-fixed{margin:-12px -8px}.ant-table.ant-table-middle .ant-table-tbody .ant-table-wrapper:only-child .ant-table{margin:-12px -8px -12px 25px}.ant-table.ant-table-small{font-size:14px}.ant-table.ant-table-small .ant-table-footer,.ant-table.ant-table-small .ant-table-tbody>tr>td,.ant-table.ant-table-small .ant-table-thead>tr>th,.ant-table.ant-table-small .ant-table-title,.ant-table.ant-table-small tfoot>tr>td,.ant-table.ant-table-small tfoot>tr>th{padding:8px}.ant-table.ant-table-small .ant-table-filter-trigger{margin-right:-4px}.ant-table.ant-table-small .ant-table-expanded-row-fixed{margin:-8px}.ant-table.ant-table-small .ant-table-tbody .ant-table-wrapper:only-child .ant-table{margin:-8px -8px -8px 25px}.ant-table-small .ant-table-thead>tr>th{background-color:#fafafa}.ant-table-small .ant-table-selection-column{width:46px;min-width:46px}.ant-table.ant-table-bordered>.ant-table-title{border:1px solid #f0f0f0;border-bottom:0}.ant-table.ant-table-bordered>.ant-table-container{border-left:1px solid #f0f0f0}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tfoot>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tfoot>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tfoot>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tfoot>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>thead>tr>th{border-right:1px solid #f0f0f0}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr:not(:last-child)>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr:not(:last-child)>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr:not(:last-child)>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>thead>tr:not(:last-child)>th{border-bottom:1px solid #f0f0f0}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr>th:before,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr>th:before,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr>th:before,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>thead>tr>th:before{background-color:transparent!important}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tfoot>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tfoot>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tfoot>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tfoot>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>thead>tr>.ant-table-cell-fix-right-first:after{border-right:1px solid #f0f0f0}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-16px -17px}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>td>.ant-table-expanded-row-fixed:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>td>.ant-table-expanded-row-fixed:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>td>.ant-table-expanded-row-fixed:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tbody>tr>td>.ant-table-expanded-row-fixed:after{position:absolute;top:0;right:1px;bottom:0;border-right:1px solid #f0f0f0;content:""}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table{border-top:1px solid #f0f0f0}.ant-table.ant-table-bordered.ant-table-scroll-horizontal>.ant-table-container>.ant-table-body>table>tbody>tr.ant-table-expanded-row>td,.ant-table.ant-table-bordered.ant-table-scroll-horizontal>.ant-table-container>.ant-table-body>table>tbody>tr.ant-table-placeholder>td{border-right:0}.ant-table.ant-table-bordered.ant-table-middle>.ant-table-container>.ant-table-body>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered.ant-table-middle>.ant-table-container>.ant-table-content>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-12px -9px}.ant-table.ant-table-bordered.ant-table-small>.ant-table-container>.ant-table-body>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered.ant-table-small>.ant-table-container>.ant-table-content>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-8px -9px}.ant-table.ant-table-bordered>.ant-table-footer{border:1px solid #f0f0f0;border-top:0}.ant-table-cell .ant-table-container:first-child{border-top:0}.ant-table-cell-scrollbar{box-shadow:0 1px 0 1px #fafafa}.ant-table-wrapper{clear:both;max-width:100%}.ant-table-wrapper:before{display:table;content:""}.ant-table-wrapper:after{display:table;clear:both;content:""}.ant-table{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;font-size:14px;background:#fff;border-radius:2px}.ant-table table{width:100%;text-align:left;border-radius:2px 2px 0 0;border-collapse:separate;border-spacing:0}.ant-table-tbody>tr>td,.ant-table-thead>tr>th,.ant-table tfoot>tr>td,.ant-table tfoot>tr>th{position:relative;padding:16px;overflow-wrap:break-word}.ant-table-cell-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:keep-all}.ant-table-cell-ellipsis.ant-table-cell-fix-left-last,.ant-table-cell-ellipsis.ant-table-cell-fix-right-first{overflow:visible}.ant-table-cell-ellipsis.ant-table-cell-fix-left-last .ant-table-cell-content,.ant-table-cell-ellipsis.ant-table-cell-fix-right-first .ant-table-cell-content{display:block;overflow:hidden;text-overflow:ellipsis}.ant-table-cell-ellipsis .ant-table-column-title{overflow:hidden;text-overflow:ellipsis;word-break:keep-all}.ant-table-title{padding:16px}.ant-table-footer{padding:16px;color:rgba(0,0,0,.85);background:#fafafa}.ant-table-thead>tr>th{position:relative;color:rgba(0,0,0,.85);font-weight:500;text-align:left;background:#fafafa;border-bottom:1px solid #f0f0f0;transition:background .3s ease}.ant-table-thead>tr>th[colspan]:not([colspan="1"]){text-align:center}.ant-table-thead>tr>th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan]):before{position:absolute;top:50%;right:0;width:1px;height:1.6em;background-color:rgba(0,0,0,.06);transform:translateY(-50%);transition:background-color .3s;content:""}.ant-table-thead>tr:not(:last-child)>th[colspan]{border-bottom:0}.ant-table-tbody>tr>td{border-bottom:1px solid #f0f0f0;transition:background .3s}.ant-table-tbody>tr>td>.ant-table-expanded-row-fixed>.ant-table-wrapper:only-child .ant-table,.ant-table-tbody>tr>td>.ant-table-wrapper:only-child .ant-table{margin:-16px -16px -16px 33px}.ant-table-tbody>tr>td>.ant-table-expanded-row-fixed>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td,.ant-table-tbody>tr>td>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td{border-bottom:0}.ant-table-tbody>tr>td>.ant-table-expanded-row-fixed>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td:first-child,.ant-table-tbody>tr>td>.ant-table-expanded-row-fixed>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td:last-child,.ant-table-tbody>tr>td>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td:first-child,.ant-table-tbody>tr>td>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td:last-child{border-radius:0}.ant-table-tbody>tr.ant-table-row:hover>td{background:#fafafa}.ant-table-tbody>tr.ant-table-row-selected>td{background:#e6f7ff;border-color:rgba(0,0,0,.03)}.ant-table-tbody>tr.ant-table-row-selected:hover>td{background:#dcf4ff}.ant-table-summary{position:relative;z-index:2;background:#fff}div.ant-table-summary{box-shadow:0 -1px 0 #f0f0f0}.ant-table-summary>tr>td,.ant-table-summary>tr>th{border-bottom:1px solid #f0f0f0}.ant-table-pagination.ant-pagination{margin:16px 0}.ant-table-pagination{display:flex;flex-wrap:wrap;row-gap:8px}.ant-table-pagination>*{flex:none}.ant-table-pagination-left{justify-content:flex-start}.ant-table-pagination-center{justify-content:center}.ant-table-pagination-right{justify-content:flex-end}.ant-table-thead th.ant-table-column-has-sorters{cursor:pointer;transition:all .3s}.ant-table-thead th.ant-table-column-has-sorters:hover{background:rgba(0,0,0,.04)}.ant-table-thead th.ant-table-column-has-sorters:hover:before{background-color:transparent!important}.ant-table-thead th.ant-table-column-has-sorters.ant-table-cell-fix-left:hover,.ant-table-thead th.ant-table-column-has-sorters.ant-table-cell-fix-right:hover,.ant-table-thead th.ant-table-column-sort{background:#f5f5f5}.ant-table-thead th.ant-table-column-sort:before{background-color:transparent!important}td.ant-table-column-sort{background:#fafafa}.ant-table-column-title{position:relative;z-index:1;flex:1}.ant-table-column-sorters{display:flex;flex:auto;align-items:center;justify-content:space-between}.ant-table-column-sorters:after{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;content:""}.ant-table-column-sorter{color:#bfbfbf;font-size:0;transition:color .3s}.ant-table-column-sorter-inner{display:inline-flex;flex-direction:column;align-items:center}.ant-table-column-sorter-down,.ant-table-column-sorter-up{font-size:11px}.ant-table-column-sorter-down.active,.ant-table-column-sorter-up.active{color:#1890ff}.ant-table-column-sorter-up+.ant-table-column-sorter-down{margin-top:-.3em}.ant-table-column-sorters:hover .ant-table-column-sorter{color:#a6a6a6}.ant-table-filter-column{display:flex;justify-content:space-between}.ant-table-filter-trigger{position:relative;display:flex;align-items:center;margin:-4px -8px -4px 4px;padding:0 4px;color:#bfbfbf;font-size:12px;border-radius:2px;cursor:pointer;transition:all .3s}.ant-table-filter-trigger:hover{color:rgba(0,0,0,.45);background:rgba(0,0,0,.04)}.ant-table-filter-trigger.active{color:#1890ff}.ant-table-filter-dropdown{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";min-width:120px;background-color:#fff;border-radius:2px;box-shadow:0 3px 6px -4px rgba(0,0,0,.12),0 6px 16px 0 rgba(0,0,0,.08),0 9px 28px 8px rgba(0,0,0,.05)}.ant-table-filter-dropdown .ant-dropdown-menu{max-height:264px;overflow-x:hidden;border:0;box-shadow:none}.ant-table-filter-dropdown-submenu>ul{max-height:calc(100vh - 130px);overflow-x:hidden;overflow-y:auto}.ant-table-filter-dropdown-submenu .ant-checkbox-wrapper+span,.ant-table-filter-dropdown .ant-checkbox-wrapper+span{padding-left:8px}.ant-table-filter-dropdown-btns{display:flex;justify-content:space-between;padding:7px 8px 7px 3px;overflow:hidden;background-color:inherit;border-top:1px solid #f0f0f0}.ant-table-selection-col{width:32px}.ant-table-bordered .ant-table-selection-col{width:50px}table tr td.ant-table-selection-column,table tr th.ant-table-selection-column{padding-right:8px;padding-left:8px;text-align:center}table tr td.ant-table-selection-column .ant-radio-wrapper,table tr th.ant-table-selection-column .ant-radio-wrapper{margin-right:0}table tr th.ant-table-selection-column:after{background-color:transparent!important}.ant-table-selection{position:relative;display:inline-flex;flex-direction:column}.ant-table-selection-extra{position:absolute;top:0;z-index:1;cursor:pointer;transition:all .3s;-webkit-margin-start:100%;margin-inline-start:100%;-webkit-padding-start:4px;padding-inline-start:4px}.ant-table-selection-extra .anticon{color:#bfbfbf;font-size:10px}.ant-table-selection-extra .anticon:hover{color:#a6a6a6}.ant-table-expand-icon-col{width:48px}.ant-table-row-expand-icon-cell{text-align:center}.ant-table-row-indent{float:left;height:1px}.ant-table-row-expand-icon{color:#1890ff;text-decoration:none;cursor:pointer;transition:color .3s;position:relative;display:inline-flex;float:left;box-sizing:border-box;width:17px;height:17px;padding:0;color:inherit;line-height:17px;background:#fff;border:1px solid #f0f0f0;border-radius:2px;outline:none;transform:scale(.94117647);transition:all .3s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-table-row-expand-icon:focus,.ant-table-row-expand-icon:hover{color:#40a9ff}.ant-table-row-expand-icon:active{color:#096dd9}.ant-table-row-expand-icon:active,.ant-table-row-expand-icon:focus,.ant-table-row-expand-icon:hover{border-color:currentColor}.ant-table-row-expand-icon:after,.ant-table-row-expand-icon:before{position:absolute;background:currentColor;transition:transform .3s ease-out;content:""}.ant-table-row-expand-icon:before{top:7px;right:3px;left:3px;height:1px}.ant-table-row-expand-icon:after{top:3px;bottom:3px;left:7px;width:1px;transform:rotate(90deg)}.ant-table-row-expand-icon-collapsed:before{transform:rotate(-180deg)}.ant-table-row-expand-icon-collapsed:after{transform:rotate(0deg)}.ant-table-row-expand-icon-spaced{background:transparent;border:0;visibility:hidden}.ant-table-row-expand-icon-spaced:after,.ant-table-row-expand-icon-spaced:before{display:none;content:none}.ant-table-row-indent+.ant-table-row-expand-icon{margin-top:2.5005px;margin-right:8px}tr.ant-table-expanded-row:hover>td,tr.ant-table-expanded-row>td{background:#fbfbfb}tr.ant-table-expanded-row .ant-descriptions-view{display:flex}tr.ant-table-expanded-row .ant-descriptions-view table{flex:auto;width:auto}.ant-table .ant-table-expanded-row-fixed{position:relative;margin:-16px;padding:16px}.ant-table-tbody>tr.ant-table-placeholder{text-align:center}.ant-table-empty .ant-table-tbody>tr.ant-table-placeholder{color:rgba(0,0,0,.25)}.ant-table-tbody>tr.ant-table-placeholder:hover>td{background:#fff}.ant-table-cell-fix-left,.ant-table-cell-fix-right{position:sticky!important;z-index:2;background:#fff}.ant-table-cell-fix-left-first:after,.ant-table-cell-fix-left-last:after{position:absolute;top:0;right:0;bottom:-1px;width:30px;transform:translateX(100%);transition:box-shadow .3s;content:"";pointer-events:none}.ant-table-cell-fix-right-first:after,.ant-table-cell-fix-right-last:after{position:absolute;top:0;bottom:-1px;left:0;width:30px;transform:translateX(-100%);transition:box-shadow .3s;content:"";pointer-events:none}.ant-table .ant-table-container:after,.ant-table .ant-table-container:before{position:absolute;top:0;bottom:0;z-index:1;width:30px;transition:box-shadow .3s;content:"";pointer-events:none}.ant-table .ant-table-container:before{left:0}.ant-table .ant-table-container:after{right:0}.ant-table-ping-left:not(.ant-table-has-fix-left) .ant-table-container{position:relative}.ant-table-ping-left .ant-table-cell-fix-left-first:after,.ant-table-ping-left .ant-table-cell-fix-left-last:after,.ant-table-ping-left:not(.ant-table-has-fix-left) .ant-table-container:before{box-shadow:inset 10px 0 8px -8px rgba(0,0,0,.15)}.ant-table-ping-left .ant-table-cell-fix-left-last:before{background-color:transparent!important}.ant-table-ping-right:not(.ant-table-has-fix-right) .ant-table-container{position:relative}.ant-table-ping-right .ant-table-cell-fix-right-first:after,.ant-table-ping-right .ant-table-cell-fix-right-last:after,.ant-table-ping-right:not(.ant-table-has-fix-right) .ant-table-container:after{box-shadow:inset -10px 0 8px -8px rgba(0,0,0,.15)}.ant-table-sticky-holder,.ant-table-sticky-scroll{position:sticky;z-index:3;background:#fff}.ant-table-sticky-scroll{bottom:0;display:flex;align-items:center;border-top:1px solid #f0f0f0;opacity:.6}.ant-table-sticky-scroll:hover{transform-origin:center bottom}.ant-table-sticky-scroll-bar{height:8px;background-color:rgba(0,0,0,.35);border-radius:4px}.ant-table-sticky-scroll-bar-active,.ant-table-sticky-scroll-bar:hover{background-color:rgba(0,0,0,.8)}@media (-ms-high-contrast:none){.ant-table-ping-left .ant-table-cell-fix-left-last:after,.ant-table-ping-right .ant-table-cell-fix-right-first:after{box-shadow:none!important}}.ant-table-title{border-radius:2px 2px 0 0}.ant-table-title+.ant-table-container{border-top-left-radius:0;border-top-right-radius:0}.ant-table-title+.ant-table-container table>thead>tr:first-child th:first-child,.ant-table-title+.ant-table-container table>thead>tr:first-child th:last-child{border-radius:0}.ant-table-container{border-top-right-radius:2px}.ant-table-container,.ant-table-container table>thead>tr:first-child th:first-child{border-top-left-radius:2px}.ant-table-container table>thead>tr:first-child th:last-child{border-top-right-radius:2px}.ant-table-footer{border-radius:0 0 2px 2px}.ant-table-rtl,.ant-table-wrapper-rtl{direction:rtl}.ant-table-wrapper-rtl .ant-table table{text-align:right}.ant-table-wrapper-rtl .ant-table-thead>tr>th[colspan]:not([colspan="1"]){text-align:center}.ant-table-wrapper-rtl .ant-table-thead>tr>th{text-align:right}.ant-table-tbody>tr .ant-table-wrapper:only-child .ant-table.ant-table-rtl{margin:-16px 33px -16px -16px}.ant-table-wrapper.ant-table-wrapper-rtl .ant-table-pagination-left{justify-content:flex-end}.ant-table-wrapper.ant-table-wrapper-rtl .ant-table-pagination-right{justify-content:flex-start}.ant-table-wrapper-rtl .ant-table-column-sorter{margin-right:8px;margin-left:0}.ant-table-wrapper-rtl .ant-table-filter-column-title{padding:16px 16px 16px 2.3em}.ant-table-rtl .ant-table-thead tr th.ant-table-column-has-sorters .ant-table-filter-column-title{padding:0 0 0 2.3em}.ant-table-wrapper-rtl .ant-table-filter-trigger-container{right:auto;left:0}.ant-dropdown-menu-submenu-rtl.ant-table-filter-dropdown-submenu .ant-checkbox-wrapper+span,.ant-dropdown-menu-submenu-rtl.ant-table-filter-dropdown .ant-checkbox-wrapper+span,.ant-dropdown-rtl .ant-table-filter-dropdown-submenu .ant-checkbox-wrapper+span,.ant-dropdown-rtl .ant-table-filter-dropdown .ant-checkbox-wrapper+span{padding-right:8px;padding-left:0}.ant-table-wrapper-rtl .ant-table-selection{text-align:center}.ant-table-wrapper-rtl .ant-table-row-expand-icon,.ant-table-wrapper-rtl .ant-table-row-indent{float:right}.ant-table-wrapper-rtl .ant-table-row-indent+.ant-table-row-expand-icon{margin-right:0;margin-left:8px}.ant-table-wrapper-rtl .ant-table-row-expand-icon:after{transform:rotate(-90deg)}.ant-table-wrapper-rtl .ant-table-row-expand-icon-collapsed:before{transform:rotate(180deg)}.ant-table-wrapper-rtl .ant-table-row-expand-icon-collapsed:after{transform:rotate(0deg)}.ant-tabs-small>.ant-tabs-nav .ant-tabs-tab{padding:8px 0;font-size:14px}.ant-tabs-large>.ant-tabs-nav .ant-tabs-tab{padding:16px 0;font-size:16px}.ant-tabs-card.ant-tabs-small>.ant-tabs-nav .ant-tabs-tab{padding:6px 16px}.ant-tabs-card.ant-tabs-large>.ant-tabs-nav .ant-tabs-tab{padding:7px 16px 6px}.ant-tabs-rtl{direction:rtl}.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab{margin:0 0 0 32px}.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab:last-of-type{margin-left:0}.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab .anticon{margin-right:0;margin-left:12px}.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab .ant-tabs-tab-remove{margin-right:8px;margin-left:-4px}.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab .ant-tabs-tab-remove .anticon{margin:0}.ant-tabs-rtl.ant-tabs-left>.ant-tabs-nav{order:1}.ant-tabs-rtl.ant-tabs-left>.ant-tabs-content-holder,.ant-tabs-rtl.ant-tabs-right>.ant-tabs-nav{order:0}.ant-tabs-rtl.ant-tabs-right>.ant-tabs-content-holder{order:1}.ant-tabs-rtl.ant-tabs-card.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-add,.ant-tabs-rtl.ant-tabs-card.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-rtl.ant-tabs-card.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-add,.ant-tabs-rtl.ant-tabs-card.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-rtl.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-add,.ant-tabs-rtl.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-rtl.ant-tabs-card.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-add,.ant-tabs-rtl.ant-tabs-card.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab{margin-right:2px;margin-left:0}.ant-tabs-dropdown-rtl{direction:rtl}.ant-tabs-dropdown-rtl .ant-tabs-dropdown-menu-item{text-align:right}.ant-tabs-bottom,.ant-tabs-top{flex-direction:column}.ant-tabs-bottom>.ant-tabs-nav,.ant-tabs-bottom>div>.ant-tabs-nav,.ant-tabs-top>.ant-tabs-nav,.ant-tabs-top>div>.ant-tabs-nav{margin:0 0 16px}.ant-tabs-bottom>.ant-tabs-nav:before,.ant-tabs-bottom>div>.ant-tabs-nav:before,.ant-tabs-top>.ant-tabs-nav:before,.ant-tabs-top>div>.ant-tabs-nav:before{position:absolute;right:0;left:0;border-bottom:1px solid #f0f0f0;content:""}.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-top>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-ink-bar{height:2px}.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-top>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-ink-bar-animated{transition:width .3s,left .3s,right .3s}.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap:before{top:0;bottom:0;width:30px}.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap:before{left:0;box-shadow:inset 10px 0 8px -8px rgba(0,0,0,.08)}.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap:after{right:0;box-shadow:inset -10px 0 8px -8px rgba(0,0,0,.08)}.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-left:before,.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-right:after,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-left:before,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-right:after,.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-left:before,.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-right:after,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-left:before,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-right:after{opacity:1}.ant-tabs-top>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-top>.ant-tabs-nav:before,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-top>div>.ant-tabs-nav:before{bottom:0}.ant-tabs-bottom>.ant-tabs-nav,.ant-tabs-bottom>div>.ant-tabs-nav{order:1;margin-top:16px;margin-bottom:0}.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-bottom>.ant-tabs-nav:before,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-bottom>div>.ant-tabs-nav:before{top:0}.ant-tabs-bottom>.ant-tabs-content-holder,.ant-tabs-bottom>div>.ant-tabs-content-holder{order:0}.ant-tabs-left>.ant-tabs-nav,.ant-tabs-left>div>.ant-tabs-nav,.ant-tabs-right>.ant-tabs-nav,.ant-tabs-right>div>.ant-tabs-nav{flex-direction:column;min-width:50px}.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-right>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-tab{padding:8px 24px;text-align:center}.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-right>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab{margin:16px 0 0}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap{flex-direction:column}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap:before{right:0;left:0;height:30px}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap:before{top:0;box-shadow:inset 0 10px 8px -8px rgba(0,0,0,.08)}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap:after{bottom:0;box-shadow:inset 0 -10px 8px -8px rgba(0,0,0,.08)}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-bottom:after,.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-top:before,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-bottom:after,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-top:before,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-bottom:after,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-top:before,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-bottom:after,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-top:before{opacity:1}.ant-tabs-left>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-right>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-ink-bar{width:2px}.ant-tabs-left>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-right>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-ink-bar-animated{transition:height .3s,top .3s}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-list,.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-operations,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-list,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-operations,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-list,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-operations,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-list,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-operations{flex:1 0 auto;flex-direction:column}.ant-tabs-left>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-ink-bar{right:0}.ant-tabs-left>.ant-tabs-content-holder,.ant-tabs-left>div>.ant-tabs-content-holder{margin-left:-1px;border-left:1px solid #f0f0f0}.ant-tabs-left>.ant-tabs-content-holder>.ant-tabs-content>.ant-tabs-tabpane,.ant-tabs-left>div>.ant-tabs-content-holder>.ant-tabs-content>.ant-tabs-tabpane{padding-left:24px}.ant-tabs-right>.ant-tabs-nav,.ant-tabs-right>div>.ant-tabs-nav{order:1}.ant-tabs-right>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-ink-bar{left:0}.ant-tabs-right>.ant-tabs-content-holder,.ant-tabs-right>div>.ant-tabs-content-holder{order:0;margin-right:-1px;border-right:1px solid #f0f0f0}.ant-tabs-right>.ant-tabs-content-holder>.ant-tabs-content>.ant-tabs-tabpane,.ant-tabs-right>div>.ant-tabs-content-holder>.ant-tabs-content>.ant-tabs-tabpane{padding-right:24px}.ant-tabs-dropdown{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:absolute;top:-9999px;left:-9999px;z-index:1050;display:block}.ant-tabs-dropdown-hidden{display:none}.ant-tabs-dropdown-menu{max-height:200px;margin:0;padding:4px 0;overflow-x:hidden;overflow-y:auto;text-align:left;list-style-type:none;background-color:#fff;background-clip:padding-box;border-radius:2px;outline:none;box-shadow:0 3px 6px -4px rgba(0,0,0,.12),0 6px 16px 0 rgba(0,0,0,.08),0 9px 28px 8px rgba(0,0,0,.05)}.ant-tabs-dropdown-menu-item{min-width:120px;margin:0;padding:5px 12px;overflow:hidden;color:rgba(0,0,0,.85);font-weight:400;font-size:14px;line-height:22px;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;transition:all .3s}.ant-tabs-dropdown-menu-item:hover{background:#f5f5f5}.ant-tabs-dropdown-menu-item-disabled,.ant-tabs-dropdown-menu-item-disabled:hover{color:rgba(0,0,0,.25);background:transparent;cursor:not-allowed}.ant-tabs-card>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-card>div>.ant-tabs-nav .ant-tabs-tab{margin:0;padding:8px 16px;background:#fafafa;border:1px solid #f0f0f0;transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-tabs-card>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card>div>.ant-tabs-nav .ant-tabs-tab-active{color:#1890ff;background:#fff}.ant-tabs-card>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-card>div>.ant-tabs-nav .ant-tabs-ink-bar{visibility:hidden}.ant-tabs-card.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-card.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-card.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab{margin-left:2px}.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-card.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-tab{border-radius:2px 2px 0 0}.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-tab-active{border-bottom-color:#fff}.ant-tabs-card.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-card.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-tab{border-radius:0 0 2px 2px}.ant-tabs-card.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-tab-active{border-top-color:#fff}.ant-tabs-card.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-card.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-card.ant-tabs-right>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-card.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab{margin-top:2px}.ant-tabs-card.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-card.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-tab{border-radius:2px 0 0 2px}.ant-tabs-card.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-tab-active{border-right-color:#fff}.ant-tabs-card.ant-tabs-right>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-card.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-tab{border-radius:0 2px 2px 0}.ant-tabs-card.ant-tabs-right>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-tab-active{border-left-color:#fff}.ant-tabs{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";display:flex;overflow:hidden}.ant-tabs>.ant-tabs-nav,.ant-tabs>div>.ant-tabs-nav{position:relative;display:flex;flex:none;align-items:center}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-wrap,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-wrap{position:relative;display:inline-block;display:flex;flex:auto;align-self:stretch;overflow:hidden;white-space:nowrap;transform:translate(0)}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-wrap:before{position:absolute;z-index:1;opacity:0;transition:opacity .3s;content:"";pointer-events:none}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-list,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-list{position:relative;display:flex;transition:transform .3s}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-operations,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-operations{display:flex;align-self:stretch}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-operations-hidden,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-operations-hidden{position:absolute;visibility:hidden;pointer-events:none}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-more,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-more{position:relative;padding:8px 16px;background:transparent;border:0}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-more:after,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-more:after{position:absolute;right:0;bottom:0;left:0;height:5px;transform:translateY(100%);content:""}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-add,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-add{min-width:40px;margin-left:2px;padding:0 8px;background:#fafafa;border:1px solid #f0f0f0;border-radius:2px 2px 0 0;outline:none;cursor:pointer;transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-add:hover,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-add:hover{color:#40a9ff}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-add:active,.ant-tabs>.ant-tabs-nav .ant-tabs-nav-add:focus,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-add:active,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-add:focus{color:#096dd9}.ant-tabs-extra-content{flex:none}.ant-tabs-centered>.ant-tabs-nav .ant-tabs-nav-wrap:not([class*=ant-tabs-nav-wrap-ping]),.ant-tabs-centered>div>.ant-tabs-nav .ant-tabs-nav-wrap:not([class*=ant-tabs-nav-wrap-ping]){justify-content:center}.ant-tabs-ink-bar{position:absolute;background:#1890ff;pointer-events:none}.ant-tabs-tab{position:relative;display:inline-flex;align-items:center;padding:12px 0;font-size:14px;background:transparent;border:0;outline:none;cursor:pointer}.ant-tabs-tab-btn:active,.ant-tabs-tab-btn:focus,.ant-tabs-tab-remove:active,.ant-tabs-tab-remove:focus{color:#096dd9}.ant-tabs-tab-btn,.ant-tabs-tab-remove{outline:none;transition:all .3s}.ant-tabs-tab-remove{flex:none;margin-right:-4px;margin-left:8px;color:rgba(0,0,0,.45);font-size:12px;background:transparent;border:none;cursor:pointer}.ant-tabs-tab-remove:hover{color:rgba(0,0,0,.85)}.ant-tabs-tab:hover{color:#40a9ff}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:#1890ff;text-shadow:0 0 .25px currentColor}.ant-tabs-tab.ant-tabs-tab-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-btn:active,.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-btn:focus,.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-remove:active,.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-remove:focus{color:rgba(0,0,0,.25)}.ant-tabs-tab .ant-tabs-tab-remove .anticon{margin:0}.ant-tabs-tab .anticon{margin-right:12px}.ant-tabs-tab+.ant-tabs-tab{margin:0 0 0 32px}.ant-tabs-content{display:flex;width:100%}.ant-tabs-content-holder{flex:auto;min-width:0;min-height:0}.ant-tabs-content-animated{transition:margin .3s}.ant-tabs-tabpane{flex:none;width:100%;outline:none}.ant-tag{box-sizing:border-box;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";display:inline-block;height:auto;margin:0 8px 0 0;padding:0 7px;font-size:12px;line-height:20px;white-space:nowrap;background:#fafafa;border:1px solid #d9d9d9;border-radius:2px;opacity:1;transition:all .3s}.ant-tag,.ant-tag a,.ant-tag a:hover{color:rgba(0,0,0,.85)}.ant-tag>a:first-child:last-child{display:inline-block;margin:0 -8px;padding:0 8px}.ant-tag-close-icon{margin-left:3px;color:rgba(0,0,0,.45);font-size:10px;cursor:pointer;transition:all .3s}.ant-tag-close-icon:hover{color:rgba(0,0,0,.85)}.ant-tag-has-color{border-color:transparent}.ant-tag-has-color,.ant-tag-has-color .anticon-close,.ant-tag-has-color .anticon-close:hover,.ant-tag-has-color a,.ant-tag-has-color a:hover{color:#fff}.ant-tag-checkable{background-color:transparent;border-color:transparent;cursor:pointer}.ant-tag-checkable:not(.ant-tag-checkable-checked):hover{color:#1890ff}.ant-tag-checkable-checked,.ant-tag-checkable:active{color:#fff}.ant-tag-checkable-checked{background-color:#1890ff}.ant-tag-checkable:active{background-color:#096dd9}.ant-tag-hidden{display:none}.ant-tag-pink{color:#c41d7f;background:#fff0f6;border-color:#ffadd2}.ant-tag-pink-inverse{color:#fff;background:#eb2f96;border-color:#eb2f96}.ant-tag-magenta{color:#c41d7f;background:#fff0f6;border-color:#ffadd2}.ant-tag-magenta-inverse{color:#fff;background:#eb2f96;border-color:#eb2f96}.ant-tag-red{color:#cf1322;background:#fff1f0;border-color:#ffa39e}.ant-tag-red-inverse{color:#fff;background:#f5222d;border-color:#f5222d}.ant-tag-volcano{color:#d4380d;background:#fff2e8;border-color:#ffbb96}.ant-tag-volcano-inverse{color:#fff;background:#fa541c;border-color:#fa541c}.ant-tag-orange{color:#d46b08;background:#fff7e6;border-color:#ffd591}.ant-tag-orange-inverse{color:#fff;background:#fa8c16;border-color:#fa8c16}.ant-tag-yellow{color:#d4b106;background:#feffe6;border-color:#fffb8f}.ant-tag-yellow-inverse{color:#fff;background:#fadb14;border-color:#fadb14}.ant-tag-gold{color:#d48806;background:#fffbe6;border-color:#ffe58f}.ant-tag-gold-inverse{color:#fff;background:#faad14;border-color:#faad14}.ant-tag-cyan{color:#08979c;background:#e6fffb;border-color:#87e8de}.ant-tag-cyan-inverse{color:#fff;background:#13c2c2;border-color:#13c2c2}.ant-tag-lime{color:#7cb305;background:#fcffe6;border-color:#eaff8f}.ant-tag-lime-inverse{color:#fff;background:#a0d911;border-color:#a0d911}.ant-tag-green{color:#389e0d;background:#f6ffed;border-color:#b7eb8f}.ant-tag-green-inverse{color:#fff;background:#52c41a;border-color:#52c41a}.ant-tag-blue{color:#096dd9;background:#e6f7ff;border-color:#91d5ff}.ant-tag-blue-inverse{color:#fff;background:#1890ff;border-color:#1890ff}.ant-tag-geekblue{color:#1d39c4;background:#f0f5ff;border-color:#adc6ff}.ant-tag-geekblue-inverse{color:#fff;background:#2f54eb;border-color:#2f54eb}.ant-tag-purple{color:#531dab;background:#f9f0ff;border-color:#d3adf7}.ant-tag-purple-inverse{color:#fff;background:#722ed1;border-color:#722ed1}.ant-tag-success{color:#52c41a;background:#f6ffed;border-color:#b7eb8f}.ant-tag-processing{color:#1890ff;background:#e6f7ff;border-color:#91d5ff}.ant-tag-error{color:#f5222d;background:#fff1f0;border-color:#ffa39e}.ant-tag-warning{color:#fa8c16;background:#fff7e6;border-color:#ffd591}.ant-tag>.anticon+span,.ant-tag>span+.anticon{margin-left:7px}.ant-tag.ant-tag-rtl{margin-right:0;margin-left:8px;direction:rtl;text-align:right}.ant-tag-rtl .ant-tag-close-icon{margin-right:3px;margin-left:0}.ant-tag-rtl.ant-tag>.anticon+span,.ant-tag-rtl.ant-tag>span+.anticon{margin-right:7px;margin-left:0}.ant-timeline{box-sizing:border-box;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;font-feature-settings:"tnum";margin:0;padding:0;list-style:none}.ant-timeline-item{position:relative;margin:0;padding-bottom:20px;font-size:14px;list-style:none}.ant-timeline-item-tail{position:absolute;top:10px;left:4px;height:calc(100% - 10px);border-left:2px solid #f0f0f0}.ant-timeline-item-pending .ant-timeline-item-head{font-size:12px;background-color:transparent}.ant-timeline-item-pending .ant-timeline-item-tail{display:none}.ant-timeline-item-head{position:absolute;width:10px;height:10px;background-color:#fff;border:2px solid transparent;border-radius:100px}.ant-timeline-item-head-blue{color:#1890ff;border-color:#1890ff}.ant-timeline-item-head-red{color:#ff4d4f;border-color:#ff4d4f}.ant-timeline-item-head-green{color:#52c41a;border-color:#52c41a}.ant-timeline-item-head-gray{color:rgba(0,0,0,.25);border-color:rgba(0,0,0,.25)}.ant-timeline-item-head-custom{position:absolute;top:5.5px;left:5px;width:auto;height:auto;margin-top:0;padding:3px 1px;line-height:1;text-align:center;border:0;border-radius:0;transform:translate(-50%,-50%)}.ant-timeline-item-content{position:relative;top:-7.001px;margin:0 0 0 26px;word-break:break-word}.ant-timeline-item-last>.ant-timeline-item-tail{display:none}.ant-timeline-item-last>.ant-timeline-item-content{min-height:48px}.ant-timeline.ant-timeline-alternate .ant-timeline-item-head,.ant-timeline.ant-timeline-alternate .ant-timeline-item-head-custom,.ant-timeline.ant-timeline-alternate .ant-timeline-item-tail,.ant-timeline.ant-timeline-label .ant-timeline-item-head,.ant-timeline.ant-timeline-label .ant-timeline-item-head-custom,.ant-timeline.ant-timeline-label .ant-timeline-item-tail,.ant-timeline.ant-timeline-right .ant-timeline-item-head,.ant-timeline.ant-timeline-right .ant-timeline-item-head-custom,.ant-timeline.ant-timeline-right .ant-timeline-item-tail{left:50%}.ant-timeline.ant-timeline-alternate .ant-timeline-item-head,.ant-timeline.ant-timeline-label .ant-timeline-item-head,.ant-timeline.ant-timeline-right .ant-timeline-item-head{margin-left:-4px}.ant-timeline.ant-timeline-alternate .ant-timeline-item-head-custom,.ant-timeline.ant-timeline-label .ant-timeline-item-head-custom,.ant-timeline.ant-timeline-right .ant-timeline-item-head-custom{margin-left:1px}.ant-timeline.ant-timeline-alternate .ant-timeline-item-left .ant-timeline-item-content,.ant-timeline.ant-timeline-label .ant-timeline-item-left .ant-timeline-item-content,.ant-timeline.ant-timeline-right .ant-timeline-item-left .ant-timeline-item-content{left:calc(50% - 4px);width:calc(50% - 14px);text-align:left}.ant-timeline.ant-timeline-alternate .ant-timeline-item-right .ant-timeline-item-content,.ant-timeline.ant-timeline-label .ant-timeline-item-right .ant-timeline-item-content,.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-content{width:calc(50% - 12px);margin:0;text-align:right}.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-head,.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-head-custom,.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-tail{left:calc(100% - 6px)}.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-content{width:calc(100% - 18px)}.ant-timeline.ant-timeline-pending .ant-timeline-item-last .ant-timeline-item-tail{display:block;height:calc(100% - 14px);border-left:2px dotted #f0f0f0}.ant-timeline.ant-timeline-reverse .ant-timeline-item-last .ant-timeline-item-tail{display:none}.ant-timeline.ant-timeline-reverse .ant-timeline-item-pending .ant-timeline-item-tail{top:15px;display:block;height:calc(100% - 15px);border-left:2px dotted #f0f0f0}.ant-timeline.ant-timeline-reverse .ant-timeline-item-pending .ant-timeline-item-content{min-height:48px}.ant-timeline.ant-timeline-label .ant-timeline-item-label{position:absolute;top:-7.001px;width:calc(50% - 12px);text-align:right}.ant-timeline.ant-timeline-label .ant-timeline-item-right .ant-timeline-item-label{left:calc(50% + 14px);width:calc(50% - 14px);text-align:left}.ant-timeline-rtl{direction:rtl}.ant-timeline-rtl .ant-timeline-item-tail{right:4px;left:auto;border-right:2px solid #f0f0f0;border-left:none}.ant-timeline-rtl .ant-timeline-item-head-custom{right:5px;left:auto;transform:translate(50%,-50%)}.ant-timeline-rtl .ant-timeline-item-content{margin:0 18px 0 0}.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-head,.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-head-custom,.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-tail,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-head,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-head-custom,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-tail,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-head,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-head-custom,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-tail{right:50%;left:auto}.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-head,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-head,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-head{margin-right:-4px;margin-left:0}.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-head-custom,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-head-custom,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-head-custom{margin-right:1px;margin-left:0}.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-left .ant-timeline-item-content,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-left .ant-timeline-item-content,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-left .ant-timeline-item-content{right:calc(50% - 4px);left:auto;text-align:right}.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-right .ant-timeline-item-content,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-right .ant-timeline-item-content,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-content{text-align:left}.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-head,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-head-custom,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-tail{right:0;left:auto}.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-content{width:100%;margin-right:18px;text-align:right}.ant-timeline-rtl.ant-timeline.ant-timeline-pending .ant-timeline-item-last .ant-timeline-item-tail,.ant-timeline-rtl.ant-timeline.ant-timeline-reverse .ant-timeline-item-pending .ant-timeline-item-tail{border-right:2px dotted #f0f0f0;border-left:none}.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-label{text-align:left}.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-right .ant-timeline-item-label{right:calc(50% + 14px);text-align:right}.ant-tooltip{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:absolute;z-index:1070;display:block;width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:250px;visibility:visible}.ant-tooltip-hidden{display:none}.ant-tooltip-placement-top,.ant-tooltip-placement-topLeft,.ant-tooltip-placement-topRight{padding-bottom:8px}.ant-tooltip-placement-right,.ant-tooltip-placement-rightBottom,.ant-tooltip-placement-rightTop{padding-left:8px}.ant-tooltip-placement-bottom,.ant-tooltip-placement-bottomLeft,.ant-tooltip-placement-bottomRight{padding-top:8px}.ant-tooltip-placement-left,.ant-tooltip-placement-leftBottom,.ant-tooltip-placement-leftTop{padding-right:8px}.ant-tooltip-inner{min-width:30px;min-height:32px;padding:6px 8px;color:#fff;text-align:left;text-decoration:none;word-wrap:break-word;background-color:rgba(0,0,0,.75);border-radius:2px;box-shadow:0 3px 6px -4px rgba(0,0,0,.12),0 6px 16px 0 rgba(0,0,0,.08),0 9px 28px 8px rgba(0,0,0,.05)}.ant-tooltip-arrow{position:absolute;display:block;width:13.07106781px;height:13.07106781px;overflow:hidden;background:transparent;pointer-events:none}.ant-tooltip-arrow-content{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:5px;height:5px;margin:auto;background-color:rgba(0,0,0,.75);content:"";pointer-events:auto}.ant-tooltip-placement-top .ant-tooltip-arrow,.ant-tooltip-placement-topLeft .ant-tooltip-arrow,.ant-tooltip-placement-topRight .ant-tooltip-arrow{bottom:-5.07106781px}.ant-tooltip-placement-top .ant-tooltip-arrow-content,.ant-tooltip-placement-topLeft .ant-tooltip-arrow-content,.ant-tooltip-placement-topRight .ant-tooltip-arrow-content{box-shadow:3px 3px 7px rgba(0,0,0,.07);transform:translateY(-6.53553391px) rotate(45deg)}.ant-tooltip-placement-top .ant-tooltip-arrow{left:50%;transform:translateX(-50%)}.ant-tooltip-placement-topLeft .ant-tooltip-arrow{left:13px}.ant-tooltip-placement-topRight .ant-tooltip-arrow{right:13px}.ant-tooltip-placement-right .ant-tooltip-arrow,.ant-tooltip-placement-rightBottom .ant-tooltip-arrow,.ant-tooltip-placement-rightTop .ant-tooltip-arrow{left:-5.07106781px}.ant-tooltip-placement-right .ant-tooltip-arrow-content,.ant-tooltip-placement-rightBottom .ant-tooltip-arrow-content,.ant-tooltip-placement-rightTop .ant-tooltip-arrow-content{box-shadow:-3px 3px 7px rgba(0,0,0,.07);transform:translateX(6.53553391px) rotate(45deg)}.ant-tooltip-placement-right .ant-tooltip-arrow{top:50%;transform:translateY(-50%)}.ant-tooltip-placement-rightTop .ant-tooltip-arrow{top:5px}.ant-tooltip-placement-rightBottom .ant-tooltip-arrow{bottom:5px}.ant-tooltip-placement-left .ant-tooltip-arrow,.ant-tooltip-placement-leftBottom .ant-tooltip-arrow,.ant-tooltip-placement-leftTop .ant-tooltip-arrow{right:-5.07106781px}.ant-tooltip-placement-left .ant-tooltip-arrow-content,.ant-tooltip-placement-leftBottom .ant-tooltip-arrow-content,.ant-tooltip-placement-leftTop .ant-tooltip-arrow-content{box-shadow:3px -3px 7px rgba(0,0,0,.07);transform:translateX(-6.53553391px) rotate(45deg)}.ant-tooltip-placement-left .ant-tooltip-arrow{top:50%;transform:translateY(-50%)}.ant-tooltip-placement-leftTop .ant-tooltip-arrow{top:5px}.ant-tooltip-placement-leftBottom .ant-tooltip-arrow{bottom:5px}.ant-tooltip-placement-bottom .ant-tooltip-arrow,.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow,.ant-tooltip-placement-bottomRight .ant-tooltip-arrow{top:-5.07106781px}.ant-tooltip-placement-bottom .ant-tooltip-arrow-content,.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow-content,.ant-tooltip-placement-bottomRight .ant-tooltip-arrow-content{box-shadow:-3px -3px 7px rgba(0,0,0,.07);transform:translateY(6.53553391px) rotate(45deg)}.ant-tooltip-placement-bottom .ant-tooltip-arrow{left:50%;transform:translateX(-50%)}.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow{left:13px}.ant-tooltip-placement-bottomRight .ant-tooltip-arrow{right:13px}.ant-tooltip-magenta .ant-tooltip-arrow-content,.ant-tooltip-magenta .ant-tooltip-inner,.ant-tooltip-pink .ant-tooltip-arrow-content,.ant-tooltip-pink .ant-tooltip-inner{background-color:#eb2f96}.ant-tooltip-red .ant-tooltip-arrow-content,.ant-tooltip-red .ant-tooltip-inner{background-color:#f5222d}.ant-tooltip-volcano .ant-tooltip-arrow-content,.ant-tooltip-volcano .ant-tooltip-inner{background-color:#fa541c}.ant-tooltip-orange .ant-tooltip-arrow-content,.ant-tooltip-orange .ant-tooltip-inner{background-color:#fa8c16}.ant-tooltip-yellow .ant-tooltip-arrow-content,.ant-tooltip-yellow .ant-tooltip-inner{background-color:#fadb14}.ant-tooltip-gold .ant-tooltip-arrow-content,.ant-tooltip-gold .ant-tooltip-inner{background-color:#faad14}.ant-tooltip-cyan .ant-tooltip-arrow-content,.ant-tooltip-cyan .ant-tooltip-inner{background-color:#13c2c2}.ant-tooltip-lime .ant-tooltip-arrow-content,.ant-tooltip-lime .ant-tooltip-inner{background-color:#a0d911}.ant-tooltip-green .ant-tooltip-arrow-content,.ant-tooltip-green .ant-tooltip-inner{background-color:#52c41a}.ant-tooltip-blue .ant-tooltip-arrow-content,.ant-tooltip-blue .ant-tooltip-inner{background-color:#1890ff}.ant-tooltip-geekblue .ant-tooltip-arrow-content,.ant-tooltip-geekblue .ant-tooltip-inner{background-color:#2f54eb}.ant-tooltip-purple .ant-tooltip-arrow-content,.ant-tooltip-purple .ant-tooltip-inner{background-color:#722ed1}.ant-tooltip-rtl{direction:rtl}.ant-tooltip-rtl .ant-tooltip-inner{text-align:right}.ant-transfer-customize-list .ant-transfer-list{flex:1 1 50%;width:auto;height:auto;min-height:200px}.ant-transfer-customize-list .ant-table-wrapper .ant-table-small{border:0;border-radius:0}.ant-transfer-customize-list .ant-table-wrapper .ant-table-small .ant-table-selection-column{width:40px;min-width:40px}.ant-transfer-customize-list .ant-table-wrapper .ant-table-small>.ant-table-content>.ant-table-body>table>.ant-table-thead>tr>th{background:#fafafa}.ant-transfer-customize-list .ant-table-wrapper .ant-table-small>.ant-table-content .ant-table-row:last-child td{border-bottom:1px solid #f0f0f0}.ant-transfer-customize-list .ant-table-wrapper .ant-table-small .ant-table-body{margin:0}.ant-transfer-customize-list .ant-table-wrapper .ant-table-pagination.ant-pagination{margin:16px 0 4px}.ant-transfer-customize-list .ant-input[disabled]{background-color:transparent}.ant-transfer{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;display:flex;align-items:stretch}.ant-transfer-disabled .ant-transfer-list{background:#f5f5f5}.ant-transfer-list{display:flex;flex-direction:column;width:180px;height:200px;border:1px solid #d9d9d9;border-radius:2px}.ant-transfer-list-with-pagination{width:250px;height:auto}.ant-transfer-list-search{padding-right:24px;padding-left:8px}.ant-transfer-list-search-action{position:absolute;top:12px;right:12px;bottom:12px;width:28px;color:rgba(0,0,0,.25);line-height:32px;text-align:center}.ant-transfer-list-search-action .anticon{color:rgba(0,0,0,.25);transition:all .3s}.ant-transfer-list-search-action .anticon:hover{color:rgba(0,0,0,.45)}span.ant-transfer-list-search-action{pointer-events:none}.ant-transfer-list-header{display:flex;flex:none;align-items:center;height:40px;padding:8px 12px 9px;color:rgba(0,0,0,.85);background:#fff;border-bottom:1px solid #f0f0f0;border-radius:2px 2px 0 0}.ant-transfer-list-header>:not(:last-child){margin-right:4px}.ant-transfer-list-header>*{flex:none}.ant-transfer-list-header-title{flex:auto;overflow:hidden;white-space:nowrap;text-align:right;text-overflow:ellipsis}.ant-transfer-list-header-dropdown{font-size:10px;transform:translateY(10%);cursor:pointer}.ant-transfer-list-header-dropdown[disabled]{cursor:not-allowed}.ant-transfer-list-body{display:flex;flex:auto;flex-direction:column;overflow:hidden;font-size:14px}.ant-transfer-list-body-search-wrapper{position:relative;flex:none;padding:12px}.ant-transfer-list-content{flex:auto;margin:0;padding:0;overflow:auto;list-style:none}.ant-transfer-list-content-item{display:flex;align-items:center;min-height:32px;padding:6px 12px;line-height:20px;transition:all .3s}.ant-transfer-list-content-item>:not(:last-child){margin-right:8px}.ant-transfer-list-content-item>*{flex:none}.ant-transfer-list-content-item-text{flex:auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-transfer-list-content-item-remove{color:#1890ff;text-decoration:none;outline:none;cursor:pointer;transition:color .3s;position:relative;color:#d9d9d9}.ant-transfer-list-content-item-remove:focus,.ant-transfer-list-content-item-remove:hover{color:#40a9ff}.ant-transfer-list-content-item-remove:active{color:#096dd9}.ant-transfer-list-content-item-remove:after{position:absolute;top:-6px;right:-50%;bottom:-6px;left:-50%;content:""}.ant-transfer-list-content-item-remove:hover{color:#40a9ff}.ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled):hover{background-color:#f5f5f5;cursor:pointer}.ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled).ant-transfer-list-content-item-checked:hover{background-color:#dcf4ff}.ant-transfer-list-content-show-remove .ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled):hover{background:transparent;cursor:default}.ant-transfer-list-content-item-checked{background-color:#e6f7ff}.ant-transfer-list-content-item-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-transfer-list-pagination{padding:8px 0;text-align:right;border-top:1px solid #f0f0f0}.ant-transfer-list-body-not-found{flex:none;width:100%;margin:auto 0;color:rgba(0,0,0,.25);text-align:center}.ant-transfer-list-footer{border-top:1px solid #f0f0f0}.ant-transfer-operation{display:flex;flex:none;flex-direction:column;align-self:center;margin:0 8px;vertical-align:middle}.ant-transfer-operation .ant-btn{display:block}.ant-transfer-operation .ant-btn:first-child{margin-bottom:4px}.ant-transfer-operation .ant-btn .anticon{font-size:12px}.ant-transfer .ant-empty-image{max-height:-2px}.ant-transfer-rtl{direction:rtl}.ant-transfer-rtl .ant-transfer-list-search{padding-right:8px;padding-left:24px}.ant-transfer-rtl .ant-transfer-list-search-action{right:auto;left:12px}.ant-transfer-rtl .ant-transfer-list-header>:not(:last-child){margin-right:0;margin-left:4px}.ant-transfer-rtl .ant-transfer-list-header{right:0;left:auto}.ant-transfer-rtl .ant-transfer-list-header-title{text-align:left}.ant-transfer-rtl .ant-transfer-list-content-item>:not(:last-child){margin-right:0;margin-left:8px}.ant-transfer-rtl .ant-transfer-list-pagination{text-align:left}.ant-transfer-rtl .ant-transfer-list-footer{right:0;left:auto}.ant-select-tree-checkbox{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;top:.2em;line-height:1;white-space:nowrap;outline:none;cursor:pointer}.ant-select-tree-checkbox-input:focus+.ant-select-tree-checkbox-inner,.ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox-inner,.ant-select-tree-checkbox:hover .ant-select-tree-checkbox-inner{border-color:#1890ff}.ant-select-tree-checkbox-checked:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #1890ff;border-radius:2px;visibility:hidden;-webkit-animation:antCheckboxEffect .36s ease-in-out;animation:antCheckboxEffect .36s ease-in-out;-webkit-animation-fill-mode:backwards;animation-fill-mode:backwards;content:""}.ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox:after,.ant-select-tree-checkbox:hover:after{visibility:visible}.ant-select-tree-checkbox-inner{position:relative;top:0;left:0;display:block;width:16px;height:16px;direction:ltr;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;border-collapse:separate;transition:all .3s}.ant-select-tree-checkbox-inner:after{position:absolute;top:50%;left:21.5%;display:table;width:5.71428571px;height:9.14285714px;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(0) translate(-50%,-50%);opacity:0;transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;content:" "}.ant-select-tree-checkbox-input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;cursor:pointer;opacity:0}.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner:after{position:absolute;display:table;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(1) translate(-50%,-50%);opacity:1;transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;content:" "}.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner{background-color:#1890ff;border-color:#1890ff}.ant-select-tree-checkbox-disabled{cursor:not-allowed}.ant-select-tree-checkbox-disabled.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner:after{border-color:rgba(0,0,0,.25);-webkit-animation-name:none;animation-name:none}.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-input{cursor:not-allowed}.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner{background-color:#f5f5f5;border-color:#d9d9d9!important}.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner:after{border-color:#f5f5f5;border-collapse:separate;-webkit-animation-name:none;animation-name:none}.ant-select-tree-checkbox-disabled+span{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-select-tree-checkbox-disabled:hover:after,.ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox-disabled:after{visibility:hidden}.ant-select-tree-checkbox-wrapper{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";display:inline-flex;align-items:baseline;line-height:unset;cursor:pointer}.ant-select-tree-checkbox-wrapper:after{display:inline-block;width:0;overflow:hidden;content:"\\a0"}.ant-select-tree-checkbox-wrapper.ant-select-tree-checkbox-wrapper-disabled{cursor:not-allowed}.ant-select-tree-checkbox-wrapper+.ant-select-tree-checkbox-wrapper{margin-left:8px}.ant-select-tree-checkbox+span{padding-right:8px;padding-left:8px}.ant-select-tree-checkbox-group{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";display:inline-block}.ant-select-tree-checkbox-group-item{margin-right:8px}.ant-select-tree-checkbox-group-item:last-child{margin-right:0}.ant-select-tree-checkbox-group-item+.ant-select-tree-checkbox-group-item{margin-left:0}.ant-select-tree-checkbox-indeterminate .ant-select-tree-checkbox-inner{background-color:#fff;border-color:#d9d9d9}.ant-select-tree-checkbox-indeterminate .ant-select-tree-checkbox-inner:after{top:50%;left:50%;width:8px;height:8px;background-color:#1890ff;border:0;transform:translate(-50%,-50%) scale(1);opacity:1;content:" "}.ant-select-tree-checkbox-indeterminate.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner:after{background-color:rgba(0,0,0,.25);border-color:rgba(0,0,0,.25)}.ant-tree-select-dropdown{padding:8px 4px 0}.ant-tree-select-dropdown-rtl{direction:rtl}.ant-tree-select-dropdown .ant-select-tree{border-radius:0}.ant-tree-select-dropdown .ant-select-tree-list-holder-inner{align-items:stretch}.ant-tree-select-dropdown .ant-select-tree-list-holder-inner .ant-select-tree-treenode{padding-bottom:8px}.ant-tree-select-dropdown .ant-select-tree-list-holder-inner .ant-select-tree-treenode .ant-select-tree-node-content-wrapper{flex:auto}.ant-select-tree{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";background:#fff;border-radius:2px;transition:background-color .3s}.ant-select-tree-focused:not(:hover):not(.ant-select-tree-active-focused){background:#e6f7ff}.ant-select-tree-list-holder-inner{align-items:flex-start}.ant-select-tree.ant-select-tree-block-node .ant-select-tree-list-holder-inner{align-items:stretch}.ant-select-tree.ant-select-tree-block-node .ant-select-tree-list-holder-inner .ant-select-tree-node-content-wrapper{flex:auto}.ant-select-tree .ant-select-tree-treenode{display:flex;align-items:flex-start;padding:0 0 4px;outline:none}.ant-select-tree .ant-select-tree-treenode-disabled .ant-select-tree-node-content-wrapper{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-select-tree .ant-select-tree-treenode-disabled .ant-select-tree-node-content-wrapper:hover{background:transparent}.ant-select-tree .ant-select-tree-treenode-active .ant-select-tree-node-content-wrapper{background:#f5f5f5}.ant-select-tree .ant-select-tree-treenode:not(.ant-select-tree .ant-select-tree-treenode-disabled).filter-node .ant-select-tree-title{color:inherit;font-weight:500}.ant-select-tree-indent{align-self:stretch;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-select-tree-indent-unit{display:inline-block;width:24px}.ant-select-tree-switcher{position:relative;flex:none;align-self:stretch;width:24px;margin:0;line-height:24px;text-align:center;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-select-tree-switcher .ant-select-tree-switcher-icon,.ant-select-tree-switcher .ant-tree-switcher-icon{display:inline-block;font-size:10px;vertical-align:baseline}.ant-select-tree-switcher .ant-select-tree-switcher-icon svg,.ant-select-tree-switcher .ant-tree-switcher-icon svg{transition:transform .3s}.ant-select-tree-switcher-noop{cursor:default}.ant-select-tree-switcher_close .ant-select-tree-switcher-icon svg{transform:rotate(-90deg)}.ant-select-tree-switcher-loading-icon{color:#1890ff}.ant-select-tree-switcher-leaf-line{position:relative;z-index:1;display:inline-block;width:100%;height:100%}.ant-select-tree-switcher-leaf-line:before{position:absolute;top:0;bottom:-4px;margin-left:-1px;border-left:1px solid #d9d9d9;content:" "}.ant-select-tree-switcher-leaf-line:after{position:absolute;width:10px;height:14px;margin-left:-1px;border-bottom:1px solid #d9d9d9;content:" "}.ant-select-tree-checkbox{top:auto;margin:4px 8px 0 0}.ant-select-tree .ant-select-tree-node-content-wrapper{position:relative;z-index:auto;min-height:24px;margin:0;padding:0 4px;color:inherit;line-height:24px;background:transparent;border-radius:2px;cursor:pointer;transition:all .3s,border 0s,line-height 0s,box-shadow 0s}.ant-select-tree .ant-select-tree-node-content-wrapper:hover{background-color:#f5f5f5}.ant-select-tree .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected{background-color:#bae7ff}.ant-select-tree .ant-select-tree-node-content-wrapper .ant-select-tree-iconEle{display:inline-block;width:24px;height:24px;line-height:24px;text-align:center;vertical-align:top}.ant-select-tree .ant-select-tree-node-content-wrapper .ant-select-tree-iconEle:empty{display:none}.ant-select-tree-unselectable .ant-select-tree-node-content-wrapper:hover{background-color:transparent}.ant-select-tree-node-content-wrapper[draggable=true]{line-height:24px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-select-tree-node-content-wrapper[draggable=true] .ant-tree-drop-indicator{position:absolute;z-index:1;height:2px;background-color:#1890ff;border-radius:1px;pointer-events:none}.ant-select-tree-node-content-wrapper[draggable=true] .ant-tree-drop-indicator:after{position:absolute;top:-3px;left:-6px;width:8px;height:8px;background-color:transparent;border:2px solid #1890ff;border-radius:50%;content:""}.ant-select-tree .ant-select-tree-treenode.drop-container>[draggable]{box-shadow:0 0 0 2px #1890ff}.ant-select-tree-show-line .ant-select-tree-indent-unit{position:relative;height:100%}.ant-select-tree-show-line .ant-select-tree-indent-unit:before{position:absolute;top:0;right:12px;bottom:-4px;border-right:1px solid #d9d9d9;content:""}.ant-select-tree-show-line .ant-select-tree-indent-unit-end:before{display:none}.ant-select-tree-show-line .ant-select-tree-switcher{background:#fff}.ant-select-tree-show-line .ant-select-tree-switcher-line-icon{vertical-align:-.225em}.ant-tree-select-dropdown-rtl .ant-select-tree .ant-select-tree-switcher_close .ant-select-tree-switcher-icon svg{transform:rotate(90deg)}.ant-tree-select-dropdown-rtl .ant-select-tree .ant-select-tree-switcher-loading-icon{transform:scaleY(-1)}@-webkit-keyframes antCheckboxEffect{0%{transform:scale(1);opacity:.5}to{transform:scale(1.6);opacity:0}}@keyframes antCheckboxEffect{0%{transform:scale(1);opacity:.5}to{transform:scale(1.6);opacity:0}}.ant-tree-treenode-leaf-last .ant-tree-switcher-leaf-line:before{top:auto!important;bottom:auto!important;height:14px!important}.ant-tree.ant-tree-directory .ant-tree-treenode{position:relative}.ant-tree.ant-tree-directory .ant-tree-treenode:before{position:absolute;top:0;right:0;bottom:4px;left:0;transition:background-color .3s;content:"";pointer-events:none}.ant-tree.ant-tree-directory .ant-tree-treenode:hover:before{background:#f5f5f5}.ant-tree.ant-tree-directory .ant-tree-treenode>*{z-index:1}.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-switcher{transition:color .3s}.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-node-content-wrapper{border-radius:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-node-content-wrapper:hover{background:transparent}.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-node-content-wrapper.ant-tree-node-selected{color:#fff;background:transparent}.ant-tree.ant-tree-directory .ant-tree-treenode-selected:before,.ant-tree.ant-tree-directory .ant-tree-treenode-selected:hover:before{background:#1890ff}.ant-tree.ant-tree-directory .ant-tree-treenode-selected .ant-tree-switcher{color:#fff}.ant-tree.ant-tree-directory .ant-tree-treenode-selected .ant-tree-node-content-wrapper{color:#fff;background:transparent}.ant-tree-checkbox{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";position:relative;top:.2em;line-height:1;white-space:nowrap;outline:none;cursor:pointer}.ant-tree-checkbox-input:focus+.ant-tree-checkbox-inner,.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox-inner,.ant-tree-checkbox:hover .ant-tree-checkbox-inner{border-color:#1890ff}.ant-tree-checkbox-checked:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #1890ff;border-radius:2px;visibility:hidden;-webkit-animation:antCheckboxEffect .36s ease-in-out;animation:antCheckboxEffect .36s ease-in-out;-webkit-animation-fill-mode:backwards;animation-fill-mode:backwards;content:""}.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox:after,.ant-tree-checkbox:hover:after{visibility:visible}.ant-tree-checkbox-inner{position:relative;top:0;left:0;display:block;width:16px;height:16px;direction:ltr;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;border-collapse:separate;transition:all .3s}.ant-tree-checkbox-inner:after{position:absolute;top:50%;left:21.5%;display:table;width:5.71428571px;height:9.14285714px;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(0) translate(-50%,-50%);opacity:0;transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;content:" "}.ant-tree-checkbox-input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;cursor:pointer;opacity:0}.ant-tree-checkbox-checked .ant-tree-checkbox-inner:after{position:absolute;display:table;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(1) translate(-50%,-50%);opacity:1;transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;content:" "}.ant-tree-checkbox-checked .ant-tree-checkbox-inner{background-color:#1890ff;border-color:#1890ff}.ant-tree-checkbox-disabled{cursor:not-allowed}.ant-tree-checkbox-disabled.ant-tree-checkbox-checked .ant-tree-checkbox-inner:after{border-color:rgba(0,0,0,.25);-webkit-animation-name:none;animation-name:none}.ant-tree-checkbox-disabled .ant-tree-checkbox-input{cursor:not-allowed}.ant-tree-checkbox-disabled .ant-tree-checkbox-inner{background-color:#f5f5f5;border-color:#d9d9d9!important}.ant-tree-checkbox-disabled .ant-tree-checkbox-inner:after{border-color:#f5f5f5;border-collapse:separate;-webkit-animation-name:none;animation-name:none}.ant-tree-checkbox-disabled+span{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-tree-checkbox-disabled:hover:after,.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox-disabled:after{visibility:hidden}.ant-tree-checkbox-wrapper{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";display:inline-flex;align-items:baseline;line-height:unset;cursor:pointer}.ant-tree-checkbox-wrapper:after{display:inline-block;width:0;overflow:hidden;content:"\\a0"}.ant-tree-checkbox-wrapper.ant-tree-checkbox-wrapper-disabled{cursor:not-allowed}.ant-tree-checkbox-wrapper+.ant-tree-checkbox-wrapper{margin-left:8px}.ant-tree-checkbox+span{padding-right:8px;padding-left:8px}.ant-tree-checkbox-group{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";display:inline-block}.ant-tree-checkbox-group-item{margin-right:8px}.ant-tree-checkbox-group-item:last-child{margin-right:0}.ant-tree-checkbox-group-item+.ant-tree-checkbox-group-item{margin-left:0}.ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner{background-color:#fff;border-color:#d9d9d9}.ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner:after{top:50%;left:50%;width:8px;height:8px;background-color:#1890ff;border:0;transform:translate(-50%,-50%) scale(1);opacity:1;content:" "}.ant-tree-checkbox-indeterminate.ant-tree-checkbox-disabled .ant-tree-checkbox-inner:after{background-color:rgba(0,0,0,.25);border-color:rgba(0,0,0,.25)}.ant-tree{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";background:#fff;border-radius:2px;transition:background-color .3s}.ant-tree-focused:not(:hover):not(.ant-tree-active-focused){background:#e6f7ff}.ant-tree-list-holder-inner{align-items:flex-start}.ant-tree.ant-tree-block-node .ant-tree-list-holder-inner{align-items:stretch}.ant-tree.ant-tree-block-node .ant-tree-list-holder-inner .ant-tree-node-content-wrapper{flex:auto}.ant-tree .ant-tree-treenode{display:flex;align-items:flex-start;padding:0 0 4px;outline:none}.ant-tree .ant-tree-treenode-disabled .ant-tree-node-content-wrapper{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-tree .ant-tree-treenode-disabled .ant-tree-node-content-wrapper:hover{background:transparent}.ant-tree .ant-tree-treenode-active .ant-tree-node-content-wrapper{background:#f5f5f5}.ant-tree .ant-tree-treenode:not(.ant-tree .ant-tree-treenode-disabled).filter-node .ant-tree-title{color:inherit;font-weight:500}.ant-tree-indent{align-self:stretch;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-tree-indent-unit{display:inline-block;width:24px}.ant-tree-switcher{position:relative;flex:none;align-self:stretch;width:24px;margin:0;line-height:24px;text-align:center;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-tree-switcher .ant-select-tree-switcher-icon,.ant-tree-switcher .ant-tree-switcher-icon{display:inline-block;font-size:10px;vertical-align:baseline}.ant-tree-switcher .ant-select-tree-switcher-icon svg,.ant-tree-switcher .ant-tree-switcher-icon svg{transition:transform .3s}.ant-tree-switcher-noop{cursor:default}.ant-tree-switcher_close .ant-tree-switcher-icon svg{transform:rotate(-90deg)}.ant-tree-switcher-loading-icon{color:#1890ff}.ant-tree-switcher-leaf-line{position:relative;z-index:1;display:inline-block;width:100%;height:100%}.ant-tree-switcher-leaf-line:before{position:absolute;top:0;bottom:-4px;margin-left:-1px;border-left:1px solid #d9d9d9;content:" "}.ant-tree-switcher-leaf-line:after{position:absolute;width:10px;height:14px;margin-left:-1px;border-bottom:1px solid #d9d9d9;content:" "}.ant-tree-checkbox{top:auto;margin:4px 8px 0 0}.ant-tree .ant-tree-node-content-wrapper{position:relative;z-index:auto;min-height:24px;margin:0;padding:0 4px;color:inherit;line-height:24px;background:transparent;border-radius:2px;cursor:pointer;transition:all .3s,border 0s,line-height 0s,box-shadow 0s}.ant-tree .ant-tree-node-content-wrapper:hover{background-color:#f5f5f5}.ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected{background-color:#bae7ff}.ant-tree .ant-tree-node-content-wrapper .ant-tree-iconEle{display:inline-block;width:24px;height:24px;line-height:24px;text-align:center;vertical-align:top}.ant-tree .ant-tree-node-content-wrapper .ant-tree-iconEle:empty{display:none}.ant-tree-unselectable .ant-tree-node-content-wrapper:hover{background-color:transparent}.ant-tree-node-content-wrapper[draggable=true]{line-height:24px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-tree-node-content-wrapper[draggable=true] .ant-tree-drop-indicator{position:absolute;z-index:1;height:2px;background-color:#1890ff;border-radius:1px;pointer-events:none}.ant-tree-node-content-wrapper[draggable=true] .ant-tree-drop-indicator:after{position:absolute;top:-3px;left:-6px;width:8px;height:8px;background-color:transparent;border:2px solid #1890ff;border-radius:50%;content:""}.ant-tree .ant-tree-treenode.drop-container>[draggable]{box-shadow:0 0 0 2px #1890ff}.ant-tree-show-line .ant-tree-indent-unit{position:relative;height:100%}.ant-tree-show-line .ant-tree-indent-unit:before{position:absolute;top:0;right:12px;bottom:-4px;border-right:1px solid #d9d9d9;content:""}.ant-tree-show-line .ant-tree-indent-unit-end:before{display:none}.ant-tree-show-line .ant-tree-switcher{background:#fff}.ant-tree-show-line .ant-tree-switcher-line-icon{vertical-align:-.225em}.ant-tree-rtl{direction:rtl}.ant-tree-rtl .ant-tree-node-content-wrapper[draggable=true] .ant-tree-drop-indicator:after{right:-6px;left:unset}.ant-tree .ant-tree-treenode-rtl{direction:rtl}.ant-tree-rtl .ant-tree-switcher_close .ant-tree-switcher-icon svg{transform:rotate(90deg)}.ant-tree-rtl.ant-tree-show-line .ant-tree-indent-unit:before{right:auto;left:-13px;border-right:none;border-left:1px solid #d9d9d9}.ant-tree-rtl.ant-tree-checkbox,.ant-tree-select-dropdown-rtl .ant-select-tree-checkbox{margin:4px 0 0 8px}.ant-typography{color:rgba(0,0,0,.85);overflow-wrap:break-word}.ant-typography.ant-typography-secondary{color:rgba(0,0,0,.45)}.ant-typography.ant-typography-success{color:#52c41a}.ant-typography.ant-typography-warning{color:#faad14}.ant-typography.ant-typography-danger{color:#ff4d4f}a.ant-typography.ant-typography-danger:active,a.ant-typography.ant-typography-danger:focus,a.ant-typography.ant-typography-danger:hover{color:#ff7875}.ant-typography.ant-typography-disabled{color:rgba(0,0,0,.25);cursor:not-allowed;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-typography p,div.ant-typography{margin-bottom:1em}.ant-typography h1,h1.ant-typography{margin-bottom:.5em;color:rgba(0,0,0,.85);font-weight:600;font-size:38px;line-height:1.23}.ant-typography h2,h2.ant-typography{margin-bottom:.5em;color:rgba(0,0,0,.85);font-weight:600;font-size:30px;line-height:1.35}.ant-typography h3,h3.ant-typography{margin-bottom:.5em;color:rgba(0,0,0,.85);font-weight:600;font-size:24px;line-height:1.35}.ant-typography h4,h4.ant-typography{margin-bottom:.5em;color:rgba(0,0,0,.85);font-weight:600;font-size:20px;line-height:1.4}.ant-typography h5,h5.ant-typography{margin-bottom:.5em;color:rgba(0,0,0,.85);font-weight:600;font-size:16px;line-height:1.5}.ant-typography+h1.ant-typography,.ant-typography+h2.ant-typography,.ant-typography+h3.ant-typography,.ant-typography+h4.ant-typography,.ant-typography+h5.ant-typography,.ant-typography div+h1,.ant-typography div+h2,.ant-typography div+h3,.ant-typography div+h4,.ant-typography div+h5,.ant-typography h1+h1,.ant-typography h1+h2,.ant-typography h1+h3,.ant-typography h1+h4,.ant-typography h1+h5,.ant-typography h2+h1,.ant-typography h2+h2,.ant-typography h2+h3,.ant-typography h2+h4,.ant-typography h2+h5,.ant-typography h3+h1,.ant-typography h3+h2,.ant-typography h3+h3,.ant-typography h3+h4,.ant-typography h3+h5,.ant-typography h4+h1,.ant-typography h4+h2,.ant-typography h4+h3,.ant-typography h4+h4,.ant-typography h4+h5,.ant-typography h5+h1,.ant-typography h5+h2,.ant-typography h5+h3,.ant-typography h5+h4,.ant-typography h5+h5,.ant-typography li+h1,.ant-typography li+h2,.ant-typography li+h3,.ant-typography li+h4,.ant-typography li+h5,.ant-typography p+h1,.ant-typography p+h2,.ant-typography p+h3,.ant-typography p+h4,.ant-typography p+h5,.ant-typography ul+h1,.ant-typography ul+h2,.ant-typography ul+h3,.ant-typography ul+h4,.ant-typography ul+h5{margin-top:1.2em}a.ant-typography-ellipsis,span.ant-typography-ellipsis{display:inline-block;max-width:100%}.ant-typography a,a.ant-typography{color:#1890ff;outline:none;cursor:pointer;transition:color .3s;text-decoration:none}.ant-typography a:focus,.ant-typography a:hover,a.ant-typography:focus,a.ant-typography:hover{color:#40a9ff}.ant-typography a:active,a.ant-typography:active{color:#096dd9}.ant-typography a:active,.ant-typography a:hover,a.ant-typography:active,a.ant-typography:hover{text-decoration:none}.ant-typography a.ant-typography-disabled,.ant-typography a[disabled],a.ant-typography.ant-typography-disabled,a.ant-typography[disabled]{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-typography a.ant-typography-disabled:active,.ant-typography a.ant-typography-disabled:hover,.ant-typography a[disabled]:active,.ant-typography a[disabled]:hover,a.ant-typography.ant-typography-disabled:active,a.ant-typography.ant-typography-disabled:hover,a.ant-typography[disabled]:active,a.ant-typography[disabled]:hover{color:rgba(0,0,0,.25)}.ant-typography a.ant-typography-disabled:active,.ant-typography a[disabled]:active,a.ant-typography.ant-typography-disabled:active,a.ant-typography[disabled]:active{pointer-events:none}.ant-typography code{margin:0 .2em;padding:.2em .4em .1em;font-size:85%;background:hsla(0,0%,58.8%,.1);border:1px solid hsla(0,0%,39.2%,.2);border-radius:3px}.ant-typography kbd{margin:0 .2em;padding:.15em .4em .1em;font-size:90%;background:hsla(0,0%,58.8%,.06);border:solid hsla(0,0%,39.2%,.2);border-width:1px 1px 2px;border-radius:3px}.ant-typography mark{padding:0;background-color:#ffe58f}.ant-typography ins,.ant-typography u{text-decoration:underline;-webkit-text-decoration-skip:ink;text-decoration-skip-ink:auto}.ant-typography del,.ant-typography s{text-decoration:line-through}.ant-typography strong{font-weight:600}.ant-typography-copy,.ant-typography-edit,.ant-typography-expand{color:#1890ff;text-decoration:none;outline:none;cursor:pointer;transition:color .3s;margin-left:4px}.ant-typography-copy:focus,.ant-typography-copy:hover,.ant-typography-edit:focus,.ant-typography-edit:hover,.ant-typography-expand:focus,.ant-typography-expand:hover{color:#40a9ff}.ant-typography-copy:active,.ant-typography-edit:active,.ant-typography-expand:active{color:#096dd9}.ant-typography-copy-success,.ant-typography-copy-success:focus,.ant-typography-copy-success:hover{color:#52c41a}.ant-typography-edit-content{position:relative}div.ant-typography-edit-content{left:-12px;margin-top:-5px;margin-bottom:calc(1em - 5px)}.ant-typography-edit-content-confirm{position:absolute;right:10px;bottom:8px;color:rgba(0,0,0,.45);pointer-events:none}.ant-typography-edit-content textarea{-moz-transition:none}.ant-typography ol,.ant-typography ul{margin:0 0 1em;padding:0}.ant-typography ol li,.ant-typography ul li{margin:0 0 0 20px;padding:0 0 0 4px}.ant-typography ul{list-style-type:circle}.ant-typography ul ul{list-style-type:disc}.ant-typography ol{list-style-type:decimal}.ant-typography blockquote,.ant-typography pre{margin:1em 0}.ant-typography pre{padding:.4em .6em;white-space:pre-wrap;word-wrap:break-word;background:hsla(0,0%,58.8%,.1);border:1px solid hsla(0,0%,39.2%,.2);border-radius:3px}.ant-typography pre code{display:inline;margin:0;padding:0;font-size:inherit;font-family:inherit;background:transparent;border:0}.ant-typography blockquote{padding:0 0 0 .6em;border-left:4px solid hsla(0,0%,39.2%,.2);opacity:.85}.ant-typography-single-line{white-space:nowrap}.ant-typography-ellipsis-single-line{overflow:hidden;text-overflow:ellipsis}a.ant-typography-ellipsis-single-line,span.ant-typography-ellipsis-single-line{vertical-align:bottom}.ant-typography-ellipsis-multiple-line{display:-webkit-box;overflow:hidden;-webkit-line-clamp:3;\n  /*! autoprefixer: ignore next */-webkit-box-orient:vertical}.ant-typography-rtl{direction:rtl}.ant-typography-rtl .ant-typography-copy,.ant-typography-rtl .ant-typography-edit,.ant-typography-rtl .ant-typography-expand{margin-right:4px;margin-left:0}.ant-typography-rtl .ant-typography-expand{float:left}div.ant-typography-edit-content.ant-typography-rtl{right:-12px;left:auto}.ant-typography-rtl .ant-typography-edit-content-confirm{right:auto;left:10px}.ant-typography-rtl.ant-typography ol li,.ant-typography-rtl.ant-typography ul li{margin:0 20px 0 0;padding:0 4px 0 0}.ant-upload{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";outline:0}.ant-upload p{margin:0}.ant-upload-btn{display:block;width:100%;outline:none}.ant-upload input[type=file]{cursor:pointer}.ant-upload.ant-upload-select{display:inline-block}.ant-upload.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-select-picture-card{width:104px;height:104px;margin-right:8px;margin-bottom:8px;text-align:center;vertical-align:top;background-color:#fafafa;border:1px dashed #d9d9d9;border-radius:2px;cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-select-picture-card>.ant-upload{display:flex;align-items:center;justify-content:center;height:100%;text-align:center}.ant-upload.ant-upload-select-picture-card:hover{border-color:#1890ff}.ant-upload-disabled.ant-upload.ant-upload-select-picture-card:hover{border-color:#d9d9d9}.ant-upload.ant-upload-drag{position:relative;width:100%;height:100%;text-align:center;background:#fafafa;border:1px dashed #d9d9d9;border-radius:2px;cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-drag .ant-upload{padding:16px 0}.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled){border-color:#096dd9}.ant-upload.ant-upload-drag.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-drag .ant-upload-btn{display:table;height:100%}.ant-upload.ant-upload-drag .ant-upload-drag-container{display:table-cell;vertical-align:middle}.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover{border-color:#40a9ff}.ant-upload.ant-upload-drag p.ant-upload-drag-icon{margin-bottom:20px}.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon{color:#40a9ff;font-size:48px}.ant-upload.ant-upload-drag p.ant-upload-text{margin:0 0 4px;color:rgba(0,0,0,.85);font-size:16px}.ant-upload.ant-upload-drag p.ant-upload-hint{color:rgba(0,0,0,.45);font-size:14px}.ant-upload.ant-upload-drag .anticon-plus{color:rgba(0,0,0,.25);font-size:30px;transition:all .3s}.ant-upload.ant-upload-drag .anticon-plus:hover,.ant-upload.ant-upload-drag:hover .anticon-plus{color:rgba(0,0,0,.45)}.ant-upload-picture-card-wrapper{display:inline-block;width:100%}.ant-upload-picture-card-wrapper:before{display:table;content:""}.ant-upload-picture-card-wrapper:after{display:table;clear:both;content:""}.ant-upload-list{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";line-height:1.5715}.ant-upload-list:after,.ant-upload-list:before{display:table;content:""}.ant-upload-list:after{clear:both}.ant-upload-list-item{position:relative;height:22.001px;margin-top:8px;font-size:14px}.ant-upload-list-item-name{display:inline-block;width:100%;padding-left:22px;overflow:hidden;line-height:1.5715;white-space:nowrap;text-overflow:ellipsis}.ant-upload-list-item-card-actions{position:absolute;right:0}.ant-upload-list-item-card-actions-btn{opacity:0}.ant-upload-list-item-card-actions-btn.ant-btn-sm{height:20px;line-height:1}.ant-upload-list-item-card-actions.picture{top:22px;line-height:0}.ant-upload-list-item-card-actions-btn:focus,.ant-upload-list-item-card-actions.picture .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-card-actions .anticon{color:rgba(0,0,0,.45)}.ant-upload-list-item-info{height:100%;padding:0 4px;transition:background-color .3s}.ant-upload-list-item-info>span{display:block;width:100%;height:100%}.ant-upload-list-item-info .ant-upload-text-icon .anticon,.ant-upload-list-item-info .anticon-loading .anticon{position:absolute;top:5px;color:rgba(0,0,0,.45);font-size:14px}.ant-upload-list-item .anticon-close{position:absolute;top:6px;right:4px;color:rgba(0,0,0,.45);font-size:10px;line-height:0;cursor:pointer;opacity:0;transition:all .3s}.ant-upload-list-item .anticon-close:hover{color:rgba(0,0,0,.85)}.ant-upload-list-item:hover .ant-upload-list-item-info{background-color:#f5f5f5}.ant-upload-list-item:hover .ant-upload-list-item-card-actions-btn,.ant-upload-list-item:hover .anticon-close{opacity:1}.ant-upload-list-item-error,.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon,.ant-upload-list-item-error .ant-upload-list-item-name,.ant-upload-list-item-error .ant-upload-text-icon>.anticon{color:#ff4d4f}.ant-upload-list-item-error .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-progress{position:absolute;bottom:-12px;width:100%;padding-left:26px;font-size:14px;line-height:0}.ant-upload-list-picture-card .ant-upload-list-item,.ant-upload-list-picture .ant-upload-list-item{position:relative;height:66px;padding:8px;border:1px solid #d9d9d9;border-radius:2px}.ant-upload-list-picture-card .ant-upload-list-item:hover,.ant-upload-list-picture .ant-upload-list-item:hover{background:transparent}.ant-upload-list-picture-card .ant-upload-list-item-error,.ant-upload-list-picture .ant-upload-list-item-error{border-color:#ff4d4f}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info,.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info{background:transparent}.ant-upload-list-picture-card .ant-upload-list-item-uploading,.ant-upload-list-picture .ant-upload-list-item-uploading{border-style:dashed}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture .ant-upload-list-item-thumbnail{width:48px;height:48px;line-height:54px;text-align:center;opacity:.8}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail .anticon,.ant-upload-list-picture .ant-upload-list-item-thumbnail .anticon{font-size:26px}.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"],.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"]{fill:#fff2f0}.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"],.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"]{fill:#ff4d4f}.ant-upload-list-picture-card .ant-upload-list-item-icon,.ant-upload-list-picture .ant-upload-list-item-icon{position:absolute;top:50%;left:50%;font-size:26px;transform:translate(-50%,-50%)}.ant-upload-list-picture-card .ant-upload-list-item-icon .anticon,.ant-upload-list-picture .ant-upload-list-item-icon .anticon{font-size:26px}.ant-upload-list-picture-card .ant-upload-list-item-image,.ant-upload-list-picture .ant-upload-list-item-image{max-width:100%}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img,.ant-upload-list-picture .ant-upload-list-item-thumbnail img{display:block;width:48px;height:48px;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-name,.ant-upload-list-picture .ant-upload-list-item-name{display:inline-block;box-sizing:border-box;max-width:100%;margin:0 0 0 8px;padding-right:8px;padding-left:48px;overflow:hidden;line-height:44px;white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-name,.ant-upload-list-picture .ant-upload-list-item-uploading .ant-upload-list-item-name{line-height:28px}.ant-upload-list-picture-card .ant-upload-list-item-progress,.ant-upload-list-picture .ant-upload-list-item-progress{bottom:14px;width:calc(100% - 24px);margin-top:0;padding-left:56px}.ant-upload-list-picture-card .anticon-close,.ant-upload-list-picture .anticon-close{position:absolute;top:8px;right:8px;line-height:1;opacity:1}.ant-upload-list-picture-card-container{display:inline-block;width:104px;height:104px;margin:0 8px 8px 0;vertical-align:top}.ant-upload-list-picture-card.ant-upload-list:after{display:none}.ant-upload-list-picture-card .ant-upload-list-item{height:100%;margin:0}.ant-upload-list-picture-card .ant-upload-list-item-info{position:relative;height:100%;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-info:before{position:absolute;z-index:1;width:100%;height:100%;background-color:rgba(0,0,0,.5);opacity:0;transition:all .3s;content:" "}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info:before{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-actions{position:absolute;top:50%;left:50%;z-index:10;white-space:nowrap;transform:translate(-50%,-50%);opacity:0;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye{z-index:10;width:16px;margin:0 4px;color:hsla(0,0%,100%,.85);font-size:16px;cursor:pointer;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye:hover{color:#fff}.ant-upload-list-picture-card .ant-upload-list-item-actions:hover,.ant-upload-list-picture-card .ant-upload-list-item-info:hover+.ant-upload-list-item-actions{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{position:static;display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.ant-upload-list-picture-card .ant-upload-list-item-name{display:none;margin:8px 0 0;padding:0;line-height:1.5715;text-align:center}.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{position:absolute;bottom:10px;display:block}.ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item{background-color:#fafafa}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info{height:auto}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info:before{display:none}.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:32px;width:calc(100% - 14px);padding-left:0}.ant-upload-list-picture-container,.ant-upload-list-text-container{transition:opacity .3s,height .3s}.ant-upload-list-picture-container:before,.ant-upload-list-text-container:before{display:table;width:0;height:0;content:""}.ant-upload-list-picture-container .ant-upload-span,.ant-upload-list-text-container .ant-upload-span{display:block;flex:auto}.ant-upload-list-picture .ant-upload-span,.ant-upload-list-text .ant-upload-span{display:flex;align-items:center}.ant-upload-list-picture .ant-upload-span>*,.ant-upload-list-text .ant-upload-span>*{flex:none}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-text .ant-upload-list-item-name{flex:auto;padding:0 8px}.ant-upload-list-picture .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-text-icon .anticon{position:static}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter,.ant-upload-list .ant-upload-animate-inline-leave{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:cubic-bezier(.78,.14,.15,.86);animation-fill-mode:cubic-bezier(.78,.14,.15,.86)}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter{-webkit-animation-name:uploadAnimateInlineIn;animation-name:uploadAnimateInlineIn}.ant-upload-list .ant-upload-animate-inline-leave{-webkit-animation-name:uploadAnimateInlineOut;animation-name:uploadAnimateInlineOut}@-webkit-keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@-webkit-keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}}.ant-upload-rtl{direction:rtl}.ant-upload-rtl.ant-upload.ant-upload-select-picture-card{margin-right:auto;margin-left:8px}.ant-upload-list-rtl{direction:rtl}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-1{padding-right:22px;padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-2{padding-right:22px;padding-left:28px}.ant-upload-list-rtl .ant-upload-list-item-name{padding-right:22px;padding-left:0}.ant-upload-list-rtl .ant-upload-list-item-name-icon-count-1{padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-card-actions{right:auto;left:0}.ant-upload-list-rtl .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-info{padding:0 4px 0 12px}.ant-upload-list-rtl .ant-upload-list-item .anticon-close{right:auto;left:4px}.ant-upload-list-rtl .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-progress{padding-right:26px;padding-left:0}.ant-upload-list-picture-card .ant-upload-list-item-info,.ant-upload-list-picture .ant-upload-list-item-info{padding:0}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-thumbnail{right:8px;left:auto}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-icon,.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-icon{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name,.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name{margin:0 8px 0 0;padding-right:48px;padding-left:8px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-1,.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-1{padding-right:48px;padding-left:18px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-2,.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-2{padding-right:48px;padding-left:36px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-progress,.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-progress{padding-right:0;padding-left:0}.ant-upload-list-rtl.ant-upload-list-picture-card .anticon-close,.ant-upload-list-rtl.ant-upload-list-picture .anticon-close{right:auto;left:8px}.ant-upload-list-rtl .ant-upload-list-picture-card-container{margin:0 0 8px 8px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-actions{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{margin:8px 0 0;padding:0}');s.default("/*!\n * \n * @godiva/components v1.0.0\n * \n * Copyright 2015-present, Alipay, Inc.\n * All rights reserved.\n *       \n */\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n[class^=ant-]::-ms-clear,\n[class*= ant-]::-ms-clear,\n[class^=ant-] input::-ms-clear,\n[class*= ant-] input::-ms-clear,\n[class^=ant-] input::-ms-reveal,\n[class*= ant-] input::-ms-reveal {\n  display: none;\n}\n/* stylelint-disable at-rule-no-unknown */\nhtml,\nbody {\n  width: 100%;\n  height: 100%;\n}\ninput::-ms-clear,\ninput::-ms-reveal {\n  display: none;\n}\n*,\n*::before,\n*::after {\n  box-sizing: border-box;\n}\nhtml {\n  font-family: sans-serif;\n  line-height: 1.15;\n  -webkit-text-size-adjust: 100%;\n  -ms-text-size-adjust: 100%;\n  -ms-overflow-style: scrollbar;\n  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n@-ms-viewport {\n  width: device-width;\n}\nbody {\n  margin: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  background-color: #fff;\n  font-feature-settings: 'tnum';\n}\n[tabindex='-1']:focus {\n  outline: none !important;\n}\nhr {\n  box-sizing: content-box;\n  height: 0;\n  overflow: visible;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n  margin-top: 0;\n  margin-bottom: 0.5em;\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: 500;\n}\np {\n  margin-top: 0;\n  margin-bottom: 1em;\n}\nabbr[title],\nabbr[data-original-title] {\n  text-decoration: underline;\n  -webkit-text-decoration: underline dotted;\n          text-decoration: underline dotted;\n  border-bottom: 0;\n  cursor: help;\n}\naddress {\n  margin-bottom: 1em;\n  font-style: normal;\n  line-height: inherit;\n}\ninput[type='text'],\ninput[type='password'],\ninput[type='number'],\ntextarea {\n  -webkit-appearance: none;\n}\nol,\nul,\ndl {\n  margin-top: 0;\n  margin-bottom: 1em;\n}\nol ol,\nul ul,\nol ul,\nul ol {\n  margin-bottom: 0;\n}\ndt {\n  font-weight: 500;\n}\ndd {\n  margin-bottom: 0.5em;\n  margin-left: 0;\n}\nblockquote {\n  margin: 0 0 1em;\n}\ndfn {\n  font-style: italic;\n}\nb,\nstrong {\n  font-weight: bolder;\n}\nsmall {\n  font-size: 80%;\n}\nsub,\nsup {\n  position: relative;\n  font-size: 75%;\n  line-height: 0;\n  vertical-align: baseline;\n}\nsub {\n  bottom: -0.25em;\n}\nsup {\n  top: -0.5em;\n}\na {\n  color: #1890ff;\n  text-decoration: none;\n  background-color: transparent;\n  outline: none;\n  cursor: pointer;\n  transition: color 0.3s;\n  -webkit-text-decoration-skip: objects;\n}\na:hover {\n  color: #40a9ff;\n}\na:active {\n  color: #096dd9;\n}\na:active,\na:hover {\n  text-decoration: none;\n  outline: 0;\n}\na:focus {\n  text-decoration: none;\n  outline: 0;\n}\na[disabled] {\n  color: rgba(0, 0, 0, 0.25);\n  cursor: not-allowed;\n}\npre,\ncode,\nkbd,\nsamp {\n  font-size: 1em;\n  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;\n}\npre {\n  margin-top: 0;\n  margin-bottom: 1em;\n  overflow: auto;\n}\nfigure {\n  margin: 0 0 1em;\n}\nimg {\n  vertical-align: middle;\n  border-style: none;\n}\nsvg:not(:root) {\n  overflow: hidden;\n}\na,\narea,\nbutton,\n[role='button'],\ninput:not([type='range']),\nlabel,\nselect,\nsummary,\ntextarea {\n  touch-action: manipulation;\n}\ntable {\n  border-collapse: collapse;\n}\ncaption {\n  padding-top: 0.75em;\n  padding-bottom: 0.3em;\n  color: rgba(0, 0, 0, 0.45);\n  text-align: left;\n  caption-side: bottom;\n}\ninput,\nbutton,\nselect,\noptgroup,\ntextarea {\n  margin: 0;\n  color: inherit;\n  font-size: inherit;\n  font-family: inherit;\n  line-height: inherit;\n}\nbutton,\ninput {\n  overflow: visible;\n}\nbutton,\nselect {\n  text-transform: none;\n}\nbutton,\nhtml [type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n  -webkit-appearance: button;\n}\nbutton::-moz-focus-inner,\n[type='button']::-moz-focus-inner,\n[type='reset']::-moz-focus-inner,\n[type='submit']::-moz-focus-inner {\n  padding: 0;\n  border-style: none;\n}\ninput[type='radio'],\ninput[type='checkbox'] {\n  box-sizing: border-box;\n  padding: 0;\n}\ninput[type='date'],\ninput[type='time'],\ninput[type='datetime-local'],\ninput[type='month'] {\n  -webkit-appearance: listbox;\n}\ntextarea {\n  overflow: auto;\n  resize: vertical;\n}\nfieldset {\n  min-width: 0;\n  margin: 0;\n  padding: 0;\n  border: 0;\n}\nlegend {\n  display: block;\n  width: 100%;\n  max-width: 100%;\n  margin-bottom: 0.5em;\n  padding: 0;\n  color: inherit;\n  font-size: 1.5em;\n  line-height: inherit;\n  white-space: normal;\n}\nprogress {\n  vertical-align: baseline;\n}\n[type='number']::-webkit-inner-spin-button,\n[type='number']::-webkit-outer-spin-button {\n  height: auto;\n}\n[type='search'] {\n  outline-offset: -2px;\n  -webkit-appearance: none;\n}\n[type='search']::-webkit-search-cancel-button,\n[type='search']::-webkit-search-decoration {\n  -webkit-appearance: none;\n}\n::-webkit-file-upload-button {\n  font: inherit;\n  -webkit-appearance: button;\n}\noutput {\n  display: inline-block;\n}\nsummary {\n  display: list-item;\n}\ntemplate {\n  display: none;\n}\n[hidden] {\n  display: none !important;\n}\nmark {\n  padding: 0.2em;\n  background-color: #feffe6;\n}\n::-moz-selection {\n  color: #fff;\n  background: #1890ff;\n}\n::selection {\n  color: #fff;\n  background: #1890ff;\n}\n.clearfix::before {\n  display: table;\n  content: '';\n}\n.clearfix::after {\n  display: table;\n  clear: both;\n  content: '';\n}\n.anticon {\n  display: inline-block;\n  color: inherit;\n  font-style: normal;\n  line-height: 0;\n  text-align: center;\n  text-transform: none;\n  vertical-align: -0.125em;\n  text-rendering: optimizeLegibility;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n}\n.anticon > * {\n  line-height: 1;\n}\n.anticon svg {\n  display: inline-block;\n}\n.anticon::before {\n  display: none;\n}\n.anticon .anticon-icon {\n  display: block;\n}\n.anticon[tabindex] {\n  cursor: pointer;\n}\n.anticon-spin::before {\n  display: inline-block;\n  -webkit-animation: loadingCircle 1s infinite linear;\n          animation: loadingCircle 1s infinite linear;\n}\n.anticon-spin {\n  display: inline-block;\n  -webkit-animation: loadingCircle 1s infinite linear;\n          animation: loadingCircle 1s infinite linear;\n}\n.ant-fade-enter,\n.ant-fade-appear {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-fade-leave {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-fade-enter.ant-fade-enter-active,\n.ant-fade-appear.ant-fade-appear-active {\n  -webkit-animation-name: antFadeIn;\n          animation-name: antFadeIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-fade-leave.ant-fade-leave-active {\n  -webkit-animation-name: antFadeOut;\n          animation-name: antFadeOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-fade-enter,\n.ant-fade-appear {\n  opacity: 0;\n  -webkit-animation-timing-function: linear;\n          animation-timing-function: linear;\n}\n.ant-fade-leave {\n  -webkit-animation-timing-function: linear;\n          animation-timing-function: linear;\n}\n@-webkit-keyframes antFadeIn {\n  0% {\n    opacity: 0;\n  }\n  100% {\n    opacity: 1;\n  }\n}\n@keyframes antFadeIn {\n  0% {\n    opacity: 0;\n  }\n  100% {\n    opacity: 1;\n  }\n}\n@-webkit-keyframes antFadeOut {\n  0% {\n    opacity: 1;\n  }\n  100% {\n    opacity: 0;\n  }\n}\n@keyframes antFadeOut {\n  0% {\n    opacity: 1;\n  }\n  100% {\n    opacity: 0;\n  }\n}\n.ant-move-up-enter,\n.ant-move-up-appear {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-move-up-leave {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-move-up-enter.ant-move-up-enter-active,\n.ant-move-up-appear.ant-move-up-appear-active {\n  -webkit-animation-name: antMoveUpIn;\n          animation-name: antMoveUpIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-move-up-leave.ant-move-up-leave-active {\n  -webkit-animation-name: antMoveUpOut;\n          animation-name: antMoveUpOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-move-up-enter,\n.ant-move-up-appear {\n  opacity: 0;\n  -webkit-animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n          animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n}\n.ant-move-up-leave {\n  -webkit-animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);\n          animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);\n}\n.ant-move-down-enter,\n.ant-move-down-appear {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-move-down-leave {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-move-down-enter.ant-move-down-enter-active,\n.ant-move-down-appear.ant-move-down-appear-active {\n  -webkit-animation-name: antMoveDownIn;\n          animation-name: antMoveDownIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-move-down-leave.ant-move-down-leave-active {\n  -webkit-animation-name: antMoveDownOut;\n          animation-name: antMoveDownOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-move-down-enter,\n.ant-move-down-appear {\n  opacity: 0;\n  -webkit-animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n          animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n}\n.ant-move-down-leave {\n  -webkit-animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);\n          animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);\n}\n.ant-move-left-enter,\n.ant-move-left-appear {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-move-left-leave {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-move-left-enter.ant-move-left-enter-active,\n.ant-move-left-appear.ant-move-left-appear-active {\n  -webkit-animation-name: antMoveLeftIn;\n          animation-name: antMoveLeftIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-move-left-leave.ant-move-left-leave-active {\n  -webkit-animation-name: antMoveLeftOut;\n          animation-name: antMoveLeftOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-move-left-enter,\n.ant-move-left-appear {\n  opacity: 0;\n  -webkit-animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n          animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n}\n.ant-move-left-leave {\n  -webkit-animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);\n          animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);\n}\n.ant-move-right-enter,\n.ant-move-right-appear {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-move-right-leave {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-move-right-enter.ant-move-right-enter-active,\n.ant-move-right-appear.ant-move-right-appear-active {\n  -webkit-animation-name: antMoveRightIn;\n          animation-name: antMoveRightIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-move-right-leave.ant-move-right-leave-active {\n  -webkit-animation-name: antMoveRightOut;\n          animation-name: antMoveRightOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-move-right-enter,\n.ant-move-right-appear {\n  opacity: 0;\n  -webkit-animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n          animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n}\n.ant-move-right-leave {\n  -webkit-animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);\n          animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);\n}\n@-webkit-keyframes antMoveDownIn {\n  0% {\n    transform: translateY(100%);\n    transform-origin: 0 0;\n    opacity: 0;\n  }\n  100% {\n    transform: translateY(0%);\n    transform-origin: 0 0;\n    opacity: 1;\n  }\n}\n@keyframes antMoveDownIn {\n  0% {\n    transform: translateY(100%);\n    transform-origin: 0 0;\n    opacity: 0;\n  }\n  100% {\n    transform: translateY(0%);\n    transform-origin: 0 0;\n    opacity: 1;\n  }\n}\n@-webkit-keyframes antMoveDownOut {\n  0% {\n    transform: translateY(0%);\n    transform-origin: 0 0;\n    opacity: 1;\n  }\n  100% {\n    transform: translateY(100%);\n    transform-origin: 0 0;\n    opacity: 0;\n  }\n}\n@keyframes antMoveDownOut {\n  0% {\n    transform: translateY(0%);\n    transform-origin: 0 0;\n    opacity: 1;\n  }\n  100% {\n    transform: translateY(100%);\n    transform-origin: 0 0;\n    opacity: 0;\n  }\n}\n@-webkit-keyframes antMoveLeftIn {\n  0% {\n    transform: translateX(-100%);\n    transform-origin: 0 0;\n    opacity: 0;\n  }\n  100% {\n    transform: translateX(0%);\n    transform-origin: 0 0;\n    opacity: 1;\n  }\n}\n@keyframes antMoveLeftIn {\n  0% {\n    transform: translateX(-100%);\n    transform-origin: 0 0;\n    opacity: 0;\n  }\n  100% {\n    transform: translateX(0%);\n    transform-origin: 0 0;\n    opacity: 1;\n  }\n}\n@-webkit-keyframes antMoveLeftOut {\n  0% {\n    transform: translateX(0%);\n    transform-origin: 0 0;\n    opacity: 1;\n  }\n  100% {\n    transform: translateX(-100%);\n    transform-origin: 0 0;\n    opacity: 0;\n  }\n}\n@keyframes antMoveLeftOut {\n  0% {\n    transform: translateX(0%);\n    transform-origin: 0 0;\n    opacity: 1;\n  }\n  100% {\n    transform: translateX(-100%);\n    transform-origin: 0 0;\n    opacity: 0;\n  }\n}\n@-webkit-keyframes antMoveRightIn {\n  0% {\n    transform: translateX(100%);\n    transform-origin: 0 0;\n    opacity: 0;\n  }\n  100% {\n    transform: translateX(0%);\n    transform-origin: 0 0;\n    opacity: 1;\n  }\n}\n@keyframes antMoveRightIn {\n  0% {\n    transform: translateX(100%);\n    transform-origin: 0 0;\n    opacity: 0;\n  }\n  100% {\n    transform: translateX(0%);\n    transform-origin: 0 0;\n    opacity: 1;\n  }\n}\n@-webkit-keyframes antMoveRightOut {\n  0% {\n    transform: translateX(0%);\n    transform-origin: 0 0;\n    opacity: 1;\n  }\n  100% {\n    transform: translateX(100%);\n    transform-origin: 0 0;\n    opacity: 0;\n  }\n}\n@keyframes antMoveRightOut {\n  0% {\n    transform: translateX(0%);\n    transform-origin: 0 0;\n    opacity: 1;\n  }\n  100% {\n    transform: translateX(100%);\n    transform-origin: 0 0;\n    opacity: 0;\n  }\n}\n@-webkit-keyframes antMoveUpIn {\n  0% {\n    transform: translateY(-100%);\n    transform-origin: 0 0;\n    opacity: 0;\n  }\n  100% {\n    transform: translateY(0%);\n    transform-origin: 0 0;\n    opacity: 1;\n  }\n}\n@keyframes antMoveUpIn {\n  0% {\n    transform: translateY(-100%);\n    transform-origin: 0 0;\n    opacity: 0;\n  }\n  100% {\n    transform: translateY(0%);\n    transform-origin: 0 0;\n    opacity: 1;\n  }\n}\n@-webkit-keyframes antMoveUpOut {\n  0% {\n    transform: translateY(0%);\n    transform-origin: 0 0;\n    opacity: 1;\n  }\n  100% {\n    transform: translateY(-100%);\n    transform-origin: 0 0;\n    opacity: 0;\n  }\n}\n@keyframes antMoveUpOut {\n  0% {\n    transform: translateY(0%);\n    transform-origin: 0 0;\n    opacity: 1;\n  }\n  100% {\n    transform: translateY(-100%);\n    transform-origin: 0 0;\n    opacity: 0;\n  }\n}\n@-webkit-keyframes loadingCircle {\n  100% {\n    transform: rotate(360deg);\n  }\n}\n@keyframes loadingCircle {\n  100% {\n    transform: rotate(360deg);\n  }\n}\n[ant-click-animating='true'],\n[ant-click-animating-without-extra-node='true'] {\n  position: relative;\n}\nhtml {\n  --antd-wave-shadow-color: #1890ff;\n  --scroll-bar: 0;\n}\n[ant-click-animating-without-extra-node='true']::after,\n.ant-click-animating-node {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  display: block;\n  border-radius: inherit;\n  box-shadow: 0 0 0 0 #1890ff;\n  box-shadow: 0 0 0 0 var(--antd-wave-shadow-color);\n  opacity: 0.2;\n  -webkit-animation: fadeEffect 2s cubic-bezier(0.08, 0.82, 0.17, 1), waveEffect 0.4s cubic-bezier(0.08, 0.82, 0.17, 1);\n          animation: fadeEffect 2s cubic-bezier(0.08, 0.82, 0.17, 1), waveEffect 0.4s cubic-bezier(0.08, 0.82, 0.17, 1);\n  -webkit-animation-fill-mode: forwards;\n          animation-fill-mode: forwards;\n  content: '';\n  pointer-events: none;\n}\n@-webkit-keyframes waveEffect {\n  100% {\n    box-shadow: 0 0 0 #1890ff;\n    box-shadow: 0 0 0 6px var(--antd-wave-shadow-color);\n  }\n}\n@keyframes waveEffect {\n  100% {\n    box-shadow: 0 0 0 #1890ff;\n    box-shadow: 0 0 0 6px var(--antd-wave-shadow-color);\n  }\n}\n@-webkit-keyframes fadeEffect {\n  100% {\n    opacity: 0;\n  }\n}\n@keyframes fadeEffect {\n  100% {\n    opacity: 0;\n  }\n}\n.ant-slide-up-enter,\n.ant-slide-up-appear {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-slide-up-leave {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-slide-up-enter.ant-slide-up-enter-active,\n.ant-slide-up-appear.ant-slide-up-appear-active {\n  -webkit-animation-name: antSlideUpIn;\n          animation-name: antSlideUpIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-slide-up-leave.ant-slide-up-leave-active {\n  -webkit-animation-name: antSlideUpOut;\n          animation-name: antSlideUpOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-slide-up-enter,\n.ant-slide-up-appear {\n  opacity: 0;\n  -webkit-animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);\n          animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);\n}\n.ant-slide-up-leave {\n  -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n          animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n}\n.ant-slide-down-enter,\n.ant-slide-down-appear {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-slide-down-leave {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-slide-down-enter.ant-slide-down-enter-active,\n.ant-slide-down-appear.ant-slide-down-appear-active {\n  -webkit-animation-name: antSlideDownIn;\n          animation-name: antSlideDownIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-slide-down-leave.ant-slide-down-leave-active {\n  -webkit-animation-name: antSlideDownOut;\n          animation-name: antSlideDownOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-slide-down-enter,\n.ant-slide-down-appear {\n  opacity: 0;\n  -webkit-animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);\n          animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);\n}\n.ant-slide-down-leave {\n  -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n          animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n}\n.ant-slide-left-enter,\n.ant-slide-left-appear {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-slide-left-leave {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-slide-left-enter.ant-slide-left-enter-active,\n.ant-slide-left-appear.ant-slide-left-appear-active {\n  -webkit-animation-name: antSlideLeftIn;\n          animation-name: antSlideLeftIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-slide-left-leave.ant-slide-left-leave-active {\n  -webkit-animation-name: antSlideLeftOut;\n          animation-name: antSlideLeftOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-slide-left-enter,\n.ant-slide-left-appear {\n  opacity: 0;\n  -webkit-animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);\n          animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);\n}\n.ant-slide-left-leave {\n  -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n          animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n}\n.ant-slide-right-enter,\n.ant-slide-right-appear {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-slide-right-leave {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-slide-right-enter.ant-slide-right-enter-active,\n.ant-slide-right-appear.ant-slide-right-appear-active {\n  -webkit-animation-name: antSlideRightIn;\n          animation-name: antSlideRightIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-slide-right-leave.ant-slide-right-leave-active {\n  -webkit-animation-name: antSlideRightOut;\n          animation-name: antSlideRightOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-slide-right-enter,\n.ant-slide-right-appear {\n  opacity: 0;\n  -webkit-animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);\n          animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);\n}\n.ant-slide-right-leave {\n  -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n          animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n}\n@-webkit-keyframes antSlideUpIn {\n  0% {\n    transform: scaleY(0.8);\n    transform-origin: 0% 0%;\n    opacity: 0;\n  }\n  100% {\n    transform: scaleY(1);\n    transform-origin: 0% 0%;\n    opacity: 1;\n  }\n}\n@keyframes antSlideUpIn {\n  0% {\n    transform: scaleY(0.8);\n    transform-origin: 0% 0%;\n    opacity: 0;\n  }\n  100% {\n    transform: scaleY(1);\n    transform-origin: 0% 0%;\n    opacity: 1;\n  }\n}\n@-webkit-keyframes antSlideUpOut {\n  0% {\n    transform: scaleY(1);\n    transform-origin: 0% 0%;\n    opacity: 1;\n  }\n  100% {\n    transform: scaleY(0.8);\n    transform-origin: 0% 0%;\n    opacity: 0;\n  }\n}\n@keyframes antSlideUpOut {\n  0% {\n    transform: scaleY(1);\n    transform-origin: 0% 0%;\n    opacity: 1;\n  }\n  100% {\n    transform: scaleY(0.8);\n    transform-origin: 0% 0%;\n    opacity: 0;\n  }\n}\n@-webkit-keyframes antSlideDownIn {\n  0% {\n    transform: scaleY(0.8);\n    transform-origin: 100% 100%;\n    opacity: 0;\n  }\n  100% {\n    transform: scaleY(1);\n    transform-origin: 100% 100%;\n    opacity: 1;\n  }\n}\n@keyframes antSlideDownIn {\n  0% {\n    transform: scaleY(0.8);\n    transform-origin: 100% 100%;\n    opacity: 0;\n  }\n  100% {\n    transform: scaleY(1);\n    transform-origin: 100% 100%;\n    opacity: 1;\n  }\n}\n@-webkit-keyframes antSlideDownOut {\n  0% {\n    transform: scaleY(1);\n    transform-origin: 100% 100%;\n    opacity: 1;\n  }\n  100% {\n    transform: scaleY(0.8);\n    transform-origin: 100% 100%;\n    opacity: 0;\n  }\n}\n@keyframes antSlideDownOut {\n  0% {\n    transform: scaleY(1);\n    transform-origin: 100% 100%;\n    opacity: 1;\n  }\n  100% {\n    transform: scaleY(0.8);\n    transform-origin: 100% 100%;\n    opacity: 0;\n  }\n}\n@-webkit-keyframes antSlideLeftIn {\n  0% {\n    transform: scaleX(0.8);\n    transform-origin: 0% 0%;\n    opacity: 0;\n  }\n  100% {\n    transform: scaleX(1);\n    transform-origin: 0% 0%;\n    opacity: 1;\n  }\n}\n@keyframes antSlideLeftIn {\n  0% {\n    transform: scaleX(0.8);\n    transform-origin: 0% 0%;\n    opacity: 0;\n  }\n  100% {\n    transform: scaleX(1);\n    transform-origin: 0% 0%;\n    opacity: 1;\n  }\n}\n@-webkit-keyframes antSlideLeftOut {\n  0% {\n    transform: scaleX(1);\n    transform-origin: 0% 0%;\n    opacity: 1;\n  }\n  100% {\n    transform: scaleX(0.8);\n    transform-origin: 0% 0%;\n    opacity: 0;\n  }\n}\n@keyframes antSlideLeftOut {\n  0% {\n    transform: scaleX(1);\n    transform-origin: 0% 0%;\n    opacity: 1;\n  }\n  100% {\n    transform: scaleX(0.8);\n    transform-origin: 0% 0%;\n    opacity: 0;\n  }\n}\n@-webkit-keyframes antSlideRightIn {\n  0% {\n    transform: scaleX(0.8);\n    transform-origin: 100% 0%;\n    opacity: 0;\n  }\n  100% {\n    transform: scaleX(1);\n    transform-origin: 100% 0%;\n    opacity: 1;\n  }\n}\n@keyframes antSlideRightIn {\n  0% {\n    transform: scaleX(0.8);\n    transform-origin: 100% 0%;\n    opacity: 0;\n  }\n  100% {\n    transform: scaleX(1);\n    transform-origin: 100% 0%;\n    opacity: 1;\n  }\n}\n@-webkit-keyframes antSlideRightOut {\n  0% {\n    transform: scaleX(1);\n    transform-origin: 100% 0%;\n    opacity: 1;\n  }\n  100% {\n    transform: scaleX(0.8);\n    transform-origin: 100% 0%;\n    opacity: 0;\n  }\n}\n@keyframes antSlideRightOut {\n  0% {\n    transform: scaleX(1);\n    transform-origin: 100% 0%;\n    opacity: 1;\n  }\n  100% {\n    transform: scaleX(0.8);\n    transform-origin: 100% 0%;\n    opacity: 0;\n  }\n}\n.ant-zoom-enter,\n.ant-zoom-appear {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-zoom-leave {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-zoom-enter.ant-zoom-enter-active,\n.ant-zoom-appear.ant-zoom-appear-active {\n  -webkit-animation-name: antZoomIn;\n          animation-name: antZoomIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-zoom-leave.ant-zoom-leave-active {\n  -webkit-animation-name: antZoomOut;\n          animation-name: antZoomOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-zoom-enter,\n.ant-zoom-appear {\n  transform: scale(0);\n  opacity: 0;\n  -webkit-animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n          animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n}\n.ant-zoom-enter-prepare,\n.ant-zoom-appear-prepare {\n  transform: none;\n}\n.ant-zoom-leave {\n  -webkit-animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n          animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n}\n.ant-zoom-big-enter,\n.ant-zoom-big-appear {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-zoom-big-leave {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-zoom-big-enter.ant-zoom-big-enter-active,\n.ant-zoom-big-appear.ant-zoom-big-appear-active {\n  -webkit-animation-name: antZoomBigIn;\n          animation-name: antZoomBigIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-zoom-big-leave.ant-zoom-big-leave-active {\n  -webkit-animation-name: antZoomBigOut;\n          animation-name: antZoomBigOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-zoom-big-enter,\n.ant-zoom-big-appear {\n  transform: scale(0);\n  opacity: 0;\n  -webkit-animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n          animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n}\n.ant-zoom-big-enter-prepare,\n.ant-zoom-big-appear-prepare {\n  transform: none;\n}\n.ant-zoom-big-leave {\n  -webkit-animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n          animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n}\n.ant-zoom-big-fast-enter,\n.ant-zoom-big-fast-appear {\n  -webkit-animation-duration: 0.1s;\n          animation-duration: 0.1s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-zoom-big-fast-leave {\n  -webkit-animation-duration: 0.1s;\n          animation-duration: 0.1s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-zoom-big-fast-enter.ant-zoom-big-fast-enter-active,\n.ant-zoom-big-fast-appear.ant-zoom-big-fast-appear-active {\n  -webkit-animation-name: antZoomBigIn;\n          animation-name: antZoomBigIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-zoom-big-fast-leave.ant-zoom-big-fast-leave-active {\n  -webkit-animation-name: antZoomBigOut;\n          animation-name: antZoomBigOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-zoom-big-fast-enter,\n.ant-zoom-big-fast-appear {\n  transform: scale(0);\n  opacity: 0;\n  -webkit-animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n          animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n}\n.ant-zoom-big-fast-enter-prepare,\n.ant-zoom-big-fast-appear-prepare {\n  transform: none;\n}\n.ant-zoom-big-fast-leave {\n  -webkit-animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n          animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n}\n.ant-zoom-up-enter,\n.ant-zoom-up-appear {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-zoom-up-leave {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-zoom-up-enter.ant-zoom-up-enter-active,\n.ant-zoom-up-appear.ant-zoom-up-appear-active {\n  -webkit-animation-name: antZoomUpIn;\n          animation-name: antZoomUpIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-zoom-up-leave.ant-zoom-up-leave-active {\n  -webkit-animation-name: antZoomUpOut;\n          animation-name: antZoomUpOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-zoom-up-enter,\n.ant-zoom-up-appear {\n  transform: scale(0);\n  opacity: 0;\n  -webkit-animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n          animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n}\n.ant-zoom-up-enter-prepare,\n.ant-zoom-up-appear-prepare {\n  transform: none;\n}\n.ant-zoom-up-leave {\n  -webkit-animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n          animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n}\n.ant-zoom-down-enter,\n.ant-zoom-down-appear {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-zoom-down-leave {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-zoom-down-enter.ant-zoom-down-enter-active,\n.ant-zoom-down-appear.ant-zoom-down-appear-active {\n  -webkit-animation-name: antZoomDownIn;\n          animation-name: antZoomDownIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-zoom-down-leave.ant-zoom-down-leave-active {\n  -webkit-animation-name: antZoomDownOut;\n          animation-name: antZoomDownOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-zoom-down-enter,\n.ant-zoom-down-appear {\n  transform: scale(0);\n  opacity: 0;\n  -webkit-animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n          animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n}\n.ant-zoom-down-enter-prepare,\n.ant-zoom-down-appear-prepare {\n  transform: none;\n}\n.ant-zoom-down-leave {\n  -webkit-animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n          animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n}\n.ant-zoom-left-enter,\n.ant-zoom-left-appear {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-zoom-left-leave {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-zoom-left-enter.ant-zoom-left-enter-active,\n.ant-zoom-left-appear.ant-zoom-left-appear-active {\n  -webkit-animation-name: antZoomLeftIn;\n          animation-name: antZoomLeftIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-zoom-left-leave.ant-zoom-left-leave-active {\n  -webkit-animation-name: antZoomLeftOut;\n          animation-name: antZoomLeftOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-zoom-left-enter,\n.ant-zoom-left-appear {\n  transform: scale(0);\n  opacity: 0;\n  -webkit-animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n          animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n}\n.ant-zoom-left-enter-prepare,\n.ant-zoom-left-appear-prepare {\n  transform: none;\n}\n.ant-zoom-left-leave {\n  -webkit-animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n          animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n}\n.ant-zoom-right-enter,\n.ant-zoom-right-appear {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-zoom-right-leave {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-zoom-right-enter.ant-zoom-right-enter-active,\n.ant-zoom-right-appear.ant-zoom-right-appear-active {\n  -webkit-animation-name: antZoomRightIn;\n          animation-name: antZoomRightIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-zoom-right-leave.ant-zoom-right-leave-active {\n  -webkit-animation-name: antZoomRightOut;\n          animation-name: antZoomRightOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-zoom-right-enter,\n.ant-zoom-right-appear {\n  transform: scale(0);\n  opacity: 0;\n  -webkit-animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n          animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n}\n.ant-zoom-right-enter-prepare,\n.ant-zoom-right-appear-prepare {\n  transform: none;\n}\n.ant-zoom-right-leave {\n  -webkit-animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n          animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n}\n@-webkit-keyframes antZoomIn {\n  0% {\n    transform: scale(0.2);\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1);\n    opacity: 1;\n  }\n}\n@keyframes antZoomIn {\n  0% {\n    transform: scale(0.2);\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1);\n    opacity: 1;\n  }\n}\n@-webkit-keyframes antZoomOut {\n  0% {\n    transform: scale(1);\n  }\n  100% {\n    transform: scale(0.2);\n    opacity: 0;\n  }\n}\n@keyframes antZoomOut {\n  0% {\n    transform: scale(1);\n  }\n  100% {\n    transform: scale(0.2);\n    opacity: 0;\n  }\n}\n@-webkit-keyframes antZoomBigIn {\n  0% {\n    transform: scale(0.8);\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1);\n    opacity: 1;\n  }\n}\n@keyframes antZoomBigIn {\n  0% {\n    transform: scale(0.8);\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1);\n    opacity: 1;\n  }\n}\n@-webkit-keyframes antZoomBigOut {\n  0% {\n    transform: scale(1);\n  }\n  100% {\n    transform: scale(0.8);\n    opacity: 0;\n  }\n}\n@keyframes antZoomBigOut {\n  0% {\n    transform: scale(1);\n  }\n  100% {\n    transform: scale(0.8);\n    opacity: 0;\n  }\n}\n@-webkit-keyframes antZoomUpIn {\n  0% {\n    transform: scale(0.8);\n    transform-origin: 50% 0%;\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1);\n    transform-origin: 50% 0%;\n  }\n}\n@keyframes antZoomUpIn {\n  0% {\n    transform: scale(0.8);\n    transform-origin: 50% 0%;\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1);\n    transform-origin: 50% 0%;\n  }\n}\n@-webkit-keyframes antZoomUpOut {\n  0% {\n    transform: scale(1);\n    transform-origin: 50% 0%;\n  }\n  100% {\n    transform: scale(0.8);\n    transform-origin: 50% 0%;\n    opacity: 0;\n  }\n}\n@keyframes antZoomUpOut {\n  0% {\n    transform: scale(1);\n    transform-origin: 50% 0%;\n  }\n  100% {\n    transform: scale(0.8);\n    transform-origin: 50% 0%;\n    opacity: 0;\n  }\n}\n@-webkit-keyframes antZoomLeftIn {\n  0% {\n    transform: scale(0.8);\n    transform-origin: 0% 50%;\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1);\n    transform-origin: 0% 50%;\n  }\n}\n@keyframes antZoomLeftIn {\n  0% {\n    transform: scale(0.8);\n    transform-origin: 0% 50%;\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1);\n    transform-origin: 0% 50%;\n  }\n}\n@-webkit-keyframes antZoomLeftOut {\n  0% {\n    transform: scale(1);\n    transform-origin: 0% 50%;\n  }\n  100% {\n    transform: scale(0.8);\n    transform-origin: 0% 50%;\n    opacity: 0;\n  }\n}\n@keyframes antZoomLeftOut {\n  0% {\n    transform: scale(1);\n    transform-origin: 0% 50%;\n  }\n  100% {\n    transform: scale(0.8);\n    transform-origin: 0% 50%;\n    opacity: 0;\n  }\n}\n@-webkit-keyframes antZoomRightIn {\n  0% {\n    transform: scale(0.8);\n    transform-origin: 100% 50%;\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1);\n    transform-origin: 100% 50%;\n  }\n}\n@keyframes antZoomRightIn {\n  0% {\n    transform: scale(0.8);\n    transform-origin: 100% 50%;\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1);\n    transform-origin: 100% 50%;\n  }\n}\n@-webkit-keyframes antZoomRightOut {\n  0% {\n    transform: scale(1);\n    transform-origin: 100% 50%;\n  }\n  100% {\n    transform: scale(0.8);\n    transform-origin: 100% 50%;\n    opacity: 0;\n  }\n}\n@keyframes antZoomRightOut {\n  0% {\n    transform: scale(1);\n    transform-origin: 100% 50%;\n  }\n  100% {\n    transform: scale(0.8);\n    transform-origin: 100% 50%;\n    opacity: 0;\n  }\n}\n@-webkit-keyframes antZoomDownIn {\n  0% {\n    transform: scale(0.8);\n    transform-origin: 50% 100%;\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1);\n    transform-origin: 50% 100%;\n  }\n}\n@keyframes antZoomDownIn {\n  0% {\n    transform: scale(0.8);\n    transform-origin: 50% 100%;\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1);\n    transform-origin: 50% 100%;\n  }\n}\n@-webkit-keyframes antZoomDownOut {\n  0% {\n    transform: scale(1);\n    transform-origin: 50% 100%;\n  }\n  100% {\n    transform: scale(0.8);\n    transform-origin: 50% 100%;\n    opacity: 0;\n  }\n}\n@keyframes antZoomDownOut {\n  0% {\n    transform: scale(1);\n    transform-origin: 50% 100%;\n  }\n  100% {\n    transform: scale(0.8);\n    transform-origin: 50% 100%;\n    opacity: 0;\n  }\n}\n.ant-motion-collapse-legacy {\n  overflow: hidden;\n}\n.ant-motion-collapse-legacy-active {\n  transition: height 0.2s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1) !important;\n}\n.ant-motion-collapse {\n  overflow: hidden;\n  transition: height 0.2s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1) !important;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-tooltip {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: absolute;\n  z-index: 1070;\n  display: block;\n  width: -webkit-max-content;\n  width: -moz-max-content;\n  width: max-content;\n  max-width: 250px;\n  visibility: visible;\n}\n.ant-tooltip-hidden {\n  display: none;\n}\n.ant-tooltip-placement-top,\n.ant-tooltip-placement-topLeft,\n.ant-tooltip-placement-topRight {\n  padding-bottom: 8px;\n}\n.ant-tooltip-placement-right,\n.ant-tooltip-placement-rightTop,\n.ant-tooltip-placement-rightBottom {\n  padding-left: 8px;\n}\n.ant-tooltip-placement-bottom,\n.ant-tooltip-placement-bottomLeft,\n.ant-tooltip-placement-bottomRight {\n  padding-top: 8px;\n}\n.ant-tooltip-placement-left,\n.ant-tooltip-placement-leftTop,\n.ant-tooltip-placement-leftBottom {\n  padding-right: 8px;\n}\n.ant-tooltip-inner {\n  min-width: 30px;\n  min-height: 32px;\n  padding: 6px 8px;\n  color: #fff;\n  text-align: left;\n  text-decoration: none;\n  word-wrap: break-word;\n  background-color: rgba(0, 0, 0, 0.75);\n  border-radius: 2px;\n  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n}\n.ant-tooltip-arrow {\n  position: absolute;\n  display: block;\n  width: 13.07106781px;\n  height: 13.07106781px;\n  overflow: hidden;\n  background: transparent;\n  pointer-events: none;\n}\n.ant-tooltip-arrow-content {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  display: block;\n  width: 5px;\n  height: 5px;\n  margin: auto;\n  background-color: rgba(0, 0, 0, 0.75);\n  content: '';\n  pointer-events: auto;\n}\n.ant-tooltip-placement-top .ant-tooltip-arrow,\n.ant-tooltip-placement-topLeft .ant-tooltip-arrow,\n.ant-tooltip-placement-topRight .ant-tooltip-arrow {\n  bottom: -5.07106781px;\n}\n.ant-tooltip-placement-top .ant-tooltip-arrow-content,\n.ant-tooltip-placement-topLeft .ant-tooltip-arrow-content,\n.ant-tooltip-placement-topRight .ant-tooltip-arrow-content {\n  box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);\n  transform: translateY(-6.53553391px) rotate(45deg);\n}\n.ant-tooltip-placement-top .ant-tooltip-arrow {\n  left: 50%;\n  transform: translateX(-50%);\n}\n.ant-tooltip-placement-topLeft .ant-tooltip-arrow {\n  left: 13px;\n}\n.ant-tooltip-placement-topRight .ant-tooltip-arrow {\n  right: 13px;\n}\n.ant-tooltip-placement-right .ant-tooltip-arrow,\n.ant-tooltip-placement-rightTop .ant-tooltip-arrow,\n.ant-tooltip-placement-rightBottom .ant-tooltip-arrow {\n  left: -5.07106781px;\n}\n.ant-tooltip-placement-right .ant-tooltip-arrow-content,\n.ant-tooltip-placement-rightTop .ant-tooltip-arrow-content,\n.ant-tooltip-placement-rightBottom .ant-tooltip-arrow-content {\n  box-shadow: -3px 3px 7px rgba(0, 0, 0, 0.07);\n  transform: translateX(6.53553391px) rotate(45deg);\n}\n.ant-tooltip-placement-right .ant-tooltip-arrow {\n  top: 50%;\n  transform: translateY(-50%);\n}\n.ant-tooltip-placement-rightTop .ant-tooltip-arrow {\n  top: 5px;\n}\n.ant-tooltip-placement-rightBottom .ant-tooltip-arrow {\n  bottom: 5px;\n}\n.ant-tooltip-placement-left .ant-tooltip-arrow,\n.ant-tooltip-placement-leftTop .ant-tooltip-arrow,\n.ant-tooltip-placement-leftBottom .ant-tooltip-arrow {\n  right: -5.07106781px;\n}\n.ant-tooltip-placement-left .ant-tooltip-arrow-content,\n.ant-tooltip-placement-leftTop .ant-tooltip-arrow-content,\n.ant-tooltip-placement-leftBottom .ant-tooltip-arrow-content {\n  box-shadow: 3px -3px 7px rgba(0, 0, 0, 0.07);\n  transform: translateX(-6.53553391px) rotate(45deg);\n}\n.ant-tooltip-placement-left .ant-tooltip-arrow {\n  top: 50%;\n  transform: translateY(-50%);\n}\n.ant-tooltip-placement-leftTop .ant-tooltip-arrow {\n  top: 5px;\n}\n.ant-tooltip-placement-leftBottom .ant-tooltip-arrow {\n  bottom: 5px;\n}\n.ant-tooltip-placement-bottom .ant-tooltip-arrow,\n.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow,\n.ant-tooltip-placement-bottomRight .ant-tooltip-arrow {\n  top: -5.07106781px;\n}\n.ant-tooltip-placement-bottom .ant-tooltip-arrow-content,\n.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow-content,\n.ant-tooltip-placement-bottomRight .ant-tooltip-arrow-content {\n  box-shadow: -3px -3px 7px rgba(0, 0, 0, 0.07);\n  transform: translateY(6.53553391px) rotate(45deg);\n}\n.ant-tooltip-placement-bottom .ant-tooltip-arrow {\n  left: 50%;\n  transform: translateX(-50%);\n}\n.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow {\n  left: 13px;\n}\n.ant-tooltip-placement-bottomRight .ant-tooltip-arrow {\n  right: 13px;\n}\n.ant-tooltip-pink .ant-tooltip-inner {\n  background-color: #eb2f96;\n}\n.ant-tooltip-pink .ant-tooltip-arrow-content {\n  background-color: #eb2f96;\n}\n.ant-tooltip-magenta .ant-tooltip-inner {\n  background-color: #eb2f96;\n}\n.ant-tooltip-magenta .ant-tooltip-arrow-content {\n  background-color: #eb2f96;\n}\n.ant-tooltip-red .ant-tooltip-inner {\n  background-color: #f5222d;\n}\n.ant-tooltip-red .ant-tooltip-arrow-content {\n  background-color: #f5222d;\n}\n.ant-tooltip-volcano .ant-tooltip-inner {\n  background-color: #fa541c;\n}\n.ant-tooltip-volcano .ant-tooltip-arrow-content {\n  background-color: #fa541c;\n}\n.ant-tooltip-orange .ant-tooltip-inner {\n  background-color: #fa8c16;\n}\n.ant-tooltip-orange .ant-tooltip-arrow-content {\n  background-color: #fa8c16;\n}\n.ant-tooltip-yellow .ant-tooltip-inner {\n  background-color: #fadb14;\n}\n.ant-tooltip-yellow .ant-tooltip-arrow-content {\n  background-color: #fadb14;\n}\n.ant-tooltip-gold .ant-tooltip-inner {\n  background-color: #faad14;\n}\n.ant-tooltip-gold .ant-tooltip-arrow-content {\n  background-color: #faad14;\n}\n.ant-tooltip-cyan .ant-tooltip-inner {\n  background-color: #13c2c2;\n}\n.ant-tooltip-cyan .ant-tooltip-arrow-content {\n  background-color: #13c2c2;\n}\n.ant-tooltip-lime .ant-tooltip-inner {\n  background-color: #a0d911;\n}\n.ant-tooltip-lime .ant-tooltip-arrow-content {\n  background-color: #a0d911;\n}\n.ant-tooltip-green .ant-tooltip-inner {\n  background-color: #52c41a;\n}\n.ant-tooltip-green .ant-tooltip-arrow-content {\n  background-color: #52c41a;\n}\n.ant-tooltip-blue .ant-tooltip-inner {\n  background-color: #1890ff;\n}\n.ant-tooltip-blue .ant-tooltip-arrow-content {\n  background-color: #1890ff;\n}\n.ant-tooltip-geekblue .ant-tooltip-inner {\n  background-color: #2f54eb;\n}\n.ant-tooltip-geekblue .ant-tooltip-arrow-content {\n  background-color: #2f54eb;\n}\n.ant-tooltip-purple .ant-tooltip-inner {\n  background-color: #722ed1;\n}\n.ant-tooltip-purple .ant-tooltip-arrow-content {\n  background-color: #722ed1;\n}\n.ant-tooltip-rtl {\n  direction: rtl;\n}\n.ant-tooltip-rtl .ant-tooltip-inner {\n  text-align: right;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.gcs-chartContainer {\n  display: flex;\n  flex-direction: column;\n  width: 100%;\n  height: 100%;\n  overflow: hidden;\n}\n.gcs-chartContainer-title {\n  padding: 10px;\n}\n.gcs-chartContainer-title:not(:first-child) {\n  margin-left: 4px;\n}\n.gcs-chartContainer-content {\n  position: relative;\n  flex: 1;\n  overflow: hidden;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-picker {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  padding: 4px 11px 4px;\n  position: relative;\n  display: inline-flex;\n  align-items: center;\n  background: #fff;\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n  transition: border 0.3s, box-shadow 0.3s;\n}\n.ant-picker:hover,\n.ant-picker-focused {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n}\n.ant-picker-focused {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n}\n.ant-picker.ant-picker-disabled {\n  background: #f5f5f5;\n  border-color: #d9d9d9;\n  cursor: not-allowed;\n}\n.ant-picker.ant-picker-disabled .ant-picker-suffix {\n  color: rgba(0, 0, 0, 0.25);\n}\n.ant-picker.ant-picker-borderless {\n  background-color: transparent !important;\n  border-color: transparent !important;\n  box-shadow: none !important;\n}\n.ant-picker-input {\n  position: relative;\n  display: inline-flex;\n  align-items: center;\n  width: 100%;\n}\n.ant-picker-input > input {\n  position: relative;\n  display: inline-block;\n  width: 100%;\n  min-width: 0;\n  padding: 4px 11px;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  line-height: 1.5715;\n  background-color: #fff;\n  background-image: none;\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n  transition: all 0.3s;\n  flex: auto;\n  min-width: 1px;\n  height: auto;\n  padding: 0;\n  background: transparent;\n  border: 0;\n}\n.ant-picker-input > input::-moz-placeholder {\n  opacity: 1;\n}\n.ant-picker-input > input:-ms-input-placeholder {\n  color: #bfbfbf;\n}\n.ant-picker-input > input::placeholder {\n  color: #bfbfbf;\n}\n.ant-picker-input > input:-moz-placeholder-shown {\n  text-overflow: ellipsis;\n}\n.ant-picker-input > input:-ms-input-placeholder {\n  text-overflow: ellipsis;\n}\n.ant-picker-input > input:placeholder-shown {\n  text-overflow: ellipsis;\n}\n.ant-picker-input > input:hover {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n}\n.ant-picker-input > input:focus,\n.ant-picker-input > input-focused {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n}\n.ant-picker-input > input-disabled {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #f5f5f5;\n  cursor: not-allowed;\n  opacity: 1;\n}\n.ant-picker-input > input-disabled:hover {\n  border-color: #d9d9d9;\n  border-right-width: 1px !important;\n}\n.ant-picker-input > input[disabled] {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #f5f5f5;\n  cursor: not-allowed;\n  opacity: 1;\n}\n.ant-picker-input > input[disabled]:hover {\n  border-color: #d9d9d9;\n  border-right-width: 1px !important;\n}\n.ant-picker-input > input-borderless,\n.ant-picker-input > input-borderless:hover,\n.ant-picker-input > input-borderless:focus,\n.ant-picker-input > input-borderless-focused,\n.ant-picker-input > input-borderless-disabled,\n.ant-picker-input > input-borderless[disabled] {\n  background-color: transparent;\n  border: none;\n  box-shadow: none;\n}\ntextarea.ant-picker-input > input {\n  max-width: 100%;\n  height: auto;\n  min-height: 32px;\n  line-height: 1.5715;\n  vertical-align: bottom;\n  transition: all 0.3s, height 0s;\n}\n.ant-picker-input > input-lg {\n  padding: 6.5px 11px;\n  font-size: 16px;\n}\n.ant-picker-input > input-sm {\n  padding: 0px 7px;\n}\n.ant-picker-input > input:focus {\n  box-shadow: none;\n}\n.ant-picker-input > input[disabled] {\n  background: transparent;\n}\n.ant-picker-input:hover .ant-picker-clear {\n  opacity: 1;\n}\n.ant-picker-input-placeholder > input {\n  color: #bfbfbf;\n}\n.ant-picker-large {\n  padding: 6.5px 11px 6.5px;\n}\n.ant-picker-large .ant-picker-input > input {\n  font-size: 16px;\n}\n.ant-picker-small {\n  padding: 0px 7px 0px;\n}\n.ant-picker-suffix {\n  align-self: center;\n  margin-left: 4px;\n  color: rgba(0, 0, 0, 0.25);\n  line-height: 1;\n  pointer-events: none;\n}\n.ant-picker-suffix > * {\n  vertical-align: top;\n}\n.ant-picker-clear {\n  position: absolute;\n  top: 50%;\n  right: 0;\n  color: rgba(0, 0, 0, 0.25);\n  line-height: 1;\n  background: #fff;\n  transform: translateY(-50%);\n  cursor: pointer;\n  opacity: 0;\n  transition: opacity 0.3s, color 0.3s;\n}\n.ant-picker-clear > * {\n  vertical-align: top;\n}\n.ant-picker-clear:hover {\n  color: rgba(0, 0, 0, 0.45);\n}\n.ant-picker-separator {\n  position: relative;\n  display: inline-block;\n  width: 1em;\n  height: 16px;\n  color: rgba(0, 0, 0, 0.25);\n  font-size: 16px;\n  vertical-align: top;\n  cursor: default;\n}\n.ant-picker-focused .ant-picker-separator {\n  color: rgba(0, 0, 0, 0.45);\n}\n.ant-picker-disabled .ant-picker-range-separator .ant-picker-separator {\n  cursor: not-allowed;\n}\n.ant-picker-range {\n  position: relative;\n  display: inline-flex;\n}\n.ant-picker-range .ant-picker-clear {\n  right: 11px;\n}\n.ant-picker-range:hover .ant-picker-clear {\n  opacity: 1;\n}\n.ant-picker-range .ant-picker-active-bar {\n  bottom: -1px;\n  height: 2px;\n  margin-left: 11px;\n  background: #1890ff;\n  opacity: 0;\n  transition: all 0.3s ease-out;\n  pointer-events: none;\n}\n.ant-picker-range.ant-picker-focused .ant-picker-active-bar {\n  opacity: 1;\n}\n.ant-picker-range-separator {\n  align-items: center;\n  padding: 0 8px;\n  line-height: 1;\n}\n.ant-picker-range.ant-picker-small .ant-picker-clear {\n  right: 7px;\n}\n.ant-picker-range.ant-picker-small .ant-picker-active-bar {\n  margin-left: 7px;\n}\n.ant-picker-dropdown {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: absolute;\n  z-index: 1050;\n}\n.ant-picker-dropdown-hidden {\n  display: none;\n}\n.ant-picker-dropdown-placement-bottomLeft .ant-picker-range-arrow {\n  top: 1.66666667px;\n  display: block;\n  transform: rotate(-45deg);\n}\n.ant-picker-dropdown-placement-topLeft .ant-picker-range-arrow {\n  bottom: 1.66666667px;\n  display: block;\n  transform: rotate(135deg);\n}\n.ant-picker-dropdown.slide-up-enter.slide-up-enter-active.ant-picker-dropdown-placement-topLeft,\n.ant-picker-dropdown.slide-up-enter.slide-up-enter-active.ant-picker-dropdown-placement-topRight,\n.ant-picker-dropdown.slide-up-appear.slide-up-appear-active.ant-picker-dropdown-placement-topLeft,\n.ant-picker-dropdown.slide-up-appear.slide-up-appear-active.ant-picker-dropdown-placement-topRight {\n  -webkit-animation-name: antSlideDownIn;\n          animation-name: antSlideDownIn;\n}\n.ant-picker-dropdown.slide-up-enter.slide-up-enter-active.ant-picker-dropdown-placement-bottomLeft,\n.ant-picker-dropdown.slide-up-enter.slide-up-enter-active.ant-picker-dropdown-placement-bottomRight,\n.ant-picker-dropdown.slide-up-appear.slide-up-appear-active.ant-picker-dropdown-placement-bottomLeft,\n.ant-picker-dropdown.slide-up-appear.slide-up-appear-active.ant-picker-dropdown-placement-bottomRight {\n  -webkit-animation-name: antSlideUpIn;\n          animation-name: antSlideUpIn;\n}\n.ant-picker-dropdown.slide-up-leave.slide-up-leave-active.ant-picker-dropdown-placement-topLeft,\n.ant-picker-dropdown.slide-up-leave.slide-up-leave-active.ant-picker-dropdown-placement-topRight {\n  -webkit-animation-name: antSlideDownOut;\n          animation-name: antSlideDownOut;\n}\n.ant-picker-dropdown.slide-up-leave.slide-up-leave-active.ant-picker-dropdown-placement-bottomLeft,\n.ant-picker-dropdown.slide-up-leave.slide-up-leave-active.ant-picker-dropdown-placement-bottomRight {\n  -webkit-animation-name: antSlideUpOut;\n          animation-name: antSlideUpOut;\n}\n.ant-picker-dropdown-range {\n  padding: 6.66666667px 0;\n}\n.ant-picker-dropdown-range-hidden {\n  display: none;\n}\n.ant-picker-dropdown .ant-picker-panel > .ant-picker-time-panel {\n  padding-top: 4px;\n}\n.ant-picker-ranges {\n  margin-bottom: 0;\n  padding: 4px 12px;\n  overflow: hidden;\n  line-height: 34px;\n  text-align: left;\n  list-style: none;\n}\n.ant-picker-ranges > li {\n  display: inline-block;\n}\n.ant-picker-ranges .ant-picker-preset > .ant-tag-blue {\n  color: #1890ff;\n  background: #e6f7ff;\n  border-color: #91d5ff;\n  cursor: pointer;\n}\n.ant-picker-ranges .ant-picker-ok {\n  float: right;\n  margin-left: 8px;\n}\n.ant-picker-range-wrapper {\n  display: flex;\n}\n.ant-picker-range-arrow {\n  position: absolute;\n  z-index: 1;\n  display: none;\n  width: 10px;\n  height: 10px;\n  margin-left: 16.5px;\n  box-shadow: 2px -2px 6px rgba(0, 0, 0, 0.06);\n  transition: left 0.3s ease-out;\n}\n.ant-picker-range-arrow::after {\n  position: absolute;\n  top: 1px;\n  right: 1px;\n  width: 10px;\n  height: 10px;\n  border: 5px solid #f0f0f0;\n  border-color: #fff #fff transparent transparent;\n  content: '';\n}\n.ant-picker-panel-container {\n  overflow: hidden;\n  vertical-align: top;\n  background: #fff;\n  border-radius: 2px;\n  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n  transition: margin 0.3s;\n}\n.ant-picker-panel-container .ant-picker-panels {\n  display: inline-flex;\n  flex-wrap: nowrap;\n  direction: ltr;\n}\n.ant-picker-panel-container .ant-picker-panel {\n  vertical-align: top;\n  background: transparent;\n  border-width: 0 0 1px 0;\n  border-radius: 0;\n}\n.ant-picker-panel-container .ant-picker-panel-focused {\n  border-color: #f0f0f0;\n}\n.ant-picker-panel {\n  display: inline-flex;\n  flex-direction: column;\n  text-align: center;\n  background: #fff;\n  border: 1px solid #f0f0f0;\n  border-radius: 2px;\n  outline: none;\n}\n.ant-picker-panel-focused {\n  border-color: #1890ff;\n}\n.ant-picker-decade-panel,\n.ant-picker-year-panel,\n.ant-picker-quarter-panel,\n.ant-picker-month-panel,\n.ant-picker-week-panel,\n.ant-picker-date-panel,\n.ant-picker-time-panel {\n  display: flex;\n  flex-direction: column;\n  width: 280px;\n}\n.ant-picker-header {\n  display: flex;\n  padding: 0 8px;\n  color: rgba(0, 0, 0, 0.85);\n  border-bottom: 1px solid #f0f0f0;\n}\n.ant-picker-header > * {\n  flex: none;\n}\n.ant-picker-header button {\n  padding: 0;\n  color: rgba(0, 0, 0, 0.25);\n  line-height: 40px;\n  background: transparent;\n  border: 0;\n  cursor: pointer;\n  transition: color 0.3s;\n}\n.ant-picker-header > button {\n  min-width: 1.6em;\n  font-size: 14px;\n}\n.ant-picker-header > button:hover {\n  color: rgba(0, 0, 0, 0.85);\n}\n.ant-picker-header-view {\n  flex: auto;\n  font-weight: 500;\n  line-height: 40px;\n}\n.ant-picker-header-view button {\n  color: inherit;\n  font-weight: inherit;\n}\n.ant-picker-header-view button:not(:first-child) {\n  margin-left: 8px;\n}\n.ant-picker-header-view button:hover {\n  color: #1890ff;\n}\n.ant-picker-prev-icon,\n.ant-picker-next-icon,\n.ant-picker-super-prev-icon,\n.ant-picker-super-next-icon {\n  position: relative;\n  display: inline-block;\n  width: 7px;\n  height: 7px;\n}\n.ant-picker-prev-icon::before,\n.ant-picker-next-icon::before,\n.ant-picker-super-prev-icon::before,\n.ant-picker-super-next-icon::before {\n  position: absolute;\n  top: 0;\n  left: 0;\n  display: inline-block;\n  width: 7px;\n  height: 7px;\n  border: 0 solid currentColor;\n  border-width: 1.5px 0 0 1.5px;\n  content: '';\n}\n.ant-picker-super-prev-icon::after,\n.ant-picker-super-next-icon::after {\n  position: absolute;\n  top: 4px;\n  left: 4px;\n  display: inline-block;\n  width: 7px;\n  height: 7px;\n  border: 0 solid currentColor;\n  border-width: 1.5px 0 0 1.5px;\n  content: '';\n}\n.ant-picker-prev-icon,\n.ant-picker-super-prev-icon {\n  transform: rotate(-45deg);\n}\n.ant-picker-next-icon,\n.ant-picker-super-next-icon {\n  transform: rotate(135deg);\n}\n.ant-picker-content {\n  width: 100%;\n  table-layout: fixed;\n  border-collapse: collapse;\n}\n.ant-picker-content th,\n.ant-picker-content td {\n  position: relative;\n  min-width: 24px;\n  font-weight: 400;\n}\n.ant-picker-content th {\n  height: 30px;\n  color: rgba(0, 0, 0, 0.85);\n  line-height: 30px;\n}\n.ant-picker-cell {\n  padding: 3px 0;\n  color: rgba(0, 0, 0, 0.25);\n  cursor: pointer;\n}\n.ant-picker-cell-in-view {\n  color: rgba(0, 0, 0, 0.85);\n}\n.ant-picker-cell-disabled {\n  cursor: not-allowed;\n}\n.ant-picker-cell::before {\n  position: absolute;\n  top: 50%;\n  right: 0;\n  left: 0;\n  z-index: 1;\n  height: 24px;\n  transform: translateY(-50%);\n  content: '';\n}\n.ant-picker-cell .ant-picker-cell-inner {\n  position: relative;\n  z-index: 2;\n  display: inline-block;\n  min-width: 24px;\n  height: 24px;\n  line-height: 24px;\n  border-radius: 2px;\n  transition: background 0.3s, border 0.3s;\n}\n.ant-picker-cell:hover:not(.ant-picker-cell-in-view) .ant-picker-cell-inner,\n.ant-picker-cell:hover:not(.ant-picker-cell-selected):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):not(.ant-picker-cell-range-hover-start):not(.ant-picker-cell-range-hover-end) .ant-picker-cell-inner {\n  background: #f5f5f5;\n}\n.ant-picker-cell-in-view.ant-picker-cell-today .ant-picker-cell-inner::before {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  z-index: 1;\n  border: 1px solid #1890ff;\n  border-radius: 2px;\n  content: '';\n}\n.ant-picker-cell-in-view.ant-picker-cell-in-range {\n  position: relative;\n}\n.ant-picker-cell-in-view.ant-picker-cell-in-range::before {\n  background: #e6f7ff;\n}\n.ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner,\n.ant-picker-cell-in-view.ant-picker-cell-range-start .ant-picker-cell-inner,\n.ant-picker-cell-in-view.ant-picker-cell-range-end .ant-picker-cell-inner {\n  color: #fff;\n  background: #1890ff;\n}\n.ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single)::before,\n.ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single)::before {\n  background: #e6f7ff;\n}\n.ant-picker-cell-in-view.ant-picker-cell-range-start::before {\n  left: 50%;\n}\n.ant-picker-cell-in-view.ant-picker-cell-range-end::before {\n  right: 50%;\n}\n.ant-picker-cell-in-view.ant-picker-cell-range-hover-start:not(.ant-picker-cell-in-range):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end)::after,\n.ant-picker-cell-in-view.ant-picker-cell-range-hover-end:not(.ant-picker-cell-in-range):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end)::after,\n.ant-picker-cell-in-view.ant-picker-cell-range-hover-start.ant-picker-cell-range-start-single::after,\n.ant-picker-cell-in-view.ant-picker-cell-range-hover-start.ant-picker-cell-range-start.ant-picker-cell-range-end.ant-picker-cell-range-end-near-hover::after,\n.ant-picker-cell-in-view.ant-picker-cell-range-hover-end.ant-picker-cell-range-start.ant-picker-cell-range-end.ant-picker-cell-range-start-near-hover::after,\n.ant-picker-cell-in-view.ant-picker-cell-range-hover-end.ant-picker-cell-range-end-single::after,\n.ant-picker-cell-in-view.ant-picker-cell-range-hover:not(.ant-picker-cell-in-range)::after {\n  position: absolute;\n  top: 50%;\n  z-index: 0;\n  height: 24px;\n  border-top: 1px dashed #7ec1ff;\n  border-bottom: 1px dashed #7ec1ff;\n  transform: translateY(-50%);\n  content: '';\n}\n.ant-picker-cell-range-hover-start::after,\n.ant-picker-cell-range-hover-end::after,\n.ant-picker-cell-range-hover::after {\n  right: 0;\n  left: 2px;\n}\n.ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover::before,\n.ant-picker-cell-in-view.ant-picker-cell-range-start.ant-picker-cell-range-hover::before,\n.ant-picker-cell-in-view.ant-picker-cell-range-end.ant-picker-cell-range-hover::before,\n.ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single).ant-picker-cell-range-hover-start::before,\n.ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single).ant-picker-cell-range-hover-end::before,\n.ant-picker-panel > :not(.ant-picker-date-panel) .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start::before,\n.ant-picker-panel > :not(.ant-picker-date-panel) .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end::before {\n  background: #cbe6ff;\n}\n.ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single):not(.ant-picker-cell-range-end) .ant-picker-cell-inner {\n  border-radius: 2px 0 0 2px;\n}\n.ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single):not(.ant-picker-cell-range-start) .ant-picker-cell-inner {\n  border-radius: 0 2px 2px 0;\n}\n.ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start .ant-picker-cell-inner::after,\n.ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end .ant-picker-cell-inner::after {\n  position: absolute;\n  top: 0;\n  bottom: 0;\n  z-index: -1;\n  background: #cbe6ff;\n  content: '';\n}\n.ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start .ant-picker-cell-inner::after {\n  right: -6px;\n  left: 0;\n}\n.ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end .ant-picker-cell-inner::after {\n  right: 0;\n  left: -6px;\n}\n.ant-picker-cell-range-hover.ant-picker-cell-range-start::after {\n  right: 50%;\n}\n.ant-picker-cell-range-hover.ant-picker-cell-range-end::after {\n  left: 50%;\n}\ntr > .ant-picker-cell-in-view.ant-picker-cell-range-hover:first-child::after,\ntr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-end:first-child::after,\n.ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover-edge-start.ant-picker-cell-range-hover-edge-start-near-range::after,\n.ant-picker-cell-in-view.ant-picker-cell-range-hover-edge-start:not(.ant-picker-cell-range-hover-edge-start-near-range)::after,\n.ant-picker-cell-in-view.ant-picker-cell-range-hover-start::after {\n  left: 6px;\n  border-left: 1px dashed #7ec1ff;\n  border-top-left-radius: 2px;\n  border-bottom-left-radius: 2px;\n}\ntr > .ant-picker-cell-in-view.ant-picker-cell-range-hover:last-child::after,\ntr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::after,\n.ant-picker-cell-in-view.ant-picker-cell-end.ant-picker-cell-range-hover-edge-end.ant-picker-cell-range-hover-edge-end-near-range::after,\n.ant-picker-cell-in-view.ant-picker-cell-range-hover-edge-end:not(.ant-picker-cell-range-hover-edge-end-near-range)::after,\n.ant-picker-cell-in-view.ant-picker-cell-range-hover-end::after {\n  right: 6px;\n  border-right: 1px dashed #7ec1ff;\n  border-top-right-radius: 2px;\n  border-bottom-right-radius: 2px;\n}\n.ant-picker-cell-disabled {\n  pointer-events: none;\n}\n.ant-picker-cell-disabled .ant-picker-cell-inner {\n  color: rgba(0, 0, 0, 0.25);\n  background: transparent;\n}\n.ant-picker-cell-disabled::before {\n  background: #f5f5f5;\n}\n.ant-picker-cell-disabled.ant-picker-cell-today .ant-picker-cell-inner::before {\n  border-color: rgba(0, 0, 0, 0.25);\n}\n.ant-picker-decade-panel .ant-picker-content,\n.ant-picker-year-panel .ant-picker-content,\n.ant-picker-quarter-panel .ant-picker-content,\n.ant-picker-month-panel .ant-picker-content {\n  height: 264px;\n}\n.ant-picker-decade-panel .ant-picker-cell-inner,\n.ant-picker-year-panel .ant-picker-cell-inner,\n.ant-picker-quarter-panel .ant-picker-cell-inner,\n.ant-picker-month-panel .ant-picker-cell-inner {\n  padding: 0 8px;\n}\n.ant-picker-decade-panel .ant-picker-cell-disabled .ant-picker-cell-inner,\n.ant-picker-year-panel .ant-picker-cell-disabled .ant-picker-cell-inner,\n.ant-picker-quarter-panel .ant-picker-cell-disabled .ant-picker-cell-inner,\n.ant-picker-month-panel .ant-picker-cell-disabled .ant-picker-cell-inner {\n  background: #f5f5f5;\n}\n.ant-picker-quarter-panel .ant-picker-content {\n  height: 56px;\n}\n.ant-picker-footer {\n  width: -webkit-min-content;\n  width: -moz-min-content;\n  width: min-content;\n  min-width: 100%;\n  line-height: 38px;\n  text-align: center;\n  border-bottom: 1px solid transparent;\n}\n.ant-picker-panel .ant-picker-footer {\n  border-top: 1px solid #f0f0f0;\n}\n.ant-picker-footer-extra {\n  padding: 0 12px;\n  line-height: 38px;\n  text-align: left;\n}\n.ant-picker-footer-extra:not(:last-child) {\n  border-bottom: 1px solid #f0f0f0;\n}\n.ant-picker-now {\n  text-align: left;\n}\n.ant-picker-today-btn {\n  color: #1890ff;\n}\n.ant-picker-today-btn:hover {\n  color: #40a9ff;\n}\n.ant-picker-today-btn:active {\n  color: #096dd9;\n}\n.ant-picker-today-btn.ant-picker-today-btn-disabled {\n  color: rgba(0, 0, 0, 0.25);\n  cursor: not-allowed;\n}\n.ant-picker-decade-panel .ant-picker-cell-inner {\n  padding: 0 4px;\n}\n.ant-picker-decade-panel .ant-picker-cell::before {\n  display: none;\n}\n.ant-picker-year-panel .ant-picker-body,\n.ant-picker-quarter-panel .ant-picker-body,\n.ant-picker-month-panel .ant-picker-body {\n  padding: 0 8px;\n}\n.ant-picker-year-panel .ant-picker-cell-inner,\n.ant-picker-quarter-panel .ant-picker-cell-inner,\n.ant-picker-month-panel .ant-picker-cell-inner {\n  width: 60px;\n}\n.ant-picker-year-panel .ant-picker-cell-range-hover-start::after,\n.ant-picker-quarter-panel .ant-picker-cell-range-hover-start::after,\n.ant-picker-month-panel .ant-picker-cell-range-hover-start::after {\n  left: 14px;\n  border-left: 1px dashed #7ec1ff;\n  border-radius: 2px 0 0 2px;\n}\n.ant-picker-panel-rtl .ant-picker-year-panel .ant-picker-cell-range-hover-start::after,\n.ant-picker-panel-rtl .ant-picker-quarter-panel .ant-picker-cell-range-hover-start::after,\n.ant-picker-panel-rtl .ant-picker-month-panel .ant-picker-cell-range-hover-start::after {\n  right: 14px;\n  border-right: 1px dashed #7ec1ff;\n  border-radius: 0 2px 2px 0;\n}\n.ant-picker-year-panel .ant-picker-cell-range-hover-end::after,\n.ant-picker-quarter-panel .ant-picker-cell-range-hover-end::after,\n.ant-picker-month-panel .ant-picker-cell-range-hover-end::after {\n  right: 14px;\n  border-right: 1px dashed #7ec1ff;\n  border-radius: 0 2px 2px 0;\n}\n.ant-picker-panel-rtl .ant-picker-year-panel .ant-picker-cell-range-hover-end::after,\n.ant-picker-panel-rtl .ant-picker-quarter-panel .ant-picker-cell-range-hover-end::after,\n.ant-picker-panel-rtl .ant-picker-month-panel .ant-picker-cell-range-hover-end::after {\n  left: 14px;\n  border-left: 1px dashed #7ec1ff;\n  border-radius: 2px 0 0 2px;\n}\n.ant-picker-week-panel .ant-picker-body {\n  padding: 8px 12px;\n}\n.ant-picker-week-panel .ant-picker-cell:hover .ant-picker-cell-inner,\n.ant-picker-week-panel .ant-picker-cell-selected .ant-picker-cell-inner,\n.ant-picker-week-panel .ant-picker-cell .ant-picker-cell-inner {\n  background: transparent !important;\n}\n.ant-picker-week-panel-row td {\n  transition: background 0.3s;\n}\n.ant-picker-week-panel-row:hover td {\n  background: #f5f5f5;\n}\n.ant-picker-week-panel-row-selected td,\n.ant-picker-week-panel-row-selected:hover td {\n  background: #1890ff;\n}\n.ant-picker-week-panel-row-selected td.ant-picker-cell-week,\n.ant-picker-week-panel-row-selected:hover td.ant-picker-cell-week {\n  color: rgba(255, 255, 255, 0.5);\n}\n.ant-picker-week-panel-row-selected td.ant-picker-cell-today .ant-picker-cell-inner::before,\n.ant-picker-week-panel-row-selected:hover td.ant-picker-cell-today .ant-picker-cell-inner::before {\n  border-color: #fff;\n}\n.ant-picker-week-panel-row-selected td .ant-picker-cell-inner,\n.ant-picker-week-panel-row-selected:hover td .ant-picker-cell-inner {\n  color: #fff;\n}\n.ant-picker-date-panel .ant-picker-body {\n  padding: 8px 12px;\n}\n.ant-picker-date-panel .ant-picker-content {\n  width: 252px;\n}\n.ant-picker-date-panel .ant-picker-content th {\n  width: 36px;\n}\n.ant-picker-datetime-panel {\n  display: flex;\n}\n.ant-picker-datetime-panel .ant-picker-time-panel {\n  border-left: 1px solid #f0f0f0;\n}\n.ant-picker-datetime-panel .ant-picker-date-panel,\n.ant-picker-datetime-panel .ant-picker-time-panel {\n  transition: opacity 0.3s;\n}\n.ant-picker-datetime-panel-active .ant-picker-date-panel,\n.ant-picker-datetime-panel-active .ant-picker-time-panel {\n  opacity: 0.3;\n}\n.ant-picker-datetime-panel-active .ant-picker-date-panel-active,\n.ant-picker-datetime-panel-active .ant-picker-time-panel-active {\n  opacity: 1;\n}\n.ant-picker-time-panel {\n  width: auto;\n  min-width: auto;\n}\n.ant-picker-time-panel .ant-picker-content {\n  display: flex;\n  flex: auto;\n  height: 224px;\n}\n.ant-picker-time-panel-column {\n  flex: 1 0 auto;\n  width: 56px;\n  margin: 0;\n  padding: 0;\n  overflow-y: hidden;\n  text-align: left;\n  list-style: none;\n  transition: background 0.3s;\n}\n.ant-picker-time-panel-column::after {\n  display: block;\n  height: 196px;\n  content: '';\n}\n.ant-picker-datetime-panel .ant-picker-time-panel-column::after {\n  height: 198px;\n}\n.ant-picker-time-panel-column:not(:first-child) {\n  border-left: 1px solid #f0f0f0;\n}\n.ant-picker-time-panel-column-active {\n  background: rgba(230, 247, 255, 0.2);\n}\n.ant-picker-time-panel-column:hover {\n  overflow-y: auto;\n}\n.ant-picker-time-panel-column > li {\n  margin: 0;\n  padding: 0;\n}\n.ant-picker-time-panel-column > li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner {\n  display: block;\n  width: 100%;\n  height: 28px;\n  margin: 0;\n  padding: 0 0 0 14px;\n  color: rgba(0, 0, 0, 0.85);\n  line-height: 28px;\n  border-radius: 0;\n  cursor: pointer;\n  transition: background 0.3s;\n}\n.ant-picker-time-panel-column > li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner:hover {\n  background: #f5f5f5;\n}\n.ant-picker-time-panel-column > li.ant-picker-time-panel-cell-selected .ant-picker-time-panel-cell-inner {\n  background: #e6f7ff;\n}\n.ant-picker-time-panel-column > li.ant-picker-time-panel-cell-disabled .ant-picker-time-panel-cell-inner {\n  color: rgba(0, 0, 0, 0.25);\n  background: transparent;\n  cursor: not-allowed;\n}\n/* stylelint-disable-next-line */\n_:-ms-fullscreen .ant-picker-range-wrapper .ant-picker-month-panel .ant-picker-cell,\n:root .ant-picker-range-wrapper .ant-picker-month-panel .ant-picker-cell,\n_:-ms-fullscreen .ant-picker-range-wrapper .ant-picker-year-panel .ant-picker-cell,\n:root .ant-picker-range-wrapper .ant-picker-year-panel .ant-picker-cell {\n  padding: 21px 0;\n}\n.ant-picker-rtl {\n  direction: rtl;\n}\n.ant-picker-rtl .ant-picker-suffix {\n  margin-right: 4px;\n  margin-left: 0;\n}\n.ant-picker-rtl .ant-picker-clear {\n  right: auto;\n  left: 0;\n}\n.ant-picker-rtl .ant-picker-separator {\n  transform: rotate(180deg);\n}\n.ant-picker-panel-rtl .ant-picker-header-view button:not(:first-child) {\n  margin-right: 8px;\n  margin-left: 0;\n}\n.ant-picker-rtl.ant-picker-range .ant-picker-clear {\n  right: auto;\n  left: 11px;\n}\n.ant-picker-rtl.ant-picker-range .ant-picker-active-bar {\n  margin-right: 11px;\n  margin-left: 0;\n}\n.ant-picker-rtl.ant-picker-range.ant-picker-small .ant-picker-active-bar {\n  margin-right: 7px;\n}\n.ant-picker-dropdown-rtl .ant-picker-ranges {\n  text-align: right;\n}\n.ant-picker-dropdown-rtl .ant-picker-ranges .ant-picker-ok {\n  float: left;\n  margin-right: 8px;\n  margin-left: 0;\n}\n.ant-picker-panel-rtl {\n  direction: rtl;\n}\n.ant-picker-panel-rtl .ant-picker-prev-icon,\n.ant-picker-panel-rtl .ant-picker-super-prev-icon {\n  transform: rotate(135deg);\n}\n.ant-picker-panel-rtl .ant-picker-next-icon,\n.ant-picker-panel-rtl .ant-picker-super-next-icon {\n  transform: rotate(-45deg);\n}\n.ant-picker-cell .ant-picker-cell-inner {\n  position: relative;\n  z-index: 2;\n  display: inline-block;\n  min-width: 24px;\n  height: 24px;\n  line-height: 24px;\n  border-radius: 2px;\n  transition: background 0.3s, border 0.3s;\n}\n.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-start::before {\n  right: 50%;\n  left: 0;\n}\n.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-end::before {\n  right: 0;\n  left: 50%;\n}\n.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-start.ant-picker-cell-range-end::before {\n  right: 50%;\n  left: 50%;\n}\n.ant-picker-panel-rtl .ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start .ant-picker-cell-inner::after {\n  right: 0;\n  left: -6px;\n}\n.ant-picker-panel-rtl .ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end .ant-picker-cell-inner::after {\n  right: -6px;\n  left: 0;\n}\n.ant-picker-panel-rtl .ant-picker-cell-range-hover.ant-picker-cell-range-start::after {\n  right: 0;\n  left: 50%;\n}\n.ant-picker-panel-rtl .ant-picker-cell-range-hover.ant-picker-cell-range-end::after {\n  right: 50%;\n  left: 0;\n}\n.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single):not(.ant-picker-cell-range-end) .ant-picker-cell-inner {\n  border-radius: 0 2px 2px 0;\n}\n.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single):not(.ant-picker-cell-range-start) .ant-picker-cell-inner {\n  border-radius: 2px 0 0 2px;\n}\n.ant-picker-panel-rtl tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover:not(.ant-picker-cell-selected):first-child::after,\n.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover-edge-start.ant-picker-cell-range-hover-edge-start-near-range::after,\n.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-hover-edge-start:not(.ant-picker-cell-range-hover-edge-start-near-range)::after,\n.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-hover-start::after {\n  right: 6px;\n  left: 0;\n  border-right: 1px dashed #7ec1ff;\n  border-left: none;\n  border-top-left-radius: 0;\n  border-top-right-radius: 2px;\n  border-bottom-right-radius: 2px;\n  border-bottom-left-radius: 0;\n}\n.ant-picker-panel-rtl tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover:not(.ant-picker-cell-selected):last-child::after,\n.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-end.ant-picker-cell-range-hover-edge-end.ant-picker-cell-range-hover-edge-end-near-range::after,\n.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-hover-edge-end:not(.ant-picker-cell-range-hover-edge-end-near-range)::after,\n.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-hover-end::after {\n  right: 0;\n  left: 6px;\n  border-right: none;\n  border-left: 1px dashed #7ec1ff;\n  border-top-left-radius: 2px;\n  border-top-right-radius: 0;\n  border-bottom-right-radius: 0;\n  border-bottom-left-radius: 2px;\n}\n.ant-picker-panel-rtl tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::after,\n.ant-picker-panel-rtl tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-end:first-child::after,\n.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover-edge-start:not(.ant-picker-cell-range-hover)::after,\n.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover-end.ant-picker-cell-range-hover-edge-start:not(.ant-picker-cell-range-hover)::after,\n.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-end.ant-picker-cell-range-hover-start.ant-picker-cell-range-hover-edge-end:not(.ant-picker-cell-range-hover)::after,\n.ant-picker-panel-rtl tr > .ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover.ant-picker-cell-range-hover-edge-start:last-child::after,\n.ant-picker-panel-rtl tr > .ant-picker-cell-in-view.ant-picker-cell-end.ant-picker-cell-range-hover.ant-picker-cell-range-hover-edge-end:first-child::after {\n  right: 6px;\n  left: 6px;\n  border-right: 1px dashed #7ec1ff;\n  border-left: 1px dashed #7ec1ff;\n  border-radius: 2px;\n}\n.ant-picker-dropdown-rtl .ant-picker-footer-extra {\n  direction: rtl;\n  text-align: right;\n}\n.ant-picker-panel-rtl .ant-picker-time-panel {\n  direction: ltr;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-tag {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  display: inline-block;\n  height: auto;\n  margin-right: 8px;\n  padding: 0 7px;\n  font-size: 12px;\n  line-height: 20px;\n  white-space: nowrap;\n  background: #fafafa;\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n  opacity: 1;\n  transition: all 0.3s;\n}\n.ant-tag,\n.ant-tag a,\n.ant-tag a:hover {\n  color: rgba(0, 0, 0, 0.85);\n}\n.ant-tag > a:first-child:last-child {\n  display: inline-block;\n  margin: 0 -8px;\n  padding: 0 8px;\n}\n.ant-tag-close-icon {\n  margin-left: 3px;\n  color: rgba(0, 0, 0, 0.45);\n  font-size: 10px;\n  cursor: pointer;\n  transition: all 0.3s;\n}\n.ant-tag-close-icon:hover {\n  color: rgba(0, 0, 0, 0.85);\n}\n.ant-tag-has-color {\n  border-color: transparent;\n}\n.ant-tag-has-color,\n.ant-tag-has-color a,\n.ant-tag-has-color a:hover,\n.ant-tag-has-color .anticon-close,\n.ant-tag-has-color .anticon-close:hover {\n  color: #fff;\n}\n.ant-tag-checkable {\n  background-color: transparent;\n  border-color: transparent;\n  cursor: pointer;\n}\n.ant-tag-checkable:not(.ant-tag-checkable-checked):hover {\n  color: #1890ff;\n}\n.ant-tag-checkable:active,\n.ant-tag-checkable-checked {\n  color: #fff;\n}\n.ant-tag-checkable-checked {\n  background-color: #1890ff;\n}\n.ant-tag-checkable:active {\n  background-color: #096dd9;\n}\n.ant-tag-hidden {\n  display: none;\n}\n.ant-tag-pink {\n  color: #c41d7f;\n  background: #fff0f6;\n  border-color: #ffadd2;\n}\n.ant-tag-pink-inverse {\n  color: #fff;\n  background: #eb2f96;\n  border-color: #eb2f96;\n}\n.ant-tag-magenta {\n  color: #c41d7f;\n  background: #fff0f6;\n  border-color: #ffadd2;\n}\n.ant-tag-magenta-inverse {\n  color: #fff;\n  background: #eb2f96;\n  border-color: #eb2f96;\n}\n.ant-tag-red {\n  color: #cf1322;\n  background: #fff1f0;\n  border-color: #ffa39e;\n}\n.ant-tag-red-inverse {\n  color: #fff;\n  background: #f5222d;\n  border-color: #f5222d;\n}\n.ant-tag-volcano {\n  color: #d4380d;\n  background: #fff2e8;\n  border-color: #ffbb96;\n}\n.ant-tag-volcano-inverse {\n  color: #fff;\n  background: #fa541c;\n  border-color: #fa541c;\n}\n.ant-tag-orange {\n  color: #d46b08;\n  background: #fff7e6;\n  border-color: #ffd591;\n}\n.ant-tag-orange-inverse {\n  color: #fff;\n  background: #fa8c16;\n  border-color: #fa8c16;\n}\n.ant-tag-yellow {\n  color: #d4b106;\n  background: #feffe6;\n  border-color: #fffb8f;\n}\n.ant-tag-yellow-inverse {\n  color: #fff;\n  background: #fadb14;\n  border-color: #fadb14;\n}\n.ant-tag-gold {\n  color: #d48806;\n  background: #fffbe6;\n  border-color: #ffe58f;\n}\n.ant-tag-gold-inverse {\n  color: #fff;\n  background: #faad14;\n  border-color: #faad14;\n}\n.ant-tag-cyan {\n  color: #08979c;\n  background: #e6fffb;\n  border-color: #87e8de;\n}\n.ant-tag-cyan-inverse {\n  color: #fff;\n  background: #13c2c2;\n  border-color: #13c2c2;\n}\n.ant-tag-lime {\n  color: #7cb305;\n  background: #fcffe6;\n  border-color: #eaff8f;\n}\n.ant-tag-lime-inverse {\n  color: #fff;\n  background: #a0d911;\n  border-color: #a0d911;\n}\n.ant-tag-green {\n  color: #389e0d;\n  background: #f6ffed;\n  border-color: #b7eb8f;\n}\n.ant-tag-green-inverse {\n  color: #fff;\n  background: #52c41a;\n  border-color: #52c41a;\n}\n.ant-tag-blue {\n  color: #096dd9;\n  background: #e6f7ff;\n  border-color: #91d5ff;\n}\n.ant-tag-blue-inverse {\n  color: #fff;\n  background: #1890ff;\n  border-color: #1890ff;\n}\n.ant-tag-geekblue {\n  color: #1d39c4;\n  background: #f0f5ff;\n  border-color: #adc6ff;\n}\n.ant-tag-geekblue-inverse {\n  color: #fff;\n  background: #2f54eb;\n  border-color: #2f54eb;\n}\n.ant-tag-purple {\n  color: #531dab;\n  background: #f9f0ff;\n  border-color: #d3adf7;\n}\n.ant-tag-purple-inverse {\n  color: #fff;\n  background: #722ed1;\n  border-color: #722ed1;\n}\n.ant-tag-success {\n  color: #52c41a;\n  background: #f6ffed;\n  border-color: #b7eb8f;\n}\n.ant-tag-processing {\n  color: #1890ff;\n  background: #e6f7ff;\n  border-color: #91d5ff;\n}\n.ant-tag-error {\n  color: #f5222d;\n  background: #fff1f0;\n  border-color: #ffa39e;\n}\n.ant-tag-warning {\n  color: #fa8c16;\n  background: #fff7e6;\n  border-color: #ffd591;\n}\n.ant-tag > .anticon + span,\n.ant-tag > span + .anticon {\n  margin-left: 7px;\n}\n.ant-tag.ant-tag-rtl {\n  margin-right: 0;\n  margin-left: 8px;\n  direction: rtl;\n  text-align: right;\n}\n.ant-tag-rtl .ant-tag-close-icon {\n  margin-right: 3px;\n  margin-left: 0;\n}\n.ant-tag-rtl.ant-tag > .anticon + span,\n.ant-tag-rtl.ant-tag > span + .anticon {\n  margin-right: 7px;\n  margin-left: 0;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-btn {\n  line-height: 1.5715;\n  position: relative;\n  display: inline-block;\n  font-weight: 400;\n  white-space: nowrap;\n  text-align: center;\n  background-image: none;\n  border: 1px solid transparent;\n  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.015);\n  cursor: pointer;\n  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n  touch-action: manipulation;\n  height: 32px;\n  padding: 4px 15px;\n  font-size: 14px;\n  border-radius: 2px;\n  color: rgba(0, 0, 0, 0.85);\n  background: #fff;\n  border-color: #d9d9d9;\n}\n.ant-btn > .anticon {\n  line-height: 1;\n}\n.ant-btn,\n.ant-btn:active,\n.ant-btn:focus {\n  outline: 0;\n}\n.ant-btn:not([disabled]):hover {\n  text-decoration: none;\n}\n.ant-btn:not([disabled]):active {\n  outline: 0;\n  box-shadow: none;\n}\n.ant-btn[disabled] {\n  cursor: not-allowed;\n}\n.ant-btn[disabled] > * {\n  pointer-events: none;\n}\n.ant-btn-lg {\n  height: 40px;\n  padding: 6.4px 15px;\n  font-size: 16px;\n  border-radius: 2px;\n}\n.ant-btn-sm {\n  height: 24px;\n  padding: 0px 7px;\n  font-size: 14px;\n  border-radius: 2px;\n}\n.ant-btn > a:only-child {\n  color: currentColor;\n}\n.ant-btn > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn:hover,\n.ant-btn:focus {\n  color: #40a9ff;\n  background: #fff;\n  border-color: #40a9ff;\n}\n.ant-btn:hover > a:only-child,\n.ant-btn:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn:hover > a:only-child::after,\n.ant-btn:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn:active {\n  color: #096dd9;\n  background: #fff;\n  border-color: #096dd9;\n}\n.ant-btn:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn[disabled],\n.ant-btn[disabled]:hover,\n.ant-btn[disabled]:focus,\n.ant-btn[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  background: #f5f5f5;\n  border-color: #d9d9d9;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn[disabled] > a:only-child,\n.ant-btn[disabled]:hover > a:only-child,\n.ant-btn[disabled]:focus > a:only-child,\n.ant-btn[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn[disabled] > a:only-child::after,\n.ant-btn[disabled]:hover > a:only-child::after,\n.ant-btn[disabled]:focus > a:only-child::after,\n.ant-btn[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn:hover,\n.ant-btn:focus,\n.ant-btn:active {\n  text-decoration: none;\n  background: #fff;\n}\n.ant-btn > span {\n  display: inline-block;\n}\n.ant-btn-primary {\n  color: #fff;\n  background: #1890ff;\n  border-color: #1890ff;\n  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);\n  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);\n}\n.ant-btn-primary > a:only-child {\n  color: currentColor;\n}\n.ant-btn-primary > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-primary:hover,\n.ant-btn-primary:focus {\n  color: #fff;\n  background: #40a9ff;\n  border-color: #40a9ff;\n}\n.ant-btn-primary:hover > a:only-child,\n.ant-btn-primary:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn-primary:hover > a:only-child::after,\n.ant-btn-primary:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-primary:active {\n  color: #fff;\n  background: #096dd9;\n  border-color: #096dd9;\n}\n.ant-btn-primary:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-primary:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-primary[disabled],\n.ant-btn-primary[disabled]:hover,\n.ant-btn-primary[disabled]:focus,\n.ant-btn-primary[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  background: #f5f5f5;\n  border-color: #d9d9d9;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-primary[disabled] > a:only-child,\n.ant-btn-primary[disabled]:hover > a:only-child,\n.ant-btn-primary[disabled]:focus > a:only-child,\n.ant-btn-primary[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-primary[disabled] > a:only-child::after,\n.ant-btn-primary[disabled]:hover > a:only-child::after,\n.ant-btn-primary[disabled]:focus > a:only-child::after,\n.ant-btn-primary[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-group .ant-btn-primary:not(:first-child):not(:last-child) {\n  border-right-color: #40a9ff;\n  border-left-color: #40a9ff;\n}\n.ant-btn-group .ant-btn-primary:not(:first-child):not(:last-child):disabled {\n  border-color: #d9d9d9;\n}\n.ant-btn-group .ant-btn-primary:first-child:not(:last-child) {\n  border-right-color: #40a9ff;\n}\n.ant-btn-group .ant-btn-primary:first-child:not(:last-child)[disabled] {\n  border-right-color: #d9d9d9;\n}\n.ant-btn-group .ant-btn-primary:last-child:not(:first-child),\n.ant-btn-group .ant-btn-primary + .ant-btn-primary {\n  border-left-color: #40a9ff;\n}\n.ant-btn-group .ant-btn-primary:last-child:not(:first-child)[disabled],\n.ant-btn-group .ant-btn-primary + .ant-btn-primary[disabled] {\n  border-left-color: #d9d9d9;\n}\n.ant-btn-ghost {\n  color: rgba(0, 0, 0, 0.85);\n  background: transparent;\n  border-color: #d9d9d9;\n}\n.ant-btn-ghost > a:only-child {\n  color: currentColor;\n}\n.ant-btn-ghost > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-ghost:hover,\n.ant-btn-ghost:focus {\n  color: #40a9ff;\n  background: transparent;\n  border-color: #40a9ff;\n}\n.ant-btn-ghost:hover > a:only-child,\n.ant-btn-ghost:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn-ghost:hover > a:only-child::after,\n.ant-btn-ghost:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-ghost:active {\n  color: #096dd9;\n  background: transparent;\n  border-color: #096dd9;\n}\n.ant-btn-ghost:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-ghost:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-ghost[disabled],\n.ant-btn-ghost[disabled]:hover,\n.ant-btn-ghost[disabled]:focus,\n.ant-btn-ghost[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  background: #f5f5f5;\n  border-color: #d9d9d9;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-ghost[disabled] > a:only-child,\n.ant-btn-ghost[disabled]:hover > a:only-child,\n.ant-btn-ghost[disabled]:focus > a:only-child,\n.ant-btn-ghost[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-ghost[disabled] > a:only-child::after,\n.ant-btn-ghost[disabled]:hover > a:only-child::after,\n.ant-btn-ghost[disabled]:focus > a:only-child::after,\n.ant-btn-ghost[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dashed {\n  color: rgba(0, 0, 0, 0.85);\n  background: #fff;\n  border-color: #d9d9d9;\n  border-style: dashed;\n}\n.ant-btn-dashed > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dashed > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dashed:hover,\n.ant-btn-dashed:focus {\n  color: #40a9ff;\n  background: #fff;\n  border-color: #40a9ff;\n}\n.ant-btn-dashed:hover > a:only-child,\n.ant-btn-dashed:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dashed:hover > a:only-child::after,\n.ant-btn-dashed:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dashed:active {\n  color: #096dd9;\n  background: #fff;\n  border-color: #096dd9;\n}\n.ant-btn-dashed:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dashed:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dashed[disabled],\n.ant-btn-dashed[disabled]:hover,\n.ant-btn-dashed[disabled]:focus,\n.ant-btn-dashed[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  background: #f5f5f5;\n  border-color: #d9d9d9;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-dashed[disabled] > a:only-child,\n.ant-btn-dashed[disabled]:hover > a:only-child,\n.ant-btn-dashed[disabled]:focus > a:only-child,\n.ant-btn-dashed[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dashed[disabled] > a:only-child::after,\n.ant-btn-dashed[disabled]:hover > a:only-child::after,\n.ant-btn-dashed[disabled]:focus > a:only-child::after,\n.ant-btn-dashed[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-danger {\n  color: #fff;\n  background: #ff4d4f;\n  border-color: #ff4d4f;\n  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);\n  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);\n}\n.ant-btn-danger > a:only-child {\n  color: currentColor;\n}\n.ant-btn-danger > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-danger:hover,\n.ant-btn-danger:focus {\n  color: #fff;\n  background: #ff7875;\n  border-color: #ff7875;\n}\n.ant-btn-danger:hover > a:only-child,\n.ant-btn-danger:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn-danger:hover > a:only-child::after,\n.ant-btn-danger:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-danger:active {\n  color: #fff;\n  background: #d9363e;\n  border-color: #d9363e;\n}\n.ant-btn-danger:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-danger:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-danger[disabled],\n.ant-btn-danger[disabled]:hover,\n.ant-btn-danger[disabled]:focus,\n.ant-btn-danger[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  background: #f5f5f5;\n  border-color: #d9d9d9;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-danger[disabled] > a:only-child,\n.ant-btn-danger[disabled]:hover > a:only-child,\n.ant-btn-danger[disabled]:focus > a:only-child,\n.ant-btn-danger[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-danger[disabled] > a:only-child::after,\n.ant-btn-danger[disabled]:hover > a:only-child::after,\n.ant-btn-danger[disabled]:focus > a:only-child::after,\n.ant-btn-danger[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-link {\n  color: #1890ff;\n  background: transparent;\n  border-color: transparent;\n  box-shadow: none;\n}\n.ant-btn-link > a:only-child {\n  color: currentColor;\n}\n.ant-btn-link > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-link:hover,\n.ant-btn-link:focus {\n  color: #40a9ff;\n  background: transparent;\n  border-color: #40a9ff;\n}\n.ant-btn-link:hover > a:only-child,\n.ant-btn-link:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn-link:hover > a:only-child::after,\n.ant-btn-link:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-link:active {\n  color: #096dd9;\n  background: transparent;\n  border-color: #096dd9;\n}\n.ant-btn-link:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-link:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-link[disabled],\n.ant-btn-link[disabled]:hover,\n.ant-btn-link[disabled]:focus,\n.ant-btn-link[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  background: #f5f5f5;\n  border-color: #d9d9d9;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-link[disabled] > a:only-child,\n.ant-btn-link[disabled]:hover > a:only-child,\n.ant-btn-link[disabled]:focus > a:only-child,\n.ant-btn-link[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-link[disabled] > a:only-child::after,\n.ant-btn-link[disabled]:hover > a:only-child::after,\n.ant-btn-link[disabled]:focus > a:only-child::after,\n.ant-btn-link[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-link:hover {\n  background: transparent;\n}\n.ant-btn-link:hover,\n.ant-btn-link:focus,\n.ant-btn-link:active {\n  border-color: transparent;\n}\n.ant-btn-link[disabled],\n.ant-btn-link[disabled]:hover,\n.ant-btn-link[disabled]:focus,\n.ant-btn-link[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  background: transparent;\n  border-color: transparent;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-link[disabled] > a:only-child,\n.ant-btn-link[disabled]:hover > a:only-child,\n.ant-btn-link[disabled]:focus > a:only-child,\n.ant-btn-link[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-link[disabled] > a:only-child::after,\n.ant-btn-link[disabled]:hover > a:only-child::after,\n.ant-btn-link[disabled]:focus > a:only-child::after,\n.ant-btn-link[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-text {\n  color: rgba(0, 0, 0, 0.85);\n  background: transparent;\n  border-color: transparent;\n  box-shadow: none;\n}\n.ant-btn-text > a:only-child {\n  color: currentColor;\n}\n.ant-btn-text > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-text:hover,\n.ant-btn-text:focus {\n  color: #40a9ff;\n  background: transparent;\n  border-color: #40a9ff;\n}\n.ant-btn-text:hover > a:only-child,\n.ant-btn-text:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn-text:hover > a:only-child::after,\n.ant-btn-text:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-text:active {\n  color: #096dd9;\n  background: transparent;\n  border-color: #096dd9;\n}\n.ant-btn-text:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-text:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-text[disabled],\n.ant-btn-text[disabled]:hover,\n.ant-btn-text[disabled]:focus,\n.ant-btn-text[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  background: #f5f5f5;\n  border-color: #d9d9d9;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-text[disabled] > a:only-child,\n.ant-btn-text[disabled]:hover > a:only-child,\n.ant-btn-text[disabled]:focus > a:only-child,\n.ant-btn-text[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-text[disabled] > a:only-child::after,\n.ant-btn-text[disabled]:hover > a:only-child::after,\n.ant-btn-text[disabled]:focus > a:only-child::after,\n.ant-btn-text[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-text:hover,\n.ant-btn-text:focus {\n  color: rgba(0, 0, 0, 0.85);\n  background: rgba(0, 0, 0, 0.018);\n  border-color: transparent;\n}\n.ant-btn-text:active {\n  color: rgba(0, 0, 0, 0.85);\n  background: rgba(0, 0, 0, 0.028);\n  border-color: transparent;\n}\n.ant-btn-text[disabled],\n.ant-btn-text[disabled]:hover,\n.ant-btn-text[disabled]:focus,\n.ant-btn-text[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  background: transparent;\n  border-color: transparent;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-text[disabled] > a:only-child,\n.ant-btn-text[disabled]:hover > a:only-child,\n.ant-btn-text[disabled]:focus > a:only-child,\n.ant-btn-text[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-text[disabled] > a:only-child::after,\n.ant-btn-text[disabled]:hover > a:only-child::after,\n.ant-btn-text[disabled]:focus > a:only-child::after,\n.ant-btn-text[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous {\n  color: #ff4d4f;\n  background: #fff;\n  border-color: #ff4d4f;\n}\n.ant-btn-dangerous > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous:hover,\n.ant-btn-dangerous:focus {\n  color: #ff7875;\n  background: #fff;\n  border-color: #ff7875;\n}\n.ant-btn-dangerous:hover > a:only-child,\n.ant-btn-dangerous:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous:hover > a:only-child::after,\n.ant-btn-dangerous:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous:active {\n  color: #d9363e;\n  background: #fff;\n  border-color: #d9363e;\n}\n.ant-btn-dangerous:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous[disabled],\n.ant-btn-dangerous[disabled]:hover,\n.ant-btn-dangerous[disabled]:focus,\n.ant-btn-dangerous[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  background: #f5f5f5;\n  border-color: #d9d9d9;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-dangerous[disabled] > a:only-child,\n.ant-btn-dangerous[disabled]:hover > a:only-child,\n.ant-btn-dangerous[disabled]:focus > a:only-child,\n.ant-btn-dangerous[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous[disabled] > a:only-child::after,\n.ant-btn-dangerous[disabled]:hover > a:only-child::after,\n.ant-btn-dangerous[disabled]:focus > a:only-child::after,\n.ant-btn-dangerous[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-primary {\n  color: #fff;\n  background: #ff4d4f;\n  border-color: #ff4d4f;\n  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);\n  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);\n}\n.ant-btn-dangerous.ant-btn-primary > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-primary > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-primary:hover,\n.ant-btn-dangerous.ant-btn-primary:focus {\n  color: #fff;\n  background: #ff7875;\n  border-color: #ff7875;\n}\n.ant-btn-dangerous.ant-btn-primary:hover > a:only-child,\n.ant-btn-dangerous.ant-btn-primary:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-primary:hover > a:only-child::after,\n.ant-btn-dangerous.ant-btn-primary:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-primary:active {\n  color: #fff;\n  background: #d9363e;\n  border-color: #d9363e;\n}\n.ant-btn-dangerous.ant-btn-primary:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-primary:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-primary[disabled],\n.ant-btn-dangerous.ant-btn-primary[disabled]:hover,\n.ant-btn-dangerous.ant-btn-primary[disabled]:focus,\n.ant-btn-dangerous.ant-btn-primary[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  background: #f5f5f5;\n  border-color: #d9d9d9;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-dangerous.ant-btn-primary[disabled] > a:only-child,\n.ant-btn-dangerous.ant-btn-primary[disabled]:hover > a:only-child,\n.ant-btn-dangerous.ant-btn-primary[disabled]:focus > a:only-child,\n.ant-btn-dangerous.ant-btn-primary[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-primary[disabled] > a:only-child::after,\n.ant-btn-dangerous.ant-btn-primary[disabled]:hover > a:only-child::after,\n.ant-btn-dangerous.ant-btn-primary[disabled]:focus > a:only-child::after,\n.ant-btn-dangerous.ant-btn-primary[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-link {\n  color: #ff4d4f;\n  background: transparent;\n  border-color: transparent;\n  box-shadow: none;\n}\n.ant-btn-dangerous.ant-btn-link > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-link > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-link:hover,\n.ant-btn-dangerous.ant-btn-link:focus {\n  color: #40a9ff;\n  background: transparent;\n  border-color: #40a9ff;\n}\n.ant-btn-dangerous.ant-btn-link:hover > a:only-child,\n.ant-btn-dangerous.ant-btn-link:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-link:hover > a:only-child::after,\n.ant-btn-dangerous.ant-btn-link:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-link:active {\n  color: #096dd9;\n  background: transparent;\n  border-color: #096dd9;\n}\n.ant-btn-dangerous.ant-btn-link:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-link:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-link[disabled],\n.ant-btn-dangerous.ant-btn-link[disabled]:hover,\n.ant-btn-dangerous.ant-btn-link[disabled]:focus,\n.ant-btn-dangerous.ant-btn-link[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  background: #f5f5f5;\n  border-color: #d9d9d9;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-dangerous.ant-btn-link[disabled] > a:only-child,\n.ant-btn-dangerous.ant-btn-link[disabled]:hover > a:only-child,\n.ant-btn-dangerous.ant-btn-link[disabled]:focus > a:only-child,\n.ant-btn-dangerous.ant-btn-link[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-link[disabled] > a:only-child::after,\n.ant-btn-dangerous.ant-btn-link[disabled]:hover > a:only-child::after,\n.ant-btn-dangerous.ant-btn-link[disabled]:focus > a:only-child::after,\n.ant-btn-dangerous.ant-btn-link[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-link:hover,\n.ant-btn-dangerous.ant-btn-link:focus {\n  color: #ff7875;\n  background: transparent;\n  border-color: transparent;\n}\n.ant-btn-dangerous.ant-btn-link:hover > a:only-child,\n.ant-btn-dangerous.ant-btn-link:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-link:hover > a:only-child::after,\n.ant-btn-dangerous.ant-btn-link:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-link:active {\n  color: #d9363e;\n  background: transparent;\n  border-color: transparent;\n}\n.ant-btn-dangerous.ant-btn-link:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-link:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-link[disabled],\n.ant-btn-dangerous.ant-btn-link[disabled]:hover,\n.ant-btn-dangerous.ant-btn-link[disabled]:focus,\n.ant-btn-dangerous.ant-btn-link[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  background: transparent;\n  border-color: transparent;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-dangerous.ant-btn-link[disabled] > a:only-child,\n.ant-btn-dangerous.ant-btn-link[disabled]:hover > a:only-child,\n.ant-btn-dangerous.ant-btn-link[disabled]:focus > a:only-child,\n.ant-btn-dangerous.ant-btn-link[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-link[disabled] > a:only-child::after,\n.ant-btn-dangerous.ant-btn-link[disabled]:hover > a:only-child::after,\n.ant-btn-dangerous.ant-btn-link[disabled]:focus > a:only-child::after,\n.ant-btn-dangerous.ant-btn-link[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-text {\n  color: #ff4d4f;\n  background: transparent;\n  border-color: transparent;\n  box-shadow: none;\n}\n.ant-btn-dangerous.ant-btn-text > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-text > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-text:hover,\n.ant-btn-dangerous.ant-btn-text:focus {\n  color: #40a9ff;\n  background: transparent;\n  border-color: #40a9ff;\n}\n.ant-btn-dangerous.ant-btn-text:hover > a:only-child,\n.ant-btn-dangerous.ant-btn-text:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-text:hover > a:only-child::after,\n.ant-btn-dangerous.ant-btn-text:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-text:active {\n  color: #096dd9;\n  background: transparent;\n  border-color: #096dd9;\n}\n.ant-btn-dangerous.ant-btn-text:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-text:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-text[disabled],\n.ant-btn-dangerous.ant-btn-text[disabled]:hover,\n.ant-btn-dangerous.ant-btn-text[disabled]:focus,\n.ant-btn-dangerous.ant-btn-text[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  background: #f5f5f5;\n  border-color: #d9d9d9;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-dangerous.ant-btn-text[disabled] > a:only-child,\n.ant-btn-dangerous.ant-btn-text[disabled]:hover > a:only-child,\n.ant-btn-dangerous.ant-btn-text[disabled]:focus > a:only-child,\n.ant-btn-dangerous.ant-btn-text[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-text[disabled] > a:only-child::after,\n.ant-btn-dangerous.ant-btn-text[disabled]:hover > a:only-child::after,\n.ant-btn-dangerous.ant-btn-text[disabled]:focus > a:only-child::after,\n.ant-btn-dangerous.ant-btn-text[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-text:hover,\n.ant-btn-dangerous.ant-btn-text:focus {\n  color: #ff7875;\n  background: rgba(0, 0, 0, 0.018);\n  border-color: transparent;\n}\n.ant-btn-dangerous.ant-btn-text:hover > a:only-child,\n.ant-btn-dangerous.ant-btn-text:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-text:hover > a:only-child::after,\n.ant-btn-dangerous.ant-btn-text:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-text:active {\n  color: #d9363e;\n  background: rgba(0, 0, 0, 0.028);\n  border-color: transparent;\n}\n.ant-btn-dangerous.ant-btn-text:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-text:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-text[disabled],\n.ant-btn-dangerous.ant-btn-text[disabled]:hover,\n.ant-btn-dangerous.ant-btn-text[disabled]:focus,\n.ant-btn-dangerous.ant-btn-text[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  background: transparent;\n  border-color: transparent;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-dangerous.ant-btn-text[disabled] > a:only-child,\n.ant-btn-dangerous.ant-btn-text[disabled]:hover > a:only-child,\n.ant-btn-dangerous.ant-btn-text[disabled]:focus > a:only-child,\n.ant-btn-dangerous.ant-btn-text[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-text[disabled] > a:only-child::after,\n.ant-btn-dangerous.ant-btn-text[disabled]:hover > a:only-child::after,\n.ant-btn-dangerous.ant-btn-text[disabled]:focus > a:only-child::after,\n.ant-btn-dangerous.ant-btn-text[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-icon-only {\n  width: 32px;\n  height: 32px;\n  padding: 2.4px 0;\n  font-size: 16px;\n  border-radius: 2px;\n  vertical-align: -1px;\n}\n.ant-btn-icon-only > * {\n  font-size: 16px;\n}\n.ant-btn-icon-only.ant-btn-lg {\n  width: 40px;\n  height: 40px;\n  padding: 4.9px 0;\n  font-size: 18px;\n  border-radius: 2px;\n}\n.ant-btn-icon-only.ant-btn-lg > * {\n  font-size: 18px;\n}\n.ant-btn-icon-only.ant-btn-sm {\n  width: 24px;\n  height: 24px;\n  padding: 0px 0;\n  font-size: 14px;\n  border-radius: 2px;\n}\n.ant-btn-icon-only.ant-btn-sm > * {\n  font-size: 14px;\n}\n.ant-btn-round {\n  height: 32px;\n  padding: 4px 16px;\n  font-size: 14px;\n  border-radius: 32px;\n}\n.ant-btn-round.ant-btn-lg {\n  height: 40px;\n  padding: 6.4px 20px;\n  font-size: 16px;\n  border-radius: 40px;\n}\n.ant-btn-round.ant-btn-sm {\n  height: 24px;\n  padding: 0px 12px;\n  font-size: 14px;\n  border-radius: 24px;\n}\n.ant-btn-round.ant-btn-icon-only {\n  width: auto;\n}\n.ant-btn-circle {\n  min-width: 32px;\n  padding-right: 0;\n  padding-left: 0;\n  text-align: center;\n  border-radius: 50%;\n}\n.ant-btn-circle.ant-btn-lg {\n  min-width: 40px;\n  border-radius: 50%;\n}\n.ant-btn-circle.ant-btn-sm {\n  min-width: 24px;\n  border-radius: 50%;\n}\n.ant-btn::before {\n  position: absolute;\n  top: -1px;\n  right: -1px;\n  bottom: -1px;\n  left: -1px;\n  z-index: 1;\n  display: none;\n  background: #fff;\n  border-radius: inherit;\n  opacity: 0.35;\n  transition: opacity 0.2s;\n  content: '';\n  pointer-events: none;\n}\n.ant-btn .anticon {\n  transition: margin-left 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n.ant-btn .anticon.anticon-plus > svg,\n.ant-btn .anticon.anticon-minus > svg {\n  shape-rendering: optimizeSpeed;\n}\n.ant-btn.ant-btn-loading {\n  position: relative;\n}\n.ant-btn.ant-btn-loading:not([disabled]) {\n  pointer-events: none;\n}\n.ant-btn.ant-btn-loading::before {\n  display: block;\n}\n.ant-btn > .ant-btn-loading-icon {\n  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n.ant-btn > .ant-btn-loading-icon .anticon {\n  padding-right: 8px;\n  -webkit-animation: none;\n          animation: none;\n}\n.ant-btn > .ant-btn-loading-icon .anticon svg {\n  -webkit-animation: loadingCircle 1s infinite linear;\n          animation: loadingCircle 1s infinite linear;\n}\n.ant-btn > .ant-btn-loading-icon:only-child .anticon {\n  padding-right: 0;\n}\n.ant-btn-group {\n  position: relative;\n  display: inline-flex;\n}\n.ant-btn-group > .ant-btn,\n.ant-btn-group > span > .ant-btn {\n  position: relative;\n}\n.ant-btn-group > .ant-btn:hover,\n.ant-btn-group > span > .ant-btn:hover,\n.ant-btn-group > .ant-btn:focus,\n.ant-btn-group > span > .ant-btn:focus,\n.ant-btn-group > .ant-btn:active,\n.ant-btn-group > span > .ant-btn:active {\n  z-index: 2;\n}\n.ant-btn-group > .ant-btn[disabled],\n.ant-btn-group > span > .ant-btn[disabled] {\n  z-index: 0;\n}\n.ant-btn-group .ant-btn-icon-only {\n  font-size: 14px;\n}\n.ant-btn-group-lg > .ant-btn,\n.ant-btn-group-lg > span > .ant-btn {\n  height: 40px;\n  padding: 6.4px 15px;\n  font-size: 16px;\n  border-radius: 0;\n}\n.ant-btn-group-lg .ant-btn.ant-btn-icon-only {\n  width: 40px;\n  height: 40px;\n  padding-right: 0;\n  padding-left: 0;\n}\n.ant-btn-group-sm > .ant-btn,\n.ant-btn-group-sm > span > .ant-btn {\n  height: 24px;\n  padding: 0px 7px;\n  font-size: 14px;\n  border-radius: 0;\n}\n.ant-btn-group-sm > .ant-btn > .anticon,\n.ant-btn-group-sm > span > .ant-btn > .anticon {\n  font-size: 14px;\n}\n.ant-btn-group-sm .ant-btn.ant-btn-icon-only {\n  width: 24px;\n  height: 24px;\n  padding-right: 0;\n  padding-left: 0;\n}\n.ant-btn-group .ant-btn + .ant-btn,\n.ant-btn + .ant-btn-group,\n.ant-btn-group span + .ant-btn,\n.ant-btn-group .ant-btn + span,\n.ant-btn-group > span + span,\n.ant-btn-group + .ant-btn,\n.ant-btn-group + .ant-btn-group {\n  margin-left: -1px;\n}\n.ant-btn-group .ant-btn-primary + .ant-btn:not(.ant-btn-primary):not([disabled]) {\n  border-left-color: transparent;\n}\n.ant-btn-group .ant-btn {\n  border-radius: 0;\n}\n.ant-btn-group > .ant-btn:first-child,\n.ant-btn-group > span:first-child > .ant-btn {\n  margin-left: 0;\n}\n.ant-btn-group > .ant-btn:only-child {\n  border-radius: 2px;\n}\n.ant-btn-group > span:only-child > .ant-btn {\n  border-radius: 2px;\n}\n.ant-btn-group > .ant-btn:first-child:not(:last-child),\n.ant-btn-group > span:first-child:not(:last-child) > .ant-btn {\n  border-top-left-radius: 2px;\n  border-bottom-left-radius: 2px;\n}\n.ant-btn-group > .ant-btn:last-child:not(:first-child),\n.ant-btn-group > span:last-child:not(:first-child) > .ant-btn {\n  border-top-right-radius: 2px;\n  border-bottom-right-radius: 2px;\n}\n.ant-btn-group-sm > .ant-btn:only-child {\n  border-radius: 2px;\n}\n.ant-btn-group-sm > span:only-child > .ant-btn {\n  border-radius: 2px;\n}\n.ant-btn-group-sm > .ant-btn:first-child:not(:last-child),\n.ant-btn-group-sm > span:first-child:not(:last-child) > .ant-btn {\n  border-top-left-radius: 2px;\n  border-bottom-left-radius: 2px;\n}\n.ant-btn-group-sm > .ant-btn:last-child:not(:first-child),\n.ant-btn-group-sm > span:last-child:not(:first-child) > .ant-btn {\n  border-top-right-radius: 2px;\n  border-bottom-right-radius: 2px;\n}\n.ant-btn-group > .ant-btn-group {\n  float: left;\n}\n.ant-btn-group > .ant-btn-group:not(:first-child):not(:last-child) > .ant-btn {\n  border-radius: 0;\n}\n.ant-btn-group > .ant-btn-group:first-child:not(:last-child) > .ant-btn:last-child {\n  padding-right: 8px;\n  border-top-right-radius: 0;\n  border-bottom-right-radius: 0;\n}\n.ant-btn-group > .ant-btn-group:last-child:not(:first-child) > .ant-btn:first-child {\n  padding-left: 8px;\n  border-top-left-radius: 0;\n  border-bottom-left-radius: 0;\n}\n.ant-btn-rtl.ant-btn-group .ant-btn + .ant-btn,\n.ant-btn-rtl.ant-btn + .ant-btn-group,\n.ant-btn-rtl.ant-btn-group span + .ant-btn,\n.ant-btn-rtl.ant-btn-group .ant-btn + span,\n.ant-btn-rtl.ant-btn-group > span + span,\n.ant-btn-rtl.ant-btn-group + .ant-btn,\n.ant-btn-rtl.ant-btn-group + .ant-btn-group,\n.ant-btn-group-rtl.ant-btn-group .ant-btn + .ant-btn,\n.ant-btn-group-rtl.ant-btn + .ant-btn-group,\n.ant-btn-group-rtl.ant-btn-group span + .ant-btn,\n.ant-btn-group-rtl.ant-btn-group .ant-btn + span,\n.ant-btn-group-rtl.ant-btn-group > span + span,\n.ant-btn-group-rtl.ant-btn-group + .ant-btn,\n.ant-btn-group-rtl.ant-btn-group + .ant-btn-group {\n  margin-right: -1px;\n  margin-left: auto;\n}\n.ant-btn-group.ant-btn-group-rtl {\n  direction: rtl;\n}\n.ant-btn-group-rtl.ant-btn-group > .ant-btn:first-child:not(:last-child),\n.ant-btn-group-rtl.ant-btn-group > span:first-child:not(:last-child) > .ant-btn {\n  border-top-left-radius: 0;\n  border-top-right-radius: 2px;\n  border-bottom-right-radius: 2px;\n  border-bottom-left-radius: 0;\n}\n.ant-btn-group-rtl.ant-btn-group > .ant-btn:last-child:not(:first-child),\n.ant-btn-group-rtl.ant-btn-group > span:last-child:not(:first-child) > .ant-btn {\n  border-top-left-radius: 2px;\n  border-top-right-radius: 0;\n  border-bottom-right-radius: 0;\n  border-bottom-left-radius: 2px;\n}\n.ant-btn-group-rtl.ant-btn-group-sm > .ant-btn:first-child:not(:last-child),\n.ant-btn-group-rtl.ant-btn-group-sm > span:first-child:not(:last-child) > .ant-btn {\n  border-top-left-radius: 0;\n  border-top-right-radius: 2px;\n  border-bottom-right-radius: 2px;\n  border-bottom-left-radius: 0;\n}\n.ant-btn-group-rtl.ant-btn-group-sm > .ant-btn:last-child:not(:first-child),\n.ant-btn-group-rtl.ant-btn-group-sm > span:last-child:not(:first-child) > .ant-btn {\n  border-top-left-radius: 2px;\n  border-top-right-radius: 0;\n  border-bottom-right-radius: 0;\n  border-bottom-left-radius: 2px;\n}\n.ant-btn:focus > span,\n.ant-btn:active > span {\n  position: relative;\n}\n.ant-btn > .anticon + span,\n.ant-btn > span + .anticon {\n  margin-left: 8px;\n}\n.ant-btn-background-ghost {\n  color: #fff;\n  background: transparent !important;\n  border-color: #fff;\n}\n.ant-btn-background-ghost.ant-btn-primary {\n  color: #1890ff;\n  background: transparent;\n  border-color: #1890ff;\n  text-shadow: none;\n}\n.ant-btn-background-ghost.ant-btn-primary > a:only-child {\n  color: currentColor;\n}\n.ant-btn-background-ghost.ant-btn-primary > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-background-ghost.ant-btn-primary:hover,\n.ant-btn-background-ghost.ant-btn-primary:focus {\n  color: #40a9ff;\n  background: transparent;\n  border-color: #40a9ff;\n}\n.ant-btn-background-ghost.ant-btn-primary:hover > a:only-child,\n.ant-btn-background-ghost.ant-btn-primary:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn-background-ghost.ant-btn-primary:hover > a:only-child::after,\n.ant-btn-background-ghost.ant-btn-primary:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-background-ghost.ant-btn-primary:active {\n  color: #096dd9;\n  background: transparent;\n  border-color: #096dd9;\n}\n.ant-btn-background-ghost.ant-btn-primary:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-background-ghost.ant-btn-primary:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-background-ghost.ant-btn-primary[disabled],\n.ant-btn-background-ghost.ant-btn-primary[disabled]:hover,\n.ant-btn-background-ghost.ant-btn-primary[disabled]:focus,\n.ant-btn-background-ghost.ant-btn-primary[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  background: #f5f5f5;\n  border-color: #d9d9d9;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-background-ghost.ant-btn-primary[disabled] > a:only-child,\n.ant-btn-background-ghost.ant-btn-primary[disabled]:hover > a:only-child,\n.ant-btn-background-ghost.ant-btn-primary[disabled]:focus > a:only-child,\n.ant-btn-background-ghost.ant-btn-primary[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-background-ghost.ant-btn-primary[disabled] > a:only-child::after,\n.ant-btn-background-ghost.ant-btn-primary[disabled]:hover > a:only-child::after,\n.ant-btn-background-ghost.ant-btn-primary[disabled]:focus > a:only-child::after,\n.ant-btn-background-ghost.ant-btn-primary[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-background-ghost.ant-btn-danger {\n  color: #ff4d4f;\n  background: transparent;\n  border-color: #ff4d4f;\n  text-shadow: none;\n}\n.ant-btn-background-ghost.ant-btn-danger > a:only-child {\n  color: currentColor;\n}\n.ant-btn-background-ghost.ant-btn-danger > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-background-ghost.ant-btn-danger:hover,\n.ant-btn-background-ghost.ant-btn-danger:focus {\n  color: #ff7875;\n  background: transparent;\n  border-color: #ff7875;\n}\n.ant-btn-background-ghost.ant-btn-danger:hover > a:only-child,\n.ant-btn-background-ghost.ant-btn-danger:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn-background-ghost.ant-btn-danger:hover > a:only-child::after,\n.ant-btn-background-ghost.ant-btn-danger:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-background-ghost.ant-btn-danger:active {\n  color: #d9363e;\n  background: transparent;\n  border-color: #d9363e;\n}\n.ant-btn-background-ghost.ant-btn-danger:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-background-ghost.ant-btn-danger:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-background-ghost.ant-btn-danger[disabled],\n.ant-btn-background-ghost.ant-btn-danger[disabled]:hover,\n.ant-btn-background-ghost.ant-btn-danger[disabled]:focus,\n.ant-btn-background-ghost.ant-btn-danger[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  background: #f5f5f5;\n  border-color: #d9d9d9;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-background-ghost.ant-btn-danger[disabled] > a:only-child,\n.ant-btn-background-ghost.ant-btn-danger[disabled]:hover > a:only-child,\n.ant-btn-background-ghost.ant-btn-danger[disabled]:focus > a:only-child,\n.ant-btn-background-ghost.ant-btn-danger[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-background-ghost.ant-btn-danger[disabled] > a:only-child::after,\n.ant-btn-background-ghost.ant-btn-danger[disabled]:hover > a:only-child::after,\n.ant-btn-background-ghost.ant-btn-danger[disabled]:focus > a:only-child::after,\n.ant-btn-background-ghost.ant-btn-danger[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-background-ghost.ant-btn-dangerous {\n  color: #ff4d4f;\n  background: transparent;\n  border-color: #ff4d4f;\n  text-shadow: none;\n}\n.ant-btn-background-ghost.ant-btn-dangerous > a:only-child {\n  color: currentColor;\n}\n.ant-btn-background-ghost.ant-btn-dangerous > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-background-ghost.ant-btn-dangerous:hover,\n.ant-btn-background-ghost.ant-btn-dangerous:focus {\n  color: #ff7875;\n  background: transparent;\n  border-color: #ff7875;\n}\n.ant-btn-background-ghost.ant-btn-dangerous:hover > a:only-child,\n.ant-btn-background-ghost.ant-btn-dangerous:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn-background-ghost.ant-btn-dangerous:hover > a:only-child::after,\n.ant-btn-background-ghost.ant-btn-dangerous:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-background-ghost.ant-btn-dangerous:active {\n  color: #d9363e;\n  background: transparent;\n  border-color: #d9363e;\n}\n.ant-btn-background-ghost.ant-btn-dangerous:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-background-ghost.ant-btn-dangerous:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-background-ghost.ant-btn-dangerous[disabled],\n.ant-btn-background-ghost.ant-btn-dangerous[disabled]:hover,\n.ant-btn-background-ghost.ant-btn-dangerous[disabled]:focus,\n.ant-btn-background-ghost.ant-btn-dangerous[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  background: #f5f5f5;\n  border-color: #d9d9d9;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-background-ghost.ant-btn-dangerous[disabled] > a:only-child,\n.ant-btn-background-ghost.ant-btn-dangerous[disabled]:hover > a:only-child,\n.ant-btn-background-ghost.ant-btn-dangerous[disabled]:focus > a:only-child,\n.ant-btn-background-ghost.ant-btn-dangerous[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-background-ghost.ant-btn-dangerous[disabled] > a:only-child::after,\n.ant-btn-background-ghost.ant-btn-dangerous[disabled]:hover > a:only-child::after,\n.ant-btn-background-ghost.ant-btn-dangerous[disabled]:focus > a:only-child::after,\n.ant-btn-background-ghost.ant-btn-dangerous[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link {\n  color: #ff4d4f;\n  background: transparent;\n  border-color: transparent;\n  text-shadow: none;\n}\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link > a:only-child {\n  color: currentColor;\n}\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:hover,\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:focus {\n  color: #ff7875;\n  background: transparent;\n  border-color: transparent;\n}\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:hover > a:only-child,\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:hover > a:only-child::after,\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:active {\n  color: #d9363e;\n  background: transparent;\n  border-color: transparent;\n}\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled],\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:hover,\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:focus,\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  background: #f5f5f5;\n  border-color: #d9d9d9;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled] > a:only-child,\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:hover > a:only-child,\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:focus > a:only-child,\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled] > a:only-child::after,\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:hover > a:only-child::after,\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:focus > a:only-child::after,\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-two-chinese-chars::first-letter {\n  letter-spacing: 0.34em;\n}\n.ant-btn-two-chinese-chars > *:not(.anticon) {\n  margin-right: -0.34em;\n  letter-spacing: 0.34em;\n}\n.ant-btn-block {\n  width: 100%;\n}\n.ant-btn:empty {\n  display: inline-block;\n  width: 0;\n  visibility: hidden;\n  content: '\\a0';\n}\na.ant-btn {\n  padding-top: 0.01px !important;\n  line-height: 30px;\n}\na.ant-btn-lg {\n  line-height: 38px;\n}\na.ant-btn-sm {\n  line-height: 22px;\n}\n.ant-btn-rtl {\n  direction: rtl;\n}\n.ant-btn-group-rtl.ant-btn-group .ant-btn-primary:last-child:not(:first-child),\n.ant-btn-group-rtl.ant-btn-group .ant-btn-primary + .ant-btn-primary {\n  border-right-color: #40a9ff;\n  border-left-color: #d9d9d9;\n}\n.ant-btn-group-rtl.ant-btn-group .ant-btn-primary:last-child:not(:first-child)[disabled],\n.ant-btn-group-rtl.ant-btn-group .ant-btn-primary + .ant-btn-primary[disabled] {\n  border-right-color: #d9d9d9;\n  border-left-color: #40a9ff;\n}\n.ant-btn-rtl.ant-btn > .ant-btn-loading-icon .anticon {\n  padding-right: 0;\n  padding-left: 8px;\n}\n.ant-btn > .ant-btn-loading-icon:only-child .anticon {\n  padding-right: 0;\n  padding-left: 0;\n}\n.ant-btn-rtl.ant-btn > .anticon + span,\n.ant-btn-rtl.ant-btn > span + .anticon {\n  margin-right: 8px;\n  margin-left: 0;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.gcs-indicatorCard {\n  width: 100%;\n  height: 100%;\n  overflow: hidden;\n}\n.gcs-indicatorCard-date {\n  text-align: right;\n  padding: 0 10px 10px;\n}\n.gcs-indicatorCard-date .ant-picker-range {\n  margin-left: 8px;\n}\n.gcs-indicatorCard-content {\n  position: relative;\n  width: 100%;\n  height: 100%;\n  overflow: hidden;\n}\n.gcs-indicatorCard-grid {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  overflow: auto;\n}\n.gcs-indicatorCard-grid .gcs-indicatorCard-item-wrapper {\n  position: absolute;\n  right: 0;\n  left: 0;\n  display: flex;\n}\n.gcs-indicatorCard-grid .gcs-indicatorCard-item-wrapper .gcs-indicatorCard-item {\n  display: inline-flex;\n  flex-direction: column;\n  box-sizing: border-box;\n  margin: 0 auto auto 0;\n}\n.gcs-indicatorCard-grid .gcs-indicatorCard-item-wrapper .gcs-indicatorCard-item-name {\n  font-weight: 600;\n}\n.gcs-indicatorCard-grid .gcs-indicatorCard-item-wrapper .gcs-indicatorCard-item-value {\n  margin: 12px 0;\n  font-weight: 600;\n}\n.gcs-indicatorCard-grid .gcs-indicatorCard-item-wrapper .gcs-indicatorCard-item-compare {\n  white-space: nowrap;\n}\n.gcs-indicatorCard-grid .gcs-indicatorCard-item-wrapper .gcs-indicatorCard-item-compare:not(:first-child) {\n  margin-top: 4px;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.gcs-chartContainer {\n  display: flex;\n  flex-direction: column;\n  width: 100%;\n  height: 100%;\n  overflow: hidden;\n}\n.gcs-chartContainer-title {\n  padding: 10px;\n}\n.gcs-chartContainer-title:not(:first-child) {\n  margin-left: 4px;\n}\n.gcs-chartContainer-content {\n  position: relative;\n  flex: 1;\n  overflow: hidden;\n}\n.gcs-mixed {\n  position: relative;\n  width: 100%;\n  height: 100%;\n  overflow: hidden;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.gcs-chartContainer {\n  display: flex;\n  flex-direction: column;\n  width: 100%;\n  height: 100%;\n  overflow: hidden;\n}\n.gcs-chartContainer-title {\n  padding: 10px;\n}\n.gcs-chartContainer-title:not(:first-child) {\n  margin-left: 4px;\n}\n.gcs-chartContainer-content {\n  position: relative;\n  flex: 1;\n  overflow: hidden;\n}\n.gcs-pie {\n  position: relative;\n  width: 100%;\n  height: 100%;\n  overflow: hidden;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.gcs-chartContainer {\n  display: flex;\n  flex-direction: column;\n  width: 100%;\n  height: 100%;\n  overflow: hidden;\n}\n.gcs-chartContainer-title {\n  padding: 10px;\n}\n.gcs-chartContainer-title:not(:first-child) {\n  margin-left: 4px;\n}\n.gcs-chartContainer-content {\n  position: relative;\n  flex: 1;\n  overflow: hidden;\n}\n.gcs-progress {\n  position: relative;\n  height: 100%;\n}\n.gcs-progress-grid {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  overflow: auto;\n}\n.gcs-progress-grid .gcs-progress-subChart-wrapper {\n  position: absolute;\n  right: 0;\n  left: 0;\n  display: flex;\n}\n.gcs-progress-grid .gcs-progress-subChart-wrapper .gcs-liquidFill {\n  display: inline-block;\n  margin: 0 auto auto 0;\n}\n.gcs-progress-grid .gcs-progress-subChart-wrapper .gcs-liquidFill-chart {\n  width: 100px;\n  height: 100px;\n}\n.gcs-progress-grid .gcs-progress-subChart-wrapper .gcs-liquidFill-label {\n  text-align: center;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-table.ant-table-middle {\n  font-size: 14px;\n}\n.ant-table.ant-table-middle .ant-table-title,\n.ant-table.ant-table-middle .ant-table-footer,\n.ant-table.ant-table-middle .ant-table-thead > tr > th,\n.ant-table.ant-table-middle .ant-table-tbody > tr > td,\n.ant-table.ant-table-middle tfoot > tr > th,\n.ant-table.ant-table-middle tfoot > tr > td {\n  padding: 12px 8px;\n}\n.ant-table.ant-table-middle .ant-table-filter-trigger {\n  margin-right: -4px;\n}\n.ant-table.ant-table-middle .ant-table-expanded-row-fixed {\n  margin: -12px -8px;\n}\n.ant-table.ant-table-middle .ant-table-tbody .ant-table-wrapper:only-child .ant-table {\n  margin: -12px -8px -12px 25px;\n}\n.ant-table.ant-table-small {\n  font-size: 14px;\n}\n.ant-table.ant-table-small .ant-table-title,\n.ant-table.ant-table-small .ant-table-footer,\n.ant-table.ant-table-small .ant-table-thead > tr > th,\n.ant-table.ant-table-small .ant-table-tbody > tr > td,\n.ant-table.ant-table-small tfoot > tr > th,\n.ant-table.ant-table-small tfoot > tr > td {\n  padding: 8px 8px;\n}\n.ant-table.ant-table-small .ant-table-filter-trigger {\n  margin-right: -4px;\n}\n.ant-table.ant-table-small .ant-table-expanded-row-fixed {\n  margin: -8px -8px;\n}\n.ant-table.ant-table-small .ant-table-tbody .ant-table-wrapper:only-child .ant-table {\n  margin: -8px -8px -8px 25px;\n}\n.ant-table-small .ant-table-thead > tr > th {\n  background-color: #fafafa;\n}\n.ant-table-small .ant-table-selection-column {\n  width: 46px;\n  min-width: 46px;\n}\n.ant-table.ant-table-bordered > .ant-table-title {\n  border: 1px solid #f0f0f0;\n  border-bottom: 0;\n}\n.ant-table.ant-table-bordered > .ant-table-container {\n  border: 1px solid #f0f0f0;\n  border-right: 0;\n  border-bottom: 0;\n}\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > thead > tr > th,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > thead > tr > th,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > thead > tr > th,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > thead > tr > th,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > tbody > tr > td,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > tbody > tr > td,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tbody > tr > td,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > tbody > tr > td,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > tfoot > tr > th,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > tfoot > tr > th,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tfoot > tr > th,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > tfoot > tr > th,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > tfoot > tr > td,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > tfoot > tr > td,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tfoot > tr > td,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > tfoot > tr > td {\n  border-right: 1px solid #f0f0f0;\n}\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > thead > tr:not(:last-child) > th,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > thead > tr:not(:last-child) > th,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > thead > tr:not(:last-child) > th,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > thead > tr:not(:last-child) > th {\n  border-bottom: 1px solid #f0f0f0;\n}\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > thead > tr > th::before,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > thead > tr > th::before,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > thead > tr > th::before,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > thead > tr > th::before {\n  background-color: transparent !important;\n}\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > thead > tr > .ant-table-cell-fix-right-first::after,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > thead > tr > .ant-table-cell-fix-right-first::after,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > thead > tr > .ant-table-cell-fix-right-first::after,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > thead > tr > .ant-table-cell-fix-right-first::after,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > tbody > tr > .ant-table-cell-fix-right-first::after,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > tbody > tr > .ant-table-cell-fix-right-first::after,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tbody > tr > .ant-table-cell-fix-right-first::after,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > tbody > tr > .ant-table-cell-fix-right-first::after,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > tfoot > tr > .ant-table-cell-fix-right-first::after,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > tfoot > tr > .ant-table-cell-fix-right-first::after,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tfoot > tr > .ant-table-cell-fix-right-first::after,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > tfoot > tr > .ant-table-cell-fix-right-first::after {\n  border-right: 1px solid #f0f0f0;\n}\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > tbody > tr > td > .ant-table-expanded-row-fixed,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > tbody > tr > td > .ant-table-expanded-row-fixed,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tbody > tr > td > .ant-table-expanded-row-fixed,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > tbody > tr > td > .ant-table-expanded-row-fixed {\n  margin: -16px -17px;\n}\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > tbody > tr > td > .ant-table-expanded-row-fixed::after,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > tbody > tr > td > .ant-table-expanded-row-fixed::after,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tbody > tr > td > .ant-table-expanded-row-fixed::after,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > tbody > tr > td > .ant-table-expanded-row-fixed::after {\n  position: absolute;\n  top: 0;\n  right: 1px;\n  bottom: 0;\n  border-right: 1px solid #f0f0f0;\n  content: '';\n}\n.ant-table.ant-table-bordered.ant-table-scroll-horizontal > .ant-table-container > .ant-table-body > table > tbody > tr.ant-table-expanded-row > td,\n.ant-table.ant-table-bordered.ant-table-scroll-horizontal > .ant-table-container > .ant-table-body > table > tbody > tr.ant-table-placeholder > td {\n  border-right: 0;\n}\n.ant-table.ant-table-bordered.ant-table-middle > .ant-table-container > .ant-table-content > table > tbody > tr > td > .ant-table-expanded-row-fixed,\n.ant-table.ant-table-bordered.ant-table-middle > .ant-table-container > .ant-table-body > table > tbody > tr > td > .ant-table-expanded-row-fixed {\n  margin: -12px -9px;\n}\n.ant-table.ant-table-bordered.ant-table-small > .ant-table-container > .ant-table-content > table > tbody > tr > td > .ant-table-expanded-row-fixed,\n.ant-table.ant-table-bordered.ant-table-small > .ant-table-container > .ant-table-body > table > tbody > tr > td > .ant-table-expanded-row-fixed {\n  margin: -8px -9px;\n}\n.ant-table.ant-table-bordered > .ant-table-footer {\n  border: 1px solid #f0f0f0;\n  border-top: 0;\n}\n.ant-table-cell .ant-table-container:first-child {\n  border-top: 0;\n}\n.ant-table-cell-scrollbar {\n  box-shadow: 0 1px 0 1px #fafafa;\n}\n.ant-table-wrapper {\n  clear: both;\n  max-width: 100%;\n}\n.ant-table-wrapper::before {\n  display: table;\n  content: '';\n}\n.ant-table-wrapper::after {\n  display: table;\n  clear: both;\n  content: '';\n}\n.ant-table {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: relative;\n  font-size: 14px;\n  background: #fff;\n  border-radius: 2px;\n}\n.ant-table table {\n  width: 100%;\n  text-align: left;\n  border-radius: 2px 2px 0 0;\n  border-collapse: separate;\n  border-spacing: 0;\n}\n.ant-table-thead > tr > th,\n.ant-table-tbody > tr > td,\n.ant-table tfoot > tr > th,\n.ant-table tfoot > tr > td {\n  position: relative;\n  padding: 16px 16px;\n  overflow-wrap: break-word;\n}\n.ant-table-cell-ellipsis {\n  overflow: hidden;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n  word-break: keep-all;\n}\n.ant-table-cell-ellipsis.ant-table-cell-fix-left-last,\n.ant-table-cell-ellipsis.ant-table-cell-fix-right-first {\n  overflow: visible;\n}\n.ant-table-cell-ellipsis.ant-table-cell-fix-left-last .ant-table-cell-content,\n.ant-table-cell-ellipsis.ant-table-cell-fix-right-first .ant-table-cell-content {\n  display: block;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n.ant-table-cell-ellipsis .ant-table-column-title {\n  overflow: hidden;\n  text-overflow: ellipsis;\n  word-break: keep-all;\n}\n.ant-table-title {\n  padding: 16px 16px;\n}\n.ant-table-footer {\n  padding: 16px 16px;\n  color: rgba(0, 0, 0, 0.85);\n  background: #fafafa;\n}\n.ant-table-thead > tr > th {\n  position: relative;\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: 500;\n  text-align: left;\n  background: #fafafa;\n  border-bottom: 1px solid #f0f0f0;\n  transition: background 0.3s ease;\n}\n.ant-table-thead > tr > th[colspan]:not([colspan='1']) {\n  text-align: center;\n}\n.ant-table-thead > tr > th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan])::before {\n  position: absolute;\n  top: 50%;\n  right: 0;\n  width: 1px;\n  height: 1.6em;\n  background-color: rgba(0, 0, 0, 0.06);\n  transform: translateY(-50%);\n  transition: background-color 0.3s;\n  content: '';\n}\n.ant-table-thead > tr:not(:last-child) > th[colspan] {\n  border-bottom: 0;\n}\n.ant-table-tbody > tr > td {\n  border-bottom: 1px solid #f0f0f0;\n  transition: background 0.3s;\n}\n.ant-table-tbody > tr > td > .ant-table-wrapper:only-child .ant-table,\n.ant-table-tbody > tr > td > .ant-table-expanded-row-fixed > .ant-table-wrapper:only-child .ant-table {\n  margin: -16px -16px -16px 33px;\n}\n.ant-table-tbody > tr > td > .ant-table-wrapper:only-child .ant-table-tbody > tr:last-child > td,\n.ant-table-tbody > tr > td > .ant-table-expanded-row-fixed > .ant-table-wrapper:only-child .ant-table-tbody > tr:last-child > td {\n  border-bottom: 0;\n}\n.ant-table-tbody > tr > td > .ant-table-wrapper:only-child .ant-table-tbody > tr:last-child > td:first-child,\n.ant-table-tbody > tr > td > .ant-table-expanded-row-fixed > .ant-table-wrapper:only-child .ant-table-tbody > tr:last-child > td:first-child,\n.ant-table-tbody > tr > td > .ant-table-wrapper:only-child .ant-table-tbody > tr:last-child > td:last-child,\n.ant-table-tbody > tr > td > .ant-table-expanded-row-fixed > .ant-table-wrapper:only-child .ant-table-tbody > tr:last-child > td:last-child {\n  border-radius: 0;\n}\n.ant-table-tbody > tr.ant-table-row:hover > td {\n  background: #fafafa;\n}\n.ant-table-tbody > tr.ant-table-row-selected > td {\n  background: #e6f7ff;\n  border-color: rgba(0, 0, 0, 0.03);\n}\n.ant-table-tbody > tr.ant-table-row-selected:hover > td {\n  background: #dcf4ff;\n}\n.ant-table-summary {\n  background: #fff;\n}\ndiv.ant-table-summary {\n  box-shadow: 0 -1px 0 #f0f0f0;\n}\n.ant-table-summary > tr > th,\n.ant-table-summary > tr > td {\n  border-bottom: 1px solid #f0f0f0;\n}\n.ant-table-pagination.ant-pagination {\n  margin: 16px 0;\n}\n.ant-table-pagination {\n  display: flex;\n  flex-wrap: wrap;\n  row-gap: 8px;\n}\n.ant-table-pagination > * {\n  flex: none;\n}\n.ant-table-pagination-left {\n  justify-content: flex-start;\n}\n.ant-table-pagination-center {\n  justify-content: center;\n}\n.ant-table-pagination-right {\n  justify-content: flex-end;\n}\n.ant-table-thead th.ant-table-column-has-sorters {\n  cursor: pointer;\n  transition: all 0.3s;\n}\n.ant-table-thead th.ant-table-column-has-sorters:hover {\n  background: rgba(0, 0, 0, 0.04);\n}\n.ant-table-thead th.ant-table-column-has-sorters:hover::before {\n  background-color: transparent !important;\n}\n.ant-table-thead th.ant-table-column-sort {\n  background: #f5f5f5;\n}\n.ant-table-thead th.ant-table-column-sort::before {\n  background-color: transparent !important;\n}\ntd.ant-table-column-sort {\n  background: #fafafa;\n}\n.ant-table-column-title {\n  position: relative;\n  z-index: 1;\n  flex: 1;\n}\n.ant-table-column-sorters {\n  display: flex;\n  flex: auto;\n  align-items: center;\n  justify-content: space-between;\n}\n.ant-table-column-sorters::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  content: '';\n}\n.ant-table-column-sorter {\n  color: #bfbfbf;\n  font-size: 0;\n  transition: color 0.3s;\n}\n.ant-table-column-sorter-inner {\n  display: inline-flex;\n  flex-direction: column;\n  align-items: center;\n}\n.ant-table-column-sorter-up,\n.ant-table-column-sorter-down {\n  font-size: 11px;\n}\n.ant-table-column-sorter-up.active,\n.ant-table-column-sorter-down.active {\n  color: #1890ff;\n}\n.ant-table-column-sorter-up + .ant-table-column-sorter-down {\n  margin-top: -0.3em;\n}\n.ant-table-column-sorters:hover .ant-table-column-sorter {\n  color: #a6a6a6;\n}\n.ant-table-filter-column {\n  display: flex;\n  justify-content: space-between;\n}\n.ant-table-filter-trigger {\n  position: relative;\n  display: flex;\n  align-items: center;\n  margin: -4px -8px -4px 4px;\n  padding: 0 4px;\n  color: #bfbfbf;\n  font-size: 12px;\n  border-radius: 2px;\n  cursor: pointer;\n  transition: all 0.3s;\n}\n.ant-table-filter-trigger:hover {\n  color: rgba(0, 0, 0, 0.45);\n  background: rgba(0, 0, 0, 0.04);\n}\n.ant-table-filter-trigger.active {\n  color: #1890ff;\n}\n.ant-table-filter-dropdown {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  min-width: 120px;\n  background-color: #fff;\n  border-radius: 2px;\n  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n}\n.ant-table-filter-dropdown .ant-dropdown-menu {\n  max-height: 264px;\n  overflow-x: hidden;\n  border: 0;\n  box-shadow: none;\n}\n.ant-table-filter-dropdown-submenu > ul {\n  max-height: calc(100vh - 130px);\n  overflow-x: hidden;\n  overflow-y: auto;\n}\n.ant-table-filter-dropdown .ant-checkbox-wrapper + span,\n.ant-table-filter-dropdown-submenu .ant-checkbox-wrapper + span {\n  padding-left: 8px;\n}\n.ant-table-filter-dropdown-btns {\n  display: flex;\n  justify-content: space-between;\n  padding: 7px 8px 7px 3px;\n  overflow: hidden;\n  background-color: inherit;\n  border-top: 1px solid #f0f0f0;\n}\n.ant-table-selection-col {\n  width: 32px;\n}\n.ant-table-bordered .ant-table-selection-col {\n  width: 50px;\n}\ntable tr th.ant-table-selection-column,\ntable tr td.ant-table-selection-column {\n  padding-right: 8px;\n  padding-left: 8px;\n  text-align: center;\n}\ntable tr th.ant-table-selection-column .ant-radio-wrapper,\ntable tr td.ant-table-selection-column .ant-radio-wrapper {\n  margin-right: 0;\n}\ntable tr th.ant-table-selection-column::after {\n  background-color: transparent !important;\n}\n.ant-table-selection {\n  position: relative;\n  display: inline-flex;\n  flex-direction: column;\n}\n.ant-table-selection-extra {\n  position: absolute;\n  top: 0;\n  z-index: 1;\n  cursor: pointer;\n  transition: all 0.3s;\n  -webkit-margin-start: 100%;\n          margin-inline-start: 100%;\n  -webkit-padding-start: 4px;\n          padding-inline-start: 4px;\n}\n.ant-table-selection-extra .anticon {\n  color: #bfbfbf;\n  font-size: 10px;\n}\n.ant-table-selection-extra .anticon:hover {\n  color: #a6a6a6;\n}\n.ant-table-expand-icon-col {\n  width: 48px;\n}\n.ant-table-row-expand-icon-cell {\n  text-align: center;\n}\n.ant-table-row-indent {\n  float: left;\n  height: 1px;\n}\n.ant-table-row-expand-icon {\n  color: #1890ff;\n  text-decoration: none;\n  cursor: pointer;\n  transition: color 0.3s;\n  position: relative;\n  display: inline-flex;\n  float: left;\n  box-sizing: border-box;\n  width: 17px;\n  height: 17px;\n  padding: 0;\n  color: inherit;\n  line-height: 17px;\n  background: #fff;\n  border: 1px solid #f0f0f0;\n  border-radius: 2px;\n  outline: none;\n  transform: scale(0.94117647);\n  transition: all 0.3s;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n}\n.ant-table-row-expand-icon:focus,\n.ant-table-row-expand-icon:hover {\n  color: #40a9ff;\n}\n.ant-table-row-expand-icon:active {\n  color: #096dd9;\n}\n.ant-table-row-expand-icon:focus,\n.ant-table-row-expand-icon:hover,\n.ant-table-row-expand-icon:active {\n  border-color: currentColor;\n}\n.ant-table-row-expand-icon::before,\n.ant-table-row-expand-icon::after {\n  position: absolute;\n  background: currentColor;\n  transition: transform 0.3s ease-out;\n  content: '';\n}\n.ant-table-row-expand-icon::before {\n  top: 7px;\n  right: 3px;\n  left: 3px;\n  height: 1px;\n}\n.ant-table-row-expand-icon::after {\n  top: 3px;\n  bottom: 3px;\n  left: 7px;\n  width: 1px;\n  transform: rotate(90deg);\n}\n.ant-table-row-expand-icon-collapsed::before {\n  transform: rotate(-180deg);\n}\n.ant-table-row-expand-icon-collapsed::after {\n  transform: rotate(0deg);\n}\n.ant-table-row-expand-icon-spaced {\n  background: transparent;\n  border: 0;\n  visibility: hidden;\n}\n.ant-table-row-expand-icon-spaced::before,\n.ant-table-row-expand-icon-spaced::after {\n  display: none;\n  content: none;\n}\n.ant-table-row-indent + .ant-table-row-expand-icon {\n  margin-top: 2.5005px;\n  margin-right: 8px;\n}\ntr.ant-table-expanded-row > td,\ntr.ant-table-expanded-row:hover > td {\n  background: #fbfbfb;\n}\ntr.ant-table-expanded-row .ant-descriptions-view {\n  display: flex;\n}\ntr.ant-table-expanded-row .ant-descriptions-view table {\n  flex: auto;\n  width: auto;\n}\n.ant-table .ant-table-expanded-row-fixed {\n  position: relative;\n  margin: -16px -16px;\n  padding: 16px 16px;\n}\n.ant-table-tbody > tr.ant-table-placeholder {\n  text-align: center;\n}\n.ant-table-empty .ant-table-tbody > tr.ant-table-placeholder {\n  color: rgba(0, 0, 0, 0.25);\n}\n.ant-table-tbody > tr.ant-table-placeholder:hover > td {\n  background: #fff;\n}\n.ant-table-cell-fix-left,\n.ant-table-cell-fix-right {\n  position: -webkit-sticky !important;\n  position: sticky !important;\n  z-index: 2;\n  background: #fff;\n}\n.ant-table-cell-fix-left-first::after,\n.ant-table-cell-fix-left-last::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: -1px;\n  width: 30px;\n  transform: translateX(100%);\n  transition: box-shadow 0.3s;\n  content: '';\n  pointer-events: none;\n}\n.ant-table-cell-fix-right-first::after,\n.ant-table-cell-fix-right-last::after {\n  position: absolute;\n  top: 0;\n  bottom: -1px;\n  left: 0;\n  width: 30px;\n  transform: translateX(-100%);\n  transition: box-shadow 0.3s;\n  content: '';\n  pointer-events: none;\n}\n.ant-table .ant-table-container::before,\n.ant-table .ant-table-container::after {\n  position: absolute;\n  top: 0;\n  bottom: 0;\n  z-index: 1;\n  width: 30px;\n  transition: box-shadow 0.3s;\n  content: '';\n  pointer-events: none;\n}\n.ant-table .ant-table-container::before {\n  left: 0;\n}\n.ant-table .ant-table-container::after {\n  right: 0;\n}\n.ant-table-ping-left:not(.ant-table-has-fix-left) .ant-table-container {\n  position: relative;\n}\n.ant-table-ping-left:not(.ant-table-has-fix-left) .ant-table-container::before {\n  box-shadow: inset 10px 0 8px -8px rgba(0, 0, 0, 0.15);\n}\n.ant-table-ping-left .ant-table-cell-fix-left-first::after,\n.ant-table-ping-left .ant-table-cell-fix-left-last::after {\n  box-shadow: inset 10px 0 8px -8px rgba(0, 0, 0, 0.15);\n}\n.ant-table-ping-left .ant-table-cell-fix-left-last::before {\n  background-color: transparent !important;\n}\n.ant-table-ping-right:not(.ant-table-has-fix-right) .ant-table-container {\n  position: relative;\n}\n.ant-table-ping-right:not(.ant-table-has-fix-right) .ant-table-container::after {\n  box-shadow: inset -10px 0 8px -8px rgba(0, 0, 0, 0.15);\n}\n.ant-table-ping-right .ant-table-cell-fix-right-first::after,\n.ant-table-ping-right .ant-table-cell-fix-right-last::after {\n  box-shadow: inset -10px 0 8px -8px rgba(0, 0, 0, 0.15);\n}\n.ant-table-sticky-holder {\n  position: -webkit-sticky;\n  position: sticky;\n  z-index: 3;\n}\n.ant-table-sticky-scroll {\n  position: -webkit-sticky;\n  position: sticky;\n  bottom: 0;\n  z-index: 3;\n  display: flex;\n  align-items: center;\n  background: #ffffff;\n  border-top: 1px solid #f0f0f0;\n  opacity: 0.6;\n}\n.ant-table-sticky-scroll:hover {\n  transform-origin: center bottom;\n}\n.ant-table-sticky-scroll-bar {\n  height: 8px;\n  background-color: rgba(0, 0, 0, 0.35);\n  border-radius: 4px;\n}\n.ant-table-sticky-scroll-bar:hover {\n  background-color: rgba(0, 0, 0, 0.8);\n}\n.ant-table-sticky-scroll-bar-active {\n  background-color: rgba(0, 0, 0, 0.8);\n}\n@media all and (-ms-high-contrast: none) {\n  .ant-table-ping-left .ant-table-cell-fix-left-last::after {\n    box-shadow: none !important;\n  }\n  .ant-table-ping-right .ant-table-cell-fix-right-first::after {\n    box-shadow: none !important;\n  }\n}\n.ant-table {\n  /* title + table */\n  /* table */\n  /* table + footer */\n}\n.ant-table-title {\n  border-radius: 2px 2px 0 0;\n}\n.ant-table-title + .ant-table-container {\n  border-top-left-radius: 0;\n  border-top-right-radius: 0;\n}\n.ant-table-title + .ant-table-container table > thead > tr:first-child th:first-child {\n  border-radius: 0;\n}\n.ant-table-title + .ant-table-container table > thead > tr:first-child th:last-child {\n  border-radius: 0;\n}\n.ant-table-container {\n  border-top-left-radius: 2px;\n  border-top-right-radius: 2px;\n}\n.ant-table-container table > thead > tr:first-child th:first-child {\n  border-top-left-radius: 2px;\n}\n.ant-table-container table > thead > tr:first-child th:last-child {\n  border-top-right-radius: 2px;\n}\n.ant-table-footer {\n  border-radius: 0 0 2px 2px;\n}\n.ant-table-wrapper-rtl {\n  direction: rtl;\n}\n.ant-table-rtl {\n  direction: rtl;\n}\n.ant-table-wrapper-rtl .ant-table table {\n  text-align: right;\n}\n.ant-table-wrapper-rtl .ant-table-thead > tr > th[colspan]:not([colspan='1']) {\n  text-align: center;\n}\n.ant-table-wrapper-rtl .ant-table-thead > tr > th {\n  text-align: right;\n}\n.ant-table-tbody > tr .ant-table-wrapper:only-child .ant-table.ant-table-rtl {\n  margin: -16px 33px -16px -16px;\n}\n.ant-table-wrapper.ant-table-wrapper-rtl .ant-table-pagination-left {\n  justify-content: flex-end;\n}\n.ant-table-wrapper.ant-table-wrapper-rtl .ant-table-pagination-right {\n  justify-content: flex-start;\n}\n.ant-table-wrapper-rtl .ant-table-column-sorter {\n  margin-right: 8px;\n  margin-left: 0;\n}\n.ant-table-wrapper-rtl .ant-table-filter-column-title {\n  padding: 16px 16px 16px 2.3em;\n}\n.ant-table-rtl .ant-table-thead tr th.ant-table-column-has-sorters .ant-table-filter-column-title {\n  padding: 0 0 0 2.3em;\n}\n.ant-table-wrapper-rtl .ant-table-filter-trigger-container {\n  right: auto;\n  left: 0;\n}\n.ant-dropdown-rtl .ant-table-filter-dropdown .ant-checkbox-wrapper + span,\n.ant-dropdown-rtl .ant-table-filter-dropdown-submenu .ant-checkbox-wrapper + span,\n.ant-dropdown-menu-submenu-rtl.ant-table-filter-dropdown .ant-checkbox-wrapper + span,\n.ant-dropdown-menu-submenu-rtl.ant-table-filter-dropdown-submenu .ant-checkbox-wrapper + span {\n  padding-right: 8px;\n  padding-left: 0;\n}\n.ant-table-wrapper-rtl .ant-table-selection {\n  text-align: center;\n}\n.ant-table-wrapper-rtl .ant-table-row-indent {\n  float: right;\n}\n.ant-table-wrapper-rtl .ant-table-row-expand-icon {\n  float: right;\n}\n.ant-table-wrapper-rtl .ant-table-row-indent + .ant-table-row-expand-icon {\n  margin-right: 0;\n  margin-left: 8px;\n}\n.ant-table-wrapper-rtl .ant-table-row-expand-icon::after {\n  transform: rotate(-90deg);\n}\n.ant-table-wrapper-rtl .ant-table-row-expand-icon-collapsed::before {\n  transform: rotate(180deg);\n}\n.ant-table-wrapper-rtl .ant-table-row-expand-icon-collapsed::after {\n  transform: rotate(0deg);\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-empty {\n  margin: 0 8px;\n  font-size: 14px;\n  line-height: 1.5715;\n  text-align: center;\n}\n.ant-empty-image {\n  height: 100px;\n  margin-bottom: 8px;\n}\n.ant-empty-image img {\n  height: 100%;\n}\n.ant-empty-image svg {\n  height: 100%;\n  margin: auto;\n}\n.ant-empty-footer {\n  margin-top: 16px;\n}\n.ant-empty-normal {\n  margin: 32px 0;\n  color: rgba(0, 0, 0, 0.25);\n}\n.ant-empty-normal .ant-empty-image {\n  height: 40px;\n}\n.ant-empty-small {\n  margin: 8px 0;\n  color: rgba(0, 0, 0, 0.25);\n}\n.ant-empty-small .ant-empty-image {\n  height: 35px;\n}\n.ant-empty-img-default-ellipse {\n  fill: #f5f5f5;\n  fill-opacity: 0.8;\n}\n.ant-empty-img-default-path-1 {\n  fill: #aeb8c2;\n}\n.ant-empty-img-default-path-2 {\n  fill: url(#linearGradient-1);\n}\n.ant-empty-img-default-path-3 {\n  fill: #f5f5f7;\n}\n.ant-empty-img-default-path-4 {\n  fill: #dce0e6;\n}\n.ant-empty-img-default-path-5 {\n  fill: #dce0e6;\n}\n.ant-empty-img-default-g {\n  fill: #fff;\n}\n.ant-empty-img-simple-ellipse {\n  fill: #f5f5f5;\n}\n.ant-empty-img-simple-g {\n  stroke: #d9d9d9;\n}\n.ant-empty-img-simple-path {\n  fill: #fafafa;\n}\n.ant-empty-rtl {\n  direction: rtl;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-radio-group {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  display: inline-block;\n  font-size: 0;\n  line-height: unset;\n}\n.ant-radio-group .ant-badge-count {\n  z-index: 1;\n}\n.ant-radio-group > .ant-badge:not(:first-child) > .ant-radio-button-wrapper {\n  border-left: none;\n}\n.ant-radio-wrapper {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: relative;\n  display: inline-flex;\n  align-items: baseline;\n  margin-right: 8px;\n  cursor: pointer;\n}\n.ant-radio-wrapper::after {\n  display: inline-block;\n  width: 0;\n  overflow: hidden;\n  content: '\\a0';\n}\n.ant-radio {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: relative;\n  top: 0.2em;\n  display: inline-block;\n  outline: none;\n  cursor: pointer;\n}\n.ant-radio-wrapper:hover .ant-radio,\n.ant-radio:hover .ant-radio-inner,\n.ant-radio-input:focus + .ant-radio-inner {\n  border-color: #1890ff;\n}\n.ant-radio-input:focus + .ant-radio-inner {\n  box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.08);\n}\n.ant-radio-checked::after {\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  border: 1px solid #1890ff;\n  border-radius: 50%;\n  visibility: hidden;\n  -webkit-animation: antRadioEffect 0.36s ease-in-out;\n          animation: antRadioEffect 0.36s ease-in-out;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  content: '';\n}\n.ant-radio:hover::after,\n.ant-radio-wrapper:hover .ant-radio::after {\n  visibility: visible;\n}\n.ant-radio-inner {\n  position: relative;\n  top: 0;\n  left: 0;\n  display: block;\n  width: 16px;\n  height: 16px;\n  background-color: #fff;\n  border-color: #d9d9d9;\n  border-style: solid;\n  border-width: 1px;\n  border-radius: 50%;\n  transition: all 0.3s;\n}\n.ant-radio-inner::after {\n  position: absolute;\n  top: 3px;\n  left: 3px;\n  display: block;\n  width: 8px;\n  height: 8px;\n  background-color: #1890ff;\n  border-top: 0;\n  border-left: 0;\n  border-radius: 8px;\n  transform: scale(0);\n  opacity: 0;\n  transition: all 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);\n  content: ' ';\n}\n.ant-radio-input {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  z-index: 1;\n  cursor: pointer;\n  opacity: 0;\n}\n.ant-radio-checked .ant-radio-inner {\n  border-color: #1890ff;\n}\n.ant-radio-checked .ant-radio-inner::after {\n  transform: scale(1);\n  opacity: 1;\n  transition: all 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);\n}\n.ant-radio-disabled {\n  cursor: not-allowed;\n}\n.ant-radio-disabled .ant-radio-inner {\n  background-color: #f5f5f5;\n  border-color: #d9d9d9 !important;\n  cursor: not-allowed;\n}\n.ant-radio-disabled .ant-radio-inner::after {\n  background-color: rgba(0, 0, 0, 0.2);\n}\n.ant-radio-disabled .ant-radio-input {\n  cursor: not-allowed;\n}\n.ant-radio-disabled + span {\n  color: rgba(0, 0, 0, 0.25);\n  cursor: not-allowed;\n}\nspan.ant-radio + * {\n  padding-right: 8px;\n  padding-left: 8px;\n}\n.ant-radio-button-wrapper {\n  position: relative;\n  display: inline-block;\n  height: 32px;\n  margin: 0;\n  padding: 0 15px;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  line-height: 30px;\n  background: #fff;\n  border: 1px solid #d9d9d9;\n  border-top-width: 1.02px;\n  border-left-width: 0;\n  cursor: pointer;\n  transition: color 0.3s, background 0.3s, border-color 0.3s, box-shadow 0.3s;\n}\n.ant-radio-button-wrapper a {\n  color: rgba(0, 0, 0, 0.85);\n}\n.ant-radio-button-wrapper > .ant-radio-button {\n  position: absolute;\n  top: 0;\n  left: 0;\n  z-index: -1;\n  width: 100%;\n  height: 100%;\n}\n.ant-radio-group-large .ant-radio-button-wrapper {\n  height: 40px;\n  font-size: 16px;\n  line-height: 38px;\n}\n.ant-radio-group-small .ant-radio-button-wrapper {\n  height: 24px;\n  padding: 0 7px;\n  line-height: 22px;\n}\n.ant-radio-button-wrapper:not(:first-child)::before {\n  position: absolute;\n  top: -1px;\n  left: -1px;\n  display: block;\n  box-sizing: content-box;\n  width: 1px;\n  height: 100%;\n  padding: 1px 0;\n  background-color: #d9d9d9;\n  transition: background-color 0.3s;\n  content: '';\n}\n.ant-radio-button-wrapper:first-child {\n  border-left: 1px solid #d9d9d9;\n  border-radius: 2px 0 0 2px;\n}\n.ant-radio-button-wrapper:last-child {\n  border-radius: 0 2px 2px 0;\n}\n.ant-radio-button-wrapper:first-child:last-child {\n  border-radius: 2px;\n}\n.ant-radio-button-wrapper:hover {\n  position: relative;\n  color: #1890ff;\n}\n.ant-radio-button-wrapper:focus-within {\n  box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.08);\n}\n.ant-radio-button-wrapper .ant-radio-inner,\n.ant-radio-button-wrapper input[type='checkbox'],\n.ant-radio-button-wrapper input[type='radio'] {\n  width: 0;\n  height: 0;\n  opacity: 0;\n  pointer-events: none;\n}\n.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {\n  z-index: 1;\n  color: #1890ff;\n  background: #fff;\n  border-color: #1890ff;\n}\n.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled)::before {\n  background-color: #1890ff;\n}\n.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):first-child {\n  border-color: #1890ff;\n}\n.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover {\n  color: #40a9ff;\n  border-color: #40a9ff;\n}\n.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover::before {\n  background-color: #40a9ff;\n}\n.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active {\n  color: #096dd9;\n  border-color: #096dd9;\n}\n.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active::before {\n  background-color: #096dd9;\n}\n.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within {\n  box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.08);\n}\n.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {\n  color: #fff;\n  background: #1890ff;\n  border-color: #1890ff;\n}\n.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover {\n  color: #fff;\n  background: #40a9ff;\n  border-color: #40a9ff;\n}\n.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active {\n  color: #fff;\n  background: #096dd9;\n  border-color: #096dd9;\n}\n.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within {\n  box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.08);\n}\n.ant-radio-button-wrapper-disabled {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #f5f5f5;\n  border-color: #d9d9d9;\n  cursor: not-allowed;\n}\n.ant-radio-button-wrapper-disabled:first-child,\n.ant-radio-button-wrapper-disabled:hover {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #f5f5f5;\n  border-color: #d9d9d9;\n}\n.ant-radio-button-wrapper-disabled:first-child {\n  border-left-color: #d9d9d9;\n}\n.ant-radio-button-wrapper-disabled.ant-radio-button-wrapper-checked {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #e6e6e6;\n  border-color: #d9d9d9;\n  box-shadow: none;\n}\n@-webkit-keyframes antRadioEffect {\n  0% {\n    transform: scale(1);\n    opacity: 0.5;\n  }\n  100% {\n    transform: scale(1.6);\n    opacity: 0;\n  }\n}\n@keyframes antRadioEffect {\n  0% {\n    transform: scale(1);\n    opacity: 0.5;\n  }\n  100% {\n    transform: scale(1.6);\n    opacity: 0;\n  }\n}\n.ant-radio-group.ant-radio-group-rtl {\n  direction: rtl;\n}\n.ant-radio-wrapper.ant-radio-wrapper-rtl {\n  margin-right: 0;\n  margin-left: 8px;\n  direction: rtl;\n}\n.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl {\n  border-right-width: 0;\n  border-left-width: 1px;\n}\n.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper:not(:first-child)::before {\n  right: -1px;\n  left: 0;\n}\n.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper:first-child {\n  border-right: 1px solid #d9d9d9;\n  border-radius: 0 2px 2px 0;\n}\n.ant-radio-button-wrapper-checked:not([class*=' ant-radio-button-wrapper-disabled']).ant-radio-button-wrapper:first-child {\n  border-right-color: #40a9ff;\n}\n.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper:last-child {\n  border-radius: 2px 0 0 2px;\n}\n.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper-disabled:first-child {\n  border-right-color: #d9d9d9;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n@-webkit-keyframes antCheckboxEffect {\n  0% {\n    transform: scale(1);\n    opacity: 0.5;\n  }\n  100% {\n    transform: scale(1.6);\n    opacity: 0;\n  }\n}\n@keyframes antCheckboxEffect {\n  0% {\n    transform: scale(1);\n    opacity: 0.5;\n  }\n  100% {\n    transform: scale(1.6);\n    opacity: 0;\n  }\n}\n.ant-checkbox {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: relative;\n  top: 0.2em;\n  line-height: 1;\n  white-space: nowrap;\n  outline: none;\n  cursor: pointer;\n}\n.ant-checkbox-wrapper:hover .ant-checkbox-inner,\n.ant-checkbox:hover .ant-checkbox-inner,\n.ant-checkbox-input:focus + .ant-checkbox-inner {\n  border-color: #1890ff;\n}\n.ant-checkbox-checked::after {\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  border: 1px solid #1890ff;\n  border-radius: 2px;\n  visibility: hidden;\n  -webkit-animation: antCheckboxEffect 0.36s ease-in-out;\n          animation: antCheckboxEffect 0.36s ease-in-out;\n  -webkit-animation-fill-mode: backwards;\n          animation-fill-mode: backwards;\n  content: '';\n}\n.ant-checkbox:hover::after,\n.ant-checkbox-wrapper:hover .ant-checkbox::after {\n  visibility: visible;\n}\n.ant-checkbox-inner {\n  position: relative;\n  top: 0;\n  left: 0;\n  display: block;\n  width: 16px;\n  height: 16px;\n  direction: ltr;\n  background-color: #fff;\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n  border-collapse: separate;\n  transition: all 0.3s;\n}\n.ant-checkbox-inner::after {\n  position: absolute;\n  top: 50%;\n  left: 22%;\n  display: table;\n  width: 5.71428571px;\n  height: 9.14285714px;\n  border: 2px solid #fff;\n  border-top: 0;\n  border-left: 0;\n  transform: rotate(45deg) scale(0) translate(-50%, -50%);\n  opacity: 0;\n  transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s;\n  content: ' ';\n}\n.ant-checkbox-input {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  z-index: 1;\n  width: 100%;\n  height: 100%;\n  cursor: pointer;\n  opacity: 0;\n}\n.ant-checkbox-checked .ant-checkbox-inner::after {\n  position: absolute;\n  display: table;\n  border: 2px solid #fff;\n  border-top: 0;\n  border-left: 0;\n  transform: rotate(45deg) scale(1) translate(-50%, -50%);\n  opacity: 1;\n  transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;\n  content: ' ';\n}\n.ant-checkbox-checked .ant-checkbox-inner {\n  background-color: #1890ff;\n  border-color: #1890ff;\n}\n.ant-checkbox-disabled {\n  cursor: not-allowed;\n}\n.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after {\n  border-color: rgba(0, 0, 0, 0.25);\n  -webkit-animation-name: none;\n          animation-name: none;\n}\n.ant-checkbox-disabled .ant-checkbox-input {\n  cursor: not-allowed;\n}\n.ant-checkbox-disabled .ant-checkbox-inner {\n  background-color: #f5f5f5;\n  border-color: #d9d9d9 !important;\n}\n.ant-checkbox-disabled .ant-checkbox-inner::after {\n  border-color: #f5f5f5;\n  border-collapse: separate;\n  -webkit-animation-name: none;\n          animation-name: none;\n}\n.ant-checkbox-disabled + span {\n  color: rgba(0, 0, 0, 0.25);\n  cursor: not-allowed;\n}\n.ant-checkbox-disabled:hover::after,\n.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after {\n  visibility: hidden;\n}\n.ant-checkbox-wrapper {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  display: inline-flex;\n  align-items: baseline;\n  line-height: unset;\n  cursor: pointer;\n}\n.ant-checkbox-wrapper::after {\n  display: inline-block;\n  width: 0;\n  overflow: hidden;\n  content: '\\a0';\n}\n.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled {\n  cursor: not-allowed;\n}\n.ant-checkbox-wrapper + .ant-checkbox-wrapper {\n  margin-left: 8px;\n}\n.ant-checkbox + span {\n  padding-right: 8px;\n  padding-left: 8px;\n}\n.ant-checkbox-group {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  display: inline-block;\n}\n.ant-checkbox-group-item {\n  margin-right: 8px;\n}\n.ant-checkbox-group-item:last-child {\n  margin-right: 0;\n}\n.ant-checkbox-group-item + .ant-checkbox-group-item {\n  margin-left: 0;\n}\n.ant-checkbox-indeterminate .ant-checkbox-inner {\n  background-color: #fff;\n  border-color: #d9d9d9;\n}\n.ant-checkbox-indeterminate .ant-checkbox-inner::after {\n  top: 50%;\n  left: 50%;\n  width: 8px;\n  height: 8px;\n  background-color: #1890ff;\n  border: 0;\n  transform: translate(-50%, -50%) scale(1);\n  opacity: 1;\n  content: ' ';\n}\n.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after {\n  background-color: rgba(0, 0, 0, 0.25);\n  border-color: rgba(0, 0, 0, 0.25);\n}\n.ant-checkbox-rtl {\n  direction: rtl;\n}\n.ant-checkbox-group-rtl .ant-checkbox-group-item {\n  margin-right: 0;\n  margin-left: 8px;\n}\n.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child {\n  margin-left: 0 !important;\n}\n.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item {\n  margin-left: 8px;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-dropdown-menu-item.ant-dropdown-menu-item-danger {\n  color: #ff4d4f;\n}\n.ant-dropdown-menu-item.ant-dropdown-menu-item-danger:hover {\n  color: #fff;\n  background-color: #ff4d4f;\n}\n.ant-dropdown {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: absolute;\n  top: -9999px;\n  left: -9999px;\n  z-index: 1050;\n  display: block;\n}\n.ant-dropdown::before {\n  position: absolute;\n  top: -4px;\n  right: 0;\n  bottom: -4px;\n  left: -7px;\n  z-index: -9999;\n  opacity: 0.0001;\n  content: ' ';\n}\n.ant-dropdown-wrap {\n  position: relative;\n}\n.ant-dropdown-wrap .ant-btn > .anticon-down {\n  font-size: 10px;\n}\n.ant-dropdown-wrap .anticon-down::before {\n  transition: transform 0.2s;\n}\n.ant-dropdown-wrap-open .anticon-down::before {\n  transform: rotate(180deg);\n}\n.ant-dropdown-hidden,\n.ant-dropdown-menu-hidden,\n.ant-dropdown-menu-submenu-hidden {\n  display: none;\n}\n.ant-dropdown-show-arrow.ant-dropdown-placement-topCenter,\n.ant-dropdown-show-arrow.ant-dropdown-placement-topLeft,\n.ant-dropdown-show-arrow.ant-dropdown-placement-topRight {\n  padding-bottom: 10px;\n}\n.ant-dropdown-show-arrow.ant-dropdown-placement-bottomCenter,\n.ant-dropdown-show-arrow.ant-dropdown-placement-bottomLeft,\n.ant-dropdown-show-arrow.ant-dropdown-placement-bottomRight {\n  padding-top: 10px;\n}\n.ant-dropdown-arrow {\n  position: absolute;\n  z-index: 1;\n  display: block;\n  width: 8.48528137px;\n  height: 8.48528137px;\n  background: transparent;\n  border-style: solid;\n  border-width: 4.24264069px;\n  transform: rotate(45deg);\n}\n.ant-dropdown-placement-topCenter > .ant-dropdown-arrow,\n.ant-dropdown-placement-topLeft > .ant-dropdown-arrow,\n.ant-dropdown-placement-topRight > .ant-dropdown-arrow {\n  bottom: 6.2px;\n  border-top-color: transparent;\n  border-right-color: #fff;\n  border-bottom-color: #fff;\n  border-left-color: transparent;\n  box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);\n}\n.ant-dropdown-placement-topCenter > .ant-dropdown-arrow {\n  left: 50%;\n  transform: translateX(-50%) rotate(45deg);\n}\n.ant-dropdown-placement-topLeft > .ant-dropdown-arrow {\n  left: 16px;\n}\n.ant-dropdown-placement-topRight > .ant-dropdown-arrow {\n  right: 16px;\n}\n.ant-dropdown-placement-bottomCenter > .ant-dropdown-arrow,\n.ant-dropdown-placement-bottomLeft > .ant-dropdown-arrow,\n.ant-dropdown-placement-bottomRight > .ant-dropdown-arrow {\n  top: 6px;\n  border-top-color: #fff;\n  border-right-color: transparent;\n  border-bottom-color: transparent;\n  border-left-color: #fff;\n  box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.06);\n}\n.ant-dropdown-placement-bottomCenter > .ant-dropdown-arrow {\n  left: 50%;\n  transform: translateX(-50%) rotate(45deg);\n}\n.ant-dropdown-placement-bottomLeft > .ant-dropdown-arrow {\n  left: 16px;\n}\n.ant-dropdown-placement-bottomRight > .ant-dropdown-arrow {\n  right: 16px;\n}\n.ant-dropdown-menu {\n  position: relative;\n  margin: 0;\n  padding: 4px 0;\n  text-align: left;\n  list-style-type: none;\n  background-color: #fff;\n  background-clip: padding-box;\n  border-radius: 2px;\n  outline: none;\n  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n}\n.ant-dropdown-menu-item-group-title {\n  padding: 5px 12px;\n  color: rgba(0, 0, 0, 0.45);\n  transition: all 0.3s;\n}\n.ant-dropdown-menu-submenu-popup {\n  position: absolute;\n  z-index: 1050;\n  background: transparent;\n  box-shadow: none;\n  transform-origin: 0 0;\n}\n.ant-dropdown-menu-submenu-popup ul,\n.ant-dropdown-menu-submenu-popup li {\n  list-style: none;\n}\n.ant-dropdown-menu-submenu-popup ul {\n  margin-right: 0.3em;\n  margin-left: 0.3em;\n}\n.ant-dropdown-menu-item {\n  position: relative;\n  display: flex;\n  align-items: center;\n}\n.ant-dropdown-menu-item-icon {\n  min-width: 12px;\n  margin-right: 8px;\n  font-size: 12px;\n}\n.ant-dropdown-menu-title-content > a {\n  color: inherit;\n  transition: all 0.3s;\n}\n.ant-dropdown-menu-title-content > a:hover {\n  color: inherit;\n}\n.ant-dropdown-menu-title-content > a::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  content: '';\n}\n.ant-dropdown-menu-item,\n.ant-dropdown-menu-submenu-title {\n  clear: both;\n  margin: 0;\n  padding: 5px 12px;\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: normal;\n  font-size: 14px;\n  line-height: 22px;\n  white-space: nowrap;\n  cursor: pointer;\n  transition: all 0.3s;\n}\n.ant-dropdown-menu-item-selected,\n.ant-dropdown-menu-submenu-title-selected {\n  color: #1890ff;\n  background-color: #e6f7ff;\n}\n.ant-dropdown-menu-item:hover,\n.ant-dropdown-menu-submenu-title:hover {\n  background-color: #f5f5f5;\n}\n.ant-dropdown-menu-item-disabled,\n.ant-dropdown-menu-submenu-title-disabled {\n  color: rgba(0, 0, 0, 0.25);\n  cursor: not-allowed;\n}\n.ant-dropdown-menu-item-disabled:hover,\n.ant-dropdown-menu-submenu-title-disabled:hover {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #fff;\n  cursor: not-allowed;\n}\n.ant-dropdown-menu-item-disabled a,\n.ant-dropdown-menu-submenu-title-disabled a {\n  pointer-events: none;\n}\n.ant-dropdown-menu-item-divider,\n.ant-dropdown-menu-submenu-title-divider {\n  height: 1px;\n  margin: 4px 0;\n  overflow: hidden;\n  line-height: 0;\n  background-color: #f0f0f0;\n}\n.ant-dropdown-menu-item .ant-dropdown-menu-submenu-expand-icon,\n.ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-expand-icon {\n  position: absolute;\n  right: 8px;\n}\n.ant-dropdown-menu-item .ant-dropdown-menu-submenu-expand-icon .ant-dropdown-menu-submenu-arrow-icon,\n.ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-expand-icon .ant-dropdown-menu-submenu-arrow-icon {\n  margin-right: 0 !important;\n  color: rgba(0, 0, 0, 0.45);\n  font-size: 10px;\n  font-style: normal;\n}\n.ant-dropdown-menu-item-group-list {\n  margin: 0 8px;\n  padding: 0;\n  list-style: none;\n}\n.ant-dropdown-menu-submenu-title {\n  padding-right: 24px;\n}\n.ant-dropdown-menu-submenu-vertical {\n  position: relative;\n}\n.ant-dropdown-menu-submenu-vertical > .ant-dropdown-menu {\n  position: absolute;\n  top: 0;\n  left: 100%;\n  min-width: 100%;\n  margin-left: 4px;\n  transform-origin: 0 0;\n}\n.ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled .ant-dropdown-menu-submenu-title,\n.ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow-icon {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #fff;\n  cursor: not-allowed;\n}\n.ant-dropdown-menu-submenu-selected .ant-dropdown-menu-submenu-title {\n  color: #1890ff;\n}\n.ant-dropdown.slide-down-enter.slide-down-enter-active.ant-dropdown-placement-bottomLeft,\n.ant-dropdown.slide-down-appear.slide-down-appear-active.ant-dropdown-placement-bottomLeft,\n.ant-dropdown.slide-down-enter.slide-down-enter-active.ant-dropdown-placement-bottomCenter,\n.ant-dropdown.slide-down-appear.slide-down-appear-active.ant-dropdown-placement-bottomCenter,\n.ant-dropdown.slide-down-enter.slide-down-enter-active.ant-dropdown-placement-bottomRight,\n.ant-dropdown.slide-down-appear.slide-down-appear-active.ant-dropdown-placement-bottomRight {\n  -webkit-animation-name: antSlideUpIn;\n          animation-name: antSlideUpIn;\n}\n.ant-dropdown.slide-up-enter.slide-up-enter-active.ant-dropdown-placement-topLeft,\n.ant-dropdown.slide-up-appear.slide-up-appear-active.ant-dropdown-placement-topLeft,\n.ant-dropdown.slide-up-enter.slide-up-enter-active.ant-dropdown-placement-topCenter,\n.ant-dropdown.slide-up-appear.slide-up-appear-active.ant-dropdown-placement-topCenter,\n.ant-dropdown.slide-up-enter.slide-up-enter-active.ant-dropdown-placement-topRight,\n.ant-dropdown.slide-up-appear.slide-up-appear-active.ant-dropdown-placement-topRight {\n  -webkit-animation-name: antSlideDownIn;\n          animation-name: antSlideDownIn;\n}\n.ant-dropdown.slide-down-leave.slide-down-leave-active.ant-dropdown-placement-bottomLeft,\n.ant-dropdown.slide-down-leave.slide-down-leave-active.ant-dropdown-placement-bottomCenter,\n.ant-dropdown.slide-down-leave.slide-down-leave-active.ant-dropdown-placement-bottomRight {\n  -webkit-animation-name: antSlideUpOut;\n          animation-name: antSlideUpOut;\n}\n.ant-dropdown.slide-up-leave.slide-up-leave-active.ant-dropdown-placement-topLeft,\n.ant-dropdown.slide-up-leave.slide-up-leave-active.ant-dropdown-placement-topCenter,\n.ant-dropdown.slide-up-leave.slide-up-leave-active.ant-dropdown-placement-topRight {\n  -webkit-animation-name: antSlideDownOut;\n          animation-name: antSlideDownOut;\n}\n.ant-dropdown-trigger > .anticon.anticon-down,\n.ant-dropdown-link > .anticon.anticon-down,\n.ant-dropdown-button > .anticon.anticon-down {\n  font-size: 10px;\n  vertical-align: baseline;\n}\n.ant-dropdown-button {\n  white-space: nowrap;\n}\n.ant-dropdown-button.ant-btn-group > .ant-btn:last-child:not(:first-child):not(.ant-btn-icon-only) {\n  padding-right: 8px;\n  padding-left: 8px;\n}\n.ant-dropdown-menu-dark,\n.ant-dropdown-menu-dark .ant-dropdown-menu {\n  background: #001529;\n}\n.ant-dropdown-menu-dark .ant-dropdown-menu-item,\n.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title,\n.ant-dropdown-menu-dark .ant-dropdown-menu-item > a,\n.ant-dropdown-menu-dark .ant-dropdown-menu-item > .anticon + span > a {\n  color: rgba(255, 255, 255, 0.65);\n}\n.ant-dropdown-menu-dark .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow::after,\n.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow::after,\n.ant-dropdown-menu-dark .ant-dropdown-menu-item > a .ant-dropdown-menu-submenu-arrow::after,\n.ant-dropdown-menu-dark .ant-dropdown-menu-item > .anticon + span > a .ant-dropdown-menu-submenu-arrow::after {\n  color: rgba(255, 255, 255, 0.65);\n}\n.ant-dropdown-menu-dark .ant-dropdown-menu-item:hover,\n.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title:hover,\n.ant-dropdown-menu-dark .ant-dropdown-menu-item > a:hover,\n.ant-dropdown-menu-dark .ant-dropdown-menu-item > .anticon + span > a:hover {\n  color: #fff;\n  background: transparent;\n}\n.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected,\n.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected:hover,\n.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected > a {\n  color: #fff;\n  background: #1890ff;\n}\n.ant-dropdown-rtl {\n  direction: rtl;\n}\n.ant-dropdown-rtl.ant-dropdown::before {\n  right: -7px;\n  left: 0;\n}\n.ant-dropdown-menu.ant-dropdown-menu-rtl {\n  direction: rtl;\n  text-align: right;\n}\n.ant-dropdown-rtl .ant-dropdown-menu-item-group-title {\n  direction: rtl;\n  text-align: right;\n}\n.ant-dropdown-menu-submenu-popup.ant-dropdown-menu-submenu-rtl {\n  transform-origin: 100% 0;\n}\n.ant-dropdown-rtl .ant-dropdown-menu-submenu-popup ul,\n.ant-dropdown-rtl .ant-dropdown-menu-submenu-popup li {\n  text-align: right;\n}\n.ant-dropdown-rtl .ant-dropdown-menu-item,\n.ant-dropdown-rtl .ant-dropdown-menu-submenu-title {\n  text-align: right;\n}\n.ant-dropdown-rtl .ant-dropdown-menu-item > .anticon:first-child,\n.ant-dropdown-rtl .ant-dropdown-menu-submenu-title > .anticon:first-child,\n.ant-dropdown-rtl .ant-dropdown-menu-item > span > .anticon:first-child,\n.ant-dropdown-rtl .ant-dropdown-menu-submenu-title > span > .anticon:first-child {\n  margin-right: 0;\n  margin-left: 8px;\n}\n.ant-dropdown-rtl .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow,\n.ant-dropdown-rtl .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow {\n  right: auto;\n  left: 8px;\n}\n.ant-dropdown-rtl .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow-icon,\n.ant-dropdown-rtl .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow-icon {\n  margin-left: 0 !important;\n  transform: scaleX(-1);\n}\n.ant-dropdown-rtl .ant-dropdown-menu-submenu-title {\n  padding-right: 12px;\n  padding-left: 24px;\n}\n.ant-dropdown-rtl .ant-dropdown-menu-submenu-vertical > .ant-dropdown-menu {\n  right: 100%;\n  left: 0;\n  margin-right: 4px;\n  margin-left: 0;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-spin {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: absolute;\n  display: none;\n  color: #1890ff;\n  text-align: center;\n  vertical-align: middle;\n  opacity: 0;\n  transition: transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);\n}\n.ant-spin-spinning {\n  position: static;\n  display: inline-block;\n  opacity: 1;\n}\n.ant-spin-nested-loading {\n  position: relative;\n}\n.ant-spin-nested-loading > div > .ant-spin {\n  position: absolute;\n  top: 0;\n  left: 0;\n  z-index: 4;\n  display: block;\n  width: 100%;\n  height: 100%;\n  max-height: 400px;\n}\n.ant-spin-nested-loading > div > .ant-spin .ant-spin-dot {\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  margin: -10px;\n}\n.ant-spin-nested-loading > div > .ant-spin .ant-spin-text {\n  position: absolute;\n  top: 50%;\n  width: 100%;\n  padding-top: 5px;\n  text-shadow: 0 1px 2px #fff;\n}\n.ant-spin-nested-loading > div > .ant-spin.ant-spin-show-text .ant-spin-dot {\n  margin-top: -20px;\n}\n.ant-spin-nested-loading > div > .ant-spin-sm .ant-spin-dot {\n  margin: -7px;\n}\n.ant-spin-nested-loading > div > .ant-spin-sm .ant-spin-text {\n  padding-top: 2px;\n}\n.ant-spin-nested-loading > div > .ant-spin-sm.ant-spin-show-text .ant-spin-dot {\n  margin-top: -17px;\n}\n.ant-spin-nested-loading > div > .ant-spin-lg .ant-spin-dot {\n  margin: -16px;\n}\n.ant-spin-nested-loading > div > .ant-spin-lg .ant-spin-text {\n  padding-top: 11px;\n}\n.ant-spin-nested-loading > div > .ant-spin-lg.ant-spin-show-text .ant-spin-dot {\n  margin-top: -26px;\n}\n.ant-spin-container {\n  position: relative;\n  transition: opacity 0.3s;\n}\n.ant-spin-container::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  z-index: 10;\n  display: none \\9;\n  width: 100%;\n  height: 100%;\n  background: #fff;\n  opacity: 0;\n  transition: all 0.3s;\n  content: '';\n  pointer-events: none;\n}\n.ant-spin-blur {\n  clear: both;\n  overflow: hidden;\n  opacity: 0.5;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n  pointer-events: none;\n}\n.ant-spin-blur::after {\n  opacity: 0.4;\n  pointer-events: auto;\n}\n.ant-spin-tip {\n  color: rgba(0, 0, 0, 0.45);\n}\n.ant-spin-dot {\n  position: relative;\n  display: inline-block;\n  font-size: 20px;\n  width: 1em;\n  height: 1em;\n}\n.ant-spin-dot-item {\n  position: absolute;\n  display: block;\n  width: 9px;\n  height: 9px;\n  background-color: #1890ff;\n  border-radius: 100%;\n  transform: scale(0.75);\n  transform-origin: 50% 50%;\n  opacity: 0.3;\n  -webkit-animation: antSpinMove 1s infinite linear alternate;\n          animation: antSpinMove 1s infinite linear alternate;\n}\n.ant-spin-dot-item:nth-child(1) {\n  top: 0;\n  left: 0;\n}\n.ant-spin-dot-item:nth-child(2) {\n  top: 0;\n  right: 0;\n  -webkit-animation-delay: 0.4s;\n          animation-delay: 0.4s;\n}\n.ant-spin-dot-item:nth-child(3) {\n  right: 0;\n  bottom: 0;\n  -webkit-animation-delay: 0.8s;\n          animation-delay: 0.8s;\n}\n.ant-spin-dot-item:nth-child(4) {\n  bottom: 0;\n  left: 0;\n  -webkit-animation-delay: 1.2s;\n          animation-delay: 1.2s;\n}\n.ant-spin-dot-spin {\n  transform: rotate(45deg);\n  -webkit-animation: antRotate 1.2s infinite linear;\n          animation: antRotate 1.2s infinite linear;\n}\n.ant-spin-sm .ant-spin-dot {\n  font-size: 14px;\n}\n.ant-spin-sm .ant-spin-dot i {\n  width: 6px;\n  height: 6px;\n}\n.ant-spin-lg .ant-spin-dot {\n  font-size: 32px;\n}\n.ant-spin-lg .ant-spin-dot i {\n  width: 14px;\n  height: 14px;\n}\n.ant-spin.ant-spin-show-text .ant-spin-text {\n  display: block;\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n  /* IE10+ */\n  .ant-spin-blur {\n    background: #fff;\n    opacity: 0.5;\n  }\n}\n@-webkit-keyframes antSpinMove {\n  to {\n    opacity: 1;\n  }\n}\n@keyframes antSpinMove {\n  to {\n    opacity: 1;\n  }\n}\n@-webkit-keyframes antRotate {\n  to {\n    transform: rotate(405deg);\n  }\n}\n@keyframes antRotate {\n  to {\n    transform: rotate(405deg);\n  }\n}\n.ant-spin-rtl {\n  direction: rtl;\n}\n.ant-spin-rtl .ant-spin-dot-spin {\n  transform: rotate(-45deg);\n  -webkit-animation-name: antRotateRtl;\n          animation-name: antRotateRtl;\n}\n@-webkit-keyframes antRotateRtl {\n  to {\n    transform: rotate(-405deg);\n  }\n}\n@keyframes antRotateRtl {\n  to {\n    transform: rotate(-405deg);\n  }\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-pagination {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n}\n.ant-pagination ul,\n.ant-pagination ol {\n  margin: 0;\n  padding: 0;\n  list-style: none;\n}\n.ant-pagination::after {\n  display: block;\n  clear: both;\n  height: 0;\n  overflow: hidden;\n  visibility: hidden;\n  content: ' ';\n}\n.ant-pagination-total-text {\n  display: inline-block;\n  height: 32px;\n  margin-right: 8px;\n  line-height: 30px;\n  vertical-align: middle;\n}\n.ant-pagination-item {\n  display: inline-block;\n  min-width: 32px;\n  height: 32px;\n  margin-right: 8px;\n  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n  line-height: 30px;\n  text-align: center;\n  vertical-align: middle;\n  list-style: none;\n  background-color: #fff;\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n  outline: 0;\n  cursor: pointer;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n}\n.ant-pagination-item a {\n  display: block;\n  padding: 0 6px;\n  color: rgba(0, 0, 0, 0.85);\n  transition: none;\n}\n.ant-pagination-item a:hover {\n  text-decoration: none;\n}\n.ant-pagination-item:focus-visible,\n.ant-pagination-item:hover {\n  border-color: #1890ff;\n  transition: all 0.3s;\n}\n.ant-pagination-item:focus-visible a,\n.ant-pagination-item:hover a {\n  color: #1890ff;\n}\n.ant-pagination-item-active {\n  font-weight: 500;\n  background: #fff;\n  border-color: #1890ff;\n}\n.ant-pagination-item-active a {\n  color: #1890ff;\n}\n.ant-pagination-item-active:focus-visible,\n.ant-pagination-item-active:hover {\n  border-color: #40a9ff;\n}\n.ant-pagination-item-active:focus-visible a,\n.ant-pagination-item-active:hover a {\n  color: #40a9ff;\n}\n.ant-pagination-jump-prev,\n.ant-pagination-jump-next {\n  outline: 0;\n}\n.ant-pagination-jump-prev .ant-pagination-item-container,\n.ant-pagination-jump-next .ant-pagination-item-container {\n  position: relative;\n}\n.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon,\n.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon {\n  color: #1890ff;\n  font-size: 12px;\n  letter-spacing: -1px;\n  opacity: 0;\n  transition: all 0.2s;\n}\n.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon-svg,\n.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon-svg {\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  margin: auto;\n}\n.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-ellipsis,\n.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-ellipsis {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  display: block;\n  margin: auto;\n  color: rgba(0, 0, 0, 0.25);\n  font-family: Arial, Helvetica, sans-serif;\n  letter-spacing: 2px;\n  text-align: center;\n  text-indent: 0.13em;\n  opacity: 1;\n  transition: all 0.2s;\n}\n.ant-pagination-jump-prev:focus-visible .ant-pagination-item-link-icon,\n.ant-pagination-jump-next:focus-visible .ant-pagination-item-link-icon,\n.ant-pagination-jump-prev:hover .ant-pagination-item-link-icon,\n.ant-pagination-jump-next:hover .ant-pagination-item-link-icon {\n  opacity: 1;\n}\n.ant-pagination-jump-prev:focus-visible .ant-pagination-item-ellipsis,\n.ant-pagination-jump-next:focus-visible .ant-pagination-item-ellipsis,\n.ant-pagination-jump-prev:hover .ant-pagination-item-ellipsis,\n.ant-pagination-jump-next:hover .ant-pagination-item-ellipsis {\n  opacity: 0;\n}\n.ant-pagination-prev,\n.ant-pagination-jump-prev,\n.ant-pagination-jump-next {\n  margin-right: 8px;\n}\n.ant-pagination-prev,\n.ant-pagination-next,\n.ant-pagination-jump-prev,\n.ant-pagination-jump-next {\n  display: inline-block;\n  min-width: 32px;\n  height: 32px;\n  color: rgba(0, 0, 0, 0.85);\n  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n  line-height: 32px;\n  text-align: center;\n  vertical-align: middle;\n  list-style: none;\n  border-radius: 2px;\n  cursor: pointer;\n  transition: all 0.3s;\n}\n.ant-pagination-prev,\n.ant-pagination-next {\n  font-family: Arial, Helvetica, sans-serif;\n  outline: 0;\n}\n.ant-pagination-prev button,\n.ant-pagination-next button {\n  color: rgba(0, 0, 0, 0.85);\n  cursor: pointer;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n}\n.ant-pagination-prev:hover button,\n.ant-pagination-next:hover button {\n  border-color: #40a9ff;\n}\n.ant-pagination-prev .ant-pagination-item-link,\n.ant-pagination-next .ant-pagination-item-link {\n  display: block;\n  width: 100%;\n  height: 100%;\n  padding: 0;\n  font-size: 12px;\n  text-align: center;\n  background-color: #fff;\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n  outline: none;\n  transition: all 0.3s;\n}\n.ant-pagination-prev:focus-visible .ant-pagination-item-link,\n.ant-pagination-next:focus-visible .ant-pagination-item-link,\n.ant-pagination-prev:hover .ant-pagination-item-link,\n.ant-pagination-next:hover .ant-pagination-item-link {\n  color: #1890ff;\n  border-color: #1890ff;\n}\n.ant-pagination-disabled,\n.ant-pagination-disabled:hover,\n.ant-pagination-disabled:focus-visible {\n  cursor: not-allowed;\n}\n.ant-pagination-disabled .ant-pagination-item-link,\n.ant-pagination-disabled:hover .ant-pagination-item-link,\n.ant-pagination-disabled:focus-visible .ant-pagination-item-link {\n  color: rgba(0, 0, 0, 0.25);\n  border-color: #d9d9d9;\n  cursor: not-allowed;\n}\n.ant-pagination-slash {\n  margin: 0 10px 0 5px;\n}\n.ant-pagination-options {\n  display: inline-block;\n  margin-left: 16px;\n  vertical-align: middle;\n}\n@media all and (-ms-high-contrast: none) {\n  .ant-pagination-options *::-ms-backdrop,\n  .ant-pagination-options {\n    vertical-align: top;\n  }\n}\n.ant-pagination-options-size-changer.ant-select {\n  display: inline-block;\n  width: auto;\n}\n.ant-pagination-options-quick-jumper {\n  display: inline-block;\n  height: 32px;\n  margin-left: 8px;\n  line-height: 32px;\n  vertical-align: top;\n}\n.ant-pagination-options-quick-jumper input {\n  position: relative;\n  display: inline-block;\n  width: 100%;\n  min-width: 0;\n  padding: 4px 11px;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  line-height: 1.5715;\n  background-color: #fff;\n  background-image: none;\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n  transition: all 0.3s;\n  width: 50px;\n  height: 32px;\n  margin: 0 8px;\n}\n.ant-pagination-options-quick-jumper input::-moz-placeholder {\n  opacity: 1;\n}\n.ant-pagination-options-quick-jumper input:-ms-input-placeholder {\n  color: #bfbfbf;\n}\n.ant-pagination-options-quick-jumper input::placeholder {\n  color: #bfbfbf;\n}\n.ant-pagination-options-quick-jumper input:-moz-placeholder-shown {\n  text-overflow: ellipsis;\n}\n.ant-pagination-options-quick-jumper input:-ms-input-placeholder {\n  text-overflow: ellipsis;\n}\n.ant-pagination-options-quick-jumper input:placeholder-shown {\n  text-overflow: ellipsis;\n}\n.ant-pagination-options-quick-jumper input:hover {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n}\n.ant-pagination-options-quick-jumper input:focus,\n.ant-pagination-options-quick-jumper input-focused {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n}\n.ant-pagination-options-quick-jumper input-disabled {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #f5f5f5;\n  cursor: not-allowed;\n  opacity: 1;\n}\n.ant-pagination-options-quick-jumper input-disabled:hover {\n  border-color: #d9d9d9;\n  border-right-width: 1px !important;\n}\n.ant-pagination-options-quick-jumper input[disabled] {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #f5f5f5;\n  cursor: not-allowed;\n  opacity: 1;\n}\n.ant-pagination-options-quick-jumper input[disabled]:hover {\n  border-color: #d9d9d9;\n  border-right-width: 1px !important;\n}\n.ant-pagination-options-quick-jumper input-borderless,\n.ant-pagination-options-quick-jumper input-borderless:hover,\n.ant-pagination-options-quick-jumper input-borderless:focus,\n.ant-pagination-options-quick-jumper input-borderless-focused,\n.ant-pagination-options-quick-jumper input-borderless-disabled,\n.ant-pagination-options-quick-jumper input-borderless[disabled] {\n  background-color: transparent;\n  border: none;\n  box-shadow: none;\n}\ntextarea.ant-pagination-options-quick-jumper input {\n  max-width: 100%;\n  height: auto;\n  min-height: 32px;\n  line-height: 1.5715;\n  vertical-align: bottom;\n  transition: all 0.3s, height 0s;\n}\n.ant-pagination-options-quick-jumper input-lg {\n  padding: 6.5px 11px;\n  font-size: 16px;\n}\n.ant-pagination-options-quick-jumper input-sm {\n  padding: 0px 7px;\n}\n.ant-pagination-simple .ant-pagination-prev,\n.ant-pagination-simple .ant-pagination-next {\n  height: 24px;\n  line-height: 24px;\n  vertical-align: top;\n}\n.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link,\n.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link {\n  height: 24px;\n  background-color: transparent;\n  border: 0;\n}\n.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link::after,\n.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link::after {\n  height: 24px;\n  line-height: 24px;\n}\n.ant-pagination-simple .ant-pagination-simple-pager {\n  display: inline-block;\n  height: 24px;\n  margin-right: 8px;\n}\n.ant-pagination-simple .ant-pagination-simple-pager input {\n  box-sizing: border-box;\n  height: 100%;\n  margin-right: 8px;\n  padding: 0 6px;\n  text-align: center;\n  background-color: #fff;\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n  outline: none;\n  transition: border-color 0.3s;\n}\n.ant-pagination-simple .ant-pagination-simple-pager input:hover {\n  border-color: #1890ff;\n}\n.ant-pagination-simple .ant-pagination-simple-pager input[disabled] {\n  color: rgba(0, 0, 0, 0.25);\n  background: #f5f5f5;\n  border-color: #d9d9d9;\n  cursor: not-allowed;\n}\n.ant-pagination.mini .ant-pagination-total-text,\n.ant-pagination.mini .ant-pagination-simple-pager {\n  height: 24px;\n  line-height: 24px;\n}\n.ant-pagination.mini .ant-pagination-item {\n  min-width: 24px;\n  height: 24px;\n  margin: 0;\n  line-height: 22px;\n}\n.ant-pagination.mini .ant-pagination-item:not(.ant-pagination-item-active) {\n  background: transparent;\n  border-color: transparent;\n}\n.ant-pagination.mini .ant-pagination-prev,\n.ant-pagination.mini .ant-pagination-next {\n  min-width: 24px;\n  height: 24px;\n  margin: 0;\n  line-height: 24px;\n}\n.ant-pagination.mini .ant-pagination-prev .ant-pagination-item-link,\n.ant-pagination.mini .ant-pagination-next .ant-pagination-item-link {\n  background: transparent;\n  border-color: transparent;\n}\n.ant-pagination.mini .ant-pagination-prev .ant-pagination-item-link::after,\n.ant-pagination.mini .ant-pagination-next .ant-pagination-item-link::after {\n  height: 24px;\n  line-height: 24px;\n}\n.ant-pagination.mini .ant-pagination-jump-prev,\n.ant-pagination.mini .ant-pagination-jump-next {\n  height: 24px;\n  margin-right: 0;\n  line-height: 24px;\n}\n.ant-pagination.mini .ant-pagination-options {\n  margin-left: 2px;\n}\n.ant-pagination.mini .ant-pagination-options-size-changer {\n  top: 0px;\n}\n.ant-pagination.mini .ant-pagination-options-quick-jumper {\n  height: 24px;\n  line-height: 24px;\n}\n.ant-pagination.mini .ant-pagination-options-quick-jumper input {\n  padding: 0px 7px;\n  width: 44px;\n  height: 24px;\n}\n.ant-pagination.ant-pagination-disabled {\n  cursor: not-allowed;\n}\n.ant-pagination.ant-pagination-disabled .ant-pagination-item {\n  background: #f5f5f5;\n  border-color: #d9d9d9;\n  cursor: not-allowed;\n}\n.ant-pagination.ant-pagination-disabled .ant-pagination-item a {\n  color: rgba(0, 0, 0, 0.25);\n  background: transparent;\n  border: none;\n  cursor: not-allowed;\n}\n.ant-pagination.ant-pagination-disabled .ant-pagination-item-active {\n  background: #dbdbdb;\n  border-color: transparent;\n}\n.ant-pagination.ant-pagination-disabled .ant-pagination-item-active a {\n  color: #fff;\n}\n.ant-pagination.ant-pagination-disabled .ant-pagination-item-link {\n  color: rgba(0, 0, 0, 0.25);\n  background: #f5f5f5;\n  border-color: #d9d9d9;\n  cursor: not-allowed;\n}\n.ant-pagination-simple.ant-pagination.ant-pagination-disabled .ant-pagination-item-link {\n  background: transparent;\n}\n.ant-pagination.ant-pagination-disabled .ant-pagination-item-link-icon {\n  opacity: 0;\n}\n.ant-pagination.ant-pagination-disabled .ant-pagination-item-ellipsis {\n  opacity: 1;\n}\n.ant-pagination.ant-pagination-disabled .ant-pagination-simple-pager {\n  color: rgba(0, 0, 0, 0.25);\n}\n@media only screen and (max-width: 992px) {\n  .ant-pagination-item-after-jump-prev,\n  .ant-pagination-item-before-jump-next {\n    display: none;\n  }\n}\n@media only screen and (max-width: 576px) {\n  .ant-pagination-options {\n    display: none;\n  }\n}\n.ant-pagination-rtl .ant-pagination-total-text {\n  margin-right: 0;\n  margin-left: 8px;\n}\n.ant-pagination-rtl .ant-pagination-item,\n.ant-pagination-rtl .ant-pagination-prev,\n.ant-pagination-rtl .ant-pagination-jump-prev,\n.ant-pagination-rtl .ant-pagination-jump-next {\n  margin-right: 0;\n  margin-left: 8px;\n}\n.ant-pagination-rtl .ant-pagination-slash {\n  margin: 0 5px 0 10px;\n}\n.ant-pagination-rtl .ant-pagination-options {\n  margin-right: 16px;\n  margin-left: 0;\n}\n.ant-pagination-rtl .ant-pagination-options .ant-pagination-options-size-changer.ant-select {\n  margin-right: 0;\n  margin-left: 8px;\n}\n.ant-pagination-rtl .ant-pagination-options .ant-pagination-options-quick-jumper {\n  margin-left: 0;\n}\n.ant-pagination-rtl.ant-pagination-simple .ant-pagination-simple-pager {\n  margin-right: 0;\n  margin-left: 8px;\n}\n.ant-pagination-rtl.ant-pagination-simple .ant-pagination-simple-pager input {\n  margin-right: 0;\n  margin-left: 8px;\n}\n.ant-pagination-rtl.ant-pagination.mini .ant-pagination-options {\n  margin-right: 2px;\n  margin-left: 0;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-select-single .ant-select-selector {\n  display: flex;\n}\n.ant-select-single .ant-select-selector .ant-select-selection-search {\n  position: absolute;\n  top: 0;\n  right: 11px;\n  bottom: 0;\n  left: 11px;\n}\n.ant-select-single .ant-select-selector .ant-select-selection-search-input {\n  width: 100%;\n}\n.ant-select-single .ant-select-selector .ant-select-selection-item,\n.ant-select-single .ant-select-selector .ant-select-selection-placeholder {\n  padding: 0;\n  line-height: 30px;\n  transition: all 0.3s;\n}\n@supports (-moz-appearance: meterbar) {\n  .ant-select-single .ant-select-selector .ant-select-selection-item,\n  .ant-select-single .ant-select-selector .ant-select-selection-placeholder {\n    line-height: 30px;\n  }\n}\n.ant-select-single .ant-select-selector .ant-select-selection-item {\n  position: relative;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n}\n.ant-select-single .ant-select-selector .ant-select-selection-placeholder {\n  pointer-events: none;\n}\n.ant-select-single .ant-select-selector::after,\n.ant-select-single .ant-select-selector .ant-select-selection-item::after,\n.ant-select-single .ant-select-selector .ant-select-selection-placeholder::after {\n  display: inline-block;\n  width: 0;\n  visibility: hidden;\n  content: '\\a0';\n}\n.ant-select-single.ant-select-show-arrow .ant-select-selection-search {\n  right: 25px;\n}\n.ant-select-single.ant-select-show-arrow .ant-select-selection-item,\n.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder {\n  padding-right: 18px;\n}\n.ant-select-single.ant-select-open .ant-select-selection-item {\n  color: #bfbfbf;\n}\n.ant-select-single:not(.ant-select-customize-input) .ant-select-selector {\n  width: 100%;\n  height: 32px;\n  padding: 0 11px;\n}\n.ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input {\n  height: 30px;\n}\n.ant-select-single:not(.ant-select-customize-input) .ant-select-selector::after {\n  line-height: 30px;\n}\n.ant-select-single.ant-select-customize-input .ant-select-selector::after {\n  display: none;\n}\n.ant-select-single.ant-select-customize-input .ant-select-selector .ant-select-selection-search {\n  position: static;\n  width: 100%;\n}\n.ant-select-single.ant-select-customize-input .ant-select-selector .ant-select-selection-placeholder {\n  position: absolute;\n  right: 0;\n  left: 0;\n  padding: 0 11px;\n}\n.ant-select-single.ant-select-customize-input .ant-select-selector .ant-select-selection-placeholder::after {\n  display: none;\n}\n.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector {\n  height: 40px;\n}\n.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector::after,\n.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-item,\n.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder {\n  line-height: 38px;\n}\n.ant-select-single.ant-select-lg:not(.ant-select-customize-input):not(.ant-select-customize-input) .ant-select-selection-search-input {\n  height: 38px;\n}\n.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector {\n  height: 24px;\n}\n.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector::after,\n.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-item,\n.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder {\n  line-height: 22px;\n}\n.ant-select-single.ant-select-sm:not(.ant-select-customize-input):not(.ant-select-customize-input) .ant-select-selection-search-input {\n  height: 22px;\n}\n.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selection-search {\n  right: 7px;\n  left: 7px;\n}\n.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector {\n  padding: 0 7px;\n}\n.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-search {\n  right: 28px;\n}\n.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-item,\n.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-placeholder {\n  padding-right: 21px;\n}\n.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector {\n  padding: 0 11px;\n}\n/**\n * Do not merge `height` & `line-height` under style with `selection` & `search`,\n * since chrome may update to redesign with its align logic.\n */\n.ant-select-selection-overflow {\n  position: relative;\n  display: flex;\n  flex: auto;\n  flex-wrap: wrap;\n  max-width: 100%;\n}\n.ant-select-selection-overflow-item {\n  flex: none;\n  align-self: center;\n  max-width: 100%;\n}\n.ant-select-multiple .ant-select-selector {\n  display: flex;\n  flex-wrap: wrap;\n  align-items: center;\n  padding: 1px 4px;\n}\n.ant-select-show-search.ant-select-multiple .ant-select-selector {\n  cursor: text;\n}\n.ant-select-disabled.ant-select-multiple .ant-select-selector {\n  background: #f5f5f5;\n  cursor: not-allowed;\n}\n.ant-select-multiple .ant-select-selector::after {\n  display: inline-block;\n  width: 0;\n  margin: 2px 0;\n  line-height: 24px;\n  content: '\\a0';\n}\n.ant-select-multiple.ant-select-show-arrow .ant-select-selector,\n.ant-select-multiple.ant-select-allow-clear .ant-select-selector {\n  padding-right: 24px;\n}\n.ant-select-multiple .ant-select-selection-item {\n  position: relative;\n  display: flex;\n  flex: none;\n  box-sizing: border-box;\n  max-width: 100%;\n  height: 24px;\n  margin-top: 2px;\n  margin-bottom: 2px;\n  line-height: 22px;\n  background: #f5f5f5;\n  border: 1px solid #f0f0f0;\n  border-radius: 2px;\n  cursor: default;\n  transition: font-size 0.3s, line-height 0.3s, height 0.3s;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n  -webkit-margin-end: 4px;\n          margin-inline-end: 4px;\n  -webkit-padding-start: 8px;\n          padding-inline-start: 8px;\n  -webkit-padding-end: 4px;\n          padding-inline-end: 4px;\n}\n.ant-select-disabled.ant-select-multiple .ant-select-selection-item {\n  color: #bfbfbf;\n  border-color: #d9d9d9;\n  cursor: not-allowed;\n}\n.ant-select-multiple .ant-select-selection-item-content {\n  display: inline-block;\n  margin-right: 4px;\n  overflow: hidden;\n  white-space: pre;\n  text-overflow: ellipsis;\n}\n.ant-select-multiple .ant-select-selection-item-remove {\n  color: inherit;\n  font-style: normal;\n  line-height: 0;\n  text-align: center;\n  text-transform: none;\n  vertical-align: -0.125em;\n  text-rendering: optimizeLegibility;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n  display: inline-block;\n  color: rgba(0, 0, 0, 0.45);\n  font-weight: bold;\n  font-size: 10px;\n  line-height: inherit;\n  cursor: pointer;\n}\n.ant-select-multiple .ant-select-selection-item-remove > * {\n  line-height: 1;\n}\n.ant-select-multiple .ant-select-selection-item-remove svg {\n  display: inline-block;\n}\n.ant-select-multiple .ant-select-selection-item-remove::before {\n  display: none;\n}\n.ant-select-multiple .ant-select-selection-item-remove .ant-select-multiple .ant-select-selection-item-remove-icon {\n  display: block;\n}\n.ant-select-multiple .ant-select-selection-item-remove > .anticon {\n  vertical-align: -0.2em;\n}\n.ant-select-multiple .ant-select-selection-item-remove:hover {\n  color: rgba(0, 0, 0, 0.75);\n}\n.ant-select-multiple .ant-select-selection-overflow-item + .ant-select-selection-overflow-item .ant-select-selection-search {\n  -webkit-margin-start: 0;\n          margin-inline-start: 0;\n}\n.ant-select-multiple .ant-select-selection-search {\n  position: relative;\n  max-width: 100%;\n  margin-top: 2px;\n  margin-bottom: 2px;\n  -webkit-margin-start: 7px;\n          margin-inline-start: 7px;\n}\n.ant-select-multiple .ant-select-selection-search-input,\n.ant-select-multiple .ant-select-selection-search-mirror {\n  height: 24px;\n  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n  line-height: 24px;\n  transition: all 0.3s;\n}\n.ant-select-multiple .ant-select-selection-search-input {\n  width: 100%;\n  min-width: 4.1px;\n}\n.ant-select-multiple .ant-select-selection-search-mirror {\n  position: absolute;\n  top: 0;\n  left: 0;\n  z-index: 999;\n  white-space: pre;\n  visibility: hidden;\n}\n.ant-select-multiple .ant-select-selection-placeholder {\n  position: absolute;\n  top: 50%;\n  right: 11px;\n  left: 11px;\n  transform: translateY(-50%);\n  transition: all 0.3s;\n}\n.ant-select-multiple.ant-select-lg .ant-select-selector::after {\n  line-height: 32px;\n}\n.ant-select-multiple.ant-select-lg .ant-select-selection-item {\n  height: 32px;\n  line-height: 30px;\n}\n.ant-select-multiple.ant-select-lg .ant-select-selection-search {\n  height: 32px;\n  line-height: 32px;\n}\n.ant-select-multiple.ant-select-lg .ant-select-selection-search-input,\n.ant-select-multiple.ant-select-lg .ant-select-selection-search-mirror {\n  height: 32px;\n  line-height: 30px;\n}\n.ant-select-multiple.ant-select-sm .ant-select-selector::after {\n  line-height: 16px;\n}\n.ant-select-multiple.ant-select-sm .ant-select-selection-item {\n  height: 16px;\n  line-height: 14px;\n}\n.ant-select-multiple.ant-select-sm .ant-select-selection-search {\n  height: 16px;\n  line-height: 16px;\n}\n.ant-select-multiple.ant-select-sm .ant-select-selection-search-input,\n.ant-select-multiple.ant-select-sm .ant-select-selection-search-mirror {\n  height: 16px;\n  line-height: 14px;\n}\n.ant-select-multiple.ant-select-sm .ant-select-selection-placeholder {\n  left: 7px;\n}\n.ant-select-multiple.ant-select-sm .ant-select-selection-search {\n  -webkit-margin-start: 3px;\n          margin-inline-start: 3px;\n}\n.ant-select-multiple.ant-select-lg .ant-select-selection-item {\n  height: 32px;\n  line-height: 32px;\n}\n.ant-select-disabled .ant-select-selection-item-remove {\n  display: none;\n}\n/* Reset search input style */\n.ant-select {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: relative;\n  display: inline-block;\n  cursor: pointer;\n}\n.ant-select:not(.ant-select-customize-input) .ant-select-selector {\n  position: relative;\n  background-color: #fff;\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n.ant-select:not(.ant-select-customize-input) .ant-select-selector input {\n  cursor: pointer;\n}\n.ant-select-show-search.ant-select:not(.ant-select-customize-input) .ant-select-selector {\n  cursor: text;\n}\n.ant-select-show-search.ant-select:not(.ant-select-customize-input) .ant-select-selector input {\n  cursor: auto;\n}\n.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n}\n.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector {\n  color: rgba(0, 0, 0, 0.25);\n  background: #f5f5f5;\n  cursor: not-allowed;\n}\n.ant-select-multiple.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector {\n  background: #f5f5f5;\n}\n.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector input {\n  cursor: not-allowed;\n}\n.ant-select:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input {\n  margin: 0;\n  padding: 0;\n  background: transparent;\n  border: none;\n  outline: none;\n  -webkit-appearance: none;\n     -moz-appearance: none;\n          appearance: none;\n}\n.ant-select:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input::-webkit-search-cancel-button {\n  display: none;\n  -webkit-appearance: none;\n}\n.ant-select:not(.ant-select-disabled):hover .ant-select-selector {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n}\n.ant-select-selection-item {\n  flex: 1;\n  overflow: hidden;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n}\n@media all and (-ms-high-contrast: none) {\n  .ant-select-selection-item *::-ms-backdrop,\n  .ant-select-selection-item {\n    flex: auto;\n  }\n}\n.ant-select-selection-placeholder {\n  flex: 1;\n  overflow: hidden;\n  color: #bfbfbf;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n  pointer-events: none;\n}\n@media all and (-ms-high-contrast: none) {\n  .ant-select-selection-placeholder *::-ms-backdrop,\n  .ant-select-selection-placeholder {\n    flex: auto;\n  }\n}\n.ant-select-arrow {\n  display: inline-block;\n  color: inherit;\n  font-style: normal;\n  line-height: 0;\n  text-transform: none;\n  vertical-align: -0.125em;\n  text-rendering: optimizeLegibility;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n  position: absolute;\n  top: 53%;\n  right: 11px;\n  width: 12px;\n  height: 12px;\n  margin-top: -6px;\n  color: rgba(0, 0, 0, 0.25);\n  font-size: 12px;\n  line-height: 1;\n  text-align: center;\n  pointer-events: none;\n}\n.ant-select-arrow > * {\n  line-height: 1;\n}\n.ant-select-arrow svg {\n  display: inline-block;\n}\n.ant-select-arrow::before {\n  display: none;\n}\n.ant-select-arrow .ant-select-arrow-icon {\n  display: block;\n}\n.ant-select-arrow .anticon {\n  vertical-align: top;\n  transition: transform 0.3s;\n}\n.ant-select-arrow .anticon > svg {\n  vertical-align: top;\n}\n.ant-select-arrow .anticon:not(.ant-select-suffix) {\n  pointer-events: auto;\n}\n.ant-select-disabled .ant-select-arrow {\n  cursor: not-allowed;\n}\n.ant-select-clear {\n  position: absolute;\n  top: 50%;\n  right: 11px;\n  z-index: 1;\n  display: inline-block;\n  width: 12px;\n  height: 12px;\n  margin-top: -6px;\n  color: rgba(0, 0, 0, 0.25);\n  font-size: 12px;\n  font-style: normal;\n  line-height: 1;\n  text-align: center;\n  text-transform: none;\n  background: #fff;\n  cursor: pointer;\n  opacity: 0;\n  transition: color 0.3s ease, opacity 0.15s ease;\n  text-rendering: auto;\n}\n.ant-select-clear::before {\n  display: block;\n}\n.ant-select-clear:hover {\n  color: rgba(0, 0, 0, 0.45);\n}\n.ant-select:hover .ant-select-clear {\n  opacity: 1;\n}\n.ant-select-dropdown {\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: absolute;\n  top: -9999px;\n  left: -9999px;\n  z-index: 1050;\n  box-sizing: border-box;\n  padding: 4px 0;\n  overflow: hidden;\n  font-size: 14px;\n  font-variant: initial;\n  background-color: #fff;\n  border-radius: 2px;\n  outline: none;\n  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n}\n.ant-select-dropdown.slide-up-enter.slide-up-enter-active.ant-select-dropdown-placement-bottomLeft,\n.ant-select-dropdown.slide-up-appear.slide-up-appear-active.ant-select-dropdown-placement-bottomLeft {\n  -webkit-animation-name: antSlideUpIn;\n          animation-name: antSlideUpIn;\n}\n.ant-select-dropdown.slide-up-enter.slide-up-enter-active.ant-select-dropdown-placement-topLeft,\n.ant-select-dropdown.slide-up-appear.slide-up-appear-active.ant-select-dropdown-placement-topLeft {\n  -webkit-animation-name: antSlideDownIn;\n          animation-name: antSlideDownIn;\n}\n.ant-select-dropdown.slide-up-leave.slide-up-leave-active.ant-select-dropdown-placement-bottomLeft {\n  -webkit-animation-name: antSlideUpOut;\n          animation-name: antSlideUpOut;\n}\n.ant-select-dropdown.slide-up-leave.slide-up-leave-active.ant-select-dropdown-placement-topLeft {\n  -webkit-animation-name: antSlideDownOut;\n          animation-name: antSlideDownOut;\n}\n.ant-select-dropdown-hidden {\n  display: none;\n}\n.ant-select-dropdown-empty {\n  color: rgba(0, 0, 0, 0.25);\n}\n.ant-select-item-empty {\n  position: relative;\n  display: block;\n  min-height: 32px;\n  padding: 5px 12px;\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: normal;\n  font-size: 14px;\n  line-height: 22px;\n  color: rgba(0, 0, 0, 0.25);\n}\n.ant-select-item {\n  position: relative;\n  display: block;\n  min-height: 32px;\n  padding: 5px 12px;\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: normal;\n  font-size: 14px;\n  line-height: 22px;\n  cursor: pointer;\n  transition: background 0.3s ease;\n}\n.ant-select-item-group {\n  color: rgba(0, 0, 0, 0.45);\n  font-size: 12px;\n  cursor: default;\n}\n.ant-select-item-option {\n  display: flex;\n}\n.ant-select-item-option-content {\n  flex: auto;\n  overflow: hidden;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n}\n.ant-select-item-option-state {\n  flex: none;\n}\n.ant-select-item-option-active:not(.ant-select-item-option-disabled) {\n  background-color: #f5f5f5;\n}\n.ant-select-item-option-selected:not(.ant-select-item-option-disabled) {\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: 600;\n  background-color: #e6f7ff;\n}\n.ant-select-item-option-selected:not(.ant-select-item-option-disabled) .ant-select-item-option-state {\n  color: #1890ff;\n}\n.ant-select-item-option-disabled {\n  color: rgba(0, 0, 0, 0.25);\n  cursor: not-allowed;\n}\n.ant-select-item-option-grouped {\n  padding-left: 24px;\n}\n.ant-select-lg {\n  font-size: 16px;\n}\n.ant-select-borderless .ant-select-selector {\n  background-color: transparent !important;\n  border-color: transparent !important;\n  box-shadow: none !important;\n}\n.ant-select-rtl {\n  direction: rtl;\n}\n.ant-select-rtl .ant-select-arrow {\n  right: initial;\n  left: 11px;\n}\n.ant-select-rtl .ant-select-clear {\n  right: initial;\n  left: 11px;\n}\n.ant-select-dropdown-rtl {\n  direction: rtl;\n}\n.ant-select-dropdown-rtl .ant-select-item-option-grouped {\n  padding-right: 24px;\n  padding-left: 12px;\n}\n.ant-select-rtl.ant-select-multiple.ant-select-show-arrow .ant-select-selector,\n.ant-select-rtl.ant-select-multiple.ant-select-allow-clear .ant-select-selector {\n  padding-right: 4px;\n  padding-left: 24px;\n}\n.ant-select-rtl.ant-select-multiple .ant-select-selection-item {\n  text-align: right;\n}\n.ant-select-rtl.ant-select-multiple .ant-select-selection-item-content {\n  margin-right: 0;\n  margin-left: 4px;\n  text-align: right;\n}\n.ant-select-rtl.ant-select-multiple .ant-select-selection-search-mirror {\n  right: 0;\n  left: auto;\n}\n.ant-select-rtl.ant-select-multiple .ant-select-selection-placeholder {\n  right: 11px;\n  left: auto;\n}\n.ant-select-rtl.ant-select-multiple.ant-select-sm .ant-select-selection-placeholder {\n  right: 7px;\n}\n.ant-select-rtl.ant-select-single .ant-select-selector .ant-select-selection-item,\n.ant-select-rtl.ant-select-single .ant-select-selector .ant-select-selection-placeholder {\n  right: 0;\n  left: 9px;\n  text-align: right;\n}\n.ant-select-rtl.ant-select-single.ant-select-show-arrow .ant-select-selection-search {\n  right: 11px;\n  left: 25px;\n}\n.ant-select-rtl.ant-select-single.ant-select-show-arrow .ant-select-selection-item,\n.ant-select-rtl.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder {\n  padding-right: 0;\n  padding-left: 18px;\n}\n.ant-select-rtl.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-search {\n  right: 6px;\n}\n.ant-select-rtl.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-item,\n.ant-select-rtl.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-placeholder {\n  padding-right: 0;\n  padding-left: 21px;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.gp-table-container {\n  width: 100%;\n  height: 100%;\n  overflow: auto;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.gcs-chartContainer {\n  display: flex;\n  flex-direction: column;\n  width: 100%;\n  height: 100%;\n  overflow: hidden;\n}\n.gcs-chartContainer-title {\n  padding: 10px;\n}\n.gcs-chartContainer-title:not(:first-child) {\n  margin-left: 4px;\n}\n.gcs-chartContainer-content {\n  position: relative;\n  flex: 1;\n  overflow: hidden;\n}\n.gcs-table-wrapper {\n  position: relative;\n  display: flex;\n  flex-direction: column;\n  width: 100%;\n  height: 100%;\n  overflow: hidden;\n}\n.gcs-table-wrapper .gcs-table {\n  flex: 1;\n  height: 100%;\n  overflow: hidden;\n}\n.gcs-table-wrapper .gcs-table table tr > td {\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  word-break: break-all;\n  overflow: hidden;\n}\n.gcs-table-wrapper .gcs-pagination {\n  display: flex;\n  justify-content: flex-end;\n  align-items: center;\n}\n.gcs-table-wrapper .gcs-pagination-text {\n  display: flex;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.gcs-image-wrapper {\n  position: relative;\n  width: 100%;\n  height: 100%;\n  overflow: hidden;\n}\n.gcs-image-wrapper .gcs-image {\n  width: 100%;\n  height: 100%;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-popover {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: absolute;\n  top: 0;\n  left: 0;\n  z-index: 1030;\n  font-weight: normal;\n  white-space: normal;\n  text-align: left;\n  cursor: auto;\n  -webkit-user-select: text;\n     -moz-user-select: text;\n      -ms-user-select: text;\n          user-select: text;\n}\n.ant-popover::after {\n  position: absolute;\n  background: rgba(255, 255, 255, 0.01);\n  content: '';\n}\n.ant-popover-hidden {\n  display: none;\n}\n.ant-popover-placement-top,\n.ant-popover-placement-topLeft,\n.ant-popover-placement-topRight {\n  padding-bottom: 10px;\n}\n.ant-popover-placement-right,\n.ant-popover-placement-rightTop,\n.ant-popover-placement-rightBottom {\n  padding-left: 10px;\n}\n.ant-popover-placement-bottom,\n.ant-popover-placement-bottomLeft,\n.ant-popover-placement-bottomRight {\n  padding-top: 10px;\n}\n.ant-popover-placement-left,\n.ant-popover-placement-leftTop,\n.ant-popover-placement-leftBottom {\n  padding-right: 10px;\n}\n.ant-popover-inner {\n  background-color: #fff;\n  background-clip: padding-box;\n  border-radius: 2px;\n  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15) \\9;\n}\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n  .ant-popover {\n    /* IE10+ */\n  }\n  .ant-popover-inner {\n    box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n  }\n}\n.ant-popover-title {\n  min-width: 177px;\n  min-height: 32px;\n  margin: 0;\n  padding: 5px 16px 4px;\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: 500;\n  border-bottom: 1px solid #f0f0f0;\n}\n.ant-popover-inner-content {\n  padding: 12px 16px;\n  color: rgba(0, 0, 0, 0.85);\n}\n.ant-popover-message {\n  position: relative;\n  padding: 4px 0 12px;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n}\n.ant-popover-message > .anticon {\n  position: absolute;\n  top: 8.0005px;\n  color: #faad14;\n  font-size: 14px;\n}\n.ant-popover-message-title {\n  padding-left: 22px;\n}\n.ant-popover-buttons {\n  margin-bottom: 4px;\n  text-align: right;\n}\n.ant-popover-buttons button {\n  margin-left: 8px;\n}\n.ant-popover-arrow {\n  position: absolute;\n  display: block;\n  width: 8.48528137px;\n  height: 8.48528137px;\n  background: transparent;\n  border-style: solid;\n  border-width: 4.24264069px;\n  transform: rotate(45deg);\n}\n.ant-popover-placement-top > .ant-popover-content > .ant-popover-arrow,\n.ant-popover-placement-topLeft > .ant-popover-content > .ant-popover-arrow,\n.ant-popover-placement-topRight > .ant-popover-content > .ant-popover-arrow {\n  bottom: 6.2px;\n  border-top-color: transparent;\n  border-right-color: #fff;\n  border-bottom-color: #fff;\n  border-left-color: transparent;\n  box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);\n}\n.ant-popover-placement-top > .ant-popover-content > .ant-popover-arrow {\n  left: 50%;\n  transform: translateX(-50%) rotate(45deg);\n}\n.ant-popover-placement-topLeft > .ant-popover-content > .ant-popover-arrow {\n  left: 16px;\n}\n.ant-popover-placement-topRight > .ant-popover-content > .ant-popover-arrow {\n  right: 16px;\n}\n.ant-popover-placement-right > .ant-popover-content > .ant-popover-arrow,\n.ant-popover-placement-rightTop > .ant-popover-content > .ant-popover-arrow,\n.ant-popover-placement-rightBottom > .ant-popover-content > .ant-popover-arrow {\n  left: 6px;\n  border-top-color: transparent;\n  border-right-color: transparent;\n  border-bottom-color: #fff;\n  border-left-color: #fff;\n  box-shadow: -3px 3px 7px rgba(0, 0, 0, 0.07);\n}\n.ant-popover-placement-right > .ant-popover-content > .ant-popover-arrow {\n  top: 50%;\n  transform: translateY(-50%) rotate(45deg);\n}\n.ant-popover-placement-rightTop > .ant-popover-content > .ant-popover-arrow {\n  top: 12px;\n}\n.ant-popover-placement-rightBottom > .ant-popover-content > .ant-popover-arrow {\n  bottom: 12px;\n}\n.ant-popover-placement-bottom > .ant-popover-content > .ant-popover-arrow,\n.ant-popover-placement-bottomLeft > .ant-popover-content > .ant-popover-arrow,\n.ant-popover-placement-bottomRight > .ant-popover-content > .ant-popover-arrow {\n  top: 6px;\n  border-top-color: #fff;\n  border-right-color: transparent;\n  border-bottom-color: transparent;\n  border-left-color: #fff;\n  box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.06);\n}\n.ant-popover-placement-bottom > .ant-popover-content > .ant-popover-arrow {\n  left: 50%;\n  transform: translateX(-50%) rotate(45deg);\n}\n.ant-popover-placement-bottomLeft > .ant-popover-content > .ant-popover-arrow {\n  left: 16px;\n}\n.ant-popover-placement-bottomRight > .ant-popover-content > .ant-popover-arrow {\n  right: 16px;\n}\n.ant-popover-placement-left > .ant-popover-content > .ant-popover-arrow,\n.ant-popover-placement-leftTop > .ant-popover-content > .ant-popover-arrow,\n.ant-popover-placement-leftBottom > .ant-popover-content > .ant-popover-arrow {\n  right: 6px;\n  border-top-color: #fff;\n  border-right-color: #fff;\n  border-bottom-color: transparent;\n  border-left-color: transparent;\n  box-shadow: 3px -3px 7px rgba(0, 0, 0, 0.07);\n}\n.ant-popover-placement-left > .ant-popover-content > .ant-popover-arrow {\n  top: 50%;\n  transform: translateY(-50%) rotate(45deg);\n}\n.ant-popover-placement-leftTop > .ant-popover-content > .ant-popover-arrow {\n  top: 12px;\n}\n.ant-popover-placement-leftBottom > .ant-popover-content > .ant-popover-arrow {\n  bottom: 12px;\n}\n.ant-popover-rtl {\n  direction: rtl;\n  text-align: right;\n}\n.ant-popover-rtl .ant-popover-message-title {\n  padding-right: 22px;\n  padding-left: 16px;\n}\n.ant-popover-rtl .ant-popover-buttons {\n  text-align: left;\n}\n.ant-popover-rtl .ant-popover-buttons button {\n  margin-right: 8px;\n  margin-left: 0;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-input-affix-wrapper {\n  position: relative;\n  display: inline-block;\n  width: 100%;\n  min-width: 0;\n  padding: 4px 11px;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  line-height: 1.5715;\n  background-color: #fff;\n  background-image: none;\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n  transition: all 0.3s;\n  display: inline-flex;\n}\n.ant-input-affix-wrapper::-moz-placeholder {\n  opacity: 1;\n}\n.ant-input-affix-wrapper:-ms-input-placeholder {\n  color: #bfbfbf;\n}\n.ant-input-affix-wrapper::placeholder {\n  color: #bfbfbf;\n}\n.ant-input-affix-wrapper:-moz-placeholder-shown {\n  text-overflow: ellipsis;\n}\n.ant-input-affix-wrapper:-ms-input-placeholder {\n  text-overflow: ellipsis;\n}\n.ant-input-affix-wrapper:placeholder-shown {\n  text-overflow: ellipsis;\n}\n.ant-input-affix-wrapper:hover {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n}\n.ant-input-rtl .ant-input-affix-wrapper:hover {\n  border-right-width: 0;\n  border-left-width: 1px !important;\n}\n.ant-input-affix-wrapper:focus,\n.ant-input-affix-wrapper-focused {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n}\n.ant-input-rtl .ant-input-affix-wrapper:focus,\n.ant-input-rtl .ant-input-affix-wrapper-focused {\n  border-right-width: 0;\n  border-left-width: 1px !important;\n}\n.ant-input-affix-wrapper-disabled {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #f5f5f5;\n  cursor: not-allowed;\n  opacity: 1;\n}\n.ant-input-affix-wrapper-disabled:hover {\n  border-color: #d9d9d9;\n  border-right-width: 1px !important;\n}\n.ant-input-affix-wrapper[disabled] {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #f5f5f5;\n  cursor: not-allowed;\n  opacity: 1;\n}\n.ant-input-affix-wrapper[disabled]:hover {\n  border-color: #d9d9d9;\n  border-right-width: 1px !important;\n}\n.ant-input-affix-wrapper-borderless,\n.ant-input-affix-wrapper-borderless:hover,\n.ant-input-affix-wrapper-borderless:focus,\n.ant-input-affix-wrapper-borderless-focused,\n.ant-input-affix-wrapper-borderless-disabled,\n.ant-input-affix-wrapper-borderless[disabled] {\n  background-color: transparent;\n  border: none;\n  box-shadow: none;\n}\ntextarea.ant-input-affix-wrapper {\n  max-width: 100%;\n  height: auto;\n  min-height: 32px;\n  line-height: 1.5715;\n  vertical-align: bottom;\n  transition: all 0.3s, height 0s;\n}\n.ant-input-affix-wrapper-lg {\n  padding: 6.5px 11px;\n  font-size: 16px;\n}\n.ant-input-affix-wrapper-sm {\n  padding: 0px 7px;\n}\n.ant-input-affix-wrapper-rtl {\n  direction: rtl;\n}\n.ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n  z-index: 1;\n}\n.ant-input-rtl .ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover {\n  border-right-width: 0;\n  border-left-width: 1px !important;\n}\n.ant-input-search-with-button .ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover {\n  z-index: 0;\n}\n.ant-input-affix-wrapper-focused,\n.ant-input-affix-wrapper:focus {\n  z-index: 1;\n}\n.ant-input-affix-wrapper-disabled .ant-input[disabled] {\n  background: transparent;\n}\n.ant-input-affix-wrapper > input.ant-input {\n  padding: 0;\n  border: none;\n  outline: none;\n}\n.ant-input-affix-wrapper > input.ant-input:focus {\n  box-shadow: none;\n}\n.ant-input-affix-wrapper::before {\n  width: 0;\n  visibility: hidden;\n  content: '\\a0';\n}\n.ant-input-prefix,\n.ant-input-suffix {\n  display: flex;\n  flex: none;\n  align-items: center;\n}\n.ant-input-prefix {\n  margin-right: 4px;\n}\n.ant-input-suffix {\n  margin-left: 4px;\n}\n.ant-input-clear-icon {\n  margin: 0 4px;\n  color: rgba(0, 0, 0, 0.25);\n  font-size: 12px;\n  vertical-align: -1px;\n  cursor: pointer;\n  transition: color 0.3s;\n}\n.ant-input-clear-icon:hover {\n  color: rgba(0, 0, 0, 0.45);\n}\n.ant-input-clear-icon:active {\n  color: rgba(0, 0, 0, 0.85);\n}\n.ant-input-clear-icon-hidden {\n  visibility: hidden;\n}\n.ant-input-clear-icon:last-child {\n  margin-right: 0;\n}\n.ant-input-affix-wrapper-textarea-with-clear-btn {\n  padding: 0 !important;\n  border: 0 !important;\n}\n.ant-input-affix-wrapper-textarea-with-clear-btn .ant-input-clear-icon {\n  position: absolute;\n  top: 8px;\n  right: 8px;\n  z-index: 1;\n}\n.ant-input {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  font-variant: tabular-nums;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: relative;\n  display: inline-block;\n  width: 100%;\n  min-width: 0;\n  padding: 4px 11px;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  line-height: 1.5715;\n  background-color: #fff;\n  background-image: none;\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n  transition: all 0.3s;\n}\n.ant-input::-moz-placeholder {\n  opacity: 1;\n}\n.ant-input:-ms-input-placeholder {\n  color: #bfbfbf;\n}\n.ant-input::placeholder {\n  color: #bfbfbf;\n}\n.ant-input:-moz-placeholder-shown {\n  text-overflow: ellipsis;\n}\n.ant-input:-ms-input-placeholder {\n  text-overflow: ellipsis;\n}\n.ant-input:placeholder-shown {\n  text-overflow: ellipsis;\n}\n.ant-input:hover {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n}\n.ant-input-rtl .ant-input:hover {\n  border-right-width: 0;\n  border-left-width: 1px !important;\n}\n.ant-input:focus,\n.ant-input-focused {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n}\n.ant-input-rtl .ant-input:focus,\n.ant-input-rtl .ant-input-focused {\n  border-right-width: 0;\n  border-left-width: 1px !important;\n}\n.ant-input-disabled {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #f5f5f5;\n  cursor: not-allowed;\n  opacity: 1;\n}\n.ant-input-disabled:hover {\n  border-color: #d9d9d9;\n  border-right-width: 1px !important;\n}\n.ant-input[disabled] {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #f5f5f5;\n  cursor: not-allowed;\n  opacity: 1;\n}\n.ant-input[disabled]:hover {\n  border-color: #d9d9d9;\n  border-right-width: 1px !important;\n}\n.ant-input-borderless,\n.ant-input-borderless:hover,\n.ant-input-borderless:focus,\n.ant-input-borderless-focused,\n.ant-input-borderless-disabled,\n.ant-input-borderless[disabled] {\n  background-color: transparent;\n  border: none;\n  box-shadow: none;\n}\ntextarea.ant-input {\n  max-width: 100%;\n  height: auto;\n  min-height: 32px;\n  line-height: 1.5715;\n  vertical-align: bottom;\n  transition: all 0.3s, height 0s;\n}\n.ant-input-lg {\n  padding: 6.5px 11px;\n  font-size: 16px;\n}\n.ant-input-sm {\n  padding: 0px 7px;\n}\n.ant-input-rtl {\n  direction: rtl;\n}\n.ant-input-group {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: relative;\n  display: table;\n  width: 100%;\n  border-collapse: separate;\n  border-spacing: 0;\n}\n.ant-input-group[class*='col-'] {\n  float: none;\n  padding-right: 0;\n  padding-left: 0;\n}\n.ant-input-group > [class*='col-'] {\n  padding-right: 8px;\n}\n.ant-input-group > [class*='col-']:last-child {\n  padding-right: 0;\n}\n.ant-input-group-addon,\n.ant-input-group-wrap,\n.ant-input-group > .ant-input {\n  display: table-cell;\n}\n.ant-input-group-addon:not(:first-child):not(:last-child),\n.ant-input-group-wrap:not(:first-child):not(:last-child),\n.ant-input-group > .ant-input:not(:first-child):not(:last-child) {\n  border-radius: 0;\n}\n.ant-input-group-addon,\n.ant-input-group-wrap {\n  width: 1px;\n  white-space: nowrap;\n  vertical-align: middle;\n}\n.ant-input-group-wrap > * {\n  display: block !important;\n}\n.ant-input-group .ant-input {\n  float: left;\n  width: 100%;\n  margin-bottom: 0;\n  text-align: inherit;\n}\n.ant-input-group .ant-input:focus {\n  z-index: 1;\n  border-right-width: 1px;\n}\n.ant-input-group .ant-input:hover {\n  z-index: 1;\n  border-right-width: 1px;\n}\n.ant-input-search-with-button .ant-input-group .ant-input:hover {\n  z-index: 0;\n}\n.ant-input-group-addon {\n  position: relative;\n  padding: 0 11px;\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: normal;\n  font-size: 14px;\n  text-align: center;\n  background-color: #fafafa;\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n  transition: all 0.3s;\n}\n.ant-input-group-addon .ant-select {\n  margin: -5px -11px;\n}\n.ant-input-group-addon .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector {\n  background-color: inherit;\n  border: 1px solid transparent;\n  box-shadow: none;\n}\n.ant-input-group-addon .ant-select-open .ant-select-selector,\n.ant-input-group-addon .ant-select-focused .ant-select-selector {\n  color: #1890ff;\n}\n.ant-input-group > .ant-input:first-child,\n.ant-input-group-addon:first-child {\n  border-top-right-radius: 0;\n  border-bottom-right-radius: 0;\n}\n.ant-input-group > .ant-input:first-child .ant-select .ant-select-selector,\n.ant-input-group-addon:first-child .ant-select .ant-select-selector {\n  border-top-right-radius: 0;\n  border-bottom-right-radius: 0;\n}\n.ant-input-group > .ant-input-affix-wrapper:not(:first-child) .ant-input {\n  border-top-left-radius: 0;\n  border-bottom-left-radius: 0;\n}\n.ant-input-group > .ant-input-affix-wrapper:not(:last-child) .ant-input {\n  border-top-right-radius: 0;\n  border-bottom-right-radius: 0;\n}\n.ant-input-group-addon:first-child {\n  border-right: 0;\n}\n.ant-input-group-addon:last-child {\n  border-left: 0;\n}\n.ant-input-group > .ant-input:last-child,\n.ant-input-group-addon:last-child {\n  border-top-left-radius: 0;\n  border-bottom-left-radius: 0;\n}\n.ant-input-group > .ant-input:last-child .ant-select .ant-select-selector,\n.ant-input-group-addon:last-child .ant-select .ant-select-selector {\n  border-top-left-radius: 0;\n  border-bottom-left-radius: 0;\n}\n.ant-input-group-lg .ant-input,\n.ant-input-group-lg > .ant-input-group-addon {\n  padding: 6.5px 11px;\n  font-size: 16px;\n}\n.ant-input-group-sm .ant-input,\n.ant-input-group-sm > .ant-input-group-addon {\n  padding: 0px 7px;\n}\n.ant-input-group-lg .ant-select-single .ant-select-selector {\n  height: 40px;\n}\n.ant-input-group-sm .ant-select-single .ant-select-selector {\n  height: 24px;\n}\n.ant-input-group .ant-input-affix-wrapper:not(:first-child) {\n  border-top-left-radius: 0;\n  border-bottom-left-radius: 0;\n}\n.ant-input-group .ant-input-affix-wrapper:not(:last-child) {\n  border-top-right-radius: 0;\n  border-bottom-right-radius: 0;\n}\n.ant-input-search .ant-input-group .ant-input-affix-wrapper:not(:last-child) {\n  border-top-left-radius: 2px;\n  border-bottom-left-radius: 2px;\n}\n.ant-input-group.ant-input-group-compact {\n  display: block;\n}\n.ant-input-group.ant-input-group-compact::before {\n  display: table;\n  content: '';\n}\n.ant-input-group.ant-input-group-compact::after {\n  display: table;\n  clear: both;\n  content: '';\n}\n.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child),\n.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child),\n.ant-input-group.ant-input-group-compact > .ant-input:not(:first-child):not(:last-child) {\n  border-right-width: 1px;\n}\n.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child):hover,\n.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child):hover,\n.ant-input-group.ant-input-group-compact > .ant-input:not(:first-child):not(:last-child):hover {\n  z-index: 1;\n}\n.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child):focus,\n.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child):focus,\n.ant-input-group.ant-input-group-compact > .ant-input:not(:first-child):not(:last-child):focus {\n  z-index: 1;\n}\n.ant-input-group.ant-input-group-compact > * {\n  display: inline-block;\n  float: none;\n  vertical-align: top;\n  border-radius: 0;\n}\n.ant-input-group.ant-input-group-compact > .ant-input-affix-wrapper {\n  display: inline-flex;\n}\n.ant-input-group.ant-input-group-compact > .ant-picker-range {\n  display: inline-flex;\n}\n.ant-input-group.ant-input-group-compact > *:not(:last-child) {\n  margin-right: -1px;\n  border-right-width: 1px;\n}\n.ant-input-group.ant-input-group-compact .ant-input {\n  float: none;\n}\n.ant-input-group.ant-input-group-compact > .ant-select > .ant-select-selector,\n.ant-input-group.ant-input-group-compact > .ant-select-auto-complete .ant-input,\n.ant-input-group.ant-input-group-compact > .ant-cascader-picker .ant-input,\n.ant-input-group.ant-input-group-compact > .ant-input-group-wrapper .ant-input {\n  border-right-width: 1px;\n  border-radius: 0;\n}\n.ant-input-group.ant-input-group-compact > .ant-select > .ant-select-selector:hover,\n.ant-input-group.ant-input-group-compact > .ant-select-auto-complete .ant-input:hover,\n.ant-input-group.ant-input-group-compact > .ant-cascader-picker .ant-input:hover,\n.ant-input-group.ant-input-group-compact > .ant-input-group-wrapper .ant-input:hover {\n  z-index: 1;\n}\n.ant-input-group.ant-input-group-compact > .ant-select > .ant-select-selector:focus,\n.ant-input-group.ant-input-group-compact > .ant-select-auto-complete .ant-input:focus,\n.ant-input-group.ant-input-group-compact > .ant-cascader-picker .ant-input:focus,\n.ant-input-group.ant-input-group-compact > .ant-input-group-wrapper .ant-input:focus {\n  z-index: 1;\n}\n.ant-input-group.ant-input-group-compact > .ant-select-focused {\n  z-index: 1;\n}\n.ant-input-group.ant-input-group-compact > .ant-select > .ant-select-arrow {\n  z-index: 1;\n}\n.ant-input-group.ant-input-group-compact > *:first-child,\n.ant-input-group.ant-input-group-compact > .ant-select:first-child > .ant-select-selector,\n.ant-input-group.ant-input-group-compact > .ant-select-auto-complete:first-child .ant-input,\n.ant-input-group.ant-input-group-compact > .ant-cascader-picker:first-child .ant-input {\n  border-top-left-radius: 2px;\n  border-bottom-left-radius: 2px;\n}\n.ant-input-group.ant-input-group-compact > *:last-child,\n.ant-input-group.ant-input-group-compact > .ant-select:last-child > .ant-select-selector,\n.ant-input-group.ant-input-group-compact > .ant-cascader-picker:last-child .ant-input,\n.ant-input-group.ant-input-group-compact > .ant-cascader-picker-focused:last-child .ant-input {\n  border-right-width: 1px;\n  border-top-right-radius: 2px;\n  border-bottom-right-radius: 2px;\n}\n.ant-input-group.ant-input-group-compact > .ant-select-auto-complete .ant-input {\n  vertical-align: top;\n}\n.ant-input-group.ant-input-group-compact .ant-input-group-wrapper + .ant-input-group-wrapper {\n  margin-left: -1px;\n}\n.ant-input-group.ant-input-group-compact .ant-input-group-wrapper + .ant-input-group-wrapper .ant-input-affix-wrapper {\n  border-radius: 0;\n}\n.ant-input-group.ant-input-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search > .ant-input-group > .ant-input-group-addon > .ant-input-search-button {\n  border-radius: 0;\n}\n.ant-input-group.ant-input-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search > .ant-input-group > .ant-input {\n  border-radius: 2px 0 0 2px;\n}\n.ant-input-group > .ant-input-rtl:first-child,\n.ant-input-group-rtl .ant-input-group-addon:first-child {\n  border-radius: 0 2px 2px 0;\n}\n.ant-input-group-rtl .ant-input-group-addon:first-child {\n  border-right: 1px solid #d9d9d9;\n  border-left: 0;\n}\n.ant-input-group-rtl .ant-input-group-addon:last-child {\n  border-right: 0;\n  border-left: 1px solid #d9d9d9;\n}\n.ant-input-group-rtl.ant-input-group > .ant-input:last-child,\n.ant-input-group-rtl.ant-input-group-addon:last-child {\n  border-radius: 2px 0 0 2px;\n}\n.ant-input-group-rtl.ant-input-group .ant-input-affix-wrapper:not(:first-child) {\n  border-radius: 2px 0 0 2px;\n}\n.ant-input-group-rtl.ant-input-group .ant-input-affix-wrapper:not(:last-child) {\n  border-radius: 0 2px 2px 0;\n}\n.ant-input-group-rtl.ant-input-group.ant-input-group-compact > *:not(:last-child) {\n  margin-right: 0;\n  margin-left: -1px;\n  border-left-width: 1px;\n}\n.ant-input-group-rtl.ant-input-group.ant-input-group-compact > *:first-child,\n.ant-input-group-rtl.ant-input-group.ant-input-group-compact > .ant-select:first-child > .ant-select-selector,\n.ant-input-group-rtl.ant-input-group.ant-input-group-compact > .ant-select-auto-complete:first-child .ant-input,\n.ant-input-group-rtl.ant-input-group.ant-input-group-compact > .ant-cascader-picker:first-child .ant-input {\n  border-radius: 0 2px 2px 0;\n}\n.ant-input-group-rtl.ant-input-group.ant-input-group-compact > *:last-child,\n.ant-input-group-rtl.ant-input-group.ant-input-group-compact > .ant-select:last-child > .ant-select-selector,\n.ant-input-group-rtl.ant-input-group.ant-input-group-compact > .ant-select-auto-complete:last-child .ant-input,\n.ant-input-group-rtl.ant-input-group.ant-input-group-compact > .ant-cascader-picker:last-child .ant-input,\n.ant-input-group-rtl.ant-input-group.ant-input-group-compact > .ant-cascader-picker-focused:last-child .ant-input {\n  border-left-width: 1px;\n  border-radius: 2px 0 0 2px;\n}\n.ant-input-group.ant-input-group-compact .ant-input-group-wrapper-rtl + .ant-input-group-wrapper-rtl {\n  margin-right: -1px;\n  margin-left: 0;\n}\n.ant-input-group.ant-input-group-compact .ant-input-group-wrapper-rtl:not(:last-child).ant-input-search > .ant-input-group > .ant-input {\n  border-radius: 0 2px 2px 0;\n}\n.ant-input-group-wrapper {\n  display: inline-block;\n  width: 100%;\n  text-align: start;\n  vertical-align: top;\n}\n.ant-input-password-icon {\n  color: rgba(0, 0, 0, 0.45);\n  cursor: pointer;\n  transition: all 0.3s;\n}\n.ant-input-password-icon:hover {\n  color: rgba(0, 0, 0, 0.85);\n}\n.ant-input[type='color'] {\n  height: 32px;\n}\n.ant-input[type='color'].ant-input-lg {\n  height: 40px;\n}\n.ant-input[type='color'].ant-input-sm {\n  height: 24px;\n  padding-top: 3px;\n  padding-bottom: 3px;\n}\n.ant-input-textarea-show-count::after {\n  float: right;\n  color: rgba(0, 0, 0, 0.45);\n  white-space: nowrap;\n  content: attr(data-count);\n  pointer-events: none;\n}\n.ant-input-search .ant-input:hover,\n.ant-input-search .ant-input:focus {\n  border-color: #40a9ff;\n}\n.ant-input-search .ant-input:hover + .ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary),\n.ant-input-search .ant-input:focus + .ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary) {\n  border-left-color: #40a9ff;\n}\n.ant-input-search .ant-input-affix-wrapper {\n  border-radius: 0;\n}\n.ant-input-search .ant-input-lg {\n  line-height: 1.5713;\n}\n.ant-input-search > .ant-input-group > .ant-input-group-addon:last-child {\n  left: -1px;\n  padding: 0;\n  border: 0;\n}\n.ant-input-search > .ant-input-group > .ant-input-group-addon:last-child .ant-input-search-button {\n  padding-top: 0;\n  padding-bottom: 0;\n  border-radius: 0 2px 2px 0;\n}\n.ant-input-search > .ant-input-group > .ant-input-group-addon:last-child .ant-input-search-button:not(.ant-btn-primary) {\n  color: rgba(0, 0, 0, 0.45);\n}\n.ant-input-search > .ant-input-group > .ant-input-group-addon:last-child .ant-input-search-button:not(.ant-btn-primary).ant-btn-loading::before {\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n}\n.ant-input-search-button {\n  height: 32px;\n}\n.ant-input-search-button:hover,\n.ant-input-search-button:focus {\n  z-index: 1;\n}\n.ant-input-search-large .ant-input-search-button {\n  height: 40px;\n}\n.ant-input-search-small .ant-input-search-button {\n  height: 24px;\n}\n.ant-input-group-wrapper-rtl {\n  direction: rtl;\n}\n.ant-input-group-rtl {\n  direction: rtl;\n}\n.ant-input-affix-wrapper.ant-input-affix-wrapper-rtl > input.ant-input {\n  border: none;\n  outline: none;\n}\n.ant-input-affix-wrapper-rtl .ant-input-prefix {\n  margin: 0 0 0 4px;\n}\n.ant-input-affix-wrapper-rtl .ant-input-suffix {\n  margin: 0 4px 0 0;\n}\n.ant-input-textarea-rtl {\n  direction: rtl;\n}\n.ant-input-textarea-rtl.ant-input-textarea-show-count::after {\n  text-align: left;\n}\n.ant-input-affix-wrapper-rtl .ant-input-clear-icon:last-child {\n  margin-right: 4px;\n  margin-left: 0;\n}\n.ant-input-affix-wrapper-rtl .ant-input-clear-icon {\n  right: auto;\n  left: 8px;\n}\n.ant-input-search-rtl {\n  direction: rtl;\n}\n.ant-input-search-rtl .ant-input:hover + .ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary),\n.ant-input-search-rtl .ant-input:focus + .ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary) {\n  border-right-color: #40a9ff;\n  border-left-color: #d9d9d9;\n}\n.ant-input-search-rtl > .ant-input-group > .ant-input-affix-wrapper:hover,\n.ant-input-search-rtl > .ant-input-group > .ant-input-affix-wrapper-focused {\n  border-right-color: #40a9ff;\n}\n.ant-input-search-rtl > .ant-input-group > .ant-input-group-addon {\n  right: -1px;\n  left: auto;\n}\n.ant-input-search-rtl > .ant-input-group > .ant-input-group-addon .ant-input-search-button {\n  border-radius: 2px 0 0 2px;\n}\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n  .ant-input {\n    height: 32px;\n  }\n  .ant-input-lg {\n    height: 40px;\n  }\n  .ant-input-sm {\n    height: 24px;\n  }\n  .ant-input-affix-wrapper > input.ant-input {\n    height: auto;\n  }\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-row {\n  display: flex;\n  flex-flow: row wrap;\n}\n.ant-row::before,\n.ant-row::after {\n  display: flex;\n}\n.ant-row-no-wrap {\n  flex-wrap: nowrap;\n}\n.ant-row-start {\n  justify-content: flex-start;\n}\n.ant-row-center {\n  justify-content: center;\n}\n.ant-row-end {\n  justify-content: flex-end;\n}\n.ant-row-space-between {\n  justify-content: space-between;\n}\n.ant-row-space-around {\n  justify-content: space-around;\n}\n.ant-row-top {\n  align-items: flex-start;\n}\n.ant-row-middle {\n  align-items: center;\n}\n.ant-row-bottom {\n  align-items: flex-end;\n}\n.ant-col {\n  position: relative;\n  max-width: 100%;\n  min-height: 1px;\n}\n.ant-col-24 {\n  display: block;\n  flex: 0 0 100%;\n  max-width: 100%;\n}\n.ant-col-push-24 {\n  left: 100%;\n}\n.ant-col-pull-24 {\n  right: 100%;\n}\n.ant-col-offset-24 {\n  margin-left: 100%;\n}\n.ant-col-order-24 {\n  order: 24;\n}\n.ant-col-23 {\n  display: block;\n  flex: 0 0 95.83333333%;\n  max-width: 95.83333333%;\n}\n.ant-col-push-23 {\n  left: 95.83333333%;\n}\n.ant-col-pull-23 {\n  right: 95.83333333%;\n}\n.ant-col-offset-23 {\n  margin-left: 95.83333333%;\n}\n.ant-col-order-23 {\n  order: 23;\n}\n.ant-col-22 {\n  display: block;\n  flex: 0 0 91.66666667%;\n  max-width: 91.66666667%;\n}\n.ant-col-push-22 {\n  left: 91.66666667%;\n}\n.ant-col-pull-22 {\n  right: 91.66666667%;\n}\n.ant-col-offset-22 {\n  margin-left: 91.66666667%;\n}\n.ant-col-order-22 {\n  order: 22;\n}\n.ant-col-21 {\n  display: block;\n  flex: 0 0 87.5%;\n  max-width: 87.5%;\n}\n.ant-col-push-21 {\n  left: 87.5%;\n}\n.ant-col-pull-21 {\n  right: 87.5%;\n}\n.ant-col-offset-21 {\n  margin-left: 87.5%;\n}\n.ant-col-order-21 {\n  order: 21;\n}\n.ant-col-20 {\n  display: block;\n  flex: 0 0 83.33333333%;\n  max-width: 83.33333333%;\n}\n.ant-col-push-20 {\n  left: 83.33333333%;\n}\n.ant-col-pull-20 {\n  right: 83.33333333%;\n}\n.ant-col-offset-20 {\n  margin-left: 83.33333333%;\n}\n.ant-col-order-20 {\n  order: 20;\n}\n.ant-col-19 {\n  display: block;\n  flex: 0 0 79.16666667%;\n  max-width: 79.16666667%;\n}\n.ant-col-push-19 {\n  left: 79.16666667%;\n}\n.ant-col-pull-19 {\n  right: 79.16666667%;\n}\n.ant-col-offset-19 {\n  margin-left: 79.16666667%;\n}\n.ant-col-order-19 {\n  order: 19;\n}\n.ant-col-18 {\n  display: block;\n  flex: 0 0 75%;\n  max-width: 75%;\n}\n.ant-col-push-18 {\n  left: 75%;\n}\n.ant-col-pull-18 {\n  right: 75%;\n}\n.ant-col-offset-18 {\n  margin-left: 75%;\n}\n.ant-col-order-18 {\n  order: 18;\n}\n.ant-col-17 {\n  display: block;\n  flex: 0 0 70.83333333%;\n  max-width: 70.83333333%;\n}\n.ant-col-push-17 {\n  left: 70.83333333%;\n}\n.ant-col-pull-17 {\n  right: 70.83333333%;\n}\n.ant-col-offset-17 {\n  margin-left: 70.83333333%;\n}\n.ant-col-order-17 {\n  order: 17;\n}\n.ant-col-16 {\n  display: block;\n  flex: 0 0 66.66666667%;\n  max-width: 66.66666667%;\n}\n.ant-col-push-16 {\n  left: 66.66666667%;\n}\n.ant-col-pull-16 {\n  right: 66.66666667%;\n}\n.ant-col-offset-16 {\n  margin-left: 66.66666667%;\n}\n.ant-col-order-16 {\n  order: 16;\n}\n.ant-col-15 {\n  display: block;\n  flex: 0 0 62.5%;\n  max-width: 62.5%;\n}\n.ant-col-push-15 {\n  left: 62.5%;\n}\n.ant-col-pull-15 {\n  right: 62.5%;\n}\n.ant-col-offset-15 {\n  margin-left: 62.5%;\n}\n.ant-col-order-15 {\n  order: 15;\n}\n.ant-col-14 {\n  display: block;\n  flex: 0 0 58.33333333%;\n  max-width: 58.33333333%;\n}\n.ant-col-push-14 {\n  left: 58.33333333%;\n}\n.ant-col-pull-14 {\n  right: 58.33333333%;\n}\n.ant-col-offset-14 {\n  margin-left: 58.33333333%;\n}\n.ant-col-order-14 {\n  order: 14;\n}\n.ant-col-13 {\n  display: block;\n  flex: 0 0 54.16666667%;\n  max-width: 54.16666667%;\n}\n.ant-col-push-13 {\n  left: 54.16666667%;\n}\n.ant-col-pull-13 {\n  right: 54.16666667%;\n}\n.ant-col-offset-13 {\n  margin-left: 54.16666667%;\n}\n.ant-col-order-13 {\n  order: 13;\n}\n.ant-col-12 {\n  display: block;\n  flex: 0 0 50%;\n  max-width: 50%;\n}\n.ant-col-push-12 {\n  left: 50%;\n}\n.ant-col-pull-12 {\n  right: 50%;\n}\n.ant-col-offset-12 {\n  margin-left: 50%;\n}\n.ant-col-order-12 {\n  order: 12;\n}\n.ant-col-11 {\n  display: block;\n  flex: 0 0 45.83333333%;\n  max-width: 45.83333333%;\n}\n.ant-col-push-11 {\n  left: 45.83333333%;\n}\n.ant-col-pull-11 {\n  right: 45.83333333%;\n}\n.ant-col-offset-11 {\n  margin-left: 45.83333333%;\n}\n.ant-col-order-11 {\n  order: 11;\n}\n.ant-col-10 {\n  display: block;\n  flex: 0 0 41.66666667%;\n  max-width: 41.66666667%;\n}\n.ant-col-push-10 {\n  left: 41.66666667%;\n}\n.ant-col-pull-10 {\n  right: 41.66666667%;\n}\n.ant-col-offset-10 {\n  margin-left: 41.66666667%;\n}\n.ant-col-order-10 {\n  order: 10;\n}\n.ant-col-9 {\n  display: block;\n  flex: 0 0 37.5%;\n  max-width: 37.5%;\n}\n.ant-col-push-9 {\n  left: 37.5%;\n}\n.ant-col-pull-9 {\n  right: 37.5%;\n}\n.ant-col-offset-9 {\n  margin-left: 37.5%;\n}\n.ant-col-order-9 {\n  order: 9;\n}\n.ant-col-8 {\n  display: block;\n  flex: 0 0 33.33333333%;\n  max-width: 33.33333333%;\n}\n.ant-col-push-8 {\n  left: 33.33333333%;\n}\n.ant-col-pull-8 {\n  right: 33.33333333%;\n}\n.ant-col-offset-8 {\n  margin-left: 33.33333333%;\n}\n.ant-col-order-8 {\n  order: 8;\n}\n.ant-col-7 {\n  display: block;\n  flex: 0 0 29.16666667%;\n  max-width: 29.16666667%;\n}\n.ant-col-push-7 {\n  left: 29.16666667%;\n}\n.ant-col-pull-7 {\n  right: 29.16666667%;\n}\n.ant-col-offset-7 {\n  margin-left: 29.16666667%;\n}\n.ant-col-order-7 {\n  order: 7;\n}\n.ant-col-6 {\n  display: block;\n  flex: 0 0 25%;\n  max-width: 25%;\n}\n.ant-col-push-6 {\n  left: 25%;\n}\n.ant-col-pull-6 {\n  right: 25%;\n}\n.ant-col-offset-6 {\n  margin-left: 25%;\n}\n.ant-col-order-6 {\n  order: 6;\n}\n.ant-col-5 {\n  display: block;\n  flex: 0 0 20.83333333%;\n  max-width: 20.83333333%;\n}\n.ant-col-push-5 {\n  left: 20.83333333%;\n}\n.ant-col-pull-5 {\n  right: 20.83333333%;\n}\n.ant-col-offset-5 {\n  margin-left: 20.83333333%;\n}\n.ant-col-order-5 {\n  order: 5;\n}\n.ant-col-4 {\n  display: block;\n  flex: 0 0 16.66666667%;\n  max-width: 16.66666667%;\n}\n.ant-col-push-4 {\n  left: 16.66666667%;\n}\n.ant-col-pull-4 {\n  right: 16.66666667%;\n}\n.ant-col-offset-4 {\n  margin-left: 16.66666667%;\n}\n.ant-col-order-4 {\n  order: 4;\n}\n.ant-col-3 {\n  display: block;\n  flex: 0 0 12.5%;\n  max-width: 12.5%;\n}\n.ant-col-push-3 {\n  left: 12.5%;\n}\n.ant-col-pull-3 {\n  right: 12.5%;\n}\n.ant-col-offset-3 {\n  margin-left: 12.5%;\n}\n.ant-col-order-3 {\n  order: 3;\n}\n.ant-col-2 {\n  display: block;\n  flex: 0 0 8.33333333%;\n  max-width: 8.33333333%;\n}\n.ant-col-push-2 {\n  left: 8.33333333%;\n}\n.ant-col-pull-2 {\n  right: 8.33333333%;\n}\n.ant-col-offset-2 {\n  margin-left: 8.33333333%;\n}\n.ant-col-order-2 {\n  order: 2;\n}\n.ant-col-1 {\n  display: block;\n  flex: 0 0 4.16666667%;\n  max-width: 4.16666667%;\n}\n.ant-col-push-1 {\n  left: 4.16666667%;\n}\n.ant-col-pull-1 {\n  right: 4.16666667%;\n}\n.ant-col-offset-1 {\n  margin-left: 4.16666667%;\n}\n.ant-col-order-1 {\n  order: 1;\n}\n.ant-col-0 {\n  display: none;\n}\n.ant-col-push-0 {\n  left: auto;\n}\n.ant-col-pull-0 {\n  right: auto;\n}\n.ant-col-push-0 {\n  left: auto;\n}\n.ant-col-pull-0 {\n  right: auto;\n}\n.ant-col-offset-0 {\n  margin-left: 0;\n}\n.ant-col-order-0 {\n  order: 0;\n}\n.ant-col-push-0.ant-col-rtl {\n  right: auto;\n}\n.ant-col-pull-0.ant-col-rtl {\n  left: auto;\n}\n.ant-col-push-0.ant-col-rtl {\n  right: auto;\n}\n.ant-col-pull-0.ant-col-rtl {\n  left: auto;\n}\n.ant-col-offset-0.ant-col-rtl {\n  margin-right: 0;\n}\n.ant-col-push-1.ant-col-rtl {\n  right: 4.16666667%;\n  left: auto;\n}\n.ant-col-pull-1.ant-col-rtl {\n  right: auto;\n  left: 4.16666667%;\n}\n.ant-col-offset-1.ant-col-rtl {\n  margin-right: 4.16666667%;\n  margin-left: 0;\n}\n.ant-col-push-2.ant-col-rtl {\n  right: 8.33333333%;\n  left: auto;\n}\n.ant-col-pull-2.ant-col-rtl {\n  right: auto;\n  left: 8.33333333%;\n}\n.ant-col-offset-2.ant-col-rtl {\n  margin-right: 8.33333333%;\n  margin-left: 0;\n}\n.ant-col-push-3.ant-col-rtl {\n  right: 12.5%;\n  left: auto;\n}\n.ant-col-pull-3.ant-col-rtl {\n  right: auto;\n  left: 12.5%;\n}\n.ant-col-offset-3.ant-col-rtl {\n  margin-right: 12.5%;\n  margin-left: 0;\n}\n.ant-col-push-4.ant-col-rtl {\n  right: 16.66666667%;\n  left: auto;\n}\n.ant-col-pull-4.ant-col-rtl {\n  right: auto;\n  left: 16.66666667%;\n}\n.ant-col-offset-4.ant-col-rtl {\n  margin-right: 16.66666667%;\n  margin-left: 0;\n}\n.ant-col-push-5.ant-col-rtl {\n  right: 20.83333333%;\n  left: auto;\n}\n.ant-col-pull-5.ant-col-rtl {\n  right: auto;\n  left: 20.83333333%;\n}\n.ant-col-offset-5.ant-col-rtl {\n  margin-right: 20.83333333%;\n  margin-left: 0;\n}\n.ant-col-push-6.ant-col-rtl {\n  right: 25%;\n  left: auto;\n}\n.ant-col-pull-6.ant-col-rtl {\n  right: auto;\n  left: 25%;\n}\n.ant-col-offset-6.ant-col-rtl {\n  margin-right: 25%;\n  margin-left: 0;\n}\n.ant-col-push-7.ant-col-rtl {\n  right: 29.16666667%;\n  left: auto;\n}\n.ant-col-pull-7.ant-col-rtl {\n  right: auto;\n  left: 29.16666667%;\n}\n.ant-col-offset-7.ant-col-rtl {\n  margin-right: 29.16666667%;\n  margin-left: 0;\n}\n.ant-col-push-8.ant-col-rtl {\n  right: 33.33333333%;\n  left: auto;\n}\n.ant-col-pull-8.ant-col-rtl {\n  right: auto;\n  left: 33.33333333%;\n}\n.ant-col-offset-8.ant-col-rtl {\n  margin-right: 33.33333333%;\n  margin-left: 0;\n}\n.ant-col-push-9.ant-col-rtl {\n  right: 37.5%;\n  left: auto;\n}\n.ant-col-pull-9.ant-col-rtl {\n  right: auto;\n  left: 37.5%;\n}\n.ant-col-offset-9.ant-col-rtl {\n  margin-right: 37.5%;\n  margin-left: 0;\n}\n.ant-col-push-10.ant-col-rtl {\n  right: 41.66666667%;\n  left: auto;\n}\n.ant-col-pull-10.ant-col-rtl {\n  right: auto;\n  left: 41.66666667%;\n}\n.ant-col-offset-10.ant-col-rtl {\n  margin-right: 41.66666667%;\n  margin-left: 0;\n}\n.ant-col-push-11.ant-col-rtl {\n  right: 45.83333333%;\n  left: auto;\n}\n.ant-col-pull-11.ant-col-rtl {\n  right: auto;\n  left: 45.83333333%;\n}\n.ant-col-offset-11.ant-col-rtl {\n  margin-right: 45.83333333%;\n  margin-left: 0;\n}\n.ant-col-push-12.ant-col-rtl {\n  right: 50%;\n  left: auto;\n}\n.ant-col-pull-12.ant-col-rtl {\n  right: auto;\n  left: 50%;\n}\n.ant-col-offset-12.ant-col-rtl {\n  margin-right: 50%;\n  margin-left: 0;\n}\n.ant-col-push-13.ant-col-rtl {\n  right: 54.16666667%;\n  left: auto;\n}\n.ant-col-pull-13.ant-col-rtl {\n  right: auto;\n  left: 54.16666667%;\n}\n.ant-col-offset-13.ant-col-rtl {\n  margin-right: 54.16666667%;\n  margin-left: 0;\n}\n.ant-col-push-14.ant-col-rtl {\n  right: 58.33333333%;\n  left: auto;\n}\n.ant-col-pull-14.ant-col-rtl {\n  right: auto;\n  left: 58.33333333%;\n}\n.ant-col-offset-14.ant-col-rtl {\n  margin-right: 58.33333333%;\n  margin-left: 0;\n}\n.ant-col-push-15.ant-col-rtl {\n  right: 62.5%;\n  left: auto;\n}\n.ant-col-pull-15.ant-col-rtl {\n  right: auto;\n  left: 62.5%;\n}\n.ant-col-offset-15.ant-col-rtl {\n  margin-right: 62.5%;\n  margin-left: 0;\n}\n.ant-col-push-16.ant-col-rtl {\n  right: 66.66666667%;\n  left: auto;\n}\n.ant-col-pull-16.ant-col-rtl {\n  right: auto;\n  left: 66.66666667%;\n}\n.ant-col-offset-16.ant-col-rtl {\n  margin-right: 66.66666667%;\n  margin-left: 0;\n}\n.ant-col-push-17.ant-col-rtl {\n  right: 70.83333333%;\n  left: auto;\n}\n.ant-col-pull-17.ant-col-rtl {\n  right: auto;\n  left: 70.83333333%;\n}\n.ant-col-offset-17.ant-col-rtl {\n  margin-right: 70.83333333%;\n  margin-left: 0;\n}\n.ant-col-push-18.ant-col-rtl {\n  right: 75%;\n  left: auto;\n}\n.ant-col-pull-18.ant-col-rtl {\n  right: auto;\n  left: 75%;\n}\n.ant-col-offset-18.ant-col-rtl {\n  margin-right: 75%;\n  margin-left: 0;\n}\n.ant-col-push-19.ant-col-rtl {\n  right: 79.16666667%;\n  left: auto;\n}\n.ant-col-pull-19.ant-col-rtl {\n  right: auto;\n  left: 79.16666667%;\n}\n.ant-col-offset-19.ant-col-rtl {\n  margin-right: 79.16666667%;\n  margin-left: 0;\n}\n.ant-col-push-20.ant-col-rtl {\n  right: 83.33333333%;\n  left: auto;\n}\n.ant-col-pull-20.ant-col-rtl {\n  right: auto;\n  left: 83.33333333%;\n}\n.ant-col-offset-20.ant-col-rtl {\n  margin-right: 83.33333333%;\n  margin-left: 0;\n}\n.ant-col-push-21.ant-col-rtl {\n  right: 87.5%;\n  left: auto;\n}\n.ant-col-pull-21.ant-col-rtl {\n  right: auto;\n  left: 87.5%;\n}\n.ant-col-offset-21.ant-col-rtl {\n  margin-right: 87.5%;\n  margin-left: 0;\n}\n.ant-col-push-22.ant-col-rtl {\n  right: 91.66666667%;\n  left: auto;\n}\n.ant-col-pull-22.ant-col-rtl {\n  right: auto;\n  left: 91.66666667%;\n}\n.ant-col-offset-22.ant-col-rtl {\n  margin-right: 91.66666667%;\n  margin-left: 0;\n}\n.ant-col-push-23.ant-col-rtl {\n  right: 95.83333333%;\n  left: auto;\n}\n.ant-col-pull-23.ant-col-rtl {\n  right: auto;\n  left: 95.83333333%;\n}\n.ant-col-offset-23.ant-col-rtl {\n  margin-right: 95.83333333%;\n  margin-left: 0;\n}\n.ant-col-push-24.ant-col-rtl {\n  right: 100%;\n  left: auto;\n}\n.ant-col-pull-24.ant-col-rtl {\n  right: auto;\n  left: 100%;\n}\n.ant-col-offset-24.ant-col-rtl {\n  margin-right: 100%;\n  margin-left: 0;\n}\n.ant-col-xs-24 {\n  display: block;\n  flex: 0 0 100%;\n  max-width: 100%;\n}\n.ant-col-xs-push-24 {\n  left: 100%;\n}\n.ant-col-xs-pull-24 {\n  right: 100%;\n}\n.ant-col-xs-offset-24 {\n  margin-left: 100%;\n}\n.ant-col-xs-order-24 {\n  order: 24;\n}\n.ant-col-xs-23 {\n  display: block;\n  flex: 0 0 95.83333333%;\n  max-width: 95.83333333%;\n}\n.ant-col-xs-push-23 {\n  left: 95.83333333%;\n}\n.ant-col-xs-pull-23 {\n  right: 95.83333333%;\n}\n.ant-col-xs-offset-23 {\n  margin-left: 95.83333333%;\n}\n.ant-col-xs-order-23 {\n  order: 23;\n}\n.ant-col-xs-22 {\n  display: block;\n  flex: 0 0 91.66666667%;\n  max-width: 91.66666667%;\n}\n.ant-col-xs-push-22 {\n  left: 91.66666667%;\n}\n.ant-col-xs-pull-22 {\n  right: 91.66666667%;\n}\n.ant-col-xs-offset-22 {\n  margin-left: 91.66666667%;\n}\n.ant-col-xs-order-22 {\n  order: 22;\n}\n.ant-col-xs-21 {\n  display: block;\n  flex: 0 0 87.5%;\n  max-width: 87.5%;\n}\n.ant-col-xs-push-21 {\n  left: 87.5%;\n}\n.ant-col-xs-pull-21 {\n  right: 87.5%;\n}\n.ant-col-xs-offset-21 {\n  margin-left: 87.5%;\n}\n.ant-col-xs-order-21 {\n  order: 21;\n}\n.ant-col-xs-20 {\n  display: block;\n  flex: 0 0 83.33333333%;\n  max-width: 83.33333333%;\n}\n.ant-col-xs-push-20 {\n  left: 83.33333333%;\n}\n.ant-col-xs-pull-20 {\n  right: 83.33333333%;\n}\n.ant-col-xs-offset-20 {\n  margin-left: 83.33333333%;\n}\n.ant-col-xs-order-20 {\n  order: 20;\n}\n.ant-col-xs-19 {\n  display: block;\n  flex: 0 0 79.16666667%;\n  max-width: 79.16666667%;\n}\n.ant-col-xs-push-19 {\n  left: 79.16666667%;\n}\n.ant-col-xs-pull-19 {\n  right: 79.16666667%;\n}\n.ant-col-xs-offset-19 {\n  margin-left: 79.16666667%;\n}\n.ant-col-xs-order-19 {\n  order: 19;\n}\n.ant-col-xs-18 {\n  display: block;\n  flex: 0 0 75%;\n  max-width: 75%;\n}\n.ant-col-xs-push-18 {\n  left: 75%;\n}\n.ant-col-xs-pull-18 {\n  right: 75%;\n}\n.ant-col-xs-offset-18 {\n  margin-left: 75%;\n}\n.ant-col-xs-order-18 {\n  order: 18;\n}\n.ant-col-xs-17 {\n  display: block;\n  flex: 0 0 70.83333333%;\n  max-width: 70.83333333%;\n}\n.ant-col-xs-push-17 {\n  left: 70.83333333%;\n}\n.ant-col-xs-pull-17 {\n  right: 70.83333333%;\n}\n.ant-col-xs-offset-17 {\n  margin-left: 70.83333333%;\n}\n.ant-col-xs-order-17 {\n  order: 17;\n}\n.ant-col-xs-16 {\n  display: block;\n  flex: 0 0 66.66666667%;\n  max-width: 66.66666667%;\n}\n.ant-col-xs-push-16 {\n  left: 66.66666667%;\n}\n.ant-col-xs-pull-16 {\n  right: 66.66666667%;\n}\n.ant-col-xs-offset-16 {\n  margin-left: 66.66666667%;\n}\n.ant-col-xs-order-16 {\n  order: 16;\n}\n.ant-col-xs-15 {\n  display: block;\n  flex: 0 0 62.5%;\n  max-width: 62.5%;\n}\n.ant-col-xs-push-15 {\n  left: 62.5%;\n}\n.ant-col-xs-pull-15 {\n  right: 62.5%;\n}\n.ant-col-xs-offset-15 {\n  margin-left: 62.5%;\n}\n.ant-col-xs-order-15 {\n  order: 15;\n}\n.ant-col-xs-14 {\n  display: block;\n  flex: 0 0 58.33333333%;\n  max-width: 58.33333333%;\n}\n.ant-col-xs-push-14 {\n  left: 58.33333333%;\n}\n.ant-col-xs-pull-14 {\n  right: 58.33333333%;\n}\n.ant-col-xs-offset-14 {\n  margin-left: 58.33333333%;\n}\n.ant-col-xs-order-14 {\n  order: 14;\n}\n.ant-col-xs-13 {\n  display: block;\n  flex: 0 0 54.16666667%;\n  max-width: 54.16666667%;\n}\n.ant-col-xs-push-13 {\n  left: 54.16666667%;\n}\n.ant-col-xs-pull-13 {\n  right: 54.16666667%;\n}\n.ant-col-xs-offset-13 {\n  margin-left: 54.16666667%;\n}\n.ant-col-xs-order-13 {\n  order: 13;\n}\n.ant-col-xs-12 {\n  display: block;\n  flex: 0 0 50%;\n  max-width: 50%;\n}\n.ant-col-xs-push-12 {\n  left: 50%;\n}\n.ant-col-xs-pull-12 {\n  right: 50%;\n}\n.ant-col-xs-offset-12 {\n  margin-left: 50%;\n}\n.ant-col-xs-order-12 {\n  order: 12;\n}\n.ant-col-xs-11 {\n  display: block;\n  flex: 0 0 45.83333333%;\n  max-width: 45.83333333%;\n}\n.ant-col-xs-push-11 {\n  left: 45.83333333%;\n}\n.ant-col-xs-pull-11 {\n  right: 45.83333333%;\n}\n.ant-col-xs-offset-11 {\n  margin-left: 45.83333333%;\n}\n.ant-col-xs-order-11 {\n  order: 11;\n}\n.ant-col-xs-10 {\n  display: block;\n  flex: 0 0 41.66666667%;\n  max-width: 41.66666667%;\n}\n.ant-col-xs-push-10 {\n  left: 41.66666667%;\n}\n.ant-col-xs-pull-10 {\n  right: 41.66666667%;\n}\n.ant-col-xs-offset-10 {\n  margin-left: 41.66666667%;\n}\n.ant-col-xs-order-10 {\n  order: 10;\n}\n.ant-col-xs-9 {\n  display: block;\n  flex: 0 0 37.5%;\n  max-width: 37.5%;\n}\n.ant-col-xs-push-9 {\n  left: 37.5%;\n}\n.ant-col-xs-pull-9 {\n  right: 37.5%;\n}\n.ant-col-xs-offset-9 {\n  margin-left: 37.5%;\n}\n.ant-col-xs-order-9 {\n  order: 9;\n}\n.ant-col-xs-8 {\n  display: block;\n  flex: 0 0 33.33333333%;\n  max-width: 33.33333333%;\n}\n.ant-col-xs-push-8 {\n  left: 33.33333333%;\n}\n.ant-col-xs-pull-8 {\n  right: 33.33333333%;\n}\n.ant-col-xs-offset-8 {\n  margin-left: 33.33333333%;\n}\n.ant-col-xs-order-8 {\n  order: 8;\n}\n.ant-col-xs-7 {\n  display: block;\n  flex: 0 0 29.16666667%;\n  max-width: 29.16666667%;\n}\n.ant-col-xs-push-7 {\n  left: 29.16666667%;\n}\n.ant-col-xs-pull-7 {\n  right: 29.16666667%;\n}\n.ant-col-xs-offset-7 {\n  margin-left: 29.16666667%;\n}\n.ant-col-xs-order-7 {\n  order: 7;\n}\n.ant-col-xs-6 {\n  display: block;\n  flex: 0 0 25%;\n  max-width: 25%;\n}\n.ant-col-xs-push-6 {\n  left: 25%;\n}\n.ant-col-xs-pull-6 {\n  right: 25%;\n}\n.ant-col-xs-offset-6 {\n  margin-left: 25%;\n}\n.ant-col-xs-order-6 {\n  order: 6;\n}\n.ant-col-xs-5 {\n  display: block;\n  flex: 0 0 20.83333333%;\n  max-width: 20.83333333%;\n}\n.ant-col-xs-push-5 {\n  left: 20.83333333%;\n}\n.ant-col-xs-pull-5 {\n  right: 20.83333333%;\n}\n.ant-col-xs-offset-5 {\n  margin-left: 20.83333333%;\n}\n.ant-col-xs-order-5 {\n  order: 5;\n}\n.ant-col-xs-4 {\n  display: block;\n  flex: 0 0 16.66666667%;\n  max-width: 16.66666667%;\n}\n.ant-col-xs-push-4 {\n  left: 16.66666667%;\n}\n.ant-col-xs-pull-4 {\n  right: 16.66666667%;\n}\n.ant-col-xs-offset-4 {\n  margin-left: 16.66666667%;\n}\n.ant-col-xs-order-4 {\n  order: 4;\n}\n.ant-col-xs-3 {\n  display: block;\n  flex: 0 0 12.5%;\n  max-width: 12.5%;\n}\n.ant-col-xs-push-3 {\n  left: 12.5%;\n}\n.ant-col-xs-pull-3 {\n  right: 12.5%;\n}\n.ant-col-xs-offset-3 {\n  margin-left: 12.5%;\n}\n.ant-col-xs-order-3 {\n  order: 3;\n}\n.ant-col-xs-2 {\n  display: block;\n  flex: 0 0 8.33333333%;\n  max-width: 8.33333333%;\n}\n.ant-col-xs-push-2 {\n  left: 8.33333333%;\n}\n.ant-col-xs-pull-2 {\n  right: 8.33333333%;\n}\n.ant-col-xs-offset-2 {\n  margin-left: 8.33333333%;\n}\n.ant-col-xs-order-2 {\n  order: 2;\n}\n.ant-col-xs-1 {\n  display: block;\n  flex: 0 0 4.16666667%;\n  max-width: 4.16666667%;\n}\n.ant-col-xs-push-1 {\n  left: 4.16666667%;\n}\n.ant-col-xs-pull-1 {\n  right: 4.16666667%;\n}\n.ant-col-xs-offset-1 {\n  margin-left: 4.16666667%;\n}\n.ant-col-xs-order-1 {\n  order: 1;\n}\n.ant-col-xs-0 {\n  display: none;\n}\n.ant-col-push-0 {\n  left: auto;\n}\n.ant-col-pull-0 {\n  right: auto;\n}\n.ant-col-xs-push-0 {\n  left: auto;\n}\n.ant-col-xs-pull-0 {\n  right: auto;\n}\n.ant-col-xs-offset-0 {\n  margin-left: 0;\n}\n.ant-col-xs-order-0 {\n  order: 0;\n}\n.ant-col-push-0.ant-col-rtl {\n  right: auto;\n}\n.ant-col-pull-0.ant-col-rtl {\n  left: auto;\n}\n.ant-col-xs-push-0.ant-col-rtl {\n  right: auto;\n}\n.ant-col-xs-pull-0.ant-col-rtl {\n  left: auto;\n}\n.ant-col-xs-offset-0.ant-col-rtl {\n  margin-right: 0;\n}\n.ant-col-xs-push-1.ant-col-rtl {\n  right: 4.16666667%;\n  left: auto;\n}\n.ant-col-xs-pull-1.ant-col-rtl {\n  right: auto;\n  left: 4.16666667%;\n}\n.ant-col-xs-offset-1.ant-col-rtl {\n  margin-right: 4.16666667%;\n  margin-left: 0;\n}\n.ant-col-xs-push-2.ant-col-rtl {\n  right: 8.33333333%;\n  left: auto;\n}\n.ant-col-xs-pull-2.ant-col-rtl {\n  right: auto;\n  left: 8.33333333%;\n}\n.ant-col-xs-offset-2.ant-col-rtl {\n  margin-right: 8.33333333%;\n  margin-left: 0;\n}\n.ant-col-xs-push-3.ant-col-rtl {\n  right: 12.5%;\n  left: auto;\n}\n.ant-col-xs-pull-3.ant-col-rtl {\n  right: auto;\n  left: 12.5%;\n}\n.ant-col-xs-offset-3.ant-col-rtl {\n  margin-right: 12.5%;\n  margin-left: 0;\n}\n.ant-col-xs-push-4.ant-col-rtl {\n  right: 16.66666667%;\n  left: auto;\n}\n.ant-col-xs-pull-4.ant-col-rtl {\n  right: auto;\n  left: 16.66666667%;\n}\n.ant-col-xs-offset-4.ant-col-rtl {\n  margin-right: 16.66666667%;\n  margin-left: 0;\n}\n.ant-col-xs-push-5.ant-col-rtl {\n  right: 20.83333333%;\n  left: auto;\n}\n.ant-col-xs-pull-5.ant-col-rtl {\n  right: auto;\n  left: 20.83333333%;\n}\n.ant-col-xs-offset-5.ant-col-rtl {\n  margin-right: 20.83333333%;\n  margin-left: 0;\n}\n.ant-col-xs-push-6.ant-col-rtl {\n  right: 25%;\n  left: auto;\n}\n.ant-col-xs-pull-6.ant-col-rtl {\n  right: auto;\n  left: 25%;\n}\n.ant-col-xs-offset-6.ant-col-rtl {\n  margin-right: 25%;\n  margin-left: 0;\n}\n.ant-col-xs-push-7.ant-col-rtl {\n  right: 29.16666667%;\n  left: auto;\n}\n.ant-col-xs-pull-7.ant-col-rtl {\n  right: auto;\n  left: 29.16666667%;\n}\n.ant-col-xs-offset-7.ant-col-rtl {\n  margin-right: 29.16666667%;\n  margin-left: 0;\n}\n.ant-col-xs-push-8.ant-col-rtl {\n  right: 33.33333333%;\n  left: auto;\n}\n.ant-col-xs-pull-8.ant-col-rtl {\n  right: auto;\n  left: 33.33333333%;\n}\n.ant-col-xs-offset-8.ant-col-rtl {\n  margin-right: 33.33333333%;\n  margin-left: 0;\n}\n.ant-col-xs-push-9.ant-col-rtl {\n  right: 37.5%;\n  left: auto;\n}\n.ant-col-xs-pull-9.ant-col-rtl {\n  right: auto;\n  left: 37.5%;\n}\n.ant-col-xs-offset-9.ant-col-rtl {\n  margin-right: 37.5%;\n  margin-left: 0;\n}\n.ant-col-xs-push-10.ant-col-rtl {\n  right: 41.66666667%;\n  left: auto;\n}\n.ant-col-xs-pull-10.ant-col-rtl {\n  right: auto;\n  left: 41.66666667%;\n}\n.ant-col-xs-offset-10.ant-col-rtl {\n  margin-right: 41.66666667%;\n  margin-left: 0;\n}\n.ant-col-xs-push-11.ant-col-rtl {\n  right: 45.83333333%;\n  left: auto;\n}\n.ant-col-xs-pull-11.ant-col-rtl {\n  right: auto;\n  left: 45.83333333%;\n}\n.ant-col-xs-offset-11.ant-col-rtl {\n  margin-right: 45.83333333%;\n  margin-left: 0;\n}\n.ant-col-xs-push-12.ant-col-rtl {\n  right: 50%;\n  left: auto;\n}\n.ant-col-xs-pull-12.ant-col-rtl {\n  right: auto;\n  left: 50%;\n}\n.ant-col-xs-offset-12.ant-col-rtl {\n  margin-right: 50%;\n  margin-left: 0;\n}\n.ant-col-xs-push-13.ant-col-rtl {\n  right: 54.16666667%;\n  left: auto;\n}\n.ant-col-xs-pull-13.ant-col-rtl {\n  right: auto;\n  left: 54.16666667%;\n}\n.ant-col-xs-offset-13.ant-col-rtl {\n  margin-right: 54.16666667%;\n  margin-left: 0;\n}\n.ant-col-xs-push-14.ant-col-rtl {\n  right: 58.33333333%;\n  left: auto;\n}\n.ant-col-xs-pull-14.ant-col-rtl {\n  right: auto;\n  left: 58.33333333%;\n}\n.ant-col-xs-offset-14.ant-col-rtl {\n  margin-right: 58.33333333%;\n  margin-left: 0;\n}\n.ant-col-xs-push-15.ant-col-rtl {\n  right: 62.5%;\n  left: auto;\n}\n.ant-col-xs-pull-15.ant-col-rtl {\n  right: auto;\n  left: 62.5%;\n}\n.ant-col-xs-offset-15.ant-col-rtl {\n  margin-right: 62.5%;\n  margin-left: 0;\n}\n.ant-col-xs-push-16.ant-col-rtl {\n  right: 66.66666667%;\n  left: auto;\n}\n.ant-col-xs-pull-16.ant-col-rtl {\n  right: auto;\n  left: 66.66666667%;\n}\n.ant-col-xs-offset-16.ant-col-rtl {\n  margin-right: 66.66666667%;\n  margin-left: 0;\n}\n.ant-col-xs-push-17.ant-col-rtl {\n  right: 70.83333333%;\n  left: auto;\n}\n.ant-col-xs-pull-17.ant-col-rtl {\n  right: auto;\n  left: 70.83333333%;\n}\n.ant-col-xs-offset-17.ant-col-rtl {\n  margin-right: 70.83333333%;\n  margin-left: 0;\n}\n.ant-col-xs-push-18.ant-col-rtl {\n  right: 75%;\n  left: auto;\n}\n.ant-col-xs-pull-18.ant-col-rtl {\n  right: auto;\n  left: 75%;\n}\n.ant-col-xs-offset-18.ant-col-rtl {\n  margin-right: 75%;\n  margin-left: 0;\n}\n.ant-col-xs-push-19.ant-col-rtl {\n  right: 79.16666667%;\n  left: auto;\n}\n.ant-col-xs-pull-19.ant-col-rtl {\n  right: auto;\n  left: 79.16666667%;\n}\n.ant-col-xs-offset-19.ant-col-rtl {\n  margin-right: 79.16666667%;\n  margin-left: 0;\n}\n.ant-col-xs-push-20.ant-col-rtl {\n  right: 83.33333333%;\n  left: auto;\n}\n.ant-col-xs-pull-20.ant-col-rtl {\n  right: auto;\n  left: 83.33333333%;\n}\n.ant-col-xs-offset-20.ant-col-rtl {\n  margin-right: 83.33333333%;\n  margin-left: 0;\n}\n.ant-col-xs-push-21.ant-col-rtl {\n  right: 87.5%;\n  left: auto;\n}\n.ant-col-xs-pull-21.ant-col-rtl {\n  right: auto;\n  left: 87.5%;\n}\n.ant-col-xs-offset-21.ant-col-rtl {\n  margin-right: 87.5%;\n  margin-left: 0;\n}\n.ant-col-xs-push-22.ant-col-rtl {\n  right: 91.66666667%;\n  left: auto;\n}\n.ant-col-xs-pull-22.ant-col-rtl {\n  right: auto;\n  left: 91.66666667%;\n}\n.ant-col-xs-offset-22.ant-col-rtl {\n  margin-right: 91.66666667%;\n  margin-left: 0;\n}\n.ant-col-xs-push-23.ant-col-rtl {\n  right: 95.83333333%;\n  left: auto;\n}\n.ant-col-xs-pull-23.ant-col-rtl {\n  right: auto;\n  left: 95.83333333%;\n}\n.ant-col-xs-offset-23.ant-col-rtl {\n  margin-right: 95.83333333%;\n  margin-left: 0;\n}\n.ant-col-xs-push-24.ant-col-rtl {\n  right: 100%;\n  left: auto;\n}\n.ant-col-xs-pull-24.ant-col-rtl {\n  right: auto;\n  left: 100%;\n}\n.ant-col-xs-offset-24.ant-col-rtl {\n  margin-right: 100%;\n  margin-left: 0;\n}\n@media (min-width: 576px) {\n  .ant-col-sm-24 {\n    display: block;\n    flex: 0 0 100%;\n    max-width: 100%;\n  }\n  .ant-col-sm-push-24 {\n    left: 100%;\n  }\n  .ant-col-sm-pull-24 {\n    right: 100%;\n  }\n  .ant-col-sm-offset-24 {\n    margin-left: 100%;\n  }\n  .ant-col-sm-order-24 {\n    order: 24;\n  }\n  .ant-col-sm-23 {\n    display: block;\n    flex: 0 0 95.83333333%;\n    max-width: 95.83333333%;\n  }\n  .ant-col-sm-push-23 {\n    left: 95.83333333%;\n  }\n  .ant-col-sm-pull-23 {\n    right: 95.83333333%;\n  }\n  .ant-col-sm-offset-23 {\n    margin-left: 95.83333333%;\n  }\n  .ant-col-sm-order-23 {\n    order: 23;\n  }\n  .ant-col-sm-22 {\n    display: block;\n    flex: 0 0 91.66666667%;\n    max-width: 91.66666667%;\n  }\n  .ant-col-sm-push-22 {\n    left: 91.66666667%;\n  }\n  .ant-col-sm-pull-22 {\n    right: 91.66666667%;\n  }\n  .ant-col-sm-offset-22 {\n    margin-left: 91.66666667%;\n  }\n  .ant-col-sm-order-22 {\n    order: 22;\n  }\n  .ant-col-sm-21 {\n    display: block;\n    flex: 0 0 87.5%;\n    max-width: 87.5%;\n  }\n  .ant-col-sm-push-21 {\n    left: 87.5%;\n  }\n  .ant-col-sm-pull-21 {\n    right: 87.5%;\n  }\n  .ant-col-sm-offset-21 {\n    margin-left: 87.5%;\n  }\n  .ant-col-sm-order-21 {\n    order: 21;\n  }\n  .ant-col-sm-20 {\n    display: block;\n    flex: 0 0 83.33333333%;\n    max-width: 83.33333333%;\n  }\n  .ant-col-sm-push-20 {\n    left: 83.33333333%;\n  }\n  .ant-col-sm-pull-20 {\n    right: 83.33333333%;\n  }\n  .ant-col-sm-offset-20 {\n    margin-left: 83.33333333%;\n  }\n  .ant-col-sm-order-20 {\n    order: 20;\n  }\n  .ant-col-sm-19 {\n    display: block;\n    flex: 0 0 79.16666667%;\n    max-width: 79.16666667%;\n  }\n  .ant-col-sm-push-19 {\n    left: 79.16666667%;\n  }\n  .ant-col-sm-pull-19 {\n    right: 79.16666667%;\n  }\n  .ant-col-sm-offset-19 {\n    margin-left: 79.16666667%;\n  }\n  .ant-col-sm-order-19 {\n    order: 19;\n  }\n  .ant-col-sm-18 {\n    display: block;\n    flex: 0 0 75%;\n    max-width: 75%;\n  }\n  .ant-col-sm-push-18 {\n    left: 75%;\n  }\n  .ant-col-sm-pull-18 {\n    right: 75%;\n  }\n  .ant-col-sm-offset-18 {\n    margin-left: 75%;\n  }\n  .ant-col-sm-order-18 {\n    order: 18;\n  }\n  .ant-col-sm-17 {\n    display: block;\n    flex: 0 0 70.83333333%;\n    max-width: 70.83333333%;\n  }\n  .ant-col-sm-push-17 {\n    left: 70.83333333%;\n  }\n  .ant-col-sm-pull-17 {\n    right: 70.83333333%;\n  }\n  .ant-col-sm-offset-17 {\n    margin-left: 70.83333333%;\n  }\n  .ant-col-sm-order-17 {\n    order: 17;\n  }\n  .ant-col-sm-16 {\n    display: block;\n    flex: 0 0 66.66666667%;\n    max-width: 66.66666667%;\n  }\n  .ant-col-sm-push-16 {\n    left: 66.66666667%;\n  }\n  .ant-col-sm-pull-16 {\n    right: 66.66666667%;\n  }\n  .ant-col-sm-offset-16 {\n    margin-left: 66.66666667%;\n  }\n  .ant-col-sm-order-16 {\n    order: 16;\n  }\n  .ant-col-sm-15 {\n    display: block;\n    flex: 0 0 62.5%;\n    max-width: 62.5%;\n  }\n  .ant-col-sm-push-15 {\n    left: 62.5%;\n  }\n  .ant-col-sm-pull-15 {\n    right: 62.5%;\n  }\n  .ant-col-sm-offset-15 {\n    margin-left: 62.5%;\n  }\n  .ant-col-sm-order-15 {\n    order: 15;\n  }\n  .ant-col-sm-14 {\n    display: block;\n    flex: 0 0 58.33333333%;\n    max-width: 58.33333333%;\n  }\n  .ant-col-sm-push-14 {\n    left: 58.33333333%;\n  }\n  .ant-col-sm-pull-14 {\n    right: 58.33333333%;\n  }\n  .ant-col-sm-offset-14 {\n    margin-left: 58.33333333%;\n  }\n  .ant-col-sm-order-14 {\n    order: 14;\n  }\n  .ant-col-sm-13 {\n    display: block;\n    flex: 0 0 54.16666667%;\n    max-width: 54.16666667%;\n  }\n  .ant-col-sm-push-13 {\n    left: 54.16666667%;\n  }\n  .ant-col-sm-pull-13 {\n    right: 54.16666667%;\n  }\n  .ant-col-sm-offset-13 {\n    margin-left: 54.16666667%;\n  }\n  .ant-col-sm-order-13 {\n    order: 13;\n  }\n  .ant-col-sm-12 {\n    display: block;\n    flex: 0 0 50%;\n    max-width: 50%;\n  }\n  .ant-col-sm-push-12 {\n    left: 50%;\n  }\n  .ant-col-sm-pull-12 {\n    right: 50%;\n  }\n  .ant-col-sm-offset-12 {\n    margin-left: 50%;\n  }\n  .ant-col-sm-order-12 {\n    order: 12;\n  }\n  .ant-col-sm-11 {\n    display: block;\n    flex: 0 0 45.83333333%;\n    max-width: 45.83333333%;\n  }\n  .ant-col-sm-push-11 {\n    left: 45.83333333%;\n  }\n  .ant-col-sm-pull-11 {\n    right: 45.83333333%;\n  }\n  .ant-col-sm-offset-11 {\n    margin-left: 45.83333333%;\n  }\n  .ant-col-sm-order-11 {\n    order: 11;\n  }\n  .ant-col-sm-10 {\n    display: block;\n    flex: 0 0 41.66666667%;\n    max-width: 41.66666667%;\n  }\n  .ant-col-sm-push-10 {\n    left: 41.66666667%;\n  }\n  .ant-col-sm-pull-10 {\n    right: 41.66666667%;\n  }\n  .ant-col-sm-offset-10 {\n    margin-left: 41.66666667%;\n  }\n  .ant-col-sm-order-10 {\n    order: 10;\n  }\n  .ant-col-sm-9 {\n    display: block;\n    flex: 0 0 37.5%;\n    max-width: 37.5%;\n  }\n  .ant-col-sm-push-9 {\n    left: 37.5%;\n  }\n  .ant-col-sm-pull-9 {\n    right: 37.5%;\n  }\n  .ant-col-sm-offset-9 {\n    margin-left: 37.5%;\n  }\n  .ant-col-sm-order-9 {\n    order: 9;\n  }\n  .ant-col-sm-8 {\n    display: block;\n    flex: 0 0 33.33333333%;\n    max-width: 33.33333333%;\n  }\n  .ant-col-sm-push-8 {\n    left: 33.33333333%;\n  }\n  .ant-col-sm-pull-8 {\n    right: 33.33333333%;\n  }\n  .ant-col-sm-offset-8 {\n    margin-left: 33.33333333%;\n  }\n  .ant-col-sm-order-8 {\n    order: 8;\n  }\n  .ant-col-sm-7 {\n    display: block;\n    flex: 0 0 29.16666667%;\n    max-width: 29.16666667%;\n  }\n  .ant-col-sm-push-7 {\n    left: 29.16666667%;\n  }\n  .ant-col-sm-pull-7 {\n    right: 29.16666667%;\n  }\n  .ant-col-sm-offset-7 {\n    margin-left: 29.16666667%;\n  }\n  .ant-col-sm-order-7 {\n    order: 7;\n  }\n  .ant-col-sm-6 {\n    display: block;\n    flex: 0 0 25%;\n    max-width: 25%;\n  }\n  .ant-col-sm-push-6 {\n    left: 25%;\n  }\n  .ant-col-sm-pull-6 {\n    right: 25%;\n  }\n  .ant-col-sm-offset-6 {\n    margin-left: 25%;\n  }\n  .ant-col-sm-order-6 {\n    order: 6;\n  }\n  .ant-col-sm-5 {\n    display: block;\n    flex: 0 0 20.83333333%;\n    max-width: 20.83333333%;\n  }\n  .ant-col-sm-push-5 {\n    left: 20.83333333%;\n  }\n  .ant-col-sm-pull-5 {\n    right: 20.83333333%;\n  }\n  .ant-col-sm-offset-5 {\n    margin-left: 20.83333333%;\n  }\n  .ant-col-sm-order-5 {\n    order: 5;\n  }\n  .ant-col-sm-4 {\n    display: block;\n    flex: 0 0 16.66666667%;\n    max-width: 16.66666667%;\n  }\n  .ant-col-sm-push-4 {\n    left: 16.66666667%;\n  }\n  .ant-col-sm-pull-4 {\n    right: 16.66666667%;\n  }\n  .ant-col-sm-offset-4 {\n    margin-left: 16.66666667%;\n  }\n  .ant-col-sm-order-4 {\n    order: 4;\n  }\n  .ant-col-sm-3 {\n    display: block;\n    flex: 0 0 12.5%;\n    max-width: 12.5%;\n  }\n  .ant-col-sm-push-3 {\n    left: 12.5%;\n  }\n  .ant-col-sm-pull-3 {\n    right: 12.5%;\n  }\n  .ant-col-sm-offset-3 {\n    margin-left: 12.5%;\n  }\n  .ant-col-sm-order-3 {\n    order: 3;\n  }\n  .ant-col-sm-2 {\n    display: block;\n    flex: 0 0 8.33333333%;\n    max-width: 8.33333333%;\n  }\n  .ant-col-sm-push-2 {\n    left: 8.33333333%;\n  }\n  .ant-col-sm-pull-2 {\n    right: 8.33333333%;\n  }\n  .ant-col-sm-offset-2 {\n    margin-left: 8.33333333%;\n  }\n  .ant-col-sm-order-2 {\n    order: 2;\n  }\n  .ant-col-sm-1 {\n    display: block;\n    flex: 0 0 4.16666667%;\n    max-width: 4.16666667%;\n  }\n  .ant-col-sm-push-1 {\n    left: 4.16666667%;\n  }\n  .ant-col-sm-pull-1 {\n    right: 4.16666667%;\n  }\n  .ant-col-sm-offset-1 {\n    margin-left: 4.16666667%;\n  }\n  .ant-col-sm-order-1 {\n    order: 1;\n  }\n  .ant-col-sm-0 {\n    display: none;\n  }\n  .ant-col-push-0 {\n    left: auto;\n  }\n  .ant-col-pull-0 {\n    right: auto;\n  }\n  .ant-col-sm-push-0 {\n    left: auto;\n  }\n  .ant-col-sm-pull-0 {\n    right: auto;\n  }\n  .ant-col-sm-offset-0 {\n    margin-left: 0;\n  }\n  .ant-col-sm-order-0 {\n    order: 0;\n  }\n  .ant-col-push-0.ant-col-rtl {\n    right: auto;\n  }\n  .ant-col-pull-0.ant-col-rtl {\n    left: auto;\n  }\n  .ant-col-sm-push-0.ant-col-rtl {\n    right: auto;\n  }\n  .ant-col-sm-pull-0.ant-col-rtl {\n    left: auto;\n  }\n  .ant-col-sm-offset-0.ant-col-rtl {\n    margin-right: 0;\n  }\n  .ant-col-sm-push-1.ant-col-rtl {\n    right: 4.16666667%;\n    left: auto;\n  }\n  .ant-col-sm-pull-1.ant-col-rtl {\n    right: auto;\n    left: 4.16666667%;\n  }\n  .ant-col-sm-offset-1.ant-col-rtl {\n    margin-right: 4.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-2.ant-col-rtl {\n    right: 8.33333333%;\n    left: auto;\n  }\n  .ant-col-sm-pull-2.ant-col-rtl {\n    right: auto;\n    left: 8.33333333%;\n  }\n  .ant-col-sm-offset-2.ant-col-rtl {\n    margin-right: 8.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-3.ant-col-rtl {\n    right: 12.5%;\n    left: auto;\n  }\n  .ant-col-sm-pull-3.ant-col-rtl {\n    right: auto;\n    left: 12.5%;\n  }\n  .ant-col-sm-offset-3.ant-col-rtl {\n    margin-right: 12.5%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-4.ant-col-rtl {\n    right: 16.66666667%;\n    left: auto;\n  }\n  .ant-col-sm-pull-4.ant-col-rtl {\n    right: auto;\n    left: 16.66666667%;\n  }\n  .ant-col-sm-offset-4.ant-col-rtl {\n    margin-right: 16.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-5.ant-col-rtl {\n    right: 20.83333333%;\n    left: auto;\n  }\n  .ant-col-sm-pull-5.ant-col-rtl {\n    right: auto;\n    left: 20.83333333%;\n  }\n  .ant-col-sm-offset-5.ant-col-rtl {\n    margin-right: 20.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-6.ant-col-rtl {\n    right: 25%;\n    left: auto;\n  }\n  .ant-col-sm-pull-6.ant-col-rtl {\n    right: auto;\n    left: 25%;\n  }\n  .ant-col-sm-offset-6.ant-col-rtl {\n    margin-right: 25%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-7.ant-col-rtl {\n    right: 29.16666667%;\n    left: auto;\n  }\n  .ant-col-sm-pull-7.ant-col-rtl {\n    right: auto;\n    left: 29.16666667%;\n  }\n  .ant-col-sm-offset-7.ant-col-rtl {\n    margin-right: 29.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-8.ant-col-rtl {\n    right: 33.33333333%;\n    left: auto;\n  }\n  .ant-col-sm-pull-8.ant-col-rtl {\n    right: auto;\n    left: 33.33333333%;\n  }\n  .ant-col-sm-offset-8.ant-col-rtl {\n    margin-right: 33.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-9.ant-col-rtl {\n    right: 37.5%;\n    left: auto;\n  }\n  .ant-col-sm-pull-9.ant-col-rtl {\n    right: auto;\n    left: 37.5%;\n  }\n  .ant-col-sm-offset-9.ant-col-rtl {\n    margin-right: 37.5%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-10.ant-col-rtl {\n    right: 41.66666667%;\n    left: auto;\n  }\n  .ant-col-sm-pull-10.ant-col-rtl {\n    right: auto;\n    left: 41.66666667%;\n  }\n  .ant-col-sm-offset-10.ant-col-rtl {\n    margin-right: 41.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-11.ant-col-rtl {\n    right: 45.83333333%;\n    left: auto;\n  }\n  .ant-col-sm-pull-11.ant-col-rtl {\n    right: auto;\n    left: 45.83333333%;\n  }\n  .ant-col-sm-offset-11.ant-col-rtl {\n    margin-right: 45.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-12.ant-col-rtl {\n    right: 50%;\n    left: auto;\n  }\n  .ant-col-sm-pull-12.ant-col-rtl {\n    right: auto;\n    left: 50%;\n  }\n  .ant-col-sm-offset-12.ant-col-rtl {\n    margin-right: 50%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-13.ant-col-rtl {\n    right: 54.16666667%;\n    left: auto;\n  }\n  .ant-col-sm-pull-13.ant-col-rtl {\n    right: auto;\n    left: 54.16666667%;\n  }\n  .ant-col-sm-offset-13.ant-col-rtl {\n    margin-right: 54.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-14.ant-col-rtl {\n    right: 58.33333333%;\n    left: auto;\n  }\n  .ant-col-sm-pull-14.ant-col-rtl {\n    right: auto;\n    left: 58.33333333%;\n  }\n  .ant-col-sm-offset-14.ant-col-rtl {\n    margin-right: 58.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-15.ant-col-rtl {\n    right: 62.5%;\n    left: auto;\n  }\n  .ant-col-sm-pull-15.ant-col-rtl {\n    right: auto;\n    left: 62.5%;\n  }\n  .ant-col-sm-offset-15.ant-col-rtl {\n    margin-right: 62.5%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-16.ant-col-rtl {\n    right: 66.66666667%;\n    left: auto;\n  }\n  .ant-col-sm-pull-16.ant-col-rtl {\n    right: auto;\n    left: 66.66666667%;\n  }\n  .ant-col-sm-offset-16.ant-col-rtl {\n    margin-right: 66.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-17.ant-col-rtl {\n    right: 70.83333333%;\n    left: auto;\n  }\n  .ant-col-sm-pull-17.ant-col-rtl {\n    right: auto;\n    left: 70.83333333%;\n  }\n  .ant-col-sm-offset-17.ant-col-rtl {\n    margin-right: 70.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-18.ant-col-rtl {\n    right: 75%;\n    left: auto;\n  }\n  .ant-col-sm-pull-18.ant-col-rtl {\n    right: auto;\n    left: 75%;\n  }\n  .ant-col-sm-offset-18.ant-col-rtl {\n    margin-right: 75%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-19.ant-col-rtl {\n    right: 79.16666667%;\n    left: auto;\n  }\n  .ant-col-sm-pull-19.ant-col-rtl {\n    right: auto;\n    left: 79.16666667%;\n  }\n  .ant-col-sm-offset-19.ant-col-rtl {\n    margin-right: 79.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-20.ant-col-rtl {\n    right: 83.33333333%;\n    left: auto;\n  }\n  .ant-col-sm-pull-20.ant-col-rtl {\n    right: auto;\n    left: 83.33333333%;\n  }\n  .ant-col-sm-offset-20.ant-col-rtl {\n    margin-right: 83.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-21.ant-col-rtl {\n    right: 87.5%;\n    left: auto;\n  }\n  .ant-col-sm-pull-21.ant-col-rtl {\n    right: auto;\n    left: 87.5%;\n  }\n  .ant-col-sm-offset-21.ant-col-rtl {\n    margin-right: 87.5%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-22.ant-col-rtl {\n    right: 91.66666667%;\n    left: auto;\n  }\n  .ant-col-sm-pull-22.ant-col-rtl {\n    right: auto;\n    left: 91.66666667%;\n  }\n  .ant-col-sm-offset-22.ant-col-rtl {\n    margin-right: 91.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-23.ant-col-rtl {\n    right: 95.83333333%;\n    left: auto;\n  }\n  .ant-col-sm-pull-23.ant-col-rtl {\n    right: auto;\n    left: 95.83333333%;\n  }\n  .ant-col-sm-offset-23.ant-col-rtl {\n    margin-right: 95.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-24.ant-col-rtl {\n    right: 100%;\n    left: auto;\n  }\n  .ant-col-sm-pull-24.ant-col-rtl {\n    right: auto;\n    left: 100%;\n  }\n  .ant-col-sm-offset-24.ant-col-rtl {\n    margin-right: 100%;\n    margin-left: 0;\n  }\n}\n@media (min-width: 768px) {\n  .ant-col-md-24 {\n    display: block;\n    flex: 0 0 100%;\n    max-width: 100%;\n  }\n  .ant-col-md-push-24 {\n    left: 100%;\n  }\n  .ant-col-md-pull-24 {\n    right: 100%;\n  }\n  .ant-col-md-offset-24 {\n    margin-left: 100%;\n  }\n  .ant-col-md-order-24 {\n    order: 24;\n  }\n  .ant-col-md-23 {\n    display: block;\n    flex: 0 0 95.83333333%;\n    max-width: 95.83333333%;\n  }\n  .ant-col-md-push-23 {\n    left: 95.83333333%;\n  }\n  .ant-col-md-pull-23 {\n    right: 95.83333333%;\n  }\n  .ant-col-md-offset-23 {\n    margin-left: 95.83333333%;\n  }\n  .ant-col-md-order-23 {\n    order: 23;\n  }\n  .ant-col-md-22 {\n    display: block;\n    flex: 0 0 91.66666667%;\n    max-width: 91.66666667%;\n  }\n  .ant-col-md-push-22 {\n    left: 91.66666667%;\n  }\n  .ant-col-md-pull-22 {\n    right: 91.66666667%;\n  }\n  .ant-col-md-offset-22 {\n    margin-left: 91.66666667%;\n  }\n  .ant-col-md-order-22 {\n    order: 22;\n  }\n  .ant-col-md-21 {\n    display: block;\n    flex: 0 0 87.5%;\n    max-width: 87.5%;\n  }\n  .ant-col-md-push-21 {\n    left: 87.5%;\n  }\n  .ant-col-md-pull-21 {\n    right: 87.5%;\n  }\n  .ant-col-md-offset-21 {\n    margin-left: 87.5%;\n  }\n  .ant-col-md-order-21 {\n    order: 21;\n  }\n  .ant-col-md-20 {\n    display: block;\n    flex: 0 0 83.33333333%;\n    max-width: 83.33333333%;\n  }\n  .ant-col-md-push-20 {\n    left: 83.33333333%;\n  }\n  .ant-col-md-pull-20 {\n    right: 83.33333333%;\n  }\n  .ant-col-md-offset-20 {\n    margin-left: 83.33333333%;\n  }\n  .ant-col-md-order-20 {\n    order: 20;\n  }\n  .ant-col-md-19 {\n    display: block;\n    flex: 0 0 79.16666667%;\n    max-width: 79.16666667%;\n  }\n  .ant-col-md-push-19 {\n    left: 79.16666667%;\n  }\n  .ant-col-md-pull-19 {\n    right: 79.16666667%;\n  }\n  .ant-col-md-offset-19 {\n    margin-left: 79.16666667%;\n  }\n  .ant-col-md-order-19 {\n    order: 19;\n  }\n  .ant-col-md-18 {\n    display: block;\n    flex: 0 0 75%;\n    max-width: 75%;\n  }\n  .ant-col-md-push-18 {\n    left: 75%;\n  }\n  .ant-col-md-pull-18 {\n    right: 75%;\n  }\n  .ant-col-md-offset-18 {\n    margin-left: 75%;\n  }\n  .ant-col-md-order-18 {\n    order: 18;\n  }\n  .ant-col-md-17 {\n    display: block;\n    flex: 0 0 70.83333333%;\n    max-width: 70.83333333%;\n  }\n  .ant-col-md-push-17 {\n    left: 70.83333333%;\n  }\n  .ant-col-md-pull-17 {\n    right: 70.83333333%;\n  }\n  .ant-col-md-offset-17 {\n    margin-left: 70.83333333%;\n  }\n  .ant-col-md-order-17 {\n    order: 17;\n  }\n  .ant-col-md-16 {\n    display: block;\n    flex: 0 0 66.66666667%;\n    max-width: 66.66666667%;\n  }\n  .ant-col-md-push-16 {\n    left: 66.66666667%;\n  }\n  .ant-col-md-pull-16 {\n    right: 66.66666667%;\n  }\n  .ant-col-md-offset-16 {\n    margin-left: 66.66666667%;\n  }\n  .ant-col-md-order-16 {\n    order: 16;\n  }\n  .ant-col-md-15 {\n    display: block;\n    flex: 0 0 62.5%;\n    max-width: 62.5%;\n  }\n  .ant-col-md-push-15 {\n    left: 62.5%;\n  }\n  .ant-col-md-pull-15 {\n    right: 62.5%;\n  }\n  .ant-col-md-offset-15 {\n    margin-left: 62.5%;\n  }\n  .ant-col-md-order-15 {\n    order: 15;\n  }\n  .ant-col-md-14 {\n    display: block;\n    flex: 0 0 58.33333333%;\n    max-width: 58.33333333%;\n  }\n  .ant-col-md-push-14 {\n    left: 58.33333333%;\n  }\n  .ant-col-md-pull-14 {\n    right: 58.33333333%;\n  }\n  .ant-col-md-offset-14 {\n    margin-left: 58.33333333%;\n  }\n  .ant-col-md-order-14 {\n    order: 14;\n  }\n  .ant-col-md-13 {\n    display: block;\n    flex: 0 0 54.16666667%;\n    max-width: 54.16666667%;\n  }\n  .ant-col-md-push-13 {\n    left: 54.16666667%;\n  }\n  .ant-col-md-pull-13 {\n    right: 54.16666667%;\n  }\n  .ant-col-md-offset-13 {\n    margin-left: 54.16666667%;\n  }\n  .ant-col-md-order-13 {\n    order: 13;\n  }\n  .ant-col-md-12 {\n    display: block;\n    flex: 0 0 50%;\n    max-width: 50%;\n  }\n  .ant-col-md-push-12 {\n    left: 50%;\n  }\n  .ant-col-md-pull-12 {\n    right: 50%;\n  }\n  .ant-col-md-offset-12 {\n    margin-left: 50%;\n  }\n  .ant-col-md-order-12 {\n    order: 12;\n  }\n  .ant-col-md-11 {\n    display: block;\n    flex: 0 0 45.83333333%;\n    max-width: 45.83333333%;\n  }\n  .ant-col-md-push-11 {\n    left: 45.83333333%;\n  }\n  .ant-col-md-pull-11 {\n    right: 45.83333333%;\n  }\n  .ant-col-md-offset-11 {\n    margin-left: 45.83333333%;\n  }\n  .ant-col-md-order-11 {\n    order: 11;\n  }\n  .ant-col-md-10 {\n    display: block;\n    flex: 0 0 41.66666667%;\n    max-width: 41.66666667%;\n  }\n  .ant-col-md-push-10 {\n    left: 41.66666667%;\n  }\n  .ant-col-md-pull-10 {\n    right: 41.66666667%;\n  }\n  .ant-col-md-offset-10 {\n    margin-left: 41.66666667%;\n  }\n  .ant-col-md-order-10 {\n    order: 10;\n  }\n  .ant-col-md-9 {\n    display: block;\n    flex: 0 0 37.5%;\n    max-width: 37.5%;\n  }\n  .ant-col-md-push-9 {\n    left: 37.5%;\n  }\n  .ant-col-md-pull-9 {\n    right: 37.5%;\n  }\n  .ant-col-md-offset-9 {\n    margin-left: 37.5%;\n  }\n  .ant-col-md-order-9 {\n    order: 9;\n  }\n  .ant-col-md-8 {\n    display: block;\n    flex: 0 0 33.33333333%;\n    max-width: 33.33333333%;\n  }\n  .ant-col-md-push-8 {\n    left: 33.33333333%;\n  }\n  .ant-col-md-pull-8 {\n    right: 33.33333333%;\n  }\n  .ant-col-md-offset-8 {\n    margin-left: 33.33333333%;\n  }\n  .ant-col-md-order-8 {\n    order: 8;\n  }\n  .ant-col-md-7 {\n    display: block;\n    flex: 0 0 29.16666667%;\n    max-width: 29.16666667%;\n  }\n  .ant-col-md-push-7 {\n    left: 29.16666667%;\n  }\n  .ant-col-md-pull-7 {\n    right: 29.16666667%;\n  }\n  .ant-col-md-offset-7 {\n    margin-left: 29.16666667%;\n  }\n  .ant-col-md-order-7 {\n    order: 7;\n  }\n  .ant-col-md-6 {\n    display: block;\n    flex: 0 0 25%;\n    max-width: 25%;\n  }\n  .ant-col-md-push-6 {\n    left: 25%;\n  }\n  .ant-col-md-pull-6 {\n    right: 25%;\n  }\n  .ant-col-md-offset-6 {\n    margin-left: 25%;\n  }\n  .ant-col-md-order-6 {\n    order: 6;\n  }\n  .ant-col-md-5 {\n    display: block;\n    flex: 0 0 20.83333333%;\n    max-width: 20.83333333%;\n  }\n  .ant-col-md-push-5 {\n    left: 20.83333333%;\n  }\n  .ant-col-md-pull-5 {\n    right: 20.83333333%;\n  }\n  .ant-col-md-offset-5 {\n    margin-left: 20.83333333%;\n  }\n  .ant-col-md-order-5 {\n    order: 5;\n  }\n  .ant-col-md-4 {\n    display: block;\n    flex: 0 0 16.66666667%;\n    max-width: 16.66666667%;\n  }\n  .ant-col-md-push-4 {\n    left: 16.66666667%;\n  }\n  .ant-col-md-pull-4 {\n    right: 16.66666667%;\n  }\n  .ant-col-md-offset-4 {\n    margin-left: 16.66666667%;\n  }\n  .ant-col-md-order-4 {\n    order: 4;\n  }\n  .ant-col-md-3 {\n    display: block;\n    flex: 0 0 12.5%;\n    max-width: 12.5%;\n  }\n  .ant-col-md-push-3 {\n    left: 12.5%;\n  }\n  .ant-col-md-pull-3 {\n    right: 12.5%;\n  }\n  .ant-col-md-offset-3 {\n    margin-left: 12.5%;\n  }\n  .ant-col-md-order-3 {\n    order: 3;\n  }\n  .ant-col-md-2 {\n    display: block;\n    flex: 0 0 8.33333333%;\n    max-width: 8.33333333%;\n  }\n  .ant-col-md-push-2 {\n    left: 8.33333333%;\n  }\n  .ant-col-md-pull-2 {\n    right: 8.33333333%;\n  }\n  .ant-col-md-offset-2 {\n    margin-left: 8.33333333%;\n  }\n  .ant-col-md-order-2 {\n    order: 2;\n  }\n  .ant-col-md-1 {\n    display: block;\n    flex: 0 0 4.16666667%;\n    max-width: 4.16666667%;\n  }\n  .ant-col-md-push-1 {\n    left: 4.16666667%;\n  }\n  .ant-col-md-pull-1 {\n    right: 4.16666667%;\n  }\n  .ant-col-md-offset-1 {\n    margin-left: 4.16666667%;\n  }\n  .ant-col-md-order-1 {\n    order: 1;\n  }\n  .ant-col-md-0 {\n    display: none;\n  }\n  .ant-col-push-0 {\n    left: auto;\n  }\n  .ant-col-pull-0 {\n    right: auto;\n  }\n  .ant-col-md-push-0 {\n    left: auto;\n  }\n  .ant-col-md-pull-0 {\n    right: auto;\n  }\n  .ant-col-md-offset-0 {\n    margin-left: 0;\n  }\n  .ant-col-md-order-0 {\n    order: 0;\n  }\n  .ant-col-push-0.ant-col-rtl {\n    right: auto;\n  }\n  .ant-col-pull-0.ant-col-rtl {\n    left: auto;\n  }\n  .ant-col-md-push-0.ant-col-rtl {\n    right: auto;\n  }\n  .ant-col-md-pull-0.ant-col-rtl {\n    left: auto;\n  }\n  .ant-col-md-offset-0.ant-col-rtl {\n    margin-right: 0;\n  }\n  .ant-col-md-push-1.ant-col-rtl {\n    right: 4.16666667%;\n    left: auto;\n  }\n  .ant-col-md-pull-1.ant-col-rtl {\n    right: auto;\n    left: 4.16666667%;\n  }\n  .ant-col-md-offset-1.ant-col-rtl {\n    margin-right: 4.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-2.ant-col-rtl {\n    right: 8.33333333%;\n    left: auto;\n  }\n  .ant-col-md-pull-2.ant-col-rtl {\n    right: auto;\n    left: 8.33333333%;\n  }\n  .ant-col-md-offset-2.ant-col-rtl {\n    margin-right: 8.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-3.ant-col-rtl {\n    right: 12.5%;\n    left: auto;\n  }\n  .ant-col-md-pull-3.ant-col-rtl {\n    right: auto;\n    left: 12.5%;\n  }\n  .ant-col-md-offset-3.ant-col-rtl {\n    margin-right: 12.5%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-4.ant-col-rtl {\n    right: 16.66666667%;\n    left: auto;\n  }\n  .ant-col-md-pull-4.ant-col-rtl {\n    right: auto;\n    left: 16.66666667%;\n  }\n  .ant-col-md-offset-4.ant-col-rtl {\n    margin-right: 16.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-5.ant-col-rtl {\n    right: 20.83333333%;\n    left: auto;\n  }\n  .ant-col-md-pull-5.ant-col-rtl {\n    right: auto;\n    left: 20.83333333%;\n  }\n  .ant-col-md-offset-5.ant-col-rtl {\n    margin-right: 20.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-6.ant-col-rtl {\n    right: 25%;\n    left: auto;\n  }\n  .ant-col-md-pull-6.ant-col-rtl {\n    right: auto;\n    left: 25%;\n  }\n  .ant-col-md-offset-6.ant-col-rtl {\n    margin-right: 25%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-7.ant-col-rtl {\n    right: 29.16666667%;\n    left: auto;\n  }\n  .ant-col-md-pull-7.ant-col-rtl {\n    right: auto;\n    left: 29.16666667%;\n  }\n  .ant-col-md-offset-7.ant-col-rtl {\n    margin-right: 29.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-8.ant-col-rtl {\n    right: 33.33333333%;\n    left: auto;\n  }\n  .ant-col-md-pull-8.ant-col-rtl {\n    right: auto;\n    left: 33.33333333%;\n  }\n  .ant-col-md-offset-8.ant-col-rtl {\n    margin-right: 33.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-9.ant-col-rtl {\n    right: 37.5%;\n    left: auto;\n  }\n  .ant-col-md-pull-9.ant-col-rtl {\n    right: auto;\n    left: 37.5%;\n  }\n  .ant-col-md-offset-9.ant-col-rtl {\n    margin-right: 37.5%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-10.ant-col-rtl {\n    right: 41.66666667%;\n    left: auto;\n  }\n  .ant-col-md-pull-10.ant-col-rtl {\n    right: auto;\n    left: 41.66666667%;\n  }\n  .ant-col-md-offset-10.ant-col-rtl {\n    margin-right: 41.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-11.ant-col-rtl {\n    right: 45.83333333%;\n    left: auto;\n  }\n  .ant-col-md-pull-11.ant-col-rtl {\n    right: auto;\n    left: 45.83333333%;\n  }\n  .ant-col-md-offset-11.ant-col-rtl {\n    margin-right: 45.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-12.ant-col-rtl {\n    right: 50%;\n    left: auto;\n  }\n  .ant-col-md-pull-12.ant-col-rtl {\n    right: auto;\n    left: 50%;\n  }\n  .ant-col-md-offset-12.ant-col-rtl {\n    margin-right: 50%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-13.ant-col-rtl {\n    right: 54.16666667%;\n    left: auto;\n  }\n  .ant-col-md-pull-13.ant-col-rtl {\n    right: auto;\n    left: 54.16666667%;\n  }\n  .ant-col-md-offset-13.ant-col-rtl {\n    margin-right: 54.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-14.ant-col-rtl {\n    right: 58.33333333%;\n    left: auto;\n  }\n  .ant-col-md-pull-14.ant-col-rtl {\n    right: auto;\n    left: 58.33333333%;\n  }\n  .ant-col-md-offset-14.ant-col-rtl {\n    margin-right: 58.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-15.ant-col-rtl {\n    right: 62.5%;\n    left: auto;\n  }\n  .ant-col-md-pull-15.ant-col-rtl {\n    right: auto;\n    left: 62.5%;\n  }\n  .ant-col-md-offset-15.ant-col-rtl {\n    margin-right: 62.5%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-16.ant-col-rtl {\n    right: 66.66666667%;\n    left: auto;\n  }\n  .ant-col-md-pull-16.ant-col-rtl {\n    right: auto;\n    left: 66.66666667%;\n  }\n  .ant-col-md-offset-16.ant-col-rtl {\n    margin-right: 66.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-17.ant-col-rtl {\n    right: 70.83333333%;\n    left: auto;\n  }\n  .ant-col-md-pull-17.ant-col-rtl {\n    right: auto;\n    left: 70.83333333%;\n  }\n  .ant-col-md-offset-17.ant-col-rtl {\n    margin-right: 70.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-18.ant-col-rtl {\n    right: 75%;\n    left: auto;\n  }\n  .ant-col-md-pull-18.ant-col-rtl {\n    right: auto;\n    left: 75%;\n  }\n  .ant-col-md-offset-18.ant-col-rtl {\n    margin-right: 75%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-19.ant-col-rtl {\n    right: 79.16666667%;\n    left: auto;\n  }\n  .ant-col-md-pull-19.ant-col-rtl {\n    right: auto;\n    left: 79.16666667%;\n  }\n  .ant-col-md-offset-19.ant-col-rtl {\n    margin-right: 79.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-20.ant-col-rtl {\n    right: 83.33333333%;\n    left: auto;\n  }\n  .ant-col-md-pull-20.ant-col-rtl {\n    right: auto;\n    left: 83.33333333%;\n  }\n  .ant-col-md-offset-20.ant-col-rtl {\n    margin-right: 83.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-21.ant-col-rtl {\n    right: 87.5%;\n    left: auto;\n  }\n  .ant-col-md-pull-21.ant-col-rtl {\n    right: auto;\n    left: 87.5%;\n  }\n  .ant-col-md-offset-21.ant-col-rtl {\n    margin-right: 87.5%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-22.ant-col-rtl {\n    right: 91.66666667%;\n    left: auto;\n  }\n  .ant-col-md-pull-22.ant-col-rtl {\n    right: auto;\n    left: 91.66666667%;\n  }\n  .ant-col-md-offset-22.ant-col-rtl {\n    margin-right: 91.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-23.ant-col-rtl {\n    right: 95.83333333%;\n    left: auto;\n  }\n  .ant-col-md-pull-23.ant-col-rtl {\n    right: auto;\n    left: 95.83333333%;\n  }\n  .ant-col-md-offset-23.ant-col-rtl {\n    margin-right: 95.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-24.ant-col-rtl {\n    right: 100%;\n    left: auto;\n  }\n  .ant-col-md-pull-24.ant-col-rtl {\n    right: auto;\n    left: 100%;\n  }\n  .ant-col-md-offset-24.ant-col-rtl {\n    margin-right: 100%;\n    margin-left: 0;\n  }\n}\n@media (min-width: 992px) {\n  .ant-col-lg-24 {\n    display: block;\n    flex: 0 0 100%;\n    max-width: 100%;\n  }\n  .ant-col-lg-push-24 {\n    left: 100%;\n  }\n  .ant-col-lg-pull-24 {\n    right: 100%;\n  }\n  .ant-col-lg-offset-24 {\n    margin-left: 100%;\n  }\n  .ant-col-lg-order-24 {\n    order: 24;\n  }\n  .ant-col-lg-23 {\n    display: block;\n    flex: 0 0 95.83333333%;\n    max-width: 95.83333333%;\n  }\n  .ant-col-lg-push-23 {\n    left: 95.83333333%;\n  }\n  .ant-col-lg-pull-23 {\n    right: 95.83333333%;\n  }\n  .ant-col-lg-offset-23 {\n    margin-left: 95.83333333%;\n  }\n  .ant-col-lg-order-23 {\n    order: 23;\n  }\n  .ant-col-lg-22 {\n    display: block;\n    flex: 0 0 91.66666667%;\n    max-width: 91.66666667%;\n  }\n  .ant-col-lg-push-22 {\n    left: 91.66666667%;\n  }\n  .ant-col-lg-pull-22 {\n    right: 91.66666667%;\n  }\n  .ant-col-lg-offset-22 {\n    margin-left: 91.66666667%;\n  }\n  .ant-col-lg-order-22 {\n    order: 22;\n  }\n  .ant-col-lg-21 {\n    display: block;\n    flex: 0 0 87.5%;\n    max-width: 87.5%;\n  }\n  .ant-col-lg-push-21 {\n    left: 87.5%;\n  }\n  .ant-col-lg-pull-21 {\n    right: 87.5%;\n  }\n  .ant-col-lg-offset-21 {\n    margin-left: 87.5%;\n  }\n  .ant-col-lg-order-21 {\n    order: 21;\n  }\n  .ant-col-lg-20 {\n    display: block;\n    flex: 0 0 83.33333333%;\n    max-width: 83.33333333%;\n  }\n  .ant-col-lg-push-20 {\n    left: 83.33333333%;\n  }\n  .ant-col-lg-pull-20 {\n    right: 83.33333333%;\n  }\n  .ant-col-lg-offset-20 {\n    margin-left: 83.33333333%;\n  }\n  .ant-col-lg-order-20 {\n    order: 20;\n  }\n  .ant-col-lg-19 {\n    display: block;\n    flex: 0 0 79.16666667%;\n    max-width: 79.16666667%;\n  }\n  .ant-col-lg-push-19 {\n    left: 79.16666667%;\n  }\n  .ant-col-lg-pull-19 {\n    right: 79.16666667%;\n  }\n  .ant-col-lg-offset-19 {\n    margin-left: 79.16666667%;\n  }\n  .ant-col-lg-order-19 {\n    order: 19;\n  }\n  .ant-col-lg-18 {\n    display: block;\n    flex: 0 0 75%;\n    max-width: 75%;\n  }\n  .ant-col-lg-push-18 {\n    left: 75%;\n  }\n  .ant-col-lg-pull-18 {\n    right: 75%;\n  }\n  .ant-col-lg-offset-18 {\n    margin-left: 75%;\n  }\n  .ant-col-lg-order-18 {\n    order: 18;\n  }\n  .ant-col-lg-17 {\n    display: block;\n    flex: 0 0 70.83333333%;\n    max-width: 70.83333333%;\n  }\n  .ant-col-lg-push-17 {\n    left: 70.83333333%;\n  }\n  .ant-col-lg-pull-17 {\n    right: 70.83333333%;\n  }\n  .ant-col-lg-offset-17 {\n    margin-left: 70.83333333%;\n  }\n  .ant-col-lg-order-17 {\n    order: 17;\n  }\n  .ant-col-lg-16 {\n    display: block;\n    flex: 0 0 66.66666667%;\n    max-width: 66.66666667%;\n  }\n  .ant-col-lg-push-16 {\n    left: 66.66666667%;\n  }\n  .ant-col-lg-pull-16 {\n    right: 66.66666667%;\n  }\n  .ant-col-lg-offset-16 {\n    margin-left: 66.66666667%;\n  }\n  .ant-col-lg-order-16 {\n    order: 16;\n  }\n  .ant-col-lg-15 {\n    display: block;\n    flex: 0 0 62.5%;\n    max-width: 62.5%;\n  }\n  .ant-col-lg-push-15 {\n    left: 62.5%;\n  }\n  .ant-col-lg-pull-15 {\n    right: 62.5%;\n  }\n  .ant-col-lg-offset-15 {\n    margin-left: 62.5%;\n  }\n  .ant-col-lg-order-15 {\n    order: 15;\n  }\n  .ant-col-lg-14 {\n    display: block;\n    flex: 0 0 58.33333333%;\n    max-width: 58.33333333%;\n  }\n  .ant-col-lg-push-14 {\n    left: 58.33333333%;\n  }\n  .ant-col-lg-pull-14 {\n    right: 58.33333333%;\n  }\n  .ant-col-lg-offset-14 {\n    margin-left: 58.33333333%;\n  }\n  .ant-col-lg-order-14 {\n    order: 14;\n  }\n  .ant-col-lg-13 {\n    display: block;\n    flex: 0 0 54.16666667%;\n    max-width: 54.16666667%;\n  }\n  .ant-col-lg-push-13 {\n    left: 54.16666667%;\n  }\n  .ant-col-lg-pull-13 {\n    right: 54.16666667%;\n  }\n  .ant-col-lg-offset-13 {\n    margin-left: 54.16666667%;\n  }\n  .ant-col-lg-order-13 {\n    order: 13;\n  }\n  .ant-col-lg-12 {\n    display: block;\n    flex: 0 0 50%;\n    max-width: 50%;\n  }\n  .ant-col-lg-push-12 {\n    left: 50%;\n  }\n  .ant-col-lg-pull-12 {\n    right: 50%;\n  }\n  .ant-col-lg-offset-12 {\n    margin-left: 50%;\n  }\n  .ant-col-lg-order-12 {\n    order: 12;\n  }\n  .ant-col-lg-11 {\n    display: block;\n    flex: 0 0 45.83333333%;\n    max-width: 45.83333333%;\n  }\n  .ant-col-lg-push-11 {\n    left: 45.83333333%;\n  }\n  .ant-col-lg-pull-11 {\n    right: 45.83333333%;\n  }\n  .ant-col-lg-offset-11 {\n    margin-left: 45.83333333%;\n  }\n  .ant-col-lg-order-11 {\n    order: 11;\n  }\n  .ant-col-lg-10 {\n    display: block;\n    flex: 0 0 41.66666667%;\n    max-width: 41.66666667%;\n  }\n  .ant-col-lg-push-10 {\n    left: 41.66666667%;\n  }\n  .ant-col-lg-pull-10 {\n    right: 41.66666667%;\n  }\n  .ant-col-lg-offset-10 {\n    margin-left: 41.66666667%;\n  }\n  .ant-col-lg-order-10 {\n    order: 10;\n  }\n  .ant-col-lg-9 {\n    display: block;\n    flex: 0 0 37.5%;\n    max-width: 37.5%;\n  }\n  .ant-col-lg-push-9 {\n    left: 37.5%;\n  }\n  .ant-col-lg-pull-9 {\n    right: 37.5%;\n  }\n  .ant-col-lg-offset-9 {\n    margin-left: 37.5%;\n  }\n  .ant-col-lg-order-9 {\n    order: 9;\n  }\n  .ant-col-lg-8 {\n    display: block;\n    flex: 0 0 33.33333333%;\n    max-width: 33.33333333%;\n  }\n  .ant-col-lg-push-8 {\n    left: 33.33333333%;\n  }\n  .ant-col-lg-pull-8 {\n    right: 33.33333333%;\n  }\n  .ant-col-lg-offset-8 {\n    margin-left: 33.33333333%;\n  }\n  .ant-col-lg-order-8 {\n    order: 8;\n  }\n  .ant-col-lg-7 {\n    display: block;\n    flex: 0 0 29.16666667%;\n    max-width: 29.16666667%;\n  }\n  .ant-col-lg-push-7 {\n    left: 29.16666667%;\n  }\n  .ant-col-lg-pull-7 {\n    right: 29.16666667%;\n  }\n  .ant-col-lg-offset-7 {\n    margin-left: 29.16666667%;\n  }\n  .ant-col-lg-order-7 {\n    order: 7;\n  }\n  .ant-col-lg-6 {\n    display: block;\n    flex: 0 0 25%;\n    max-width: 25%;\n  }\n  .ant-col-lg-push-6 {\n    left: 25%;\n  }\n  .ant-col-lg-pull-6 {\n    right: 25%;\n  }\n  .ant-col-lg-offset-6 {\n    margin-left: 25%;\n  }\n  .ant-col-lg-order-6 {\n    order: 6;\n  }\n  .ant-col-lg-5 {\n    display: block;\n    flex: 0 0 20.83333333%;\n    max-width: 20.83333333%;\n  }\n  .ant-col-lg-push-5 {\n    left: 20.83333333%;\n  }\n  .ant-col-lg-pull-5 {\n    right: 20.83333333%;\n  }\n  .ant-col-lg-offset-5 {\n    margin-left: 20.83333333%;\n  }\n  .ant-col-lg-order-5 {\n    order: 5;\n  }\n  .ant-col-lg-4 {\n    display: block;\n    flex: 0 0 16.66666667%;\n    max-width: 16.66666667%;\n  }\n  .ant-col-lg-push-4 {\n    left: 16.66666667%;\n  }\n  .ant-col-lg-pull-4 {\n    right: 16.66666667%;\n  }\n  .ant-col-lg-offset-4 {\n    margin-left: 16.66666667%;\n  }\n  .ant-col-lg-order-4 {\n    order: 4;\n  }\n  .ant-col-lg-3 {\n    display: block;\n    flex: 0 0 12.5%;\n    max-width: 12.5%;\n  }\n  .ant-col-lg-push-3 {\n    left: 12.5%;\n  }\n  .ant-col-lg-pull-3 {\n    right: 12.5%;\n  }\n  .ant-col-lg-offset-3 {\n    margin-left: 12.5%;\n  }\n  .ant-col-lg-order-3 {\n    order: 3;\n  }\n  .ant-col-lg-2 {\n    display: block;\n    flex: 0 0 8.33333333%;\n    max-width: 8.33333333%;\n  }\n  .ant-col-lg-push-2 {\n    left: 8.33333333%;\n  }\n  .ant-col-lg-pull-2 {\n    right: 8.33333333%;\n  }\n  .ant-col-lg-offset-2 {\n    margin-left: 8.33333333%;\n  }\n  .ant-col-lg-order-2 {\n    order: 2;\n  }\n  .ant-col-lg-1 {\n    display: block;\n    flex: 0 0 4.16666667%;\n    max-width: 4.16666667%;\n  }\n  .ant-col-lg-push-1 {\n    left: 4.16666667%;\n  }\n  .ant-col-lg-pull-1 {\n    right: 4.16666667%;\n  }\n  .ant-col-lg-offset-1 {\n    margin-left: 4.16666667%;\n  }\n  .ant-col-lg-order-1 {\n    order: 1;\n  }\n  .ant-col-lg-0 {\n    display: none;\n  }\n  .ant-col-push-0 {\n    left: auto;\n  }\n  .ant-col-pull-0 {\n    right: auto;\n  }\n  .ant-col-lg-push-0 {\n    left: auto;\n  }\n  .ant-col-lg-pull-0 {\n    right: auto;\n  }\n  .ant-col-lg-offset-0 {\n    margin-left: 0;\n  }\n  .ant-col-lg-order-0 {\n    order: 0;\n  }\n  .ant-col-push-0.ant-col-rtl {\n    right: auto;\n  }\n  .ant-col-pull-0.ant-col-rtl {\n    left: auto;\n  }\n  .ant-col-lg-push-0.ant-col-rtl {\n    right: auto;\n  }\n  .ant-col-lg-pull-0.ant-col-rtl {\n    left: auto;\n  }\n  .ant-col-lg-offset-0.ant-col-rtl {\n    margin-right: 0;\n  }\n  .ant-col-lg-push-1.ant-col-rtl {\n    right: 4.16666667%;\n    left: auto;\n  }\n  .ant-col-lg-pull-1.ant-col-rtl {\n    right: auto;\n    left: 4.16666667%;\n  }\n  .ant-col-lg-offset-1.ant-col-rtl {\n    margin-right: 4.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-2.ant-col-rtl {\n    right: 8.33333333%;\n    left: auto;\n  }\n  .ant-col-lg-pull-2.ant-col-rtl {\n    right: auto;\n    left: 8.33333333%;\n  }\n  .ant-col-lg-offset-2.ant-col-rtl {\n    margin-right: 8.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-3.ant-col-rtl {\n    right: 12.5%;\n    left: auto;\n  }\n  .ant-col-lg-pull-3.ant-col-rtl {\n    right: auto;\n    left: 12.5%;\n  }\n  .ant-col-lg-offset-3.ant-col-rtl {\n    margin-right: 12.5%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-4.ant-col-rtl {\n    right: 16.66666667%;\n    left: auto;\n  }\n  .ant-col-lg-pull-4.ant-col-rtl {\n    right: auto;\n    left: 16.66666667%;\n  }\n  .ant-col-lg-offset-4.ant-col-rtl {\n    margin-right: 16.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-5.ant-col-rtl {\n    right: 20.83333333%;\n    left: auto;\n  }\n  .ant-col-lg-pull-5.ant-col-rtl {\n    right: auto;\n    left: 20.83333333%;\n  }\n  .ant-col-lg-offset-5.ant-col-rtl {\n    margin-right: 20.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-6.ant-col-rtl {\n    right: 25%;\n    left: auto;\n  }\n  .ant-col-lg-pull-6.ant-col-rtl {\n    right: auto;\n    left: 25%;\n  }\n  .ant-col-lg-offset-6.ant-col-rtl {\n    margin-right: 25%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-7.ant-col-rtl {\n    right: 29.16666667%;\n    left: auto;\n  }\n  .ant-col-lg-pull-7.ant-col-rtl {\n    right: auto;\n    left: 29.16666667%;\n  }\n  .ant-col-lg-offset-7.ant-col-rtl {\n    margin-right: 29.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-8.ant-col-rtl {\n    right: 33.33333333%;\n    left: auto;\n  }\n  .ant-col-lg-pull-8.ant-col-rtl {\n    right: auto;\n    left: 33.33333333%;\n  }\n  .ant-col-lg-offset-8.ant-col-rtl {\n    margin-right: 33.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-9.ant-col-rtl {\n    right: 37.5%;\n    left: auto;\n  }\n  .ant-col-lg-pull-9.ant-col-rtl {\n    right: auto;\n    left: 37.5%;\n  }\n  .ant-col-lg-offset-9.ant-col-rtl {\n    margin-right: 37.5%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-10.ant-col-rtl {\n    right: 41.66666667%;\n    left: auto;\n  }\n  .ant-col-lg-pull-10.ant-col-rtl {\n    right: auto;\n    left: 41.66666667%;\n  }\n  .ant-col-lg-offset-10.ant-col-rtl {\n    margin-right: 41.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-11.ant-col-rtl {\n    right: 45.83333333%;\n    left: auto;\n  }\n  .ant-col-lg-pull-11.ant-col-rtl {\n    right: auto;\n    left: 45.83333333%;\n  }\n  .ant-col-lg-offset-11.ant-col-rtl {\n    margin-right: 45.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-12.ant-col-rtl {\n    right: 50%;\n    left: auto;\n  }\n  .ant-col-lg-pull-12.ant-col-rtl {\n    right: auto;\n    left: 50%;\n  }\n  .ant-col-lg-offset-12.ant-col-rtl {\n    margin-right: 50%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-13.ant-col-rtl {\n    right: 54.16666667%;\n    left: auto;\n  }\n  .ant-col-lg-pull-13.ant-col-rtl {\n    right: auto;\n    left: 54.16666667%;\n  }\n  .ant-col-lg-offset-13.ant-col-rtl {\n    margin-right: 54.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-14.ant-col-rtl {\n    right: 58.33333333%;\n    left: auto;\n  }\n  .ant-col-lg-pull-14.ant-col-rtl {\n    right: auto;\n    left: 58.33333333%;\n  }\n  .ant-col-lg-offset-14.ant-col-rtl {\n    margin-right: 58.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-15.ant-col-rtl {\n    right: 62.5%;\n    left: auto;\n  }\n  .ant-col-lg-pull-15.ant-col-rtl {\n    right: auto;\n    left: 62.5%;\n  }\n  .ant-col-lg-offset-15.ant-col-rtl {\n    margin-right: 62.5%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-16.ant-col-rtl {\n    right: 66.66666667%;\n    left: auto;\n  }\n  .ant-col-lg-pull-16.ant-col-rtl {\n    right: auto;\n    left: 66.66666667%;\n  }\n  .ant-col-lg-offset-16.ant-col-rtl {\n    margin-right: 66.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-17.ant-col-rtl {\n    right: 70.83333333%;\n    left: auto;\n  }\n  .ant-col-lg-pull-17.ant-col-rtl {\n    right: auto;\n    left: 70.83333333%;\n  }\n  .ant-col-lg-offset-17.ant-col-rtl {\n    margin-right: 70.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-18.ant-col-rtl {\n    right: 75%;\n    left: auto;\n  }\n  .ant-col-lg-pull-18.ant-col-rtl {\n    right: auto;\n    left: 75%;\n  }\n  .ant-col-lg-offset-18.ant-col-rtl {\n    margin-right: 75%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-19.ant-col-rtl {\n    right: 79.16666667%;\n    left: auto;\n  }\n  .ant-col-lg-pull-19.ant-col-rtl {\n    right: auto;\n    left: 79.16666667%;\n  }\n  .ant-col-lg-offset-19.ant-col-rtl {\n    margin-right: 79.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-20.ant-col-rtl {\n    right: 83.33333333%;\n    left: auto;\n  }\n  .ant-col-lg-pull-20.ant-col-rtl {\n    right: auto;\n    left: 83.33333333%;\n  }\n  .ant-col-lg-offset-20.ant-col-rtl {\n    margin-right: 83.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-21.ant-col-rtl {\n    right: 87.5%;\n    left: auto;\n  }\n  .ant-col-lg-pull-21.ant-col-rtl {\n    right: auto;\n    left: 87.5%;\n  }\n  .ant-col-lg-offset-21.ant-col-rtl {\n    margin-right: 87.5%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-22.ant-col-rtl {\n    right: 91.66666667%;\n    left: auto;\n  }\n  .ant-col-lg-pull-22.ant-col-rtl {\n    right: auto;\n    left: 91.66666667%;\n  }\n  .ant-col-lg-offset-22.ant-col-rtl {\n    margin-right: 91.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-23.ant-col-rtl {\n    right: 95.83333333%;\n    left: auto;\n  }\n  .ant-col-lg-pull-23.ant-col-rtl {\n    right: auto;\n    left: 95.83333333%;\n  }\n  .ant-col-lg-offset-23.ant-col-rtl {\n    margin-right: 95.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-24.ant-col-rtl {\n    right: 100%;\n    left: auto;\n  }\n  .ant-col-lg-pull-24.ant-col-rtl {\n    right: auto;\n    left: 100%;\n  }\n  .ant-col-lg-offset-24.ant-col-rtl {\n    margin-right: 100%;\n    margin-left: 0;\n  }\n}\n@media (min-width: 1200px) {\n  .ant-col-xl-24 {\n    display: block;\n    flex: 0 0 100%;\n    max-width: 100%;\n  }\n  .ant-col-xl-push-24 {\n    left: 100%;\n  }\n  .ant-col-xl-pull-24 {\n    right: 100%;\n  }\n  .ant-col-xl-offset-24 {\n    margin-left: 100%;\n  }\n  .ant-col-xl-order-24 {\n    order: 24;\n  }\n  .ant-col-xl-23 {\n    display: block;\n    flex: 0 0 95.83333333%;\n    max-width: 95.83333333%;\n  }\n  .ant-col-xl-push-23 {\n    left: 95.83333333%;\n  }\n  .ant-col-xl-pull-23 {\n    right: 95.83333333%;\n  }\n  .ant-col-xl-offset-23 {\n    margin-left: 95.83333333%;\n  }\n  .ant-col-xl-order-23 {\n    order: 23;\n  }\n  .ant-col-xl-22 {\n    display: block;\n    flex: 0 0 91.66666667%;\n    max-width: 91.66666667%;\n  }\n  .ant-col-xl-push-22 {\n    left: 91.66666667%;\n  }\n  .ant-col-xl-pull-22 {\n    right: 91.66666667%;\n  }\n  .ant-col-xl-offset-22 {\n    margin-left: 91.66666667%;\n  }\n  .ant-col-xl-order-22 {\n    order: 22;\n  }\n  .ant-col-xl-21 {\n    display: block;\n    flex: 0 0 87.5%;\n    max-width: 87.5%;\n  }\n  .ant-col-xl-push-21 {\n    left: 87.5%;\n  }\n  .ant-col-xl-pull-21 {\n    right: 87.5%;\n  }\n  .ant-col-xl-offset-21 {\n    margin-left: 87.5%;\n  }\n  .ant-col-xl-order-21 {\n    order: 21;\n  }\n  .ant-col-xl-20 {\n    display: block;\n    flex: 0 0 83.33333333%;\n    max-width: 83.33333333%;\n  }\n  .ant-col-xl-push-20 {\n    left: 83.33333333%;\n  }\n  .ant-col-xl-pull-20 {\n    right: 83.33333333%;\n  }\n  .ant-col-xl-offset-20 {\n    margin-left: 83.33333333%;\n  }\n  .ant-col-xl-order-20 {\n    order: 20;\n  }\n  .ant-col-xl-19 {\n    display: block;\n    flex: 0 0 79.16666667%;\n    max-width: 79.16666667%;\n  }\n  .ant-col-xl-push-19 {\n    left: 79.16666667%;\n  }\n  .ant-col-xl-pull-19 {\n    right: 79.16666667%;\n  }\n  .ant-col-xl-offset-19 {\n    margin-left: 79.16666667%;\n  }\n  .ant-col-xl-order-19 {\n    order: 19;\n  }\n  .ant-col-xl-18 {\n    display: block;\n    flex: 0 0 75%;\n    max-width: 75%;\n  }\n  .ant-col-xl-push-18 {\n    left: 75%;\n  }\n  .ant-col-xl-pull-18 {\n    right: 75%;\n  }\n  .ant-col-xl-offset-18 {\n    margin-left: 75%;\n  }\n  .ant-col-xl-order-18 {\n    order: 18;\n  }\n  .ant-col-xl-17 {\n    display: block;\n    flex: 0 0 70.83333333%;\n    max-width: 70.83333333%;\n  }\n  .ant-col-xl-push-17 {\n    left: 70.83333333%;\n  }\n  .ant-col-xl-pull-17 {\n    right: 70.83333333%;\n  }\n  .ant-col-xl-offset-17 {\n    margin-left: 70.83333333%;\n  }\n  .ant-col-xl-order-17 {\n    order: 17;\n  }\n  .ant-col-xl-16 {\n    display: block;\n    flex: 0 0 66.66666667%;\n    max-width: 66.66666667%;\n  }\n  .ant-col-xl-push-16 {\n    left: 66.66666667%;\n  }\n  .ant-col-xl-pull-16 {\n    right: 66.66666667%;\n  }\n  .ant-col-xl-offset-16 {\n    margin-left: 66.66666667%;\n  }\n  .ant-col-xl-order-16 {\n    order: 16;\n  }\n  .ant-col-xl-15 {\n    display: block;\n    flex: 0 0 62.5%;\n    max-width: 62.5%;\n  }\n  .ant-col-xl-push-15 {\n    left: 62.5%;\n  }\n  .ant-col-xl-pull-15 {\n    right: 62.5%;\n  }\n  .ant-col-xl-offset-15 {\n    margin-left: 62.5%;\n  }\n  .ant-col-xl-order-15 {\n    order: 15;\n  }\n  .ant-col-xl-14 {\n    display: block;\n    flex: 0 0 58.33333333%;\n    max-width: 58.33333333%;\n  }\n  .ant-col-xl-push-14 {\n    left: 58.33333333%;\n  }\n  .ant-col-xl-pull-14 {\n    right: 58.33333333%;\n  }\n  .ant-col-xl-offset-14 {\n    margin-left: 58.33333333%;\n  }\n  .ant-col-xl-order-14 {\n    order: 14;\n  }\n  .ant-col-xl-13 {\n    display: block;\n    flex: 0 0 54.16666667%;\n    max-width: 54.16666667%;\n  }\n  .ant-col-xl-push-13 {\n    left: 54.16666667%;\n  }\n  .ant-col-xl-pull-13 {\n    right: 54.16666667%;\n  }\n  .ant-col-xl-offset-13 {\n    margin-left: 54.16666667%;\n  }\n  .ant-col-xl-order-13 {\n    order: 13;\n  }\n  .ant-col-xl-12 {\n    display: block;\n    flex: 0 0 50%;\n    max-width: 50%;\n  }\n  .ant-col-xl-push-12 {\n    left: 50%;\n  }\n  .ant-col-xl-pull-12 {\n    right: 50%;\n  }\n  .ant-col-xl-offset-12 {\n    margin-left: 50%;\n  }\n  .ant-col-xl-order-12 {\n    order: 12;\n  }\n  .ant-col-xl-11 {\n    display: block;\n    flex: 0 0 45.83333333%;\n    max-width: 45.83333333%;\n  }\n  .ant-col-xl-push-11 {\n    left: 45.83333333%;\n  }\n  .ant-col-xl-pull-11 {\n    right: 45.83333333%;\n  }\n  .ant-col-xl-offset-11 {\n    margin-left: 45.83333333%;\n  }\n  .ant-col-xl-order-11 {\n    order: 11;\n  }\n  .ant-col-xl-10 {\n    display: block;\n    flex: 0 0 41.66666667%;\n    max-width: 41.66666667%;\n  }\n  .ant-col-xl-push-10 {\n    left: 41.66666667%;\n  }\n  .ant-col-xl-pull-10 {\n    right: 41.66666667%;\n  }\n  .ant-col-xl-offset-10 {\n    margin-left: 41.66666667%;\n  }\n  .ant-col-xl-order-10 {\n    order: 10;\n  }\n  .ant-col-xl-9 {\n    display: block;\n    flex: 0 0 37.5%;\n    max-width: 37.5%;\n  }\n  .ant-col-xl-push-9 {\n    left: 37.5%;\n  }\n  .ant-col-xl-pull-9 {\n    right: 37.5%;\n  }\n  .ant-col-xl-offset-9 {\n    margin-left: 37.5%;\n  }\n  .ant-col-xl-order-9 {\n    order: 9;\n  }\n  .ant-col-xl-8 {\n    display: block;\n    flex: 0 0 33.33333333%;\n    max-width: 33.33333333%;\n  }\n  .ant-col-xl-push-8 {\n    left: 33.33333333%;\n  }\n  .ant-col-xl-pull-8 {\n    right: 33.33333333%;\n  }\n  .ant-col-xl-offset-8 {\n    margin-left: 33.33333333%;\n  }\n  .ant-col-xl-order-8 {\n    order: 8;\n  }\n  .ant-col-xl-7 {\n    display: block;\n    flex: 0 0 29.16666667%;\n    max-width: 29.16666667%;\n  }\n  .ant-col-xl-push-7 {\n    left: 29.16666667%;\n  }\n  .ant-col-xl-pull-7 {\n    right: 29.16666667%;\n  }\n  .ant-col-xl-offset-7 {\n    margin-left: 29.16666667%;\n  }\n  .ant-col-xl-order-7 {\n    order: 7;\n  }\n  .ant-col-xl-6 {\n    display: block;\n    flex: 0 0 25%;\n    max-width: 25%;\n  }\n  .ant-col-xl-push-6 {\n    left: 25%;\n  }\n  .ant-col-xl-pull-6 {\n    right: 25%;\n  }\n  .ant-col-xl-offset-6 {\n    margin-left: 25%;\n  }\n  .ant-col-xl-order-6 {\n    order: 6;\n  }\n  .ant-col-xl-5 {\n    display: block;\n    flex: 0 0 20.83333333%;\n    max-width: 20.83333333%;\n  }\n  .ant-col-xl-push-5 {\n    left: 20.83333333%;\n  }\n  .ant-col-xl-pull-5 {\n    right: 20.83333333%;\n  }\n  .ant-col-xl-offset-5 {\n    margin-left: 20.83333333%;\n  }\n  .ant-col-xl-order-5 {\n    order: 5;\n  }\n  .ant-col-xl-4 {\n    display: block;\n    flex: 0 0 16.66666667%;\n    max-width: 16.66666667%;\n  }\n  .ant-col-xl-push-4 {\n    left: 16.66666667%;\n  }\n  .ant-col-xl-pull-4 {\n    right: 16.66666667%;\n  }\n  .ant-col-xl-offset-4 {\n    margin-left: 16.66666667%;\n  }\n  .ant-col-xl-order-4 {\n    order: 4;\n  }\n  .ant-col-xl-3 {\n    display: block;\n    flex: 0 0 12.5%;\n    max-width: 12.5%;\n  }\n  .ant-col-xl-push-3 {\n    left: 12.5%;\n  }\n  .ant-col-xl-pull-3 {\n    right: 12.5%;\n  }\n  .ant-col-xl-offset-3 {\n    margin-left: 12.5%;\n  }\n  .ant-col-xl-order-3 {\n    order: 3;\n  }\n  .ant-col-xl-2 {\n    display: block;\n    flex: 0 0 8.33333333%;\n    max-width: 8.33333333%;\n  }\n  .ant-col-xl-push-2 {\n    left: 8.33333333%;\n  }\n  .ant-col-xl-pull-2 {\n    right: 8.33333333%;\n  }\n  .ant-col-xl-offset-2 {\n    margin-left: 8.33333333%;\n  }\n  .ant-col-xl-order-2 {\n    order: 2;\n  }\n  .ant-col-xl-1 {\n    display: block;\n    flex: 0 0 4.16666667%;\n    max-width: 4.16666667%;\n  }\n  .ant-col-xl-push-1 {\n    left: 4.16666667%;\n  }\n  .ant-col-xl-pull-1 {\n    right: 4.16666667%;\n  }\n  .ant-col-xl-offset-1 {\n    margin-left: 4.16666667%;\n  }\n  .ant-col-xl-order-1 {\n    order: 1;\n  }\n  .ant-col-xl-0 {\n    display: none;\n  }\n  .ant-col-push-0 {\n    left: auto;\n  }\n  .ant-col-pull-0 {\n    right: auto;\n  }\n  .ant-col-xl-push-0 {\n    left: auto;\n  }\n  .ant-col-xl-pull-0 {\n    right: auto;\n  }\n  .ant-col-xl-offset-0 {\n    margin-left: 0;\n  }\n  .ant-col-xl-order-0 {\n    order: 0;\n  }\n  .ant-col-push-0.ant-col-rtl {\n    right: auto;\n  }\n  .ant-col-pull-0.ant-col-rtl {\n    left: auto;\n  }\n  .ant-col-xl-push-0.ant-col-rtl {\n    right: auto;\n  }\n  .ant-col-xl-pull-0.ant-col-rtl {\n    left: auto;\n  }\n  .ant-col-xl-offset-0.ant-col-rtl {\n    margin-right: 0;\n  }\n  .ant-col-xl-push-1.ant-col-rtl {\n    right: 4.16666667%;\n    left: auto;\n  }\n  .ant-col-xl-pull-1.ant-col-rtl {\n    right: auto;\n    left: 4.16666667%;\n  }\n  .ant-col-xl-offset-1.ant-col-rtl {\n    margin-right: 4.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-2.ant-col-rtl {\n    right: 8.33333333%;\n    left: auto;\n  }\n  .ant-col-xl-pull-2.ant-col-rtl {\n    right: auto;\n    left: 8.33333333%;\n  }\n  .ant-col-xl-offset-2.ant-col-rtl {\n    margin-right: 8.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-3.ant-col-rtl {\n    right: 12.5%;\n    left: auto;\n  }\n  .ant-col-xl-pull-3.ant-col-rtl {\n    right: auto;\n    left: 12.5%;\n  }\n  .ant-col-xl-offset-3.ant-col-rtl {\n    margin-right: 12.5%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-4.ant-col-rtl {\n    right: 16.66666667%;\n    left: auto;\n  }\n  .ant-col-xl-pull-4.ant-col-rtl {\n    right: auto;\n    left: 16.66666667%;\n  }\n  .ant-col-xl-offset-4.ant-col-rtl {\n    margin-right: 16.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-5.ant-col-rtl {\n    right: 20.83333333%;\n    left: auto;\n  }\n  .ant-col-xl-pull-5.ant-col-rtl {\n    right: auto;\n    left: 20.83333333%;\n  }\n  .ant-col-xl-offset-5.ant-col-rtl {\n    margin-right: 20.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-6.ant-col-rtl {\n    right: 25%;\n    left: auto;\n  }\n  .ant-col-xl-pull-6.ant-col-rtl {\n    right: auto;\n    left: 25%;\n  }\n  .ant-col-xl-offset-6.ant-col-rtl {\n    margin-right: 25%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-7.ant-col-rtl {\n    right: 29.16666667%;\n    left: auto;\n  }\n  .ant-col-xl-pull-7.ant-col-rtl {\n    right: auto;\n    left: 29.16666667%;\n  }\n  .ant-col-xl-offset-7.ant-col-rtl {\n    margin-right: 29.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-8.ant-col-rtl {\n    right: 33.33333333%;\n    left: auto;\n  }\n  .ant-col-xl-pull-8.ant-col-rtl {\n    right: auto;\n    left: 33.33333333%;\n  }\n  .ant-col-xl-offset-8.ant-col-rtl {\n    margin-right: 33.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-9.ant-col-rtl {\n    right: 37.5%;\n    left: auto;\n  }\n  .ant-col-xl-pull-9.ant-col-rtl {\n    right: auto;\n    left: 37.5%;\n  }\n  .ant-col-xl-offset-9.ant-col-rtl {\n    margin-right: 37.5%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-10.ant-col-rtl {\n    right: 41.66666667%;\n    left: auto;\n  }\n  .ant-col-xl-pull-10.ant-col-rtl {\n    right: auto;\n    left: 41.66666667%;\n  }\n  .ant-col-xl-offset-10.ant-col-rtl {\n    margin-right: 41.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-11.ant-col-rtl {\n    right: 45.83333333%;\n    left: auto;\n  }\n  .ant-col-xl-pull-11.ant-col-rtl {\n    right: auto;\n    left: 45.83333333%;\n  }\n  .ant-col-xl-offset-11.ant-col-rtl {\n    margin-right: 45.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-12.ant-col-rtl {\n    right: 50%;\n    left: auto;\n  }\n  .ant-col-xl-pull-12.ant-col-rtl {\n    right: auto;\n    left: 50%;\n  }\n  .ant-col-xl-offset-12.ant-col-rtl {\n    margin-right: 50%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-13.ant-col-rtl {\n    right: 54.16666667%;\n    left: auto;\n  }\n  .ant-col-xl-pull-13.ant-col-rtl {\n    right: auto;\n    left: 54.16666667%;\n  }\n  .ant-col-xl-offset-13.ant-col-rtl {\n    margin-right: 54.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-14.ant-col-rtl {\n    right: 58.33333333%;\n    left: auto;\n  }\n  .ant-col-xl-pull-14.ant-col-rtl {\n    right: auto;\n    left: 58.33333333%;\n  }\n  .ant-col-xl-offset-14.ant-col-rtl {\n    margin-right: 58.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-15.ant-col-rtl {\n    right: 62.5%;\n    left: auto;\n  }\n  .ant-col-xl-pull-15.ant-col-rtl {\n    right: auto;\n    left: 62.5%;\n  }\n  .ant-col-xl-offset-15.ant-col-rtl {\n    margin-right: 62.5%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-16.ant-col-rtl {\n    right: 66.66666667%;\n    left: auto;\n  }\n  .ant-col-xl-pull-16.ant-col-rtl {\n    right: auto;\n    left: 66.66666667%;\n  }\n  .ant-col-xl-offset-16.ant-col-rtl {\n    margin-right: 66.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-17.ant-col-rtl {\n    right: 70.83333333%;\n    left: auto;\n  }\n  .ant-col-xl-pull-17.ant-col-rtl {\n    right: auto;\n    left: 70.83333333%;\n  }\n  .ant-col-xl-offset-17.ant-col-rtl {\n    margin-right: 70.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-18.ant-col-rtl {\n    right: 75%;\n    left: auto;\n  }\n  .ant-col-xl-pull-18.ant-col-rtl {\n    right: auto;\n    left: 75%;\n  }\n  .ant-col-xl-offset-18.ant-col-rtl {\n    margin-right: 75%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-19.ant-col-rtl {\n    right: 79.16666667%;\n    left: auto;\n  }\n  .ant-col-xl-pull-19.ant-col-rtl {\n    right: auto;\n    left: 79.16666667%;\n  }\n  .ant-col-xl-offset-19.ant-col-rtl {\n    margin-right: 79.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-20.ant-col-rtl {\n    right: 83.33333333%;\n    left: auto;\n  }\n  .ant-col-xl-pull-20.ant-col-rtl {\n    right: auto;\n    left: 83.33333333%;\n  }\n  .ant-col-xl-offset-20.ant-col-rtl {\n    margin-right: 83.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-21.ant-col-rtl {\n    right: 87.5%;\n    left: auto;\n  }\n  .ant-col-xl-pull-21.ant-col-rtl {\n    right: auto;\n    left: 87.5%;\n  }\n  .ant-col-xl-offset-21.ant-col-rtl {\n    margin-right: 87.5%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-22.ant-col-rtl {\n    right: 91.66666667%;\n    left: auto;\n  }\n  .ant-col-xl-pull-22.ant-col-rtl {\n    right: auto;\n    left: 91.66666667%;\n  }\n  .ant-col-xl-offset-22.ant-col-rtl {\n    margin-right: 91.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-23.ant-col-rtl {\n    right: 95.83333333%;\n    left: auto;\n  }\n  .ant-col-xl-pull-23.ant-col-rtl {\n    right: auto;\n    left: 95.83333333%;\n  }\n  .ant-col-xl-offset-23.ant-col-rtl {\n    margin-right: 95.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-24.ant-col-rtl {\n    right: 100%;\n    left: auto;\n  }\n  .ant-col-xl-pull-24.ant-col-rtl {\n    right: auto;\n    left: 100%;\n  }\n  .ant-col-xl-offset-24.ant-col-rtl {\n    margin-right: 100%;\n    margin-left: 0;\n  }\n}\n@media (min-width: 1600px) {\n  .ant-col-xxl-24 {\n    display: block;\n    flex: 0 0 100%;\n    max-width: 100%;\n  }\n  .ant-col-xxl-push-24 {\n    left: 100%;\n  }\n  .ant-col-xxl-pull-24 {\n    right: 100%;\n  }\n  .ant-col-xxl-offset-24 {\n    margin-left: 100%;\n  }\n  .ant-col-xxl-order-24 {\n    order: 24;\n  }\n  .ant-col-xxl-23 {\n    display: block;\n    flex: 0 0 95.83333333%;\n    max-width: 95.83333333%;\n  }\n  .ant-col-xxl-push-23 {\n    left: 95.83333333%;\n  }\n  .ant-col-xxl-pull-23 {\n    right: 95.83333333%;\n  }\n  .ant-col-xxl-offset-23 {\n    margin-left: 95.83333333%;\n  }\n  .ant-col-xxl-order-23 {\n    order: 23;\n  }\n  .ant-col-xxl-22 {\n    display: block;\n    flex: 0 0 91.66666667%;\n    max-width: 91.66666667%;\n  }\n  .ant-col-xxl-push-22 {\n    left: 91.66666667%;\n  }\n  .ant-col-xxl-pull-22 {\n    right: 91.66666667%;\n  }\n  .ant-col-xxl-offset-22 {\n    margin-left: 91.66666667%;\n  }\n  .ant-col-xxl-order-22 {\n    order: 22;\n  }\n  .ant-col-xxl-21 {\n    display: block;\n    flex: 0 0 87.5%;\n    max-width: 87.5%;\n  }\n  .ant-col-xxl-push-21 {\n    left: 87.5%;\n  }\n  .ant-col-xxl-pull-21 {\n    right: 87.5%;\n  }\n  .ant-col-xxl-offset-21 {\n    margin-left: 87.5%;\n  }\n  .ant-col-xxl-order-21 {\n    order: 21;\n  }\n  .ant-col-xxl-20 {\n    display: block;\n    flex: 0 0 83.33333333%;\n    max-width: 83.33333333%;\n  }\n  .ant-col-xxl-push-20 {\n    left: 83.33333333%;\n  }\n  .ant-col-xxl-pull-20 {\n    right: 83.33333333%;\n  }\n  .ant-col-xxl-offset-20 {\n    margin-left: 83.33333333%;\n  }\n  .ant-col-xxl-order-20 {\n    order: 20;\n  }\n  .ant-col-xxl-19 {\n    display: block;\n    flex: 0 0 79.16666667%;\n    max-width: 79.16666667%;\n  }\n  .ant-col-xxl-push-19 {\n    left: 79.16666667%;\n  }\n  .ant-col-xxl-pull-19 {\n    right: 79.16666667%;\n  }\n  .ant-col-xxl-offset-19 {\n    margin-left: 79.16666667%;\n  }\n  .ant-col-xxl-order-19 {\n    order: 19;\n  }\n  .ant-col-xxl-18 {\n    display: block;\n    flex: 0 0 75%;\n    max-width: 75%;\n  }\n  .ant-col-xxl-push-18 {\n    left: 75%;\n  }\n  .ant-col-xxl-pull-18 {\n    right: 75%;\n  }\n  .ant-col-xxl-offset-18 {\n    margin-left: 75%;\n  }\n  .ant-col-xxl-order-18 {\n    order: 18;\n  }\n  .ant-col-xxl-17 {\n    display: block;\n    flex: 0 0 70.83333333%;\n    max-width: 70.83333333%;\n  }\n  .ant-col-xxl-push-17 {\n    left: 70.83333333%;\n  }\n  .ant-col-xxl-pull-17 {\n    right: 70.83333333%;\n  }\n  .ant-col-xxl-offset-17 {\n    margin-left: 70.83333333%;\n  }\n  .ant-col-xxl-order-17 {\n    order: 17;\n  }\n  .ant-col-xxl-16 {\n    display: block;\n    flex: 0 0 66.66666667%;\n    max-width: 66.66666667%;\n  }\n  .ant-col-xxl-push-16 {\n    left: 66.66666667%;\n  }\n  .ant-col-xxl-pull-16 {\n    right: 66.66666667%;\n  }\n  .ant-col-xxl-offset-16 {\n    margin-left: 66.66666667%;\n  }\n  .ant-col-xxl-order-16 {\n    order: 16;\n  }\n  .ant-col-xxl-15 {\n    display: block;\n    flex: 0 0 62.5%;\n    max-width: 62.5%;\n  }\n  .ant-col-xxl-push-15 {\n    left: 62.5%;\n  }\n  .ant-col-xxl-pull-15 {\n    right: 62.5%;\n  }\n  .ant-col-xxl-offset-15 {\n    margin-left: 62.5%;\n  }\n  .ant-col-xxl-order-15 {\n    order: 15;\n  }\n  .ant-col-xxl-14 {\n    display: block;\n    flex: 0 0 58.33333333%;\n    max-width: 58.33333333%;\n  }\n  .ant-col-xxl-push-14 {\n    left: 58.33333333%;\n  }\n  .ant-col-xxl-pull-14 {\n    right: 58.33333333%;\n  }\n  .ant-col-xxl-offset-14 {\n    margin-left: 58.33333333%;\n  }\n  .ant-col-xxl-order-14 {\n    order: 14;\n  }\n  .ant-col-xxl-13 {\n    display: block;\n    flex: 0 0 54.16666667%;\n    max-width: 54.16666667%;\n  }\n  .ant-col-xxl-push-13 {\n    left: 54.16666667%;\n  }\n  .ant-col-xxl-pull-13 {\n    right: 54.16666667%;\n  }\n  .ant-col-xxl-offset-13 {\n    margin-left: 54.16666667%;\n  }\n  .ant-col-xxl-order-13 {\n    order: 13;\n  }\n  .ant-col-xxl-12 {\n    display: block;\n    flex: 0 0 50%;\n    max-width: 50%;\n  }\n  .ant-col-xxl-push-12 {\n    left: 50%;\n  }\n  .ant-col-xxl-pull-12 {\n    right: 50%;\n  }\n  .ant-col-xxl-offset-12 {\n    margin-left: 50%;\n  }\n  .ant-col-xxl-order-12 {\n    order: 12;\n  }\n  .ant-col-xxl-11 {\n    display: block;\n    flex: 0 0 45.83333333%;\n    max-width: 45.83333333%;\n  }\n  .ant-col-xxl-push-11 {\n    left: 45.83333333%;\n  }\n  .ant-col-xxl-pull-11 {\n    right: 45.83333333%;\n  }\n  .ant-col-xxl-offset-11 {\n    margin-left: 45.83333333%;\n  }\n  .ant-col-xxl-order-11 {\n    order: 11;\n  }\n  .ant-col-xxl-10 {\n    display: block;\n    flex: 0 0 41.66666667%;\n    max-width: 41.66666667%;\n  }\n  .ant-col-xxl-push-10 {\n    left: 41.66666667%;\n  }\n  .ant-col-xxl-pull-10 {\n    right: 41.66666667%;\n  }\n  .ant-col-xxl-offset-10 {\n    margin-left: 41.66666667%;\n  }\n  .ant-col-xxl-order-10 {\n    order: 10;\n  }\n  .ant-col-xxl-9 {\n    display: block;\n    flex: 0 0 37.5%;\n    max-width: 37.5%;\n  }\n  .ant-col-xxl-push-9 {\n    left: 37.5%;\n  }\n  .ant-col-xxl-pull-9 {\n    right: 37.5%;\n  }\n  .ant-col-xxl-offset-9 {\n    margin-left: 37.5%;\n  }\n  .ant-col-xxl-order-9 {\n    order: 9;\n  }\n  .ant-col-xxl-8 {\n    display: block;\n    flex: 0 0 33.33333333%;\n    max-width: 33.33333333%;\n  }\n  .ant-col-xxl-push-8 {\n    left: 33.33333333%;\n  }\n  .ant-col-xxl-pull-8 {\n    right: 33.33333333%;\n  }\n  .ant-col-xxl-offset-8 {\n    margin-left: 33.33333333%;\n  }\n  .ant-col-xxl-order-8 {\n    order: 8;\n  }\n  .ant-col-xxl-7 {\n    display: block;\n    flex: 0 0 29.16666667%;\n    max-width: 29.16666667%;\n  }\n  .ant-col-xxl-push-7 {\n    left: 29.16666667%;\n  }\n  .ant-col-xxl-pull-7 {\n    right: 29.16666667%;\n  }\n  .ant-col-xxl-offset-7 {\n    margin-left: 29.16666667%;\n  }\n  .ant-col-xxl-order-7 {\n    order: 7;\n  }\n  .ant-col-xxl-6 {\n    display: block;\n    flex: 0 0 25%;\n    max-width: 25%;\n  }\n  .ant-col-xxl-push-6 {\n    left: 25%;\n  }\n  .ant-col-xxl-pull-6 {\n    right: 25%;\n  }\n  .ant-col-xxl-offset-6 {\n    margin-left: 25%;\n  }\n  .ant-col-xxl-order-6 {\n    order: 6;\n  }\n  .ant-col-xxl-5 {\n    display: block;\n    flex: 0 0 20.83333333%;\n    max-width: 20.83333333%;\n  }\n  .ant-col-xxl-push-5 {\n    left: 20.83333333%;\n  }\n  .ant-col-xxl-pull-5 {\n    right: 20.83333333%;\n  }\n  .ant-col-xxl-offset-5 {\n    margin-left: 20.83333333%;\n  }\n  .ant-col-xxl-order-5 {\n    order: 5;\n  }\n  .ant-col-xxl-4 {\n    display: block;\n    flex: 0 0 16.66666667%;\n    max-width: 16.66666667%;\n  }\n  .ant-col-xxl-push-4 {\n    left: 16.66666667%;\n  }\n  .ant-col-xxl-pull-4 {\n    right: 16.66666667%;\n  }\n  .ant-col-xxl-offset-4 {\n    margin-left: 16.66666667%;\n  }\n  .ant-col-xxl-order-4 {\n    order: 4;\n  }\n  .ant-col-xxl-3 {\n    display: block;\n    flex: 0 0 12.5%;\n    max-width: 12.5%;\n  }\n  .ant-col-xxl-push-3 {\n    left: 12.5%;\n  }\n  .ant-col-xxl-pull-3 {\n    right: 12.5%;\n  }\n  .ant-col-xxl-offset-3 {\n    margin-left: 12.5%;\n  }\n  .ant-col-xxl-order-3 {\n    order: 3;\n  }\n  .ant-col-xxl-2 {\n    display: block;\n    flex: 0 0 8.33333333%;\n    max-width: 8.33333333%;\n  }\n  .ant-col-xxl-push-2 {\n    left: 8.33333333%;\n  }\n  .ant-col-xxl-pull-2 {\n    right: 8.33333333%;\n  }\n  .ant-col-xxl-offset-2 {\n    margin-left: 8.33333333%;\n  }\n  .ant-col-xxl-order-2 {\n    order: 2;\n  }\n  .ant-col-xxl-1 {\n    display: block;\n    flex: 0 0 4.16666667%;\n    max-width: 4.16666667%;\n  }\n  .ant-col-xxl-push-1 {\n    left: 4.16666667%;\n  }\n  .ant-col-xxl-pull-1 {\n    right: 4.16666667%;\n  }\n  .ant-col-xxl-offset-1 {\n    margin-left: 4.16666667%;\n  }\n  .ant-col-xxl-order-1 {\n    order: 1;\n  }\n  .ant-col-xxl-0 {\n    display: none;\n  }\n  .ant-col-push-0 {\n    left: auto;\n  }\n  .ant-col-pull-0 {\n    right: auto;\n  }\n  .ant-col-xxl-push-0 {\n    left: auto;\n  }\n  .ant-col-xxl-pull-0 {\n    right: auto;\n  }\n  .ant-col-xxl-offset-0 {\n    margin-left: 0;\n  }\n  .ant-col-xxl-order-0 {\n    order: 0;\n  }\n  .ant-col-push-0.ant-col-rtl {\n    right: auto;\n  }\n  .ant-col-pull-0.ant-col-rtl {\n    left: auto;\n  }\n  .ant-col-xxl-push-0.ant-col-rtl {\n    right: auto;\n  }\n  .ant-col-xxl-pull-0.ant-col-rtl {\n    left: auto;\n  }\n  .ant-col-xxl-offset-0.ant-col-rtl {\n    margin-right: 0;\n  }\n  .ant-col-xxl-push-1.ant-col-rtl {\n    right: 4.16666667%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-1.ant-col-rtl {\n    right: auto;\n    left: 4.16666667%;\n  }\n  .ant-col-xxl-offset-1.ant-col-rtl {\n    margin-right: 4.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-2.ant-col-rtl {\n    right: 8.33333333%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-2.ant-col-rtl {\n    right: auto;\n    left: 8.33333333%;\n  }\n  .ant-col-xxl-offset-2.ant-col-rtl {\n    margin-right: 8.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-3.ant-col-rtl {\n    right: 12.5%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-3.ant-col-rtl {\n    right: auto;\n    left: 12.5%;\n  }\n  .ant-col-xxl-offset-3.ant-col-rtl {\n    margin-right: 12.5%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-4.ant-col-rtl {\n    right: 16.66666667%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-4.ant-col-rtl {\n    right: auto;\n    left: 16.66666667%;\n  }\n  .ant-col-xxl-offset-4.ant-col-rtl {\n    margin-right: 16.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-5.ant-col-rtl {\n    right: 20.83333333%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-5.ant-col-rtl {\n    right: auto;\n    left: 20.83333333%;\n  }\n  .ant-col-xxl-offset-5.ant-col-rtl {\n    margin-right: 20.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-6.ant-col-rtl {\n    right: 25%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-6.ant-col-rtl {\n    right: auto;\n    left: 25%;\n  }\n  .ant-col-xxl-offset-6.ant-col-rtl {\n    margin-right: 25%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-7.ant-col-rtl {\n    right: 29.16666667%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-7.ant-col-rtl {\n    right: auto;\n    left: 29.16666667%;\n  }\n  .ant-col-xxl-offset-7.ant-col-rtl {\n    margin-right: 29.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-8.ant-col-rtl {\n    right: 33.33333333%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-8.ant-col-rtl {\n    right: auto;\n    left: 33.33333333%;\n  }\n  .ant-col-xxl-offset-8.ant-col-rtl {\n    margin-right: 33.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-9.ant-col-rtl {\n    right: 37.5%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-9.ant-col-rtl {\n    right: auto;\n    left: 37.5%;\n  }\n  .ant-col-xxl-offset-9.ant-col-rtl {\n    margin-right: 37.5%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-10.ant-col-rtl {\n    right: 41.66666667%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-10.ant-col-rtl {\n    right: auto;\n    left: 41.66666667%;\n  }\n  .ant-col-xxl-offset-10.ant-col-rtl {\n    margin-right: 41.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-11.ant-col-rtl {\n    right: 45.83333333%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-11.ant-col-rtl {\n    right: auto;\n    left: 45.83333333%;\n  }\n  .ant-col-xxl-offset-11.ant-col-rtl {\n    margin-right: 45.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-12.ant-col-rtl {\n    right: 50%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-12.ant-col-rtl {\n    right: auto;\n    left: 50%;\n  }\n  .ant-col-xxl-offset-12.ant-col-rtl {\n    margin-right: 50%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-13.ant-col-rtl {\n    right: 54.16666667%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-13.ant-col-rtl {\n    right: auto;\n    left: 54.16666667%;\n  }\n  .ant-col-xxl-offset-13.ant-col-rtl {\n    margin-right: 54.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-14.ant-col-rtl {\n    right: 58.33333333%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-14.ant-col-rtl {\n    right: auto;\n    left: 58.33333333%;\n  }\n  .ant-col-xxl-offset-14.ant-col-rtl {\n    margin-right: 58.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-15.ant-col-rtl {\n    right: 62.5%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-15.ant-col-rtl {\n    right: auto;\n    left: 62.5%;\n  }\n  .ant-col-xxl-offset-15.ant-col-rtl {\n    margin-right: 62.5%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-16.ant-col-rtl {\n    right: 66.66666667%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-16.ant-col-rtl {\n    right: auto;\n    left: 66.66666667%;\n  }\n  .ant-col-xxl-offset-16.ant-col-rtl {\n    margin-right: 66.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-17.ant-col-rtl {\n    right: 70.83333333%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-17.ant-col-rtl {\n    right: auto;\n    left: 70.83333333%;\n  }\n  .ant-col-xxl-offset-17.ant-col-rtl {\n    margin-right: 70.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-18.ant-col-rtl {\n    right: 75%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-18.ant-col-rtl {\n    right: auto;\n    left: 75%;\n  }\n  .ant-col-xxl-offset-18.ant-col-rtl {\n    margin-right: 75%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-19.ant-col-rtl {\n    right: 79.16666667%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-19.ant-col-rtl {\n    right: auto;\n    left: 79.16666667%;\n  }\n  .ant-col-xxl-offset-19.ant-col-rtl {\n    margin-right: 79.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-20.ant-col-rtl {\n    right: 83.33333333%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-20.ant-col-rtl {\n    right: auto;\n    left: 83.33333333%;\n  }\n  .ant-col-xxl-offset-20.ant-col-rtl {\n    margin-right: 83.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-21.ant-col-rtl {\n    right: 87.5%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-21.ant-col-rtl {\n    right: auto;\n    left: 87.5%;\n  }\n  .ant-col-xxl-offset-21.ant-col-rtl {\n    margin-right: 87.5%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-22.ant-col-rtl {\n    right: 91.66666667%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-22.ant-col-rtl {\n    right: auto;\n    left: 91.66666667%;\n  }\n  .ant-col-xxl-offset-22.ant-col-rtl {\n    margin-right: 91.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-23.ant-col-rtl {\n    right: 95.83333333%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-23.ant-col-rtl {\n    right: auto;\n    left: 95.83333333%;\n  }\n  .ant-col-xxl-offset-23.ant-col-rtl {\n    margin-right: 95.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-24.ant-col-rtl {\n    right: 100%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-24.ant-col-rtl {\n    right: auto;\n    left: 100%;\n  }\n  .ant-col-xxl-offset-24.ant-col-rtl {\n    margin-right: 100%;\n    margin-left: 0;\n  }\n}\n.ant-row-rtl {\n  direction: rtl;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-switch {\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: relative;\n  display: inline-block;\n  box-sizing: border-box;\n  min-width: 44px;\n  height: 22px;\n  line-height: 22px;\n  vertical-align: middle;\n  background-color: rgba(0, 0, 0, 0.25);\n  border: 0;\n  border-radius: 100px;\n  cursor: pointer;\n  transition: all 0.2s;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n}\n.ant-switch:focus {\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);\n}\n.ant-switch-checked:focus {\n  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n}\n.ant-switch:focus:hover {\n  box-shadow: none;\n}\n.ant-switch-checked {\n  background-color: #1890ff;\n}\n.ant-switch-loading,\n.ant-switch-disabled {\n  cursor: not-allowed;\n  opacity: 0.4;\n}\n.ant-switch-loading *,\n.ant-switch-disabled * {\n  box-shadow: none;\n  cursor: not-allowed;\n}\n.ant-switch-inner {\n  display: block;\n  margin: 0 7px 0 25px;\n  color: #fff;\n  font-size: 12px;\n  transition: margin 0.2s;\n}\n.ant-switch-checked .ant-switch-inner {\n  margin: 0 25px 0 7px;\n}\n.ant-switch-handle {\n  position: absolute;\n  top: 2px;\n  left: 2px;\n  width: 18px;\n  height: 18px;\n  transition: all 0.2s ease-in-out;\n}\n.ant-switch-handle::before {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background-color: #fff;\n  border-radius: 9px;\n  box-shadow: 0 2px 4px 0 rgba(0, 35, 11, 0.2);\n  transition: all 0.2s ease-in-out;\n  content: '';\n}\n.ant-switch-checked .ant-switch-handle {\n  left: calc(100% - 18px - 2px);\n}\n.ant-switch:not(.ant-switch-disabled):active .ant-switch-handle::before {\n  right: -30%;\n  left: 0;\n}\n.ant-switch:not(.ant-switch-disabled):active.ant-switch-checked .ant-switch-handle::before {\n  right: 0;\n  left: -30%;\n}\n.ant-switch-loading-icon {\n  position: relative;\n  top: 2px;\n  color: rgba(0, 0, 0, 0.65);\n  vertical-align: top;\n}\n.ant-switch-checked .ant-switch-loading-icon {\n  color: #1890ff;\n}\n.ant-switch-small {\n  min-width: 28px;\n  height: 16px;\n  line-height: 16px;\n}\n.ant-switch-small .ant-switch-inner {\n  margin: 0 5px 0 18px;\n  font-size: 12px;\n}\n.ant-switch-small .ant-switch-handle {\n  width: 12px;\n  height: 12px;\n}\n.ant-switch-small .ant-switch-loading-icon {\n  top: 1.5px;\n  font-size: 9px;\n}\n.ant-switch-small.ant-switch-checked .ant-switch-inner {\n  margin: 0 18px 0 5px;\n}\n.ant-switch-small.ant-switch-checked .ant-switch-handle {\n  left: calc(100% - 12px - 2px);\n}\n.ant-switch-rtl {\n  direction: rtl;\n}\n.ant-switch-rtl .ant-switch-inner {\n  margin: 0 25px 0 7px;\n}\n.ant-switch-rtl .ant-switch-handle {\n  right: 2px;\n  left: auto;\n}\n.ant-switch-rtl:not(.ant-switch-rtl-disabled):active .ant-switch-handle::before {\n  right: 0;\n  left: -30%;\n}\n.ant-switch-rtl:not(.ant-switch-rtl-disabled):active.ant-switch-checked .ant-switch-handle::before {\n  right: -30%;\n  left: 0;\n}\n.ant-switch-rtl.ant-switch-checked .ant-switch-inner {\n  margin: 0 7px 0 25px;\n}\n.ant-switch-rtl.ant-switch-checked .ant-switch-handle {\n  right: calc(100% - 18px - 2px);\n}\n.ant-switch-rtl.ant-switch-small.ant-switch-checked .ant-switch-handle {\n  right: calc(100% - 12px - 2px);\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-menu-item-danger.ant-menu-item {\n  color: #ff4d4f;\n}\n.ant-menu-item-danger.ant-menu-item:hover,\n.ant-menu-item-danger.ant-menu-item-active {\n  color: #ff4d4f;\n}\n.ant-menu-item-danger.ant-menu-item:active {\n  background: #fff1f0;\n}\n.ant-menu-item-danger.ant-menu-item-selected {\n  color: #ff4d4f;\n}\n.ant-menu-item-danger.ant-menu-item-selected > a,\n.ant-menu-item-danger.ant-menu-item-selected > a:hover {\n  color: #ff4d4f;\n}\n.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected {\n  background-color: #fff1f0;\n}\n.ant-menu-inline .ant-menu-item-danger.ant-menu-item::after {\n  border-right-color: #ff4d4f;\n}\n.ant-menu-dark .ant-menu-item-danger.ant-menu-item,\n.ant-menu-dark .ant-menu-item-danger.ant-menu-item:hover,\n.ant-menu-dark .ant-menu-item-danger.ant-menu-item > a {\n  color: #ff4d4f;\n}\n.ant-menu-dark.ant-menu-dark:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected {\n  color: #fff;\n  background-color: #ff4d4f;\n}\n.ant-menu {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  font-feature-settings: 'tnum';\n  margin-bottom: 0;\n  padding-left: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  line-height: 0;\n  text-align: left;\n  list-style: none;\n  background: #fff;\n  outline: none;\n  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n  transition: background 0.3s, width 0.3s cubic-bezier(0.2, 0, 0, 1) 0s;\n}\n.ant-menu::before {\n  display: table;\n  content: '';\n}\n.ant-menu::after {\n  display: table;\n  clear: both;\n  content: '';\n}\n.ant-menu.ant-menu-root:focus-visible {\n  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n}\n.ant-menu ul,\n.ant-menu ol {\n  margin: 0;\n  padding: 0;\n  list-style: none;\n}\n.ant-menu-overflow {\n  display: flex;\n}\n.ant-menu-overflow-item {\n  flex: none;\n}\n.ant-menu-hidden,\n.ant-menu-submenu-hidden {\n  display: none;\n}\n.ant-menu-item-group-title {\n  height: 1.5715;\n  padding: 8px 16px;\n  color: rgba(0, 0, 0, 0.45);\n  font-size: 14px;\n  line-height: 1.5715;\n  transition: all 0.3s;\n}\n.ant-menu-horizontal .ant-menu-submenu {\n  transition: border-color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n.ant-menu-submenu,\n.ant-menu-submenu-inline {\n  transition: border-color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), padding 0.15s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n.ant-menu-submenu-selected {\n  color: #1890ff;\n}\n.ant-menu-item:active,\n.ant-menu-submenu-title:active {\n  background: #e6f7ff;\n}\n.ant-menu-submenu .ant-menu-sub {\n  cursor: initial;\n  transition: background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), padding 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n.ant-menu-item a {\n  color: rgba(0, 0, 0, 0.85);\n}\n.ant-menu-item a:hover {\n  color: #1890ff;\n}\n.ant-menu-item a::before {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background-color: transparent;\n  content: '';\n}\n.ant-menu-item > .ant-badge a {\n  color: rgba(0, 0, 0, 0.85);\n}\n.ant-menu-item > .ant-badge a:hover {\n  color: #1890ff;\n}\n.ant-menu-item-divider {\n  height: 1px;\n  overflow: hidden;\n  line-height: 0;\n  background-color: #f0f0f0;\n}\n.ant-menu-item:hover,\n.ant-menu-item-active,\n.ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open,\n.ant-menu-submenu-active,\n.ant-menu-submenu-title:hover {\n  color: #1890ff;\n}\n.ant-menu-horizontal .ant-menu-item,\n.ant-menu-horizontal .ant-menu-submenu {\n  margin-top: -1px;\n}\n.ant-menu-horizontal > .ant-menu-item:hover,\n.ant-menu-horizontal > .ant-menu-item-active,\n.ant-menu-horizontal > .ant-menu-submenu .ant-menu-submenu-title:hover {\n  background-color: transparent;\n}\n.ant-menu-item-selected {\n  color: #1890ff;\n}\n.ant-menu-item-selected a,\n.ant-menu-item-selected a:hover {\n  color: #1890ff;\n}\n.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {\n  background-color: #e6f7ff;\n}\n.ant-menu-inline,\n.ant-menu-vertical,\n.ant-menu-vertical-left {\n  border-right: 1px solid #f0f0f0;\n}\n.ant-menu-vertical-right {\n  border-left: 1px solid #f0f0f0;\n}\n.ant-menu-vertical.ant-menu-sub,\n.ant-menu-vertical-left.ant-menu-sub,\n.ant-menu-vertical-right.ant-menu-sub {\n  min-width: 160px;\n  max-height: calc(100vh - 100px);\n  padding: 0;\n  overflow: hidden;\n  border-right: 0;\n}\n.ant-menu-vertical.ant-menu-sub:not([class*='-active']),\n.ant-menu-vertical-left.ant-menu-sub:not([class*='-active']),\n.ant-menu-vertical-right.ant-menu-sub:not([class*='-active']) {\n  overflow-x: hidden;\n  overflow-y: auto;\n}\n.ant-menu-vertical.ant-menu-sub .ant-menu-item,\n.ant-menu-vertical-left.ant-menu-sub .ant-menu-item,\n.ant-menu-vertical-right.ant-menu-sub .ant-menu-item {\n  left: 0;\n  margin-left: 0;\n  border-right: 0;\n}\n.ant-menu-vertical.ant-menu-sub .ant-menu-item::after,\n.ant-menu-vertical-left.ant-menu-sub .ant-menu-item::after,\n.ant-menu-vertical-right.ant-menu-sub .ant-menu-item::after {\n  border-right: 0;\n}\n.ant-menu-vertical.ant-menu-sub > .ant-menu-item,\n.ant-menu-vertical-left.ant-menu-sub > .ant-menu-item,\n.ant-menu-vertical-right.ant-menu-sub > .ant-menu-item,\n.ant-menu-vertical.ant-menu-sub > .ant-menu-submenu,\n.ant-menu-vertical-left.ant-menu-sub > .ant-menu-submenu,\n.ant-menu-vertical-right.ant-menu-sub > .ant-menu-submenu {\n  transform-origin: 0 0;\n}\n.ant-menu-horizontal.ant-menu-sub {\n  min-width: 114px;\n}\n.ant-menu-horizontal .ant-menu-item,\n.ant-menu-horizontal .ant-menu-submenu-title {\n  transition: border-color 0.3s, background 0.3s;\n}\n.ant-menu-item,\n.ant-menu-submenu-title {\n  position: relative;\n  display: block;\n  margin: 0;\n  padding: 0 20px;\n  white-space: nowrap;\n  cursor: pointer;\n  transition: border-color 0.3s, background 0.3s, padding 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n.ant-menu-item .ant-menu-item-icon,\n.ant-menu-submenu-title .ant-menu-item-icon,\n.ant-menu-item .anticon,\n.ant-menu-submenu-title .anticon {\n  min-width: 14px;\n  font-size: 14px;\n  transition: font-size 0.15s cubic-bezier(0.215, 0.61, 0.355, 1), margin 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), color 0.3s;\n}\n.ant-menu-item .ant-menu-item-icon + span,\n.ant-menu-submenu-title .ant-menu-item-icon + span,\n.ant-menu-item .anticon + span,\n.ant-menu-submenu-title .anticon + span {\n  margin-left: 10px;\n  opacity: 1;\n  transition: opacity 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), margin 0.3s, color 0.3s;\n}\n.ant-menu-item .ant-menu-item-icon.svg,\n.ant-menu-submenu-title .ant-menu-item-icon.svg {\n  vertical-align: -0.125em;\n}\n.ant-menu-item.ant-menu-item-only-child > .anticon,\n.ant-menu-submenu-title.ant-menu-item-only-child > .anticon,\n.ant-menu-item.ant-menu-item-only-child > .ant-menu-item-icon,\n.ant-menu-submenu-title.ant-menu-item-only-child > .ant-menu-item-icon {\n  margin-right: 0;\n}\n.ant-menu-item:focus-visible,\n.ant-menu-submenu-title:focus-visible {\n  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n}\n.ant-menu > .ant-menu-item-divider {\n  height: 1px;\n  margin: 1px 0;\n  padding: 0;\n  overflow: hidden;\n  line-height: 0;\n  background-color: #f0f0f0;\n}\n.ant-menu-submenu-popup {\n  position: absolute;\n  z-index: 1050;\n  background: transparent;\n  border-radius: 2px;\n  box-shadow: none;\n  transform-origin: 0 0;\n}\n.ant-menu-submenu-popup::before {\n  position: absolute;\n  top: -7px;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  z-index: -1;\n  width: 100%;\n  height: 100%;\n  opacity: 0.0001;\n  content: ' ';\n}\n.ant-menu-submenu-placement-rightTop::before {\n  top: 0;\n  left: -7px;\n}\n.ant-menu-submenu > .ant-menu {\n  background-color: #fff;\n  border-radius: 2px;\n}\n.ant-menu-submenu > .ant-menu-submenu-title::after {\n  transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n.ant-menu-submenu-popup > .ant-menu {\n  background-color: #fff;\n}\n.ant-menu-submenu-expand-icon,\n.ant-menu-submenu-arrow {\n  position: absolute;\n  top: 50%;\n  right: 16px;\n  width: 10px;\n  color: rgba(0, 0, 0, 0.85);\n  transform: translateY(-50%);\n  transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n.ant-menu-submenu-arrow::before,\n.ant-menu-submenu-arrow::after {\n  position: absolute;\n  width: 6px;\n  height: 1.5px;\n  background-color: currentColor;\n  border-radius: 2px;\n  transition: background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), top 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n  content: '';\n}\n.ant-menu-submenu-arrow::before {\n  transform: rotate(45deg) translateY(-2.5px);\n}\n.ant-menu-submenu-arrow::after {\n  transform: rotate(-45deg) translateY(2.5px);\n}\n.ant-menu-submenu:hover > .ant-menu-submenu-title > .ant-menu-submenu-expand-icon,\n.ant-menu-submenu:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow {\n  color: #1890ff;\n}\n.ant-menu-inline-collapsed .ant-menu-submenu-arrow::before,\n.ant-menu-submenu-inline .ant-menu-submenu-arrow::before {\n  transform: rotate(-45deg) translateX(2.5px);\n}\n.ant-menu-inline-collapsed .ant-menu-submenu-arrow::after,\n.ant-menu-submenu-inline .ant-menu-submenu-arrow::after {\n  transform: rotate(45deg) translateX(-2.5px);\n}\n.ant-menu-submenu-horizontal .ant-menu-submenu-arrow {\n  display: none;\n}\n.ant-menu-submenu-open.ant-menu-submenu-inline > .ant-menu-submenu-title > .ant-menu-submenu-arrow {\n  transform: translateY(-2px);\n}\n.ant-menu-submenu-open.ant-menu-submenu-inline > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after {\n  transform: rotate(-45deg) translateX(-2.5px);\n}\n.ant-menu-submenu-open.ant-menu-submenu-inline > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before {\n  transform: rotate(45deg) translateX(2.5px);\n}\n.ant-menu-vertical .ant-menu-submenu-selected,\n.ant-menu-vertical-left .ant-menu-submenu-selected,\n.ant-menu-vertical-right .ant-menu-submenu-selected {\n  color: #1890ff;\n}\n.ant-menu-horizontal {\n  line-height: 46px;\n  border: 0;\n  border-bottom: 1px solid #f0f0f0;\n  box-shadow: none;\n}\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item,\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu {\n  margin-top: -1px;\n  margin-bottom: 0;\n  padding: 0 20px;\n}\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item:hover,\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu:hover,\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item-active,\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu-active,\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item-open,\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu-open,\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item-selected,\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu-selected {\n  color: #1890ff;\n}\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item:hover::after,\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu:hover::after,\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item-active::after,\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu-active::after,\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item-open::after,\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu-open::after,\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item-selected::after,\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu-selected::after {\n  border-bottom: 2px solid #1890ff;\n}\n.ant-menu-horizontal > .ant-menu-item,\n.ant-menu-horizontal > .ant-menu-submenu {\n  position: relative;\n  top: 1px;\n  display: inline-block;\n  vertical-align: bottom;\n}\n.ant-menu-horizontal > .ant-menu-item::after,\n.ant-menu-horizontal > .ant-menu-submenu::after {\n  position: absolute;\n  right: 20px;\n  bottom: 0;\n  left: 20px;\n  border-bottom: 2px solid transparent;\n  transition: border-color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n  content: '';\n}\n.ant-menu-horizontal > .ant-menu-submenu > .ant-menu-submenu-title {\n  padding: 0;\n}\n.ant-menu-horizontal > .ant-menu-item a {\n  color: rgba(0, 0, 0, 0.85);\n}\n.ant-menu-horizontal > .ant-menu-item a:hover {\n  color: #1890ff;\n}\n.ant-menu-horizontal > .ant-menu-item a::before {\n  bottom: -2px;\n}\n.ant-menu-horizontal > .ant-menu-item-selected a {\n  color: #1890ff;\n}\n.ant-menu-horizontal::after {\n  display: block;\n  clear: both;\n  height: 0;\n  content: '\\20';\n}\n.ant-menu-vertical .ant-menu-item,\n.ant-menu-vertical-left .ant-menu-item,\n.ant-menu-vertical-right .ant-menu-item,\n.ant-menu-inline .ant-menu-item {\n  position: relative;\n}\n.ant-menu-vertical .ant-menu-item::after,\n.ant-menu-vertical-left .ant-menu-item::after,\n.ant-menu-vertical-right .ant-menu-item::after,\n.ant-menu-inline .ant-menu-item::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  border-right: 3px solid #1890ff;\n  transform: scaleY(0.0001);\n  opacity: 0;\n  transition: transform 0.15s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.15s cubic-bezier(0.215, 0.61, 0.355, 1);\n  content: '';\n}\n.ant-menu-vertical .ant-menu-item,\n.ant-menu-vertical-left .ant-menu-item,\n.ant-menu-vertical-right .ant-menu-item,\n.ant-menu-inline .ant-menu-item,\n.ant-menu-vertical .ant-menu-submenu-title,\n.ant-menu-vertical-left .ant-menu-submenu-title,\n.ant-menu-vertical-right .ant-menu-submenu-title,\n.ant-menu-inline .ant-menu-submenu-title {\n  height: 40px;\n  margin-top: 4px;\n  margin-bottom: 4px;\n  padding: 0 16px;\n  overflow: hidden;\n  line-height: 40px;\n  text-overflow: ellipsis;\n}\n.ant-menu-vertical .ant-menu-submenu,\n.ant-menu-vertical-left .ant-menu-submenu,\n.ant-menu-vertical-right .ant-menu-submenu,\n.ant-menu-inline .ant-menu-submenu {\n  padding-bottom: 0.02px;\n}\n.ant-menu-vertical .ant-menu-item:not(:last-child),\n.ant-menu-vertical-left .ant-menu-item:not(:last-child),\n.ant-menu-vertical-right .ant-menu-item:not(:last-child),\n.ant-menu-inline .ant-menu-item:not(:last-child) {\n  margin-bottom: 8px;\n}\n.ant-menu-vertical > .ant-menu-item,\n.ant-menu-vertical-left > .ant-menu-item,\n.ant-menu-vertical-right > .ant-menu-item,\n.ant-menu-inline > .ant-menu-item,\n.ant-menu-vertical > .ant-menu-submenu > .ant-menu-submenu-title,\n.ant-menu-vertical-left > .ant-menu-submenu > .ant-menu-submenu-title,\n.ant-menu-vertical-right > .ant-menu-submenu > .ant-menu-submenu-title,\n.ant-menu-inline > .ant-menu-submenu > .ant-menu-submenu-title {\n  height: 40px;\n  line-height: 40px;\n}\n.ant-menu-vertical .ant-menu-item-group-list .ant-menu-submenu-title,\n.ant-menu-vertical .ant-menu-submenu-title {\n  padding-right: 34px;\n}\n.ant-menu-inline {\n  width: 100%;\n}\n.ant-menu-inline .ant-menu-selected::after,\n.ant-menu-inline .ant-menu-item-selected::after {\n  transform: scaleY(1);\n  opacity: 1;\n  transition: transform 0.15s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.15s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n.ant-menu-inline .ant-menu-item,\n.ant-menu-inline .ant-menu-submenu-title {\n  width: calc(100% + 1px);\n}\n.ant-menu-inline .ant-menu-item-group-list .ant-menu-submenu-title,\n.ant-menu-inline .ant-menu-submenu-title {\n  padding-right: 34px;\n}\n.ant-menu-inline.ant-menu-root .ant-menu-item,\n.ant-menu-inline.ant-menu-root .ant-menu-submenu-title {\n  display: flex;\n  align-items: center;\n  transition: border-color 0.3s, background 0.3s, padding 0.1s cubic-bezier(0.215, 0.61, 0.355, 1);\n}\n.ant-menu-inline.ant-menu-root .ant-menu-item > .ant-menu-title-content,\n.ant-menu-inline.ant-menu-root .ant-menu-submenu-title > .ant-menu-title-content {\n  flex: auto;\n  min-width: 0;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n.ant-menu-inline.ant-menu-root .ant-menu-item > *,\n.ant-menu-inline.ant-menu-root .ant-menu-submenu-title > * {\n  flex: none;\n}\n.ant-menu.ant-menu-inline-collapsed {\n  width: 80px;\n}\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-item,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-submenu > .ant-menu-submenu-title,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-submenu > .ant-menu-submenu-title {\n  left: 0;\n  padding: 0 calc(50% - 16px / 2);\n  text-overflow: clip;\n}\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item .ant-menu-submenu-arrow,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-item .ant-menu-submenu-arrow,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-submenu > .ant-menu-submenu-title .ant-menu-submenu-arrow,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-submenu > .ant-menu-submenu-title .ant-menu-submenu-arrow {\n  opacity: 0;\n}\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item .ant-menu-item-icon,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-item .ant-menu-item-icon,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-submenu > .ant-menu-submenu-title .ant-menu-item-icon,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-submenu > .ant-menu-submenu-title .ant-menu-item-icon,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item .anticon,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-item .anticon,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-submenu > .ant-menu-submenu-title .anticon,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-submenu > .ant-menu-submenu-title .anticon {\n  margin: 0;\n  font-size: 16px;\n  line-height: 40px;\n}\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item .ant-menu-item-icon + span,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-item .ant-menu-item-icon + span,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-submenu > .ant-menu-submenu-title .ant-menu-item-icon + span,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-submenu > .ant-menu-submenu-title .ant-menu-item-icon + span,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item .anticon + span,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-item .anticon + span,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-submenu > .ant-menu-submenu-title .anticon + span,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-submenu > .ant-menu-submenu-title .anticon + span {\n  display: inline-block;\n  opacity: 0;\n}\n.ant-menu.ant-menu-inline-collapsed .ant-menu-item-icon,\n.ant-menu.ant-menu-inline-collapsed .anticon {\n  display: inline-block;\n}\n.ant-menu.ant-menu-inline-collapsed-tooltip {\n  pointer-events: none;\n}\n.ant-menu.ant-menu-inline-collapsed-tooltip .ant-menu-item-icon,\n.ant-menu.ant-menu-inline-collapsed-tooltip .anticon {\n  display: none;\n}\n.ant-menu.ant-menu-inline-collapsed-tooltip a {\n  color: rgba(255, 255, 255, 0.85);\n}\n.ant-menu.ant-menu-inline-collapsed .ant-menu-item-group-title {\n  padding-right: 4px;\n  padding-left: 4px;\n  overflow: hidden;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n}\n.ant-menu-item-group-list {\n  margin: 0;\n  padding: 0;\n}\n.ant-menu-item-group-list .ant-menu-item,\n.ant-menu-item-group-list .ant-menu-submenu-title {\n  padding: 0 16px 0 28px;\n}\n.ant-menu-root.ant-menu-vertical,\n.ant-menu-root.ant-menu-vertical-left,\n.ant-menu-root.ant-menu-vertical-right,\n.ant-menu-root.ant-menu-inline {\n  box-shadow: none;\n}\n.ant-menu-root.ant-menu-inline-collapsed .ant-menu-item > .ant-menu-inline-collapsed-noicon,\n.ant-menu-root.ant-menu-inline-collapsed .ant-menu-submenu .ant-menu-submenu-title > .ant-menu-inline-collapsed-noicon {\n  font-size: 16px;\n  text-align: center;\n}\n.ant-menu-sub.ant-menu-inline {\n  padding: 0;\n  background: #fafafa;\n  border: 0;\n  border-radius: 0;\n  box-shadow: none;\n}\n.ant-menu-sub.ant-menu-inline > .ant-menu-item,\n.ant-menu-sub.ant-menu-inline > .ant-menu-submenu > .ant-menu-submenu-title {\n  height: 40px;\n  line-height: 40px;\n  list-style-position: inside;\n  list-style-type: disc;\n}\n.ant-menu-sub.ant-menu-inline .ant-menu-item-group-title {\n  padding-left: 32px;\n}\n.ant-menu-item-disabled,\n.ant-menu-submenu-disabled {\n  color: rgba(0, 0, 0, 0.25) !important;\n  background: none;\n  cursor: not-allowed;\n}\n.ant-menu-item-disabled::after,\n.ant-menu-submenu-disabled::after {\n  border-color: transparent !important;\n}\n.ant-menu-item-disabled a,\n.ant-menu-submenu-disabled a {\n  color: rgba(0, 0, 0, 0.25) !important;\n  pointer-events: none;\n}\n.ant-menu-item-disabled > .ant-menu-submenu-title,\n.ant-menu-submenu-disabled > .ant-menu-submenu-title {\n  color: rgba(0, 0, 0, 0.25) !important;\n  cursor: not-allowed;\n}\n.ant-menu-item-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before,\n.ant-menu-submenu-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before,\n.ant-menu-item-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after,\n.ant-menu-submenu-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after {\n  background: rgba(0, 0, 0, 0.25) !important;\n}\n.ant-layout-header .ant-menu {\n  line-height: inherit;\n}\n.ant-menu.ant-menu-dark,\n.ant-menu-dark .ant-menu-sub,\n.ant-menu.ant-menu-dark .ant-menu-sub {\n  color: rgba(255, 255, 255, 0.65);\n  background: #001529;\n}\n.ant-menu.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow,\n.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow,\n.ant-menu.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow {\n  opacity: 0.45;\n  transition: all 0.3s;\n}\n.ant-menu.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow::after,\n.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow::after,\n.ant-menu.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow::after,\n.ant-menu.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow::before,\n.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow::before,\n.ant-menu.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow::before {\n  background: #fff;\n}\n.ant-menu-dark.ant-menu-submenu-popup {\n  background: transparent;\n}\n.ant-menu-dark .ant-menu-inline.ant-menu-sub {\n  background: #000c17;\n}\n.ant-menu-dark.ant-menu-horizontal {\n  border-bottom: 0;\n}\n.ant-menu-dark.ant-menu-horizontal > .ant-menu-item,\n.ant-menu-dark.ant-menu-horizontal > .ant-menu-submenu {\n  top: 0;\n  margin-top: 0;\n  padding: 0 20px;\n  border-color: #001529;\n  border-bottom: 0;\n}\n.ant-menu-dark.ant-menu-horizontal > .ant-menu-item:hover {\n  background-color: #1890ff;\n}\n.ant-menu-dark.ant-menu-horizontal > .ant-menu-item > a::before {\n  bottom: 0;\n}\n.ant-menu-dark .ant-menu-item,\n.ant-menu-dark .ant-menu-item-group-title,\n.ant-menu-dark .ant-menu-item > a,\n.ant-menu-dark .ant-menu-item > span > a {\n  color: rgba(255, 255, 255, 0.65);\n}\n.ant-menu-dark.ant-menu-inline,\n.ant-menu-dark.ant-menu-vertical,\n.ant-menu-dark.ant-menu-vertical-left,\n.ant-menu-dark.ant-menu-vertical-right {\n  border-right: 0;\n}\n.ant-menu-dark.ant-menu-inline .ant-menu-item,\n.ant-menu-dark.ant-menu-vertical .ant-menu-item,\n.ant-menu-dark.ant-menu-vertical-left .ant-menu-item,\n.ant-menu-dark.ant-menu-vertical-right .ant-menu-item {\n  left: 0;\n  margin-left: 0;\n  border-right: 0;\n}\n.ant-menu-dark.ant-menu-inline .ant-menu-item::after,\n.ant-menu-dark.ant-menu-vertical .ant-menu-item::after,\n.ant-menu-dark.ant-menu-vertical-left .ant-menu-item::after,\n.ant-menu-dark.ant-menu-vertical-right .ant-menu-item::after {\n  border-right: 0;\n}\n.ant-menu-dark.ant-menu-inline .ant-menu-item,\n.ant-menu-dark.ant-menu-inline .ant-menu-submenu-title {\n  width: 100%;\n}\n.ant-menu-dark .ant-menu-item:hover,\n.ant-menu-dark .ant-menu-item-active,\n.ant-menu-dark .ant-menu-submenu-active,\n.ant-menu-dark .ant-menu-submenu-open,\n.ant-menu-dark .ant-menu-submenu-selected,\n.ant-menu-dark .ant-menu-submenu-title:hover {\n  color: #fff;\n  background-color: transparent;\n}\n.ant-menu-dark .ant-menu-item:hover > a,\n.ant-menu-dark .ant-menu-item-active > a,\n.ant-menu-dark .ant-menu-submenu-active > a,\n.ant-menu-dark .ant-menu-submenu-open > a,\n.ant-menu-dark .ant-menu-submenu-selected > a,\n.ant-menu-dark .ant-menu-submenu-title:hover > a,\n.ant-menu-dark .ant-menu-item:hover > span > a,\n.ant-menu-dark .ant-menu-item-active > span > a,\n.ant-menu-dark .ant-menu-submenu-active > span > a,\n.ant-menu-dark .ant-menu-submenu-open > span > a,\n.ant-menu-dark .ant-menu-submenu-selected > span > a,\n.ant-menu-dark .ant-menu-submenu-title:hover > span > a {\n  color: #fff;\n}\n.ant-menu-dark .ant-menu-item:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow,\n.ant-menu-dark .ant-menu-item-active > .ant-menu-submenu-title > .ant-menu-submenu-arrow,\n.ant-menu-dark .ant-menu-submenu-active > .ant-menu-submenu-title > .ant-menu-submenu-arrow,\n.ant-menu-dark .ant-menu-submenu-open > .ant-menu-submenu-title > .ant-menu-submenu-arrow,\n.ant-menu-dark .ant-menu-submenu-selected > .ant-menu-submenu-title > .ant-menu-submenu-arrow,\n.ant-menu-dark .ant-menu-submenu-title:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow {\n  opacity: 1;\n}\n.ant-menu-dark .ant-menu-item:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after,\n.ant-menu-dark .ant-menu-item-active > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after,\n.ant-menu-dark .ant-menu-submenu-active > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after,\n.ant-menu-dark .ant-menu-submenu-open > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after,\n.ant-menu-dark .ant-menu-submenu-selected > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after,\n.ant-menu-dark .ant-menu-submenu-title:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after,\n.ant-menu-dark .ant-menu-item:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before,\n.ant-menu-dark .ant-menu-item-active > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before,\n.ant-menu-dark .ant-menu-submenu-active > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before,\n.ant-menu-dark .ant-menu-submenu-open > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before,\n.ant-menu-dark .ant-menu-submenu-selected > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before,\n.ant-menu-dark .ant-menu-submenu-title:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before {\n  background: #fff;\n}\n.ant-menu-dark .ant-menu-item:hover {\n  background-color: transparent;\n}\n.ant-menu-dark.ant-menu-dark:not(.ant-menu-horizontal) .ant-menu-item-selected {\n  background-color: #1890ff;\n}\n.ant-menu-dark .ant-menu-item-selected {\n  color: #fff;\n  border-right: 0;\n}\n.ant-menu-dark .ant-menu-item-selected::after {\n  border-right: 0;\n}\n.ant-menu-dark .ant-menu-item-selected > a,\n.ant-menu-dark .ant-menu-item-selected > span > a,\n.ant-menu-dark .ant-menu-item-selected > a:hover,\n.ant-menu-dark .ant-menu-item-selected > span > a:hover {\n  color: #fff;\n}\n.ant-menu-dark .ant-menu-item-selected .ant-menu-item-icon,\n.ant-menu-dark .ant-menu-item-selected .anticon {\n  color: #fff;\n}\n.ant-menu-dark .ant-menu-item-selected .ant-menu-item-icon + span,\n.ant-menu-dark .ant-menu-item-selected .anticon + span {\n  color: #fff;\n}\n.ant-menu.ant-menu-dark .ant-menu-item-selected,\n.ant-menu-submenu-popup.ant-menu-dark .ant-menu-item-selected {\n  background-color: #1890ff;\n}\n.ant-menu-dark .ant-menu-item-disabled,\n.ant-menu-dark .ant-menu-submenu-disabled,\n.ant-menu-dark .ant-menu-item-disabled > a,\n.ant-menu-dark .ant-menu-submenu-disabled > a,\n.ant-menu-dark .ant-menu-item-disabled > span > a,\n.ant-menu-dark .ant-menu-submenu-disabled > span > a {\n  color: rgba(255, 255, 255, 0.35) !important;\n  opacity: 0.8;\n}\n.ant-menu-dark .ant-menu-item-disabled > .ant-menu-submenu-title,\n.ant-menu-dark .ant-menu-submenu-disabled > .ant-menu-submenu-title {\n  color: rgba(255, 255, 255, 0.35) !important;\n}\n.ant-menu-dark .ant-menu-item-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before,\n.ant-menu-dark .ant-menu-submenu-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before,\n.ant-menu-dark .ant-menu-item-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after,\n.ant-menu-dark .ant-menu-submenu-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after {\n  background: rgba(255, 255, 255, 0.35) !important;\n}\n.ant-menu.ant-menu-rtl {\n  direction: rtl;\n  text-align: right;\n}\n.ant-menu-rtl .ant-menu-item-group-title {\n  text-align: right;\n}\n.ant-menu-rtl.ant-menu-inline,\n.ant-menu-rtl.ant-menu-vertical {\n  border-right: none;\n  border-left: 1px solid #f0f0f0;\n}\n.ant-menu-rtl.ant-menu-dark.ant-menu-inline,\n.ant-menu-rtl.ant-menu-dark.ant-menu-vertical {\n  border-left: none;\n}\n.ant-menu-rtl.ant-menu-vertical.ant-menu-sub > .ant-menu-item,\n.ant-menu-rtl.ant-menu-vertical-left.ant-menu-sub > .ant-menu-item,\n.ant-menu-rtl.ant-menu-vertical-right.ant-menu-sub > .ant-menu-item,\n.ant-menu-rtl.ant-menu-vertical.ant-menu-sub > .ant-menu-submenu,\n.ant-menu-rtl.ant-menu-vertical-left.ant-menu-sub > .ant-menu-submenu,\n.ant-menu-rtl.ant-menu-vertical-right.ant-menu-sub > .ant-menu-submenu {\n  transform-origin: top right;\n}\n.ant-menu-rtl .ant-menu-item .ant-menu-item-icon,\n.ant-menu-rtl .ant-menu-submenu-title .ant-menu-item-icon,\n.ant-menu-rtl .ant-menu-item .anticon,\n.ant-menu-rtl .ant-menu-submenu-title .anticon {\n  margin-right: auto;\n  margin-left: 10px;\n}\n.ant-menu-rtl .ant-menu-item.ant-menu-item-only-child > .ant-menu-item-icon,\n.ant-menu-rtl .ant-menu-submenu-title.ant-menu-item-only-child > .ant-menu-item-icon,\n.ant-menu-rtl .ant-menu-item.ant-menu-item-only-child > .anticon,\n.ant-menu-rtl .ant-menu-submenu-title.ant-menu-item-only-child > .anticon {\n  margin-left: 0;\n}\n.ant-menu-submenu-rtl.ant-menu-submenu-popup {\n  transform-origin: 100% 0;\n}\n.ant-menu-rtl .ant-menu-submenu-vertical > .ant-menu-submenu-title .ant-menu-submenu-arrow,\n.ant-menu-rtl .ant-menu-submenu-vertical-left > .ant-menu-submenu-title .ant-menu-submenu-arrow,\n.ant-menu-rtl .ant-menu-submenu-vertical-right > .ant-menu-submenu-title .ant-menu-submenu-arrow,\n.ant-menu-rtl .ant-menu-submenu-inline > .ant-menu-submenu-title .ant-menu-submenu-arrow {\n  right: auto;\n  left: 16px;\n}\n.ant-menu-rtl .ant-menu-submenu-vertical > .ant-menu-submenu-title .ant-menu-submenu-arrow::before,\n.ant-menu-rtl .ant-menu-submenu-vertical-left > .ant-menu-submenu-title .ant-menu-submenu-arrow::before,\n.ant-menu-rtl .ant-menu-submenu-vertical-right > .ant-menu-submenu-title .ant-menu-submenu-arrow::before {\n  transform: rotate(-45deg) translateY(-2px);\n}\n.ant-menu-rtl .ant-menu-submenu-vertical > .ant-menu-submenu-title .ant-menu-submenu-arrow::after,\n.ant-menu-rtl .ant-menu-submenu-vertical-left > .ant-menu-submenu-title .ant-menu-submenu-arrow::after,\n.ant-menu-rtl .ant-menu-submenu-vertical-right > .ant-menu-submenu-title .ant-menu-submenu-arrow::after {\n  transform: rotate(45deg) translateY(2px);\n}\n.ant-menu-rtl.ant-menu-vertical .ant-menu-item::after,\n.ant-menu-rtl.ant-menu-vertical-left .ant-menu-item::after,\n.ant-menu-rtl.ant-menu-vertical-right .ant-menu-item::after,\n.ant-menu-rtl.ant-menu-inline .ant-menu-item::after {\n  right: auto;\n  left: 0;\n}\n.ant-menu-rtl.ant-menu-vertical .ant-menu-item,\n.ant-menu-rtl.ant-menu-vertical-left .ant-menu-item,\n.ant-menu-rtl.ant-menu-vertical-right .ant-menu-item,\n.ant-menu-rtl.ant-menu-inline .ant-menu-item,\n.ant-menu-rtl.ant-menu-vertical .ant-menu-submenu-title,\n.ant-menu-rtl.ant-menu-vertical-left .ant-menu-submenu-title,\n.ant-menu-rtl.ant-menu-vertical-right .ant-menu-submenu-title,\n.ant-menu-rtl.ant-menu-inline .ant-menu-submenu-title {\n  text-align: right;\n}\n.ant-menu-rtl.ant-menu-inline .ant-menu-submenu-title {\n  padding-right: 0;\n  padding-left: 34px;\n}\n.ant-menu-rtl.ant-menu-vertical .ant-menu-submenu-title {\n  padding-right: 16px;\n  padding-left: 34px;\n}\n.ant-menu-rtl.ant-menu-inline-collapsed.ant-menu-vertical .ant-menu-submenu-title {\n  padding: 0 calc(50% - 16px / 2);\n}\n.ant-menu-rtl .ant-menu-item-group-list .ant-menu-item,\n.ant-menu-rtl .ant-menu-item-group-list .ant-menu-submenu-title {\n  padding: 0 28px 0 16px;\n}\n.ant-menu-sub.ant-menu-inline {\n  border: 0;\n}\n.ant-menu-rtl.ant-menu-sub.ant-menu-inline .ant-menu-item-group-title {\n  padding-right: 32px;\n  padding-left: 0;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.graft-textAlign-left {\n  text-align: left;\n}\n.graft-textAlign-center {\n  text-align: center;\n}\n.graft-textAlign-right {\n  text-align: right;\n}\n.graft-textAlign-justify {\n  text-align: justify;\n}\n.graft-editor-toolbar-container .ant-popover-arrow {\n  display: none;\n}\n.graft-editor-toolbar-container .ant-popover-inner-content {\n  padding: 0;\n}\n.graft-editor-toolbar-container .graft-editor-toolbar {\n  display: flex;\n  align-items: center;\n  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n  background-color: #fff;\n}\n.graft-editor-toolbar-container .graft-editor-toolbar-separator {\n  display: block;\n  margin: 0 10px;\n  color: rgba(0, 0, 0, 0.45);\n}\n.graft-control {\n  font-size: 16px;\n  color: rgba(0, 0, 0, 0.45);\n  font-weight: 600;\n}\n.graft-control:hover {\n  color: rgba(0, 0, 0, 0.45);\n  background-color: #f5f5f5;\n}\n.graft-control.is-active {\n  color: #1890ff;\n}\n.graft-control-dropmenu {\n  max-height: 200px;\n  overflow: auto;\n  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n}\n.graft-control-fontColor {\n  position: relative;\n}\n.graft-control-fontColor-underline {\n  position: absolute;\n  width: 20px;\n  height: 3px;\n  bottom: 0;\n  left: 50%;\n  background-color: #ddd;\n  transform: translate(-50%, 0);\n}\n.graft-control-backgroundColor {\n  position: relative;\n  background-color: #ddd;\n}\n.graft-control-fontSize,\n.graft-control-fontWeight {\n  font-size: 14px;\n}\n.graft-control-fontSize-value,\n.graft-control-fontWeight-value {\n  display: inline-block;\n  width: 30px;\n  margin-right: 12px;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.gcs-text {\n  position: relative;\n  display: flex;\n  width: 100%;\n  height: 100%;\n  overflow: auto;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-space {\n  display: inline-flex;\n}\n.ant-space-vertical {\n  flex-direction: column;\n}\n.ant-space-align-center {\n  align-items: center;\n}\n.ant-space-align-start {\n  align-items: flex-start;\n}\n.ant-space-align-end {\n  align-items: flex-end;\n}\n.ant-space-align-baseline {\n  align-items: baseline;\n}\n.ant-space-item:empty {\n  display: none;\n}\n.ant-space-rtl {\n  direction: rtl;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-input-number {\n  box-sizing: border-box;\n  font-variant: tabular-nums;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: relative;\n  width: 100%;\n  min-width: 0;\n  padding: 4px 11px;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  line-height: 1.5715;\n  background-color: #fff;\n  background-image: none;\n  transition: all 0.3s;\n  display: inline-block;\n  width: 90px;\n  margin: 0;\n  padding: 0;\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n}\n.ant-input-number::-moz-placeholder {\n  opacity: 1;\n}\n.ant-input-number:-ms-input-placeholder {\n  color: #bfbfbf;\n}\n.ant-input-number::placeholder {\n  color: #bfbfbf;\n}\n.ant-input-number:-moz-placeholder-shown {\n  text-overflow: ellipsis;\n}\n.ant-input-number:-ms-input-placeholder {\n  text-overflow: ellipsis;\n}\n.ant-input-number:placeholder-shown {\n  text-overflow: ellipsis;\n}\n.ant-input-number:hover {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n}\n.ant-input-number:focus,\n.ant-input-number-focused {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n}\n.ant-input-number-disabled {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #f5f5f5;\n  cursor: not-allowed;\n  opacity: 1;\n}\n.ant-input-number-disabled:hover {\n  border-color: #d9d9d9;\n  border-right-width: 1px !important;\n}\n.ant-input-number[disabled] {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #f5f5f5;\n  cursor: not-allowed;\n  opacity: 1;\n}\n.ant-input-number[disabled]:hover {\n  border-color: #d9d9d9;\n  border-right-width: 1px !important;\n}\n.ant-input-number-borderless,\n.ant-input-number-borderless:hover,\n.ant-input-number-borderless:focus,\n.ant-input-number-borderless-focused,\n.ant-input-number-borderless-disabled,\n.ant-input-number-borderless[disabled] {\n  background-color: transparent;\n  border: none;\n  box-shadow: none;\n}\ntextarea.ant-input-number {\n  max-width: 100%;\n  height: auto;\n  min-height: 32px;\n  line-height: 1.5715;\n  vertical-align: bottom;\n  transition: all 0.3s, height 0s;\n}\n.ant-input-number-lg {\n  padding: 6.5px 11px;\n  font-size: 16px;\n}\n.ant-input-number-sm {\n  padding: 0px 7px;\n}\n.ant-input-number-handler {\n  position: relative;\n  display: block;\n  width: 100%;\n  height: 50%;\n  overflow: hidden;\n  color: rgba(0, 0, 0, 0.45);\n  font-weight: bold;\n  line-height: 0;\n  text-align: center;\n  transition: all 0.1s linear;\n}\n.ant-input-number-handler:active {\n  background: #f4f4f4;\n}\n.ant-input-number-handler:hover .ant-input-number-handler-up-inner,\n.ant-input-number-handler:hover .ant-input-number-handler-down-inner {\n  color: #40a9ff;\n}\n.ant-input-number-handler-up-inner,\n.ant-input-number-handler-down-inner {\n  display: inline-block;\n  color: inherit;\n  font-style: normal;\n  line-height: 0;\n  text-align: center;\n  text-transform: none;\n  vertical-align: -0.125em;\n  text-rendering: optimizeLegibility;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n  position: absolute;\n  right: 4px;\n  width: 12px;\n  height: 12px;\n  color: rgba(0, 0, 0, 0.45);\n  line-height: 12px;\n  transition: all 0.1s linear;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n}\n.ant-input-number-handler-up-inner > *,\n.ant-input-number-handler-down-inner > * {\n  line-height: 1;\n}\n.ant-input-number-handler-up-inner svg,\n.ant-input-number-handler-down-inner svg {\n  display: inline-block;\n}\n.ant-input-number-handler-up-inner::before,\n.ant-input-number-handler-down-inner::before {\n  display: none;\n}\n.ant-input-number-handler-up-inner .ant-input-number-handler-up-inner-icon,\n.ant-input-number-handler-up-inner .ant-input-number-handler-down-inner-icon,\n.ant-input-number-handler-down-inner .ant-input-number-handler-up-inner-icon,\n.ant-input-number-handler-down-inner .ant-input-number-handler-down-inner-icon {\n  display: block;\n}\n.ant-input-number:hover {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n}\n.ant-input-number:hover + .ant-form-item-children-icon {\n  opacity: 0;\n  transition: opacity 0.24s linear 0.24s;\n}\n.ant-input-number-focused {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n}\n.ant-input-number-disabled {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #f5f5f5;\n  cursor: not-allowed;\n  opacity: 1;\n}\n.ant-input-number-disabled:hover {\n  border-color: #d9d9d9;\n  border-right-width: 1px !important;\n}\n.ant-input-number-disabled .ant-input-number-input {\n  cursor: not-allowed;\n}\n.ant-input-number-disabled .ant-input-number-handler-wrap {\n  display: none;\n}\n.ant-input-number-readonly .ant-input-number-handler-wrap {\n  display: none;\n}\n.ant-input-number-input {\n  width: 100%;\n  height: 30px;\n  padding: 0 11px;\n  text-align: left;\n  background-color: transparent;\n  border: 0;\n  border-radius: 2px;\n  outline: 0;\n  transition: all 0.3s linear;\n  -moz-appearance: textfield !important;\n}\n.ant-input-number-input::-moz-placeholder {\n  opacity: 1;\n}\n.ant-input-number-input:-ms-input-placeholder {\n  color: #bfbfbf;\n}\n.ant-input-number-input::placeholder {\n  color: #bfbfbf;\n}\n.ant-input-number-input:-moz-placeholder-shown {\n  text-overflow: ellipsis;\n}\n.ant-input-number-input:-ms-input-placeholder {\n  text-overflow: ellipsis;\n}\n.ant-input-number-input:placeholder-shown {\n  text-overflow: ellipsis;\n}\n.ant-input-number-input[type='number']::-webkit-inner-spin-button,\n.ant-input-number-input[type='number']::-webkit-outer-spin-button {\n  margin: 0;\n  -webkit-appearance: none;\n}\n.ant-input-number-lg {\n  padding: 0;\n  font-size: 16px;\n}\n.ant-input-number-lg input {\n  height: 38px;\n}\n.ant-input-number-sm {\n  padding: 0;\n}\n.ant-input-number-sm input {\n  height: 22px;\n  padding: 0 7px;\n}\n.ant-input-number-handler-wrap {\n  position: absolute;\n  top: 0;\n  right: 0;\n  width: 22px;\n  height: 100%;\n  background: #fff;\n  border-left: 1px solid #d9d9d9;\n  border-radius: 0 2px 2px 0;\n  opacity: 0;\n  transition: opacity 0.24s linear 0.1s;\n}\n.ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-up-inner,\n.ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-down-inner {\n  min-width: auto;\n  margin-right: 0;\n  font-size: 7px;\n}\n.ant-input-number-borderless .ant-input-number-handler-wrap {\n  border-left-width: 0;\n}\n.ant-input-number-handler-wrap:hover .ant-input-number-handler {\n  height: 40%;\n}\n.ant-input-number:hover .ant-input-number-handler-wrap {\n  opacity: 1;\n}\n.ant-input-number-handler-up {\n  border-top-right-radius: 2px;\n  cursor: pointer;\n}\n.ant-input-number-handler-up-inner {\n  top: 50%;\n  margin-top: -5px;\n  text-align: center;\n}\n.ant-input-number-handler-up:hover {\n  height: 60% !important;\n}\n.ant-input-number-handler-down {\n  top: 0;\n  border-top: 1px solid #d9d9d9;\n  border-bottom-right-radius: 2px;\n  cursor: pointer;\n}\n.ant-input-number-handler-down-inner {\n  top: 50%;\n  text-align: center;\n  transform: translateY(-50%);\n}\n.ant-input-number-handler-down:hover {\n  height: 60% !important;\n}\n.ant-input-number-borderless .ant-input-number-handler-down {\n  border-top-width: 0;\n}\n.ant-input-number-handler-up-disabled,\n.ant-input-number-handler-down-disabled {\n  cursor: not-allowed;\n}\n.ant-input-number-handler-up-disabled:hover .ant-input-number-handler-up-inner,\n.ant-input-number-handler-down-disabled:hover .ant-input-number-handler-down-inner {\n  color: rgba(0, 0, 0, 0.25);\n}\n.ant-input-number-borderless {\n  box-shadow: none;\n}\n.ant-input-number-out-of-range input {\n  color: #ff4d4f;\n}\n.ant-input-number-rtl {\n  direction: rtl;\n}\n.ant-input-number-rtl .ant-input-number-handler-wrap {\n  right: auto;\n  left: 0;\n  border-right: 1px solid #d9d9d9;\n  border-left: 0;\n  border-radius: 2px 0 0 2px;\n}\n.ant-input-number-rtl.ant-input-number-borderless .ant-input-number-handler-wrap {\n  border-right-width: 0;\n}\n.ant-input-number-rtl .ant-input-number-input {\n  direction: ltr;\n  text-align: right;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-tree-treenode-leaf-last .ant-tree-switcher-leaf-line::before {\n  top: auto !important;\n  bottom: auto !important;\n  height: 14px !important;\n}\n@-webkit-keyframes antCheckboxEffect {\n  0% {\n    transform: scale(1);\n    opacity: 0.5;\n  }\n  100% {\n    transform: scale(1.6);\n    opacity: 0;\n  }\n}\n@keyframes antCheckboxEffect {\n  0% {\n    transform: scale(1);\n    opacity: 0.5;\n  }\n  100% {\n    transform: scale(1.6);\n    opacity: 0;\n  }\n}\n.ant-select-tree-checkbox {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: relative;\n  top: 0.2em;\n  line-height: 1;\n  white-space: nowrap;\n  outline: none;\n  cursor: pointer;\n}\n.ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox-inner,\n.ant-select-tree-checkbox:hover .ant-select-tree-checkbox-inner,\n.ant-select-tree-checkbox-input:focus + .ant-select-tree-checkbox-inner {\n  border-color: #1890ff;\n}\n.ant-select-tree-checkbox-checked::after {\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  border: 1px solid #1890ff;\n  border-radius: 2px;\n  visibility: hidden;\n  -webkit-animation: antCheckboxEffect 0.36s ease-in-out;\n          animation: antCheckboxEffect 0.36s ease-in-out;\n  -webkit-animation-fill-mode: backwards;\n          animation-fill-mode: backwards;\n  content: '';\n}\n.ant-select-tree-checkbox:hover::after,\n.ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox::after {\n  visibility: visible;\n}\n.ant-select-tree-checkbox-inner {\n  position: relative;\n  top: 0;\n  left: 0;\n  display: block;\n  width: 16px;\n  height: 16px;\n  direction: ltr;\n  background-color: #fff;\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n  border-collapse: separate;\n  transition: all 0.3s;\n}\n.ant-select-tree-checkbox-inner::after {\n  position: absolute;\n  top: 50%;\n  left: 22%;\n  display: table;\n  width: 5.71428571px;\n  height: 9.14285714px;\n  border: 2px solid #fff;\n  border-top: 0;\n  border-left: 0;\n  transform: rotate(45deg) scale(0) translate(-50%, -50%);\n  opacity: 0;\n  transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s;\n  content: ' ';\n}\n.ant-select-tree-checkbox-input {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  z-index: 1;\n  width: 100%;\n  height: 100%;\n  cursor: pointer;\n  opacity: 0;\n}\n.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner::after {\n  position: absolute;\n  display: table;\n  border: 2px solid #fff;\n  border-top: 0;\n  border-left: 0;\n  transform: rotate(45deg) scale(1) translate(-50%, -50%);\n  opacity: 1;\n  transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;\n  content: ' ';\n}\n.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner {\n  background-color: #1890ff;\n  border-color: #1890ff;\n}\n.ant-select-tree-checkbox-disabled {\n  cursor: not-allowed;\n}\n.ant-select-tree-checkbox-disabled.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner::after {\n  border-color: rgba(0, 0, 0, 0.25);\n  -webkit-animation-name: none;\n          animation-name: none;\n}\n.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-input {\n  cursor: not-allowed;\n}\n.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner {\n  background-color: #f5f5f5;\n  border-color: #d9d9d9 !important;\n}\n.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner::after {\n  border-color: #f5f5f5;\n  border-collapse: separate;\n  -webkit-animation-name: none;\n          animation-name: none;\n}\n.ant-select-tree-checkbox-disabled + span {\n  color: rgba(0, 0, 0, 0.25);\n  cursor: not-allowed;\n}\n.ant-select-tree-checkbox-disabled:hover::after,\n.ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox-disabled::after {\n  visibility: hidden;\n}\n.ant-select-tree-checkbox-wrapper {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  display: inline-flex;\n  align-items: baseline;\n  line-height: unset;\n  cursor: pointer;\n}\n.ant-select-tree-checkbox-wrapper::after {\n  display: inline-block;\n  width: 0;\n  overflow: hidden;\n  content: '\\a0';\n}\n.ant-select-tree-checkbox-wrapper.ant-select-tree-checkbox-wrapper-disabled {\n  cursor: not-allowed;\n}\n.ant-select-tree-checkbox-wrapper + .ant-select-tree-checkbox-wrapper {\n  margin-left: 8px;\n}\n.ant-select-tree-checkbox + span {\n  padding-right: 8px;\n  padding-left: 8px;\n}\n.ant-select-tree-checkbox-group {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  display: inline-block;\n}\n.ant-select-tree-checkbox-group-item {\n  margin-right: 8px;\n}\n.ant-select-tree-checkbox-group-item:last-child {\n  margin-right: 0;\n}\n.ant-select-tree-checkbox-group-item + .ant-select-tree-checkbox-group-item {\n  margin-left: 0;\n}\n.ant-select-tree-checkbox-indeterminate .ant-select-tree-checkbox-inner {\n  background-color: #fff;\n  border-color: #d9d9d9;\n}\n.ant-select-tree-checkbox-indeterminate .ant-select-tree-checkbox-inner::after {\n  top: 50%;\n  left: 50%;\n  width: 8px;\n  height: 8px;\n  background-color: #1890ff;\n  border: 0;\n  transform: translate(-50%, -50%) scale(1);\n  opacity: 1;\n  content: ' ';\n}\n.ant-select-tree-checkbox-indeterminate.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner::after {\n  background-color: rgba(0, 0, 0, 0.25);\n  border-color: rgba(0, 0, 0, 0.25);\n}\n.ant-tree-select-dropdown {\n  padding: 8px 4px 0;\n}\n.ant-tree-select-dropdown-rtl {\n  direction: rtl;\n}\n.ant-tree-select-dropdown .ant-select-tree {\n  border-radius: 0;\n}\n.ant-tree-select-dropdown .ant-select-tree-list-holder-inner {\n  align-items: stretch;\n}\n.ant-tree-select-dropdown .ant-select-tree-list-holder-inner .ant-select-tree-treenode {\n  padding-bottom: 8px;\n}\n.ant-tree-select-dropdown .ant-select-tree-list-holder-inner .ant-select-tree-treenode .ant-select-tree-node-content-wrapper {\n  flex: auto;\n}\n.ant-select-tree {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  background: #fff;\n  border-radius: 2px;\n  transition: background-color 0.3s;\n}\n.ant-select-tree-focused:not(:hover):not(.ant-select-tree-active-focused) {\n  background: #e6f7ff;\n}\n.ant-select-tree-list-holder-inner {\n  align-items: flex-start;\n}\n.ant-select-tree.ant-select-tree-block-node .ant-select-tree-list-holder-inner {\n  align-items: stretch;\n}\n.ant-select-tree.ant-select-tree-block-node .ant-select-tree-list-holder-inner .ant-select-tree-node-content-wrapper {\n  flex: auto;\n}\n.ant-select-tree .ant-select-tree-treenode {\n  display: flex;\n  align-items: flex-start;\n  padding: 0 0 4px 0;\n  outline: none;\n}\n.ant-select-tree .ant-select-tree-treenode-disabled .ant-select-tree-node-content-wrapper {\n  color: rgba(0, 0, 0, 0.25);\n  cursor: not-allowed;\n}\n.ant-select-tree .ant-select-tree-treenode-disabled .ant-select-tree-node-content-wrapper:hover {\n  background: transparent;\n}\n.ant-select-tree .ant-select-tree-treenode-active .ant-select-tree-node-content-wrapper {\n  background: #f5f5f5;\n}\n.ant-select-tree .ant-select-tree-treenode:not(.ant-select-tree .ant-select-tree-treenode-disabled).filter-node .ant-select-tree-title {\n  color: inherit;\n  font-weight: 500;\n}\n.ant-select-tree-indent {\n  align-self: stretch;\n  white-space: nowrap;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n}\n.ant-select-tree-indent-unit {\n  display: inline-block;\n  width: 24px;\n}\n.ant-select-tree-switcher {\n  position: relative;\n  flex: none;\n  align-self: stretch;\n  width: 24px;\n  margin: 0;\n  line-height: 24px;\n  text-align: center;\n  cursor: pointer;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n}\n.ant-select-tree-switcher .ant-tree-switcher-icon,\n.ant-select-tree-switcher .ant-select-tree-switcher-icon {\n  display: inline-block;\n  font-size: 10px;\n  vertical-align: baseline;\n}\n.ant-select-tree-switcher .ant-tree-switcher-icon svg,\n.ant-select-tree-switcher .ant-select-tree-switcher-icon svg {\n  transition: transform 0.3s;\n}\n.ant-select-tree-switcher-noop {\n  cursor: default;\n}\n.ant-select-tree-switcher_close .ant-select-tree-switcher-icon svg {\n  transform: rotate(-90deg);\n}\n.ant-select-tree-switcher-loading-icon {\n  color: #1890ff;\n}\n.ant-select-tree-switcher-leaf-line {\n  position: relative;\n  z-index: 1;\n  display: inline-block;\n  width: 100%;\n  height: 100%;\n}\n.ant-select-tree-switcher-leaf-line::before {\n  position: absolute;\n  top: 0;\n  bottom: -4px;\n  margin-left: -1px;\n  border-left: 1px solid #d9d9d9;\n  content: ' ';\n}\n.ant-select-tree-switcher-leaf-line::after {\n  position: absolute;\n  width: 10px;\n  height: 14px;\n  margin-left: -1px;\n  border-bottom: 1px solid #d9d9d9;\n  content: ' ';\n}\n.ant-select-tree-checkbox {\n  top: initial;\n  margin: 4px 8px 0 0;\n}\n.ant-select-tree .ant-select-tree-node-content-wrapper {\n  position: relative;\n  z-index: auto;\n  min-height: 24px;\n  margin: 0;\n  padding: 0 4px;\n  color: inherit;\n  line-height: 24px;\n  background: transparent;\n  border-radius: 2px;\n  cursor: pointer;\n  transition: all 0.3s, border 0s, line-height 0s, box-shadow 0s;\n}\n.ant-select-tree .ant-select-tree-node-content-wrapper:hover {\n  background-color: #f5f5f5;\n}\n.ant-select-tree .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected {\n  background-color: #bae7ff;\n}\n.ant-select-tree .ant-select-tree-node-content-wrapper .ant-select-tree-iconEle {\n  display: inline-block;\n  width: 24px;\n  height: 24px;\n  line-height: 24px;\n  text-align: center;\n  vertical-align: top;\n}\n.ant-select-tree .ant-select-tree-node-content-wrapper .ant-select-tree-iconEle:empty {\n  display: none;\n}\n.ant-select-tree-unselectable .ant-select-tree-node-content-wrapper:hover {\n  background-color: transparent;\n}\n.ant-select-tree-node-content-wrapper[draggable='true'] {\n  line-height: 24px;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n}\n.ant-select-tree-node-content-wrapper[draggable='true'] .ant-tree-drop-indicator {\n  position: absolute;\n  z-index: 1;\n  height: 2px;\n  background-color: #1890ff;\n  border-radius: 1px;\n  pointer-events: none;\n}\n.ant-select-tree-node-content-wrapper[draggable='true'] .ant-tree-drop-indicator::after {\n  position: absolute;\n  top: -3px;\n  left: -6px;\n  width: 8px;\n  height: 8px;\n  background-color: transparent;\n  border: 2px solid #1890ff;\n  border-radius: 50%;\n  content: '';\n}\n.ant-select-tree .ant-select-tree-treenode.drop-container > [draggable] {\n  box-shadow: 0 0 0 2px #1890ff;\n}\n.ant-select-tree-show-line .ant-select-tree-indent-unit {\n  position: relative;\n  height: 100%;\n}\n.ant-select-tree-show-line .ant-select-tree-indent-unit::before {\n  position: absolute;\n  top: 0;\n  right: 12px;\n  bottom: -4px;\n  border-right: 1px solid #d9d9d9;\n  content: '';\n}\n.ant-select-tree-show-line .ant-select-tree-indent-unit-end::before {\n  display: none;\n}\n.ant-select-tree-show-line .ant-select-tree-switcher {\n  background: #fff;\n}\n.ant-select-tree-show-line .ant-select-tree-switcher-line-icon {\n  vertical-align: -0.225em;\n}\n.ant-tree-select-dropdown-rtl .ant-select-tree .ant-select-tree-switcher_close .ant-select-tree-switcher-icon svg {\n  transform: rotate(90deg);\n}\n.ant-tree-select-dropdown-rtl .ant-select-tree .ant-select-tree-switcher-loading-icon {\n  transform: scaleY(-1);\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-message {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: fixed;\n  top: 8px;\n  left: 0;\n  z-index: 1010;\n  width: 100%;\n  pointer-events: none;\n}\n.ant-message-notice {\n  padding: 8px;\n  text-align: center;\n}\n.ant-message-notice-content {\n  display: inline-block;\n  padding: 10px 16px;\n  background: #fff;\n  border-radius: 2px;\n  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n  pointer-events: all;\n}\n.ant-message-success .anticon {\n  color: #52c41a;\n}\n.ant-message-error .anticon {\n  color: #ff4d4f;\n}\n.ant-message-warning .anticon {\n  color: #faad14;\n}\n.ant-message-info .anticon,\n.ant-message-loading .anticon {\n  color: #1890ff;\n}\n.ant-message .anticon {\n  position: relative;\n  top: 1px;\n  margin-right: 8px;\n  font-size: 16px;\n}\n.ant-message-notice.move-up-leave.move-up-leave-active {\n  -webkit-animation-name: MessageMoveOut;\n          animation-name: MessageMoveOut;\n  -webkit-animation-duration: 0.3s;\n          animation-duration: 0.3s;\n}\n@-webkit-keyframes MessageMoveOut {\n  0% {\n    max-height: 150px;\n    padding: 8px;\n    opacity: 1;\n  }\n  100% {\n    max-height: 0;\n    padding: 0;\n    opacity: 0;\n  }\n}\n@keyframes MessageMoveOut {\n  0% {\n    max-height: 150px;\n    padding: 8px;\n    opacity: 1;\n  }\n  100% {\n    max-height: 0;\n    padding: 0;\n    opacity: 0;\n  }\n}\n.ant-message-rtl {\n  direction: rtl;\n}\n.ant-message-rtl span {\n  direction: rtl;\n}\n.ant-message-rtl .anticon {\n  margin-right: 0;\n  margin-left: 8px;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.gcs-filter {\n  position: relative;\n  width: 100%;\n  height: 100%;\n  overflow: hidden;\n}\n.gcs-filter .gcs-filter-title {\n  z-index: 1;\n  margin: 12px;\n}\n.gcs-filter .gcs-filter-title .gcs-filter-tooltip {\n  margin-left: 4px;\n}\n.gcs-filter .gcs-filter-searchBar {\n  display: flex;\n  flex-wrap: wrap;\n  box-sizing: border-box;\n  width: 100%;\n  margin-bottom: 16px;\n  padding: 0 16px;\n  overflow: auto;\n}\n.gcs-filter .gcs-filter-searchBar-item {\n  display: flex;\n  padding: 16px 16px 0 0;\n}\n.gcs-filter .gcs-filter-searchBar-item-vertical {\n  flex-direction: column;\n}\n.gcs-filter .gcs-filter-searchBar-item-label {\n  display: flex;\n  align-items: center;\n  margin-right: 8px;\n}\n.gcs-filter .gcs-filter-searchBar-item-label-vertical {\n  flex-direction: column;\n  align-items: flex-start;\n  margin-right: 0;\n  margin-bottom: 8px;\n}\n.gcs-filter .gcs-filter-searchBar-item-content {\n  flex: 1;\n}\n.gcs-filter .gcs-filter-searchBar-item .gcs-filter-tag {\n  display: flex;\n  align-items: center;\n  overflow: hidden;\n}\n.gcs-filter .gcs-filter-searchBar-item .gcs-filter-tag .ant-space {\n  overflow: auto;\n}\n.gcs-filter .gcs-filter-searchBar-item .gcs-filter-tag .ant-space-item {\n  flex-shrink: 0;\n}\n.gcs-filter .gcs-filter-searchBar-item .gcs-filter-tag .tag-all {\n  flex-shrink: 0;\n  margin-right: 8px;\n}\n.gcs-filter .gcs-filter-searchBar-item .gcs-filter-tag .tag-other {\n  flex-shrink: 0;\n  margin-left: 8px;\n}\n.gcs-filter .gcs-filter-searchBar-item .gcs-filter-string-tag {\n  color: rgba(0, 0, 0, 0.45);\n  cursor: pointer;\n}\n.gcs-filter .gcs-filter-searchBar-item .gcs-filter-string-tag:hover,\n.gcs-filter .gcs-filter-searchBar-item .gcs-filter-string-tag.is-active {\n  color: #1890ff;\n}\n.gcs-filter .gcs-filter-actionBar {\n  display: flex;\n  flex: 1;\n  align-items: center;\n  justify-content: flex-end;\n  box-sizing: border-box;\n  padding: 16px 16px 0 0;\n  font-size: 14px;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.gcs-dashboard-container {\n  width: 100%;\n  height: 100%;\n  overflow: auto;\n}\n.gcs-dashboard-container .gcs-dashboard {\n  position: relative;\n  margin: auto;\n  transform-origin: 0 0;\n  overflow: hidden;\n}\n.gcs-dashboard-container .gcs-dashboard .gcs-dashboard-grid {\n  pointer-events: none;\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHJlY3Qgc3Ryb2tlPSIjZDlkOWQ5IiBpZD0ic3ZnXzEiIGhlaWdodD0iNTAiIHdpZHRoPSI1MCIgeT0iMC41IiB4PSIwLjUiIGZpbGw9Im5vbmUiLz4KPC9zdmc+);\n  background-repeat: repeat;\n  z-index: -1;\n}\n.gcs-layer {\n  position: absolute;\n}");return({gpui:t})=>{const[e,a]=i.default.useState(""),[r,o]=i.default.useState(""),[l,s]=i.default.useState(),c=i.default.useRef(),[u,d]=i.default.useState(void 0);return i.default.useEffect((()=>{let e=!0;const r=n.reaction((()=>({deviceToken:t.params.deviceToken,baseUrl:t.params.base_url,setId:t.params.set_id})),(({deviceToken:t,baseUrl:n,setId:r})=>f(void 0,void 0,void 0,(function*(){if(e&&(swt.additionalHeaders={"X-Gapper-OAuth-Token":t},n&&r)){o(r),a(n);const t=yield(({baseUrl:t,id:e})=>f(void 0,void 0,void 0,(function*(){var n;const a=yield swt(`${t}/dashboard/${e}`,{headers:{"Content-Type":"application/json;charset=UTF-8"}}),r=yield a.json();if(!a.ok)throw new owt(null===(n=r.error)||void 0===n?void 0:n.message,a.status);return r})))({baseUrl:n,id:r});s(t),e=!1;try{d(JSON.parse(t.config))}catch(t){console.error(t),d(void 0)}}}))),{fireImmediately:!0});return()=>{r(),e=!1}}),[t.params.deviceToken,t.params.base_url,t.params.set_id]),M.jsx(M.Fragment,{children:l?M.jsx("div",Object.assign({className:"content"},{children:u&&r&&M.jsx(awt,{ref:c,dashboard:u,getDataFromGodiva:t=>f(void 0,void 0,void 0,(function*(){const n=t.key,a={[n]:{}},o=t.pp,i=t.st;void 0!==o&&(a[n].pp=o),void 0!==i&&(a[n].st=i),window[`godiva_filters_${n}`]&&(a[n].criteria=window[`godiva_filters_${n}`]);try{const{[n]:t}=yield((t,n)=>f(void 0,void 0,void 0,(function*(){var a;const r=yield swt(`${e}/v1/chart/${t}/data`,{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},body:JSON.stringify(n)}),o=yield r.json();if(!r.ok)throw new owt(null===(a=o.error)||void 0===a?void 0:a.message,r.status);return o})))(r,a);if(!t)return;const o=[];return t.data.forEach((e=>{const n={};t.columns.forEach((t=>{n[t.title]=e[t.index]})),o.push(n)})),{total:t.count,data:o}}catch(t){return void console.log("e",t)}}))},void 0)}),void 0):M.jsx("div",Object.assign({className:"no_data"},{children:"暂无数据"}),void 0)},void 0)}}));
