var RedNaoSharedCore=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}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var 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=866)}({0:function(e,t){e.exports=React},1476:function(e,t,n){var r={"./Bootstrap.tsx":866,"./Controls/FontAwesome/FontAwesomeIcon.tsx":1477,"./Events/EventManager.test.ts":1478,"./Events/EventManager.ts":1479,"./Events/PublishOnceEvent.ts":1480,"./Events/SingleEvent.test.ts":1481,"./Events/SingleEvent.ts":1482,"./Store/StoreBase.ts":606,"./Utilities/AsyncLoader.ts":1483,"./Utilities/Reflect.ts":1484,"./animation/SwitchContainer.tsx":1485,"./animation/react-spring/renderprops.d.ts":1486};function i(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=1476},1477:function(e,t,n){"use strict";n.r(t),n.d(t,"FontAwesomeIcon",(function(){return d}));var r=n(0);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){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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(n,!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(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(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 l(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 c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=l(this,c(t).call(this,e))).state={},n}var n,i,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,e),n=t,(i=[{key:"render",value:function(){var e=this;return r.createElement("svg",{onClick:function(t){return e.props.onClick&&e.props.onClick(t)},fill:"currentColor",className:this.props.className,style:a({height:"1em"},this.props.style),viewBox:this.GetViewBox()},""!=this.props.title?r.createElement("title",null,this.props.title):null,r.createElement("path",{d:this.GetSVGPath()}))}},{key:"GetViewBox",value:function(){if(null==this.props.icon)return"";var e=this.props.icon.icon[0],t=this.props.icon.icon[1];return"0 0 ".concat(e," ").concat(t)}},{key:"GetSVGPath",value:function(){return null==this.props.icon?null:this.props.icon.icon[4]}}])&&s(n.prototype,i),o&&s(n,o),t}(r.Component);d.defaultProps={title:""}},1478:function(e,t,n){"use strict";n.r(t);var r=n(2);test("Can raise evends",(function(){var e,t=!1;r.EventManager.SubscribeRaisable("Test",(function(t){return e=!0,expect(t.Args).toBe(1),2})),r.EventManager.SubscribeRaisable("Test2",(function(e){return t=!0,expect(e.Args).toBe(1),2})),expect(r.EventManager.PublishRaisable("Test",{Args:1})).toBe(2),expect(e).toBe(!0),expect(t).toBe(!1)})),test("Can unsubscive events",(function(){var e;r.EventManager.SubscribeRaisable("Test",(function(t){e=!0}),void 0),expect(r.EventManager.PublishRaisable("Test",{Args:1})).toBe(2),expect(e).toBe(!0),e=!1,r.EventManager.UnsubscribeRaisable("Test",void 0),expect(r.EventManager.PublishRaisable("Test",{Args:1})).toBe(2),expect(e).toBe(!1)}))},1479:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}n.r(t),n.d(t,"EventManager",(function(){return a})),n.d(t,"LocalEventManager",(function(){return u})),n.d(t,"EventBase",(function(){return l}));var a=function(){function e(){r(this,e)}return o(e,null,[{key:"GetInstance",value:function(){return null==window.RNLocalEvent&&(window.RNLocalEvent=new u),window.RNLocalEvent}},{key:"Publish",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.GetInstance().Publish(t,n)}},{key:"SubscribeRaisable",value:function(t,n){e.GetInstance().SubscribeRaisable(t,n)}},{key:"UnsubscribeRaisable",value:function(t,n){e.GetInstance().UnsubscribeRaisable(t,n)}},{key:"PublishRaisable",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return e.GetInstance().PublishRaisable(t,n,r)}},{key:"Subscribe",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;e.GetInstance().Subscribe(t,n,r)}},{key:"SubscriptionCount",value:function(t){var n=t.GetName(),r=e.GetInstance().Events[n];return null==r?0:r.length}},{key:"UnsubscribeEvent",value:function(t,n){e.GetInstance().UnsubscribeEvent(t,n)}}]),e}();a.LocalEvent=null;var u=function(){function e(){r(this,e),this.Events={},this.RaisableEvents={}}return o(e,[{key:"Publish",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e.constructor.GetName();if(null==this.Events[n])return t;var r=this.Events[n],i=null,o=!0,a=!1,u=void 0;try{for(var s,l=r[Symbol.iterator]();!(o=(s=l.next()).done);o=!0){var c=s.value,f=void 0;null!=(f=c.CallBack(e))&&(i=f)}}catch(e){a=!0,u=e}finally{try{o||null==l.return||l.return()}finally{if(a)throw u}}return null==i?null!==e.GetReturnType()?e.GetReturnType():t:i}},{key:"UnsubscribeRaisable",value:function(e,t){var n=a.GetInstance().RaisableEvents;if(null!=n[e]){for(var r=n[e],i=0;i<r.length;i++){r[i].Reference==t&&(r.splice(i,1),i--)}0==r.length&&delete n[e]}}},{key:"PublishRaisable",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=a.GetInstance().RaisableEvents;if(null==r[e])return n;var i=r[e],o=null,u=!0,s=!1,l=void 0;try{for(var c,f=i[Symbol.iterator]();!(u=(c=f.next()).done);u=!0){var d=c.value,h=void 0;null!=(h=d.CallBack(t))&&(o=h)}}catch(e){s=!0,l=e}finally{try{u||null==f.return||f.return()}finally{if(s)throw l}}return null==o?n:o}},{key:"SubscribeRaisable",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=a.GetInstance().RaisableEvents;null==r[e]&&(r[e]=[]),r[e].push({Reference:n,CallBack:t})}},{key:"Subscribe",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=e.GetName();null==this.Events[r]&&(this.Events[r]=[]);for(var i=this.Events[r],o=new s(e,t,n),a=0;a<i.length;a++)if(i[a].Priority>o.Priority){i.splice(a,0,o),o=null;break}null!=o&&i.push(o)}},{key:"UnsubscribeEvent",value:function(e,t){var n=e.GetName(),r=this.Events[n];if(null!=r){var i=r.find((function(e){return e.CallBack==t}));null!=i&&r.splice(r.indexOf(i),1),0==r.length&&delete this.Events[n]}}}]),e}(),s=function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;r(this,e),this.Event=void 0,this.CallBack=void 0,this.Priority=void 0,this.ReturnType=void 0,this.Event=t,this.CallBack=n,this.Priority=i},l=function(){function e(){r(this,e),this.ReturnType=void 0}return o(e,[{key:"GetReturnType",value:function(){return null}}],[{key:"GetName",value:function(){throw new Error("Name was not defined")}}]),e}();window.RNEventManager=a},1480:function(e,t,n){"use strict";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)}}n.r(t),n.d(t,"PublishOnceEvent",(function(){return i}));var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.Subscribers=void 0,this.WasCalled=void 0,this.UsedArgs=void 0,this.WasCalled=!1,this.Subscribers=[]}var t,n,i;return t=e,(n=[{key:"Subscribe",value:function(e,t){this.Subscribers.find((function(t){return t.reference==e}))||(this.Subscribers.push({reference:e,callback:t}),this.WasCalled?t(this.UsedArgs):this.Subscribers.push({reference:e,callback:t}))}},{key:"Unsubscribe",value:function(e){var t=this.Subscribers.find((function(t){return t.reference==e}));null!=t&&this.Subscribers.splice(this.Subscribers.indexOf(t),1)}},{key:"Publish",value:function(e){for(this.UsedArgs=e,this.WasCalled=!0;this.Subscribers.length>0;)this.Subscribers.pop().callback(this.UsedArgs)}}])&&r(t.prototype,n),i&&r(t,i),e}()},1481:function(e,t,n){"use strict";n.r(t);var r=n(50);test("Check if subscription with one ref works",(function(){var e=new r.SingleEvent;e.Subscribe(void 0,(function(){})),expect(e.GetSubscriberByRef(void 0)).not.toBe(null)})),test("Check if subscription with multiple ref works",(function(){var e=new r.SingleEvent;e.Subscribe([void 0,"Price"],(function(){})),expect(e.GetSubscriberByRef(void 0)).toBe(void 0),expect(e.GetSubscriberByRef([void 0,"test"])).toBe(void 0),expect(e.GetSubscriberByRef([void 0,"Price"])).not.toBe(void 0)}))},1482:function(e,t,n){"use strict";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)}}n.r(t),n.d(t,"SingleEvent",(function(){return i}));var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.Subscribers=void 0,this.Subscribers=[]}var t,n,i;return t=e,(n=[{key:"Subscribe",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10;Array.isArray(e)||(e=[e]),this.GetSubscriberByRef(e)||this.Subscribers.push({reference:e,callback:t,priority:n})}},{key:"Unsubscribe",value:function(e){var t=this.GetSubscriberByRef(e);null!=t&&this.Subscribers.splice(this.Subscribers.indexOf(t),1)}},{key:"GetSubscriberByRef",value:function(e){return Array.isArray(e)||(e=[e]),this.Subscribers.find((function(t){return t.reference.length==e.length&&t.reference.filter((function(t){return e.some((function(e){return e==t}))})).length==t.reference.length}))}},{key:"Publish",value:function(e){var t=!0,n=!1,r=void 0;try{for(var i,o=this.Subscribers[Symbol.iterator]();!(t=(i=o.next()).done);t=!0)i.value.callback(e)}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}}}])&&r(t.prototype,n),i&&r(t,i),e}()},1483:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a){try{var u=e[o](a),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,i)}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)}}n.r(t),n.d(t,"AsyncLoader",(function(){return a}));var o=n(0),a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,a,u,s;return t=e,n=null,a=[{key:"GetLazyComponent",value:function(t,n){return t.p=e.RootPath,o.lazy(n)}},{key:"GetLibrary",value:(u=regeneratorRuntime.mark((function t(n,r){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.p=e.RootPath,t.abrupt("return",r());case 2:case"end":return t.stop()}}),t)})),s=function(){var e=this,t=arguments;return new Promise((function(n,i){var o=u.apply(e,t);function a(e){r(o,n,i,a,s,"next",e)}function s(e){r(o,n,i,a,s,"throw",e)}a(void 0)}))},function(e,t){return s.apply(this,arguments)})},{key:"SetRootPath",value:function(t){e.RootPath=t}}],n&&i(t.prototype,n),a&&i(t,a),e}();a.RootPath=void 0},1484:function(e,t,n){"use strict";n.r(t),function(e,r){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)}
var o,a;n.d(t,"RNReflect",(function(){return o})),a=o||(o={}),function(t){var n="object"===(void 0===r?"undefined":i(r))?r:"object"===("undefined"==typeof self?"undefined":i(self))?self:"object"===i(this)?this:Function("return this;")(),o=u(a);function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(n,r){"function"!=typeof e[n]&&Object.defineProperty(e,n,{configurable:!0,writable:!0,value:r}),t&&t(n,r)}}void 0===n.Reflect?n.Reflect=a:o=u(n.Reflect,o),function(t){var n=Object.prototype.hasOwnProperty,r="function"==typeof Symbol,o=r&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",a=r&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",u="function"==typeof Object.create,s={__proto__:[]}instanceof Array,l=!u&&!s,c={create:u?function(){return M(Object.create(null))}:s?function(){return M({__proto__:null})}:function(){return M({})},has:l?function(e,t){return n.call(e,t)}:function(e,t){return t in e},get:l?function(e,t){return n.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},f=Object.getPrototypeOf(Function),d="object"===(void 0===e?"undefined":i(e))&&e.env&&"true"===e.env.REFLECT_METADATA_USE_MAP_POLYFILL,h=d||"function"!=typeof Map||"function"!=typeof Map.prototype.entries?function(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[a]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var r=this._keys.length,i=n+1;i<r;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,t===this._cacheKey&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new n(this._keys,this._values,r)},t.prototype.values=function(){return new n(this._keys,this._values,i)},t.prototype.entries=function(){return new n(this._keys,this._values,o)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[a]=function(){return this.entries()},t.prototype._find=function(e,t){return this._cacheKey!==e&&(this._cacheIndex=this._keys.indexOf(this._cacheKey=e)),this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function r(e,t){return e}function i(e,t){return t}function o(e,t){return[e,t]}}():Map,p=d||"function"!=typeof Set||"function"!=typeof Set.prototype.entries?function(){function e(){this._map=new h}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.values()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[a]=function(){return this.keys()},e}():Set,y=new(d||"function"!=typeof WeakMap?function(){var e=c.create(),t=r();return function(){function e(){this._key=r()}return e.prototype.has=function(e){var t=i(e,!1);return void 0!==t&&c.has(t,this._key)},e.prototype.get=function(e){var t=i(e,!1);return void 0!==t?c.get(t,this._key):void 0},e.prototype.set=function(e,t){return i(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=i(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=r()},e}();function r(){var t;do{t="@@WeakMap@@"+a()}while(c.has(e,t));return e[t]=!0,t}function i(e,r){if(!n.call(e,t)){if(!r)return;Object.defineProperty(e,t,{value:c.create()})}return e[t]}function o(e,t){for(var n=0;n<t;++n)e[n]=255*Math.random()|0;return e}function a(){var e,t=(e=16,"function"==typeof Uint8Array?"undefined"!=typeof crypto?crypto.getRandomValues(new Uint8Array(e)):o(new Uint8Array(e),e):o(new Array(e),e));t[6]=79&t[6]|64,t[8]=191&t[8]|128;for(var n="",r=0;r<16;++r){var i=t[r];4!==r&&6!==r&&8!==r||(n+="-"),i<16&&(n+="0"),n+=i.toString(16).toLowerCase()}return n}}():WeakMap);function v(e,t,n){var r=y.get(e);if(S(r)){if(!n)return;r=new h,y.set(e,r)}var i=r.get(t);if(S(i)){if(!n)return;i=new h,r.set(t,i)}return i}function m(e,t,n){var r=v(t,n,!1);return!S(r)&&!!r.has(e)}function b(e,t,n){var r=v(t,n,!1);if(!S(r))return r.get(e)}function g(e,t,n,r){v(n,r,!0).set(e,t)}function w(e,t){var n=[],r=v(e,t,!1);if(S(r))return n;for(var i=function(e){var t=A(e,a);if(!j(t))throw new TypeError;var n=t.call(e);if(!E(n))throw new TypeError;return n}(r.keys()),o=0;;){var u=C(i);if(!u)return n.length=o,n;var s=u.value;try{n[o]=s}catch(e){try{T(i)}finally{throw e}}o++}}function k(e){if(null===e)return 1;switch(i(e)){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function S(e){return void 0===e}function O(e){return null===e}function E(e){return"object"===i(e)?null!==e:"function"==typeof e}function x(e,t){switch(k(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var n=3===t?"string":5===t?"number":"default",r=A(e,o);if(void 0!==r){var i=r.call(e,n);if(E(i))throw new TypeError;return i}return function(e,t){if("string"===t){var n=e.toString;if(j(n)&&!E(i=n.call(e)))return i;if(j(r=e.valueOf)&&!E(i=r.call(e)))return i}else{var r;if(j(r=e.valueOf)&&!E(i=r.call(e)))return i;var i,o=e.toString;if(j(o)&&!E(i=o.call(e)))return i}throw new TypeError}(e,"default"===n?"number":n)}function P(e){var t=x(e,3);return"symbol"===i(t)?t:function(e){return""+e}(t)}function _(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function j(e){return"function"==typeof e}function R(e){return"function"==typeof e}function A(e,t){var n=e[t];if(null!=n){if(!j(n))throw new TypeError;return n}}function C(e){var t=e.next();return!t.done&&t}function T(e){var t=e.return;t&&t.call(e)}function V(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===f)return t;if(t!==f)return t;var n=e.prototype,r=n&&Object.getPrototypeOf(n);if(null==r||r===Object.prototype)return t;var i=r.constructor;return"function"!=typeof i||i===e?t:i}function M(e){return e.__=void 0,delete e.__,e}t("decorate",(function(e,t,n,r){if(S(n)){if(!_(e))throw new TypeError;if(!R(t))throw new TypeError;return function(e,t){for(var n=e.length-1;n>=0;--n){var r=(0,e[n])(t);if(!S(r)&&!O(r)){if(!R(r))throw new TypeError;t=r}}return t}(e,t)}if(!_(e))throw new TypeError;if(!E(t))throw new TypeError;if(!E(r)&&!S(r)&&!O(r))throw new TypeError;return O(r)&&(r=void 0),function(e,t,n,r){for(var i=e.length-1;i>=0;--i){var o=(0,e[i])(t,n,r);if(!S(o)&&!O(o)){if(!E(o))throw new TypeError;r=o}}return r}(e,t,n=P(n),r)})),t("metadata",(function(e,t){return function(n,r){if(!E(n))throw new TypeError;if(!S(r)&&!function(e){switch(k(e)){case 3:case 4:return!0;default:return!1}}(r))throw new TypeError;g(e,t,n,r)}})),t("defineMetadata",(function(e,t,n,r){if(!E(n))throw new TypeError;return S(r)||(r=P(r)),g(e,t,n,r)})),t("hasMetadata",(function(e,t,n){if(!E(t))throw new TypeError;return S(n)||(n=P(n)),function e(t,n,r){if(m(t,n,r))return!0;var i=V(n);return!O(i)&&e(t,i,r)}(e,t,n)})),t("hasOwnMetadata",(function(e,t,n){if(!E(t))throw new TypeError;return S(n)||(n=P(n)),m(e,t,n)})),t("getMetadata",(function(e,t,n){if(!E(t))throw new TypeError;return S(n)||(n=P(n)),function e(t,n,r){if(m(t,n,r))return b(t,n,r);var i=V(n);return O(i)?void 0:e(t,i,r)}(e,t,n)})),t("getOwnMetadata",(function(e,t,n){if(!E(t))throw new TypeError;return S(n)||(n=P(n)),b(e,t,n)})),t("getMetadataKeys",(function(e,t){if(!E(e))throw new TypeError;return S(t)||(t=P(t)),function e(t,n){var r=w(t,n),i=V(t);if(null===i)return r;var o=e(i,n);if(o.length<=0)return r;if(r.length<=0)return o;for(var a=new p,u=[],s=0,l=r;s<l.length;s++){var c=l[s];a.has(c)||(a.add(c),u.push(c))}for(var f=0,d=o;f<d.length;f++)c=d[f],a.has(c)||(a.add(c),u.push(c));return u}(e,t)})),t("getOwnMetadataKeys",(function(e,t){if(!E(e))throw new TypeError;return S(t)||(t=P(t)),w(e,t)})),t("deleteMetadata",(function(e,t,n){if(!E(t))throw new TypeError;S(n)||(n=P(n));var r=v(t,n,!1);if(S(r))return!1;if(!r.delete(e))return!1;if(r.size>0)return!0;var i=y.get(t);return i.delete(n),i.size>0||y.delete(t),!0}))}(o)}()}.call(this,n(81),n(39))},1485:function(e,t,n){"use strict";n.r(t),n.d(t,"SwitchContainer",(function(){return h}));var r=n(0),i=n(59);function o(e){return(o="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 a(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 u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(n,!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(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=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var h=function(e){function t(e,n){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=function(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?f(e):t}(this,c(t).call(this,e,n))).index=0,r.currentChild=void 0,r.nextChild=void 0,r.Spring1=void 0,r.Spring2=void 0,r.Ref1Rendered=r.Ref1Rendered.bind(f(r)),r.Ref2Rendered=r.Ref2Rendered.bind(f(r)),r.state={status:"showed",nextChildren:null,currentChildren:e.children?e.children:null},r}var n,a,s;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(t,e),n=t,(a=[{key:"componentWillReceiveProps",value:function(e,t){var n=e.children,i=this.props.children;null!=n&&null!=i||n!=i&&(e.immediate?this.setState({status:"showed",currentChildren:e.children}):this.SwitchComponent(e.children)),0==n&&(n=null),0==i&&(i=null),null!=n&&null!=i?(n=r.Children.only(n),i=r.Children.only(i),void 0===n.key||void 0===i.key||n.key!=i.key?e.immediate?this.setState({status:"showed",currentChildren:e.children}):this.SwitchComponent(e.children):null!=this.state.nextChildren?this.setState({nextChildren:n}):this.setState({currentChildren:n})):n!=i&&(e.immediate?this.setState({status:"showed",currentChildren:e.children}):this.SwitchComponent(e.children))}},{key:"Ref1Rendered",value:function(e){this.Spring1=e}},{key:"Ref2Rendered",value:function(e){this.Spring2=e}},{key:"render",value:function(){var e=this,t=!1,n={},o={},a={},s={},l={};switch(this.state.status){case"showed":t=!0,n.height="auto",n.opacity=1,n.overflow="auto",n.position="static",l.display="none";break;case"showing":o.height="auto",o.opacity=1,n.height=0,n.opacity=0,n.overflow="hidden",s.overflow="hidden",o.overflow="hidden",a.height=0,a.opacity=0,null==this.state.nextChildren?n.position="static":n.position="absolute",l.position="static",s.opacity=1,s.height="auto";break;case"switching":t=!1,n.position="absolute",n.top="0",n.left=0,n.opacity=1,n.overflow="hidden",o.overflow="hidden",s.overflow="hidden",a.height=0,s.height="auto",l.position="absolute",s.top=0,l.left=0,l.opacity=0}return r.createElement("div",{className:"rootSwitchContainer "+this.props.className,style:u({overflow:"switching"==this.state.status||"showing"==this.state.status?"hidden":"auto"},this.props.style)},r.createElement("div",{style:{position:"showed"==this.state.status?"static":"relative"}},r.createElement(i.Spring,{ref:this.Ref1Rendered,config:{precision:.09},from:o,to:n,immediate:t,onRest:function(t){"showing"==e.state.status&&e.setState({status:"showed",currentChildren:e.state.nextChildren,nextChildren:null})}},(function(t,n){return r.createElement("div",{ref:function(e){n(e)},style:u({},t,{width:"100%"})},e.state.currentChildren)})),r.createElement(i.Spring,{ref:this.Ref2Rendered,config:{precision:.09},immediate:t,from:a,to:s},(function(t,n){return Object.assign({},t),null==e.state.nextChildren&&(t.height=0),r.createElement("div",{ref:function(e){return n(e)},style:u({},t,{width:"100%"},l),className:"switchcontainer2"},e.state.nextChildren)}))))}},{key:"SwitchComponent",value:function(e){var t=this;"switching"!=this.state.status&&"showing"!=this.state.status||(this.Spring2.stop(),this.Spring1.stop()),this.setState({nextChildren:e?r.cloneElement(e,{ref:function(e){return t.nextChild=e}}):null,status:"switching"},(function(){t.setState({status:"showing"})}))}}])&&l(n.prototype,a),s&&l(n,s),t}(r.Component);h.defaultProps={immediate:!1,className:""}},1486:function(e,t){throw new Error("Module parse failed: Unexpected token (17:7)\nYou may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders\n| } from 'react'\n| \n> export type SpringEasingFunc=(t: number)=> number\n| \n| export interface SpringConfig {")},1487:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(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")}()}function o(e,t){return!t||"object"!==h(t)&&"function"!=typeof t?u(e):t}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(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&&l(e,t)}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(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 d(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),e}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)}function p(e){return e&&"object"===h(e)&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var y=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i},v=function(){return e.exports=v=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},v.apply(this,arguments)},m=p(n(0)),b=p(n(16)),g=void 0,w=void 0,k=[],S=function(e){return"undefined"!=typeof window&&window.requestAnimationFrame(e)},O=function(e){return"undefined"!=typeof window&&window.cancelAnimationFrame(e)},E=void 0,x=function(){return Date.now()},P=void 0,_=void 0,j=function(e,t){return w={fn:e,transform:t}},R=function(e){return k=e},A=function(e){return g=e},C=function(e){return E=e},T=function(e){return P=e},V=function(e){return _=e},M=Object.freeze({get bugfixes(){return g},get applyAnimatedValues(){return w},get colorNames(){return k},get requestFrame(){return S},get cancelFrame(){return O},get interpolation(){return E},get now(){return x},get defaultElement(){return P},get createAnimatedStyle(){return _},injectApplyAnimatedValues:j,injectColorNames:R,injectBugfixes:A,injectInterpolation:C,injectFrame:function(e,t){var n=[e,t];return S=n[0],O=n[1],n},injectNow:function(e){return x=e},injectDefaultElement:T,injectCreateAnimatedStyle:V}),I=function(){function e(){c(this,e)}return d(e,[{key:"attach",value:function(){}},{key:"detach",value:function(){}},{key:"getValue",value:function(){}},{key:"getAnimatedValue",value:function(){return this.getValue()}},{key:"addChild",value:function(e){}},{key:"removeChild",value:function(e){}},{key:"getChildren",value:function(){return[]}}]),e}(),F=function(e){return Object.keys(e).map((function(t){return e[t]}))},N=function(e){function t(){var e,n;return c(this,t),e=o(this,a(t).apply(this,arguments)),n=u(e),e.children=[],e.getChildren=function(){return e.children},e.getPayload=function(e){return void 0===e&&(e=void 0),void 0!==e&&n.payload?n.payload[e]:n.payload||n},e}return s(t,e),d(t,[{key:"addChild",value:function(e){0===this.children.length&&this.attach(),this.children.push(e)}},{key:"removeChild",value:function(e){var t=this.children.indexOf(e);this.children.splice(t,1),0===this.children.length&&this.detach()}}]),t}(I),L=function(e){function t(){var e;return c(this,t),(e=o(this,a(t).apply(this,arguments))).payload=[],e.getAnimatedValue=function(){return e.getValue()},e.attach=function(){return e.payload.forEach((function(t){return t instanceof I&&t.addChild(u(e))}))},e.detach=function(){return e.payload.forEach((function(t){return t instanceof I&&t.removeChild(u(e))}))},e}return s(t,e),t}(N),U=function(e){function t(){var e;return c(this,t),(e=o(this,a(t).apply(this,arguments))).payload={},e.getAnimatedValue=function(){return e.getValue(!0)},e.attach=function(){return F(e.payload).forEach((function(t){return t instanceof I&&t.addChild(u(e))}))},e.detach=function(){return F(e.payload).forEach((function(t){return t instanceof I&&t.removeChild(u(e))}))},e}return s(t,e),d(t,[{key:"getValue",value:function(e){void 0===e&&(e=!1);var t={};for(var n in this.payload){var r=this.payload[n];(!e||r instanceof I)&&(t[n]=r instanceof I?r[e?"getAnimatedValue":"getValue"]():r)}return t}}]),t}(N),G=function(e){function t(e){var n;return c(this,t),n=o(this,a(t).call(this)),!(e=e||{}).transform||e.transform instanceof I||(e=w.transform(e)),n.payload=e,n}return s(t,e),t}(U),D={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},B=function(){function e(){c(this,e)}return d(e,null,[{key:"create",value:function(t,n,r){if("function"==typeof t)return t;if(E&&t.output&&"string"==typeof t.output[0])return E(t);if(Array.isArray(t))return e.create({range:t,output:n,extrapolate:r||"extend"});var i=t.output,o=t.range||[0,1],a=t.easing||function(e){return e},u="extend",s=t.map;void 0!==t.extrapolateLeft?u=t.extrapolateLeft:void 0!==t.extrapolate&&(u=t.extrapolate);var l="extend";return void 0!==t.extrapolateRight?l=t.extrapolateRight:void 0!==t.extrapolate&&(l=t.extrapolate),function(e){var t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,o);return function(e,t,n,r,i,o,a,u,s){var l=s?s(e):e;if(l<t){if("identity"===a)return l;"clamp"===a&&(l=t)}if(l>n){if("identity"===u)return l;"clamp"===u&&(l=n)}if(r===i)return r;if(t===n)return e<=t?r:i;t===-1/0?l=-l:n===1/0?l-=t:l=(l-t)/(n-t);l=o(l),r===-1/0?l=-l:i===1/0?l+=r:l=l*(i-r)+r;return l}(e,o[t],o[t+1],i[t],i[t+1],a,u,l,s)}}}]),e}();var W="[-+]?\\d*\\.?\\d+";function z(){return"\\(\\s*("+Array.prototype.slice.call(arguments).join(")\\s*,\\s*(")+")\\s*\\)"}var q=new RegExp("rgb"+z(W,W,W)),K=new RegExp("rgba"+z(W,W,W,W)),$=new RegExp("hsl"+z(W,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),H=new RegExp("hsla"+z(W,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",W)),J=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Y=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Z=/^#([0-9a-fA-F]{6})$/,Q=/^#([0-9a-fA-F]{8})$/;function X(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ee(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,o=X(i,r,e+1/3),a=X(i,r,e),u=X(i,r,e-1/3);return Math.round(255*o)<<24|Math.round(255*a)<<16|Math.round(255*u)<<8}function te(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function ne(e){return(parseFloat(e)%360+360)%360/360}function re(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function ie(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function oe(e){var t,n,r="number"==typeof(t=e)?t>>>0===t&&t>=0&&t<=4294967295?t:null:(n=Z.exec(t))?parseInt(n[1]+"ff",16)>>>0:D.hasOwnProperty(t)?D[t]:(n=q.exec(t))?(te(n[1])<<24|te(n[2])<<16|te(n[3])<<8|255)>>>0:(n=K.exec(t))?(te(n[1])<<24|te(n[2])<<16|te(n[3])<<8|re(n[4]))>>>0:(n=J.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+"ff",16)>>>0:(n=Q.exec(t))?parseInt(n[1],16)>>>0:(n=Y.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=$.exec(t))?(255|ee(ne(n[1]),ie(n[2]),ie(n[3])))>>>0:(n=H.exec(t))?(ee(ne(n[1]),ie(n[2]),ie(n[3]))|re(n[4]))>>>0:null;if(null===r)return e;var i=(16711680&(r=r||0))>>>16,o=(65280&r)>>>8,a=(255&r)/255;return"rgba(".concat((4278190080&r)>>>24,", ").concat(i,", ").concat(o,", ").concat(a,")")}var ae=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,ue=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,se=new RegExp("(".concat(Object.keys(D).join("|"),")"),"g");var le=function(e){function t(e,n,r){var s;return c(this,t),(s=o(this,a(t).call(this))).getValue=function(){var e;return(e=s).calc.apply(e,i(s.payload.map((function(e){return e.getValue()}))))},s.updateConfig=function(e,t){return s.calc=B.create(e,t)},s.interpolate=function(e,n){return new t(u(s),e,n)},s.payload=e instanceof L&&!e.updateConfig?e.payload:Array.isArray(e)?e:[e],s.calc=B.create(n,r),s}return s(t,e),t}(L);var ce=function(e){function t(e){var n,r;return c(this,t),n=o(this,a(t).call(this)),r=u(n),n.setValue=function(e,t){void 0===t&&(t=!0),r.value=e,t&&r.flush()},n.getValue=function(){return n.value},n.updateStyles=function(){return function e(t,n){"function"==typeof t.update?n.add(t):t.getChildren().forEach((function(t){return e(t,n)}))}(u(n),n.animatedStyles)},n.updateValue=function(e){return n.flush(n.value=e)},n.interpolate=function(e,t){return new le(u(n),e,t)},n.value=e,n.animatedStyles=new Set,n.done=!1,n.startPosition=e,n.lastPosition=e,n.lastVelocity=void 0,n.lastTime=void 0,n.controller=void 0,n}return s(t,e),d(t,[{key:"flush",value:function(){0===this.animatedStyles.size&&this.updateStyles(),this.animatedStyles.forEach((function(e){return e.update()}))}},{key:"prepare",value:function(e){void 0===this.controller&&(this.controller=e),this.controller===e&&(this.startPosition=this.value,this.lastPosition=this.value,this.lastVelocity=e.isActive?this.lastVelocity:void 0,this.lastTime=e.isActive?this.lastTime:void 0,this.done=!1,this.animatedStyles.clear())}}]),t}(N),fe=function(e){function t(e){var n,r;return c(this,t),n=o(this,a(t).call(this)),r=u(n),n.setValue=function(e,t){void 0===t&&(t=!0),Array.isArray(e)?e.length===r.payload.length&&e.forEach((function(e,n){return r.payload[n].setValue(e,t)})):r.payload.forEach((function(n,i){return r.payload[i].setValue(e,t)}))},n.getValue=function(){return n.payload.map((function(e){return e.getValue()}))},n.interpolate=function(e,t){return new le(u(n),e,t)},n.payload=e.map((function(e){return new ce(e)})),n}return s(t,e),t}(L);function de(e,t){return null==e?t:e}function he(e){return void 0!==e?Array.isArray(e)?e:[e]:[]}function pe(e,t){if(h(e)!==h(t))return!1;if("string"==typeof e||"number"==typeof e)return e===t;var n;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return void 0!==n||e===t}function ye(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e.apply(void 0,n):e}function ve(e){return Object.keys(e).map((function(t){return e[t]}))}function me(e){var t=function(e){return e.to,e.from,e.config,e.native,e.onStart,e.onRest,e.onFrame,e.children,e.reset,e.reverse,e.force,e.immediate,e.impl,e.inject,e.delay,e.attach,e.destroyed,e.interpolateTo,e.autoStart,e.ref,y(e,["to","from","config","native","onStart","onRest","onFrame","children","reset","reverse","force","immediate","impl","inject","delay","attach","destroyed","interpolateTo","autoStart","ref"])}(e),n=Object.keys(e).reduce((function(n,i){return void 0!==t[i]?n:v({},n,r({},i,e[i]))}),{});return v({to:t},n)}function be(e,t){var n=t[0],i=t[1];return v({},e,r({},n,new(Array.isArray(i)?fe:ce)(i)))}function ge(e){var t=e.from,n=e.to,r=e.native,i=Object.entries(v({},t,n));return r?i.reduce(be,{}):v({},t,n)}function we(e,t){return t&&("function"==typeof t?t(e):"object"===h(t)&&(t.current=e)),e}var ke=function(e){return"auto"===e};var Se={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,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},Oe=["Webkit","Ms","Moz","O"];function Ee(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Se.hasOwnProperty(e)&&Se[e]?(""+t).trim():t+"px"}Se=Object.keys(Se).reduce((function(e,t){return Oe.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),Se);var xe={};V((function(e){return new G(e)})),T("div"),C((function(e){var t=e.output.map((function(e){return e.replace(ue,oe)})).map((function(e){return e.replace(se,oe)})),n=t[0].match(ae).map((function(){return[]}));t.forEach((function(e){e.match(ae).forEach((function(e,t){return n[t].push(+e)}))}));var r=t[0].match(ae).map((function(t,r){return B.create(v({},e,{output:n[r]}))}));return function(e){var n=0;return t[0].replace(ae,(function(){return r[n++](e)})).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(function(e,t,n,r,i){return"rgba(".concat(Math.round(t),", ").concat(Math.round(n),", ").concat(Math.round(r),", ").concat(i,")")}))}})),R(D),A((function(e,t){var n=e.from,i=e.to,o=e.children;if(ve(i).some(ke)||ve(n).some(ke)){var a=o(ge(e));if(a){Array.isArray(a)&&(a={type:"div",props:{children:a}});var u=a.props.style;return m.createElement(a.type,v({key:a.key?a.key:void 0},a.props,{style:v({},u,{position:"absolute",visibility:"hidden"}),ref:function(o){if(o){var a,u,s=b.findDOMNode(o),l=getComputedStyle(s);if("border-box"===l.boxSizing)a=s.offsetWidth,u=s.offsetHeight;else{var c=parseFloat(l.paddingLeft||0)+parseFloat(l.paddingRight||0),f=parseFloat(l.paddingTop||0)+parseFloat(l.paddingBottom||0),d=parseFloat(l.borderLeftWidth||0)+parseFloat(l.borderRightWidth||0),h=parseFloat(l.borderTopWidth||0)+parseFloat(l.borderBottomWidth||0);a=s.offsetWidth-c-d,u=s.offsetHeight-f-h}var p=function(e,t){return function(n,i){var o=i[0],a=i[1];return v({},n,r({},o,"auto"===a?~o.indexOf("height")?t:e:a))}}(a,u);t(v({},e,{from:Object.entries(n).reduce(p,n),to:Object.entries(i).reduce(p,i)}))}}}))}}})),j((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var n=t.style,r=t.children,i=t.scrollTop,o=t.scrollLeft,a=y(t,["style","children","scrollTop","scrollLeft"]);for(var u in void 0!==i&&(e.scrollTop=i),void 0!==o&&(e.scrollLeft=o),void 0!==r&&(e.textContent=r),n)if(n.hasOwnProperty(u)){var s=0===u.indexOf("--"),l=Ee(u,n[u],s);"float"===u&&(u="cssFloat"),s?e.style.setProperty(u,l):e.style[u]=l}for(var c in a){var f=xe[c]||(xe[c]=c.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(f)&&e.setAttribute(f,a[c])}}),(function(e){return e}));var Pe=!1,_e=new Set,je=function e(){var t=x(),n=!0,r=!1,i=void 0;try{for(var o,a=_e[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){for(var u=o.value,s=!0,l=!0,c=0;c<u.configs.length;c++){for(var f=u.configs[c],d=void 0,h=void 0,p=0;p<f.animatedValues.length;p++){var y=f.animatedValues[p];if(!y.done){var v=f.fromValues[p],m=f.toValues[p],b=y.lastPosition;if("height"==f.name&&null!=u.Spring.ref&&("auto"==v||"auto"==b)){var g=u.Spring.ref.getBoundingClientRect().height;"auto"==v&&(v=g),"auto"==b&&(b=g)}var w=m instanceof I,k=Array.isArray(f.initialVelocity)?f.initialVelocity[p]:f.initialVelocity;if(w&&(m=m.getValue()),f.immediate||!w&&!f.decay&&v===m)y.updateValue(m),y.done=!0;else if(f.delay&&t-u.startTime<f.delay)s=!1;else if(l=!1,"string"!=typeof v&&"string"!=typeof m){if(void 0!==f.duration)b=v+f.easing((t-u.startTime-f.delay)/f.duration)*(m-v),d=t>=u.startTime+f.delay+f.duration;else if(f.decay)b=v+k/(1-.998)*(1-Math.exp(-(1-.998)*(t-u.startTime))),(d=Math.abs(y.lastPosition-b)<.1)&&(m=b);else{h=void 0!==y.lastTime?y.lastTime:t,k=void 0!==y.lastVelocity?y.lastVelocity:f.initialVelocity,t>h+64&&(h=t);for(var O=Math.floor(t-h),E=0;E<O;++E){b+=1*(k+=1*((-f.tension*(b-m)+-f.friction*k)/f.mass)/1e3)/1e3}var P=!(!f.clamp||0===f.tension)&&(v<m?b>m:b<m),_=Math.abs(k)<=f.precision,j=0===f.tension||Math.abs(m-b)<=f.precision;d=P||_&&j,y.lastVelocity=k,y.lastTime=t}w&&!f.toValues[p].done&&(d=!1),d?(y.value!==m&&(b=m),y.done=!0):s=!1,y.updateValue(b),y.lastPosition=b}else y.updateValue(m),y.done=!0}}!u.props.onFrame&&u.props.native||(u.animatedProps[f.name]=f.interpolation.getValue())}!u.props.onFrame&&u.props.native||(!u.props.native&&u.onUpdate&&u.onUpdate(),u.props.onFrame&&u.props.onFrame(u.animatedProps)),s&&(_e.delete(u),u.debouncedOnEnd({finished:!0,noChange:l}))}}catch(e){r=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw i}}_e.size?S(e):Pe=!1},Re=function(e){_e.has(e)&&_e.delete(e)},Ae=function(){function e(t,n){var r=this;c(this,e),void 0===n&&(n={native:!0,interpolateTo:!0,autoStart:!0}),this.getValues=function(){return r.props.native?r.interpolations:r.animatedProps},this.dependents=new Set,this.isActive=!1,this.hasChanged=!1,this.props={},this.merged={},this.animations={},this.interpolations={},this.animatedProps={},this.configs=[],this.frame=void 0,this.startTime=void 0,this.lastTime=void 0,this.update(v({},t,n))}return d(e,[{key:"update",value:function(e){var t=this;this.props=v({},this.props,e);var n=this.props.interpolateTo?me(this.props):this.props,i=n.from,o=void 0===i?{}:i,a=n.to,u=void 0===a?{}:a,s=n.config,l=void 0===s?{}:s,c=n.delay,f=void 0===c?0:c,d=n.reverse,h=n.attach,p=n.reset,y=n.immediate,m=n.autoStart,b=n.ref;if(d){var g=[u,o];o=g[0],u=g[1]}this.hasChanged=!1;var w=h&&h(this),S=p?{}:this.merged;if(this.merged=v({},o,S,u),this.animations=Object.entries(this.merged).reduce((function(e,n,i){var a,u,s=n[0],c=n[1],d=!p&&e[s]||{},h="number"==typeof c,m="string"==typeof c&&!c.startsWith("#")&&!/\d/.test(c)&&!k[c],b=!h&&!m&&Array.isArray(c),g=void 0!==o[s]?o[s]:c,S=h||b||m?c:1,O=ye(l,s);if(w&&(S=w.animations[s].parent),void 0===O.decay&&pe(d.changes,c))return e;if(t.hasChanged=!0,h||m)a=u=d.parent||new ce(g);else if(b)a=u=d.parent||new fe(g);else{var E=d.interpolation&&d.interpolation.calc(d.parent.value);d.parent?(a=d.parent).setValue(0,!1):a=new ce(0);var x={output:[void 0!==E?E:g,c]};d.interpolation?(u=d.interpolation,d.interpolation.updateConfig(x)):u=a.interpolate(x)}ye(y,s)&&a.setValue(c,!1);var P=he(a.getPayload());return P.forEach((function(e){return e.prepare(t)})),v({},e,r({},s,v({},d,{name:s,parent:a,interpolation:u,animatedValues:P,changes:c,fromValues:he(a.getValue()),toValues:he(w?S.getPayload():S),immediate:ye(y,s),delay:de(O.delay,f||0),initialVelocity:de(O.velocity,0),clamp:de(O.clamp,!1),precision:de(O.precision,.01),tension:de(O.tension,170),friction:de(O.friction,26),mass:de(O.mass,1),duration:O.duration,easing:de(O.easing,(function(e){return e})),decay:O.decay})))}),this.animations),this.hasChanged)for(var O in this.configs=ve(this.animations),this.animatedProps={},this.interpolations={},this.animations)this.interpolations[O]=this.animations[O].interpolation,this.animatedProps[O]=this.animations[O].interpolation.getValue();for(var E=arguments.length,x=new Array(E>1?E-1:0),P=1;P<E;P++)x[P-1]=arguments[P];b||!m&&!x.length||this.start.apply(this,x);var _=x[0],j=x[1];return this.onEnd="function"==typeof _&&_,this.onUpdate=j,this.getValues()}},{key:"start",value:function(e,t){var n,r=this;return this.startTime=x(),this.isActive&&this.stop(),this.isActive=!0,this.onEnd="function"==typeof e&&e,this.onUpdate=t,this.props.onStart&&this.props.onStart(),n=this,_e.has(n)||(_e.add(n),Pe||S(je),Pe=!0),new Promise((function(e){return r.resolve=e}))}},{key:"stop",value:function(e){void 0===e&&(e=!1),e&&ve(this.animations).forEach((function(e){return e.changes=void 0})),this.debouncedOnEnd({finished:e})}},{key:"destroy",value:function(){Re(this),this.props={},this.merged={},this.animations={},this.interpolations={},this.animatedProps={},this.configs=[]}},{key:"debouncedOnEnd",value:function(e){Re(this),this.isActive=!1;var t=this.onEnd;this.onEnd=null,t&&t(e),this.resolve&&this.resolve(),this.resolve=null}}]),e}(),Ce=function(e){function t(e,n){var r;return c(this,t),r=o(this,a(t).call(this)),e.style&&(e=v({},e,{style:_(e.style)})),r.payload=e,r.update=n,r.attach(),r}return s(t,e),t}(U);function Te(e){var t=function(t){function n(e){var t;return c(this,n),(t=o(this,a(n).call(this))).callback=function(){t.node&&(!1===w.fn(t.node,t.propsAnimated.getAnimatedValue(),u(t))&&t.forceUpdate())},t.attachProps(e),t}return s(n,t),d(n,[{key:"componentWillUnmount",value:function(){this.propsAnimated&&this.propsAnimated.detach()}},{key:"setNativeProps",value:function(e){!1===w.fn(this.node,e,this)&&this.forceUpdate()}},{key:"attachProps",value:function(e){e.forwardRef;var t=y(e,["forwardRef"]),n=this.propsAnimated;this.propsAnimated=new Ce(t,this.callback),n&&n.detach()}},{key:"shouldComponentUpdate",value:function(e){var t=e.style,n=y(e,["style"]),r=this.props,i=r.style;return(!pe(y(r,["style"]),n)||!pe(i,t))&&(this.attachProps(e),!0)}},{key:"render",value:function(){var t=this,n=this.propsAnimated.getValue(),r=(n.scrollTop,n.scrollLeft,y(n,["scrollTop","scrollLeft"]));return m.createElement(e,v({},r,{ref:function(e){return t.node=we(e,t.props.forwardRef)}}))}}]),n}(m.Component);return m.forwardRef((function(e,n){return m.createElement(t,v({},e,{forwardRef:n}))}))}var Ve={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},Me=function(e){function t(){var e;return c(this,t),(e=o(this,a(t).apply(this,arguments))).state={lastProps:{from:{},to:{}},propsChanged:!1,internal:!1},e.controller=new Ae(null,null),e.controller.Spring=u(e),e.didUpdate=!1,e.didInject=!1,e.finished=!0,e.start=function(){e.finished=!1;var t=e.mounted;e.controller.start((function(n){return e.finish(v({},n,{wasMounted:t}))}),e.update)},e.stop=function(){return e.controller.stop(!0)},e.update=function(){return e.mounted&&e.setState({internal:!0})},e.finish=function(t){var n=t.finished,r=t.noChange,i=t.wasMounted;e.finished=!0,e.mounted&&n&&(!e.props.onRest||!i&&r||e.props.onRest(e.controller.merged),e.mounted&&e.didInject&&(e.afterInject=ge(e.props),e.setState({internal:!0})),e.mounted&&(e.didInject||e.props.after)&&e.setState({internal:!0}),e.didInject=!1)},e}return s(t,e),d(t,[{key:"componentDidMount",value:function(){this.componentDidUpdate(),this.mounted=!0}},{key:"componentWillUnmount",value:function(){this.mounted=!1,this.stop()}},{key:"render",value:function(){var e=this,t=this.props.children,n=this.state.propsChanged;if(!this.props.immediate&&this.props.inject&&n&&!this.injectProps){var r=this.props.inject(this.props,(function(t){e.injectProps=t,e.setState({internal:!0})}));if(r)return r}(this.injectProps||n)&&(this.didInject=!1,this.injectProps?(this.controller.update(this.injectProps),this.didInject=!0):n&&this.controller.update(this.props),this.didUpdate=!0,this.afterInject=void 0,this.injectProps=void 0);var i=v({},this.controller.getValues(),this.afterInject);return this.finished&&(i=v({},i,this.props.after)),Object.keys(i).length?t(i,(function(t){return e.ref=t})):null}},{key:"componentDidUpdate",value:function(){this.didUpdate&&this.start(),this.didUpdate=!1}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.internal,r=t.lastProps,i=e.from,o=e.to,a=e.reset,u=e.force;return{propsChanged:!pe(o,r.to)||!pe(i,r.from)||a&&!n||u&&!n,lastProps:e,internal:!1}}}]),t}(m.Component);Me.defaultProps={from:{},to:{},config:Ve.default,native:!1,immediate:!1,reset:!1,force:!1,inject:g};var Ie=function(e){function t(){var e;return c(this,t),(e=o(this,a(t).apply(this,arguments))).first=!0,e.instances=new Set,e.hook=function(t,n,r,i){return e.instances.add(t),(i?n===r-1:0===n)?void 0:Array.from(e.instances)[i?n+1:n-1]},e}return s(t,e),d(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.items,r=t.children,i=t.from,o=void 0===i?{}:i,a=t.initial,u=t.reverse,s=t.keys,l=t.delay,c=t.onRest,f=y(t,["items","children","from","initial","reverse","keys","delay","onRest"]),d=he(n);return he(d).map((function(t,n){return m.createElement(Me,v({onRest:0===n?c:null,key:"function"==typeof s?s(t):he(s)[n],from:e.first&&void 0!==a?a||{}:o},f,{delay:0===n&&l||void 0,attach:function(t){return e.hook(t,n,d.length,u)},children:function(e){var i=r(t,n);return i?i(e):null}}))}))}},{key:"componentDidUpdate",value:function(e){this.first=!1,e.items!==this.props.items&&this.instances.clear()}}]),t}(m.PureComponent);Ie.defaultProps={keys:function(e){return e}};var Fe=function(e){function t(){var e,n;return c(this,t),e=o(this,a(t).apply(this,arguments)),n=u(e),e.guid=0,e.state={props:{},resolve:function(){return null},last:!0,index:0},e.next=function(e,t,r){return void 0===t&&(t=!0),void 0===r&&(r=0),n.running=!0,new Promise((function(i){n.mounted&&n.setState((function(n){return{props:e,resolve:i,last:t,index:r}}),(function(){return n.running=!1}))}))},e}return s(t,e),d(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.componentDidUpdate({})}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"componentDidUpdate",value:function(e){var t=this,n=this,r=this.props,i=r.states,o=r.filter,a=r.state;(e.state!==this.props.state||this.props.reset&&!this.running||!pe(i[a],e.states[e.state]))&&i&&a&&i[a]&&function(){var e=++t.guid,r=i[a];if(r)if(Array.isArray(r))for(var u=Promise.resolve(),s=function(n){var i=n,a=r[i],s=i===r.length-1;u=u.then((function(){return e===t.guid&&t.next(o(a),s,i)}))},l=0;l<r.length;l++)s(l);else if("function"==typeof r){var c=0;r((function(t,r){return void 0===r&&(r=!1),e===n.guid&&n.next(o(t),r,c++)}),(function(){return S((function(){return t.instance&&t.instance.stop()}))}),t.props)}else t.next(o(i[a]))}()}},{key:"render",value:function(){var e=this,t=this.state,n=t.props,r=t.resolve,i=t.last,o=t.index;if(!n||0===Object.keys(n).length)return null;var a=this.props,u=(a.state,a.filter,a.states,a.config),s=a.primitive,l=a.onRest,c=a.forwardRef,f=y(a,["state","filter","states","config","primitive","onRest","forwardRef"]);return Array.isArray(u)&&(u=u[o]),m.createElement(s,v({ref:function(t){return e.instance=we(t,c)},config:u},f,n,{onRest:function(e){r(e),l&&i&&l(e)}}))}}]),t}(m.PureComponent);Fe.defaultProps={state:"__default"};var Ne=m.forwardRef((function(e,t){return m.createElement(Fe,v({},e,{forwardRef:t}))}));Ne.create=function(e){return function(t,n){return void 0===n&&(n=function(e){return e}),("function"==typeof t||Array.isArray(t))&&(t=r({},"__default",t)),function(r){return m.createElement(Fe,v({primitive:e,states:t,filter:n},r))}}},Ne.Spring=function(e){return Ne.create(Me)(e,me)},Ne.Trail=function(e){return Ne.create(Ie)(e,me)};var Le=0,Ue=function(e){var t=e.items,n=e.keys,r=y(e,["items","keys"]);return t=he(void 0!==t?t:null),n="function"==typeof n?t.map(n):he(n),v({items:t,keys:n.map((function(e){return String(e)}))},r)},Ge=function(e){function t(e){var n;return c(this,t),(n=o(this,a(t).call(this,e))).destroyItem=function(e,t,r){return function(i){var o=n.props,a=o.onRest,u=o.onDestroyed;n.mounted&&(u&&u(e),n.setState((function(e){return{deleted:e.deleted.filter((function(e){return e.key!==t}))}})),a&&a(e,r,i))}},n.state={first:!0,transitions:[],current:{},deleted:[],prevProps:e},n}return s(t,e),d(t,[{key:"componentDidMount",value:function(){this.mounted=!0}},{key:"componentWillUnmount",value:function(){this.mounted=!1}}]),d(t,[{key:"render",value:function(){var e=this,t=this.props,n=(t.initial,t.from,t.enter,t.leave,t.update,t.onDestroyed,t.keys,t.items,t.onFrame),i=t.onRest,o=t.onStart,a=(t.trail,t.config,t.children),u=(t.unique,t.reset),s=y(t,["initial","from","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","trail","config","children","unique","reset"]);return this.state.transitions.map((function(t,l){var c=t.state,f=t.key,d=t.item,h=t.from,p=t.to,y=t.trail,b=t.config,g=t.destroyed;return m.createElement(Ne,v({reset:u&&"enter"===c,primitive:Me,state:c,filter:me,states:r({},c,p),key:f,onRest:g?e.destroyItem(d,f,c):i&&function(e){return i(d,c,e)},onStart:o&&function(){return o(d,c)},onFrame:n&&function(e){return n(d,c,e)},delay:y,config:b},s,{from:h,children:function(e){var t=a(d,c,l);return t?t(e):null}}))}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.first,r=t.prevProps,o=y(t,["first","prevProps"]),a=Ue(e),u=a.items,s=a.keys,l=a.initial,c=a.from,f=a.enter,d=a.leave,h=a.update,p=a.trail,m=void 0===p?0:p,b=a.unique,g=a.config,w=Ue(r),k=w.keys,S=w.items,O=v({},o.current),E=i(o.deleted),x=Object.keys(O),P=new Set(x),_=new Set(s),j=s.filter((function(e){return!P.has(e)})),R=o.transitions.filter((function(e){return!e.destroyed&&!_.has(e.originalKey)})).map((function(e){return e.originalKey})),A=s.filter((function(e){return P.has(e)})),C=0;j.forEach((function(e){b&&E.find((function(t){return t.originalKey===e}))&&(E=E.filter((function(t){return t.originalKey!==e})));var t=s.indexOf(e),r=u[t];O[e]={state:"enter",originalKey:e,key:b?String(e):Le++,item:r,trail:C+=m,config:ye(g,r,"enter"),from:ye(n&&void 0!==l?l||{}:c,r),to:ye(f,r)}})),R.forEach((function(e){var t=k.indexOf(e),n=S[t];E.push(v({},O[e],{state:"leave",destroyed:!0,left:k[Math.max(0,t-1)],right:k[Math.min(k.length,t+1)],trail:C+=m,config:ye(g,n,"leave"),to:ye(d,n)})),delete O[e]})),A.forEach((function(e){var t=s.indexOf(e),n=u[t];O[e]=v({},O[e],{item:n,state:"update",trail:C+=m,config:ye(g,n,"update"),to:ye(h,n)})}));var T=s.map((function(e){return O[e]}));return E.forEach((function(e){var t,n=e.left,r=e.right,o=y(e,["left","right"]);-1!==(t=T.findIndex((function(e){return e.originalKey===n})))&&(t+=1),-1===t&&(t=T.findIndex((function(e){return e.originalKey===r}))),-1===t&&(t=E.findIndex((function(e){return e.originalKey===n}))),-1===t&&(t=E.findIndex((function(e){return e.originalKey===r}))),t=Math.max(0,t),T=[].concat(i(T.slice(0,t)),[o],i(T.slice(t)))})),{first:n&&0===j.length,transitions:T,current:O,deleted:E,prevProps:e}}}]),t}(m.PureComponent);Ge.defaultProps={keys:function(e){return e},unique:!1,reset:!1};var De=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].reduce((function(e,t){return e[t]=Te(t),e}),Te);t.Spring=Me,t.Keyframes=Ne,t.Transition=Ge,t.Trail=Ie,t.Controller=Ae,t.config=Ve,t.animated=De,t.interpolate=function(e,t,n){return e&&new le(e,t,n)},t.Globals=M},16:function(e,t){e.exports=ReactDOM},186:function(e,t){e.exports=RedNaoSharedCore.default("shared/core/Utilities/Reflect")},2:function(e,t){e.exports=RedNaoSharedCore.default("shared/core/Events/EventManager")},39:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},50:function(e,t){e.exports=RedNaoSharedCore.default("shared/core/Events/SingleEvent")},59:function(e,t){e.exports=RedNaoSharedCore.default("shared/core/animation/react-spring/renderprops")},606:function(e,t,n){"use strict";n.r(t),n.d(t,"StoreBase",(function(){return u})),n.d(t,"StoreDataType",(function(){return s})),n.d(t,"StoreAutoIncrement",(function(){return l}));var r=n(50),i=n(186);function o(e){return(o="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 a(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 u=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.IsDirty=!1,this._fields=[],this._defaultValuesLoaded=void 0,this.ValueChanged=void 0,this._fields=[],this.ValueChanged=new r.SingleEvent,this._defaultValuesLoaded=!1}var t,n,u;return t=e,(n=[{key:"AddField",value:function(e){this._fields.push(e)}},{key:"RemoveField",value:function(e){var t=this._fields.indexOf(e);t>=0&&this._fields.splice(t,1)}},{key:"Subscribe",value:function(e,t){this.ValueChanged.Subscribe(e,t)}},{key:"Unsubscribe",value:function(e){this.ValueChanged.Unsubscribe(e)}},{key:"GetValue",value:function(e){return this[e]}},{key:"SetValue",value:function(e,t){this.ParseAndSetValue(e,t),this.ValueChanged.Publish(e)}},{key:"Merge",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this._defaultValuesLoaded||(this.LoadDefaultValues(),this._defaultValuesLoaded=!0),null==e)return this.SetAutoIncrementIds(),this;for(var t in e)if(this.hasOwnProperty(t)){var n=e[t];this.ParseAndSetValue(t,n)}return this.SetAutoIncrementIds(),this}},{key:"SetAutoIncrementIds",value:function(){var e=this,t=function(t){if(!e.hasOwnProperty(t))return"continue";var n=null;n=null==i.RNReflect.getMetadata("StoreAutoIncrement",e,t)?null:i.RNReflect.getMetadata("StoreAutoIncrement",e,t);var r=e[t];if(null!=n){var o=window.StoreAutoIncrementDictionary.find((function(e){return e.Id==n}));if(null==o)throw new Error("Auto increment for property "+t+" does not exist");if(null==r||0===r)o.LastNumber++,e[t]=o.LastNumber;else{var a=parseInt(r.toString());if(isNaN(a))throw new Error("Used id for property "+t+" is not a valid number, was:"+r.toString());e[t]=a,o.LastNumber=Math.max(a,o.LastNumber)}}};for(var n in this)t(n)}},{key:"ParseAndSetValue",value:function(t,n){var r=this[t],a=this.GetValueFromLoader(t,n);if(null==a)if(null!=r&&r.hasOwnProperty("_fields")&&r.hasOwnProperty("_defaultValuesLoaded"))null!=n&&n.hasOwnProperty("_fields")&&n.hasOwnProperty("_defaultValuesLoaded")?this[t]=n:this[t].Merge(n);else if("number"!=typeof r)if("boolean"!=typeof r)if("string"!=typeof r)if(null==r||r.constructor!=Array){if(null==r&&null!=i.RNReflect.getMetadata("StoreType",this,t)){if(null==n)return;var u=i.RNReflect.getMetadata("StoreType",this,t);if(u.prototype instanceof e)return void(this[t]=(new u).Merge(n))}if(i.RNReflect.getMetadata("StoreType",this,t)!=Object)throw"Could not process type "+o(r)+" of "+t;this[t]=n}else{if(null==i.RNReflect.getMetadata("StoreType",this,t))throw"Property "+t+" of class "+this.constructor.name+" is an array but does not have the OptionType decorator implemented";var s=i.RNReflect.getMetadata("StoreType",this,t);if(this[t]=[],s==String||s===Object)return void(this[t]=n);if(s==Number)return void(this[t]=n);var l=!0,c=!1,f=void 0;try{for(var d,h=n[Symbol.iterator]();!(l=(d=h.next()).done);l=!0){var p=d.value;null!=p&&p.hasOwnProperty("_fields")&&p.hasOwnProperty("_defaultValuesLoaded")?this[t].push(p):this[t].push((new s).Merge(p))}}catch(e){c=!0,f=e}finally{try{l||null==h.return||h.return()}finally{if(c)throw f}}}else this[t]=n;else isNaN(n)?this[t]="true"==n:this[t]=!0===n||1==parseFloat(n);else this[t]=parseFloat(null==n?0:n.toString());else this[t]=a}},{key:"GetValueFromLoader",value:function(e,t){return null}},{key:"Validate",value:function(){var e=!0,t=!0,n=!1,r=void 0;try{for(var i,o=this._fields[Symbol.iterator]();!(t=(i=o.next()).done);t=!0)i.value.Validate()||(e=!1)}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}return e}},{key:"ToObject",value:function(){return JSON.parse(JSON.stringify(this,(function(e,t){if(!(["_fields","_defaultValuesLoaded","IsDirty","ValueChanged"].indexOf(e)>=0||"function"==typeof t))return t})))}},{key:"SerializeObject",value:function(e){var t=["_fields","_defaultValuesLoaded","IsDirty"];for(var n in e){var r=e[n];t.indexOf(n)>=0||"function"==typeof r?delete e[n]:(Array.isArray(r)&&this.SerializeArray(r),"object"==o(r)&&(r=this.SerializeObject(r)))}return e}},{key:"SerializeArray",value:function(e){for(var t=0;t<e.length;t++){var n=e[t];Array.isArray(n)&&this.SerializeArray(n),"object"==o(n)&&(e[t]=this.SerializeObject(n))}}}])&&a(t.prototype,n),u&&a(t,u),e}();function s(e){return i.RNReflect.metadata("StoreType",e)}function l(e){return window.StoreAutoIncrementDictionary.push({Id:e,LastNumber:0}),i.RNReflect.metadata("StoreAutoIncrement",e)}null==window.StoreAutoIncrementDictionary&&(window.StoreAutoIncrementDictionary=[])},81:function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var s,l=[],c=!1,f=-1;function d(){c&&s&&(c=!1,s.length?l=s.concat(l):f=-1,l.length&&h())}function h(){if(!c){var e=u(d);c=!0;for(var t=l.length;t;){for(s=l,l=[];++f<t;)s&&s[f].run();f=-1,t=l.length}s=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function y(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new p(e,t)),1!==l.length||c||u(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=y,i.addListener=y,i.once=y,i.off=y,i.removeListener=y,i.removeAllListeners=y,i.emit=y,i.prependListener=y,i.prependOnceListener=y,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},866:function(e,t,n){"use strict";n.r(t);var r=n(1476),i={},o=!0,a=!1,u=void 0;try{for(var s,l=r.keys()[Symbol.iterator]();!(o=(s=l.next()).done);o=!0){var c=s.value;i[c.substring(0,c.lastIndexOf("."))]=c}}catch(e){a=!0,u=e}finally{try{o||null==l.return||l.return()}finally{if(a)throw u}}delete i["./animation/react-spring/renderprops.d"],i["./animation/react-spring/renderprops"]=n(1487),t.default=function(e){if(e="./"+e.substring(12),null==i[e])throw console.log("Available libraries",i),"Library not found "+e;return"string"!=typeof i[e]?i[e]:r(i[e])}}});