@drayman/elements 1.4.28 → 1.4.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/datepicker/main.js +1 -1
- package/dist/grid/main.js +1 -1
- package/dist/menu/main.js +1 -1
- package/dist/nebula/3rdpartylicenses.txt +0 -41
- package/dist/nebula/main.js +1 -1
- package/dist/picasso/3rdpartylicenses.txt +465 -0
- package/dist/picasso/favicon.ico +0 -0
- package/dist/picasso/main.js +1 -0
- package/dist/picasso/polyfills.js +1 -0
- package/dist/picasso/styles.css +0 -0
- package/dist/pivot-grid/3rdpartylicenses.txt +418 -0
- package/dist/pivot-grid/favicon.ico +0 -0
- package/dist/pivot-grid/main.js +1 -0
- package/dist/pivot-grid/polyfills.js +1 -0
- package/dist/pivot-grid/styles.css +0 -0
- package/dist/table/main.js +1 -1
- package/dist/types/checkbox/src/app/models/checkbox-options.d.ts +0 -0
- package/dist/types/claviz-charts/src/app/models/claviz-charts-options.d.ts +0 -0
- package/dist/types/datepicker/src/app/models/datepicker-options.d.ts +0 -0
- package/dist/types/file-uploader/src/app/models/file-uploader-options.d.ts +0 -0
- package/dist/types/menu/src/app/models/menu-options.d.ts +0 -0
- package/dist/types/nebula/src/app/models/nebula-options.d.ts +0 -0
- package/dist/types/ngx-charts/src/app/models/ngx-charts-options.d.ts +0 -0
- package/dist/types/ngx-graph/src/app/models/ngx-graph-options.d.ts +0 -0
- package/dist/types/number-field/src/app/models/number-field-options.d.ts +0 -0
- package/dist/types/pdf-viewer/src/app/models/pdf-viewer-options.d.ts +0 -0
- package/dist/types/picasso/src/app/models/picasso-options.d.ts +3 -0
- package/dist/types/pivot-grid/src/app/models/pivot-grid-options.d.ts +62 -0
- package/dist/types/radio-group/src/app/models/radio-group-options.d.ts +0 -0
- package/dist/types/select/src/app/models/select-options.d.ts +0 -0
- package/dist/types/shared/models/autocomplete-options-base.d.ts +0 -0
- package/dist/types/shared/models/button-options-base.d.ts +0 -0
- package/dist/types/shared/models/button-options.d.ts +0 -0
- package/dist/types/shared/models/field-options-base.d.ts +0 -0
- package/dist/types/shared/models/input-field-options-base.d.ts +0 -0
- package/dist/types/shared/models/input-mask-options-base.d.ts +0 -0
- package/dist/types/table/src/app/models/table-options.d.ts +0 -0
- package/dist/types/text-field/src/app/models/text-field-options.d.ts +0 -0
- package/dist/types/textarea-field/src/app/models/textarea-field-options.d.ts +0 -0
- package/dist/types/timepicker/src/app/models/timepicker-options.d.ts +0 -0
- package/dist/types/youtube-player/src/app/models/youtube-player-options.d.ts +0 -0
- package/package.json +3 -3
- package/types/index.d.ts +1 -14
package/dist/nebula/main.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}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 i in e)n.d(r,i,(function(t){return e[t]}).bind(null,i));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=0)}({0:function(e,t,n){e.exports=n("zUnb")},"6cUA":function(e,t,n){e.exports=function(){"use strict";var e={};function t(){t.init.call(this)}e.isObject=function(e){return"object"==typeof e&&null!==e},e.isNumber=function(e){return"number"==typeof e},e.isUndefined=function(e){return void 0===e},e.isFunction=function(e){return"function"==typeof e};var n=t;t.EventEmitter=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},t.prototype.setMaxListeners=function(t){if(!e.isNumber(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},t.prototype.emit=function(t){var n,r,i,o,a,s;if(this._events||(this._events={}),"error"===t&&!this._events.error)throw(n=arguments[1])instanceof Error?n:Error('Uncaught, unspecified "error" event.');if(e.isUndefined(r=this._events[t]))return!1;if(e.isFunction(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:for(i=arguments.length,o=new Array(i-1),a=1;a<i;a++)o[a-1]=arguments[a];r.apply(this,o)}else if(e.isObject(r)){for(i=arguments.length,o=new Array(i-1),a=1;a<i;a++)o[a-1]=arguments[a];for(i=(s=r.slice()).length,a=0;a<i;a++)s[a].apply(this,o)}return!0},t.prototype.on=t.prototype.addListener=function(n,r){var i;if(!e.isFunction(r))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",n,e.isFunction(r.listener)?r.listener:r),this._events[n]?e.isObject(this._events[n])?this._events[n].push(r):this._events[n]=[this._events[n],r]:this._events[n]=r,e.isObject(this._events[n])&&!this._events[n].warned&&(i=e.isUndefined(this._maxListeners)?t.defaultMaxListeners:this._maxListeners)&&i>0&&this._events[n].length>i&&(this._events[n].warned=!0,e.isFunction(console.error)&&console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[n].length),e.isFunction(console.trace)&&console.trace()),this},t.prototype.once=function(t,n){if(!e.isFunction(n))throw TypeError("listener must be a function");var r=!1;function i(){this.removeListener(t,i),r||(r=!0,n.apply(this,arguments))}return i.listener=n,this.on(t,i),this},t.prototype.removeListener=function(t,n){var r,i,o,a;if(!e.isFunction(n))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(o=(r=this._events[t]).length,i=-1,r===n||e.isFunction(r.listener)&&r.listener===n)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,n);else if(e.isObject(r)){for(a=o;a-- >0;)if(r[a]===n||r[a].listener&&r[a].listener===n){i=a;break}if(i<0)return this;1===r.length?(r.length=0,delete this._events[t]):r.splice(i,1),this._events.removeListener&&this.emit("removeListener",t,n)}return this},t.prototype.removeAllListeners=function(t){var n,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(n in this._events)"removeListener"!==n&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events={},this}if(e.isFunction(r=this._events[t]))this.removeListener(t,r);else if(Array.isArray(r))for(;r.length;)this.removeListener(t,r[r.length-1]);return delete this._events[t],this},t.prototype.listeners=function(t){return this._events&&this._events[t]?e.isFunction(this._events[t])?[this._events[t]]:this._events[t].slice():[]},t.listenerCount=function(t,n){return t._events&&t._events[n]?e.isFunction(t._events[n])?1:t._events[n].length:0};var r=function(e){Object.keys(n.prototype).forEach((function(t){e[t]=n.prototype[t]})),n.init(e)};function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function a(e){var t="function"==typeof Map?new Map:void 0;return(a=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return s(e,arguments,c(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),u(n,e)})(e)}function s(e,t,n){return(s=l()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&u(i,n.prototype),i}).apply(null,arguments)}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(i,e);var t,n,r=(t=i,n=l(),function(){var e,r=c(t);if(n){var i=c(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return o(this,e)});function i(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(n=r.call(this,e)).code=t,n.enigmaError=!0,n}return i}(a(Error));function f(e,t){return new d(t,e)}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var g=0,v=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var n=this;Object.assign(n,t),this.Promise=this.config.Promise,this.definition=this.config.definition,r(n),n.id=g+=1,n.rpc.on("socket-error",n.onRpcError.bind(n)),n.rpc.on("closed",n.onRpcClosed.bind(n)),n.rpc.on("message",n.onRpcMessage.bind(n)),n.rpc.on("notification",n.onRpcNotification.bind(n)),n.rpc.on("traffic",n.onRpcTraffic.bind(n)),n.on("closed",(function(){return n.onSessionClosed()}))}return t=e,i=[{key:"addToPromiseChain",value:function(t,n,r){t[n]=r;var i=t.then;t.then=function(){for(var t=arguments.length,o=new Array(t),a=0;a<t;a++)o[a]=arguments[a];var s=i.apply(this,o);return e.addToPromiseChain(s,n,r),s}}}],(n=[{key:"onRpcError",value:function(e){this.suspendResume.isSuspended||this.emit("socket-error",e)}},{key:"onRpcClosed",value:function(e){var t=this;if(!this.suspendResume.isSuspended&&1e3!==e.code&&4e3!==e.code)if(this.config.suspendOnClose){var n=e.code,r=e.reason;this.suspendResume.suspend().then((function(){return t.emit("suspended",{initiator:"network",code:n,reason:r})}))}else this.emit("closed",e)}},{key:"onRpcMessage",value:function(e){var t=this;this.suspendResume.isSuspended||(e.change&&e.change.forEach((function(e){return t.emitHandleChanged(e)})),e.close&&e.close.forEach((function(e){return t.emitHandleClosed(e)})))}},{key:"onRpcNotification",value:function(e){this.emit("notification:*",e.method,e.params),this.emit("notification:".concat(e.method),e.params)}},{key:"onRpcTraffic",value:function(e,t,n){this.emit("traffic:*",e,t),this.emit("traffic:".concat(e),t);var r=this.apis.getApi(n);r&&(r.emit("traffic:*",e,t),r.emit("traffic:".concat(e),t))}},{key:"onSessionClosed",value:function(){this.apis.getApis().forEach((function(e){e.api.emit("closed"),e.api.removeAllListeners()})),this.apis.clear()}},{key:"getObjectApi",value:function(e){var t=e.handle,n=e.id,r=e.type,i=e.genericType,o=this.apis.getApi(t);return o||(o=this.definition.generate(r)(this,t,n,i),this.apis.add(t,o),o)}},{key:"open",value:function(){var e=this;if(!this.globalPromise){var t={handle:-1,id:"Global",type:"Global",genericType:"Global"};this.globalPromise=this.rpc.open().then((function(){return e.getObjectApi(t)})).then((function(t){return e.emit("opened"),t}))}return this.globalPromise}},{key:"send",value:function(t){var n=this;if(this.suspendResume.isSuspended)return this.Promise.reject(f(-11,"Session suspended"));t.id=this.rpc.createRequestId();var r=this.intercept.executeRequests(this,this.Promise.resolve(t)).then((function(e){var r=h(h({},n.config.protocol),e);delete r.outKey;var i=n.rpc.send(r);return e.retry=function(){return n.send(t)},n.intercept.executeResponses(n,i,e)}));return e.addToPromiseChain(r,"requestId",t.id),r}},{key:"suspend",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:4e3,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.suspendResume.suspend(t,n).then((function(){return e.emit("suspended",{initiator:"manual",code:t,reason:n})}))}},{key:"resume",value:function(e){var t=this;return this.suspendResume.resume(e).then((function(e){return t.emit("resumed"),e}))}},{key:"close",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.globalPromise=void 0,this.rpc.close(t,n).then((function(t){return e.emit("closed",t)}))}},{key:"emitHandleChanged",value:function(e){var t=this.apis.getApi(e);t&&t.emit("changed")}},{key:"emitHandleClosed",value:function(e){var t=this.apis.getApi(e);t&&(t.emit("closed"),t.removeAllListeners())}}])&&y(t.prototype,n),i&&y(t,i),e;var t,n,i}();function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var E=function(){function e(){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.entries={}}return t=e,(n=[{key:"add",value:function(e,t){if(void 0!==this.entries[e+=""])throw f(-5,"Entry already defined with key ".concat(e));this.entries[e]=t}},{key:"set",value:function(e,t){this.entries[e+=""]=t}},{key:"remove",value:function(e){delete this.entries[e]}},{key:"get",value:function(e){return this.entries[e]}},{key:"getAll",value:function(){var e=this;return Object.keys(this.entries).map((function(t){return{key:t,value:e.entries[t]}}))}},{key:"getKey",value:function(e){var t=this;return Object.keys(this.entries).filter((function(n){return t.entries[n]===e}))[0]}},{key:"clear",value:function(){this.entries={}}}])&&b(t.prototype,n),e;var t,n}();function _(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function C(e){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var S=Object.prototype.hasOwnProperty;function w(e){return e.substring(0,1).toLowerCase()+e.substring(1)}function x(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return 1!==r.length||"object"!==C(r[0])||Array.isArray(r[0])||Object.keys(r[0]).every((function(e){return S.call(t,e)}))&&(r=Object.keys(t).map((function(e){return r[0][e]||t[e]}))),e.apply(this,r)}var O=function(){function e(t){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.config=t,this.Promise=t.Promise,this.schema=t.schema,this.mixins=new E,this.types=new E}return t=e,(n=[{key:"registerMixin",value:function(e){var t=this,n=e.types,r=e.type,i=e.extend,o=e.override,a=e.init;Array.isArray(n)||(n=[n]),r&&n.push(r);var s={extend:i,override:o,init:a};n.forEach((function(e){var n=t.mixins.get(e);n?n.push(s):t.mixins.add(e,[s])}))}},{key:"generate",value:function(e){var t=this.types.get(e);if(t)return t;if(!this.schema.structs[e])throw f(-8,"".concat(e," not found"));var n=this.generateApi(e,this.schema.structs[e]);return this.types.add(e,n),n}},{key:"generateApi",value:function(e,t){var n=Object.create({});return this.generateDefaultApi(n,t),this.mixinType(e,n),this.mixinNamedParamFacade(n,t),(function(t,i,o,a){var s=this,l=Object.create(n);r(l),Object.defineProperties(l,{session:{enumerable:!0,value:t},handle:{enumerable:!0,value:i,writable:!0},id:{enumerable:!0,value:o},type:{enumerable:!0,value:e},genericType:{enumerable:!0,value:a}});var u=this.mixins.get(e)||[];return a!==e&&(this.mixinType(a,l),u=u.concat(this.mixins.get(a)||[])),u.forEach((function(e){"function"==typeof e.init&&e.init({config:s.config,api:l})})),l}).bind(this)}},{key:"generateDefaultApi",value:function(e,t){Object.keys(t).forEach((function(n){var r=t[n].Out,i=1===r.length?r[0].Name:-1,o=w(n);e[o]=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.session.send({handle:this.handle,method:n,params:t,outKey:i})}}))}},{key:"mixinType",value:function(e,t){var n=this.mixins.get(e);n&&n.forEach((function(n){var r=n.extend,i=void 0===r?{}:r,o=n.override,a=void 0===o?{}:o;Object.keys(a).forEach((function(n){if("function"!=typeof t[n]||"function"!=typeof a[n])throw f(-9,"No function to override. Type: ".concat(e," function: ").concat(n));var r=t[n];t[n]=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return a[n].apply(this,[r.bind(this)].concat(t))}})),Object.keys(i).forEach((function(n){if("function"==typeof t[n]&&"function"==typeof i[n])throw f(-10,"Extend is not allowed for this mixin. Type: ".concat(e," function: ").concat(n));t[n]=i[n]}))}))}},{key:"mixinNamedParamFacade",value:function(e,t){Object.keys(t).forEach((function(n){var r=w(n),i=e[r],o=t[n].In.reduce((function(e,t){return e[t.Name]=t.DefaultValue,e}),{});e[r]=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return x.apply(this,[i,o].concat(t))}}))}}])&&_(t.prototype,n),e;var t,n}();function R(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var N=function(){function e(t,n,i,o){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),r(this),this.id=t,this.handle=n,this.resolve=i,this.reject=o}return t=e,(n=[{key:"resolveWith",value:function(e){this.resolve(e),this.emit("resolved",this.id)}},{key:"rejectWith",value:function(e){this.reject(e),this.emit("rejected",this.id)}}])&&R(t.prototype,n),e;var t,n}();function I(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var L=function(){function e(t){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),Object.assign(this,t),r(this),this.resolvers={},this.requestId=0,this.openedPromise=void 0}return t=e,(n=[{key:"open",value:function(){var e=this;if(!(arguments.length>0&&void 0!==arguments[0]&&arguments[0])&&this.openedPromise)return this.openedPromise;try{this.socket=this.createSocket(this.url)}catch(t){return this.Promise.reject(t)}return this.socket.onopen=this.onOpen.bind(this),this.socket.onclose=this.onClose.bind(this),this.socket.onerror=this.onError.bind(this),this.socket.onmessage=this.onMessage.bind(this),this.openedPromise=new this.Promise((function(t,n){return e.registerResolver("opened",null,t,n)})),this.closedPromise=new this.Promise((function(t,n){return e.registerResolver("closed",null,t,n)})),this.openedPromise}},{key:"onOpen",value:function(){var e=this;this.resolvers.opened.resolveWith((function(){return e.closedPromise}))}},{key:"onClose",value:function(e){this.emit("closed",e),this.resolvers&&this.resolvers.closed&&this.resolvers.closed.resolveWith(e),this.rejectAllOutstandingResolvers(f(-1,"Socket closed"))}},{key:"close",value:function(){return this.socket&&(this.socket.close(arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3,arguments.length>1&&void 0!==arguments[1]?arguments[1]:""),this.socket=null),this.closedPromise}},{key:"onError",value:function(e){this.resolvers.opened?this.resolvers.opened.rejectWith(e):this.emit("socket-error",e),this.rejectAllOutstandingResolvers(f(-1,"Socket error"))}},{key:"onMessage",value:function(e){var t=JSON.parse(e.data);this.emit("traffic","received",t,(this.resolvers[t.id]||{}).handle),void 0!==t.id?(this.emit("message",t),this.resolvers[t.id].resolveWith(t)):this.emit(t.params?"notification":"message",t)}},{key:"rejectAllOutstandingResolvers",value:function(e){var t=this;Object.keys(this.resolvers).forEach((function(n){"opened"!==n&&"closed"!==n&&t.resolvers[n].rejectWith(e)}))}},{key:"unregisterResolver",value:function(e){this.resolvers[e].removeAllListeners(),delete this.resolvers[e]}},{key:"registerResolver",value:function(e,t,n,r){var i=this,o=new N(e,t,n,r);this.resolvers[e]=o,o.on("resolved",(function(e){return i.unregisterResolver(e)})),o.on("rejected",(function(e){return i.unregisterResolver(e)}))}},{key:"send",value:function(e){var t=this;if(!this.socket||this.socket.readyState!==this.socket.OPEN){var n=f(-1,"Not connected");return this.Promise.reject(n)}return e.id||(e.id=this.createRequestId()),e.jsonrpc="2.0",new this.Promise((function(n,r){return t.socket.send(JSON.stringify(e)),t.emit("traffic","sent",e,e.handle),t.registerResolver(e.id,e.handle,n,r)}))}},{key:"createRequestId",value:function(){return this.requestId+=1,this.requestId}}])&&I(t.prototype,n),e;var t,n}();function T(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var k=function(){function e(t){var n=this;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),Object.assign(this,t),this.isSuspended=!1,this.rpc.on("traffic",(function(e,t){"sent"===e&&"OpenDoc"===t.method&&(n.openDocParams=t.params)}))}return t=e,r=[{key:"buildGetMethodName",value:function(e){return"Field"===e||"Variable"===e?null:"GenericVariable"===e?"GetVariableById":e.replace("Generic","Get")}}],(n=[{key:"restoreRpcConnection",value:function(e){var t=this;return this.reopen(5e3).then((function(n){return"SESSION_CREATED"===n&&e?t.Promise.reject(f(-12,"Not attached")):t.Promise.resolve()}))}},{key:"restoreGlobal",value:function(e){var t=this.apis.getApisByType("Global").pop();return e.push(t.api),this.Promise.resolve()}},{key:"restoreDoc",value:function(e,t){var n=this,r=this.apis.getApisByType("Doc").pop();return r?this.rpc.send({method:"GetActiveDoc",handle:-1,params:[]}).then((function(e){return e.error&&n.openDocParams?n.rpc.send({method:"OpenDoc",handle:-1,params:n.openDocParams}):e})).then((function(i){return i.error?(e.push(r.api),n.Promise.resolve()):(r.api.handle=i.result.qReturn.qHandle,t.push(r.api),n.Promise.resolve(r.api))})):this.Promise.resolve()}},{key:"restoreDocObjects",value:function(t,n,r){var i=this,o=[],a=this.apis.getApis().map((function(e){return e.api})).filter((function(e){return"Global"!==e.type&&"Doc"!==e.type}));return t?(a.forEach((function(a){var s=e.buildGetMethodName(a.type);if(s){var l=i.rpc.send({method:s,handle:t.handle,params:[a.id]}).then((function(e){e.error||!e.result.qReturn.qHandle?n.push(a):(a.handle=e.result.qReturn.qHandle,r.push(a))}));o.push(l)}else n.push(a)})),this.Promise.all(o)):(a.forEach((function(e){return n.push(e)})),this.Promise.resolve())}},{key:"suspend",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:4e3,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.isSuspended=!0,this.rpc.close(e,t)}},{key:"resume",value:function(e){var t=this,n=[],r=[];return this.restoreRpcConnection(e).then((function(){return t.restoreGlobal(n)})).then((function(){return t.restoreDoc(r,n)})).then((function(e){return t.restoreDocObjects(e,r,n)})).then((function(){t.isSuspended=!1,t.apis.clear(),r.forEach((function(e){e.emit("closed"),e.removeAllListeners()})),n.forEach((function(e){t.apis.add(e.handle,e),"Global"!==e.type&&e.emit("changed")}))})).catch((function(e){return t.rpc.close().then((function(){return t.Promise.reject(e)}))}))}},{key:"reopen",value:function(e){var t,n,r=this,i=!1,o=new this.Promise((function(e){n=e})),a=function(e){"OnConnected"===e.method&&(clearTimeout(t),n(e.params.qSessionState),i=!0)};return this.rpc.on("notification",a),this.rpc.open(!0).then((function(){return i||(t=setTimeout((function(){return n("SESSION_CREATED")}),e)),o})).then((function(e){return r.rpc.removeListener("notification",a),e})).catch((function(e){return r.rpc.removeListener("notification",a),r.Promise.reject(e)}))}}])&&T(t.prototype,n),r&&T(t,r),e;var t,n,r}();function D(e,t){var n=e.config.protocol.delta&&-1!==t.outKey&&"qSuccess"!==t.outKey;return n&&(t.delta=n),t}function q(e,t,n){if(n.qHandle&&n.qType)return e.getObjectApi({handle:n.qHandle,type:n.qType,id:n.qGenericId,genericType:n.qGenericType});if(null===n.qHandle&&null===n.qType){var r=f(-2,"Object not found");return e.config.Promise.reject(r)}return n}var P=Object.prototype.hasOwnProperty,A=Object.prototype.toString,M=Object.defineProperty,F=Object.getOwnPropertyDescriptor,j=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===A.call(e)},V=function(e){if(!e||"[object Object]"!==A.call(e))return!1;var t,n=P.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&P.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||P.call(e,t)},z=function(e,t){M&&"__proto__"===t.name?M(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},B=function(e,t){if("__proto__"===t){if(!P.call(e,t))return;if(F)return F(e,t).value}return e[t]};function U(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function H(e){return(H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var G=(function e(){var t,n,r,i,o,a,s=arguments[0],l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},l=2),(null==s||"object"!=typeof s&&"function"!=typeof s)&&(s={});l<u;++l)if(null!=(t=arguments[l]))for(n in t)r=B(s,n),s!==(i=B(t,n))&&(c&&i&&(V(i)||(o=j(i)))?(o?(o=!1,a=r&&j(r)?r:[]):a=r&&V(r)?r:{},z(s,{name:n,newValue:e(c,a,i)})):void 0!==i&&z(s,{name:n,newValue:i}));return s}).bind(null,!0),W={},$=Array.isArray;function K(e){return null!=e&&!Array.isArray(e)&&"object"===H(e)}function Q(e){return void 0===e}function X(e,t){return"function"==typeof e[t]||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function Z(e,t){var n,r=t.substring(1).split("/").slice(0,-1);return r.forEach((function(t,i){if(i!==r.length){n=+t;var o=isNaN(n)?{}:[];e[n||t]=Q(e[n||t])?o:e[t],e=e[n||t]}})),e}function Y(e,t){var n=!0;if(K(e)&&K(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((function(r){Y(e[r],t[r])||(n=!1)})),n);if($(e)&&$(t)){if(e.length!==t.length)return!1;for(var r=0,i=e.length;r<i;r+=1)if(!Y(e[r],t[r]))return!1;return!0}return e===t}function J(e){return(J="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}W.generate=function(e,t,n){n=n||"";var r=[];return Object.keys(t).forEach((function(i){var o=function(e){return e?G({},{val:e}).val:e}(t[i]),a=e[i],s="".concat(n,"/").concat(i);Y(o,a)||X(t,i)||(Q(a)?r.push({op:"add",path:s,value:o}):K(o)&&K(a)?r=r.concat(W.generate(a,o,s)):$(o)&&$(a)?r=r.concat(function(e,t,n){var r=[],i=e.slice(),o=-1;function a(e,t,n){if(e[n]&&Q(e[n].qInfo))return null;if(e[n]&&e[n].qInfo.qId===t)return n;for(var r=0,i=e.length;r<i;r+=1)if(e[r]&&e[r].qInfo.qId===t)return r;return-1}if(Y(t,i))return r;if(!Q(t[0])&&Q(t[0].qInfo))return r.push({op:"replace",path:n,value:t}),r;for(var s=i.length-1;s>=0;s-=1)-1===(o=a(t,i[s].qInfo&&i[s].qInfo.qId,s))?(r.push({op:"remove",path:"".concat(n,"/").concat(s)}),i.splice(s,1)):r=r.concat(W.generate(i[s],t[o],"".concat(n,"/").concat(s)));for(var l=0,u=t.length;l<u;l+=1)-1===(o=a(i,t[l].qInfo&&t[l].qInfo.qId))?(r.push({op:"add",path:"".concat(n,"/").concat(l),value:t[l]}),i.splice(l,0,t[l])):o!==l&&(r.push({op:"move",path:"".concat(n,"/").concat(l),from:"".concat(n,"/").concat(o)}),i.splice(l,0,i.splice(o,1)[0]));return r}(a,o,s)):r.push({op:"replace",path:"".concat(n,"/").concat(i),value:o}))})),Object.keys(e).forEach((function(i){Q(t[i])&&!X(e,i)&&r.push({op:"remove",path:"".concat(n,"/").concat(i)})})),r},W.apply=function(e,t){t.forEach((function(t){var n,r,i=Z(e,t.path),o=t.path.split("/").splice(-1)[0],a=o&&isNaN(+o)?i[o]:i[+o]||i,s=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(i=null,a=e),"add"===t.op||"replace"===t.op)if($(i))"-"===o&&(o=i.length),i.splice(+o,"add"===t.op?0:1,t.value);else if($(a)&&$(t.value)){a.length=0;for(var l=0;l<t.value.length;l+=1e3){var u,c=t.value.slice(l,l+1e3);(u=a).push.apply(u,function(e){if(Array.isArray(e))return U(e)}(r=c)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return U(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?U(e,t):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}}else if(K(a)&&K(t.value))n=a,Object.keys(n).forEach((function(e){Object.getOwnPropertyDescriptor(n,e).configurable&&!X(n,e)&&delete n[e]})),G(a,t.value);else{if(!i)throw f(-4,"Patchee is not an object we can patch");i[o]=t.value}else if("move"===t.op){var d=Z(e,t.from);$(i)?i.splice(+o,0,d.splice(+s,1)[0]):(i[o]=d[s],delete d[s])}else"remove"===t.op&&($(i)?i.splice(+o,1):delete i[o])}))},W.clone=function(e){return G({},e)},W.createPatch=function(e,t,n){var r={op:e.toLowerCase(),path:n};return"move"===r.op?r.from=t:void 0!==t&&(r.value=t),r},W.updateObject=function(e,t){Object.keys(e).length?W.apply(e,W.generate(e,t)):G(e,t)};var ee={};function te(e,t,n){var r=n.result;return n.delta?(Object.keys(r).forEach((function(n){if(!Array.isArray(r[n]))throw f(-3,"Unexpected RPC response, expected array of patches");r[n]=function(e,t,n,r){var i=function(e,t){!function(e){if(!ee[e.id]){var t={};ee[e.id]=t,e.on("traffic:received",(function(e){return e.close&&e.close.forEach((function(e){return delete t[e]}))})),e.on("closed",(function(){return delete ee[e.id]}))}}(e);var n=ee[e.id];return n[t]||(n[t]=new E),n[t]}(e,t),o=i.get(n);return void 0===o&&(o=Array.isArray(r[0].value)?[]:{}),r.length&&("/"===r[0].path&&"object"!==J(r[0].value)?o=r[0].value:W.apply(o,r),i.set(n,o)),o}(e,t.handle,"".concat(t.method,"-").concat(n),r[n])})),JSON.parse(JSON.stringify(n))):n}function ne(e,t,n){if(void 0!==n.error){var r=n.error,i=new Error(r.message);return i.code=r.code,i.parameter=r.parameter,e.config.Promise.reject(i)}return n}te.sessions=ee;function re(e,t,n){return"CreateSessionApp"===t.method||"CreateSessionAppFromApp"===t.method?n.qReturn.qGenericId=n.qSessionAppId||n.qReturn.qGenericId:"GetInteract"===t.method&&delete n.qReturn,hasOwnProperty.call(n,"qReturn")?n.qReturn:-1!==t.outKey?n[t.outKey]:n}function ie(e,t,n){return n.result}function oe(e){return function(e){if(Array.isArray(e))return ae(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return ae(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ae(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ae(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function se(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var le=function(){function e(t){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),Object.assign(this,t),this.request=[{onFulfilled:D}].concat(oe(this.request||[])),this.response=[{onFulfilled:ne},{onFulfilled:te},{onFulfilled:ie},{onFulfilled:re}].concat(oe(this.response||[]),[{onFulfilled:q}])}return t=e,(n=[{key:"executeRequests",value:function(e,t){var n=this;return this.request.reduce((function(t,r){var i=r.onFulfilled&&r.onFulfilled.bind(n,e);return t.then(i)}),t)}},{key:"executeResponses",value:function(e,t,n){var r=this;return this.response.reduce((function(t,i){return t.then(i.onFulfilled&&i.onFulfilled.bind(r,e,n),i.onRejected&&i.onRejected.bind(r,e,n))}),t)}}])&&se(t.prototype,n),e;var t,n}();function ue(e){return(ue="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function de(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fe(e,t,n){return(fe="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=he(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function pe(e,t){return!t||"object"!==ue(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function he(e){return(he=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var me=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}(a,e);var t,n,r,i,o=(r=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=he(r);if(i){var n=he(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return pe(this,e)});function a(){return ce(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"add",value:function(e,t){var n=this,r={api:t};return fe(he(a.prototype),"add",this).call(this,e.toString(),r),t.on("closed",(function(){return n.remove(e)})),r}},{key:"getApi",value:function(e){var t=void 0!==e?this.get(e.toString()):void 0;return t&&t.api}},{key:"getApis",value:function(){return fe(he(a.prototype),"getAll",this).call(this).map((function(e){return{handle:e.key,api:e.value.api}}))}},{key:"getApisByType",value:function(e){return this.getApis().filter((function(t){return t.api.type===e}))}}])&&de(t.prototype,n),a}(E);function ye(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return t=e,n=[{key:"getSession",value:function(e){var t=e.createSocket,n=e.Promise,r=e.requestInterceptors,i=e.responseInterceptors,o=e.url,a=new me,s=new le({apis:a,Promise:n,request:r,response:i}),l=new L({createSocket:t,Promise:n,url:o}),u=new k({apis:a,Promise:n,rpc:l});return new v({apis:a,config:e,intercept:s,rpc:l,suspendResume:u})}},{key:"configureDefaults",value:function(e){if(!e)throw f(-6,"You need to supply a configuration.");if(!e.Promise&&"undefined"==typeof Promise)throw f(-7,"Your environment has no Promise implementation. You must provide a Promise implementation in the config.");"function"!=typeof e.createSocket&&"function"==typeof WebSocket&&(e.createSocket=function(e){return new WebSocket(e)}),void 0===e.suspendOnClose&&(e.suspendOnClose=!1),e.protocol=e.protocol||{},e.protocol.delta=void 0===e.protocol.delta||e.protocol.delta,e.Promise=e.Promise||Promise,e.mixins=e.mixins||[],e.definition=e.definition||new O(e)}},{key:"create",value:function(t){return e.configureDefaults(t),t.mixins.forEach((function(e){t.definition.registerMixin(e)})),e.getSession(t)}}],null&&ye(t.prototype,null),n&&ye(t,n),e;var t,n}()}()},UWD0:function(e){e.exports=JSON.parse('{"structs":{"Field":{"GetCardinal":{"In":[],"Out":[]},"GetAndMode":{"In":[],"Out":[]},"SelectValues":{"In":[{"Name":"qFieldValues","DefaultValue":[{"qText":"","qIsNumeric":false,"qNumber":0}]},{"Name":"qToggleMode","DefaultValue":false,"Optional":true},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"Select":{"In":[{"Name":"qMatch","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true},{"Name":"qExcludedValuesMode","DefaultValue":0,"Optional":true}],"Out":[]},"ToggleSelect":{"In":[{"Name":"qMatch","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true},{"Name":"qExcludedValuesMode","DefaultValue":0,"Optional":true}],"Out":[]},"ClearAllButThis":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"SelectPossible":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"SelectExcluded":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"SelectAll":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"Lock":{"In":[],"Out":[]},"Unlock":{"In":[],"Out":[]},"GetNxProperties":{"In":[],"Out":[{"Name":"qProperties"}]},"SetNxProperties":{"In":[{"Name":"qProperties","DefaultValue":{"qOneAndOnlyOne":false}}],"Out":[]},"SetAndMode":{"In":[{"Name":"qAndMode","DefaultValue":false}],"Out":[]},"SelectAlternative":{"In":[{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"LowLevelSelect":{"In":[{"Name":"qValues","DefaultValue":[0]},{"Name":"qToggleMode","DefaultValue":false},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"Clear":{"In":[],"Out":[]}},"Variable":{"GetContent":{"In":[],"Out":[{"Name":"qContent"}]},"GetRawContent":{"In":[],"Out":[]},"SetContent":{"In":[{"Name":"qContent","DefaultValue":""},{"Name":"qUpdateMRU","DefaultValue":false}],"Out":[]},"ForceContent":{"In":[{"Name":"qs","DefaultValue":""},{"Name":"qd","DefaultValue":0}],"Out":[]},"GetNxProperties":{"In":[],"Out":[{"Name":"qProperties"}]},"SetNxProperties":{"In":[{"Name":"qProperties","DefaultValue":{"qName":"","qNumberPresentation":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""},"qIncludeInBookmark":false,"qUsePredefListedValues":false,"qPreDefinedList":[""]}}],"Out":[]}},"GenericObject":{"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"GetListObjectData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubeData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubeReducedData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]},{"Name":"qZoomFactor","DefaultValue":0},{"Name":"qReductionMode","DefaultValue":0}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubePivotData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubeStackData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]},{"Name":"qMaxNbrCells","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qDataPages"}]},"GetHyperCubeContinuousData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qOptions","DefaultValue":{"qStart":0,"qEnd":0,"qNbrPoints":0,"qMaxNbrTicks":0,"qMaxNumberLines":0}},{"Name":"qReverseSort","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qDataPages"},{"Name":"qAxisData"}]},"GetHyperCubeTreeData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qNodeOptions","DefaultValue":{"qMaxNbrOfNodes":0,"qTreeNodes":[{"qArea":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qAllValues":false}],"qTreeLevels":{"qLeft":0,"qDepth":0}},"Optional":true}],"Out":[{"Name":"qNodes"}]},"GetHyperCubeBinnedData":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qPages","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]},{"Name":"qViewport","DefaultValue":{"qWidth":0,"qHeight":0,"qZoomLevel":0}},{"Name":"qDataRanges","DefaultValue":[{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0}]},{"Name":"qMaxNbrCells","DefaultValue":0},{"Name":"qQueryLevel","DefaultValue":0},{"Name":"qBinningMethod","DefaultValue":0}],"Out":[{"Name":"qDataPages"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]},{"Name":"qSoftPatch","DefaultValue":false,"Optional":true}],"Out":[]},"ClearSoftPatches":{"In":[],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{}}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetEffectiveProperties":{"In":[],"Out":[{"Name":"qProp"}]},"SetFullPropertyTree":{"In":[{"Name":"qPropEntry","DefaultValue":{"qProperty":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{}},"qChildren":[],"qEmbeddedSnapshotRef":null}}],"Out":[]},"GetFullPropertyTree":{"In":[],"Out":[{"Name":"qPropEntry"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"ClearSelections":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qColIndices","DefaultValue":[0],"Optional":true}],"Out":[]},"ExportData":{"In":[{"Name":"qFileType","DefaultValue":0},{"Name":"qPath","DefaultValue":"","Optional":true},{"Name":"qFileName","DefaultValue":"","Optional":true},{"Name":"qExportState","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qUrl"},{"Name":"qWarnings"}]},"SelectListObjectValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qValues","DefaultValue":[0]},{"Name":"qToggleMode","DefaultValue":false},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectPossible":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectExcluded":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectAlternative":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectAll":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectListObjectContinuousRange":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false}]},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SearchListObjectFor":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qMatch","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"AbortListObjectSearch":{"In":[{"Name":"qPath","DefaultValue":""}],"Out":[]},"AcceptListObjectSearch":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qToggleMode","DefaultValue":false},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[]},"ExpandLeft":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRow","DefaultValue":0},{"Name":"qCol","DefaultValue":0},{"Name":"qAll","DefaultValue":false}],"Out":[]},"ExpandTop":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRow","DefaultValue":0},{"Name":"qCol","DefaultValue":0},{"Name":"qAll","DefaultValue":false}],"Out":[]},"CollapseLeft":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRow","DefaultValue":0},{"Name":"qCol","DefaultValue":0},{"Name":"qAll","DefaultValue":false}],"Out":[]},"CollapseTop":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRow","DefaultValue":0},{"Name":"qCol","DefaultValue":0},{"Name":"qAll","DefaultValue":false}],"Out":[]},"DrillUp":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qDimNo","DefaultValue":0},{"Name":"qNbrSteps","DefaultValue":0}],"Out":[]},"Lock":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qColIndices","DefaultValue":[0],"Optional":true}],"Out":[]},"Unlock":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qColIndices","DefaultValue":[0],"Optional":true}],"Out":[]},"SelectHyperCubeValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qDimNo","DefaultValue":0},{"Name":"qValues","DefaultValue":[0]},{"Name":"qToggleMode","DefaultValue":false}],"Out":[{"Name":"qSuccess"}]},"SelectHyperCubeCells":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRowIndices","DefaultValue":[0]},{"Name":"qColIndices","DefaultValue":[0]},{"Name":"qSoftLock","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectPivotCells":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qSelections","DefaultValue":[{"qType":0,"qCol":0,"qRow":0}]},{"Name":"qSoftLock","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"RangeSelectHyperCubeValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qRange":{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false},"qMeasureIx":0}]},{"Name":"qColumnsToSelect","DefaultValue":[0],"Optional":true},{"Name":"qOrMode","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"MultiRangeSelectHyperCubeValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qRanges":[{"qRange":{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false},"qMeasureIx":0}],"qColumnsToSelect":[0]}]},{"Name":"qOrMode","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"MultiRangeSelectTreeDataValues":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qRanges":[{"qRange":{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false},"qMeasureIx":0,"qDimensionIx":0}]}]},{"Name":"qOrMode","DefaultValue":false,"Optional":true},{"Name":"qDeselectOnlyOneSelected","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"SelectHyperCubeContinuousRange":{"In":[{"Name":"qPath","DefaultValue":""},{"Name":"qRanges","DefaultValue":[{"qRange":{"qMin":0,"qMax":0,"qMinInclEq":false,"qMaxInclEq":false},"qDimIx":0}]},{"Name":"qSoftLock","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"GetChild":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetChildInfos":{"In":[],"Out":[{"Name":"qInfos"}]},"CreateChild":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{}}},{"Name":"qPropForThis","DefaultValue":null,"Optional":true}],"Out":[{"Name":"qInfo"}]},"DestroyChild":{"In":[{"Name":"qId","DefaultValue":""},{"Name":"qPropForThis","DefaultValue":null,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"DestroyAllChildren":{"In":[{"Name":"qPropForThis","DefaultValue":null,"Optional":true}],"Out":[]},"SetChildArrayOrder":{"In":[{"Name":"qIds","DefaultValue":[""]}],"Out":[]},"GetLinkedObjects":{"In":[],"Out":[{"Name":"qItems"}]},"CopyFrom":{"In":[{"Name":"qFromId","DefaultValue":""}],"Out":[]},"BeginSelections":{"In":[{"Name":"qPaths","DefaultValue":[""]}],"Out":[]},"EndSelections":{"In":[{"Name":"qAccept","DefaultValue":false}],"Out":[]},"ResetMadeSelections":{"In":[],"Out":[]},"EmbedSnapshotObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetSnapshotObject":{"In":[],"Out":[]},"Publish":{"In":[],"Out":[]},"UnPublish":{"In":[],"Out":[]},"Approve":{"In":[],"Out":[]},"UnApprove":{"In":[],"Out":[]}},"GenericDimension":{"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]}],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qDim":{"qGrouping":0,"qFieldDefs":[""],"qFieldLabels":[""],"qLabelExpression":""},"qMetaDef":{}}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"GetDimension":{"In":[],"Out":[{"Name":"qDim"}]},"GetLinkedObjects":{"In":[],"Out":[{"Name":"qItems"}]},"Publish":{"In":[],"Out":[]},"UnPublish":{"In":[],"Out":[]},"Approve":{"In":[],"Out":[]},"UnApprove":{"In":[],"Out":[]}},"GenericBookmark":{"GetFieldValues":{"In":[{"Name":"qField","DefaultValue":""},{"Name":"qGetExcludedValues","DefaultValue":false},{"Name":"qDataPage","DefaultValue":{"qStartIndex":0,"qEndIndex":0}}],"Out":[{"Name":"qFieldValues"}]},"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]}],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{}}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"Apply":{"In":[],"Out":[{"Name":"qSuccess"}]},"Publish":{"In":[],"Out":[]},"UnPublish":{"In":[],"Out":[]},"Approve":{"In":[],"Out":[]},"UnApprove":{"In":[],"Out":[]}},"GenericVariable":{"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]}],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qName":"","qComment":"","qNumberPresentation":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""},"qIncludeInBookmark":false,"qDefinition":""}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"SetStringValue":{"In":[{"Name":"qVal","DefaultValue":""}],"Out":[]},"SetNumValue":{"In":[{"Name":"qVal","DefaultValue":0}],"Out":[]},"SetDualValue":{"In":[{"Name":"qText","DefaultValue":""},{"Name":"qNum","DefaultValue":0}],"Out":[]}},"GenericMeasure":{"GetLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"ApplyPatches":{"In":[{"Name":"qPatches","DefaultValue":[{"qOp":0,"qPath":"","qValue":""}]}],"Out":[]},"SetProperties":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMeasure":{"qLabel":"","qDef":"","qGrouping":0,"qExpressions":[""],"qActiveExpression":0,"qLabelExpression":""},"qMetaDef":{}}}],"Out":[]},"GetProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetInfo":{"In":[],"Out":[{"Name":"qInfo"}]},"GetMeasure":{"In":[],"Out":[{"Name":"qMeasure"}]},"GetLinkedObjects":{"In":[],"Out":[{"Name":"qItems"}]},"Publish":{"In":[],"Out":[]},"UnPublish":{"In":[],"Out":[]},"Approve":{"In":[],"Out":[]},"UnApprove":{"In":[],"Out":[]}},"Doc":{"GetField":{"In":[{"Name":"qFieldName","DefaultValue":""},{"Name":"qStateName","DefaultValue":"","Optional":true}],"Out":[]},"GetFieldDescription":{"In":[{"Name":"qFieldName","DefaultValue":""}],"Out":[]},"GetVariable":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[]},"GetLooselyCoupledVector":{"In":[],"Out":[{"Name":"qv"}]},"SetLooselyCoupledVector":{"In":[{"Name":"qv","DefaultValue":[0]}],"Out":[]},"Evaluate":{"In":[{"Name":"qExpression","DefaultValue":""}],"Out":[]},"EvaluateEx":{"In":[{"Name":"qExpression","DefaultValue":""}],"Out":[{"Name":"qValue"}]},"ClearAll":{"In":[{"Name":"qLockedAlso","DefaultValue":false,"Optional":true},{"Name":"qStateName","DefaultValue":"","Optional":true}],"Out":[]},"LockAll":{"In":[{"Name":"qStateName","DefaultValue":"","Optional":true}],"Out":[]},"UnlockAll":{"In":[{"Name":"qStateName","DefaultValue":"","Optional":true}],"Out":[]},"Back":{"In":[],"Out":[]},"Forward":{"In":[],"Out":[]},"CreateVariable":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[]},"RemoveVariable":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[]},"GetLocaleInfo":{"In":[],"Out":[]},"GetTablesAndKeys":{"In":[{"Name":"qWindowSize","DefaultValue":{"qcx":0,"qcy":0}},{"Name":"qNullSize","DefaultValue":{"qcx":0,"qcy":0}},{"Name":"qCellHeight","DefaultValue":0},{"Name":"qSyntheticMode","DefaultValue":false},{"Name":"qIncludeSysVars","DefaultValue":false}],"Out":[{"Name":"qtr"},{"Name":"qk"}]},"GetViewDlgSaveInfo":{"In":[],"Out":[]},"SetViewDlgSaveInfo":{"In":[{"Name":"qInfo","DefaultValue":{"qPos":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qCtlInfo":{"qInternalView":{"qTables":[{"qPos":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qCaption":""}],"qBroomPoints":[{"qPos":{"qx":0,"qy":0},"qTable":"","qFields":[""]}],"qConnectionPoints":[{"qPos":{"qx":0,"qy":0},"qFields":[""]}],"qZoomFactor":0},"qSourceView":{"qTables":[{"qPos":{"qLeft":0,"qTop":0,"qWidth":0,"qHeight":0},"qCaption":""}],"qBroomPoints":[{"qPos":{"qx":0,"qy":0},"qTable":"","qFields":[""]}],"qConnectionPoints":[{"qPos":{"qx":0,"qy":0},"qFields":[""]}],"qZoomFactor":0}},"qMode":0}}],"Out":[]},"GetEmptyScript":{"In":[{"Name":"qLocalizedMainSection","DefaultValue":"","Optional":true}],"Out":[]},"DoReload":{"In":[{"Name":"qMode","DefaultValue":0,"Optional":true},{"Name":"qPartial","DefaultValue":false,"Optional":true},{"Name":"qDebug","DefaultValue":false,"Optional":true}],"Out":[]},"GetScriptBreakpoints":{"In":[],"Out":[{"Name":"qBreakpoints"}]},"SetScriptBreakpoints":{"In":[{"Name":"qBreakpoints","DefaultValue":[{"qbufferName":"","qlineIx":0,"qEnabled":false}]}],"Out":[]},"GetScript":{"In":[],"Out":[{"Name":"qScript"}]},"GetTextMacros":{"In":[],"Out":[{"Name":"qMacros"}]},"SetFetchLimit":{"In":[{"Name":"qLimit","DefaultValue":0}],"Out":[]},"DoSave":{"In":[{"Name":"qFileName","DefaultValue":"","Optional":true}],"Out":[]},"GetTableData":{"In":[{"Name":"qOffset","DefaultValue":0},{"Name":"qRows","DefaultValue":0},{"Name":"qSyntheticMode","DefaultValue":false},{"Name":"qTableName","DefaultValue":""}],"Out":[{"Name":"qData"}]},"GetAppLayout":{"In":[],"Out":[{"Name":"qLayout"}]},"SetAppProperties":{"In":[{"Name":"qProp","DefaultValue":{"qTitle":"","qLastReloadTime":"","qMigrationHash":"","qSavedInProductVersion":"","qThumbnail":{"qUrl":""}}}],"Out":[]},"GetAppProperties":{"In":[],"Out":[{"Name":"qProp"}]},"GetLineage":{"In":[],"Out":[{"Name":"qLineage"}]},"CreateSessionObject":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{}}}],"Out":[]},"DestroySessionObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"CreateObject":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qExtendsId":"","qMetaDef":{}}}],"Out":[{"Name":"qInfo"}]},"DestroyObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetObjects":{"In":[{"Name":"qOptions","DefaultValue":{"qTypes":[""],"qIncludeSessionObjects":false,"qData":{}}}],"Out":[{"Name":"qList"}]},"GetBookmarks":{"In":[{"Name":"qOptions","DefaultValue":{"qTypes":[""],"qData":{}}}],"Out":[{"Name":"qList"}]},"CloneObject":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qCloneId"}]},"CreateDraft":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qDraftId"}]},"CommitDraft":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"DestroyDraft":{"In":[{"Name":"qId","DefaultValue":""},{"Name":"qSourceId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"Undo":{"In":[],"Out":[{"Name":"qSuccess"}]},"Redo":{"In":[],"Out":[{"Name":"qSuccess"}]},"ClearUndoBuffer":{"In":[],"Out":[]},"CreateDimension":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qDim":{"qGrouping":0,"qFieldDefs":[""],"qFieldLabels":[""],"qLabelExpression":""},"qMetaDef":{}}}],"Out":[{"Name":"qInfo"}]},"DestroyDimension":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetDimension":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"CloneDimension":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qCloneId"}]},"CreateMeasure":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMeasure":{"qLabel":"","qDef":"","qGrouping":0,"qExpressions":[""],"qActiveExpression":0,"qLabelExpression":""},"qMetaDef":{}}}],"Out":[{"Name":"qInfo"}]},"DestroyMeasure":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetMeasure":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"CloneMeasure":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qCloneId"}]},"CreateSessionVariable":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qName":"","qComment":"","qNumberPresentation":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""},"qIncludeInBookmark":false,"qDefinition":""}}],"Out":[]},"DestroySessionVariable":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"CreateVariableEx":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{},"qName":"","qComment":"","qNumberPresentation":{"qType":0,"qnDec":0,"qUseThou":0,"qFmt":"","qDec":"","qThou":""},"qIncludeInBookmark":false,"qDefinition":""}}],"Out":[{"Name":"qInfo"}]},"DestroyVariableById":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"DestroyVariableByName":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetVariableById":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"GetVariableByName":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[]},"MigrateVariables":{"In":[],"Out":[]},"MigrateDerivedFields":{"In":[],"Out":[]},"CheckExpression":{"In":[{"Name":"qExpr","DefaultValue":""},{"Name":"qLabels","DefaultValue":[""],"Optional":true}],"Out":[{"Name":"qErrorMsg"},{"Name":"qBadFieldNames"},{"Name":"qDangerousFieldNames"}]},"CheckNumberOrExpression":{"In":[{"Name":"qExpr","DefaultValue":""}],"Out":[{"Name":"qErrorMsg"},{"Name":"qBadFieldNames"}]},"AddAlternateState":{"In":[{"Name":"qStateName","DefaultValue":""}],"Out":[]},"RemoveAlternateState":{"In":[{"Name":"qStateName","DefaultValue":""}],"Out":[]},"CreateBookmark":{"In":[{"Name":"qProp","DefaultValue":{"qInfo":{"qId":"","qType":""},"qMetaDef":{}}}],"Out":[{"Name":"qInfo"}]},"DestroyBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[]},"ApplyBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"CloneBookmark":{"In":[{"Name":"qId","DefaultValue":""}],"Out":[{"Name":"qCloneId"}]},"AddFieldFromExpression":{"In":[{"Name":"qName","DefaultValue":""},{"Name":"qExpr","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"GetFieldOnTheFlyByName":{"In":[{"Name":"qReadableName","DefaultValue":""}],"Out":[{"Name":"qName"}]},"GetAllInfos":{"In":[],"Out":[{"Name":"qInfos"}]},"Resume":{"In":[],"Out":[]},"AbortModal":{"In":[{"Name":"qAccept","DefaultValue":false}],"Out":[]},"Publish":{"In":[{"Name":"qStreamId","DefaultValue":""},{"Name":"qName","DefaultValue":"","Optional":true}],"Out":[]},"UnPublish":{"In":[],"Out":[]},"GetMatchingFields":{"In":[{"Name":"qTags","DefaultValue":[""]},{"Name":"qMatchingFieldMode","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qFieldNames"}]},"FindMatchingFields":{"In":[{"Name":"qFieldName","DefaultValue":""},{"Name":"qTags","DefaultValue":[""]}],"Out":[{"Name":"qFieldNames"}]},"Scramble":{"In":[{"Name":"qFieldName","DefaultValue":""}],"Out":[]},"SaveObjects":{"In":[],"Out":[]},"GetAssociationScores":{"In":[{"Name":"qTable1","DefaultValue":""},{"Name":"qTable2","DefaultValue":""}],"Out":[{"Name":"qScore"}]},"GetMediaList":{"In":[],"Out":[{"Name":"qList"}]},"GetContentLibraries":{"In":[],"Out":[{"Name":"qList"}]},"GetLibraryContent":{"In":[{"Name":"qName","DefaultValue":""}],"Out":[{"Name":"qList"}]},"DoReloadEx":{"In":[{"Name":"qParams","DefaultValue":{"qMode":0,"qPartial":false,"qDebug":false},"Optional":true}],"Out":[{"Name":"qResult"}]},"BackCount":{"In":[],"Out":[]},"ForwardCount":{"In":[],"Out":[]},"ExportReducedData":{"In":[{"Name":"qOptions","DefaultValue":{"qBookmarkId":"","qExpires":0},"Optional":true}],"Out":[{"Name":"qDownloadInfo"}]},"SetScript":{"In":[{"Name":"qScript","DefaultValue":""}],"Out":[]},"CheckScriptSyntax":{"In":[],"Out":[{"Name":"qErrors"}]},"GetFavoriteVariables":{"In":[],"Out":[{"Name":"qNames"}]},"SetFavoriteVariables":{"In":[{"Name":"qNames","DefaultValue":[""]}],"Out":[]},"GetIncludeFileContent":{"In":[{"Name":"qPath","DefaultValue":""}],"Out":[{"Name":"qContent"}]},"CreateConnection":{"In":[{"Name":"qConnection","DefaultValue":{"qId":"","qName":"","qConnectionString":"","qType":"","qUserName":"","qPassword":"","qModifiedDate":"","qMeta":{"qName":""},"qLogOn":0}}],"Out":[{"Name":"qConnectionId"}]},"ModifyConnection":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qConnection","DefaultValue":{"qId":"","qName":"","qConnectionString":"","qType":"","qUserName":"","qPassword":"","qModifiedDate":"","qMeta":{"qName":""},"qLogOn":0}},{"Name":"qOverrideCredentials","DefaultValue":false,"Optional":true}],"Out":[]},"DeleteConnection":{"In":[{"Name":"qConnectionId","DefaultValue":""}],"Out":[]},"GetConnection":{"In":[{"Name":"qConnectionId","DefaultValue":""}],"Out":[{"Name":"qConnection"}]},"GetConnections":{"In":[],"Out":[{"Name":"qConnections"}]},"GetDatabaseInfo":{"In":[{"Name":"qConnectionId","DefaultValue":""}],"Out":[{"Name":"qInfo"}]},"GetDatabases":{"In":[{"Name":"qConnectionId","DefaultValue":""}],"Out":[{"Name":"qDatabases"}]},"GetDatabaseOwners":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qDatabase","DefaultValue":"","Optional":true}],"Out":[{"Name":"qOwners"}]},"GetDatabaseTables":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qDatabase","DefaultValue":"","Optional":true},{"Name":"qOwner","DefaultValue":"","Optional":true}],"Out":[{"Name":"qTables"}]},"GetDatabaseTableFields":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qDatabase","DefaultValue":"","Optional":true},{"Name":"qOwner","DefaultValue":"","Optional":true},{"Name":"qTable","DefaultValue":""}],"Out":[{"Name":"qFields"}]},"GetDatabaseTablePreview":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qDatabase","DefaultValue":"","Optional":true},{"Name":"qOwner","DefaultValue":"","Optional":true},{"Name":"qTable","DefaultValue":""},{"Name":"qConditions","DefaultValue":{"qType":0,"qWherePredicate":""},"Optional":true}],"Out":[{"Name":"qPreview"},{"Name":"qRowCount"}]},"GetFolderItemsForConnection":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true}],"Out":[{"Name":"qFolderItems"}]},"GuessFileType":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true}],"Out":[{"Name":"qDataFormat"}]},"GetFileTables":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true},{"Name":"qDataFormat","DefaultValue":{"qType":0,"qLabel":"","qQuote":"","qComment":"","qDelimiter":{"qName":"","qScriptCode":"","qNumber":0,"qIsMultiple":false},"qCodePage":0,"qHeaderSize":0,"qRecordSize":0,"qTabSize":0,"qIgnoreEOF":false,"qFixedWidthDelimiters":""}}],"Out":[{"Name":"qTables"}]},"GetFileTableFields":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true},{"Name":"qDataFormat","DefaultValue":{"qType":0,"qLabel":"","qQuote":"","qComment":"","qDelimiter":{"qName":"","qScriptCode":"","qNumber":0,"qIsMultiple":false},"qCodePage":0,"qHeaderSize":0,"qRecordSize":0,"qTabSize":0,"qIgnoreEOF":false,"qFixedWidthDelimiters":""}},{"Name":"qTable","DefaultValue":""}],"Out":[{"Name":"qFields"},{"Name":"qFormatSpec"}]},"GetFileTablePreview":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true},{"Name":"qDataFormat","DefaultValue":{"qType":0,"qLabel":"","qQuote":"","qComment":"","qDelimiter":{"qName":"","qScriptCode":"","qNumber":0,"qIsMultiple":false},"qCodePage":0,"qHeaderSize":0,"qRecordSize":0,"qTabSize":0,"qIgnoreEOF":false,"qFixedWidthDelimiters":""}},{"Name":"qTable","DefaultValue":""}],"Out":[{"Name":"qPreview"},{"Name":"qFormatSpec"}]},"GetFileTablesEx":{"In":[{"Name":"qConnectionId","DefaultValue":""},{"Name":"qRelativePath","DefaultValue":"","Optional":true},{"Name":"qDataFormat","DefaultValue":{"qType":0,"qLabel":"","qQuote":"","qComment":"","qDelimiter":{"qName":"","qScriptCode":"","qNumber":0,"qIsMultiple":false},"qCodePage":0,"qHeaderSize":0,"qRecordSize":0,"qTabSize":0,"qIgnoreEOF":false,"qFixedWidthDelimiters":""}}],"Out":[{"Name":"qTables"}]},"SendGenericCommandToCustomConnector":{"In":[{"Name":"qProvider","DefaultValue":""},{"Name":"qCommand","DefaultValue":""},{"Name":"qMethod","DefaultValue":""},{"Name":"qParameters","DefaultValue":[""]},{"Name":"qAppendConnection","DefaultValue":""}],"Out":[{"Name":"qResult"}]},"SearchSuggest":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""],"qContext":0,"qCharEncoding":0,"qAttributes":[""]}},{"Name":"qTerms","DefaultValue":[""]}],"Out":[{"Name":"qResult"}]},"SearchAssociations":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""],"qContext":0,"qCharEncoding":0,"qAttributes":[""]}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qPage","DefaultValue":{"qOffset":0,"qCount":0,"qMaxNbrFieldMatches":0,"qGroupOptions":[{"qGroupType":0,"qOffset":0,"qCount":0}],"qGroupItemOptions":[{"qGroupItemType":0,"qOffset":0,"qCount":0}]}}],"Out":[{"Name":"qResults"}]},"SelectAssociations":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""],"qContext":0,"qCharEncoding":0,"qAttributes":[""]}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qMatchIx","DefaultValue":0},{"Name":"qSoftLock","DefaultValue":null,"Optional":true}],"Out":[]},"SearchResults":{"In":[{"Name":"qOptions","DefaultValue":{"qSearchFields":[""],"qContext":0,"qCharEncoding":0,"qAttributes":[""]}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qPage","DefaultValue":{"qOffset":0,"qCount":0,"qMaxNbrFieldMatches":0,"qGroupOptions":[{"qGroupType":0,"qOffset":0,"qCount":0}],"qGroupItemOptions":[{"qGroupItemType":0,"qOffset":0,"qCount":0}]}}],"Out":[{"Name":"qResult"}]},"SearchObjects":{"In":[{"Name":"qOptions","DefaultValue":{"qAttributes":[""],"qCharEncoding":0}},{"Name":"qTerms","DefaultValue":[""]},{"Name":"qPage","DefaultValue":{"qOffset":0,"qCount":0,"qMaxNbrFieldMatches":0,"qGroupOptions":[{"qGroupType":0,"qOffset":0,"qCount":0}],"qGroupItemOptions":[{"qGroupItemType":0,"qOffset":0,"qCount":0}]}}],"Out":[{"Name":"qResult"}]},"GetScriptEx":{"In":[],"Out":[{"Name":"qScript"}]}},"Global":{"AbortRequest":{"In":[{"Name":"qRequestId","DefaultValue":0}],"Out":[]},"AbortAll":{"In":[],"Out":[]},"GetProgress":{"In":[{"Name":"qRequestId","DefaultValue":0}],"Out":[{"Name":"qProgressData"}]},"QvVersion":{"In":[],"Out":[]},"OSVersion":{"In":[],"Out":[]},"OSName":{"In":[],"Out":[]},"QTProduct":{"In":[],"Out":[]},"GetDocList":{"In":[],"Out":[{"Name":"qDocList"}]},"GetInteract":{"In":[{"Name":"qRequestId","DefaultValue":0}],"Out":[{"Name":"qDef"}]},"InteractDone":{"In":[{"Name":"qRequestId","DefaultValue":0},{"Name":"qDef","DefaultValue":{"qType":0,"qTitle":"","qMsg":"","qButtons":0,"qLine":"","qOldLineNr":0,"qNewLineNr":0,"qPath":"","qHidden":false,"qResult":0,"qInput":""}}],"Out":[]},"GetAuthenticatedUser":{"In":[],"Out":[]},"CreateDocEx":{"In":[{"Name":"qDocName","DefaultValue":""},{"Name":"qUserName","DefaultValue":"","Optional":true},{"Name":"qPassword","DefaultValue":"","Optional":true},{"Name":"qSerial","DefaultValue":"","Optional":true},{"Name":"qLocalizedScriptMainSection","DefaultValue":"","Optional":true}],"Out":[{"Name":"qDocId"}]},"GetActiveDoc":{"In":[],"Out":[]},"AllowCreateApp":{"In":[],"Out":[]},"CreateApp":{"In":[{"Name":"qAppName","DefaultValue":""},{"Name":"qLocalizedScriptMainSection","DefaultValue":"","Optional":true}],"Out":[{"Name":"qSuccess"},{"Name":"qAppId"}]},"DeleteApp":{"In":[{"Name":"qAppId","DefaultValue":""}],"Out":[{"Name":"qSuccess"}]},"IsDesktopMode":{"In":[],"Out":[]},"GetConfiguration":{"In":[],"Out":[{"Name":"qConfig"}]},"CancelRequest":{"In":[{"Name":"qRequestId","DefaultValue":0}],"Out":[]},"ShutdownProcess":{"In":[],"Out":[]},"ReloadExtensionList":{"In":[],"Out":[]},"ReplaceAppFromID":{"In":[{"Name":"qTargetAppId","DefaultValue":""},{"Name":"qSrcAppID","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]}],"Out":[{"Name":"qSuccess"}]},"ReplaceAppFromPath":{"In":[{"Name":"qTargetAppId","DefaultValue":""},{"Name":"qSrcPath","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]},{"Name":"qNoData","DefaultValue":false}],"Out":[]},"CopyApp":{"In":[{"Name":"qTargetAppId","DefaultValue":""},{"Name":"qSrcAppId","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]}],"Out":[{"Name":"qSuccess"}]},"ImportApp":{"In":[{"Name":"qAppId","DefaultValue":""},{"Name":"qSrcPath","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]}],"Out":[{"Name":"qSuccess"}]},"ImportAppEx":{"In":[{"Name":"qAppId","DefaultValue":""},{"Name":"qSrcPath","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]},{"Name":"qExcludeConnections","DefaultValue":false}],"Out":[]},"ExportApp":{"In":[{"Name":"qTargetPath","DefaultValue":""},{"Name":"qSrcAppId","DefaultValue":""},{"Name":"qIds","DefaultValue":[""]},{"Name":"qNoData","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qSuccess"}]},"PublishApp":{"In":[{"Name":"qAppId","DefaultValue":""},{"Name":"qName","DefaultValue":""},{"Name":"qStreamId","DefaultValue":""}],"Out":[]},"IsPersonalMode":{"In":[],"Out":[]},"GetUniqueID":{"In":[],"Out":[{"Name":"qUniqueID"}]},"OpenDoc":{"In":[{"Name":"qDocName","DefaultValue":""},{"Name":"qUserName","DefaultValue":"","Optional":true},{"Name":"qPassword","DefaultValue":"","Optional":true},{"Name":"qSerial","DefaultValue":"","Optional":true},{"Name":"qNoData","DefaultValue":false,"Optional":true}],"Out":[]},"CreateSessionApp":{"In":[],"Out":[{"Name":"qSessionAppId"}]},"CreateSessionAppFromApp":{"In":[{"Name":"qSrcAppId","DefaultValue":""}],"Out":[{"Name":"qSessionAppId"}]},"ProductVersion":{"In":[],"Out":[]},"GetAppEntry":{"In":[{"Name":"qAppID","DefaultValue":""}],"Out":[{"Name":"qEntry"}]},"ConfigureReload":{"In":[{"Name":"qCancelOnScriptError","DefaultValue":false},{"Name":"qUseErrorData","DefaultValue":false},{"Name":"qInteractOnError","DefaultValue":false}],"Out":[]},"CancelReload":{"In":[],"Out":[]},"GetBNF":{"In":[{"Name":"qBnfType","DefaultValue":0}],"Out":[{"Name":"qBnfDefs"}]},"GetFunctions":{"In":[{"Name":"qGroup","DefaultValue":0,"Optional":true}],"Out":[{"Name":"qFunctions"}]},"GetOdbcDsns":{"In":[],"Out":[{"Name":"qOdbcDsns"}]},"GetOleDbProviders":{"In":[],"Out":[{"Name":"qOleDbProviders"}]},"GetDatabasesFromConnectionString":{"In":[{"Name":"qConnection","DefaultValue":{"qId":"","qName":"","qConnectionString":"","qType":"","qUserName":"","qPassword":"","qModifiedDate":"","qMeta":{"qName":""},"qLogOn":0}}],"Out":[{"Name":"qDatabases"}]},"IsValidConnectionString":{"In":[{"Name":"qConnection","DefaultValue":{"qId":"","qName":"","qConnectionString":"","qType":"","qUserName":"","qPassword":"","qModifiedDate":"","qMeta":{"qName":""},"qLogOn":0}}],"Out":[]},"GetDefaultAppFolder":{"In":[],"Out":[{"Name":"qPath"}]},"GetMyDocumentsFolder":{"In":[],"Out":[{"Name":"qFolder"}]},"GetLogicalDriveStrings":{"In":[],"Out":[{"Name":"qDrives"}]},"GetFolderItemsForPath":{"In":[{"Name":"qPath","DefaultValue":""}],"Out":[{"Name":"qFolderItems"}]},"GetSupportedCodePages":{"In":[],"Out":[{"Name":"qCodePages"}]},"GetCustomConnectors":{"In":[{"Name":"qReloadList","DefaultValue":false,"Optional":true}],"Out":[{"Name":"qConnectors"}]},"GetStreamList":{"In":[],"Out":[{"Name":"qStreamList"}]},"EngineVersion":{"In":[],"Out":[{"Name":"qVersion"}]},"GetBaseBNF":{"In":[{"Name":"qBnfType","DefaultValue":0}],"Out":[{"Name":"qBnfDefs"},{"Name":"qBnfHash"}]},"GetBaseBNFHash":{"In":[{"Name":"qBnfType","DefaultValue":0}],"Out":[{"Name":"qBnfHash"}]},"GetBaseBNFString":{"In":[{"Name":"qBnfType","DefaultValue":0}],"Out":[{"Name":"qBnfStr"},{"Name":"qBnfHash"}]}}},"enums":{"LocalizedMessageCode":{"LOCMSG_SCRIPTEDITOR_EMPTY_MESSAGE":0,"LOCMSG_SCRIPTEDITOR_PROGRESS_SAVING_STARTED":1,"LOCMSG_SCRIPTEDITOR_PROGRESS_BYTES_LEFT":2,"LOCMSG_SCRIPTEDITOR_PROGRESS_STORING_TABLES":3,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVD_ROWS_SO_FAR":4,"LOCMSG_SCRIPTEDITOR_PROGRESS_CONNECTED":5,"LOCMSG_SCRIPTEDITOR_PROGRESS_CONNECTING_TO":6,"LOCMSG_SCRIPTEDITOR_PROGRESS_CONNECT_FAILED":7,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVD_ROWISH":8,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVD_COLUMNAR":9,"LOCMSG_SCRIPTEDITOR_ERROR":10,"LOCMSG_SCRIPTEDITOR_DONE":11,"LOCMSG_SCRIPTEDITOR_LOAD_EXTERNAL_DATA":12,"LOCMSG_SCRIPTEDITOR_PROGRESS_OLD_QVD_ISLOADING":13,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVC_LOADING":14,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVD_BUFFERED":15,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVC_PREPARING":16,"LOCMSG_SCRIPTEDITOR_PROGRESS_QVC_APPENDING":17,"LOCMSG_SCRIPTEDITOR_REMOVE_SYNTHETIC":18,"LOCMSG_SCRIPTEDITOR_PENDING_LINKEDTABLE_FETCHING":19,"LOCMSG_SCRIPTEDITOR_RELOAD":20,"LOCMSG_SCRIPTEDITOR_LINES_FETCHED":21,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_START":22,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_FIELD":23,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_SUCCESS":24,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_FAILURE":25,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_STARTABORT":26,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_ENDABORT":27,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_TIMEOUT":28,"LOCMSG_SCRIPTEDITOR_SEARCHINDEX_OUTOFMEMORY":29},"LocalizedErrorCode":{"LOCERR_INTERNAL_ERROR":-128,"LOCERR_GENERIC_UNKNOWN":-1,"LOCERR_GENERIC_OK":0,"LOCERR_GENERIC_NOT_SET":1,"LOCERR_GENERIC_NOT_FOUND":2,"LOCERR_GENERIC_ALREADY_EXISTS":3,"LOCERR_GENERIC_INVALID_PATH":4,"LOCERR_GENERIC_ACCESS_DENIED":5,"LOCERR_GENERIC_OUT_OF_MEMORY":6,"LOCERR_GENERIC_NOT_INITIALIZED":7,"LOCERR_GENERIC_INVALID_PARAMETERS":8,"LOCERR_GENERIC_EMPTY_PARAMETERS":9,"LOCERR_GENERIC_INTERNAL_ERROR":10,"LOCERR_GENERIC_CORRUPT_DATA":11,"LOCERR_GENERIC_MEMORY_INCONSISTENCY":12,"LOCERR_GENERIC_INVISIBLE_OWNER_ABORT":13,"LOCERR_GENERIC_PROHIBIT_VALIDATE":14,"LOCERR_GENERIC_ABORTED":15,"LOCERR_GENERIC_CONNECTION_LOST":16,"LOCERR_GENERIC_UNSUPPORTED_IN_PRODUCT_VERSION":17,"LOCERR_GENERIC_REST_CONNECTION_FAILURE":18,"LOCERR_GENERIC_MEMORY_LIMIT_REACHED":19,"LOCERR_HTTP_400":400,"LOCERR_HTTP_401":401,"LOCERR_HTTP_402":402,"LOCERR_HTTP_403":403,"LOCERR_HTTP_404":404,"LOCERR_HTTP_405":405,"LOCERR_HTTP_406":406,"LOCERR_HTTP_407":407,"LOCERR_HTTP_408":408,"LOCERR_HTTP_409":409,"LOCERR_HTTP_410":410,"LOCERR_HTTP_411":411,"LOCERR_HTTP_412":412,"LOCERR_HTTP_413":413,"LOCERR_HTTP_414":414,"LOCERR_HTTP_415":415,"LOCERR_HTTP_416":416,"LOCERR_HTTP_417":417,"LOCERR_HTTP_422":422,"LOCERR_HTTP_429":429,"LOCERR_HTTP_500":500,"LOCERR_HTTP_501":501,"LOCERR_HTTP_502":502,"LOCERR_HTTP_503":503,"LOCERR_HTTP_504":504,"LOCERR_HTTP_505":505,"LOCERR_HTTP_509":509,"LOCERR_HTTP_COULD_NOT_RESOLVE_HOST":700,"LOCERR_APP_ALREADY_EXISTS":1000,"LOCERR_APP_INVALID_NAME":1001,"LOCERR_APP_ALREADY_OPEN":1002,"LOCERR_APP_NOT_FOUND":1003,"LOCERR_APP_IMPORT_FAILED":1004,"LOCERR_APP_SAVE_FAILED":1005,"LOCERR_APP_CREATE_FAILED":1006,"LOCERR_APP_INVALID":1007,"LOCERR_APP_CONNECT_FAILED":1008,"LOCERR_APP_ALREADY_OPEN_IN_DIFFERENT_MODE":1009,"LOCERR_APP_MIGRATION_COULD_NOT_CONTACT_MIGRATION_SERVICE":1010,"LOCERR_APP_MIGRATION_COULD_NOT_START_MIGRATION":1011,"LOCERR_APP_MIGRATION_FAILURE":1012,"LOCERR_APP_SCRIPT_MISSING":1013,"LOCERR_APP_EXPORT_FAILED":1014,"LOCERR_CONNECTION_ALREADY_EXISTS":2000,"LOCERR_CONNECTION_NOT_FOUND":2001,"LOCERR_CONNECTION_FAILED_TO_LOAD":2002,"LOCERR_CONNECTION_FAILED_TO_IMPORT":2003,"LOCERR_CONNECTION_NAME_IS_INVALID":2004,"LOCERR_CONNECTOR_NO_FILE_STREAMING_SUPPORT":2300,"LOCERR_CONNECTOR_FILESIZE_EXCEEDED_BUFFER_SIZE":2301,"LOCERR_FILE_ACCESS_DENIED":3000,"LOCERR_FILE_NAME_INVALID":3001,"LOCERR_FILE_CORRUPT":3002,"LOCERR_FILE_NOT_FOUND":3003,"LOCERR_FILE_FORMAT_UNSUPPORTED":3004,"LOCERR_FILE_OPENED_IN_UNSUPPORTED_MODE":3005,"LOCERR_FILE_TABLE_NOT_FOUND":3006,"LOCERR_USER_ACCESS_DENIED":4000,"LOCERR_USER_IMPERSONATION_FAILED":4001,"LOCERR_SERVER_OUT_OF_SESSION_AND_USER_CALS":5000,"LOCERR_SERVER_OUT_OF_SESSION_CALS":5001,"LOCERR_SERVER_OUT_OF_USAGE_CALS":5002,"LOCERR_SERVER_OUT_OF_CALS":5003,"LOCERR_SERVER_OUT_OF_NAMED_CALS":5004,"LOCERR_SERVER_OFF_DUTY":5005,"LOCERR_SERVER_BUSY":5006,"LOCERR_SERVER_LICENSE_EXPIRED":5007,"LOCERR_SERVER_AJAX_DISABLED":5008,"LOCERR_HC_INVALID_OBJECT":6000,"LOCERR_HC_RESULT_TOO_LARGE":6001,"LOCERR_HC_INVALID_OBJECT_STATE":6002,"LOCERR_HC_MODAL_OBJECT_ERROR":6003,"LOCERR_CALC_INVALID_DEF":7000,"LOCERR_CALC_NOT_IN_LIB":7001,"LOCERR_CALC_HEAP_ERROR":7002,"LOCERR_CALC_TOO_LARGE":7003,"LOCERR_CALC_TIMEOUT":7004,"LOCERR_CALC_EVAL_CONDITION_FAILED":7005,"LOCERR_CALC_MIXED_LINKED_AGGREGATION":7006,"LOCERR_CALC_MISSING_LINKED":7007,"LOCERR_CALC_INVALID_COL_SORT":7008,"LOCERR_CALC_PAGES_TOO_LARGE":7009,"LOCERR_CALC_SEMANTIC_FIELD_NOT_ALLOWED":7010,"LOCERR_CALC_VALIDATION_STATE_INVALID":7011,"LOCERR_CALC_PIVOT_DIMENSIONS_ALREADY_EXISTS":7012,"LOCERR_CALC_MISSING_LINKED_FIELD":7013,"LOCERR_CALC_NOT_CALCULATED":7014,"LOCERR_LAYOUT_EXTENDS_INVALID_ID":8000,"LOCERR_LAYOUT_LINKED_OBJECT_NOT_FOUND":8001,"LOCERR_LAYOUT_LINKED_OBJECT_INVALID":8002,"LOCERR_PERSISTENCE_WRITE_FAILED":9000,"LOCERR_PERSISTENCE_READ_FAILED":9001,"LOCERR_PERSISTENCE_DELETE_FAILED":9002,"LOCERR_PERSISTENCE_NOT_FOUND":9003,"LOCERR_PERSISTENCE_UNSUPPORTED_VERSION":9004,"LOCERR_PERSISTENCE_MIGRATION_FAILED_READ_ONLY":9005,"LOCERR_PERSISTENCE_MIGRATION_CANCELLED":9006,"LOCERR_PERSISTENCE_MIGRATION_BACKUP_FAILED":9007,"LOCERR_PERSISTENCE_DISK_FULL":9008,"LOCERR_PERSISTENCE_NOT_SUPPORTED_FOR_SESSION_APP":9009,"LOCERR_PERSISTENCE_SYNC_SET_CHUNK_INVALID_PARAMETERS":9510,"LOCERR_PERSISTENCE_SYNC_GET_CHUNK_INVALID_PARAMETERS":9511,"LOCERR_SCRIPT_DATASOURCE_ACCESS_DENIED":10000,"LOCERR_RELOAD_IN_PROGRESS":11000,"LOCERR_RELOAD_TABLE_X_NOT_FOUND":11001,"LOCERR_RELOAD_UNKNOWN_STATEMENT":11002,"LOCERR_RELOAD_EXPECTED_SOMETHING_FOUND_UNKNOWN":11003,"LOCERR_RELOAD_EXPECTED_NOTHING_FOUND_UNKNOWN":11004,"LOCERR_RELOAD_EXPECTED_ONE_OF_1_TOKENS_FOUND_UNKNOWN":11005,"LOCERR_RELOAD_EXPECTED_ONE_OF_2_TOKENS_FOUND_UNKNOWN":11006,"LOCERR_RELOAD_EXPECTED_ONE_OF_3_TOKENS_FOUND_UNKNOWN":11007,"LOCERR_RELOAD_EXPECTED_ONE_OF_4_TOKENS_FOUND_UNKNOWN":11008,"LOCERR_RELOAD_EXPECTED_ONE_OF_5_TOKENS_FOUND_UNKNOWN":11009,"LOCERR_RELOAD_EXPECTED_ONE_OF_6_TOKENS_FOUND_UNKNOWN":11010,"LOCERR_RELOAD_EXPECTED_ONE_OF_7_TOKENS_FOUND_UNKNOWN":11011,"LOCERR_RELOAD_EXPECTED_ONE_OF_8_OR_MORE_TOKENS_FOUND_UNKNOWN":11012,"LOCERR_RELOAD_FIELD_X_NOT_FOUND":11013,"LOCERR_RELOAD_MAPPING_TABLE_X_NOT_FOUND":11014,"LOCERR_RELOAD_LIB_CONNECTION_X_NOT_FOUND":11015,"LOCERR_RELOAD_NAME_ALREADY_TAKEN":11016,"LOCERR_RELOAD_WRONG_FILE_FORMAT_DIF":11017,"LOCERR_RELOAD_WRONG_FILE_FORMAT_BIFF":11018,"LOCERR_RELOAD_WRONG_FILE_FORMAT_ENCRYPTED":11019,"LOCERR_RELOAD_OPEN_FILE_ERROR":11020,"LOCERR_RELOAD_AUTO_GENERATE_COUNT":11021,"LOCERR_RELOAD_PE_ILLEGAL_PREFIX_COMB":11022,"LOCERR_RELOAD_MATCHING_CONTROL_STATEMENT_ERROR":11023,"LOCERR_RELOAD_MATCHING_LIBPATH_X_NOT_FOUND":11024,"LOCERR_RELOAD_MATCHING_LIBPATH_X_INVALID":11025,"LOCERR_RELOAD_MATCHING_LIBPATH_X_OUTSIDE":11026,"LOCERR_RELOAD_NO_QUALIFIED_PATH_FOR_FILE":11027,"LOCERR_RELOAD_MODE_STATEMENT_ONLY_FOR_LIB_PATHS":11028,"LOCERR_RELOAD_INCONSISTENT_USE_OF_SEMANTIC_FIELDS":11029,"LOCERR_RELOAD_NO_OPEN_DATABASE":11030,"LOCERR_RELOAD_AGGREGATION_REQUIRED_BY_GROUP_BY":11031,"LOCERR_RELOAD_CONNECT_MUST_USE_LIB_PREFIX_IN_THIS_MODE":11032,"LOCERR_RELOAD_ODBC_CONNECT_FAILED":11033,"LOCERR_RELOAD_OLEDB_CONNECT_FAILED":11034,"LOCERR_RELOAD_CUSTOM_CONNECT_FAILED":11035,"LOCERR_RELOAD_ODBC_READ_FAILED":11036,"LOCERR_RELOAD_OLEDB_READ_FAILED":11037,"LOCERR_RELOAD_CUSTOM_READ_FAILED":11038,"LOCERR_RELOAD_BINARY_LOAD_PROHIBITED":11039,"LOCERR_RELOAD_CONNECTOR_START_FAILED":11040,"LOCERR_RELOAD_CONNECTOR_NOT_RESPONDING":11041,"LOCERR_RELOAD_CONNECTOR_REPLY_ERROR":11042,"LOCERR_RELOAD_CONNECTOR_CONNECT_ERROR":11043,"LOCERR_RELOAD_CONNECTOR_NOT_FOUND_ERROR":11044,"LOCERR_RELOAD_INPUT_FIELD_WITH_DUPLICATE_KEYS":11045,"LOCERR_RELOAD_CONCATENATE_LOAD_NO_PREVIOUS_TABLE":11046,"LOCERR_PERSONAL_NEW_VERSION_AVAILABLE":12000,"LOCERR_PERSONAL_VERSION_EXPIRED":12001,"LOCERR_PERSONAL_SECTION_ACCESS_DETECTED":12002,"LOCERR_PERSONAL_APP_DELETION_FAILED":12003,"LOCERR_USER_AUTHENTICATION_FAILURE":12004,"LOCERR_EXPORT_OUT_OF_MEMORY":13000,"LOCERR_EXPORT_NO_DATA":13001,"LOCERR_SYNC_INVALID_OFFSET":14000,"LOCERR_SEARCH_TIMEOUT":15000,"LOCERR_DIRECT_DISCOVERY_LINKED_EXPRESSION_FAIL":16000,"LOCERR_DIRECT_DISCOVERY_ROWCOUNT_OVERFLOW":16001,"LOCERR_DIRECT_DISCOVERY_EMPTY_RESULT":16002,"LOCERR_DIRECT_DISCOVERY_DB_CONNECTION_FAILED":16003,"LOCERR_DIRECT_DISCOVERY_MEASURE_NOT_ALLOWED":16004,"LOCERR_DIRECT_DISCOVERY_DETAIL_NOT_ALLOWED":16005,"LOCERR_DIRECT_DISCOVERY_NOT_SYNTH_CIRCULAR_ALLOWED":16006,"LOCERR_DIRECT_DISCOVERY_ONLY_ONE_DD_TABLE_ALLOWED":16007,"LOCERR_DIRECT_DISCOVERY_DB_AUTHORIZATION_FAILED":16008,"LOCERR_SMART_LOAD_TABLE_NOT_FOUND":17000,"LOCERR_SMART_LOAD_TABLE_DUPLICATED":17001,"LOCERR_VARIABLE_NO_NAME":18000,"LOCERR_VARIABLE_DUPLICATE_NAME":18001,"LOCERR_VARIABLE_INCONSISTENCY":18002,"LOCERR_MEDIA_LIBRARY_LIST_FAILED":19000,"LOCERR_MEDIA_LIBRARY_CONTENT_FAILED":19001,"LOCERR_MEDIA_BUNDLING_FAILED":19002,"LOCERR_MEDIA_UNBUNDLING_FAILED":19003,"LOCERR_MEDIA_LIBRARY_NOT_FOUND":19004,"LOCERR_FEATURE_DISABLED":20000,"LOCERR_JSON_RPC_INVALID_REQUEST":-32600,"LOCERR_JSON_RPC_METHOD_NOT_FOUND":-32601,"LOCERR_JSON_RPC_INVALID_PARAMETERS":-32602,"LOCERR_JSON_RPC_INTERNAL_ERROR":-32603,"LOCERR_JSON_RPC_PARSE_ERROR":-32700,"LOCERR_MQ_SOCKET_CONNECT_FAILURE":33000,"LOCERR_MQ_SOCKET_OPEN_FAILURE":33001,"LOCERR_MQ_PROTOCOL_NO_RESPONE":33002,"LOCERR_MQ_PROTOCOL_LIBRARY_EXCEPTION":33003,"LOCERR_MQ_PROTOCOL_CONNECTION_CLOSED":33004,"LOCERR_MQ_PROTOCOL_CHANNEL_CLOSED":33005,"LOCERR_MQ_PROTOCOL_UNKNOWN_ERROR":33006,"LOCERR_MQ_PROTOCOL_INVALID_STATUS":33007,"LOCERR_EXTENGINE_GRPC_STATUS_OK":22000,"LOCERR_EXTENGINE_GRPC_STATUS_CANCELLED":22001,"LOCERR_EXTENGINE_GRPC_STATUS_UNKNOWN":22002,"LOCERR_EXTENGINE_GRPC_STATUS_INVALID_ARGUMENT":22003,"LOCERR_EXTENGINE_GRPC_STATUS_DEADLINE_EXCEEDED":22004,"LOCERR_EXTENGINE_GRPC_STATUS_NOT_FOUND":22005,"LOCERR_EXTENGINE_GRPC_STATUS_ALREADY_EXISTS":22006,"LOCERR_EXTENGINE_GRPC_STATUS_PERMISSION_DENIED":22007,"LOCERR_EXTENGINE_GRPC_STATUS_RESOURCE_EXHAUSTED":22008,"LOCERR_EXTENGINE_GRPC_STATUS_FAILED_PRECONDITION":22009,"LOCERR_EXTENGINE_GRPC_STATUS_ABORTED":22010,"LOCERR_EXTENGINE_GRPC_STATUS_OUT_OF_RANGE":22011,"LOCERR_EXTENGINE_GRPC_STATUS_UNIMPLEMENTED":22012,"LOCERR_EXTENGINE_GRPC_STATUS_INTERNAL":22013,"LOCERR_EXTENGINE_GRPC_STATUS_UNAVAILABLE":22014,"LOCERR_EXTENGINE_GRPC_STATUS_DATA_LOSS":22015,"LOCERR_EXTENGINE_GRPC_STATUS_UNAUTHENTICATED":22016,"LOCERR_LXW_INVALID_OBJ":23001,"LOCERR_LXW_INVALID_FILE":23002,"LOCERR_LXW_INVALID_SHEET":23003,"LOCERR_LXW_INVALID_EXPORT_RANGE":23004,"LOCERR_LXW_ERROR":23005,"LOCERR_LXW_ERROR_MEMORY_MALLOC_FAILED":23006,"LOCERR_LXW_ERROR_CREATING_XLSX_FILE":23007,"LOCERR_LXW_ERROR_CREATING_TMPFILE":23008,"LOCERR_LXW_ERROR_ZIP_FILE_OPERATION":23009,"LOCERR_LXW_ERROR_ZIP_FILE_ADD":23010,"LOCERR_LXW_ERROR_ZIP_CLOSE":23011,"LOCERR_LXW_ERROR_NULL_PARAMETER_IGNORED":23012,"LOCERR_LXW_ERROR_MAX_STRING_LENGTH_EXCEEDED":23013,"LOCERR_LXW_ERROR_255_STRING_LENGTH_EXCEEDED":23014,"LOCERR_LXW_ERROR_SHARED_STRING_INDEX_NOT_FOUND":23015,"LOCERR_LXW_ERROR_WORKSHEET_INDEX_OUT_OF_RANGE":23016,"LOCERR_LXW_ERROR_WORKSHEET_MAX_NUMBER_URLS_EXCEEDED":23017,"LOCERR_CURL_UNSUPPORTED_PROTOCOL":30000,"LOCERR_CURL_COULDNT_RESOLVE_PROXY":30001,"LOCERR_CURL_COULDNT_CONNECT":30002,"LOCERR_CURL_REMOTE_ACCESS_DENIED":30003,"LOCERR_CURL_FTP_ACCEPT_FAILED":30004,"LOCERR_CURL_FTP_ACCEPT_TIMEOUT":30005,"LOCERR_CURL_FTP_CANT_GET_HOST":30006,"LOCERR_CURL_PARTIAL_FILE":30007,"LOCERR_CURL_QUOTE_ERROR":30008,"LOCERR_CURL_WRITE_ERROR":30009,"LOCERR_CURL_UPLOAD_FAILED":30010,"LOCERR_CURL_OUT_OF_MEMORY":30011,"LOCERR_CURL_OPERATION_TIMEDOUT":30012,"LOCERR_CURL_FTP_COULDNT_USE_REST":30013,"LOCERR_CURL_HTTP_POST_ERROR":30014,"LOCERR_CURL_SSL_CONNECT_ERROR":30015,"LOCERR_CURL_FILE_COULDNT_READ_FILE":30016,"LOCERR_CURL_LDAP_CANNOT_BIND":30017,"LOCERR_CURL_LDAP_SEARCH_FAILED":30018,"LOCERR_CURL_TOO_MANY_REDIRECTS":30019,"LOCERR_CURL_PEER_FAILED_VERIFICATION":30020,"LOCERR_CURL_GOT_NOTHING":30021,"LOCERR_CURL_SSL_ENGINE_NOTFOUND":30022,"LOCERR_CURL_SSL_ENGINE_SETFAILED":30023,"LOCERR_CURL_SSL_CERTPROBLEM":30024,"LOCERR_CURL_SSL_CIPHER":30025,"LOCERR_CURL_SSL_CACERT":30026,"LOCERR_CURL_BAD_CONTENT_ENCODING":30027,"LOCERR_CURL_LDAP_INVALID_URL":30028,"LOCERR_CURL_USE_SSL_FAILED":30029,"LOCERR_CURL_SSL_ENGINE_INITFAILED":30030,"LOCERR_CURL_LOGIN_DENIED":30031,"LOCERR_CURL_TFTP_NOTFOUND":30032,"LOCERR_CURL_TFTP_ILLEGAL":30033,"LOCERR_CURL_SSH":30034},"LocalizedWarningCode":{"LOCWARN_PERSONAL_RELOAD_REQUIRED":0,"LOCWARN_PERSONAL_VERSION_EXPIRES_SOON":1,"LOCWARN_EXPORT_DATA_TRUNCATED":1000,"LOCWARN_COULD_NOT_OPEN_ALL_OBJECTS":2000},"GrpType":{"GRP_NX_NONE":0,"GRP_NX_HIEARCHY":1,"GRP_NX_COLLECTION":2},"ExportFileType":{"EXPORT_CSV_C":0,"EXPORT_CSV_T":1,"EXPORT_OOXML":2},"ExportState":{"EXPORT_POSSIBLE":0,"EXPORT_ALL":1},"DimCellType":{"NX_DIM_CELL_VALUE":0,"NX_DIM_CELL_EMPTY":1,"NX_DIM_CELL_NORMAL":2,"NX_DIM_CELL_TOTAL":3,"NX_DIM_CELL_OTHER":4,"NX_DIM_CELL_AGGR":5,"NX_DIM_CELL_PSEUDO":6,"NX_DIM_CELL_ROOT":7,"NX_DIM_CELL_NULL":8,"NX_DIM_CELL_GENERATED":9},"StackElemType":{"NX_STACK_CELL_NORMAL":0,"NX_STACK_CELL_TOTAL":1,"NX_STACK_CELL_OTHER":2,"NX_STACK_CELL_SUM":3,"NX_STACK_CELL_VALUE":4,"NX_STACK_CELL_PSEUDO":5},"SortIndicatorType":{"NX_SORT_INDICATE_NONE":0,"NX_SORT_INDICATE_ASC":1,"NX_SORT_INDICATE_DESC":2},"DimensionType":{"NX_DIMENSION_TYPE_DISCRETE":0,"NX_DIMENSION_TYPE_NUMERIC":1,"NX_DIMENSION_TYPE_TIME":2},"FieldSelectionMode":{"SELECTION_MODE_NORMAL":0,"SELECTION_MODE_AND":1,"SELECTION_MODE_NOT":2},"FrequencyMode":{"NX_FREQUENCY_NONE":0,"NX_FREQUENCY_VALUE":1,"NX_FREQUENCY_PERCENT":2,"NX_FREQUENCY_RELATIVE":3},"DataReductionMode":{"DATA_REDUCTION_NONE":0,"DATA_REDUCTION_ONEDIM":1,"DATA_REDUCTION_SCATTERED":2,"DATA_REDUCTION_CLUSTERED":3,"DATA_REDUCTION_STACKED":4},"HypercubeMode":{"DATA_MODE_STRAIGHT":0,"DATA_MODE_PIVOT":1,"DATA_MODE_PIVOT_STACK":2,"DATA_MODE_TREE":3},"PatchOperationType":{"Add":0,"Remove":1,"Replace":2},"SelectionCellType":{"NX_CELL_DATA":0,"NX_CELL_TOP":1,"NX_CELL_LEFT":2},"MatchingFieldMode":{"MATCHINGFIELDMODE_MATCH_ALL":0,"MATCHINGFIELDMODE_MATCH_ONE":1},"SessionState":{"SESSION_CREATED":0,"SESSION_ATTACHED":1,"SESSION_ERROR_NO_LICENSE":2,"SESSION_ERROR_LICENSE_RENEW":3},"ReloadState":{"RELOAD_PAUSED":0,"RELOAD_STARTED":1,"RELOAD_ABORTED":2},"QrsChangeType":{"QRS_CHANGE_UNDEFINED":0,"QRS_CHANGE_ADD":1,"QRS_CHANGE_UPDATE":2,"QRS_CHANGE_DELETE":3},"ExtEngineDataType":{"NX_EXT_DATATYPE_STRING":0,"NX_EXT_DATATYPE_DOUBLE":1,"NX_EXT_DATATYPE_BOTH":2},"ExtEngineFunctionType":{"NX_EXT_FUNCTIONTYPE_SCALAR":0,"NX_EXT_FUNCTIONTYPE_AGGR":1,"NX_EXT_FUNCTIONTYPE_TENSOR":2},"ExtEngineMsgType":{"NX_EXT_MSGTYPE_FUNCTION_CALL":1,"NX_EXT_MSGTYPE_SCRIPT_CALL":2,"NX_EXT_MSGTYPE_RETURN_VALUE":3,"NX_EXT_MSGTYPE_RETURN_MULTIPLE":4,"NX_EXT_MSGTYPE_RETURN_ERROR":5}},"version":"12.170.2"}')},eteH:function(e,t,n){e.exports=n("j4WE")},gLYN:function(e,t,n){e.exports=function(){"use strict";function e(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var t=function(t,n,r,i){r=r||"=";var o={};if("string"!=typeof t||0===t.length)return o;var a=/\+/g;t=t.split(n=n||"&");var s=1e3;i&&"number"==typeof i.maxKeys&&(s=i.maxKeys);var l=t.length;s>0&&l>s&&(l=s);for(var u=0;u<l;++u){var c,d,f,p,h=t[u].replace(a,"%20"),m=h.indexOf(r);m>=0?(c=h.substr(0,m),d=h.substr(m+1)):(c=h,d=""),f=decodeURIComponent(c),p=decodeURIComponent(d),e(o,f)?Array.isArray(o[f])?o[f].push(p):o[f]=[o[f],p]:o[f]=p}return o},n=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}},r=function(e,t,r,i){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(i){var o=encodeURIComponent(n(i))+r;return Array.isArray(e[i])?e[i].map((function(e){return o+encodeURIComponent(n(e))})).join(t):o+encodeURIComponent(n(e[i]))})).filter(Boolean).join(t):i?encodeURIComponent(n(i))+r+encodeURIComponent(n(e)):""},i=function(e,n){return function(e,n){n.decode=n.parse=t,n.encode=n.stringify=r}(n={exports:{}},n.exports),n.exports}();function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e){return e.replace(/(^[/]+)|([/]+$)/g,"")}return function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return t=e,n=[{key:"configureDefaults",value:function(e){e.host||(e.host="localhost"),void 0===e.secure&&(e.secure=!0),e.appId||e.route||(e.route="app/engineData"),void 0===e.noData&&(e.noData=!1)}},{key:"buildUrl",value:function(t){e.configureDefaults(t);var n=t.host,r=t.port,o=t.prefix,s=t.subpath,l=t.route,u=t.identity,c=t.urlParams,d=t.ttl,f=t.appId,p="";return p+="".concat(t.secure?"wss":"ws","://"),p+=n||"localhost",r&&(p+=":".concat(r)),o&&(p+="/".concat(a(o))),s&&(p+="/".concat(a(s))),l?p+="/".concat(a(l)):f&&(p+="/app/".concat(encodeURIComponent(f))),u&&(p+="/identity/".concat(encodeURIComponent(u))),d&&(p+="/ttl/".concat(d)),c&&(p+="?".concat(i.stringify(c))),p}}],null&&o(t.prototype,null),n&&o(t,n),e;var t,n}()}()},j4WE:function(e,t,n){!function(e){"use strict";function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function n(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?t(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):t(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function s(e){i(a,r,o,s,l,"next",e)}function l(e){i(a,r,o,s,l,"throw",e)}s(void 0)}))}}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function l(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||d(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||d(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}!function(e){var t=function(e){var t,n=Object.prototype,i=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var i=Object.create((t&&t.prototype instanceof g?t:g).prototype),o=new I(r||[]);return i._invoke=function(e,t,n){var r=f;return function(i,o){if(r===h)throw new Error("Generator is already running");if(r===m){if("throw"===i)throw o;return T()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=O(a,n);if(s){if(s===y)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var l=d(e,t,n);if("normal"===l.type){if(r=n.done?m:p,l.arg===y)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=m,n.method="throw",n.arg=l.arg)}}}(e,n,o),i}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var f="suspendedStart",p="suspendedYield",h="executing",m="completed",y={};function g(){}function v(){}function b(){}var E={};u(E,a,(function(){return this}));var _=Object.getPrototypeOf,C=_&&_(_(L([])));C&&C!==n&&i.call(C,a)&&(E=C);var S=b.prototype=g.prototype=Object.create(E);function w(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){var n;this._invoke=function(o,a){function s(){return new t((function(n,s){!function n(o,a,s,l){var u=d(e[o],e,a);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"===r(f)&&i.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,s,l)}),(function(e){n("throw",e,s,l)})):t.resolve(f).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,l)}))}l(u.arg)}(o,a,n,s)}))}return n=n?n.then(s,s):s()}}function O(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,O(e,n),"throw"===n.method))return y;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var i=d(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var o=i.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,y):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function R(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(R,this),this.reset(!0)}function L(e){if(e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function n(){for(;++r<e.length;)if(i.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}return{next:T}}function T(){return{value:t,done:!0}}return v.prototype=b,u(S,"constructor",b),u(b,"constructor",v),v.displayName=u(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,u(e,l,"GeneratorFunction")),e.prototype=Object.create(S),e},e.awrap=function(e){return{__await:e}},w(x.prototype),u(x.prototype,s,(function(){return this})),e.AsyncIterator=x,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new x(c(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(S),u(S,l,"Generator"),u(S,a,(function(){return this})),u(S,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=L,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(N),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,i){return s.type="throw",s.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(l&&u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),N(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;N(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:L(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),y}},e}({});try{regeneratorRuntime=t}catch(e){"object"===("undefined"==typeof globalThis?"undefined":r(globalThis))?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}();var p=function(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t="string"==typeof e||"number"==typeof e?[e]:e;return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/\{(\d+)\}/g,(function(e,n){return void 0!==t[n]?t[n]:e}))};function h(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.initial,n=e.fallback,r=void 0===n?"en-US":n,i={},o=void 0===t?"en-US":t;return{language:function(e){return e&&(o=e),o},add:function(e){var t=e.id,n=e.locale;Object.keys(n).forEach((function(e){i[e]||(i[e]={}),i[e][t]=n[e]}))},get:function(e,t){var n;return n=i[o]&&void 0!==i[o][e]?i[o][e]:i[r]&&void 0!==i[r][e]?i[r][e]:e,void 0!==t?p(n,t):n}}}var m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.initial,n=e.fallback;return{translator:h({initial:void 0===t?"en-US":t,fallback:void 0===n?"en-US":n})}},y={Cancel:{id:"Cancel",locale:{"de-DE":"Abbrechen","en-US":"Cancel","es-ES":"Cancelar","fr-FR":"Annuler","it-IT":"Annulla","ja-JP":"\u30ad\u30e3\u30f3\u30bb\u30eb","ko-KR":"\ucde8\uc18c","nl-NL":"Annuleren","pl-PL":"Anuluj","pt-BR":"Cancelar","ru-RU":"\u041e\u0442\u043c\u0435\u043d\u0430","sv-SE":"Avbryt","tr-TR":"\u0130ptal","zh-CN":"\u53d6\u6d88","zh-TW":"\u53d6\u6d88"}},CurrentSelections_All:{id:"CurrentSelections.All",locale:{"de-DE":"ALLES","en-US":"ALL","es-ES":"TODOS","fr-FR":"TOUS","it-IT":"TUTTI","ja-JP":"\u3059\u3079\u3066","ko-KR":"\ubaa8\ub450","nl-NL":"ALLE","pl-PL":"WSZYSTKO","pt-BR":"TODOS","ru-RU":"\u0412\u0421\u0415","sv-SE":"ALLA","tr-TR":"T\xdcM\xdc","zh-CN":"\u5168\u90e8","zh-TW":"\u5168\u90e8"}},CurrentSelections_Of:{id:"CurrentSelections.Of",locale:{"de-DE":"{0} von {1}","en-US":"{0} of {1}","es-ES":"{0} de {1}","fr-FR":"{0} sur {1}","it-IT":"{0} di {1}","ja-JP":"{0}/ {1}","ko-KR":"{0} / {1}","nl-NL":"{0} van {1}","pl-PL":"{0} z {1}","pt-BR":"{0} de {1}","ru-RU":"{0} \u0438\u0437 {1}","sv-SE":"{0} av {1}","tr-TR":"{0} / {1}","zh-CN":"{0}/ {1}","zh-TW":"{0}/ {1}"}},Listbox_Search:{id:"Listbox.Search",locale:{"de-DE":"In Listenfeld suchen","en-US":"Search in listbox","es-ES":"Buscar en cuadro de lista","fr-FR":"Rechercher dans la liste de s\xe9lection","it-IT":"Cerca nella casella di elenco","ja-JP":"\u30ea\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\u5185\u3092\u691c\u7d22","ko-KR":"\ubaa9\ub85d \uc0c1\uc790\uc5d0\uc11c \uac80\uc0c9","nl-NL":"Zoeken in keuzelijst","pl-PL":"Wyszukaj w li\u015bcie warto\u015bci","pt-BR":"Pesquisar na caixa de listagem","ru-RU":"\u041f\u043e\u0438\u0441\u043a \u0432 \u0441\u043f\u0438\u0441\u043a\u0435","sv-SE":"S\xf6k i listruta","tr-TR":"Liste kutusunda ara","zh-CN":"\u5728\u5217\u8868\u6846\u4e2d\u641c\u7d22","zh-TW":"\u5728\u6e05\u55ae\u65b9\u584a\u4e2d\u641c\u5c0b"}},Menu_More:{id:"Menu.More",locale:{"de-DE":"Mehr","en-US":"More","es-ES":"M\xe1s","fr-FR":"Plus","it-IT":"Altro","ja-JP":"\u8a73\u7d30","ko-KR":"\uc790\uc138\ud788","nl-NL":"Meer","pl-PL":"Wi\u0119cej","pt-BR":"Mais","ru-RU":"\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e","sv-SE":"Mer","tr-TR":"Daha fazla","zh-CN":"\u66f4\u591a","zh-TW":"\u66f4\u591a"}},Navigate_Back:{id:"Navigate.Back",locale:{"de-DE":"Schritt zur\xfcck","en-US":"Step back","es-ES":"Atr\xe1s","fr-FR":"Retour en arri\xe8re","it-IT":"Torna indietro","ja-JP":"1 \u6bb5\u968e\u623b\u308b","ko-KR":"\uc774\uc804 \ub2e8\uacc4","nl-NL":"Stap terug","pl-PL":"Krok do ty\u0142u","pt-BR":"Voltar uma etapa","ru-RU":"\u0428\u0430\u0433 \u043d\u0430\u0437\u0430\u0434","sv-SE":"G\xe5 bak\xe5t","tr-TR":"Bir ad\u0131m geri","zh-CN":"\u540e\u9000","zh-TW":"\u5012\u9000"}},Navigate_Forward:{id:"Navigate.Forward",locale:{"de-DE":"Schritt vor","en-US":"Step forward","es-ES":"Avanzar","fr-FR":"\xc9tape suivante","it-IT":"Vai avanti","ja-JP":"1\u6bb5\u968e\u9032\u3080","ko-KR":"\ub2e4\uc74c \ub2e8\uacc4","nl-NL":"Stap vooruit","pl-PL":"Krok do przodu","pt-BR":"Avan\xe7ar uma etapa","ru-RU":"\u0428\u0430\u0433 \u0432\u043f\u0435\u0440\u0435\u0434","sv-SE":"G\xe5 fram\xe5t","tr-TR":"Bir ad\u0131m ileri","zh-CN":"\u524d\u8fdb","zh-TW":"\u524d\u9032"}},OK:{id:"OK",locale:{"de-DE":"OK","en-US":"OK","es-ES":"Aceptar","fr-FR":"OK","it-IT":"OK","ja-JP":"OK","ko-KR":"\ud655\uc778","nl-NL":"OK","pl-PL":"OK","pt-BR":"OK","ru-RU":"\u041e\u041a","sv-SE":"OK","tr-TR":"Tamam","zh-CN":"\u786e\u5b9a","zh-TW":"\u78ba\u5b9a"}},Object_Update_Active:{id:"Object.Update.Active",locale:{"de-DE":"Laden von Daten","en-US":"Updating data","es-ES":"Cargando datos","fr-FR":"Chargement de donn\xe9es en cours","it-IT":"Caricamento dati in corso","ja-JP":"\u30c7\u30fc\u30bf\u306e\u30ed\u30fc\u30c9\u4e2d","ko-KR":"\ub370\uc774\ud130 \ub85c\ub4dc \uc911","nl-NL":"Gegevens worden geladen","pl-PL":"\u0141adowanie danych","pt-BR":"Carregando dados","ru-RU":"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445","sv-SE":"Laddar data","tr-TR":"Veriler y\xfckleniyor","zh-CN":"\u52a0\u8f7d\u6570\u636e","zh-TW":"\u6b63\u5728\u8f09\u5165\u8cc7\u6599"}},Object_Update_Cancelled:{id:"Object.Update.Cancelled",locale:{"de-DE":"Datenaktualisierung wurde abgebrochen","en-US":"Data update was cancelled","es-ES":"Se ha cancelado la actualizaci\xf3n de datos","fr-FR":"Mise \xe0 jour des donn\xe9es annul\xe9e","it-IT":"Aggiornamento dati annullato","ja-JP":"\u30c7\u30fc\u30bf\u306e\u66f4\u65b0\u304c\u30ad\u30e3\u30f3\u30bb\u30eb\u3055\u308c\u307e\u3057\u305f","ko-KR":"\ub370\uc774\ud130 \uc5c5\ub370\uc774\ud2b8\uac00 \ucde8\uc18c\ub418\uc5c8\uc2b5\ub2c8\ub2e4.","nl-NL":"Gegevensupdate is geannuleerd","pl-PL":"Aktualizacja danych zosta\u0142a anulowana","pt-BR":"A atualiza\xe7\xe3o de dados foi cancelada","ru-RU":"\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u0442\u043c\u0435\u043d\u0435\u043d\u043e","sv-SE":"Datauppdateringen avbr\xf6ts.","tr-TR":"Veri g\xfcncelle\u015ftirme iptal edildi","zh-CN":"\u6570\u636e\u66f4\u65b0\u5df2\u53d6\u6d88","zh-TW":"\u8cc7\u6599\u66f4\u65b0\u5df2\u53d6\u6d88"}},Retry:{id:"Retry",locale:{"de-DE":"Wiederholen","en-US":"Retry","es-ES":"Intentar de nuevo","fr-FR":"R\xe9essayer","it-IT":"Riprova","ja-JP":"\u518d\u8a66\u884c","ko-KR":"\ub2e4\uc2dc \uc2dc\ub3c4","nl-NL":"Opnieuw","pl-PL":"Pon\xf3w pr\xf3b\u0119","pt-BR":"Tentar novamente","ru-RU":"\u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c \u043f\u043e\u043f\u044b\u0442\u043a\u0443","sv-SE":"F\xf6rs\xf6k igen","tr-TR":"Yeniden dene","zh-CN":"\u91cd\u8bd5","zh-TW":"\u91cd\u8a66"}},Selection_Cancel:{id:"Selection.Cancel",locale:{"de-DE":"Auswahl abbrechen","en-US":"Cancel selection","es-ES":"Cancelar selecci\xf3n","fr-FR":"Annuler la s\xe9lection","it-IT":"Annulla selezione","ja-JP":"\u9078\u629e\u306e\u30ad\u30e3\u30f3\u30bb\u30eb","ko-KR":"\uc120\ud0dd \ucde8\uc18c","nl-NL":"Selectie annuleren","pl-PL":"Anuluj selekcj\u0119","pt-BR":"Cancelar sele\xe7\xe3o","ru-RU":"\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u044b\u0431\u043e\u0440\u043a\u0443","sv-SE":"Avbryt urval","tr-TR":"Se\xe7imi iptal et","zh-CN":"\u53d6\u6d88\u9009\u62e9","zh-TW":"\u53d6\u6d88\u9078\u53d6"}},Selection_Clear:{id:"Selection.Clear",locale:{"de-DE":"Auswahl l\xf6schen","en-US":"Clear selection","es-ES":"Borrar selecci\xf3n","fr-FR":"Effacer la s\xe9lection","it-IT":"Cancella selezione","ja-JP":"\u9078\u629e\u3092\u30af\u30ea\u30a2","ko-KR":"\uc120\ud0dd \ud574\uc81c","nl-NL":"Selectie wissen","pl-PL":"Wyczy\u015b\u0107 selekcj\u0119","pt-BR":"Limpar sele\xe7\xe3o","ru-RU":"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0432\u044b\u0431\u043e\u0440","sv-SE":"Rensa urval","tr-TR":"Se\xe7imi temizle","zh-CN":"\u6e05\u9664\u9009\u62e9","zh-TW":"\u6e05\u9664\u9078\u9805"}},Selection_ClearAll:{id:"Selection.ClearAll",locale:{"de-DE":"Alle Auswahlen l\xf6schen","en-US":"Clear all selections","es-ES":"Borrar todas las selecciones","fr-FR":"Effacer toutes les s\xe9lections","it-IT":"Cancella tutte le selezioni","ja-JP":"\u9078\u629e\u3092\u3059\u3079\u3066\u30af\u30ea\u30a2\u3059\u308b","ko-KR":"\ubaa8\ub4e0 \uc120\ud0dd \ud574\uc81c","nl-NL":"Alle selecties wissen","pl-PL":"Wyczy\u015b\u0107 wszystkie selekcje","pt-BR":"Limpar todas as sele\xe7\xf5es","ru-RU":"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u043e\u0442 \u0432\u0441\u0435\u0445 \u0432\u044b\u0431\u043e\u0440\u043e\u043a","sv-SE":"Radera alla urval","tr-TR":"T\xfcm se\xe7imleri temizle","zh-CN":"\u6e05\u9664\u6240\u6709\u9009\u62e9\u9879","zh-TW":"\u6e05\u9664\u6240\u6709\u9078\u9805"}},Selection_ClearAllStates:{id:"Selection.ClearAllStates",locale:{"de-DE":"Alle Status l\xf6schen","en-US":"Clear all states","es-ES":"Borrar todos los estados","fr-FR":"Effacer tous les \xe9tats","it-IT":"Cancella tutti gli stati","ja-JP":"\u5168\u30b9\u30c6\u30fc\u30c8\u3092\u30af\u30ea\u30a2","ko-KR":"\ubaa8\ub4e0 \uc0c1\ud0dc \uc9c0\uc6b0\uae30","nl-NL":"Alle states wissen","pl-PL":"Wyczy\u015b\u0107 wszystkie stany","pt-BR":"Limpar todos os estados","ru-RU":"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0432\u0441\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f","sv-SE":"Rensa alla tillst\xe5nd","tr-TR":"T\xfcm durumlar\u0131 temizle","zh-CN":"\u6e05\u9664\u6240\u6709\u72b6\u6001","zh-TW":"\u6e05\u9664\u6240\u6709\u72c0\u614b"}},Selection_Confirm:{id:"Selection.Confirm",locale:{"de-DE":"Auswahl best\xe4tigen","en-US":"Confirm selection","es-ES":"Confirmar selecci\xf3n","fr-FR":"Confirmer la s\xe9lection","it-IT":"Conferma selezione","ja-JP":"\u9078\u629e\u306e\u78ba\u8a8d","ko-KR":"\uc120\ud0dd \ud655\uc778","nl-NL":"Selectie bevestigen","pl-PL":"Potwierd\u017a selekcj\u0119","pt-BR":"Confirmar sele\xe7\xe3o","ru-RU":"\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044c \u0432\u044b\u0431\u043e\u0440\u043a\u0443","sv-SE":"Bekr\xe4fta urval","tr-TR":"Se\xe7imi onayla","zh-CN":"\u786e\u8ba4\u9009\u62e9","zh-TW":"\u78ba\u8a8d\u9078\u53d6"}},Selection_Menu:{id:"Selection.Menu",locale:{"de-DE":"Auswahlmen\xfc","en-US":"Selection menu","es-ES":"Men\xfa de selecci\xf3n","fr-FR":"Menu S\xe9lection","it-IT":"Menu Selezione","ja-JP":"\u9078\u629e\u30e1\u30cb\u30e5\u30fc","ko-KR":"\uc120\ud0dd \uba54\ub274","nl-NL":"Selectiemenu","pl-PL":"Menu selekcji","pt-BR":"Menu de sele\xe7\xe3o","ru-RU":'\u041c\u0435\u043d\u044e "\u0412\u044b\u0431\u043e\u0440\u043a\u0430"',"sv-SE":"Urvalsmeny","tr-TR":"Se\xe7im men\xfcs\xfc","zh-CN":"\u9009\u62e9\u83dc\u5355","zh-TW":"\u9078\u9805\u529f\u80fd\u8868"}},Selection_SelectAll:{id:"Selection.SelectAll",locale:{"de-DE":"Alle ausw\xe4hlen","en-US":"Select all","es-ES":"Seleccionar todo","fr-FR":"S\xe9lectionner tout","it-IT":"Seleziona tutto","ja-JP":"\u3059\u3079\u3066\u9078\u629e","ko-KR":"\ubaa8\ub450 \uc120\ud0dd","nl-NL":"Alles selecteren","pl-PL":"Wybierz wszystko","pt-BR":"Selecionar todos","ru-RU":"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0435","sv-SE":"V\xe4lj alla","tr-TR":"T\xfcm\xfcn\xfc se\xe7","zh-CN":"\u5168\u9009","zh-TW":"\u5168\u9078"}},Selection_SelectAlternative:{id:"Selection.SelectAlternative",locale:{"de-DE":"Alternative Werte ausw\xe4hlen","en-US":"Select alternative","es-ES":"Seleccionar alternativos","fr-FR":"S\xe9lectionner des valeurs alternatives","it-IT":"Seleziona alternativi","ja-JP":"\u4ee3\u66ff\u5024\u3092\u9078\u629e","ko-KR":"\ub300\uc548 \uc120\ud0dd","nl-NL":"Alternatief selecteren","pl-PL":"Wybierz alternatyw\u0119","pt-BR":"Selecionar alternativa","ru-RU":"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0435","sv-SE":"V\xe4lj alternativ","tr-TR":"Alternatifi se\xe7","zh-CN":"\u9009\u62e9\u66ff\u4ee3\u9879","zh-TW":"\u9078\u53d6\u66ff\u4ee3\u9078\u9805"}},Selection_SelectExcluded:{id:"Selection.SelectExcluded",locale:{"de-DE":"Ausgeschlossene Werte ausw\xe4hlen","en-US":"Select excluded","es-ES":"Seleccionar excluidos","fr-FR":"S\xe9lectionner les valeurs exclues","it-IT":"Seleziona esclusi","ja-JP":"\u9664\u5916\u5024\u3092\u9078\u629e","ko-KR":"\uc81c\uc678 \ud56d\ubaa9 \uc120\ud0dd","nl-NL":"Uitgesloten waarden selecteren","pl-PL":"Wybierz wykluczone","pt-BR":"Selecionar exclu\xeddo","ru-RU":"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0435","sv-SE":"V\xe4lj uteslutna","tr-TR":"Hari\xe7 tutulan\u0131 se\xe7","zh-CN":"\u9009\u62e9\u6392\u9664\u9879","zh-TW":"\u9078\u53d6\u6392\u9664\u503c"}},Selection_SelectPossible:{id:"Selection.SelectPossible",locale:{"de-DE":"W\xe4hlbare Werte ausw\xe4hlen","en-US":"Select possible","es-ES":"Seleccionar posibles","fr-FR":"S\xe9lectionner les valeurs possibles","it-IT":"Seleziona possibili","ja-JP":"\u7d5e\u8fbc\u5024\u3092\u9078\u629e","ko-KR":"\uc0ac\uc6a9 \uac00\ub2a5 \ud56d\ubaa9 \uc120\ud0dd","nl-NL":"Mogelijke waarden selecteren","pl-PL":"Wybierz mo\u017cliwe","pt-BR":"Selecionar poss\xedvel","ru-RU":"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0435","sv-SE":"V\xe4lj m\xf6jliga","tr-TR":"Olas\u0131y\u0131 se\xe7","zh-CN":"\u9009\u62e9\u53ef\u80fd\u503c","zh-TW":"\u9078\u53d6\u53ef\u80fd\u503c"}},Visualization_Incomplete:{id:"Visualization.Incomplete",locale:{"de-DE":"Unvollst\xe4ndige Visualisierung","en-US":"Incomplete visualization","es-ES":"Visualizaci\xf3n incompleta","fr-FR":"Visualisation incompl\xe8te","it-IT":"Visualizzazione incompleta","ja-JP":"\u672a\u5b8c\u4e86\u306e\u30d3\u30b8\u30e5\u30a2\u30e9\u30a4\u30bc\u30fc\u30b7\u30e7\u30f3","ko-KR":"\uc644\ub8cc\ub418\uc9c0 \uc54a\uc740 \uc2dc\uac01\ud654","nl-NL":"Onvolledige visualisatie","pl-PL":"Niekompletna wizualizacja","pt-BR":"Visualiza\xe7\xe3o incompleta","ru-RU":"\u041d\u0435\u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u0430\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f","sv-SE":"Ofullst\xe4ndig visualisering","tr-TR":"Tamamlanmam\u0131\u015f g\xf6rselle\u015ftirme","zh-CN":"\u4e0d\u5b8c\u6574\u7684\u53ef\u89c6\u5316","zh-TW":"\u8996\u89ba\u5316\u672a\u5b8c\u6210"}},Visualization_Incomplete_Dimensions:{id:"Visualization.Incomplete.Dimensions",locale:{"de-DE":"{0} von {1} Dimensionen","en-US":"{0} of {1} dimensions","es-ES":"{0} de {1} dimensiones","fr-FR":"{0} dimensions sur {1}","it-IT":"{0} di {1} dimensioni","ja-JP":"{0} / {1} \u8ef8","ko-KR":"{1} \ucc28\uc6d0\uc758 {0}","nl-NL":"{0} van {1} dimensies","pl-PL":"{0} z {1} wymiar\xf3w","pt-BR":"{0} de {1} dimens\xf5es","ru-RU":"\u0418\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f: {0} \u0438\u0437 {1}","sv-SE":"{0} av {1} dimensioner","tr-TR":"{0}/{1} boyut","zh-CN":"{0} / {1} \u4e2a\u7ef4\u5ea6","zh-TW":"{1} \u500b\u7dad\u5ea6\u4e2d\u7684 {0} \u500b"}},Visualization_Incomplete_Measures:{id:"Visualization.Incomplete.Measures",locale:{"de-DE":"{0} von {1} Kennzahlen","en-US":"{0} of {1} measures","es-ES":"{0} de {1} medidas","fr-FR":"{0} mesures sur {1}","it-IT":"{0} di {1} misure","ja-JP":"{0} / {1} \u30e1\u30b8\u30e3\u30fc","ko-KR":"{1} \uce21\uc815\uac12\uc758 {0}","nl-NL":"{0} van {1} metingen","pl-PL":"{0} z {1} miar","pt-BR":"{0} de {1} medidas","ru-RU":"\u041c\u0435\u0440\u044b: {0} \u0438\u0437 {1}","sv-SE":"{0} av {1} m\xe5tt","tr-TR":"{0}/{1} hesaplama","zh-CN":"{0} / {1} \u4e2a\u5ea6\u91cf","zh-TW":"{1} \u500b\u91cf\u503c\u4e2d\u7684 {0} \u500b"}},Visualization_Invalid_Dimension:{id:"Visualization.Invalid.Dimension",locale:{"de-DE":"Ung\xfcltige Dimension","en-US":"Invalid dimension","es-ES":"Dimensi\xf3n no v\xe1lida","fr-FR":"Dimension non valide","it-IT":"Dimensione non valida","ja-JP":"\u7121\u52b9\u306a\u8ef8\u3067\u3059","ko-KR":"\uc798\ubabb\ub41c \ucc28\uc6d0","nl-NL":"Ongeldige dimensie","pl-PL":"Nieprawid\u0142owy wymiar","pt-BR":"Dimens\xe3o inv\xe1lida","ru-RU":"\u041d\u0435\u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u043e\u0435 \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0435","sv-SE":"Ogiltig dimension","tr-TR":"Ge\xe7ersiz boyut","zh-CN":"\u65e0\u6548\u7ef4\u5ea6","zh-TW":"\u7dad\u5ea6\u7121\u6548"}},Visualization_Invalid_Measure:{id:"Visualization.Invalid.Measure",locale:{"de-DE":"Ung\xfcltige Kennzahl","en-US":"Invalid measure","es-ES":"Medida no v\xe1lida","fr-FR":"Mesure non valide","it-IT":"Misura non valida","ja-JP":"\u7121\u52b9\u306a\u30e1\u30b8\u30e3\u30fc\u3067\u3059","ko-KR":"\uc798\ubabb\ub41c \uce21\uc815\uac12","nl-NL":"Ongeldige meting","pl-PL":"Nieprawid\u0142owa miara","pt-BR":"Medida inv\xe1lida","ru-RU":"\u041d\u0435\u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u0430\u044f \u043c\u0435\u0440\u0430","sv-SE":"Ogiltigt m\xe5tt","tr-TR":"Ge\xe7ersiz hesaplama","zh-CN":"\u65e0\u6548\u5ea6\u91cf\u9879","zh-TW":"\u91cf\u503c\u7121\u6548"}},Visualization_LayoutError:{id:"Visualization.LayoutError",locale:{"de-DE":"Fehler","en-US":"Error","es-ES":"Error","fr-FR":"Erreur","it-IT":"Errore","ja-JP":"\u30a8\u30e9\u30fc","ko-KR":"\uc624\ub958","nl-NL":"Fout","pl-PL":"B\u0142\u0105d","pt-BR":"Erro","ru-RU":"\u041e\u0448\u0438\u0431\u043a\u0430","sv-SE":"Fel","tr-TR":"Hata","zh-CN":"\u9519\u8bef","zh-TW":"\u932f\u8aa4"}},Visualization_UnfulfilledCalculationCondition:{id:"Visualization.UnfulfilledCalculationCondition",locale:{"de-DE":"Die Berechnungsbedingung ist nicht erf\xfcllt","en-US":"The calculation condition is not fulfilled","es-ES":"La condici\xf3n de c\xe1lculo no se cumple","fr-FR":"Condition de calcul non remplie","it-IT":"La condizione di calcolo non \xe8 soddisfatta","ja-JP":"\u6f14\u7b97\u5b9f\u884c\u6761\u4ef6\u304c\u6e80\u305f\u3055\u308c\u3066\u3044\u307e\u305b\u3093","ko-KR":"\uacc4\uc0b0 \uc870\uac74\uc774 \ucda9\uc871\ub418\uc9c0 \uc54a\uc558\uc2b5\ub2c8\ub2e4.","nl-NL":"Er is niet aan de berekeningsvoorwaarde voldaan","pl-PL":"Warunek obliczenia nie jest spe\u0142niony","pt-BR":"A condi\xe7\xe3o de c\xe1lculo n\xe3o foi atendida","ru-RU":"\u0423\u0441\u043b\u043e\u0432\u0438\u0435 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u043d\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043e","sv-SE":"Ber\xe4kningsvillkoret uppfylls inte","tr-TR":"Hesaplama ko\u015fulu yerine getirilmedi","zh-CN":"\u4e0d\u6ee1\u8db3\u8ba1\u7b97\u6761\u4ef6","zh-TW":"\u4e0d\u7b26\u8a08\u7b97\u689d\u4ef6"}}};function g(e){var t=m({initial:e});return Object.keys(y).forEach((function(e){t.translator.add(y[e])})),{translator:t.translator}}var v={};function b(){b.init.call(this)}v.isObject=function(e){return"object"==typeof e&&null!==e},v.isNumber=function(e){return"number"==typeof e},v.isUndefined=function(e){return void 0===e},v.isFunction=function(e){return"function"==typeof e};var E=b;b.EventEmitter=b,b.prototype._events=void 0,b.prototype._maxListeners=void 0,b.defaultMaxListeners=10,b.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},b.prototype.setMaxListeners=function(e){if(!v.isNumber(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},b.prototype.emit=function(e){var t,n,r,i,o,a;if(this._events||(this._events={}),"error"===e&&!this._events.error)throw(t=arguments[1])instanceof Error?t:Error('Uncaught, unspecified "error" event.');if(v.isUndefined(n=this._events[e]))return!1;if(v.isFunction(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:for(r=arguments.length,i=new Array(r-1),o=1;o<r;o++)i[o-1]=arguments[o];n.apply(this,i)}else if(v.isObject(n)){for(r=arguments.length,i=new Array(r-1),o=1;o<r;o++)i[o-1]=arguments[o];for(r=(a=n.slice()).length,o=0;o<r;o++)a[o].apply(this,i)}return!0},b.prototype.on=b.prototype.addListener=function(e,t){var n;if(!v.isFunction(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,v.isFunction(t.listener)?t.listener:t),this._events[e]?v.isObject(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,v.isObject(this._events[e])&&!this._events[e].warned&&(n=v.isUndefined(this._maxListeners)?b.defaultMaxListeners:this._maxListeners)&&n>0&&this._events[e].length>n&&(this._events[e].warned=!0,v.isFunction(console.error)&&console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),v.isFunction(console.trace)&&console.trace()),this},b.prototype.once=function(e,t){if(!v.isFunction(t))throw TypeError("listener must be a function");var n=!1;function r(){this.removeListener(e,r),n||(n=!0,t.apply(this,arguments))}return r.listener=t,this.on(e,r),this},b.prototype.removeListener=function(e,t){var n,r,i,o;if(!v.isFunction(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(i=(n=this._events[e]).length,r=-1,n===t||v.isFunction(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(v.isObject(n)){for(o=i;o-- >0;)if(n[o]===t||n[o].listener&&n[o].listener===t){r=o;break}if(r<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},b.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(v.isFunction(n=this._events[e]))this.removeListener(e,n);else if(Array.isArray(n))for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},b.prototype.listeners=function(e){return this._events&&this._events[e]?v.isFunction(this._events[e])?[this._events[e]]:this._events[e].slice():[]},b.listenerCount=function(e,t){return e._events&&e._events[t]?v.isFunction(e._events[t])?1:e._events[t].length:0};var _=Object.prototype.hasOwnProperty,C=Object.prototype.toString,S=Object.defineProperty,w=Object.getOwnPropertyDescriptor,x=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===C.call(e)},O=function(e){if(!e||"[object Object]"!==C.call(e))return!1;var t,n=_.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&_.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||_.call(e,t)},R=function(e,t){S&&"__proto__"===t.name?S(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},N=function(e,t){if("__proto__"===t){if(!_.call(e,t))return;if(w)return w(e,t).value}return e[t]},I=function e(){var t,n,r,i,o,a,s=arguments[0],l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},l=2),(null==s||"object"!=typeof s&&"function"!=typeof s)&&(s={});l<u;++l)if(null!=(t=arguments[l]))for(n in t)r=N(s,n),s!==(i=N(t,n))&&(c&&i&&(O(i)||(o=x(i)))?(o?(o=!1,a=r&&x(r)?r:[]):a=r&&O(r)?r:{},R(s,{name:n,newValue:e(c,a,i)})):void 0!==i&&R(s,{name:n,newValue:i}));return s},L={fontSize:"13px",fontFamily:"'Source Sans Pro', 'Arial', 'sans-serif'",backgroundColor:"transparent",dataColors:{primaryColor:"#26a0a7",othersColor:"#a5a5a5",errorColor:"#ff4444",nullColor:"#d2d2d2"},scales:[{name:"Sequential Gradient",translation:"properties.colorScheme.sequential",type:"gradient",propertyValue:"sg",scale:["#26a0a7","#c7ea8b"]},{name:"Sequential Classes",translation:"properties.colorScheme.sequentialC",propertyValue:"sc",type:"class",scale:["#26a0a7","#c7ea8b"]},{name:"Diverging gradient",translation:"properties.colorScheme.diverging",propertyValue:"dg",type:"gradient",scale:["#26a0a7","#c3ea8c","#ec983d"]},{name:"Diverging Classes",translation:"properties.colorScheme.divergingC",propertyValue:"dc",type:"class",scale:["#26a0a7","#c3ea8c","#ec983d"]}],palettes:{data:[{name:"12 Colors",translation:"properties.colorNumberOfColors.12",propertyValue:"12",type:"pyramid",scale:[["#26A0A7"],["#26A0A7","#EC983D"],["#26A0A7","#CBE989","#EC983D"],["#26A0A7","#79D69F","#F9EC86","#EC983D"],["#26A0A7","#79D69F","#CBE989","#F9EC86","#EC983D"],["#26A0A7","#65D3DA","#79D69F","#CBE989","#F9EC86","#EC983D"],["#26A0A7","#65D3DA","#79D69F","#CBE989","#F9EC86","#EC983D","#D76C6C"],["#26A0A7","#65D3DA","#79D69F","#CBE989","#F9EC86","#FAD144","#EC983D","#D76C6C"],["#138185","#26A0A7","#65D3DA","#79D69F","#CBE989","#F9EC86","#FAD144","#EC983D","#D76C6C"],["#138185","#26A0A7","#65D3DA","#79D69F","#CBE989","#EBF898","#F9EC86","#FAD144","#EC983D","#D76C6C"],["#138185","#26A0A7","#65D3DA","#79D69F","#CBE989","#EBF898","#F9EC86","#FAD144","#EC983D","#D76C6C","#A54343"],["#138185","#26A0A7","#65D3DA","#79D69F","#70BA6E","#CBE989","#EBF898","#F9EC86","#FAD144","#EC983D","#D76C6C","#A54343"]]}],ui:[{name:"Palette",colors:["#b0afae","#7b7a78","#a54343","#d76c6c","#ec983d","#ecc43d","#f9ec86","#cbe989","#70ba6e","#578b60","#79d69f","#26a0a7","#138185","#65d3da","#ffffff","#000000"]}]}},T={_variables:{"@B20":"#333333","@B35":"#595959","@B45":"#737373","@B50":"#808080","@B60":"#999999","@B80":"#cccccc","@B90":"#e6e6e6","@B98":"#fbfbfb","@B100":"#ffffff","@H1":"24px","@H2":"18px","@H3":"14px","@H4":"13px","@H5":"12px","@H6":"10px"},type:"light",color:"@B35"},k={_variables:{"@B20":"#333333","@B35":"#595959","@B45":"#737373","@B50":"#808080","@B60":"#999999","@B80":"#cccccc","@B90":"#e6e6e6","@B98":"#fbfbfb","@B100":"#ffffff","@H1":"24px","@H2":"18px","@H3":"14px","@H4":"13px","@H5":"12px","@H6":"10px"},type:"dark",color:"@B98"};function D(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function q(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function P(){}var A=.7,M=1/A,F="\\s*([+-]?\\d+)\\s*",j="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",V="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",z=/^#([0-9a-f]{3,8})$/,B=new RegExp("^rgb\\("+[F,F,F]+"\\)$"),U=new RegExp("^rgb\\("+[V,V,V]+"\\)$"),H=new RegExp("^rgba\\("+[F,F,F,j]+"\\)$"),G=new RegExp("^rgba\\("+[V,V,V,j]+"\\)$"),W=new RegExp("^hsl\\("+[j,V,V]+"\\)$"),$=new RegExp("^hsla\\("+[j,V,V,j]+"\\)$"),K={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Q(){return this.rgb().formatHex()}function X(){return this.rgb().formatRgb()}function Z(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=z.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Y(t):3===n?new ne(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?J(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?J(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=B.exec(e))?new ne(t[1],t[2],t[3],1):(t=U.exec(e))?new ne(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=H.exec(e))?J(t[1],t[2],t[3],t[4]):(t=G.exec(e))?J(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=W.exec(e))?ae(t[1],t[2]/100,t[3]/100,1):(t=$.exec(e))?ae(t[1],t[2]/100,t[3]/100,t[4]):K.hasOwnProperty(e)?Y(K[e]):"transparent"===e?new ne(NaN,NaN,NaN,0):null}function Y(e){return new ne(e>>16&255,e>>8&255,255&e,1)}function J(e,t,n,r){return r<=0&&(e=t=n=NaN),new ne(e,t,n,r)}function ee(e){return e instanceof P||(e=Z(e)),e?new ne((e=e.rgb()).r,e.g,e.b,e.opacity):new ne}function te(e,t,n,r){return 1===arguments.length?ee(e):new ne(e,t,n,null==r?1:r)}function ne(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function re(){return"#"+oe(this.r)+oe(this.g)+oe(this.b)}function ie(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function oe(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function ae(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new le(e,t,n,r)}function se(e){if(e instanceof le)return new le(e.h,e.s,e.l,e.opacity);if(e instanceof P||(e=Z(e)),!e)return new le;if(e instanceof le)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=NaN,s=o-i,l=(o+i)/2;return s?(a=t===o?(n-r)/s+6*(n<r):n===o?(r-t)/s+2:(t-n)/s+4,s/=l<.5?o+i:2-o-i,a*=60):s=l>0&&l<1?0:a,new le(a,s,l,e.opacity)}function le(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function ue(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}D(P,Z,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:Q,formatHex:Q,formatHsl:function(){return se(this).formatHsl()},formatRgb:X,toString:X}),D(ne,te,q(P,{brighter:function(e){return e=null==e?M:Math.pow(M,e),new ne(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?A:Math.pow(A,e),new ne(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:re,formatHex:re,formatRgb:ie,toString:ie})),D(le,(function(e,t,n,r){return 1===arguments.length?se(e):new le(e,t,n,null==r?1:r)}),q(P,{brighter:function(e){return e=null==e?M:Math.pow(M,e),new le(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?A:Math.pow(A,e),new le(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new ne(ue(e>=240?e-240:e+120,i,r),ue(e,i,r),ue(e<120?e+240:e-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));var ce=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.colorParts=[],this.startLevel=0,this.max=1,this.min=0,this.nanColor=Z(t)}var t;return(t=[{key:"addColorPart",value:function(e,t,n){n=n||0,this.startLevel=Math.max(n,this.startLevel),this.colorParts[n]||(this.colorParts[n]=[]),this.colorParts[n].push([Z(e),Z(t)])}},{key:"getColor",value:function(e,t){var n=e-this.min;if(Number.isNaN(+e)||Number.isNaN(+n))return this.nanColor;t=function(e,t){return Math.min(t||e.startLevel,e.colorParts.length-1)}(this,t);var r=function(e,t){return t-(e=Math.min(Math.max(e,1e-12),.999999999999))*t}(n,this.colorParts[t].length),i=Math.floor(r),o=this.colorParts[t][i=i===r?i-1:i],a=o[0],s=o[1];return e===this.min?s:e===this.max?a:function(e,t,n){return te(Math.floor(e.r+(t.r-e.r)*n),Math.floor(e.g+(t.g-e.g)*n),Math.floor(e.b+(t.b-e.b)*n),Math.floor(e.opacity+(t.opacity-e.opacity)*n))}(a,s,r-i)}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}();function de(e,t,n){var r=.25+(t+1)/n*.25,i=.5-r;return i+e/1*(.5+r-i)}function fe(e,t,n){var r=[],i=new ce(t);r.push(e[0]),n||r.push(e[0]);for(var o=1;o<e.length-1;o++)r.push(e[o]),r.push(e[o]);r.push(e[o]),n||r.push(e[o]);for(var a=0;a<r.length;a+=2)i.addColorPart(r[a],r[a+1]);return i}function pe(e,t,n){for(var r=[],i=0;i<t+1;i++){var o=void 0;switch(t){case 0:o=e.getColor(.5);break;default:var a=de(1/t*i,t,n);o=e.getColor(a)}r.push(Z(o).formatHex())}return r}function he(e,t,n){for(var r=fe(e,n,!0),i=fe(pe(r,t-1,t),n,!1),o=[null],a=0;a<t;a++)o.push(pe(i,a,t));return o}function me(e,t){for(var n=e,r=0;r<t.length;r++){if(!n[t[r]])return null;n=n[t[r]]}return n}function ye(e,t){var n=e.split(".");return{getStyle:function(e,r){return function(e,t,n,r){return function(e,t,n){for(var r=0;r<e.length;r++){var i=me(n,e[r]);if(null!==i&&i[t])return i[t]}}(function(e,t){var n,r,i=[];if(e)for(var o=e.length;o>=0;){for(r=(n=t.slice()).length;r>=0;)i.push(n.concat(e)),n.pop(),r--;e.pop(),o--}else for(r=(n=t.slice()).length;r>=0;)i.push(n.concat()),n.pop(),r--;return i}(""===e?null:e.split("."),n),t,r)}(e,r,n.concat(),t)}}}function ge(e){var t=Z(e).rgb(),n=u([t.r,t.g,t.b].map((function(e){return e/255})),3),r=u([n[0],n[1],n[2]].map((function(e){return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),3);return+(.2126*r[0]+.7152*r[1]+.0722*r[2]).toFixed(5)}function ve(e,t){return+((Math.max(e,t)+.05)/(Math.min(e,t)+.05)).toFixed(5)}function be(){var e,t,n,r={},i={getDataColorScales:function(){return t.dataScales()},getDataColorPalettes:function(){return t.dataPalettes()},getDataColorPickerPalettes:function(){return t.uiPalettes()},getDataColorSpecials:function(){return t.dataColors()},getColorPickerColor:function(){var e;return(e=t).uiColor.apply(e,arguments)},getContrastingColorTo:function(e){return n.getBestContrastColor(e)},getStyle:function(t,n,i){return r[t]||(r[t]=ye(t,e)),r[t].getStyle(n,i,!1)}},o={setTheme:function(o,a){var s,l;e=function(e,t){var n=I(!0,{},L,"dark"===e.type?k:T),r=I(!0,{},n,{scales:null,palettes:{data:null,ui:null}},e);return r.palettes.data&&r.palettes.data.length||(r.palettes.data=n.palettes.data),r.palettes.ui&&r.palettes.ui.length||(r.palettes.ui=n.palettes.ui),r.scales&&r.scales.length||(r.scales=n.scales),t(r)}(o,ye.resolveRawTheme),r={},s=e,t={dataScales:function(){var e=[];return s.scales.forEach((function(t){e.push({key:t.propertyValue,name:t.name,translation:t.translation,scheme:!0,type:t.type,colors:t.scale})})),e},dataPalettes:function(){var e=[];return s.palettes.data.forEach((function(t){e.push({key:t.propertyValue,name:t.name,translation:t.translation,type:t.type,colors:t.scale})})),e},uiPalettes:function(){var e=[];return s.palettes.ui.forEach((function(t){e.push({key:"ui",name:t.name,translation:t.translation,type:"row",colors:t.colors})})),e},dataColors:function(){return{primary:s.dataColors.primaryColor,nil:s.dataColors.nullColor,others:s.dataColors.othersColor}},uiColor:function(e){return e.index<0||void 0===e.index?e.color:(void 0===l&&(l=this.uiPalettes()[0]||!1),l?void 0===l.colors[e.index]?e.color:l.colors[e.index]:e.color)}};var u=i.getStyle("","","color"),d=ge(u);n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["#333333","#ffffff"],t={},n=0,r=e.map(ge);return{getBestContrastColor:function(i){if(!t[i]){n>1e3&&(t={},n=0);var o=ge(i),a=r.map((function(e){return ve(o,e)})),s=e[a.indexOf(Math.max.apply(Math,c(a)))];t[i]=s,n++}return t[i]}}}([u,d<.2?"#ffffff":"#333333"]),i.emit("changed"),i.name=function(){return a}}};return Object.keys(E.prototype).forEach((function(e){i[e]=E.prototype[e]})),E.init(i),o.setTheme({},"light"),{externalAPI:i,internalAPI:o}}ye.resolveRawTheme=function(e){var t=I(!0,{},e);return function e(t,n){Object.keys(t).forEach((function(i){"object"===r(t[i])&&null!==t[i]?e(t[i],n):"string"==typeof t[i]&&"@"===t[i].charAt(0)&&(t[i]=n[t[i]])}))}(t,t._variables),t.scales&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#d2d2d2";e.forEach((function(e){if("class"===e.type){var n=he(e.scale,Math.max(e.scale.length,7),t);e.scale=n,e.type="class-pyramid"}}))}(t.scales,t.dataColors&&t.dataColors.nullColor),t};var Ee=function(e,t){return new Promise((function(n){return setTimeout((function(){return n(t)}),e)}))};function _e(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.themes,n=void 0===t?[]:t,r=e.root,i=be();return{setTheme:function(){var e=o(regeneratorRuntime.mark((function e(t){var o,a,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=n.filter((function(e){return e.id===t}))[0],a="dark"===t?"dark":"light",!o||!o.load){e.next=15;break}return e.prev=3,e.next=6,Promise.race([o.load(),Ee(5e3,{__timedOut:!0})]);case 6:(s=e.sent).__timedOut||(a="dark"===s.type?"dark":"light",i.internalAPI.setTheme(s,t),r.setMuiThemeName(a)),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(3);case 13:e.next=17;break;case 15:i.internalAPI.setTheme({type:a},t),r.setMuiThemeName(a);case 17:case"end":return e.stop()}}),e,null,[[3,10]])})));return function(t){return e.apply(this,arguments)}}(),externalAPI:i.externalAPI}}function Ce(e){return"auto"!==e?e:(t=!1,window.PointerEvent&&"maxTouchPoints"in navigator?navigator.maxTouchPoints>0&&(t=!0):(window.matchMedia&&window.matchMedia("(any-pointer:coarse)").matches||window.TouchEvent||"ontouchstart"in window)&&(t=!0),t?"touch":"desktop");var t}var Se={exports:{}},we={},xe=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable;function Ne(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var Ie=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,r,i=Ne(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))Oe.call(n,a)&&(i[a]=n[a]);if(xe){r=xe(n);for(var s=0;s<r.length;s++)Re.call(n,r[s])&&(i[r[s]]=n[r[s]])}}return i},Le=Ie,Te=60103,ke=60106;we.Fragment=60107,we.StrictMode=60108,we.Profiler=60114;var De=60109,qe=60110,Pe=60112;we.Suspense=60113;var Ae=60115,Me=60116;if("function"==typeof Symbol&&Symbol.for){var Fe=Symbol.for;Te=Fe("react.element"),ke=Fe("react.portal"),we.Fragment=Fe("react.fragment"),we.StrictMode=Fe("react.strict_mode"),we.Profiler=Fe("react.profiler"),De=Fe("react.provider"),qe=Fe("react.context"),Pe=Fe("react.forward_ref"),we.Suspense=Fe("react.suspense"),Ae=Fe("react.memo"),Me=Fe("react.lazy")}var je="function"==typeof Symbol&&Symbol.iterator;function Ve(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 ze={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Be={};function Ue(e,t,n){this.props=e,this.context=t,this.refs=Be,this.updater=n||ze}function He(){}function Ge(e,t,n){this.props=e,this.context=t,this.refs=Be,this.updater=n||ze}Ue.prototype.isReactComponent={},Ue.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(Ve(85));this.updater.enqueueSetState(this,e,t,"setState")},Ue.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},He.prototype=Ue.prototype;var We=Ge.prototype=new He;We.constructor=Ge,Le(We,Ue.prototype),We.isPureReactComponent=!0;var $e={current:null},Ke=Object.prototype.hasOwnProperty,Qe={key:!0,ref:!0,__self:!0,__source:!0};function Xe(e,t,n){var r,i={},o=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(o=""+t.key),t)Ke.call(t,r)&&!Qe.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(1===s)i.children=n;else if(1<s){for(var l=Array(s),u=0;u<s;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===i[r]&&(i[r]=s[r]);return{$$typeof:Te,type:e,key:o,ref:a,props:i,_owner:$e.current}}function Ze(e){return"object"==typeof e&&null!==e&&e.$$typeof===Te}var Ye=/\/+/g;function Je(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 et(e,t,n){if(null==e)return e;var r=[],i=0;return function e(t,n,r,i,o){var a=typeof t;"undefined"!==a&&"boolean"!==a||(t=null);var s=!1;if(null===t)s=!0;else switch(a){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case Te:case ke:s=!0}}if(s)return o=o(s=t),t=""===i?"."+Je(s,0):i,Array.isArray(o)?(r="",null!=t&&(r=t.replace(Ye,"$&/")+"/"),e(o,n,r,"",(function(e){return e}))):null!=o&&(Ze(o)&&(o=function(e,t){return{$$typeof:Te,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,r+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(Ye,"$&/")+"/")+t)),n.push(o)),1;if(s=0,i=""===i?".":i+":",Array.isArray(t))for(var l=0;l<t.length;l++){var u=i+Je(a=t[l],l);s+=e(a,n,r,u,o)}else if("function"==typeof(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=je&&e[je]||e["@@iterator"])?e:null}(t)))for(t=u.call(t),l=0;!(a=t.next()).done;)s+=e(a=a.value,n,r,u=i+Je(a,l++),o);else if("object"===a)throw n=""+t,Error(Ve(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n));return s}(e,r,"","",(function(e){return t.call(n,e,i++)})),r}function tt(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,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)}))}if(1===e._status)return e._result;throw e._result}var nt={current:null};function rt(){var e=nt.current;if(null===e)throw Error(Ve(321));return e}var it={ReactCurrentDispatcher:nt,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:$e,IsSomeRendererActing:{current:!1},assign:Le};we.Children={map:et,forEach:function(e,t,n){et(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return et(e,(function(){t++})),t},toArray:function(e){return et(e,(function(e){return e}))||[]},only:function(e){if(!Ze(e))throw Error(Ve(143));return e}},we.Component=Ue,we.PureComponent=Ge,we.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=it,we.cloneElement=function(e,t,n){if(null==e)throw Error(Ve(267,e));var r=Le({},e.props),i=e.key,o=e.ref,a=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,a=$e.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)Ke.call(t,l)&&!Qe.hasOwnProperty(l)&&(r[l]=void 0===t[l]&&void 0!==s?s[l]:t[l])}var l=arguments.length-2;if(1===l)r.children=n;else if(1<l){s=Array(l);for(var u=0;u<l;u++)s[u]=arguments[u+2];r.children=s}return{$$typeof:Te,type:e.type,key:i,ref:o,props:r,_owner:a}},we.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:qe,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:De,_context:e},e.Consumer=e},we.createElement=Xe,we.createFactory=function(e){var t=Xe.bind(null,e);return t.type=e,t},we.createRef=function(){return{current:null}},we.forwardRef=function(e){return{$$typeof:Pe,render:e}},we.isValidElement=Ze,we.lazy=function(e){return{$$typeof:Me,_payload:{_status:-1,_result:e},_init:tt}},we.memo=function(e,t){return{$$typeof:Ae,type:e,compare:void 0===t?null:t}},we.useCallback=function(e,t){return rt().useCallback(e,t)},we.useContext=function(e,t){return rt().useContext(e,t)},we.useDebugValue=function(){},we.useEffect=function(e,t){return rt().useEffect(e,t)},we.useImperativeHandle=function(e,t,n){return rt().useImperativeHandle(e,t,n)},we.useLayoutEffect=function(e,t){return rt().useLayoutEffect(e,t)},we.useMemo=function(e,t){return rt().useMemo(e,t)},we.useReducer=function(e,t,n){return rt().useReducer(e,t,n)},we.useRef=function(e){return rt().useRef(e)},we.useState=function(e){return rt().useState(e)},we.version="17.0.2",Se.exports=we;var ot=Se.exports,at={exports:{}},st={},lt={exports:{}},ut={};!function(e){var t,n,r,i;if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var l=null,u=null,c=function(){if(null!==l)try{var t=e.unstable_now();l(!0,t),l=null}catch(e){throw setTimeout(c,0),e}};t=function(e){null!==l?setTimeout(t,0,e):(l=e,setTimeout(c,0))},n=function(e,t){u=setTimeout(e,t)},r=function(){clearTimeout(u)},e.unstable_shouldYield=function(){return!1},i=e.unstable_forceFrameRate=function(){}}else{var d=window.setTimeout,f=window.clearTimeout;if("undefined"!=typeof console){var p=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://reactjs.org/link/react-polyfills"),"function"!=typeof p&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var h=!1,m=null,y=-1,g=5,v=0;e.unstable_shouldYield=function(){return e.unstable_now()>=v},i=function(){},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):g=0<e?Math.floor(1e3/e):5};var b=new MessageChannel,E=b.port2;b.port1.onmessage=function(){if(null!==m){var t=e.unstable_now();v=t+g;try{m(!0,t)?E.postMessage(null):(h=!1,m=null)}catch(e){throw E.postMessage(null),e}}else h=!1},t=function(e){m=e,h||(h=!0,E.postMessage(null))},n=function(t,n){y=d((function(){t(e.unstable_now())}),n)},r=function(){f(y),y=-1}}function _(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,i=e[r];if(!(void 0!==i&&0<w(i,t)))break e;e[r]=t,e[n]=i,n=r}}function C(e){return void 0===(e=e[0])?null:e}function S(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r<i;){var o=2*(r+1)-1,a=e[o],s=o+1,l=e[s];if(void 0!==a&&0>w(a,n))void 0!==l&&0>w(l,a)?(e[r]=l,e[s]=n,r=s):(e[r]=a,e[o]=n,r=o);else{if(!(void 0!==l&&0>w(l,n)))break e;e[r]=l,e[s]=n,r=s}}}return t}return null}function w(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var x=[],O=[],R=1,N=null,I=3,L=!1,T=!1,k=!1;function D(e){for(var t=C(O);null!==t;){if(null===t.callback)S(O);else{if(!(t.startTime<=e))break;S(O),t.sortIndex=t.expirationTime,_(x,t)}t=C(O)}}function q(e){if(k=!1,D(e),!T)if(null!==C(x))T=!0,t(P);else{var r=C(O);null!==r&&n(q,r.startTime-e)}}function P(t,i){T=!1,k&&(k=!1,r()),L=!0;var o=I;try{for(D(i),N=C(x);null!==N&&(!(N.expirationTime>i)||t&&!e.unstable_shouldYield());){var a=N.callback;if("function"==typeof a){N.callback=null,I=N.priorityLevel;var s=a(N.expirationTime<=i);i=e.unstable_now(),"function"==typeof s?N.callback=s:N===C(x)&&S(x),D(i)}else S(x);N=C(x)}if(null!==N)var l=!0;else{var u=C(O);null!==u&&n(q,u.startTime-i),l=!1}return l}finally{N=null,I=o,L=!1}}var A=i;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){T||L||(T=!0,t(P))},e.unstable_getCurrentPriorityLevel=function(){return I},e.unstable_getFirstCallbackNode=function(){return C(x)},e.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}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=A,e.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}},e.unstable_scheduleCallback=function(i,o,a){var s=e.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?s+a:s,i){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return i={id:R++,callback:o,priorityLevel:i,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>s?(i.sortIndex=a,_(O,i),null===C(x)&&i===C(O)&&(k?r():k=!0,n(q,a-s))):(i.sortIndex=l,_(x,i),T||L||(T=!0,t(P))),i},e.unstable_wrapCallback=function(e){var t=I;return function(){var n=I;I=t;try{return e.apply(this,arguments)}finally{I=n}}}}(ut),lt.exports=ut;var ct=Se.exports,dt=Ie,ft=lt.exports;function pt(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(!ct)throw Error(pt(227));var ht=new Set,mt={};function yt(e,t){gt(e,t),gt(e+"Capture",t)}function gt(e,t){for(mt[e]=t,e=0;e<t.length;e++)ht.add(t[e])}var vt=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),bt=/^[: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]*$/,Et=Object.prototype.hasOwnProperty,_t={},Ct={};function St(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var wt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){wt[e]=new St(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];wt[t]=new St(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){wt[e]=new St(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){wt[e]=new St(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){wt[e]=new St(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){wt[e]=new St(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){wt[e]=new St(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){wt[e]=new St(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){wt[e]=new St(e,5,!1,e.toLowerCase(),null,!1,!1)}));var xt=/[\-:]([a-z])/g;function Ot(e){return e[1].toUpperCase()}function Rt(e,t,n,r){var i=wt.hasOwnProperty(t)?wt[t]:null;(null!==i?0===i.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,i,r)&&(n=null),r||null===i?function(e){return!!Et.call(Ct,e)||!Et.call(_t,e)&&(bt.test(e)?Ct[e]=!0:(_t[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"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(xt,Ot);wt[t]=new St(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(xt,Ot);wt[t]=new St(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(xt,Ot);wt[t]=new St(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){wt[e]=new St(e,1,!1,e.toLowerCase(),null,!1,!1)})),wt.xlinkHref=new St("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){wt[e]=new St(e,1,!1,e.toLowerCase(),null,!0,!0)}));var Nt=ct.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,It=60103,Lt=60106,Tt=60107,kt=60108,Dt=60114,qt=60109,Pt=60110,At=60112,Mt=60113,Ft=60120,jt=60115,Vt=60116,zt=60121,Bt=60128,Ut=60129,Ht=60130,Gt=60131;if("function"==typeof Symbol&&Symbol.for){var Wt=Symbol.for;It=Wt("react.element"),Lt=Wt("react.portal"),Tt=Wt("react.fragment"),kt=Wt("react.strict_mode"),Dt=Wt("react.profiler"),qt=Wt("react.provider"),Pt=Wt("react.context"),At=Wt("react.forward_ref"),Mt=Wt("react.suspense"),Ft=Wt("react.suspense_list"),jt=Wt("react.memo"),Vt=Wt("react.lazy"),zt=Wt("react.block"),Wt("react.scope"),Bt=Wt("react.opaque.id"),Ut=Wt("react.debug_trace_mode"),Ht=Wt("react.offscreen"),Gt=Wt("react.legacy_hidden")}var $t,Kt="function"==typeof Symbol&&Symbol.iterator;function Qt(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Kt&&e[Kt]||e["@@iterator"])?e:null}function Xt(e){if(void 0===$t)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);$t=t&&t[1]||""}return"\n"+$t+e}var Zt=!1;function Yt(e,t){if(!e||Zt)return"";Zt=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(e){if(e&&r&&"string"==typeof e.stack){for(var i=e.stack.split("\n"),o=r.stack.split("\n"),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(1!==a||1!==s)do{if(a--,0>--s||i[a]!==o[s])return"\n"+i[a].replace(" at new "," at ")}while(1<=a&&0<=s);break}}}finally{Zt=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Xt(e):""}function Jt(e){switch(e.tag){case 5:return Xt(e.type);case 16:return Xt("Lazy");case 13:return Xt("Suspense");case 19:return Xt("SuspenseList");case 0:case 2:case 15:return Yt(e.type,!1);case 11:return Yt(e.type.render,!1);case 22:return Yt(e.type._render,!1);case 1:return Yt(e.type,!0);default:return""}}function en(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 Tt:return"Fragment";case Lt:return"Portal";case Dt:return"Profiler";case kt:return"StrictMode";case Mt:return"Suspense";case Ft:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Pt:return(e.displayName||"Context")+".Consumer";case qt:return(e._context.displayName||"Context")+".Provider";case At:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case jt:return en(e.type);case zt:return en(e._render);case Vt:t=e._payload,e=e._init;try{return en(e(t))}catch(e){}}return null}function tn(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function nn(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function rn(e){e._valueTracker||(e._valueTracker=function(e){var t=nn(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 i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.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 on(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=nn(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function an(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 sn(e,t){var n=t.checked;return dt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ln(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=tn(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 un(e,t){null!=(t=t.checked)&&Rt(e,"checked",t,!1)}function cn(e,t){un(e,t);var n=tn(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")?fn(e,t.type,n):t.hasOwnProperty("defaultValue")&&fn(e,t.type,tn(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function dn(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(("submit"===r||"reset"===r)&&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 fn(e,t,n){"number"===t&&an(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function pn(e,t){return e=dt({children:void 0},t),(t=function(e){var t="";return ct.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function hn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+tn(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function mn(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(pt(91));return dt({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function yn(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(pt(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(pt(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:tn(n)}}function gn(e,t){var n=tn(t.value),r=tn(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 vn(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var bn="http://www.w3.org/1999/xhtml";function En(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 _n(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?En(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Cn,Sn,wn=(Sn=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((Cn=Cn||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Cn.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return Sn(e,t)}))}:Sn);function xn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var On={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},Rn=["Webkit","ms","Moz","O"];function Nn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||On.hasOwnProperty(e)&&On[e]?(""+t).trim():t+"px"}function In(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=Nn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(On).forEach((function(e){Rn.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),On[t]=On[e]}))}));var Ln=dt({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 Tn(e,t){if(t){if(Ln[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(pt(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(pt(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(pt(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(pt(62))}}function kn(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}}function Dn(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var qn=null,Pn=null,An=null;function Mn(e){if(e=oa(e)){if("function"!=typeof qn)throw Error(pt(280));var t=e.stateNode;t&&(t=sa(t),qn(e.stateNode,e.type,t))}}function Fn(e){Pn?An?An.push(e):An=[e]:Pn=e}function jn(){if(Pn){var e=Pn,t=An;if(An=Pn=null,Mn(e),t)for(e=0;e<t.length;e++)Mn(t[e])}}function Vn(e,t){return e(t)}function zn(e,t,n,r,i){return e(t,n,r,i)}function Bn(){}var Un=Vn,Hn=!1,Gn=!1;function Wn(){null===Pn&&null===An||(Bn(),jn())}function $n(e,t){var n=e.stateNode;if(null===n)return null;var r=sa(n);if(null===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(pt(231,t,typeof n));return n}var Kn=!1;if(vt)try{var Qn={};Object.defineProperty(Qn,"passive",{get:function(){Kn=!0}}),window.addEventListener("test",Qn,Qn),window.removeEventListener("test",Qn,Qn)}catch(Sn){Kn=!1}function Xn(e,t,n,r,i,o,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var Zn=!1,Yn=null,Jn=!1,er=null,tr={onError:function(e){Zn=!0,Yn=e}};function nr(e,t,n,r,i,o,a,s,l){Zn=!1,Yn=null,Xn.apply(tr,arguments)}function rr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function ir(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 or(e){if(rr(e)!==e)throw Error(pt(188))}function ar(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=rr(e)))throw Error(pt(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return or(i),e;if(o===r)return or(i),t;o=o.sibling}throw Error(pt(188))}if(n.return!==r.return)n=i,r=o;else{for(var a=!1,s=i.child;s;){if(s===n){a=!0,n=i,r=o;break}if(s===r){a=!0,r=i,n=o;break}s=s.sibling}if(!a){for(s=o.child;s;){if(s===n){a=!0,n=o,r=i;break}if(s===r){a=!0,r=o,n=i;break}s=s.sibling}if(!a)throw Error(pt(189))}}if(n.alternate!==r)throw Error(pt(190))}if(3!==n.tag)throw Error(pt(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 sr(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var lr,ur,cr,dr,fr=!1,pr=[],hr=null,mr=null,yr=null,gr=new Map,vr=new Map,br=[],Er="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function _r(e,t,n,r,i){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:i,targetContainers:[r]}}function Cr(e,t){switch(e){case"focusin":case"focusout":hr=null;break;case"dragenter":case"dragleave":mr=null;break;case"mouseover":case"mouseout":yr=null;break;case"pointerover":case"pointerout":gr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":vr.delete(t.pointerId)}}function Sr(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e=_r(t,n,r,i,o),null!==t&&null!==(t=oa(t))&&ur(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function wr(e){var t=ia(e.target);if(null!==t){var n=rr(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=ir(n)))return e.blockedOn=t,void dr(e.lanePriority,(function(){ft.unstable_runWithPriority(e.priority,(function(){cr(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function xr(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=oi(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=oa(n))&&ur(t),e.blockedOn=n,!1;t.shift()}return!0}function Or(e,t,n){xr(e)&&n.delete(t)}function Rr(){for(fr=!1;0<pr.length;){var e=pr[0];if(null!==e.blockedOn){null!==(e=oa(e.blockedOn))&&lr(e);break}for(var t=e.targetContainers;0<t.length;){var n=oi(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&pr.shift()}null!==hr&&xr(hr)&&(hr=null),null!==mr&&xr(mr)&&(mr=null),null!==yr&&xr(yr)&&(yr=null),gr.forEach(Or),vr.forEach(Or)}function Nr(e,t){e.blockedOn===t&&(e.blockedOn=null,fr||(fr=!0,ft.unstable_scheduleCallback(ft.unstable_NormalPriority,Rr)))}function Ir(e){function t(t){return Nr(t,e)}if(0<pr.length){Nr(pr[0],e);for(var n=1;n<pr.length;n++){var r=pr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==hr&&Nr(hr,e),null!==mr&&Nr(mr,e),null!==yr&&Nr(yr,e),gr.forEach(t),vr.forEach(t),n=0;n<br.length;n++)(r=br[n]).blockedOn===e&&(r.blockedOn=null);for(;0<br.length&&null===(n=br[0]).blockedOn;)wr(n),null===n.blockedOn&&br.shift()}function Lr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Tr={animationend:Lr("Animation","AnimationEnd"),animationiteration:Lr("Animation","AnimationIteration"),animationstart:Lr("Animation","AnimationStart"),transitionend:Lr("Transition","TransitionEnd")},kr={},Dr={};function qr(e){if(kr[e])return kr[e];if(!Tr[e])return e;var t,n=Tr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Dr)return kr[e]=n[t];return e}vt&&(Dr=document.createElement("div").style,"AnimationEvent"in window||(delete Tr.animationend.animation,delete Tr.animationiteration.animation,delete Tr.animationstart.animation),"TransitionEvent"in window||delete Tr.transitionend.transition);var Pr=qr("animationend"),Ar=qr("animationiteration"),Mr=qr("animationstart"),Fr=qr("transitionend"),jr=new Map,Vr=new Map,zr=["abort","abort",Pr,"animationEnd",Ar,"animationIteration",Mr,"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",Fr,"transitionEnd","waiting","waiting"];function Br(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],i=e[n+1];i="on"+(i[0].toUpperCase()+i.slice(1)),Vr.set(r,t),jr.set(r,i),yt(i,[r])}}(0,ft.unstable_now)();var Ur=8;function Hr(e){if(0!=(1&e))return Ur=15,1;if(0!=(2&e))return Ur=14,2;if(0!=(4&e))return Ur=13,4;var t=24&e;return 0!==t?(Ur=12,t):0!=(32&e)?(Ur=11,32):0!=(t=192&e)?(Ur=10,t):0!=(256&e)?(Ur=9,256):0!=(t=3584&e)?(Ur=8,t):0!=(4096&e)?(Ur=7,4096):0!=(t=4186112&e)?(Ur=6,t):0!=(t=62914560&e)?(Ur=5,t):67108864&e?(Ur=4,67108864):0!=(134217728&e)?(Ur=3,134217728):0!=(t=805306368&e)?(Ur=2,t):0!=(1073741824&e)?(Ur=1,1073741824):(Ur=8,e)}function Gr(e,t){var n=e.pendingLanes;if(0===n)return Ur=0;var r=0,i=0,o=e.expiredLanes,a=e.suspendedLanes,s=e.pingedLanes;if(0!==o)r=o,i=Ur=15;else if(0!=(o=134217727&n)){var l=o&~a;0!==l?(r=Hr(l),i=Ur):0!=(s&=o)&&(r=Hr(s),i=Ur)}else 0!=(o=n&~a)?(r=Hr(o),i=Ur):0!==s&&(r=Hr(s),i=Ur);if(0===r)return 0;if(r=n&((0>(r=31-Xr(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&a)){if(Hr(t),i<=Ur)return t;Ur=i}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-Xr(t)),r|=e[n],t&=~i;return r}function Wr(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function $r(e){return e&-e}function Kr(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Qr(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Xr(t)]=n}var Xr=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Zr(e)/Yr|0)|0},Zr=Math.log,Yr=Math.LN2,Jr=ft.unstable_UserBlockingPriority,ei=ft.unstable_runWithPriority,ti=!0;function ni(e,t,n,r){Hn||Bn();var i=ii,o=Hn;Hn=!0;try{zn(i,e,t,n,r)}finally{(Hn=o)||Wn()}}function ri(e,t,n,r){ei(Jr,ii.bind(null,e,t,n,r))}function ii(e,t,n,r){var i;if(ti)if((i=0==(4&t))&&0<pr.length&&-1<Er.indexOf(e))e=_r(null,e,t,n,r),pr.push(e);else{var o=oi(e,t,n,r);if(null===o)i&&Cr(e,r);else{if(i){if(-1<Er.indexOf(e))return e=_r(o,e,t,n,r),void pr.push(e);if(function(e,t,n,r,i){switch(t){case"focusin":return hr=Sr(hr,e,t,n,r,i),!0;case"dragenter":return mr=Sr(mr,e,t,n,r,i),!0;case"mouseover":return yr=Sr(yr,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return gr.set(o,Sr(gr.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return vr.set(o=i.pointerId,Sr(vr.get(o)||null,e,t,n,r,i)),!0}return!1}(o,e,t,n,r))return;Cr(e,r)}Mo(e,t,r,null,n)}}}function oi(e,t,n,r){var i=Dn(r);if(null!==(i=ia(i))){var o=rr(i);if(null===o)i=null;else{var a=o.tag;if(13===a){if(null!==(i=ir(o)))return i;i=null}else if(3===a){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;i=null}else o!==i&&(i=null)}}return Mo(e,t,r,i,n),null}var ai=null,si=null,li=null;function ui(){if(li)return li;var e,t,n=si,r=n.length,i="value"in ai?ai.value:ai.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return li=i.slice(e,1<t?1-t:void 0)}function ci(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}function di(){return!0}function fi(){return!1}function pi(e){function t(t,n,r,i,o){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(this[a]=(t=e[a])?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?di:fi,this.isPropagationStopped=fi,this}return dt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=di)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=di)},persist:function(){},isPersistent:di}),t}var hi,mi,yi,gi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},vi=pi(gi),bi=dt({},gi,{view:0,detail:0}),Ei=pi(bi),_i=dt({},bi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ki,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==yi&&(yi&&"mousemove"===e.type?(hi=e.screenX-yi.screenX,mi=e.screenY-yi.screenY):mi=hi=0,yi=e),hi)},movementY:function(e){return"movementY"in e?e.movementY:mi}}),Ci=pi(_i),Si=pi(dt({},_i,{dataTransfer:0})),wi=pi(dt({},bi,{relatedTarget:0})),xi=pi(dt({},gi,{animationName:0,elapsedTime:0,pseudoElement:0})),Oi=pi(dt({},gi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),Ri=pi(dt({},gi,{data:0})),Ni={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ii={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"},Li={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ti(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Li[e])&&!!t[e]}function ki(){return Ti}var Di=pi(dt({},bi,{key:function(e){if(e.key){var t=Ni[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=ci(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Ii[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ki,charCode:function(e){return"keypress"===e.type?ci(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?ci(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),qi=pi(dt({},_i,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Pi=pi(dt({},bi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ki})),Ai=pi(dt({},gi,{propertyName:0,elapsedTime:0,pseudoElement:0})),Mi=pi(dt({},_i,{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:0,deltaMode:0})),Fi=[9,13,27,32],ji=vt&&"CompositionEvent"in window,Vi=null;vt&&"documentMode"in document&&(Vi=document.documentMode);var zi=vt&&"TextEvent"in window&&!Vi,Bi=vt&&(!ji||Vi&&8<Vi&&11>=Vi),Ui=String.fromCharCode(32),Hi=!1;function Gi(e,t){switch(e){case"keyup":return-1!==Fi.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wi(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var $i=!1,Ki={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 Qi(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Ki[e.type]:"textarea"===t}function Xi(e,t,n,r){Fn(r),0<(t=jo(t,"onChange")).length&&(n=new vi("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Zi=null,Yi=null;function Ji(e){To(e,0)}function eo(e){if(on(aa(e)))return e}function to(e,t){if("change"===e)return t}var no=!1;if(vt){var ro;if(vt){var io="oninput"in document;if(!io){var oo=document.createElement("div");oo.setAttribute("oninput","return;"),io="function"==typeof oo.oninput}ro=io}else ro=!1;no=ro&&(!document.documentMode||9<document.documentMode)}function ao(){Zi&&(Zi.detachEvent("onpropertychange",so),Yi=Zi=null)}function so(e){if("value"===e.propertyName&&eo(Yi)){var t=[];if(Xi(t,Yi,e,Dn(e)),e=Ji,Hn)e(t);else{Hn=!0;try{Vn(e,t)}finally{Hn=!1,Wn()}}}}function lo(e,t,n){"focusin"===e?(ao(),Yi=n,(Zi=t).attachEvent("onpropertychange",so)):"focusout"===e&&ao()}function uo(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return eo(Yi)}function co(e,t){if("click"===e)return eo(t)}function fo(e,t){if("input"===e||"change"===e)return eo(t)}var po="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},ho=Object.prototype.hasOwnProperty;function mo(e,t){if(po(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(!ho.call(t,n[r])||!po(e[n[r]],t[n[r]]))return!1;return!0}function yo(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function go(e,t){var n,r=yo(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=yo(r)}}function vo(){for(var e=window,t=an();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=an((e=t.contentWindow).document)}return t}function bo(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 Eo=vt&&"documentMode"in document&&11>=document.documentMode,_o=null,Co=null,So=null,wo=!1;function xo(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;wo||null==_o||_o!==an(r)||(r="selectionStart"in(r=_o)&&bo(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},So&&mo(So,r)||(So=r,0<(r=jo(Co,"onSelect")).length&&(t=new vi("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=_o)))}Br("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur 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),Br("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),Br(zr,2);for(var Oo="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Ro=0;Ro<Oo.length;Ro++)Vr.set(Oo[Ro],0);gt("onMouseEnter",["mouseout","mouseover"]),gt("onMouseLeave",["mouseout","mouseover"]),gt("onPointerEnter",["pointerout","pointerover"]),gt("onPointerLeave",["pointerout","pointerover"]),yt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),yt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),yt("onBeforeInput",["compositionend","keypress","textInput","paste"]),yt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),yt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),yt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var No="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Io=new Set("cancel close invalid load scroll toggle".split(" ").concat(No));function Lo(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,o,a,s,l){if(nr.apply(this,arguments),Zn){if(!Zn)throw Error(pt(198));var u=Yn;Zn=!1,Yn=null,Jn||(Jn=!0,er=u)}}(r,t,void 0,e),e.currentTarget=null}function To(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break e;Lo(i,s,u),o=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,u=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break e;Lo(i,s,u),o=l}}}if(Jn)throw e=er,Jn=!1,er=null,e}function ko(e,t){var n=la(t),r=e+"__bubble";n.has(r)||(Ao(t,e,2,!1),n.add(r))}var Do="_reactListening"+Math.random().toString(36).slice(2);function qo(e){e[Do]||(e[Do]=!0,ht.forEach((function(t){Io.has(t)||Po(t,!1,e,null),Po(t,!0,e,null)})))}function Po(e,t,n,r){var i=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,o=n;if("selectionchange"===e&&9!==n.nodeType&&(o=n.ownerDocument),null!==r&&!t&&Io.has(e)){if("scroll"!==e)return;i|=2,o=r}var a=la(o),s=e+"__"+(t?"capture":"bubble");a.has(s)||(t&&(i|=4),Ao(o,e,i,t),a.add(s))}function Ao(e,t,n,r){var i=Vr.get(t);switch(void 0===i?2:i){case 0:i=ni;break;case 1:i=ri;break;default:i=ii}n=i.bind(null,t,n,e),i=void 0,!Kn||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),e.addEventListener(t,n,r?void 0===i||{capture:!0,passive:i}:void 0!==i&&{passive:i})}function Mo(e,t,n,r,i){var o=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return;a=a.return}for(;null!==s;){if(null===(a=ia(s)))return;if(5===(l=a.tag)||6===l){r=o=a;continue e}s=s.parentNode}}r=r.return}!function(e,t,n){if(Gn)return e();Gn=!0;try{Un(e,void 0,void 0)}finally{Gn=!1,Wn()}}((function(){var r=o,i=Dn(n),a=[];e:{var s=jr.get(e);if(void 0!==s){var l=vi,u=e;switch(e){case"keypress":if(0===ci(n))break e;case"keydown":case"keyup":l=Di;break;case"focusin":u="focus",l=wi;break;case"focusout":u="blur",l=wi;break;case"beforeblur":case"afterblur":l=wi;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=Ci;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=Si;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Pi;break;case Pr:case Ar:case Mr:l=xi;break;case Fr:l=Ai;break;case"scroll":l=Ei;break;case"wheel":l=Mi;break;case"copy":case"cut":case"paste":l=Oi;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=qi}var c=0!=(4&t),d=!c&&"scroll"===e,f=c?null!==s?s+"Capture":null:s;c=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&null!=(m=$n(h,f))&&c.push(Fo(h,m,p))),d)break;h=h.return}0<c.length&&(s=new l(s,u,null,n,i),a.push({event:s,listeners:c}))}}if(0==(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||0!=(16&t)||!(u=n.relatedTarget||n.fromElement)||!ia(u)&&!u[na])&&(l||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(u=(u=n.relatedTarget||n.toElement)?ia(u):null)&&(u!==(d=rr(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(l=null,u=r),l!==u)){if(c=Ci,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=qi,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==l?s:aa(l),p=null==u?s:aa(u),(s=new c(m,h+"leave",l,n,i)).target=d,s.relatedTarget=p,m=null,ia(i)===r&&((c=new c(f,h+"enter",u,n,i)).target=p,c.relatedTarget=d,m=c),d=m,l&&u)e:{for(f=u,h=0,p=c=l;p;p=Vo(p))h++;for(p=0,m=f;m;m=Vo(m))p++;for(;0<h-p;)c=Vo(c),h--;for(;0<p-h;)f=Vo(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break e;c=Vo(c),f=Vo(f)}c=null}else c=null;null!==l&&zo(a,s,l,c,!1),null!==u&&null!==d&&zo(a,d,u,c,!0)}if("select"===(l=(s=r?aa(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var y=to;else if(Qi(s))if(no)y=fo;else{y=uo;var g=lo}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(y=co);switch(y&&(y=y(e,r))?Xi(a,y,n,i):(g&&g(e,s,r),"focusout"===e&&(g=s._wrapperState)&&g.controlled&&"number"===s.type&&fn(s,"number",s.value)),g=r?aa(r):window,e){case"focusin":(Qi(g)||"true"===g.contentEditable)&&(_o=g,Co=r,So=null);break;case"focusout":So=Co=_o=null;break;case"mousedown":wo=!0;break;case"contextmenu":case"mouseup":case"dragend":wo=!1,xo(a,n,i);break;case"selectionchange":if(Eo)break;case"keydown":case"keyup":xo(a,n,i)}var v;if(ji)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else $i?Gi(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Bi&&"ko"!==n.locale&&($i||"onCompositionStart"!==b?"onCompositionEnd"===b&&$i&&(v=ui()):(si="value"in(ai=i)?ai.value:ai.textContent,$i=!0)),0<(g=jo(r,b)).length&&(b=new Ri(b,e,null,n,i),a.push({event:b,listeners:g}),(v||null!==(v=Wi(n)))&&(b.data=v))),(v=zi?function(e,t){switch(e){case"compositionend":return Wi(t);case"keypress":return 32!==t.which?null:(Hi=!0,Ui);case"textInput":return(e=t.data)===Ui&&Hi?null:e;default:return null}}(e,n):function(e,t){if($i)return"compositionend"===e||!ji&&Gi(e,t)?(e=ui(),li=si=ai=null,$i=!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 Bi&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))&&0<(r=jo(r,"onBeforeInput")).length&&(i=new Ri("onBeforeInput","beforeinput",null,n,i),a.push({event:i,listeners:r}),i.data=v)}To(a,t)}))}function Fo(e,t,n){return{instance:e,listener:t,currentTarget:n}}function jo(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=$n(e,n))&&r.unshift(Fo(e,o,i)),null!=(o=$n(e,t))&&r.push(Fo(e,o,i))),e=e.return}return r}function Vo(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function zo(e,t,n,r,i){for(var o=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==u&&(s=u,i?null!=(l=$n(n,o))&&a.unshift(Fo(n,l,s)):i||null!=(l=$n(n,o))&&a.push(Fo(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}function Bo(){}var Uo=null,Ho=null;function Go(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Wo(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 $o="function"==typeof setTimeout?setTimeout:void 0,Ko="function"==typeof clearTimeout?clearTimeout:void 0;function Qo(e){(1===e.nodeType||9===e.nodeType&&null!=(e=e.body))&&(e.textContent="")}function Xo(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Zo(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 Yo=0,Jo=Math.random().toString(36).slice(2),ea="__reactFiber$"+Jo,ta="__reactProps$"+Jo,na="__reactContainer$"+Jo,ra="__reactEvents$"+Jo;function ia(e){var t=e[ea];if(t)return t;for(var n=e.parentNode;n;){if(t=n[na]||n[ea]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Zo(e);null!==e;){if(n=e[ea])return n;e=Zo(e)}return t}n=(e=n).parentNode}return null}function oa(e){return!(e=e[ea]||e[na])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function aa(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(pt(33))}function sa(e){return e[ta]||null}function la(e){var t=e[ra];return void 0===t&&(t=e[ra]=new Set),t}var ua=[],ca=-1;function da(e){return{current:e}}function fa(e){0>ca||(e.current=ua[ca],ua[ca]=null,ca--)}function pa(e,t){ca++,ua[ca]=e.current,e.current=t}var ha={},ma=da(ha),ya=da(!1),ga=ha;function va(e,t){var n=e.type.contextTypes;if(!n)return ha;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ba(e){return null!=e.childContextTypes}function Ea(){fa(ya),fa(ma)}function _a(e,t,n){if(ma.current!==ha)throw Error(pt(168));pa(ma,t),pa(ya,n)}function Ca(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(pt(108,en(t)||"Unknown",i));return dt({},n,r)}function Sa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ha,ga=ma.current,pa(ma,e),pa(ya,ya.current),!0}function wa(e,t,n){var r=e.stateNode;if(!r)throw Error(pt(169));n?(e=Ca(e,t,ga),r.__reactInternalMemoizedMergedChildContext=e,fa(ya),fa(ma),pa(ma,e)):fa(ya),pa(ya,n)}var xa=null,Oa=null,Ra=ft.unstable_runWithPriority,Na=ft.unstable_scheduleCallback,Ia=ft.unstable_cancelCallback,La=ft.unstable_shouldYield,Ta=ft.unstable_requestPaint,ka=ft.unstable_now,Da=ft.unstable_getCurrentPriorityLevel,qa=ft.unstable_ImmediatePriority,Pa=ft.unstable_UserBlockingPriority,Aa=ft.unstable_NormalPriority,Ma=ft.unstable_LowPriority,Fa=ft.unstable_IdlePriority,ja={},Va=void 0!==Ta?Ta:function(){},za=null,Ba=null,Ua=!1,Ha=ka(),Ga=1e4>Ha?ka:function(){return ka()-Ha};function Wa(){switch(Da()){case qa:return 99;case Pa:return 98;case Aa:return 97;case Ma:return 96;case Fa:return 95;default:throw Error(pt(332))}}function $a(e){switch(e){case 99:return qa;case 98:return Pa;case 97:return Aa;case 96:return Ma;case 95:return Fa;default:throw Error(pt(332))}}function Ka(e,t){return e=$a(e),Ra(e,t)}function Qa(e,t,n){return e=$a(e),Na(e,t,n)}function Xa(){if(null!==Ba){var e=Ba;Ba=null,Ia(e)}Za()}function Za(){if(!Ua&&null!==za){Ua=!0;var e=0;try{var t=za;Ka(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),za=null}catch(t){throw null!==za&&(za=za.slice(e+1)),Na(qa,Xa),t}finally{Ua=!1}}}var Ya=Nt.ReactCurrentBatchConfig;function Ja(e,t){if(e&&e.defaultProps){for(var n in t=dt({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var es=da(null),ts=null,ns=null,rs=null;function is(){rs=ns=ts=null}function os(e){var t=es.current;fa(es),e.type._context._currentValue=t}function as(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function ss(e,t){ts=e,rs=ns=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Fl=!0),e.firstContext=null)}function ls(e,t){if(rs!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(rs=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ns){if(null===ts)throw Error(pt(308));ns=t,ts.dependencies={lanes:0,firstContext:t,responders:null}}else ns=ns.next=t;return e._currentValue}var us=!1;function cs(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function ds(e,t){t.updateQueue===(e=e.updateQueue)&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function fs(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ps(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 hs(e,t){var n=e.updateQueue,r=e.alternate;if(null===r||n!==(r=r.updateQueue))null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t;else{var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;e.updateQueue=n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects}}}function ms(e,t,n,r){var i=e.updateQueue;us=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var l=s,u=l.next;l.next=null,null===a?o=u:a.next=u,a=l;var c=e.alternate;if(null!==c){var d=(c=c.updateQueue).lastBaseUpdate;d!==a&&(null===d?c.firstBaseUpdate=u:d.next=u,c.lastBaseUpdate=l)}}if(null!==o){for(d=i.baseState,a=0,c=u=l=null;;){var f=o.eventTime;if((r&(s=o.lane))===s){null!==c&&(c=c.next={eventTime:f,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var p=e,h=o;switch(s=t,f=n,h.tag){case 1:if("function"==typeof(p=h.payload)){d=p.call(f,d,s);break e}d=p;break e;case 3:p.flags=-4097&p.flags|64;case 0:if(null==(s="function"==typeof(p=h.payload)?p.call(f,d,s):p))break e;d=dt({},d,s);break e;case 2:us=!0}}null!==o.callback&&(e.flags|=32,null===(s=i.effects)?i.effects=[o]:s.push(o))}else f={eventTime:f,lane:s,tag:o.tag,payload:o.payload,callback:o.callback,next:null},null===c?(u=c=f,l=d):c=c.next=f,a|=s;if(null===(o=o.next)){if(null===(s=i.shared.pending))break;o=s.next,s.next=null,i.lastBaseUpdate=s,i.shared.pending=null}}null===c&&(l=d),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,Fu|=a,e.lanes=a,e.memoizedState=d}}function ys(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!=typeof i)throw Error(pt(191,i));i.call(r)}}}var gs=(new ct.Component).refs;function vs(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:dt({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var bs={isMounted:function(e){return!!(e=e._reactInternals)&&rr(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=uc(),i=cc(e),o=fs(r,i);o.payload=t,null!=n&&(o.callback=n),ps(e,o),dc(e,i,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=uc(),i=cc(e),o=fs(r,i);o.tag=1,o.payload=t,null!=n&&(o.callback=n),ps(e,o),dc(e,i,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=uc(),r=cc(e),i=fs(n,r);i.tag=2,null!=t&&(i.callback=t),ps(e,i),dc(e,r,n)}};function Es(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!(t.prototype&&t.prototype.isPureReactComponent&&mo(n,r)&&mo(i,o))}function _s(e,t,n){var r=!1,i=ha,o=t.contextType;return"object"==typeof o&&null!==o?o=ls(o):(i=ba(t)?ga:ma.current,o=(r=null!=(r=t.contextTypes))?va(e,i):ha),t=new t(n,o),e.memoizedState=null!=t.state?t.state:null,t.updater=bs,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Cs(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&&bs.enqueueReplaceState(t,t.state,null)}function Ss(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=gs,cs(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=ls(o):(o=ba(t)?ga:ma.current,i.context=va(e,o)),ms(e,n,i,r),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(vs(e,t,o,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&bs.enqueueReplaceState(i,i.state,null),ms(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4)}var ws=Array.isArray;function xs(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(pt(309));var r=n.stateNode}if(!r)throw Error(pt(147,e));var i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:((t=function(e){var t=r.refs;t===gs&&(t=r.refs={}),null===e?delete t[i]:t[i]=e})._stringRef=i,t)}if("string"!=typeof e)throw Error(pt(284));if(!n._owner)throw Error(pt(290,e))}return e}function Os(e,t){if("textarea"!==e.type)throw Error(pt(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Rs(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.flags=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;)e.set(null!==t.key?t.key:t.index,t),t=t.sibling;return e}function i(e,t){return(e=Uc(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function a(t){return e&&null===t.alternate&&(t.flags=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=$c(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function l(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=xs(e,t,n),r.return=e,r):((r=Hc(n.type,n.key,n.props,null,e.mode,r)).ref=xs(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Kc(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function c(e,t,n,r,o){return null===t||7!==t.tag?((t=Gc(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=$c(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case It:return(n=Hc(t.type,t.key,t.props,null,e.mode,n)).ref=xs(e,null,t),n.return=e,n;case Lt:return(t=Kc(t,e.mode,n)).return=e,t}if(ws(t)||Qt(t))return(t=Gc(t,e.mode,n,null)).return=e,t;Os(e,t)}return null}function f(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==i?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case It:return n.key===i?n.type===Tt?c(e,t,n.props.children,r,i):l(e,t,n,r):null;case Lt:return n.key===i?u(e,t,n,r):null}if(ws(n)||Qt(n))return null!==i?null:c(e,t,n,r,null);Os(e,n)}return null}function p(e,t,n,r,i){if("string"==typeof r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case It:return e=e.get(null===r.key?n:r.key)||null,r.type===Tt?c(t,e,r.props.children,i,r.key):l(t,e,r,i);case Lt:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(ws(r)||Qt(r))return c(t,e=e.get(n)||null,r,i,null);Os(t,r)}return null}function h(i,a,s,l){for(var u=null,c=null,h=a,m=a=0,y=null;null!==h&&m<s.length;m++){h.index>m?(y=h,h=null):y=h.sibling;var g=f(i,h,s[m],l);if(null===g){null===h&&(h=y);break}e&&h&&null===g.alternate&&t(i,h),a=o(g,a,m),null===c?u=g:c.sibling=g,c=g,h=y}if(m===s.length)return n(i,h),u;if(null===h){for(;m<s.length;m++)null!==(h=d(i,s[m],l))&&(a=o(h,a,m),null===c?u=h:c.sibling=h,c=h);return u}for(h=r(i,h);m<s.length;m++)null!==(y=p(h,i,m,s[m],l))&&(e&&null!==y.alternate&&h.delete(null===y.key?m:y.key),a=o(y,a,m),null===c?u=y:c.sibling=y,c=y);return e&&h.forEach((function(e){return t(i,e)})),u}function m(i,a,s,l){var u=Qt(s);if("function"!=typeof u)throw Error(pt(150));if(null==(s=u.call(s)))throw Error(pt(151));for(var c=u=null,h=a,m=a=0,y=null,g=s.next();null!==h&&!g.done;m++,g=s.next()){h.index>m?(y=h,h=null):y=h.sibling;var v=f(i,h,g.value,l);if(null===v){null===h&&(h=y);break}e&&h&&null===v.alternate&&t(i,h),a=o(v,a,m),null===c?u=v:c.sibling=v,c=v,h=y}if(g.done)return n(i,h),u;if(null===h){for(;!g.done;m++,g=s.next())null!==(g=d(i,g.value,l))&&(a=o(g,a,m),null===c?u=g:c.sibling=g,c=g);return u}for(h=r(i,h);!g.done;m++,g=s.next())null!==(g=p(h,i,m,g.value,l))&&(e&&null!==g.alternate&&h.delete(null===g.key?m:g.key),a=o(g,a,m),null===c?u=g:c.sibling=g,c=g);return e&&h.forEach((function(e){return t(i,e)})),u}return function(e,r,o,s){var l="object"==typeof o&&null!==o&&o.type===Tt&&null===o.key;l&&(o=o.props.children);var u="object"==typeof o&&null!==o;if(u)switch(o.$$typeof){case It:e:{for(u=o.key,l=r;null!==l;){if(l.key===u){switch(l.tag){case 7:if(o.type===Tt){n(e,l.sibling),(r=i(l,o.props.children)).return=e,e=r;break e}break;default:if(l.elementType===o.type){n(e,l.sibling),(r=i(l,o.props)).ref=xs(e,l,o),r.return=e,e=r;break e}}n(e,l);break}t(e,l),l=l.sibling}o.type===Tt?((r=Gc(o.props.children,e.mode,s,o.key)).return=e,e=r):((s=Hc(o.type,o.key,o.props,null,e.mode,s)).ref=xs(e,r,o),s.return=e,e=s)}return a(e);case Lt:e:{for(l=o.key;null!==r;){if(r.key===l){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=i(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Kc(o,e.mode,s)).return=e,e=r}return a(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,o)).return=e,e=r):(n(e,r),(r=$c(o,e.mode,s)).return=e,e=r),a(e);if(ws(o))return h(e,r,o,s);if(Qt(o))return m(e,r,o,s);if(u&&Os(e,o),void 0===o&&!l)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(pt(152,en(e.type)||"Component"))}return n(e,r)}}var Ns=Rs(!0),Is=Rs(!1),Ls={},Ts=da(Ls),ks=da(Ls),Ds=da(Ls);function qs(e){if(e===Ls)throw Error(pt(174));return e}function Ps(e,t){switch(pa(Ds,t),pa(ks,e),pa(Ts,Ls),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:_n(null,"");break;default:t=_n(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}fa(Ts),pa(Ts,t)}function As(){fa(Ts),fa(ks),fa(Ds)}function Ms(e){qs(Ds.current);var t=qs(Ts.current),n=_n(t,e.type);t!==n&&(pa(ks,e),pa(Ts,n))}function Fs(e){ks.current===e&&(fa(Ts),fa(ks))}var js=da(0);function Vs(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.flags))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}var zs=null,Bs=null,Us=!1;function Hs(e,t){var n=zc(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Gs(e,t){switch(e.tag){case 5:return null!==(t=1!==t.nodeType||e.type.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 Ws(e){if(Us){var t=Bs;if(t){var n=t;if(!Gs(e,t)){if(!(t=Xo(n.nextSibling))||!Gs(e,t))return e.flags=-1025&e.flags|2,Us=!1,void(zs=e);Hs(zs,n)}zs=e,Bs=Xo(t.firstChild)}else e.flags=-1025&e.flags|2,Us=!1,zs=e}}function $s(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;zs=e}function Ks(e){if(e!==zs)return!1;if(!Us)return $s(e),Us=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Wo(t,e.memoizedProps))for(t=Bs;t;)Hs(e,t),t=Xo(t.nextSibling);if($s(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(pt(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Bs=Xo(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Bs=null}}else Bs=zs?Xo(e.stateNode.nextSibling):null;return!0}function Qs(){Bs=zs=null,Us=!1}var Xs=[];function Zs(){for(var e=0;e<Xs.length;e++)Xs[e]._workInProgressVersionPrimary=null;Xs.length=0}var Ys=Nt.ReactCurrentDispatcher,Js=Nt.ReactCurrentBatchConfig,el=0,tl=null,nl=null,rl=null,il=!1,ol=!1;function al(){throw Error(pt(321))}function sl(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!po(e[n],t[n]))return!1;return!0}function ll(e,t,n,r,i,o){if(el=o,tl=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ys.current=null===e||null===e.memoizedState?ql:Pl,e=n(r,i),ol){o=0;do{if(ol=!1,!(25>o))throw Error(pt(301));o+=1,rl=nl=null,t.updateQueue=null,Ys.current=Al,e=n(r,i)}while(ol)}if(Ys.current=Dl,t=null!==nl&&null!==nl.next,el=0,rl=nl=tl=null,il=!1,t)throw Error(pt(300));return e}function ul(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===rl?tl.memoizedState=rl=e:rl=rl.next=e,rl}function cl(){if(null===nl){var e=tl.alternate;e=null!==e?e.memoizedState:null}else e=nl.next;var t=null===rl?tl.memoizedState:rl.next;if(null!==t)rl=t,nl=e;else{if(null===e)throw Error(pt(310));e={memoizedState:(nl=e).memoizedState,baseState:nl.baseState,baseQueue:nl.baseQueue,queue:nl.queue,next:null},null===rl?tl.memoizedState=rl=e:rl=rl.next=e}return rl}function dl(e,t){return"function"==typeof t?t(e):t}function fl(e){var t=cl(),n=t.queue;if(null===n)throw Error(pt(311));n.lastRenderedReducer=e;var r=nl,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var a=i.next;i.next=o.next,o.next=a}r.baseQueue=i=o,n.pending=null}if(null!==i){r=r.baseState;var s=a=o=null,l=i=i.next;do{var u=l.lane;if((el&u)===u)null!==s&&(s=s.next={lane:0,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null}),r=l.eagerReducer===e?l.eagerState:e(r,l.action);else{var c={lane:u,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null};null===s?(a=s=c,o=r):s=s.next=c,tl.lanes|=u,Fu|=u}l=l.next}while(null!==l&&l!==i);null===s?o=r:s.next=a,po(r,t.memoizedState)||(Fl=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=s,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function pl(e){var t=cl(),n=t.queue;if(null===n)throw Error(pt(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var a=i=i.next;do{o=e(o,a.action),a=a.next}while(a!==i);po(o,t.memoizedState)||(Fl=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function hl(e,t,n){var r=t._getVersion;r=r(t._source);var i=t._workInProgressVersionPrimary;if(null!==i?e=i===r:(e=(el&(e=e.mutableReadLanes))===e)&&(t._workInProgressVersionPrimary=r,Xs.push(t)),e)return n(t._source);throw Xs.push(t),Error(pt(350))}function ml(e,t,n,r){var i=Lu;if(null===i)throw Error(pt(349));var o=t._getVersion,a=o(t._source),s=Ys.current,l=s.useState((function(){return hl(i,t,n)})),u=l[1],c=l[0];l=rl;var d=e.memoizedState,f=d.refs,p=f.getSnapshot,h=d.source;d=d.subscribe;var m=tl;return e.memoizedState={refs:f,source:t,subscribe:r},s.useEffect((function(){f.getSnapshot=n,f.setSnapshot=u;var e=o(t._source);if(!po(a,e)){e=n(t._source),po(c,e)||(u(e),e=cc(m),i.mutableReadLanes|=e&i.pendingLanes),i.entangledLanes|=e=i.mutableReadLanes;for(var r=i.entanglements,s=e;0<s;){var l=31-Xr(s),d=1<<l;r[l]|=e,s&=~d}}}),[n,t,r]),s.useEffect((function(){return r(t._source,(function(){var e=f.getSnapshot,n=f.setSnapshot;try{n(e(t._source));var r=cc(m);i.mutableReadLanes|=r&i.pendingLanes}catch(e){n((function(){throw e}))}}))}),[t,r]),po(p,n)&&po(h,t)&&po(d,r)||((e={pending:null,dispatch:null,lastRenderedReducer:dl,lastRenderedState:c}).dispatch=u=kl.bind(null,tl,e),l.queue=e,l.baseQueue=null,c=hl(i,t,n),l.memoizedState=l.baseState=c),c}function yl(e,t,n){return ml(cl(),e,t,n)}function gl(e){var t=ul();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:dl,lastRenderedState:e}).dispatch=kl.bind(null,tl,e),[t.memoizedState,e]}function vl(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=tl.updateQueue)?(tl.updateQueue=t={lastEffect:null},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 bl(e){return e={current:e},ul().memoizedState=e}function El(){return cl().memoizedState}function _l(e,t,n,r){var i=ul();tl.flags|=e,i.memoizedState=vl(1|t,n,void 0,void 0===r?null:r)}function Cl(e,t,n,r){var i=cl();r=void 0===r?null:r;var o=void 0;if(null!==nl){var a=nl.memoizedState;if(o=a.destroy,null!==r&&sl(r,a.deps))return void vl(t,n,o,r)}tl.flags|=e,i.memoizedState=vl(1|t,n,o,r)}function Sl(e,t){return _l(516,4,e,t)}function wl(e,t){return Cl(516,4,e,t)}function xl(e,t){return Cl(4,2,e,t)}function Ol(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 Rl(e,t,n){return n=null!=n?n.concat([e]):null,Cl(4,2,Ol.bind(null,t,e),n)}function Nl(){}function Il(e,t){var n=cl();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&sl(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ll(e,t){var n=cl();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&sl(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Tl(e,t){var n=Wa();Ka(98>n?98:n,(function(){e(!0)})),Ka(97<n?97:n,(function(){var n=Js.transition;Js.transition=1;try{e(!1),t()}finally{Js.transition=n}}))}function kl(e,t,n){var r=uc(),i=cc(e),o={lane:i,action:n,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(null===a?o.next=o:(o.next=a.next,a.next=o),t.pending=o,a=e.alternate,e===tl||null!==a&&a===tl)ol=il=!0;else{if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var s=t.lastRenderedState,l=a(s,n);if(o.eagerReducer=a,o.eagerState=l,po(l,s))return}catch(e){}dc(e,i,r)}}var Dl={readContext:ls,useCallback:al,useContext:al,useEffect:al,useImperativeHandle:al,useLayoutEffect:al,useMemo:al,useReducer:al,useRef:al,useState:al,useDebugValue:al,useDeferredValue:al,useTransition:al,useMutableSource:al,useOpaqueIdentifier:al,unstable_isNewReconciler:!1},ql={readContext:ls,useCallback:function(e,t){return ul().memoizedState=[e,void 0===t?null:t],e},useContext:ls,useEffect:Sl,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,_l(4,2,Ol.bind(null,t,e),n)},useLayoutEffect:function(e,t){return _l(4,2,e,t)},useMemo:function(e,t){var n=ul();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ul();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=kl.bind(null,tl,e),[r.memoizedState,e]},useRef:bl,useState:gl,useDebugValue:Nl,useDeferredValue:function(e){var t=gl(e),n=t[0],r=t[1];return Sl((function(){var t=Js.transition;Js.transition=1;try{r(e)}finally{Js.transition=t}}),[e]),n},useTransition:function(){var e=gl(!1),t=e[0];return bl(e=Tl.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=ul();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},ml(r,e,t,n)},useOpaqueIdentifier:function(){if(Us){var e=!1,t=function(e){return{$$typeof:Bt,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(Yo++).toString(36))),Error(pt(355))})),n=gl(t)[1];return 0==(2&tl.mode)&&(tl.flags|=516,vl(5,(function(){n("r:"+(Yo++).toString(36))}),void 0,null)),t}return gl(t="r:"+(Yo++).toString(36)),t},unstable_isNewReconciler:!1},Pl={readContext:ls,useCallback:Il,useContext:ls,useEffect:wl,useImperativeHandle:Rl,useLayoutEffect:xl,useMemo:Ll,useReducer:fl,useRef:El,useState:function(){return fl(dl)},useDebugValue:Nl,useDeferredValue:function(e){var t=fl(dl),n=t[0],r=t[1];return wl((function(){var t=Js.transition;Js.transition=1;try{r(e)}finally{Js.transition=t}}),[e]),n},useTransition:function(){var e=fl(dl)[0];return[El().current,e]},useMutableSource:yl,useOpaqueIdentifier:function(){return fl(dl)[0]},unstable_isNewReconciler:!1},Al={readContext:ls,useCallback:Il,useContext:ls,useEffect:wl,useImperativeHandle:Rl,useLayoutEffect:xl,useMemo:Ll,useReducer:pl,useRef:El,useState:function(){return pl(dl)},useDebugValue:Nl,useDeferredValue:function(e){var t=pl(dl),n=t[0],r=t[1];return wl((function(){var t=Js.transition;Js.transition=1;try{r(e)}finally{Js.transition=t}}),[e]),n},useTransition:function(){var e=pl(dl)[0];return[El().current,e]},useMutableSource:yl,useOpaqueIdentifier:function(){return pl(dl)[0]},unstable_isNewReconciler:!1},Ml=Nt.ReactCurrentOwner,Fl=!1;function jl(e,t,n,r){t.child=null===e?Is(t,null,n,r):Ns(t,e.child,n,r)}function Vl(e,t,n,r,i){n=n.render;var o=t.ref;return ss(t,i),r=ll(e,t,n,r,o,i),null===e||Fl?(t.flags|=1,jl(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,iu(e,t,i))}function zl(e,t,n,r,i,o){if(null===e){var a=n.type;return"function"!=typeof a||Bc(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Hc(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Bl(e,t,a,r,i,o))}return a=e.child,0==(i&o)&&(n=null!==(n=n.compare)?n:mo)(i=a.memoizedProps,r)&&e.ref===t.ref?iu(e,t,o):(t.flags|=1,(e=Uc(a,r)).ref=t.ref,e.return=t,t.child=e)}function Bl(e,t,n,r,i,o){if(null!==e&&mo(e.memoizedProps,r)&&e.ref===t.ref){if(Fl=!1,0==(o&i))return t.lanes=e.lanes,iu(e,t,o);0!=(16384&e.flags)&&(Fl=!0)}return Gl(e,t,n,r,o)}function Ul(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},bc(0,n);else{if(0==(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},bc(0,e),null;t.memoizedState={baseLanes:0},bc(0,null!==o?o.baseLanes:n)}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,bc(0,r);return jl(e,t,i,n),t.child}function Hl(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Gl(e,t,n,r,i){var o=ba(n)?ga:ma.current;return o=va(t,o),ss(t,i),n=ll(e,t,n,r,o,i),null===e||Fl?(t.flags|=1,jl(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,iu(e,t,i))}function Wl(e,t,n,r,i){if(ba(n)){var o=!0;Sa(t)}else o=!1;if(ss(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),_s(t,n,r),Ss(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=n.contextType;u="object"==typeof u&&null!==u?ls(u):va(t,u=ba(n)?ga:ma.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==u)&&Cs(t,a,r,u),us=!1;var f=t.memoizedState;a.state=f,ms(t,r,a,i),l=t.memoizedState,s!==r||f!==l||ya.current||us?("function"==typeof c&&(vs(t,n,c,r),l=t.memoizedState),(s=us||Es(t,n,s,r,f,l,u))?(d||"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.flags|=4)):("function"==typeof a.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=u,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4),r=!1)}else{a=t.stateNode,ds(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:Ja(t.type,s),a.props=u,d=t.pendingProps,f=a.context,l="object"==typeof(l=n.contextType)&&null!==l?ls(l):va(t,l=ba(n)?ga:ma.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==d||f!==l)&&Cs(t,a,r,l),us=!1,a.state=f=t.memoizedState,ms(t,r,a,i);var h=t.memoizedState;s!==d||f!==h||ya.current||us?("function"==typeof p&&(vs(t,n,p,r),h=t.memoizedState),(u=us||Es(t,n,u,r,f,h,l))?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=l,r=u):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),r=!1)}return $l(e,t,n,r,o,i)}function $l(e,t,n,r,i,o){Hl(e,t);var a=0!=(64&t.flags);if(!r&&!a)return i&&wa(t,n,!1),iu(e,t,o);r=t.stateNode,Ml.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Ns(t,e.child,null,o),t.child=Ns(t,null,s,o)):jl(e,t,s,o),t.memoizedState=r.state,i&&wa(t,n,!0),t.child}function Kl(e){var t=e.stateNode;t.pendingContext?_a(0,t.pendingContext,t.pendingContext!==t.context):t.context&&_a(0,t.context,!1),Ps(e,t.containerInfo)}var Ql,Xl,Zl,Yl={dehydrated:null,retryLane:0};function Jl(e,t,n){var r,i=t.pendingProps,o=js.current,a=!1;return(r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&o)),r?(a=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(o|=1),pa(js,1&o),null===e?(void 0!==i.fallback&&Ws(t),e=i.children,o=i.fallback,a?(e=eu(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Yl,e):"number"==typeof i.unstable_expectedLoadTime?(e=eu(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Yl,t.lanes=33554432,e):((n=Wc({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):a?(i=function(e,t,n,r,i){var o=t.mode,a=e.child;e=a.sibling;var s={mode:"hidden",children:n};return 0==(2&o)&&t.child!==a?((n=t.child).childLanes=0,n.pendingProps=s,null!==(a=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Uc(a,s),null!==e?r=Uc(e,r):(r=Gc(r,o,i,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}(e,t,i.children,i.fallback,n),(a=t.child).memoizedState=null===(o=e.child.memoizedState)?{baseLanes:n}:{baseLanes:o.baseLanes|n},a.childLanes=e.childLanes&~n,t.memoizedState=Yl,i):(n=function(e,t,n,r){var i=e.child;return e=i.sibling,n=Uc(i,{mode:"visible",children:n}),0==(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}(e,t,i.children,n),t.memoizedState=null,n)}function eu(e,t,n,r){var i=e.mode,o=e.child;return t={mode:"hidden",children:t},0==(2&i)&&null!==o?(o.childLanes=0,o.pendingProps=t):o=Wc(t,i,0,null),n=Gc(n,i,r,null),o.return=e,n.return=e,o.sibling=n,e.child=o,n}function tu(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),as(e.return,t)}function nu(e,t,n,r,i,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i,a.lastEffect=o)}function ru(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(jl(e,t,r.children,n),0!=(2&(r=js.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&tu(e,n);else if(19===e.tag)tu(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(pa(js,r),0==(2&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===Vs(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),nu(t,!1,i,n,o,t.lastEffect);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===Vs(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}nu(t,!0,n,null,o,t.lastEffect);break;case"together":nu(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function iu(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Fu|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(pt(153));if(null!==t.child){for(n=Uc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)(n=n.sibling=Uc(e=e.sibling,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function ou(e,t){if(!Us)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 au(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 ba(t.type)&&Ea(),null;case 3:return As(),fa(ya),fa(ma),Zs(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Ks(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Fs(t);var i=qs(Ds.current);if(n=t.type,null!==e&&null!=t.stateNode)Xl(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(pt(166));return null}if(e=qs(Ts.current),Ks(t)){n=t.type;var o=t.memoizedProps;switch((r=t.stateNode)[ea]=t,r[ta]=o,n){case"dialog":ko("cancel",r),ko("close",r);break;case"iframe":case"object":case"embed":ko("load",r);break;case"video":case"audio":for(e=0;e<No.length;e++)ko(No[e],r);break;case"source":ko("error",r);break;case"img":case"image":case"link":ko("error",r),ko("load",r);break;case"details":ko("toggle",r);break;case"input":ln(r,o),ko("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},ko("invalid",r);break;case"textarea":yn(r,o),ko("invalid",r)}for(var a in Tn(n,o),e=null,o)o.hasOwnProperty(a)&&(i=o[a],"children"===a?"string"==typeof i?r.textContent!==i&&(e=["children",i]):"number"==typeof i&&r.textContent!==""+i&&(e=["children",""+i]):mt.hasOwnProperty(a)&&null!=i&&"onScroll"===a&&ko("scroll",r));switch(n){case"input":rn(r),dn(r,o,!0);break;case"textarea":rn(r),vn(r);break;case"select":case"option":break;default:"function"==typeof o.onClick&&(r.onclick=Bo)}t.updateQueue=r=e,null!==r&&(t.flags|=4)}else{switch(a=9===i.nodeType?i:i.ownerDocument,e===bn&&(e=En(n)),e===bn?"script"===n?((e=a.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),"select"===n&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[ea]=t,e[ta]=r,Ql(e,t),t.stateNode=e,a=kn(n,r),n){case"dialog":ko("cancel",e),ko("close",e),i=r;break;case"iframe":case"object":case"embed":ko("load",e),i=r;break;case"video":case"audio":for(i=0;i<No.length;i++)ko(No[i],e);i=r;break;case"source":ko("error",e),i=r;break;case"img":case"image":case"link":ko("error",e),ko("load",e),i=r;break;case"details":ko("toggle",e),i=r;break;case"input":ln(e,r),i=sn(e,r),ko("invalid",e);break;case"option":i=pn(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=dt({},r,{value:void 0}),ko("invalid",e);break;case"textarea":yn(e,r),i=mn(e,r),ko("invalid",e);break;default:i=r}Tn(n,i);var s=i;for(o in s)if(s.hasOwnProperty(o)){var l=s[o];"style"===o?In(e,l):"dangerouslySetInnerHTML"===o?null!=(l=l?l.__html:void 0)&&wn(e,l):"children"===o?"string"==typeof l?("textarea"!==n||""!==l)&&xn(e,l):"number"==typeof l&&xn(e,""+l):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(mt.hasOwnProperty(o)?null!=l&&"onScroll"===o&&ko("scroll",e):null!=l&&Rt(e,o,l,a))}switch(n){case"input":rn(e),dn(e,r,!1);break;case"textarea":rn(e),vn(e);break;case"option":null!=r.value&&e.setAttribute("value",""+tn(r.value));break;case"select":e.multiple=!!r.multiple,null!=(o=r.value)?hn(e,!!r.multiple,o,!1):null!=r.defaultValue&&hn(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Bo)}Go(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Zl(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(pt(166));n=qs(Ds.current),qs(Ts.current),Ks(t)?(n=t.memoizedProps,(r=t.stateNode)[ea]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[ea]=t,t.stateNode=r)}return null;case 13:return fa(js),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Ks(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&js.current)?0===Pu&&(Pu=3):(0!==Pu&&3!==Pu||(Pu=4),null===Lu||0==(134217727&Fu)&&0==(134217727&ju)||mc(Lu,ku))),(r||n)&&(t.flags|=4),null);case 4:return As(),null===e&&qo(t.stateNode.containerInfo),null;case 10:return os(t),null;case 17:return ba(t.type)&&Ea(),null;case 19:if(fa(js),null===(r=t.memoizedState))return null;if(o=0!=(64&t.flags),null===(a=r.rendering))if(o)ou(r,!1);else{if(0!==Pu||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(a=Vs(e))){for(t.flags|=64,ou(r,!1),null!==(o=a.updateQueue)&&(t.updateQueue=o,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(o=n).flags&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,null===(a=o.alternate)?(o.childLanes=0,o.lanes=e,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=a.childLanes,o.lanes=a.lanes,o.child=a.child,o.memoizedProps=a.memoizedProps,o.memoizedState=a.memoizedState,o.updateQueue=a.updateQueue,o.type=a.type,o.dependencies=null===(e=a.dependencies)?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return pa(js,1&js.current|2),t.child}e=e.sibling}null!==r.tail&&Ga()>Uu&&(t.flags|=64,o=!0,ou(r,!1),t.lanes=33554432)}else{if(!o)if(null!==(e=Vs(a))){if(t.flags|=64,o=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),ou(r,!0),null===r.tail&&"hidden"===r.tailMode&&!a.alternate&&!Us)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Ga()-r.renderingStartTime>Uu&&1073741824!==n&&(t.flags|=64,o=!0,ou(r,!1),t.lanes=33554432);r.isBackwards?(a.sibling=t.child,t.child=a):(null!==(n=r.last)?n.sibling=a:t.child=a,r.last=a)}return null!==r.tail?(r.rendering=n=r.tail,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Ga(),n.sibling=null,t=js.current,pa(js,o?1&t|2:1&t),n):null;case 23:case 24:return Ec(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(pt(156,t.tag))}function su(e){switch(e.tag){case 1:ba(e.type)&&Ea();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(As(),fa(ya),fa(ma),Zs(),0!=(64&(t=e.flags)))throw Error(pt(285));return e.flags=-4097&t|64,e;case 5:return Fs(e),null;case 13:return fa(js),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return fa(js),null;case 4:return As(),null;case 10:return os(e),null;case 23:case 24:return Ec(),null;default:return null}}function lu(e,t){try{var n="",r=t;do{n+=Jt(r),r=r.return}while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i}}function uu(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}Ql=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}},Xl=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,qs(Ts.current);var o,a=null;switch(n){case"input":i=sn(e,i),r=sn(e,r),a=[];break;case"option":i=pn(e,i),r=pn(e,r),a=[];break;case"select":i=dt({},i,{value:void 0}),r=dt({},r,{value:void 0}),a=[];break;case"textarea":i=mn(e,i),r=mn(e,r),a=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=Bo)}for(u in Tn(n,r),n=null,i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&null!=i[u])if("style"===u){var s=i[u];for(o in s)s.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(mt.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var l=r[u];if(s=null!=i?i[u]:void 0,r.hasOwnProperty(u)&&l!==s&&(null!=l||null!=s))if("style"===u)if(s){for(o in s)!s.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&s[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(a||(a=[]),a.push(u,n)),n=l;else"dangerouslySetInnerHTML"===u?(s=s?s.__html:void 0,null!=(l=l?l.__html:void 0)&&s!==l&&(a=a||[]).push(u,l)):"children"===u?"string"!=typeof l&&"number"!=typeof l||(a=a||[]).push(u,""+l):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(mt.hasOwnProperty(u)?(null!=l&&"onScroll"===u&&ko("scroll",e),a||s===l||(a=[])):"object"==typeof l&&null!==l&&l.$$typeof===Bt?l.toString():(a=a||[]).push(u,l))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},Zl=function(e,t,n,r){n!==r&&(t.flags|=4)};var cu="function"==typeof WeakMap?WeakMap:Map;function du(e,t,n){(n=fs(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){$u||($u=!0,Ku=r),uu(0,t)},n}function fu(e,t,n){(n=fs(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return uu(0,t),r(i)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Qu?Qu=new Set([this]):Qu.add(this),uu(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var pu="function"==typeof WeakSet?WeakSet:Set;function hu(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Mc(e,t)}else t.current=null}function mu(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Ja(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Qo(t.stateNode.containerInfo));case 5:case 6:case 4:case 17:return}throw Error(pt(163))}function yu(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var i=e;r=i.next,0!=(4&(i=i.tag))&&0!=(1&i)&&(qc(n,e),Dc(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Ja(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&ys(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}ys(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Go(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&&Ir(n)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(pt(163))}function gu(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var i=n.memoizedProps.style;i=null!=i&&i.hasOwnProperty("display")?i.display:null,r.style.display=Nn("display",i)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function vu(e,t){if(Oa&&"function"==typeof Oa.onCommitFiberUnmount)try{Oa.onCommitFiberUnmount(xa,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,i=r.destroy;if(r=r.tag,void 0!==i)if(0!=(4&r))qc(t,n);else{r=t;try{i()}catch(e){Mc(r,e)}}n=n.next}while(n!==e)}break;case 1:if(hu(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Mc(t,e)}break;case 5:hu(t);break;case 4:Cu(e,t)}}function bu(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function Eu(e){return 5===e.tag||3===e.tag||4===e.tag}function _u(e){e:{for(var t=e.return;null!==t;){if(Eu(t))break e;t=t.return}throw Error(pt(160))}var n=t;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(pt(161))}16&n.flags&&(xn(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Eu(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.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?function e(t,n,r){var i=t.tag,o=5===i||6===i;if(o)t=o?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=Bo));else if(4!==i&&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 i=t.tag,o=5===i||6===i;if(o)t=o?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==i&&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 Cu(e,t){for(var n,r,i=t,o=!1;;){if(!o){o=i.return;e:for(;;){if(null===o)throw Error(pt(160));switch(n=o.stateNode,o.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}o=o.return}o=!0}if(5===i.tag||6===i.tag){e:for(var a=e,s=i,l=s;;)if(vu(a,l),null!==l.child&&4!==l.tag)l.child.return=l,l=l.child;else{if(l===s)break e;for(;null===l.sibling;){if(null===l.return||l.return===s)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}r?(s=i.stateNode,8===(a=n).nodeType?a.parentNode.removeChild(s):a.removeChild(s)):n.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){n=i.stateNode.containerInfo,r=!0,i.child.return=i,i=i.child;continue}}else if(vu(e,i),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&&(o=!1)}i.sibling.return=i.return,i=i.sibling}}function Su(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3==(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var i=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[ta]=r,"input"===e&&"radio"===r.type&&null!=r.name&&un(n,r),kn(e,i),t=kn(e,r),i=0;i<o.length;i+=2){var a=o[i],s=o[i+1];"style"===a?In(n,s):"dangerouslySetInnerHTML"===a?wn(n,s):"children"===a?xn(n,s):Rt(n,a,s,t)}switch(e){case"input":cn(n,r);break;case"textarea":gn(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(o=r.value)?hn(n,!!r.multiple,o,!1):e!==!!r.multiple&&(null!=r.defaultValue?hn(n,!!r.multiple,r.defaultValue,!0):hn(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(pt(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,Ir(n.containerInfo)));case 12:return;case 13:return null!==t.memoizedState&&(Bu=Ga(),gu(t.child,!0)),void wu(t);case 19:return void wu(t);case 17:return;case 23:case 24:return void gu(t,null!==t.memoizedState)}throw Error(pt(163))}function wu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new pu),t.forEach((function(t){var r=jc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function xu(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&null!==(t=t.memoizedState)&&null===t.dehydrated}var Ou=Math.ceil,Ru=Nt.ReactCurrentDispatcher,Nu=Nt.ReactCurrentOwner,Iu=0,Lu=null,Tu=null,ku=0,Du=0,qu=da(0),Pu=0,Au=null,Mu=0,Fu=0,ju=0,Vu=0,zu=null,Bu=0,Uu=1/0;function Hu(){Uu=Ga()+500}var Gu,Wu=null,$u=!1,Ku=null,Qu=null,Xu=!1,Zu=null,Yu=90,Ju=[],ec=[],tc=null,nc=0,rc=null,ic=-1,oc=0,ac=0,sc=null,lc=!1;function uc(){return 0!=(48&Iu)?Ga():-1!==ic?ic:ic=Ga()}function cc(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Wa()?1:2;if(0===oc&&(oc=Mu),0!==Ya.transition){0!==ac&&(ac=null!==zu?zu.pendingLanes:0),e=oc;var t=4186112&~ac;return 0==(t&=-t)&&0==(t=(e=4186112&~e)&-e)&&(t=8192),t}return e=Wa(),function e(t,n){switch(t){case 15:return 1;case 14:return 2;case 12:return 0===(t=$r(24&~n))?e(10,n):t;case 10:return 0===(t=$r(192&~n))?e(8,n):t;case 8:return 0===(t=$r(3584&~n))&&0===(t=$r(4186112&~n))&&(t=512),t;case 2:return 0===(n=$r(805306368&~n))&&(n=268435456),n}throw Error(pt(358,t))}(0!=(4&Iu)&&98===e?12:e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),oc)}function dc(e,t,n){if(50<nc)throw nc=0,rc=null,Error(pt(185));if(null===(e=fc(e,t)))return null;Qr(e,t,n),e===Lu&&(ju|=t,4===Pu&&mc(e,ku));var r=Wa();1===t?0!=(8&Iu)&&0==(48&Iu)?yc(e):(pc(e,n),0===Iu&&(Hu(),Xa())):(0==(4&Iu)||98!==r&&99!==r||(null===tc?tc=new Set([e]):tc.add(e)),pc(e,n)),zu=e}function fc(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function pc(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var s=31-Xr(a),l=1<<s,u=o[s];-1===u?0!=(l&r)&&0==(l&i)||(u=t,Hr(l),o[s]=10<=Ur?u+250:6<=Ur?u+5e3:-1):u<=t&&(e.expiredLanes|=l),a&=~l}if(r=Gr(e,e===Lu?ku:0),t=Ur,0===r)null!==n&&(n!==ja&&Ia(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==ja&&Ia(n)}15===t?(n=yc.bind(null,e),null===za?(za=[n],Ba=Na(qa,Za)):za.push(n),n=ja):n=14===t?Qa(99,yc.bind(null,e)):Qa(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(pt(358,e))}}(t),hc.bind(null,e)),e.callbackPriority=t,e.callbackNode=n}}function hc(e){if(ic=-1,ac=oc=0,0!=(48&Iu))throw Error(pt(327));var t=e.callbackNode;if(kc()&&e.callbackNode!==t)return null;var n=Gr(e,e===Lu?ku:0);if(0===n)return null;var r=n,i=Iu;Iu|=16;var o=Sc();for(Lu===e&&ku===r||(Hu(),_c(e,r));;)try{Oc();break}catch(t){Cc(e,t)}if(is(),Ru.current=o,Iu=i,null!==Tu?r=0:(Lu=null,ku=0,r=Pu),0!=(Mu&ju))_c(e,0);else if(0!==r){if(2===r&&(Iu|=64,e.hydrate&&(e.hydrate=!1,Qo(e.containerInfo)),0!==(n=Wr(e))&&(r=wc(e,n))),1===r)throw t=Au,_c(e,0),mc(e,n),pc(e,Ga()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(pt(345));case 2:Ic(e);break;case 3:if(mc(e,n),(62914560&n)===n&&10<(r=Bu+500-Ga())){if(0!==Gr(e,0))break;if(((i=e.suspendedLanes)&n)!==n){uc(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=$o(Ic.bind(null,e),r);break}Ic(e);break;case 4:if(mc(e,n),(4186112&n)===n)break;for(r=e.eventTimes,i=-1;0<n;){var a=31-Xr(n);o=1<<a,(a=r[a])>i&&(i=a),n&=~o}if(n=i,10<(n=(120>(n=Ga()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Ou(n/1960))-n)){e.timeoutHandle=$o(Ic.bind(null,e),n);break}Ic(e);break;case 5:Ic(e);break;default:throw Error(pt(329))}}return pc(e,Ga()),e.callbackNode===t?hc.bind(null,e):null}function mc(e,t){for(t&=~Vu,e.suspendedLanes|=t&=~ju,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Xr(t),r=1<<n;e[n]=-1,t&=~r}}function yc(e){if(0!=(48&Iu))throw Error(pt(327));if(kc(),e===Lu&&0!=(e.expiredLanes&ku)){var t=ku,n=wc(e,t);0!=(Mu&ju)&&(n=wc(e,t=Gr(e,t)))}else n=wc(e,t=Gr(e,0));if(0!==e.tag&&2===n&&(Iu|=64,e.hydrate&&(e.hydrate=!1,Qo(e.containerInfo)),0!==(t=Wr(e))&&(n=wc(e,t))),1===n)throw n=Au,_c(e,0),mc(e,t),pc(e,Ga()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ic(e),pc(e,Ga()),null}function gc(e,t){var n=Iu;Iu|=1;try{return e(t)}finally{0===(Iu=n)&&(Hu(),Xa())}}function vc(e,t){var n=Iu;Iu&=-2,Iu|=8;try{return e(t)}finally{0===(Iu=n)&&(Hu(),Xa())}}function bc(e,t){pa(qu,Du),Du|=t,Mu|=t}function Ec(){Du=qu.current,fa(qu)}function _c(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Ko(n)),null!==Tu)for(n=Tu.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ea();break;case 3:As(),fa(ya),fa(ma),Zs();break;case 5:Fs(r);break;case 4:As();break;case 13:case 19:fa(js);break;case 10:os(r);break;case 23:case 24:Ec()}n=n.return}Lu=e,Tu=Uc(e.current,null),ku=Du=Mu=t,Pu=0,Au=null,Vu=ju=Fu=0}function Cc(e,t){for(;;){var n=Tu;try{if(is(),Ys.current=Dl,il){for(var r=tl.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}il=!1}if(el=0,rl=nl=tl=null,ol=!1,Nu.current=null,null===n||null===n.return){Pu=1,Au=t,Tu=null;break}e:{var o=e,a=n.return,s=n,l=t;if(t=ku,s.flags|=2048,s.firstEffect=s.lastEffect=null,null!==l&&"object"==typeof l&&"function"==typeof l.then){var u=l;if(0==(2&s.mode)){var c=s.alternate;c?(s.updateQueue=c.updateQueue,s.memoizedState=c.memoizedState,s.lanes=c.lanes):(s.updateQueue=null,s.memoizedState=null)}var d=0!=(1&js.current),f=a;do{var p;if(p=13===f.tag){var h=f.memoizedState;if(null!==h)p=null!==h.dehydrated;else{var m=f.memoizedProps;p=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!d)}}if(p){var y=f.updateQueue;if(null===y){var g=new Set;g.add(u),f.updateQueue=g}else y.add(u);if(0==(2&f.mode)){if(f.flags|=64,s.flags|=16384,s.flags&=-2981,1===s.tag)if(null===s.alternate)s.tag=17;else{var v=fs(-1,1);v.tag=2,ps(s,v)}s.lanes|=1;break e}l=void 0,s=t;var b=o.pingCache;if(null===b?(b=o.pingCache=new cu,l=new Set,b.set(u,l)):void 0===(l=b.get(u))&&(l=new Set,b.set(u,l)),!l.has(s)){l.add(s);var E=Fc.bind(null,o,u,s);u.then(E,E)}f.flags|=4096,f.lanes=t;break e}f=f.return}while(null!==f);l=Error((en(s.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.")}5!==Pu&&(Pu=2),l=lu(l,s),f=a;do{switch(f.tag){case 3:o=l,f.flags|=4096,f.lanes|=t&=-t,hs(f,du(0,o,t));break e;case 1:o=l;var _=f.stateNode;if(0==(64&f.flags)&&("function"==typeof f.type.getDerivedStateFromError||null!==_&&"function"==typeof _.componentDidCatch&&(null===Qu||!Qu.has(_)))){f.flags|=4096,f.lanes|=t&=-t,hs(f,fu(f,o,t));break e}}f=f.return}while(null!==f)}Nc(n)}catch(e){t=e,Tu===n&&null!==n&&(Tu=n=n.return);continue}break}}function Sc(){var e=Ru.current;return Ru.current=Dl,null===e?Dl:e}function wc(e,t){var n=Iu;Iu|=16;var r=Sc();for(Lu===e&&ku===t||_c(e,t);;)try{xc();break}catch(t){Cc(e,t)}if(is(),Iu=n,Ru.current=r,null!==Tu)throw Error(pt(261));return Lu=null,ku=0,Pu}function xc(){for(;null!==Tu;)Rc(Tu)}function Oc(){for(;null!==Tu&&!La();)Rc(Tu)}function Rc(e){var t=Gu(e.alternate,e,Du);e.memoizedProps=e.pendingProps,null===t?Nc(e):Tu=t,Nu.current=null}function Nc(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=au(n,t,Du)))return void(Tu=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&Du)||0==(4&n.mode)){for(var r=0,i=n.child;null!==i;)r|=i.lanes|i.childLanes,i=i.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=su(t)))return n.flags&=2047,void(Tu=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Tu=t);Tu=t=e}while(null!==t);0===Pu&&(Pu=5)}function Ic(e){var t=Wa();return Ka(99,Lc.bind(null,e,t)),null}function Lc(e,t){do{kc()}while(null!==Zu);if(0!=(48&Iu))throw Error(pt(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(pt(177));e.callbackNode=null;var r=n.lanes|n.childLanes,i=r,o=e.pendingLanes&~i;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=i,e.mutableReadLanes&=i,e.entangledLanes&=i,i=e.entanglements;for(var a=e.eventTimes,s=e.expirationTimes;0<o;){var l=31-Xr(o),u=1<<l;i[l]=0,a[l]=-1,s[l]=-1,o&=~u}if(null!==tc&&0==(24&r)&&tc.has(e)&&tc.delete(e),e===Lu&&(Tu=Lu=null,ku=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(i=Iu,Iu|=32,Nu.current=null,Uo=ti,bo(a=vo())){if("selectionStart"in a)s={start:a.selectionStart,end:a.selectionEnd};else if((u=(s=(s=a.ownerDocument)&&s.defaultView||window).getSelection&&s.getSelection())&&0!==u.rangeCount){s=u.anchorNode,o=u.anchorOffset,l=u.focusNode,u=u.focusOffset;var c=0,d=-1,f=-1,p=0,h=0,m=a,y=null;e:for(;;){for(var g;m!==s||0!==o&&3!==m.nodeType||(d=c+o),m!==l||0!==u&&3!==m.nodeType||(f=c+u),3===m.nodeType&&(c+=m.nodeValue.length),null!==(g=m.firstChild);)y=m,m=g;for(;;){if(m===a)break e;if(y===s&&++p===o&&(d=c),y===l&&++h===u&&(f=c),null!==(g=m.nextSibling))break;y=(m=y).parentNode}m=g}s=-1===d||-1===f?null:{start:d,end:f}}else s=null;s=s||{start:0,end:0}}else s=null;Ho={focusedElem:a,selectionRange:s},ti=!1,sc=null,lc=!1,Wu=r;do{try{Tc()}catch(e){if(null===Wu)throw Error(pt(330));Mc(Wu,e),Wu=Wu.nextEffect}}while(null!==Wu);sc=null,Wu=r;do{try{for(a=e;null!==Wu;){var v=Wu.flags;if(16&v&&xn(Wu.stateNode,""),128&v){var b=Wu.alternate;if(null!==b){var E=b.ref;null!==E&&("function"==typeof E?E(null):E.current=null)}}switch(1038&v){case 2:_u(Wu),Wu.flags&=-3;break;case 6:_u(Wu),Wu.flags&=-3,Su(Wu.alternate,Wu);break;case 1024:Wu.flags&=-1025;break;case 1028:Wu.flags&=-1025,Su(Wu.alternate,Wu);break;case 4:Su(Wu.alternate,Wu);break;case 8:Cu(a,s=Wu);var _=s.alternate;bu(s),null!==_&&bu(_)}Wu=Wu.nextEffect}}catch(e){if(null===Wu)throw Error(pt(330));Mc(Wu,e),Wu=Wu.nextEffect}}while(null!==Wu);if(E=Ho,b=vo(),a=E.selectionRange,b!==(v=E.focusedElem)&&v&&v.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))))}(v.ownerDocument.documentElement,v)){null!==a&&bo(v)&&(b=a.start,void 0===(E=a.end)&&(E=b),"selectionStart"in v?(v.selectionStart=b,v.selectionEnd=Math.min(E,v.value.length)):(E=(b=v.ownerDocument||document)&&b.defaultView||window).getSelection&&(E=E.getSelection(),s=v.textContent.length,_=Math.min(a.start,s),a=void 0===a.end?_:Math.min(a.end,s),!E.extend&&_>a&&(s=a,a=_,_=s),s=go(v,_),o=go(v,a),s&&o&&(1!==E.rangeCount||E.anchorNode!==s.node||E.anchorOffset!==s.offset||E.focusNode!==o.node||E.focusOffset!==o.offset)&&((b=b.createRange()).setStart(s.node,s.offset),E.removeAllRanges(),_>a?(E.addRange(b),E.extend(o.node,o.offset)):(b.setEnd(o.node,o.offset),E.addRange(b))))),b=[];for(E=v;E=E.parentNode;)1===E.nodeType&&b.push({element:E,left:E.scrollLeft,top:E.scrollTop});for("function"==typeof v.focus&&v.focus(),v=0;v<b.length;v++)(E=b[v]).element.scrollLeft=E.left,E.element.scrollTop=E.top}ti=!!Uo,Ho=Uo=null,e.current=n,Wu=r;do{try{for(v=e;null!==Wu;){var C=Wu.flags;if(36&C&&yu(v,Wu.alternate,Wu),128&C){b=void 0;var S=Wu.ref;if(null!==S){var w=Wu.stateNode;switch(Wu.tag){case 5:b=w;break;default:b=w}"function"==typeof S?S(b):S.current=b}}Wu=Wu.nextEffect}}catch(e){if(null===Wu)throw Error(pt(330));Mc(Wu,e),Wu=Wu.nextEffect}}while(null!==Wu);Wu=null,Va(),Iu=i}else e.current=n;if(Xu)Xu=!1,Zu=e,Yu=t;else for(Wu=r;null!==Wu;)t=Wu.nextEffect,Wu.nextEffect=null,8&Wu.flags&&((C=Wu).sibling=null,C.stateNode=null),Wu=t;if(0===(r=e.pendingLanes)&&(Qu=null),1===r?e===rc?nc++:(nc=0,rc=e):nc=0,n=n.stateNode,Oa&&"function"==typeof Oa.onCommitFiberRoot)try{Oa.onCommitFiberRoot(xa,n,void 0,64==(64&n.current.flags))}catch(e){}if(pc(e,Ga()),$u)throw $u=!1,e=Ku,Ku=null,e;return 0!=(8&Iu)||Xa(),null}function Tc(){for(;null!==Wu;){var e=Wu.alternate;lc||null===sc||(0!=(8&Wu.flags)?sr(Wu,sc)&&(lc=!0):13===Wu.tag&&xu(e,Wu)&&sr(Wu,sc)&&(lc=!0));var t=Wu.flags;0!=(256&t)&&mu(e,Wu),0==(512&t)||Xu||(Xu=!0,Qa(97,(function(){return kc(),null}))),Wu=Wu.nextEffect}}function kc(){if(90!==Yu){var e=97<Yu?97:Yu;return Yu=90,Ka(e,Pc)}return!1}function Dc(e,t){Ju.push(t,e),Xu||(Xu=!0,Qa(97,(function(){return kc(),null})))}function qc(e,t){ec.push(t,e),Xu||(Xu=!0,Qa(97,(function(){return kc(),null})))}function Pc(){if(null===Zu)return!1;var e=Zu;if(Zu=null,0!=(48&Iu))throw Error(pt(331));var t=Iu;Iu|=32;var n=ec;ec=[];for(var r=0;r<n.length;r+=2){var i=n[r],o=n[r+1],a=i.destroy;if(i.destroy=void 0,"function"==typeof a)try{a()}catch(e){if(null===o)throw Error(pt(330));Mc(o,e)}}for(n=Ju,Ju=[],r=0;r<n.length;r+=2){i=n[r],o=n[r+1];try{var s=i.create;i.destroy=s()}catch(e){if(null===o)throw Error(pt(330));Mc(o,e)}}for(s=e.current.firstEffect;null!==s;)e=s.nextEffect,s.nextEffect=null,8&s.flags&&(s.sibling=null,s.stateNode=null),s=e;return Iu=t,Xa(),!0}function Ac(e,t,n){ps(e,t=du(0,t=lu(n,t),1)),t=uc(),null!==(e=fc(e,1))&&(Qr(e,1,t),pc(e,t))}function Mc(e,t){if(3===e.tag)Ac(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Ac(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Qu||!Qu.has(r))){var i=fu(n,e=lu(t,e),1);if(ps(n,i),i=uc(),null!==(n=fc(n,1)))Qr(n,1,i),pc(n,i);else if("function"==typeof r.componentDidCatch&&(null===Qu||!Qu.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function Fc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=uc(),e.pingedLanes|=e.suspendedLanes&n,Lu===e&&(ku&n)===n&&(4===Pu||3===Pu&&(62914560&ku)===ku&&500>Ga()-Bu?_c(e,0):Vu|=n),pc(e,t)}function jc(e,t){var n=e.stateNode;null!==n&&n.delete(t),0==(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===Wa()?1:2:(0===oc&&(oc=Mu),0===(t=$r(62914560&~oc))&&(t=4194304))),n=uc(),null!==(e=fc(e,t))&&(Qr(e,t,n),pc(e,n))}function Vc(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.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function zc(e,t,n,r){return new Vc(e,t,n,r)}function Bc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Uc(e,t){var n=e.alternate;return null===n?((n=zc(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.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.dependencies=null===(t=e.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Hc(e,t,n,r,i,o){var a=2;if(r=e,"function"==typeof e)Bc(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case Tt:return Gc(n.children,i,o,t);case Ut:a=8,i|=16;break;case kt:a=8,i|=1;break;case Dt:return(e=zc(12,n,t,8|i)).elementType=Dt,e.type=Dt,e.lanes=o,e;case Mt:return(e=zc(13,n,t,i)).type=Mt,e.elementType=Mt,e.lanes=o,e;case Ft:return(e=zc(19,n,t,i)).elementType=Ft,e.lanes=o,e;case Ht:return Wc(n,i,o,t);case Gt:return(e=zc(24,n,t,i)).elementType=Gt,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case qt:a=10;break e;case Pt:a=9;break e;case At:a=11;break e;case jt:a=14;break e;case Vt:a=16,r=null;break e;case zt:a=22;break e}throw Error(pt(130,null==e?e:typeof e,""))}return(t=zc(a,n,t,i)).elementType=e,t.type=r,t.lanes=o,t}function Gc(e,t,n,r){return(e=zc(7,e,r,t)).lanes=n,e}function Wc(e,t,n,r){return(e=zc(23,e,r,t)).elementType=Ht,e.lanes=n,e}function $c(e,t,n){return(e=zc(6,e,null,t)).lanes=n,e}function Kc(e,t,n){return(t=zc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Qc(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Kr(0),this.expirationTimes=Kr(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Kr(0),this.mutableSourceEagerHydrationData=null}function Xc(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Lt,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Zc(e,t,n,r){var i=t.current,o=uc(),a=cc(i);e:if(n){t:{if(rr(n=n._reactInternals)!==n||1!==n.tag)throw Error(pt(170));var s=n;do{switch(s.tag){case 3:s=s.stateNode.context;break t;case 1:if(ba(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break t}}s=s.return}while(null!==s);throw Error(pt(171))}if(1===n.tag){var l=n.type;if(ba(l)){n=Ca(n,l,s);break e}}n=s}else n=ha;return null===t.context?t.context=n:t.pendingContext=n,(t=fs(o,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),ps(i,t),dc(i,a,o),a}function Yc(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Jc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function ed(e,t){Jc(e,t),(e=e.alternate)&&Jc(e,t)}function td(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Qc(e,t,null!=n&&!0===n.hydrate),t=zc(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,cs(t),e[na]=n.current,qo(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var i=(t=r[e])._getVersion;i=i(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,i]:n.mutableSourceEagerHydrationData.push(t,i)}this._internalRoot=n}function nd(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function rd(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o._internalRoot;if("function"==typeof i){var s=i;i=function(){var e=Yc(a);s.call(e)}}Zc(t,a,e,i)}else{if(o=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 td(e,0,t?{hydrate:!0}:void 0)}(n,r),a=o._internalRoot,"function"==typeof i){var l=i;i=function(){var e=Yc(a);l.call(e)}}vc((function(){Zc(t,a,e,i)}))}return Yc(a)}function id(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!nd(t))throw Error(pt(200));return Xc(e,t,null,n)}Gu=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||ya.current)Fl=!0;else{if(0==(n&r)){switch(Fl=!1,t.tag){case 3:Kl(t),Qs();break;case 5:Ms(t);break;case 1:ba(t.type)&&Sa(t);break;case 4:Ps(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var i=t.type._context;pa(es,i._currentValue),i._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?Jl(e,t,n):(pa(js,1&js.current),null!==(t=iu(e,t,n))?t.sibling:null);pa(js,1&js.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return ru(e,t,n);t.flags|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),pa(js,js.current),r)break;return null;case 23:case 24:return t.lanes=0,Ul(e,t,n)}return iu(e,t,n)}Fl=0!=(16384&e.flags)}else Fl=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=va(t,ma.current),ss(t,n),i=ll(null,t,r,e,i,n),t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,ba(r)){var o=!0;Sa(t)}else o=!1;t.memoizedState=null!=i.state?i.state:null,cs(t);var a=r.getDerivedStateFromProps;"function"==typeof a&&vs(t,r,a,e),i.updater=bs,t.stateNode=i,i._reactInternals=t,Ss(t,r,e,n),t=$l(null,t,r,!0,o,n)}else t.tag=0,jl(null,t,i,n),t=t.child;return t;case 16:i=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=(o=i._init)(i._payload),t.type=i,o=t.tag=function(e){if("function"==typeof e)return Bc(e)?1:0;if(null!=e){if((e=e.$$typeof)===At)return 11;if(e===jt)return 14}return 2}(i),e=Ja(i,e),o){case 0:t=Gl(null,t,i,e,n);break e;case 1:t=Wl(null,t,i,e,n);break e;case 11:t=Vl(null,t,i,e,n);break e;case 14:t=zl(null,t,i,Ja(i.type,e),r,n);break e}throw Error(pt(306,i,""))}return t;case 0:return i=t.pendingProps,Gl(e,t,r=t.type,i=t.elementType===r?i:Ja(r,i),n);case 1:return i=t.pendingProps,Wl(e,t,r=t.type,i=t.elementType===r?i:Ja(r,i),n);case 3:if(Kl(t),r=t.updateQueue,null===e||null===r)throw Error(pt(282));if(r=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,ds(e,t),ms(t,r,null,n),(r=t.memoizedState.element)===i)Qs(),t=iu(e,t,n);else{if((o=(i=t.stateNode).hydrate)&&(Bs=Xo(t.stateNode.containerInfo.firstChild),zs=t,o=Us=!0),o){if(null!=(e=i.mutableSourceEagerHydrationData))for(i=0;i<e.length;i+=2)(o=e[i])._workInProgressVersionPrimary=e[i+1],Xs.push(o);for(n=Is(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else jl(e,t,r,n),Qs();t=t.child}return t;case 5:return Ms(t),null===e&&Ws(t),o=null!==e?e.memoizedProps:null,a=(i=t.pendingProps).children,Wo(r=t.type,i)?a=null:null!==o&&Wo(r,o)&&(t.flags|=16),Hl(e,t),jl(e,t,a,n),t.child;case 6:return null===e&&Ws(t),null;case 13:return Jl(e,t,n);case 4:return Ps(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ns(t,null,r,n):jl(e,t,r,n),t.child;case 11:return i=t.pendingProps,Vl(e,t,r=t.type,i=t.elementType===r?i:Ja(r,i),n);case 7:return jl(e,t,t.pendingProps,n),t.child;case 8:case 12:return jl(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,a=t.memoizedProps,o=(i=t.pendingProps).value;var s=t.type._context;if(pa(es,s._currentValue),s._currentValue=o,null!==a)if(0==(o=po(s=a.value,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(s,o):1073741823))){if(a.children===i.children&&!ya.current){t=iu(e,t,n);break e}}else for(null!==(s=t.child)&&(s.return=t);null!==s;){var l=s.dependencies;if(null!==l){a=s.child;for(var u=l.firstContext;null!==u;){if(u.context===r&&0!=(u.observedBits&o)){1===s.tag&&((u=fs(-1,n&-n)).tag=2,ps(s,u)),s.lanes|=n,null!==(u=s.alternate)&&(u.lanes|=n),as(s.return,n),l.lanes|=n;break}u=u.next}}else a=10===s.tag&&s.type===t.type?null:s.child;if(null!==a)a.return=s;else for(a=s;null!==a;){if(a===t){a=null;break}if(null!==(s=a.sibling)){s.return=a.return,a=s;break}a=a.return}s=a}jl(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(o=t.pendingProps).children,ss(t,n),r=r(i=ls(i,o.unstable_observedBits)),t.flags|=1,jl(e,t,r,n),t.child;case 14:return o=Ja(i=t.type,t.pendingProps),zl(e,t,i,o=Ja(i.type,o),r,n);case 15:return Bl(e,t,t.type,t.pendingProps,r,n);case 17:return i=t.pendingProps,i=t.elementType===(r=t.type)?i:Ja(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,ba(r)?(e=!0,Sa(t)):e=!1,ss(t,n),_s(t,r,i),Ss(t,r,i,n),$l(null,t,r,!0,e,n);case 19:return ru(e,t,n);case 23:case 24:return Ul(e,t,n)}throw Error(pt(156,t.tag))},td.prototype.render=function(e){Zc(e,this._internalRoot,null,null)},td.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Zc(null,e,null,(function(){t[na]=null}))},lr=function(e){13===e.tag&&(dc(e,4,uc()),ed(e,4))},ur=function(e){13===e.tag&&(dc(e,67108864,uc()),ed(e,67108864))},cr=function(e){if(13===e.tag){var t=uc(),n=cc(e);dc(e,n,t),ed(e,n)}},dr=function(e,t){return t()},qn=function(e,t,n){switch(t){case"input":if(cn(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 i=sa(r);if(!i)throw Error(pt(90));on(r),cn(r,i)}}}break;case"textarea":gn(e,n);break;case"select":null!=(t=n.value)&&hn(e,!!n.multiple,t,!1)}},Vn=gc,zn=function(e,t,n,r,i){var o=Iu;Iu|=4;try{return Ka(98,e.bind(null,t,n,r,i))}finally{0===(Iu=o)&&(Hu(),Xa())}},Bn=function(){0==(49&Iu)&&(function(){if(null!==tc){var e=tc;tc=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,pc(e,Ga())}))}Xa()}(),kc())},Un=function(e,t){var n=Iu;Iu|=2;try{return e(t)}finally{0===(Iu=n)&&(Hu(),Xa())}};var od={Events:[oa,aa,sa,Fn,jn,kc,{current:!1}]},ad={findFiberByHostInstance:ia,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},sd={bundleType:ad.bundleType,version:ad.version,rendererPackageName:ad.rendererPackageName,rendererConfig:ad.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Nt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=ar(e))?null:e.stateNode},findFiberByHostInstance:ad.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ld=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ld.isDisabled&&ld.supportsFiber)try{xa=ld.inject(sd),Oa=ld}catch(Sn){}}st.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=od,st.createPortal=id,st.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(pt(188));throw Error(pt(268,Object.keys(e)))}return null===(e=ar(t))?null:e.stateNode},st.flushSync=function(e,t){var n=Iu;if(0!=(48&n))return e(t);Iu|=1;try{if(e)return Ka(99,e.bind(null,t))}finally{Iu=n,Xa()}},st.hydrate=function(e,t,n){if(!nd(t))throw Error(pt(200));return rd(null,e,t,!0,n)},st.render=function(e,t,n){if(!nd(t))throw Error(pt(200));return rd(null,e,t,!1,n)},st.unmountComponentAtNode=function(e){if(!nd(e))throw Error(pt(40));return!!e._reactRootContainer&&(vc((function(){rd(null,null,e,!1,(function(){e._reactRootContainer=null,e[na]=null}))})),!0)},st.unstable_batchedUpdates=gc,st.unstable_createPortal=function(e,t){return id(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},st.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!nd(n))throw Error(pt(200));if(null==e||void 0===e._reactInternals)throw Error(pt(38));return rd(e,t,n,!1,r)},st.version="17.0.2",function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),at.exports=st;var ud=at.exports;function cd(){return(cd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function dd(e){return(dd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function fd(e){return(fd="function"==typeof Symbol&&"symbol"===dd(Symbol.iterator)?function(e){return dd(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":dd(e)})(e)}function pd(e){return e&&"object"===fd(e)&&e.constructor===Object}function hd(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},r=n.clone?cd({},e):e;return pd(e)&&pd(t)&&Object.keys(t).forEach((function(i){"__proto__"!==i&&(r[i]=pd(t[i])&&i in e?hd(e[i],t[i],n):t[i])})),r}function md(){}function yd(){}function gd(e){for(var t="https://material-ui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}yd.resetWarningCache=md,function(){function e(e,t,n,r,i,o){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==o){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:yd,resetWarningCache:md};n.PropTypes=n}();var vd={exports:{}},bd={},Ed=60103,_d=60106,Cd=60107,Sd=60108,wd=60114,xd=60109,Od=60110,Rd=60112,Nd=60113,Id=60120,Ld=60115,Td=60116,kd=60121,Dd=60122,qd=60117,Pd=60129,Ad=60131;if("function"==typeof Symbol&&Symbol.for){var Md=Symbol.for;Ed=Md("react.element"),_d=Md("react.portal"),Cd=Md("react.fragment"),Sd=Md("react.strict_mode"),wd=Md("react.profiler"),xd=Md("react.provider"),Od=Md("react.context"),Rd=Md("react.forward_ref"),Nd=Md("react.suspense"),Id=Md("react.suspense_list"),Ld=Md("react.memo"),Td=Md("react.lazy"),kd=Md("react.block"),Dd=Md("react.server.block"),qd=Md("react.fundamental"),Pd=Md("react.debug_trace_mode"),Ad=Md("react.legacy_hidden")}function Fd(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Ed:switch(e=e.type){case Cd:case wd:case Sd:case Nd:case Id:return e;default:switch(e=e&&e.$$typeof){case Od:case Rd:case Td:case Ld:case xd:return e;default:return t}}case _d:return t}}}var jd=xd,Vd=Ed,zd=Rd,Bd=Cd,Ud=Td,Hd=Ld,Gd=_d,Wd=wd,$d=Sd,Kd=Nd;bd.ContextConsumer=Od,bd.ContextProvider=jd,bd.Element=Vd,bd.ForwardRef=zd,bd.Fragment=Bd,bd.Lazy=Ud,bd.Memo=Hd,bd.Portal=Gd,bd.Profiler=Wd,bd.StrictMode=$d,bd.Suspense=Kd,bd.isAsyncMode=function(){return!1},bd.isConcurrentMode=function(){return!1},bd.isContextConsumer=function(e){return Fd(e)===Od},bd.isContextProvider=function(e){return Fd(e)===xd},bd.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Ed},bd.isForwardRef=function(e){return Fd(e)===Rd},bd.isFragment=function(e){return Fd(e)===Cd},bd.isLazy=function(e){return Fd(e)===Td},bd.isMemo=function(e){return Fd(e)===Ld},bd.isPortal=function(e){return Fd(e)===_d},bd.isProfiler=function(e){return Fd(e)===wd},bd.isStrictMode=function(e){return Fd(e)===Sd},bd.isSuspense=function(e){return Fd(e)===Nd},bd.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Cd||e===wd||e===Pd||e===Sd||e===Nd||e===Id||e===Ad||"object"==typeof e&&null!==e&&(e.$$typeof===Td||e.$$typeof===Ld||e.$$typeof===xd||e.$$typeof===Od||e.$$typeof===Rd||e.$$typeof===qd||e.$$typeof===kd||e[0]===Dd)},bd.typeOf=Fd,vd.exports=bd;var Qd="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",Xd=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function Zd(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,r=e.productionPrefix,i=void 0===r?"jss":r,o=e.seed,a=void 0===o?"":o,s=""===a?"":"".concat(a,"-"),l=0,u=function(){return l+=1};return function(e,t){var r=t.options.name;if(r&&0===r.indexOf("Mui")&&!t.options.link&&!n){if(-1!==Xd.indexOf(e.key))return"Mui-".concat(e.key);var o="".concat(s).concat(r,"-").concat(e.key);return t.options.theme[Qd]&&""===a?"".concat(o,"-").concat(u()):o}return"".concat(s).concat(i).concat(u())}}function Yd(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var i,o=t.props[n];for(i in o)void 0===r[i]&&(r[i]=o[i]);return r}function Jd(){return(Jd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var ef="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},tf="object"===("undefined"==typeof window?"undefined":ef(window))&&"object"===("undefined"==typeof document?"undefined":ef(document))&&9===document.nodeType;function nf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function rf(e,t,n){return t&&nf(e.prototype,t),n&&nf(e,n),e}function of(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function af(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var sf={}.constructor;function lf(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(lf);if(e.constructor!==sf)return e;var t={};for(var n in e)t[n]=lf(e[n]);return t}function uf(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,i=lf(t);return r.plugins.onCreateRule(e,i,n)||null}var cf=function(e,t){for(var n="",r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=t),n+=e[r];return n},df=function(e,t){if(void 0===t&&(t=!1),!Array.isArray(e))return e;var n="";if(Array.isArray(e[0]))for(var r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=", "),n+=cf(e[r]," ");else n=cf(e,", ");return t||"!important"!==e[e.length-1]||(n+=" !important"),n};function ff(e,t){for(var n="",r=0;r<t;r++)n+=" ";return n+e}function pf(e,t,n){void 0===n&&(n={});var r="";if(!t)return r;var i=n.indent,o=void 0===i?0:i,a=t.fallbacks;if(e&&o++,a)if(Array.isArray(a))for(var s=0;s<a.length;s++){var l=a[s];for(var u in l){var c=l[u];null!=c&&(r&&(r+="\n"),r+=""+ff(u+": "+df(c)+";",o))}}else for(var d in a){var f=a[d];null!=f&&(r&&(r+="\n"),r+=""+ff(d+": "+df(f)+";",o))}for(var p in t){var h=t[p];null!=h&&"fallbacks"!==p&&(r&&(r+="\n"),r+=""+ff(p+": "+df(h)+";",o))}return(r||n.allowEmpty)&&e?(r&&(r="\n"+r+"\n"),ff(e+" {"+r,--o)+ff("}",o)):r}var hf=/([[\].#*$><+~=|^:(),"'`\s])/g,mf="undefined"!=typeof CSS&&CSS.escape,yf=function(e){return mf?mf(e):e.replace(hf,"\\$1")},gf=function(){function e(e,t,n){this.type="style",this.key=void 0,this.isProcessed=!1,this.style=void 0,this.renderer=void 0,this.renderable=void 0,this.options=void 0;var r=n.sheet,i=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:i&&(this.renderer=new i)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var i=t;n&&!1===n.process||(i=this.options.jss.plugins.onChangeValue(t,e,this));var o=null==i||!1===i,a=e in this.style;if(o&&!a&&!r)return this;var s=o&&a;return s?delete this.style[e]:this.style[e]=i,this.renderable&&this.renderer?(s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,i),this):this},e}(),vf=function(e){function t(t,n,r){var i;(i=e.call(this,t,n,r)||this).selectorText=void 0,i.id=void 0,i.renderable=void 0;var o=r.selector,a=r.scoped,s=r.sheet,l=r.generateId;return o?i.selectorText=o:!1!==a&&(i.id=l(af(af(i)),s),i.selectorText="."+yf(i.id)),i}of(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!=typeof n?e[t]=n:Array.isArray(n)&&(e[t]=df(n))}return e},n.toString=function(e){var t=this.options.sheet,n=t&&t.options.link?Jd({},e,{allowEmpty:!0}):e;return pf(this.selectorText,this.style,n)},rf(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;n&&t&&(t.setSelector(n,e)||t.replaceRule(n,this))}},get:function(){return this.selectorText}}]),t}(gf),bf={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new vf(e,t,n)}},Ef={indent:1,children:!0},_f=/@([\w-]+)/,Cf=function(){function e(e,t,n){this.type="conditional",this.at=void 0,this.key=void 0,this.query=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e;var r=e.match(_f);for(var i in this.at=r?r[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new Gf(Jd({},n,{parent:this})),t)this.rules.add(i,t[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.toString=function(e){if(void 0===e&&(e=Ef),null==e.indent&&(e.indent=Ef.indent),null==e.children&&(e.children=Ef.children),!1===e.children)return this.query+" {}";var t=this.rules.toString(e);return t?this.query+" {\n"+t+"\n}":""},e}(),Sf=/@media|@supports\s+/,wf={onCreateRule:function(e,t,n){return Sf.test(e)?new Cf(e,t,n):null}},xf={indent:1,children:!0},Of=/@keyframes\s+([\w-]+)/,Rf=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.key=void 0,this.name=void 0,this.id=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0;var r=e.match(Of);this.name=r&&r[1]?r[1]:"noname",this.key=this.type+"-"+this.name,this.options=n;var i=n.scoped,o=n.sheet,a=n.generateId;for(var s in this.id=!1===i?this.name:yf(a(this,o)),this.rules=new Gf(Jd({},n,{parent:this})),t)this.rules.add(s,t[s],Jd({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){if(void 0===e&&(e=xf),null==e.indent&&(e.indent=xf.indent),null==e.children&&(e.children=xf.children),!1===e.children)return this.at+" "+this.id+" {}";var t=this.rules.toString(e);return t&&(t="\n"+t+"\n"),this.at+" "+this.id+" {"+t+"}"},e}(),Nf=/@keyframes\s+/,If=/\$([\w-]+)/g,Lf=function(e,t){return"string"==typeof e?e.replace(If,(function(e,n){return n in t?t[n]:e})):e},Tf=function(e,t,n){var r=e[t],i=Lf(r,n);i!==r&&(e[t]=i)},kf={onCreateRule:function(e,t,n){return"string"==typeof e&&Nf.test(e)?new Rf(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&Tf(e,"animation-name",n.keyframes),"animation"in e&&Tf(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return Lf(e,r.keyframes);default:return e}}},Df=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).renderable=void 0,t}return of(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=t&&t.options.link?Jd({},e,{allowEmpty:!0}):e;return pf(this.key,this.style,n)},t}(gf),qf={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new Df(e,t,n):null}},Pf=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.style)){for(var t="",n=0;n<this.style.length;n++)t+=pf(this.at,this.style[n]),this.style[n+1]&&(t+="\n");return t}return pf(this.at,this.style,e)},e}(),Af=/@font-face/,Mf={onCreateRule:function(e,t,n){return Af.test(e)?new Pf(e,t,n):null}},Ff=function(){function e(e,t,n){this.type="viewport",this.at="@viewport",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){return pf(this.key,this.style,e)},e}(),jf={onCreateRule:function(e,t,n){return"@viewport"===e||"@-ms-viewport"===e?new Ff(e,t,n):null}},Vf=function(){function e(e,t,n){this.type="simple",this.key=void 0,this.value=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.value=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",n=0;n<this.value.length;n++)t+=this.key+" "+this.value[n]+";",this.value[n+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},e}(),zf={"@charset":!0,"@import":!0,"@namespace":!0},Bf=[bf,wf,kf,qf,Mf,jf,{onCreateRule:function(e,t,n){return e in zf?new Vf(e,t,n):null}}],Uf={process:!0},Hf={force:!0,process:!0},Gf=function(){function e(e){this.map={},this.raw={},this.index=[],this.counter=0,this.options=void 0,this.classes=void 0,this.keyframes=void 0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var t=e.prototype;return t.add=function(e,t,n){var r=this.options,i=Jd({classes:this.classes,parent:r.parent,sheet:r.sheet,jss:r.jss,Renderer:r.Renderer,generateId:r.generateId,scoped:r.scoped,name:e,keyframes:this.keyframes,selector:void 0},n),o=e;e in this.raw&&(o=e+"-d"+this.counter++),this.raw[o]=t,o in this.classes&&(i.selector="."+yf(this.classes[o]));var a=uf(o,t,i);return a?(this.register(a),this.index.splice(void 0===i.index?this.index.length:i.index,0,a),a):null},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof vf?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof Rf&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof vf?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof Rf&&delete this.keyframes[e.name]},t.update=function(){var e,t,n;if("string"==typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2]):(t=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.map[e],t,n);else for(var r=0;r<this.index.length;r++)this.updateOne(this.index[r],t,n)},t.updateOne=function(t,n,r){void 0===r&&(r=Uf);var i=this.options,o=i.jss.plugins,a=i.sheet;if(t.rules instanceof e)t.rules.update(n,r);else{var s=t,l=s.style;if(o.onUpdate(n,t,a,r),r.process&&l&&l!==s.style){for(var u in o.onProcessStyle(s.style,s,a),s.style){var c=s.style[u];c!==l[u]&&s.prop(u,c,Hf)}for(var d in l){var f=s.style[d];null==f&&f!==l[d]&&s.prop(d,null,Hf)}}}},t.toString=function(e){for(var t="",n=this.options.sheet,r=!!n&&n.options.link,i=0;i<this.index.length;i++){var o=this.index[i].toString(e);(o||r)&&(t&&(t+="\n"),t+=o)}return t},e}(),Wf=function(){function e(e,t){for(var n in this.options=void 0,this.deployed=void 0,this.attached=void 0,this.rules=void 0,this.renderer=void 0,this.classes=void 0,this.keyframes=void 0,this.queue=void 0,this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=Jd({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new Gf(this.options),e)this.rules.add(n,e[n]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,t,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var i=this.rules.add(e,t,n);return i?(this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(r?r.push(i):(this.insertRule(i),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),i):i:(this.deployed=!1,i)):null},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var n=[];for(var r in e){var i=this.addRule(r,e[r],t);i&&n.push(i)}return n},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var t="object"==typeof e?e:this.rules.get(e);return!(!t||this.attached&&!t.renderable)&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.updateOne=function(e,t,n){return this.rules.updateOne(e,t,n),this},t.toString=function(e){return this.rules.toString(e)},e}(),$f=function(){function e(){this.plugins={internal:[],external:[]},this.registry=void 0}var t=e.prototype;return t.onCreateRule=function(e,t,n){for(var r=0;r<this.registry.onCreateRule.length;r++){var i=this.registry.onCreateRule[r](e,t,n);if(i)return i}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,n=0;n<this.registry.onProcessRule.length;n++)this.registry.onProcessRule[n](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},t.onProcessStyle=function(e,t,n){for(var r=0;r<this.registry.onProcessStyle.length;r++)t.style=this.registry.onProcessStyle[r](t.style,t,n)},t.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},t.onUpdate=function(e,t,n,r){for(var i=0;i<this.registry.onUpdate.length;i++)this.registry.onUpdate[i](e,t,n,r)},t.onChangeValue=function(e,t,n){for(var r=e,i=0;i<this.registry.onChangeValue.length;i++)r=this.registry.onChangeValue[i](r,t,n);return r},t.use=function(e,t){void 0===t&&(t={queue:"external"});var n=this.plugins[t.queue];-1===n.indexOf(e)&&(n.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var n in t)n in e&&e[n].push(t[n]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),Kf=new(function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(e){var t=this.registry,n=e.options.index;if(-1===t.indexOf(e))if(0===t.length||n>=this.index)t.push(e);else for(var r=0;r<t.length;r++)if(t[r].options.index>n)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(t,["attached"]),i="",o=0;o<this.registry.length;o++){var a=this.registry[o];null!=n&&a.attached!==n||(i&&(i+="\n"),i+=a.toString(r))}return i},rf(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}()),Qf="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),Xf="2f1acc6c3a606b082e5eef5e54414ffb";null==Qf[Xf]&&(Qf[Xf]=0);var Zf=Qf[Xf]++,Yf=function(e){void 0===e&&(e={});var t=0;return function(n,r){t+=1;var i="",o="";return r&&(r.options.classNamePrefix&&(o=r.options.classNamePrefix),null!=r.options.jss.id&&(i=String(r.options.jss.id))),e.minify?""+(o||"c")+Zf+i+t:o+n.key+"-"+Zf+(i?"-"+i:"")+"-"+t}},Jf=function(e){var t;return function(){return t||(t=e()),t}},ep=function(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return""}},tp=function(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=df(n,!0),"!important"===n[n.length-1]))return e.style.setProperty(t,r,"important"),!0;e.attributeStyleMap?e.attributeStyleMap.set(t,r):e.style.setProperty(t,r)}catch(e){return!1}return!0},np=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}},rp=function(e,t){return e.selectorText=t,e.selectorText===t},ip=Jf((function(){return document.querySelector("head")})),op=Jf((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),ap=function(e,t,n){try{"insertRule"in e?e.insertRule(t,n):"appendRule"in e&&e.appendRule(t)}catch(e){return!1}return e.cssRules[n]},sp=function(e,t){var n=e.cssRules.length;return void 0===t||t>n?n:t},lp=function(){function e(e){this.getPropertyValue=ep,this.setProperty=tp,this.removeProperty=np,this.setSelector=rp,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,this.cssRules=[],e&&Kf.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta;this.element=t.element||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var i=op();i&&this.element.setAttribute("nonce",i)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=function(e){var t=Kf.registry;if(t.length>0){var n=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.attached&&r.options.index>t.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if((n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e))&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"==typeof r){var i=function(e){for(var t=ip(),n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===e)return r}return null}(r);if(i)return{parent:i.parentNode,node:i.nextSibling}}return!1}(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"==typeof n.nodeType){var i=n.parentNode;i&&i.insertBefore(e,n.nextSibling)}else ip().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n<e.index.length;n++)this.insertRule(e.index[n],n,t)},t.insertRule=function(e,t,n){if(void 0===n&&(n=this.element.sheet),e.rules){var r=e,i=n;if("conditional"===e.type||"keyframes"===e.type){var o=sp(n,t);if(!1===(i=ap(n,r.toString({children:!1}),o)))return!1;this.refCssRule(e,o,i)}return this.insertRules(r.rules,i),i}var a=e.toString();if(!a)return!1;var s=sp(n,t),l=ap(n,a,s);return!1!==l&&(this.hasInsertedRules=!0,this.refCssRule(e,s,l),l)},t.refCssRule=function(e,t,n){e.renderable=n,e.options.parent instanceof Wf&&(this.cssRules[t]=n)},t.deleteRule=function(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),this.cssRules.splice(n,1),!0)},t.indexOf=function(e){return this.cssRules.indexOf(e)},t.replaceRule=function(e,t){var n=this.indexOf(e);return-1!==n&&(this.element.sheet.deleteRule(n),this.cssRules.splice(n,1),this.insertRule(t,n))},t.getRules=function(){return this.element.sheet.cssRules},e}(),up=0,cp=function(){function e(e){this.id=up++,this.version="10.5.1",this.plugins=new $f,this.options={id:{minify:!1},createGenerateId:Yf,Renderer:tf?lp:null,plugins:[]},this.generateId=Yf({minify:!1});for(var t=0;t<Bf.length;t++)this.plugins.use(Bf[t],{queue:"internal"});this.setup(e)}var t=e.prototype;return t.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=Jd({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},t.createStyleSheet=function(e,t){void 0===t&&(t={});var n=t.index;"number"!=typeof n&&(n=0===Kf.index?0:Kf.index+1);var r=new Wf(e,Jd({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(r),r},t.removeStyleSheet=function(e){return e.detach(),Kf.remove(e),this},t.createRule=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n={}),"object"==typeof e)return this.createRule(void 0,e,t);var r=Jd({},n,{name:e,jss:this,Renderer:this.options.Renderer});r.generateId||(r.generateId=this.generateId),r.classes||(r.classes={}),r.keyframes||(r.keyframes={});var i=uf(e,t,r);return i&&this.plugins.onProcessRule(i),i},t.use=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){e.plugins.use(t)})),this},e}(),dp="object"==typeof CSS&&null!=CSS&&"number"in CSS,fp=function(e){return new cp(e)};fp();var pp=Date.now(),hp="fnValues"+pp,mp="fnStyle"+ ++pp;function yp(){return(yp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var gp="@global",vp="@global ",bp=function(){function e(e,t,n){for(var r in this.type="global",this.at=gp,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new Gf(yp({},n,{parent:this})),t)this.rules.add(r,t[r]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(){return this.rules.toString()},e}(),Ep=function(){function e(e,t,n){this.type="global",this.at=gp,this.options=void 0,this.rule=void 0,this.isProcessed=!1,this.key=void 0,this.key=e,this.options=n;var r=e.substr(vp.length);this.rule=n.jss.createRule(r,t,yp({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),_p=/\s*,\s*/g;function Cp(e,t){for(var n=e.split(_p),r="",i=0;i<n.length;i++)r+=t+" "+n[i].trim(),n[i+1]&&(r+=", ");return r}function Sp(){return(Sp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var wp=/\s*,\s*/g,xp=/&/g,Op=/\$([\w-]+)/g;function Rp(){function e(e,t){return function(n,r){var i=e.getRule(r)||t&&t.getRule(r);return i?(i=i).selector:r}}function t(e,t){for(var n=t.split(wp),r=e.split(wp),i="",o=0;o<n.length;o++)for(var a=n[o],s=0;s<r.length;s++){var l=r[s];i&&(i+=", "),i+=-1!==l.indexOf("&")?l.replace(xp,a):a+" "+l}return i}function n(e,t,n){if(n)return Sp({},n,{index:n.index+1});var r=e.options.nestingLevel,i=Sp({},e.options,{nestingLevel:r=void 0===r?1:r+1,index:t.indexOf(e)+1});return delete i.name,i}return{onProcessStyle:function(r,i,o){if("style"!==i.type)return r;var a,s,l=i,u=l.options.parent;for(var c in r){var d=-1!==c.indexOf("&"),f="@"===c[0];if(d||f){if(a=n(l,u,a),d){var p=t(c,l.selector);s||(s=e(u,o)),p=p.replace(Op,s),u.addRule(p,r[c],Sp({},a,{selector:p}))}else f&&u.addRule(c,{},a).addRule(l.key,r[c],{selector:l.selector});delete r[c]}}return r}}}var Np=/[A-Z]/g,Ip=/^ms-/,Lp={};function Tp(e){return"-"+e.toLowerCase()}function kp(e){if(Lp.hasOwnProperty(e))return Lp[e];var t=e.replace(Np,Tp);return Lp[e]=Ip.test(t)?"-"+t:t}function Dp(e){var t={};for(var n in e)t[0===n.indexOf("--")?n:kp(n)]=e[n];return e.fallbacks&&(t.fallbacks=Array.isArray(e.fallbacks)?e.fallbacks.map(Dp):Dp(e.fallbacks)),t}var qp=dp&&CSS?CSS.px:"px",Pp=dp&&CSS?CSS.ms:"ms",Ap=dp&&CSS?CSS.percent:"%";function Mp(e){var t=/(-[a-z])/g,n=function(e){return e[1].toUpperCase()},r={};for(var i in e)r[i]=e[i],r[i.replace(t,n)]=e[i];return r}var Fp=Mp({"animation-delay":Pp,"animation-duration":Pp,"background-position":qp,"background-position-x":qp,"background-position-y":qp,"background-size":qp,border:qp,"border-bottom":qp,"border-bottom-left-radius":qp,"border-bottom-right-radius":qp,"border-bottom-width":qp,"border-left":qp,"border-left-width":qp,"border-radius":qp,"border-right":qp,"border-right-width":qp,"border-top":qp,"border-top-left-radius":qp,"border-top-right-radius":qp,"border-top-width":qp,"border-width":qp,"border-block":qp,"border-block-end":qp,"border-block-end-width":qp,"border-block-start":qp,"border-block-start-width":qp,"border-block-width":qp,"border-inline":qp,"border-inline-end":qp,"border-inline-end-width":qp,"border-inline-start":qp,"border-inline-start-width":qp,"border-inline-width":qp,"border-start-start-radius":qp,"border-start-end-radius":qp,"border-end-start-radius":qp,"border-end-end-radius":qp,margin:qp,"margin-bottom":qp,"margin-left":qp,"margin-right":qp,"margin-top":qp,"margin-block":qp,"margin-block-end":qp,"margin-block-start":qp,"margin-inline":qp,"margin-inline-end":qp,"margin-inline-start":qp,padding:qp,"padding-bottom":qp,"padding-left":qp,"padding-right":qp,"padding-top":qp,"padding-block":qp,"padding-block-end":qp,"padding-block-start":qp,"padding-inline":qp,"padding-inline-end":qp,"padding-inline-start":qp,"mask-position-x":qp,"mask-position-y":qp,"mask-size":qp,height:qp,width:qp,"min-height":qp,"max-height":qp,"min-width":qp,"max-width":qp,bottom:qp,left:qp,top:qp,right:qp,inset:qp,"inset-block":qp,"inset-block-end":qp,"inset-block-start":qp,"inset-inline":qp,"inset-inline-end":qp,"inset-inline-start":qp,"box-shadow":qp,"text-shadow":qp,"column-gap":qp,"column-rule":qp,"column-rule-width":qp,"column-width":qp,"font-size":qp,"font-size-delta":qp,"letter-spacing":qp,"text-decoration-thickness":qp,"text-indent":qp,"text-stroke":qp,"text-stroke-width":qp,"word-spacing":qp,motion:qp,"motion-offset":qp,outline:qp,"outline-offset":qp,"outline-width":qp,perspective:qp,"perspective-origin-x":Ap,"perspective-origin-y":Ap,"transform-origin":Ap,"transform-origin-x":Ap,"transform-origin-y":Ap,"transform-origin-z":Ap,"transition-delay":Pp,"transition-duration":Pp,"vertical-align":qp,"flex-basis":qp,"shape-margin":qp,size:qp,gap:qp,grid:qp,"grid-gap":qp,"row-gap":qp,"grid-row-gap":qp,"grid-column-gap":qp,"grid-template-rows":qp,"grid-template-columns":qp,"grid-auto-rows":qp,"grid-auto-columns":qp,"box-shadow-x":qp,"box-shadow-y":qp,"box-shadow-blur":qp,"box-shadow-spread":qp,"font-line-height":qp,"text-shadow-x":qp,"text-shadow-y":qp,"text-shadow-blur":qp});function jp(e,t,n){if(null==t)return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=jp(e,t[r],n);else if("object"==typeof t)if("fallbacks"===e)for(var i in t)t[i]=jp(i,t[i],n);else for(var o in t)t[o]=jp(e+"-"+o,t[o],n);else if("number"==typeof t&&!Number.isNaN(t)){var a=n[e]||Fp[e];return!a||0===t&&a===qp?t.toString():"function"==typeof a?a(t).toString():""+t+a}return t}function Vp(e){void 0===e&&(e={});var t=Mp(e);return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r in e)e[r]=jp(r,e[r],t);return e},onChangeValue:function(e,n){return jp(n,e,t)}}}function zp(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Bp="",Up="",Hp="",Gp="",Wp=tf&&"ontouchstart"in document.documentElement;if(tf){var $p={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},Kp=document.createElement("p").style;for(var Qp in $p)if(Qp+"Transform"in Kp){Bp=Qp,Up=$p[Qp];break}"Webkit"===Bp&&"msHyphens"in Kp&&(Bp="ms",Up=$p.ms,Gp="edge"),"Webkit"===Bp&&"-apple-trailing-word"in Kp&&(Hp="apple")}var Xp=Bp,Zp=Up,Yp=Hp,Jp=Gp,eh=Wp,th={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===Xp?"-webkit-"+e:Zp+e)}},nh={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===Xp?Zp+"print-"+e:e)}},rh=/[-\s]+(.)?/g;function ih(e,t){return t?t.toUpperCase():""}function oh(e){return e.replace(rh,ih)}function ah(e){return oh("-"+e)}var sh,lh={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===Xp){var n="mask-image";if(oh(n)in t)return e;if(Xp+ah(n)in t)return Zp+e}return e}},uh={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==Yp||eh?e:Zp+e)}},ch={noPrefill:["transform"],supportedProperty:function(e,t,n){return"transform"===e&&(n.transform?e:Zp+e)}},dh={noPrefill:["transition"],supportedProperty:function(e,t,n){return"transition"===e&&(n.transition?e:Zp+e)}},fh={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===Xp||"ms"===Xp&&"edge"!==Jp?Zp+e:e)}},ph={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===Xp||"ms"===Xp||"apple"===Yp?Zp+e:e)}},hh={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===Xp?"WebkitColumn"+ah(e)in t&&Zp+"column-"+e:"Moz"===Xp&&"page"+ah(e)in t&&"page-"+e)}},mh={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===Xp)return e;var n=e.replace("-inline","");return Xp+ah(n)in t&&Zp+n}},yh={supportedProperty:function(e,t){return oh(e)in t&&e}},gh={supportedProperty:function(e,t){var n=ah(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:Xp+n in t?Zp+e:"Webkit"!==Xp&&"Webkit"+n in t&&"-webkit-"+e}},vh={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===Xp?""+Zp+e:e)}},bh={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===Xp?Zp+"scroll-chaining":e)}},Eh={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},_h={supportedProperty:function(e,t){var n=Eh[e];return!!n&&Xp+ah(n)in t&&Zp+n}},Ch={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},Sh=Object.keys(Ch),wh=function(e){return Zp+e},xh=[th,nh,lh,uh,ch,dh,fh,ph,hh,mh,yh,gh,vh,bh,_h,{supportedProperty:function(e,t,n){var r=n.multiple;if(Sh.indexOf(e)>-1){var i=Ch[e];if(!Array.isArray(i))return Xp+ah(i)in t&&Zp+i;if(!r)return!1;for(var o=0;o<i.length;o++)if(!(Xp+ah(i[0])in t))return!1;return i.map(wh)}return!1}}],Oh=xh.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),Rh=xh.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,function(e){return function(e){if(Array.isArray(e))return zp(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return zp(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zp(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t.noPrefill)),e}),[]),Nh={};if(tf){sh=document.createElement("p");var Ih=window.getComputedStyle(document.documentElement,"");for(var Lh in Ih)isNaN(Lh)||(Nh[Ih[Lh]]=Ih[Lh]);Rh.forEach((function(e){return delete Nh[e]}))}function Th(e,t){if(void 0===t&&(t={}),!sh)return e;if(null!=Nh[e])return Nh[e];"transition"!==e&&"transform"!==e||(t[e]=e in sh.style);for(var n=0;n<Oh.length&&(Nh[e]=Oh[n](e,sh.style,t),!Nh[e]);n++);try{sh.style[e]=""}catch(e){return!1}return Nh[e]}var kh,Dh={},qh={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Ph=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function Ah(e,t,n){return"var"===t?"var":"all"===t?"all":"all"===n?", all":(t?Th(t):", "+Th(n))||t||n}function Mh(e,t){var n=t;if(!kh||"content"===e)return t;if("string"!=typeof n||!isNaN(parseInt(n,10)))return n;var r=e+n;if(null!=Dh[r])return Dh[r];try{kh.style[e]=n}catch(e){return Dh[r]=!1,!1}if(qh[e])n=n.replace(Ph,Ah);else if(""===kh.style[e]&&("-ms-flex"===(n=Zp+n)&&(kh.style[e]="-ms-flexbox"),kh.style[e]=n,""===kh.style[e]))return Dh[r]=!1,!1;return kh.style[e]="",Dh[r]=n,Dh[r]}function Fh(){function e(t){for(var n in t){var r=t[n];if("fallbacks"===n&&Array.isArray(r))t[n]=r.map(e);else{var i=!1,o=Th(n);o&&o!==n&&(i=!0);var a=!1,s=Mh(o,df(r));s&&s!==r&&(a=!0),(i||a)&&(i&&delete t[n],t[o||n]=s||r)}}return t}return{onProcessRule:function(e){"keyframes"===e.type&&(e.at=function(e){return"-"===e[1]||"ms"===Xp?e:"@"+Zp+"keyframes"+e.substr(10)}(e.at))},onProcessStyle:function(t,n){return"style"!==n.type?t:e(t)},onChangeValue:function(e,t){return Mh(t,df(e))||e}}}function jh(){return{plugins:[{onCreateRule:function(e,t,n){if("function"!=typeof t)return null;var r=uf(e,{},n);return r[mp]=t,r},onProcessStyle:function(e,t){if(hp in t||mp in t)return e;var n={};for(var r in e){var i=e[r];"function"==typeof i&&(delete e[r],n[r]=i)}return t[hp]=n,e},onUpdate:function(e,t,n,r){var i=t,o=i[mp];o&&(i.style=o(e)||{});var a=i[hp];if(a)for(var s in a)i.prop(s,a[s](e),r)}},{onCreateRule:function(e,t,n){if(!e)return null;if(e===gp)return new bp(e,t,n);if("@"===e[0]&&e.substr(0,vp.length)===vp)return new Ep(e,t,n);var r=n.parent;return r&&("global"===r.type||r.options.parent&&"global"===r.options.parent.type)&&(n.scoped=!1),!1===n.scoped&&(n.selector=e),null},onProcessRule:function(e,t){"style"===e.type&&t&&(function(e,t){var n=e.options,r=e.style,i=r?r[gp]:null;if(i){for(var o in i)t.addRule(o,i[o],yp({},n,{selector:Cp(o,e.selector)}));delete r[gp]}}(e,t),function(e,t){var n=e.options,r=e.style;for(var i in r)if("@"===i[0]&&i.substr(0,gp.length)===gp){var o=Cp(i.substr(gp.length),e.selector);t.addRule(o,r[i],yp({},n,{selector:o})),delete r[i]}}(e,t))}},Rp(),{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=Dp(e[t]);return e}return Dp(e)},onChangeValue:function(e,t,n){if(0===t.indexOf("--"))return e;var r=kp(t);return t===r?e:(n.prop(r,e),null)}},Vp(),"undefined"==typeof window?null:Fh(),(e=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length},{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},i=Object.keys(t).sort(e),o=0;o<i.length;o++)r[i[o]]=t[i[o]];return r}})]};var e}function Vh(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function zh(){return(zh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Bh(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;if(!n)return t;var r=zh({},t);return Object.keys(n).forEach((function(e){n[e]&&(r[e]="".concat(t[e]," ").concat(n[e]))})),r}tf&&(kh=document.createElement("p"));var Uh=function(e,t,n,r){var i=e.get(t);i||(i=new Map,e.set(t,i)),i.set(n,r)},Hh=function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},Gh=ot.createContext(null);function Wh(){return ot.useContext(Gh)}var $h,Kh=fp(jh()),Qh={disableGeneration:!1,generateClassName:Zd(),jss:Kh,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},Xh=ot.createContext(Qh);function Zh(e){var t=e.children,n=e.injectFirst,r=void 0!==n&&n,i=e.disableGeneration,o=void 0!==i&&i,a=Vh(e,["children","injectFirst","disableGeneration"]),s=zh({},ot.useContext(Xh),{disableGeneration:o},a);if(!s.jss.options.insertionPoint&&r&&"undefined"!=typeof window){if(!$h){var l=document.head;$h=document.createComment("mui-inject-first"),l.insertBefore($h,l.firstChild)}s.jss=fp({plugins:jh().plugins,insertionPoint:$h})}return ot.createElement(Xh.Provider,{value:s},t)}var Yh=-1e9;function Jh(){return Yh+=1}var em={};function tm(e){var t="function"==typeof e;return{create:function(n,r){var i;try{i=t?e(n):e}catch(e){throw e}if(!r||!n.overrides||!n.overrides[r])return i;var o=n.overrides[r],a=zh({},i);return Object.keys(o).forEach((function(e){a[e]=hd(a[e],o[e])})),a},options:{}}}function nm(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var i=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,i=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,i=!0),i&&(r.cacheClasses.value=Bh({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function rm(e,t){var n=e.state,r=e.theme,i=e.stylesOptions,o=e.stylesCreator,a=e.name;if(!i.disableGeneration){var s=Hh(i.sheetsManager,o,r);s||Uh(i.sheetsManager,o,r,s={refs:0,staticSheet:null,dynamicStyles:null});var l=zh({},o.options,i,{theme:r,flip:"boolean"==typeof i.flip?i.flip:"rtl"===r.direction});l.generateId=l.serverGenerateClassName||l.generateClassName;var u=i.sheetsRegistry;if(0===s.refs){var c;i.sheetsCache&&(c=Hh(i.sheetsCache,o,r));var d=o.create(r,a);c||((c=i.jss.createStyleSheet(d,zh({link:!1},l))).attach(),i.sheetsCache&&Uh(i.sheetsCache,o,r,c)),u&&u.add(c),s.staticSheet=c,s.dynamicStyles=function e(t){var n=null;for(var r in t){var i=t[r],o=typeof i;if("function"===o)n||(n={}),n[r]=i;else if("object"===o&&null!==i&&!Array.isArray(i)){var a=e(i);a&&(n||(n={}),n[r]=a)}}return n}(d)}if(s.dynamicStyles){var f=i.jss.createStyleSheet(s.dynamicStyles,zh({link:!0},l));f.update(t),f.attach(),n.dynamicSheet=f,n.classes=Bh({baseClasses:s.staticSheet.classes,newClasses:f.classes}),u&&u.add(f)}else n.classes=s.staticSheet.classes;s.refs+=1}}function im(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function om(e){var t=e.state,n=e.theme,r=e.stylesOptions,i=e.stylesCreator;if(!r.disableGeneration){var o=Hh(r.sheetsManager,i,n);o.refs-=1;var a=r.sheetsRegistry;0===o.refs&&(function(e,t,n){e.get(t).delete(n)}(r.sheetsManager,i,n),r.jss.removeStyleSheet(o.staticSheet),a&&a.remove(o.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}function am(e,t){var n,r=ot.useRef([]),i=ot.useMemo((function(){return{}}),t);r.current!==i&&(r.current=i,n=e()),ot.useEffect((function(){return function(){n&&n()}}),[i])}function sm(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,r=t.classNamePrefix,i=t.Component,o=t.defaultTheme,a=void 0===o?em:o,s=Vh(t,["name","classNamePrefix","Component","defaultTheme"]),l=tm(e),u=n||r||"makeStyles";return l.options={index:Jh(),name:n,meta:u,classNamePrefix:u},function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Wh()||a,r=zh({},ot.useContext(Xh),s),o=ot.useRef(),u=ot.useRef();return am((function(){var i={name:n,state:{},stylesCreator:l,stylesOptions:r,theme:t};return rm(i,e),u.current=!1,o.current=i,function(){om(i)}}),[t,l]),ot.useEffect((function(){u.current&&im(o.current,e),u.current=!0})),nm(o.current,e.classes,i)}}function lm(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=lm(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function um(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=lm(e))&&(r&&(r+=" "),r+=t);return r}var cm=vd.exports,dm={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},fm={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},pm={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},hm={};function mm(e){return cm.isMemo(e)?pm:hm[e.$$typeof]||dm}hm[cm.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},hm[cm.Memo]=pm;var ym=Object.defineProperty,gm=Object.getOwnPropertyNames,vm=Object.getOwnPropertySymbols,bm=Object.getOwnPropertyDescriptor,Em=Object.getPrototypeOf,_m=Object.prototype,Cm=function e(t,n,r){if("string"!=typeof n){if(_m){var i=Em(n);i&&i!==_m&&e(t,i,r)}var o=gm(n);vm&&(o=o.concat(vm(n)));for(var a=mm(t),s=mm(n),l=0;l<o.length;++l){var u=o[l];if(!(fm[u]||r&&r[u]||s&&s[u]||a&&a[u])){var c=bm(n,u);try{ym(t,u,c)}catch(e){}}}}return t};function Sm(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}function wm(e){var t=e.children,n=e.theme,r=Wh(),i=ot.useMemo((function(){var e=null===r?n:function(e,t){return"function"==typeof t?t(e):zh({},e,t)}(r,n);return null!=e&&(e[Qd]=null!==r),e}),[n,r]);return ot.createElement(Gh.Provider,{value:i},t)}function xm(e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,e),t)}function Om(e){if(e.type)return e;if("#"===e.charAt(0))return Om(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(gd(3,e));var r=e.substring(t+1,e.length-1).split(",");return{type:n,values:r=r.map((function(e){return parseFloat(e)}))}}function Rm(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function Nm(e){var t="hsl"===(e=Om(e)).type?Om(function(e){var t=(e=Om(e)).values,n=t[0],r=t[2]/100,i=t[1]/100*Math.min(r,1-r),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return r-i*Math.max(Math.min(t-3,9-t,1),-1)},a="rgb",s=[Math.round(255*o(0)),Math.round(255*o(8)),Math.round(255*o(4))];return"hsla"===e.type&&(a+="a",s.push(t[3])),Rm({type:a,values:s})}(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Im(e,t){return e=Om(e),t=xm(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,Rm(e)}function Lm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tm(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function km(){return(km=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Dm=["xs","sm","md","lg","xl"];function qm(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,r=e.unit,i=void 0===r?"px":r,o=e.step,a=void 0===o?5:o,s=Tm(e,["values","unit","step"]);function l(e){return"@media (min-width:".concat("number"==typeof n[e]?n[e]:e).concat(i,")")}function u(e,t){var r=Dm.indexOf(t);return r===Dm.length-1?l(e):"@media (min-width:".concat("number"==typeof n[e]?n[e]:e).concat(i,") and ")+"(max-width:".concat((-1!==r&&"number"==typeof n[Dm[r+1]]?n[Dm[r+1]]:t)-a/100).concat(i,")")}return km({keys:Dm,values:n,up:l,down:function(e){var t=Dm.indexOf(e)+1,r=n[Dm[t]];return t===Dm.length?l("xs"):"@media (max-width:".concat(("number"==typeof r&&t>0?r:e)-a/100).concat(i,")")},between:u,only:function(e){return u(e,e)},width:function(e){return n[e]}},s)}function Pm(e,t,n){var r;return km({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n")),km({paddingLeft:t(2),paddingRight:t(2)},n,Lm({},e.up("sm"),km({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(r={minHeight:56},Lm(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),Lm(r,e.up("sm"),{minHeight:64}),r)},n)}var Am={black:"#000",white:"#fff"},Mm={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"},Fm={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Am.white,default:Mm[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},jm={text:{primary:Am.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:Mm[800],default:"#303030"},action:{active:Am.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Vm(e,t,n,r){var i=r.light||r,o=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=function(e,t){if(e=Om(e),t=xm(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return Rm(e)}(e.main,i):"dark"===t&&(e.dark=function(e,t){if(e=Om(e),t=xm(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return Rm(e)}(e.main,o)))}function zm(e){var t=e.primary,n=void 0===t?{light:"#7986cb",main:"#3f51b5",dark:"#303f9f"}:t,r=e.secondary,i=void 0===r?{light:"#ff4081",main:"#f50057",dark:"#c51162"}:r,o=e.error,a=void 0===o?{light:"#e57373",main:"#f44336",dark:"#d32f2f"}:o,s=e.warning,l=void 0===s?{light:"#ffb74d",main:"#ff9800",dark:"#f57c00"}:s,u=e.info,c=void 0===u?{light:"#64b5f6",main:"#2196f3",dark:"#1976d2"}:u,d=e.success,f=void 0===d?{light:"#81c784",main:"#4caf50",dark:"#388e3c"}:d,p=e.type,h=void 0===p?"light":p,m=e.contrastThreshold,y=void 0===m?3:m,g=e.tonalOffset,v=void 0===g?.2:g,b=Tm(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function E(e){return function(e,t){var n=Nm(e),r=Nm(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,jm.text.primary)>=y?jm.text.primary:Fm.text.primary}var _=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=km({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error(gd(4,t));if("string"!=typeof e.main)throw new Error(gd(5,JSON.stringify(e.main)));return Vm(e,"light",n,v),Vm(e,"dark",r,v),e.contrastText||(e.contrastText=E(e.main)),e},C={dark:jm,light:Fm};return hd(km({common:Am,type:h,primary:_(n),secondary:_(i,"A400","A200","A700"),error:_(a),warning:_(l),info:_(c),success:_(f),grey:Mm,contrastThreshold:y,getContrastText:E,augmentColor:_,tonalOffset:v},C[h]),b)}function Bm(e){return Math.round(1e5*e)/1e5}function Um(e){return Bm(e)}var Hm={textTransform:"uppercase"},Gm='"Roboto", "Helvetica", "Arial", sans-serif';function Wm(e,t){var n="function"==typeof t?t(e):t,r=n.fontFamily,i=void 0===r?Gm:r,o=n.fontSize,a=void 0===o?14:o,s=n.fontWeightLight,l=void 0===s?300:s,u=n.fontWeightRegular,c=void 0===u?400:u,d=n.fontWeightMedium,f=void 0===d?500:d,p=n.fontWeightBold,h=void 0===p?700:p,m=n.htmlFontSize,y=void 0===m?16:m,g=n.allVariants,v=n.pxToRem,b=Tm(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]),E=a/14,_=v||function(e){return"".concat(e/y*E,"rem")},C=function(e,t,n,r,o){return km({fontFamily:i,fontWeight:e,fontSize:_(t),lineHeight:n},i===Gm?{letterSpacing:"".concat(Bm(r/t),"em")}:{},o,g)},S={h1:C(l,96,1.167,-1.5),h2:C(l,60,1.2,-.5),h3:C(c,48,1.167,0),h4:C(c,34,1.235,.25),h5:C(c,24,1.334,0),h6:C(f,20,1.6,.15),subtitle1:C(c,16,1.75,.15),subtitle2:C(f,14,1.57,.1),body1:C(c,16,1.5,.15),body2:C(c,14,1.43,.15),button:C(f,14,1.75,.4,Hm),caption:C(c,12,1.66,.4),overline:C(c,12,2.66,1,Hm)};return hd(km({htmlFontSize:y,pxToRem:_,round:Um,fontFamily:i,fontSize:a,fontWeightLight:l,fontWeightRegular:c,fontWeightMedium:f,fontWeightBold:h},S),b,{clone:!1})}function $m(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var Km=["none",$m(0,2,1,-1,0,1,1,0,0,1,3,0),$m(0,3,1,-2,0,2,2,0,0,1,5,0),$m(0,3,3,-2,0,3,4,0,0,1,8,0),$m(0,2,4,-1,0,4,5,0,0,1,10,0),$m(0,3,5,-1,0,5,8,0,0,1,14,0),$m(0,3,5,-1,0,6,10,0,0,1,18,0),$m(0,4,5,-2,0,7,10,1,0,2,16,1),$m(0,5,5,-3,0,8,10,1,0,3,14,2),$m(0,5,6,-3,0,9,12,1,0,3,16,2),$m(0,6,6,-3,0,10,14,1,0,4,18,3),$m(0,6,7,-4,0,11,15,1,0,4,20,3),$m(0,7,8,-4,0,12,17,2,0,5,22,4),$m(0,7,8,-4,0,13,19,2,0,5,24,4),$m(0,7,9,-4,0,14,21,2,0,5,26,4),$m(0,8,9,-5,0,15,22,2,0,6,28,5),$m(0,8,10,-5,0,16,24,2,0,6,30,5),$m(0,8,11,-5,0,17,26,2,0,6,32,5),$m(0,9,11,-5,0,18,28,2,0,7,34,6),$m(0,9,12,-6,0,19,29,2,0,7,36,6),$m(0,10,13,-6,0,20,31,3,0,8,38,7),$m(0,10,13,-6,0,21,33,3,0,8,40,7),$m(0,10,14,-6,0,22,35,3,0,8,42,7),$m(0,11,14,-7,0,23,36,3,0,9,44,8),$m(0,11,15,-7,0,24,38,3,0,9,46,8)],Qm={borderRadius:4};function Xm(){return(Xm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Zm(e){return(Zm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ym(e){return(Ym="function"==typeof Symbol&&"symbol"===Zm(Symbol.iterator)?function(e){return Zm(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":Zm(e)})(e)}function Jm(e,t){return t?hd(e,t,{clone:!1}):e}var ey={xs:0,sm:600,md:960,lg:1280,xl:1920},ty={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(ey[e],"px)")}};function ny(e,t,n){if(Array.isArray(t)){var r=e.theme.breakpoints||ty;return t.reduce((function(e,i,o){return e[r.up(r.keys[o])]=n(t[o]),e}),{})}if("object"===Ym(t)){var i=e.theme.breakpoints||ty;return Object.keys(t).reduce((function(e,r){return e[i.up(r)]=n(t[r]),e}),{})}return n(t)}function ry(e,t){return t&&"string"==typeof t?t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e):null}function iy(e){var t=e.prop,n=e.cssProperty,r=void 0===n?e.prop:n,i=e.themeKey,o=e.transform,a=function(e){if(null==e[t])return null;var n=e[t],a=ry(e.theme,i)||{};return ny(e,n,(function(e){var t;return"function"==typeof a?t=a(e):Array.isArray(a)?t=a[e]||e:(t=ry(a,e)||e,o&&(t=o(t))),!1===r?t:function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},r,t)}))};return a.propTypes={},a.filterProps=[t],a}function oy(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=function(e){return t.reduce((function(t,n){var r=n(e);return r?Jm(t,r):t}),{})};return r.propTypes={},r.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),r}function ay(e){return"number"!=typeof e?e:"".concat(e,"px solid")}var sy=oy(iy({prop:"border",themeKey:"borders",transform:ay}),iy({prop:"borderTop",themeKey:"borders",transform:ay}),iy({prop:"borderRight",themeKey:"borders",transform:ay}),iy({prop:"borderBottom",themeKey:"borders",transform:ay}),iy({prop:"borderLeft",themeKey:"borders",transform:ay}),iy({prop:"borderColor",themeKey:"palette"}),iy({prop:"borderRadius",themeKey:"shape"}));function ly(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}var uy=oy(iy({prop:"displayPrint",cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}}),iy({prop:"display"}),iy({prop:"overflow"}),iy({prop:"textOverflow"}),iy({prop:"visibility"}),iy({prop:"whiteSpace"})),cy=oy(iy({prop:"flexBasis"}),iy({prop:"flexDirection"}),iy({prop:"flexWrap"}),iy({prop:"justifyContent"}),iy({prop:"alignItems"}),iy({prop:"alignContent"}),iy({prop:"order"}),iy({prop:"flex"}),iy({prop:"flexGrow"}),iy({prop:"flexShrink"}),iy({prop:"alignSelf"}),iy({prop:"justifyItems"}),iy({prop:"justifySelf"})),dy=oy(iy({prop:"gridGap"}),iy({prop:"gridColumnGap"}),iy({prop:"gridRowGap"}),iy({prop:"gridColumn"}),iy({prop:"gridRow"}),iy({prop:"gridAutoFlow"}),iy({prop:"gridAutoColumns"}),iy({prop:"gridAutoRows"}),iy({prop:"gridTemplateColumns"}),iy({prop:"gridTemplateRows"}),iy({prop:"gridTemplateAreas"}),iy({prop:"gridArea"})),fy=oy(iy({prop:"color",themeKey:"palette"}),iy({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"})),py=oy(iy({prop:"position"}),iy({prop:"zIndex",themeKey:"zIndex"}),iy({prop:"top"}),iy({prop:"right"}),iy({prop:"bottom"}),iy({prop:"left"})),hy=iy({prop:"boxShadow",themeKey:"shadows"});function my(e){return e<=1?"".concat(100*e,"%"):e}var yy=iy({prop:"width",transform:my}),gy=iy({prop:"maxWidth",transform:my}),vy=iy({prop:"minWidth",transform:my}),by=iy({prop:"height",transform:my}),Ey=iy({prop:"maxHeight",transform:my}),_y=iy({prop:"minHeight",transform:my});iy({prop:"size",cssProperty:"width",transform:my}),iy({prop:"size",cssProperty:"height",transform:my});var Cy=oy(yy,gy,vy,by,Ey,_y,iy({prop:"boxSizing"})),Sy={m:"margin",p:"padding"},wy={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},xy={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Oy=function(e){var t={};return function(e){return void 0===t[e]&&(t[e]=function(e){if(e.length>2){if(!xy[e])return[e];e=xy[e]}var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),2!==n.length);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}(e.split("")),n=Sy[t[0]],r=wy[t[1]]||"";return Array.isArray(r)?r.map((function(e){return n+e})):[n+r]}(e)),t[e]}}(),Ry=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function Ny(e){var t=e.spacing||8;return"number"==typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"==typeof t?t:function(){}}function Iy(e){var t=Ny(e.theme);return Object.keys(e).map((function(n){if(-1===Ry.indexOf(n))return null;var r=function(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"==typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:"-".concat(n)}(t,n),e}),{})}}(Oy(n),t);return ny(e,e[n],r)})).reduce(Jm,{})}Iy.propTypes={},Iy.filterProps=Ry;var Ly=oy(iy({prop:"fontFamily",themeKey:"typography"}),iy({prop:"fontSize",themeKey:"typography"}),iy({prop:"fontStyle",themeKey:"typography"}),iy({prop:"fontWeight",themeKey:"typography"}),iy({prop:"letterSpacing"}),iy({prop:"lineHeight"}),iy({prop:"textAlign"}));function Ty(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=Ny({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return 0===n.length?t(1):1===n.length?t(n[0]):n.map((function(e){if("string"==typeof e)return e;var n=t(e);return"number"==typeof n?"".concat(n,"px"):n})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return e}}),n.mui=!0,n}var ky={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Dy={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function qy(e){return"".concat(Math.round(e),"ms")}var Py={easing:ky,duration:Dy,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,r=void 0===n?Dy.standard:n,i=t.easing,o=void 0===i?ky.easeInOut:i,a=t.delay,s=void 0===a?0:a;return Tm(t,["duration","easing","delay"]),(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof r?r:qy(r)," ").concat(o," ").concat("string"==typeof s?s:qy(s))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}},Ay={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function My(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,r=e.mixins,i=void 0===r?{}:r,o=e.palette,a=void 0===o?{}:o,s=e.spacing,l=e.typography,u=void 0===l?{}:l,c=Tm(e,["breakpoints","mixins","palette","spacing","typography"]),d=zm(a),f=qm(n),p=Ty(s),h=hd({breakpoints:f,direction:"ltr",mixins:Pm(f,p,i),overrides:{},palette:d,props:{},shadows:Km,typography:Wm(d,u),spacing:p,shape:Qm,transitions:Py,zIndex:Ay},c),m=arguments.length,y=new Array(m>1?m-1:0),g=1;g<m;g++)y[g-1]=arguments[g];return y.reduce((function(e,t){return hd(e,t)}),h)}var Fy=My();function jy(e){return sm(e,km({defaultTheme:Fy},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))}function Vy(){return Wh()||Fy}function zy(e,t){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var r=t.defaultTheme,i=t.withTheme,o=void 0!==i&&i,a=t.name,s=Vh(t,["defaultTheme","withTheme","name"]),l=sm(e,zh({defaultTheme:r,Component:n,name:a||n.displayName,classNamePrefix:a},s)),u=ot.forwardRef((function(e,t){var i,s=e.innerRef,u=Vh(e,["classes","innerRef"]),c=l(zh({},n.defaultProps,e)),d=u;return("string"==typeof a||o)&&(i=Wh()||r,a&&(d=Yd({theme:i,name:a,props:u})),o&&!d.theme&&(d.theme=i)),ot.createElement(n,zh({ref:s||t,classes:c},d))}));return Cm(u,n),u}}(e,km({defaultTheme:Fy},t))}var By={typography:{fontSize:14,htmlFontSize:16,fontWeightLight:300,fontWeightRegular:400,fontWeightMedium:600,fontFamily:['"Source Sans Pro"','"Segoe UI"','"Helvetica Neue"',"-apple-system","Arial","sans-serif"].join(","),button:{textTransform:"initial",fontWeight:400}},shape:{borderRadius:2},shadows:["none","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)"],props:{MuiButtonBase:{disableRipple:!0,disableTouchRipple:!0,focusRipple:!1}}},Uy="#009845",Hy="#3F8AB3",Gy="#ffffff",Wy="#404040",$y="#333333",Ky="#1A1A1A",Qy={type:"light",palette:{primary:{main:Wy,contrastText:Gy},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:Wy,secondary:"rgba(0, 0, 0, 0.55)",disabled:"rgba(0, 0, 0, 0.3)"},action:{active:Wy,hover:"rgba(0, 0, 0, 0.03)",hoverOpacity:.08,selected:"rgba(0, 0, 0, 0.05)",disabled:"rgba(0, 0, 0, 0.3)",disabledBackground:"rgba(0, 0, 0, 0.12)"},background:{paper:Gy,default:Gy,lightest:Gy,lighter:"#FBFBFB",darker:"#F2F2F2",darkest:"#E6E6E6"},custom:{focusBorder:Hy,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(255, 255, 255, 1)"},selected:{main:Uy,alternative:"#E4E4E4",excluded:"#BEBEBE",mainContrastText:Gy,alternativeContrastText:Wy,excludedContrastText:Wy},btn:{normal:"rgba(255, 255, 255, 0.6)",hover:"rgba(0, 0, 0, 0.03)",active:"rgba(0, 0, 0, 0.1)",disabled:"rgba(255, 255, 255, 0.6)",border:"rgba(0, 0, 0, 0.15)",borderHover:"rgba(0, 0, 0, 0.15)"}}},Xy={type:"dark",palette:{primary:{main:$y,contrastText:Gy},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:Gy,secondary:"rgba(255, 255, 255, 0.6)",disabled:"rgba(255, 255, 255, 0.3)"},action:{active:Gy,hover:"rgba(255, 255, 255, 0.05)",hoverOpacity:.08,selected:"rgba(0, 0, 0, 0.03)",disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(0, 0, 0, 0.12)"},divider:"rgba(0,0,0,0.3)",background:{default:"#323232",paper:"#323232",lightest:Wy,lighter:$y,darker:"#262626",darkest:Ky},custom:{focusBorder:Hy,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(0, 0, 0, 0.2)"},selected:{main:Uy,alternative:$y,excluded:Ky,mainContrastText:Gy,alternativeContrastText:Gy,excludedContrastText:Gy},btn:{normal:"rgba(255, 255, 255, 0.15)",hover:"rgba(255, 255, 255, 0.25)",active:"rgba(0, 0, 0, 0.6)",disabled:"rgba(255, 255, 255, 0.15)",border:"rgba(0, 0, 0, 0.15)",borderHover:"rgba(0, 0, 0, 0.30)"}}},Zy={},Yy=function(e){return{MuiTypography:{root:{color:e.palette.text.primary}},MuiIconButton:{root:{padding:7,borderRadius:2,border:"1px solid transparent","&:focus":{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)}}},MuiOutlinedInput:{root:{backgroundColor:e.palette.custom.inputBackground,"&:hover $notchedOutline":{borderColor:e.palette.btn.border},"&$focused $notchedOutline":{borderColor:e.palette.custom.focusBorder,borderWidth:2}}},MuiButton:{outlined:{padding:"3px 11px","&$focusVisible":{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)}},contained:{color:e.palette.text.primary,padding:"3px 11px",border:"1px solid ".concat(e.palette.btn.border),backgroundColor:e.palette.btn.normal,boxShadow:"none","&$focusVisible":{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)},"&:hover":{backgroundColor:e.palette.btn.hover,borderColor:e.palette.btn.borderHover,boxShadow:"none","&$disabled":{backgroundColor:e.palette.btn.disabled}},"&:active":{boxShadow:"none",backgroundColor:e.palette.btn.active},"&$disabled":{backgroundColor:e.palette.btn.disabled}}},MuiExpansionPanelSummary:{content:{margin:"8px 0"}}}};function Jy(e){var t=Qy,r="";"string"==typeof e&&(r=e,"light"!==e&&"dark"!==e?console.warn("Invalid theme: '".concat(e,"'")):"dark"===e&&(t=Xy));var i=JSON.stringify(t);if(Zy[i])return Zy[i];var o={palette:n(n({type:t.type},By.palette),t.palette),typography:n({},By.typography),shadows:By.shadows,props:n({},By.props),shape:n({},By.shape)};return Zy[i]=My(n(n({},o),{},{overrides:Yy(o)})),Zy[i].name=r,Zy[i]}var eg=ot.createContext({language:null,theme:null,translator:null,constraints:{}}),tg=function(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=[],i={get:function(e){return t[e]},set:function(n,i){if(void 0===n||"object"===r(n))throw new Error("Invalid key: ".concat(JSON.stringify(n)));return t[n]=i,e({type:"SET",value:i}),i},clear:function(e){if(void 0===e||"object"===r(e))throw new Error("Invalid key: ".concat(JSON.stringify(e)));t[e]=null},dispatch:function(e){n.forEach((function(n){return n(e?{}:t)}))}};return[function(){var e=u(Se.exports.useState(t),2)[1];return Se.exports.useEffect((function(){return n.push(e),function(){var t=n.indexOf(e);n.splice(t,1)}}),[e]),[i]},i]},ng=u(tg({}),2),rg=ng[0],ig=ng[1],og=u(tg({}),2),ag=og[0],sg=og[1],lg=u(tg({}),2),ug=lg[0],cg=lg[1],dg=u(tg({}),2)[1],fg=u(tg({}),2),pg=fg[0],hg=fg[1],mg=u(tg({}),2)[1],yg=function(e){var t=e.type,n=e.value,r=mg.get(n.id);mg.set(n.id,{});var i=function(){sg.clear(n.id),hg.set(n.id,{}),hg.dispatch(!0)},o=function(){n.removeListener("changed",i),ig.clear(n.id),sg.clear(n.id),cg.clear(n.id),dg.clear(n.id),hg.clear(n.id),mg.clear(n.id)};switch(t){case"SET":r||(n.on("changed",i),n.once("closed",(function(){o()})))}return o},gg=u(tg({},yg),2),vg=gg[0],bg=gg[1],Eg=function(e){var t=yg({type:"SET",value:e});return function(){t(),bg.clear(e.id)}},_g=function(e,t){var r,i=t.rpcResultStore,o=t.key,a=t.method;switch(t.type){case"INVALID":r=n(n({},e),{},{valid:!1,invalid:!0,validating:!0,canCancel:!0,canRetry:!1,rpcRetry:!1});break;case"VALID":r={result:n({},t.result),invalid:!1,valid:!0,validating:!1,canCancel:!1,canRetry:!1,rpcRetry:!1};break;case"CANCELLED":r=n(n({},e),{},{invalid:!0,valid:!1,validating:!1,canCancel:!1,canRetry:!0,rpcRetry:!1});break;default:throw new Error("Undefined action")}var s=i.get(o);return s||(s={}),s[a]=r,i.set(o,s),r};function Cg(e,t){var n,r=e?"".concat(e.id):null,i=u(rg(),1)[0],a=u(Se.exports.useReducer(_g,r?i.get(r):null),2),s=a[0],l=a[1],c=u(pg(),1)[0],d=u(ag(),1)[0];r&&((n=d.get(r))||d.set(r,n={}));var f,p=function(){var a=o(regeneratorRuntime.mark((function o(a){var s,u;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return(!(s=n[t])||s&&s.rpcRetry)&&(u=e[t](),n[t]=s={rpc:u,rpcRetry:!1},l({type:"INVALID",method:t,key:r,model:e,rpcResultStore:i,canCancel:!0})),o.prev=2,o.next=5,s.rpc;case 5:l({type:"VALID",result:o.sent,key:r,method:t,model:e,rpcResultStore:i}),o.next=12;break;case 9:o.prev=9,o.t0=o.catch(2),15!==o.t0.code||a||(s.rpcRetry||(s.rpcRetry=!0),p(!0));case 12:case"end":return o.stop()}}),o,null,[[2,9]])})));return function(e){return a.apply(this,arguments)}}(),h={cancel:(f=o(regeneratorRuntime.mark((function o(){var a;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return a=e.session.getObjectApi({handle:-1}),o.next=3,a.cancelRequest(n[t].rpc.requestId);case 3:l({type:"CANCELLED",key:r,method:t,model:e,rpcResultStore:i});case 4:case"end":return o.stop()}}),o)}))),function(){return f.apply(this,arguments)}),retry:function(){n[t].rpcRetry=!0,p()}};return Se.exports.useEffect((function(){e&&p()}),[e,c.get(e&&e.id),r,t]),[s&&s.result,{validating:s&&s.validating,canCancel:s&&s.canCancel,canRetry:s&&s.canRetry},h]}function Sg(e){return Cg(e,"getLayout")}function wg(e){return Cg(e,"getAppLayout")}function xg(e,t){var n,r=t?"".concat(t.id,"/").concat(JSON.stringify(e)):null,i=u(vg(),1)[0],a=u(ug(),1)[0],s=u(Se.exports.useState(),2),l=s[0],c=s[1];r&&(n=a.get(r));for(var d=arguments.length,f=new Array(d>2?d-2:0),p=2;p<d;p++)f[p-2]=arguments[p];return Se.exports.useEffect((function(){t&&function(){var s=o(regeneratorRuntime.mark((function o(){var s,l;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return n||(s=t.createSessionObject(e),a.set(r,n=s)),o.next=3,n;case 3:i.set(r,l=o.sent),c(l);case 6:case"end":return o.stop()}}),o)})));return function(){return s.apply(this,arguments)}}()()}),[t].concat(f)),[l]}var Og={qInfo:{qType:"current-selections"},qSelectionObjectDef:{qStateName:"$"},alternateStates:[]};function Rg(e){return xg(Og,e)}function Ng(e){var t=u(Rg(e),1)[0],n=u(Sg(t),1)[0],r=u(wg(e),1)[0],i=u(Se.exports.useState(null),2),o=i[0],a=i[1];return Se.exports.useEffect((function(){r&&t&&n&&function(e,t,n){var r=c(n.qStateNames||[]).map((function(e){return{stateName:e,qSelectionObjectDef:{qStateName:e}}}));(t&&t.alternateStates?t.alternateStates.map((function(e){return e.stateName})):[]).join("::")!==(n.qStateNames||[]).map((function(e){return e})).join("::")&&e.applyPatches([{qOp:"replace",qPath:"/alternateStates",qValue:JSON.stringify(r)}],!0)}(t,n,r)}),[r,t,n]),Se.exports.useEffect((function(){if(n){var e=!1,t=!1,r=!1;[n].concat(c(n.alternateStates||[])).forEach((function(n){e=e||n.qSelectionObject&&n.qSelectionObject.qBackCount>0,t=t||n.qSelectionObject&&n.qSelectionObject.qForwardCount>0,r=r||(n.qSelectionObject&&n.qSelectionObject.qSelections||[]).filter((function(e){return!0!==e.qLocked})).length>0})),a({canGoBack:e,canGoForward:t,canClear:r})}}),[n]),[o,t,n]}var Ig=u(tg({}),2)[0],Lg=u(tg({}),2),Tg=Lg[0],kg=Lg[1],Dg=u(tg({}),2),qg=Dg[0],Pg=Dg[1],Ag=u(tg({}),2),Mg=Ag[0],Fg=Ag[1];function jg(e){if(!e.session)return[];var t=u(Ng(e),3),n=t[0],r=t[1],i=t[2],a=u(Ig(),1)[0],s=e?e.id:null,l=a.get(s);return Se.exports.useEffect((function(){e&&r&&i&&n&&!l&&(l=function(e){var t=e.app,n=e.currentSelectionsLayout,r=e.navState,i="".concat(t.id),a=function(){var e=o(regeneratorRuntime.mark((function e(){var t,n,r=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=!(r.length>0&&void 0!==r[0])||r[0],!(n=Fg.get(i))){e.next=8;break}return e.next=5,n.endSelections(t);case 5:Fg.clear(i),Pg.get(n.id).emit("deactivated");case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),s={begin:function(){var e=o(regeneratorRuntime.mark((function e(n,r){var s,l,u,c=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s=!(c.length>2&&void 0!==c[2])||c[2],n!==Fg.get(i)){e.next=3;break}return e.abrupt("return");case 3:return a(s),Fg.set(i,n),l=Array.isArray(r)?r:[r],u=function(){var e=o(regeneratorRuntime.mark((function e(r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,n.beginSelections(l);case 3:Fg.set(i,n),e.next=15;break;case 6:if(e.prev=6,e.t0=e.catch(0),6003!==e.t0.code||r){e.next=14;break}return e.next=11,t.abortModal(s);case 11:u(!0),e.next=15;break;case 14:Fg.clear(i);case 15:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(t){return e.apply(this,arguments)}}(),e.next=9,u();case 9:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),end:a};return kg.set(i,s),{model:t,isInModal:function(){return!!Fg.get(i)},isModal:function(e){return e?Fg.get(i)===e:!!Fg.get(i)},canGoForward:function(){return r.canGoForward},canGoBack:function(){return r.canGoBack},canClear:function(){return r.canClear},layout:function(){return n},forward:function(){return s.end().then((function(){return t.forward()}))},back:function(){return s.end().then((function(){return t.back()}))},clear:function(){return s.end().then((function(){return t.clearAll()}))},clearField:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"$";return s.end().then((function(){return t.getField(e,n).then((function(e){return e.clear()}))}))}}}({app:e,currentSelectionsLayout:i,navState:n}),a.set(s,l),a.dispatch(!0))}),[e,r,i,n]),[l,n]}var Vg=0,zg=Se.exports.forwardRef((function(e,t){var n=e.initialContext,r=u(jg(e.app),1)[0],i=u(Se.exports.useState(n),2),o=i[0],a=i[1],s=u(Se.exports.useState(),2),l=s[0],d=s[1],f=Se.exports.useMemo((function(){return{theme:Jy(l),generator:Zd({productionPrefix:"".concat("6a15"),disableGlobal:!0,seed:"njs-".concat(Vg++)})}}),[l]),p=f.theme,h=f.generator,m=u(Se.exports.useState([]),2),y=m[0],g=m[1];return Se.exports.useImperativeHandle(t,(function(){return{addComponent:function(e){g([].concat(c(y),[e]))},removeComponent:function(e){var t=y.indexOf(e);-1!==t&&(y.splice(t,1),g(c(y)))},setMuiThemeName:d,setContext:a,getAppSelections:function(){return r}}})),ot.createElement(Zh,{generateClassName:h},ot.createElement(wm,{theme:p},ot.createElement(eg.Provider,{value:o},ot.createElement(ot.Fragment,null,y))))}));function Bg(e){var t,n,r=e.app,i=e.context,a=new Promise((function(e){t=e})),s=ot.createRef(),l=document.createElement("div");return l.style.display="none",l.setAttribute("data-nebulajs-version","1.7.0"),l.setAttribute("data-app-id",r.id),document.body.appendChild(l),ud.render(ot.createElement(zg,{ref:s,app:r,initialContext:i}),l,t),[{add:function(e){o(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a;case 2:s.current.addComponent(e);case 3:case"end":return t.stop()}}),t)})))()},remove:function(e){o(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a;case 2:s.current.removeComponent(e);case 3:case"end":return t.stop()}}),t)})))()},setMuiThemeName:function(e){o(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a;case 2:s.current.setMuiThemeName(e);case 3:case"end":return t.stop()}}),t)})))()},context:function(e){o(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a;case 2:s.current.setContext(e);case 3:case"end":return t.stop()}}),t)})))()},getAppSelections:(n=o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a;case 2:return e.abrupt("return",s.current.getAppSelections());case 3:case"end":return e.stop()}}),e)}))),function(){return n.apply(this,arguments)})},s,a]}function Ug(e){if("string"!=typeof e)throw new Error(gd(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Hg(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return null==t?e:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e.apply(this,r),t.apply(this,r)}}),(function(){}))}function Gg(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var a=this,s=function(){e.apply(a,i)};clearTimeout(t),t=setTimeout(s,n)}return r.clear=function(){clearTimeout(t)},r}function Wg(e){return e&&e.ownerDocument||document}function $g(e){return Wg(e).defaultView||window}function Kg(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var Qg="undefined"!=typeof window?Se.exports.useLayoutEffect:Se.exports.useEffect;function Xg(e){var t=Se.exports.useRef(e);return Qg((function(){t.current=e})),Se.exports.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}function Zg(e,t){return Se.exports.useMemo((function(){return null==e&&null==t?null:function(n){Kg(e,n),Kg(t,n)}}),[e,t])}var Yg=!0,Jg=!1,ev=null,tv={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function nv(e){e.metaKey||e.altKey||e.ctrlKey||(Yg=!0)}function rv(){Yg=!1}function iv(){"hidden"===this.visibilityState&&Jg&&(Yg=!0)}function ov(e){var t=e.target;try{return t.matches(":focus-visible")}catch(e){}return Yg||function(e){var t=e.tagName;return!("INPUT"!==t||!tv[e.type]||e.readOnly)||"TEXTAREA"===t&&!e.readOnly||!!e.isContentEditable}(t)}function av(){Jg=!0,window.clearTimeout(ev),ev=window.setTimeout((function(){Jg=!1}),100)}function sv(){return(sv=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function lv(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}function uv(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var cv=ot.createContext(null),dv="unmounted",fv="exited",pv="entering",hv="entered",mv="exiting",yv=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i=fv,r.appearStatus=pv):i=hv:i=t.unmountOnExit||t.mountOnEnter?dv:fv,r.state={status:i},r.nextCallback=null,r}uv(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===dv?{status:fv}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==pv&&n!==hv&&(t=pv):n!==pv&&n!==hv||(t=mv)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===pv?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===fv&&this.setState({status:dv})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[ud.findDOMNode(this),r],o=i[0],a=i[1],s=this.getTimeouts(),l=r?s.appear:s.enter;e||n?(this.props.onEnter(o,a),this.safeSetState({status:pv},(function(){t.props.onEntering(o,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:hv},(function(){t.props.onEntered(o,a)}))}))}))):this.safeSetState({status:hv},(function(){t.props.onEntered(o)}))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:ud.findDOMNode(this);t?(this.props.onExit(r),this.safeSetState({status:mv},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:fv},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:fv},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:ud.findDOMNode(this);if(n&&(null!=e||this.props.addEndListener)){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback];this.props.addEndListener(r[0],r[1])}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===dv)return null;var t=this.props,n=t.children,r=lv(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return ot.createElement(cv.Provider,{value:null},"function"==typeof n?n(e,r):ot.cloneElement(ot.Children.only(n),r))},t}(ot.Component);function gv(){}yv.contextType=cv,yv.propTypes={},yv.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:gv,onEntering:gv,onEntered:gv,onExit:gv,onExiting:gv,onExited:gv},yv.UNMOUNTED=dv,yv.EXITED=fv,yv.ENTERING=pv,yv.ENTERED=hv,yv.EXITING=mv;var vv=yv;function bv(e,t){var n=Object.create(null);return e&&Se.exports.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&Se.exports.isValidElement(e)?t(e):e}(e)})),n}function Ev(e,t,n){return null!=n[t]?n[t]:e.props[t]}function _v(e,t,n){var r=bv(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var a in e)a in t?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var l in t){if(i[l])for(r=0;r<i[l].length;r++)s[i[l][r]]=n(i[l][r]);s[l]=n(l)}for(r=0;r<o.length;r++)s[o[r]]=n(o[r]);return s}(t,r);return Object.keys(i).forEach((function(o){var a=i[o];if(Se.exports.isValidElement(a)){var s=o in t,l=o in r,u=t[o],c=Se.exports.isValidElement(u)&&!u.props.in;!l||s&&!c?l||!s||c?l&&s&&Se.exports.isValidElement(u)&&(i[o]=Se.exports.cloneElement(a,{onExited:n.bind(null,a),in:u.props.in,exit:Ev(a,"exit",e),enter:Ev(a,"enter",e)})):i[o]=Se.exports.cloneElement(a,{in:!1}):i[o]=Se.exports.cloneElement(a,{onExited:n.bind(null,a),in:!0,exit:Ev(a,"exit",e),enter:Ev(a,"enter",e)})}})),i}var Cv=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Sv=function(e){function t(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}uv(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,i=t.children,o=t.handleExited;return{children:t.firstRender?(n=e,r=o,bv(n.children,(function(e){return Se.exports.cloneElement(e,{onExited:r.bind(null,e),in:!0,appear:Ev(e,"appear",n),enter:Ev(e,"enter",n),exit:Ev(e,"exit",n)})}))):_v(e,i,o),firstRender:!1}},n.handleExited=function(e,t){var n=bv(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=sv({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=lv(e,["component","childFactory"]),i=this.state.contextValue,o=Cv(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,ot.createElement(cv.Provider,{value:i},null===t?o:ot.createElement(t,r,o))},t}(ot.Component);Sv.propTypes={},Sv.defaultProps={component:"div",childFactory:function(e){return e}};var wv=Sv;function xv(e,t){var n=e.timeout,r=e.style,i=void 0===r?{}:r;return{duration:i.transitionDuration||"number"==typeof n?n:n[t.mode]||0,delay:i.transitionDelay}}var Ov=Se.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,o=void 0===i?"div":i,a=e.square,s=void 0!==a&&a,l=e.elevation,u=void 0===l?1:l,c=e.variant,d=void 0===c?"elevation":c,f=Tm(e,["classes","className","component","square","elevation","variant"]);return Se.exports.createElement(o,km({className:um(n.root,r,"outlined"===d?n.outlined:n["elevation".concat(u)],!s&&n.rounded),ref:t},f))})),Rv=zy((function(e){var t={};return e.shadows.forEach((function(e,n){t["elevation".concat(n)]={boxShadow:e}})),km({root:{backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},rounded:{borderRadius:e.shape.borderRadius},outlined:{border:"1px solid ".concat(e.palette.divider)}},t)}),{name:"MuiPaper"})(Ov);function Nv(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Iv="undefined"==typeof window?Se.exports.useEffect:Se.exports.useLayoutEffect;function Lv(e){var t=e.classes,n=e.pulsate,r=void 0!==n&&n,i=e.rippleX,o=e.rippleY,a=e.rippleSize,s=e.in,l=e.onExited,u=void 0===l?function(){}:l,c=e.timeout,d=Se.exports.useState(!1),f=d[0],p=d[1],h=um(t.ripple,t.rippleVisible,r&&t.ripplePulsate),m={width:a,height:a,top:-a/2+o,left:-a/2+i},y=um(t.child,f&&t.childLeaving,r&&t.childPulsate),g=Xg(u);return Iv((function(){if(!s){p(!0);var e=setTimeout(g,c);return function(){clearTimeout(e)}}}),[g,s,c]),Se.exports.createElement("span",{className:h,style:m},Se.exports.createElement("span",{className:y}))}var Tv=Se.exports.forwardRef((function(e,t){var n=e.center,r=void 0!==n&&n,i=e.classes,o=e.className,a=Tm(e,["center","classes","className"]),s=Se.exports.useState([]),l=s[0],u=s[1],c=Se.exports.useRef(0),d=Se.exports.useRef(null);Se.exports.useEffect((function(){d.current&&(d.current(),d.current=null)}),[l]);var f=Se.exports.useRef(!1),p=Se.exports.useRef(null),h=Se.exports.useRef(null),m=Se.exports.useRef(null);Se.exports.useEffect((function(){return function(){clearTimeout(p.current)}}),[]);var y=Se.exports.useCallback((function(e){var t=e.pulsate,n=e.rippleX,r=e.rippleY,o=e.rippleSize,a=e.cb;u((function(e){return[].concat(Nv(e),[Se.exports.createElement(Lv,{key:c.current,classes:i,timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o})])})),c.current+=1,d.current=a}),[i]),g=Se.exports.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,i=t.pulsate,o=void 0!==i&&i,a=t.center,s=void 0===a?r||t.pulsate:a,l=t.fakeElement,u=void 0!==l&&l;if("mousedown"===e.type&&f.current)f.current=!1;else{"touchstart"===e.type&&(f.current=!0);var c,d,g,v=u?null:m.current,b=v?v.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(s||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(b.width/2),d=Math.round(b.height/2);else{var E=e.touches?e.touches[0]:e,_=E.clientY;c=Math.round(E.clientX-b.left),d=Math.round(_-b.top)}if(s)(g=Math.sqrt((2*Math.pow(b.width,2)+Math.pow(b.height,2))/3))%2==0&&(g+=1);else{var C=2*Math.max(Math.abs((v?v.clientWidth:0)-c),c)+2,S=2*Math.max(Math.abs((v?v.clientHeight:0)-d),d)+2;g=Math.sqrt(Math.pow(C,2)+Math.pow(S,2))}e.touches?null===h.current&&(h.current=function(){y({pulsate:o,rippleX:c,rippleY:d,rippleSize:g,cb:n})},p.current=setTimeout((function(){h.current&&(h.current(),h.current=null)}),80)):y({pulsate:o,rippleX:c,rippleY:d,rippleSize:g,cb:n})}}),[r,y]),v=Se.exports.useCallback((function(){g({},{pulsate:!0})}),[g]),b=Se.exports.useCallback((function(e,t){if(clearTimeout(p.current),"touchend"===e.type&&h.current)return e.persist(),h.current(),h.current=null,void(p.current=setTimeout((function(){b(e,t)})));h.current=null,u((function(e){return e.length>0?e.slice(1):e})),d.current=t}),[]);return Se.exports.useImperativeHandle(t,(function(){return{pulsate:v,start:g,stop:b}}),[v,g,b]),Se.exports.createElement("span",km({className:um(i.root,o),ref:m},a),Se.exports.createElement(wv,{component:null,exit:!0},l))})),kv=zy((function(e){return{root:{overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"},ripple:{opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"$enter ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(e.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"$exit ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"$pulsate 2500ms ".concat(e.transitions.easing.easeInOut," 200ms infinite")},"@keyframes enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}}),{flip:!1,name:"MuiTouchRipple"})(Se.exports.memo(Tv)),Dv=Se.exports.forwardRef((function(e,t){var n=e.action,r=e.buttonRef,i=e.centerRipple,o=void 0!==i&&i,a=e.children,s=e.classes,l=e.className,u=e.component,c=void 0===u?"button":u,d=e.disabled,f=void 0!==d&&d,p=e.disableRipple,h=void 0!==p&&p,m=e.disableTouchRipple,y=void 0!==m&&m,g=e.focusRipple,v=void 0!==g&&g,b=e.focusVisibleClassName,E=e.onBlur,_=e.onClick,C=e.onFocus,S=e.onFocusVisible,w=e.onKeyDown,x=e.onKeyUp,O=e.onMouseDown,R=e.onMouseLeave,N=e.onMouseUp,I=e.onTouchEnd,L=e.onTouchMove,T=e.onTouchStart,k=e.onDragLeave,D=e.tabIndex,q=void 0===D?0:D,P=e.TouchRippleProps,A=e.type,M=void 0===A?"button":A,F=Tm(e,["action","buttonRef","centerRipple","children","classes","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","onBlur","onClick","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","onDragLeave","tabIndex","TouchRippleProps","type"]),j=Se.exports.useRef(null),V=Se.exports.useRef(null),z=Se.exports.useState(!1),B=z[0],U=z[1];f&&B&&U(!1);var H={isFocusVisible:ov,onBlurVisible:av,ref:Se.exports.useCallback((function(e){var t,n=at.exports.findDOMNode(e);null!=n&&((t=n.ownerDocument).addEventListener("keydown",nv,!0),t.addEventListener("mousedown",rv,!0),t.addEventListener("pointerdown",rv,!0),t.addEventListener("touchstart",rv,!0),t.addEventListener("visibilitychange",iv,!0))}),[])},G=H.isFocusVisible,W=H.onBlurVisible,$=H.ref;function K(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y;return Xg((function(r){return t&&t(r),!n&&V.current&&V.current[e](r),!0}))}Se.exports.useImperativeHandle(n,(function(){return{focusVisible:function(){U(!0),j.current.focus()}}}),[]),Se.exports.useEffect((function(){B&&v&&!h&&V.current.pulsate()}),[h,v,B]);var Q=K("start",O),X=K("stop",k),Z=K("stop",N),Y=K("stop",(function(e){B&&e.preventDefault(),R&&R(e)})),J=K("start",T),ee=K("stop",I),te=K("stop",L),ne=K("stop",(function(e){B&&(W(e),U(!1)),E&&E(e)}),!1),re=Xg((function(e){j.current||(j.current=e.currentTarget),G(e)&&(U(!0),S&&S(e)),C&&C(e)})),ie=function(){var e=at.exports.findDOMNode(j.current);return c&&"button"!==c&&!("A"===e.tagName&&e.href)},oe=Se.exports.useRef(!1),ae=Xg((function(e){v&&!oe.current&&B&&V.current&&" "===e.key&&(oe.current=!0,e.persist(),V.current.stop(e,(function(){V.current.start(e)}))),e.target===e.currentTarget&&ie()&&" "===e.key&&e.preventDefault(),w&&w(e),e.target===e.currentTarget&&ie()&&"Enter"===e.key&&!f&&(e.preventDefault(),_&&_(e))})),se=Xg((function(e){v&&" "===e.key&&V.current&&B&&!e.defaultPrevented&&(oe.current=!1,e.persist(),V.current.stop(e,(function(){V.current.pulsate(e)}))),x&&x(e),_&&e.target===e.currentTarget&&ie()&&" "===e.key&&!e.defaultPrevented&&_(e)})),le=c;"button"===le&&F.href&&(le="a");var ue={};"button"===le?(ue.type=M,ue.disabled=f):("a"===le&&F.href||(ue.role="button"),ue["aria-disabled"]=f);var ce=Zg(r,t),de=Zg($,j),fe=Zg(ce,de),pe=Se.exports.useState(!1),he=pe[0],me=pe[1];Se.exports.useEffect((function(){me(!0)}),[]);var ye=he&&!h&&!f;return Se.exports.createElement(le,km({className:um(s.root,l,B&&[s.focusVisible,b],f&&s.disabled),onBlur:ne,onClick:_,onFocus:re,onKeyDown:ae,onKeyUp:se,onMouseDown:Q,onMouseLeave:Y,onMouseUp:Z,onDragLeave:X,onTouchEnd:ee,onTouchMove:te,onTouchStart:J,ref:fe,tabIndex:f?-1:q},ue,F),a,ye?Se.exports.createElement(kv,km({ref:V,center:o},P)):null)})),qv=zy({root:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},"&$disabled":{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}},disabled:{},focusVisible:{}},{name:"MuiButtonBase"})(Dv),Pv=Se.exports.forwardRef((function(e,t){var n=e.edge,r=void 0!==n&&n,i=e.children,o=e.classes,a=e.className,s=e.color,l=void 0===s?"default":s,u=e.disabled,c=void 0!==u&&u,d=e.disableFocusRipple,f=void 0!==d&&d,p=e.size,h=void 0===p?"medium":p,m=Tm(e,["edge","children","classes","className","color","disabled","disableFocusRipple","size"]);return Se.exports.createElement(qv,km({className:um(o.root,a,"default"!==l&&o["color".concat(Ug(l))],c&&o.disabled,"small"===h&&o["size".concat(Ug(h))],{start:o.edgeStart,end:o.edgeEnd}[r]),centerRipple:!0,focusRipple:!f,disabled:c,ref:t},m),Se.exports.createElement("span",{className:o.label},i))})),Av=zy((function(e){return{root:{textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:12,borderRadius:"50%",overflow:"visible",color:e.palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{backgroundColor:Im(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{backgroundColor:"transparent",color:e.palette.action.disabled}},edgeStart:{marginLeft:-12,"$sizeSmall&":{marginLeft:-3}},edgeEnd:{marginRight:-12,"$sizeSmall&":{marginRight:-3}},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:Im(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:Im(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},disabled:{},sizeSmall:{padding:3,fontSize:e.typography.pxToRem(18)},label:{width:"100%",display:"flex",alignItems:"inherit",justifyContent:"inherit"}}}),{name:"MuiIconButton"})(Pv),Mv=Se.exports.forwardRef((function(e,t){var n=e.anchorOrigin,r=void 0===n?{vertical:"top",horizontal:"right"}:n,i=e.badgeContent,o=e.children,a=e.classes,s=e.className,l=e.color,u=void 0===l?"default":l,c=e.component,d=void 0===c?"span":c,f=e.invisible,p=e.max,h=void 0===p?99:p,m=e.overlap,y=void 0===m?"rectangle":m,g=e.showZero,v=void 0!==g&&g,b=e.variant,E=void 0===b?"standard":b,_=Tm(e,["anchorOrigin","badgeContent","children","classes","className","color","component","invisible","max","overlap","showZero","variant"]),C=f;null==f&&(0===i&&!v||null==i&&"dot"!==E)&&(C=!0);var S="";return"dot"!==E&&(S=i>h?"".concat(h,"+"):i),Se.exports.createElement(d,km({className:um(a.root,s),ref:t},_),o,Se.exports.createElement("span",{className:um(a.badge,a["".concat(r.horizontal).concat(Ug(r.vertical),"}")],a["anchorOrigin".concat(Ug(r.vertical)).concat(Ug(r.horizontal)).concat(Ug(y))],"default"!==u&&a["color".concat(Ug(u))],C&&a.invisible,"dot"===E&&a.dot)},S))})),Fv=zy((function(e){return{root:{position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0},badge:{display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen})},colorPrimary:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText},colorSecondary:{backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText},colorError:{backgroundColor:e.palette.error.main,color:e.palette.error.contrastText},dot:{borderRadius:4,height:8,minWidth:8,padding:0},anchorOriginTopRightRectangle:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginTopRightRectangular:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginBottomRightRectangle:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginBottomRightRectangular:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginTopLeftRectangle:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginTopLeftRectangular:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginBottomLeftRectangle:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},anchorOriginBottomLeftRectangular:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},anchorOriginTopRightCircle:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginTopRightCircular:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginBottomRightCircle:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginBottomRightCircular:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginTopLeftCircle:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginTopLeftCircular:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginBottomLeftCircle:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},anchorOriginBottomLeftCircular:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},invisible:{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}}}),{name:"MuiBadge"})(Mv),jv=function(e){var t=function(t){var n=e(t);return t.css?Xm({},Jm(n,e(Xm({theme:t.theme},t.css))),ly(t.css,[e.filterProps])):t.sx?Xm({},Jm(n,e(Xm({theme:t.theme},t.sx))),ly(t.sx,[e.filterProps])):n};return t.propTypes={},t.filterProps=["css","sx"].concat(function(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}(e.filterProps)),t}(oy(sy,uy,cy,dy,py,fy,hy,Cy,Iy,Ly)),Vv=function(e){var t=function(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.name,o=Vh(r,["name"]),a=sm("function"==typeof t?function(e){return{root:function(n){return t(zh({theme:e},n))}}}:{root:t},zh({Component:e,name:i||e.displayName,classNamePrefix:i},o));t.filterProps&&(n=t.filterProps,delete t.filterProps),t.propTypes&&delete t.propTypes;var s=ot.forwardRef((function(t,r){var i=t.children,o=t.className,s=t.clone,l=t.component,u=Vh(t,["children","className","clone","component"]),c=um(a(t).root,o),d=u;return n&&(d=Sm(d,n)),s?ot.cloneElement(i,zh({className:um(i.props.className,c)},d)):"function"==typeof i?i(zh({className:c},d)):ot.createElement(l||e,zh({ref:r,className:c},d),i)}));return Cm(s,e),s}}("div");return function(e,n){return t(e,km({defaultTheme:Fy},n))}}()(jv,{name:"MuiBox"}),zv={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p"},Bv=Se.exports.forwardRef((function(e,t){var n=e.align,r=void 0===n?"inherit":n,i=e.classes,o=e.className,a=e.color,s=void 0===a?"initial":a,l=e.component,u=e.display,c=void 0===u?"initial":u,d=e.gutterBottom,f=void 0!==d&&d,p=e.noWrap,h=void 0!==p&&p,m=e.paragraph,y=void 0!==m&&m,g=e.variant,v=void 0===g?"body1":g,b=e.variantMapping,E=void 0===b?zv:b,_=Tm(e,["align","classes","className","color","component","display","gutterBottom","noWrap","paragraph","variant","variantMapping"]);return Se.exports.createElement(l||(y?"p":E[v]||zv[v])||"span",km({className:um(i.root,o,"inherit"!==v&&i[v],"initial"!==s&&i["color".concat(Ug(s))],h&&i.noWrap,f&&i.gutterBottom,y&&i.paragraph,"inherit"!==r&&i["align".concat(Ug(r))],"initial"!==c&&i["display".concat(Ug(c))]),ref:t},_))})),Uv=zy((function(e){return{root:{margin:0},body2:e.typography.body2,body1:e.typography.body1,caption:e.typography.caption,button:e.typography.button,h1:e.typography.h1,h2:e.typography.h2,h3:e.typography.h3,h4:e.typography.h4,h5:e.typography.h5,h6:e.typography.h6,subtitle1:e.typography.subtitle1,subtitle2:e.typography.subtitle2,overline:e.typography.overline,srOnly:{position:"absolute",height:1,width:1,overflow:"hidden"},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right"},alignJustify:{textAlign:"justify"},noWrap:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},gutterBottom:{marginBottom:"0.35em"},paragraph:{marginBottom:16},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorTextPrimary:{color:e.palette.text.primary},colorTextSecondary:{color:e.palette.text.secondary},colorError:{color:e.palette.error.main},displayInline:{display:"inline"},displayBlock:{display:"block"}}}),{name:"MuiTypography"})(Bv),Hv=Se.exports.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,o=e.color,a=void 0===o?"default":o,s=e.component,l=void 0===s?"button":s,u=e.disabled,c=void 0!==u&&u,d=e.disableElevation,f=void 0!==d&&d,p=e.disableFocusRipple,h=void 0!==p&&p,m=e.endIcon,y=e.focusVisibleClassName,g=e.fullWidth,v=void 0!==g&&g,b=e.size,E=void 0===b?"medium":b,_=e.startIcon,C=e.type,S=void 0===C?"button":C,w=e.variant,x=void 0===w?"text":w,O=Tm(e,["children","classes","className","color","component","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"]),R=_&&Se.exports.createElement("span",{className:um(r.startIcon,r["iconSize".concat(Ug(E))])},_),N=m&&Se.exports.createElement("span",{className:um(r.endIcon,r["iconSize".concat(Ug(E))])},m);return Se.exports.createElement(qv,km({className:um(r.root,r[x],i,"inherit"===a?r.colorInherit:"default"!==a&&r["".concat(x).concat(Ug(a))],"medium"!==E&&[r["".concat(x,"Size").concat(Ug(E))],r["size".concat(Ug(E))]],f&&r.disableElevation,c&&r.disabled,v&&r.fullWidth),component:l,disabled:c,focusRipple:!h,focusVisibleClassName:um(r.focusVisible,y),ref:t,type:S},O),Se.exports.createElement("span",{className:r.label},R,n,N))})),Gv=zy((function(e){return{root:km({},e.typography.button,{boxSizing:"border-box",minWidth:64,padding:"6px 16px",borderRadius:e.shape.borderRadius,color:e.palette.text.primary,transition:e.transitions.create(["background-color","box-shadow","border"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none",backgroundColor:Im(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}},"&$disabled":{color:e.palette.action.disabled}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},text:{padding:"6px 8px"},textPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:Im(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:Im(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlined:{padding:"5px 15px",border:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"&$disabled":{border:"1px solid ".concat(e.palette.action.disabledBackground)}},outlinedPrimary:{color:e.palette.primary.main,border:"1px solid ".concat(Im(e.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.primary.main),backgroundColor:Im(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat(Im(e.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.secondary.main),backgroundColor:Im(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{border:"1px solid ".concat(e.palette.action.disabled)}},contained:{color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],boxShadow:e.shadows[2],"&:hover":{backgroundColor:e.palette.grey.A100,boxShadow:e.shadows[4],"@media (hover: none)":{boxShadow:e.shadows[2],backgroundColor:e.palette.grey[300]},"&$disabled":{backgroundColor:e.palette.action.disabledBackground}},"&$focusVisible":{boxShadow:e.shadows[6]},"&:active":{boxShadow:e.shadows[8]},"&$disabled":{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground}},containedPrimary:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark,"@media (hover: none)":{backgroundColor:e.palette.primary.main}}},containedSecondary:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,"&:hover":{backgroundColor:e.palette.secondary.dark,"@media (hover: none)":{backgroundColor:e.palette.secondary.main}}},disableElevation:{boxShadow:"none","&:hover":{boxShadow:"none"},"&$focusVisible":{boxShadow:"none"},"&:active":{boxShadow:"none"},"&$disabled":{boxShadow:"none"}},focusVisible:{},disabled:{},colorInherit:{color:"inherit",borderColor:"currentColor"},textSizeSmall:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},textSizeLarge:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},outlinedSizeSmall:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},outlinedSizeLarge:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},containedSizeSmall:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},containedSizeLarge:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},sizeSmall:{},sizeLarge:{},fullWidth:{width:"100%"},startIcon:{display:"inherit",marginRight:8,marginLeft:-4,"&$iconSizeSmall":{marginLeft:-2}},endIcon:{display:"inherit",marginRight:-4,marginLeft:8,"&$iconSizeSmall":{marginRight:-2}},iconSizeSmall:{"& > *:first-child":{fontSize:18}},iconSizeMedium:{"& > *:first-child":{fontSize:20}},iconSizeLarge:{"& > *:first-child":{fontSize:22}}}}),{name:"MuiButton"})(Hv),Wv=Se.exports.createContext();function $v(){return Se.exports.useContext(Wv)}var Kv=Wv,Qv=44,Xv=Se.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,o=void 0===i?"primary":i,a=e.disableShrink,s=void 0!==a&&a,l=e.size,u=void 0===l?40:l,c=e.style,d=e.thickness,f=void 0===d?3.6:d,p=e.value,h=void 0===p?0:p,m=e.variant,y=void 0===m?"indeterminate":m,g=Tm(e,["classes","className","color","disableShrink","size","style","thickness","value","variant"]),v={},b={},E={};if("determinate"===y||"static"===y){var _=2*Math.PI*((Qv-f)/2);v.strokeDasharray=_.toFixed(3),E["aria-valuenow"]=Math.round(h),v.strokeDashoffset="".concat(((100-h)/100*_).toFixed(3),"px"),b.transform="rotate(-90deg)"}return Se.exports.createElement("div",km({className:um(n.root,r,"inherit"!==o&&n["color".concat(Ug(o))],{determinate:n.determinate,indeterminate:n.indeterminate,static:n.static}[y]),style:km({width:u,height:u},b,c),ref:t,role:"progressbar"},E,g),Se.exports.createElement("svg",{className:n.svg,viewBox:"".concat(22," ").concat(22," ").concat(Qv," ").concat(Qv)},Se.exports.createElement("circle",{className:um(n.circle,s&&n.circleDisableShrink,{determinate:n.circleDeterminate,indeterminate:n.circleIndeterminate,static:n.circleStatic}[y]),style:v,cx:Qv,cy:Qv,r:(Qv-f)/2,fill:"none",strokeWidth:f})))})),Zv=zy((function(e){return{root:{display:"inline-block"},static:{transition:e.transitions.create("transform")},indeterminate:{animation:"$circular-rotate 1.4s linear infinite"},determinate:{transition:e.transitions.create("transform")},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},svg:{display:"block"},circle:{stroke:"currentColor"},circleStatic:{transition:e.transitions.create("stroke-dashoffset")},circleIndeterminate:{animation:"$circular-dash 1.4s ease-in-out infinite",strokeDasharray:"80px, 200px",strokeDashoffset:"0px"},circleDeterminate:{transition:e.transitions.create("stroke-dashoffset")},"@keyframes circular-rotate":{"0%":{transformOrigin:"50% 50%"},"100%":{transform:"rotate(360deg)"}},"@keyframes circular-dash":{"0%":{strokeDasharray:"1px, 200px",strokeDashoffset:"0px"},"50%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-15px"},"100%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-125px"}},circleDisableShrink:{animation:"none"}}}),{name:"MuiCircularProgress",flip:!1})(Xv),Yv="undefined"!=typeof window?Se.exports.useLayoutEffect:Se.exports.useEffect,Jv=Se.exports.forwardRef((function(e,t){var n=e.children,r=e.container,i=e.disablePortal,o=void 0!==i&&i,a=e.onRendered,s=Se.exports.useState(null),l=s[0],u=s[1],c=Zg(Se.exports.isValidElement(n)?n.ref:null,t);return Yv((function(){o||u(function(e){return e="function"==typeof e?e():e,at.exports.findDOMNode(e)}(r)||document.body)}),[r,o]),Yv((function(){if(l&&!o)return Kg(t,l),function(){Kg(t,null)}}),[t,l,o]),Yv((function(){a&&(l||o)&&a()}),[a,l,o]),o?Se.exports.isValidElement(n)?Se.exports.cloneElement(n,{ref:c}):n:l?at.exports.createPortal(n,l):l}));function eb(){var e=document.createElement("div");e.style.width="99px",e.style.height="99px",e.style.position="absolute",e.style.top="-9999px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}function tb(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function nb(e){return parseInt(window.getComputedStyle(e)["padding-right"],10)||0}function rb(e,t,n){var r=arguments.length>4?arguments[4]:void 0,i=[t,n].concat(Nv(arguments.length>3&&void 0!==arguments[3]?arguments[3]:[])),o=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(function(e){1===e.nodeType&&-1===i.indexOf(e)&&-1===o.indexOf(e.tagName)&&tb(e,r)}))}function ib(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}var ob=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.modals=[],this.containers=[]}var t;return(t=[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&tb(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,(function(e){e.getAttribute&&"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);rb(t,e.mountNode,e.modalRef,r,!0);var i=ib(this.containers,(function(e){return e.container===t}));return-1!==i?(this.containers[i].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblingNodes:r}),n)}},{key:"mount",value:function(e,t){var n=ib(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=function(e,t){var n,r=[],i=[],o=e.container;if(!t.disableScrollLock){if(function(e){var t=Wg(e);return t.body===e?$g(t).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(o)){var a=eb();r.push({value:o.style.paddingRight,key:"padding-right",el:o}),o.style["padding-right"]="".concat(nb(o)+a,"px"),n=Wg(o).querySelectorAll(".mui-fixed"),[].forEach.call(n,(function(e){i.push(e.style.paddingRight),e.style.paddingRight="".concat(nb(e)+a,"px")}))}var s=o.parentElement,l="HTML"===s.nodeName&&"scroll"===window.getComputedStyle(s)["overflow-y"]?s:o;r.push({value:l.style.overflow,key:"overflow",el:l}),l.style.overflow="hidden"}return function(){n&&[].forEach.call(n,(function(e,t){i[t]?e.style.paddingRight=i[t]:e.style.removeProperty("padding-right")})),r.forEach((function(e){var t=e.value,n=e.el,r=e.key;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}(r,t))}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(-1===t)return t;var n=ib(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&tb(e.modalRef,!0),rb(r.container,e.mountNode,e.modalRef,r.hiddenSiblingNodes,!1),this.containers.splice(n,1);else{var i=r.modals[r.modals.length-1];i.modalRef&&tb(i.modalRef,!1)}return t}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}();function ab(e){var t=e.children,n=e.disableAutoFocus,r=void 0!==n&&n,i=e.disableEnforceFocus,o=void 0!==i&&i,a=e.disableRestoreFocus,s=void 0!==a&&a,l=e.getDoc,u=e.isEnabled,c=e.open,d=Se.exports.useRef(),f=Se.exports.useRef(null),p=Se.exports.useRef(null),h=Se.exports.useRef(),m=Se.exports.useRef(null),y=Se.exports.useCallback((function(e){m.current=at.exports.findDOMNode(e)}),[]),g=Zg(t.ref,y),v=Se.exports.useRef();return Se.exports.useEffect((function(){v.current=c}),[c]),!v.current&&c&&"undefined"!=typeof window&&(h.current=l().activeElement),Se.exports.useEffect((function(){if(c){var e=Wg(m.current);r||!m.current||m.current.contains(e.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex",-1),m.current.focus());var t=function(){null!==m.current&&(e.hasFocus()&&!o&&u()&&!d.current?m.current&&!m.current.contains(e.activeElement)&&m.current.focus():d.current=!1)},n=function(t){!o&&u()&&9===t.keyCode&&e.activeElement===m.current&&(d.current=!0,t.shiftKey?p.current.focus():f.current.focus())};e.addEventListener("focus",t,!0),e.addEventListener("keydown",n,!0);var i=setInterval((function(){t()}),50);return function(){clearInterval(i),e.removeEventListener("focus",t,!0),e.removeEventListener("keydown",n,!0),s||(h.current&&h.current.focus&&h.current.focus(),h.current=null)}}}),[r,o,s,u,c]),Se.exports.createElement(Se.exports.Fragment,null,Se.exports.createElement("div",{tabIndex:0,ref:f,"data-test":"sentinelStart"}),Se.exports.cloneElement(t,{ref:g}),Se.exports.createElement("div",{tabIndex:0,ref:p,"data-test":"sentinelEnd"}))}var sb={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},lb=Se.exports.forwardRef((function(e,t){var n=e.invisible,r=void 0!==n&&n,i=e.open,o=Tm(e,["invisible","open"]);return i?Se.exports.createElement("div",km({"aria-hidden":!0,ref:t},o,{style:km({},sb.root,r?sb.invisible:{},o.style)})):null})),ub=new ob,cb=Se.exports.forwardRef((function(e,t){var n=Wh(),r=Yd({name:"MuiModal",props:km({},e),theme:n}),i=r.BackdropComponent,o=void 0===i?lb:i,a=r.BackdropProps,s=r.children,l=r.closeAfterTransition,u=void 0!==l&&l,c=r.container,d=r.disableAutoFocus,f=void 0!==d&&d,p=r.disableBackdropClick,h=void 0!==p&&p,m=r.disableEnforceFocus,y=void 0!==m&&m,g=r.disableEscapeKeyDown,v=void 0!==g&&g,b=r.disablePortal,E=void 0!==b&&b,_=r.disableRestoreFocus,C=void 0!==_&&_,S=r.disableScrollLock,w=void 0!==S&&S,x=r.hideBackdrop,O=void 0!==x&&x,R=r.keepMounted,N=void 0!==R&&R,I=r.manager,L=void 0===I?ub:I,T=r.onBackdropClick,k=r.onClose,D=r.onEscapeKeyDown,q=r.onRendered,P=r.open,A=Tm(r,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),M=Se.exports.useState(!0),F=M[0],j=M[1],V=Se.exports.useRef({}),z=Se.exports.useRef(null),B=Se.exports.useRef(null),U=Zg(B,t),H=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(r),G=function(){return Wg(z.current)},W=function(){return V.current.modalRef=B.current,V.current.mountNode=z.current,V.current},$=function(){L.mount(W(),{disableScrollLock:w}),B.current.scrollTop=0},K=Xg((function(){var e=function(e){return e="function"==typeof e?e():e,at.exports.findDOMNode(e)}(c)||G().body;L.add(W(),e),B.current&&$()})),Q=Se.exports.useCallback((function(){return L.isTopModal(W())}),[L]),X=Xg((function(e){z.current=e,e&&(q&&q(),P&&Q()?$():tb(B.current,!0))})),Z=Se.exports.useCallback((function(){L.remove(W())}),[L]);if(Se.exports.useEffect((function(){return function(){Z()}}),[Z]),Se.exports.useEffect((function(){P?K():H&&u||Z()}),[P,Z,H,u,K]),!N&&!P&&(!H||F))return null;var Y=function(e){return{root:{position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(n||{zIndex:Ay}),J={};return void 0===s.props.tabIndex&&(J.tabIndex=s.props.tabIndex||"-1"),H&&(J.onEnter=Hg((function(){j(!1)}),s.props.onEnter),J.onExited=Hg((function(){j(!0),u&&Z()}),s.props.onExited)),Se.exports.createElement(Jv,{ref:X,container:c,disablePortal:E},Se.exports.createElement("div",km({ref:U,onKeyDown:function(e){"Escape"===e.key&&Q()&&(D&&D(e),v||(e.stopPropagation(),k&&k(e,"escapeKeyDown")))},role:"presentation"},A,{style:km({},Y.root,!P&&F?Y.hidden:{},A.style)}),O?null:Se.exports.createElement(o,km({open:P,onClick:function(e){e.target===e.currentTarget&&(T&&T(e),!h&&k&&k(e,"backdropClick"))}},a)),Se.exports.createElement(ab,{disableEnforceFocus:y,disableAutoFocus:f,disableRestoreFocus:C,getDoc:G,isEnabled:Q,open:P},Se.exports.cloneElement(s,J))))})),db=Se.exports.forwardRef((function(e,t){var n=e.absolute,r=void 0!==n&&n,i=e.classes,o=e.className,a=e.component,s=void 0===a?"hr":a,l=e.flexItem,u=void 0!==l&&l,c=e.light,d=void 0!==c&&c,f=e.orientation,p=void 0===f?"horizontal":f,h=e.role,m=void 0===h?"hr"!==s?"separator":void 0:h,y=e.variant,g=void 0===y?"fullWidth":y,v=Tm(e,["absolute","classes","className","component","flexItem","light","orientation","role","variant"]);return Se.exports.createElement(s,km({className:um(i.root,o,"fullWidth"!==g&&i[g],r&&i.absolute,u&&i.flexItem,d&&i.light,"vertical"===p&&i.vertical),role:m,ref:t},v))})),fb=zy((function(e){return{root:{height:1,margin:0,border:"none",flexShrink:0,backgroundColor:e.palette.divider},absolute:{position:"absolute",bottom:0,left:0,width:"100%"},inset:{marginLeft:72},light:{backgroundColor:Im(e.palette.divider,.08)},middle:{marginLeft:e.spacing(2),marginRight:e.spacing(2)},vertical:{height:"100%",width:1},flexItem:{alignSelf:"stretch",height:"auto"}}}),{name:"MuiDivider"})(db);function pb(e,t){return parseInt(e[t],10)||0}var hb="undefined"!=typeof window?Se.exports.useLayoutEffect:Se.exports.useEffect,mb={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},yb=Se.exports.forwardRef((function(e,t){var n=e.onChange,r=e.rows,i=e.rowsMax,o=e.rowsMin,a=e.maxRows,s=e.minRows,l=void 0===s?1:s,u=e.style,c=e.value,d=Tm(e,["onChange","rows","rowsMax","rowsMin","maxRows","minRows","style","value"]),f=a||i,p=r||o||l,h=Se.exports.useRef(null!=c).current,m=Se.exports.useRef(null),y=Zg(t,m),g=Se.exports.useRef(null),v=Se.exports.useRef(0),b=Se.exports.useState({}),E=b[0],_=b[1],C=Se.exports.useCallback((function(){var t=m.current,n=window.getComputedStyle(t),r=g.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");var i=n["box-sizing"],o=pb(n,"padding-bottom")+pb(n,"padding-top"),a=pb(n,"border-bottom-width")+pb(n,"border-top-width"),s=r.scrollHeight-o;r.value="x";var l=r.scrollHeight-o,u=s;p&&(u=Math.max(Number(p)*l,u)),f&&(u=Math.min(Number(f)*l,u));var c=(u=Math.max(u,l))+("border-box"===i?o+a:0),d=Math.abs(u-s)<=1;_((function(e){return v.current<20&&(c>0&&Math.abs((e.outerHeightStyle||0)-c)>1||e.overflow!==d)?(v.current+=1,{overflow:d,outerHeightStyle:c}):e}))}),[f,p,e.placeholder]);return Se.exports.useEffect((function(){var e=Gg((function(){v.current=0,C()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}),[C]),hb((function(){C()})),Se.exports.useEffect((function(){v.current=0}),[c]),Se.exports.createElement(Se.exports.Fragment,null,Se.exports.createElement("textarea",km({value:c,onChange:function(e){v.current=0,h||C(),n&&n(e)},ref:y,rows:p,style:km({height:E.outerHeightStyle,overflow:E.overflow?"hidden":null},u)},d)),Se.exports.createElement("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:g,tabIndex:-1,style:km({},mb,u)}))}));function gb(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}var vb="undefined"==typeof window?Se.exports.useEffect:Se.exports.useLayoutEffect,bb=Se.exports.forwardRef((function(e,t){var n=e["aria-describedby"],r=e.autoComplete,i=e.autoFocus,o=e.classes,a=e.className,s=e.defaultValue,l=e.disabled,u=e.endAdornment,c=e.fullWidth,d=void 0!==c&&c,f=e.id,p=e.inputComponent,h=void 0===p?"input":p,m=e.inputProps,y=void 0===m?{}:m,g=e.inputRef,v=e.multiline,b=void 0!==v&&v,E=e.name,_=e.onBlur,C=e.onChange,S=e.onClick,w=e.onFocus,x=e.onKeyDown,O=e.onKeyUp,R=e.placeholder,N=e.readOnly,I=e.renderSuffix,L=e.rows,T=e.rowsMax,k=e.rowsMin,D=e.maxRows,q=e.minRows,P=e.startAdornment,A=e.type,M=void 0===A?"text":A,F=e.value,j=Tm(e,["aria-describedby","autoComplete","autoFocus","classes","className","color","defaultValue","disabled","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","rowsMax","rowsMin","maxRows","minRows","startAdornment","type","value"]),V=null!=y.value?y.value:F,z=Se.exports.useRef(null!=V).current,B=Se.exports.useRef(),U=Se.exports.useCallback((function(e){}),[]),H=Zg(y.ref,U),G=Zg(g,H),W=Zg(B,G),$=Se.exports.useState(!1),K=$[0],Q=$[1],X=$v(),Z=function(e){var t=e.props,n=e.muiFormControl;return e.states.reduce((function(e,r){return e[r]=t[r],n&&void 0===t[r]&&(e[r]=n[r]),e}),{})}({props:e,muiFormControl:X,states:["color","disabled","error","hiddenLabel","margin","required","filled"]});Z.focused=X?X.focused:K,Se.exports.useEffect((function(){!X&&l&&K&&(Q(!1),_&&_())}),[X,l,K,_]);var Y=X&&X.onFilled,J=X&&X.onEmpty,ee=Se.exports.useCallback((function(e){!function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(gb(e.value)&&""!==e.value||t&&gb(e.defaultValue)&&""!==e.defaultValue)}(e)?J&&J():Y&&Y()}),[Y,J]);vb((function(){z&&ee({value:V})}),[V,ee,z]),Se.exports.useEffect((function(){ee(B.current)}),[]);var te=h,ne=km({},y,{ref:W});return"string"!=typeof te?ne=km({inputRef:W,type:M},ne,{ref:null}):b?!L||D||q||T||k?(ne=km({minRows:L||q,rowsMax:T,maxRows:D},ne),te=yb):te="textarea":ne=km({type:M},ne),Se.exports.useEffect((function(){X&&X.setAdornedStart(Boolean(P))}),[X,P]),Se.exports.createElement("div",km({className:um(o.root,o["color".concat(Ug(Z.color||"primary"))],a,Z.disabled&&o.disabled,Z.error&&o.error,d&&o.fullWidth,Z.focused&&o.focused,X&&o.formControl,b&&o.multiline,P&&o.adornedStart,u&&o.adornedEnd,"dense"===Z.margin&&o.marginDense),onClick:function(e){B.current&&e.currentTarget===e.target&&B.current.focus(),S&&S(e)},ref:t},j),P,Se.exports.createElement(Kv.Provider,{value:null},Se.exports.createElement(te,km({"aria-invalid":Z.error,"aria-describedby":n,autoComplete:r,autoFocus:i,defaultValue:s,disabled:Z.disabled,id:f,onAnimationStart:function(e){ee("mui-auto-fill-cancel"===e.animationName?B.current:{value:"x"})},name:E,placeholder:R,readOnly:N,required:Z.required,rows:L,value:V,onKeyDown:x,onKeyUp:O},ne,{className:um(o.input,y.className,Z.disabled&&o.disabled,b&&o.inputMultiline,Z.hiddenLabel&&o.inputHiddenLabel,P&&o.inputAdornedStart,u&&o.inputAdornedEnd,"search"===M&&o.inputTypeSearch,"dense"===Z.margin&&o.inputMarginDense),onBlur:function(e){_&&_(e),y.onBlur&&y.onBlur(e),X&&X.onBlur?X.onBlur(e):Q(!1)},onChange:function(e){if(!z){var t=e.target||B.current;if(null==t)throw new Error(gd(1));ee({value:t.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];y.onChange&&y.onChange.apply(y,[e].concat(r)),C&&C.apply(void 0,[e].concat(r))},onFocus:function(e){Z.disabled?e.stopPropagation():(w&&w(e),y.onFocus&&y.onFocus(e),X&&X.onFocus?X.onFocus(e):Q(!0))}}))),u,I?I(km({},Z,{startAdornment:P})):null)})),Eb=zy((function(e){var t="light"===e.palette.type,n={color:"currentColor",opacity:t?.42:.5,transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},i={opacity:t?.42:.5};return{"@global":{"@keyframes mui-auto-fill":{},"@keyframes mui-auto-fill-cancel":{}},root:km({},e.typography.body1,{color:e.palette.text.primary,lineHeight:"1.1876em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center","&$disabled":{color:e.palette.text.disabled,cursor:"default"}}),formControl:{},focused:{},disabled:{},adornedStart:{},adornedEnd:{},error:{},marginDense:{},multiline:{padding:"".concat(6,"px 0 ").concat(7,"px"),"&$marginDense":{paddingTop:3}},colorSecondary:{},fullWidth:{width:"100%"},input:{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"".concat(6,"px 0 ").concat(7,"px"),border:0,boxSizing:"content-box",background:"none",height:"1.1876em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{"-webkit-appearance":"none"},"label[data-shrink=false] + $formControl &":{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},"&$disabled":{opacity:1},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},inputMarginDense:{paddingTop:3},inputMultiline:{height:"auto",resize:"none",padding:0},inputTypeSearch:{"-moz-appearance":"textfield","-webkit-appearance":"textfield"},inputAdornedStart:{},inputAdornedEnd:{},inputHiddenLabel:{}}}),{name:"MuiInputBase"})(bb),_b=[0,1,2,3,4,5,6,7,8,9,10],Cb=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];function Sb(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=parseFloat(e);return"".concat(n/t).concat(String(e).replace(String(n),"")||"px")}var wb=Se.exports.forwardRef((function(e,t){var n=e.alignContent,r=void 0===n?"stretch":n,i=e.alignItems,o=void 0===i?"stretch":i,a=e.classes,s=e.className,l=e.component,u=void 0===l?"div":l,c=e.container,d=void 0!==c&&c,f=e.direction,p=void 0===f?"row":f,h=e.item,m=void 0!==h&&h,y=e.justify,g=e.justifyContent,v=void 0===g?"flex-start":g,b=e.lg,E=void 0!==b&&b,_=e.md,C=void 0!==_&&_,S=e.sm,w=void 0!==S&&S,x=e.spacing,O=void 0===x?0:x,R=e.wrap,N=void 0===R?"wrap":R,I=e.xl,L=void 0!==I&&I,T=e.xs,k=void 0!==T&&T,D=e.zeroMinWidth,q=void 0!==D&&D,P=Tm(e,["alignContent","alignItems","classes","className","component","container","direction","item","justify","justifyContent","lg","md","sm","spacing","wrap","xl","xs","zeroMinWidth"]),A=um(a.root,s,d&&[a.container,0!==O&&a["spacing-xs-".concat(String(O))]],m&&a.item,q&&a.zeroMinWidth,"row"!==p&&a["direction-xs-".concat(String(p))],"wrap"!==N&&a["wrap-xs-".concat(String(N))],"stretch"!==o&&a["align-items-xs-".concat(String(o))],"stretch"!==r&&a["align-content-xs-".concat(String(r))],"flex-start"!==(y||v)&&a["justify-content-xs-".concat(String(y||v))],!1!==k&&a["grid-xs-".concat(String(k))],!1!==w&&a["grid-sm-".concat(String(w))],!1!==C&&a["grid-md-".concat(String(C))],!1!==E&&a["grid-lg-".concat(String(E))],!1!==L&&a["grid-xl-".concat(String(L))]);return Se.exports.createElement(u,km({className:A,ref:t},P))})),xb=zy((function(e){return km({root:{},container:{boxSizing:"border-box",display:"flex",flexWrap:"wrap",width:"100%"},item:{boxSizing:"border-box",margin:"0"},zeroMinWidth:{minWidth:0},"direction-xs-column":{flexDirection:"column"},"direction-xs-column-reverse":{flexDirection:"column-reverse"},"direction-xs-row-reverse":{flexDirection:"row-reverse"},"wrap-xs-nowrap":{flexWrap:"nowrap"},"wrap-xs-wrap-reverse":{flexWrap:"wrap-reverse"},"align-items-xs-center":{alignItems:"center"},"align-items-xs-flex-start":{alignItems:"flex-start"},"align-items-xs-flex-end":{alignItems:"flex-end"},"align-items-xs-baseline":{alignItems:"baseline"},"align-content-xs-center":{alignContent:"center"},"align-content-xs-flex-start":{alignContent:"flex-start"},"align-content-xs-flex-end":{alignContent:"flex-end"},"align-content-xs-space-between":{alignContent:"space-between"},"align-content-xs-space-around":{alignContent:"space-around"},"justify-content-xs-center":{justifyContent:"center"},"justify-content-xs-flex-end":{justifyContent:"flex-end"},"justify-content-xs-space-between":{justifyContent:"space-between"},"justify-content-xs-space-around":{justifyContent:"space-around"},"justify-content-xs-space-evenly":{justifyContent:"space-evenly"}},function(e,t){var n={};return _b.forEach((function(t){var r=e.spacing(t);0!==r&&(n["spacing-".concat("xs","-").concat(t)]={margin:"-".concat(Sb(r,2)),width:"calc(100% + ".concat(Sb(r),")"),"& > $item":{padding:Sb(r,2)}})})),n}(e),e.breakpoints.keys.reduce((function(t,n){return function(e,t,n){var r={};Cb.forEach((function(e){var t="grid-".concat(n,"-").concat(e);if(!0!==e)if("auto"!==e){var i="".concat(Math.round(e/12*1e8)/1e6,"%");r[t]={flexBasis:i,flexGrow:0,maxWidth:i}}else r[t]={flexBasis:"auto",flexGrow:0,maxWidth:"none"};else r[t]={flexBasis:0,flexGrow:1,maxWidth:"100%"}})),"xs"===n?km(e,r):e[t.breakpoints.up(n)]=r}(t,e,n),t}),{}))}),{name:"MuiGrid"})(wb);function Ob(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var Rb={entering:{opacity:1,transform:Ob(1)},entered:{opacity:1,transform:"none"}},Nb=Se.exports.forwardRef((function(e,t){var n=e.children,r=e.disableStrictModeCompat,i=void 0!==r&&r,o=e.in,a=e.onEnter,s=e.onEntered,l=e.onEntering,u=e.onExit,c=e.onExited,d=e.onExiting,f=e.style,p=e.timeout,h=void 0===p?"auto":p,m=e.TransitionComponent,y=void 0===m?vv:m,g=Tm(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),v=Se.exports.useRef(),b=Se.exports.useRef(),E=Vy(),_=E.unstable_strictMode&&!i,C=Se.exports.useRef(null),S=Zg(n.ref,t),w=Zg(_?C:void 0,S),x=function(e){return function(t,n){if(e){var r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),2!==n.length);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}(_?[C.current,t]:[t,n]),i=r[0],o=r[1];void 0===o?e(i):e(i,o)}}},O=x(l),R=x((function(e,t){var n,r=xv({style:f,timeout:h},{mode:"enter"}),i=r.duration,o=r.delay;"auto"===h?(n=E.transitions.getAutoHeightDuration(e.clientHeight),b.current=n):n=i,e.style.transition=[E.transitions.create("opacity",{duration:n,delay:o}),E.transitions.create("transform",{duration:.666*n,delay:o})].join(","),a&&a(e,t)})),N=x(s),I=x(d),L=x((function(e){var t,n=xv({style:f,timeout:h},{mode:"exit"}),r=n.duration,i=n.delay;"auto"===h?(t=E.transitions.getAutoHeightDuration(e.clientHeight),b.current=t):t=r,e.style.transition=[E.transitions.create("opacity",{duration:t,delay:i}),E.transitions.create("transform",{duration:.666*t,delay:i||.333*t})].join(","),e.style.opacity="0",e.style.transform=Ob(.75),u&&u(e)})),T=x(c);return Se.exports.useEffect((function(){return function(){clearTimeout(v.current)}}),[]),Se.exports.createElement(y,km({appear:!0,in:o,nodeRef:_?C:void 0,onEnter:R,onEntered:N,onEntering:O,onExit:L,onExited:T,onExiting:I,addEndListener:function(e,t){"auto"===h&&(v.current=setTimeout(_?e:t,b.current||0))},timeout:"auto"===h?null:h},g),(function(e,t){return Se.exports.cloneElement(n,km({style:km({opacity:0,transform:Ob(.75),visibility:"exited"!==e||o?void 0:"hidden"},Rb[e],f,n.props.style),ref:w},t))}))}));Nb.muiSupportAuto=!0;var Ib=Nb,Lb=Se.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,o=void 0===i?"inherit":i,a=e.component,s=void 0===a?"span":a,l=e.fontSize,u=void 0===l?"medium":l,c=Tm(e,["classes","className","color","component","fontSize"]);return Se.exports.createElement(s,km({className:um("material-icons",n.root,r,"inherit"!==o&&n["color".concat(Ug(o))],"default"!==u&&"medium"!==u&&n["fontSize".concat(Ug(u))]),"aria-hidden":!0,ref:t},c))}));Lb.muiName="Icon";var Tb=zy((function(e){return{root:{userSelect:"none",fontSize:e.typography.pxToRem(24),width:"1em",height:"1em",overflow:"hidden",flexShrink:0},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(36)}}}),{name:"MuiIcon"})(Lb),kb=Se.exports.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,o=e.component,a=void 0===o?"div":o,s=e.disablePointerEvents,l=void 0!==s&&s,u=e.disableTypography,c=void 0!==u&&u,d=e.position,f=e.variant,p=Tm(e,["children","classes","className","component","disablePointerEvents","disableTypography","position","variant"]),h=$v()||{},m=f;return h&&!m&&(m=h.variant),Se.exports.createElement(Kv.Provider,{value:null},Se.exports.createElement(a,km({className:um(r.root,i,"end"===d?r.positionEnd:r.positionStart,l&&r.disablePointerEvents,h.hiddenLabel&&r.hiddenLabel,"filled"===m&&r.filled,"dense"===h.margin&&r.marginDense),ref:t},p),"string"!=typeof n||c?n:Se.exports.createElement(Uv,{color:"textSecondary"},n)))})),Db=zy({root:{display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap"},filled:{"&$positionStart:not($hiddenLabel)":{marginTop:16}},positionStart:{marginRight:8},positionEnd:{marginLeft:8},disablePointerEvents:{pointerEvents:"none"},hiddenLabel:{},marginDense:{}},{name:"MuiInputAdornment"})(kb),qb=Se.exports.createContext({}),Pb=Se.exports.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,o=e.component,a=void 0===o?"ul":o,s=e.dense,l=void 0!==s&&s,u=e.disablePadding,c=void 0!==u&&u,d=e.subheader,f=Tm(e,["children","classes","className","component","dense","disablePadding","subheader"]),p=Se.exports.useMemo((function(){return{dense:l}}),[l]);return Se.exports.createElement(qb.Provider,{value:p},Se.exports.createElement(a,km({className:um(r.root,i,l&&r.dense,!c&&r.padding,d&&r.subheader),ref:t},f),d,n))})),Ab=zy({root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:"MuiList"})(Pb),Mb="undefined"==typeof window?Se.exports.useEffect:Se.exports.useLayoutEffect,Fb=Se.exports.forwardRef((function(e,t){var n=e.alignItems,r=void 0===n?"center":n,i=e.autoFocus,o=void 0!==i&&i,a=e.button,s=void 0!==a&&a,l=e.children,u=e.classes,c=e.className,d=e.component,f=e.ContainerComponent,p=void 0===f?"li":f,h=e.ContainerProps,m=(h=void 0===h?{}:h).className,y=Tm(h,["className"]),g=e.dense,v=void 0!==g&&g,b=e.disabled,E=void 0!==b&&b,_=e.disableGutters,C=void 0!==_&&_,S=e.divider,w=void 0!==S&&S,x=e.focusVisibleClassName,O=e.selected,R=void 0!==O&&O,N=Tm(e,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),I=Se.exports.useContext(qb),L={dense:v||I.dense||!1,alignItems:r},T=Se.exports.useRef(null);Mb((function(){o&&T.current&&T.current.focus()}),[o]);var k,D,q=Se.exports.Children.toArray(l),P=q.length&&(D=["ListItemSecondaryAction"],Se.exports.isValidElement(k=q[q.length-1])&&-1!==D.indexOf(k.type.muiName)),A=Zg(Se.exports.useCallback((function(e){T.current=at.exports.findDOMNode(e)}),[]),t),M=km({className:um(u.root,c,L.dense&&u.dense,!C&&u.gutters,w&&u.divider,E&&u.disabled,s&&u.button,"center"!==r&&u.alignItemsFlexStart,P&&u.secondaryAction,R&&u.selected),disabled:E},N),F=d||"li";return s&&(M.component=d||"div",M.focusVisibleClassName=um(u.focusVisible,x),F=qv),P?(F=M.component||d?F:"div","li"===p&&("li"===F?F="div":"li"===M.component&&(M.component="div")),Se.exports.createElement(qb.Provider,{value:L},Se.exports.createElement(p,km({className:um(u.container,m),ref:A},y),Se.exports.createElement(F,M,q),q.pop()))):Se.exports.createElement(qb.Provider,{value:L},Se.exports.createElement(F,km({ref:A},M),q))})),jb=zy((function(e){return{root:{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,"&$focusVisible":{backgroundColor:e.palette.action.selected},"&$selected, &$selected:hover":{backgroundColor:e.palette.action.selected},"&$disabled":{opacity:.5}},container:{position:"relative"},focusVisible:{},dense:{paddingTop:4,paddingBottom:4},alignItemsFlexStart:{alignItems:"flex-start"},disabled:{},divider:{borderBottom:"1px solid ".concat(e.palette.divider),backgroundClip:"padding-box"},gutters:{paddingLeft:16,paddingRight:16},button:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},secondaryAction:{paddingRight:48},selected:{}}}),{name:"MuiListItem"})(Fb),Vb=Se.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,i=Tm(e,["classes","className"]),o=Se.exports.useContext(qb);return Se.exports.createElement("div",km({className:um(n.root,r,"flex-start"===o.alignItems&&n.alignItemsFlexStart),ref:t},i))})),zb=zy((function(e){return{root:{minWidth:56,color:e.palette.action.active,flexShrink:0,display:"inline-flex"},alignItemsFlexStart:{marginTop:8}}}),{name:"MuiListItemIcon"})(Vb);function Bb(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function Ub(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function Hb(e){return[e.horizontal,e.vertical].map((function(e){return"number"==typeof e?"".concat(e,"px"):e})).join(" ")}function Gb(e){return"function"==typeof e?e():e}var Wb=Se.exports.forwardRef((function(e,t){var n=e.action,r=e.anchorEl,i=e.anchorOrigin,o=void 0===i?{vertical:"top",horizontal:"left"}:i,a=e.anchorPosition,s=e.anchorReference,l=void 0===s?"anchorEl":s,u=e.children,c=e.classes,d=e.className,f=e.container,p=e.elevation,h=void 0===p?8:p,m=e.getContentAnchorEl,y=e.marginThreshold,g=void 0===y?16:y,v=e.onEnter,b=e.onEntered,E=e.onEntering,_=e.onExit,C=e.onExited,S=e.onExiting,w=e.open,x=e.PaperProps,O=void 0===x?{}:x,R=e.transformOrigin,N=void 0===R?{vertical:"top",horizontal:"left"}:R,I=e.TransitionComponent,L=void 0===I?Ib:I,T=e.transitionDuration,k=void 0===T?"auto":T,D=e.TransitionProps,q=void 0===D?{}:D,P=Tm(e,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","classes","className","container","elevation","getContentAnchorEl","marginThreshold","onEnter","onEntered","onEntering","onExit","onExited","onExiting","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"]),A=Se.exports.useRef(),M=Se.exports.useCallback((function(e){if("anchorPosition"===l)return a;var t=Gb(r),n=(t&&1===t.nodeType?t:Wg(A.current).body).getBoundingClientRect();return{top:n.top+Bb(n,0===e?o.vertical:"center"),left:n.left+Ub(n,o.horizontal)}}),[r,o.horizontal,o.vertical,a,l]),F=Se.exports.useCallback((function(e){var t=0;if(m&&"anchorEl"===l){var n=m(e);if(n&&e.contains(n)){var r=function(e,t){for(var n=t,r=0;n&&n!==e;)r+=(n=n.parentElement).scrollTop;return r}(e,n);t=n.offsetTop+n.clientHeight/2-r||0}}return t}),[o.vertical,l,m]),j=Se.exports.useCallback((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:Bb(e,N.vertical)+t,horizontal:Ub(e,N.horizontal)}}),[N.horizontal,N.vertical]),V=Se.exports.useCallback((function(e){var t=F(e),n={width:e.offsetWidth,height:e.offsetHeight},i=j(n,t);if("none"===l)return{top:null,left:null,transformOrigin:Hb(i)};var o=M(t),a=o.top-i.vertical,s=o.left-i.horizontal,u=a+n.height,c=s+n.width,d=$g(Gb(r)),f=d.innerHeight-g,p=d.innerWidth-g;if(a<g){var h=a-g;a-=h,i.vertical+=h}else if(u>f){var m=u-f;a-=m,i.vertical+=m}if(s<g){var y=s-g;s-=y,i.horizontal+=y}else if(c>p){var v=c-p;s-=v,i.horizontal+=v}return{top:"".concat(Math.round(a),"px"),left:"".concat(Math.round(s),"px"),transformOrigin:Hb(i)}}),[r,l,M,F,j,g]),z=Se.exports.useCallback((function(){var e=A.current;if(e){var t=V(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}}),[V]),B=Se.exports.useCallback((function(e){A.current=at.exports.findDOMNode(e)}),[]);Se.exports.useEffect((function(){w&&z()})),Se.exports.useImperativeHandle(n,(function(){return w?{updatePosition:function(){z()}}:null}),[w,z]),Se.exports.useEffect((function(){if(w){var e=Gg((function(){z()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[w,z]);var U=k;"auto"!==k||L.muiSupportAuto||(U=void 0);var H=f||(r?Wg(Gb(r)).body:void 0);return Se.exports.createElement(cb,km({container:H,open:w,ref:t,BackdropProps:{invisible:!0},className:um(c.root,d)},P),Se.exports.createElement(L,km({appear:!0,in:w,onEnter:v,onEntered:b,onExit:_,onExited:C,onExiting:S,timeout:U},q,{onEntering:Hg((function(e,t){E&&E(e,t),z()}),q.onEntering)}),Se.exports.createElement(Rv,km({elevation:h,ref:B},O,{className:um(c.paper,O.className)}),u)))})),$b=zy({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"MuiPopover"})(Wb);function Kb(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Qb(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Xb(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function Zb(e,t,n,r,i,o){for(var a=!1,s=i(e,t,!!t&&n);s;){if(s===e.firstChild){if(a)return;a=!0}var l=!r&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&Xb(s,o)&&!l)return void s.focus();s=i(e,s,n)}}var Yb="undefined"==typeof window?Se.exports.useEffect:Se.exports.useLayoutEffect,Jb=Se.exports.forwardRef((function(e,t){var n=e.actions,r=e.autoFocus,i=void 0!==r&&r,o=e.autoFocusItem,a=void 0!==o&&o,s=e.children,l=e.className,u=e.disabledItemsFocusable,c=void 0!==u&&u,d=e.disableListWrap,f=void 0!==d&&d,p=e.onKeyDown,h=e.variant,m=void 0===h?"selectedMenu":h,y=Tm(e,["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"]),g=Se.exports.useRef(null),v=Se.exports.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Yb((function(){i&&g.current.focus()}),[i]),Se.exports.useImperativeHandle(n,(function(){return{adjustStyleForScrollbar:function(e,t){if(e.clientHeight<g.current.clientHeight&&!g.current.style.width){var n="".concat(eb(),"px");g.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=n,g.current.style.width="calc(100% + ".concat(n,")")}return g.current}}}),[]);var b=Zg(Se.exports.useCallback((function(e){g.current=at.exports.findDOMNode(e)}),[]),t),E=-1;Se.exports.Children.forEach(s,(function(e,t){Se.exports.isValidElement(e)&&(e.props.disabled||("selectedMenu"===m&&e.props.selected||-1===E)&&(E=t))}));var _=Se.exports.Children.map(s,(function(e,t){if(t===E){var n={};return a&&(n.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===m&&(n.tabIndex=0),Se.exports.cloneElement(e,n)}return e}));return Se.exports.createElement(Ab,km({role:"menu",ref:b,className:l,onKeyDown:function(e){var t=g.current,n=e.key,r=Wg(t).activeElement;if("ArrowDown"===n)e.preventDefault(),Zb(t,r,f,c,Kb);else if("ArrowUp"===n)e.preventDefault(),Zb(t,r,f,c,Qb);else if("Home"===n)e.preventDefault(),Zb(t,null,f,c,Kb);else if("End"===n)e.preventDefault(),Zb(t,null,f,c,Qb);else if(1===n.length){var i=v.current,o=n.toLowerCase(),a=performance.now();i.keys.length>0&&(a-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&o!==i.keys[0]&&(i.repeating=!1)),i.lastTime=a,i.keys.push(o);var s=r&&!i.repeating&&Xb(r,i);i.previousKeyMatched&&(s||Zb(t,r,!1,c,Kb,i))?e.preventDefault():i.previousKeyMatched=!1}p&&p(e)},tabIndex:i?0:-1},y),_)})),eE=Se.exports.forwardRef((function(e,t){var n,r=e.classes,i=e.className,o=e.component,a=void 0===o?"li":o,s=e.disableGutters,l=void 0!==s&&s,u=e.ListItemClasses,c=e.role,d=void 0===c?"menuitem":c,f=e.selected,p=e.tabIndex,h=Tm(e,["classes","className","component","disableGutters","ListItemClasses","role","selected","tabIndex"]);return e.disabled||(n=void 0!==p?p:-1),Se.exports.createElement(jb,km({button:!0,role:d,tabIndex:n,component:a,selected:f,disableGutters:l,classes:km({dense:r.dense},u),className:um(r.root,i,f&&r.selected,!l&&r.gutters),ref:t},h))})),tE=zy((function(e){return{root:km({},e.typography.body1,Lm({minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",width:"auto",overflow:"hidden",whiteSpace:"nowrap"},e.breakpoints.up("sm"),{minHeight:"auto"})),gutters:{},selected:{},dense:km({},e.typography.body2,{minHeight:"auto"})}}),{name:"MuiMenuItem"})(eE),nE=Se.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.label,o=e.labelWidth,a=e.notched,s=e.style,l=Tm(e,["children","classes","className","label","labelWidth","notched","style"]),u="rtl"===Vy().direction?"right":"left";if(void 0!==i)return Se.exports.createElement("fieldset",km({"aria-hidden":!0,className:um(n.root,r),ref:t,style:s},l),Se.exports.createElement("legend",{className:um(n.legendLabelled,a&&n.legendNotched)},i?Se.exports.createElement("span",null,i):Se.exports.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})));var c=o>0?.75*o+8:.01;return Se.exports.createElement("fieldset",km({"aria-hidden":!0,style:km(Lm({},"padding".concat(Ug(u)),8),s),className:um(n.root,r),ref:t},l),Se.exports.createElement("legend",{className:n.legend,style:{width:a?c:.01}},Se.exports.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})))})),rE=zy((function(e){return{root:{position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden"},legend:{textAlign:"left",padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})},legendLabelled:{display:"block",width:"auto",textAlign:"left",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),"& > span":{paddingLeft:5,paddingRight:5,display:"inline-block"}},legendNotched:{maxWidth:1e3,transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}}),{name:"PrivateNotchedOutline"})(nE),iE=Se.exports.forwardRef((function(e,t){var n=e.classes,r=e.fullWidth,i=void 0!==r&&r,o=e.inputComponent,a=void 0===o?"input":o,s=e.label,l=e.labelWidth,u=void 0===l?0:l,c=e.multiline,d=void 0!==c&&c,f=e.notched,p=e.type,h=void 0===p?"text":p,m=Tm(e,["classes","fullWidth","inputComponent","label","labelWidth","multiline","notched","type"]);return Se.exports.createElement(Eb,km({renderSuffix:function(e){return Se.exports.createElement(rE,{className:n.notchedOutline,label:s,labelWidth:u,notched:void 0!==f?f:Boolean(e.startAdornment||e.filled||e.focused)})},classes:km({},n,{root:um(n.root,n.underline),notchedOutline:null}),fullWidth:i,inputComponent:a,multiline:d,ref:t,type:h},m))}));iE.muiName="Input";var oE=zy((function(e){var t="light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{root:{position:"relative",borderRadius:e.shape.borderRadius,"&:hover $notchedOutline":{borderColor:e.palette.text.primary},"@media (hover: none)":{"&:hover $notchedOutline":{borderColor:t}},"&$focused $notchedOutline":{borderColor:e.palette.primary.main,borderWidth:2},"&$error $notchedOutline":{borderColor:e.palette.error.main},"&$disabled $notchedOutline":{borderColor:e.palette.action.disabled}},colorSecondary:{"&$focused $notchedOutline":{borderColor:e.palette.secondary.main}},focused:{},disabled:{},adornedStart:{paddingLeft:14},adornedEnd:{paddingRight:14},error:{},marginDense:{},multiline:{padding:"18.5px 14px","&$marginDense":{paddingTop:10.5,paddingBottom:10.5}},notchedOutline:{borderColor:t},input:{padding:"18.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.type?null:"#fff",caretColor:"light"===e.palette.type?null:"#fff",borderRadius:"inherit"}},inputMarginDense:{paddingTop:10.5,paddingBottom:10.5},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiOutlinedInput"})(iE);function aE(){var e=u(Se.exports.useState(),2),t=e[0],n=e[1],r=u(Se.exports.useState(),2),i=r[0],o=r[1],a=Se.exports.useCallback((function(e){e&&n(e)}),[]),s=function(){var e=t.getBoundingClientRect();o({left:e.left,top:e.top,width:e.width,height:e.height})};return Se.exports.useLayoutEffect((function(){if(t){if("function"==typeof ResizeObserver){var e=new ResizeObserver(s);return e.observe(t),function(){e.unobserve(t),e.disconnect(t),e=null}}return s(),window.addEventListener("resize",s),function(){window.removeEventListener("resize",s)}}}),[t]),[a,i,t]}function sE(e){return"large"===e?"20px":"small"===e?"12px":"16px"}function lE(e){var t=e.style,r=void 0===t?{}:t,i=e.viewBox,o=void 0===i?"0 0 16 16":i,a=e.shapes,l=void 0===a?[]:a,u=n({fontSize:sE(e.size),display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},r);return ot.createElement("i",{style:u},ot.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:o,fill:"currentColor"},l.map((function(e,t){return ot.createElement(e.type,s({key:t},e.attrs))}))))}var uE=function(e){return lE(function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M9.41421356,8 L11.8890873,5.52512627 C12.065864,5.34834957 12.0305087,4.95944084 11.8183766,4.74730881 L11.2526912,4.18162338 C11.0405592,3.96949135 10.6516504,3.93413601 10.4748737,4.1109127 L8,6.58578644 L5.52512627,4.1109127 C5.34834957,3.93413601 4.95944084,3.96949135 4.74730881,4.18162338 L4.25233406,4.67659813 C3.96949135,4.95944084 3.93413601,5.34834957 4.1109127,5.52512627 L6.58578644,8 L4.1109127,10.4748737 C3.93413601,10.6516504 3.96949135,11.0405592 4.18162338,11.2526912 L4.67659813,11.7476659 C4.95944084,12.0305087 5.34834957,12.065864 5.52512627,11.8890873 L8,9.41421356 L10.4748737,11.8890873 C10.6516504,12.065864 11.0405592,12.0305087 11.2526912,11.8183766 L11.8183766,11.2526912 C12.0305087,11.0405592 12.065864,10.6516504 11.8890873,10.4748737 L9.41421356,8 Z M8,0 C12.4,0 16,3.6 16,8 C16,12.4 12.4,16 8,16 C3.6,16 0,12.4 0,8 C0,3.6 3.6,0 8,0 Z"}}]})}(e))},cE=function(e){return lE(function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M13,7 L8,7 L13,7 L13,4.98151367 C13,2.23029964 10.7614237,0 8,0 C5.23857625,0 3,2.23029964 3,4.98151367 L3,7 L3.75,7 L3,7 L4.5,7 L4.5,5.33193359 C4.5,3.21561511 5.54860291,1.5 8,1.5 C10.4513971,1.5 11.5,3.21561511 11.5,5.33193359 L11.5,7 L12.25,7 L3,7 C2.44771525,7 2,7.44771525 2,8 L2,15 C2,15.5522847 2.44771525,16 3,16 L13,16 C13.5522847,16 14,15.5522847 14,15 L14,8 C14,7.44771525 13.5522847,7 13,7 L3,7 L13,7 Z"}}]})}(e))},dE=function(e){return lE(function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M2.5,7 L11,7 C11.5522847,7 12,7.44771525 12,8 L12,15 C12,15.5522847 11.5522847,16 11,16 L1,16 C0.44771525,16 0,15.5522847 0,15 L0,8 C0,7.44771525 0.44771525,7 1,7 L1,4.98151367 C1,2.23029964 3.23857625,0 6,0 C8.4241995,0 10.4454541,1.71883353 10.9029715,4 L9.34209114,4 C8.9671727,2.54028848 7.9088888,1.5 6,1.5 C3.54860291,1.5 2.5,3.21561511 2.5,5.33193359 L2.5,7 Z"}}]})}(e))};function fE(){return(fE=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function pE(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hE(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function mE(e,t){var n;void 0===t&&(t=hE);var r,i=[],o=!1;return function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];return o&&n===this&&t(s,i)||(r=e.apply(this,s),o=!0,n=this,i=s),r}}var yE="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function gE(e){cancelAnimationFrame(e.id)}var vE=null;function bE(e){if(void 0===e&&(e=!1),null===vE||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),i=r.style;return i.width="100px",i.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?vE="positive-descending":(t.scrollLeft=1,vE=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),vE}return vE}var EE=function(e,t){return e},_E=function(e){var t,n,r=e.getItemOffset,i=e.getEstimatedTotalSize,o=e.getItemSize,a=e.getOffsetForIndexAndAlignment,s=e.getStartIndexForOffset,l=e.getStopIndexForStartIndex,u=e.initInstanceProps,c=e.shouldResetStyleCacheOnItemSizeChange,d=e.validateProps;return n=t=function(e){var t,n;function f(t){var n;return(n=e.call(this,t)||this)._instanceProps=u(n.props,pE(pE(n))),n._outerRef=void 0,n._resetIsScrollingTimeoutId=null,n.state={instance:pE(pE(n)),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof n.props.initialScrollOffset?n.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},n._callOnItemsRendered=void 0,n._callOnItemsRendered=mE((function(e,t,r,i){return n.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:r,visibleStopIndex:i})})),n._callOnScroll=void 0,n._callOnScroll=mE((function(e,t,r){return n.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:r})})),n._getItemStyle=void 0,n._getItemStyle=function(e){var t,i=n.props,a=i.direction,s=i.layout,l=n._getItemStyleCache(c&&i.itemSize,c&&s,c&&a);if(l.hasOwnProperty(e))t=l[e];else{var u=r(n.props,e,n._instanceProps),d=o(n.props,e,n._instanceProps),f="horizontal"===a||"horizontal"===s,p="rtl"===a,h=f?u:0;l[e]=t={position:"absolute",left:p?void 0:h,right:p?h:void 0,top:f?0:u,height:f?"100%":d,width:f?d:"100%"}}return t},n._getItemStyleCache=void 0,n._getItemStyleCache=mE((function(e,t,n){return{}})),n._onScrollHorizontal=function(e){var t=e.currentTarget,r=t.clientWidth,i=t.scrollLeft,o=t.scrollWidth;n.setState((function(e){if(e.scrollOffset===i)return null;var t=i;if("rtl"===n.props.direction)switch(bE()){case"negative":t=-i;break;case"positive-descending":t=o-r-i}return t=Math.max(0,Math.min(t,o-r)),{isScrolling:!0,scrollDirection:e.scrollOffset<i?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._onScrollVertical=function(e){var t=e.currentTarget,r=t.clientHeight,i=t.scrollHeight,o=t.scrollTop;n.setState((function(e){if(e.scrollOffset===o)return null;var t=Math.max(0,Math.min(o,i-r));return{isScrolling:!0,scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._outerRefSetter=function(e){var t=n.props.outerRef;n._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},n._resetIsScrollingDebounced=function(){var e,t,r;null!==n._resetIsScrollingTimeoutId&&gE(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=(e=n._resetIsScrolling,t=yE(),r={id:requestAnimationFrame((function n(){yE()-t>=150?e.call(null):r.id=requestAnimationFrame(n)}))})},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1,null)}))},n}n=e,(t=f).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,f.getDerivedStateFromProps=function(e,t){return d(e),null};var p=f.prototype;return p.scrollTo=function(e){e=Math.max(0,e),this.setState((function(t){return t.scrollOffset===e?null:{scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!0}}),this._resetIsScrollingDebounced)},p.scrollToItem=function(e,t){void 0===t&&(t="auto");var n=this.state.scrollOffset;e=Math.max(0,Math.min(e,this.props.itemCount-1)),this.scrollTo(a(this.props,e,t,n,this._instanceProps))},p.componentDidMount=function(){var e=this.props,t=e.initialScrollOffset;if("number"==typeof t&&null!=this._outerRef){var n=this._outerRef;"horizontal"===e.direction||"horizontal"===e.layout?n.scrollLeft=t:n.scrollTop=t}this._callPropsCallbacks()},p.componentDidUpdate=function(){var e=this.props,t=e.direction,n=this.state,r=n.scrollOffset;if(n.scrollUpdateWasRequested&&null!=this._outerRef){var i=this._outerRef;if("horizontal"===t||"horizontal"===e.layout)if("rtl"===t)switch(bE()){case"negative":i.scrollLeft=-r;break;case"positive-ascending":i.scrollLeft=r;break;default:i.scrollLeft=i.scrollWidth-i.clientWidth-r}else i.scrollLeft=r;else i.scrollTop=r}this._callPropsCallbacks()},p.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&gE(this._resetIsScrollingTimeoutId)},p.render=function(){var e=this.props,t=e.children,n=e.className,r=e.direction,o=e.height,a=e.innerRef,s=e.innerElementType,l=e.innerTagName,u=e.itemCount,c=e.itemData,d=e.itemKey,f=void 0===d?EE:d,p=e.outerElementType,h=e.outerTagName,m=e.style,y=e.useIsScrolling,g=e.width,v=this.state.isScrolling,b="horizontal"===r||"horizontal"===e.layout,E=b?this._onScrollHorizontal:this._onScrollVertical,_=this._getRangeToRender(),C=_[1],S=[];if(u>0)for(var w=_[0];w<=C;w++)S.push(Se.exports.createElement(t,{data:c,key:f(w,c),index:w,isScrolling:y?v:void 0,style:this._getItemStyle(w)}));var x=i(this.props,this._instanceProps);return Se.exports.createElement(p||h||"div",{className:n,onScroll:E,ref:this._outerRefSetter,style:fE({position:"relative",height:o,width:g,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:r},m)},Se.exports.createElement(s||l||"div",{children:S,ref:a,style:{height:b?"100%":x,pointerEvents:v?"none":void 0,width:b?x:"100%"}}))},p._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender();this._callOnItemsRendered(e[0],e[1],e[2],e[3])}if("function"==typeof this.props.onScroll){var t=this.state;this._callOnScroll(t.scrollDirection,t.scrollOffset,t.scrollUpdateWasRequested)}},p._getRangeToRender=function(){var e=this.props,t=e.itemCount,n=e.overscanCount,r=this.state,i=r.isScrolling,o=r.scrollDirection,a=r.scrollOffset;if(0===t)return[0,0,0,0];var u=s(this.props,a,this._instanceProps),c=l(this.props,u,a,this._instanceProps),d=i&&"backward"!==o?1:Math.max(1,n),f=i&&"forward"!==o?1:Math.max(1,n);return[Math.max(0,u-d),Math.max(0,Math.min(t-1,c+f)),u,c]},f}(Se.exports.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},n}({getItemOffset:function(e,t){return t*e.itemSize},getItemSize:function(e,t){return e.itemSize},getEstimatedTotalSize:function(e){return e.itemSize*e.itemCount},getOffsetForIndexAndAlignment:function(e,t,n,r){var i=e.itemSize,o="horizontal"===e.direction||"horizontal"===e.layout?e.width:e.height,a=Math.max(0,e.itemCount*i-o),s=Math.min(a,t*i),l=Math.max(0,t*i-o+i);switch("smart"===n&&(n=r>=l-o&&r<=s+o?"auto":"center"),n){case"start":return s;case"end":return l;case"center":var u=Math.round(l+(s-l)/2);return u<Math.ceil(o/2)?0:u>a+Math.floor(o/2)?a:u;case"auto":default:return r>=l&&r<=s?r:r<l?l:s}},getStartIndexForOffset:function(e,t){return Math.max(0,Math.min(e.itemCount-1,Math.floor(t/e.itemSize)))},getStopIndexForStartIndex:function(e,t,n){var r=e.itemCount,i=e.itemSize,o=Math.ceil((("horizontal"===e.direction||"horizontal"===e.layout?e.width:e.height)+n-t*i)/i);return Math.max(0,Math.min(r-1,t+o-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){}}),CE=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},SE=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),wE=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},xE=function(e){function t(){var e,n,r;CE(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=wE(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),r._lastRenderedStartIndex=-1,r._lastRenderedStopIndex=-1,r._memoizedUnloadedRanges=[],r._onItemsRendered=function(e){var t=e.visibleStartIndex,n=e.visibleStopIndex;r._lastRenderedStartIndex=t,r._lastRenderedStopIndex=n,r._ensureRowsLoaded(t,n)},r._setRef=function(e){r._listRef=e},wE(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),SE(t,[{key:"resetloadMoreItemsCache",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._memoizedUnloadedRanges=[],e&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){}},{key:"render",value:function(){return(0,this.props.children)({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(e,t){var n=this.props,r=n.itemCount,i=n.minimumBatchSize,o=n.threshold,a=void 0===o?15:o,s=function(e){for(var t=e.isItemLoaded,n=e.itemCount,r=e.minimumBatchSize,i=e.stopIndex,o=[],a=null,s=null,l=e.startIndex;l<=i;l++)t(l)?null!==s&&(o.push(a,s),a=s=null):(s=l,null===a&&(a=l));if(null!==s){for(var u=Math.min(Math.max(s,a+r-1),n-1),c=s+1;c<=u&&!t(c);c++)s=c;o.push(a,s)}if(o.length)for(;o[1]-o[0]+1<r&&o[0]>0;){var d=o[0]-1;if(t(d))break;o[0]=d}return o}({isItemLoaded:n.isItemLoaded,itemCount:r,minimumBatchSize:void 0===i?10:i,startIndex:Math.max(0,e-a),stopIndex:Math.min(r-1,t+a)});(this._memoizedUnloadedRanges.length!==s.length||this._memoizedUnloadedRanges.some((function(e,t){return s[t]!==e})))&&(this._memoizedUnloadedRanges=s,this._loadUnloadedRanges(s))}},{key:"_loadUnloadedRanges",value:function(e){for(var t=this,n=this.props.loadMoreItems||this.props.loadMoreRows,r=function(r){var i=e[r],o=e[r+1],a=n(i,o);null!=a&&a.then((function(){if(function(e){return!(e.startIndex>e.lastRenderedStopIndex||e.stopIndex<e.lastRenderedStartIndex)}({lastRenderedStartIndex:t._lastRenderedStartIndex,lastRenderedStopIndex:t._lastRenderedStopIndex,startIndex:i,stopIndex:o})){if(null==t._listRef)return;"function"==typeof t._listRef.resetAfterIndex?t._listRef.resetAfterIndex(i,!0):("function"==typeof t._listRef._getItemStyleCache&&t._listRef._getItemStyleCache(-1),t._listRef.forceUpdate())}}))},i=0;i<e.length;i+=2)r(i)}}]),t}(Se.exports.PureComponent),OE=function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M6,10 L13,3 L15,5 L8,12 L6,14 L1,9 L3,7 L6,10 Z"}}]})},RE=function(e){return lE(OE(e))},NE=sm((function(e){return{row:{flexWrap:"nowrap",borderBottom:"1px solid ".concat(e.palette.divider),"&:focus":{boxShadow:"inset 0 0 0 2px ".concat(e.palette.custom.focusOutline),outline:"none"}},cell:{padding:"8px","& span":{whiteSpace:"nowrap",fontSize:"12px",lineHeight:"16px"},overflow:"hidden",textOverflow:"ellipsis"},icon:{padding:e.spacing(1)},S:{background:e.palette.selected.main,color:e.palette.selected.mainContrastText,"&:focus":{boxShadow:"inset 0 0 0 2px rgba(0, 0, 0, 0.3)",outline:"none"}},A:{background:e.palette.selected.alternative,color:e.palette.selected.alternativeContrastText},X:{background:e.palette.selected.excluded,color:e.palette.selected.excludedContrastText},highlighted:{backgroundColor:"#FFC72A"}}}));function IE(e){var t,n=e.index,r=e.style,i=e.data,o=NE(),a=[o.row],s="",l=i.onClick,c=i.pages;if(c){var d=c.filter((function(e){return e.qArea.qTop<=n&&n<e.qArea.qTop+e.qArea.qHeight}))[0];if(d){var f=d.qArea;n>=f.qTop&&n<f.qTop+f.qHeight&&(t=u(d.qMatrix[n-f.qTop],1)[0])}}var p=!1,h=!1;t&&(s=t.qText,p="L"===t.qState||"XL"===t.qState,h="S"===t.qState||"XS"===t.qState,"S"===t.qState||"L"===t.qState?a.push(o.S):"A"===t.qState?a.push(o.A):"X"!==t.qState&&"XS"!==t.qState&&"XL"!==t.qState||a.push(o.X));var m=t&&t.qHighlightRanges&&t.qHighlightRanges.qRanges.sort((function(e,t){return e.qCharPos-t.qCharPos}))||[],y=m.reduce((function(e,t,n){t.qCharPos>0&&0===n&&e.push([s.slice(0,t.qCharPos)]);var r=m[n-1];return r&&e.push([s.slice(r.qCharPos+r.qCharPos+1,t.qCharPos)]),e.push([s.slice(t.qCharPos,t.qCharPos+t.qCharCount),o.highlighted]),n===m.length-1&&t.qCharPos+t.qCharCount<s.length&&e.push([s.slice(t.qCharPos+t.qCharCount)]),e}),[]);return ot.createElement(xb,{container:!0,spacing:0,className:a.join(" ").trim(),style:r,onClick:l,role:"row",tabIndex:0,"data-n":t&&t.qElemNumber},ot.createElement(xb,{item:!0,style:{minWidth:0,flexGrow:1},className:o.cell,title:"".concat(s)},0===m.length?ot.createElement(Uv,{component:"span",noWrap:!0,color:"inherit"},"".concat(s)):y.map((function(e,t){var n=u(e,2);return ot.createElement(Uv,{component:"span",key:t,className:n[1],noWrap:!0},n[0])}))),ot.createElement(xb,{item:!0,className:o.icon},p&&ot.createElement(cE,{size:"small"}),h&&ot.createElement(RE,{size:"small"})))}var LE=sm((function(e){return{column:{flexWrap:"nowrap",borderRight:"1px solid ".concat(e.palette.divider),"&:focus":{boxShadow:"inset 0 0 0 2px ".concat(e.palette.custom.focusOutline),outline:"none"}},cell:{padding:"8px","& span":{whiteSpace:"nowrap",fontSize:"12px",lineHeight:"16px"},overflow:"hidden",textOverflow:"ellipsis"},icon:{padding:e.spacing(1)},S:{background:e.palette.selected.main,color:e.palette.selected.mainContrastText,"&:focus":{boxShadow:"inset 0 0 0 2px rgba(0, 0, 0, 0.3)",outline:"none"}},A:{background:e.palette.selected.alternative,color:e.palette.selected.alternativeContrastText},X:{background:e.palette.selected.excluded,color:e.palette.selected.excludedContrastText},highlighted:{backgroundColor:"#FFC72A"}}}));function TE(e){var t,n=e.index,r=e.style,i=e.data,o=LE(),a=[o.column],s="",l=i.onClick,c=i.pages;if(c){var d=c.filter((function(e){return e.qArea.qTop<=n&&n<e.qArea.qTop+e.qArea.qHeight}))[0];if(d){var f=d.qArea;n>=f.qTop&&n<f.qTop+f.qHeight&&(t=u(d.qMatrix[n-f.qTop],1)[0])}}var p=!1,h=!1;t&&(s=t.qText,p="L"===t.qState||"XL"===t.qState,h="S"===t.qState||"XS"===t.qState,"S"===t.qState||"L"===t.qState?a.push(o.S):"A"===t.qState?a.push(o.A):"X"!==t.qState&&"XS"!==t.qState&&"XL"!==t.qState||a.push(o.X));var m=t&&t.qHighlightRanges&&t.qHighlightRanges.qRanges.sort((function(e,t){return e.qCharPos-t.qCharPos}))||[],y=m.reduce((function(e,t,n){t.qCharPos>0&&0===n&&e.push([s.slice(0,t.qCharPos)]);var r=m[n-1];return r&&e.push([s.slice(r.qCharPos+r.qCharPos+1,t.qCharPos)]),e.push([s.slice(t.qCharPos,t.qCharPos+t.qCharCount),o.highlighted]),n===m.length-1&&t.qCharPos+t.qCharCount<s.length&&e.push([s.slice(t.qCharPos+t.qCharCount)]),e}),[]);return ot.createElement(xb,{container:!0,spacing:0,className:a.join(" ").trim(),style:r,onClick:l,alignItems:"center",role:"row",tabIndex:0,"data-n":t&&t.qElemNumber},ot.createElement(xb,{item:!0,style:{minWidth:0,flexGrow:1},className:o.cell,title:"".concat(s)},0===m.length?ot.createElement(Uv,{component:"span",noWrap:!0,color:"inherit"},"".concat(s)):y.map((function(e,t){var n=u(e,2);return ot.createElement(Uv,{component:"span",key:t,className:n[1],noWrap:!0},n[0])}))),ot.createElement(xb,{item:!0,className:o.icon},p&&ot.createElement(cE,{size:"small"}),h&&ot.createElement(RE,{size:"small"})))}function kE(e){var t=e.model,n=e.selections,r=e.direction,i=e.height,o=e.width,a=e.listLayout,s=void 0===a?"vertical":a,l=u(Sg(t),1)[0],c=u(Se.exports.useState(null),2),d=c[0],f=c[1],p=Se.exports.useRef(null),h=Se.exports.useRef({queue:[],validPages:!1}),m=Se.exports.useRef({pages:[]}),y=Se.exports.useCallback((function(e){if(!l||!l.qListObject.qDimensionInfo.qLocked){var t=+e.currentTarget.getAttribute("data-n");Number.isNaN(t)||n.select({method:"selectListObjectValues",params:["/qListObjectDef",[t],!l.qListObject.qDimensionInfo.qIsOneAndOnlyOne]})}}),[t,l&&!!l.qListObject.qDimensionInfo.qLocked,l&&!!l.qListObject.qDimensionInfo.qIsOneAndOnlyOne]),g=Se.exports.useCallback((function(e){if(!d||!h.current.validPages)return!1;h.current.checkIdx=e;var t=d.filter((function(t){return t.qArea.qTop<=e&&e<t.qArea.qTop+t.qArea.qHeight}))[0];return t&&t.qArea.qTop<=e&&e<t.qArea.qTop+t.qArea.qHeight}),[l,d]),v=Se.exports.useCallback((function(e,n){h.current.queue.push({start:e,stop:n});var r=!!p.current&&p.current._listRef.state.isScrolling;return h.current.queue.length>10&&h.current.queue.shift(),clearTimeout(h.current.timeout),new Promise((function(e){h.current.timeout=setTimeout((function(){var n=h.current.queue.slice(-2).sort((function(e,t){return e.start-t.start}));t.getListObjectData("/qListObjectDef",n.map((function(e){return{qTop:e.start,qHeight:e.stop-e.start+1,qLeft:0,qWidth:1}}))).then((function(t){h.current.validPages=!0,m.current.pages=t,f(t),e()}))}),r?500:0)}))}),[l]);if(Se.exports.useEffect((function(){if(h.current.queue=[],h.current.validPages=!1,p.current){if(p.current.resetloadMoreItemsCache(!0),l&&l.qSelectionInfo.qInSelections)return;p.current._listRef.scrollToItem(0)}}),[l]),!l)return null;var b="horizontal"!==s,E=l.qListObject.qSize.qcy,_=b?33:200,C=i||8*_;return ot.createElement(xE,{isItemLoaded:g,itemCount:E,loadMoreItems:v,threshold:0,minimumBatchSize:100,ref:p},(function(e){var t=e.onItemsRendered,n=e.ref;return h.current.listRef=n,ot.createElement(_E,{direction:r,useIsScrolling:!0,style:{},height:C,width:o,itemCount:E,layout:s,itemData:{onClick:y,pages:d},itemSize:_,onItemsRendered:t,ref:n},b?IE:TE)}))}var DE=function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M15.4,9 C15.8,9 16,9.3 16,9.6 L16,15.4 C16,15.7 15.8,16 15.4,16 L9.6,16 C9.3,16 9,15.8 9,15.4 L9,9.6 C9,9.3 9.3,9 9.6,9 L15.4,9 Z M15,10 L10,10 L10,15 L15,15 L15,10 Z M6.5,0 C6.8,0 7,0.3 7,0.6 L7,6.4 C7,6.8 6.8,7 6.5,7 L0.6,7 C0.3,7 0,6.8 0,6.5 L0,0.6 C0,0.3 0.3,0 0.6,0 L6.5,0 Z M6,2.8 C6.3,2.5 6.3,2.1 6.1,1.8 C5.9,1.5 5.4,1.6 5.1,1.9 L3.1,3.9 L2.4,3.2 C2.1,2.9 1.7,2.9 1.4,3.1 C1.2,3.3 1.2,3.8 1.5,4.1 L2.7,5.3 C3,5.6 3.4,5.6 3.7,5.3 L3.8,5.3 L6,2.8 Z M6.5,9 C6.8,9 7,9.3 7,9.6 L7,15.4 C7,15.8 6.8,16 6.5,16 L0.6,16 C0.3,16 0,15.8 0,15.4 L0,9.6 C0,9.3 0.3,9 0.6,9 L6.5,9 Z M6,11.8 C6.3,11.5 6.3,11.1 6.1,10.8 C5.9,10.6 5.4,10.6 5.1,10.8 L3.1,12.8 L2.3,12 C2,11.7 1.6,11.7 1.3,12 C1.1,12.3 1.1,12.7 1.4,13 L2.6,14.2 C2.9,14.5 3.3,14.5 3.6,14.3 L3.7,14.2 L6,11.8 Z M15.4,0 C15.8,0 16,0.3 16,0.6 L16,6.4 C16,6.8 15.8,7 15.4,7 L9.6,7 C9.3,7 9,6.8 9,6.5 L9,0.6 C9,0.3 9.3,0 9.6,0 L15.4,0 Z M15,2.8 C15.3,2.5 15.3,2.1 15.1,1.8 C14.9,1.5 14.4,1.6 14.1,1.9 L12.1,3.9 L11.3,3.1 C11,2.8 10.6,2.8 10.3,3 C10,3.2 10.1,3.7 10.3,4 L11.5,5.2 C11.8,5.5 12.2,5.5 12.5,5.2 L15,2.8 Z"}}]})},qE=function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,4 L4,12 L12,4 L4,4 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]})},PE=function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,4 L4,12 L12,12 L12,4 L4,4 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]})},AE=function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]})},ME=function(e){var t=e.layout,n=e.model,r=e.translator;return[{key:"selectAll",type:"menu-icon-button",label:r.get("Selection.SelectAll"),getSvgIconShape:DE,enabled:function(){return["qOption","qAlternative","qExcluded","qDeselected"].some((function(e){return t.qListObject.qDimensionInfo.qStateCounts[e]>0}))},action:function(){n.selectListObjectAll("/qListObjectDef")}},{key:"selectPossible",type:"menu-icon-button",label:r.get("Selection.SelectPossible"),getSvgIconShape:PE,enabled:function(){return["qOption"].some((function(e){return t.qListObject.qDimensionInfo.qStateCounts[e]>0}))},action:function(){n.selectListObjectPossible("/qListObjectDef")}},{key:"selectAlternative",type:"menu-icon-button",label:r.get("Selection.SelectAlternative"),getSvgIconShape:qE,enabled:function(){return["qAlternative"].some((function(e){return t.qListObject.qDimensionInfo.qStateCounts[e]>0}))},action:function(){n.selectListObjectAlternative("/qListObjectDef")}},{key:"selectExcluded",type:"menu-icon-button",label:r.get("Selection.SelectExcluded"),getSvgIconShape:AE,enabled:function(){return["qAlternative","qExcluded"].some((function(e){return t.qListObject.qDimensionInfo.qStateCounts[e]>0}))},action:function(){n.selectListObjectExcluded("/qListObjectDef")}}]},FE=function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M2,6.5 L3,6.5 C3.55228475,6.5 4,6.94771525 4,7.5 L4,8.5 C4,9.05228475 3.55228475,9.5 3,9.5 L2,9.5 C1.44771525,9.5 1,9.05228475 1,8.5 L1,7.5 C1,6.94771525 1.44771525,6.5 2,6.5 Z M7.5,6.5 L8.5,6.5 C9.05228475,6.5 9.5,6.94771525 9.5,7.5 L9.5,8.5 C9.5,9.05228475 9.05228475,9.5 8.5,9.5 L7.5,9.5 C6.94771525,9.5 6.5,9.05228475 6.5,8.5 L6.5,7.5 C6.5,6.94771525 6.94771525,6.5 7.5,6.5 Z M13,6.5 L14,6.5 C14.5522847,6.5 15,6.94771525 15,7.5 L15,8.5 C15,9.05228475 14.5522847,9.5 14,9.5 L13,9.5 C12.4477153,9.5 12,9.05228475 12,8.5 L12,7.5 C12,6.94771525 12.4477153,6.5 13,6.5 Z"}}]})};function jE(e){var t=Wh(),n="function"==typeof e.enabled?!e.enabled():!!e.disabled;return{hidden:!0===e.hidden,disabled:n,style:{backgroundColor:e.active?t.palette.btn.active:void 0},hasSvgIconShape:"function"==typeof e.getSvgIconShape}}var VE=ot.forwardRef((function(e,t){var n=e.item,r=e.addAnchor,i=void 0!==r&&r,o=Wh(),a=jE(n);return a.hidden?null:ot.createElement(Av,{ref:i?null:t,title:n.label,onClick:n.action,disabled:a.disabled,style:a.style},a.hasSvgIconShape&&lE(n.getSvgIconShape()),i&&ot.createElement("div",{ref:t,style:{bottom:-o.spacing(.5),right:0,position:"absolute",width:"100%",height:0}}))})),zE=function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M9.34535242,8 L13.3273238,11.9819714 C13.6988326,12.3534802 13.6988326,12.955815 13.3273238,13.3273238 C12.955815,13.6988326 12.3534802,13.6988326 11.9819714,13.3273238 L8,9.34535242 L4.01802863,13.3273238 C3.64651982,13.6988326 3.04418502,13.6988326 2.67267621,13.3273238 C2.3011674,12.955815 2.3011674,12.3534802 2.67267621,11.9819714 L6.65464758,8 L2.67267621,4.01802863 C2.3011674,3.64651982 2.3011674,3.04418502 2.67267621,2.67267621 C3.04418502,2.3011674 3.64651982,2.3011674 4.01802863,2.67267621 L8,6.65464758 L11.9819714,2.67267621 C12.3534802,2.3011674 12.955815,2.3011674 13.3273238,2.67267621 C13.6988326,3.04418502 13.6988326,3.64651982 13.3273238,4.01802863 L9.34535242,8 Z"}}]})},BE=function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 L6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 L10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 L3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 L0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 L0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 L0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 L3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 L0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 L6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 L10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 L13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 L15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M9.1661442,6.1661442 C10.7210031,4.61128527 13.2789969,4.61128527 14.8338558,6.1661442 C16.3887147,7.72100313 16.3887147,10.2789969 14.8338558,11.8338558 C13.2789969,13.3887147 10.7210031,13.3887147 9.1661442,11.8338558 C7.61128527,10.2789969 7.61128527,7.77115987 9.1661442,6.1661442 Z M14.1316614,7.72100313 C14.3322884,7.52037618 14.3824451,7.169279 14.1316614,6.9184953 C13.8808777,6.6677116 13.5297806,6.71786834 13.3291536,6.9184953 L12.0250784,8.22257053 L10.7210031,6.9184953 C10.5203762,6.6677116 10.1191223,6.6677116 9.9184953,6.9184953 C9.6677116,7.11912226 9.6677116,7.52037618 9.9184953,7.72100313 L11.2225705,9.02507837 L9.9184953,10.3291536 C9.6677116,10.5297806 9.6677116,10.8808777 9.9184953,11.1316614 C10.169279,11.3824451 10.5203762,11.3824451 10.7210031,11.1316614 L12.0250784,9.82758621 L13.3291536,11.1316614 C13.5297806,11.3824451 13.8808777,11.3824451 14.1316614,11.1316614 C14.3322884,10.9310345 14.3824451,10.5297806 14.1316614,10.3291536 L12.8275862,9.02507837 L14.1316614,7.72100313 Z"}}]})},UE=function(e){return lE(BE(e))},HE=jy((function(e){return{icon:{color:e.palette.text.primary}}})),GE=function(e){var t=e.item,n=e.onActionClick,r=void 0===n?function(){}:n,i=jE(t),o=i.hidden,a=i.disabled,s=i.hasSvgIconShape,l=HE().icon;return o?null:ot.createElement(tE,{title:t.label,onClick:function(){t.action(),r()},disabled:a},s&&ot.createElement(zb,{className:l},lE(t.getSvgIconShape())),ot.createElement(Uv,{noWrap:!0},t.label))},WE=ot.forwardRef((function(e,t){var r=e.actions,i=void 0===r?[]:r,o=e.show,a=e.alignTo,l=e.popoverProps,u=e.popoverPaperStyle,c=e.onCloseOrActionClick,d=void 0===c?function(){}:c;return i.length>0&&ot.createElement($b,s({},void 0===l?{}:l,{onClose:d,ref:t,open:void 0===o||o,anchorEl:a.current,getContentAnchorEl:null,container:a.current,disablePortal:!0,hideBackdrop:!0,style:{pointerEvents:"none"},transitionDuration:0,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},PaperProps:{style:n({pointerEvents:"auto",maxWidth:"250px"},void 0===u?{}:u)}}),ot.createElement(Jb,null,i.map((function(e,t){return ot.createElement(GE,{key:t,item:e,onActionClick:d})}))))})),$E=jy((function(e){return{itemSpacing:{padding:e.spacing(0,.5)},firstItemSpacing:{padding:e.spacing(0,.5,0,0)},lastItemSpacing:{padding:e.spacing(0,0,0,.5)}}})),KE=ot.forwardRef((function(e,t){var n=e.actions,r=void 0===n?[]:n,i=e.first,o=void 0!==i&&i,a=e.last,s=void 0!==a&&a,l=e.addAnchor,u=void 0!==l&&l,d=$E(),f=d.itemSpacing,p=d.firstItemSpacing,h=d.lastItemSpacing;return r.length>0?ot.createElement(xb,{item:!0,container:!0,spacing:0,wrap:"nowrap"},r.map((function(e,n){var i=[],a=o&&0===n,l=s&&r.length-1===n;return a&&!l&&(i=[p]),l&&!a&&(i=[].concat(c(i),[h])),a||l||0!==i.length||(i=[f]),ot.createElement(xb,{item:!0,key:e.key,className:i.join(" ").trim()},ot.createElement(VE,{key:e.key,item:e,ref:0===n?t:null,addAnchor:u}))}))):null})),QE={pointerEvents:"none"},XE={vertical:"top",horizontal:"right"},ZE={vertical:"bottom",horizontal:"right"},YE=function(e){var t=e.show,n=void 0===t||t,r=e.actions,i=void 0===r?[]:r,o=e.maxItems,a=void 0===o?3:o,s=e.selections,l=void 0===s?{show:!1,api:null,onConfirm:function(){},onCancel:function(){}}:s,d=e.more,f=void 0===d?{enabled:!1,actions:[],alignTo:null,popoverProps:{},popoverPaperStyle:{}}:d,p=e.popover,h=void 0===p?{show:!1,anchorEl:null}:p,m=function(e){var t=e.api,n=e.onConfirm,r=void 0===n?function(){}:n,i=e.onCancel,o=void 0===i?function(){}:i,a=Se.exports.useContext(eg).translator;return[{key:"clear",type:"icon-button",label:a.get("Selection.Clear"),enabled:function(){return t.canClear()},action:function(){return t.clear()},getSvgIconShape:BE},{key:"cancel",type:"icon-button",label:a.get("Selection.Cancel"),enabled:function(){return t.canCancel()},action:function(){t.cancel(),o()},getSvgIconShape:zE},{key:"confirm",type:"icon-button",label:a.get("Selection.Confirm"),enabled:function(){return t.canConfirm()},action:function(){t.confirm(),r()},getSvgIconShape:OE}]}(l),y=$E().itemSpacing,g=Se.exports.useContext(eg).translator,v=u(Se.exports.useState(!1),2),b=v[0],E=v[1],_=u(Se.exports.useState(f.enabled),2),C=_[0],S=_[1],w=u(Se.exports.useState(f.actions),2),x=w[0],O=w[1],R=u(Se.exports.useState(f.alignTo),2),N=R[0],I=R[1],L=Se.exports.useRef(),T=Wh(),k=Se.exports.useMemo((function(){return{margin:T.spacing(.5,0)}}));Se.exports.useEffect((function(){return function(){return E(!1)}}),[h.show]),Se.exports.useEffect((function(){S(f.enabled)}),[f.enabled]);var D=Se.exports.useMemo((function(){return i.filter((function(e){return!e.hidden}))}),[i]);if(!l.show&&0===D.length)return null;var q={key:"more",label:g.get("Menu.More"),getSvgIconShape:FE,hidden:!1,enabled:function(){return C},action:function(){return E(!b)}};if(D.length>a){var P=D.splice(-(D.length-a)-1);S(!0),O([].concat(c(P),c(f.actions))),I(L)}var A=D.length>0,M=x.length>0,F=A&&l.show||M&&l.show,j=ot.createElement(xb,{container:!0,spacing:0,wrap:"nowrap"},A&&ot.createElement(KE,{actions:D,first:!0,last:!M&&!l.show}),M&&ot.createElement(KE,{ref:L,actions:[q],first:!A,last:!l.show,addAnchor:!0}),F&&ot.createElement(xb,{item:!0,className:y,style:k},ot.createElement(fb,{orientation:"vertical"})),l.show&&ot.createElement(KE,{actions:m,first:!A&&!M,last:!0}),b&&ot.createElement(WE,{show:b,actions:x,alignTo:N,popoverProps:f.popoverProps,popoverPaperStyle:f.popoverPaperStyle,onCloseOrActionClick:function(){E(!1)}}));return h.show?ot.createElement($b,{disableEnforceFocus:!0,disableAutoFocus:!0,disableRestoreFocus:!0,open:h.show,anchorEl:h.anchorEl,anchorOrigin:XE,transformOrigin:ZE,hideBackdrop:!0,style:QE,PaperProps:{style:{pointerEvents:"auto",padding:T.spacing(1,1)}}},j):n&&j},JE=function(e){return lE(function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M15.7873809,13.80959 C16.1870614,14.209868 15.9872212,15.1104934 15.4876205,15.5107714 C15.08794,15.9110493 14.1886588,16.2112578 13.7889782,15.8109798 L11.0911347,13.1091035 L10.9912145,12.5086866 L10.2917736,11.8082001 C9.19265216,12.5086866 7.89369045,13.0090341 6.49480859,13.0090341 C2.89768383,13.0090341 0,10.1070188 0,6.50451703 C0,2.90201529 2.89768383,0 6.49480859,0 C10.0919334,0 12.9896172,2.90201529 12.9896172,6.50451703 C12.9896172,7.90548992 12.4900165,9.20639333 11.7905756,10.3071577 L12.4900165,11.0076442 L13.0895373,11.1077137 L15.7873809,13.80959 Z M11.2909749,6.50451703 C11.2909749,5.20361362 10.7913743,4.00277971 9.89209309,3.00208478 C8.9928119,2.10145935 7.79377031,1.60111188 6.49480859,1.60111188 C5.19584688,1.60111188 3.99680529,2.10145935 2.99760397,3.00208478 C2.09832278,4.00277971 1.59872212,5.20361362 1.59872212,6.50451703 C1.59872212,7.80542043 2.09832278,9.00625434 2.99760397,9.90687978 C3.89688516,10.8075052 5.09592674,11.3078527 6.49480859,11.3078527 C7.79377031,11.4079222 8.9928119,10.9075747 9.89209309,9.90687978 C10.7913743,9.00625434 11.2909749,7.80542043 11.2909749,6.50451703 Z"}}]})}(e))},e_=sm((function(e){return{root:{"& fieldset":{borderRadius:0,borderColor:"".concat(e.palette.divider," transparent")}}}})),t_="/qListObjectDef";function n_(e){var t=e.model,n=Se.exports.useContext(eg).translator,r=u(Se.exports.useState(""),2),i=r[0],o=r[1],a=e_();return ot.createElement(oE,{startAdornment:ot.createElement(Db,{position:"start"},ot.createElement(JE,null)),className:[a.root].join(" "),autoFocus:!0,margin:"dense",fullWidth:!0,placeholder:n.get("Listbox.Search"),value:i,onChange:function(e){o(e.target.value),t.searchListObjectFor(t_,e.target.value)},onKeyDown:function(e){switch(e.key){case"Enter":t.acceptListObjectSearch(t_,!0),o("");break;case"Escape":t.abortListObjectSearch(t_)}}})}function r_(e){var t,n,r=e.appSelections,i=e.appModal,a=e.model,s=!1,l=!1,u={id:a.id,setLayout:function(e){t=e},begin:function(e){var t,n=(t=!1,{isPrevented:function(){return t},preventDefault:function(){t=!0}});return this.emit("activate",n),n.isPrevented()?Promise.resolve():(s=!0,this.emit("activated"),i.begin(a,e,!0))},clear:function(){return l=!1,this.emit("cleared"),t.qListObject?a.clearSelections("/qListObjectDef"):a.resetMadeSelections()},confirm:function(){return l=!1,s=!1,this.emit("confirmed"),this.emit("deactivated"),i.end(!0)},cancel:function(){return l=!1,s=!1,this.emit("canceled"),this.emit("deactivated"),i.end(!1)},select:function(e){var t=this;return o(regeneratorRuntime.mark((function n(){var i;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(i=t.begin([e.params[0]]),r.isModal()){n.next=3;break}return n.abrupt("return",!1);case 3:return n.next=5,i;case 5:return n.next=7,a[e.method].apply(a,c(e.params));case 7:if(l="resetMadeSelections"!==e.method,n.sent){n.next=12;break}return a.resetMadeSelections(),n.abrupt("return",!1);case 12:return n.abrupt("return",!0);case 13:case"end":return n.stop()}}),n)})))()},canClear:function(){return t&&t.qListObject&&t.qListObject.qDimensionInfo?!t.qListObject.qDimensionInfo.qLocked:l},canConfirm:function(){return t&&t.qListObject&&t.qListObject.qDimensionInfo?!t.qListObject.qDimensionInfo.qLocked:l},canCancel:function(){return!(t&&t.qListObject&&t.qListObject.qDimensionInfo&&t.qListObject.qDimensionInfo.qLocked)},isActive:function(){return s},isModal:function(){return r.isModal(a)},goModal:function(e){return i.begin(a,e,!1)},noModal:function(){return i.end(arguments.length>0&&void 0!==arguments[0]&&arguments[0])}};return n=u,Object.keys(E.prototype).forEach((function(e){n[e]=E.prototype[e]})),E.init(n),u}function i_(e,t){var n=u(jg(e),1)[0],r=u(Sg(t),1)[0],i=t?t.id:null,o=u(Tg(),1)[0],a=u(qg(),1)[0],s=o.get(e.id),l=a.get(i);return Se.exports.useEffect((function(){n&&t&&!l&&(l=r_({appSelections:n,appModal:s,model:t}),a.set(i,l),a.dispatch(!0))}),[n,t]),Se.exports.useEffect((function(){l&&l.setLayout(r)}),[l,r]),[l]}function o_(e){var t=e.alignTo,n=e.close,r=e.app,i=e.fieldName,o=e.stateName,a=void 0===o?"$":o,s=e.show&&Boolean(t.current),l=Wh(),c=u(xg({qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:a,qShowAlternatives:!0,qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}],qFieldDefs:[i]}}},r,i,a),1)[0],d=Se.exports.useCallback((function(){c.lock("/qListObjectDef")}),[c]),f=Se.exports.useCallback((function(){c.unlock("/qListObjectDef")}),[c]),p=Se.exports.useContext(eg).translator,h=Se.exports.useRef(),m=u(i_(r,c),1)[0],y=u(Sg(c),1)[0];if(Se.exports.useEffect((function(){m&&s&&(m.isModal(c)||m.goModal("/qListObjectDef"))}),[m,s]),!c||!y||!p)return null;var g=!0===y.qListObject.qDimensionInfo.qLocked,v=function(e,t){m.noModal("escapeKeyDown"!==t),n()},b=ME({layout:y,model:c,translator:p}),E=y.qListObject.qDimensionInfo.qStateCounts,_=E.qSelected+E.qSelectedExcluded+E.qLocked+E.qLockedExcluded>0;return ot.createElement($b,{open:s,onClose:v,anchorEl:t.current,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"250px"}}},ot.createElement(xb,{container:!0,direction:"column",spacing:0},ot.createElement(xb,{item:!0,container:!0,style:{padding:l.spacing(1)}},ot.createElement(xb,{item:!0},g?ot.createElement(Av,{onClick:f,disabled:!g},ot.createElement(cE,null)):ot.createElement(Av,{onClick:d,disabled:!_},ot.createElement(dE,null))),ot.createElement(xb,{item:!0,xs:!0}),ot.createElement(xb,{item:!0},ot.createElement(YE,{more:{enabled:!g,actions:b,alignTo:h,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:!0,api:m,onConfirm:v,onCancel:function(){return v(0,"escapeKeyDown")}}}))),ot.createElement(xb,{item:!0,xs:!0},ot.createElement("div",{ref:h}),ot.createElement(n_,{model:c}),ot.createElement(kE,{model:c,selections:m,direction:"ltr"}))))}var a_=sm((function(e){return{item:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover}}}}));function s_(e){var t=e.field,n=e.api,r=e.stateIx,i=void 0===r?0:r,o=e.skipHandleShowListBoxPopover,a=void 0!==o&&o,s=e.moreAlignTo,l=void 0===s?null:s,c=e.onClose,d=void 0===c?function(){}:c,f=Se.exports.useContext(eg).translator,p=l||Se.exports.useRef(),h=Wh(),m=u(Se.exports.useState(!1),2),y=m[0],g=m[1],v=a_(),b=function(){g(!1),d()},E=t.selections[i];void 0===E.qTotal&&(E.qTotal=0);var _=E.qStateCounts||{qSelected:0,qLocked:0,qExcluded:0,qLockedExcluded:0,qSelectedExcluded:0,qAlternative:0},C=(_.qSelected+_.qLocked)/E.qTotal,S=_.qAlternative/E.qTotal,w=(_.qExcluded+_.qLockedExcluded+_.qSelectedExcluded)/E.qTotal,x=_.qSelected+_.qSelectedExcluded+_.qLocked+_.qLockedExcluded,O=0===x&&0===E.qTotal,R="";E.qTotal===x&&E.qTotal>1?R=f.get("CurrentSelections.All"):x>1&&E.qTotal?R=f.get("CurrentSelections.Of",[x,E.qTotal]):E.qSelectedFieldSelectionInfo&&(R=E.qSelectedFieldSelectionInfo.map((function(e){return e.qName})).join(", ")),"$"!==t.states[i]&&(R="".concat(t.states[i],": ").concat(R));var N=[{color:h.palette.selected.main,ratio:C},{color:h.palette.selected.alternative,ratio:S},{color:h.palette.selected.excluded,ratio:w}];N.forEach((function(e,t){e.offset=t?N[t-1].offset+N[t-1].ratio:0}));var I=null,L=null,T=null,k=null;return l||(I=ot.createElement(xb,{item:!0,xs:!0,style:{minWidth:0,flexGrow:1,opacity:E.qLocked?"0.3":""}},ot.createElement(Uv,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},E.qField),ot.createElement(Uv,{noWrap:!0,style:{fontSize:"12px",opacity:.55,lineHeight:"16px"}},R)),L=ot.createElement(xb,{item:!0},E.qLocked?ot.createElement(Av,null,ot.createElement(cE,null)):ot.createElement(Av,{title:f.get("Selection.Clear"),onClick:function(e){e.stopPropagation(),n.clearField(E.qField,t.states[i])}},ot.createElement(uE,null))),T=ot.createElement("div",{style:{height:"4px",position:"absolute",bottom:"0",left:"0",width:"100%"}},!1===O&&N.map((function(e){return ot.createElement("div",{key:e.color,style:{position:"absolute",background:e.color,height:"100%",top:0,width:"".concat(100*e.ratio,"%"),left:"".concat(100*e.offset,"%")}})}))),k=ot.createElement(xb,{container:!0,spacing:0,ref:p,className:v.item,onClick:!1===a&&function(e){e.currentTarget.contains(e.target)&&g(!y)}||null},I,L,T,y&&ot.createElement(o_,{alignTo:p,show:y,close:b,app:n.model,fieldName:E.qField,stateName:t.states[i]}))),l?ot.createElement(o_,{alignTo:p,show:!0,close:b,app:n.model,fieldName:E.qField,stateName:t.states[i]}):k}var l_=function(e){return lE(function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M8,9 L12.5,4.5 L14,6 L9.5,10.5 L8,12 L2,6 L3.5,4.5 L8,9 Z"}}]})}(e))},u_=sm((function(e){return{item:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover},height:"100%",alignItems:"center"},badge:{padding:e.spacing(0,1)}}}));function c_(e){var t=e.field,n=e.api,r=e.moreAlignTo,i=void 0===r?null:r,o=e.onClose,a=void 0===o?function(){}:o,s=u_(),l=u(Se.exports.useState(!!i),2),c=l[0],d=l[1],f=u(Se.exports.useState(-1),2),p=f[0],h=f[1],m=u(Se.exports.useState(i?i.current:null),2),y=m[0],g=m[1],v=i||Se.exports.useRef(),b=Se.exports.useContext(eg).translator.get("Selection.ClearAllStates"),E=function(){h(-1),a()},_=null;i||(_=ot.createElement(ot.Fragment,null,ot.createElement(xb,{item:!0,xs:!0,zeroMinWidth:!0},ot.createElement(Fv,{className:s.badge,color:"secondary",badgeContent:t.states.length},ot.createElement(Uv,{component:"span",noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},t.name))),ot.createElement(xb,{item:!0},ot.createElement("div",{style:{width:"12px"}})),ot.createElement(xb,{item:!0},ot.createElement(Av,null,ot.createElement(l_,null)))));var C=ot.createElement(Ab,{dense:!0},ot.createElement(jb,{title:b,onClick:function(){t.states.forEach((function(e){return n.clearField(t.name,e)}))}},ot.createElement(Gv,{variant:"contained",fullWidth:!0},b)),t.states.map((function(e,r){return ot.createElement(jb,{key:r,title:t.name,onClick:function(e){return function(e,t){e.stopPropagation(),d(!1),h(t)}(e,r)}},ot.createElement(Vv,{border:1,width:"100%",borderRadius:"borderRadius",borderColor:"divider"},ot.createElement(s_,{field:t,api:n,stateIx:r,skipHandleShowListBoxPopover:!0})))}))),S=ot.createElement($b,{open:c,onClose:function(){d(!1),a()},anchorEl:y,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},C),w=i?S:ot.createElement(xb,{container:!0,spacing:0,className:s.item,onClick:function(e){e.currentTarget.contains(e.target)&&(g(e.currentTarget),v.current=e.currentTarget,d(!c))}},_,c&&S,p>-1&&ot.createElement(o_,{alignTo:v,show:p>-1,close:E,app:n.model,fieldName:t.selections[p].qField,stateName:t.states[p]}));return i&&p>-1?ot.createElement(o_,{alignTo:v,show:p>-1,close:E,app:n.model,fieldName:t.selections[p].qField,stateName:t.states[p]}):w}var d_=sm((function(e){return{item:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover},height:"100%",alignItems:"center"},badge:{padding:e.spacing(0,1)}}}));function f_(e){var t=e.items,n=void 0===t?[]:t,r=e.api,i=d_(),o=Wh(),a=u(Se.exports.useState(!1),2),s=a[0],l=a[1],c=u(Se.exports.useState(-1),2),d=c[0],f=c[1],p=u(Se.exports.useState(null),2),h=p[0],m=p[1],y=Se.exports.useRef(),g=function(){f(-1)},v=null;return d>-1&&(v=n[d].states.length>1?ot.createElement(c_,{field:n[d],api:r,moreAlignTo:y,onClose:g}):ot.createElement(s_,{field:n[d],api:r,skipHandleShowListBoxPopover:!0,moreAlignTo:y,onClose:g})),ot.createElement(xb,{container:!0,spacing:0,className:i.item,onClick:function(e){e.currentTarget.contains(e.target)&&(m(e.currentTarget),y.current=e.currentTarget,l(!s))}},ot.createElement(xb,{item:!0},ot.createElement(Vv,{borderRadius:o.shape.borderRadius,style:{padding:"4px 8px 4px 8px",backgroundColor:o.palette.selected.main,color:o.palette.selected.mainContrastText}},ot.createElement(Uv,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600},color:"inherit"},"+",n.length))),ot.createElement(xb,{item:!0},ot.createElement(Av,null,ot.createElement(l_,null))),s&&ot.createElement($b,{open:s,onClose:function(){l(!1)},anchorEl:h,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},ot.createElement(Ab,{dense:!0},n.map((function(e,t){return ot.createElement(jb,{key:t,title:e.name,onClick:function(e){return function(e,t){e.stopPropagation(),l(!1),f(t)}(e,t)}},ot.createElement(Vv,{border:1,width:"100%",borderRadius:"borderRadius",borderColor:"divider"},ot.createElement(e.states.length>1?c_:s_,{field:e,api:r})))})))),v)}function p_(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"$";e.qSelections.forEach((function(e){var r=e.qField,i=t[r]=t[r]||{name:r,states:[],selections:[]};-1===i.states.indexOf(n)&&(i.states.push(n),i.selections.push(e))}))}function h_(e){var t=e.api,n=e.app,r=Wh(),i=u(Rg(n),1)[0],o=u(Sg(i),1)[0],a=u(Se.exports.useState({items:[],more:[]}),2),s=a[0],l=a[1],c=u(Mg(),1)[0],d=u(aE(),2),f=d[0],p=d[1],h=u(Se.exports.useState(0),2),m=h[0],y=h[1];return Se.exports.useEffect((function(){if(p){var e=Math.floor(p.width)-72,t=Math.floor(e/120);y(t)}}),[p]),Se.exports.useEffect((function(){if(n&&i&&o&&m){var e=function(e){if(!e)return[];var t={};return e.qSelectionObject&&p_(e.qSelectionObject,t),e.alternateStates&&e.alternateStates.forEach((function(e){return p_(e.qSelectionObject,t,e.stateName)})),Object.keys(t).map((function(e){return t[e]}))}(o);l((function(t){var r,i=e;if((r=c.get(n.id))&&"njsListbox"===r.genericType&&i.length+1===t.items.length){var o=t.items.filter((function(e){return!1===i.some((function(t){return e.name===t.name}))}))[0];o.selections=[{qField:o.selections[0].qField}];var a=t.items.indexOf(o);i.splice(a,0,o)}var s=[];return m<i.length&&(s=i.splice(m-i.length)),{items:i,more:s}}))}}),[n,i,o,t.isInModal(),m]),ot.createElement(xb,{ref:f,container:!0,spacing:0,wrap:"nowrap",style:{height:"100%"}},s.items.map((function(e){return ot.createElement(xb,{item:!0,key:"".concat(e.states.join("::"),"::").concat(e.name),style:{position:"relative",maxWidth:"240px",minWidth:"".concat(120,"px"),background:r.palette.background.paper,borderRight:"1px solid ".concat(r.palette.divider)}},ot.createElement(e.states.length>1?c_:s_,{field:e,api:t}))})),s.more.length>0&&ot.createElement(xb,{item:!0,style:{position:"relative",maxWidth:"98px",minWidth:"".concat(72,"px"),background:r.palette.background.paper,borderRight:"1px solid ".concat(r.palette.divider)}},ot.createElement(f_,{items:s.more,api:t})))}var m_=function(e){return lE(function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 Z M16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,-5.07265313e-17 13.5,0 L15,0 C15.5522847,1.01453063e-16 16,0.44771525 16,1 L16,2.5 Z M10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 C6,0.223857625 6.22385763,-5.07265313e-17 6.5,0 L9.5,0 C9.77614237,5.07265313e-17 10,0.223857625 10,0.5 Z M1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 5.18696197e-13,2.77614237 5.18696197e-13,2.5 L5.18696197e-13,1 C5.18696197e-13,0.44771525 0.44771525,-1.01453063e-16 1,0 L2.5,0 C2.77614237,5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 5.18696197e-13,15.5522847 5.18696197e-13,15 L5.18696197e-13,13.5 C5.18696197e-13,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M4,7 C7.49095643,7 10,10.1337595 10,12.1872632 C10,12.1872632 8.16051135,9.86624054 4,10 L4,12 C4,12 2.66666667,10.8333333 -1.0658141e-14,8.5 C-2.59348099e-13,8.5 1.33333333,7.33333333 4,5 C4,5 4,5.66666667 4,7 Z"}}]})}(e))},y_=function(e){return lE(function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 L6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 L10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 L3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 L0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 L0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 L0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 L3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 L0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 L6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 L10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 L13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 L15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M12,7 C12,5.66666667 12,5 12,5 C14.6666667,7.33333333 16,8.5 16,8.5 C13.3333333,10.8333333 12,12 12,12 L12,10 C7.83948865,9.86624054 6,12.1872632 6,12.1872632 C6,10.1337595 8.50904357,7 12,7 Z"}}]})}(e))};function g_(e){var t=e.api,n=e.app,r=Se.exports.useContext(eg).translator,i=u(Ng(n),1)[0];return ot.createElement(xb,{container:!0,wrap:"nowrap",style:{height:"100%",alignItems:"center",padding:"0 8px"}},ot.createElement(xb,{item:!0},ot.createElement(Av,{style:{marginRight:"8px"},disabled:!i||!i.canGoBack,title:r.get("Navigate.Back"),onClick:function(){return t.back()}},ot.createElement(m_,null))),ot.createElement(xb,{item:!0},ot.createElement(Av,{style:{marginRight:"8px"},disabled:!i||!i.canGoForward,title:r.get("Navigate.Forward"),onClick:function(){return t.forward()}},ot.createElement(y_,null))),ot.createElement(xb,{item:!0},ot.createElement(Av,{disabled:!i||!i.canClear,title:r.get("Selection.ClearAll"),onClick:function(){return t.clear()}},ot.createElement(UE,null))))}var v_=function(e){var t=e.app,n=Wh(),r=u(jg(t),1)[0];return r?ot.createElement(xb,{container:!0,spacing:0,wrap:"nowrap",style:{backgroundColor:n.palette.background.paper,minHeight:"40px"}},ot.createElement(xb,{item:!0,style:{borderRight:"1px solid ".concat(n.palette.divider)}},ot.createElement(g_,{api:r,app:t})),ot.createElement(xb,{item:!0,xs:!0,style:{backgroundColor:n.palette.background.darker,overflow:"hidden"}},ot.createElement(h_,{api:r,app:t}))):null};function b_(e){var t=e.element;return ud.createPortal(ot.createElement(v_,{app:e.app}),t)}var E_=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},__=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),C_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},S_=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},w_=function(e){function t(){var e,n,r;E_(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=S_(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),r.state={height:r.props.defaultHeight||0,width:r.props.defaultWidth||0},r._onResize=function(){var e=r.props,t=e.disableHeight,n=e.disableWidth,i=e.onResize;if(r._parentNode){var o=r._parentNode.offsetHeight||0,a=r._parentNode.offsetWidth||0,s=window.getComputedStyle(r._parentNode)||{},l=parseInt(s.paddingLeft,10)||0,u=parseInt(s.paddingRight,10)||0,c=parseInt(s.paddingTop,10)||0,d=parseInt(s.paddingBottom,10)||0;(!t&&r.state.height!==o-c-d||!n&&r.state.width!==a-l-u)&&(r.setState({height:o-c-d,width:a-l-u}),i({height:o,width:a}))}},r._setRef=function(e){r._autoSizer=e},S_(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),__(t,[{key:"componentDidMount",value:function(){var e=this.props.nonce;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._detectElementResize=function(e){var t;t="undefined"!=typeof window?window:"undefined"!=typeof self?self:global;var n,r,i="undefined"!=typeof document&&document.attachEvent;if(!i){var o=(r=t.requestAnimationFrame||t.mozRequestAnimationFrame||t.webkitRequestAnimationFrame||function(e){return t.setTimeout(e,20)},function(e){return r(e)}),a=(n=t.cancelAnimationFrame||t.mozCancelAnimationFrame||t.webkitCancelAnimationFrame||t.clearTimeout,function(e){return n(e)}),s=function(e){var t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,i=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,i.style.width=n.offsetWidth+1+"px",i.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},l=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var t=this;s(this),this.__resizeRAF__&&a(this.__resizeRAF__),this.__resizeRAF__=o((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(n){n.call(t,e)})))}))}},u=!1,c="",d="animationstart",f="Webkit Moz O ms".split(" "),p="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),h=document.createElement("fakeelement");if(void 0!==h.style.animationName&&(u=!0),!1===u)for(var m=0;m<f.length;m++)if(void 0!==h.style[f[m]+"AnimationName"]){c="-"+f[m].toLowerCase()+"-",d=p[m],u=!0;break}var y="resizeanim",g="@"+c+"keyframes "+y+" { from { opacity: 0; } to { opacity: 0; } } ",v=c+"animation: 1ms "+y+"; "}return{addResizeListener:function(n,r){if(i)n.attachEvent("onresize",r);else{if(!n.__resizeTriggers__){var o=n.ownerDocument,a=t.getComputedStyle(n);a&&"static"==a.position&&(n.style.position="relative"),function(t){if(!t.getElementById("detectElementResize")){var n=(g||"")+".resize-triggers { "+(v||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',r=t.head||t.getElementsByTagName("head")[0],i=t.createElement("style");i.id="detectElementResize",i.type="text/css",null!=e&&i.setAttribute("nonce",e),i.styleSheet?i.styleSheet.cssText=n:i.appendChild(t.createTextNode(n)),r.appendChild(i)}}(o),n.__resizeLast__={},n.__resizeListeners__=[],(n.__resizeTriggers__=o.createElement("div")).className="resize-triggers";var u=o.createElement("div");u.className="expand-trigger",u.appendChild(o.createElement("div"));var c=o.createElement("div");c.className="contract-trigger",n.__resizeTriggers__.appendChild(u),n.__resizeTriggers__.appendChild(c),n.appendChild(n.__resizeTriggers__),s(n),n.addEventListener("scroll",l,!0),d&&(n.__resizeTriggers__.__animationListener__=function(e){e.animationName==y&&s(n)},n.__resizeTriggers__.addEventListener(d,n.__resizeTriggers__.__animationListener__))}n.__resizeListeners__.push(r)}},removeResizeListener:function(e,t){if(i)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",l,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(d,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}(e),this._detectElementResize.addResizeListener(this._parentNode,this._onResize),this._onResize())}},{key:"componentWillUnmount",value:function(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,r=e.disableWidth,i=e.style,o=this.state,a=o.height,s=o.width,l={overflow:"visible"},u={},c=!1;return e.disableHeight||(0===a&&(c=!0),l.height=0,u.height=a),r||(0===s&&(c=!0),l.width=0,u.width=s),Se.exports.createElement("div",{className:n,ref:this._setRef,style:C_({},l,i)},!c&&t(u))}}]),t}(Se.exports.PureComponent);function x_(e){var t=e.element;return ud.createPortal(ot.createElement(O_,{app:e.app,fieldIdentifier:e.fieldIdentifier,stateName:e.stateName,options:e.options}),t)}function O_(e){var t,r=e.app,i=e.fieldIdentifier,o=e.stateName,a=void 0===o?"$":o,s=e.options,l=void 0===s?{}:s,c=l.direction,d=l.listLayout,f=l.search,p=void 0===f||f,h=l.properties,m=n({qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:a,qShowAlternatives:!0,qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}]}},title:l.title},void 0===h?{}:h);i.qLibraryId?(m.qListObjectDef.qLibraryId=i.qLibraryId,t=i.qLibraryId):(m.qListObjectDef.qDef.qFieldDefs=[i],t=i);var y=Wh(),g=u(xg(m,r,t,a),1)[0],v=Se.exports.useCallback((function(){g.lock("/qListObjectDef")}),[g]),b=Se.exports.useCallback((function(){g.unlock("/qListObjectDef")}),[g]),E=Se.exports.useContext(eg).translator,_=Se.exports.useRef(),C=u(i_(r,g),1)[0],S=u(Sg(g),1)[0],w=u(Se.exports.useState(!1),2),x=w[0],O=w[1];if(Se.exports.useEffect((function(){C&&(C.isModal(g)||(C.on("deactivated",(function(){O(!1)})),C.on("activated",(function(){O(!0)}))))}),[C]),Se.exports.useEffect((function(){C&&O(C.isActive())}),[C]),!g||!S||!E)return null;var R=!0===S.qListObject.qDimensionInfo.qLocked,N=ME({layout:S,model:g,translator:E}),I=S.qListObject.qDimensionInfo.qStateCounts,L=I.qSelected+I.qSelectedExcluded+I.qLocked+I.qLockedExcluded>0;return ot.createElement(xb,{container:!0,direction:"column",spacing:0,style:{height:"100%",minHeight:"".concat(49+(p?40:0)+49,"px")}},ot.createElement(xb,{item:!0,container:!0,style:{padding:y.spacing(1),borderBottom:"1px solid ".concat(y.palette.divider)}},ot.createElement(xb,{item:!0},R?ot.createElement(Av,{onClick:b,disabled:!R},ot.createElement(cE,null)):ot.createElement(Av,{onClick:v,disabled:!L},ot.createElement(dE,null))),ot.createElement(xb,{item:!0},ot.createElement(Uv,{variant:"h6",noWrap:!0},S.title||S.qListObject.qDimensionInfo.qFallbackTitle)),ot.createElement(xb,{item:!0,xs:!0}),ot.createElement(xb,{item:!0},ot.createElement(YE,{more:{enabled:!R,actions:N,alignTo:_,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:x,api:C,onConfirm:function(){},onCancel:function(){}}}))),p?ot.createElement(xb,{item:!0},ot.createElement(n_,{model:g})):"",ot.createElement(xb,{item:!0,xs:!0},ot.createElement("div",{ref:_}),ot.createElement(w_,null,(function(e){return ot.createElement(kE,{model:g,selections:C,direction:c,listLayout:d,height:e.height,width:e.width})}))))}w_.defaultProps={onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}};var R_=[[10,31],[0,31],[0,31],[0,31],[0,31],[0,31]];function N_(e){var t=u(e,2),n=t[0],r=t[1];return(n+(Math.random()*(r-n)|0)).toString(32)}function I_(){return R_.map(N_).join("")}function L_(e,t){for(var n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)}function T_(e,t){for(var n=0,r=0;r<e.length;++r)e[r]>t?--e[r]:e[r]===t&&(n=r);return e.splice(n,1),n}function k_(e){var t=e.properties,i=e.fields;if(i.length){var o=e.sn.qae.data.targets[0];if(o){for(var a=o.propertyPath.split("/"),s=t,l=0;l<a.length;l++){var u=a[l];s=u?s[u]:s}var c=function(e){var t=e.dc,r=e.def,i=e.properties;t.qDimensions=t.qDimensions||[],t.qMeasures=t.qMeasures||[],t.qInterColumnSortOrder=t.qInterColumnSortOrder||[],t.qInitialDataFetch=t.qInitialDataFetch||[],t.qColumnOrder=t.qColumnOrder||[],t.qExpansionState=t.qExpansionState||[];var o=i,a={dimensions:function(){return t.qDimensions},measures:function(){return t.qMeasures},addDimension:function(e){var i="string"==typeof e?function(e){return{qDef:{qFieldDefs:[e]}}}(e):n(n({},e),{},{qDef:e.qDef||{}});i.qDef.cId=i.qDef.cId||I_(),i.qDef.qSortCriterias=i.qDef.qSortCriterias||[{qSortByLoadOrder:1,qSortByNumeric:1,qSortByAscii:1}],i.qOtherTotalSpec=i.qOtherTotalSpec||{},i.qAttributeExpressions=i.qAttributeExpressions||[],i.qAttributeDimensions=i.qAttributeDimensions||[],t.qDimensions.length<a.maxDimensions()?(t.qDimensions.push(i),L_(t.qInterColumnSortOrder,t.qDimensions.length-1),r.dimensions.added(i,o)):(t.qLayoutExclude=t.qLayoutExclude||{},t.qLayoutExclude.qHyperCubeDef=t.qLayoutExclude.qHyperCubeDef||{},t.qLayoutExclude.qHyperCubeDef.qDimensions=t.qLayoutExclude.qHyperCubeDef.qDimensions||[],t.qLayoutExclude.qHyperCubeDef.qMeasures=t.qLayoutExclude.qHyperCubeDef.qMeasures||[],t.qLayoutExclude.qHyperCubeDef.qDimensions.push(i))},removeDimension:function(e){var n=t.qDimensions.splice(e,1)[0];T_(t.qInterColumnSortOrder,e),r.dimensions.removed(n,o,e)},addMeasure:function(e){var i="string"==typeof e?function(e){return{qDef:{qDef:e}}}(e):n(n({},e),{},{qDef:e.qDef||{}});i.qDef.cId=i.qDef.cId||I_(),i.qSortBy=i.qSortBy||{qSortByLoadOrder:1,qSortByNumeric:-1},i.qAttributeDimensions=i.qAttributeDimensions||[],i.qAttributeExpressions=i.qAttributeExpressions||[],t.qMeasures.length<a.maxMeasures()?(t.qMeasures.push(i),L_(t.qInterColumnSortOrder,t.qDimensions.length+t.qMeasures.length-1),r.measures.added(i,o)):(t.qLayoutExclude=t.qLayoutExclude||{},t.qLayoutExclude.qHyperCubeDef=t.qLayoutExclude.qHyperCubeDef||{},t.qLayoutExclude.qHyperCubeDef.qDimensions=t.qLayoutExclude.qHyperCubeDef.qDimensions||[],t.qLayoutExclude.qHyperCubeDef.qMeasures=t.qLayoutExclude.qHyperCubeDef.qMeasures||[],t.qLayoutExclude.qHyperCubeDef.qMeasures.push(i))},removeMeasure:function(e){var n=t.qMeasures.splice(e,1)[0];T_(t.qInterColumnSortOrder,t.qDimensions.length+e),r.measures.removed(n,o,e)},maxDimensions:function(){return r.dimensions.max(t.qMeasures.length)},maxMeasures:function(){return r.measures.max(t.qDimensions.length)},canAddDimension:function(){return t.qDimensions.length<a.maxDimensions()},canAddMeasure:function(){return t.qMeasures.length<a.maxMeasures()}};return a}({dc:s,def:o,properties:t});i.forEach((function(e){"measure"===function(e){return"string"==typeof e&&"="===e[0]||"object"===r(e)&&e.qDef&&e.qDef.qDef||"object"===r(e)&&e.qLibraryId&&"measure"===e.type?"measure":"dimension"}(e)?c.addMeasure(e):c.addDimension(e)}))}}}var D_=function(e,t,n){if(null==e||null==t)return n;for(var r=t.split("."),i=e,o=0;o<r.length;++o){var a=r[o];if(""!==a){if(null==i[a])return n;i=i[a]}}return i},q_=function(e,t,n){if(null!=e&&null!=t){for(var r=t.split("."),i=r[r.length-1],o=e,a=0;a<r.length-1;++a){var s=r[a];null!=o[s]||(o[s]=Number.isNaN(+r[a+1])?{}:[]),o=o[s]}void 0!==n?o[i]=n:delete o[i]}},P_=function(e,t){var n;for(n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)},A_=function(e,t){var n,r=0;for(n=0;n<e.length;++n)e[n]>t?--e[n]:e[n]===t&&(r=n);return e.splice(r,1),r},M_=Math.pow(2,53)-1;function F_(e,t){var n=I(!0,{},t,e);return D_(n,"qOtherTotalSpec.qOtherCounted")||q_(n,"qOtherTotalSpec.qOtherCounted",{qv:"10"}),D_(n,"qOtherTotalSpec.qOtherLimit")||q_(n,"qOtherTotalSpec.qOtherLimit",{qv:"0"}),n.hasOwnProperty("othersLabel")||(n.othersLabel="Others"),n}function j_(e,t){return I(!0,{},t,e)}function V_(e,t,n){return"function"==typeof e?e(t):Number.isNaN(+e)?n:e}var z_=function(e,t,n){t.hasOwnProperty(e)&&(n[e]=t[e])},B_=function(e,t,n,r){n[e]=t.hasOwnProperty(e)?t[e]:r},U_=function(e){var t=D_(e,"data.targets.0.propertyPath","").split("/");return t.length&&"qHyperCubeDef"===t[t.length-1]&&(t.length-=1),t.join(".")},H_=function(e){var t=e.newProperties,n=e.dataDefinition;if(n.dimensions&&"function"==typeof n.dimensions.added){var r=D_(t,e.hypercubePath||"").qHyperCubeDef,i=c(r.qDimensions);r.qDimensions=[],i.forEach((function(e){r.qDimensions.push(e),n.dimensions.added(e,t)}))}},G_=function(e){var t=e.newProperties,n=e.dataDefinition;if(n.measures&&"function"==typeof n.measures.added){var r=D_(t,e.hypercubePath||"").qHyperCubeDef,i=c(r.qMeasures);r.qMeasures=[],i.forEach((function(e){r.qMeasures.push(e),n.measures.added(e,t)}))}},W_={exportProperties:function(e){return function(e){var t,n,r,i,o=e.propertyTree,a=e.hypercubePath,s=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t={data:[],properties:{}},n=0;n<e;++n)t.data.push({dimensions:[],measures:[],excludedDimensions:[],excludedMeasures:[],interColumnSortOrder:[]});return t}(),l=o.qProperty,u=D_(l,a||""),d=u.qHyperCubeDef,f=s.data[0];if(d.qInterColumnSortOrder||(d.qInterColumnSortOrder=[]),(t=f.dimensions).push.apply(t,c(d.qDimensions)),d.qLayoutExclude&&d.qLayoutExclude.qHyperCubeDef&&d.qLayoutExclude.qHyperCubeDef.qDimensions&&(r=f.excludedDimensions).push.apply(r,c(d.qLayoutExclude.qHyperCubeDef.qDimensions)),(n=f.measures).push.apply(n,c(d.qMeasures)),d.qLayoutExclude&&d.qLayoutExclude.qHyperCubeDef&&d.qLayoutExclude.qHyperCubeDef.qMeasures&&(i=f.excludedMeasures).push.apply(i,c(d.qLayoutExclude.qHyperCubeDef.qMeasures)),f.interColumnSortOrder=d.qInterColumnSortOrder.concat(),d.qLayoutExclude&&d.qLayoutExclude.qHyperCubeDef&&d.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder){var p=d.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder.concat();(function(e,t){if(!(e&&t&&e.length&&t.length))return!1;var n=e.indexOf(t[0]);if(-1!==n){for(var r=0;r<t.length;r++){var i=e.indexOf(t[r]);if(n>i)return!1;n=i}return!0}return!1})(p,f.interColumnSortOrder)&&(f.interColumnSortOrder=p)}return delete d.qLayoutExclude,Object.keys(l).forEach((function(e){s.properties[e]=l[e]})),a&&(s.properties.qHyperCubeDef=u.qHyperCubeDef,delete u.qHyperCubeDef),l.qLayoutExclude||(l.qLayoutExclude={}),l.qLayoutExclude.disabled&&(Object.keys(l.qLayoutExclude.disabled).forEach((function(e){s.properties.hasOwnProperty(e)||(s.properties[e]=l.qLayoutExclude.disabled[e])})),delete l.qLayoutExclude.disabled),l.qLayoutExclude.changed&&(function(e){Object.keys(e.qLayoutExclude.changed).forEach((function(t){e.qLayoutExclude.changed[t].to===D_(e,t)&&q_(e,t,e.qLayoutExclude.changed[t].from)}))}(l),delete l.qLayoutExclude.changed),l.qLayoutExclude.quarantine&&!function(e){return 0===Object.keys(e).length&&e.constructor===Object}(l.qLayoutExclude.quarantine)||delete l.qLayoutExclude,s}(e)},importProperties:function(e){return n=(t=e).exportFormat,a=void 0===(o=t.dataDefinition)?{}:o,l=void 0===(s=t.defaultPropertyValues)?{}:s,c={qChildren:[]},d=function(e){var t=e.exportFormat,n=e.initialProperties,r=e.hypercubePath,i={qLayoutExclude:{disabled:{},quarantine:{}}};return Object.keys(t.properties).forEach((function(e){"qLayoutExclude"===e?t.properties[e].quarantine&&(i.qLayoutExclude.quarantine=I(!0,{},t.properties[e].quarantine)):"qHyperCubeDef"===e&&r?q_(i,"".concat(r,".qHyperCubeDef"),t.properties.qHyperCubeDef):n.hasOwnProperty(e)||function(e){return-1!==["qMetaDef","descriptionExpression","labelExpression"].indexOf(e)}(e)?i[e]=t.properties[e]:i.qLayoutExclude.disabled[e]=t.properties[e]})),null===(i=I(!0,{},n,i)).components&&(i.components=[]),i}({exportFormat:n,initialProperties:i=void 0===(r=t.initialProperties)?{}:r,hypercubePath:u=t.hypercubePath}),f=D_(i,u||"").qHyperCubeDef,p=D_(d,u||"").qHyperCubeDef,m=(h=function(e){var t=e.dataDefinition,n=void 0===t?{}:t,r=e.exportFormat.data[0],i=n.dimensions||{max:0},o=n.measures||{max:0},a=V_(o.max,r.dimensions.length,M_),s=V_(o.min,r.dimensions.length,0);return{maxDimensions:V_(i.max,a,M_),minDimensions:V_(i.min,s,0),maxMeasures:a,minMeasures:s}}({exportFormat:n,dataDefinition:a})).maxDimensions,y=h.minDimensions,g=h.maxMeasures,v=h.minMeasures,E=void 0===(b=l.defaultDimension)?{qDef:{autoSort:!0,cId:"",othersLabel:"Others"},qLibraryId:"",qNullSuppression:!1,qOtherLabel:"Others",qOtherTotalSpec:{qOtherLimitMode:"OTHER_GE_LIMIT",qOtherMode:"OTHER_OFF",qOtherSortMode:"OTHER_SORT_DESCENDING",qSuppressOther:!1}}:b,C=void 0===(_=l.defaultMeasure)?{qDef:{autoSort:!0,cId:"",numFormatFromTemplate:!0},qLibraryId:"",qTrendLines:[]}:_,p.qDimensions.length=0,p.qMeasures.length=0,function(e){var t=e.maxDimensions,n=e.maxMeasures,r=e.exportFormat.data[0];return r.dimensions.length>t&&t>0||r.measures.length>n&&n>0||r.excludedDimensions.length>0&&r.dimensions.length+r.excludedDimensions.length>e.minDimensions||r.excludedMeasures.length>0&&r.measures.length+r.excludedMeasures.length>e.minMeasures||!n&&r.measures.length>0||!t&&r.dimensions.length>0}({exportFormat:n,maxDimensions:m,minDimensions:y,maxMeasures:g,minMeasures:v})&&function(e){var t=e.maxDimensions,n=e.minDimensions,r=e.maxMeasures,i=e.minMeasures,o=e.newHyperCubeDef,a=e.exportFormat.data[0];o.qLayoutExclude||(o.qLayoutExclude={}),o.qLayoutExclude.qHyperCubeDef||(o.qLayoutExclude.qHyperCubeDef={}),(a.dimensions.length>t&&t>0||a.excludedDimensions&&a.excludedDimensions.length&&a.dimensions.length+a.excludedDimensions.length>n)&&(o.qLayoutExclude.qHyperCubeDef.qDimensions||(o.qLayoutExclude.qHyperCubeDef.qDimensions=[])),(a.measures.length>r&&r>0||a.excludedMeasures&&a.excludedMeasures.length&&a.measures.length+a.excludedMeasures.length>i)&&(o.qLayoutExclude.qHyperCubeDef.qMeasures||(o.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!r&&a.measures.length&&(o.qLayoutExclude.qHyperCubeDef.qMeasures||(o.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!t&&a.dimensions.length&&(o.qLayoutExclude.qHyperCubeDef.qDimensions||(o.qLayoutExclude.qHyperCubeDef.qDimensions=[]))}({exportFormat:n,maxDimensions:m,minDimensions:y,maxMeasures:g,minMeasures:v,newHyperCubeDef:p}),function(e){var t,n=e.maxDimensions,r=e.minDimensions,i=e.newHyperCubeDef,o=e.defaultDimension,a=e.exportFormat.data[0];if(n>0)for(t=0;t<a.dimensions.length;++t)i.qDimensions.length<n?i.qDimensions.push(F_(a.dimensions[t],o)):i.qLayoutExclude.qHyperCubeDef.qDimensions.push(F_(a.dimensions[t],o));else if(a.dimensions.length)for(t=0;t<a.dimensions.length;++t)i.qLayoutExclude.qHyperCubeDef.qDimensions.push(F_(a.dimensions[t],o));if(a.excludedDimensions.length)for(t=0;t<a.excludedDimensions.length;++t)i.qDimensions.length<r?i.qDimensions.push(F_(a.excludedDimensions[t],o)):i.qLayoutExclude.qHyperCubeDef.qDimensions.push(F_(a.excludedDimensions[t],o))}({exportFormat:n,maxDimensions:m,minDimensions:y,newHyperCubeDef:p,defaultDimension:E}),function(e){var t,n=e.maxMeasures,r=e.minMeasures,i=e.newHyperCubeDef,o=e.defaultMeasure,a=e.exportFormat.data[0];if(n>0)for(t=0;t<a.measures.length;++t)i.qMeasures.length<n?i.qMeasures.push(j_(a.measures[t],o)):i.qLayoutExclude.qHyperCubeDef.qMeasures.push(j_(a.measures[t],o));else if(a.measures.length)for(t=0;t<a.measures.length;++t)i.qLayoutExclude.qHyperCubeDef.qMeasures.push(j_(a.measures[t],o));if(a.excludedMeasures.length)for(t=0;t<a.excludedMeasures.length;++t)i.qMeasures.length<r?i.qMeasures.push(j_(a.excludedMeasures[t],o)):i.qLayoutExclude.qHyperCubeDef.qMeasures.push(j_(a.excludedMeasures[t],o))}({exportFormat:n,maxMeasures:g,minMeasures:v,newHyperCubeDef:p,defaultMeasure:C}),function(e){var t=e.newHyperCubeDef,n=e.exportFormat.data[0],r=t.qDimensions.length+t.qMeasures.length;t.qInterColumnSortOrder=n.interColumnSortOrder.concat();var i=t.qInterColumnSortOrder.length;if(i!==r)for(t.qLayoutExclude&&(t.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder=n.interColumnSortOrder.concat());i!==r;)i<r?(P_(t.qInterColumnSortOrder,i),++i):(--i,A_(t.qInterColumnSortOrder,i))}({exportFormat:n,newHyperCubeDef:p}),z_("qMaxStackedCells",f,p),z_("qNoOfLeftDims",f,p),B_("qInitialDataFetch",f,p,[{qTop:0,qLeft:0,qWidth:0,qHeight:0}]),B_("qMode",f,p,"S"),B_("qReductionMode",f,p,"N"),B_("qSortbyYValue",f,p),B_("qIndentMode",f,p),B_("qShowTotalsAbove",f,p),function(e,t,n){var r="masterobject"===D_(t,"properties.qInfo.qType")?"masterobject":D_(n,"qInfo.qType");q_(e,"qInfo.qType",r),e.visualization=n.visualization}(d,n,i),H_({newProperties:d,dataDefinition:a,hypercubePath:u}),G_({newProperties:d,dataDefinition:a,hypercubePath:u}),c.qProperty=d,c;var t,n,r,i,o,a,s,l,u,c,d,f,p,h,m,y,g,v,b,E,_,C}},$_=function(){var e=o(regeneratorRuntime.mark((function e(t){var n,r,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.name,r=t.version,i=t.halo.types,e.next=4,i.get({name:n,version:r}).supernova();case 4:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),K_=function(e){return D_(e,"data.targets.0.propertyPath")},Q_=function(e){return e.exportProperties?e.exportProperties:function(e){if(e.split("/").indexOf("qHyperCubeDef")>-1)return W_.exportProperties}(K_(e))},X_=function(e){return e.importProperties?e.importProperties:function(e){if(e.split("/").indexOf("qHyperCubeDef")>-1)return W_.importProperties}(K_(e))},Z_=function(){var e=o(regeneratorRuntime.mark((function e(t){var r,i,o,a,s,l,u,c,d,f,p,h,m;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.halo,i=t.model,o=t.cellRef,a=t.newType,e.next=3,i.getFullPropertyTree();case 3:return s=e.sent,l=o.current.getQae(),u=Q_(l),e.next=8,$_({halo:r,name:a});case 8:return d=X_(c=e.sent.qae),f=u({propertyTree:s,hypercubePath:U_(l)}),p=D_(c,"properties.initial",{}),h=n({qInfo:{qType:a},visualization:a},p),m=d({exportFormat:f,initialProperties:h,dataDefinition:D_(c,"data.targets.0.",{}),hypercubePath:U_(c)}),e.abrupt("return",m);case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Y_={hypercube:W_},J_=function(e){return lE(function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M8.86225926,1.6 L15.7815749,13.5 C16.2829746,14.3 15.8818548,15 14.9793354,15 L1.04042422,15 C0.0853772072,15 -0.232971797,14.3650794 0.172002787,13.6135407 L7.05722041,1.6 C7.55862009,0.8 8.36085958,0.8 8.86225926,1.6 Z M7.962,2.007 C7.95987183,2.02476599 7.95607967,2.03712023 7.94920396,2.05249845 L1.1033193,14 L14.915544,14 L7.99777452,2.10265906 L7.97779697,2.06138411 L7.96394459,2.01964415 L7.962,2.007 Z M7.5,11 L8.5,11 C8.76666667,11 8.95432099,11.1580247 8.99272977,11.4038409 L9,11.5 L9,12.5 C9,12.7666667 8.84197531,12.954321 8.59615912,12.9927298 L8.5,13 L7.5,13 C7.23333333,13 7.04567901,12.8419753 7.00727023,12.5961591 L7,12.5 L7,11.5 C7,11.2333333 7.15802469,11.045679 7.40384088,11.0072702 L7.5,11 L8.5,11 L7.5,11 Z M7.5,5 L8.5,5 C8.76666667,5 8.95432099,5.15802469 8.99272977,5.40384088 L9,5.5 L9,9.5 C9,9.76666667 8.84197531,9.95432099 8.59615912,9.99272977 L8.5,10 L7.5,10 C7.23333333,10 7.04567901,9.84197531 7.00727023,9.59615912 L7,9.5 L7,5.5 C7,5.23333333 7.15802469,5.04567901 7.40384088,5.00727023 L7.5,5 L8.5,5 L7.5,5 Z"}}]})}(e))},eC=function(e){var t=e.d,n=Wh(),r="inherit",i=n.palette.success.main;t.missing?i=n.palette.warning.main:t.error&&(r="error",i=n.palette.error.main);var o={color:i},a=ot.createElement(Uv,{style:{lineHeight:"30px",paddingRight:n.spacing(1)}},ot.createElement(Tb,null,ot.createElement(t.missing||t.error?J_:RE,{style:o})));return ot.createElement(xb,{item:!0,container:!0,alignItems:"center",wrap:"nowrap"},ot.createElement(xb,{item:!0},a),ot.createElement(xb,{container:!0,item:!0,zeroMinWidth:!0,wrap:"nowrap"},ot.createElement(Uv,{noWrap:!0,component:"p"},ot.createElement(Uv,{component:"span",variant:"subtitle2",color:r},t.description),ot.createElement(Uv,{component:"span"}," "),ot.createElement(Uv,{component:"span",variant:"subtitle2",color:t.error?"error":"inherit",style:{fontWeight:400}},t.label))))},tC=function(e){var t=e.data,n=Wh();return ot.createElement(xb,{container:!0,item:!0,style:{maxWidth:"300px",overflow:"hidden"}},t.map((function(e,t){var r=e.descriptions.map((function(e,t){return ot.createElement(eC,{d:e,key:t})}));return r.length>0&&ot.createElement(xb,{container:!0,item:!0,key:t,direction:"column",style:{paddingBottom:n.spacing(2)}},ot.createElement(Uv,{noWrap:!0,key:t,variant:"subtitle1",align:"left",color:"textSecondary"},e.title),r)})))};function nC(e){var t=e.title,n=void 0===t?"Error":t,r=e.message,i=void 0===r?"":r,o=e.data,a=void 0===o?[]:o;return ot.createElement(xb,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"relative",height:"100%",width:"100%"}},ot.createElement(xb,{item:!0},ot.createElement(J_,{style:{fontSize:"38px"}})),ot.createElement(xb,{item:!0},ot.createElement(Uv,{variant:"h6",align:"center","data-tid":"error-title"},n)),ot.createElement(xb,{item:!0},ot.createElement(Uv,{variant:"subtitle1",align:"center","data-tid":"error-message"},i)),ot.createElement(tC,{data:a}))}var rC=["size"],iC=sm((function(e){return{root:{position:"relative",display:"inline-block"},front:{color:e.palette.secondary.main,animationDuration:"1500ms",position:"absolute",left:0},back:{color:e.palette.divider}}})),oC={small:16,medium:32,large:64,xlarge:128};function aC(e){var t=e.size,n=void 0===t?"medium":t,r=l(e,rC),i=iC(),o=oC[n];return ot.createElement("div",{className:i.root},ot.createElement(Zv,s({variant:"determinate",value:100,className:i.back,size:o,thickness:3},r)),ot.createElement(Zv,s({variant:"indeterminate",disableShrink:!0,className:i.front,size:o,thickness:3},r)))}var sC=["cancel","translator"],lC=["retry","translator"],uC=jy((function(){return{stripes:{"&::before":{position:"absolute",height:"100%",width:"100%",top:0,left:0,content:'""',backgroundSize:"14.14px 14.14px",backgroundImage:"linear-gradient(135deg, currentColor 10%, rgba(0,0,0,0) 10%, rgba(0,0,0,0) 50%, currentColor 50%, currentColor 59%, rgba(0,0,0,0) 60%, rgba(0,0,0,0) 103%)",opacity:.1}}}})),cC=function(e){var t=e.cancel,n=e.translator,r=l(e,sC);return ot.createElement(ot.Fragment,null,ot.createElement(xb,{container:!0,item:!0,direction:"column",alignItems:"center",spacing:2},ot.createElement(xb,{item:!0},ot.createElement(aC,null)),ot.createElement(xb,{item:!0},ot.createElement(Uv,{variant:"h6",align:"center"},n.get("Object.Update.Active")))),ot.createElement(xb,s({item:!0},r),ot.createElement(Gv,{variant:"contained",onClick:t},n.get("Cancel"))))},dC=function(e){var t=e.retry,n=e.translator,r=l(e,lC);return ot.createElement(ot.Fragment,null,ot.createElement(xb,{item:!0},ot.createElement(J_,{style:{fontSize:"38px"}})),ot.createElement(xb,{item:!0},ot.createElement(Uv,{variant:"h6",align:"center"},n.get("Object.Update.Cancelled"))),ot.createElement(xb,{item:!0},ot.createElement(Gv,s({variant:"contained",onClick:t},r),n.get("Retry"))))};function fC(e){var t=e.canCancel,n=e.canRetry,r=e.api,i=uC(),o=i.stripes,a=i.cancel,s=i.retry,l=Se.exports.useContext(eg).translator;return ot.createElement(xb,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",className:o,style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},spacing:2},t&&ot.createElement(cC,{cancel:r.cancel,translator:l,className:a}),n&&ot.createElement(dC,{retry:r.retry,translator:l,className:s}))}function pC(){return ot.createElement(xb,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},spacing:2},ot.createElement(aC,{size:"large"}))}var hC=jy((function(e){return{containerStyle:{flexGrow:0},containerTitleStyle:{paddingBottom:e.spacing(1)}}})),mC=function(e){var t=e.layout,n=e.sn,r=e.anchorEl,i=e.hovering,o=t.showTitles&&!!t.title,a=t.showTitles&&!!t.subtitle,s=t.qSelectionInfo&&t.qSelectionInfo.qInSelections,l=u(Se.exports.useState([]),2),d=l[0],f=l[1],p=hC(),h=p.containerStyle,m=p.containerTitleStyle,y=u(aE(),2),g=y[0],v=y[1],b=u(Se.exports.useState(!1),2),E=b[0],_=b[1];Se.exports.useEffect((function(){n&&n.component&&n.component.isHooked&&n.component.observeActions((function(e){f([].concat(c(e),c(n&&n.selectionToolbar&&n.selectionToolbar.items||[])))}))}),[n]),Se.exports.useEffect((function(){v&&_(v.width<221)}),[v]);var C=o||a,S=[h].concat(c(C?[m]:[])),w=(i||s)&&(E||!C),x=ot.createElement(YE,{show:C&&!w&&!E,selections:{show:s,api:n.component.selections},actions:d,popover:{show:w,anchorEl:r}});return ot.createElement(xb,{ref:g,item:!0,container:!0,wrap:"nowrap",className:S.join(" ")},ot.createElement(xb,{item:!0,zeroMinWidth:!0,xs:!0},ot.createElement(xb,{container:!0,wrap:"nowrap",direction:"column"},o&&ot.createElement(Uv,{variant:"h6",noWrap:!0},t.title),a&&ot.createElement(Uv,{variant:"body2",noWrap:!0},t.subtitle))),ot.createElement(xb,{item:!0},x))},yC=jy((function(e){return{itemStyle:{minWidth:0,paddingTop:e.spacing(1)}}})),gC=function(e){var t=e.layout,n=yC().itemStyle;return t&&t.showTitles&&t.footnote?ot.createElement(xb,{container:!0},ot.createElement(xb,{item:!0,className:n},ot.createElement(Uv,{noWrap:!0,variant:"body2"},t.footnote))):null},vC=function(e){var t=e.sn,r=e.snOptions,i=e.snPlugins,o=e.layout,a=e.appLayout,s=e.halo,l=t.component,c=Se.exports.useContext(eg),d=c.theme,f=c.language,p=c.constraints,h=Se.exports.useRef(null),m=u(Se.exports.useState(!1),2),y=m[0],g=m[1],v=u(Se.exports.useState(0),2),b=v[0],E=v[1],_=u(aE(),3),C=_[0],S=_[1],w=_[2],x=u(Se.exports.useState(null),2),O=x[0],R=x[1],N=Se.exports.useCallback((function(e){e&&R(e)}),[]);return Se.exports.useEffect((function(){if(O)return l.created({options:r}),l.mounted(O),g(!0),function(){clearTimeout(h.current),h.current=null,l.willUnmount()}}),[O,l]),Se.exports.useEffect((function(){y&&O&&S&&(!l.isHooked&&o&&o.qSelectionInfo&&o.qSelectionInfo.qInSelections||h.current||(h.current=setTimeout((function(){var e=[];p.passive||e.push("passive"),p.active||e.push("interact"),p.select||e.push("select"),s.app&&s.app.session&&e.push("fetch"),Promise.resolve(l.render({layout:o,options:r,plugins:i,embed:s.public.nebbie,context:n({constraints:p,theme:s.public.theme,appLayout:a},l.isHooked?{}:{logicalSize:t.logicalSize({layout:o}),localeInfo:(a||{}).qLocaleInfo,permissions:e})})).then((function(){h.current=null,0===b&&"function"==typeof r.onInitialRender&&r.onInitialRender.call(null),E(b+1)}))}),10)))}),[S,r,i,O,w,o,a,d,f,p,y]),ot.createElement("div",{ref:C,"data-render-count":b,style:{position:"relative",height:"100%"},className:"njs-viz"},ot.createElement("div",{ref:N,style:{position:"absolute",width:"100%",height:"100%"}}))},bC=function(e,t){switch(t.type){case"LOADING":return n(n({},e),{},{loading:!0});case"LOADED":return n(n({},e),{},{loaded:!0,loading:!1,longRunningQuery:!1,error:null,sn:t.sn,visualization:t.visualization});case"RENDER":return n(n({},e),{},{loaded:!0,loading:!1,longRunningQuery:!1,error:null});case"LONG_RUNNING_QUERY":return n(n({},e),{},{longRunningQuery:!0});case"ERROR":return n(n({},e),{},{loading:!1,longRunningQuery:!1,error:t.error});default:throw new Error("Unhandled type: ".concat(t.type))}},EC=function(e){var t=e.delay,n=void 0===t?750:t,r=u(Se.exports.useState(!1),2),i=r[0],o=r[1];return Se.exports.useEffect((function(){var e=setTimeout((function(){return o(!0)}),n);return function(){return clearTimeout(e)}}),[]),i&&ot.createElement(pC,null)},_C=function(e){var t=e.sn,n=e.layout,r=e.model,i=t&&t.component&&t.component.selections;i&&i.id&&r.id&&i.id===r.id&&(n&&n.qSelectionInfo&&n.qSelectionInfo.qInSelections&&!i.isModal()&&i.goModal(t.generator.qae.data.targets[0].propertyPath),n.qSelectionInfo&&n.qSelectionInfo.qInSelections||i.isModal()&&i.noModal())},CC=function(e){return!e.qError||7005===e.qError.qErrorCode},SC=function(e,t,n,r,i){return c(Array(e).keys()).map((function(e){var o=!(!t||!t[e]),a=o&&t[e].qError&&7005===t[e].qError.qErrorCode,s=o&&!a&&t[e].qError,l="".concat(s?r:a?a&&t[e].qCalcCondMsg||i:o&&t[e].qFallbackTitle||""),u=n(e);return{description:u?"".concat(u).concat(l.length?":":""):null,label:l,missing:t&&!o&&!s&&e>=t.length||a,error:s}}))},wC=function(e){return e&&(Array.isArray(e)?e:[e])||[]},xC=function(e,t,n,r){var i=r.dimensions.min(),o=r.measures.min(),a=r.resolveLayout(t);return{reqDimErrors:SC(i,wC(a.qDimensionInfo),(function(e){return r.dimensions.description(n,e)}),e.get("Visualization.Invalid.Dimension"),e.get("Visualization.UnfulfilledCalculationCondition")),reqMeasErrors:SC(o,wC(a.qMeasureInfo),(function(e){return r.measures.description(n,e)}),e.get("Visualization.Invalid.Measure"),e.get("Visualization.UnfulfilledCalculationCondition"))}},OC=function(e,t,n){for(var r=!1,i=0,o=0,a=!1,s=!1,l=[],u=0;u<t.length;++u){var c=t[u],d=c.dimensions.min(),f=c.measures.min(),p=c.resolveLayout(n),h=wC(p.qDimensionInfo).filter(CC),m=wC(p.qMeasureInfo).filter(CC);if(i+=d,o+=f,(h.length<d||m.length<f)&&(r=!0),p.qError){a=!0;var y=(s=7005===p.qError.qErrorCode)&&p.qCalcCondMsg?p.qCalcCondMsg:e.get(s?"Visualization.UnfulfilledCalculationCondition":"Visualization.LayoutError");l.push({title:y,descriptions:[]})}}return{hasUnfulfilledErrors:r,aggMinD:i,aggMinM:o,hasLayoutErrors:a,layoutErrors:l}},RC=function(){var e=o(regeneratorRuntime.mark((function e(t,n,r,i){var o,a,s,l,u,d,f,p,h,m,y,g,v,b,E,_,C,S,w,x,O,R;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=OC(t,o=r.targets,n),s=a.hasUnfulfilledErrors,l=a.aggMinD,u=a.aggMinM,d=a.hasLayoutErrors,f=a.layoutErrors,p=[],h=[],m=null,y=0;case 6:if(!(y<o.length)){e.next=22;break}if(g=o[y],d||!s){e.next=19;break}if(e.t0=m,e.t0){e.next=14;break}return e.next=13,i.getProperties();case 13:e.t0=e.sent;case 14:m=v=e.t0,b=xC(t,n,v,g),p.push.apply(p,c(b.reqDimErrors)),h.push.apply(h,c(b.reqMeasErrors));case 19:++y,e.next=6;break;case 22:return E=p.filter((function(e){return!(e.missing||e.error)})).length,_=t.get("Visualization.Incomplete.Dimensions",[E,l]),C=h.filter((function(e){return!(e.missing||e.error)})).length,S=t.get("Visualization.Incomplete.Measures",[C,u]),w=[{title:_,descriptions:[].concat(p)},{title:S,descriptions:[].concat(h)}],x=d||s,O=d?f:w,R=d?f[0].title:t.get("Visualization.Incomplete"),e.abrupt("return",[x,{title:R,data:O}]);case 31:case"end":return e.stop()}}),e)})));return function(t,n,r,i){return e.apply(this,arguments)}}(),NC=function(){var e=o(regeneratorRuntime.mark((function e(t){var n,r,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.types,r=t.name,i=t.version,e.next=3,n.get({name:r,version:i}).supernova();case 3:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),IC=function(){var e=o(regeneratorRuntime.mark((function e(t){var n,r,i,o,a,s,l,u,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.dispatch,r=t.types,i=t.visualization,o=t.version,a=t.model,s=t.app,l=t.selections,u=t.nebbie,e.prev=1,e.next=4,NC({types:r,name:i,version:o});case 4:return c=e.sent.create({model:a,app:s,selections:l,nebbie:u}),e.abrupt("return",c);case 9:e.prev=9,e.t0=e.catch(1),n({type:"ERROR",error:{title:e.t0.message}});case 12:return e.abrupt("return",void 0);case 13:case"end":return e.stop()}}),e,null,[[1,9]])})));return function(t){return e.apply(this,arguments)}}(),LC=Se.exports.forwardRef((function(e,t){var r,i=e.halo,a=e.model,s=e.initialSnOptions,l=e.initialSnPlugins,c=e.initialError,d=e.onMount,f=i.app,p=i.types,h=i.public.nebbie,m=Se.exports.useContext(eg),y=m.translator,g=m.language,v=Wh(),b=u(aE(),3),E=b[0],_=b[1],C=b[2],S=u(Se.exports.useReducer(bC,{loading:!1,loaded:!1,longRunningQuery:!1,error:(r=c)?{title:r.message}:null,sn:null,visualization:null}),2),w=S[0],x=S[1],O=u(Sg(a),3),R=O[0],N=O[1],I=N.validating,L=N.canCancel,T=N.canRetry,k=O[2],D=u(wg(f),1)[0],q=u(aE(),2),P=q[0],A=q[1],M=u(Se.exports.useState(s),2),F=M[0],j=M[1],V=u(Se.exports.useState(l),2),z=V[0],B=V[1],U=u(i_(f,a),1)[0],H=u(Se.exports.useState(!1),2),G=H[0],W=H[1],$=Se.exports.useRef({enter:null,leave:null});Se.exports.useEffect((function(){if(!c&&D&&R){var e=function(){var e=o(regeneratorRuntime.mark((function e(t){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,RC(y,R,t.generator.qae.data,a);case 2:n=u(e.sent,2),r=n[1],x(n[0]?{type:"ERROR",error:r}:{type:"RENDER"}),_C({sn:w.sn,layout:R,model:a});case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t=function(){var e=o(regeneratorRuntime.mark((function e(t,n){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return x({type:"LOADING"}),e.next=3,IC({dispatch:x,types:p,visualization:t,version:n,model:a,app:f,selections:U,nebbie:h});case 3:return(r=e.sent)&&(x({type:"LOADED",sn:r,visualization:t}),d()),e.abrupt("return",void 0);case 6:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();if(w.visualization===R.visualization&&w.sn)e(w.sn);else{var n=p.getSupportedVersion(R.visualization,R.version);if(n)return t(R.visualization,n),function(){};x({type:"ERROR",error:{title:"Could not find a version of '".concat(R.visualization,"' that supports current object version. Did you forget to register ").concat(R.visualization,"?")}})}}}),[p,w.sn,a,R,D,g]),Se.exports.useEffect((function(){if(I){var e=setTimeout((function(){return x({type:"LONG_RUNNING_QUERY"})}),2e3);return function(){return clearTimeout(e)}}}),[I]),Se.exports.useImperativeHandle(t,(function(){return{getQae:function(){return w.sn.generator.qae},setSnOptions:j,setSnPlugins:B,takeSnapshot:function(){return o(regeneratorRuntime.mark((function e(){var t,n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=_.width,n=_.height,r=JSON.parse(JSON.stringify(R)),"function"!=typeof w.sn.component.setSnapshotData){e.next=9;break}return e.next=5,w.sn.component.setSnapshotData(r);case 5:if(e.t0=e.sent,e.t0){e.next=8;break}e.t0=r;case 8:r=e.t0;case 9:return e.abrupt("return",{key:String(+Date.now()),meta:{language:y.language(),theme:v.name,appLayout:D,size:{width:Math.round(t),height:Math.round(n)}},layout:r});case 10:case"end":return e.stop()}}),e)})))()},exportImage:function(){var e=this;return o(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("function"==typeof i.config.snapshot.capture){t.next=2;break}throw new Error("Stardust embed has not been configured with snapshot.capture callback");case 2:return t.next=4,e.takeSnapshot();case 4:return t.abrupt("return",i.config.snapshot.capture(t.sent));case 6:case"end":return t.stop()}}),t)})))()}}}),[w.sn,A,_,R,v.name,D]);var K=null;return w.loading&&!w.longRunningQuery?K=ot.createElement(EC,null):w.error?K=ot.createElement(nC,w.error):w.loaded&&(K=ot.createElement(vC,{key:R.visualization,sn:w.sn,halo:i,snOptions:F,snPlugins:z,layout:R,appLayout:D})),ot.createElement(Rv,{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden"},elevation:0,square:!0,className:"njs-cell",ref:E,onMouseEnter:function(){$.current.leave&&clearTimeout($.current.leave),$.enter||($.current.enter=setTimeout((function(){W(!0),$.current.enter=null}),250))},onMouseLeave:function(){$.current.enter&&clearTimeout($.current.enter),$.current.leave||($.current.leave=setTimeout((function(){W(!1),$.current.leave=null}),750))}},ot.createElement(xb,{container:!0,direction:"column",spacing:0,style:n({position:"relative",width:"100%",height:"100%",padding:v.spacing(1)},w.longRunningQuery?{opacity:"0.3"}:{})},C&&R&&w.sn&&ot.createElement(mC,{layout:R,sn:w.sn,anchorEl:C,hovering:G},"\xa0"),ot.createElement(xb,{item:!0,xs:!0,style:{height:"100%"},ref:P},K),ot.createElement(gC,{layout:R})),w.longRunningQuery&&ot.createElement(fC,{canCancel:L,canRetry:T,api:k}))}));function TC(e){var t=e.halo,n=e.element,r=e.model,i=e.initialSnOptions,o=e.initialSnPlugins,a=e.onMount,s=e.initialError,l=t.root,u=ot.createRef(),c=ud.createPortal(ot.createElement(LC,{ref:u,halo:t,model:r,initialSnOptions:i,initialSnPlugins:o,initialError:s,onMount:a}),n,r.id),d=function e(){l.remove(c),r.removeListener("closed",e)};return r.on("closed",d),l.add(c),[d,u]}function kC(e){return null!=e&&!Array.isArray(e)&&"object"===r(e)}function DC(e,t){return kC(e)&&kC(t)?JSON.stringify(e)===JSON.stringify(t):!Array.isArray(e)&&!Array.isArray(t)&&e===t}function qC(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,i=[];return Object.keys(t).forEach((function(o){var a=t[o];"object"!==r(n[o])||"object"!==r(a)||Array.isArray(a)?DC(a,n[o])||i.push({qPath:e+o,qOp:"add",qValue:JSON.stringify(t[o])}):i.push.apply(i,c(qC("".concat(e).concat(o,"/"),t[o],n[o])))})),i}function PC(e){if(!Array.isArray(e))throw new Error("Invalid plugin format: plugins should be an array!");e.forEach((function(e){if("object"!==r(e))throw new Error("Invalid plugin format: a plugin should be an object");if("object"!==r(e.info)||"string"!=typeof e.info.name)throw new Error("Invalid plugin format: a plugin should have an info object containing a name");if("function"!=typeof e.fn)throw new Error('Invalid plugin format: The plugin "'.concat(e.info.name,'" has no "fn" function'))}))}var AC=function(){};function MC(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.model,r=e.halo,i=e.initialError,a=e.onDestroy,s=void 0===a?o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)}))):a,l=AC,c=null,d=null,f=null,p=new Promise((function(e){f=e})),h={},m=[],y=function(){var e=o(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:d?o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p;case 2:c.current.setSnOptions(n(n({},h),t));case 3:case"end":return e.stop()}}),e)})))():h=n(n({},h),t);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),g=function(){var e=o(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:PC(t),d?o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p;case 2:c.current.setSnPlugins(t);case 3:case"end":return e.stop()}}),e)})))():m=t;case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return{id:t.id,destroy:function(){return o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s();case 2:l(),l=AC;case 4:case"end":return e.stop()}}),e)})))()},convertTo:function(e){var n=arguments;return o(regeneratorRuntime.mark((function i(){var o,a;return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return o=!(n.length>1&&void 0!==n[1])||n[1],i.next=3,Z_({halo:r,model:t,cellRef:c,newType:e});case 3:if(a=i.sent,!o){i.next=12;break}if(!t.__snInterceptor){i.next=10;break}return i.next=8,t.__snInterceptor.setProperties.call(t,a.qProperty);case 8:i.next=12;break;case 10:return i.next=12,t.setProperties(a.qProperty);case 12:return i.abrupt("return",a);case 13:case"end":return i.stop()}}),i)})))()},__DO_NOT_USE__:{mount:function(e){if(d)throw new Error("Already mounted");d=e;var n=u(TC({halo:r,element:e,model:t,initialSnOptions:h,initialSnPlugins:m,initialError:i,onMount:f}),2);return l=n[0],c=n[1],p},applyProperties:function(e){return o(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,t.getEffectiveProperties();case 2:if(!(r=qC("/",e,n.sent)).length){n.next=6;break}return n.abrupt("return",t.applyPatches(r,!0));case 6:return n.abrupt("return",void 0);case 7:case"end":return n.stop()}}),n)})))()},options:function(e){y(e)},plugins:function(e){g(e)},exportImage:function(){return c.current.exportImage()},takeSnapshot:function(){return c.current.takeSnapshot()}}}}function FC(e,t,n,r){return jC.apply(this,arguments)}function jC(){return(jC=o(regeneratorRuntime.mark((function e(t,n,r,i){var a,s,l=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=l.length>4&&void 0!==l[4]?l[4]:o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)}))),s=MC({model:t,halo:r,initialError:i,onDestroy:a}),n.options&&s.__DO_NOT_USE__.options(n.options),n.plugins&&s.__DO_NOT_USE__.plugins(n.plugins),!n.element){e.next=7;break}return e.next=7,s.__DO_NOT_USE__.mount(n.element);case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function VC(e,t){return zC.apply(this,arguments)}function zC(){return(zC=o(regeneratorRuntime.mark((function e(t,n){var r,i,a,s,l,u,c,d,f,p,h,m,y,g;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.type,i=t.version,a=t.fields,s=t.properties,l=t.options,u=t.plugins,c=t.element,d={},e.prev=2,p=n.types.get({name:r,version:i}),e.next=6,p.initialProperties(s);case 6:return d=e.sent,e.next=9,p.supernova();case 9:h=e.sent,a&&k_({sn:h,properties:d,fields:a}),s&&h&&h.qae.properties.onChange&&h.qae.properties.onChange.call({},d),e.next=18;break;case 14:e.prev=14,e.t0=e.catch(2),f=e.t0,d={qInfo:{qType:r},visualization:r};case 18:return e.next=20,n.app.createSessionObject(d);case 20:return bg.set((m=e.sent).id,m),y=Eg(m),g=function(){var e=o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.app.destroySessionObject(m.id);case 2:y();case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),e.abrupt("return",FC(m,{options:l,plugins:u,element:c},n,f,g));case 25:case"end":return e.stop()}}),e,null,[[2,14]])})))).apply(this,arguments)}function BC(e,t){return UC.apply(this,arguments)}function UC(){return(UC=o(regeneratorRuntime.mark((function e(t,n){var r,i,o,a,s,l,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=t.options,o=t.plugins,a=t.element,s="".concat(r=t.id),(l=dg.get(s))||(l=n.app.getObject(r),dg.set(s,l)),e.next=6,l;case 6:return bg.set(s,u=e.sent),e.abrupt("return",FC(u,{options:i,plugins:o,element:a},n));case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function HC(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{isEnabled:function(t){return!0===e[t]}}}var GC,WC,$C=I.bind(null,!0),KC={},QC=Array.isArray;function XC(e){return null!=e&&!Array.isArray(e)&&"object"===r(e)}function ZC(e){return void 0===e}function YC(e,t){return function(e){return"function"==typeof e}(e[t])||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function JC(e,t){var n,r=t.substring(1).split("/").slice(0,-1);return r.forEach((function(t,i){if(i!==r.length){n=+t;var o=isNaN(n)?{}:[];e[n||t]=ZC(e[n||t])?o:e[t],e=e[n||t]}})),e}function eS(e,t){var n=!0;if(XC(e)&&XC(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((function(r){eS(e[r],t[r])||(n=!1)})),n);if(QC(e)&&QC(t)){if(e.length!==t.length)return!1;for(var r=0,i=e.length;r<i;r+=1)if(!eS(e[r],t[r]))return!1;return!0}return e===t}function tS(e,t){if(!e)return!0;if(t.length!==e.length)return!0;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!0;return!1}function nS(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).explicitResize;e.__hooks={obsolete:!1,error:!1,chain:{promise:null,resolve:function(){}},list:[],snaps:[],actions:{list:[]},pendingEffects:[],pendingLayoutEffects:[],pendingPromises:[],resizer:{setters:[],explicitResize:void 0!==t&&t}}}function rS(e){aS(e.__hooks.list,!0),e.__hooks.obsolete=!0,e.__hooks.list.length=0,e.__hooks.pendingEffects.length=0,e.__hooks.pendingLayoutEffects.length=0,e.__hooks.actions=null,e.__hooks.imperativeHandle=null,e.__hooks.resizer=null,e.__actionsDispatch=null,clearTimeout(e.__hooks.micro),cancelAnimationFrame(e.__hooks.macro)}function iS(e){return oS.apply(this,arguments)}function oS(){return(oS=o(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.__hooks.obsolete){e.next=2;break}return e.abrupt("return",Promise.resolve());case 2:WC=-1,GC=t;try{GC.fn.call(null)}catch(e){console.error(e)}return GC.__hooks.initiated=!0,n=GC.__hooks,cS(GC),WC=void 0,GC=void 0,n.chain.promise||(n.chain.promise=new Promise((function(e){n.chain.resolve=e}))),sS(n),pS(n),e.abrupt("return",n.chain.promise);case 17:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function aS(e,t){try{e.forEach((function(e){"function"==typeof e.teardown&&e.teardown(),t||(e.teardown=e.value[0]())}))}catch(e){console.error(e)}e.length=0}function sS(e){aS(e.pendingLayoutEffects)}function lS(e,t){try{return Promise.all(e.__hooks.snaps.map((function(e){return Promise.resolve(e.fn(t))}))).then((function(e){return e[e.length-1]}))}catch(e){console.error(e)}return Promise.resolve()}function uS(e){return e.__hooks.imperativeHandle}function cS(e){e.__actionsDispatch&&e.__hooks.actions.changed&&(e.__actionsDispatch(e.__hooks.actions.list.slice()),e.__hooks.actions.changed=!1)}function dS(e,t){e.__actionsDispatch=t,e.__hooks&&(e.__hooks.actions.changed=!0,cS(e))}function fS(e){if(void 0===GC)throw new Error("Invalid stardust hook call. Hooks can only be called inside a visualization component.");var t=GC.__hooks;return e>=t.list.length&&t.list.push({}),t.list[e]}function pS(e){e.macro||(e.macro=requestAnimationFrame((function(){!function(e){aS(e.pendingEffects),e.macro=null,function(e){e.pendingPromises.length||e.micro||e.macro||(e.chain.promise=null,e.chain.resolve())}(e)}(e)})))}function hS(e){return fS(++WC),GC.context[e]}function mS(e){e.__hooks&&(e.__hooks.resizer.update=!0)}function yS(e){return{__hooked:!0,fn:e,initiate:nS,run:iS,teardown:rS,runSnaps:lS,observeActions:dS,getImperativeHandle:uS,updateRectOnNextRun:mS}}function gS(e){var t=fS(++WC);return t.value||(t.component=GC,t.value=["function"==typeof e?e():e,function(e){if(!t.component.__hooks.obsolete){var n,r="function"==typeof e?e(t.value[0]):e;r!==t.value[0]&&(t.value[0]=r,(n=t.component).__hooks.micro||(n.__hooks.micro=setTimeout((function(){n.__hooks.micro=null,iS(n)}),0)))}}]),t.value}function vS(e,t){var n=fS(++WC);tS(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],GC.__hooks.pendingLayoutEffects.push(n))}function bS(e,t){var n=fS(++WC);return tS(n.value?n.value[0]:void 0,t)&&(n.value=[t,e()]),n.value[1]}function ES(){return hS("element")}KC.generate=function(e,t,n){n=n||"";var r=[];return Object.keys(t).forEach((function(i){var o=function(e){return e?$C({},{val:e}).val:e}(t[i]),a=e[i],s="".concat(n,"/").concat(i);eS(o,a)||YC(t,i)||(ZC(a)?r.push({op:"add",path:s,value:o}):XC(o)&&XC(a)?r=r.concat(KC.generate(a,o,s)):QC(o)&&QC(a)?r=r.concat(function(e,t,n){var r=[],i=e.slice(),o=-1;function a(e,t,n){if(e[n]&&ZC(e[n].qInfo))return null;if(e[n]&&e[n].qInfo.qId===t)return n;for(var r=0,i=e.length;r<i;r+=1)if(e[r]&&e[r].qInfo.qId===t)return r;return-1}if(eS(t,i))return r;if(!ZC(t[0])&&ZC(t[0].qInfo))return r.push({op:"replace",path:n,value:t}),r;for(var s=i.length-1;s>=0;s-=1)-1===(o=a(t,i[s].qInfo&&i[s].qInfo.qId,s))?(r.push({op:"remove",path:"".concat(n,"/").concat(s)}),i.splice(s,1)):r=r.concat(KC.generate(i[s],t[o],"".concat(n,"/").concat(s)));for(var l=0,u=t.length;l<u;l+=1)-1===(o=a(i,t[l].qInfo&&t[l].qInfo.qId))?(r.push({op:"add",path:"".concat(n,"/").concat(l),value:t[l]}),i.splice(l,0,t[l])):o!==l&&(r.push({op:"move",path:"".concat(n,"/").concat(l),from:"".concat(n,"/").concat(o)}),i.splice(l,0,i.splice(o,1)[0]));return r}(a,o,s)):r.push({op:"replace",path:"".concat(n,"/").concat(i),value:o}))})),Object.keys(e).forEach((function(i){ZC(t[i])&&!YC(e,i)&&r.push({op:"remove",path:"".concat(n,"/").concat(i)})})),r},KC.apply=function(e,t){t.forEach((function(t){var n,r=JC(e,t.path),i=t.path.split("/").splice(-1)[0],o=i&&isNaN(+i)?r[i]:r[+i]||r,a=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(r=null,o=e),"add"===t.op||"replace"===t.op)if(QC(r))"-"===i&&(i=r.length),r.splice(+i,"add"===t.op?0:1,t.value);else if(QC(o)&&QC(t.value)){var s,l=t.value.slice();o.length=0,(s=o).push.apply(s,c(l))}else if(XC(o)&&XC(t.value))n=o,Object.keys(n).forEach((function(e){Object.getOwnPropertyDescriptor(n,e).configurable&&!YC(n,e)&&delete n[e]})),$C(o,t.value);else{if(!r)throw new Error("Patchee is not an object we can patch");r[i]=t.value}else if("move"===t.op){var u=JC(e,t.from);QC(r)?r.splice(+i,0,u.splice(+a,1)[0]):(r[i]=u[a],delete u[a])}else"remove"===t.op&&(QC(r)?r.splice(+i,1):delete r[i])}))},KC.clone=function(e){return $C({},e)},KC.createPatch=function(e,t,n){var r={op:e.toLowerCase(),path:n};return"move"===r.op?r.from=t:void 0!==t&&(r.value=t),r},KC.updateObject=function(e,t){Object.keys(e).length?KC.apply(e,KC.generate(e,t)):$C(e,t)};var _S={app:null,model:null,actions:null,selections:null,created:function(){},mounted:function(){},render:function(){},resize:function(){},willUnmount:function(){},destroy:function(){},emit:function(){},getViewState:function(){},observeActions:function(){},setSnapshotData:function(e){return Promise.resolve(e)}},CS=Object.keys(_S);function SS(e,t,r){"function"==typeof e.component&&(e.component=yS(e.component));var i=u(e.component&&e.component.__hooked?function(e,t,r){var i=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):void 0,o=!1,a={},s=["appLayout","constraints"],l={};t.model&&t.model.session||(l.select=!0);var u={context:{model:t.model,app:t.app,global:i,selections:t.selections,nebbie:t.nebbie,element:void 0,deviceType:r.deviceType,theme:void 0,translator:r.translator,layout:{},appLayout:{},constraints:l,options:{},plugins:[]},fn:e.component.fn,created:function(){},mounted:function(n){this.context.element=n,e.component.initiate(u,{explicitResize:!!t.explicitResize})},render:function(t){var r=this,i=!o||!1;if(t){if(t.layout&&t.layout!==this.context.layout&&(i=!0,this.context.layout=t.layout),t.context&&t.context.theme&&(this.context.theme=t.context.theme),t.options){var d={},f=!1;Object.keys(t.options).forEach((function(e){d[e]=t.options[e],r.context.options[e]!==t.options[e]&&(f=!0)})),f&&(this.context.options=d,i=!0)}if(t.plugins){var p=this.context.plugins.length!==t.plugins.length;t.plugins.forEach((function(e,t){r.context.plugins[t]!==e&&(p=!0)})),p&&(this.context.plugins=c(t.plugins),i=!0)}s.forEach((function(e){var o=t.context;if(o&&Object.prototype.hasOwnProperty.call(o,e)){var s=JSON.stringify(o[e]);"constraints"===e&&(s=JSON.stringify(n(n({},o[e]),l))),s!==a[e]&&(i=!0,a[e]=s,r.context[e]=JSON.parse(s))}}))}else i=!0;return this.context.theme&&this.context.theme.name()!==a.themeName&&(i=!0,a.themeName=this.context.theme.name()),this.context.translator.language()!==a.language&&(i=!0,a.language=u.context.translator.language()),i?(o=!0,this.currentResult=e.component.run(this),this.currentResult):this.currentResult||Promise.resolve()},resize:function(){return e.component.updateRectOnNextRun(this),this.render()},willUnmount:function(){e.component.teardown(this)},setSnapshotData:function(t){return e.component.runSnaps(this,t)},getImperativeHandle:function(){return e.component.getImperativeHandle(this)},destroy:function(){},observeActions:function(t){e.component.observeActions(this,t)},isHooked:!0};return s.forEach((function(e){a[e]=JSON.stringify(u.context[e])})),a.themeName=u.context.theme?u.context.theme.name():void 0,a.language=u.context.translator?u.context.translator.language():void 0,Object.assign(u,{selections:t.selections}),[u,null]}(e,t,r):function(e,t){var r,i=n({},_S);r=i,Object.keys(E.prototype).forEach((function(e){r[e]=E.prototype[e]})),E.init(r);var o={emit:function(){i.emit.apply(i,arguments)}};Object.keys(e.component||{}).forEach((function(t){-1!==CS.indexOf(t)?i[t]=e.component[t].bind(o):o[t]=e.component[t]}));var a=function(e){var t=e.sn,r={},i=[],o=function(e){return function(t){var r,i=(r=n(n({},t),{},{action:function(){"function"==typeof t.action&&t.action.call(i,e),i.emit("changed")},enabled:function(){return"function"!=typeof t.enabled||t.enabled.call(i,e)},active:"function"==typeof t.active?function(){return t.active.call(i,e)}:void 0}),Object.keys(E.prototype).forEach((function(e){r[e]=E.prototype[e]})),E.init(r),r);return i}}(e.component);return((t.definition.selectionToolbar||{}).items||[]).forEach((function(e){var t=o(e);r[e.key]=t,i.push(t)})),(t.definition.actions||[]).forEach((function(e){var t=o(e);r[e.key]=t})),{actions:r,selectionToolbarItems:i,destroy:function(){i.length=0}}}({sn:e,component:o}),s=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):null;return Object.assign(o,{model:t.model,app:t.app,global:s,selections:t.selections,actions:a.actions}),Object.assign(i,{actions:a.actions,model:t.model,app:t.app,selections:t.selections}),[i,a]}(e,t),2),o=i[0],a=i[1],s=[];return t.model.__snInterceptor&&t.model.__snInterceptor.teardown(),e.qae.properties.onChange&&(t.model.__snInterceptor={setProperties:t.model.setProperties,applyPatches:t.model.applyPatches,teardown:void 0},t.model.setProperties=function(){for(var n,r,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(n=e.qae.properties.onChange).call.apply(n,[{model:t.model}].concat(o)),(r=t.model.__snInterceptor.setProperties).call.apply(r,[this].concat(o))},t.model.applyPatches=function(n,r){var i=this;return t.model[r?"getEffectiveProperties":"getProperties"]().then((function(o){var a=KC.clone(o),s=n.map((function(e){return{op:e.qOp,value:JSON.parse(e.qValue),path:e.qPath}}));KC.apply(o,s),e.qae.properties.onChange.call({model:t.model},o);var l=KC.generate(a,o).map((function(e){return{qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path}}));return t.model.__snInterceptor.applyPatches.call(i,l,r)}))},t.model.__snInterceptor.teardown=function(){t.model.setProperties=t.model.__snInterceptor.setProperties,delete t.model.__snInterceptor},s.push(t.model.__snInterceptor.teardown)),{generator:e,component:o,selectionToolbar:{items:a?a.selectionToolbarItems:[]},destroy:function(){s.forEach((function(e){return e()}))},logicalSize:e.definition.logicalSize||function(){return!1}}}var wS=function(){};function xS(e,t){return void 0===e?function(){return t}:function(){return e}}function OS(e){var t=e||{};return{min:"function"==typeof t.min?t.min:xS(t.min,0),max:"function"==typeof t.max?t.max:xS(t.max,1e3),added:t.added||t.add||wS,description:t.description||wS,moved:t.moved||t.move||wS,removed:t.removed||t.remove||wS,replaced:t.replaced||t.replace||wS,isDefined:function(){return!!e}}}function RS(e){var t=e.path||"/qHyperCubeDef",n=t.slice(0,-3);if(!1===/\/(qHyperCube|qListObject)$/.test(n)){var r=n.includes("/qHyperCube")?"qHyperCubeDef":"qListObjectDef";throw new Error("Incorrect definition for ".concat(r," at ").concat(t,". Valid paths include /qHyperCubeDef or /qListObjectDef, e.g. data/qHyperCubeDef"))}return{propertyPath:t,layoutPath:n,resolveLayout:function(e){return function(e,t,n){var r=t.split("/"),i=e;if(void 0===i)return n;for(var o=0;o<r.length;++o)if(""!==r[o]){if(void 0===i[r[o]])return n;i=i[r[o]]}return i}(e,n,{})},dimensions:OS(e.dimensions),measures:OS(e.measures)}}function NS(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.properties||{};return t.properties&&(t.properties.initial||t.properties.onChange)&&(n=t.properties.initial,e=t.properties.onChange),{properties:{initial:n,onChange:e},data:{targets:((t.data||{}).targets||[]).map(RS)},exportProperties:t.exportProperties,importProperties:t.importProperties}}function IS(e,t){var n,r={qae:NS((n="function"==typeof e?e(t):e).qae),component:n.component||{},create:function(e){return SS(r,e,t)},definition:{}};return Object.keys(n).forEach((function(e){r[e]||(r.definition[e]=n[e])})),r}var LS={exports:{}};!function(e,t){var n;t=e.exports=f,n="object"===("undefined"==typeof process?"undefined":r(process))&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:function(){},t.SEMVER_SPEC_VERSION="2.0.0";var i=Number.MAX_SAFE_INTEGER||9007199254740991,o=t.re=[],a=t.src=[],s=t.tokens={},l=0;function u(e){s[e]=l++}u("NUMERICIDENTIFIER"),a[s.NUMERICIDENTIFIER]="0|[1-9]\\d*",u("NUMERICIDENTIFIERLOOSE"),a[s.NUMERICIDENTIFIERLOOSE]="[0-9]+",u("NONNUMERICIDENTIFIER"),a[s.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*",u("MAINVERSION"),a[s.MAINVERSION]="("+a[s.NUMERICIDENTIFIER]+")\\.("+a[s.NUMERICIDENTIFIER]+")\\.("+a[s.NUMERICIDENTIFIER]+")",u("MAINVERSIONLOOSE"),a[s.MAINVERSIONLOOSE]="("+a[s.NUMERICIDENTIFIERLOOSE]+")\\.("+a[s.NUMERICIDENTIFIERLOOSE]+")\\.("+a[s.NUMERICIDENTIFIERLOOSE]+")",u("PRERELEASEIDENTIFIER"),a[s.PRERELEASEIDENTIFIER]="(?:"+a[s.NUMERICIDENTIFIER]+"|"+a[s.NONNUMERICIDENTIFIER]+")",u("PRERELEASEIDENTIFIERLOOSE"),a[s.PRERELEASEIDENTIFIERLOOSE]="(?:"+a[s.NUMERICIDENTIFIERLOOSE]+"|"+a[s.NONNUMERICIDENTIFIER]+")",u("PRERELEASE"),a[s.PRERELEASE]="(?:-("+a[s.PRERELEASEIDENTIFIER]+"(?:\\."+a[s.PRERELEASEIDENTIFIER]+")*))",u("PRERELEASELOOSE"),a[s.PRERELEASELOOSE]="(?:-?("+a[s.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+a[s.PRERELEASEIDENTIFIERLOOSE]+")*))",u("BUILDIDENTIFIER"),a[s.BUILDIDENTIFIER]="[0-9A-Za-z-]+",u("BUILD"),a[s.BUILD]="(?:\\+("+a[s.BUILDIDENTIFIER]+"(?:\\."+a[s.BUILDIDENTIFIER]+")*))",u("FULL"),u("FULLPLAIN"),a[s.FULLPLAIN]="v?"+a[s.MAINVERSION]+a[s.PRERELEASE]+"?"+a[s.BUILD]+"?",a[s.FULL]="^"+a[s.FULLPLAIN]+"$",u("LOOSEPLAIN"),a[s.LOOSEPLAIN]="[v=\\s]*"+a[s.MAINVERSIONLOOSE]+a[s.PRERELEASELOOSE]+"?"+a[s.BUILD]+"?",u("LOOSE"),a[s.LOOSE]="^"+a[s.LOOSEPLAIN]+"$",u("GTLT"),a[s.GTLT]="((?:<|>)?=?)",u("XRANGEIDENTIFIERLOOSE"),a[s.XRANGEIDENTIFIERLOOSE]=a[s.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",u("XRANGEIDENTIFIER"),a[s.XRANGEIDENTIFIER]=a[s.NUMERICIDENTIFIER]+"|x|X|\\*",u("XRANGEPLAIN"),a[s.XRANGEPLAIN]="[v=\\s]*("+a[s.XRANGEIDENTIFIER]+")(?:\\.("+a[s.XRANGEIDENTIFIER]+")(?:\\.("+a[s.XRANGEIDENTIFIER]+")(?:"+a[s.PRERELEASE]+")?"+a[s.BUILD]+"?)?)?",u("XRANGEPLAINLOOSE"),a[s.XRANGEPLAINLOOSE]="[v=\\s]*("+a[s.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+a[s.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+a[s.XRANGEIDENTIFIERLOOSE]+")(?:"+a[s.PRERELEASELOOSE]+")?"+a[s.BUILD]+"?)?)?",u("XRANGE"),a[s.XRANGE]="^"+a[s.GTLT]+"\\s*"+a[s.XRANGEPLAIN]+"$",u("XRANGELOOSE"),a[s.XRANGELOOSE]="^"+a[s.GTLT]+"\\s*"+a[s.XRANGEPLAINLOOSE]+"$",u("COERCE"),a[s.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",u("COERCERTL"),o[s.COERCERTL]=new RegExp(a[s.COERCE],"g"),u("LONETILDE"),a[s.LONETILDE]="(?:~>?)",u("TILDETRIM"),a[s.TILDETRIM]="(\\s*)"+a[s.LONETILDE]+"\\s+",o[s.TILDETRIM]=new RegExp(a[s.TILDETRIM],"g"),u("TILDE"),a[s.TILDE]="^"+a[s.LONETILDE]+a[s.XRANGEPLAIN]+"$",u("TILDELOOSE"),a[s.TILDELOOSE]="^"+a[s.LONETILDE]+a[s.XRANGEPLAINLOOSE]+"$",u("LONECARET"),a[s.LONECARET]="(?:\\^)",u("CARETTRIM"),a[s.CARETTRIM]="(\\s*)"+a[s.LONECARET]+"\\s+",o[s.CARETTRIM]=new RegExp(a[s.CARETTRIM],"g"),u("CARET"),a[s.CARET]="^"+a[s.LONECARET]+a[s.XRANGEPLAIN]+"$",u("CARETLOOSE"),a[s.CARETLOOSE]="^"+a[s.LONECARET]+a[s.XRANGEPLAINLOOSE]+"$",u("COMPARATORLOOSE"),a[s.COMPARATORLOOSE]="^"+a[s.GTLT]+"\\s*("+a[s.LOOSEPLAIN]+")$|^$",u("COMPARATOR"),a[s.COMPARATOR]="^"+a[s.GTLT]+"\\s*("+a[s.FULLPLAIN]+")$|^$",u("COMPARATORTRIM"),a[s.COMPARATORTRIM]="(\\s*)"+a[s.GTLT]+"\\s*("+a[s.LOOSEPLAIN]+"|"+a[s.XRANGEPLAIN]+")",o[s.COMPARATORTRIM]=new RegExp(a[s.COMPARATORTRIM],"g"),u("HYPHENRANGE"),a[s.HYPHENRANGE]="^\\s*("+a[s.XRANGEPLAIN]+")\\s+-\\s+("+a[s.XRANGEPLAIN]+")\\s*$",u("HYPHENRANGELOOSE"),a[s.HYPHENRANGELOOSE]="^\\s*("+a[s.XRANGEPLAINLOOSE]+")\\s+-\\s+("+a[s.XRANGEPLAINLOOSE]+")\\s*$",u("STAR"),a[s.STAR]="(<|>)?=?\\s*\\*";for(var c=0;c<l;c++)n(c,a[c]),o[c]||(o[c]=new RegExp(a[c]));function d(e,t){if(t&&"object"===r(t)||(t={loose:!!t,includePrerelease:!1}),e instanceof f)return e;if("string"!=typeof e)return null;if(e.length>256)return null;if(!(t.loose?o[s.LOOSE]:o[s.FULL]).test(e))return null;try{return new f(e,t)}catch(e){return null}}function f(e,t){if(t&&"object"===r(t)||(t={loose:!!t,includePrerelease:!1}),e instanceof f){if(e.loose===t.loose)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>256)throw new TypeError("version is longer than 256 characters");if(!(this instanceof f))return new f(e,t);n("SemVer",e,t),this.options=t,this.loose=!!t.loose;var a=e.trim().match(t.loose?o[s.LOOSE]:o[s.FULL]);if(!a)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+a[1],this.minor=+a[2],this.patch=+a[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");this.prerelease=a[4]?a[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<i)return t}return e})):[],this.build=a[5]?a[5].split("."):[],this.format()}t.parse=d,t.valid=function(e,t){var n=d(e,t);return n?n.version:null},t.clean=function(e,t){var n=d(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null},t.SemVer=f,f.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},f.prototype.toString=function(){return this.version},f.prototype.compare=function(e){return n("SemVer.compare",this.version,this.options,e),e instanceof f||(e=new f(e,this.options)),this.compareMain(e)||this.comparePre(e)},f.prototype.compareMain=function(e){return e instanceof f||(e=new f(e,this.options)),h(this.major,e.major)||h(this.minor,e.minor)||h(this.patch,e.patch)},f.prototype.comparePre=function(e){if(e instanceof f||(e=new f(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var r=this.prerelease[t],i=e.prerelease[t];if(n("prerelease compare",t,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return h(r,i)}while(++t)},f.prototype.compareBuild=function(e){e instanceof f||(e=new f(e,this.options));var t=0;do{var r=this.build[t],i=e.build[t];if(n("prerelease compare",t,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return h(r,i)}while(++t)},f.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},t.inc=function(e,t,n,r){"string"==typeof n&&(r=n,n=void 0);try{return new f(e,n).inc(t,r).version}catch(e){return null}},t.diff=function(e,t){if(v(e,t))return null;var n=d(e),r=d(t),i="";if(n.prerelease.length||r.prerelease.length){i="pre";var o="prerelease"}for(var a in n)if(("major"===a||"minor"===a||"patch"===a)&&n[a]!==r[a])return i+a;return o},t.compareIdentifiers=h;var p=/^[0-9]+$/;function h(e,t){var n=p.test(e),r=p.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1}function m(e,t,n){return new f(e,n).compare(new f(t,n))}function y(e,t,n){return m(e,t,n)>0}function g(e,t,n){return m(e,t,n)<0}function v(e,t,n){return 0===m(e,t,n)}function b(e,t,n){return 0!==m(e,t,n)}function E(e,t,n){return m(e,t,n)>=0}function _(e,t,n){return m(e,t,n)<=0}function C(e,t,n,i){switch(t){case"===":return"object"===r(e)&&(e=e.version),"object"===r(n)&&(n=n.version),e===n;case"!==":return"object"===r(e)&&(e=e.version),"object"===r(n)&&(n=n.version),e!==n;case"":case"=":case"==":return v(e,n,i);case"!=":return b(e,n,i);case">":return y(e,n,i);case">=":return E(e,n,i);case"<":return g(e,n,i);case"<=":return _(e,n,i);default:throw new TypeError("Invalid operator: "+t)}}function S(e,t){if(t&&"object"===r(t)||(t={loose:!!t,includePrerelease:!1}),e instanceof S){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof S))return new S(e,t);n("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.value=this.semver===w?"":this.operator+this.semver.version,n("comp",this)}t.rcompareIdentifiers=function(e,t){return h(t,e)},t.major=function(e,t){return new f(e,t).major},t.minor=function(e,t){return new f(e,t).minor},t.patch=function(e,t){return new f(e,t).patch},t.compare=m,t.compareLoose=function(e,t){return m(e,t,!0)},t.compareBuild=function(e,t,n){var r=new f(e,n),i=new f(t,n);return r.compare(i)||r.compareBuild(i)},t.rcompare=function(e,t,n){return m(t,e,n)},t.sort=function(e,n){return e.sort((function(e,r){return t.compareBuild(e,r,n)}))},t.rsort=function(e,n){return e.sort((function(e,r){return t.compareBuild(r,e,n)}))},t.gt=y,t.lt=g,t.eq=v,t.neq=b,t.gte=E,t.lte=_,t.cmp=C,t.Comparator=S;var w={};function x(e,t){if(t&&"object"===r(t)||(t={loose:!!t,includePrerelease:!1}),e instanceof x)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new x(e.raw,t);if(e instanceof S)return new x(e.value,t);if(!(this instanceof x))return new x(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}function O(e,t){for(var n=!0,r=e.slice(),i=r.pop();n&&r.length;)n=r.every((function(e){return i.intersects(e,t)})),i=r.pop();return n}function R(e){return!e||"x"===e.toLowerCase()||"*"===e}function N(e,t,n,r,i,o,a,s,l,u,c,d,f){return((t=R(n)?"":R(r)?">="+n+".0.0":R(i)?">="+n+"."+r+".0":">="+t)+" "+(s=R(l)?"":R(u)?"<"+(+l+1)+".0.0":R(c)?"<"+l+"."+(+u+1)+".0":d?"<="+l+"."+u+"."+c+"-"+d:"<="+s)).trim()}function I(e,t,r){for(var i=0;i<e.length;i++)if(!e[i].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(i=0;i<e.length;i++)if(n(e[i].semver),e[i].semver!==w&&e[i].semver.prerelease.length>0){var o=e[i].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch)return!0}return!1}return!0}function L(e,t,n){try{t=new x(t,n)}catch(e){return!1}return t.test(e)}function T(e,t,n,r){var i,o,a,s,l;switch(e=new f(e,r),t=new x(t,r),n){case">":i=y,o=_,a=g,s=">",l=">=";break;case"<":i=g,o=E,a=y,s="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(L(e,t,r))return!1;for(var u=0;u<t.set.length;++u){var c=null,d=null;if(t.set[u].forEach((function(e){e.semver===w&&(e=new S(">=0.0.0")),d=d||e,i(e.semver,(c=c||e).semver,r)?c=e:a(e.semver,d.semver,r)&&(d=e)})),c.operator===s||c.operator===l)return!1;if((!d.operator||d.operator===s)&&o(e,d.semver))return!1;if(d.operator===l&&a(e,d.semver))return!1}return!0}S.prototype.parse=function(e){var t=e.match(this.options.loose?o[s.COMPARATORLOOSE]:o[s.COMPARATOR]);if(!t)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==t[1]?t[1]:"","="===this.operator&&(this.operator=""),this.semver=t[2]?new f(t[2],this.options.loose):w},S.prototype.toString=function(){return this.value},S.prototype.test=function(e){if(n("Comparator.test",e,this.options.loose),this.semver===w||e===w)return!0;if("string"==typeof e)try{e=new f(e,this.options)}catch(e){return!1}return C(e,this.operator,this.semver,this.options)},S.prototype.intersects=function(e,t){if(!(e instanceof S))throw new TypeError("a Comparator is required");var n;if(t&&"object"===r(t)||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(n=new x(e.value,t),L(this.value,n,t));if(""===e.operator)return""===e.value||(n=new x(this.value,t),L(e.semver,n,t));var i=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),o=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),a=this.semver.version===e.semver.version,s=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),l=C(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),u=C(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return i||o||a&&s||l||u},t.Range=x,x.prototype.format=function(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range},x.prototype.toString=function(){return this.range},x.prototype.parseRange=function(e){var t=this.options.loose;e=(e=e.trim()).replace(t?o[s.HYPHENRANGELOOSE]:o[s.HYPHENRANGE],N),n("hyphen replace",e),e=e.replace(o[s.COMPARATORTRIM],"$1$2$3"),n("comparator trim",e,o[s.COMPARATORTRIM]),e=(e=(e=e.replace(o[s.TILDETRIM],"$1~")).replace(o[s.CARETTRIM],"$1^")).split(/\s+/).join(" ");var r=t?o[s.COMPARATORLOOSE]:o[s.COMPARATOR],i=e.split(" ").map((function(e){return function(e,t){return n("comp",e,t),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){return n("caret",e,t),e.replace(t.loose?o[s.CARETLOOSE]:o[s.CARET],(function(t,r,i,o,a){var s;return n("caret",e,t,r,i,o,a),R(r)?s="":R(i)?s=">="+r+".0.0 <"+(+r+1)+".0.0":R(o)?s="0"===r?">="+r+"."+i+".0 <"+r+"."+(+i+1)+".0":">="+r+"."+i+".0 <"+(+r+1)+".0.0":a?(n("replaceCaret pr",a),s="0"===r?"0"===i?">="+r+"."+i+"."+o+"-"+a+" <"+r+"."+i+"."+(+o+1):">="+r+"."+i+"."+o+"-"+a+" <"+r+"."+(+i+1)+".0":">="+r+"."+i+"."+o+"-"+a+" <"+(+r+1)+".0.0"):(n("no pr"),s="0"===r?"0"===i?">="+r+"."+i+"."+o+" <"+r+"."+i+"."+(+o+1):">="+r+"."+i+"."+o+" <"+r+"."+(+i+1)+".0":">="+r+"."+i+"."+o+" <"+(+r+1)+".0.0"),n("caret return",s),s}))}(e,t)})).join(" ")}(e,t),n("caret",e),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){return e.replace(t.loose?o[s.TILDELOOSE]:o[s.TILDE],(function(t,r,i,o,a){var s;return n("tilde",e,t,r,i,o,a),R(r)?s="":R(i)?s=">="+r+".0.0 <"+(+r+1)+".0.0":R(o)?s=">="+r+"."+i+".0 <"+r+"."+(+i+1)+".0":a?(n("replaceTilde pr",a),s=">="+r+"."+i+"."+o+"-"+a+" <"+r+"."+(+i+1)+".0"):s=">="+r+"."+i+"."+o+" <"+r+"."+(+i+1)+".0",n("tilde return",s),s}))}(e,t)})).join(" ")}(e,t),n("tildes",e),e=function(e,t){return n("replaceXRanges",e,t),e.split(/\s+/).map((function(e){return function(e,t){return(e=e.trim()).replace(t.loose?o[s.XRANGELOOSE]:o[s.XRANGE],(function(r,i,o,a,s,l){n("xRange",e,r,i,o,a,s,l);var u=R(o),c=u||R(a),d=c||R(s);return"="===i&&d&&(i=""),l=t.includePrerelease?"-0":"",u?r=">"===i||"<"===i?"<0.0.0-0":"*":i&&d?(c&&(a=0),s=0,">"===i?(i=">=",c?(o=+o+1,a=0,s=0):(a=+a+1,s=0)):"<="===i&&(i="<",c?o=+o+1:a=+a+1),r=i+o+"."+a+"."+s+l):c?r=">="+o+".0.0"+l+" <"+(+o+1)+".0.0"+l:d&&(r=">="+o+"."+a+".0"+l+" <"+o+"."+(+a+1)+".0"+l),n("xRange return",r),r}))}(e,t)})).join(" ")}(e,t),n("xrange",e),e=function(e,t){return n("replaceStars",e,t),e.trim().replace(o[s.STAR],"")}(e,t),n("stars",e),e}(e,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(i=i.filter((function(e){return!!e.match(r)}))),i.map((function(e){return new S(e,this.options)}),this)},x.prototype.intersects=function(e,t){if(!(e instanceof x))throw new TypeError("a Range is required");return this.set.some((function(n){return O(n,t)&&e.set.some((function(e){return O(e,t)&&n.every((function(n){return e.every((function(e){return n.intersects(e,t)}))}))}))}))},t.toComparators=function(e,t){return new x(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))},x.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new f(e,this.options)}catch(e){return!1}for(var t=0;t<this.set.length;t++)if(I(this.set[t],e,this.options))return!0;return!1},t.satisfies=L,t.maxSatisfying=function(e,t,n){var r=null,i=null;try{var o=new x(t,n)}catch(e){return null}return e.forEach((function(e){o.test(e)&&(r&&-1!==i.compare(e)||(i=new f(r=e,n)))})),r},t.minSatisfying=function(e,t,n){var r=null,i=null;try{var o=new x(t,n)}catch(e){return null}return e.forEach((function(e){o.test(e)&&(r&&1!==i.compare(e)||(i=new f(r=e,n)))})),r},t.minVersion=function(e,t){e=new x(e,t);var n=new f("0.0.0");if(e.test(n))return n;if(n=new f("0.0.0-0"),e.test(n))return n;n=null;for(var r=0;r<e.set.length;++r)e.set[r].forEach((function(e){var t=new f(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":n&&!y(n,t)||(n=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}));return n&&e.test(n)?n:null},t.validRange=function(e,t){try{return new x(e,t).range||"*"}catch(e){return null}},t.ltr=function(e,t,n){return T(e,t,"<",n)},t.gtr=function(e,t,n){return T(e,t,">",n)},t.outside=T,t.prerelease=function(e,t){var n=d(e,t);return n&&n.prerelease.length?n.prerelease:null},t.intersects=function(e,t,n){return e=new x(e,n),t=new x(t,n),e.intersects(t)},t.coerce=function(e,t){if(e instanceof f)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;var n=null;if((t=t||{}).rtl){for(var r;(r=o[s.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&r.index+r[0].length===n.index+n[0].length||(n=r),o[s.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;o[s.COERCERTL].lastIndex=-1}else n=e.match(o[s.COERCE]);return null===n?null:d(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t)}}(LS,LS.exports);var TS={};function kS(e,t,n,r){return DS.apply(this,arguments)}function DS(){return(DS=o(regeneratorRuntime.mark((function e(t,n,r,i){var o,a,s,l,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=r.config,a="".concat(t,"__").concat(n),TS[a]){e.next=9;break}if(s="".concat(t).concat(n&&" v".concat(n)||""),!i||"function"==typeof i){e.next=6;break}throw new Error("load of visualization '".concat(s,"' is not a fuction, wrap load promise in function"));case 6:l=(i||o.load)({name:t,version:n}),u=Promise.resolve(l),TS[a]=u.then((function(e){if(!e)throw new Error("load() of visualization '".concat(s,"' resolved to an invalid object"));return e})).catch((function(e){throw new Error("Failed to load visualization: '".concat(s,"'"))}));case 9:return e.abrupt("return",TS[a]);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function qS(e,t){var r={},i=null;return{get:function(e){return r[e]},register:function(o,a){if(r[o])throw new Error("Supernova '".concat(e,"@").concat(o,"' already registered."));r[o]=function(e,t){var r,i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=o.meta,s={name:e.name,version:e.version,supportsPropertiesVersion:function(e){return!(e&&a&&a.deps&&a.deps.properties)||LS.exports.satisfies(e,a.deps.properties)},supernova:function(){return kS(s.name,s.version,t,o.load).then((function(e){return r=r||IS(e,t.public.galaxy),i=JSON.stringify(r.qae.properties.initial),r}))},initialProperties:function(e){return this.supernova().then((function(){return n(n({qInfo:{qType:s.name},visualization:s.name,version:s.version,showTitles:!0},JSON.parse(i)),e)}))}};return s}({name:e,version:o},t,a),i=null},getMatchingVersionFromProperties:function(e){var t,n;i||(n=(t=Object.keys(r)).filter((function(e){return"undefined"===e})),i=[].concat(c(n),c(t.filter((function(e){return"undefined"!==e})).map((function(e){return e.split(".").map((function(e){return parseInt(e,10)}))})).sort((function(e,t){return e[0]-t[0]||e[1]-t[1]||e[2]-t[2]})).map((function(e){return e.join(".")})))));for(var o=i.length-1;o>=0;o--)if(r[i[o]].supportsPropertiesVersion(e))return i[o];return null},versions:r}}function PS(e){var t=e.halo,n={},r=e.parent||{get:function(){}};return{register:function(e,r){n[e.name]||(n[e.name]=qS(e.name,t)),n[e.name].register(e.version,r)},getSupportedVersion:function(e,t){return n[e]?n[e].getMatchingVersionFromProperties(t):null},get:function(e){var t=e.name,i=e.version;return n[t]?n[t].versions[i]||(i=Object.keys(n[t].versions)[0]):this.register({name:t,version:i}),n[t].get(i)||r.get(e)},getList:function(){return Object.keys(n).map((function(e){return{name:e,versions:Object.keys(n[e].versions).map((function(e){return"undefined"===e?void 0:e}))}}))},clearFromCache:function(e){n[e]&&(n[e]=void 0),function(e){Object.keys(TS).forEach((function(t){t.split("__")[0]===e&&(TS[t]=void 0)}))}(e)}}}var AS,MS={get:(AS=o(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch("/njs/snapshot/".concat(t));case 2:if((n=e.sent).ok){e.next=5;break}throw new Error(n.statusText);case 5:return e.abrupt("return",n.json());case 6:case"end":return e.stop()}}),e)}))),function(e){return AS.apply(this,arguments)}),capture:function(e){return fetch("/njs/capture",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}).then((function(e){return e.json()}))}},FS=function(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n(n({},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),e)},jS=function(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return[].concat(c(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]),c(e)).filter((function(e,t,n){return n.indexOf(e)===t}))},VS=function(e,t){return{context:FS(e.context,t.context),load:t.load||e.load,snapshot:n({},t.snapshot||e.snapshot),types:jS(e.types,t.types),themes:jS(e.themes,t.themes),flags:FS(e.flags,t.flags),anything:FS(e.anything,t.anything)}},zS=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=g(t.context.language);function i(e,a){if(a)return i.createConfiguration(a)(e);var s=n(n({},t.context),{},{translator:r.translator}),l=u(Bg({app:e,context:s}),1)[0],c=_e({themes:t.themes,root:l}),d={galaxy:{translator:r.translator,flags:HC(t.flags),deviceType:Ce(t.context.deviceType),anything:t.anything},theme:c.externalAPI,translator:r.translator,nebbie:null},f={app:e,root:l,config:t,public:d,context:s,types:null},p=PS({halo:f});t.types.forEach((function(e){return p.register({name:e.name,version:e.version},{meta:e.meta,load:e.load})}));var h,m,y,g,v=c.setTheme(t.context.theme),b=null,E=null,_={render:(g=o(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v;case 2:if(!t.id){e.next=4;break}return e.abrupt("return",BC(t,f));case 4:return e.abrupt("return",VC(t,f));case 5:case"end":return e.stop()}}),e)}))),function(e){return g.apply(this,arguments)}),context:(y=o(regeneratorRuntime.mark((function e(t){var i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(["theme","language","constraints"].forEach((function(e){t[e]&&t[e]!==s[e]&&(i||(i={}),i[e]=t[e])})),i){e.next=3;break}return e.abrupt("return");case 3:if(s=n(n(n({},s),i),{},{translator:r.translator}),f.context=s,!i.theme){e.next=9;break}return v=c.setTheme(i.theme),e.next=9,v;case 9:i.language&&f.public.translator.language(i.language),l.context(s);case 11:case"end":return e.stop()}}),e)}))),function(e){return y.apply(this,arguments)}),selections:(m=o(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return b||(b={mount:function(t){E||(E=b_({element:t,app:e}),l.add(E))},unmount:function(){E&&(l.remove(E),E=null)}}),t.abrupt("return",b);case 2:case"end":return t.stop()}}),t)}))),function(){return m.apply(this,arguments)}),field:(h=o(regeneratorRuntime.mark((function t(n){var r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r="string"==typeof n?n:n.qLibraryId){t.next=3;break}throw new Error("Field identifier must be provided");case 3:return t.abrupt("return",{fieldName:r,mount:function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t)throw new Error("Element for ".concat(r," not provided"));if(this._instance)throw new Error("Field ".concat(r," already mounted"));this._instance=x_({element:t,app:e,fieldIdentifier:n,options:i,stateName:i.stateName||"$"}),l.add(this._instance)},unmount:function(){this._instance&&(l.remove(this._instance),this._instance=null)}});case 5:case"end":return t.stop()}}),t)}))),function(e){return h.apply(this,arguments)}),getRegisteredTypes:p.getList,__DO_NOT_USE__:{types:p}};return f.public.nebbie=_,f.types=p,_}return i.createConfiguration=function(n){return e(VS(t,n))},i.config=t,i}({context:{theme:"light",language:"en-US",deviceType:"auto",constraints:{}},load:function(){},types:[],themes:[],anything:{},snapshot:MS});e.__DO_NOT_USE__={generator:IS,hook:yS,theme:be,locale:m},e.conversion=Y_,e.embed=zS,e.onTakeSnapshot=function(e){var t=fS(++WC);t.value||(t.value=1,GC.__hooks.snaps.push(t)),t.fn=e},e.useAction=function(e,t){var n=u(gS({action:function(){n._config.action.call(null)}}),1)[0];return n.component||(n.component=GC,GC.__hooks.actions.list.push(n)),bS((function(){var t=e();n._config=t,n.active=t.active||!1,n.disabled=t.disabled||!1,n.hidden=t.hidden||!1,n.label=t.label||"",n.getSvgIconShape=t.icon?function(){return t.icon}:void 0,n.key=t.key||n.component.__hooks.actions.list.length,n.component.__hooks.actions.changed=!0}),t),n.action},e.useApp=function(){var e=hS("app");return e&&e.session?e:void 0},e.useAppLayout=function(){return hS("appLayout")},e.useConstraints=function(){return hS("constraints")},e.useDeviceType=function(){return hS("deviceType")},e.useEffect=function(e,t){var n=fS(++WC);tS(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],-1===GC.__hooks.pendingEffects.indexOf(n)&&GC.__hooks.pendingEffects.push(n))},e.useElement=ES,e.useEmbed=function(){return hS("nebbie")},e.useGlobal=function(){var e=hS("global");return e&&e.session?e:void 0},e.useImperativeHandle=function(e,t){var n=fS(++WC);if(n.imperative||(n.imperative=!0),tS(n.value?n.value[0]:void 0,t)){var r=e();n.value=[t,r],GC.__hooks.imperativeHandle=r}},e.useLayout=function(){return hS("layout")},e.useMemo=bS,e.useModel=function(){var e=hS("model");return e&&e.session?e:void 0},e.useOptions=function(){return hS("options")},e.usePlugins=function(){return hS("plugins")},e.usePromise=function(e,t){var n=u(gS((function(){return{resolved:void 0,rejected:void 0,state:"pending"}})),2),r=n[0],i=n[1],o=fS(++WC);return o.component||(o.component=GC),vS((function(){var t=!1;return o.teardown=function(){t=!0,o.teardown=null;var e=o.component.__hooks.pendingPromises.indexOf(o);e>-1&&o.component.__hooks.pendingPromises.splice(e,1)},e().then((function(e){t||(o.teardown&&o.teardown(),i({resolved:e,rejected:void 0,state:"resolved"}))})).catch((function(e){t||(o.teardown&&o.teardown(),i({resolved:void 0,rejected:e,state:"resolved"}))})),o.component.__hooks.pendingPromises.push(o),function(){o.teardown&&o.teardown()}}),t),[r.resolved,r.rejected]},e.useRect=function(){var e=ES(),t=GC.__hooks.resizer,n=u(gS((function(){var t=e.getBoundingClientRect();return{left:t.left,top:t.top,width:t.width,height:t.height}})),2),r=n[0],i=n[1];return t.current=r,-1===t.setters.indexOf(i)&&t.setters.push(i),t.update&&t.resize&&(t.update=!1,t.resize()),vS((function(){if(!t.initiated){t.initiated=!0;var n=function(){var n=e.getBoundingClientRect(),r=n.left,i=n.top,o=n.width,a=n.height,s=t.current;s.width===o&&s.height===a&&s.left===r&&s.top===i||t.setters.forEach((function(e){return e({left:r,top:i,width:o,height:a})}))};if(t.resize=function(){n()},t.explicitResize)return function(){t.resize=void 0};if("function"==typeof ResizeObserver){var r=new ResizeObserver(n);return r.observe(e),function(){r.unobserve(e),r.disconnect(e),r=null,t.resize=void 0}}}}),[e]),r},e.useSelections=function(){return hS("selections")},e.useStaleLayout=function(){var e=hS("layout"),t=u(gS({current:e}),1)[0];return e.qSelectionInfo&&e.qSelectionInfo.qInSelections||(t.current=e),t.current},e.useState=gS,e.useTheme=function(){return hS("theme")},e.useTranslator=function(){return hS("translator")},Object.defineProperty(e,"__esModule",{value:!0})}(t)},zUnb:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.r(t);let i=!1;const o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=e},get useDeprecatedSynchronousErrorHandling(){return i}};function a(e){setTimeout(()=>{throw e},0)}const s={closed:!0,next(e){},error(e){if(o.useDeprecatedSynchronousErrorHandling)throw e;a(e)},complete(){}},l=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))();function u(e){return null!==e&&"object"==typeof e}const c=(()=>{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})();let d=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:i,_unsubscribe:o,_subscriptions:a}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(let e=0;e<n.length;++e)n[e].remove(this);if(r(o)){i&&(this._unsubscribe=void 0);try{o.call(this)}catch(s){t=s instanceof c?f(s.errors):[s]}}if(l(a)){let e=-1,n=a.length;for(;++e<n;){const n=a[e];if(u(n))try{n.unsubscribe()}catch(s){t=t||[],s instanceof c?t=t.concat(f(s.errors)):t.push(s)}}}if(t)throw new c(t)}add(t){let n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){const t=n;n=new e,n._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:r}=n;if(null===r)n._parentOrParents=this;else if(r instanceof e){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}const i=this._subscriptions;return null===i?this._subscriptions=[n]:i.push(n),n}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}return e.EMPTY=function(e){return e.closed=!0,e}(new e),e})();function f(e){return e.reduce((e,t)=>e.concat(t instanceof c?t.errors:t),[])}const p=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class h extends d{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=s;break;case 1:if(!e){this.destination=s;break}if("object"==typeof e){e instanceof h?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new m(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new m(this,e,t,n)}}[p](){return this}static create(e,t,n){const r=new h(e,t,n);return r.syncErrorThrowable=!1,r}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class m extends h{constructor(e,t,n,i){let o;super(),this._parentSubscriber=e;let a=this;r(t)?o=t:t&&(o=t.next,n=t.error,i=t.complete,t!==s&&(a=Object.create(t),r(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=o,this._error=n,this._complete=i}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;o.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=o;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):a(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;a(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);o.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),o.useDeprecatedSynchronousErrorHandling)throw n;a(n)}}__tryOrSetError(e,t,n){if(!o.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return o.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(a(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const y=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function g(e){return e}let v=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:r}=this,i=function(e,t,n){if(e){if(e instanceof h)return e;if(e[p])return e[p]()}return e||t||n?new h(e,t,n):new h(s)}(e,t,n);if(i.add(r?r.call(i,this.source):this.source||o.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),o.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i}_trySubscribe(e){try{return this._subscribe(e)}catch(t){o.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:r}=e;if(t||r)return!1;e=n&&n instanceof h?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=b(t))((t,n)=>{let r;r=this.subscribe(t=>{try{e(t)}catch(i){n(i),r&&r.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[y](){return this}pipe(...e){return 0===e.length?this:(0===(t=e).length?g:1===t.length?t[0]:function(e){return t.reduce((e,t)=>t(e),e)})(this);var t}toPromise(e){return new(e=b(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function b(e){if(e||(e=o.Promise||Promise),!e)throw new Error("no Promise impl found");return e}const E=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})();class _ extends d{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}class C extends h{constructor(e){super(e),this.destination=e}}let S=(()=>{class e extends v{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new C(this)}lift(e){const t=new w(this,this);return t.operator=e,t}next(e){if(this.closed)throw new E;if(!this.isStopped){const{observers:t}=this,n=t.length,r=t.slice();for(let i=0;i<n;i++)r[i].next(e)}}error(e){if(this.closed)throw new E;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,r=t.slice();for(let i=0;i<n;i++)r[i].error(e);this.observers.length=0}complete(){if(this.closed)throw new E;this.isStopped=!0;const{observers:e}=this,t=e.length,n=e.slice();for(let r=0;r<t;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new E;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new E;return this.hasError?(e.error(this.thrownError),d.EMPTY):this.isStopped?(e.complete(),d.EMPTY):(this.observers.push(e),new _(this,e))}asObservable(){const e=new v;return e.source=this,e}}return e.create=(e,t)=>new w(e,t),e})();class w extends S{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):d.EMPTY}}function x(e){return e&&"function"==typeof e.schedule}function O(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new R(e,t))}}class R{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new N(e,this.project,this.thisArg))}}class N extends h{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}const I=e=>t=>{for(let n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()};function L(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const T=L(),k=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function D(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const q=e=>{if(e&&"function"==typeof e[y])return r=e,e=>{const t=r[y]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(k(e))return I(e);if(D(e))return n=e,e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,a),e);if(e&&"function"==typeof e[T])return t=e,e=>{const n=t[T]();for(;;){let t;try{t=n.next()}catch(r){return e.error(r),e}if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e};{const t=u(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var t,n,r};function P(e,t){return new v(n=>{const r=new d;let i=0;return r.add(t.schedule((function(){i!==e.length?(n.next(e[i++]),n.closed||r.add(this.schedule())):n.complete()}))),r})}function A(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[y]}(e))return function(e,t){return new v(n=>{const r=new d;return r.add(t.schedule(()=>{const i=e[y]();r.add(i.subscribe({next(e){r.add(t.schedule(()=>n.next(e)))},error(e){r.add(t.schedule(()=>n.error(e)))},complete(){r.add(t.schedule(()=>n.complete()))}}))})),r})}(e,t);if(D(e))return function(e,t){return new v(n=>{const r=new d;return r.add(t.schedule(()=>e.then(e=>{r.add(t.schedule(()=>{n.next(e),r.add(t.schedule(()=>n.complete()))}))},e=>{r.add(t.schedule(()=>n.error(e)))}))),r})}(e,t);if(k(e))return P(e,t);if(function(e){return e&&"function"==typeof e[T]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new v(n=>{const r=new d;let i;return r.add(()=>{i&&"function"==typeof i.return&&i.return()}),r.add(t.schedule(()=>{i=e[T](),r.add(t.schedule((function(){if(n.closed)return;let e,t;try{const n=i.next();e=n.value,t=n.done}catch(r){return void n.error(r)}t?n.complete():(n.next(e),this.schedule())})))})),r})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof v?e:new v(q(e))}class M extends h{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class F extends h{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function j(e,t){if(!t.closed)return e instanceof v?e.subscribe(t):q(e)(t)}class V{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new z(e,this.project,this.concurrent))}}class z extends F{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t)}_innerSub(e){const t=new M(this),n=this.destination;n.add(t);const r=j(e,t);r!==t&&n.add(r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyComplete(){const e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function B(e,t){return t?P(e,t):new v(I(e))}function U(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];return x(r)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof r&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof v?e[0]:function(e=Number.POSITIVE_INFINITY){return function e(t,n,r=Number.POSITIVE_INFINITY){return"function"==typeof n?i=>i.pipe(e((e,r)=>A(t(e,r)).pipe(O((t,i)=>n(e,t,r,i))),r)):("number"==typeof n&&(r=n),e=>e.lift(new V(t,r)))}(g,e)}(t)(B(e,n))}function H(){return function(e){return e.lift(new G(e))}}class G{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const r=new W(e,n),i=t.subscribe(r);return r.closed||(r.connection=n.connect()),i}}class W extends h{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class $ extends v{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new d,e.add(this.source.subscribe(new Q(this.getSubject(),this))),e.closed&&(this._connection=null,e=d.EMPTY)),e}refCount(){return H()(this)}}const K=(()=>{const e=$.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class Q extends C{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}function X(){return new S}function Z(e){return{toString:e}.toString()}const Y="__parameters__";function J(e,t,n){return Z(()=>{const r=function(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}(t);function i(...e){if(this instanceof i)return r.apply(this,e),this;const t=new i(...e);return n.annotation=t,n;function n(e,n,r){const i=e.hasOwnProperty(Y)?e[Y]:Object.defineProperty(e,Y,{value:[]})[Y];for(;i.length<=r;)i.push(null);return(i[r]=i[r]||[]).push(t),e}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const ee=J("Inject",e=>({token:e})),te=J("Optional"),ne=J("Self"),re=J("SkipSelf");var ie=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function oe(e){for(let t in e)if(e[t]===oe)return t;throw Error("Could not find renamed property on target object.")}function ae(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function se(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function le(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function ue(e){return ce(e,e[fe])||ce(e,e[me])}function ce(e,t){return t&&t.token===e?t:null}function de(e){return e&&(e.hasOwnProperty(pe)||e.hasOwnProperty(ye))?e[pe]:null}const fe=oe({"\u0275prov":oe}),pe=oe({"\u0275inj":oe}),he=oe({"\u0275provFallback":oe}),me=oe({ngInjectableDef:oe}),ye=oe({ngInjectorDef:oe});function ge(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ge).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function ve(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const be=oe({__forward_ref__:oe});function Ee(e){return e.__forward_ref__=Ee,e.toString=function(){return ge(this())},e}function _e(e){return Ce(e)?e():e}function Ce(e){return"function"==typeof e&&e.hasOwnProperty(be)&&e.__forward_ref__===Ee}const Se="undefined"!=typeof globalThis&&globalThis,we="undefined"!=typeof window&&window,xe="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Oe="undefined"!=typeof global&&global,Re=Se||Oe||we||xe,Ne=oe({"\u0275cmp":oe}),Ie=oe({"\u0275dir":oe}),Le=oe({"\u0275pipe":oe}),Te=oe({"\u0275mod":oe}),ke=oe({"\u0275loc":oe}),De=oe({"\u0275fac":oe}),qe=oe({__NG_ELEMENT_ID__:oe});class Pe{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=se({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return"InjectionToken "+this._desc}}const Ae=new Pe("INJECTOR",-1),Me={},Fe=/\n/gm,je="__source",Ve=oe({provide:String,useValue:oe});let ze,Be=void 0;function Ue(e){const t=Be;return Be=e,t}function He(e){const t=ze;return ze=e,t}function Ge(e,t=ie.Default){if(void 0===Be)throw new Error("inject() must be called from an injection context");return null===Be?Ke(e,void 0,t):Be.get(e,t&ie.Optional?null:void 0,t)}function We(e,t=ie.Default){return(ze||Ge)(_e(e),t)}const $e=We;function Ke(e,t,n){const r=ue(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&ie.Optional)return null;if(void 0!==t)return t;throw new Error(`Injector: NOT_FOUND [${ge(e)}]`)}function Qe(e){const t=[];for(let n=0;n<e.length;n++){const r=_e(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let e=void 0,n=ie.Default;for(let t=0;t<r.length;t++){const i=r[t];i instanceof te||"Optional"===i.ngMetadataName||i===te?n|=ie.Optional:i instanceof re||"SkipSelf"===i.ngMetadataName||i===re?n|=ie.SkipSelf:i instanceof ne||"Self"===i.ngMetadataName||i===ne?n|=ie.Self:e=i instanceof ee||i===ee?i.token:i}t.push(We(e,n))}else t.push(We(r))}return t}class Xe{get(e,t=Me){if(t===Me){const t=new Error(`NullInjectorError: No provider for ${ge(e)}!`);throw t.name="NullInjectorError",t}return t}}class Ze{}function Ye(e,t){e.forEach(e=>Array.isArray(e)?Ye(e,t):t(e))}function Je(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function et(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}var tt=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),nt=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({});const rt={},it=[];let ot=0;function at(e){return Z(()=>{const t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===tt.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||it,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||nt.Emulated,id:"c",styles:e.styles||it,_:null,setInput:null,schemas:e.schemas||null,tView:null},r=e.directives,i=e.features,o=e.pipes;return n.id+=ot++,n.inputs=dt(e.inputs,t),n.outputs=dt(e.outputs),i&&i.forEach(e=>e(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(st):null,n.pipeDefs=o?()=>("function"==typeof o?o():o).map(lt):null,n})}function st(e){return pt(e)||function(e){return e[Ie]||null}(e)}function lt(e){return function(e){return e[Le]||null}(e)}const ut={};function ct(e){const t={type:e.type,bootstrap:e.bootstrap||it,declarations:e.declarations||it,imports:e.imports||it,exports:e.exports||it,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&Z(()=>{ut[e.id]=e.type}),t}function dt(e,t){if(null==e)return rt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}const ft=at;function pt(e){return e[Ne]||null}function ht(e,t){return e.hasOwnProperty(De)?e[De]:null}function mt(e,t){const n=e[Te]||null;if(!n&&!0===t)throw new Error(`Type ${ge(e)} does not have '\u0275mod' property.`);return n}const yt=20,gt=10;function vt(e){return Array.isArray(e)&&"object"==typeof e[1]}function bt(e){return Array.isArray(e)&&!0===e[1]}function Et(e){return 0!=(8&e.flags)}function _t(e){return null!==e.template}function Ct(e){return 0!=(512&e[2])}class St{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function wt(){return xt}function xt(e){return e.type.prototype.ngOnChanges&&(e.setInput=Rt),Ot}function Ot(){const e=Nt(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===rt)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function Rt(e,t,n,r){const i=Nt(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:rt,current:null}),o=i.current||(i.current={}),a=i.previous,s=this.declaredInputs[n],l=a[s];o[s]=new St(l&&l.currentValue,t,a===rt),e[r]=t}function Nt(e){return e.__ngSimpleChanges__||null}wt.ngInherit=!0;let It=void 0;function Lt(e){return!!e.listen}const Tt={createRenderer:(e,t)=>void 0!==It?It:"undefined"!=typeof document?document:void 0};function kt(e){for(;Array.isArray(e);)e=e[0];return e}function Dt(e,t){return kt(t[e.index])}function qt(e,t){const n=t[e];return vt(n)?n:n[0]}function Pt(e){const t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function At(e){return 4==(4&e[2])}function Mt(e){return 128==(128&e[2])}function Ft(e,t){return null===e||null==t?null:e[t]}function jt(e){e[18]=0}function Vt(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const zt={lFrame:rn(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Bt(){return zt.bindingsEnabled}function Ut(){return zt.lFrame.lView}function Ht(){return zt.lFrame.tView}function Gt(){return zt.lFrame.previousOrParentTNode}function Wt(e,t){zt.lFrame.previousOrParentTNode=e,zt.lFrame.isParent=t}function $t(){return zt.lFrame.isParent}function Kt(){return zt.checkNoChangesMode}function Qt(e){zt.checkNoChangesMode=e}function Xt(e,t){const n=zt.lFrame;n.bindingIndex=n.bindingRootIndex=e,Zt(t)}function Zt(e){zt.lFrame.currentDirectiveIndex=e}function Yt(){return zt.lFrame.currentQueryIndex}function Jt(e){zt.lFrame.currentQueryIndex=e}function en(e,t){const n=nn();zt.lFrame=n,n.previousOrParentTNode=t,n.lView=e}function tn(e,t){const n=nn(),r=e[1];zt.lFrame=n,n.previousOrParentTNode=t,n.lView=e,n.tView=r,n.contextLView=e,n.bindingIndex=r.bindingStartIndex}function nn(){const e=zt.lFrame,t=null===e?null:e.child;return null===t?rn(e):t}function rn(e){const t={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function on(){const e=zt.lFrame;return zt.lFrame=e.parent,e.previousOrParentTNode=null,e.lView=null,e}const an=on;function sn(){const e=on();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ln(e){zt.lFrame.selectedIndex=e}function un(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const t=e.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:i,ngAfterViewInit:o,ngAfterViewChecked:a,ngOnDestroy:s}=t;r&&(e.contentHooks||(e.contentHooks=[])).push(-n,r),i&&((e.contentHooks||(e.contentHooks=[])).push(n,i),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,i)),o&&(e.viewHooks||(e.viewHooks=[])).push(-n,o),a&&((e.viewHooks||(e.viewHooks=[])).push(n,a),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,a)),null!=s&&(e.destroyHooks||(e.destroyHooks=[])).push(n,s)}}function cn(e,t,n){pn(e,t,3,n)}function dn(e,t,n,r){(3&e[2])===n&&pn(e,t,n,r)}function fn(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function pn(e,t,n,r){const i=null!=r?r:-1;let o=0;for(let a=void 0!==r?65535&e[18]:0;a<t.length;a++)if("number"==typeof t[a+1]){if(o=t[a],null!=r&&o>=r)break}else t[a]<0&&(e[18]+=65536),(o<i||-1==i)&&(hn(e,n,t,a),e[18]=(4294901760&e[18])+a+2),a++}function hn(e,t,n,r){const i=n[r]<0,o=n[r+1],a=e[i?-n[r]:n[r]];i?e[2]>>11<e[18]>>16&&(3&e[2])===t&&(e[2]+=2048,o.call(a)):o.call(a)}class mn{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}function yn(e,t,n){const r=Lt(e);let i=0;for(;i<n.length;){const o=n[i];if("number"==typeof o){if(0!==o)break;i++;const a=n[i++],s=n[i++],l=n[i++];r?e.setAttribute(t,s,l,a):t.setAttributeNS(a,s,l)}else{const a=o,s=n[++i];64===a.charCodeAt(0)?r&&e.setProperty(t,a,s):r?e.setAttribute(t,a,s):t.setAttribute(a,s),i++}}return i}function gn(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||vn(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function vn(e,t,n,r,i){let o=0,a=e.length;if(-1===t)a=-1;else for(;o<e.length;){const n=e[o++];if("number"==typeof n){if(n===t){a=-1;break}if(n>t){a=o-1;break}}}for(;o<e.length;){const t=e[o];if("number"==typeof t)break;if(t===n){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==a&&(e.splice(a,0,t),o=a+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}function bn(e){return-1!==e}function En(e){return 32767&e}function _n(e){return e>>16}function Cn(e,t){let n=_n(e),r=t;for(;n>0;)r=r[15],n--;return r}function Sn(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():function(e){return"string"==typeof e?e:null==e?"":""+e}(e)}const wn=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Re))();function xn(e){return e instanceof Function?e():e}let On=!0;function Rn(e){const t=On;return On=e,t}let Nn=0;function In(e,t){const n=Tn(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Ln(r.data,e),Ln(t,null),Ln(r.blueprint,null));const i=kn(e,t),o=e.injectorIndex;if(bn(i)){const e=En(i),n=Cn(i,t),r=n[1].data;for(let i=0;i<8;i++)t[o+i]=n[e+i]|r[e+i]}return t[o+8]=i,o}function Ln(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Tn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+8]?-1:e.injectorIndex}function kn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=t[6],r=1;for(;n&&-1===n.injectorIndex;)n=(t=t[15])?t[6]:null,r++;return n?n.injectorIndex|r<<16:-1}function Dn(e,t,n){!function(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(qe)&&(r=n[qe]),null==r&&(r=n[qe]=Nn++);const i=255&r,o=1<<i,a=64&i,s=32&i,l=t.data;128&i?a?s?l[e+7]|=o:l[e+6]|=o:s?l[e+5]|=o:l[e+4]|=o:a?s?l[e+3]|=o:l[e+2]|=o:s?l[e+1]|=o:l[e]|=o}(e,t,n)}function qn(e,t,n,r=ie.Default,i){if(null!==e){const i=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(qe)?e[qe]:void 0;return"number"==typeof t&&t>0?255&t:t}(n);if("function"==typeof i){en(t,e);try{const e=i();if(null!=e||r&ie.Optional)return e;throw new Error(`No provider for ${Sn(n)}!`)}finally{an()}}else if("number"==typeof i){if(-1===i)return new zn(e,t);let o=null,a=Tn(e,t),s=-1,l=r&ie.Host?t[16][6]:null;for((-1===a||r&ie.SkipSelf)&&(s=-1===a?kn(e,t):t[a+8],Vn(r,!1)?(o=t[1],a=En(s),t=Cn(s,t)):a=-1);-1!==a;){s=t[a+8];const e=t[1];if(jn(i,a,e.data)){const e=An(a,t,n,o,r,l);if(e!==Pn)return e}Vn(r,t[1].data[a+8]===l)&&jn(i,a,t)?(o=e,a=En(s),t=Cn(s,t)):a=-1}}}if(r&ie.Optional&&void 0===i&&(i=null),0==(r&(ie.Self|ie.Host))){const e=t[9],o=He(void 0);try{return e?e.get(n,i,r&ie.Optional):Ke(n,i,r&ie.Optional)}finally{He(o)}}if(r&ie.Optional)return i;throw new Error(`NodeInjector: NOT_FOUND [${Sn(n)}]`)}const Pn={};function An(e,t,n,r,i,o){const a=t[1],s=a.data[e+8],l=Mn(s,a,n,null==r?function(e){return 2==(2&e.flags)}(s)&&On:r!=a&&3===s.type,i&ie.Host&&o===s);return null!==l?Fn(t,a,l,s):Pn}function Mn(e,t,n,r,i){const o=e.providerIndexes,a=t.data,s=1048575&o,l=e.directiveStart,u=o>>20,c=i?s+u:e.directiveEnd;for(let d=r?s:s+u;d<c;d++){const e=a[d];if(d<l&&n===e||d>=l&&e.type===n)return d}if(i){const e=a[l];if(e&&_t(e)&&e.type===n)return l}return null}function Fn(e,t,n,r){let i=e[n];const o=t.data;if(i instanceof mn){const a=i;if(a.resolving)throw new Error("Circular dep for "+Sn(o[n]));const s=Rn(a.canSeeViewProviders);let l;a.resolving=!0,a.injectImpl&&(l=He(a.injectImpl)),en(e,r);try{i=e[n]=a.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const r=xt(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{a.injectImpl&&He(l),Rn(s),a.resolving=!1,an()}}return i}function jn(e,t,n){const r=64&e,i=32&e;let o;return o=128&e?r?i?n[t+7]:n[t+6]:i?n[t+5]:n[t+4]:r?i?n[t+3]:n[t+2]:i?n[t+1]:n[t],!!(o&1<<e)}function Vn(e,t){return!(e&ie.Self||e&ie.Host&&t)}class zn{constructor(e,t){this._tNode=e,this._lView=t}get(e,t){return qn(this._tNode,this._lView,e,void 0,t)}}function Bn(e){const t=e;if(Ce(e))return()=>{const e=Bn(_e(t));return e?e():null};let n=ht(t);if(null===n){const e=de(t);n=e&&e.factory}return n||null}function Un(e){return Z(()=>{const t=e.prototype.constructor,n=t[De]||Bn(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const e=i[De]||Bn(i);if(e&&e!==n)return e;i=Object.getPrototypeOf(i)}return e=>new e})}function Hn(e){return e.ngDebugContext}function Gn(e){return e.ngOriginalError}function Wn(e,...t){e.error(...t)}class $n{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e.ngErrorLogger||Wn}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?Hn(e)?Hn(e):this._findContext(Gn(e)):null}_findOriginalError(e){let t=Gn(e);for(;t&&Gn(t);)t=Gn(t);return t}}let Kn=!0,Qn=!1;function Xn(){return Qn=!0,Kn}function Zn(e,t){e.__ngContext__=t}function Yn(e){throw new Error("Multiple components match node with tagname "+e.tagName)}function Jn(){throw new Error("Cannot mix multi providers and regular providers")}function er(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const n=t.length;if(i+n===r||e.charCodeAt(i+n)<=32)return i}n=i+1}}const tr="ng-template";function nr(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];if(n&&"class"===i){if(i=e[r],-1!==er(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function rr(e){return 0===e.type&&e.tagName!==tr}function ir(e,t,n){return t===(0!==e.type||n?e.tagName:tr)}function or(e,t,n){let r=4;const i=e.attrs||[],o=function(e){for(let n=0;n<e.length;n++)if(3===(t=e[n])||4===t||6===t)return n;var t;return e.length}(i);let a=!1;for(let s=0;s<t.length;s++){const l=t[s];if("number"!=typeof l){if(!a)if(4&r){if(r=2|1&r,""!==l&&!ir(e,l,n)||""===l&&1===t.length){if(ar(r))return!1;a=!0}}else{const u=8&r?l:t[++s];if(8&r&&null!==e.attrs){if(!nr(e.attrs,u,n)){if(ar(r))return!1;a=!0}continue}const c=sr(8&r?"class":l,i,rr(e),n);if(-1===c){if(ar(r))return!1;a=!0;continue}if(""!==u){let e;e=c>o?"":i[c+1].toLowerCase();const t=8&r?e:null;if(t&&-1!==er(t,u,0)||2&r&&u!==e){if(ar(r))return!1;a=!0}}}}else{if(!a&&!ar(r)&&!ar(l))return!1;if(a&&ar(l))continue;a=!1,r=l|1&r}}return ar(r)||a}function ar(e){return 0==(1&e)}function sr(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let n=!1;for(;i<t.length;){const r=t[i];if(r===e)return i;if(3===r||6===r)n=!0;else{if(1===r||2===r){let e=t[++i];for(;"string"==typeof e;)e=t[++i];continue}if(4===r)break;if(0===r){i+=4;continue}}i+=n?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function lr(e,t,n=!1){for(let r=0;r<t.length;r++)if(or(e,t[r],n))return!0;return!1}function ur(e,t){return e?":not("+t.trim()+")":t}function cr(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let a=e[n];if("string"==typeof a)if(2&r){const t=e[++n];i+="["+a+(t.length>0?'="'+t+'"':"")+"]"}else 8&r?i+="."+a:4&r&&(i+=" "+a);else""===i||ar(a)||(t+=ur(o,i),i=""),r=a,o=o||!ar(r);n++}return""!==i&&(t+=ur(o,i)),t}const dr={};function fr(e){const t=e[3];return bt(t)?t[3]:t}function pr(e){return mr(e[13])}function hr(e){return mr(e[4])}function mr(e){for(;null!==e&&!bt(e);)e=e[4];return e}function yr(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],o=n[r+1];if(-1!==o){const n=e.data[o];Jt(i),n.contentQueries(2,t[o],o)}}}function gr(e,t,n){return Lt(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function vr(e,t,n,r,i,o,a,s,l,u){const c=t.blueprint.slice();return c[0]=i,c[2]=140|r,jt(c),c[3]=c[15]=e,c[8]=n,c[10]=a||e&&e[10],c[11]=s||e&&e[11],c[12]=l||e&&e[12]||null,c[9]=u||e&&e[9]||null,c[6]=o,c[16]=2==t.type?e[16]:c,c}function br(e,t,n,r,i,o){const a=n+yt,s=e.data[a]||function(e,t,n,r,i,o){const a=Gt(),s=$t(),l=s?a:a&&a.parent,u=e.data[n]=Rr(0,l&&l!==t?l:null,r,n,i,o);return null===e.firstChild&&(e.firstChild=u),a&&(!s||null!=a.child||null===u.parent&&2!==a.type?s||(a.next=u):a.child=u),u}(e,t,a,r,i,o);return Wt(s,!0),s}function Er(e,t,n){tn(t,t[6]);try{const r=e.viewQuery;null!==r&&Gr(1,r,n);const i=e.template;null!==i&&Sr(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&yr(e,t),e.staticViewQueries&&Gr(2,e.viewQuery,n);const o=e.components;null!==o&&function(e,t){for(let n=0;n<t.length;n++)zr(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),r}finally{t[2]&=-5,sn()}}function _r(e,t,n,r){const i=t[2];if(256==(256&i))return;tn(t,t[6]);const o=Kt();try{jt(t),zt.lFrame.bindingIndex=e.bindingStartIndex,null!==n&&Sr(e,t,n,2,r);const a=3==(3&i);if(!o)if(a){const n=e.preOrderCheckHooks;null!==n&&cn(t,n,null)}else{const n=e.preOrderHooks;null!==n&&dn(t,n,0,null),fn(t,0)}if(function(e){for(let t=pr(e);null!==t;t=hr(t)){if(!t[2])continue;const e=t[9];for(let t=0;t<e.length;t++){const n=e[t],r=n[3];0==(1024&n[2])&&Vt(r,1),n[2]|=1024}}}(t),function(e){for(let t=pr(e);null!==t;t=hr(t))for(let e=gt;e<t.length;e++){const n=t[e],r=n[1];Mt(n)&&_r(r,n,r.template,n[8])}}(t),null!==e.contentQueries&&yr(e,t),!o)if(a){const n=e.contentCheckHooks;null!==n&&cn(t,n)}else{const n=e.contentHooks;null!==n&&dn(t,n,1),fn(t,1)}!function(e,t){try{const n=e.expandoInstructions;if(null!==n){let r=e.expandoStartIndex,i=-1,o=-1;for(let e=0;e<n.length;e++){const a=n[e];"number"==typeof a?a<=0?(o=0-a,ln(o),r+=9+n[++e],i=r):r+=a:(null!==a&&(Xt(r,i),a(2,t[i])),i++)}}}finally{ln(-1)}}(e,t);const s=e.components;null!==s&&function(e,t){for(let n=0;n<t.length;n++)Vr(e,t[n])}(t,s);const l=e.viewQuery;if(null!==l&&Gr(2,l,r),!o)if(a){const n=e.viewCheckHooks;null!==n&&cn(t,n)}else{const n=e.viewHooks;null!==n&&dn(t,n,2),fn(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),o||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Vt(t[3],-1))}finally{sn()}}function Cr(e,t,n,r){const i=t[10],o=!Kt(),a=At(t);try{o&&!a&&i.begin&&i.begin(),a&&Er(e,t,r),_r(e,t,n,r)}finally{o&&!a&&i.end&&i.end()}}function Sr(e,t,n,r,i){const o=zt.lFrame.selectedIndex;try{ln(-1),2&r&&t.length>yt&&function(e,t,n,r){if(!r)if(3==(3&t[2])){const n=e.preOrderCheckHooks;null!==n&&cn(t,n,0)}else{const n=e.preOrderHooks;null!==n&&dn(t,n,0,0)}ln(0)}(e,t,0,Kt()),n(r,i)}finally{ln(o)}}function wr(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=xr(1,-1,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function xr(e,t,n,r,i,o,a,s,l,u){const c=yt+r,d=c+i,f=function(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:dr);return n}(c,d),p="function"==typeof u?u():u;return f[1]={type:e,id:t,blueprint:f,template:n,queries:null,viewQuery:s,node:null,data:f.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:d,expandoInstructions:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:l,consts:p,incompleteFirstPass:!1}}function Or(e,t,n,r){const i=(o=t)[7]||(o[7]=[]);var o;i.push(n),e.firstCreatePass&&function(e){return e.cleanup||(e.cleanup=[])}(e).push(r,i.length-1)}function Rr(e,t,n,r,i,o){return{type:n,index:r,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Nr(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function Ir(e,t){const n=e.expandoInstructions;n.push(t.hostBindings),0!==t.hostVars&&n.push(t.hostVars)}function Lr(e,t,n){for(let r=0;r<n;r++)t.push(dr),e.blueprint.push(dr),e.data.push(null)}function Tr(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function kr(e,t,n){const r=yt-t.index,i=e.data.length-(1048575&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(r,i,n)}function Dr(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function qr(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;_t(t)&&(n[""]=e)}}function Pr(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Ar(e,t,n){e.data.push(n);const r=n.factory||(n.factory=ht(n.type)),i=new mn(r,_t(n),null);e.blueprint.push(i),t.push(i)}function Mr(e,t,n){const r=Dt(t,e),i=wr(n),o=e[10],a=Br(e,vr(e,i,null,n.onPush?64:16,r,t,o,o.createRenderer(r,n)));e[t.index]=a}function Fr(e,t,n,r,i,o){const a=o[t];if(null!==a){const e=r.setInput;for(let t=0;t<a.length;){const i=a[t++],o=a[t++],s=a[t++];null!==e?r.setInput(n,s,i,o):n[o]=s}}}function jr(e,t){let n=null,r=0;for(;r<t.length;){const i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Vr(e,t){const n=qt(t,e);if(Mt(n)){const e=n[1];80&n[2]?_r(e,n,e.template,n[8]):n[5]>0&&function e(t){for(let r=pr(t);null!==r;r=hr(r))for(let t=gt;t<r.length;t++){const n=r[t];if(1024&n[2]){const e=n[1];_r(e,n,e.template,n[8])}else n[5]>0&&e(n)}const n=t[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=qt(n[r],t);Mt(i)&&i[5]>0&&e(i)}}(n)}}function zr(e,t){const n=qt(t,e),r=n[1];!function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n),Er(r,n,n[8])}function Br(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Ur(e,t,n){const r=t[10];r.begin&&r.begin();try{_r(e,t,e.template,n)}catch(i){throw function(e,t){const n=e[9],r=n?n.get($n,null):null;r&&r.handleError(t)}(t,i),i}finally{r.end&&r.end()}}function Hr(e){!function(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=Pt(n),i=r[1];Cr(i,r,i.template,n)}}(e[8])}function Gr(e,t,n){Jt(0),t(e,n)}const Wr=(()=>Promise.resolve(null))();function $r(e,t){const n=t[3];return-1===e.index?bt(n)?n:null:n}function Kr(e,t){const n=$r(e,t);return n?oi(t[11],n[7]):null}function Qr(e,t,n,r,i){if(null!=r){let o,a=!1;bt(r)?o=r:vt(r)&&(a=!0,r=r[0]);const s=kt(r);0===e&&null!==n?null==i?ri(t,n,s):ni(t,n,s,i||null):1===e&&null!==n?ni(t,n,s,i||null):2===e?function(e,t,n){const r=oi(e,t);r&&function(e,t,n,r){Lt(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,s,a):3===e&&t.destroyNode(s),null!=o&&function(e,t,n,r,i){const o=n[7];o!==kt(n)&&Qr(t,e,r,o,i);for(let a=gt;a<n.length;a++){const i=n[a];ui(i[1],i,e,t,r,o)}}(t,e,o,n,i)}}function Xr(e,t,n,r){const i=Kr(e.node,t);i&&ui(e,t,t[11],n?1:2,i,r)}function Zr(e,t){const n=e[9],r=n.indexOf(t);1024&t[2]&&Vt(t[3],-1),n.splice(r,1)}function Yr(e,t){if(e.length<=gt)return;const n=gt+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&Zr(i,r),t>0&&(e[n-1][4]=r[4]);const o=et(e,gt+t);Xr(r[1],r,!1,null);const a=o[19];null!==a&&a.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Jr(e,t){if(!(256&t[2])){const n=t[11];Lt(n)&&n.destroyNode&&ui(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return ti(e[1],e);for(;t;){let n=null;if(vt(t))n=t[13];else{const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)vt(t)&&ti(t[1],t),t=ei(t,e);null===t&&(t=e),vt(t)&&ti(t[1],t),n=t&&t[4]}t=n}}(t)}}function ei(e,t){let n;return vt(e)&&(n=e[6])&&2===n.type?$r(n,e):e[3]===t?null:e[3]}function ti(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const e=t[n[r]];if(!(e instanceof mn)){const t=n[r+1];if(Array.isArray(t))for(let n=0;n<t.length;n+=2)t[n+1].call(e[t[n]]);else t.call(e)}}}(e,t),function(e,t){const n=e.cleanup;if(null!==n){const e=t[7];for(let r=0;r<n.length-1;r+=2)if("string"==typeof n[r]){const i=n[r+1],o="function"==typeof i?i(t):kt(t[i]),a=e[n[r+2]],s=n[r+3];"boolean"==typeof s?o.removeEventListener(n[r],a,s):s>=0?e[s]():e[-s].unsubscribe(),r+=2}else n[r].call(e[n[r+1]]);t[7]=null}}(e,t);const n=t[6];n&&3===n.type&&Lt(t[11])&&t[11].destroy();const r=t[17];if(null!==r&&bt(t[3])){r!==t[3]&&Zr(r,t);const n=t[19];null!==n&&n.detachView(e)}}}function ni(e,t,n,r){Lt(e)?e.insertBefore(t,n,r):t.insertBefore(n,r,!0)}function ri(e,t,n){Lt(e)?e.appendChild(t,n):t.appendChild(n)}function ii(e,t,n,r){null!==r?ni(e,t,n,r):ri(e,t,n)}function oi(e,t){return Lt(e)?e.parentNode(t):t.parentNode}function ai(e,t,n,r){const i=function(e,t,n){let r=t.parent;for(;null!=r&&(4===r.type||5===r.type);)r=(t=r).parent;if(null==r){const e=n[6];return 2===e.type?Kr(e,n):n[0]}if(t&&5===t.type&&4&t.flags)return Dt(t,n).parentNode;if(2&r.flags){const t=e.data,n=t[t[r.index].directiveStart].encapsulation;if(n!==nt.ShadowDom&&n!==nt.Native)return null}return Dt(r,n)}(e,r,t);if(null!=i){const e=t[11],o=function(e,t){if(2===e.type){const n=$r(e,t);return null===n?null:si(n.indexOf(t,gt)-gt,n)}return 4===e.type||5===e.type?Dt(e,t):null}(r.parent||t[6],t);if(Array.isArray(n))for(let t=0;t<n.length;t++)ii(e,i,n[t],o);else ii(e,i,n,o)}}function si(e,t){const n=gt+e+1;if(n<t.length){const e=t[n],r=e[1].firstChild;if(null!==r)return function e(t,n){if(null!==n){const r=n.type;if(3===r)return Dt(n,t);if(0===r)return si(-1,t[n.index]);if(4===r||5===r){const r=n.child;if(null!==r)return e(t,r);{const e=t[n.index];return bt(e)?si(-1,e):kt(e)}}{const r=t[16],i=r[6],o=fr(r),a=i.projection[n.projection];return null!=a?e(o,a):e(t,n.next)}}return null}(e,r)}return t[7]}function li(e,t,n,r,i,o,a){for(;null!=n;){const s=r[n.index],l=n.type;a&&0===t&&(s&&Zn(kt(s),r),n.flags|=4),64!=(64&n.flags)&&(4===l||5===l?(li(e,t,n.child,r,i,o,!1),Qr(t,e,i,s,o)):1===l?ci(e,t,r,n,i,o):Qr(t,e,i,s,o)),n=a?n.projectionNext:n.next}}function ui(e,t,n,r,i,o){li(n,r,e.node.child,t,i,o,!1)}function ci(e,t,n,r,i,o){const a=n[16],s=a[6].projection[r.projection];if(Array.isArray(s))for(let l=0;l<s.length;l++)Qr(t,e,i,s[l],o);else li(e,t,s,a[3],i,o,!0)}function di(e,t,n){Lt(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function fi(e,t,n){Lt(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}class pi{constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._viewContainerRef=null}get rootNodes(){const e=this._lView;return null==e[0]?function e(t,n,r,i,o=!1){for(;null!==r;){const a=n[r.index];if(null!==a&&i.push(kt(a)),bt(a))for(let t=gt;t<a.length;t++){const n=a[t],r=n[1].firstChild;null!==r&&e(n[1],n,r,i)}const s=r.type;if(4===s||5===s)e(t,n,r.child,i);else if(1===s){const t=n[16],o=t[6].projection[r.projection];if(Array.isArray(o))i.push(...o);else{const n=fr(t);e(n[1],n,o,i,!0)}}r=o?r.projectionNext:r.next}return i}(e[1],e,e[6].child,[]):[]}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){const e=this._viewContainerRef.indexOf(this);e>-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}Jr(this._lView[1],this._lView)}onDestroy(e){Or(this._lView[1],this._lView,null,e)}markForCheck(){!function(e){for(;e;){e[2]|=64;const t=fr(e);if(Ct(e)&&!t)return e;e=t}}(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Ur(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){Qt(!0);try{Ur(e,t,n)}finally{Qt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}detachFromAppRef(){var e;this._appRef=null,ui(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class hi extends pi{constructor(e){super(e),this._view=e}detectChanges(){Hr(this._view)}checkNoChanges(){!function(e){Qt(!0);try{Hr(e)}finally{Qt(!1)}}(this._view)}get context(){return null}}let mi,yi,gi;function vi(e,t,n){return mi||(mi=class extends e{}),new mi(Dt(t,n))}function bi(e,t,n,r){return yi||(yi=class extends e{constructor(e,t,n){super(),this._declarationView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=vr(this._declarationView,t,e,16,null,t.node);n[17]=this._declarationView[this._declarationTContainer.index];const r=this._declarationView[19];return null!==r&&(n[19]=r.createEmbeddedView(t)),Er(t,n,e),new pi(n)}}),0===n.type?new yi(r,n,vi(t,n,r)):null}function Ei(e,t,n,r){let i;gi||(gi=class extends e{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostView=n}get element(){return vi(t,this._hostTNode,this._hostView)}get injector(){return new zn(this._hostTNode,this._hostView)}get parentInjector(){const e=kn(this._hostTNode,this._hostView),t=Cn(e,this._hostView),n=function(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){const e=n.parent.injectorIndex;let t=n.parent;for(;null!=t.parent&&e==t.parent.injectorIndex;)t=t.parent;return t}let r=_n(e),i=t,o=t[6];for(;r>1;)i=i[15],o=i[6],r--;return o}(e,this._hostView,this._hostTNode);return bn(e)&&null!=n?new zn(n,t):new zn(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}get length(){return this._lContainer.length-gt}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,i){const o=n||this.parentInjector;if(!i&&null==e.ngModule&&o){const e=o.get(Ze,null);e&&(i=e)}const a=e.create(o,r,void 0,i);return this.insert(a.hostView,t),a}insert(e,t){const n=e._lView,r=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),bt(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3],r=new gi(t,t[6],t[3]);r.detach(r.indexOf(e))}}const i=this._adjustIndex(t);return function(e,t,n,r){const i=gt+r,o=n.length;r>0&&(n[i-1][4]=t),r<o-gt?(t[4]=n[i],Je(n,gt+r,t)):(n.push(t),t[4]=null),t[3]=n;const a=t[17];null!==a&&n!==a&&function(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(a,t);const s=t[19];null!==s&&s.insertView(e),t[2]|=128}(r,n,this._lContainer,i),Xr(r,n,!0,si(i,this._lContainer)),e.attachToViewContainerRef(this),Je(this._lContainer[8],i,e),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)}indexOf(e){const t=this._lContainer[8];return null!==t?t.indexOf(e):-1}remove(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1),n=Yr(this._lContainer,t);n&&(et(this._lContainer[8],t),Jr(n[1],n))}detach(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1),n=Yr(this._lContainer,t);return n&&null!=et(this._lContainer[8],t)?new pi(n):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}allocateContainerIfNeeded(){null===this._lContainer[8]&&(this._lContainer[8]=[])}});const o=r[n.index];if(bt(o))i=o;else{let e;if(4===n.type)e=kt(o);else if(e=r[11].createComment(""),Ct(r)){const t=r[11],i=Dt(n,r);ni(t,oi(t,i),e,function(e,t){return Lt(e)?e.nextSibling(t):t.nextSibling}(t,i))}else ai(r[1],r,e,n);r[n.index]=i=new Array(o,!0,!1,r,null,0,n,e,null,null),Br(r,i)}return new gi(i,n,r)}const _i=new Pe("Set Injector scope."),Ci={},Si={},wi=[];let xi=void 0;function Oi(){return void 0===xi&&(xi=new Xe),xi}function Ri(e,t=null,n=null,r){return new Ni(e,n,t||Oi(),r)}class Ni{constructor(e,t,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];t&&Ye(t,n=>this.processProvider(n,e,t)),Ye([e],e=>this.processInjectorType(e,[],i)),this.records.set(Ae,Li(void 0,this));const o=this.records.get(_i);this.scope=null!=o?o.value:null,this.source=r||("object"==typeof e?null:ge(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=Me,n=ie.Default){this.assertNotDestroyed();const r=Ue(this);try{if(!(n&ie.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(i=e)||"object"==typeof i&&i instanceof Pe)&&ue(e);t=n&&this.injectableDefInScope(n)?Li(Ii(e),Ci):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(n&ie.Self?Oi():this.parent).get(e,t=n&ie.Optional&&t===Me?null:t)}catch(o){if("NullInjectorError"===o.name){if((o.ngTempTokenPath=o.ngTempTokenPath||[]).unshift(ge(e)),r)throw o;return function(e,t,n,r){const i=e.ngTempTokenPath;throw t[je]&&i.unshift(t[je]),e.message=function(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let i=ge(t);if(Array.isArray(t))i=t.map(ge).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];e.push(n+":"+("string"==typeof r?JSON.stringify(r):ge(r)))}i=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(Fe,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e.ngTempTokenPath=null,e}(o,e,"R3InjectorError",this.source)}throw o}finally{Ue(r)}var i}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(ge(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=_e(e)))return!1;let r=de(e);const i=null==r&&e.ngModule||void 0,o=void 0===i?e:i,a=-1!==n.indexOf(o);if(void 0!==i&&(r=de(i)),null==r)return!1;if(null!=r.imports&&!a){let e;n.push(o);try{Ye(r.imports,r=>{this.processInjectorType(r,t,n)&&(void 0===e&&(e=[]),e.push(r))})}finally{}if(void 0!==e)for(let t=0;t<e.length;t++){const{ngModule:n,providers:r}=e[t];Ye(r,e=>this.processProvider(e,n,r||wi))}}this.injectorDefTypes.add(o),this.records.set(o,Li(r.factory,Ci));const s=r.providers;if(null!=s&&!a){const t=e;Ye(s,e=>this.processProvider(e,t,s))}return void 0!==i&&void 0!==e.providers}processProvider(e,t,n){let r=ki(e=_e(e))?e:_e(e&&e.provide);const i=function(e,t,n){return Ti(e)?Li(void 0,e.useValue):Li(function(e,t,n){let r=void 0;if(ki(e)){const t=_e(e);return ht(t)||Ii(t)}if(Ti(e))r=()=>_e(e.useValue);else if((i=e)&&i.useFactory)r=()=>e.useFactory(...Qe(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>We(_e(e.useExisting));else{const i=_e(e&&(e.useClass||e.provide));if(i||function(e,t,n){let r="";throw e&&t&&(r=` - only instances of Provider and Type are allowed, got: [${t.map(e=>e==n?"?"+n+"?":"...").join(", ")}]`),new Error(`Invalid provider for the NgModule '${ge(e)}'`+r)}(t,n,e),!function(e){return!!e.deps}(e))return ht(i)||Ii(i);r=()=>new i(...Qe(e.deps))}var i;return r}(e,t,n),Ci)}(e,t,n);if(ki(e)||!0!==e.multi){const e=this.records.get(r);e&&void 0!==e.multi&&Jn()}else{let t=this.records.get(r);t?void 0===t.multi&&Jn():(t=Li(void 0,Ci,!0),t.factory=()=>Qe(t.multi),this.records.set(r,t)),r=e,t.multi.push(e)}this.records.set(r,i)}hydrate(e,t){var n;return t.value===Si?function(e){throw new Error("Cannot instantiate cyclic dependency! "+e)}(ge(e)):t.value===Ci&&(t.value=Si,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}function Ii(e){const t=ue(e),n=null!==t?t.factory:ht(e);if(null!==n)return n;const r=de(e);if(null!==r)return r.factory;if(e instanceof Pe)throw new Error(`Token ${ge(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=function(e,t){const n=[];for(let r=0;r<e;r++)n.push("?");return n}(t);throw new Error(`Can't resolve all parameters for ${ge(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[fe]||e[me]||e[he]&&e[he]());if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function Li(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ti(e){return null!==e&&"object"==typeof e&&Ve in e}function ki(e){return"function"==typeof e}const Di=function(e,t,n){return function(e,t=null,n=null,r){const i=Ri(e,t,n,r);return i._resolveInjectorDefTypes(),i}({name:n},t,e,n)};let qi=(()=>{class e{static create(e,t){return Array.isArray(e)?Di(e,t,""):Di(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=Me,e.NULL=new Xe,e.\u0275prov=se({token:e,providedIn:"any",factory:()=>We(Ae)}),e.__NG_ELEMENT_ID__=-1,e})();function Pi(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let a=0;a<t.length;a++){const e=t[a];"number"==typeof e?o=e:1==o?i=ve(i,e):2==o&&(r=ve(r,e+": "+t[++a]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}let Ai=null;function Mi(){if(!Ai){const e=Re.Symbol;if(e&&e.iterator)Ai=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(Ai=n)}}}return Ai}function Fi(e){return!!ji(e)&&(Array.isArray(e)||!(e instanceof Map)&&Mi()in e)}function ji(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Vi(e,t=ie.Default){const n=Ut();return null==n?We(e,t):qn(Gt(),n,_e(e),t)}function zi(e,t,n,r,i){const o=i?"class":"style";!function(e,t,n,r,i){for(let o=0;o<n.length;){const a=n[o++],s=n[o++],l=t[a],u=e.data[a];null!==u.setInput?u.setInput(l,i,r,s):l[s]=i}}(e,n,t.inputs[o],o,r)}function Bi(e,t,n,r){const i=Ut(),o=Ht(),a=yt+e,s=i[11],l=i[a]=gr(t,s,zt.lFrame.currentNamespace),u=o.firstCreatePass?function(e,t,n,r,i,o,a){const s=t.consts,l=Ft(s,o),u=br(t,n[6],e,3,i,l);return function(e,t,n,r){let i=!1;if(Bt()){const o=function(e,t,n){const r=e.directiveRegistry;let i=null;if(r)for(let o=0;o<r.length;o++){const a=r[o];lr(n,a.selectors,!1)&&(i||(i=[]),Dn(In(n,t),e,a.type),_t(a)?(2&n.flags&&Yn(n),Dr(e,n),i.unshift(a)):i.push(a))}return i}(e,t,n),a=null===r?null:{"":-1};if(null!==o){let r=0;i=!0,Pr(n,e.data.length,o.length);for(let e=0;e<o.length;e++){const t=o[e];t.providersResolver&&t.providersResolver(t)}kr(e,n,o.length);let s=!1,l=!1;for(let i=0;i<o.length;i++){const u=o[i];n.mergedAttrs=gn(n.mergedAttrs,u.hostAttrs),Ar(e,t,u),qr(e.data.length-1,u,a),null!==u.contentQueries&&(n.flags|=8),null===u.hostBindings&&null===u.hostAttrs&&0===u.hostVars||(n.flags|=128);const c=u.type.prototype;!s&&(c.ngOnChanges||c.ngOnInit||c.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index-yt),s=!0),l||!c.ngOnChanges&&!c.ngDoCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index-yt),l=!0),Ir(e,u),r+=u.hostVars}!function(e,t){const n=t.directiveEnd,r=e.data,i=t.attrs,o=[];let a=null,s=null;for(let l=t.directiveStart;l<n;l++){const e=r[l],n=e.inputs,u=null===i||rr(t)?null:jr(n,i);o.push(u),a=Nr(n,l,a),s=Nr(e.outputs,l,s)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=a,t.outputs=s}(e,n),Lr(e,t,r)}a&&function(e,t,n){if(t){const r=e.localNames=[];for(let e=0;e<t.length;e+=2){const i=n[t[e+1]];if(null==i)throw new Error(`Export of name '${t[e+1]}' not found!`);r.push(t[e],i)}}}(n,r,a)}n.mergedAttrs=gn(n.mergedAttrs,n.attrs)}(t,n,u,Ft(s,a)),null!==u.attrs&&Pi(u,u.attrs,!1),null!==u.mergedAttrs&&Pi(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(e,o,i,0,t,n,r):o.data[a];Wt(u,!0);const c=u.mergedAttrs;null!==c&&yn(s,l,c);const d=u.classes;null!==d&&fi(s,l,d);const f=u.styles;null!==f&&di(s,l,f),ai(o,i,l,u),0===zt.lFrame.elementDepthCount&&Zn(l,i),zt.lFrame.elementDepthCount++,function(e){return 1==(1&e.flags)}(u)&&(function(e,t,n){Bt()&&(function(e,t,n,r){const i=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||In(n,t),Zn(r,t);const a=n.initialInputs;for(let s=i;s<o;s++){const r=e.data[s],o=_t(r);o&&Mr(t,n,r);const l=Fn(t,e,s,n);Zn(l,t),null!==a&&Fr(0,s-i,l,r,0,a),o&&(qt(n.index,t)[8]=l)}}(e,t,n,Dt(n,t)),128==(128&n.flags)&&function(e,t,n){const r=n.directiveStart,i=n.directiveEnd,o=e.expandoInstructions,a=e.firstCreatePass,s=n.index-yt,l=zt.lFrame.currentDirectiveIndex;try{ln(s);for(let n=r;n<i;n++){const r=e.data[n],i=t[n];Zt(n),null!==r.hostBindings||0!==r.hostVars||null!==r.hostAttrs?Tr(r,i):a&&o.push(null)}}finally{ln(-1),Zt(l)}}(e,t,n))}(o,i,u),function(e,t,n){if(Et(t)){const r=t.directiveEnd;for(let i=t.directiveStart;i<r;i++){const t=e.data[i];t.contentQueries&&t.contentQueries(1,n[i],i)}}}(o,u,i)),null!==r&&function(e,t,n=Dt){const r=t.localNames;if(null!==r){let i=t.index+1;for(let o=0;o<r.length;o+=2){const a=r[o+1],s=-1===a?n(t,e):e[a];e[i++]=s}}}(i,u)}function Ui(){let e=Gt();$t()?zt.lFrame.isParent=!1:(e=e.parent,Wt(e,!1));const t=e;zt.lFrame.elementDepthCount--;const n=Ht();n.firstCreatePass&&(un(n,e),Et(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&zi(n,t,Ut(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&zi(n,t,Ut(),t.stylesWithoutHost,!1)}function Hi(e,t,n,r){Bi(e,t,n,r),Ui()}function Gi(e){return!!e&&"function"==typeof e.then}function Wi(e,t){const n=Pt(e)[1],r=n.data.length-1;un(n,{directiveStart:r,directiveEnd:r+1})}function $i(e){let t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0;const r=[e];for(;t;){let i=void 0;if(_t(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");i=t.\u0275dir}if(i){if(n){r.push(i);const t=e;t.inputs=Ki(e.inputs),t.declaredInputs=Ki(e.declaredInputs),t.outputs=Ki(e.outputs);const n=i.hostBindings;n&&Zi(e,n);const o=i.viewQuery,a=i.contentQueries;if(o&&Qi(e,o),a&&Xi(e,a),ae(e.inputs,i.inputs),ae(e.declaredInputs,i.declaredInputs),ae(e.outputs,i.outputs),_t(i)&&i.data.animation){const t=e.data;t.animation=(t.animation||[]).concat(i.data.animation)}}const t=i.features;if(t)for(let r=0;r<t.length;r++){const i=t[r];i&&i.ngInherit&&i(e),i===$i&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=gn(i.hostAttrs,n=gn(n,i.hostAttrs))}}(r)}function Ki(e){return e===rt?{}:e===it?[]:e}function Qi(e,t){const n=e.viewQuery;e.viewQuery=n?(e,r)=>{t(e,r),n(e,r)}:t}function Xi(e,t){const n=e.contentQueries;e.contentQueries=n?(e,r,i)=>{t(e,r,i),n(e,r,i)}:t}function Zi(e,t){const n=e.hostBindings;e.hostBindings=n?(e,r)=>{t(e,r),n(e,r)}:t}class Yi{}class Ji{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${ge(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(e)}}let eo=(()=>{class e{}return e.NULL=new Ji,e})(),to=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>no(e),e})();const no=function(e){return vi(e,Gt(),Ut())};class ro{}var io=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({});let oo=(()=>{class e{}return e.\u0275prov=se({token:e,providedIn:"root",factory:()=>null}),e})();class ao{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const so=new ao("10.1.0");class lo{constructor(){}supports(e){return Fi(e)}create(e){return new co(e)}}const uo=(e,t)=>t;class co{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||uo}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,r=0,i=null;for(;t||n;){const o=!n||t&&t.currentIndex<mo(n,r,i)?t:n,a=mo(o,r,i),s=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)r++;else{i||(i=[]);const e=a-r,t=s-r;if(e!=t){for(let n=0;n<e;n++){const r=n<i.length?i[n]:i[n]=0,o=r+n;t<=o&&o<e&&(i[n]=r+1)}i[o.previousIndex]=t-e}}a!==s&&e(o,a,s)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!Fi(e))throw new Error(`Error trying to diff '${ge(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,r,i=this._itHead,o=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)n=e[t],r=this._trackByFn(t,n),null!==i&&Object.is(i.trackById,r)?(o&&(i=this._verifyReinsertion(i,n,r,t)),Object.is(i.item,n)||this._addIdentityChange(i,n)):(i=this._mismatch(i,n,r,t),o=!0),i=i._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Mi()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(e,e=>{r=this._trackByFn(t,e),null!==i&&Object.is(i.trackById,r)?(o&&(i=this._verifyReinsertion(i,e,r,t)),Object.is(i.item,e)||this._addIdentityChange(i,e)):(i=this._mismatch(i,e,r,t),o=!0),i=i._next,t++}),this.length=t;return this._truncate(i),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e,t;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,r){let i;return null===e?i=this._itTail:(i=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,r)):e=this._addAfter(new fo(t,n),i,r),e}_verifyReinsertion(e,t,n,r){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?e=this._reinsertAfter(i,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,i=e._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new ho),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new ho),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class fo{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class po{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class ho{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new po,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function mo(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class yo{constructor(){}supports(e){return e instanceof Map||ji(e)}create(){return new go}}class go{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||ji(e)))throw new Error(`Error trying to diff '${ge(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const r=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}const n=new vo(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class vo{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let bo=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new re,new te]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.\u0275prov=se({token:e,providedIn:"root",factory:()=>new e([new lo])}),e})(),Eo=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new re,new te]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.\u0275prov=se({token:e,providedIn:"root",factory:()=>new e([new yo])}),e})();const _o=[new yo],Co=new bo([new lo]),So=new Eo(_o);let wo=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>xo(e,to),e})();const xo=function(e,t){return bi(e,t,Gt(),Ut())};let Oo=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Ro(e,to),e})();const Ro=function(e,t){return Ei(e,t,Gt(),Ut())},No={};class Io extends eo{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=pt(e);return new ko(t,this.ngModule)}}function Lo(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const To=new Pe("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>wn});class ko extends Yi{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(cr).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return Lo(this.componentDef.inputs)}get outputs(){return Lo(this.componentDef.outputs)}create(e,t,n,r){const i=(r=r||this.ngModule)?function(e,t){return{get:(n,r,i)=>{const o=e.get(n,No,i);return o!==No||r===No?o:t.get(n,r,i)}}}(e,r.injector):e,o=i.get(ro,Tt),a=i.get(oo,null),s=o.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",u=n?function(e,t,n){if(Lt(e))return e.selectRootElement(t,n===nt.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(s,n,this.componentDef.encapsulation):gr(l,o.createRenderer(null,this.componentDef),function(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(l)),c=this.componentDef.onPush?576:528,d={components:[],scheduler:wn,clean:Wr,playerHandler:null,flags:0},f=xr(0,-1,null,1,0,null,null,null,null,null),p=vr(null,f,d,c,null,null,o,s,a,i);let h,m;tn(p,null);try{const e=function(e,t,n,r,i,o){const a=n[1];n[20]=e;const s=br(a,null,0,3,null,null),l=s.mergedAttrs=t.hostAttrs;null!==l&&(Pi(s,l,!0),null!==e&&(yn(i,e,l),null!==s.classes&&fi(i,e,s.classes),null!==s.styles&&di(i,e,s.styles)));const u=r.createRenderer(e,t),c=vr(n,wr(t),null,t.onPush?64:16,n[20],s,r,u,void 0);return a.firstCreatePass&&(Dn(In(s,n),a,t.type),Dr(a,s),Pr(s,n.length,1)),Br(n,c),n[20]=c}(u,this.componentDef,p,o,s);if(u)if(n)yn(s,u,["ng-version",so.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!ar(i))break;i=o}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);e&&yn(s,u,e),t&&t.length>0&&fi(s,u,t.join(" "))}if(m=f.data[20],void 0!==t){const e=m.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const r=t[n];e.push(null!=r?Array.from(r):null)}}h=function(e,t,n,r,i){const o=n[1],a=function(e,t,n){const r=Gt();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),kr(e,r,1),Ar(e,t,n));const i=Fn(t,e,t.length-1,r);Zn(i,t);const o=Dt(r,t);return o&&Zn(o,t),i}(o,n,t);r.components.push(a),e[8]=a,i&&i.forEach(e=>e(a,t)),t.contentQueries&&t.contentQueries(1,a,n.length-1);const s=Gt();if(o.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){ln(s.index-yt);const e=n[1];Ir(e,t),Lr(e,n,t.hostVars),Tr(t,a)}return a}(e,this.componentDef,p,d,[Wi]),Er(f,p,null)}finally{sn()}const y=new Do(this.componentType,h,vi(to,m,p),p,m);return f.node.child=m,y}}class Do extends class{}{constructor(e,t,n,r,i){super(),this.location=n,this._rootLView=r,this._tNode=i,this.destroyCbs=[],this.instance=t,this.hostView=this.changeDetectorRef=new hi(r),function(e,t,n,r){let i=e.node;null==i&&(e.node=i=Rr(0,null,2,-1,null,null)),r[6]=i}(r[1],0,0,r),this.componentType=e}get injector(){return new zn(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(e=>e()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(e){this.destroyCbs&&this.destroyCbs.push(e)}}const qo=void 0;var Po=["en",[["a","p"],["AM","PM"],qo],[["AM","PM"],qo,qo],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],qo,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],qo,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",qo,"{1} 'at' {0}",qo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let Ao={};function Mo(e){return e in Ao||(Ao[e]=Re.ng&&Re.ng.common&&Re.ng.common.locales&&Re.ng.common.locales[e]),Ao[e]}var Fo=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({});const jo="en-US";let Vo=jo;function zo(e){var t,n;n="Expected localeId to be defined",null==(t=e)&&function(e,t,n,r){throw new Error("ASSERTION ERROR: "+e+` [Expected=> null != ${t} <=Actual]`)}(n,t),"string"==typeof e&&(Vo=e.toLowerCase().replace(/_/g,"-"))}const Bo=new Map;class Uo extends Ze{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Io(this);const n=mt(e),r=e[ke]||null;r&&zo(r),this._bootstrapComponents=xn(n.bootstrap),this._r3Injector=Ri(e,t,[{provide:Ze,useValue:this},{provide:eo,useValue:this.componentFactoryResolver}],ge(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=qi.THROW_IF_NOT_FOUND,n=ie.Default){return e===qi||e===Ze||e===Ae?this:this._r3Injector.get(e,t,n)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Ho extends class{}{constructor(e){super(),this.moduleType=e,null!==mt(e)&&function e(t){if(null!==t.\u0275mod.id){const e=t.\u0275mod.id;(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${ge(t)} vs ${ge(t.name)}`)})(e,Bo.get(e),t),Bo.set(e,t)}let n=t.\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach(t=>e(t))}(e)}create(e){return new Uo(this.moduleType,e)}}const Go=class extends S{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let r,i=e=>null,o=()=>null;e&&"object"==typeof e?(r=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(i=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(o=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(r=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(i=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const a=super.subscribe(r,i,o);return e instanceof d&&e.add(a),a}};function Wo(){return this._results[Mi()]()}class $o{constructor(){this.dirty=!0,this._results=[],this.changes=new Go,this.length=0;const e=Mi(),t=$o.prototype;t[e]||(t[e]=Wo)}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e){this._results=function e(t,n){void 0===n&&(n=t);for(let r=0;r<t.length;r++){let i=t[r];Array.isArray(i)?(n===t&&(n=t.slice(0,r)),e(i,n)):n!==t&&n.push(i)}return n}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class Ko{constructor(e){this.queryList=e,this.matches=null}clone(){return new Ko(this.queryList)}setDirty(){this.queryList.setDirty()}}class Qo{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const n=null!==e.contentQueries?e.contentQueries[0]:t.length,r=[];for(let e=0;e<n;e++){const n=t.getByIndex(e);r.push(this.queries[n.indexInDeclarationView].clone())}return new Qo(r)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)null!==oa(e,t).matches&&this.queries[t].setDirty()}}class Xo{constructor(e,t,n,r=null){this.predicate=e,this.descendants=t,this.isStatic=n,this.read=r}}class Zo{constructor(e=[]){this.queries=e}elementStart(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let n=0;n<this.length;n++){const r=null!==t?t.length:0,i=this.getByIndex(n).embeddedTView(e,r);i&&(i.indexInDeclarationView=n,null!==t?t.push(i):t=[i])}return null!==t?new Zo(t):null}template(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class Yo{constructor(e,t=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new Yo(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&!1===this.metadata.descendants){const t=this._declarationNodeIndex;let n=e.parent;for(;null!==n&&4===n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(e,t){const n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){const i=n[r];this.matchTNodeWithReadOption(e,t,Jo(t,i)),this.matchTNodeWithReadOption(e,t,Mn(t,e,i,!1,!1))}else n===wo?0===t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,Mn(t,e,n,!1,!1))}matchTNodeWithReadOption(e,t,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===to||r===Oo||r===wo&&0===t.type)this.addMatch(t.index,-2);else{const n=Mn(t,e,r,!1,!1);null!==n&&this.addMatch(t.index,n)}else this.addMatch(t.index,n)}}addMatch(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}function Jo(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function ea(e,t,n,r){return-1===n?function(e,t){return 3===e.type||4===e.type?vi(to,e,t):0===e.type?bi(wo,to,e,t):null}(t,e):-2===n?function(e,t,n){return n===to?vi(to,t,e):n===wo?bi(wo,to,t,e):n===Oo?Ei(Oo,to,t,e):void 0}(e,t,r):Fn(e,e[1],n,t)}function ta(e,t,n,r){const i=t[19].queries[r];if(null===i.matches){const r=e.data,o=n.matches,a=[];for(let e=0;e<o.length;e+=2){const i=o[e];a.push(i<0?null:ea(t,r[i],o[e+1],n.metadata.read))}i.matches=a}return i.matches}function na(e){const t=Ut(),n=Ht(),r=Yt();Jt(r+1);const i=oa(n,r);if(e.dirty&&At(t)===i.metadata.isStatic){if(null===i.matches)e.reset([]);else{const o=i.crossesNgTemplate?function e(t,n,r,i){const o=t.queries.getByIndex(r),a=o.matches;if(null!==a){const s=ta(t,n,o,r);for(let t=0;t<a.length;t+=2){const r=a[t];if(r>0)i.push(s[t/2]);else{const o=a[t+1],s=n[-r];for(let t=gt;t<s.length;t++){const n=s[t];n[17]===n[3]&&e(n[1],n,o,i)}if(null!==s[9]){const t=s[9];for(let n=0;n<t.length;n++){const r=t[n];e(r[1],r,o,i)}}}}}return i}(n,t,r,[]):ta(n,t,i,r);e.reset(o),e.notifyOnChanges()}return!0}return!1}function ra(e,t,n){!function(e,t,n,r,i,o){e.firstCreatePass&&function(e,t,n){null===e.queries&&(e.queries=new Zo),e.queries.track(new Yo(t,-1))}(e,new Xo(n,r,false,i)),function(e,t){const n=new $o;Or(e,t,n,n.destroy),null===t[19]&&(t[19]=new Qo),t[19].queries.push(new Ko(n))}(e,t)}(Ht(),Ut(),e,t,n)}function ia(){return e=Ut(),t=Yt(),e[19].queries[t].queryList;var e,t}function oa(e,t){return e.queries.getByIndex(t)}const aa=new Pe("Application Initializer");let sa=(()=>{class e{constructor(e){this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const t=this.appInits[n]();Gi(t)&&e.push(t)}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)(We(aa,8))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})();const la=new Pe("AppId"),ua={provide:la,useFactory:function(){return`${ca()}${ca()}${ca()}`},deps:[]};function ca(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const da=new Pe("Platform Initializer"),fa=new Pe("Platform ID"),pa=new Pe("appBootstrapListener");let ha=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})();const ma=new Pe("LocaleId"),ya=new Pe("DefaultCurrencyCode");class ga{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const va=function(e){return new Ho(e)},ba=va,Ea=function(e){return Promise.resolve(va(e))},_a=function(e){const t=va(e),n=xn(mt(e).declarations).reduce((e,t)=>{const n=pt(t);return n&&e.push(new ko(n)),e},[]);return new ga(t,n)},Ca=_a,Sa=function(e){return Promise.resolve(_a(e))};let wa=(()=>{class e{constructor(){this.compileModuleSync=ba,this.compileModuleAsync=Ea,this.compileModuleAndAllComponentsSync=Ca,this.compileModuleAndAllComponentsAsync=Sa}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})();const xa=(()=>Promise.resolve(0))();function Oa(e){"undefined"==typeof Zone?xa.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Ra{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Go(!1),this.onMicrotaskEmpty=new Go(!1),this.onStable=new Go(!1),this.onError=new Go(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const n=this;n._nesting=0,n._outer=n._inner=Zone.current,Zone.wtfZoneSpec&&(n._inner=n._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(n._inner=n._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(n._inner=n._inner.fork(Zone.longStackTraceZoneSpec)),n.shouldCoalesceEventChangeDetection=t,n.lastRequestAnimationFrameId=-1,n.nativeRequestAnimationFrame=function(){let e=Re.requestAnimationFrame,t=Re.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=!!e.shouldCoalesceEventChangeDetection&&e.nativeRequestAnimationFrame&&(()=>{!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Re,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Ta(e),La(e)},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Ta(e))}(e)});e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:t},onInvokeTask:(n,r,i,o,a,s)=>{try{return ka(e),n.invokeTask(i,o,a,s)}finally{t&&"eventTask"===o.type&&t(),Da(e)}},onInvoke:(t,n,r,i,o,a,s)=>{try{return ka(e),t.invoke(r,i,o,a,s)}finally{Da(e)}},onHasTask:(t,n,r,i)=>{t.hasTask(r,i),n===r&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Ta(e),La(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(t,n,r,i)=>(t.handleError(r,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(n)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ra.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Ra.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,r){const i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,e,Ia,Na,Na);try{return i.runTask(o,t,n)}finally{i.cancelTask(o)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}function Na(){}const Ia={};function La(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Ta(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function ka(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Da(e){e._nesting--,La(e)}class qa{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Go,this.onMicrotaskEmpty=new Go,this.onStable=new Go,this.onError=new Go}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,r){return e.apply(t,n)}}let Pa=(()=>{class e{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ra.assertNotInAngularZone(),Oa(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Oa(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==r),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}return e.\u0275fac=function(t){return new(t||e)(We(Ra))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})(),Aa=(()=>{class e{constructor(){this._applications=new Map,ja.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return ja.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})();class Ma{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}let Fa,ja=new Ma;const Va=new Pe("AllowMultipleToken");function za(e,t,n=[]){const r="Platform: "+t,i=new Pe(r);return(t=[])=>{let o=Ba();if(!o||o.injector.get(Va,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{const e=n.concat(t).concat({provide:i,useValue:!0},{provide:_i,useValue:"platform"});!function(e){if(Fa&&!Fa.destroyed&&!Fa.injector.get(Va,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Fa=e.get(Ua);const t=e.get(da,null);t&&t.forEach(e=>e())}(qi.create({providers:e,name:r}))}return function(e){const t=Ba();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(i)}}function Ba(){return Fa&&!Fa.destroyed?Fa:null}let Ua=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e,t){let n;return n="noop"===e?new qa:("zone.js"===e?void 0:e)||new Ra({enableLongStackTrace:Xn(),shouldCoalesceEventChangeDetection:t}),n}(t?t.ngZone:void 0,t&&t.ngZoneEventCoalescing||!1),r=[{provide:Ra,useValue:n}];return n.run(()=>{const t=qi.create({providers:r,parent:this.injector,name:e.moduleType.name}),i=e.create(t),o=i.injector.get($n,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.onDestroy(()=>Wa(this._modules,i)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{o.handleError(e)}})),function(e,t,n){try{const r=n();return Gi(r)?r.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(o,n,()=>{const e=i.injector.get(sa);return e.runInitializers(),e.donePromise.then(()=>(zo(i.injector.get(ma,jo)||jo),this._moduleDoBootstrap(i),i))})})}bootstrapModule(e,t=[]){const n=Ha({},t);return function(e,t,n){const r=new Ho(n);return Promise.resolve(r)}(0,0,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(Ga);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${ge(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)(We(qi))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})();function Ha(e,t){return Array.isArray(t)?t.reduce(Ha,e):Object.assign(Object.assign({},e),t)}let Ga=(()=>{class e{constructor(e,t,n,r,i,o){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Xn(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const a=new v(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),s=new v(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{Ra.assertNotInAngularZone(),Oa(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Ra.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=U(a,s.pipe(e=>{return H()((t=X,function(e){let n;n="function"==typeof t?t:function(){return t};const r=Object.create(e,K);return r.source=e,r.subjectFactory=n,r})(e));var t}))}bootstrap(e,t){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=e instanceof Yi?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(Ze),i=n.create(qi.NULL,[],t||n.selector,r);i.onDestroy(()=>{this._unloadComponent(i)});const o=i.injector.get(Pa,null);return o&&i.injector.get(Aa).registerApplication(i.location.nativeElement,o),this._loadComponent(i),Xn()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),i}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;Wa(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(pa,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),Wa(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e.\u0275fac=function(t){return new(t||e)(We(Ra),We(ha),We(qi),We($n),We(eo),We(sa))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})();function Wa(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const $a=za(null,"core",[{provide:fa,useValue:"unknown"},{provide:Ua,deps:[qi]},{provide:Aa,deps:[]},{provide:ha,deps:[]}]),Ka=[{provide:Ga,useClass:Ga,deps:[Ra,ha,qi,$n,eo,sa]},{provide:To,deps:[Ra],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:sa,useClass:sa,deps:[[new te,aa]]},{provide:wa,useClass:wa,deps:[]},ua,{provide:bo,useFactory:function(){return Co},deps:[]},{provide:Eo,useFactory:function(){return So},deps:[]},{provide:ma,useFactory:function(e){return zo(e=e||"undefined"!=typeof $localize&&$localize.locale||jo),e},deps:[[new ee(ma),new te,new re]]},{provide:ya,useValue:"USD"}];let Qa=(()=>{class e{constructor(e){}}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)(We(Ga))},providers:Ka}),e})();class Xa extends d{constructor(e,t){super()}schedule(e,t=0){return this}}class Za extends Xa{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this}requestAsyncId(e,t,n=0){return setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n=!1,r=void 0;try{this.work(e)}catch(i){n=!0,r=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),r}_unsubscribe(){const e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}let Ya=(()=>{class e{constructor(t,n=e.now){this.SchedulerAction=t,this.now=n}schedule(e,t=0,n){return new this.SchedulerAction(this,e).schedule(n,t)}}return e.now=()=>Date.now(),e})();class Ja extends Ya{constructor(e,t=Ya.now){super(e,()=>Ja.delegate&&Ja.delegate!==this?Ja.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return Ja.delegate&&Ja.delegate!==this?Ja.delegate.schedule(e,t,n):super.schedule(e,t,n)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}function es(e,t){return function(n){return n.lift(new ts(e,t))}}class ts{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new ns(e,this.predicate,this.thisArg))}}class ns extends h{constructor(e,t,n){super(e),this.predicate=t,this.thisArg=n,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}class rs{constructor(e){this.project=e}call(e,t){return t.subscribe(new is(e,this.project))}}class is extends F{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t)}_innerSub(e){const t=this.innerSubscription;t&&t.unsubscribe();const n=new M(this),r=this.destination;r.add(n),this.innerSubscription=j(e,n),this.innerSubscription!==n&&r.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}class os extends Za{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(e,t,n):e.flush(this)}}class as extends Ja{}const ss=new as(os),ls=new v(e=>e.complete());let us=(()=>{class e{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}accept(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}toObservable(){switch(this.kind){case"N":return function(...e){let t=e[e.length-1];return x(t)?(e.pop(),P(e,t)):B(e)}(this.value);case"E":return e=this.error,new v(t=>t.error(e));case"C":return ls}var e;throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}static createError(t){return new e("E",void 0,t)}static createComplete(){return e.completeNotification}}return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e})();class cs extends h{constructor(e,t,n=0){super(e),this.scheduler=t,this.delay=n}static dispatch(e){const{notification:t,destination:n}=e;t.observe(n),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(cs.dispatch,this.delay,new ds(e,this.destination)))}_next(e){this.scheduleMessage(us.createNext(e))}_error(e){this.scheduleMessage(us.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(us.createComplete()),this.unsubscribe()}}class ds{constructor(e,t){this.notification=e,this.destination=t}}class fs extends S{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift(),super.next(e)}nextTimeWindow(e){this._events.push(new ps(this._getNow(),e)),this._trimBufferThenGetEvents(),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,n=t?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,i=n.length;let o;if(this.closed)throw new E;if(this.isStopped||this.hasError?o=d.EMPTY:(this.observers.push(e),o=new _(this,e)),r&&e.add(e=new cs(e,r)),t)for(let a=0;a<i&&!e.closed;a++)e.next(n[a]);else for(let a=0;a<i&&!e.closed;a++)e.next(n[a].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),o}_getNow(){return(this.scheduler||ss).now()}_trimBufferThenGetEvents(){const e=this._getNow(),t=this._bufferSize,n=this._windowTime,r=this._events,i=r.length;let o=0;for(;o<i&&!(e-r[o].time<n);)o++;return i>t&&(o=Math.max(o,i-t)),o>0&&r.splice(0,o),r}}class ps{constructor(e,t){this.time=e,this.value=t}}let hs=null;function ms(){return hs}const ys=new Pe("DocumentToken");var gs=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({});class vs{}let bs,Es=(()=>{class e extends vs{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(function(e){return function(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Mo(t);if(n)return n;const r=t.split("-")[0];if(n=Mo(r),n)return n;if("en"===r)return Po;throw new Error(`Missing locale data for the locale "${e}".`)}(e)[Fo.PluralCase]}(t||this.locale)(e)){case gs.Zero:return"zero";case gs.One:return"one";case gs.Two:return"two";case gs.Few:return"few";case gs.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)(We(ma))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})(),_s=(()=>{class e{}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)},providers:[{provide:vs,useClass:Es}]}),e})();function Cs(e){return"browser"===e}function Ss(e){return"server"===e}try{bs="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(Ef){bs=!1}let ws=(()=>{class e{constructor(e){this._platformId=e,this.isBrowser=this._platformId?Cs(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!bs)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return e.\u0275fac=function(t){return new(t||e)(We(fa))},e.\u0275prov=se({factory:function(){return new e(We(fa))},token:e,providedIn:"root"}),e})(),xs=(()=>{class e{}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)}}),e})();const Os=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let Rs=(()=>{class e{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){const e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e=this._platform?this._platform.isBrowser:"undefined"!=typeof window,t="cdk-overlay-container";if(e||Os){const e=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let t=0;t<e.length;t++)e[t].parentNode.removeChild(e[t])}const n=this._document.createElement("div");n.classList.add(t),Os?n.setAttribute("platform","test"):e||n.setAttribute("platform","server"),this._document.body.appendChild(n),this._containerElement=n}}return e.\u0275fac=function(t){return new(t||e)(We(ys),We(ws))},e.\u0275prov=se({factory:function(){return new e(We(ys),We(ws))},token:e,providedIn:"root"}),e})();const Ns=(()=>{const e=Element.prototype;return e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector})(),Is={schedule(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)},scheduleBeforeRender(e){if("undefined"==typeof window)return Is.schedule(e,0);if(void 0===window.requestAnimationFrame)return Is.schedule(e,16);const t=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(t)}};function Ls(e,t,n){let r=n;return function(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((t,n)=>!("*"===t||!function(e,t){return Ns.call(e,t)}(e,t)||(r=n,0))),r}class Ts{constructor(e,t){this.componentFactory=t.get(eo).resolveComponentFactory(e)}create(e){return new ks(this.componentFactory,e)}}class ks{constructor(e,t){this.componentFactory=e,this.injector=t,this.eventEmitters=new fs(1),this.events=this.eventEmitters.pipe(function e(t,n){return"function"==typeof n?r=>r.pipe(e((e,r)=>A(t(e,r)).pipe(O((t,i)=>n(e,t,r,i))))):e=>e.lift(new rs(t))}(e=>U(...e))),this.componentRef=null,this.inputChanges=null,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set,this.ngZone=this.injector.get(Ra),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{null!==this.componentRef&&null===this.scheduledDestroyFn&&(this.scheduledDestroyFn=Is.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null)},10))})}getInputValue(e){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,t){this.runInZone(()=>{var n,r;null!==this.componentRef?((n=t)!==(r=this.getInputValue(e))&&(n==n||r==r)||void 0===t&&this.unchangedInputs.has(e))&&(this.recordInputChange(e,t),this.componentRef.instance[e]=t,this.scheduleDetectChanges()):this.initialInputValues.set(e,t)})}initializeComponent(e){const t=qi.create({providers:[],parent:this.injector}),n=function(e,t){const n=e.childNodes,r=t.map(()=>[]);let i=-1;t.some((e,t)=>"*"===e&&(i=t,!0));for(let o=0,a=n.length;o<a;++o){const e=n[o],a=Ls(e,t,i);-1!==a&&r[a].push(e)}return r}(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,n,e),this.implementsOnChanges="function"==typeof this.componentRef.instance.ngOnChanges,this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(Ga).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:e})=>{this.implementsOnChanges&&this.unchangedInputs.add(e),this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e))}),this.initialInputValues.clear()}initializeOutputs(e){const t=this.componentFactory.outputs.map(({propName:t,templateName:n})=>e.instance[t].pipe(O(e=>({name:n,value:e}))));this.eventEmitters.next(t)}callNgOnChanges(e){if(!this.implementsOnChanges||null===this.inputChanges)return;const t=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(t)}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Is.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(e,t){if(null!==this.componentRef&&!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const n=this.inputChanges[e];if(n)return void(n.currentValue=t);const r=this.unchangedInputs.has(e);this.unchangedInputs.delete(e);const i=r?void 0:this.getInputValue(e);this.inputChanges[e]=new St(i,t,r)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}}class Ds extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function qs(e,t){e.forEach(({propName:e})=>{Object.defineProperty(t,e,{get(){return this.ngElementStrategy.getInputValue(e)},set(t){this.ngElementStrategy.setInputValue(e,t)},configurable:!0,enumerable:!0})})}class Ps extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var e;e=new Ps,hs||(hs=e)}getProperty(e,t){return e[t]}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}getValue(e){return e.value}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=Ms||(Ms=document.querySelector("base"),Ms)?Ms.getAttribute("href"):null;return null==t?null:(n=t,As||(As=document.createElement("a")),As.setAttribute("href",n),"/"===As.pathname.charAt(0)?As.pathname:"/"+As.pathname);var n}resetBaseElement(){Ms=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return function(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[r,i]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(r.trim()===t)return decodeURIComponent(i)}return null}(document.cookie,e)}}let As,Ms=null;const Fs=new Pe("TRANSITION_ID"),js=[{provide:aa,useFactory:function(e,t,n){return()=>{n.get(sa).donePromise.then(()=>{const n=ms();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[Fs,ys,qi],multi:!0}];class Vs{static init(){!function(e){ja=e}(new Vs)}addToWindow(e){Re.getAngularTestability=(t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},Re.getAllAngularTestabilities=()=>e.getAllTestabilities(),Re.getAllAngularRootElements=()=>e.getAllRootElements(),Re.frameworkStabilizers||(Re.frameworkStabilizers=[]),Re.frameworkStabilizers.push(e=>{const t=Re.getAllAngularTestabilities();let n=t.length,r=!1;const i=function(t){r=r||t,n--,0==n&&e(r)};t.forEach((function(e){e.whenStable(i)}))})}findTestabilityInTree(e,t,n){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:n?ms().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}const zs=new Pe("EventManagerPlugins");let Bs=(()=>{class e{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let r=0;r<n.length;r++){const t=n[r];if(t.supports(e))return this._eventNameToPlugin.set(e,t),t}throw new Error("No event manager plugin found for event "+e)}}return e.\u0275fac=function(t){return new(t||e)(We(zs),We(Ra))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})();class Us{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const r=ms().getGlobalEventTarget(this._doc,e);if(!r)throw new Error(`Unsupported event target ${r} for event ${t}`);return this.addEventListener(r,t,n)}}let Hs=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})(),Gs=(()=>{class e extends Hs{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const n=this._doc.createElement("style");n.textContent=e,this._styleNodes.add(t.appendChild(n))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>ms().remove(e))}}return e.\u0275fac=function(t){return new(t||e)(We(ys))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})();const Ws={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},$s=/%COMP%/g;function Ks(e,t,n){for(let r=0;r<t.length;r++){let i=t[r];Array.isArray(i)?Ks(e,i,n):(i=i.replace($s,e),n.push(i))}return n}function Qs(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Xs=(()=>{class e{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Zs(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case nt.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new Ys(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case nt.Native:case nt.ShadowDom:return new Js(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=Ks(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)(We(Bs),We(Gs),We(la))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})();class Zs{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(Ws[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+":"+t;const i=Ws[r];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=Ws[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&io.DashCase?e.style.setProperty(t,n,r&io.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&io.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Qs(n)):this.eventManager.addEventListener(e,t,Qs(n))}}class Ys extends Zs{constructor(e,t,n,r){super(e),this.component=n;const i=Ks(r+"-"+n.id,n.styles,[]);t.addStyles(i),this.contentAttr="_ngcontent-%COMP%".replace($s,r+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace($s,r+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class Js extends Zs{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===nt.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const i=Ks(r.id,r.styles,[]);for(let o=0;o<i.length;o++){const e=document.createElement("style");e.textContent=i[o],this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let el=(()=>{class e extends Us{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}}return e.\u0275fac=function(t){return new(t||e)(We(ys))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})();const tl=["alt","control","meta","shift"],nl={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},rl={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},il={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let ol=(()=>{class e extends Us{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,r){const i=e.parseEventName(n),o=e.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ms().onAndCancel(t,i.domEventName,o))}static parseEventName(t){const n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const i=e._normalizeKey(n.pop());let o="";if(tl.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),o+=e+".")}),o+=i,0!=n.length||0===i.length)return null;const a={};return a.domEventName=r,a.fullKey=o,a}static getEventFullKey(e){let t="",n=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&rl.hasOwnProperty(t)&&(t=rl[t]))}return nl[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),tl.forEach(r=>{r!=n&&(0,il[r])(e)&&(t+=r+".")}),t+=n,t}static eventCallback(t,n,r){return i=>{e.getEventFullKey(i)===t&&r.runGuarded(()=>n(i))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e.\u0275fac=function(t){return new(t||e)(We(ys))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})();const al=za($a,"browser",[{provide:fa,useValue:"browser"},{provide:da,useValue:function(){Ps.makeCurrent(),Vs.init()},multi:!0},{provide:ys,useFactory:function(){return function(e){It=e}(document),document},deps:[]}]),sl=[[],{provide:_i,useValue:"root"},{provide:$n,useFactory:function(){return new $n},deps:[]},{provide:zs,useClass:el,multi:!0,deps:[ys,Ra,fa]},{provide:zs,useClass:ol,multi:!0,deps:[ys]},[],{provide:Xs,useClass:Xs,deps:[Bs,Gs,la]},{provide:ro,useExisting:Xs},{provide:Hs,useExisting:Gs},{provide:Gs,useClass:Gs,deps:[ys]},{provide:Pa,useClass:Pa,deps:[Ra]},{provide:Bs,useClass:Bs,deps:[zs,Ra]},[]];let ll=(()=>{class e{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:e,providers:[{provide:la,useValue:t.appId},{provide:Fs,useExisting:la},js]}}}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)(We(e,12))},providers:sl,imports:[_s,Qa]}),e})();"undefined"!=typeof window&&window;class ul{}const cl="*";function dl(e,t=null){return{type:2,steps:e,options:t}}function fl(e){return{type:6,styles:e,offset:null}}function pl(e){Promise.resolve(null).then(e)}class hl{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){pl(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){}setPosition(e){}getPosition(){return 0}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class ml{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,n=0,r=0;const i=this.players.length;0==i?pl(()=>this._onFinish()):this.players.forEach(e=>{e.onDone(()=>{++t==i&&this._onFinish()}),e.onDestroy(()=>{++n==i&&this._onDestroy()}),e.onStart(()=>{++r==i&&this._onStart()})}),this.totalTime=this.players.reduce((e,t)=>Math.max(e,t.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(e=>{const n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}getPosition(){let e=0;return this.players.forEach(t=>{const n=t.getPosition();e=Math.min(n,e)}),e}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}function yl(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function gl(e){switch(e.length){case 0:return new hl;case 1:return e[0];default:return new ml(e)}}function vl(e,t,n,r,i={},o={}){const a=[],s=[];let l=-1,u=null;if(r.forEach(e=>{const n=e.offset,r=n==l,c=r&&u||{};Object.keys(e).forEach(n=>{let r=n,s=e[n];if("offset"!==n)switch(r=t.normalizePropertyName(r,a),s){case"!":s=i[n];break;case cl:s=o[n];break;default:s=t.normalizeStyleValue(n,r,s,a)}c[r]=s}),r||s.push(c),u=c,l=n}),a.length){const e="\n - ";throw new Error(`Unable to animate due to the following errors:${e}${a.join(e)}`)}return s}function bl(e,t,n,r){switch(t){case"start":e.onStart(()=>r(n&&El(n,"start",e)));break;case"done":e.onDone(()=>r(n&&El(n,"done",e)));break;case"destroy":e.onDestroy(()=>r(n&&El(n,"destroy",e)))}}function El(e,t,n){const r=n.totalTime,i=_l(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==r?e.totalTime:r,!!n.disabled),o=e._data;return null!=o&&(i._data=o),i}function _l(e,t,n,r,i="",o=0,a){return{element:e,triggerName:t,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!a}}function Cl(e,t,n){let r;return e instanceof Map?(r=e.get(t),r||e.set(t,r=n)):(r=e[t],r||(r=e[t]=n)),r}function Sl(e){const t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}let wl=(e,t)=>!1,xl=(e,t)=>!1,Ol=(e,t,n)=>[];const Rl=yl();(Rl||"undefined"!=typeof Element)&&(wl=(e,t)=>e.contains(t),xl=(()=>{if(Rl||Element.prototype.matches)return(e,t)=>e.matches(t);{const e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?(e,n)=>t.apply(e,[n]):xl}})(),Ol=(e,t,n)=>{let r=[];if(n)r.push(...e.querySelectorAll(t));else{const n=e.querySelector(t);n&&r.push(n)}return r});let Nl=null,Il=!1;function Ll(e){Nl||(Nl=("undefined"!=typeof document?document.body:null)||{},Il=!!Nl.style&&"WebkitAppearance"in Nl.style);let t=!0;return Nl.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(t=e in Nl.style,!t&&Il)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in Nl.style),t}const Tl=xl,kl=wl,Dl=Ol;function ql(e){const t={};return Object.keys(e).forEach(n=>{const r=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[r]=e[n]}),t}let Pl=(()=>{class e{validateStyleProperty(e){return Ll(e)}matchesElement(e,t){return Tl(e,t)}containsElement(e,t){return kl(e,t)}query(e,t,n){return Dl(e,t,n)}computeStyle(e,t,n){return n||""}animate(e,t,n,r,i,o=[],a){return new hl(n,r)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})(),Al=(()=>{class e{}return e.NOOP=new Pl,e})();const Ml="ng-enter",Fl="ng-leave",jl="ng-trigger",Vl=".ng-trigger",zl="ng-animating",Bl=".ng-animating";function Ul(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Hl(parseFloat(t[1]),t[2])}function Hl(e,t){switch(t){case"s":return 1e3*e;default:return e}}function Gl(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){let r,i=0,o="";if("string"==typeof e){const n=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return t.push(`The provided timing value "${e}" is invalid.`),{duration:0,delay:0,easing:""};r=Hl(parseFloat(n[1]),n[2]);const a=n[3];null!=a&&(i=Hl(parseFloat(a),n[4]));const s=n[5];s&&(o=s)}else r=e;if(!n){let n=!1,o=t.length;r<0&&(t.push("Duration values below 0 are not allowed for this animation step."),n=!0),i<0&&(t.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&t.splice(o,0,`The provided timing value "${e}" is invalid.`)}return{duration:r,delay:i,easing:o}}(e,t,n)}function Wl(e,t={}){return Object.keys(e).forEach(n=>{t[n]=e[n]}),t}function $l(e,t,n={}){if(t)for(let r in e)n[r]=e[r];else Wl(e,n);return n}function Kl(e,t,n){return n?t+":"+n+";":""}function Ql(e){let t="";for(let n=0;n<e.style.length;n++){const r=e.style.item(n);t+=Kl(0,r,e.style.getPropertyValue(r))}for(const n in e.style)e.style.hasOwnProperty(n)&&!n.startsWith("_")&&(t+=Kl(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[n]));e.setAttribute("style",t)}function Xl(e,t,n){e.style&&(Object.keys(t).forEach(r=>{const i=iu(r);n&&!n.hasOwnProperty(r)&&(n[r]=e.style[i]),e.style[i]=t[r]}),yl()&&Ql(e))}function Zl(e,t){e.style&&(Object.keys(t).forEach(t=>{const n=iu(t);e.style[n]=""}),yl()&&Ql(e))}function Yl(e){return Array.isArray(e)?1==e.length?e[0]:dl(e):e}const Jl=new RegExp("{{\\s*(.+?)\\s*}}","g");function eu(e){let t=[];if("string"==typeof e){let n;for(;n=Jl.exec(e);)t.push(n[1]);Jl.lastIndex=0}return t}function tu(e,t,n){const r=e.toString(),i=r.replace(Jl,(e,r)=>{let i=t[r];return t.hasOwnProperty(r)||(n.push("Please provide a value for the animation param "+r),i=""),i.toString()});return i==r?e:i}function nu(e){const t=[];let n=e.next();for(;!n.done;)t.push(n.value),n=e.next();return t}const ru=/-+([a-z0-9])/g;function iu(e){return e.replace(ru,(...e)=>e[1].toUpperCase())}function ou(e,t){return 0===e||0===t}function au(e,t,n){const r=Object.keys(n);if(r.length&&t.length){let o=t[0],a=[];if(r.forEach(e=>{o.hasOwnProperty(e)||a.push(e),o[e]=n[e]}),a.length)for(var i=1;i<t.length;i++){let n=t[i];a.forEach((function(t){n[t]=lu(e,t)}))}}return t}function su(e,t,n){switch(t.type){case 7:return e.visitTrigger(t,n);case 0:return e.visitState(t,n);case 1:return e.visitTransition(t,n);case 2:return e.visitSequence(t,n);case 3:return e.visitGroup(t,n);case 4:return e.visitAnimate(t,n);case 5:return e.visitKeyframes(t,n);case 6:return e.visitStyle(t,n);case 8:return e.visitReference(t,n);case 9:return e.visitAnimateChild(t,n);case 10:return e.visitAnimateRef(t,n);case 11:return e.visitQuery(t,n);case 12:return e.visitStagger(t,n);default:throw new Error("Unable to resolve animation metadata node #"+t.type)}}function lu(e,t){return window.getComputedStyle(e)[t]}const uu="*";function cu(e,t){const n=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(e=>function(e,t,n){if(":"==e[0]){const r=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t)<parseFloat(e);default:return t.push(`The transition alias value "${e}" is not supported`),"* => *"}}(e,n);if("function"==typeof r)return void t.push(r);e=r}const r=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(`The provided transition expression "${e}" is not supported`),t;const i=r[1],o=r[2],a=r[3];t.push(pu(i,a)),"<"!=o[0]||i==uu&&a==uu||t.push(pu(a,i))}(e,n,t)):n.push(e),n}const du=new Set(["true","1"]),fu=new Set(["false","0"]);function pu(e,t){const n=du.has(e)||fu.has(e),r=du.has(t)||fu.has(t);return(i,o)=>{let a=e==uu||e==i,s=t==uu||t==o;return!a&&n&&"boolean"==typeof i&&(a=i?du.has(e):fu.has(e)),!s&&r&&"boolean"==typeof o&&(s=o?du.has(t):fu.has(t)),a&&s}}const hu=new RegExp("s*:selfs*,?","g");function mu(e,t,n){return new yu(e).build(t,n)}class yu{constructor(e){this._driver=e}build(e,t){const n=new gu(t);return this._resetContextStyleTimingState(n),su(this,Yl(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,r=t.depCount=0;const i=[],o=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(e=>{if(this._resetContextStyleTimingState(t),0==e.type){const n=e,r=n.name;r.toString().split(/\s*,\s*/).forEach(e=>{n.name=e,i.push(this.visitState(n,t))}),n.name=r}else if(1==e.type){const i=this.visitTransition(e,t);n+=i.queryCount,r+=i.depCount,o.push(i)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:i,transitions:o,queryCount:n,depCount:r,options:null}}visitState(e,t){const n=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){const i=new Set,o=r||{};if(n.styles.forEach(e=>{if(vu(e)){const t=e;Object.keys(t).forEach(e=>{eu(t[e]).forEach(e=>{o.hasOwnProperty(e)||i.add(e)})})}}),i.size){const n=nu(i.values());t.errors.push(`state("${e.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:e.name,style:n,options:r?{params:r}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const n=su(this,Yl(e.animation),t);return{type:1,matchers:cu(e.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:bu(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(e=>su(this,e,t)),options:bu(e.options)}}visitGroup(e,t){const n=t.currentTime;let r=0;const i=e.steps.map(e=>{t.currentTime=n;const i=su(this,e,t);return r=Math.max(r,t.currentTime),i});return t.currentTime=r,{type:3,steps:i,options:bu(e.options)}}visitAnimate(e,t){const n=function(e,t){let n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return Eu(Gl(e,t).duration,0,"");const r=e;if(r.split(/\s+/).some(e=>"{"==e.charAt(0)&&"{"==e.charAt(1))){const e=Eu(0,0,"");return e.dynamic=!0,e.strValue=r,e}return n=n||Gl(r,t),Eu(n.duration,n.delay,n.easing)}(e.timings,t.errors);let r;t.currentAnimateTimings=n;let i=e.styles?e.styles:fl({});if(5==i.type)r=this.visitKeyframes(i,t);else{let i=e.styles,o=!1;if(!i){o=!0;const e={};n.easing&&(e.easing=n.easing),i=fl(e)}t.currentTime+=n.duration+n.delay;const a=this.visitStyle(i,t);a.isEmptyStep=o,r=a}return t.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(e,t){const n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){const n=[];Array.isArray(e.styles)?e.styles.forEach(e=>{"string"==typeof e?e==cl?n.push(e):t.errors.push(`The provided style string value ${e} is not allowed.`):n.push(e)}):n.push(e.styles);let r=!1,i=null;return n.forEach(e=>{if(vu(e)){const t=e,n=t.easing;if(n&&(i=n,delete t.easing),!r)for(let e in t)if(t[e].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:i,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){const n=t.currentAnimateTimings;let r=t.currentTime,i=t.currentTime;n&&i>0&&(i-=n.duration+n.delay),e.styles.forEach(e=>{"string"!=typeof e&&Object.keys(e).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void t.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const o=t.collectedStyles[t.currentQuerySelector],a=o[n];let s=!0;a&&(i!=r&&i>=a.startTime&&r<=a.endTime&&(t.errors.push(`The CSS property "${n}" that exists between the times of "${a.startTime}ms" and "${a.endTime}ms" is also being animated in a parallel animation between the times of "${i}ms" and "${r}ms"`),s=!1),i=a.startTime),s&&(o[n]={startTime:i,endTime:r}),t.options&&function(e,t,n){const r=t.params||{},i=eu(e);i.length&&i.forEach(e=>{r.hasOwnProperty(e)||n.push(`Unable to resolve the local animation param ${e} in the given list of values`)})}(e[n],t.options,t.errors)})})}visitKeyframes(e,t){const n={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),n;let r=0;const i=[];let o=!1,a=!1,s=0;const l=e.steps.map(e=>{const n=this._makeStyleAst(e,t);let l=null!=n.offset?n.offset:function(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach(e=>{if(vu(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}});else if(vu(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}return t}(n.styles),u=0;return null!=l&&(r++,u=n.offset=l),a=a||u<0||u>1,o=o||u<s,s=u,i.push(u),n});a&&t.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),o&&t.errors.push("Please ensure that all keyframe offsets are in order");const u=e.steps.length;let c=0;r>0&&r<u?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==r&&(c=1/(u-1));const d=u-1,f=t.currentTime,p=t.currentAnimateTimings,h=p.duration;return l.forEach((e,r)=>{const o=c>0?r==d?1:c*r:i[r],a=o*h;t.currentTime=f+p.delay+a,p.duration=a,this._validateStyleAst(e,t),e.offset=o,n.styles.push(e)}),n}visitReference(e,t){return{type:8,animation:su(this,Yl(e.animation),t),options:bu(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:bu(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:bu(e.options)}}visitQuery(e,t){const n=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;const[i,o]=function(e){const t=!!e.split(/\s*,\s*/).find(e=>":self"==e);return t&&(e=e.replace(hu,"")),[e=e.replace(/@\*/g,Vl).replace(/@\w+/g,e=>".ng-trigger-"+e.substr(1)).replace(/:animating/g,Bl),t]}(e.selector);t.currentQuerySelector=n.length?n+" "+i:i,Cl(t.collectedStyles,t.currentQuerySelector,{});const a=su(this,Yl(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:i,limit:r.limit||0,optional:!!r.optional,includeSelf:o,animation:a,originalSelector:e.selector,options:bu(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");const n="full"===e.timings?{duration:0,delay:0,easing:"full"}:Gl(e.timings,t.errors,!0);return{type:12,animation:su(this,Yl(e.animation),t),timings:n,options:null}}}class gu{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function vu(e){return!Array.isArray(e)&&"object"==typeof e}function bu(e){var t;return e?(e=Wl(e)).params&&(e.params=(t=e.params)?Wl(t):null):e={},e}function Eu(e,t,n){return{duration:e,delay:t,easing:n}}function _u(e,t,n,r,i,o,a=null,s=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:a,subTimeline:s}}class Cu{constructor(){this._map=new Map}consume(e){let t=this._map.get(e);return t?this._map.delete(e):t=[],t}append(e,t){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const Su=new RegExp(":enter","g"),wu=new RegExp(":leave","g");function xu(e,t,n,r,i,o={},a={},s,l,u=[]){return(new Ou).buildKeyframes(e,t,n,r,i,o,a,s,l,u)}class Ou{buildKeyframes(e,t,n,r,i,o,a,s,l,u=[]){l=l||new Cu;const c=new Nu(e,t,l,r,i,u,[]);c.options=s,c.currentTimeline.setStyles([o],null,c.errors,s),su(this,n,c);const d=c.timelines.filter(e=>e.containsAnimation());if(d.length&&Object.keys(a).length){const e=d[d.length-1];e.allowOnlyTimelineStyles()||e.setStyles([a],null,c.errors,s)}return d.length?d.map(e=>e.buildKeyframes()):[_u(t,[],[],[],0,0,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const n=t.subInstructions.consume(t.element);if(n){const r=t.createSubContext(e.options),i=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}visitAnimateRef(e,t){const n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}_visitSubInstructions(e,t,n){let r=t.currentTimeline.currentTime;const i=null!=n.duration?Ul(n.duration):null,o=null!=n.delay?Ul(n.delay):null;return 0!==i&&e.forEach(e=>{const n=t.appendInstructionToTimeline(e,i,o);r=Math.max(r,n.duration+n.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),su(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const n=t.subContextCount;let r=t;const i=e.options;if(i&&(i.params||i.delay)&&(r=t.createSubContext(i),r.transformIntoNewTimeline(),null!=i.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Ru);const e=Ul(i.delay);r.delayNextStep(e)}e.steps.length&&(e.steps.forEach(e=>su(this,e,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const n=[];let r=t.currentTimeline.currentTime;const i=e.options&&e.options.delay?Ul(e.options.delay):0;e.steps.forEach(o=>{const a=t.createSubContext(e.options);i&&a.delayNextStep(i),su(this,o,a),r=Math.max(r,a.currentTimeline.currentTime),n.push(a.currentTimeline)}),n.forEach(e=>t.currentTimeline.mergeTimelineCollectedStyles(e)),t.transformIntoNewTimeline(r),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const n=e.strValue;return Gl(t.params?tu(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());const i=e.style;5==i.type?this.visitKeyframes(i,t):(t.incrementTime(n.duration),this.visitStyle(i,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();const i=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(i):n.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const n=t.currentAnimateTimings,r=t.currentTimeline.duration,i=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach(e=>{o.forwardTime((e.offset||0)*i),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(r+i),t.previousNode=e}visitQuery(e,t){const n=t.currentTimeline.currentTime,r=e.options||{},i=r.delay?Ul(r.delay):0;i&&(6===t.previousNode.type||0==n&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Ru);let o=n;const a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=a.length;let s=null;a.forEach((n,r)=>{t.currentQueryIndex=r;const a=t.createSubContext(e.options,n);i&&a.delayNextStep(i),n===t.element&&(s=a.currentTimeline),su(this,e.animation,a),a.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,a.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),s&&(t.currentTimeline.mergeTimelineCollectedStyles(s),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const n=t.parentContext,r=t.currentTimeline,i=e.timings,o=Math.abs(i.duration),a=o*(t.currentQueryTotal-1);let s=o*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}const l=t.currentTimeline;s&&l.delayNextStep(s);const u=l.currentTime;su(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)}}const Ru={};class Nu{constructor(e,t,n,r,i,o,a,s){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ru,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=s||new Iu(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const n=e;let r=this.options;null!=n.duration&&(r.duration=Ul(n.duration)),null!=n.delay&&(r.delay=Ul(n.delay));const i=n.params;if(i){let e=r.params;e||(e=this.options.params={}),Object.keys(i).forEach(n=>{t&&e.hasOwnProperty(n)||(e[n]=tu(i[n],e,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const n=e.params={};Object.keys(t).forEach(e=>{n[e]=t[e]})}}return e}createSubContext(e=null,t,n){const r=t||this.element,i=new Nu(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(e),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(e){return this.previousNode=Ru,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,n){const r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},i=new Lu(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(i),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,n,r,i,o){let a=[];if(r&&a.push(this.element),e.length>0){e=(e=e.replace(Su,"."+this._enterClassName)).replace(wu,"."+this._leaveClassName);let t=this._driver.query(this.element,e,1!=n);0!==n&&(t=n<0?t.slice(t.length+n,t.length):t.slice(0,n)),a.push(...t)}return i||0!=a.length||o.push(`\`query("${t}")\` returned zero elements. (Use \`query("${t}", { optional: true })\` if you wish to allow this.)`),a}}class Iu{constructor(e,t,n,r){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new Iu(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||cl,this._currentKeyframe[e]=cl}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,n,r){t&&(this._previousKeyframe.easing=t);const i=r&&r.params||{},o=function(e,t){const n={};let r;return e.forEach(e=>{"*"===e?(r=r||Object.keys(t),r.forEach(e=>{n[e]=cl})):$l(e,!1,n)}),n}(e,this._globalTimelineStyles);Object.keys(o).forEach(e=>{const t=tu(o[e],i,n);this._pendingStyles[e]=t,this._localTimelineStyles.hasOwnProperty(e)||(this._backFill[e]=this._globalTimelineStyles.hasOwnProperty(e)?this._globalTimelineStyles[e]:cl),this._updateStyle(e,t)})}applyStylesToKeyframe(){const e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach(t=>{this._currentKeyframe[t]=e[t]}),Object.keys(this._localTimelineStyles).forEach(e=>{this._currentKeyframe.hasOwnProperty(e)||(this._currentKeyframe[e]=this._localTimelineStyles[e])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(e=>{const t=this._localTimelineStyles[e];this._pendingStyles[e]=t,this._updateStyle(e,t)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach(t=>{const n=this._styleSummary[t],r=e._styleSummary[t];(!n||r.time>n.time)&&this._updateStyle(t,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((i,o)=>{const a=$l(i,!0);Object.keys(a).forEach(n=>{const r=a[n];"!"==r?e.add(n):r==cl&&t.add(n)}),n||(a.offset=o/this.duration),r.push(a)});const i=e.size?nu(e.values()):[],o=t.size?nu(t.values()):[];if(n){const e=r[0],t=Wl(e);e.offset=0,t.offset=1,r=[e,t]}return _u(this.element,r,i,o,this.duration,this.startTime,this.easing,!1)}}class Lu extends Iu{constructor(e,t,n,r,i,o,a=!1){super(e,t,o.delay),this.element=t,this.keyframes=n,this.preStyleProps=r,this.postStyleProps=i,this._stretchStartingKeyframe=a,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){const i=[],o=n+t,a=t/o,s=$l(e[0],!1);s.offset=0,i.push(s);const l=$l(e[0],!1);l.offset=Tu(a),i.push(l);const u=e.length-1;for(let r=1;r<=u;r++){let a=$l(e[r],!1);a.offset=Tu((t+a.offset*n)/o),i.push(a)}n=o,t=0,r="",e=i}return _u(this.element,e,this.preStyleProps,this.postStyleProps,n,t,r,!0)}}function Tu(e,t=3){const n=Math.pow(10,t-1);return Math.round(e*n)/n}class ku{}class Du extends ku{normalizePropertyName(e,t){return iu(e)}normalizeStyleValue(e,t,n,r){let i="";const o=n.toString().trim();if(qu[t]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{const t=n.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&r.push(`Please provide a CSS unit value for ${e}:${n}`)}return o+i}}const qu=(()=>function(e){const t={};return e.forEach(e=>t[e]=!0),t}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function Pu(e,t,n,r,i,o,a,s,l,u,c,d,f){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:a,timelines:s,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:d,errors:f}}const Au={};class Mu{constructor(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,r){return function(e,t,n,r,i){return e.some(e=>e(t,n,r,i))}(this.ast.matchers,e,t,n,r)}buildStyles(e,t,n){const r=this._stateStyles["*"],i=this._stateStyles[e],o=r?r.buildStyles(t,n):{};return i?i.buildStyles(t,n):o}build(e,t,n,r,i,o,a,s,l,u){const c=[],d=this.ast.options&&this.ast.options.params||Au,f=this.buildStyles(n,a&&a.params||Au,c),p=s&&s.params||Au,h=this.buildStyles(r,p,c),m=new Set,y=new Map,g=new Map,v="void"===r,b={params:Object.assign(Object.assign({},d),p)},E=u?[]:xu(e,t,this.ast.animation,i,o,f,h,b,l,c);let _=0;if(E.forEach(e=>{_=Math.max(e.duration+e.delay,_)}),c.length)return Pu(t,this._triggerName,n,r,v,f,h,[],[],y,g,_,c);E.forEach(e=>{const n=e.element,r=Cl(y,n,{});e.preStyleProps.forEach(e=>r[e]=!0);const i=Cl(g,n,{});e.postStyleProps.forEach(e=>i[e]=!0),n!==t&&m.add(n)});const C=nu(m.values());return Pu(t,this._triggerName,n,r,v,f,h,E,C,y,g,_)}}class Fu{constructor(e,t){this.styles=e,this.defaultParams=t}buildStyles(e,t){const n={},r=Wl(this.defaultParams);return Object.keys(e).forEach(t=>{const n=e[t];null!=n&&(r[t]=n)}),this.styles.styles.forEach(e=>{if("string"!=typeof e){const i=e;Object.keys(i).forEach(e=>{let o=i[e];o.length>1&&(o=tu(o,r,t)),n[e]=o})}}),n}}class ju{constructor(e,t){this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(e=>{this.states[e.name]=new Fu(e.style,e.options&&e.options.params||{})}),Vu(this.states,"true","1"),Vu(this.states,"false","0"),t.transitions.forEach(t=>{this.transitionFactories.push(new Mu(e,t,this.states))}),this.fallbackTransition=new Mu(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[(e,t)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,r){return this.transitionFactories.find(i=>i.match(e,t,n,r))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}function Vu(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}const zu=new Cu;class Bu{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(e,t){const n=[],r=mu(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[e]=r}_buildPlayer(e,t,n){const r=e.element,i=vl(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(r,i,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){const r=[],i=this._animations[e];let o;const a=new Map;if(i?(o=xu(this._driver,t,i,Ml,Fl,{},{},n,zu,r),o.forEach(e=>{const t=Cl(a,e.element,{});e.postStyleProps.forEach(e=>t[e]=null)})):(r.push("The requested animation doesn't exist or has already been destroyed"),o=[]),r.length)throw new Error("Unable to create the animation due to the following errors: "+r.join("\n"));a.forEach((e,t)=>{Object.keys(e).forEach(n=>{e[n]=this._driver.computeStyle(t,n,cl)})});const s=gl(o.map(e=>{const t=a.get(e.element);return this._buildPlayer(e,{},t)}));return this._playersById[e]=s,s.onDestroy(()=>this.destroy(e)),this.players.push(s),s}destroy(e){const t=this._getPlayer(e);t.destroy(),delete this._playersById[e];const n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(e){const t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by "+e);return t}listen(e,t,n,r){const i=_l(t,"","","");return bl(this._getPlayer(e),n,i,r),()=>{}}command(e,t,n,r){if("register"==n)return void this.register(e,r[0]);if("create"==n)return void this.create(e,t,r[0]||{});const i=this._getPlayer(e);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}}const Uu="ng-animate-queued",Hu="ng-animate-disabled",Gu=".ng-animate-disabled",Wu=[],$u={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ku={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Qu{constructor(e,t=""){this.namespaceId=t;const n=e&&e.hasOwnProperty("value");if(this.value=null!=(r=n?e.value:e)?r:null,n){const t=Wl(e);delete t.value,this.options=t}else this.options={};var r;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const e=this.options.params;Object.keys(t).forEach(n=>{null==e[n]&&(e[n]=t[n])})}}}const Xu="void",Zu=new Qu(Xu);class Yu{constructor(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,oc(t,this._hostClassName)}listen(e,t,n,r){if(!this._triggers.hasOwnProperty(t))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${t}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${t}" because the provided event is undefined!`);if("start"!=(i=n)&&"done"!=i)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${t}" is not supported!`);var i;const o=Cl(this._elementListeners,e,[]),a={name:t,phase:n,callback:r};o.push(a);const s=Cl(this._engine.statesByElement,e,{});return s.hasOwnProperty(t)||(oc(e,jl),oc(e,"ng-trigger-"+t),s[t]=Zu),()=>{this._engine.afterFlush(()=>{const e=o.indexOf(a);e>=0&&o.splice(e,1),this._triggers[t]||delete s[t]})}}register(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}_getTrigger(e){const t=this._triggers[e];if(!t)throw new Error(`The provided animation trigger "${e}" has not been registered!`);return t}trigger(e,t,n,r=!0){const i=this._getTrigger(t),o=new ec(this.id,t,e);let a=this._engine.statesByElement.get(e);a||(oc(e,jl),oc(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,a={}));let s=a[t];const l=new Qu(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&s&&l.absorbOptions(s.options),a[t]=l,s||(s=Zu),l.value!==Xu&&s.value===l.value){if(!function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(let i=0;i<n.length;i++){const r=n[i];if(!t.hasOwnProperty(r)||e[r]!==t[r])return!1}return!0}(s.params,l.params)){const t=[],n=i.matchStyles(s.value,s.params,t),r=i.matchStyles(l.value,l.params,t);t.length?this._engine.reportError(t):this._engine.afterFlush(()=>{Zl(e,n),Xl(e,r)})}return}const u=Cl(this._engine.playersByElement,e,[]);u.forEach(e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()});let c=i.matchTransition(s.value,l.value,e,l.params),d=!1;if(!c){if(!r)return;c=i.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:c,fromState:s,toState:l,player:o,isFallbackTransition:d}),d||(oc(e,Uu),o.onStart(()=>{ac(e,Uu)})),o.onDone(()=>{let t=this.players.indexOf(o);t>=0&&this.players.splice(t,1);const n=this._engine.playersByElement.get(e);if(n){let e=n.indexOf(o);e>=0&&n.splice(e,1)}}),this.players.push(o),u.push(o),o}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach((t,n)=>{delete t[e]}),this._elementListeners.forEach((t,n)=>{this._elementListeners.set(n,t.filter(t=>t.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(e=>e.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const n=this._engine.driver.query(e,Vl,!0);n.forEach(e=>{if(e.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(e);n.size?n.forEach(n=>n.triggerLeaveAnimation(e,t,!1,!0)):this.clearElementCache(e)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(e=>this.clearElementCache(e)))}triggerLeaveAnimation(e,t,n,r){const i=this._engine.statesByElement.get(e);if(i){const o=[];if(Object.keys(i).forEach(t=>{if(this._triggers[t]){const n=this.trigger(e,t,Xu,r);n&&o.push(n)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&gl(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e);if(t){const n=new Set;t.forEach(t=>{const r=t.name;if(n.has(r))return;n.add(r);const i=this._triggers[r].fallbackTransition,o=this._engine.statesByElement.get(e)[r]||Zu,a=new Qu(Xu),s=new ec(this.id,r,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:i,fromState:o,toState:a,player:s,isFallbackTransition:!0})})}}removeNode(e,t){const n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let r=!1;if(n.totalAnimations){const t=n.players.length?n.playersByQueriedElement.get(e):[];if(t&&t.length)r=!0;else{let t=e;for(;t=t.parentNode;)if(n.statesByElement.get(t)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)n.markElementAsRemoved(this.id,e,!1,t);else{const r=e.__ng_removed;r&&r!==$u||(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){oc(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(n=>{const r=n.player;if(r.destroyed)return;const i=n.element,o=this._elementListeners.get(i);o&&o.forEach(t=>{if(t.name==n.triggerName){const r=_l(i,n.triggerName,n.fromState.value,n.toState.value);r._data=e,bl(n.player,t.phase,r,t.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(n)}),this._queue=[],t.sort((e,t)=>{const n=e.transition.ast.depCount,r=t.transition.ast.depCount;return 0==n||0==r?n-r:this._engine.driver.containsElement(e.element,t.element)?1:-1})}destroy(e){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(t=>t.element===e)||t,t}}class Ju{constructor(e,t,n){this.bodyNode=e,this.driver=t,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(e,t)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,t){const n=new Yu(e,t,this);return t.parentNode?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,t){const n=this._namespaceList.length-1;if(n>=0){let r=!1;for(let i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,t)){this._namespaceList.splice(i+1,0,e),r=!0;break}r||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}register(e,t){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}registerTrigger(e,t,n){let r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++}destroy(e,t){if(!e)return;const n=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[e];const t=this._namespaceList.indexOf(n);t>=0&&this._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(()=>n.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,n=this.statesByElement.get(e);if(n){const e=Object.keys(n);for(let r=0;r<e.length;r++){const i=n[e[r]].namespaceId;if(i){const e=this._fetchNamespace(i);e&&t.add(e)}}}return t}trigger(e,t,n,r){if(tc(t)){const i=this._fetchNamespace(e);if(i)return i.trigger(t,n,r),!0}return!1}insertNode(e,t,n,r){if(!tc(t))return;const i=t.__ng_removed;if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;const e=this.collectedLeaveElements.indexOf(t);e>=0&&this.collectedLeaveElements.splice(e,1)}if(e){const r=this._fetchNamespace(e);r&&r.insertNode(t,n)}r&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),oc(e,Hu)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ac(e,Hu))}removeNode(e,t,n,r){if(tc(t)){const i=e?this._fetchNamespace(e):null;if(i?i.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r),n){const n=this.namespacesByHostElement.get(t);n&&n.id!==e&&n.removeNode(t,r)}}else this._onRemovalComplete(t,r)}markElementAsRemoved(e,t,n,r){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}listen(e,t,n,r,i){return tc(t)?this._fetchNamespace(e).listen(t,n,r,i):()=>{}}_buildInstruction(e,t,n,r,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,t,i)}destroyInnerAnimations(e){let t=this.driver.query(e,Vl,!0);t.forEach(e=>this.destroyActiveAnimationsForElement(e)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,Bl,!0),t.forEach(e=>this.finishActiveQueriedAnimationOnElement(e)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(e=>{e.queued?e.markedForDestroy=!0:e.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(e=>e.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return gl(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e.__ng_removed;if(t&&t.setForRemoval){if(e.__ng_removed=$u,t.namespaceId){this.destroyInnerAnimations(e);const n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,Gu)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Gu,!0).forEach(e=>{this.markElementAsDisabled(e,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((e,t)=>this._balanceNamespaceList(e,t)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)oc(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{t=this._flushAnimations(n,e)}finally{for(let e=0;e<n.length;e++)n[e]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(e=>e()),this._flushFns=[],this._whenQuietFns.length){const e=this._whenQuietFns;this._whenQuietFns=[],t.length?gl(t).onDone(()=>{e.forEach(e=>e())}):e.forEach(e=>e())}}reportError(e){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+e.join("\n"))}_flushAnimations(e,t){const n=new Cu,r=[],i=new Map,o=[],a=new Map,s=new Map,l=new Map,u=new Set;this.disabledNodes.forEach(e=>{u.add(e);const t=this.driver.query(e,".ng-animate-queued",!0);for(let n=0;n<t.length;n++)u.add(t[n])});const c=this.bodyNode,d=Array.from(this.statesByElement.keys()),f=ic(d,this.collectedEnterElements),p=new Map;let h=0;f.forEach((e,t)=>{const n=Ml+h++;p.set(t,n),e.forEach(e=>oc(e,n))});const m=[],y=new Set,g=new Set;for(let L=0;L<this.collectedLeaveElements.length;L++){const e=this.collectedLeaveElements[L],t=e.__ng_removed;t&&t.setForRemoval&&(m.push(e),y.add(e),t.hasAnimation?this.driver.query(e,".ng-star-inserted",!0).forEach(e=>y.add(e)):g.add(e))}const v=new Map,b=ic(d,Array.from(y));b.forEach((e,t)=>{const n=Fl+h++;v.set(t,n),e.forEach(e=>oc(e,n))}),e.push(()=>{f.forEach((e,t)=>{const n=p.get(t);e.forEach(e=>ac(e,n))}),b.forEach((e,t)=>{const n=v.get(t);e.forEach(e=>ac(e,n))}),m.forEach(e=>{this.processLeaveNode(e)})});const E=[],_=[];for(let L=this._namespaceList.length-1;L>=0;L--)this._namespaceList[L].drainQueuedTransitions(t).forEach(e=>{const t=e.player,i=e.element;if(E.push(t),this.collectedEnterElements.length){const e=i.__ng_removed;if(e&&e.setForMove)return void t.destroy()}const u=!c||!this.driver.containsElement(c,i),d=v.get(i),f=p.get(i),h=this._buildInstruction(e,n,f,d,u);if(h.errors&&h.errors.length)_.push(h);else{if(u)return t.onStart(()=>Zl(i,h.fromStyles)),t.onDestroy(()=>Xl(i,h.toStyles)),void r.push(t);if(e.isFallbackTransition)return t.onStart(()=>Zl(i,h.fromStyles)),t.onDestroy(()=>Xl(i,h.toStyles)),void r.push(t);h.timelines.forEach(e=>e.stretchStartingKeyframe=!0),n.append(i,h.timelines),o.push({instruction:h,player:t,element:i}),h.queriedElements.forEach(e=>Cl(a,e,[]).push(t)),h.preStyleProps.forEach((e,t)=>{const n=Object.keys(e);if(n.length){let e=s.get(t);e||s.set(t,e=new Set),n.forEach(t=>e.add(t))}}),h.postStyleProps.forEach((e,t)=>{const n=Object.keys(e);let r=l.get(t);r||l.set(t,r=new Set),n.forEach(e=>r.add(e))})}});if(_.length){const e=[];_.forEach(t=>{e.push(`@${t.triggerName} has failed due to:\n`),t.errors.forEach(t=>e.push(`- ${t}\n`))}),E.forEach(e=>e.destroy()),this.reportError(e)}const C=new Map,S=new Map;o.forEach(e=>{const t=e.element;n.has(t)&&(S.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,C))}),r.forEach(e=>{const t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(e=>{Cl(C,t,[]).push(e),e.destroy()})});const w=m.filter(e=>lc(e,s,l)),x=new Map;rc(x,this.driver,g,l,cl).forEach(e=>{lc(e,s,l)&&w.push(e)});const O=new Map;f.forEach((e,t)=>{rc(O,this.driver,new Set(e),s,"!")}),w.forEach(e=>{const t=x.get(e),n=O.get(e);x.set(e,Object.assign(Object.assign({},t),n))});const R=[],N=[],I={};o.forEach(e=>{const{element:t,player:o,instruction:a}=e;if(n.has(t)){if(u.has(t))return o.onDestroy(()=>Xl(t,a.toStyles)),o.disabled=!0,o.overrideTotalTime(a.totalTime),void r.push(o);let e=I;if(S.size>1){let n=t;const r=[];for(;n=n.parentNode;){const t=S.get(n);if(t){e=t;break}r.push(n)}r.forEach(t=>S.set(t,e))}const n=this._buildAnimation(o.namespaceId,a,C,i,O,x);if(o.setRealPlayer(n),e===I)R.push(o);else{const t=this.playersByElement.get(e);t&&t.length&&(o.parentPlayer=gl(t)),r.push(o)}}else Zl(t,a.fromStyles),o.onDestroy(()=>Xl(t,a.toStyles)),N.push(o),u.has(t)&&r.push(o)}),N.forEach(e=>{const t=i.get(e.element);if(t&&t.length){const n=gl(t);e.setRealPlayer(n)}}),r.forEach(e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(let L=0;L<m.length;L++){const e=m[L],t=e.__ng_removed;if(ac(e,Fl),t&&t.hasAnimation)continue;let n=[];if(a.size){let t=a.get(e);t&&t.length&&n.push(...t);let r=this.driver.query(e,Bl,!0);for(let e=0;e<r.length;e++){let t=a.get(r[e]);t&&t.length&&n.push(...t)}}const r=n.filter(e=>!e.destroyed);r.length?sc(this,e,r):this.processLeaveNode(e)}return m.length=0,R.forEach(e=>{this.players.push(e),e.onDone(()=>{e.destroy();const t=this.players.indexOf(e);this.players.splice(t,1)}),e.play()}),R}elementContainsData(e,t){let n=!1;const r=t.__ng_removed;return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,r,i){let o=[];if(t){const t=this.playersByQueriedElement.get(e);t&&(o=t)}else{const t=this.playersByElement.get(e);if(t){const e=!i||i==Xu;t.forEach(t=>{t.queued||(e||t.triggerName==r)&&o.push(t)})}}return(n||r)&&(o=o.filter(e=>!(n&&n!=e.namespaceId||r&&r!=e.triggerName))),o}_beforeAnimationBuild(e,t,n){const r=t.element,i=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:t.triggerName;for(const a of t.timelines){const e=a.element,s=e!==r,l=Cl(n,e,[]);this._getPreviousPlayers(e,s,i,o,t.toState).forEach(e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),l.push(e)})}Zl(r,t.fromStyles)}_buildAnimation(e,t,n,r,i,o){const a=t.triggerName,s=t.element,l=[],u=new Set,c=new Set,d=t.timelines.map(t=>{const d=t.element;u.add(d);const f=d.__ng_removed;if(f&&f.removedBeforeQueried)return new hl(t.duration,t.delay);const p=d!==s,h=function(e){const t=[];return function e(t,n){for(let r=0;r<t.length;r++){const i=t[r];i instanceof ml?e(i.players,n):n.push(i)}}(e,t),t}((n.get(d)||Wu).map(e=>e.getRealPlayer())).filter(e=>!!e.element&&e.element===d),m=i.get(d),y=o.get(d),g=vl(0,this._normalizer,0,t.keyframes,m,y),v=this._buildPlayer(t,g,h);if(t.subTimeline&&r&&c.add(d),p){const t=new ec(e,a,d);t.setRealPlayer(v),l.push(t)}return v});l.forEach(e=>{Cl(this.playersByQueriedElement,e.element,[]).push(e),e.onDone(()=>function(e,t,n){let r;if(e instanceof Map){if(r=e.get(t),r){if(r.length){const e=r.indexOf(n);r.splice(e,1)}0==r.length&&e.delete(t)}}else if(r=e[t],r){if(r.length){const e=r.indexOf(n);r.splice(e,1)}0==r.length&&delete e[t]}return r}(this.playersByQueriedElement,e.element,e))}),u.forEach(e=>oc(e,zl));const f=gl(d);return f.onDestroy(()=>{u.forEach(e=>ac(e,zl)),Xl(s,t.toStyles)}),c.forEach(e=>{Cl(r,e,[]).push(f)}),f}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new hl(e.duration,e.delay)}}class ec{constructor(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new hl,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(t=>{this._queuedCallbacks[t].forEach(n=>bl(e,t,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){Cl(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function tc(e){return e&&1===e.nodeType}function nc(e,t){const n=e.style.display;return e.style.display=null!=t?t:"none",n}function rc(e,t,n,r,i){const o=[];n.forEach(e=>o.push(nc(e)));const a=[];r.forEach((n,r)=>{const o={};n.forEach(e=>{const n=o[e]=t.computeStyle(r,e,i);n&&0!=n.length||(r.__ng_removed=Ku,a.push(r))}),e.set(r,o)});let s=0;return n.forEach(e=>nc(e,o[s++])),a}function ic(e,t){const n=new Map;if(e.forEach(e=>n.set(e,[])),0==t.length)return n;const r=new Set(t),i=new Map;return t.forEach(e=>{const t=function e(t){if(!t)return 1;let o=i.get(t);if(o)return o;const a=t.parentNode;return o=n.has(a)?a:r.has(a)?1:e(a),i.set(t,o),o}(e);1!==t&&n.get(t).push(e)}),n}function oc(e,t){if(e.classList)e.classList.add(t);else{let n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function ac(e,t){if(e.classList)e.classList.remove(t);else{let n=e.$$classes;n&&delete n[t]}}function sc(e,t,n){gl(n).onDone(()=>e.processLeaveNode(t))}function lc(e,t,n){const r=n.get(e);if(!r)return!1;let i=t.get(e);return i?r.forEach(e=>i.add(e)):t.set(e,r),n.delete(e),!0}class uc{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new Ju(e,t,n),this._timelineEngine=new Bu(e,t,n),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,n,r,i){const o=e+"-"+r;let a=this._triggerCache[o];if(!a){const e=[],t=mu(this._driver,i,e);if(e.length)throw new Error(`The animation trigger "${r}" has failed to build due to the following errors:\n - ${e.join("\n - ")}`);a=function(e,t){return new ju(e,t)}(r,t),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(t,r,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)}onRemove(e,t,n,r){this._transitionEngine.removeNode(e,t,r||!1,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,r){if("@"==n.charAt(0)){const[e,i]=Sl(n);this._timelineEngine.command(e,t,i,r)}else this._transitionEngine.trigger(e,t,n,r)}listen(e,t,n,r,i){if("@"==n.charAt(0)){const[e,r]=Sl(n);return this._timelineEngine.listen(e,t,r,i)}return this._transitionEngine.listen(e,t,n,r,i)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function cc(e,t){let n=null,r=null;return Array.isArray(t)&&t.length?(n=fc(t[0]),t.length>1&&(r=fc(t[t.length-1]))):t&&(n=fc(t)),n||r?new dc(e,n,r):null}let dc=(()=>{class e{constructor(t,n,r){this._element=t,this._startStyles=n,this._endStyles=r,this._state=0;let i=e.initialStylesByElement.get(t);i||e.initialStylesByElement.set(t,i={}),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Xl(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Xl(this._element,this._initialStyles),this._endStyles&&(Xl(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(Zl(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Zl(this._element,this._endStyles),this._endStyles=null),Xl(this._element,this._initialStyles),this._state=3)}}return e.initialStylesByElement=new WeakMap,e})();function fc(e){let t=null;const n=Object.keys(e);for(let r=0;r<n.length;r++){const i=n[r];pc(i)&&(t=t||{},t[i]=e[i])}return t}function pc(e){return"display"===e||"position"===e}const hc="animation",mc="animationend";class yc{constructor(e,t,n,r,i,o,a){this._element=e,this._name=t,this._duration=n,this._delay=r,this._easing=i,this._fillMode=o,this._onDoneFn=a,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=e=>this._handleCallback(e)}apply(){!function(e,t){const n=Cc(e,"").trim();n.length&&(function(e,t){let n=0;for(let r=0;r<e.length;r++)","===e.charAt(r)&&n++}(n),t=`${n}, ${t}`),_c(e,"",t)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),Ec(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){gc(this._element,this._name,"paused")}resume(){gc(this._element,this._name,"running")}setPosition(e){const t=vc(this._element,this._name);this._position=e*this._duration,_c(this._element,"Delay",`-${this._position}ms`,t)}getPosition(){return this._position}_handleCallback(e){const t=e._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(e.elapsedTime.toFixed(3));e.animationName==this._name&&Math.max(t-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Ec(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){const n=Cc(e,"").split(","),r=bc(n,t);r>=0&&(n.splice(r,1),_c(e,"",n.join(",")))}(this._element,this._name))}}function gc(e,t,n){_c(e,"PlayState",n,vc(e,t))}function vc(e,t){const n=Cc(e,"");return n.indexOf(",")>0?bc(n.split(","),t):bc([n],t)}function bc(e,t){for(let n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function Ec(e,t,n){n?e.removeEventListener(mc,t):e.addEventListener(mc,t)}function _c(e,t,n,r){const i=hc+t;if(null!=r){const t=e.style[i];if(t.length){const e=t.split(",");e[r]=n,n=e.join(",")}}e.style[i]=n}function Cc(e,t){return e.style[hc+t]}class Sc{constructor(e,t,n,r,i,o,a,s){this.element=e,this.keyframes=t,this.animationName=n,this._duration=r,this._delay=i,this._finalStyles=a,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=r+i,this._buildStyler()}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(e=>e()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(e){this._styler.setPosition(e)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new yc(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}beforeDestroy(){this.init();const e={};if(this.hasStarted()){const t=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(e[n]=t?this._finalStyles[n]:lu(this.element,n))})}this.currentSnapshot=e}}class wc extends hl{constructor(e,t){super(),this.element=e,this._startingStyles={},this.__initialized=!1,this._styles=ql(t)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(e=>{this._startingStyles[e]=this.element.style[e]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(e=>this.element.style.setProperty(e,this._styles[e])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(e=>{const t=this._startingStyles[e];t?this.element.style.setProperty(e,t):this.element.style.removeProperty(e)}),this._startingStyles=null,super.destroy())}}class xc{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(e){return Ll(e)}matchesElement(e,t){return Tl(e,t)}containsElement(e,t){return kl(e,t)}query(e,t,n){return Dl(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}buildKeyframeElement(e,t,n){n=n.map(e=>ql(e));let r=`@keyframes ${t} {\n`,i="";n.forEach(e=>{i=" ";const t=parseFloat(e.offset);r+=`${i}${100*t}% {\n`,i+=" ",Object.keys(e).forEach(t=>{const n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(r+=`${i}animation-timing-function: ${n};\n`));default:return void(r+=`${i}${t}: ${n};\n`)}}),r+=i+"}\n"}),r+="}\n";const o=document.createElement("style");return o.innerHTML=r,o}animate(e,t,n,r,i,o=[],a){a&&this._notifyFaultyScrubber();const s=o.filter(e=>e instanceof Sc),l={};ou(n,r)&&s.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const u=function(e){let t={};return e&&(Array.isArray(e)?e:[e]).forEach(e=>{Object.keys(e).forEach(n=>{"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}(t=au(e,t,l));if(0==n)return new wc(e,u);const c="gen_css_kf_"+this._count++,d=this.buildKeyframeElement(e,c,t);document.querySelector("head").appendChild(d);const f=cc(e,t),p=new Sc(e,t,c,n,r,i,u,f);return p.onDestroy(()=>{var e;(e=d).parentNode.removeChild(e)}),p}_notifyFaultyScrubber(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}class Oc{constructor(e,t,n,r){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,t,n){return e.animate(t,n)}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(t=>{"offset"!=t&&(e[t]=this._finished?this._finalKeyframe[t]:lu(this.element,t))}),this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class Rc{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Nc().toString()),this._cssKeyframesDriver=new xc}validateStyleProperty(e){return Ll(e)}matchesElement(e,t){return Tl(e,t)}containsElement(e,t){return kl(e,t)}query(e,t,n){return Dl(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}overrideWebAnimationsSupport(e){this._isNativeImpl=e}animate(e,t,n,r,i,o=[],a){if(!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,r,i,o);const s={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(s.easing=i);const l={},u=o.filter(e=>e instanceof Oc);ou(n,r)&&u.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const c=cc(e,t=au(e,t=t.map(e=>$l(e,!1)),l));return new Oc(e,t,s,c)}}function Nc(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}let Ic=(()=>{class e extends ul{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:nt.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(e)?dl(e):e;return kc(this._renderer,null,t,"register",[n]),new Lc(t,this._renderer)}}return e.\u0275fac=function(t){return new(t||e)(We(ro),We(ys))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})();class Lc extends class{}{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new Tc(this._id,e,t||{},this._renderer)}}class Tc{constructor(e,t,n,r){this.id=e,this.element=t,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return kc(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(e){this._command("setPosition",e)}getPosition(){return 0}}function kc(e,t,n,r,i){return e.setProperty(t,`@@${n}:${r}`,i)}const Dc="@",qc="@.disabled";let Pc=(()=>{class e{constructor(e,t,n){this.delegate=e,this.engine=t,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(e,t)=>{t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}createRenderer(e,t){const n=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let e=this._rendererCache.get(n);return e||(e=new Ac("",n,this.engine),this._rendererCache.set(n,e)),e}const r=t.id,i=t.id+"-"+this._currentId;this._currentId++,this.engine.register(i,e);const o=t=>{Array.isArray(t)?t.forEach(o):this.engine.registerTrigger(r,i,e,t.name,t)};return t.data.animation.forEach(o),new Mc(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,n){e>=0&&e<this._microtaskId?this._zone.run(()=>t(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(e=>{const[t,n]=e;t(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return e.\u0275fac=function(t){return new(t||e)(We(ro),We(uc),We(Ra))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})();class Ac{constructor(e,t,n){this.namespaceId=e,this.delegate=t,this.engine=n,this.destroyNode=this.delegate.destroyNode?e=>t.destroyNode(e):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,n){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,!0)}removeChild(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,n,r){this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){this.delegate.removeAttribute(e,t,n)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,n,r){this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){t.charAt(0)==Dc&&t==qc?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,n){return this.delegate.listen(e,t,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class Mc extends Ac{constructor(e,t,n,r){super(t,n,r),this.factory=e,this.namespaceId=t}setProperty(e,t,n){t.charAt(0)==Dc?"."==t.charAt(1)&&t==qc?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}listen(e,t,n){if(t.charAt(0)==Dc){const r=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e);let i=t.substr(1),o="";return i.charAt(0)!=Dc&&([i,o]=function(e){const t=e.indexOf(".");return[e.substring(0,t),e.substr(t+1)]}(i)),this.engine.listen(this.namespaceId,r,i,o,e=>{this.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)}}let Fc=(()=>{class e extends uc{constructor(e,t,n){super(e.body,t,n)}}return e.\u0275fac=function(t){return new(t||e)(We(ys),We(Al),We(ku))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})();const jc=[{provide:Al,useFactory:function(){return"function"==typeof Nc()?new Rc:new xc}},{provide:new Pe("AnimationModuleType"),useValue:"BrowserAnimations"},{provide:ul,useClass:Ic},{provide:ku,useFactory:function(){return new Du}},{provide:uc,useClass:Fc},{provide:ro,useFactory:function(e,t,n){return new Pc(e,t,n)},deps:[Xs,uc,Ra]}];let Vc=(()=>{class e{}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)},providers:jc,imports:[ll]}),e})(),zc=(()=>{class e{constructor(e){this._document=e}ngOnDestroy(){const e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container",t=this._document.querySelectorAll("."+e);if(null==t?void 0:t.length)this._containerElement=t[0];else{const t=this._document.createElement("div");t.classList.add(e),this._document.body.appendChild(t),this._containerElement=t}}}return e.\u0275fac=function(t){return new(t||e)(We(ys))},e.\u0275prov=se({token:e,factory:e.\u0275fac}),e})();class Bc extends S{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new E;return this._value}next(e){super.next(this._value=e)}}function Uc(){}class Hc{constructor(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}call(e,t){return t.subscribe(new Gc(e,this.nextOrObserver,this.error,this.complete))}}class Gc extends h{constructor(e,t,n,i){super(e),this._tapNext=Uc,this._tapError=Uc,this._tapComplete=Uc,this._tapError=n||Uc,this._tapComplete=i||Uc,r(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||Uc,this._tapError=t.error||Uc,this._tapComplete=t.complete||Uc)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}const Wc={provide:pa,useFactory:function(e,t){return()=>{if(Cs(t)){const t=Array.from(e.querySelectorAll(`[class*=${$c}]`)),n=/\bflex-layout-.+?\b/g;t.forEach(e=>{e.classList.contains($c+"ssr")&&e.parentNode?e.parentNode.removeChild(e):e.className.replace(n,"")})}}},deps:[ys,fa],multi:!0},$c="flex-layout-";let Kc=(()=>{class e{}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)},providers:[Wc]}),e})();class Qc{constructor(e=!1,t="all",n="",r="",i=0){this.matches=e,this.mediaQuery=t,this.mqAlias=n,this.suffix=r,this.priority=i,this.property=""}clone(){return new Qc(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let Xc=(()=>{class e{constructor(){this.stylesheet=new Map}addStyleToElement(e,t,n){const r=this.stylesheet.get(e);r?r.set(t,n):this.stylesheet.set(e,new Map([[t,n]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,t){const n=this.stylesheet.get(e);let r="";if(n){const e=n.get(t);"number"!=typeof e&&"string"!=typeof e||(r=e+"")}return r}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=se({factory:function(){return new e},token:e,providedIn:"root"}),e})();const Zc={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},Yc=new Pe("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>Zc}),Jc=new Pe("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),ed=new Pe("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function td(e,t){return e=e?e.clone():new Qc,t&&(e.mqAlias=t.alias,e.mediaQuery=t.mediaQuery,e.suffix=t.suffix,e.priority=t.priority),e}const nd="inline",rd=["row","column","row-reverse","column-reverse"];function id(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}let od=(()=>{class e{constructor(e,t,n,r){this.elementRef=e,this.styleBuilder=t,this.styler=n,this.marshal=r,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new S,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}ngOnChanges(e){Object.keys(e).forEach(t=>{if(-1!==this.inputs.indexOf(t)){const n=t.split(".").slice(1).join(".");this.setValue(e[t].currentValue,n)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(e=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}addStyles(e,t){const n=this.styleBuilder,r=n.shouldCache;let i=this.styleCache.get(e);i&&r||(i=n.buildStyles(e,t),r&&this.styleCache.set(e,i)),this.mru=Object.assign({},i),this.applyStyleToElement(i),n.sideEffect(e,i,t)}clearStyles(){Object.keys(this.mru).forEach(e=>{this.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={}}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(e,t=!1){if(e){const[n,r]=this.styler.getFlowDirection(e);if(!r&&t){const t=function(e){let[t,n,r]=function(e){e=e?e.toLowerCase():"";let[t,n,r]=e.split(" ");return rd.find(e=>e===t)||(t=rd[0]),n===nd&&(n=r!==nd?r:"",r=nd),[t,id(n),!!r]}(e);return function(e,t=null,n=!1){return{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":t||null}}(t,n,r)}(n);this.styler.applyStyleToElements(t,[e])}return n.trim()}return"row"}hasWrap(e){return this.styler.hasWrap(e)}applyStyleToElement(e,t,n=this.nativeElement){this.styler.applyStyleToElement(n,e,t)}setValue(e,t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,t)}updateWithValue(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}}return e.\u0275fac=function(e){!function(){throw new Error("invalid")}()},e.\u0275dir=ft({type:e,features:[wt]}),e})();const ad=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.9px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.9px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.9px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.9px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.9px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.9px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.9px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.9px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.9px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],sd="(orientation: portrait) and (max-width: 599.9px)",ld="(orientation: landscape) and (max-width: 959.9px)",ud="(orientation: portrait) and (min-width: 600px) and (max-width: 839.9px)",cd="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.9px)",dd="(orientation: portrait) and (min-width: 840px)",fd="(orientation: landscape) and (min-width: 1280px)",pd={HANDSET:`${sd}, ${ld}`,TABLET:`${ud} , ${cd}`,WEB:`${dd}, ${fd} `,HANDSET_PORTRAIT:""+sd,TABLET_PORTRAIT:ud+" ",WEB_PORTRAIT:""+dd,HANDSET_LANDSCAPE:""+ld,TABLET_LANDSCAPE:""+cd,WEB_LANDSCAPE:""+fd},hd=[{alias:"handset",priority:2e3,mediaQuery:pd.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:pd.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:pd.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:pd.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:pd.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:pd.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:pd.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:pd.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:pd.WEB_PORTRAIT,overlapping:!0}],md=/(\.|-|_)/g;function yd(e){let t=e.length>0?e.charAt(0):"",n=e.length>1?e.slice(1):"";return t.toUpperCase()+n}const gd=new Pe("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const e=$e(ed),t=$e(Yc),n=[].concat.apply([],(e||[]).map(e=>Array.isArray(e)?e:[e]));return function(e,t=[]){const n={};return e.forEach(e=>{n[e.alias]=e}),t.forEach(e=>{n[e.alias]?function(e,...t){if(null==e)throw TypeError("Cannot convert undefined or null to object");for(let n of t)if(null!=n)for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t])}(n[e.alias],e):n[e.alias]=e}),(r=Object.keys(n).map(e=>n[e])).forEach(e=>{e.suffix||(e.suffix=e.alias.replace(md,"|").split("|").map(yd).join(""),e.overlapping=!!e.overlapping)}),r;var r}((t.disableDefaultBps?[]:ad).concat(t.addOrientationBps?hd:[]),n)}});function vd(e,t){return(t&&t.priority||0)-(e&&e.priority||0)}function bd(e,t){return(e.priority||0)-(t.priority||0)}let Ed=(()=>{class e{constructor(e){this.findByMap=new Map,this.items=[...e].sort(bd)}findByAlias(e){return e?this.findWithPredicate(e,t=>t.alias==e):null}findByQuery(e){return this.findWithPredicate(e,t=>t.mediaQuery==e)}get overlappings(){return this.items.filter(e=>1==e.overlapping)}get aliases(){return this.items.map(e=>e.alias)}get suffixes(){return this.items.map(e=>e.suffix?e.suffix:"")}findWithPredicate(e,t){let n=this.findByMap.get(e);return n||(n=this.items.find(t)||null,this.findByMap.set(e,n)),n||null}}return e.\u0275fac=function(t){return new(t||e)(We(gd))},e.\u0275prov=se({factory:function(){return new e(We(gd))},token:e,providedIn:"root"}),e})(),_d=(()=>{class e{constructor(e,t,n){this._zone=e,this._platformId=t,this._document=n,this.source=new Bc(new Qc(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const e=[];return this.registry.forEach((t,n)=>{t.matches&&e.push(n)}),e}isActive(e){const t=this.registry.get(e);return t?t.matches:this.registerQuery(e).some(e=>e.matches)}observe(e,t=!1){if(e&&e.length){const n=this._observable$.pipe(es(n=>!t||e.indexOf(n.mediaQuery)>-1));return U(new v(t=>{const n=this.registerQuery(e);if(n.length){const e=n.pop();n.forEach(e=>{t.next(e)}),this.source.next(e)}t.complete()}),n)}return this._observable$}registerQuery(e){const t=Array.isArray(e)?e:[e],n=[];return function(e,t){const n=e.filter(e=>!Cd[e]);if(n.length>0){const e=n.join(", ");try{const r=t.createElement("style");r.setAttribute("type","text/css"),r.styleSheet||r.appendChild(t.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${e} {.fx-query-test{ }}\n`)),t.head.appendChild(r),n.forEach(e=>Cd[e]=r)}catch(r){console.error(r)}}}(t,this._document),t.forEach(e=>{const t=t=>{this._zone.run(()=>this.source.next(new Qc(t.matches,e)))};let r=this.registry.get(e);r||(r=this.buildMQL(e),r.addListener(t),this.pendingRemoveListenerFns.push(()=>r.removeListener(t)),this.registry.set(e,r)),r.matches&&n.push(new Qc(!0,e))}),n}ngOnDestroy(){let e;for(;e=this.pendingRemoveListenerFns.pop();)e()}buildMQL(e){return function(e,t){return t&&window.matchMedia("all").addListener?window.matchMedia(e):{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{},onchange:null,addEventListener(){},removeEventListener(){},dispatchEvent:()=>!1}}(e,Cs(this._platformId))}}return e.\u0275fac=function(t){return new(t||e)(We(Ra),We(fa),We(ys))},e.\u0275prov=se({factory:function(){return new e(We(Ra),We(fa),We(ys))},token:e,providedIn:"root"}),e})();const Cd={},Sd="print",wd={alias:Sd,mediaQuery:Sd,priority:1e3};let xd=(()=>{class e{constructor(e,t,n){this.breakpoints=e,this.layoutConfig=t,this._document=n,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.isPrinting=!1,this.queue=new Od,this.deactivations=[]}withPrintQuery(e){return[...e,Sd]}isPrintEvent(e){return e.mediaQuery.startsWith(Sd)}get printAlias(){return this.layoutConfig.printWithBreakpoints||[]}get printBreakPoints(){return this.printAlias.map(e=>this.breakpoints.findByAlias(e)).filter(e=>null!==e)}getEventBreakpoints({mediaQuery:e}){const t=this.breakpoints.findByQuery(e);return(t?[...this.printBreakPoints,t]:this.printBreakPoints).sort(vd)}updateEvent(e){let t=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(t=this.getEventBreakpoints(e)[0],e.mediaQuery=t?t.mediaQuery:""),td(e,t)}registerBeforeAfterPrintHooks(e){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const t=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(e,this.getEventBreakpoints(new Qc(!0,Sd))),e.updateStyles())},n=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",t),this._document.defaultView.addEventListener("afterprint",n),this.beforePrintEventListeners.push(t),this.afterPrintEventListeners.push(n)}interceptEvents(e){return this.registerBeforeAfterPrintHooks(e),t=>{this.isPrintEvent(t)?t.matches&&!this.isPrinting?(this.startPrinting(e,this.getEventBreakpoints(t)),e.updateStyles()):t.matches||!this.isPrinting||this.isPrintingBeforeAfterEvent||(this.stopPrinting(e),e.updateStyles()):this.collectActivations(t)}}blockPropagation(){return e=>!(this.isPrinting||this.isPrintEvent(e))}startPrinting(e,t){this.isPrinting=!0,e.activatedBreakpoints=this.queue.addPrintBreakpoints(t)}stopPrinting(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1}collectActivations(e){if(!this.isPrinting||this.isPrintingBeforeAfterEvent)if(e.matches)this.isPrintingBeforeAfterEvent||(this.deactivations=[]);else{const t=this.breakpoints.findByQuery(e.mediaQuery);t&&(this.deactivations.push(t),this.deactivations.sort(vd))}}ngOnDestroy(){this.beforePrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("beforeprint",e)),this.afterPrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("afterprint",e))}}return e.\u0275fac=function(t){return new(t||e)(We(Ed),We(Yc),We(ys))},e.\u0275prov=se({factory:function(){return new e(We(Ed),We(Yc),We(ys))},token:e,providedIn:"root"}),e})();class Od{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(e){return e.push(wd),e.sort(vd),e.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(e){e&&void 0===this.printBreakpoints.find(t=>t.mediaQuery===e.mediaQuery)&&(this.printBreakpoints=function(e){return!!e&&e.mediaQuery.startsWith(Sd)}(e)?[e,...this.printBreakpoints]:[...this.printBreakpoints,e])}clear(){this.printBreakpoints=[]}}function Rd(e){for(let t in e){let n=e[t]||"";switch(t){case"display":e.display="flex"===n?["-webkit-flex","flex"]:"inline-flex"===n?["-webkit-inline-flex","inline-flex"]:n;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":e["-webkit-"+t]=n;break;case"flex-direction":n=n||"row",e["-webkit-flex-direction"]=n,e["flex-direction"]=n;break;case"order":e.order=e["-webkit-"+t]=isNaN(+n)?"0":n}}return e}let Nd=(()=>{class e{constructor(e,t,n,r){this._serverStylesheet=e,this._serverModuleLoaded=t,this._platformId=n,this.layoutConfig=r}applyStyleToElement(e,t,n=null){let r={};"string"==typeof t&&(r[t]=n,t=r),r=this.layoutConfig.disableVendorPrefixes?t:Rd(t),this._applyMultiValueStyleToElement(r,e)}applyStyleToElements(e,t=[]){const n=this.layoutConfig.disableVendorPrefixes?e:Rd(e);t.forEach(e=>{this._applyMultiValueStyleToElement(n,e)})}getFlowDirection(e){const t="flex-direction";let n=this.lookupStyle(e,t);return[n||"row",this.lookupInlineStyle(e,t)||Ss(this._platformId)&&this._serverModuleLoaded?n:""]}hasWrap(e){return"wrap"===this.lookupStyle(e,"flex-wrap")}lookupAttributeValue(e,t){return e.getAttribute(t)||""}lookupInlineStyle(e,t){return Cs(this._platformId)?e.style.getPropertyValue(t):this._getServerStyle(e,t)}lookupStyle(e,t,n=!1){let r="";return e&&((r=this.lookupInlineStyle(e,t))||(Cs(this._platformId)?n||(r=getComputedStyle(e).getPropertyValue(t)):this._serverModuleLoaded&&(r=this._serverStylesheet.getStyleForElement(e,t)))),r?r.trim():""}_applyMultiValueStyleToElement(e,t){Object.keys(e).sort().forEach(n=>{const r=e[n],i=Array.isArray(r)?r:[r];i.sort();for(let e of i)e=e?e+"":"",Cs(this._platformId)||!this._serverModuleLoaded?Cs(this._platformId)?t.style.setProperty(n,e):this._setServerStyle(t,n,e):this._serverStylesheet.addStyleToElement(t,n,e)})}_setServerStyle(e,t,n){t=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const r=this._readStyleAttribute(e);r[t]=n||"",this._writeStyleAttribute(e,r)}_getServerStyle(e,t){return this._readStyleAttribute(e)[t]||""}_readStyleAttribute(e){const t={},n=e.getAttribute("style");if(n){const e=n.split(/;+/g);for(let n=0;n<e.length;n++){const r=e[n].trim();if(r.length>0){const e=r.indexOf(":");if(-1===e)throw new Error("Invalid CSS style: "+r);t[r.substr(0,e).trim()]=r.substr(e+1).trim()}}}return t}_writeStyleAttribute(e,t){let n="";for(const r in t)t[r]&&(n+=r+":"+t[r]+";");e.setAttribute("style",n)}}return e.\u0275fac=function(t){return new(t||e)(We(Xc),We(Jc),We(fa),We(Yc))},e.\u0275prov=se({factory:function(){return new e(We(Xc),We(Jc),We(fa),We(Yc))},token:e,providedIn:"root"}),e})(),Id=(()=>{class e{constructor(e,t,n){this.matchMedia=e,this.breakpoints=t,this.hook=n,this.activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new S,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?this.activatedBreakpoints[0].alias:""}onMediaChange(e){const t=this.findByQuery(e.mediaQuery);t&&((e=td(e,t)).matches&&-1===this.activatedBreakpoints.indexOf(t)?(this.activatedBreakpoints.push(t),this.activatedBreakpoints.sort(vd),this.updateStyles()):e.matches||-1===this.activatedBreakpoints.indexOf(t)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(t),1),this.activatedBreakpoints.sort(vd),this.updateStyles()))}init(e,t,n,r,i=[]){Ld(this.updateMap,e,t,n),Ld(this.clearMap,e,t,r),this.buildElementKeyMap(e,t),this.watchExtraTriggers(e,t,i)}getValue(e,t,n){const r=this.elementMap.get(e);if(r){const e=void 0!==n?r.get(n):this.getActivatedValues(r,t);if(e)return e.get(t)}}hasValue(e,t){const n=this.elementMap.get(e);if(n){const e=this.getActivatedValues(n,t);if(e)return void 0!==e.get(t)||!1}return!1}setValue(e,t,n,r){let i=this.elementMap.get(e);if(i){const o=(i.get(r)||new Map).set(t,n);i.set(r,o),this.elementMap.set(e,i)}else i=(new Map).set(r,(new Map).set(t,n)),this.elementMap.set(e,i);const o=this.getValue(e,t);void 0!==o&&this.updateElement(e,t,o)}trackValue(e,t){return this.subject.asObservable().pipe(es(n=>n.element===e&&n.key===t))}updateStyles(){this.elementMap.forEach((e,t)=>{const n=new Set(this.elementKeyMap.get(t));let r=this.getActivatedValues(e);r&&r.forEach((e,r)=>{this.updateElement(t,r,e),n.delete(r)}),n.forEach(n=>{if(r=this.getActivatedValues(e,n),r){const e=r.get(n);this.updateElement(t,n,e)}else this.clearElement(t,n)})})}clearElement(e,t){const n=this.clearMap.get(e);if(n){const r=n.get(t);r&&(r(),this.subject.next({element:e,key:t,value:""}))}}updateElement(e,t,n){const r=this.updateMap.get(e);if(r){const i=r.get(t);i&&(i(n),this.subject.next({element:e,key:t,value:n}))}}releaseElement(e){const t=this.watcherMap.get(e);t&&(t.forEach(e=>e.unsubscribe()),this.watcherMap.delete(e));const n=this.elementMap.get(e);n&&(n.forEach((e,t)=>n.delete(t)),this.elementMap.delete(e))}triggerUpdate(e,t){const n=this.elementMap.get(e);if(n){const r=this.getActivatedValues(n,t);r&&(t?this.updateElement(e,t,r.get(t)):r.forEach((t,n)=>this.updateElement(e,n,t)))}}buildElementKeyMap(e,t){let n=this.elementKeyMap.get(e);n||(n=new Set,this.elementKeyMap.set(e,n)),n.add(t)}watchExtraTriggers(e,t,n){if(n&&n.length){let r=this.watcherMap.get(e);if(r||(r=new Map,this.watcherMap.set(e,r)),!r.get(t)){const i=U(...n).subscribe(()=>{const n=this.getValue(e,t);this.updateElement(e,t,n)});r.set(t,i)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,t){for(let r=0;r<this.activatedBreakpoints.length;r++){const n=e.get(this.activatedBreakpoints[r].alias);if(n&&(void 0===t||n.has(t)&&null!=n.get(t)))return n}const n=e.get("");return void 0===t||n&&n.has(t)?n:void 0}observeActivations(){const e=this.breakpoints.items.map(e=>e.mediaQuery);var t;this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe((t=this.hook.interceptEvents(this),function(e){return e.lift(new Hc(t,void 0,void 0))}),es(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return e.\u0275fac=function(t){return new(t||e)(We(_d),We(Ed),We(xd))},e.\u0275prov=se({factory:function(){return new e(We(_d),We(Ed),We(xd))},token:e,providedIn:"root"}),e})();function Ld(e,t,n,r){if(void 0!==r){let i=e.get(t);i||(i=new Map,e.set(t,i)),i.set(n,r)}}let Td=(()=>{class e{}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)},imports:[[Kc]]}),e})();const kd="inline",Dd=["row","column","row-reverse","column-reverse"];function qd(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}let Pd=(()=>{class e extends class{constructor(){this.shouldCache=!0}sideEffect(e,t,n){}}{buildStyles(e){return function(e){let[t,n,r]=function(e){e=e?e.toLowerCase():"";let[t,n,r]=e.split(" ");return Dd.find(e=>e===t)||(t=Dd[0]),n===kd&&(n=r!==kd?r:"",r=kd),[t,qd(n),!!r]}(e);return function(e,t=null,n=!1){return{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":t||null}}(t,n,r)}(e)}}e.\u0275fac=function(n){return t(n||e)},e.\u0275prov=se({factory:function(){return new e},token:e,providedIn:"root"});const t=Un(e);return e})();const Ad=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let Md=(()=>{class e extends od{constructor(e,t,n,r){super(e,n,t,r),this.DIRECTIVE_KEY="layout",this.styleCache=jd,this.init()}}return e.\u0275fac=function(t){return new(t||e)(Vi(to),Vi(Nd),Vi(Pd),Vi(Id))},e.\u0275dir=ft({type:e,features:[$i]}),e})(),Fd=(()=>{class e extends Md{constructor(){super(...arguments),this.inputs=Ad}}e.\u0275fac=function(n){return t(n||e)},e.\u0275dir=ft({type:e,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[$i]});const t=Un(e);return e})();const jd=new Map;let Vd=(()=>{class e{}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)},imports:[[Kc,xs]]}),e})(),zd=(()=>{class e{}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)},imports:[[Kc]]}),e})(),Bd=(()=>{class e{constructor(e,t){Ss(t)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(t,n=[]){return{ngModule:e,providers:t.serverLoaded?[{provide:Yc,useValue:Object.assign(Object.assign({},Zc),t)},{provide:ed,useValue:n,multi:!0},{provide:Jc,useValue:!0}]:[{provide:Yc,useValue:Object.assign(Object.assign({},Zc),t)},{provide:ed,useValue:n,multi:!0}]}}}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)(We(Jc),We(fa))},imports:[[Vd,Td,zd],Vd,Td,zd]}),e})();function Ud(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}var Hd=n("6cUA"),Gd=n.n(Hd),Wd=n("gLYN"),$d=n.n(Wd),Kd=n("UWD0"),Qd=n("eteH");const Xd=new Map,Zd=[],Yd=Zd.map,Jd=Zd.some,ef=Zd.hasOwnProperty,tf="https://cdn.jsdelivr.net/npm/",nf=/^((?:@[^/@]+\/)?[^/@]+)(?:@([^/]+))?(?:\/(.*))?$/,rf=/^\d+\.\d+\.\d+(-[\w-.+]+)?$/,of=/\.[^/]*$/,af=["unpkg","jsdelivr","browser","main"];class sf extends Error{constructor(e){super(e)}}function lf(e){const t=nf.exec(e);return t&&{name:t[1],version:t[2],path:t[3]}}function uf(e){const t=`${tf}${e.name}${e.version?"@"+e.version:""}/package.json`;let n=Xd.get(t);return n||Xd.set(t,n=fetch(t).then(e=>{if(!e.ok)throw new sf("unable to load package.json");return e.redirected&&!Xd.has(e.url)&&Xd.set(e.url,n),e.json()})),n}function cf(e){const t=new Map,n=i(null);function r(e){if("string"!=typeof e)return e;let n=t.get(e);return n||t.set(e,n=new Promise((t,n)=>{const r=document.createElement("script");r.onload=()=>{try{t(Zd.pop()(i(e)))}catch(o){n(new sf("invalid module"))}r.remove()},r.onerror=()=>{n(new sf("unable to load module")),r.remove()},r.async=!0,r.src=e,window.define=hf,document.head.appendChild(r)})),n}function i(t){return n=>Promise.resolve(e(n,t)).then(r)}function o(e){return arguments.length>1?Promise.all(Yd.call(arguments,n)).then(df):n(e)}return o.alias=function(t){return cf((n,r)=>n in t&&(r=null,"string"!=typeof(n=t[n]))?n:e(n,r))},o.resolve=e,o}function df(e){const t={};for(const n of e)for(const e in n)ef.call(n,e)&&(null==n[e]?Object.defineProperty(t,e,{get:ff(n,e)}):t[e]=n[e]);return t}function ff(e,t){return()=>e[t]}function pf(e){return"exports"==(e+="")||"module"===e}function hf(e,t,n){const r=arguments.length;r<2?(n=e,t=[]):r<3&&(n=t,t="string"==typeof e?[]:e),Zd.push(Jd.call(t,pf)?e=>{const r={},i={exports:r};return Promise.all(Yd.call(t,t=>"exports"==(t+="")?r:"module"===t?i:e(t))).then(e=>(n.apply(null,e),i.exports))}:e=>Promise.all(Yd.call(t,e)).then(e=>"function"==typeof n?n.apply(null,e):n))}sf.prototype.name=sf.name,cf((async function(e,t){if(e.startsWith(tf)&&(e=e.substring(tf.length)),/^(\w+:)|\/\//i.test(e))return e;if(/^[.]{0,2}\//i.test(e))return new URL(e,null==t?location:t).href;if(!e.length||/^[\s._]/.test(e)||/\s$/.test(e))throw new sf("illegal name");const n=lf(e);if(!n)return`${tf}${e}`;if(!n.version&&null!=t&&t.startsWith(tf)){const e=await uf(lf(t.substring(tf.length)));n.version=e.dependencies&&e.dependencies[n.name]||e.peerDependencies&&e.peerDependencies[n.name]}if(n.path&&!of.test(n.path)&&(n.path+=".js"),n.path&&n.version&&rf.test(n.version))return`${tf}${n.name}@${n.version}/${n.path}`;const r=await uf(n);return`${tf}${r.name}@${r.version}/${n.path||function(e){for(const t of af){const n=e[t];if("string"==typeof n)return of.test(n)?n:n+".js"}}(r)||"index.js"}`})),hf.amd={};const mf=["toolbar"],yf=["viz"],gf=cf(e=>"https://unpkg.com/@nebula.js/"+e).alias({"@nebula.js/stardust":Qd});let vf=(()=>{class e{ngAfterViewInit(){return Ud(this,void 0,void 0,(function*(){const e=$d.a.buildUrl(this.configuration),t=yield(t=>Ud(this,void 0,void 0,(function*(){return(yield Gd.a.create({schema:Kd,url:e}).open()).openDoc(t)})))(this.configuration.appId),n=[["sn-action-button","action-button"],["sn-bar-chart","barchart"],["sn-bullet-chart","bullet-chart"],["sn-combo-chart","combo-chart"],["sn-funnel-chart","funnel-chart"],["sn-grid-chart","sn-grid-chart"],["sn-kpi","kpi"],["sn-line-chart","line-chart"],["sn-mekko-chart","mekko"],["sn-org-chart","org"],["sn-pie-chart","piechart"],["sn-sankey-chart","sankey"],["sn-table","table"],["sn-video-player","video-player"],["sn-scatter-plot","scatterplot"]].map(e=>({name:e[1],load:()=>gf(e[0])})),r=Qd.embed.createConfiguration({types:n})(t);console.log(yield r.selections()),this.showToolbar&&(yield r.selections()).mount(this.toolbarEl.nativeElement),this.vizId&&r.render({element:this.vizEl.nativeElement,id:this.vizId})}))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=at({type:e,selectors:[["drayman-nebula-internal"]],viewQuery:function(e,t){var n;1&e&&(ra(mf,!0),ra(yf,!0)),2&e&&(na(n=ia())&&(t.toolbarEl=n.first),na(n=ia())&&(t.vizEl=n.first))},inputs:{configuration:"configuration",vizId:"vizId",showToolbar:"showToolbar"},decls:5,vars:0,consts:[["fxLayout","column",1,"container"],["toolbar",""],[1,"viz"],["viz",""]],template:function(e,t){1&e&&(Bi(0,"div",0),Hi(1,"div",null,1),Hi(3,"div",2,3),Ui())},directives:[Fd],styles:[".container[_ngcontent-%COMP%]{width:100%;margin:0;height:100%;min-width:100%;min-height:100%}.viz[_ngcontent-%COMP%]{flex:1}"]}),e})(),bf=(()=>{class e{constructor(e){this.injector=e}ngDoBootstrap(){const e=function(e,t){const n=function(e,t){return t.get(eo).resolveComponentFactory(e).inputs}(e,t.injector),r=t.strategyFactory||new Ts(e,t.injector),i=function(e){const t={};return e.forEach(({propName:e,templateName:n})=>{var r;t[(r=n,r.replace(/[A-Z]/g,e=>"-"+e.toLowerCase()))]=e}),t}(n);class o extends Ds{constructor(e){super(),this.injector=e}get ngElementStrategy(){if(!this._ngElementStrategy){const e=this._ngElementStrategy=r.create(this.injector||t.injector),i=n.filter(({propName:e})=>this.hasOwnProperty(e)).map(({propName:e})=>[e,this[e]]);this instanceof o?i.forEach(([e])=>delete this[e]):qs(n,this),i.forEach(([t,n])=>e.setInputValue(t,n))}return this._ngElementStrategy}attributeChangedCallback(e,t,n,r){this.ngElementStrategy.setInputValue(i[e],n)}connectedCallback(){let e=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),e=!0),this.ngElementStrategy.connect(this),e||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(e=>{const t=function(e,t,n){if("function"!=typeof CustomEvent){const r=e.createEvent("CustomEvent");return r.initCustomEvent(t,!1,!1,n),r}return new CustomEvent(t,{bubbles:!1,cancelable:!1,detail:n})}(this.ownerDocument,e.name,e.value);this.dispatchEvent(t)})}}return o.observedAttributes=Object.keys(i),Object.defineProperty(o.prototype,"ngElementStrategy",{enumerable:!0}),qs(n,o.prototype),o}(vf,{injector:this.injector});customElements.define("drayman-nebula",e)}}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)(We(qi))},providers:[{provide:Rs,useClass:zc}],imports:[[ll,Vc,Bd]]}),e})();(function(){if(Qn)throw new Error("Cannot enable prod mode after platform setup.");Kn=!1})(),al().bootstrapModule(bf).catch(e=>console.error(e))},zn8P:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"}});
|
|
1
|
+
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}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 i in e)n.d(r,i,(function(t){return e[t]}).bind(null,i));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=0)}({0:function(e,t,n){e.exports=n("zUnb")},eteH:function(e,t,n){e.exports=n("j4WE")},j4WE:function(e,t,n){!function(e){"use strict";function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function n(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?t(Object(i),!0).forEach((function(t){r(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):t(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function o(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}!function(e){var t=function(e){var t,n=Object.prototype,r=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=Object.create((t&&t.prototype instanceof y?t:y).prototype),o=new O(r||[]);return i._invoke=function(e,t,n){var r=d;return function(i,o){if(r===p)throw new Error("Generator is already running");if(r===f){if("throw"===i)throw o;return I()}for(n.method=i,n.arg=o;;){var s=n.delegate;if(s){var a=C(s,n);if(a){if(a===m)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var l=c(e,t,n);if("normal"===l.type){if(r=n.done?f:h,l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=f,n.method="throw",n.arg=l.arg)}}}(e,n,o),i}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d="suspendedStart",h="suspendedYield",p="executing",f="completed",m={};function y(){}function g(){}function v(){}var b={};l(b,o,(function(){return this}));var w=Object.getPrototypeOf,E=w&&w(w(L([])));E&&E!==n&&r.call(E,o)&&(b=E);var x=v.prototype=y.prototype=Object.create(b);function _(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){var n;this._invoke=function(i,o){function s(){return new t((function(n,s){!function n(i,o,s,a){var l=c(e[i],e,o);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==typeof d&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(d).then((function(e){u.value=e,s(u)}),(function(e){return n("throw",e,s,a)}))}a(l.arg)}(i,o,n,s)}))}return n=n?n.then(s,s):s()}}function C(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,C(e,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=c(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var o=i.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(e){if(e){var n=e[o];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,s=function n(){for(;++i<e.length;)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return s.next=s}}return{next:I}}function I(){return{value:t,done:!0}}return g.prototype=v,l(x,"constructor",v),l(v,"constructor",g),g.displayName=l(v,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,l(e,a,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},_(S.prototype),l(S.prototype,s,(function(){return this})),e.AsyncIterator=S,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var s=new S(u(t,n,r,i),o);return e.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},_(x),l(x,a,"Generator"),l(x,o,(function(){return this})),l(x,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=L,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return a.type="throw",a.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var s=this.tryEntries[o],a=s.completion;if("root"===s.tryLoc)return i("end");if(s.tryLoc<=this.prev){var l=r.call(s,"catchLoc"),u=r.call(s,"finallyLoc");if(l&&u){if(this.prev<s.catchLoc)return i(s.catchLoc,!0);if(this.prev<s.finallyLoc)return i(s.finallyLoc)}else if(l){if(this.prev<s.catchLoc)return i(s.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return i(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var s=o?o.completion:{};return s.type=e,s.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;T(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:L(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}({});try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}();const s=function(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const t="string"==typeof e||"number"==typeof e?[e]:e;return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/\{(\d+)\}/g,(e,n)=>void 0!==t[n]?t[n]:e)};function a(){let{initial:e="en-US",fallback:t="en-US"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n={};let r=e;return{language:e=>(e&&(r=e),r),add:e=>{const{id:t,locale:r}=e;Object.keys(r).forEach(e=>{n[e]||(n[e]={}),n[e][t]=r[e]})},get(e,i){let o;return o=n[r]&&void 0!==n[r][e]?n[r][e]:n[t]&&void 0!==n[t][e]?n[t][e]:e,void 0!==i?s(o,i):o}}}const l=function(){let{initial:e="en-US",fallback:t="en-US"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{translator:a({initial:e,fallback:t})}};var u={Cancel:{id:"Cancel",locale:{"de-DE":"Abbrechen","en-US":"Cancel","es-ES":"Cancelar","fr-FR":"Annuler","it-IT":"Annulla","ja-JP":"\u30ad\u30e3\u30f3\u30bb\u30eb","ko-KR":"\ucde8\uc18c","nl-NL":"Annuleren","pl-PL":"Anuluj","pt-BR":"Cancelar","ru-RU":"\u041e\u0442\u043c\u0435\u043d\u0430","sv-SE":"Avbryt","tr-TR":"\u0130ptal","zh-CN":"\u53d6\u6d88","zh-TW":"\u53d6\u6d88"}},CurrentSelections_All:{id:"CurrentSelections.All",locale:{"de-DE":"ALLES","en-US":"ALL","es-ES":"TODOS","fr-FR":"TOUS","it-IT":"TUTTI","ja-JP":"\u3059\u3079\u3066","ko-KR":"\ubaa8\ub450","nl-NL":"ALLE","pl-PL":"WSZYSTKO","pt-BR":"TODOS","ru-RU":"\u0412\u0421\u0415","sv-SE":"ALLA","tr-TR":"T\xdcM\xdc","zh-CN":"\u5168\u90e8","zh-TW":"\u5168\u90e8"}},CurrentSelections_Of:{id:"CurrentSelections.Of",locale:{"de-DE":"{0} von {1}","en-US":"{0} of {1}","es-ES":"{0} de {1}","fr-FR":"{0} sur {1}","it-IT":"{0} di {1}","ja-JP":"{0}/ {1}","ko-KR":"{0} / {1}","nl-NL":"{0} van {1}","pl-PL":"{0} z {1}","pt-BR":"{0} de {1}","ru-RU":"{0} \u0438\u0437 {1}","sv-SE":"{0} av {1}","tr-TR":"{0} / {1}","zh-CN":"{0}/ {1}","zh-TW":"{0}/ {1}"}},Listbox_Search:{id:"Listbox.Search",locale:{"de-DE":"In Listenfeld suchen","en-US":"Search in listbox","es-ES":"Buscar en cuadro de lista","fr-FR":"Rechercher dans la liste de s\xe9lection","it-IT":"Cerca nella casella di elenco","ja-JP":"\u30ea\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\u5185\u3092\u691c\u7d22","ko-KR":"\ubaa9\ub85d \uc0c1\uc790\uc5d0\uc11c \uac80\uc0c9","nl-NL":"Zoeken in keuzelijst","pl-PL":"Wyszukaj w li\u015bcie warto\u015bci","pt-BR":"Pesquisar na caixa de listagem","ru-RU":"\u041f\u043e\u0438\u0441\u043a \u0432 \u0441\u043f\u0438\u0441\u043a\u0435","sv-SE":"S\xf6k i listruta","tr-TR":"Liste kutusunda ara","zh-CN":"\u5728\u5217\u8868\u6846\u4e2d\u641c\u7d22","zh-TW":"\u5728\u6e05\u55ae\u65b9\u584a\u4e2d\u641c\u5c0b"}},Menu_More:{id:"Menu.More",locale:{"de-DE":"Mehr","en-US":"More","es-ES":"M\xe1s","fr-FR":"Plus","it-IT":"Altro","ja-JP":"\u8a73\u7d30","ko-KR":"\uc790\uc138\ud788","nl-NL":"Meer","pl-PL":"Wi\u0119cej","pt-BR":"Mais","ru-RU":"\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e","sv-SE":"Mer","tr-TR":"Daha fazla","zh-CN":"\u66f4\u591a","zh-TW":"\u66f4\u591a"}},Navigate_Back:{id:"Navigate.Back",locale:{"de-DE":"Schritt zur\xfcck","en-US":"Step back","es-ES":"Atr\xe1s","fr-FR":"Retour en arri\xe8re","it-IT":"Torna indietro","ja-JP":"1 \u6bb5\u968e\u623b\u308b","ko-KR":"\uc774\uc804 \ub2e8\uacc4","nl-NL":"Stap terug","pl-PL":"Krok do ty\u0142u","pt-BR":"Voltar uma etapa","ru-RU":"\u0428\u0430\u0433 \u043d\u0430\u0437\u0430\u0434","sv-SE":"G\xe5 bak\xe5t","tr-TR":"Bir ad\u0131m geri","zh-CN":"\u540e\u9000","zh-TW":"\u5012\u9000"}},Navigate_Forward:{id:"Navigate.Forward",locale:{"de-DE":"Schritt vor","en-US":"Step forward","es-ES":"Avanzar","fr-FR":"\xc9tape suivante","it-IT":"Vai avanti","ja-JP":"1\u6bb5\u968e\u9032\u3080","ko-KR":"\ub2e4\uc74c \ub2e8\uacc4","nl-NL":"Stap vooruit","pl-PL":"Krok do przodu","pt-BR":"Avan\xe7ar uma etapa","ru-RU":"\u0428\u0430\u0433 \u0432\u043f\u0435\u0440\u0435\u0434","sv-SE":"G\xe5 fram\xe5t","tr-TR":"Bir ad\u0131m ileri","zh-CN":"\u524d\u8fdb","zh-TW":"\u524d\u9032"}},OK:{id:"OK",locale:{"de-DE":"OK","en-US":"OK","es-ES":"Aceptar","fr-FR":"OK","it-IT":"OK","ja-JP":"OK","ko-KR":"\ud655\uc778","nl-NL":"OK","pl-PL":"OK","pt-BR":"OK","ru-RU":"\u041e\u041a","sv-SE":"OK","tr-TR":"Tamam","zh-CN":"\u786e\u5b9a","zh-TW":"\u78ba\u5b9a"}},Object_Update_Active:{id:"Object.Update.Active",locale:{"de-DE":"Laden von Daten","en-US":"Updating data","es-ES":"Cargando datos","fr-FR":"Chargement de donn\xe9es en cours","it-IT":"Caricamento dati in corso","ja-JP":"\u30c7\u30fc\u30bf\u306e\u30ed\u30fc\u30c9\u4e2d","ko-KR":"\ub370\uc774\ud130 \ub85c\ub4dc \uc911","nl-NL":"Gegevens worden geladen","pl-PL":"\u0141adowanie danych","pt-BR":"Carregando dados","ru-RU":"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445","sv-SE":"Laddar data","tr-TR":"Veriler y\xfckleniyor","zh-CN":"\u52a0\u8f7d\u6570\u636e","zh-TW":"\u6b63\u5728\u8f09\u5165\u8cc7\u6599"}},Object_Update_Cancelled:{id:"Object.Update.Cancelled",locale:{"de-DE":"Datenaktualisierung wurde abgebrochen","en-US":"Data update was cancelled","es-ES":"Se ha cancelado la actualizaci\xf3n de datos","fr-FR":"Mise \xe0 jour des donn\xe9es annul\xe9e","it-IT":"Aggiornamento dati annullato","ja-JP":"\u30c7\u30fc\u30bf\u306e\u66f4\u65b0\u304c\u30ad\u30e3\u30f3\u30bb\u30eb\u3055\u308c\u307e\u3057\u305f","ko-KR":"\ub370\uc774\ud130 \uc5c5\ub370\uc774\ud2b8\uac00 \ucde8\uc18c\ub418\uc5c8\uc2b5\ub2c8\ub2e4.","nl-NL":"Gegevensupdate is geannuleerd","pl-PL":"Aktualizacja danych zosta\u0142a anulowana","pt-BR":"A atualiza\xe7\xe3o de dados foi cancelada","ru-RU":"\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u0442\u043c\u0435\u043d\u0435\u043d\u043e","sv-SE":"Datauppdateringen avbr\xf6ts.","tr-TR":"Veri g\xfcncelle\u015ftirme iptal edildi","zh-CN":"\u6570\u636e\u66f4\u65b0\u5df2\u53d6\u6d88","zh-TW":"\u8cc7\u6599\u66f4\u65b0\u5df2\u53d6\u6d88"}},Retry:{id:"Retry",locale:{"de-DE":"Wiederholen","en-US":"Retry","es-ES":"Intentar de nuevo","fr-FR":"R\xe9essayer","it-IT":"Riprova","ja-JP":"\u518d\u8a66\u884c","ko-KR":"\ub2e4\uc2dc \uc2dc\ub3c4","nl-NL":"Opnieuw","pl-PL":"Pon\xf3w pr\xf3b\u0119","pt-BR":"Tentar novamente","ru-RU":"\u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c \u043f\u043e\u043f\u044b\u0442\u043a\u0443","sv-SE":"F\xf6rs\xf6k igen","tr-TR":"Yeniden dene","zh-CN":"\u91cd\u8bd5","zh-TW":"\u91cd\u8a66"}},Selection_Cancel:{id:"Selection.Cancel",locale:{"de-DE":"Auswahl abbrechen","en-US":"Cancel selection","es-ES":"Cancelar selecci\xf3n","fr-FR":"Annuler la s\xe9lection","it-IT":"Annulla selezione","ja-JP":"\u9078\u629e\u306e\u30ad\u30e3\u30f3\u30bb\u30eb","ko-KR":"\uc120\ud0dd \ucde8\uc18c","nl-NL":"Selectie annuleren","pl-PL":"Anuluj selekcj\u0119","pt-BR":"Cancelar sele\xe7\xe3o","ru-RU":"\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u044b\u0431\u043e\u0440\u043a\u0443","sv-SE":"Avbryt urval","tr-TR":"Se\xe7imi iptal et","zh-CN":"\u53d6\u6d88\u9009\u62e9","zh-TW":"\u53d6\u6d88\u9078\u53d6"}},Selection_Clear:{id:"Selection.Clear",locale:{"de-DE":"Auswahl l\xf6schen","en-US":"Clear selection","es-ES":"Borrar selecci\xf3n","fr-FR":"Effacer la s\xe9lection","it-IT":"Cancella selezione","ja-JP":"\u9078\u629e\u3092\u30af\u30ea\u30a2","ko-KR":"\uc120\ud0dd \ud574\uc81c","nl-NL":"Selectie wissen","pl-PL":"Wyczy\u015b\u0107 selekcj\u0119","pt-BR":"Limpar sele\xe7\xe3o","ru-RU":"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0432\u044b\u0431\u043e\u0440","sv-SE":"Rensa urval","tr-TR":"Se\xe7imi temizle","zh-CN":"\u6e05\u9664\u9009\u62e9","zh-TW":"\u6e05\u9664\u9078\u9805"}},Selection_ClearAll:{id:"Selection.ClearAll",locale:{"de-DE":"Alle Auswahlen l\xf6schen","en-US":"Clear all selections","es-ES":"Borrar todas las selecciones","fr-FR":"Effacer toutes les s\xe9lections","it-IT":"Cancella tutte le selezioni","ja-JP":"\u9078\u629e\u3092\u3059\u3079\u3066\u30af\u30ea\u30a2\u3059\u308b","ko-KR":"\ubaa8\ub4e0 \uc120\ud0dd \ud574\uc81c","nl-NL":"Alle selecties wissen","pl-PL":"Wyczy\u015b\u0107 wszystkie selekcje","pt-BR":"Limpar todas as sele\xe7\xf5es","ru-RU":"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u043e\u0442 \u0432\u0441\u0435\u0445 \u0432\u044b\u0431\u043e\u0440\u043e\u043a","sv-SE":"Radera alla urval","tr-TR":"T\xfcm se\xe7imleri temizle","zh-CN":"\u6e05\u9664\u6240\u6709\u9009\u62e9\u9879","zh-TW":"\u6e05\u9664\u6240\u6709\u9078\u9805"}},Selection_ClearAllStates:{id:"Selection.ClearAllStates",locale:{"de-DE":"Alle Status l\xf6schen","en-US":"Clear all states","es-ES":"Borrar todos los estados","fr-FR":"Effacer tous les \xe9tats","it-IT":"Cancella tutti gli stati","ja-JP":"\u5168\u30b9\u30c6\u30fc\u30c8\u3092\u30af\u30ea\u30a2","ko-KR":"\ubaa8\ub4e0 \uc0c1\ud0dc \uc9c0\uc6b0\uae30","nl-NL":"Alle states wissen","pl-PL":"Wyczy\u015b\u0107 wszystkie stany","pt-BR":"Limpar todos os estados","ru-RU":"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0432\u0441\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f","sv-SE":"Rensa alla tillst\xe5nd","tr-TR":"T\xfcm durumlar\u0131 temizle","zh-CN":"\u6e05\u9664\u6240\u6709\u72b6\u6001","zh-TW":"\u6e05\u9664\u6240\u6709\u72c0\u614b"}},Selection_Confirm:{id:"Selection.Confirm",locale:{"de-DE":"Auswahl best\xe4tigen","en-US":"Confirm selection","es-ES":"Confirmar selecci\xf3n","fr-FR":"Confirmer la s\xe9lection","it-IT":"Conferma selezione","ja-JP":"\u9078\u629e\u306e\u78ba\u8a8d","ko-KR":"\uc120\ud0dd \ud655\uc778","nl-NL":"Selectie bevestigen","pl-PL":"Potwierd\u017a selekcj\u0119","pt-BR":"Confirmar sele\xe7\xe3o","ru-RU":"\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044c \u0432\u044b\u0431\u043e\u0440\u043a\u0443","sv-SE":"Bekr\xe4fta urval","tr-TR":"Se\xe7imi onayla","zh-CN":"\u786e\u8ba4\u9009\u62e9","zh-TW":"\u78ba\u8a8d\u9078\u53d6"}},Selection_Menu:{id:"Selection.Menu",locale:{"de-DE":"Auswahlmen\xfc","en-US":"Selection menu","es-ES":"Men\xfa de selecci\xf3n","fr-FR":"Menu S\xe9lection","it-IT":"Menu Selezione","ja-JP":"\u9078\u629e\u30e1\u30cb\u30e5\u30fc","ko-KR":"\uc120\ud0dd \uba54\ub274","nl-NL":"Selectiemenu","pl-PL":"Menu selekcji","pt-BR":"Menu de sele\xe7\xe3o","ru-RU":'\u041c\u0435\u043d\u044e "\u0412\u044b\u0431\u043e\u0440\u043a\u0430"',"sv-SE":"Urvalsmeny","tr-TR":"Se\xe7im men\xfcs\xfc","zh-CN":"\u9009\u62e9\u83dc\u5355","zh-TW":"\u9078\u9805\u529f\u80fd\u8868"}},Selection_SelectAll:{id:"Selection.SelectAll",locale:{"de-DE":"Alle ausw\xe4hlen","en-US":"Select all","es-ES":"Seleccionar todo","fr-FR":"S\xe9lectionner tout","it-IT":"Seleziona tutto","ja-JP":"\u3059\u3079\u3066\u9078\u629e","ko-KR":"\ubaa8\ub450 \uc120\ud0dd","nl-NL":"Alles selecteren","pl-PL":"Wybierz wszystko","pt-BR":"Selecionar todos","ru-RU":"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0435","sv-SE":"V\xe4lj alla","tr-TR":"T\xfcm\xfcn\xfc se\xe7","zh-CN":"\u5168\u9009","zh-TW":"\u5168\u9078"}},Selection_SelectAlternative:{id:"Selection.SelectAlternative",locale:{"de-DE":"Alternative Werte ausw\xe4hlen","en-US":"Select alternative","es-ES":"Seleccionar alternativos","fr-FR":"S\xe9lectionner des valeurs alternatives","it-IT":"Seleziona alternativi","ja-JP":"\u4ee3\u66ff\u5024\u3092\u9078\u629e","ko-KR":"\ub300\uc548 \uc120\ud0dd","nl-NL":"Alternatief selecteren","pl-PL":"Wybierz alternatyw\u0119","pt-BR":"Selecionar alternativa","ru-RU":"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0435","sv-SE":"V\xe4lj alternativ","tr-TR":"Alternatifi se\xe7","zh-CN":"\u9009\u62e9\u66ff\u4ee3\u9879","zh-TW":"\u9078\u53d6\u66ff\u4ee3\u9078\u9805"}},Selection_SelectExcluded:{id:"Selection.SelectExcluded",locale:{"de-DE":"Ausgeschlossene Werte ausw\xe4hlen","en-US":"Select excluded","es-ES":"Seleccionar excluidos","fr-FR":"S\xe9lectionner les valeurs exclues","it-IT":"Seleziona esclusi","ja-JP":"\u9664\u5916\u5024\u3092\u9078\u629e","ko-KR":"\uc81c\uc678 \ud56d\ubaa9 \uc120\ud0dd","nl-NL":"Uitgesloten waarden selecteren","pl-PL":"Wybierz wykluczone","pt-BR":"Selecionar exclu\xeddo","ru-RU":"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0435","sv-SE":"V\xe4lj uteslutna","tr-TR":"Hari\xe7 tutulan\u0131 se\xe7","zh-CN":"\u9009\u62e9\u6392\u9664\u9879","zh-TW":"\u9078\u53d6\u6392\u9664\u503c"}},Selection_SelectPossible:{id:"Selection.SelectPossible",locale:{"de-DE":"W\xe4hlbare Werte ausw\xe4hlen","en-US":"Select possible","es-ES":"Seleccionar posibles","fr-FR":"S\xe9lectionner les valeurs possibles","it-IT":"Seleziona possibili","ja-JP":"\u7d5e\u8fbc\u5024\u3092\u9078\u629e","ko-KR":"\uc0ac\uc6a9 \uac00\ub2a5 \ud56d\ubaa9 \uc120\ud0dd","nl-NL":"Mogelijke waarden selecteren","pl-PL":"Wybierz mo\u017cliwe","pt-BR":"Selecionar poss\xedvel","ru-RU":"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0435","sv-SE":"V\xe4lj m\xf6jliga","tr-TR":"Olas\u0131y\u0131 se\xe7","zh-CN":"\u9009\u62e9\u53ef\u80fd\u503c","zh-TW":"\u9078\u53d6\u53ef\u80fd\u503c"}},Visualization_Incomplete:{id:"Visualization.Incomplete",locale:{"de-DE":"Unvollst\xe4ndige Visualisierung","en-US":"Incomplete visualization","es-ES":"Visualizaci\xf3n incompleta","fr-FR":"Visualisation incompl\xe8te","it-IT":"Visualizzazione incompleta","ja-JP":"\u672a\u5b8c\u4e86\u306e\u30d3\u30b8\u30e5\u30a2\u30e9\u30a4\u30bc\u30fc\u30b7\u30e7\u30f3","ko-KR":"\uc644\ub8cc\ub418\uc9c0 \uc54a\uc740 \uc2dc\uac01\ud654","nl-NL":"Onvolledige visualisatie","pl-PL":"Niekompletna wizualizacja","pt-BR":"Visualiza\xe7\xe3o incompleta","ru-RU":"\u041d\u0435\u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u0430\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f","sv-SE":"Ofullst\xe4ndig visualisering","tr-TR":"Tamamlanmam\u0131\u015f g\xf6rselle\u015ftirme","zh-CN":"\u4e0d\u5b8c\u6574\u7684\u53ef\u89c6\u5316","zh-TW":"\u8996\u89ba\u5316\u672a\u5b8c\u6210"}},Visualization_Incomplete_Dimensions:{id:"Visualization.Incomplete.Dimensions",locale:{"de-DE":"{0} von {1} Dimensionen","en-US":"{0} of {1} dimensions","es-ES":"{0} de {1} dimensiones","fr-FR":"{0} dimensions sur {1}","it-IT":"{0} di {1} dimensioni","ja-JP":"{0} / {1} \u8ef8","ko-KR":"{1} \ucc28\uc6d0\uc758 {0}","nl-NL":"{0} van {1} dimensies","pl-PL":"{0} z {1} wymiar\xf3w","pt-BR":"{0} de {1} dimens\xf5es","ru-RU":"\u0418\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f: {0} \u0438\u0437 {1}","sv-SE":"{0} av {1} dimensioner","tr-TR":"{0}/{1} boyut","zh-CN":"{0} / {1} \u4e2a\u7ef4\u5ea6","zh-TW":"{1} \u500b\u7dad\u5ea6\u4e2d\u7684 {0} \u500b"}},Visualization_Incomplete_Measures:{id:"Visualization.Incomplete.Measures",locale:{"de-DE":"{0} von {1} Kennzahlen","en-US":"{0} of {1} measures","es-ES":"{0} de {1} medidas","fr-FR":"{0} mesures sur {1}","it-IT":"{0} di {1} misure","ja-JP":"{0} / {1} \u30e1\u30b8\u30e3\u30fc","ko-KR":"{1} \uce21\uc815\uac12\uc758 {0}","nl-NL":"{0} van {1} metingen","pl-PL":"{0} z {1} miar","pt-BR":"{0} de {1} medidas","ru-RU":"\u041c\u0435\u0440\u044b: {0} \u0438\u0437 {1}","sv-SE":"{0} av {1} m\xe5tt","tr-TR":"{0}/{1} hesaplama","zh-CN":"{0} / {1} \u4e2a\u5ea6\u91cf","zh-TW":"{1} \u500b\u91cf\u503c\u4e2d\u7684 {0} \u500b"}},Visualization_Invalid_Dimension:{id:"Visualization.Invalid.Dimension",locale:{"de-DE":"Ung\xfcltige Dimension","en-US":"Invalid dimension","es-ES":"Dimensi\xf3n no v\xe1lida","fr-FR":"Dimension non valide","it-IT":"Dimensione non valida","ja-JP":"\u7121\u52b9\u306a\u8ef8\u3067\u3059","ko-KR":"\uc798\ubabb\ub41c \ucc28\uc6d0","nl-NL":"Ongeldige dimensie","pl-PL":"Nieprawid\u0142owy wymiar","pt-BR":"Dimens\xe3o inv\xe1lida","ru-RU":"\u041d\u0435\u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u043e\u0435 \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0435","sv-SE":"Ogiltig dimension","tr-TR":"Ge\xe7ersiz boyut","zh-CN":"\u65e0\u6548\u7ef4\u5ea6","zh-TW":"\u7dad\u5ea6\u7121\u6548"}},Visualization_Invalid_Measure:{id:"Visualization.Invalid.Measure",locale:{"de-DE":"Ung\xfcltige Kennzahl","en-US":"Invalid measure","es-ES":"Medida no v\xe1lida","fr-FR":"Mesure non valide","it-IT":"Misura non valida","ja-JP":"\u7121\u52b9\u306a\u30e1\u30b8\u30e3\u30fc\u3067\u3059","ko-KR":"\uc798\ubabb\ub41c \uce21\uc815\uac12","nl-NL":"Ongeldige meting","pl-PL":"Nieprawid\u0142owa miara","pt-BR":"Medida inv\xe1lida","ru-RU":"\u041d\u0435\u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u0430\u044f \u043c\u0435\u0440\u0430","sv-SE":"Ogiltigt m\xe5tt","tr-TR":"Ge\xe7ersiz hesaplama","zh-CN":"\u65e0\u6548\u5ea6\u91cf\u9879","zh-TW":"\u91cf\u503c\u7121\u6548"}},Visualization_LayoutError:{id:"Visualization.LayoutError",locale:{"de-DE":"Fehler","en-US":"Error","es-ES":"Error","fr-FR":"Erreur","it-IT":"Errore","ja-JP":"\u30a8\u30e9\u30fc","ko-KR":"\uc624\ub958","nl-NL":"Fout","pl-PL":"B\u0142\u0105d","pt-BR":"Erro","ru-RU":"\u041e\u0448\u0438\u0431\u043a\u0430","sv-SE":"Fel","tr-TR":"Hata","zh-CN":"\u9519\u8bef","zh-TW":"\u932f\u8aa4"}},Visualization_UnfulfilledCalculationCondition:{id:"Visualization.UnfulfilledCalculationCondition",locale:{"de-DE":"Die Berechnungsbedingung ist nicht erf\xfcllt","en-US":"The calculation condition is not fulfilled","es-ES":"La condici\xf3n de c\xe1lculo no se cumple","fr-FR":"Condition de calcul non remplie","it-IT":"La condizione di calcolo non \xe8 soddisfatta","ja-JP":"\u6f14\u7b97\u5b9f\u884c\u6761\u4ef6\u304c\u6e80\u305f\u3055\u308c\u3066\u3044\u307e\u305b\u3093","ko-KR":"\uacc4\uc0b0 \uc870\uac74\uc774 \ucda9\uc871\ub418\uc9c0 \uc54a\uc558\uc2b5\ub2c8\ub2e4.","nl-NL":"Er is niet aan de berekeningsvoorwaarde voldaan","pl-PL":"Warunek obliczenia nie jest spe\u0142niony","pt-BR":"A condi\xe7\xe3o de c\xe1lculo n\xe3o foi atendida","ru-RU":"\u0423\u0441\u043b\u043e\u0432\u0438\u0435 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u043d\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043e","sv-SE":"Ber\xe4kningsvillkoret uppfylls inte","tr-TR":"Hesaplama ko\u015fulu yerine getirilmedi","zh-CN":"\u4e0d\u6ee1\u8db3\u8ba1\u7b97\u6761\u4ef6","zh-TW":"\u4e0d\u7b26\u8a08\u7b97\u689d\u4ef6"}}};function c(e){const t=l({initial:e});return Object.keys(u).forEach(e=>{t.translator.add(u[e])}),{translator:t.translator}}var d={};function h(){h.init.call(this)}d.isObject=function(e){return"object"==typeof e&&null!==e},d.isNumber=function(e){return"number"==typeof e},d.isUndefined=function(e){return void 0===e},d.isFunction=function(e){return"function"==typeof e};var p=h;h.EventEmitter=h,h.prototype._events=void 0,h.prototype._maxListeners=void 0,h.defaultMaxListeners=10,h.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},h.prototype.setMaxListeners=function(e){if(!d.isNumber(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},h.prototype.emit=function(e){var t,n,r,i,o,s;if(this._events||(this._events={}),"error"===e&&!this._events.error)throw(t=arguments[1])instanceof Error?t:Error('Uncaught, unspecified "error" event.');if(d.isUndefined(n=this._events[e]))return!1;if(d.isFunction(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:for(r=arguments.length,i=new Array(r-1),o=1;o<r;o++)i[o-1]=arguments[o];n.apply(this,i)}else if(d.isObject(n)){for(r=arguments.length,i=new Array(r-1),o=1;o<r;o++)i[o-1]=arguments[o];for(r=(s=n.slice()).length,o=0;o<r;o++)s[o].apply(this,i)}return!0},h.prototype.on=h.prototype.addListener=function(e,t){var n;if(!d.isFunction(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,d.isFunction(t.listener)?t.listener:t),this._events[e]?d.isObject(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,d.isObject(this._events[e])&&!this._events[e].warned&&(n=d.isUndefined(this._maxListeners)?h.defaultMaxListeners:this._maxListeners)&&n>0&&this._events[e].length>n&&(this._events[e].warned=!0,d.isFunction(console.error)&&console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),d.isFunction(console.trace)&&console.trace()),this},h.prototype.once=function(e,t){if(!d.isFunction(t))throw TypeError("listener must be a function");var n=!1;function r(){this.removeListener(e,r),n||(n=!0,t.apply(this,arguments))}return r.listener=t,this.on(e,r),this},h.prototype.removeListener=function(e,t){var n,r,i,o;if(!d.isFunction(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(i=(n=this._events[e]).length,r=-1,n===t||d.isFunction(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(d.isObject(n)){for(o=i;o-- >0;)if(n[o]===t||n[o].listener&&n[o].listener===t){r=o;break}if(r<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},h.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(d.isFunction(n=this._events[e]))this.removeListener(e,n);else if(Array.isArray(n))for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},h.prototype.listeners=function(e){return this._events&&this._events[e]?d.isFunction(this._events[e])?[this._events[e]]:this._events[e].slice():[]},h.listenerCount=function(e,t){return e._events&&e._events[t]?d.isFunction(e._events[t])?1:e._events[t].length:0};var f=Object.prototype.hasOwnProperty,m=Object.prototype.toString,y=Object.defineProperty,g=Object.getOwnPropertyDescriptor,v=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===m.call(e)},b=function(e){if(!e||"[object Object]"!==m.call(e))return!1;var t,n=f.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&f.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||f.call(e,t)},w=function(e,t){y&&"__proto__"===t.name?y(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},E=function(e,t){if("__proto__"===t){if(!f.call(e,t))return;if(g)return g(e,t).value}return e[t]},x=function e(){var t,n,r,i,o,s,a=arguments[0],l=1,u=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[1]||{},l=2),(null==a||"object"!=typeof a&&"function"!=typeof a)&&(a={});l<u;++l)if(null!=(t=arguments[l]))for(n in t)r=E(a,n),a!==(i=E(t,n))&&(c&&i&&(b(i)||(o=v(i)))?(o?(o=!1,s=r&&v(r)?r:[]):s=r&&b(r)?r:{},w(a,{name:n,newValue:e(c,s,i)})):void 0!==i&&w(a,{name:n,newValue:i}));return a},_={fontSize:"13px",fontFamily:"'Source Sans Pro', 'Arial', 'sans-serif'",backgroundColor:"transparent",dataColors:{primaryColor:"#26a0a7",othersColor:"#a5a5a5",errorColor:"#ff4444",nullColor:"#d2d2d2"},scales:[{name:"Sequential Gradient",translation:"properties.colorScheme.sequential",type:"gradient",propertyValue:"sg",scale:["#26a0a7","#c7ea8b"]},{name:"Sequential Classes",translation:"properties.colorScheme.sequentialC",propertyValue:"sc",type:"class",scale:["#26a0a7","#c7ea8b"]},{name:"Diverging gradient",translation:"properties.colorScheme.diverging",propertyValue:"dg",type:"gradient",scale:["#26a0a7","#c3ea8c","#ec983d"]},{name:"Diverging Classes",translation:"properties.colorScheme.divergingC",propertyValue:"dc",type:"class",scale:["#26a0a7","#c3ea8c","#ec983d"]}],palettes:{data:[{name:"12 Colors",translation:"properties.colorNumberOfColors.12",propertyValue:"12",type:"pyramid",scale:[["#26A0A7"],["#26A0A7","#EC983D"],["#26A0A7","#CBE989","#EC983D"],["#26A0A7","#79D69F","#F9EC86","#EC983D"],["#26A0A7","#79D69F","#CBE989","#F9EC86","#EC983D"],["#26A0A7","#65D3DA","#79D69F","#CBE989","#F9EC86","#EC983D"],["#26A0A7","#65D3DA","#79D69F","#CBE989","#F9EC86","#EC983D","#D76C6C"],["#26A0A7","#65D3DA","#79D69F","#CBE989","#F9EC86","#FAD144","#EC983D","#D76C6C"],["#138185","#26A0A7","#65D3DA","#79D69F","#CBE989","#F9EC86","#FAD144","#EC983D","#D76C6C"],["#138185","#26A0A7","#65D3DA","#79D69F","#CBE989","#EBF898","#F9EC86","#FAD144","#EC983D","#D76C6C"],["#138185","#26A0A7","#65D3DA","#79D69F","#CBE989","#EBF898","#F9EC86","#FAD144","#EC983D","#D76C6C","#A54343"],["#138185","#26A0A7","#65D3DA","#79D69F","#70BA6E","#CBE989","#EBF898","#F9EC86","#FAD144","#EC983D","#D76C6C","#A54343"]]}],ui:[{name:"Palette",colors:["#b0afae","#7b7a78","#a54343","#d76c6c","#ec983d","#ecc43d","#f9ec86","#cbe989","#70ba6e","#578b60","#79d69f","#26a0a7","#138185","#65d3da","#ffffff","#000000"]}]}},S={_variables:{"@B20":"#333333","@B35":"#595959","@B45":"#737373","@B50":"#808080","@B60":"#999999","@B80":"#cccccc","@B90":"#e6e6e6","@B98":"#fbfbfb","@B100":"#ffffff","@H1":"24px","@H2":"18px","@H3":"14px","@H4":"13px","@H5":"12px","@H6":"10px"},type:"light",color:"@B35"},C={_variables:{"@B20":"#333333","@B35":"#595959","@B45":"#737373","@B50":"#808080","@B60":"#999999","@B80":"#cccccc","@B90":"#e6e6e6","@B98":"#fbfbfb","@B100":"#ffffff","@H1":"24px","@H2":"18px","@H3":"14px","@H4":"13px","@H5":"12px","@H6":"10px"},type:"dark",color:"@B98"};function k(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function T(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function O(){}var L=.7,I=1/L,R="\\s*([+-]?\\d+)\\s*",P="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",N="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",A=/^#([0-9a-f]{3,8})$/,D=new RegExp("^rgb\\("+[R,R,R]+"\\)$"),M=new RegExp("^rgb\\("+[N,N,N]+"\\)$"),q=new RegExp("^rgba\\("+[R,R,R,P]+"\\)$"),j=new RegExp("^rgba\\("+[N,N,N,P]+"\\)$"),F=new RegExp("^hsl\\("+[P,N,N]+"\\)$"),z=new RegExp("^hsla\\("+[P,N,N,P]+"\\)$"),B={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function H(){return this.rgb().formatHex()}function V(){return this.rgb().formatRgb()}function W(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=A.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?U(t):3===n?new Z(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?$(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?$(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=D.exec(e))?new Z(t[1],t[2],t[3],1):(t=M.exec(e))?new Z(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=q.exec(e))?$(t[1],t[2],t[3],t[4]):(t=j.exec(e))?$(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=F.exec(e))?Y(t[1],t[2]/100,t[3]/100,1):(t=z.exec(e))?Y(t[1],t[2]/100,t[3]/100,t[4]):B.hasOwnProperty(e)?U(B[e]):"transparent"===e?new Z(NaN,NaN,NaN,0):null}function U(e){return new Z(e>>16&255,e>>8&255,255&e,1)}function $(e,t,n,r){return r<=0&&(e=t=n=NaN),new Z(e,t,n,r)}function Q(e){return e instanceof O||(e=W(e)),e?new Z((e=e.rgb()).r,e.g,e.b,e.opacity):new Z}function K(e,t,n,r){return 1===arguments.length?Q(e):new Z(e,t,n,null==r?1:r)}function Z(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function G(){return"#"+J(this.r)+J(this.g)+J(this.b)}function X(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function J(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function Y(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new te(e,t,n,r)}function ee(e){if(e instanceof te)return new te(e.h,e.s,e.l,e.opacity);if(e instanceof O||(e=W(e)),!e)return new te;if(e instanceof te)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),s=NaN,a=o-i,l=(o+i)/2;return a?(s=t===o?(n-r)/a+6*(n<r):n===o?(r-t)/a+2:(t-n)/a+4,a/=l<.5?o+i:2-o-i,s*=60):a=l>0&&l<1?0:s,new te(s,a,l,e.opacity)}function te(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function ne(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}k(O,W,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:H,formatHex:H,formatHsl:function(){return ee(this).formatHsl()},formatRgb:V,toString:V}),k(Z,K,T(O,{brighter:function(e){return e=null==e?I:Math.pow(I,e),new Z(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?L:Math.pow(L,e),new Z(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:G,formatHex:G,formatRgb:X,toString:X})),k(te,(function(e,t,n,r){return 1===arguments.length?ee(e):new te(e,t,n,null==r?1:r)}),T(O,{brighter:function(e){return e=null==e?I:Math.pow(I,e),new te(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?L:Math.pow(L,e),new te(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new Z(ne(e>=240?e-240:e+120,i,r),ne(e,i,r),ne(e<120?e+240:e-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));class re{constructor(e){this.colorParts=[],this.startLevel=0,this.max=1,this.min=0,this.nanColor=W(e)}addColorPart(e,t,n){n=n||0,this.startLevel=Math.max(n,this.startLevel),this.colorParts[n]||(this.colorParts[n]=[]),this.colorParts[n].push([W(e),W(t)])}getColor(e,t){const n=e-this.min;if(Number.isNaN(+e)||Number.isNaN(+n))return this.nanColor;t=function(e,t){return Math.min(t||e.startLevel,e.colorParts.length-1)}(this,t);const r=function(e,t){return t-(e=Math.min(Math.max(e,1e-12),.999999999999))*t}(n,this.colorParts[t].length);let i=Math.floor(r);i=i===r?i-1:i;const o=this.colorParts[t][i],s=o[0],a=o[1];return e===this.min?a:e===this.max?s:function(e,t,n){return K(Math.floor(e.r+(t.r-e.r)*n),Math.floor(e.g+(t.g-e.g)*n),Math.floor(e.b+(t.b-e.b)*n),Math.floor(e.opacity+(t.opacity-e.opacity)*n))}(s,a,r-i)}}function ie(e,t,n){const r=.25+(t+1)/n*.25,i=.5-r;return i+e/1*(.5+r-i)}function oe(e,t,n){const r=[],i=new re(t);r.push(e[0]),n||r.push(e[0]);let o=1;for(;o<e.length-1;o++)r.push(e[o]),r.push(e[o]);r.push(e[o]),n||r.push(e[o]);for(let s=0;s<r.length;s+=2)i.addColorPart(r[s],r[s+1]);return i}function se(e,t,n){const r=[];for(let i=0;i<t+1;i++){let o;switch(t){case 0:o=e.getColor(.5);break;default:{const r=ie(1/t*i,t,n);o=e.getColor(r);break}}r.push(W(o).formatHex())}return r}function ae(e,t,n){const r=oe(e,n,!0),i=oe(se(r,t-1,t),n,!1),o=[null];for(let s=0;s<t;s++)o.push(se(i,s,t));return o}function le(e,t){let n=e;for(let r=0;r<t.length;r++){if(!n[t[r]])return null;n=n[t[r]]}return n}function ue(e,t){const n=e.split(".");return{getStyle:(e,r)=>function(e,t,n,r){let i;return i=function(e,t){const n=[];let r,i;if(e){let o=e.length;for(;o>=0;){for(r=t.slice(),i=r.length;i>=0;)n.push(r.concat(e)),r.pop(),i--;e.pop(),o--}}else for(r=t.slice(),i=r.length;i>=0;)n.push(r.concat()),r.pop(),i--;return n}(""===e?null:e.split("."),n),function(e,t,n){for(let r=0;r<e.length;r++){const i=le(n,e[r]);if(null!==i&&i[t])return i[t]}}(i,t,r)}(e,r,n.concat(),t)}}function ce(e){const t=W(e).rgb(),{r:n,g:r,b:i}=t,[o,s,a]=[n,r,i].map(e=>e/255),[l,u,c]=[o,s,a].map(e=>e<=.03928?e/12.92:((e+.055)/1.055)**2.4);return+(.2126*l+.7152*u+.0722*c).toFixed(5)}function de(e,t){return+((Math.max(e,t)+.05)/(Math.min(e,t)+.05)).toFixed(5)}function he(){let e,t,n,r={};const i={getDataColorScales:()=>t.dataScales(),getDataColorPalettes:()=>t.dataPalettes(),getDataColorPickerPalettes:()=>t.uiPalettes(),getDataColorSpecials:()=>t.dataColors(),getColorPickerColor(){return t.uiColor(...arguments)},getContrastingColorTo:e=>n.getBestContrastColor(e),getStyle:(t,n,i)=>(r[t]||(r[t]=ue(t,e)),r[t].getStyle(n,i,!1))},o={setTheme(o,s){e=function(e,t){const n=x(!0,{},_,"dark"===e.type?C:S),r=x(!0,{},n,{scales:null,palettes:{data:null,ui:null}},e);return r.palettes.data&&r.palettes.data.length||(r.palettes.data=n.palettes.data),r.palettes.ui&&r.palettes.ui.length||(r.palettes.ui=n.palettes.ui),r.scales&&r.scales.length||(r.scales=n.scales),t(r)}(o,ue.resolveRawTheme),r={},t=function(e){let t;return{dataScales(){const t=[];return e.scales.forEach(e=>{t.push({key:e.propertyValue,name:e.name,translation:e.translation,scheme:!0,type:e.type,colors:e.scale})}),t},dataPalettes(){const t=[];return e.palettes.data.forEach(e=>{t.push({key:e.propertyValue,name:e.name,translation:e.translation,type:e.type,colors:e.scale})}),t},uiPalettes(){const t=[];return e.palettes.ui.forEach(e=>{t.push({key:"ui",name:e.name,translation:e.translation,type:"row",colors:e.colors})}),t},dataColors:()=>({primary:e.dataColors.primaryColor,nil:e.dataColors.nullColor,others:e.dataColors.othersColor}),uiColor(e){return e.index<0||void 0===e.index?e.color:(void 0===t&&(t=this.uiPalettes()[0]||!1),t?void 0===t.colors[e.index]?e.color:t.colors[e.index]:e.color)}}}(e);const a=i.getStyle("","","color"),l=ce(a);n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["#333333","#ffffff"],t={},n=0;const r=e.map(ce);return{getBestContrastColor(i){if(!t[i]){n>1e3&&(t={},n=0);const o=ce(i),s=r.map(e=>de(o,e)),a=e[s.indexOf(Math.max(...s))];t[i]=a,n++}return t[i]}}}([a,l<.2?"#ffffff":"#333333"]),i.emit("changed"),i.name=()=>s}};return Object.keys(p.prototype).forEach(e=>{i[e]=p.prototype[e]}),p.init(i),o.setTheme({},"light"),{externalAPI:i,internalAPI:o}}ue.resolveRawTheme=e=>{const t=x(!0,{},e);return function e(t,n){Object.keys(t).forEach(r=>{"object"==typeof t[r]&&null!==t[r]?e(t[r],n):"string"==typeof t[r]&&"@"===t[r].charAt(0)&&(t[r]=n[t[r]])})}(t,t._variables),t.scales&&function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#d2d2d2";e.forEach(e=>{if("class"===e.type){const n=ae(e.scale,Math.max(e.scale.length,7),t);e.scale=n,e.type="class-pyramid"}})}(t.scales,t.dataColors&&t.dataColors.nullColor),t};const pe=(e,t)=>new Promise(n=>setTimeout(()=>n(t),e));function fe(){let{themes:e=[],root:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=he();return{setTheme:async r=>{const i=e.filter(e=>e.id===r)[0];let o="dark"===r?"dark":"light";if(i&&i.load)try{const e=await Promise.race([i.load(),pe(5e3,{__timedOut:!0})]);e.__timedOut||(o="dark"===e.type?"dark":"light",n.internalAPI.setTheme(e,r),t.setMuiThemeName(o))}catch(e){}else n.internalAPI.setTheme({type:o},r),t.setMuiThemeName(o)},externalAPI:n.externalAPI}}function me(e){return"auto"!==e?e:function(){let e=!1;return window.PointerEvent&&"maxTouchPoints"in navigator?navigator.maxTouchPoints>0&&(e=!0):(window.matchMedia&&window.matchMedia("(any-pointer:coarse)").matches||window.TouchEvent||"ontouchstart"in window)&&(e=!0),e}()?"touch":"desktop"}var ye={exports:{}},ge={},ve=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable;function Ee(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var xe=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,r,i=Ee(e),o=1;o<arguments.length;o++){for(var s in n=Object(arguments[o]))be.call(n,s)&&(i[s]=n[s]);if(ve){r=ve(n);for(var a=0;a<r.length;a++)we.call(n,r[a])&&(i[r[a]]=n[r[a]])}}return i},_e=xe,Se=60103,Ce=60106;ge.Fragment=60107,ge.StrictMode=60108,ge.Profiler=60114;var ke=60109,Te=60110,Oe=60112;ge.Suspense=60113;var Le=60115,Ie=60116;if("function"==typeof Symbol&&Symbol.for){var Re=Symbol.for;Se=Re("react.element"),Ce=Re("react.portal"),ge.Fragment=Re("react.fragment"),ge.StrictMode=Re("react.strict_mode"),ge.Profiler=Re("react.profiler"),ke=Re("react.provider"),Te=Re("react.context"),Oe=Re("react.forward_ref"),ge.Suspense=Re("react.suspense"),Le=Re("react.memo"),Ie=Re("react.lazy")}var Pe="function"==typeof Symbol&&Symbol.iterator;function Ne(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 Ae={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},De={};function Me(e,t,n){this.props=e,this.context=t,this.refs=De,this.updater=n||Ae}function qe(){}function je(e,t,n){this.props=e,this.context=t,this.refs=De,this.updater=n||Ae}Me.prototype.isReactComponent={},Me.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(Ne(85));this.updater.enqueueSetState(this,e,t,"setState")},Me.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},qe.prototype=Me.prototype;var Fe=je.prototype=new qe;Fe.constructor=je,_e(Fe,Me.prototype),Fe.isPureReactComponent=!0;var ze={current:null},Be=Object.prototype.hasOwnProperty,He={key:!0,ref:!0,__self:!0,__source:!0};function Ve(e,t,n){var r,i={},o=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(o=""+t.key),t)Be.call(t,r)&&!He.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(1===a)i.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps)void 0===i[r]&&(i[r]=a[r]);return{$$typeof:Se,type:e,key:o,ref:s,props:i,_owner:ze.current}}function We(e){return"object"==typeof e&&null!==e&&e.$$typeof===Se}var Ue=/\/+/g;function $e(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 Qe(e,t,n){if(null==e)return e;var r=[],i=0;return function e(t,n,r,i,o){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var a=!1;if(null===t)a=!0;else switch(s){case"string":case"number":a=!0;break;case"object":switch(t.$$typeof){case Se:case Ce:a=!0}}if(a)return o=o(a=t),t=""===i?"."+$e(a,0):i,Array.isArray(o)?(r="",null!=t&&(r=t.replace(Ue,"$&/")+"/"),e(o,n,r,"",(function(e){return e}))):null!=o&&(We(o)&&(o=function(e,t){return{$$typeof:Se,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,r+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(Ue,"$&/")+"/")+t)),n.push(o)),1;if(a=0,i=""===i?".":i+":",Array.isArray(t))for(var l=0;l<t.length;l++){var u=i+$e(s=t[l],l);a+=e(s,n,r,u,o)}else if("function"==typeof(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Pe&&e[Pe]||e["@@iterator"])?e:null}(t)))for(t=u.call(t),l=0;!(s=t.next()).done;)a+=e(s=s.value,n,r,u=i+$e(s,l++),o);else if("object"===s)throw n=""+t,Error(Ne(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n));return a}(e,r,"","",(function(e){return t.call(n,e,i++)})),r}function Ke(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,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)}))}if(1===e._status)return e._result;throw e._result}var Ze={current:null};function Ge(){var e=Ze.current;if(null===e)throw Error(Ne(321));return e}var Xe={ReactCurrentDispatcher:Ze,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:ze,IsSomeRendererActing:{current:!1},assign:_e};ge.Children={map:Qe,forEach:function(e,t,n){Qe(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return Qe(e,(function(){t++})),t},toArray:function(e){return Qe(e,(function(e){return e}))||[]},only:function(e){if(!We(e))throw Error(Ne(143));return e}},ge.Component=Me,ge.PureComponent=je,ge.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Xe,ge.cloneElement=function(e,t,n){if(null==e)throw Error(Ne(267,e));var r=_e({},e.props),i=e.key,o=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,s=ze.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)Be.call(t,l)&&!He.hasOwnProperty(l)&&(r[l]=void 0===t[l]&&void 0!==a?a[l]:t[l])}var l=arguments.length-2;if(1===l)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:Se,type:e.type,key:i,ref:o,props:r,_owner:s}},ge.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:Te,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:ke,_context:e},e.Consumer=e},ge.createElement=Ve,ge.createFactory=function(e){var t=Ve.bind(null,e);return t.type=e,t},ge.createRef=function(){return{current:null}},ge.forwardRef=function(e){return{$$typeof:Oe,render:e}},ge.isValidElement=We,ge.lazy=function(e){return{$$typeof:Ie,_payload:{_status:-1,_result:e},_init:Ke}},ge.memo=function(e,t){return{$$typeof:Le,type:e,compare:void 0===t?null:t}},ge.useCallback=function(e,t){return Ge().useCallback(e,t)},ge.useContext=function(e,t){return Ge().useContext(e,t)},ge.useDebugValue=function(){},ge.useEffect=function(e,t){return Ge().useEffect(e,t)},ge.useImperativeHandle=function(e,t,n){return Ge().useImperativeHandle(e,t,n)},ge.useLayoutEffect=function(e,t){return Ge().useLayoutEffect(e,t)},ge.useMemo=function(e,t){return Ge().useMemo(e,t)},ge.useReducer=function(e,t,n){return Ge().useReducer(e,t,n)},ge.useRef=function(e){return Ge().useRef(e)},ge.useState=function(e){return Ge().useState(e)},ge.version="17.0.2",ye.exports=ge;var Je=ye.exports,Ye={exports:{}},et={},tt={exports:{}},nt={};!function(e){var t,n,r,i;if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var l=null,u=null,c=function(){if(null!==l)try{var t=e.unstable_now();l(!0,t),l=null}catch(e){throw setTimeout(c,0),e}};t=function(e){null!==l?setTimeout(t,0,e):(l=e,setTimeout(c,0))},n=function(e,t){u=setTimeout(e,t)},r=function(){clearTimeout(u)},e.unstable_shouldYield=function(){return!1},i=e.unstable_forceFrameRate=function(){}}else{var d=window.setTimeout,h=window.clearTimeout;if("undefined"!=typeof console){var p=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://reactjs.org/link/react-polyfills"),"function"!=typeof p&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var f=!1,m=null,y=-1,g=5,v=0;e.unstable_shouldYield=function(){return e.unstable_now()>=v},i=function(){},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):g=0<e?Math.floor(1e3/e):5};var b=new MessageChannel,w=b.port2;b.port1.onmessage=function(){if(null!==m){var t=e.unstable_now();v=t+g;try{m(!0,t)?w.postMessage(null):(f=!1,m=null)}catch(e){throw w.postMessage(null),e}}else f=!1},t=function(e){m=e,f||(f=!0,w.postMessage(null))},n=function(t,n){y=d((function(){t(e.unstable_now())}),n)},r=function(){h(y),y=-1}}function E(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,i=e[r];if(!(void 0!==i&&0<S(i,t)))break e;e[r]=t,e[n]=i,n=r}}function x(e){return void 0===(e=e[0])?null:e}function _(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r<i;){var o=2*(r+1)-1,s=e[o],a=o+1,l=e[a];if(void 0!==s&&0>S(s,n))void 0!==l&&0>S(l,s)?(e[r]=l,e[a]=n,r=a):(e[r]=s,e[o]=n,r=o);else{if(!(void 0!==l&&0>S(l,n)))break e;e[r]=l,e[a]=n,r=a}}}return t}return null}function S(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var C=[],k=[],T=1,O=null,L=3,I=!1,R=!1,P=!1;function N(e){for(var t=x(k);null!==t;){if(null===t.callback)_(k);else{if(!(t.startTime<=e))break;_(k),t.sortIndex=t.expirationTime,E(C,t)}t=x(k)}}function A(e){if(P=!1,N(e),!R)if(null!==x(C))R=!0,t(D);else{var r=x(k);null!==r&&n(A,r.startTime-e)}}function D(t,i){R=!1,P&&(P=!1,r()),I=!0;var o=L;try{for(N(i),O=x(C);null!==O&&(!(O.expirationTime>i)||t&&!e.unstable_shouldYield());){var s=O.callback;if("function"==typeof s){O.callback=null,L=O.priorityLevel;var a=s(O.expirationTime<=i);i=e.unstable_now(),"function"==typeof a?O.callback=a:O===x(C)&&_(C),N(i)}else _(C);O=x(C)}if(null!==O)var l=!0;else{var u=x(k);null!==u&&n(A,u.startTime-i),l=!1}return l}finally{O=null,L=o,I=!1}}var M=i;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){R||I||(R=!0,t(D))},e.unstable_getCurrentPriorityLevel=function(){return L},e.unstable_getFirstCallbackNode=function(){return x(C)},e.unstable_next=function(e){switch(L){case 1:case 2:case 3:var t=3;break;default:t=L}var n=L;L=t;try{return e()}finally{L=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=M,e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=L;L=e;try{return t()}finally{L=n}},e.unstable_scheduleCallback=function(i,o,s){var a=e.unstable_now();switch(s="object"==typeof s&&null!==s&&"number"==typeof(s=s.delay)&&0<s?a+s:a,i){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return i={id:T++,callback:o,priorityLevel:i,startTime:s,expirationTime:l=s+l,sortIndex:-1},s>a?(i.sortIndex=s,E(k,i),null===x(C)&&i===x(k)&&(P?r():P=!0,n(A,s-a))):(i.sortIndex=l,E(C,i),R||I||(R=!0,t(D))),i},e.unstable_wrapCallback=function(e){var t=L;return function(){var n=L;L=t;try{return e.apply(this,arguments)}finally{L=n}}}}(nt),tt.exports=nt;var rt=ye.exports,it=xe,ot=tt.exports;function st(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(!rt)throw Error(st(227));var at=new Set,lt={};function ut(e,t){ct(e,t),ct(e+"Capture",t)}function ct(e,t){for(lt[e]=t,e=0;e<t.length;e++)at.add(t[e])}var dt=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),ht=/^[: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]*$/,pt=Object.prototype.hasOwnProperty,ft={},mt={};function yt(e,t,n,r,i,o,s){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var gt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){gt[e]=new yt(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];gt[t]=new yt(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){gt[e]=new yt(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){gt[e]=new yt(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){gt[e]=new yt(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){gt[e]=new yt(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){gt[e]=new yt(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){gt[e]=new yt(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){gt[e]=new yt(e,5,!1,e.toLowerCase(),null,!1,!1)}));var vt=/[\-:]([a-z])/g;function bt(e){return e[1].toUpperCase()}function wt(e,t,n,r){var i=gt.hasOwnProperty(t)?gt[t]:null;(null!==i?0===i.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,i,r)&&(n=null),r||null===i?function(e){return!!pt.call(mt,e)||!pt.call(ft,e)&&(ht.test(e)?mt[e]=!0:(ft[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"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(vt,bt);gt[t]=new yt(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(vt,bt);gt[t]=new yt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(vt,bt);gt[t]=new yt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){gt[e]=new yt(e,1,!1,e.toLowerCase(),null,!1,!1)})),gt.xlinkHref=new yt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){gt[e]=new yt(e,1,!1,e.toLowerCase(),null,!0,!0)}));var Et=rt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,xt=60103,_t=60106,St=60107,Ct=60108,kt=60114,Tt=60109,Ot=60110,Lt=60112,It=60113,Rt=60120,Pt=60115,Nt=60116,At=60121,Dt=60128,Mt=60129,qt=60130,jt=60131;if("function"==typeof Symbol&&Symbol.for){var Ft=Symbol.for;xt=Ft("react.element"),_t=Ft("react.portal"),St=Ft("react.fragment"),Ct=Ft("react.strict_mode"),kt=Ft("react.profiler"),Tt=Ft("react.provider"),Ot=Ft("react.context"),Lt=Ft("react.forward_ref"),It=Ft("react.suspense"),Rt=Ft("react.suspense_list"),Pt=Ft("react.memo"),Nt=Ft("react.lazy"),At=Ft("react.block"),Ft("react.scope"),Dt=Ft("react.opaque.id"),Mt=Ft("react.debug_trace_mode"),qt=Ft("react.offscreen"),jt=Ft("react.legacy_hidden")}var zt,Bt="function"==typeof Symbol&&Symbol.iterator;function Ht(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Bt&&e[Bt]||e["@@iterator"])?e:null}function Vt(e){if(void 0===zt)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);zt=t&&t[1]||""}return"\n"+zt+e}var Wt=!1;function Ut(e,t){if(!e||Wt)return"";Wt=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(e){if(e&&r&&"string"==typeof e.stack){for(var i=e.stack.split("\n"),o=r.stack.split("\n"),s=i.length-1,a=o.length-1;1<=s&&0<=a&&i[s]!==o[a];)a--;for(;1<=s&&0<=a;s--,a--)if(i[s]!==o[a]){if(1!==s||1!==a)do{if(s--,0>--a||i[s]!==o[a])return"\n"+i[s].replace(" at new "," at ")}while(1<=s&&0<=a);break}}}finally{Wt=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Vt(e):""}function $t(e){switch(e.tag){case 5:return Vt(e.type);case 16:return Vt("Lazy");case 13:return Vt("Suspense");case 19:return Vt("SuspenseList");case 0:case 2:case 15:return Ut(e.type,!1);case 11:return Ut(e.type.render,!1);case 22:return Ut(e.type._render,!1);case 1:return Ut(e.type,!0);default:return""}}function Qt(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 St:return"Fragment";case _t:return"Portal";case kt:return"Profiler";case Ct:return"StrictMode";case It:return"Suspense";case Rt:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Ot:return(e.displayName||"Context")+".Consumer";case Tt:return(e._context.displayName||"Context")+".Provider";case Lt:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case Pt:return Qt(e.type);case At:return Qt(e._render);case Nt:t=e._payload,e=e._init;try{return Qt(e(t))}catch(e){}}return null}function Kt(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Zt(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Gt(e){e._valueTracker||(e._valueTracker=function(e){var t=Zt(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 i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.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 Xt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Zt(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Jt(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 Yt(e,t){var n=t.checked;return it({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function en(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Kt(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 tn(e,t){null!=(t=t.checked)&&wt(e,"checked",t,!1)}function nn(e,t){tn(e,t);var n=Kt(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")?on(e,t.type,n):t.hasOwnProperty("defaultValue")&&on(e,t.type,Kt(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function rn(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(("submit"===r||"reset"===r)&&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 on(e,t,n){"number"===t&&Jt(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function sn(e,t){return e=it({children:void 0},t),(t=function(e){var t="";return rt.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function an(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Kt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function ln(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(st(91));return it({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function un(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(st(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(st(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Kt(n)}}function cn(e,t){var n=Kt(t.value),r=Kt(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 dn(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var hn="http://www.w3.org/1999/xhtml";function pn(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 fn(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?pn(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var mn,yn,gn=(yn=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((mn=mn||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=mn.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return yn(e,t)}))}:yn);function vn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var bn={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},wn=["Webkit","ms","Moz","O"];function En(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||bn.hasOwnProperty(e)&&bn[e]?(""+t).trim():t+"px"}function xn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=En(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(bn).forEach((function(e){wn.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),bn[t]=bn[e]}))}));var _n=it({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 Sn(e,t){if(t){if(_n[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(st(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(st(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(st(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(st(62))}}function Cn(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}}function kn(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Tn=null,On=null,Ln=null;function In(e){if(e=Jo(e)){if("function"!=typeof Tn)throw Error(st(280));var t=e.stateNode;t&&(t=es(t),Tn(e.stateNode,e.type,t))}}function Rn(e){On?Ln?Ln.push(e):Ln=[e]:On=e}function Pn(){if(On){var e=On,t=Ln;if(Ln=On=null,In(e),t)for(e=0;e<t.length;e++)In(t[e])}}function Nn(e,t){return e(t)}function An(e,t,n,r,i){return e(t,n,r,i)}function Dn(){}var Mn=Nn,qn=!1,jn=!1;function Fn(){null===On&&null===Ln||(Dn(),Pn())}function zn(e,t){var n=e.stateNode;if(null===n)return null;var r=es(n);if(null===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(st(231,t,typeof n));return n}var Bn=!1;if(dt)try{var Hn={};Object.defineProperty(Hn,"passive",{get:function(){Bn=!0}}),window.addEventListener("test",Hn,Hn),window.removeEventListener("test",Hn,Hn)}catch(yn){Bn=!1}function Vn(e,t,n,r,i,o,s,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var Wn=!1,Un=null,$n=!1,Qn=null,Kn={onError:function(e){Wn=!0,Un=e}};function Zn(e,t,n,r,i,o,s,a,l){Wn=!1,Un=null,Vn.apply(Kn,arguments)}function Gn(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Xn(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 Jn(e){if(Gn(e)!==e)throw Error(st(188))}function Yn(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Gn(e)))throw Error(st(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return Jn(i),e;if(o===r)return Jn(i),t;o=o.sibling}throw Error(st(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,a=i.child;a;){if(a===n){s=!0,n=i,r=o;break}if(a===r){s=!0,r=i,n=o;break}a=a.sibling}if(!s){for(a=o.child;a;){if(a===n){s=!0,n=o,r=i;break}if(a===r){s=!0,r=o,n=i;break}a=a.sibling}if(!s)throw Error(st(189))}}if(n.alternate!==r)throw Error(st(190))}if(3!==n.tag)throw Error(st(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 er(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var tr,nr,rr,ir,or=!1,sr=[],ar=null,lr=null,ur=null,cr=new Map,dr=new Map,hr=[],pr="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function fr(e,t,n,r,i){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:i,targetContainers:[r]}}function mr(e,t){switch(e){case"focusin":case"focusout":ar=null;break;case"dragenter":case"dragleave":lr=null;break;case"mouseover":case"mouseout":ur=null;break;case"pointerover":case"pointerout":cr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":dr.delete(t.pointerId)}}function yr(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e=fr(t,n,r,i,o),null!==t&&null!==(t=Jo(t))&&nr(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function gr(e){var t=Xo(e.target);if(null!==t){var n=Gn(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Xn(n)))return e.blockedOn=t,void ir(e.lanePriority,(function(){ot.unstable_runWithPriority(e.priority,(function(){rr(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function vr(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Jr(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=Jo(n))&&nr(t),e.blockedOn=n,!1;t.shift()}return!0}function br(e,t,n){vr(e)&&n.delete(t)}function wr(){for(or=!1;0<sr.length;){var e=sr[0];if(null!==e.blockedOn){null!==(e=Jo(e.blockedOn))&&tr(e);break}for(var t=e.targetContainers;0<t.length;){var n=Jr(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&sr.shift()}null!==ar&&vr(ar)&&(ar=null),null!==lr&&vr(lr)&&(lr=null),null!==ur&&vr(ur)&&(ur=null),cr.forEach(br),dr.forEach(br)}function Er(e,t){e.blockedOn===t&&(e.blockedOn=null,or||(or=!0,ot.unstable_scheduleCallback(ot.unstable_NormalPriority,wr)))}function xr(e){function t(t){return Er(t,e)}if(0<sr.length){Er(sr[0],e);for(var n=1;n<sr.length;n++){var r=sr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==ar&&Er(ar,e),null!==lr&&Er(lr,e),null!==ur&&Er(ur,e),cr.forEach(t),dr.forEach(t),n=0;n<hr.length;n++)(r=hr[n]).blockedOn===e&&(r.blockedOn=null);for(;0<hr.length&&null===(n=hr[0]).blockedOn;)gr(n),null===n.blockedOn&&hr.shift()}function _r(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Sr={animationend:_r("Animation","AnimationEnd"),animationiteration:_r("Animation","AnimationIteration"),animationstart:_r("Animation","AnimationStart"),transitionend:_r("Transition","TransitionEnd")},Cr={},kr={};function Tr(e){if(Cr[e])return Cr[e];if(!Sr[e])return e;var t,n=Sr[e];for(t in n)if(n.hasOwnProperty(t)&&t in kr)return Cr[e]=n[t];return e}dt&&(kr=document.createElement("div").style,"AnimationEvent"in window||(delete Sr.animationend.animation,delete Sr.animationiteration.animation,delete Sr.animationstart.animation),"TransitionEvent"in window||delete Sr.transitionend.transition);var Or=Tr("animationend"),Lr=Tr("animationiteration"),Ir=Tr("animationstart"),Rr=Tr("transitionend"),Pr=new Map,Nr=new Map,Ar=["abort","abort",Or,"animationEnd",Lr,"animationIteration",Ir,"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",Rr,"transitionEnd","waiting","waiting"];function Dr(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],i=e[n+1];i="on"+(i[0].toUpperCase()+i.slice(1)),Nr.set(r,t),Pr.set(r,i),ut(i,[r])}}(0,ot.unstable_now)();var Mr=8;function qr(e){if(0!=(1&e))return Mr=15,1;if(0!=(2&e))return Mr=14,2;if(0!=(4&e))return Mr=13,4;var t=24&e;return 0!==t?(Mr=12,t):0!=(32&e)?(Mr=11,32):0!=(t=192&e)?(Mr=10,t):0!=(256&e)?(Mr=9,256):0!=(t=3584&e)?(Mr=8,t):0!=(4096&e)?(Mr=7,4096):0!=(t=4186112&e)?(Mr=6,t):0!=(t=62914560&e)?(Mr=5,t):67108864&e?(Mr=4,67108864):0!=(134217728&e)?(Mr=3,134217728):0!=(t=805306368&e)?(Mr=2,t):0!=(1073741824&e)?(Mr=1,1073741824):(Mr=8,e)}function jr(e,t){var n=e.pendingLanes;if(0===n)return Mr=0;var r=0,i=0,o=e.expiredLanes,s=e.suspendedLanes,a=e.pingedLanes;if(0!==o)r=o,i=Mr=15;else if(0!=(o=134217727&n)){var l=o&~s;0!==l?(r=qr(l),i=Mr):0!=(a&=o)&&(r=qr(a),i=Mr)}else 0!=(o=n&~s)?(r=qr(o),i=Mr):0!==a&&(r=qr(a),i=Mr);if(0===r)return 0;if(r=n&((0>(r=31-Vr(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&s)){if(qr(t),i<=Mr)return t;Mr=i}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-Vr(t)),r|=e[n],t&=~i;return r}function Fr(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function zr(e){return e&-e}function Br(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Hr(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Vr(t)]=n}var Vr=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Wr(e)/Ur|0)|0},Wr=Math.log,Ur=Math.LN2,$r=ot.unstable_UserBlockingPriority,Qr=ot.unstable_runWithPriority,Kr=!0;function Zr(e,t,n,r){qn||Dn();var i=Xr,o=qn;qn=!0;try{An(i,e,t,n,r)}finally{(qn=o)||Fn()}}function Gr(e,t,n,r){Qr($r,Xr.bind(null,e,t,n,r))}function Xr(e,t,n,r){var i;if(Kr)if((i=0==(4&t))&&0<sr.length&&-1<pr.indexOf(e))e=fr(null,e,t,n,r),sr.push(e);else{var o=Jr(e,t,n,r);if(null===o)i&&mr(e,r);else{if(i){if(-1<pr.indexOf(e))return e=fr(o,e,t,n,r),void sr.push(e);if(function(e,t,n,r,i){switch(t){case"focusin":return ar=yr(ar,e,t,n,r,i),!0;case"dragenter":return lr=yr(lr,e,t,n,r,i),!0;case"mouseover":return ur=yr(ur,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return cr.set(o,yr(cr.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return dr.set(o=i.pointerId,yr(dr.get(o)||null,e,t,n,r,i)),!0}return!1}(o,e,t,n,r))return;mr(e,r)}Io(e,t,r,null,n)}}}function Jr(e,t,n,r){var i=kn(r);if(null!==(i=Xo(i))){var o=Gn(i);if(null===o)i=null;else{var s=o.tag;if(13===s){if(null!==(i=Xn(o)))return i;i=null}else if(3===s){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;i=null}else o!==i&&(i=null)}}return Io(e,t,r,i,n),null}var Yr=null,ei=null,ti=null;function ni(){if(ti)return ti;var e,t,n=ei,r=n.length,i="value"in Yr?Yr.value:Yr.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var s=r-e;for(t=1;t<=s&&n[r-t]===i[o-t];t++);return ti=i.slice(e,1<t?1-t:void 0)}function ri(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}function ii(){return!0}function oi(){return!1}function si(e){function t(t,n,r,i,o){for(var s in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(s)&&(this[s]=(t=e[s])?t(i):i[s]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?ii:oi,this.isPropagationStopped=oi,this}return it(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=ii)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=ii)},persist:function(){},isPersistent:ii}),t}var ai,li,ui,ci={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},di=si(ci),hi=it({},ci,{view:0,detail:0}),pi=si(hi),fi=it({},hi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ci,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ui&&(ui&&"mousemove"===e.type?(ai=e.screenX-ui.screenX,li=e.screenY-ui.screenY):li=ai=0,ui=e),ai)},movementY:function(e){return"movementY"in e?e.movementY:li}}),mi=si(fi),yi=si(it({},fi,{dataTransfer:0})),gi=si(it({},hi,{relatedTarget:0})),vi=si(it({},ci,{animationName:0,elapsedTime:0,pseudoElement:0})),bi=si(it({},ci,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),wi=si(it({},ci,{data:0})),Ei={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xi={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"},_i={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Si(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=_i[e])&&!!t[e]}function Ci(){return Si}var ki=si(it({},hi,{key:function(e){if(e.key){var t=Ei[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=ri(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xi[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ci,charCode:function(e){return"keypress"===e.type?ri(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?ri(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Ti=si(it({},fi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Oi=si(it({},hi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ci})),Li=si(it({},ci,{propertyName:0,elapsedTime:0,pseudoElement:0})),Ii=si(it({},fi,{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:0,deltaMode:0})),Ri=[9,13,27,32],Pi=dt&&"CompositionEvent"in window,Ni=null;dt&&"documentMode"in document&&(Ni=document.documentMode);var Ai=dt&&"TextEvent"in window&&!Ni,Di=dt&&(!Pi||Ni&&8<Ni&&11>=Ni),Mi=String.fromCharCode(32),qi=!1;function ji(e,t){switch(e){case"keyup":return-1!==Ri.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Fi(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var zi=!1,Bi={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 Hi(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Bi[e.type]:"textarea"===t}function Vi(e,t,n,r){Rn(r),0<(t=Po(t,"onChange")).length&&(n=new di("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Wi=null,Ui=null;function $i(e){So(e,0)}function Qi(e){if(Xt(Yo(e)))return e}function Ki(e,t){if("change"===e)return t}var Zi=!1;if(dt){var Gi;if(dt){var Xi="oninput"in document;if(!Xi){var Ji=document.createElement("div");Ji.setAttribute("oninput","return;"),Xi="function"==typeof Ji.oninput}Gi=Xi}else Gi=!1;Zi=Gi&&(!document.documentMode||9<document.documentMode)}function Yi(){Wi&&(Wi.detachEvent("onpropertychange",eo),Ui=Wi=null)}function eo(e){if("value"===e.propertyName&&Qi(Ui)){var t=[];if(Vi(t,Ui,e,kn(e)),e=$i,qn)e(t);else{qn=!0;try{Nn(e,t)}finally{qn=!1,Fn()}}}}function to(e,t,n){"focusin"===e?(Yi(),Ui=n,(Wi=t).attachEvent("onpropertychange",eo)):"focusout"===e&&Yi()}function no(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Qi(Ui)}function ro(e,t){if("click"===e)return Qi(t)}function io(e,t){if("input"===e||"change"===e)return Qi(t)}var oo="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},so=Object.prototype.hasOwnProperty;function ao(e,t){if(oo(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(!so.call(t,n[r])||!oo(e[n[r]],t[n[r]]))return!1;return!0}function lo(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function uo(e,t){var n,r=lo(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=lo(r)}}function co(){for(var e=window,t=Jt();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Jt((e=t.contentWindow).document)}return t}function ho(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 po=dt&&"documentMode"in document&&11>=document.documentMode,fo=null,mo=null,yo=null,go=!1;function vo(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;go||null==fo||fo!==Jt(r)||(r="selectionStart"in(r=fo)&&ho(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yo&&ao(yo,r)||(yo=r,0<(r=Po(mo,"onSelect")).length&&(t=new di("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=fo)))}Dr("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur 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),Dr("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),Dr(Ar,2);for(var bo="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),wo=0;wo<bo.length;wo++)Nr.set(bo[wo],0);ct("onMouseEnter",["mouseout","mouseover"]),ct("onMouseLeave",["mouseout","mouseover"]),ct("onPointerEnter",["pointerout","pointerover"]),ct("onPointerLeave",["pointerout","pointerover"]),ut("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ut("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ut("onBeforeInput",["compositionend","keypress","textInput","paste"]),ut("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ut("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ut("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Eo="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),xo=new Set("cancel close invalid load scroll toggle".split(" ").concat(Eo));function _o(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,o,s,a,l){if(Zn.apply(this,arguments),Wn){if(!Wn)throw Error(st(198));var u=Un;Wn=!1,Un=null,$n||($n=!0,Qn=u)}}(r,t,void 0,e),e.currentTarget=null}function So(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==o&&i.isPropagationStopped())break e;_o(i,a,u),o=l}else for(s=0;s<r.length;s++){if(l=(a=r[s]).instance,u=a.currentTarget,a=a.listener,l!==o&&i.isPropagationStopped())break e;_o(i,a,u),o=l}}}if($n)throw e=Qn,$n=!1,Qn=null,e}function Co(e,t){var n=ts(t),r=e+"__bubble";n.has(r)||(Lo(t,e,2,!1),n.add(r))}var ko="_reactListening"+Math.random().toString(36).slice(2);function To(e){e[ko]||(e[ko]=!0,at.forEach((function(t){xo.has(t)||Oo(t,!1,e,null),Oo(t,!0,e,null)})))}function Oo(e,t,n,r){var i=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,o=n;if("selectionchange"===e&&9!==n.nodeType&&(o=n.ownerDocument),null!==r&&!t&&xo.has(e)){if("scroll"!==e)return;i|=2,o=r}var s=ts(o),a=e+"__"+(t?"capture":"bubble");s.has(a)||(t&&(i|=4),Lo(o,e,i,t),s.add(a))}function Lo(e,t,n,r){var i=Nr.get(t);switch(void 0===i?2:i){case 0:i=Zr;break;case 1:i=Gr;break;default:i=Xr}n=i.bind(null,t,n,e),i=void 0,!Bn||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),e.addEventListener(t,n,r?void 0===i||{capture:!0,passive:i}:void 0!==i&&{passive:i})}function Io(e,t,n,r,i){var o=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var s=r.tag;if(3===s||4===s){var a=r.stateNode.containerInfo;if(a===i||8===a.nodeType&&a.parentNode===i)break;if(4===s)for(s=r.return;null!==s;){var l=s.tag;if((3===l||4===l)&&((l=s.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return;s=s.return}for(;null!==a;){if(null===(s=Xo(a)))return;if(5===(l=s.tag)||6===l){r=o=s;continue e}a=a.parentNode}}r=r.return}!function(e,t,n){if(jn)return e();jn=!0;try{Mn(e,void 0,void 0)}finally{jn=!1,Fn()}}((function(){var r=o,i=kn(n),s=[];e:{var a=Pr.get(e);if(void 0!==a){var l=di,u=e;switch(e){case"keypress":if(0===ri(n))break e;case"keydown":case"keyup":l=ki;break;case"focusin":u="focus",l=gi;break;case"focusout":u="blur",l=gi;break;case"beforeblur":case"afterblur":l=gi;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=mi;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=yi;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Oi;break;case Or:case Lr:case Ir:l=vi;break;case Rr:l=Li;break;case"scroll":l=pi;break;case"wheel":l=Ii;break;case"copy":case"cut":case"paste":l=bi;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Ti}var c=0!=(4&t),d=!c&&"scroll"===e,h=c?null!==a?a+"Capture":null:a;c=[];for(var p,f=r;null!==f;){var m=(p=f).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==h&&null!=(m=zn(f,h))&&c.push(Ro(f,m,p))),d)break;f=f.return}0<c.length&&(a=new l(a,u,null,n,i),s.push({event:a,listeners:c}))}}if(0==(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(a="mouseover"===e||"pointerover"===e)||0!=(16&t)||!(u=n.relatedTarget||n.fromElement)||!Xo(u)&&!u[Zo])&&(l||a)&&(a=i.window===i?i:(a=i.ownerDocument)?a.defaultView||a.parentWindow:window,l?(l=r,null!==(u=(u=n.relatedTarget||n.toElement)?Xo(u):null)&&(u!==(d=Gn(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(l=null,u=r),l!==u)){if(c=mi,m="onMouseLeave",h="onMouseEnter",f="mouse","pointerout"!==e&&"pointerover"!==e||(c=Ti,m="onPointerLeave",h="onPointerEnter",f="pointer"),d=null==l?a:Yo(l),p=null==u?a:Yo(u),(a=new c(m,f+"leave",l,n,i)).target=d,a.relatedTarget=p,m=null,Xo(i)===r&&((c=new c(h,f+"enter",u,n,i)).target=p,c.relatedTarget=d,m=c),d=m,l&&u)e:{for(h=u,f=0,p=c=l;p;p=No(p))f++;for(p=0,m=h;m;m=No(m))p++;for(;0<f-p;)c=No(c),f--;for(;0<p-f;)h=No(h),p--;for(;f--;){if(c===h||null!==h&&c===h.alternate)break e;c=No(c),h=No(h)}c=null}else c=null;null!==l&&Ao(s,a,l,c,!1),null!==u&&null!==d&&Ao(s,d,u,c,!0)}if("select"===(l=(a=r?Yo(r):window).nodeName&&a.nodeName.toLowerCase())||"input"===l&&"file"===a.type)var y=Ki;else if(Hi(a))if(Zi)y=io;else{y=no;var g=to}else(l=a.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===a.type||"radio"===a.type)&&(y=ro);switch(y&&(y=y(e,r))?Vi(s,y,n,i):(g&&g(e,a,r),"focusout"===e&&(g=a._wrapperState)&&g.controlled&&"number"===a.type&&on(a,"number",a.value)),g=r?Yo(r):window,e){case"focusin":(Hi(g)||"true"===g.contentEditable)&&(fo=g,mo=r,yo=null);break;case"focusout":yo=mo=fo=null;break;case"mousedown":go=!0;break;case"contextmenu":case"mouseup":case"dragend":go=!1,vo(s,n,i);break;case"selectionchange":if(po)break;case"keydown":case"keyup":vo(s,n,i)}var v;if(Pi)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else zi?ji(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Di&&"ko"!==n.locale&&(zi||"onCompositionStart"!==b?"onCompositionEnd"===b&&zi&&(v=ni()):(ei="value"in(Yr=i)?Yr.value:Yr.textContent,zi=!0)),0<(g=Po(r,b)).length&&(b=new wi(b,e,null,n,i),s.push({event:b,listeners:g}),(v||null!==(v=Fi(n)))&&(b.data=v))),(v=Ai?function(e,t){switch(e){case"compositionend":return Fi(t);case"keypress":return 32!==t.which?null:(qi=!0,Mi);case"textInput":return(e=t.data)===Mi&&qi?null:e;default:return null}}(e,n):function(e,t){if(zi)return"compositionend"===e||!Pi&&ji(e,t)?(e=ni(),ti=ei=Yr=null,zi=!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 Di&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))&&0<(r=Po(r,"onBeforeInput")).length&&(i=new wi("onBeforeInput","beforeinput",null,n,i),s.push({event:i,listeners:r}),i.data=v)}So(s,t)}))}function Ro(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Po(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=zn(e,n))&&r.unshift(Ro(e,o,i)),null!=(o=zn(e,t))&&r.push(Ro(e,o,i))),e=e.return}return r}function No(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Ao(e,t,n,r,i){for(var o=t._reactName,s=[];null!==n&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(null!==l&&l===r)break;5===a.tag&&null!==u&&(a=u,i?null!=(l=zn(n,o))&&s.unshift(Ro(n,l,a)):i||null!=(l=zn(n,o))&&s.push(Ro(n,l,a))),n=n.return}0!==s.length&&e.push({event:t,listeners:s})}function Do(){}var Mo=null,qo=null;function jo(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Fo(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 zo="function"==typeof setTimeout?setTimeout:void 0,Bo="function"==typeof clearTimeout?clearTimeout:void 0;function Ho(e){(1===e.nodeType||9===e.nodeType&&null!=(e=e.body))&&(e.textContent="")}function Vo(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Wo(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 Uo=0,$o=Math.random().toString(36).slice(2),Qo="__reactFiber$"+$o,Ko="__reactProps$"+$o,Zo="__reactContainer$"+$o,Go="__reactEvents$"+$o;function Xo(e){var t=e[Qo];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Zo]||n[Qo]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Wo(e);null!==e;){if(n=e[Qo])return n;e=Wo(e)}return t}n=(e=n).parentNode}return null}function Jo(e){return!(e=e[Qo]||e[Zo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Yo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(st(33))}function es(e){return e[Ko]||null}function ts(e){var t=e[Go];return void 0===t&&(t=e[Go]=new Set),t}var ns=[],rs=-1;function is(e){return{current:e}}function os(e){0>rs||(e.current=ns[rs],ns[rs]=null,rs--)}function ss(e,t){rs++,ns[rs]=e.current,e.current=t}var as={},ls=is(as),us=is(!1),cs=as;function ds(e,t){var n=e.type.contextTypes;if(!n)return as;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function hs(e){return null!=e.childContextTypes}function ps(){os(us),os(ls)}function fs(e,t,n){if(ls.current!==as)throw Error(st(168));ss(ls,t),ss(us,n)}function ms(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(st(108,Qt(t)||"Unknown",i));return it({},n,r)}function ys(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||as,cs=ls.current,ss(ls,e),ss(us,us.current),!0}function gs(e,t,n){var r=e.stateNode;if(!r)throw Error(st(169));n?(e=ms(e,t,cs),r.__reactInternalMemoizedMergedChildContext=e,os(us),os(ls),ss(ls,e)):os(us),ss(us,n)}var vs=null,bs=null,ws=ot.unstable_runWithPriority,Es=ot.unstable_scheduleCallback,xs=ot.unstable_cancelCallback,_s=ot.unstable_shouldYield,Ss=ot.unstable_requestPaint,Cs=ot.unstable_now,ks=ot.unstable_getCurrentPriorityLevel,Ts=ot.unstable_ImmediatePriority,Os=ot.unstable_UserBlockingPriority,Ls=ot.unstable_NormalPriority,Is=ot.unstable_LowPriority,Rs=ot.unstable_IdlePriority,Ps={},Ns=void 0!==Ss?Ss:function(){},As=null,Ds=null,Ms=!1,qs=Cs(),js=1e4>qs?Cs:function(){return Cs()-qs};function Fs(){switch(ks()){case Ts:return 99;case Os:return 98;case Ls:return 97;case Is:return 96;case Rs:return 95;default:throw Error(st(332))}}function zs(e){switch(e){case 99:return Ts;case 98:return Os;case 97:return Ls;case 96:return Is;case 95:return Rs;default:throw Error(st(332))}}function Bs(e,t){return e=zs(e),ws(e,t)}function Hs(e,t,n){return e=zs(e),Es(e,t,n)}function Vs(){if(null!==Ds){var e=Ds;Ds=null,xs(e)}Ws()}function Ws(){if(!Ms&&null!==As){Ms=!0;var e=0;try{var t=As;Bs(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),As=null}catch(t){throw null!==As&&(As=As.slice(e+1)),Es(Ts,Vs),t}finally{Ms=!1}}}var Us=Et.ReactCurrentBatchConfig;function $s(e,t){if(e&&e.defaultProps){for(var n in t=it({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Qs=is(null),Ks=null,Zs=null,Gs=null;function Xs(){Gs=Zs=Ks=null}function Js(e){var t=Qs.current;os(Qs),e.type._context._currentValue=t}function Ys(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function ea(e,t){Ks=e,Gs=Zs=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Rl=!0),e.firstContext=null)}function ta(e,t){if(Gs!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Gs=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Zs){if(null===Ks)throw Error(st(308));Zs=t,Ks.dependencies={lanes:0,firstContext:t,responders:null}}else Zs=Zs.next=t;return e._currentValue}var na=!1;function ra(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function ia(e,t){t.updateQueue===(e=e.updateQueue)&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function oa(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function sa(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 aa(e,t){var n=e.updateQueue,r=e.alternate;if(null===r||n!==(r=r.updateQueue))null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t;else{var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?i=o=s:o=o.next=s,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;e.updateQueue=n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects}}}function la(e,t,n,r){var i=e.updateQueue;na=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(null!==a){i.shared.pending=null;var l=a,u=l.next;l.next=null,null===s?o=u:s.next=u,s=l;var c=e.alternate;if(null!==c){var d=(c=c.updateQueue).lastBaseUpdate;d!==s&&(null===d?c.firstBaseUpdate=u:d.next=u,c.lastBaseUpdate=l)}}if(null!==o){for(d=i.baseState,s=0,c=u=l=null;;){var h=o.eventTime;if((r&(a=o.lane))===a){null!==c&&(c=c.next={eventTime:h,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var p=e,f=o;switch(a=t,h=n,f.tag){case 1:if("function"==typeof(p=f.payload)){d=p.call(h,d,a);break e}d=p;break e;case 3:p.flags=-4097&p.flags|64;case 0:if(null==(a="function"==typeof(p=f.payload)?p.call(h,d,a):p))break e;d=it({},d,a);break e;case 2:na=!0}}null!==o.callback&&(e.flags|=32,null===(a=i.effects)?i.effects=[o]:a.push(o))}else h={eventTime:h,lane:a,tag:o.tag,payload:o.payload,callback:o.callback,next:null},null===c?(u=c=h,l=d):c=c.next=h,s|=a;if(null===(o=o.next)){if(null===(a=i.shared.pending))break;o=a.next,a.next=null,i.lastBaseUpdate=a,i.shared.pending=null}}null===c&&(l=d),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,Ru|=s,e.lanes=s,e.memoizedState=d}}function ua(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!=typeof i)throw Error(st(191,i));i.call(r)}}}var ca=(new rt.Component).refs;function da(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:it({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ha={isMounted:function(e){return!!(e=e._reactInternals)&&Gn(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=nc(),i=rc(e),o=oa(r,i);o.payload=t,null!=n&&(o.callback=n),sa(e,o),ic(e,i,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=nc(),i=rc(e),o=oa(r,i);o.tag=1,o.payload=t,null!=n&&(o.callback=n),sa(e,o),ic(e,i,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=nc(),r=rc(e),i=oa(n,r);i.tag=2,null!=t&&(i.callback=t),sa(e,i),ic(e,r,n)}};function pa(e,t,n,r,i,o,s){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,s):!(t.prototype&&t.prototype.isPureReactComponent&&ao(n,r)&&ao(i,o))}function fa(e,t,n){var r=!1,i=as,o=t.contextType;return"object"==typeof o&&null!==o?o=ta(o):(i=hs(t)?cs:ls.current,o=(r=null!=(r=t.contextTypes))?ds(e,i):as),t=new t(n,o),e.memoizedState=null!=t.state?t.state:null,t.updater=ha,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function ma(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&&ha.enqueueReplaceState(t,t.state,null)}function ya(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=ca,ra(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=ta(o):(o=hs(t)?cs:ls.current,i.context=ds(e,o)),la(e,n,i,r),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(da(e,t,o,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&ha.enqueueReplaceState(i,i.state,null),la(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4)}var ga=Array.isArray;function va(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(st(309));var r=n.stateNode}if(!r)throw Error(st(147,e));var i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:((t=function(e){var t=r.refs;t===ca&&(t=r.refs={}),null===e?delete t[i]:t[i]=e})._stringRef=i,t)}if("string"!=typeof e)throw Error(st(284));if(!n._owner)throw Error(st(290,e))}return e}function ba(e,t){if("textarea"!==e.type)throw Error(st(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function wa(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.flags=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;)e.set(null!==t.key?t.key:t.index,t),t=t.sibling;return e}function i(e,t){return(e=Mc(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function s(t){return e&&null===t.alternate&&(t.flags=2),t}function a(e,t,n,r){return null===t||6!==t.tag?((t=zc(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function l(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=va(e,t,n),r.return=e,r):((r=qc(n.type,n.key,n.props,null,e.mode,r)).ref=va(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Bc(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function c(e,t,n,r,o){return null===t||7!==t.tag?((t=jc(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=zc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case xt:return(n=qc(t.type,t.key,t.props,null,e.mode,n)).ref=va(e,null,t),n.return=e,n;case _t:return(t=Bc(t,e.mode,n)).return=e,t}if(ga(t)||Ht(t))return(t=jc(t,e.mode,n,null)).return=e,t;ba(e,t)}return null}function h(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==i?null:a(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case xt:return n.key===i?n.type===St?c(e,t,n.props.children,r,i):l(e,t,n,r):null;case _t:return n.key===i?u(e,t,n,r):null}if(ga(n)||Ht(n))return null!==i?null:c(e,t,n,r,null);ba(e,n)}return null}function p(e,t,n,r,i){if("string"==typeof r||"number"==typeof r)return a(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case xt:return e=e.get(null===r.key?n:r.key)||null,r.type===St?c(t,e,r.props.children,i,r.key):l(t,e,r,i);case _t:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(ga(r)||Ht(r))return c(t,e=e.get(n)||null,r,i,null);ba(t,r)}return null}function f(i,s,a,l){for(var u=null,c=null,f=s,m=s=0,y=null;null!==f&&m<a.length;m++){f.index>m?(y=f,f=null):y=f.sibling;var g=h(i,f,a[m],l);if(null===g){null===f&&(f=y);break}e&&f&&null===g.alternate&&t(i,f),s=o(g,s,m),null===c?u=g:c.sibling=g,c=g,f=y}if(m===a.length)return n(i,f),u;if(null===f){for(;m<a.length;m++)null!==(f=d(i,a[m],l))&&(s=o(f,s,m),null===c?u=f:c.sibling=f,c=f);return u}for(f=r(i,f);m<a.length;m++)null!==(y=p(f,i,m,a[m],l))&&(e&&null!==y.alternate&&f.delete(null===y.key?m:y.key),s=o(y,s,m),null===c?u=y:c.sibling=y,c=y);return e&&f.forEach((function(e){return t(i,e)})),u}function m(i,s,a,l){var u=Ht(a);if("function"!=typeof u)throw Error(st(150));if(null==(a=u.call(a)))throw Error(st(151));for(var c=u=null,f=s,m=s=0,y=null,g=a.next();null!==f&&!g.done;m++,g=a.next()){f.index>m?(y=f,f=null):y=f.sibling;var v=h(i,f,g.value,l);if(null===v){null===f&&(f=y);break}e&&f&&null===v.alternate&&t(i,f),s=o(v,s,m),null===c?u=v:c.sibling=v,c=v,f=y}if(g.done)return n(i,f),u;if(null===f){for(;!g.done;m++,g=a.next())null!==(g=d(i,g.value,l))&&(s=o(g,s,m),null===c?u=g:c.sibling=g,c=g);return u}for(f=r(i,f);!g.done;m++,g=a.next())null!==(g=p(f,i,m,g.value,l))&&(e&&null!==g.alternate&&f.delete(null===g.key?m:g.key),s=o(g,s,m),null===c?u=g:c.sibling=g,c=g);return e&&f.forEach((function(e){return t(i,e)})),u}return function(e,r,o,a){var l="object"==typeof o&&null!==o&&o.type===St&&null===o.key;l&&(o=o.props.children);var u="object"==typeof o&&null!==o;if(u)switch(o.$$typeof){case xt:e:{for(u=o.key,l=r;null!==l;){if(l.key===u){switch(l.tag){case 7:if(o.type===St){n(e,l.sibling),(r=i(l,o.props.children)).return=e,e=r;break e}break;default:if(l.elementType===o.type){n(e,l.sibling),(r=i(l,o.props)).ref=va(e,l,o),r.return=e,e=r;break e}}n(e,l);break}t(e,l),l=l.sibling}o.type===St?((r=jc(o.props.children,e.mode,a,o.key)).return=e,e=r):((a=qc(o.type,o.key,o.props,null,e.mode,a)).ref=va(e,r,o),a.return=e,e=a)}return s(e);case _t:e:{for(l=o.key;null!==r;){if(r.key===l){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=i(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Bc(o,e.mode,a)).return=e,e=r}return s(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,o)).return=e,e=r):(n(e,r),(r=zc(o,e.mode,a)).return=e,e=r),s(e);if(ga(o))return f(e,r,o,a);if(Ht(o))return m(e,r,o,a);if(u&&ba(e,o),void 0===o&&!l)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(st(152,Qt(e.type)||"Component"))}return n(e,r)}}var Ea=wa(!0),xa=wa(!1),_a={},Sa=is(_a),Ca=is(_a),ka=is(_a);function Ta(e){if(e===_a)throw Error(st(174));return e}function Oa(e,t){switch(ss(ka,t),ss(Ca,e),ss(Sa,_a),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:fn(null,"");break;default:t=fn(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}os(Sa),ss(Sa,t)}function La(){os(Sa),os(Ca),os(ka)}function Ia(e){Ta(ka.current);var t=Ta(Sa.current),n=fn(t,e.type);t!==n&&(ss(Ca,e),ss(Sa,n))}function Ra(e){Ca.current===e&&(os(Sa),os(Ca))}var Pa=is(0);function Na(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.flags))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}var Aa=null,Da=null,Ma=!1;function qa(e,t){var n=Ac(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function ja(e,t){switch(e.tag){case 5:return null!==(t=1!==t.nodeType||e.type.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 Fa(e){if(Ma){var t=Da;if(t){var n=t;if(!ja(e,t)){if(!(t=Vo(n.nextSibling))||!ja(e,t))return e.flags=-1025&e.flags|2,Ma=!1,void(Aa=e);qa(Aa,n)}Aa=e,Da=Vo(t.firstChild)}else e.flags=-1025&e.flags|2,Ma=!1,Aa=e}}function za(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Aa=e}function Ba(e){if(e!==Aa)return!1;if(!Ma)return za(e),Ma=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Fo(t,e.memoizedProps))for(t=Da;t;)qa(e,t),t=Vo(t.nextSibling);if(za(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(st(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Da=Vo(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Da=null}}else Da=Aa?Vo(e.stateNode.nextSibling):null;return!0}function Ha(){Da=Aa=null,Ma=!1}var Va=[];function Wa(){for(var e=0;e<Va.length;e++)Va[e]._workInProgressVersionPrimary=null;Va.length=0}var Ua=Et.ReactCurrentDispatcher,$a=Et.ReactCurrentBatchConfig,Qa=0,Ka=null,Za=null,Ga=null,Xa=!1,Ja=!1;function Ya(){throw Error(st(321))}function el(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!oo(e[n],t[n]))return!1;return!0}function tl(e,t,n,r,i,o){if(Qa=o,Ka=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ua.current=null===e||null===e.memoizedState?Tl:Ol,e=n(r,i),Ja){o=0;do{if(Ja=!1,!(25>o))throw Error(st(301));o+=1,Ga=Za=null,t.updateQueue=null,Ua.current=Ll,e=n(r,i)}while(Ja)}if(Ua.current=kl,t=null!==Za&&null!==Za.next,Qa=0,Ga=Za=Ka=null,Xa=!1,t)throw Error(st(300));return e}function nl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ga?Ka.memoizedState=Ga=e:Ga=Ga.next=e,Ga}function rl(){if(null===Za){var e=Ka.alternate;e=null!==e?e.memoizedState:null}else e=Za.next;var t=null===Ga?Ka.memoizedState:Ga.next;if(null!==t)Ga=t,Za=e;else{if(null===e)throw Error(st(310));e={memoizedState:(Za=e).memoizedState,baseState:Za.baseState,baseQueue:Za.baseQueue,queue:Za.queue,next:null},null===Ga?Ka.memoizedState=Ga=e:Ga=Ga.next=e}return Ga}function il(e,t){return"function"==typeof t?t(e):t}function ol(e){var t=rl(),n=t.queue;if(null===n)throw Error(st(311));n.lastRenderedReducer=e;var r=Za,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(null!==i){r=r.baseState;var a=s=o=null,l=i=i.next;do{var u=l.lane;if((Qa&u)===u)null!==a&&(a=a.next={lane:0,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null}),r=l.eagerReducer===e?l.eagerState:e(r,l.action);else{var c={lane:u,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null};null===a?(s=a=c,o=r):a=a.next=c,Ka.lanes|=u,Ru|=u}l=l.next}while(null!==l&&l!==i);null===a?o=r:a.next=s,oo(r,t.memoizedState)||(Rl=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=a,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function sl(e){var t=rl(),n=t.queue;if(null===n)throw Error(st(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{o=e(o,s.action),s=s.next}while(s!==i);oo(o,t.memoizedState)||(Rl=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function al(e,t,n){var r=t._getVersion;r=r(t._source);var i=t._workInProgressVersionPrimary;if(null!==i?e=i===r:(e=(Qa&(e=e.mutableReadLanes))===e)&&(t._workInProgressVersionPrimary=r,Va.push(t)),e)return n(t._source);throw Va.push(t),Error(st(350))}function ll(e,t,n,r){var i=_u;if(null===i)throw Error(st(349));var o=t._getVersion,s=o(t._source),a=Ua.current,l=a.useState((function(){return al(i,t,n)})),u=l[1],c=l[0];l=Ga;var d=e.memoizedState,h=d.refs,p=h.getSnapshot,f=d.source;d=d.subscribe;var m=Ka;return e.memoizedState={refs:h,source:t,subscribe:r},a.useEffect((function(){h.getSnapshot=n,h.setSnapshot=u;var e=o(t._source);if(!oo(s,e)){e=n(t._source),oo(c,e)||(u(e),e=rc(m),i.mutableReadLanes|=e&i.pendingLanes),i.entangledLanes|=e=i.mutableReadLanes;for(var r=i.entanglements,a=e;0<a;){var l=31-Vr(a),d=1<<l;r[l]|=e,a&=~d}}}),[n,t,r]),a.useEffect((function(){return r(t._source,(function(){var e=h.getSnapshot,n=h.setSnapshot;try{n(e(t._source));var r=rc(m);i.mutableReadLanes|=r&i.pendingLanes}catch(e){n((function(){throw e}))}}))}),[t,r]),oo(p,n)&&oo(f,t)&&oo(d,r)||((e={pending:null,dispatch:null,lastRenderedReducer:il,lastRenderedState:c}).dispatch=u=Cl.bind(null,Ka,e),l.queue=e,l.baseQueue=null,c=al(i,t,n),l.memoizedState=l.baseState=c),c}function ul(e,t,n){return ll(rl(),e,t,n)}function cl(e){var t=nl();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:il,lastRenderedState:e}).dispatch=Cl.bind(null,Ka,e),[t.memoizedState,e]}function dl(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Ka.updateQueue)?(Ka.updateQueue=t={lastEffect:null},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 hl(e){return e={current:e},nl().memoizedState=e}function pl(){return rl().memoizedState}function fl(e,t,n,r){var i=nl();Ka.flags|=e,i.memoizedState=dl(1|t,n,void 0,void 0===r?null:r)}function ml(e,t,n,r){var i=rl();r=void 0===r?null:r;var o=void 0;if(null!==Za){var s=Za.memoizedState;if(o=s.destroy,null!==r&&el(r,s.deps))return void dl(t,n,o,r)}Ka.flags|=e,i.memoizedState=dl(1|t,n,o,r)}function yl(e,t){return fl(516,4,e,t)}function gl(e,t){return ml(516,4,e,t)}function vl(e,t){return ml(4,2,e,t)}function bl(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 wl(e,t,n){return n=null!=n?n.concat([e]):null,ml(4,2,bl.bind(null,t,e),n)}function El(){}function xl(e,t){var n=rl();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&el(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function _l(e,t){var n=rl();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&el(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Sl(e,t){var n=Fs();Bs(98>n?98:n,(function(){e(!0)})),Bs(97<n?97:n,(function(){var n=$a.transition;$a.transition=1;try{e(!1),t()}finally{$a.transition=n}}))}function Cl(e,t,n){var r=nc(),i=rc(e),o={lane:i,action:n,eagerReducer:null,eagerState:null,next:null},s=t.pending;if(null===s?o.next=o:(o.next=s.next,s.next=o),t.pending=o,s=e.alternate,e===Ka||null!==s&&s===Ka)Ja=Xa=!0;else{if(0===e.lanes&&(null===s||0===s.lanes)&&null!==(s=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=s(a,n);if(o.eagerReducer=s,o.eagerState=l,oo(l,a))return}catch(e){}ic(e,i,r)}}var kl={readContext:ta,useCallback:Ya,useContext:Ya,useEffect:Ya,useImperativeHandle:Ya,useLayoutEffect:Ya,useMemo:Ya,useReducer:Ya,useRef:Ya,useState:Ya,useDebugValue:Ya,useDeferredValue:Ya,useTransition:Ya,useMutableSource:Ya,useOpaqueIdentifier:Ya,unstable_isNewReconciler:!1},Tl={readContext:ta,useCallback:function(e,t){return nl().memoizedState=[e,void 0===t?null:t],e},useContext:ta,useEffect:yl,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,fl(4,2,bl.bind(null,t,e),n)},useLayoutEffect:function(e,t){return fl(4,2,e,t)},useMemo:function(e,t){var n=nl();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=nl();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=Cl.bind(null,Ka,e),[r.memoizedState,e]},useRef:hl,useState:cl,useDebugValue:El,useDeferredValue:function(e){var t=cl(e),n=t[0],r=t[1];return yl((function(){var t=$a.transition;$a.transition=1;try{r(e)}finally{$a.transition=t}}),[e]),n},useTransition:function(){var e=cl(!1),t=e[0];return hl(e=Sl.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=nl();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},ll(r,e,t,n)},useOpaqueIdentifier:function(){if(Ma){var e=!1,t=function(e){return{$$typeof:Dt,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(Uo++).toString(36))),Error(st(355))})),n=cl(t)[1];return 0==(2&Ka.mode)&&(Ka.flags|=516,dl(5,(function(){n("r:"+(Uo++).toString(36))}),void 0,null)),t}return cl(t="r:"+(Uo++).toString(36)),t},unstable_isNewReconciler:!1},Ol={readContext:ta,useCallback:xl,useContext:ta,useEffect:gl,useImperativeHandle:wl,useLayoutEffect:vl,useMemo:_l,useReducer:ol,useRef:pl,useState:function(){return ol(il)},useDebugValue:El,useDeferredValue:function(e){var t=ol(il),n=t[0],r=t[1];return gl((function(){var t=$a.transition;$a.transition=1;try{r(e)}finally{$a.transition=t}}),[e]),n},useTransition:function(){var e=ol(il)[0];return[pl().current,e]},useMutableSource:ul,useOpaqueIdentifier:function(){return ol(il)[0]},unstable_isNewReconciler:!1},Ll={readContext:ta,useCallback:xl,useContext:ta,useEffect:gl,useImperativeHandle:wl,useLayoutEffect:vl,useMemo:_l,useReducer:sl,useRef:pl,useState:function(){return sl(il)},useDebugValue:El,useDeferredValue:function(e){var t=sl(il),n=t[0],r=t[1];return gl((function(){var t=$a.transition;$a.transition=1;try{r(e)}finally{$a.transition=t}}),[e]),n},useTransition:function(){var e=sl(il)[0];return[pl().current,e]},useMutableSource:ul,useOpaqueIdentifier:function(){return sl(il)[0]},unstable_isNewReconciler:!1},Il=Et.ReactCurrentOwner,Rl=!1;function Pl(e,t,n,r){t.child=null===e?xa(t,null,n,r):Ea(t,e.child,n,r)}function Nl(e,t,n,r,i){n=n.render;var o=t.ref;return ea(t,i),r=tl(e,t,n,r,o,i),null===e||Rl?(t.flags|=1,Pl(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,Xl(e,t,i))}function Al(e,t,n,r,i,o){if(null===e){var s=n.type;return"function"!=typeof s||Dc(s)||void 0!==s.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=qc(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=s,Dl(e,t,s,r,i,o))}return s=e.child,0==(i&o)&&(n=null!==(n=n.compare)?n:ao)(i=s.memoizedProps,r)&&e.ref===t.ref?Xl(e,t,o):(t.flags|=1,(e=Mc(s,r)).ref=t.ref,e.return=t,t.child=e)}function Dl(e,t,n,r,i,o){if(null!==e&&ao(e.memoizedProps,r)&&e.ref===t.ref){if(Rl=!1,0==(o&i))return t.lanes=e.lanes,Xl(e,t,o);0!=(16384&e.flags)&&(Rl=!0)}return jl(e,t,n,r,o)}function Ml(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},hc(0,n);else{if(0==(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},hc(0,e),null;t.memoizedState={baseLanes:0},hc(0,null!==o?o.baseLanes:n)}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,hc(0,r);return Pl(e,t,i,n),t.child}function ql(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function jl(e,t,n,r,i){var o=hs(n)?cs:ls.current;return o=ds(t,o),ea(t,i),n=tl(e,t,n,r,o,i),null===e||Rl?(t.flags|=1,Pl(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,Xl(e,t,i))}function Fl(e,t,n,r,i){if(hs(n)){var o=!0;ys(t)}else o=!1;if(ea(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),fa(t,n,r),ya(t,n,r,i),r=!0;else if(null===e){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,u=n.contextType;u="object"==typeof u&&null!==u?ta(u):ds(t,u=hs(n)?cs:ls.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof s.getSnapshotBeforeUpdate;d||"function"!=typeof s.UNSAFE_componentWillReceiveProps&&"function"!=typeof s.componentWillReceiveProps||(a!==r||l!==u)&&ma(t,s,r,u),na=!1;var h=t.memoizedState;s.state=h,la(t,r,s,i),l=t.memoizedState,a!==r||h!==l||us.current||na?("function"==typeof c&&(da(t,n,c,r),l=t.memoizedState),(a=na||pa(t,n,a,r,h,l,u))?(d||"function"!=typeof s.UNSAFE_componentWillMount&&"function"!=typeof s.componentWillMount||("function"==typeof s.componentWillMount&&s.componentWillMount(),"function"==typeof s.UNSAFE_componentWillMount&&s.UNSAFE_componentWillMount()),"function"==typeof s.componentDidMount&&(t.flags|=4)):("function"==typeof s.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=u,r=a):("function"==typeof s.componentDidMount&&(t.flags|=4),r=!1)}else{s=t.stateNode,ia(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:$s(t.type,a),s.props=u,d=t.pendingProps,h=s.context,l="object"==typeof(l=n.contextType)&&null!==l?ta(l):ds(t,l=hs(n)?cs:ls.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof s.getSnapshotBeforeUpdate)||"function"!=typeof s.UNSAFE_componentWillReceiveProps&&"function"!=typeof s.componentWillReceiveProps||(a!==d||h!==l)&&ma(t,s,r,l),na=!1,s.state=h=t.memoizedState,la(t,r,s,i);var f=t.memoizedState;a!==d||h!==f||us.current||na?("function"==typeof p&&(da(t,n,p,r),f=t.memoizedState),(u=na||pa(t,n,u,r,h,f,l))?(c||"function"!=typeof s.UNSAFE_componentWillUpdate&&"function"!=typeof s.componentWillUpdate||("function"==typeof s.componentWillUpdate&&s.componentWillUpdate(r,f,l),"function"==typeof s.UNSAFE_componentWillUpdate&&s.UNSAFE_componentWillUpdate(r,f,l)),"function"==typeof s.componentDidUpdate&&(t.flags|=4),"function"==typeof s.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof s.componentDidUpdate||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof s.getSnapshotBeforeUpdate||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=f),s.props=r,s.state=f,s.context=l,r=u):("function"!=typeof s.componentDidUpdate||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof s.getSnapshotBeforeUpdate||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=256),r=!1)}return zl(e,t,n,r,o,i)}function zl(e,t,n,r,i,o){ql(e,t);var s=0!=(64&t.flags);if(!r&&!s)return i&&gs(t,n,!1),Xl(e,t,o);r=t.stateNode,Il.current=t;var a=s&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&s?(t.child=Ea(t,e.child,null,o),t.child=Ea(t,null,a,o)):Pl(e,t,a,o),t.memoizedState=r.state,i&&gs(t,n,!0),t.child}function Bl(e){var t=e.stateNode;t.pendingContext?fs(0,t.pendingContext,t.pendingContext!==t.context):t.context&&fs(0,t.context,!1),Oa(e,t.containerInfo)}var Hl,Vl,Wl,Ul={dehydrated:null,retryLane:0};function $l(e,t,n){var r,i=t.pendingProps,o=Pa.current,s=!1;return(r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&o)),r?(s=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(o|=1),ss(Pa,1&o),null===e?(void 0!==i.fallback&&Fa(t),e=i.children,o=i.fallback,s?(e=Ql(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Ul,e):"number"==typeof i.unstable_expectedLoadTime?(e=Ql(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Ul,t.lanes=33554432,e):((n=Fc({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):s?(i=function(e,t,n,r,i){var o=t.mode,s=e.child;e=s.sibling;var a={mode:"hidden",children:n};return 0==(2&o)&&t.child!==s?((n=t.child).childLanes=0,n.pendingProps=a,null!==(s=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=s,s.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Mc(s,a),null!==e?r=Mc(e,r):(r=jc(r,o,i,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}(e,t,i.children,i.fallback,n),(s=t.child).memoizedState=null===(o=e.child.memoizedState)?{baseLanes:n}:{baseLanes:o.baseLanes|n},s.childLanes=e.childLanes&~n,t.memoizedState=Ul,i):(n=function(e,t,n,r){var i=e.child;return e=i.sibling,n=Mc(i,{mode:"visible",children:n}),0==(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}(e,t,i.children,n),t.memoizedState=null,n)}function Ql(e,t,n,r){var i=e.mode,o=e.child;return t={mode:"hidden",children:t},0==(2&i)&&null!==o?(o.childLanes=0,o.pendingProps=t):o=Fc(t,i,0,null),n=jc(n,i,r,null),o.return=e,n.return=e,o.sibling=n,e.child=o,n}function Kl(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),Ys(e.return,t)}function Zl(e,t,n,r,i,o){var s=e.memoizedState;null===s?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,lastEffect:o}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=i,s.lastEffect=o)}function Gl(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Pl(e,t,r.children,n),0!=(2&(r=Pa.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Kl(e,n);else if(19===e.tag)Kl(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(ss(Pa,r),0==(2&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===Na(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Zl(t,!1,i,n,o,t.lastEffect);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===Na(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Zl(t,!0,n,null,o,t.lastEffect);break;case"together":Zl(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Xl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ru|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(st(153));if(null!==t.child){for(n=Mc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)(n=n.sibling=Mc(e=e.sibling,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function Jl(e,t){if(!Ma)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 Yl(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 hs(t.type)&&ps(),null;case 3:return La(),os(us),os(ls),Wa(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Ba(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Ra(t);var i=Ta(ka.current);if(n=t.type,null!==e&&null!=t.stateNode)Vl(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(st(166));return null}if(e=Ta(Sa.current),Ba(t)){n=t.type;var o=t.memoizedProps;switch((r=t.stateNode)[Qo]=t,r[Ko]=o,n){case"dialog":Co("cancel",r),Co("close",r);break;case"iframe":case"object":case"embed":Co("load",r);break;case"video":case"audio":for(e=0;e<Eo.length;e++)Co(Eo[e],r);break;case"source":Co("error",r);break;case"img":case"image":case"link":Co("error",r),Co("load",r);break;case"details":Co("toggle",r);break;case"input":en(r,o),Co("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},Co("invalid",r);break;case"textarea":un(r,o),Co("invalid",r)}for(var s in Sn(n,o),e=null,o)o.hasOwnProperty(s)&&(i=o[s],"children"===s?"string"==typeof i?r.textContent!==i&&(e=["children",i]):"number"==typeof i&&r.textContent!==""+i&&(e=["children",""+i]):lt.hasOwnProperty(s)&&null!=i&&"onScroll"===s&&Co("scroll",r));switch(n){case"input":Gt(r),rn(r,o,!0);break;case"textarea":Gt(r),dn(r);break;case"select":case"option":break;default:"function"==typeof o.onClick&&(r.onclick=Do)}t.updateQueue=r=e,null!==r&&(t.flags|=4)}else{switch(s=9===i.nodeType?i:i.ownerDocument,e===hn&&(e=pn(n)),e===hn?"script"===n?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Qo]=t,e[Ko]=r,Hl(e,t),t.stateNode=e,s=Cn(n,r),n){case"dialog":Co("cancel",e),Co("close",e),i=r;break;case"iframe":case"object":case"embed":Co("load",e),i=r;break;case"video":case"audio":for(i=0;i<Eo.length;i++)Co(Eo[i],e);i=r;break;case"source":Co("error",e),i=r;break;case"img":case"image":case"link":Co("error",e),Co("load",e),i=r;break;case"details":Co("toggle",e),i=r;break;case"input":en(e,r),i=Yt(e,r),Co("invalid",e);break;case"option":i=sn(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=it({},r,{value:void 0}),Co("invalid",e);break;case"textarea":un(e,r),i=ln(e,r),Co("invalid",e);break;default:i=r}Sn(n,i);var a=i;for(o in a)if(a.hasOwnProperty(o)){var l=a[o];"style"===o?xn(e,l):"dangerouslySetInnerHTML"===o?null!=(l=l?l.__html:void 0)&&gn(e,l):"children"===o?"string"==typeof l?("textarea"!==n||""!==l)&&vn(e,l):"number"==typeof l&&vn(e,""+l):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(lt.hasOwnProperty(o)?null!=l&&"onScroll"===o&&Co("scroll",e):null!=l&&wt(e,o,l,s))}switch(n){case"input":Gt(e),rn(e,r,!1);break;case"textarea":Gt(e),dn(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Kt(r.value));break;case"select":e.multiple=!!r.multiple,null!=(o=r.value)?an(e,!!r.multiple,o,!1):null!=r.defaultValue&&an(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Do)}jo(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Wl(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(st(166));n=Ta(ka.current),Ta(Sa.current),Ba(t)?(n=t.memoizedProps,(r=t.stateNode)[Qo]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Qo]=t,t.stateNode=r)}return null;case 13:return os(Pa),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Ba(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Pa.current)?0===Ou&&(Ou=3):(0!==Ou&&3!==Ou||(Ou=4),null===_u||0==(134217727&Ru)&&0==(134217727&Pu)||lc(_u,Cu))),(r||n)&&(t.flags|=4),null);case 4:return La(),null===e&&To(t.stateNode.containerInfo),null;case 10:return Js(t),null;case 17:return hs(t.type)&&ps(),null;case 19:if(os(Pa),null===(r=t.memoizedState))return null;if(o=0!=(64&t.flags),null===(s=r.rendering))if(o)Jl(r,!1);else{if(0!==Ou||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(s=Na(e))){for(t.flags|=64,Jl(r,!1),null!==(o=s.updateQueue)&&(t.updateQueue=o,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(o=n).flags&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,null===(s=o.alternate)?(o.childLanes=0,o.lanes=e,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,o.dependencies=null===(e=s.dependencies)?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ss(Pa,1&Pa.current|2),t.child}e=e.sibling}null!==r.tail&&js()>Mu&&(t.flags|=64,o=!0,Jl(r,!1),t.lanes=33554432)}else{if(!o)if(null!==(e=Na(s))){if(t.flags|=64,o=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Jl(r,!0),null===r.tail&&"hidden"===r.tailMode&&!s.alternate&&!Ma)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*js()-r.renderingStartTime>Mu&&1073741824!==n&&(t.flags|=64,o=!0,Jl(r,!1),t.lanes=33554432);r.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=r.last)?n.sibling=s:t.child=s,r.last=s)}return null!==r.tail?(r.rendering=n=r.tail,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=js(),n.sibling=null,t=Pa.current,ss(Pa,o?1&t|2:1&t),n):null;case 23:case 24:return pc(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(st(156,t.tag))}function eu(e){switch(e.tag){case 1:hs(e.type)&&ps();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(La(),os(us),os(ls),Wa(),0!=(64&(t=e.flags)))throw Error(st(285));return e.flags=-4097&t|64,e;case 5:return Ra(e),null;case 13:return os(Pa),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return os(Pa),null;case 4:return La(),null;case 10:return Js(e),null;case 23:case 24:return pc(),null;default:return null}}function tu(e,t){try{var n="",r=t;do{n+=$t(r),r=r.return}while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i}}function nu(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}Hl=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}},Vl=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Ta(Sa.current);var o,s=null;switch(n){case"input":i=Yt(e,i),r=Yt(e,r),s=[];break;case"option":i=sn(e,i),r=sn(e,r),s=[];break;case"select":i=it({},i,{value:void 0}),r=it({},r,{value:void 0}),s=[];break;case"textarea":i=ln(e,i),r=ln(e,r),s=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=Do)}for(u in Sn(n,r),n=null,i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&null!=i[u])if("style"===u){var a=i[u];for(o in a)a.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(lt.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var l=r[u];if(a=null!=i?i[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(null!=l||null!=a))if("style"===u)if(a){for(o in a)!a.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&a[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(s||(s=[]),s.push(u,n)),n=l;else"dangerouslySetInnerHTML"===u?(a=a?a.__html:void 0,null!=(l=l?l.__html:void 0)&&a!==l&&(s=s||[]).push(u,l)):"children"===u?"string"!=typeof l&&"number"!=typeof l||(s=s||[]).push(u,""+l):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(lt.hasOwnProperty(u)?(null!=l&&"onScroll"===u&&Co("scroll",e),s||a===l||(s=[])):"object"==typeof l&&null!==l&&l.$$typeof===Dt?l.toString():(s=s||[]).push(u,l))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}},Wl=function(e,t,n,r){n!==r&&(t.flags|=4)};var ru="function"==typeof WeakMap?WeakMap:Map;function iu(e,t,n){(n=oa(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){zu||(zu=!0,Bu=r),nu(0,t)},n}function ou(e,t,n){(n=oa(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return nu(0,t),r(i)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Hu?Hu=new Set([this]):Hu.add(this),nu(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var su="function"==typeof WeakSet?WeakSet:Set;function au(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Ic(e,t)}else t.current=null}function lu(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:$s(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Ho(t.stateNode.containerInfo));case 5:case 6:case 4:case 17:return}throw Error(st(163))}function uu(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var i=e;r=i.next,0!=(4&(i=i.tag))&&0!=(1&i)&&(Tc(n,e),kc(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:$s(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&ua(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}ua(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&jo(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&&xr(n)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(st(163))}function cu(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var i=n.memoizedProps.style;i=null!=i&&i.hasOwnProperty("display")?i.display:null,r.style.display=En("display",i)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function du(e,t){if(bs&&"function"==typeof bs.onCommitFiberUnmount)try{bs.onCommitFiberUnmount(vs,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,i=r.destroy;if(r=r.tag,void 0!==i)if(0!=(4&r))Tc(t,n);else{r=t;try{i()}catch(e){Ic(r,e)}}n=n.next}while(n!==e)}break;case 1:if(au(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Ic(t,e)}break;case 5:au(t);break;case 4:mu(e,t)}}function hu(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function pu(e){return 5===e.tag||3===e.tag||4===e.tag}function fu(e){e:{for(var t=e.return;null!==t;){if(pu(t))break e;t=t.return}throw Error(st(160))}var n=t;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(st(161))}16&n.flags&&(vn(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||pu(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.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?function e(t,n,r){var i=t.tag,o=5===i||6===i;if(o)t=o?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=Do));else if(4!==i&&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 i=t.tag,o=5===i||6===i;if(o)t=o?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==i&&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 mu(e,t){for(var n,r,i=t,o=!1;;){if(!o){o=i.return;e:for(;;){if(null===o)throw Error(st(160));switch(n=o.stateNode,o.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}o=o.return}o=!0}if(5===i.tag||6===i.tag){e:for(var s=e,a=i,l=a;;)if(du(s,l),null!==l.child&&4!==l.tag)l.child.return=l,l=l.child;else{if(l===a)break e;for(;null===l.sibling;){if(null===l.return||l.return===a)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}r?(a=i.stateNode,8===(s=n).nodeType?s.parentNode.removeChild(a):s.removeChild(a)):n.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){n=i.stateNode.containerInfo,r=!0,i.child.return=i,i=i.child;continue}}else if(du(e,i),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&&(o=!1)}i.sibling.return=i.return,i=i.sibling}}function yu(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3==(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var i=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[Ko]=r,"input"===e&&"radio"===r.type&&null!=r.name&&tn(n,r),Cn(e,i),t=Cn(e,r),i=0;i<o.length;i+=2){var s=o[i],a=o[i+1];"style"===s?xn(n,a):"dangerouslySetInnerHTML"===s?gn(n,a):"children"===s?vn(n,a):wt(n,s,a,t)}switch(e){case"input":nn(n,r);break;case"textarea":cn(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(o=r.value)?an(n,!!r.multiple,o,!1):e!==!!r.multiple&&(null!=r.defaultValue?an(n,!!r.multiple,r.defaultValue,!0):an(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(st(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,xr(n.containerInfo)));case 12:return;case 13:return null!==t.memoizedState&&(Du=js(),cu(t.child,!0)),void gu(t);case 19:return void gu(t);case 17:return;case 23:case 24:return void cu(t,null!==t.memoizedState)}throw Error(st(163))}function gu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new su),t.forEach((function(t){var r=Pc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function vu(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&null!==(t=t.memoizedState)&&null===t.dehydrated}var bu=Math.ceil,wu=Et.ReactCurrentDispatcher,Eu=Et.ReactCurrentOwner,xu=0,_u=null,Su=null,Cu=0,ku=0,Tu=is(0),Ou=0,Lu=null,Iu=0,Ru=0,Pu=0,Nu=0,Au=null,Du=0,Mu=1/0;function qu(){Mu=js()+500}var ju,Fu=null,zu=!1,Bu=null,Hu=null,Vu=!1,Wu=null,Uu=90,$u=[],Qu=[],Ku=null,Zu=0,Gu=null,Xu=-1,Ju=0,Yu=0,ec=null,tc=!1;function nc(){return 0!=(48&xu)?js():-1!==Xu?Xu:Xu=js()}function rc(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Fs()?1:2;if(0===Ju&&(Ju=Iu),0!==Us.transition){0!==Yu&&(Yu=null!==Au?Au.pendingLanes:0),e=Ju;var t=4186112&~Yu;return 0==(t&=-t)&&0==(t=(e=4186112&~e)&-e)&&(t=8192),t}return e=Fs(),function e(t,n){switch(t){case 15:return 1;case 14:return 2;case 12:return 0===(t=zr(24&~n))?e(10,n):t;case 10:return 0===(t=zr(192&~n))?e(8,n):t;case 8:return 0===(t=zr(3584&~n))&&0===(t=zr(4186112&~n))&&(t=512),t;case 2:return 0===(n=zr(805306368&~n))&&(n=268435456),n}throw Error(st(358,t))}(0!=(4&xu)&&98===e?12:e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),Ju)}function ic(e,t,n){if(50<Zu)throw Zu=0,Gu=null,Error(st(185));if(null===(e=oc(e,t)))return null;Hr(e,t,n),e===_u&&(Pu|=t,4===Ou&&lc(e,Cu));var r=Fs();1===t?0!=(8&xu)&&0==(48&xu)?uc(e):(sc(e,n),0===xu&&(qu(),Vs())):(0==(4&xu)||98!==r&&99!==r||(null===Ku?Ku=new Set([e]):Ku.add(e)),sc(e,n)),Au=e}function oc(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function sc(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,s=e.pendingLanes;0<s;){var a=31-Vr(s),l=1<<a,u=o[a];-1===u?0!=(l&r)&&0==(l&i)||(u=t,qr(l),o[a]=10<=Mr?u+250:6<=Mr?u+5e3:-1):u<=t&&(e.expiredLanes|=l),s&=~l}if(r=jr(e,e===_u?Cu:0),t=Mr,0===r)null!==n&&(n!==Ps&&xs(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Ps&&xs(n)}15===t?(n=uc.bind(null,e),null===As?(As=[n],Ds=Es(Ts,Ws)):As.push(n),n=Ps):n=14===t?Hs(99,uc.bind(null,e)):Hs(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(st(358,e))}}(t),ac.bind(null,e)),e.callbackPriority=t,e.callbackNode=n}}function ac(e){if(Xu=-1,Yu=Ju=0,0!=(48&xu))throw Error(st(327));var t=e.callbackNode;if(Cc()&&e.callbackNode!==t)return null;var n=jr(e,e===_u?Cu:0);if(0===n)return null;var r=n,i=xu;xu|=16;var o=yc();for(_u===e&&Cu===r||(qu(),fc(e,r));;)try{bc();break}catch(t){mc(e,t)}if(Xs(),wu.current=o,xu=i,null!==Su?r=0:(_u=null,Cu=0,r=Ou),0!=(Iu&Pu))fc(e,0);else if(0!==r){if(2===r&&(xu|=64,e.hydrate&&(e.hydrate=!1,Ho(e.containerInfo)),0!==(n=Fr(e))&&(r=gc(e,n))),1===r)throw t=Lu,fc(e,0),lc(e,n),sc(e,js()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(st(345));case 2:xc(e);break;case 3:if(lc(e,n),(62914560&n)===n&&10<(r=Du+500-js())){if(0!==jr(e,0))break;if(((i=e.suspendedLanes)&n)!==n){nc(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=zo(xc.bind(null,e),r);break}xc(e);break;case 4:if(lc(e,n),(4186112&n)===n)break;for(r=e.eventTimes,i=-1;0<n;){var s=31-Vr(n);o=1<<s,(s=r[s])>i&&(i=s),n&=~o}if(n=i,10<(n=(120>(n=js()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*bu(n/1960))-n)){e.timeoutHandle=zo(xc.bind(null,e),n);break}xc(e);break;case 5:xc(e);break;default:throw Error(st(329))}}return sc(e,js()),e.callbackNode===t?ac.bind(null,e):null}function lc(e,t){for(t&=~Nu,e.suspendedLanes|=t&=~Pu,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Vr(t),r=1<<n;e[n]=-1,t&=~r}}function uc(e){if(0!=(48&xu))throw Error(st(327));if(Cc(),e===_u&&0!=(e.expiredLanes&Cu)){var t=Cu,n=gc(e,t);0!=(Iu&Pu)&&(n=gc(e,t=jr(e,t)))}else n=gc(e,t=jr(e,0));if(0!==e.tag&&2===n&&(xu|=64,e.hydrate&&(e.hydrate=!1,Ho(e.containerInfo)),0!==(t=Fr(e))&&(n=gc(e,t))),1===n)throw n=Lu,fc(e,0),lc(e,t),sc(e,js()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,xc(e),sc(e,js()),null}function cc(e,t){var n=xu;xu|=1;try{return e(t)}finally{0===(xu=n)&&(qu(),Vs())}}function dc(e,t){var n=xu;xu&=-2,xu|=8;try{return e(t)}finally{0===(xu=n)&&(qu(),Vs())}}function hc(e,t){ss(Tu,ku),ku|=t,Iu|=t}function pc(){ku=Tu.current,os(Tu)}function fc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Bo(n)),null!==Su)for(n=Su.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&ps();break;case 3:La(),os(us),os(ls),Wa();break;case 5:Ra(r);break;case 4:La();break;case 13:case 19:os(Pa);break;case 10:Js(r);break;case 23:case 24:pc()}n=n.return}_u=e,Su=Mc(e.current,null),Cu=ku=Iu=t,Ou=0,Lu=null,Nu=Pu=Ru=0}function mc(e,t){for(;;){var n=Su;try{if(Xs(),Ua.current=kl,Xa){for(var r=Ka.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}Xa=!1}if(Qa=0,Ga=Za=Ka=null,Ja=!1,Eu.current=null,null===n||null===n.return){Ou=1,Lu=t,Su=null;break}e:{var o=e,s=n.return,a=n,l=t;if(t=Cu,a.flags|=2048,a.firstEffect=a.lastEffect=null,null!==l&&"object"==typeof l&&"function"==typeof l.then){var u=l;if(0==(2&a.mode)){var c=a.alternate;c?(a.updateQueue=c.updateQueue,a.memoizedState=c.memoizedState,a.lanes=c.lanes):(a.updateQueue=null,a.memoizedState=null)}var d=0!=(1&Pa.current),h=s;do{var p;if(p=13===h.tag){var f=h.memoizedState;if(null!==f)p=null!==f.dehydrated;else{var m=h.memoizedProps;p=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!d)}}if(p){var y=h.updateQueue;if(null===y){var g=new Set;g.add(u),h.updateQueue=g}else y.add(u);if(0==(2&h.mode)){if(h.flags|=64,a.flags|=16384,a.flags&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var v=oa(-1,1);v.tag=2,sa(a,v)}a.lanes|=1;break e}l=void 0,a=t;var b=o.pingCache;if(null===b?(b=o.pingCache=new ru,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 w=Rc.bind(null,o,u,a);u.then(w,w)}h.flags|=4096,h.lanes=t;break e}h=h.return}while(null!==h);l=Error((Qt(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.")}5!==Ou&&(Ou=2),l=tu(l,a),h=s;do{switch(h.tag){case 3:o=l,h.flags|=4096,h.lanes|=t&=-t,aa(h,iu(0,o,t));break e;case 1:o=l;var E=h.stateNode;if(0==(64&h.flags)&&("function"==typeof h.type.getDerivedStateFromError||null!==E&&"function"==typeof E.componentDidCatch&&(null===Hu||!Hu.has(E)))){h.flags|=4096,h.lanes|=t&=-t,aa(h,ou(h,o,t));break e}}h=h.return}while(null!==h)}Ec(n)}catch(e){t=e,Su===n&&null!==n&&(Su=n=n.return);continue}break}}function yc(){var e=wu.current;return wu.current=kl,null===e?kl:e}function gc(e,t){var n=xu;xu|=16;var r=yc();for(_u===e&&Cu===t||fc(e,t);;)try{vc();break}catch(t){mc(e,t)}if(Xs(),xu=n,wu.current=r,null!==Su)throw Error(st(261));return _u=null,Cu=0,Ou}function vc(){for(;null!==Su;)wc(Su)}function bc(){for(;null!==Su&&!_s();)wc(Su)}function wc(e){var t=ju(e.alternate,e,ku);e.memoizedProps=e.pendingProps,null===t?Ec(e):Su=t,Eu.current=null}function Ec(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=Yl(n,t,ku)))return void(Su=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&ku)||0==(4&n.mode)){for(var r=0,i=n.child;null!==i;)r|=i.lanes|i.childLanes,i=i.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=eu(t)))return n.flags&=2047,void(Su=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Su=t);Su=t=e}while(null!==t);0===Ou&&(Ou=5)}function xc(e){var t=Fs();return Bs(99,_c.bind(null,e,t)),null}function _c(e,t){do{Cc()}while(null!==Wu);if(0!=(48&xu))throw Error(st(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(st(177));e.callbackNode=null;var r=n.lanes|n.childLanes,i=r,o=e.pendingLanes&~i;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=i,e.mutableReadLanes&=i,e.entangledLanes&=i,i=e.entanglements;for(var s=e.eventTimes,a=e.expirationTimes;0<o;){var l=31-Vr(o),u=1<<l;i[l]=0,s[l]=-1,a[l]=-1,o&=~u}if(null!==Ku&&0==(24&r)&&Ku.has(e)&&Ku.delete(e),e===_u&&(Su=_u=null,Cu=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(i=xu,xu|=32,Eu.current=null,Mo=Kr,ho(s=co())){if("selectionStart"in s)a={start:s.selectionStart,end:s.selectionEnd};else if((u=(a=(a=s.ownerDocument)&&a.defaultView||window).getSelection&&a.getSelection())&&0!==u.rangeCount){a=u.anchorNode,o=u.anchorOffset,l=u.focusNode,u=u.focusOffset;var c=0,d=-1,h=-1,p=0,f=0,m=s,y=null;e:for(;;){for(var g;m!==a||0!==o&&3!==m.nodeType||(d=c+o),m!==l||0!==u&&3!==m.nodeType||(h=c+u),3===m.nodeType&&(c+=m.nodeValue.length),null!==(g=m.firstChild);)y=m,m=g;for(;;){if(m===s)break e;if(y===a&&++p===o&&(d=c),y===l&&++f===u&&(h=c),null!==(g=m.nextSibling))break;y=(m=y).parentNode}m=g}a=-1===d||-1===h?null:{start:d,end:h}}else a=null;a=a||{start:0,end:0}}else a=null;qo={focusedElem:s,selectionRange:a},Kr=!1,ec=null,tc=!1,Fu=r;do{try{Sc()}catch(e){if(null===Fu)throw Error(st(330));Ic(Fu,e),Fu=Fu.nextEffect}}while(null!==Fu);ec=null,Fu=r;do{try{for(s=e;null!==Fu;){var v=Fu.flags;if(16&v&&vn(Fu.stateNode,""),128&v){var b=Fu.alternate;if(null!==b){var w=b.ref;null!==w&&("function"==typeof w?w(null):w.current=null)}}switch(1038&v){case 2:fu(Fu),Fu.flags&=-3;break;case 6:fu(Fu),Fu.flags&=-3,yu(Fu.alternate,Fu);break;case 1024:Fu.flags&=-1025;break;case 1028:Fu.flags&=-1025,yu(Fu.alternate,Fu);break;case 4:yu(Fu.alternate,Fu);break;case 8:mu(s,a=Fu);var E=a.alternate;hu(a),null!==E&&hu(E)}Fu=Fu.nextEffect}}catch(e){if(null===Fu)throw Error(st(330));Ic(Fu,e),Fu=Fu.nextEffect}}while(null!==Fu);if(w=qo,b=co(),s=w.selectionRange,b!==(v=w.focusedElem)&&v&&v.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))))}(v.ownerDocument.documentElement,v)){null!==s&&ho(v)&&(b=s.start,void 0===(w=s.end)&&(w=b),"selectionStart"in v?(v.selectionStart=b,v.selectionEnd=Math.min(w,v.value.length)):(w=(b=v.ownerDocument||document)&&b.defaultView||window).getSelection&&(w=w.getSelection(),a=v.textContent.length,E=Math.min(s.start,a),s=void 0===s.end?E:Math.min(s.end,a),!w.extend&&E>s&&(a=s,s=E,E=a),a=uo(v,E),o=uo(v,s),a&&o&&(1!==w.rangeCount||w.anchorNode!==a.node||w.anchorOffset!==a.offset||w.focusNode!==o.node||w.focusOffset!==o.offset)&&((b=b.createRange()).setStart(a.node,a.offset),w.removeAllRanges(),E>s?(w.addRange(b),w.extend(o.node,o.offset)):(b.setEnd(o.node,o.offset),w.addRange(b))))),b=[];for(w=v;w=w.parentNode;)1===w.nodeType&&b.push({element:w,left:w.scrollLeft,top:w.scrollTop});for("function"==typeof v.focus&&v.focus(),v=0;v<b.length;v++)(w=b[v]).element.scrollLeft=w.left,w.element.scrollTop=w.top}Kr=!!Mo,qo=Mo=null,e.current=n,Fu=r;do{try{for(v=e;null!==Fu;){var x=Fu.flags;if(36&x&&uu(v,Fu.alternate,Fu),128&x){b=void 0;var _=Fu.ref;if(null!==_){var S=Fu.stateNode;switch(Fu.tag){case 5:b=S;break;default:b=S}"function"==typeof _?_(b):_.current=b}}Fu=Fu.nextEffect}}catch(e){if(null===Fu)throw Error(st(330));Ic(Fu,e),Fu=Fu.nextEffect}}while(null!==Fu);Fu=null,Ns(),xu=i}else e.current=n;if(Vu)Vu=!1,Wu=e,Uu=t;else for(Fu=r;null!==Fu;)t=Fu.nextEffect,Fu.nextEffect=null,8&Fu.flags&&((x=Fu).sibling=null,x.stateNode=null),Fu=t;if(0===(r=e.pendingLanes)&&(Hu=null),1===r?e===Gu?Zu++:(Zu=0,Gu=e):Zu=0,n=n.stateNode,bs&&"function"==typeof bs.onCommitFiberRoot)try{bs.onCommitFiberRoot(vs,n,void 0,64==(64&n.current.flags))}catch(e){}if(sc(e,js()),zu)throw zu=!1,e=Bu,Bu=null,e;return 0!=(8&xu)||Vs(),null}function Sc(){for(;null!==Fu;){var e=Fu.alternate;tc||null===ec||(0!=(8&Fu.flags)?er(Fu,ec)&&(tc=!0):13===Fu.tag&&vu(e,Fu)&&er(Fu,ec)&&(tc=!0));var t=Fu.flags;0!=(256&t)&&lu(e,Fu),0==(512&t)||Vu||(Vu=!0,Hs(97,(function(){return Cc(),null}))),Fu=Fu.nextEffect}}function Cc(){if(90!==Uu){var e=97<Uu?97:Uu;return Uu=90,Bs(e,Oc)}return!1}function kc(e,t){$u.push(t,e),Vu||(Vu=!0,Hs(97,(function(){return Cc(),null})))}function Tc(e,t){Qu.push(t,e),Vu||(Vu=!0,Hs(97,(function(){return Cc(),null})))}function Oc(){if(null===Wu)return!1;var e=Wu;if(Wu=null,0!=(48&xu))throw Error(st(331));var t=xu;xu|=32;var n=Qu;Qu=[];for(var r=0;r<n.length;r+=2){var i=n[r],o=n[r+1],s=i.destroy;if(i.destroy=void 0,"function"==typeof s)try{s()}catch(e){if(null===o)throw Error(st(330));Ic(o,e)}}for(n=$u,$u=[],r=0;r<n.length;r+=2){i=n[r],o=n[r+1];try{var a=i.create;i.destroy=a()}catch(e){if(null===o)throw Error(st(330));Ic(o,e)}}for(a=e.current.firstEffect;null!==a;)e=a.nextEffect,a.nextEffect=null,8&a.flags&&(a.sibling=null,a.stateNode=null),a=e;return xu=t,Vs(),!0}function Lc(e,t,n){sa(e,t=iu(0,t=tu(n,t),1)),t=nc(),null!==(e=oc(e,1))&&(Hr(e,1,t),sc(e,t))}function Ic(e,t){if(3===e.tag)Lc(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Lc(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Hu||!Hu.has(r))){var i=ou(n,e=tu(t,e),1);if(sa(n,i),i=nc(),null!==(n=oc(n,1)))Hr(n,1,i),sc(n,i);else if("function"==typeof r.componentDidCatch&&(null===Hu||!Hu.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function Rc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=nc(),e.pingedLanes|=e.suspendedLanes&n,_u===e&&(Cu&n)===n&&(4===Ou||3===Ou&&(62914560&Cu)===Cu&&500>js()-Du?fc(e,0):Nu|=n),sc(e,t)}function Pc(e,t){var n=e.stateNode;null!==n&&n.delete(t),0==(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===Fs()?1:2:(0===Ju&&(Ju=Iu),0===(t=zr(62914560&~Ju))&&(t=4194304))),n=nc(),null!==(e=oc(e,t))&&(Hr(e,t,n),sc(e,n))}function Nc(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.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Ac(e,t,n,r){return new Nc(e,t,n,r)}function Dc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Mc(e,t){var n=e.alternate;return null===n?((n=Ac(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.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.dependencies=null===(t=e.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function qc(e,t,n,r,i,o){var s=2;if(r=e,"function"==typeof e)Dc(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case St:return jc(n.children,i,o,t);case Mt:s=8,i|=16;break;case Ct:s=8,i|=1;break;case kt:return(e=Ac(12,n,t,8|i)).elementType=kt,e.type=kt,e.lanes=o,e;case It:return(e=Ac(13,n,t,i)).type=It,e.elementType=It,e.lanes=o,e;case Rt:return(e=Ac(19,n,t,i)).elementType=Rt,e.lanes=o,e;case qt:return Fc(n,i,o,t);case jt:return(e=Ac(24,n,t,i)).elementType=jt,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Tt:s=10;break e;case Ot:s=9;break e;case Lt:s=11;break e;case Pt:s=14;break e;case Nt:s=16,r=null;break e;case At:s=22;break e}throw Error(st(130,null==e?e:typeof e,""))}return(t=Ac(s,n,t,i)).elementType=e,t.type=r,t.lanes=o,t}function jc(e,t,n,r){return(e=Ac(7,e,r,t)).lanes=n,e}function Fc(e,t,n,r){return(e=Ac(23,e,r,t)).elementType=qt,e.lanes=n,e}function zc(e,t,n){return(e=Ac(6,e,null,t)).lanes=n,e}function Bc(e,t,n){return(t=Ac(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Hc(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Br(0),this.expirationTimes=Br(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Br(0),this.mutableSourceEagerHydrationData=null}function Vc(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:_t,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Wc(e,t,n,r){var i=t.current,o=nc(),s=rc(i);e:if(n){t:{if(Gn(n=n._reactInternals)!==n||1!==n.tag)throw Error(st(170));var a=n;do{switch(a.tag){case 3:a=a.stateNode.context;break t;case 1:if(hs(a.type)){a=a.stateNode.__reactInternalMemoizedMergedChildContext;break t}}a=a.return}while(null!==a);throw Error(st(171))}if(1===n.tag){var l=n.type;if(hs(l)){n=ms(n,l,a);break e}}n=a}else n=as;return null===t.context?t.context=n:t.pendingContext=n,(t=oa(o,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),sa(i,t),ic(i,s,o),s}function Uc(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function $c(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Qc(e,t){$c(e,t),(e=e.alternate)&&$c(e,t)}function Kc(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Hc(e,t,null!=n&&!0===n.hydrate),t=Ac(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,ra(t),e[Zo]=n.current,To(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var i=(t=r[e])._getVersion;i=i(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,i]:n.mutableSourceEagerHydrationData.push(t,i)}this._internalRoot=n}function Zc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Gc(e,t,n,r,i){var o=n._reactRootContainer;if(o){var s=o._internalRoot;if("function"==typeof i){var a=i;i=function(){var e=Uc(s);a.call(e)}}Wc(t,s,e,i)}else{if(o=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 Kc(e,0,t?{hydrate:!0}:void 0)}(n,r),s=o._internalRoot,"function"==typeof i){var l=i;i=function(){var e=Uc(s);l.call(e)}}dc((function(){Wc(t,s,e,i)}))}return Uc(s)}function Xc(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Zc(t))throw Error(st(200));return Vc(e,t,null,n)}ju=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||us.current)Rl=!0;else{if(0==(n&r)){switch(Rl=!1,t.tag){case 3:Bl(t),Ha();break;case 5:Ia(t);break;case 1:hs(t.type)&&ys(t);break;case 4:Oa(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var i=t.type._context;ss(Qs,i._currentValue),i._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?$l(e,t,n):(ss(Pa,1&Pa.current),null!==(t=Xl(e,t,n))?t.sibling:null);ss(Pa,1&Pa.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return Gl(e,t,n);t.flags|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),ss(Pa,Pa.current),r)break;return null;case 23:case 24:return t.lanes=0,Ml(e,t,n)}return Xl(e,t,n)}Rl=0!=(16384&e.flags)}else Rl=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=ds(t,ls.current),ea(t,n),i=tl(null,t,r,e,i,n),t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,hs(r)){var o=!0;ys(t)}else o=!1;t.memoizedState=null!=i.state?i.state:null,ra(t);var s=r.getDerivedStateFromProps;"function"==typeof s&&da(t,r,s,e),i.updater=ha,t.stateNode=i,i._reactInternals=t,ya(t,r,e,n),t=zl(null,t,r,!0,o,n)}else t.tag=0,Pl(null,t,i,n),t=t.child;return t;case 16:i=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=(o=i._init)(i._payload),t.type=i,o=t.tag=function(e){if("function"==typeof e)return Dc(e)?1:0;if(null!=e){if((e=e.$$typeof)===Lt)return 11;if(e===Pt)return 14}return 2}(i),e=$s(i,e),o){case 0:t=jl(null,t,i,e,n);break e;case 1:t=Fl(null,t,i,e,n);break e;case 11:t=Nl(null,t,i,e,n);break e;case 14:t=Al(null,t,i,$s(i.type,e),r,n);break e}throw Error(st(306,i,""))}return t;case 0:return i=t.pendingProps,jl(e,t,r=t.type,i=t.elementType===r?i:$s(r,i),n);case 1:return i=t.pendingProps,Fl(e,t,r=t.type,i=t.elementType===r?i:$s(r,i),n);case 3:if(Bl(t),r=t.updateQueue,null===e||null===r)throw Error(st(282));if(r=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,ia(e,t),la(t,r,null,n),(r=t.memoizedState.element)===i)Ha(),t=Xl(e,t,n);else{if((o=(i=t.stateNode).hydrate)&&(Da=Vo(t.stateNode.containerInfo.firstChild),Aa=t,o=Ma=!0),o){if(null!=(e=i.mutableSourceEagerHydrationData))for(i=0;i<e.length;i+=2)(o=e[i])._workInProgressVersionPrimary=e[i+1],Va.push(o);for(n=xa(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Pl(e,t,r,n),Ha();t=t.child}return t;case 5:return Ia(t),null===e&&Fa(t),o=null!==e?e.memoizedProps:null,s=(i=t.pendingProps).children,Fo(r=t.type,i)?s=null:null!==o&&Fo(r,o)&&(t.flags|=16),ql(e,t),Pl(e,t,s,n),t.child;case 6:return null===e&&Fa(t),null;case 13:return $l(e,t,n);case 4:return Oa(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ea(t,null,r,n):Pl(e,t,r,n),t.child;case 11:return i=t.pendingProps,Nl(e,t,r=t.type,i=t.elementType===r?i:$s(r,i),n);case 7:return Pl(e,t,t.pendingProps,n),t.child;case 8:case 12:return Pl(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,s=t.memoizedProps,o=(i=t.pendingProps).value;var a=t.type._context;if(ss(Qs,a._currentValue),a._currentValue=o,null!==s)if(0==(o=oo(a=s.value,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(a,o):1073741823))){if(s.children===i.children&&!us.current){t=Xl(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){s=a.child;for(var u=l.firstContext;null!==u;){if(u.context===r&&0!=(u.observedBits&o)){1===a.tag&&((u=oa(-1,n&-n)).tag=2,sa(a,u)),a.lanes|=n,null!==(u=a.alternate)&&(u.lanes|=n),Ys(a.return,n),l.lanes|=n;break}u=u.next}}else s=10===a.tag&&a.type===t.type?null:a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}Pl(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(o=t.pendingProps).children,ea(t,n),r=r(i=ta(i,o.unstable_observedBits)),t.flags|=1,Pl(e,t,r,n),t.child;case 14:return o=$s(i=t.type,t.pendingProps),Al(e,t,i,o=$s(i.type,o),r,n);case 15:return Dl(e,t,t.type,t.pendingProps,r,n);case 17:return i=t.pendingProps,i=t.elementType===(r=t.type)?i:$s(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,hs(r)?(e=!0,ys(t)):e=!1,ea(t,n),fa(t,r,i),ya(t,r,i,n),zl(null,t,r,!0,e,n);case 19:return Gl(e,t,n);case 23:case 24:return Ml(e,t,n)}throw Error(st(156,t.tag))},Kc.prototype.render=function(e){Wc(e,this._internalRoot,null,null)},Kc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Wc(null,e,null,(function(){t[Zo]=null}))},tr=function(e){13===e.tag&&(ic(e,4,nc()),Qc(e,4))},nr=function(e){13===e.tag&&(ic(e,67108864,nc()),Qc(e,67108864))},rr=function(e){if(13===e.tag){var t=nc(),n=rc(e);ic(e,n,t),Qc(e,n)}},ir=function(e,t){return t()},Tn=function(e,t,n){switch(t){case"input":if(nn(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 i=es(r);if(!i)throw Error(st(90));Xt(r),nn(r,i)}}}break;case"textarea":cn(e,n);break;case"select":null!=(t=n.value)&&an(e,!!n.multiple,t,!1)}},Nn=cc,An=function(e,t,n,r,i){var o=xu;xu|=4;try{return Bs(98,e.bind(null,t,n,r,i))}finally{0===(xu=o)&&(qu(),Vs())}},Dn=function(){0==(49&xu)&&(function(){if(null!==Ku){var e=Ku;Ku=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,sc(e,js())}))}Vs()}(),Cc())},Mn=function(e,t){var n=xu;xu|=2;try{return e(t)}finally{0===(xu=n)&&(qu(),Vs())}};var Jc={Events:[Jo,Yo,es,Rn,Pn,Cc,{current:!1}]},Yc={findFiberByHostInstance:Xo,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},ed={bundleType:Yc.bundleType,version:Yc.version,rendererPackageName:Yc.rendererPackageName,rendererConfig:Yc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Et.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Yn(e))?null:e.stateNode},findFiberByHostInstance:Yc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var td=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!td.isDisabled&&td.supportsFiber)try{vs=td.inject(ed),bs=td}catch(yn){}}et.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Jc,et.createPortal=Xc,et.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(st(188));throw Error(st(268,Object.keys(e)))}return null===(e=Yn(t))?null:e.stateNode},et.flushSync=function(e,t){var n=xu;if(0!=(48&n))return e(t);xu|=1;try{if(e)return Bs(99,e.bind(null,t))}finally{xu=n,Vs()}},et.hydrate=function(e,t,n){if(!Zc(t))throw Error(st(200));return Gc(null,e,t,!0,n)},et.render=function(e,t,n){if(!Zc(t))throw Error(st(200));return Gc(null,e,t,!1,n)},et.unmountComponentAtNode=function(e){if(!Zc(e))throw Error(st(40));return!!e._reactRootContainer&&(dc((function(){Gc(null,null,e,!1,(function(){e._reactRootContainer=null,e[Zo]=null}))})),!0)},et.unstable_batchedUpdates=cc,et.unstable_createPortal=function(e,t){return Xc(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},et.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Zc(n))throw Error(st(200));if(null==e||void 0===e._reactInternals)throw Error(st(38));return Gc(e,t,n,!1,r)},et.version="17.0.2",function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),Ye.exports=et;var nd=Ye.exports;function rd(){return(rd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function id(e){return(id="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function od(e){return(od="function"==typeof Symbol&&"symbol"===id(Symbol.iterator)?function(e){return id(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":id(e)})(e)}function sd(e){return e&&"object"===od(e)&&e.constructor===Object}function ad(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},r=n.clone?rd({},e):e;return sd(e)&&sd(t)&&Object.keys(t).forEach((function(i){"__proto__"!==i&&(r[i]=sd(t[i])&&i in e?ad(e[i],t[i],n):t[i])})),r}function ld(){}function ud(){}function cd(e){for(var t="https://material-ui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}ud.resetWarningCache=ld,function(){function e(e,t,n,r,i,o){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==o){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:ud,resetWarningCache:ld};n.PropTypes=n}();var dd={exports:{}},hd={},pd=60103,fd=60106,md=60107,yd=60108,gd=60114,vd=60109,bd=60110,wd=60112,Ed=60113,xd=60120,_d=60115,Sd=60116,Cd=60121,kd=60122,Td=60117,Od=60129,Ld=60131;if("function"==typeof Symbol&&Symbol.for){var Id=Symbol.for;pd=Id("react.element"),fd=Id("react.portal"),md=Id("react.fragment"),yd=Id("react.strict_mode"),gd=Id("react.profiler"),vd=Id("react.provider"),bd=Id("react.context"),wd=Id("react.forward_ref"),Ed=Id("react.suspense"),xd=Id("react.suspense_list"),_d=Id("react.memo"),Sd=Id("react.lazy"),Cd=Id("react.block"),kd=Id("react.server.block"),Td=Id("react.fundamental"),Od=Id("react.debug_trace_mode"),Ld=Id("react.legacy_hidden")}function Rd(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case pd:switch(e=e.type){case md:case gd:case yd:case Ed:case xd:return e;default:switch(e=e&&e.$$typeof){case bd:case wd:case Sd:case _d:case vd:return e;default:return t}}case fd:return t}}}var Pd=vd,Nd=pd,Ad=wd,Dd=md,Md=Sd,qd=_d,jd=fd,Fd=gd,zd=yd,Bd=Ed;hd.ContextConsumer=bd,hd.ContextProvider=Pd,hd.Element=Nd,hd.ForwardRef=Ad,hd.Fragment=Dd,hd.Lazy=Md,hd.Memo=qd,hd.Portal=jd,hd.Profiler=Fd,hd.StrictMode=zd,hd.Suspense=Bd,hd.isAsyncMode=function(){return!1},hd.isConcurrentMode=function(){return!1},hd.isContextConsumer=function(e){return Rd(e)===bd},hd.isContextProvider=function(e){return Rd(e)===vd},hd.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===pd},hd.isForwardRef=function(e){return Rd(e)===wd},hd.isFragment=function(e){return Rd(e)===md},hd.isLazy=function(e){return Rd(e)===Sd},hd.isMemo=function(e){return Rd(e)===_d},hd.isPortal=function(e){return Rd(e)===fd},hd.isProfiler=function(e){return Rd(e)===gd},hd.isStrictMode=function(e){return Rd(e)===yd},hd.isSuspense=function(e){return Rd(e)===Ed},hd.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===md||e===gd||e===Od||e===yd||e===Ed||e===xd||e===Ld||"object"==typeof e&&null!==e&&(e.$$typeof===Sd||e.$$typeof===_d||e.$$typeof===vd||e.$$typeof===bd||e.$$typeof===wd||e.$$typeof===Td||e.$$typeof===Cd||e[0]===kd)},hd.typeOf=Rd,dd.exports=hd;var Hd="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",Vd=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function Wd(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,r=e.productionPrefix,i=void 0===r?"jss":r,o=e.seed,s=void 0===o?"":o,a=""===s?"":"".concat(s,"-"),l=0,u=function(){return l+=1};return function(e,t){var r=t.options.name;if(r&&0===r.indexOf("Mui")&&!t.options.link&&!n){if(-1!==Vd.indexOf(e.key))return"Mui-".concat(e.key);var o="".concat(a).concat(r,"-").concat(e.key);return t.options.theme[Hd]&&""===s?"".concat(o,"-").concat(u()):o}return"".concat(a).concat(i).concat(u())}}function Ud(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var i,o=t.props[n];for(i in o)void 0===r[i]&&(r[i]=o[i]);return r}function $d(){return($d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Qd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kd="object"===("undefined"==typeof window?"undefined":Qd(window))&&"object"===("undefined"==typeof document?"undefined":Qd(document))&&9===document.nodeType;function Zd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Gd(e,t,n){return t&&Zd(e.prototype,t),n&&Zd(e,n),e}function Xd(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Jd(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Yd={}.constructor;function eh(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(eh);if(e.constructor!==Yd)return e;var t={};for(var n in e)t[n]=eh(e[n]);return t}function th(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,i=eh(t);return r.plugins.onCreateRule(e,i,n)||null}var nh=function(e,t){for(var n="",r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=t),n+=e[r];return n},rh=function(e,t){if(void 0===t&&(t=!1),!Array.isArray(e))return e;var n="";if(Array.isArray(e[0]))for(var r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=", "),n+=nh(e[r]," ");else n=nh(e,", ");return t||"!important"!==e[e.length-1]||(n+=" !important"),n};function ih(e,t){for(var n="",r=0;r<t;r++)n+=" ";return n+e}function oh(e,t,n){void 0===n&&(n={});var r="";if(!t)return r;var i=n.indent,o=void 0===i?0:i,s=t.fallbacks;if(e&&o++,s)if(Array.isArray(s))for(var a=0;a<s.length;a++){var l=s[a];for(var u in l){var c=l[u];null!=c&&(r&&(r+="\n"),r+=""+ih(u+": "+rh(c)+";",o))}}else for(var d in s){var h=s[d];null!=h&&(r&&(r+="\n"),r+=""+ih(d+": "+rh(h)+";",o))}for(var p in t){var f=t[p];null!=f&&"fallbacks"!==p&&(r&&(r+="\n"),r+=""+ih(p+": "+rh(f)+";",o))}return(r||n.allowEmpty)&&e?(r&&(r="\n"+r+"\n"),ih(e+" {"+r,--o)+ih("}",o)):r}var sh=/([[\].#*$><+~=|^:(),"'`\s])/g,ah="undefined"!=typeof CSS&&CSS.escape,lh=function(e){return ah?ah(e):e.replace(sh,"\\$1")},uh=function(){function e(e,t,n){this.type="style",this.key=void 0,this.isProcessed=!1,this.style=void 0,this.renderer=void 0,this.renderable=void 0,this.options=void 0;var r=n.sheet,i=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:i&&(this.renderer=new i)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var i=t;n&&!1===n.process||(i=this.options.jss.plugins.onChangeValue(t,e,this));var o=null==i||!1===i,s=e in this.style;if(o&&!s&&!r)return this;var a=o&&s;return a?delete this.style[e]:this.style[e]=i,this.renderable&&this.renderer?(a?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,i),this):this},e}(),ch=function(e){function t(t,n,r){var i;(i=e.call(this,t,n,r)||this).selectorText=void 0,i.id=void 0,i.renderable=void 0;var o=r.selector,s=r.scoped,a=r.sheet,l=r.generateId;return o?i.selectorText=o:!1!==s&&(i.id=l(Jd(Jd(i)),a),i.selectorText="."+lh(i.id)),i}Xd(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!=typeof n?e[t]=n:Array.isArray(n)&&(e[t]=rh(n))}return e},n.toString=function(e){var t=this.options.sheet,n=t&&t.options.link?$d({},e,{allowEmpty:!0}):e;return oh(this.selectorText,this.style,n)},Gd(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;n&&t&&(t.setSelector(n,e)||t.replaceRule(n,this))}},get:function(){return this.selectorText}}]),t}(uh),dh={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new ch(e,t,n)}},hh={indent:1,children:!0},ph=/@([\w-]+)/,fh=function(){function e(e,t,n){this.type="conditional",this.at=void 0,this.key=void 0,this.query=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e;var r=e.match(ph);for(var i in this.at=r?r[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new qh($d({},n,{parent:this})),t)this.rules.add(i,t[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.toString=function(e){if(void 0===e&&(e=hh),null==e.indent&&(e.indent=hh.indent),null==e.children&&(e.children=hh.children),!1===e.children)return this.query+" {}";var t=this.rules.toString(e);return t?this.query+" {\n"+t+"\n}":""},e}(),mh=/@media|@supports\s+/,yh={onCreateRule:function(e,t,n){return mh.test(e)?new fh(e,t,n):null}},gh={indent:1,children:!0},vh=/@keyframes\s+([\w-]+)/,bh=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.key=void 0,this.name=void 0,this.id=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0;var r=e.match(vh);this.name=r&&r[1]?r[1]:"noname",this.key=this.type+"-"+this.name,this.options=n;var i=n.scoped,o=n.sheet,s=n.generateId;for(var a in this.id=!1===i?this.name:lh(s(this,o)),this.rules=new qh($d({},n,{parent:this})),t)this.rules.add(a,t[a],$d({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){if(void 0===e&&(e=gh),null==e.indent&&(e.indent=gh.indent),null==e.children&&(e.children=gh.children),!1===e.children)return this.at+" "+this.id+" {}";var t=this.rules.toString(e);return t&&(t="\n"+t+"\n"),this.at+" "+this.id+" {"+t+"}"},e}(),wh=/@keyframes\s+/,Eh=/\$([\w-]+)/g,xh=function(e,t){return"string"==typeof e?e.replace(Eh,(function(e,n){return n in t?t[n]:e})):e},_h=function(e,t,n){var r=e[t],i=xh(r,n);i!==r&&(e[t]=i)},Sh={onCreateRule:function(e,t,n){return"string"==typeof e&&wh.test(e)?new bh(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&_h(e,"animation-name",n.keyframes),"animation"in e&&_h(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return xh(e,r.keyframes);default:return e}}},Ch=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).renderable=void 0,t}return Xd(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=t&&t.options.link?$d({},e,{allowEmpty:!0}):e;return oh(this.key,this.style,n)},t}(uh),kh={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new Ch(e,t,n):null}},Th=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.style)){for(var t="",n=0;n<this.style.length;n++)t+=oh(this.at,this.style[n]),this.style[n+1]&&(t+="\n");return t}return oh(this.at,this.style,e)},e}(),Oh=/@font-face/,Lh={onCreateRule:function(e,t,n){return Oh.test(e)?new Th(e,t,n):null}},Ih=function(){function e(e,t,n){this.type="viewport",this.at="@viewport",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){return oh(this.key,this.style,e)},e}(),Rh={onCreateRule:function(e,t,n){return"@viewport"===e||"@-ms-viewport"===e?new Ih(e,t,n):null}},Ph=function(){function e(e,t,n){this.type="simple",this.key=void 0,this.value=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.value=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",n=0;n<this.value.length;n++)t+=this.key+" "+this.value[n]+";",this.value[n+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},e}(),Nh={"@charset":!0,"@import":!0,"@namespace":!0},Ah=[dh,yh,Sh,kh,Lh,Rh,{onCreateRule:function(e,t,n){return e in Nh?new Ph(e,t,n):null}}],Dh={process:!0},Mh={force:!0,process:!0},qh=function(){function e(e){this.map={},this.raw={},this.index=[],this.counter=0,this.options=void 0,this.classes=void 0,this.keyframes=void 0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var t=e.prototype;return t.add=function(e,t,n){var r=this.options,i=$d({classes:this.classes,parent:r.parent,sheet:r.sheet,jss:r.jss,Renderer:r.Renderer,generateId:r.generateId,scoped:r.scoped,name:e,keyframes:this.keyframes,selector:void 0},n),o=e;e in this.raw&&(o=e+"-d"+this.counter++),this.raw[o]=t,o in this.classes&&(i.selector="."+lh(this.classes[o]));var s=th(o,t,i);return s?(this.register(s),this.index.splice(void 0===i.index?this.index.length:i.index,0,s),s):null},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof ch?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof bh&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof ch?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof bh&&delete this.keyframes[e.name]},t.update=function(){var e,t,n;if("string"==typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2]):(t=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.map[e],t,n);else for(var r=0;r<this.index.length;r++)this.updateOne(this.index[r],t,n)},t.updateOne=function(t,n,r){void 0===r&&(r=Dh);var i=this.options,o=i.jss.plugins,s=i.sheet;if(t.rules instanceof e)t.rules.update(n,r);else{var a=t,l=a.style;if(o.onUpdate(n,t,s,r),r.process&&l&&l!==a.style){for(var u in o.onProcessStyle(a.style,a,s),a.style){var c=a.style[u];c!==l[u]&&a.prop(u,c,Mh)}for(var d in l){var h=a.style[d];null==h&&h!==l[d]&&a.prop(d,null,Mh)}}}},t.toString=function(e){for(var t="",n=this.options.sheet,r=!!n&&n.options.link,i=0;i<this.index.length;i++){var o=this.index[i].toString(e);(o||r)&&(t&&(t+="\n"),t+=o)}return t},e}(),jh=function(){function e(e,t){for(var n in this.options=void 0,this.deployed=void 0,this.attached=void 0,this.rules=void 0,this.renderer=void 0,this.classes=void 0,this.keyframes=void 0,this.queue=void 0,this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=$d({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new qh(this.options),e)this.rules.add(n,e[n]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,t,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var i=this.rules.add(e,t,n);return i?(this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(r?r.push(i):(this.insertRule(i),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),i):i:(this.deployed=!1,i)):null},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var n=[];for(var r in e){var i=this.addRule(r,e[r],t);i&&n.push(i)}return n},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var t="object"==typeof e?e:this.rules.get(e);return!(!t||this.attached&&!t.renderable)&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.updateOne=function(e,t,n){return this.rules.updateOne(e,t,n),this},t.toString=function(e){return this.rules.toString(e)},e}(),Fh=function(){function e(){this.plugins={internal:[],external:[]},this.registry=void 0}var t=e.prototype;return t.onCreateRule=function(e,t,n){for(var r=0;r<this.registry.onCreateRule.length;r++){var i=this.registry.onCreateRule[r](e,t,n);if(i)return i}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,n=0;n<this.registry.onProcessRule.length;n++)this.registry.onProcessRule[n](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},t.onProcessStyle=function(e,t,n){for(var r=0;r<this.registry.onProcessStyle.length;r++)t.style=this.registry.onProcessStyle[r](t.style,t,n)},t.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},t.onUpdate=function(e,t,n,r){for(var i=0;i<this.registry.onUpdate.length;i++)this.registry.onUpdate[i](e,t,n,r)},t.onChangeValue=function(e,t,n){for(var r=e,i=0;i<this.registry.onChangeValue.length;i++)r=this.registry.onChangeValue[i](r,t,n);return r},t.use=function(e,t){void 0===t&&(t={queue:"external"});var n=this.plugins[t.queue];-1===n.indexOf(e)&&(n.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var n in t)n in e&&e[n].push(t[n]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),zh=new(function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(e){var t=this.registry,n=e.options.index;if(-1===t.indexOf(e))if(0===t.length||n>=this.index)t.push(e);else for(var r=0;r<t.length;r++)if(t[r].options.index>n)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(t,["attached"]),i="",o=0;o<this.registry.length;o++){var s=this.registry[o];null!=n&&s.attached!==n||(i&&(i+="\n"),i+=s.toString(r))}return i},Gd(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}()),Bh="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),Hh="2f1acc6c3a606b082e5eef5e54414ffb";null==Bh[Hh]&&(Bh[Hh]=0);var Vh=Bh[Hh]++,Wh=function(e){void 0===e&&(e={});var t=0;return function(n,r){t+=1;var i="",o="";return r&&(r.options.classNamePrefix&&(o=r.options.classNamePrefix),null!=r.options.jss.id&&(i=String(r.options.jss.id))),e.minify?""+(o||"c")+Vh+i+t:o+n.key+"-"+Vh+(i?"-"+i:"")+"-"+t}},Uh=function(e){var t;return function(){return t||(t=e()),t}},$h=function(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return""}},Qh=function(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=rh(n,!0),"!important"===n[n.length-1]))return e.style.setProperty(t,r,"important"),!0;e.attributeStyleMap?e.attributeStyleMap.set(t,r):e.style.setProperty(t,r)}catch(e){return!1}return!0},Kh=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}},Zh=function(e,t){return e.selectorText=t,e.selectorText===t},Gh=Uh((function(){return document.querySelector("head")})),Xh=Uh((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),Jh=function(e,t,n){try{"insertRule"in e?e.insertRule(t,n):"appendRule"in e&&e.appendRule(t)}catch(e){return!1}return e.cssRules[n]},Yh=function(e,t){var n=e.cssRules.length;return void 0===t||t>n?n:t},ep=function(){function e(e){this.getPropertyValue=$h,this.setProperty=Qh,this.removeProperty=Kh,this.setSelector=Zh,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,this.cssRules=[],e&&zh.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta;this.element=t.element||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var i=Xh();i&&this.element.setAttribute("nonce",i)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=function(e){var t=zh.registry;if(t.length>0){var n=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.attached&&r.options.index>t.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if((n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e))&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"==typeof r){var i=function(e){for(var t=Gh(),n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===e)return r}return null}(r);if(i)return{parent:i.parentNode,node:i.nextSibling}}return!1}(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"==typeof n.nodeType){var i=n.parentNode;i&&i.insertBefore(e,n.nextSibling)}else Gh().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n<e.index.length;n++)this.insertRule(e.index[n],n,t)},t.insertRule=function(e,t,n){if(void 0===n&&(n=this.element.sheet),e.rules){var r=e,i=n;if("conditional"===e.type||"keyframes"===e.type){var o=Yh(n,t);if(!1===(i=Jh(n,r.toString({children:!1}),o)))return!1;this.refCssRule(e,o,i)}return this.insertRules(r.rules,i),i}var s=e.toString();if(!s)return!1;var a=Yh(n,t),l=Jh(n,s,a);return!1!==l&&(this.hasInsertedRules=!0,this.refCssRule(e,a,l),l)},t.refCssRule=function(e,t,n){e.renderable=n,e.options.parent instanceof jh&&(this.cssRules[t]=n)},t.deleteRule=function(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),this.cssRules.splice(n,1),!0)},t.indexOf=function(e){return this.cssRules.indexOf(e)},t.replaceRule=function(e,t){var n=this.indexOf(e);return-1!==n&&(this.element.sheet.deleteRule(n),this.cssRules.splice(n,1),this.insertRule(t,n))},t.getRules=function(){return this.element.sheet.cssRules},e}(),tp=0,np=function(){function e(e){this.id=tp++,this.version="10.5.1",this.plugins=new Fh,this.options={id:{minify:!1},createGenerateId:Wh,Renderer:Kd?ep:null,plugins:[]},this.generateId=Wh({minify:!1});for(var t=0;t<Ah.length;t++)this.plugins.use(Ah[t],{queue:"internal"});this.setup(e)}var t=e.prototype;return t.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=$d({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},t.createStyleSheet=function(e,t){void 0===t&&(t={});var n=t.index;"number"!=typeof n&&(n=0===zh.index?0:zh.index+1);var r=new jh(e,$d({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(r),r},t.removeStyleSheet=function(e){return e.detach(),zh.remove(e),this},t.createRule=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n={}),"object"==typeof e)return this.createRule(void 0,e,t);var r=$d({},n,{name:e,jss:this,Renderer:this.options.Renderer});r.generateId||(r.generateId=this.generateId),r.classes||(r.classes={}),r.keyframes||(r.keyframes={});var i=th(e,t,r);return i&&this.plugins.onProcessRule(i),i},t.use=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){e.plugins.use(t)})),this},e}(),rp="object"==typeof CSS&&null!=CSS&&"number"in CSS,ip=function(e){return new np(e)};ip();var op=Date.now(),sp="fnValues"+op,ap="fnStyle"+ ++op;function lp(){return(lp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var up="@global",cp="@global ",dp=function(){function e(e,t,n){for(var r in this.type="global",this.at=up,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new qh(lp({},n,{parent:this})),t)this.rules.add(r,t[r]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(){return this.rules.toString()},e}(),hp=function(){function e(e,t,n){this.type="global",this.at=up,this.options=void 0,this.rule=void 0,this.isProcessed=!1,this.key=void 0,this.key=e,this.options=n;var r=e.substr(cp.length);this.rule=n.jss.createRule(r,t,lp({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),pp=/\s*,\s*/g;function fp(e,t){for(var n=e.split(pp),r="",i=0;i<n.length;i++)r+=t+" "+n[i].trim(),n[i+1]&&(r+=", ");return r}function mp(){return(mp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var yp=/\s*,\s*/g,gp=/&/g,vp=/\$([\w-]+)/g;function bp(){function e(e,t){return function(n,r){var i=e.getRule(r)||t&&t.getRule(r);return i?(i=i).selector:r}}function t(e,t){for(var n=t.split(yp),r=e.split(yp),i="",o=0;o<n.length;o++)for(var s=n[o],a=0;a<r.length;a++){var l=r[a];i&&(i+=", "),i+=-1!==l.indexOf("&")?l.replace(gp,s):s+" "+l}return i}function n(e,t,n){if(n)return mp({},n,{index:n.index+1});var r=e.options.nestingLevel,i=mp({},e.options,{nestingLevel:r=void 0===r?1:r+1,index:t.indexOf(e)+1});return delete i.name,i}return{onProcessStyle:function(r,i,o){if("style"!==i.type)return r;var s,a,l=i,u=l.options.parent;for(var c in r){var d=-1!==c.indexOf("&"),h="@"===c[0];if(d||h){if(s=n(l,u,s),d){var p=t(c,l.selector);a||(a=e(u,o)),p=p.replace(vp,a),u.addRule(p,r[c],mp({},s,{selector:p}))}else h&&u.addRule(c,{},s).addRule(l.key,r[c],{selector:l.selector});delete r[c]}}return r}}}var wp=/[A-Z]/g,Ep=/^ms-/,xp={};function _p(e){return"-"+e.toLowerCase()}function Sp(e){if(xp.hasOwnProperty(e))return xp[e];var t=e.replace(wp,_p);return xp[e]=Ep.test(t)?"-"+t:t}function Cp(e){var t={};for(var n in e)t[0===n.indexOf("--")?n:Sp(n)]=e[n];return e.fallbacks&&(t.fallbacks=Array.isArray(e.fallbacks)?e.fallbacks.map(Cp):Cp(e.fallbacks)),t}var kp=rp&&CSS?CSS.px:"px",Tp=rp&&CSS?CSS.ms:"ms",Op=rp&&CSS?CSS.percent:"%";function Lp(e){var t=/(-[a-z])/g,n=function(e){return e[1].toUpperCase()},r={};for(var i in e)r[i]=e[i],r[i.replace(t,n)]=e[i];return r}var Ip=Lp({"animation-delay":Tp,"animation-duration":Tp,"background-position":kp,"background-position-x":kp,"background-position-y":kp,"background-size":kp,border:kp,"border-bottom":kp,"border-bottom-left-radius":kp,"border-bottom-right-radius":kp,"border-bottom-width":kp,"border-left":kp,"border-left-width":kp,"border-radius":kp,"border-right":kp,"border-right-width":kp,"border-top":kp,"border-top-left-radius":kp,"border-top-right-radius":kp,"border-top-width":kp,"border-width":kp,"border-block":kp,"border-block-end":kp,"border-block-end-width":kp,"border-block-start":kp,"border-block-start-width":kp,"border-block-width":kp,"border-inline":kp,"border-inline-end":kp,"border-inline-end-width":kp,"border-inline-start":kp,"border-inline-start-width":kp,"border-inline-width":kp,"border-start-start-radius":kp,"border-start-end-radius":kp,"border-end-start-radius":kp,"border-end-end-radius":kp,margin:kp,"margin-bottom":kp,"margin-left":kp,"margin-right":kp,"margin-top":kp,"margin-block":kp,"margin-block-end":kp,"margin-block-start":kp,"margin-inline":kp,"margin-inline-end":kp,"margin-inline-start":kp,padding:kp,"padding-bottom":kp,"padding-left":kp,"padding-right":kp,"padding-top":kp,"padding-block":kp,"padding-block-end":kp,"padding-block-start":kp,"padding-inline":kp,"padding-inline-end":kp,"padding-inline-start":kp,"mask-position-x":kp,"mask-position-y":kp,"mask-size":kp,height:kp,width:kp,"min-height":kp,"max-height":kp,"min-width":kp,"max-width":kp,bottom:kp,left:kp,top:kp,right:kp,inset:kp,"inset-block":kp,"inset-block-end":kp,"inset-block-start":kp,"inset-inline":kp,"inset-inline-end":kp,"inset-inline-start":kp,"box-shadow":kp,"text-shadow":kp,"column-gap":kp,"column-rule":kp,"column-rule-width":kp,"column-width":kp,"font-size":kp,"font-size-delta":kp,"letter-spacing":kp,"text-decoration-thickness":kp,"text-indent":kp,"text-stroke":kp,"text-stroke-width":kp,"word-spacing":kp,motion:kp,"motion-offset":kp,outline:kp,"outline-offset":kp,"outline-width":kp,perspective:kp,"perspective-origin-x":Op,"perspective-origin-y":Op,"transform-origin":Op,"transform-origin-x":Op,"transform-origin-y":Op,"transform-origin-z":Op,"transition-delay":Tp,"transition-duration":Tp,"vertical-align":kp,"flex-basis":kp,"shape-margin":kp,size:kp,gap:kp,grid:kp,"grid-gap":kp,"row-gap":kp,"grid-row-gap":kp,"grid-column-gap":kp,"grid-template-rows":kp,"grid-template-columns":kp,"grid-auto-rows":kp,"grid-auto-columns":kp,"box-shadow-x":kp,"box-shadow-y":kp,"box-shadow-blur":kp,"box-shadow-spread":kp,"font-line-height":kp,"text-shadow-x":kp,"text-shadow-y":kp,"text-shadow-blur":kp});function Rp(e,t,n){if(null==t)return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=Rp(e,t[r],n);else if("object"==typeof t)if("fallbacks"===e)for(var i in t)t[i]=Rp(i,t[i],n);else for(var o in t)t[o]=Rp(e+"-"+o,t[o],n);else if("number"==typeof t&&!Number.isNaN(t)){var s=n[e]||Ip[e];return!s||0===t&&s===kp?t.toString():"function"==typeof s?s(t).toString():""+t+s}return t}function Pp(e){void 0===e&&(e={});var t=Lp(e);return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r in e)e[r]=Rp(r,e[r],t);return e},onChangeValue:function(e,n){return Rp(n,e,t)}}}function Np(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Ap="",Dp="",Mp="",qp="",jp=Kd&&"ontouchstart"in document.documentElement;if(Kd){var Fp={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},zp=document.createElement("p").style;for(var Bp in Fp)if(Bp+"Transform"in zp){Ap=Bp,Dp=Fp[Bp];break}"Webkit"===Ap&&"msHyphens"in zp&&(Ap="ms",Dp=Fp.ms,qp="edge"),"Webkit"===Ap&&"-apple-trailing-word"in zp&&(Mp="apple")}var Hp=Ap,Vp=Dp,Wp=Mp,Up=qp,$p=jp,Qp={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===Hp?"-webkit-"+e:Vp+e)}},Kp={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===Hp?Vp+"print-"+e:e)}},Zp=/[-\s]+(.)?/g;function Gp(e,t){return t?t.toUpperCase():""}function Xp(e){return e.replace(Zp,Gp)}function Jp(e){return Xp("-"+e)}var Yp,ef={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===Hp){var n="mask-image";if(Xp(n)in t)return e;if(Hp+Jp(n)in t)return Vp+e}return e}},tf={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==Wp||$p?e:Vp+e)}},nf={noPrefill:["transform"],supportedProperty:function(e,t,n){return"transform"===e&&(n.transform?e:Vp+e)}},rf={noPrefill:["transition"],supportedProperty:function(e,t,n){return"transition"===e&&(n.transition?e:Vp+e)}},of={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===Hp||"ms"===Hp&&"edge"!==Up?Vp+e:e)}},sf={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===Hp||"ms"===Hp||"apple"===Wp?Vp+e:e)}},af={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===Hp?"WebkitColumn"+Jp(e)in t&&Vp+"column-"+e:"Moz"===Hp&&"page"+Jp(e)in t&&"page-"+e)}},lf={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===Hp)return e;var n=e.replace("-inline","");return Hp+Jp(n)in t&&Vp+n}},uf={supportedProperty:function(e,t){return Xp(e)in t&&e}},cf={supportedProperty:function(e,t){var n=Jp(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:Hp+n in t?Vp+e:"Webkit"!==Hp&&"Webkit"+n in t&&"-webkit-"+e}},df={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===Hp?""+Vp+e:e)}},hf={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===Hp?Vp+"scroll-chaining":e)}},pf={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},ff={supportedProperty:function(e,t){var n=pf[e];return!!n&&Hp+Jp(n)in t&&Vp+n}},mf={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},yf=Object.keys(mf),gf=function(e){return Vp+e},vf=[Qp,Kp,ef,tf,nf,rf,of,sf,af,lf,uf,cf,df,hf,ff,{supportedProperty:function(e,t,n){var r=n.multiple;if(yf.indexOf(e)>-1){var i=mf[e];if(!Array.isArray(i))return Hp+Jp(i)in t&&Vp+i;if(!r)return!1;for(var o=0;o<i.length;o++)if(!(Hp+Jp(i[0])in t))return!1;return i.map(gf)}return!1}}],bf=vf.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),wf=vf.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,function(e){return function(e){if(Array.isArray(e))return Np(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Np(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Np(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t.noPrefill)),e}),[]),Ef={};if(Kd){Yp=document.createElement("p");var xf=window.getComputedStyle(document.documentElement,"");for(var _f in xf)isNaN(_f)||(Ef[xf[_f]]=xf[_f]);wf.forEach((function(e){return delete Ef[e]}))}function Sf(e,t){if(void 0===t&&(t={}),!Yp)return e;if(null!=Ef[e])return Ef[e];"transition"!==e&&"transform"!==e||(t[e]=e in Yp.style);for(var n=0;n<bf.length&&(Ef[e]=bf[n](e,Yp.style,t),!Ef[e]);n++);try{Yp.style[e]=""}catch(e){return!1}return Ef[e]}var Cf,kf={},Tf={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Of=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function Lf(e,t,n){return"var"===t?"var":"all"===t?"all":"all"===n?", all":(t?Sf(t):", "+Sf(n))||t||n}function If(e,t){var n=t;if(!Cf||"content"===e)return t;if("string"!=typeof n||!isNaN(parseInt(n,10)))return n;var r=e+n;if(null!=kf[r])return kf[r];try{Cf.style[e]=n}catch(e){return kf[r]=!1,!1}if(Tf[e])n=n.replace(Of,Lf);else if(""===Cf.style[e]&&("-ms-flex"===(n=Vp+n)&&(Cf.style[e]="-ms-flexbox"),Cf.style[e]=n,""===Cf.style[e]))return kf[r]=!1,!1;return Cf.style[e]="",kf[r]=n,kf[r]}function Rf(){function e(t){for(var n in t){var r=t[n];if("fallbacks"===n&&Array.isArray(r))t[n]=r.map(e);else{var i=!1,o=Sf(n);o&&o!==n&&(i=!0);var s=!1,a=If(o,rh(r));a&&a!==r&&(s=!0),(i||s)&&(i&&delete t[n],t[o||n]=a||r)}}return t}return{onProcessRule:function(e){"keyframes"===e.type&&(e.at=function(e){return"-"===e[1]||"ms"===Hp?e:"@"+Vp+"keyframes"+e.substr(10)}(e.at))},onProcessStyle:function(t,n){return"style"!==n.type?t:e(t)},onChangeValue:function(e,t){return If(t,rh(e))||e}}}function Pf(){return{plugins:[{onCreateRule:function(e,t,n){if("function"!=typeof t)return null;var r=th(e,{},n);return r[ap]=t,r},onProcessStyle:function(e,t){if(sp in t||ap in t)return e;var n={};for(var r in e){var i=e[r];"function"==typeof i&&(delete e[r],n[r]=i)}return t[sp]=n,e},onUpdate:function(e,t,n,r){var i=t,o=i[ap];o&&(i.style=o(e)||{});var s=i[sp];if(s)for(var a in s)i.prop(a,s[a](e),r)}},{onCreateRule:function(e,t,n){if(!e)return null;if(e===up)return new dp(e,t,n);if("@"===e[0]&&e.substr(0,cp.length)===cp)return new hp(e,t,n);var r=n.parent;return r&&("global"===r.type||r.options.parent&&"global"===r.options.parent.type)&&(n.scoped=!1),!1===n.scoped&&(n.selector=e),null},onProcessRule:function(e,t){"style"===e.type&&t&&(function(e,t){var n=e.options,r=e.style,i=r?r[up]:null;if(i){for(var o in i)t.addRule(o,i[o],lp({},n,{selector:fp(o,e.selector)}));delete r[up]}}(e,t),function(e,t){var n=e.options,r=e.style;for(var i in r)if("@"===i[0]&&i.substr(0,up.length)===up){var o=fp(i.substr(up.length),e.selector);t.addRule(o,r[i],lp({},n,{selector:o})),delete r[i]}}(e,t))}},bp(),{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=Cp(e[t]);return e}return Cp(e)},onChangeValue:function(e,t,n){if(0===t.indexOf("--"))return e;var r=Sp(t);return t===r?e:(n.prop(r,e),null)}},Pp(),"undefined"==typeof window?null:Rf(),(e=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length},{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},i=Object.keys(t).sort(e),o=0;o<i.length;o++)r[i[o]]=t[i[o]];return r}})]};var e}function Nf(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Af(){return(Af=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Df(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;if(!n)return t;var r=Af({},t);return Object.keys(n).forEach((function(e){n[e]&&(r[e]="".concat(t[e]," ").concat(n[e]))})),r}Kd&&(Cf=document.createElement("p"));var Mf=function(e,t,n,r){var i=e.get(t);i||(i=new Map,e.set(t,i)),i.set(n,r)},qf=function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},jf=Je.createContext(null);function Ff(){return Je.useContext(jf)}var zf,Bf=ip(Pf()),Hf={disableGeneration:!1,generateClassName:Wd(),jss:Bf,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},Vf=Je.createContext(Hf);function Wf(e){var t=e.children,n=e.injectFirst,r=void 0!==n&&n,i=e.disableGeneration,o=void 0!==i&&i,s=Nf(e,["children","injectFirst","disableGeneration"]),a=Af({},Je.useContext(Vf),{disableGeneration:o},s);if(!a.jss.options.insertionPoint&&r&&"undefined"!=typeof window){if(!zf){var l=document.head;zf=document.createComment("mui-inject-first"),l.insertBefore(zf,l.firstChild)}a.jss=ip({plugins:Pf().plugins,insertionPoint:zf})}return Je.createElement(Vf.Provider,{value:a},t)}var Uf=-1e9;function $f(){return Uf+=1}var Qf={};function Kf(e){var t="function"==typeof e;return{create:function(n,r){var i;try{i=t?e(n):e}catch(e){throw e}if(!r||!n.overrides||!n.overrides[r])return i;var o=n.overrides[r],s=Af({},i);return Object.keys(o).forEach((function(e){s[e]=ad(s[e],o[e])})),s},options:{}}}function Zf(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var i=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,i=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,i=!0),i&&(r.cacheClasses.value=Df({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function Gf(e,t){var n=e.state,r=e.theme,i=e.stylesOptions,o=e.stylesCreator,s=e.name;if(!i.disableGeneration){var a=qf(i.sheetsManager,o,r);a||Mf(i.sheetsManager,o,r,a={refs:0,staticSheet:null,dynamicStyles:null});var l=Af({},o.options,i,{theme:r,flip:"boolean"==typeof i.flip?i.flip:"rtl"===r.direction});l.generateId=l.serverGenerateClassName||l.generateClassName;var u=i.sheetsRegistry;if(0===a.refs){var c;i.sheetsCache&&(c=qf(i.sheetsCache,o,r));var d=o.create(r,s);c||((c=i.jss.createStyleSheet(d,Af({link:!1},l))).attach(),i.sheetsCache&&Mf(i.sheetsCache,o,r,c)),u&&u.add(c),a.staticSheet=c,a.dynamicStyles=function e(t){var n=null;for(var r in t){var i=t[r],o=typeof i;if("function"===o)n||(n={}),n[r]=i;else if("object"===o&&null!==i&&!Array.isArray(i)){var s=e(i);s&&(n||(n={}),n[r]=s)}}return n}(d)}if(a.dynamicStyles){var h=i.jss.createStyleSheet(a.dynamicStyles,Af({link:!0},l));h.update(t),h.attach(),n.dynamicSheet=h,n.classes=Df({baseClasses:a.staticSheet.classes,newClasses:h.classes}),u&&u.add(h)}else n.classes=a.staticSheet.classes;a.refs+=1}}function Xf(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function Jf(e){var t=e.state,n=e.theme,r=e.stylesOptions,i=e.stylesCreator;if(!r.disableGeneration){var o=qf(r.sheetsManager,i,n);o.refs-=1;var s=r.sheetsRegistry;0===o.refs&&(function(e,t,n){e.get(t).delete(n)}(r.sheetsManager,i,n),r.jss.removeStyleSheet(o.staticSheet),s&&s.remove(o.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),s&&s.remove(t.dynamicSheet))}}function Yf(e,t){var n,r=Je.useRef([]),i=Je.useMemo((function(){return{}}),t);r.current!==i&&(r.current=i,n=e()),Je.useEffect((function(){return function(){n&&n()}}),[i])}function em(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,r=t.classNamePrefix,i=t.Component,o=t.defaultTheme,s=void 0===o?Qf:o,a=Nf(t,["name","classNamePrefix","Component","defaultTheme"]),l=Kf(e),u=n||r||"makeStyles";return l.options={index:$f(),name:n,meta:u,classNamePrefix:u},function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Ff()||s,r=Af({},Je.useContext(Vf),a),o=Je.useRef(),u=Je.useRef();return Yf((function(){var i={name:n,state:{},stylesCreator:l,stylesOptions:r,theme:t};return Gf(i,e),u.current=!1,o.current=i,function(){Jf(i)}}),[t,l]),Je.useEffect((function(){u.current&&Xf(o.current,e),u.current=!0})),Zf(o.current,e.classes,i)}}function tm(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=tm(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function nm(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=tm(e))&&(r&&(r+=" "),r+=t);return r}var rm=dd.exports,im={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},om={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},sm={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},am={};function lm(e){return rm.isMemo(e)?sm:am[e.$$typeof]||im}am[rm.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},am[rm.Memo]=sm;var um=Object.defineProperty,cm=Object.getOwnPropertyNames,dm=Object.getOwnPropertySymbols,hm=Object.getOwnPropertyDescriptor,pm=Object.getPrototypeOf,fm=Object.prototype,mm=function e(t,n,r){if("string"!=typeof n){if(fm){var i=pm(n);i&&i!==fm&&e(t,i,r)}var o=cm(n);dm&&(o=o.concat(dm(n)));for(var s=lm(t),a=lm(n),l=0;l<o.length;++l){var u=o[l];if(!(om[u]||r&&r[u]||a&&a[u]||s&&s[u])){var c=hm(n,u);try{um(t,u,c)}catch(e){}}}}return t};function ym(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}function gm(e){var t=e.children,n=e.theme,r=Ff(),i=Je.useMemo((function(){var e=null===r?n:function(e,t){return"function"==typeof t?t(e):Af({},e,t)}(r,n);return null!=e&&(e[Hd]=null!==r),e}),[n,r]);return Je.createElement(jf.Provider,{value:i},t)}function vm(e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,e),t)}function bm(e){if(e.type)return e;if("#"===e.charAt(0))return bm(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(cd(3,e));var r=e.substring(t+1,e.length-1).split(",");return{type:n,values:r=r.map((function(e){return parseFloat(e)}))}}function wm(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function Em(e){var t="hsl"===(e=bm(e)).type?bm(function(e){var t=(e=bm(e)).values,n=t[0],r=t[2]/100,i=t[1]/100*Math.min(r,1-r),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return r-i*Math.max(Math.min(t-3,9-t,1),-1)},s="rgb",a=[Math.round(255*o(0)),Math.round(255*o(8)),Math.round(255*o(4))];return"hsla"===e.type&&(s+="a",a.push(t[3])),wm({type:s,values:a})}(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function xm(e,t){return e=bm(e),t=vm(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,wm(e)}function _m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sm(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Cm(){return(Cm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var km=["xs","sm","md","lg","xl"];function Tm(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,r=e.unit,i=void 0===r?"px":r,o=e.step,s=void 0===o?5:o,a=Sm(e,["values","unit","step"]);function l(e){return"@media (min-width:".concat("number"==typeof n[e]?n[e]:e).concat(i,")")}function u(e,t){var r=km.indexOf(t);return r===km.length-1?l(e):"@media (min-width:".concat("number"==typeof n[e]?n[e]:e).concat(i,") and ")+"(max-width:".concat((-1!==r&&"number"==typeof n[km[r+1]]?n[km[r+1]]:t)-s/100).concat(i,")")}return Cm({keys:km,values:n,up:l,down:function(e){var t=km.indexOf(e)+1,r=n[km[t]];return t===km.length?l("xs"):"@media (max-width:".concat(("number"==typeof r&&t>0?r:e)-s/100).concat(i,")")},between:u,only:function(e){return u(e,e)},width:function(e){return n[e]}},a)}function Om(e,t,n){var r;return Cm({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n")),Cm({paddingLeft:t(2),paddingRight:t(2)},n,_m({},e.up("sm"),Cm({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(r={minHeight:56},_m(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),_m(r,e.up("sm"),{minHeight:64}),r)},n)}var Lm={black:"#000",white:"#fff"},Im={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"},Rm={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Lm.white,default:Im[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Pm={text:{primary:Lm.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:Im[800],default:"#303030"},action:{active:Lm.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Nm(e,t,n,r){var i=r.light||r,o=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=function(e,t){if(e=bm(e),t=vm(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return wm(e)}(e.main,i):"dark"===t&&(e.dark=function(e,t){if(e=bm(e),t=vm(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return wm(e)}(e.main,o)))}function Am(e){var t=e.primary,n=void 0===t?{light:"#7986cb",main:"#3f51b5",dark:"#303f9f"}:t,r=e.secondary,i=void 0===r?{light:"#ff4081",main:"#f50057",dark:"#c51162"}:r,o=e.error,s=void 0===o?{light:"#e57373",main:"#f44336",dark:"#d32f2f"}:o,a=e.warning,l=void 0===a?{light:"#ffb74d",main:"#ff9800",dark:"#f57c00"}:a,u=e.info,c=void 0===u?{light:"#64b5f6",main:"#2196f3",dark:"#1976d2"}:u,d=e.success,h=void 0===d?{light:"#81c784",main:"#4caf50",dark:"#388e3c"}:d,p=e.type,f=void 0===p?"light":p,m=e.contrastThreshold,y=void 0===m?3:m,g=e.tonalOffset,v=void 0===g?.2:g,b=Sm(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function w(e){return function(e,t){var n=Em(e),r=Em(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,Pm.text.primary)>=y?Pm.text.primary:Rm.text.primary}var E=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=Cm({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error(cd(4,t));if("string"!=typeof e.main)throw new Error(cd(5,JSON.stringify(e.main)));return Nm(e,"light",n,v),Nm(e,"dark",r,v),e.contrastText||(e.contrastText=w(e.main)),e},x={dark:Pm,light:Rm};return ad(Cm({common:Lm,type:f,primary:E(n),secondary:E(i,"A400","A200","A700"),error:E(s),warning:E(l),info:E(c),success:E(h),grey:Im,contrastThreshold:y,getContrastText:w,augmentColor:E,tonalOffset:v},x[f]),b)}function Dm(e){return Math.round(1e5*e)/1e5}function Mm(e){return Dm(e)}var qm={textTransform:"uppercase"},jm='"Roboto", "Helvetica", "Arial", sans-serif';function Fm(e,t){var n="function"==typeof t?t(e):t,r=n.fontFamily,i=void 0===r?jm:r,o=n.fontSize,s=void 0===o?14:o,a=n.fontWeightLight,l=void 0===a?300:a,u=n.fontWeightRegular,c=void 0===u?400:u,d=n.fontWeightMedium,h=void 0===d?500:d,p=n.fontWeightBold,f=void 0===p?700:p,m=n.htmlFontSize,y=void 0===m?16:m,g=n.allVariants,v=n.pxToRem,b=Sm(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]),w=s/14,E=v||function(e){return"".concat(e/y*w,"rem")},x=function(e,t,n,r,o){return Cm({fontFamily:i,fontWeight:e,fontSize:E(t),lineHeight:n},i===jm?{letterSpacing:"".concat(Dm(r/t),"em")}:{},o,g)},_={h1:x(l,96,1.167,-1.5),h2:x(l,60,1.2,-.5),h3:x(c,48,1.167,0),h4:x(c,34,1.235,.25),h5:x(c,24,1.334,0),h6:x(h,20,1.6,.15),subtitle1:x(c,16,1.75,.15),subtitle2:x(h,14,1.57,.1),body1:x(c,16,1.5,.15),body2:x(c,14,1.43,.15),button:x(h,14,1.75,.4,qm),caption:x(c,12,1.66,.4),overline:x(c,12,2.66,1,qm)};return ad(Cm({htmlFontSize:y,pxToRem:E,round:Mm,fontFamily:i,fontSize:s,fontWeightLight:l,fontWeightRegular:c,fontWeightMedium:h,fontWeightBold:f},_),b,{clone:!1})}function zm(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var Bm=["none",zm(0,2,1,-1,0,1,1,0,0,1,3,0),zm(0,3,1,-2,0,2,2,0,0,1,5,0),zm(0,3,3,-2,0,3,4,0,0,1,8,0),zm(0,2,4,-1,0,4,5,0,0,1,10,0),zm(0,3,5,-1,0,5,8,0,0,1,14,0),zm(0,3,5,-1,0,6,10,0,0,1,18,0),zm(0,4,5,-2,0,7,10,1,0,2,16,1),zm(0,5,5,-3,0,8,10,1,0,3,14,2),zm(0,5,6,-3,0,9,12,1,0,3,16,2),zm(0,6,6,-3,0,10,14,1,0,4,18,3),zm(0,6,7,-4,0,11,15,1,0,4,20,3),zm(0,7,8,-4,0,12,17,2,0,5,22,4),zm(0,7,8,-4,0,13,19,2,0,5,24,4),zm(0,7,9,-4,0,14,21,2,0,5,26,4),zm(0,8,9,-5,0,15,22,2,0,6,28,5),zm(0,8,10,-5,0,16,24,2,0,6,30,5),zm(0,8,11,-5,0,17,26,2,0,6,32,5),zm(0,9,11,-5,0,18,28,2,0,7,34,6),zm(0,9,12,-6,0,19,29,2,0,7,36,6),zm(0,10,13,-6,0,20,31,3,0,8,38,7),zm(0,10,13,-6,0,21,33,3,0,8,40,7),zm(0,10,14,-6,0,22,35,3,0,8,42,7),zm(0,11,14,-7,0,23,36,3,0,9,44,8),zm(0,11,15,-7,0,24,38,3,0,9,46,8)],Hm={borderRadius:4};function Vm(){return(Vm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Wm(e){return(Wm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Um(e){return(Um="function"==typeof Symbol&&"symbol"===Wm(Symbol.iterator)?function(e){return Wm(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":Wm(e)})(e)}function $m(e,t){return t?ad(e,t,{clone:!1}):e}var Qm={xs:0,sm:600,md:960,lg:1280,xl:1920},Km={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(Qm[e],"px)")}};function Zm(e,t,n){if(Array.isArray(t)){var r=e.theme.breakpoints||Km;return t.reduce((function(e,i,o){return e[r.up(r.keys[o])]=n(t[o]),e}),{})}if("object"===Um(t)){var i=e.theme.breakpoints||Km;return Object.keys(t).reduce((function(e,r){return e[i.up(r)]=n(t[r]),e}),{})}return n(t)}function Gm(e,t){return t&&"string"==typeof t?t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e):null}function Xm(e){var t=e.prop,n=e.cssProperty,r=void 0===n?e.prop:n,i=e.themeKey,o=e.transform,s=function(e){if(null==e[t])return null;var n=e[t],s=Gm(e.theme,i)||{};return Zm(e,n,(function(e){var t;return"function"==typeof s?t=s(e):Array.isArray(s)?t=s[e]||e:(t=Gm(s,e)||e,o&&(t=o(t))),!1===r?t:function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},r,t)}))};return s.propTypes={},s.filterProps=[t],s}function Jm(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=function(e){return t.reduce((function(t,n){var r=n(e);return r?$m(t,r):t}),{})};return r.propTypes={},r.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),r}function Ym(e){return"number"!=typeof e?e:"".concat(e,"px solid")}var ey=Jm(Xm({prop:"border",themeKey:"borders",transform:Ym}),Xm({prop:"borderTop",themeKey:"borders",transform:Ym}),Xm({prop:"borderRight",themeKey:"borders",transform:Ym}),Xm({prop:"borderBottom",themeKey:"borders",transform:Ym}),Xm({prop:"borderLeft",themeKey:"borders",transform:Ym}),Xm({prop:"borderColor",themeKey:"palette"}),Xm({prop:"borderRadius",themeKey:"shape"}));function ty(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}var ny=Jm(Xm({prop:"displayPrint",cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}}),Xm({prop:"display"}),Xm({prop:"overflow"}),Xm({prop:"textOverflow"}),Xm({prop:"visibility"}),Xm({prop:"whiteSpace"})),ry=Jm(Xm({prop:"flexBasis"}),Xm({prop:"flexDirection"}),Xm({prop:"flexWrap"}),Xm({prop:"justifyContent"}),Xm({prop:"alignItems"}),Xm({prop:"alignContent"}),Xm({prop:"order"}),Xm({prop:"flex"}),Xm({prop:"flexGrow"}),Xm({prop:"flexShrink"}),Xm({prop:"alignSelf"}),Xm({prop:"justifyItems"}),Xm({prop:"justifySelf"})),iy=Jm(Xm({prop:"gridGap"}),Xm({prop:"gridColumnGap"}),Xm({prop:"gridRowGap"}),Xm({prop:"gridColumn"}),Xm({prop:"gridRow"}),Xm({prop:"gridAutoFlow"}),Xm({prop:"gridAutoColumns"}),Xm({prop:"gridAutoRows"}),Xm({prop:"gridTemplateColumns"}),Xm({prop:"gridTemplateRows"}),Xm({prop:"gridTemplateAreas"}),Xm({prop:"gridArea"})),oy=Jm(Xm({prop:"color",themeKey:"palette"}),Xm({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"})),sy=Jm(Xm({prop:"position"}),Xm({prop:"zIndex",themeKey:"zIndex"}),Xm({prop:"top"}),Xm({prop:"right"}),Xm({prop:"bottom"}),Xm({prop:"left"})),ay=Xm({prop:"boxShadow",themeKey:"shadows"});function ly(e){return e<=1?"".concat(100*e,"%"):e}var uy=Xm({prop:"width",transform:ly}),cy=Xm({prop:"maxWidth",transform:ly}),dy=Xm({prop:"minWidth",transform:ly}),hy=Xm({prop:"height",transform:ly}),py=Xm({prop:"maxHeight",transform:ly}),fy=Xm({prop:"minHeight",transform:ly});Xm({prop:"size",cssProperty:"width",transform:ly}),Xm({prop:"size",cssProperty:"height",transform:ly});var my=Jm(uy,cy,dy,hy,py,fy,Xm({prop:"boxSizing"})),yy={m:"margin",p:"padding"},gy={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},vy={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},by=function(e){var t={};return function(e){return void 0===t[e]&&(t[e]=function(e){if(e.length>2){if(!vy[e])return[e];e=vy[e]}var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),2!==n.length);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(i)throw o}}return n}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}(e.split("")),n=yy[t[0]],r=gy[t[1]]||"";return Array.isArray(r)?r.map((function(e){return n+e})):[n+r]}(e)),t[e]}}(),wy=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function Ey(e){var t=e.spacing||8;return"number"==typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"==typeof t?t:function(){}}function xy(e){var t=Ey(e.theme);return Object.keys(e).map((function(n){if(-1===wy.indexOf(n))return null;var r=function(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"==typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:"-".concat(n)}(t,n),e}),{})}}(by(n),t);return Zm(e,e[n],r)})).reduce($m,{})}xy.propTypes={},xy.filterProps=wy;var _y=Jm(Xm({prop:"fontFamily",themeKey:"typography"}),Xm({prop:"fontSize",themeKey:"typography"}),Xm({prop:"fontStyle",themeKey:"typography"}),Xm({prop:"fontWeight",themeKey:"typography"}),Xm({prop:"letterSpacing"}),Xm({prop:"lineHeight"}),Xm({prop:"textAlign"}));function Sy(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=Ey({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return 0===n.length?t(1):1===n.length?t(n[0]):n.map((function(e){if("string"==typeof e)return e;var n=t(e);return"number"==typeof n?"".concat(n,"px"):n})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return e}}),n.mui=!0,n}var Cy={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},ky={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ty(e){return"".concat(Math.round(e),"ms")}var Oy={easing:Cy,duration:ky,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,r=void 0===n?ky.standard:n,i=t.easing,o=void 0===i?Cy.easeInOut:i,s=t.delay,a=void 0===s?0:s;return Sm(t,["duration","easing","delay"]),(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof r?r:Ty(r)," ").concat(o," ").concat("string"==typeof a?a:Ty(a))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}},Ly={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Iy(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,r=e.mixins,i=void 0===r?{}:r,o=e.palette,s=void 0===o?{}:o,a=e.spacing,l=e.typography,u=void 0===l?{}:l,c=Sm(e,["breakpoints","mixins","palette","spacing","typography"]),d=Am(s),h=Tm(n),p=Sy(a),f=ad({breakpoints:h,direction:"ltr",mixins:Om(h,p,i),overrides:{},palette:d,props:{},shadows:Bm,typography:Fm(d,u),spacing:p,shape:Hm,transitions:Oy,zIndex:Ly},c),m=arguments.length,y=new Array(m>1?m-1:0),g=1;g<m;g++)y[g-1]=arguments[g];return y.reduce((function(e,t){return ad(e,t)}),f)}var Ry=Iy();function Py(e){return em(e,Cm({defaultTheme:Ry},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))}function Ny(){return Ff()||Ry}function Ay(e,t){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var r=t.defaultTheme,i=t.withTheme,o=void 0!==i&&i,s=t.name,a=Nf(t,["defaultTheme","withTheme","name"]),l=em(e,Af({defaultTheme:r,Component:n,name:s||n.displayName,classNamePrefix:s},a)),u=Je.forwardRef((function(e,t){var i,a=e.innerRef,u=Nf(e,["classes","innerRef"]),c=l(Af({},n.defaultProps,e)),d=u;return("string"==typeof s||o)&&(i=Ff()||r,s&&(d=Ud({theme:i,name:s,props:u})),o&&!d.theme&&(d.theme=i)),Je.createElement(n,Af({ref:a||t,classes:c},d))}));return mm(u,n),u}}(e,Cm({defaultTheme:Ry},t))}var Dy={typography:{fontSize:14,htmlFontSize:16,fontWeightLight:300,fontWeightRegular:400,fontWeightMedium:600,fontFamily:['"Source Sans Pro"','"Segoe UI"','"Helvetica Neue"',"-apple-system","Arial","sans-serif"].join(","),button:{textTransform:"initial",fontWeight:400}},shape:{borderRadius:2},shadows:["none","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)"],props:{MuiButtonBase:{disableRipple:!0,disableTouchRipple:!0,focusRipple:!1}}};const My="#009845",qy="#3F8AB3",jy="#ffffff",Fy="#404040",zy="#333333",By="#1A1A1A",Hy={type:"light",palette:{primary:{main:Fy,contrastText:jy},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:Fy,secondary:"rgba(0, 0, 0, 0.55)",disabled:"rgba(0, 0, 0, 0.3)"},action:{active:Fy,hover:"rgba(0, 0, 0, 0.03)",hoverOpacity:.08,selected:"rgba(0, 0, 0, 0.05)",disabled:"rgba(0, 0, 0, 0.3)",disabledBackground:"rgba(0, 0, 0, 0.12)"},background:{paper:jy,default:jy,lightest:jy,lighter:"#FBFBFB",darker:"#F2F2F2",darkest:"#E6E6E6"},custom:{focusBorder:qy,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(255, 255, 255, 1)"},selected:{main:My,alternative:"#E4E4E4",excluded:"#BEBEBE",mainContrastText:jy,alternativeContrastText:Fy,excludedContrastText:Fy},btn:{normal:"rgba(255, 255, 255, 0.6)",hover:"rgba(0, 0, 0, 0.03)",active:"rgba(0, 0, 0, 0.1)",disabled:"rgba(255, 255, 255, 0.6)",border:"rgba(0, 0, 0, 0.15)",borderHover:"rgba(0, 0, 0, 0.15)"}}},Vy={type:"dark",palette:{primary:{main:zy,contrastText:jy},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:jy,secondary:"rgba(255, 255, 255, 0.6)",disabled:"rgba(255, 255, 255, 0.3)"},action:{active:jy,hover:"rgba(255, 255, 255, 0.05)",hoverOpacity:.08,selected:"rgba(0, 0, 0, 0.03)",disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(0, 0, 0, 0.12)"},divider:"rgba(0,0,0,0.3)",background:{default:"#323232",paper:"#323232",lightest:Fy,lighter:zy,darker:"#262626",darkest:By},custom:{focusBorder:qy,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(0, 0, 0, 0.2)"},selected:{main:My,alternative:zy,excluded:By,mainContrastText:jy,alternativeContrastText:jy,excludedContrastText:jy},btn:{normal:"rgba(255, 255, 255, 0.15)",hover:"rgba(255, 255, 255, 0.25)",active:"rgba(0, 0, 0, 0.6)",disabled:"rgba(255, 255, 255, 0.15)",border:"rgba(0, 0, 0, 0.15)",borderHover:"rgba(0, 0, 0, 0.30)"}}},Wy={},Uy=e=>({MuiTypography:{root:{color:e.palette.text.primary}},MuiIconButton:{root:{padding:7,borderRadius:2,border:"1px solid transparent","&:focus":{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)}}},MuiOutlinedInput:{root:{backgroundColor:e.palette.custom.inputBackground,"&:hover $notchedOutline":{borderColor:e.palette.btn.border},"&$focused $notchedOutline":{borderColor:e.palette.custom.focusBorder,borderWidth:2}}},MuiButton:{outlined:{padding:"3px 11px","&$focusVisible":{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)}},contained:{color:e.palette.text.primary,padding:"3px 11px",border:"1px solid ".concat(e.palette.btn.border),backgroundColor:e.palette.btn.normal,boxShadow:"none","&$focusVisible":{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)},"&:hover":{backgroundColor:e.palette.btn.hover,borderColor:e.palette.btn.borderHover,boxShadow:"none","&$disabled":{backgroundColor:e.palette.btn.disabled}},"&:active":{boxShadow:"none",backgroundColor:e.palette.btn.active},"&$disabled":{backgroundColor:e.palette.btn.disabled}}},MuiExpansionPanelSummary:{content:{margin:"8px 0"}}});function $y(e){let t=Hy,r="";"string"==typeof e&&(r=e,"light"!==e&&"dark"!==e?console.warn("Invalid theme: '".concat(e,"'")):"dark"===e&&(t=Vy));const i=JSON.stringify(t);if(Wy[i])return Wy[i];const o={palette:n(n({type:t.type},Dy.palette),t.palette),typography:n({},Dy.typography),shadows:Dy.shadows,props:n({},Dy.props),shape:n({},Dy.shape)};return Wy[i]=Iy(n(n({},o),{},{overrides:Uy(o)})),Wy[i].name=r,Wy[i]}var Qy=Je.createContext({language:null,theme:null,translator:null,constraints:{}}),Ky=function(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{};const t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=[],r={get:e=>t[e],set:(n,r)=>{if(void 0===n||"object"==typeof n)throw new Error("Invalid key: ".concat(JSON.stringify(n)));return t[n]=r,e({type:"SET",value:r}),r},clear:e=>{if(void 0===e||"object"==typeof e)throw new Error("Invalid key: ".concat(JSON.stringify(e)));t[e]=null},dispatch:e=>{n.forEach(n=>n(e?{}:t))}};return[()=>{const[,e]=ye.exports.useState(t);return ye.exports.useEffect(()=>(n.push(e),()=>{const t=n.indexOf(e);n.splice(t,1)}),[e]),[r]},r]};const[Zy,Gy]=Ky({}),[Xy,Jy]=Ky({}),[Yy,eg]=Ky({}),[tg,ng]=Ky({}),[rg,ig]=Ky({}),[,og]=Ky({}),sg=e=>{let{type:t,value:n}=e;const r=og.get(n.id);og.set(n.id,{});const i=()=>{Jy.clear(n.id),ig.set(n.id,{}),ig.dispatch(!0)},o=()=>{n.removeListener("changed",i),Gy.clear(n.id),Jy.clear(n.id),eg.clear(n.id),ng.clear(n.id),ig.clear(n.id),og.clear(n.id)};switch(t){case"SET":r||(n.on("changed",i),n.once("closed",()=>{o()}))}return o},[ag,lg]=Ky({},sg),ug=(e,t)=>{const{rpcResultStore:r,key:i,method:o}=t;let s;switch(t.type){case"INVALID":s=n(n({},e),{},{valid:!1,invalid:!0,validating:!0,canCancel:!0,canRetry:!1,rpcRetry:!1});break;case"VALID":s={result:n({},t.result),invalid:!1,valid:!0,validating:!1,canCancel:!1,canRetry:!1,rpcRetry:!1};break;case"CANCELLED":s=n(n({},e),{},{invalid:!0,valid:!1,validating:!1,canCancel:!1,canRetry:!0,rpcRetry:!1});break;default:throw new Error("Undefined action")}let a=r.get(i);return a||(a={}),a[o]=s,r.set(i,a),s};function cg(e,t){const n=e?"".concat(e.id):null,[r]=Zy(),[i,o]=ye.exports.useReducer(ug,n?r.get(n):null),[s]=rg(),[a]=Xy();let l;n&&(l=a.get(n),l||(l={},a.set(n,l)));const u=async i=>{let s=l[t];(!s||s&&s.rpcRetry)&&(s={rpc:e[t](),rpcRetry:!1},l[t]=s,o({type:"INVALID",method:t,key:n,model:e,rpcResultStore:r,canCancel:!0}));try{const i=await s.rpc;o({type:"VALID",result:i,key:n,method:t,model:e,rpcResultStore:r})}catch(e){15!==e.code||i||(s.rpcRetry||(s.rpcRetry=!0),u(!0))}},c={cancel:async()=>{const i=e.session.getObjectApi({handle:-1});await i.cancelRequest(l[t].rpc.requestId),o({type:"CANCELLED",key:n,method:t,model:e,rpcResultStore:r})},retry:()=>{l[t].rpcRetry=!0,u()}};return ye.exports.useEffect(()=>{e&&u()},[e,s.get(e&&e.id),n,t]),[i&&i.result,{validating:i&&i.validating,canCancel:i&&i.canCancel,canRetry:i&&i.canRetry},c]}function dg(e){return cg(e,"getLayout")}function hg(e){return cg(e,"getAppLayout")}function pg(e,t){const n=t?"".concat(t.id,"/").concat(JSON.stringify(e)):null,[r]=ag(),[i]=Yy(),[o,s]=ye.exports.useState();let a;n&&(a=i.get(n));for(var l=arguments.length,u=new Array(l>2?l-2:0),c=2;c<l;c++)u[c-2]=arguments[c];return ye.exports.useEffect(()=>{t&&(async()=>{if(!a){const r=t.createSessionObject(e);a=r,i.set(n,a)}const o=await a;r.set(n,o),s(o)})()},[t,...u]),[o]}const fg={qInfo:{qType:"current-selections"},qSelectionObjectDef:{qStateName:"$"},alternateStates:[]};function mg(e){return pg(fg,e)}function yg(e){const[t]=mg(e),[n]=dg(t),[r]=hg(e),[i,o]=ye.exports.useState(null);return ye.exports.useEffect(()=>{r&&t&&n&&((e,t,n)=>{const r=[...n.qStateNames||[]].map(e=>({stateName:e,qSelectionObjectDef:{qStateName:e}}));(t&&t.alternateStates?t.alternateStates.map(e=>e.stateName):[]).join("::")!==(n.qStateNames||[]).map(e=>e).join("::")&&e.applyPatches([{qOp:"replace",qPath:"/alternateStates",qValue:JSON.stringify(r)}],!0)})(t,n,r)},[r,t,n]),ye.exports.useEffect(()=>{if(!n)return;let e=!1,t=!1,r=!1;[n,...n.alternateStates||[]].forEach(n=>{e=e||n.qSelectionObject&&n.qSelectionObject.qBackCount>0,t=t||n.qSelectionObject&&n.qSelectionObject.qForwardCount>0,r=r||(n.qSelectionObject&&n.qSelectionObject.qSelections||[]).filter(e=>!0!==e.qLocked).length>0}),o({canGoBack:e,canGoForward:t,canClear:r})},[n]),[i,t,n]}const[gg,vg]=Ky({}),[bg,wg]=Ky({}),[Eg,xg]=Ky({}),[_g,Sg]=Ky({});function Cg(e){if(!e.session)return[];const[t,n,r]=yg(e),[i]=gg(),o=e?e.id:null;let s=i.get(o);return ye.exports.useEffect(()=>{e&&n&&r&&t&&!s&&(s=function(e){let{app:t,currentSelectionsLayout:n,navState:r}=e;const i="".concat(t.id),o=async function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const t=Sg.get(i);t&&(await t.endSelections(e),Sg.clear(i),xg.get(t.id).emit("deactivated"))},s={begin:async function(e,n){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(e===Sg.get(i))return;o(r),Sg.set(i,e);const s=Array.isArray(n)?n:[n],a=async n=>{try{await e.beginSelections(s),Sg.set(i,e)}catch(e){6003!==e.code||n?Sg.clear(i):(await t.abortModal(r),a(!0))}};await a()},end:o};return wg.set(i,s),{model:t,isInModal:()=>!!Sg.get(i),isModal:e=>e?Sg.get(i)===e:!!Sg.get(i),canGoForward:()=>r.canGoForward,canGoBack:()=>r.canGoBack,canClear:()=>r.canClear,layout:()=>n,forward:()=>s.end().then(()=>t.forward()),back:()=>s.end().then(()=>t.back()),clear:()=>s.end().then(()=>t.clearAll()),clearField(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"$";return s.end().then(()=>t.getField(e,n).then(e=>e.clear()))}}}({app:e,currentSelectionsLayout:r,navState:t}),i.set(o,s),i.dispatch(!0))},[e,n,r,t]),[s,t]}let kg=0;const Tg=ye.exports.forwardRef((e,t)=>{let{initialContext:n,app:r}=e;const[i]=Cg(r),[o,s]=ye.exports.useState(n),[a,l]=ye.exports.useState(),{theme:u,generator:c}=ye.exports.useMemo(()=>({theme:$y(a),generator:Wd({productionPrefix:"".concat("03e4"),disableGlobal:!0,seed:"njs-".concat(kg++)})}),[a]),[d,h]=ye.exports.useState([]);return ye.exports.useImperativeHandle(t,()=>({addComponent(e){h([...d,e])},removeComponent(e){const t=d.indexOf(e);-1!==t&&(d.splice(t,1),h([...d]))},setMuiThemeName:l,setContext:s,getAppSelections:()=>i})),Je.createElement(Wf,{generateClassName:c},Je.createElement(gm,{theme:u},Je.createElement(Qy.Provider,{value:o},Je.createElement(Je.Fragment,null,d))))});function Og(e){let t,{app:n,context:r}=e;const i=new Promise(e=>{t=e}),o=Je.createRef(),s=document.createElement("div");s.style.display="none",s.setAttribute("data-nebulajs-version","2.3.1"),s.setAttribute("data-app-id",n.id),document.body.appendChild(s),nd.render(Je.createElement(Tg,{ref:o,app:n,initialContext:r}),s,t);const a={};return[{toggleFocusOfCells(e){Object.keys(a).forEach(t=>{a[t].current.toggleFocus(t===e)})},cells:a,addCell(e,t){a[e]=t},add(e){(async()=>{await i,o.current.addComponent(e)})()},remove(e){(async()=>{await i,o.current.removeComponent(e)})()},setMuiThemeName(e){(async()=>{await i,o.current.setMuiThemeName(e)})()},context(e){(async()=>{await i,o.current.setContext(e)})()},getAppSelections:async()=>(await i,o.current.getAppSelections())},o,i]}function Lg(e){if("string"!=typeof e)throw new Error(cd(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Ig(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return null==t?e:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e.apply(this,r),t.apply(this,r)}}),(function(){}))}function Rg(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var s=this,a=function(){e.apply(s,i)};clearTimeout(t),t=setTimeout(a,n)}return r.clear=function(){clearTimeout(t)},r}function Pg(e){return e&&e.ownerDocument||document}function Ng(e){return Pg(e).defaultView||window}function Ag(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var Dg="undefined"!=typeof window?ye.exports.useLayoutEffect:ye.exports.useEffect;function Mg(e){var t=ye.exports.useRef(e);return Dg((function(){t.current=e})),ye.exports.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}function qg(e,t){return ye.exports.useMemo((function(){return null==e&&null==t?null:function(n){Ag(e,n),Ag(t,n)}}),[e,t])}var jg=!0,Fg=!1,zg=null,Bg={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Hg(e){e.metaKey||e.altKey||e.ctrlKey||(jg=!0)}function Vg(){jg=!1}function Wg(){"hidden"===this.visibilityState&&Fg&&(jg=!0)}function Ug(e){var t=e.target;try{return t.matches(":focus-visible")}catch(e){}return jg||function(e){var t=e.tagName;return!("INPUT"!==t||!Bg[e.type]||e.readOnly)||"TEXTAREA"===t&&!e.readOnly||!!e.isContentEditable}(t)}function $g(){Fg=!0,window.clearTimeout(zg),zg=window.setTimeout((function(){Fg=!1}),100)}function Qg(){return(Qg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Kg(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}function Zg(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Gg=Je.createContext(null),Xg="unmounted",Jg="exited",Yg="entering",ev="entered",tv="exiting",nv=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i=Jg,r.appearStatus=Yg):i=ev:i=t.unmountOnExit||t.mountOnEnter?Xg:Jg,r.state={status:i},r.nextCallback=null,r}Zg(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Xg?{status:Jg}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Yg&&n!==ev&&(t=Yg):n!==Yg&&n!==ev||(t=tv)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===Yg?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===Jg&&this.setState({status:Xg})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[nd.findDOMNode(this),r],o=i[0],s=i[1],a=this.getTimeouts(),l=r?a.appear:a.enter;e||n?(this.props.onEnter(o,s),this.safeSetState({status:Yg},(function(){t.props.onEntering(o,s),t.onTransitionEnd(l,(function(){t.safeSetState({status:ev},(function(){t.props.onEntered(o,s)}))}))}))):this.safeSetState({status:ev},(function(){t.props.onEntered(o)}))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:nd.findDOMNode(this);t?(this.props.onExit(r),this.safeSetState({status:tv},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Jg},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Jg},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:nd.findDOMNode(this);if(n&&(null!=e||this.props.addEndListener)){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback];this.props.addEndListener(r[0],r[1])}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Xg)return null;var t=this.props,n=t.children,r=Kg(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Je.createElement(Gg.Provider,{value:null},"function"==typeof n?n(e,r):Je.cloneElement(Je.Children.only(n),r))},t}(Je.Component);function rv(){}nv.contextType=Gg,nv.propTypes={},nv.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:rv,onEntering:rv,onEntered:rv,onExit:rv,onExiting:rv,onExited:rv},nv.UNMOUNTED=Xg,nv.EXITED=Jg,nv.ENTERING=Yg,nv.ENTERED=ev,nv.EXITING=tv;var iv=nv;function ov(e,t){var n=Object.create(null);return e&&ye.exports.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&ye.exports.isValidElement(e)?t(e):e}(e)})),n}function sv(e,t,n){return null!=n[t]?n[t]:e.props[t]}function av(e,t,n){var r=ov(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var s in e)s in t?o.length&&(i[s]=o,o=[]):o.push(s);var a={};for(var l in t){if(i[l])for(r=0;r<i[l].length;r++)a[i[l][r]]=n(i[l][r]);a[l]=n(l)}for(r=0;r<o.length;r++)a[o[r]]=n(o[r]);return a}(t,r);return Object.keys(i).forEach((function(o){var s=i[o];if(ye.exports.isValidElement(s)){var a=o in t,l=o in r,u=t[o],c=ye.exports.isValidElement(u)&&!u.props.in;!l||a&&!c?l||!a||c?l&&a&&ye.exports.isValidElement(u)&&(i[o]=ye.exports.cloneElement(s,{onExited:n.bind(null,s),in:u.props.in,exit:sv(s,"exit",e),enter:sv(s,"enter",e)})):i[o]=ye.exports.cloneElement(s,{in:!1}):i[o]=ye.exports.cloneElement(s,{onExited:n.bind(null,s),in:!0,exit:sv(s,"exit",e),enter:sv(s,"enter",e)})}})),i}var lv=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},uv=function(e){function t(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}Zg(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,i=t.children,o=t.handleExited;return{children:t.firstRender?(n=e,r=o,ov(n.children,(function(e){return ye.exports.cloneElement(e,{onExited:r.bind(null,e),in:!0,appear:sv(e,"appear",n),enter:sv(e,"enter",n),exit:sv(e,"exit",n)})}))):av(e,i,o),firstRender:!1}},n.handleExited=function(e,t){var n=ov(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=Qg({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=Kg(e,["component","childFactory"]),i=this.state.contextValue,o=lv(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,Je.createElement(Gg.Provider,{value:i},null===t?o:Je.createElement(t,r,o))},t}(Je.Component);uv.propTypes={},uv.defaultProps={component:"div",childFactory:function(e){return e}};var cv=uv;function dv(e,t){var n=e.timeout,r=e.style,i=void 0===r?{}:r;return{duration:i.transitionDuration||"number"==typeof n?n:n[t.mode]||0,delay:i.transitionDelay}}var hv=ye.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,o=void 0===i?"div":i,s=e.square,a=void 0!==s&&s,l=e.elevation,u=void 0===l?1:l,c=e.variant,d=void 0===c?"elevation":c,h=Sm(e,["classes","className","component","square","elevation","variant"]);return ye.exports.createElement(o,Cm({className:nm(n.root,r,"outlined"===d?n.outlined:n["elevation".concat(u)],!a&&n.rounded),ref:t},h))})),pv=Ay((function(e){var t={};return e.shadows.forEach((function(e,n){t["elevation".concat(n)]={boxShadow:e}})),Cm({root:{backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},rounded:{borderRadius:e.shape.borderRadius},outlined:{border:"1px solid ".concat(e.palette.divider)}},t)}),{name:"MuiPaper"})(hv);function fv(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var mv="undefined"==typeof window?ye.exports.useEffect:ye.exports.useLayoutEffect;function yv(e){var t=e.classes,n=e.pulsate,r=void 0!==n&&n,i=e.rippleX,o=e.rippleY,s=e.rippleSize,a=e.in,l=e.onExited,u=void 0===l?function(){}:l,c=e.timeout,d=ye.exports.useState(!1),h=d[0],p=d[1],f=nm(t.ripple,t.rippleVisible,r&&t.ripplePulsate),m={width:s,height:s,top:-s/2+o,left:-s/2+i},y=nm(t.child,h&&t.childLeaving,r&&t.childPulsate),g=Mg(u);return mv((function(){if(!a){p(!0);var e=setTimeout(g,c);return function(){clearTimeout(e)}}}),[g,a,c]),ye.exports.createElement("span",{className:f,style:m},ye.exports.createElement("span",{className:y}))}var gv=ye.exports.forwardRef((function(e,t){var n=e.center,r=void 0!==n&&n,i=e.classes,o=e.className,s=Sm(e,["center","classes","className"]),a=ye.exports.useState([]),l=a[0],u=a[1],c=ye.exports.useRef(0),d=ye.exports.useRef(null);ye.exports.useEffect((function(){d.current&&(d.current(),d.current=null)}),[l]);var h=ye.exports.useRef(!1),p=ye.exports.useRef(null),f=ye.exports.useRef(null),m=ye.exports.useRef(null);ye.exports.useEffect((function(){return function(){clearTimeout(p.current)}}),[]);var y=ye.exports.useCallback((function(e){var t=e.pulsate,n=e.rippleX,r=e.rippleY,o=e.rippleSize,s=e.cb;u((function(e){return[].concat(fv(e),[ye.exports.createElement(yv,{key:c.current,classes:i,timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o})])})),c.current+=1,d.current=s}),[i]),g=ye.exports.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,i=t.pulsate,o=void 0!==i&&i,s=t.center,a=void 0===s?r||t.pulsate:s,l=t.fakeElement,u=void 0!==l&&l;if("mousedown"===e.type&&h.current)h.current=!1;else{"touchstart"===e.type&&(h.current=!0);var c,d,g,v=u?null:m.current,b=v?v.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(a||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(b.width/2),d=Math.round(b.height/2);else{var w=e.touches?e.touches[0]:e,E=w.clientY;c=Math.round(w.clientX-b.left),d=Math.round(E-b.top)}if(a)(g=Math.sqrt((2*Math.pow(b.width,2)+Math.pow(b.height,2))/3))%2==0&&(g+=1);else{var x=2*Math.max(Math.abs((v?v.clientWidth:0)-c),c)+2,_=2*Math.max(Math.abs((v?v.clientHeight:0)-d),d)+2;g=Math.sqrt(Math.pow(x,2)+Math.pow(_,2))}e.touches?null===f.current&&(f.current=function(){y({pulsate:o,rippleX:c,rippleY:d,rippleSize:g,cb:n})},p.current=setTimeout((function(){f.current&&(f.current(),f.current=null)}),80)):y({pulsate:o,rippleX:c,rippleY:d,rippleSize:g,cb:n})}}),[r,y]),v=ye.exports.useCallback((function(){g({},{pulsate:!0})}),[g]),b=ye.exports.useCallback((function(e,t){if(clearTimeout(p.current),"touchend"===e.type&&f.current)return e.persist(),f.current(),f.current=null,void(p.current=setTimeout((function(){b(e,t)})));f.current=null,u((function(e){return e.length>0?e.slice(1):e})),d.current=t}),[]);return ye.exports.useImperativeHandle(t,(function(){return{pulsate:v,start:g,stop:b}}),[v,g,b]),ye.exports.createElement("span",Cm({className:nm(i.root,o),ref:m},s),ye.exports.createElement(cv,{component:null,exit:!0},l))})),vv=Ay((function(e){return{root:{overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"},ripple:{opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"$enter ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(e.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"$exit ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"$pulsate 2500ms ".concat(e.transitions.easing.easeInOut," 200ms infinite")},"@keyframes enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}}),{flip:!1,name:"MuiTouchRipple"})(ye.exports.memo(gv)),bv=ye.exports.forwardRef((function(e,t){var n=e.action,r=e.buttonRef,i=e.centerRipple,o=void 0!==i&&i,s=e.children,a=e.classes,l=e.className,u=e.component,c=void 0===u?"button":u,d=e.disabled,h=void 0!==d&&d,p=e.disableRipple,f=void 0!==p&&p,m=e.disableTouchRipple,y=void 0!==m&&m,g=e.focusRipple,v=void 0!==g&&g,b=e.focusVisibleClassName,w=e.onBlur,E=e.onClick,x=e.onFocus,_=e.onFocusVisible,S=e.onKeyDown,C=e.onKeyUp,k=e.onMouseDown,T=e.onMouseLeave,O=e.onMouseUp,L=e.onTouchEnd,I=e.onTouchMove,R=e.onTouchStart,P=e.onDragLeave,N=e.tabIndex,A=void 0===N?0:N,D=e.TouchRippleProps,M=e.type,q=void 0===M?"button":M,j=Sm(e,["action","buttonRef","centerRipple","children","classes","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","onBlur","onClick","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","onDragLeave","tabIndex","TouchRippleProps","type"]),F=ye.exports.useRef(null),z=ye.exports.useRef(null),B=ye.exports.useState(!1),H=B[0],V=B[1];h&&H&&V(!1);var W={isFocusVisible:Ug,onBlurVisible:$g,ref:ye.exports.useCallback((function(e){var t,n=Ye.exports.findDOMNode(e);null!=n&&((t=n.ownerDocument).addEventListener("keydown",Hg,!0),t.addEventListener("mousedown",Vg,!0),t.addEventListener("pointerdown",Vg,!0),t.addEventListener("touchstart",Vg,!0),t.addEventListener("visibilitychange",Wg,!0))}),[])},U=W.isFocusVisible,$=W.onBlurVisible,Q=W.ref;function K(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y;return Mg((function(r){return t&&t(r),!n&&z.current&&z.current[e](r),!0}))}ye.exports.useImperativeHandle(n,(function(){return{focusVisible:function(){V(!0),F.current.focus()}}}),[]),ye.exports.useEffect((function(){H&&v&&!f&&z.current.pulsate()}),[f,v,H]);var Z=K("start",k),G=K("stop",P),X=K("stop",O),J=K("stop",(function(e){H&&e.preventDefault(),T&&T(e)})),Y=K("start",R),ee=K("stop",L),te=K("stop",I),ne=K("stop",(function(e){H&&($(e),V(!1)),w&&w(e)}),!1),re=Mg((function(e){F.current||(F.current=e.currentTarget),U(e)&&(V(!0),_&&_(e)),x&&x(e)})),ie=function(){var e=Ye.exports.findDOMNode(F.current);return c&&"button"!==c&&!("A"===e.tagName&&e.href)},oe=ye.exports.useRef(!1),se=Mg((function(e){v&&!oe.current&&H&&z.current&&" "===e.key&&(oe.current=!0,e.persist(),z.current.stop(e,(function(){z.current.start(e)}))),e.target===e.currentTarget&&ie()&&" "===e.key&&e.preventDefault(),S&&S(e),e.target===e.currentTarget&&ie()&&"Enter"===e.key&&!h&&(e.preventDefault(),E&&E(e))})),ae=Mg((function(e){v&&" "===e.key&&z.current&&H&&!e.defaultPrevented&&(oe.current=!1,e.persist(),z.current.stop(e,(function(){z.current.pulsate(e)}))),C&&C(e),E&&e.target===e.currentTarget&&ie()&&" "===e.key&&!e.defaultPrevented&&E(e)})),le=c;"button"===le&&j.href&&(le="a");var ue={};"button"===le?(ue.type=q,ue.disabled=h):("a"===le&&j.href||(ue.role="button"),ue["aria-disabled"]=h);var ce=qg(r,t),de=qg(Q,F),he=qg(ce,de),pe=ye.exports.useState(!1),fe=pe[0],me=pe[1];ye.exports.useEffect((function(){me(!0)}),[]);var ge=fe&&!f&&!h;return ye.exports.createElement(le,Cm({className:nm(a.root,l,H&&[a.focusVisible,b],h&&a.disabled),onBlur:ne,onClick:E,onFocus:re,onKeyDown:se,onKeyUp:ae,onMouseDown:Z,onMouseLeave:J,onMouseUp:X,onDragLeave:G,onTouchEnd:ee,onTouchMove:te,onTouchStart:Y,ref:he,tabIndex:h?-1:A},ue,j),s,ge?ye.exports.createElement(vv,Cm({ref:z,center:o},D)):null)})),wv=Ay({root:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},"&$disabled":{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}},disabled:{},focusVisible:{}},{name:"MuiButtonBase"})(bv),Ev=ye.exports.forwardRef((function(e,t){var n=e.edge,r=void 0!==n&&n,i=e.children,o=e.classes,s=e.className,a=e.color,l=void 0===a?"default":a,u=e.disabled,c=void 0!==u&&u,d=e.disableFocusRipple,h=void 0!==d&&d,p=e.size,f=void 0===p?"medium":p,m=Sm(e,["edge","children","classes","className","color","disabled","disableFocusRipple","size"]);return ye.exports.createElement(wv,Cm({className:nm(o.root,s,"default"!==l&&o["color".concat(Lg(l))],c&&o.disabled,"small"===f&&o["size".concat(Lg(f))],{start:o.edgeStart,end:o.edgeEnd}[r]),centerRipple:!0,focusRipple:!h,disabled:c,ref:t},m),ye.exports.createElement("span",{className:o.label},i))})),xv=Ay((function(e){return{root:{textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:12,borderRadius:"50%",overflow:"visible",color:e.palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{backgroundColor:xm(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{backgroundColor:"transparent",color:e.palette.action.disabled}},edgeStart:{marginLeft:-12,"$sizeSmall&":{marginLeft:-3}},edgeEnd:{marginRight:-12,"$sizeSmall&":{marginRight:-3}},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:xm(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:xm(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},disabled:{},sizeSmall:{padding:3,fontSize:e.typography.pxToRem(18)},label:{width:"100%",display:"flex",alignItems:"inherit",justifyContent:"inherit"}}}),{name:"MuiIconButton"})(Ev),_v=ye.exports.forwardRef((function(e,t){var n=e.anchorOrigin,r=void 0===n?{vertical:"top",horizontal:"right"}:n,i=e.badgeContent,o=e.children,s=e.classes,a=e.className,l=e.color,u=void 0===l?"default":l,c=e.component,d=void 0===c?"span":c,h=e.invisible,p=e.max,f=void 0===p?99:p,m=e.overlap,y=void 0===m?"rectangle":m,g=e.showZero,v=void 0!==g&&g,b=e.variant,w=void 0===b?"standard":b,E=Sm(e,["anchorOrigin","badgeContent","children","classes","className","color","component","invisible","max","overlap","showZero","variant"]),x=h;null==h&&(0===i&&!v||null==i&&"dot"!==w)&&(x=!0);var _="";return"dot"!==w&&(_=i>f?"".concat(f,"+"):i),ye.exports.createElement(d,Cm({className:nm(s.root,a),ref:t},E),o,ye.exports.createElement("span",{className:nm(s.badge,s["".concat(r.horizontal).concat(Lg(r.vertical),"}")],s["anchorOrigin".concat(Lg(r.vertical)).concat(Lg(r.horizontal)).concat(Lg(y))],"default"!==u&&s["color".concat(Lg(u))],x&&s.invisible,"dot"===w&&s.dot)},_))})),Sv=Ay((function(e){return{root:{position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0},badge:{display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen})},colorPrimary:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText},colorSecondary:{backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText},colorError:{backgroundColor:e.palette.error.main,color:e.palette.error.contrastText},dot:{borderRadius:4,height:8,minWidth:8,padding:0},anchorOriginTopRightRectangle:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginTopRightRectangular:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginBottomRightRectangle:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginBottomRightRectangular:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginTopLeftRectangle:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginTopLeftRectangular:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginBottomLeftRectangle:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},anchorOriginBottomLeftRectangular:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},anchorOriginTopRightCircle:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginTopRightCircular:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginBottomRightCircle:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginBottomRightCircular:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginTopLeftCircle:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginTopLeftCircular:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginBottomLeftCircle:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},anchorOriginBottomLeftCircular:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},invisible:{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}}}),{name:"MuiBadge"})(_v),Cv=function(e){var t=function(t){var n=e(t);return t.css?Vm({},$m(n,e(Vm({theme:t.theme},t.css))),ty(t.css,[e.filterProps])):t.sx?Vm({},$m(n,e(Vm({theme:t.theme},t.sx))),ty(t.sx,[e.filterProps])):n};return t.propTypes={},t.filterProps=["css","sx"].concat(function(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}(e.filterProps)),t}(Jm(ey,ny,ry,iy,sy,oy,ay,my,xy,_y)),kv=function(e){var t=function(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.name,o=Nf(r,["name"]),s=em("function"==typeof t?function(e){return{root:function(n){return t(Af({theme:e},n))}}}:{root:t},Af({Component:e,name:i||e.displayName,classNamePrefix:i},o));t.filterProps&&(n=t.filterProps,delete t.filterProps),t.propTypes&&delete t.propTypes;var a=Je.forwardRef((function(t,r){var i=t.children,o=t.className,a=t.clone,l=t.component,u=Nf(t,["children","className","clone","component"]),c=nm(s(t).root,o),d=u;return n&&(d=ym(d,n)),a?Je.cloneElement(i,Af({className:nm(i.props.className,c)},d)):"function"==typeof i?i(Af({className:c},d)):Je.createElement(l||e,Af({ref:r,className:c},d),i)}));return mm(a,e),a}}("div");return function(e,n){return t(e,Cm({defaultTheme:Ry},n))}}()(Cv,{name:"MuiBox"}),Tv={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p"},Ov=ye.exports.forwardRef((function(e,t){var n=e.align,r=void 0===n?"inherit":n,i=e.classes,o=e.className,s=e.color,a=void 0===s?"initial":s,l=e.component,u=e.display,c=void 0===u?"initial":u,d=e.gutterBottom,h=void 0!==d&&d,p=e.noWrap,f=void 0!==p&&p,m=e.paragraph,y=void 0!==m&&m,g=e.variant,v=void 0===g?"body1":g,b=e.variantMapping,w=void 0===b?Tv:b,E=Sm(e,["align","classes","className","color","component","display","gutterBottom","noWrap","paragraph","variant","variantMapping"]);return ye.exports.createElement(l||(y?"p":w[v]||Tv[v])||"span",Cm({className:nm(i.root,o,"inherit"!==v&&i[v],"initial"!==a&&i["color".concat(Lg(a))],f&&i.noWrap,h&&i.gutterBottom,y&&i.paragraph,"inherit"!==r&&i["align".concat(Lg(r))],"initial"!==c&&i["display".concat(Lg(c))]),ref:t},E))})),Lv=Ay((function(e){return{root:{margin:0},body2:e.typography.body2,body1:e.typography.body1,caption:e.typography.caption,button:e.typography.button,h1:e.typography.h1,h2:e.typography.h2,h3:e.typography.h3,h4:e.typography.h4,h5:e.typography.h5,h6:e.typography.h6,subtitle1:e.typography.subtitle1,subtitle2:e.typography.subtitle2,overline:e.typography.overline,srOnly:{position:"absolute",height:1,width:1,overflow:"hidden"},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right"},alignJustify:{textAlign:"justify"},noWrap:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},gutterBottom:{marginBottom:"0.35em"},paragraph:{marginBottom:16},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorTextPrimary:{color:e.palette.text.primary},colorTextSecondary:{color:e.palette.text.secondary},colorError:{color:e.palette.error.main},displayInline:{display:"inline"},displayBlock:{display:"block"}}}),{name:"MuiTypography"})(Ov),Iv=ye.exports.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,o=e.color,s=void 0===o?"default":o,a=e.component,l=void 0===a?"button":a,u=e.disabled,c=void 0!==u&&u,d=e.disableElevation,h=void 0!==d&&d,p=e.disableFocusRipple,f=void 0!==p&&p,m=e.endIcon,y=e.focusVisibleClassName,g=e.fullWidth,v=void 0!==g&&g,b=e.size,w=void 0===b?"medium":b,E=e.startIcon,x=e.type,_=void 0===x?"button":x,S=e.variant,C=void 0===S?"text":S,k=Sm(e,["children","classes","className","color","component","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"]),T=E&&ye.exports.createElement("span",{className:nm(r.startIcon,r["iconSize".concat(Lg(w))])},E),O=m&&ye.exports.createElement("span",{className:nm(r.endIcon,r["iconSize".concat(Lg(w))])},m);return ye.exports.createElement(wv,Cm({className:nm(r.root,r[C],i,"inherit"===s?r.colorInherit:"default"!==s&&r["".concat(C).concat(Lg(s))],"medium"!==w&&[r["".concat(C,"Size").concat(Lg(w))],r["size".concat(Lg(w))]],h&&r.disableElevation,c&&r.disabled,v&&r.fullWidth),component:l,disabled:c,focusRipple:!f,focusVisibleClassName:nm(r.focusVisible,y),ref:t,type:_},k),ye.exports.createElement("span",{className:r.label},T,n,O))})),Rv=Ay((function(e){return{root:Cm({},e.typography.button,{boxSizing:"border-box",minWidth:64,padding:"6px 16px",borderRadius:e.shape.borderRadius,color:e.palette.text.primary,transition:e.transitions.create(["background-color","box-shadow","border"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none",backgroundColor:xm(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}},"&$disabled":{color:e.palette.action.disabled}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},text:{padding:"6px 8px"},textPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:xm(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:xm(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlined:{padding:"5px 15px",border:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"&$disabled":{border:"1px solid ".concat(e.palette.action.disabledBackground)}},outlinedPrimary:{color:e.palette.primary.main,border:"1px solid ".concat(xm(e.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.primary.main),backgroundColor:xm(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat(xm(e.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.secondary.main),backgroundColor:xm(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{border:"1px solid ".concat(e.palette.action.disabled)}},contained:{color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],boxShadow:e.shadows[2],"&:hover":{backgroundColor:e.palette.grey.A100,boxShadow:e.shadows[4],"@media (hover: none)":{boxShadow:e.shadows[2],backgroundColor:e.palette.grey[300]},"&$disabled":{backgroundColor:e.palette.action.disabledBackground}},"&$focusVisible":{boxShadow:e.shadows[6]},"&:active":{boxShadow:e.shadows[8]},"&$disabled":{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground}},containedPrimary:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark,"@media (hover: none)":{backgroundColor:e.palette.primary.main}}},containedSecondary:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,"&:hover":{backgroundColor:e.palette.secondary.dark,"@media (hover: none)":{backgroundColor:e.palette.secondary.main}}},disableElevation:{boxShadow:"none","&:hover":{boxShadow:"none"},"&$focusVisible":{boxShadow:"none"},"&:active":{boxShadow:"none"},"&$disabled":{boxShadow:"none"}},focusVisible:{},disabled:{},colorInherit:{color:"inherit",borderColor:"currentColor"},textSizeSmall:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},textSizeLarge:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},outlinedSizeSmall:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},outlinedSizeLarge:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},containedSizeSmall:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},containedSizeLarge:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},sizeSmall:{},sizeLarge:{},fullWidth:{width:"100%"},startIcon:{display:"inherit",marginRight:8,marginLeft:-4,"&$iconSizeSmall":{marginLeft:-2}},endIcon:{display:"inherit",marginRight:-4,marginLeft:8,"&$iconSizeSmall":{marginRight:-2}},iconSizeSmall:{"& > *:first-child":{fontSize:18}},iconSizeMedium:{"& > *:first-child":{fontSize:20}},iconSizeLarge:{"& > *:first-child":{fontSize:22}}}}),{name:"MuiButton"})(Iv),Pv=ye.exports.createContext();function Nv(){return ye.exports.useContext(Pv)}var Av=Pv,Dv=44,Mv=ye.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,o=void 0===i?"primary":i,s=e.disableShrink,a=void 0!==s&&s,l=e.size,u=void 0===l?40:l,c=e.style,d=e.thickness,h=void 0===d?3.6:d,p=e.value,f=void 0===p?0:p,m=e.variant,y=void 0===m?"indeterminate":m,g=Sm(e,["classes","className","color","disableShrink","size","style","thickness","value","variant"]),v={},b={},w={};if("determinate"===y||"static"===y){var E=2*Math.PI*((Dv-h)/2);v.strokeDasharray=E.toFixed(3),w["aria-valuenow"]=Math.round(f),v.strokeDashoffset="".concat(((100-f)/100*E).toFixed(3),"px"),b.transform="rotate(-90deg)"}return ye.exports.createElement("div",Cm({className:nm(n.root,r,"inherit"!==o&&n["color".concat(Lg(o))],{determinate:n.determinate,indeterminate:n.indeterminate,static:n.static}[y]),style:Cm({width:u,height:u},b,c),ref:t,role:"progressbar"},w,g),ye.exports.createElement("svg",{className:n.svg,viewBox:"".concat(22," ").concat(22," ").concat(Dv," ").concat(Dv)},ye.exports.createElement("circle",{className:nm(n.circle,a&&n.circleDisableShrink,{determinate:n.circleDeterminate,indeterminate:n.circleIndeterminate,static:n.circleStatic}[y]),style:v,cx:Dv,cy:Dv,r:(Dv-h)/2,fill:"none",strokeWidth:h})))})),qv=Ay((function(e){return{root:{display:"inline-block"},static:{transition:e.transitions.create("transform")},indeterminate:{animation:"$circular-rotate 1.4s linear infinite"},determinate:{transition:e.transitions.create("transform")},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},svg:{display:"block"},circle:{stroke:"currentColor"},circleStatic:{transition:e.transitions.create("stroke-dashoffset")},circleIndeterminate:{animation:"$circular-dash 1.4s ease-in-out infinite",strokeDasharray:"80px, 200px",strokeDashoffset:"0px"},circleDeterminate:{transition:e.transitions.create("stroke-dashoffset")},"@keyframes circular-rotate":{"0%":{transformOrigin:"50% 50%"},"100%":{transform:"rotate(360deg)"}},"@keyframes circular-dash":{"0%":{strokeDasharray:"1px, 200px",strokeDashoffset:"0px"},"50%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-15px"},"100%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-125px"}},circleDisableShrink:{animation:"none"}}}),{name:"MuiCircularProgress",flip:!1})(Mv),jv="undefined"!=typeof window?ye.exports.useLayoutEffect:ye.exports.useEffect,Fv=ye.exports.forwardRef((function(e,t){var n=e.children,r=e.container,i=e.disablePortal,o=void 0!==i&&i,s=e.onRendered,a=ye.exports.useState(null),l=a[0],u=a[1],c=qg(ye.exports.isValidElement(n)?n.ref:null,t);return jv((function(){o||u(function(e){return e="function"==typeof e?e():e,Ye.exports.findDOMNode(e)}(r)||document.body)}),[r,o]),jv((function(){if(l&&!o)return Ag(t,l),function(){Ag(t,null)}}),[t,l,o]),jv((function(){s&&(l||o)&&s()}),[s,l,o]),o?ye.exports.isValidElement(n)?ye.exports.cloneElement(n,{ref:c}):n:l?Ye.exports.createPortal(n,l):l}));function zv(){var e=document.createElement("div");e.style.width="99px",e.style.height="99px",e.style.position="absolute",e.style.top="-9999px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}function Bv(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Hv(e){return parseInt(window.getComputedStyle(e)["padding-right"],10)||0}function Vv(e,t,n){var r=arguments.length>4?arguments[4]:void 0,i=[t,n].concat(fv(arguments.length>3&&void 0!==arguments[3]?arguments[3]:[])),o=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(function(e){1===e.nodeType&&-1===i.indexOf(e)&&-1===o.indexOf(e.tagName)&&Bv(e,r)}))}function Wv(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}var Uv=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.modals=[],this.containers=[]}var t;return(t=[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&Bv(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,(function(e){e.getAttribute&&"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);Vv(t,e.mountNode,e.modalRef,r,!0);var i=Wv(this.containers,(function(e){return e.container===t}));return-1!==i?(this.containers[i].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblingNodes:r}),n)}},{key:"mount",value:function(e,t){var n=Wv(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=function(e,t){var n,r=[],i=[],o=e.container;if(!t.disableScrollLock){if(function(e){var t=Pg(e);return t.body===e?Ng(t).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(o)){var s=zv();r.push({value:o.style.paddingRight,key:"padding-right",el:o}),o.style["padding-right"]="".concat(Hv(o)+s,"px"),n=Pg(o).querySelectorAll(".mui-fixed"),[].forEach.call(n,(function(e){i.push(e.style.paddingRight),e.style.paddingRight="".concat(Hv(e)+s,"px")}))}var a=o.parentElement,l="HTML"===a.nodeName&&"scroll"===window.getComputedStyle(a)["overflow-y"]?a:o;r.push({value:l.style.overflow,key:"overflow",el:l}),l.style.overflow="hidden"}return function(){n&&[].forEach.call(n,(function(e,t){i[t]?e.style.paddingRight=i[t]:e.style.removeProperty("padding-right")})),r.forEach((function(e){var t=e.value,n=e.el,r=e.key;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}(r,t))}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(-1===t)return t;var n=Wv(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&Bv(e.modalRef,!0),Vv(r.container,e.mountNode,e.modalRef,r.hiddenSiblingNodes,!1),this.containers.splice(n,1);else{var i=r.modals[r.modals.length-1];i.modalRef&&Bv(i.modalRef,!1)}return t}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}();function $v(e){var t=e.children,n=e.disableAutoFocus,r=void 0!==n&&n,i=e.disableEnforceFocus,o=void 0!==i&&i,s=e.disableRestoreFocus,a=void 0!==s&&s,l=e.getDoc,u=e.isEnabled,c=e.open,d=ye.exports.useRef(),h=ye.exports.useRef(null),p=ye.exports.useRef(null),f=ye.exports.useRef(),m=ye.exports.useRef(null),y=ye.exports.useCallback((function(e){m.current=Ye.exports.findDOMNode(e)}),[]),g=qg(t.ref,y),v=ye.exports.useRef();return ye.exports.useEffect((function(){v.current=c}),[c]),!v.current&&c&&"undefined"!=typeof window&&(f.current=l().activeElement),ye.exports.useEffect((function(){if(c){var e=Pg(m.current);r||!m.current||m.current.contains(e.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex",-1),m.current.focus());var t=function(){null!==m.current&&(e.hasFocus()&&!o&&u()&&!d.current?m.current&&!m.current.contains(e.activeElement)&&m.current.focus():d.current=!1)},n=function(t){!o&&u()&&9===t.keyCode&&e.activeElement===m.current&&(d.current=!0,t.shiftKey?p.current.focus():h.current.focus())};e.addEventListener("focus",t,!0),e.addEventListener("keydown",n,!0);var i=setInterval((function(){t()}),50);return function(){clearInterval(i),e.removeEventListener("focus",t,!0),e.removeEventListener("keydown",n,!0),a||(f.current&&f.current.focus&&f.current.focus(),f.current=null)}}}),[r,o,a,u,c]),ye.exports.createElement(ye.exports.Fragment,null,ye.exports.createElement("div",{tabIndex:0,ref:h,"data-test":"sentinelStart"}),ye.exports.cloneElement(t,{ref:g}),ye.exports.createElement("div",{tabIndex:0,ref:p,"data-test":"sentinelEnd"}))}var Qv={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},Kv=ye.exports.forwardRef((function(e,t){var n=e.invisible,r=void 0!==n&&n,i=e.open,o=Sm(e,["invisible","open"]);return i?ye.exports.createElement("div",Cm({"aria-hidden":!0,ref:t},o,{style:Cm({},Qv.root,r?Qv.invisible:{},o.style)})):null})),Zv=new Uv,Gv=ye.exports.forwardRef((function(e,t){var n=Ff(),r=Ud({name:"MuiModal",props:Cm({},e),theme:n}),i=r.BackdropComponent,o=void 0===i?Kv:i,s=r.BackdropProps,a=r.children,l=r.closeAfterTransition,u=void 0!==l&&l,c=r.container,d=r.disableAutoFocus,h=void 0!==d&&d,p=r.disableBackdropClick,f=void 0!==p&&p,m=r.disableEnforceFocus,y=void 0!==m&&m,g=r.disableEscapeKeyDown,v=void 0!==g&&g,b=r.disablePortal,w=void 0!==b&&b,E=r.disableRestoreFocus,x=void 0!==E&&E,_=r.disableScrollLock,S=void 0!==_&&_,C=r.hideBackdrop,k=void 0!==C&&C,T=r.keepMounted,O=void 0!==T&&T,L=r.manager,I=void 0===L?Zv:L,R=r.onBackdropClick,P=r.onClose,N=r.onEscapeKeyDown,A=r.onRendered,D=r.open,M=Sm(r,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),q=ye.exports.useState(!0),j=q[0],F=q[1],z=ye.exports.useRef({}),B=ye.exports.useRef(null),H=ye.exports.useRef(null),V=qg(H,t),W=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(r),U=function(){return Pg(B.current)},$=function(){return z.current.modalRef=H.current,z.current.mountNode=B.current,z.current},Q=function(){I.mount($(),{disableScrollLock:S}),H.current.scrollTop=0},K=Mg((function(){var e=function(e){return e="function"==typeof e?e():e,Ye.exports.findDOMNode(e)}(c)||U().body;I.add($(),e),H.current&&Q()})),Z=ye.exports.useCallback((function(){return I.isTopModal($())}),[I]),G=Mg((function(e){B.current=e,e&&(A&&A(),D&&Z()?Q():Bv(H.current,!0))})),X=ye.exports.useCallback((function(){I.remove($())}),[I]);if(ye.exports.useEffect((function(){return function(){X()}}),[X]),ye.exports.useEffect((function(){D?K():W&&u||X()}),[D,X,W,u,K]),!O&&!D&&(!W||j))return null;var J=function(e){return{root:{position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(n||{zIndex:Ly}),Y={};return void 0===a.props.tabIndex&&(Y.tabIndex=a.props.tabIndex||"-1"),W&&(Y.onEnter=Ig((function(){F(!1)}),a.props.onEnter),Y.onExited=Ig((function(){F(!0),u&&X()}),a.props.onExited)),ye.exports.createElement(Fv,{ref:G,container:c,disablePortal:w},ye.exports.createElement("div",Cm({ref:V,onKeyDown:function(e){"Escape"===e.key&&Z()&&(N&&N(e),v||(e.stopPropagation(),P&&P(e,"escapeKeyDown")))},role:"presentation"},M,{style:Cm({},J.root,!D&&j?J.hidden:{},M.style)}),k?null:ye.exports.createElement(o,Cm({open:D,onClick:function(e){e.target===e.currentTarget&&(R&&R(e),!f&&P&&P(e,"backdropClick"))}},s)),ye.exports.createElement($v,{disableEnforceFocus:y,disableAutoFocus:h,disableRestoreFocus:x,getDoc:U,isEnabled:Z,open:D},ye.exports.cloneElement(a,Y))))})),Xv=ye.exports.forwardRef((function(e,t){var n=e.absolute,r=void 0!==n&&n,i=e.classes,o=e.className,s=e.component,a=void 0===s?"hr":s,l=e.flexItem,u=void 0!==l&&l,c=e.light,d=void 0!==c&&c,h=e.orientation,p=void 0===h?"horizontal":h,f=e.role,m=void 0===f?"hr"!==a?"separator":void 0:f,y=e.variant,g=void 0===y?"fullWidth":y,v=Sm(e,["absolute","classes","className","component","flexItem","light","orientation","role","variant"]);return ye.exports.createElement(a,Cm({className:nm(i.root,o,"fullWidth"!==g&&i[g],r&&i.absolute,u&&i.flexItem,d&&i.light,"vertical"===p&&i.vertical),role:m,ref:t},v))})),Jv=Ay((function(e){return{root:{height:1,margin:0,border:"none",flexShrink:0,backgroundColor:e.palette.divider},absolute:{position:"absolute",bottom:0,left:0,width:"100%"},inset:{marginLeft:72},light:{backgroundColor:xm(e.palette.divider,.08)},middle:{marginLeft:e.spacing(2),marginRight:e.spacing(2)},vertical:{height:"100%",width:1},flexItem:{alignSelf:"stretch",height:"auto"}}}),{name:"MuiDivider"})(Xv);function Yv(e,t){return parseInt(e[t],10)||0}var eb="undefined"!=typeof window?ye.exports.useLayoutEffect:ye.exports.useEffect,tb={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},nb=ye.exports.forwardRef((function(e,t){var n=e.onChange,r=e.rows,i=e.rowsMax,o=e.rowsMin,s=e.maxRows,a=e.minRows,l=void 0===a?1:a,u=e.style,c=e.value,d=Sm(e,["onChange","rows","rowsMax","rowsMin","maxRows","minRows","style","value"]),h=s||i,p=r||o||l,f=ye.exports.useRef(null!=c).current,m=ye.exports.useRef(null),y=qg(t,m),g=ye.exports.useRef(null),v=ye.exports.useRef(0),b=ye.exports.useState({}),w=b[0],E=b[1],x=ye.exports.useCallback((function(){var t=m.current,n=window.getComputedStyle(t),r=g.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");var i=n["box-sizing"],o=Yv(n,"padding-bottom")+Yv(n,"padding-top"),s=Yv(n,"border-bottom-width")+Yv(n,"border-top-width"),a=r.scrollHeight-o;r.value="x";var l=r.scrollHeight-o,u=a;p&&(u=Math.max(Number(p)*l,u)),h&&(u=Math.min(Number(h)*l,u));var c=(u=Math.max(u,l))+("border-box"===i?o+s:0),d=Math.abs(u-a)<=1;E((function(e){return v.current<20&&(c>0&&Math.abs((e.outerHeightStyle||0)-c)>1||e.overflow!==d)?(v.current+=1,{overflow:d,outerHeightStyle:c}):e}))}),[h,p,e.placeholder]);return ye.exports.useEffect((function(){var e=Rg((function(){v.current=0,x()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}),[x]),eb((function(){x()})),ye.exports.useEffect((function(){v.current=0}),[c]),ye.exports.createElement(ye.exports.Fragment,null,ye.exports.createElement("textarea",Cm({value:c,onChange:function(e){v.current=0,f||x(),n&&n(e)},ref:y,rows:p,style:Cm({height:w.outerHeightStyle,overflow:w.overflow?"hidden":null},u)},d)),ye.exports.createElement("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:g,tabIndex:-1,style:Cm({},tb,u)}))}));function rb(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}var ib="undefined"==typeof window?ye.exports.useEffect:ye.exports.useLayoutEffect,ob=ye.exports.forwardRef((function(e,t){var n=e["aria-describedby"],r=e.autoComplete,i=e.autoFocus,o=e.classes,s=e.className,a=e.defaultValue,l=e.disabled,u=e.endAdornment,c=e.fullWidth,d=void 0!==c&&c,h=e.id,p=e.inputComponent,f=void 0===p?"input":p,m=e.inputProps,y=void 0===m?{}:m,g=e.inputRef,v=e.multiline,b=void 0!==v&&v,w=e.name,E=e.onBlur,x=e.onChange,_=e.onClick,S=e.onFocus,C=e.onKeyDown,k=e.onKeyUp,T=e.placeholder,O=e.readOnly,L=e.renderSuffix,I=e.rows,R=e.rowsMax,P=e.rowsMin,N=e.maxRows,A=e.minRows,D=e.startAdornment,M=e.type,q=void 0===M?"text":M,j=e.value,F=Sm(e,["aria-describedby","autoComplete","autoFocus","classes","className","color","defaultValue","disabled","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","rowsMax","rowsMin","maxRows","minRows","startAdornment","type","value"]),z=null!=y.value?y.value:j,B=ye.exports.useRef(null!=z).current,H=ye.exports.useRef(),V=ye.exports.useCallback((function(e){}),[]),W=qg(y.ref,V),U=qg(g,W),$=qg(H,U),Q=ye.exports.useState(!1),K=Q[0],Z=Q[1],G=Nv(),X=function(e){var t=e.props,n=e.muiFormControl;return e.states.reduce((function(e,r){return e[r]=t[r],n&&void 0===t[r]&&(e[r]=n[r]),e}),{})}({props:e,muiFormControl:G,states:["color","disabled","error","hiddenLabel","margin","required","filled"]});X.focused=G?G.focused:K,ye.exports.useEffect((function(){!G&&l&&K&&(Z(!1),E&&E())}),[G,l,K,E]);var J=G&&G.onFilled,Y=G&&G.onEmpty,ee=ye.exports.useCallback((function(e){!function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(rb(e.value)&&""!==e.value||t&&rb(e.defaultValue)&&""!==e.defaultValue)}(e)?Y&&Y():J&&J()}),[J,Y]);ib((function(){B&&ee({value:z})}),[z,ee,B]),ye.exports.useEffect((function(){ee(H.current)}),[]);var te=f,ne=Cm({},y,{ref:$});return"string"!=typeof te?ne=Cm({inputRef:$,type:q},ne,{ref:null}):b?!I||N||A||R||P?(ne=Cm({minRows:I||A,rowsMax:R,maxRows:N},ne),te=nb):te="textarea":ne=Cm({type:q},ne),ye.exports.useEffect((function(){G&&G.setAdornedStart(Boolean(D))}),[G,D]),ye.exports.createElement("div",Cm({className:nm(o.root,o["color".concat(Lg(X.color||"primary"))],s,X.disabled&&o.disabled,X.error&&o.error,d&&o.fullWidth,X.focused&&o.focused,G&&o.formControl,b&&o.multiline,D&&o.adornedStart,u&&o.adornedEnd,"dense"===X.margin&&o.marginDense),onClick:function(e){H.current&&e.currentTarget===e.target&&H.current.focus(),_&&_(e)},ref:t},F),D,ye.exports.createElement(Av.Provider,{value:null},ye.exports.createElement(te,Cm({"aria-invalid":X.error,"aria-describedby":n,autoComplete:r,autoFocus:i,defaultValue:a,disabled:X.disabled,id:h,onAnimationStart:function(e){ee("mui-auto-fill-cancel"===e.animationName?H.current:{value:"x"})},name:w,placeholder:T,readOnly:O,required:X.required,rows:I,value:z,onKeyDown:C,onKeyUp:k},ne,{className:nm(o.input,y.className,X.disabled&&o.disabled,b&&o.inputMultiline,X.hiddenLabel&&o.inputHiddenLabel,D&&o.inputAdornedStart,u&&o.inputAdornedEnd,"search"===q&&o.inputTypeSearch,"dense"===X.margin&&o.inputMarginDense),onBlur:function(e){E&&E(e),y.onBlur&&y.onBlur(e),G&&G.onBlur?G.onBlur(e):Z(!1)},onChange:function(e){if(!B){var t=e.target||H.current;if(null==t)throw new Error(cd(1));ee({value:t.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];y.onChange&&y.onChange.apply(y,[e].concat(r)),x&&x.apply(void 0,[e].concat(r))},onFocus:function(e){X.disabled?e.stopPropagation():(S&&S(e),y.onFocus&&y.onFocus(e),G&&G.onFocus?G.onFocus(e):Z(!0))}}))),u,L?L(Cm({},X,{startAdornment:D})):null)})),sb=Ay((function(e){var t="light"===e.palette.type,n={color:"currentColor",opacity:t?.42:.5,transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},i={opacity:t?.42:.5};return{"@global":{"@keyframes mui-auto-fill":{},"@keyframes mui-auto-fill-cancel":{}},root:Cm({},e.typography.body1,{color:e.palette.text.primary,lineHeight:"1.1876em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center","&$disabled":{color:e.palette.text.disabled,cursor:"default"}}),formControl:{},focused:{},disabled:{},adornedStart:{},adornedEnd:{},error:{},marginDense:{},multiline:{padding:"".concat(6,"px 0 ").concat(7,"px"),"&$marginDense":{paddingTop:3}},colorSecondary:{},fullWidth:{width:"100%"},input:{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"".concat(6,"px 0 ").concat(7,"px"),border:0,boxSizing:"content-box",background:"none",height:"1.1876em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{"-webkit-appearance":"none"},"label[data-shrink=false] + $formControl &":{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},"&$disabled":{opacity:1},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},inputMarginDense:{paddingTop:3},inputMultiline:{height:"auto",resize:"none",padding:0},inputTypeSearch:{"-moz-appearance":"textfield","-webkit-appearance":"textfield"},inputAdornedStart:{},inputAdornedEnd:{},inputHiddenLabel:{}}}),{name:"MuiInputBase"})(ob),ab=[0,1,2,3,4,5,6,7,8,9,10],lb=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];function ub(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=parseFloat(e);return"".concat(n/t).concat(String(e).replace(String(n),"")||"px")}var cb=ye.exports.forwardRef((function(e,t){var n=e.alignContent,r=void 0===n?"stretch":n,i=e.alignItems,o=void 0===i?"stretch":i,s=e.classes,a=e.className,l=e.component,u=void 0===l?"div":l,c=e.container,d=void 0!==c&&c,h=e.direction,p=void 0===h?"row":h,f=e.item,m=void 0!==f&&f,y=e.justify,g=e.justifyContent,v=void 0===g?"flex-start":g,b=e.lg,w=void 0!==b&&b,E=e.md,x=void 0!==E&&E,_=e.sm,S=void 0!==_&&_,C=e.spacing,k=void 0===C?0:C,T=e.wrap,O=void 0===T?"wrap":T,L=e.xl,I=void 0!==L&&L,R=e.xs,P=void 0!==R&&R,N=e.zeroMinWidth,A=void 0!==N&&N,D=Sm(e,["alignContent","alignItems","classes","className","component","container","direction","item","justify","justifyContent","lg","md","sm","spacing","wrap","xl","xs","zeroMinWidth"]),M=nm(s.root,a,d&&[s.container,0!==k&&s["spacing-xs-".concat(String(k))]],m&&s.item,A&&s.zeroMinWidth,"row"!==p&&s["direction-xs-".concat(String(p))],"wrap"!==O&&s["wrap-xs-".concat(String(O))],"stretch"!==o&&s["align-items-xs-".concat(String(o))],"stretch"!==r&&s["align-content-xs-".concat(String(r))],"flex-start"!==(y||v)&&s["justify-content-xs-".concat(String(y||v))],!1!==P&&s["grid-xs-".concat(String(P))],!1!==S&&s["grid-sm-".concat(String(S))],!1!==x&&s["grid-md-".concat(String(x))],!1!==w&&s["grid-lg-".concat(String(w))],!1!==I&&s["grid-xl-".concat(String(I))]);return ye.exports.createElement(u,Cm({className:M,ref:t},D))})),db=Ay((function(e){return Cm({root:{},container:{boxSizing:"border-box",display:"flex",flexWrap:"wrap",width:"100%"},item:{boxSizing:"border-box",margin:"0"},zeroMinWidth:{minWidth:0},"direction-xs-column":{flexDirection:"column"},"direction-xs-column-reverse":{flexDirection:"column-reverse"},"direction-xs-row-reverse":{flexDirection:"row-reverse"},"wrap-xs-nowrap":{flexWrap:"nowrap"},"wrap-xs-wrap-reverse":{flexWrap:"wrap-reverse"},"align-items-xs-center":{alignItems:"center"},"align-items-xs-flex-start":{alignItems:"flex-start"},"align-items-xs-flex-end":{alignItems:"flex-end"},"align-items-xs-baseline":{alignItems:"baseline"},"align-content-xs-center":{alignContent:"center"},"align-content-xs-flex-start":{alignContent:"flex-start"},"align-content-xs-flex-end":{alignContent:"flex-end"},"align-content-xs-space-between":{alignContent:"space-between"},"align-content-xs-space-around":{alignContent:"space-around"},"justify-content-xs-center":{justifyContent:"center"},"justify-content-xs-flex-end":{justifyContent:"flex-end"},"justify-content-xs-space-between":{justifyContent:"space-between"},"justify-content-xs-space-around":{justifyContent:"space-around"},"justify-content-xs-space-evenly":{justifyContent:"space-evenly"}},function(e,t){var n={};return ab.forEach((function(t){var r=e.spacing(t);0!==r&&(n["spacing-".concat("xs","-").concat(t)]={margin:"-".concat(ub(r,2)),width:"calc(100% + ".concat(ub(r),")"),"& > $item":{padding:ub(r,2)}})})),n}(e),e.breakpoints.keys.reduce((function(t,n){return function(e,t,n){var r={};lb.forEach((function(e){var t="grid-".concat(n,"-").concat(e);if(!0!==e)if("auto"!==e){var i="".concat(Math.round(e/12*1e8)/1e6,"%");r[t]={flexBasis:i,flexGrow:0,maxWidth:i}}else r[t]={flexBasis:"auto",flexGrow:0,maxWidth:"none"};else r[t]={flexBasis:0,flexGrow:1,maxWidth:"100%"}})),"xs"===n?Cm(e,r):e[t.breakpoints.up(n)]=r}(t,e,n),t}),{}))}),{name:"MuiGrid"})(cb);function hb(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var pb={entering:{opacity:1,transform:hb(1)},entered:{opacity:1,transform:"none"}},fb=ye.exports.forwardRef((function(e,t){var n=e.children,r=e.disableStrictModeCompat,i=void 0!==r&&r,o=e.in,s=e.onEnter,a=e.onEntered,l=e.onEntering,u=e.onExit,c=e.onExited,d=e.onExiting,h=e.style,p=e.timeout,f=void 0===p?"auto":p,m=e.TransitionComponent,y=void 0===m?iv:m,g=Sm(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),v=ye.exports.useRef(),b=ye.exports.useRef(),w=Ny(),E=w.unstable_strictMode&&!i,x=ye.exports.useRef(null),_=qg(n.ref,t),S=qg(E?x:void 0,_),C=function(e){return function(t,n){if(e){var r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),2!==n.length);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(i)throw o}}return n}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}(E?[x.current,t]:[t,n]),i=r[0],o=r[1];void 0===o?e(i):e(i,o)}}},k=C(l),T=C((function(e,t){var n,r=dv({style:h,timeout:f},{mode:"enter"}),i=r.duration,o=r.delay;"auto"===f?(n=w.transitions.getAutoHeightDuration(e.clientHeight),b.current=n):n=i,e.style.transition=[w.transitions.create("opacity",{duration:n,delay:o}),w.transitions.create("transform",{duration:.666*n,delay:o})].join(","),s&&s(e,t)})),O=C(a),L=C(d),I=C((function(e){var t,n=dv({style:h,timeout:f},{mode:"exit"}),r=n.duration,i=n.delay;"auto"===f?(t=w.transitions.getAutoHeightDuration(e.clientHeight),b.current=t):t=r,e.style.transition=[w.transitions.create("opacity",{duration:t,delay:i}),w.transitions.create("transform",{duration:.666*t,delay:i||.333*t})].join(","),e.style.opacity="0",e.style.transform=hb(.75),u&&u(e)})),R=C(c);return ye.exports.useEffect((function(){return function(){clearTimeout(v.current)}}),[]),ye.exports.createElement(y,Cm({appear:!0,in:o,nodeRef:E?x:void 0,onEnter:T,onEntered:O,onEntering:k,onExit:I,onExited:R,onExiting:L,addEndListener:function(e,t){"auto"===f&&(v.current=setTimeout(E?e:t,b.current||0))},timeout:"auto"===f?null:f},g),(function(e,t){return ye.exports.cloneElement(n,Cm({style:Cm({opacity:0,transform:hb(.75),visibility:"exited"!==e||o?void 0:"hidden"},pb[e],h,n.props.style),ref:S},t))}))}));fb.muiSupportAuto=!0;var mb=fb,yb=ye.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,o=void 0===i?"inherit":i,s=e.component,a=void 0===s?"span":s,l=e.fontSize,u=void 0===l?"medium":l,c=Sm(e,["classes","className","color","component","fontSize"]);return ye.exports.createElement(a,Cm({className:nm("material-icons",n.root,r,"inherit"!==o&&n["color".concat(Lg(o))],"default"!==u&&"medium"!==u&&n["fontSize".concat(Lg(u))]),"aria-hidden":!0,ref:t},c))}));yb.muiName="Icon";var gb=Ay((function(e){return{root:{userSelect:"none",fontSize:e.typography.pxToRem(24),width:"1em",height:"1em",overflow:"hidden",flexShrink:0},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(36)}}}),{name:"MuiIcon"})(yb),vb=ye.exports.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,o=e.component,s=void 0===o?"div":o,a=e.disablePointerEvents,l=void 0!==a&&a,u=e.disableTypography,c=void 0!==u&&u,d=e.position,h=e.variant,p=Sm(e,["children","classes","className","component","disablePointerEvents","disableTypography","position","variant"]),f=Nv()||{},m=h;return f&&!m&&(m=f.variant),ye.exports.createElement(Av.Provider,{value:null},ye.exports.createElement(s,Cm({className:nm(r.root,i,"end"===d?r.positionEnd:r.positionStart,l&&r.disablePointerEvents,f.hiddenLabel&&r.hiddenLabel,"filled"===m&&r.filled,"dense"===f.margin&&r.marginDense),ref:t},p),"string"!=typeof n||c?n:ye.exports.createElement(Lv,{color:"textSecondary"},n)))})),bb=Ay({root:{display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap"},filled:{"&$positionStart:not($hiddenLabel)":{marginTop:16}},positionStart:{marginRight:8},positionEnd:{marginLeft:8},disablePointerEvents:{pointerEvents:"none"},hiddenLabel:{},marginDense:{}},{name:"MuiInputAdornment"})(vb),wb=ye.exports.createContext({}),Eb=ye.exports.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,o=e.component,s=void 0===o?"ul":o,a=e.dense,l=void 0!==a&&a,u=e.disablePadding,c=void 0!==u&&u,d=e.subheader,h=Sm(e,["children","classes","className","component","dense","disablePadding","subheader"]),p=ye.exports.useMemo((function(){return{dense:l}}),[l]);return ye.exports.createElement(wb.Provider,{value:p},ye.exports.createElement(s,Cm({className:nm(r.root,i,l&&r.dense,!c&&r.padding,d&&r.subheader),ref:t},h),d,n))})),xb=Ay({root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:"MuiList"})(Eb),_b="undefined"==typeof window?ye.exports.useEffect:ye.exports.useLayoutEffect,Sb=ye.exports.forwardRef((function(e,t){var n=e.alignItems,r=void 0===n?"center":n,i=e.autoFocus,o=void 0!==i&&i,s=e.button,a=void 0!==s&&s,l=e.children,u=e.classes,c=e.className,d=e.component,h=e.ContainerComponent,p=void 0===h?"li":h,f=e.ContainerProps,m=(f=void 0===f?{}:f).className,y=Sm(f,["className"]),g=e.dense,v=void 0!==g&&g,b=e.disabled,w=void 0!==b&&b,E=e.disableGutters,x=void 0!==E&&E,_=e.divider,S=void 0!==_&&_,C=e.focusVisibleClassName,k=e.selected,T=void 0!==k&&k,O=Sm(e,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),L=ye.exports.useContext(wb),I={dense:v||L.dense||!1,alignItems:r},R=ye.exports.useRef(null);_b((function(){o&&R.current&&R.current.focus()}),[o]);var P,N,A=ye.exports.Children.toArray(l),D=A.length&&(N=["ListItemSecondaryAction"],ye.exports.isValidElement(P=A[A.length-1])&&-1!==N.indexOf(P.type.muiName)),M=qg(ye.exports.useCallback((function(e){R.current=Ye.exports.findDOMNode(e)}),[]),t),q=Cm({className:nm(u.root,c,I.dense&&u.dense,!x&&u.gutters,S&&u.divider,w&&u.disabled,a&&u.button,"center"!==r&&u.alignItemsFlexStart,D&&u.secondaryAction,T&&u.selected),disabled:w},O),j=d||"li";return a&&(q.component=d||"div",q.focusVisibleClassName=nm(u.focusVisible,C),j=wv),D?(j=q.component||d?j:"div","li"===p&&("li"===j?j="div":"li"===q.component&&(q.component="div")),ye.exports.createElement(wb.Provider,{value:I},ye.exports.createElement(p,Cm({className:nm(u.container,m),ref:M},y),ye.exports.createElement(j,q,A),A.pop()))):ye.exports.createElement(wb.Provider,{value:I},ye.exports.createElement(j,Cm({ref:M},q),A))})),Cb=Ay((function(e){return{root:{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,"&$focusVisible":{backgroundColor:e.palette.action.selected},"&$selected, &$selected:hover":{backgroundColor:e.palette.action.selected},"&$disabled":{opacity:.5}},container:{position:"relative"},focusVisible:{},dense:{paddingTop:4,paddingBottom:4},alignItemsFlexStart:{alignItems:"flex-start"},disabled:{},divider:{borderBottom:"1px solid ".concat(e.palette.divider),backgroundClip:"padding-box"},gutters:{paddingLeft:16,paddingRight:16},button:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},secondaryAction:{paddingRight:48},selected:{}}}),{name:"MuiListItem"})(Sb),kb=ye.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,i=Sm(e,["classes","className"]),o=ye.exports.useContext(wb);return ye.exports.createElement("div",Cm({className:nm(n.root,r,"flex-start"===o.alignItems&&n.alignItemsFlexStart),ref:t},i))})),Tb=Ay((function(e){return{root:{minWidth:56,color:e.palette.action.active,flexShrink:0,display:"inline-flex"},alignItemsFlexStart:{marginTop:8}}}),{name:"MuiListItemIcon"})(kb);function Ob(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function Lb(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function Ib(e){return[e.horizontal,e.vertical].map((function(e){return"number"==typeof e?"".concat(e,"px"):e})).join(" ")}function Rb(e){return"function"==typeof e?e():e}var Pb=ye.exports.forwardRef((function(e,t){var n=e.action,r=e.anchorEl,i=e.anchorOrigin,o=void 0===i?{vertical:"top",horizontal:"left"}:i,s=e.anchorPosition,a=e.anchorReference,l=void 0===a?"anchorEl":a,u=e.children,c=e.classes,d=e.className,h=e.container,p=e.elevation,f=void 0===p?8:p,m=e.getContentAnchorEl,y=e.marginThreshold,g=void 0===y?16:y,v=e.onEnter,b=e.onEntered,w=e.onEntering,E=e.onExit,x=e.onExited,_=e.onExiting,S=e.open,C=e.PaperProps,k=void 0===C?{}:C,T=e.transformOrigin,O=void 0===T?{vertical:"top",horizontal:"left"}:T,L=e.TransitionComponent,I=void 0===L?mb:L,R=e.transitionDuration,P=void 0===R?"auto":R,N=e.TransitionProps,A=void 0===N?{}:N,D=Sm(e,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","classes","className","container","elevation","getContentAnchorEl","marginThreshold","onEnter","onEntered","onEntering","onExit","onExited","onExiting","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"]),M=ye.exports.useRef(),q=ye.exports.useCallback((function(e){if("anchorPosition"===l)return s;var t=Rb(r),n=(t&&1===t.nodeType?t:Pg(M.current).body).getBoundingClientRect();return{top:n.top+Ob(n,0===e?o.vertical:"center"),left:n.left+Lb(n,o.horizontal)}}),[r,o.horizontal,o.vertical,s,l]),j=ye.exports.useCallback((function(e){var t=0;if(m&&"anchorEl"===l){var n=m(e);if(n&&e.contains(n)){var r=function(e,t){for(var n=t,r=0;n&&n!==e;)r+=(n=n.parentElement).scrollTop;return r}(e,n);t=n.offsetTop+n.clientHeight/2-r||0}}return t}),[o.vertical,l,m]),F=ye.exports.useCallback((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:Ob(e,O.vertical)+t,horizontal:Lb(e,O.horizontal)}}),[O.horizontal,O.vertical]),z=ye.exports.useCallback((function(e){var t=j(e),n={width:e.offsetWidth,height:e.offsetHeight},i=F(n,t);if("none"===l)return{top:null,left:null,transformOrigin:Ib(i)};var o=q(t),s=o.top-i.vertical,a=o.left-i.horizontal,u=s+n.height,c=a+n.width,d=Ng(Rb(r)),h=d.innerHeight-g,p=d.innerWidth-g;if(s<g){var f=s-g;s-=f,i.vertical+=f}else if(u>h){var m=u-h;s-=m,i.vertical+=m}if(a<g){var y=a-g;a-=y,i.horizontal+=y}else if(c>p){var v=c-p;a-=v,i.horizontal+=v}return{top:"".concat(Math.round(s),"px"),left:"".concat(Math.round(a),"px"),transformOrigin:Ib(i)}}),[r,l,q,j,F,g]),B=ye.exports.useCallback((function(){var e=M.current;if(e){var t=z(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}}),[z]),H=ye.exports.useCallback((function(e){M.current=Ye.exports.findDOMNode(e)}),[]);ye.exports.useEffect((function(){S&&B()})),ye.exports.useImperativeHandle(n,(function(){return S?{updatePosition:function(){B()}}:null}),[S,B]),ye.exports.useEffect((function(){if(S){var e=Rg((function(){B()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[S,B]);var V=P;"auto"!==P||I.muiSupportAuto||(V=void 0);var W=h||(r?Pg(Rb(r)).body:void 0);return ye.exports.createElement(Gv,Cm({container:W,open:S,ref:t,BackdropProps:{invisible:!0},className:nm(c.root,d)},D),ye.exports.createElement(I,Cm({appear:!0,in:S,onEnter:v,onEntered:b,onExit:E,onExited:x,onExiting:_,timeout:V},A,{onEntering:Ig((function(e,t){w&&w(e,t),B()}),A.onEntering)}),ye.exports.createElement(pv,Cm({elevation:f,ref:H},k,{className:nm(c.paper,k.className)}),u)))})),Nb=Ay({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"MuiPopover"})(Pb);function Ab(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Db(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Mb(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function qb(e,t,n,r,i,o){for(var s=!1,a=i(e,t,!!t&&n);a;){if(a===e.firstChild){if(s)return;s=!0}var l=!r&&(a.disabled||"true"===a.getAttribute("aria-disabled"));if(a.hasAttribute("tabindex")&&Mb(a,o)&&!l)return void a.focus();a=i(e,a,n)}}var jb="undefined"==typeof window?ye.exports.useEffect:ye.exports.useLayoutEffect,Fb=ye.exports.forwardRef((function(e,t){var n=e.actions,r=e.autoFocus,i=void 0!==r&&r,o=e.autoFocusItem,s=void 0!==o&&o,a=e.children,l=e.className,u=e.disabledItemsFocusable,c=void 0!==u&&u,d=e.disableListWrap,h=void 0!==d&&d,p=e.onKeyDown,f=e.variant,m=void 0===f?"selectedMenu":f,y=Sm(e,["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"]),g=ye.exports.useRef(null),v=ye.exports.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});jb((function(){i&&g.current.focus()}),[i]),ye.exports.useImperativeHandle(n,(function(){return{adjustStyleForScrollbar:function(e,t){if(e.clientHeight<g.current.clientHeight&&!g.current.style.width){var n="".concat(zv(),"px");g.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=n,g.current.style.width="calc(100% + ".concat(n,")")}return g.current}}}),[]);var b=qg(ye.exports.useCallback((function(e){g.current=Ye.exports.findDOMNode(e)}),[]),t),w=-1;ye.exports.Children.forEach(a,(function(e,t){ye.exports.isValidElement(e)&&(e.props.disabled||("selectedMenu"===m&&e.props.selected||-1===w)&&(w=t))}));var E=ye.exports.Children.map(a,(function(e,t){if(t===w){var n={};return s&&(n.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===m&&(n.tabIndex=0),ye.exports.cloneElement(e,n)}return e}));return ye.exports.createElement(xb,Cm({role:"menu",ref:b,className:l,onKeyDown:function(e){var t=g.current,n=e.key,r=Pg(t).activeElement;if("ArrowDown"===n)e.preventDefault(),qb(t,r,h,c,Ab);else if("ArrowUp"===n)e.preventDefault(),qb(t,r,h,c,Db);else if("Home"===n)e.preventDefault(),qb(t,null,h,c,Ab);else if("End"===n)e.preventDefault(),qb(t,null,h,c,Db);else if(1===n.length){var i=v.current,o=n.toLowerCase(),s=performance.now();i.keys.length>0&&(s-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&o!==i.keys[0]&&(i.repeating=!1)),i.lastTime=s,i.keys.push(o);var a=r&&!i.repeating&&Mb(r,i);i.previousKeyMatched&&(a||qb(t,r,!1,c,Ab,i))?e.preventDefault():i.previousKeyMatched=!1}p&&p(e)},tabIndex:i?0:-1},y),E)})),zb=ye.exports.forwardRef((function(e,t){var n,r=e.classes,i=e.className,o=e.component,s=void 0===o?"li":o,a=e.disableGutters,l=void 0!==a&&a,u=e.ListItemClasses,c=e.role,d=void 0===c?"menuitem":c,h=e.selected,p=e.tabIndex,f=Sm(e,["classes","className","component","disableGutters","ListItemClasses","role","selected","tabIndex"]);return e.disabled||(n=void 0!==p?p:-1),ye.exports.createElement(Cb,Cm({button:!0,role:d,tabIndex:n,component:s,selected:h,disableGutters:l,classes:Cm({dense:r.dense},u),className:nm(r.root,i,h&&r.selected,!l&&r.gutters),ref:t},f))})),Bb=Ay((function(e){return{root:Cm({},e.typography.body1,_m({minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",width:"auto",overflow:"hidden",whiteSpace:"nowrap"},e.breakpoints.up("sm"),{minHeight:"auto"})),gutters:{},selected:{},dense:Cm({},e.typography.body2,{minHeight:"auto"})}}),{name:"MuiMenuItem"})(zb),Hb=ye.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.label,o=e.labelWidth,s=e.notched,a=e.style,l=Sm(e,["children","classes","className","label","labelWidth","notched","style"]),u="rtl"===Ny().direction?"right":"left";if(void 0!==i)return ye.exports.createElement("fieldset",Cm({"aria-hidden":!0,className:nm(n.root,r),ref:t,style:a},l),ye.exports.createElement("legend",{className:nm(n.legendLabelled,s&&n.legendNotched)},i?ye.exports.createElement("span",null,i):ye.exports.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})));var c=o>0?.75*o+8:.01;return ye.exports.createElement("fieldset",Cm({"aria-hidden":!0,style:Cm(_m({},"padding".concat(Lg(u)),8),a),className:nm(n.root,r),ref:t},l),ye.exports.createElement("legend",{className:n.legend,style:{width:s?c:.01}},ye.exports.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})))})),Vb=Ay((function(e){return{root:{position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden"},legend:{textAlign:"left",padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})},legendLabelled:{display:"block",width:"auto",textAlign:"left",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),"& > span":{paddingLeft:5,paddingRight:5,display:"inline-block"}},legendNotched:{maxWidth:1e3,transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}}),{name:"PrivateNotchedOutline"})(Hb),Wb=ye.exports.forwardRef((function(e,t){var n=e.classes,r=e.fullWidth,i=void 0!==r&&r,o=e.inputComponent,s=void 0===o?"input":o,a=e.label,l=e.labelWidth,u=void 0===l?0:l,c=e.multiline,d=void 0!==c&&c,h=e.notched,p=e.type,f=void 0===p?"text":p,m=Sm(e,["classes","fullWidth","inputComponent","label","labelWidth","multiline","notched","type"]);return ye.exports.createElement(sb,Cm({renderSuffix:function(e){return ye.exports.createElement(Vb,{className:n.notchedOutline,label:a,labelWidth:u,notched:void 0!==h?h:Boolean(e.startAdornment||e.filled||e.focused)})},classes:Cm({},n,{root:nm(n.root,n.underline),notchedOutline:null}),fullWidth:i,inputComponent:s,multiline:d,ref:t,type:f},m))}));Wb.muiName="Input";var Ub=Ay((function(e){var t="light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{root:{position:"relative",borderRadius:e.shape.borderRadius,"&:hover $notchedOutline":{borderColor:e.palette.text.primary},"@media (hover: none)":{"&:hover $notchedOutline":{borderColor:t}},"&$focused $notchedOutline":{borderColor:e.palette.primary.main,borderWidth:2},"&$error $notchedOutline":{borderColor:e.palette.error.main},"&$disabled $notchedOutline":{borderColor:e.palette.action.disabled}},colorSecondary:{"&$focused $notchedOutline":{borderColor:e.palette.secondary.main}},focused:{},disabled:{},adornedStart:{paddingLeft:14},adornedEnd:{paddingRight:14},error:{},marginDense:{},multiline:{padding:"18.5px 14px","&$marginDense":{paddingTop:10.5,paddingBottom:10.5}},notchedOutline:{borderColor:t},input:{padding:"18.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.type?null:"#fff",caretColor:"light"===e.palette.type?null:"#fff",borderRadius:"inherit"}},inputMarginDense:{paddingTop:10.5,paddingBottom:10.5},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiOutlinedInput"})(Wb);function $b(){const[e,t]=ye.exports.useState(),[n,r]=ye.exports.useState(),i=ye.exports.useCallback(e=>{e&&t(e)},[]),o=()=>{const{left:t,top:n,width:i,height:o}=e.getBoundingClientRect();r({left:t,top:n,width:i,height:o})};return ye.exports.useLayoutEffect(()=>{if(e){if("function"==typeof ResizeObserver){let t=new ResizeObserver(o);return t.observe(e),()=>{t.unobserve(e),t.disconnect(e),t=null}}return o(),window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o)}}},[e]),[i,n,e]}function Qb(e){return"large"===e?"20px":"small"===e?"12px":"16px"}function Kb(e){let{size:t,style:r={},viewBox:o="0 0 16 16",shapes:s=[]}=e;const a=n({fontSize:Qb(t),display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},r);return Je.createElement("i",{style:a},Je.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:o,fill:"currentColor"},s.map((e,t)=>{let{type:n,attrs:r}=e;return Je.createElement(n,i({key:t},r))})))}var Zb=e=>Kb((e=>n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M9.41421356,8 L11.8890873,5.52512627 C12.065864,5.34834957 12.0305087,4.95944084 11.8183766,4.74730881 L11.2526912,4.18162338 C11.0405592,3.96949135 10.6516504,3.93413601 10.4748737,4.1109127 L8,6.58578644 L5.52512627,4.1109127 C5.34834957,3.93413601 4.95944084,3.96949135 4.74730881,4.18162338 L4.25233406,4.67659813 C3.96949135,4.95944084 3.93413601,5.34834957 4.1109127,5.52512627 L6.58578644,8 L4.1109127,10.4748737 C3.93413601,10.6516504 3.96949135,11.0405592 4.18162338,11.2526912 L4.67659813,11.7476659 C4.95944084,12.0305087 5.34834957,12.065864 5.52512627,11.8890873 L8,9.41421356 L10.4748737,11.8890873 C10.6516504,12.065864 11.0405592,12.0305087 11.2526912,11.8183766 L11.8183766,11.2526912 C12.0305087,11.0405592 12.065864,10.6516504 11.8890873,10.4748737 L9.41421356,8 Z M8,0 C12.4,0 16,3.6 16,8 C16,12.4 12.4,16 8,16 C3.6,16 0,12.4 0,8 C0,3.6 3.6,0 8,0 Z"}}]}))(e)),Gb=e=>Kb((e=>n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M13,7 L8,7 L13,7 L13,4.98151367 C13,2.23029964 10.7614237,0 8,0 C5.23857625,0 3,2.23029964 3,4.98151367 L3,7 L3.75,7 L3,7 L4.5,7 L4.5,5.33193359 C4.5,3.21561511 5.54860291,1.5 8,1.5 C10.4513971,1.5 11.5,3.21561511 11.5,5.33193359 L11.5,7 L12.25,7 L3,7 C2.44771525,7 2,7.44771525 2,8 L2,15 C2,15.5522847 2.44771525,16 3,16 L13,16 C13.5522847,16 14,15.5522847 14,15 L14,8 C14,7.44771525 13.5522847,7 13,7 L3,7 L13,7 Z"}}]}))(e)),Xb=e=>Kb((e=>n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M2.5,7 L11,7 C11.5522847,7 12,7.44771525 12,8 L12,15 C12,15.5522847 11.5522847,16 11,16 L1,16 C0.44771525,16 0,15.5522847 0,15 L0,8 C0,7.44771525 0.44771525,7 1,7 L1,4.98151367 C1,2.23029964 3.23857625,0 6,0 C8.4241995,0 10.4454541,1.71883353 10.9029715,4 L9.34209114,4 C8.9671727,2.54028848 7.9088888,1.5 6,1.5 C3.54860291,1.5 2.5,3.21561511 2.5,5.33193359 L2.5,7 Z"}}]}))(e));function Jb(){return(Jb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Yb(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ew(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function tw(e,t){var n;void 0===t&&(t=ew);var r,i=[],o=!1;return function(){for(var s=arguments.length,a=new Array(s),l=0;l<s;l++)a[l]=arguments[l];return o&&n===this&&t(a,i)||(r=e.apply(this,a),o=!0,n=this,i=a),r}}var nw="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function rw(e){cancelAnimationFrame(e.id)}var iw=null;function ow(e){if(void 0===e&&(e=!1),null===iw||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),i=r.style;return i.width="100px",i.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?iw="positive-descending":(t.scrollLeft=1,iw=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),iw}return iw}var sw=function(e,t){return e},aw=function(e){var t,n,r=e.getItemOffset,i=e.getEstimatedTotalSize,o=e.getItemSize,s=e.getOffsetForIndexAndAlignment,a=e.getStartIndexForOffset,l=e.getStopIndexForStartIndex,u=e.initInstanceProps,c=e.shouldResetStyleCacheOnItemSizeChange,d=e.validateProps;return n=t=function(e){var t,n;function h(t){var n;return(n=e.call(this,t)||this)._instanceProps=u(n.props,Yb(Yb(n))),n._outerRef=void 0,n._resetIsScrollingTimeoutId=null,n.state={instance:Yb(Yb(n)),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof n.props.initialScrollOffset?n.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},n._callOnItemsRendered=void 0,n._callOnItemsRendered=tw((function(e,t,r,i){return n.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:r,visibleStopIndex:i})})),n._callOnScroll=void 0,n._callOnScroll=tw((function(e,t,r){return n.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:r})})),n._getItemStyle=void 0,n._getItemStyle=function(e){var t,i=n.props,s=i.direction,a=i.layout,l=n._getItemStyleCache(c&&i.itemSize,c&&a,c&&s);if(l.hasOwnProperty(e))t=l[e];else{var u=r(n.props,e,n._instanceProps),d=o(n.props,e,n._instanceProps),h="horizontal"===s||"horizontal"===a,p="rtl"===s,f=h?u:0;l[e]=t={position:"absolute",left:p?void 0:f,right:p?f:void 0,top:h?0:u,height:h?"100%":d,width:h?d:"100%"}}return t},n._getItemStyleCache=void 0,n._getItemStyleCache=tw((function(e,t,n){return{}})),n._onScrollHorizontal=function(e){var t=e.currentTarget,r=t.clientWidth,i=t.scrollLeft,o=t.scrollWidth;n.setState((function(e){if(e.scrollOffset===i)return null;var t=i;if("rtl"===n.props.direction)switch(ow()){case"negative":t=-i;break;case"positive-descending":t=o-r-i}return t=Math.max(0,Math.min(t,o-r)),{isScrolling:!0,scrollDirection:e.scrollOffset<i?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._onScrollVertical=function(e){var t=e.currentTarget,r=t.clientHeight,i=t.scrollHeight,o=t.scrollTop;n.setState((function(e){if(e.scrollOffset===o)return null;var t=Math.max(0,Math.min(o,i-r));return{isScrolling:!0,scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._outerRefSetter=function(e){var t=n.props.outerRef;n._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},n._resetIsScrollingDebounced=function(){var e,t,r;null!==n._resetIsScrollingTimeoutId&&rw(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=(e=n._resetIsScrolling,t=nw(),r={id:requestAnimationFrame((function n(){nw()-t>=150?e.call(null):r.id=requestAnimationFrame(n)}))})},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1,null)}))},n}n=e,(t=h).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,h.getDerivedStateFromProps=function(e,t){return d(e),null};var p=h.prototype;return p.scrollTo=function(e){e=Math.max(0,e),this.setState((function(t){return t.scrollOffset===e?null:{scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!0}}),this._resetIsScrollingDebounced)},p.scrollToItem=function(e,t){void 0===t&&(t="auto");var n=this.state.scrollOffset;e=Math.max(0,Math.min(e,this.props.itemCount-1)),this.scrollTo(s(this.props,e,t,n,this._instanceProps))},p.componentDidMount=function(){var e=this.props,t=e.initialScrollOffset;if("number"==typeof t&&null!=this._outerRef){var n=this._outerRef;"horizontal"===e.direction||"horizontal"===e.layout?n.scrollLeft=t:n.scrollTop=t}this._callPropsCallbacks()},p.componentDidUpdate=function(){var e=this.props,t=e.direction,n=this.state,r=n.scrollOffset;if(n.scrollUpdateWasRequested&&null!=this._outerRef){var i=this._outerRef;if("horizontal"===t||"horizontal"===e.layout)if("rtl"===t)switch(ow()){case"negative":i.scrollLeft=-r;break;case"positive-ascending":i.scrollLeft=r;break;default:i.scrollLeft=i.scrollWidth-i.clientWidth-r}else i.scrollLeft=r;else i.scrollTop=r}this._callPropsCallbacks()},p.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&rw(this._resetIsScrollingTimeoutId)},p.render=function(){var e=this.props,t=e.children,n=e.className,r=e.direction,o=e.height,s=e.innerRef,a=e.innerElementType,l=e.innerTagName,u=e.itemCount,c=e.itemData,d=e.itemKey,h=void 0===d?sw:d,p=e.outerElementType,f=e.outerTagName,m=e.style,y=e.useIsScrolling,g=e.width,v=this.state.isScrolling,b="horizontal"===r||"horizontal"===e.layout,w=b?this._onScrollHorizontal:this._onScrollVertical,E=this._getRangeToRender(),x=E[1],_=[];if(u>0)for(var S=E[0];S<=x;S++)_.push(ye.exports.createElement(t,{data:c,key:h(S,c),index:S,isScrolling:y?v:void 0,style:this._getItemStyle(S)}));var C=i(this.props,this._instanceProps);return ye.exports.createElement(p||f||"div",{className:n,onScroll:w,ref:this._outerRefSetter,style:Jb({position:"relative",height:o,width:g,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:r},m)},ye.exports.createElement(a||l||"div",{children:_,ref:s,style:{height:b?"100%":C,pointerEvents:v?"none":void 0,width:b?C:"100%"}}))},p._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender();this._callOnItemsRendered(e[0],e[1],e[2],e[3])}if("function"==typeof this.props.onScroll){var t=this.state;this._callOnScroll(t.scrollDirection,t.scrollOffset,t.scrollUpdateWasRequested)}},p._getRangeToRender=function(){var e=this.props,t=e.itemCount,n=e.overscanCount,r=this.state,i=r.isScrolling,o=r.scrollDirection,s=r.scrollOffset;if(0===t)return[0,0,0,0];var u=a(this.props,s,this._instanceProps),c=l(this.props,u,s,this._instanceProps),d=i&&"backward"!==o?1:Math.max(1,n),h=i&&"forward"!==o?1:Math.max(1,n);return[Math.max(0,u-d),Math.max(0,Math.min(t-1,c+h)),u,c]},h}(ye.exports.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},n}({getItemOffset:function(e,t){return t*e.itemSize},getItemSize:function(e,t){return e.itemSize},getEstimatedTotalSize:function(e){return e.itemSize*e.itemCount},getOffsetForIndexAndAlignment:function(e,t,n,r){var i=e.itemSize,o="horizontal"===e.direction||"horizontal"===e.layout?e.width:e.height,s=Math.max(0,e.itemCount*i-o),a=Math.min(s,t*i),l=Math.max(0,t*i-o+i);switch("smart"===n&&(n=r>=l-o&&r<=a+o?"auto":"center"),n){case"start":return a;case"end":return l;case"center":var u=Math.round(l+(a-l)/2);return u<Math.ceil(o/2)?0:u>s+Math.floor(o/2)?s:u;case"auto":default:return r>=l&&r<=a?r:r<l?l:a}},getStartIndexForOffset:function(e,t){return Math.max(0,Math.min(e.itemCount-1,Math.floor(t/e.itemSize)))},getStopIndexForStartIndex:function(e,t,n){var r=e.itemCount,i=e.itemSize,o=Math.ceil((("horizontal"===e.direction||"horizontal"===e.layout?e.width:e.height)+n-t*i)/i);return Math.max(0,Math.min(r-1,t+o-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){}}),lw=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},uw=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),cw=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},dw=function(e){function t(){var e,n,r;lw(this,t);for(var i=arguments.length,o=Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=r=cw(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),r._lastRenderedStartIndex=-1,r._lastRenderedStopIndex=-1,r._memoizedUnloadedRanges=[],r._onItemsRendered=function(e){var t=e.visibleStartIndex,n=e.visibleStopIndex;r._lastRenderedStartIndex=t,r._lastRenderedStopIndex=n,r._ensureRowsLoaded(t,n)},r._setRef=function(e){r._listRef=e},cw(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),uw(t,[{key:"resetloadMoreItemsCache",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._memoizedUnloadedRanges=[],e&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){}},{key:"render",value:function(){return(0,this.props.children)({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(e,t){var n=this.props,r=n.itemCount,i=n.minimumBatchSize,o=n.threshold,s=void 0===o?15:o,a=function(e){for(var t=e.isItemLoaded,n=e.itemCount,r=e.minimumBatchSize,i=e.stopIndex,o=[],s=null,a=null,l=e.startIndex;l<=i;l++)t(l)?null!==a&&(o.push(s,a),s=a=null):(a=l,null===s&&(s=l));if(null!==a){for(var u=Math.min(Math.max(a,s+r-1),n-1),c=a+1;c<=u&&!t(c);c++)a=c;o.push(s,a)}if(o.length)for(;o[1]-o[0]+1<r&&o[0]>0;){var d=o[0]-1;if(t(d))break;o[0]=d}return o}({isItemLoaded:n.isItemLoaded,itemCount:r,minimumBatchSize:void 0===i?10:i,startIndex:Math.max(0,e-s),stopIndex:Math.min(r-1,t+s)});(this._memoizedUnloadedRanges.length!==a.length||this._memoizedUnloadedRanges.some((function(e,t){return a[t]!==e})))&&(this._memoizedUnloadedRanges=a,this._loadUnloadedRanges(a))}},{key:"_loadUnloadedRanges",value:function(e){for(var t=this,n=this.props.loadMoreItems||this.props.loadMoreRows,r=function(r){var i=e[r],o=e[r+1],s=n(i,o);null!=s&&s.then((function(){if(function(e){return!(e.startIndex>e.lastRenderedStopIndex||e.stopIndex<e.lastRenderedStartIndex)}({lastRenderedStartIndex:t._lastRenderedStartIndex,lastRenderedStopIndex:t._lastRenderedStopIndex,startIndex:i,stopIndex:o})){if(null==t._listRef)return;"function"==typeof t._listRef.resetAfterIndex?t._listRef.resetAfterIndex(i,!0):("function"==typeof t._listRef._getItemStyleCache&&t._listRef._getItemStyleCache(-1),t._listRef.forceUpdate())}}))},i=0;i<e.length;i+=2)r(i)}}]),t}(ye.exports.PureComponent);const hw=e=>n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M6,10 L13,3 L15,5 L8,12 L6,14 L1,9 L3,7 L6,10 Z"}}]});var pw=e=>Kb(hw(e));const fw=em(e=>({row:{flexWrap:"nowrap",borderBottom:"1px solid ".concat(e.palette.divider),"&:focus":{boxShadow:"inset 0 0 0 2px ".concat(e.palette.custom.focusOutline),outline:"none"}},cell:{padding:"8px","& span":{whiteSpace:"nowrap",fontSize:"12px",lineHeight:"16px"},overflow:"hidden",textOverflow:"ellipsis"},icon:{padding:e.spacing(1)},S:{background:e.palette.selected.main,color:e.palette.selected.mainContrastText,"&:focus":{boxShadow:"inset 0 0 0 2px rgba(0, 0, 0, 0.3)",outline:"none"}},A:{background:e.palette.selected.alternative,color:e.palette.selected.alternativeContrastText},X:{background:e.palette.selected.excluded,color:e.palette.selected.excludedContrastText},highlighted:{backgroundColor:"#FFC72A"}}));function mw(e){let{index:t,style:n,data:r}=e;const i=fw(),o=[i.row];let s="";const{onClick:a,pages:l}=r;let u;if(l){const e=l.filter(e=>e.qArea.qTop<=t&&t<e.qArea.qTop+e.qArea.qHeight)[0];if(e){const n=e.qArea;t>=n.qTop&&t<n.qTop+n.qHeight&&([u]=e.qMatrix[t-n.qTop])}}let c=!1,d=!1;u&&(s=u.qText,c="L"===u.qState||"XL"===u.qState,d="S"===u.qState||"XS"===u.qState,"S"===u.qState||"L"===u.qState?o.push(i.S):"A"===u.qState?o.push(i.A):"X"!==u.qState&&"XS"!==u.qState&&"XL"!==u.qState||o.push(i.X));const h=u&&u.qHighlightRanges&&u.qHighlightRanges.qRanges.sort((e,t)=>e.qCharPos-t.qCharPos)||[],p=h.reduce((e,t,n)=>{t.qCharPos>0&&0===n&&e.push([s.slice(0,t.qCharPos)]);const r=h[n-1];return r&&e.push([s.slice(r.qCharPos+r.qCharPos+1,t.qCharPos)]),e.push([s.slice(t.qCharPos,t.qCharPos+t.qCharCount),i.highlighted]),n===h.length-1&&t.qCharPos+t.qCharCount<s.length&&e.push([s.slice(t.qCharPos+t.qCharCount)]),e},[]);return Je.createElement(db,{container:!0,spacing:0,className:o.join(" ").trim(),style:n,onClick:a,role:"row",tabIndex:0,"data-n":u&&u.qElemNumber},Je.createElement(db,{item:!0,style:{minWidth:0,flexGrow:1},className:i.cell,title:"".concat(s)},0===h.length?Je.createElement(Lv,{component:"span",noWrap:!0,color:"inherit"},"".concat(s)):p.map((e,t)=>{let[n,r]=e;return Je.createElement(Lv,{component:"span",key:t,className:r,noWrap:!0},n)})),Je.createElement(db,{item:!0,className:i.icon},c&&Je.createElement(Gb,{size:"small"}),d&&Je.createElement(pw,{size:"small"})))}const yw=em(e=>({column:{flexWrap:"nowrap",borderRight:"1px solid ".concat(e.palette.divider),"&:focus":{boxShadow:"inset 0 0 0 2px ".concat(e.palette.custom.focusOutline),outline:"none"}},cell:{padding:"8px","& span":{whiteSpace:"nowrap",fontSize:"12px",lineHeight:"16px"},overflow:"hidden",textOverflow:"ellipsis"},icon:{padding:e.spacing(1)},S:{background:e.palette.selected.main,color:e.palette.selected.mainContrastText,"&:focus":{boxShadow:"inset 0 0 0 2px rgba(0, 0, 0, 0.3)",outline:"none"}},A:{background:e.palette.selected.alternative,color:e.palette.selected.alternativeContrastText},X:{background:e.palette.selected.excluded,color:e.palette.selected.excludedContrastText},highlighted:{backgroundColor:"#FFC72A"}}));function gw(e){let{index:t,style:n,data:r}=e;const i=yw(),o=[i.column];let s="";const{onClick:a,pages:l}=r;let u;if(l){const e=l.filter(e=>e.qArea.qTop<=t&&t<e.qArea.qTop+e.qArea.qHeight)[0];if(e){const n=e.qArea;t>=n.qTop&&t<n.qTop+n.qHeight&&([u]=e.qMatrix[t-n.qTop])}}let c=!1,d=!1;u&&(s=u.qText,c="L"===u.qState||"XL"===u.qState,d="S"===u.qState||"XS"===u.qState,"S"===u.qState||"L"===u.qState?o.push(i.S):"A"===u.qState?o.push(i.A):"X"!==u.qState&&"XS"!==u.qState&&"XL"!==u.qState||o.push(i.X));const h=u&&u.qHighlightRanges&&u.qHighlightRanges.qRanges.sort((e,t)=>e.qCharPos-t.qCharPos)||[],p=h.reduce((e,t,n)=>{t.qCharPos>0&&0===n&&e.push([s.slice(0,t.qCharPos)]);const r=h[n-1];return r&&e.push([s.slice(r.qCharPos+r.qCharPos+1,t.qCharPos)]),e.push([s.slice(t.qCharPos,t.qCharPos+t.qCharCount),i.highlighted]),n===h.length-1&&t.qCharPos+t.qCharCount<s.length&&e.push([s.slice(t.qCharPos+t.qCharCount)]),e},[]);return Je.createElement(db,{container:!0,spacing:0,className:o.join(" ").trim(),style:n,onClick:a,alignItems:"center",role:"row",tabIndex:0,"data-n":u&&u.qElemNumber},Je.createElement(db,{item:!0,style:{minWidth:0,flexGrow:1},className:i.cell,title:"".concat(s)},0===h.length?Je.createElement(Lv,{component:"span",noWrap:!0,color:"inherit"},"".concat(s)):p.map((e,t)=>{let[n,r]=e;return Je.createElement(Lv,{component:"span",key:t,className:r,noWrap:!0},n)})),Je.createElement(db,{item:!0,className:i.icon},c&&Je.createElement(Gb,{size:"small"}),d&&Je.createElement(pw,{size:"small"})))}function vw(e){let{model:t,selections:n,direction:r,height:i,width:o,listLayout:s="vertical"}=e;const[a]=dg(t),[l,u]=ye.exports.useState(null),c=ye.exports.useRef(null),d=ye.exports.useRef({queue:[],validPages:!1}),h=ye.exports.useRef({pages:[]}),p=ye.exports.useCallback(e=>{if(a&&a.qListObject.qDimensionInfo.qLocked)return;const t=+e.currentTarget.getAttribute("data-n");Number.isNaN(t)||n.select({method:"selectListObjectValues",params:["/qListObjectDef",[t],!a.qListObject.qDimensionInfo.qIsOneAndOnlyOne]})},[t,a&&!!a.qListObject.qDimensionInfo.qLocked,a&&!!a.qListObject.qDimensionInfo.qIsOneAndOnlyOne]),f=ye.exports.useCallback(e=>{if(!l||!d.current.validPages)return!1;d.current.checkIdx=e;const t=l.filter(t=>t.qArea.qTop<=e&&e<t.qArea.qTop+t.qArea.qHeight)[0];return t&&t.qArea.qTop<=e&&e<t.qArea.qTop+t.qArea.qHeight},[a,l]),m=ye.exports.useCallback((e,n)=>{d.current.queue.push({start:e,stop:n});const r=!!c.current&&c.current._listRef.state.isScrolling;return d.current.queue.length>10&&d.current.queue.shift(),clearTimeout(d.current.timeout),new Promise(e=>{d.current.timeout=setTimeout(()=>{const n=d.current.queue.slice(-2).sort((e,t)=>e.start-t.start);t.getListObjectData("/qListObjectDef",n.map(e=>({qTop:e.start,qHeight:e.stop-e.start+1,qLeft:0,qWidth:1}))).then(t=>{d.current.validPages=!0,h.current.pages=t,u(t),e()})},r?500:0)})},[a]);if(ye.exports.useEffect(()=>{if(d.current.queue=[],d.current.validPages=!1,c.current){if(c.current.resetloadMoreItemsCache(!0),a&&a.qSelectionInfo.qInSelections)return;c.current._listRef.scrollToItem(0)}},[a]),!a)return null;const y="horizontal"!==s,g=a.qListObject.qSize.qcy,v=y?33:200,b=i||8*v;return Je.createElement(dw,{isItemLoaded:f,itemCount:g,loadMoreItems:m,threshold:0,minimumBatchSize:100,ref:c},e=>{let{onItemsRendered:t,ref:n}=e;return d.current.listRef=n,Je.createElement(aw,{direction:r,useIsScrolling:!0,style:{},height:b,width:o,itemCount:g,layout:s,itemData:{onClick:p,pages:l},itemSize:v,onItemsRendered:t,ref:n},y?mw:gw)})}const bw=e=>n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M15.4,9 C15.8,9 16,9.3 16,9.6 L16,15.4 C16,15.7 15.8,16 15.4,16 L9.6,16 C9.3,16 9,15.8 9,15.4 L9,9.6 C9,9.3 9.3,9 9.6,9 L15.4,9 Z M15,10 L10,10 L10,15 L15,15 L15,10 Z M6.5,0 C6.8,0 7,0.3 7,0.6 L7,6.4 C7,6.8 6.8,7 6.5,7 L0.6,7 C0.3,7 0,6.8 0,6.5 L0,0.6 C0,0.3 0.3,0 0.6,0 L6.5,0 Z M6,2.8 C6.3,2.5 6.3,2.1 6.1,1.8 C5.9,1.5 5.4,1.6 5.1,1.9 L3.1,3.9 L2.4,3.2 C2.1,2.9 1.7,2.9 1.4,3.1 C1.2,3.3 1.2,3.8 1.5,4.1 L2.7,5.3 C3,5.6 3.4,5.6 3.7,5.3 L3.8,5.3 L6,2.8 Z M6.5,9 C6.8,9 7,9.3 7,9.6 L7,15.4 C7,15.8 6.8,16 6.5,16 L0.6,16 C0.3,16 0,15.8 0,15.4 L0,9.6 C0,9.3 0.3,9 0.6,9 L6.5,9 Z M6,11.8 C6.3,11.5 6.3,11.1 6.1,10.8 C5.9,10.6 5.4,10.6 5.1,10.8 L3.1,12.8 L2.3,12 C2,11.7 1.6,11.7 1.3,12 C1.1,12.3 1.1,12.7 1.4,13 L2.6,14.2 C2.9,14.5 3.3,14.5 3.6,14.3 L3.7,14.2 L6,11.8 Z M15.4,0 C15.8,0 16,0.3 16,0.6 L16,6.4 C16,6.8 15.8,7 15.4,7 L9.6,7 C9.3,7 9,6.8 9,6.5 L9,0.6 C9,0.3 9.3,0 9.6,0 L15.4,0 Z M15,2.8 C15.3,2.5 15.3,2.1 15.1,1.8 C14.9,1.5 14.4,1.6 14.1,1.9 L12.1,3.9 L11.3,3.1 C11,2.8 10.6,2.8 10.3,3 C10,3.2 10.1,3.7 10.3,4 L11.5,5.2 C11.8,5.5 12.2,5.5 12.5,5.2 L15,2.8 Z"}}]}),ww=e=>n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,4 L4,12 L12,4 L4,4 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]}),Ew=e=>n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,4 L4,12 L12,12 L12,4 L4,4 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]}),xw=e=>n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]});var _w=e=>{let{layout:t,model:n,translator:r}=e;return[{key:"selectAll",type:"menu-icon-button",label:r.get("Selection.SelectAll"),getSvgIconShape:bw,enabled:()=>["qOption","qAlternative","qExcluded","qDeselected"].some(e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0),action:()=>{n.selectListObjectAll("/qListObjectDef")}},{key:"selectPossible",type:"menu-icon-button",label:r.get("Selection.SelectPossible"),getSvgIconShape:Ew,enabled:()=>["qOption"].some(e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0),action:()=>{n.selectListObjectPossible("/qListObjectDef")}},{key:"selectAlternative",type:"menu-icon-button",label:r.get("Selection.SelectAlternative"),getSvgIconShape:ww,enabled:()=>["qAlternative"].some(e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0),action:()=>{n.selectListObjectAlternative("/qListObjectDef")}},{key:"selectExcluded",type:"menu-icon-button",label:r.get("Selection.SelectExcluded"),getSvgIconShape:xw,enabled:()=>["qAlternative","qExcluded"].some(e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0),action:()=>{n.selectListObjectExcluded("/qListObjectDef")}}]};const Sw=e=>n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M2,6.5 L3,6.5 C3.55228475,6.5 4,6.94771525 4,7.5 L4,8.5 C4,9.05228475 3.55228475,9.5 3,9.5 L2,9.5 C1.44771525,9.5 1,9.05228475 1,8.5 L1,7.5 C1,6.94771525 1.44771525,6.5 2,6.5 Z M7.5,6.5 L8.5,6.5 C9.05228475,6.5 9.5,6.94771525 9.5,7.5 L9.5,8.5 C9.5,9.05228475 9.05228475,9.5 8.5,9.5 L7.5,9.5 C6.94771525,9.5 6.5,9.05228475 6.5,8.5 L6.5,7.5 C6.5,6.94771525 6.94771525,6.5 7.5,6.5 Z M13,6.5 L14,6.5 C14.5522847,6.5 15,6.94771525 15,7.5 L15,8.5 C15,9.05228475 14.5522847,9.5 14,9.5 L13,9.5 C12.4477153,9.5 12,9.05228475 12,8.5 L12,7.5 C12,6.94771525 12.4477153,6.5 13,6.5 Z"}}]});function Cw(e){const t=Ff(),n="function"==typeof e.enabled?!e.enabled():!!e.disabled;return{hidden:!0===e.hidden,disabled:n,style:{backgroundColor:e.active?t.palette.btn.active:void 0},hasSvgIconShape:"function"==typeof e.getSvgIconShape}}const kw=Je.forwardRef((e,t)=>{let{item:n,addAnchor:r=!1}=e;const i=Ff(),{hidden:o,disabled:s,style:a,hasSvgIconShape:l}=Cw(n);if(o)return null;const u=n.keyboardAction?e=>["Enter"," ","Spacebar"].includes(e.key)&&n.keyboardAction():null;return Je.createElement(xv,{ref:r?null:t,title:n.label,onClick:n.action,onKeyDown:u,disabled:s,style:a,className:"njs-cell-action"},l&&Kb(n.getSvgIconShape()),r&&Je.createElement("div",{ref:t,style:{bottom:-i.spacing(.5),right:0,position:"absolute",width:"100%",height:0}}))}),Tw=e=>n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M9.34535242,8 L13.3273238,11.9819714 C13.6988326,12.3534802 13.6988326,12.955815 13.3273238,13.3273238 C12.955815,13.6988326 12.3534802,13.6988326 11.9819714,13.3273238 L8,9.34535242 L4.01802863,13.3273238 C3.64651982,13.6988326 3.04418502,13.6988326 2.67267621,13.3273238 C2.3011674,12.955815 2.3011674,12.3534802 2.67267621,11.9819714 L6.65464758,8 L2.67267621,4.01802863 C2.3011674,3.64651982 2.3011674,3.04418502 2.67267621,2.67267621 C3.04418502,2.3011674 3.64651982,2.3011674 4.01802863,2.67267621 L8,6.65464758 L11.9819714,2.67267621 C12.3534802,2.3011674 12.955815,2.3011674 13.3273238,2.67267621 C13.6988326,3.04418502 13.6988326,3.64651982 13.3273238,4.01802863 L9.34535242,8 Z"}}]}),Ow=e=>n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 L6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 L10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 L3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 L0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 L0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 L0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 L3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 L0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 L6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 L10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 L13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 L15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M9.1661442,6.1661442 C10.7210031,4.61128527 13.2789969,4.61128527 14.8338558,6.1661442 C16.3887147,7.72100313 16.3887147,10.2789969 14.8338558,11.8338558 C13.2789969,13.3887147 10.7210031,13.3887147 9.1661442,11.8338558 C7.61128527,10.2789969 7.61128527,7.77115987 9.1661442,6.1661442 Z M14.1316614,7.72100313 C14.3322884,7.52037618 14.3824451,7.169279 14.1316614,6.9184953 C13.8808777,6.6677116 13.5297806,6.71786834 13.3291536,6.9184953 L12.0250784,8.22257053 L10.7210031,6.9184953 C10.5203762,6.6677116 10.1191223,6.6677116 9.9184953,6.9184953 C9.6677116,7.11912226 9.6677116,7.52037618 9.9184953,7.72100313 L11.2225705,9.02507837 L9.9184953,10.3291536 C9.6677116,10.5297806 9.6677116,10.8808777 9.9184953,11.1316614 C10.169279,11.3824451 10.5203762,11.3824451 10.7210031,11.1316614 L12.0250784,9.82758621 L13.3291536,11.1316614 C13.5297806,11.3824451 13.8808777,11.3824451 14.1316614,11.1316614 C14.3322884,10.9310345 14.3824451,10.5297806 14.1316614,10.3291536 L12.8275862,9.02507837 L14.1316614,7.72100313 Z"}}]});var Lw=e=>Kb(Ow(e));const Iw=Py(e=>({icon:{color:e.palette.text.primary}})),Rw=e=>{let{item:t,onActionClick:n=(()=>{})}=e;const{hidden:r,disabled:i,hasSvgIconShape:o}=Cw(t),{icon:s}=Iw();return r?null:Je.createElement(Bb,{title:t.label,onClick:()=>{t.action(),n()},disabled:i},o&&Je.createElement(Tb,{className:s},Kb(t.getSvgIconShape())),Je.createElement(Lv,{noWrap:!0},t.label))},Pw=Je.forwardRef((e,t)=>{let{actions:r=[],show:o=!0,alignTo:s,popoverProps:a={},popoverPaperStyle:l={},onCloseOrActionClick:u=(()=>{})}=e;return r.length>0&&Je.createElement(Nb,i({},a,{onClose:u,ref:t,open:o,anchorEl:s.current,getContentAnchorEl:null,container:s.current,disablePortal:!0,hideBackdrop:!0,style:{pointerEvents:"none"},transitionDuration:0,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},PaperProps:{style:n({pointerEvents:"auto",maxWidth:"250px"},l)}}),Je.createElement(Fb,null,r.map((e,t)=>Je.createElement(Rw,{key:t,item:e,onActionClick:u}))))}),Nw=Py(e=>({itemSpacing:{padding:e.spacing(0,.5)},firstItemSpacing:{padding:e.spacing(0,.5,0,0)},lastItemSpacing:{padding:e.spacing(0,0,0,.5)}})),Aw=Je.forwardRef((e,t)=>{let{actions:n=[],first:r=!1,last:i=!1,addAnchor:o=!1}=e;const{itemSpacing:s,firstItemSpacing:a,lastItemSpacing:l}=Nw();return n.length>0?Je.createElement(db,{item:!0,container:!0,spacing:0,wrap:"nowrap"},n.map((e,u)=>{let c=[];const d=r&&0===u,h=i&&n.length-1===u;return d&&!h&&(c=[a]),h&&!d&&(c=[...c,l]),d||h||0!==c.length||(c=[s]),Je.createElement(db,{item:!0,key:e.key,className:c.join(" ").trim()},Je.createElement(kw,{key:e.key,item:e,ref:0===u?t:null,addAnchor:o}))})):null}),Dw={pointerEvents:"none"},Mw={vertical:"top",horizontal:"right"},qw={vertical:"bottom",horizontal:"right"},jw=e=>{let{show:t=!0,actions:n=[],maxItems:r=3,selections:i={show:!1,api:null,onConfirm:()=>{},onCancel:()=>{}},more:o={enabled:!1,actions:[],alignTo:null,popoverProps:{},popoverPaperStyle:{}},popover:s={show:!1,anchorEl:null},focusHandler:a=null,actionsRefMock:l=null}=e;const u=function(e){let{api:t,onConfirm:n=(()=>{}),onCancel:r=(()=>{}),onKeyDeactivate:i=(()=>{})}=e;const{translator:o}=ye.exports.useContext(Qy);return[{key:"clear",type:"icon-button",label:o.get("Selection.Clear"),enabled:()=>t.canClear(),action:()=>t.clear(),getSvgIconShape:Ow},{key:"cancel",type:"icon-button",label:o.get("Selection.Cancel"),enabled:()=>t.canCancel(),action:()=>{r(),t.cancel()},keyboardAction:e=>{i(e),r(),t.cancel()},getSvgIconShape:Tw},{key:"confirm",type:"icon-button",label:o.get("Selection.Confirm"),enabled:()=>t.canConfirm(),action:()=>{n(),t.confirm()},keyboardAction:e=>{i(e),n(),t.confirm()},getSvgIconShape:hw}]}(i),{itemSpacing:c}=Nw(),{translator:d,keyboardNavigation:h}=ye.exports.useContext(Qy),[p,f]=ye.exports.useState(!1),[m,y]=ye.exports.useState(o.enabled),[g,v]=ye.exports.useState(o.actions),[b,w]=ye.exports.useState(o.alignTo),E=ye.exports.useRef(),x=ye.exports.useRef(),_=Ff(),S=ye.exports.useMemo(()=>({margin:_.spacing(.5,0)})),C=e=>{const t=x.current||l;if(!t)return null;const n=t.querySelectorAll("button:not(.Mui-disabled)");return n[e?n.length-1:0]};ye.exports.useEffect(()=>()=>f(!1),[s.show]),ye.exports.useEffect(()=>{y(o.enabled)},[o.enabled]),ye.exports.useEffect(()=>{a&&(a.on("focus_toolbar_first",()=>{const e=C(!1);e&&e.focus()}),a.on("focus_toolbar_last",()=>{const e=C(!0);e&&e.focus()}))},[]);const k=ye.exports.useMemo(()=>n.filter(e=>!e.hidden),[n]);if(!i.show&&0===k.length)return null;const T={key:"more",label:d.get("Menu.More"),getSvgIconShape:Sw,hidden:!1,enabled:()=>m,action:()=>f(!p)};if(k.length>r){const e=k.splice(-(k.length-r)-1);y(!0),v([...e,...o.actions]),w(E)}const O=k.length>0,L=g.length>0,I=O&&i.show||L&&i.show,R=Je.createElement(db,{ref:x,onKeyDown:h&&a&&a.refocusContent?e=>{"Tab"===e.key&&(e.shiftKey&&C(!1)===e.target||!e.shiftKey&&C(!0)===e.target)&&(e.preventDefault(),e.stopPropagation(),a.refocusContent())}:null,container:!0,spacing:0,wrap:"nowrap"},O&&Je.createElement(Aw,{actions:k,first:!0,last:!L&&!i.show}),L&&Je.createElement(Aw,{ref:E,actions:[T],first:!O,last:!i.show,addAnchor:!0}),I&&Je.createElement(db,{item:!0,className:c,style:S},Je.createElement(Jv,{orientation:"vertical"})),i.show&&Je.createElement(Aw,{actions:u,first:!O&&!L,last:!0}),p&&Je.createElement(Pw,{show:p,actions:g,alignTo:b,popoverProps:o.popoverProps,popoverPaperStyle:o.popoverPaperStyle,onCloseOrActionClick:()=>{f(!1)}}));return s.show?Je.createElement(Nb,{disableEnforceFocus:!0,disableAutoFocus:!0,disableRestoreFocus:!0,open:s.show,anchorEl:s.anchorEl,anchorOrigin:Mw,transformOrigin:qw,hideBackdrop:!0,style:Dw,PaperProps:{className:"njs-action-toolbar-popover",style:{pointerEvents:"auto",padding:_.spacing(1,1)}}},R):t&&R};var Fw=e=>Kb((e=>n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M15.7873809,13.80959 C16.1870614,14.209868 15.9872212,15.1104934 15.4876205,15.5107714 C15.08794,15.9110493 14.1886588,16.2112578 13.7889782,15.8109798 L11.0911347,13.1091035 L10.9912145,12.5086866 L10.2917736,11.8082001 C9.19265216,12.5086866 7.89369045,13.0090341 6.49480859,13.0090341 C2.89768383,13.0090341 0,10.1070188 0,6.50451703 C0,2.90201529 2.89768383,0 6.49480859,0 C10.0919334,0 12.9896172,2.90201529 12.9896172,6.50451703 C12.9896172,7.90548992 12.4900165,9.20639333 11.7905756,10.3071577 L12.4900165,11.0076442 L13.0895373,11.1077137 L15.7873809,13.80959 Z M11.2909749,6.50451703 C11.2909749,5.20361362 10.7913743,4.00277971 9.89209309,3.00208478 C8.9928119,2.10145935 7.79377031,1.60111188 6.49480859,1.60111188 C5.19584688,1.60111188 3.99680529,2.10145935 2.99760397,3.00208478 C2.09832278,4.00277971 1.59872212,5.20361362 1.59872212,6.50451703 C1.59872212,7.80542043 2.09832278,9.00625434 2.99760397,9.90687978 C3.89688516,10.8075052 5.09592674,11.3078527 6.49480859,11.3078527 C7.79377031,11.4079222 8.9928119,10.9075747 9.89209309,9.90687978 C10.7913743,9.00625434 11.2909749,7.80542043 11.2909749,6.50451703 Z"}}]}))(e));const zw=em(e=>({root:{"& fieldset":{borderRadius:0,borderColor:"".concat(e.palette.divider," transparent")}}})),Bw="/qListObjectDef";function Hw(e){let{model:t,autoFocus:n=!0}=e;const{translator:r}=ye.exports.useContext(Qy),[i,o]=ye.exports.useState(""),s=zw();return Je.createElement(Ub,{startAdornment:Je.createElement(bb,{position:"start"},Je.createElement(Fw,null)),className:[s.root].join(" "),autoFocus:n,margin:"dense",fullWidth:!0,placeholder:r.get("Listbox.Search"),value:i,onChange:e=>{o(e.target.value),t.searchListObjectFor(Bw,e.target.value)},onKeyDown:e=>{switch(e.key){case"Enter":t.acceptListObjectSearch(Bw,!0),o("");break;case"Escape":t.abortListObjectSearch(Bw)}}})}function Vw(e){return Object.keys(p.prototype).forEach(t=>{e[t]=p.prototype[t]}),p.init(e),e}function Ww(e,t){const[n]=Cg(e),[r]=dg(t),i=t?t.id:null,[o]=bg(),[s]=Eg(),a=o.get(e.id);let l=s.get(i);return ye.exports.useEffect(()=>{n&&t&&!l&&(l=function(e){let t,{appSelections:n,appModal:r,model:i}=e,o=!1,s=!1;const a={id:i.id,setLayout(e){t=e},begin(e){const t=(()=>{let e=!1;return{isPrevented:()=>e,preventDefault:()=>{e=!0}}})();return this.emit("activate",t),t.isPrevented()?Promise.resolve():(o=!0,this.emit("activated"),r.begin(i,e,!0))},clear(){return s=!1,this.emit("cleared"),t.qListObject?i.clearSelections("/qListObjectDef"):i.resetMadeSelections()},confirm(){return s=!1,o=!1,this.emit("confirmed"),this.emit("deactivated"),r.end(!0)},cancel(){return s=!1,o=!1,this.emit("canceled"),this.emit("deactivated"),r.end(!1)},async select(e){const t=this.begin([e.params[0]]);if(!n.isModal())return!1;await t;const r=await i[e.method](...e.params);return s="resetMadeSelections"!==e.method,!!r||(i.resetMadeSelections(),!1)},canClear:()=>t&&t.qListObject&&t.qListObject.qDimensionInfo?!t.qListObject.qDimensionInfo.qLocked:s,canConfirm:()=>t&&t.qListObject&&t.qListObject.qDimensionInfo?!t.qListObject.qDimensionInfo.qLocked:s,canCancel:()=>!(t&&t.qListObject&&t.qListObject.qDimensionInfo&&t.qListObject.qDimensionInfo.qLocked),isActive:()=>o,isModal:()=>n.isModal(i),goModal:e=>r.begin(i,e,!1),noModal:function(){return r.end(arguments.length>0&&void 0!==arguments[0]&&arguments[0])}};return Vw(a),a}({appSelections:n,appModal:a,model:t}),s.set(i,l),s.dispatch(!0))},[n,t]),ye.exports.useEffect(()=>{l&&l.setLayout(r)},[l,r]),[l]}function Uw(e){let{alignTo:t,show:n,close:r,app:i,fieldName:o,stateName:s="$"}=e;const a=n&&Boolean(t.current),l=Ff(),[u]=pg({qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:s,qShowAlternatives:!0,qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}],qFieldDefs:[o]}}},i,o,s),c=ye.exports.useCallback(()=>{u.lock("/qListObjectDef")},[u]),d=ye.exports.useCallback(()=>{u.unlock("/qListObjectDef")},[u]),{translator:h}=ye.exports.useContext(Qy),p=ye.exports.useRef(),[f]=Ww(i,u),[m]=dg(u);if(ye.exports.useEffect(()=>{f&&a&&(f.isModal(u)||f.goModal("/qListObjectDef"))},[f,a]),!u||!m||!h)return null;const y=!0===m.qListObject.qDimensionInfo.qLocked,g=(e,t)=>{f.noModal("escapeKeyDown"!==t),r()},v=_w({layout:m,model:u,translator:h}),b=m.qListObject.qDimensionInfo.qStateCounts,w=b.qSelected+b.qSelectedExcluded+b.qLocked+b.qLockedExcluded>0;return Je.createElement(Nb,{open:a,onClose:g,anchorEl:t.current,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"250px"}}},Je.createElement(db,{container:!0,direction:"column",spacing:0},Je.createElement(db,{item:!0,container:!0,style:{padding:l.spacing(1)}},Je.createElement(db,{item:!0},y?Je.createElement(xv,{onClick:d,disabled:!y},Je.createElement(Gb,null)):Je.createElement(xv,{onClick:c,disabled:!w},Je.createElement(Xb,null))),Je.createElement(db,{item:!0,xs:!0}),Je.createElement(db,{item:!0},Je.createElement(jw,{more:{enabled:!y,actions:v,alignTo:p,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:!0,api:f,onConfirm:g,onCancel:()=>g(0,"escapeKeyDown")}}))),Je.createElement(db,{item:!0,xs:!0},Je.createElement("div",{ref:p}),Je.createElement(Hw,{model:u}),Je.createElement(vw,{model:u,selections:f,direction:"ltr"}))))}const $w=em(e=>({item:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover}}}));function Qw(e){let{field:t,api:n,stateIx:r=0,skipHandleShowListBoxPopover:i=!1,moreAlignTo:o=null,onClose:s=(()=>{})}=e;const{translator:a}=ye.exports.useContext(Qy),l=o||ye.exports.useRef(),u=Ff(),[c,d]=ye.exports.useState(!1),h=$w(),p=()=>{d(!1),s()},f=t.selections[r];void 0===f.qTotal&&(f.qTotal=0);const m=f.qStateCounts||{qSelected:0,qLocked:0,qExcluded:0,qLockedExcluded:0,qSelectedExcluded:0,qAlternative:0},y=(m.qSelected+m.qLocked)/f.qTotal,g=m.qAlternative/f.qTotal,v=(m.qExcluded+m.qLockedExcluded+m.qSelectedExcluded)/f.qTotal,b=m.qSelected+m.qSelectedExcluded+m.qLocked+m.qLockedExcluded,w=0===b&&0===f.qTotal;let E="";f.qTotal===b&&f.qTotal>1?E=a.get("CurrentSelections.All"):b>1&&f.qTotal?E=a.get("CurrentSelections.Of",[b,f.qTotal]):f.qSelectedFieldSelectionInfo&&(E=f.qSelectedFieldSelectionInfo.map(e=>e.qName).join(", ")),"$"!==t.states[r]&&(E="".concat(t.states[r],": ").concat(E));const x=[{color:u.palette.selected.main,ratio:y},{color:u.palette.selected.alternative,ratio:g},{color:u.palette.selected.excluded,ratio:v}];x.forEach((e,t)=>{e.offset=t?x[t-1].offset+x[t-1].ratio:0});let _=null,S=null,C=null,k=null;return o||(_=Je.createElement(db,{item:!0,xs:!0,style:{minWidth:0,flexGrow:1,opacity:f.qLocked?"0.3":""}},Je.createElement(Lv,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},f.qField),Je.createElement(Lv,{noWrap:!0,style:{fontSize:"12px",opacity:.55,lineHeight:"16px"}},E)),S=Je.createElement(db,{item:!0},f.qLocked?Je.createElement(xv,null,Je.createElement(Gb,null)):Je.createElement(xv,{title:a.get("Selection.Clear"),onClick:e=>{e.stopPropagation(),n.clearField(f.qField,t.states[r])}},Je.createElement(Zb,null))),C=Je.createElement("div",{style:{height:"4px",position:"absolute",bottom:"0",left:"0",width:"100%"}},!1===w&&x.map(e=>Je.createElement("div",{key:e.color,style:{position:"absolute",background:e.color,height:"100%",top:0,width:"".concat(100*e.ratio,"%"),left:"".concat(100*e.offset,"%")}}))),k=Je.createElement(db,{container:!0,spacing:0,ref:l,className:h.item,onClick:!1===i&&(e=>{e.currentTarget.contains(e.target)&&d(!c)})||null},_,S,C,c&&Je.createElement(Uw,{alignTo:l,show:c,close:p,app:n.model,fieldName:f.qField,stateName:t.states[r]}))),o?Je.createElement(Uw,{alignTo:l,show:!0,close:p,app:n.model,fieldName:f.qField,stateName:t.states[r]}):k}var Kw=e=>Kb((e=>n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M8,9 L12.5,4.5 L14,6 L9.5,10.5 L8,12 L2,6 L3.5,4.5 L8,9 Z"}}]}))(e));const Zw=em(e=>({item:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover},height:"100%",alignItems:"center"},badge:{padding:e.spacing(0,1)}}));function Gw(e){let{field:t,api:n,moreAlignTo:r=null,onClose:i=(()=>{})}=e;const o=Zw(),[s,a]=ye.exports.useState(!!r),[l,u]=ye.exports.useState(-1),[c,d]=ye.exports.useState(r?r.current:null),h=r||ye.exports.useRef(),{translator:p}=ye.exports.useContext(Qy),f=p.get("Selection.ClearAllStates"),m=()=>{u(-1),i()};let y=null;r||(y=Je.createElement(Je.Fragment,null,Je.createElement(db,{item:!0,xs:!0,zeroMinWidth:!0},Je.createElement(Sv,{className:o.badge,color:"secondary",badgeContent:t.states.length},Je.createElement(Lv,{component:"span",noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},t.name))),Je.createElement(db,{item:!0},Je.createElement("div",{style:{width:"12px"}})),Je.createElement(db,{item:!0},Je.createElement(xv,null,Je.createElement(Kw,null)))));const g=Je.createElement(xb,{dense:!0},Je.createElement(Cb,{title:f,onClick:()=>{t.states.forEach(e=>n.clearField(t.name,e))}},Je.createElement(Rv,{variant:"contained",fullWidth:!0},f)),t.states.map((e,r)=>Je.createElement(Cb,{key:r,title:t.name,onClick:e=>((e,t)=>{e.stopPropagation(),a(!1),u(t)})(e,r)},Je.createElement(kv,{border:1,width:"100%",borderRadius:"borderRadius",borderColor:"divider"},Je.createElement(Qw,{field:t,api:n,stateIx:r,skipHandleShowListBoxPopover:!0}))))),v=Je.createElement(Nb,{open:s,onClose:()=>{a(!1),i()},anchorEl:c,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},g),b=r?v:Je.createElement(db,{container:!0,spacing:0,className:o.item,onClick:e=>{e.currentTarget.contains(e.target)&&(d(e.currentTarget),h.current=e.currentTarget,a(!s))}},y,s&&v,l>-1&&Je.createElement(Uw,{alignTo:h,show:l>-1,close:m,app:n.model,fieldName:t.selections[l].qField,stateName:t.states[l]}));return r&&l>-1?Je.createElement(Uw,{alignTo:h,show:l>-1,close:m,app:n.model,fieldName:t.selections[l].qField,stateName:t.states[l]}):b}const Xw=em(e=>({item:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover},height:"100%",alignItems:"center"},badge:{padding:e.spacing(0,1)}}));function Jw(e){let{items:t=[],api:n}=e;const r=Xw(),i=Ff(),[o,s]=ye.exports.useState(!1),[a,l]=ye.exports.useState(-1),[u,c]=ye.exports.useState(null),d=ye.exports.useRef(),h=()=>{l(-1)};let p=null;return a>-1&&(p=t[a].states.length>1?Je.createElement(Gw,{field:t[a],api:n,moreAlignTo:d,onClose:h}):Je.createElement(Qw,{field:t[a],api:n,skipHandleShowListBoxPopover:!0,moreAlignTo:d,onClose:h})),Je.createElement(db,{container:!0,spacing:0,className:r.item,onClick:e=>{e.currentTarget.contains(e.target)&&(c(e.currentTarget),d.current=e.currentTarget,s(!o))}},Je.createElement(db,{item:!0},Je.createElement(kv,{borderRadius:i.shape.borderRadius,style:{padding:"4px 8px 4px 8px",backgroundColor:i.palette.selected.main,color:i.palette.selected.mainContrastText}},Je.createElement(Lv,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600},color:"inherit"},"+",t.length))),Je.createElement(db,{item:!0},Je.createElement(xv,null,Je.createElement(Kw,null))),o&&Je.createElement(Nb,{open:o,onClose:()=>{s(!1)},anchorEl:u,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},Je.createElement(xb,{dense:!0},t.map((e,t)=>Je.createElement(Cb,{key:t,title:e.name,onClick:e=>((e,t)=>{e.stopPropagation(),s(!1),l(t)})(e,t)},Je.createElement(kv,{border:1,width:"100%",borderRadius:"borderRadius",borderColor:"divider"},Je.createElement(e.states.length>1?Gw:Qw,{field:e,api:n})))))),p)}function Yw(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"$";e.qSelections.forEach(e=>{const r=e.qField,i=t[r]=t[r]||{name:r,states:[],selections:[]};-1===i.states.indexOf(n)&&(i.states.push(n),i.selections.push(e))})}function eE(e){let{api:t,app:n}=e;const r=Ff(),[i]=mg(n),[o]=dg(i),[s,a]=ye.exports.useState({items:[],more:[]}),[l]=_g(),[u,c]=$b(),[d,h]=ye.exports.useState(0);return ye.exports.useEffect(()=>{if(!c)return;const{width:e}=c,t=Math.floor(e)-72,n=Math.floor(t/120);h(n)},[c]),ye.exports.useEffect(()=>{if(!(n&&i&&o&&d))return;const e=function(e){if(!e)return[];const t={};return e.qSelectionObject&&Yw(e.qSelectionObject,t),e.alternateStates&&e.alternateStates.forEach(e=>Yw(e.qSelectionObject,t,e.stateName)),Object.keys(t).map(e=>t[e])}(o);a(t=>{const r=e;if((()=>{const e=l.get(n.id);return e&&"njsListbox"===e.genericType})()&&r.length+1===t.items.length){const e=t.items.filter(e=>!1===r.some(t=>e.name===t.name))[0],{qField:n}=e.selections[0];e.selections=[{qField:n}];const i=t.items.indexOf(e);r.splice(i,0,e)}let i=[];return d<r.length&&(i=r.splice(d-r.length)),{items:r,more:i}})},[n,i,o,t.isInModal(),d]),Je.createElement(db,{ref:u,container:!0,spacing:0,wrap:"nowrap",style:{height:"100%"}},s.items.map(e=>Je.createElement(db,{item:!0,key:"".concat(e.states.join("::"),"::").concat(e.name),style:{position:"relative",maxWidth:"240px",minWidth:"".concat(120,"px"),background:r.palette.background.paper,borderRight:"1px solid ".concat(r.palette.divider)}},Je.createElement(e.states.length>1?Gw:Qw,{field:e,api:t}))),s.more.length>0&&Je.createElement(db,{item:!0,style:{position:"relative",maxWidth:"98px",minWidth:"".concat(72,"px"),background:r.palette.background.paper,borderRight:"1px solid ".concat(r.palette.divider)}},Je.createElement(Jw,{items:s.more,api:t})))}var tE=e=>Kb((e=>n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 Z M16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,-5.07265313e-17 13.5,0 L15,0 C15.5522847,1.01453063e-16 16,0.44771525 16,1 L16,2.5 Z M10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 C6,0.223857625 6.22385763,-5.07265313e-17 6.5,0 L9.5,0 C9.77614237,5.07265313e-17 10,0.223857625 10,0.5 Z M1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 5.18696197e-13,2.77614237 5.18696197e-13,2.5 L5.18696197e-13,1 C5.18696197e-13,0.44771525 0.44771525,-1.01453063e-16 1,0 L2.5,0 C2.77614237,5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 5.18696197e-13,15.5522847 5.18696197e-13,15 L5.18696197e-13,13.5 C5.18696197e-13,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M4,7 C7.49095643,7 10,10.1337595 10,12.1872632 C10,12.1872632 8.16051135,9.86624054 4,10 L4,12 C4,12 2.66666667,10.8333333 -1.0658141e-14,8.5 C-2.59348099e-13,8.5 1.33333333,7.33333333 4,5 C4,5 4,5.66666667 4,7 Z"}}]}))(e)),nE=e=>Kb((e=>n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 L6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 L10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 L3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 L0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 L0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 L0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 L3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 L0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 L6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 L10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 L13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 L15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M12,7 C12,5.66666667 12,5 12,5 C14.6666667,7.33333333 16,8.5 16,8.5 C13.3333333,10.8333333 12,12 12,12 L12,10 C7.83948865,9.86624054 6,12.1872632 6,12.1872632 C6,10.1337595 8.50904357,7 12,7 Z"}}]}))(e));function rE(e){let{api:t,app:n}=e;const{translator:r}=ye.exports.useContext(Qy),[i]=yg(n);return Je.createElement(db,{container:!0,wrap:"nowrap",style:{height:"100%",alignItems:"center",padding:"0 8px"}},Je.createElement(db,{item:!0},Je.createElement(xv,{style:{marginRight:"8px"},disabled:!i||!i.canGoBack,title:r.get("Navigate.Back"),onClick:()=>t.back()},Je.createElement(tE,null))),Je.createElement(db,{item:!0},Je.createElement(xv,{style:{marginRight:"8px"},disabled:!i||!i.canGoForward,title:r.get("Navigate.Forward"),onClick:()=>t.forward()},Je.createElement(nE,null))),Je.createElement(db,{item:!0},Je.createElement(xv,{disabled:!i||!i.canClear,title:r.get("Selection.ClearAll"),onClick:()=>t.clear()},Je.createElement(Lw,null))))}const iE=e=>{let{app:t}=e;const n=Ff(),[r]=Cg(t);return r?Je.createElement(db,{container:!0,spacing:0,wrap:"nowrap",style:{backgroundColor:n.palette.background.paper,minHeight:"40px"}},Je.createElement(db,{item:!0,style:{borderRight:"1px solid ".concat(n.palette.divider)}},Je.createElement(rE,{api:r,app:t})),Je.createElement(db,{item:!0,xs:!0,style:{backgroundColor:n.palette.background.darker,overflow:"hidden"}},Je.createElement(eE,{api:r,app:t}))):null};function oE(e){let{element:t,app:n}=e;return nd.createPortal(Je.createElement(iE,{app:n}),t)}var sE=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},aE=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),lE=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},uE=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},cE=void 0;cE="undefined"!=typeof window?window:"undefined"!=typeof self?self:global;var dE=null,hE=null,pE=cE.clearTimeout,fE=cE.setTimeout,mE=cE.cancelAnimationFrame||cE.mozCancelAnimationFrame||cE.webkitCancelAnimationFrame,yE=cE.requestAnimationFrame||cE.mozRequestAnimationFrame||cE.webkitRequestAnimationFrame;null==mE||null==yE?(dE=pE,hE=function(e){return fE(e,20)}):(dE=function(e){var t=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),2!==n.length);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&a.return&&a.return()}finally{if(i)throw o}}return n}(e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(e),n=t[1];mE(t[0]),pE(n)},hE=function(e){var t=yE((function(){pE(n),e()})),n=fE((function(){mE(t),e()}),20);return[t,n]});var gE=function(e){function t(){var e,n,r;sE(this,t);for(var i=arguments.length,o=Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=r=uE(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),r.state={height:r.props.defaultHeight||0,width:r.props.defaultWidth||0},r._onResize=function(){var e=r.props,t=e.disableHeight,n=e.disableWidth,i=e.onResize;if(r._parentNode){var o=r._parentNode.offsetHeight||0,s=r._parentNode.offsetWidth||0,a=window.getComputedStyle(r._parentNode)||{},l=parseInt(a.paddingLeft,10)||0,u=parseInt(a.paddingRight,10)||0,c=parseInt(a.paddingTop,10)||0,d=parseInt(a.paddingBottom,10)||0;(!t&&r.state.height!==o-c-d||!n&&r.state.width!==s-l-u)&&(r.setState({height:o-c-d,width:s-l-u}),i({height:o,width:s}))}},r._setRef=function(e){r._autoSizer=e},uE(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),aE(t,[{key:"componentDidMount",value:function(){var e=this.props.nonce;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._detectElementResize=function(e){var t=void 0,n=void 0,r=void 0,i=void 0,o=void 0,s=void 0,a=void 0,l="undefined"!=typeof document&&document.attachEvent;if(!l){s=function(e){var t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,i=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,i.style.width=n.offsetWidth+1+"px",i.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},o=function(e){return e.offsetWidth!==e.__resizeLast__.width||e.offsetHeight!==e.__resizeLast__.height},a=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var t=this;s(this),this.__resizeRAF__&&dE(this.__resizeRAF__),this.__resizeRAF__=hE((function(){o(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(n){n.call(t,e)})))}))}};var u=!1,c="";r="animationstart";var d="Webkit Moz O ms".split(" "),h="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),p=document.createElement("fakeelement");if(void 0!==p.style.animationName&&(u=!0),!1===u)for(var f=0;f<d.length;f++)if(void 0!==p.style[d[f]+"AnimationName"]){c="-"+d[f].toLowerCase()+"-",r=h[f],u=!0;break}t="@"+c+"keyframes "+(n="resizeanim")+" { from { opacity: 0; } to { opacity: 0; } } ",i=c+"animation: 1ms "+n+"; "}return{addResizeListener:function(o,u){if(l)o.attachEvent("onresize",u);else{if(!o.__resizeTriggers__){var c=o.ownerDocument,d=cE.getComputedStyle(o);d&&"static"===d.position&&(o.style.position="relative"),function(n){if(!n.getElementById("detectElementResize")){var r=(t||"")+".resize-triggers { "+(i||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',o=n.head||n.getElementsByTagName("head")[0],s=n.createElement("style");s.id="detectElementResize",s.type="text/css",null!=e&&s.setAttribute("nonce",e),s.styleSheet?s.styleSheet.cssText=r:s.appendChild(n.createTextNode(r)),o.appendChild(s)}}(c),o.__resizeLast__={},o.__resizeListeners__=[],(o.__resizeTriggers__=c.createElement("div")).className="resize-triggers";var h=c.createElement("div");h.className="expand-trigger",h.appendChild(c.createElement("div"));var p=c.createElement("div");p.className="contract-trigger",o.__resizeTriggers__.appendChild(h),o.__resizeTriggers__.appendChild(p),o.appendChild(o.__resizeTriggers__),s(o),o.addEventListener("scroll",a,!0),r&&(o.__resizeTriggers__.__animationListener__=function(e){e.animationName===n&&s(o)},o.__resizeTriggers__.addEventListener(r,o.__resizeTriggers__.__animationListener__))}o.__resizeListeners__.push(u)}},removeResizeListener:function(e,t){if(l)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",a,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(r,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}(e),this._detectElementResize.addResizeListener(this._parentNode,this._onResize),this._onResize())}},{key:"componentWillUnmount",value:function(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,r=e.disableWidth,i=e.style,o=this.state,s=o.height,a=o.width,l={overflow:"visible"},u={},c=!1;return e.disableHeight||(0===s&&(c=!0),l.height=0,u.height=s),r||(0===a&&(c=!0),l.width=0,u.width=a),ye.exports.createElement("div",{className:n,ref:this._setRef,style:lE({},l,i)},!c&&t(u))}}]),t}(ye.exports.PureComponent);function vE(e){let{app:t,fieldIdentifier:n,stateName:r,element:i,options:o}=e;return nd.createPortal(Je.createElement(bE,{app:t,fieldIdentifier:n,stateName:r,options:o}),i)}function bE(e){let{app:t,fieldIdentifier:r,stateName:i="$",options:o={}}=e;const{title:s,direction:a,listLayout:l,search:u=!0,properties:c={}}=o,d=n({qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:i,qShowAlternatives:!0,qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}]}},title:s},c);let h;r.qLibraryId?(d.qListObjectDef.qLibraryId=r.qLibraryId,h=r.qLibraryId):(d.qListObjectDef.qDef.qFieldDefs=[r],h=r);const p=Ff(),[f]=pg(d,t,h,i),m=ye.exports.useCallback(()=>{f.lock("/qListObjectDef")},[f]),y=ye.exports.useCallback(()=>{f.unlock("/qListObjectDef")},[f]),{translator:g}=ye.exports.useContext(Qy),v=ye.exports.useRef(),[b]=Ww(t,f),[w]=dg(f),[E,x]=ye.exports.useState(!1);if(ye.exports.useEffect(()=>{b&&(b.isModal(f)||(b.on("deactivated",()=>{x(!1)}),b.on("activated",()=>{x(!0)})))},[b]),ye.exports.useEffect(()=>{b&&x(b.isActive())},[b]),!f||!w||!g)return null;const _=!0===w.qListObject.qDimensionInfo.qLocked,S=_w({layout:w,model:f,translator:g}),C=w.qListObject.qDimensionInfo.qStateCounts,k=C.qSelected+C.qSelectedExcluded+C.qLocked+C.qLockedExcluded>0;return Je.createElement(db,{container:!0,direction:"column",spacing:0,style:{height:"100%",minHeight:"".concat(49+(u?40:0)+49,"px")}},Je.createElement(db,{item:!0,container:!0,style:{padding:p.spacing(1),borderBottom:"1px solid ".concat(p.palette.divider)}},Je.createElement(db,{item:!0},_?Je.createElement(xv,{onClick:y,disabled:!_},Je.createElement(Gb,null)):Je.createElement(xv,{onClick:m,disabled:!k},Je.createElement(Xb,null))),Je.createElement(db,{item:!0},Je.createElement(Lv,{variant:"h6",noWrap:!0},w.title||w.qListObject.qDimensionInfo.qFallbackTitle)),Je.createElement(db,{item:!0,xs:!0}),Je.createElement(db,{item:!0},Je.createElement(jw,{more:{enabled:!_,actions:S,alignTo:v,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:E,api:b,onConfirm:()=>{},onCancel:()=>{}}}))),u?Je.createElement(db,{item:!0},Je.createElement(Hw,{model:f,autoFocus:!1})):"",Je.createElement(db,{item:!0,xs:!0},Je.createElement("div",{ref:v}),Je.createElement(gE,null,e=>{let{height:t,width:n}=e;return Je.createElement(vw,{model:f,selections:b,direction:a,listLayout:l,height:t,width:n})})))}gE.defaultProps={onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}};const wE=[[10,31],[0,31],[0,31],[0,31],[0,31],[0,31]];function EE(e){let[t,n]=e;return(t+(Math.random()*(n-t)|0)).toString(32)}function xE(){return wE.map(EE).join("")}function _E(e,t){for(let n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)}function SE(e,t){let n=0;for(let r=0;r<e.length;++r)e[r]>t?--e[r]:e[r]===t&&(n=r);return e.splice(n,1),n}function CE(e){let{sn:t,properties:r,fields:i}=e;if(!i.length)return;const o=t.qae.data.targets[0];if(!o)return;const{propertyPath:s}=o,a=s.split("/");let l=r;for(let n=0;n<a.length;n++){const e=a[n];l=e?l[e]:l}const u=function(e){let{dc:t,def:r,properties:i}=e;t.qDimensions=t.qDimensions||[],t.qMeasures=t.qMeasures||[],t.qInterColumnSortOrder=t.qInterColumnSortOrder||[],t.qInitialDataFetch=t.qInitialDataFetch||[],t.qColumnOrder=t.qColumnOrder||[],t.qExpansionState=t.qExpansionState||[];const o=i,s={dimensions:()=>t.qDimensions,measures:()=>t.qMeasures,addDimension(e){const i="string"==typeof e?(e=>({qDef:{qFieldDefs:[e]}}))(e):n(n({},e),{},{qDef:e.qDef||{}});i.qDef.cId=i.qDef.cId||xE(),i.qDef.qSortCriterias=i.qDef.qSortCriterias||[{qSortByLoadOrder:1,qSortByNumeric:1,qSortByAscii:1}],i.qOtherTotalSpec=i.qOtherTotalSpec||{},i.qAttributeExpressions=i.qAttributeExpressions||[],i.qAttributeDimensions=i.qAttributeDimensions||[],t.qDimensions.length<s.maxDimensions()?(t.qDimensions.push(i),_E(t.qInterColumnSortOrder,t.qDimensions.length-1),r.dimensions.added(i,o)):(t.qLayoutExclude=t.qLayoutExclude||{},t.qLayoutExclude.qHyperCubeDef=t.qLayoutExclude.qHyperCubeDef||{},t.qLayoutExclude.qHyperCubeDef.qDimensions=t.qLayoutExclude.qHyperCubeDef.qDimensions||[],t.qLayoutExclude.qHyperCubeDef.qMeasures=t.qLayoutExclude.qHyperCubeDef.qMeasures||[],t.qLayoutExclude.qHyperCubeDef.qDimensions.push(i))},removeDimension(e){const n=t.qDimensions.splice(e,1)[0];SE(t.qInterColumnSortOrder,e),r.dimensions.removed(n,o,e)},addMeasure(e){const i="string"==typeof e?(e=>({qDef:{qDef:e}}))(e):n(n({},e),{},{qDef:e.qDef||{}});i.qDef.cId=i.qDef.cId||xE(),i.qSortBy=i.qSortBy||{qSortByLoadOrder:1,qSortByNumeric:-1},i.qAttributeDimensions=i.qAttributeDimensions||[],i.qAttributeExpressions=i.qAttributeExpressions||[],t.qMeasures.length<s.maxMeasures()?(t.qMeasures.push(i),_E(t.qInterColumnSortOrder,t.qDimensions.length+t.qMeasures.length-1),r.measures.added(i,o)):(t.qLayoutExclude=t.qLayoutExclude||{},t.qLayoutExclude.qHyperCubeDef=t.qLayoutExclude.qHyperCubeDef||{},t.qLayoutExclude.qHyperCubeDef.qDimensions=t.qLayoutExclude.qHyperCubeDef.qDimensions||[],t.qLayoutExclude.qHyperCubeDef.qMeasures=t.qLayoutExclude.qHyperCubeDef.qMeasures||[],t.qLayoutExclude.qHyperCubeDef.qMeasures.push(i))},removeMeasure(e){const n=t.qMeasures.splice(e,1)[0];SE(t.qInterColumnSortOrder,t.qDimensions.length+e),r.measures.removed(n,o,e)},maxDimensions:()=>r.dimensions.max(t.qMeasures.length),maxMeasures:()=>r.measures.max(t.qDimensions.length),canAddDimension:()=>t.qDimensions.length<s.maxDimensions(),canAddMeasure:()=>t.qMeasures.length<s.maxMeasures()};return s}({dc:l,def:o,properties:r});i.forEach(e=>{"measure"===function(e){return"string"==typeof e&&"="===e[0]||"object"==typeof e&&e.qDef&&e.qDef.qDef||"object"==typeof e&&e.qLibraryId&&"measure"===e.type?"measure":"dimension"}(e)?u.addMeasure(e):u.addDimension(e)})}var kE=(e,t,n)=>{if(null==e||null==t)return n;const r=t.split(".");let i=e;for(let o=0;o<r.length;++o){const e=r[o];if(""!==e){if(null==i[e])return n;i=i[e]}}return i},TE=(e,t,n)=>{if(null==e||null==t)return;const r=t.split("."),i=r[r.length-1];let o=e;for(let s=0;s<r.length-1;++s){const e=r[s];null!=o[e]||(o[e]=Number.isNaN(+r[s+1])?{}:[]),o=o[e]}void 0!==n?o[i]=n:delete o[i]},OE=function(e,t){let n;for(n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)},LE=function(e,t){let n,r=0;for(n=0;n<e.length;++n)e[n]>t?--e[n]:e[n]===t&&(r=n);return e.splice(r,1),r};const IE=2**53-1;function RE(e){return-1!==["qMetaDef","descriptionExpression","labelExpression"].indexOf(e)}function PE(e,t){const n=x(!0,{},t,e);return kE(n,"qOtherTotalSpec.qOtherCounted")||TE(n,"qOtherTotalSpec.qOtherCounted",{qv:"10"}),kE(n,"qOtherTotalSpec.qOtherLimit")||TE(n,"qOtherTotalSpec.qOtherLimit",{qv:"0"}),n.hasOwnProperty("othersLabel")||(n.othersLabel="Others"),n}function NE(e,t){return x(!0,{},t,e)}function AE(e,t,n){return"function"==typeof e?e(t):Number.isNaN(+e)?n:e}var DE={restoreChangedProperties:function(e){Object.keys(e.qLayoutExclude.changed).forEach(t=>{e.qLayoutExclude.changed[t].to===kE(e,t)&&TE(e,t,e.qLayoutExclude.changed[t].from)})},isMasterItemProperty:RE,importCommonProperties:function(e,t,n){const r="masterobject"===kE(t,"properties.qInfo.qType")?"masterobject":kE(n,"qInfo.qType");TE(e,"qInfo.qType",r),e.visualization=n.visualization},copyPropertyIfExist:function(e,t,n){t.hasOwnProperty(e)&&(n[e]=t[e])},copyPropertyOrSetDefault:function(e,t,n,r){n[e]=t.hasOwnProperty(e)?t[e]:r},createDefaultDimension:PE,createDefaultMeasure:NE,resolveValue:AE,getHypercubePath:function(e){const t=kE(e,"data.targets.0.propertyPath","").split("/");return t.length&&"qHyperCubeDef"===t[t.length-1]&&(t.length-=1),t.join(".")},getDefaultDimension:function(){return{qDef:{autoSort:!0,cId:"",othersLabel:"Others"},qLibraryId:"",qNullSuppression:!1,qOtherLabel:"Others",qOtherTotalSpec:{qOtherLimitMode:"OTHER_GE_LIMIT",qOtherMode:"OTHER_OFF",qOtherSortMode:"OTHER_SORT_DESCENDING",qSuppressOther:!1}}},getDefaultMeasure:function(){return{qDef:{autoSort:!0,cId:"",numFormatFromTemplate:!0},qLibraryId:"",qTrendLines:[]}},setInterColumnSortOrder:function(e){let{exportFormat:t,newHyperCubeDef:n}=e;const r=t.data[0],i=n.qDimensions.length+n.qMeasures.length;n.qInterColumnSortOrder=r.interColumnSortOrder.concat();let o=n.qInterColumnSortOrder.length;if(o!==i)for(n.qLayoutExclude&&(n.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder=r.interColumnSortOrder.concat());o!==i;)o<i?(OE(n.qInterColumnSortOrder,o),++o):(--o,LE(n.qInterColumnSortOrder,o))},createNewProperties:function(e){let{exportFormat:t,initialProperties:n,hypercubePath:r}=e,i={qLayoutExclude:{disabled:{},quarantine:{}}};return Object.keys(t.properties).forEach(e=>{"qLayoutExclude"===e?t.properties[e].quarantine&&(i.qLayoutExclude.quarantine=x(!0,{},t.properties[e].quarantine)):"qHyperCubeDef"===e&&r?TE(i,"".concat(r,".qHyperCubeDef"),t.properties.qHyperCubeDef):n.hasOwnProperty(e)||RE(e)?i[e]=t.properties[e]:i.qLayoutExclude.disabled[e]=t.properties[e]}),i=x(!0,{},n,i),null===i.components&&(i.components=[]),i},getMaxMinDimensionMeasure:function(e){let{exportFormat:t,dataDefinition:n={}}=e;const r=t.data[0],i=n.dimensions||{max:0},o=n.measures||{max:0},s=AE(o.max,r.dimensions.length,IE),a=AE(o.min,r.dimensions.length,0);return{maxDimensions:AE(i.max,s,IE),minDimensions:AE(i.min,a,0),maxMeasures:s,minMeasures:a}},shouldInitLayoutExclude:function(e){let{exportFormat:t,maxDimensions:n,minDimensions:r,maxMeasures:i,minMeasures:o}=e;const s=t.data[0];return s.dimensions.length>n&&n>0||s.measures.length>i&&i>0||s.excludedDimensions.length>0&&s.dimensions.length+s.excludedDimensions.length>r||s.excludedMeasures.length>0&&s.measures.length+s.excludedMeasures.length>o||!i&&s.measures.length>0||!n&&s.dimensions.length>0},initLayoutExclude:function(e){let{exportFormat:t,maxDimensions:n,minDimensions:r,maxMeasures:i,minMeasures:o,newHyperCubeDef:s}=e;const a=t.data[0];s.qLayoutExclude||(s.qLayoutExclude={}),s.qLayoutExclude.qHyperCubeDef||(s.qLayoutExclude.qHyperCubeDef={}),(a.dimensions.length>n&&n>0||a.excludedDimensions&&a.excludedDimensions.length&&a.dimensions.length+a.excludedDimensions.length>r)&&(s.qLayoutExclude.qHyperCubeDef.qDimensions||(s.qLayoutExclude.qHyperCubeDef.qDimensions=[])),(a.measures.length>i&&i>0||a.excludedMeasures&&a.excludedMeasures.length&&a.measures.length+a.excludedMeasures.length>o)&&(s.qLayoutExclude.qHyperCubeDef.qMeasures||(s.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!i&&a.measures.length&&(s.qLayoutExclude.qHyperCubeDef.qMeasures||(s.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!n&&a.dimensions.length&&(s.qLayoutExclude.qHyperCubeDef.qDimensions||(s.qLayoutExclude.qHyperCubeDef.qDimensions=[]))},addDefaultDimensions:function(e){let{exportFormat:t,maxDimensions:n,minDimensions:r,newHyperCubeDef:i,defaultDimension:o}=e;const s=t.data[0];let a;if(n>0)for(a=0;a<s.dimensions.length;++a)i.qDimensions.length<n?i.qDimensions.push(PE(s.dimensions[a],o)):i.qLayoutExclude.qHyperCubeDef.qDimensions.push(PE(s.dimensions[a],o));else if(s.dimensions.length)for(a=0;a<s.dimensions.length;++a)i.qLayoutExclude.qHyperCubeDef.qDimensions.push(PE(s.dimensions[a],o));if(s.excludedDimensions.length)for(a=0;a<s.excludedDimensions.length;++a)i.qDimensions.length<r?i.qDimensions.push(PE(s.excludedDimensions[a],o)):i.qLayoutExclude.qHyperCubeDef.qDimensions.push(PE(s.excludedDimensions[a],o))},addDefaultMeasures:function(e){let{exportFormat:t,maxMeasures:n,minMeasures:r,newHyperCubeDef:i,defaultMeasure:o}=e;const s=t.data[0];let a;if(n>0)for(a=0;a<s.measures.length;++a)i.qMeasures.length<n?i.qMeasures.push(NE(s.measures[a],o)):i.qLayoutExclude.qHyperCubeDef.qMeasures.push(NE(s.measures[a],o));else if(s.measures.length)for(a=0;a<s.measures.length;++a)i.qLayoutExclude.qHyperCubeDef.qMeasures.push(NE(s.measures[a],o));if(s.excludedMeasures.length)for(a=0;a<s.excludedMeasures.length;++a)i.qMeasures.length<r?i.qMeasures.push(NE(s.excludedMeasures[a],o)):i.qLayoutExclude.qHyperCubeDef.qMeasures.push(NE(s.excludedMeasures[a],o))},updateDimensionsOnAdded:function(e){let{newProperties:t,dataDefinition:n,hypercubePath:r}=e;if(n.dimensions&&"function"==typeof n.dimensions.added){const e=kE(t,r||"").qHyperCubeDef,i=[...e.qDimensions];e.qDimensions=[],i.forEach(r=>{e.qDimensions.push(r),n.dimensions.added(r,t)})}},updateMeasuresOnAdded:function(e){let{newProperties:t,dataDefinition:n,hypercubePath:r}=e;if(n.measures&&"function"==typeof n.measures.added){const e=kE(t,r||"").qHyperCubeDef,i=[...e.qMeasures];e.qMeasures=[],i.forEach(r=>{e.qMeasures.push(r),n.measures.added(r,t)})}}},ME={exportProperties:e=>function(e){let{propertyTree:t,hypercubePath:n}=e;const r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;const t={data:[],properties:{}};for(let n=0;n<e;++n)t.data.push({dimensions:[],measures:[],excludedDimensions:[],excludedMeasures:[],interColumnSortOrder:[]});return t}(),i=t.qProperty,o=kE(i,n||""),s=o.qHyperCubeDef,a=r.data[0];if(s.qInterColumnSortOrder||(s.qInterColumnSortOrder=[]),a.dimensions.push(...s.qDimensions),s.qLayoutExclude&&s.qLayoutExclude.qHyperCubeDef&&s.qLayoutExclude.qHyperCubeDef.qDimensions&&a.excludedDimensions.push(...s.qLayoutExclude.qHyperCubeDef.qDimensions),a.measures.push(...s.qMeasures),s.qLayoutExclude&&s.qLayoutExclude.qHyperCubeDef&&s.qLayoutExclude.qHyperCubeDef.qMeasures&&a.excludedMeasures.push(...s.qLayoutExclude.qHyperCubeDef.qMeasures),a.interColumnSortOrder=s.qInterColumnSortOrder.concat(),s.qLayoutExclude&&s.qLayoutExclude.qHyperCubeDef&&s.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder){const e=s.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder.concat();(function(e,t){if(!(e&&t&&e.length&&t.length))return!1;let n=e.indexOf(t[0]);if(-1!==n){for(let r=0;r<t.length;r++){const i=e.indexOf(t[r]);if(n>i)return!1;n=i}return!0}return!1})(e,a.interColumnSortOrder)&&(a.interColumnSortOrder=e)}return delete s.qLayoutExclude,Object.keys(i).forEach(e=>{r.properties[e]=i[e]}),n&&(r.properties.qHyperCubeDef=o.qHyperCubeDef,delete o.qHyperCubeDef),i.qLayoutExclude||(i.qLayoutExclude={}),i.qLayoutExclude.disabled&&(Object.keys(i.qLayoutExclude.disabled).forEach(e=>{r.properties.hasOwnProperty(e)||(r.properties[e]=i.qLayoutExclude.disabled[e])}),delete i.qLayoutExclude.disabled),i.qLayoutExclude.changed&&(DE.restoreChangedProperties(i),delete i.qLayoutExclude.changed),i.qLayoutExclude.quarantine&&!(e=>0===Object.keys(e).length&&e.constructor===Object)(i.qLayoutExclude.quarantine)||delete i.qLayoutExclude,r}(e),importProperties:e=>function(e){let{exportFormat:t,initialProperties:n={},dataDefinition:r={},defaultPropertyValues:i={},hypercubePath:o}=e;const s={qChildren:[]},a=DE.createNewProperties({exportFormat:t,initialProperties:n,hypercubePath:o}),l=kE(n,o||"").qHyperCubeDef,u=kE(a,o||"").qHyperCubeDef,{maxDimensions:c,minDimensions:d,maxMeasures:h,minMeasures:p}=DE.getMaxMinDimensionMeasure({exportFormat:t,dataDefinition:r}),{defaultDimension:f=DE.getDefaultDimension(),defaultMeasure:m=DE.getDefaultMeasure()}=i;return u.qDimensions.length=0,u.qMeasures.length=0,DE.shouldInitLayoutExclude({exportFormat:t,maxDimensions:c,minDimensions:d,maxMeasures:h,minMeasures:p})&&DE.initLayoutExclude({exportFormat:t,maxDimensions:c,minDimensions:d,maxMeasures:h,minMeasures:p,newHyperCubeDef:u}),DE.addDefaultDimensions({exportFormat:t,maxDimensions:c,minDimensions:d,newHyperCubeDef:u,defaultDimension:f}),DE.addDefaultMeasures({exportFormat:t,maxMeasures:h,minMeasures:p,newHyperCubeDef:u,defaultMeasure:m}),DE.setInterColumnSortOrder({exportFormat:t,newHyperCubeDef:u}),DE.copyPropertyIfExist("qMaxStackedCells",l,u),DE.copyPropertyIfExist("qNoOfLeftDims",l,u),DE.copyPropertyOrSetDefault("qInitialDataFetch",l,u,[{qTop:0,qLeft:0,qWidth:0,qHeight:0}]),DE.copyPropertyOrSetDefault("qMode",l,u,"S"),DE.copyPropertyOrSetDefault("qReductionMode",l,u,"N"),DE.copyPropertyOrSetDefault("qSortbyYValue",l,u),DE.copyPropertyOrSetDefault("qIndentMode",l,u),DE.copyPropertyOrSetDefault("qShowTotalsAbove",l,u),DE.importCommonProperties(a,t,n),DE.updateDimensionsOnAdded({newProperties:a,dataDefinition:r,hypercubePath:o}),DE.updateMeasuresOnAdded({newProperties:a,dataDefinition:r,hypercubePath:o}),s.qProperty=a,s}(e)};const qE=e=>kE(e,"data.targets.0.propertyPath"),jE=async e=>{let{halo:t,model:r,cellRef:i,newType:o}=e;const s=await r.getFullPropertyTree(),a=i.current.getQae(),l=(e=>e.exportProperties?e.exportProperties:(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return ME.exportProperties})(qE(e)))(a),u=(await(async e=>{let{halo:t,name:n,version:r}=e;const{types:i}=t;return await i.get({name:n,version:r}).supernova()})({halo:t,name:o})).qae;return(e=>e.importProperties?e.importProperties:(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return ME.importProperties})(qE(e)))(u)({exportFormat:l({propertyTree:s,hypercubePath:DE.getHypercubePath(a)}),initialProperties:n({qInfo:{qType:o},visualization:o},kE(u,"properties.initial",{})),dataDefinition:kE(u,"data.targets.0.",{}),hypercubePath:DE.getHypercubePath(u)})},FE={hypercube:ME};var zE=e=>Kb((e=>n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M8.86225926,1.6 L15.7815749,13.5 C16.2829746,14.3 15.8818548,15 14.9793354,15 L1.04042422,15 C0.0853772072,15 -0.232971797,14.3650794 0.172002787,13.6135407 L7.05722041,1.6 C7.55862009,0.8 8.36085958,0.8 8.86225926,1.6 Z M7.962,2.007 C7.95987183,2.02476599 7.95607967,2.03712023 7.94920396,2.05249845 L1.1033193,14 L14.915544,14 L7.99777452,2.10265906 L7.97779697,2.06138411 L7.96394459,2.01964415 L7.962,2.007 Z M7.5,11 L8.5,11 C8.76666667,11 8.95432099,11.1580247 8.99272977,11.4038409 L9,11.5 L9,12.5 C9,12.7666667 8.84197531,12.954321 8.59615912,12.9927298 L8.5,13 L7.5,13 C7.23333333,13 7.04567901,12.8419753 7.00727023,12.5961591 L7,12.5 L7,11.5 C7,11.2333333 7.15802469,11.045679 7.40384088,11.0072702 L7.5,11 L8.5,11 L7.5,11 Z M7.5,5 L8.5,5 C8.76666667,5 8.95432099,5.15802469 8.99272977,5.40384088 L9,5.5 L9,9.5 C9,9.76666667 8.84197531,9.95432099 8.59615912,9.99272977 L8.5,10 L7.5,10 C7.23333333,10 7.04567901,9.84197531 7.00727023,9.59615912 L7,9.5 L7,5.5 C7,5.23333333 7.15802469,5.04567901 7.40384088,5.00727023 L7.5,5 L8.5,5 L7.5,5 Z"}}]}))(e));const BE=e=>{let{d:t}=e;const n=Ff();let r="inherit",i=n.palette.success.main;t.missing?i=n.palette.warning.main:t.error&&(r="error",i=n.palette.error.main);const o={color:i},s=Je.createElement(Lv,{style:{lineHeight:"30px",paddingRight:n.spacing(1)}},Je.createElement(gb,null,Je.createElement(t.missing||t.error?zE:pw,{style:o})));return Je.createElement(db,{item:!0,container:!0,alignItems:"center",wrap:"nowrap"},Je.createElement(db,{item:!0},s),Je.createElement(db,{container:!0,item:!0,zeroMinWidth:!0,wrap:"nowrap"},Je.createElement(Lv,{noWrap:!0,component:"p"},Je.createElement(Lv,{component:"span",variant:"subtitle2",color:r},t.description),Je.createElement(Lv,{component:"span"}," "),Je.createElement(Lv,{component:"span",variant:"subtitle2",color:t.error?"error":"inherit",style:{fontWeight:400}},t.label))))},HE=e=>{let{data:t}=e;const n=Ff();return Je.createElement(db,{container:!0,item:!0,style:{maxWidth:"300px",overflow:"hidden"}},t.map((e,t)=>{const r=e.descriptions.map((e,t)=>Je.createElement(BE,{d:e,key:t}));return r.length>0&&Je.createElement(db,{container:!0,item:!0,key:t,direction:"column",style:{paddingBottom:n.spacing(2)}},Je.createElement(Lv,{noWrap:!0,key:t,variant:"subtitle1",align:"left",color:"textSecondary"},e.title),r)}))};function VE(e){let{title:t="Error",message:n="",data:r=[]}=e;return Je.createElement(db,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"relative",height:"100%",width:"100%"}},Je.createElement(db,{item:!0},Je.createElement(zE,{style:{fontSize:"38px"}})),Je.createElement(db,{item:!0},Je.createElement(Lv,{variant:"h6",align:"center","data-tid":"error-title"},t)),Je.createElement(db,{item:!0},Je.createElement(Lv,{variant:"subtitle1",align:"center","data-tid":"error-message"},n)),Je.createElement(HE,{data:r}))}const WE=["size"],UE=em(e=>({root:{position:"relative",display:"inline-block"},front:{color:e.palette.secondary.main,animationDuration:"1500ms",position:"absolute",left:0},back:{color:e.palette.divider}})),$E={small:16,medium:32,large:64,xlarge:128};function QE(e){let{size:t="medium"}=e,n=o(e,WE);const r=UE(),s=$E[t];return Je.createElement("div",{className:r.root},Je.createElement(qv,i({variant:"determinate",value:100,className:r.back,size:s,thickness:3},n)),Je.createElement(qv,i({variant:"indeterminate",disableShrink:!0,className:r.front,size:s,thickness:3},n)))}const KE=["cancel","translator"],ZE=["retry","translator"],GE=Py(()=>({stripes:{"&::before":{position:"absolute",height:"100%",width:"100%",top:0,left:0,content:'""',backgroundSize:"14.14px 14.14px",backgroundImage:"linear-gradient(135deg, currentColor 10%, rgba(0,0,0,0) 10%, rgba(0,0,0,0) 50%, currentColor 50%, currentColor 59%, rgba(0,0,0,0) 60%, rgba(0,0,0,0) 103%)",opacity:.1}}})),XE=e=>{let{cancel:t,translator:n}=e,r=o(e,KE);return Je.createElement(Je.Fragment,null,Je.createElement(db,{container:!0,item:!0,direction:"column",alignItems:"center",spacing:2},Je.createElement(db,{item:!0},Je.createElement(QE,null)),Je.createElement(db,{item:!0},Je.createElement(Lv,{variant:"h6",align:"center"},n.get("Object.Update.Active")))),Je.createElement(db,i({item:!0},r),Je.createElement(Rv,{variant:"contained",onClick:t},n.get("Cancel"))))},JE=e=>{let{retry:t,translator:n}=e,r=o(e,ZE);return Je.createElement(Je.Fragment,null,Je.createElement(db,{item:!0},Je.createElement(zE,{style:{fontSize:"38px"}})),Je.createElement(db,{item:!0},Je.createElement(Lv,{variant:"h6",align:"center"},n.get("Object.Update.Cancelled"))),Je.createElement(db,{item:!0},Je.createElement(Rv,i({variant:"contained",onClick:t},r),n.get("Retry"))))};function YE(e){let{canCancel:t,canRetry:n,api:r}=e;const{stripes:i,cancel:o,retry:s}=GE(),{translator:a}=ye.exports.useContext(Qy);return Je.createElement(db,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",className:i,style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},spacing:2},t&&Je.createElement(XE,{cancel:r.cancel,translator:a,className:o}),n&&Je.createElement(JE,{retry:r.retry,translator:a,className:s}))}function ex(){return Je.createElement(db,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},spacing:2},Je.createElement(QE,{size:"large"}))}const tx=Py(e=>({containerStyle:{flexGrow:0},containerTitleStyle:{paddingBottom:e.spacing(1)}})),nx=e=>{let{layout:t,sn:n,anchorEl:r,hovering:i,focusHandler:o}=e;const s=t.showTitles&&!!t.title,a=t.showTitles&&!!t.subtitle,l=t.qSelectionInfo&&t.qSelectionInfo.qInSelections,[u,c]=ye.exports.useState([]),{containerStyle:d,containerTitleStyle:h}=tx(),[p,f]=$b(),[m,y]=ye.exports.useState(!1);ye.exports.useEffect(()=>{n&&n.component&&n.component.isHooked&&n.component.observeActions(e=>{c([...e,...n&&n.selectionToolbar&&n.selectionToolbar.items||[]])})},[n]),ye.exports.useEffect(()=>{if(!f)return;const{width:e}=f;y(e<221)},[f]);const g=s||a,v=[d,...g?[h]:[]],b=(i||l)&&(m||!g),w=Je.createElement(jw,{show:g&&!b&&!m,selections:{show:l,api:n.component.selections,onKeyDeactivate:o.refocusContent},actions:u,popover:{show:b,anchorEl:r},focusHandler:o});return Je.createElement(db,{ref:p,item:!0,container:!0,wrap:"nowrap",className:v.join(" ")},Je.createElement(db,{item:!0,zeroMinWidth:!0,xs:!0},Je.createElement(db,{container:!0,wrap:"nowrap",direction:"column"},s&&Je.createElement(Lv,{variant:"h6",noWrap:!0,className:"njs-cell-title"},t.title),a&&Je.createElement(Lv,{variant:"body2",noWrap:!0,className:"njs-cell-sub-title"},t.subtitle))),Je.createElement(db,{item:!0},w))},rx=Py(e=>({itemStyle:{minWidth:0,paddingTop:e.spacing(1)}})),ix=e=>{let{layout:t}=e;const{itemStyle:n}=rx();return t&&t.showTitles&&t.footnote?Je.createElement(db,{container:!0},Je.createElement(db,{item:!0,className:n},Je.createElement(Lv,{noWrap:!0,variant:"body2",className:"njs-cell-footer"},t.footnote))):null};class ox{constructor(){this.timer=null,this.next=null,this.running=!1}start(){this.running||(this.running=!0,this.scheduleNext())}scheduleNext(){this.timer=setTimeout(()=>{this.doNext()},10)}async doNext(){const e=this.next;this.next=null,e?(await e(),this.scheduleNext()):this.stop()}schedule(e){this.next=e,this.start()}stop(){this.running&&(clearTimeout(this.timer),this.timer=null,this.running=!1)}}const sx=e=>{let{sn:t,snOptions:r,snPlugins:i,layout:o,appLayout:s,halo:a}=e;const{component:l}=t,{theme:u,language:c,constraints:d,keyboardNavigation:h}=ye.exports.useContext(Qy),[p]=ye.exports.useState(()=>new ox),[f,m]=ye.exports.useState(!1),[y,g]=ye.exports.useState(0),[v,b,w]=$b(),[E,x]=ye.exports.useState(null),_=ye.exports.useCallback(e=>{e&&x(e)},[]);return ye.exports.useEffect(()=>{if(E)return l.created({options:r}),l.mounted(E),m(!0),()=>{p.stop(),l.willUnmount()}},[E,l]),ye.exports.useEffect(()=>{f&&E&&b&&(!l.isHooked&&o&&o.qSelectionInfo&&o.qSelectionInfo.qInSelections||p.schedule(()=>{const e=[];return d.passive||e.push("passive"),d.active||e.push("interact"),d.select||e.push("select"),a.app&&a.app.session&&e.push("fetch"),Promise.resolve(l.render({layout:o,options:r,plugins:i,embed:a.public.nebbie,context:n({constraints:d,theme:a.public.theme,appLayout:s,keyboardNavigation:h},l.isHooked?{}:{logicalSize:t.logicalSize({layout:o}),localeInfo:(s||{}).qLocaleInfo,permissions:e})})).then(e=>{!1!==e&&(0===y&&"function"==typeof r.onInitialRender&&r.onInitialRender.call(null),g(y+1))})}))},[b,r,i,E,w,o,s,u,c,d,f,h]),Je.createElement("div",{ref:v,"data-render-count":y,style:{position:"relative",height:"100%"},className:"njs-viz"},Je.createElement("div",{ref:_,style:{position:"absolute",width:"100%",height:"100%"}}))},ax=(e,t)=>{switch(t.type){case"LOADING":return n(n({},e),{},{loading:!0});case"LOADED":return n(n({},e),{},{loaded:!0,loading:!1,longRunningQuery:!1,error:null,sn:t.sn,visualization:t.visualization});case"RENDER":return n(n({},e),{},{loaded:!0,loading:!1,longRunningQuery:!1,error:null});case"LONG_RUNNING_QUERY":return n(n({},e),{},{longRunningQuery:!0});case"ERROR":return n(n({},e),{},{loading:!1,longRunningQuery:!1,error:t.error});default:throw new Error("Unhandled type: ".concat(t.type))}},lx=e=>{let{delay:t=750}=e;const[n,r]=ye.exports.useState(!1);return ye.exports.useEffect(()=>{const e=setTimeout(()=>r(!0),t);return()=>clearTimeout(e)},[]),n?Je.createElement(ex,null):null},ux=e=>!e.qError||7005===e.qError.qErrorCode,cx=(e,t,n,r,i)=>[...Array(e).keys()].map(e=>{const o=!(!t||!t[e]),s=o&&t[e].qError&&7005===t[e].qError.qErrorCode,a=o&&!s&&t[e].qError,l="".concat(a?r:s?s&&t[e].qCalcCondMsg||i:o&&t[e].qFallbackTitle||""),u=n(e);return{description:u?"".concat(u).concat(l.length?":":""):null,label:l,missing:t&&!o&&!a&&e>=t.length||s,error:a}}),dx=e=>e&&(Array.isArray(e)?e:[e])||[],hx=(e,t,n,r)=>{const i=r.dimensions.min(),o=r.measures.min(),s=r.resolveLayout(t);return{reqDimErrors:cx(i,dx(s.qDimensionInfo),e=>r.dimensions.description(n,e),e.get("Visualization.Invalid.Dimension"),e.get("Visualization.UnfulfilledCalculationCondition")),reqMeasErrors:cx(o,dx(s.qMeasureInfo),e=>r.measures.description(n,e),e.get("Visualization.Invalid.Measure"),e.get("Visualization.UnfulfilledCalculationCondition"))}},px=ye.exports.forwardRef((e,t)=>{let{halo:r,model:i,initialSnOptions:o,initialSnPlugins:s,initialError:a,onMount:l,currentId:u}=e;const{app:c,types:d}=r,{nebbie:h}=r.public,{translator:p,language:f,keyboardNavigation:m}=ye.exports.useContext(Qy),y=Ff(),[g,v,b]=$b(),[w,E]=ye.exports.useReducer(ax,{loading:!1,loaded:!1,longRunningQuery:!1,error:(x=a)?{title:x.message}:null,sn:null,visualization:null});var x;const[_,{validating:S,canCancel:C,canRetry:k},T]=dg(i),[O]=hg(c),[L,I,R]=$b(),[P,N]=ye.exports.useState(o),[A,D]=ye.exports.useState(s),[M]=Ww(c,i),[q,j]=ye.exports.useState(!1),F=ye.exports.useRef({enter:null,leave:null}),z=ye.exports.useRef({focusToolbarButton(e){this.emit(e?"focus_toolbar_last":"focus_toolbar_first")}});ye.exports.useEffect(()=>{Vw(z.current)},[]),z.current.blurCallback=e=>{r.root.toggleFocusOfCells(),e&&R&&R.focus()},z.current.refocusContent=()=>{w.sn.component&&"function"==typeof w.sn.component.focus&&w.sn.component.focus()},ye.exports.useEffect(()=>{if(a||!O||!_)return;if(w.visualization===_.visualization&&w.sn)return void(async e=>{const[t,n]=await(async(e,t,n,r)=>{let{targets:i}=n;const{hasUnfulfilledErrors:o,aggMinD:s,aggMinM:a,hasLayoutErrors:l,layoutErrors:u}=((e,t,n)=>{let r=!1,i=0,o=0,s=!1,a=!1;const l=[];for(let u=0;u<t.length;++u){const c=t[u],d=c.dimensions.min(),h=c.measures.min(),p=c.resolveLayout(n),f=dx(p.qDimensionInfo).filter(ux),m=dx(p.qMeasureInfo).filter(ux);if(i+=d,o+=h,(f.length<d||m.length<h)&&(r=!0),p.qError){s=!0,a=7005===p.qError.qErrorCode;const t=a&&p.qCalcCondMsg?p.qCalcCondMsg:e.get(a?"Visualization.UnfulfilledCalculationCondition":"Visualization.LayoutError");l.push({title:t,descriptions:[]})}}return{hasUnfulfilledErrors:r,aggMinD:i,aggMinM:o,hasLayoutErrors:s,layoutErrors:l}})(e,i,t),c=[],d=[];let h=null;for(let b=0;b<i.length;++b){const n=i[b];if(!l&&o){const i=h||await r.getProperties();h=i;const o=hx(e,t,i,n);c.push(...o.reqDimErrors),d.push(...o.reqMeasErrors)}}const p=c.filter(e=>!(e.missing||e.error)).length,f=e.get("Visualization.Incomplete.Dimensions",[p,s]),m=d.filter(e=>!(e.missing||e.error)).length,y=e.get("Visualization.Incomplete.Measures",[m,a]),g=[{title:f,descriptions:[...c]},{title:y,descriptions:[...d]}],v=l?u:g;return[l||o,{title:l?u[0].title:e.get("Visualization.Incomplete"),data:v}]})(p,_,e.generator.qae.data,i);E(t?{type:"ERROR",error:n}:{type:"RENDER"}),(e=>{let{sn:t,layout:n,model:r}=e;const i=t&&t.component&&t.component.selections;if(i&&i.id&&r.id&&i.id===r.id){if(n&&n.qSelectionInfo&&n.qSelectionInfo.qInSelections&&!i.isModal()){const{targets:e}=t.generator.qae.data;i.goModal(e[0].propertyPath)}n.qSelectionInfo&&n.qSelectionInfo.qInSelections||i.isModal()&&i.noModal()}})({sn:w.sn,layout:_,model:i})})(w.sn);const e=d.getSupportedVersion(_.visualization,_.version);if(e)return(async(e,t)=>{E({type:"LOADING"});const n=await(async e=>{let{dispatch:t,types:n,visualization:r,version:i,model:o,app:s,selections:a,nebbie:l,focusHandler:u}=e;try{return(await(async e=>{let{types:t,name:n,version:r}=e;return await t.get({name:n,version:r}).supernova()})({types:n,name:r,version:i})).create({model:o,app:s,selections:a,nebbie:l,focusHandler:u})}catch(e){t({type:"ERROR",error:{title:e.message}})}})({dispatch:E,types:d,visualization:e,version:t,model:i,app:c,selections:M,nebbie:h,focusHandler:z.current});n&&(E({type:"LOADED",sn:n,visualization:e}),l())})(_.visualization,e),()=>{};E({type:"ERROR",error:{title:"Could not find a version of '".concat(_.visualization,"' that supports current object version. Did you forget to register ").concat(_.visualization,"?")}})},[d,w.sn,i,_,O,f]),ye.exports.useEffect(()=>{if(!S)return;const e=setTimeout(()=>E({type:"LONG_RUNNING_QUERY"}),2e3);return()=>clearTimeout(e)},[S]),ye.exports.useImperativeHandle(t,()=>({getQae:()=>w.sn.generator.qae,toggleFocus(e){"function"==typeof w.sn.component.focus&&(e?w.sn.component.focus():w.sn.component.blur())},setSnOptions:N,setSnPlugins:D,async takeSnapshot(){const{width:e,height:t}=v;let n=JSON.parse(JSON.stringify(_));return"function"==typeof w.sn.component.setSnapshotData&&(n=await w.sn.component.setSnapshotData(n)||n),{key:String(+Date.now()),meta:{language:p.language(),theme:y.name,appLayout:O,size:{width:Math.round(e),height:Math.round(t)}},layout:n}},async exportImage(){if("function"!=typeof r.config.snapshot.capture)throw new Error("Stardust embed has not been configured with snapshot.capture callback");const e=await this.takeSnapshot();return r.config.snapshot.capture(e)}}),[w.sn,I,v,_,y.name,O]);let B=null;return w.loading&&!w.longRunningQuery?B=Je.createElement(lx,null):w.error?B=Je.createElement(VE,w.error):w.loaded&&(B=Je.createElement(sx,{key:_.visualization,sn:w.sn,halo:r,snOptions:P,snPlugins:A,layout:_,appLayout:O})),Je.createElement(pv,{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden"},elevation:0,square:!0,className:"njs-cell",ref:g,onMouseEnter:()=>{F.current.leave&&clearTimeout(F.current.leave),F.enter||(F.current.enter=setTimeout(()=>{j(!0),F.current.enter=null},250))},onMouseLeave:()=>{F.current.enter&&clearTimeout(F.current.enter),F.current.leave||(F.current.leave=setTimeout(()=>{j(!1),F.current.leave=null},750))}},Je.createElement(db,{container:!0,direction:"column",spacing:0,style:n({position:"relative",width:"100%",height:"100%",padding:y.spacing(1)},w.longRunningQuery?{opacity:"0.3"}:{})},b&&_&&w.sn&&Je.createElement(nx,{layout:_,sn:w.sn,anchorEl:b,hovering:q,focusHandler:z.current},"\xa0"),Je.createElement(db,{tabIndex:m?0:-1,onKeyDown:m?e=>{["Enter"," ","Spacebar"].includes(e.key)&&r.root.toggleFocusOfCells(u)}:null,item:!0,xs:!0,style:{height:"100%"},ref:L},B),Je.createElement(ix,{layout:_})),w.longRunningQuery&&Je.createElement(YE,{canCancel:C,canRetry:k,api:T}))});function fx(e){let{halo:t,element:n,model:r,initialSnOptions:i,initialSnPlugins:o,onMount:s,initialError:a}=e;const{root:l}=t,u=Je.createRef(),c=xE(),d=nd.createPortal(Je.createElement(px,{ref:u,halo:t,model:r,currentId:c,initialSnOptions:i,initialSnPlugins:o,initialError:a,onMount:s}),n,r.id),h=()=>{l.remove(d),r.removeListener("closed",h)};return r.on("closed",h),l.add(d),l.addCell(c,u),[h,u]}function mx(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function yx(e,t){return mx(e)&&mx(t)?JSON.stringify(e)===JSON.stringify(t):!Array.isArray(e)&&!Array.isArray(t)&&e===t}function gx(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;const r=[];return Object.keys(t).forEach(i=>{const o=t[i];"object"!=typeof n[i]||"object"!=typeof o||Array.isArray(o)?yx(o,n[i])||r.push({qPath:e+i,qOp:"add",qValue:JSON.stringify(t[i])}):r.push(...gx("".concat(e).concat(i,"/"),t[i],n[i]))}),r}function vx(e){if(!Array.isArray(e))throw new Error("Invalid plugin format: plugins should be an array!");e.forEach(e=>{if("object"!=typeof e)throw new Error("Invalid plugin format: a plugin should be an object");if("object"!=typeof e.info||"string"!=typeof e.info.name)throw new Error("Invalid plugin format: a plugin should have an info object containing a name");if("function"!=typeof e.fn)throw new Error('Invalid plugin format: The plugin "'.concat(e.info.name,'" has no "fn" function'))})}const bx=()=>{};function wx(){let{model:e,halo:t,initialError:r,onDestroy:i=(async()=>{})}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=bx,s=null,a=null,l=null;const u=new Promise(e=>{l=e});let c={},d=[];const h=async e=>{a?(async()=>{await u,s.current.setSnOptions(n(n({},c),e))})():c=n(n({},c),e)},p=async e=>{vx(e),a?(async()=>{await u,s.current.setSnPlugins(e)})():d=e};return{id:e.id,async destroy(){await i(),o(),o=bx},async convertTo(n){let r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const i=await jE({halo:t,model:e,cellRef:s,newType:n});return r&&(e.__snInterceptor?await e.__snInterceptor.setProperties.call(e,i.qProperty):await e.setProperties(i.qProperty)),i},__DO_NOT_USE__:{mount(n){if(a)throw new Error("Already mounted");return a=n,[o,s]=fx({halo:t,element:n,model:e,initialSnOptions:c,initialSnPlugins:d,initialError:r,onMount:l}),u},async applyProperties(t){const n=gx("/",t,await e.getEffectiveProperties());if(n.length)return e.applyPatches(n,!0)},options(e){h(e)},plugins(e){p(e)},exportImage:()=>s.current.exportImage(),takeSnapshot:()=>s.current.takeSnapshot()}}}async function Ex(e,t,n,r){const i=wx({model:e,halo:n,initialError:r,onDestroy:arguments.length>4&&void 0!==arguments[4]?arguments[4]:async()=>{}});return t.options&&i.__DO_NOT_USE__.options(t.options),t.plugins&&i.__DO_NOT_USE__.plugins(t.plugins),t.element&&await i.__DO_NOT_USE__.mount(t.element),i}async function xx(e,t){let n,{type:r,version:i,fields:o,properties:s,options:a,plugins:l,element:u}=e,c={};try{const e=t.types.get({name:r,version:i});c=await e.initialProperties(s);const n=await e.supernova();o&&CE({sn:n,properties:c,fields:o}),s&&n&&n.qae.properties.onChange&&n.qae.properties.onChange.call({},c)}catch(e){n=e,c={qInfo:{qType:r},visualization:r}}const d=await t.app.createSessionObject(c);lg.set(d.id,d);const h=(e=>{const t=sg({type:"SET",value:e});return()=>{t(),lg.clear(e.id)}})(d);return Ex(d,{options:a,plugins:l,element:u},t,n,async()=>{await t.app.destroySessionObject(d.id),h()})}async function _x(e,t){let{id:n,options:r,plugins:i,element:o}=e;const s="".concat(n);let a=ng.get(s);a||(a=t.app.getObject(n),ng.set(s,a));const l=await a;return lg.set(s,l),Ex(l,{options:r,plugins:i,element:o},t)}function Sx(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{isEnabled:t=>!0===e[t]}}const Cx=x.bind(null,!0),kx={},{isArray:Tx}=Array;function Ox(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Lx(e){return void 0===e}function Ix(e,t){return function(e){return"function"==typeof e}(e[t])||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function Rx(e,t){const n=t.substring(1).split("/").slice(0,-1);let r;return n.forEach((t,i)=>{if(i===n.length)return;r=+t;const o=isNaN(r)?{}:[];e[r||t]=Lx(e[r||t])?o:e[t],e=e[r||t]}),e}function Px(e,t){let n=!0;if(Ox(e)&&Ox(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach(r=>{Px(e[r],t[r])||(n=!1)}),n);if(Tx(e)&&Tx(t)){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n+=1)if(!Px(e[n],t[n]))return!1;return!0}return e===t}kx.generate=function(e,t,n){n=n||"";let r=[];return Object.keys(t).forEach(i=>{const o=function(e){return e?Cx({},{val:e}).val:e}(t[i]),s=e[i],a="".concat(n,"/").concat(i);Px(o,s)||Ix(t,i)||(Lx(s)?r.push({op:"add",path:a,value:o}):Ox(o)&&Ox(s)?r=r.concat(kx.generate(s,o,a)):Tx(o)&&Tx(s)?r=r.concat(function(e,t,n){let r=[];const i=e.slice();let o=-1;function s(e,t,n){if(e[n]&&Lx(e[n].qInfo))return null;if(e[n]&&e[n].qInfo.qId===t)return n;for(let r=0,i=e.length;r<i;r+=1)if(e[r]&&e[r].qInfo.qId===t)return r;return-1}if(Px(t,i))return r;if(!Lx(t[0])&&Lx(t[0].qInfo))return r.push({op:"replace",path:n,value:t}),r;for(let a=i.length-1;a>=0;a-=1)o=s(t,i[a].qInfo&&i[a].qInfo.qId,a),-1===o?(r.push({op:"remove",path:"".concat(n,"/").concat(a)}),i.splice(a,1)):r=r.concat(kx.generate(i[a],t[o],"".concat(n,"/").concat(a)));for(let a=0,l=t.length;a<l;a+=1)o=s(i,t[a].qInfo&&t[a].qInfo.qId),-1===o?(r.push({op:"add",path:"".concat(n,"/").concat(a),value:t[a]}),i.splice(a,0,t[a])):o!==a&&(r.push({op:"move",path:"".concat(n,"/").concat(a),from:"".concat(n,"/").concat(o)}),i.splice(a,0,i.splice(o,1)[0]));return r}(s,o,a)):r.push({op:"replace",path:"".concat(n,"/").concat(i),value:o}))}),Object.keys(e).forEach(i=>{Lx(t[i])&&!Ix(e,i)&&r.push({op:"remove",path:"".concat(n,"/").concat(i)})}),r},kx.apply=function(e,t){t.forEach(t=>{let n=Rx(e,t.path),r=t.path.split("/").splice(-1)[0],i=r&&isNaN(+r)?n[r]:n[+r]||n;const o=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(n=null,i=e),"add"===t.op||"replace"===t.op)if(Tx(n))"-"===r&&(r=n.length),n.splice(+r,"add"===t.op?0:1,t.value);else if(Tx(i)&&Tx(t.value)){const e=t.value.slice();i.length=0,i.push(...e)}else if(Ox(i)&&Ox(t.value))s=i,Object.keys(s).forEach(e=>{Object.getOwnPropertyDescriptor(s,e).configurable&&!Ix(s,e)&&delete s[e]}),Cx(i,t.value);else{if(!n)throw new Error("Patchee is not an object we can patch");n[r]=t.value}else if("move"===t.op){const i=Rx(e,t.from);Tx(n)?n.splice(+r,0,i.splice(+o,1)[0]):(n[r]=i[o],delete i[o])}else"remove"===t.op&&(Tx(n)?n.splice(+r,1):delete n[r]);var s})},kx.clone=function(e){return Cx({},e)},kx.createPatch=function(e,t,n){const r={op:e.toLowerCase(),path:n};return"move"===r.op?r.from=t:void 0!==t&&(r.value=t),r},kx.updateObject=function(e,t){Object.keys(e).length?kx.apply(e,kx.generate(e,t)):Cx(e,t)};const Nx=e=>t=>{const r=(i=n(n({},t),{},{action(){"function"==typeof t.action&&t.action.call(r,e),r.emit("changed")},enabled:()=>"function"!=typeof t.enabled||t.enabled.call(r,e),active:"function"==typeof t.active?function(){return t.active.call(r,e)}:void 0}),Object.keys(p.prototype).forEach(e=>{i[e]=p.prototype[e]}),p.init(i),i);var i;return r};let Ax,Dx;function Mx(e,t){if(!e)return!0;if(t.length!==e.length)return!0;for(let n=0;n<t.length;n++)if(e[n]!==t[n])return!0;return!1}function qx(e){let{explicitResize:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.__hooks={obsolete:!1,error:!1,waitForData:!1,chain:{promise:null,resolve:()=>{}},list:[],snaps:[],actions:{list:[]},pendingEffects:[],pendingLayoutEffects:[],pendingPromises:[],resizer:{setters:[],explicitResize:t},accessibility:{setter:null}}}function jx(e){zx(e.__hooks.list,!0),e.__hooks.obsolete=!0,e.__hooks.list.length=0,e.__hooks.pendingEffects.length=0,e.__hooks.pendingLayoutEffects.length=0,e.__hooks.actions=null,e.__hooks.imperativeHandle=null,e.__hooks.resizer=null,e.__hooks.accessibility=null,e.__actionsDispatch=null,clearTimeout(e.__hooks.micro),cancelAnimationFrame(e.__hooks.macro)}async function Fx(e){if(e.__hooks.obsolete)return Promise.resolve();Dx=-1,Ax=e;try{Ax.fn.call(null)}catch(e){console.error(e)}Ax.__hooks.initiated=!0;const t=Ax.__hooks;return Vx(Ax),Dx=void 0,Ax=void 0,t.chain.promise||(t.chain.promise=new Promise(e=>{t.chain.resolve=e})),function(e){zx(e.pendingLayoutEffects)}(t),function(e){e.macro||(e.macro=requestAnimationFrame(()=>{!function(e){zx(e.pendingEffects),e.macro=null,function(e){e.pendingPromises.length||e.micro||e.macro||(e.chain.promise=null,e.chain.resolve(!e.waitForData))}(e)}(e)}))}(t),t.chain.promise}function zx(e,t){try{e.forEach(e=>{"function"==typeof e.teardown&&e.teardown(),t||(e.teardown=e.value[0]())})}catch(e){console.error(e)}e.length=0}function Bx(e,t){try{return Promise.all(e.__hooks.snaps.map(e=>Promise.resolve(e.fn(t)))).then(e=>e[e.length-1])}catch(e){console.error(e)}return Promise.resolve()}function Hx(e){return e.__hooks.imperativeHandle}function Vx(e){e.__actionsDispatch&&e.__hooks.actions.changed&&(e.__actionsDispatch(e.__hooks.actions.list.slice()),e.__hooks.actions.changed=!1)}function Wx(e,t){e.__actionsDispatch=t,e.__hooks&&(e.__hooks.actions.changed=!0,Vx(e))}function Ux(e){if(void 0===Ax)throw new Error("Invalid stardust hook call. Hooks can only be called inside a visualization component.");const t=Ax.__hooks;return e>=t.list.length&&t.list.push({}),t.list[e]}function $x(e){return Ux(++Dx),Ax.context[e]}function Qx(e){e.__hooks&&(e.__hooks.resizer.update=!0)}function Kx(e){return{__hooked:!0,fn:e,initiate:qx,run:Fx,teardown:jx,runSnaps:Bx,focus:e_,blur:t_,observeActions:Wx,getImperativeHandle:Hx,updateRectOnNextRun:Qx}}function Zx(e){const t=Ux(++Dx);if(!t.value){t.component=Ax;const n=e=>{if(t.component.__hooks.obsolete)return;const n="function"==typeof e?e(t.value[0]):e;var r;n!==t.value[0]&&(t.value[0]=n,(r=t.component).__hooks.micro||(r.__hooks.micro=setTimeout(()=>{r.__hooks.micro=null,Fx(r)},0)))};t.value=["function"==typeof e?e():e,n]}return t.value}function Gx(e,t){const n=Ux(++Dx);Mx(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],-1===Ax.__hooks.pendingEffects.indexOf(n)&&Ax.__hooks.pendingEffects.push(n))}function Xx(e,t){const n=Ux(++Dx);Mx(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],Ax.__hooks.pendingLayoutEffects.push(n))}function Jx(e,t){const n=Ux(++Dx);return Mx(n.value?n.value[0]:void 0,t)&&(n.value=[t,e()]),n.value[1]}function Yx(){return $x("element")}function e_(e){const t=e.__hooks.accessibility;t.active||(t.active=!0,t&&t.setter&&t.setter({active:!0,enabled:t.enabled,blur:t.exitFunction,focus:t.focusFunction,focusSelection:t.focusSelectionFunction}))}function t_(e){const t=e.__hooks.accessibility;t&&t.active&&(t.active=!1,t&&t.setter&&t.setter({active:!1,enabled:t.enabled,blur:t.exitFunction,focus:t.focusFunction,focusSelection:t.focusSelectionFunction}))}const n_={app:null,model:null,actions:null,selections:null,created:()=>{},mounted:()=>{},render:()=>{},resize:()=>{},willUnmount:()=>{},destroy:()=>{},emit:()=>{},getViewState:()=>{},observeActions(){},setSnapshotData:e=>Promise.resolve(e)},r_=Object.keys(n_);function i_(e,t,r){"function"==typeof e.component&&(e.component=Kx(e.component));const[i,o]=e.component&&e.component.__hooked?function(e,t,r){const i=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):void 0;let o=!1;const s={},a=["appLayout","constraints"],l={};t.model&&t.model.session||(l.select=!0);const u={context:{model:t.model,app:t.app,global:i,selections:t.selections,nebbie:t.nebbie,element:void 0,deviceType:r.deviceType,theme:void 0,translator:r.translator,layout:{},appLayout:{},keyboardNavigation:t.keyboardNavigation,focusHandler:t.focusHandler,constraints:l,options:{},plugins:[]},fn:e.component.fn,created(){},mounted(n){this.context.element=n,e.component.initiate(u,{explicitResize:!!t.explicitResize})},render(t){let r=!o||!1;if(t){if(t.layout&&t.layout!==this.context.layout&&(r=!0,this.context.layout=t.layout),t.context&&t.context.theme&&(this.context.theme=t.context.theme),t.context&&!!t.context.keyboardNavigation!=!!this.context.keyboardNavigation&&(this.context.keyboardNavigation=!!t.context.keyboardNavigation,r=!0),t.context&&t.context.focusHandler&&(this.context.focusHandler=t.context.focusHandler),t.options){const e={};let n=!1;Object.keys(t.options).forEach(r=>{e[r]=t.options[r],this.context.options[r]!==t.options[r]&&(n=!0)}),n&&(this.context.options=e,r=!0)}if(t.plugins){let e=this.context.plugins.length!==t.plugins.length;t.plugins.forEach((t,n)=>{this.context.plugins[n]!==t&&(e=!0)}),e&&(this.context.plugins=[...t.plugins],r=!0)}a.forEach(e=>{const i=t.context;if(i&&Object.prototype.hasOwnProperty.call(i,e)){let t=JSON.stringify(i[e]);"constraints"===e&&(t=JSON.stringify(n(n({},i[e]),l))),t!==s[e]&&(r=!0,s[e]=t,this.context[e]=JSON.parse(t))}})}else r=!0;return this.context.theme&&this.context.theme.name()!==s.themeName&&(r=!0,s.themeName=this.context.theme.name()),this.context.translator.language()!==s.language&&(r=!0,s.language=u.context.translator.language()),r?(o=!0,this.currentResult=e.component.run(this),this.currentResult):this.currentResult||Promise.resolve()},resize(){return e.component.updateRectOnNextRun(this),this.render()},willUnmount(){e.component.teardown(this)},setSnapshotData(t){return e.component.runSnaps(this,t)},focus(){e.component.focus(this)},blur(){e.component.blur(this)},getImperativeHandle(){return e.component.getImperativeHandle(this)},destroy(){},observeActions(t){e.component.observeActions(this,t)},isHooked:!0};return a.forEach(e=>{s[e]=JSON.stringify(u.context[e])}),s.themeName=u.context.theme?u.context.theme.name():void 0,s.language=u.context.translator?u.context.translator.language():void 0,Object.assign(u,{selections:t.selections}),[u,null]}(e,t,r):function(e,t){const r=n({},n_);var i;i=r,Object.keys(p.prototype).forEach(e=>{i[e]=p.prototype[e]}),p.init(i);const o={emit(){r.emit(...arguments)}};Object.keys(e.component||{}).forEach(t=>{-1!==r_.indexOf(t)?r[t]=e.component[t].bind(o):o[t]=e.component[t]});const s=function(e){let{sn:t,component:n}=e;const r={},i=[],o=Nx(n);return((t.definition.selectionToolbar||{}).items||[]).forEach(e=>{const t=o(e);r[e.key]=t,i.push(t)}),(t.definition.actions||[]).forEach(e=>{const t=o(e);r[e.key]=t}),{actions:r,selectionToolbarItems:i,destroy(){i.length=0}}}({sn:e,component:o}),a=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):null;return Object.assign(o,{model:t.model,app:t.app,global:a,selections:t.selections,actions:s.actions}),Object.assign(r,{actions:s.actions,model:t.model,app:t.app,selections:t.selections}),[r,s]}(e,t),s=[];return t.model.__snInterceptor&&t.model.__snInterceptor.teardown(),e.qae.properties.onChange&&(t.model.__snInterceptor={setProperties:t.model.setProperties,applyPatches:t.model.applyPatches,teardown:void 0},t.model.setProperties=function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return e.qae.properties.onChange.call({model:t.model},...r),t.model.__snInterceptor.setProperties.call(this,...r)},t.model.applyPatches=function(n,r){return t.model[r?"getEffectiveProperties":"getProperties"]().then(i=>{const o=kx.clone(i),s=n.map(e=>({op:e.qOp,value:JSON.parse(e.qValue),path:e.qPath}));kx.apply(i,s),e.qae.properties.onChange.call({model:t.model},i);const a=kx.generate(o,i).map(e=>({qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path}));return t.model.__snInterceptor.applyPatches.call(this,a,r)})},t.model.__snInterceptor.teardown=()=>{t.model.setProperties=t.model.__snInterceptor.setProperties,delete t.model.__snInterceptor},s.push(t.model.__snInterceptor.teardown)),{generator:e,component:i,selectionToolbar:{items:o?o.selectionToolbarItems:[]},destroy(){s.forEach(e=>e())},logicalSize:e.definition.logicalSize||(()=>!1)}}const o_=()=>{};function s_(e,t){return void 0===e?()=>t:()=>e}function a_(e){const t=e||{};return{min:"function"==typeof t.min?t.min:s_(t.min,0),max:"function"==typeof t.max?t.max:s_(t.max,1e3),added:t.added||t.add||o_,description:t.description||o_,moved:t.moved||t.move||o_,removed:t.removed||t.remove||o_,replaced:t.replaced||t.replace||o_,isDefined:()=>!!e}}function l_(e){const t=e.path||"/qHyperCubeDef",n=t.slice(0,-3);if(!1===/\/(qHyperCube|qListObject)$/.test(n)){const e=n.includes("/qHyperCube")?"qHyperCubeDef":"qListObjectDef";throw new Error("Incorrect definition for ".concat(e," at ").concat(t,". Valid paths include /qHyperCubeDef or /qListObjectDef, e.g. data/qHyperCubeDef"))}return{propertyPath:t,layoutPath:n,resolveLayout:e=>((e,t,n)=>{const r=t.split("/");let i=e;if(void 0===i)return n;for(let o=0;o<r.length;++o)if(""!==r[o]){if(void 0===i[r[o]])return n;i=i[r[o]]}return i})(e,n,{}),dimensions:a_(e.dimensions),measures:a_(e.measures)}}function u_(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.properties||{};return t.properties&&(t.properties.initial||t.properties.onChange)&&(n=t.properties.initial,e=t.properties.onChange),{properties:{initial:n,onChange:e},data:{targets:((t.data||{}).targets||[]).map(l_)},exportProperties:t.exportProperties,importProperties:t.importProperties}}function c_(e,t){let n;n="function"==typeof e?e(t):e;const r={qae:u_(n.qae),component:n.component||{},create:e=>i_(r,e,t),definition:{}};return Object.keys(n).forEach(e=>{r[e]||(r.definition[e]=n[e])}),r}var d_={exports:{}};!function(e,t){var n;t=e.exports=d,n="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:function(){},t.SEMVER_SPEC_VERSION="2.0.0";var r=Number.MAX_SAFE_INTEGER||9007199254740991,i=t.re=[],o=t.src=[],s=t.tokens={},a=0;function l(e){s[e]=a++}l("NUMERICIDENTIFIER"),o[s.NUMERICIDENTIFIER]="0|[1-9]\\d*",l("NUMERICIDENTIFIERLOOSE"),o[s.NUMERICIDENTIFIERLOOSE]="[0-9]+",l("NONNUMERICIDENTIFIER"),o[s.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*",l("MAINVERSION"),o[s.MAINVERSION]="("+o[s.NUMERICIDENTIFIER]+")\\.("+o[s.NUMERICIDENTIFIER]+")\\.("+o[s.NUMERICIDENTIFIER]+")",l("MAINVERSIONLOOSE"),o[s.MAINVERSIONLOOSE]="("+o[s.NUMERICIDENTIFIERLOOSE]+")\\.("+o[s.NUMERICIDENTIFIERLOOSE]+")\\.("+o[s.NUMERICIDENTIFIERLOOSE]+")",l("PRERELEASEIDENTIFIER"),o[s.PRERELEASEIDENTIFIER]="(?:"+o[s.NUMERICIDENTIFIER]+"|"+o[s.NONNUMERICIDENTIFIER]+")",l("PRERELEASEIDENTIFIERLOOSE"),o[s.PRERELEASEIDENTIFIERLOOSE]="(?:"+o[s.NUMERICIDENTIFIERLOOSE]+"|"+o[s.NONNUMERICIDENTIFIER]+")",l("PRERELEASE"),o[s.PRERELEASE]="(?:-("+o[s.PRERELEASEIDENTIFIER]+"(?:\\."+o[s.PRERELEASEIDENTIFIER]+")*))",l("PRERELEASELOOSE"),o[s.PRERELEASELOOSE]="(?:-?("+o[s.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+o[s.PRERELEASEIDENTIFIERLOOSE]+")*))",l("BUILDIDENTIFIER"),o[s.BUILDIDENTIFIER]="[0-9A-Za-z-]+",l("BUILD"),o[s.BUILD]="(?:\\+("+o[s.BUILDIDENTIFIER]+"(?:\\."+o[s.BUILDIDENTIFIER]+")*))",l("FULL"),l("FULLPLAIN"),o[s.FULLPLAIN]="v?"+o[s.MAINVERSION]+o[s.PRERELEASE]+"?"+o[s.BUILD]+"?",o[s.FULL]="^"+o[s.FULLPLAIN]+"$",l("LOOSEPLAIN"),o[s.LOOSEPLAIN]="[v=\\s]*"+o[s.MAINVERSIONLOOSE]+o[s.PRERELEASELOOSE]+"?"+o[s.BUILD]+"?",l("LOOSE"),o[s.LOOSE]="^"+o[s.LOOSEPLAIN]+"$",l("GTLT"),o[s.GTLT]="((?:<|>)?=?)",l("XRANGEIDENTIFIERLOOSE"),o[s.XRANGEIDENTIFIERLOOSE]=o[s.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",l("XRANGEIDENTIFIER"),o[s.XRANGEIDENTIFIER]=o[s.NUMERICIDENTIFIER]+"|x|X|\\*",l("XRANGEPLAIN"),o[s.XRANGEPLAIN]="[v=\\s]*("+o[s.XRANGEIDENTIFIER]+")(?:\\.("+o[s.XRANGEIDENTIFIER]+")(?:\\.("+o[s.XRANGEIDENTIFIER]+")(?:"+o[s.PRERELEASE]+")?"+o[s.BUILD]+"?)?)?",l("XRANGEPLAINLOOSE"),o[s.XRANGEPLAINLOOSE]="[v=\\s]*("+o[s.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+o[s.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+o[s.XRANGEIDENTIFIERLOOSE]+")(?:"+o[s.PRERELEASELOOSE]+")?"+o[s.BUILD]+"?)?)?",l("XRANGE"),o[s.XRANGE]="^"+o[s.GTLT]+"\\s*"+o[s.XRANGEPLAIN]+"$",l("XRANGELOOSE"),o[s.XRANGELOOSE]="^"+o[s.GTLT]+"\\s*"+o[s.XRANGEPLAINLOOSE]+"$",l("COERCE"),o[s.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",l("COERCERTL"),i[s.COERCERTL]=new RegExp(o[s.COERCE],"g"),l("LONETILDE"),o[s.LONETILDE]="(?:~>?)",l("TILDETRIM"),o[s.TILDETRIM]="(\\s*)"+o[s.LONETILDE]+"\\s+",i[s.TILDETRIM]=new RegExp(o[s.TILDETRIM],"g"),l("TILDE"),o[s.TILDE]="^"+o[s.LONETILDE]+o[s.XRANGEPLAIN]+"$",l("TILDELOOSE"),o[s.TILDELOOSE]="^"+o[s.LONETILDE]+o[s.XRANGEPLAINLOOSE]+"$",l("LONECARET"),o[s.LONECARET]="(?:\\^)",l("CARETTRIM"),o[s.CARETTRIM]="(\\s*)"+o[s.LONECARET]+"\\s+",i[s.CARETTRIM]=new RegExp(o[s.CARETTRIM],"g"),l("CARET"),o[s.CARET]="^"+o[s.LONECARET]+o[s.XRANGEPLAIN]+"$",l("CARETLOOSE"),o[s.CARETLOOSE]="^"+o[s.LONECARET]+o[s.XRANGEPLAINLOOSE]+"$",l("COMPARATORLOOSE"),o[s.COMPARATORLOOSE]="^"+o[s.GTLT]+"\\s*("+o[s.LOOSEPLAIN]+")$|^$",l("COMPARATOR"),o[s.COMPARATOR]="^"+o[s.GTLT]+"\\s*("+o[s.FULLPLAIN]+")$|^$",l("COMPARATORTRIM"),o[s.COMPARATORTRIM]="(\\s*)"+o[s.GTLT]+"\\s*("+o[s.LOOSEPLAIN]+"|"+o[s.XRANGEPLAIN]+")",i[s.COMPARATORTRIM]=new RegExp(o[s.COMPARATORTRIM],"g"),l("HYPHENRANGE"),o[s.HYPHENRANGE]="^\\s*("+o[s.XRANGEPLAIN]+")\\s+-\\s+("+o[s.XRANGEPLAIN]+")\\s*$",l("HYPHENRANGELOOSE"),o[s.HYPHENRANGELOOSE]="^\\s*("+o[s.XRANGEPLAINLOOSE]+")\\s+-\\s+("+o[s.XRANGEPLAINLOOSE]+")\\s*$",l("STAR"),o[s.STAR]="(<|>)?=?\\s*\\*";for(var u=0;u<a;u++)n(u,o[u]),i[u]||(i[u]=new RegExp(o[u]));function c(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof d)return e;if("string"!=typeof e)return null;if(e.length>256)return null;if(!(t.loose?i[s.LOOSE]:i[s.FULL]).test(e))return null;try{return new d(e,t)}catch(e){return null}}function d(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof d){if(e.loose===t.loose)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>256)throw new TypeError("version is longer than 256 characters");if(!(this instanceof d))return new d(e,t);n("SemVer",e,t),this.options=t,this.loose=!!t.loose;var o=e.trim().match(t.loose?i[s.LOOSE]:i[s.FULL]);if(!o)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+o[1],this.minor=+o[2],this.patch=+o[3],this.major>r||this.major<0)throw new TypeError("Invalid major version");if(this.minor>r||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>r||this.patch<0)throw new TypeError("Invalid patch version");this.prerelease=o[4]?o[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<r)return t}return e})):[],this.build=o[5]?o[5].split("."):[],this.format()}t.parse=c,t.valid=function(e,t){var n=c(e,t);return n?n.version:null},t.clean=function(e,t){var n=c(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null},t.SemVer=d,d.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},d.prototype.toString=function(){return this.version},d.prototype.compare=function(e){return n("SemVer.compare",this.version,this.options,e),e instanceof d||(e=new d(e,this.options)),this.compareMain(e)||this.comparePre(e)},d.prototype.compareMain=function(e){return e instanceof d||(e=new d(e,this.options)),p(this.major,e.major)||p(this.minor,e.minor)||p(this.patch,e.patch)},d.prototype.comparePre=function(e){if(e instanceof d||(e=new d(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var r=this.prerelease[t],i=e.prerelease[t];if(n("prerelease compare",t,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return p(r,i)}while(++t)},d.prototype.compareBuild=function(e){e instanceof d||(e=new d(e,this.options));var t=0;do{var r=this.build[t],i=e.build[t];if(n("prerelease compare",t,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return p(r,i)}while(++t)},d.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},t.inc=function(e,t,n,r){"string"==typeof n&&(r=n,n=void 0);try{return new d(e,n).inc(t,r).version}catch(e){return null}},t.diff=function(e,t){if(g(e,t))return null;var n=c(e),r=c(t),i="";if(n.prerelease.length||r.prerelease.length){i="pre";var o="prerelease"}for(var s in n)if(("major"===s||"minor"===s||"patch"===s)&&n[s]!==r[s])return i+s;return o},t.compareIdentifiers=p;var h=/^[0-9]+$/;function p(e,t){var n=h.test(e),r=h.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1}function f(e,t,n){return new d(e,n).compare(new d(t,n))}function m(e,t,n){return f(e,t,n)>0}function y(e,t,n){return f(e,t,n)<0}function g(e,t,n){return 0===f(e,t,n)}function v(e,t,n){return 0!==f(e,t,n)}function b(e,t,n){return f(e,t,n)>=0}function w(e,t,n){return f(e,t,n)<=0}function E(e,t,n,r){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return g(e,n,r);case"!=":return v(e,n,r);case">":return m(e,n,r);case">=":return b(e,n,r);case"<":return y(e,n,r);case"<=":return w(e,n,r);default:throw new TypeError("Invalid operator: "+t)}}function x(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof x){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof x))return new x(e,t);n("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.value=this.semver===_?"":this.operator+this.semver.version,n("comp",this)}t.rcompareIdentifiers=function(e,t){return p(t,e)},t.major=function(e,t){return new d(e,t).major},t.minor=function(e,t){return new d(e,t).minor},t.patch=function(e,t){return new d(e,t).patch},t.compare=f,t.compareLoose=function(e,t){return f(e,t,!0)},t.compareBuild=function(e,t,n){var r=new d(e,n),i=new d(t,n);return r.compare(i)||r.compareBuild(i)},t.rcompare=function(e,t,n){return f(t,e,n)},t.sort=function(e,n){return e.sort((function(e,r){return t.compareBuild(e,r,n)}))},t.rsort=function(e,n){return e.sort((function(e,r){return t.compareBuild(r,e,n)}))},t.gt=m,t.lt=y,t.eq=g,t.neq=v,t.gte=b,t.lte=w,t.cmp=E,t.Comparator=x;var _={};function S(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof S)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new S(e.raw,t);if(e instanceof x)return new S(e.value,t);if(!(this instanceof S))return new S(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}function C(e,t){for(var n=!0,r=e.slice(),i=r.pop();n&&r.length;)n=r.every((function(e){return i.intersects(e,t)})),i=r.pop();return n}function k(e){return!e||"x"===e.toLowerCase()||"*"===e}function T(e,t,n,r,i,o,s,a,l,u,c,d,h){return((t=k(n)?"":k(r)?">="+n+".0.0":k(i)?">="+n+"."+r+".0":">="+t)+" "+(a=k(l)?"":k(u)?"<"+(+l+1)+".0.0":k(c)?"<"+l+"."+(+u+1)+".0":d?"<="+l+"."+u+"."+c+"-"+d:"<="+a)).trim()}function O(e,t,r){for(var i=0;i<e.length;i++)if(!e[i].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(i=0;i<e.length;i++)if(n(e[i].semver),e[i].semver!==_&&e[i].semver.prerelease.length>0){var o=e[i].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch)return!0}return!1}return!0}function L(e,t,n){try{t=new S(t,n)}catch(e){return!1}return t.test(e)}function I(e,t,n,r){var i,o,s,a,l;switch(e=new d(e,r),t=new S(t,r),n){case">":i=m,o=w,s=y,a=">",l=">=";break;case"<":i=y,o=b,s=m,a="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(L(e,t,r))return!1;for(var u=0;u<t.set.length;++u){var c=null,h=null;if(t.set[u].forEach((function(e){e.semver===_&&(e=new x(">=0.0.0")),h=h||e,i(e.semver,(c=c||e).semver,r)?c=e:s(e.semver,h.semver,r)&&(h=e)})),c.operator===a||c.operator===l)return!1;if((!h.operator||h.operator===a)&&o(e,h.semver))return!1;if(h.operator===l&&s(e,h.semver))return!1}return!0}x.prototype.parse=function(e){var t=e.match(this.options.loose?i[s.COMPARATORLOOSE]:i[s.COMPARATOR]);if(!t)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==t[1]?t[1]:"","="===this.operator&&(this.operator=""),this.semver=t[2]?new d(t[2],this.options.loose):_},x.prototype.toString=function(){return this.value},x.prototype.test=function(e){if(n("Comparator.test",e,this.options.loose),this.semver===_||e===_)return!0;if("string"==typeof e)try{e=new d(e,this.options)}catch(e){return!1}return E(e,this.operator,this.semver,this.options)},x.prototype.intersects=function(e,t){if(!(e instanceof x))throw new TypeError("a Comparator is required");var n;if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(n=new S(e.value,t),L(this.value,n,t));if(""===e.operator)return""===e.value||(n=new S(this.value,t),L(e.semver,n,t));var r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),i=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),o=this.semver.version===e.semver.version,s=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),a=E(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=E(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||i||o&&s||a||l},t.Range=S,S.prototype.format=function(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range},S.prototype.toString=function(){return this.range},S.prototype.parseRange=function(e){var t=this.options.loose;e=(e=e.trim()).replace(t?i[s.HYPHENRANGELOOSE]:i[s.HYPHENRANGE],T),n("hyphen replace",e),e=e.replace(i[s.COMPARATORTRIM],"$1$2$3"),n("comparator trim",e,i[s.COMPARATORTRIM]),e=(e=(e=e.replace(i[s.TILDETRIM],"$1~")).replace(i[s.CARETTRIM],"$1^")).split(/\s+/).join(" ");var r=t?i[s.COMPARATORLOOSE]:i[s.COMPARATOR],o=e.split(" ").map((function(e){return function(e,t){return n("comp",e,t),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){return n("caret",e,t),e.replace(t.loose?i[s.CARETLOOSE]:i[s.CARET],(function(t,r,i,o,s){var a;return n("caret",e,t,r,i,o,s),k(r)?a="":k(i)?a=">="+r+".0.0 <"+(+r+1)+".0.0":k(o)?a="0"===r?">="+r+"."+i+".0 <"+r+"."+(+i+1)+".0":">="+r+"."+i+".0 <"+(+r+1)+".0.0":s?(n("replaceCaret pr",s),a="0"===r?"0"===i?">="+r+"."+i+"."+o+"-"+s+" <"+r+"."+i+"."+(+o+1):">="+r+"."+i+"."+o+"-"+s+" <"+r+"."+(+i+1)+".0":">="+r+"."+i+"."+o+"-"+s+" <"+(+r+1)+".0.0"):(n("no pr"),a="0"===r?"0"===i?">="+r+"."+i+"."+o+" <"+r+"."+i+"."+(+o+1):">="+r+"."+i+"."+o+" <"+r+"."+(+i+1)+".0":">="+r+"."+i+"."+o+" <"+(+r+1)+".0.0"),n("caret return",a),a}))}(e,t)})).join(" ")}(e,t),n("caret",e),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){return e.replace(t.loose?i[s.TILDELOOSE]:i[s.TILDE],(function(t,r,i,o,s){var a;return n("tilde",e,t,r,i,o,s),k(r)?a="":k(i)?a=">="+r+".0.0 <"+(+r+1)+".0.0":k(o)?a=">="+r+"."+i+".0 <"+r+"."+(+i+1)+".0":s?(n("replaceTilde pr",s),a=">="+r+"."+i+"."+o+"-"+s+" <"+r+"."+(+i+1)+".0"):a=">="+r+"."+i+"."+o+" <"+r+"."+(+i+1)+".0",n("tilde return",a),a}))}(e,t)})).join(" ")}(e,t),n("tildes",e),e=function(e,t){return n("replaceXRanges",e,t),e.split(/\s+/).map((function(e){return function(e,t){return(e=e.trim()).replace(t.loose?i[s.XRANGELOOSE]:i[s.XRANGE],(function(r,i,o,s,a,l){n("xRange",e,r,i,o,s,a,l);var u=k(o),c=u||k(s),d=c||k(a);return"="===i&&d&&(i=""),l=t.includePrerelease?"-0":"",u?r=">"===i||"<"===i?"<0.0.0-0":"*":i&&d?(c&&(s=0),a=0,">"===i?(i=">=",c?(o=+o+1,s=0,a=0):(s=+s+1,a=0)):"<="===i&&(i="<",c?o=+o+1:s=+s+1),r=i+o+"."+s+"."+a+l):c?r=">="+o+".0.0"+l+" <"+(+o+1)+".0.0"+l:d&&(r=">="+o+"."+s+".0"+l+" <"+o+"."+(+s+1)+".0"+l),n("xRange return",r),r}))}(e,t)})).join(" ")}(e,t),n("xrange",e),e=function(e,t){return n("replaceStars",e,t),e.trim().replace(i[s.STAR],"")}(e,t),n("stars",e),e}(e,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(o=o.filter((function(e){return!!e.match(r)}))),o.map((function(e){return new x(e,this.options)}),this)},S.prototype.intersects=function(e,t){if(!(e instanceof S))throw new TypeError("a Range is required");return this.set.some((function(n){return C(n,t)&&e.set.some((function(e){return C(e,t)&&n.every((function(n){return e.every((function(e){return n.intersects(e,t)}))}))}))}))},t.toComparators=function(e,t){return new S(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))},S.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new d(e,this.options)}catch(e){return!1}for(var t=0;t<this.set.length;t++)if(O(this.set[t],e,this.options))return!0;return!1},t.satisfies=L,t.maxSatisfying=function(e,t,n){var r=null,i=null;try{var o=new S(t,n)}catch(e){return null}return e.forEach((function(e){o.test(e)&&(r&&-1!==i.compare(e)||(i=new d(r=e,n)))})),r},t.minSatisfying=function(e,t,n){var r=null,i=null;try{var o=new S(t,n)}catch(e){return null}return e.forEach((function(e){o.test(e)&&(r&&1!==i.compare(e)||(i=new d(r=e,n)))})),r},t.minVersion=function(e,t){e=new S(e,t);var n=new d("0.0.0");if(e.test(n))return n;if(n=new d("0.0.0-0"),e.test(n))return n;n=null;for(var r=0;r<e.set.length;++r)e.set[r].forEach((function(e){var t=new d(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":n&&!m(n,t)||(n=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}));return n&&e.test(n)?n:null},t.validRange=function(e,t){try{return new S(e,t).range||"*"}catch(e){return null}},t.ltr=function(e,t,n){return I(e,t,"<",n)},t.gtr=function(e,t,n){return I(e,t,">",n)},t.outside=I,t.prerelease=function(e,t){var n=c(e,t);return n&&n.prerelease.length?n.prerelease:null},t.intersects=function(e,t,n){return e=new S(e,n),t=new S(t,n),e.intersects(t)},t.coerce=function(e,t){if(e instanceof d)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;var n=null;if((t=t||{}).rtl){for(var r;(r=i[s.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&r.index+r[0].length===n.index+n[0].length||(n=r),i[s.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;i[s.COERCERTL].lastIndex=-1}else n=e.match(i[s.COERCE]);return null===n?null:c(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t)}}(d_,d_.exports);const h_={};async function p_(e,t,n,r){let{config:i}=n;const o="".concat(e,"__").concat(t);if(!h_[o]){const n="".concat(e).concat(t&&" v".concat(t)||"");if(r&&"function"!=typeof r)throw new Error("load of visualization '".concat(n,"' is not a fuction, wrap load promise in function"));const s=(r||i.load)({name:e,version:t}),a=Promise.resolve(s);h_[o]=a.then(e=>{if(!e)throw new Error("load() of visualization '".concat(n,"' resolved to an invalid object"));return e}).catch(e=>{throw new Error("Failed to load visualization: '".concat(n,"'"))})}return h_[o]}function f_(e,t){const r={};let i=null;return{get:e=>r[e],register:(o,s)=>{if(r[o])throw new Error("Supernova '".concat(e,"@").concat(o,"' already registered."));r[o]=function(e,t){let r,i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{meta:s}=o,a={name:e.name,version:e.version,supportsPropertiesVersion:e=>!(e&&s&&s.deps&&s.deps.properties)||d_.exports.satisfies(e,s.deps.properties),supernova:()=>p_(a.name,a.version,t,o.load).then(e=>(r=r||c_(e,t.public.galaxy),i=JSON.stringify(r.qae.properties.initial),r)),initialProperties(e){return this.supernova().then(()=>n(n({qInfo:{qType:a.name},visualization:a.name,version:a.version,showTitles:!0},JSON.parse(i)),e))}};return a}({name:e,version:o},t,s),i=null},getMatchingVersionFromProperties:e=>{var t;i||(t=Object.keys(r),i=[...t.filter(e=>"undefined"===e),...t.filter(e=>"undefined"!==e).map(e=>e.split(".").map(e=>parseInt(e,10))).sort((e,t)=>e[0]-t[0]||e[1]-t[1]||e[2]-t[2]).map(e=>e.join("."))]);for(let n=i.length-1;n>=0;n--)if(r[i[n]].supportsPropertiesVersion(e))return i[n];return null},versions:r}}function m_(e){let{halo:t,parent:n}=e;const r={},i=n||{get:()=>{}};return{register:(e,n)=>{r[e.name]||(r[e.name]=f_(e.name,t)),r[e.name].register(e.version,n)},getSupportedVersion:(e,t)=>r[e]?r[e].getMatchingVersionFromProperties(t):null,get(e){const{name:t}=e;let{version:n}=e;return r[t]?r[t].versions[n]||(n=Object.keys(r[t].versions)[0]):this.register({name:t,version:n}),r[t].get(n)||i.get(e)},getList:()=>Object.keys(r).map(e=>({name:e,versions:Object.keys(r[e].versions).map(e=>"undefined"===e?void 0:e)})),clearFromCache:e=>{r[e]&&(r[e]=void 0),function(e){Object.keys(h_).forEach(t=>{t.split("__")[0]===e&&(h_[t]=void 0)})}(e)}}}const y_=function(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n(n({},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),e)},g_=function(){return[...arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],...arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]].filter((e,t,n)=>n.indexOf(e)===t)},v_=(e,t)=>({context:y_(e.context,t.context),load:t.load||e.load,snapshot:n({},t.snapshot||e.snapshot),types:g_(e.types,t.types),themes:g_(e.themes,t.themes),flags:y_(e.flags,t.flags),anything:y_(e.anything,t.anything)});var b_=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const r=c(t.context.language);function i(e,o){if(o)return i.createConfiguration(o)(e);let s=n(n({},t.context),{},{translator:r.translator});const[a]=Og({app:e,context:s}),l=fe({themes:t.themes,root:a}),u={galaxy:{translator:r.translator,flags:Sx(t.flags),deviceType:me(t.context.deviceType),anything:t.anything},theme:l.externalAPI,translator:r.translator,nebbie:null},c={app:e,root:a,config:t,public:u,context:s,types:null},d=m_({halo:c});t.types.forEach(e=>d.register({name:e.name,version:e.version},{meta:e.meta,load:e.load}));let h=l.setTheme(t.context.theme),p=null,f=null;const m={render:async e=>(await h,e.id?_x(e,c):xx(e,c)),context:async e=>{let t;["theme","language","constraints","keyboardNavigation"].forEach(n=>{Object.prototype.hasOwnProperty.call(e,n)&&e[n]!==s[n]&&(t||(t={}),t[n]=e[n])}),t&&(s=n(n(n({},s),t),{},{translator:r.translator}),c.context=s,t.theme&&(h=l.setTheme(t.theme),await h),t.language&&c.public.translator.language(t.language),a.context(s))},selections:async()=>(p||(p={mount(t){f||(f=oE({element:t,app:e}),a.add(f))},unmount(){f&&(a.remove(f),f=null)}}),p),field:async t=>{const n="string"==typeof t?t:t.qLibraryId;if(!n)throw new Error("Field identifier must be provided");return{fieldName:n,mount(r){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!r)throw new Error("Element for ".concat(n," not provided"));if(this._instance)throw new Error("Field ".concat(n," already mounted"));this._instance=vE({element:r,app:e,fieldIdentifier:t,options:i,stateName:i.stateName||"$"}),a.add(this._instance)},unmount(){this._instance&&(a.remove(this._instance),this._instance=null)}}},getRegisteredTypes:d.getList,__DO_NOT_USE__:{types:d}};return c.public.nebbie=m,c.types=d,m}return i.createConfiguration=n=>e(v_(t,n)),i.config=t,i}({context:{theme:"light",language:"en-US",deviceType:"auto",constraints:{},keyboardNavigation:!1},load:()=>{},types:[],themes:[],anything:{},snapshot:{get:async e=>{const t=await fetch("/njs/snapshot/".concat(e));if(!t.ok)throw new Error(t.statusText);return t.json()},capture:e=>fetch("/njs/capture",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}).then(e=>e.json())}});e.__DO_NOT_USE__={generator:c_,hook:Kx,theme:he,locale:l},e.conversion=FE,e.embed=b_,e.onTakeSnapshot=function(e){const t=Ux(++Dx);t.value||(t.value=1,Ax.__hooks.snaps.push(t)),t.fn=e},e.useAction=function(e,t){const[n]=Zx({action(){n._config.action.call(null)}});return n.component||(n.component=Ax,Ax.__hooks.actions.list.push(n)),Jx(()=>{const t=e();n._config=t,n.active=t.active||!1,n.disabled=t.disabled||!1,n.hidden=t.hidden||!1,n.label=t.label||"",n.getSvgIconShape=t.icon?()=>t.icon:void 0,n.key=t.key||n.component.__hooks.actions.list.length,n.component.__hooks.actions.changed=!0},t),n.action},e.useApp=function(){const e=$x("app");return e&&e.session?e:void 0},e.useAppLayout=function(){return $x("appLayout")},e.useConstraints=function(){return $x("constraints")},e.useDeviceType=function(){return $x("deviceType")},e.useEffect=Gx,e.useElement=Yx,e.useEmbed=function(){return $x("nebbie")},e.useGlobal=function(){const e=$x("global");return e&&e.session?e:void 0},e.useImperativeHandle=function(e,t){const n=Ux(++Dx);if(n.imperative||(n.imperative=!0),Mx(n.value?n.value[0]:void 0,t)){const r=e();n.value=[t,r],Ax.__hooks.imperativeHandle=r}},e.useKeyboard=function(){const e=$x("keyboardNavigation"),t=$x("focusHandler");if(!Ax.__hooks.accessibility.exitFunction){const e=(function(e){const n=this.__hooks.accessibility;n.enabled&&n.active&&(t_(this),t&&t.blurCallback&&t.blurCallback(e))}).bind(Ax);Ax.__hooks.accessibility.exitFunction=e;const n=(function(){const e=this.__hooks.accessibility;e.enabled&&!e.active&&(t&&t.blurCallback&&t.blurCallback(!1),e_(this))}).bind(Ax);Ax.__hooks.accessibility.focusFunction=n;const r=(function(e){this.__hooks.accessibility.enabled&&t&&t.focusToolbarButton&&t.focusToolbarButton(e)}).bind(Ax);Ax.__hooks.accessibility.focusSelectionFunction=r}const n=Ax.__hooks.accessibility.focusFunction,r=Ax.__hooks.accessibility.exitFunction,i=Ax.__hooks.accessibility.focusSelectionFunction,[o,s]=Zx({active:!1,enabled:e,blur:r,focus:n,focusSelection:i});return Ax.__hooks.accessibility.setter=s,Ax.__hooks.accessibility.enabled=e,Gx(()=>s({active:!1,enabled:e,blur:r,focus:n,focusSelection:i}),[e]),o},e.useLayout=function(){return $x("layout")},e.useMemo=Jx,e.useModel=function(){const e=$x("model");return e&&e.session?e:void 0},e.useOptions=function(){return $x("options")},e.usePlugins=function(){return $x("plugins")},e.usePromise=function(e,t){const[n,r]=Zx(()=>({resolved:void 0,rejected:void 0,state:"pending"})),i=Ux(++Dx);return i.component||(i.component=Ax),Xx(()=>{let t=!1;return i.teardown=()=>{t=!0,i.teardown=null;const e=i.component.__hooks.pendingPromises.indexOf(i);e>-1&&i.component.__hooks.pendingPromises.splice(e,1)},e().then(e=>{t||(i.teardown&&i.teardown(),r({resolved:e,rejected:void 0,state:"resolved"}))}).catch(e=>{t||(i.teardown&&i.teardown(),r({resolved:void 0,rejected:e,state:"resolved"}))}),i.component.__hooks.pendingPromises.push(i),()=>{i.teardown&&i.teardown()}},t),[n.resolved,n.rejected]},e.useRect=function(){const e=Yx(),t=Ax.__hooks.resizer,[n,r]=Zx(()=>{const{left:t,top:n,width:r,height:i}=e.getBoundingClientRect();return{left:t,top:n,width:r,height:i}});return t.current=n,-1===t.setters.indexOf(r)&&t.setters.push(r),t.update&&t.resize&&(t.update=!1,t.resize()),Xx(()=>{if(t.initiated)return;t.initiated=!0;const n=()=>{const{left:n,top:r,width:i,height:o}=e.getBoundingClientRect(),s=t.current;s.width===i&&s.height===o&&s.left===n&&s.top===r||t.setters.forEach(e=>e({left:n,top:r,width:i,height:o}))};if(t.resize=()=>{n()},t.explicitResize)return()=>{t.resize=void 0};if("function"==typeof ResizeObserver){let r=new ResizeObserver(n);return r.observe(e),()=>{r.unobserve(e),r.disconnect(e),r=null,t.resize=void 0}}},[e]),n},e.useRenderState=function(){Ux(++Dx);const e=Ax.__hooks;return{pending:()=>{e.waitForData=!0},restore:()=>{e.waitForData=!1}}},e.useSelections=function(){return $x("selections")},e.useStaleLayout=function(){const e=$x("layout"),[t]=Zx({current:e});return e.qSelectionInfo&&e.qSelectionInfo.qInSelections||(t.current=e),t.current},e.useState=Zx,e.useTheme=function(){return $x("theme")},e.useTranslator=function(){return $x("translator")},Object.defineProperty(e,"__esModule",{value:!0})}(t)},wwtf:function(e,t,n){e.exports=function(){"use strict";function e(){return{getObjectApi:()=>Promise.resolve({id:"sessapi - ".concat((Math.random()+1).toString(36).substring(2))})}}function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function n(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?t(Object(i),!0).forEach((function(t){r(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):t(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return e=>Promise.resolve(n({on:()=>{},once:()=>{},getLayout:()=>Promise.resolve({}),id:e&&e.qInfo&&e.qInfo.qId?e.qInfo.qId:"sel - ".concat((Math.random()+1).toString(36).substring(2))},e))}const o=function(e){let{args:t=[],defaultValue:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"function"==typeof e?e(...t):void 0!==e?e:n},s=function(e){let{defaultValue:t,async:n=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(){for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];const a=o(e,{defaultValue:t,args:i});return n?Promise.resolve(a):a}};async function a(e,t){const n=e.map(t);return e[(await Promise.all(n)).findIndex(e=>e)]}const l=["id","session"],u=["addListener","emit","listeners","on","once","removeAllListeners","removeListener","setMaxListerners"];function c(e){return!u.includes(e)}function d(e){const{id:t,session:r}=e,i=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,l);return n({id:o(t,{defaultValue:"object - ".concat((Math.random()+1).toString(36).substring(2))}),session:o(r,{defaultValue:!0}),on:()=>{},once:()=>{}},Object.entries(i).reduce((e,t)=>{let[r,i]=t;return n(n({},e),{},{[r]:s(i,{async:c(r)})})},{}))}function h(e){if(!e.getLayout)throw new Error('Generic object is missing "getLayout"');const t=o(e.getLayout);if(!t.qInfo||!t.qInfo.qId)throw new Error('Generic object is missing "qId" for path "getLayout().qInfo.qId"')}function p(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.forEach(h);const t=e.map(d);return async e=>{const n=a(t,async t=>(await t.getLayout()).qInfo.qId===e);return Promise.resolve(n)}}function f(){return()=>Promise.resolve({id:"app-layout"})}return{fromGenericObjects:t=>{if(!Array.isArray(t)||0===t.length)throw new Error('No "genericObjects" specified');const n=new e,r=new i,o=new p(t),s=new f,a={id:"app - ".concat((Math.random()+1).toString(36).substring(2)),session:n,createSessionObject:r,getObject:o,getAppLayout:s};return Promise.resolve(a)}}}()},zUnb:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.r(t);let i=!1;const o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=e},get useDeprecatedSynchronousErrorHandling(){return i}};function s(e){setTimeout(()=>{throw e},0)}const a={closed:!0,next(e){},error(e){if(o.useDeprecatedSynchronousErrorHandling)throw e;s(e)},complete(){}},l=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))();function u(e){return null!==e&&"object"==typeof e}const c=(()=>{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})();let d=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:i,_unsubscribe:o,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(let e=0;e<n.length;++e)n[e].remove(this);if(r(o)){i&&(this._unsubscribe=void 0);try{o.call(this)}catch(a){t=a instanceof c?h(a.errors):[a]}}if(l(s)){let e=-1,n=s.length;for(;++e<n;){const n=s[e];if(u(n))try{n.unsubscribe()}catch(a){t=t||[],a instanceof c?t=t.concat(h(a.errors)):t.push(a)}}}if(t)throw new c(t)}add(t){let n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){const t=n;n=new e,n._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:r}=n;if(null===r)n._parentOrParents=this;else if(r instanceof e){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}const i=this._subscriptions;return null===i?this._subscriptions=[n]:i.push(n),n}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}return e.EMPTY=function(e){return e.closed=!0,e}(new e),e})();function h(e){return e.reduce((e,t)=>e.concat(t instanceof c?t.errors:t),[])}const p=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class f extends d{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a;break;case 1:if(!e){this.destination=a;break}if("object"==typeof e){e instanceof f?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new m(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new m(this,e,t,n)}}[p](){return this}static create(e,t,n){const r=new f(e,t,n);return r.syncErrorThrowable=!1,r}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class m extends f{constructor(e,t,n,i){let o;super(),this._parentSubscriber=e;let s=this;r(t)?o=t:t&&(o=t.next,n=t.error,i=t.complete,t!==a&&(s=Object.create(t),r(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=o,this._error=n,this._complete=i}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;o.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=o;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):s(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;s(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);o.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),o.useDeprecatedSynchronousErrorHandling)throw n;s(n)}}__tryOrSetError(e,t,n){if(!o.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return o.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(s(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const y=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function g(e){return e}let v=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:r}=this,i=function(e,t,n){if(e){if(e instanceof f)return e;if(e[p])return e[p]()}return e||t||n?new f(e,t,n):new f(a)}(e,t,n);if(i.add(r?r.call(i,this.source):this.source||o.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),o.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i}_trySubscribe(e){try{return this._subscribe(e)}catch(t){o.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:r}=e;if(t||r)return!1;e=n&&n instanceof f?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=b(t))((t,n)=>{let r;r=this.subscribe(t=>{try{e(t)}catch(i){n(i),r&&r.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[y](){return this}pipe(...e){return 0===e.length?this:(0===(t=e).length?g:1===t.length?t[0]:function(e){return t.reduce((e,t)=>t(e),e)})(this);var t}toPromise(e){return new(e=b(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function b(e){if(e||(e=o.Promise||Promise),!e)throw new Error("no Promise impl found");return e}const w=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})();class E extends d{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}class x extends f{constructor(e){super(e),this.destination=e}}let _=(()=>{class e extends v{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new x(this)}lift(e){const t=new S(this,this);return t.operator=e,t}next(e){if(this.closed)throw new w;if(!this.isStopped){const{observers:t}=this,n=t.length,r=t.slice();for(let i=0;i<n;i++)r[i].next(e)}}error(e){if(this.closed)throw new w;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,r=t.slice();for(let i=0;i<n;i++)r[i].error(e);this.observers.length=0}complete(){if(this.closed)throw new w;this.isStopped=!0;const{observers:e}=this,t=e.length,n=e.slice();for(let r=0;r<t;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new w;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new w;return this.hasError?(e.error(this.thrownError),d.EMPTY):this.isStopped?(e.complete(),d.EMPTY):(this.observers.push(e),new E(this,e))}asObservable(){const e=new v;return e.source=this,e}}return e.create=(e,t)=>new S(e,t),e})();class S extends _{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):d.EMPTY}}function C(e){return e&&"function"==typeof e.schedule}function k(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new T(e,t))}}class T{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new O(e,this.project,this.thisArg))}}class O extends f{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}const L=e=>t=>{for(let n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()};function I(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const R=I(),P=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function N(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const A=e=>{if(e&&"function"==typeof e[y])return r=e,e=>{const t=r[y]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(P(e))return L(e);if(N(e))return n=e,e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,s),e);if(e&&"function"==typeof e[R])return t=e,e=>{const n=t[R]();for(;;){let t;try{t=n.next()}catch(r){return e.error(r),e}if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e};{const t=u(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var t,n,r};function D(e,t){return new v(n=>{const r=new d;let i=0;return r.add(t.schedule((function(){i!==e.length?(n.next(e[i++]),n.closed||r.add(this.schedule())):n.complete()}))),r})}function M(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[y]}(e))return function(e,t){return new v(n=>{const r=new d;return r.add(t.schedule(()=>{const i=e[y]();r.add(i.subscribe({next(e){r.add(t.schedule(()=>n.next(e)))},error(e){r.add(t.schedule(()=>n.error(e)))},complete(){r.add(t.schedule(()=>n.complete()))}}))})),r})}(e,t);if(N(e))return function(e,t){return new v(n=>{const r=new d;return r.add(t.schedule(()=>e.then(e=>{r.add(t.schedule(()=>{n.next(e),r.add(t.schedule(()=>n.complete()))}))},e=>{r.add(t.schedule(()=>n.error(e)))}))),r})}(e,t);if(P(e))return D(e,t);if(function(e){return e&&"function"==typeof e[R]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new v(n=>{const r=new d;let i;return r.add(()=>{i&&"function"==typeof i.return&&i.return()}),r.add(t.schedule(()=>{i=e[R](),r.add(t.schedule((function(){if(n.closed)return;let e,t;try{const n=i.next();e=n.value,t=n.done}catch(r){return void n.error(r)}t?n.complete():(n.next(e),this.schedule())})))})),r})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof v?e:new v(A(e))}class q extends f{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class j extends f{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function F(e,t){if(!t.closed)return e instanceof v?e.subscribe(t):A(e)(t)}class z{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new B(e,this.project,this.concurrent))}}class B extends j{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t)}_innerSub(e){const t=new q(this),n=this.destination;n.add(t);const r=F(e,t);r!==t&&n.add(r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyComplete(){const e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function H(e,t){return t?D(e,t):new v(L(e))}function V(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];return C(r)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof r&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof v?e[0]:function(e=Number.POSITIVE_INFINITY){return function e(t,n,r=Number.POSITIVE_INFINITY){return"function"==typeof n?i=>i.pipe(e((e,r)=>M(t(e,r)).pipe(k((t,i)=>n(e,t,r,i))),r)):("number"==typeof n&&(r=n),e=>e.lift(new z(t,r)))}(g,e)}(t)(H(e,n))}function W(){return function(e){return e.lift(new U(e))}}class U{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const r=new $(e,n),i=t.subscribe(r);return r.closed||(r.connection=n.connect()),i}}class $ extends f{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class Q extends v{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new d,e.add(this.source.subscribe(new Z(this.getSubject(),this))),e.closed&&(this._connection=null,e=d.EMPTY)),e}refCount(){return W()(this)}}const K=(()=>{const e=Q.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class Z extends x{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}function G(){return new _}function X(e){return{toString:e}.toString()}const J="__parameters__";function Y(e,t,n){return X(()=>{const r=function(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}(t);function i(...e){if(this instanceof i)return r.apply(this,e),this;const t=new i(...e);return n.annotation=t,n;function n(e,n,r){const i=e.hasOwnProperty(J)?e[J]:Object.defineProperty(e,J,{value:[]})[J];for(;i.length<=r;)i.push(null);return(i[r]=i[r]||[]).push(t),e}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const ee=Y("Inject",e=>({token:e})),te=Y("Optional"),ne=Y("Self"),re=Y("SkipSelf");var ie=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function oe(e){for(let t in e)if(e[t]===oe)return t;throw Error("Could not find renamed property on target object.")}function se(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ae(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function le(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function ue(e){return ce(e,e[he])||ce(e,e[me])}function ce(e,t){return t&&t.token===e?t:null}function de(e){return e&&(e.hasOwnProperty(pe)||e.hasOwnProperty(ye))?e[pe]:null}const he=oe({"\u0275prov":oe}),pe=oe({"\u0275inj":oe}),fe=oe({"\u0275provFallback":oe}),me=oe({ngInjectableDef:oe}),ye=oe({ngInjectorDef:oe});function ge(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ge).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function ve(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const be=oe({__forward_ref__:oe});function we(e){return e.__forward_ref__=we,e.toString=function(){return ge(this())},e}function Ee(e){return xe(e)?e():e}function xe(e){return"function"==typeof e&&e.hasOwnProperty(be)&&e.__forward_ref__===we}const _e="undefined"!=typeof globalThis&&globalThis,Se="undefined"!=typeof window&&window,Ce="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,ke="undefined"!=typeof global&&global,Te=_e||ke||Se||Ce,Oe=oe({"\u0275cmp":oe}),Le=oe({"\u0275dir":oe}),Ie=oe({"\u0275pipe":oe}),Re=oe({"\u0275mod":oe}),Pe=oe({"\u0275loc":oe}),Ne=oe({"\u0275fac":oe}),Ae=oe({__NG_ELEMENT_ID__:oe});class De{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=ae({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return"InjectionToken "+this._desc}}const Me=new De("INJECTOR",-1),qe={},je=/\n/gm,Fe="__source",ze=oe({provide:String,useValue:oe});let Be,He=void 0;function Ve(e){const t=He;return He=e,t}function We(e){const t=Be;return Be=e,t}function Ue(e,t=ie.Default){if(void 0===He)throw new Error("inject() must be called from an injection context");return null===He?Ke(e,void 0,t):He.get(e,t&ie.Optional?null:void 0,t)}function $e(e,t=ie.Default){return(Be||Ue)(Ee(e),t)}const Qe=$e;function Ke(e,t,n){const r=ue(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&ie.Optional)return null;if(void 0!==t)return t;throw new Error(`Injector: NOT_FOUND [${ge(e)}]`)}function Ze(e){const t=[];for(let n=0;n<e.length;n++){const r=Ee(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let e=void 0,n=ie.Default;for(let t=0;t<r.length;t++){const i=r[t];i instanceof te||"Optional"===i.ngMetadataName||i===te?n|=ie.Optional:i instanceof re||"SkipSelf"===i.ngMetadataName||i===re?n|=ie.SkipSelf:i instanceof ne||"Self"===i.ngMetadataName||i===ne?n|=ie.Self:e=i instanceof ee||i===ee?i.token:i}t.push($e(e,n))}else t.push($e(r))}return t}class Ge{get(e,t=qe){if(t===qe){const t=new Error(`NullInjectorError: No provider for ${ge(e)}!`);throw t.name="NullInjectorError",t}return t}}class Xe{}function Je(e,t){e.forEach(e=>Array.isArray(e)?Je(e,t):t(e))}function Ye(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function et(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}var tt=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),nt=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({});const rt={},it=[];let ot=0;function st(e){return X(()=>{const t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===tt.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||it,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||nt.Emulated,id:"c",styles:e.styles||it,_:null,setInput:null,schemas:e.schemas||null,tView:null},r=e.directives,i=e.features,o=e.pipes;return n.id+=ot++,n.inputs=dt(e.inputs,t),n.outputs=dt(e.outputs),i&&i.forEach(e=>e(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(at):null,n.pipeDefs=o?()=>("function"==typeof o?o():o).map(lt):null,n})}function at(e){return pt(e)||function(e){return e[Le]||null}(e)}function lt(e){return function(e){return e[Ie]||null}(e)}const ut={};function ct(e){const t={type:e.type,bootstrap:e.bootstrap||it,declarations:e.declarations||it,imports:e.imports||it,exports:e.exports||it,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&X(()=>{ut[e.id]=e.type}),t}function dt(e,t){if(null==e)return rt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}const ht=st;function pt(e){return e[Oe]||null}function ft(e,t){return e.hasOwnProperty(Ne)?e[Ne]:null}function mt(e,t){const n=e[Re]||null;if(!n&&!0===t)throw new Error(`Type ${ge(e)} does not have '\u0275mod' property.`);return n}const yt=20,gt=10;function vt(e){return Array.isArray(e)&&"object"==typeof e[1]}function bt(e){return Array.isArray(e)&&!0===e[1]}function wt(e){return 0!=(8&e.flags)}function Et(e){return null!==e.template}function xt(e){return 0!=(512&e[2])}class _t{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function St(){return Ct}function Ct(e){return e.type.prototype.ngOnChanges&&(e.setInput=Tt),kt}function kt(){const e=Ot(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===rt)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function Tt(e,t,n,r){const i=Ot(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:rt,current:null}),o=i.current||(i.current={}),s=i.previous,a=this.declaredInputs[n],l=s[a];o[a]=new _t(l&&l.currentValue,t,s===rt),e[r]=t}function Ot(e){return e.__ngSimpleChanges__||null}St.ngInherit=!0;let Lt=void 0;function It(e){return!!e.listen}const Rt={createRenderer:(e,t)=>void 0!==Lt?Lt:"undefined"!=typeof document?document:void 0};function Pt(e){for(;Array.isArray(e);)e=e[0];return e}function Nt(e,t){return Pt(t[e.index])}function At(e,t){const n=t[e];return vt(n)?n:n[0]}function Dt(e){const t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Mt(e){return 4==(4&e[2])}function qt(e){return 128==(128&e[2])}function jt(e,t){return null===e||null==t?null:e[t]}function Ft(e){e[18]=0}function zt(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const Bt={lFrame:rn(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Ht(){return Bt.bindingsEnabled}function Vt(){return Bt.lFrame.lView}function Wt(){return Bt.lFrame.tView}function Ut(){return Bt.lFrame.previousOrParentTNode}function $t(e,t){Bt.lFrame.previousOrParentTNode=e,Bt.lFrame.isParent=t}function Qt(){return Bt.lFrame.isParent}function Kt(){return Bt.checkNoChangesMode}function Zt(e){Bt.checkNoChangesMode=e}function Gt(e,t){const n=Bt.lFrame;n.bindingIndex=n.bindingRootIndex=e,Xt(t)}function Xt(e){Bt.lFrame.currentDirectiveIndex=e}function Jt(){return Bt.lFrame.currentQueryIndex}function Yt(e){Bt.lFrame.currentQueryIndex=e}function en(e,t){const n=nn();Bt.lFrame=n,n.previousOrParentTNode=t,n.lView=e}function tn(e,t){const n=nn(),r=e[1];Bt.lFrame=n,n.previousOrParentTNode=t,n.lView=e,n.tView=r,n.contextLView=e,n.bindingIndex=r.bindingStartIndex}function nn(){const e=Bt.lFrame,t=null===e?null:e.child;return null===t?rn(e):t}function rn(e){const t={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function on(){const e=Bt.lFrame;return Bt.lFrame=e.parent,e.previousOrParentTNode=null,e.lView=null,e}const sn=on;function an(){const e=on();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ln(e){Bt.lFrame.selectedIndex=e}function un(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const t=e.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:i,ngAfterViewInit:o,ngAfterViewChecked:s,ngOnDestroy:a}=t;r&&(e.contentHooks||(e.contentHooks=[])).push(-n,r),i&&((e.contentHooks||(e.contentHooks=[])).push(n,i),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,i)),o&&(e.viewHooks||(e.viewHooks=[])).push(-n,o),s&&((e.viewHooks||(e.viewHooks=[])).push(n,s),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,s)),null!=a&&(e.destroyHooks||(e.destroyHooks=[])).push(n,a)}}function cn(e,t,n){pn(e,t,3,n)}function dn(e,t,n,r){(3&e[2])===n&&pn(e,t,n,r)}function hn(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function pn(e,t,n,r){const i=null!=r?r:-1;let o=0;for(let s=void 0!==r?65535&e[18]:0;s<t.length;s++)if("number"==typeof t[s+1]){if(o=t[s],null!=r&&o>=r)break}else t[s]<0&&(e[18]+=65536),(o<i||-1==i)&&(fn(e,n,t,s),e[18]=(4294901760&e[18])+s+2),s++}function fn(e,t,n,r){const i=n[r]<0,o=n[r+1],s=e[i?-n[r]:n[r]];i?e[2]>>11<e[18]>>16&&(3&e[2])===t&&(e[2]+=2048,o.call(s)):o.call(s)}class mn{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}function yn(e,t,n){const r=It(e);let i=0;for(;i<n.length;){const o=n[i];if("number"==typeof o){if(0!==o)break;i++;const s=n[i++],a=n[i++],l=n[i++];r?e.setAttribute(t,a,l,s):t.setAttributeNS(s,a,l)}else{const s=o,a=n[++i];64===s.charCodeAt(0)?r&&e.setProperty(t,s,a):r?e.setAttribute(t,s,a):t.setAttribute(s,a),i++}}return i}function gn(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||vn(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function vn(e,t,n,r,i){let o=0,s=e.length;if(-1===t)s=-1;else for(;o<e.length;){const n=e[o++];if("number"==typeof n){if(n===t){s=-1;break}if(n>t){s=o-1;break}}}for(;o<e.length;){const t=e[o];if("number"==typeof t)break;if(t===n){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==s&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}function bn(e){return-1!==e}function wn(e){return 32767&e}function En(e){return e>>16}function xn(e,t){let n=En(e),r=t;for(;n>0;)r=r[15],n--;return r}function _n(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():function(e){return"string"==typeof e?e:null==e?"":""+e}(e)}const Sn=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Te))();function Cn(e){return e instanceof Function?e():e}let kn=!0;function Tn(e){const t=kn;return kn=e,t}let On=0;function Ln(e,t){const n=Rn(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,In(r.data,e),In(t,null),In(r.blueprint,null));const i=Pn(e,t),o=e.injectorIndex;if(bn(i)){const e=wn(i),n=xn(i,t),r=n[1].data;for(let i=0;i<8;i++)t[o+i]=n[e+i]|r[e+i]}return t[o+8]=i,o}function In(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Rn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+8]?-1:e.injectorIndex}function Pn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=t[6],r=1;for(;n&&-1===n.injectorIndex;)n=(t=t[15])?t[6]:null,r++;return n?n.injectorIndex|r<<16:-1}function Nn(e,t,n){!function(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ae)&&(r=n[Ae]),null==r&&(r=n[Ae]=On++);const i=255&r,o=1<<i,s=64&i,a=32&i,l=t.data;128&i?s?a?l[e+7]|=o:l[e+6]|=o:a?l[e+5]|=o:l[e+4]|=o:s?a?l[e+3]|=o:l[e+2]|=o:a?l[e+1]|=o:l[e]|=o}(e,t,n)}function An(e,t,n,r=ie.Default,i){if(null!==e){const i=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Ae)?e[Ae]:void 0;return"number"==typeof t&&t>0?255&t:t}(n);if("function"==typeof i){en(t,e);try{const e=i();if(null!=e||r&ie.Optional)return e;throw new Error(`No provider for ${_n(n)}!`)}finally{sn()}}else if("number"==typeof i){if(-1===i)return new Bn(e,t);let o=null,s=Rn(e,t),a=-1,l=r&ie.Host?t[16][6]:null;for((-1===s||r&ie.SkipSelf)&&(a=-1===s?Pn(e,t):t[s+8],zn(r,!1)?(o=t[1],s=wn(a),t=xn(a,t)):s=-1);-1!==s;){a=t[s+8];const e=t[1];if(Fn(i,s,e.data)){const e=Mn(s,t,n,o,r,l);if(e!==Dn)return e}zn(r,t[1].data[s+8]===l)&&Fn(i,s,t)?(o=e,s=wn(a),t=xn(a,t)):s=-1}}}if(r&ie.Optional&&void 0===i&&(i=null),0==(r&(ie.Self|ie.Host))){const e=t[9],o=We(void 0);try{return e?e.get(n,i,r&ie.Optional):Ke(n,i,r&ie.Optional)}finally{We(o)}}if(r&ie.Optional)return i;throw new Error(`NodeInjector: NOT_FOUND [${_n(n)}]`)}const Dn={};function Mn(e,t,n,r,i,o){const s=t[1],a=s.data[e+8],l=qn(a,s,n,null==r?function(e){return 2==(2&e.flags)}(a)&&kn:r!=s&&3===a.type,i&ie.Host&&o===a);return null!==l?jn(t,s,l,a):Dn}function qn(e,t,n,r,i){const o=e.providerIndexes,s=t.data,a=1048575&o,l=e.directiveStart,u=o>>20,c=i?a+u:e.directiveEnd;for(let d=r?a:a+u;d<c;d++){const e=s[d];if(d<l&&n===e||d>=l&&e.type===n)return d}if(i){const e=s[l];if(e&&Et(e)&&e.type===n)return l}return null}function jn(e,t,n,r){let i=e[n];const o=t.data;if(i instanceof mn){const s=i;if(s.resolving)throw new Error("Circular dep for "+_n(o[n]));const a=Tn(s.canSeeViewProviders);let l;s.resolving=!0,s.injectImpl&&(l=We(s.injectImpl)),en(e,r);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const r=Ct(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{s.injectImpl&&We(l),Tn(a),s.resolving=!1,sn()}}return i}function Fn(e,t,n){const r=64&e,i=32&e;let o;return o=128&e?r?i?n[t+7]:n[t+6]:i?n[t+5]:n[t+4]:r?i?n[t+3]:n[t+2]:i?n[t+1]:n[t],!!(o&1<<e)}function zn(e,t){return!(e&ie.Self||e&ie.Host&&t)}class Bn{constructor(e,t){this._tNode=e,this._lView=t}get(e,t){return An(this._tNode,this._lView,e,void 0,t)}}function Hn(e){const t=e;if(xe(e))return()=>{const e=Hn(Ee(t));return e?e():null};let n=ft(t);if(null===n){const e=de(t);n=e&&e.factory}return n||null}function Vn(e){return X(()=>{const t=e.prototype.constructor,n=t[Ne]||Hn(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const e=i[Ne]||Hn(i);if(e&&e!==n)return e;i=Object.getPrototypeOf(i)}return e=>new e})}function Wn(e){return e.ngDebugContext}function Un(e){return e.ngOriginalError}function $n(e,...t){e.error(...t)}class Qn{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e.ngErrorLogger||$n}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?Wn(e)?Wn(e):this._findContext(Un(e)):null}_findOriginalError(e){let t=Un(e);for(;t&&Un(t);)t=Un(t);return t}}let Kn=!0,Zn=!1;function Gn(){return Zn=!0,Kn}function Xn(e,t){e.__ngContext__=t}function Jn(e){throw new Error("Multiple components match node with tagname "+e.tagName)}function Yn(){throw new Error("Cannot mix multi providers and regular providers")}function er(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const n=t.length;if(i+n===r||e.charCodeAt(i+n)<=32)return i}n=i+1}}const tr="ng-template";function nr(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];if(n&&"class"===i){if(i=e[r],-1!==er(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function rr(e){return 0===e.type&&e.tagName!==tr}function ir(e,t,n){return t===(0!==e.type||n?e.tagName:tr)}function or(e,t,n){let r=4;const i=e.attrs||[],o=function(e){for(let n=0;n<e.length;n++)if(3===(t=e[n])||4===t||6===t)return n;var t;return e.length}(i);let s=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!s)if(4&r){if(r=2|1&r,""!==l&&!ir(e,l,n)||""===l&&1===t.length){if(sr(r))return!1;s=!0}}else{const u=8&r?l:t[++a];if(8&r&&null!==e.attrs){if(!nr(e.attrs,u,n)){if(sr(r))return!1;s=!0}continue}const c=ar(8&r?"class":l,i,rr(e),n);if(-1===c){if(sr(r))return!1;s=!0;continue}if(""!==u){let e;e=c>o?"":i[c+1].toLowerCase();const t=8&r?e:null;if(t&&-1!==er(t,u,0)||2&r&&u!==e){if(sr(r))return!1;s=!0}}}}else{if(!s&&!sr(r)&&!sr(l))return!1;if(s&&sr(l))continue;s=!1,r=l|1&r}}return sr(r)||s}function sr(e){return 0==(1&e)}function ar(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let n=!1;for(;i<t.length;){const r=t[i];if(r===e)return i;if(3===r||6===r)n=!0;else{if(1===r||2===r){let e=t[++i];for(;"string"==typeof e;)e=t[++i];continue}if(4===r)break;if(0===r){i+=4;continue}}i+=n?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function lr(e,t,n=!1){for(let r=0;r<t.length;r++)if(or(e,t[r],n))return!0;return!1}function ur(e,t){return e?":not("+t.trim()+")":t}function cr(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const t=e[++n];i+="["+s+(t.length>0?'="'+t+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""===i||sr(s)||(t+=ur(o,i),i=""),r=s,o=o||!sr(r);n++}return""!==i&&(t+=ur(o,i)),t}const dr={};function hr(e){const t=e[3];return bt(t)?t[3]:t}function pr(e){return mr(e[13])}function fr(e){return mr(e[4])}function mr(e){for(;null!==e&&!bt(e);)e=e[4];return e}function yr(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],o=n[r+1];if(-1!==o){const n=e.data[o];Yt(i),n.contentQueries(2,t[o],o)}}}function gr(e,t,n){return It(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function vr(e,t,n,r,i,o,s,a,l,u){const c=t.blueprint.slice();return c[0]=i,c[2]=140|r,Ft(c),c[3]=c[15]=e,c[8]=n,c[10]=s||e&&e[10],c[11]=a||e&&e[11],c[12]=l||e&&e[12]||null,c[9]=u||e&&e[9]||null,c[6]=o,c[16]=2==t.type?e[16]:c,c}function br(e,t,n,r,i,o){const s=n+yt,a=e.data[s]||function(e,t,n,r,i,o){const s=Ut(),a=Qt(),l=a?s:s&&s.parent,u=e.data[n]=Tr(0,l&&l!==t?l:null,r,n,i,o);return null===e.firstChild&&(e.firstChild=u),s&&(!a||null!=s.child||null===u.parent&&2!==s.type?a||(s.next=u):s.child=u),u}(e,t,s,r,i,o);return $t(a,!0),a}function wr(e,t,n){tn(t,t[6]);try{const r=e.viewQuery;null!==r&&Ur(1,r,n);const i=e.template;null!==i&&_r(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&yr(e,t),e.staticViewQueries&&Ur(2,e.viewQuery,n);const o=e.components;null!==o&&function(e,t){for(let n=0;n<t.length;n++)Br(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),r}finally{t[2]&=-5,an()}}function Er(e,t,n,r){const i=t[2];if(256==(256&i))return;tn(t,t[6]);const o=Kt();try{Ft(t),Bt.lFrame.bindingIndex=e.bindingStartIndex,null!==n&&_r(e,t,n,2,r);const s=3==(3&i);if(!o)if(s){const n=e.preOrderCheckHooks;null!==n&&cn(t,n,null)}else{const n=e.preOrderHooks;null!==n&&dn(t,n,0,null),hn(t,0)}if(function(e){for(let t=pr(e);null!==t;t=fr(t)){if(!t[2])continue;const e=t[9];for(let t=0;t<e.length;t++){const n=e[t],r=n[3];0==(1024&n[2])&&zt(r,1),n[2]|=1024}}}(t),function(e){for(let t=pr(e);null!==t;t=fr(t))for(let e=gt;e<t.length;e++){const n=t[e],r=n[1];qt(n)&&Er(r,n,r.template,n[8])}}(t),null!==e.contentQueries&&yr(e,t),!o)if(s){const n=e.contentCheckHooks;null!==n&&cn(t,n)}else{const n=e.contentHooks;null!==n&&dn(t,n,1),hn(t,1)}!function(e,t){try{const n=e.expandoInstructions;if(null!==n){let r=e.expandoStartIndex,i=-1,o=-1;for(let e=0;e<n.length;e++){const s=n[e];"number"==typeof s?s<=0?(o=0-s,ln(o),r+=9+n[++e],i=r):r+=s:(null!==s&&(Gt(r,i),s(2,t[i])),i++)}}}finally{ln(-1)}}(e,t);const a=e.components;null!==a&&function(e,t){for(let n=0;n<t.length;n++)zr(e,t[n])}(t,a);const l=e.viewQuery;if(null!==l&&Ur(2,l,r),!o)if(s){const n=e.viewCheckHooks;null!==n&&cn(t,n)}else{const n=e.viewHooks;null!==n&&dn(t,n,2),hn(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),o||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,zt(t[3],-1))}finally{an()}}function xr(e,t,n,r){const i=t[10],o=!Kt(),s=Mt(t);try{o&&!s&&i.begin&&i.begin(),s&&wr(e,t,r),Er(e,t,n,r)}finally{o&&!s&&i.end&&i.end()}}function _r(e,t,n,r,i){const o=Bt.lFrame.selectedIndex;try{ln(-1),2&r&&t.length>yt&&function(e,t,n,r){if(!r)if(3==(3&t[2])){const n=e.preOrderCheckHooks;null!==n&&cn(t,n,0)}else{const n=e.preOrderHooks;null!==n&&dn(t,n,0,0)}ln(0)}(e,t,0,Kt()),n(r,i)}finally{ln(o)}}function Sr(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Cr(1,-1,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Cr(e,t,n,r,i,o,s,a,l,u){const c=yt+r,d=c+i,h=function(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:dr);return n}(c,d),p="function"==typeof u?u():u;return h[1]={type:e,id:t,blueprint:h,template:n,queries:null,viewQuery:a,node:null,data:h.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:d,expandoInstructions:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:p,incompleteFirstPass:!1}}function kr(e,t,n,r){const i=(o=t)[7]||(o[7]=[]);var o;i.push(n),e.firstCreatePass&&function(e){return e.cleanup||(e.cleanup=[])}(e).push(r,i.length-1)}function Tr(e,t,n,r,i,o){return{type:n,index:r,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Or(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function Lr(e,t){const n=e.expandoInstructions;n.push(t.hostBindings),0!==t.hostVars&&n.push(t.hostVars)}function Ir(e,t,n){for(let r=0;r<n;r++)t.push(dr),e.blueprint.push(dr),e.data.push(null)}function Rr(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Pr(e,t,n){const r=yt-t.index,i=e.data.length-(1048575&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(r,i,n)}function Nr(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Ar(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Et(t)&&(n[""]=e)}}function Dr(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Mr(e,t,n){e.data.push(n);const r=n.factory||(n.factory=ft(n.type)),i=new mn(r,Et(n),null);e.blueprint.push(i),t.push(i)}function qr(e,t,n){const r=Nt(t,e),i=Sr(n),o=e[10],s=Hr(e,vr(e,i,null,n.onPush?64:16,r,t,o,o.createRenderer(r,n)));e[t.index]=s}function jr(e,t,n,r,i,o){const s=o[t];if(null!==s){const e=r.setInput;for(let t=0;t<s.length;){const i=s[t++],o=s[t++],a=s[t++];null!==e?r.setInput(n,a,i,o):n[o]=a}}}function Fr(e,t){let n=null,r=0;for(;r<t.length;){const i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function zr(e,t){const n=At(t,e);if(qt(n)){const e=n[1];80&n[2]?Er(e,n,e.template,n[8]):n[5]>0&&function e(t){for(let r=pr(t);null!==r;r=fr(r))for(let t=gt;t<r.length;t++){const n=r[t];if(1024&n[2]){const e=n[1];Er(e,n,e.template,n[8])}else n[5]>0&&e(n)}const n=t[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=At(n[r],t);qt(i)&&i[5]>0&&e(i)}}(n)}}function Br(e,t){const n=At(t,e),r=n[1];!function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n),wr(r,n,n[8])}function Hr(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Vr(e,t,n){const r=t[10];r.begin&&r.begin();try{Er(e,t,e.template,n)}catch(i){throw function(e,t){const n=e[9],r=n?n.get(Qn,null):null;r&&r.handleError(t)}(t,i),i}finally{r.end&&r.end()}}function Wr(e){!function(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=Dt(n),i=r[1];xr(i,r,i.template,n)}}(e[8])}function Ur(e,t,n){Yt(0),t(e,n)}const $r=(()=>Promise.resolve(null))();function Qr(e,t){const n=t[3];return-1===e.index?bt(n)?n:null:n}function Kr(e,t){const n=Qr(e,t);return n?oi(t[11],n[7]):null}function Zr(e,t,n,r,i){if(null!=r){let o,s=!1;bt(r)?o=r:vt(r)&&(s=!0,r=r[0]);const a=Pt(r);0===e&&null!==n?null==i?ri(t,n,a):ni(t,n,a,i||null):1===e&&null!==n?ni(t,n,a,i||null):2===e?function(e,t,n){const r=oi(e,t);r&&function(e,t,n,r){It(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=o&&function(e,t,n,r,i){const o=n[7];o!==Pt(n)&&Zr(t,e,r,o,i);for(let s=gt;s<n.length;s++){const i=n[s];ui(i[1],i,e,t,r,o)}}(t,e,o,n,i)}}function Gr(e,t,n,r){const i=Kr(e.node,t);i&&ui(e,t,t[11],n?1:2,i,r)}function Xr(e,t){const n=e[9],r=n.indexOf(t);1024&t[2]&&zt(t[3],-1),n.splice(r,1)}function Jr(e,t){if(e.length<=gt)return;const n=gt+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&Xr(i,r),t>0&&(e[n-1][4]=r[4]);const o=et(e,gt+t);Gr(r[1],r,!1,null);const s=o[19];null!==s&&s.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Yr(e,t){if(!(256&t[2])){const n=t[11];It(n)&&n.destroyNode&&ui(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return ti(e[1],e);for(;t;){let n=null;if(vt(t))n=t[13];else{const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)vt(t)&&ti(t[1],t),t=ei(t,e);null===t&&(t=e),vt(t)&&ti(t[1],t),n=t&&t[4]}t=n}}(t)}}function ei(e,t){let n;return vt(e)&&(n=e[6])&&2===n.type?Qr(n,e):e[3]===t?null:e[3]}function ti(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const e=t[n[r]];if(!(e instanceof mn)){const t=n[r+1];if(Array.isArray(t))for(let n=0;n<t.length;n+=2)t[n+1].call(e[t[n]]);else t.call(e)}}}(e,t),function(e,t){const n=e.cleanup;if(null!==n){const e=t[7];for(let r=0;r<n.length-1;r+=2)if("string"==typeof n[r]){const i=n[r+1],o="function"==typeof i?i(t):Pt(t[i]),s=e[n[r+2]],a=n[r+3];"boolean"==typeof a?o.removeEventListener(n[r],s,a):a>=0?e[a]():e[-a].unsubscribe(),r+=2}else n[r].call(e[n[r+1]]);t[7]=null}}(e,t);const n=t[6];n&&3===n.type&&It(t[11])&&t[11].destroy();const r=t[17];if(null!==r&&bt(t[3])){r!==t[3]&&Xr(r,t);const n=t[19];null!==n&&n.detachView(e)}}}function ni(e,t,n,r){It(e)?e.insertBefore(t,n,r):t.insertBefore(n,r,!0)}function ri(e,t,n){It(e)?e.appendChild(t,n):t.appendChild(n)}function ii(e,t,n,r){null!==r?ni(e,t,n,r):ri(e,t,n)}function oi(e,t){return It(e)?e.parentNode(t):t.parentNode}function si(e,t,n,r){const i=function(e,t,n){let r=t.parent;for(;null!=r&&(4===r.type||5===r.type);)r=(t=r).parent;if(null==r){const e=n[6];return 2===e.type?Kr(e,n):n[0]}if(t&&5===t.type&&4&t.flags)return Nt(t,n).parentNode;if(2&r.flags){const t=e.data,n=t[t[r.index].directiveStart].encapsulation;if(n!==nt.ShadowDom&&n!==nt.Native)return null}return Nt(r,n)}(e,r,t);if(null!=i){const e=t[11],o=function(e,t){if(2===e.type){const n=Qr(e,t);return null===n?null:ai(n.indexOf(t,gt)-gt,n)}return 4===e.type||5===e.type?Nt(e,t):null}(r.parent||t[6],t);if(Array.isArray(n))for(let t=0;t<n.length;t++)ii(e,i,n[t],o);else ii(e,i,n,o)}}function ai(e,t){const n=gt+e+1;if(n<t.length){const e=t[n],r=e[1].firstChild;if(null!==r)return function e(t,n){if(null!==n){const r=n.type;if(3===r)return Nt(n,t);if(0===r)return ai(-1,t[n.index]);if(4===r||5===r){const r=n.child;if(null!==r)return e(t,r);{const e=t[n.index];return bt(e)?ai(-1,e):Pt(e)}}{const r=t[16],i=r[6],o=hr(r),s=i.projection[n.projection];return null!=s?e(o,s):e(t,n.next)}}return null}(e,r)}return t[7]}function li(e,t,n,r,i,o,s){for(;null!=n;){const a=r[n.index],l=n.type;s&&0===t&&(a&&Xn(Pt(a),r),n.flags|=4),64!=(64&n.flags)&&(4===l||5===l?(li(e,t,n.child,r,i,o,!1),Zr(t,e,i,a,o)):1===l?ci(e,t,r,n,i,o):Zr(t,e,i,a,o)),n=s?n.projectionNext:n.next}}function ui(e,t,n,r,i,o){li(n,r,e.node.child,t,i,o,!1)}function ci(e,t,n,r,i,o){const s=n[16],a=s[6].projection[r.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++)Zr(t,e,i,a[l],o);else li(e,t,a,s[3],i,o,!0)}function di(e,t,n){It(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function hi(e,t,n){It(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}class pi{constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._viewContainerRef=null}get rootNodes(){const e=this._lView;return null==e[0]?function e(t,n,r,i,o=!1){for(;null!==r;){const s=n[r.index];if(null!==s&&i.push(Pt(s)),bt(s))for(let t=gt;t<s.length;t++){const n=s[t],r=n[1].firstChild;null!==r&&e(n[1],n,r,i)}const a=r.type;if(4===a||5===a)e(t,n,r.child,i);else if(1===a){const t=n[16],o=t[6].projection[r.projection];if(Array.isArray(o))i.push(...o);else{const n=hr(t);e(n[1],n,o,i,!0)}}r=o?r.projectionNext:r.next}return i}(e[1],e,e[6].child,[]):[]}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){const e=this._viewContainerRef.indexOf(this);e>-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}Yr(this._lView[1],this._lView)}onDestroy(e){kr(this._lView[1],this._lView,null,e)}markForCheck(){!function(e){for(;e;){e[2]|=64;const t=hr(e);if(xt(e)&&!t)return e;e=t}}(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Vr(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){Zt(!0);try{Vr(e,t,n)}finally{Zt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}detachFromAppRef(){var e;this._appRef=null,ui(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class fi extends pi{constructor(e){super(e),this._view=e}detectChanges(){Wr(this._view)}checkNoChanges(){!function(e){Zt(!0);try{Wr(e)}finally{Zt(!1)}}(this._view)}get context(){return null}}let mi,yi,gi;function vi(e,t,n){return mi||(mi=class extends e{}),new mi(Nt(t,n))}function bi(e,t,n,r){return yi||(yi=class extends e{constructor(e,t,n){super(),this._declarationView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=vr(this._declarationView,t,e,16,null,t.node);n[17]=this._declarationView[this._declarationTContainer.index];const r=this._declarationView[19];return null!==r&&(n[19]=r.createEmbeddedView(t)),wr(t,n,e),new pi(n)}}),0===n.type?new yi(r,n,vi(t,n,r)):null}function wi(e,t,n,r){let i;gi||(gi=class extends e{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostView=n}get element(){return vi(t,this._hostTNode,this._hostView)}get injector(){return new Bn(this._hostTNode,this._hostView)}get parentInjector(){const e=Pn(this._hostTNode,this._hostView),t=xn(e,this._hostView),n=function(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){const e=n.parent.injectorIndex;let t=n.parent;for(;null!=t.parent&&e==t.parent.injectorIndex;)t=t.parent;return t}let r=En(e),i=t,o=t[6];for(;r>1;)i=i[15],o=i[6],r--;return o}(e,this._hostView,this._hostTNode);return bn(e)&&null!=n?new Bn(n,t):new Bn(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}get length(){return this._lContainer.length-gt}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,i){const o=n||this.parentInjector;if(!i&&null==e.ngModule&&o){const e=o.get(Xe,null);e&&(i=e)}const s=e.create(o,r,void 0,i);return this.insert(s.hostView,t),s}insert(e,t){const n=e._lView,r=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),bt(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3],r=new gi(t,t[6],t[3]);r.detach(r.indexOf(e))}}const i=this._adjustIndex(t);return function(e,t,n,r){const i=gt+r,o=n.length;r>0&&(n[i-1][4]=t),r<o-gt?(t[4]=n[i],Ye(n,gt+r,t)):(n.push(t),t[4]=null),t[3]=n;const s=t[17];null!==s&&n!==s&&function(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(s,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=128}(r,n,this._lContainer,i),Gr(r,n,!0,ai(i,this._lContainer)),e.attachToViewContainerRef(this),Ye(this._lContainer[8],i,e),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)}indexOf(e){const t=this._lContainer[8];return null!==t?t.indexOf(e):-1}remove(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1),n=Jr(this._lContainer,t);n&&(et(this._lContainer[8],t),Yr(n[1],n))}detach(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1),n=Jr(this._lContainer,t);return n&&null!=et(this._lContainer[8],t)?new pi(n):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}allocateContainerIfNeeded(){null===this._lContainer[8]&&(this._lContainer[8]=[])}});const o=r[n.index];if(bt(o))i=o;else{let e;if(4===n.type)e=Pt(o);else if(e=r[11].createComment(""),xt(r)){const t=r[11],i=Nt(n,r);ni(t,oi(t,i),e,function(e,t){return It(e)?e.nextSibling(t):t.nextSibling}(t,i))}else si(r[1],r,e,n);r[n.index]=i=new Array(o,!0,!1,r,null,0,n,e,null,null),Hr(r,i)}return new gi(i,n,r)}const Ei=new De("Set Injector scope."),xi={},_i={},Si=[];let Ci=void 0;function ki(){return void 0===Ci&&(Ci=new Ge),Ci}function Ti(e,t=null,n=null,r){return new Oi(e,n,t||ki(),r)}class Oi{constructor(e,t,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];t&&Je(t,n=>this.processProvider(n,e,t)),Je([e],e=>this.processInjectorType(e,[],i)),this.records.set(Me,Ii(void 0,this));const o=this.records.get(Ei);this.scope=null!=o?o.value:null,this.source=r||("object"==typeof e?null:ge(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=qe,n=ie.Default){this.assertNotDestroyed();const r=Ve(this);try{if(!(n&ie.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(i=e)||"object"==typeof i&&i instanceof De)&&ue(e);t=n&&this.injectableDefInScope(n)?Ii(Li(e),xi):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(n&ie.Self?ki():this.parent).get(e,t=n&ie.Optional&&t===qe?null:t)}catch(o){if("NullInjectorError"===o.name){if((o.ngTempTokenPath=o.ngTempTokenPath||[]).unshift(ge(e)),r)throw o;return function(e,t,n,r){const i=e.ngTempTokenPath;throw t[Fe]&&i.unshift(t[Fe]),e.message=function(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let i=ge(t);if(Array.isArray(t))i=t.map(ge).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];e.push(n+":"+("string"==typeof r?JSON.stringify(r):ge(r)))}i=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(je,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e.ngTempTokenPath=null,e}(o,e,"R3InjectorError",this.source)}throw o}finally{Ve(r)}var i}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(ge(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=Ee(e)))return!1;let r=de(e);const i=null==r&&e.ngModule||void 0,o=void 0===i?e:i,s=-1!==n.indexOf(o);if(void 0!==i&&(r=de(i)),null==r)return!1;if(null!=r.imports&&!s){let e;n.push(o);try{Je(r.imports,r=>{this.processInjectorType(r,t,n)&&(void 0===e&&(e=[]),e.push(r))})}finally{}if(void 0!==e)for(let t=0;t<e.length;t++){const{ngModule:n,providers:r}=e[t];Je(r,e=>this.processProvider(e,n,r||Si))}}this.injectorDefTypes.add(o),this.records.set(o,Ii(r.factory,xi));const a=r.providers;if(null!=a&&!s){const t=e;Je(a,e=>this.processProvider(e,t,a))}return void 0!==i&&void 0!==e.providers}processProvider(e,t,n){let r=Pi(e=Ee(e))?e:Ee(e&&e.provide);const i=function(e,t,n){return Ri(e)?Ii(void 0,e.useValue):Ii(function(e,t,n){let r=void 0;if(Pi(e)){const t=Ee(e);return ft(t)||Li(t)}if(Ri(e))r=()=>Ee(e.useValue);else if((i=e)&&i.useFactory)r=()=>e.useFactory(...Ze(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>$e(Ee(e.useExisting));else{const i=Ee(e&&(e.useClass||e.provide));if(i||function(e,t,n){let r="";throw e&&t&&(r=` - only instances of Provider and Type are allowed, got: [${t.map(e=>e==n?"?"+n+"?":"...").join(", ")}]`),new Error(`Invalid provider for the NgModule '${ge(e)}'`+r)}(t,n,e),!function(e){return!!e.deps}(e))return ft(i)||Li(i);r=()=>new i(...Ze(e.deps))}var i;return r}(e,t,n),xi)}(e,t,n);if(Pi(e)||!0!==e.multi){const e=this.records.get(r);e&&void 0!==e.multi&&Yn()}else{let t=this.records.get(r);t?void 0===t.multi&&Yn():(t=Ii(void 0,xi,!0),t.factory=()=>Ze(t.multi),this.records.set(r,t)),r=e,t.multi.push(e)}this.records.set(r,i)}hydrate(e,t){var n;return t.value===_i?function(e){throw new Error("Cannot instantiate cyclic dependency! "+e)}(ge(e)):t.value===xi&&(t.value=_i,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}function Li(e){const t=ue(e),n=null!==t?t.factory:ft(e);if(null!==n)return n;const r=de(e);if(null!==r)return r.factory;if(e instanceof De)throw new Error(`Token ${ge(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=function(e,t){const n=[];for(let r=0;r<e;r++)n.push("?");return n}(t);throw new Error(`Can't resolve all parameters for ${ge(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[he]||e[me]||e[fe]&&e[fe]());if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function Ii(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ri(e){return null!==e&&"object"==typeof e&&ze in e}function Pi(e){return"function"==typeof e}const Ni=function(e,t,n){return function(e,t=null,n=null,r){const i=Ti(e,t,n,r);return i._resolveInjectorDefTypes(),i}({name:n},t,e,n)};let Ai=(()=>{class e{static create(e,t){return Array.isArray(e)?Ni(e,t,""):Ni(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=qe,e.NULL=new Ge,e.\u0275prov=ae({token:e,providedIn:"any",factory:()=>$e(Me)}),e.__NG_ELEMENT_ID__=-1,e})();function Di(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let s=0;s<t.length;s++){const e=t[s];"number"==typeof e?o=e:1==o?i=ve(i,e):2==o&&(r=ve(r,e+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}let Mi=null;function qi(){if(!Mi){const e=Te.Symbol;if(e&&e.iterator)Mi=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(Mi=n)}}}return Mi}function ji(e){return!!Fi(e)&&(Array.isArray(e)||!(e instanceof Map)&&qi()in e)}function Fi(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function zi(e,t=ie.Default){const n=Vt();return null==n?$e(e,t):An(Ut(),n,Ee(e),t)}function Bi(e,t,n,r,i){const o=i?"class":"style";!function(e,t,n,r,i){for(let o=0;o<n.length;){const s=n[o++],a=n[o++],l=t[s],u=e.data[s];null!==u.setInput?u.setInput(l,i,r,a):l[a]=i}}(e,n,t.inputs[o],o,r)}function Hi(e,t,n,r){const i=Vt(),o=Wt(),s=yt+e,a=i[11],l=i[s]=gr(t,a,Bt.lFrame.currentNamespace),u=o.firstCreatePass?function(e,t,n,r,i,o,s){const a=t.consts,l=jt(a,o),u=br(t,n[6],e,3,i,l);return function(e,t,n,r){let i=!1;if(Ht()){const o=function(e,t,n){const r=e.directiveRegistry;let i=null;if(r)for(let o=0;o<r.length;o++){const s=r[o];lr(n,s.selectors,!1)&&(i||(i=[]),Nn(Ln(n,t),e,s.type),Et(s)?(2&n.flags&&Jn(n),Nr(e,n),i.unshift(s)):i.push(s))}return i}(e,t,n),s=null===r?null:{"":-1};if(null!==o){let r=0;i=!0,Dr(n,e.data.length,o.length);for(let e=0;e<o.length;e++){const t=o[e];t.providersResolver&&t.providersResolver(t)}Pr(e,n,o.length);let a=!1,l=!1;for(let i=0;i<o.length;i++){const u=o[i];n.mergedAttrs=gn(n.mergedAttrs,u.hostAttrs),Mr(e,t,u),Ar(e.data.length-1,u,s),null!==u.contentQueries&&(n.flags|=8),null===u.hostBindings&&null===u.hostAttrs&&0===u.hostVars||(n.flags|=128);const c=u.type.prototype;!a&&(c.ngOnChanges||c.ngOnInit||c.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index-yt),a=!0),l||!c.ngOnChanges&&!c.ngDoCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index-yt),l=!0),Lr(e,u),r+=u.hostVars}!function(e,t){const n=t.directiveEnd,r=e.data,i=t.attrs,o=[];let s=null,a=null;for(let l=t.directiveStart;l<n;l++){const e=r[l],n=e.inputs,u=null===i||rr(t)?null:Fr(n,i);o.push(u),s=Or(n,l,s),a=Or(e.outputs,l,a)}null!==s&&(s.hasOwnProperty("class")&&(t.flags|=16),s.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=s,t.outputs=a}(e,n),Ir(e,t,r)}s&&function(e,t,n){if(t){const r=e.localNames=[];for(let e=0;e<t.length;e+=2){const i=n[t[e+1]];if(null==i)throw new Error(`Export of name '${t[e+1]}' not found!`);r.push(t[e],i)}}}(n,r,s)}n.mergedAttrs=gn(n.mergedAttrs,n.attrs)}(t,n,u,jt(a,s)),null!==u.attrs&&Di(u,u.attrs,!1),null!==u.mergedAttrs&&Di(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(e,o,i,0,t,n,r):o.data[s];$t(u,!0);const c=u.mergedAttrs;null!==c&&yn(a,l,c);const d=u.classes;null!==d&&hi(a,l,d);const h=u.styles;null!==h&&di(a,l,h),si(o,i,l,u),0===Bt.lFrame.elementDepthCount&&Xn(l,i),Bt.lFrame.elementDepthCount++,function(e){return 1==(1&e.flags)}(u)&&(function(e,t,n){Ht()&&(function(e,t,n,r){const i=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||Ln(n,t),Xn(r,t);const s=n.initialInputs;for(let a=i;a<o;a++){const r=e.data[a],o=Et(r);o&&qr(t,n,r);const l=jn(t,e,a,n);Xn(l,t),null!==s&&jr(0,a-i,l,r,0,s),o&&(At(n.index,t)[8]=l)}}(e,t,n,Nt(n,t)),128==(128&n.flags)&&function(e,t,n){const r=n.directiveStart,i=n.directiveEnd,o=e.expandoInstructions,s=e.firstCreatePass,a=n.index-yt,l=Bt.lFrame.currentDirectiveIndex;try{ln(a);for(let n=r;n<i;n++){const r=e.data[n],i=t[n];Xt(n),null!==r.hostBindings||0!==r.hostVars||null!==r.hostAttrs?Rr(r,i):s&&o.push(null)}}finally{ln(-1),Xt(l)}}(e,t,n))}(o,i,u),function(e,t,n){if(wt(t)){const r=t.directiveEnd;for(let i=t.directiveStart;i<r;i++){const t=e.data[i];t.contentQueries&&t.contentQueries(1,n[i],i)}}}(o,u,i)),null!==r&&function(e,t,n=Nt){const r=t.localNames;if(null!==r){let i=t.index+1;for(let o=0;o<r.length;o+=2){const s=r[o+1],a=-1===s?n(t,e):e[s];e[i++]=a}}}(i,u)}function Vi(){let e=Ut();Qt()?Bt.lFrame.isParent=!1:(e=e.parent,$t(e,!1));const t=e;Bt.lFrame.elementDepthCount--;const n=Wt();n.firstCreatePass&&(un(n,e),wt(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Bi(n,t,Vt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Bi(n,t,Vt(),t.stylesWithoutHost,!1)}function Wi(e,t,n,r){Hi(e,t,n,r),Vi()}function Ui(e){return!!e&&"function"==typeof e.then}function $i(e,t){const n=Dt(e)[1],r=n.data.length-1;un(n,{directiveStart:r,directiveEnd:r+1})}function Qi(e){let t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0;const r=[e];for(;t;){let i=void 0;if(Et(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");i=t.\u0275dir}if(i){if(n){r.push(i);const t=e;t.inputs=Ki(e.inputs),t.declaredInputs=Ki(e.declaredInputs),t.outputs=Ki(e.outputs);const n=i.hostBindings;n&&Xi(e,n);const o=i.viewQuery,s=i.contentQueries;if(o&&Zi(e,o),s&&Gi(e,s),se(e.inputs,i.inputs),se(e.declaredInputs,i.declaredInputs),se(e.outputs,i.outputs),Et(i)&&i.data.animation){const t=e.data;t.animation=(t.animation||[]).concat(i.data.animation)}}const t=i.features;if(t)for(let r=0;r<t.length;r++){const i=t[r];i&&i.ngInherit&&i(e),i===Qi&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=gn(i.hostAttrs,n=gn(n,i.hostAttrs))}}(r)}function Ki(e){return e===rt?{}:e===it?[]:e}function Zi(e,t){const n=e.viewQuery;e.viewQuery=n?(e,r)=>{t(e,r),n(e,r)}:t}function Gi(e,t){const n=e.contentQueries;e.contentQueries=n?(e,r,i)=>{t(e,r,i),n(e,r,i)}:t}function Xi(e,t){const n=e.hostBindings;e.hostBindings=n?(e,r)=>{t(e,r),n(e,r)}:t}class Ji{}class Yi{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${ge(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(e)}}let eo=(()=>{class e{}return e.NULL=new Yi,e})(),to=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>no(e),e})();const no=function(e){return vi(e,Ut(),Vt())};class ro{}var io=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({});let oo=(()=>{class e{}return e.\u0275prov=ae({token:e,providedIn:"root",factory:()=>null}),e})();class so{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const ao=new so("10.1.0");class lo{constructor(){}supports(e){return ji(e)}create(e){return new co(e)}}const uo=(e,t)=>t;class co{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||uo}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,r=0,i=null;for(;t||n;){const o=!n||t&&t.currentIndex<mo(n,r,i)?t:n,s=mo(o,r,i),a=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)r++;else{i||(i=[]);const e=s-r,t=a-r;if(e!=t){for(let n=0;n<e;n++){const r=n<i.length?i[n]:i[n]=0,o=r+n;t<=o&&o<e&&(i[n]=r+1)}i[o.previousIndex]=t-e}}s!==a&&e(o,s,a)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!ji(e))throw new Error(`Error trying to diff '${ge(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,r,i=this._itHead,o=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)n=e[t],r=this._trackByFn(t,n),null!==i&&Object.is(i.trackById,r)?(o&&(i=this._verifyReinsertion(i,n,r,t)),Object.is(i.item,n)||this._addIdentityChange(i,n)):(i=this._mismatch(i,n,r,t),o=!0),i=i._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[qi()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(e,e=>{r=this._trackByFn(t,e),null!==i&&Object.is(i.trackById,r)?(o&&(i=this._verifyReinsertion(i,e,r,t)),Object.is(i.item,e)||this._addIdentityChange(i,e)):(i=this._mismatch(i,e,r,t),o=!0),i=i._next,t++}),this.length=t;return this._truncate(i),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e,t;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,r){let i;return null===e?i=this._itTail:(i=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,r)):e=this._addAfter(new ho(t,n),i,r),e}_verifyReinsertion(e,t,n,r){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?e=this._reinsertAfter(i,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,i=e._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new fo),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new fo),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class ho{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class po{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class fo{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new po,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function mo(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class yo{constructor(){}supports(e){return e instanceof Map||Fi(e)}create(){return new go}}class go{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||Fi(e)))throw new Error(`Error trying to diff '${ge(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const r=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}const n=new vo(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class vo{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let bo=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new re,new te]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.\u0275prov=ae({token:e,providedIn:"root",factory:()=>new e([new lo])}),e})(),wo=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new re,new te]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.\u0275prov=ae({token:e,providedIn:"root",factory:()=>new e([new yo])}),e})();const Eo=[new yo],xo=new bo([new lo]),_o=new wo(Eo);let So=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Co(e,to),e})();const Co=function(e,t){return bi(e,t,Ut(),Vt())};let ko=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>To(e,to),e})();const To=function(e,t){return wi(e,t,Ut(),Vt())},Oo={};class Lo extends eo{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=pt(e);return new Po(t,this.ngModule)}}function Io(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const Ro=new De("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Sn});class Po extends Ji{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(cr).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return Io(this.componentDef.inputs)}get outputs(){return Io(this.componentDef.outputs)}create(e,t,n,r){const i=(r=r||this.ngModule)?function(e,t){return{get:(n,r,i)=>{const o=e.get(n,Oo,i);return o!==Oo||r===Oo?o:t.get(n,r,i)}}}(e,r.injector):e,o=i.get(ro,Rt),s=i.get(oo,null),a=o.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",u=n?function(e,t,n){if(It(e))return e.selectRootElement(t,n===nt.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(a,n,this.componentDef.encapsulation):gr(l,o.createRenderer(null,this.componentDef),function(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(l)),c=this.componentDef.onPush?576:528,d={components:[],scheduler:Sn,clean:$r,playerHandler:null,flags:0},h=Cr(0,-1,null,1,0,null,null,null,null,null),p=vr(null,h,d,c,null,null,o,a,s,i);let f,m;tn(p,null);try{const e=function(e,t,n,r,i,o){const s=n[1];n[20]=e;const a=br(s,null,0,3,null,null),l=a.mergedAttrs=t.hostAttrs;null!==l&&(Di(a,l,!0),null!==e&&(yn(i,e,l),null!==a.classes&&hi(i,e,a.classes),null!==a.styles&&di(i,e,a.styles)));const u=r.createRenderer(e,t),c=vr(n,Sr(t),null,t.onPush?64:16,n[20],a,r,u,void 0);return s.firstCreatePass&&(Nn(Ln(a,n),s,t.type),Nr(s,a),Dr(a,n.length,1)),Hr(n,c),n[20]=c}(u,this.componentDef,p,o,a);if(u)if(n)yn(a,u,["ng-version",ao.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!sr(i))break;i=o}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);e&&yn(a,u,e),t&&t.length>0&&hi(a,u,t.join(" "))}if(m=h.data[20],void 0!==t){const e=m.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const r=t[n];e.push(null!=r?Array.from(r):null)}}f=function(e,t,n,r,i){const o=n[1],s=function(e,t,n){const r=Ut();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Pr(e,r,1),Mr(e,t,n));const i=jn(t,e,t.length-1,r);Xn(i,t);const o=Nt(r,t);return o&&Xn(o,t),i}(o,n,t);r.components.push(s),e[8]=s,i&&i.forEach(e=>e(s,t)),t.contentQueries&&t.contentQueries(1,s,n.length-1);const a=Ut();if(o.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){ln(a.index-yt);const e=n[1];Lr(e,t),Ir(e,n,t.hostVars),Rr(t,s)}return s}(e,this.componentDef,p,d,[$i]),wr(h,p,null)}finally{an()}const y=new No(this.componentType,f,vi(to,m,p),p,m);return h.node.child=m,y}}class No extends class{}{constructor(e,t,n,r,i){super(),this.location=n,this._rootLView=r,this._tNode=i,this.destroyCbs=[],this.instance=t,this.hostView=this.changeDetectorRef=new fi(r),function(e,t,n,r){let i=e.node;null==i&&(e.node=i=Tr(0,null,2,-1,null,null)),r[6]=i}(r[1],0,0,r),this.componentType=e}get injector(){return new Bn(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(e=>e()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(e){this.destroyCbs&&this.destroyCbs.push(e)}}const Ao=void 0;var Do=["en",[["a","p"],["AM","PM"],Ao],[["AM","PM"],Ao,Ao],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ao,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ao,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ao,"{1} 'at' {0}",Ao],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let Mo={};function qo(e){return e in Mo||(Mo[e]=Te.ng&&Te.ng.common&&Te.ng.common.locales&&Te.ng.common.locales[e]),Mo[e]}var jo=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({});const Fo="en-US";let zo=Fo;function Bo(e){var t,n;n="Expected localeId to be defined",null==(t=e)&&function(e,t,n,r){throw new Error("ASSERTION ERROR: "+e+` [Expected=> null != ${t} <=Actual]`)}(n,t),"string"==typeof e&&(zo=e.toLowerCase().replace(/_/g,"-"))}const Ho=new Map;class Vo extends Xe{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Lo(this);const n=mt(e),r=e[Pe]||null;r&&Bo(r),this._bootstrapComponents=Cn(n.bootstrap),this._r3Injector=Ti(e,t,[{provide:Xe,useValue:this},{provide:eo,useValue:this.componentFactoryResolver}],ge(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=Ai.THROW_IF_NOT_FOUND,n=ie.Default){return e===Ai||e===Xe||e===Me?this:this._r3Injector.get(e,t,n)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Wo extends class{}{constructor(e){super(),this.moduleType=e,null!==mt(e)&&function e(t){if(null!==t.\u0275mod.id){const e=t.\u0275mod.id;(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${ge(t)} vs ${ge(t.name)}`)})(e,Ho.get(e),t),Ho.set(e,t)}let n=t.\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach(t=>e(t))}(e)}create(e){return new Vo(this.moduleType,e)}}const Uo=class extends _{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let r,i=e=>null,o=()=>null;e&&"object"==typeof e?(r=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(i=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(o=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(r=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(i=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const s=super.subscribe(r,i,o);return e instanceof d&&e.add(s),s}};function $o(){return this._results[qi()]()}class Qo{constructor(){this.dirty=!0,this._results=[],this.changes=new Uo,this.length=0;const e=qi(),t=Qo.prototype;t[e]||(t[e]=$o)}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e){this._results=function e(t,n){void 0===n&&(n=t);for(let r=0;r<t.length;r++){let i=t[r];Array.isArray(i)?(n===t&&(n=t.slice(0,r)),e(i,n)):n!==t&&n.push(i)}return n}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class Ko{constructor(e){this.queryList=e,this.matches=null}clone(){return new Ko(this.queryList)}setDirty(){this.queryList.setDirty()}}class Zo{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const n=null!==e.contentQueries?e.contentQueries[0]:t.length,r=[];for(let e=0;e<n;e++){const n=t.getByIndex(e);r.push(this.queries[n.indexInDeclarationView].clone())}return new Zo(r)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)null!==os(e,t).matches&&this.queries[t].setDirty()}}class Go{constructor(e,t,n,r=null){this.predicate=e,this.descendants=t,this.isStatic=n,this.read=r}}class Xo{constructor(e=[]){this.queries=e}elementStart(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let n=0;n<this.length;n++){const r=null!==t?t.length:0,i=this.getByIndex(n).embeddedTView(e,r);i&&(i.indexInDeclarationView=n,null!==t?t.push(i):t=[i])}return null!==t?new Xo(t):null}template(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class Jo{constructor(e,t=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new Jo(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&!1===this.metadata.descendants){const t=this._declarationNodeIndex;let n=e.parent;for(;null!==n&&4===n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(e,t){const n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){const i=n[r];this.matchTNodeWithReadOption(e,t,Yo(t,i)),this.matchTNodeWithReadOption(e,t,qn(t,e,i,!1,!1))}else n===So?0===t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,qn(t,e,n,!1,!1))}matchTNodeWithReadOption(e,t,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===to||r===ko||r===So&&0===t.type)this.addMatch(t.index,-2);else{const n=qn(t,e,r,!1,!1);null!==n&&this.addMatch(t.index,n)}else this.addMatch(t.index,n)}}addMatch(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}function Yo(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function es(e,t,n,r){return-1===n?function(e,t){return 3===e.type||4===e.type?vi(to,e,t):0===e.type?bi(So,to,e,t):null}(t,e):-2===n?function(e,t,n){return n===to?vi(to,t,e):n===So?bi(So,to,t,e):n===ko?wi(ko,to,t,e):void 0}(e,t,r):jn(e,e[1],n,t)}function ts(e,t,n,r){const i=t[19].queries[r];if(null===i.matches){const r=e.data,o=n.matches,s=[];for(let e=0;e<o.length;e+=2){const i=o[e];s.push(i<0?null:es(t,r[i],o[e+1],n.metadata.read))}i.matches=s}return i.matches}function ns(e){const t=Vt(),n=Wt(),r=Jt();Yt(r+1);const i=os(n,r);if(e.dirty&&Mt(t)===i.metadata.isStatic){if(null===i.matches)e.reset([]);else{const o=i.crossesNgTemplate?function e(t,n,r,i){const o=t.queries.getByIndex(r),s=o.matches;if(null!==s){const a=ts(t,n,o,r);for(let t=0;t<s.length;t+=2){const r=s[t];if(r>0)i.push(a[t/2]);else{const o=s[t+1],a=n[-r];for(let t=gt;t<a.length;t++){const n=a[t];n[17]===n[3]&&e(n[1],n,o,i)}if(null!==a[9]){const t=a[9];for(let n=0;n<t.length;n++){const r=t[n];e(r[1],r,o,i)}}}}}return i}(n,t,r,[]):ts(n,t,i,r);e.reset(o),e.notifyOnChanges()}return!0}return!1}function rs(e,t,n){!function(e,t,n,r,i,o){e.firstCreatePass&&function(e,t,n){null===e.queries&&(e.queries=new Xo),e.queries.track(new Jo(t,-1))}(e,new Go(n,r,false,i)),function(e,t){const n=new Qo;kr(e,t,n,n.destroy),null===t[19]&&(t[19]=new Zo),t[19].queries.push(new Ko(n))}(e,t)}(Wt(),Vt(),e,t,n)}function is(){return e=Vt(),t=Jt(),e[19].queries[t].queryList;var e,t}function os(e,t){return e.queries.getByIndex(t)}const ss=new De("Application Initializer");let as=(()=>{class e{constructor(e){this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const t=this.appInits[n]();Ui(t)&&e.push(t)}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)($e(ss,8))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();const ls=new De("AppId"),us={provide:ls,useFactory:function(){return`${cs()}${cs()}${cs()}`},deps:[]};function cs(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const ds=new De("Platform Initializer"),hs=new De("Platform ID"),ps=new De("appBootstrapListener");let fs=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();const ms=new De("LocaleId"),ys=new De("DefaultCurrencyCode");class gs{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const vs=function(e){return new Wo(e)},bs=vs,ws=function(e){return Promise.resolve(vs(e))},Es=function(e){const t=vs(e),n=Cn(mt(e).declarations).reduce((e,t)=>{const n=pt(t);return n&&e.push(new Po(n)),e},[]);return new gs(t,n)},xs=Es,_s=function(e){return Promise.resolve(Es(e))};let Ss=(()=>{class e{constructor(){this.compileModuleSync=bs,this.compileModuleAsync=ws,this.compileModuleAndAllComponentsSync=xs,this.compileModuleAndAllComponentsAsync=_s}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();const Cs=(()=>Promise.resolve(0))();function ks(e){"undefined"==typeof Zone?Cs.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Ts{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Uo(!1),this.onMicrotaskEmpty=new Uo(!1),this.onStable=new Uo(!1),this.onError=new Uo(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const n=this;n._nesting=0,n._outer=n._inner=Zone.current,Zone.wtfZoneSpec&&(n._inner=n._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(n._inner=n._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(n._inner=n._inner.fork(Zone.longStackTraceZoneSpec)),n.shouldCoalesceEventChangeDetection=t,n.lastRequestAnimationFrameId=-1,n.nativeRequestAnimationFrame=function(){let e=Te.requestAnimationFrame,t=Te.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=!!e.shouldCoalesceEventChangeDetection&&e.nativeRequestAnimationFrame&&(()=>{!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Te,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Rs(e),Is(e)},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Rs(e))}(e)});e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:t},onInvokeTask:(n,r,i,o,s,a)=>{try{return Ps(e),n.invokeTask(i,o,s,a)}finally{t&&"eventTask"===o.type&&t(),Ns(e)}},onInvoke:(t,n,r,i,o,s,a)=>{try{return Ps(e),t.invoke(r,i,o,s,a)}finally{Ns(e)}},onHasTask:(t,n,r,i)=>{t.hasTask(r,i),n===r&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Rs(e),Is(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(t,n,r,i)=>(t.handleError(r,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(n)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ts.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Ts.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,r){const i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,e,Ls,Os,Os);try{return i.runTask(o,t,n)}finally{i.cancelTask(o)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}function Os(){}const Ls={};function Is(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Rs(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function Ps(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ns(e){e._nesting--,Is(e)}class As{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Uo,this.onMicrotaskEmpty=new Uo,this.onStable=new Uo,this.onError=new Uo}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,r){return e.apply(t,n)}}let Ds=(()=>{class e{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ts.assertNotInAngularZone(),ks(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())ks(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==r),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}return e.\u0275fac=function(t){return new(t||e)($e(Ts))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})(),Ms=(()=>{class e{constructor(){this._applications=new Map,Fs.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return Fs.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();class qs{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}let js,Fs=new qs;const zs=new De("AllowMultipleToken");function Bs(e,t,n=[]){const r="Platform: "+t,i=new De(r);return(t=[])=>{let o=Hs();if(!o||o.injector.get(zs,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{const e=n.concat(t).concat({provide:i,useValue:!0},{provide:Ei,useValue:"platform"});!function(e){if(js&&!js.destroyed&&!js.injector.get(zs,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");js=e.get(Vs);const t=e.get(ds,null);t&&t.forEach(e=>e())}(Ai.create({providers:e,name:r}))}return function(e){const t=Hs();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(i)}}function Hs(){return js&&!js.destroyed?js:null}let Vs=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e,t){let n;return n="noop"===e?new As:("zone.js"===e?void 0:e)||new Ts({enableLongStackTrace:Gn(),shouldCoalesceEventChangeDetection:t}),n}(t?t.ngZone:void 0,t&&t.ngZoneEventCoalescing||!1),r=[{provide:Ts,useValue:n}];return n.run(()=>{const t=Ai.create({providers:r,parent:this.injector,name:e.moduleType.name}),i=e.create(t),o=i.injector.get(Qn,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.onDestroy(()=>$s(this._modules,i)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{o.handleError(e)}})),function(e,t,n){try{const r=n();return Ui(r)?r.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(o,n,()=>{const e=i.injector.get(as);return e.runInitializers(),e.donePromise.then(()=>(Bo(i.injector.get(ms,Fo)||Fo),this._moduleDoBootstrap(i),i))})})}bootstrapModule(e,t=[]){const n=Ws({},t);return function(e,t,n){const r=new Wo(n);return Promise.resolve(r)}(0,0,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(Us);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${ge(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)($e(Ai))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();function Ws(e,t){return Array.isArray(t)?t.reduce(Ws,e):Object.assign(Object.assign({},e),t)}let Us=(()=>{class e{constructor(e,t,n,r,i,o){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Gn(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const s=new v(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),a=new v(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{Ts.assertNotInAngularZone(),ks(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Ts.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=V(s,a.pipe(e=>{return W()((t=G,function(e){let n;n="function"==typeof t?t:function(){return t};const r=Object.create(e,K);return r.source=e,r.subjectFactory=n,r})(e));var t}))}bootstrap(e,t){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=e instanceof Ji?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(Xe),i=n.create(Ai.NULL,[],t||n.selector,r);i.onDestroy(()=>{this._unloadComponent(i)});const o=i.injector.get(Ds,null);return o&&i.injector.get(Ms).registerApplication(i.location.nativeElement,o),this._loadComponent(i),Gn()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),i}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;$s(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(ps,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),$s(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e.\u0275fac=function(t){return new(t||e)($e(Ts),$e(fs),$e(Ai),$e(Qn),$e(eo),$e(as))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();function $s(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Qs=Bs(null,"core",[{provide:hs,useValue:"unknown"},{provide:Vs,deps:[Ai]},{provide:Ms,deps:[]},{provide:fs,deps:[]}]),Ks=[{provide:Us,useClass:Us,deps:[Ts,fs,Ai,Qn,eo,as]},{provide:Ro,deps:[Ts],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:as,useClass:as,deps:[[new te,ss]]},{provide:Ss,useClass:Ss,deps:[]},us,{provide:bo,useFactory:function(){return xo},deps:[]},{provide:wo,useFactory:function(){return _o},deps:[]},{provide:ms,useFactory:function(e){return Bo(e=e||"undefined"!=typeof $localize&&$localize.locale||Fo),e},deps:[[new ee(ms),new te,new re]]},{provide:ys,useValue:"USD"}];let Zs=(()=>{class e{constructor(e){}}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)($e(Us))},providers:Ks}),e})();class Gs extends d{constructor(e,t){super()}schedule(e,t=0){return this}}class Xs extends Gs{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this}requestAsyncId(e,t,n=0){return setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n=!1,r=void 0;try{this.work(e)}catch(i){n=!0,r=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),r}_unsubscribe(){const e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}let Js=(()=>{class e{constructor(t,n=e.now){this.SchedulerAction=t,this.now=n}schedule(e,t=0,n){return new this.SchedulerAction(this,e).schedule(n,t)}}return e.now=()=>Date.now(),e})();class Ys extends Js{constructor(e,t=Js.now){super(e,()=>Ys.delegate&&Ys.delegate!==this?Ys.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return Ys.delegate&&Ys.delegate!==this?Ys.delegate.schedule(e,t,n):super.schedule(e,t,n)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}function ea(e,t){return function(n){return n.lift(new ta(e,t))}}class ta{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new na(e,this.predicate,this.thisArg))}}class na extends f{constructor(e,t,n){super(e),this.predicate=t,this.thisArg=n,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}class ra{constructor(e){this.project=e}call(e,t){return t.subscribe(new ia(e,this.project))}}class ia extends j{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t)}_innerSub(e){const t=this.innerSubscription;t&&t.unsubscribe();const n=new q(this),r=this.destination;r.add(n),this.innerSubscription=F(e,n),this.innerSubscription!==n&&r.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}class oa extends Xs{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(e,t,n):e.flush(this)}}class sa extends Ys{}const aa=new sa(oa),la=new v(e=>e.complete());let ua=(()=>{class e{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}accept(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}toObservable(){switch(this.kind){case"N":return function(...e){let t=e[e.length-1];return C(t)?(e.pop(),D(e,t)):H(e)}(this.value);case"E":return e=this.error,new v(t=>t.error(e));case"C":return la}var e;throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}static createError(t){return new e("E",void 0,t)}static createComplete(){return e.completeNotification}}return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e})();class ca extends f{constructor(e,t,n=0){super(e),this.scheduler=t,this.delay=n}static dispatch(e){const{notification:t,destination:n}=e;t.observe(n),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(ca.dispatch,this.delay,new da(e,this.destination)))}_next(e){this.scheduleMessage(ua.createNext(e))}_error(e){this.scheduleMessage(ua.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(ua.createComplete()),this.unsubscribe()}}class da{constructor(e,t){this.notification=e,this.destination=t}}class ha extends _{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift(),super.next(e)}nextTimeWindow(e){this._events.push(new pa(this._getNow(),e)),this._trimBufferThenGetEvents(),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,n=t?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,i=n.length;let o;if(this.closed)throw new w;if(this.isStopped||this.hasError?o=d.EMPTY:(this.observers.push(e),o=new E(this,e)),r&&e.add(e=new ca(e,r)),t)for(let s=0;s<i&&!e.closed;s++)e.next(n[s]);else for(let s=0;s<i&&!e.closed;s++)e.next(n[s].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),o}_getNow(){return(this.scheduler||aa).now()}_trimBufferThenGetEvents(){const e=this._getNow(),t=this._bufferSize,n=this._windowTime,r=this._events,i=r.length;let o=0;for(;o<i&&!(e-r[o].time<n);)o++;return i>t&&(o=Math.max(o,i-t)),o>0&&r.splice(0,o),r}}class pa{constructor(e,t){this.time=e,this.value=t}}let fa=null;function ma(){return fa}const ya=new De("DocumentToken");var ga=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({});class va{}let ba,wa=(()=>{class e extends va{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(function(e){return function(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=qo(t);if(n)return n;const r=t.split("-")[0];if(n=qo(r),n)return n;if("en"===r)return Do;throw new Error(`Missing locale data for the locale "${e}".`)}(e)[jo.PluralCase]}(t||this.locale)(e)){case ga.Zero:return"zero";case ga.One:return"one";case ga.Two:return"two";case ga.Few:return"few";case ga.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)($e(ms))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})(),Ea=(()=>{class e{}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)},providers:[{provide:va,useClass:wa}]}),e})();function xa(e){return"browser"===e}function _a(e){return"server"===e}try{ba="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(yh){ba=!1}let Sa=(()=>{class e{constructor(e){this._platformId=e,this.isBrowser=this._platformId?xa(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!ba)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return e.\u0275fac=function(t){return new(t||e)($e(hs))},e.\u0275prov=ae({factory:function(){return new e($e(hs))},token:e,providedIn:"root"}),e})(),Ca=(()=>{class e{}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)}}),e})();const ka=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let Ta=(()=>{class e{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){const e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e=this._platform?this._platform.isBrowser:"undefined"!=typeof window,t="cdk-overlay-container";if(e||ka){const e=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let t=0;t<e.length;t++)e[t].parentNode.removeChild(e[t])}const n=this._document.createElement("div");n.classList.add(t),ka?n.setAttribute("platform","test"):e||n.setAttribute("platform","server"),this._document.body.appendChild(n),this._containerElement=n}}return e.\u0275fac=function(t){return new(t||e)($e(ya),$e(Sa))},e.\u0275prov=ae({factory:function(){return new e($e(ya),$e(Sa))},token:e,providedIn:"root"}),e})();const Oa=(()=>{const e=Element.prototype;return e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector})(),La={schedule(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)},scheduleBeforeRender(e){if("undefined"==typeof window)return La.schedule(e,0);if(void 0===window.requestAnimationFrame)return La.schedule(e,16);const t=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(t)}};function Ia(e,t,n){let r=n;return function(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((t,n)=>!("*"===t||!function(e,t){return Oa.call(e,t)}(e,t)||(r=n,0))),r}class Ra{constructor(e,t){this.componentFactory=t.get(eo).resolveComponentFactory(e)}create(e){return new Pa(this.componentFactory,e)}}class Pa{constructor(e,t){this.componentFactory=e,this.injector=t,this.eventEmitters=new ha(1),this.events=this.eventEmitters.pipe(function e(t,n){return"function"==typeof n?r=>r.pipe(e((e,r)=>M(t(e,r)).pipe(k((t,i)=>n(e,t,r,i))))):e=>e.lift(new ra(t))}(e=>V(...e))),this.componentRef=null,this.inputChanges=null,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set,this.ngZone=this.injector.get(Ts),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{null!==this.componentRef&&null===this.scheduledDestroyFn&&(this.scheduledDestroyFn=La.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null)},10))})}getInputValue(e){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,t){this.runInZone(()=>{var n,r;null!==this.componentRef?((n=t)!==(r=this.getInputValue(e))&&(n==n||r==r)||void 0===t&&this.unchangedInputs.has(e))&&(this.recordInputChange(e,t),this.componentRef.instance[e]=t,this.scheduleDetectChanges()):this.initialInputValues.set(e,t)})}initializeComponent(e){const t=Ai.create({providers:[],parent:this.injector}),n=function(e,t){const n=e.childNodes,r=t.map(()=>[]);let i=-1;t.some((e,t)=>"*"===e&&(i=t,!0));for(let o=0,s=n.length;o<s;++o){const e=n[o],s=Ia(e,t,i);-1!==s&&r[s].push(e)}return r}(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,n,e),this.implementsOnChanges="function"==typeof this.componentRef.instance.ngOnChanges,this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(Us).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:e})=>{this.implementsOnChanges&&this.unchangedInputs.add(e),this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e))}),this.initialInputValues.clear()}initializeOutputs(e){const t=this.componentFactory.outputs.map(({propName:t,templateName:n})=>e.instance[t].pipe(k(e=>({name:n,value:e}))));this.eventEmitters.next(t)}callNgOnChanges(e){if(!this.implementsOnChanges||null===this.inputChanges)return;const t=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(t)}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=La.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(e,t){if(null!==this.componentRef&&!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const n=this.inputChanges[e];if(n)return void(n.currentValue=t);const r=this.unchangedInputs.has(e);this.unchangedInputs.delete(e);const i=r?void 0:this.getInputValue(e);this.inputChanges[e]=new _t(i,t,r)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}}class Na extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function Aa(e,t){e.forEach(({propName:e})=>{Object.defineProperty(t,e,{get(){return this.ngElementStrategy.getInputValue(e)},set(t){this.ngElementStrategy.setInputValue(e,t)},configurable:!0,enumerable:!0})})}class Da extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var e;e=new Da,fa||(fa=e)}getProperty(e,t){return e[t]}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}getValue(e){return e.value}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=qa||(qa=document.querySelector("base"),qa)?qa.getAttribute("href"):null;return null==t?null:(n=t,Ma||(Ma=document.createElement("a")),Ma.setAttribute("href",n),"/"===Ma.pathname.charAt(0)?Ma.pathname:"/"+Ma.pathname);var n}resetBaseElement(){qa=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return function(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[r,i]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(r.trim()===t)return decodeURIComponent(i)}return null}(document.cookie,e)}}let Ma,qa=null;const ja=new De("TRANSITION_ID"),Fa=[{provide:ss,useFactory:function(e,t,n){return()=>{n.get(as).donePromise.then(()=>{const n=ma();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[ja,ya,Ai],multi:!0}];class za{static init(){!function(e){Fs=e}(new za)}addToWindow(e){Te.getAngularTestability=(t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},Te.getAllAngularTestabilities=()=>e.getAllTestabilities(),Te.getAllAngularRootElements=()=>e.getAllRootElements(),Te.frameworkStabilizers||(Te.frameworkStabilizers=[]),Te.frameworkStabilizers.push(e=>{const t=Te.getAllAngularTestabilities();let n=t.length,r=!1;const i=function(t){r=r||t,n--,0==n&&e(r)};t.forEach((function(e){e.whenStable(i)}))})}findTestabilityInTree(e,t,n){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:n?ma().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}const Ba=new De("EventManagerPlugins");let Ha=(()=>{class e{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let r=0;r<n.length;r++){const t=n[r];if(t.supports(e))return this._eventNameToPlugin.set(e,t),t}throw new Error("No event manager plugin found for event "+e)}}return e.\u0275fac=function(t){return new(t||e)($e(Ba),$e(Ts))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();class Va{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const r=ma().getGlobalEventTarget(this._doc,e);if(!r)throw new Error(`Unsupported event target ${r} for event ${t}`);return this.addEventListener(r,t,n)}}let Wa=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})(),Ua=(()=>{class e extends Wa{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const n=this._doc.createElement("style");n.textContent=e,this._styleNodes.add(t.appendChild(n))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>ma().remove(e))}}return e.\u0275fac=function(t){return new(t||e)($e(ya))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();const $a={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Qa=/%COMP%/g;function Ka(e,t,n){for(let r=0;r<t.length;r++){let i=t[r];Array.isArray(i)?Ka(e,i,n):(i=i.replace(Qa,e),n.push(i))}return n}function Za(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Ga=(()=>{class e{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Xa(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case nt.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new Ja(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case nt.Native:case nt.ShadowDom:return new Ya(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=Ka(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)($e(Ha),$e(Ua),$e(ls))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();class Xa{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS($a[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+":"+t;const i=$a[r];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=$a[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&io.DashCase?e.style.setProperty(t,n,r&io.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&io.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Za(n)):this.eventManager.addEventListener(e,t,Za(n))}}class Ja extends Xa{constructor(e,t,n,r){super(e),this.component=n;const i=Ka(r+"-"+n.id,n.styles,[]);t.addStyles(i),this.contentAttr="_ngcontent-%COMP%".replace(Qa,r+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(Qa,r+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class Ya extends Xa{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===nt.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const i=Ka(r.id,r.styles,[]);for(let o=0;o<i.length;o++){const e=document.createElement("style");e.textContent=i[o],this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let el=(()=>{class e extends Va{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}}return e.\u0275fac=function(t){return new(t||e)($e(ya))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();const tl=["alt","control","meta","shift"],nl={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},rl={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},il={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let ol=(()=>{class e extends Va{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,r){const i=e.parseEventName(n),o=e.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ma().onAndCancel(t,i.domEventName,o))}static parseEventName(t){const n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const i=e._normalizeKey(n.pop());let o="";if(tl.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),o+=e+".")}),o+=i,0!=n.length||0===i.length)return null;const s={};return s.domEventName=r,s.fullKey=o,s}static getEventFullKey(e){let t="",n=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&rl.hasOwnProperty(t)&&(t=rl[t]))}return nl[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),tl.forEach(r=>{r!=n&&(0,il[r])(e)&&(t+=r+".")}),t+=n,t}static eventCallback(t,n,r){return i=>{e.getEventFullKey(i)===t&&r.runGuarded(()=>n(i))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e.\u0275fac=function(t){return new(t||e)($e(ya))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();const sl=Bs(Qs,"browser",[{provide:hs,useValue:"browser"},{provide:ds,useValue:function(){Da.makeCurrent(),za.init()},multi:!0},{provide:ya,useFactory:function(){return function(e){Lt=e}(document),document},deps:[]}]),al=[[],{provide:Ei,useValue:"root"},{provide:Qn,useFactory:function(){return new Qn},deps:[]},{provide:Ba,useClass:el,multi:!0,deps:[ya,Ts,hs]},{provide:Ba,useClass:ol,multi:!0,deps:[ya]},[],{provide:Ga,useClass:Ga,deps:[Ha,Ua,ls]},{provide:ro,useExisting:Ga},{provide:Wa,useExisting:Ua},{provide:Ua,useClass:Ua,deps:[ya]},{provide:Ds,useClass:Ds,deps:[Ts]},{provide:Ha,useClass:Ha,deps:[Ba,Ts]},[]];let ll=(()=>{class e{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:e,providers:[{provide:ls,useValue:t.appId},{provide:ja,useExisting:ls},Fa]}}}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)($e(e,12))},providers:al,imports:[Ea,Zs]}),e})();"undefined"!=typeof window&&window;class ul{}const cl="*";function dl(e,t=null){return{type:2,steps:e,options:t}}function hl(e){return{type:6,styles:e,offset:null}}function pl(e){Promise.resolve(null).then(e)}class fl{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){pl(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){}setPosition(e){}getPosition(){return 0}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class ml{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,n=0,r=0;const i=this.players.length;0==i?pl(()=>this._onFinish()):this.players.forEach(e=>{e.onDone(()=>{++t==i&&this._onFinish()}),e.onDestroy(()=>{++n==i&&this._onDestroy()}),e.onStart(()=>{++r==i&&this._onStart()})}),this.totalTime=this.players.reduce((e,t)=>Math.max(e,t.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(e=>{const n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}getPosition(){let e=0;return this.players.forEach(t=>{const n=t.getPosition();e=Math.min(n,e)}),e}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}function yl(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function gl(e){switch(e.length){case 0:return new fl;case 1:return e[0];default:return new ml(e)}}function vl(e,t,n,r,i={},o={}){const s=[],a=[];let l=-1,u=null;if(r.forEach(e=>{const n=e.offset,r=n==l,c=r&&u||{};Object.keys(e).forEach(n=>{let r=n,a=e[n];if("offset"!==n)switch(r=t.normalizePropertyName(r,s),a){case"!":a=i[n];break;case cl:a=o[n];break;default:a=t.normalizeStyleValue(n,r,a,s)}c[r]=a}),r||a.push(c),u=c,l=n}),s.length){const e="\n - ";throw new Error(`Unable to animate due to the following errors:${e}${s.join(e)}`)}return a}function bl(e,t,n,r){switch(t){case"start":e.onStart(()=>r(n&&wl(n,"start",e)));break;case"done":e.onDone(()=>r(n&&wl(n,"done",e)));break;case"destroy":e.onDestroy(()=>r(n&&wl(n,"destroy",e)))}}function wl(e,t,n){const r=n.totalTime,i=El(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==r?e.totalTime:r,!!n.disabled),o=e._data;return null!=o&&(i._data=o),i}function El(e,t,n,r,i="",o=0,s){return{element:e,triggerName:t,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function xl(e,t,n){let r;return e instanceof Map?(r=e.get(t),r||e.set(t,r=n)):(r=e[t],r||(r=e[t]=n)),r}function _l(e){const t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}let Sl=(e,t)=>!1,Cl=(e,t)=>!1,kl=(e,t,n)=>[];const Tl=yl();(Tl||"undefined"!=typeof Element)&&(Sl=(e,t)=>e.contains(t),Cl=(()=>{if(Tl||Element.prototype.matches)return(e,t)=>e.matches(t);{const e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?(e,n)=>t.apply(e,[n]):Cl}})(),kl=(e,t,n)=>{let r=[];if(n)r.push(...e.querySelectorAll(t));else{const n=e.querySelector(t);n&&r.push(n)}return r});let Ol=null,Ll=!1;function Il(e){Ol||(Ol=("undefined"!=typeof document?document.body:null)||{},Ll=!!Ol.style&&"WebkitAppearance"in Ol.style);let t=!0;return Ol.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(t=e in Ol.style,!t&&Ll)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in Ol.style),t}const Rl=Cl,Pl=Sl,Nl=kl;function Al(e){const t={};return Object.keys(e).forEach(n=>{const r=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[r]=e[n]}),t}let Dl=(()=>{class e{validateStyleProperty(e){return Il(e)}matchesElement(e,t){return Rl(e,t)}containsElement(e,t){return Pl(e,t)}query(e,t,n){return Nl(e,t,n)}computeStyle(e,t,n){return n||""}animate(e,t,n,r,i,o=[],s){return new fl(n,r)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})(),Ml=(()=>{class e{}return e.NOOP=new Dl,e})();const ql="ng-enter",jl="ng-leave",Fl="ng-trigger",zl=".ng-trigger",Bl="ng-animating",Hl=".ng-animating";function Vl(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Wl(parseFloat(t[1]),t[2])}function Wl(e,t){switch(t){case"s":return 1e3*e;default:return e}}function Ul(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){let r,i=0,o="";if("string"==typeof e){const n=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return t.push(`The provided timing value "${e}" is invalid.`),{duration:0,delay:0,easing:""};r=Wl(parseFloat(n[1]),n[2]);const s=n[3];null!=s&&(i=Wl(parseFloat(s),n[4]));const a=n[5];a&&(o=a)}else r=e;if(!n){let n=!1,o=t.length;r<0&&(t.push("Duration values below 0 are not allowed for this animation step."),n=!0),i<0&&(t.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&t.splice(o,0,`The provided timing value "${e}" is invalid.`)}return{duration:r,delay:i,easing:o}}(e,t,n)}function $l(e,t={}){return Object.keys(e).forEach(n=>{t[n]=e[n]}),t}function Ql(e,t,n={}){if(t)for(let r in e)n[r]=e[r];else $l(e,n);return n}function Kl(e,t,n){return n?t+":"+n+";":""}function Zl(e){let t="";for(let n=0;n<e.style.length;n++){const r=e.style.item(n);t+=Kl(0,r,e.style.getPropertyValue(r))}for(const n in e.style)e.style.hasOwnProperty(n)&&!n.startsWith("_")&&(t+=Kl(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[n]));e.setAttribute("style",t)}function Gl(e,t,n){e.style&&(Object.keys(t).forEach(r=>{const i=iu(r);n&&!n.hasOwnProperty(r)&&(n[r]=e.style[i]),e.style[i]=t[r]}),yl()&&Zl(e))}function Xl(e,t){e.style&&(Object.keys(t).forEach(t=>{const n=iu(t);e.style[n]=""}),yl()&&Zl(e))}function Jl(e){return Array.isArray(e)?1==e.length?e[0]:dl(e):e}const Yl=new RegExp("{{\\s*(.+?)\\s*}}","g");function eu(e){let t=[];if("string"==typeof e){let n;for(;n=Yl.exec(e);)t.push(n[1]);Yl.lastIndex=0}return t}function tu(e,t,n){const r=e.toString(),i=r.replace(Yl,(e,r)=>{let i=t[r];return t.hasOwnProperty(r)||(n.push("Please provide a value for the animation param "+r),i=""),i.toString()});return i==r?e:i}function nu(e){const t=[];let n=e.next();for(;!n.done;)t.push(n.value),n=e.next();return t}const ru=/-+([a-z0-9])/g;function iu(e){return e.replace(ru,(...e)=>e[1].toUpperCase())}function ou(e,t){return 0===e||0===t}function su(e,t,n){const r=Object.keys(n);if(r.length&&t.length){let o=t[0],s=[];if(r.forEach(e=>{o.hasOwnProperty(e)||s.push(e),o[e]=n[e]}),s.length)for(var i=1;i<t.length;i++){let n=t[i];s.forEach((function(t){n[t]=lu(e,t)}))}}return t}function au(e,t,n){switch(t.type){case 7:return e.visitTrigger(t,n);case 0:return e.visitState(t,n);case 1:return e.visitTransition(t,n);case 2:return e.visitSequence(t,n);case 3:return e.visitGroup(t,n);case 4:return e.visitAnimate(t,n);case 5:return e.visitKeyframes(t,n);case 6:return e.visitStyle(t,n);case 8:return e.visitReference(t,n);case 9:return e.visitAnimateChild(t,n);case 10:return e.visitAnimateRef(t,n);case 11:return e.visitQuery(t,n);case 12:return e.visitStagger(t,n);default:throw new Error("Unable to resolve animation metadata node #"+t.type)}}function lu(e,t){return window.getComputedStyle(e)[t]}const uu="*";function cu(e,t){const n=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(e=>function(e,t,n){if(":"==e[0]){const r=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t)<parseFloat(e);default:return t.push(`The transition alias value "${e}" is not supported`),"* => *"}}(e,n);if("function"==typeof r)return void t.push(r);e=r}const r=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(`The provided transition expression "${e}" is not supported`),t;const i=r[1],o=r[2],s=r[3];t.push(pu(i,s)),"<"!=o[0]||i==uu&&s==uu||t.push(pu(s,i))}(e,n,t)):n.push(e),n}const du=new Set(["true","1"]),hu=new Set(["false","0"]);function pu(e,t){const n=du.has(e)||hu.has(e),r=du.has(t)||hu.has(t);return(i,o)=>{let s=e==uu||e==i,a=t==uu||t==o;return!s&&n&&"boolean"==typeof i&&(s=i?du.has(e):hu.has(e)),!a&&r&&"boolean"==typeof o&&(a=o?du.has(t):hu.has(t)),s&&a}}const fu=new RegExp("s*:selfs*,?","g");function mu(e,t,n){return new yu(e).build(t,n)}class yu{constructor(e){this._driver=e}build(e,t){const n=new gu(t);return this._resetContextStyleTimingState(n),au(this,Jl(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,r=t.depCount=0;const i=[],o=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(e=>{if(this._resetContextStyleTimingState(t),0==e.type){const n=e,r=n.name;r.toString().split(/\s*,\s*/).forEach(e=>{n.name=e,i.push(this.visitState(n,t))}),n.name=r}else if(1==e.type){const i=this.visitTransition(e,t);n+=i.queryCount,r+=i.depCount,o.push(i)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:i,transitions:o,queryCount:n,depCount:r,options:null}}visitState(e,t){const n=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){const i=new Set,o=r||{};if(n.styles.forEach(e=>{if(vu(e)){const t=e;Object.keys(t).forEach(e=>{eu(t[e]).forEach(e=>{o.hasOwnProperty(e)||i.add(e)})})}}),i.size){const n=nu(i.values());t.errors.push(`state("${e.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:e.name,style:n,options:r?{params:r}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const n=au(this,Jl(e.animation),t);return{type:1,matchers:cu(e.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:bu(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(e=>au(this,e,t)),options:bu(e.options)}}visitGroup(e,t){const n=t.currentTime;let r=0;const i=e.steps.map(e=>{t.currentTime=n;const i=au(this,e,t);return r=Math.max(r,t.currentTime),i});return t.currentTime=r,{type:3,steps:i,options:bu(e.options)}}visitAnimate(e,t){const n=function(e,t){let n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return wu(Ul(e,t).duration,0,"");const r=e;if(r.split(/\s+/).some(e=>"{"==e.charAt(0)&&"{"==e.charAt(1))){const e=wu(0,0,"");return e.dynamic=!0,e.strValue=r,e}return n=n||Ul(r,t),wu(n.duration,n.delay,n.easing)}(e.timings,t.errors);let r;t.currentAnimateTimings=n;let i=e.styles?e.styles:hl({});if(5==i.type)r=this.visitKeyframes(i,t);else{let i=e.styles,o=!1;if(!i){o=!0;const e={};n.easing&&(e.easing=n.easing),i=hl(e)}t.currentTime+=n.duration+n.delay;const s=this.visitStyle(i,t);s.isEmptyStep=o,r=s}return t.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(e,t){const n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){const n=[];Array.isArray(e.styles)?e.styles.forEach(e=>{"string"==typeof e?e==cl?n.push(e):t.errors.push(`The provided style string value ${e} is not allowed.`):n.push(e)}):n.push(e.styles);let r=!1,i=null;return n.forEach(e=>{if(vu(e)){const t=e,n=t.easing;if(n&&(i=n,delete t.easing),!r)for(let e in t)if(t[e].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:i,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){const n=t.currentAnimateTimings;let r=t.currentTime,i=t.currentTime;n&&i>0&&(i-=n.duration+n.delay),e.styles.forEach(e=>{"string"!=typeof e&&Object.keys(e).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void t.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const o=t.collectedStyles[t.currentQuerySelector],s=o[n];let a=!0;s&&(i!=r&&i>=s.startTime&&r<=s.endTime&&(t.errors.push(`The CSS property "${n}" that exists between the times of "${s.startTime}ms" and "${s.endTime}ms" is also being animated in a parallel animation between the times of "${i}ms" and "${r}ms"`),a=!1),i=s.startTime),a&&(o[n]={startTime:i,endTime:r}),t.options&&function(e,t,n){const r=t.params||{},i=eu(e);i.length&&i.forEach(e=>{r.hasOwnProperty(e)||n.push(`Unable to resolve the local animation param ${e} in the given list of values`)})}(e[n],t.options,t.errors)})})}visitKeyframes(e,t){const n={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),n;let r=0;const i=[];let o=!1,s=!1,a=0;const l=e.steps.map(e=>{const n=this._makeStyleAst(e,t);let l=null!=n.offset?n.offset:function(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach(e=>{if(vu(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}});else if(vu(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}return t}(n.styles),u=0;return null!=l&&(r++,u=n.offset=l),s=s||u<0||u>1,o=o||u<a,a=u,i.push(u),n});s&&t.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),o&&t.errors.push("Please ensure that all keyframe offsets are in order");const u=e.steps.length;let c=0;r>0&&r<u?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==r&&(c=1/(u-1));const d=u-1,h=t.currentTime,p=t.currentAnimateTimings,f=p.duration;return l.forEach((e,r)=>{const o=c>0?r==d?1:c*r:i[r],s=o*f;t.currentTime=h+p.delay+s,p.duration=s,this._validateStyleAst(e,t),e.offset=o,n.styles.push(e)}),n}visitReference(e,t){return{type:8,animation:au(this,Jl(e.animation),t),options:bu(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:bu(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:bu(e.options)}}visitQuery(e,t){const n=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;const[i,o]=function(e){const t=!!e.split(/\s*,\s*/).find(e=>":self"==e);return t&&(e=e.replace(fu,"")),[e=e.replace(/@\*/g,zl).replace(/@\w+/g,e=>".ng-trigger-"+e.substr(1)).replace(/:animating/g,Hl),t]}(e.selector);t.currentQuerySelector=n.length?n+" "+i:i,xl(t.collectedStyles,t.currentQuerySelector,{});const s=au(this,Jl(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:i,limit:r.limit||0,optional:!!r.optional,includeSelf:o,animation:s,originalSelector:e.selector,options:bu(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");const n="full"===e.timings?{duration:0,delay:0,easing:"full"}:Ul(e.timings,t.errors,!0);return{type:12,animation:au(this,Jl(e.animation),t),timings:n,options:null}}}class gu{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function vu(e){return!Array.isArray(e)&&"object"==typeof e}function bu(e){var t;return e?(e=$l(e)).params&&(e.params=(t=e.params)?$l(t):null):e={},e}function wu(e,t,n){return{duration:e,delay:t,easing:n}}function Eu(e,t,n,r,i,o,s=null,a=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}class xu{constructor(){this._map=new Map}consume(e){let t=this._map.get(e);return t?this._map.delete(e):t=[],t}append(e,t){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const _u=new RegExp(":enter","g"),Su=new RegExp(":leave","g");function Cu(e,t,n,r,i,o={},s={},a,l,u=[]){return(new ku).buildKeyframes(e,t,n,r,i,o,s,a,l,u)}class ku{buildKeyframes(e,t,n,r,i,o,s,a,l,u=[]){l=l||new xu;const c=new Ou(e,t,l,r,i,u,[]);c.options=a,c.currentTimeline.setStyles([o],null,c.errors,a),au(this,n,c);const d=c.timelines.filter(e=>e.containsAnimation());if(d.length&&Object.keys(s).length){const e=d[d.length-1];e.allowOnlyTimelineStyles()||e.setStyles([s],null,c.errors,a)}return d.length?d.map(e=>e.buildKeyframes()):[Eu(t,[],[],[],0,0,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const n=t.subInstructions.consume(t.element);if(n){const r=t.createSubContext(e.options),i=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}visitAnimateRef(e,t){const n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}_visitSubInstructions(e,t,n){let r=t.currentTimeline.currentTime;const i=null!=n.duration?Vl(n.duration):null,o=null!=n.delay?Vl(n.delay):null;return 0!==i&&e.forEach(e=>{const n=t.appendInstructionToTimeline(e,i,o);r=Math.max(r,n.duration+n.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),au(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const n=t.subContextCount;let r=t;const i=e.options;if(i&&(i.params||i.delay)&&(r=t.createSubContext(i),r.transformIntoNewTimeline(),null!=i.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Tu);const e=Vl(i.delay);r.delayNextStep(e)}e.steps.length&&(e.steps.forEach(e=>au(this,e,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const n=[];let r=t.currentTimeline.currentTime;const i=e.options&&e.options.delay?Vl(e.options.delay):0;e.steps.forEach(o=>{const s=t.createSubContext(e.options);i&&s.delayNextStep(i),au(this,o,s),r=Math.max(r,s.currentTimeline.currentTime),n.push(s.currentTimeline)}),n.forEach(e=>t.currentTimeline.mergeTimelineCollectedStyles(e)),t.transformIntoNewTimeline(r),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const n=e.strValue;return Ul(t.params?tu(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());const i=e.style;5==i.type?this.visitKeyframes(i,t):(t.incrementTime(n.duration),this.visitStyle(i,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();const i=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(i):n.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const n=t.currentAnimateTimings,r=t.currentTimeline.duration,i=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach(e=>{o.forwardTime((e.offset||0)*i),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(r+i),t.previousNode=e}visitQuery(e,t){const n=t.currentTimeline.currentTime,r=e.options||{},i=r.delay?Vl(r.delay):0;i&&(6===t.previousNode.type||0==n&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Tu);let o=n;const s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=s.length;let a=null;s.forEach((n,r)=>{t.currentQueryIndex=r;const s=t.createSubContext(e.options,n);i&&s.delayNextStep(i),n===t.element&&(a=s.currentTimeline),au(this,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,s.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),a&&(t.currentTimeline.mergeTimelineCollectedStyles(a),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const n=t.parentContext,r=t.currentTimeline,i=e.timings,o=Math.abs(i.duration),s=o*(t.currentQueryTotal-1);let a=o*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":a=s-a;break;case"full":a=n.currentStaggerTime}const l=t.currentTimeline;a&&l.delayNextStep(a);const u=l.currentTime;au(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)}}const Tu={};class Ou{constructor(e,t,n,r,i,o,s,a){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Tu,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new Lu(this._driver,t,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const n=e;let r=this.options;null!=n.duration&&(r.duration=Vl(n.duration)),null!=n.delay&&(r.delay=Vl(n.delay));const i=n.params;if(i){let e=r.params;e||(e=this.options.params={}),Object.keys(i).forEach(n=>{t&&e.hasOwnProperty(n)||(e[n]=tu(i[n],e,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const n=e.params={};Object.keys(t).forEach(e=>{n[e]=t[e]})}}return e}createSubContext(e=null,t,n){const r=t||this.element,i=new Ou(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(e),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(e){return this.previousNode=Tu,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,n){const r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},i=new Iu(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(i),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,n,r,i,o){let s=[];if(r&&s.push(this.element),e.length>0){e=(e=e.replace(_u,"."+this._enterClassName)).replace(Su,"."+this._leaveClassName);let t=this._driver.query(this.element,e,1!=n);0!==n&&(t=n<0?t.slice(t.length+n,t.length):t.slice(0,n)),s.push(...t)}return i||0!=s.length||o.push(`\`query("${t}")\` returned zero elements. (Use \`query("${t}", { optional: true })\` if you wish to allow this.)`),s}}class Lu{constructor(e,t,n,r){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new Lu(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||cl,this._currentKeyframe[e]=cl}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,n,r){t&&(this._previousKeyframe.easing=t);const i=r&&r.params||{},o=function(e,t){const n={};let r;return e.forEach(e=>{"*"===e?(r=r||Object.keys(t),r.forEach(e=>{n[e]=cl})):Ql(e,!1,n)}),n}(e,this._globalTimelineStyles);Object.keys(o).forEach(e=>{const t=tu(o[e],i,n);this._pendingStyles[e]=t,this._localTimelineStyles.hasOwnProperty(e)||(this._backFill[e]=this._globalTimelineStyles.hasOwnProperty(e)?this._globalTimelineStyles[e]:cl),this._updateStyle(e,t)})}applyStylesToKeyframe(){const e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach(t=>{this._currentKeyframe[t]=e[t]}),Object.keys(this._localTimelineStyles).forEach(e=>{this._currentKeyframe.hasOwnProperty(e)||(this._currentKeyframe[e]=this._localTimelineStyles[e])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(e=>{const t=this._localTimelineStyles[e];this._pendingStyles[e]=t,this._updateStyle(e,t)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach(t=>{const n=this._styleSummary[t],r=e._styleSummary[t];(!n||r.time>n.time)&&this._updateStyle(t,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((i,o)=>{const s=Ql(i,!0);Object.keys(s).forEach(n=>{const r=s[n];"!"==r?e.add(n):r==cl&&t.add(n)}),n||(s.offset=o/this.duration),r.push(s)});const i=e.size?nu(e.values()):[],o=t.size?nu(t.values()):[];if(n){const e=r[0],t=$l(e);e.offset=0,t.offset=1,r=[e,t]}return Eu(this.element,r,i,o,this.duration,this.startTime,this.easing,!1)}}class Iu extends Lu{constructor(e,t,n,r,i,o,s=!1){super(e,t,o.delay),this.element=t,this.keyframes=n,this.preStyleProps=r,this.postStyleProps=i,this._stretchStartingKeyframe=s,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){const i=[],o=n+t,s=t/o,a=Ql(e[0],!1);a.offset=0,i.push(a);const l=Ql(e[0],!1);l.offset=Ru(s),i.push(l);const u=e.length-1;for(let r=1;r<=u;r++){let s=Ql(e[r],!1);s.offset=Ru((t+s.offset*n)/o),i.push(s)}n=o,t=0,r="",e=i}return Eu(this.element,e,this.preStyleProps,this.postStyleProps,n,t,r,!0)}}function Ru(e,t=3){const n=Math.pow(10,t-1);return Math.round(e*n)/n}class Pu{}class Nu extends Pu{normalizePropertyName(e,t){return iu(e)}normalizeStyleValue(e,t,n,r){let i="";const o=n.toString().trim();if(Au[t]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{const t=n.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&r.push(`Please provide a CSS unit value for ${e}:${n}`)}return o+i}}const Au=(()=>function(e){const t={};return e.forEach(e=>t[e]=!0),t}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function Du(e,t,n,r,i,o,s,a,l,u,c,d,h){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:d,errors:h}}const Mu={};class qu{constructor(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,r){return function(e,t,n,r,i){return e.some(e=>e(t,n,r,i))}(this.ast.matchers,e,t,n,r)}buildStyles(e,t,n){const r=this._stateStyles["*"],i=this._stateStyles[e],o=r?r.buildStyles(t,n):{};return i?i.buildStyles(t,n):o}build(e,t,n,r,i,o,s,a,l,u){const c=[],d=this.ast.options&&this.ast.options.params||Mu,h=this.buildStyles(n,s&&s.params||Mu,c),p=a&&a.params||Mu,f=this.buildStyles(r,p,c),m=new Set,y=new Map,g=new Map,v="void"===r,b={params:Object.assign(Object.assign({},d),p)},w=u?[]:Cu(e,t,this.ast.animation,i,o,h,f,b,l,c);let E=0;if(w.forEach(e=>{E=Math.max(e.duration+e.delay,E)}),c.length)return Du(t,this._triggerName,n,r,v,h,f,[],[],y,g,E,c);w.forEach(e=>{const n=e.element,r=xl(y,n,{});e.preStyleProps.forEach(e=>r[e]=!0);const i=xl(g,n,{});e.postStyleProps.forEach(e=>i[e]=!0),n!==t&&m.add(n)});const x=nu(m.values());return Du(t,this._triggerName,n,r,v,h,f,w,x,y,g,E)}}class ju{constructor(e,t){this.styles=e,this.defaultParams=t}buildStyles(e,t){const n={},r=$l(this.defaultParams);return Object.keys(e).forEach(t=>{const n=e[t];null!=n&&(r[t]=n)}),this.styles.styles.forEach(e=>{if("string"!=typeof e){const i=e;Object.keys(i).forEach(e=>{let o=i[e];o.length>1&&(o=tu(o,r,t)),n[e]=o})}}),n}}class Fu{constructor(e,t){this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(e=>{this.states[e.name]=new ju(e.style,e.options&&e.options.params||{})}),zu(this.states,"true","1"),zu(this.states,"false","0"),t.transitions.forEach(t=>{this.transitionFactories.push(new qu(e,t,this.states))}),this.fallbackTransition=new qu(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[(e,t)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,r){return this.transitionFactories.find(i=>i.match(e,t,n,r))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}function zu(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}const Bu=new xu;class Hu{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(e,t){const n=[],r=mu(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[e]=r}_buildPlayer(e,t,n){const r=e.element,i=vl(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(r,i,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){const r=[],i=this._animations[e];let o;const s=new Map;if(i?(o=Cu(this._driver,t,i,ql,jl,{},{},n,Bu,r),o.forEach(e=>{const t=xl(s,e.element,{});e.postStyleProps.forEach(e=>t[e]=null)})):(r.push("The requested animation doesn't exist or has already been destroyed"),o=[]),r.length)throw new Error("Unable to create the animation due to the following errors: "+r.join("\n"));s.forEach((e,t)=>{Object.keys(e).forEach(n=>{e[n]=this._driver.computeStyle(t,n,cl)})});const a=gl(o.map(e=>{const t=s.get(e.element);return this._buildPlayer(e,{},t)}));return this._playersById[e]=a,a.onDestroy(()=>this.destroy(e)),this.players.push(a),a}destroy(e){const t=this._getPlayer(e);t.destroy(),delete this._playersById[e];const n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(e){const t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by "+e);return t}listen(e,t,n,r){const i=El(t,"","","");return bl(this._getPlayer(e),n,i,r),()=>{}}command(e,t,n,r){if("register"==n)return void this.register(e,r[0]);if("create"==n)return void this.create(e,t,r[0]||{});const i=this._getPlayer(e);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}}const Vu="ng-animate-queued",Wu="ng-animate-disabled",Uu=".ng-animate-disabled",$u=[],Qu={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ku={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Zu{constructor(e,t=""){this.namespaceId=t;const n=e&&e.hasOwnProperty("value");if(this.value=null!=(r=n?e.value:e)?r:null,n){const t=$l(e);delete t.value,this.options=t}else this.options={};var r;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const e=this.options.params;Object.keys(t).forEach(n=>{null==e[n]&&(e[n]=t[n])})}}}const Gu="void",Xu=new Zu(Gu);class Ju{constructor(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,oc(t,this._hostClassName)}listen(e,t,n,r){if(!this._triggers.hasOwnProperty(t))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${t}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${t}" because the provided event is undefined!`);if("start"!=(i=n)&&"done"!=i)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${t}" is not supported!`);var i;const o=xl(this._elementListeners,e,[]),s={name:t,phase:n,callback:r};o.push(s);const a=xl(this._engine.statesByElement,e,{});return a.hasOwnProperty(t)||(oc(e,Fl),oc(e,"ng-trigger-"+t),a[t]=Xu),()=>{this._engine.afterFlush(()=>{const e=o.indexOf(s);e>=0&&o.splice(e,1),this._triggers[t]||delete a[t]})}}register(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}_getTrigger(e){const t=this._triggers[e];if(!t)throw new Error(`The provided animation trigger "${e}" has not been registered!`);return t}trigger(e,t,n,r=!0){const i=this._getTrigger(t),o=new ec(this.id,t,e);let s=this._engine.statesByElement.get(e);s||(oc(e,Fl),oc(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));let a=s[t];const l=new Zu(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),s[t]=l,a||(a=Xu),l.value!==Gu&&a.value===l.value){if(!function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(let i=0;i<n.length;i++){const r=n[i];if(!t.hasOwnProperty(r)||e[r]!==t[r])return!1}return!0}(a.params,l.params)){const t=[],n=i.matchStyles(a.value,a.params,t),r=i.matchStyles(l.value,l.params,t);t.length?this._engine.reportError(t):this._engine.afterFlush(()=>{Xl(e,n),Gl(e,r)})}return}const u=xl(this._engine.playersByElement,e,[]);u.forEach(e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()});let c=i.matchTransition(a.value,l.value,e,l.params),d=!1;if(!c){if(!r)return;c=i.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:c,fromState:a,toState:l,player:o,isFallbackTransition:d}),d||(oc(e,Vu),o.onStart(()=>{sc(e,Vu)})),o.onDone(()=>{let t=this.players.indexOf(o);t>=0&&this.players.splice(t,1);const n=this._engine.playersByElement.get(e);if(n){let e=n.indexOf(o);e>=0&&n.splice(e,1)}}),this.players.push(o),u.push(o),o}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach((t,n)=>{delete t[e]}),this._elementListeners.forEach((t,n)=>{this._elementListeners.set(n,t.filter(t=>t.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(e=>e.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const n=this._engine.driver.query(e,zl,!0);n.forEach(e=>{if(e.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(e);n.size?n.forEach(n=>n.triggerLeaveAnimation(e,t,!1,!0)):this.clearElementCache(e)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(e=>this.clearElementCache(e)))}triggerLeaveAnimation(e,t,n,r){const i=this._engine.statesByElement.get(e);if(i){const o=[];if(Object.keys(i).forEach(t=>{if(this._triggers[t]){const n=this.trigger(e,t,Gu,r);n&&o.push(n)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&gl(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e);if(t){const n=new Set;t.forEach(t=>{const r=t.name;if(n.has(r))return;n.add(r);const i=this._triggers[r].fallbackTransition,o=this._engine.statesByElement.get(e)[r]||Xu,s=new Zu(Gu),a=new ec(this.id,r,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:i,fromState:o,toState:s,player:a,isFallbackTransition:!0})})}}removeNode(e,t){const n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let r=!1;if(n.totalAnimations){const t=n.players.length?n.playersByQueriedElement.get(e):[];if(t&&t.length)r=!0;else{let t=e;for(;t=t.parentNode;)if(n.statesByElement.get(t)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)n.markElementAsRemoved(this.id,e,!1,t);else{const r=e.__ng_removed;r&&r!==Qu||(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){oc(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(n=>{const r=n.player;if(r.destroyed)return;const i=n.element,o=this._elementListeners.get(i);o&&o.forEach(t=>{if(t.name==n.triggerName){const r=El(i,n.triggerName,n.fromState.value,n.toState.value);r._data=e,bl(n.player,t.phase,r,t.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(n)}),this._queue=[],t.sort((e,t)=>{const n=e.transition.ast.depCount,r=t.transition.ast.depCount;return 0==n||0==r?n-r:this._engine.driver.containsElement(e.element,t.element)?1:-1})}destroy(e){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(t=>t.element===e)||t,t}}class Yu{constructor(e,t,n){this.bodyNode=e,this.driver=t,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(e,t)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,t){const n=new Ju(e,t,this);return t.parentNode?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,t){const n=this._namespaceList.length-1;if(n>=0){let r=!1;for(let i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,t)){this._namespaceList.splice(i+1,0,e),r=!0;break}r||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}register(e,t){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}registerTrigger(e,t,n){let r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++}destroy(e,t){if(!e)return;const n=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[e];const t=this._namespaceList.indexOf(n);t>=0&&this._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(()=>n.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,n=this.statesByElement.get(e);if(n){const e=Object.keys(n);for(let r=0;r<e.length;r++){const i=n[e[r]].namespaceId;if(i){const e=this._fetchNamespace(i);e&&t.add(e)}}}return t}trigger(e,t,n,r){if(tc(t)){const i=this._fetchNamespace(e);if(i)return i.trigger(t,n,r),!0}return!1}insertNode(e,t,n,r){if(!tc(t))return;const i=t.__ng_removed;if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;const e=this.collectedLeaveElements.indexOf(t);e>=0&&this.collectedLeaveElements.splice(e,1)}if(e){const r=this._fetchNamespace(e);r&&r.insertNode(t,n)}r&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),oc(e,Wu)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),sc(e,Wu))}removeNode(e,t,n,r){if(tc(t)){const i=e?this._fetchNamespace(e):null;if(i?i.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r),n){const n=this.namespacesByHostElement.get(t);n&&n.id!==e&&n.removeNode(t,r)}}else this._onRemovalComplete(t,r)}markElementAsRemoved(e,t,n,r){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}listen(e,t,n,r,i){return tc(t)?this._fetchNamespace(e).listen(t,n,r,i):()=>{}}_buildInstruction(e,t,n,r,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,t,i)}destroyInnerAnimations(e){let t=this.driver.query(e,zl,!0);t.forEach(e=>this.destroyActiveAnimationsForElement(e)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,Hl,!0),t.forEach(e=>this.finishActiveQueriedAnimationOnElement(e)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(e=>{e.queued?e.markedForDestroy=!0:e.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(e=>e.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return gl(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e.__ng_removed;if(t&&t.setForRemoval){if(e.__ng_removed=Qu,t.namespaceId){this.destroyInnerAnimations(e);const n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,Uu)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Uu,!0).forEach(e=>{this.markElementAsDisabled(e,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((e,t)=>this._balanceNamespaceList(e,t)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)oc(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{t=this._flushAnimations(n,e)}finally{for(let e=0;e<n.length;e++)n[e]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(e=>e()),this._flushFns=[],this._whenQuietFns.length){const e=this._whenQuietFns;this._whenQuietFns=[],t.length?gl(t).onDone(()=>{e.forEach(e=>e())}):e.forEach(e=>e())}}reportError(e){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+e.join("\n"))}_flushAnimations(e,t){const n=new xu,r=[],i=new Map,o=[],s=new Map,a=new Map,l=new Map,u=new Set;this.disabledNodes.forEach(e=>{u.add(e);const t=this.driver.query(e,".ng-animate-queued",!0);for(let n=0;n<t.length;n++)u.add(t[n])});const c=this.bodyNode,d=Array.from(this.statesByElement.keys()),h=ic(d,this.collectedEnterElements),p=new Map;let f=0;h.forEach((e,t)=>{const n=ql+f++;p.set(t,n),e.forEach(e=>oc(e,n))});const m=[],y=new Set,g=new Set;for(let I=0;I<this.collectedLeaveElements.length;I++){const e=this.collectedLeaveElements[I],t=e.__ng_removed;t&&t.setForRemoval&&(m.push(e),y.add(e),t.hasAnimation?this.driver.query(e,".ng-star-inserted",!0).forEach(e=>y.add(e)):g.add(e))}const v=new Map,b=ic(d,Array.from(y));b.forEach((e,t)=>{const n=jl+f++;v.set(t,n),e.forEach(e=>oc(e,n))}),e.push(()=>{h.forEach((e,t)=>{const n=p.get(t);e.forEach(e=>sc(e,n))}),b.forEach((e,t)=>{const n=v.get(t);e.forEach(e=>sc(e,n))}),m.forEach(e=>{this.processLeaveNode(e)})});const w=[],E=[];for(let I=this._namespaceList.length-1;I>=0;I--)this._namespaceList[I].drainQueuedTransitions(t).forEach(e=>{const t=e.player,i=e.element;if(w.push(t),this.collectedEnterElements.length){const e=i.__ng_removed;if(e&&e.setForMove)return void t.destroy()}const u=!c||!this.driver.containsElement(c,i),d=v.get(i),h=p.get(i),f=this._buildInstruction(e,n,h,d,u);if(f.errors&&f.errors.length)E.push(f);else{if(u)return t.onStart(()=>Xl(i,f.fromStyles)),t.onDestroy(()=>Gl(i,f.toStyles)),void r.push(t);if(e.isFallbackTransition)return t.onStart(()=>Xl(i,f.fromStyles)),t.onDestroy(()=>Gl(i,f.toStyles)),void r.push(t);f.timelines.forEach(e=>e.stretchStartingKeyframe=!0),n.append(i,f.timelines),o.push({instruction:f,player:t,element:i}),f.queriedElements.forEach(e=>xl(s,e,[]).push(t)),f.preStyleProps.forEach((e,t)=>{const n=Object.keys(e);if(n.length){let e=a.get(t);e||a.set(t,e=new Set),n.forEach(t=>e.add(t))}}),f.postStyleProps.forEach((e,t)=>{const n=Object.keys(e);let r=l.get(t);r||l.set(t,r=new Set),n.forEach(e=>r.add(e))})}});if(E.length){const e=[];E.forEach(t=>{e.push(`@${t.triggerName} has failed due to:\n`),t.errors.forEach(t=>e.push(`- ${t}\n`))}),w.forEach(e=>e.destroy()),this.reportError(e)}const x=new Map,_=new Map;o.forEach(e=>{const t=e.element;n.has(t)&&(_.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,x))}),r.forEach(e=>{const t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(e=>{xl(x,t,[]).push(e),e.destroy()})});const S=m.filter(e=>lc(e,a,l)),C=new Map;rc(C,this.driver,g,l,cl).forEach(e=>{lc(e,a,l)&&S.push(e)});const k=new Map;h.forEach((e,t)=>{rc(k,this.driver,new Set(e),a,"!")}),S.forEach(e=>{const t=C.get(e),n=k.get(e);C.set(e,Object.assign(Object.assign({},t),n))});const T=[],O=[],L={};o.forEach(e=>{const{element:t,player:o,instruction:s}=e;if(n.has(t)){if(u.has(t))return o.onDestroy(()=>Gl(t,s.toStyles)),o.disabled=!0,o.overrideTotalTime(s.totalTime),void r.push(o);let e=L;if(_.size>1){let n=t;const r=[];for(;n=n.parentNode;){const t=_.get(n);if(t){e=t;break}r.push(n)}r.forEach(t=>_.set(t,e))}const n=this._buildAnimation(o.namespaceId,s,x,i,k,C);if(o.setRealPlayer(n),e===L)T.push(o);else{const t=this.playersByElement.get(e);t&&t.length&&(o.parentPlayer=gl(t)),r.push(o)}}else Xl(t,s.fromStyles),o.onDestroy(()=>Gl(t,s.toStyles)),O.push(o),u.has(t)&&r.push(o)}),O.forEach(e=>{const t=i.get(e.element);if(t&&t.length){const n=gl(t);e.setRealPlayer(n)}}),r.forEach(e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(let I=0;I<m.length;I++){const e=m[I],t=e.__ng_removed;if(sc(e,jl),t&&t.hasAnimation)continue;let n=[];if(s.size){let t=s.get(e);t&&t.length&&n.push(...t);let r=this.driver.query(e,Hl,!0);for(let e=0;e<r.length;e++){let t=s.get(r[e]);t&&t.length&&n.push(...t)}}const r=n.filter(e=>!e.destroyed);r.length?ac(this,e,r):this.processLeaveNode(e)}return m.length=0,T.forEach(e=>{this.players.push(e),e.onDone(()=>{e.destroy();const t=this.players.indexOf(e);this.players.splice(t,1)}),e.play()}),T}elementContainsData(e,t){let n=!1;const r=t.__ng_removed;return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,r,i){let o=[];if(t){const t=this.playersByQueriedElement.get(e);t&&(o=t)}else{const t=this.playersByElement.get(e);if(t){const e=!i||i==Gu;t.forEach(t=>{t.queued||(e||t.triggerName==r)&&o.push(t)})}}return(n||r)&&(o=o.filter(e=>!(n&&n!=e.namespaceId||r&&r!=e.triggerName))),o}_beforeAnimationBuild(e,t,n){const r=t.element,i=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:t.triggerName;for(const s of t.timelines){const e=s.element,a=e!==r,l=xl(n,e,[]);this._getPreviousPlayers(e,a,i,o,t.toState).forEach(e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),l.push(e)})}Xl(r,t.fromStyles)}_buildAnimation(e,t,n,r,i,o){const s=t.triggerName,a=t.element,l=[],u=new Set,c=new Set,d=t.timelines.map(t=>{const d=t.element;u.add(d);const h=d.__ng_removed;if(h&&h.removedBeforeQueried)return new fl(t.duration,t.delay);const p=d!==a,f=function(e){const t=[];return function e(t,n){for(let r=0;r<t.length;r++){const i=t[r];i instanceof ml?e(i.players,n):n.push(i)}}(e,t),t}((n.get(d)||$u).map(e=>e.getRealPlayer())).filter(e=>!!e.element&&e.element===d),m=i.get(d),y=o.get(d),g=vl(0,this._normalizer,0,t.keyframes,m,y),v=this._buildPlayer(t,g,f);if(t.subTimeline&&r&&c.add(d),p){const t=new ec(e,s,d);t.setRealPlayer(v),l.push(t)}return v});l.forEach(e=>{xl(this.playersByQueriedElement,e.element,[]).push(e),e.onDone(()=>function(e,t,n){let r;if(e instanceof Map){if(r=e.get(t),r){if(r.length){const e=r.indexOf(n);r.splice(e,1)}0==r.length&&e.delete(t)}}else if(r=e[t],r){if(r.length){const e=r.indexOf(n);r.splice(e,1)}0==r.length&&delete e[t]}return r}(this.playersByQueriedElement,e.element,e))}),u.forEach(e=>oc(e,Bl));const h=gl(d);return h.onDestroy(()=>{u.forEach(e=>sc(e,Bl)),Gl(a,t.toStyles)}),c.forEach(e=>{xl(r,e,[]).push(h)}),h}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new fl(e.duration,e.delay)}}class ec{constructor(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new fl,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(t=>{this._queuedCallbacks[t].forEach(n=>bl(e,t,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){xl(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function tc(e){return e&&1===e.nodeType}function nc(e,t){const n=e.style.display;return e.style.display=null!=t?t:"none",n}function rc(e,t,n,r,i){const o=[];n.forEach(e=>o.push(nc(e)));const s=[];r.forEach((n,r)=>{const o={};n.forEach(e=>{const n=o[e]=t.computeStyle(r,e,i);n&&0!=n.length||(r.__ng_removed=Ku,s.push(r))}),e.set(r,o)});let a=0;return n.forEach(e=>nc(e,o[a++])),s}function ic(e,t){const n=new Map;if(e.forEach(e=>n.set(e,[])),0==t.length)return n;const r=new Set(t),i=new Map;return t.forEach(e=>{const t=function e(t){if(!t)return 1;let o=i.get(t);if(o)return o;const s=t.parentNode;return o=n.has(s)?s:r.has(s)?1:e(s),i.set(t,o),o}(e);1!==t&&n.get(t).push(e)}),n}function oc(e,t){if(e.classList)e.classList.add(t);else{let n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function sc(e,t){if(e.classList)e.classList.remove(t);else{let n=e.$$classes;n&&delete n[t]}}function ac(e,t,n){gl(n).onDone(()=>e.processLeaveNode(t))}function lc(e,t,n){const r=n.get(e);if(!r)return!1;let i=t.get(e);return i?r.forEach(e=>i.add(e)):t.set(e,r),n.delete(e),!0}class uc{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new Yu(e,t,n),this._timelineEngine=new Hu(e,t,n),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,n,r,i){const o=e+"-"+r;let s=this._triggerCache[o];if(!s){const e=[],t=mu(this._driver,i,e);if(e.length)throw new Error(`The animation trigger "${r}" has failed to build due to the following errors:\n - ${e.join("\n - ")}`);s=function(e,t){return new Fu(e,t)}(r,t),this._triggerCache[o]=s}this._transitionEngine.registerTrigger(t,r,s)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)}onRemove(e,t,n,r){this._transitionEngine.removeNode(e,t,r||!1,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,r){if("@"==n.charAt(0)){const[e,i]=_l(n);this._timelineEngine.command(e,t,i,r)}else this._transitionEngine.trigger(e,t,n,r)}listen(e,t,n,r,i){if("@"==n.charAt(0)){const[e,r]=_l(n);return this._timelineEngine.listen(e,t,r,i)}return this._transitionEngine.listen(e,t,n,r,i)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function cc(e,t){let n=null,r=null;return Array.isArray(t)&&t.length?(n=hc(t[0]),t.length>1&&(r=hc(t[t.length-1]))):t&&(n=hc(t)),n||r?new dc(e,n,r):null}let dc=(()=>{class e{constructor(t,n,r){this._element=t,this._startStyles=n,this._endStyles=r,this._state=0;let i=e.initialStylesByElement.get(t);i||e.initialStylesByElement.set(t,i={}),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Gl(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Gl(this._element,this._initialStyles),this._endStyles&&(Gl(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(Xl(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Xl(this._element,this._endStyles),this._endStyles=null),Gl(this._element,this._initialStyles),this._state=3)}}return e.initialStylesByElement=new WeakMap,e})();function hc(e){let t=null;const n=Object.keys(e);for(let r=0;r<n.length;r++){const i=n[r];pc(i)&&(t=t||{},t[i]=e[i])}return t}function pc(e){return"display"===e||"position"===e}const fc="animation",mc="animationend";class yc{constructor(e,t,n,r,i,o,s){this._element=e,this._name=t,this._duration=n,this._delay=r,this._easing=i,this._fillMode=o,this._onDoneFn=s,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=e=>this._handleCallback(e)}apply(){!function(e,t){const n=xc(e,"").trim();n.length&&(function(e,t){let n=0;for(let r=0;r<e.length;r++)","===e.charAt(r)&&n++}(n),t=`${n}, ${t}`),Ec(e,"",t)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),wc(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){gc(this._element,this._name,"paused")}resume(){gc(this._element,this._name,"running")}setPosition(e){const t=vc(this._element,this._name);this._position=e*this._duration,Ec(this._element,"Delay",`-${this._position}ms`,t)}getPosition(){return this._position}_handleCallback(e){const t=e._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(e.elapsedTime.toFixed(3));e.animationName==this._name&&Math.max(t-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),wc(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){const n=xc(e,"").split(","),r=bc(n,t);r>=0&&(n.splice(r,1),Ec(e,"",n.join(",")))}(this._element,this._name))}}function gc(e,t,n){Ec(e,"PlayState",n,vc(e,t))}function vc(e,t){const n=xc(e,"");return n.indexOf(",")>0?bc(n.split(","),t):bc([n],t)}function bc(e,t){for(let n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function wc(e,t,n){n?e.removeEventListener(mc,t):e.addEventListener(mc,t)}function Ec(e,t,n,r){const i=fc+t;if(null!=r){const t=e.style[i];if(t.length){const e=t.split(",");e[r]=n,n=e.join(",")}}e.style[i]=n}function xc(e,t){return e.style[fc+t]}class _c{constructor(e,t,n,r,i,o,s,a){this.element=e,this.keyframes=t,this.animationName=n,this._duration=r,this._delay=i,this._finalStyles=s,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=r+i,this._buildStyler()}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(e=>e()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(e){this._styler.setPosition(e)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new yc(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}beforeDestroy(){this.init();const e={};if(this.hasStarted()){const t=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(e[n]=t?this._finalStyles[n]:lu(this.element,n))})}this.currentSnapshot=e}}class Sc extends fl{constructor(e,t){super(),this.element=e,this._startingStyles={},this.__initialized=!1,this._styles=Al(t)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(e=>{this._startingStyles[e]=this.element.style[e]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(e=>this.element.style.setProperty(e,this._styles[e])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(e=>{const t=this._startingStyles[e];t?this.element.style.setProperty(e,t):this.element.style.removeProperty(e)}),this._startingStyles=null,super.destroy())}}class Cc{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(e){return Il(e)}matchesElement(e,t){return Rl(e,t)}containsElement(e,t){return Pl(e,t)}query(e,t,n){return Nl(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}buildKeyframeElement(e,t,n){n=n.map(e=>Al(e));let r=`@keyframes ${t} {\n`,i="";n.forEach(e=>{i=" ";const t=parseFloat(e.offset);r+=`${i}${100*t}% {\n`,i+=" ",Object.keys(e).forEach(t=>{const n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(r+=`${i}animation-timing-function: ${n};\n`));default:return void(r+=`${i}${t}: ${n};\n`)}}),r+=i+"}\n"}),r+="}\n";const o=document.createElement("style");return o.innerHTML=r,o}animate(e,t,n,r,i,o=[],s){s&&this._notifyFaultyScrubber();const a=o.filter(e=>e instanceof _c),l={};ou(n,r)&&a.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const u=function(e){let t={};return e&&(Array.isArray(e)?e:[e]).forEach(e=>{Object.keys(e).forEach(n=>{"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}(t=su(e,t,l));if(0==n)return new Sc(e,u);const c="gen_css_kf_"+this._count++,d=this.buildKeyframeElement(e,c,t);document.querySelector("head").appendChild(d);const h=cc(e,t),p=new _c(e,t,c,n,r,i,u,h);return p.onDestroy(()=>{var e;(e=d).parentNode.removeChild(e)}),p}_notifyFaultyScrubber(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}class kc{constructor(e,t,n,r){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,t,n){return e.animate(t,n)}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(t=>{"offset"!=t&&(e[t]=this._finished?this._finalKeyframe[t]:lu(this.element,t))}),this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class Tc{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Oc().toString()),this._cssKeyframesDriver=new Cc}validateStyleProperty(e){return Il(e)}matchesElement(e,t){return Rl(e,t)}containsElement(e,t){return Pl(e,t)}query(e,t,n){return Nl(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}overrideWebAnimationsSupport(e){this._isNativeImpl=e}animate(e,t,n,r,i,o=[],s){if(!s&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,r,i,o);const a={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(a.easing=i);const l={},u=o.filter(e=>e instanceof kc);ou(n,r)&&u.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const c=cc(e,t=su(e,t=t.map(e=>Ql(e,!1)),l));return new kc(e,t,a,c)}}function Oc(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}let Lc=(()=>{class e extends ul{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:nt.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(e)?dl(e):e;return Pc(this._renderer,null,t,"register",[n]),new Ic(t,this._renderer)}}return e.\u0275fac=function(t){return new(t||e)($e(ro),$e(ya))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();class Ic extends class{}{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new Rc(this._id,e,t||{},this._renderer)}}class Rc{constructor(e,t,n,r){this.id=e,this.element=t,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return Pc(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(e){this._command("setPosition",e)}getPosition(){return 0}}function Pc(e,t,n,r,i){return e.setProperty(t,`@@${n}:${r}`,i)}const Nc="@",Ac="@.disabled";let Dc=(()=>{class e{constructor(e,t,n){this.delegate=e,this.engine=t,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(e,t)=>{t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}createRenderer(e,t){const n=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let e=this._rendererCache.get(n);return e||(e=new Mc("",n,this.engine),this._rendererCache.set(n,e)),e}const r=t.id,i=t.id+"-"+this._currentId;this._currentId++,this.engine.register(i,e);const o=t=>{Array.isArray(t)?t.forEach(o):this.engine.registerTrigger(r,i,e,t.name,t)};return t.data.animation.forEach(o),new qc(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,n){e>=0&&e<this._microtaskId?this._zone.run(()=>t(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(e=>{const[t,n]=e;t(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return e.\u0275fac=function(t){return new(t||e)($e(ro),$e(uc),$e(Ts))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();class Mc{constructor(e,t,n){this.namespaceId=e,this.delegate=t,this.engine=n,this.destroyNode=this.delegate.destroyNode?e=>t.destroyNode(e):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,n){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,!0)}removeChild(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,n,r){this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){this.delegate.removeAttribute(e,t,n)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,n,r){this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){t.charAt(0)==Nc&&t==Ac?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,n){return this.delegate.listen(e,t,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class qc extends Mc{constructor(e,t,n,r){super(t,n,r),this.factory=e,this.namespaceId=t}setProperty(e,t,n){t.charAt(0)==Nc?"."==t.charAt(1)&&t==Ac?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}listen(e,t,n){if(t.charAt(0)==Nc){const r=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e);let i=t.substr(1),o="";return i.charAt(0)!=Nc&&([i,o]=function(e){const t=e.indexOf(".");return[e.substring(0,t),e.substr(t+1)]}(i)),this.engine.listen(this.namespaceId,r,i,o,e=>{this.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)}}let jc=(()=>{class e extends uc{constructor(e,t,n){super(e.body,t,n)}}return e.\u0275fac=function(t){return new(t||e)($e(ya),$e(Ml),$e(Pu))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();const Fc=[{provide:Ml,useFactory:function(){return"function"==typeof Oc()?new Tc:new Cc}},{provide:new De("AnimationModuleType"),useValue:"BrowserAnimations"},{provide:ul,useClass:Lc},{provide:Pu,useFactory:function(){return new Nu}},{provide:uc,useClass:jc},{provide:ro,useFactory:function(e,t,n){return new Dc(e,t,n)},deps:[Ga,uc,Ts]}];let zc=(()=>{class e{}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)},providers:Fc,imports:[ll]}),e})(),Bc=(()=>{class e{constructor(e){this._document=e}ngOnDestroy(){const e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container",t=this._document.querySelectorAll("."+e);if(null==t?void 0:t.length)this._containerElement=t[0];else{const t=this._document.createElement("div");t.classList.add(e),this._document.body.appendChild(t),this._containerElement=t}}}return e.\u0275fac=function(t){return new(t||e)($e(ya))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();class Hc extends _{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new w;return this._value}next(e){super.next(this._value=e)}}function Vc(){}class Wc{constructor(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}call(e,t){return t.subscribe(new Uc(e,this.nextOrObserver,this.error,this.complete))}}class Uc extends f{constructor(e,t,n,i){super(e),this._tapNext=Vc,this._tapError=Vc,this._tapComplete=Vc,this._tapError=n||Vc,this._tapComplete=i||Vc,r(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||Vc,this._tapError=t.error||Vc,this._tapComplete=t.complete||Vc)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}const $c={provide:ps,useFactory:function(e,t){return()=>{if(xa(t)){const t=Array.from(e.querySelectorAll(`[class*=${Qc}]`)),n=/\bflex-layout-.+?\b/g;t.forEach(e=>{e.classList.contains(Qc+"ssr")&&e.parentNode?e.parentNode.removeChild(e):e.className.replace(n,"")})}}},deps:[ya,hs],multi:!0},Qc="flex-layout-";let Kc=(()=>{class e{}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)},providers:[$c]}),e})();class Zc{constructor(e=!1,t="all",n="",r="",i=0){this.matches=e,this.mediaQuery=t,this.mqAlias=n,this.suffix=r,this.priority=i,this.property=""}clone(){return new Zc(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let Gc=(()=>{class e{constructor(){this.stylesheet=new Map}addStyleToElement(e,t,n){const r=this.stylesheet.get(e);r?r.set(t,n):this.stylesheet.set(e,new Map([[t,n]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,t){const n=this.stylesheet.get(e);let r="";if(n){const e=n.get(t);"number"!=typeof e&&"string"!=typeof e||(r=e+"")}return r}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ae({factory:function(){return new e},token:e,providedIn:"root"}),e})();const Xc={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},Jc=new De("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>Xc}),Yc=new De("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),ed=new De("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function td(e,t){return e=e?e.clone():new Zc,t&&(e.mqAlias=t.alias,e.mediaQuery=t.mediaQuery,e.suffix=t.suffix,e.priority=t.priority),e}const nd="inline",rd=["row","column","row-reverse","column-reverse"];function id(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}let od=(()=>{class e{constructor(e,t,n,r){this.elementRef=e,this.styleBuilder=t,this.styler=n,this.marshal=r,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new _,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}ngOnChanges(e){Object.keys(e).forEach(t=>{if(-1!==this.inputs.indexOf(t)){const n=t.split(".").slice(1).join(".");this.setValue(e[t].currentValue,n)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(e=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}addStyles(e,t){const n=this.styleBuilder,r=n.shouldCache;let i=this.styleCache.get(e);i&&r||(i=n.buildStyles(e,t),r&&this.styleCache.set(e,i)),this.mru=Object.assign({},i),this.applyStyleToElement(i),n.sideEffect(e,i,t)}clearStyles(){Object.keys(this.mru).forEach(e=>{this.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={}}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(e,t=!1){if(e){const[n,r]=this.styler.getFlowDirection(e);if(!r&&t){const t=function(e){let[t,n,r]=function(e){e=e?e.toLowerCase():"";let[t,n,r]=e.split(" ");return rd.find(e=>e===t)||(t=rd[0]),n===nd&&(n=r!==nd?r:"",r=nd),[t,id(n),!!r]}(e);return function(e,t=null,n=!1){return{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":t||null}}(t,n,r)}(n);this.styler.applyStyleToElements(t,[e])}return n.trim()}return"row"}hasWrap(e){return this.styler.hasWrap(e)}applyStyleToElement(e,t,n=this.nativeElement){this.styler.applyStyleToElement(n,e,t)}setValue(e,t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,t)}updateWithValue(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}}return e.\u0275fac=function(e){!function(){throw new Error("invalid")}()},e.\u0275dir=ht({type:e,features:[St]}),e})();const sd=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.9px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.9px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.9px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.9px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.9px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.9px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.9px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.9px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.9px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],ad="(orientation: portrait) and (max-width: 599.9px)",ld="(orientation: landscape) and (max-width: 959.9px)",ud="(orientation: portrait) and (min-width: 600px) and (max-width: 839.9px)",cd="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.9px)",dd="(orientation: portrait) and (min-width: 840px)",hd="(orientation: landscape) and (min-width: 1280px)",pd={HANDSET:`${ad}, ${ld}`,TABLET:`${ud} , ${cd}`,WEB:`${dd}, ${hd} `,HANDSET_PORTRAIT:""+ad,TABLET_PORTRAIT:ud+" ",WEB_PORTRAIT:""+dd,HANDSET_LANDSCAPE:""+ld,TABLET_LANDSCAPE:""+cd,WEB_LANDSCAPE:""+hd},fd=[{alias:"handset",priority:2e3,mediaQuery:pd.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:pd.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:pd.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:pd.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:pd.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:pd.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:pd.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:pd.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:pd.WEB_PORTRAIT,overlapping:!0}],md=/(\.|-|_)/g;function yd(e){let t=e.length>0?e.charAt(0):"",n=e.length>1?e.slice(1):"";return t.toUpperCase()+n}const gd=new De("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const e=Qe(ed),t=Qe(Jc),n=[].concat.apply([],(e||[]).map(e=>Array.isArray(e)?e:[e]));return function(e,t=[]){const n={};return e.forEach(e=>{n[e.alias]=e}),t.forEach(e=>{n[e.alias]?function(e,...t){if(null==e)throw TypeError("Cannot convert undefined or null to object");for(let n of t)if(null!=n)for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t])}(n[e.alias],e):n[e.alias]=e}),(r=Object.keys(n).map(e=>n[e])).forEach(e=>{e.suffix||(e.suffix=e.alias.replace(md,"|").split("|").map(yd).join(""),e.overlapping=!!e.overlapping)}),r;var r}((t.disableDefaultBps?[]:sd).concat(t.addOrientationBps?fd:[]),n)}});function vd(e,t){return(t&&t.priority||0)-(e&&e.priority||0)}function bd(e,t){return(e.priority||0)-(t.priority||0)}let wd=(()=>{class e{constructor(e){this.findByMap=new Map,this.items=[...e].sort(bd)}findByAlias(e){return e?this.findWithPredicate(e,t=>t.alias==e):null}findByQuery(e){return this.findWithPredicate(e,t=>t.mediaQuery==e)}get overlappings(){return this.items.filter(e=>1==e.overlapping)}get aliases(){return this.items.map(e=>e.alias)}get suffixes(){return this.items.map(e=>e.suffix?e.suffix:"")}findWithPredicate(e,t){let n=this.findByMap.get(e);return n||(n=this.items.find(t)||null,this.findByMap.set(e,n)),n||null}}return e.\u0275fac=function(t){return new(t||e)($e(gd))},e.\u0275prov=ae({factory:function(){return new e($e(gd))},token:e,providedIn:"root"}),e})(),Ed=(()=>{class e{constructor(e,t,n){this._zone=e,this._platformId=t,this._document=n,this.source=new Hc(new Zc(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const e=[];return this.registry.forEach((t,n)=>{t.matches&&e.push(n)}),e}isActive(e){const t=this.registry.get(e);return t?t.matches:this.registerQuery(e).some(e=>e.matches)}observe(e,t=!1){if(e&&e.length){const n=this._observable$.pipe(ea(n=>!t||e.indexOf(n.mediaQuery)>-1));return V(new v(t=>{const n=this.registerQuery(e);if(n.length){const e=n.pop();n.forEach(e=>{t.next(e)}),this.source.next(e)}t.complete()}),n)}return this._observable$}registerQuery(e){const t=Array.isArray(e)?e:[e],n=[];return function(e,t){const n=e.filter(e=>!xd[e]);if(n.length>0){const e=n.join(", ");try{const r=t.createElement("style");r.setAttribute("type","text/css"),r.styleSheet||r.appendChild(t.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${e} {.fx-query-test{ }}\n`)),t.head.appendChild(r),n.forEach(e=>xd[e]=r)}catch(r){console.error(r)}}}(t,this._document),t.forEach(e=>{const t=t=>{this._zone.run(()=>this.source.next(new Zc(t.matches,e)))};let r=this.registry.get(e);r||(r=this.buildMQL(e),r.addListener(t),this.pendingRemoveListenerFns.push(()=>r.removeListener(t)),this.registry.set(e,r)),r.matches&&n.push(new Zc(!0,e))}),n}ngOnDestroy(){let e;for(;e=this.pendingRemoveListenerFns.pop();)e()}buildMQL(e){return function(e,t){return t&&window.matchMedia("all").addListener?window.matchMedia(e):{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{},onchange:null,addEventListener(){},removeEventListener(){},dispatchEvent:()=>!1}}(e,xa(this._platformId))}}return e.\u0275fac=function(t){return new(t||e)($e(Ts),$e(hs),$e(ya))},e.\u0275prov=ae({factory:function(){return new e($e(Ts),$e(hs),$e(ya))},token:e,providedIn:"root"}),e})();const xd={},_d="print",Sd={alias:_d,mediaQuery:_d,priority:1e3};let Cd=(()=>{class e{constructor(e,t,n){this.breakpoints=e,this.layoutConfig=t,this._document=n,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.isPrinting=!1,this.queue=new kd,this.deactivations=[]}withPrintQuery(e){return[...e,_d]}isPrintEvent(e){return e.mediaQuery.startsWith(_d)}get printAlias(){return this.layoutConfig.printWithBreakpoints||[]}get printBreakPoints(){return this.printAlias.map(e=>this.breakpoints.findByAlias(e)).filter(e=>null!==e)}getEventBreakpoints({mediaQuery:e}){const t=this.breakpoints.findByQuery(e);return(t?[...this.printBreakPoints,t]:this.printBreakPoints).sort(vd)}updateEvent(e){let t=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(t=this.getEventBreakpoints(e)[0],e.mediaQuery=t?t.mediaQuery:""),td(e,t)}registerBeforeAfterPrintHooks(e){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const t=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(e,this.getEventBreakpoints(new Zc(!0,_d))),e.updateStyles())},n=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",t),this._document.defaultView.addEventListener("afterprint",n),this.beforePrintEventListeners.push(t),this.afterPrintEventListeners.push(n)}interceptEvents(e){return this.registerBeforeAfterPrintHooks(e),t=>{this.isPrintEvent(t)?t.matches&&!this.isPrinting?(this.startPrinting(e,this.getEventBreakpoints(t)),e.updateStyles()):t.matches||!this.isPrinting||this.isPrintingBeforeAfterEvent||(this.stopPrinting(e),e.updateStyles()):this.collectActivations(t)}}blockPropagation(){return e=>!(this.isPrinting||this.isPrintEvent(e))}startPrinting(e,t){this.isPrinting=!0,e.activatedBreakpoints=this.queue.addPrintBreakpoints(t)}stopPrinting(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1}collectActivations(e){if(!this.isPrinting||this.isPrintingBeforeAfterEvent)if(e.matches)this.isPrintingBeforeAfterEvent||(this.deactivations=[]);else{const t=this.breakpoints.findByQuery(e.mediaQuery);t&&(this.deactivations.push(t),this.deactivations.sort(vd))}}ngOnDestroy(){this.beforePrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("beforeprint",e)),this.afterPrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("afterprint",e))}}return e.\u0275fac=function(t){return new(t||e)($e(wd),$e(Jc),$e(ya))},e.\u0275prov=ae({factory:function(){return new e($e(wd),$e(Jc),$e(ya))},token:e,providedIn:"root"}),e})();class kd{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(e){return e.push(Sd),e.sort(vd),e.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(e){e&&void 0===this.printBreakpoints.find(t=>t.mediaQuery===e.mediaQuery)&&(this.printBreakpoints=function(e){return!!e&&e.mediaQuery.startsWith(_d)}(e)?[e,...this.printBreakpoints]:[...this.printBreakpoints,e])}clear(){this.printBreakpoints=[]}}function Td(e){for(let t in e){let n=e[t]||"";switch(t){case"display":e.display="flex"===n?["-webkit-flex","flex"]:"inline-flex"===n?["-webkit-inline-flex","inline-flex"]:n;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":e["-webkit-"+t]=n;break;case"flex-direction":n=n||"row",e["-webkit-flex-direction"]=n,e["flex-direction"]=n;break;case"order":e.order=e["-webkit-"+t]=isNaN(+n)?"0":n}}return e}let Od=(()=>{class e{constructor(e,t,n,r){this._serverStylesheet=e,this._serverModuleLoaded=t,this._platformId=n,this.layoutConfig=r}applyStyleToElement(e,t,n=null){let r={};"string"==typeof t&&(r[t]=n,t=r),r=this.layoutConfig.disableVendorPrefixes?t:Td(t),this._applyMultiValueStyleToElement(r,e)}applyStyleToElements(e,t=[]){const n=this.layoutConfig.disableVendorPrefixes?e:Td(e);t.forEach(e=>{this._applyMultiValueStyleToElement(n,e)})}getFlowDirection(e){const t="flex-direction";let n=this.lookupStyle(e,t);return[n||"row",this.lookupInlineStyle(e,t)||_a(this._platformId)&&this._serverModuleLoaded?n:""]}hasWrap(e){return"wrap"===this.lookupStyle(e,"flex-wrap")}lookupAttributeValue(e,t){return e.getAttribute(t)||""}lookupInlineStyle(e,t){return xa(this._platformId)?e.style.getPropertyValue(t):this._getServerStyle(e,t)}lookupStyle(e,t,n=!1){let r="";return e&&((r=this.lookupInlineStyle(e,t))||(xa(this._platformId)?n||(r=getComputedStyle(e).getPropertyValue(t)):this._serverModuleLoaded&&(r=this._serverStylesheet.getStyleForElement(e,t)))),r?r.trim():""}_applyMultiValueStyleToElement(e,t){Object.keys(e).sort().forEach(n=>{const r=e[n],i=Array.isArray(r)?r:[r];i.sort();for(let e of i)e=e?e+"":"",xa(this._platformId)||!this._serverModuleLoaded?xa(this._platformId)?t.style.setProperty(n,e):this._setServerStyle(t,n,e):this._serverStylesheet.addStyleToElement(t,n,e)})}_setServerStyle(e,t,n){t=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const r=this._readStyleAttribute(e);r[t]=n||"",this._writeStyleAttribute(e,r)}_getServerStyle(e,t){return this._readStyleAttribute(e)[t]||""}_readStyleAttribute(e){const t={},n=e.getAttribute("style");if(n){const e=n.split(/;+/g);for(let n=0;n<e.length;n++){const r=e[n].trim();if(r.length>0){const e=r.indexOf(":");if(-1===e)throw new Error("Invalid CSS style: "+r);t[r.substr(0,e).trim()]=r.substr(e+1).trim()}}}return t}_writeStyleAttribute(e,t){let n="";for(const r in t)t[r]&&(n+=r+":"+t[r]+";");e.setAttribute("style",n)}}return e.\u0275fac=function(t){return new(t||e)($e(Gc),$e(Yc),$e(hs),$e(Jc))},e.\u0275prov=ae({factory:function(){return new e($e(Gc),$e(Yc),$e(hs),$e(Jc))},token:e,providedIn:"root"}),e})(),Ld=(()=>{class e{constructor(e,t,n){this.matchMedia=e,this.breakpoints=t,this.hook=n,this.activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new _,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?this.activatedBreakpoints[0].alias:""}onMediaChange(e){const t=this.findByQuery(e.mediaQuery);t&&((e=td(e,t)).matches&&-1===this.activatedBreakpoints.indexOf(t)?(this.activatedBreakpoints.push(t),this.activatedBreakpoints.sort(vd),this.updateStyles()):e.matches||-1===this.activatedBreakpoints.indexOf(t)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(t),1),this.activatedBreakpoints.sort(vd),this.updateStyles()))}init(e,t,n,r,i=[]){Id(this.updateMap,e,t,n),Id(this.clearMap,e,t,r),this.buildElementKeyMap(e,t),this.watchExtraTriggers(e,t,i)}getValue(e,t,n){const r=this.elementMap.get(e);if(r){const e=void 0!==n?r.get(n):this.getActivatedValues(r,t);if(e)return e.get(t)}}hasValue(e,t){const n=this.elementMap.get(e);if(n){const e=this.getActivatedValues(n,t);if(e)return void 0!==e.get(t)||!1}return!1}setValue(e,t,n,r){let i=this.elementMap.get(e);if(i){const o=(i.get(r)||new Map).set(t,n);i.set(r,o),this.elementMap.set(e,i)}else i=(new Map).set(r,(new Map).set(t,n)),this.elementMap.set(e,i);const o=this.getValue(e,t);void 0!==o&&this.updateElement(e,t,o)}trackValue(e,t){return this.subject.asObservable().pipe(ea(n=>n.element===e&&n.key===t))}updateStyles(){this.elementMap.forEach((e,t)=>{const n=new Set(this.elementKeyMap.get(t));let r=this.getActivatedValues(e);r&&r.forEach((e,r)=>{this.updateElement(t,r,e),n.delete(r)}),n.forEach(n=>{if(r=this.getActivatedValues(e,n),r){const e=r.get(n);this.updateElement(t,n,e)}else this.clearElement(t,n)})})}clearElement(e,t){const n=this.clearMap.get(e);if(n){const r=n.get(t);r&&(r(),this.subject.next({element:e,key:t,value:""}))}}updateElement(e,t,n){const r=this.updateMap.get(e);if(r){const i=r.get(t);i&&(i(n),this.subject.next({element:e,key:t,value:n}))}}releaseElement(e){const t=this.watcherMap.get(e);t&&(t.forEach(e=>e.unsubscribe()),this.watcherMap.delete(e));const n=this.elementMap.get(e);n&&(n.forEach((e,t)=>n.delete(t)),this.elementMap.delete(e))}triggerUpdate(e,t){const n=this.elementMap.get(e);if(n){const r=this.getActivatedValues(n,t);r&&(t?this.updateElement(e,t,r.get(t)):r.forEach((t,n)=>this.updateElement(e,n,t)))}}buildElementKeyMap(e,t){let n=this.elementKeyMap.get(e);n||(n=new Set,this.elementKeyMap.set(e,n)),n.add(t)}watchExtraTriggers(e,t,n){if(n&&n.length){let r=this.watcherMap.get(e);if(r||(r=new Map,this.watcherMap.set(e,r)),!r.get(t)){const i=V(...n).subscribe(()=>{const n=this.getValue(e,t);this.updateElement(e,t,n)});r.set(t,i)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,t){for(let r=0;r<this.activatedBreakpoints.length;r++){const n=e.get(this.activatedBreakpoints[r].alias);if(n&&(void 0===t||n.has(t)&&null!=n.get(t)))return n}const n=e.get("");return void 0===t||n&&n.has(t)?n:void 0}observeActivations(){const e=this.breakpoints.items.map(e=>e.mediaQuery);var t;this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe((t=this.hook.interceptEvents(this),function(e){return e.lift(new Wc(t,void 0,void 0))}),ea(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return e.\u0275fac=function(t){return new(t||e)($e(Ed),$e(wd),$e(Cd))},e.\u0275prov=ae({factory:function(){return new e($e(Ed),$e(wd),$e(Cd))},token:e,providedIn:"root"}),e})();function Id(e,t,n,r){if(void 0!==r){let i=e.get(t);i||(i=new Map,e.set(t,i)),i.set(n,r)}}let Rd=(()=>{class e{}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)},imports:[[Kc]]}),e})();const Pd="inline",Nd=["row","column","row-reverse","column-reverse"];function Ad(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}let Dd=(()=>{class e extends class{constructor(){this.shouldCache=!0}sideEffect(e,t,n){}}{buildStyles(e){return function(e){let[t,n,r]=function(e){e=e?e.toLowerCase():"";let[t,n,r]=e.split(" ");return Nd.find(e=>e===t)||(t=Nd[0]),n===Pd&&(n=r!==Pd?r:"",r=Pd),[t,Ad(n),!!r]}(e);return function(e,t=null,n=!1){return{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":t||null}}(t,n,r)}(e)}}e.\u0275fac=function(n){return t(n||e)},e.\u0275prov=ae({factory:function(){return new e},token:e,providedIn:"root"});const t=Vn(e);return e})();const Md=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let qd=(()=>{class e extends od{constructor(e,t,n,r){super(e,n,t,r),this.DIRECTIVE_KEY="layout",this.styleCache=Fd,this.init()}}return e.\u0275fac=function(t){return new(t||e)(zi(to),zi(Od),zi(Dd),zi(Ld))},e.\u0275dir=ht({type:e,features:[Qi]}),e})(),jd=(()=>{class e extends qd{constructor(){super(...arguments),this.inputs=Md}}e.\u0275fac=function(n){return t(n||e)},e.\u0275dir=ht({type:e,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[Qi]});const t=Vn(e);return e})();const Fd=new Map;let zd=(()=>{class e{}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)},imports:[[Kc,Ca]]}),e})(),Bd=(()=>{class e{}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)},imports:[[Kc]]}),e})(),Hd=(()=>{class e{constructor(e,t){_a(t)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(t,n=[]){return{ngModule:e,providers:t.serverLoaded?[{provide:Jc,useValue:Object.assign(Object.assign({},Xc),t)},{provide:ed,useValue:n,multi:!0},{provide:Yc,useValue:!0}]:[{provide:Jc,useValue:Object.assign(Object.assign({},Xc),t)},{provide:ed,useValue:n,multi:!0}]}}}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)($e(Yc),$e(hs))},imports:[[zd,Rd,Bd],zd,Rd,Bd]}),e})();function Vd(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(t){o(t)}}function a(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))}var Wd=n("eteH"),Ud=n("wwtf"),$d=n.n(Ud);const Qd=new Map,Kd=[],Zd=Kd.map,Gd=Kd.some,Xd=Kd.hasOwnProperty,Jd="https://cdn.jsdelivr.net/npm/",Yd=/^((?:@[^/@]+\/)?[^/@]+)(?:@([^/]+))?(?:\/(.*))?$/,eh=/^\d+\.\d+\.\d+(-[\w-.+]+)?$/,th=/\.[^/]*$/,nh=["unpkg","jsdelivr","browser","main"];class rh extends Error{constructor(e){super(e)}}function ih(e){const t=Yd.exec(e);return t&&{name:t[1],version:t[2],path:t[3]}}function oh(e){const t=`${Jd}${e.name}${e.version?"@"+e.version:""}/package.json`;let n=Qd.get(t);return n||Qd.set(t,n=fetch(t).then(e=>{if(!e.ok)throw new rh("unable to load package.json");return e.redirected&&!Qd.has(e.url)&&Qd.set(e.url,n),e.json()})),n}function sh(e){const t=new Map,n=s(null);let r=0,i=void 0;function o(e){if("string"!=typeof e)return e;let n=t.get(e);return n||t.set(e,n=new Promise((t,n)=>{const o=document.createElement("script");o.onload=()=>{try{t(Kd.pop()(s(e)))}catch(a){n(new rh("invalid module"))}o.remove(),r--,0===r&&(window.define=i)},o.onerror=()=>{n(new rh("unable to load module")),o.remove(),r--,0===r&&(window.define=i)},o.async=!0,o.src=e,0===r&&(i=window.define,window.define=ch),r++,document.head.appendChild(o)})),n}function s(t){return n=>Promise.resolve(e(n,t)).then(o)}function a(e){return arguments.length>1?Promise.all(Zd.call(arguments,n)).then(ah):n(e)}return a.alias=function(t){return sh((n,r)=>n in t&&(r=null,"string"!=typeof(n=t[n]))?n:e(n,r))},a.resolve=e,a}function ah(e){const t={};for(const n of e)for(const e in n)Xd.call(n,e)&&(null==n[e]?Object.defineProperty(t,e,{get:lh(n,e)}):t[e]=n[e]);return t}function lh(e,t){return()=>e[t]}function uh(e){return"exports"==(e+="")||"module"===e}function ch(e,t,n){const r=arguments.length;r<2?(n=e,t=[]):r<3&&(n=t,t="string"==typeof e?[]:e),Kd.push(Gd.call(t,uh)?e=>{const r={},i={exports:r};return Promise.all(Zd.call(t,t=>"exports"==(t+="")?r:"module"===t?i:e(t))).then(e=>(n.apply(null,e),i.exports))}:e=>Promise.all(Zd.call(t,e)).then(e=>"function"==typeof n?n.apply(null,e):n))}rh.prototype.name=rh.name,sh((function(e,t){return Vd(this,void 0,void 0,(function*(){if(e.startsWith(Jd)&&(e=e.substring(Jd.length)),/^(\w+:)|\/\//i.test(e))return e;if(/^[.]{0,2}\//i.test(e))return new URL(e,null==t?location:t).href;if(!e.length||/^[\s._]/.test(e)||/\s$/.test(e))throw new rh("illegal name");const n=ih(e);if(!n)return`${Jd}${e}`;if(!n.version&&null!=t&&t.startsWith(Jd)){const e=yield oh(ih(t.substring(Jd.length)));n.version=e.dependencies&&e.dependencies[n.name]||e.peerDependencies&&e.peerDependencies[n.name]}if(n.path&&!th.test(n.path)&&(n.path+=".js"),n.path&&n.version&&eh.test(n.version))return`${Jd}${n.name}@${n.version}/${n.path}`;const r=yield oh(n);return`${Jd}${r.name}@${r.version}/${n.path||function(e){for(const t of nh){const n=e[t];if("string"==typeof n)return th.test(n)?n:n+".js"}}(r)||"index.js"}`}))})),ch.amd={};const dh=["toolbar"],hh=["viz"],ph=sh(e=>"https://unpkg.com/@nebula.js/"+e).alias({"@nebula.js/stardust":Wd});let fh=(()=>{class e{ngAfterViewInit(){return Vd(this,void 0,void 0,(function*(){yield this.render()}))}render(){return Vd(this,void 0,void 0,(function*(){this.oldQLayout=JSON.parse(JSON.stringify(this.qLayout));const e={getLayout:()=>this.qLayout,selectHyperCubeCells:(...e)=>{},getEffectiveProperties:(...e)=>Vd(this,void 0,void 0,(function*(){return yield this.onVizMethod({name:"getEffectiveProperties",args:e})})),getHyperCubeReducedData:(...e)=>Vd(this,void 0,void 0,(function*(){return yield this.onVizMethod({name:"getHyperCubeReducedData",args:e})})),getHyperCubeData:(...e)=>Vd(this,void 0,void 0,(function*(){return yield this.onVizMethod({name:"getHyperCubeData",args:e})})),getStackedDataPages:(...e)=>(console.log("getStackedDataPages",e),this.qLayout.qHyperCube.qDataPages),getFullPropertyTree:()=>{console.log("getFullPropertyTree")},getHyperCubeTreeData:()=>{console.log("getHyperCubeTreeData")},beginSelections:(...e)=>{},selectHyperCubeValues:(...e)=>Vd(this,void 0,void 0,(function*(){var t;yield null===(t=this.onSelections)||void 0===t?void 0:t.call(this,{selections:e,method:"selectHyperCubeValues"})})),rangeSelectHyperCubeValues:(...e)=>Vd(this,void 0,void 0,(function*(){var t;yield null===(t=this.onSelections)||void 0===t?void 0:t.call(this,{selections:e,method:"rangeSelectHyperCubeValues"})})),resetMadeSelections:(...e)=>{},clearSelections:(...e)=>{},endSelections:(...e)=>{},removeListener:(...e)=>{},useKeyboard:(...e)=>{},on:(...e)=>{}};this.app=yield $d.a.fromGenericObjects([e]),this.app.getMeasure=e=>Vd(this,void 0,void 0,(function*(){return console.log({measureId:e}),{getMeasure:()=>Vd(this,void 0,void 0,(function*(){return yield this.onGetMeasure({measureId:e})}))}}));const t=this.app.getObject;this.app.getObject=e=>Vd(this,void 0,void 0,(function*(){return e===this.qLayout.qInfo.qId?yield t(this.qLayout.qInfo.qId):{getLayout:()=>Vd(this,void 0,void 0,(function*(){return yield this.onGetObject({objectId:e})}))}}));const n=[["sn-action-button","action-button"],["sn-bar-chart","barchart"],["sn-bullet-chart","bullet-chart"],["sn-combo-chart","combo-chart"],["sn-funnel-chart","funnel-chart"],["sn-grid-chart","sn-grid-chart"],["sn-kpi","kpi"],["sn-line-chart","line-chart"],["sn-mekko-chart","mekko"],["sn-org-chart","org"],["sn-pie-chart","piechart"],["sn-sankey-chart","sankey"],["sn-table","table"],["sn-video-player","video-player"],["sn-scatter-plot","scatterplot"]].map(e=>({name:e[1],load:()=>ph(e[0])}));this.n=Wd.embed(this.app,{types:n}),this.qLayout&&(this.viz=yield this.n.render({element:this.vizEl.nativeElement,id:this.qLayout.qInfo.qId}))}))}destroyApp(){var e;null===(e=document.querySelector(`div[data-app-id='${this.app.id}']`))||void 0===e||e.remove()}ngOnDestroy(){this.destroyApp()}ngOnChanges(e){return Vd(this,void 0,void 0,(function*(){console.log("ngOnChanges",this.viz),this.viz&&JSON.stringify(this.qLayout)!==JSON.stringify(this.oldQLayout)&&(this.viz.destroy(),this.destroyApp(),yield this.render())}))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=st({type:e,selectors:[["drayman-nebula-internal"]],viewQuery:function(e,t){var n;1&e&&(rs(dh,!0),rs(hh,!0)),2&e&&(ns(n=is())&&(t.toolbarEl=n.first),ns(n=is())&&(t.vizEl=n.first))},inputs:{qLayout:"qLayout",onSelections:"onSelections",onVizMethod:"onVizMethod",onGetMeasure:"onGetMeasure",onGetObject:"onGetObject"},features:[St],decls:5,vars:0,consts:[["fxLayout","column",1,"nebula-container"],["toolbar",""],[1,"viz"],["viz",""]],template:function(e,t){1&e&&(Hi(0,"div",0),Wi(1,"div",null,1),Wi(3,"div",2,3),Vi())},directives:[jd],styles:[".nebula-container[_ngcontent-%COMP%]{width:100%;margin:0;height:100%;min-width:100%;min-height:100%}.viz[_ngcontent-%COMP%]{flex:1}"]}),e})(),mh=(()=>{class e{constructor(e){this.injector=e}ngDoBootstrap(){const e=function(e,t){const n=function(e,t){return t.get(eo).resolveComponentFactory(e).inputs}(e,t.injector),r=t.strategyFactory||new Ra(e,t.injector),i=function(e){const t={};return e.forEach(({propName:e,templateName:n})=>{var r;t[(r=n,r.replace(/[A-Z]/g,e=>"-"+e.toLowerCase()))]=e}),t}(n);class o extends Na{constructor(e){super(),this.injector=e}get ngElementStrategy(){if(!this._ngElementStrategy){const e=this._ngElementStrategy=r.create(this.injector||t.injector),i=n.filter(({propName:e})=>this.hasOwnProperty(e)).map(({propName:e})=>[e,this[e]]);this instanceof o?i.forEach(([e])=>delete this[e]):Aa(n,this),i.forEach(([t,n])=>e.setInputValue(t,n))}return this._ngElementStrategy}attributeChangedCallback(e,t,n,r){this.ngElementStrategy.setInputValue(i[e],n)}connectedCallback(){let e=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),e=!0),this.ngElementStrategy.connect(this),e||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(e=>{const t=function(e,t,n){if("function"!=typeof CustomEvent){const r=e.createEvent("CustomEvent");return r.initCustomEvent(t,!1,!1,n),r}return new CustomEvent(t,{bubbles:!1,cancelable:!1,detail:n})}(this.ownerDocument,e.name,e.value);this.dispatchEvent(t)})}}return o.observedAttributes=Object.keys(i),Object.defineProperty(o.prototype,"ngElementStrategy",{enumerable:!0}),Aa(n,o.prototype),o}(fh,{injector:this.injector});customElements.define("drayman-nebula",e)}}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)($e(Ai))},providers:[{provide:Ta,useClass:Bc}],imports:[[ll,zc,Hd]]}),e})();(function(){if(Zn)throw new Error("Cannot enable prod mode after platform setup.");Kn=!1})(),sl().bootstrapModule(mh).catch(e=>console.error(e))},zn8P:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"}});
|