diff --git a/asset-manifest.json b/asset-manifest.json index 7e94e4b2..3f403b81 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,26 +1,26 @@ { "files": { "main.css": "/upgrade-helper/static/css/main.bb9eb706.chunk.css", - "main.js": "/upgrade-helper/static/js/main.b352f73f.chunk.js", - "main.js.map": "/upgrade-helper/static/js/main.b352f73f.chunk.js.map", + "main.js": "/upgrade-helper/static/js/main.60f5454b.chunk.js", + "main.js.map": "/upgrade-helper/static/js/main.60f5454b.chunk.js.map", "runtime-main.js": "/upgrade-helper/static/js/runtime-main.1a503537.js", "runtime-main.js.map": "/upgrade-helper/static/js/runtime-main.1a503537.js.map", "static/css/2.0967b3c0.chunk.css": "/upgrade-helper/static/css/2.0967b3c0.chunk.css", - "static/js/2.ab7e12b7.chunk.js": "/upgrade-helper/static/js/2.ab7e12b7.chunk.js", - "static/js/2.ab7e12b7.chunk.js.map": "/upgrade-helper/static/js/2.ab7e12b7.chunk.js.map", + "static/js/2.29d43d20.chunk.js": "/upgrade-helper/static/js/2.29d43d20.chunk.js", + "static/js/2.29d43d20.chunk.js.map": "/upgrade-helper/static/js/2.29d43d20.chunk.js.map", "index.html": "/upgrade-helper/index.html", - "precache-manifest.044b52be8b51e0e32b8dfe86e1b54c52.js": "/upgrade-helper/precache-manifest.044b52be8b51e0e32b8dfe86e1b54c52.js", + "precache-manifest.743ccb0a6c9ec2560428bddce0a061b0.js": "/upgrade-helper/precache-manifest.743ccb0a6c9ec2560428bddce0a061b0.js", "service-worker.js": "/upgrade-helper/service-worker.js", "static/css/2.0967b3c0.chunk.css.map": "/upgrade-helper/static/css/2.0967b3c0.chunk.css.map", "static/css/main.bb9eb706.chunk.css.map": "/upgrade-helper/static/css/main.bb9eb706.chunk.css.map", - "static/js/2.ab7e12b7.chunk.js.LICENSE.txt": "/upgrade-helper/static/js/2.ab7e12b7.chunk.js.LICENSE.txt", + "static/js/2.29d43d20.chunk.js.LICENSE.txt": "/upgrade-helper/static/js/2.29d43d20.chunk.js.LICENSE.txt", "static/media/logo.svg": "/upgrade-helper/static/media/logo.d7a4563b.svg" }, "entrypoints": [ "static/js/runtime-main.1a503537.js", "static/css/2.0967b3c0.chunk.css", - "static/js/2.ab7e12b7.chunk.js", + "static/js/2.29d43d20.chunk.js", "static/css/main.bb9eb706.chunk.css", - "static/js/main.b352f73f.chunk.js" + "static/js/main.60f5454b.chunk.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index 229f2eae..09d0ad79 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -Upgrade Backstage applications
\ No newline at end of file +Upgrade Backstage applications
\ No newline at end of file diff --git a/precache-manifest.044b52be8b51e0e32b8dfe86e1b54c52.js b/precache-manifest.743ccb0a6c9ec2560428bddce0a061b0.js similarity index 59% rename from precache-manifest.044b52be8b51e0e32b8dfe86e1b54c52.js rename to precache-manifest.743ccb0a6c9ec2560428bddce0a061b0.js index 4aa968ec..c44abd4d 100644 --- a/precache-manifest.044b52be8b51e0e32b8dfe86e1b54c52.js +++ b/precache-manifest.743ccb0a6c9ec2560428bddce0a061b0.js @@ -1,27 +1,27 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ { - "revision": "1d0099df8032957a2c89af76be09e456", + "revision": "e1f190b2695156e66ffe842815a81405", "url": "/upgrade-helper/index.html" }, { - "revision": "fcba3feb8972707c6278", + "revision": "23427cb1115431836d00", "url": "/upgrade-helper/static/css/2.0967b3c0.chunk.css" }, { - "revision": "3cdb9320fe8091269d1e", + "revision": "3ea6f963c2d49016bc49", "url": "/upgrade-helper/static/css/main.bb9eb706.chunk.css" }, { - "revision": "fcba3feb8972707c6278", - "url": "/upgrade-helper/static/js/2.ab7e12b7.chunk.js" + "revision": "23427cb1115431836d00", + "url": "/upgrade-helper/static/js/2.29d43d20.chunk.js" }, { "revision": "1a5a0c0366d63a127853db09f92c5180", - "url": "/upgrade-helper/static/js/2.ab7e12b7.chunk.js.LICENSE.txt" + "url": "/upgrade-helper/static/js/2.29d43d20.chunk.js.LICENSE.txt" }, { - "revision": "3cdb9320fe8091269d1e", - "url": "/upgrade-helper/static/js/main.b352f73f.chunk.js" + "revision": "3ea6f963c2d49016bc49", + "url": "/upgrade-helper/static/js/main.60f5454b.chunk.js" }, { "revision": "5442362b23814ac4d288", diff --git a/service-worker.js b/service-worker.js index 3fa37859..826e373a 100644 --- a/service-worker.js +++ b/service-worker.js @@ -14,7 +14,7 @@ importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js"); importScripts( - "/upgrade-helper/precache-manifest.044b52be8b51e0e32b8dfe86e1b54c52.js" + "/upgrade-helper/precache-manifest.743ccb0a6c9ec2560428bddce0a061b0.js" ); self.addEventListener('message', (event) => { diff --git a/static/js/2.29d43d20.chunk.js b/static/js/2.29d43d20.chunk.js new file mode 100644 index 00000000..aac04a6b --- /dev/null +++ b/static/js/2.29d43d20.chunk.js @@ -0,0 +1,3 @@ +/*! For license information please see 2.29d43d20.chunk.js.LICENSE.txt */ +(this["webpackJsonpupgrade-helper"]=this["webpackJsonpupgrade-helper"]||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(177)},function(e,t,n){e.exports=n(244)()},function(e,t,n){"use strict";var r=n(141),o=n.n(r),i=n(0);var a=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)===0){var t,n=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var o=function(e){if(e.sheet)return e.sheet;for(var t=0;tr&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(v,"$1"+e.trim());case 58:return e.trim()+t.replace(v,"$1"+e.trim());default:if(0<1*n&&0c.charCodeAt(8))break;case 115:a=a.replace(c,"-webkit-"+c)+";"+a;break;case 207:case 102:a=a.replace(c,"-webkit-"+(102u.charCodeAt(0)&&(u=u.trim()),u=[u],0d)&&(z=(H=H.replace(" ",":")).length),096?p:d};function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(237)),o=a(n(241)),i=a(n(70));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"===typeof t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(129),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(){function e(e,t){for(var n=0;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(0,a.setTwoToneColor)("#1890ff");var f=function(e,t){var n,a,c,f=e.className,p=e.icon,d=e.spin,h=e.rotate,v=e.tabIndex,m=e.onClick,y=e.twoToneColor,g=s(e,["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"]),b=(0,o.default)("anticon",(n={},a="anticon-".concat(p.name),c=Boolean(p.name),a in n?Object.defineProperty(n,a,{value:c,enumerable:!0,configurable:!0,writable:!0}):n[a]=c,n),f),w=(0,o.default)({"anticon-spin":!!d||"loading"===p.name}),O=v;void 0===O&&m&&(O=-1);var E=h?{msTransform:"rotate(".concat(h,"deg)"),transform:"rotate(".concat(h,"deg)")}:void 0,x=l((0,u.normalizeTwoToneColors)(y),2),S=x[0],k=x[1];return r.default.createElement("span",Object.assign({role:"img","aria-label":p.name},g,{ref:t,tabIndex:O,onClick:m,className:b}),r.default.createElement(i.default,{className:w,icon:p,primaryColor:S,secondaryColor:k,style:E}))};f.displayName="AntdIcon",f.getTwoToneColor=a.getTwoToneColor,f.setTwoToneColor=a.setTwoToneColor;var p=r.default.forwardRef(f);t.default=p},function(e,t,n){(function(t){for(var r=n(246),o="undefined"===typeof window?t:window,i=["moz","webkit"],a="AnimationFrame",u=o["request"+a],c=o["cancel"+a]||o["cancelRequest"+a],l=0;!u&&l=r.F1&&t<=r.F12)return!1;switch(t){case r.ALT:case r.CAPS_LOCK:case r.CONTEXT_MENU:case r.CTRL:case r.DOWN:case r.END:case r.ESC:case r.HOME:case r.INSERT:case r.LEFT:case r.MAC_FF_META:case r.META:case r.NUMLOCK:case r.NUM_CENTER:case r.PAGE_DOWN:case r.PAGE_UP:case r.PAUSE:case r.PRINT_SCREEN:case r.RIGHT:case r.SHIFT:case r.UP:case r.WIN_KEY:case r.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=r.ZERO&&e<=r.NINE)return!0;if(e>=r.NUM_ZERO&&e<=r.NUM_MULTIPLY)return!0;if(e>=r.A&&e<=r.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case r.SPACE:case r.QUESTION_MARK:case r.NUM_PLUS:case r.NUM_MINUS:case r.NUM_PERIOD:case r.NUM_DIVISION:case r.SEMICOLON:case r.DASH:case r.EQUALS:case r.COMMA:case r.PERIOD:case r.SLASH:case r.APOSTROPHE:case r.SINGLE_QUOTE:case r.OPEN_SQUARE_BRACKET:case r.BACKSLASH:case r.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};t.a=r},function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=n(3),a=n.n(i),u=n(113),c={};function l(e,t){0}function s(e,t,n){t||c[n]||(e(!1,n),c[n]=!0)}var f=function(e,t){s(l,e,t)},p=n(114);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r=e[n];switch(n){case"class":t.className=r,delete t.class;break;default:t[n]=r}return t}),{})}function b(e){return Object(u.generate)(e)[0]}function w(e){return e?Array.isArray(e)?e:[e]:[]}var O="\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",E=!1;function x(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function k(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:O;Object(r.useEffect)((function(){E||(Object(p.insertCss)(e,{prepend:!0}),E=!0)}),[])}(),t=y(i),n="icon should be icon definiton, but got ".concat(i),f(t,"[@ant-design/icons] ".concat(n)),!y(i))return null;var m=i;return m&&"function"===typeof m.icon&&(m=k({},m,{icon:m.icon(v.primaryColor,v.secondaryColor)})),function e(t,n,r){return r?o.a.createElement(t.tag,h({key:n},g(t.attrs),{},r),(t.children||[]).map((function(r,o){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(o))}))):o.a.createElement(t.tag,h({key:n},g(t.attrs)),(t.children||[]).map((function(r,o){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(o))})))}(m.icon,"svg-".concat(m.name),k({className:a,onClick:u,style:c,"data-icon":m.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},d))};T.displayName="IconReact",T.getTwoToneColors=function(){return k({},C)},T.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;C.primaryColor=t,C.secondaryColor=n||b(t),C.calculated=!!n};var P=T;function j(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){o=!0,i=c}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function N(e){var t=j(w(e),2),n=t[0],r=t[1];return P.setTwoToneColors({primaryColor:n,secondaryColor:r})}function A(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){o=!0,i=c}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function M(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}N("#1890ff");var R=o.a.forwardRef((function(e,t){var n,r,i,u=e.className,c=e.icon,l=e.spin,s=e.rotate,f=e.tabIndex,p=e.onClick,d=e.twoToneColor,h=M(e,["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"]),v=a()("anticon",(n={},r="anticon-".concat(c.name),i=Boolean(c.name),r in n?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,n),u),m=a()({"anticon-spin":!!l||"loading"===c.name}),y=f;void 0===y&&p&&(y=-1);var g=s?{msTransform:"rotate(".concat(s,"deg)"),transform:"rotate(".concat(s,"deg)")}:void 0,b=A(w(d),2),O=b[0],E=b[1];return o.a.createElement("span",Object.assign({role:"img","aria-label":c.name},h,{ref:t,tabIndex:y,onClick:p,className:v}),o.a.createElement(P,{className:m,icon:c,primaryColor:O,secondaryColor:E,style:g}))}));R.displayName="AntdIcon",R.getTwoToneColor=function(){var e=P.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},R.setTwoToneColor=N;t.a=R},function(e,t,n){"use strict";n.d(t,"b",(function(){return u}));var r={};function o(e,t){0}function i(e,t){0}function a(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}function u(e,t){a(i,e,t)}t.a=function(e,t){a(o,e,t)}},function(e,t,n){var r=n(88),o=n(89),i=n(62),a=n(61),u=a.MAX_LENGTH,c=a.MAX_SAFE_INTEGER,l=n(49),s=l.re,f=l.t,p=n(90).compareIdentifiers,d=function(){"use strict";function e(t,n){if(r(this,e),n&&"object"===typeof n||(n={loose:!!n,includePrerelease:!1}),t instanceof e){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if("string"!==typeof t)throw new TypeError("Invalid Version: ".concat(t));if(t.length>u)throw new TypeError("version is longer than ".concat(u," characters"));i("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;var o=t.trim().match(n.loose?s[f.LOOSE]:s[f.FULL]);if(!o)throw new TypeError("Invalid Version: ".concat(t));if(this.raw=t,this.major=+o[1],this.minor=+o[2],this.patch=+o[3],this.major>c||this.major<0)throw new TypeError("Invalid major version");if(this.minor>c||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>c||this.patch<0)throw new TypeError("Invalid patch version");o[4]?this.prerelease=o[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t=0;)"number"===typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}}]),e}();e.exports=d},,function(e,t,n){"use strict";var r={};n.r(r),n.d(r,"reversed",(function(){return re})),n.d(r,"mirrored",(function(){return oe})),n.d(r,"createReversedEasing",(function(){return ie})),n.d(r,"createMirroredEasing",(function(){return ae})),n.d(r,"createExpoIn",(function(){return ue})),n.d(r,"createBackIn",(function(){return ce})),n.d(r,"createAnticipateEasing",(function(){return le})),n.d(r,"linear",(function(){return se})),n.d(r,"easeIn",(function(){return fe})),n.d(r,"easeOut",(function(){return pe})),n.d(r,"easeInOut",(function(){return de})),n.d(r,"circIn",(function(){return he})),n.d(r,"circOut",(function(){return ve})),n.d(r,"circInOut",(function(){return me})),n.d(r,"backIn",(function(){return ye})),n.d(r,"backOut",(function(){return ge})),n.d(r,"backInOut",(function(){return be})),n.d(r,"anticipate",(function(){return we})),n.d(r,"bounceOut",(function(){return Oe})),n.d(r,"bounceIn",(function(){return Ee})),n.d(r,"bounceInOut",(function(){return xe})),n.d(r,"cubicBezier",(function(){return je}));var o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function i(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n4?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),t+=t,n+=n,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:1}}}),ee={test:function(e){return"string"===typeof e&&R.test(e)||$(e)||G(e)},parse:function(e){return Q.test(e)?Q.parse(e):Z.test(e)?Z.parse(e):J.test(e)?J.parse(e):e},transform:function(e){return $(e)?Q.transform(e):G(e)?Z.transform(e):e}},te=function(e){return"number"===typeof e?0:e},ne={test:function(e){if("string"!==typeof e||!isNaN(e))return!1;var t=0,n=e.match(A),r=e.match(M);return n&&(t+=n.length),r&&(t+=r.length),t>0},parse:function(e){var t=e,n=[],r=t.match(M);r&&(t=t.replace(M,"${c}"),n.push.apply(n,r.map(ee.parse)));var o=t.match(A);return o&&n.push.apply(n,o.map(I.parse)),n},createTransformer:function(e){var t=e,n=0,r=e.match(M),o=r?r.length:0;if(r)for(var i=0;i=.001?function(t,r){for(var o=0,i=0;o<8;++o){if(0===(i=Te(r,e,n)))return r;r-=(Pe(r,e,n)-t)/i}return r}(t,i):0===a?i:function(t,r,o){var i,a,u=0;do{(i=Pe(a=r+(o-r)/2,e,n)-t)>0?o=a:r=a}while(Math.abs(i)>1e-7&&++u<10);return a}(t,u,u+.1)};!function(){for(var t=0;t<11;++t)o[t]=Pe(.1*t,e,n)}();return function(o){return e===t&&n===r?o:0===o?0:1===o?1:Pe(i(o),t,r)}}var Ne={x:0,y:0,z:0},Ae=function(e){return"number"===typeof e},Me=function(e){return function(t,n,r){return void 0!==r?e(t,n,r):function(r){return e(t,n,r)}}},Re=Me((function(e,t,n){return Math.min(Math.max(n,e),t)})),Ie=function(e){return e.hasOwnProperty("x")&&e.hasOwnProperty("y")},Le=function(e){return Ie(e)&&e.hasOwnProperty("z")},De=function(e,t){return Math.abs(e-t)},Fe=function(e,t){if(void 0===t&&(t=Ne),Ae(e)&&Ae(t))return De(e,t);if(Ie(e)&&Ie(t)){var n=De(e.x,t.x),r=De(e.y,t.y),o=Le(e)&&Le(t)?De(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(o,2))}return 0},ze=function(e,t,n){var r=t-e;return 0===r?1:(n-e)/r},Ue=function(e,t,n){return-n*e+n*t+e},Ve=function(){return(Ve=Object.assign||function(e){for(var t,n=1,r=arguments.length;nd||o<-d;r(i?g+o:g),i||(x.update(b),n())}),!0);return{stop:function(){return x.update(b)}}}))}),{from:I.test,modifyTarget:function(e){return"function"===typeof e},velocity:I.test}),rn=en((function(e){return void 0===e&&(e={}),$t((function(t){var n=t.update,r=t.complete,o=e.velocity,i=void 0===o?0:o,a=e.from,u=void 0===a?0:a,c=e.to,l=void 0===c?0:c,s=e.stiffness,f=void 0===s?100:s,p=e.damping,d=void 0===p?10:p,h=e.mass,v=void 0===h?1:h,m=e.restSpeed,y=void 0===m?.01:m,g=e.restDelta,b=void 0===g?.01:g,w=i?-i/1e3:0,O=0,E=l-u,S=u,k=S,_=T.update((function(e){var t=e.delta;O+=t;var o=d/(2*Math.sqrt(f*v)),a=Math.sqrt(f/v)/1e3;if(k=S,o<1){var u=Math.exp(-o*a*O),c=a*Math.sqrt(1-o*o);S=l-u*((w+o*a*E)/c*Math.sin(c*O)+E*Math.cos(c*O))}else{u=Math.exp(-a*O);S=l-u*(E+(w+a*E)*O)}i=nt(S-k,t);var s=Math.abs(i)<=y,p=Math.abs(l-S)<=b;s&&p?(n(S=l),x.update(_),r()):n(S)}),!0);return{stop:function(){return x.update(_)}}}))}),{from:I.test,to:I.test,stiffness:I.test,damping:I.test,mass:I.test,velocity:I.test}),on=en((function(e){var t=e.from,n=void 0===t?0:t,r=e.velocity,o=void 0===r?0:r,i=e.min,u=e.max,c=e.power,l=void 0===c?.8:c,s=e.timeConstant,f=void 0===s?700:s,p=e.bounceStiffness,d=void 0===p?500:p,h=e.bounceDamping,v=void 0===h?10:h,m=e.restDelta,y=void 0===m?1:m,g=e.modifyTarget;return $t((function(e){var t,r=e.update,c=e.complete,s=n,p=n,h=!1,m=function(e){return void 0!==i&&e<=i},b=function(e){return void 0!==u&&e>=u},w=function(e){return m(e)||b(e)},O=function(e){r(e),s=p,o=nt((p=e)-s,C().delta),t&&!h&&function(e,t){return m(e)&&t<0||b(e)&&t>0}(e,o)&&x({from:e,velocity:o})},E=function(e,n){t&&t.stop(),t=e.start({update:O,complete:function(){n?n():c()}})},x=function(e){h=!0,E(rn(a({},e,{to:m(e.from)?i:u,stiffness:d,damping:v,restDelta:y})))};if(w(n))x({from:n,velocity:o});else if(0!==o){var S=nn({from:n,velocity:o,timeConstant:f,power:l,restDelta:w(n)?20:y,modifyTarget:g});E(S,(function(){w(p)?x({from:p,velocity:o}):c()}))}else c();return{stop:function(){return t&&t.stop()}}}))}),{from:I.test,velocity:I.test,min:I.test,max:I.test,damping:I.test,stiffness:I.test,modifyTarget:function(e){return"function"===typeof e}}),an=en((function(e){var t=e.from,n=void 0===t?0:t,r=e.to,o=void 0===r?1:r,i=e.ease,a=void 0===i?se:i,u=e.reverseEase;return void 0!==u&&u&&(a=ie(a)),$t((function(e){var t=e.update;return{seek:function(e){return t(e)}}})).pipe(a,(function(e){return Ue(n,o,e)}))}),{ease:function(e){return"function"===typeof e},from:I.test,to:I.test}),un=Re(0,1),cn=function(e){return void 0===e&&(e={}),$t((function(t){var n,r=t.update,o=t.complete,i=e.duration,a=void 0===i?300:i,u=e.ease,c=void 0===u?pe:u,l=e.flip,s=void 0===l?0:l,f=e.loop,p=void 0===f?0:f,d=e.yoyo,h=void 0===d?0:d,v=e.repeatDelay,m=void 0===v?0:v,y=e.from,g=void 0===y?0:y,b=e.to,w=void 0===b?1:b,O=e.elapsed,E=void 0===O?0:O,S=e.flipCount,k=void 0===S?0:S,_=e.yoyoCount,C=void 0===_?0:_,P=e.loopCount,j=void 0===P?0:P,N=an({from:g,to:w,ease:c}).start(r),A=0,M=!1,R=function(e){var t;void 0===e&&(e=!1),N=an({from:g=(t=[w,g])[0],to:w=t[1],ease:c,reverseEase:e}).start(r)},I=function(){A=un(ze(0,a,E)),N.seek(A)},L=function(){M=!0,n=T.update((function(e){var t=e.delta;E+=t,I(),function(){var e=M&&E>a+m;return!!e&&(!(!e||p||s||h)||(E=E-a-m,p&&j=e[o]&&a[i].seek(1);for(var n=1;nt||n===o);n++);var u=ze(e[n-1],e[n],t);a[n-1].seek(ln(u))}}(o,l,e)}))},fn=function(e,t,n){return $t((function(r){var o=r.update,i=t.split(" ").map((function(t){return e.addEventListener(t,o,n),t}));return{stop:function(){return i.forEach((function(t){return e.removeEventListener(t,o,n)}))}}}))},pn=function(){return{clientX:0,clientY:0,pageX:0,pageY:0,x:0,y:0}},dn=function(e,t){return void 0===t&&(t={clientX:0,clientY:0,pageX:0,pageY:0,x:0,y:0}),t.clientX=t.x=e.clientX,t.clientY=t.y=e.clientY,t.pageX=e.pageX,t.pageY=e.pageY,t},hn=[pn()];if("undefined"!==typeof document){fn(document,"touchstart touchmove",{passive:!0,capture:!0}).start((function(e){var t=e.touches;!0;var n=t.length;hn.length=0;for(var r=0;ro?n=ze(e.min,e.max-o,t.min):o>r&&(n=ze(t.min,t.max-r,e.min)),rr(n)}(t,n),e.originPoint=n.min+e.origin*i,e.translate=function(e,t,n){return Ue(e.min,e.max,n)-Ue(t.min,t.max,n)}(t,n,e.origin),yr(e.scale,1,1e-4)&&(e.scale=1),yr(e.translate)&&(e.translate=0)}function cr(e,t){return function(e,t){var n=e.scale,r=e.originPoint;return r+n*(t-r)}(t,e)+t.translate}function lr(e,t){e.min=cr(e.min,t),e.max=cr(e.max,t)}function sr(e,t){lr(e.x,t.x),lr(e.y,t.y)}function fr(e,t){return void 0===t?e:nr(t)}var pr={translate:0,scale:1,origin:0,originPoint:0};function dr(e,t,n,r,o){t[e].min=Ue(n[e].min,r[e].min,o),t[e].max=Ue(n[e].max,r[e].max,o)}var hr={snapshotTarget:function(e){return e.snapshotTarget()},startAnimation:function(e){return e.startAnimation()}},vr=function(){var e=new Set;return{add:function(t){return e.add(t)},flush:function(t){var n=void 0===t?hr:t,r=n.snapshotTarget,o=n.startAnimation;if(e.size){var i=Array.from(e).sort(mr);i.forEach((function(e){return e.resetStyles()})),i.forEach(r),i.forEach(o),e.clear()}}}},mr=function(e,t){return e.depth-t.depth};function yr(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=.01),Fe(e,t)=3;if(t||n){var o=e.point,i=C().timestamp;r.history.push(a(a({},o),{timestamp:i}));var u=r.handlers,c=u.onStart,l=u.onMove;t||(c&&c(r.lastMoveEvent,e),r.startEvent=r.lastMoveEvent),l&&l(r.lastMoveEvent,e)}}},!(Ur(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=o;var i=no(Wr(e),this.transformPagePoint),u=i.point,c=C().timestamp;this.history=[a(a({},u),{timestamp:c})];var l=t.onSessionStart;l&&l(e,ro(i,this.history));var s=Qr(window,"pointermove",(function(e,t){return r.handlePointerMove(e,t)})),f=Qr(window,"pointerup",(function(e,t){return r.handlePointerUp(e,t)}));this.removeListeners=function(){s&&s(),f&&f()}}}return e.prototype.handlePointerMove=function(e,t){this.lastMoveEvent=e,this.lastMoveEventInfo=no(t,this.transformPagePoint),zr(e)&&0===e.buttons?this.handlePointerUp(e,t):T.update(this.updatePoint,!0)},e.prototype.handlePointerUp=function(e,t){this.end();var n=this.handlers.onEnd;if(n){var r=ro(no(t,this.transformPagePoint),this.history);n&&n(e,r)}},e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),x.update(this.updatePoint),eo()},e}();function no(e,t){return t?{point:t(e.point)}:e}function ro(e,t){var n=e.point;return{point:n,delta:Kr.subtract(n,io(t)),offset:Kr.subtract(n,oo(t)),velocity:ao(t,.1)}}function oo(e){return e[0]}function io(e){return e[e.length-1]}function ao(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,o=io(e);n>=0&&(r=e[n],!(o.timestamp-r.timestamp>$n(t)));)n--;if(!r)return{x:0,y:0};var i=(o.timestamp-r.timestamp)/1e3;if(0===i)return{x:0,y:0};var a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}var uo=["whileHover","whileTap","whileDrag"],co=function(e){return uo.indexOf(e)+1};function lo(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var so=lo("dragHorizontal"),fo=lo("dragVertical");function po(e){var t=!1;if("y"===e)t=fo();else if("x"===e)t=so();else{var n=so(),r=fo();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}var ho=co("whileTap");var vo=co("whileHover"),mo=function(e){return function(t,n){zr(t)&&e(t,n)}};function yo(e,t){!function(e,t){var n=e.onPan,r=e.onPanStart,o=e.onPanEnd,i=e.onPanSessionStart,a=n||r||o||i,u=Object(l.useRef)(null),c=Object(l.useContext)(Rr).transformPagePoint,s={onSessionStart:i,onStart:r,onMove:n,onEnd:function(e,t){u.current=null,o&&o(e,t)}};null!==u.current&&u.current.updateHandlers(s),Zr(t,"pointerdown",a&&function(e){u.current=new to(e,s,{transformPagePoint:c})}),Dr((function(){return u.current&&u.current.end()}))}(e,t),function(e,t){var n=e.onTap,r=e.onTapStart,o=e.onTapCancel,i=e.whileTap,a=e.controls,u=n||r||o||i,c=Object(l.useRef)(!1),s=Object(l.useRef)(null);function f(){s.current&&s.current(),s.current=null}i&&a&&a.setOverride(i,ho);var p=Object(l.useRef)(null);p.current=function(e,r){var u=t.current;if(f(),c.current&&u){c.current=!1,a&&i&&a.clearOverride(ho);var l=po(!0);l&&(l(),!function e(t,n){return!!n&&(t===n||e(t,n.parentElement))}(u,e.target)?o&&o(e,r):n&&n(e,r))}},Zr(t,"pointerdown",u?function(e,n){f(),s.current=Qr(window,"pointerup",(function(e,t){return p.current(e,t)})),t.current&&!c.current&&(c.current=!0,r&&r(e,n),a&&i&&a.startOverride(ho))}:void 0),Dr(f)}(e,t),function(e,t){var n=e.whileHover,r=e.onHoverStart,o=e.onHoverEnd,i=e.controls;n&&i&&i.setOverride(n,vo),Zr(t,"pointerenter",mo((function(e,t){r&&r(e,t),n&&i&&i.startOverride(vo)}))),Zr(t,"pointerleave",mo((function(e,t){o&&o(e,t),n&&i&&i.clearOverride(vo)})))}(e,t)}var go=function(e){return function(t){return e(t),null}},bo=["onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","whileTap","whileHover","onHoverStart","onHoverEnd"],wo={key:"gestures",shouldRender:function(e){return bo.some((function(t){return e.hasOwnProperty(t)}))},Component:go((function(e){var t=e.nativeElement;yo(u(e,["nativeElement"]),t)}))},Oo=new WeakMap,Eo=function(e){return e},xo=function(){function e(e){var t=e.nativeElement,n=e.values,r=e.controls;this.isDragging=!1,this.currentDirection=null,this.constraints=!1,this.props={transformPagePoint:Eo},this.point={},this.origin={x:gn(0),y:gn(0)},this.openGlobalLock=null,this.panSession=null,this.prevConstraintsBox={width:0,height:0,x:0,y:0},this.nativeElement=t,this.values=n,this.controls=r,Oo.set(t,this)}return e.prototype.start=function(e,t){var n=this,r=(void 0===t?{}:t).snapToCursor;void 0!==r&&r&&this.snapToCursor(e);var o=this.props.transformPagePoint;this.panSession=new to(e,{onSessionStart:function(){Jr=!0,n.stopMotion()},onStart:function(e,t){if(n.constraintsNeedResolution){var r=n.props,o=r.dragConstraints,i=r.transformPagePoint;n.constraints=To(o.current,n.nativeElement.getInstance(),n.point,i),n.applyConstraintsToPoint()}So((function(e){var t=n.point[e];t&&n.origin[e].set(t.get())}));var a=n.props,u=a.drag,c=a.dragPropagation;if(!u||c||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=po(u),n.openGlobalLock)){n.isDragging=!0,n.currentDirection=null;var l=n.props.onDragStart;l&&l(e,ko(t,n.point))}},onMove:function(e,t){var r=n.props,o=r.dragPropagation,i=r.dragDirectionLock;if(o||n.openGlobalLock){var a=t.offset;if(i&&null===n.currentDirection){if(n.currentDirection=function(e,t){void 0===t&&(t=10);var n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(a),null!==n.currentDirection){var u=n.props.onDirectionLock;u&&u(n.currentDirection)}}else{n.updatePoint("x",a),n.updatePoint("y",a);var c=n.props.onDrag;c&&c(e,ko(t,n.point))}}},onEnd:function(e,t){n.stop(e,t)}},{transformPagePoint:o})},e.prototype.cancelDrag=function(){eo(),this.isDragging=!1,this.panSession&&this.panSession.end(),this.panSession=null,!this.props.dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null)},e.prototype.stop=function(e,t){var n;null===(n=this.panSession)||void 0===n||n.end(),this.panSession=null;var r=this.isDragging;if(this.cancelDrag(),r){var o=this.props,i=o.dragMomentum,a=o.dragElastic,u=o.onDragEnd;if(i||a){var c=t.velocity;this.animateDragEnd(c)}else this.recordBoxInfo(this.constraints);u&&u(e,ko(t,this.point))}},e.prototype.recordBoxInfo=function(e){if(e){var t=e.right,n=e.left,r=e.bottom,o=e.top;this.prevConstraintsBox.width=(t||0)-(n||0),this.prevConstraintsBox.height=(r||0)-(o||0)}this.point.x&&(this.prevConstraintsBox.x=this.point.x.get()),this.point.y&&(this.prevConstraintsBox.y=this.point.y.get())},e.prototype.snapToCursor=function(e){var t=this,n=this.props.transformPagePoint,r=Wr(e).point,o=Po(this.nativeElement.getInstance(),n),i=o.width/2+o.left+window.scrollX,a=o.height/2+o.top+window.scrollY,u={x:r.x-i,y:r.y-a};So((function(e){var n=t.point[e];n&&t.origin[e].set(n.get())})),this.updatePoint("x",u),this.updatePoint("y",u)},e.prototype.setPoint=function(e,t){this.point[e]=t},e.prototype.updatePoint=function(e,t){var n=this.props,r=n.drag,o=n.dragElastic,i=this.point[e];if(Co(e,r,this.currentDirection)&&i){var a=No(e,this.origin[e].get()+t[e],this.constraints,o);i.set(a)}},e.prototype.updateProps=function(e){var t=this,n=e.drag,r=void 0!==n&&n,o=e.dragDirectionLock,i=void 0!==o&&o,c=e.dragPropagation,l=void 0!==c&&c,s=e.dragConstraints,f=void 0!==s&&s,p=e.dragElastic,d=void 0===p||p,h=e.dragMomentum,v=void 0===h||h,m=u(e,["drag","dragDirectionLock","dragPropagation","dragConstraints","dragElastic","dragMomentum"]);this.props=a({drag:r,dragDirectionLock:i,dragPropagation:l,dragConstraints:f,dragElastic:d,dragMomentum:v},m);var y=m._dragValueX,g=m._dragValueY,b=m.dragOriginX,w=m.dragOriginY;b&&(this.origin.x=b),w&&(this.origin.y=w),So((function(e){if(Co(e,r,t.currentDirection)){var n="x"===e?y:g;t.setPoint(e,n||t.values.get(e,0))}})),this.constraintsNeedResolution=kr(f),this.constraints=this.constraintsNeedResolution?this.constraints||!1:f},e.prototype.applyConstraintsToPoint=function(e){var t=this;return void 0===e&&(e=this.constraints),So((function(n){var r=t.point[n];r&&!r.isAnimating()&&No(n,r,e,0)}))},e.prototype.animateDragEnd=function(e){var t=this,n=this.props,r=n.drag,o=n.dragMomentum,i=n.dragElastic,u=n.dragTransition,c=n._dragValueX,l=n._dragValueY,s=n._dragTransitionControls,f=So((function(n){var f;if(Co(n,r,t.currentDirection)){var p=t.constraints?_o(n,t.constraints):{},d=i?200:1e6,h=i?40:1e7,v=s||t.controls,m=a(a({type:"inertia",velocity:o?e[n]:0,bounceStiffness:d,bounceDamping:h,timeConstant:750,restDelta:1},u),p),y="x"===n?c:l;return y?Qn(n,y,0,m):v.start(((f={})[n]=0,f.transition=m,f))}}));return Promise.all(f).then((function(){t.recordBoxInfo(t.constraints),t.scalePoint();var e=t.props.onDragTransitionEnd;e&&e()}))},e.prototype.stopMotion=function(){var e=this;So((function(t){var n=e.point[t];n&&n.stop()}))},e.prototype.scalePoint=function(){var e=this,t=this.props,n=t.dragConstraints,r=t.transformPagePoint;if(kr(n)){var o=Po(n.current,r),i=Po(this.nativeElement.getInstance(),r),a=function(t,n){var r=e.point[t];if(r){if(r.isAnimating())return r.stop(),void e.recordBoxInfo();var a=e.prevConstraintsBox[n]?(o[n]-i[n])/e.prevConstraintsBox[n]:1;r.set(e.prevConstraintsBox[t]*a)}};a("x","width"),a("y","height")}},e.prototype.mount=function(e){var t=this,n=Qr(e,"pointerdown",(function(e){var n=t.props,r=n.drag,o=n.dragListener;r&&(void 0===o||o)&&t.start(e)})),r=Fr(window,"resize",(function(){return t.scalePoint()}));if(this.constraintsNeedResolution){var o=this.props,i=o.dragConstraints,a=o.transformPagePoint,u=To(i.current,this.nativeElement.getInstance(),this.point,a);this.applyConstraintsToPoint(u),this.recordBoxInfo(u)}else!this.isDragging&&this.constraints&&this.applyConstraintsToPoint();return function(){n&&n(),r&&r(),t.cancelDrag()}},e}();function So(e){return[e("x"),e("y")]}function ko(e,t){return a(a({},e),{point:{x:t.x?t.x.get():0,y:t.y?t.y.get():0}})}function _o(e,t){var n=t.top,r=t.right,o=t.bottom,i=t.left;return"x"===e?{min:i,max:r}:{min:n,max:o}}function Co(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}function To(e,t,n,r){var o=Po(e,r),i=Po(t,r),a=o.left-i.left+jo(n.x),u=o.top-i.top+jo(n.y);return{top:u,left:a,right:o.width-i.width+a,bottom:o.height-i.height+u}}function Po(e,t){var n=e.getBoundingClientRect(),r=t({x:n.left,y:n.top}),o=r.x,i=r.y,a=t({x:n.width,y:n.height});return{left:o,top:i,width:a.x,height:a.y}}function jo(e){return e?e.get():0}function No(e,t,n,r){var o=t instanceof yn?t.get():t;if(!n)return o;var i=_o(e,n),a=i.min,u=i.max;return void 0!==a&&ou&&(o=r?Ao(u,o,r):Math.min(u,o)),t instanceof yn&&t.set(o),o}function Ao(e,t,n){return Ue(e,t,"number"===typeof n?n:.35)}function Mo(){var e=Object(l.useContext)(er);if(null===e)return[!0,null];var t=e.isPresent,n=e.onExitComplete,r=e.register;return Object(l.useEffect)(r,[]),!t&&n?[!1,n]:[!0]}function Ro(e,t,n,r){var o=e.dragControls,i=Object(l.useContext)(Rr).transformPagePoint,u=bn((function(){return new xo({nativeElement:t,values:n,controls:r})}));u.updateProps(a(a({},e),{transformPagePoint:i})),function(e){var t=Mo(),n=t[0],r=t[1];Object(l.useEffect)((function(){!n&&r&&(r(),e.stopMotion())}),[n])}(u),Object(l.useEffect)((function(){return o&&o.subscribe(u)}),[u]),Object(l.useEffect)((function(){return u.mount(t.getInstance())}),[])}var Io={key:"drag",shouldRender:function(e){return!!e.drag},Component:go((function(e){var t=e.nativeElement,n=e.values,r=e.controls;return Ro(u(e,["nativeElement","values","controls"]),t,n,r)}))};function Lo(e){return"string"===typeof e&&e.startsWith("var(--")}var Do=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Fo(e,t,n){void 0===n&&(n=1);var r=function(e){var t=Do.exec(e);return t?[t[1],t[2]]:[,]}(e),o=r[0],i=r[1];if(o){var a=window.getComputedStyle(t).getPropertyValue(o);return a||(Lo(i)?Fo(i,t,n+1):i)}}var zo,Uo=new Set(["width","height","top","left","right","bottom","x","y"]),Vo=function(e){return Uo.has(e)},Ho=function(e,t){e.set(t,!1),e.set(t)},Bo=function(e){return e===I||e===V};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(zo||(zo={}));var Wo=function(e,t){return parseFloat(e.split(", ")[t])},Ko=function(e,t){return function(n,r){var o=r.transform;if("none"===o||!o)return 0;var i=o.match(/^matrix3d\((.+)\)$/);if(i)return Wo(i[1],t);var a=o.match(/^matrix\((.+)\)$/);return a?Wo(a[1],e):0}},$o=new Set(["x","y","z"]),Go=ht.filter((function(e){return!$o.has(e)}));var Xo={width:function(e){var t=e.width;return t},height:function(e){var t=e.height;return t},top:function(e,t){var n=t.top;return parseFloat(n)},left:function(e,t){var n=t.left;return parseFloat(n)},bottom:function(e,t){var n=e.height,r=t.top;return parseFloat(r)+n},right:function(e,t){var n=e.width,r=t.left;return parseFloat(r)+n},x:Ko(4,13),y:Ko(5,14)},Yo=function(e,t,n,r){void 0===r&&(r={}),n=a({},n),r=a({},r);var o=Object.keys(n).filter(Vo),i=[],u=!1,c=o.reduce((function(o,a){var c=e.get(a);if(!c)return o;var l,s=c.get(),f=n[a],p=In(s);if(jn(f))for(var d=f.length,h=null===f[0]?1:0;h=u.current;o&&e&&o()}},f=Object(l.useMemo)((function(){return c.current=0,function(){return u.current++,function(){return u.current--}}}),[r]);return Object(l.createElement)(er.Provider,{value:a(a({},s),{register:f})},t)};function Ci(e){return e.key||""}var Ti=function(e){var t=e.children,n=e.custom,r=e.initial,o=void 0===r||r,i=e.onExitComplete,a=e.exitBeforeEnter,u=function(){var e=Object(l.useState)(0),t=e[0],n=e[1];return Object(l.useCallback)((function(){return n(t+1)}),[t])}(),s=Object(l.useContext)(Zo);s.forceRender&&(u=s.forceRender);var f=Object(l.useRef)(!0),p=function(e){var t=[];return l.Children.forEach(e,(function(e){Object(l.isValidElement)(e)&&t.push(e)})),t}(t),d=Object(l.useRef)(p),h=Object(l.useRef)(new Map).current,v=Object(l.useRef)(new Set).current;if(function(e,t){e.forEach((function(e){var n=Ci(e);t.set(n,e)}))}(p,h),f.current)return f.current=!1,Object(l.createElement)(l.Fragment,null,p.map((function(e){return Object(l.createElement)(_i,{key:Ci(e),isPresent:!0,initial:!!o&&void 0},e)})));for(var m=c(p),y=d.current.map(Ci),g=p.map(Ci),b=y.length,w=0;w1&&n.forEach((function(e,t){tt?1:n(ze(e,t,r))}}function Li(e,t){for(var n=t-1;n>=0;n--){var r=e[n];if(r.isPresent())return r}if(2===e.length)return e[0]}var Di=Ii(0,.5,ve),Fi=Ii(.5,.95,se);function zi(e,t){if(void 0===t&&(t=1),e)return a(a({},e),{style:a(a({},e.style),{opacity:t})})}var Ui=gn(null);if("undefined"!==typeof window)if(window.matchMedia){var Vi=window.matchMedia("(prefers-reduced-motion)"),Hi=function(){return Ui.set(Vi.matches)};Vi.addListener(Hi),Hi()}else Ui.set(!1)},function(e,t,n){"use strict";var r=n(5),o=n.n(r);t.a=function(e,t){for(var n=o()({},e),r=0;r=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";function r(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=0&&e[n].disabled;n-=1);var i=null;return-1!==n&&(i=o[n],o.splice(n,1)),{values:o,removedValue:i}}n.d(t,"d",(function(){return o})),n.d(t,"e",(function(){return i})),n.d(t,"f",(function(){return a})),n.d(t,"c",(function(){return u})),n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return s}));var c="undefined"!==typeof window&&window.document&&window.document.documentElement,l=0;function s(){var e;return c?(e=l,l+=1):e="TEST_OR_SSR",e}},function(e,t,n){"use strict";var r={transitionstart:{transition:"transitionstart",WebkitTransition:"webkitTransitionStart",MozTransition:"mozTransitionStart",OTransition:"oTransitionStart",msTransition:"MSTransitionStart"},animationstart:{animation:"animationstart",WebkitAnimation:"webkitAnimationStart",MozAnimation:"mozAnimationStart",OAnimation:"oAnimationStart",msAnimation:"MSAnimationStart"}},o={transitionend:{transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"mozTransitionEnd",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd"},animationend:{animation:"animationend",WebkitAnimation:"webkitAnimationEnd",MozAnimation:"mozAnimationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd"}},i=[],a=[];function u(e,t,n){e.addEventListener(t,n,!1)}function c(e,t,n){e.removeEventListener(t,n,!1)}"undefined"!==typeof window&&"undefined"!==typeof document&&function(){var e=document.createElement("div").style;function t(t,n){for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];for(var i in o)if(i in e){n.push(o[i]);break}}}"AnimationEvent"in window||(delete r.animationstart.animation,delete o.animationend.animation),"TransitionEvent"in window||(delete r.transitionstart.transition,delete o.transitionend.transition),t(r,i),t(o,a)}();var l={startEvents:i,addStartEventListener:function(e,t){0!==i.length?i.forEach((function(n){u(e,n,t)})):window.setTimeout(t,0)},removeStartEventListener:function(e,t){0!==i.length&&i.forEach((function(n){c(e,n,t)}))},endEvents:a,addEndEventListener:function(e,t){0!==a.length?a.forEach((function(n){u(e,n,t)})):window.setTimeout(t,0)},removeEndEventListener:function(e,t){0!==a.length&&a.forEach((function(n){c(e,n,t)}))}};t.a=l},function(e,t,n){var r=n(88),o=n(89),i=function(){"use strict";function e(t,n){var o=this;if(r(this,e),n&&"object"===typeof n||(n={loose:!!n,includePrerelease:!1}),t instanceof e)return t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease?t:new e(t.raw,n);if(t instanceof a)return this.raw=t.value,this.set=[[t]],this.format(),this;if(this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease,this.raw=t,this.set=t.split(/\s*\|\|\s*/).map((function(e){return o.parseRange(e.trim())})).filter((function(e){return e.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: ".concat(t));this.format()}return o(e,[{key:"format",value:function(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range}},{key:"toString",value:function(){return this.range}},{key:"parseRange",value:function(e){var t=this,n=this.options.loose;e=e.trim();var r=n?s[f.HYPHENRANGELOOSE]:s[f.HYPHENRANGE];e=e.replace(r,k),u("hyphen replace",e),e=e.replace(s[f.COMPARATORTRIM],p),u("comparator trim",e,s[f.COMPARATORTRIM]),e=(e=(e=e.replace(s[f.TILDETRIM],d)).replace(s[f.CARETTRIM],h)).split(/\s+/).join(" ");var o=n?s[f.COMPARATORLOOSE]:s[f.COMPARATOR];return e.split(" ").map((function(e){return m(e,t.options)})).join(" ").split(/\s+/).filter(this.options.loose?function(e){return!!e.match(o)}:function(){return!0}).map((function(e){return new a(e,t.options)}))}},{key:"intersects",value:function(t,n){if(!(t instanceof e))throw new TypeError("a Range is required");return this.set.some((function(e){return v(e,n)&&t.set.some((function(t){return v(t,n)&&e.every((function(e){return t.every((function(t){return e.intersects(t,n)}))}))}))}))}},{key:"test",value:function(e){if(!e)return!1;if("string"===typeof e)try{e=new c(e,this.options)}catch(n){return!1}for(var t=0;t=".concat(n,".").concat(r,".0 <").concat(n,".").concat(+r+1,".0"):">=".concat(n,".").concat(r,".0 <").concat(+n+1,".0.0"):i?(u("replaceCaret pr",i),a="0"===n?"0"===r?">=".concat(n,".").concat(r,".").concat(o,"-").concat(i," <").concat(n,".").concat(r,".").concat(+o+1):">=".concat(n,".").concat(r,".").concat(o,"-").concat(i," <").concat(n,".").concat(+r+1,".0"):">=".concat(n,".").concat(r,".").concat(o,"-").concat(i," <").concat(+n+1,".0.0")):(u("no pr"),a="0"===n?"0"===r?">=".concat(n,".").concat(r,".").concat(o," <").concat(n,".").concat(r,".").concat(+o+1):">=".concat(n,".").concat(r,".").concat(o," <").concat(n,".").concat(+r+1,".0"):">=".concat(n,".").concat(r,".").concat(o," <").concat(+n+1,".0.0")),u("caret return",a),a}))},E=function(e,t){return u("replaceXRanges",e,t),e.split(/\s+/).map((function(e){return x(e,t)})).join(" ")},x=function(e,t){e=e.trim();var n=t.loose?s[f.XRANGELOOSE]:s[f.XRANGE];return e.replace(n,(function(n,r,o,i,a,c){u("xRange",e,n,r,o,i,a,c);var l=y(o),s=l||y(i),f=s||y(a),p=f;return"="===r&&p&&(r=""),c=t.includePrerelease?"-0":"",l?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&p?(s&&(i=0),a=0,">"===r?(r=">=",s?(o=+o+1,i=0,a=0):(i=+i+1,a=0)):"<="===r&&(r="<",s?o=+o+1:i=+i+1),n="".concat(r+o,".").concat(i,".").concat(a).concat(c)):s?n=">=".concat(o,".0.0").concat(c," <").concat(+o+1,".0.0").concat(c):f&&(n=">=".concat(o,".").concat(i,".0").concat(c," <").concat(o,".").concat(+i+1,".0").concat(c)),u("xRange return",n),n}))},S=function(e,t){return u("replaceStars",e,t),e.trim().replace(s[f.STAR],"")},k=function(e,t,n,r,o,i,a,u,c,l,s,f,p){return t=y(n)?"":y(r)?">=".concat(n,".0.0"):y(o)?">=".concat(n,".").concat(r,".0"):">=".concat(t),u=y(c)?"":y(l)?"<".concat(+c+1,".0.0"):y(s)?"<".concat(c,".").concat(+l+1,".0"):f?"<=".concat(c,".").concat(l,".").concat(s,"-").concat(f):"<=".concat(u),"".concat(t," ").concat(u).trim()},_=function(e,t,n){for(var r=0;r0){var i=e[o].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0}return!1}return!0}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){for(var e=arguments.length,t=new Array(e),n=0;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function d(e,t){return m(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){o=!0,i=c}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}}(e,t)||g()}function h(e){return m(e)||y(e)||g()}function v(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=o&&r=i&&o-1},D.prototype.set=function(e,t){var n=this.__data__,r=I(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var F=D,z="object"==typeof b&&b&&b.Object===Object&&b,U="object"==typeof self&&self&&self.Object===Object&&self,V=z||U||Function("return this")(),H=V.Symbol,B=Object.prototype,W=B.hasOwnProperty,K=B.toString,$=H?H.toStringTag:void 0,G=Object.prototype.toString,X=H?H.toStringTag:void 0,Y=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":X&&X in Object(e)?function(e){var t=W.call(e,$),n=e[$];try{e[$]=void 0;var r=!0}catch(i){}var o=K.call(e);return r&&(t?e[$]=n:delete e[$]),o}(e):function(e){return G.call(e)}(e)},q=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},Q=function(e){if(!q(e))return!1;var t=Y(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},Z=V["__core-js_shared__"],J=function(){var e=/[^.]+$/.exec(Z&&Z.keys&&Z.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),ee=Function.prototype.toString,te=function(e){if(null!=e){try{return ee.call(e)}catch(t){}try{return e+""}catch(t){}}return""},ne=/^\[object .+?Constructor\]$/,re=Function.prototype,oe=Object.prototype,ie=re.toString,ae=oe.hasOwnProperty,ue=RegExp("^"+ie.call(ae).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ce=function(e){return!(!q(e)||(t=e,J&&J in t))&&(Q(e)?ue:ne).test(te(e));var t},le=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return ce(n)?n:void 0},se=le(V,"Map"),fe=le(Object,"create"),pe=Object.prototype.hasOwnProperty,de=Object.prototype.hasOwnProperty;function he(e){var t=-1,n=null==e?0:e.length;for(this.clear();++tu))return!1;var l=i.get(e);if(l&&i.get(t))return l==t;var s=-1,f=!0,p=2&n?new Ee:void 0;for(i.set(e,t),i.set(t,e);++s-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991},Xe={};Xe["[object Float32Array]"]=Xe["[object Float64Array]"]=Xe["[object Int8Array]"]=Xe["[object Int16Array]"]=Xe["[object Int32Array]"]=Xe["[object Uint8Array]"]=Xe["[object Uint8ClampedArray]"]=Xe["[object Uint16Array]"]=Xe["[object Uint32Array]"]=!0,Xe["[object Arguments]"]=Xe["[object Array]"]=Xe["[object ArrayBuffer]"]=Xe["[object Boolean]"]=Xe["[object DataView]"]=Xe["[object Date]"]=Xe["[object Error]"]=Xe["[object Function]"]=Xe["[object Map]"]=Xe["[object Number]"]=Xe["[object Object]"]=Xe["[object RegExp]"]=Xe["[object Set]"]=Xe["[object String]"]=Xe["[object WeakMap]"]=!1;var Ye=function(e){return function(t){return e(t)}},qe=w((function(e,t){var n=t&&!t.nodeType&&t,r=n&&e&&!e.nodeType&&e,o=r&&r.exports===n&&z.process,i=function(){try{return r&&r.require&&r.require("util").types||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=i})),Qe=qe&&qe.isTypedArray,Ze=Qe?Ye(Qe):function(e){return De(e)&&Ge(e.length)&&!!Xe[Y(e)]},Je=Object.prototype.hasOwnProperty,et=function(e,t){var n=Ne(e),r=!n&&He(e),o=!n&&!r&&We(e),i=!n&&!r&&!o&&Ze(e),a=n||r||o||i,u=a?function(e,t){for(var n=-1,r=Array(e);++n=0?"add":s.indexOf("and /dev/null")>=0?"delete":"modify",a=2,t=null;else if(5===a)if(0===s.indexOf("@@")){var x=/^@@\s+-([0-9]+)(,([0-9]+))?\s+\+([0-9]+)(,([0-9]+))?/.exec(s);n={content:s,oldStart:x[1]-0,newStart:x[4]-0,oldLines:x[3]-0||1,newLines:x[6]-0||1,changes:[]},t.hunks.push(n),r=n.oldStart,o=n.newStart}else{var S=s.slice(0,1),k={content:s.slice(1)};switch(S){case"+":k.type="insert",k.isInsert=!0,k.lineNumber=o,o++;break;case"-":k.type="delete",k.isDelete=!0,k.lineNumber=r,r++;break;case" ":k.type="normal",k.isNormal=!0,k.oldLineNumber=r,k.newLineNumber=o,r++,o++;break;case"\\":var _=n.changes[n.changes.length-1];_.isDelete||(t.newEndingNewLine=!1),_.isInsert||(t.oldEndingNewLine=!1)}k.type&&n.changes.push(k)}l++}return i}},e.exports=n}))),cn=function(e,t){var n=e.hunks.map((function(e){return function(e,t){return f({},e,{isPlain:!1,changes:"zip"===t.nearbySequences?function(e){var t=e.reduce((function(e,t,n){var r=d(e,3),o=r[0],i=r[1],a=r[2];return i?t.isInsert&&a>=0?(o.splice(a+1,0,t),[o,t,a+2]):(o.push(t),[o,t,t.isDelete&&i.isDelete?a:n]):(o.push(t),[o,t,t.isDelete?n:-1])}),[[],null,-1]);return d(t,1)[0]}(e.changes):e.changes})}(e,t)}));return f({},e,{hunks:n})},ln=function(e){if(0===e.indexOf("diff --git"))return e;var t=e.indexOf("\n"),n=e.indexOf("\n",t+1),r=e.slice(0,t),o=e.slice(t+1,n),i=r.split(" ").slice(1,-3).join(" "),a=o.split(" ").slice(1,-3).join(" ");return["diff --git a/".concat(i," b/").concat(a),"index 1111111..2222222 100644","--- a/".concat(i),"+++ b/".concat(a),e.slice(n+1)].join("\n")},sn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=ln(e.trim()),r=un.parse(n);return r.map((function(e){return cn(e,t)}))},fn=function(){try{var e=le(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),pn=function(e,t,n){"__proto__"==t&&fn?fn(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},dn=function(e,t,n){for(var r=-1,o=Object(e),i=n(e),a=i.length;a--;){var u=i[++r];if(!1===t(o[u],u,o))break}return e},hn=function(e,t){return e&&dn(e,t,ct)},vn=function(e,t){var n={};return t=Yt(t),hn(e,(function(e,r,o){pn(n,r,t(e,r,o))})),n},mn=function e(t,n){var r=t.type,o=t.value,a=t.markType,u=t.properties,c=t.className,l=t.children,s=function(t){return i.a.createElement("span",{key:n,className:t},o||l&&l.map(e))};switch(r){case"text":return o;case"mark":return s("diff-code-mark diff-code-mark-".concat(a));case"edit":return s("diff-code-edit");default:var f=u&&u.className;return s(O(c||f))}},yn=function(e){var t=e.text,n=e.tokens,r=e.renderToken,o=p(e,["text","tokens","renderToken"]),a=r?function(e,t){return r(e,mn,t)}:mn;return i.a.createElement("td",o,n?n.length?n.map(a):" ":t||" ")};yn.displayName="CodeCell",yn.propTypes={text:u.a.string.isRequired,tokens:u.a.arrayOf(u.a.object)},yn.defaultProps={tokens:null};var gn=Object(o.memo)(yn),bn=function(e,t){return function(){var n="old"===t?on(e):an(e);return-1===n?void 0:n}},wn=function(e,t){return function(n){return e&&n?i.a.createElement("a",{href:"#"+t},n):n}},On=function(e,t){return t?function(n){e(n),t()}:e},En=function(e,t,n,r){return Object(o.useMemo)((function(){var o=vn(e,(function(e){return function(){return e(t)}}));return o.onMouseEnter=On(n,o.onMouseEnter),o.onMouseLeave=On(r,o.onMouseLeave),o}),[e,n,r,t])},xn=function(e,t,n,r,o,a,u,c){var s={change:t,side:n,inHoverState:u,renderDefault:bn(t,n),wrapInAnchor:wn(r,o)};return i.a.createElement("td",l({className:e},a),c(s))};xn.displayName="renderGutterCell";var Sn=function(e){var t,n,r,a=e.change,u=e.selected,c=e.tokens,s=e.className,f=e.gutterClassName,p=e.codeClassName,h=e.gutterEvents,v=e.codeEvents,m=e.hideGutter,y=e.gutterAnchor,g=e.generateAnchorID,b=e.renderToken,w=e.renderGutter,E=a.type,x=a.content,S=(n=(t=d(Object(o.useState)(!1),2))[0],r=t[1],[n,Object(o.useCallback)((function(){return r(!0)}),[]),Object(o.useCallback)((function(){return r(!1)}),[])]),k=d(S,3),_=k[0],C=k[1],T=k[2],P=Object(o.useMemo)((function(){return{change:a}}),[a]),j=En(h,P,C,T),N=En(v,P,C,T),A=g(a),M=O("diff-gutter","diff-gutter-".concat(E),f,{"diff-gutter-selected":u}),R=O("diff-code","diff-code-".concat(E),p,{"diff-code-selected":u});return i.a.createElement("tr",{id:A,className:O("diff-line",s)},!m&&xn(M,a,"old",y,A,j,_,w),!m&&xn(M,a,"new",y,A,j,_,w),i.a.createElement(gn,l({className:R,text:x,tokens:c,renderToken:b},N)))};Sn.displayName="UnifiedChange",Sn.propTypes={selected:u.a.bool.isRequired,tokens:u.a.arrayOf(u.a.object)},Sn.defaultProps={tokens:null};var kn=Object(o.memo)(Sn),_n=function(e){var t=e.hideGutter,n=e.element;return i.a.createElement("tr",{className:"diff-widget"},i.a.createElement("td",{colSpan:t?1:3,className:"diff-widget-content"},n))};_n.displayName="UnifiedWidget";var Cn=function(e){var t=e.hunk,n=e.widgets,r=e.className,o=p(e,["hunk","widgets","className"]),a=function(e,t){return e.reduce((function(e,n){var r=rn(n);e.push(["change",r,n]);var o=t[r];return o&&e.push(["widget",r,o]),e}),[])}(t.changes,n);return i.a.createElement("tbody",{className:O("diff-hunk",r)},a.map((function(e){return function(e,t){var n=d(e,3),r=n[0],o=n[1],a=n[2],u=t.hideGutter,c=t.selectedChanges,s=t.tokens,f=t.lineClassName,h=p(t,["hideGutter","selectedChanges","tokens","lineClassName"]);if("change"===r){var v=a.isDelete?"old":"new",m=a.isDelete?on(a):an(a),y=s?s[v][m-1]:null;return i.a.createElement(kn,l({key:"change".concat(o),className:f,change:a,hideGutter:u,selected:c.includes(o),tokens:y},h))}return"widget"===r?i.a.createElement(_n,{key:"widget".concat(o),hideGutter:u,element:a}):null}(e,o)})))};Cn.displayName="UnifiedHunk";var Tn=function(e,t,n,r){var i=Object(o.useCallback)((function(){return t(e)}),[e,t]),a=Object(o.useCallback)((function(){return t("")}),[t]);return Object(o.useMemo)((function(){var t=vn(r,(function(t){return function(){return t({side:e,change:n})}}));return t.onMouseEnter=On(i,t.onMouseEnter),t.onMouseLeave=On(a,t.onMouseLeave),t}),[n,r,i,e,a])},Pn=function(e){var t=e.change,n=e.side,r=e.selected,o=e.tokens,a=e.gutterClassName,u=e.codeClassName,s=e.gutterEvents,p=e.codeEvents,d=e.anchorID,h=e.gutterAnchor,v=e.gutterAnchorTarget,m=e.hideGutter,y=e.hover,g=e.renderToken,b=e.renderGutter;if(!t){var w=O("diff-gutter","diff-gutter-omit",a),E=O("diff-code","diff-code-omit",u);return[!m&&i.a.createElement("td",{key:"gutter",className:w}),i.a.createElement("td",{key:"code",className:E})]}var x=t.type,S=t.content,k=0===n?"old":"new",_=f({id:d,className:O("diff-gutter","diff-gutter-".concat(x),c({"diff-gutter-selected":r},"diff-line-hover-"+k,y),a),children:b({change:t,side:k,inHoverState:y,renderDefault:bn(t,k),wrapInAnchor:wn(h,v)})},s),C=O("diff-code","diff-code-".concat(x),c({"diff-code-selected":r},"diff-line-hover-"+k,y),u);return[!m&&i.a.createElement("td",l({key:"gutter"},_)),i.a.createElement(gn,l({key:"code",className:C,text:S,tokens:o,renderToken:g},p))]},jn=function(e){var t=e.className,n=e.gutterClassName,r=e.codeClassName,a=e.gutterEvents,u=e.codeEvents,c=e.oldChange,l=e.newChange,s=e.oldSelected,p=e.newSelected,h=e.oldTokens,v=e.newTokens,m=e.monotonous,y=e.hideGutter,g=e.generateAnchorID,b=e.gutterAnchor,w=e.renderToken,E=e.renderGutter,x=d(Object(o.useState)(""),2),S=x[0],k=x[1],_=Tn("old",k,c,a),C=Tn("new",k,l,a),T=Tn("old",k,c,u),P=Tn("new",k,l,u),j=c&&g(c),N=l&&g(l),A={monotonous:m,hideGutter:y,gutterClassName:n,codeClassName:r,gutterEvents:a,codeEvents:u,renderToken:w,renderGutter:E},M=f({},A,{change:c,side:0,selected:s,tokens:h,gutterEvents:_,codeEvents:T,anchorID:j,gutterAnchor:b,gutterAnchorTarget:j,hover:"old"===S}),R=f({},A,{change:l,side:1,selected:p,tokens:v,gutterEvents:C,codeEvents:P,anchorID:c===l?void 0:N,gutterAnchor:b,gutterAnchorTarget:c===l?j:N,hover:"new"===S});if(m)return i.a.createElement("tr",{className:O("diff-line",t)},Pn(c?M:R));var I=function(e,t){return e&&!t?"diff-line-old-only":!e&&t?"diff-line-new-only":e===t?"diff-line-normal":"diff-line-compare"}(c,l);return i.a.createElement("tr",{className:O("diff-line",I,t)},Pn(M),Pn(R))};jn.displayName="SplitChange",jn.propTypes={oldSelected:u.a.bool.isRequired,newSelected:u.a.bool.isRequired,oldTokens:u.a.arrayOf(u.a.object),newTokens:u.a.arrayOf(u.a.object)},jn.defaultProps={oldTokens:null,newTokens:null};var Nn=Object(o.memo)(jn),An=function(e){var t=e.oldElement,n=e.newElement,r=e.monotonous,o=e.hideGutter;return r?i.a.createElement("tr",{className:"diff-widget"},i.a.createElement("td",{colSpan:o?1:2,className:"diff-widget-content"},t||n)):t===n?i.a.createElement("tr",{className:"diff-widget"},i.a.createElement("td",{colSpan:o?2:4,className:"diff-widget-content"},t)):i.a.createElement("tr",{className:"diff-widget"},i.a.createElement("td",{colSpan:o?1:2,className:"diff-widget-content"},t),i.a.createElement("td",{colSpan:o?1:2,className:"diff-widget-content"},n))};An.displayName="SplitWidget";var Mn=function(e,t){return(e?rn(e):"00")+(t?rn(t):"00")},Rn=function(e){var t=e.hunk,n=e.widgets,r=e.className,o=p(e,["hunk","widgets","className"]),a=function(e,t){for(var n=function(e){if(!e)return null;var n=rn(e);return t[n]||null},r=[],o=0;o0&&r(c)?n>1?e(c,n-1,r,o,i):je(i,c):o||(i[i.length]=c)}return i},er=function(e){return null!=e&&e.length?Jn(e,1):[]},tr=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},nr=Math.max,rr=fn?function(e,t){return fn(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Gt,or=Date.now,ir=function(e){var t=0,n=0;return function(){var r=or(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(rr),ar=function(e){return ir(function(e,t,n){return t=nr(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=nr(r.length-t,0),a=Array(i);++oo?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r1),t})),Lr(e,Br(e),n),r&&(n=no(n,7,so));for(var o=t.length;o--;)oo(n,t[o]);return n})),po=function(e){return e.map((function(e){return f({},e)}))},ho=function(e,t){return[].concat(v(po(e.slice(0,-1))),[t])},vo=function(e){return function(e){return e.reduce((function(e,t){var n=_r(e),r=h(function(e){var t=_r(e);return t.value.includes("\n")?t.value.split("\n").map((function(n){return ho(e,f({},t,{value:n}))})):[e]}(t)),o=r[0],i=r.slice(1);return[].concat(v(e.slice(0,-1)),[[].concat(v(n),[o])],v(i.map((function(e){return[e]}))))}),[[]])}(function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=fo(t,"children");if(t.children){r.push(o);var i=!0,a=!1,u=void 0;try{for(var c,l=t.children[Symbol.iterator]();!(i=(c=l.next()).done);i=!0){var s=c.value;e(s,n,r)}}catch(f){a=!0,u=f}finally{try{i||null==l.return||l.return()}finally{if(a)throw u}}r.pop()}else n.push(po([].concat(v(r.slice(1)),[o])));return n}(e))},mo=function(e,t){var n,r,o=_r(e.children);return o&&function(e,t){if(e.type!==t.type)return!1;if("text"===e.type)return!0;if(!e.children||!t.children)return!1;var n="children"in e?fo(e,"children"):e,r="children"in t?fo(t,"children"):t;return St(n,r)}(o,t)?e.children[e.children.length-1]=(r=t,"value"in(n=o)?f({},n,{value:n.value+r.value}):n):e.children.push(t),_r(e.children)},yo=function(e){var t={type:"root",children:[]},n=!0,r=!1,o=void 0;try{for(var i,a=function(){var e=i.value;e.reduce((function(t,n,r){var o=r===e.length-1?f({},n):f({},n,{children:[]});return mo(t,o)}),t)},u=e[Symbol.iterator]();!(n=(i=u.next()).done);n=!0)a()}catch(c){r=!0,o=c}finally{try{n||null==u.return||u.return()}finally{if(r)throw o}}return t},go=Object.prototype.hasOwnProperty,bo=Sr((function(e,t,n){go.call(e,n)?e[n].push(t):pn(e,n,[t])})),wo=Object.prototype.hasOwnProperty,Oo=function(e,t){var n=t.start,r=t.length,o=t.properties,i=n+r,a=e.reduce((function(e,r){var a=d(e,2),u=a[0],c=a[1],l=c+_r(r).value.length;if(c>i||l=i.value.length)return[e];var u=function(e,t){var n=i.value.slice(e,t);return[].concat(v(o),[f({},i,{value:n})])};if(t>0){var c=u(0,t);a.push(po(c))}var l=u(Math.max(t,0),n);if(a.push(r?function(e,t){return[t].concat(v(po(e)))}(l,r):po(l)),nt.length?e:t,a=e.length>t.length?t:e,u=i.indexOf(a);if(-1!=u)return o=[[1,i.substring(0,u)],[0,a],[1,i.substring(u+a.length)]],e.length>t.length&&(o[0][0]=o[2][0]=-1),o;if(1==a.length)return[[-1,e],[1,t]];var c=this.diff_halfMatch_(e,t);if(c){var l=c[0],s=c[1],f=c[2],p=c[3],d=c[4],h=this.diff_main(l,f,n,r),v=this.diff_main(s,p,n,r);return h.concat([[0,d]],v)}return n&&e.length>100&&t.length>100?this.diff_lineMode_(e,t,r):this.diff_bisect_(e,t,r)},t.prototype.diff_lineMode_=function(e,t,n){e=(s=this.diff_linesToChars_(e,t)).chars1,t=s.chars2;var r=s.lineArray,o=this.diff_main(e,t,!1,n);this.diff_charsToLines_(o,r),this.diff_cleanupSemantic(o),o.push([0,""]);for(var i=0,a=0,u=0,c="",l="";i=1&&u>=1){o.splice(i-a-u,a+u),i=i-a-u;for(var s,f=(s=this.diff_main(c,l,!1,n)).length-1;f>=0;f--)o.splice(i,0,s[f]);i+=s.length}u=0,a=0,c="",l=""}i++}return o.pop(),o},t.prototype.diff_bisect_=function(e,t,n){for(var r=e.length,o=t.length,i=Math.ceil((r+o)/2),a=i,u=2*i,c=new Array(u),l=new Array(u),s=0;sn);y++){for(var g=-y+d;g<=y-h;g+=2){for(var b=a+g,w=(k=g==-y||g!=y&&c[b-1]r)h+=2;else if(w>o)d+=2;else if(p&&(x=a+f-g)>=0&&x=(E=r-l[x]))return this.diff_bisectSplit_(e,t,k,w,n)}for(var O=-y+v;O<=y-m;O+=2){for(var E,x=a+O,S=(E=O==-y||O!=y&&l[x-1]r)m+=2;else if(S>o)v+=2;else if(!p){var k;if((b=a+f-O)>=0&&b=(E=r-E))return this.diff_bisectSplit_(e,t,k,w,n)}}}return[[-1,e],[1,t]]},t.prototype.diff_bisectSplit_=function(e,t,n,r,o){var i=e.substring(0,n),a=t.substring(0,r),u=e.substring(n),c=t.substring(r),l=this.diff_main(i,a,!1,o),s=this.diff_main(u,c,!1,o);return l.concat(s)},t.prototype.diff_linesToChars_=function(e,t){var n=[],r={};function o(e){for(var t="",o=0,i=-1,a=n.length;ir?e=e.substring(n-r):nt.length?e:t,r=e.length>t.length?t:e;if(n.length<4||2*r.length=e.length?[r,i,a,u,s]:null}var a,u,c,l,s,f=i(n,r,Math.ceil(n.length/4)),p=i(n,r,Math.ceil(n.length/2));return f||p?(a=p?f&&f[4].length>p[4].length?f:p:f,e.length>t.length?(u=a[0],c=a[1],l=a[2],s=a[3]):(l=a[0],s=a[1],u=a[2],c=a[3]),[u,c,l,s,a[4]]):null},t.prototype.diff_cleanupSemantic=function(e){for(var t=!1,n=[],r=0,o=null,i=0,a=0,u=0,c=0,l=0;i0?n[r-1]:-1,a=0,u=0,c=0,l=0,o=null,t=!0)),i++;for(t&&this.diff_cleanupMerge(e),this.diff_cleanupSemanticLossless(e),i=1;i=d?(p>=s.length/2||p>=f.length/2)&&(e.splice(i,0,[0,f.substring(0,p)]),e[i-1][1]=s.substring(0,s.length-p),e[i+1][1]=f.substring(p),i++):(d>=s.length/2||d>=f.length/2)&&(e.splice(i,0,[0,s.substring(0,d)]),e[i-1][0]=1,e[i-1][1]=f.substring(0,f.length-d),e[i+1][0]=-1,e[i+1][1]=s.substring(d),i++),i++}i++}},t.prototype.diff_cleanupSemanticLossless=function(e){function n(e,n){if(!e||!n)return 6;var r=e.charAt(e.length-1),o=n.charAt(0),i=r.match(t.nonAlphaNumericRegex_),a=o.match(t.nonAlphaNumericRegex_),u=i&&r.match(t.whitespaceRegex_),c=a&&o.match(t.whitespaceRegex_),l=u&&r.match(t.linebreakRegex_),s=c&&o.match(t.linebreakRegex_),f=l&&e.match(t.blanklineEndRegex_),p=s&&n.match(t.blanklineStartRegex_);return f||p?5:l||s?4:i&&!u&&c?3:u||c?2:i||a?1:0}for(var r=1;r=p&&(p=d,l=o,s=i,f=a)}e[r-1][1]!=l&&(l?e[r-1][1]=l:(e.splice(r-1,1),r--),e[r][1]=s,f?e[r+1][1]=f:(e.splice(r+1,1),r--))}r++}},t.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,t.whitespaceRegex_=/\s/,t.linebreakRegex_=/[\r\n]/,t.blanklineEndRegex_=/\n\r?\n$/,t.blanklineStartRegex_=/^\r?\n\r?\n/,t.prototype.diff_cleanupEfficiency=function(e){for(var t=!1,n=[],r=0,o=null,i=0,a=!1,u=!1,c=!1,l=!1;i0?n[r-1]:-1,c=l=!1),t=!0)),i++;t&&this.diff_cleanupMerge(e)},t.prototype.diff_cleanupMerge=function(e){e.push([0,""]);for(var t,n=0,r=0,o=0,i="",a="";n1?(0!==r&&0!==o&&(0!==(t=this.diff_commonPrefix(a,i))&&(n-r-o>0&&0==e[n-r-o-1][0]?e[n-r-o-1][1]+=a.substring(0,t):(e.splice(0,0,[0,a.substring(0,t)]),n++),a=a.substring(t),i=i.substring(t)),0!==(t=this.diff_commonSuffix(a,i))&&(e[n][1]=a.substring(a.length-t)+e[n][1],a=a.substring(0,a.length-t),i=i.substring(0,i.length-t))),0===r?e.splice(n-o,r+o,[1,a]):0===o?e.splice(n-r,r+o,[-1,i]):e.splice(n-r-o,r+o,[-1,i],[1,a]),n=n-r-o+(r?1:0)+(o?1:0)+1):0!==n&&0==e[n-1][0]?(e[n-1][1]+=e[n][1],e.splice(n,1)):n++,o=0,r=0,i="",a=""}""===e[e.length-1][1]&&e.pop();var u=!1;for(n=1;nt));n++)i=r,a=o;return e.length!=n&&-1===e[n][0]?a:a+(t-i)},t.prototype.diff_prettyHtml=function(e){for(var t=[],n=/&/g,r=//g,i=/\n/g,a=0;a");switch(u){case 1:t[a]=''+c+"";break;case-1:t[a]=''+c+"";break;case 0:t[a]=""+c+""}}return t.join("")},t.prototype.diff_text1=function(e){for(var t=[],n=0;nthis.Match_MaxBits)throw new Error("Pattern too long for this browser.");var r=this.match_alphabet_(t),o=this;function i(e,r){var i=e/t.length,a=Math.abs(n-r);return o.Match_Distance?i+a/o.Match_Distance:a?1:i}var a=this.Match_Threshold,u=e.indexOf(t,n);-1!=u&&(a=Math.min(i(0,u),a),-1!=(u=e.lastIndexOf(t,n+t.length))&&(a=Math.min(i(0,u),a)));var c,l,s=1<=h;y--){var g=r[e.charAt(y-1)];if(m[y]=0===d?(m[y+1]<<1|1)&g:(m[y+1]<<1|1)&g|(f[y+1]|f[y])<<1|1|f[y+1],m[y]&s){var b=i(d,y-1);if(b<=a){if(a=b,!((u=y-1)>n))break;h=Math.max(1,2*n-u)}}}if(i(d+1,n)>a)break;f=m}return u},t.prototype.match_alphabet_=function(e){for(var t={},n=0;n2&&(this.diff_cleanupSemantic(i),this.diff_cleanupEfficiency(i));else if(e&&"object"==typeof e&&void 0===n&&void 0===r)i=e,o=this.diff_text1(i);else if("string"==typeof e&&n&&"object"==typeof n&&void 0===r)o=e,i=n;else{if("string"!=typeof e||"string"!=typeof n||!r||"object"!=typeof r)throw new Error("Unknown call format to patch_make.");o=e,i=r}if(0===i.length)return[];for(var a=[],u=new t.patch_obj,c=0,l=0,s=0,f=o,p=o,d=0;d=2*this.Patch_Margin&&c&&(this.patch_addContext_(u,f),a.push(u),u=new t.patch_obj,c=0,f=p,l=s)}1!==h&&(l+=v.length),-1!==h&&(s+=v.length)}return c&&(this.patch_addContext_(u,f),a.push(u)),a},t.prototype.patch_deepCopy=function(e){for(var n=[],r=0;rthis.Match_MaxBits?-1!=(a=this.match_main(t,l.substring(0,this.Match_MaxBits),c))&&(-1==(s=this.match_main(t,l.substring(l.length-this.Match_MaxBits),c+l.length-this.Match_MaxBits))||a>=s)&&(a=-1):a=this.match_main(t,l,c),-1==a)o[i]=!1,r-=e[i].length2-e[i].length1;else if(o[i]=!0,r=a-c,l==(u=-1==s?t.substring(a,a+l.length):t.substring(a,s+this.Match_MaxBits)))t=t.substring(0,a)+this.diff_text2(e[i].diffs)+t.substring(a+l.length);else{var f=this.diff_main(l,u,!1);if(l.length>this.Match_MaxBits&&this.diff_levenshtein(f)/l.length>this.Patch_DeleteThreshold)o[i]=!1;else{this.diff_cleanupSemanticLossless(f);for(var p,d=0,h=0;hi[0][1].length){var a=t-i[0][1].length;i[0][1]=n.substring(i[0][1].length)+i[0][1],o.start1-=a,o.start2-=a,o.length1+=a,o.length2+=a}return 0==(i=(o=e[e.length-1]).diffs).length||0!=i[i.length-1][0]?(i.push([0,n]),o.length1+=t,o.length2+=t):t>i[i.length-1][1].length&&(a=t-i[i.length-1][1].length,i[i.length-1][1]+=n.substring(0,a),o.length1+=a,o.length2+=a),n},t.prototype.patch_splitMax=function(e){for(var n=this.Match_MaxBits,r=0;r2*n?(c.length1+=f.length,i+=f.length,l=!1,c.diffs.push([s,f]),o.diffs.shift()):(f=f.substring(0,n-c.length1-this.Patch_Margin),c.length1+=f.length,i+=f.length,0===s?(c.length2+=f.length,a+=f.length):l=!1,c.diffs.push([s,f]),f==o.diffs[0][1]?o.diffs.shift():o.diffs[0][1]=o.diffs[0][1].substring(f.length))}u=(u=this.diff_text2(c.diffs)).substring(u.length-this.Patch_Margin);var p=this.diff_text1(o.diffs).substring(0,this.Patch_Margin);""!==p&&(c.length1+=p.length,c.length2+=p.length,0!==c.diffs.length&&0===c.diffs[c.diffs.length-1][0]?c.diffs[c.diffs.length-1][1]+=p:c.diffs.push([0,p])),l||e.splice(++r,0,c)}}},t.prototype.patch_toText=function(e){for(var t=[],n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=t.type,r=void 0===n?"block":n,o=Pr(e.map((function(e){return e.changes})),jo),i="block"===r?Io:Lo,a=o.map(i).reduce((function(e,t){var n=d(e,2),r=n[0],o=n[1],i=d(t,2),a=i[0],u=i[1];return[r.concat(a),o.concat(u)]}),[[],[]]),u=d(a,2),c=u[0],l=u[1];return xo(er(c),er(l))},Fo=function(e,t){var n=t.highlight,r=void 0!==n&&n,o=t.refractor,i=t.oldSource,a=t.language,u=t.enhancers,c=void 0===u?[]:u,l=Mr(e,{highlight:r,refractor:o,oldSource:i,language:a}).map(vo),s=d(wr(c)(l).map((function(e){return e.map(yo)})),2),f=s[0],p=s[1];return{old:f.map((function(e){return e.children})),new:p.map((function(e){return e.children}))}},zo=w((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.createChangeEmitter=function(){var e=[],t=e;function n(){t===e&&(t=e.slice())}return{listen:function(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var r=!0;return n(),t.push(e),function(){if(r){r=!1,n();var o=t.indexOf(e);t.splice(o,1)}}},emit:function(){for(var n=e=t,r=0;r1&&void 0!==arguments[1]?arguments[1]:{},n=t.multiple,r=void 0!==n&&n,i=Bo(),a=i.collection,u=i.clear,c=i.toggle,l=i.only;return Object(o.useEffect)(u,[e]),[a,function(e){var t=e.change,n=rn(t);r?c(n):l(n)}]}(n.hunks,e),2),a=r[0],u=r[1];return i.a.createElement(t,l({},n,{selectedChanges:a,onToggleChangeSelection:u}))};return n.displayName=Vo(t,"withChangeSelect"),n}})}).call(this,n(69),n(270)(e))},function(e,t,n){var r=n(24);e.exports=function(e,t,n){return new r(e,n).compare(new r(t,n))}},function(e,t,n){e.exports=n(183)},function(e,t,n){"use strict";var r=function(e){for(var t,n=e.length,r=n^n,o=0;n>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+((1540483477*(t>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++o;switch(n){case 3:r^=(255&e.charCodeAt(o+2))<<16;case 2:r^=(255&e.charCodeAt(o+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(o)))+((1540483477*(r>>>16)&65535)<<16)}return r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16),((r^=r>>>15)>>>0).toString(36)},o={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},i=n(56);n.d(t,"a",(function(){return v}));var a=/[A-Z]|^ms/g,u=/_EMO_([^_]+?)_([^]*?)_EMO_/g,c=function(e){return 45===e.charCodeAt(1)},l=function(e){return null!=e&&"boolean"!==typeof e},s=Object(i.a)((function(e){return c(e)?e:e.replace(a,"-$&").toLowerCase()})),f=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(u,(function(e,t,n){return d={name:t,styles:n,next:d},t}))}return 1===o[e]||c(e)||"number"!==typeof t||0===t?t:t+"px"};function p(e,t,n,r){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return d={name:n.name,styles:n.styles,next:d},n.name;if(void 0!==n.styles){var o=n.next;if(void 0!==o)for(;void 0!==o;)d={name:o.name,styles:o.styles,next:d},o=o.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o1,l.reduce((function(t,n){return[].concat(i(t),i(e(n,c)))}),[]).filter((function(e){return e}))}(e,t);return n?r:null}function w(e,t){return v([e],t)[0].disabled}function O(e,t,n,r){var a=Object(o.d)(t).slice().sort(),u=i(e),c=new Set;return e.forEach((function(e){e.options?e.options.forEach((function(e){c.add(e.value)})):c.add(e.value)})),a.forEach((function(e){var t,o=r?e.value:e;c.has(o)||u.push(r?(f(t={},n,e.label),f(t,"value",o),t):{value:o})})),u}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(e,t,n){e.exports=!n(60)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==e&&void 0!==e&&this.setState(e)}function o(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!==n&&void 0!==n?n:null}.bind(this))}function i(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!==typeof e.getDerivedStateFromProps&&"function"!==typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,u=null;if("function"===typeof t.componentWillMount?n="componentWillMount":"function"===typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"===typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"===typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"===typeof t.componentWillUpdate?u="componentWillUpdate":"function"===typeof t.UNSAFE_componentWillUpdate&&(u="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==u){var c=e.displayName||e.name,l="function"===typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+c+" uses "+l+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(null!==u?"\n "+u:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"===typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=o),"function"===typeof t.getSnapshotBeforeUpdate){if("function"!==typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=i;var s=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;s.call(this,e,t,r)}}return e}n.d(t,"a",(function(){return a})),r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=(r=n(263))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},function(e,t,n){"use strict";var r=n(0),o=r.createContext(void 0);t.a=o},function(e,t,n){var r=n(59),o=n(124),i=n(98),a=Object.defineProperty;t.f=n(41)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(u){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){"use strict";function r(e){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(0),o=n(3),i=n.n(o);t.a=function(e){var t,n=e.className,o=e.customizeIcon,a=e.customizeIconProps,u=e.onMouseDown,c=e.onClick,l=e.children;return t="function"===typeof o?o(a):o,r.createElement("span",{className:n,onMouseDown:function(e){e.preventDefault(),u&&u(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:c,"aria-hidden":!0},void 0!==t?t:r.createElement("span",{className:i()(n.split(/\s+/).map((function(e){return"".concat(e,"-icon")})))},l))}},function(e,t,n){var r=n(61).MAX_SAFE_COMPONENT_LENGTH,o=n(62),i=(t=e.exports={}).re=[],a=t.src=[],u=t.t={},c=0,l=function(e,t,n){var r=c++;o(r,t),u[e]=r,a[r]=t,i[r]=new RegExp(t,n?"g":void 0)};l("NUMERICIDENTIFIER","0|[1-9]\\d*"),l("NUMERICIDENTIFIERLOOSE","[0-9]+"),l("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),l("MAINVERSION","(".concat(a[u.NUMERICIDENTIFIER],")\\.")+"(".concat(a[u.NUMERICIDENTIFIER],")\\.")+"(".concat(a[u.NUMERICIDENTIFIER],")")),l("MAINVERSIONLOOSE","(".concat(a[u.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(a[u.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(a[u.NUMERICIDENTIFIERLOOSE],")")),l("PRERELEASEIDENTIFIER","(?:".concat(a[u.NUMERICIDENTIFIER],"|").concat(a[u.NONNUMERICIDENTIFIER],")")),l("PRERELEASEIDENTIFIERLOOSE","(?:".concat(a[u.NUMERICIDENTIFIERLOOSE],"|").concat(a[u.NONNUMERICIDENTIFIER],")")),l("PRERELEASE","(?:-(".concat(a[u.PRERELEASEIDENTIFIER],"(?:\\.").concat(a[u.PRERELEASEIDENTIFIER],")*))")),l("PRERELEASELOOSE","(?:-?(".concat(a[u.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(a[u.PRERELEASEIDENTIFIERLOOSE],")*))")),l("BUILDIDENTIFIER","[0-9A-Za-z-]+"),l("BUILD","(?:\\+(".concat(a[u.BUILDIDENTIFIER],"(?:\\.").concat(a[u.BUILDIDENTIFIER],")*))")),l("FULLPLAIN","v?".concat(a[u.MAINVERSION]).concat(a[u.PRERELEASE],"?").concat(a[u.BUILD],"?")),l("FULL","^".concat(a[u.FULLPLAIN],"$")),l("LOOSEPLAIN","[v=\\s]*".concat(a[u.MAINVERSIONLOOSE]).concat(a[u.PRERELEASELOOSE],"?").concat(a[u.BUILD],"?")),l("LOOSE","^".concat(a[u.LOOSEPLAIN],"$")),l("GTLT","((?:<|>)?=?)"),l("XRANGEIDENTIFIERLOOSE","".concat(a[u.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),l("XRANGEIDENTIFIER","".concat(a[u.NUMERICIDENTIFIER],"|x|X|\\*")),l("XRANGEPLAIN","[v=\\s]*(".concat(a[u.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(a[u.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(a[u.XRANGEIDENTIFIER],")")+"(?:".concat(a[u.PRERELEASE],")?").concat(a[u.BUILD],"?")+")?)?"),l("XRANGEPLAINLOOSE","[v=\\s]*(".concat(a[u.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(a[u.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(a[u.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(a[u.PRERELEASELOOSE],")?").concat(a[u.BUILD],"?")+")?)?"),l("XRANGE","^".concat(a[u.GTLT],"\\s*").concat(a[u.XRANGEPLAIN],"$")),l("XRANGELOOSE","^".concat(a[u.GTLT],"\\s*").concat(a[u.XRANGEPLAINLOOSE],"$")),l("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(r,"})")+"(?:\\.(\\d{1,".concat(r,"}))?")+"(?:\\.(\\d{1,".concat(r,"}))?")+"(?:$|[^\\d])"),l("COERCERTL",a[u.COERCE],!0),l("LONETILDE","(?:~>?)"),l("TILDETRIM","(\\s*)".concat(a[u.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",l("TILDE","^".concat(a[u.LONETILDE]).concat(a[u.XRANGEPLAIN],"$")),l("TILDELOOSE","^".concat(a[u.LONETILDE]).concat(a[u.XRANGEPLAINLOOSE],"$")),l("LONECARET","(?:\\^)"),l("CARETTRIM","(\\s*)".concat(a[u.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",l("CARET","^".concat(a[u.LONECARET]).concat(a[u.XRANGEPLAIN],"$")),l("CARETLOOSE","^".concat(a[u.LONECARET]).concat(a[u.XRANGEPLAINLOOSE],"$")),l("COMPARATORLOOSE","^".concat(a[u.GTLT],"\\s*(").concat(a[u.LOOSEPLAIN],")$|^$")),l("COMPARATOR","^".concat(a[u.GTLT],"\\s*(").concat(a[u.FULLPLAIN],")$|^$")),l("COMPARATORTRIM","(\\s*)".concat(a[u.GTLT],"\\s*(").concat(a[u.LOOSEPLAIN],"|").concat(a[u.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",l("HYPHENRANGE","^\\s*(".concat(a[u.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(a[u.XRANGEPLAIN],")")+"\\s*$"),l("HYPHENRANGELOOSE","^\\s*(".concat(a[u.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(a[u.XRANGEPLAINLOOSE],")")+"\\s*$"),l("STAR","(<|>)?=?\\s*\\*")},function(e,t,n){var r=n(61).MAX_LENGTH,o=n(49),i=o.re,a=o.t,u=n(24);e.exports=function(e,t){if(t&&"object"===typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof u)return e;if("string"!==typeof e)return null;if(e.length>r)return null;if(!(t.loose?i[a.LOOSE]:i[a.FULL]).test(e))return null;try{return new u(e,t)}catch(n){return null}}},function(e,t,n){var r=n(39),o=n(40),i=n(123),a=n(52),u=n(46),c=function e(t,n,c){var l,s,f,p=t&e.F,d=t&e.G,h=t&e.S,v=t&e.P,m=t&e.B,y=t&e.W,g=d?o:o[n]||(o[n]={}),b=g.prototype,w=d?r:h?r[n]:(r[n]||{}).prototype;for(l in d&&(c=n),c)(s=!p&&w&&void 0!==w[l])&&u(g,l)||(f=s?w[l]:c[l],g[l]=d&&"function"!=typeof w[l]?c[l]:m&&s?i(f,r):y&&w[l]==f?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(f):v&&"function"==typeof f?i(Function.call,f):f,v&&((g.virtual||(g.virtual={}))[l]=f,t&e.R&&b&&!b[l]&&a(b,l,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){var r=n(45),o=n(64);e.exports=n(41)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},function(e,t,n){var r=n(127),o=n(99);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(102)("wks"),o=n(67),i=n(39).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t,n){"use strict";t.a=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}},function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(l){return void n(l)}u.done?t(c):Promise.resolve(c).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function u(e){r(a,o,i,u,c,"next",e)}function c(e){r(a,o,i,u,c,"throw",e)}u(void 0)}))}}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";var r={};function o(e,t){0}function i(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}var a=function(e,t){i(o,e,t)};t.a=function(e,t,n){a(e,"[antd: ".concat(t,"] ").concat(n))}},function(e,t,n){var r=n(53);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t){var n=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:n,MAX_SAFE_COMPONENT_LENGTH:16}},function(e,t,n){(function(t){var n="object"===typeof t&&Object({NODE_ENV:"production",PUBLIC_URL:"/upgrade-helper",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0})&&Object({NODE_ENV:"production",PUBLIC_URL:"/upgrade-helper",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0}).NODE_DEBUG&&/\bsemver\b/i.test(Object({NODE_ENV:"production",PUBLIC_URL:"/upgrade-helper",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0}).NODE_DEBUG)?function(){for(var e,t=arguments.length,n=new Array(t),r=0;r0}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(126),o=n(103);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=!0},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(215)),o=a(n(227)),i="function"===typeof o.default&&"symbol"===typeof r.default?function(e){return typeof e}:function(e){return e&&"function"===typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"===typeof o.default&&"symbol"===i(r.default)?function(e){return"undefined"===typeof e?"undefined":i(e)}:function(e){return e&&"function"===typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":"undefined"===typeof e?"undefined":i(e)}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){for(var n=0;n0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(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)},e.prototype.disconnect_=function(){r&&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)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;a.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),l=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),O="undefined"!==typeof WeakMap?new WeakMap:new n,E=function e(t){if(!(this instanceof e))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=c.getInstance(),r=new w(t,n,this);O.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){E.prototype[e]=function(){var t;return(t=O.get(this))[e].apply(t,arguments)}}));var x="undefined"!==typeof o.ResizeObserver?o.ResizeObserver:E;t.a=x}).call(this,n(69))},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=(r=n(249))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=(r=n(255))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=(r=n(259))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=n(14),a=n.n(i);function u(e,t){for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}function c(e){return(c="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){"function"===typeof e?e(t):"object"===c(e)&&e&&"current"in e&&(e.current=t)}function s(){for(var e=arguments.length,t=new Array(e),n=0;n=0&&t.left>=0&&t.bottom>t.top&&t.right>t.left?t:null}function Ee(e){var t,n,r;if(ye.isWindow(e)||9===e.nodeType){var o=ye.getWindow(e);t={left:ye.getWindowScrollLeft(o),top:ye.getWindowScrollTop(o)},n=ye.viewportWidth(o),r=ye.viewportHeight(o)}else t=ye.offset(e),n=ye.outerWidth(e),r=ye.outerHeight(e);return t.width=n,t.height=r,t}function xe(e,t){var n=t.charAt(0),r=t.charAt(1),o=e.width,i=e.height,a=e.left,u=e.top;return"c"===n?u+=i/2:"b"===n&&(u+=i),"c"===r?a+=o/2:"r"===r&&(a+=o),{left:a,top:u}}function Se(e,t,n,r,o){var i=xe(t,n[1]),a=xe(e,n[0]),u=[a.left-i.left,a.top-i.top];return{left:Math.round(e.left-u[0]+r[0]-o[0]),top:Math.round(e.top-u[1]+r[1]-o[1])}}function ke(e,t,n){return e.leftn.right}function _e(e,t,n){return e.topn.bottom}function Ce(e,t,n){var r=[];return ye.each(e,(function(e){r.push(e.replace(t,(function(e){return n[e]})))})),r}function Te(e,t){return e[t]=-e[t],e}function Pe(e,t){return(/%$/.test(e)?parseInt(e.substring(0,e.length-1),10)/100*t:parseInt(e,10))||0}function je(e,t){e[0]=Pe(e[0],t.width),e[1]=Pe(e[1],t.height)}function Ne(e,t,n,r){var o=n.points,i=n.offset||[0,0],a=n.targetOffset||[0,0],u=n.overflow,c=n.source||e;i=[].concat(i),a=[].concat(a),u=u||{};var l={},s=0,f=Oe(c),p=Ee(c);je(i,p),je(a,t);var d=Se(p,t,o,i,a),h=ye.merge(p,d);if(f&&(u.adjustX||u.adjustY)&&r){if(u.adjustX&&ke(d,p,f)){var v=Ce(o,/[lr]/gi,{l:"r",r:"l"}),m=Te(i,0),y=Te(a,0);(function(e,t,n){return e.left>n.right||e.left+t.widthn.bottom||e.top+t.height=n.left&&o.left+i.width>n.right&&(i.width-=o.left+i.width-n.right),r.adjustX&&o.left+i.width>n.right&&(o.left=Math.max(n.right-i.width,n.left)),r.adjustY&&o.top=n.top&&o.top+i.height>n.bottom&&(i.height-=o.top+i.height-n.bottom),r.adjustY&&o.top+i.height>n.bottom&&(o.top=Math.max(n.bottom-i.height,n.top)),ye.mix(o,i)}(d,p,f,l))}return h.width!==p.width&&ye.css(c,"width",ye.width(c)+h.width-p.width),h.height!==p.height&&ye.css(c,"height",ye.height(c)+h.height-p.height),ye.offset(c,{left:h.left,top:h.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:o,offset:i,targetOffset:a,overflow:l}}function Ae(e,t,n){var r=n.target||t;return Ne(e,Ee(r),n,!function(e){var t=Oe(e),n=Ee(e);return!t||n.left+n.width<=t.left||n.top+n.height<=t.top||n.left>=t.right||n.top>=t.bottom}(r))}function Me(e,t,n){var r,o,i=ye.getDocument(e),a=i.defaultView||i.parentWindow,u=ye.getWindowScrollLeft(a),c=ye.getWindowScrollTop(a),l=ye.viewportWidth(a),s=ye.viewportHeight(a);r="pageX"in t?t.pageX:u+t.clientX,o="pageY"in t?t.pageY:c+t.clientY;var f=r>=0&&r<=u+l&&o>=0&&o<=c+s;return Ne(e,{left:r,top:o,width:0,height:0},function(e){for(var t=1;t1&&(p=o.a.createElement("div",{className:"".concat(n,"-content")},u)),o.a.createElement("div",{ref:t,className:S()(r,!i&&"".concat(e.hiddenClassName)),onMouseEnter:c,onMouseLeave:l,onMouseDown:s,onTouchStart:f,style:a},p)}));We.displayName="PopupInner";var Ke=We;function $e(e){var t=e.prefixCls,n=e.motion,r=e.animation,o=e.transitionName;return n||(r?{motionName:"".concat(t,"-").concat(r)}:o?{motionName:o}:null)}function Ge(e){return(Ge="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Xe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Ye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qe(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:1,n=c++,r=t;function o(){(r-=1)<=0?(e(),delete l[n]):l[n]=u()(o)}return l[n]=u()(o),n}s.cancel=function(e){void 0!==e&&(u.a.cancel(l[e]),delete l[e])},s.ids=l;var f,p=n(303);function d(e){return(d="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var n=0;n=0)){var r=e.props.insertExtraNode;e.extraNode=document.createElement("div");var o=g(e).extraNode;o.className="ant-click-animating-node";var a=e.getAttributeName();t.setAttribute(a,"true"),f=f||document.createElement("style"),n&&"#ffffff"!==n&&"rgb(255, 255, 255)"!==n&&O(n)&&!/rgba\(\d*, \d*, \d*, 0\)/.test(n)&&"transparent"!==n&&(e.csp&&e.csp.nonce&&(f.nonce=e.csp.nonce),o.style.borderColor=n,f.innerHTML="\n [ant-click-animating-without-extra-node='true']::after, .ant-click-animating-node {\n --antd-wave-shadow-color: ".concat(n,";\n }"),document.body.contains(f)||document.body.appendChild(f)),r&&t.appendChild(o),i.a.addStartEventListener(t,e.onTransitionStart),i.a.addEndEventListener(t,e.onTransitionEnd)}},e.onTransitionStart=function(t){if(!e.destroy){var n=Object(o.findDOMNode)(g(e));t&&t.target===n&&(e.animationStart||e.resetEffect(n))}},e.onTransitionEnd=function(t){t&&"fadeEffect"===t.animationName&&e.resetEffect(t.target)},e.bindAnimationEvent=function(t){if(t&&t.getAttribute&&!t.getAttribute("disabled")&&!(t.className.indexOf("disabled")>=0)){var n=function(n){if("INPUT"!==n.target.tagName&&!w(n.target)){e.resetEffect(t);var r=getComputedStyle(t).getPropertyValue("border-top-color")||getComputedStyle(t).getPropertyValue("border-color")||getComputedStyle(t).getPropertyValue("background-color");e.clickWaveTimeoutId=window.setTimeout((function(){return e.onClick(t,r)}),0),s.cancel(e.animationStartId),e.animationStart=!0,e.animationStartId=s((function(){e.animationStart=!1}),10)}};return t.addEventListener("click",n,!0),{cancel:function(){t.removeEventListener("click",n,!0)}}}},e.renderWave=function(t){var n=t.csp,r=e.props.children;return e.csp=n,r},e}var n,a,u;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}(t,e),n=t,(a=[{key:"componentDidMount",value:function(){var e=Object(o.findDOMNode)(this);e&&1===e.nodeType&&(this.instance=this.bindAnimationEvent(e))}},{key:"componentWillUnmount",value:function(){this.instance&&this.instance.cancel(),this.clickWaveTimeoutId&&clearTimeout(this.clickWaveTimeoutId),this.destroy=!0}},{key:"getAttributeName",value:function(){return this.props.insertExtraNode?"ant-click-animating":"ant-click-animating-without-extra-node"}},{key:"resetEffect",value:function(e){if(e&&e!==this.extraNode&&e instanceof Element){var t=this.props.insertExtraNode,n=this.getAttributeName();e.setAttribute(n,"false"),f&&(f.innerHTML=""),t&&this.extraNode&&e.contains(this.extraNode)&&e.removeChild(this.extraNode),i.a.removeStartEventListener(e,this.onTransitionStart),i.a.removeEndEventListener(e,this.onTransitionEnd)}}},{key:"render",value:function(){return r.createElement(p.a,null,this.renderWave)}}])&&v(n.prototype,a),u&&v(n,u),t}(r.Component)},function(e,t,n){"use strict";var r=n(28),o=n.n(r),i=n(5),a=n.n(i),u=n(11),c=n.n(u),l=n(9),s=n.n(l),f=n(12),p=n.n(f),d=n(0),h=n.n(d),v=n(1),m=n.n(v),y=n(3),g=n.n(y),b=n(42),w=function(e){function t(n){c()(this,t);var r=s()(this,e.call(this,n));r.handleChange=function(e){var t=r.props,n=t.disabled,o=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:a()({},r.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var o="checked"in n?n.checked:n.defaultChecked;return r.state={checked:o},r}return p()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?a()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,r=t.className,i=t.style,u=t.name,c=t.id,l=t.type,s=t.disabled,f=t.readOnly,p=t.tabIndex,d=t.onClick,v=t.onFocus,m=t.onBlur,y=t.autoFocus,b=t.value,w=o()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),O=Object.keys(w).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=w[t]),e}),{}),E=this.state.checked,x=g()(n,r,((e={})[n+"-checked"]=E,e[n+"-disabled"]=s,e));return h.a.createElement("span",{className:x,style:i},h.a.createElement("input",a()({name:u,id:c,type:l,readOnly:f,disabled:s,tabIndex:p,className:n+"-input",checked:!!E,onClick:d,onFocus:v,onBlur:m,onChange:this.handleChange,autoFocus:y,ref:this.saveInput,value:b},O)),h.a.createElement("span",{className:n+"-inner"}))},t}(d.Component);w.propTypes={prefixCls:m.a.string,className:m.a.string,style:m.a.object,name:m.a.string,id:m.a.string,type:m.a.string,defaultChecked:m.a.oneOfType([m.a.number,m.a.bool]),checked:m.a.oneOfType([m.a.number,m.a.bool]),disabled:m.a.bool,onFocus:m.a.func,onBlur:m.a.func,onChange:m.a.func,onClick:m.a.func,tabIndex:m.a.oneOfType([m.a.string,m.a.number]),readOnly:m.a.bool,autoFocus:m.a.bool,value:m.a.any},w.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(b.a)(w);var O=w;t.a=O},,function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,t){for(var n,u,c=a(e),l=1;l=0}},function(e,t,n){var r=n(34);e.exports=function(e,t,n){return r(e,t,n)<=0}},function(e,t,n){var r=n(88),o=n(89),i=Symbol("SemVer ANY"),a=function(){"use strict";function e(t,n){if(r(this,e),n&&"object"===typeof n||(n={loose:!!n,includePrerelease:!1}),t instanceof e){if(t.loose===!!n.loose)return t;t=t.value}f("comparator",t,n),this.options=n,this.loose=!!n.loose,this.parse(t),this.semver===i?this.value="":this.value=this.operator+this.semver.version,f("comp",this)}return o(e,null,[{key:"ANY",get:function(){return i}}]),o(e,[{key:"parse",value:function(e){var t=this.options.loose?c[l.COMPARATORLOOSE]:c[l.COMPARATOR],n=e.match(t);if(!n)throw new TypeError("Invalid comparator: ".concat(e));this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new p(n[2],this.options.loose):this.semver=i}},{key:"toString",value:function(){return this.value}},{key:"test",value:function(e){if(f("Comparator.test",e,this.options.loose),this.semver===i||e===i)return!0;if("string"===typeof e)try{e=new p(e,this.options)}catch(t){return!1}return s(e,this.operator,this.semver,this.options)}},{key:"intersects",value:function(t,n){if(!(t instanceof e))throw new TypeError("a Comparator is required");if(n&&"object"===typeof n||(n={loose:!!n,includePrerelease:!1}),""===this.operator)return""===this.value||new d(t.value,n).test(this.value);if(""===t.operator)return""===t.value||new d(this.value,n).test(t.semver);var r=(">="===this.operator||">"===this.operator)&&(">="===t.operator||">"===t.operator),o=("<="===this.operator||"<"===this.operator)&&("<="===t.operator||"<"===t.operator),i=this.semver.version===t.semver.version,a=(">="===this.operator||"<="===this.operator)&&(">="===t.operator||"<="===t.operator),u=s(this.semver,"<",t.semver,n)&&(">="===this.operator||">"===this.operator)&&("<="===t.operator||"<"===t.operator),c=s(this.semver,">",t.semver,n)&&("<="===this.operator||"<"===this.operator)&&(">="===t.operator||">"===t.operator);return r||o||i&&a||u||c}}]),e}();e.exports=a;var u=n(49),c=u.re,l=u.t,s=n(121),f=n(62),p=n(24),d=n(31)},function(e,t,n){var r=n(24),o=n(96),i=o.ANY,a=n(31),u=n(122),c=n(63),l=n(93),s=n(95),f=n(94);e.exports=function(e,t,n,p){var d,h,v,m,y;switch(e=new r(e,p),t=new a(t,p),n){case">":d=c,h=s,v=l,m=">",y=">=";break;case"<":d=l,h=f,v=c,m="<",y="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(u(e,t,p))return!1;for(var g=function(n){var r=t.set[n],a=null,u=null;return r.forEach((function(e){e.semver===i&&(e=new o(">=0.0.0")),a=a||e,u=u||e,d(e.semver,a.semver,p)?a=e:v(e.semver,u.semver,p)&&(u=e)})),a.operator===m||a.operator===y?{v:!1}:u.operator&&u.operator!==m||!h(e,u.semver)?u.operator===y&&v(e,u.semver)?{v:!1}:void 0:{v:!1}},b=0;b0?r:n)(e)}},function(e,t,n){var r=n(102)("keys"),o=n(67);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(40),o=n(39),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(66)?"pure":"global",copyright:"\xa9 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(99);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports={}},function(e,t,n){var r=n(59),o=n(220),i=n(103),a=n(101)("IE_PROTO"),u=function(){},c=function(){var e,t=n(125)("iframe"),r=i.length;for(t.style.display="none",n(221).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("