123456789101112131415161718192021222324252627282930 |
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("babylonjs"),require("babylonjs-gui")):"function"==typeof define&&define.amd?define("babylonjs-gui-editor",["babylonjs","babylonjs-gui"],t):"object"==typeof exports?exports["babylonjs-gui-editor"]=t(require("babylonjs"),require("babylonjs-gui")):e.GUIEDITOR=t(e.BABYLON,e.BABYLON.GUI)}("undefined"!=typeof self?self:"undefined"!=typeof global?global:this,(function(e,t){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=124)}([function(e,t,n){"use strict";e.exports=n(125)},function(t,n){t.exports=e},function(e,t,n){var r;try{r={cloneDeep:n(250),constant:n(61),defaults:n(251),each:n(89),filter:n(92),find:n(252),flatten:n(119),forEach:n(90),forIn:n(257),has:n(103),isUndefined:n(104),last:n(258),map:n(105),mapValues:n(259),max:n(260),merge:n(262),min:n(268),minBy:n(269),now:n(270),pick:n(271),range:n(276),reduce:n(107),sortBy:n(279),uniqueId:n(284),values:n(112),zipObject:n(285)}}catch(e){}r||(r=window._),e.exports=r},function(e,t){var n=Array.isArray;e.exports=n},function(e,n){e.exports=t},function(e,t,n){"use strict";var r=n(2),o=n(8).Graph;function i(e,t,n,o){var i;do{i=r.uniqueId(o)}while(e.hasNode(i));return n.dummy=t,e.setNode(i,n),i}function a(e){return r.max(r.map(e.nodes(),(function(t){var n=e.node(t).rank;if(!r.isUndefined(n))return n})))}e.exports={addDummyNode:i,simplify:function(e){var t=(new o).setGraph(e.graph());return r.forEach(e.nodes(),(function(n){t.setNode(n,e.node(n))})),r.forEach(e.edges(),(function(n){var r=t.edge(n.v,n.w)||{weight:0,minlen:1},o=e.edge(n);t.setEdge(n.v,n.w,{weight:r.weight+o.weight,minlen:Math.max(r.minlen,o.minlen)})})),t},asNonCompoundGraph:function(e){var t=new o({multigraph:e.isMultigraph()}).setGraph(e.graph());return r.forEach(e.nodes(),(function(n){e.children(n).length||t.setNode(n,e.node(n))})),r.forEach(e.edges(),(function(n){t.setEdge(n,e.edge(n))})),t},successorWeights:function(e){var t=r.map(e.nodes(),(function(t){var n={};return r.forEach(e.outEdges(t),(function(t){n[t.w]=(n[t.w]||0)+e.edge(t).weight})),n}));return r.zipObject(e.nodes(),t)},predecessorWeights:function(e){var t=r.map(e.nodes(),(function(t){var n={};return r.forEach(e.inEdges(t),(function(t){n[t.v]=(n[t.v]||0)+e.edge(t).weight})),n}));return r.zipObject(e.nodes(),t)},intersectRect:function(e,t){var n,r,o=e.x,i=e.y,a=t.x-o,l=t.y-i,u=e.width/2,s=e.height/2;if(!a&&!l)throw new Error("Not possible to find intersection inside of the rectangle");Math.abs(l)*u>Math.abs(a)*s?(l<0&&(s=-s),n=s*a/l,r=s):(a<0&&(u=-u),n=u,r=u*l/a);return{x:o+n,y:i+r}},buildLayerMatrix:function(e){var t=r.map(r.range(a(e)+1),(function(){return[]}));return r.forEach(e.nodes(),(function(n){var o=e.node(n),i=o.rank;r.isUndefined(i)||(t[i][o.order]=n)})),t},normalizeRanks:function(e){var t=r.min(r.map(e.nodes(),(function(t){return e.node(t).rank})));r.forEach(e.nodes(),(function(n){var o=e.node(n);r.has(o,"rank")&&(o.rank-=t)}))},removeEmptyRanks:function(e){var t=r.min(r.map(e.nodes(),(function(t){return e.node(t).rank}))),n=[];r.forEach(e.nodes(),(function(r){var o=e.node(r).rank-t;n[o]||(n[o]=[]),n[o].push(r)}));var o=0,i=e.graph().nodeRankFactor;r.forEach(n,(function(t,n){r.isUndefined(t)&&n%i!=0?--o:o&&r.forEach(t,(function(t){e.node(t).rank+=o}))}))},addBorderNode:function(e,t,n,r){var o={width:0,height:0};arguments.length>=4&&(o.rank=n,o.order=r);return i(e,"border",o,t)},maxRank:a,partition:function(e,t){var n={lhs:[],rhs:[]};return r.forEach(e,(function(e){t(e)?n.lhs.push(e):n.rhs.push(e)})),n},time:function(e,t){var n=r.now();try{return t()}finally{console.log(e+" time: "+(r.now()-n)+"ms")}},notime:function(e,t){return t()}}},function(e,t,n){var r;try{r={clone:n(138),constant:n(61),each:n(89),filter:n(92),has:n(103),isArray:n(3),isEmpty:n(214),isFunction:n(26),isUndefined:n(104),keys:n(13),map:n(105),reduce:n(107),size:n(217),transform:n(223),union:n(224),values:n(112)}}catch(e){}r||(r=window._),e.exports=r},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var r;try{r=n(136)}catch(e){}r||(r=window.graphlib),e.exports=r},function(e,t,n){var r=n(72),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){var r=n(26),o=n(55);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},function(e,t,n){var r=n(194),o=n(204),i=n(17),a=n(3),l=n(211);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):l(e)}},function(e,t,n){var r=n(75),o=n(57),i=n(11);e.exports=function(e){return i(e)?r(e):o(e)}},function(e,t,n){var r=n(149),o=n(154);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},function(e,t,n){var r=n(19),o=n(150),i=n(151),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},function(e,t,n){var r=n(75),o=n(174),i=n(11);e.exports=function(e){return i(e)?r(e,!0):o(e)}},function(e,t){e.exports=function(e){return e}},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(9).Symbol;e.exports=r},function(e,t,n){(function(e){var r=n(9),o=n(170),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,l=a&&a.exports===i?r.Buffer:void 0,u=(l?l.isBuffer:void 0)||o;e.exports=u}).call(this,n(54)(e))},function(e,t,n){var r=n(179),o=n(51),i=n(180),a=n(84),l=n(181),u=n(15),s=n(73),c=s(r),f=s(o),p=s(i),d=s(a),h=s(l),g=u;(r&&"[object DataView]"!=g(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=g(new o)||i&&"[object Promise]"!=g(i.resolve())||a&&"[object Set]"!=g(new a)||l&&"[object WeakMap]"!=g(new l))&&(g=function(e){var t=u(e),n="[object Object]"==t?e.constructor:void 0,r=n?s(n):"";if(r)switch(r){case c:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=g},function(e,t,n){var r=n(15),o=n(10);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(126)},function(e,t,n){"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function l(e){for(var t=-1,n=0;n<a.length;n++)if(a[n].identifier===e){t=n;break}return t}function u(e,t){for(var n={},r=[],o=0;o<e.length;o++){var i=e[o],u=t.base?i[0]+t.base:i[0],s=n[u]||0,c="".concat(u," ").concat(s);n[u]=s+1;var f=l(c),p={css:i[1],media:i[2],sourceMap:i[3]};-1!==f?(a[f].references++,a[f].updater(p)):a.push({identifier:c,updater:m(p,t),references:1}),r.push(c)}return r}function s(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var a=i(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var c,f=(c=[],function(e,t){return c[e]=t,c.filter(Boolean).join("\n")});function p(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=f(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function d(e,t,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var h=null,g=0;function m(e,t){var n,r,o;if(t.singleton){var i=g++;n=h||(h=s(t)),r=p.bind(null,n,i,!1),o=p.bind(null,n,i,!0)}else n=s(t),r=d.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=u(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=l(n[r]);a[o].references--}for(var i=u(e,t),s=0;s<n.length;s++){var c=l(n[s]);0===a[c].references&&(a[c].updater(),a.splice(c,1))}n=i}}}},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,l=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),u="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),"/*# ".concat(u," */")),i=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([o]).join("\n")}var a,l,u;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);r&&o[u[0]]||(n&&(u[2]?u[2]="".concat(n," and ").concat(u[2]):u[2]=n),t.push(u))}},t}},function(e,t,n){var r=n(15),o=n(7);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,n){var r=n(36),o=n(37);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var l=-1,u=t.length;++l<u;){var s=t[l],c=i?i(n[s],e[s],s,n,e):void 0;void 0===c&&(c=e[s]),a?o(n,s,c):r(n,s,c)}return n}},function(e,t,n){var r=n(169),o=n(10),i=Object.prototype,a=i.hasOwnProperty,l=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!l.call(e,"callee")};e.exports=u},function(e,t,n){var r=n(171),o=n(39),i=n(56),a=i&&i.isTypedArray,l=a?o(a):r;e.exports=l},function(e,t,n){var r=n(22);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},function(e,t,n){var r=n(32),o=n(144),i=n(145),a=n(146),l=n(147),u=n(148);function s(e){var t=this.__data__=new r(e);this.size=t.size}s.prototype.clear=o,s.prototype.delete=i,s.prototype.get=a,s.prototype.has=l,s.prototype.set=u,e.exports=s},function(e,t,n){var r=n(139),o=n(140),i=n(141),a=n(142),l=n(143);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=l,e.exports=u},function(e,t,n){var r=n(18);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(14)(Object,"create");e.exports=r},function(e,t,n){var r=n(163);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(37),o=n(18),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},function(e,t,n){var r=n(74);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t,n){var r=n(76)(Object.getPrototypeOf,Object);e.exports=r},function(e,t,n){var r=n(62),o=n(192)(r);e.exports=o},function(e,t,n){var r=n(44),o=n(30);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},function(e,t,n){var r=n(3),o=n(65),i=n(206),a=n(99);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},function(e,t,n){var r=n(17),o=n(108),i=n(109);e.exports=function(e,t){return i(o(e,t,r),e+"")}},function(e,t,n){var r=n(18),o=n(11),i=n(38),a=n(7);e.exports=function(e,t,n){if(!a(n))return!1;var l=typeof t;return!!("number"==l?o(n)&&i(t,n.length):"string"==l&&t in n)&&r(n[t],e)}},function(e,t,n){"use strict";var r=n(2);e.exports={longestPath:function(e){var t={};r.forEach(e.sources(),(function n(o){var i=e.node(o);if(r.has(t,o))return i.rank;t[o]=!0;var a=r.min(r.map(e.outEdges(o),(function(t){return n(t.w)-e.edge(t).minlen})));return a!==Number.POSITIVE_INFINITY&&null!=a||(a=0),i.rank=a}))},slack:function(e,t){return e.node(t.w).rank-e.node(t.v).rank-e.edge(t).minlen}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return F}));var r=n(0),o=n(23),i=n(1),a=function(){this.onSelectionChangedObservable=new i.Observable,this.onRebuildRequiredObservable=new i.Observable,this.onBuiltObservable=new i.Observable,this.onResetRequiredObservable=new i.Observable,this.onUpdateRequiredObservable=new i.Observable,this.onReOrganizedRequiredObservable=new i.Observable,this.onLogRequiredObservable=new i.Observable,this.onErrorMessageDialogRequiredObservable=new i.Observable,this.onIsLoadingChanged=new i.Observable,this.onSelectionBoxMoved=new i.Observable,this.onGuiNodeRemovalObservable=new i.Observable,this.blockKeyboardEvents=!1,this.controlCamera=i.DataStorage.ReadBoolean("ControlCamera",!0);var e=i.DataStorage.ReadNumber("BackgroundColorR",.12549019607843137),t=i.DataStorage.ReadNumber("BackgroundColorG",.09803921568627451),n=i.DataStorage.ReadNumber("BackgroundColorB",.25098039215686274);this.backgroundColor=new i.Color4(e,t,n,1)},l=function(e,t){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function u(e,t){function n(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var s=function(){return(s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.create;Object.create;var c=n(129),f=function(e){function t(t){var n=e.call(this,t)||this,r=i.DataStorage.ReadBoolean(n.props.title,!n.props.closed);return n.state={isExpanded:r},n}return u(t,e),t.prototype.switchExpandedState=function(){var e=!this.state.isExpanded;i.DataStorage.WriteBoolean(this.props.title,e),this.setState({isExpanded:e})},t.prototype.renderHeader=function(){var e=this,t=this.state.isExpanded?"collapse":"collapse closed";return r.createElement("div",{className:"header",onClick:function(){return e.switchExpandedState()}},r.createElement("div",{className:"title"},this.props.title),r.createElement("div",{className:t},r.createElement("img",{className:"img",title:this.props.title,src:c})))},t.prototype.render=function(){return this.state.isExpanded?r.createElement("div",{className:"paneContainer"},r.createElement("div",{className:"paneContainer-content"},this.renderHeader(),r.createElement("div",{className:"paneList"},this.props.children))):r.createElement("div",{className:"paneContainer"},r.createElement("div",{className:"paneContainer-content"},this.renderHeader()))},t}(r.Component),p=function(e){function t(t){return e.call(this,t)||this}return u(t,e),t.prototype.render=function(){var e=this;return r.createElement("div",{className:"draggableLine",title:this.props.tooltip,draggable:!0,onDragStart:function(t){t.dataTransfer.setData("babylonjs-gui-node",e.props.data)}},this.props.data.replace("Block",""))},t}(r.Component);n(130);var d=function(e){function t(t){var n=e.call(this,t)||this;return n.state={filter:""},n._onResetRequiredObserver=n.props.globalState.onResetRequiredObservable.add((function(){n.forceUpdate()})),n}return u(t,e),t.prototype.componentWillUnmount=function(){this.props.globalState.onResetRequiredObservable.remove(this._onResetRequiredObserver)},t.prototype.filterContent=function(e){this.setState({filter:e})},t.prototype.render=function(){var e=this,n={Buttons:["TextButton","ImageButton"],Controls:["Slider","Checkbox","ColorPicker","VisualKeyboard"],Containers:["DisplayGrid","Grid","StackPanel"],Shapes:["Ellipse","Image","Line","Rectangle"],Inputs:["Text","IntputText","InputPassword"]},o=[];for(var i in n){var a=n[i].filter((function(t){return!e.state.filter||-1!==t.toLowerCase().indexOf(e.state.filter.toLowerCase())})).sort((function(e,t){return e.localeCompare(t)})).map((function(e,n){return r.createElement(p,{key:e,data:e,tooltip:t._Tooltips[e]||""})}));a.length&&o.push(r.createElement(f,{key:i+" blocks",title:i.replace("__",": ").replace("_"," "),closed:!1},a))}return r.createElement("div",{id:"guiList"},r.createElement("div",{className:"panes"},r.createElement("div",{className:"pane"},r.createElement("div",{className:"filter"},r.createElement("input",{type:"text",placeholder:"Filter",onFocus:function(){return e.props.globalState.blockKeyboardEvents=!0},onBlur:function(t){e.props.globalState.blockKeyboardEvents=!1},onChange:function(t){return e.filterContent(t.target.value)}})),r.createElement("div",{className:"list-container"},o))))},t._Tooltips={Button:"A simple button"},t}(r.Component),h=function(e){function t(t){return e.call(this,t)||this}return u(t,e),t.prototype.render=function(){var e=this;return r.createElement("div",{className:"buttonLine"},r.createElement("button",{onClick:function(){return e.props.onClick()}},this.props.label))},t}(r.Component),g=function(e){function t(n){var o=e.call(this,n)||this;return o._id=t._IDGenerator++,o.uploadInputRef=r.createRef(),o}return u(t,e),t.prototype.onChange=function(e){var t=e.target.files;t&&t.length&&this.props.onClick(t[0]),e.target.value=""},t.prototype.render=function(){var e=this;return r.createElement("div",{className:"buttonLine"},r.createElement("label",{htmlFor:"file-upload"+this._id,className:"file-upload"},this.props.label),r.createElement("input",{ref:this.uploadInputRef,id:"file-upload"+this._id,type:"file",accept:this.props.accept,onChange:function(t){return e.onChange(t)}}))},t._IDGenerator=0,t}(r.Component),m=function(e){function t(n){var r=e.call(this,n)||this;return r._localChange=!1,r._uniqueId=t._UniqueIdSeed++,r.props.isSelected?r.state={isSelected:r.props.isSelected()}:r.state={isSelected:1==r.props.target[r.props.propertyName]},r.props.disabled&&(r.state=s(s({},r.state),{isDisabled:r.props.disabled})),r}return u(t,e),t.prototype.shouldComponentUpdate=function(e,t){var n;return(n=e.isSelected?e.isSelected():1==e.target[e.propertyName])!==t.isSelected||this._localChange?(t.isSelected=n,this._localChange=!1,!0):e.disabled!==t.isDisabled||(e.label!==this.props.label||e.target!==this.props.target)},t.prototype.onChange=function(){this._localChange=!0,this.props.onSelect?this.props.onSelect(!this.state.isSelected):(this.props.onPropertyChangedObservable&&this.props.onPropertyChangedObservable.notifyObservers({object:this.props.target,property:this.props.propertyName,value:!this.state.isSelected,initialValue:this.state.isSelected}),this.props.target[this.props.propertyName]=!this.state.isSelected),this.props.onValueChanged&&this.props.onValueChanged(),this.setState({isSelected:!this.state.isSelected})},t.prototype.render=function(){var e=this;return r.createElement("div",{className:"checkBoxLine"},r.createElement("div",{className:"label"},this.props.label),r.createElement("div",{className:"checkBox"},r.createElement("input",{type:"checkbox",id:"checkbox"+this._uniqueId,className:"cbx hidden",checked:this.state.isSelected,onChange:function(){return e.onChange()},disabled:!!this.props.disabled}),r.createElement("label",{htmlFor:"checkbox"+this._uniqueId,className:"lbl"+(this.props.disabled?" disabled":"")})))},t._UniqueIdSeed=0,t}(r.Component),v=function(e){function t(t){var n=e.call(this,t)||this;n._localChange=!1;var r=n.props.target[n.props.propertyName];n._digits==n.props.digits==void 0||n.props.digits,n.state={value:r?n.props.isInteger?r.toFixed(0):r.toFixed(n._digits):"0"},n._store=r;for(var o="(.*\\.",i=n._digits;i--;)o+=".";return o+=").+",n._regExp=new RegExp(o),n}return u(t,e),t.prototype.shouldComponentUpdate=function(e,t){if(this._localChange)return this._localChange=!1,!0;var n=e.target[e.propertyName],r=n?this.props.isInteger?n.toFixed(0):n.toFixed(this._digits):"0";return r!==t.value&&(t.value=r,!0)},t.prototype.raiseOnPropertyChanged=function(e,t){this.props.onChange&&this.props.onChange(e),this.props.onPropertyChangedObservable&&this.props.onPropertyChangedObservable.notifyObservers({object:this.props.target,property:this.props.propertyName,value:e,initialValue:t})},t.prototype.updateValue=function(e){var t;/[^0-9\.\-]/g.test(e)||(e=e.replace(this._regExp,"$1"),t=this.props.isInteger?parseInt(e):parseFloat(e),this._localChange=!0,this.setState({value:e}),isNaN(t)||(null!=this.props.max&&t>this.props.max&&(t=this.props.max),null!=this.props.min&&t<this.props.min&&(t=this.props.min),this.props.target[this.props.propertyName]=t,this.raiseOnPropertyChanged(t,this._store),this._store=t))},t.prototype.render=function(){var e=this,t=this.props.smallUI?"short":"value";return r.createElement("div",null,r.createElement("div",{className:this.props.additionalClass?this.props.additionalClass+" floatLine":"floatLine"},r.createElement("div",{className:"label"},this.props.label),r.createElement("div",{className:t},r.createElement("input",{type:"number",step:this.props.step||"0.01",className:"numeric-input",onBlur:function(t){e.props.globalState.blockKeyboardEvents=!1,e.props.onEnter&&e.props.onEnter(e._store)},onKeyDown:function(t){13===t.keyCode&&e.props.onEnter&&e.props.onEnter(e._store)},onFocus:function(){return e.props.globalState.blockKeyboardEvents=!0},value:this.state.value,onChange:function(t){return e.updateValue(t.target.value)}}))))},t}(r.Component),b=function(e){function t(t){var n=e.call(this,t)||this;if(n._localChange=!1,void 0!==n.props.directValue)n.state={value:n.props.directValue};else{var r=n.props.target[n.props.propertyName];void 0===r&&(r=n.props.maximum),n.state={value:r}}return n}return u(t,e),t.prototype.shouldComponentUpdate=function(e,t){if(void 0!==e.directValue)return t.value=e.directValue,!0;var n=e.target[e.propertyName];return void 0===n&&(n=e.maximum),!(n===t.value&&e.minimum===this.props.minimum&&e.maximum===this.props.maximum&&!this._localChange)&&(t.value=Math.min(Math.max(n,e.minimum),e.maximum),this._localChange=!1,!0)},t.prototype.onChange=function(e){this._localChange=!0;var t=parseFloat(e);this.props.useEuler&&(t=i.Tools.ToRadians(t)),this.props.target&&(this.props.onPropertyChangedObservable&&this.props.onPropertyChangedObservable.notifyObservers({object:this.props.target,property:this.props.propertyName,value:t,initialValue:this.state.value}),this.props.target[this.props.propertyName]=t),this.props.onChange&&this.props.onChange(t),this.setState({value:t})},t.prototype.onInput=function(e){var t=parseFloat(e);this.props.onInput&&this.props.onInput(t)},t.prototype.prepareDataToRead=function(e){return this.props.useEuler?i.Tools.ToDegrees(e):e},t.prototype.render=function(){var e=this;return r.createElement("div",{className:"sliderLine"},r.createElement("div",{className:"label"},this.props.label),r.createElement(v,{globalState:this.props.globalState,smallUI:!0,label:"",target:this.state,propertyName:"value",min:this.prepareDataToRead(this.props.minimum),max:this.prepareDataToRead(this.props.maximum),onEnter:function(){e.onChange(e.state.value)}}),r.createElement("div",{className:"slider"},r.createElement("input",{className:"range",type:"range",step:this.props.step,min:this.prepareDataToRead(this.props.minimum),max:this.prepareDataToRead(this.props.maximum),value:this.prepareDataToRead(this.state.value),onInput:function(t){return e.onInput(t.target.value)},onChange:function(t){return e.onChange(t.target.value)}})))},t}(r.Component),y=function(e){function t(t){return e.call(this,t)||this}return u(t,e),t.prototype.render=function(){return r.createElement(r.Fragment,null,r.createElement(x,{globalState:this.props.globalState,guiControl:this.props.guiControl}),r.createElement(w,{globalState:this.props.globalState,guiControl:this.props.guiControl}))},t}(r.Component),x=function(e){function t(t){return e.call(this,t)||this}return u(t,e),t.prototype.render=function(){return r.createElement(r.Fragment,null,r.createElement(f,{title:"GENERAL"}))},t}(r.Component),w=function(e){function t(t){return e.call(this,t)||this}return u(t,e),t.prototype.forceRebuild=function(e){e&&!e.update||this.props.globalState.onUpdateRequiredObservable.notifyObservers(),e&&!e.rebuild||this.props.globalState.onRebuildRequiredObservable.notifyObservers()},t.prototype.render=function(){var e=this,t=this.props.guiControl._propStore;if(!t)return r.createElement(r.Fragment,null);for(var n={},o=[],a=function(t,a,u,s,c){var f=n[s];switch(f||(f=[],n[s]=f,o.push(s)),u){case i.PropertyTypeForEdition.Boolean:f.push(r.createElement(m,{label:a,target:l.props.guiControl,propertyName:t,onValueChanged:function(){return e.forceRebuild(c.notifiers)}}));break;case i.PropertyTypeForEdition.Float:isNaN(c.min)||isNaN(c.max)||c.min===c.max?f.push(r.createElement(v,{globalState:l.props.globalState,label:a,propertyName:t,target:l.props.guiControl,onChange:function(){return e.forceRebuild(c.notifiers)}})):f.push(r.createElement(b,{label:a,target:l.props.guiControl,globalState:l.props.globalState,propertyName:t,step:Math.abs(c.max-c.min)/100,minimum:Math.min(c.min,c.max),maximum:c.max,onChange:function(){return e.forceRebuild(c.notifiers)}}))}},l=this,u=0,s=t;u<s.length;u++){var c=s[u];a(c.propertyName,c.displayName,c.type,c.groupName,c.options)}return r.createElement(r.Fragment,null,o.map((function(e){return r.createElement(f,{title:e},n[e])})))},t}(r.Component),k=function(e){function t(t){var n=e.call(this,t)||this;return n._localChange=!1,n.state={value:n.props.value.toFixed(3)},n}return u(t,e),t.prototype.shouldComponentUpdate=function(e,t){return this._localChange?(this._localChange=!1,!0):e.value.toString()!==t.value&&(t.value=e.value.toFixed(3),!0)},t.prototype.updateValue=function(e){var t=e.target.value;if(!/[^0-9\.\-]/g.test(t)){var n=parseFloat(t);this._localChange=!0,this.setState({value:t}),isNaN(n)||this.props.onChange(n)}},t.prototype.render=function(){var e=this;return r.createElement("div",{className:"numeric"},this.props.label&&r.createElement("div",{className:"numeric-label"},this.props.label+": "),r.createElement("input",{type:"number",onFocus:function(){return e.props.globalState.blockKeyboardEvents=!0},onBlur:function(t){e.props.globalState.blockKeyboardEvents=!1},step:this.props.step,className:"numeric-input",value:this.state.value,onChange:function(t){return e.updateValue(t)}}))},t.defaultProps={step:1},t}(r.Component),E=function(e){function t(t){return e.call(this,t)||this}return u(t,e),t.prototype.onLink=function(){this.props.url?window.open(this.props.url,"_blank"):this.props.onLink&&this.props.onLink()},t.prototype.renderContent=function(){var e=this;return this.props.ignoreValue?null:this.props.onLink||this.props.url?r.createElement("div",{className:"link-value",title:this.props.value,onClick:function(){return e.onLink()}},this.props.url?"doc":this.props.value||"no name"):r.createElement("div",{className:"value",title:this.props.value,style:{color:this.props.color?this.props.color:""}},this.props.value||"no name")},t.prototype.render=function(){var e,t;return r.createElement("div",{className:this.props.underline?"textLine underline":"textLine"+(this.props.additionalClass?" "+this.props.additionalClass:"")},r.createElement("div",{className:"label",title:null!==(e=this.props.label)&&void 0!==e?e:""},null!==(t=this.props.label)&&void 0!==t?t:""),this.renderContent())},t}(r.Component),_=function(e){function t(t){var n=e.call(this,t)||this;return n._slider=n.props.guiControl,n}return u(t,e),t.prototype.render=function(){var e=this;return r.createElement(r.Fragment,null,r.createElement(x,{globalState:this.props.globalState,guiControl:this.props.guiControl}),r.createElement(f,{title:"PROPERTIES"},r.createElement(k,{globalState:this.props.globalState,label:"Minimum Value",value:this._slider.minimum,onChange:function(t){e._slider.minimum=t}}),r.createElement(k,{globalState:this.props.globalState,label:"Maximum Value",value:this._slider.maximum,onChange:function(t){e._slider.maximum=t}}),r.createElement(k,{globalState:this.props.globalState,label:"Value",value:this._slider.value,onChange:function(t){e._slider.value=t}}),r.createElement(k,{globalState:this.props.globalState,label:"Height",value:this._slider.heightInPixels,onChange:function(t){e._slider.height=t}}),r.createElement(k,{globalState:this.props.globalState,label:"Width",value:this._slider.widthInPixels,onChange:function(t){e._slider.width=t}}),r.createElement(E,{label:"Color",value:this._slider.background})))},t}(r.Component),S=function(){function e(){}return e.RegisteredControls={},e}();S.RegisteredControls.Slider=_;var C=function(){function e(e,t){var n=this;this.guiControl=t,this._x=0,this._y=0,this._gridAlignedX=0,this._gridAlignedY=0,this._isVisible=!0,this._enclosingFrameId=-1,this._globalState=e,this._ownerCanvas=this._globalState.workbench,t.onPointerUpObservable.add((function(e){n.clicked=!1,console.log("up")})),t.onPointerDownObservable.add((function(e){n.clicked=!0,n.isSelected=!0,console.log("down")})),t.onPointerEnterObservable.add((function(e){n._ownerCanvas.isOverGUINode=!0,console.log("in")})),t.onPointerOutObservable.add((function(e){n._ownerCanvas.isOverGUINode=!1,console.log("out")})),this._onSelectionBoxMovedObserver=this._globalState.onSelectionBoxMoved.add((function(e){}))}return Object.defineProperty(e.prototype,"isVisible",{get:function(){return this._isVisible},set:function(e){this._isVisible=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"gridAlignedX",{get:function(){return this._gridAlignedX},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"gridAlignedY",{get:function(){return this._gridAlignedY},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"x",{get:function(){return this._x},set:function(e){this._x!==e&&(this._x=e,this._gridAlignedX=this._ownerCanvas.getGridPosition(e))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"y",{get:function(){return this._y},set:function(e){this._y!==e&&(this._y=e,this._gridAlignedY=this._ownerCanvas.getGridPosition(e))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.guiControl.widthInPixels},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.guiControl.heightInPixels},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this.guiControl.uniqueId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.guiControl.name},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isSelected",{get:function(){return this._isSelected},set:function(e){this._isSelected=e,e&&this._globalState.onSelectionChangedObservable.notifyObservers(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"enclosingFrameId",{get:function(){return this._enclosingFrameId},set:function(e){this._enclosingFrameId=e},enumerable:!1,configurable:!0}),e.prototype.cleanAccumulation=function(e){void 0===e&&(e=!1),this.x=this._ownerCanvas.getGridPosition(this.x,e),this.y=this._ownerCanvas.getGridPosition(this.y,e)},e.prototype._onMove=function(e,t){if(!this.clicked)return!1;console.log("moving");var n=e.x-t.x,r=e.y-t.y;return this.x+=n,this.y+=r,!0},e.prototype.renderProperties=function(){var e=this.guiControl.getClassName(),t=S.RegisteredControls[e];return t||(t=y),r.createElement(t,{globalState:this._globalState,guiControl:this.guiControl})},e.prototype.updateVisual=function(){this.guiControl.leftInPixels=this.x,this.guiControl.topInPixels=this.y},e.prototype.dispose=function(){this._globalState.onGuiNodeRemovalObservable.notifyObservers(this),this._onSelectionChangedObserver&&this._globalState.onSelectionChangedObservable.remove(this._onSelectionChangedObserver),this._onUpdateRequiredObserver&&this._globalState.onUpdateRequiredObservable.remove(this._onUpdateRequiredObserver),this._onSelectionBoxMovedObserver&&this._globalState.onSelectionBoxMoved.remove(this._onSelectionBoxMovedObserver),this.guiControl.dispose()},e}(),T=function(){function e(){}return e.Deserialize=function(e,t){t.onIsLoadingChanged.notifyObservers(!0)},e}();n(132);var N=function(e){function t(t){var n=e.call(this,t)||this;return n.state={currentNode:null},n}return u(t,e),t.prototype.componentDidMount=function(){var e=this;this.props.globalState.onSelectionChangedObservable.add((function(t){t instanceof C?e.setState({currentNode:t}):e.setState({currentNode:null})})),this._onBuiltObserver=this.props.globalState.onBuiltObservable.add((function(){e.forceUpdate()}))},t.prototype.componentWillUnmount=function(){this.props.globalState.onBuiltObservable.remove(this._onBuiltObserver)},t.prototype.load=function(e){var t=this;i.Tools.ReadFile(e,(function(e){var n=new TextDecoder("utf-8");T.Deserialize(JSON.parse(n.decode(e)),t.props.globalState),t.props.globalState.onSelectionChangedObservable.notifyObservers(null)}),void 0,!0)},t.prototype.loadFrame=function(e){i.Tools.ReadFile(e,(function(e){}),void 0,!0)},t.prototype.save=function(){},t.prototype.customSave=function(){},t.prototype.saveToSnippetServer=function(){},t.prototype.loadFromSnippet=function(){},t.prototype.render=function(){var e,t=this;return this.state.currentNode?r.createElement("div",{id:"propertyTab"},r.createElement("div",{id:"header"},r.createElement("img",{id:"logo",src:"https://www.babylonjs.com/Assets/logo-babylonjs-social-twitter.png"}),r.createElement("div",{id:"title"},"GUI EDITOR")),null===(e=this.state.currentNode)||void 0===e?void 0:e.renderProperties()):r.createElement("div",{id:"propertyTab"},r.createElement("div",{id:"header"},r.createElement("img",{id:"logo",src:"https://www.babylonjs.com/Assets/logo-babylonjs-social-twitter.png"}),r.createElement("div",{id:"title"},"GUI EDITOR")),r.createElement("div",null,r.createElement(f,{title:"GENERAL"},r.createElement(E,{label:"Version",value:i.Engine.Version}),r.createElement(E,{label:"Help",value:"doc.babylonjs.com",underline:!0,onLink:function(){return window.open("https://doc.babylonjs.com","_blank")}}),r.createElement(h,{label:"Reset to default",onClick:function(){t.props.globalState.onResetRequiredObservable.notifyObservers()}})),r.createElement(f,{title:"OPTIONS"},r.createElement(m,{label:"Show grid",isSelected:function(){return i.DataStorage.ReadBoolean("ShowGrid",!0)},onSelect:function(e){i.DataStorage.WriteBoolean("ShowGrid",e)}})),r.createElement(f,{title:"FILE"},r.createElement(g,{label:"Load",onClick:function(e){return t.load(e)},accept:".json"}),r.createElement(h,{label:"Save",onClick:function(){t.save()}}),this.props.globalState.customSave&&r.createElement(h,{label:this.props.globalState.customSave.label,onClick:function(){t.customSave()}})),!this.props.globalState.customSave&&r.createElement(f,{title:"SNIPPET"},r.createElement(h,{label:"Load from snippet server",onClick:function(){return t.loadFromSnippet()}}),r.createElement(h,{label:"Save to snippet server",onClick:function(){t.saveToSnippetServer()}}))))},t}(r.Component),P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.render=function(){return o.createPortal(this.props.children,this.props.globalState.hostElement)},t}(r.Component);n(134);var O=function(e){function t(t){var n=e.call(this,t)||this;return n.state={logs:[]},n}return u(t,e),t.prototype.componentDidMount=function(){var e=this;this.props.globalState.onLogRequiredObservable.add((function(t){var n=e.state.logs.map((function(e){return e}));n.push(t),e.setState({logs:n})}))},t.prototype.componentDidUpdate=function(){var e=o.findDOMNode(this.refs["log-console"]);e&&(e.scrollTop=e.scrollHeight)},t.prototype.render=function(){var e=new Date,t=e.getHours(),n=e.getMinutes(),o=e.getSeconds();return r.createElement("div",{id:"log-console",ref:"log-console"},this.state.logs.map((function(e,i){return r.createElement("div",{key:i,className:"log"+(e.isError?" error":"")},t+":"+n+":"+o+": "+e.message)})))},t}(r.Component),L=n(4),j=function(){function e(){}return e.CreateControlFromString=function(e){var t;switch(e){case"Slider":t=new L.Slider("Slider");break;case"Checkbox":t=new L.Checkbox("Checkbox");break;case"ColorPicker":t=new L.ColorPicker("ColorPicker");break;case"Ellipse":t=new L.Ellipse("Ellipse");break;case"Rectangle":t=new L.Rectangle("Rectangle");break;case"Line":return(t=new L.Line).x1=10,t.y1=10,t.x2=100,t.y2=100,t.lineWidth=5,t.dash=[50,10],t;case"Text":return(t=new L.TextBlock("Textblock")).text="My Text",t;default:t=L.Button.CreateSimpleButton("Button","Click Me")}return t.width="150px",t.height="40px",t.color="#FFFFFFFF",t.isPointerBlocker=!0,t},e}(),I=n(68);n(310);var z=function(e){function t(t){var n=e.call(this,t)||this;return n.MinZoom=.1,n.MaxZoom=4,n._guiNodes=[],n._mouseStartPointX=null,n._mouseStartPointY=null,n._selectionStartX=0,n._selectionStartY=0,n._x=0,n._y=0,n._zoom=1,n._selectedGuiNodes=[],n._gridSize=20,n._selectionBox=null,n._frameCandidate=null,n._altKeyIsPressed=!1,n._ctrlKeyIsPressed=!1,n._oldY=-1,n._frameIsMoving=!1,n._isLoading=!1,n.isOverGUINode=!1,t.globalState.onSelectionChangedObservable.add((function(e){console.log(e),n.selectedGuiNodes.forEach((function(e){e.isSelected=!1})),e?e instanceof C&&(n._ctrlKeyIsPressed?-1===n._selectedGuiNodes.indexOf(e)&&n._selectedGuiNodes.push(e):n._selectedGuiNodes=[e]):n._selectedGuiNodes=[]})),n.props.globalState.hostDocument.addEventListener("keyup",(function(){return n.onKeyUp()}),!1),n.props.globalState.hostDocument.addEventListener("keydown",(function(e){n._altKeyIsPressed=e.altKey,n._ctrlKeyIsPressed=e.ctrlKey}),!1),n.props.globalState.hostDocument.defaultView.addEventListener("blur",(function(){n._altKeyIsPressed=!1,n._ctrlKeyIsPressed=!1}),!1),n.props.globalState.storeEditorData=function(e){e.x=n.x,e.y=n.y,e.zoom=n.zoom},n.props.globalState.workbench=n,n}return u(t,e),Object.defineProperty(t.prototype,"gridSize",{get:function(){return this._gridSize},set:function(e){this._gridSize=e,this.updateTransform()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"globalState",{get:function(){return this.props.globalState},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nodes",{get:function(){return this._guiNodes},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"zoom",{get:function(){return this._zoom},set:function(e){this._zoom!==e&&(this._zoom=e,this.updateTransform())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this.updateTransform()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this.updateTransform()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectedGuiNodes",{get:function(){return this._selectedGuiNodes},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canvasContainer",{get:function(){return this._gridCanvas},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hostCanvas",{get:function(){return this._hostCanvas},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"svgCanvas",{get:function(){return this._svgCanvas},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionContainer",{get:function(){return this._selectionContainer},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"frameContainer",{get:function(){return this._frameContainer},enumerable:!1,configurable:!0}),t.prototype.getGridPosition=function(e,t){void 0===t&&(t=!1);var n=this.gridSize;return 0===n?e:t?n*Math.ceil(e/n):n*Math.floor(e/n)},t.prototype.getGridPositionCeil=function(e){var t=this.gridSize;return 0===t?e:t*Math.ceil(e/t)},t.prototype.updateTransform=function(){this._rootContainer.style.transform="translate("+this._x+"px, "+this._y+"px) scale("+this._zoom+")",i.DataStorage.ReadBoolean("ShowGrid",!0)?(this._hostCanvas.style.backgroundSize=this._gridSize*this._zoom+"px "+this._gridSize*this._zoom+"px",this._hostCanvas.style.backgroundPosition=this._x+"px "+this._y+"px"):this._hostCanvas.style.backgroundSize="0"},t.prototype.onKeyUp=function(){this._altKeyIsPressed=!1,this._ctrlKeyIsPressed=!1,this._oldY=-1},t.prototype.findNodeFromGuiElement=function(e){return this._guiNodes.filter((function(t){return t.guiControl===e}))[0]},t.prototype.reset=function(){for(var e=0,t=this._guiNodes;e<t.length;e++){t[e].dispose()}this._guiNodes=[],this._gridCanvas.innerHTML="",this._svgCanvas.innerHTML=""},t.prototype.appendBlock=function(e){var t=new C(this.props.globalState,e);return this._guiNodes.push(t),this.globalState.guiTexture.addControl(e),t},t.prototype.distributeGraph=function(){var e=this;this.x=0,this.y=0,this.zoom=1;var t=new I.graphlib.Graph;t.setGraph({}),t.setDefaultEdgeLabel((function(){return{}})),t.graph().rankdir="LR",this._guiNodes.forEach((function(e){t.setNode(e.id.toString(),{id:e.id,type:"node",width:e.width,height:e.height})})),I.layout(t),t.nodes().map((function(e){return t.node(e)})).forEach((function(t){if(t)if("node"!==t.type);else for(var n=0,r=e._guiNodes;n<r.length;n++){var o=r[n];if(o.id===t.id)return o.x=t.x-t.width/2,o.y=t.y-t.height/2,void o.cleanAccumulation()}}))},t.prototype.componentDidMount=function(){this._hostCanvas=this.props.globalState.hostDocument.getElementById("workbench-canvas"),this._rootContainer=this.props.globalState.hostDocument.getElementById("workbench-container"),this._gridCanvas=this.props.globalState.hostDocument.getElementById("workbench-canvas-container"),this._svgCanvas=this.props.globalState.hostDocument.getElementById("workbench-svg-container"),this._selectionContainer=this.props.globalState.hostDocument.getElementById("selection-container"),this._frameContainer=this.props.globalState.hostDocument.getElementById("frame-container"),this.gridSize=i.DataStorage.ReadNumber("GridSize",20),this.updateTransform()},t.prototype.onMove=function(e){if(this._selectionBox){var t=this.canvasContainer.getBoundingClientRect(),n=e.pageX-t.left,r=e.pageY-t.top;return n>this._selectionStartX?(this._selectionBox.style.left=this._selectionStartX/this.zoom+"px",this._selectionBox.style.width=(n-this._selectionStartX)/this.zoom+"px"):(this._selectionBox.style.left=n/this.zoom+"px",this._selectionBox.style.width=(this._selectionStartX-n)/this.zoom+"px"),r>this._selectionStartY?(this._selectionBox.style.top=this._selectionStartY/this.zoom+"px",this._selectionBox.style.height=(r-this._selectionStartY)/this.zoom+"px"):(this._selectionBox.style.top=r/this.zoom+"px",this._selectionBox.style.height=(this._selectionStartY-r)/this.zoom+"px"),void this.props.globalState.onSelectionBoxMoved.notifyObservers(this._selectionBox.getBoundingClientRect())}if(this._altKeyIsPressed&&1===e.buttons){this._oldY<0&&(this._oldY=e.pageY);var o=(e.pageY-this._oldY)/10;if(Math.abs(o)>5){var a=this.zoom;this.zoom=Math.max(Math.min(this.MaxZoom,this.zoom+o/100),this.MinZoom);var l=e.currentTarget.getBoundingClientRect(),u=l.width,s=u*this.zoom-u*a,c=(e.clientX-l.left-this.x)/a/u;this.x=this.x-s*c,this._oldY=e.pageY}}else if(null!=this._mouseStartPointX&&null!=this._mouseStartPointY){var f=this._mouseStartPointX,p=this._mouseStartPointY,d=!1;this.selectedGuiNodes.forEach((function(t){d=t._onMove(new i.Vector2(e.clientX,e.clientY),new i.Vector2(f,p))||d})),d||(this._rootContainer.style.cursor="move",this.x+=e.clientX-this._mouseStartPointX,this.y+=e.clientY-this._mouseStartPointY),this._mouseStartPointX=e.clientX,this._mouseStartPointY=e.clientY}},t.prototype.onDown=function(e){this._rootContainer.setPointerCapture(e.pointerId),console.log("workbench click"),this.isOverGUINode||(console.log("unclicked"),this.props.globalState.onSelectionChangedObservable.notifyObservers(null)),this._mouseStartPointX=e.clientX,this._mouseStartPointY=e.clientY},t.prototype.onUp=function(e){this._mouseStartPointX=null,this._mouseStartPointY=null,this._rootContainer.releasePointerCapture(e.pointerId),this._oldY=-1,this._selectionBox&&(this._selectionBox.parentElement.removeChild(this._selectionBox),this._selectionBox=null),this._frameCandidate&&(this._frameCandidate.parentElement.removeChild(this._frameCandidate),this._frameCandidate=null)},t.prototype.onWheel=function(e){var t=e.deltaY<0?.1:-.1,n=this.zoom;this.zoom=Math.min(Math.max(this.MinZoom,this.zoom+t*this.zoom),this.MaxZoom);var r=e.currentTarget.getBoundingClientRect(),o=r.width,i=r.height,a=o*this.zoom-o*n,l=i*this.zoom-i*n,u=e.clientX-r.left,s=e.clientY-r.top,c=(u-this.x)/n/o,f=(s-this.y)/n/i;this.x=this.x-a*c,this.y=this.y-l*f,e.stopPropagation()},t.prototype.zoomToFit=function(){var e=0,t=0;this._guiNodes.forEach((function(n){n.x<e&&(e=n.x),n.y<t&&(t=n.y)})),this._guiNodes.forEach((function(n){n.x+=-e,n.y+=-t,n.cleanAccumulation()}));var n=this._rootContainer.clientWidth/this._rootContainer.scrollWidth,r=this._rootContainer.clientHeight/this._rootContainer.scrollHeight,o=n<r?n:r;this.zoom=o,this.x=0,this.y=0},t.prototype.createGUICanvas=function(){var e=this,t=document.getElementById("workbench-canvas"),n=new i.Engine(t),r=new i.Scene(n);r.clearColor=new i.Color4(.2,.2,.3,.1),new i.FreeCamera("camera1",new i.Vector3(0,5,-10),r).setTarget(i.Vector3.Zero()),this.globalState.guiTexture=L.AdvancedDynamicTexture.CreateFullscreenUI("UI"),r.getEngine().onCanvasPointerOutObservable.clear(),window.addEventListener("resize",(function(){n.resize()})),n.runRenderLoop((function(){e.updateGUIs(),r.render()}))},t.prototype.updateGUIs=function(){this._guiNodes.forEach((function(e){e.updateVisual()}))},t.prototype.render=function(){var e=this;return r.createElement("canvas",{id:"workbench-canvas",onWheel:function(t){return e.onWheel(t)},onPointerMove:function(t){return e.onMove(t)},onPointerDown:function(t){return e.onDown(t)},onPointerUp:function(t){return e.onUp(t)}},r.createElement("div",{id:"workbench-container"},r.createElement("div",{id:"workbench-canvas-container"}),r.createElement("div",{id:"frame-container"}),r.createElement("svg",{id:"workbench-svg-container"}),r.createElement("div",{id:"selection-container"})))},t}(r.Component),R=function(e){function t(t){var n=e.call(this,t)||this;return n.state={message:"",isError:!1},n.props.globalState.onErrorMessageDialogRequiredObservable.add((function(e){n.setState({message:e,isError:!0})})),n}return u(t,e),t.prototype.render=function(){var e=this;return this.state.message?r.createElement("div",{className:"dialog-container"},r.createElement("div",{className:"dialog"},r.createElement("div",{className:"dialog-message"},this.state.message),r.createElement("div",{className:"dialog-buttons"},r.createElement("div",{className:"dialog-button-ok"+(this.state.isError?" error":""),onClick:function(){return e.setState({message:""})}},"OK")))):null},t}(r.Component);n(312);var M=function(e){function t(t){var n=e.call(this,t)||this;return n._leftWidth=i.DataStorage.ReadNumber("LeftWidth",200),n._rightWidth=i.DataStorage.ReadNumber("RightWidth",300),n._blocks=new Array,n.handlePopUp=function(){n.setState({showPreviewPopUp:!0}),n.props.globalState.hostWindow.addEventListener("beforeunload",n.handleClosingPopUp)},n.handleClosingPopUp=function(){n._popUpWindow.close()},n.createPopupWindow=function(e,t,r,o){void 0===r&&(r=500),void 0===o&&(o=500);var i={width:r,height:o,top:(n.props.globalState.hostWindow.innerHeight-r)/2+window.screenY,left:(n.props.globalState.hostWindow.innerWidth-o)/2+window.screenX},a=Object.keys(i).map((function(e){return e+"="+i[e]})).join(","),l=n.props.globalState.hostWindow.open("",e,a);if(!l)return null;var u=l.document;u.title=e,u.body.style.width="100%",u.body.style.height="100%",u.body.style.margin="0",u.body.style.padding="0";var s=u.createElement("div");return s.style.width="100%",s.style.height="100%",s.style.margin="0",s.style.padding="0",s.style.display="grid",s.style.gridTemplateRows="40px auto",s.id="gui-editor-workbench-root",s.className="right-panel",l.document.body.appendChild(s),n.copyStyles(n.props.globalState.hostWindow.document,u),n[t]=l,n._popUpWindow=l,l},n.copyStyles=function(e,t){for(var n=[],r=0;r<e.styleSheets.length;r++){var o=e.styleSheets[r];try{if(o.href){var i=e.createElement("link");i.rel="stylesheet",i.href=o.href,t.head.appendChild(i),n.push(i)}else if(o.cssRules){for(var a=e.createElement("style"),l=0,u=o.cssRules;l<u.length;l++){var s=u[l];a.appendChild(e.createTextNode(s.cssText))}t.head.appendChild(a),n.push(a)}}catch(e){console.log(e)}}},n.fixPopUpStyles=function(e){var t=e.getElementById("preview");t&&(t.style.height="auto",t.style.gridRow="1");var n=e.getElementById("preview-config-bar");n&&(n.style.gridRow="2");var r=e.getElementById("preview-new-window");r&&(r.style.display="none");var o=e.getElementById("preview-mesh-bar");o&&(o.style.gridTemplateColumns="auto 1fr 40px 40px")},n.state={showPreviewPopUp:!1},n.props.globalState.hostDocument.addEventListener("keydown",(function(e){if(46!==e.keyCode&&8!==e.keyCode||n.props.globalState.blockKeyboardEvents){if(e.ctrlKey&&!n.props.globalState.blockKeyboardEvents)if("c"===e.key){if(!(t=n._workbenchCanvas.selectedGuiNodes).length)return;if(!t[0].guiControl)return}else e.key}else{for(var t,r=0,o=t=n._workbenchCanvas.selectedGuiNodes;r<o.length;r++){o[r].dispose()}n.props.globalState.onSelectionChangedObservable.notifyObservers(null)}}),!1),n}return u(t,e),t.prototype.createNodeFromObject=function(e,t){if(void 0===t&&(t=!0),-1!==this._blocks.indexOf(e))return this._workbenchCanvas.nodes.filter((function(t){return t.guiControl===e}))[0];this._blocks.push(e);return null},t.prototype.componentDidMount=function(){this.props.globalState.hostDocument&&(this._workbenchCanvas=this.refs.graphCanvas),-1!==navigator.userAgent.indexOf("Mobile")&&((this.props.globalState.hostDocument||document).querySelector(".blocker").style.visibility="visible")},t.prototype.componentWillUnmount=function(){this.props.globalState.hostDocument&&this.props.globalState.hostDocument.removeEventListener("keyup",this._onWidgetKeyUpPointer,!1)},t.prototype.pasteSelection=function(e,t,n,r){void 0===r&&(r=!1);e=e.slice(),this.props.globalState.onSelectionChangedObservable.notifyObservers(null);for(var o=0,i=e;o<i.length;o++)i[o].guiControl;return[]},t.prototype.zoomToFit=function(){this._workbenchCanvas.zoomToFit()},t.prototype.showWaitScreen=function(){var e;null===(e=this.props.globalState.hostDocument.querySelector(".wait-screen"))||void 0===e||e.classList.remove("hidden")},t.prototype.hideWaitScreen=function(){var e;null===(e=this.props.globalState.hostDocument.querySelector(".wait-screen"))||void 0===e||e.classList.add("hidden")},t.prototype.reOrganize=function(e,t){var n=this;void 0===e&&(e=null),void 0===t&&(t=!1),this.showWaitScreen(),this._workbenchCanvas._isLoading=!0,setTimeout((function(){if(e&&e.locations)for(var t=0,r=e.locations;t<r.length;t++)for(var o=r[t],i=0,a=n._workbenchCanvas.nodes;i<a.length;i++){if((s=a[i]).guiControl&&s.guiControl.uniqueId===o.blockId){s.x=o.x,s.y=o.y,s.cleanAccumulation();break}}else n._workbenchCanvas.distributeGraph();n._workbenchCanvas._isLoading=!1;for(var l=0,u=n._workbenchCanvas.nodes;l<u.length;l++)var s=u[l];n.hideWaitScreen()}))},t.prototype.onPointerDown=function(e){this._startX=e.clientX,this._moveInProgress=!0,e.currentTarget.setPointerCapture(e.pointerId)},t.prototype.onPointerUp=function(e){this._moveInProgress=!1,e.currentTarget.releasePointerCapture(e.pointerId)},t.prototype.resizeColumns=function(e,t){if(void 0===t&&(t=!0),this._moveInProgress){var n=e.clientX-this._startX,r=e.currentTarget.ownerDocument.getElementById("workbench-editor-workbench-root");t?(this._leftWidth+=n,this._leftWidth=Math.max(150,Math.min(400,this._leftWidth)),i.DataStorage.WriteNumber("LeftWidth",this._leftWidth)):(this._rightWidth-=n,this._rightWidth=Math.max(250,Math.min(500,this._rightWidth)),i.DataStorage.WriteNumber("RightWidth",this._rightWidth),r.ownerDocument.getElementById("preview").style.height=this._rightWidth+"px"),r.style.gridTemplateColumns=this.buildColumnLayout(),this._startX=e.clientX}},t.prototype.buildColumnLayout=function(){return this._leftWidth+"px 4px calc(100% - "+(this._leftWidth+8+this._rightWidth)+"px) 4px "+this._rightWidth+"px"},t.prototype.emitNewBlock=function(e){var t=e.dataTransfer.getData("babylonjs-gui-node"),n=j.CreateControlFromString(t),r=this._workbenchCanvas.appendBlock(n);this.props.globalState.onSelectionChangedObservable.notifyObservers(null),this.props.globalState.onSelectionChangedObservable.notifyObservers(r),this.forceUpdate()},t.prototype.render=function(){var e=this;return r.createElement(P,{globalState:this.props.globalState},r.createElement("div",{id:"gui-editor-workbench-root",style:{gridTemplateColumns:this.buildColumnLayout()},onMouseMove:function(e){},onMouseDown:function(t){"INPUT"!==t.target.nodeName&&(e.props.globalState.blockKeyboardEvents=!1)}},r.createElement(d,{globalState:this.props.globalState}),r.createElement("div",{id:"leftGrab",onPointerDown:function(t){return e.onPointerDown(t)},onPointerUp:function(t){return e.onPointerUp(t)},onPointerMove:function(t){return e.resizeColumns(t)}}),r.createElement("div",{className:"diagram-container",onDrop:function(t){e.emitNewBlock(t)},onDragOver:function(e){e.preventDefault()}},r.createElement(z,{ref:"graphCanvas",globalState:this.props.globalState})),r.createElement("div",{id:"rightGrab",onPointerDown:function(t){return e.onPointerDown(t)},onPointerUp:function(t){return e.onPointerUp(t)},onPointerMove:function(t){return e.resizeColumns(t,!1)}}),r.createElement("div",{className:"right-panel"},r.createElement(N,{globalState:this.props.globalState})),r.createElement(O,{globalState:this.props.globalState})),r.createElement(R,{globalState:this.props.globalState}),r.createElement("div",{className:"blocker"},"Node Material Editor runs only on desktop"),r.createElement("div",{className:"wait-screen hidden"},"Processing...please wait"))},t}(r.Component),D=function(){function e(){}return e.CreatePopup=function(e,t,n,r){var o=this;void 0===n&&(n=300),void 0===r&&(r=800);var i={width:n,height:r,top:(window.innerHeight-n)/2+window.screenY,left:(window.innerWidth-r)/2+window.screenX},a=Object.keys(i).map((function(e){return e+"="+i[e]})).join(","),l=window.open("",e,a);if(!l)return null;var u=l.document,s=u.createElement("link");s.rel="stylesheet",s.href="https://use.typekit.net/cta4xsb.css",u.head.appendChild(s),u.title=e,u.body.style.width="100%",u.body.style.height="100%",u.body.style.margin="0",u.body.style.padding="0";var c=u.createElement("div");return c.style.width="100%",c.style.height="100%",c.style.margin="0",c.style.padding="0",l.document.body.appendChild(c),this._CopyStyles(window.document,u),setTimeout((function(){o._CopyStyles(window.document,u)}),0),this[t]=l,c},e._CopyStyles=function(e,t){for(var n=0;n<e.styleSheets.length;n++){var r=e.styleSheets[n];try{if(r.cssRules){for(var o=e.createElement("style"),i=0,a=r.cssRules;i<a.length;i++){var l=a[i];o.appendChild(e.createTextNode(l.cssText))}t.head.appendChild(o)}else if(r.href){var u=e.createElement("link");u.rel="stylesheet",u.href=r.href,t.head.appendChild(u)}}catch(e){console.log(e)}}},e}(),F=function(){function e(){}return e.Show=function(e){this._CurrentState&&((i=D["gui-editor"])&&i.close());var t=e.hostElement;t||(t=D.CreatePopup("BABYLON.JS GUI EDITOR","gui-editor",1e3,800));var n=new a;n.hostElement=t,n.hostDocument=t.ownerDocument,n.customSave=e.customSave,n.hostWindow=t.ownerDocument.defaultView;var i,l=r.createElement(M,{globalState:n});o.render(l,t),n.guiTexture||n.workbench.createGUICanvas(),e.customLoadObservable&&e.customLoadObservable.add((function(e){T.Deserialize(e,n),n.onResetRequiredObservable.notifyObservers(),n.onBuiltObservable.notifyObservers()})),this._CurrentState=n,(i=D["gui-editor"])&&(window.onbeforeunload=function(){var e=D["gui-editor"];e&&e.close()}),window.addEventListener("beforeunload",(function(){}))},e}()},function(e,t,n){"use strict";var r=n(6);e.exports=o;function o(e){this._isDirected=!r.has(e,"directed")||e.directed,this._isMultigraph=!!r.has(e,"multigraph")&&e.multigraph,this._isCompound=!!r.has(e,"compound")&&e.compound,this._label=void 0,this._defaultNodeLabelFn=r.constant(void 0),this._defaultEdgeLabelFn=r.constant(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children["\0"]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}function i(e,t){e[t]?e[t]++:e[t]=1}function a(e,t){--e[t]||delete e[t]}function l(e,t,n,o){var i=""+t,a=""+n;if(!e&&i>a){var l=i;i=a,a=l}return i+""+a+""+(r.isUndefined(o)?"\0":o)}function u(e,t,n,r){var o=""+t,i=""+n;if(!e&&o>i){var a=o;o=i,i=a}var l={v:o,w:i};return r&&(l.name=r),l}function s(e,t){return l(e,t.v,t.w,t.name)}o.prototype._nodeCount=0,o.prototype._edgeCount=0,o.prototype.isDirected=function(){return this._isDirected},o.prototype.isMultigraph=function(){return this._isMultigraph},o.prototype.isCompound=function(){return this._isCompound},o.prototype.setGraph=function(e){return this._label=e,this},o.prototype.graph=function(){return this._label},o.prototype.setDefaultNodeLabel=function(e){return r.isFunction(e)||(e=r.constant(e)),this._defaultNodeLabelFn=e,this},o.prototype.nodeCount=function(){return this._nodeCount},o.prototype.nodes=function(){return r.keys(this._nodes)},o.prototype.sources=function(){var e=this;return r.filter(this.nodes(),(function(t){return r.isEmpty(e._in[t])}))},o.prototype.sinks=function(){var e=this;return r.filter(this.nodes(),(function(t){return r.isEmpty(e._out[t])}))},o.prototype.setNodes=function(e,t){var n=arguments,o=this;return r.each(e,(function(e){n.length>1?o.setNode(e,t):o.setNode(e)})),this},o.prototype.setNode=function(e,t){return r.has(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=t),this):(this._nodes[e]=arguments.length>1?t:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]="\0",this._children[e]={},this._children["\0"][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)},o.prototype.node=function(e){return this._nodes[e]},o.prototype.hasNode=function(e){return r.has(this._nodes,e)},o.prototype.removeNode=function(e){var t=this;if(r.has(this._nodes,e)){var n=function(e){t.removeEdge(t._edgeObjs[e])};delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],r.each(this.children(e),(function(e){t.setParent(e)})),delete this._children[e]),r.each(r.keys(this._in[e]),n),delete this._in[e],delete this._preds[e],r.each(r.keys(this._out[e]),n),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this},o.prototype.setParent=function(e,t){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(r.isUndefined(t))t="\0";else{for(var n=t+="";!r.isUndefined(n);n=this.parent(n))if(n===e)throw new Error("Setting "+t+" as parent of "+e+" would create a cycle");this.setNode(t)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=t,this._children[t][e]=!0,this},o.prototype._removeFromParentsChildList=function(e){delete this._children[this._parent[e]][e]},o.prototype.parent=function(e){if(this._isCompound){var t=this._parent[e];if("\0"!==t)return t}},o.prototype.children=function(e){if(r.isUndefined(e)&&(e="\0"),this._isCompound){var t=this._children[e];if(t)return r.keys(t)}else{if("\0"===e)return this.nodes();if(this.hasNode(e))return[]}},o.prototype.predecessors=function(e){var t=this._preds[e];if(t)return r.keys(t)},o.prototype.successors=function(e){var t=this._sucs[e];if(t)return r.keys(t)},o.prototype.neighbors=function(e){var t=this.predecessors(e);if(t)return r.union(t,this.successors(e))},o.prototype.isLeaf=function(e){return 0===(this.isDirected()?this.successors(e):this.neighbors(e)).length},o.prototype.filterNodes=function(e){var t=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});t.setGraph(this.graph());var n=this;r.each(this._nodes,(function(n,r){e(r)&&t.setNode(r,n)})),r.each(this._edgeObjs,(function(e){t.hasNode(e.v)&&t.hasNode(e.w)&&t.setEdge(e,n.edge(e))}));var o={};return this._isCompound&&r.each(t.nodes(),(function(e){t.setParent(e,function e(r){var i=n.parent(r);return void 0===i||t.hasNode(i)?(o[r]=i,i):i in o?o[i]:e(i)}(e))})),t},o.prototype.setDefaultEdgeLabel=function(e){return r.isFunction(e)||(e=r.constant(e)),this._defaultEdgeLabelFn=e,this},o.prototype.edgeCount=function(){return this._edgeCount},o.prototype.edges=function(){return r.values(this._edgeObjs)},o.prototype.setPath=function(e,t){var n=this,o=arguments;return r.reduce(e,(function(e,r){return o.length>1?n.setEdge(e,r,t):n.setEdge(e,r),r})),this},o.prototype.setEdge=function(){var e,t,n,o,a=!1,s=arguments[0];"object"==typeof s&&null!==s&&"v"in s?(e=s.v,t=s.w,n=s.name,2===arguments.length&&(o=arguments[1],a=!0)):(e=s,t=arguments[1],n=arguments[3],arguments.length>2&&(o=arguments[2],a=!0)),e=""+e,t=""+t,r.isUndefined(n)||(n=""+n);var c=l(this._isDirected,e,t,n);if(r.has(this._edgeLabels,c))return a&&(this._edgeLabels[c]=o),this;if(!r.isUndefined(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(t),this._edgeLabels[c]=a?o:this._defaultEdgeLabelFn(e,t,n);var f=u(this._isDirected,e,t,n);return e=f.v,t=f.w,Object.freeze(f),this._edgeObjs[c]=f,i(this._preds[t],e),i(this._sucs[e],t),this._in[t][c]=f,this._out[e][c]=f,this._edgeCount++,this},o.prototype.edge=function(e,t,n){var r=1===arguments.length?s(this._isDirected,arguments[0]):l(this._isDirected,e,t,n);return this._edgeLabels[r]},o.prototype.hasEdge=function(e,t,n){var o=1===arguments.length?s(this._isDirected,arguments[0]):l(this._isDirected,e,t,n);return r.has(this._edgeLabels,o)},o.prototype.removeEdge=function(e,t,n){var r=1===arguments.length?s(this._isDirected,arguments[0]):l(this._isDirected,e,t,n),o=this._edgeObjs[r];return o&&(e=o.v,t=o.w,delete this._edgeLabels[r],delete this._edgeObjs[r],a(this._preds[t],e),a(this._sucs[e],t),delete this._in[t][r],delete this._out[e][r],this._edgeCount--),this},o.prototype.inEdges=function(e,t){var n=this._in[e];if(n){var o=r.values(n);return t?r.filter(o,(function(e){return e.v===t})):o}},o.prototype.outEdges=function(e,t){var n=this._out[e];if(n){var o=r.values(n);return t?r.filter(o,(function(e){return e.w===t})):o}},o.prototype.nodeEdges=function(e,t){var n=this.inEdges(e,t);if(n)return n.concat(this.outEdges(e,t))}},function(e,t,n){var r=n(14)(n(9),"Map");e.exports=r},function(e,t,n){var r=n(155),o=n(162),i=n(164),a=n(165),l=n(166);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=l,e.exports=u},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t,n){(function(e){var r=n(72),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,l=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=l}).call(this,n(54)(e))},function(e,t,n){var r=n(40),o=n(172),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},function(e,t,n){var r=n(79),o=n(80),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,l=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=l},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},function(e,t,n){var r=n(85);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},function(e,t){e.exports=function(e){return function(){return e}}},function(e,t,n){var r=n(63),o=n(13);e.exports=function(e,t){return e&&r(e,t,o)}},function(e,t,n){var r=n(191)();e.exports=r},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},function(e,t,n){var r=n(3),o=n(22),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},function(e,t,n){var r=n(59),o=n(225);e.exports=function e(t,n,i,a,l){var u=-1,s=t.length;for(i||(i=o),l||(l=[]);++u<s;){var c=t[u];n>0&&i(c)?n>1?e(c,n-1,i,a,l):r(l,c):a||(l[l.length]=c)}return l}},function(e,t,n){var r=n(22);e.exports=function(e,t,n){for(var o=-1,i=e.length;++o<i;){var a=e[o],l=t(a);if(null!=l&&(void 0===u?l==l&&!r(l):n(l,u)))var u=l,s=a}return s}},function(e,t,n){e.exports={graphlib:n(8),layout:n(249),debug:n(308),util:{time:n(5).time,notime:n(5).notime},version:n(309)}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";
- /*
- object-assign
- (c) Sindre Sorhus
- @license MIT
- */var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==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(e){return!1}}()?Object.assign:function(e,t){for(var n,l,u=a(e),s=1;s<arguments.length;s++){for(var c in n=Object(arguments[s]))o.call(n,c)&&(u[c]=n[c]);if(r){l=r(n);for(var f=0;f<l.length;f++)i.call(n,l[f])&&(u[l[f]]=n[l[f]])}}return u}},function(e,t,n){var r=n(31),o=n(53),i=n(36),a=n(167),l=n(173),u=n(77),s=n(78),c=n(176),f=n(177),p=n(82),d=n(178),h=n(21),g=n(182),m=n(183),v=n(87),b=n(3),y=n(20),x=n(187),w=n(7),k=n(189),E=n(13),_=n(16),S={};S["[object Arguments]"]=S["[object Array]"]=S["[object ArrayBuffer]"]=S["[object DataView]"]=S["[object Boolean]"]=S["[object Date]"]=S["[object Float32Array]"]=S["[object Float64Array]"]=S["[object Int8Array]"]=S["[object Int16Array]"]=S["[object Int32Array]"]=S["[object Map]"]=S["[object Number]"]=S["[object Object]"]=S["[object RegExp]"]=S["[object Set]"]=S["[object String]"]=S["[object Symbol]"]=S["[object Uint8Array]"]=S["[object Uint8ClampedArray]"]=S["[object Uint16Array]"]=S["[object Uint32Array]"]=!0,S["[object Error]"]=S["[object Function]"]=S["[object WeakMap]"]=!1,e.exports=function e(t,n,C,T,N,P){var O,L=1&n,j=2&n,I=4&n;if(C&&(O=N?C(t,T,N,P):C(t)),void 0!==O)return O;if(!w(t))return t;var z=b(t);if(z){if(O=g(t),!L)return s(t,O)}else{var R=h(t),M="[object Function]"==R||"[object GeneratorFunction]"==R;if(y(t))return u(t,L);if("[object Object]"==R||"[object Arguments]"==R||M&&!N){if(O=j||M?{}:v(t),!L)return j?f(t,l(O,t)):c(t,a(O,t))}else{if(!S[R])return N?t:{};O=m(t,R,L)}}P||(P=new r);var D=P.get(t);if(D)return D;P.set(t,O),k(t)?t.forEach((function(r){O.add(e(r,n,C,r,t,P))})):x(t)&&t.forEach((function(r,o){O.set(o,e(r,n,C,o,t,P))}));var F=z?void 0:(I?j?d:p:j?_:E)(t);return o(F||t,(function(r,o){F&&(r=t[o=r]),i(O,o,e(r,n,C,o,t,P))})),O}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(69))},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){var r=n(14),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t,n){var r=n(168),o=n(28),i=n(3),a=n(20),l=n(38),u=n(29),s=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),c=!n&&o(e),f=!n&&!c&&a(e),p=!n&&!c&&!f&&u(e),d=n||c||f||p,h=d?r(e.length,String):[],g=h.length;for(var m in e)!t&&!s.call(e,m)||d&&("length"==m||f&&("offset"==m||"parent"==m)||p&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||l(m,g))||h.push(m);return h}},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){(function(e){var r=n(9),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,l=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=l?l(n):new e.constructor(n);return e.copy(r),r}}).call(this,n(54)(e))},function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},function(e,t){e.exports=function(){return[]}},function(e,t,n){var r=n(59),o=n(41),i=n(58),a=n(80),l=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=l},function(e,t,n){var r=n(83),o=n(58),i=n(13);e.exports=function(e){return r(e,i,o)}},function(e,t,n){var r=n(59),o=n(3);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},function(e,t,n){var r=n(14)(n(9),"Set");e.exports=r},function(e,t,n){var r=n(9).Uint8Array;e.exports=r},function(e,t,n){var r=n(60);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},function(e,t,n){var r=n(88),o=n(41),i=n(40);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},function(e,t,n){var r=n(7),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},function(e,t,n){e.exports=n(90)},function(e,t,n){var r=n(53),o=n(42),i=n(91),a=n(3);e.exports=function(e,t){return(a(e)?r:o)(e,i(t))}},function(e,t,n){var r=n(17);e.exports=function(e){return"function"==typeof e?e:r}},function(e,t,n){var r=n(79),o=n(193),i=n(12),a=n(3);e.exports=function(e,t){return(a(e)?r:o)(e,i(t,3))}},function(e,t,n){var r=n(196),o=n(10);e.exports=function e(t,n,i,a,l){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,i,a,e,l))}},function(e,t,n){var r=n(95),o=n(199),i=n(96);e.exports=function(e,t,n,a,l,u){var s=1&n,c=e.length,f=t.length;if(c!=f&&!(s&&f>c))return!1;var p=u.get(e),d=u.get(t);if(p&&d)return p==t&&d==e;var h=-1,g=!0,m=2&n?new r:void 0;for(u.set(e,t),u.set(t,e);++h<c;){var v=e[h],b=t[h];if(a)var y=s?a(b,v,h,t,e,u):a(v,b,h,e,t,u);if(void 0!==y){if(y)continue;g=!1;break}if(m){if(!o(t,(function(e,t){if(!i(m,t)&&(v===e||l(v,e,n,a,u)))return m.push(t)}))){g=!1;break}}else if(v!==b&&!l(v,b,n,a,u)){g=!1;break}}return u.delete(e),u.delete(t),g}},function(e,t,n){var r=n(52),o=n(197),i=n(198);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,n){var r=n(7);e.exports=function(e){return e==e&&!r(e)}},function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},function(e,t,n){var r=n(209);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){var r=n(210),o=n(101);e.exports=function(e,t){return null!=e&&o(e,t,r)}},function(e,t,n){var r=n(44),o=n(28),i=n(3),a=n(38),l=n(55),u=n(30);e.exports=function(e,t,n){for(var s=-1,c=(t=r(t,e)).length,f=!1;++s<c;){var p=u(t[s]);if(!(f=null!=e&&n(e,p)))break;e=e[p]}return f||++s!=c?f:!!(c=null==e?0:e.length)&&l(c)&&a(p,c)&&(i(e)||o(e))}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,n){var r=n(213),o=n(101);e.exports=function(e,t){return null!=e&&o(e,t,r)}},function(e,t){e.exports=function(e){return void 0===e}},function(e,t,n){var r=n(45),o=n(12),i=n(106),a=n(3);e.exports=function(e,t){return(a(e)?r:i)(e,o(t,3))}},function(e,t,n){var r=n(42),o=n(11);e.exports=function(e,t){var n=-1,i=o(e)?Array(e.length):[];return r(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}},function(e,t,n){var r=n(215),o=n(42),i=n(12),a=n(216),l=n(3);e.exports=function(e,t,n){var u=l(e)?r:a,s=arguments.length<3;return u(e,i(t,4),n,s,o)}},function(e,t,n){var r=n(226),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,l=o(i.length-t,0),u=Array(l);++a<l;)u[a]=i[t+a];a=-1;for(var s=Array(t+1);++a<t;)s[a]=i[a];return s[t]=n(u),r(e,this,s)}}},function(e,t,n){var r=n(227),o=n(228)(r);e.exports=o},function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},function(e,t,n){var r=n(11),o=n(10);e.exports=function(e){return o(e)&&r(e)}},function(e,t,n){var r=n(237),o=n(13);e.exports=function(e){return null==e?[]:r(e,o(e))}},function(e,t,n){var r=n(6),o=n(114);e.exports=function(e,t,n,r){return function(e,t,n,r){var i,a,l={},u=new o,s=function(e){var t=e.v!==i?e.v:e.w,r=l[t],o=n(e),s=a.distance+o;if(o<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+e+" Weight: "+o);s<r.distance&&(r.distance=s,r.predecessor=i,u.decrease(t,s))};e.nodes().forEach((function(e){var n=e===t?0:Number.POSITIVE_INFINITY;l[e]={distance:n},u.add(e,n)}));for(;u.size()>0&&(i=u.removeMin(),(a=l[i]).distance!==Number.POSITIVE_INFINITY);)r(i).forEach(s);return l}(e,String(t),n||i,r||function(t){return e.outEdges(t)})};var i=r.constant(1)},function(e,t,n){var r=n(6);function o(){this._arr=[],this._keyIndices={}}e.exports=o,o.prototype.size=function(){return this._arr.length},o.prototype.keys=function(){return this._arr.map((function(e){return e.key}))},o.prototype.has=function(e){return r.has(this._keyIndices,e)},o.prototype.priority=function(e){var t=this._keyIndices[e];if(void 0!==t)return this._arr[t].priority},o.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},o.prototype.add=function(e,t){var n=this._keyIndices;if(e=String(e),!r.has(n,e)){var o=this._arr,i=o.length;return n[e]=i,o.push({key:e,priority:t}),this._decrease(i),!0}return!1},o.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var e=this._arr.pop();return delete this._keyIndices[e.key],this._heapify(0),e.key},o.prototype.decrease=function(e,t){var n=this._keyIndices[e];if(t>this._arr[n].priority)throw new Error("New priority is greater than current priority. Key: "+e+" Old: "+this._arr[n].priority+" New: "+t);this._arr[n].priority=t,this._decrease(n)},o.prototype._heapify=function(e){var t=this._arr,n=2*e,r=n+1,o=e;n<t.length&&(o=t[n].priority<t[o].priority?n:o,r<t.length&&(o=t[r].priority<t[o].priority?r:o),o!==e&&(this._swap(e,o),this._heapify(o)))},o.prototype._decrease=function(e){for(var t,n=this._arr,r=n[e].priority;0!==e&&!(n[t=e>>1].priority<r);)this._swap(e,t),e=t},o.prototype._swap=function(e,t){var n=this._arr,r=this._keyIndices,o=n[e],i=n[t];n[e]=i,n[t]=o,r[i.key]=e,r[o.key]=t}},function(e,t,n){var r=n(6);e.exports=function(e){var t=0,n=[],o={},i=[];return e.nodes().forEach((function(a){r.has(o,a)||function a(l){var u=o[l]={onStack:!0,lowlink:t,index:t++};if(n.push(l),e.successors(l).forEach((function(e){r.has(o,e)?o[e].onStack&&(u.lowlink=Math.min(u.lowlink,o[e].index)):(a(e),u.lowlink=Math.min(u.lowlink,o[e].lowlink))})),u.lowlink===u.index){var s,c=[];do{s=n.pop(),o[s].onStack=!1,c.push(s)}while(l!==s);i.push(c)}}(a)})),i}},function(e,t,n){var r=n(6);function o(e){var t={},n={},o=[];if(r.each(e.sinks(),(function a(l){if(r.has(n,l))throw new i;r.has(t,l)||(n[l]=!0,t[l]=!0,r.each(e.predecessors(l),a),delete n[l],o.push(l))})),r.size(t)!==e.nodeCount())throw new i;return o}function i(){}e.exports=o,o.CycleException=i,i.prototype=new Error},function(e,t,n){var r=n(6);e.exports=function(e,t,n){r.isArray(t)||(t=[t]);var o=(e.isDirected()?e.successors:e.neighbors).bind(e),i=[],a={};return r.each(t,(function(t){if(!e.hasNode(t))throw new Error("Graph does not have node: "+t);!function e(t,n,o,i,a,l){r.has(i,n)||(i[n]=!0,o||l.push(n),r.each(a(n),(function(n){e(t,n,o,i,a,l)})),o&&l.push(n))}(e,t,"post"===n,a,o,i)})),i}},function(e,t,n){var r=n(256);e.exports=function(e){return e?(e=r(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},function(e,t,n){var r=n(66);e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},function(e,t,n){var r=n(37),o=n(18);e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},function(e,t){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},function(e,t){e.exports=function(e,t){return e<t}},function(e,t,n){"use strict";var r=n(2),o=n(8).Graph,i=n(48).slack;function a(e,t){return r.forEach(e.nodes(),(function n(o){r.forEach(t.nodeEdges(o),(function(r){var a=r.v,l=o===a?r.w:a;e.hasNode(l)||i(t,r)||(e.setNode(l,{}),e.setEdge(o,l,{}),n(l))}))})),e.nodeCount()}function l(e,t){return r.minBy(t.edges(),(function(n){if(e.hasNode(n.v)!==e.hasNode(n.w))return i(t,n)}))}function u(e,t,n){r.forEach(e.nodes(),(function(e){t.node(e).rank+=n}))}e.exports=function(e){var t,n,r=new o({directed:!1}),s=e.nodes()[0],c=e.nodeCount();r.setNode(s,{});for(;a(r,e)<c;)t=l(r,e),n=r.hasNode(t.v)?i(e,t):-i(e,t),u(r,e,n);return r}},function(e,t,n){"use strict";n.r(t),function(e){var r=n(49);n.d(t,"GUIEditor",(function(){return r.a}));var o=void 0!==e?e:"undefined"!=typeof window?window:void 0;void 0!==o&&(o.BABYLON=o.BABYLON||{},o.BABYLON.GuiEditor=r.a)}.call(this,n(69))},function(e,t,n){"use strict";
- /** @license React v16.13.1
- * react.production.min.js
- *
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */var r=n(70),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,l=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,c=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.forward_ref"):60112,d=o?Symbol.for("react.suspense"):60113,h=o?Symbol.for("react.memo"):60115,g=o?Symbol.for("react.lazy"):60116,m="function"==typeof Symbol&&Symbol.iterator;function v(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y={};function x(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||b}function w(){}function k(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||b}x.prototype.isReactComponent={},x.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(v(85));this.updater.enqueueSetState(this,e,t,"setState")},x.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=x.prototype;var E=k.prototype=new w;E.constructor=k,r(E,x.prototype),E.isPureReactComponent=!0;var _={current:null},S=Object.prototype.hasOwnProperty,C={key:!0,ref:!0,__self:!0,__source:!0};function T(e,t,n){var r,o={},a=null,l=null;if(null!=t)for(r in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(a=""+t.key),t)S.call(t,r)&&!C.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];o.children=s}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===o[r]&&(o[r]=u[r]);return{$$typeof:i,type:e,key:a,ref:l,props:o,_owner:_.current}}function N(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var P=/\/+/g,O=[];function L(e,t,n,r){if(O.length){var o=O.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function j(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>O.length&&O.push(e)}function I(e,t,n){return null==e?0:function e(t,n,r,o){var l=typeof t;"undefined"!==l&&"boolean"!==l||(t=null);var u=!1;if(null===t)u=!0;else switch(l){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case i:case a:u=!0}}if(u)return r(o,t,""===n?"."+z(t,0):n),1;if(u=0,n=""===n?".":n+":",Array.isArray(t))for(var s=0;s<t.length;s++){var c=n+z(l=t[s],s);u+=e(l,c,r,o)}else if(null===t||"object"!=typeof t?c=null:c="function"==typeof(c=m&&t[m]||t["@@iterator"])?c:null,"function"==typeof c)for(t=c.call(t),s=0;!(l=t.next()).done;)u+=e(l=l.value,c=n+z(l,s++),r,o);else if("object"===l)throw r=""+t,Error(v(31,"[object Object]"===r?"object with keys {"+Object.keys(t).join(", ")+"}":r,""));return u}(e,"",t,n)}function z(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function R(e,t){e.func.call(e.context,t,e.count++)}function M(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?D(e,r,n,(function(e){return e})):null!=e&&(N(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(P,"$&/")+"/")+n)),r.push(e))}function D(e,t,n,r,o){var i="";null!=n&&(i=(""+n).replace(P,"$&/")+"/"),I(e,M,t=L(t,i,r,o)),j(t)}var F={current:null};function B(){var e=F.current;if(null===e)throw Error(v(321));return e}var A={ReactCurrentDispatcher:F,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:_,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return D(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;I(e,R,t=L(null,null,t,n)),j(t)},count:function(e){return I(e,(function(){return null}),null)},toArray:function(e){var t=[];return D(e,t,null,(function(e){return e})),t},only:function(e){if(!N(e))throw Error(v(143));return e}},t.Component=x,t.Fragment=l,t.Profiler=s,t.PureComponent=k,t.StrictMode=u,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=A,t.cloneElement=function(e,t,n){if(null==e)throw Error(v(267,e));var o=r({},e.props),a=e.key,l=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(l=t.ref,u=_.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(c in t)S.call(t,c)&&!C.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==s?s[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=n;else if(1<c){s=Array(c);for(var f=0;f<c;f++)s[f]=arguments[f+2];o.children=s}return{$$typeof:i,type:e.type,key:a,ref:l,props:o,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=T,t.createFactory=function(e){var t=T.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:p,render:e}},t.isValidElement=N,t.lazy=function(e){return{$$typeof:g,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return B().useCallback(e,t)},t.useContext=function(e,t){return B().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return B().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return B().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return B().useLayoutEffect(e,t)},t.useMemo=function(e,t){return B().useMemo(e,t)},t.useReducer=function(e,t,n){return B().useReducer(e,t,n)},t.useRef=function(e){return B().useRef(e)},t.useState=function(e){return B().useState(e)},t.version="16.13.1"},function(e,t,n){"use strict";
- /** @license React v16.13.1
- * react-dom.production.min.js
- *
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */var r=n(0),o=n(70),i=n(127);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));function l(e,t,n,r,o,i,a,l,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(e){this.onError(e)}}var u=!1,s=null,c=!1,f=null,p={onError:function(e){u=!0,s=e}};function d(e,t,n,r,o,i,a,c,f){u=!1,s=null,l.apply(p,arguments)}var h=null,g=null,m=null;function v(e,t,n){var r=e.type||"unknown-event";e.currentTarget=m(n),function(e,t,n,r,o,i,l,p,h){if(d.apply(this,arguments),u){if(!u)throw Error(a(198));var g=s;u=!1,s=null,c||(c=!0,f=g)}}(r,t,void 0,e),e.currentTarget=null}var b=null,y={};function x(){if(b)for(var e in y){var t=y[e],n=b.indexOf(e);if(!(-1<n))throw Error(a(96,e));if(!k[n]){if(!t.extractEvents)throw Error(a(97,e));for(var r in k[n]=t,n=t.eventTypes){var o=void 0,i=n[r],l=t,u=r;if(E.hasOwnProperty(u))throw Error(a(99,u));E[u]=i;var s=i.phasedRegistrationNames;if(s){for(o in s)s.hasOwnProperty(o)&&w(s[o],l,u);o=!0}else i.registrationName?(w(i.registrationName,l,u),o=!0):o=!1;if(!o)throw Error(a(98,r,e))}}}}function w(e,t,n){if(_[e])throw Error(a(100,e));_[e]=t,S[e]=t.eventTypes[n].dependencies}var k=[],E={},_={},S={};function C(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!y.hasOwnProperty(t)||y[t]!==r){if(y[t])throw Error(a(102,t));y[t]=r,n=!0}}n&&x()}var T=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),N=null,P=null,O=null;function L(e){if(e=g(e)){if("function"!=typeof N)throw Error(a(280));var t=e.stateNode;t&&(t=h(t),N(e.stateNode,e.type,t))}}function j(e){P?O?O.push(e):O=[e]:P=e}function I(){if(P){var e=P,t=O;if(O=P=null,L(e),t)for(e=0;e<t.length;e++)L(t[e])}}function z(e,t){return e(t)}function R(e,t,n,r,o){return e(t,n,r,o)}function M(){}var D=z,F=!1,B=!1;function A(){null===P&&null===O||(M(),I())}function U(e,t,n){if(B)return e(t,n);B=!0;try{return D(e,t,n)}finally{B=!1,A()}}var V=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,W=Object.prototype.hasOwnProperty,G={},q={};function $(e,t,n,r,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i}var Y={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){Y[e]=new $(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];Y[t]=new $(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){Y[e]=new $(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){Y[e]=new $(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){Y[e]=new $(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){Y[e]=new $(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){Y[e]=new $(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){Y[e]=new $(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){Y[e]=new $(e,5,!1,e.toLowerCase(),null,!1)}));var H=/[\-:]([a-z])/g;function K(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(H,K);Y[t]=new $(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(H,K);Y[t]=new $(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(H,K);Y[t]=new $(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){Y[e]=new $(e,1,!1,e.toLowerCase(),null,!1)})),Y.xlinkHref=new $("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){Y[e]=new $(e,1,!1,e.toLowerCase(),null,!0)}));var Q=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function X(e,t,n,r){var o=Y.hasOwnProperty(t)?Y[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!W.call(q,e)||!W.call(G,e)&&(V.test(e)?q[e]=!0:(G[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}Q.hasOwnProperty("ReactCurrentDispatcher")||(Q.ReactCurrentDispatcher={current:null}),Q.hasOwnProperty("ReactCurrentBatchConfig")||(Q.ReactCurrentBatchConfig={suspense:null});var Z=/^(.*)[\\\/]/,J="function"==typeof Symbol&&Symbol.for,ee=J?Symbol.for("react.element"):60103,te=J?Symbol.for("react.portal"):60106,ne=J?Symbol.for("react.fragment"):60107,re=J?Symbol.for("react.strict_mode"):60108,oe=J?Symbol.for("react.profiler"):60114,ie=J?Symbol.for("react.provider"):60109,ae=J?Symbol.for("react.context"):60110,le=J?Symbol.for("react.concurrent_mode"):60111,ue=J?Symbol.for("react.forward_ref"):60112,se=J?Symbol.for("react.suspense"):60113,ce=J?Symbol.for("react.suspense_list"):60120,fe=J?Symbol.for("react.memo"):60115,pe=J?Symbol.for("react.lazy"):60116,de=J?Symbol.for("react.block"):60121,he="function"==typeof Symbol&&Symbol.iterator;function ge(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=he&&e[he]||e["@@iterator"])?e:null}function me(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case ne:return"Fragment";case te:return"Portal";case oe:return"Profiler";case re:return"StrictMode";case se:return"Suspense";case ce:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ae:return"Context.Consumer";case ie:return"Context.Provider";case ue:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case fe:return me(e.type);case de:return me(e.render);case pe:if(e=1===e._status?e._result:null)return me(e)}return null}function ve(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,o=e._debugSource,i=me(e.type);n=null,r&&(n=me(r.type)),r=i,i="",o?i=" (at "+o.fileName.replace(Z,"")+":"+o.lineNumber+")":n&&(i=" (created by "+n+")"),n="\n in "+(r||"Unknown")+i}t+=n,e=e.return}while(e);return t}function be(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function ye(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function xe(e){e._valueTracker||(e._valueTracker=function(e){var t=ye(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function we(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ye(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function ke(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=be(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function _e(e,t){null!=(t=t.checked)&&X(e,"checked",t,!1)}function Se(e,t){_e(e,t);var n=be(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Te(e,t.type,n):t.hasOwnProperty("defaultValue")&&Te(e,t.type,be(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Ce(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Te(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Ne(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Pe(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+be(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function Oe(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Le(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:be(n)}}function je(e,t){var n=be(t.value),r=be(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var ze="http://www.w3.org/1999/xhtml",Re="http://www.w3.org/2000/svg";function Me(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function De(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Me(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Fe,Be=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==Re||"innerHTML"in e)e.innerHTML=t;else{for((Fe=Fe||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Fe.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function Ae(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function Ue(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ve={animationend:Ue("Animation","AnimationEnd"),animationiteration:Ue("Animation","AnimationIteration"),animationstart:Ue("Animation","AnimationStart"),transitionend:Ue("Transition","TransitionEnd")},We={},Ge={};function qe(e){if(We[e])return We[e];if(!Ve[e])return e;var t,n=Ve[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ge)return We[e]=n[t];return e}T&&(Ge=document.createElement("div").style,"AnimationEvent"in window||(delete Ve.animationend.animation,delete Ve.animationiteration.animation,delete Ve.animationstart.animation),"TransitionEvent"in window||delete Ve.transitionend.transition);var $e=qe("animationend"),Ye=qe("animationiteration"),He=qe("animationstart"),Ke=qe("transitionend"),Qe="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Xe=new("function"==typeof WeakMap?WeakMap:Map);function Ze(e){var t=Xe.get(e);return void 0===t&&(t=new Map,Xe.set(e,t)),t}function Je(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function et(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function tt(e){if(Je(e)!==e)throw Error(a(188))}function nt(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Je(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return tt(o),e;if(i===r)return tt(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var l=!1,u=o.child;u;){if(u===n){l=!0,n=o,r=i;break}if(u===r){l=!0,r=o,n=i;break}u=u.sibling}if(!l){for(u=i.child;u;){if(u===n){l=!0,n=i,r=o;break}if(u===r){l=!0,r=i,n=o;break}u=u.sibling}if(!l)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function rt(e,t){if(null==t)throw Error(a(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function ot(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var it=null;function at(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)v(e,t[r],n[r]);else t&&v(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function lt(e){if(null!==e&&(it=rt(it,e)),e=it,it=null,e){if(ot(e,at),it)throw Error(a(95));if(c)throw e=f,c=!1,f=null,e}}function ut(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function st(e){if(!T)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var ct=[];function ft(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>ct.length&&ct.push(e)}function pt(e,t,n,r){if(ct.length){var o=ct.pop();return o.topLevelType=e,o.eventSystemFlags=r,o.nativeEvent=t,o.targetInst=n,o}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function dt(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=Tn(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var o=ut(e.nativeEvent);r=e.topLevelType;var i=e.nativeEvent,a=e.eventSystemFlags;0===n&&(a|=64);for(var l=null,u=0;u<k.length;u++){var s=k[u];s&&(s=s.extractEvents(r,t,i,o,a))&&(l=rt(l,s))}lt(l)}}function ht(e,t,n){if(!n.has(e)){switch(e){case"scroll":Ht(t,"scroll",!0);break;case"focus":case"blur":Ht(t,"focus",!0),Ht(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":st(e)&&Ht(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Qe.indexOf(e)&&Yt(e,t)}n.set(e,null)}}var gt,mt,vt,bt=!1,yt=[],xt=null,wt=null,kt=null,Et=new Map,_t=new Map,St=[],Ct="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),Tt="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Nt(e,t,n,r,o){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:o,container:r}}function Pt(e,t){switch(e){case"focus":case"blur":xt=null;break;case"dragenter":case"dragleave":wt=null;break;case"mouseover":case"mouseout":kt=null;break;case"pointerover":case"pointerout":Et.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":_t.delete(t.pointerId)}}function Ot(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e=Nt(t,n,r,o,i),null!==t&&(null!==(t=Nn(t))&&mt(t)),e):(e.eventSystemFlags|=r,e)}function Lt(e){var t=Tn(e.target);if(null!==t){var n=Je(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=et(n)))return e.blockedOn=t,void i.unstable_runWithPriority(e.priority,(function(){vt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function jt(e){if(null!==e.blockedOn)return!1;var t=Zt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=Nn(t);return null!==n&&mt(n),e.blockedOn=t,!1}return!0}function It(e,t,n){jt(e)&&n.delete(t)}function zt(){for(bt=!1;0<yt.length;){var e=yt[0];if(null!==e.blockedOn){null!==(e=Nn(e.blockedOn))&>(e);break}var t=Zt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:yt.shift()}null!==xt&&jt(xt)&&(xt=null),null!==wt&&jt(wt)&&(wt=null),null!==kt&&jt(kt)&&(kt=null),Et.forEach(It),_t.forEach(It)}function Rt(e,t){e.blockedOn===t&&(e.blockedOn=null,bt||(bt=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,zt)))}function Mt(e){function t(t){return Rt(t,e)}if(0<yt.length){Rt(yt[0],e);for(var n=1;n<yt.length;n++){var r=yt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==xt&&Rt(xt,e),null!==wt&&Rt(wt,e),null!==kt&&Rt(kt,e),Et.forEach(t),_t.forEach(t),n=0;n<St.length;n++)(r=St[n]).blockedOn===e&&(r.blockedOn=null);for(;0<St.length&&null===(n=St[0]).blockedOn;)Lt(n),null===n.blockedOn&&St.shift()}var Dt={},Ft=new Map,Bt=new Map,At=["abort","abort",$e,"animationEnd",Ye,"animationIteration",He,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Ke,"transitionEnd","waiting","waiting"];function Ut(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1],i="on"+(o[0].toUpperCase()+o.slice(1));i={phasedRegistrationNames:{bubbled:i,captured:i+"Capture"},dependencies:[r],eventPriority:t},Bt.set(r,t),Ft.set(r,i),Dt[o]=i}}Ut("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Ut("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Ut(At,2);for(var Vt="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Wt=0;Wt<Vt.length;Wt++)Bt.set(Vt[Wt],0);var Gt=i.unstable_UserBlockingPriority,qt=i.unstable_runWithPriority,$t=!0;function Yt(e,t){Ht(t,e,!1)}function Ht(e,t,n){var r=Bt.get(t);switch(void 0===r?2:r){case 0:r=Kt.bind(null,t,1,e);break;case 1:r=Qt.bind(null,t,1,e);break;default:r=Xt.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Kt(e,t,n,r){F||M();var o=Xt,i=F;F=!0;try{R(o,e,t,n,r)}finally{(F=i)||A()}}function Qt(e,t,n,r){qt(Gt,Xt.bind(null,e,t,n,r))}function Xt(e,t,n,r){if($t)if(0<yt.length&&-1<Ct.indexOf(e))e=Nt(null,e,t,n,r),yt.push(e);else{var o=Zt(e,t,n,r);if(null===o)Pt(e,r);else if(-1<Ct.indexOf(e))e=Nt(o,e,t,n,r),yt.push(e);else if(!function(e,t,n,r,o){switch(t){case"focus":return xt=Ot(xt,e,t,n,r,o),!0;case"dragenter":return wt=Ot(wt,e,t,n,r,o),!0;case"mouseover":return kt=Ot(kt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Et.set(i,Ot(Et.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,_t.set(i,Ot(_t.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r)){Pt(e,r),e=pt(e,r,null,t);try{U(dt,e)}finally{ft(e)}}}}function Zt(e,t,n,r){if(null!==(n=Tn(n=ut(r)))){var o=Je(n);if(null===o)n=null;else{var i=o.tag;if(13===i){if(null!==(n=et(o)))return n;n=null}else if(3===i){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;n=null}else o!==n&&(n=null)}}e=pt(e,r,n,t);try{U(dt,e)}finally{ft(e)}return null}var Jt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},en=["Webkit","ms","Moz","O"];function tn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Jt.hasOwnProperty(e)&&Jt[e]?(""+t).trim():t+"px"}function nn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=tn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(Jt).forEach((function(e){en.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Jt[t]=Jt[e]}))}));var rn=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function on(e,t){if(t){if(rn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62,""))}}function an(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ln=ze;function un(e,t){var n=Ze(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=S[t];for(var r=0;r<t.length;r++)ht(t[r],e,n)}function sn(){}function cn(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function fn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pn(e,t){var n,r=fn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=fn(r)}}function dn(){for(var e=window,t=cn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=cn((e=t.contentWindow).document)}return t}function hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var gn=null,mn=null;function vn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function bn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var yn="function"==typeof setTimeout?setTimeout:void 0,xn="function"==typeof clearTimeout?clearTimeout:void 0;function wn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function kn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var En=Math.random().toString(36).slice(2),_n="__reactInternalInstance$"+En,Sn="__reactEventHandlers$"+En,Cn="__reactContainere$"+En;function Tn(e){var t=e[_n];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Cn]||n[_n]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=kn(e);null!==e;){if(n=e[_n])return n;e=kn(e)}return t}n=(e=n).parentNode}return null}function Nn(e){return!(e=e[_n]||e[Cn])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Pn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function On(e){return e[Sn]||null}function Ln(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function jn(e,t){var n=e.stateNode;if(!n)return null;var r=h(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}function In(e,t,n){(t=jn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function zn(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Ln(t);for(t=n.length;0<t--;)In(n[t],"captured",e);for(t=0;t<n.length;t++)In(n[t],"bubbled",e)}}function Rn(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=jn(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function Mn(e){e&&e.dispatchConfig.registrationName&&Rn(e._targetInst,null,e)}function Dn(e){ot(e,zn)}var Fn=null,Bn=null,An=null;function Un(){if(An)return An;var e,t,n=Bn,r=n.length,o="value"in Fn?Fn.value:Fn.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return An=o.slice(e,1<t?1-t:void 0)}function Vn(){return!0}function Wn(){return!1}function Gn(e,t,n,r){for(var o in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(o)&&((t=e[o])?this[o]=t(n):"target"===o?this.target=r:this[o]=n[o]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Vn:Wn,this.isPropagationStopped=Wn,this}function qn(e,t,n,r){if(this.eventPool.length){var o=this.eventPool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)}function $n(e){if(!(e instanceof this))throw Error(a(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function Yn(e){e.eventPool=[],e.getPooled=qn,e.release=$n}o(Gn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Vn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Vn)},persist:function(){this.isPersistent=Vn},isPersistent:Wn,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Wn,this._dispatchInstances=this._dispatchListeners=null}}),Gn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Gn.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var i=new t;return o(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=o({},r.Interface,e),n.extend=r.extend,Yn(n),n},Yn(Gn);var Hn=Gn.extend({data:null}),Kn=Gn.extend({data:null}),Qn=[9,13,27,32],Xn=T&&"CompositionEvent"in window,Zn=null;T&&"documentMode"in document&&(Zn=document.documentMode);var Jn=T&&"TextEvent"in window&&!Zn,er=T&&(!Xn||Zn&&8<Zn&&11>=Zn),tr=String.fromCharCode(32),nr={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},rr=!1;function or(e,t){switch(e){case"keyup":return-1!==Qn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function ir(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ar=!1;var lr={eventTypes:nr,extractEvents:function(e,t,n,r){var o;if(Xn)e:{switch(e){case"compositionstart":var i=nr.compositionStart;break e;case"compositionend":i=nr.compositionEnd;break e;case"compositionupdate":i=nr.compositionUpdate;break e}i=void 0}else ar?or(e,n)&&(i=nr.compositionEnd):"keydown"===e&&229===n.keyCode&&(i=nr.compositionStart);return i?(er&&"ko"!==n.locale&&(ar||i!==nr.compositionStart?i===nr.compositionEnd&&ar&&(o=Un()):(Bn="value"in(Fn=r)?Fn.value:Fn.textContent,ar=!0)),i=Hn.getPooled(i,t,n,r),o?i.data=o:null!==(o=ir(n))&&(i.data=o),Dn(i),o=i):o=null,(e=Jn?function(e,t){switch(e){case"compositionend":return ir(t);case"keypress":return 32!==t.which?null:(rr=!0,tr);case"textInput":return(e=t.data)===tr&&rr?null:e;default:return null}}(e,n):function(e,t){if(ar)return"compositionend"===e||!Xn&&or(e,t)?(e=Un(),An=Bn=Fn=null,ar=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return er&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=Kn.getPooled(nr.beforeInput,t,n,r)).data=e,Dn(t)):t=null,null===o?t:null===t?o:[o,t]}},ur={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function sr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!ur[e.type]:"textarea"===t}var cr={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function fr(e,t,n){return(e=Gn.getPooled(cr.change,e,t,n)).type="change",j(n),Dn(e),e}var pr=null,dr=null;function hr(e){lt(e)}function gr(e){if(we(Pn(e)))return e}function mr(e,t){if("change"===e)return t}var vr=!1;function br(){pr&&(pr.detachEvent("onpropertychange",yr),dr=pr=null)}function yr(e){if("value"===e.propertyName&&gr(dr))if(e=fr(dr,e,ut(e)),F)lt(e);else{F=!0;try{z(hr,e)}finally{F=!1,A()}}}function xr(e,t,n){"focus"===e?(br(),dr=n,(pr=t).attachEvent("onpropertychange",yr)):"blur"===e&&br()}function wr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return gr(dr)}function kr(e,t){if("click"===e)return gr(t)}function Er(e,t){if("input"===e||"change"===e)return gr(t)}T&&(vr=st("input")&&(!document.documentMode||9<document.documentMode));var _r={eventTypes:cr,_isInputEventSupported:vr,extractEvents:function(e,t,n,r){var o=t?Pn(t):window,i=o.nodeName&&o.nodeName.toLowerCase();if("select"===i||"input"===i&&"file"===o.type)var a=mr;else if(sr(o))if(vr)a=Er;else{a=wr;var l=xr}else(i=o.nodeName)&&"input"===i.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(a=kr);if(a&&(a=a(e,t)))return fr(a,n,r);l&&l(e,o,t),"blur"===e&&(e=o._wrapperState)&&e.controlled&&"number"===o.type&&Te(o,"number",o.value)}},Sr=Gn.extend({view:null,detail:null}),Cr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Tr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Cr[e])&&!!t[e]}function Nr(){return Tr}var Pr=0,Or=0,Lr=!1,jr=!1,Ir=Sr.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Nr,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Pr;return Pr=e.screenX,Lr?"mousemove"===e.type?e.screenX-t:0:(Lr=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Or;return Or=e.screenY,jr?"mousemove"===e.type?e.screenY-t:0:(jr=!0,0)}}),zr=Ir.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Rr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Mr={eventTypes:Rr,extractEvents:function(e,t,n,r,o){var i="mouseover"===e||"pointerover"===e,a="mouseout"===e||"pointerout"===e;if(i&&0==(32&o)&&(n.relatedTarget||n.fromElement)||!a&&!i)return null;(i=r.window===r?r:(i=r.ownerDocument)?i.defaultView||i.parentWindow:window,a)?(a=t,null!==(t=(t=n.relatedTarget||n.toElement)?Tn(t):null)&&(t!==Je(t)||5!==t.tag&&6!==t.tag)&&(t=null)):a=null;if(a===t)return null;if("mouseout"===e||"mouseover"===e)var l=Ir,u=Rr.mouseLeave,s=Rr.mouseEnter,c="mouse";else"pointerout"!==e&&"pointerover"!==e||(l=zr,u=Rr.pointerLeave,s=Rr.pointerEnter,c="pointer");if(e=null==a?i:Pn(a),i=null==t?i:Pn(t),(u=l.getPooled(u,a,n,r)).type=c+"leave",u.target=e,u.relatedTarget=i,(n=l.getPooled(s,t,n,r)).type=c+"enter",n.target=i,n.relatedTarget=e,c=t,(r=a)&&c)e:{for(s=c,a=0,e=l=r;e;e=Ln(e))a++;for(e=0,t=s;t;t=Ln(t))e++;for(;0<a-e;)l=Ln(l),a--;for(;0<e-a;)s=Ln(s),e--;for(;a--;){if(l===s||l===s.alternate)break e;l=Ln(l),s=Ln(s)}l=null}else l=null;for(s=l,l=[];r&&r!==s&&(null===(a=r.alternate)||a!==s);)l.push(r),r=Ln(r);for(r=[];c&&c!==s&&(null===(a=c.alternate)||a!==s);)r.push(c),c=Ln(c);for(c=0;c<l.length;c++)Rn(l[c],"bubbled",u);for(c=r.length;0<c--;)Rn(r[c],"captured",n);return 0==(64&o)?[u]:[u,n]}};var Dr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Fr=Object.prototype.hasOwnProperty;function Br(e,t){if(Dr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!Fr.call(t,n[r])||!Dr(e[n[r]],t[n[r]]))return!1;return!0}var Ar=T&&"documentMode"in document&&11>=document.documentMode,Ur={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Vr=null,Wr=null,Gr=null,qr=!1;function $r(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return qr||null==Vr||Vr!==cn(n)?null:("selectionStart"in(n=Vr)&&hn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Gr&&Br(Gr,n)?null:(Gr=n,(e=Gn.getPooled(Ur.select,Wr,e,t)).type="select",e.target=Vr,Dn(e),e))}var Yr={eventTypes:Ur,extractEvents:function(e,t,n,r,o,i){if(!(i=!(o=i||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{o=Ze(o),i=S.onSelect;for(var a=0;a<i.length;a++)if(!o.has(i[a])){o=!1;break e}o=!0}i=!o}if(i)return null;switch(o=t?Pn(t):window,e){case"focus":(sr(o)||"true"===o.contentEditable)&&(Vr=o,Wr=t,Gr=null);break;case"blur":Gr=Wr=Vr=null;break;case"mousedown":qr=!0;break;case"contextmenu":case"mouseup":case"dragend":return qr=!1,$r(n,r);case"selectionchange":if(Ar)break;case"keydown":case"keyup":return $r(n,r)}return null}},Hr=Gn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Kr=Gn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Qr=Sr.extend({relatedTarget:null});function Xr(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var Zr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Jr={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},eo=Sr.extend({key:function(e){if(e.key){var t=Zr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Xr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Jr[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Nr,charCode:function(e){return"keypress"===e.type?Xr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Xr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),to=Ir.extend({dataTransfer:null}),no=Sr.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Nr}),ro=Gn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),oo=Ir.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),io={eventTypes:Dt,extractEvents:function(e,t,n,r){var o=Ft.get(e);if(!o)return null;switch(e){case"keypress":if(0===Xr(n))return null;case"keydown":case"keyup":e=eo;break;case"blur":case"focus":e=Qr;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Ir;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=to;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=no;break;case $e:case Ye:case He:e=Hr;break;case Ke:e=ro;break;case"scroll":e=Sr;break;case"wheel":e=oo;break;case"copy":case"cut":case"paste":e=Kr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=zr;break;default:e=Gn}return Dn(t=e.getPooled(o,t,n,r)),t}};if(b)throw Error(a(101));b=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),x(),h=On,g=Nn,m=Pn,C({SimpleEventPlugin:io,EnterLeaveEventPlugin:Mr,ChangeEventPlugin:_r,SelectEventPlugin:Yr,BeforeInputEventPlugin:lr});var ao=[],lo=-1;function uo(e){0>lo||(e.current=ao[lo],ao[lo]=null,lo--)}function so(e,t){lo++,ao[lo]=e.current,e.current=t}var co={},fo={current:co},po={current:!1},ho=co;function go(e,t){var n=e.type.contextTypes;if(!n)return co;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function mo(e){return null!=(e=e.childContextTypes)}function vo(){uo(po),uo(fo)}function bo(e,t,n){if(fo.current!==co)throw Error(a(168));so(fo,t),so(po,n)}function yo(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw Error(a(108,me(t)||"Unknown",i));return o({},n,{},r)}function xo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||co,ho=fo.current,so(fo,e),so(po,po.current),!0}function wo(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=yo(e,t,ho),r.__reactInternalMemoizedMergedChildContext=e,uo(po),uo(fo),so(fo,e)):uo(po),so(po,n)}var ko=i.unstable_runWithPriority,Eo=i.unstable_scheduleCallback,_o=i.unstable_cancelCallback,So=i.unstable_requestPaint,Co=i.unstable_now,To=i.unstable_getCurrentPriorityLevel,No=i.unstable_ImmediatePriority,Po=i.unstable_UserBlockingPriority,Oo=i.unstable_NormalPriority,Lo=i.unstable_LowPriority,jo=i.unstable_IdlePriority,Io={},zo=i.unstable_shouldYield,Ro=void 0!==So?So:function(){},Mo=null,Do=null,Fo=!1,Bo=Co(),Ao=1e4>Bo?Co:function(){return Co()-Bo};function Uo(){switch(To()){case No:return 99;case Po:return 98;case Oo:return 97;case Lo:return 96;case jo:return 95;default:throw Error(a(332))}}function Vo(e){switch(e){case 99:return No;case 98:return Po;case 97:return Oo;case 96:return Lo;case 95:return jo;default:throw Error(a(332))}}function Wo(e,t){return e=Vo(e),ko(e,t)}function Go(e,t,n){return e=Vo(e),Eo(e,t,n)}function qo(e){return null===Mo?(Mo=[e],Do=Eo(No,Yo)):Mo.push(e),Io}function $o(){if(null!==Do){var e=Do;Do=null,_o(e)}Yo()}function Yo(){if(!Fo&&null!==Mo){Fo=!0;var e=0;try{var t=Mo;Wo(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Mo=null}catch(t){throw null!==Mo&&(Mo=Mo.slice(e+1)),Eo(No,$o),t}finally{Fo=!1}}}function Ho(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Ko(e,t){if(e&&e.defaultProps)for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var Qo={current:null},Xo=null,Zo=null,Jo=null;function ei(){Jo=Zo=Xo=null}function ti(e){var t=Qo.current;uo(Qo),e.type._context._currentValue=t}function ni(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function ri(e,t){Xo=e,Jo=Zo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Oa=!0),e.firstContext=null)}function oi(e,t){if(Jo!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Jo=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Zo){if(null===Xo)throw Error(a(308));Zo=t,Xo.dependencies={expirationTime:0,firstContext:t,responders:null}}else Zo=Zo.next=t;return e._currentValue}var ii=!1;function ai(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function li(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function ui(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function si(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function ci(e,t){var n=e.alternate;null!==n&&li(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function fi(e,t,n,r){var i=e.updateQueue;ii=!1;var a=i.baseQueue,l=i.shared.pending;if(null!==l){if(null!==a){var u=a.next;a.next=l.next,l.next=u}a=l,i.shared.pending=null,null!==(u=e.alternate)&&(null!==(u=u.updateQueue)&&(u.baseQueue=l))}if(null!==a){u=a.next;var s=i.baseState,c=0,f=null,p=null,d=null;if(null!==u)for(var h=u;;){if((l=h.expirationTime)<r){var g={expirationTime:h.expirationTime,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null};null===d?(p=d=g,f=s):d=d.next=g,l>c&&(c=l)}else{null!==d&&(d=d.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),iu(l,h.suspenseConfig);e:{var m=e,v=h;switch(l=t,g=n,v.tag){case 1:if("function"==typeof(m=v.payload)){s=m.call(g,s,l);break e}s=m;break e;case 3:m.effectTag=-4097&m.effectTag|64;case 0:if(null==(l="function"==typeof(m=v.payload)?m.call(g,s,l):m))break e;s=o({},s,l);break e;case 2:ii=!0}}null!==h.callback&&(e.effectTag|=32,null===(l=i.effects)?i.effects=[h]:l.push(h))}if(null===(h=h.next)||h===u){if(null===(l=i.shared.pending))break;h=a.next=l.next,l.next=u,i.baseQueue=a=l,i.shared.pending=null}}null===d?f=s:d.next=p,i.baseState=f,i.baseQueue=d,au(c),e.expirationTime=c,e.memoizedState=s}}function pi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=o,o=n,"function"!=typeof r)throw Error(a(191,r));r.call(o)}}}var di=Q.ReactCurrentBatchConfig,hi=(new r.Component).refs;function gi(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:o({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var mi={isMounted:function(e){return!!(e=e._reactInternalFiber)&&Je(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=$l(),o=di.suspense;(o=ui(r=Yl(r,e,o),o)).payload=t,null!=n&&(o.callback=n),si(e,o),Hl(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=$l(),o=di.suspense;(o=ui(r=Yl(r,e,o),o)).tag=1,o.payload=t,null!=n&&(o.callback=n),si(e,o),Hl(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=$l(),r=di.suspense;(r=ui(n=Yl(n,e,r),r)).tag=2,null!=t&&(r.callback=t),si(e,r),Hl(e,n)}};function vi(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!Br(n,r)||!Br(o,i))}function bi(e,t,n){var r=!1,o=co,i=t.contextType;return"object"==typeof i&&null!==i?i=oi(i):(o=mo(t)?ho:fo.current,i=(r=null!=(r=t.contextTypes))?go(e,o):co),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=mi,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function yi(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&mi.enqueueReplaceState(t,t.state,null)}function xi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=hi,ai(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=oi(i):(i=mo(t)?ho:fo.current,o.context=go(e,i)),fi(e,n,o,r),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(gi(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&mi.enqueueReplaceState(o,o.state,null),fi(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.effectTag|=4)}var wi=Array.isArray;function ki(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=r.refs;t===hi&&(t=r.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Ei(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function _i(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Cu(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function l(t){return e&&null===t.alternate&&(t.effectTag=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Pu(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=ki(e,t,n),r.return=e,r):((r=Tu(n.type,n.key,n.props,null,e.mode,r)).ref=ki(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Ou(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=Nu(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Pu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=Tu(t.type,t.key,t.props,null,e.mode,n)).ref=ki(e,null,t),n.return=e,n;case te:return(t=Ou(t,e.mode,n)).return=e,t}if(wi(t)||ge(t))return(t=Nu(t,e.mode,n,null)).return=e,t;Ei(e,t)}return null}function d(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===o?n.type===ne?f(e,t,n.props.children,r,o):s(e,t,n,r):null;case te:return n.key===o?c(e,t,n,r):null}if(wi(n)||ge(n))return null!==o?null:f(e,t,n,r,null);Ei(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case ee:return e=e.get(null===r.key?n:r.key)||null,r.type===ne?f(t,e,r.props.children,o,r.key):s(t,e,r,o);case te:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(wi(r)||ge(r))return f(t,e=e.get(n)||null,r,o,null);Ei(t,r)}return null}function g(o,a,l,u){for(var s=null,c=null,f=a,g=a=0,m=null;null!==f&&g<l.length;g++){f.index>g?(m=f,f=null):m=f.sibling;var v=d(o,f,l[g],u);if(null===v){null===f&&(f=m);break}e&&f&&null===v.alternate&&t(o,f),a=i(v,a,g),null===c?s=v:c.sibling=v,c=v,f=m}if(g===l.length)return n(o,f),s;if(null===f){for(;g<l.length;g++)null!==(f=p(o,l[g],u))&&(a=i(f,a,g),null===c?s=f:c.sibling=f,c=f);return s}for(f=r(o,f);g<l.length;g++)null!==(m=h(f,o,g,l[g],u))&&(e&&null!==m.alternate&&f.delete(null===m.key?g:m.key),a=i(m,a,g),null===c?s=m:c.sibling=m,c=m);return e&&f.forEach((function(e){return t(o,e)})),s}function m(o,l,u,s){var c=ge(u);if("function"!=typeof c)throw Error(a(150));if(null==(u=c.call(u)))throw Error(a(151));for(var f=c=null,g=l,m=l=0,v=null,b=u.next();null!==g&&!b.done;m++,b=u.next()){g.index>m?(v=g,g=null):v=g.sibling;var y=d(o,g,b.value,s);if(null===y){null===g&&(g=v);break}e&&g&&null===y.alternate&&t(o,g),l=i(y,l,m),null===f?c=y:f.sibling=y,f=y,g=v}if(b.done)return n(o,g),c;if(null===g){for(;!b.done;m++,b=u.next())null!==(b=p(o,b.value,s))&&(l=i(b,l,m),null===f?c=b:f.sibling=b,f=b);return c}for(g=r(o,g);!b.done;m++,b=u.next())null!==(b=h(g,o,m,b.value,s))&&(e&&null!==b.alternate&&g.delete(null===b.key?m:b.key),l=i(b,l,m),null===f?c=b:f.sibling=b,f=b);return e&&g.forEach((function(e){return t(o,e)})),c}return function(e,r,i,u){var s="object"==typeof i&&null!==i&&i.type===ne&&null===i.key;s&&(i=i.props.children);var c="object"==typeof i&&null!==i;if(c)switch(i.$$typeof){case ee:e:{for(c=i.key,s=r;null!==s;){if(s.key===c){switch(s.tag){case 7:if(i.type===ne){n(e,s.sibling),(r=o(s,i.props.children)).return=e,e=r;break e}break;default:if(s.elementType===i.type){n(e,s.sibling),(r=o(s,i.props)).ref=ki(e,s,i),r.return=e,e=r;break e}}n(e,s);break}t(e,s),s=s.sibling}i.type===ne?((r=Nu(i.props.children,e.mode,u,i.key)).return=e,e=r):((u=Tu(i.type,i.key,i.props,null,e.mode,u)).ref=ki(e,r,i),u.return=e,e=u)}return l(e);case te:e:{for(s=i.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Ou(i,e.mode,u)).return=e,e=r}return l(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=Pu(i,e.mode,u)).return=e,e=r),l(e);if(wi(i))return g(e,r,i,u);if(ge(i))return m(e,r,i,u);if(c&&Ei(e,i),void 0===i&&!s)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||"Component"))}return n(e,r)}}var Si=_i(!0),Ci=_i(!1),Ti={},Ni={current:Ti},Pi={current:Ti},Oi={current:Ti};function Li(e){if(e===Ti)throw Error(a(174));return e}function ji(e,t){switch(so(Oi,t),so(Pi,e),so(Ni,Ti),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:De(null,"");break;default:t=De(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}uo(Ni),so(Ni,t)}function Ii(){uo(Ni),uo(Pi),uo(Oi)}function zi(e){Li(Oi.current);var t=Li(Ni.current),n=De(t,e.type);t!==n&&(so(Pi,e),so(Ni,n))}function Ri(e){Pi.current===e&&(uo(Ni),uo(Pi))}var Mi={current:0};function Di(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Fi(e,t){return{responder:e,props:t}}var Bi=Q.ReactCurrentDispatcher,Ai=Q.ReactCurrentBatchConfig,Ui=0,Vi=null,Wi=null,Gi=null,qi=!1;function $i(){throw Error(a(321))}function Yi(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Dr(e[n],t[n]))return!1;return!0}function Hi(e,t,n,r,o,i){if(Ui=i,Vi=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,Bi.current=null===e||null===e.memoizedState?va:ba,e=n(r,o),t.expirationTime===Ui){i=0;do{if(t.expirationTime=0,!(25>i))throw Error(a(301));i+=1,Gi=Wi=null,t.updateQueue=null,Bi.current=ya,e=n(r,o)}while(t.expirationTime===Ui)}if(Bi.current=ma,t=null!==Wi&&null!==Wi.next,Ui=0,Gi=Wi=Vi=null,qi=!1,t)throw Error(a(300));return e}function Ki(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Gi?Vi.memoizedState=Gi=e:Gi=Gi.next=e,Gi}function Qi(){if(null===Wi){var e=Vi.alternate;e=null!==e?e.memoizedState:null}else e=Wi.next;var t=null===Gi?Vi.memoizedState:Gi.next;if(null!==t)Gi=t,Wi=e;else{if(null===e)throw Error(a(310));e={memoizedState:(Wi=e).memoizedState,baseState:Wi.baseState,baseQueue:Wi.baseQueue,queue:Wi.queue,next:null},null===Gi?Vi.memoizedState=Gi=e:Gi=Gi.next=e}return Gi}function Xi(e,t){return"function"==typeof t?t(e):t}function Zi(e){var t=Qi(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=Wi,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var l=o.next;o.next=i.next,i.next=l}r.baseQueue=o=i,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var u=l=i=null,s=o;do{var c=s.expirationTime;if(c<Ui){var f={expirationTime:s.expirationTime,suspenseConfig:s.suspenseConfig,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};null===u?(l=u=f,i=r):u=u.next=f,c>Vi.expirationTime&&(Vi.expirationTime=c,au(c))}else null!==u&&(u=u.next={expirationTime:1073741823,suspenseConfig:s.suspenseConfig,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),iu(c,s.suspenseConfig),r=s.eagerReducer===e?s.eagerState:e(r,s.action);s=s.next}while(null!==s&&s!==o);null===u?i=r:u.next=l,Dr(r,t.memoizedState)||(Oa=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=u,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function Ji(e){var t=Qi(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var l=o=o.next;do{i=e(i,l.action),l=l.next}while(l!==o);Dr(i,t.memoizedState)||(Oa=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function ea(e){var t=Ki();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Xi,lastRenderedState:e}).dispatch=ga.bind(null,Vi,e),[t.memoizedState,e]}function ta(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Vi.updateQueue)?(t={lastEffect:null},Vi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function na(){return Qi().memoizedState}function ra(e,t,n,r){var o=Ki();Vi.effectTag|=e,o.memoizedState=ta(1|t,n,void 0,void 0===r?null:r)}function oa(e,t,n,r){var o=Qi();r=void 0===r?null:r;var i=void 0;if(null!==Wi){var a=Wi.memoizedState;if(i=a.destroy,null!==r&&Yi(r,a.deps))return void ta(t,n,i,r)}Vi.effectTag|=e,o.memoizedState=ta(1|t,n,i,r)}function ia(e,t){return ra(516,4,e,t)}function aa(e,t){return oa(516,4,e,t)}function la(e,t){return oa(4,2,e,t)}function ua(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function sa(e,t,n){return n=null!=n?n.concat([e]):null,oa(4,2,ua.bind(null,t,e),n)}function ca(){}function fa(e,t){return Ki().memoizedState=[e,void 0===t?null:t],e}function pa(e,t){var n=Qi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Yi(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function da(e,t){var n=Qi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Yi(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ha(e,t,n){var r=Uo();Wo(98>r?98:r,(function(){e(!0)})),Wo(97<r?97:r,(function(){var r=Ai.suspense;Ai.suspense=void 0===t?null:t;try{e(!1),n()}finally{Ai.suspense=r}}))}function ga(e,t,n){var r=$l(),o=di.suspense;o={expirationTime:r=Yl(r,e,o),suspenseConfig:o,action:n,eagerReducer:null,eagerState:null,next:null};var i=t.pending;if(null===i?o.next=o:(o.next=i.next,i.next=o),t.pending=o,i=e.alternate,e===Vi||null!==i&&i===Vi)qi=!0,o.expirationTime=Ui,Vi.expirationTime=Ui;else{if(0===e.expirationTime&&(null===i||0===i.expirationTime)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=i(a,n);if(o.eagerReducer=i,o.eagerState=l,Dr(l,a))return}catch(e){}Hl(e,r)}}var ma={readContext:oi,useCallback:$i,useContext:$i,useEffect:$i,useImperativeHandle:$i,useLayoutEffect:$i,useMemo:$i,useReducer:$i,useRef:$i,useState:$i,useDebugValue:$i,useResponder:$i,useDeferredValue:$i,useTransition:$i},va={readContext:oi,useCallback:fa,useContext:oi,useEffect:ia,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ra(4,2,ua.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ra(4,2,e,t)},useMemo:function(e,t){var n=Ki();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ki();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ga.bind(null,Vi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ki().memoizedState=e},useState:ea,useDebugValue:ca,useResponder:Fi,useDeferredValue:function(e,t){var n=ea(e),r=n[0],o=n[1];return ia((function(){var n=Ai.suspense;Ai.suspense=void 0===t?null:t;try{o(e)}finally{Ai.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ea(!1),n=t[0];return t=t[1],[fa(ha.bind(null,t,e),[t,e]),n]}},ba={readContext:oi,useCallback:pa,useContext:oi,useEffect:aa,useImperativeHandle:sa,useLayoutEffect:la,useMemo:da,useReducer:Zi,useRef:na,useState:function(){return Zi(Xi)},useDebugValue:ca,useResponder:Fi,useDeferredValue:function(e,t){var n=Zi(Xi),r=n[0],o=n[1];return aa((function(){var n=Ai.suspense;Ai.suspense=void 0===t?null:t;try{o(e)}finally{Ai.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Zi(Xi),n=t[0];return t=t[1],[pa(ha.bind(null,t,e),[t,e]),n]}},ya={readContext:oi,useCallback:pa,useContext:oi,useEffect:aa,useImperativeHandle:sa,useLayoutEffect:la,useMemo:da,useReducer:Ji,useRef:na,useState:function(){return Ji(Xi)},useDebugValue:ca,useResponder:Fi,useDeferredValue:function(e,t){var n=Ji(Xi),r=n[0],o=n[1];return aa((function(){var n=Ai.suspense;Ai.suspense=void 0===t?null:t;try{o(e)}finally{Ai.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Ji(Xi),n=t[0];return t=t[1],[pa(ha.bind(null,t,e),[t,e]),n]}},xa=null,wa=null,ka=!1;function Ea(e,t){var n=_u(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function _a(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function Sa(e){if(ka){var t=wa;if(t){var n=t;if(!_a(e,t)){if(!(t=wn(n.nextSibling))||!_a(e,t))return e.effectTag=-1025&e.effectTag|2,ka=!1,void(xa=e);Ea(xa,n)}xa=e,wa=wn(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,ka=!1,xa=e}}function Ca(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;xa=e}function Ta(e){if(e!==xa)return!1;if(!ka)return Ca(e),ka=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!bn(t,e.memoizedProps))for(t=wa;t;)Ea(e,t),t=wn(t.nextSibling);if(Ca(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){wa=wn(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}wa=null}}else wa=xa?wn(e.stateNode.nextSibling):null;return!0}function Na(){wa=xa=null,ka=!1}var Pa=Q.ReactCurrentOwner,Oa=!1;function La(e,t,n,r){t.child=null===e?Ci(t,null,n,r):Si(t,e.child,n,r)}function ja(e,t,n,r,o){n=n.render;var i=t.ref;return ri(t,o),r=Hi(e,t,n,r,i,o),null===e||Oa?(t.effectTag|=1,La(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Ha(e,t,o))}function Ia(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||Su(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Tu(n.type,null,r,null,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,za(e,t,a,r,o,i))}return a=e.child,o<i&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:Br)(o,r)&&e.ref===t.ref)?Ha(e,t,i):(t.effectTag|=1,(e=Cu(a,r)).ref=t.ref,e.return=t,t.child=e)}function za(e,t,n,r,o,i){return null!==e&&Br(e.memoizedProps,r)&&e.ref===t.ref&&(Oa=!1,o<i)?(t.expirationTime=e.expirationTime,Ha(e,t,i)):Ma(e,t,n,r,i)}function Ra(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Ma(e,t,n,r,o){var i=mo(n)?ho:fo.current;return i=go(t,i),ri(t,o),n=Hi(e,t,n,r,i,o),null===e||Oa?(t.effectTag|=1,La(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Ha(e,t,o))}function Da(e,t,n,r,o){if(mo(n)){var i=!0;xo(t)}else i=!1;if(ri(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),bi(t,n,r),xi(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var u=a.context,s=n.contextType;"object"==typeof s&&null!==s?s=oi(s):s=go(t,s=mo(n)?ho:fo.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||u!==s)&&yi(t,a,r,s),ii=!1;var p=t.memoizedState;a.state=p,fi(t,r,a,o),u=t.memoizedState,l!==r||p!==u||po.current||ii?("function"==typeof c&&(gi(t,n,c,r),u=t.memoizedState),(l=ii||vi(t,n,l,r,p,u,s))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=s,r=l):("function"==typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,li(e,t),l=t.memoizedProps,a.props=t.type===t.elementType?l:Ko(t.type,l),u=a.context,"object"==typeof(s=n.contextType)&&null!==s?s=oi(s):s=go(t,s=mo(n)?ho:fo.current),(f="function"==typeof(c=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||u!==s)&&yi(t,a,r,s),ii=!1,u=t.memoizedState,a.state=u,fi(t,r,a,o),p=t.memoizedState,l!==r||u!==p||po.current||ii?("function"==typeof c&&(gi(t,n,c,r),p=t.memoizedState),(c=ii||vi(t,n,l,r,u,p,s))?(f||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,s)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=s,r=c):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),r=!1);return Fa(e,t,n,r,i,o)}function Fa(e,t,n,r,o,i){Ra(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return o&&wo(t,n,!1),Ha(e,t,i);r=t.stateNode,Pa.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=Si(t,e.child,null,i),t.child=Si(t,null,l,i)):La(e,t,l,i),t.memoizedState=r.state,o&&wo(t,n,!0),t.child}function Ba(e){var t=e.stateNode;t.pendingContext?bo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&bo(0,t.context,!1),ji(e,t.containerInfo)}var Aa,Ua,Va,Wa={dehydrated:null,retryTime:0};function Ga(e,t,n){var r,o=t.mode,i=t.pendingProps,a=Mi.current,l=!1;if((r=0!=(64&t.effectTag))||(r=0!=(2&a)&&(null===e||null!==e.memoizedState)),r?(l=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(a|=1),so(Mi,1&a),null===e){if(void 0!==i.fallback&&Sa(t),l){if(l=i.fallback,(i=Nu(null,o,0,null)).return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=Nu(l,o,n,null)).return=t,i.sibling=n,t.memoizedState=Wa,t.child=i,n}return o=i.children,t.memoizedState=null,t.child=Ci(t,null,o,n)}if(null!==e.memoizedState){if(o=(e=e.child).sibling,l){if(i=i.fallback,(n=Cu(e,e.pendingProps)).return=t,0==(2&t.mode)&&(l=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=l;null!==l;)l.return=n,l=l.sibling;return(o=Cu(o,i)).return=t,n.sibling=o,n.childExpirationTime=0,t.memoizedState=Wa,t.child=n,o}return n=Si(t,e.child,i.children,n),t.memoizedState=null,t.child=n}if(e=e.child,l){if(l=i.fallback,(i=Nu(null,o,0,null)).return=t,i.child=e,null!==e&&(e.return=i),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=Nu(l,o,n,null)).return=t,i.sibling=n,n.effectTag|=2,i.childExpirationTime=0,t.memoizedState=Wa,t.child=i,n}return t.memoizedState=null,t.child=Si(t,e,i.children,n)}function qa(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),ni(e.return,t)}function $a(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=o,a.lastEffect=i)}function Ya(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(La(e,t,r.children,n),0!=(2&(r=Mi.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&qa(e,n);else if(19===e.tag)qa(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(so(Mi,r),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Di(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),$a(t,!1,o,n,i,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Di(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}$a(t,!0,n,null,i,t.lastEffect);break;case"together":$a(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Ha(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&au(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Cu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Cu(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Ka(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Qa(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return mo(t.type)&&vo(),null;case 3:return Ii(),uo(po),uo(fo),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!Ta(t)||(t.effectTag|=4),null;case 5:Ri(t),n=Li(Oi.current);var i=t.type;if(null!==e&&null!=t.stateNode)Ua(e,t,i,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=Li(Ni.current),Ta(t)){r=t.stateNode,i=t.type;var l=t.memoizedProps;switch(r[_n]=t,r[Sn]=l,i){case"iframe":case"object":case"embed":Yt("load",r);break;case"video":case"audio":for(e=0;e<Qe.length;e++)Yt(Qe[e],r);break;case"source":Yt("error",r);break;case"img":case"image":case"link":Yt("error",r),Yt("load",r);break;case"form":Yt("reset",r),Yt("submit",r);break;case"details":Yt("toggle",r);break;case"input":Ee(r,l),Yt("invalid",r),un(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!l.multiple},Yt("invalid",r),un(n,"onChange");break;case"textarea":Le(r,l),Yt("invalid",r),un(n,"onChange")}for(var u in on(i,l),e=null,l)if(l.hasOwnProperty(u)){var s=l[u];"children"===u?"string"==typeof s?r.textContent!==s&&(e=["children",s]):"number"==typeof s&&r.textContent!==""+s&&(e=["children",""+s]):_.hasOwnProperty(u)&&null!=s&&un(n,u)}switch(i){case"input":xe(r),Ce(r,l,!0);break;case"textarea":xe(r),Ie(r);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(r.onclick=sn)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(u=9===n.nodeType?n:n.ownerDocument,e===ln&&(e=Me(i)),e===ln?"script"===i?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=u.createElement(i,{is:r.is}):(e=u.createElement(i),"select"===i&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,i),e[_n]=t,e[Sn]=r,Aa(e,t),t.stateNode=e,u=an(i,r),i){case"iframe":case"object":case"embed":Yt("load",e),s=r;break;case"video":case"audio":for(s=0;s<Qe.length;s++)Yt(Qe[s],e);s=r;break;case"source":Yt("error",e),s=r;break;case"img":case"image":case"link":Yt("error",e),Yt("load",e),s=r;break;case"form":Yt("reset",e),Yt("submit",e),s=r;break;case"details":Yt("toggle",e),s=r;break;case"input":Ee(e,r),s=ke(e,r),Yt("invalid",e),un(n,"onChange");break;case"option":s=Ne(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},s=o({},r,{value:void 0}),Yt("invalid",e),un(n,"onChange");break;case"textarea":Le(e,r),s=Oe(e,r),Yt("invalid",e),un(n,"onChange");break;default:s=r}on(i,s);var c=s;for(l in c)if(c.hasOwnProperty(l)){var f=c[l];"style"===l?nn(e,f):"dangerouslySetInnerHTML"===l?null!=(f=f?f.__html:void 0)&&Be(e,f):"children"===l?"string"==typeof f?("textarea"!==i||""!==f)&&Ae(e,f):"number"==typeof f&&Ae(e,""+f):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(_.hasOwnProperty(l)?null!=f&&un(n,l):null!=f&&X(e,l,f,u))}switch(i){case"input":xe(e),Ce(e,r,!1);break;case"textarea":xe(e),Ie(e);break;case"option":null!=r.value&&e.setAttribute("value",""+be(r.value));break;case"select":e.multiple=!!r.multiple,null!=(n=r.value)?Pe(e,!!r.multiple,n,!1):null!=r.defaultValue&&Pe(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof s.onClick&&(e.onclick=sn)}vn(i,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Va(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));n=Li(Oi.current),Li(Ni.current),Ta(t)?(n=t.stateNode,r=t.memoizedProps,n[_n]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[_n]=t,t.stateNode=n)}return null;case 13:return uo(Mi),r=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&Ta(t):(r=null!==(i=e.memoizedState),n||null===i||null!==(i=e.child.sibling)&&(null!==(l=t.firstEffect)?(t.firstEffect=i,i.nextEffect=l):(t.firstEffect=t.lastEffect=i,i.nextEffect=null),i.effectTag=8)),n&&!r&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Mi.current)?Tl===xl&&(Tl=wl):(Tl!==xl&&Tl!==wl||(Tl=kl),0!==jl&&null!==_l&&(Iu(_l,Cl),zu(_l,jl)))),(n||r)&&(t.effectTag|=4),null);case 4:return Ii(),null;case 10:return ti(t),null;case 17:return mo(t.type)&&vo(),null;case 19:if(uo(Mi),null===(r=t.memoizedState))return null;if(i=0!=(64&t.effectTag),null===(l=r.rendering)){if(i)Ka(r,!1);else if(Tl!==xl||null!==e&&0!=(64&e.effectTag))for(l=t.child;null!==l;){if(null!==(e=Di(l))){for(t.effectTag|=64,Ka(r,!1),null!==(i=e.updateQueue)&&(t.updateQueue=i,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)l=n,(i=r).effectTag&=2,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null,null===(e=i.alternate)?(i.childExpirationTime=0,i.expirationTime=l,i.child=null,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null):(i.childExpirationTime=e.childExpirationTime,i.expirationTime=e.expirationTime,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,l=e.dependencies,i.dependencies=null===l?null:{expirationTime:l.expirationTime,firstContext:l.firstContext,responders:l.responders}),r=r.sibling;return so(Mi,1&Mi.current|2),t.child}l=l.sibling}}else{if(!i)if(null!==(e=Di(l))){if(t.effectTag|=64,i=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),Ka(r,!0),null===r.tail&&"hidden"===r.tailMode&&!l.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Ao()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,i=!0,Ka(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=r.last)?n.sibling=l:t.child=l,r.last=l)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=Ao()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Ao(),n.sibling=null,t=Mi.current,so(Mi,i?1&t|2:1&t),n):null}throw Error(a(156,t.tag))}function Xa(e){switch(e.tag){case 1:mo(e.type)&&vo();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(Ii(),uo(po),uo(fo),0!=(64&(t=e.effectTag)))throw Error(a(285));return e.effectTag=-4097&t|64,e;case 5:return Ri(e),null;case 13:return uo(Mi),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return uo(Mi),null;case 4:return Ii(),null;case 10:return ti(e),null;default:return null}}function Za(e,t){return{value:e,source:t,stack:ve(t)}}Aa=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ua=function(e,t,n,r,i){var a=e.memoizedProps;if(a!==r){var l,u,s=t.stateNode;switch(Li(Ni.current),e=null,n){case"input":a=ke(s,a),r=ke(s,r),e=[];break;case"option":a=Ne(s,a),r=Ne(s,r),e=[];break;case"select":a=o({},a,{value:void 0}),r=o({},r,{value:void 0}),e=[];break;case"textarea":a=Oe(s,a),r=Oe(s,r),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(s.onclick=sn)}for(l in on(n,r),n=null,a)if(!r.hasOwnProperty(l)&&a.hasOwnProperty(l)&&null!=a[l])if("style"===l)for(u in s=a[l])s.hasOwnProperty(u)&&(n||(n={}),n[u]="");else"dangerouslySetInnerHTML"!==l&&"children"!==l&&"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(_.hasOwnProperty(l)?e||(e=[]):(e=e||[]).push(l,null));for(l in r){var c=r[l];if(s=null!=a?a[l]:void 0,r.hasOwnProperty(l)&&c!==s&&(null!=c||null!=s))if("style"===l)if(s){for(u in s)!s.hasOwnProperty(u)||c&&c.hasOwnProperty(u)||(n||(n={}),n[u]="");for(u in c)c.hasOwnProperty(u)&&s[u]!==c[u]&&(n||(n={}),n[u]=c[u])}else n||(e||(e=[]),e.push(l,n)),n=c;else"dangerouslySetInnerHTML"===l?(c=c?c.__html:void 0,s=s?s.__html:void 0,null!=c&&s!==c&&(e=e||[]).push(l,c)):"children"===l?s===c||"string"!=typeof c&&"number"!=typeof c||(e=e||[]).push(l,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&(_.hasOwnProperty(l)?(null!=c&&un(i,l),e||s===c||(e=[])):(e=e||[]).push(l,c))}n&&(e=e||[]).push("style",n),i=e,(t.updateQueue=i)&&(t.effectTag|=4)}},Va=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var Ja="function"==typeof WeakSet?WeakSet:Set;function el(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ve(n)),null!==n&&me(n.type),t=t.value,null!==e&&1===e.tag&&me(e.type);try{console.error(t)}catch(e){setTimeout((function(){throw e}))}}function tl(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){bu(e,t)}else t.current=null}function nl(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Ko(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(a(163))}function rl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function ol(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function il(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void ol(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:Ko(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&pi(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}pi(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&vn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Mt(n)))));case 19:case 17:case 20:case 21:return}throw Error(a(163))}function al(e,t,n){switch("function"==typeof ku&&ku(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;Wo(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var o=t;try{n()}catch(e){bu(o,e)}}e=e.next}while(e!==r)}))}break;case 1:tl(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){bu(e,t)}}(t,n);break;case 5:tl(t);break;case 4:cl(e,t,n)}}function ll(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&ll(t)}function ul(e){return 5===e.tag||3===e.tag||4===e.tag}function sl(e){e:{for(var t=e.return;null!==t;){if(ul(t)){var n=t;break e}t=t.return}throw Error(a(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.effectTag&&(Ae(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||ul(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}r?function e(t,n,r){var o=t.tag,i=5===o||6===o;if(i)t=i?t.stateNode:t.stateNode.instance,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!==(r=r._reactRootContainer)&&void 0!==r||null!==n.onclick||(n.onclick=sn));else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t):function e(t,n,r){var o=t.tag,i=5===o||6===o;if(i)t=i?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t)}function cl(e,t,n){for(var r,o,i=t,l=!1;;){if(!l){l=i.return;e:for(;;){if(null===l)throw Error(a(160));switch(r=l.stateNode,l.tag){case 5:o=!1;break e;case 3:case 4:r=r.containerInfo,o=!0;break e}l=l.return}l=!0}if(5===i.tag||6===i.tag){e:for(var u=e,s=i,c=n,f=s;;)if(al(u,f,c),null!==f.child&&4!==f.tag)f.child.return=f,f=f.child;else{if(f===s)break e;for(;null===f.sibling;){if(null===f.return||f.return===s)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}o?(u=r,s=i.stateNode,8===u.nodeType?u.parentNode.removeChild(s):u.removeChild(s)):r.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){r=i.stateNode.containerInfo,o=!0,i.child.return=i,i=i.child;continue}}else if(al(e,i,n),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(l=!1)}i.sibling.return=i.return,i=i.sibling}}function fl(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void rl(3,t);case 1:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[Sn]=r,"input"===e&&"radio"===r.type&&null!=r.name&&_e(n,r),an(e,o),t=an(e,r),o=0;o<i.length;o+=2){var l=i[o],u=i[o+1];"style"===l?nn(n,u):"dangerouslySetInnerHTML"===l?Be(n,u):"children"===l?Ae(n,u):X(n,l,u,t)}switch(e){case"input":Se(n,r);break;case"textarea":je(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Pe(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Pe(n,!!r.multiple,r.defaultValue,!0):Pe(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,Mt(t.containerInfo)));case 12:return;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,zl=Ao()),null!==n)e:for(e=n;;){if(5===e.tag)i=e.stateNode,r?"function"==typeof(i=i.style).setProperty?i.setProperty("display","none","important"):i.display="none":(i=e.stateNode,o=null!=(o=e.memoizedProps.style)&&o.hasOwnProperty("display")?o.display:null,i.style.display=tn("display",o));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(i=e.child.sibling).return=e,e=i;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void pl(t);case 19:return void pl(t);case 17:return}throw Error(a(163))}function pl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Ja),t.forEach((function(t){var r=xu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var dl="function"==typeof WeakMap?WeakMap:Map;function hl(e,t,n){(n=ui(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ml||(Ml=!0,Dl=r),el(e,t)},n}function gl(e,t,n){(n=ui(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return el(e,t),r(o)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Fl?Fl=new Set([this]):Fl.add(this),el(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var ml,vl=Math.ceil,bl=Q.ReactCurrentDispatcher,yl=Q.ReactCurrentOwner,xl=0,wl=3,kl=4,El=0,_l=null,Sl=null,Cl=0,Tl=xl,Nl=null,Pl=1073741823,Ol=1073741823,Ll=null,jl=0,Il=!1,zl=0,Rl=null,Ml=!1,Dl=null,Fl=null,Bl=!1,Al=null,Ul=90,Vl=null,Wl=0,Gl=null,ql=0;function $l(){return 0!=(48&El)?1073741821-(Ao()/10|0):0!==ql?ql:ql=1073741821-(Ao()/10|0)}function Yl(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=Uo();if(0==(4&t))return 99===r?1073741823:1073741822;if(0!=(16&El))return Cl;if(null!==n)e=Ho(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Ho(e,150,100);break;case 97:case 96:e=Ho(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==_l&&e===Cl&&--e,e}function Hl(e,t){if(50<Wl)throw Wl=0,Gl=null,Error(a(185));if(null!==(e=Kl(e,t))){var n=Uo();1073741823===t?0!=(8&El)&&0==(48&El)?Jl(e):(Xl(e),0===El&&$o()):Xl(e),0==(4&El)||98!==n&&99!==n||(null===Vl?Vl=new Map([[e,t]]):(void 0===(n=Vl.get(e))||n>t)&&Vl.set(e,t))}}function Kl(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,o=null;if(null===r&&3===e.tag)o=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){o=r.stateNode;break}r=r.return}return null!==o&&(_l===o&&(au(t),Tl===kl&&Iu(o,Cl)),zu(o,t)),o}function Ql(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!ju(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function Xl(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=qo(Jl.bind(null,e));else{var t=Ql(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=$l();if(1073741823===t?r=99:1===t||2===t?r=95:r=0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var o=e.callbackPriority;if(e.callbackExpirationTime===t&&o>=r)return;n!==Io&&_o(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?qo(Jl.bind(null,e)):Go(r,Zl.bind(null,e),{timeout:10*(1073741821-t)-Ao()}),e.callbackNode=t}}}function Zl(e,t){if(ql=0,t)return Ru(e,t=$l()),Xl(e),null;var n=Ql(e);if(0!==n){if(t=e.callbackNode,0!=(48&El))throw Error(a(327));if(gu(),e===_l&&n===Cl||nu(e,n),null!==Sl){var r=El;El|=16;for(var o=ou();;)try{uu();break}catch(t){ru(e,t)}if(ei(),El=r,bl.current=o,1===Tl)throw t=Nl,nu(e,n),Iu(e,n),Xl(e),t;if(null===Sl)switch(o=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=Tl,_l=null,r){case xl:case 1:throw Error(a(345));case 2:Ru(e,2<n?2:n);break;case wl:if(Iu(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=fu(o)),1073741823===Pl&&10<(o=zl+500-Ao())){if(Il){var i=e.lastPingedTime;if(0===i||i>=n){e.lastPingedTime=n,nu(e,n);break}}if(0!==(i=Ql(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=yn(pu.bind(null,e),o);break}pu(e);break;case kl:if(Iu(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=fu(o)),Il&&(0===(o=e.lastPingedTime)||o>=n)){e.lastPingedTime=n,nu(e,n);break}if(0!==(o=Ql(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==Ol?r=10*(1073741821-Ol)-Ao():1073741823===Pl?r=0:(r=10*(1073741821-Pl)-5e3,0>(r=(o=Ao())-r)&&(r=0),(n=10*(1073741821-n)-o)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*vl(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=yn(pu.bind(null,e),r);break}pu(e);break;case 5:if(1073741823!==Pl&&null!==Ll){i=Pl;var l=Ll;if(0>=(r=0|l.busyMinDurationMs)?r=0:(o=0|l.busyDelayMs,r=(i=Ao()-(10*(1073741821-i)-(0|l.timeoutMs||5e3)))<=o?0:o+r-i),10<r){Iu(e,n),e.timeoutHandle=yn(pu.bind(null,e),r);break}}pu(e);break;default:throw Error(a(329))}if(Xl(e),e.callbackNode===t)return Zl.bind(null,e)}}return null}function Jl(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,0!=(48&El))throw Error(a(327));if(gu(),e===_l&&t===Cl||nu(e,t),null!==Sl){var n=El;El|=16;for(var r=ou();;)try{lu();break}catch(t){ru(e,t)}if(ei(),El=n,bl.current=r,1===Tl)throw n=Nl,nu(e,t),Iu(e,t),Xl(e),n;if(null!==Sl)throw Error(a(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,_l=null,pu(e),Xl(e)}return null}function eu(e,t){var n=El;El|=1;try{return e(t)}finally{0===(El=n)&&$o()}}function tu(e,t){var n=El;El&=-2,El|=8;try{return e(t)}finally{0===(El=n)&&$o()}}function nu(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,xn(n)),null!==Sl)for(n=Sl.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&vo();break;case 3:Ii(),uo(po),uo(fo);break;case 5:Ri(r);break;case 4:Ii();break;case 13:case 19:uo(Mi);break;case 10:ti(r)}n=n.return}_l=e,Sl=Cu(e.current,null),Cl=t,Tl=xl,Nl=null,Ol=Pl=1073741823,Ll=null,jl=0,Il=!1}function ru(e,t){for(;;){try{if(ei(),Bi.current=ma,qi)for(var n=Vi.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(Ui=0,Gi=Wi=Vi=null,qi=!1,null===Sl||null===Sl.return)return Tl=1,Nl=t,Sl=null;e:{var o=e,i=Sl.return,a=Sl,l=t;if(t=Cl,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==l&&"object"==typeof l&&"function"==typeof l.then){var u=l;if(0==(2&a.mode)){var s=a.alternate;s?(a.updateQueue=s.updateQueue,a.memoizedState=s.memoizedState,a.expirationTime=s.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var c=0!=(1&Mi.current),f=i;do{var p;if(p=13===f.tag){var d=f.memoizedState;if(null!==d)p=null!==d.dehydrated;else{var h=f.memoizedProps;p=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!c)}}if(p){var g=f.updateQueue;if(null===g){var m=new Set;m.add(u),f.updateQueue=m}else g.add(u);if(0==(2&f.mode)){if(f.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var v=ui(1073741823,null);v.tag=2,si(a,v)}a.expirationTime=1073741823;break e}l=void 0,a=t;var b=o.pingCache;if(null===b?(b=o.pingCache=new dl,l=new Set,b.set(u,l)):void 0===(l=b.get(u))&&(l=new Set,b.set(u,l)),!l.has(a)){l.add(a);var y=yu.bind(null,o,u,a);u.then(y,y)}f.effectTag|=4096,f.expirationTime=t;break e}f=f.return}while(null!==f);l=Error((me(a.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+ve(a))}5!==Tl&&(Tl=2),l=Za(l,a),f=i;do{switch(f.tag){case 3:u=l,f.effectTag|=4096,f.expirationTime=t,ci(f,hl(f,u,t));break e;case 1:u=l;var x=f.type,w=f.stateNode;if(0==(64&f.effectTag)&&("function"==typeof x.getDerivedStateFromError||null!==w&&"function"==typeof w.componentDidCatch&&(null===Fl||!Fl.has(w)))){f.effectTag|=4096,f.expirationTime=t,ci(f,gl(f,u,t));break e}}f=f.return}while(null!==f)}Sl=cu(Sl)}catch(e){t=e;continue}break}}function ou(){var e=bl.current;return bl.current=ma,null===e?ma:e}function iu(e,t){e<Pl&&2<e&&(Pl=e),null!==t&&e<Ol&&2<e&&(Ol=e,Ll=t)}function au(e){e>jl&&(jl=e)}function lu(){for(;null!==Sl;)Sl=su(Sl)}function uu(){for(;null!==Sl&&!zo();)Sl=su(Sl)}function su(e){var t=ml(e.alternate,e,Cl);return e.memoizedProps=e.pendingProps,null===t&&(t=cu(e)),yl.current=null,t}function cu(e){Sl=e;do{var t=Sl.alternate;if(e=Sl.return,0==(2048&Sl.effectTag)){if(t=Qa(t,Sl,Cl),1===Cl||1!==Sl.childExpirationTime){for(var n=0,r=Sl.child;null!==r;){var o=r.expirationTime,i=r.childExpirationTime;o>n&&(n=o),i>n&&(n=i),r=r.sibling}Sl.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Sl.firstEffect),null!==Sl.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Sl.firstEffect),e.lastEffect=Sl.lastEffect),1<Sl.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Sl:e.firstEffect=Sl,e.lastEffect=Sl))}else{if(null!==(t=Xa(Sl)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Sl.sibling))return t;Sl=e}while(null!==Sl);return Tl===xl&&(Tl=5),null}function fu(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function pu(e){var t=Uo();return Wo(99,du.bind(null,e,t)),null}function du(e,t){do{gu()}while(null!==Al);if(0!=(48&El))throw Error(a(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var o=fu(n);if(e.firstPendingTime=o,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===_l&&(Sl=_l=null,Cl=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,o=n.firstEffect):o=n:o=n.firstEffect,null!==o){var i=El;El|=32,yl.current=null,gn=$t;var l=dn();if(hn(l)){if("selectionStart"in l)var u={start:l.selectionStart,end:l.selectionEnd};else e:{var s=(u=(u=l.ownerDocument)&&u.defaultView||window).getSelection&&u.getSelection();if(s&&0!==s.rangeCount){u=s.anchorNode;var c=s.anchorOffset,f=s.focusNode;s=s.focusOffset;try{u.nodeType,f.nodeType}catch(e){u=null;break e}var p=0,d=-1,h=-1,g=0,m=0,v=l,b=null;t:for(;;){for(var y;v!==u||0!==c&&3!==v.nodeType||(d=p+c),v!==f||0!==s&&3!==v.nodeType||(h=p+s),3===v.nodeType&&(p+=v.nodeValue.length),null!==(y=v.firstChild);)b=v,v=y;for(;;){if(v===l)break t;if(b===u&&++g===c&&(d=p),b===f&&++m===s&&(h=p),null!==(y=v.nextSibling))break;b=(v=b).parentNode}v=y}u=-1===d||-1===h?null:{start:d,end:h}}else u=null}u=u||{start:0,end:0}}else u=null;mn={activeElementDetached:null,focusedElem:l,selectionRange:u},$t=!1,Rl=o;do{try{hu()}catch(e){if(null===Rl)throw Error(a(330));bu(Rl,e),Rl=Rl.nextEffect}}while(null!==Rl);Rl=o;do{try{for(l=e,u=t;null!==Rl;){var x=Rl.effectTag;if(16&x&&Ae(Rl.stateNode,""),128&x){var w=Rl.alternate;if(null!==w){var k=w.ref;null!==k&&("function"==typeof k?k(null):k.current=null)}}switch(1038&x){case 2:sl(Rl),Rl.effectTag&=-3;break;case 6:sl(Rl),Rl.effectTag&=-3,fl(Rl.alternate,Rl);break;case 1024:Rl.effectTag&=-1025;break;case 1028:Rl.effectTag&=-1025,fl(Rl.alternate,Rl);break;case 4:fl(Rl.alternate,Rl);break;case 8:cl(l,c=Rl,u),ll(c)}Rl=Rl.nextEffect}}catch(e){if(null===Rl)throw Error(a(330));bu(Rl,e),Rl=Rl.nextEffect}}while(null!==Rl);if(k=mn,w=dn(),x=k.focusedElem,u=k.selectionRange,w!==x&&x&&x.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(x.ownerDocument.documentElement,x)){null!==u&&hn(x)&&(w=u.start,void 0===(k=u.end)&&(k=w),"selectionStart"in x?(x.selectionStart=w,x.selectionEnd=Math.min(k,x.value.length)):(k=(w=x.ownerDocument||document)&&w.defaultView||window).getSelection&&(k=k.getSelection(),c=x.textContent.length,l=Math.min(u.start,c),u=void 0===u.end?l:Math.min(u.end,c),!k.extend&&l>u&&(c=u,u=l,l=c),c=pn(x,l),f=pn(x,u),c&&f&&(1!==k.rangeCount||k.anchorNode!==c.node||k.anchorOffset!==c.offset||k.focusNode!==f.node||k.focusOffset!==f.offset)&&((w=w.createRange()).setStart(c.node,c.offset),k.removeAllRanges(),l>u?(k.addRange(w),k.extend(f.node,f.offset)):(w.setEnd(f.node,f.offset),k.addRange(w))))),w=[];for(k=x;k=k.parentNode;)1===k.nodeType&&w.push({element:k,left:k.scrollLeft,top:k.scrollTop});for("function"==typeof x.focus&&x.focus(),x=0;x<w.length;x++)(k=w[x]).element.scrollLeft=k.left,k.element.scrollTop=k.top}$t=!!gn,mn=gn=null,e.current=n,Rl=o;do{try{for(x=e;null!==Rl;){var E=Rl.effectTag;if(36&E&&il(x,Rl.alternate,Rl),128&E){w=void 0;var _=Rl.ref;if(null!==_){var S=Rl.stateNode;switch(Rl.tag){case 5:w=S;break;default:w=S}"function"==typeof _?_(w):_.current=w}}Rl=Rl.nextEffect}}catch(e){if(null===Rl)throw Error(a(330));bu(Rl,e),Rl=Rl.nextEffect}}while(null!==Rl);Rl=null,Ro(),El=i}else e.current=n;if(Bl)Bl=!1,Al=e,Ul=t;else for(Rl=o;null!==Rl;)t=Rl.nextEffect,Rl.nextEffect=null,Rl=t;if(0===(t=e.firstPendingTime)&&(Fl=null),1073741823===t?e===Gl?Wl++:(Wl=0,Gl=e):Wl=0,"function"==typeof wu&&wu(n.stateNode,r),Xl(e),Ml)throw Ml=!1,e=Dl,Dl=null,e;return 0!=(8&El)||$o(),null}function hu(){for(;null!==Rl;){var e=Rl.effectTag;0!=(256&e)&&nl(Rl.alternate,Rl),0==(512&e)||Bl||(Bl=!0,Go(97,(function(){return gu(),null}))),Rl=Rl.nextEffect}}function gu(){if(90!==Ul){var e=97<Ul?97:Ul;return Ul=90,Wo(e,mu)}}function mu(){if(null===Al)return!1;var e=Al;if(Al=null,0!=(48&El))throw Error(a(331));var t=El;for(El|=32,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!=(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:rl(5,n),ol(5,n)}}catch(t){if(null===e)throw Error(a(330));bu(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return El=t,$o(),!0}function vu(e,t,n){si(e,t=hl(e,t=Za(n,t),1073741823)),null!==(e=Kl(e,1073741823))&&Xl(e)}function bu(e,t){if(3===e.tag)vu(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){vu(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Fl||!Fl.has(r))){si(n,e=gl(n,e=Za(t,e),1073741823)),null!==(n=Kl(n,1073741823))&&Xl(n);break}}n=n.return}}function yu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),_l===e&&Cl===n?Tl===kl||Tl===wl&&1073741823===Pl&&Ao()-zl<500?nu(e,Cl):Il=!0:ju(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,Xl(e)))}function xu(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=Yl(t=$l(),e,null)),null!==(e=Kl(e,t))&&Xl(e)}ml=function(e,t,n){var r=t.expirationTime;if(null!==e){var o=t.pendingProps;if(e.memoizedProps!==o||po.current)Oa=!0;else{if(r<n){switch(Oa=!1,t.tag){case 3:Ba(t),Na();break;case 5:if(zi(t),4&t.mode&&1!==n&&o.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:mo(t.type)&&xo(t);break;case 4:ji(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,o=t.type._context,so(Qo,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?Ga(e,t,n):(so(Mi,1&Mi.current),null!==(t=Ha(e,t,n))?t.sibling:null);so(Mi,1&Mi.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return Ya(e,t,n);t.effectTag|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null),so(Mi,Mi.current),!r)return null}return Ha(e,t,n)}Oa=!1}}else Oa=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,o=go(t,fo.current),ri(t,n),o=Hi(null,t,r,e,o,n),t.effectTag|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,mo(r)){var i=!0;xo(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,ai(t);var l=r.getDerivedStateFromProps;"function"==typeof l&&gi(t,r,l,e),o.updater=mi,t.stateNode=o,o._reactInternalFiber=t,xi(t,r,e,n),t=Fa(null,t,r,!0,i,n)}else t.tag=0,La(null,t,o,n),t=t.child;return t;case 16:e:{if(o=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(o),1!==o._status)throw o._result;switch(o=o._result,t.type=o,i=t.tag=function(e){if("function"==typeof e)return Su(e)?1:0;if(null!=e){if((e=e.$$typeof)===ue)return 11;if(e===fe)return 14}return 2}(o),e=Ko(o,e),i){case 0:t=Ma(null,t,o,e,n);break e;case 1:t=Da(null,t,o,e,n);break e;case 11:t=ja(null,t,o,e,n);break e;case 14:t=Ia(null,t,o,Ko(o.type,e),r,n);break e}throw Error(a(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Ma(e,t,r,o=t.elementType===r?o:Ko(r,o),n);case 1:return r=t.type,o=t.pendingProps,Da(e,t,r,o=t.elementType===r?o:Ko(r,o),n);case 3:if(Ba(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,li(e,t),fi(t,r,null,n),(r=t.memoizedState.element)===o)Na(),t=Ha(e,t,n);else{if((o=t.stateNode.hydrate)&&(wa=wn(t.stateNode.containerInfo.firstChild),xa=t,o=ka=!0),o)for(n=Ci(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else La(e,t,r,n),Na();t=t.child}return t;case 5:return zi(t),null===e&&Sa(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,l=o.children,bn(r,o)?l=null:null!==i&&bn(r,i)&&(t.effectTag|=16),Ra(e,t),4&t.mode&&1!==n&&o.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(La(e,t,l,n),t=t.child),t;case 6:return null===e&&Sa(t),null;case 13:return Ga(e,t,n);case 4:return ji(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Si(t,null,r,n):La(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,ja(e,t,r,o=t.elementType===r?o:Ko(r,o),n);case 7:return La(e,t,t.pendingProps,n),t.child;case 8:case 12:return La(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,l=t.memoizedProps,i=o.value;var u=t.type._context;if(so(Qo,u._currentValue),u._currentValue=i,null!==l)if(u=l.value,0===(i=Dr(u,i)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,i):1073741823))){if(l.children===o.children&&!po.current){t=Ha(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var s=u.dependencies;if(null!==s){l=u.child;for(var c=s.firstContext;null!==c;){if(c.context===r&&0!=(c.observedBits&i)){1===u.tag&&((c=ui(n,null)).tag=2,si(u,c)),u.expirationTime<n&&(u.expirationTime=n),null!==(c=u.alternate)&&c.expirationTime<n&&(c.expirationTime=n),ni(u.return,n),s.expirationTime<n&&(s.expirationTime=n);break}c=c.next}}else l=10===u.tag&&u.type===t.type?null:u.child;if(null!==l)l.return=u;else for(l=u;null!==l;){if(l===t){l=null;break}if(null!==(u=l.sibling)){u.return=l.return,l=u;break}l=l.return}u=l}La(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,ri(t,n),r=r(o=oi(o,i.unstable_observedBits)),t.effectTag|=1,La(e,t,r,n),t.child;case 14:return i=Ko(o=t.type,t.pendingProps),Ia(e,t,o,i=Ko(o.type,i),r,n);case 15:return za(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ko(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,mo(r)?(e=!0,xo(t)):e=!1,ri(t,n),bi(t,r,o),xi(t,r,o,n),Fa(null,t,r,!0,e,n);case 19:return Ya(e,t,n)}throw Error(a(156,t.tag))};var wu=null,ku=null;function Eu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function _u(e,t,n,r){return new Eu(e,t,n,r)}function Su(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Cu(e,t){var n=e.alternate;return null===n?((n=_u(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Tu(e,t,n,r,o,i){var l=2;if(r=e,"function"==typeof e)Su(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case ne:return Nu(n.children,o,i,t);case le:l=8,o|=7;break;case re:l=8,o|=1;break;case oe:return(e=_u(12,n,t,8|o)).elementType=oe,e.type=oe,e.expirationTime=i,e;case se:return(e=_u(13,n,t,o)).type=se,e.elementType=se,e.expirationTime=i,e;case ce:return(e=_u(19,n,t,o)).elementType=ce,e.expirationTime=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case ie:l=10;break e;case ae:l=9;break e;case ue:l=11;break e;case fe:l=14;break e;case pe:l=16,r=null;break e;case de:l=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=_u(l,n,t,o)).elementType=e,t.type=r,t.expirationTime=i,t}function Nu(e,t,n,r){return(e=_u(7,e,r,t)).expirationTime=n,e}function Pu(e,t,n){return(e=_u(6,e,null,t)).expirationTime=n,e}function Ou(e,t,n){return(t=_u(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Lu(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function ju(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Iu(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function zu(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Ru(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Mu(e,t,n,r){var o=t.current,i=$l(),l=di.suspense;i=Yl(i,o,l);e:if(n){t:{if(Je(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(mo(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw Error(a(171))}if(1===n.tag){var s=n.type;if(mo(s)){n=yo(n,s,u);break e}}n=u}else n=co;return null===t.context?t.context=n:t.pendingContext=n,(t=ui(i,l)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),si(o,t),Hl(o,i),i}function Du(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Fu(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function Bu(e,t){Fu(e,t),(e=e.alternate)&&Fu(e,t)}function Au(e,t,n){var r=new Lu(e,t,n=null!=n&&!0===n.hydrate),o=_u(3,null,null,2===t?7:1===t?3:0);r.current=o,o.stateNode=r,ai(o),e[Cn]=r.current,n&&0!==t&&function(e,t){var n=Ze(t);Ct.forEach((function(e){ht(e,t,n)})),Tt.forEach((function(e){ht(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function Uu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Vu(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"==typeof o){var l=o;o=function(){var e=Du(a);l.call(e)}}Mu(t,a,e,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Au(e,0,t?{hydrate:!0}:void 0)}(n,r),a=i._internalRoot,"function"==typeof o){var u=o;o=function(){var e=Du(a);u.call(e)}}tu((function(){Mu(t,a,e,o)}))}return Du(a)}function Wu(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:te,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Gu(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Uu(t))throw Error(a(200));return Wu(e,t,null,n)}Au.prototype.render=function(e){Mu(e,this._internalRoot,null,null)},Au.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Mu(null,e,null,(function(){t[Cn]=null}))},gt=function(e){if(13===e.tag){var t=Ho($l(),150,100);Hl(e,t),Bu(e,t)}},mt=function(e){13===e.tag&&(Hl(e,3),Bu(e,3))},vt=function(e){if(13===e.tag){var t=$l();Hl(e,t=Yl(t,e,null)),Bu(e,t)}},N=function(e,t,n){switch(t){case"input":if(Se(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=On(r);if(!o)throw Error(a(90));we(r),Se(r,o)}}}break;case"textarea":je(e,n);break;case"select":null!=(t=n.value)&&Pe(e,!!n.multiple,t,!1)}},z=eu,R=function(e,t,n,r,o){var i=El;El|=4;try{return Wo(98,e.bind(null,t,n,r,o))}finally{0===(El=i)&&$o()}},M=function(){0==(49&El)&&(function(){if(null!==Vl){var e=Vl;Vl=null,e.forEach((function(e,t){Ru(t,e),Xl(t)})),$o()}}(),gu())},D=function(e,t){var n=El;El|=2;try{return e(t)}finally{0===(El=n)&&$o()}};var qu,$u,Yu={Events:[Nn,Pn,On,C,E,Dn,function(e){ot(e,Mn)},j,I,Xt,lt,gu,{current:!1}]};$u=(qu={findFiberByHostInstance:Tn,bundleType:0,version:"16.13.1",rendererPackageName:"react-dom"}).findFiberByHostInstance,function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);wu=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},ku=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}}(o({},qu,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Q.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=nt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return $u?$u(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null})),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Yu,t.createPortal=Gu,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=nt(t))?null:e.stateNode},t.flushSync=function(e,t){if(0!=(48&El))throw Error(a(187));var n=El;El|=1;try{return Wo(99,e.bind(null,t))}finally{El=n,$o()}},t.hydrate=function(e,t,n){if(!Uu(t))throw Error(a(200));return Vu(null,e,t,!0,n)},t.render=function(e,t,n){if(!Uu(t))throw Error(a(200));return Vu(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Uu(e))throw Error(a(40));return!!e._reactRootContainer&&(tu((function(){Vu(null,null,e,!1,(function(){e._reactRootContainer=null,e[Cn]=null}))})),!0)},t.unstable_batchedUpdates=eu,t.unstable_createPortal=function(e,t){return Gu(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Uu(n))throw Error(a(200));if(null==e||void 0===e._reactInternalFiber)throw Error(a(38));return Vu(e,t,n,!1,r)},t.version="16.13.1"},function(e,t,n){"use strict";e.exports=n(128)},function(e,t,n){"use strict";
- /** @license React v0.19.1
- * scheduler.production.min.js
- *
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */var r,o,i,a,l;if("undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,s=null,c=function(){if(null!==u)try{var e=t.unstable_now();u(!0,e),u=null}catch(e){throw setTimeout(c,0),e}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==u?setTimeout(r,0,e):(u=e,setTimeout(c,0))},o=function(e,t){s=setTimeout(e,t)},i=function(){clearTimeout(s)},a=function(){return!1},l=t.unstable_forceFrameRate=function(){}}else{var p=window.performance,d=window.Date,h=window.setTimeout,g=window.clearTimeout;if("undefined"!=typeof console){var m=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof m&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof p&&"function"==typeof p.now)t.unstable_now=function(){return p.now()};else{var v=d.now();t.unstable_now=function(){return d.now()-v}}var b=!1,y=null,x=-1,w=5,k=0;a=function(){return t.unstable_now()>=k},l=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):w=0<e?Math.floor(1e3/e):5};var E=new MessageChannel,_=E.port2;E.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();k=e+w;try{y(!0,e)?_.postMessage(null):(b=!1,y=null)}catch(e){throw _.postMessage(null),e}}else b=!1},r=function(e){y=e,b||(b=!0,_.postMessage(null))},o=function(e,n){x=h((function(){e(t.unstable_now())}),n)},i=function(){g(x),x=-1}}function S(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<N(o,t)))break e;e[r]=t,e[n]=o,n=r}}function C(e){return void 0===(e=e[0])?null:e}function T(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],l=i+1,u=e[l];if(void 0!==a&&0>N(a,n))void 0!==u&&0>N(u,a)?(e[r]=u,e[l]=n,r=l):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==u&&0>N(u,n)))break e;e[r]=u,e[l]=n,r=l}}}return t}return null}function N(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var P=[],O=[],L=1,j=null,I=3,z=!1,R=!1,M=!1;function D(e){for(var t=C(O);null!==t;){if(null===t.callback)T(O);else{if(!(t.startTime<=e))break;T(O),t.sortIndex=t.expirationTime,S(P,t)}t=C(O)}}function F(e){if(M=!1,D(e),!R)if(null!==C(P))R=!0,r(B);else{var t=C(O);null!==t&&o(F,t.startTime-e)}}function B(e,n){R=!1,M&&(M=!1,i()),z=!0;var r=I;try{for(D(n),j=C(P);null!==j&&(!(j.expirationTime>n)||e&&!a());){var l=j.callback;if(null!==l){j.callback=null,I=j.priorityLevel;var u=l(j.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?j.callback=u:j===C(P)&&T(P),D(n)}else T(P);j=C(P)}if(null!==j)var s=!0;else{var c=C(O);null!==c&&o(F,c.startTime-n),s=!1}return s}finally{j=null,I=r,z=!1}}function A(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var U=l;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){R||z||(R=!0,r(B))},t.unstable_getCurrentPriorityLevel=function(){return I},t.unstable_getFirstCallbackNode=function(){return C(P)},t.unstable_next=function(e){switch(I){case 1:case 2:case 3:var t=3;break;default:t=I}var n=I;I=t;try{return e()}finally{I=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=U,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=I;I=e;try{return t()}finally{I=n}},t.unstable_scheduleCallback=function(e,n,a){var l=t.unstable_now();if("object"==typeof a&&null!==a){var u=a.delay;u="number"==typeof u&&0<u?l+u:l,a="number"==typeof a.timeout?a.timeout:A(e)}else a=A(e),u=l;return e={id:L++,callback:n,priorityLevel:e,startTime:u,expirationTime:a=u+a,sortIndex:-1},u>l?(e.sortIndex=u,S(O,e),null===C(P)&&e===C(O)&&(M?i():M=!0,o(F,u-l))):(e.sortIndex=a,S(P,e),R||z||(R=!0,r(B))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();D(e);var n=C(P);return n!==j&&null!==j&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<j.expirationTime||a()},t.unstable_wrapCallback=function(e){var t=I;return function(){var n=I;I=t;try{return e.apply(this,arguments)}finally{I=n}}}},function(e,t){e.exports="data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg' width='17' height='17'%3E %3Cpath d='M4.21967 8.46967C4.51256 8.17678 4.98744 8.17678 5.28033 8.46967L12 15.1893L18.7197 8.46967C19.0126 8.17678 19.4874 8.17678 19.7803 8.46967C20.0732 8.76256 20.0732 9.23744 19.7803 9.53033L12.5303 16.7803C12.2374 17.0732 11.7626 17.0732 11.4697 16.7803L4.21967 9.53033C3.92678 9.23744 3.92678 8.76256 4.21967 8.46967Z' fill='white' /%3E %3C/svg%3E"},function(e,t,n){var r=n(24),o=n(131);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){(t=n(25)(!1)).push([e.i,'#guiList{background:#333333;height:100%;margin:0;padding:0;display:grid;width:100%;overflow:hidden}#guiList .panes{overflow:hidden}#guiList .panes .pane{color:white;overflow:hidden;height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#guiList .panes .pane .filter{display:flex;align-items:stretch}#guiList .panes .pane .filter input{width:100%;margin:10px 10px 5px 10px;display:block;border:none;padding:0;border-bottom:solid 1px #337ab7;background:linear-gradient(to bottom, rgba(255,255,255,0) 96%, #337ab7 4%);background-position:-1000px 0;background-size:1000px 100%;background-repeat:no-repeat;color:white}#guiList .panes .pane .filter input:focus{box-shadow:none;outline:none;background-position:0 0}#guiList .panes .pane .filter input::placeholder{color:gray}#guiList .panes .pane .list-container{overflow-x:hidden;overflow-y:auto;height:calc(100% - 32px)}#guiList .panes .pane .list-container .underline{border-bottom:0.5px solid rgba(255,255,255,0.5)}#guiList .panes .pane .list-container .draggableLine{height:30px;display:grid;align-items:center;justify-items:stretch;background:#222222;cursor:grab;text-align:center;margin:0;box-sizing:border-box}#guiList .panes .pane .list-container .draggableLine:hover{background:#337ab7;color:white}#guiList .panes .pane .list-container .nonDraggableLine{height:30px;display:grid;align-items:center;justify-items:stretch;background:#222222;text-align:center;margin:0;box-sizing:border-box}#guiList .panes .pane .list-container .withButton{height:30px;position:relative}#guiList .panes .pane .list-container .withButton .icon{position:absolute;right:4px;top:5px}#guiList .panes .pane .list-container .withButton .icon:hover{cursor:pointer}#guiList .panes .pane .list-container .withButton .icon .img{height:17px;width:17px}#guiList .panes .pane .list-container .withButton .buttonLine{height:30px;display:grid;align-items:center;justify-items:stretch;padding-bottom:5px;position:absolute;right:0px;top:2px}#guiList .panes .pane .list-container .withButton .buttonLine input[type="file"]{display:none}#guiList .panes .pane .list-container .withButton .buttonLine .file-upload{background:transparent;border:transparent;padding:15px 200px;opacity:0.9;cursor:pointer;text-align:center}#guiList .panes .pane .list-container .withButton .buttonLine .file-upload:hover{opacity:1.0}#guiList .panes .pane .list-container .withButton .buttonLine .file-upload:active{transform:scale(0.98);transform-origin:0.5 0.5}#guiList .panes .pane .list-container .withButton .buttonLine button{background:transparent;border:transparent;margin:5px 10px 5px 10px;color:white;padding:4px 5px;opacity:0.9}#guiList .panes .pane .list-container .withButton .buttonLine button:hover{opacity:0.0}#guiList .panes .pane .list-container .withButton .buttonLine button:active{background:transparent}#guiList .panes .pane .list-container .withButton .buttonLine button:focus{border:transparent;outline:0px}#guiList .panes .pane .list-container .paneContainer{margin-top:3px;display:grid;grid-template-rows:100%;grid-template-columns:100%}#guiList .panes .pane .list-container .paneContainer .paneContainer-content{grid-row:1;grid-column:1}#guiList .panes .pane .list-container .paneContainer .paneContainer-content .header{display:grid;grid-template-columns:1fr auto;background:#555555;height:30px;padding-right:5px;cursor:pointer}#guiList .panes .pane .list-container .paneContainer .paneContainer-content .header .title{border-left:3px solid transparent;padding-left:5px;grid-column:1;display:flex;align-items:center}#guiList .panes .pane .list-container .paneContainer .paneContainer-content .header .collapse{grid-column:2;display:flex;align-items:center;justify-items:center;transform-origin:center}#guiList .panes .pane .list-container .paneContainer .paneContainer-content .header .collapse.closed{transform:rotate(180deg)}#guiList .panes .pane .list-container .paneContainer .paneContainer-content .paneList>div:not(:last-child){border-bottom:1px solid rgba(255,255,255,0.3)}\n',""]),e.exports=t},function(e,t,n){var r=n(24),o=n(133);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){(t=n(25)(!1)).push([e.i,'#propertyTab{color:white;background:#333333}#propertyTab #header{height:30px;font-size:16px;color:white;background:#222222;grid-row:1;text-align:center;display:grid;grid-template-columns:30px 1fr;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#propertyTab #header #logo{position:relative;grid-column:1;width:24px;height:24px;left:0;display:flex;align-self:center;justify-self:center}#propertyTab #header #title{grid-column:2;display:grid;align-items:center;text-align:center}#propertyTab .range{-webkit-appearance:none;width:120px;height:6px;background:#d3d3d3;border-radius:5px;outline:none;opacity:0.7;-webkit-transition:.2s;transition:opacity .2s}#propertyTab .range:hover{opacity:1}#propertyTab .range::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:14px;height:14px;border-radius:50%;background:#337ab7;cursor:pointer}#propertyTab .range::-moz-range-thumb{width:14px;height:14px;border-radius:50%;background:#337ab7;cursor:pointer}#propertyTab input[type="color"]{-webkit-appearance:none;border:1px solid rgba(255,255,255,0.5);padding:0;width:30px;height:20px}#propertyTab input[type="color"]::-webkit-color-swatch-wrapper{padding:0}#propertyTab input[type="color"]::-webkit-color-swatch{border:none}#propertyTab .sliderLine{padding-left:5px;height:30px;display:grid;grid-template-rows:100%;grid-template-columns:1fr 40px}#propertyTab .sliderLine .label{grid-column:1;display:flex;align-items:center}#propertyTab .sliderLine .slider{grid-column:3;grid-row:1;margin-right:5px;width:90%;display:flex;align-items:center}#propertyTab .sliderLine .floatLine{padding-left:5px}#propertyTab .sliderLine .floatLine .label{grid-column:1;display:flex;align-items:center}#propertyTab .sliderLine .floatLine .short{grid-column:1;display:flex;align-items:center}#propertyTab .sliderLine .floatLine .short input{width:27px}#propertyTab .sliderLine .floatLine .short input::-webkit-outer-spin-button,#propertyTab .sliderLine .floatLine .short input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}#propertyTab .sliderLine .floatLine .short input[type=number]{-moz-appearance:textfield}#propertyTab .textInputLine{padding-left:5px;height:30px;display:grid;grid-template-columns:1fr 120px auto}#propertyTab .textInputLine .label{grid-column:1;display:flex;align-items:center}#propertyTab .textInputLine .value{display:flex;align-items:center;grid-column:2}#propertyTab .textInputLine .value input{width:calc(100% - 5px)}#propertyTab .textInputArea{padding-left:5px;height:100%;display:grid;grid-template-columns:1fr 120px}#propertyTab .textInputArea .label{grid-column:1;display:flex;align-items:center}#propertyTab .textInputArea .value{display:flex;align-items:center;grid-column:2}#propertyTab .textInputArea .value textarea{width:calc(150% - 5px);margin-left:-50%;height:40px}#propertyTab .paneContainer{margin-top:3px;display:grid;grid-template-rows:100%;grid-template-columns:100%}#propertyTab .paneContainer .paneList{border-left:3px solid transparent}#propertyTab .paneContainer:hover .paneList{border-left:3px solid rgba(51,122,183,0.8)}#propertyTab .paneContainer:hover .paneContainer-content .header .title{border-left:3px solid #337ab7}#propertyTab .paneContainer .paneContainer-highlight-border{grid-row:1;grid-column:1;opacity:1;border:3px solid red;transition:opacity 250ms;pointer-events:none}#propertyTab .paneContainer .paneContainer-highlight-border.transparent{opacity:0}#propertyTab .paneContainer .paneContainer-content{grid-row:1;grid-column:1}#propertyTab .paneContainer .paneContainer-content .header{display:grid;grid-template-columns:1fr auto;background:#555555;height:30px;padding-right:5px;cursor:pointer}#propertyTab .paneContainer .paneContainer-content .header .title{border-left:3px solid transparent;padding-left:5px;grid-column:1;display:flex;align-items:center}#propertyTab .paneContainer .paneContainer-content .header .collapse{grid-column:2;display:flex;align-items:center;justify-items:center;transform-origin:center}#propertyTab .paneContainer .paneContainer-content .header .collapse.closed{transform:rotate(180deg)}#propertyTab .paneContainer .paneContainer-content .paneList>div:not(:last-child){border-bottom:0.5px solid rgba(255,255,255,0.1)}#propertyTab .paneContainer .paneContainer-content .fragment>div:not(:last-child){border-bottom:0.5px solid rgba(255,255,255,0.1)}#propertyTab .color-picker{height:calc(100% - 8px);margin:4px;width:calc(100% - 8px)}#propertyTab .color-picker .color-rect{height:calc(100% - 4px);border:2px white solid;cursor:pointer;min-height:18px}#propertyTab .color-picker .color-picker-cover{position:fixed;top:0px;right:0px;bottom:0px;left:0px}#propertyTab .color-picker .color-picker-float{z-index:2;position:absolute}#propertyTab .gradient-step{display:grid;grid-template-rows:100%;grid-template-columns:20px 30px 40px auto 20px 30px;padding-top:5px;padding-left:5px;padding-bottom:5px}#propertyTab .gradient-step .step{grid-row:1;grid-column:1}#propertyTab .gradient-step .color{grid-row:1;grid-column:2;cursor:pointer}#propertyTab .gradient-step .step-value{margin-left:5px;grid-row:1;grid-column:3;text-align:right;margin-right:5px}#propertyTab .gradient-step .step-slider{grid-row:1;grid-column:4;display:grid;justify-content:stretch;align-content:center;margin-right:-5px;padding-left:12px}#propertyTab .gradient-step .step-slider input{width:90%}#propertyTab .gradient-step .gradient-copy{grid-row:1;grid-column:5;display:grid;align-content:center;justify-content:center}#propertyTab .gradient-step .gradient-copy .img{height:20px;width:20px}#propertyTab .gradient-step .gradient-copy .img:hover{cursor:pointer}#propertyTab .gradient-step .gradient-delete{grid-row:1;grid-column:6;display:grid;align-content:center;justify-content:center}#propertyTab .gradient-step .gradient-delete .img{height:20px;width:20px}#propertyTab .gradient-step .gradient-delete .img:hover{cursor:pointer}#propertyTab .floatLine{padding-left:5px;height:30px;display:grid;grid-template-columns:1fr 120px}#propertyTab .floatLine .label{grid-column:1;display:flex;align-items:center}#propertyTab .floatLine .value{grid-column:2;display:flex;align-items:center}#propertyTab .floatLine .value input{width:110px}#propertyTab .floatLine .short{grid-column:2;display:flex;align-items:center}#propertyTab .floatLine .short input{width:27px}#propertyTab .floatLine .short input::-webkit-outer-spin-button,#propertyTab .floatLine .short input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}#propertyTab .floatLine .short input[type=number]{-moz-appearance:textfield}#propertyTab .vector3Line{padding-left:5px;display:grid}#propertyTab .vector3Line .firstLine{display:grid;grid-template-columns:1fr auto 20px;height:30px}#propertyTab .vector3Line .firstLine .label{grid-column:1;display:flex;align-items:center}#propertyTab .vector3Line .firstLine .vector{grid-column:2;display:flex;align-items:center;text-align:right;opacity:0.8}#propertyTab .vector3Line .firstLine .expand{grid-column:3;display:grid;align-items:center;justify-items:center;cursor:pointer}#propertyTab .vector3Line .secondLine{display:grid;padding-right:5px;border-left:1px solid #337ab7}#propertyTab .vector3Line .secondLine .no-right-margin{margin-right:0}#propertyTab .vector3Line .secondLine .numeric{display:grid;grid-template-columns:1fr auto}#propertyTab .vector3Line .secondLine .numeric-label{text-align:right;grid-column:1;display:flex;align-items:center;justify-self:right;margin-right:10px}#propertyTab .vector3Line .secondLine .numeric-value{width:120px;grid-column:2;display:flex;align-items:center;border:1px solid #337ab7}#propertyTab .buttonLine{height:30px;display:grid;align-items:center;justify-items:stretch;padding-bottom:5px}#propertyTab .buttonLine input[type="file"]{display:none}#propertyTab .buttonLine .file-upload{background:#222222;border:1px solid #337ab7;margin:5px 10px;color:white;padding:4px 5px;padding-top:0px;opacity:0.9;cursor:pointer;text-align:center}#propertyTab .buttonLine .file-upload:hover{opacity:1.0}#propertyTab .buttonLine .file-upload:active{transform:scale(0.98);transform-origin:0.5 0.5}#propertyTab .buttonLine button{background:#222222;border:1px solid #337ab7;margin:5px 10px 5px 10px;color:white;padding:4px 5px;opacity:0.9}#propertyTab .buttonLine button:hover{opacity:1.0}#propertyTab .buttonLine button:active{background:#282828}#propertyTab .buttonLine button:focus{border:1px solid #337ab7;outline:0px}#propertyTab .numeric{padding-left:5px;height:30px;display:grid;grid-template-columns:1fr 120px auto}#propertyTab .numeric .numeric-label{grid-column:1;display:flex;align-items:center}#propertyTab .numeric .number{display:flex;align-items:center;grid-column:2;height:10px}#propertyTab .numeric .number .input{width:calc(100% - 5px);height:10px}#propertyTab .checkBoxLine{padding-left:5px;height:30px;display:grid;grid-template-columns:1fr auto}#propertyTab .checkBoxLine .label{grid-column:1;display:flex;align-items:center}#propertyTab .checkBoxLine .checkBox{grid-column:2;display:flex;align-items:center}#propertyTab .checkBoxLine .checkBox .lbl{position:relative;display:block;height:14px;width:34px;margin-right:5px;background:#898989;border-radius:100px;cursor:pointer;transition:all 0.3s ease}#propertyTab .checkBoxLine .checkBox .lbl:after{position:absolute;left:3px;top:2px;display:block;width:10px;height:10px;border-radius:100px;background:#fff;box-shadow:0px 3px 3px rgba(0,0,0,0.05);content:\'\';transition:all 0.15s ease}#propertyTab .checkBoxLine .checkBox .lbl:active:after{transform:scale(1.15, 0.85)}#propertyTab .checkBoxLine .checkBox .cbx:checked ~ label{background:#337ab7}#propertyTab .checkBoxLine .checkBox .cbx:checked ~ label:after{left:20px;background:#164975}#propertyTab .checkBoxLine .checkBox .cbx:checked ~ label.disabled{background:#164975;cursor:pointer}#propertyTab .checkBoxLine .checkBox .cbx:checked ~ label.disabled:after{left:20px;background:#555;cursor:pointer}#propertyTab .checkBoxLine .checkBox .cbx ~ label.disabled{background:#555;cursor:pointer}#propertyTab .checkBoxLine .checkBox .hidden{display:none}#propertyTab .listLine{padding-left:5px;height:30px;display:grid;grid-template-columns:1fr auto}#propertyTab .listLine .label{grid-column:1;display:flex;align-items:center}#propertyTab .listLine .options{grid-column:2;display:flex;align-items:center;margin-right:5px}#propertyTab .listLine .options select{width:115px}#propertyTab .color3Line{padding-left:5px;display:grid}#propertyTab .color3Line .firstLine{height:30px;display:grid;grid-template-columns:1fr auto 20px 20px}#propertyTab .color3Line .firstLine .label{grid-column:1;display:flex;align-items:center}#propertyTab .color3Line .firstLine .color3{grid-column:2;width:50px;display:flex;align-items:center}#propertyTab .color3Line .firstLine .color3 input{margin-right:5px}#propertyTab .color3Line .firstLine .copy{grid-column:3;display:grid;align-items:center;justify-items:center;cursor:pointer}#propertyTab .color3Line .firstLine .copy img{height:100%;width:20px}#propertyTab .color3Line .firstLine .expand{grid-column:4;display:grid;align-items:center;justify-items:center;cursor:pointer}#propertyTab .color3Line .firstLine .expand img{height:100%;width:20px}#propertyTab .color3Line .secondLine{display:grid;padding-right:5px;border-left:1px solid #337ab7}#propertyTab .color3Line .secondLine .numeric{display:grid;grid-template-columns:1fr auto}#propertyTab .color3Line .secondLine .numeric-label{text-align:right;grid-column:1;display:flex;align-items:center;justify-self:right;margin-right:10px}#propertyTab .color3Line .secondLine .numeric-value{width:120px;grid-column:2;display:flex;align-items:center;border:1px solid #337ab7}#propertyTab .textLine{padding-left:5px;height:30px;display:grid;grid-template-columns:1fr auto}#propertyTab .textLine .label{grid-column:1;display:flex;align-items:center}#propertyTab .textLine .link-value{grid-column:2;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:end;opacity:0.8;margin:5px;margin-top:6px;max-width:140px;text-decoration:underline;cursor:pointer}#propertyTab .textLine .value{grid-column:2;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:end;opacity:0.8;margin:5px;margin-top:6px;max-width:200px;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}#propertyTab .textLine .value.check{color:green}#propertyTab .textLine .value.uncheck{color:red}\n',""]),e.exports=t},function(e,t,n){var r=n(24),o=n(135);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){(t=n(25)(!1)).push([e.i,"#log-console{background:#333333;height:120px;box-sizing:border-box;margin:0;padding:10px;width:100%;overflow:hidden;overflow-y:auto}#log-console .log{color:white;font-size:14px;font-family:'Courier New', Courier, monospace}#log-console .log.error{color:red}\n",""]),e.exports=t},function(e,t,n){var r=n(137);e.exports={Graph:r.Graph,json:n(239),alg:n(240),version:r.version}},function(e,t,n){e.exports={Graph:n(50),version:n(238)}},function(e,t,n){var r=n(71);e.exports=function(e){return r(e,4)}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(33),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},function(e,t,n){var r=n(33);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(33);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(33);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},function(e,t,n){var r=n(32);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(32),o=n(51),i=n(52);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var r=n(26),o=n(152),i=n(7),a=n(73),l=/^\[object .+?Constructor\]$/,u=Function.prototype,s=Object.prototype,c=u.toString,f=s.hasOwnProperty,p=RegExp("^"+c.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?p:l).test(a(e))}},function(e,t,n){var r=n(19),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,l=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[l]=n:delete e[l]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r,o=n(153),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},function(e,t,n){var r=n(9)["__core-js_shared__"];e.exports=r},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,n){var r=n(156),o=n(32),i=n(51);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},function(e,t,n){var r=n(157),o=n(158),i=n(159),a=n(160),l=n(161);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=l,e.exports=u},function(e,t,n){var r=n(34);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(34),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(34),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},function(e,t,n){var r=n(34);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t,n){var r=n(35);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(35);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(35);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(35);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},function(e,t,n){var r=n(27),o=n(13);e.exports=function(e,t){return e&&r(t,o(t),e)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},function(e,t,n){var r=n(15),o=n(10);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var r=n(15),o=n(55),i=n(10),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},function(e,t,n){var r=n(76)(Object.keys,Object);e.exports=r},function(e,t,n){var r=n(27),o=n(16);e.exports=function(e,t){return e&&r(t,o(t),e)}},function(e,t,n){var r=n(7),o=n(40),i=n(175),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var l in e)("constructor"!=l||!t&&a.call(e,l))&&n.push(l);return n}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t,n){var r=n(27),o=n(58);e.exports=function(e,t){return r(e,o(e),t)}},function(e,t,n){var r=n(27),o=n(81);e.exports=function(e,t){return r(e,o(e),t)}},function(e,t,n){var r=n(83),o=n(81),i=n(16);e.exports=function(e){return r(e,i,o)}},function(e,t,n){var r=n(14)(n(9),"DataView");e.exports=r},function(e,t,n){var r=n(14)(n(9),"Promise");e.exports=r},function(e,t,n){var r=n(14)(n(9),"WeakMap");e.exports=r},function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&n.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},function(e,t,n){var r=n(60),o=n(184),i=n(185),a=n(186),l=n(86);e.exports=function(e,t,n){var u=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new u(+e);case"[object DataView]":return o(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return l(e,n);case"[object Map]":return new u;case"[object Number]":case"[object String]":return new u(e);case"[object RegExp]":return i(e);case"[object Set]":return new u;case"[object Symbol]":return a(e)}}},function(e,t,n){var r=n(60);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},function(e,t){var n=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t,n){var r=n(19),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},function(e,t,n){var r=n(188),o=n(39),i=n(56),a=i&&i.isMap,l=a?o(a):r;e.exports=l},function(e,t,n){var r=n(21),o=n(10);e.exports=function(e){return o(e)&&"[object Map]"==r(e)}},function(e,t,n){var r=n(190),o=n(39),i=n(56),a=i&&i.isSet,l=a?o(a):r;e.exports=l},function(e,t,n){var r=n(21),o=n(10);e.exports=function(e){return o(e)&&"[object Set]"==r(e)}},function(e,t){e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),l=a.length;l--;){var u=a[e?l:++o];if(!1===n(i[u],u,i))break}return t}}},function(e,t,n){var r=n(11);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var i=n.length,a=t?i:-1,l=Object(n);(t?a--:++a<i)&&!1!==o(l[a],a,l););return n}}},function(e,t,n){var r=n(42);e.exports=function(e,t){var n=[];return r(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}},function(e,t,n){var r=n(195),o=n(203),i=n(98);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},function(e,t,n){var r=n(31),o=n(93);e.exports=function(e,t,n,i){var a=n.length,l=a,u=!i;if(null==e)return!l;for(e=Object(e);a--;){var s=n[a];if(u&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++a<l;){var c=(s=n[a])[0],f=e[c],p=s[1];if(u&&s[2]){if(void 0===f&&!(c in e))return!1}else{var d=new r;if(i)var h=i(f,p,c,e,t,d);if(!(void 0===h?o(p,f,3,i,d):h))return!1}}return!0}},function(e,t,n){var r=n(31),o=n(94),i=n(200),a=n(202),l=n(21),u=n(3),s=n(20),c=n(29),f="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,h,g){var m=u(e),v=u(t),b=m?"[object Array]":l(e),y=v?"[object Array]":l(t),x=(b="[object Arguments]"==b?f:b)==f,w=(y="[object Arguments]"==y?f:y)==f,k=b==y;if(k&&s(e)){if(!s(t))return!1;m=!0,x=!1}if(k&&!x)return g||(g=new r),m||c(e)?o(e,t,n,d,h,g):i(e,t,b,n,d,h,g);if(!(1&n)){var E=x&&p.call(e,"__wrapped__"),_=w&&p.call(t,"__wrapped__");if(E||_){var S=E?e.value():e,C=_?t.value():t;return g||(g=new r),h(S,C,n,d,g)}}return!!k&&(g||(g=new r),a(e,t,n,d,h,g))}},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},function(e,t,n){var r=n(19),o=n(85),i=n(18),a=n(94),l=n(201),u=n(64),s=r?r.prototype:void 0,c=s?s.valueOf:void 0;e.exports=function(e,t,n,r,s,f,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=l;case"[object Set]":var h=1&r;if(d||(d=u),e.size!=t.size&&!h)return!1;var g=p.get(e);if(g)return g==t;r|=2,p.set(e,t);var m=a(d(e),d(t),r,s,f,p);return p.delete(e),m;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},function(e,t,n){var r=n(82),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,l){var u=1&n,s=r(e),c=s.length;if(c!=r(t).length&&!u)return!1;for(var f=c;f--;){var p=s[f];if(!(u?p in t:o.call(t,p)))return!1}var d=l.get(e),h=l.get(t);if(d&&h)return d==t&&h==e;var g=!0;l.set(e,t),l.set(t,e);for(var m=u;++f<c;){var v=e[p=s[f]],b=t[p];if(i)var y=u?i(b,v,p,t,e,l):i(v,b,p,e,t,l);if(!(void 0===y?v===b||a(v,b,n,i,l):y)){g=!1;break}m||(m="constructor"==p)}if(g&&!m){var x=e.constructor,w=t.constructor;x==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(g=!1)}return l.delete(e),l.delete(t),g}},function(e,t,n){var r=n(97),o=n(13);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},function(e,t,n){var r=n(93),o=n(205),i=n(100),a=n(65),l=n(97),u=n(98),s=n(30);e.exports=function(e,t){return a(e)&&l(t)?u(s(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,3)}}},function(e,t,n){var r=n(43);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},function(e,t,n){var r=n(207),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},function(e,t,n){var r=n(208);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},function(e,t,n){var r=n(52);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},function(e,t,n){var r=n(19),o=n(45),i=n(3),a=n(22),l=r?r.prototype:void 0,u=l?l.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,n){var r=n(102),o=n(212),i=n(65),a=n(30);e.exports=function(e){return i(e)?r(a(e)):o(e)}},function(e,t,n){var r=n(43);e.exports=function(e){return function(t){return r(t,e)}}},function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&n.call(e,t)}},function(e,t,n){var r=n(57),o=n(21),i=n(28),a=n(3),l=n(11),u=n(20),s=n(40),c=n(29),f=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(l(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||c(e)||i(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(s(e))return!r(e).length;for(var n in e)if(f.call(e,n))return!1;return!0}},function(e,t){e.exports=function(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}},function(e,t){e.exports=function(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}},function(e,t,n){var r=n(57),o=n(21),i=n(11),a=n(218),l=n(219);e.exports=function(e){if(null==e)return 0;if(i(e))return a(e)?l(e):e.length;var t=o(e);return"[object Map]"==t||"[object Set]"==t?e.size:r(e).length}},function(e,t,n){var r=n(15),o=n(3),i=n(10);e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&"[object String]"==r(e)}},function(e,t,n){var r=n(220),o=n(221),i=n(222);e.exports=function(e){return o(e)?i(e):r(e)}},function(e,t,n){var r=n(102)("length");e.exports=r},function(e,t){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return n.test(e)}},function(e,t){var n="[\\ud800-\\udfff]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",l="[\\ud800-\\udbff][\\udc00-\\udfff]",u="(?:"+r+"|"+o+")"+"?",s="[\\ufe0e\\ufe0f]?"+u+("(?:\\u200d(?:"+[i,a,l].join("|")+")[\\ufe0e\\ufe0f]?"+u+")*"),c="(?:"+[i+r+"?",r,a,l,n].join("|")+")",f=RegExp(o+"(?="+o+")|"+c+s,"g");e.exports=function(e){for(var t=f.lastIndex=0;f.test(e);)++t;return t}},function(e,t,n){var r=n(53),o=n(88),i=n(62),a=n(12),l=n(41),u=n(3),s=n(20),c=n(26),f=n(7),p=n(29);e.exports=function(e,t,n){var d=u(e),h=d||s(e)||p(e);if(t=a(t,4),null==n){var g=e&&e.constructor;n=h?d?new g:[]:f(e)&&c(g)?o(l(e)):{}}return(h?r:i)(e,(function(e,r,o){return t(n,e,r,o)})),n}},function(e,t,n){var r=n(66),o=n(46),i=n(229),a=n(111),l=o((function(e){return i(r(e,1,a,!0))}));e.exports=l},function(e,t,n){var r=n(19),o=n(28),i=n(3),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},function(e,t){e.exports=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)}},function(e,t,n){var r=n(61),o=n(74),i=n(17),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},function(e,t){var n=Date.now;e.exports=function(e){var t=0,r=0;return function(){var o=n(),i=16-(o-r);if(r=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){var r=n(95),o=n(230),i=n(234),a=n(96),l=n(235),u=n(64);e.exports=function(e,t,n){var s=-1,c=o,f=e.length,p=!0,d=[],h=d;if(n)p=!1,c=i;else if(f>=200){var g=t?null:l(e);if(g)return u(g);p=!1,c=a,h=new r}else h=t?[]:d;e:for(;++s<f;){var m=e[s],v=t?t(m):m;if(m=n||0!==m?m:0,p&&v==v){for(var b=h.length;b--;)if(h[b]===v)continue e;t&&h.push(v),d.push(m)}else c(h,v,n)||(h!==d&&h.push(v),d.push(m))}return d}},function(e,t,n){var r=n(231);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},function(e,t,n){var r=n(110),o=n(232),i=n(233);e.exports=function(e,t,n){return t==t?i(e,t,n):r(e,o,n)}},function(e,t){e.exports=function(e){return e!=e}},function(e,t){e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},function(e,t){e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}},function(e,t,n){var r=n(84),o=n(236),i=n(64),a=r&&1/i(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=a},function(e,t){e.exports=function(){}},function(e,t,n){var r=n(45);e.exports=function(e,t){return r(t,(function(t){return e[t]}))}},function(e,t){e.exports="2.1.8"},function(e,t,n){var r=n(6),o=n(50);function i(e){return r.map(e.nodes(),(function(t){var n=e.node(t),o=e.parent(t),i={v:t};return r.isUndefined(n)||(i.value=n),r.isUndefined(o)||(i.parent=o),i}))}function a(e){return r.map(e.edges(),(function(t){var n=e.edge(t),o={v:t.v,w:t.w};return r.isUndefined(t.name)||(o.name=t.name),r.isUndefined(n)||(o.value=n),o}))}e.exports={write:function(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:i(e),edges:a(e)};r.isUndefined(e.graph())||(t.value=r.clone(e.graph()));return t},read:function(e){var t=new o(e.options).setGraph(e.value);return r.each(e.nodes,(function(e){t.setNode(e.v,e.value),e.parent&&t.setParent(e.v,e.parent)})),r.each(e.edges,(function(e){t.setEdge({v:e.v,w:e.w,name:e.name},e.value)})),t}}},function(e,t,n){e.exports={components:n(241),dijkstra:n(113),dijkstraAll:n(242),findCycles:n(243),floydWarshall:n(244),isAcyclic:n(245),postorder:n(246),preorder:n(247),prim:n(248),tarjan:n(115),topsort:n(116)}},function(e,t,n){var r=n(6);e.exports=function(e){var t,n={},o=[];function i(o){r.has(n,o)||(n[o]=!0,t.push(o),r.each(e.successors(o),i),r.each(e.predecessors(o),i))}return r.each(e.nodes(),(function(e){t=[],i(e),t.length&&o.push(t)})),o}},function(e,t,n){var r=n(113),o=n(6);e.exports=function(e,t,n){return o.transform(e.nodes(),(function(o,i){o[i]=r(e,i,t,n)}),{})}},function(e,t,n){var r=n(6),o=n(115);e.exports=function(e){return r.filter(o(e),(function(t){return t.length>1||1===t.length&&e.hasEdge(t[0],t[0])}))}},function(e,t,n){var r=n(6);e.exports=function(e,t,n){return function(e,t,n){var r={},o=e.nodes();return o.forEach((function(e){r[e]={},r[e][e]={distance:0},o.forEach((function(t){e!==t&&(r[e][t]={distance:Number.POSITIVE_INFINITY})})),n(e).forEach((function(n){var o=n.v===e?n.w:n.v,i=t(n);r[e][o]={distance:i,predecessor:e}}))})),o.forEach((function(e){var t=r[e];o.forEach((function(n){var i=r[n];o.forEach((function(n){var r=i[e],o=t[n],a=i[n],l=r.distance+o.distance;l<a.distance&&(a.distance=l,a.predecessor=o.predecessor)}))}))})),r}(e,t||o,n||function(t){return e.outEdges(t)})};var o=r.constant(1)},function(e,t,n){var r=n(116);e.exports=function(e){try{r(e)}catch(e){if(e instanceof r.CycleException)return!1;throw e}return!0}},function(e,t,n){var r=n(117);e.exports=function(e,t){return r(e,t,"post")}},function(e,t,n){var r=n(117);e.exports=function(e,t){return r(e,t,"pre")}},function(e,t,n){var r=n(6),o=n(50),i=n(114);e.exports=function(e,t){var n,a=new o,l={},u=new i;function s(e){var r=e.v===n?e.w:e.v,o=u.priority(r);if(void 0!==o){var i=t(e);i<o&&(l[r]=n,u.decrease(r,i))}}if(0===e.nodeCount())return a;r.each(e.nodes(),(function(e){u.add(e,Number.POSITIVE_INFINITY),a.setNode(e)})),u.decrease(e.nodes()[0],0);var c=!1;for(;u.size()>0;){if(n=u.removeMin(),r.has(l,n))a.setEdge(n,l[n]);else{if(c)throw new Error("Input graph is not connected: "+e);c=!0}e.nodeEdges(n).forEach(s)}return a}},function(e,t,n){"use strict";var r=n(2),o=n(287),i=n(290),a=n(291),l=n(5).normalizeRanks,u=n(293),s=n(5).removeEmptyRanks,c=n(294),f=n(295),p=n(296),d=n(297),h=n(306),g=n(5),m=n(8).Graph;e.exports=function(e,t){var n=t&&t.debugTiming?g.time:g.notime;n("layout",(function(){var t=n(" buildLayoutGraph",(function(){return function(e){var t=new m({multigraph:!0,compound:!0}),n=C(e.graph());return t.setGraph(r.merge({},b,S(n,v),r.pick(n,y))),r.forEach(e.nodes(),(function(n){var o=C(e.node(n));t.setNode(n,r.defaults(S(o,x),w)),t.setParent(n,e.parent(n))})),r.forEach(e.edges(),(function(n){var o=C(e.edge(n));t.setEdge(n,r.merge({},E,S(o,k),r.pick(o,_)))})),t}(e)}));n(" runLayout",(function(){!function(e,t){t(" makeSpaceForEdgeLabels",(function(){!function(e){var t=e.graph();t.ranksep/=2,r.forEach(e.edges(),(function(n){var r=e.edge(n);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===t.rankdir||"BT"===t.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)}))}(e)})),t(" removeSelfEdges",(function(){!function(e){r.forEach(e.edges(),(function(t){if(t.v===t.w){var n=e.node(t.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e:t,label:e.edge(t)}),e.removeEdge(t)}}))}(e)})),t(" acyclic",(function(){o.run(e)})),t(" nestingGraph.run",(function(){c.run(e)})),t(" rank",(function(){a(g.asNonCompoundGraph(e))})),t(" injectEdgeLabelProxies",(function(){!function(e){r.forEach(e.edges(),(function(t){var n=e.edge(t);if(n.width&&n.height){var r=e.node(t.v),o={rank:(e.node(t.w).rank-r.rank)/2+r.rank,e:t};g.addDummyNode(e,"edge-proxy",o,"_ep")}}))}(e)})),t(" removeEmptyRanks",(function(){s(e)})),t(" nestingGraph.cleanup",(function(){c.cleanup(e)})),t(" normalizeRanks",(function(){l(e)})),t(" assignRankMinMax",(function(){!function(e){var t=0;r.forEach(e.nodes(),(function(n){var o=e.node(n);o.borderTop&&(o.minRank=e.node(o.borderTop).rank,o.maxRank=e.node(o.borderBottom).rank,t=r.max(t,o.maxRank))})),e.graph().maxRank=t}(e)})),t(" removeEdgeLabelProxies",(function(){!function(e){r.forEach(e.nodes(),(function(t){var n=e.node(t);"edge-proxy"===n.dummy&&(e.edge(n.e).labelRank=n.rank,e.removeNode(t))}))}(e)})),t(" normalize.run",(function(){i.run(e)})),t(" parentDummyChains",(function(){u(e)})),t(" addBorderSegments",(function(){f(e)})),t(" order",(function(){d(e)})),t(" insertSelfEdges",(function(){!function(e){var t=g.buildLayerMatrix(e);r.forEach(t,(function(t){var n=0;r.forEach(t,(function(t,o){var i=e.node(t);i.order=o+n,r.forEach(i.selfEdges,(function(t){g.addDummyNode(e,"selfedge",{width:t.label.width,height:t.label.height,rank:i.rank,order:o+ ++n,e:t.e,label:t.label},"_se")})),delete i.selfEdges}))}))}(e)})),t(" adjustCoordinateSystem",(function(){p.adjust(e)})),t(" position",(function(){h(e)})),t(" positionSelfEdges",(function(){!function(e){r.forEach(e.nodes(),(function(t){var n=e.node(t);if("selfedge"===n.dummy){var r=e.node(n.e.v),o=r.x+r.width/2,i=r.y,a=n.x-o,l=r.height/2;e.setEdge(n.e,n.label),e.removeNode(t),n.label.points=[{x:o+2*a/3,y:i-l},{x:o+5*a/6,y:i-l},{x:o+a,y:i},{x:o+5*a/6,y:i+l},{x:o+2*a/3,y:i+l}],n.label.x=n.x,n.label.y=n.y}}))}(e)})),t(" removeBorderNodes",(function(){!function(e){r.forEach(e.nodes(),(function(t){if(e.children(t).length){var n=e.node(t),o=e.node(n.borderTop),i=e.node(n.borderBottom),a=e.node(r.last(n.borderLeft)),l=e.node(r.last(n.borderRight));n.width=Math.abs(l.x-a.x),n.height=Math.abs(i.y-o.y),n.x=a.x+n.width/2,n.y=o.y+n.height/2}})),r.forEach(e.nodes(),(function(t){"border"===e.node(t).dummy&&e.removeNode(t)}))}(e)})),t(" normalize.undo",(function(){i.undo(e)})),t(" fixupEdgeLabelCoords",(function(){!function(e){r.forEach(e.edges(),(function(t){var n=e.edge(t);if(r.has(n,"x"))switch("l"!==n.labelpos&&"r"!==n.labelpos||(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset}}))}(e)})),t(" undoCoordinateSystem",(function(){p.undo(e)})),t(" translateGraph",(function(){!function(e){var t=Number.POSITIVE_INFINITY,n=0,o=Number.POSITIVE_INFINITY,i=0,a=e.graph(),l=a.marginx||0,u=a.marginy||0;function s(e){var r=e.x,a=e.y,l=e.width,u=e.height;t=Math.min(t,r-l/2),n=Math.max(n,r+l/2),o=Math.min(o,a-u/2),i=Math.max(i,a+u/2)}r.forEach(e.nodes(),(function(t){s(e.node(t))})),r.forEach(e.edges(),(function(t){var n=e.edge(t);r.has(n,"x")&&s(n)})),t-=l,o-=u,r.forEach(e.nodes(),(function(n){var r=e.node(n);r.x-=t,r.y-=o})),r.forEach(e.edges(),(function(n){var i=e.edge(n);r.forEach(i.points,(function(e){e.x-=t,e.y-=o})),r.has(i,"x")&&(i.x-=t),r.has(i,"y")&&(i.y-=o)})),a.width=n-t+l,a.height=i-o+u}(e)})),t(" assignNodeIntersects",(function(){!function(e){r.forEach(e.edges(),(function(t){var n,r,o=e.edge(t),i=e.node(t.v),a=e.node(t.w);o.points?(n=o.points[0],r=o.points[o.points.length-1]):(o.points=[],n=a,r=i),o.points.unshift(g.intersectRect(i,n)),o.points.push(g.intersectRect(a,r))}))}(e)})),t(" reversePoints",(function(){!function(e){r.forEach(e.edges(),(function(t){var n=e.edge(t);n.reversed&&n.points.reverse()}))}(e)})),t(" acyclic.undo",(function(){o.undo(e)}))}(t,n)})),n(" updateInputGraph",(function(){!function(e,t){r.forEach(e.nodes(),(function(n){var r=e.node(n),o=t.node(n);r&&(r.x=o.x,r.y=o.y,t.children(n).length&&(r.width=o.width,r.height=o.height))})),r.forEach(e.edges(),(function(n){var o=e.edge(n),i=t.edge(n);o.points=i.points,r.has(i,"x")&&(o.x=i.x,o.y=i.y)})),e.graph().width=t.graph().width,e.graph().height=t.graph().height}(e,t)}))}))};var v=["nodesep","edgesep","ranksep","marginx","marginy"],b={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},y=["acyclicer","ranker","rankdir","align"],x=["width","height"],w={width:0,height:0},k=["minlen","weight","width","height","labeloffset"],E={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},_=["labelpos"];function S(e,t){return r.mapValues(r.pick(e,t),Number)}function C(e){var t={};return r.forEach(e,(function(e,n){t[n.toLowerCase()]=e})),t}},function(e,t,n){var r=n(71);e.exports=function(e){return r(e,5)}},function(e,t,n){var r=n(46),o=n(18),i=n(47),a=n(16),l=Object.prototype,u=l.hasOwnProperty,s=r((function(e,t){e=Object(e);var n=-1,r=t.length,s=r>2?t[2]:void 0;for(s&&i(t[0],t[1],s)&&(r=1);++n<r;)for(var c=t[n],f=a(c),p=-1,d=f.length;++p<d;){var h=f[p],g=e[h];(void 0===g||o(g,l[h])&&!u.call(e,h))&&(e[h]=c[h])}return e}));e.exports=s},function(e,t,n){var r=n(253)(n(254));e.exports=r},function(e,t,n){var r=n(12),o=n(11),i=n(13);e.exports=function(e){return function(t,n,a){var l=Object(t);if(!o(t)){var u=r(n,3);t=i(t),n=function(e){return u(l[e],e,l)}}var s=e(t,n,a);return s>-1?l[u?t[s]:s]:void 0}}},function(e,t,n){var r=n(110),o=n(12),i=n(255),a=Math.max;e.exports=function(e,t,n){var l=null==e?0:e.length;if(!l)return-1;var u=null==n?0:i(n);return u<0&&(u=a(l+u,0)),r(e,o(t,3),u)}},function(e,t,n){var r=n(118);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},function(e,t,n){var r=n(7),o=n(22),i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,s=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=l.test(e);return n||u.test(e)?s(e.slice(2),n?2:8):a.test(e)?NaN:+e}},function(e,t,n){var r=n(63),o=n(91),i=n(16);e.exports=function(e,t){return null==e?e:r(e,o(t),i)}},function(e,t){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},function(e,t,n){var r=n(37),o=n(62),i=n(12);e.exports=function(e,t){var n={};return t=i(t,3),o(e,(function(e,o,i){r(n,o,t(e,o,i))})),n}},function(e,t,n){var r=n(67),o=n(261),i=n(17);e.exports=function(e){return e&&e.length?r(e,i,o):void 0}},function(e,t){e.exports=function(e,t){return e>t}},function(e,t,n){var r=n(263),o=n(267)((function(e,t,n){r(e,t,n)}));e.exports=o},function(e,t,n){var r=n(31),o=n(120),i=n(63),a=n(264),l=n(7),u=n(16),s=n(121);e.exports=function e(t,n,c,f,p){t!==n&&i(n,(function(i,u){if(p||(p=new r),l(i))a(t,n,u,c,e,f,p);else{var d=f?f(s(t,u),i,u+"",t,n,p):void 0;void 0===d&&(d=i),o(t,u,d)}}),u)}},function(e,t,n){var r=n(120),o=n(77),i=n(86),a=n(78),l=n(87),u=n(28),s=n(3),c=n(111),f=n(20),p=n(26),d=n(7),h=n(265),g=n(29),m=n(121),v=n(266);e.exports=function(e,t,n,b,y,x,w){var k=m(e,n),E=m(t,n),_=w.get(E);if(_)r(e,n,_);else{var S=x?x(k,E,n+"",e,t,w):void 0,C=void 0===S;if(C){var T=s(E),N=!T&&f(E),P=!T&&!N&&g(E);S=E,T||N||P?s(k)?S=k:c(k)?S=a(k):N?(C=!1,S=o(E,!0)):P?(C=!1,S=i(E,!0)):S=[]:h(E)||u(E)?(S=k,u(k)?S=v(k):d(k)&&!p(k)||(S=l(E))):C=!1}C&&(w.set(E,S),y(S,E,b,x,w),w.delete(E)),r(e,n,S)}}},function(e,t,n){var r=n(15),o=n(41),i=n(10),a=Function.prototype,l=Object.prototype,u=a.toString,s=l.hasOwnProperty,c=u.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=s.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==c}},function(e,t,n){var r=n(27),o=n(16);e.exports=function(e){return r(e,o(e))}},function(e,t,n){var r=n(46),o=n(47);e.exports=function(e){return r((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,l=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,l&&o(n[0],n[1],l)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var u=n[r];u&&e(t,u,r,a)}return t}))}},function(e,t,n){var r=n(67),o=n(122),i=n(17);e.exports=function(e){return e&&e.length?r(e,i,o):void 0}},function(e,t,n){var r=n(67),o=n(12),i=n(122);e.exports=function(e,t){return e&&e.length?r(e,o(t,2),i):void 0}},function(e,t,n){var r=n(9);e.exports=function(){return r.Date.now()}},function(e,t,n){var r=n(272),o=n(275)((function(e,t){return null==e?{}:r(e,t)}));e.exports=o},function(e,t,n){var r=n(273),o=n(100);e.exports=function(e,t){return r(e,t,(function(t,n){return o(e,n)}))}},function(e,t,n){var r=n(43),o=n(274),i=n(44);e.exports=function(e,t,n){for(var a=-1,l=t.length,u={};++a<l;){var s=t[a],c=r(e,s);n(c,s)&&o(u,i(s,e),c)}return u}},function(e,t,n){var r=n(36),o=n(44),i=n(38),a=n(7),l=n(30);e.exports=function(e,t,n,u){if(!a(e))return e;for(var s=-1,c=(t=o(t,e)).length,f=c-1,p=e;null!=p&&++s<c;){var d=l(t[s]),h=n;if("__proto__"===d||"constructor"===d||"prototype"===d)return e;if(s!=f){var g=p[d];void 0===(h=u?u(g,d,p):void 0)&&(h=a(g)?g:i(t[s+1])?[]:{})}r(p,d,h),p=p[d]}return e}},function(e,t,n){var r=n(119),o=n(108),i=n(109);e.exports=function(e){return i(o(e,void 0,r),e+"")}},function(e,t,n){var r=n(277)();e.exports=r},function(e,t,n){var r=n(278),o=n(47),i=n(118);e.exports=function(e){return function(t,n,a){return a&&"number"!=typeof a&&o(t,n,a)&&(n=a=void 0),t=i(t),void 0===n?(n=t,t=0):n=i(n),a=void 0===a?t<n?1:-1:i(a),r(t,n,a,e)}}},function(e,t){var n=Math.ceil,r=Math.max;e.exports=function(e,t,o,i){for(var a=-1,l=r(n((t-e)/(o||1)),0),u=Array(l);l--;)u[i?l:++a]=e,e+=o;return u}},function(e,t,n){var r=n(66),o=n(280),i=n(46),a=n(47),l=i((function(e,t){if(null==e)return[];var n=t.length;return n>1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),o(e,r(t,1),[])}));e.exports=l},function(e,t,n){var r=n(45),o=n(43),i=n(12),a=n(106),l=n(281),u=n(39),s=n(282),c=n(17),f=n(3);e.exports=function(e,t,n){t=t.length?r(t,(function(e){return f(e)?function(t){return o(t,1===e.length?e[0]:e)}:e})):[c];var p=-1;t=r(t,u(i));var d=a(e,(function(e,n,o){return{criteria:r(t,(function(t){return t(e)})),index:++p,value:e}}));return l(d,(function(e,t){return s(e,t,n)}))}},function(e,t){e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},function(e,t,n){var r=n(283);e.exports=function(e,t,n){for(var o=-1,i=e.criteria,a=t.criteria,l=i.length,u=n.length;++o<l;){var s=r(i[o],a[o]);if(s)return o>=u?s:s*("desc"==n[o]?-1:1)}return e.index-t.index}},function(e,t,n){var r=n(22);e.exports=function(e,t){if(e!==t){var n=void 0!==e,o=null===e,i=e==e,a=r(e),l=void 0!==t,u=null===t,s=t==t,c=r(t);if(!u&&!c&&!a&&e>t||a&&l&&s&&!u&&!c||o&&l&&s||!n&&s||!i)return 1;if(!o&&!a&&!c&&e<t||c&&n&&i&&!o&&!a||u&&n&&i||!l&&i||!s)return-1}return 0}},function(e,t,n){var r=n(99),o=0;e.exports=function(e){var t=++o;return r(e)+t}},function(e,t,n){var r=n(36),o=n(286);e.exports=function(e,t){return o(e||[],t||[],r)}},function(e,t){e.exports=function(e,t,n){for(var r=-1,o=e.length,i=t.length,a={};++r<o;){var l=r<i?t[r]:void 0;n(a,e[r],l)}return a}},function(e,t,n){"use strict";var r=n(2),o=n(288);e.exports={run:function(e){var t="greedy"===e.graph().acyclicer?o(e,function(e){return function(t){return e.edge(t).weight}}(e)):function(e){var t=[],n={},o={};function i(a){r.has(o,a)||(o[a]=!0,n[a]=!0,r.forEach(e.outEdges(a),(function(e){r.has(n,e.w)?t.push(e):i(e.w)})),delete n[a])}return r.forEach(e.nodes(),i),t}(e);r.forEach(t,(function(t){var n=e.edge(t);e.removeEdge(t),n.forwardName=t.name,n.reversed=!0,e.setEdge(t.w,t.v,n,r.uniqueId("rev"))}))},undo:function(e){r.forEach(e.edges(),(function(t){var n=e.edge(t);if(n.reversed){e.removeEdge(t);var r=n.forwardName;delete n.reversed,delete n.forwardName,e.setEdge(t.w,t.v,n,r)}}))}}},function(e,t,n){var r=n(2),o=n(8).Graph,i=n(289);e.exports=function(e,t){if(e.nodeCount()<=1)return[];var n=function(e,t){var n=new o,a=0,l=0;r.forEach(e.nodes(),(function(e){n.setNode(e,{v:e,in:0,out:0})})),r.forEach(e.edges(),(function(e){var r=n.edge(e.v,e.w)||0,o=t(e),i=r+o;n.setEdge(e.v,e.w,i),l=Math.max(l,n.node(e.v).out+=o),a=Math.max(a,n.node(e.w).in+=o)}));var s=r.range(l+a+3).map((function(){return new i})),c=a+1;return r.forEach(n.nodes(),(function(e){u(s,c,n.node(e))})),{graph:n,buckets:s,zeroIdx:c}}(e,t||a),s=function(e,t,n){var r,o=[],i=t[t.length-1],a=t[0];for(;e.nodeCount();){for(;r=a.dequeue();)l(e,t,n,r);for(;r=i.dequeue();)l(e,t,n,r);if(e.nodeCount())for(var u=t.length-2;u>0;--u)if(r=t[u].dequeue()){o=o.concat(l(e,t,n,r,!0));break}}return o}(n.graph,n.buckets,n.zeroIdx);return r.flatten(r.map(s,(function(t){return e.outEdges(t.v,t.w)})),!0)};var a=r.constant(1);function l(e,t,n,o,i){var a=i?[]:void 0;return r.forEach(e.inEdges(o.v),(function(r){var o=e.edge(r),l=e.node(r.v);i&&a.push({v:r.v,w:r.w}),l.out-=o,u(t,n,l)})),r.forEach(e.outEdges(o.v),(function(r){var o=e.edge(r),i=r.w,a=e.node(i);a.in-=o,u(t,n,a)})),e.removeNode(o.v),a}function u(e,t,n){n.out?n.in?e[n.out-n.in+t].enqueue(n):e[e.length-1].enqueue(n):e[0].enqueue(n)}},function(e,t){function n(){var e={};e._next=e._prev=e,this._sentinel=e}function r(e){e._prev._next=e._next,e._next._prev=e._prev,delete e._next,delete e._prev}function o(e,t){if("_next"!==e&&"_prev"!==e)return t}e.exports=n,n.prototype.dequeue=function(){var e=this._sentinel,t=e._prev;if(t!==e)return r(t),t},n.prototype.enqueue=function(e){var t=this._sentinel;e._prev&&e._next&&r(e),e._next=t._next,t._next._prev=e,t._next=e,e._prev=t},n.prototype.toString=function(){for(var e=[],t=this._sentinel,n=t._prev;n!==t;)e.push(JSON.stringify(n,o)),n=n._prev;return"["+e.join(", ")+"]"}},function(e,t,n){"use strict";var r=n(2),o=n(5);e.exports={run:function(e){e.graph().dummyChains=[],r.forEach(e.edges(),(function(t){!function(e,t){var n,r,i,a=t.v,l=e.node(a).rank,u=t.w,s=e.node(u).rank,c=t.name,f=e.edge(t),p=f.labelRank;if(s===l+1)return;for(e.removeEdge(t),i=0,++l;l<s;++i,++l)f.points=[],r={width:0,height:0,edgeLabel:f,edgeObj:t,rank:l},n=o.addDummyNode(e,"edge",r,"_d"),l===p&&(r.width=f.width,r.height=f.height,r.dummy="edge-label",r.labelpos=f.labelpos),e.setEdge(a,n,{weight:f.weight},c),0===i&&e.graph().dummyChains.push(n),a=n;e.setEdge(a,u,{weight:f.weight},c)}(e,t)}))},undo:function(e){r.forEach(e.graph().dummyChains,(function(t){var n,r=e.node(t),o=r.edgeLabel;for(e.setEdge(r.edgeObj,o);r.dummy;)n=e.successors(t)[0],e.removeNode(t),o.points.push({x:r.x,y:r.y}),"edge-label"===r.dummy&&(o.x=r.x,o.y=r.y,o.width=r.width,o.height=r.height),t=n,r=e.node(t)}))}}},function(e,t,n){"use strict";var r=n(48).longestPath,o=n(123),i=n(292);e.exports=function(e){switch(e.graph().ranker){case"network-simplex":l(e);break;case"tight-tree":!function(e){r(e),o(e)}(e);break;case"longest-path":a(e);break;default:l(e)}};var a=r;function l(e){i(e)}},function(e,t,n){"use strict";var r=n(2),o=n(123),i=n(48).slack,a=n(48).longestPath,l=n(8).alg.preorder,u=n(8).alg.postorder,s=n(5).simplify;function c(e){e=s(e),a(e);var t,n=o(e);for(d(n),f(n,e);t=g(n);)v(n,e,t,m(n,e,t))}function f(e,t){var n=u(e,e.nodes());n=n.slice(0,n.length-1),r.forEach(n,(function(n){!function(e,t,n){var r=e.node(n).parent;e.edge(n,r).cutvalue=p(e,t,n)}(e,t,n)}))}function p(e,t,n){var o=e.node(n).parent,i=!0,a=t.edge(n,o),l=0;return a||(i=!1,a=t.edge(o,n)),l=a.weight,r.forEach(t.nodeEdges(n),(function(r){var a,u,s=r.v===n,c=s?r.w:r.v;if(c!==o){var f=s===i,p=t.edge(r).weight;if(l+=f?p:-p,a=n,u=c,e.hasEdge(a,u)){var d=e.edge(n,c).cutvalue;l+=f?-d:d}}})),l}function d(e,t){arguments.length<2&&(t=e.nodes()[0]),h(e,{},1,t)}function h(e,t,n,o,i){var a=n,l=e.node(o);return t[o]=!0,r.forEach(e.neighbors(o),(function(i){r.has(t,i)||(n=h(e,t,n,i,o))})),l.low=a,l.lim=n++,i?l.parent=i:delete l.parent,n}function g(e){return r.find(e.edges(),(function(t){return e.edge(t).cutvalue<0}))}function m(e,t,n){var o=n.v,a=n.w;t.hasEdge(o,a)||(o=n.w,a=n.v);var l=e.node(o),u=e.node(a),s=l,c=!1;l.lim>u.lim&&(s=u,c=!0);var f=r.filter(t.edges(),(function(t){return c===b(e,e.node(t.v),s)&&c!==b(e,e.node(t.w),s)}));return r.minBy(f,(function(e){return i(t,e)}))}function v(e,t,n,o){var i=n.v,a=n.w;e.removeEdge(i,a),e.setEdge(o.v,o.w,{}),d(e),f(e,t),function(e,t){var n=r.find(e.nodes(),(function(e){return!t.node(e).parent})),o=l(e,n);o=o.slice(1),r.forEach(o,(function(n){var r=e.node(n).parent,o=t.edge(n,r),i=!1;o||(o=t.edge(r,n),i=!0),t.node(n).rank=t.node(r).rank+(i?o.minlen:-o.minlen)}))}(e,t)}function b(e,t,n){return n.low<=t.lim&&t.lim<=n.lim}e.exports=c,c.initLowLimValues=d,c.initCutValues=f,c.calcCutValue=p,c.leaveEdge=g,c.enterEdge=m,c.exchangeEdges=v},function(e,t,n){var r=n(2);e.exports=function(e){var t=function(e){var t={},n=0;function o(i){var a=n;r.forEach(e.children(i),o),t[i]={low:a,lim:n++}}return r.forEach(e.children(),o),t}(e);r.forEach(e.graph().dummyChains,(function(n){for(var r=e.node(n),o=r.edgeObj,i=function(e,t,n,r){var o,i,a=[],l=[],u=Math.min(t[n].low,t[r].low),s=Math.max(t[n].lim,t[r].lim);o=n;do{o=e.parent(o),a.push(o)}while(o&&(t[o].low>u||s>t[o].lim));i=o,o=r;for(;(o=e.parent(o))!==i;)l.push(o);return{path:a.concat(l.reverse()),lca:i}}(e,t,o.v,o.w),a=i.path,l=i.lca,u=0,s=a[u],c=!0;n!==o.w;){if(r=e.node(n),c){for(;(s=a[u])!==l&&e.node(s).maxRank<r.rank;)u++;s===l&&(c=!1)}if(!c){for(;u<a.length-1&&e.node(s=a[u+1]).minRank<=r.rank;)u++;s=a[u]}e.setParent(n,s),n=e.successors(n)[0]}}))}},function(e,t,n){var r=n(2),o=n(5);e.exports={run:function(e){var t=o.addDummyNode(e,"root",{},"_root"),n=function(e){var t={};return r.forEach(e.children(),(function(n){!function n(o,i){var a=e.children(o);a&&a.length&&r.forEach(a,(function(e){n(e,i+1)}));t[o]=i}(n,1)})),t}(e),i=r.max(r.values(n))-1,a=2*i+1;e.graph().nestingRoot=t,r.forEach(e.edges(),(function(t){e.edge(t).minlen*=a}));var l=function(e){return r.reduce(e.edges(),(function(t,n){return t+e.edge(n).weight}),0)}(e)+1;r.forEach(e.children(),(function(u){!function e(t,n,i,a,l,u,s){var c=t.children(s);if(!c.length)return void(s!==n&&t.setEdge(n,s,{weight:0,minlen:i}));var f=o.addBorderNode(t,"_bt"),p=o.addBorderNode(t,"_bb"),d=t.node(s);t.setParent(f,s),d.borderTop=f,t.setParent(p,s),d.borderBottom=p,r.forEach(c,(function(r){e(t,n,i,a,l,u,r);var o=t.node(r),c=o.borderTop?o.borderTop:r,d=o.borderBottom?o.borderBottom:r,h=o.borderTop?a:2*a,g=c!==d?1:l-u[s]+1;t.setEdge(f,c,{weight:h,minlen:g,nestingEdge:!0}),t.setEdge(d,p,{weight:h,minlen:g,nestingEdge:!0})})),t.parent(s)||t.setEdge(n,f,{weight:0,minlen:l+u[s]})}(e,t,a,l,i,n,u)})),e.graph().nodeRankFactor=a},cleanup:function(e){var t=e.graph();e.removeNode(t.nestingRoot),delete t.nestingRoot,r.forEach(e.edges(),(function(t){e.edge(t).nestingEdge&&e.removeEdge(t)}))}}},function(e,t,n){var r=n(2),o=n(5);function i(e,t,n,r,i,a){var l={width:0,height:0,rank:a,borderType:t},u=i[t][a-1],s=o.addDummyNode(e,"border",l,n);i[t][a]=s,e.setParent(s,r),u&&e.setEdge(u,s,{weight:1})}e.exports=function(e){r.forEach(e.children(),(function t(n){var o=e.children(n),a=e.node(n);if(o.length&&r.forEach(o,t),r.has(a,"minRank")){a.borderLeft=[],a.borderRight=[];for(var l=a.minRank,u=a.maxRank+1;l<u;++l)i(e,"borderLeft","_bl",n,a,l),i(e,"borderRight","_br",n,a,l)}}))}},function(e,t,n){"use strict";var r=n(2);function o(e){r.forEach(e.nodes(),(function(t){i(e.node(t))})),r.forEach(e.edges(),(function(t){i(e.edge(t))}))}function i(e){var t=e.width;e.width=e.height,e.height=t}function a(e){e.y=-e.y}function l(e){var t=e.x;e.x=e.y,e.y=t}e.exports={adjust:function(e){var t=e.graph().rankdir.toLowerCase();"lr"!==t&&"rl"!==t||o(e)},undo:function(e){var t=e.graph().rankdir.toLowerCase();"bt"!==t&&"rl"!==t||function(e){r.forEach(e.nodes(),(function(t){a(e.node(t))})),r.forEach(e.edges(),(function(t){var n=e.edge(t);r.forEach(n.points,a),r.has(n,"y")&&a(n)}))}(e);"lr"!==t&&"rl"!==t||(!function(e){r.forEach(e.nodes(),(function(t){l(e.node(t))})),r.forEach(e.edges(),(function(t){var n=e.edge(t);r.forEach(n.points,l),r.has(n,"x")&&l(n)}))}(e),o(e))}}},function(e,t,n){"use strict";var r=n(2),o=n(298),i=n(299),a=n(300),l=n(304),u=n(305),s=n(8).Graph,c=n(5);function f(e,t,n){return r.map(t,(function(t){return l(e,t,n)}))}function p(e,t){var n=new s;r.forEach(e,(function(e){var o=e.graph().root,i=a(e,o,n,t);r.forEach(i.vs,(function(t,n){e.node(t).order=n})),u(e,n,i.vs)}))}function d(e,t){r.forEach(t,(function(t){r.forEach(t,(function(t,n){e.node(t).order=n}))}))}e.exports=function(e){var t=c.maxRank(e),n=f(e,r.range(1,t+1),"inEdges"),a=f(e,r.range(t-1,-1,-1),"outEdges"),l=o(e);d(e,l);for(var u,s=Number.POSITIVE_INFINITY,h=0,g=0;g<4;++h,++g){p(h%2?n:a,h%4>=2),l=c.buildLayerMatrix(e);var m=i(e,l);m<s&&(g=0,u=r.cloneDeep(l),s=m)}d(e,u)}},function(e,t,n){"use strict";var r=n(2);e.exports=function(e){var t={},n=r.filter(e.nodes(),(function(t){return!e.children(t).length})),o=r.max(r.map(n,(function(t){return e.node(t).rank}))),i=r.map(r.range(o+1),(function(){return[]}));var a=r.sortBy(n,(function(t){return e.node(t).rank}));return r.forEach(a,(function n(o){if(r.has(t,o))return;t[o]=!0;var a=e.node(o);i[a.rank].push(o),r.forEach(e.successors(o),n)})),i}},function(e,t,n){"use strict";var r=n(2);function o(e,t,n){for(var o=r.zipObject(n,r.map(n,(function(e,t){return t}))),i=r.flatten(r.map(t,(function(t){return r.sortBy(r.map(e.outEdges(t),(function(t){return{pos:o[t.w],weight:e.edge(t).weight}})),"pos")})),!0),a=1;a<n.length;)a<<=1;var l=2*a-1;a-=1;var u=r.map(new Array(l),(function(){return 0})),s=0;return r.forEach(i.forEach((function(e){var t=e.pos+a;u[t]+=e.weight;for(var n=0;t>0;)t%2&&(n+=u[t+1]),u[t=t-1>>1]+=e.weight;s+=e.weight*n}))),s}e.exports=function(e,t){for(var n=0,r=1;r<t.length;++r)n+=o(e,t[r-1],t[r]);return n}},function(e,t,n){var r=n(2),o=n(301),i=n(302),a=n(303);e.exports=function e(t,n,l,u){var s=t.children(n),c=t.node(n),f=c?c.borderLeft:void 0,p=c?c.borderRight:void 0,d={};f&&(s=r.filter(s,(function(e){return e!==f&&e!==p})));var h=o(t,s);r.forEach(h,(function(n){if(t.children(n.v).length){var o=e(t,n.v,l,u);d[n.v]=o,r.has(o,"barycenter")&&(i=n,a=o,r.isUndefined(i.barycenter)?(i.barycenter=a.barycenter,i.weight=a.weight):(i.barycenter=(i.barycenter*i.weight+a.barycenter*a.weight)/(i.weight+a.weight),i.weight+=a.weight))}var i,a}));var g=i(h,l);!function(e,t){r.forEach(e,(function(e){e.vs=r.flatten(e.vs.map((function(e){return t[e]?t[e].vs:e})),!0)}))}(g,d);var m=a(g,u);if(f&&(m.vs=r.flatten([f,m.vs,p],!0),t.predecessors(f).length)){var v=t.node(t.predecessors(f)[0]),b=t.node(t.predecessors(p)[0]);r.has(m,"barycenter")||(m.barycenter=0,m.weight=0),m.barycenter=(m.barycenter*m.weight+v.order+b.order)/(m.weight+2),m.weight+=2}return m}},function(e,t,n){var r=n(2);e.exports=function(e,t){return r.map(t,(function(t){var n=e.inEdges(t);if(n.length){var o=r.reduce(n,(function(t,n){var r=e.edge(n),o=e.node(n.v);return{sum:t.sum+r.weight*o.order,weight:t.weight+r.weight}}),{sum:0,weight:0});return{v:t,barycenter:o.sum/o.weight,weight:o.weight}}return{v:t}}))}},function(e,t,n){"use strict";var r=n(2);e.exports=function(e,t){var n={};return r.forEach(e,(function(e,t){var o=n[e.v]={indegree:0,in:[],out:[],vs:[e.v],i:t};r.isUndefined(e.barycenter)||(o.barycenter=e.barycenter,o.weight=e.weight)})),r.forEach(t.edges(),(function(e){var t=n[e.v],o=n[e.w];r.isUndefined(t)||r.isUndefined(o)||(o.indegree++,t.out.push(n[e.w]))})),function(e){var t=[];function n(e){return function(t){t.merged||(r.isUndefined(t.barycenter)||r.isUndefined(e.barycenter)||t.barycenter>=e.barycenter)&&function(e,t){var n=0,r=0;e.weight&&(n+=e.barycenter*e.weight,r+=e.weight);t.weight&&(n+=t.barycenter*t.weight,r+=t.weight);e.vs=t.vs.concat(e.vs),e.barycenter=n/r,e.weight=r,e.i=Math.min(t.i,e.i),t.merged=!0}(e,t)}}function o(t){return function(n){n.in.push(t),0==--n.indegree&&e.push(n)}}for(;e.length;){var i=e.pop();t.push(i),r.forEach(i.in.reverse(),n(i)),r.forEach(i.out,o(i))}return r.map(r.filter(t,(function(e){return!e.merged})),(function(e){return r.pick(e,["vs","i","barycenter","weight"])}))}(r.filter(n,(function(e){return!e.indegree})))}},function(e,t,n){var r=n(2),o=n(5);function i(e,t,n){for(var o;t.length&&(o=r.last(t)).i<=n;)t.pop(),e.push(o.vs),n++;return n}e.exports=function(e,t){var n=o.partition(e,(function(e){return r.has(e,"barycenter")})),a=n.lhs,l=r.sortBy(n.rhs,(function(e){return-e.i})),u=[],s=0,c=0,f=0;a.sort((p=!!t,function(e,t){return e.barycenter<t.barycenter?-1:e.barycenter>t.barycenter?1:p?t.i-e.i:e.i-t.i})),f=i(u,l,f),r.forEach(a,(function(e){f+=e.vs.length,u.push(e.vs),s+=e.barycenter*e.weight,c+=e.weight,f=i(u,l,f)}));var p;var d={vs:r.flatten(u,!0)};c&&(d.barycenter=s/c,d.weight=c);return d}},function(e,t,n){var r=n(2),o=n(8).Graph;e.exports=function(e,t,n){var i=function(e){var t;for(;e.hasNode(t=r.uniqueId("_root")););return t}(e),a=new o({compound:!0}).setGraph({root:i}).setDefaultNodeLabel((function(t){return e.node(t)}));return r.forEach(e.nodes(),(function(o){var l=e.node(o),u=e.parent(o);(l.rank===t||l.minRank<=t&&t<=l.maxRank)&&(a.setNode(o),a.setParent(o,u||i),r.forEach(e[n](o),(function(t){var n=t.v===o?t.w:t.v,i=a.edge(n,o),l=r.isUndefined(i)?0:i.weight;a.setEdge(n,o,{weight:e.edge(t).weight+l})})),r.has(l,"minRank")&&a.setNode(o,{borderLeft:l.borderLeft[t],borderRight:l.borderRight[t]}))})),a}},function(e,t,n){var r=n(2);e.exports=function(e,t,n){var o,i={};r.forEach(n,(function(n){for(var r,a,l=e.parent(n);l;){if((r=e.parent(l))?(a=i[r],i[r]=l):(a=o,o=l),a&&a!==l)return void t.setEdge(a,l);l=r}}))}},function(e,t,n){"use strict";var r=n(2),o=n(5),i=n(307).positionX;e.exports=function(e){(function(e){var t=o.buildLayerMatrix(e),n=e.graph().ranksep,i=0;r.forEach(t,(function(t){var o=r.max(r.map(t,(function(t){return e.node(t).height})));r.forEach(t,(function(t){e.node(t).y=i+o/2})),i+=o+n}))})(e=o.asNonCompoundGraph(e)),r.forEach(i(e),(function(t,n){e.node(n).x=t}))}},function(e,t,n){"use strict";var r=n(2),o=n(8).Graph,i=n(5);function a(e,t){var n={};return r.reduce(t,(function(t,o){var i=0,a=0,l=t.length,s=r.last(o);return r.forEach(o,(function(t,c){var f=function(e,t){if(e.node(t).dummy)return r.find(e.predecessors(t),(function(t){return e.node(t).dummy}))}(e,t),p=f?e.node(f).order:l;(f||t===s)&&(r.forEach(o.slice(a,c+1),(function(t){r.forEach(e.predecessors(t),(function(r){var o=e.node(r),a=o.order;!(a<i||p<a)||o.dummy&&e.node(t).dummy||u(n,r,t)}))})),a=c+1,i=p)})),o})),n}function l(e,t){var n={};function o(t,o,i,a,l){var s;r.forEach(r.range(o,i),(function(o){s=t[o],e.node(s).dummy&&r.forEach(e.predecessors(s),(function(t){var r=e.node(t);r.dummy&&(r.order<a||r.order>l)&&u(n,t,s)}))}))}return r.reduce(t,(function(t,n){var i,a=-1,l=0;return r.forEach(n,(function(r,u){if("border"===e.node(r).dummy){var s=e.predecessors(r);s.length&&(i=e.node(s[0]).order,o(n,l,u,a,i),l=u,a=i)}o(n,l,n.length,i,t.length)})),n})),n}function u(e,t,n){if(t>n){var r=t;t=n,n=r}var o=e[t];o||(e[t]=o={}),o[n]=!0}function s(e,t,n){if(t>n){var o=t;t=n,n=o}return r.has(e[t],n)}function c(e,t,n,o){var i={},a={},l={};return r.forEach(t,(function(e){r.forEach(e,(function(e,t){i[e]=e,a[e]=e,l[e]=t}))})),r.forEach(t,(function(e){var t=-1;r.forEach(e,(function(e){var u=o(e);if(u.length)for(var c=((u=r.sortBy(u,(function(e){return l[e]}))).length-1)/2,f=Math.floor(c),p=Math.ceil(c);f<=p;++f){var d=u[f];a[e]===e&&t<l[d]&&!s(n,e,d)&&(a[d]=e,a[e]=i[e]=i[d],t=l[d])}}))})),{root:i,align:a}}function f(e,t,n,i,a){var l={},u=function(e,t,n,i){var a=new o,l=e.graph(),u=function(e,t,n){return function(o,i,a){var l,u=o.node(i),s=o.node(a),c=0;if(c+=u.width/2,r.has(u,"labelpos"))switch(u.labelpos.toLowerCase()){case"l":l=-u.width/2;break;case"r":l=u.width/2}if(l&&(c+=n?l:-l),l=0,c+=(u.dummy?t:e)/2,c+=(s.dummy?t:e)/2,c+=s.width/2,r.has(s,"labelpos"))switch(s.labelpos.toLowerCase()){case"l":l=s.width/2;break;case"r":l=-s.width/2}return l&&(c+=n?l:-l),l=0,c}}(l.nodesep,l.edgesep,i);return r.forEach(t,(function(t){var o;r.forEach(t,(function(t){var r=n[t];if(a.setNode(r),o){var i=n[o],l=a.edge(i,r);a.setEdge(i,r,Math.max(u(e,t,o),l||0))}o=t}))})),a}(e,t,n,a),s=a?"borderLeft":"borderRight";function c(e,t){for(var n=u.nodes(),r=n.pop(),o={};r;)o[r]?e(r):(o[r]=!0,n.push(r),n=n.concat(t(r))),r=n.pop()}return c((function(e){l[e]=u.inEdges(e).reduce((function(e,t){return Math.max(e,l[t.v]+u.edge(t))}),0)}),u.predecessors.bind(u)),c((function(t){var n=u.outEdges(t).reduce((function(e,t){return Math.min(e,l[t.w]-u.edge(t))}),Number.POSITIVE_INFINITY),r=e.node(t);n!==Number.POSITIVE_INFINITY&&r.borderType!==s&&(l[t]=Math.max(l[t],n))}),u.successors.bind(u)),r.forEach(i,(function(e){l[e]=l[n[e]]})),l}function p(e,t){return r.minBy(r.values(t),(function(t){var n=Number.NEGATIVE_INFINITY,o=Number.POSITIVE_INFINITY;return r.forIn(t,(function(t,r){var i=function(e,t){return e.node(t).width}(e,r)/2;n=Math.max(t+i,n),o=Math.min(t-i,o)})),n-o}))}function d(e,t){var n=r.values(t),o=r.min(n),i=r.max(n);r.forEach(["u","d"],(function(n){r.forEach(["l","r"],(function(a){var l,u=n+a,s=e[u];if(s!==t){var c=r.values(s);(l="l"===a?o-r.min(c):i-r.max(c))&&(e[u]=r.mapValues(s,(function(e){return e+l})))}}))}))}function h(e,t){return r.mapValues(e.ul,(function(n,o){if(t)return e[t.toLowerCase()][o];var i=r.sortBy(r.map(e,o));return(i[1]+i[2])/2}))}e.exports={positionX:function(e){var t,n=i.buildLayerMatrix(e),o=r.merge(a(e,n),l(e,n)),u={};r.forEach(["u","d"],(function(i){t="u"===i?n:r.values(n).reverse(),r.forEach(["l","r"],(function(n){"r"===n&&(t=r.map(t,(function(e){return r.values(e).reverse()})));var a=("u"===i?e.predecessors:e.successors).bind(e),l=c(e,t,o,a),s=f(e,t,l.root,l.align,"r"===n);"r"===n&&(s=r.mapValues(s,(function(e){return-e}))),u[i+n]=s}))}));var s=p(e,u);return d(u,s),h(u,e.graph().align)},findType1Conflicts:a,findType2Conflicts:l,addConflict:u,hasConflict:s,verticalAlignment:c,horizontalCompaction:f,alignCoordinates:d,findSmallestWidthAlignment:p,balance:h}},function(e,t,n){var r=n(2),o=n(5),i=n(8).Graph;e.exports={debugOrdering:function(e){var t=o.buildLayerMatrix(e),n=new i({compound:!0,multigraph:!0}).setGraph({});return r.forEach(e.nodes(),(function(t){n.setNode(t,{label:t}),n.setParent(t,"layer"+e.node(t).rank)})),r.forEach(e.edges(),(function(e){n.setEdge(e.v,e.w,{},e.name)})),r.forEach(t,(function(e,t){var o="layer"+t;n.setNode(o,{rank:"same"}),r.reduce(e,(function(e,t){return n.setEdge(e,t,{style:"invis"}),t}))})),n}}},function(e,t){e.exports="0.8.5"},function(e,t,n){var r=n(24),o=n(311);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){(t=n(25)(!1)).push([e.i,'#workbench-canvas{width:100%;height:100%;margin:0;padding:0;font:14px "acumin-pro";user-select:none;overflow:hidden;cursor:move;background-image:linear-gradient(to right, #4F4E4F 1px, transparent 1px),linear-gradient(to bottom, #4F4E4F 1px, transparent 1px)}#workbench-canvas #selection-container{pointer-events:none}#workbench-canvas #selection-container .selection-box{z-index:10;position:absolute;background:rgba(72,72,196,0.5);border:blue solid 2px}#workbench-canvas #workbench-container{width:100%;height:100%;left:0;top:0;transform-origin:left top;display:grid;grid-template-rows:100%;grid-template-columns:100%}#workbench-canvas #workbench-container #frame-container{overflow:visible;grid-row:1;grid-column:1;position:relative;width:100%;height:100%}#workbench-canvas #workbench-container .frame-box{position:absolute;background:rgba(72,72,72,0.7);display:grid;grid-template-rows:40px calc(100% - 40px);grid-template-columns:100%;box-sizing:border-box}#workbench-canvas #workbench-container .frame-box.collapsed{height:auto !important;width:200px !important;z-index:3}#workbench-canvas #workbench-container .frame-box.collapsed .frame-box-header{font-size:16px;grid-template-columns:calc(100% - 37px) 30px 7px}#workbench-canvas #workbench-container .frame-box.collapsed .frame-box-header .frame-box-header-collapse{margin-top:-2px}#workbench-canvas #workbench-container .frame-box.collapsed .frame-box-header .frame-box-header-close{display:none}#workbench-canvas #workbench-container .frame-box.collapsed .frame-comments.has-comments .frame-comment-span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#workbench-canvas #workbench-container .frame-box .frame-box-border{grid-row:1 / span 2;grid-column:1;width:100%;height:100%;border:transparent solid 4px;pointer-events:none;box-sizing:border-box}#workbench-canvas #workbench-container .frame-box .frame-box-header{grid-row:1;grid-column:1;background:#484848;color:white;font-size:24px;text-align:center;display:grid;grid-template-rows:100%;grid-template-columns:calc(100% - 74px) 30px 7px 30px 7px;align-content:center;overflow:hidden}#workbench-canvas #workbench-container .frame-box .frame-box-header .frame-box-header-button{cursor:pointer;align-self:center;transform-origin:50% 50%;transform:scale(1);stroke:transparent;fill:white;display:grid}#workbench-canvas #workbench-container .frame-box .frame-box-header .frame-box-header-button.down{transform:scale(0.9)}#workbench-canvas #workbench-container .frame-box .frame-box-header .frame-box-header-collapse{grid-column:2;grid-row:1}#workbench-canvas #workbench-container .frame-box .frame-box-header .frame-box-header-close{grid-column:4;grid-row:1}#workbench-canvas #workbench-container .frame-box .frame-box-header .frame-box-header-title{grid-column:1;grid-row:1;display:grid;height:100%;width:100%;align-self:stretch;align-items:center;margin-top:-2px}#workbench-canvas #workbench-container .frame-box .frame-comments.has-comments{display:grid;grid-row:2;grid-column:1;padding:0 10px;font-style:italic;word-wrap:break-word}#workbench-canvas #workbench-container .frame-box.selected .frame-box-border{border-color:white}#workbench-canvas #workbench-container .frame-box .right-handle{grid-area:1 / 2 / 3 / 2;width:4px;background-color:transparent;cursor:ew-resize}#workbench-canvas #workbench-container .frame-box .right-handle::after{content:"";width:8px;position:absolute;top:0;bottom:0;margin-left:-4px;cursor:ew-resize}#workbench-canvas #workbench-container .frame-box .right-handle.collapsed{cursor:pointer}#workbench-canvas #workbench-container .frame-box .top-right-corner-handle{background-color:transparent;height:4px;z-index:21;cursor:ne-resize;width:4px;margin-left:-6px}#workbench-canvas #workbench-container .frame-box .top-right-corner-handle::after{background-color:transparent;cursor:ne-resize;margin-left:unset;top:-4px;height:10px;width:10px}#workbench-canvas #workbench-container .frame-box .bottom-right-corner-handle{background-color:transparent;height:0px;z-index:21;cursor:nw-resize;grid-area:4 / 2 / 4 / 2;margin-left:-2px}#workbench-canvas #workbench-container .frame-box .bottom-right-corner-handle::after{background-color:transparent;height:10px;cursor:nw-resize;top:unset;bottom:-4px;width:10px}#workbench-canvas #workbench-container .frame-box .left-handle{grid-area:1 / 1 / 3 / 1;width:4px;background-color:transparent;cursor:ew-resize}#workbench-canvas #workbench-container .frame-box .left-handle::before{content:"";width:8px;position:absolute;top:0;bottom:0;margin-left:-4px}#workbench-canvas #workbench-container .frame-box .top-left-corner-handle{background-color:transparent;height:4px;z-index:21;cursor:nw-resize;width:4px;margin-left:-4px}#workbench-canvas #workbench-container .frame-box .top-left-corner-handle::before{background-color:transparent;cursor:nw-resize;margin-left:unset;top:-4px;height:10px;width:10px}#workbench-canvas #workbench-container .frame-box .bottom-left-corner-handle{background-color:transparent;height:0px;z-index:21;cursor:sw-resize;grid-area:4 / 1 / 4 / 1}#workbench-canvas #workbench-container .frame-box .bottom-left-corner-handle::before{background-color:transparent;height:10px;cursor:sw-resize;top:unset;bottom:-4px;width:10px}#workbench-canvas #workbench-container .frame-box .top-handle{grid-area:1 / 1 / 1 / 1;background-color:transparent;height:4px;cursor:ns-resize}#workbench-canvas #workbench-container .frame-box .top-handle::before{content:"";width:100%;position:absolute;top:-4px;bottom:100%;right:0;left:0;margin-bottom:-8px;cursor:ns-resize;height:8px}#workbench-canvas #workbench-container .frame-box .bottom-handle{grid-area:3 / 1 / 3 / 1;background-color:transparent;height:4px;cursor:ns-resize}#workbench-canvas #workbench-container .frame-box .bottom-handle::after{content:"";width:100%;position:absolute;top:100%;bottom:0;right:0;left:0;margin-top:-8px;cursor:ns-resize;height:12px}#workbench-canvas #workbench-container .frame-box.collapsed .top-handle,#workbench-canvas #workbench-container .frame-box.collapsed .top-right-corner-handle,#workbench-canvas #workbench-container .frame-box.collapsed .right-handle,#workbench-canvas #workbench-container .frame-box.collapsed .bottom-right-corner-handle,#workbench-canvas #workbench-container .frame-box.collapsed .bottom-handle,#workbench-canvas #workbench-container .frame-box.collapsed .bottom-left-corner-handle,#workbench-canvas #workbench-container .frame-box.collapsed .left-handle,#workbench-canvas #workbench-container .frame-box.collapsed .top-left-corner-handle{cursor:default}#workbench-canvas #workbench-container .frame-box.collapsed .right-handle::after,#workbench-canvas #workbench-container .frame-box.collapsed .bottom-handle::after,#workbench-canvas #workbench-container .frame-box.collapsed .top-right-corner-handle::after,#workbench-canvas #workbench-container .frame-box.collapsed .bottom-right-corner-handle::after{cursor:default}#workbench-canvas #workbench-container .frame-box.collapsed .left-handle::before,#workbench-canvas #workbench-container .frame-box.collapsed .top-handle::before,#workbench-canvas #workbench-container .frame-box.collapsed .top-left-corner-handle::before,#workbench-canvas #workbench-container .frame-box.collapsed .bottom-left-corner-handle::before{cursor:default}#workbench-canvas #workbench-container #workbench-svg-container{grid-row:1;grid-column:1;position:relative;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:2}#workbench-canvas #workbench-container #workbench-svg-container .link{stroke-width:4px}#workbench-canvas #workbench-container #workbench-svg-container .link.selected{stroke:white !important;stroke-dasharray:10, 2}#workbench-canvas #workbench-container #workbench-svg-container .link.hidden{display:none}#workbench-canvas #workbench-container #workbench-svg-container .selection-link{pointer-events:all;stroke-width:16px;opacity:0;transition:opacity 75ms;stroke:transparent;cursor:pointer}#workbench-canvas #workbench-container #workbench-svg-container .selection-link.hidden{display:none}#workbench-canvas #workbench-container #workbench-svg-container .selection-link:hover,#workbench-canvas #workbench-container #workbench-svg-container .selection-link.selected{stroke:white !important;opacity:0.4}#workbench-canvas #workbench-container #workbench-canvas-container{grid-row:1;grid-column:1;position:relative;width:100%;height:100%}#workbench-canvas #workbench-container #workbench-canvas-container .visual{z-index:4;width:200px;position:absolute;left:0;top:0;background:gray;border:4px solid black;border-radius:12px;display:grid;grid-template-rows:30px auto;grid-template-columns:100%;color:white}#workbench-canvas #workbench-container #workbench-canvas-container .visual.hidden{display:none}#workbench-canvas #workbench-container #workbench-canvas-container .visual .comments{position:absolute;top:-50px;width:200px;height:45px;overflow:hidden;font-style:italic;opacity:0.8;display:grid;align-items:flex-end;pointer-events:none}#workbench-canvas #workbench-container #workbench-canvas-container .visual .selection-border{grid-row:1 / span 3;grid-column:1;margin:-4px;transition:border-color 100ms;border:4px solid black;border-radius:12px}#workbench-canvas #workbench-container #workbench-canvas-container .visual.selected .selection-border{border-color:white}#workbench-canvas #workbench-container #workbench-canvas-container .visual .header{grid-row:1;grid-column:1;border:4px solid black;border-top-right-radius:7px;border-top-left-radius:7px;font-size:16px;text-align:center;margin-top:-1px;margin-left:-1px;margin-right:-1px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;background:black;color:white}#workbench-canvas #workbench-container #workbench-canvas-container .visual .header.constant{border-color:#464348;background:#464348}#workbench-canvas #workbench-container #workbench-canvas-container .visual .header.inspector{border-color:#66491b;background:#66491b}\n',""]),e.exports=t},function(e,t,n){var r=n(24),o=n(313);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){(t=n(25)(!1)).push([e.i,'#gui-editor-workbench-root{display:grid;grid-template-rows:calc(100% - 120px) 120px;height:100%;width:100%;background:#464646;font:14px "acumin-pro"}.wait-screen{display:grid;justify-content:center;align-content:center;height:100%;width:100%;background:#464646;opacity:0.95;color:white;font:24px "acumin-pro";position:absolute;top:0;left:0}.wait-screen.hidden{visibility:hidden}#leftGrab{grid-row:1 / span 2;grid-column:2;cursor:ew-resize}#rightGrab{grid-row:1 / span 2;grid-column:4;cursor:ew-resize}.diagram-container{grid-row:1;grid-column:3;background:#5f5b60;width:100%;height:100%}.diagram-container .diagram{display:none;width:100%;height:100%}.right-panel{grid-row:1 / span 2;grid-column:5;display:grid;grid-template-rows:1fr 40px auto 40px;grid-template-columns:100%;height:100%;overflow-y:auto}.right-panel #propertyTab{grid-row:1;grid-column:1}.right-panel .button{display:grid;justify-content:center;align-content:center;height:auto;width:calc(100% / 7);cursor:pointer}.right-panel .button:hover{background:#337ab7;color:white;opacity:0.8}.right-panel .button.selected{background:#337ab7;color:white}.right-panel .button.align{justify-content:stretch;text-align:center}.right-panel #preview-mesh-bar{grid-row:2;grid-column:1;display:grid;grid-template-columns:auto 1fr 40px 40px 40px;align-items:center;font-size:18px;background-color:#555555}.right-panel #preview-mesh-bar #file-picker{display:none}.right-panel #preview-mesh-bar .listLine{grid-column:1;height:40px;display:grid;grid-template-columns:0px 1fr}.right-panel #preview-mesh-bar .listLine .label{grid-column:1;display:flex;align-items:center;font-size:14px}.right-panel #preview-mesh-bar .listLine .options{grid-column:2;display:flex;align-items:center;margin-left:5px}.right-panel #preview-mesh-bar .listLine .options select{width:115px}.right-panel #preview-mesh-bar .button{color:#ffffff;width:40px;height:40px;transform-origin:50% 50%}.right-panel #preview-mesh-bar .button:active{transform:scale(0.9)}.right-panel #preview-mesh-bar .button:hover{background:#3f3461}.right-panel #preview-mesh-bar .button.selected{background:#9379e6}.right-panel #preview-mesh-bar .button img{height:40px;width:100%}.right-panel #preview-mesh-bar #play-button{grid-column:3}.right-panel #preview-mesh-bar #color-picker-button{grid-column:4;display:grid;grid-template-columns:100%;grid-template-rows:100%}.right-panel #preview-mesh-bar #color-picker-button img{height:40px;width:30px}.right-panel #preview-mesh-bar #color-picker-button #color-picker-image{padding-left:5px;padding-bottom:38px}.right-panel #preview-mesh-bar #color-picker-button #color-picker{transform:scale(0);grid-column:1;grid-row:1}.right-panel #preview-mesh-bar #color-picker-button #color-picker-label{width:100%;background:transparent;cursor:pointer}.right-panel #preview-mesh-bar #preview-new-window{grid-column:5}.right-panel #preview-mesh-bar select{background-color:#a3a3a3;color:#333333}.right-panel #preview-config-bar{grid-row:4;grid-column:1;display:grid;grid-template-columns:40px 40px 40px 1fr 40px 40px;color:white;align-items:center;font-size:18px}.right-panel #preview-config-bar .button{width:40px;grid-row:1;height:40px;transform-origin:50% 50%}.right-panel #preview-config-bar .button:hover{background:#3f3461}.right-panel #preview-config-bar .button.selected{background:#9379e6}.right-panel #preview-config-bar .button:active{transform:scale(0.9)}.right-panel #preview-config-bar .button img{height:auto;width:100%}.right-panel #preview-config-bar .button.back-face{grid-column:6}.right-panel #preview-config-bar .button.depth-pass{grid-column:5 / 6}.right-panel #preview-config-bar .button.hemispheric-light{grid-column:3 / 4}.right-panel #preview-config-bar .button.direction-light-1{grid-column:2 / 3}.right-panel #preview-config-bar .button.direction-light-0{grid-column:1 / 2}.blocker{visibility:hidden;position:absolute;width:calc(100% - 40px);height:100%;top:0;left:0;background:rgba(20,20,20,0.95);font-family:"acumin-pro";color:white;font-size:24px;display:grid;align-content:center;justify-content:center;user-select:none;padding:20px;text-align:center}#log-console{grid-row:2;grid-column:3}.dialog-container{position:absolute;width:100%;height:100%;background:rgba(0,0,0,0.6);display:grid;font-family:"acumin-pro";top:0}.dialog-container .dialog{align-self:center;justify-self:center;min-height:140px;max-width:400px;border-radius:10px;background:white;display:grid;grid-template-columns:100%;grid-template-rows:calc(100% - 50px) 50px}.dialog-container .dialog .dialog-message{grid-row:1;grid-column:1;margin-top:20px;padding:10px;font-size:18px;color:black}.dialog-container .dialog .dialog-buttons{grid-row:2;grid-column:1;display:grid;grid-template-rows:100%;grid-template-columns:100%;color:white}.dialog-container .dialog .dialog-buttons .dialog-button-ok{cursor:pointer;justify-self:center;background:green;min-width:80px;justify-content:center;display:grid;align-content:center;align-self:center;height:35px;border-radius:10px}.dialog-container .dialog .dialog-buttons .dialog-button-ok:hover{opacity:0.8}.dialog-container .dialog .dialog-buttons .dialog-button-ok.error{background:red}\n',""]),e.exports=t}])}));
|