/*! For license information please see main.4b8bf6df.js.LICENSE.txt */ (self.webpackChunk_genially_view_client=self.webpackChunk_genially_view_client||[]).push([[8792],{2382(e,t,n){"use strict";n.d(t,{E4:()=>r,KO:()=>i});var r="https://static.genially.com/backgroundStandard.png",i="https://genially.com"},16379(e,t,n){"use strict";n.d(t,{JL:()=>r});var r=["Svgs","Texts","Audios","Charts","Groups","Images"]},61587(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(17588),i=n(22848);const o=e=>{let{className:t,color:n,height:o,size:a,style:s,width:l,...c}=e;return r.createElement(i.A,{className:t,color:n,height:o,size:a,style:s,viewBox:"0 0 16 16",width:l,...c},r.createElement("g",null,r.createElement("path",{d:"M2.31,3.79A1,1,0,0,1,3.79,2.31L8,6.52l4.21-4.21a1,1,0,0,1,1.48,1.48L9.48,8l4.21,4.21a1,1,0,0,1-1.48,1.48L8,9.48,3.79,13.69a1,1,0,0,1-1.48-1.48L6.52,8Z"})))}},98222(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(17588),i=n(22848);const o=e=>{let{className:t,color:n,height:o,size:a,style:s,width:l,...c}=e;return r.createElement(i.A,{className:t,color:n,height:o,size:a,style:s,viewBox:"0 0 16 16",width:l,...c},r.createElement("g",null,r.createElement("path",{d:"M.31,1.79A1,1,0,0,1,1.79.31L8,6.52,14.21.31a1,1,0,0,1,1.48,1.48L9.48,8l6.21,6.21a1,1,0,0,1-1.48,1.48L8,9.48,1.79,15.69A1,1,0,0,1,.31,14.21L6.52,8Z"})))}},60766(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(17588),i=n(22848);const o=e=>{let{className:t,color:n,height:o,size:a,style:s,width:l,...c}=e;return r.createElement(i.A,{className:t,color:n,height:o,size:a,style:s,viewBox:"0 0 16 16",width:l,...c},r.createElement("g",null,r.createElement("path",{d:"M4.71,4.29a1,1,0,0,1,0,1.42L2.41,8l2.3,2.29a1,1,0,0,1,0,1.42,1,1,0,0,1-1.42,0l-3-3a1,1,0,0,1,0-1.42l3-3A1,1,0,0,1,4.71,4.29Zm11,3a1,1,0,0,1,0,1.42l-3,3a1,1,0,0,1-1.42,0,1,1,0,0,1,0-1.42L13.59,8l-2.3-2.29a1,1,0,0,1,1.42-1.42ZM9.32,4.05A1,1,0,0,1,10,5.32l-2,6A1,1,0,0,1,7,12,1.25,1.25,0,0,1,6.68,12a1,1,0,0,1-.63-1.27l2-6A1,1,0,0,1,9.32,4.05Z"})))}},13530(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(17588),i=n(22848);const o=e=>{let{className:t,color:n,height:o,size:a,style:s,width:l,...c}=e;return r.createElement(i.A,{className:t,color:n,height:o,size:a,style:s,viewBox:"0 0 16 16",width:l,...c},r.createElement("g",null,r.createElement("path",{d:"M15,2a1,1,0,0,1,0,2H1A1,1,0,0,1,1,2H4V1A1,1,0,0,1,5,0h6a1,1,0,0,1,1,1V2ZM2,14.18V6H14v8.18A1.92,1.92,0,0,1,12,16H4A1.92,1.92,0,0,1,2,14.18Z"})))}},28247(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(17588),i=n(22848);const o=e=>{let{className:t,color:n,height:o,size:a,style:s,width:l,...c}=e;return r.createElement(i.A,{className:t,color:n,height:o,size:a,style:s,viewBox:"0 0 16 16",width:l,...c},r.createElement("g",null,r.createElement("path",{d:"M8,12a1,1,0,0,1-.64-.23l-6-5A1,1,0,1,1,2.64,5.23L8,9.7l5.36-4.47a1,1,0,0,1,1.28,1.54l-6,5A1,1,0,0,1,8,12"})))}},96359(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(17588),i=n(22848);const o=e=>{let{className:t,color:n,height:o,size:a,style:s,width:l,...c}=e;return r.createElement(i.A,{className:t,color:n,height:o,size:a,style:s,viewBox:"0 0 16 16",width:l,...c},r.createElement("g",null,r.createElement("path",{d:"M10,14a1,1,0,0,1-.71-.29l-5-5a1,1,0,0,1,0-1.42l5-5a1,1,0,1,1,1.42,1.42L6.41,8l4.3,4.29a1,1,0,0,1,0,1.42A1,1,0,0,1,10,14"})))}},69953(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(17588),i=n(22848);const o=e=>{let{className:t,color:n,height:o,size:a,style:s,width:l,...c}=e;return r.createElement(i.A,{className:t,color:n,height:o,size:a,style:s,viewBox:"0 0 16 16",width:l,...c},r.createElement("g",null,r.createElement("path",{d:"M6,2a1,1,0,0,1,.71.29l5,5a1,1,0,0,1,0,1.42l-5,5a1,1,0,0,1-1.42-1.42L9.59,8,5.29,3.71a1,1,0,0,1,0-1.42A1,1,0,0,1,6,2"})))}},65631(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(17588),i=n(22848);const o=e=>{let{className:t,color:n,height:o,size:a,style:s,width:l,...c}=e;return r.createElement(i.A,{className:t,color:n,height:o,size:a,style:s,viewBox:"0 0 16 16",width:l,...c},r.createElement("g",null,r.createElement("path",{d:"M8,4a1,1,0,0,1,.64.23l6,5a1,1,0,1,1-1.28,1.54L8,6.3,2.64,10.77A1,1,0,1,1,1.36,9.23l6-5A1,1,0,0,1,8,4"})))}},43405(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(17588),i=n(22848);const o=e=>{let{className:t,color:n,height:o,size:a,style:s,width:l,...c}=e;return r.createElement(i.A,{className:t,color:n,height:o,size:a,style:s,viewBox:"0 0 16 16",width:l,...c},r.createElement("g",null,r.createElement("path",{d:"M5,6A2,2,0,1,1,3,8,2,2,0,0,1,5,6Zm0,6a2,2,0,1,1-2,2A2,2,0,0,1,5,12ZM5,4A2,2,0,1,1,7,2,2,2,0,0,1,5,4Z"}),r.createElement("path",{d:"M11,6A2,2,0,1,1,9,8,2,2,0,0,1,11,6Zm0,6a2,2,0,1,1-2,2A2,2,0,0,1,11,12Zm0-8a2,2,0,1,1,2-2A2,2,0,0,1,11,4Z"})))}},16740(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(17588),i=n(22848);const o=e=>{let{className:t,color:n,height:o,size:a,style:s,width:l,...c}=e;return r.createElement(i.A,{className:t,color:n,height:o,size:a,style:s,viewBox:"0 0 16 16",width:l,...c},r.createElement("g",null,r.createElement("path",{d:"M9,4l3,3L5.36,13.64a1.94,1.94,0,0,1-.85.5L1.62,15a.49.49,0,0,1-.6-.6l.84-2.89a1.94,1.94,0,0,1,.5-.85Zm5.41-2.24a2,2,0,0,1,0,2.83L13,6,10,3l1.41-1.41a2,2,0,0,1,2.83,0Z"})))}},58081(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(17588),i=n(22848);const o=e=>{let{className:t,color:n,height:o,size:a,style:s,width:l,...c}=e;return r.createElement(i.A,{className:t,color:n,height:o,size:a,style:s,viewBox:"0 0 16 16",width:l,...c},r.createElement("g",null,r.createElement("path",{d:"M15,7a.94.94,0,0,1,1,1,.94.94,0,0,1-1,1H1A.94.94,0,0,1,0,8,.94.94,0,0,1,1,7Zm0-6a.94.94,0,0,1,1,1,.94.94,0,0,1-1,1H1A.94.94,0,0,1,0,2,.94.94,0,0,1,1,1Zm0,12a1,1,0,0,1,0,2H1a1,1,0,0,1,0-2Z"})))}},55348(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(17588),i=n(22848);const o=e=>{let{className:t,color:n,height:o,size:a,style:s,width:l,...c}=e;return r.createElement(i.A,{className:t,color:n,height:o,size:a,style:s,viewBox:"0 0 16 16",width:l,...c},r.createElement("g",null,r.createElement("path",{d:"M15.79,1.21a.7.7,0,0,0,0-1,.7.7,0,0,0-1,0L11.85,3.15A7.3,7.3,0,0,0,8,2C4.21,2,1.53,5.17.34,6.9a2,2,0,0,0,0,2.19A14.58,14.58,0,0,0,3,12L.21,14.79a.7.7,0,0,0,0,1h0a.7.7,0,0,0,1,0ZM5,8A3,3,0,0,1,8,5a2.93,2.93,0,0,1,1.55.45l-4.1,4.1A2.93,2.93,0,0,1,5,8Z"}),r.createElement("path",{d:"M14.06,4.94,11,8a3,3,0,0,1-3,3L5.48,13.52A7,7,0,0,0,8,14c3.79,0,6.47-3.17,7.66-4.91a2,2,0,0,0,0-2.19A15.41,15.41,0,0,0,14.06,4.94Z"})))}},85599(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(17588),i=n(22848);const o=e=>{let{className:t,color:n,height:o,size:a,style:s,width:l,...c}=e;return r.createElement(i.A,{className:t,color:n,height:o,size:a,style:s,viewBox:"0 0 16 16",width:l,...c},r.createElement("g",null,r.createElement("path",{d:"M8,0A8,8,0,1,1,0,8,8,8,0,0,1,8,0ZM8,5A1,1,0,1,0,7,4,1,1,0,0,0,8,5Zm1,7V7.5a1,1,0,0,0-2,0V12a1,1,0,0,0,2,0Z"})))}},46910(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(17588),i=n(22848);const o=e=>{let{className:t,color:n,height:o,size:a,style:s,width:l,...c}=e;return r.createElement(i.A,{className:t,color:n,height:o,size:a,style:s,viewBox:"0 0 16 16",width:l,...c},r.createElement("g",null,r.createElement("path",{d:"M10,0a1,1,0,0,0,0,2h2.59L7.5,7.09A1,1,0,0,0,8.91,8.5L14,3.41V6a1,1,0,0,0,2,0V0Z"}),r.createElement("path",{d:"M15,16H1a1,1,0,0,1-1-1V1A1,1,0,0,1,1,0H5A1,1,0,0,1,5,2H2V14H14V11a1,1,0,0,1,2,0v4A1,1,0,0,1,15,16Z"})))}},66294(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(17588),i=n(22848);const o=e=>{let{className:t,color:n,height:o,size:a,style:s,width:l,...c}=e;return r.createElement(i.A,{className:t,color:n,height:o,size:a,style:s,viewBox:"0 0 16 16",width:l,...c},r.createElement("g",null,r.createElement("path",{d:"M3,1H5A1,1,0,0,1,6,2V14a1,1,0,0,1-1,1H3a1,1,0,0,1-1-1V2A1,1,0,0,1,3,1Zm8,0h2a1,1,0,0,1,1,1V14a1,1,0,0,1-1,1H11a1,1,0,0,1-1-1V2A1,1,0,0,1,11,1Z"})))}},55404(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(17588),i=n(22848);const o=e=>{let{className:t,color:n,height:o,size:a,style:s,width:l,...c}=e;return r.createElement(i.A,{className:t,color:n,height:o,size:a,style:s,viewBox:"0 0 16 16",width:l,...c},r.createElement("g",null,r.createElement("path",{d:"M13.62,8.85,3.52,15.06a1,1,0,0,1-1.37-.33A.93.93,0,0,1,2,14.21V1.79a1,1,0,0,1,1-1,.93.93,0,0,1,.52.15l10.1,6.21a1,1,0,0,1,.32,1.37A.92.92,0,0,1,13.62,8.85Z"})))}},23246(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(17588),i=n(22848);const o=e=>{let{className:t,color:n,height:o,size:a,style:s,width:l,...c}=e;return r.createElement(i.A,{className:t,color:n,height:o,size:a,style:s,viewBox:"0 0 16 16",width:l,...c},r.createElement("g",null,r.createElement("path",{d:"M13.66,2.34a8,8,0,0,0-11.32,0L0,0V6H6L3.76,3.76a6,6,0,1,1-1.7,5.1,1,1,0,0,0-1-.86,1,1,0,0,0-1,1.13A8,8,0,1,0,13.66,2.34"})))}},78874(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(17588),i=n(22848);const o=e=>{let{className:t,color:n,height:o,size:a,style:s,width:l,...c}=e;return r.createElement(i.A,{className:t,color:n,height:o,size:a,style:s,viewBox:"0 0 16 16",width:l,...c},r.createElement("g",null,r.createElement("path",{d:"M12.24,3.76,10,6h6V0L13.66,2.34A8,8,0,0,0,.08,6.89,1,1,0,0,0,1.07,8a1,1,0,0,0,1-.86,5.75,5.75,0,0,1,.89-2.38A6,6,0,0,1,12.24,3.76ZM6,10H0v6l2.34-2.34a8,8,0,0,0,11.32,0,7.93,7.93,0,0,0,2.26-4.55,1,1,0,0,0-1-1.11,1,1,0,0,0-1,.85,5.84,5.84,0,0,1-.89,2.39,6,6,0,0,1-9.3,1Z"})))}},80030(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(17588),i=n(22848);const o=e=>{let{className:t,color:n,height:o,size:a,style:s,width:l,...c}=e;return r.createElement(i.A,{className:t,color:n,height:o,size:a,style:s,viewBox:"0 0 16 16",width:l,...c},r.createElement("g",null,r.createElement("path",{d:"M1.41,7.35l0,0a1.39,1.39,0,0,1,2,0l3,3,6-6.85a1.4,1.4,0,1,1,2.11,1.84l-7.14,7.9a1.41,1.41,0,0,1-2,.06l-4-4a1.39,1.39,0,0,1,0-2"})))}},1378(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(17588),i=n(22848);const o=e=>{let{className:t,color:n,height:o,size:a,style:s,width:l,...c}=e;return r.createElement(i.A,{className:t,color:n,height:o,size:a,style:s,viewBox:"0 0 16 16",width:l,...c},r.createElement("g",null,r.createElement("path",{d:"M8,11a3,3,0,1,1,3-3,3,3,0,0,1-3,3M8,2C4.21,2,1.52,5.17.34,6.91a2,2,0,0,0,0,2.19C1.52,10.83,4.21,14,8,14s6.48-3.17,7.66-4.9a2,2,0,0,0,0-2.19C14.48,5.17,11.79,2,8,2"})))}},74705(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(17588),i=n(22848);const o=e=>{let{className:t,color:n,height:o,size:a,style:s,width:l,...c}=e;return r.createElement(i.A,{className:t,color:n,height:o,size:a,style:s,viewBox:"0 0 16 16",width:l,...c},r.createElement("g",null,r.createElement("path",{d:"M8,13a1.18,1.18,0,1,1,1.2-1.17A1.18,1.18,0,0,1,8,13ZM6.9,5.29a1.1,1.1,0,0,1,2.2,0V8.52a1.1,1.1,0,0,1-2.2,0Zm9,8.08L9,1.54a1.11,1.11,0,0,0-1.9,0L.15,13.37A1.07,1.07,0,0,0,1.1,15H14.9a1.07,1.07,0,0,0,.95-1.61Z"})))}},32253(e,t,n){"use strict";var r=n(71246);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){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:o,resetWarningCache:i};return n.PropTypes=n,n}},11825(e,t,n){e.exports=n(32253)()},71246(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},22848(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(17588),i=n(11825),o=n.n(i),a=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","color","size","style","width","height"]),d=t.reactIconBase,p=void 0===d?{}:d,h=o||p.size||"1em";return r.createElement("svg",a({children:n,fill:"currentColor",preserveAspectRatio:"xMidYMid meet",height:c||h,width:l||h},p,u,{style:a({verticalAlign:"middle",color:i||p.color},p.style||{},s)}))};s.contextTypes={reactIconBase:o().shape(s.propTypes)};const l=s},4403(e,t,n){"use strict";var r=n(36077),i=n(74943),o=i(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"===typeof n&&o(e,".prototype.")>-1?i(n):n}},74943(e,t,n){"use strict";var r=n(36639),i=n(36077),o=i("%Function.prototype.apply%"),a=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||r.call(a,o),l=i("%Object.getOwnPropertyDescriptor%",!0),c=i("%Object.defineProperty%",!0),u=i("%Math.max%");if(c)try{c({},"a",{value:1})}catch(p){c=null}e.exports=function(e){var t=s(r,a,arguments);l&&c&&(l(t,"length").configurable&&c(t,"length",{value:1+u(0,e.length-(arguments.length-1))}));return t};var d=function(){return s(r,o,arguments)};c?c(e.exports,"apply",{value:d}):e.exports.apply=d},22140(e,t,n){"use strict";var r=n(41261),i="function"===typeof Symbol&&"symbol"===typeof Symbol("foo"),o=Object.prototype.toString,a=Array.prototype.concat,s=Object.defineProperty,l=s&&function(){var e={};try{for(var t in s(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(n){return!1}}(),c=function(e,t,n,r){var i;(!(t in e)||"function"===typeof(i=r)&&"[object Function]"===o.call(i)&&r())&&(l?s(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},u=function(e,t){var n=arguments.length>2?arguments[2]:{},o=r(t);i&&(o=a.call(o,Object.getOwnPropertySymbols(t)));for(var s=0;s=3&&(a=n),"[object Array]"===i.call(e)?function(e,t,n){for(var r=0,i=e.length;r1&&"boolean"!==typeof t)throw new a('"allowMissing" argument must be a boolean');var n=function(e){var t=x(e,0,1),n=x(e,-1);if("%"===t&&"%"!==n)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new i("invalid intrinsic syntax, expected opening `%`");var r=[];return _(e,S,(function(e,t,n,i){r[r.length]=n?_(i,C,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",o=E("%"+r+"%",t),s=o.name,c=o.value,u=!1,d=o.alias;d&&(r=d[0],b(n,w([0,1],d)));for(var p=1,h=!0;p=n.length){var v=l(c,f);c=(h=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:c[f]}else h=y(c,f),c=c[f];h&&!u&&(m[s]=c)}}return c}},53855(e,t,n){"use strict";var r="undefined"!==typeof Symbol&&Symbol,i=n(32125);e.exports=function(){return"function"===typeof r&&("function"===typeof Symbol&&("symbol"===typeof r("foo")&&("symbol"===typeof Symbol("bar")&&i())))}},32125(e){"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},22990(e,t,n){"use strict";var r=n(36639);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},86314(e,t,n){"use strict";var r=n(63571),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(f){var i=h(n);i&&i!==f&&e(t,i,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),m=l(n),g=0;g=0&&e<=1){if(t._volume=e,t._muted)return t;t.usingWebAudio&&t.masterGain.gain.setValueAtTime(e,o.ctx.currentTime);for(var n=0;n=0;t--)e._howls[t].unload();return e.usingWebAudio&&e.ctx&&"undefined"!==typeof e.ctx.close&&(e.ctx.close(),e.ctx=null,h()),e},codecs:function(e){return(this||o)._codecs[e.replace(/^x-/,"")]},_setup:function(){var e=this||o;if(e.state=e.ctx&&e.ctx.state||"suspended",e._autoSuspend(),!e.usingWebAudio)if("undefined"!==typeof Audio)try{"undefined"===typeof(new Audio).oncanplaythrough&&(e._canPlayEvent="canplay")}catch(t){e.noAudio=!0}else e.noAudio=!0;try{(new Audio).muted&&(e.noAudio=!0)}catch(t){}return e.noAudio||e._setupCodecs(),e},_setupCodecs:function(){var e=this||o,t=null;try{t="undefined"!==typeof Audio?new Audio:null}catch(u){return e}if(!t||"function"!==typeof t.canPlayType)return e;var n=t.canPlayType("audio/mpeg;").replace(/^no$/,""),r=e._navigator?e._navigator.userAgent:"",i=r.match(/OPR\/([0-6].)/g),a=i&&parseInt(i[0].split("/")[1],10)<33,s=-1!==r.indexOf("Safari")&&-1===r.indexOf("Chrome"),l=r.match(/Version\/(.*?) /),c=s&&l&&parseInt(l[1],10)<15;return e._codecs={mp3:!(a||!n&&!t.canPlayType("audio/mp3;").replace(/^no$/,"")),mpeg:!!n,opus:!!t.canPlayType('audio/ogg; codecs="opus"').replace(/^no$/,""),ogg:!!t.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),oga:!!t.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),wav:!!(t.canPlayType('audio/wav; codecs="1"')||t.canPlayType("audio/wav")).replace(/^no$/,""),aac:!!t.canPlayType("audio/aac;").replace(/^no$/,""),caf:!!t.canPlayType("audio/x-caf;").replace(/^no$/,""),m4a:!!(t.canPlayType("audio/x-m4a;")||t.canPlayType("audio/m4a;")||t.canPlayType("audio/aac;")).replace(/^no$/,""),m4b:!!(t.canPlayType("audio/x-m4b;")||t.canPlayType("audio/m4b;")||t.canPlayType("audio/aac;")).replace(/^no$/,""),mp4:!!(t.canPlayType("audio/x-mp4;")||t.canPlayType("audio/mp4;")||t.canPlayType("audio/aac;")).replace(/^no$/,""),weba:!(c||!t.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),webm:!(c||!t.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),dolby:!!t.canPlayType('audio/mp4; codecs="ec-3"').replace(/^no$/,""),flac:!!(t.canPlayType("audio/x-flac;")||t.canPlayType("audio/flac;")).replace(/^no$/,"")},e},_unlockAudio:function(){var e=this||o;if(!e._audioUnlocked&&e.ctx){e._audioUnlocked=!1,e.autoUnlock=!1,e._mobileUnloaded||44100===e.ctx.sampleRate||(e._mobileUnloaded=!0,e.unload()),e._scratchBuffer=e.ctx.createBuffer(1,1,22050);var t=function(n){for(;e._html5AudioPool.length0?s._seek:n._sprite[e][0]/1e3),u=Math.max(0,(n._sprite[e][0]+n._sprite[e][1])/1e3-c),d=1e3*u/Math.abs(s._rate),p=n._sprite[e][0]/1e3,h=(n._sprite[e][0]+n._sprite[e][1])/1e3;s._sprite=e,s._ended=!1;var f=function(){s._paused=!1,s._seek=c,s._start=p,s._stop=h,s._loop=!(!s._loop&&!n._sprite[e][2])};if(!(c>=h)){var m=s._node;if(n._webAudio){var g=function(){n._playLock=!1,f(),n._refreshBuffer(s);var e=s._muted||n._muted?0:s._volume;m.gain.setValueAtTime(e,o.ctx.currentTime),s._playStart=o.ctx.currentTime,"undefined"===typeof m.bufferSource.start?s._loop?m.bufferSource.noteGrainOn(0,c,86400):m.bufferSource.noteGrainOn(0,c,u):s._loop?m.bufferSource.start(0,c,86400):m.bufferSource.start(0,c,u),d!==1/0&&(n._endTimers[s._id]=setTimeout(n._ended.bind(n,s),d)),t||setTimeout((function(){n._emit("play",s._id),n._loadQueue()}),0)};"running"===o.state&&"interrupted"!==o.ctx.state?g():(n._playLock=!0,n.once("resume",g),n._clearTimer(s._id))}else{var A=function(){m.currentTime=c,m.muted=s._muted||n._muted||o._muted||m.muted,m.volume=s._volume*o.volume(),m.playbackRate=s._rate;try{var r=m.play();if(r&&"undefined"!==typeof Promise&&(r instanceof Promise||"function"===typeof r.then)?(n._playLock=!0,f(),r.then((function(){n._playLock=!1,m._unlocked=!0,t?n._loadQueue():n._emit("play",s._id)})).catch((function(){n._playLock=!1,n._emit("playerror",s._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction."),s._ended=!0,s._paused=!0}))):t||(n._playLock=!1,f(),n._emit("play",s._id)),m.playbackRate=s._rate,m.paused)return void n._emit("playerror",s._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction.");"__default"!==e||s._loop?n._endTimers[s._id]=setTimeout(n._ended.bind(n,s),d):(n._endTimers[s._id]=function(){n._ended(s),m.removeEventListener("ended",n._endTimers[s._id],!1)},m.addEventListener("ended",n._endTimers[s._id],!1))}catch(i){n._emit("playerror",s._id,i)}};"data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA"===m.src&&(m.src=n._src,m.load());var v=window&&window.ejecta||!m.readyState&&o._navigator.isCocoonJS;if(m.readyState>=3||v)A();else{n._playLock=!0,n._state="loading";var y=function(){n._state="loaded",A(),m.removeEventListener(o._canPlayEvent,y,!1)};m.addEventListener(o._canPlayEvent,y,!1),n._clearTimer(s._id)}}return s._id}n._ended(s)},pause:function(e){var t=this;if("loaded"!==t._state||t._playLock)return t._queue.push({event:"pause",action:function(){t.pause(e)}}),t;for(var n=t._getSoundIds(e),r=0;r=0?t=parseInt(i[0],10):e=parseFloat(i[0]):i.length>=2&&(e=parseFloat(i[0]),t=parseInt(i[1],10)),!("undefined"!==typeof e&&e>=0&&e<=1))return(n=t?r._soundById(t):r._sounds[0])?n._volume:0;if("loaded"!==r._state||r._playLock)return r._queue.push({event:"volume",action:function(){r.volume.apply(r,i)}}),r;"undefined"===typeof t&&(r._volume=e),t=r._getSoundIds(t);for(var a=0;a0?r/c:r),d=Date.now();e._fadeTo=n,e._interval=setInterval((function(){var i=(Date.now()-d)/r;d=Date.now(),s+=l*i,s=Math.round(100*s)/100,s=l<0?Math.max(n,s):Math.min(n,s),a._webAudio?e._volume=s:a.volume(s,e._id,!0),o&&(a._volume=s),(nt&&s>=n)&&(clearInterval(e._interval),e._interval=null,e._fadeTo=null,a.volume(n,e._id),a._emit("fade",e._id))}),u)},_stopFade:function(e){var t=this,n=t._soundById(e);return n&&n._interval&&(t._webAudio&&n._node.gain.cancelScheduledValues(o.ctx.currentTime),clearInterval(n._interval),n._interval=null,t.volume(n._fadeTo,e),n._fadeTo=null,t._emit("fade",e)),t},loop:function(){var e,t,n,r=this,i=arguments;if(0===i.length)return r._loop;if(1===i.length){if("boolean"!==typeof i[0])return!!(n=r._soundById(parseInt(i[0],10)))&&n._loop;e=i[0],r._loop=e}else 2===i.length&&(e=i[0],t=parseInt(i[1],10));for(var o=r._getSoundIds(t),a=0;a=0?t=parseInt(i[0],10):e=parseFloat(i[0])}else 2===i.length&&(e=parseFloat(i[0]),t=parseInt(i[1],10));if("number"!==typeof e)return(n=r._soundById(t))?n._rate:r._rate;if("loaded"!==r._state||r._playLock)return r._queue.push({event:"rate",action:function(){r.rate.apply(r,i)}}),r;"undefined"===typeof t&&(r._rate=e),t=r._getSoundIds(t);for(var a=0;a=0?t=parseInt(r[0],10):n._sounds.length&&(t=n._sounds[0]._id,e=parseFloat(r[0]))}else 2===r.length&&(e=parseFloat(r[0]),t=parseInt(r[1],10));if("undefined"===typeof t)return 0;if("number"===typeof e&&("loaded"!==n._state||n._playLock))return n._queue.push({event:"seek",action:function(){n.seek.apply(n,r)}}),n;var i=n._soundById(t);if(i){if(!("number"===typeof e&&e>=0)){if(n._webAudio){var a=n.playing(t)?o.ctx.currentTime-i._playStart:0,s=i._rateSeek?i._rateSeek-i._seek:0;return i._seek+(s+a*Math.abs(i._rate))}return i._node.currentTime}var l=n.playing(t);l&&n.pause(t,!0),i._seek=e,i._ended=!1,n._clearTimer(t),n._webAudio||!i._node||isNaN(i._node.duration)||(i._node.currentTime=e);var c=function(){l&&n.play(t,!0),n._emit("seek",t)};if(l&&!n._webAudio){var u=function(){n._playLock?setTimeout(u,0):c()};setTimeout(u,0)}else c()}return n},playing:function(e){var t=this;if("number"===typeof e){var n=t._soundById(e);return!!n&&!n._paused}for(var r=0;r=0&&o._howls.splice(r,1);var i=!0;for(n=0;n=0){i=!1;break}return l&&i&&delete l[e._src],o.noAudio=!1,e._state="unloaded",e._sounds=[],e=null,null},on:function(e,t,n,r){var i=this["_on"+e];return"function"===typeof t&&i.push(r?{id:n,fn:t,once:r}:{id:n,fn:t}),this},off:function(e,t,n){var r=this,i=r["_on"+e],o=0;if("number"===typeof t&&(n=t,t=null),t||n)for(o=0;o=0;o--)i[o].id&&i[o].id!==t&&"load"!==e||(setTimeout(function(e){e.call(this,t,n)}.bind(r,i[o].fn),0),i[o].once&&r.off(e,i[o].fn,i[o].id));return r._loadQueue(e),r},_loadQueue:function(e){var t=this;if(t._queue.length>0){var n=t._queue[0];n.event===e&&(t._queue.shift(),t._loadQueue()),e||n.action()}return t},_ended:function(e){var t=this,n=e._sprite;if(!t._webAudio&&e._node&&!e._node.paused&&!e._node.ended&&e._node.currentTime=0;r--){if(n<=t)return;e._sounds[r]._ended&&(e._webAudio&&e._sounds[r]._node&&e._sounds[r]._node.disconnect(0),e._sounds.splice(r,1),n--)}}},_getSoundIds:function(e){if("undefined"===typeof e){for(var t=[],n=0;n=0;if(o._scratchBuffer&&e.bufferSource&&(e.bufferSource.onended=null,e.bufferSource.disconnect(0),t))try{e.bufferSource.buffer=o._scratchBuffer}catch(n){}return e.bufferSource=null,this},_clearSound:function(e){/MSIE |Trident\//.test(o._navigator&&o._navigator.userAgent)||(e.src="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA")}};var s=function(e){this._parent=e,this.init()};s.prototype={init:function(){var e=this,t=e._parent;return e._muted=t._muted,e._loop=t._loop,e._volume=t._volume,e._rate=t._rate,e._seek=0,e._paused=!0,e._ended=!0,e._sprite="__default",e._id=++o._counter,t._sounds.push(e),e.create(),e},create:function(){var e=this,t=e._parent,n=o._muted||e._muted||e._parent._muted?0:e._volume;return t._webAudio?(e._node="undefined"===typeof o.ctx.createGain?o.ctx.createGainNode():o.ctx.createGain(),e._node.gain.setValueAtTime(n,o.ctx.currentTime),e._node.paused=!0,e._node.connect(o.masterGain)):o.noAudio||(e._node=o._obtainHtml5Audio(),e._errorFn=e._errorListener.bind(e),e._node.addEventListener("error",e._errorFn,!1),e._loadFn=e._loadListener.bind(e),e._node.addEventListener(o._canPlayEvent,e._loadFn,!1),e._endFn=e._endListener.bind(e),e._node.addEventListener("ended",e._endFn,!1),e._node.src=t._src,e._node.preload=!0===t._preload?"auto":t._preload,e._node.volume=n*o.volume(),e._node.load()),e},reset:function(){var e=this,t=e._parent;return e._muted=t._muted,e._loop=t._loop,e._volume=t._volume,e._rate=t._rate,e._seek=0,e._rateSeek=0,e._paused=!0,e._ended=!0,e._sprite="__default",e._id=++o._counter,e},_errorListener:function(){var e=this;e._parent._emit("loaderror",e._id,e._node.error?e._node.error.code:0),e._node.removeEventListener("error",e._errorFn,!1)},_loadListener:function(){var e=this,t=e._parent;t._duration=Math.ceil(10*e._node.duration)/10,0===Object.keys(t._sprite).length&&(t._sprite={__default:[0,1e3*t._duration]}),"loaded"!==t._state&&(t._state="loaded",t._emit("load"),t._loadQueue()),e._node.removeEventListener(o._canPlayEvent,e._loadFn,!1)},_endListener:function(){var e=this,t=e._parent;t._duration===1/0&&(t._duration=Math.ceil(10*e._node.duration)/10,t._sprite.__default[1]===1/0&&(t._sprite.__default[1]=1e3*t._duration),t._ended(e)),e._node.removeEventListener("ended",e._endFn,!1)}};var l={},c=function(e){var t=e._src;if(l[t])return e._duration=l[t].duration,void p(e);if(/^data:[^;]+;base64,/.test(t)){for(var n=atob(t.split(",")[1]),r=new Uint8Array(n.length),i=0;i0?(l[t._src]=e,p(t,e)):n()};"undefined"!==typeof Promise&&1===o.ctx.decodeAudioData.length?o.ctx.decodeAudioData(e).then(r).catch(n):o.ctx.decodeAudioData(e,r,n)},p=function(e,t){t&&!e._duration&&(e._duration=t.duration),0===Object.keys(e._sprite).length&&(e._sprite={__default:[0,1e3*e._duration]}),"loaded"!==e._state&&(e._state="loaded",e._emit("load"),e._loadQueue())},h=function(){if(o.usingWebAudio){try{"undefined"!==typeof AudioContext?o.ctx=new AudioContext:"undefined"!==typeof webkitAudioContext?o.ctx=new webkitAudioContext:o.usingWebAudio=!1}catch(i){o.usingWebAudio=!1}o.ctx||(o.usingWebAudio=!1);var e=/iP(hone|od|ad)/.test(o._navigator&&o._navigator.platform),t=o._navigator&&o._navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/),n=t?parseInt(t[1],10):null;if(e&&n&&n<9){var r=/safari/.test(o._navigator&&o._navigator.userAgent.toLowerCase());o._navigator&&!r&&(o.usingWebAudio=!1)}o.usingWebAudio&&(o.masterGain="undefined"===typeof o.ctx.createGain?o.ctx.createGainNode():o.ctx.createGain(),o.masterGain.gain.setValueAtTime(o._muted?0:o._volume,o.ctx.currentTime),o.masterGain.connect(o.ctx.destination)),o._setup()}};void 0===(r=function(){return{Howler:o,Howl:a}}.apply(t,[]))||(e.exports=r),t.Howler=o,t.Howl=a,"undefined"!==typeof n.g?(n.g.HowlerGlobal=i,n.g.Howler=o,n.g.Howl=a,n.g.Sound=s):"undefined"!==typeof window&&(window.HowlerGlobal=i,window.Howler=o,window.Howl=a,window.Sound=s)}(),function(){"use strict";var e;HowlerGlobal.prototype._pos=[0,0,0],HowlerGlobal.prototype._orientation=[0,0,-1,0,1,0],HowlerGlobal.prototype.stereo=function(e){var t=this;if(!t.ctx||!t.ctx.listener)return t;for(var n=t._howls.length-1;n>=0;n--)t._howls[n].stereo(e);return t},HowlerGlobal.prototype.pos=function(e,t,n){var r=this;return r.ctx&&r.ctx.listener?(t="number"!==typeof t?r._pos[1]:t,n="number"!==typeof n?r._pos[2]:n,"number"!==typeof e?r._pos:(r._pos=[e,t,n],"undefined"!==typeof r.ctx.listener.positionX?(r.ctx.listener.positionX.setTargetAtTime(r._pos[0],Howler.ctx.currentTime,.1),r.ctx.listener.positionY.setTargetAtTime(r._pos[1],Howler.ctx.currentTime,.1),r.ctx.listener.positionZ.setTargetAtTime(r._pos[2],Howler.ctx.currentTime,.1)):r.ctx.listener.setPosition(r._pos[0],r._pos[1],r._pos[2]),r)):r},HowlerGlobal.prototype.orientation=function(e,t,n,r,i,o){var a=this;if(!a.ctx||!a.ctx.listener)return a;var s=a._orientation;return t="number"!==typeof t?s[1]:t,n="number"!==typeof n?s[2]:n,r="number"!==typeof r?s[3]:r,i="number"!==typeof i?s[4]:i,o="number"!==typeof o?s[5]:o,"number"!==typeof e?s:(a._orientation=[e,t,n,r,i,o],"undefined"!==typeof a.ctx.listener.forwardX?(a.ctx.listener.forwardX.setTargetAtTime(e,Howler.ctx.currentTime,.1),a.ctx.listener.forwardY.setTargetAtTime(t,Howler.ctx.currentTime,.1),a.ctx.listener.forwardZ.setTargetAtTime(n,Howler.ctx.currentTime,.1),a.ctx.listener.upX.setTargetAtTime(r,Howler.ctx.currentTime,.1),a.ctx.listener.upY.setTargetAtTime(i,Howler.ctx.currentTime,.1),a.ctx.listener.upZ.setTargetAtTime(o,Howler.ctx.currentTime,.1)):a.ctx.listener.setOrientation(e,t,n,r,i,o),a)},Howl.prototype.init=(e=Howl.prototype.init,function(t){var n=this;return n._orientation=t.orientation||[1,0,0],n._stereo=t.stereo||null,n._pos=t.pos||null,n._pannerAttr={coneInnerAngle:"undefined"!==typeof t.coneInnerAngle?t.coneInnerAngle:360,coneOuterAngle:"undefined"!==typeof t.coneOuterAngle?t.coneOuterAngle:360,coneOuterGain:"undefined"!==typeof t.coneOuterGain?t.coneOuterGain:0,distanceModel:"undefined"!==typeof t.distanceModel?t.distanceModel:"inverse",maxDistance:"undefined"!==typeof t.maxDistance?t.maxDistance:1e4,panningModel:"undefined"!==typeof t.panningModel?t.panningModel:"HRTF",refDistance:"undefined"!==typeof t.refDistance?t.refDistance:1,rolloffFactor:"undefined"!==typeof t.rolloffFactor?t.rolloffFactor:1},n._onstereo=t.onstereo?[{fn:t.onstereo}]:[],n._onpos=t.onpos?[{fn:t.onpos}]:[],n._onorientation=t.onorientation?[{fn:t.onorientation}]:[],e.call(this,t)}),Howl.prototype.stereo=function(e,n){var r=this;if(!r._webAudio)return r;if("loaded"!==r._state)return r._queue.push({event:"stereo",action:function(){r.stereo(e,n)}}),r;var i="undefined"===typeof Howler.ctx.createStereoPanner?"spatial":"stereo";if("undefined"===typeof n){if("number"!==typeof e)return r._stereo;r._stereo=e,r._pos=[e,0,0]}for(var o=r._getSoundIds(n),a=0;az,Kq:()=>U,PA:()=>j});var r=n(70377),i=n(62235),o=n(17588);if(!o.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!i.dE)throw new Error("mobx-react-lite requires mobx at least version 4 to be available");var a=!1;function s(){return a}var l=function(){return l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function u(e){return e.current?(0,i.yl)(e.current):""}var d=[];function p(){var e=c((0,o.useState)(0),2)[1];return(0,o.useCallback)((function(){e((function(e){return e+1}))}),[])}var h={};function f(e,t,n){if(void 0===t&&(t="observed"),void 0===n&&(n=h),s())return e();var r=(n.useForceUpdate||p)(),a=(0,o.useRef)(null);a.current||(a.current=new i.qT("observer("+t+")",(function(){r()})));var l,c,f=function(){a.current&&!a.current.isDisposed&&(a.current.dispose(),a.current=null)};if((0,o.useDebugValue)(a,u),function(e){(0,o.useEffect)((function(){return e}),d)}((function(){f()})),a.current.track((function(){try{l=e()}catch(t){c=t}})),c)throw f(),c;return l}function m(e,t){if(s())return e;var n,r,i,a=l({forwardRef:!1},t),c=e.displayName||e.name,u=function(t,n){return f((function(){return e(t,n)}),c)};return u.displayName=c,n=a.forwardRef?(0,o.memo)((0,o.forwardRef)(u)):(0,o.memo)(u),r=e,i=n,Object.keys(r).forEach((function(e){r.hasOwnProperty(e)&&!g[e]&&Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(r,e))})),n.displayName=c,n}var g={$$typeof:!0,render:!0,compare:!0,type:!0};function A(e){var t=e.children,n=e.render,r=t||n;return"function"!==typeof r?null:f(r)}function v(e,t,n,r,i){var o="children"===t?"render":"children",a="function"===typeof e[t],s="function"===typeof e[o];return a&&s?new Error("MobX Observer: Do not use children and render in the same time in`"+n):a||s?null:new Error("Invalid prop `"+i+"` of type `"+typeof e[t]+"` supplied to `"+n+"`, expected `function`.")}A.propTypes={children:v,render:v},A.displayName="Observer";var y=0,w={};function b(e){return w[e]||(w[e]=function(e){if("function"==typeof Symbol)return Symbol(e);var t="__$mobx-react "+e+" ("+y+")";return y++,t}(e)),w[e]}function _(e,t){if(x(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(var i=0;i0;)r[i]=arguments[i+2];t.locks++;try{var o;return null!=e&&(o=e.apply(this,r)),o}finally{t.locks--,0===t.locks&&t.methods.forEach((function(e){e.apply(n,r)}))}}function I(e,t){return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];T.call.apply(T,[this,e,t].concat(n))}}function k(e,t,n){var r=function(e,t){var n=e[C]=e[C]||{},r=n[t]=n[t]||{};return r.locks=r.locks||0,r.methods=r.methods||[],r}(e,t);r.methods.indexOf(n)<0&&r.methods.push(n);var i=Object.getOwnPropertyDescriptor(e,t);if(!i||!i[E]){var o=function e(t,n,r,i,o){var a,s=I(o,i);return(a={})[E]=!0,a.get=function(){return s},a.set=function(o){if(this===t)s=I(o,i);else{var a=e(this,n,r,i,o);Object.defineProperty(this,n,a)}},a.configurable=!0,a.enumerable=r,a}(e,t,i?i.enumerable:void 0,r,e[t]);Object.defineProperty(e,t,o)}}var O=i.BQ||"$mobx",P=b("isUnmounted"),M=b("skipRender"),B=b("isForcingUpdate");function D(e,t){return s()&&console.warn("[mobx-react] It seems that a re-rendering of a React component is triggered while in static (server-side) mode. Please make sure components are rendered only once server-side."),this.state!==t||!_(this.props,e)}function R(e,t){var n=b("reactProp_"+t+"_valueHolder"),r=b("reactProp_"+t+"_atomHolder");function o(){return this[r]||S(this,r,(0,i.MN)("reactive "+t)),this[r]}Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return o.call(this).reportObserved(),this[n]},set:function(e){this[B]||_(this[n],e)?S(this,n,e):(S(this,n,e),S(this,M,!0),o.call(this).reportChanged(),S(this,M,!1))}})}var L="function"==typeof Symbol&&Symbol.for,F=L?Symbol.for("react.forward_ref"):"function"==typeof o.forwardRef&&(0,o.forwardRef)((function(){})).$$typeof,N=L?Symbol.for("react.memo"):"function"==typeof o.memo&&(0,o.memo)((function(){})).$$typeof;function j(e){if(!0===e.isMobxInjector&&console.warn("Mobx observer: You are trying to use 'observer' on a component that already has 'inject'. Please apply 'observer' before applying 'inject'"),N&&e.$$typeof===N)throw new Error("Mobx observer: You are trying to use 'observer' on function component wrapped to either another observer or 'React.memo'. The observer already applies 'React.memo' for you.");if(F&&e.$$typeof===F){var t=e.render;if("function"!=typeof t)throw new Error("render property of ForwardRef was not a function");return(0,o.forwardRef)((function(){var e=arguments;return o.createElement(A,null,(function(){return t.apply(void 0,e)}))}))}return"function"!=typeof e||e.prototype&&e.prototype.render||e.isReactClass||Object.prototype.isPrototypeOf.call(o.Component,e)?function(e){var t=e.prototype;if(t.componentWillReact)throw new Error("The componentWillReact life-cycle event is no longer supported");if(e.__proto__!==o.PureComponent)if(t.shouldComponentUpdate){if(t.shouldComponentUpdate!==D)throw new Error("It is not allowed to use shouldComponentUpdate in observer based components.")}else t.shouldComponentUpdate=D;R(t,"props"),R(t,"state");var n=t.render;return t.render=function(){return function(e){var t=this;if(!0===s())return e.call(this);S(this,M,!1),S(this,B,!1);var n=this.displayName||this.name||this.constructor&&(this.constructor.displayName||this.constructor.name)||"",r=e.bind(this),a=!1,l=new i.qT(n+".render()",(function(){if(!a&&(a=!0,!0!==t[P])){var e=!0;try{S(t,B,!0),t[M]||o.Component.prototype.forceUpdate.call(t),e=!1}finally{S(t,B,!1),e&&l.dispose()}}}));function c(){a=!1;var e=void 0,t=void 0;if(l.track((function(){try{t=(0,i.vx)(!1,r)}catch(t){e=t}})),e)throw e;return t}return l.reactComponent=this,c[O]=l,this.render=c,c.call(this)}.call(this,n)},k(t,"componentWillUnmount",(function(){!0!==s()&&(this.render[O]&&this.render[O].dispose(),this[P]=!0)})),e}(e):m(e)}var z=o.createContext({});function U(e){var t=e.children,n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}(e,["children"]),r=o.useContext(z),i=o.useRef(Object.assign({},r,n)).current;return o.createElement(z.Provider,{value:i},t)}U.displayName="MobXProvider";b("disposeOnUnmountProto"),b("disposeOnUnmountInst");function H(e){function t(t,n,r,o,a,s){for(var l=[],c=arguments.length-6;c-- >0;)l[c]=arguments[c+6];return(0,i.O8)((function(){return o=o||"<>",s=s||r,null==n[r]?t?new Error("The "+a+" `"+s+"` is marked as required in `"+o+"`, but its value is `"+(null===n[r]?"null":"undefined")+"`."):null:e.apply(void 0,[n,r,o,a,s].concat(l))}))}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function V(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||"Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol}(t,e)?"symbol":t}function G(e,t){return H((function(n,r,o,a,s){return(0,i.O8)((function(){if(e&&V(n[r])===t.toLowerCase())return null;var a;switch(t){case"Array":a=i.Fq;break;case"Object":a=i.OB;break;case"Map":a=i.uz;break;default:throw new Error("Unexpected mobxType: "+t)}var l=n[r];if(!a(l)){var c=function(e){var t=V(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}(l),u=e?" or javascript `"+t.toLowerCase()+"`":"";return new Error("Invalid prop `"+s+"` of type `"+c+"` supplied to `"+o+"`, expected `mobx.Observable"+t+"`"+u+".")}return null}))}))}function $(e,t){return H((function(n,r,o,a,s){for(var l=[],c=arguments.length-5;c-- >0;)l[c]=arguments[c+5];return(0,i.O8)((function(){if("function"!=typeof t)return new Error("Property `"+s+"` of component `"+o+"` has invalid PropType notation.");var i=G(e,"Array")(n,r,o);if(i instanceof Error)return i;for(var c=n[r],u=0;ug,gK:()=>Mt,wg:()=>v});var r,i=n(62235),o="warn";function a(){return o}!function(e){e.afterCreate="afterCreate",e.afterAttach="afterAttach",e.afterCreationFinalization="afterCreationFinalization",e.beforeDetach="beforeDetach",e.beforeDestroy="beforeDestroy"}(r||(r={}));var s=function(e,t){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},s(e,t)};function l(e,t){function n(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var c=function(){return c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function d(e){var t="function"===typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function p(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function h(){for(var e=[],t=0;t";return this.type.name+"@"+e+(this.isAlive?"":" [dead]")},t.prototype.die=function(){this.isAlive&&this.state!==Q.DETACHING&&(this.aboutToDie(),this.finalizeDeath())},t.prototype.finalizeCreation=function(){this.baseFinalizeCreation()},t.prototype.aboutToDie=function(){this.baseAboutToDie()},t.prototype.finalizeDeath=function(){this.baseFinalizeDeath()},t.prototype.fireHook=function(e){this.fireInternalHook(e)},u([i.XI],t.prototype,"die",null),t}(w),_=1,x={onError:function(e){throw e}},S=function(e){function t(t,n,r,i,o){var a=e.call(this,t,n,r,i)||this;if(a.nodeId=++_,a.isProtectionEnabled=!0,a._autoUnbox=!0,a._isRunningAction=!1,a._hasSnapshotReaction=!1,a._observableInstanceState=0,a._cachedInitialSnapshotCreated=!1,a.unbox=a.unbox.bind(a),a._initialSnapshot=me(o),a.identifierAttribute=t.identifierAttribute,n||(a.identifierCache=new K),a._childNodes=t.initializeChildNodes(a,a._initialSnapshot),a.identifier=null,a.unnormalizedIdentifier=null,a.identifierAttribute&&a._initialSnapshot){var s=a._initialSnapshot[a.identifierAttribute];if(void 0===s){var l=a._childNodes[a.identifierAttribute];l&&(s=l.value)}if("string"!==typeof s&&"number"!==typeof s)throw se("Instance identifier '"+a.identifierAttribute+"' for type '"+a.type.name+"' must be a string or a number");a.identifier=kt(s),a.unnormalizedIdentifier=s}return n?n.root.identifierCache.addNodeToCache(a):a.identifierCache.addNodeToCache(a),a}return l(t,e),t.prototype.applyPatches=function(e){this.createObservableInstanceIfNeeded(),this._applyPatches(e)},t.prototype.applySnapshot=function(e){this.createObservableInstanceIfNeeded(),this._applySnapshot(e)},t.prototype.createObservableInstanceIfNeeded=function(){var e,t;if(0===this._observableInstanceState){0,this._observableInstanceState=1;for(var n=[],o=this.parent;o&&0===o._observableInstanceState;)n.unshift(o),o=o.parent;try{for(var a=d(n),s=a.next();!s.done;s=a.next()){s.value.createObservableInstanceIfNeeded()}}catch(p){e={error:p}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}var l,c,u=this.type;try{this.storedValue=u.createNewInstance(this._childNodes),this.preboot(),this._isRunningAction=!0,u.finalizeNewInstance(this,this.storedValue)}catch(h){throw this.state=Q.DEAD,h}finally{this._isRunningAction=!1}this._observableInstanceState=2,l=this,c="snapshot",(0,i.go)(l,c).trackAndCompute(),this.isRoot&&this._addSnapshotReaction(),this._childNodes=oe,this.state=Q.CREATED,this.fireHook(r.afterCreate),this.finalizeCreation()}},Object.defineProperty(t.prototype,"root",{get:function(){var e=this.parent;return e?e.root:this},enumerable:!0,configurable:!0}),t.prototype.clearParent=function(){if(this.parent){this.fireHook(r.beforeDetach);var e=this.state;this.state=Q.DETACHING;var t=this.root,n=t.environment,i=t.identifierCache.splitCache(this);try{this.parent.removeChild(this.subpath),this.baseSetParent(null,""),this.environment=n,this.identifierCache=i}finally{this.state=e}}},t.prototype.setParent=function(e,t){var n=e!==this.parent,i=t!==this.subpath;(n||i)&&(n?(this.environment=void 0,e.root.identifierCache.mergeCache(this),this.baseSetParent(e,t),this.fireHook(r.afterAttach)):i&&this.baseSetParent(this.parent,t))},t.prototype.fireHook=function(e){var t=this;this.fireInternalHook(e);var n=this.storedValue&&"object"===typeof this.storedValue&&this.storedValue[e];"function"===typeof n&&(i._t?(0,i._t)((function(){n.apply(t.storedValue)})):n.apply(this.storedValue))},Object.defineProperty(t.prototype,"snapshot",{get:function(){return me(this.getSnapshot())},enumerable:!0,configurable:!0}),t.prototype.getSnapshot=function(){return this.isAlive?2===this._observableInstanceState?this._getActualSnapshot():this._getCachedInitialSnapshot():this._snapshotUponDeath},t.prototype._getActualSnapshot=function(){return this.type.getSnapshot(this)},t.prototype._getCachedInitialSnapshot=function(){if(!this._cachedInitialSnapshotCreated){var e=this.type,t=this._childNodes,n=this._initialSnapshot;this._cachedInitialSnapshot=e.processInitialSnapshot(t,n),this._cachedInitialSnapshotCreated=!0}return this._cachedInitialSnapshot},t.prototype.isRunningAction=function(){return!!this._isRunningAction||!this.isRoot&&this.parent.isRunningAction()},t.prototype.assertAlive=function(e){var t=a();if(!this.isAlive&&"ignore"!==t){var n=this._getAssertAliveError(e);switch(t){case"error":throw se(n);case"warn":_e(n)}}},t.prototype._getAssertAliveError=function(e){var t=this.getEscapedPath(!1)||this.pathUponDeath||"",n=e.subpath&&Ie(e.subpath)||"",r=e.actionContext||B();r&&"action"!==r.type&&r.parentActionEvent&&(r=r.parentActionEvent);var i,o="";r&&null!=r.name&&(o=(r&&r.context&&(Z(i=r.context,1),J(i).path)||t)+"."+r.name+"()");return"You are trying to read or write to an object that is no longer part of a state tree. (Object type: '"+this.type.name+"', Path upon death: '"+t+"', Subpath: '"+n+"', Action: '"+o+"'). Either detach nodes first, or don't use objects after removing / replacing them in the tree."},t.prototype.getChildNode=function(e){this.assertAlive({subpath:e}),this._autoUnbox=!1;try{return 2===this._observableInstanceState?this.type.getChildNode(this,e):this._childNodes[e]}finally{this._autoUnbox=!0}},t.prototype.getChildren=function(){this.assertAlive(oe),this._autoUnbox=!1;try{return 2===this._observableInstanceState?this.type.getChildren(this):re(this._childNodes)}finally{this._autoUnbox=!0}},t.prototype.getChildType=function(e){return this.type.getChildType(e)},Object.defineProperty(t.prototype,"isProtected",{get:function(){return this.root.isProtectionEnabled},enumerable:!0,configurable:!0}),t.prototype.assertWritable=function(e){if(this.assertAlive(e),!this.isRunningAction()&&this.isProtected)throw se("Cannot modify '"+this+"', the object is protected and can only be modified by using an action.")},t.prototype.removeChild=function(e){this.type.removeChild(this,e)},t.prototype.unbox=function(e){return e?(this.assertAlive({subpath:e.subpath||e.subpathUponDeath}),this._autoUnbox?e.value:e):e},t.prototype.toString=function(){var e=(this.isAlive?this.path:this.pathUponDeath)||"",t=this.identifier?"(id: "+this.identifier+")":"";return this.type.name+"@"+e+t+(this.isAlive?"":" [dead]")},t.prototype.finalizeCreation=function(){var e=this;this.baseFinalizeCreation((function(){var t,n;try{for(var i=d(e.getChildren()),o=i.next();!o.done;o=i.next()){o.value.finalizeCreation()}}catch(a){t={error:a}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}e.fireInternalHook(r.afterCreationFinalization)}))},t.prototype.detach=function(){if(!this.isAlive)throw se("Error while detaching, node is not alive.");this.clearParent()},t.prototype.preboot=function(){var e=this;this._applyPatches=F(this.storedValue,"@APPLY_PATCHES",(function(t){t.forEach((function(t){var n=Pe(t.path);ne(e,n.slice(0,-1)).applyPatchLocally(n[n.length-1],t)}))})),this._applySnapshot=F(this.storedValue,"@APPLY_SNAPSHOT",(function(t){if(t!==e.snapshot)return e.type.applySnapshot(e,t)})),ge(this.storedValue,"$treenode",this),ge(this.storedValue,"toJSON",te)},t.prototype.die=function(){this.isAlive&&this.state!==Q.DETACHING&&(this.aboutToDie(),this.finalizeDeath())},t.prototype.aboutToDie=function(){0!==this._observableInstanceState&&(this.getChildren().forEach((function(e){e.aboutToDie()})),this.baseAboutToDie(),this._internalEventsEmit("dispose"),this._internalEventsClear("dispose"))},t.prototype.finalizeDeath=function(){this.getChildren().forEach((function(e){e.finalizeDeath()})),this.root.identifierCache.notifyDied(this);var e=this.snapshot;this._snapshotUponDeath=e,this._internalEventsClearAll(),this.baseFinalizeDeath()},t.prototype.onSnapshot=function(e){return this._addSnapshotReaction(),this._internalEventsRegister("snapshot",e)},t.prototype.emitSnapshot=function(e){this._internalEventsEmit("snapshot",e)},t.prototype.onPatch=function(e){return this._internalEventsRegister("patch",e)},t.prototype.emitPatch=function(e,t){if(this._internalEventsHasSubscribers("patch")){var n=function(e){for(var t=[],n=1;n=0&&this.middlewares.splice(t,1)}},t.prototype.addMiddleWare=function(e,t){var n=this;void 0===t&&(t=!0);var r={handler:e,includeHooks:t};return this.middlewares?this.middlewares.push(r):this.middlewares=[r],function(){n.removeMiddleware(r)}},t.prototype.applyPatchLocally=function(e,t){this.assertWritable({subpath:e}),this.createObservableInstanceIfNeeded(),this.type.applyPatchLocally(this,e,t)},t.prototype._addSnapshotReaction=function(){var e=this;if(!this._hasSnapshotReaction){var t=(0,i.mJ)((function(){return e.snapshot}),(function(t){return e.emitSnapshot(t)}),x);this.addDisposer(t),this._hasSnapshotReaction=!0}},t.prototype._internalEventsHasSubscribers=function(e){return!!this._internalEvents&&this._internalEvents.hasSubscribers(e)},t.prototype._internalEventsRegister=function(e,t,n){return void 0===n&&(n=!1),this._internalEvents||(this._internalEvents=new ve),this._internalEvents.register(e,t,n)},t.prototype._internalEventsHas=function(e,t){return!!this._internalEvents&&this._internalEvents.has(e,t)},t.prototype._internalEventsUnregister=function(e,t){this._internalEvents&&this._internalEvents.unregister(e,t)},t.prototype._internalEventsEmit=function(e){for(var t,n=[],r=1;r0},enumerable:!0,configurable:!0})}();var P,M=1;function B(){return P}function D(){return M++}function R(e,t){var n=J(e.context);"action"===e.type&&n.assertAlive({actionContext:e});var o=n._isRunningAction;n._isRunningAction=!0;var a=P;P=e;try{return function(e,t,n){var o=new N(e,n);if(o.isEmpty)return(0,i.XI)(n).apply(null,t.args);var a=null;function s(e){var t=o.getNextMiddleware(),l=t&&t.handler;if(!l)return(0,i.XI)(n).apply(null,e.args);if(!t.includeHooks&&r[e.name])return s(e);function c(e,t){a=s(e),t&&(a=t(a))}function u(e){a=e}return l(e,c,u),a}return s(t)}(n,e,t)}finally{P=a,n._isRunningAction=o}}function L(e){if(e)return"action"===e.type?e:e.parentActionEvent}function F(e,t,n){var r=function(){var r=D(),i=P,o=L(i);return R({type:"action",name:t,id:r,args:ye(arguments),context:e,tree:A(e),rootId:i?i.rootId:r,parentId:i?i.id:0,allParentIds:i?h(i.allParentIds,[i.id]):[],parentEvent:i,parentActionEvent:o},n)};return r._isMSTAction=!0,r}var N=function(){function e(e,t){this.arrayIndex=0,this.inArrayIndex=0,this.middlewares=[],t.$mst_middleware&&this.middlewares.push(t.$mst_middleware);for(var n=e;n;)n.middlewares&&this.middlewares.push(n.middlewares),n=n.parent}return Object.defineProperty(e.prototype,"isEmpty",{get:function(){return this.middlewares.length<=0},enumerable:!0,configurable:!0}),e.prototype.getNextMiddleware=function(){var e=this.middlewares[this.arrayIndex];if(e){var t=e[this.inArrayIndex++];return t||(this.arrayIndex++,this.inArrayIndex=0,this.getNextMiddleware())}},e}();function j(e){return"function"===typeof e?"":Y(e)?"<"+e+">":"`"+function(e){try{return JSON.stringify(e)}catch(t){return""}}(e)+"`"}function z(e){var t=e.value,n=e.context[e.context.length-1].type,r=e.context.map((function(e){return e.path})).filter((function(e){return e.length>0})).join("/"),i=r.length>0?'at path "/'+r+'" ':"",o=Y(t)?"value of type "+J(t).type.name+":":fe(t)?"value":"snapshot",a=n&&Y(t)&&n.is(J(t).snapshot);return""+i+o+" "+j(t)+" is not assignable "+(n?"to type: `"+n.name+"`":"")+(e.message?" ("+e.message+")":"")+(n?function(e){return k(e)&&(e.flags&(y.String|y.Number|y.Integer|y.Boolean|y.Date))>0}(n)||fe(t)?".":", expected an instance of `"+n.name+"` or a snapshot like `"+n.describe()+"` instead."+(a?" (Note that a snapshot of the provided value is compatible with the targeted type)":""):".")}function U(e,t,n){return e.concat([{path:t,type:n}])}function H(){return ie}function V(e,t,n){return[{context:e,value:t,message:n}]}function G(e){return e.reduce((function(e,t){return e.concat(t)}),[])}function $(e,t){"undefined"!==typeof process&&"true"==={NODE_ENV:"production",PUBLIC_URL:"https://statics-view.genially.com/view",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_BRANCH_NAME:"3cfeaaf37a7eb45fd78dfe33bac32cab617588a5",REACT_APP_ENV:"production",REACT_APP_VERSION:"0.0.1"}.ENABLE_TYPE_CHECK&&function(e,t){var n=e.validate(t,[{path:"",type:e}]);if(n.length>0)throw se(function(e,t,n){if(0===n.length)return;return"Error while converting "+(r=j(t),(r.length<280?r:r.substring(0,272)+"......"+r.substring(r.length-8))+" to `")+e.name+"`:\n\n "+n.map(z).join("\n ");var r}(e,t,n))}(e,t)}var Q,W=0,K=function(){function e(){this.cacheId=W++,this.cache=i.sH.map(),this.lastCacheModificationPerId=i.sH.map()}return e.prototype.updateLastCacheModificationPerId=function(e){var t=this.lastCacheModificationPerId.get(e);this.lastCacheModificationPerId.set(e,void 0===t?1:t+1)},e.prototype.getLastCacheModificationPerId=function(e){var t=this.lastCacheModificationPerId.get(e)||0;return this.cacheId+"-"+t},e.prototype.addNodeToCache=function(e,t){if(void 0===t&&(t=!0),e.identifierAttribute){var n=e.identifier;this.cache.has(n)||this.cache.set(n,i.sH.array([],ae));var r=this.cache.get(n);if(-1!==r.indexOf(e))throw se("Already registered");r.push(e),t&&this.updateLastCacheModificationPerId(n)}},e.prototype.mergeCache=function(e){var t=this;(0,i.zu)(e.identifierCache.cache).forEach((function(e){return e.forEach((function(e){t.addNodeToCache(e)}))}))},e.prototype.notifyDied=function(e){if(e.identifierAttribute){var t=e.identifier,n=this.cache.get(t);n&&(n.remove(e),n.length||this.cache.delete(t),this.updateLastCacheModificationPerId(e.identifier))}},e.prototype.splitCache=function(t){var n=this,r=new e,o=t.path;return(0,i.jO)(this.cache).forEach((function(e){for(var t=p(e,2),i=t[0],a=t[1],s=!1,l=a.length-1;l>=0;l--)0===a[l].path.indexOf(o)&&(r.addNodeToCache(a[l],!1),a.splice(l,1),s=!0);s&&n.updateLastCacheModificationPerId(i)})),r},e.prototype.has=function(e,t){var n=this.cache.get(t);return!!n&&n.some((function(t){return e.isAssignableFrom(t.type)}))},e.prototype.resolve=function(e,t){var n=this.cache.get(t);if(!n)return null;var r=n.filter((function(t){return e.isAssignableFrom(t.type)}));switch(r.length){case 0:return null;case 1:return r[0];default:throw se("Cannot resolve a reference to type '"+e.name+"' with id: '"+t+"' unambigously, there are multiple candidates: "+r.map((function(e){return e.path})).join(", "))}},e}();function q(e,t,n,r,i){var o=ee(i);if(o){if(o.parent)throw se("Cannot add an object to a state tree if it is already part of the same or another state tree. Tried to assign an object to '"+(t?t.path:"")+"/"+n+"', but it lives already at '"+o.path+"'");return t&&o.setParent(t,n),o}return new S(e,t,n,r,i)}function X(e,t,n,r,i){return new b(e,t,n,r,i)}function Y(e){return!(!e||!e.$treenode)}function Z(e,t){xe(e,Y,"mobx-state-tree node",t)}function J(e){if(!Y(e))throw se("Value "+e+" is no MST Node");return e.$treenode}function ee(e){return e&&e.$treenode||null}function te(){return J(this).snapshot}!function(e){e[e.INITIALIZING=0]="INITIALIZING",e[e.CREATED=1]="CREATED",e[e.FINALIZED=2]="FINALIZED",e[e.DETACHING=3]="DETACHING",e[e.DEAD=4]="DEAD"}(Q||(Q={}));function ne(e,t,n){void 0===n&&(n=!0);for(var r=e,i=0;i0},enumerable:!0,configurable:!0}),e.prototype.register=function(e,t){var n=this;return void 0===t&&(t=!1),t?this.handlers.unshift(e):this.handlers.push(e),function(){n.unregister(e)}},e.prototype.has=function(e){return this.handlers.indexOf(e)>=0},e.prototype.unregister=function(e){var t=this.handlers.indexOf(e);t>=0&&this.handlers.splice(t,1)},e.prototype.clear=function(){this.handlers.length=0},e.prototype.emit=function(){for(var e=[],t=0;t0?this.hookInitializers.concat(e):[e];return new t(this.name,this._subType,n)},t.prototype.instantiate=function(e,t,n,r){return this._determineIdentifierMode(),q(this,e,t,n,r)},t.prototype._determineIdentifierMode=function(){if(this.identifierMode===Be.UNKNOWN){var e=[];if(Re(this._subType,e)){var t=void 0;e.forEach((function(e){if(e.identifierAttribute){if(t&&t!==e.identifierAttribute)throw se("The objects in a map should all have the same identifier attribute, expected '"+t+"', but child of type '"+e.name+"' declared attribute '"+e.identifierAttribute+"' as identifier");t=e.identifierAttribute}})),t?(this.identifierMode=Be.YES,this.mapIdentifierAttribute=t):this.identifierMode=Be.NO}}},t.prototype.initializeChildNodes=function(e,t){void 0===t&&(t={});var n=e.type._subType,r={};return Object.keys(t).forEach((function(i){r[i]=n.instantiate(e,i,void 0,t[i])})),r},t.prototype.createNewInstance=function(e){return new Le(e)},t.prototype.finalizeNewInstance=function(e,t){(0,i.pA)(t,e.unbox),e.type.hookInitializers.forEach((function(e){var n=e(t);Object.keys(n).forEach((function(e){var r=n[e],i=F(t,e,r);ge(t,e,i)}))})),(0,i.Zc)(t,this.willChange),(0,i.lB)(t,this.didChange)},t.prototype.describe=function(){return"Map"},t.prototype.getChildren=function(e){return(0,i.zu)(e.storedValue)},t.prototype.getChildNode=function(e,t){var n=e.storedValue.get(""+t);if(!n)throw se("Not a child "+t);return n},t.prototype.willChange=function(e){var t=J(e.object),n=e.name;t.assertWritable({subpath:n});var r=t.type,i=r._subType;switch(e.type){case"update":var o=e.newValue;if(o===e.object.get(n))return null;$(i,o),e.newValue=i.reconcile(t.getChildNode(n),e.newValue,t,n),r.processIdentifier(n,e.newValue);break;case"add":$(i,e.newValue),e.newValue=i.instantiate(t,n,void 0,e.newValue),r.processIdentifier(n,e.newValue)}return e},t.prototype.processIdentifier=function(e,t){if(this.identifierMode===Be.YES&&t instanceof S){var n=t.identifier;if(n!==e)throw se("A map of objects containing an identifier should always store the object under their own identifier. Trying to store key '"+n+"', but expected: '"+e+"'")}},t.prototype.getSnapshot=function(e){var t={};return e.getChildren().forEach((function(e){t[e.subpath]=e.snapshot})),t},t.prototype.processInitialSnapshot=function(e){var t={};return Object.keys(e).forEach((function(n){t[n]=e[n].getSnapshot()})),t},t.prototype.didChange=function(e){var t=J(e.object);switch(e.type){case"update":return void t.emitPatch({op:"replace",path:Ie(e.name),value:e.newValue.snapshot,oldValue:e.oldValue?e.oldValue.snapshot:void 0},t);case"add":return void t.emitPatch({op:"add",path:Ie(e.name),value:e.newValue.snapshot,oldValue:void 0},t);case"delete":var n=e.oldValue.snapshot;return e.oldValue.die(),void t.emitPatch({op:"remove",path:Ie(e.name),oldValue:n},t)}},t.prototype.applyPatchLocally=function(e,t,n){var r=e.storedValue;switch(n.op){case"add":case"replace":r.set(t,n.value);break;case"remove":r.delete(t)}},t.prototype.applySnapshot=function(e,t){$(this,t);var n=e.storedValue,r={};if(Array.from(n.keys()).forEach((function(e){r[e]=!1})),t)for(var i in t)n.set(i,t[i]),r[""+i]=!0;Object.keys(r).forEach((function(e){!1===r[e]&&n.delete(e)}))},t.prototype.getChildType=function(){return this._subType},t.prototype.isValidSnapshot=function(e,t){var n=this;return pe(e)?G(Object.keys(e).map((function(r){return n._subType.validate(e[r],U(t,r,n._subType))}))):V(t,e,"Value is not a plain object")},t.prototype.getDefaultSnapshot=function(){return oe},t.prototype.removeChild=function(e,t){e.storedValue.delete(t)},u([i.XI],t.prototype,"applySnapshot",null),t}(T);var Ne=function(e){function t(t,n,r){void 0===r&&(r=[]);var i=e.call(this,t)||this;return i._subType=n,i.flags=y.Array,i.hookInitializers=[],i.hookInitializers=r,i}return l(t,e),t.prototype.hooks=function(e){var n=this.hookInitializers.length>0?this.hookInitializers.concat(e):[e];return new t(this.name,this._subType,n)},t.prototype.instantiate=function(e,t,n,r){return q(this,e,t,n,r)},t.prototype.initializeChildNodes=function(e,t){void 0===t&&(t=[]);var n=e.type._subType,r={};return t.forEach((function(t,i){var o=""+i;r[o]=n.instantiate(e,o,void 0,t)})),r},t.prototype.createNewInstance=function(e){return i.sH.array(re(e),ae)},t.prototype.finalizeNewInstance=function(e,t){(0,i.Mr)(t).dehancer=e.unbox,e.type.hookInitializers.forEach((function(e){var n=e(t);Object.keys(n).forEach((function(e){var r=n[e],i=F(t,e,r);ge(t,e,i)}))})),(0,i.Zc)(t,this.willChange),(0,i.lB)(t,this.didChange)},t.prototype.describe=function(){return this._subType.describe()+"[]"},t.prototype.getChildren=function(e){return e.storedValue.slice()},t.prototype.getChildNode=function(e,t){var n=Number(t);if(n=0;n--)t.emitPatch({op:"remove",path:""+(e.index+n),oldValue:e.removed[n].snapshot},t);for(n=0;n0}var qe=function(e){function t(t,n,r,i){void 0===i&&(i=le);var o=e.call(this,t)||this;return o.flags=n,o.checker=r,o.initializer=i,o.flags=n,o}return l(t,e),t.prototype.describe=function(){return this.name},t.prototype.instantiate=function(e,t,n,r){return X(this,e,t,n,r)},t.prototype.createNewInstance=function(e){return this.initializer(e)},t.prototype.isValidSnapshot=function(e,t){return fe(e)&&this.checker(e)?H():V(t,e,"Value is not a "+("Date"===this.name?"Date or a unix milliseconds timestamp":this.name))},t}(I),Xe=new qe("string",y.String,(function(e){return"string"===typeof e})),Ye=new qe("number",y.Number,(function(e){return"number"===typeof e})),Ze=new qe("integer",y.Integer,(function(e){return ce(e)})),Je=new qe("boolean",y.Boolean,(function(e){return"boolean"===typeof e})),et=new qe("null",y.Null,(function(e){return null===e})),tt=new qe("undefined",y.Undefined,(function(e){return void 0===e})),nt=new qe("Date",y.Date,(function(e){return"number"===typeof e||e instanceof Date}),(function(e){return e instanceof Date?e:new Date(e)}));nt.getSnapshot=function(e){return e.storedValue.getTime()};var rt=nt;var it=function(e){function t(t){var n=e.call(this,JSON.stringify(t))||this;return n.flags=y.Literal,n.value=t,n}return l(t,e),t.prototype.instantiate=function(e,t,n,r){return X(this,e,t,n,r)},t.prototype.describe=function(){return JSON.stringify(this.value)},t.prototype.isValidSnapshot=function(e,t){return fe(e)&&e===this.value?H():V(t,e,"Value is not a literal "+JSON.stringify(this.value))},t}(I);function ot(e){return xe(),new it(e)}var at=function(e){function t(t,n,r,i){var o=e.call(this,t)||this;return o._subtype=n,o._predicate=r,o._message=i,o}return l(t,e),Object.defineProperty(t.prototype,"flags",{get:function(){return this._subtype.flags|y.Refinement},enumerable:!0,configurable:!0}),t.prototype.describe=function(){return this.name},t.prototype.instantiate=function(e,t,n,r){return this._subtype.instantiate(e,t,n,r)},t.prototype.isAssignableFrom=function(e){return this._subtype.isAssignableFrom(e)},t.prototype.isValidSnapshot=function(e,t){var n=this._subtype.validate(e,t);if(n.length>0)return n;var r=Y(e)?J(e).snapshot:e;return this._predicate(r)?H():V(t,e,this._message(e))},t.prototype.reconcile=function(e,t,n,r){return this._subtype.reconcile(e,t,n,r)},t.prototype.getSubTypes=function(){return this._subtype},t}(E);var st=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i._types=n,i._eager=!0,r=c({eager:!0,dispatcher:void 0},r),i._dispatcher=r.dispatcher,r.eager||(i._eager=!1),i}return l(t,e),Object.defineProperty(t.prototype,"flags",{get:function(){var e=y.Union;return this._types.forEach((function(t){e|=t.flags})),e},enumerable:!0,configurable:!0}),t.prototype.isAssignableFrom=function(e){return this._types.some((function(t){return t.isAssignableFrom(e)}))},t.prototype.describe=function(){return"("+this._types.map((function(e){return e.describe()})).join(" | ")+")"},t.prototype.instantiate=function(e,t,n,r){var i=this.determineType(r,void 0);if(!i)throw se("No matching type for union "+this.describe());return i.instantiate(e,t,n,r)},t.prototype.reconcile=function(e,t,n,r){var i=this.determineType(t,e.type);if(!i)throw se("No matching type for union "+this.describe());return i.reconcile(e,t,n,r)},t.prototype.determineType=function(e,t){return this._dispatcher?this._dispatcher(e):t?t.is(e)?t:this._types.filter((function(e){return e!==t})).find((function(t){return t.is(e)})):this._types.find((function(t){return t.is(e)}))},t.prototype.isValidSnapshot=function(e,t){if(this._dispatcher)return this._dispatcher(e).validate(e,t);for(var n=[],r=0,i=0;i=0){var i=this.getDefaultInstanceOrSnapshot();return this._subtype.instantiate(e,t,n,i)}return this._subtype.instantiate(e,t,n,r)},t.prototype.reconcile=function(e,t,n,r){return this._subtype.reconcile(e,this.optionalValues.indexOf(t)<0&&this._subtype.is(t)?t:this.getDefaultInstanceOrSnapshot(),n,r)},t.prototype.getDefaultInstanceOrSnapshot=function(){var e="function"===typeof this._defaultValue?this._defaultValue():this._defaultValue;return"function"===typeof this._defaultValue&&$(this,e),e},t.prototype.isValidSnapshot=function(e,t){return this.optionalValues.indexOf(e)>=0?H():this._subtype.validate(e,t)},t.prototype.isAssignableFrom=function(e){return this._subtype.isAssignableFrom(e)},t.prototype.getSubTypes=function(){return this._subtype},t}(E);function ut(e,t,n){return function(e,t){if("function"!==typeof t&&Y(t))throw se("default value cannot be an instance, pass a snapshot or a function that creates an instance/snapshot instead");O(e,1)}(e,t),new ct(e,t,n||dt)}var dt=[void 0];var pt=ut(tt,void 0),ht=ut(et,null);function ft(e){return O(e,1),lt(e,pt)}var mt=function(e){function t(t,n){var r=e.call(this,t)||this;return r._definition=n,r}return l(t,e),Object.defineProperty(t.prototype,"flags",{get:function(){return(this._subType?this._subType.flags:0)|y.Late},enumerable:!0,configurable:!0}),t.prototype.getSubType=function(e){if(!this._subType){var t=void 0;try{t=this._definition()}catch(n){if(!(n instanceof ReferenceError))throw n;t=void 0}if(e&&void 0===t)throw se("Late type seems to be used too early, the definition (still) returns undefined");t&&(this._subType=t)}return this._subType},t.prototype.instantiate=function(e,t,n,r){return this.getSubType(!0).instantiate(e,t,n,r)},t.prototype.reconcile=function(e,t,n,r){return this.getSubType(!0).reconcile(e,t,n,r)},t.prototype.describe=function(){var e=this.getSubType(!1);return e?e.name:""},t.prototype.isValidSnapshot=function(e,t){var n=this.getSubType(!1);return n?n.validate(e,t):H()},t.prototype.isAssignableFrom=function(e){var t=this.getSubType(!1);return!!t&&t.isAssignableFrom(e)},t.prototype.getSubTypes=function(){var e=this.getSubType(!1);return e||C},t}(E);var gt=function(e){function t(t){var n=e.call(this,t?"frozen("+t.name+")":"frozen")||this;return n.subType=t,n.flags=y.Frozen,n}return l(t,e),t.prototype.describe=function(){return""},t.prototype.instantiate=function(e,t,n,r){return X(this,e,t,n,r)},t.prototype.isValidSnapshot=function(e,t){return function(e){return"function"!==typeof e}(e)?this.subType?this.subType.validate(e,t):H():V(t,e,"Value is not serializable and cannot be frozen")},t}(I),At=new gt;var vt=function(){function e(e,t){if(this.targetType=t,Ot(e))this.identifier=e;else{if(!Y(e))throw se("Can only store references to tree nodes or identifiers, got: '"+e+"'");var n=J(e);if(!n.identifierAttribute)throw se("Can only store references with a defined identifier attribute.");var r=n.unnormalizedIdentifier;if(null===r||void 0===r)throw se("Can only store references to tree nodes with a defined identifier.");this.identifier=r}}return e.prototype.updateResolvedReference=function(e){var t=kt(this.identifier),n=e.root,r=n.identifierCache.getLastCacheModificationPerId(t);if(!this.resolvedReference||this.resolvedReference.lastCacheModification!==r){var i=this.targetType,o=n.identifierCache.resolve(i,t);if(!o)throw new yt("[mobx-state-tree] Failed to resolve reference '"+this.identifier+"' to type '"+this.targetType.name+"' (from node: "+e.path+")");this.resolvedReference={node:o,lastCacheModification:r}}},Object.defineProperty(e.prototype,"resolvedValue",{get:function(){return this.updateResolvedReference(this.node),this.resolvedReference.node.value},enumerable:!0,configurable:!0}),e}(),yt=function(e){function t(n){var r=e.call(this,n)||this;return Object.setPrototypeOf(r,t.prototype),r}return l(t,e),t}(Error),wt=function(e){function t(t,n){var r=e.call(this,"reference("+t.name+")")||this;return r.targetType=t,r.onInvalidated=n,r.flags=y.Reference,r}return l(t,e),t.prototype.describe=function(){return this.name},t.prototype.isAssignableFrom=function(e){return this.targetType.isAssignableFrom(e)},t.prototype.isValidSnapshot=function(e,t){return Ot(e)?H():V(t,e,"Value is not a valid identifier, which is a string or a number")},t.prototype.fireInvalidated=function(e,t,n,r){var i=t.parent;if(i&&i.isAlive){var o=i.storedValue;o&&this.onInvalidated({cause:e,parent:o,invalidTarget:r?r.storedValue:void 0,invalidId:n,replaceRef:function(e){m(t.root.storedValue,{op:"replace",value:e,path:t.path})},removeRef:function(){Ke(i.type)?this.replaceRef(void 0):m(t.root.storedValue,{op:"remove",path:t.path})}})}},t.prototype.addTargetNodeWatcher=function(e,t){var n=this,i=this.getValue(e);if(i){var o=J(i),a=function(i,a){var s=function(e){switch(e){case r.beforeDestroy:return"destroy";case r.beforeDetach:return"detach";default:return}}(a);s&&n.fireInvalidated(s,e,t,o)},s=o.registerHook(r.beforeDetach,a),l=o.registerHook(r.beforeDestroy,a);return function(){s(),l()}}},t.prototype.watchTargetNodeForInvalidations=function(e,t,n){var i=this;if(this.onInvalidated){var o;e.registerHook(r.beforeDestroy,(function(){o&&o()}));var a=function(r){o&&o();var a=e.parent,s=a&&a.storedValue;if(a&&a.isAlive&&s){(n?!!n.get(t,s):e.root.identifierCache.has(i.targetType,kt(t)))?o=i.addTargetNodeWatcher(e,t):r||i.fireInvalidated("invalidSnapshotReference",e,t,null)}};e.state===Q.FINALIZED?a(!0):(e.isRoot||e.root.registerHook(r.afterCreationFinalization,(function(){e.parent&&e.parent.createObservableInstanceIfNeeded()})),e.registerHook(r.afterAttach,(function(){a(!1)})))}},t}(I),bt=function(e){function t(t,n){return e.call(this,t,n)||this}return l(t,e),t.prototype.getValue=function(e){if(e.isAlive)return e.storedValue.resolvedValue},t.prototype.getSnapshot=function(e){return e.storedValue.identifier},t.prototype.instantiate=function(e,t,n,r){var i,o=Y(r)?(Z(i=r,1),J(i).identifier):r,a=new vt(r,this.targetType),s=X(this,e,t,n,a);return a.node=s,this.watchTargetNodeForInvalidations(s,o,void 0),s},t.prototype.reconcile=function(e,t,n,r){if(!e.isDetaching&&e.type===this){var i=Y(t),o=e.storedValue;if(!i&&o.identifier===t||i&&o.resolvedValue===t)return e.setParent(n,r),e}var a=this.instantiate(n,r,void 0,t);return e.die(),a},t}(wt),_t=function(e){function t(t,n,r){var i=e.call(this,t,r)||this;return i.options=n,i}return l(t,e),t.prototype.getValue=function(e){if(e.isAlive)return this.options.get(e.storedValue,e.parent?e.parent.storedValue:null)},t.prototype.getSnapshot=function(e){return e.storedValue},t.prototype.instantiate=function(e,t,n,r){var i=Y(r)?this.options.set(r,e?e.storedValue:null):r,o=X(this,e,t,n,i);return this.watchTargetNodeForInvalidations(o,i,this.options),o},t.prototype.reconcile=function(e,t,n,r){var i=Y(t)?this.options.set(t,e?e.storedValue:null):t;if(!e.isDetaching&&e.type===this&&e.storedValue===i)return e.setParent(n,r),e;var o=this.instantiate(n,r,void 0,i);return e.die(),o},t}(wt);function xt(e,t){O(e,1);var n=t||void 0,r=t?t.onInvalidated:void 0;return n&&(n.get||n.set)?new _t(e,{get:n.get,set:n.set},r):new bt(e,r)}var St=function(e){function t(t,n){var r=e.call(this,t)||this;return r.validType=n,r.flags=y.Identifier,r}return l(t,e),t.prototype.instantiate=function(e,t,n,r){if(!e||!(e.type instanceof We))throw se("Identifier types can only be instantiated as direct child of a model type");return X(this,e,t,n,r)},t.prototype.reconcile=function(e,t,n,r){if(e.storedValue!==t)throw se("Tried to change identifier from '"+e.storedValue+"' to '"+t+"'. Changing identifiers is not allowed.");return e.setParent(n,r),e},t.prototype.isValidSnapshot=function(e,t){return typeof e!==this.validType?V(t,e,"Value is not a valid "+this.describe()+", expected a "+this.validType):H()},t}(I),Ct=function(e){function t(){var t=e.call(this,"identifier","string")||this;return t.flags=y.Identifier,t}return l(t,e),t.prototype.describe=function(){return"identifier"},t}(St),Et=function(e){function t(){return e.call(this,"identifierNumber","number")||this}return l(t,e),t.prototype.getSnapshot=function(e){return e.storedValue},t.prototype.describe=function(){return"identifierNumber"},t}(St),Tt=new Ct,It=new Et;function kt(e){return""+e}function Ot(e){return"string"===typeof e||"number"===typeof e}var Pt=function(e){function t(t){var n=e.call(this,t.name)||this;return n.options=t,n.flags=y.Custom,n}return l(t,e),t.prototype.describe=function(){return this.name},t.prototype.isValidSnapshot=function(e,t){if(this.options.isTargetType(e))return H();var n=this.options.getValidationMessage(e);return n?V(t,e,"Invalid value for type '"+this.name+"': "+n):H()},t.prototype.getSnapshot=function(e){return this.options.toSnapshot(e.storedValue)},t.prototype.instantiate=function(e,t,n,r){return X(this,e,t,n,this.options.isTargetType(r)?r:this.options.fromSnapshot(r))},t.prototype.reconcile=function(e,t,n,r){var i=!this.options.isTargetType(t);if(!e.isDetaching&&(e.type===this&&(i?t===e.snapshot:t===e.storedValue)))return e.setParent(n,r),e;var o=i?this.options.fromSnapshot(t):t,a=this.instantiate(n,r,void 0,o);return e.die(),a},t}(I),Mt={enumeration:function(e,t){var n="string"===typeof e?t:e,r=lt.apply(void 0,h(n.map((function(e){return ot(""+e)}))));return"string"===typeof e&&(r.name=e),r},model:function(){for(var e=[],t=0;t",e)},array:function(e){return O(e,1),new Ne(e.name+"[]",e)},frozen:function(e){return 0===arguments.length?At:k(e)?new gt(e):ut(At,e)},identifier:Tt,identifierNumber:It,late:function(e,t){var n="string"===typeof e?e:"late("+e.toString()+")",r="string"===typeof e?t:e;return new mt(n,r)},undefined:tt,null:et,snapshotProcessor:function(e,t,n){return O(e,1),new Me(e,t,n)}}},62235(e,t,n){"use strict";n.d(t,{BQ:()=>w,EW:()=>J,Es:()=>$t,Fq:()=>Ht,H8:()=>ht,HO:()=>St,MN:()=>x,Mr:()=>on,O8:()=>ae,OB:()=>nn,XI:()=>Ke,Zc:()=>dt,_t:()=>we,dE:()=>$e,go:()=>rn,h5:()=>qe,hZ:()=>yt,jK:()=>rt,jO:()=>vt,lB:()=>wt,mJ:()=>et,pA:()=>ut,qT:()=>je,sH:()=>W,uz:()=>Qt,vx:()=>Ae,yl:()=>st,z7:()=>Et,zu:()=>At});var r=[];Object.freeze(r);var i={};function o(){return++Oe.mobxGuid}function a(e){throw s(!1,e),"X"}function s(e,t){if(!e)throw new Error("[mobx] "+(t||"An invariant failed, however the error is obfuscated because this is a production build."))}Object.freeze(i);function l(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var c=function(){};function u(e){return null!==e&&"object"===typeof e}function d(e){if(null===e||"object"!==typeof e)return!1;var t=Object.getPrototypeOf(e);return t===Object.prototype||null===t}function p(e,t,n){Object.defineProperty(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function h(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return u(e)&&!0===e[n]}}function f(e){return e instanceof Map}function m(e){return e instanceof Set}function g(e){var t=new Set;for(var n in e)t.add(n);return Object.getOwnPropertySymbols(e).forEach((function(n){Object.getOwnPropertyDescriptor(e,n).enumerable&&t.add(n)})),Array.from(t)}function A(e){return e&&e.toString?e.toString():new String(e).toString()}function v(e){return null===e?null:"object"===typeof e?""+e:e}var y="undefined"!==typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,w=Symbol("mobx administration"),b=function(){function e(e){void 0===e&&(e="Atom@"+o()),this.name=e,this.isPendingUnobservation=!1,this.isBeingObserved=!1,this.observers=new Set,this.diffValue=0,this.lastAccessedBy=0,this.lowestObserverState=q.NOT_TRACKING}return e.prototype.onBecomeObserved=function(){this.onBecomeObservedListeners&&this.onBecomeObservedListeners.forEach((function(e){return e()}))},e.prototype.onBecomeUnobserved=function(){this.onBecomeUnobservedListeners&&this.onBecomeUnobservedListeners.forEach((function(e){return e()}))},e.prototype.reportObserved=function(){return Le(this)},e.prototype.reportChanged=function(){De(),function(e){if(e.lowestObserverState===q.STALE)return;e.lowestObserverState=q.STALE,e.observers.forEach((function(t){t.dependenciesState===q.UP_TO_DATE&&(t.isTracing!==X.NONE&&Fe(t,e),t.onBecomeStale()),t.dependenciesState=q.STALE}))}(this),Re()},e.prototype.toString=function(){return this.name},e}(),_=h("Atom",b);function x(e,t,n){void 0===t&&(t=c),void 0===n&&(n=c);var r,i=new b(e);return t!==c&&nt("onBecomeObserved",i,t,r),n!==c&&tt(i,n),i}var S={identity:function(e,t){return e===t},structural:function(e,t){return sn(e,t)},default:function(e,t){return Object.is(e,t)},shallow:function(e,t){return sn(e,t,1)}},C=function(e,t){return C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},C(e,t)};var E=function(){return E=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function I(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function k(){for(var e=[],t=0;t2&&K("box");var n=z(t);return new be(e,$(n),n.name,!0,n.equals)},array:function(e,t){arguments.length>2&&K("array");var n=z(t);return function(e,t,n,r){void 0===n&&(n="ObservableArray@"+o());void 0===r&&(r=!1);var i=new Nt(n,t,r);a=i.values,s=w,l=i,Object.defineProperty(a,s,{enumerable:!1,writable:!1,configurable:!0,value:l});var a,s,l;var c=new Proxy(i.values,Ft);if(i.proxy=c,e&&e.length){var u=ve(!0);i.spliceWithArray(0,0,e),ye(u)}return c}(e,$(n),n.name)},map:function(e,t){arguments.length>2&&K("map");var n=z(t);return new $t(e,$(n),n.name)},set:function(e,t){arguments.length>2&&K("set");var n=z(t);return new Kt(e,$(n),n.name)},object:function(e,t,n){"string"===typeof arguments[1]&&K("object");var r=z(n);if(!1===r.proxy)return it({},e,t,r);var i=ot(r),o=function(e){var t=new Proxy(e,Ot);return e[w].proxy=t,t}(it({},void 0,void 0,r));return at(o,e,t,i),o},ref:V,shallow:H,deep:U,struct:G},W=function(e,t,n){if("string"===typeof arguments[1]||"symbol"===typeof arguments[1])return U.apply(null,arguments);if(mt(e))return e;var r=d(e)?W.object(e,t,n):Array.isArray(e)?W.array(e,t):f(e)?W.map(e,t):m(e)?W.set(e,t):e;if(r!==e)return r;a(!1)};function K(e){a("Expected one or two arguments to observable."+e+". Did you accidentally try to use observable."+e+" as decorator?")}Object.keys(Q).forEach((function(e){return W[e]=Q[e]}));var q,X,Y=R(!1,(function(e,t,n,r,i){var o=n.get,a=n.set,s=i[0]||{};Yt(e).addComputedProp(e,t,E({get:o,set:a,context:e},s))})),Z=Y({equals:S.structural}),J=function(e,t,n){if("string"===typeof t)return Y.apply(null,arguments);if(null!==e&&"object"===typeof e&&1===arguments.length)return Y.apply(null,arguments);var r="object"===typeof t?t:{};return r.get=e,r.set="function"===typeof t?t:r.set,r.name=r.name||e.name||"",new xe(r)};J.struct=Z,function(e){e[e.NOT_TRACKING=-1]="NOT_TRACKING",e[e.UP_TO_DATE=0]="UP_TO_DATE",e[e.POSSIBLY_STALE=1]="POSSIBLY_STALE",e[e.STALE=2]="STALE"}(q||(q={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(X||(X={}));var ee=function(e){this.cause=e};function te(e){return e instanceof ee}function ne(e){switch(e.dependenciesState){case q.UP_TO_DATE:return!1;case q.NOT_TRACKING:case q.STALE:return!0;case q.POSSIBLY_STALE:for(var t=ce(!0),n=se(),r=e.observing,i=r.length,o=0;o0;Oe.computationDepth>0&&t&&a(!1),Oe.allowStateChanges||!t&&"strict"!==Oe.enforceActions||a(!1)}function ie(e,t,n){var r=ce(!0);de(e),e.newObserving=new Array(e.observing.length+100),e.unboundDepsCount=0,e.runId=++Oe.runId;var i,o=Oe.trackingDerivation;if(Oe.trackingDerivation=e,!0===Oe.disableErrorBoundaries)i=t.call(n);else try{i=t.call(n)}catch(a){i=new ee(a)}return Oe.trackingDerivation=o,function(e){for(var t=e.observing,n=e.observing=e.newObserving,r=q.UP_TO_DATE,i=0,o=e.unboundDepsCount,a=0;ar&&(r=s.dependenciesState)}n.length=i,e.newObserving=null,o=t.length;for(;o--;){0===(s=t[o]).diffValue&&Me(s,e),s.diffValue=0}for(;i--;){var s;1===(s=n[i]).diffValue&&(s.diffValue=0,Pe(s,e))}r!==q.UP_TO_DATE&&(e.dependenciesState=r,e.onBecomeStale())}(e),ue(r),i}function oe(e){var t=e.observing;e.observing=[];for(var n=t.length;n--;)Me(t[n],e);e.dependenciesState=q.NOT_TRACKING}function ae(e){var t=se();try{return e()}finally{le(t)}}function se(){var e=Oe.trackingDerivation;return Oe.trackingDerivation=null,e}function le(e){Oe.trackingDerivation=e}function ce(e){var t=Oe.allowStateReads;return Oe.allowStateReads=e,t}function ue(e){Oe.allowStateReads=e}function de(e){if(e.dependenciesState!==q.UP_TO_DATE){e.dependenciesState=q.UP_TO_DATE;for(var t=e.observing,n=t.length;n--;)t[n].lowestObserverState=q.UP_TO_DATE}}var pe=0,he=1,fe=Object.getOwnPropertyDescriptor((function(){}),"name");fe&&fe.configurable;function me(e,t,n){var r=function(){return ge(e,t,n||this,arguments)};return r.isMobxAction=!0,r}function ge(e,t,n,r){var i=function(){var e=!1,t=0;0;var n=se();De();var r=ve(!0),i=ce(!0),o={prevDerivation:n,prevAllowStateChanges:r,prevAllowStateReads:i,notifySpy:e,startTime:t,actionId:he++,parentActionId:pe};return pe=o.actionId,o}();try{return t.apply(n,r)}catch(o){throw i.error=o,o}finally{!function(e){pe!==e.actionId&&a("invalid action stack. did you forget to finish an action?");pe=e.parentActionId,void 0!==e.error&&(Oe.suppressReactionErrors=!0);ye(e.prevAllowStateChanges),ue(e.prevAllowStateReads),Re(),le(e.prevDerivation),e.notifySpy;Oe.suppressReactionErrors=!1}(i)}}function Ae(e,t){var n,r=ve(e);try{n=t()}finally{ye(r)}return n}function ve(e){var t=Oe.allowStateChanges;return Oe.allowStateChanges=e,t}function ye(e){Oe.allowStateChanges=e}function we(e){var t,n=Oe.computationDepth;Oe.computationDepth=0;try{t=e()}finally{Oe.computationDepth=n}return t}var be=function(e){function t(t,n,r,i,a){void 0===r&&(r="ObservableValue@"+o()),void 0===i&&(i=!0),void 0===a&&(a=S.default);var s=e.call(this,r)||this;return s.enhancer=n,s.name=r,s.equals=a,s.hasUnreportedChange=!1,s.value=n(t,void 0,r),s}return function(e,t){function n(){this.constructor=e}C(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.prototype.set=function(e){this.value;if((e=this.prepareNewValue(e))!==Oe.UNCHANGED){var t=!1;t,this.setNewValue(e)}},t.prototype.prepareNewValue=function(e){if(re(this),Pt(this)){var t=Bt(this,{object:this,type:"update",newValue:e});if(!t)return Oe.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value,this.name),this.equals(this.value,e)?Oe.UNCHANGED:e},t.prototype.setNewValue=function(e){var t=this.value;this.value=e,this.reportChanged(),Dt(this)&&Lt(this,{type:"update",object:this,newValue:e,oldValue:t})},t.prototype.get=function(){return this.reportObserved(),this.dehanceValue(this.value)},t.prototype.intercept=function(e){return Mt(this,e)},t.prototype.observe=function(e,t){return t&&e({object:this,type:"update",newValue:this.value,oldValue:void 0}),Rt(this,e)},t.prototype.toJSON=function(){return this.get()},t.prototype.toString=function(){return this.name+"["+this.value+"]"},t.prototype.valueOf=function(){return v(this.get())},t.prototype[Symbol.toPrimitive]=function(){return this.valueOf()},t}(b),_e=h("ObservableValue",be),xe=function(){function e(e){this.dependenciesState=q.NOT_TRACKING,this.observing=[],this.newObserving=null,this.isBeingObserved=!1,this.isPendingUnobservation=!1,this.observers=new Set,this.diffValue=0,this.runId=0,this.lastAccessedBy=0,this.lowestObserverState=q.UP_TO_DATE,this.unboundDepsCount=0,this.__mapid="#"+o(),this.value=new ee(null),this.isComputing=!1,this.isRunningSetter=!1,this.isTracing=X.NONE,s(e.get,"missing option for computed: get"),this.derivation=e.get,this.name=e.name||"ComputedValue@"+o(),e.set&&(this.setter=me(this.name+"-setter",e.set)),this.equals=e.equals||(e.compareStructural||e.struct?S.structural:S.default),this.scope=e.context,this.requiresReaction=!!e.requiresReaction,this.keepAlive=!!e.keepAlive}return e.prototype.onBecomeStale=function(){!function(e){if(e.lowestObserverState!==q.UP_TO_DATE)return;e.lowestObserverState=q.POSSIBLY_STALE,e.observers.forEach((function(t){t.dependenciesState===q.UP_TO_DATE&&(t.dependenciesState=q.POSSIBLY_STALE,t.isTracing!==X.NONE&&Fe(t,e),t.onBecomeStale())}))}(this)},e.prototype.onBecomeObserved=function(){this.onBecomeObservedListeners&&this.onBecomeObservedListeners.forEach((function(e){return e()}))},e.prototype.onBecomeUnobserved=function(){this.onBecomeUnobservedListeners&&this.onBecomeUnobservedListeners.forEach((function(e){return e()}))},e.prototype.get=function(){this.isComputing&&a("Cycle detected in computation "+this.name+": "+this.derivation),0!==Oe.inBatch||0!==this.observers.size||this.keepAlive?(Le(this),ne(this)&&this.trackAndCompute()&&function(e){if(e.lowestObserverState===q.STALE)return;e.lowestObserverState=q.STALE,e.observers.forEach((function(t){t.dependenciesState===q.POSSIBLY_STALE?t.dependenciesState=q.STALE:t.dependenciesState===q.UP_TO_DATE&&(e.lowestObserverState=q.UP_TO_DATE)}))}(this)):ne(this)&&(this.warnAboutUntrackedRead(),De(),this.value=this.computeValue(!1),Re());var e=this.value;if(te(e))throw e.cause;return e},e.prototype.peek=function(){var e=this.computeValue(!1);if(te(e))throw e.cause;return e},e.prototype.set=function(e){if(this.setter){s(!this.isRunningSetter,"The setter of computed value '"+this.name+"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"),this.isRunningSetter=!0;try{this.setter.call(this.scope,e)}finally{this.isRunningSetter=!1}}else s(!1,!1)},e.prototype.trackAndCompute=function(){var e=this.value,t=this.dependenciesState===q.NOT_TRACKING,n=this.computeValue(!0),r=t||te(e)||te(n)||!this.equals(e,n);return r&&(this.value=n),r},e.prototype.computeValue=function(e){var t;if(this.isComputing=!0,Oe.computationDepth++,e)t=ie(this,this.derivation,this.scope);else if(!0===Oe.disableErrorBoundaries)t=this.derivation.call(this.scope);else try{t=this.derivation.call(this.scope)}catch(n){t=new ee(n)}return Oe.computationDepth--,this.isComputing=!1,t},e.prototype.suspend=function(){this.keepAlive||(oe(this),this.value=void 0)},e.prototype.observe=function(e,t){var n=this,r=!0,i=void 0;return Ye((function(){var o=n.get();if(!r||t){var a=se();e({type:"update",object:n,newValue:o,oldValue:i}),le(a)}r=!1,i=o}))},e.prototype.warnAboutUntrackedRead=function(){},e.prototype.toJSON=function(){return this.get()},e.prototype.toString=function(){return this.name+"["+this.derivation.toString()+"]"},e.prototype.valueOf=function(){return v(this.get())},e.prototype[Symbol.toPrimitive]=function(){return this.valueOf()},e}(),Se=h("ComputedValue",xe),Ce=function(){this.version=5,this.UNCHANGED={},this.trackingDerivation=null,this.computationDepth=0,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!0,this.allowStateReads=!0,this.enforceActions=!1,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.computedConfigurable=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1},Ee={};function Te(){return"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:"undefined"!==typeof self?self:Ee}var Ie=!0,ke=!1,Oe=function(){var e=Te();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(Ie=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new Ce).version&&(Ie=!1),Ie?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new Ce):(setTimeout((function(){ke||a("There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`")}),1),new Ce)}();function Pe(e,t){e.observers.add(t),e.lowestObserverState>t.dependenciesState&&(e.lowestObserverState=t.dependenciesState)}function Me(e,t){e.observers.delete(t),0===e.observers.size&&Be(e)}function Be(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,Oe.pendingUnobservations.push(e))}function De(){Oe.inBatch++}function Re(){if(0===--Oe.inBatch){Ue();for(var e=Oe.pendingUnobservations,t=0;t0&&Be(e),!1)}function Fe(e,t){if(console.log("[mobx.trace] '"+e.name+"' is invalidated due to a change in: '"+t.name+"'"),e.isTracing===X.BREAK){var n=[];Ne(st(e),n,1),new Function("debugger;\n/*\nTracing '"+e.name+"'\n\nYou are entering this break point because derivation '"+e.name+"' is being traced and '"+t.name+"' is now forcing it to update.\nJust follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update\nThe stackframe you are looking for is at least ~6-8 stack-frames up.\n\n"+(e instanceof xe?e.derivation.toString().replace(/[*]\//g,"/"):"")+"\n\nThe dependencies for this derivation are:\n\n"+n.join("\n")+"\n*/\n ")()}}function Ne(e,t,n){t.length>=1e3?t.push("(and many more)"):(t.push(""+new Array(n).join("\t")+e.name),e.dependencies&&e.dependencies.forEach((function(e){return Ne(e,t,n+1)})))}var je=function(){function e(e,t,n,r){void 0===e&&(e="Reaction@"+o()),void 0===r&&(r=!1),this.name=e,this.onInvalidate=t,this.errorHandler=n,this.requiresObservable=r,this.observing=[],this.newObserving=[],this.dependenciesState=q.NOT_TRACKING,this.diffValue=0,this.runId=0,this.unboundDepsCount=0,this.__mapid="#"+o(),this.isDisposed=!1,this._isScheduled=!1,this._isTrackPending=!1,this._isRunning=!1,this.isTracing=X.NONE}return e.prototype.onBecomeStale=function(){this.schedule()},e.prototype.schedule=function(){this._isScheduled||(this._isScheduled=!0,Oe.pendingReactions.push(this),Ue())},e.prototype.isScheduled=function(){return this._isScheduled},e.prototype.runReaction=function(){if(!this.isDisposed){if(De(),this._isScheduled=!1,ne(this)){this._isTrackPending=!0;try{this.onInvalidate(),this._isTrackPending}catch(e){this.reportExceptionInDerivation(e)}}Re()}},e.prototype.track=function(e){if(!this.isDisposed){De();var t=!1;t,this._isRunning=!0;var n=ie(this,e,void 0);this._isRunning=!1,this._isTrackPending=!1,this.isDisposed&&oe(this),te(n)&&this.reportExceptionInDerivation(n.cause),Re()}},e.prototype.reportExceptionInDerivation=function(e){var t=this;if(this.errorHandler)this.errorHandler(e,this);else{if(Oe.disableErrorBoundaries)throw e;var n="[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '"+this+"'";Oe.suppressReactionErrors?console.warn("[mobx] (error in reaction '"+this.name+"' suppressed, fix error of causing action below)"):console.error(n,e),Oe.globalReactionErrorHandlers.forEach((function(n){return n(e,t)}))}},e.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this._isRunning||(De(),oe(this),Re()))},e.prototype.getDisposer=function(){var e=this.dispose.bind(this);return e[w]=this,e},e.prototype.toString=function(){return"Reaction["+this.name+"]"},e.prototype.trace=function(e){void 0===e&&(e=!1),function(){for(var e=[],t=0;t0||Oe.isRunningReactions||ze(He)}function He(){Oe.isRunningReactions=!0;for(var e=Oe.pendingReactions,t=0;e.length>0;){100===++t&&(console.error("Reaction doesn't converge to a stable state after 100 iterations. Probably there is a cycle in the reactive function: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,i=n.length;r",e):2===arguments.length&&"function"===typeof t?me(e,t):1===arguments.length&&"string"===typeof e?We(e):!0!==r?We(t).apply(null,arguments):void p(e,t,me(e.name||t,n.value,this))};function qe(e,t){"string"===typeof e||e.name;return ge(0,"function"===typeof e?e:t,this,void 0)}function Xe(e,t,n){p(e,t,me(t,n.bind(e)))}function Ye(e,t){void 0===t&&(t=i);var n,r=t&&t.name||e.name||"Autorun@"+o();if(!t.scheduler&&!t.delay)n=new je(r,(function(){this.track(l)}),t.onError,t.requiresObservable);else{var a=Je(t),s=!1;n=new je(r,(function(){s||(s=!0,a((function(){s=!1,n.isDisposed||n.track(l)})))}),t.onError,t.requiresObservable)}function l(){e(n)}return n.schedule(),n.getDisposer()}Ke.bound=function(e,t,n,r){return!0===r?(Xe(e,t,n.value),null):n?{configurable:!0,enumerable:!1,get:function(){return Xe(this,t,n.value||n.initializer.call(this)),this[t]},set:Qe}:{enumerable:!1,configurable:!0,set:function(e){Xe(this,t,e)},get:function(){}}};var Ze=function(e){return e()};function Je(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:Ze}function et(e,t,n){void 0===n&&(n=i);var r,a,s,l=n.name||"Reaction@"+o(),c=Ke(l,n.onError?(r=n.onError,a=t,function(){try{return a.apply(this,arguments)}catch(e){r.call(this,e)}}):t),u=!n.scheduler&&!n.delay,d=Je(n),p=!0,h=!1,f=n.compareStructural?S.structural:n.equals||S.default,m=new je(l,(function(){p||u?g():h||(h=!0,d(g))}),n.onError,n.requiresObservable);function g(){if(h=!1,!m.isDisposed){var t=!1;m.track((function(){var n=e(m);t=p||!f(s,n),s=n})),p&&n.fireImmediately&&c(s,m),p||!0!==t||c(s,m),p&&(p=!1)}}return m.schedule(),m.getDisposer()}function tt(e,t,n){return nt("onBecomeUnobserved",e,t,n)}function nt(e,t,n,r){var i="function"===typeof r?rn(t,n):rn(t),o="function"===typeof r?r:n,s=e+"Listeners";return i[s]?i[s].add(o):i[s]=new Set([o]),"function"!==typeof i[e]?a(!1):function(){var e=i[s];e&&(e.delete(o),0===e.size&&delete i[s])}}function rt(e){var t=e.enforceActions,n=e.computedRequiresReaction,r=e.computedConfigurable,i=e.disableErrorBoundaries,o=e.reactionScheduler,s=e.reactionRequiresObservable,l=e.observableRequiresReaction;if(!0===e.isolateGlobalState&&((Oe.pendingReactions.length||Oe.inBatch||Oe.isRunningReactions)&&a("isolateGlobalState should be called before MobX is running any reactions"),ke=!0,Ie&&(0===--Te().__mobxInstanceCount&&(Te().__mobxGlobals=void 0),Oe=new Ce)),void 0!==t){var c=void 0;switch(t){case!0:case"observed":c=!0;break;case!1:case"never":c=!1;break;case"strict":case"always":c="strict";break;default:a("Invalid value for 'enforceActions': '"+t+"', expected 'never', 'always' or 'observed'")}Oe.enforceActions=c,Oe.allowStateChanges=!0!==c&&"strict"!==c}void 0!==n&&(Oe.computedRequiresReaction=!!n),void 0!==s&&(Oe.reactionRequiresObservable=!!s),void 0!==l&&(Oe.observableRequiresReaction=!!l,Oe.allowStateReads=!Oe.observableRequiresReaction),void 0!==r&&(Oe.computedConfigurable=!!r),void 0!==i&&(!0===i&&console.warn("WARNING: Debug feature only. MobX will NOT recover from errors when `disableErrorBoundaries` is enabled."),Oe.disableErrorBoundaries=!!i),o&&Ge(o)}function it(e,t,n,r){var i=ot(r=z(r));return D(e),Yt(e,r.name,i.enhancer),t&&at(e,t,n,i),e}function ot(e){return e.defaultDecorator||(!1===e.deep?V:U)}function at(e,t,n,r){var i,o;De();try{var a=y(t);try{for(var s=T(a),l=s.next();!l.done;l=s.next()){var c=l.value,u=Object.getOwnPropertyDescriptor(t,c);0;var d=(n&&c in n?n[c]:u.get?Y:r)(e,c,u,!0);d&&Object.defineProperty(e,c,d)}}catch(p){i={error:p}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}}finally{Re()}}function st(e,t){return lt(rn(e,t))}function lt(e){var t={name:e.name};return e.observing&&e.observing.length>0&&(t.dependencies=function(e){var t=[];return e.forEach((function(e){-1===t.indexOf(e)&&t.push(e)})),t}(e.observing).map(lt)),t}function ct(){this.message="FLOW_CANCELLED"}function ut(e,t,n){var r;if(Qt(e)||Ht(e)||_e(e))r=on(e);else{if(!nn(e))return a(!1);if("string"!==typeof t)return a(!1);r=on(e,t)}return void 0!==r.dehancer?a(!1):(r.dehancer="function"===typeof t?t:n,function(){r.dehancer=void 0})}function dt(e,t,n){return"function"===typeof n?function(e,t,n){return on(e,t).intercept(n)}(e,t,n):function(e,t){return on(e).intercept(t)}(e,t)}function pt(e,t){if(null===e||void 0===e)return!1;if(void 0!==t){if(!1===nn(e))return!1;if(!e[w].values.has(t))return!1;var n=rn(e,t);return Se(n)}return Se(e)}function ht(e,t){return"string"!==typeof t?a(!1):pt(e,t)}function ft(e,t){return null!==e&&void 0!==e&&(void 0!==t?!!nn(e)&&e[w].values.has(t):nn(e)||!!e[w]||_(e)||Ve(e)||Se(e))}function mt(e){return 1!==arguments.length&&a(!1),ft(e)}function gt(e){return nn(e)?e[w].getKeys():Qt(e)||qt(e)?Array.from(e.keys()):Ht(e)?e.map((function(e,t){return t})):a(!1)}function At(e){return nn(e)?gt(e).map((function(t){return e[t]})):Qt(e)?gt(e).map((function(t){return e.get(t)})):qt(e)?Array.from(e.values()):Ht(e)?e.slice():a(!1)}function vt(e){return nn(e)?gt(e).map((function(t){return[t,e[t]]})):Qt(e)?gt(e).map((function(t){return[t,e.get(t)]})):qt(e)?Array.from(e.entries()):Ht(e)?e.map((function(e,t){return[t,e]})):a(!1)}function yt(e,t,n){if(2!==arguments.length||qt(e))if(nn(e)){var r=e[w];r.values.get(t)?r.write(t,n):r.addObservableProp(t,n,r.defaultEnhancer)}else if(Qt(e))e.set(t,n);else if(qt(e))e.add(t);else{if(!Ht(e))return a(!1);"number"!==typeof t&&(t=parseInt(t,10)),s(t>=0,"Not a valid index: '"+t+"'"),De(),t>=e.length&&(e.length=t+1),e[t]=n,Re()}else{De();var i=t;try{for(var o in i)yt(e,o,i[o])}finally{Re()}}}function wt(e,t,n,r){return"function"===typeof n?function(e,t,n,r){return on(e,t).observe(n,r)}(e,t,n,r):function(e,t,n){return on(e).observe(t,n)}(e,t,n)}ct.prototype=Object.create(Error.prototype);var bt={detectCycles:!0,exportMapsAsObjects:!0,recurseEverything:!1};function _t(e,t,n,r){return r.detectCycles&&e.set(t,n),n}function xt(e,t,n){if(!t.recurseEverything&&!mt(e))return e;if("object"!==typeof e)return e;if(null===e)return null;if(e instanceof Date)return e;if(_e(e))return xt(e.get(),t,n);if(mt(e)&>(e),!0===t.detectCycles&&null!==e&&n.has(e))return n.get(e);if(Ht(e)||Array.isArray(e)){var r=_t(n,e,[],t),i=e.map((function(e){return xt(e,t,n)}));r.length=i.length;for(var o=0,a=i.length;o0}function Mt(e,t){var n=e.interceptors||(e.interceptors=[]);return n.push(t),l((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function Bt(e,t){var n=se();try{for(var r=k(e.interceptors||[]),i=0,o=r.length;i0}function Rt(e,t){var n=e.changeListeners||(e.changeListeners=[]);return n.push(t),l((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function Lt(e,t){var n=se(),r=e.changeListeners;if(r){for(var i=0,o=(r=r.slice()).length;i0?e.map(this.dehancer):e},e.prototype.intercept=function(e){return Mt(this,e)},e.prototype.observe=function(e,t){return void 0===t&&(t=!1),t&&e({object:this.proxy,type:"splice",index:0,added:this.values.slice(),addedCount:this.values.length,removed:[],removedCount:0}),Rt(this,e)},e.prototype.getArrayLength=function(){return this.atom.reportObserved(),this.values.length},e.prototype.setArrayLength=function(e){if("number"!==typeof e||e<0)throw new Error("[mobx.array] Out of range: "+e);var t=this.values.length;if(e!==t)if(e>t){for(var n=new Array(e-t),r=0;ro?e=o:e<0&&(e=Math.max(0,o+e)),t=1===arguments.length?o-e:void 0===t||null===t?0:Math.max(0,Math.min(t,o-e)),void 0===n&&(n=r),Pt(this)){var a=Bt(this,{object:this.proxy,type:"splice",index:e,removedCount:t,added:n});if(!a)return r;t=a.removedCount,n=a.added}n=0===n.length?n:n.map((function(e){return i.enhancer(e,void 0)}));var s=this.spliceItemsIntoValues(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice(e,n,s),this.dehanceValues(s)},e.prototype.spliceItemsIntoValues=function(e,t,n){var r;if(n.length<1e4)return(r=this.values).splice.apply(r,k([e,t],n));var i=this.values.slice(e,e+t);return this.values=this.values.slice(0,e).concat(n,this.values.slice(e+t)),i},e.prototype.notifyArrayChildUpdate=function(e,t,n){var r=!this.owned&&!1,i=Dt(this),o=i||r?{object:this.proxy,type:"update",index:e,newValue:t,oldValue:n}:null;this.atom.reportChanged(),i&&Lt(this,o)},e.prototype.notifyArraySplice=function(e,t,n){var r=!this.owned&&!1,i=Dt(this),o=i||r?{object:this.proxy,type:"splice",index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom.reportChanged(),i&&Lt(this,o)},e}(),jt={intercept:function(e){return this[w].intercept(e)},observe:function(e,t){return void 0===t&&(t=!1),this[w].observe(e,t)},clear:function(){return this.splice(0)},replace:function(e){var t=this[w];return t.spliceWithArray(0,t.values.length,e)},toJS:function(){return this.slice()},toJSON:function(){return this.toJS()},splice:function(e,t){for(var n=[],r=2;r-1&&(this.splice(n,1),!0)},get:function(e){var t=this[w];if(t){if(e=0&&n++}e=cn(e),t=cn(t);var s="[object Array]"===a;if(!s){if("object"!=typeof e||"object"!=typeof t)return!1;var l=e.constructor,c=t.constructor;if(l!==c&&!("function"===typeof l&&l instanceof l&&"function"===typeof c&&c instanceof c)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),i=i||[];for(var u=(r=r||[]).length;u--;)if(r[u]===e)return i[u]===t;if(r.push(e),i.push(t),s){if((u=e.length)!==t.length)return!1;for(;u--;)if(!ln(e[u],t[u],n-1,r,i))return!1}else{var d=Object.keys(e),p=void 0;if(u=d.length,Object.keys(t).length!==u)return!1;for(;u--;)if(!un(t,p=d[u])||!ln(e[p],t[p],n-1,r,i))return!1}return r.pop(),i.pop(),!0}function cn(e){return Ht(e)?e.slice():f(e)||Qt(e)||m(e)||qt(e)?Array.from(e.entries()):e}function un(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function dn(e){return e[Symbol.iterator]=pn,e}function pn(){return this}if("undefined"===typeof Proxy||"undefined"===typeof Symbol)throw new Error("[mobx] MobX 5+ requires Proxy and Symbol objects. If your environment doesn't support Symbol or Proxy objects, please downgrade to MobX 4. For React Native Android, consider upgrading JSCore.");"object"===typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:$e,extras:{getDebugName:function(e,t){return(void 0!==t?rn(e,t):nn(e)||Qt(e)||qt(e)?on(e):rn(e)).name}},$mobx:w})},13554(e,t,n){"use strict";var r=n(7186),i=n(81491),o=n(22990),a=n(86366),s=function(e){i(!1,e)},l=String.prototype.replace,c=String.prototype.split,u="||||",d=function(e){var t=e%100,n=t%10;return 11!==t&&1===n?0:2<=n&&n<=4&&!(t>=12&&t<=14)?1:2},p={pluralTypes:{arabic:function(e){if(e<3)return e;var t=e%100;return t>=3&&t<=10?3:t>=11?4:5},bosnian_serbian:d,chinese:function(){return 0},croatian:d,french:function(e){return e>1?1:0},german:function(e){return 1!==e?1:0},russian:d,lithuanian:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=9&&(e%100<11||e%100>19)?1:2},czech:function(e){return 1===e?0:e>=2&&e<=4?1:2},polish:function(e){if(1===e)return 0;var t=e%10;return 2<=t&&t<=4&&(e%100<10||e%100>=20)?1:2},icelandic:function(e){return e%10!==1||e%100===11?1:0},slovenian:function(e){var t=e%100;return 1===t?0:2===t?1:3===t||4===t?2:3}},pluralTypeToLanguages:{arabic:["ar"],bosnian_serbian:["bs-Latn-BA","bs-Cyrl-BA","srl-RS","sr-RS"],chinese:["id","id-ID","ja","ko","ko-KR","lo","ms","th","th-TH","zh"],croatian:["hr","hr-HR"],german:["fa","da","de","en","es","fi","el","he","hi-IN","hu","hu-HU","it","nl","no","pt","sv","tr"],french:["fr","tl","pt-br"],russian:["ru","ru-RU"],lithuanian:["lt"],czech:["cs","cs-CZ","sk"],polish:["pl"],icelandic:["is"],slovenian:["sl-SL"]}};function h(e,t){var n=function(e){var t={};return r(e,(function(e,n){r(e,(function(e){t[e]=n}))})),t}(e.pluralTypeToLanguages);return n[t]||n[c.call(t,/-/,1)[0]]||n.en}function f(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}var m=/%\{(.*?)\}/g;function g(e,t,n,r,i){if("string"!==typeof e)throw new TypeError("Polyglot.transformPhrase expects argument #1 to be string");if(null==t)return e;var s=e,d=r||m,f=i||p,g="number"===typeof t?{smart_count:t}:t;if(null!=g.smart_count&&s){var A=c.call(s,u);s=a(A[function(e,t,n){return e.pluralTypes[h(e,t)](n)}(f,n||"en",g.smart_count)]||A[0])}return s=l.call(s,d,(function(e,t){return o(g,t)&&null!=g[t]?g[t]:e}))}function A(e){var t=e||{};this.phrases={},this.extend(t.phrases||{}),this.currentLocale=t.locale||"en";var n=t.allowMissing?g:null;this.onMissingKey="function"===typeof t.onMissingKey?t.onMissingKey:n,this.warn=t.warn||s,this.tokenRegex=function(e){var t=e&&e.prefix||"%{",n=e&&e.suffix||"}";if(t===u||n===u)throw new RangeError('"||||" token is reserved for pluralization');return new RegExp(f(t)+"(.*?)"+f(n),"g")}(t.interpolation),this.pluralRules=t.pluralRules||p}A.prototype.locale=function(e){return e&&(this.currentLocale=e),this.currentLocale},A.prototype.extend=function(e,t){r(e,(function(e,n){var r=t?t+"."+n:n;"object"===typeof e?this.extend(e,r):this.phrases[r]=e}),this)},A.prototype.unset=function(e,t){"string"===typeof e?delete this.phrases[e]:r(e,(function(e,n){var r=t?t+"."+n:n;"object"===typeof e?this.unset(e,r):delete this.phrases[r]}),this)},A.prototype.clear=function(){this.phrases={}},A.prototype.replace=function(e){this.clear(),this.extend(e)},A.prototype.t=function(e,t){var n,r,i=null==t?{}:t;if("string"===typeof this.phrases[e])n=this.phrases[e];else if("string"===typeof i._)n=i._;else if(this.onMissingKey){r=(0,this.onMissingKey)(e,i,this.currentLocale,this.tokenRegex,this.pluralRules)}else this.warn('Missing translation for key: "'+e+'"'),r=e;return"string"===typeof n&&(r=g(n,i,this.currentLocale,this.tokenRegex,this.pluralRules)),r},A.prototype.has=function(e){return o(this.phrases,e)},A.transformPhrase=function(e,t,n){return g(e,t,n)},e.exports=A},73588(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(i){return!1}}()?Object.assign:function(e,i){for(var o,a,s=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l0&&!i.call(e,0))for(var m=0;m0)for(var g=0;g=0&&"[object Function]"===t.call(e.callee)),r}},93070(e,t,n){"use strict";var r=n(8533);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){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,bigint: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:o,resetWarningCache:i};return n.PropTypes=n,n}},69036(e,t,n){e.exports=n(93070)()},8533(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},37143(e,t,n){"use strict";var r=n(73588),i=n(17588);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nI;I++)T[I]=I+1;T[15]=0;var k=/^[: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]*$/,O=Object.prototype.hasOwnProperty,P={},M={};function B(e){return!!O.call(M,e)||!O.call(P,e)&&(k.test(e)?M[e]=!0:(P[e]=!0,!1))}function D(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 R={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){R[e]=new D(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];R[t]=new D(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){R[e]=new D(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){R[e]=new D(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){R[e]=new D(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){R[e]=new D(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){R[e]=new D(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){R[e]=new D(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){R[e]=new D(e,5,!1,e.toLowerCase(),null,!1,!1)}));var L=/[\-:]([a-z])/g;function F(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(L,F);R[t]=new D(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(L,F);R[t]=new D(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(L,F);R[t]=new D(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){R[e]=new D(e,1,!1,e.toLowerCase(),null,!1,!1)})),R.xlinkHref=new D("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){R[e]=new D(e,1,!1,e.toLowerCase(),null,!0,!0)}));var N=/["'&<>]/;function j(e){if("boolean"===typeof e||"number"===typeof e)return""+e;e=""+e;var t=N.exec(e);if(t){var n,r="",i=0;for(n=t.index;nt}return!1}(e,t,r,!1)?"":null!==r?(e=r.attributeName,3===(n=r.type)||4===n&&!0===t?e+'=""':(r.sanitizeURL&&(t=""+t),e+'="'+j(t)+'"')):B(e)?e+'="'+j(t)+'"':""}var U="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},H=null,V=null,G=null,$=!1,Q=!1,W=null,K=0;function q(){if(null===H)throw Error(o(321));return H}function X(){if(0K))throw Error(o(301));if(e===H)if(Q=!0,e={action:n,next:null},null===W&&(W=new Map),void 0===(n=W.get(t)))W.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}}function ie(){}var oe=null,ae={readContext:function(e){var t=oe.threadID;return E(e,t),e[t]},useContext:function(e){q();var t=oe.threadID;return E(e,t),e[t]},useMemo:ne,useReducer:te,useRef:function(e){H=q();var t=(G=Y()).memoizedState;return null===t?(e={current:e},G.memoizedState=e):t},useState:function(e){return te(ee,e)},useLayoutEffect:function(){},useCallback:function(e,t){return ne((function(){return e}),t)},useImperativeHandle:ie,useEffect:ie,useDebugValue:ie,useDeferredValue:function(e){return q(),e},useTransition:function(){return q(),[function(e){e()},!1]},useOpaqueIdentifier:function(){return(oe.identifierPrefix||"")+"R:"+(oe.uniqueID++).toString(36)},useMutableSource:function(e,t){return q(),t(e._source)}},se="http://www.w3.org/1999/xhtml";function le(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"}}var ce={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},ue=r({menuitem:!0},ce),de={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},pe=["Webkit","ms","Moz","O"];Object.keys(de).forEach((function(e){pe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),de[t]=de[e]}))}));var he=/([A-Z])/g,fe=/^ms-/,me=i.Children.toArray,ge=S.ReactCurrentDispatcher,Ae={listing:!0,pre:!0,textarea:!0},ve=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ye={},we={};var be=Object.prototype.hasOwnProperty,_e={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function xe(e,t){if(void 0===e)throw Error(o(152,x(t)||"Component"))}function Se(e,t,n){function a(i,a){var s=a.prototype&&a.prototype.isReactComponent,l=function(e,t,n,r){if(r&&"object"===typeof(r=e.contextType)&&null!==r)return E(r,n),r[n];if(e=e.contextTypes){for(var i in n={},e)n[i]=t[i];t=n}else t=C;return t}(a,t,n,s),c=[],u=!1,d={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===c)return null},enqueueReplaceState:function(e,t){u=!0,c=[t]},enqueueSetState:function(e,t){if(null===c)return null;c.push(t)}};if(s){if(s=new a(i.props,l,d),"function"===typeof a.getDerivedStateFromProps){var p=a.getDerivedStateFromProps.call(null,i.props,s.state);null!=p&&(s.state=r({},s.state,p))}}else if(H={},s=a(i.props,l,d),null==(s=Z(a,i.props,s,l))||null==s.render)return void xe(e=s,a);if(s.props=i.props,s.context=l,s.updater=d,void 0===(d=s.state)&&(s.state=d=null),"function"===typeof s.UNSAFE_componentWillMount||"function"===typeof s.componentWillMount)if("function"===typeof s.componentWillMount&&"function"!==typeof a.getDerivedStateFromProps&&s.componentWillMount(),"function"===typeof s.UNSAFE_componentWillMount&&"function"!==typeof a.getDerivedStateFromProps&&s.UNSAFE_componentWillMount(),c.length){d=c;var h=u;if(c=null,u=!1,h&&1===d.length)s.state=d[0];else{p=h?d[0]:s.state;var f=!0;for(h=h?1:0;h=l))throw Error(o(304));var c=new Uint16Array(l);for(c.set(a),(T=c)[0]=r+1,a=r;a=s.children.length){var l=s.footer;if(""!==l&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===s.type)this.currentSelectValue=null;else if(null!=s.type&&null!=s.type.type&&s.type.type.$$typeof===u)this.popProvider(s.type);else if(s.type===h){this.suspenseDepth--;var c=r.pop();if(i){i=!1;var d=s.fallbackFrame;if(!d)throw Error(o(303));this.stack.push(d),r[this.suspenseDepth]+="\x3c!--$!--\x3e";continue}r[this.suspenseDepth]+=c}r[this.suspenseDepth]+=l}else{var p=s.children[s.childIndex++],f="";try{f+=this.render(p,s.context,s.domNamespace)}catch(m){if(null!=m&&"function"===typeof m.then)throw Error(o(294));throw m}r.length<=this.suspenseDepth&&r.push(""),r[this.suspenseDepth]+=f}}return r[0]}finally{ge.current=n,oe=t,J()}},t.render=function(e,t,n){if("string"===typeof e||"number"===typeof e)return""===(n=""+e)?"":this.makeStaticMarkup?j(n):this.previousWasTextNode?"\x3c!-- --\x3e"+j(n):(this.previousWasTextNode=!0,j(n));if(e=(t=Se(e,t,this.threadID)).child,t=t.context,null===e||!1===e)return"";if(!i.isValidElement(e)){if(null!=e&&null!=e.$$typeof){if((n=e.$$typeof)===a)throw Error(o(257));throw Error(o(258,n.toString()))}return e=me(e),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""}var A=e.type;if("string"===typeof A)return this.renderDOM(e,t,n);switch(A){case b:case w:case l:case c:case f:case s:return e=me(e.props.children),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case h:throw Error(o(294));case y:throw Error(o(343))}if("object"===typeof A&&null!==A)switch(A.$$typeof){case p:H={};var _=A.render(e.props,e.ref);return _=Z(A.render,e.props,_,e.ref),_=me(_),this.stack.push({type:null,domNamespace:n,children:_,childIndex:0,context:t,footer:""}),"";case m:return e=[i.createElement(A.type,r({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case u:return n={type:e,domNamespace:n,children:A=me(e.props.children),childIndex:0,context:t,footer:""},this.pushProvider(e),this.stack.push(n),"";case d:A=e.type,_=e.props;var x=this.threadID;return E(A,x),A=me(_.children(A[x])),this.stack.push({type:e,domNamespace:n,children:A,childIndex:0,context:t,footer:""}),"";case v:throw Error(o(338));case g:return A=(_=(A=e.type)._init)(A._payload),e=[i.createElement(A,r({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""}throw Error(o(130,null==A?A:typeof A,""))},t.renderDOM=function(e,t,n){var a=e.type.toLowerCase();if(n===se&&le(a),!ye.hasOwnProperty(a)){if(!ve.test(a))throw Error(o(65,a));ye[a]=!0}var s=e.props;if("input"===a)s=r({type:void 0},s,{defaultChecked:void 0,defaultValue:void 0,value:null!=s.value?s.value:s.defaultValue,checked:null!=s.checked?s.checked:s.defaultChecked});else if("textarea"===a){var l=s.value;if(null==l){l=s.defaultValue;var c=s.children;if(null!=c){if(null!=l)throw Error(o(92));if(Array.isArray(c)){if(!(1>=c.length))throw Error(o(93));c=c[0]}l=""+c}null==l&&(l="")}s=r({},s,{value:void 0,children:""+l})}else if("select"===a)this.currentSelectValue=null!=s.value?s.value:s.defaultValue,s=r({},s,{value:void 0});else if("option"===a){c=this.currentSelectValue;var u=function(e){if(void 0===e||null===e)return e;var t="";return i.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(s.children);if(null!=c){var d=null!=s.value?s.value+"":u;if(l=!1,Array.isArray(c)){for(var p=0;p":(b+=">",l="");e:{if(null!=(c=s.dangerouslySetInnerHTML)){if(null!=c.__html){c=c.__html;break e}}else if("string"===typeof(c=s.children)||"number"===typeof c){c=j(c);break e}c=null}return null!=c?(s=[],Ae.hasOwnProperty(a)&&"\n"===c.charAt(0)&&(b+="\n"),b+=c):s=me(s.children),e=e.type,n=null==n||"http://www.w3.org/1999/xhtml"===n?le(e):"http://www.w3.org/2000/svg"===n&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":n,this.stack.push({domNamespace:n,type:a,children:s,childIndex:0,context:t,footer:l}),this.previousWasTextNode=!1,b},e}();t.renderToStaticMarkup=function(e,t){e=new Ce(e,!0,t);try{return e.read(1/0)}finally{e.destroy()}}},72575(e,t,n){"use strict";var r=n(17588),i=n(73588),o=n(51862);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n