diff --git a/CHANGELOG.md b/CHANGELOG.md index 1bd4377ca..678378393 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). +## [v1.5.5](https://github.com/netlify/netlify-identity-widget/compare/v1.5.4...v1.5.5) - 2019-06-07 + +### Merged + +- fix: ensure dev settings for url is only visible on dev [`#191`](https://github.com/netlify/netlify-identity-widget/pull/191) + +### Commits + +- prettifying [`528cdab`](https://github.com/netlify/netlify-identity-widget/commit/528cdab999335d111add757cc0688342790a9a6e) +- fix: extrapolate dev mode check into function that saves to store [`c992ce4`](https://github.com/netlify/netlify-identity-widget/commit/c992ce4b718bac0ab6a78cab9ef6b45fde17c667) +- fix: ensure isLocal boolean is set on init [`5b46e0f`](https://github.com/netlify/netlify-identity-widget/commit/5b46e0fd6be5f65dd99dd9d4ca1f8f71676bf3e8) + ## [v1.5.4](https://github.com/netlify/netlify-identity-widget/compare/v1.5.3...v1.5.4) - 2019-05-22 ### Commits diff --git a/package.json b/package.json index 201d40b35..a918bc457 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "netlify-identity-widget", "description": "Netlify Identity widget for easy integration", - "version": "1.5.4", + "version": "1.5.5", "author": "Matt Biilmann ", "bugs": { "url": "https://github.com/netlify/netlify-identity-widget/issues" diff --git a/releases/v1/netlify-identity-widget.js b/releases/v1/netlify-identity-widget.js index 335d33f98..2c1950077 100644 --- a/releases/v1/netlify-identity-widget.js +++ b/releases/v1/netlify-identity-widget.js @@ -1,2 +1,2 @@ -!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=9)}([function(e,t,n){"use strict";function r(e,t){var n,r,o,i,a=A;for(i=arguments.length;i-- >2;)k.push(arguments[i]);for(t&&null!=t.children&&(k.length||k.push(t.children),delete t.children);k.length;)if((r=k.pop())&&void 0!==r.pop)for(i=r.length;i--;)k.push(r[i]);else"boolean"==typeof r&&(r=null),(o="function"!=typeof e)&&(null==r?r="":"number"==typeof r?r+="":"string"!=typeof r&&(o=!1)),o&&n?a[a.length-1]+=r:a===A?a=[r]:a.push(r),n=o;var s=new E;return s.nodeName=e,s.children=a,s.attributes=null==t?void 0:t,s.key=null==t?void 0:t.key,void 0!==L.vnode&&L.vnode(s),s}function o(e,t){for(var n in t)e[n]=t[n];return e}function i(e,t){return r(e.nodeName,o(o({},e.attributes),t),arguments.length>2?[].slice.call(arguments,2):e.children)}function a(e){!e._dirty&&(e._dirty=!0)&&1==C.push(e)&&(L.debounceRendering||S)(s)}function s(){var e,t=C;for(C=[];e=t.pop();)e._dirty&&w(e)}function u(e,t,n){return"string"==typeof t||"number"==typeof t?void 0!==e.splitText:"string"==typeof t.nodeName?!e._componentConstructor&&c(e,t.nodeName):n||e._componentConstructor===t.nodeName}function c(e,t){return e.normalizedNodeName===t||e.nodeName.toLowerCase()===t.toLowerCase()}function M(e){var t=o({},e.attributes);t.children=e.children;var n=e.nodeName.defaultProps;if(void 0!==n)for(var r in n)void 0===t[r]&&(t[r]=n[r]);return t}function l(e,t){var n=t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return n.normalizedNodeName=e,n}function p(e){var t=e.parentNode;t&&t.removeChild(e)}function f(e,t,n,r,o){if("className"===t&&(t="class"),"key"===t);else if("ref"===t)n&&n(null),r&&r(e);else if("class"!==t||o)if("style"===t){if(r&&"string"!=typeof r&&"string"!=typeof n||(e.style.cssText=r||""),r&&"object"==typeof r){if("string"!=typeof n)for(var i in n)i in r||(e.style[i]="");for(var i in r)e.style[i]="number"==typeof r[i]&&!1===U.test(i)?r[i]+"px":r[i]}}else if("dangerouslySetInnerHTML"===t)r&&(e.innerHTML=r.__html||"");else if("o"==t[0]&&"n"==t[1]){var a=t!==(t=t.replace(/Capture$/,""));t=t.toLowerCase().substring(2),r?n||e.addEventListener(t,y,a):e.removeEventListener(t,y,a),(e._listeners||(e._listeners={}))[t]=r}else if("list"!==t&&"type"!==t&&!o&&t in e){try{e[t]=null==r?"":r}catch(e){}null!=r&&!1!==r||"spellcheck"==t||e.removeAttribute(t)}else{var s=o&&t!==(t=t.replace(/^xlink:?/,""));null==r||!1===r?s?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.removeAttribute(t):"function"!=typeof r&&(s?e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),r):e.setAttribute(t,r))}else e.className=r||""}function y(e){return this._listeners[e.type](L.event&&L.event(e)||e)}function d(){for(var e;e=_.pop();)L.afterMount&&L.afterMount(e),e.componentDidMount&&e.componentDidMount()}function N(e,t,n,r,o,i){Q++||(Y=null!=o&&void 0!==o.ownerSVGElement,P=null!=e&&!("__preactattr_"in e));var a=g(e,t,n,r,i);return o&&a.parentNode!==o&&o.appendChild(a),--Q||(P=!1,i||d()),a}function g(e,t,n,r,o){var i=e,a=Y;if(null!=t&&"boolean"!=typeof t||(t=""),"string"==typeof t||"number"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||o)?e.nodeValue!=t&&(e.nodeValue=t):(i=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(i,e),h(e,!0))),i.__preactattr_=!0,i;var s=t.nodeName;if("function"==typeof s)return m(e,t,n,r);if(Y="svg"===s||"foreignObject"!==s&&Y,s+="",(!e||!c(e,s))&&(i=l(s,Y),e)){for(;e.firstChild;)i.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(i,e),h(e,!0)}var u=i.firstChild,M=i.__preactattr_,p=t.children;if(null==M){M=i.__preactattr_={};for(var f=i.attributes,y=f.length;y--;)M[f[y].name]=f[y].value}return!P&&p&&1===p.length&&"string"==typeof p[0]&&null!=u&&void 0!==u.splitText&&null==u.nextSibling?u.nodeValue!=p[0]&&(u.nodeValue=p[0]):(p&&p.length||null!=u)&&D(i,p,n,r,P||null!=M.dangerouslySetInnerHTML),T(i,t.attributes,M),Y=a,i}function D(e,t,n,r,o){var i,a,s,c,M,l=e.childNodes,f=[],y={},d=0,N=0,D=l.length,j=0,T=t?t.length:0;if(0!==D)for(var z=0;D>z;z++){var b=l[z],v=b.__preactattr_,w=T&&v?b._component?b._component.__key:v.key:null;null!=w?(d++,y[w]=b):(v||(void 0!==b.splitText?!o||b.nodeValue.trim():o))&&(f[j++]=b)}if(0!==T)for(var z=0;T>z;z++){c=t[z],M=null;var w=c.key;if(null!=w)d&&void 0!==y[w]&&(M=y[w],y[w]=void 0,d--);else if(j>N)for(i=N;j>i;i++)if(void 0!==f[i]&&u(a=f[i],c,o)){M=a,f[i]=void 0,i===j-1&&j--,i===N&&N++;break}M=g(M,c,n,r),s=l[z],M&&M!==e&&M!==s&&(null==s?e.appendChild(M):M===s.nextSibling?p(s):e.insertBefore(M,s))}if(d)for(var z in y)void 0!==y[z]&&h(y[z],!1);for(;j>=N;)void 0!==(M=f[j--])&&h(M,!1)}function h(e,t){var n=e._component;n?x(n):(null!=e.__preactattr_&&e.__preactattr_.ref&&e.__preactattr_.ref(null),!1!==t&&null!=e.__preactattr_||p(e),j(e))}function j(e){for(e=e.lastChild;e;){var t=e.previousSibling;h(e,!0),e=t}}function T(e,t,n){var r;for(r in n)t&&null!=t[r]||null==n[r]||f(e,r,n[r],n[r]=void 0,Y);for(r in t)"children"===r||"innerHTML"===r||r in n&&t[r]===("value"===r||"checked"===r?e[r]:n[r])||f(e,r,n[r],n[r]=t[r],Y)}function z(e,t,n){var r,o=B.length;for(e.prototype&&e.prototype.render?(r=new e(t,n),O.call(r,t,n)):(r=new O(t,n),r.constructor=e,r.render=b);o--;)if(B[o].constructor===e)return r.nextBase=B[o].nextBase,B.splice(o,1),r;return r}function b(e,t,n){return this.constructor(e,n)}function v(e,t,n,r,o){e._disable||(e._disable=!0,e.__ref=t.ref,e.__key=t.key,delete t.ref,delete t.key,void 0===e.constructor.getDerivedStateFromProps&&(!e.base||o?e.componentWillMount&&e.componentWillMount():e.componentWillReceiveProps&&e.componentWillReceiveProps(t,r)),r&&r!==e.context&&(e.prevContext||(e.prevContext=e.context),e.context=r),e.prevProps||(e.prevProps=e.props),e.props=t,e._disable=!1,0!==n&&(1!==n&&!1===L.syncComponentUpdates&&e.base?a(e):w(e,1,o)),e.__ref&&e.__ref(e))}function w(e,t,n,r){if(!e._disable){var i,a,s,u=e.props,c=e.state,l=e.context,p=e.prevProps||u,f=e.prevState||c,y=e.prevContext||l,g=e.base,D=e.nextBase,j=g||D,T=e._component,b=!1,m=y;if(e.constructor.getDerivedStateFromProps&&(c=o(o({},c),e.constructor.getDerivedStateFromProps(u,c)),e.state=c),g&&(e.props=p,e.state=f,e.context=y,2!==t&&e.shouldComponentUpdate&&!1===e.shouldComponentUpdate(u,c,l)?b=!0:e.componentWillUpdate&&e.componentWillUpdate(u,c,l),e.props=u,e.state=c,e.context=l),e.prevProps=e.prevState=e.prevContext=e.nextBase=null,e._dirty=!1,!b){i=e.render(u,c,l),e.getChildContext&&(l=o(o({},l),e.getChildContext())),g&&e.getSnapshotBeforeUpdate&&(m=e.getSnapshotBeforeUpdate(p,f));var O,I,E=i&&i.nodeName;if("function"==typeof E){var k=M(i);a=T,a&&a.constructor===E&&k.key==a.__key?v(a,k,1,l,!1):(O=a,e._component=a=z(E,k,l),a.nextBase=a.nextBase||D,a._parentComponent=e,v(a,k,0,l,!1),w(a,1,n,!0)),I=a.base}else s=j,O=T,O&&(s=e._component=null),(j||1===t)&&(s&&(s._component=null),I=N(s,i,l,n||!g,j&&j.parentNode,!0));if(j&&I!==j&&a!==T){var A=j.parentNode;A&&I!==A&&(A.replaceChild(I,j),O||(j._component=null,h(j,!1)))}if(O&&x(O),e.base=I,I&&!r){for(var S=e,U=e;U=U._parentComponent;)(S=U).base=I;I._component=S,I._componentConstructor=S.constructor}}for(!g||n?_.unshift(e):b||(e.componentDidUpdate&&e.componentDidUpdate(p,f,m),L.afterUpdate&&L.afterUpdate(e));e._renderCallbacks.length;)e._renderCallbacks.pop().call(e);Q||r||d()}}function m(e,t,n,r){for(var o=e&&e._component,i=o,a=e,s=o&&e._componentConstructor===t.nodeName,u=s,c=M(t);o&&!u&&(o=o._parentComponent);)u=o.constructor===t.nodeName;return o&&u&&(!r||o._component)?(v(o,c,3,n,r),e=o.base):(i&&!s&&(x(i),e=a=null),o=z(t.nodeName,c,n),e&&!o.nextBase&&(o.nextBase=e,a=null),v(o,c,1,n,r),e=o.base,a&&e!==a&&(a._component=null,h(a,!1))),e}function x(e){L.beforeUnmount&&L.beforeUnmount(e);var t=e.base;e._disable=!0,e.componentWillUnmount&&e.componentWillUnmount(),e.base=null;var n=e._component;n?x(n):t&&(t.__preactattr_&&t.__preactattr_.ref&&t.__preactattr_.ref(null),e.nextBase=t,p(t),B.push(e),j(t)),e.__ref&&e.__ref(null)}function O(e,t){this._dirty=!0,this.context=t,this.props=e,this.state=this.state||{},this._renderCallbacks=[]}function I(e,t,n){return N(n,e,{},!1,t,!1)}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"h",function(){return r}),n.d(t,"createElement",function(){return r}),n.d(t,"cloneElement",function(){return i}),n.d(t,"Component",function(){return O}),n.d(t,"render",function(){return I}),n.d(t,"rerender",function(){return s}),n.d(t,"options",function(){return L});var E=function(){},L={},k=[],A=[],S="function"==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):setTimeout,U=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,C=[],_=[],Q=0,Y=!1,P=!1,B=[];o(O.prototype,{setState:function(e,t){this.prevState||(this.prevState=this.state),this.state=o(o({},this.state),"function"==typeof e?e(this.state,this.props):e),t&&this._renderCallbacks.push(t),a(this)},forceUpdate:function(e){e&&this._renderCallbacks.push(e),w(this,2)},render:function(){}}),t.default={h:r,createElement:r,cloneElement:i,Component:O,render:I,rerender:s,options:L}},function(e,t,n){"use strict";(function(e){function n(e,t){function n(){this.constructor=e}tn(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function r(e){return e.interceptors&&e.interceptors.length>0}function o(e,t){var n=e.interceptors||(e.interceptors=[]);return n.push(t),Oe(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function i(e,t){var n=wt();try{var r=e.interceptors;if(r)for(var o=0,i=r.length;i>o&&(t=r[o](t),me(!t||t.type,"Intercept handlers should return nothing or a change object"),t);o++);return t}finally{mt(n)}}function a(e){return e.changeListeners&&e.changeListeners.length>0}function s(e,t){var n=e.changeListeners||(e.changeListeners=[]);return n.push(t),Oe(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function u(e,t){var n=wt(),r=e.changeListeners;if(r){r=r.slice();for(var o=0,i=r.length;i>o;o++)r[o](t);mt(n)}}function c(){return!!Vn.spyListeners.length}function M(e){if(Vn.spyListeners.length)for(var t=Vn.spyListeners,n=0,r=t.length;r>n;n++)t[n](e)}function l(e){M(Ae({},e,{spyReportStart:!0}))}function p(e){M(e?Ae({},e,an):an)}function f(e){return Vn.spyListeners.push(e),Oe(function(){var t=Vn.spyListeners.indexOf(e);-1!==t&&Vn.spyListeners.splice(t,1)})}function y(){return"function"==typeof Symbol&&Symbol.iterator||"@@iterator"}function d(e){me(!0!==e[sn],"Illegal state: cannot recycle array as iterator"),Ce(e,sn,!0);var t=-1;return Ce(e,"next",function(){return t++,{done:t>=this.length,value:this.length>t?this[t]:void 0}}),e}function N(e,t){Ce(e,y(),t)}function g(e){return{enumerable:!1,configurable:!1,get:function(){return this.get(e)},set:function(t){this.set(e,t)}}}function D(e){Object.defineProperty(pn.prototype,""+e,g(e))}function h(e){for(var t=cn;e>t;t++)D(t);cn=e}function j(e){return Le(e)&&yn(e.$mobx)}function T(e){return Dn[e]}function z(e,t){me("function"==typeof t,T("m026")),me("string"==typeof e&&e.length>0,"actions should have valid names, got: '"+e+"'");var n=function(){return b(e,t,this,arguments)};return n.originalFn=t,n.isMobxAction=!0,n}function b(e,t,n,r){var o=v(e,t,n,r);try{return t.apply(n,r)}finally{w(o)}}function v(e,t,n,r){var o=c()&&!!e,i=0;if(o){i=Date.now();var a=r&&r.length||0,s=Array(a);if(a>0)for(var u=0;a>u;u++)s[u]=r[u];l({type:"action",name:e,fn:t,object:n,arguments:s})}var M=wt();return ct(),{prevDerivation:M,prevAllowStateChanges:I(!0),notifySpy:o,startTime:i}}function w(e){E(e.prevAllowStateChanges),Mt(),mt(e.prevDerivation),e.notifySpy&&p({time:Date.now()-e.startTime})}function m(e){me(null===Vn.trackingDerivation,T("m028")),Vn.strictMode=e,Vn.allowStateChanges=!e}function x(){return Vn.strictMode}function O(e,t){var n,r=I(e);try{n=t()}finally{E(r)}return n}function I(e){var t=Vn.allowStateChanges;return Vn.allowStateChanges=e,t}function E(e){Vn.allowStateChanges=e}function L(e,t,n,r,o){function i(i,a,s,u,c){if(void 0===c&&(c=0),me(o||S(arguments),"This function is a decorator, but it wasn't invoked like a decorator"),s){Se(i,"__mobxLazyInitializers")||Ue(i,"__mobxLazyInitializers",i.__mobxLazyInitializers&&i.__mobxLazyInitializers.slice()||[]);var M=s.value,l=s.initializer;return i.__mobxLazyInitializers.push(function(t){e(t,a,l?l.call(t):M,u,s)}),{enumerable:r,configurable:!0,get:function(){return!0!==this.__mobxDidRunLazyInitializers&&A(this),t.call(this,a)},set:function(e){!0!==this.__mobxDidRunLazyInitializers&&A(this),n.call(this,a,e)}}}var p={enumerable:r,configurable:!0,get:function(){return this.__mobxInitializedProps&&!0===this.__mobxInitializedProps[a]||k(this,a,void 0,e,u,s),t.call(this,a)},set:function(t){this.__mobxInitializedProps&&!0===this.__mobxInitializedProps[a]?n.call(this,a,t):k(this,a,t,e,u,s)}};return(3>arguments.length||5===arguments.length&&3>c)&&Object.defineProperty(i,a,p),p}return o?function(){if(S(arguments))return i.apply(null,arguments);var e=arguments,t=arguments.length;return function(n,r,o){return i(n,r,o,e,t)}}:i}function k(e,t,n,r,o,i){Se(e,"__mobxInitializedProps")||Ue(e,"__mobxInitializedProps",{}),e.__mobxInitializedProps[t]=!0,r(e,t,n,o,i)}function A(e){!0!==e.__mobxDidRunLazyInitializers&&e.__mobxLazyInitializers&&(Ue(e,"__mobxDidRunLazyInitializers",!0),e.__mobxDidRunLazyInitializers&&e.__mobxLazyInitializers.forEach(function(t){return t(e)}))}function S(e){return(2===e.length||3===e.length)&&"string"==typeof e[1]}function U(e){return function(t,n,r){if(r&&"function"==typeof r.value)return r.value=z(e,r.value),r.enumerable=!1,r.configurable=!0,r;if(void 0!==r&&void 0!==r.get)throw Error("[mobx] action is not expected to be used with getters");return hn(e).apply(this,arguments)}}function C(e,t,n){var r="string"==typeof e?e:e.name||"",o="function"==typeof e?e:t,i="function"==typeof e?t:n;return me("function"==typeof o,T("m002")),me(0===o.length,T("m003")),me("string"==typeof r&&r.length>0,"actions should have valid names, got: '"+r+"'"),b(r,o,i,void 0)}function _(e){return"function"==typeof e&&!0===e.isMobxAction}function Q(e,t,n){var r=function(){return b(t,n,e,arguments)};r.isMobxAction=!0,Ue(e,t,r)}function Y(e,t){return P(e,t)}function P(e,t,n,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!==e)return t!==t;var o=void 0===e?"undefined":en(e);return("function"===o||"object"===o||"object"==(void 0===t?"undefined":en(t)))&&B(e,t,n,r)}function B(e,t,n,r){e=R(e),t=R(t);var o=zn.call(e);if(o!==zn.call(t))return!1;switch(o){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t)}var i="[object Array]"===o;if(!i){if("object"!=(void 0===e?"undefined":en(e))||"object"!=(void 0===t?"undefined":en(t)))return!1;var a=e.constructor,s=t.constructor;if(a!==s&&!("function"==typeof a&&a instanceof a&&"function"==typeof s&&s instanceof s)&&"constructor"in e&&"constructor"in t)return!1}n=n||[],r=r||[];for(var u=n.length;u--;)if(n[u]===e)return r[u]===t;if(n.push(e),r.push(t),i){if((u=e.length)!==t.length)return!1;for(;u--;)if(!P(e[u],t[u],n,r))return!1}else{var c,M=Object.keys(e);if(u=M.length,Object.keys(t).length!==u)return!1;for(;u--;)if(c=M[u],!G(t,c)||!P(e[c],t[c],n,r))return!1}return n.pop(),r.pop(),!0}function R(e){return j(e)?e.peek():Yn(e)?e.entries():Re(e)?He(e.entries()):e}function G(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function H(e,t){return e===t}function Z(e,t){return Y(e,t)}function V(e,t){return Pe(e,t)||H(e,t)}function W(e,t,n){function r(){i(s)}var o,i,a;"string"==typeof e?(o=e,i=t,a=n):(o=e.name||"Autorun@"+ve(),i=e,a=t),me("function"==typeof i,T("m004")),me(!1===_(i),T("m005")),a&&(i=i.bind(a));var s=new er(o,function(){this.track(r)});return s.schedule(),s.getDisposer()}function J(e,t,n,r){var o,i,a,s;return"string"==typeof e?(o=e,i=t,a=n,s=r):(o="When@"+ve(),i=e,a=t,s=n),W(o,function(e){if(i.call(s)){e.dispose();var t=wt();a.call(s),mt(t)}})}function F(e,t,n,r){function o(){a(M)}var i,a,s,u;"string"==typeof e?(i=e,a=t,s=n,u=r):(i=e.name||"AutorunAsync@"+ve(),a=e,s=t,u=n),me(!1===_(a),T("m006")),void 0===s&&(s=1),u&&(a=a.bind(u));var c=!1,M=new er(i,function(){c||(c=!0,setTimeout(function(){c=!1,M.isDisposed||M.track(o)},s))});return M.schedule(),M.getDisposer()}function $(e,t,n){function r(){if(!c.isDisposed){var n=!1;c.track(function(){var t=e(c);n=a||!u(i,t),i=t}),a&&o.fireImmediately&&t(i,c),a||!0!==n||t(i,c),a&&(a=!1)}}arguments.length>3&&we(T("m007")),ye(e)&&we(T("m008"));var o;o="object"===(void 0===n?"undefined":en(n))?n:{},o.name=o.name||e.name||t.name||"Reaction@"+ve(),o.fireImmediately=!0===n||!0===o.fireImmediately,o.delay=o.delay||0,o.compareStructural=o.compareStructural||o.struct||!1,t=Tn(o.name,o.context?t.bind(o.context):t),o.context&&(e=e.bind(o.context));var i,a=!0,s=!1,u=o.equals?o.equals:o.compareStructural||o.struct?bn.structural:bn.default,c=new er(o.name,function(){a||1>o.delay?r():s||(s=!0,setTimeout(function(){s=!1,r()},o.delay))});return c.schedule(),c.getDisposer()}function q(e,t){if(ae(e)&&e.hasOwnProperty("$mobx"))return e.$mobx;me(Object.isExtensible(e),T("m035")),ke(e)||(t=(e.constructor.name||"ObservableObject")+"@"+ve()),t||(t="ObservableObject@"+ve());var n=new mn(e,t);return Ce(e,"$mobx",n),n}function X(e,t,n,r){if(e.values[t]&&!wn(e.values[t]))return me("value"in n,"The property "+t+" in "+e.name+" is already observable, cannot redefine it as computed property"),void(e.target[t]=n.value);if("value"in n)if(ye(n.value)){var o=n.value;K(e,t,o.initialValue,o.enhancer)}else _(n.value)&&!0===n.value.autoBind?Q(e.target,t,n.value.originalFn):wn(n.value)?te(e,t,n.value):K(e,t,n.value,r);else ee(e,t,n.get,n.set,bn.default,!0)}function K(e,t,n,o){if(Qe(e.target,t),r(e)){var a=i(e,{object:e.target,name:t,type:"add",newValue:n});if(!a)return;n=a.newValue}n=(e.values[t]=new Nn(n,o,e.name+"."+t,!1)).value,Object.defineProperty(e.target,t,ne(t)),ie(e,e.target,t,n)}function ee(e,t,n,r,o,i){i&&Qe(e.target,t),e.values[t]=new vn(n,e.target,o,e.name+"."+t,r),i&&Object.defineProperty(e.target,t,re(t))}function te(e,t,n){n.name=e.name+"."+t,n.scope||(n.scope=e.target),e.values[t]=n,Object.defineProperty(e.target,t,re(t))}function ne(e){return xn[e]||(xn[e]={configurable:!0,enumerable:!0,get:function(){return this.$mobx.values[e].get()},set:function(t){oe(this,e,t)}})}function re(e){return On[e]||(On[e]={configurable:!0,enumerable:!1,get:function(){return this.$mobx.values[e].get()},set:function(t){return this.$mobx.values[e].set(t)}})}function oe(e,t,n){var o=e.$mobx,s=o.values[t];if(r(o)){var M=i(o,{type:"update",object:e,name:t,newValue:n});if(!M)return;n=M.newValue}if((n=s.prepareNewValue(n))!==dn){var f=a(o),y=c(),M=f||y?{type:"update",object:e,oldValue:s.value,name:t,newValue:n}:null;y&&l(M),s.setNewValue(n),f&&u(o,M),y&&p()}}function ie(e,t,n,r){var o=a(e),i=c(),s=o||i?{type:"add",object:t,name:n,newValue:r}:null;i&&l(s),o&&u(e,s),i&&p()}function ae(e){return!!Le(e)&&(A(e),In(e.$mobx))}function se(e,t){if(null===e||void 0===e)return!1;if(void 0!==t){if(j(e)||Yn(e))throw Error(T("m019"));if(ae(e)){var n=e.$mobx;return n.values&&!!n.values[t]}return!1}return ae(e)||!!e.$mobx||on(e)||rr(e)||wn(e)}function ue(e){return me(!!e,":("),L(function(t,n,r,o,i){Qe(t,n),me(!i||!i.get,T("m022")),K(q(t,void 0),n,r,e)},function(e){var t=this.$mobx.values[e];if(void 0!==t)return t.get()},function(e,t){oe(this,e,t)},!0,!1)}function ce(e){for(var t=[],n=1;arguments.length>n;n++)t[n-1]=arguments[n];return le(e,Ne,t)}function Me(e){for(var t=[],n=1;arguments.length>n;n++)t[n-1]=arguments[n];return le(e,De,t)}function le(e,t,n){me(arguments.length>=2,T("m014")),me("object"===(void 0===e?"undefined":en(e)),T("m015")),me(!Yn(e),T("m016")),n.forEach(function(e){me("object"===(void 0===e?"undefined":en(e)),T("m017")),me(!se(e),T("m018"))});for(var r=q(e),o={},i=n.length-1;i>=0;i--){var a=n[i];for(var s in a)if(!0!==o[s]&&Se(a,s)){if(o[s]=!0,e===a&&!_e(e,s))continue;var u=Object.getOwnPropertyDescriptor(a,s);X(r,s,u,t)}}return e}function pe(e){if(void 0===e&&(e=void 0),"string"==typeof arguments[1])return En.apply(null,arguments);if(me(1>=arguments.length,T("m021")),me(!ye(e),T("m020")),se(e))return e;var t=Ne(e,void 0,void 0);return t!==e?t:Cn.box(e)}function fe(e){we("Expected one or two arguments to observable."+e+". Did you accidentally try to use observable."+e+" as decorator?")}function ye(e){return"object"===(void 0===e?"undefined":en(e))&&null!==e&&!0===e.isMobxModifierDescriptor}function de(e,t){return me(!ye(t),"Modifiers cannot be nested"),{isMobxModifierDescriptor:!0,initialValue:t,enhancer:e}}function Ne(e,t,n){return ye(e)&&we("You tried to assign a modifier wrapped value to a collection, please define modifiers when creating the collection, not when modifying it"),se(e)?e:Array.isArray(e)?Cn.array(e,n):ke(e)?Cn.object(e,n):Re(e)?Cn.map(e,n):e}function ge(e,t,n){return ye(e)&&we("You tried to assign a modifier wrapped value to a collection, please define modifiers when creating the collection, not when modifying it"),void 0===e||null===e?e:ae(e)||j(e)||Yn(e)?e:Array.isArray(e)?Cn.shallowArray(e,n):ke(e)?Cn.shallowObject(e,n):Re(e)?Cn.shallowMap(e,n):we("The shallow modifier / decorator can only used in combination with arrays, objects and maps")}function De(e){return e}function he(e,t,n){if(Y(e,t))return t;if(se(e))return e;if(Array.isArray(e))return new pn(e,he,n);if(Re(e))return new Qn(e,he,n);if(ke(e)){var r={};return q(r,n),le(r,he,[e]),r}return e}function je(e,t){return Y(e,t)?t:e}function Te(e,t){void 0===t&&(t=void 0),ct();try{return e.apply(t)}finally{Mt()}}function ze(e){return xe("`mobx.map` is deprecated, use `new ObservableMap` or `mobx.observable.map` instead"),Cn.map(e)}function be(){return"undefined"!=typeof window?window:e}function ve(){return++Vn.mobxGuid}function we(e,t){throw me(!1,e,t),"X"}function me(e,t,n){if(!e)throw Error("[mobx] Invariant failed: "+t+(n?" in '"+n+"'":""))}function xe(e){return-1===Bn.indexOf(e)&&(Bn.push(e),console.error("[mobx] Deprecated: "+e),!0)}function Oe(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}function Ie(e){var t=[];return e.forEach(function(e){-1===t.indexOf(e)&&t.push(e)}),t}function Ee(e,t,n){return void 0===t&&(t=100),void 0===n&&(n=" - "),e?e.slice(0,t).join(n)+(e.length>t?" (... and "+(e.length-t)+"more)":""):""}function Le(e){return null!==e&&"object"===(void 0===e?"undefined":en(e))}function ke(e){if(null===e||"object"!==(void 0===e?"undefined":en(e)))return!1;var t=Object.getPrototypeOf(e);return t===Object.prototype||null===t}function Ae(){for(var e=arguments[0],t=1,n=arguments.length;n>t;t++){var r=arguments[t];for(var o in r)Se(r,o)&&(e[o]=r[o])}return e}function Se(e,t){return Gn.call(e,t)}function Ue(e,t,n){Object.defineProperty(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function Ce(e,t,n){Object.defineProperty(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function _e(e,t){var n=Object.getOwnPropertyDescriptor(e,t);return!n||!1!==n.configurable&&!1!==n.writable}function Qe(e,t){me(_e(e,t),"Cannot make property '"+t+"' observable, it is not configurable and writable in the target object")}function Ye(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return Le(e)&&!0===e[n]}}function Pe(e,t){return"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function Be(e){return Array.isArray(e)||j(e)}function Re(e){return void 0!==be().Map&&e instanceof be().Map}function Ge(e){return ke(e)?Object.keys(e):Array.isArray(e)?e.map(function(e){return e[0]}):Re(e)?Array.from(e.keys()):Yn(e)?e.keys():we("Cannot get keys from "+e)}function He(e){for(var t=[];;){var n=e.next();if(n.done)break;t.push(n.value)}return t}function Ze(){return"function"==typeof Symbol&&Symbol.toPrimitive||"@@toPrimitive"}function Ve(e){return null===e?null:"object"===(void 0===e?"undefined":en(e))?""+e:e}function We(){Jn=!0,be().__mobxInstanceCount--}function Je(){xe("Using `shareGlobalState` is not recommended, use peer dependencies instead. See https://github.com/mobxjs/mobx/issues/1082 for details."),Wn=!0;var e=be(),t=Vn;if(e.__mobservableTrackingStack||e.__mobservableViewStack)throw Error("[mobx] An incompatible version of mobservable is already loaded.");if(e.__mobxGlobal&&e.__mobxGlobal.version!==t.version)throw Error("[mobx] An incompatible version of mobx is already loaded.");e.__mobxGlobal?Vn=e.__mobxGlobal:e.__mobxGlobal=t}function Fe(){return Vn}function $e(){Vn.resetId++;var e=new Zn;for(var t in e)-1===Hn.indexOf(t)&&(Vn[t]=e[t]);Vn.allowStateChanges=!Vn.strictMode}function qe(e,t){if("object"===(void 0===e?"undefined":en(e))&&null!==e){if(j(e))return me(void 0===t,T("m036")),e.$mobx.atom;if(Yn(e)){var n=e;if(void 0===t)return qe(n._keys);var r=n._data[t]||n._hasMap[t];return me(!!r,"the entry '"+t+"' does not exist in the observable map '"+Ke(e)+"'"),r}if(A(e),ae(e)){if(!t)return we("please specify a property");var r=e.$mobx.values[t];return me(!!r,"no observable property '"+t+"' found on the observable object '"+Ke(e)+"'"),r}if(on(e)||wn(e)||rr(e))return e}else if("function"==typeof e&&rr(e.$mobx))return e.$mobx;return we("Cannot obtain atom from "+e)}function Xe(e,t){return me(e,"Expecting some object"),void 0!==t?Xe(qe(e,t)):on(e)||wn(e)||rr(e)?e:Yn(e)?e:(A(e),e.$mobx?e.$mobx:void me(!1,"Cannot obtain administration from "+e))}function Ke(e,t){var n;return n=void 0!==t?qe(e,t):ae(e)||Yn(e)?Xe(e):qe(e),n.name}function et(e,t){return tt(qe(e,t))}function tt(e){var t={name:e.name};return e.observing&&e.observing.length>0&&(t.dependencies=Ie(e.observing).map(tt)),t}function nt(e,t){return rt(qe(e,t))}function rt(e){var t={name:e.name};return ot(e)&&(t.observers=it(e).map(rt)),t}function ot(e){return e.observers&&e.observers.length>0}function it(e){return e.observers}function at(e,t){var n=e.observers.length;n&&(e.observersIndexes[t.__mapid]=n),e.observers[n]=t,e.lowestObserverState>t.dependenciesState&&(e.lowestObserverState=t.dependenciesState)}function st(e,t){if(1===e.observers.length)e.observers.length=0,ut(e);else{var n=e.observers,r=e.observersIndexes,o=n.pop();if(o!==t){var i=r[t.__mapid]||0;i?r[o.__mapid]=i:delete r[o.__mapid],n[i]=o}delete r[t.__mapid]}}function ut(e){e.isPendingUnobservation||(e.isPendingUnobservation=!0,Vn.pendingUnobservations.push(e))}function ct(){Vn.inBatch++}function Mt(){if(0==--Vn.inBatch){St();for(var e=Vn.pendingUnobservations,t=0;e.length>t;t++){var n=e[t];n.isPendingUnobservation=!1,0===n.observers.length&&n.onBecomeUnobserved()}Vn.pendingUnobservations=[]}}function lt(e){var t=Vn.trackingDerivation;null!==t?t.runId!==e.lastAccessedBy&&(e.lastAccessedBy=t.runId,t.newObserving[t.unboundDepsCount++]=e):0===e.observers.length&&ut(e)}function pt(e){if(e.lowestObserverState!==qn.STALE){e.lowestObserverState=qn.STALE;for(var t=e.observers,n=t.length;n--;){var r=t[n];r.dependenciesState===qn.UP_TO_DATE&&(r.isTracing!==Xn.NONE&&dt(r,e),r.onBecomeStale()),r.dependenciesState=qn.STALE}}}function ft(e){if(e.lowestObserverState!==qn.STALE){e.lowestObserverState=qn.STALE;for(var t=e.observers,n=t.length;n--;){var r=t[n];r.dependenciesState===qn.POSSIBLY_STALE?r.dependenciesState=qn.STALE:r.dependenciesState===qn.UP_TO_DATE&&(e.lowestObserverState=qn.UP_TO_DATE)}}}function yt(e){if(e.lowestObserverState===qn.UP_TO_DATE){e.lowestObserverState=qn.POSSIBLY_STALE;for(var t=e.observers,n=t.length;n--;){var r=t[n];r.dependenciesState===qn.UP_TO_DATE&&(r.dependenciesState=qn.POSSIBLY_STALE,r.isTracing!==Xn.NONE&&dt(r,e),r.onBecomeStale())}}}function dt(e,t){if(console.log("[mobx.trace] '"+e.name+"' is invalidated due to a change in: '"+t.name+"'"),e.isTracing===Xn.BREAK){var n=[];Nt(et(e),n,1),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 vn?""+e.derivation:"")+"\n\nThe dependencies for this derivation are:\n\n"+n.join("\n")+"\n*/\n ")()}}function Nt(e,t,n){if(t.length>=1e3)return void t.push("(and many more)");t.push(""+Array(n).join("\t")+e.name),e.dependencies&&e.dependencies.forEach(function(e){return Nt(e,t,n+1)})}function gt(e){return e instanceof Kn}function Dt(e){switch(e.dependenciesState){case qn.UP_TO_DATE:return!1;case qn.NOT_TRACKING:case qn.STALE:return!0;case qn.POSSIBLY_STALE:for(var t=wt(),n=e.observing,r=n.length,o=0;r>o;o++){var i=n[o];if(wn(i)){try{i.get()}catch(e){return mt(t),!0}if(e.dependenciesState===qn.STALE)return mt(t),!0}}return xt(e),mt(t),!1}}function ht(){return null!==Vn.trackingDerivation}function jt(e){var t=e.observers.length>0;Vn.computationDepth>0&&t&&we(T("m031")+e.name),!Vn.allowStateChanges&&t&&we(T(Vn.strictMode?"m030a":"m030b")+e.name)}function Tt(e,t,n){xt(e),e.newObserving=Array(e.observing.length+100),e.unboundDepsCount=0,e.runId=++Vn.runId;var r=Vn.trackingDerivation;Vn.trackingDerivation=e;var o;try{o=t.call(n)}catch(e){o=new Kn(e)}return Vn.trackingDerivation=r,zt(e),o}function zt(e){for(var t=e.observing,n=e.observing=e.newObserving,r=qn.UP_TO_DATE,o=0,i=e.unboundDepsCount,a=0;i>a;a++){var s=n[a];0===s.diffValue&&(s.diffValue=1,o!==a&&(n[o]=s),o++),s.dependenciesState>r&&(r=s.dependenciesState)}for(n.length=o,e.newObserving=null,i=t.length;i--;){var s=t[i];0===s.diffValue&&st(s,e),s.diffValue=0}for(;o--;){var s=n[o];1===s.diffValue&&(s.diffValue=0,at(s,e))}r!==qn.UP_TO_DATE&&(e.dependenciesState=r,e.onBecomeStale())}function bt(e){var t=e.observing;e.observing=[];for(var n=t.length;n--;)st(t[n],e);e.dependenciesState=qn.NOT_TRACKING}function vt(e){var t=wt(),n=e();return mt(t),n}function wt(){var e=Vn.trackingDerivation;return Vn.trackingDerivation=null,e}function mt(e){Vn.trackingDerivation=e}function xt(e){if(e.dependenciesState!==qn.UP_TO_DATE){e.dependenciesState=qn.UP_TO_DATE;for(var t=e.observing,n=t.length;n--;)t[n].lowestObserverState=qn.UP_TO_DATE}}function Ot(e){return console.log(e),e}function It(e){return xe("`whyRun` is deprecated in favor of `trace`"),e=Lt(arguments),e?wn(e)||rr(e)?Ot(e.whyRun()):we(T("m025")):Ot(T("m024"))}function Et(){for(var e=[],t=0;arguments.length>t;t++)e[t]=arguments[t];var n=!1;"boolean"==typeof e[e.length-1]&&(n=e.pop());var r=Lt(e);if(!r)return we("'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly");r.isTracing===Xn.NONE&&console.log("[mobx.trace] '"+r.name+"' tracing enabled"),r.isTracing=n?Xn.BREAK:Xn.LOG}function Lt(e){switch(e.length){case 0:return Vn.trackingDerivation;case 1:return qe(e[0]);case 2:return qe(e[0],e[1])}}function kt(e){me(this&&this.$mobx&&rr(this.$mobx),"Invalid `this`"),me(!this.$mobx.errorHandler,"Only one onErrorHandler can be registered"),this.$mobx.errorHandler=e}function At(e){return Vn.globalReactionErrorHandlers.push(e),function(){var t=Vn.globalReactionErrorHandlers.indexOf(e);0>t||Vn.globalReactionErrorHandlers.splice(t,1)}}function St(){Vn.inBatch>0||Vn.isRunningReactions||nr(Ut)}function Ut(){Vn.isRunningReactions=!0;for(var e=Vn.pendingReactions,t=0;e.length>0;){++t===tr&&(console.error("Reaction doesn't converge to a stable state after "+tr+" iterations. Probably there is a cycle in the reactive function: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,o=n.length;o>r;r++)n[r].runReaction()}Vn.isRunningReactions=!1}function Ct(e){var t=nr;nr=function(n){return e(function(){return t(n)})}}function _t(e){return xe("asReference is deprecated, use observable.ref instead"),Cn.ref(e)}function Qt(e){return xe("asStructure is deprecated. Use observable.struct, computed.struct or reaction options instead."),Cn.struct(e)}function Yt(e){return xe("asFlat is deprecated, use observable.shallow instead"),Cn.shallow(e)}function Pt(e){return xe("asMap is deprecated, use observable.map or observable.shallowMap instead"),Cn.map(e||{})}function Bt(e){return L(function(t,n,r,o,i){me(void 0!==i,T("m009")),me("function"==typeof i.get,T("m010")),ee(q(t,""),n,i.get,i.set,e,!1)},function(e){var t=this.$mobx.values[e];if(void 0!==t)return t.get()},function(e,t){this.$mobx.values[e].set(t)},!1,!1)}function Rt(e,t){if(null===e||void 0===e)return!1;if(void 0!==t){if(!1===ae(e))return!1;if(!e.$mobx.values[t])return!1;var n=qe(e,t);return wn(n)}return wn(e)}function Gt(e,t,n,r){return"function"==typeof n?Zt(e,t,n,r):Ht(e,t,n)}function Ht(e,t,n){return Xe(e).observe(t,n)}function Zt(e,t,n,r){return Xe(e,t).observe(n,r)}function Vt(e,t,n){return"function"==typeof n?Jt(e,t,n):Wt(e,t)}function Wt(e,t){return Xe(e).intercept(t)}function Jt(e,t,n){return Xe(e,t).intercept(n)}function Ft(e,t){return ht()||console.warn(T("m013")),ar(e,{context:t}).get()}function $t(e,t,n){function r(r){return t&&n.push([e,r]),r}if(void 0===t&&(t=!0),void 0===n&&(n=[]),se(e)){if(t&&null===n&&(n=[]),t&&null!==e&&"object"===(void 0===e?"undefined":en(e)))for(var o=0,i=n.length;i>o;o++)if(n[o][0]===e)return n[o][1];if(j(e)){var a=r([]),s=e.map(function(e){return $t(e,t,n)});a.length=s.length;for(var o=0,i=s.length;i>o;o++)a[o]=s[o];return a}if(ae(e)){var a=r({});for(var u in e)a[u]=$t(e[u],t,n);return a}if(Yn(e)){var c=r({});return e.forEach(function(e,r){return c[r]=$t(e,t,n)}),c}if(gn(e))return $t(e.get(),t,n)}return e}function qt(e,t){me("function"==typeof e&&2>e.length,"createTransformer expects a function that accepts one argument");var r={},o=Vn.resetId,i=function(o){function i(t,n){var r=o.call(this,function(){return e(n)},void 0,bn.default,"Transformer-"+e.name+"-"+t,void 0)||this;return r.sourceIdentifier=t,r.sourceObject=n,r}return n(i,o),i.prototype.onBecomeUnobserved=function(){var e=this.value;o.prototype.onBecomeUnobserved.call(this),delete r[this.sourceIdentifier],t&&t(e,this.sourceObject)},i}(vn);return function(e){o!==Vn.resetId&&(r={},o=Vn.resetId);var t=Xt(e),n=r[t];return n?n.get():(n=r[t]=new i(t,e),n.get())}}function Xt(e){if("string"==typeof e||"number"==typeof e)return e;if(null===e||"object"!==(void 0===e?"undefined":en(e)))throw Error("[mobx] transform expected some kind of object or primitive value, got: "+e);var t=e.$transformId;return void 0===t&&(t=ve(),Ue(e,"$transformId",t)),t}function Kt(e,t,n){var r;if(Yn(e)||j(e)||gn(e))r=Xe(e);else{if(!ae(e))return we("Expected observable map, object or array as first array");if("string"!=typeof t)return we("InterceptReads can only be used with a specific property, not with an object in general");r=Xe(e,t)}return void 0!==r.dehancer?we("An intercept reader was already established"):(r.dehancer="function"==typeof t?t:n,function(){r.dehancer=void 0})}Object.defineProperty(t,"__esModule",{value:!0});var en="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},tn=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])},nn=function(){function e(e){void 0===e&&(e="Atom@"+ve()),this.name=e,this.isPendingUnobservation=!0,this.observers=[],this.observersIndexes={},this.diffValue=0,this.lastAccessedBy=0,this.lowestObserverState=qn.NOT_TRACKING}return e.prototype.onBecomeUnobserved=function(){},e.prototype.reportObserved=function(){lt(this)},e.prototype.reportChanged=function(){ct(),pt(this),Mt()},e.prototype.toString=function(){return this.name},e}(),rn=function(e){function t(t,n,r){void 0===t&&(t="Atom@"+ve()),void 0===n&&(n=Rn),void 0===r&&(r=Rn);var o=e.call(this,t)||this;return o.name=t,o.onBecomeObservedHandler=n,o.onBecomeUnobservedHandler=r,o.isPendingUnobservation=!1,o.isBeingTracked=!1,o}return n(t,e),t.prototype.reportObserved=function(){return ct(),e.prototype.reportObserved.call(this),this.isBeingTracked||(this.isBeingTracked=!0,this.onBecomeObservedHandler()),Mt(),!!Vn.trackingDerivation},t.prototype.onBecomeUnobserved=function(){this.isBeingTracked=!1,this.onBecomeUnobservedHandler()},t}(nn),on=Ye("Atom",nn),an={spyReportEnd:!0},sn="__$$iterating",un=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),cn=0,Mn=function(){function e(){}return e}();!function(e,t){void 0!==Object.setPrototypeOf?Object.setPrototypeOf(e.prototype,t):void 0!==e.prototype.__proto__?e.prototype.__proto__=t:e.prototype=t}(Mn,Array.prototype),Object.isFrozen(Array)&&["constructor","push","shift","concat","pop","unshift","replace","find","findIndex","splice","reverse","sort"].forEach(function(e){Object.defineProperty(Mn.prototype,e,{configurable:!0,writable:!0,value:Array.prototype[e]})});var ln=function(){function e(e,t,n,r){this.array=n,this.owned=r,this.values=[],this.lastKnownLength=0,this.interceptors=null,this.changeListeners=null,this.atom=new nn(e||"ObservableArray@"+ve()),this.enhancer=function(n,r){return t(n,r,e+"[..]")}}return e.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},e.prototype.dehanceValues=function(e){return void 0!==this.dehancer?e.map(this.dehancer):e},e.prototype.intercept=function(e){return o(this,e)},e.prototype.observe=function(e,t){return void 0===t&&(t=!1),t&&e({object:this.array,type:"splice",index:0,added:this.values.slice(),addedCount:this.values.length,removed:[],removedCount:0}),s(this,e)},e.prototype.getArrayLength=function(){return this.atom.reportObserved(),this.values.length},e.prototype.setArrayLength=function(e){if("number"!=typeof e||0>e)throw Error("[mobx.array] Out of range: "+e);var t=this.values.length;if(e!==t)if(e>t){for(var n=Array(e-t),r=0;e-t>r;r++)n[r]=void 0;this.spliceWithArray(t,0,n)}else this.spliceWithArray(e,t-e)},e.prototype.updateArrayLength=function(e,t){if(e!==this.lastKnownLength)throw Error("[mobx] Modification exception: the internal structure of an observable array was changed. Did you use peek() to change it?");this.lastKnownLength+=t,t>0&&e+t+1>cn&&h(e+t+1)},e.prototype.spliceWithArray=function(e,t,n){var o=this;jt(this.atom);var a=this.values.length;if(void 0===e?e=0:e>a?e=a:0>e&&(e=Math.max(0,a+e)),t=1===arguments.length?a-e:void 0===t||null===t?0:Math.max(0,Math.min(t,a-e)),void 0===n&&(n=[]),r(this)){var s=i(this,{object:this.array,type:"splice",index:e,removedCount:t,added:n});if(!s)return Pn;t=s.removedCount,n=s.added}n=n.map(function(e){return o.enhancer(e,void 0)}),this.updateArrayLength(a,n.length-t);var u=this.spliceItemsIntoValues(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice(e,n,u),this.dehanceValues(u)},e.prototype.spliceItemsIntoValues=function(e,t,n){if(1e4>n.length)return(o=this.values).splice.apply(o,[e,t].concat(n));var r=this.values.slice(e,e+t);return this.values=this.values.slice(0,e).concat(n,this.values.slice(e+t)),r;var o},e.prototype.notifyArrayChildUpdate=function(e,t,n){var r=!this.owned&&c(),o=a(this),i=o||r?{object:this.array,type:"update",index:e,newValue:t,oldValue:n}:null;r&&l(i),this.atom.reportChanged(),o&&u(this,i),r&&p()},e.prototype.notifyArraySplice=function(e,t,n){var r=!this.owned&&c(),o=a(this),i=o||r?{object:this.array,type:"splice",index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;r&&l(i),this.atom.reportChanged(),o&&u(this,i),r&&p()},e}(),pn=function(e){function t(t,n,r,o){void 0===r&&(r="ObservableArray@"+ve()),void 0===o&&(o=!1);var i=e.call(this)||this,a=new ln(r,n,i,o);return Ce(i,"$mobx",a),t&&t.length&&i.spliceWithArray(0,0,t),un&&Object.defineProperty(a.array,"0",fn),i}return n(t,e),t.prototype.intercept=function(e){return this.$mobx.intercept(e)},t.prototype.observe=function(e,t){return void 0===t&&(t=!1),this.$mobx.observe(e,t)},t.prototype.clear=function(){return this.splice(0)},t.prototype.concat=function(){for(var e=[],t=0;arguments.length>t;t++)e[t]=arguments[t];return this.$mobx.atom.reportObserved(),Array.prototype.concat.apply(this.peek(),e.map(function(e){return j(e)?e.peek():e}))},t.prototype.replace=function(e){return this.$mobx.spliceWithArray(0,this.$mobx.values.length,e)},t.prototype.toJS=function(){return this.slice()},t.prototype.toJSON=function(){return this.toJS()},t.prototype.peek=function(){return this.$mobx.atom.reportObserved(),this.$mobx.dehanceValues(this.$mobx.values)},t.prototype.find=function(e,t,n){void 0===n&&(n=0);var r=this.findIndex.apply(this,arguments);return-1===r?void 0:this.get(r)},t.prototype.findIndex=function(e,t,n){void 0===n&&(n=0);for(var r=this.peek(),o=r.length,i=n;o>i;i++)if(e.call(t,r[i],i,this))return i;return-1},t.prototype.splice=function(e,t){for(var n=[],r=2;arguments.length>r;r++)n[r-2]=arguments[r];switch(arguments.length){case 0:return[];case 1:return this.$mobx.spliceWithArray(e);case 2:return this.$mobx.spliceWithArray(e,t)}return this.$mobx.spliceWithArray(e,t,n)},t.prototype.spliceWithArray=function(e,t,n){return this.$mobx.spliceWithArray(e,t,n)},t.prototype.push=function(){for(var e=[],t=0;arguments.length>t;t++)e[t]=arguments[t];var n=this.$mobx;return n.spliceWithArray(n.values.length,0,e),n.values.length},t.prototype.pop=function(){return this.splice(Math.max(this.$mobx.values.length-1,0),1)[0]},t.prototype.shift=function(){return this.splice(0,1)[0]},t.prototype.unshift=function(){for(var e=[],t=0;arguments.length>t;t++)e[t]=arguments[t];var n=this.$mobx;return n.spliceWithArray(0,0,e),n.values.length},t.prototype.reverse=function(){var e=this.slice();return e.reverse.apply(e,arguments)},t.prototype.sort=function(){var e=this.slice();return e.sort.apply(e,arguments)},t.prototype.remove=function(e){var t=this.$mobx.dehanceValues(this.$mobx.values).indexOf(e);return t>-1&&(this.splice(t,1),!0)},t.prototype.move=function(e,t){function n(e){if(0>e)throw Error("[mobx.array] Index out of bounds: "+e+" is negative");var t=this.$mobx.values.length;if(e>=t)throw Error("[mobx.array] Index out of bounds: "+e+" is not smaller than "+t)}if(n.call(this,e),n.call(this,t),e!==t){var r,o=this.$mobx.values;r=t>e?o.slice(0,e).concat(o.slice(e+1,t+1),[o[e]],o.slice(t+1)):o.slice(0,t).concat([o[e]],o.slice(t,e),o.slice(e+1)),this.replace(r)}},t.prototype.get=function(e){var t=this.$mobx;if(t){if(t.values.length>e)return t.atom.reportObserved(),t.dehanceValue(t.values[e]);console.warn("[mobx.array] Attempt to read an array index ("+e+") that is out of bounds ("+t.values.length+"). Please check length first. Out of bound indices will not be tracked by MobX")}},t.prototype.set=function(e,t){var n=this.$mobx,o=n.values;if(o.length>e){jt(n.atom);var a=o[e];if(r(n)){var s=i(n,{type:"update",object:this,index:e,newValue:t});if(!s)return;t=s.newValue}t=n.enhancer(t,a);t!==a&&(o[e]=t,n.notifyArrayChildUpdate(e,t,a))}else{if(e!==o.length)throw Error("[mobx.array] Index out of bounds, "+e+" is larger than "+o.length);n.spliceWithArray(e,0,[t])}},t}(Mn);N(pn.prototype,function(){return d(this.slice())}),Object.defineProperty(pn.prototype,"length",{enumerable:!1,configurable:!0,get:function(){return this.$mobx.getArrayLength()},set:function(e){this.$mobx.setArrayLength(e)}}),["every","filter","forEach","indexOf","join","lastIndexOf","map","reduce","reduceRight","slice","some","toString","toLocaleString"].forEach(function(e){var t=Array.prototype[e];me("function"==typeof t,"Base function not defined on Array prototype: '"+e+"'"),Ue(pn.prototype,e,function(){return t.apply(this.peek(),arguments)})}),function(e,t){for(var n=0;t.length>n;n++)Ue(e,t[n],e[t[n]])}(pn.prototype,["constructor","intercept","observe","clear","concat","get","replace","toJS","toJSON","peek","find","findIndex","splice","spliceWithArray","push","pop","set","shift","unshift","reverse","sort","remove","move","toString","toLocaleString"]);var fn=g(0);h(1e3);var yn=Ye("ObservableArrayAdministration",ln),dn={},Nn=function(e){function t(t,n,r,o){void 0===r&&(r="ObservableValue@"+ve()),void 0===o&&(o=!0);var i=e.call(this,r)||this;return i.enhancer=n,i.hasUnreportedChange=!1,i.dehancer=void 0,i.value=n(t,void 0,r),o&&c()&&M({type:"create",object:i,newValue:i.value}),i}return n(t,e),t.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.prototype.set=function(e){var t=this.value;if((e=this.prepareNewValue(e))!==dn){var n=c();n&&l({type:"update",object:this,newValue:e,oldValue:t}),this.setNewValue(e),n&&p()}},t.prototype.prepareNewValue=function(e){if(jt(this),r(this)){var t=i(this,{object:this,type:"update",newValue:e});if(!t)return dn;e=t.newValue}return e=this.enhancer(e,this.value,this.name),this.value!==e?e:dn},t.prototype.setNewValue=function(e){var t=this.value;this.value=e,this.reportChanged(),a(this)&&u(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 o(this,e)},t.prototype.observe=function(e,t){return t&&e({object:this,type:"update",newValue:this.value,oldValue:void 0}),s(this,e)},t.prototype.toJSON=function(){return this.get()},t.prototype.toString=function(){return this.name+"["+this.value+"]"},t.prototype.valueOf=function(){return Ve(this.get())},t}(nn);Nn.prototype[Ze()]=Nn.prototype.valueOf;var gn=Ye("ObservableValue",Nn),Dn={m001:"It is not allowed to assign new values to @action fields",m002:"`runInAction` expects a function",m003:"`runInAction` expects a function without arguments",m004:"autorun expects a function",m005:"Warning: attempted to pass an action to autorun. Actions are untracked and will not trigger on state changes. Use `reaction` or wrap only your state modification code in an action.",m006:"Warning: attempted to pass an action to autorunAsync. Actions are untracked and will not trigger on state changes. Use `reaction` or wrap only your state modification code in an action.",m007:"reaction only accepts 2 or 3 arguments. If migrating from MobX 2, please provide an options object",m008:"wrapping reaction expression in `asReference` is no longer supported, use options object instead",m009:"@computed can only be used on getter functions, like: '@computed get myProps() { return ...; }'. It looks like it was used on a property.",m010:"@computed can only be used on getter functions, like: '@computed get myProps() { return ...; }'",m011:"First argument to `computed` should be an expression. If using computed as decorator, don't pass it arguments",m012:"computed takes one or two arguments if used as function",m013:"[mobx.expr] 'expr' should only be used inside other reactive functions.",m014:"extendObservable expected 2 or more arguments",m015:"extendObservable expects an object as first argument",m016:"extendObservable should not be used on maps, use map.merge instead",m017:"all arguments of extendObservable should be objects",m018:"extending an object with another observable (object) is not supported. Please construct an explicit propertymap, using `toJS` if need. See issue #540",m019:"[mobx.isObservable] isObservable(object, propertyName) is not supported for arrays and maps. Use map.has or array.length instead.",m020:"modifiers can only be used for individual object properties",m021:"observable expects zero or one arguments",m022:"@observable can not be used on getters, use @computed instead",m024:"whyRun() can only be used if a derivation is active, or by passing an computed value / reaction explicitly. If you invoked whyRun from inside a computation; the computation is currently suspended but re-evaluating because somebody requested its value.",m025:"whyRun can only be used on reactions and computed values",m026:"`action` can only be invoked on functions",m028:"It is not allowed to set `useStrict` when a derivation is running",m029:"INTERNAL ERROR only onBecomeUnobserved shouldn't be called twice in a row",m030a:"Since strict-mode is enabled, changing observed observable values outside actions is not allowed. Please wrap the code in an `action` if this change is intended. Tried to modify: ",m030b:"Side effects like changing state are not allowed at this point. Are you trying to modify state from, for example, the render function of a React component? Tried to modify: ",m031:"Computed values are not allowed to cause side effects by changing observables that are already being observed. Tried to modify: ",m032:"* This computation is suspended (not in use by any reaction) and won't run automatically.\n\tDidn't expect this computation to be suspended at this point?\n\t 1. Make sure this computation is used by a reaction (reaction, autorun, observer).\n\t 2. Check whether you are using this computation synchronously (in the same stack as they reaction that needs it).",m033:"`observe` doesn't support the fire immediately property for observable maps.",m034:"`mobx.map` is deprecated, use `new ObservableMap` or `mobx.observable.map` instead",m035:"Cannot make the designated object observable; it is not extensible",m036:"It is not possible to get index atoms from arrays",m037:'Hi there! I\'m sorry you have just run into an exception.\nIf your debugger ends up here, know that some reaction (like the render() of an observer component, autorun or reaction)\nthrew an exception and that mobx caught it, to avoid that it brings the rest of your application down.\nThe original cause of the exception (the code that caused this reaction to run (again)), is still in the stack.\n\nHowever, more interesting is the actual stack trace of the error itself.\nHopefully the error is an instanceof Error, because in that case you can inspect the original stack of the error from where it was thrown.\nSee `error.stack` property, or press the very subtle "(...)" link you see near the console.error message that probably brought you here.\nThat stack is more interesting than the stack of this console.error itself.\n\nIf the exception you see is an exception you created yourself, make sure to use `throw new Error("Oops")` instead of `throw "Oops"`,\nbecause the javascript environment will only preserve the original stack trace in the first form.\n\nYou can also make sure the debugger pauses the next time this very same exception is thrown by enabling "Pause on caught exception".\n(Note that it might pause on many other, unrelated exception as well).\n\nIf that all doesn\'t help you out, feel free to open an issue https://github.com/mobxjs/mobx/issues!\n',m038:"Missing items in this list?\n 1. Check whether all used values are properly marked as observable (use isObservable to verify)\n 2. Make sure you didn't dereference values too early. MobX observes props, not primitives. E.g: use 'person.name' instead of 'name' in your computation.\n"},hn=L(function(e,t,n,r){Ue(e,t,Tn(r&&1===r.length?r[0]:n.name||t||"",n))},function(e){return this[e]},function(){me(!1,T("m001"))},!1,!0),jn=L(function(e,t,n){Q(e,t,n)},function(e){return this[e]},function(){me(!1,T("m001"))},!1,!1),Tn=function(e,t){return 1===arguments.length&&"function"==typeof e?z(e.name||"",e):2===arguments.length&&"function"==typeof t?z(e,t):1===arguments.length&&"string"==typeof e?U(e):U(t).apply(null,arguments)};Tn.bound=function(e){if("function"==typeof e){var t=z("",e);return t.autoBind=!0,t}return jn.apply(null,arguments)};var zn=Object.prototype.toString,bn={identity:H,structural:Z,default:V},vn=function(){function e(e,t,n,r,o){this.derivation=e,this.scope=t,this.equals=n,this.dependenciesState=qn.NOT_TRACKING,this.observing=[],this.newObserving=null,this.isPendingUnobservation=!1,this.observers=[],this.observersIndexes={},this.diffValue=0,this.runId=0,this.lastAccessedBy=0,this.lowestObserverState=qn.UP_TO_DATE,this.unboundDepsCount=0,this.__mapid="#"+ve(),this.value=new Kn(null),this.isComputing=!1,this.isRunningSetter=!1,this.isTracing=Xn.NONE,this.name=r||"ComputedValue@"+ve(),o&&(this.setter=z(r+"-setter",o))}return e.prototype.onBecomeStale=function(){yt(this)},e.prototype.onBecomeUnobserved=function(){bt(this),this.value=void 0},e.prototype.get=function(){me(!this.isComputing,"Cycle detected in computation "+this.name,this.derivation),0===Vn.inBatch?(ct(),Dt(this)&&(this.isTracing!==Xn.NONE&&console.log("[mobx.trace] '"+this.name+"' is being read outside a reactive context and doing a full recompute"),this.value=this.computeValue(!1)),Mt()):(lt(this),Dt(this)&&this.trackAndCompute()&&ft(this));var e=this.value;if(gt(e))throw e.cause;return e},e.prototype.peek=function(){var e=this.computeValue(!1);if(gt(e))throw e.cause;return e},e.prototype.set=function(e){if(this.setter){me(!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 me(!1,"[ComputedValue '"+this.name+"'] It is not possible to assign a new value to a computed value.")},e.prototype.trackAndCompute=function(){c()&&M({object:this.scope,type:"compute",fn:this.derivation});var e=this.value,t=this.dependenciesState===qn.NOT_TRACKING,n=this.value=this.computeValue(!0);return t||gt(e)||gt(n)||!this.equals(e,n)},e.prototype.computeValue=function(e){this.isComputing=!0,Vn.computationDepth++;var t;if(e)t=Tt(this,this.derivation,this.scope);else try{t=this.derivation.call(this.scope)}catch(e){t=new Kn(e)}return Vn.computationDepth--,this.isComputing=!1,t},e.prototype.observe=function(e,t){var n=this,r=!0,o=void 0;return W(function(){var i=n.get();if(!r||t){var a=wt();e({type:"update",object:n,newValue:i,oldValue:o}),mt(a)}r=!1,o=i})},e.prototype.toJSON=function(){return this.get()},e.prototype.toString=function(){return this.name+"["+this.derivation+"]"},e.prototype.valueOf=function(){return Ve(this.get())},e.prototype.whyRun=function(){var e=!!Vn.trackingDerivation,t=Ie(this.isComputing?this.newObserving:this.observing).map(function(e){return e.name}),n=Ie(it(this).map(function(e){return e.name}));return"\nWhyRun? computation '"+this.name+"':\n * Running because: "+(e?"[active] the value of this computation is needed by a reaction":this.isComputing?"[get] The value of this computed was requested outside a reaction":"[idle] not running at the moment")+"\n"+(this.dependenciesState===qn.NOT_TRACKING?T("m032"):" * This computation will re-run if any of the following observables changes:\n "+Ee(t)+"\n "+(this.isComputing&&e?" (... or any observable accessed during the remainder of the current run)":"")+"\n "+T("m038")+"\n\n * If the outcome of this computation changes, the following observers will be re-run:\n "+Ee(n)+"\n")},e}();vn.prototype[Ze()]=vn.prototype.valueOf;var wn=Ye("ComputedValue",vn),mn=function(){function e(e,t){this.target=e,this.name=t,this.values={},this.changeListeners=null,this.interceptors=null}return e.prototype.observe=function(e,t){return me(!0!==t,"`observe` doesn't support the fire immediately property for observable objects."),s(this,e)},e.prototype.intercept=function(e){return o(this,e)},e}(),xn={},On={},In=Ye("ObservableObjectAdministration",mn),En=ue(Ne),Ln=ue(ge),kn=ue(De),An=ue(he),Sn=ue(je),Un={box:function(e,t){return arguments.length>2&&fe("box"),new Nn(e,Ne,t)},shallowBox:function(e,t){return arguments.length>2&&fe("shallowBox"),new Nn(e,De,t)},array:function(e,t){return arguments.length>2&&fe("array"),new pn(e,Ne,t)},shallowArray:function(e,t){return arguments.length>2&&fe("shallowArray"),new pn(e,De,t)},map:function(e,t){return arguments.length>2&&fe("map"),new Qn(e,Ne,t)},shallowMap:function(e,t){return arguments.length>2&&fe("shallowMap"),new Qn(e,De,t)},object:function(e,t){arguments.length>2&&fe("object");var n={};return q(n,t),ce(n,e),n},shallowObject:function(e,t){arguments.length>2&&fe("shallowObject");var n={};return q(n,t),Me(n,e),n},ref:function(){return 2>arguments.length?de(De,arguments[0]):kn.apply(null,arguments)},shallow:function(){return 2>arguments.length?de(ge,arguments[0]):Ln.apply(null,arguments)},deep:function(){return 2>arguments.length?de(Ne,arguments[0]):En.apply(null,arguments)},struct:function(){return 2>arguments.length?de(he,arguments[0]):An.apply(null,arguments)}},Cn=pe;Object.keys(Un).forEach(function(e){return Cn[e]=Un[e]}),Cn.deep.struct=Cn.struct,Cn.ref.struct=function(){return 2>arguments.length?de(je,arguments[0]):Sn.apply(null,arguments)};var _n={},Qn=function(){function e(e,t,n){void 0===t&&(t=Ne),void 0===n&&(n="ObservableMap@"+ve()),this.enhancer=t,this.name=n,this.$mobx=_n,this._data=Object.create(null),this._hasMap=Object.create(null),this._keys=new pn(void 0,De,this.name+".keys()",!0),this.interceptors=null,this.changeListeners=null,this.dehancer=void 0,this.merge(e)}return e.prototype._has=function(e){return void 0!==this._data[e]},e.prototype.has=function(e){return!!this.isValidKey(e)&&(e=""+e,this._hasMap[e]?this._hasMap[e].get():this._updateHasMapEntry(e,!1).get())},e.prototype.set=function(e,t){this.assertValidKey(e),e=""+e;var n=this._has(e);if(r(this)){var o=i(this,{type:n?"update":"add",object:this,newValue:t,name:e});if(!o)return this;t=o.newValue}return n?this._updateValue(e,t):this._addValue(e,t),this},e.prototype.delete=function(e){var t=this;if(this.assertValidKey(e),e=""+e,r(this)){var n=i(this,{type:"delete",object:this,name:e});if(!n)return!1}if(this._has(e)){var o=c(),s=a(this),n=s||o?{type:"delete",object:this,oldValue:this._data[e].value,name:e}:null;return o&&l(n),Te(function(){t._keys.remove(e),t._updateHasMapEntry(e,!1),t._data[e].setNewValue(void 0),t._data[e]=void 0}),s&&u(this,n),o&&p(),!0}return!1},e.prototype._updateHasMapEntry=function(e,t){var n=this._hasMap[e];return n?n.setNewValue(t):n=this._hasMap[e]=new Nn(t,De,this.name+"."+e+"?",!1),n},e.prototype._updateValue=function(e,t){var n=this._data[e];if((t=n.prepareNewValue(t))!==dn){var r=c(),o=a(this),i=o||r?{type:"update",object:this,oldValue:n.value,name:e,newValue:t}:null;r&&l(i),n.setNewValue(t),o&&u(this,i),r&&p()}},e.prototype._addValue=function(e,t){var n=this;Te(function(){var r=n._data[e]=new Nn(t,n.enhancer,n.name+"."+e,!1);t=r.value,n._updateHasMapEntry(e,!0),n._keys.push(e)});var r=c(),o=a(this),i=o||r?{type:"add",object:this,name:e,newValue:t}:null;r&&l(i),o&&u(this,i),r&&p()},e.prototype.get=function(e){return e=""+e,this.dehanceValue(this.has(e)?this._data[e].get():void 0)},e.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},e.prototype.keys=function(){return d(this._keys.slice())},e.prototype.values=function(){return d(this._keys.map(this.get,this))},e.prototype.entries=function(){var e=this;return d(this._keys.map(function(t){return[t,e.get(t)]}))},e.prototype.forEach=function(e,t){var n=this;this.keys().forEach(function(r){return e.call(t,n.get(r),r,n)})},e.prototype.merge=function(e){var t=this;return Yn(e)&&(e=e.toJS()),Te(function(){ke(e)?Object.keys(e).forEach(function(n){return t.set(n,e[n])}):Array.isArray(e)?e.forEach(function(e){return t.set(e[0],e[1])}):Re(e)?e.forEach(function(e,n){return t.set(n,e)}):null!==e&&void 0!==e&&we("Cannot initialize map from "+e)}),this},e.prototype.clear=function(){var e=this;Te(function(){vt(function(){e.keys().forEach(e.delete,e)})})},e.prototype.replace=function(e){var t=this;return Te(function(){var n=Ge(e);t.keys().filter(function(e){return-1===n.indexOf(e)}).forEach(function(e){return t.delete(e)}),t.merge(e)}),this},Object.defineProperty(e.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),e.prototype.toJS=function(){var e=this,t={};return this.keys().forEach(function(n){return t[n]=e.get(n)}),t},e.prototype.toJSON=function(){return this.toJS()},e.prototype.isValidKey=function(e){return null!==e&&void 0!==e&&("string"==typeof e||"number"==typeof e||"boolean"==typeof e)},e.prototype.assertValidKey=function(e){if(!this.isValidKey(e))throw Error("[mobx.map] Invalid key: '"+e+"', only strings, numbers and booleans are accepted as key in observable maps.")},e.prototype.toString=function(){var e=this;return this.name+"[{ "+this.keys().map(function(t){return t+": "+e.get(t)}).join(", ")+" }]"},e.prototype.observe=function(e,t){return me(!0!==t,T("m033")),s(this,e)},e.prototype.intercept=function(e){return o(this,e)},e}();N(Qn.prototype,function(){return this.entries()});var Yn=Ye("ObservableMap",Qn),Pn=[];Object.freeze(Pn);var Bn=[],Rn=function(){},Gn=Object.prototype.hasOwnProperty,Hn=["mobxGuid","resetId","spyListeners","strictMode","runId"],Zn=function(){function e(){this.version=5,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.strictMode=!1,this.resetId=0,this.spyListeners=[],this.globalReactionErrorHandlers=[]}return e}(),Vn=new Zn,Wn=!1,Jn=!1,Fn=!1,$n=be();$n.__mobxInstanceCount?($n.__mobxInstanceCount++,setTimeout(function(){Wn||Jn||Fn||(Fn=!0,console.warn("[mobx] Warning: there are multiple mobx instances active. This might lead to unexpected results. See https://github.com/mobxjs/mobx/issues/1082 for details."))},1)):$n.__mobxInstanceCount=1;var qn;!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"}(qn||(t.IDerivationState=qn={}));var Xn;!function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(Xn||(Xn={}));var Kn=function(){function e(e){this.cause=e}return e}(),er=function(){function e(e,t){void 0===e&&(e="Reaction@"+ve()),this.name=e,this.onInvalidate=t,this.observing=[],this.newObserving=[],this.dependenciesState=qn.NOT_TRACKING,this.diffValue=0,this.runId=0,this.unboundDepsCount=0,this.__mapid="#"+ve(),this.isDisposed=!1,this._isScheduled=!1,this._isTrackPending=!1,this._isRunning=!1,this.isTracing=Xn.NONE}return e.prototype.onBecomeStale=function(){this.schedule()},e.prototype.schedule=function(){this._isScheduled||(this._isScheduled=!0,Vn.pendingReactions.push(this),St())},e.prototype.isScheduled=function(){return this._isScheduled},e.prototype.runReaction=function(){this.isDisposed||(ct(),this._isScheduled=!1,Dt(this)&&(this._isTrackPending=!0,this.onInvalidate(),this._isTrackPending&&c()&&M({object:this,type:"scheduled-reaction"})),Mt())},e.prototype.track=function(e){ct();var t,n=c();n&&(t=Date.now(),l({object:this,type:"reaction",fn:e})),this._isRunning=!0;var r=Tt(this,e,void 0);this._isRunning=!1,this._isTrackPending=!1,this.isDisposed&&bt(this),gt(r)&&this.reportExceptionInDerivation(r.cause),n&&p({time:Date.now()-t}),Mt()},e.prototype.reportExceptionInDerivation=function(e){var t=this;if(this.errorHandler)return void this.errorHandler(e,this);var n="[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '"+this,r=T("m037");console.error(n||r,e),c()&&M({type:"error",message:n,error:e,object:this}),Vn.globalReactionErrorHandlers.forEach(function(n){return n(e,t)})},e.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this._isRunning||(ct(),bt(this),Mt()))},e.prototype.getDisposer=function(){var e=this.dispose.bind(this);return e.$mobx=this,e.onError=kt,e},e.prototype.toString=function(){return"Reaction["+this.name+"]"},e.prototype.whyRun=function(){var e=Ie(this._isRunning?this.newObserving:this.observing).map(function(e){return e.name});return"\nWhyRun? reaction '"+this.name+"':\n * Status: ["+(this.isDisposed?"stopped":this._isRunning?"running":this.isScheduled()?"scheduled":"idle")+"]\n * This reaction will re-run if any of the following observables changes:\n "+Ee(e)+"\n "+(this._isRunning?" (... or any observable accessed during the remainder of the current run)":"")+"\n\t"+T("m038")+"\n"},e.prototype.trace=function(e){void 0===e&&(e=!1),Et(this,e)},e}(),tr=100,nr=function(e){return e()},rr=Ye("Reaction",er),or=Bt(bn.default),ir=Bt(bn.structural),ar=function(e,t){if("string"==typeof t)return or.apply(null,arguments);me("function"==typeof e,T("m011")),me(3>arguments.length,T("m012"));var n="object"===(void 0===t?"undefined":en(t))?t:{};return n.setter="function"==typeof t?t:n.setter,new vn(e,n.context,n.equals?n.equals:n.compareStructural||n.struct?bn.structural:bn.default,n.name||e.name||"",n.setter)};ar.struct=ir,ar.equals=Bt;var sr={allowStateChanges:O,deepEqual:Y,getAtom:qe,getDebugName:Ke,getDependencyTree:et,getAdministration:Xe,getGlobalState:Fe,getObserverTree:nt,interceptReads:Kt,isComputingDerivation:ht,isSpyEnabled:c,onReactionError:At,reserveArrayBuffer:h,resetGlobalState:$e,isolateGlobalState:We,shareGlobalState:Je,spyReport:M,spyReportEnd:p,spyReportStart:l,setReactionScheduler:Ct},ur={Reaction:er,untracked:vt,Atom:rn,BaseAtom:nn,useStrict:m,isStrictModeEnabled:x,spy:f,comparer:bn,asReference:_t,asFlat:Yt,asStructure:Qt,asMap:Pt,isModifierDescriptor:ye,isObservableObject:ae,isBoxedObservable:gn,isObservableArray:j,ObservableMap:Qn,isObservableMap:Yn,map:ze,transaction:Te,observable:Cn,computed:ar,isObservable:se,isComputed:Rt,extendObservable:ce,extendShallowObservable:Me,observe:Gt,intercept:Vt,autorun:W,autorunAsync:F,when:J,reaction:$,action:Tn,isAction:_,runInAction:C,expr:Ft,toJS:$t,createTransformer:qt,whyRun:It,isArrayLike:Be,extras:sr},cr=!1;for(var Mr in ur)!function(e){var t=ur[e];Object.defineProperty(ur,e,{get:function(){return cr||(cr=!0,console.warn("Using default export (`import mobx from 'mobx'`) is deprecated and won’t work in mobx@4.0.0\nUse `import * as mobx from 'mobx'` instead")),t}})}(Mr);"object"===("undefined"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__?"undefined":en(__MOBX_DEVTOOLS_GLOBAL_HOOK__))&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:f,extras:sr}),t.extras=sr,t.Reaction=er,t.untracked=vt,t.IDerivationState=qn,t.Atom=rn,t.BaseAtom=nn,t.useStrict=m,t.isStrictModeEnabled=x,t.spy=f,t.comparer=bn,t.asReference=_t,t.asFlat=Yt,t.asStructure=Qt,t.asMap=Pt,t.isModifierDescriptor=ye,t.isObservableObject=ae,t.isBoxedObservable=gn,t.isObservableArray=j,t.ObservableMap=Qn,t.isObservableMap=Yn,t.map=ze,t.transaction=Te,t.observable=Cn,t.computed=ar,t.isObservable=se,t.isComputed=Rt,t.extendObservable=ce,t.extendShallowObservable=Me,t.observe=Gt,t.intercept=Vt,t.autorun=W,t.autorunAsync=F,t.when=J,t.reaction=$,t.action=Tn,t.isAction=_,t.runInAction=C,t.expr=Ft,t.toJS=$t,t.createTransformer=qt,t.whyRun=It,t.trace=Et,t.isArrayLike=Be,t.default=ur}).call(t,n(11))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Provider=t.inject=t.connect=t.useStaticRendering=t.Observer=t.observer=void 0;var r=n(3);Object.defineProperty(t,"observer",{enumerable:!0,get:function(){return r.observer}}),Object.defineProperty(t,"Observer",{enumerable:!0,get:function(){return r.Observer}}),Object.defineProperty(t,"useStaticRendering",{enumerable:!0,get:function(){return r.useStaticRendering}});var o=n(12);Object.defineProperty(t,"connect",{enumerable:!0,get:function(){return o.connect}});var i=n(5);Object.defineProperty(t,"inject",{enumerable:!0,get:function(){return i.inject}});var a=n(14);Object.defineProperty(t,"Provider",{enumerable:!0,get:function(){return a.Provider}});var s=n(1);if(!n(0).Component)throw Error("mobx-preact requires Preact to be available");if(!s.extras)throw Error("mobx-preact requires mobx to be available")},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":y(t))&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":y(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e){j=e}function s(e){var t=g.extras.getGlobalState().allowStateChanges;return g.extras.getGlobalState().allowStateChanges=e,t}function u(e){g.extras.getGlobalState().allowStateChanges=e}function c(e,t,n,r,o){var i=s(e),a=void 0;try{a=t(n,r,o)}finally{u(i)}return a}function M(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e[t],o=z[t];e[t]=r?!0===n?function(){o.apply(this,arguments),r.apply(this,arguments)}:function(){r.apply(this,arguments),o.apply(this,arguments)}:o}function l(e,t){if(null==e||null==t||"object"!==(void 0===e?"undefined":N(e))||"object"!==(void 0===t?"undefined":N(t)))return e!==t;var n=Object.keys(e);if(n.length!==Object.keys(t).length)return!0;for(var r=void 0,o=n.length-1;r=n[o];o--)if(t[r]!==e[r])return!0;return!1}function p(e){if(arguments.length>1&&T.warn('Mobx observer: Using observer to inject stores is not supported. Use `@connect(["store1", "store2"]) ComponentClass instead or preferably, use `@inject("store1", "store2") @observer ComponentClass` or `inject("store1", "store2")(observer(componentClass))``'),!0===e.isMobxInjector&&T.warn("Mobx observer: You are trying to use 'observer' on a component that already has 'inject'. Please apply 'observer' before applying 'inject'"),(0,h.isStateless)(e)){var t,n;return p((n=t=function(t){function n(){return r(this,n),o(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return i(n,t),d(n,[{key:"render",value:function(){return e.call(this,this.props,this.context)}}]),n}(D.Component),t.displayName=(0,h.makeDisplayName)(e),n))}if(!e)throw Error("Please pass a valid component to 'observer'");return f(e.prototype||e),e.isMobXReactObserver=!0,e}function f(e){M(e,"componentWillMount",!0),M(e,"componentDidMount"),e.shouldComponentUpdate||(e.shouldComponentUpdate=z.shouldComponentUpdate)}var y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0}),t.Observer=void 0;var d=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),N="function"==typeof Symbol&&"symbol"===y(Symbol.iterator)?function(e){return void 0===e?"undefined":y(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":y(e)};t.useStaticRendering=a,t.observer=p;var g=n(1),D=n(0),h=n(4),j=!1,T=console,z={componentWillMount:function(){function e(e){var t=this[e],n=new g.Atom("reactive "+e);Object.defineProperty(this,e,{configurable:!0,enumerable:!0,get:function(){return n.reportObserved(),t},set:function(e){!o&&l(t,e)?(t=e,r=!0,n.reportChanged(),r=!1):t=e}})}var t=this;if(!0!==j){var n=(0,h.makeDisplayName)(this),r=!1,o=!1;e.call(this,"props"),e.call(this,"state");var i=this.render.bind(this),a=null,s=!1,u=function(){return a=new g.Reaction(n+".render()",function(){if(!s&&(s=!0,"function"==typeof t.componentWillReact&&t.componentWillReact(),!0!==t.__$mobxIsUnmounted)){var e=!0;try{o=!0,r||D.Component.prototype.forceUpdate.call(t),e=!1}finally{o=!1,e&&a.dispose()}}}),a.reactComponent=t,M.$mobx=a,t.render=M,M(t.props,t.state,t.context)},M=function(e,t,n){s=!1;var r=void 0,o=void 0;if(a.track(function(){try{o=c(!1,i,e,t,n)}catch(e){r=e}}),r)throw r;return o};this.render=u}},componentWillUnmount:function(){!0!==j&&(this.render.$mobx&&this.render.$mobx.dispose(),this.__$mobxIsUnmounted=!0)},componentDidMount:function(){},componentDidUpdate:function(){},shouldComponentUpdate:function(e,t){return j&&T.warn("[mobx-preact] 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||l(this.props,e)}};(t.Observer=p(function(e){return e.children[0]()})).displayName="Observer"},function(e,t,n){"use strict";function r(e){return!(e.prototype&&e.prototype.render||i.Component.isPrototypeOf(e))}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.prefix,r=void 0===n?"":n,o=t.suffix,i=void 0===o?"":o;return r+(e.displayName||e.name||e.constructor&&e.constructor.name||"")+i}Object.defineProperty(t,"__esModule",{value:!0}),t.isStateless=r,t.makeDisplayName=o;var i=n(0)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":c(t))&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":c(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e,t,n){var a,s,u=n?"-with-"+n:"",c=(0,d.makeDisplayName)(t,{prefix:"inject-",suffix:u}),p=(s=a=function(n){function a(){return r(this,a),o(this,(a.__proto__||Object.getPrototypeOf(a)).apply(this,arguments))}return i(a,n),M(a,[{key:"render",value:function(){var n={};for(var r in this.props)this.props.hasOwnProperty(r)&&(n[r]=this.props[r]);var o=e(this.context.mobxStores||{},n,this.context)||{};for(var i in o)n[i]=o[i];return(0,l.h)(t,n)}}]),a}(l.Component),a.displayName=c,s);return(0,f.default)(p,t),p.wrappedComponent=t,Object.defineProperties(p,N),p}function s(e){return function(t,n){return e.forEach(function(e){if(!(e in n)){if(!(e in t))throw Error("MobX injector: Store '"+e+"' is not available! Make sure it is provided by some Provider");n[e]=t[e]}}),n}}function u(){var e=void 0;if("function"==typeof arguments[0])return e=arguments[0],function(t){var n=a(e,t);return n.isMobxInjector=!1,n=(0,y.observer)(n),n.isMobxInjector=!0,n};for(var t=[],n=0;arguments.length>n;n++)t[n]=arguments[n];return e=s(t),function(n){return a(e,n,t.join("-"))}}var c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0});var M=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.inject=u;var l=n(0),p=n(13),f=function(e){return e&&e.__esModule?e:{default:e}}(p),y=n(3),d=n(4),N={isMobxInjector:{value:!0,writable:!0,configurable:!0,enumerable:!0}}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.JSONHTTPError=t.TextHTTPError=t.HTTPError=t.getPagination=void 0;var a=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(16);Object.defineProperty(t,"getPagination",{enumerable:!0,get:function(){return u.getPagination}});var c=t.HTTPError=function(e){function t(e){r(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e.statusText));return n.name=n.constructor.name,"function"==typeof Error.captureStackTrace?Error.captureStackTrace(n,n.constructor):n.stack=Error(e.statusText).stack,n.status=e.status,n}return i(t,e),t}(function(e){function t(){var t=Reflect.construct(e,Array.from(arguments));return Object.setPrototypeOf(t,Object.getPrototypeOf(this)),t}return t.prototype=Object.create(e.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e,t}(Error)),M=t.TextHTTPError=function(e){function t(e,n){r(this,t);var i=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.data=n,i}return i(t,e),t}(c),l=t.JSONHTTPError=function(e){function t(e,n){r(this,t);var i=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.json=n,i}return i(t,e),t}(c);t.default=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments[1];r(this,e),this.apiURL=t,this.apiURL.match(/\/[^\/]?/)&&(this._sameOrigin=!0),this.defaultHeaders=n&&n.defaultHeaders||{}}return s(e,[{key:"headers",value:function(){return a({},this.defaultHeaders,{"Content-Type":"application/json"},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}},{key:"parseJsonResponse",value:function(e){return e.json().then(function(t){if(!e.ok)return Promise.reject(new l(e,t));var n=(0,u.getPagination)(e);return n?{pagination:n,items:t}:t})}},{key:"request",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.headers(n.headers||{});return this._sameOrigin&&(n.credentials=n.credentials||"same-origin"),fetch(this.apiURL+e,a({},n,{headers:r})).then(function(e){var n=e.headers.get("Content-Type");return n&&n.match(/json/)?t.parseJsonResponse(e):e.ok?e.text().then(function(){}):e.text().then(function(t){return Promise.reject(new M(e,t))})})}}]),e}()},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(0);t.default=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),a(t,[{key:"render",value:function(){var e=this.props,t=e.saving,n=e.text,r=e.saving_text;return(0,s.h)("button",{type:"submit",className:"btn"+(t?" saving":"")},t?r||"Saving":n||"Save")}}]),t}(s.Component)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(0),u={confirm:{type:"success",text:"A confirmation message was sent to your email, click the link there to continue."},password_mail:{type:"success",text:"We've sent a recovery email to your account, follow the link there to reset your password."},email_changed:{type:"sucess",text:"Your email address has been updated!"},verfication_error:{type:"error",text:"There was an error verifying your account. Please try again or contact an administrator."},signup_disabled:{type:"error",text:"Public signups are disabled. Contact an administrator and ask for an invite."}};t.default=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),a(t,[{key:"render",value:function(){var e=this.props.type,t=u[e];return(0,s.h)("div",{className:"flashMessage "+t.type},(0,s.h)("span",null,t.text))}}]),t}(s.Component)},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=n(10),i=function(e){return e&&e.__esModule?e:{default:e}}(o);void 0!==r(t)&&(t.netlifyIdentity=i.default),void 0!==("undefined"==typeof window?"undefined":r(window))&&(window.netlifyIdentity=i.default),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",function(){i.default.init()}):i.default.init()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments;(b[e]||[]).forEach(function(e){e.apply(e,Array.prototype.slice.call(t,1))})}function i(e,t){var n="";for(var r in t)n+=r+": "+t[r]+"; ";e?e.setAttribute("style",n):m=n}function a(e){var t=x[document.location.host.split(":").shift()],n=t&&localStorage.getItem("netlifySiteURL");if(e)return new y.default({APIUrl:e,setCookie:!t});if(t&&n){var r=[n];return n.match(/\/$/)||r.push("/"),r.push(".netlify/identity"),new y.default({APIUrl:r.join(""),setCookie:!t})}return t?null:new y.default({setCookie:!t})}function s(){var e=(document.location.hash||"").replace(/^#\/?/,"");if(e){var t=e.match(L);t&&(D.default.verifyToken(t[1],t[2]),document.location.hash="");e.match(k)&&(D.default.openModal("signup"),document.location.hash="");if(e.match(A)){var n={};e.split("&").forEach(function(e){var t=e.split("="),r=c(t,2);n[r[0]]=r[1]}),document&&n.access_token&&(document.cookie="nf_jwt="+n.access_token),document.location.hash="",D.default.openModal("login"),D.default.completeExternalLogin(n)}}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.APIUrl,n=e.logo,r=void 0===n||n,o=e.namePlaceholder,u=document.querySelectorAll("[data-netlify-identity-menu],[data-netlify-identity-button]");Array.prototype.slice.call(u).forEach(function(e){var t=null===e.getAttribute("data-netlify-identity-menu")?"button":"menu";(0,M.render)((0,M.h)(p.Provider,{store:D.default},(0,M.h)(j.default,{mode:t,text:e.innerText.trim()})),e,null)}),D.default.init(a(t)),D.default.modal.logo=r,D.default.setNamePlaceholder(o),I=document.createElement("iframe"),I.id="netlify-identity-widget",I.onload=function(){var e=I.contentDocument.createElement("style");e.innerHTML=""+z.default,I.contentDocument.head.appendChild(e),O=(0,M.render)((0,M.h)(p.Provider,{store:D.default},(0,M.h)(N.default,null)),I.contentDocument.body,O),s()},i(I,E),I.src="about:blank",(e.container?document.querySelector(e.container):document.body).appendChild(I),m&&(I.setAttribute("style",m),m=null)}Object.defineProperty(t,"__esModule",{value:!0});var c=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),M=n(0),l=n(1),p=n(2),f=n(15),y=r(f),d=n(19),N=r(d),g=n(25),D=r(g),h=n(26),j=r(h),T=n(27),z=r(T),b={},v={login:!0,signup:!0,error:!0},w={on:function(e,t){b[e]=b[e]||[],b[e].push(t)},open:function(e){if(e=e||"login",!v[e])throw Error("Invalid action for open: "+e);D.default.openModal(D.default.user?"user":e)},close:function(){D.default.closeModal()},currentUser:function(){return D.default.gotrue&&D.default.gotrue.currentUser()},logout:function(){return D.default.logout()},get gotrue(){return D.default.gotrue||D.default.openModal("login"),D.default.gotrue},init:function(e){u(e)},store:D.default},m=null,x={localhost:!0,"127.0.0.1":!0,"0.0.0.0":!0},O=void 0,I=void 0,E={position:"fixed",top:0,left:0,border:"none",width:"100%",height:"100%",overflow:"visible",background:"transparent",display:"none","z-index":99};(0,l.observe)(D.default.modal,"isOpen",function(){D.default.settings||D.default.loadSettings(),i(I,Object.assign({},E,{display:D.default.modal.isOpen?"block !important":"none"})),D.default.modal.isOpen?o("open",D.default.modal.page):o("close")}),(0,l.observe)(D.default,"siteURL",function(){null===D.default.siteURL||void 0===D.default.siteURL?localStorage.removeItem("netlifySiteURL"):localStorage.setItem("netlifySiteURL",D.default.siteURL),D.default.init(a(),!0)}),(0,l.observe)(D.default,"user",function(){D.default.user?o("login",D.default.user):o("logout")}),(0,l.observe)(D.default,"gotrue",function(){D.default.gotrue&&o("init",D.default.gotrue.currentUser())}),(0,l.observe)(D.default,"error",function(){o("error",D.default.error)});var L=/(confirmation|invite|recovery|email_change)_token=([^&]+)/,k=/error=access_denied&error_description=403/,A=/access_token=/;t.default=w},function(e){"use strict";var t,n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t=function(){return this}();try{t=t||Function("return this")()||(0,eval)("this")}catch(e){"object"===("undefined"==typeof window?"undefined":n(window))&&(t=window)}e.exports=t},function(e,t,n){"use strict";function r(e,t){if("string"==typeof e)throw Error("Store names should be provided as array");return Array.isArray(e)?t?i.inject.apply(null,e)(r(t)):function(t){return r(e,t)}:(0,o.observer)(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.connect=r;var o=n(3),i=n(5)},function(e){"use strict";function t(e,M,l){if("string"!=typeof M){if(c){var p=u(M);p&&p!==c&&t(e,p,l)}var f=i(M);a&&(f=f.concat(a(M)));for(var y=0;f.length>y;++y){var d=f[y];if(!(n[d]||r[d]||l&&l[d])){var N=s(M,d);try{o(e,d,N)}catch(e){}}}return e}return e}var n={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o=Object.defineProperty,i=Object.getOwnPropertyNames,a=Object.getOwnPropertySymbols,s=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,c=u&&u(Object);e.exports=t},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":a(t))&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":a(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0}),t.Provider=void 0;var s=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(0),c={children:!0,key:!0,ref:!0},M=console;t.Provider=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(e){var t=e.children;return t.length>1?(0,u.h)("div",null," ",t," "):t[0]}},{key:"getChildContext",value:function(){var e={},t=this.context.mobxStores;if(t)for(var n in t)e[n]=t[n];for(var r in this.props)c[r]||"suppressChangedStoreWarning"===r||(e[r]=this.props[r]);return{mobxStores:e}}},{key:"componentWillReceiveProps",value:function(e){if(Object.keys(e).length!==Object.keys(this.props).length&&M.warn("MobX Provider: The set of provided stores has changed. Please avoid changing stores as the change might not propagate to all children"),!e.suppressChangedStoreWarning)for(var t in e)c[t]||this.props[t]===e[t]||M.warn("MobX Provider: Provided store '"+t+"' has changed. Please avoid replacing stores as the change might not propagate to all children")}}]),t}(u.Component)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(6),s=r(a),u=n(17),c=r(u),M=/^http:\/\//,l="/.netlify/identity",p=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.APIUrl,r=void 0===n?l:n,i=t.audience,a=void 0===i?"":i,u=t.setCookie,c=void 0!==u&&u;o(this,e),r.match(M)&&console.warn("Warning:\n\nDO NOT USE HTTP IN PRODUCTION FOR GOTRUE EVER!\nGoTrue REQUIRES HTTPS to work securely."),a&&(this.audience=a),this.setCookie=c,this.api=new s.default(r)}return i(e,[{key:"_request",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.headers=t.headers||{};var n=t.audience||this.audience;return n&&(t.headers["X-JWT-AUD"]=n),this.api.request(e,t).catch(function(e){return e instanceof a.JSONHTTPError&&e.json&&(e.json.msg?e.message=e.json.msg:e.json.error&&(e.message=e.json.error+": "+e.json.error_description)),Promise.reject(e)})}},{key:"settings",value:function(){return this._request("/settings")}},{key:"signup",value:function(e,t,n){return this._request("/signup",{method:"POST",body:JSON.stringify({email:e,password:t,data:n})})}},{key:"login",value:function(e,t,n){var r=this;return this._setRememberHeaders(n),this._request("/token",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"grant_type=password&username="+encodeURIComponent(e)+"&password="+encodeURIComponent(t)}).then(function(e){return c.default.removeSavedSession(),r.createUser(e,n)})}},{key:"loginExternalUrl",value:function(e){return this.api.apiURL+"/authorize?provider="+e}},{key:"confirm",value:function(e,t){return this._setRememberHeaders(t),this.verify("signup",e,t)}},{key:"requestPasswordRecovery",value:function(e){return this._request("/recover",{method:"POST",body:JSON.stringify({email:e})})}},{key:"recover",value:function(e,t){return this._setRememberHeaders(t),this.verify("recovery",e,t)}},{key:"acceptInvite",value:function(e,t,n){var r=this;return this._setRememberHeaders(n),this._request("/verify",{method:"POST",body:JSON.stringify({token:e,password:t,type:"signup"})}).then(function(e){return r.createUser(e,n)})}},{key:"acceptInviteExternalUrl",value:function(e,t){return this.api.apiURL+"/authorize?provider="+e+"&invite_token="+t}},{key:"createUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this._setRememberHeaders(t),new c.default(this.api,e,this.audience).getUserData().then(function(e){return t&&e._saveSession(),e})}},{key:"currentUser",value:function(){var e=c.default.recoverSession(this.api);return e&&this._setRememberHeaders(e._fromStorage),e}},{key:"verify",value:function(e,t,n){var r=this;return this._setRememberHeaders(n),this._request("/verify",{method:"POST",body:JSON.stringify({token:t,type:e})}).then(function(e){return r.createUser(e,n)})}},{key:"_setRememberHeaders",value:function(e){this.setCookie&&(this.api.defaultHeaders=this.api.defaultHeaders||{},this.api.defaultHeaders["X-Use-Cookie"]=e?"1":"session")}}]),e}();t.default=p,"undefined"!=typeof window&&(window.GoTrue=p)},function(e,t){"use strict";function n(e){var t=e.headers.get("Link"),n={};if(null==t)return null;t=t.split(",");for(var o=e.headers.get("X-Total-Count"),i=0,a=t.length;a>i;i++){var s=t[i].replace(/(^\s*|\s*$)/,""),u=s.split(";"),c=r(u,2),M=c[0],l=c[1],p=M.match(/page=(\d+)/),f=p&&parseInt(p[1],10);l.match(/last/)?n.last=f:l.match(/next/)?n.next=f:l.match(/prev/)?n.prev=f:l.match(/first/)&&(n.first=f)}return n.last=Math.max(n.last||0,n.prev&&n.prev+1||0),n.current=n.next?n.next-1:n.last||1,n.total=o?parseInt(o,10):null,n}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t.getPagination=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}var n=window.atob(t);try{return decodeURIComponent(escape(n))}catch(e){return n}}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(6),c=r(u),M=n(18),l=r(M),p={},f=null,y={api:1,token:1,audience:1,url:1},d={api:1};t.default=function(){function e(t,n,r){o(this,e),this.api=t,this.url=t.apiURL,this.audience=r,this._processTokenResponse(n),f=this}return s(e,[{key:"update",value:function(e){var t=this;return this._request("/user",{method:"PUT",body:JSON.stringify(e)}).then(function(e){return t._saveUserData(e)._refreshSavedSession()})}},{key:"jwt",value:function(e){var t=this.tokenDetails(),n=t.expires_at,r=t.refresh_token,o=t.access_token;return e||n-6e41&&void 0!==arguments[1]?arguments[1]:{};n.headers=n.headers||{};var r=n.audience||this.audience;return r&&(n.headers["X-JWT-AUD"]=r),this.jwt().then(function(r){return t.api.request(e,a({headers:Object.assign(n.headers,{Authorization:"Bearer "+r})},n)).catch(function(e){return e instanceof u.JSONHTTPError&&e.json&&(e.json.msg?e.message=e.json.msg:e.json.error&&(e.message=e.json.error+": "+e.json.error_description)),Promise.reject(e)})})}},{key:"getUserData",value:function(){return this._request("/user").then(this._saveUserData.bind(this)).then(this._refreshSavedSession.bind(this))}},{key:"_saveUserData",value:function(t,n){for(var r in t)r in e.prototype||r in y||(this[r]=t[r]);return n&&(this._fromStorage=!0),this}},{key:"_processTokenResponse",value:function(e){this.token=e;var t=void 0;try{t=JSON.parse(i(e.access_token.split(".")[1])),this.token.expires_at=1e3*t.exp}catch(t){console.error(Error("Gotrue-js: Failed to parse tokenResponse claims: "+JSON.stringify(e)))}}},{key:"_refreshSavedSession",value:function(){return localStorage.getItem("gotrue.user")&&this._saveSession(),this}},{key:"_saveSession",value:function(){return localStorage.setItem("gotrue.user",JSON.stringify(this._details)),this}},{key:"tokenDetails",value:function(){return this.token}},{key:"clearSession",value:function(){e.removeSavedSession(),this.token=null,f=null}},{key:"admin",get:function(){return new l.default(this)}},{key:"_details",get:function(){var t={};for(var n in this)n in e.prototype||n in d||(t[n]=this[n]);return t}}],[{key:"removeSavedSession",value:function(){localStorage.removeItem("gotrue.user")}},{key:"recoverSession",value:function(t){if(f)return f;var n=localStorage.getItem("gotrue.user");if(n)try{var r=JSON.parse(n),o=r.url,i=r.token,a=r.audience;if(!o||!i)return null;return new e(t||new c.default(o,{}),i,a)._saveUserData(r,!0)}catch(e){return console.error(Error("Gotrue-js: Error recovering session: "+e)),null}return null}}]),e}()},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(){function e(t){n(this,e),this.user=t}return r(e,[{key:"listUsers",value:function(e){return this.user._request("/admin/users",{method:"GET",audience:e})}},{key:"getUser",value:function(e){return this.user._request("/admin/users/"+e.id)}},{key:"updateUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.user._request("/admin/users/"+e.id,{method:"PUT",body:JSON.stringify(t)})}},{key:"createUser",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.email=e,n.password=t,this.user._request("/admin/users",{method:"POST",body:JSON.stringify(n)})}},{key:"deleteUser",value:function(e){return this.user._request("/admin/users/"+e.id,{method:"DELETE"})}}]),e}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s,u=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(0),M=n(2),l=n(20),p=r(l),f=n(21),y=r(f),d=n(22),N=r(d),g=n(23),D=r(g),h=n(24),j=r(h),T=n(8),z=r(T),b={login:!0,signup:!0},v={login:{login:!0,button:"Log in",button_saving:"Logging in",email:!0,password:!0,link:"amnesia",link_text:"Forgot password?",providers:!0},signup:{signup:!0,button:"Sign up",button_saving:"Signing Up",name:!0,email:!0,password:!0,providers:!0},amnesia:{title:"Recover password",button:"Send recovery email",button_saving:"Sending recovery email",email:!0,link:"login",link_text:"Never mind"},recovery:{title:"Recover password",button:"Update password",button_saving:"Updating password",password:!0,link:"login",link_text:"Never mind"},invite:{title:"Complete your signup",button:"Sign up",button_saving:"Signing Up",password:!0,providers:!0},user:{title:"Logged in"}};t.default=(0,M.connect)(["store"])(s=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,u=Array(s),c=0;s>c;c++)u[c]=arguments[c];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),r.handleClose=function(){return r.props.store.closeModal()},r.handlePage=function(e){return r.props.store.openModal(e)},r.handleLogout=function(){return r.props.store.logout()},r.handleSiteURL=function(e){return r.props.store.setSiteURL(e)},r.clearSiteURL=function(){return r.props.store.clearSiteURL()},r.handleExternalLogin=function(e){return r.props.store.externalLogin(e)},r.handleUser=function(e){var t=e.name,n=e.email,o=e.password,i=r.props.store;switch(i.modal.page){case"login":i.login(n,o);break;case"signup":i.signup(t,n,o);break;case"amnesia":i.requestPasswordRecovery(n);break;case"invite":i.acceptInvite(o);break;case"recovery":i.updatePassword(o)}},a=n,i(r,a)}return a(t,e),u(t,[{key:"renderBody",value:function(){var e=this,t=this.props.store,n=v[t.modal.page]||{},r=function(){return e.handlePage(n.link)};return t.gotrue?t.settings?t.user?(0,c.h)(N.default,{user:t.user,saving:t.saving,onLogout:this.handleLogout}):"signup"===t.modal.page&&t.settings.disable_signup?(0,c.h)(z.default,{type:"signup_disabled"}):(0,c.h)("div",null,(0,c.h)(D.default,{page:v[t.modal.page]||{},message:t.message,saving:t.saving,onSubmit:this.handleUser,namePlaceholder:t.namePlaceholder}),!t.user&&n.link&&t.gotrue&&(0,c.h)("button",{onclick:r,className:"btnLink forgotPasswordLink"},n.link_text),(0,c.h)(y.default,{devMode:"true",onSiteURL:this.clearSiteURL})):void 0:(0,c.h)(y.default,{onSiteURL:this.handleSiteURL})}},{key:"renderProviders",value:function(){var e=this.props.store;if(!e.gotrue||!e.settings)return null;if("signup"===e.modal.page&&e.settings.disable_signup)return null;if(!(v[e.modal.page]||{}).providers)return null;var t=["Google","GitHub","GitLab","BitBucket","SAML"].filter(function(t){return e.settings.external[t.toLowerCase()]});return t.length?(0,c.h)(j.default,{providers:t,labels:e.settings.external_labels||{},onLogin:this.handleExternalLogin}):null}},{key:"render",value:function(){var e=this.props.store,t=b[e.modal.page],n=e.settings&&!e.settings.disable_signup;return(0,c.h)("div",null,(0,c.h)(p.default,{page:v[e.modal.page]||{},error:e.error,showHeader:t,showSignup:n,devSettings:!e.gotrue,loading:!e.error&&e.gotrue&&!e.settings,isOpen:e.modal.isOpen,onPage:this.handlePage,onClose:this.handleClose,logo:e.modal.logo},this.renderBody(),this.renderProviders()))}}]),t}(c.Component))||s},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e){return e.json&&e.json.error_description||e.message||""+e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(0);t.default=function(e){function t(){var e,n,i,a;r(this,t);for(var s=arguments.length,u=Array(s),c=0;s>c;c++)u[c]=arguments[c];return n=i=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),i.handleClose=function(e){e.preventDefault(),i.props.onClose()},i.blockEvent=function(e){e.stopPropagation()},i.linkHandler=function(e){return function(t){t.preventDefault(),i.props.onPage(e)}},a=n,o(i,a)}return i(t,e),s(t,[{key:"render",value:function(){var e=this.props,t=e.page,n=e.error,r=e.loading,o=e.showHeader,i=e.showSignup,s=e.devSettings,c=e.isOpen,M=e.children,l=e.logo;return(0,u.h)("div",{className:"modalContainer",role:"dialog","aria-hidden":""+(r||!c),onClick:this.handleClose},(0,u.h)("div",{className:"modalDialog"+(r?" visuallyHidden":""),onClick:this.blockEvent},(0,u.h)("div",{className:"modalContent"},(0,u.h)("button",{onclick:this.handleClose,className:"btn btnClose"},(0,u.h)("span",{className:"visuallyHidden"},"Close")),o&&(0,u.h)("div",{className:"header"},i&&(0,u.h)("button",{className:"btn btnHeader "+(t.signup?"active":""),onclick:this.linkHandler("signup")},"Sign up"),!s&&(0,u.h)("button",{className:"btn btnHeader "+(t.login?"active":""),onclick:this.linkHandler("login")},"Log in")),t.title&&(0,u.h)("div",{className:"header"},(0,u.h)("button",{className:"btn btnHeader active"},t.title)),s&&(0,u.h)("div",{className:"header"},(0,u.h)("button",{className:"btn btnHeader active"},"Development Settings")),n&&(0,u.h)("div",{className:"flashMessage error"},(0,u.h)("span",null,a(n))),M)),l&&(0,u.h)("a",{href:"https://www.netlify.com",className:"callOut"+(r?" visuallyHidden":"")},(0,u.h)("span",{className:"netlifyLogo"}),"Coded by Netlify"))}}]),t}(u.Component)},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(0);t.default=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleInput=function(e){n.setState(r({},e.target.name,e.target.value))},n.addSiteURL=function(e){e.preventDefault(),n.props.onSiteURL(n.state.url)},n.clearSiteURL=function(){n.props.onSiteURL()},n.state={url:"",development:e.devMode||!1},n}return a(t,e),s(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.url;return(0,u.h)("div",null,t.development?(0,u.h)("div",{class:"subheader"},(0,u.h)("h3",null,"Development Settings"),(0,u.h)("button",{onclick:function(t){return e.clearSiteURL(t)},className:"btnLink forgotPasswordLink"},"Clear localhost URL")):(0,u.h)("form",{onsubmit:this.addSiteURL,className:"form"},(0,u.h)("div",{className:"flashMessage"},"Looks like you're running a local server. Please let us know the URL of your Netlify site."),(0,u.h)("div",{className:"formGroup"},(0,u.h)("label",null,(0,u.h)("span",{className:"visuallyHidden"},"Enter your Netlify Site URL"),(0,u.h)("input",{className:"formControl",type:"url",name:"url",value:n,placeholder:"URL of your Netlify site",autocapitalize:"off",required:!0,oninput:this.handleInput}),(0,u.h)("div",{className:"inputFieldIcon inputFieldUrl"}))),(0,u.h)("button",{type:"submit",className:"btn"},"Set site's URL")))}}]),t}(u.Component)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(0),u=n(7),c=function(e){return e&&e.__esModule?e:{default:e}}(u);t.default=function(e){function t(){var e,n,i,a;r(this,t);for(var s=arguments.length,u=Array(s),c=0;s>c;c++)u[c]=arguments[c];return n=i=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),i.handleLogout=function(e){e.preventDefault(),i.props.onLogout()},a=n,o(i,a)}return i(t,e),a(t,[{key:"render",value:function(){var e=this.props,t=e.user,n=e.saving;return(0,s.h)("form",{onSubmit:this.handleLogout,className:"form "+(n?"disabled":"")},(0,s.h)("p",{className:"infoText"},"Logged in as ",(0,s.h)("br",null),(0,s.h)("span",{className:"infoTextEmail"},t.user_metadata.full_name||t.user_metadata.name||t.email)),(0,s.h)(c.default,{saving:n,text:"Log out",saving_text:"Logging out"}))}}]),t}(s.Component)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(0),M=n(8),l=r(M),p=n(7),f=r(p);t.default=function(e){function t(e){i(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleInput=function(e){n.setState(o({},e.target.name,e.target.value))},n.handleLogin=function(e){e.preventDefault(),n.props.onSubmit(n.state)},n.state={name:"",email:"",password:""},n}return s(t,e),u(t,[{key:"render",value:function(){var e=this.props,t=e.page,n=e.message,r=e.saving,o=e.namePlaceholder,i=this.state,a=i.name,s=i.email,u=i.password;return(0,c.h)("form",{onsubmit:this.handleLogin,className:"form "+(r?"disabled":"")},n&&(0,c.h)(l.default,{type:n}),t.name&&(0,c.h)("div",{className:"formGroup"},(0,c.h)("label",null,(0,c.h)("span",{className:"visuallyHidden"},"Enter your name"),(0,c.h)("input",{className:"formControl",type:"name",name:"name",value:a,placeholder:o||"Name",autocapitalize:"off",required:!0,oninput:this.handleInput}),(0,c.h)("div",{className:"inputFieldIcon inputFieldName"}))),t.email&&(0,c.h)("div",{className:"formGroup"},(0,c.h)("label",null,(0,c.h)("span",{className:"visuallyHidden"},"Enter your email"),(0,c.h)("input",{className:"formControl",type:"email",name:"email",value:s,placeholder:"Email",autocapitalize:"off",required:!0,oninput:this.handleInput}),(0,c.h)("div",{className:"inputFieldIcon inputFieldEmail"}))),t.password&&(0,c.h)("div",{className:"formGroup"},(0,c.h)("label",null,(0,c.h)("span",{className:"visuallyHidden"},"Enter your password"),(0,c.h)("input",{className:"formControl",type:"password",name:"password",value:u,placeholder:"Password",required:!0,oninput:this.handleInput}),(0,c.h)("div",{className:"inputFieldIcon inputFieldPassword"}))),(0,c.h)(f.default,{saving:r,text:t.button,saving_text:t.button_saving}))}}]),t}(c.Component)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(0),u=function(e){function t(){var e,n,i,a;r(this,t);for(var s=arguments.length,u=Array(s),c=0;s>c;c++)u[c]=arguments[c];return n=i=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),i.handleLogin=function(e){e.preventDefault(),i.props.onLogin(i.props.provider.toLowerCase())},a=n,o(i,a)}return i(t,e),a(t,[{key:"render",value:function(){var e=this.props;return(0,s.h)("button",{onClick:this.handleLogin,className:"provider"+e.provider+" btn btnProvider"},"Continue with ",e.label)}}]),t}(s.Component);t.default=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),a(t,[{key:"getLabel",value:function(e){var t=e.toLowerCase();return t in this.props.labels?this.props.labels[t]:e}},{key:"render",value:function(){var e=this,t=this.props,n=t.providers,r=t.onLogin;return(0,s.h)("div",{className:"providersGroup"},(0,s.h)("hr",{className:"hr"}),n.map(function(t){return(0,s.h)(u,{key:t,provider:t,label:e.getLabel(t),onLogin:r})}))}}]),t}(s.Component)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=(0,r.observable)({user:null,recovered_user:null,message:null,settings:null,gotrue:null,error:null,siteURL:null,remember:!0,saving:!1,invite_token:null,email_change_token:null,namePlaceholder:null,modal:{page:"login",isOpen:!1,logo:!0}});o.setNamePlaceholder=(0,r.action)(function(e){o.namePlaceholder=e}),o.startAction=(0,r.action)(function(){o.saving=!0,o.error=null,o.message=null}),o.setError=(0,r.action)(function(e){o.saving=!1,o.error=e}),o.init=(0,r.action)(function(e,t){e&&(o.gotrue=e,(o.user=e.currentUser())&&(o.modal.page="user")),t&&o.loadSettings()}),o.loadSettings=(0,r.action)(function(){o.settings||o.gotrue&&o.gotrue.settings().then((0,r.action)(function(e){return o.settings=e})).catch((0,r.action)(function(){o.error=Error("Failed to load settings from "+o.gotrue.api.apiURL)}))}),o.setSiteURL=(0,r.action)(function(e){o.siteURL=e}),o.clearSiteURL=(0,r.action)(function(){o.gotrue=null,o.siteURL=null,o.settings=null}),o.login=(0,r.action)(function(e,t){return o.startAction(),o.gotrue.login(e,t,o.remember).then((0,r.action)(function(e){o.user=e,o.modal.page="user",o.invite_token=null,o.email_change_token&&o.doEmailChange(),o.saving=!1})).catch(o.setError)}),o.externalLogin=(0,r.action)(function(e){o.error=null,o.message=null;var t=o.invite_token?o.gotrue.acceptInviteExternalUrl(e,o.invite_token):o.gotrue.loginExternalUrl(e);window.location.href=t}),o.completeExternalLogin=(0,r.action)(function(e){o.startAction(),o.gotrue.createUser(e,o.remember).then(function(e){o.user=e,o.modal.page="user",o.saving=!1}).catch(o.setError)}),o.signup=(0,r.action)(function(e,t,n){return o.startAction(),o.gotrue.signup(t,n,{full_name:e}).then((0,r.action)(function(){o.settings.autoconfirm?o.login(t,n,o.remember):o.message="confirm",o.saving=!1})).catch(o.setError)}),o.logout=(0,r.action)(function(){if(o.user)return o.startAction(),o.user.logout().then((0,r.action)(function(){o.user=null,o.modal.page="login",o.saving=!1})).catch(o.setError);o.modal.page="login",o.saving=!1}),o.updatePassword=(0,r.action)(function(e){o.startAction(),(o.recovered_user||o.user).update({password:e}).then(function(e){o.user=e,o.recovered_user=null,o.modal.page="user",o.saving=!1}).catch(o.setError)}),o.acceptInvite=(0,r.action)(function(e){o.startAction(),o.gotrue.acceptInvite(o.invite_token,e,o.remember).then(function(e){o.saving=!1,o.invite_token=null,o.user=e,o.modal.page="user"}).catch(o.setError)}),o.doEmailChange=(0,r.action)(function(){return o.startAction(),o.user.update({email_change_token:o.email_change_token}).then((0,r.action)(function(e){o.user=e,o.email_change_token=null,o.message="email_changed",o.saving=!1})).catch(o.setError)}),o.verifyToken=(0,r.action)(function(e,t){var n=o.gotrue;switch(o.modal.isOpen=!0,e){case"confirmation":o.startAction(),o.modal.page="signup",n.confirm(t,o.remember).then((0,r.action)(function(e){o.user=e,o.saving=!1})).catch((0,r.action)(function(e){console.error(e),o.message="verfication_error",o.modal.page="signup",o.saving=!1}));break;case"email_change":o.email_change_token=t,o.modal.page="message",o.user?o.doEmailChange():o.modal.page="login";break;case"invite":o.modal.page=e,o.invite_token=t;break;case"recovery":o.startAction(),o.modal.page=e,o.gotrue.recover(t,o.remember).then(function(e){o.saving=!1,o.recovered_user=e}).catch(function(e){o.saving=!1,o.error=e,o.modal.page="login"});break;default:o.error="Unkown token type"}}),o.requestPasswordRecovery=(0,r.action)(function(e){o.startAction(),o.gotrue.requestPasswordRecovery(e).then((0,r.action)(function(){o.message="password_mail",o.saving=!1})).catch(o.setError)}),o.openModal=(0,r.action)(function(e){o.modal.page=e,o.modal.isOpen=!0}),o.closeModal=(0,r.action)(function(){o.modal.isOpen=!1,o.error=null,o.message=null,o.saving=!1}),t.default=o},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a,s=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(0);t.default=(0,n(2).connect)(["store"])(a=function(e){function t(){var e,n,i,a;r(this,t);for(var s=arguments.length,u=Array(s),c=0;s>c;c++)u[c]=arguments[c];return n=i=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),i.handleSignup=function(e){e.preventDefault(),i.props.store.openModal("signup")},i.handleLogin=function(e){e.preventDefault(),i.props.store.openModal("login")},i.handleLogout=function(e){e.preventDefault(),i.props.store.openModal("user")},i.handleButton=function(e){e.preventDefault(),i.props.store.openModal(i.props.store.user?"user":"login")},a=n,o(i,a)}return i(t,e),s(t,[{key:"render",value:function(){var e=this.props.store.user;return"button"===this.props.mode?(0,u.h)("a",{className:"netlify-identity-button",href:"#",onClick:this.handleButton},this.props.text||(e?"Log out":"Log in")):e?(0,u.h)("ul",{className:"netlify-identity-menu"},(0,u.h)("li",{className:"netlify-identity-item netlify-identity-user-details"},"Logged in as"," ",(0,u.h)("span",{className:"netlify-identity-user"},e.user_metadata.name||e.email)),(0,u.h)("li",{className:"netlify-identity-item"},(0,u.h)("a",{className:"netlify-identity-logout",href:"#",onClick:this.handleLogout},"Log out"))):(0,u.h)("ul",{className:"netlify-identity-menu"},(0,u.h)("li",{className:"netlify-identity-item"},(0,u.h)("a",{className:"netlify-identity-signup",href:"#",onClick:this.handleSignup},"Sign up")),(0,u.h)("li",{className:"netlify-identity-item"},(0,u.h)("a",{className:"netlify-identity-login",href:"#",onClick:this.handleLogin},"Log in")))}}]),t}(u.Component))||a},function(e,t,n){t=e.exports=n(28)(!1),t.push([e.i,'::-webkit-input-placeholder {\n /* Chrome/Opera/Safari */\n color: #a3a9ac;\n font-weight: 500;\n}\n\n::-moz-placeholder {\n /* Firefox 19+ */\n color: #a3a9ac;\n font-weight: 500;\n}\n\n:-ms-input-placeholder {\n /* IE 10+ */\n color: #a3a9ac;\n font-weight: 500;\n}\n\n:-moz-placeholder {\n /* Firefox 18- */\n color: #a3a9ac;\n font-weight: 500;\n}\n\n.modalContainer {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n min-height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,\n Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";\n font-size: 14px;\n line-height: 1.5;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n z-index: 99999;\n}\n\n.modalContainer::before {\n content: "";\n display: block;\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: #fff;\n z-index: -1;\n}\n\n.modalDialog {\n -webkit-box-flex: 1;\n -ms-flex-positive: 1;\n flex-grow: 1;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n width: 100%;\n}\n\n.modalContent {\n position: relative;\n padding: 32px;\n opacity: 0;\n -webkit-transform: translateY(10px) scale(1);\n transform: translateY(10px) scale(1);\n background: #fff;\n}\n\n[aria-hidden="false"] .modalContent {\n -webkit-animation: bouncyEntrance 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);\n animation: bouncyEntrance 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);\n -webkit-animation-fill-mode: forwards;\n animation-fill-mode: forwards;\n }\n\n@-webkit-keyframes bouncyEntrance {\n 0% {\n opacity: 0;\n -webkit-transform: translateY(10px) scale(0.9);\n transform: translateY(10px) scale(0.9);\n }\n\n 100% {\n opacity: 1;\n -webkit-transform: translateY(0) scale(1);\n transform: translateY(0) scale(1);\n }\n}\n\n@keyframes bouncyEntrance {\n 0% {\n opacity: 0;\n -webkit-transform: translateY(10px) scale(0.9);\n transform: translateY(10px) scale(0.9);\n }\n\n 100% {\n opacity: 1;\n -webkit-transform: translateY(0) scale(1);\n transform: translateY(0) scale(1);\n }\n}\n\n@media (min-width: 480px) {\n .modalContainer::before {\n background-color: rgb(14, 30, 37);\n -webkit-animation: fadeIn 0.1s ease-in;\n animation: fadeIn 0.1s ease-in;\n -webkit-animation-fill-mode: forwards;\n animation-fill-mode: forwards;\n }\n\n .modalDialog {\n max-width: 364px;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n }\n\n .modalContent {\n background: #fff;\n -webkit-box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .07),\n 0 12px 32px 0 rgba(14, 30, 37, .1);\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .07),\n 0 12px 32px 0 rgba(14, 30, 37, .1);\n border-radius: 8px;\n margin-top: 32px;\n }\n}\n\n@-webkit-keyframes fadeIn {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 0.67;\n }\n}\n\n@keyframes fadeIn {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 0.67;\n }\n}\n\n.flashMessage {\n text-align: center;\n color: rgb(14, 30, 37);\n font-weight: 500;\n font-size: 14px;\n background-color: #f2f3f3;\n padding: 6px;\n border-radius: 4px;\n opacity: 0.7;\n -webkit-transition: opacity 0.2s linear;\n transition: opacity 0.2s linear;\n}\n\n.flashMessage:hover,\n.flashMessage:focus {\n opacity: 1;\n}\n\n.error {\n color: #fa3946;\n background-color: #fceef0;\n opacity: 1;\n}\n\n.error span::before {\n content: "";\n display: inline-block;\n position: relative;\n top: 3px;\n margin-right: 4px;\n width: 16px;\n height: 16px;\n background: no-repeat center center;\n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MTY2NjY2NjcsMTEuNzkzMzMzMyA3LjE2NjY2NjY3LDExLjMzMzMzMzMgQzcuMTY2NjY2NjcsMTAuODczMzMzMyA3LjU0LDEwLjUgOCwxMC41IEM4LjQ2LDEwLjUgOC44MzMzMzMzMywxMC44NzMzMzMzIDguODMzMzMzMzMsMTEuMzMzMzMzMyBDOC44MzMzMzMzMywxMS43OTMzMzMzIDguNDYsMTIuMTY2NjY2NyA4LDEyLjE2NjY2NjcgWiIvPgo8L3N2Zz4K);\n}\n\n.success {\n}\n\n.disabled {\n opacity: 0.38;\n pointer-events: none;\n}\n\n.infoText {\n text-align: center;\n margin: 32px 0;\n}\n\n.infoTextEmail {\n font-size: 16px;\n font-weight: 500;\n}\n\n.saving {\n background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABQCAMAAACeYYN3AAAAxlBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////DTx3aAAAAQnRSTlMAAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2Nzg5Ojs8PT4/QEGgjKRfAAACk0lEQVR4AYXQDXP5WhAG8CUhiSQqSv4RRRMVL1Fa1VZf3PL9v9Tde9wc9M8+P8/M7s6czJiHgNIvVCJO6YiAMlAiWckASiQrm4bJMZTDrmbBIEC9qpgVjp6n4B+oyEwCzKrMQBVaQIlkpmXZln1dhQB+49gOh5dLexlV6MhsAqyazEQVugCqsOK5nsQmwPWZ53ucvyczSGb4l9T9OsdnLgFOXVZFFd4AqEKrIasR4AdBI2hw1GR6VzMwSWY2A60ZNDl6KnUC3KbMRhXeAqhCpyXzCAjarNVucdqXVEhWaRfCdsj5vQcE1EOZQ7Jy+EcUlklWi2Q3BLQ6nagTcTra2Y0qrHZirRN3OOezTUAjvq4bd7suqpDfSGJUoXcnCwiIerIqqlC96vf6HD1ZsUcE3PYH/QGnrx3uYnqoQn4l6aMK/XtZi4BuIrNIZqVJkiapkhx37Y6AcDgcpsNU44Nz3OuoQn4jSVGFNw+ykID+SGaTzM5G2YiTFVM73AMConE2zjhj7XAXs4EqHE/4d12GKgwmsoiAZCpzSObMptPZdHZVSkCc5/ksnym8cPRUmiQzpvNcmedzTl4o7qlBsuZc1iVg9ChDFdYWshEBveV/FssFZ/l7Z7eowsfl0/JJ4UXj43A/ogpbT7IeAZNnWQ1VuJJNCBi8HKxeVhw9tRaq8JkfrV/WHDULxb1CFbbX7HX9yllfck9A/ipzSea+yeYEJO+yEFX4tim8b94VXjj/zzdU4Z/NmY/NB+fkTglYfMg8knmfsiUBD1+yCFX4+X309f3FOds/UYVR8fH2e6vwovExIuB5K/NJ5v8jWxGQ/chiVOF2d+pn98M5zt3WJFm83+/2O4UXjprabkzAWn+o56k9qvBfX4hMaM+SxOMAAAAASUVORK5CYII=);\n background-repeat: repeat-x;\n background-size: contain;\n background-origin: border-box;\n background-position: 0% 0%;\n -webkit-animation: loading 20s linear infinite;\n animation: loading 20s linear infinite;\n pointer-events: none;\n}\n\n.saving::after {\n content: "\\2026";\n}\n\n@-webkit-keyframes loading {\n 0% {\n background-position: 0% 0%;\n }\n\n 100% {\n background-position: 700% 0%;\n }\n}\n\n@keyframes loading {\n 0% {\n background-position: 0% 0%;\n }\n\n 100% {\n background-position: 700% 0%;\n }\n}\n\n.btn {\n display: block;\n position: relative;\n width: 100%;\n height: auto;\n margin: 14px 0 0;\n padding: 6px;\n outline: 0;\n cursor: pointer;\n border: 2px solid rgb(14, 30, 37);\n border-radius: 4px;\n background-color: #2d3b41;\n color: #fff;\n -webkit-transition: background-color 0.2s ease;\n transition: background-color 0.2s ease;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,\n Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n text-align: center;\n text-decoration: none;\n white-space: nowrap;\n}\n\n.btn:hover,\n.btn:focus {\n background-color: rgb(14, 30, 37);\n text-decoration: none;\n}\n\n.btnClose {\n position: absolute;\n top: 0;\n right: 0;\n margin: 0;\n padding: 0;\n border: 0;\n width: 24px;\n height: 24px;\n border-radius: 50%;\n margin: 6px;\n background: #fff;\n color: #a3a9ac;\n}\n\n.btnClose::before {\n content: "\\D7";\n font-size: 25px;\n line-height: 9px;\n}\n\n.btnClose:hover,\n.btnClose:focus {\n background: #e9ebeb;\n color: rgb(14, 30, 37);\n}\n\n.header {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n margin-top: -8px;\n margin-bottom: 32px;\n}\n\n.btnHeader {\n font-size: 16px;\n line-height: 24px;\n background: #fff;\n color: #a3a9ac;\n border: 0;\n border-bottom: 2px solid #e9ebeb;\n border-radius: 4px 4px 0 0;\n margin: 0;\n}\n\n.btnHeader:focus,\n.btnHeader.active {\n background: #fff;\n color: rgb(14, 30, 37);\n border-color: rgb(14, 30, 37);\n font-weight: 700;\n}\n\n.btnHeader:not(:only-child):hover {\n background-color: #e9ebeb;\n color: rgb(14, 30, 37);\n}\n\n.btnHeader:only-child {\n cursor: auto;\n}\n\n.btnLink {\n display: block;\n position: relative;\n width: auto;\n height: auto;\n margin: 14px auto 0;\n padding: 6px;\n padding-bottom: 0;\n outline: 0;\n cursor: pointer;\n color: rgb(14, 30, 37);\n border: none;\n border-bottom: 2px solid #e9ebeb;\n border-radius: 0;\n background-color: inherit;\n -webkit-transition: border-color 0.2s ease;\n transition: border-color 0.2s ease;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,\n Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n text-align: center;\n white-space: nowrap;\n}\n\n.btnLink:hover,\n.btnLink:focus {\n background-color: inherit;\n border-color: #a3a9ac;\n}\n\n.form {\n}\n\n.formGroup {\n position: relative;\n margin-top: 14px;\n}\n\n.formControl {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n display: block;\n width: 100%;\n height: 40px;\n margin: 0;\n padding: 6px 12px 6px 34px;\n border: 2px solid #e9ebeb;\n border-radius: 4px;\n background: #fff;\n color: rgb(14, 30, 37);\n -webkit-box-shadow: none;\n box-shadow: none;\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n -webkit-transition: -webkit-box-shadow ease-in-out 0.15s;\n transition: -webkit-box-shadow ease-in-out 0.15s;\n transition: box-shadow ease-in-out 0.15s;\n transition: box-shadow ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;\n -webkit-appearance: none;\n -moz-appearance: none;\n}\n\n.inputFieldIcon {\n position: absolute;\n top: 12px;\n left: 12px;\n display: inline-block;\n width: 16px;\n height: 16px;\n background-repeat: no-repeat;\n background-position: center;\n pointer-events: none;\n}\n\n.inputFieldName {\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDE0IDE0Ij4gIDxwYXRoIGZpbGw9IiNBM0E5QUMiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTgsNyBDNi4zNDMxNDU3NSw3IDUsNS42NTY4NTQyNSA1LDQgQzUsMi4zNDMxNDU3NSA2LjM0MzE0NTc1LDEgOCwxIEM5LjY1Njg1NDI1LDEgMTEsMi4zNDMxNDU3NSAxMSw0IEMxMSw1LjY1Njg1NDI1IDkuNjU2ODU0MjUsNyA4LDcgWiBNOCwxNSBMMS41LDE1IEMxLjUsMTEuMTM0MDA2OCA0LjQxMDE0OTEzLDggOCw4IEMxMS41ODk4NTA5LDggMTQuNSwxMS4xMzQwMDY4IDE0LjUsMTUgTDgsMTUgWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEgLTEpIi8+PC9zdmc+);\n}\n\n.inputFieldEmail {\n background-image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gOCw1IEM4LjU1MjI4NDc1LDUgOSw1LjQ0NzcxNTI1IDksNiBMOSwxMCBDOSwxMC41NTIyODQ3IDguNTUyMjg0NzUsMTEgOCwxMSBaIiB0cmFuc2Zvcm09InJvdGF0ZSg0NSA4LjcwNyA2LjI5MykiLz48L3N2Zz4=);\n}\n\n.formLabel {\n}\n\n.hr {\n border: 0;\n border-top: 2px solid #e9ebeb;\n margin: 32px 0 -1px;\n text-align: center;\n overflow: visible;\n}\n\n.hr::before {\n content: "or";\n position: relative;\n display: inline-block;\n font-size: 12px;\n font-weight: 800;\n line-height: 1;\n text-transform: uppercase;\n background-color: #fff;\n color: rgb(14, 30, 37);\n padding: 4px;\n top: -11px;\n}\n\n.btnProvider {\n padding-left: 40px;\n padding-right: 40px;\n}\n\n.btnProvider::before {\n content: "";\n position: absolute;\n display: inline-block;\n vertical-align: middle;\n width: 32px;\n height: 40px;\n background-repeat: no-repeat;\n background-position: left center;\n top: -2px;\n left: 14px;\n}\n\n.providerGoogle {\n background-color: #4285f4;\n border-color: #366dc7;\n}\n\n.providerGoogle:hover,\n.providerGoogle:focus {\n background-color: #366dc7;\n}\n\n.providerGitHub {\n background-color: #333;\n border-color: #000;\n}\n\n.providerGitHub:hover,\n.providerGitHub:focus {\n background-color: #000;\n}\n\n.providerGitLab {\n background-color: #e24329;\n border-color: #b03320;\n}\n\n.providerGitLab:hover,\n.providerGitLab:focus {\n background-color: #b03320;\n}\n\n.providerBitbucket {\n background-color: #205081;\n border-color: #14314f;\n}\n\n.providerBitbucket:hover,\n.providerBitbucket:focus {\n background-color: #14314f;\n}\n\n.providerGoogle:before {\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDEzIDEyIj4gIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdHJhbnNmb3JtPS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uNjkiIHJ4PSIxLjA5OCIgcnk9IjEuMDg5Ii8+ICAgIDwvZz4gIDwvZz48L3N2Zz4=);\n}\n\n.callOut {\n display: block;\n padding: 32px;\n font-size: 14px;\n font-weight: 500;\n text-decoration: none;\n color: #a3a9ac;\n text-align: center;\n}\n\n.callOut:after {\n content: " \\2665";\n -webkit-transition: color 4s ease;\n transition: color 4s ease;\n}\n\n.callOut:hover:after {\n color: red;\n}\n\n.callOut .netlifyLogo {\n display: block;\n margin: auto;\n width: 32px;\n height: 32px;\n margin-bottom: 8px;\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmlld0JveD0iMCAwIDMyIDMyIj4gIDxkZWZzPiAgICA8cmFkaWFsR3JhZGllbnQgaWQ9ImEiIGN5PSIwJSIgcj0iMTAwJSIgZng9IjUwJSIgZnk9IjAlIiBncmFkaWVudFRyYW5zZm9ybT0ibWF0cml4KDAgMSAtMS4xNTE4NSAwIC41IC0uNSkiPiAgICAgIDxzdG9wIHN0b3AtY29sb3I9IiMyMEM2QjciIG9mZnNldD0iMCUiLz4gICAgICA8c3RvcCBzdG9wLWNvbG9yPSIjNEQ5QUJGIiBvZmZzZXQ9IjEwMCUiLz4gICAgPC9yYWRpYWxHcmFkaWVudD4gIDwvZGVmcz4gIDxwYXRoIGZpbGw9InVybCgjYSkiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTIyLjk4MDYyMywxMS42MjYyMzc3IEMyMi44NzE3MTA3LDExLjUwNTEzMDYgMjIuNzM1NTcwNCwxMS4zOTc0Nzk4IDIyLjU3MjIwMjEsMTEuMzE2NzQxOCBDMjIuNTU4NTg4MSwxMS4zMTY3NDE4IDIyLjU0NDk3NCwxMS4yODk4MjkxIDIyLjUzMTM2LDExLjI3NjM3MjcgTDIzLjE3MTIxOTQsNy4zNjA1NzY2MSBDMjMuMTcxMjE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QyMTMgMC42Mzk4MjcyNDMsMTYuODYwNzU2OCAwLjY2NzA1NTM1OSwxNi44NjA3NTY4IEw3LjM1MTU1NzgzLDE4LjI0Njc0NjQgWiIvPjwvc3ZnPg==);\n}\n\n.visuallyHidden {\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n #fff-space: nowrap;\n}\n\n.subheader {\n margin-top: 2em;\n border-top: 1px solid rgb(14, 30, 37);\n}\n\n.subheader h3 {\n padding-top: 1em;\n text-align: center;\n }\n',""])},function(e){"use strict";function t(e,t){var r=e[1]||"",o=e[3];if(!o)return r;if(t&&"function"==typeof btoa){var i=n(o);return[r].concat(o.sources.map(function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"})).concat([i]).join("\n")}return""+r}function n(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var n=[];return n.toString=function(){return this.map(function(n){var r=t(n,e);return n[2]?"@media "+n[2]+"{"+r+"}":r}).join("")},n.i=function(e,t){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;this.length>o;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;e.length>o;o++){var a=e[o];"number"==typeof a[0]&&r[a[0]]||(t&&!a[2]?a[2]=t:t&&(a[2]="("+a[2]+") and ("+t+")"),n.push(a))}},n}}]); +!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=9)}([function(e,t,n){"use strict";function r(e,t){var n,r,o,i,a=A;for(i=arguments.length;i-- >2;)k.push(arguments[i]);for(t&&null!=t.children&&(k.length||k.push(t.children),delete t.children);k.length;)if((r=k.pop())&&void 0!==r.pop)for(i=r.length;i--;)k.push(r[i]);else"boolean"==typeof r&&(r=null),(o="function"!=typeof e)&&(null==r?r="":"number"==typeof r?r+="":"string"!=typeof r&&(o=!1)),o&&n?a[a.length-1]+=r:a===A?a=[r]:a.push(r),n=o;var s=new E;return s.nodeName=e,s.children=a,s.attributes=null==t?void 0:t,s.key=null==t?void 0:t.key,void 0!==L.vnode&&L.vnode(s),s}function o(e,t){for(var n in t)e[n]=t[n];return e}function i(e,t){return r(e.nodeName,o(o({},e.attributes),t),arguments.length>2?[].slice.call(arguments,2):e.children)}function a(e){!e._dirty&&(e._dirty=!0)&&1==C.push(e)&&(L.debounceRendering||S)(s)}function s(){var e,t=C;for(C=[];e=t.pop();)e._dirty&&w(e)}function u(e,t,n){return"string"==typeof t||"number"==typeof t?void 0!==e.splitText:"string"==typeof t.nodeName?!e._componentConstructor&&c(e,t.nodeName):n||e._componentConstructor===t.nodeName}function c(e,t){return e.normalizedNodeName===t||e.nodeName.toLowerCase()===t.toLowerCase()}function M(e){var t=o({},e.attributes);t.children=e.children;var n=e.nodeName.defaultProps;if(void 0!==n)for(var r in n)void 0===t[r]&&(t[r]=n[r]);return t}function l(e,t){var n=t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return n.normalizedNodeName=e,n}function p(e){var t=e.parentNode;t&&t.removeChild(e)}function f(e,t,n,r,o){if("className"===t&&(t="class"),"key"===t);else if("ref"===t)n&&n(null),r&&r(e);else if("class"!==t||o)if("style"===t){if(r&&"string"!=typeof r&&"string"!=typeof n||(e.style.cssText=r||""),r&&"object"==typeof r){if("string"!=typeof n)for(var i in n)i in r||(e.style[i]="");for(var i in r)e.style[i]="number"==typeof r[i]&&!1===U.test(i)?r[i]+"px":r[i]}}else if("dangerouslySetInnerHTML"===t)r&&(e.innerHTML=r.__html||"");else if("o"==t[0]&&"n"==t[1]){var a=t!==(t=t.replace(/Capture$/,""));t=t.toLowerCase().substring(2),r?n||e.addEventListener(t,y,a):e.removeEventListener(t,y,a),(e._listeners||(e._listeners={}))[t]=r}else if("list"!==t&&"type"!==t&&!o&&t in e){try{e[t]=null==r?"":r}catch(e){}null!=r&&!1!==r||"spellcheck"==t||e.removeAttribute(t)}else{var s=o&&t!==(t=t.replace(/^xlink:?/,""));null==r||!1===r?s?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.removeAttribute(t):"function"!=typeof r&&(s?e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),r):e.setAttribute(t,r))}else e.className=r||""}function y(e){return this._listeners[e.type](L.event&&L.event(e)||e)}function d(){for(var e;e=_.pop();)L.afterMount&&L.afterMount(e),e.componentDidMount&&e.componentDidMount()}function N(e,t,n,r,o,i){Q++||(Y=null!=o&&void 0!==o.ownerSVGElement,P=null!=e&&!("__preactattr_"in e));var a=g(e,t,n,r,i);return o&&a.parentNode!==o&&o.appendChild(a),--Q||(P=!1,i||d()),a}function g(e,t,n,r,o){var i=e,a=Y;if(null!=t&&"boolean"!=typeof t||(t=""),"string"==typeof t||"number"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||o)?e.nodeValue!=t&&(e.nodeValue=t):(i=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(i,e),h(e,!0))),i.__preactattr_=!0,i;var s=t.nodeName;if("function"==typeof s)return m(e,t,n,r);if(Y="svg"===s||"foreignObject"!==s&&Y,s+="",(!e||!c(e,s))&&(i=l(s,Y),e)){for(;e.firstChild;)i.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(i,e),h(e,!0)}var u=i.firstChild,M=i.__preactattr_,p=t.children;if(null==M){M=i.__preactattr_={};for(var f=i.attributes,y=f.length;y--;)M[f[y].name]=f[y].value}return!P&&p&&1===p.length&&"string"==typeof p[0]&&null!=u&&void 0!==u.splitText&&null==u.nextSibling?u.nodeValue!=p[0]&&(u.nodeValue=p[0]):(p&&p.length||null!=u)&&D(i,p,n,r,P||null!=M.dangerouslySetInnerHTML),T(i,t.attributes,M),Y=a,i}function D(e,t,n,r,o){var i,a,s,c,M,l=e.childNodes,f=[],y={},d=0,N=0,D=l.length,j=0,T=t?t.length:0;if(0!==D)for(var z=0;D>z;z++){var b=l[z],v=b.__preactattr_,w=T&&v?b._component?b._component.__key:v.key:null;null!=w?(d++,y[w]=b):(v||(void 0!==b.splitText?!o||b.nodeValue.trim():o))&&(f[j++]=b)}if(0!==T)for(var z=0;T>z;z++){c=t[z],M=null;var w=c.key;if(null!=w)d&&void 0!==y[w]&&(M=y[w],y[w]=void 0,d--);else if(j>N)for(i=N;j>i;i++)if(void 0!==f[i]&&u(a=f[i],c,o)){M=a,f[i]=void 0,i===j-1&&j--,i===N&&N++;break}M=g(M,c,n,r),s=l[z],M&&M!==e&&M!==s&&(null==s?e.appendChild(M):M===s.nextSibling?p(s):e.insertBefore(M,s))}if(d)for(var z in y)void 0!==y[z]&&h(y[z],!1);for(;j>=N;)void 0!==(M=f[j--])&&h(M,!1)}function h(e,t){var n=e._component;n?x(n):(null!=e.__preactattr_&&e.__preactattr_.ref&&e.__preactattr_.ref(null),!1!==t&&null!=e.__preactattr_||p(e),j(e))}function j(e){for(e=e.lastChild;e;){var t=e.previousSibling;h(e,!0),e=t}}function T(e,t,n){var r;for(r in n)t&&null!=t[r]||null==n[r]||f(e,r,n[r],n[r]=void 0,Y);for(r in t)"children"===r||"innerHTML"===r||r in n&&t[r]===("value"===r||"checked"===r?e[r]:n[r])||f(e,r,n[r],n[r]=t[r],Y)}function z(e,t,n){var r,o=B.length;for(e.prototype&&e.prototype.render?(r=new e(t,n),O.call(r,t,n)):(r=new O(t,n),r.constructor=e,r.render=b);o--;)if(B[o].constructor===e)return r.nextBase=B[o].nextBase,B.splice(o,1),r;return r}function b(e,t,n){return this.constructor(e,n)}function v(e,t,n,r,o){e._disable||(e._disable=!0,e.__ref=t.ref,e.__key=t.key,delete t.ref,delete t.key,void 0===e.constructor.getDerivedStateFromProps&&(!e.base||o?e.componentWillMount&&e.componentWillMount():e.componentWillReceiveProps&&e.componentWillReceiveProps(t,r)),r&&r!==e.context&&(e.prevContext||(e.prevContext=e.context),e.context=r),e.prevProps||(e.prevProps=e.props),e.props=t,e._disable=!1,0!==n&&(1!==n&&!1===L.syncComponentUpdates&&e.base?a(e):w(e,1,o)),e.__ref&&e.__ref(e))}function w(e,t,n,r){if(!e._disable){var i,a,s,u=e.props,c=e.state,l=e.context,p=e.prevProps||u,f=e.prevState||c,y=e.prevContext||l,g=e.base,D=e.nextBase,j=g||D,T=e._component,b=!1,m=y;if(e.constructor.getDerivedStateFromProps&&(c=o(o({},c),e.constructor.getDerivedStateFromProps(u,c)),e.state=c),g&&(e.props=p,e.state=f,e.context=y,2!==t&&e.shouldComponentUpdate&&!1===e.shouldComponentUpdate(u,c,l)?b=!0:e.componentWillUpdate&&e.componentWillUpdate(u,c,l),e.props=u,e.state=c,e.context=l),e.prevProps=e.prevState=e.prevContext=e.nextBase=null,e._dirty=!1,!b){i=e.render(u,c,l),e.getChildContext&&(l=o(o({},l),e.getChildContext())),g&&e.getSnapshotBeforeUpdate&&(m=e.getSnapshotBeforeUpdate(p,f));var O,I,E=i&&i.nodeName;if("function"==typeof E){var k=M(i);a=T,a&&a.constructor===E&&k.key==a.__key?v(a,k,1,l,!1):(O=a,e._component=a=z(E,k,l),a.nextBase=a.nextBase||D,a._parentComponent=e,v(a,k,0,l,!1),w(a,1,n,!0)),I=a.base}else s=j,O=T,O&&(s=e._component=null),(j||1===t)&&(s&&(s._component=null),I=N(s,i,l,n||!g,j&&j.parentNode,!0));if(j&&I!==j&&a!==T){var A=j.parentNode;A&&I!==A&&(A.replaceChild(I,j),O||(j._component=null,h(j,!1)))}if(O&&x(O),e.base=I,I&&!r){for(var S=e,U=e;U=U._parentComponent;)(S=U).base=I;I._component=S,I._componentConstructor=S.constructor}}for(!g||n?_.unshift(e):b||(e.componentDidUpdate&&e.componentDidUpdate(p,f,m),L.afterUpdate&&L.afterUpdate(e));e._renderCallbacks.length;)e._renderCallbacks.pop().call(e);Q||r||d()}}function m(e,t,n,r){for(var o=e&&e._component,i=o,a=e,s=o&&e._componentConstructor===t.nodeName,u=s,c=M(t);o&&!u&&(o=o._parentComponent);)u=o.constructor===t.nodeName;return o&&u&&(!r||o._component)?(v(o,c,3,n,r),e=o.base):(i&&!s&&(x(i),e=a=null),o=z(t.nodeName,c,n),e&&!o.nextBase&&(o.nextBase=e,a=null),v(o,c,1,n,r),e=o.base,a&&e!==a&&(a._component=null,h(a,!1))),e}function x(e){L.beforeUnmount&&L.beforeUnmount(e);var t=e.base;e._disable=!0,e.componentWillUnmount&&e.componentWillUnmount(),e.base=null;var n=e._component;n?x(n):t&&(t.__preactattr_&&t.__preactattr_.ref&&t.__preactattr_.ref(null),e.nextBase=t,p(t),B.push(e),j(t)),e.__ref&&e.__ref(null)}function O(e,t){this._dirty=!0,this.context=t,this.props=e,this.state=this.state||{},this._renderCallbacks=[]}function I(e,t,n){return N(n,e,{},!1,t,!1)}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"h",function(){return r}),n.d(t,"createElement",function(){return r}),n.d(t,"cloneElement",function(){return i}),n.d(t,"Component",function(){return O}),n.d(t,"render",function(){return I}),n.d(t,"rerender",function(){return s}),n.d(t,"options",function(){return L});var E=function(){},L={},k=[],A=[],S="function"==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):setTimeout,U=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,C=[],_=[],Q=0,Y=!1,P=!1,B=[];o(O.prototype,{setState:function(e,t){this.prevState||(this.prevState=this.state),this.state=o(o({},this.state),"function"==typeof e?e(this.state,this.props):e),t&&this._renderCallbacks.push(t),a(this)},forceUpdate:function(e){e&&this._renderCallbacks.push(e),w(this,2)},render:function(){}}),t.default={h:r,createElement:r,cloneElement:i,Component:O,render:I,rerender:s,options:L}},function(e,t,n){"use strict";(function(e){function n(e,t){function n(){this.constructor=e}tn(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function r(e){return e.interceptors&&e.interceptors.length>0}function o(e,t){var n=e.interceptors||(e.interceptors=[]);return n.push(t),Oe(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function i(e,t){var n=wt();try{var r=e.interceptors;if(r)for(var o=0,i=r.length;i>o&&(t=r[o](t),me(!t||t.type,"Intercept handlers should return nothing or a change object"),t);o++);return t}finally{mt(n)}}function a(e){return e.changeListeners&&e.changeListeners.length>0}function s(e,t){var n=e.changeListeners||(e.changeListeners=[]);return n.push(t),Oe(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function u(e,t){var n=wt(),r=e.changeListeners;if(r){r=r.slice();for(var o=0,i=r.length;i>o;o++)r[o](t);mt(n)}}function c(){return!!Vn.spyListeners.length}function M(e){if(Vn.spyListeners.length)for(var t=Vn.spyListeners,n=0,r=t.length;r>n;n++)t[n](e)}function l(e){M(Ae({},e,{spyReportStart:!0}))}function p(e){M(e?Ae({},e,an):an)}function f(e){return Vn.spyListeners.push(e),Oe(function(){var t=Vn.spyListeners.indexOf(e);-1!==t&&Vn.spyListeners.splice(t,1)})}function y(){return"function"==typeof Symbol&&Symbol.iterator||"@@iterator"}function d(e){me(!0!==e[sn],"Illegal state: cannot recycle array as iterator"),Ce(e,sn,!0);var t=-1;return Ce(e,"next",function(){return t++,{done:t>=this.length,value:this.length>t?this[t]:void 0}}),e}function N(e,t){Ce(e,y(),t)}function g(e){return{enumerable:!1,configurable:!1,get:function(){return this.get(e)},set:function(t){this.set(e,t)}}}function D(e){Object.defineProperty(pn.prototype,""+e,g(e))}function h(e){for(var t=cn;e>t;t++)D(t);cn=e}function j(e){return Le(e)&&yn(e.$mobx)}function T(e){return Dn[e]}function z(e,t){me("function"==typeof t,T("m026")),me("string"==typeof e&&e.length>0,"actions should have valid names, got: '"+e+"'");var n=function(){return b(e,t,this,arguments)};return n.originalFn=t,n.isMobxAction=!0,n}function b(e,t,n,r){var o=v(e,t,n,r);try{return t.apply(n,r)}finally{w(o)}}function v(e,t,n,r){var o=c()&&!!e,i=0;if(o){i=Date.now();var a=r&&r.length||0,s=Array(a);if(a>0)for(var u=0;a>u;u++)s[u]=r[u];l({type:"action",name:e,fn:t,object:n,arguments:s})}var M=wt();return ct(),{prevDerivation:M,prevAllowStateChanges:I(!0),notifySpy:o,startTime:i}}function w(e){E(e.prevAllowStateChanges),Mt(),mt(e.prevDerivation),e.notifySpy&&p({time:Date.now()-e.startTime})}function m(e){me(null===Vn.trackingDerivation,T("m028")),Vn.strictMode=e,Vn.allowStateChanges=!e}function x(){return Vn.strictMode}function O(e,t){var n,r=I(e);try{n=t()}finally{E(r)}return n}function I(e){var t=Vn.allowStateChanges;return Vn.allowStateChanges=e,t}function E(e){Vn.allowStateChanges=e}function L(e,t,n,r,o){function i(i,a,s,u,c){if(void 0===c&&(c=0),me(o||S(arguments),"This function is a decorator, but it wasn't invoked like a decorator"),s){Se(i,"__mobxLazyInitializers")||Ue(i,"__mobxLazyInitializers",i.__mobxLazyInitializers&&i.__mobxLazyInitializers.slice()||[]);var M=s.value,l=s.initializer;return i.__mobxLazyInitializers.push(function(t){e(t,a,l?l.call(t):M,u,s)}),{enumerable:r,configurable:!0,get:function(){return!0!==this.__mobxDidRunLazyInitializers&&A(this),t.call(this,a)},set:function(e){!0!==this.__mobxDidRunLazyInitializers&&A(this),n.call(this,a,e)}}}var p={enumerable:r,configurable:!0,get:function(){return this.__mobxInitializedProps&&!0===this.__mobxInitializedProps[a]||k(this,a,void 0,e,u,s),t.call(this,a)},set:function(t){this.__mobxInitializedProps&&!0===this.__mobxInitializedProps[a]?n.call(this,a,t):k(this,a,t,e,u,s)}};return(3>arguments.length||5===arguments.length&&3>c)&&Object.defineProperty(i,a,p),p}return o?function(){if(S(arguments))return i.apply(null,arguments);var e=arguments,t=arguments.length;return function(n,r,o){return i(n,r,o,e,t)}}:i}function k(e,t,n,r,o,i){Se(e,"__mobxInitializedProps")||Ue(e,"__mobxInitializedProps",{}),e.__mobxInitializedProps[t]=!0,r(e,t,n,o,i)}function A(e){!0!==e.__mobxDidRunLazyInitializers&&e.__mobxLazyInitializers&&(Ue(e,"__mobxDidRunLazyInitializers",!0),e.__mobxDidRunLazyInitializers&&e.__mobxLazyInitializers.forEach(function(t){return t(e)}))}function S(e){return(2===e.length||3===e.length)&&"string"==typeof e[1]}function U(e){return function(t,n,r){if(r&&"function"==typeof r.value)return r.value=z(e,r.value),r.enumerable=!1,r.configurable=!0,r;if(void 0!==r&&void 0!==r.get)throw Error("[mobx] action is not expected to be used with getters");return hn(e).apply(this,arguments)}}function C(e,t,n){var r="string"==typeof e?e:e.name||"",o="function"==typeof e?e:t,i="function"==typeof e?t:n;return me("function"==typeof o,T("m002")),me(0===o.length,T("m003")),me("string"==typeof r&&r.length>0,"actions should have valid names, got: '"+r+"'"),b(r,o,i,void 0)}function _(e){return"function"==typeof e&&!0===e.isMobxAction}function Q(e,t,n){var r=function(){return b(t,n,e,arguments)};r.isMobxAction=!0,Ue(e,t,r)}function Y(e,t){return P(e,t)}function P(e,t,n,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!==e)return t!==t;var o=void 0===e?"undefined":en(e);return("function"===o||"object"===o||"object"==(void 0===t?"undefined":en(t)))&&B(e,t,n,r)}function B(e,t,n,r){e=R(e),t=R(t);var o=zn.call(e);if(o!==zn.call(t))return!1;switch(o){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t)}var i="[object Array]"===o;if(!i){if("object"!=(void 0===e?"undefined":en(e))||"object"!=(void 0===t?"undefined":en(t)))return!1;var a=e.constructor,s=t.constructor;if(a!==s&&!("function"==typeof a&&a instanceof a&&"function"==typeof s&&s instanceof s)&&"constructor"in e&&"constructor"in t)return!1}n=n||[],r=r||[];for(var u=n.length;u--;)if(n[u]===e)return r[u]===t;if(n.push(e),r.push(t),i){if((u=e.length)!==t.length)return!1;for(;u--;)if(!P(e[u],t[u],n,r))return!1}else{var c,M=Object.keys(e);if(u=M.length,Object.keys(t).length!==u)return!1;for(;u--;)if(c=M[u],!G(t,c)||!P(e[c],t[c],n,r))return!1}return n.pop(),r.pop(),!0}function R(e){return j(e)?e.peek():Yn(e)?e.entries():Re(e)?He(e.entries()):e}function G(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function H(e,t){return e===t}function Z(e,t){return Y(e,t)}function V(e,t){return Pe(e,t)||H(e,t)}function W(e,t,n){function r(){i(s)}var o,i,a;"string"==typeof e?(o=e,i=t,a=n):(o=e.name||"Autorun@"+ve(),i=e,a=t),me("function"==typeof i,T("m004")),me(!1===_(i),T("m005")),a&&(i=i.bind(a));var s=new er(o,function(){this.track(r)});return s.schedule(),s.getDisposer()}function J(e,t,n,r){var o,i,a,s;return"string"==typeof e?(o=e,i=t,a=n,s=r):(o="When@"+ve(),i=e,a=t,s=n),W(o,function(e){if(i.call(s)){e.dispose();var t=wt();a.call(s),mt(t)}})}function F(e,t,n,r){function o(){a(M)}var i,a,s,u;"string"==typeof e?(i=e,a=t,s=n,u=r):(i=e.name||"AutorunAsync@"+ve(),a=e,s=t,u=n),me(!1===_(a),T("m006")),void 0===s&&(s=1),u&&(a=a.bind(u));var c=!1,M=new er(i,function(){c||(c=!0,setTimeout(function(){c=!1,M.isDisposed||M.track(o)},s))});return M.schedule(),M.getDisposer()}function $(e,t,n){function r(){if(!c.isDisposed){var n=!1;c.track(function(){var t=e(c);n=a||!u(i,t),i=t}),a&&o.fireImmediately&&t(i,c),a||!0!==n||t(i,c),a&&(a=!1)}}arguments.length>3&&we(T("m007")),ye(e)&&we(T("m008"));var o;o="object"===(void 0===n?"undefined":en(n))?n:{},o.name=o.name||e.name||t.name||"Reaction@"+ve(),o.fireImmediately=!0===n||!0===o.fireImmediately,o.delay=o.delay||0,o.compareStructural=o.compareStructural||o.struct||!1,t=Tn(o.name,o.context?t.bind(o.context):t),o.context&&(e=e.bind(o.context));var i,a=!0,s=!1,u=o.equals?o.equals:o.compareStructural||o.struct?bn.structural:bn.default,c=new er(o.name,function(){a||1>o.delay?r():s||(s=!0,setTimeout(function(){s=!1,r()},o.delay))});return c.schedule(),c.getDisposer()}function q(e,t){if(ae(e)&&e.hasOwnProperty("$mobx"))return e.$mobx;me(Object.isExtensible(e),T("m035")),ke(e)||(t=(e.constructor.name||"ObservableObject")+"@"+ve()),t||(t="ObservableObject@"+ve());var n=new mn(e,t);return Ce(e,"$mobx",n),n}function X(e,t,n,r){if(e.values[t]&&!wn(e.values[t]))return me("value"in n,"The property "+t+" in "+e.name+" is already observable, cannot redefine it as computed property"),void(e.target[t]=n.value);if("value"in n)if(ye(n.value)){var o=n.value;K(e,t,o.initialValue,o.enhancer)}else _(n.value)&&!0===n.value.autoBind?Q(e.target,t,n.value.originalFn):wn(n.value)?te(e,t,n.value):K(e,t,n.value,r);else ee(e,t,n.get,n.set,bn.default,!0)}function K(e,t,n,o){if(Qe(e.target,t),r(e)){var a=i(e,{object:e.target,name:t,type:"add",newValue:n});if(!a)return;n=a.newValue}n=(e.values[t]=new Nn(n,o,e.name+"."+t,!1)).value,Object.defineProperty(e.target,t,ne(t)),ie(e,e.target,t,n)}function ee(e,t,n,r,o,i){i&&Qe(e.target,t),e.values[t]=new vn(n,e.target,o,e.name+"."+t,r),i&&Object.defineProperty(e.target,t,re(t))}function te(e,t,n){n.name=e.name+"."+t,n.scope||(n.scope=e.target),e.values[t]=n,Object.defineProperty(e.target,t,re(t))}function ne(e){return xn[e]||(xn[e]={configurable:!0,enumerable:!0,get:function(){return this.$mobx.values[e].get()},set:function(t){oe(this,e,t)}})}function re(e){return On[e]||(On[e]={configurable:!0,enumerable:!1,get:function(){return this.$mobx.values[e].get()},set:function(t){return this.$mobx.values[e].set(t)}})}function oe(e,t,n){var o=e.$mobx,s=o.values[t];if(r(o)){var M=i(o,{type:"update",object:e,name:t,newValue:n});if(!M)return;n=M.newValue}if((n=s.prepareNewValue(n))!==dn){var f=a(o),y=c(),M=f||y?{type:"update",object:e,oldValue:s.value,name:t,newValue:n}:null;y&&l(M),s.setNewValue(n),f&&u(o,M),y&&p()}}function ie(e,t,n,r){var o=a(e),i=c(),s=o||i?{type:"add",object:t,name:n,newValue:r}:null;i&&l(s),o&&u(e,s),i&&p()}function ae(e){return!!Le(e)&&(A(e),In(e.$mobx))}function se(e,t){if(null===e||void 0===e)return!1;if(void 0!==t){if(j(e)||Yn(e))throw Error(T("m019"));if(ae(e)){var n=e.$mobx;return n.values&&!!n.values[t]}return!1}return ae(e)||!!e.$mobx||on(e)||rr(e)||wn(e)}function ue(e){return me(!!e,":("),L(function(t,n,r,o,i){Qe(t,n),me(!i||!i.get,T("m022")),K(q(t,void 0),n,r,e)},function(e){var t=this.$mobx.values[e];if(void 0!==t)return t.get()},function(e,t){oe(this,e,t)},!0,!1)}function ce(e){for(var t=[],n=1;arguments.length>n;n++)t[n-1]=arguments[n];return le(e,Ne,t)}function Me(e){for(var t=[],n=1;arguments.length>n;n++)t[n-1]=arguments[n];return le(e,De,t)}function le(e,t,n){me(arguments.length>=2,T("m014")),me("object"===(void 0===e?"undefined":en(e)),T("m015")),me(!Yn(e),T("m016")),n.forEach(function(e){me("object"===(void 0===e?"undefined":en(e)),T("m017")),me(!se(e),T("m018"))});for(var r=q(e),o={},i=n.length-1;i>=0;i--){var a=n[i];for(var s in a)if(!0!==o[s]&&Se(a,s)){if(o[s]=!0,e===a&&!_e(e,s))continue;var u=Object.getOwnPropertyDescriptor(a,s);X(r,s,u,t)}}return e}function pe(e){if(void 0===e&&(e=void 0),"string"==typeof arguments[1])return En.apply(null,arguments);if(me(1>=arguments.length,T("m021")),me(!ye(e),T("m020")),se(e))return e;var t=Ne(e,void 0,void 0);return t!==e?t:Cn.box(e)}function fe(e){we("Expected one or two arguments to observable."+e+". Did you accidentally try to use observable."+e+" as decorator?")}function ye(e){return"object"===(void 0===e?"undefined":en(e))&&null!==e&&!0===e.isMobxModifierDescriptor}function de(e,t){return me(!ye(t),"Modifiers cannot be nested"),{isMobxModifierDescriptor:!0,initialValue:t,enhancer:e}}function Ne(e,t,n){return ye(e)&&we("You tried to assign a modifier wrapped value to a collection, please define modifiers when creating the collection, not when modifying it"),se(e)?e:Array.isArray(e)?Cn.array(e,n):ke(e)?Cn.object(e,n):Re(e)?Cn.map(e,n):e}function ge(e,t,n){return ye(e)&&we("You tried to assign a modifier wrapped value to a collection, please define modifiers when creating the collection, not when modifying it"),void 0===e||null===e?e:ae(e)||j(e)||Yn(e)?e:Array.isArray(e)?Cn.shallowArray(e,n):ke(e)?Cn.shallowObject(e,n):Re(e)?Cn.shallowMap(e,n):we("The shallow modifier / decorator can only used in combination with arrays, objects and maps")}function De(e){return e}function he(e,t,n){if(Y(e,t))return t;if(se(e))return e;if(Array.isArray(e))return new pn(e,he,n);if(Re(e))return new Qn(e,he,n);if(ke(e)){var r={};return q(r,n),le(r,he,[e]),r}return e}function je(e,t){return Y(e,t)?t:e}function Te(e,t){void 0===t&&(t=void 0),ct();try{return e.apply(t)}finally{Mt()}}function ze(e){return xe("`mobx.map` is deprecated, use `new ObservableMap` or `mobx.observable.map` instead"),Cn.map(e)}function be(){return"undefined"!=typeof window?window:e}function ve(){return++Vn.mobxGuid}function we(e,t){throw me(!1,e,t),"X"}function me(e,t,n){if(!e)throw Error("[mobx] Invariant failed: "+t+(n?" in '"+n+"'":""))}function xe(e){return-1===Bn.indexOf(e)&&(Bn.push(e),console.error("[mobx] Deprecated: "+e),!0)}function Oe(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}function Ie(e){var t=[];return e.forEach(function(e){-1===t.indexOf(e)&&t.push(e)}),t}function Ee(e,t,n){return void 0===t&&(t=100),void 0===n&&(n=" - "),e?e.slice(0,t).join(n)+(e.length>t?" (... and "+(e.length-t)+"more)":""):""}function Le(e){return null!==e&&"object"===(void 0===e?"undefined":en(e))}function ke(e){if(null===e||"object"!==(void 0===e?"undefined":en(e)))return!1;var t=Object.getPrototypeOf(e);return t===Object.prototype||null===t}function Ae(){for(var e=arguments[0],t=1,n=arguments.length;n>t;t++){var r=arguments[t];for(var o in r)Se(r,o)&&(e[o]=r[o])}return e}function Se(e,t){return Gn.call(e,t)}function Ue(e,t,n){Object.defineProperty(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function Ce(e,t,n){Object.defineProperty(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function _e(e,t){var n=Object.getOwnPropertyDescriptor(e,t);return!n||!1!==n.configurable&&!1!==n.writable}function Qe(e,t){me(_e(e,t),"Cannot make property '"+t+"' observable, it is not configurable and writable in the target object")}function Ye(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return Le(e)&&!0===e[n]}}function Pe(e,t){return"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function Be(e){return Array.isArray(e)||j(e)}function Re(e){return void 0!==be().Map&&e instanceof be().Map}function Ge(e){return ke(e)?Object.keys(e):Array.isArray(e)?e.map(function(e){return e[0]}):Re(e)?Array.from(e.keys()):Yn(e)?e.keys():we("Cannot get keys from "+e)}function He(e){for(var t=[];;){var n=e.next();if(n.done)break;t.push(n.value)}return t}function Ze(){return"function"==typeof Symbol&&Symbol.toPrimitive||"@@toPrimitive"}function Ve(e){return null===e?null:"object"===(void 0===e?"undefined":en(e))?""+e:e}function We(){Jn=!0,be().__mobxInstanceCount--}function Je(){xe("Using `shareGlobalState` is not recommended, use peer dependencies instead. See https://github.com/mobxjs/mobx/issues/1082 for details."),Wn=!0;var e=be(),t=Vn;if(e.__mobservableTrackingStack||e.__mobservableViewStack)throw Error("[mobx] An incompatible version of mobservable is already loaded.");if(e.__mobxGlobal&&e.__mobxGlobal.version!==t.version)throw Error("[mobx] An incompatible version of mobx is already loaded.");e.__mobxGlobal?Vn=e.__mobxGlobal:e.__mobxGlobal=t}function Fe(){return Vn}function $e(){Vn.resetId++;var e=new Zn;for(var t in e)-1===Hn.indexOf(t)&&(Vn[t]=e[t]);Vn.allowStateChanges=!Vn.strictMode}function qe(e,t){if("object"===(void 0===e?"undefined":en(e))&&null!==e){if(j(e))return me(void 0===t,T("m036")),e.$mobx.atom;if(Yn(e)){var n=e;if(void 0===t)return qe(n._keys);var r=n._data[t]||n._hasMap[t];return me(!!r,"the entry '"+t+"' does not exist in the observable map '"+Ke(e)+"'"),r}if(A(e),ae(e)){if(!t)return we("please specify a property");var r=e.$mobx.values[t];return me(!!r,"no observable property '"+t+"' found on the observable object '"+Ke(e)+"'"),r}if(on(e)||wn(e)||rr(e))return e}else if("function"==typeof e&&rr(e.$mobx))return e.$mobx;return we("Cannot obtain atom from "+e)}function Xe(e,t){return me(e,"Expecting some object"),void 0!==t?Xe(qe(e,t)):on(e)||wn(e)||rr(e)?e:Yn(e)?e:(A(e),e.$mobx?e.$mobx:void me(!1,"Cannot obtain administration from "+e))}function Ke(e,t){var n;return n=void 0!==t?qe(e,t):ae(e)||Yn(e)?Xe(e):qe(e),n.name}function et(e,t){return tt(qe(e,t))}function tt(e){var t={name:e.name};return e.observing&&e.observing.length>0&&(t.dependencies=Ie(e.observing).map(tt)),t}function nt(e,t){return rt(qe(e,t))}function rt(e){var t={name:e.name};return ot(e)&&(t.observers=it(e).map(rt)),t}function ot(e){return e.observers&&e.observers.length>0}function it(e){return e.observers}function at(e,t){var n=e.observers.length;n&&(e.observersIndexes[t.__mapid]=n),e.observers[n]=t,e.lowestObserverState>t.dependenciesState&&(e.lowestObserverState=t.dependenciesState)}function st(e,t){if(1===e.observers.length)e.observers.length=0,ut(e);else{var n=e.observers,r=e.observersIndexes,o=n.pop();if(o!==t){var i=r[t.__mapid]||0;i?r[o.__mapid]=i:delete r[o.__mapid],n[i]=o}delete r[t.__mapid]}}function ut(e){e.isPendingUnobservation||(e.isPendingUnobservation=!0,Vn.pendingUnobservations.push(e))}function ct(){Vn.inBatch++}function Mt(){if(0==--Vn.inBatch){St();for(var e=Vn.pendingUnobservations,t=0;e.length>t;t++){var n=e[t];n.isPendingUnobservation=!1,0===n.observers.length&&n.onBecomeUnobserved()}Vn.pendingUnobservations=[]}}function lt(e){var t=Vn.trackingDerivation;null!==t?t.runId!==e.lastAccessedBy&&(e.lastAccessedBy=t.runId,t.newObserving[t.unboundDepsCount++]=e):0===e.observers.length&&ut(e)}function pt(e){if(e.lowestObserverState!==qn.STALE){e.lowestObserverState=qn.STALE;for(var t=e.observers,n=t.length;n--;){var r=t[n];r.dependenciesState===qn.UP_TO_DATE&&(r.isTracing!==Xn.NONE&&dt(r,e),r.onBecomeStale()),r.dependenciesState=qn.STALE}}}function ft(e){if(e.lowestObserverState!==qn.STALE){e.lowestObserverState=qn.STALE;for(var t=e.observers,n=t.length;n--;){var r=t[n];r.dependenciesState===qn.POSSIBLY_STALE?r.dependenciesState=qn.STALE:r.dependenciesState===qn.UP_TO_DATE&&(e.lowestObserverState=qn.UP_TO_DATE)}}}function yt(e){if(e.lowestObserverState===qn.UP_TO_DATE){e.lowestObserverState=qn.POSSIBLY_STALE;for(var t=e.observers,n=t.length;n--;){var r=t[n];r.dependenciesState===qn.UP_TO_DATE&&(r.dependenciesState=qn.POSSIBLY_STALE,r.isTracing!==Xn.NONE&&dt(r,e),r.onBecomeStale())}}}function dt(e,t){if(console.log("[mobx.trace] '"+e.name+"' is invalidated due to a change in: '"+t.name+"'"),e.isTracing===Xn.BREAK){var n=[];Nt(et(e),n,1),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 vn?""+e.derivation:"")+"\n\nThe dependencies for this derivation are:\n\n"+n.join("\n")+"\n*/\n ")()}}function Nt(e,t,n){if(t.length>=1e3)return void t.push("(and many more)");t.push(""+Array(n).join("\t")+e.name),e.dependencies&&e.dependencies.forEach(function(e){return Nt(e,t,n+1)})}function gt(e){return e instanceof Kn}function Dt(e){switch(e.dependenciesState){case qn.UP_TO_DATE:return!1;case qn.NOT_TRACKING:case qn.STALE:return!0;case qn.POSSIBLY_STALE:for(var t=wt(),n=e.observing,r=n.length,o=0;r>o;o++){var i=n[o];if(wn(i)){try{i.get()}catch(e){return mt(t),!0}if(e.dependenciesState===qn.STALE)return mt(t),!0}}return xt(e),mt(t),!1}}function ht(){return null!==Vn.trackingDerivation}function jt(e){var t=e.observers.length>0;Vn.computationDepth>0&&t&&we(T("m031")+e.name),!Vn.allowStateChanges&&t&&we(T(Vn.strictMode?"m030a":"m030b")+e.name)}function Tt(e,t,n){xt(e),e.newObserving=Array(e.observing.length+100),e.unboundDepsCount=0,e.runId=++Vn.runId;var r=Vn.trackingDerivation;Vn.trackingDerivation=e;var o;try{o=t.call(n)}catch(e){o=new Kn(e)}return Vn.trackingDerivation=r,zt(e),o}function zt(e){for(var t=e.observing,n=e.observing=e.newObserving,r=qn.UP_TO_DATE,o=0,i=e.unboundDepsCount,a=0;i>a;a++){var s=n[a];0===s.diffValue&&(s.diffValue=1,o!==a&&(n[o]=s),o++),s.dependenciesState>r&&(r=s.dependenciesState)}for(n.length=o,e.newObserving=null,i=t.length;i--;){var s=t[i];0===s.diffValue&&st(s,e),s.diffValue=0}for(;o--;){var s=n[o];1===s.diffValue&&(s.diffValue=0,at(s,e))}r!==qn.UP_TO_DATE&&(e.dependenciesState=r,e.onBecomeStale())}function bt(e){var t=e.observing;e.observing=[];for(var n=t.length;n--;)st(t[n],e);e.dependenciesState=qn.NOT_TRACKING}function vt(e){var t=wt(),n=e();return mt(t),n}function wt(){var e=Vn.trackingDerivation;return Vn.trackingDerivation=null,e}function mt(e){Vn.trackingDerivation=e}function xt(e){if(e.dependenciesState!==qn.UP_TO_DATE){e.dependenciesState=qn.UP_TO_DATE;for(var t=e.observing,n=t.length;n--;)t[n].lowestObserverState=qn.UP_TO_DATE}}function Ot(e){return console.log(e),e}function It(e){return xe("`whyRun` is deprecated in favor of `trace`"),e=Lt(arguments),e?wn(e)||rr(e)?Ot(e.whyRun()):we(T("m025")):Ot(T("m024"))}function Et(){for(var e=[],t=0;arguments.length>t;t++)e[t]=arguments[t];var n=!1;"boolean"==typeof e[e.length-1]&&(n=e.pop());var r=Lt(e);if(!r)return we("'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly");r.isTracing===Xn.NONE&&console.log("[mobx.trace] '"+r.name+"' tracing enabled"),r.isTracing=n?Xn.BREAK:Xn.LOG}function Lt(e){switch(e.length){case 0:return Vn.trackingDerivation;case 1:return qe(e[0]);case 2:return qe(e[0],e[1])}}function kt(e){me(this&&this.$mobx&&rr(this.$mobx),"Invalid `this`"),me(!this.$mobx.errorHandler,"Only one onErrorHandler can be registered"),this.$mobx.errorHandler=e}function At(e){return Vn.globalReactionErrorHandlers.push(e),function(){var t=Vn.globalReactionErrorHandlers.indexOf(e);0>t||Vn.globalReactionErrorHandlers.splice(t,1)}}function St(){Vn.inBatch>0||Vn.isRunningReactions||nr(Ut)}function Ut(){Vn.isRunningReactions=!0;for(var e=Vn.pendingReactions,t=0;e.length>0;){++t===tr&&(console.error("Reaction doesn't converge to a stable state after "+tr+" iterations. Probably there is a cycle in the reactive function: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,o=n.length;o>r;r++)n[r].runReaction()}Vn.isRunningReactions=!1}function Ct(e){var t=nr;nr=function(n){return e(function(){return t(n)})}}function _t(e){return xe("asReference is deprecated, use observable.ref instead"),Cn.ref(e)}function Qt(e){return xe("asStructure is deprecated. Use observable.struct, computed.struct or reaction options instead."),Cn.struct(e)}function Yt(e){return xe("asFlat is deprecated, use observable.shallow instead"),Cn.shallow(e)}function Pt(e){return xe("asMap is deprecated, use observable.map or observable.shallowMap instead"),Cn.map(e||{})}function Bt(e){return L(function(t,n,r,o,i){me(void 0!==i,T("m009")),me("function"==typeof i.get,T("m010")),ee(q(t,""),n,i.get,i.set,e,!1)},function(e){var t=this.$mobx.values[e];if(void 0!==t)return t.get()},function(e,t){this.$mobx.values[e].set(t)},!1,!1)}function Rt(e,t){if(null===e||void 0===e)return!1;if(void 0!==t){if(!1===ae(e))return!1;if(!e.$mobx.values[t])return!1;var n=qe(e,t);return wn(n)}return wn(e)}function Gt(e,t,n,r){return"function"==typeof n?Zt(e,t,n,r):Ht(e,t,n)}function Ht(e,t,n){return Xe(e).observe(t,n)}function Zt(e,t,n,r){return Xe(e,t).observe(n,r)}function Vt(e,t,n){return"function"==typeof n?Jt(e,t,n):Wt(e,t)}function Wt(e,t){return Xe(e).intercept(t)}function Jt(e,t,n){return Xe(e,t).intercept(n)}function Ft(e,t){return ht()||console.warn(T("m013")),ar(e,{context:t}).get()}function $t(e,t,n){function r(r){return t&&n.push([e,r]),r}if(void 0===t&&(t=!0),void 0===n&&(n=[]),se(e)){if(t&&null===n&&(n=[]),t&&null!==e&&"object"===(void 0===e?"undefined":en(e)))for(var o=0,i=n.length;i>o;o++)if(n[o][0]===e)return n[o][1];if(j(e)){var a=r([]),s=e.map(function(e){return $t(e,t,n)});a.length=s.length;for(var o=0,i=s.length;i>o;o++)a[o]=s[o];return a}if(ae(e)){var a=r({});for(var u in e)a[u]=$t(e[u],t,n);return a}if(Yn(e)){var c=r({});return e.forEach(function(e,r){return c[r]=$t(e,t,n)}),c}if(gn(e))return $t(e.get(),t,n)}return e}function qt(e,t){me("function"==typeof e&&2>e.length,"createTransformer expects a function that accepts one argument");var r={},o=Vn.resetId,i=function(o){function i(t,n){var r=o.call(this,function(){return e(n)},void 0,bn.default,"Transformer-"+e.name+"-"+t,void 0)||this;return r.sourceIdentifier=t,r.sourceObject=n,r}return n(i,o),i.prototype.onBecomeUnobserved=function(){var e=this.value;o.prototype.onBecomeUnobserved.call(this),delete r[this.sourceIdentifier],t&&t(e,this.sourceObject)},i}(vn);return function(e){o!==Vn.resetId&&(r={},o=Vn.resetId);var t=Xt(e),n=r[t];return n?n.get():(n=r[t]=new i(t,e),n.get())}}function Xt(e){if("string"==typeof e||"number"==typeof e)return e;if(null===e||"object"!==(void 0===e?"undefined":en(e)))throw Error("[mobx] transform expected some kind of object or primitive value, got: "+e);var t=e.$transformId;return void 0===t&&(t=ve(),Ue(e,"$transformId",t)),t}function Kt(e,t,n){var r;if(Yn(e)||j(e)||gn(e))r=Xe(e);else{if(!ae(e))return we("Expected observable map, object or array as first array");if("string"!=typeof t)return we("InterceptReads can only be used with a specific property, not with an object in general");r=Xe(e,t)}return void 0!==r.dehancer?we("An intercept reader was already established"):(r.dehancer="function"==typeof t?t:n,function(){r.dehancer=void 0})}Object.defineProperty(t,"__esModule",{value:!0});var en="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},tn=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])},nn=function(){function e(e){void 0===e&&(e="Atom@"+ve()),this.name=e,this.isPendingUnobservation=!0,this.observers=[],this.observersIndexes={},this.diffValue=0,this.lastAccessedBy=0,this.lowestObserverState=qn.NOT_TRACKING}return e.prototype.onBecomeUnobserved=function(){},e.prototype.reportObserved=function(){lt(this)},e.prototype.reportChanged=function(){ct(),pt(this),Mt()},e.prototype.toString=function(){return this.name},e}(),rn=function(e){function t(t,n,r){void 0===t&&(t="Atom@"+ve()),void 0===n&&(n=Rn),void 0===r&&(r=Rn);var o=e.call(this,t)||this;return o.name=t,o.onBecomeObservedHandler=n,o.onBecomeUnobservedHandler=r,o.isPendingUnobservation=!1,o.isBeingTracked=!1,o}return n(t,e),t.prototype.reportObserved=function(){return ct(),e.prototype.reportObserved.call(this),this.isBeingTracked||(this.isBeingTracked=!0,this.onBecomeObservedHandler()),Mt(),!!Vn.trackingDerivation},t.prototype.onBecomeUnobserved=function(){this.isBeingTracked=!1,this.onBecomeUnobservedHandler()},t}(nn),on=Ye("Atom",nn),an={spyReportEnd:!0},sn="__$$iterating",un=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),cn=0,Mn=function(){function e(){}return e}();!function(e,t){void 0!==Object.setPrototypeOf?Object.setPrototypeOf(e.prototype,t):void 0!==e.prototype.__proto__?e.prototype.__proto__=t:e.prototype=t}(Mn,Array.prototype),Object.isFrozen(Array)&&["constructor","push","shift","concat","pop","unshift","replace","find","findIndex","splice","reverse","sort"].forEach(function(e){Object.defineProperty(Mn.prototype,e,{configurable:!0,writable:!0,value:Array.prototype[e]})});var ln=function(){function e(e,t,n,r){this.array=n,this.owned=r,this.values=[],this.lastKnownLength=0,this.interceptors=null,this.changeListeners=null,this.atom=new nn(e||"ObservableArray@"+ve()),this.enhancer=function(n,r){return t(n,r,e+"[..]")}}return e.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},e.prototype.dehanceValues=function(e){return void 0!==this.dehancer?e.map(this.dehancer):e},e.prototype.intercept=function(e){return o(this,e)},e.prototype.observe=function(e,t){return void 0===t&&(t=!1),t&&e({object:this.array,type:"splice",index:0,added:this.values.slice(),addedCount:this.values.length,removed:[],removedCount:0}),s(this,e)},e.prototype.getArrayLength=function(){return this.atom.reportObserved(),this.values.length},e.prototype.setArrayLength=function(e){if("number"!=typeof e||0>e)throw Error("[mobx.array] Out of range: "+e);var t=this.values.length;if(e!==t)if(e>t){for(var n=Array(e-t),r=0;e-t>r;r++)n[r]=void 0;this.spliceWithArray(t,0,n)}else this.spliceWithArray(e,t-e)},e.prototype.updateArrayLength=function(e,t){if(e!==this.lastKnownLength)throw Error("[mobx] Modification exception: the internal structure of an observable array was changed. Did you use peek() to change it?");this.lastKnownLength+=t,t>0&&e+t+1>cn&&h(e+t+1)},e.prototype.spliceWithArray=function(e,t,n){var o=this;jt(this.atom);var a=this.values.length;if(void 0===e?e=0:e>a?e=a:0>e&&(e=Math.max(0,a+e)),t=1===arguments.length?a-e:void 0===t||null===t?0:Math.max(0,Math.min(t,a-e)),void 0===n&&(n=[]),r(this)){var s=i(this,{object:this.array,type:"splice",index:e,removedCount:t,added:n});if(!s)return Pn;t=s.removedCount,n=s.added}n=n.map(function(e){return o.enhancer(e,void 0)}),this.updateArrayLength(a,n.length-t);var u=this.spliceItemsIntoValues(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice(e,n,u),this.dehanceValues(u)},e.prototype.spliceItemsIntoValues=function(e,t,n){if(1e4>n.length)return(o=this.values).splice.apply(o,[e,t].concat(n));var r=this.values.slice(e,e+t);return this.values=this.values.slice(0,e).concat(n,this.values.slice(e+t)),r;var o},e.prototype.notifyArrayChildUpdate=function(e,t,n){var r=!this.owned&&c(),o=a(this),i=o||r?{object:this.array,type:"update",index:e,newValue:t,oldValue:n}:null;r&&l(i),this.atom.reportChanged(),o&&u(this,i),r&&p()},e.prototype.notifyArraySplice=function(e,t,n){var r=!this.owned&&c(),o=a(this),i=o||r?{object:this.array,type:"splice",index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;r&&l(i),this.atom.reportChanged(),o&&u(this,i),r&&p()},e}(),pn=function(e){function t(t,n,r,o){void 0===r&&(r="ObservableArray@"+ve()),void 0===o&&(o=!1);var i=e.call(this)||this,a=new ln(r,n,i,o);return Ce(i,"$mobx",a),t&&t.length&&i.spliceWithArray(0,0,t),un&&Object.defineProperty(a.array,"0",fn),i}return n(t,e),t.prototype.intercept=function(e){return this.$mobx.intercept(e)},t.prototype.observe=function(e,t){return void 0===t&&(t=!1),this.$mobx.observe(e,t)},t.prototype.clear=function(){return this.splice(0)},t.prototype.concat=function(){for(var e=[],t=0;arguments.length>t;t++)e[t]=arguments[t];return this.$mobx.atom.reportObserved(),Array.prototype.concat.apply(this.peek(),e.map(function(e){return j(e)?e.peek():e}))},t.prototype.replace=function(e){return this.$mobx.spliceWithArray(0,this.$mobx.values.length,e)},t.prototype.toJS=function(){return this.slice()},t.prototype.toJSON=function(){return this.toJS()},t.prototype.peek=function(){return this.$mobx.atom.reportObserved(),this.$mobx.dehanceValues(this.$mobx.values)},t.prototype.find=function(e,t,n){void 0===n&&(n=0);var r=this.findIndex.apply(this,arguments);return-1===r?void 0:this.get(r)},t.prototype.findIndex=function(e,t,n){void 0===n&&(n=0);for(var r=this.peek(),o=r.length,i=n;o>i;i++)if(e.call(t,r[i],i,this))return i;return-1},t.prototype.splice=function(e,t){for(var n=[],r=2;arguments.length>r;r++)n[r-2]=arguments[r];switch(arguments.length){case 0:return[];case 1:return this.$mobx.spliceWithArray(e);case 2:return this.$mobx.spliceWithArray(e,t)}return this.$mobx.spliceWithArray(e,t,n)},t.prototype.spliceWithArray=function(e,t,n){return this.$mobx.spliceWithArray(e,t,n)},t.prototype.push=function(){for(var e=[],t=0;arguments.length>t;t++)e[t]=arguments[t];var n=this.$mobx;return n.spliceWithArray(n.values.length,0,e),n.values.length},t.prototype.pop=function(){return this.splice(Math.max(this.$mobx.values.length-1,0),1)[0]},t.prototype.shift=function(){return this.splice(0,1)[0]},t.prototype.unshift=function(){for(var e=[],t=0;arguments.length>t;t++)e[t]=arguments[t];var n=this.$mobx;return n.spliceWithArray(0,0,e),n.values.length},t.prototype.reverse=function(){var e=this.slice();return e.reverse.apply(e,arguments)},t.prototype.sort=function(){var e=this.slice();return e.sort.apply(e,arguments)},t.prototype.remove=function(e){var t=this.$mobx.dehanceValues(this.$mobx.values).indexOf(e);return t>-1&&(this.splice(t,1),!0)},t.prototype.move=function(e,t){function n(e){if(0>e)throw Error("[mobx.array] Index out of bounds: "+e+" is negative");var t=this.$mobx.values.length;if(e>=t)throw Error("[mobx.array] Index out of bounds: "+e+" is not smaller than "+t)}if(n.call(this,e),n.call(this,t),e!==t){var r,o=this.$mobx.values;r=t>e?o.slice(0,e).concat(o.slice(e+1,t+1),[o[e]],o.slice(t+1)):o.slice(0,t).concat([o[e]],o.slice(t,e),o.slice(e+1)),this.replace(r)}},t.prototype.get=function(e){var t=this.$mobx;if(t){if(t.values.length>e)return t.atom.reportObserved(),t.dehanceValue(t.values[e]);console.warn("[mobx.array] Attempt to read an array index ("+e+") that is out of bounds ("+t.values.length+"). Please check length first. Out of bound indices will not be tracked by MobX")}},t.prototype.set=function(e,t){var n=this.$mobx,o=n.values;if(o.length>e){jt(n.atom);var a=o[e];if(r(n)){var s=i(n,{type:"update",object:this,index:e,newValue:t});if(!s)return;t=s.newValue}t=n.enhancer(t,a);t!==a&&(o[e]=t,n.notifyArrayChildUpdate(e,t,a))}else{if(e!==o.length)throw Error("[mobx.array] Index out of bounds, "+e+" is larger than "+o.length);n.spliceWithArray(e,0,[t])}},t}(Mn);N(pn.prototype,function(){return d(this.slice())}),Object.defineProperty(pn.prototype,"length",{enumerable:!1,configurable:!0,get:function(){return this.$mobx.getArrayLength()},set:function(e){this.$mobx.setArrayLength(e)}}),["every","filter","forEach","indexOf","join","lastIndexOf","map","reduce","reduceRight","slice","some","toString","toLocaleString"].forEach(function(e){var t=Array.prototype[e];me("function"==typeof t,"Base function not defined on Array prototype: '"+e+"'"),Ue(pn.prototype,e,function(){return t.apply(this.peek(),arguments)})}),function(e,t){for(var n=0;t.length>n;n++)Ue(e,t[n],e[t[n]])}(pn.prototype,["constructor","intercept","observe","clear","concat","get","replace","toJS","toJSON","peek","find","findIndex","splice","spliceWithArray","push","pop","set","shift","unshift","reverse","sort","remove","move","toString","toLocaleString"]);var fn=g(0);h(1e3);var yn=Ye("ObservableArrayAdministration",ln),dn={},Nn=function(e){function t(t,n,r,o){void 0===r&&(r="ObservableValue@"+ve()),void 0===o&&(o=!0);var i=e.call(this,r)||this;return i.enhancer=n,i.hasUnreportedChange=!1,i.dehancer=void 0,i.value=n(t,void 0,r),o&&c()&&M({type:"create",object:i,newValue:i.value}),i}return n(t,e),t.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.prototype.set=function(e){var t=this.value;if((e=this.prepareNewValue(e))!==dn){var n=c();n&&l({type:"update",object:this,newValue:e,oldValue:t}),this.setNewValue(e),n&&p()}},t.prototype.prepareNewValue=function(e){if(jt(this),r(this)){var t=i(this,{object:this,type:"update",newValue:e});if(!t)return dn;e=t.newValue}return e=this.enhancer(e,this.value,this.name),this.value!==e?e:dn},t.prototype.setNewValue=function(e){var t=this.value;this.value=e,this.reportChanged(),a(this)&&u(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 o(this,e)},t.prototype.observe=function(e,t){return t&&e({object:this,type:"update",newValue:this.value,oldValue:void 0}),s(this,e)},t.prototype.toJSON=function(){return this.get()},t.prototype.toString=function(){return this.name+"["+this.value+"]"},t.prototype.valueOf=function(){return Ve(this.get())},t}(nn);Nn.prototype[Ze()]=Nn.prototype.valueOf;var gn=Ye("ObservableValue",Nn),Dn={m001:"It is not allowed to assign new values to @action fields",m002:"`runInAction` expects a function",m003:"`runInAction` expects a function without arguments",m004:"autorun expects a function",m005:"Warning: attempted to pass an action to autorun. Actions are untracked and will not trigger on state changes. Use `reaction` or wrap only your state modification code in an action.",m006:"Warning: attempted to pass an action to autorunAsync. Actions are untracked and will not trigger on state changes. Use `reaction` or wrap only your state modification code in an action.",m007:"reaction only accepts 2 or 3 arguments. If migrating from MobX 2, please provide an options object",m008:"wrapping reaction expression in `asReference` is no longer supported, use options object instead",m009:"@computed can only be used on getter functions, like: '@computed get myProps() { return ...; }'. It looks like it was used on a property.",m010:"@computed can only be used on getter functions, like: '@computed get myProps() { return ...; }'",m011:"First argument to `computed` should be an expression. If using computed as decorator, don't pass it arguments",m012:"computed takes one or two arguments if used as function",m013:"[mobx.expr] 'expr' should only be used inside other reactive functions.",m014:"extendObservable expected 2 or more arguments",m015:"extendObservable expects an object as first argument",m016:"extendObservable should not be used on maps, use map.merge instead",m017:"all arguments of extendObservable should be objects",m018:"extending an object with another observable (object) is not supported. Please construct an explicit propertymap, using `toJS` if need. See issue #540",m019:"[mobx.isObservable] isObservable(object, propertyName) is not supported for arrays and maps. Use map.has or array.length instead.",m020:"modifiers can only be used for individual object properties",m021:"observable expects zero or one arguments",m022:"@observable can not be used on getters, use @computed instead",m024:"whyRun() can only be used if a derivation is active, or by passing an computed value / reaction explicitly. If you invoked whyRun from inside a computation; the computation is currently suspended but re-evaluating because somebody requested its value.",m025:"whyRun can only be used on reactions and computed values",m026:"`action` can only be invoked on functions",m028:"It is not allowed to set `useStrict` when a derivation is running",m029:"INTERNAL ERROR only onBecomeUnobserved shouldn't be called twice in a row",m030a:"Since strict-mode is enabled, changing observed observable values outside actions is not allowed. Please wrap the code in an `action` if this change is intended. Tried to modify: ",m030b:"Side effects like changing state are not allowed at this point. Are you trying to modify state from, for example, the render function of a React component? Tried to modify: ",m031:"Computed values are not allowed to cause side effects by changing observables that are already being observed. Tried to modify: ",m032:"* This computation is suspended (not in use by any reaction) and won't run automatically.\n\tDidn't expect this computation to be suspended at this point?\n\t 1. Make sure this computation is used by a reaction (reaction, autorun, observer).\n\t 2. Check whether you are using this computation synchronously (in the same stack as they reaction that needs it).",m033:"`observe` doesn't support the fire immediately property for observable maps.",m034:"`mobx.map` is deprecated, use `new ObservableMap` or `mobx.observable.map` instead",m035:"Cannot make the designated object observable; it is not extensible",m036:"It is not possible to get index atoms from arrays",m037:'Hi there! I\'m sorry you have just run into an exception.\nIf your debugger ends up here, know that some reaction (like the render() of an observer component, autorun or reaction)\nthrew an exception and that mobx caught it, to avoid that it brings the rest of your application down.\nThe original cause of the exception (the code that caused this reaction to run (again)), is still in the stack.\n\nHowever, more interesting is the actual stack trace of the error itself.\nHopefully the error is an instanceof Error, because in that case you can inspect the original stack of the error from where it was thrown.\nSee `error.stack` property, or press the very subtle "(...)" link you see near the console.error message that probably brought you here.\nThat stack is more interesting than the stack of this console.error itself.\n\nIf the exception you see is an exception you created yourself, make sure to use `throw new Error("Oops")` instead of `throw "Oops"`,\nbecause the javascript environment will only preserve the original stack trace in the first form.\n\nYou can also make sure the debugger pauses the next time this very same exception is thrown by enabling "Pause on caught exception".\n(Note that it might pause on many other, unrelated exception as well).\n\nIf that all doesn\'t help you out, feel free to open an issue https://github.com/mobxjs/mobx/issues!\n',m038:"Missing items in this list?\n 1. Check whether all used values are properly marked as observable (use isObservable to verify)\n 2. Make sure you didn't dereference values too early. MobX observes props, not primitives. E.g: use 'person.name' instead of 'name' in your computation.\n"},hn=L(function(e,t,n,r){Ue(e,t,Tn(r&&1===r.length?r[0]:n.name||t||"",n))},function(e){return this[e]},function(){me(!1,T("m001"))},!1,!0),jn=L(function(e,t,n){Q(e,t,n)},function(e){return this[e]},function(){me(!1,T("m001"))},!1,!1),Tn=function(e,t){return 1===arguments.length&&"function"==typeof e?z(e.name||"",e):2===arguments.length&&"function"==typeof t?z(e,t):1===arguments.length&&"string"==typeof e?U(e):U(t).apply(null,arguments)};Tn.bound=function(e){if("function"==typeof e){var t=z("",e);return t.autoBind=!0,t}return jn.apply(null,arguments)};var zn=Object.prototype.toString,bn={identity:H,structural:Z,default:V},vn=function(){function e(e,t,n,r,o){this.derivation=e,this.scope=t,this.equals=n,this.dependenciesState=qn.NOT_TRACKING,this.observing=[],this.newObserving=null,this.isPendingUnobservation=!1,this.observers=[],this.observersIndexes={},this.diffValue=0,this.runId=0,this.lastAccessedBy=0,this.lowestObserverState=qn.UP_TO_DATE,this.unboundDepsCount=0,this.__mapid="#"+ve(),this.value=new Kn(null),this.isComputing=!1,this.isRunningSetter=!1,this.isTracing=Xn.NONE,this.name=r||"ComputedValue@"+ve(),o&&(this.setter=z(r+"-setter",o))}return e.prototype.onBecomeStale=function(){yt(this)},e.prototype.onBecomeUnobserved=function(){bt(this),this.value=void 0},e.prototype.get=function(){me(!this.isComputing,"Cycle detected in computation "+this.name,this.derivation),0===Vn.inBatch?(ct(),Dt(this)&&(this.isTracing!==Xn.NONE&&console.log("[mobx.trace] '"+this.name+"' is being read outside a reactive context and doing a full recompute"),this.value=this.computeValue(!1)),Mt()):(lt(this),Dt(this)&&this.trackAndCompute()&&ft(this));var e=this.value;if(gt(e))throw e.cause;return e},e.prototype.peek=function(){var e=this.computeValue(!1);if(gt(e))throw e.cause;return e},e.prototype.set=function(e){if(this.setter){me(!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 me(!1,"[ComputedValue '"+this.name+"'] It is not possible to assign a new value to a computed value.")},e.prototype.trackAndCompute=function(){c()&&M({object:this.scope,type:"compute",fn:this.derivation});var e=this.value,t=this.dependenciesState===qn.NOT_TRACKING,n=this.value=this.computeValue(!0);return t||gt(e)||gt(n)||!this.equals(e,n)},e.prototype.computeValue=function(e){this.isComputing=!0,Vn.computationDepth++;var t;if(e)t=Tt(this,this.derivation,this.scope);else try{t=this.derivation.call(this.scope)}catch(e){t=new Kn(e)}return Vn.computationDepth--,this.isComputing=!1,t},e.prototype.observe=function(e,t){var n=this,r=!0,o=void 0;return W(function(){var i=n.get();if(!r||t){var a=wt();e({type:"update",object:n,newValue:i,oldValue:o}),mt(a)}r=!1,o=i})},e.prototype.toJSON=function(){return this.get()},e.prototype.toString=function(){return this.name+"["+this.derivation+"]"},e.prototype.valueOf=function(){return Ve(this.get())},e.prototype.whyRun=function(){var e=!!Vn.trackingDerivation,t=Ie(this.isComputing?this.newObserving:this.observing).map(function(e){return e.name}),n=Ie(it(this).map(function(e){return e.name}));return"\nWhyRun? computation '"+this.name+"':\n * Running because: "+(e?"[active] the value of this computation is needed by a reaction":this.isComputing?"[get] The value of this computed was requested outside a reaction":"[idle] not running at the moment")+"\n"+(this.dependenciesState===qn.NOT_TRACKING?T("m032"):" * This computation will re-run if any of the following observables changes:\n "+Ee(t)+"\n "+(this.isComputing&&e?" (... or any observable accessed during the remainder of the current run)":"")+"\n "+T("m038")+"\n\n * If the outcome of this computation changes, the following observers will be re-run:\n "+Ee(n)+"\n")},e}();vn.prototype[Ze()]=vn.prototype.valueOf;var wn=Ye("ComputedValue",vn),mn=function(){function e(e,t){this.target=e,this.name=t,this.values={},this.changeListeners=null,this.interceptors=null}return e.prototype.observe=function(e,t){return me(!0!==t,"`observe` doesn't support the fire immediately property for observable objects."),s(this,e)},e.prototype.intercept=function(e){return o(this,e)},e}(),xn={},On={},In=Ye("ObservableObjectAdministration",mn),En=ue(Ne),Ln=ue(ge),kn=ue(De),An=ue(he),Sn=ue(je),Un={box:function(e,t){return arguments.length>2&&fe("box"),new Nn(e,Ne,t)},shallowBox:function(e,t){return arguments.length>2&&fe("shallowBox"),new Nn(e,De,t)},array:function(e,t){return arguments.length>2&&fe("array"),new pn(e,Ne,t)},shallowArray:function(e,t){return arguments.length>2&&fe("shallowArray"),new pn(e,De,t)},map:function(e,t){return arguments.length>2&&fe("map"),new Qn(e,Ne,t)},shallowMap:function(e,t){return arguments.length>2&&fe("shallowMap"),new Qn(e,De,t)},object:function(e,t){arguments.length>2&&fe("object");var n={};return q(n,t),ce(n,e),n},shallowObject:function(e,t){arguments.length>2&&fe("shallowObject");var n={};return q(n,t),Me(n,e),n},ref:function(){return 2>arguments.length?de(De,arguments[0]):kn.apply(null,arguments)},shallow:function(){return 2>arguments.length?de(ge,arguments[0]):Ln.apply(null,arguments)},deep:function(){return 2>arguments.length?de(Ne,arguments[0]):En.apply(null,arguments)},struct:function(){return 2>arguments.length?de(he,arguments[0]):An.apply(null,arguments)}},Cn=pe;Object.keys(Un).forEach(function(e){return Cn[e]=Un[e]}),Cn.deep.struct=Cn.struct,Cn.ref.struct=function(){return 2>arguments.length?de(je,arguments[0]):Sn.apply(null,arguments)};var _n={},Qn=function(){function e(e,t,n){void 0===t&&(t=Ne),void 0===n&&(n="ObservableMap@"+ve()),this.enhancer=t,this.name=n,this.$mobx=_n,this._data=Object.create(null),this._hasMap=Object.create(null),this._keys=new pn(void 0,De,this.name+".keys()",!0),this.interceptors=null,this.changeListeners=null,this.dehancer=void 0,this.merge(e)}return e.prototype._has=function(e){return void 0!==this._data[e]},e.prototype.has=function(e){return!!this.isValidKey(e)&&(e=""+e,this._hasMap[e]?this._hasMap[e].get():this._updateHasMapEntry(e,!1).get())},e.prototype.set=function(e,t){this.assertValidKey(e),e=""+e;var n=this._has(e);if(r(this)){var o=i(this,{type:n?"update":"add",object:this,newValue:t,name:e});if(!o)return this;t=o.newValue}return n?this._updateValue(e,t):this._addValue(e,t),this},e.prototype.delete=function(e){var t=this;if(this.assertValidKey(e),e=""+e,r(this)){var n=i(this,{type:"delete",object:this,name:e});if(!n)return!1}if(this._has(e)){var o=c(),s=a(this),n=s||o?{type:"delete",object:this,oldValue:this._data[e].value,name:e}:null;return o&&l(n),Te(function(){t._keys.remove(e),t._updateHasMapEntry(e,!1),t._data[e].setNewValue(void 0),t._data[e]=void 0}),s&&u(this,n),o&&p(),!0}return!1},e.prototype._updateHasMapEntry=function(e,t){var n=this._hasMap[e];return n?n.setNewValue(t):n=this._hasMap[e]=new Nn(t,De,this.name+"."+e+"?",!1),n},e.prototype._updateValue=function(e,t){var n=this._data[e];if((t=n.prepareNewValue(t))!==dn){var r=c(),o=a(this),i=o||r?{type:"update",object:this,oldValue:n.value,name:e,newValue:t}:null;r&&l(i),n.setNewValue(t),o&&u(this,i),r&&p()}},e.prototype._addValue=function(e,t){var n=this;Te(function(){var r=n._data[e]=new Nn(t,n.enhancer,n.name+"."+e,!1);t=r.value,n._updateHasMapEntry(e,!0),n._keys.push(e)});var r=c(),o=a(this),i=o||r?{type:"add",object:this,name:e,newValue:t}:null;r&&l(i),o&&u(this,i),r&&p()},e.prototype.get=function(e){return e=""+e,this.dehanceValue(this.has(e)?this._data[e].get():void 0)},e.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},e.prototype.keys=function(){return d(this._keys.slice())},e.prototype.values=function(){return d(this._keys.map(this.get,this))},e.prototype.entries=function(){var e=this;return d(this._keys.map(function(t){return[t,e.get(t)]}))},e.prototype.forEach=function(e,t){var n=this;this.keys().forEach(function(r){return e.call(t,n.get(r),r,n)})},e.prototype.merge=function(e){var t=this;return Yn(e)&&(e=e.toJS()),Te(function(){ke(e)?Object.keys(e).forEach(function(n){return t.set(n,e[n])}):Array.isArray(e)?e.forEach(function(e){return t.set(e[0],e[1])}):Re(e)?e.forEach(function(e,n){return t.set(n,e)}):null!==e&&void 0!==e&&we("Cannot initialize map from "+e)}),this},e.prototype.clear=function(){var e=this;Te(function(){vt(function(){e.keys().forEach(e.delete,e)})})},e.prototype.replace=function(e){var t=this;return Te(function(){var n=Ge(e);t.keys().filter(function(e){return-1===n.indexOf(e)}).forEach(function(e){return t.delete(e)}),t.merge(e)}),this},Object.defineProperty(e.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),e.prototype.toJS=function(){var e=this,t={};return this.keys().forEach(function(n){return t[n]=e.get(n)}),t},e.prototype.toJSON=function(){return this.toJS()},e.prototype.isValidKey=function(e){return null!==e&&void 0!==e&&("string"==typeof e||"number"==typeof e||"boolean"==typeof e)},e.prototype.assertValidKey=function(e){if(!this.isValidKey(e))throw Error("[mobx.map] Invalid key: '"+e+"', only strings, numbers and booleans are accepted as key in observable maps.")},e.prototype.toString=function(){var e=this;return this.name+"[{ "+this.keys().map(function(t){return t+": "+e.get(t)}).join(", ")+" }]"},e.prototype.observe=function(e,t){return me(!0!==t,T("m033")),s(this,e)},e.prototype.intercept=function(e){return o(this,e)},e}();N(Qn.prototype,function(){return this.entries()});var Yn=Ye("ObservableMap",Qn),Pn=[];Object.freeze(Pn);var Bn=[],Rn=function(){},Gn=Object.prototype.hasOwnProperty,Hn=["mobxGuid","resetId","spyListeners","strictMode","runId"],Zn=function(){function e(){this.version=5,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.strictMode=!1,this.resetId=0,this.spyListeners=[],this.globalReactionErrorHandlers=[]}return e}(),Vn=new Zn,Wn=!1,Jn=!1,Fn=!1,$n=be();$n.__mobxInstanceCount?($n.__mobxInstanceCount++,setTimeout(function(){Wn||Jn||Fn||(Fn=!0,console.warn("[mobx] Warning: there are multiple mobx instances active. This might lead to unexpected results. See https://github.com/mobxjs/mobx/issues/1082 for details."))},1)):$n.__mobxInstanceCount=1;var qn;!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"}(qn||(t.IDerivationState=qn={}));var Xn;!function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(Xn||(Xn={}));var Kn=function(){function e(e){this.cause=e}return e}(),er=function(){function e(e,t){void 0===e&&(e="Reaction@"+ve()),this.name=e,this.onInvalidate=t,this.observing=[],this.newObserving=[],this.dependenciesState=qn.NOT_TRACKING,this.diffValue=0,this.runId=0,this.unboundDepsCount=0,this.__mapid="#"+ve(),this.isDisposed=!1,this._isScheduled=!1,this._isTrackPending=!1,this._isRunning=!1,this.isTracing=Xn.NONE}return e.prototype.onBecomeStale=function(){this.schedule()},e.prototype.schedule=function(){this._isScheduled||(this._isScheduled=!0,Vn.pendingReactions.push(this),St())},e.prototype.isScheduled=function(){return this._isScheduled},e.prototype.runReaction=function(){this.isDisposed||(ct(),this._isScheduled=!1,Dt(this)&&(this._isTrackPending=!0,this.onInvalidate(),this._isTrackPending&&c()&&M({object:this,type:"scheduled-reaction"})),Mt())},e.prototype.track=function(e){ct();var t,n=c();n&&(t=Date.now(),l({object:this,type:"reaction",fn:e})),this._isRunning=!0;var r=Tt(this,e,void 0);this._isRunning=!1,this._isTrackPending=!1,this.isDisposed&&bt(this),gt(r)&&this.reportExceptionInDerivation(r.cause),n&&p({time:Date.now()-t}),Mt()},e.prototype.reportExceptionInDerivation=function(e){var t=this;if(this.errorHandler)return void this.errorHandler(e,this);var n="[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '"+this,r=T("m037");console.error(n||r,e),c()&&M({type:"error",message:n,error:e,object:this}),Vn.globalReactionErrorHandlers.forEach(function(n){return n(e,t)})},e.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this._isRunning||(ct(),bt(this),Mt()))},e.prototype.getDisposer=function(){var e=this.dispose.bind(this);return e.$mobx=this,e.onError=kt,e},e.prototype.toString=function(){return"Reaction["+this.name+"]"},e.prototype.whyRun=function(){var e=Ie(this._isRunning?this.newObserving:this.observing).map(function(e){return e.name});return"\nWhyRun? reaction '"+this.name+"':\n * Status: ["+(this.isDisposed?"stopped":this._isRunning?"running":this.isScheduled()?"scheduled":"idle")+"]\n * This reaction will re-run if any of the following observables changes:\n "+Ee(e)+"\n "+(this._isRunning?" (... or any observable accessed during the remainder of the current run)":"")+"\n\t"+T("m038")+"\n"},e.prototype.trace=function(e){void 0===e&&(e=!1),Et(this,e)},e}(),tr=100,nr=function(e){return e()},rr=Ye("Reaction",er),or=Bt(bn.default),ir=Bt(bn.structural),ar=function(e,t){if("string"==typeof t)return or.apply(null,arguments);me("function"==typeof e,T("m011")),me(3>arguments.length,T("m012"));var n="object"===(void 0===t?"undefined":en(t))?t:{};return n.setter="function"==typeof t?t:n.setter,new vn(e,n.context,n.equals?n.equals:n.compareStructural||n.struct?bn.structural:bn.default,n.name||e.name||"",n.setter)};ar.struct=ir,ar.equals=Bt;var sr={allowStateChanges:O,deepEqual:Y,getAtom:qe,getDebugName:Ke,getDependencyTree:et,getAdministration:Xe,getGlobalState:Fe,getObserverTree:nt,interceptReads:Kt,isComputingDerivation:ht,isSpyEnabled:c,onReactionError:At,reserveArrayBuffer:h,resetGlobalState:$e,isolateGlobalState:We,shareGlobalState:Je,spyReport:M,spyReportEnd:p,spyReportStart:l,setReactionScheduler:Ct},ur={Reaction:er,untracked:vt,Atom:rn,BaseAtom:nn,useStrict:m,isStrictModeEnabled:x,spy:f,comparer:bn,asReference:_t,asFlat:Yt,asStructure:Qt,asMap:Pt,isModifierDescriptor:ye,isObservableObject:ae,isBoxedObservable:gn,isObservableArray:j,ObservableMap:Qn,isObservableMap:Yn,map:ze,transaction:Te,observable:Cn,computed:ar,isObservable:se,isComputed:Rt,extendObservable:ce,extendShallowObservable:Me,observe:Gt,intercept:Vt,autorun:W,autorunAsync:F,when:J,reaction:$,action:Tn,isAction:_,runInAction:C,expr:Ft,toJS:$t,createTransformer:qt,whyRun:It,isArrayLike:Be,extras:sr},cr=!1;for(var Mr in ur)!function(e){var t=ur[e];Object.defineProperty(ur,e,{get:function(){return cr||(cr=!0,console.warn("Using default export (`import mobx from 'mobx'`) is deprecated and won’t work in mobx@4.0.0\nUse `import * as mobx from 'mobx'` instead")),t}})}(Mr);"object"===("undefined"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__?"undefined":en(__MOBX_DEVTOOLS_GLOBAL_HOOK__))&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:f,extras:sr}),t.extras=sr,t.Reaction=er,t.untracked=vt,t.IDerivationState=qn,t.Atom=rn,t.BaseAtom=nn,t.useStrict=m,t.isStrictModeEnabled=x,t.spy=f,t.comparer=bn,t.asReference=_t,t.asFlat=Yt,t.asStructure=Qt,t.asMap=Pt,t.isModifierDescriptor=ye,t.isObservableObject=ae,t.isBoxedObservable=gn,t.isObservableArray=j,t.ObservableMap=Qn,t.isObservableMap=Yn,t.map=ze,t.transaction=Te,t.observable=Cn,t.computed=ar,t.isObservable=se,t.isComputed=Rt,t.extendObservable=ce,t.extendShallowObservable=Me,t.observe=Gt,t.intercept=Vt,t.autorun=W,t.autorunAsync=F,t.when=J,t.reaction=$,t.action=Tn,t.isAction=_,t.runInAction=C,t.expr=Ft,t.toJS=$t,t.createTransformer=qt,t.whyRun=It,t.trace=Et,t.isArrayLike=Be,t.default=ur}).call(t,n(11))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Provider=t.inject=t.connect=t.useStaticRendering=t.Observer=t.observer=void 0;var r=n(3);Object.defineProperty(t,"observer",{enumerable:!0,get:function(){return r.observer}}),Object.defineProperty(t,"Observer",{enumerable:!0,get:function(){return r.Observer}}),Object.defineProperty(t,"useStaticRendering",{enumerable:!0,get:function(){return r.useStaticRendering}});var o=n(12);Object.defineProperty(t,"connect",{enumerable:!0,get:function(){return o.connect}});var i=n(5);Object.defineProperty(t,"inject",{enumerable:!0,get:function(){return i.inject}});var a=n(14);Object.defineProperty(t,"Provider",{enumerable:!0,get:function(){return a.Provider}});var s=n(1);if(!n(0).Component)throw Error("mobx-preact requires Preact to be available");if(!s.extras)throw Error("mobx-preact requires mobx to be available")},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":y(t))&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":y(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e){j=e}function s(e){var t=g.extras.getGlobalState().allowStateChanges;return g.extras.getGlobalState().allowStateChanges=e,t}function u(e){g.extras.getGlobalState().allowStateChanges=e}function c(e,t,n,r,o){var i=s(e),a=void 0;try{a=t(n,r,o)}finally{u(i)}return a}function M(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e[t],o=z[t];e[t]=r?!0===n?function(){o.apply(this,arguments),r.apply(this,arguments)}:function(){r.apply(this,arguments),o.apply(this,arguments)}:o}function l(e,t){if(null==e||null==t||"object"!==(void 0===e?"undefined":N(e))||"object"!==(void 0===t?"undefined":N(t)))return e!==t;var n=Object.keys(e);if(n.length!==Object.keys(t).length)return!0;for(var r=void 0,o=n.length-1;r=n[o];o--)if(t[r]!==e[r])return!0;return!1}function p(e){if(arguments.length>1&&T.warn('Mobx observer: Using observer to inject stores is not supported. Use `@connect(["store1", "store2"]) ComponentClass instead or preferably, use `@inject("store1", "store2") @observer ComponentClass` or `inject("store1", "store2")(observer(componentClass))``'),!0===e.isMobxInjector&&T.warn("Mobx observer: You are trying to use 'observer' on a component that already has 'inject'. Please apply 'observer' before applying 'inject'"),(0,h.isStateless)(e)){var t,n;return p((n=t=function(t){function n(){return r(this,n),o(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return i(n,t),d(n,[{key:"render",value:function(){return e.call(this,this.props,this.context)}}]),n}(D.Component),t.displayName=(0,h.makeDisplayName)(e),n))}if(!e)throw Error("Please pass a valid component to 'observer'");return f(e.prototype||e),e.isMobXReactObserver=!0,e}function f(e){M(e,"componentWillMount",!0),M(e,"componentDidMount"),e.shouldComponentUpdate||(e.shouldComponentUpdate=z.shouldComponentUpdate)}var y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0}),t.Observer=void 0;var d=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),N="function"==typeof Symbol&&"symbol"===y(Symbol.iterator)?function(e){return void 0===e?"undefined":y(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":y(e)};t.useStaticRendering=a,t.observer=p;var g=n(1),D=n(0),h=n(4),j=!1,T=console,z={componentWillMount:function(){function e(e){var t=this[e],n=new g.Atom("reactive "+e);Object.defineProperty(this,e,{configurable:!0,enumerable:!0,get:function(){return n.reportObserved(),t},set:function(e){!o&&l(t,e)?(t=e,r=!0,n.reportChanged(),r=!1):t=e}})}var t=this;if(!0!==j){var n=(0,h.makeDisplayName)(this),r=!1,o=!1;e.call(this,"props"),e.call(this,"state");var i=this.render.bind(this),a=null,s=!1,u=function(){return a=new g.Reaction(n+".render()",function(){if(!s&&(s=!0,"function"==typeof t.componentWillReact&&t.componentWillReact(),!0!==t.__$mobxIsUnmounted)){var e=!0;try{o=!0,r||D.Component.prototype.forceUpdate.call(t),e=!1}finally{o=!1,e&&a.dispose()}}}),a.reactComponent=t,M.$mobx=a,t.render=M,M(t.props,t.state,t.context)},M=function(e,t,n){s=!1;var r=void 0,o=void 0;if(a.track(function(){try{o=c(!1,i,e,t,n)}catch(e){r=e}}),r)throw r;return o};this.render=u}},componentWillUnmount:function(){!0!==j&&(this.render.$mobx&&this.render.$mobx.dispose(),this.__$mobxIsUnmounted=!0)},componentDidMount:function(){},componentDidUpdate:function(){},shouldComponentUpdate:function(e,t){return j&&T.warn("[mobx-preact] 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||l(this.props,e)}};(t.Observer=p(function(e){return e.children[0]()})).displayName="Observer"},function(e,t,n){"use strict";function r(e){return!(e.prototype&&e.prototype.render||i.Component.isPrototypeOf(e))}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.prefix,r=void 0===n?"":n,o=t.suffix,i=void 0===o?"":o;return r+(e.displayName||e.name||e.constructor&&e.constructor.name||"")+i}Object.defineProperty(t,"__esModule",{value:!0}),t.isStateless=r,t.makeDisplayName=o;var i=n(0)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":c(t))&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":c(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e,t,n){var a,s,u=n?"-with-"+n:"",c=(0,d.makeDisplayName)(t,{prefix:"inject-",suffix:u}),p=(s=a=function(n){function a(){return r(this,a),o(this,(a.__proto__||Object.getPrototypeOf(a)).apply(this,arguments))}return i(a,n),M(a,[{key:"render",value:function(){var n={};for(var r in this.props)this.props.hasOwnProperty(r)&&(n[r]=this.props[r]);var o=e(this.context.mobxStores||{},n,this.context)||{};for(var i in o)n[i]=o[i];return(0,l.h)(t,n)}}]),a}(l.Component),a.displayName=c,s);return(0,f.default)(p,t),p.wrappedComponent=t,Object.defineProperties(p,N),p}function s(e){return function(t,n){return e.forEach(function(e){if(!(e in n)){if(!(e in t))throw Error("MobX injector: Store '"+e+"' is not available! Make sure it is provided by some Provider");n[e]=t[e]}}),n}}function u(){var e=void 0;if("function"==typeof arguments[0])return e=arguments[0],function(t){var n=a(e,t);return n.isMobxInjector=!1,n=(0,y.observer)(n),n.isMobxInjector=!0,n};for(var t=[],n=0;arguments.length>n;n++)t[n]=arguments[n];return e=s(t),function(n){return a(e,n,t.join("-"))}}var c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0});var M=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.inject=u;var l=n(0),p=n(13),f=function(e){return e&&e.__esModule?e:{default:e}}(p),y=n(3),d=n(4),N={isMobxInjector:{value:!0,writable:!0,configurable:!0,enumerable:!0}}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.JSONHTTPError=t.TextHTTPError=t.HTTPError=t.getPagination=void 0;var a=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(16);Object.defineProperty(t,"getPagination",{enumerable:!0,get:function(){return u.getPagination}});var c=t.HTTPError=function(e){function t(e){r(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e.statusText));return n.name=n.constructor.name,"function"==typeof Error.captureStackTrace?Error.captureStackTrace(n,n.constructor):n.stack=Error(e.statusText).stack,n.status=e.status,n}return i(t,e),t}(function(e){function t(){var t=Reflect.construct(e,Array.from(arguments));return Object.setPrototypeOf(t,Object.getPrototypeOf(this)),t}return t.prototype=Object.create(e.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e,t}(Error)),M=t.TextHTTPError=function(e){function t(e,n){r(this,t);var i=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.data=n,i}return i(t,e),t}(c),l=t.JSONHTTPError=function(e){function t(e,n){r(this,t);var i=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.json=n,i}return i(t,e),t}(c);t.default=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments[1];r(this,e),this.apiURL=t,this.apiURL.match(/\/[^\/]?/)&&(this._sameOrigin=!0),this.defaultHeaders=n&&n.defaultHeaders||{}}return s(e,[{key:"headers",value:function(){return a({},this.defaultHeaders,{"Content-Type":"application/json"},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}},{key:"parseJsonResponse",value:function(e){return e.json().then(function(t){if(!e.ok)return Promise.reject(new l(e,t));var n=(0,u.getPagination)(e);return n?{pagination:n,items:t}:t})}},{key:"request",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.headers(n.headers||{});return this._sameOrigin&&(n.credentials=n.credentials||"same-origin"),fetch(this.apiURL+e,a({},n,{headers:r})).then(function(e){var n=e.headers.get("Content-Type");return n&&n.match(/json/)?t.parseJsonResponse(e):e.ok?e.text().then(function(){}):e.text().then(function(t){return Promise.reject(new M(e,t))})})}}]),e}()},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(0);t.default=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),a(t,[{key:"render",value:function(){var e=this.props,t=e.saving,n=e.text,r=e.saving_text;return(0,s.h)("button",{type:"submit",className:"btn"+(t?" saving":"")},t?r||"Saving":n||"Save")}}]),t}(s.Component)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(0),u={confirm:{type:"success",text:"A confirmation message was sent to your email, click the link there to continue."},password_mail:{type:"success",text:"We've sent a recovery email to your account, follow the link there to reset your password."},email_changed:{type:"sucess",text:"Your email address has been updated!"},verfication_error:{type:"error",text:"There was an error verifying your account. Please try again or contact an administrator."},signup_disabled:{type:"error",text:"Public signups are disabled. Contact an administrator and ask for an invite."}};t.default=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),a(t,[{key:"render",value:function(){var e=this.props.type,t=u[e];return(0,s.h)("div",{className:"flashMessage "+t.type},(0,s.h)("span",null,t.text))}}]),t}(s.Component)},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=n(10),i=function(e){return e&&e.__esModule?e:{default:e}}(o);void 0!==r(t)&&(t.netlifyIdentity=i.default),void 0!==("undefined"==typeof window?"undefined":r(window))&&(window.netlifyIdentity=i.default),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",function(){i.default.init()}):i.default.init()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments;(b[e]||[]).forEach(function(e){e.apply(e,Array.prototype.slice.call(t,1))})}function i(e,t){var n="";for(var r in t)n+=r+": "+t[r]+"; ";e?e.setAttribute("style",n):m=n}function a(e){var t=x[document.location.host.split(":").shift()],n=t&&localStorage.getItem("netlifySiteURL");if(e)return new y.default({APIUrl:e,setCookie:!t});if(t&&n){var r=[n];return n.match(/\/$/)||r.push("/"),r.push(".netlify/identity"),D.default.setIsLocal(t),D.default.setSiteURL(n),new y.default({APIUrl:r.join(""),setCookie:!t})}return t?(D.default.setIsLocal(t),null):new y.default({setCookie:!t})}function s(){var e=(document.location.hash||"").replace(/^#\/?/,"");if(e){var t=e.match(L);t&&(D.default.verifyToken(t[1],t[2]),document.location.hash="");e.match(k)&&(D.default.openModal("signup"),document.location.hash="");if(e.match(A)){var n={};e.split("&").forEach(function(e){var t=e.split("="),r=c(t,2);n[r[0]]=r[1]}),document&&n.access_token&&(document.cookie="nf_jwt="+n.access_token),document.location.hash="",D.default.openModal("login"),D.default.completeExternalLogin(n)}}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.APIUrl,n=e.logo,r=void 0===n||n,o=e.namePlaceholder,u=document.querySelectorAll("[data-netlify-identity-menu],[data-netlify-identity-button]");Array.prototype.slice.call(u).forEach(function(e){var t=null===e.getAttribute("data-netlify-identity-menu")?"button":"menu";(0,M.render)((0,M.h)(p.Provider,{store:D.default},(0,M.h)(j.default,{mode:t,text:e.innerText.trim()})),e,null)}),D.default.init(a(t)),D.default.modal.logo=r,D.default.setNamePlaceholder(o),I=document.createElement("iframe"),I.id="netlify-identity-widget",I.onload=function(){var e=I.contentDocument.createElement("style");e.innerHTML=""+z.default,I.contentDocument.head.appendChild(e),O=(0,M.render)((0,M.h)(p.Provider,{store:D.default},(0,M.h)(N.default,null)),I.contentDocument.body,O),s()},i(I,E),I.src="about:blank",(e.container?document.querySelector(e.container):document.body).appendChild(I),m&&(I.setAttribute("style",m),m=null)}Object.defineProperty(t,"__esModule",{value:!0});var c=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),M=n(0),l=n(1),p=n(2),f=n(15),y=r(f),d=n(19),N=r(d),g=n(25),D=r(g),h=n(26),j=r(h),T=n(27),z=r(T),b={},v={login:!0,signup:!0,error:!0},w={on:function(e,t){b[e]=b[e]||[],b[e].push(t)},open:function(e){if(e=e||"login",!v[e])throw Error("Invalid action for open: "+e);D.default.openModal(D.default.user?"user":e)},close:function(){D.default.closeModal()},currentUser:function(){return D.default.gotrue&&D.default.gotrue.currentUser()},logout:function(){return D.default.logout()},get gotrue(){return D.default.gotrue||D.default.openModal("login"),D.default.gotrue},init:function(e){u(e)},store:D.default},m=null,x={localhost:!0,"127.0.0.1":!0,"0.0.0.0":!0,"identity.netlify.com":!0},O=void 0,I=void 0,E={position:"fixed",top:0,left:0,border:"none",width:"100%",height:"100%",overflow:"visible",background:"transparent",display:"none","z-index":99};(0,l.observe)(D.default.modal,"isOpen",function(){D.default.settings||D.default.loadSettings(),i(I,Object.assign({},E,{display:D.default.modal.isOpen?"block !important":"none"})),D.default.modal.isOpen?o("open",D.default.modal.page):o("close")}),(0,l.observe)(D.default,"siteURL",function(){null===D.default.siteURL||void 0===D.default.siteURL?localStorage.removeItem("netlifySiteURL"):localStorage.setItem("netlifySiteURL",D.default.siteURL),D.default.init(a(),!0)}),(0,l.observe)(D.default,"user",function(){D.default.user?o("login",D.default.user):o("logout")}),(0,l.observe)(D.default,"gotrue",function(){D.default.gotrue&&o("init",D.default.gotrue.currentUser())}),(0,l.observe)(D.default,"error",function(){o("error",D.default.error)});var L=/(confirmation|invite|recovery|email_change)_token=([^&]+)/,k=/error=access_denied&error_description=403/,A=/access_token=/;t.default=w},function(e){"use strict";var t,n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t=function(){return this}();try{t=t||Function("return this")()||(0,eval)("this")}catch(e){"object"===("undefined"==typeof window?"undefined":n(window))&&(t=window)}e.exports=t},function(e,t,n){"use strict";function r(e,t){if("string"==typeof e)throw Error("Store names should be provided as array");return Array.isArray(e)?t?i.inject.apply(null,e)(r(t)):function(t){return r(e,t)}:(0,o.observer)(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.connect=r;var o=n(3),i=n(5)},function(e){"use strict";function t(e,M,l){if("string"!=typeof M){if(c){var p=u(M);p&&p!==c&&t(e,p,l)}var f=i(M);a&&(f=f.concat(a(M)));for(var y=0;f.length>y;++y){var d=f[y];if(!(n[d]||r[d]||l&&l[d])){var N=s(M,d);try{o(e,d,N)}catch(e){}}}return e}return e}var n={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o=Object.defineProperty,i=Object.getOwnPropertyNames,a=Object.getOwnPropertySymbols,s=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,c=u&&u(Object);e.exports=t},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":a(t))&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":a(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0}),t.Provider=void 0;var s=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(0),c={children:!0,key:!0,ref:!0},M=console;t.Provider=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(e){var t=e.children;return t.length>1?(0,u.h)("div",null," ",t," "):t[0]}},{key:"getChildContext",value:function(){var e={},t=this.context.mobxStores;if(t)for(var n in t)e[n]=t[n];for(var r in this.props)c[r]||"suppressChangedStoreWarning"===r||(e[r]=this.props[r]);return{mobxStores:e}}},{key:"componentWillReceiveProps",value:function(e){if(Object.keys(e).length!==Object.keys(this.props).length&&M.warn("MobX Provider: The set of provided stores has changed. Please avoid changing stores as the change might not propagate to all children"),!e.suppressChangedStoreWarning)for(var t in e)c[t]||this.props[t]===e[t]||M.warn("MobX Provider: Provided store '"+t+"' has changed. Please avoid replacing stores as the change might not propagate to all children")}}]),t}(u.Component)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(6),s=r(a),u=n(17),c=r(u),M=/^http:\/\//,l="/.netlify/identity",p=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.APIUrl,r=void 0===n?l:n,i=t.audience,a=void 0===i?"":i,u=t.setCookie,c=void 0!==u&&u;o(this,e),r.match(M)&&console.warn("Warning:\n\nDO NOT USE HTTP IN PRODUCTION FOR GOTRUE EVER!\nGoTrue REQUIRES HTTPS to work securely."),a&&(this.audience=a),this.setCookie=c,this.api=new s.default(r)}return i(e,[{key:"_request",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.headers=t.headers||{};var n=t.audience||this.audience;return n&&(t.headers["X-JWT-AUD"]=n),this.api.request(e,t).catch(function(e){return e instanceof a.JSONHTTPError&&e.json&&(e.json.msg?e.message=e.json.msg:e.json.error&&(e.message=e.json.error+": "+e.json.error_description)),Promise.reject(e)})}},{key:"settings",value:function(){return this._request("/settings")}},{key:"signup",value:function(e,t,n){return this._request("/signup",{method:"POST",body:JSON.stringify({email:e,password:t,data:n})})}},{key:"login",value:function(e,t,n){var r=this;return this._setRememberHeaders(n),this._request("/token",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"grant_type=password&username="+encodeURIComponent(e)+"&password="+encodeURIComponent(t)}).then(function(e){return c.default.removeSavedSession(),r.createUser(e,n)})}},{key:"loginExternalUrl",value:function(e){return this.api.apiURL+"/authorize?provider="+e}},{key:"confirm",value:function(e,t){return this._setRememberHeaders(t),this.verify("signup",e,t)}},{key:"requestPasswordRecovery",value:function(e){return this._request("/recover",{method:"POST",body:JSON.stringify({email:e})})}},{key:"recover",value:function(e,t){return this._setRememberHeaders(t),this.verify("recovery",e,t)}},{key:"acceptInvite",value:function(e,t,n){var r=this;return this._setRememberHeaders(n),this._request("/verify",{method:"POST",body:JSON.stringify({token:e,password:t,type:"signup"})}).then(function(e){return r.createUser(e,n)})}},{key:"acceptInviteExternalUrl",value:function(e,t){return this.api.apiURL+"/authorize?provider="+e+"&invite_token="+t}},{key:"createUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this._setRememberHeaders(t),new c.default(this.api,e,this.audience).getUserData().then(function(e){return t&&e._saveSession(),e})}},{key:"currentUser",value:function(){var e=c.default.recoverSession(this.api);return e&&this._setRememberHeaders(e._fromStorage),e}},{key:"verify",value:function(e,t,n){var r=this;return this._setRememberHeaders(n),this._request("/verify",{method:"POST",body:JSON.stringify({token:t,type:e})}).then(function(e){return r.createUser(e,n)})}},{key:"_setRememberHeaders",value:function(e){this.setCookie&&(this.api.defaultHeaders=this.api.defaultHeaders||{},this.api.defaultHeaders["X-Use-Cookie"]=e?"1":"session")}}]),e}();t.default=p,"undefined"!=typeof window&&(window.GoTrue=p)},function(e,t){"use strict";function n(e){var t=e.headers.get("Link"),n={};if(null==t)return null;t=t.split(",");for(var o=e.headers.get("X-Total-Count"),i=0,a=t.length;a>i;i++){var s=t[i].replace(/(^\s*|\s*$)/,""),u=s.split(";"),c=r(u,2),M=c[0],l=c[1],p=M.match(/page=(\d+)/),f=p&&parseInt(p[1],10);l.match(/last/)?n.last=f:l.match(/next/)?n.next=f:l.match(/prev/)?n.prev=f:l.match(/first/)&&(n.first=f)}return n.last=Math.max(n.last||0,n.prev&&n.prev+1||0),n.current=n.next?n.next-1:n.last||1,n.total=o?parseInt(o,10):null,n}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t.getPagination=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}var n=window.atob(t);try{return decodeURIComponent(escape(n))}catch(e){return n}}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(6),c=r(u),M=n(18),l=r(M),p={},f=null,y={api:1,token:1,audience:1,url:1},d={api:1};t.default=function(){function e(t,n,r){o(this,e),this.api=t,this.url=t.apiURL,this.audience=r,this._processTokenResponse(n),f=this}return s(e,[{key:"update",value:function(e){var t=this;return this._request("/user",{method:"PUT",body:JSON.stringify(e)}).then(function(e){return t._saveUserData(e)._refreshSavedSession()})}},{key:"jwt",value:function(e){var t=this.tokenDetails(),n=t.expires_at,r=t.refresh_token,o=t.access_token;return e||n-6e41&&void 0!==arguments[1]?arguments[1]:{};n.headers=n.headers||{};var r=n.audience||this.audience;return r&&(n.headers["X-JWT-AUD"]=r),this.jwt().then(function(r){return t.api.request(e,a({headers:Object.assign(n.headers,{Authorization:"Bearer "+r})},n)).catch(function(e){return e instanceof u.JSONHTTPError&&e.json&&(e.json.msg?e.message=e.json.msg:e.json.error&&(e.message=e.json.error+": "+e.json.error_description)),Promise.reject(e)})})}},{key:"getUserData",value:function(){return this._request("/user").then(this._saveUserData.bind(this)).then(this._refreshSavedSession.bind(this))}},{key:"_saveUserData",value:function(t,n){for(var r in t)r in e.prototype||r in y||(this[r]=t[r]);return n&&(this._fromStorage=!0),this}},{key:"_processTokenResponse",value:function(e){this.token=e;var t=void 0;try{t=JSON.parse(i(e.access_token.split(".")[1])),this.token.expires_at=1e3*t.exp}catch(t){console.error(Error("Gotrue-js: Failed to parse tokenResponse claims: "+JSON.stringify(e)))}}},{key:"_refreshSavedSession",value:function(){return localStorage.getItem("gotrue.user")&&this._saveSession(),this}},{key:"_saveSession",value:function(){return localStorage.setItem("gotrue.user",JSON.stringify(this._details)),this}},{key:"tokenDetails",value:function(){return this.token}},{key:"clearSession",value:function(){e.removeSavedSession(),this.token=null,f=null}},{key:"admin",get:function(){return new l.default(this)}},{key:"_details",get:function(){var t={};for(var n in this)n in e.prototype||n in d||(t[n]=this[n]);return t}}],[{key:"removeSavedSession",value:function(){localStorage.removeItem("gotrue.user")}},{key:"recoverSession",value:function(t){if(f)return f;var n=localStorage.getItem("gotrue.user");if(n)try{var r=JSON.parse(n),o=r.url,i=r.token,a=r.audience;if(!o||!i)return null;return new e(t||new c.default(o,{}),i,a)._saveUserData(r,!0)}catch(e){return console.error(Error("Gotrue-js: Error recovering session: "+e)),null}return null}}]),e}()},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(){function e(t){n(this,e),this.user=t}return r(e,[{key:"listUsers",value:function(e){return this.user._request("/admin/users",{method:"GET",audience:e})}},{key:"getUser",value:function(e){return this.user._request("/admin/users/"+e.id)}},{key:"updateUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.user._request("/admin/users/"+e.id,{method:"PUT",body:JSON.stringify(t)})}},{key:"createUser",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.email=e,n.password=t,this.user._request("/admin/users",{method:"POST",body:JSON.stringify(n)})}},{key:"deleteUser",value:function(e){return this.user._request("/admin/users/"+e.id,{method:"DELETE"})}}]),e}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s,u=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(0),M=n(2),l=n(20),p=r(l),f=n(21),y=r(f),d=n(22),N=r(d),g=n(23),D=r(g),h=n(24),j=r(h),T=n(8),z=r(T),b={login:!0,signup:!0},v={login:{login:!0,button:"Log in",button_saving:"Logging in",email:!0,password:!0,link:"amnesia",link_text:"Forgot password?",providers:!0},signup:{signup:!0,button:"Sign up",button_saving:"Signing Up",name:!0,email:!0,password:!0,providers:!0},amnesia:{title:"Recover password",button:"Send recovery email",button_saving:"Sending recovery email",email:!0,link:"login",link_text:"Never mind"},recovery:{title:"Recover password",button:"Update password",button_saving:"Updating password",password:!0,link:"login",link_text:"Never mind"},invite:{title:"Complete your signup",button:"Sign up",button_saving:"Signing Up",password:!0,providers:!0},user:{title:"Logged in"}};t.default=(0,M.connect)(["store"])(s=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,u=Array(s),c=0;s>c;c++)u[c]=arguments[c];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),r.handleClose=function(){return r.props.store.closeModal()},r.handlePage=function(e){return r.props.store.openModal(e)},r.handleLogout=function(){return r.props.store.logout()},r.handleSiteURL=function(e){return r.props.store.setSiteURL(e)},r.clearSiteURL=function(){return r.props.store.clearSiteURL()},r.handleExternalLogin=function(e){return r.props.store.externalLogin(e)},r.handleUser=function(e){var t=e.name,n=e.email,o=e.password,i=r.props.store;switch(i.modal.page){case"login":i.login(n,o);break;case"signup":i.signup(t,n,o);break;case"amnesia":i.requestPasswordRecovery(n);break;case"invite":i.acceptInvite(o);break;case"recovery":i.updatePassword(o)}},a=n,i(r,a)}return a(t,e),u(t,[{key:"renderBody",value:function(){var e=this,t=this.props.store,n=v[t.modal.page]||{},r=function(){return e.handlePage(n.link)};return t.isLocal&&null===t.siteURL?(0,c.h)(y.default,{devMode:null!=t.siteURL,onSiteURL:t.siteURL?this.clearSiteURL:this.handleSiteURL}):t.settings?t.user?(0,c.h)(N.default,{user:t.user,saving:t.saving,onLogout:this.handleLogout}):"signup"===t.modal.page&&t.settings.disable_signup?(0,c.h)(z.default,{type:"signup_disabled"}):(0,c.h)("div",null,(0,c.h)(D.default,{page:v[t.modal.page]||{},message:t.message,saving:t.saving,onSubmit:this.handleUser,namePlaceholder:t.namePlaceholder}),!t.user&&n.link&&t.gotrue&&(0,c.h)("button",{onclick:r,className:"btnLink forgotPasswordLink"},n.link_text),t.isLocal?(0,c.h)(y.default,{devMode:null!=t.siteURL,onSiteURL:t.siteURL?this.clearSiteURL:this.handleSiteURL}):(0,c.h)("div",null)):void 0}},{key:"renderProviders",value:function(){var e=this.props.store;if(!e.gotrue||!e.settings)return null;if("signup"===e.modal.page&&e.settings.disable_signup)return null;if(!(v[e.modal.page]||{}).providers)return null;var t=["Google","GitHub","GitLab","BitBucket","SAML"].filter(function(t){return e.settings.external[t.toLowerCase()]});return t.length?(0,c.h)(j.default,{providers:t,labels:e.settings.external_labels||{},onLogin:this.handleExternalLogin}):null}},{key:"render",value:function(){var e=this.props.store,t=b[e.modal.page],n=e.settings&&!e.settings.disable_signup;return(0,c.h)("div",null,(0,c.h)(p.default,{page:v[e.modal.page]||{},error:e.error,showHeader:t,showSignup:n,devSettings:!e.gotrue,loading:!e.error&&e.gotrue&&!e.settings,isOpen:e.modal.isOpen,onPage:this.handlePage,onClose:this.handleClose,logo:e.modal.logo},this.renderBody(),this.renderProviders()))}}]),t}(c.Component))||s},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e){return e.json&&e.json.error_description||e.message||""+e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(0);t.default=function(e){function t(){var e,n,i,a;r(this,t);for(var s=arguments.length,u=Array(s),c=0;s>c;c++)u[c]=arguments[c];return n=i=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),i.handleClose=function(e){e.preventDefault(),i.props.onClose()},i.blockEvent=function(e){e.stopPropagation()},i.linkHandler=function(e){return function(t){t.preventDefault(),i.props.onPage(e)}},a=n,o(i,a)}return i(t,e),s(t,[{key:"render",value:function(){var e=this.props,t=e.page,n=e.error,r=e.loading,o=e.showHeader,i=e.showSignup,s=e.devSettings,c=e.isOpen,M=e.children,l=e.logo;return(0,u.h)("div",{className:"modalContainer",role:"dialog","aria-hidden":""+(r||!c),onClick:this.handleClose},(0,u.h)("div",{className:"modalDialog"+(r?" visuallyHidden":""),onClick:this.blockEvent},(0,u.h)("div",{className:"modalContent"},(0,u.h)("button",{onclick:this.handleClose,className:"btn btnClose"},(0,u.h)("span",{className:"visuallyHidden"},"Close")),o&&(0,u.h)("div",{className:"header"},i&&(0,u.h)("button",{className:"btn btnHeader "+(t.signup?"active":""),onclick:this.linkHandler("signup")},"Sign up"),!s&&(0,u.h)("button",{className:"btn btnHeader "+(t.login?"active":""),onclick:this.linkHandler("login")},"Log in")),t.title&&(0,u.h)("div",{className:"header"},(0,u.h)("button",{className:"btn btnHeader active"},t.title)),s&&(0,u.h)("div",{className:"header"},(0,u.h)("button",{className:"btn btnHeader active"},"Development Settings")),n&&(0,u.h)("div",{className:"flashMessage error"},(0,u.h)("span",null,a(n))),M)),l&&(0,u.h)("a",{href:"https://www.netlify.com",className:"callOut"+(r?" visuallyHidden":"")},(0,u.h)("span",{className:"netlifyLogo"}),"Coded by Netlify"))}}]),t}(u.Component)},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(0);t.default=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleInput=function(e){n.setState(r({},e.target.name,e.target.value))},n.addSiteURL=function(e){e.preventDefault(),n.props.onSiteURL(n.state.url)},n.clearSiteURL=function(){n.props.onSiteURL()},n.state={url:"",development:e.devMode||!1},n}return a(t,e),s(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.url;return(0,u.h)("div",null,t.development?(0,u.h)("div",{class:"subheader"},(0,u.h)("h3",null,"Development Settings"),(0,u.h)("button",{onclick:function(t){return e.clearSiteURL(t)},className:"btnLink forgotPasswordLink"},"Clear localhost URL")):(0,u.h)("form",{onsubmit:this.addSiteURL,className:"form"},(0,u.h)("div",{className:"flashMessage"},"Looks like you're running a local server. Please let us know the URL of your Netlify site."),(0,u.h)("div",{className:"formGroup"},(0,u.h)("label",null,(0,u.h)("span",{className:"visuallyHidden"},"Enter your Netlify Site URL"),(0,u.h)("input",{className:"formControl",type:"url",name:"url",value:n,placeholder:"URL of your Netlify site",autocapitalize:"off",required:!0,oninput:this.handleInput}),(0,u.h)("div",{className:"inputFieldIcon inputFieldUrl"}))),(0,u.h)("button",{type:"submit",className:"btn"},"Set site's URL")))}}]),t}(u.Component)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(0),u=n(7),c=function(e){return e&&e.__esModule?e:{default:e}}(u);t.default=function(e){function t(){var e,n,i,a;r(this,t);for(var s=arguments.length,u=Array(s),c=0;s>c;c++)u[c]=arguments[c];return n=i=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),i.handleLogout=function(e){e.preventDefault(),i.props.onLogout()},a=n,o(i,a)}return i(t,e),a(t,[{key:"render",value:function(){var e=this.props,t=e.user,n=e.saving;return(0,s.h)("form",{onSubmit:this.handleLogout,className:"form "+(n?"disabled":"")},(0,s.h)("p",{className:"infoText"},"Logged in as ",(0,s.h)("br",null),(0,s.h)("span",{className:"infoTextEmail"},t.user_metadata.full_name||t.user_metadata.name||t.email)),(0,s.h)(c.default,{saving:n,text:"Log out",saving_text:"Logging out"}))}}]),t}(s.Component)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(0),M=n(8),l=r(M),p=n(7),f=r(p);t.default=function(e){function t(e){i(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleInput=function(e){n.setState(o({},e.target.name,e.target.value))},n.handleLogin=function(e){e.preventDefault(),n.props.onSubmit(n.state)},n.state={name:"",email:"",password:""},n}return s(t,e),u(t,[{key:"render",value:function(){var e=this.props,t=e.page,n=e.message,r=e.saving,o=e.namePlaceholder,i=this.state,a=i.name,s=i.email,u=i.password;return(0,c.h)("form",{onsubmit:this.handleLogin,className:"form "+(r?"disabled":"")},n&&(0,c.h)(l.default,{type:n}),t.name&&(0,c.h)("div",{className:"formGroup"},(0,c.h)("label",null,(0,c.h)("span",{className:"visuallyHidden"},"Enter your name"),(0,c.h)("input",{className:"formControl",type:"name",name:"name",value:a,placeholder:o||"Name",autocapitalize:"off",required:!0,oninput:this.handleInput}),(0,c.h)("div",{className:"inputFieldIcon inputFieldName"}))),t.email&&(0,c.h)("div",{className:"formGroup"},(0,c.h)("label",null,(0,c.h)("span",{className:"visuallyHidden"},"Enter your email"),(0,c.h)("input",{className:"formControl",type:"email",name:"email",value:s,placeholder:"Email",autocapitalize:"off",required:!0,oninput:this.handleInput}),(0,c.h)("div",{className:"inputFieldIcon inputFieldEmail"}))),t.password&&(0,c.h)("div",{className:"formGroup"},(0,c.h)("label",null,(0,c.h)("span",{className:"visuallyHidden"},"Enter your password"),(0,c.h)("input",{className:"formControl",type:"password",name:"password",value:u,placeholder:"Password",required:!0,oninput:this.handleInput}),(0,c.h)("div",{className:"inputFieldIcon inputFieldPassword"}))),(0,c.h)(f.default,{saving:r,text:t.button,saving_text:t.button_saving}))}}]),t}(c.Component)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(0),u=function(e){function t(){var e,n,i,a;r(this,t);for(var s=arguments.length,u=Array(s),c=0;s>c;c++)u[c]=arguments[c];return n=i=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),i.handleLogin=function(e){e.preventDefault(),i.props.onLogin(i.props.provider.toLowerCase())},a=n,o(i,a)}return i(t,e),a(t,[{key:"render",value:function(){var e=this.props;return(0,s.h)("button",{onClick:this.handleLogin,className:"provider"+e.provider+" btn btnProvider"},"Continue with ",e.label)}}]),t}(s.Component);t.default=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),a(t,[{key:"getLabel",value:function(e){var t=e.toLowerCase();return t in this.props.labels?this.props.labels[t]:e}},{key:"render",value:function(){var e=this,t=this.props,n=t.providers,r=t.onLogin;return(0,s.h)("div",{className:"providersGroup"},(0,s.h)("hr",{className:"hr"}),n.map(function(t){return(0,s.h)(u,{key:t,provider:t,label:e.getLabel(t),onLogin:r})}))}}]),t}(s.Component)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=(0,r.observable)({user:null,recovered_user:null,message:null,settings:null,gotrue:null,error:null,siteURL:null,remember:!0,saving:!1,invite_token:null,email_change_token:null,namePlaceholder:null,modal:{page:"login",isOpen:!1,logo:!0}});o.setNamePlaceholder=(0,r.action)(function(e){o.namePlaceholder=e}),o.startAction=(0,r.action)(function(){o.saving=!0,o.error=null,o.message=null}),o.setError=(0,r.action)(function(e){o.saving=!1,o.error=e}),o.init=(0,r.action)(function(e,t){e&&(o.gotrue=e,(o.user=e.currentUser())&&(o.modal.page="user")),t&&o.loadSettings()}),o.loadSettings=(0,r.action)(function(){o.settings||o.gotrue&&o.gotrue.settings().then((0,r.action)(function(e){return o.settings=e})).catch((0,r.action)(function(){o.error=Error("Failed to load settings from "+o.gotrue.api.apiURL)}))}),o.setIsLocal=(0,r.action)(function(e){o.isLocal=e}),o.setSiteURL=(0,r.action)(function(e){o.siteURL=e}),o.clearSiteURL=(0,r.action)(function(){o.gotrue=null,o.siteURL=null,o.settings=null}),o.login=(0,r.action)(function(e,t){return o.startAction(),o.gotrue.login(e,t,o.remember).then((0,r.action)(function(e){o.user=e,o.modal.page="user",o.invite_token=null,o.email_change_token&&o.doEmailChange(),o.saving=!1})).catch(o.setError)}),o.externalLogin=(0,r.action)(function(e){o.error=null,o.message=null;var t=o.invite_token?o.gotrue.acceptInviteExternalUrl(e,o.invite_token):o.gotrue.loginExternalUrl(e);window.location.href=t}),o.completeExternalLogin=(0,r.action)(function(e){o.startAction(),o.gotrue.createUser(e,o.remember).then(function(e){o.user=e,o.modal.page="user",o.saving=!1}).catch(o.setError)}),o.signup=(0,r.action)(function(e,t,n){return o.startAction(),o.gotrue.signup(t,n,{full_name:e}).then((0,r.action)(function(){o.settings.autoconfirm?o.login(t,n,o.remember):o.message="confirm",o.saving=!1})).catch(o.setError)}),o.logout=(0,r.action)(function(){if(o.user)return o.startAction(),o.user.logout().then((0,r.action)(function(){o.user=null,o.modal.page="login",o.saving=!1})).catch(o.setError);o.modal.page="login",o.saving=!1}),o.updatePassword=(0,r.action)(function(e){o.startAction(),(o.recovered_user||o.user).update({password:e}).then(function(e){o.user=e,o.recovered_user=null,o.modal.page="user",o.saving=!1}).catch(o.setError)}),o.acceptInvite=(0,r.action)(function(e){o.startAction(),o.gotrue.acceptInvite(o.invite_token,e,o.remember).then(function(e){o.saving=!1,o.invite_token=null,o.user=e,o.modal.page="user"}).catch(o.setError)}),o.doEmailChange=(0,r.action)(function(){return o.startAction(),o.user.update({email_change_token:o.email_change_token}).then((0,r.action)(function(e){o.user=e,o.email_change_token=null,o.message="email_changed",o.saving=!1})).catch(o.setError)}),o.verifyToken=(0,r.action)(function(e,t){var n=o.gotrue;switch(o.modal.isOpen=!0,e){case"confirmation":o.startAction(),o.modal.page="signup",n.confirm(t,o.remember).then((0,r.action)(function(e){o.user=e,o.saving=!1})).catch((0,r.action)(function(e){console.error(e),o.message="verfication_error",o.modal.page="signup",o.saving=!1}));break;case"email_change":o.email_change_token=t,o.modal.page="message",o.user?o.doEmailChange():o.modal.page="login";break;case"invite":o.modal.page=e,o.invite_token=t;break;case"recovery":o.startAction(),o.modal.page=e,o.gotrue.recover(t,o.remember).then(function(e){o.saving=!1,o.recovered_user=e}).catch(function(e){o.saving=!1,o.error=e,o.modal.page="login"});break;default:o.error="Unkown token type"}}),o.requestPasswordRecovery=(0,r.action)(function(e){o.startAction(),o.gotrue.requestPasswordRecovery(e).then((0,r.action)(function(){o.message="password_mail",o.saving=!1})).catch(o.setError)}),o.openModal=(0,r.action)(function(e){o.modal.page=e,o.modal.isOpen=!0}),o.closeModal=(0,r.action)(function(){o.modal.isOpen=!1,o.error=null,o.message=null,o.saving=!1}),t.default=o},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a,s=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(0);t.default=(0,n(2).connect)(["store"])(a=function(e){function t(){var e,n,i,a;r(this,t);for(var s=arguments.length,u=Array(s),c=0;s>c;c++)u[c]=arguments[c];return n=i=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),i.handleSignup=function(e){e.preventDefault(),i.props.store.openModal("signup")},i.handleLogin=function(e){e.preventDefault(),i.props.store.openModal("login")},i.handleLogout=function(e){e.preventDefault(),i.props.store.openModal("user")},i.handleButton=function(e){e.preventDefault(),i.props.store.openModal(i.props.store.user?"user":"login")},a=n,o(i,a)}return i(t,e),s(t,[{key:"render",value:function(){var e=this.props.store.user;return"button"===this.props.mode?(0,u.h)("a",{className:"netlify-identity-button",href:"#",onClick:this.handleButton},this.props.text||(e?"Log out":"Log in")):e?(0,u.h)("ul",{className:"netlify-identity-menu"},(0,u.h)("li",{className:"netlify-identity-item netlify-identity-user-details"},"Logged in as"," ",(0,u.h)("span",{className:"netlify-identity-user"},e.user_metadata.name||e.email)),(0,u.h)("li",{className:"netlify-identity-item"},(0,u.h)("a",{className:"netlify-identity-logout",href:"#",onClick:this.handleLogout},"Log out"))):(0,u.h)("ul",{className:"netlify-identity-menu"},(0,u.h)("li",{className:"netlify-identity-item"},(0,u.h)("a",{className:"netlify-identity-signup",href:"#",onClick:this.handleSignup},"Sign up")),(0,u.h)("li",{className:"netlify-identity-item"},(0,u.h)("a",{className:"netlify-identity-login",href:"#",onClick:this.handleLogin},"Log in")))}}]),t}(u.Component))||a},function(e,t,n){t=e.exports=n(28)(!1),t.push([e.i,'::-webkit-input-placeholder {\n /* Chrome/Opera/Safari */\n color: #a3a9ac;\n font-weight: 500;\n}\n\n::-moz-placeholder {\n /* Firefox 19+ */\n color: #a3a9ac;\n font-weight: 500;\n}\n\n:-ms-input-placeholder {\n /* IE 10+ */\n color: #a3a9ac;\n font-weight: 500;\n}\n\n:-moz-placeholder {\n /* Firefox 18- */\n color: #a3a9ac;\n font-weight: 500;\n}\n\n.modalContainer {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n min-height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,\n Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";\n font-size: 14px;\n line-height: 1.5;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n z-index: 99999;\n}\n\n.modalContainer::before {\n content: "";\n display: block;\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: #fff;\n z-index: -1;\n}\n\n.modalDialog {\n -webkit-box-flex: 1;\n -ms-flex-positive: 1;\n flex-grow: 1;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n width: 100%;\n}\n\n.modalContent {\n position: relative;\n padding: 32px;\n opacity: 0;\n -webkit-transform: translateY(10px) scale(1);\n transform: translateY(10px) scale(1);\n background: #fff;\n}\n\n[aria-hidden="false"] .modalContent {\n -webkit-animation: bouncyEntrance 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);\n animation: bouncyEntrance 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);\n -webkit-animation-fill-mode: forwards;\n animation-fill-mode: forwards;\n }\n\n@-webkit-keyframes bouncyEntrance {\n 0% {\n opacity: 0;\n -webkit-transform: translateY(10px) scale(0.9);\n transform: translateY(10px) scale(0.9);\n }\n\n 100% {\n opacity: 1;\n -webkit-transform: translateY(0) scale(1);\n transform: translateY(0) scale(1);\n }\n}\n\n@keyframes bouncyEntrance {\n 0% {\n opacity: 0;\n -webkit-transform: translateY(10px) scale(0.9);\n transform: translateY(10px) scale(0.9);\n }\n\n 100% {\n opacity: 1;\n -webkit-transform: translateY(0) scale(1);\n transform: translateY(0) scale(1);\n }\n}\n\n@media (min-width: 480px) {\n .modalContainer::before {\n background-color: rgb(14, 30, 37);\n -webkit-animation: fadeIn 0.1s ease-in;\n animation: fadeIn 0.1s ease-in;\n -webkit-animation-fill-mode: forwards;\n animation-fill-mode: forwards;\n }\n\n .modalDialog {\n max-width: 364px;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n }\n\n .modalContent {\n background: #fff;\n -webkit-box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .07),\n 0 12px 32px 0 rgba(14, 30, 37, .1);\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .07),\n 0 12px 32px 0 rgba(14, 30, 37, .1);\n border-radius: 8px;\n margin-top: 32px;\n }\n}\n\n@-webkit-keyframes fadeIn {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 0.67;\n }\n}\n\n@keyframes fadeIn {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 0.67;\n }\n}\n\n.flashMessage {\n text-align: center;\n color: rgb(14, 30, 37);\n font-weight: 500;\n font-size: 14px;\n background-color: #f2f3f3;\n padding: 6px;\n border-radius: 4px;\n opacity: 0.7;\n -webkit-transition: opacity 0.2s linear;\n transition: opacity 0.2s linear;\n}\n\n.flashMessage:hover,\n.flashMessage:focus {\n opacity: 1;\n}\n\n.error {\n color: #fa3946;\n background-color: #fceef0;\n opacity: 1;\n}\n\n.error span::before {\n content: "";\n display: inline-block;\n position: relative;\n top: 3px;\n margin-right: 4px;\n width: 16px;\n height: 16px;\n background: no-repeat center center;\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8cGF0aCBmaWxsPSIjRkEzOTQ2IiBkPSJNOCwxLjMzMzMzMzMzIEMxMS42NzYsMS4zMzMzMzMzMyAxNC42NjY2NjY3LDQuMzI0IDE0LjY2NjY2NjcsOCBDMTQuNjY2NjY2NywxMS42NzYgMTEuNjc2LDE0LjY2NjY2NjcgOCwxNC42NjY2NjY3IEM0LjMyNCwxNC42NjY2NjY3IDEuMzMzMzMzMzMsMTEuNjc2IDEuMzMzMzMzMzMsOCBDMS4zMzMzMzMzMyw0LjMyNCA0LjMyNCwxLjMzMzMzMzMzIDgsMS4zMzMzMzMzMyBaIE04LDAgQzMuNTgyLDAgMCwzLjU4MiAwLDggQzAsMTIuNDE4IDMuNTgyLDE2IDgsMTYgQzEyLjQxOCwxNiAxNiwxMi40MTggMTYsOCBDMTYsMy41ODIgMTIuNDE4LDAgOCwwIFogTTcuMTI2NjY2NjcsNS4wMTczMzMzMyBDNy4wNjA2NjY2Nyw0LjQ3OTMzMzMzIDcuNDc4NjY2NjcsNCA4LjAyNTMzMzMzLDQgQzguNTM5MzMzMzMsNCA4Ljk0MzMzMzMzLDQuNDUwNjY2NjcgOC44Nzg2NjY2Nyw0Ljk2NzMzMzMzIEw4LjM3NCw5LjAwMjY2NjY3IEM4LjM1MDY2NjY3LDkuMTkxMzMzMzMgOC4xOSw5LjMzMzMzMzMzIDgsOS4zMzMzMzMzMyBDNy44MSw5LjMzMzMzMzMzIDcuNjQ5MzMzMzMsOS4xOTEzMzMzMyA3LjYyNTMzMzMzLDkuMDAyNjY2NjcgTDcuMTI2NjY2NjcsNS4wMTczMzMzMyBMNy4xMjY2NjY2Nyw1LjAxNzMzMzMzIFogTTgsMTIuMTY2NjY2NyBDNy41NCwxMi4xNjY2NjY3IDcuMTY2NjY2NjcsMTEuNzkzMzMzMyA3LjE2NjY2NjY3LDExLjMzMzMzMzMgQzcuMTY2NjY2NjcsMTAuODczMzMzMyA3LjU0LDEwLjUgOCwxMC41IEM4LjQ2LDEwLjUgOC44MzMzMzMzMywxMC44NzMzMzMzIDguODMzMzMzMzMsMTEuMzMzMzMzMyBDOC44MzMzMzMzMywxMS43OTMzMzMzIDguNDYsMTIuMTY2NjY2NyA4LDEyLjE2NjY2NjcgWiIvPgo8L3N2Zz4K);\n}\n\n.success {\n}\n\n.disabled {\n opacity: 0.38;\n pointer-events: none;\n}\n\n.infoText {\n text-align: center;\n margin: 32px 0;\n}\n\n.infoTextEmail {\n font-size: 16px;\n font-weight: 500;\n}\n\n.saving {\n background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABQCAMAAACeYYN3AAAAxlBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////DTx3aAAAAQnRSTlMAAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2Nzg5Ojs8PT4/QEGgjKRfAAACk0lEQVR4AYXQDXP5WhAG8CUhiSQqSv4RRRMVL1Fa1VZf3PL9v9Tde9wc9M8+P8/M7s6czJiHgNIvVCJO6YiAMlAiWckASiQrm4bJMZTDrmbBIEC9qpgVjp6n4B+oyEwCzKrMQBVaQIlkpmXZln1dhQB+49gOh5dLexlV6MhsAqyazEQVugCqsOK5nsQmwPWZ53ucvyczSGb4l9T9OsdnLgFOXVZFFd4AqEKrIasR4AdBI2hw1GR6VzMwSWY2A60ZNDl6KnUC3KbMRhXeAqhCpyXzCAjarNVucdqXVEhWaRfCdsj5vQcE1EOZQ7Jy+EcUlklWi2Q3BLQ6nagTcTra2Y0qrHZirRN3OOezTUAjvq4bd7suqpDfSGJUoXcnCwiIerIqqlC96vf6HD1ZsUcE3PYH/QGnrx3uYnqoQn4l6aMK/XtZi4BuIrNIZqVJkiapkhx37Y6AcDgcpsNU44Nz3OuoQn4jSVGFNw+ykID+SGaTzM5G2YiTFVM73AMConE2zjhj7XAXs4EqHE/4d12GKgwmsoiAZCpzSObMptPZdHZVSkCc5/ksnym8cPRUmiQzpvNcmedzTl4o7qlBsuZc1iVg9ChDFdYWshEBveV/FssFZ/l7Z7eowsfl0/JJ4UXj43A/ogpbT7IeAZNnWQ1VuJJNCBi8HKxeVhw9tRaq8JkfrV/WHDULxb1CFbbX7HX9yllfck9A/ipzSea+yeYEJO+yEFX4tim8b94VXjj/zzdU4Z/NmY/NB+fkTglYfMg8knmfsiUBD1+yCFX4+X309f3FOds/UYVR8fH2e6vwovExIuB5K/NJ5v8jWxGQ/chiVOF2d+pn98M5zt3WJFm83+/2O4UXjprabkzAWn+o56k9qvBfX4hMaM+SxOMAAAAASUVORK5CYII=);\n background-repeat: repeat-x;\n background-size: contain;\n background-origin: border-box;\n background-position: 0% 0%;\n -webkit-animation: loading 20s linear infinite;\n animation: loading 20s linear infinite;\n pointer-events: none;\n}\n\n.saving::after {\n content: "\\2026";\n}\n\n@-webkit-keyframes loading {\n 0% {\n background-position: 0% 0%;\n }\n\n 100% {\n background-position: 700% 0%;\n }\n}\n\n@keyframes loading {\n 0% {\n background-position: 0% 0%;\n }\n\n 100% {\n background-position: 700% 0%;\n }\n}\n\n.btn {\n display: block;\n position: relative;\n width: 100%;\n height: auto;\n margin: 14px 0 0;\n padding: 6px;\n outline: 0;\n cursor: pointer;\n border: 2px solid rgb(14, 30, 37);\n border-radius: 4px;\n background-color: #2d3b41;\n color: #fff;\n -webkit-transition: background-color 0.2s ease;\n transition: background-color 0.2s ease;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,\n Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n text-align: center;\n text-decoration: none;\n white-space: nowrap;\n}\n\n.btn:hover,\n.btn:focus {\n background-color: rgb(14, 30, 37);\n text-decoration: none;\n}\n\n.btnClose {\n position: absolute;\n top: 0;\n right: 0;\n margin: 0;\n padding: 0;\n border: 0;\n width: 24px;\n height: 24px;\n border-radius: 50%;\n margin: 6px;\n background: #fff;\n color: #a3a9ac;\n}\n\n.btnClose::before {\n content: "\\D7";\n font-size: 25px;\n line-height: 9px;\n}\n\n.btnClose:hover,\n.btnClose:focus {\n background: #e9ebeb;\n color: rgb(14, 30, 37);\n}\n\n.header {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n margin-top: -8px;\n margin-bottom: 32px;\n}\n\n.btnHeader {\n font-size: 16px;\n line-height: 24px;\n background: #fff;\n color: #a3a9ac;\n border: 0;\n border-bottom: 2px solid #e9ebeb;\n border-radius: 4px 4px 0 0;\n margin: 0;\n}\n\n.btnHeader:focus,\n.btnHeader.active {\n background: #fff;\n color: rgb(14, 30, 37);\n border-color: rgb(14, 30, 37);\n font-weight: 700;\n}\n\n.btnHeader:not(:only-child):hover {\n background-color: #e9ebeb;\n color: rgb(14, 30, 37);\n}\n\n.btnHeader:only-child {\n cursor: auto;\n}\n\n.btnLink {\n display: block;\n position: relative;\n width: auto;\n height: auto;\n margin: 14px auto 0;\n padding: 6px;\n padding-bottom: 0;\n outline: 0;\n cursor: pointer;\n color: rgb(14, 30, 37);\n border: none;\n border-bottom: 2px solid #e9ebeb;\n border-radius: 0;\n background-color: inherit;\n -webkit-transition: border-color 0.2s ease;\n transition: border-color 0.2s ease;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,\n Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n text-align: center;\n white-space: nowrap;\n}\n\n.btnLink:hover,\n.btnLink:focus {\n background-color: inherit;\n border-color: #a3a9ac;\n}\n\n.form {\n}\n\n.formGroup {\n position: relative;\n margin-top: 14px;\n}\n\n.formControl {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n display: block;\n width: 100%;\n height: 40px;\n margin: 0;\n padding: 6px 12px 6px 34px;\n border: 2px solid #e9ebeb;\n border-radius: 4px;\n background: #fff;\n color: rgb(14, 30, 37);\n -webkit-box-shadow: none;\n box-shadow: none;\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n -webkit-transition: -webkit-box-shadow ease-in-out 0.15s;\n transition: -webkit-box-shadow ease-in-out 0.15s;\n transition: box-shadow ease-in-out 0.15s;\n transition: box-shadow ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;\n -webkit-appearance: none;\n -moz-appearance: none;\n}\n\n.inputFieldIcon {\n position: absolute;\n top: 12px;\n left: 12px;\n display: inline-block;\n width: 16px;\n height: 16px;\n background-repeat: no-repeat;\n background-position: center;\n pointer-events: none;\n}\n\n.inputFieldName {\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDE0IDE0Ij4gIDxwYXRoIGZpbGw9IiNBM0E5QUMiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTgsNyBDNi4zNDMxNDU3NSw3IDUsNS42NTY4NTQyNSA1LDQgQzUsMi4zNDMxNDU3NSA2LjM0MzE0NTc1LDEgOCwxIEM5LjY1Njg1NDI1LDEgMTEsMi4zNDMxNDU3NSAxMSw0IEMxMSw1LjY1Njg1NDI1IDkuNjU2ODU0MjUsNyA4LDcgWiBNOCwxNSBMMS41LDE1IEMxLjUsMTEuMTM0MDA2OCA0LjQxMDE0OTEzLDggOCw4IEMxMS41ODk4NTA5LDggMTQuNSwxMS4xMzQwMDY4IDE0LjUsMTUgTDgsMTU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zcxNTI1LDExIDcsMTAuNTUyMjg0NyA3LDEwIEw3LDYgQzcsNS40NDc3MTUyNSA3LjQ0NzcxNTI1LDUgOCw1IEM4LjU1MjI4NDc1LDUgOSw1LjQ0NzcxNTI1IDksNiBMOSwxMCBDOSwxMC41NTIyODQ3IDguNTUyMjg0NzUsMTEgOCwxMSBaIiB0cmFuc2Zvcm09InJvdGF0ZSg0NSA4LjcwNyA2LjI5MykiLz48L3N2Zz4=);\n}\n\n.formLabel {\n}\n\n.hr {\n border: 0;\n border-top: 2px solid #e9ebeb;\n margin: 32px 0 -1px;\n text-align: center;\n overflow: visible;\n}\n\n.hr::before {\n content: "or";\n position: relative;\n display: inline-block;\n font-size: 12px;\n font-weight: 800;\n line-height: 1;\n text-transform: uppercase;\n background-color: #fff;\n color: rgb(14, 30, 37);\n padding: 4px;\n top: -11px;\n}\n\n.btnProvider {\n padding-left: 40px;\n padding-right: 40px;\n}\n\n.btnProvider::before {\n content: "";\n position: absolute;\n display: inline-block;\n vertical-align: middle;\n width: 32px;\n height: 40px;\n background-repeat: no-repeat;\n background-position: left center;\n top: -2px;\n left: 14px;\n}\n\n.providerGoogle {\n background-color: #4285f4;\n border-color: #366dc7;\n}\n\n.providerGoogle:hover,\n.providerGoogle:focus {\n background-color: #366dc7;\n}\n\n.providerGitHub {\n background-color: #333;\n border-color: #000;\n}\n\n.providerGitHub:hover,\n.providerGitHub:focus {\n background-color: #000;\n}\n\n.providerGitLab {\n background-color: #e24329;\n border-color: #b03320;\n}\n\n.providerGitLab:hover,\n.providerGitLab:focus {\n background-color: #b03320;\n}\n\n.providerBitbucket {\n background-color: #205081;\n border-color: #14314f;\n}\n\n.providerBitbucket:hover,\n.providerBitbucket:focus {\n background-color: #14314f;\n}\n\n.providerGoogle:before {\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxMiIgdmlld0JveD0iM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mjg3NiBMMTIuMDY0NTA5NiwxMS4yMjkyODc2IFoiLz4gICAgICA8ZWxsaXBzZSBjeD0iNyIgY3k9IjcuNjkiIHJ4PSIxLjA5OCIgcnk9IjEuMDg5Ii8+ICAgIDwvZz4gIDwvZz48L3N2Zz4=);\n}\n\n.callOut {\n display: block;\n padding: 32px;\n font-size: 14px;\n font-weight: 500;\n text-decoration: none;\n color: #a3a9ac;\n text-align: center;\n}\n\n.callOut:after {\n content: " \\2665";\n -webkit-transition: color 4s ease;\n transition: color 4s ease;\n}\n\n.callOut:hover:after {\n color: red;\n}\n\n.callOut .netlifyLogo {\n display: block;\n margin: auto;\n width: 32px;\n height: 32px;\n margin-bottom: 8px;\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmlld0JveD0iMCAwIDMyIDMyIj4gIDxkZWZzPiAgICA8cmFkaWFsR3JhZGllbnQgaWQ9ImEiIGN5PSIwJSIgcj0iMTAwJSIgZng9IjUwJSIgZnk9IjAlIiBncmFkaWVudFRyYW5zZm9ybT0ibWF0cml4KDAgMSAtMS4xNTE4NSAwIC41IC0uNSkiPiAgICAgIDxzdG9wIHN0b3AtY29sb3I9IiMyMEM2QjciIG9mZnNldD0iMCUiLz4gICAgICA8c3RvcCBzdG9wLWNvbG9yPSIjNEQ5QUJGIiBvZmZzZXQ9IjEwMCUiLz4gICAgPC9yYWRpYWxHcmFkaWVudD4gIDwvZGVmcz4gIDxwYXRoIGZpbGw9InVybCgjYSkiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTIyLjk4MDYyMywxMS42MjYyMzc3IEMyMi44NzE3MTA3LDExLjUwNTEzMDYgMjIuNzM1NTcwNCwxMS4zOTc0Nzk4IDIyLjU3MjIwMjEsMTEuMzE2NzQxOCBDMjIuNTU4NTg4MSwxMS4zMTY3NDE4IDIyLjU0NDk3NCwxMS4y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Tg5ODUwNjksMTYuOTAxMTI1NCAwLjYxMjU5OTEyNywxNi44ODc2NjkyIEMwLjYyNjIxMzE4NSwxNi44NzQyMTMgMC42Mzk4MjcyNDMsMTYuODYwNzU2OCAwLjY2NzA1NTM1OSwxNi44NjA3NTY4IEw3LjM1MTU1NzgzLDE4LjI0Njc0NjQgWiIvPjwvc3ZnPg==);\n}\n\n.visuallyHidden {\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n #fff-space: nowrap;\n}\n\n.subheader {\n margin-top: 2em;\n border-top: 1px solid rgb(14, 30, 37);\n}\n\n.subheader h3 {\n padding-top: 1em;\n text-align: center;\n }\n',""])},function(e){"use strict";function t(e,t){var r=e[1]||"",o=e[3];if(!o)return r;if(t&&"function"==typeof btoa){var i=n(o);return[r].concat(o.sources.map(function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"})).concat([i]).join("\n")}return""+r}function n(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var n=[];return n.toString=function(){return this.map(function(n){var r=t(n,e);return n[2]?"@media "+n[2]+"{"+r+"}":r}).join("")},n.i=function(e,t){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;this.length>o;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;e.length>o;o++){var a=e[o];"number"==typeof a[0]&&r[a[0]]||(t&&!a[2]?a[2]=t:t&&(a[2]="("+a[2]+") and ("+t+")"),n.push(a))}},n}}]); //# sourceMappingURL=netlify-identity-widget.js.map \ No newline at end of file diff --git a/releases/v1/netlify-identity-widget.js.map b/releases/v1/netlify-identity-widget.js.map index e0fdc46d2..e90950948 100644 --- a/releases/v1/netlify-identity-widget.js.map +++ b/releases/v1/netlify-identity-widget.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///netlify-identity-widget.js","webpack:///webpack/bootstrap 32c95e74520dd7180e21","webpack:///../node_modules/preact/dist/preact.mjs","webpack:///../node_modules/mobx/lib/mobx.module.js","webpack:///../node_modules/mobx-preact/lib/index.js","webpack:///../node_modules/mobx-preact/lib/observer.js","webpack:///../node_modules/mobx-preact/lib/utils/utils.js","webpack:///../node_modules/mobx-preact/lib/inject.js","webpack:///../node_modules/micro-api-client/lib/index.js","webpack:///./components/forms/button.js","webpack:///./components/forms/message.js","webpack:///./index.js","webpack:///./netlify-identity.js","webpack:///../node_modules/webpack/buildin/global.js","webpack:///../node_modules/mobx-preact/lib/connect.js","webpack:///../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","webpack:///../node_modules/mobx-preact/lib/Provider.js","webpack:///../node_modules/gotrue-js/lib/index.js","webpack:///../node_modules/micro-api-client/lib/pagination.js","webpack:///../node_modules/gotrue-js/lib/user.js","webpack:///../node_modules/gotrue-js/lib/admin.js","webpack:///./components/app.js","webpack:///./components/modal/index.js","webpack:///./components/forms/siteurl.js","webpack:///./components/forms/logout.js","webpack:///./components/forms/user.js","webpack:///./components/forms/providers.js","webpack:///./state/store.js","webpack:///./components/controls.js","webpack:///./components/modal.css","webpack:///../node_modules/css-loader/lib/css-base.js"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","i","l","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","__webpack_exports__","h","nodeName","attributes","lastSimple","child","simple","children","EMPTY_CHILDREN","arguments","length","stack","push","pop","undefined","String","VNode","key","options","vnode","extend","obj","props","cloneElement","slice","enqueueRender","component","_dirty","items","debounceRendering","defer","rerender","list","renderComponent","isSameNodeType","node","hydrating","splitText","_componentConstructor","isNamedNode","normalizedNodeName","toLowerCase","getNodeProps","defaultProps","createNode","isSvg","document","createElementNS","createElement","removeNode","parentNode","removeChild","setAccessor","old","value","style","cssText","IS_NON_DIMENSIONAL","test","innerHTML","__html","useCapture","replace","substring","addEventListener","eventProxy","removeEventListener","_listeners","e","removeAttribute","ns","removeAttributeNS","setAttributeNS","setAttribute","className","this","type","event","flushMounts","mounts","afterMount","componentDidMount","diff","dom","context","mountAll","parent","componentRoot","diffLevel","isSvgMode","ownerSVGElement","ret","idiff","appendChild","out","prevSvgMode","_component","nodeValue","createTextNode","replaceChild","recollectNodeTree","vnodeName","buildComponentFromVNode","firstChild","fc","vchildren","a","nextSibling","innerDiffNode","dangerouslySetInnerHTML","diffAttributes","isHydrating","j","f","vchild","originalChildren","childNodes","keyed","keyedLen","min","len","childrenLen","vlen","_child","__key","trim","insertBefore","unmountOnly","unmountComponent","ref","removeChildren","lastChild","next","previousSibling","attrs","createComponent","Ctor","inst","recyclerComponents","render","Component","constructor","doRender","nextBase","splice","state","setComponentProps","renderMode","_disable","__ref","getDerivedStateFromProps","base","componentWillMount","componentWillReceiveProps","prevContext","prevProps","syncComponentUpdates","isChild","rendered","cbase","previousProps","previousState","prevState","previousContext","isUpdate","initialBase","initialChildComponent","skip","snapshot","shouldComponentUpdate","componentWillUpdate","getChildContext","getSnapshotBeforeUpdate","toUnmount","childComponent","childProps","_parentComponent","baseParent","componentRef","t","unshift","componentDidUpdate","afterUpdate","_renderCallbacks","originalComponent","oldDom","isDirectOwner","isOwner","beforeUnmount","componentWillUnmount","inner","merge","Promise","resolve","then","bind","setTimeout","setState","callback","forceUpdate","global","__extends","b","__","extendStatics","create","hasInterceptors","interceptable","interceptors","registerInterceptor","handler","once","idx","indexOf","interceptChange","change","prevU","untrackedStart","invariant","untrackedEnd","hasListeners","listenable","changeListeners","registerListener","listeners","notifyListeners","isSpyEnabled","globalState","spyListeners","spyReport","spyReportStart","objectAssign","spyReportEnd","END_EVENT","spy","listener","iteratorSymbol","Symbol","iterator","arrayAsIterator","array","IS_ITERATING_MARKER","addHiddenFinalProp","done","declareIterator","prototType","iteratorFactory","createArrayEntryDescriptor","index","set","createArrayBufferItem","ObservableArray","reserveArrayBuffer","max","OBSERVABLE_ARRAY_BUFFER_SIZE","isObservableArray","thing","isObject","isObservableArrayAdministration","$mobx","getMessage","id","messages","createAction","actionName","fn","res","executeAction","originalFn","isMobxAction","scope","args","runInfo","startAction","apply","endAction","notifySpy","startTime","Date","now","flattendArgs","Array","prevDerivation","startBatch","prevAllowStateChanges","allowStateChangesStart","allowStateChangesEnd","endBatch","time","useStrict","strict","trackingDerivation","strictMode","allowStateChanges","isStrictModeEnabled","func","prev","createClassPropertyDecorator","onInitialize","allowCustomArguments","classPropertyDecorator","target","descriptor","customArgs","argLen","quacksLikeADecorator","addHiddenProp","__mobxLazyInitializers","value_1","initializer_1","initializer","instance","__mobxDidRunLazyInitializers","runLazyInitializers","v","newDescriptor","__mobxInitializedProps","typescriptInitializeProperty","outerArgs","baseDescriptor","forEach","namedActionDecorator","prop","Error","actionFieldDecorator","runInAction","arg1","arg2","arg3","isAction","defineBoundAction","propertyName","deepEqual","eq","aStack","bStack","_typeof","deepEq","unwrap","toString","valueOf","areArrays","aCtor","bCtor","keys","has","peek","isObservableMap","entries","isES6Map","iteratorToArray","identityComparer","structuralComparer","defaultComparer","areBothNaN","autorun","reactionRunner","view","reaction","getNextId","Reaction","track","schedule","getDisposer","when","arg4","predicate","effect","r","dispose","prevUntracked","autorunAsync","delay","isScheduled","isDisposed","expression","changed","nextValue","firstTime","equals","opts","fireImmediately","fail","isModifierDescriptor","compareStructural","struct","action","comparer","structural","default","asObservableObject","isObservableObject","isExtensible","isPlainObject","adm","ObservableObjectAdministration","defineObservablePropertyFromDescriptor","propName","defaultEnhancer","values","isComputedValue","modifierDescriptor","defineObservableProperty","initialValue","enhancer","autoBind","defineComputedPropertyFromComputedValue","defineComputedProperty","newValue","assertPropertyConfigurable","ObservableValue","generateObservablePropConfig","notifyPropertyAddition","setter","asInstanceProperty","ComputedValue","generateComputedPropConfig","computedValue","observablePropertyConfigs","setPropertyValue","computedPropertyConfigs","observable","prepareNewValue","UNCHANGED","notify","oldValue","setNewValue","isObservableObjectAdministration","isObservable","isAtom","isReaction","createDecoratorForEnhancer","baseValue","_","extendObservable","properties","_i","extendObservableHelper","deepEnhancer","extendShallowObservable","referenceEnhancer","propSet","definedProps","isPropertyConfigurable","getOwnPropertyDescriptor","createObservable","deepDecorator","box","incorrectlyUsedAsDecorator","methodName","isMobxModifierDescriptor","createModifierDescriptor","isArray","map","shallowEnhancer","shallowArray","shallowObject","shallowMap","deepStructEnhancer","ObservableMap","refStructEnhancer","transaction","thisArg","initialValues","deprecated","getGlobal","window","mobxGuid","message","check","msg","deprecatedMessages","console","error","invoked","unique","item","joinStrings","things","limit","separator","join","proto","getPrototypeOf","source","prototypeHasOwnProperty","writable","createInstanceofPredicate","clazz","x","isNaN","isArrayLike","Map","getMapLikeKeys","map$$1","_a","from","it","primitiveSymbol","toPrimitive","isolateGlobalState","runInIsolationCalled","__mobxInstanceCount","shareGlobalState","shareGlobalStateCalled","ownState","__mobservableTrackingStack","__mobservableViewStack","__mobxGlobal","version","getGlobalState","resetGlobalState","resetId","defaultGlobals","MobXGlobals","persistentKeys","getAtom","atom","anyThing","_keys","_data","_hasMap","getDebugName","getAdministration","named","getDependencyTree","nodeToDependencyTree","result","observing","dependencies","getObserverTree","nodeToObserverTree","hasObservers","observers","getObservers","addObserver","observersIndexes","__mapid","lowestObserverState","dependenciesState","removeObserver","queueForUnobservation","filler","isPendingUnobservation","pendingUnobservations","inBatch","runReactions","onBecomeUnobserved","reportObserved","derivation","runId","lastAccessedBy","newObserving","unboundDepsCount","propagateChanged","IDerivationState","STALE","UP_TO_DATE","isTracing","TraceMode","NONE","logTraceInfo","onBecomeStale","propagateChangeConfirmed","POSSIBLY_STALE","propagateMaybeChanged","log","BREAK","lines","printDepTree","Function","tree","depth","isCaughtException","CaughtException","shouldCompute","NOT_TRACKING","obs","changeDependenciesStateTo0","isComputingDerivation","checkIfStateModificationsAreAllowed","hasObservers$$1","computationDepth","trackDerivedFunction","prevTracking","bindDependencies","prevObserving","lowestNewObservingDerivationState","i0","dep","diffValue","clearObserving","untracked","whyRun","getAtomFromArgs","trace","enterBreakPoint","LOG","registerErrorHandler","errorHandler","onReactionError","globalReactionErrorHandlers","isRunningReactions","reactionScheduler","runReactionsHelper","allReactions","pendingReactions","iterations","MAX_REACTION_ITERATIONS","remainingReactions","runReaction","setReactionScheduler","baseScheduler","asReference","asStructure","asFlat","shallow","asMap","data","createComputedDecorator","originalDescriptor","isComputed","observe","propOrCb","cbOrFire","observeObservableProperty","observeObservable","intercept","propOrHandler","interceptProperty","interceptInterceptable","expr","warn","computed","toJS","detectCycles","__alreadySeen","cache","toAdd","res_1","isObservableValue","createTransformer","transformer","onCleanup","objectCache","Transformer","_super","sourceIdentifier","sourceObject","_this","lastValue","identifier","getMemoizationId","reactiveTransformer","tid","$transformId","interceptReads","dehancer","setPrototypeOf","__proto__","BaseAtom","reportChanged","Atom","onBecomeObservedHandler","onBecomeUnobservedHandler","noop","isBeingTracked","safariPrototypeSetterInheritanceBug","StubArray","ctor","isFrozen","ObservableArrayAdministration","owned","lastKnownLength","newV","oldV","dehanceValue","dehanceValues","added","addedCount","removed","removedCount","getArrayLength","setArrayLength","newLength","currentLength","newItems","spliceWithArray","updateArrayLength","oldLength","delta","deleteCount","Math","EMPTY_ARRAY","spliceItemsIntoValues","notifyArraySplice","concat","notifyArrayChildUpdate","ENTRY_0","clear","arrays","toJSON","find","fromIndex","findIndex","shift","reverse","clone","sort","remove","move","toIndex","checkIndex","oldItems","impl","funcName","baseFunc","propNames","hasUnreportedChange","m001","m002","m003","m004","m005","m006","m007","m008","m009","m010","m011","m012","m013","m014","m015","m016","m017","m018","m019","m020","m021","m022","m024","m025","m026","m028","m029","m030a","m030b","m031","m032","m033","m034","m035","m036","m037","m038","boundActionDecorator","bound","action_1","identity","isComputing","isRunningSetter","computeValue","trackAndCompute","cause","wasSuspended","prevValue","isTracking","shallowDecorator","refDecorator","deepStructDecorator","refStructDecorator","observableFactories","shallowBox","deep","ObservableMapMarker","initialData","_has","isValidKey","_updateHasMapEntry","assertValidKey","hasKey","_updateValue","_addValue","delete","entry","observable$$1","other","newKeys","filter","k","freeze","warnedAboutMultipleInstances","global_1","onInvalidate","_isScheduled","_isTrackPending","_isRunning","reportExceptionInDerivation","messageToUser","onError","computedDecorator","computedStructDecorator","extras","everything","isBoxedObservable","warnedAboutDefaultExport","val","__MOBX_DEVTOOLS_GLOBAL_HOOK__","injectMobx","Provider","inject","connect","useStaticRendering","Observer","observer","_observer","require","_connect","_inject","_Provider","_mobx","_classCallCheck","Constructor","TypeError","_possibleConstructorReturn","self","ReferenceError","_typeof2","_inherits","subClass","superClass","isUsingStaticRendering","patch","runMixinFirst","mixinFunc","reactiveMixin","isObjectShallowModified","componentClass","logger","isMobxInjector","_utils","isStateless","_class","_temp","_Component","_createClass","_preact","displayName","makeDisplayName","mixinLifecycleEvents","isMobXReactObserver","defineProperties","protoProps","staticProps","makePropertyObservableReference","valueHolder","isForcingUpdate","skipRender","initialName","baseRender","isRenderingPending","initialRender","componentWillReact","__$mobxIsUnmounted","hasError","reactComponent","reactiveRender","exception","rendering","nextProps","nextState","_ref","isPrototypeOf","_ref$prefix","prefix","_ref$suffix","suffix","createStoreInjector","grabStoresFn","injectNames","Injector","newProps","additionalProps","mobxStores","_key","_hoistNonReactStatics2","wrappedComponent","proxiedInjectorProps","grabStoresByName","storeNames","baseStores","storeName","injected","_hoistNonReactStatics","JSONHTTPError","TextHTTPError","HTTPError","getPagination","_extends","assign","_pagination","_extendableBuiltin2","response","statusText","captureStackTrace","status","cls","ExtendableBuiltin","Reflect","construct","_HTTPError","_this2","_HTTPError2","json","_this3","API","apiURL","match","_sameOrigin","defaultHeaders","Content-Type","ok","reject","pagination","path","_this4","headers","credentials","fetch","contentType","parseJsonResponse","text","Button","_props","saving","saving_text","confirm","password_mail","email_changed","verfication_error","signup_disabled","Message","_netlifyIdentity","_netlifyIdentity2","netlifyIdentity","readyState","init","_interopRequireDefault","trigger","_arguments","callbacks","cb","setStyle","el","css","queuedIframeStyle","instantiateGotrue","APIUrl","isLocal","localHosts","location","host","split","siteURL","localStorage","getItem","GoTrue","setCookie","parts","runRoutes","hash","routes","store","verifyToken","errorRoute","openModal","accessTokenRoute","params","pair","_pair$split","_pair$split2","_slicedToArray","cookie","completeExternalLogin","_options$logo","logo","namePlaceholder","controlEls","querySelectorAll","mode","getAttribute","_mobxPreact","_controls2","innerText","modal","setNamePlaceholder","iframe","onload","styles","contentDocument","modalCSS","head","root","_app2","body","iframeStyle","src","container","querySelector","sliceIterator","arr","_arr","_n","_d","_e","_s","err","_gotrueJs","_gotrueJs2","_app","_store","_store2","_controls","_modal","_modal2","validActions","login","signup","on","open","user","close","closeModal","currentUser","gotrue","logout","localhost","127.0.0.1","0.0.0.0","position","top","left","border","width","height","overflow","background","display","z-index","settings","loadSettings","isOpen","page","removeItem","setItem","g","eval","hoistNonReactStatics","targetComponent","sourceComponent","blacklist","objectPrototype","inheritedComponent","getOwnPropertyNames","getOwnPropertySymbols","REACT_STATICS","KNOWN_STATICS","childContextTypes","contextTypes","getDefaultProps","mixins","propTypes","caller","callee","arity","specialReactKeys","stores","suppressChangedStoreWarning","_microApiClient","_microApiClient2","_user","_user2","HTTPRegexp","defaultApiURL","_ref$APIUrl","_ref$audience","audience","_ref$setCookie","api","aud","request","catch","error_description","_request","email","password","method","JSON","stringify","remember","_setRememberHeaders","encodeURIComponent","removeSavedSession","createUser","provider","token","verify","tokenResponse","getUserData","_saveSession","recoverSession","_fromStorage","links","total","link","_link$split","_link$split2","url","rel","parseInt","last","first","current","urlBase64Decode","str","output","atob","decodeURIComponent","escape","_admin","_admin2","refreshPromises","forbiddenUpdateAttributes","forbiddenSaveAttributes","User","_processTokenResponse","_saveUserData","_refreshSavedSession","forceRefresh","_tokenDetails","tokenDetails","expires_at","refresh_token","access_token","_refreshToken","clearSession","jwt","Authorization","fromStorage","claims","parse","exp","_details","userCopy","apiInstance","ex","Admin","_siteurl","_siteurl2","_logout","_logout2","_providers","_providers2","_message","_message2","pagesWithHeader","pages","button","button_saving","link_text","providers","amnesia","title","recovery","invite","App","_ret","_len","handleClose","handlePage","handleLogout","handleSiteURL","setSiteURL","clearSiteURL","handleExternalLogin","externalLogin","handleUser","_ref2","requestPasswordRecovery","acceptInvite","updatePassword","pageLinkHandler","onLogout","disable_signup","onSubmit","onclick","devMode","onSiteURL","external","labels","external_labels","onLogin","showHeader","showSignup","devSettings","loading","onPage","onClose","renderBody","renderProviders","formatError","Modal","preventDefault","blockEvent","stopPropagation","linkHandler","role","aria-hidden","onClick","href","_defineProperty","SiteURLForm","handleInput","addSiteURL","development","_state","class","onsubmit","placeholder","autocapitalize","required","oninput","_button","_button2","LogoutForm","user_metadata","full_name","UserForm","handleLogin","label","_Component2","Providers","pId","_props2","getLabel","recovered_user","invite_token","email_change_token","setError","reloadSettings","doEmailChange","acceptInviteExternalUrl","loginExternalUrl","autoconfirm","update","recover","Controls","handleSignup","handleButton","cssWithMappingToString","useSourceMap","content","cssMapping","btoa","sourceMapping","toComment","sources","sourceRoot","sourceMap","unescape","mediaQuery","alreadyImportedModules"],"mappings":"CAAS,SAAUA,GCInB,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAE,OAGA,IAAAC,GAAAF,EAAAD,IACAI,EAAAJ,EACAK,GAAA,EACAH,WAUA,OANAJ,GAAAE,GAAAM,KAAAH,EAAAD,QAAAC,IAAAD,QAAAH,GAGAI,EAAAE,GAAA,EAGAF,EAAAD,QAvBA,GAAAD,KA4BAF,GAAAQ,EAAAT,EAGAC,EAAAS,EAAAP,EAGAF,EAAAU,EAAA,SAAAP,EAAAQ,EAAAC,GACAZ,EAAAa,EAAAV,EAAAQ,IACAG,OAAAC,eAAAZ,EAAAQ,GACAK,cAAA,EACAC,YAAA,EACAC,IAAAN,KAMAZ,EAAAmB,EAAA,SAAAf,GACA,GAAAQ,GAAAR,KAAAgB,WACA,WAA2B,MAAAhB,GAAA,SAC3B,WAAiC,MAAAA,GAEjC,OADAJ,GAAAU,EAAAE,EAAA,IAAAA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xB,EAAS,SAGxBoN,QAAQyjB,IAAgBhxB,KAAK,MAGlE,MAAO,GAAC6wB,EAIT,QAASI,GAAUG,GAKlB,MAAO,mEAHML,KAAKM,SAASxK,mBAAmBJ,KAAKC,UAAU0K,MAGtC,MArExB5wC,EAAOD,QAAU,SAASqwC,GACzB,GAAI7sC,KAwCJ,OArCAA,GAAKmT,SAAW,WACf,MAAOxQ,MAAK0X,IAAI,SAAUuB,GACzB,GAAIkxB,GAAUF,EAAuBhxB,EAAMixB,EAC3C,OAAGjxB,GAAK,GACA,UAAYA,EAAK,GAAK,IAAMkxB,EAAU,IAEtCA,IAEN7wB,KAAK,KAITjc,EAAKtD,EAAI,SAASN,EAASmxC,GACJ,gBAAZnxC,KACTA,IAAY,KAAMA,EAAS,KAE5B,KAAI,GADAoxC,MACI9wC,EAAI,EAAOiG,KAAKjE,OAAThC,EAAiBA,IAAK,CACpC,GAAI2R,GAAK1L,KAAKjG,GAAG,EACA,iBAAP2R,KACTm/B,EAAuBn/B,IAAM,GAE/B,IAAI3R,EAAI,EAAON,EAAQsC,OAAZhC,EAAoBA,IAAK,CACnC,GAAIkf,GAAOxf,EAAQM,EAKG,iBAAZkf,GAAK,IAAoB4xB,EAAuB5xB,EAAK,MAC3D2xB,IAAe3xB,EAAK,GACtBA,EAAK,GAAK2xB,EACDA,IACT3xB,EAAK,GAAK,IAAMA,EAAK,GAAK,UAAY2xB,EAAa,KAEpDvtC,EAAKpB,KAAKgd,MAIN5b","file":"netlify-identity-widget.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"/\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 9);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"h\", function() { return h; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createElement\", function() { return h; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"cloneElement\", function() { return cloneElement; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Component\", function() { return Component; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"rerender\", function() { return rerender; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"options\", function() { return options; });\nvar VNode = function VNode() {};\n\nvar options = {};\n\nvar stack = [];\n\nvar EMPTY_CHILDREN = [];\n\nfunction h(nodeName, attributes) {\n\tvar children = EMPTY_CHILDREN,\n\t lastSimple,\n\t child,\n\t simple,\n\t i;\n\tfor (i = arguments.length; i-- > 2;) {\n\t\tstack.push(arguments[i]);\n\t}\n\tif (attributes && attributes.children != null) {\n\t\tif (!stack.length) stack.push(attributes.children);\n\t\tdelete attributes.children;\n\t}\n\twhile (stack.length) {\n\t\tif ((child = stack.pop()) && child.pop !== undefined) {\n\t\t\tfor (i = child.length; i--;) {\n\t\t\t\tstack.push(child[i]);\n\t\t\t}\n\t\t} else {\n\t\t\tif (typeof child === 'boolean') child = null;\n\n\t\t\tif (simple = typeof nodeName !== 'function') {\n\t\t\t\tif (child == null) child = '';else if (typeof child === 'number') child = String(child);else if (typeof child !== 'string') simple = false;\n\t\t\t}\n\n\t\t\tif (simple && lastSimple) {\n\t\t\t\tchildren[children.length - 1] += child;\n\t\t\t} else if (children === EMPTY_CHILDREN) {\n\t\t\t\tchildren = [child];\n\t\t\t} else {\n\t\t\t\tchildren.push(child);\n\t\t\t}\n\n\t\t\tlastSimple = simple;\n\t\t}\n\t}\n\n\tvar p = new VNode();\n\tp.nodeName = nodeName;\n\tp.children = children;\n\tp.attributes = attributes == null ? undefined : attributes;\n\tp.key = attributes == null ? undefined : attributes.key;\n\n\tif (options.vnode !== undefined) options.vnode(p);\n\n\treturn p;\n}\n\nfunction extend(obj, props) {\n for (var i in props) {\n obj[i] = props[i];\n }return obj;\n}\n\nvar defer = typeof Promise == 'function' ? Promise.resolve().then.bind(Promise.resolve()) : setTimeout;\n\nfunction cloneElement(vnode, props) {\n return h(vnode.nodeName, extend(extend({}, vnode.attributes), props), arguments.length > 2 ? [].slice.call(arguments, 2) : vnode.children);\n}\n\nvar IS_NON_DIMENSIONAL = /acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i;\n\nvar items = [];\n\nfunction enqueueRender(component) {\n\tif (!component._dirty && (component._dirty = true) && items.push(component) == 1) {\n\t\t(options.debounceRendering || defer)(rerender);\n\t}\n}\n\nfunction rerender() {\n\tvar p,\n\t list = items;\n\titems = [];\n\twhile (p = list.pop()) {\n\t\tif (p._dirty) renderComponent(p);\n\t}\n}\n\nfunction isSameNodeType(node, vnode, hydrating) {\n\tif (typeof vnode === 'string' || typeof vnode === 'number') {\n\t\treturn node.splitText !== undefined;\n\t}\n\tif (typeof vnode.nodeName === 'string') {\n\t\treturn !node._componentConstructor && isNamedNode(node, vnode.nodeName);\n\t}\n\treturn hydrating || node._componentConstructor === vnode.nodeName;\n}\n\nfunction isNamedNode(node, nodeName) {\n\treturn node.normalizedNodeName === nodeName || node.nodeName.toLowerCase() === nodeName.toLowerCase();\n}\n\nfunction getNodeProps(vnode) {\n\tvar props = extend({}, vnode.attributes);\n\tprops.children = vnode.children;\n\n\tvar defaultProps = vnode.nodeName.defaultProps;\n\tif (defaultProps !== undefined) {\n\t\tfor (var i in defaultProps) {\n\t\t\tif (props[i] === undefined) {\n\t\t\t\tprops[i] = defaultProps[i];\n\t\t\t}\n\t\t}\n\t}\n\n\treturn props;\n}\n\nfunction createNode(nodeName, isSvg) {\n\tvar node = isSvg ? document.createElementNS('http://www.w3.org/2000/svg', nodeName) : document.createElement(nodeName);\n\tnode.normalizedNodeName = nodeName;\n\treturn node;\n}\n\nfunction removeNode(node) {\n\tvar parentNode = node.parentNode;\n\tif (parentNode) parentNode.removeChild(node);\n}\n\nfunction setAccessor(node, name, old, value, isSvg) {\n\tif (name === 'className') name = 'class';\n\n\tif (name === 'key') {} else if (name === 'ref') {\n\t\tif (old) old(null);\n\t\tif (value) value(node);\n\t} else if (name === 'class' && !isSvg) {\n\t\tnode.className = value || '';\n\t} else if (name === 'style') {\n\t\tif (!value || typeof value === 'string' || typeof old === 'string') {\n\t\t\tnode.style.cssText = value || '';\n\t\t}\n\t\tif (value && typeof value === 'object') {\n\t\t\tif (typeof old !== 'string') {\n\t\t\t\tfor (var i in old) {\n\t\t\t\t\tif (!(i in value)) node.style[i] = '';\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (var i in value) {\n\t\t\t\tnode.style[i] = typeof value[i] === 'number' && IS_NON_DIMENSIONAL.test(i) === false ? value[i] + 'px' : value[i];\n\t\t\t}\n\t\t}\n\t} else if (name === 'dangerouslySetInnerHTML') {\n\t\tif (value) node.innerHTML = value.__html || '';\n\t} else if (name[0] == 'o' && name[1] == 'n') {\n\t\tvar useCapture = name !== (name = name.replace(/Capture$/, ''));\n\t\tname = name.toLowerCase().substring(2);\n\t\tif (value) {\n\t\t\tif (!old) node.addEventListener(name, eventProxy, useCapture);\n\t\t} else {\n\t\t\tnode.removeEventListener(name, eventProxy, useCapture);\n\t\t}\n\t\t(node._listeners || (node._listeners = {}))[name] = value;\n\t} else if (name !== 'list' && name !== 'type' && !isSvg && name in node) {\n\t\ttry {\n\t\t\tnode[name] = value == null ? '' : value;\n\t\t} catch (e) {}\n\t\tif ((value == null || value === false) && name != 'spellcheck') node.removeAttribute(name);\n\t} else {\n\t\tvar ns = isSvg && name !== (name = name.replace(/^xlink:?/, ''));\n\n\t\tif (value == null || value === false) {\n\t\t\tif (ns) node.removeAttributeNS('http://www.w3.org/1999/xlink', name.toLowerCase());else node.removeAttribute(name);\n\t\t} else if (typeof value !== 'function') {\n\t\t\tif (ns) node.setAttributeNS('http://www.w3.org/1999/xlink', name.toLowerCase(), value);else node.setAttribute(name, value);\n\t\t}\n\t}\n}\n\nfunction eventProxy(e) {\n\treturn this._listeners[e.type](options.event && options.event(e) || e);\n}\n\nvar mounts = [];\n\nvar diffLevel = 0;\n\nvar isSvgMode = false;\n\nvar hydrating = false;\n\nfunction flushMounts() {\n\tvar c;\n\twhile (c = mounts.pop()) {\n\t\tif (options.afterMount) options.afterMount(c);\n\t\tif (c.componentDidMount) c.componentDidMount();\n\t}\n}\n\nfunction diff(dom, vnode, context, mountAll, parent, componentRoot) {\n\tif (!diffLevel++) {\n\t\tisSvgMode = parent != null && parent.ownerSVGElement !== undefined;\n\n\t\thydrating = dom != null && !('__preactattr_' in dom);\n\t}\n\n\tvar ret = idiff(dom, vnode, context, mountAll, componentRoot);\n\n\tif (parent && ret.parentNode !== parent) parent.appendChild(ret);\n\n\tif (! --diffLevel) {\n\t\thydrating = false;\n\n\t\tif (!componentRoot) flushMounts();\n\t}\n\n\treturn ret;\n}\n\nfunction idiff(dom, vnode, context, mountAll, componentRoot) {\n\tvar out = dom,\n\t prevSvgMode = isSvgMode;\n\n\tif (vnode == null || typeof vnode === 'boolean') vnode = '';\n\n\tif (typeof vnode === 'string' || typeof vnode === 'number') {\n\t\tif (dom && dom.splitText !== undefined && dom.parentNode && (!dom._component || componentRoot)) {\n\t\t\tif (dom.nodeValue != vnode) {\n\t\t\t\tdom.nodeValue = vnode;\n\t\t\t}\n\t\t} else {\n\t\t\tout = document.createTextNode(vnode);\n\t\t\tif (dom) {\n\t\t\t\tif (dom.parentNode) dom.parentNode.replaceChild(out, dom);\n\t\t\t\trecollectNodeTree(dom, true);\n\t\t\t}\n\t\t}\n\n\t\tout['__preactattr_'] = true;\n\n\t\treturn out;\n\t}\n\n\tvar vnodeName = vnode.nodeName;\n\tif (typeof vnodeName === 'function') {\n\t\treturn buildComponentFromVNode(dom, vnode, context, mountAll);\n\t}\n\n\tisSvgMode = vnodeName === 'svg' ? true : vnodeName === 'foreignObject' ? false : isSvgMode;\n\n\tvnodeName = String(vnodeName);\n\tif (!dom || !isNamedNode(dom, vnodeName)) {\n\t\tout = createNode(vnodeName, isSvgMode);\n\n\t\tif (dom) {\n\t\t\twhile (dom.firstChild) {\n\t\t\t\tout.appendChild(dom.firstChild);\n\t\t\t}\n\t\t\tif (dom.parentNode) dom.parentNode.replaceChild(out, dom);\n\n\t\t\trecollectNodeTree(dom, true);\n\t\t}\n\t}\n\n\tvar fc = out.firstChild,\n\t props = out['__preactattr_'],\n\t vchildren = vnode.children;\n\n\tif (props == null) {\n\t\tprops = out['__preactattr_'] = {};\n\t\tfor (var a = out.attributes, i = a.length; i--;) {\n\t\t\tprops[a[i].name] = a[i].value;\n\t\t}\n\t}\n\n\tif (!hydrating && vchildren && vchildren.length === 1 && typeof vchildren[0] === 'string' && fc != null && fc.splitText !== undefined && fc.nextSibling == null) {\n\t\tif (fc.nodeValue != vchildren[0]) {\n\t\t\tfc.nodeValue = vchildren[0];\n\t\t}\n\t} else if (vchildren && vchildren.length || fc != null) {\n\t\t\tinnerDiffNode(out, vchildren, context, mountAll, hydrating || props.dangerouslySetInnerHTML != null);\n\t\t}\n\n\tdiffAttributes(out, vnode.attributes, props);\n\n\tisSvgMode = prevSvgMode;\n\n\treturn out;\n}\n\nfunction innerDiffNode(dom, vchildren, context, mountAll, isHydrating) {\n\tvar originalChildren = dom.childNodes,\n\t children = [],\n\t keyed = {},\n\t keyedLen = 0,\n\t min = 0,\n\t len = originalChildren.length,\n\t childrenLen = 0,\n\t vlen = vchildren ? vchildren.length : 0,\n\t j,\n\t c,\n\t f,\n\t vchild,\n\t child;\n\n\tif (len !== 0) {\n\t\tfor (var i = 0; i < len; i++) {\n\t\t\tvar _child = originalChildren[i],\n\t\t\t props = _child['__preactattr_'],\n\t\t\t key = vlen && props ? _child._component ? _child._component.__key : props.key : null;\n\t\t\tif (key != null) {\n\t\t\t\tkeyedLen++;\n\t\t\t\tkeyed[key] = _child;\n\t\t\t} else if (props || (_child.splitText !== undefined ? isHydrating ? _child.nodeValue.trim() : true : isHydrating)) {\n\t\t\t\tchildren[childrenLen++] = _child;\n\t\t\t}\n\t\t}\n\t}\n\n\tif (vlen !== 0) {\n\t\tfor (var i = 0; i < vlen; i++) {\n\t\t\tvchild = vchildren[i];\n\t\t\tchild = null;\n\n\t\t\tvar key = vchild.key;\n\t\t\tif (key != null) {\n\t\t\t\tif (keyedLen && keyed[key] !== undefined) {\n\t\t\t\t\tchild = keyed[key];\n\t\t\t\t\tkeyed[key] = undefined;\n\t\t\t\t\tkeyedLen--;\n\t\t\t\t}\n\t\t\t} else if (min < childrenLen) {\n\t\t\t\t\tfor (j = min; j < childrenLen; j++) {\n\t\t\t\t\t\tif (children[j] !== undefined && isSameNodeType(c = children[j], vchild, isHydrating)) {\n\t\t\t\t\t\t\tchild = c;\n\t\t\t\t\t\t\tchildren[j] = undefined;\n\t\t\t\t\t\t\tif (j === childrenLen - 1) childrenLen--;\n\t\t\t\t\t\t\tif (j === min) min++;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\tchild = idiff(child, vchild, context, mountAll);\n\n\t\t\tf = originalChildren[i];\n\t\t\tif (child && child !== dom && child !== f) {\n\t\t\t\tif (f == null) {\n\t\t\t\t\tdom.appendChild(child);\n\t\t\t\t} else if (child === f.nextSibling) {\n\t\t\t\t\tremoveNode(f);\n\t\t\t\t} else {\n\t\t\t\t\tdom.insertBefore(child, f);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tif (keyedLen) {\n\t\tfor (var i in keyed) {\n\t\t\tif (keyed[i] !== undefined) recollectNodeTree(keyed[i], false);\n\t\t}\n\t}\n\n\twhile (min <= childrenLen) {\n\t\tif ((child = children[childrenLen--]) !== undefined) recollectNodeTree(child, false);\n\t}\n}\n\nfunction recollectNodeTree(node, unmountOnly) {\n\tvar component = node._component;\n\tif (component) {\n\t\tunmountComponent(component);\n\t} else {\n\t\tif (node['__preactattr_'] != null && node['__preactattr_'].ref) node['__preactattr_'].ref(null);\n\n\t\tif (unmountOnly === false || node['__preactattr_'] == null) {\n\t\t\tremoveNode(node);\n\t\t}\n\n\t\tremoveChildren(node);\n\t}\n}\n\nfunction removeChildren(node) {\n\tnode = node.lastChild;\n\twhile (node) {\n\t\tvar next = node.previousSibling;\n\t\trecollectNodeTree(node, true);\n\t\tnode = next;\n\t}\n}\n\nfunction diffAttributes(dom, attrs, old) {\n\tvar name;\n\n\tfor (name in old) {\n\t\tif (!(attrs && attrs[name] != null) && old[name] != null) {\n\t\t\tsetAccessor(dom, name, old[name], old[name] = undefined, isSvgMode);\n\t\t}\n\t}\n\n\tfor (name in attrs) {\n\t\tif (name !== 'children' && name !== 'innerHTML' && (!(name in old) || attrs[name] !== (name === 'value' || name === 'checked' ? dom[name] : old[name]))) {\n\t\t\tsetAccessor(dom, name, old[name], old[name] = attrs[name], isSvgMode);\n\t\t}\n\t}\n}\n\nvar recyclerComponents = [];\n\nfunction createComponent(Ctor, props, context) {\n\tvar inst,\n\t i = recyclerComponents.length;\n\n\tif (Ctor.prototype && Ctor.prototype.render) {\n\t\tinst = new Ctor(props, context);\n\t\tComponent.call(inst, props, context);\n\t} else {\n\t\tinst = new Component(props, context);\n\t\tinst.constructor = Ctor;\n\t\tinst.render = doRender;\n\t}\n\n\twhile (i--) {\n\t\tif (recyclerComponents[i].constructor === Ctor) {\n\t\t\tinst.nextBase = recyclerComponents[i].nextBase;\n\t\t\trecyclerComponents.splice(i, 1);\n\t\t\treturn inst;\n\t\t}\n\t}\n\n\treturn inst;\n}\n\nfunction doRender(props, state, context) {\n\treturn this.constructor(props, context);\n}\n\nfunction setComponentProps(component, props, renderMode, context, mountAll) {\n\tif (component._disable) return;\n\tcomponent._disable = true;\n\n\tcomponent.__ref = props.ref;\n\tcomponent.__key = props.key;\n\tdelete props.ref;\n\tdelete props.key;\n\n\tif (typeof component.constructor.getDerivedStateFromProps === 'undefined') {\n\t\tif (!component.base || mountAll) {\n\t\t\tif (component.componentWillMount) component.componentWillMount();\n\t\t} else if (component.componentWillReceiveProps) {\n\t\t\tcomponent.componentWillReceiveProps(props, context);\n\t\t}\n\t}\n\n\tif (context && context !== component.context) {\n\t\tif (!component.prevContext) component.prevContext = component.context;\n\t\tcomponent.context = context;\n\t}\n\n\tif (!component.prevProps) component.prevProps = component.props;\n\tcomponent.props = props;\n\n\tcomponent._disable = false;\n\n\tif (renderMode !== 0) {\n\t\tif (renderMode === 1 || options.syncComponentUpdates !== false || !component.base) {\n\t\t\trenderComponent(component, 1, mountAll);\n\t\t} else {\n\t\t\tenqueueRender(component);\n\t\t}\n\t}\n\n\tif (component.__ref) component.__ref(component);\n}\n\nfunction renderComponent(component, renderMode, mountAll, isChild) {\n\tif (component._disable) return;\n\n\tvar props = component.props,\n\t state = component.state,\n\t context = component.context,\n\t previousProps = component.prevProps || props,\n\t previousState = component.prevState || state,\n\t previousContext = component.prevContext || context,\n\t isUpdate = component.base,\n\t nextBase = component.nextBase,\n\t initialBase = isUpdate || nextBase,\n\t initialChildComponent = component._component,\n\t skip = false,\n\t snapshot = previousContext,\n\t rendered,\n\t inst,\n\t cbase;\n\n\tif (component.constructor.getDerivedStateFromProps) {\n\t\tstate = extend(extend({}, state), component.constructor.getDerivedStateFromProps(props, state));\n\t\tcomponent.state = state;\n\t}\n\n\tif (isUpdate) {\n\t\tcomponent.props = previousProps;\n\t\tcomponent.state = previousState;\n\t\tcomponent.context = previousContext;\n\t\tif (renderMode !== 2 && component.shouldComponentUpdate && component.shouldComponentUpdate(props, state, context) === false) {\n\t\t\tskip = true;\n\t\t} else if (component.componentWillUpdate) {\n\t\t\tcomponent.componentWillUpdate(props, state, context);\n\t\t}\n\t\tcomponent.props = props;\n\t\tcomponent.state = state;\n\t\tcomponent.context = context;\n\t}\n\n\tcomponent.prevProps = component.prevState = component.prevContext = component.nextBase = null;\n\tcomponent._dirty = false;\n\n\tif (!skip) {\n\t\trendered = component.render(props, state, context);\n\n\t\tif (component.getChildContext) {\n\t\t\tcontext = extend(extend({}, context), component.getChildContext());\n\t\t}\n\n\t\tif (isUpdate && component.getSnapshotBeforeUpdate) {\n\t\t\tsnapshot = component.getSnapshotBeforeUpdate(previousProps, previousState);\n\t\t}\n\n\t\tvar childComponent = rendered && rendered.nodeName,\n\t\t toUnmount,\n\t\t base;\n\n\t\tif (typeof childComponent === 'function') {\n\n\t\t\tvar childProps = getNodeProps(rendered);\n\t\t\tinst = initialChildComponent;\n\n\t\t\tif (inst && inst.constructor === childComponent && childProps.key == inst.__key) {\n\t\t\t\tsetComponentProps(inst, childProps, 1, context, false);\n\t\t\t} else {\n\t\t\t\ttoUnmount = inst;\n\n\t\t\t\tcomponent._component = inst = createComponent(childComponent, childProps, context);\n\t\t\t\tinst.nextBase = inst.nextBase || nextBase;\n\t\t\t\tinst._parentComponent = component;\n\t\t\t\tsetComponentProps(inst, childProps, 0, context, false);\n\t\t\t\trenderComponent(inst, 1, mountAll, true);\n\t\t\t}\n\n\t\t\tbase = inst.base;\n\t\t} else {\n\t\t\tcbase = initialBase;\n\n\t\t\ttoUnmount = initialChildComponent;\n\t\t\tif (toUnmount) {\n\t\t\t\tcbase = component._component = null;\n\t\t\t}\n\n\t\t\tif (initialBase || renderMode === 1) {\n\t\t\t\tif (cbase) cbase._component = null;\n\t\t\t\tbase = diff(cbase, rendered, context, mountAll || !isUpdate, initialBase && initialBase.parentNode, true);\n\t\t\t}\n\t\t}\n\n\t\tif (initialBase && base !== initialBase && inst !== initialChildComponent) {\n\t\t\tvar baseParent = initialBase.parentNode;\n\t\t\tif (baseParent && base !== baseParent) {\n\t\t\t\tbaseParent.replaceChild(base, initialBase);\n\n\t\t\t\tif (!toUnmount) {\n\t\t\t\t\tinitialBase._component = null;\n\t\t\t\t\trecollectNodeTree(initialBase, false);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (toUnmount) {\n\t\t\tunmountComponent(toUnmount);\n\t\t}\n\n\t\tcomponent.base = base;\n\t\tif (base && !isChild) {\n\t\t\tvar componentRef = component,\n\t\t\t t = component;\n\t\t\twhile (t = t._parentComponent) {\n\t\t\t\t(componentRef = t).base = base;\n\t\t\t}\n\t\t\tbase._component = componentRef;\n\t\t\tbase._componentConstructor = componentRef.constructor;\n\t\t}\n\t}\n\n\tif (!isUpdate || mountAll) {\n\t\tmounts.unshift(component);\n\t} else if (!skip) {\n\n\t\tif (component.componentDidUpdate) {\n\t\t\tcomponent.componentDidUpdate(previousProps, previousState, snapshot);\n\t\t}\n\t\tif (options.afterUpdate) options.afterUpdate(component);\n\t}\n\n\twhile (component._renderCallbacks.length) {\n\t\tcomponent._renderCallbacks.pop().call(component);\n\t}if (!diffLevel && !isChild) flushMounts();\n}\n\nfunction buildComponentFromVNode(dom, vnode, context, mountAll) {\n\tvar c = dom && dom._component,\n\t originalComponent = c,\n\t oldDom = dom,\n\t isDirectOwner = c && dom._componentConstructor === vnode.nodeName,\n\t isOwner = isDirectOwner,\n\t props = getNodeProps(vnode);\n\twhile (c && !isOwner && (c = c._parentComponent)) {\n\t\tisOwner = c.constructor === vnode.nodeName;\n\t}\n\n\tif (c && isOwner && (!mountAll || c._component)) {\n\t\tsetComponentProps(c, props, 3, context, mountAll);\n\t\tdom = c.base;\n\t} else {\n\t\tif (originalComponent && !isDirectOwner) {\n\t\t\tunmountComponent(originalComponent);\n\t\t\tdom = oldDom = null;\n\t\t}\n\n\t\tc = createComponent(vnode.nodeName, props, context);\n\t\tif (dom && !c.nextBase) {\n\t\t\tc.nextBase = dom;\n\n\t\t\toldDom = null;\n\t\t}\n\t\tsetComponentProps(c, props, 1, context, mountAll);\n\t\tdom = c.base;\n\n\t\tif (oldDom && dom !== oldDom) {\n\t\t\toldDom._component = null;\n\t\t\trecollectNodeTree(oldDom, false);\n\t\t}\n\t}\n\n\treturn dom;\n}\n\nfunction unmountComponent(component) {\n\tif (options.beforeUnmount) options.beforeUnmount(component);\n\n\tvar base = component.base;\n\n\tcomponent._disable = true;\n\n\tif (component.componentWillUnmount) component.componentWillUnmount();\n\n\tcomponent.base = null;\n\n\tvar inner = component._component;\n\tif (inner) {\n\t\tunmountComponent(inner);\n\t} else if (base) {\n\t\tif (base['__preactattr_'] && base['__preactattr_'].ref) base['__preactattr_'].ref(null);\n\n\t\tcomponent.nextBase = base;\n\n\t\tremoveNode(base);\n\t\trecyclerComponents.push(component);\n\n\t\tremoveChildren(base);\n\t}\n\n\tif (component.__ref) component.__ref(null);\n}\n\nfunction Component(props, context) {\n\tthis._dirty = true;\n\n\tthis.context = context;\n\n\tthis.props = props;\n\n\tthis.state = this.state || {};\n\n\tthis._renderCallbacks = [];\n}\n\nextend(Component.prototype, {\n\tsetState: function setState(state, callback) {\n\t\tif (!this.prevState) this.prevState = this.state;\n\t\tthis.state = extend(extend({}, this.state), typeof state === 'function' ? state(this.state, this.props) : state);\n\t\tif (callback) this._renderCallbacks.push(callback);\n\t\tenqueueRender(this);\n\t},\n\tforceUpdate: function forceUpdate(callback) {\n\t\tif (callback) this._renderCallbacks.push(callback);\n\t\trenderComponent(this, 2);\n\t},\n\trender: function render() {}\n});\n\nfunction render(vnode, parent, merge) {\n return diff(merge, vnode, {}, false, parent, false);\n}\n\nvar preact = {\n\th: h,\n\tcreateElement: h,\n\tcloneElement: cloneElement,\n\tComponent: Component,\n\trender: render,\n\trerender: rerender,\n\toptions: options\n};\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (preact);\n\n//# sourceMappingURL=preact.mjs.map\n\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(global) {\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\n/** MobX - (c) Michel Weststrate 2015, 2016 - MIT Licensed */\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\n/* global Reflect, Promise */\n\nvar extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function (d, b) {\n d.__proto__ = b;\n} || function (d, b) {\n for (var p in b) {\n if (b.hasOwnProperty(p)) d[p] = b[p];\n }\n};\n\nfunction __extends(d, b) {\n extendStatics(d, b);\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\n/**\n * Anything that can be used to _store_ state is an Atom in mobx. Atoms have two important jobs\n *\n * 1) detect when they are being _used_ and report this (using reportObserved). This allows mobx to make the connection between running functions and the data they used\n * 2) they should notify mobx whenever they have _changed_. This way mobx can re-run any functions (derivations) that are using this atom.\n */\nvar BaseAtom = /** @class */function () {\n /**\n * Create a new atom. For debugging purposes it is recommended to give it a name.\n * The onBecomeObserved and onBecomeUnobserved callbacks can be used for resource management.\n */\n function BaseAtom(name) {\n if (name === void 0) {\n name = \"Atom@\" + getNextId();\n }\n this.name = name;\n this.isPendingUnobservation = true; // for effective unobserving. BaseAtom has true, for extra optimization, so its onBecomeUnobserved never gets called, because it's not needed\n this.observers = [];\n this.observersIndexes = {};\n this.diffValue = 0;\n this.lastAccessedBy = 0;\n this.lowestObserverState = IDerivationState.NOT_TRACKING;\n }\n BaseAtom.prototype.onBecomeUnobserved = function () {\n // noop\n };\n /**\n * Invoke this method to notify mobx that your atom has been used somehow.\n */\n BaseAtom.prototype.reportObserved = function () {\n reportObserved(this);\n };\n /**\n * Invoke this method _after_ this method has changed to signal mobx that all its observers should invalidate.\n */\n BaseAtom.prototype.reportChanged = function () {\n startBatch();\n propagateChanged(this);\n endBatch();\n };\n BaseAtom.prototype.toString = function () {\n return this.name;\n };\n return BaseAtom;\n}();\nvar Atom = /** @class */function (_super) {\n __extends(Atom, _super);\n /**\n * Create a new atom. For debugging purposes it is recommended to give it a name.\n * The onBecomeObserved and onBecomeUnobserved callbacks can be used for resource management.\n */\n function Atom(name, onBecomeObservedHandler, onBecomeUnobservedHandler) {\n if (name === void 0) {\n name = \"Atom@\" + getNextId();\n }\n if (onBecomeObservedHandler === void 0) {\n onBecomeObservedHandler = noop;\n }\n if (onBecomeUnobservedHandler === void 0) {\n onBecomeUnobservedHandler = noop;\n }\n var _this = _super.call(this, name) || this;\n _this.name = name;\n _this.onBecomeObservedHandler = onBecomeObservedHandler;\n _this.onBecomeUnobservedHandler = onBecomeUnobservedHandler;\n _this.isPendingUnobservation = false; // for effective unobserving.\n _this.isBeingTracked = false;\n return _this;\n }\n Atom.prototype.reportObserved = function () {\n startBatch();\n _super.prototype.reportObserved.call(this);\n if (!this.isBeingTracked) {\n this.isBeingTracked = true;\n this.onBecomeObservedHandler();\n }\n endBatch();\n return !!globalState.trackingDerivation;\n // return doesn't really give useful info, because it can be as well calling computed which calls atom (no reactions)\n // also it could not trigger when calculating reaction dependent on Atom because Atom's value was cached by computed called by given reaction.\n };\n Atom.prototype.onBecomeUnobserved = function () {\n this.isBeingTracked = false;\n this.onBecomeUnobservedHandler();\n };\n return Atom;\n}(BaseAtom);\nvar isAtom = createInstanceofPredicate(\"Atom\", BaseAtom);\n\nfunction hasInterceptors(interceptable) {\n return interceptable.interceptors && interceptable.interceptors.length > 0;\n}\nfunction registerInterceptor(interceptable, handler) {\n var interceptors = interceptable.interceptors || (interceptable.interceptors = []);\n interceptors.push(handler);\n return once(function () {\n var idx = interceptors.indexOf(handler);\n if (idx !== -1) interceptors.splice(idx, 1);\n });\n}\nfunction interceptChange(interceptable, change) {\n var prevU = untrackedStart();\n try {\n var interceptors = interceptable.interceptors;\n if (interceptors) for (var i = 0, l = interceptors.length; i < l; i++) {\n change = interceptors[i](change);\n invariant(!change || change.type, \"Intercept handlers should return nothing or a change object\");\n if (!change) break;\n }\n return change;\n } finally {\n untrackedEnd(prevU);\n }\n}\n\nfunction hasListeners(listenable) {\n return listenable.changeListeners && listenable.changeListeners.length > 0;\n}\nfunction registerListener(listenable, handler) {\n var listeners = listenable.changeListeners || (listenable.changeListeners = []);\n listeners.push(handler);\n return once(function () {\n var idx = listeners.indexOf(handler);\n if (idx !== -1) listeners.splice(idx, 1);\n });\n}\nfunction notifyListeners(listenable, change) {\n var prevU = untrackedStart();\n var listeners = listenable.changeListeners;\n if (!listeners) return;\n listeners = listeners.slice();\n for (var i = 0, l = listeners.length; i < l; i++) {\n listeners[i](change);\n }\n untrackedEnd(prevU);\n}\n\nfunction isSpyEnabled() {\n return !!globalState.spyListeners.length;\n}\nfunction spyReport(event) {\n if (!globalState.spyListeners.length) return;\n var listeners = globalState.spyListeners;\n for (var i = 0, l = listeners.length; i < l; i++) {\n listeners[i](event);\n }\n}\nfunction spyReportStart(event) {\n var change = objectAssign({}, event, { spyReportStart: true });\n spyReport(change);\n}\nvar END_EVENT = { spyReportEnd: true };\nfunction spyReportEnd(change) {\n if (change) spyReport(objectAssign({}, change, END_EVENT));else spyReport(END_EVENT);\n}\nfunction spy(listener) {\n globalState.spyListeners.push(listener);\n return once(function () {\n var idx = globalState.spyListeners.indexOf(listener);\n if (idx !== -1) globalState.spyListeners.splice(idx, 1);\n });\n}\n\nfunction iteratorSymbol() {\n return typeof Symbol === \"function\" && Symbol.iterator || \"@@iterator\";\n}\nvar IS_ITERATING_MARKER = \"__$$iterating\";\nfunction arrayAsIterator(array) {\n // returning an array for entries(), values() etc for maps was a mis-interpretation of the specs..,\n // yet it is quite convenient to be able to use the response both as array directly and as iterator\n // it is suboptimal, but alas...\n invariant(array[IS_ITERATING_MARKER] !== true, \"Illegal state: cannot recycle array as iterator\");\n addHiddenFinalProp(array, IS_ITERATING_MARKER, true);\n var idx = -1;\n addHiddenFinalProp(array, \"next\", function next() {\n idx++;\n return {\n done: idx >= this.length,\n value: idx < this.length ? this[idx] : undefined\n };\n });\n return array;\n}\nfunction declareIterator(prototType, iteratorFactory) {\n addHiddenFinalProp(prototType, iteratorSymbol(), iteratorFactory);\n}\n\nvar MAX_SPLICE_SIZE = 10000; // See e.g. https://github.com/mobxjs/mobx/issues/859\n// Detects bug in safari 9.1.1 (or iOS 9 safari mobile). See #364\nvar safariPrototypeSetterInheritanceBug = function () {\n var v = false;\n var p = {};\n Object.defineProperty(p, \"0\", {\n set: function set() {\n v = true;\n }\n });\n Object.create(p)[\"0\"] = 1;\n return v === false;\n}();\n/**\n * This array buffer contains two lists of properties, so that all arrays\n * can recycle their property definitions, which significantly improves performance of creating\n * properties on the fly.\n */\nvar OBSERVABLE_ARRAY_BUFFER_SIZE = 0;\n// Typescript workaround to make sure ObservableArray extends Array\nvar StubArray = /** @class */function () {\n function StubArray() {}\n return StubArray;\n}();\nfunction inherit(ctor, proto) {\n if (typeof Object[\"setPrototypeOf\"] !== \"undefined\") {\n Object[\"setPrototypeOf\"](ctor.prototype, proto);\n } else if (typeof ctor.prototype.__proto__ !== \"undefined\") {\n ctor.prototype.__proto__ = proto;\n } else {\n ctor[\"prototype\"] = proto;\n }\n}\ninherit(StubArray, Array.prototype);\n// Weex freeze Array.prototype\n// Make them writeable and configurable in prototype chain\n// https://github.com/alibaba/weex/pull/1529\nif (Object.isFrozen(Array)) {\n\n [\"constructor\", \"push\", \"shift\", \"concat\", \"pop\", \"unshift\", \"replace\", \"find\", \"findIndex\", \"splice\", \"reverse\", \"sort\"].forEach(function (key) {\n Object.defineProperty(StubArray.prototype, key, {\n configurable: true,\n writable: true,\n value: Array.prototype[key]\n });\n });\n}\nvar ObservableArrayAdministration = /** @class */function () {\n function ObservableArrayAdministration(name, enhancer, array, owned) {\n this.array = array;\n this.owned = owned;\n this.values = [];\n this.lastKnownLength = 0;\n this.interceptors = null;\n this.changeListeners = null;\n this.atom = new BaseAtom(name || \"ObservableArray@\" + getNextId());\n this.enhancer = function (newV, oldV) {\n return enhancer(newV, oldV, name + \"[..]\");\n };\n }\n ObservableArrayAdministration.prototype.dehanceValue = function (value) {\n if (this.dehancer !== undefined) return this.dehancer(value);\n return value;\n };\n ObservableArrayAdministration.prototype.dehanceValues = function (values) {\n if (this.dehancer !== undefined) return values.map(this.dehancer);\n return values;\n };\n ObservableArrayAdministration.prototype.intercept = function (handler) {\n return registerInterceptor(this, handler);\n };\n ObservableArrayAdministration.prototype.observe = function (listener, fireImmediately) {\n if (fireImmediately === void 0) {\n fireImmediately = false;\n }\n if (fireImmediately) {\n listener({\n object: this.array,\n type: \"splice\",\n index: 0,\n added: this.values.slice(),\n addedCount: this.values.length,\n removed: [],\n removedCount: 0\n });\n }\n return registerListener(this, listener);\n };\n ObservableArrayAdministration.prototype.getArrayLength = function () {\n this.atom.reportObserved();\n return this.values.length;\n };\n ObservableArrayAdministration.prototype.setArrayLength = function (newLength) {\n if (typeof newLength !== \"number\" || newLength < 0) throw new Error(\"[mobx.array] Out of range: \" + newLength);\n var currentLength = this.values.length;\n if (newLength === currentLength) return;else if (newLength > currentLength) {\n var newItems = new Array(newLength - currentLength);\n for (var i = 0; i < newLength - currentLength; i++) {\n newItems[i] = undefined;\n } // No Array.fill everywhere...\n this.spliceWithArray(currentLength, 0, newItems);\n } else this.spliceWithArray(newLength, currentLength - newLength);\n };\n // adds / removes the necessary numeric properties to this object\n ObservableArrayAdministration.prototype.updateArrayLength = function (oldLength, delta) {\n if (oldLength !== this.lastKnownLength) throw new Error(\"[mobx] Modification exception: the internal structure of an observable array was changed. Did you use peek() to change it?\");\n this.lastKnownLength += delta;\n if (delta > 0 && oldLength + delta + 1 > OBSERVABLE_ARRAY_BUFFER_SIZE) reserveArrayBuffer(oldLength + delta + 1);\n };\n ObservableArrayAdministration.prototype.spliceWithArray = function (index, deleteCount, newItems) {\n var _this = this;\n checkIfStateModificationsAreAllowed(this.atom);\n var length = this.values.length;\n if (index === undefined) index = 0;else if (index > length) index = length;else if (index < 0) index = Math.max(0, length + index);\n if (arguments.length === 1) deleteCount = length - index;else if (deleteCount === undefined || deleteCount === null) deleteCount = 0;else deleteCount = Math.max(0, Math.min(deleteCount, length - index));\n if (newItems === undefined) newItems = [];\n if (hasInterceptors(this)) {\n var change = interceptChange(this, {\n object: this.array,\n type: \"splice\",\n index: index,\n removedCount: deleteCount,\n added: newItems\n });\n if (!change) return EMPTY_ARRAY;\n deleteCount = change.removedCount;\n newItems = change.added;\n }\n newItems = newItems.map(function (v) {\n return _this.enhancer(v, undefined);\n });\n var lengthDelta = newItems.length - deleteCount;\n this.updateArrayLength(length, lengthDelta); // create or remove new entries\n var res = this.spliceItemsIntoValues(index, deleteCount, newItems);\n if (deleteCount !== 0 || newItems.length !== 0) this.notifyArraySplice(index, newItems, res);\n return this.dehanceValues(res);\n };\n ObservableArrayAdministration.prototype.spliceItemsIntoValues = function (index, deleteCount, newItems) {\n if (newItems.length < MAX_SPLICE_SIZE) {\n return (_a = this.values).splice.apply(_a, [index, deleteCount].concat(newItems));\n } else {\n var res = this.values.slice(index, index + deleteCount);\n this.values = this.values.slice(0, index).concat(newItems, this.values.slice(index + deleteCount));\n return res;\n }\n var _a;\n };\n ObservableArrayAdministration.prototype.notifyArrayChildUpdate = function (index, newValue, oldValue) {\n var notifySpy = !this.owned && isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy ? {\n object: this.array,\n type: \"update\",\n index: index,\n newValue: newValue,\n oldValue: oldValue\n } : null;\n if (notifySpy) spyReportStart(change);\n this.atom.reportChanged();\n if (notify) notifyListeners(this, change);\n if (notifySpy) spyReportEnd();\n };\n ObservableArrayAdministration.prototype.notifyArraySplice = function (index, added, removed) {\n var notifySpy = !this.owned && isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy ? {\n object: this.array,\n type: \"splice\",\n index: index,\n removed: removed,\n added: added,\n removedCount: removed.length,\n addedCount: added.length\n } : null;\n if (notifySpy) spyReportStart(change);\n this.atom.reportChanged();\n // conform: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/observe\n if (notify) notifyListeners(this, change);\n if (notifySpy) spyReportEnd();\n };\n return ObservableArrayAdministration;\n}();\nvar ObservableArray = /** @class */function (_super) {\n __extends(ObservableArray, _super);\n function ObservableArray(initialValues, enhancer, name, owned) {\n if (name === void 0) {\n name = \"ObservableArray@\" + getNextId();\n }\n if (owned === void 0) {\n owned = false;\n }\n var _this = _super.call(this) || this;\n var adm = new ObservableArrayAdministration(name, enhancer, _this, owned);\n addHiddenFinalProp(_this, \"$mobx\", adm);\n if (initialValues && initialValues.length) {\n _this.spliceWithArray(0, 0, initialValues);\n }\n if (safariPrototypeSetterInheritanceBug) {\n // Seems that Safari won't use numeric prototype setter untill any * numeric property is\n // defined on the instance. After that it works fine, even if this property is deleted.\n Object.defineProperty(adm.array, \"0\", ENTRY_0);\n }\n return _this;\n }\n ObservableArray.prototype.intercept = function (handler) {\n return this.$mobx.intercept(handler);\n };\n ObservableArray.prototype.observe = function (listener, fireImmediately) {\n if (fireImmediately === void 0) {\n fireImmediately = false;\n }\n return this.$mobx.observe(listener, fireImmediately);\n };\n ObservableArray.prototype.clear = function () {\n return this.splice(0);\n };\n ObservableArray.prototype.concat = function () {\n var arrays = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n arrays[_i] = arguments[_i];\n }\n this.$mobx.atom.reportObserved();\n return Array.prototype.concat.apply(this.peek(), arrays.map(function (a) {\n return isObservableArray(a) ? a.peek() : a;\n }));\n };\n ObservableArray.prototype.replace = function (newItems) {\n return this.$mobx.spliceWithArray(0, this.$mobx.values.length, newItems);\n };\n /**\n * Converts this array back to a (shallow) javascript structure.\n * For a deep clone use mobx.toJS\n */\n ObservableArray.prototype.toJS = function () {\n return this.slice();\n };\n ObservableArray.prototype.toJSON = function () {\n // Used by JSON.stringify\n return this.toJS();\n };\n ObservableArray.prototype.peek = function () {\n this.$mobx.atom.reportObserved();\n return this.$mobx.dehanceValues(this.$mobx.values);\n };\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n ObservableArray.prototype.find = function (predicate, thisArg, fromIndex) {\n if (fromIndex === void 0) {\n fromIndex = 0;\n }\n var idx = this.findIndex.apply(this, arguments);\n return idx === -1 ? undefined : this.get(idx);\n };\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex\n ObservableArray.prototype.findIndex = function (predicate, thisArg, fromIndex) {\n if (fromIndex === void 0) {\n fromIndex = 0;\n }\n var items = this.peek(),\n l = items.length;\n for (var i = fromIndex; i < l; i++) {\n if (predicate.call(thisArg, items[i], i, this)) return i;\n }return -1;\n };\n /*\n * functions that do alter the internal structure of the array, (based on lib.es6.d.ts)\n * since these functions alter the inner structure of the array, the have side effects.\n * Because the have side effects, they should not be used in computed function,\n * and for that reason the do not call dependencyState.notifyObserved\n */\n ObservableArray.prototype.splice = function (index, deleteCount) {\n var newItems = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n newItems[_i - 2] = arguments[_i];\n }\n switch (arguments.length) {\n case 0:\n return [];\n case 1:\n return this.$mobx.spliceWithArray(index);\n case 2:\n return this.$mobx.spliceWithArray(index, deleteCount);\n }\n return this.$mobx.spliceWithArray(index, deleteCount, newItems);\n };\n ObservableArray.prototype.spliceWithArray = function (index, deleteCount, newItems) {\n return this.$mobx.spliceWithArray(index, deleteCount, newItems);\n };\n ObservableArray.prototype.push = function () {\n var items = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n items[_i] = arguments[_i];\n }\n var adm = this.$mobx;\n adm.spliceWithArray(adm.values.length, 0, items);\n return adm.values.length;\n };\n ObservableArray.prototype.pop = function () {\n return this.splice(Math.max(this.$mobx.values.length - 1, 0), 1)[0];\n };\n ObservableArray.prototype.shift = function () {\n return this.splice(0, 1)[0];\n };\n ObservableArray.prototype.unshift = function () {\n var items = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n items[_i] = arguments[_i];\n }\n var adm = this.$mobx;\n adm.spliceWithArray(0, 0, items);\n return adm.values.length;\n };\n ObservableArray.prototype.reverse = function () {\n // reverse by default mutates in place before returning the result\n // which makes it both a 'derivation' and a 'mutation'.\n // so we deviate from the default and just make it an dervitation\n var clone = this.slice();\n return clone.reverse.apply(clone, arguments);\n };\n ObservableArray.prototype.sort = function (compareFn) {\n // sort by default mutates in place before returning the result\n // which goes against all good practices. Let's not change the array in place!\n var clone = this.slice();\n return clone.sort.apply(clone, arguments);\n };\n ObservableArray.prototype.remove = function (value) {\n var idx = this.$mobx.dehanceValues(this.$mobx.values).indexOf(value);\n if (idx > -1) {\n this.splice(idx, 1);\n return true;\n }\n return false;\n };\n ObservableArray.prototype.move = function (fromIndex, toIndex) {\n function checkIndex(index) {\n if (index < 0) {\n throw new Error(\"[mobx.array] Index out of bounds: \" + index + \" is negative\");\n }\n var length = this.$mobx.values.length;\n if (index >= length) {\n throw new Error(\"[mobx.array] Index out of bounds: \" + index + \" is not smaller than \" + length);\n }\n }\n checkIndex.call(this, fromIndex);\n checkIndex.call(this, toIndex);\n if (fromIndex === toIndex) {\n return;\n }\n var oldItems = this.$mobx.values;\n var newItems;\n if (fromIndex < toIndex) {\n newItems = oldItems.slice(0, fromIndex).concat(oldItems.slice(fromIndex + 1, toIndex + 1), [oldItems[fromIndex]], oldItems.slice(toIndex + 1));\n } else {\n // toIndex < fromIndex\n newItems = oldItems.slice(0, toIndex).concat([oldItems[fromIndex]], oldItems.slice(toIndex, fromIndex), oldItems.slice(fromIndex + 1));\n }\n this.replace(newItems);\n };\n // See #734, in case property accessors are unreliable...\n ObservableArray.prototype.get = function (index) {\n var impl = this.$mobx;\n if (impl) {\n if (index < impl.values.length) {\n impl.atom.reportObserved();\n return impl.dehanceValue(impl.values[index]);\n }\n console.warn(\"[mobx.array] Attempt to read an array index (\" + index + \") that is out of bounds (\" + impl.values.length + \"). Please check length first. Out of bound indices will not be tracked by MobX\");\n }\n return undefined;\n };\n // See #734, in case property accessors are unreliable...\n ObservableArray.prototype.set = function (index, newValue) {\n var adm = this.$mobx;\n var values = adm.values;\n if (index < values.length) {\n // update at index in range\n checkIfStateModificationsAreAllowed(adm.atom);\n var oldValue = values[index];\n if (hasInterceptors(adm)) {\n var change = interceptChange(adm, {\n type: \"update\",\n object: this,\n index: index,\n newValue: newValue\n });\n if (!change) return;\n newValue = change.newValue;\n }\n newValue = adm.enhancer(newValue, oldValue);\n var changed = newValue !== oldValue;\n if (changed) {\n values[index] = newValue;\n adm.notifyArrayChildUpdate(index, newValue, oldValue);\n }\n } else if (index === values.length) {\n // add a new item\n adm.spliceWithArray(index, 0, [newValue]);\n } else {\n // out of bounds\n throw new Error(\"[mobx.array] Index out of bounds, \" + index + \" is larger than \" + values.length);\n }\n };\n return ObservableArray;\n}(StubArray);\ndeclareIterator(ObservableArray.prototype, function () {\n return arrayAsIterator(this.slice());\n});\nObject.defineProperty(ObservableArray.prototype, \"length\", {\n enumerable: false,\n configurable: true,\n get: function get() {\n return this.$mobx.getArrayLength();\n },\n set: function set(newLength) {\n this.$mobx.setArrayLength(newLength);\n }\n});\n[\"every\", \"filter\", \"forEach\", \"indexOf\", \"join\", \"lastIndexOf\", \"map\", \"reduce\", \"reduceRight\", \"slice\", \"some\", \"toString\", \"toLocaleString\"].forEach(function (funcName) {\n var baseFunc = Array.prototype[funcName];\n invariant(typeof baseFunc === \"function\", \"Base function not defined on Array prototype: '\" + funcName + \"'\");\n addHiddenProp(ObservableArray.prototype, funcName, function () {\n return baseFunc.apply(this.peek(), arguments);\n });\n});\n/**\n * We don't want those to show up in `for (const key in ar)` ...\n */\nmakeNonEnumerable(ObservableArray.prototype, [\"constructor\", \"intercept\", \"observe\", \"clear\", \"concat\", \"get\", \"replace\", \"toJS\", \"toJSON\", \"peek\", \"find\", \"findIndex\", \"splice\", \"spliceWithArray\", \"push\", \"pop\", \"set\", \"shift\", \"unshift\", \"reverse\", \"sort\", \"remove\", \"move\", \"toString\", \"toLocaleString\"]);\n// See #364\nvar ENTRY_0 = createArrayEntryDescriptor(0);\nfunction createArrayEntryDescriptor(index) {\n return {\n enumerable: false,\n configurable: false,\n get: function get() {\n // TODO: Check `this`?, see #752?\n return this.get(index);\n },\n set: function set(value) {\n this.set(index, value);\n }\n };\n}\nfunction createArrayBufferItem(index) {\n Object.defineProperty(ObservableArray.prototype, \"\" + index, createArrayEntryDescriptor(index));\n}\nfunction reserveArrayBuffer(max) {\n for (var index = OBSERVABLE_ARRAY_BUFFER_SIZE; index < max; index++) {\n createArrayBufferItem(index);\n }OBSERVABLE_ARRAY_BUFFER_SIZE = max;\n}\nreserveArrayBuffer(1000);\nvar isObservableArrayAdministration = createInstanceofPredicate(\"ObservableArrayAdministration\", ObservableArrayAdministration);\nfunction isObservableArray(thing) {\n return isObject(thing) && isObservableArrayAdministration(thing.$mobx);\n}\n\nvar UNCHANGED = {};\nvar ObservableValue = /** @class */function (_super) {\n __extends(ObservableValue, _super);\n function ObservableValue(value, enhancer, name, notifySpy) {\n if (name === void 0) {\n name = \"ObservableValue@\" + getNextId();\n }\n if (notifySpy === void 0) {\n notifySpy = true;\n }\n var _this = _super.call(this, name) || this;\n _this.enhancer = enhancer;\n _this.hasUnreportedChange = false;\n _this.dehancer = undefined;\n _this.value = enhancer(value, undefined, name);\n if (notifySpy && isSpyEnabled()) {\n // only notify spy if this is a stand-alone observable\n spyReport({ type: \"create\", object: _this, newValue: _this.value });\n }\n return _this;\n }\n ObservableValue.prototype.dehanceValue = function (value) {\n if (this.dehancer !== undefined) return this.dehancer(value);\n return value;\n };\n ObservableValue.prototype.set = function (newValue) {\n var oldValue = this.value;\n newValue = this.prepareNewValue(newValue);\n if (newValue !== UNCHANGED) {\n var notifySpy = isSpyEnabled();\n if (notifySpy) {\n spyReportStart({\n type: \"update\",\n object: this,\n newValue: newValue,\n oldValue: oldValue\n });\n }\n this.setNewValue(newValue);\n if (notifySpy) spyReportEnd();\n }\n };\n ObservableValue.prototype.prepareNewValue = function (newValue) {\n checkIfStateModificationsAreAllowed(this);\n if (hasInterceptors(this)) {\n var change = interceptChange(this, {\n object: this,\n type: \"update\",\n newValue: newValue\n });\n if (!change) return UNCHANGED;\n newValue = change.newValue;\n }\n // apply modifier\n newValue = this.enhancer(newValue, this.value, this.name);\n return this.value !== newValue ? newValue : UNCHANGED;\n };\n ObservableValue.prototype.setNewValue = function (newValue) {\n var oldValue = this.value;\n this.value = newValue;\n this.reportChanged();\n if (hasListeners(this)) {\n notifyListeners(this, {\n type: \"update\",\n object: this,\n newValue: newValue,\n oldValue: oldValue\n });\n }\n };\n ObservableValue.prototype.get = function () {\n this.reportObserved();\n return this.dehanceValue(this.value);\n };\n ObservableValue.prototype.intercept = function (handler) {\n return registerInterceptor(this, handler);\n };\n ObservableValue.prototype.observe = function (listener, fireImmediately) {\n if (fireImmediately) listener({\n object: this,\n type: \"update\",\n newValue: this.value,\n oldValue: undefined\n });\n return registerListener(this, listener);\n };\n ObservableValue.prototype.toJSON = function () {\n return this.get();\n };\n ObservableValue.prototype.toString = function () {\n return this.name + \"[\" + this.value + \"]\";\n };\n ObservableValue.prototype.valueOf = function () {\n return toPrimitive(this.get());\n };\n return ObservableValue;\n}(BaseAtom);\nObservableValue.prototype[primitiveSymbol()] = ObservableValue.prototype.valueOf;\nvar isObservableValue = createInstanceofPredicate(\"ObservableValue\", ObservableValue);\n\nvar messages = {\n m001: \"It is not allowed to assign new values to @action fields\",\n m002: \"`runInAction` expects a function\",\n m003: \"`runInAction` expects a function without arguments\",\n m004: \"autorun expects a function\",\n m005: \"Warning: attempted to pass an action to autorun. Actions are untracked and will not trigger on state changes. Use `reaction` or wrap only your state modification code in an action.\",\n m006: \"Warning: attempted to pass an action to autorunAsync. Actions are untracked and will not trigger on state changes. Use `reaction` or wrap only your state modification code in an action.\",\n m007: \"reaction only accepts 2 or 3 arguments. If migrating from MobX 2, please provide an options object\",\n m008: \"wrapping reaction expression in `asReference` is no longer supported, use options object instead\",\n m009: \"@computed can only be used on getter functions, like: '@computed get myProps() { return ...; }'. It looks like it was used on a property.\",\n m010: \"@computed can only be used on getter functions, like: '@computed get myProps() { return ...; }'\",\n m011: \"First argument to `computed` should be an expression. If using computed as decorator, don't pass it arguments\",\n m012: \"computed takes one or two arguments if used as function\",\n m013: \"[mobx.expr] 'expr' should only be used inside other reactive functions.\",\n m014: \"extendObservable expected 2 or more arguments\",\n m015: \"extendObservable expects an object as first argument\",\n m016: \"extendObservable should not be used on maps, use map.merge instead\",\n m017: \"all arguments of extendObservable should be objects\",\n m018: \"extending an object with another observable (object) is not supported. Please construct an explicit propertymap, using `toJS` if need. See issue #540\",\n m019: \"[mobx.isObservable] isObservable(object, propertyName) is not supported for arrays and maps. Use map.has or array.length instead.\",\n m020: \"modifiers can only be used for individual object properties\",\n m021: \"observable expects zero or one arguments\",\n m022: \"@observable can not be used on getters, use @computed instead\",\n m024: \"whyRun() can only be used if a derivation is active, or by passing an computed value / reaction explicitly. If you invoked whyRun from inside a computation; the computation is currently suspended but re-evaluating because somebody requested its value.\",\n m025: \"whyRun can only be used on reactions and computed values\",\n m026: \"`action` can only be invoked on functions\",\n m028: \"It is not allowed to set `useStrict` when a derivation is running\",\n m029: \"INTERNAL ERROR only onBecomeUnobserved shouldn't be called twice in a row\",\n m030a: \"Since strict-mode is enabled, changing observed observable values outside actions is not allowed. Please wrap the code in an `action` if this change is intended. Tried to modify: \",\n m030b: \"Side effects like changing state are not allowed at this point. Are you trying to modify state from, for example, the render function of a React component? Tried to modify: \",\n m031: \"Computed values are not allowed to cause side effects by changing observables that are already being observed. Tried to modify: \",\n m032: \"* This computation is suspended (not in use by any reaction) and won't run automatically.\\n\tDidn't expect this computation to be suspended at this point?\\n\t 1. Make sure this computation is used by a reaction (reaction, autorun, observer).\\n\t 2. Check whether you are using this computation synchronously (in the same stack as they reaction that needs it).\",\n m033: \"`observe` doesn't support the fire immediately property for observable maps.\",\n m034: \"`mobx.map` is deprecated, use `new ObservableMap` or `mobx.observable.map` instead\",\n m035: \"Cannot make the designated object observable; it is not extensible\",\n m036: \"It is not possible to get index atoms from arrays\",\n m037: \"Hi there! I'm sorry you have just run into an exception.\\nIf your debugger ends up here, know that some reaction (like the render() of an observer component, autorun or reaction)\\nthrew an exception and that mobx caught it, to avoid that it brings the rest of your application down.\\nThe original cause of the exception (the code that caused this reaction to run (again)), is still in the stack.\\n\\nHowever, more interesting is the actual stack trace of the error itself.\\nHopefully the error is an instanceof Error, because in that case you can inspect the original stack of the error from where it was thrown.\\nSee `error.stack` property, or press the very subtle \\\"(...)\\\" link you see near the console.error message that probably brought you here.\\nThat stack is more interesting than the stack of this console.error itself.\\n\\nIf the exception you see is an exception you created yourself, make sure to use `throw new Error(\\\"Oops\\\")` instead of `throw \\\"Oops\\\"`,\\nbecause the javascript environment will only preserve the original stack trace in the first form.\\n\\nYou can also make sure the debugger pauses the next time this very same exception is thrown by enabling \\\"Pause on caught exception\\\".\\n(Note that it might pause on many other, unrelated exception as well).\\n\\nIf that all doesn't help you out, feel free to open an issue https://github.com/mobxjs/mobx/issues!\\n\",\n m038: \"Missing items in this list?\\n 1. Check whether all used values are properly marked as observable (use isObservable to verify)\\n 2. Make sure you didn't dereference values too early. MobX observes props, not primitives. E.g: use 'person.name' instead of 'name' in your computation.\\n\"\n};\nfunction getMessage(id) {\n return messages[id];\n}\n\nfunction createAction(actionName, fn) {\n invariant(typeof fn === \"function\", getMessage(\"m026\"));\n invariant(typeof actionName === \"string\" && actionName.length > 0, \"actions should have valid names, got: '\" + actionName + \"'\");\n var res = function res() {\n return executeAction(actionName, fn, this, arguments);\n };\n res.originalFn = fn;\n res.isMobxAction = true;\n return res;\n}\nfunction executeAction(actionName, fn, scope, args) {\n var runInfo = startAction(actionName, fn, scope, args);\n try {\n return fn.apply(scope, args);\n } finally {\n endAction(runInfo);\n }\n}\nfunction startAction(actionName, fn, scope, args) {\n var notifySpy = isSpyEnabled() && !!actionName;\n var startTime = 0;\n if (notifySpy) {\n startTime = Date.now();\n var l = args && args.length || 0;\n var flattendArgs = new Array(l);\n if (l > 0) for (var i = 0; i < l; i++) {\n flattendArgs[i] = args[i];\n }spyReportStart({\n type: \"action\",\n name: actionName,\n fn: fn,\n object: scope,\n arguments: flattendArgs\n });\n }\n var prevDerivation = untrackedStart();\n startBatch();\n var prevAllowStateChanges = allowStateChangesStart(true);\n return {\n prevDerivation: prevDerivation,\n prevAllowStateChanges: prevAllowStateChanges,\n notifySpy: notifySpy,\n startTime: startTime\n };\n}\nfunction endAction(runInfo) {\n allowStateChangesEnd(runInfo.prevAllowStateChanges);\n endBatch();\n untrackedEnd(runInfo.prevDerivation);\n if (runInfo.notifySpy) spyReportEnd({ time: Date.now() - runInfo.startTime });\n}\nfunction useStrict(strict) {\n invariant(globalState.trackingDerivation === null, getMessage(\"m028\"));\n globalState.strictMode = strict;\n globalState.allowStateChanges = !strict;\n}\nfunction isStrictModeEnabled() {\n return globalState.strictMode;\n}\nfunction allowStateChanges(allowStateChanges, func) {\n // TODO: deprecate / refactor this function in next major\n // Currently only used by `@observer`\n // Proposed change: remove first param, rename to `forbidStateChanges`,\n // require error callback instead of the hardcoded error message now used\n // Use `inAction` instead of allowStateChanges in derivation.ts to check strictMode\n var prev = allowStateChangesStart(allowStateChanges);\n var res;\n try {\n res = func();\n } finally {\n allowStateChangesEnd(prev);\n }\n return res;\n}\nfunction allowStateChangesStart(allowStateChanges) {\n var prev = globalState.allowStateChanges;\n globalState.allowStateChanges = allowStateChanges;\n return prev;\n}\nfunction allowStateChangesEnd(prev) {\n globalState.allowStateChanges = prev;\n}\n\n/**\n * Constructs a decorator, that normalizes the differences between\n * TypeScript and Babel. Mainly caused by the fact that legacy-decorator cannot assign\n * values during instance creation to properties that have a getter setter.\n *\n * - Sigh -\n *\n * Also takes care of the difference between @decorator field and @decorator(args) field, and different forms of values.\n * For performance (cpu and mem) reasons the properties are always defined on the prototype (at least initially).\n * This means that these properties despite being enumerable might not show up in Object.keys() (but they will show up in for...in loops).\n */\nfunction createClassPropertyDecorator(\n/**\n * This function is invoked once, when the property is added to a new instance.\n * When this happens is not strictly determined due to differences in TS and Babel:\n * Typescript: Usually when constructing the new instance\n * Babel, sometimes Typescript: during the first get / set\n * Both: when calling `runLazyInitializers(instance)`\n */\nonInitialize, _get, _set, enumerable,\n/**\n * Can this decorator invoked with arguments? e.g. @decorator(args)\n */\nallowCustomArguments) {\n function classPropertyDecorator(target, key, descriptor, customArgs, argLen) {\n if (argLen === void 0) {\n argLen = 0;\n }\n invariant(allowCustomArguments || quacksLikeADecorator(arguments), \"This function is a decorator, but it wasn't invoked like a decorator\");\n if (!descriptor) {\n // typescript (except for getter / setters)\n var newDescriptor = {\n enumerable: enumerable,\n configurable: true,\n get: function get() {\n if (!this.__mobxInitializedProps || this.__mobxInitializedProps[key] !== true) typescriptInitializeProperty(this, key, undefined, onInitialize, customArgs, descriptor);\n return _get.call(this, key);\n },\n set: function set(v) {\n if (!this.__mobxInitializedProps || this.__mobxInitializedProps[key] !== true) {\n typescriptInitializeProperty(this, key, v, onInitialize, customArgs, descriptor);\n } else {\n _set.call(this, key, v);\n }\n }\n };\n if (arguments.length < 3 || arguments.length === 5 && argLen < 3) {\n // Typescript target is ES3, so it won't define property for us\n // or using Reflect.decorate polyfill, which will return no descriptor\n // (see https://github.com/mobxjs/mobx/issues/333)\n Object.defineProperty(target, key, newDescriptor);\n }\n return newDescriptor;\n } else {\n // babel and typescript getter / setter props\n if (!hasOwnProperty(target, \"__mobxLazyInitializers\")) {\n addHiddenProp(target, \"__mobxLazyInitializers\", target.__mobxLazyInitializers && target.__mobxLazyInitializers.slice() || [] // support inheritance\n );\n }\n var value_1 = descriptor.value,\n initializer_1 = descriptor.initializer;\n target.__mobxLazyInitializers.push(function (instance) {\n onInitialize(instance, key, initializer_1 ? initializer_1.call(instance) : value_1, customArgs, descriptor);\n });\n return {\n enumerable: enumerable,\n configurable: true,\n get: function get() {\n if (this.__mobxDidRunLazyInitializers !== true) runLazyInitializers(this);\n return _get.call(this, key);\n },\n set: function set(v) {\n if (this.__mobxDidRunLazyInitializers !== true) runLazyInitializers(this);\n _set.call(this, key, v);\n }\n };\n }\n }\n if (allowCustomArguments) {\n /** If custom arguments are allowed, we should return a function that returns a decorator */\n return function () {\n /** Direct invocation: @decorator bla */\n if (quacksLikeADecorator(arguments)) return classPropertyDecorator.apply(null, arguments);\n /** Indirect invocation: @decorator(args) bla */\n var outerArgs = arguments;\n var argLen = arguments.length;\n return function (target, key, descriptor) {\n return classPropertyDecorator(target, key, descriptor, outerArgs, argLen);\n };\n };\n }\n return classPropertyDecorator;\n}\nfunction typescriptInitializeProperty(instance, key, v, onInitialize, customArgs, baseDescriptor) {\n if (!hasOwnProperty(instance, \"__mobxInitializedProps\")) addHiddenProp(instance, \"__mobxInitializedProps\", {});\n instance.__mobxInitializedProps[key] = true;\n onInitialize(instance, key, v, customArgs, baseDescriptor);\n}\nfunction runLazyInitializers(instance) {\n if (instance.__mobxDidRunLazyInitializers === true) return;\n if (instance.__mobxLazyInitializers) {\n addHiddenProp(instance, \"__mobxDidRunLazyInitializers\", true);\n instance.__mobxDidRunLazyInitializers && instance.__mobxLazyInitializers.forEach(function (initializer) {\n return initializer(instance);\n });\n }\n}\nfunction quacksLikeADecorator(args) {\n return (args.length === 2 || args.length === 3) && typeof args[1] === \"string\";\n}\n\nvar actionFieldDecorator = createClassPropertyDecorator(function (target, key, value, args, originalDescriptor) {\n var actionName = args && args.length === 1 ? args[0] : value.name || key || \"\";\n var wrappedAction = action(actionName, value);\n addHiddenProp(target, key, wrappedAction);\n}, function (key) {\n return this[key];\n}, function () {\n invariant(false, getMessage(\"m001\"));\n}, false, true);\nvar boundActionDecorator = createClassPropertyDecorator(function (target, key, value) {\n defineBoundAction(target, key, value);\n}, function (key) {\n return this[key];\n}, function () {\n invariant(false, getMessage(\"m001\"));\n}, false, false);\nvar action = function action(arg1, arg2, arg3, arg4) {\n if (arguments.length === 1 && typeof arg1 === \"function\") return createAction(arg1.name || \"\", arg1);\n if (arguments.length === 2 && typeof arg2 === \"function\") return createAction(arg1, arg2);\n if (arguments.length === 1 && typeof arg1 === \"string\") return namedActionDecorator(arg1);\n return namedActionDecorator(arg2).apply(null, arguments);\n};\naction.bound = function boundAction(arg1, arg2, arg3) {\n if (typeof arg1 === \"function\") {\n var action_1 = createAction(\"\", arg1);\n action_1.autoBind = true;\n return action_1;\n }\n return boundActionDecorator.apply(null, arguments);\n};\nfunction namedActionDecorator(name) {\n return function (target, prop, descriptor) {\n if (descriptor && typeof descriptor.value === \"function\") {\n // TypeScript @action method() { }. Defined on proto before being decorated\n // Don't use the field decorator if we are just decorating a method\n descriptor.value = createAction(name, descriptor.value);\n descriptor.enumerable = false;\n descriptor.configurable = true;\n return descriptor;\n }\n if (descriptor !== undefined && descriptor.get !== undefined) {\n throw new Error(\"[mobx] action is not expected to be used with getters\");\n }\n // bound instance methods\n return actionFieldDecorator(name).apply(this, arguments);\n };\n}\nfunction runInAction(arg1, arg2, arg3) {\n var actionName = typeof arg1 === \"string\" ? arg1 : arg1.name || \"\";\n var fn = typeof arg1 === \"function\" ? arg1 : arg2;\n var scope = typeof arg1 === \"function\" ? arg2 : arg3;\n invariant(typeof fn === \"function\", getMessage(\"m002\"));\n invariant(fn.length === 0, getMessage(\"m003\"));\n invariant(typeof actionName === \"string\" && actionName.length > 0, \"actions should have valid names, got: '\" + actionName + \"'\");\n return executeAction(actionName, fn, scope, undefined);\n}\nfunction isAction(thing) {\n return typeof thing === \"function\" && thing.isMobxAction === true;\n}\nfunction defineBoundAction(target, propertyName, fn) {\n var res = function res() {\n return executeAction(propertyName, fn, target, arguments);\n };\n res.isMobxAction = true;\n addHiddenProp(target, propertyName, res);\n}\n\nvar toString = Object.prototype.toString;\nfunction deepEqual(a, b) {\n return eq(a, b);\n}\n// Copied from https://github.com/jashkenas/underscore/blob/5c237a7c682fb68fd5378203f0bf22dce1624854/underscore.js#L1186-L1289\n// Internal recursive comparison function for `isEqual`.\nfunction eq(a, b, aStack, bStack) {\n // Identical objects are equal. `0 === -0`, but they aren't identical.\n // See the [Harmony `egal` proposal](http://wiki.ecmascript.org/doku.php?id=harmony:egal).\n if (a === b) return a !== 0 || 1 / a === 1 / b;\n // `null` or `undefined` only equal to itself (strict comparison).\n if (a == null || b == null) return false;\n // `NaN`s are equivalent, but non-reflexive.\n if (a !== a) return b !== b;\n // Exhaust primitive checks\n var type = typeof a === \"undefined\" ? \"undefined\" : _typeof(a);\n if (type !== \"function\" && type !== \"object\" && (typeof b === \"undefined\" ? \"undefined\" : _typeof(b)) != \"object\") return false;\n return deepEq(a, b, aStack, bStack);\n}\n// Internal recursive comparison function for `isEqual`.\nfunction deepEq(a, b, aStack, bStack) {\n // Unwrap any wrapped objects.\n a = unwrap(a);\n b = unwrap(b);\n // Compare `[[Class]]` names.\n var className = toString.call(a);\n if (className !== toString.call(b)) return false;\n switch (className) {\n // Strings, numbers, regular expressions, dates, and booleans are compared by value.\n case \"[object RegExp]\":\n // RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i')\n case \"[object String]\":\n // Primitives and their corresponding object wrappers are equivalent; thus, `\"5\"` is\n // equivalent to `new String(\"5\")`.\n return \"\" + a === \"\" + b;\n case \"[object Number]\":\n // `NaN`s are equivalent, but non-reflexive.\n // Object(NaN) is equivalent to NaN.\n if (+a !== +a) return +b !== +b;\n // An `egal` comparison is performed for other numeric values.\n return +a === 0 ? 1 / +a === 1 / b : +a === +b;\n case \"[object Date]\":\n case \"[object Boolean]\":\n // Coerce dates and booleans to numeric primitive values. Dates are compared by their\n // millisecond representations. Note that invalid dates with millisecond representations\n // of `NaN` are not equivalent.\n return +a === +b;\n case \"[object Symbol]\":\n return typeof Symbol !== \"undefined\" && Symbol.valueOf.call(a) === Symbol.valueOf.call(b);\n }\n var areArrays = className === \"[object Array]\";\n if (!areArrays) {\n if ((typeof a === \"undefined\" ? \"undefined\" : _typeof(a)) != \"object\" || (typeof b === \"undefined\" ? \"undefined\" : _typeof(b)) != \"object\") return false;\n // Objects with different constructors are not equivalent, but `Object`s or `Array`s\n // from different frames are.\n var aCtor = a.constructor,\n bCtor = b.constructor;\n if (aCtor !== bCtor && !(typeof aCtor === \"function\" && aCtor instanceof aCtor && typeof bCtor === \"function\" && bCtor instanceof bCtor) && \"constructor\" in a && \"constructor\" in b) {\n return false;\n }\n }\n // Assume equality for cyclic structures. The algorithm for detecting cyclic\n // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`.\n // Initializing stack of traversed objects.\n // It's done here since we only need them for objects and arrays comparison.\n aStack = aStack || [];\n bStack = bStack || [];\n var length = aStack.length;\n while (length--) {\n // Linear search. Performance is inversely proportional to the number of\n // unique nested structures.\n if (aStack[length] === a) return bStack[length] === b;\n }\n // Add the first object to the stack of traversed objects.\n aStack.push(a);\n bStack.push(b);\n // Recursively compare objects and arrays.\n if (areArrays) {\n // Compare array lengths to determine if a deep comparison is necessary.\n length = a.length;\n if (length !== b.length) return false;\n // Deep compare the contents, ignoring non-numeric properties.\n while (length--) {\n if (!eq(a[length], b[length], aStack, bStack)) return false;\n }\n } else {\n // Deep compare objects.\n var keys = Object.keys(a),\n key;\n length = keys.length;\n // Ensure that both objects contain the same number of properties before comparing deep equality.\n if (Object.keys(b).length !== length) return false;\n while (length--) {\n // Deep compare each member\n key = keys[length];\n if (!(has(b, key) && eq(a[key], b[key], aStack, bStack))) return false;\n }\n }\n // Remove the first object from the stack of traversed objects.\n aStack.pop();\n bStack.pop();\n return true;\n}\nfunction unwrap(a) {\n if (isObservableArray(a)) return a.peek();\n if (isObservableMap(a)) return a.entries();\n if (isES6Map(a)) return iteratorToArray(a.entries());\n return a;\n}\nfunction has(a, key) {\n return Object.prototype.hasOwnProperty.call(a, key);\n}\n\nfunction identityComparer(a, b) {\n return a === b;\n}\nfunction structuralComparer(a, b) {\n return deepEqual(a, b);\n}\nfunction defaultComparer(a, b) {\n return areBothNaN(a, b) || identityComparer(a, b);\n}\nvar comparer = {\n identity: identityComparer,\n structural: structuralComparer,\n default: defaultComparer\n};\n\nfunction autorun(arg1, arg2, arg3) {\n var name, view, scope;\n if (typeof arg1 === \"string\") {\n name = arg1;\n view = arg2;\n scope = arg3;\n } else {\n name = arg1.name || \"Autorun@\" + getNextId();\n view = arg1;\n scope = arg2;\n }\n invariant(typeof view === \"function\", getMessage(\"m004\"));\n invariant(isAction(view) === false, getMessage(\"m005\"));\n if (scope) view = view.bind(scope);\n var reaction = new Reaction(name, function () {\n this.track(reactionRunner);\n });\n function reactionRunner() {\n view(reaction);\n }\n reaction.schedule();\n return reaction.getDisposer();\n}\nfunction when(arg1, arg2, arg3, arg4) {\n var name, predicate, effect, scope;\n if (typeof arg1 === \"string\") {\n name = arg1;\n predicate = arg2;\n effect = arg3;\n scope = arg4;\n } else {\n name = \"When@\" + getNextId();\n predicate = arg1;\n effect = arg2;\n scope = arg3;\n }\n var disposer = autorun(name, function (r) {\n if (predicate.call(scope)) {\n r.dispose();\n var prevUntracked = untrackedStart();\n effect.call(scope);\n untrackedEnd(prevUntracked);\n }\n });\n return disposer;\n}\nfunction autorunAsync(arg1, arg2, arg3, arg4) {\n var name, func, delay, scope;\n if (typeof arg1 === \"string\") {\n name = arg1;\n func = arg2;\n delay = arg3;\n scope = arg4;\n } else {\n name = arg1.name || \"AutorunAsync@\" + getNextId();\n func = arg1;\n delay = arg2;\n scope = arg3;\n }\n invariant(isAction(func) === false, getMessage(\"m006\"));\n if (delay === void 0) delay = 1;\n if (scope) func = func.bind(scope);\n var isScheduled = false;\n var r = new Reaction(name, function () {\n if (!isScheduled) {\n isScheduled = true;\n setTimeout(function () {\n isScheduled = false;\n if (!r.isDisposed) r.track(reactionRunner);\n }, delay);\n }\n });\n function reactionRunner() {\n func(r);\n }\n r.schedule();\n return r.getDisposer();\n}\nfunction reaction(expression, effect, arg3) {\n if (arguments.length > 3) {\n fail(getMessage(\"m007\"));\n }\n if (isModifierDescriptor(expression)) {\n fail(getMessage(\"m008\"));\n }\n var opts;\n if ((typeof arg3 === \"undefined\" ? \"undefined\" : _typeof(arg3)) === \"object\") {\n opts = arg3;\n } else {\n opts = {};\n }\n opts.name = opts.name || expression.name || effect.name || \"Reaction@\" + getNextId();\n opts.fireImmediately = arg3 === true || opts.fireImmediately === true;\n opts.delay = opts.delay || 0;\n opts.compareStructural = opts.compareStructural || opts.struct || false;\n // TODO: creates ugly spy events, use `effect = (r) => runInAction(opts.name, () => effect(r))` instead\n effect = action(opts.name, opts.context ? effect.bind(opts.context) : effect);\n if (opts.context) {\n expression = expression.bind(opts.context);\n }\n var firstTime = true;\n var isScheduled = false;\n var value;\n var equals = opts.equals ? opts.equals : opts.compareStructural || opts.struct ? comparer.structural : comparer.default;\n var r = new Reaction(opts.name, function () {\n if (firstTime || opts.delay < 1) {\n reactionRunner();\n } else if (!isScheduled) {\n isScheduled = true;\n setTimeout(function () {\n isScheduled = false;\n reactionRunner();\n }, opts.delay);\n }\n });\n function reactionRunner() {\n if (r.isDisposed) return;\n var changed = false;\n r.track(function () {\n var nextValue = expression(r);\n changed = firstTime || !equals(value, nextValue);\n value = nextValue;\n });\n if (firstTime && opts.fireImmediately) effect(value, r);\n if (!firstTime && changed === true) effect(value, r);\n if (firstTime) firstTime = false;\n }\n r.schedule();\n return r.getDisposer();\n}\n\n/**\n * A node in the state dependency root that observes other nodes, and can be observed itself.\n *\n * ComputedValue will remember the result of the computation for the duration of the batch, or\n * while being observed.\n *\n * During this time it will recompute only when one of its direct dependencies changed,\n * but only when it is being accessed with `ComputedValue.get()`.\n *\n * Implementation description:\n * 1. First time it's being accessed it will compute and remember result\n * give back remembered result until 2. happens\n * 2. First time any deep dependency change, propagate POSSIBLY_STALE to all observers, wait for 3.\n * 3. When it's being accessed, recompute if any shallow dependency changed.\n * if result changed: propagate STALE to all observers, that were POSSIBLY_STALE from the last step.\n * go to step 2. either way\n *\n * If at any point it's outside batch and it isn't observed: reset everything and go to 1.\n */\nvar ComputedValue = /** @class */function () {\n /**\n * Create a new computed value based on a function expression.\n *\n * The `name` property is for debug purposes only.\n *\n * The `equals` property specifies the comparer function to use to determine if a newly produced\n * value differs from the previous value. Two comparers are provided in the library; `defaultComparer`\n * compares based on identity comparison (===), and `structualComparer` deeply compares the structure.\n * Structural comparison can be convenient if you always produce an new aggregated object and\n * don't want to notify observers if it is structurally the same.\n * This is useful for working with vectors, mouse coordinates etc.\n */\n function ComputedValue(derivation, scope, equals, name, setter) {\n this.derivation = derivation;\n this.scope = scope;\n this.equals = equals;\n this.dependenciesState = IDerivationState.NOT_TRACKING;\n this.observing = []; // nodes we are looking at. Our value depends on these nodes\n this.newObserving = null; // during tracking it's an array with new observed observers\n this.isPendingUnobservation = false;\n this.observers = [];\n this.observersIndexes = {};\n this.diffValue = 0;\n this.runId = 0;\n this.lastAccessedBy = 0;\n this.lowestObserverState = IDerivationState.UP_TO_DATE;\n this.unboundDepsCount = 0;\n this.__mapid = \"#\" + getNextId();\n this.value = new CaughtException(null);\n this.isComputing = false; // to check for cycles\n this.isRunningSetter = false;\n this.isTracing = TraceMode.NONE;\n this.name = name || \"ComputedValue@\" + getNextId();\n if (setter) this.setter = createAction(name + \"-setter\", setter);\n }\n ComputedValue.prototype.onBecomeStale = function () {\n propagateMaybeChanged(this);\n };\n ComputedValue.prototype.onBecomeUnobserved = function () {\n clearObserving(this);\n this.value = undefined;\n };\n /**\n * Returns the current value of this computed value.\n * Will evaluate its computation first if needed.\n */\n ComputedValue.prototype.get = function () {\n invariant(!this.isComputing, \"Cycle detected in computation \" + this.name, this.derivation);\n if (globalState.inBatch === 0) {\n // This is an minor optimization which could be omitted to simplify the code\n // The computedValue is accessed outside of any mobx stuff. Batch observing should be enough and don't need\n // tracking as it will never be called again inside this batch.\n startBatch();\n if (shouldCompute(this)) {\n if (this.isTracing !== TraceMode.NONE) {\n console.log(\"[mobx.trace] '\" + this.name + \"' is being read outside a reactive context and doing a full recompute\");\n }\n this.value = this.computeValue(false);\n }\n endBatch();\n } else {\n reportObserved(this);\n if (shouldCompute(this)) if (this.trackAndCompute()) propagateChangeConfirmed(this);\n }\n var result = this.value;\n if (isCaughtException(result)) throw result.cause;\n return result;\n };\n ComputedValue.prototype.peek = function () {\n var res = this.computeValue(false);\n if (isCaughtException(res)) throw res.cause;\n return res;\n };\n ComputedValue.prototype.set = function (value) {\n if (this.setter) {\n invariant(!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?\");\n this.isRunningSetter = true;\n try {\n this.setter.call(this.scope, value);\n } finally {\n this.isRunningSetter = false;\n }\n } else invariant(false, \"[ComputedValue '\" + this.name + \"'] It is not possible to assign a new value to a computed value.\");\n };\n ComputedValue.prototype.trackAndCompute = function () {\n if (isSpyEnabled()) {\n spyReport({\n object: this.scope,\n type: \"compute\",\n fn: this.derivation\n });\n }\n var oldValue = this.value;\n var wasSuspended =\n /* see #1208 */this.dependenciesState === IDerivationState.NOT_TRACKING;\n var newValue = this.value = this.computeValue(true);\n return wasSuspended || isCaughtException(oldValue) || isCaughtException(newValue) || !this.equals(oldValue, newValue);\n };\n ComputedValue.prototype.computeValue = function (track) {\n this.isComputing = true;\n globalState.computationDepth++;\n var res;\n if (track) {\n res = trackDerivedFunction(this, this.derivation, this.scope);\n } else {\n try {\n res = this.derivation.call(this.scope);\n } catch (e) {\n res = new CaughtException(e);\n }\n }\n globalState.computationDepth--;\n this.isComputing = false;\n return res;\n };\n ComputedValue.prototype.observe = function (listener, fireImmediately) {\n var _this = this;\n var firstTime = true;\n var prevValue = undefined;\n return autorun(function () {\n var newValue = _this.get();\n if (!firstTime || fireImmediately) {\n var prevU = untrackedStart();\n listener({\n type: \"update\",\n object: _this,\n newValue: newValue,\n oldValue: prevValue\n });\n untrackedEnd(prevU);\n }\n firstTime = false;\n prevValue = newValue;\n });\n };\n ComputedValue.prototype.toJSON = function () {\n return this.get();\n };\n ComputedValue.prototype.toString = function () {\n return this.name + \"[\" + this.derivation.toString() + \"]\";\n };\n ComputedValue.prototype.valueOf = function () {\n return toPrimitive(this.get());\n };\n ComputedValue.prototype.whyRun = function () {\n var isTracking = Boolean(globalState.trackingDerivation);\n var observing = unique(this.isComputing ? this.newObserving : this.observing).map(function (dep) {\n return dep.name;\n });\n var observers = unique(getObservers(this).map(function (dep) {\n return dep.name;\n }));\n return \"\\nWhyRun? computation '\" + this.name + \"':\\n * Running because: \" + (isTracking ? \"[active] the value of this computation is needed by a reaction\" : this.isComputing ? \"[get] The value of this computed was requested outside a reaction\" : \"[idle] not running at the moment\") + \"\\n\" + (this.dependenciesState === IDerivationState.NOT_TRACKING ? getMessage(\"m032\") : \" * This computation will re-run if any of the following observables changes:\\n \" + joinStrings(observing) + \"\\n \" + (this.isComputing && isTracking ? \" (... or any observable accessed during the remainder of the current run)\" : \"\") + \"\\n \" + getMessage(\"m038\") + \"\\n\\n * If the outcome of this computation changes, the following observers will be re-run:\\n \" + joinStrings(observers) + \"\\n\");\n };\n return ComputedValue;\n}();\nComputedValue.prototype[primitiveSymbol()] = ComputedValue.prototype.valueOf;\nvar isComputedValue = createInstanceofPredicate(\"ComputedValue\", ComputedValue);\n\nvar ObservableObjectAdministration = /** @class */function () {\n function ObservableObjectAdministration(target, name) {\n this.target = target;\n this.name = name;\n this.values = {};\n this.changeListeners = null;\n this.interceptors = null;\n }\n /**\n * Observes this object. Triggers for the events 'add', 'update' and 'delete'.\n * See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/observe\n * for callback details\n */\n ObservableObjectAdministration.prototype.observe = function (callback, fireImmediately) {\n invariant(fireImmediately !== true, \"`observe` doesn't support the fire immediately property for observable objects.\");\n return registerListener(this, callback);\n };\n ObservableObjectAdministration.prototype.intercept = function (handler) {\n return registerInterceptor(this, handler);\n };\n return ObservableObjectAdministration;\n}();\nfunction asObservableObject(target, name) {\n if (isObservableObject(target) && target.hasOwnProperty(\"$mobx\")) return target.$mobx;\n invariant(Object.isExtensible(target), getMessage(\"m035\"));\n if (!isPlainObject(target)) name = (target.constructor.name || \"ObservableObject\") + \"@\" + getNextId();\n if (!name) name = \"ObservableObject@\" + getNextId();\n var adm = new ObservableObjectAdministration(target, name);\n addHiddenFinalProp(target, \"$mobx\", adm);\n return adm;\n}\nfunction defineObservablePropertyFromDescriptor(adm, propName, descriptor, defaultEnhancer) {\n if (adm.values[propName] && !isComputedValue(adm.values[propName])) {\n // already observable property\n invariant(\"value\" in descriptor, \"The property \" + propName + \" in \" + adm.name + \" is already observable, cannot redefine it as computed property\");\n adm.target[propName] = descriptor.value; // the property setter will make 'value' reactive if needed.\n return;\n }\n // not yet observable property\n if (\"value\" in descriptor) {\n // not a computed value\n if (isModifierDescriptor(descriptor.value)) {\n // x : ref(someValue)\n var modifierDescriptor = descriptor.value;\n defineObservableProperty(adm, propName, modifierDescriptor.initialValue, modifierDescriptor.enhancer);\n } else if (isAction(descriptor.value) && descriptor.value.autoBind === true) {\n defineBoundAction(adm.target, propName, descriptor.value.originalFn);\n } else if (isComputedValue(descriptor.value)) {\n // x: computed(someExpr)\n defineComputedPropertyFromComputedValue(adm, propName, descriptor.value);\n } else {\n // x: someValue\n defineObservableProperty(adm, propName, descriptor.value, defaultEnhancer);\n }\n } else {\n // get x() { return 3 } set x(v) { }\n defineComputedProperty(adm, propName, descriptor.get, descriptor.set, comparer.default, true);\n }\n}\nfunction defineObservableProperty(adm, propName, newValue, enhancer) {\n assertPropertyConfigurable(adm.target, propName);\n if (hasInterceptors(adm)) {\n var change = interceptChange(adm, {\n object: adm.target,\n name: propName,\n type: \"add\",\n newValue: newValue\n });\n if (!change) return;\n newValue = change.newValue;\n }\n var observable = adm.values[propName] = new ObservableValue(newValue, enhancer, adm.name + \".\" + propName, false);\n newValue = observable.value; // observableValue might have changed it\n Object.defineProperty(adm.target, propName, generateObservablePropConfig(propName));\n notifyPropertyAddition(adm, adm.target, propName, newValue);\n}\nfunction defineComputedProperty(adm, propName, getter, setter, equals, asInstanceProperty) {\n if (asInstanceProperty) assertPropertyConfigurable(adm.target, propName);\n adm.values[propName] = new ComputedValue(getter, adm.target, equals, adm.name + \".\" + propName, setter);\n if (asInstanceProperty) {\n Object.defineProperty(adm.target, propName, generateComputedPropConfig(propName));\n }\n}\nfunction defineComputedPropertyFromComputedValue(adm, propName, computedValue) {\n var name = adm.name + \".\" + propName;\n computedValue.name = name;\n if (!computedValue.scope) computedValue.scope = adm.target;\n adm.values[propName] = computedValue;\n Object.defineProperty(adm.target, propName, generateComputedPropConfig(propName));\n}\nvar observablePropertyConfigs = {};\nvar computedPropertyConfigs = {};\nfunction generateObservablePropConfig(propName) {\n return observablePropertyConfigs[propName] || (observablePropertyConfigs[propName] = {\n configurable: true,\n enumerable: true,\n get: function get() {\n return this.$mobx.values[propName].get();\n },\n set: function set(v) {\n setPropertyValue(this, propName, v);\n }\n });\n}\nfunction generateComputedPropConfig(propName) {\n return computedPropertyConfigs[propName] || (computedPropertyConfigs[propName] = {\n configurable: true,\n enumerable: false,\n get: function get() {\n return this.$mobx.values[propName].get();\n },\n set: function set(v) {\n return this.$mobx.values[propName].set(v);\n }\n });\n}\nfunction setPropertyValue(instance, name, newValue) {\n var adm = instance.$mobx;\n var observable = adm.values[name];\n // intercept\n if (hasInterceptors(adm)) {\n var change = interceptChange(adm, {\n type: \"update\",\n object: instance,\n name: name,\n newValue: newValue\n });\n if (!change) return;\n newValue = change.newValue;\n }\n newValue = observable.prepareNewValue(newValue);\n // notify spy & observers\n if (newValue !== UNCHANGED) {\n var notify = hasListeners(adm);\n var notifySpy = isSpyEnabled();\n var change = notify || notifySpy ? {\n type: \"update\",\n object: instance,\n oldValue: observable.value,\n name: name,\n newValue: newValue\n } : null;\n if (notifySpy) spyReportStart(change);\n observable.setNewValue(newValue);\n if (notify) notifyListeners(adm, change);\n if (notifySpy) spyReportEnd();\n }\n}\nfunction notifyPropertyAddition(adm, object, name, newValue) {\n var notify = hasListeners(adm);\n var notifySpy = isSpyEnabled();\n var change = notify || notifySpy ? {\n type: \"add\",\n object: object,\n name: name,\n newValue: newValue\n } : null;\n if (notifySpy) spyReportStart(change);\n if (notify) notifyListeners(adm, change);\n if (notifySpy) spyReportEnd();\n}\nvar isObservableObjectAdministration = createInstanceofPredicate(\"ObservableObjectAdministration\", ObservableObjectAdministration);\nfunction isObservableObject(thing) {\n if (isObject(thing)) {\n // Initializers run lazily when transpiling to babel, so make sure they are run...\n runLazyInitializers(thing);\n return isObservableObjectAdministration(thing.$mobx);\n }\n return false;\n}\n\n/**\n * Returns true if the provided value is reactive.\n * @param value object, function or array\n * @param property if property is specified, checks whether value.property is reactive.\n */\nfunction isObservable(value, property) {\n if (value === null || value === undefined) return false;\n if (property !== undefined) {\n if (isObservableArray(value) || isObservableMap(value)) throw new Error(getMessage(\"m019\"));else if (isObservableObject(value)) {\n var o = value.$mobx;\n return o.values && !!o.values[property];\n }\n return false;\n }\n // For first check, see #701\n return isObservableObject(value) || !!value.$mobx || isAtom(value) || isReaction(value) || isComputedValue(value);\n}\n\nfunction createDecoratorForEnhancer(enhancer) {\n invariant(!!enhancer, \":(\");\n return createClassPropertyDecorator(function (target, name, baseValue, _, baseDescriptor) {\n assertPropertyConfigurable(target, name);\n invariant(!baseDescriptor || !baseDescriptor.get, getMessage(\"m022\"));\n var adm = asObservableObject(target, undefined);\n defineObservableProperty(adm, name, baseValue, enhancer);\n }, function (name) {\n var observable = this.$mobx.values[name];\n if (observable === undefined // See #505\n ) return undefined;\n return observable.get();\n }, function (name, value) {\n setPropertyValue(this, name, value);\n }, true, false);\n}\n\nfunction extendObservable(target) {\n var properties = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n properties[_i - 1] = arguments[_i];\n }\n return extendObservableHelper(target, deepEnhancer, properties);\n}\nfunction extendShallowObservable(target) {\n var properties = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n properties[_i - 1] = arguments[_i];\n }\n return extendObservableHelper(target, referenceEnhancer, properties);\n}\nfunction extendObservableHelper(target, defaultEnhancer, properties) {\n invariant(arguments.length >= 2, getMessage(\"m014\"));\n invariant((typeof target === \"undefined\" ? \"undefined\" : _typeof(target)) === \"object\", getMessage(\"m015\"));\n invariant(!isObservableMap(target), getMessage(\"m016\"));\n properties.forEach(function (propSet) {\n invariant((typeof propSet === \"undefined\" ? \"undefined\" : _typeof(propSet)) === \"object\", getMessage(\"m017\"));\n invariant(!isObservable(propSet), getMessage(\"m018\"));\n });\n var adm = asObservableObject(target);\n var definedProps = {};\n // Note could be optimised if properties.length === 1\n for (var i = properties.length - 1; i >= 0; i--) {\n var propSet = properties[i];\n for (var key in propSet) {\n if (definedProps[key] !== true && hasOwnProperty(propSet, key)) {\n definedProps[key] = true;\n if (target === propSet && !isPropertyConfigurable(target, key)) continue; // see #111, skip non-configurable or non-writable props for `observable(object)`.\n var descriptor = Object.getOwnPropertyDescriptor(propSet, key);\n defineObservablePropertyFromDescriptor(adm, key, descriptor, defaultEnhancer);\n }\n }\n }\n return target;\n}\n\nvar deepDecorator = createDecoratorForEnhancer(deepEnhancer);\nvar shallowDecorator = createDecoratorForEnhancer(shallowEnhancer);\nvar refDecorator = createDecoratorForEnhancer(referenceEnhancer);\nvar deepStructDecorator = createDecoratorForEnhancer(deepStructEnhancer);\nvar refStructDecorator = createDecoratorForEnhancer(refStructEnhancer);\n/**\n * Turns an object, array or function into a reactive structure.\n * @param v the value which should become observable.\n */\nfunction createObservable(v) {\n if (v === void 0) {\n v = undefined;\n }\n // @observable someProp;\n if (typeof arguments[1] === \"string\") return deepDecorator.apply(null, arguments);\n invariant(arguments.length <= 1, getMessage(\"m021\"));\n invariant(!isModifierDescriptor(v), getMessage(\"m020\"));\n // it is an observable already, done\n if (isObservable(v)) return v;\n // something that can be converted and mutated?\n var res = deepEnhancer(v, undefined, undefined);\n // this value could be converted to a new observable data structure, return it\n if (res !== v) return res;\n // otherwise, just box it\n return observable.box(v);\n}\nvar observableFactories = {\n box: function box(value, name) {\n if (arguments.length > 2) incorrectlyUsedAsDecorator(\"box\");\n return new ObservableValue(value, deepEnhancer, name);\n },\n shallowBox: function shallowBox(value, name) {\n if (arguments.length > 2) incorrectlyUsedAsDecorator(\"shallowBox\");\n return new ObservableValue(value, referenceEnhancer, name);\n },\n array: function array(initialValues, name) {\n if (arguments.length > 2) incorrectlyUsedAsDecorator(\"array\");\n return new ObservableArray(initialValues, deepEnhancer, name);\n },\n shallowArray: function shallowArray(initialValues, name) {\n if (arguments.length > 2) incorrectlyUsedAsDecorator(\"shallowArray\");\n return new ObservableArray(initialValues, referenceEnhancer, name);\n },\n map: function map(initialValues, name) {\n if (arguments.length > 2) incorrectlyUsedAsDecorator(\"map\");\n return new ObservableMap(initialValues, deepEnhancer, name);\n },\n shallowMap: function shallowMap(initialValues, name) {\n if (arguments.length > 2) incorrectlyUsedAsDecorator(\"shallowMap\");\n return new ObservableMap(initialValues, referenceEnhancer, name);\n },\n object: function object(props, name) {\n if (arguments.length > 2) incorrectlyUsedAsDecorator(\"object\");\n var res = {};\n // convert to observable object\n asObservableObject(res, name);\n // add properties\n extendObservable(res, props);\n return res;\n },\n shallowObject: function shallowObject(props, name) {\n if (arguments.length > 2) incorrectlyUsedAsDecorator(\"shallowObject\");\n var res = {};\n asObservableObject(res, name);\n extendShallowObservable(res, props);\n return res;\n },\n ref: function ref() {\n if (arguments.length < 2) {\n // although ref creates actually a modifier descriptor, the type of the resultig properties\n // of the object is `T` in the end, when the descriptors are interpreted\n return createModifierDescriptor(referenceEnhancer, arguments[0]);\n } else {\n return refDecorator.apply(null, arguments);\n }\n },\n shallow: function shallow() {\n if (arguments.length < 2) {\n // although ref creates actually a modifier descriptor, the type of the resultig properties\n // of the object is `T` in the end, when the descriptors are interpreted\n return createModifierDescriptor(shallowEnhancer, arguments[0]);\n } else {\n return shallowDecorator.apply(null, arguments);\n }\n },\n deep: function deep() {\n if (arguments.length < 2) {\n // although ref creates actually a modifier descriptor, the type of the resultig properties\n // of the object is `T` in the end, when the descriptors are interpreted\n return createModifierDescriptor(deepEnhancer, arguments[0]);\n } else {\n return deepDecorator.apply(null, arguments);\n }\n },\n struct: function struct() {\n if (arguments.length < 2) {\n // although ref creates actually a modifier descriptor, the type of the resultig properties\n // of the object is `T` in the end, when the descriptors are interpreted\n return createModifierDescriptor(deepStructEnhancer, arguments[0]);\n } else {\n return deepStructDecorator.apply(null, arguments);\n }\n }\n};\nvar observable = createObservable;\n// weird trick to keep our typings nicely with our funcs, and still extend the observable function\nObject.keys(observableFactories).forEach(function (name) {\n return observable[name] = observableFactories[name];\n});\nobservable.deep.struct = observable.struct;\nobservable.ref.struct = function () {\n if (arguments.length < 2) {\n return createModifierDescriptor(refStructEnhancer, arguments[0]);\n } else {\n return refStructDecorator.apply(null, arguments);\n }\n};\nfunction incorrectlyUsedAsDecorator(methodName) {\n fail(\"Expected one or two arguments to observable.\" + methodName + \". Did you accidentally try to use observable.\" + methodName + \" as decorator?\");\n}\n\nfunction isModifierDescriptor(thing) {\n return (typeof thing === \"undefined\" ? \"undefined\" : _typeof(thing)) === \"object\" && thing !== null && thing.isMobxModifierDescriptor === true;\n}\nfunction createModifierDescriptor(enhancer, initialValue) {\n invariant(!isModifierDescriptor(initialValue), \"Modifiers cannot be nested\");\n return {\n isMobxModifierDescriptor: true,\n initialValue: initialValue,\n enhancer: enhancer\n };\n}\nfunction deepEnhancer(v, _, name) {\n if (isModifierDescriptor(v)) fail(\"You tried to assign a modifier wrapped value to a collection, please define modifiers when creating the collection, not when modifying it\");\n // it is an observable already, done\n if (isObservable(v)) return v;\n // something that can be converted and mutated?\n if (Array.isArray(v)) return observable.array(v, name);\n if (isPlainObject(v)) return observable.object(v, name);\n if (isES6Map(v)) return observable.map(v, name);\n return v;\n}\nfunction shallowEnhancer(v, _, name) {\n if (isModifierDescriptor(v)) fail(\"You tried to assign a modifier wrapped value to a collection, please define modifiers when creating the collection, not when modifying it\");\n if (v === undefined || v === null) return v;\n if (isObservableObject(v) || isObservableArray(v) || isObservableMap(v)) return v;\n if (Array.isArray(v)) return observable.shallowArray(v, name);\n if (isPlainObject(v)) return observable.shallowObject(v, name);\n if (isES6Map(v)) return observable.shallowMap(v, name);\n return fail(\"The shallow modifier / decorator can only used in combination with arrays, objects and maps\");\n}\nfunction referenceEnhancer(newValue) {\n // never turn into an observable\n return newValue;\n}\nfunction deepStructEnhancer(v, oldValue, name) {\n // don't confuse structurally compare enhancer with ref enhancer! The latter is probably\n // more suited for immutable objects\n if (deepEqual(v, oldValue)) return oldValue;\n // it is an observable already, done\n if (isObservable(v)) return v;\n // something that can be converted and mutated?\n if (Array.isArray(v)) return new ObservableArray(v, deepStructEnhancer, name);\n if (isES6Map(v)) return new ObservableMap(v, deepStructEnhancer, name);\n if (isPlainObject(v)) {\n var res = {};\n asObservableObject(res, name);\n extendObservableHelper(res, deepStructEnhancer, [v]);\n return res;\n }\n return v;\n}\nfunction refStructEnhancer(v, oldValue, name) {\n if (deepEqual(v, oldValue)) return oldValue;\n return v;\n}\n\n/**\n * During a transaction no views are updated until the end of the transaction.\n * The transaction will be run synchronously nonetheless.\n *\n * @param action a function that updates some reactive state\n * @returns any value that was returned by the 'action' parameter.\n */\nfunction transaction(action, thisArg) {\n if (thisArg === void 0) {\n thisArg = undefined;\n }\n startBatch();\n try {\n return action.apply(thisArg);\n } finally {\n endBatch();\n }\n}\n\nvar ObservableMapMarker = {};\nvar ObservableMap = /** @class */function () {\n function ObservableMap(initialData, enhancer, name) {\n if (enhancer === void 0) {\n enhancer = deepEnhancer;\n }\n if (name === void 0) {\n name = \"ObservableMap@\" + getNextId();\n }\n this.enhancer = enhancer;\n this.name = name;\n this.$mobx = ObservableMapMarker;\n this._data = Object.create(null);\n this._hasMap = Object.create(null); // hasMap, not hashMap >-).\n this._keys = new ObservableArray(undefined, referenceEnhancer, this.name + \".keys()\", true);\n this.interceptors = null;\n this.changeListeners = null;\n this.dehancer = undefined;\n this.merge(initialData);\n }\n ObservableMap.prototype._has = function (key) {\n return typeof this._data[key] !== \"undefined\";\n };\n ObservableMap.prototype.has = function (key) {\n if (!this.isValidKey(key)) return false;\n key = \"\" + key;\n if (this._hasMap[key]) return this._hasMap[key].get();\n return this._updateHasMapEntry(key, false).get();\n };\n ObservableMap.prototype.set = function (key, value) {\n this.assertValidKey(key);\n key = \"\" + key;\n var hasKey = this._has(key);\n if (hasInterceptors(this)) {\n var change = interceptChange(this, {\n type: hasKey ? \"update\" : \"add\",\n object: this,\n newValue: value,\n name: key\n });\n if (!change) return this;\n value = change.newValue;\n }\n if (hasKey) {\n this._updateValue(key, value);\n } else {\n this._addValue(key, value);\n }\n return this;\n };\n ObservableMap.prototype.delete = function (key) {\n var _this = this;\n this.assertValidKey(key);\n key = \"\" + key;\n if (hasInterceptors(this)) {\n var change = interceptChange(this, {\n type: \"delete\",\n object: this,\n name: key\n });\n if (!change) return false;\n }\n if (this._has(key)) {\n var notifySpy = isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy ? {\n type: \"delete\",\n object: this,\n oldValue: this._data[key].value,\n name: key\n } : null;\n if (notifySpy) spyReportStart(change);\n transaction(function () {\n _this._keys.remove(key);\n _this._updateHasMapEntry(key, false);\n var observable$$1 = _this._data[key];\n observable$$1.setNewValue(undefined);\n _this._data[key] = undefined;\n });\n if (notify) notifyListeners(this, change);\n if (notifySpy) spyReportEnd();\n return true;\n }\n return false;\n };\n ObservableMap.prototype._updateHasMapEntry = function (key, value) {\n // optimization; don't fill the hasMap if we are not observing, or remove entry if there are no observers anymore\n var entry = this._hasMap[key];\n if (entry) {\n entry.setNewValue(value);\n } else {\n entry = this._hasMap[key] = new ObservableValue(value, referenceEnhancer, this.name + \".\" + key + \"?\", false);\n }\n return entry;\n };\n ObservableMap.prototype._updateValue = function (name, newValue) {\n var observable$$1 = this._data[name];\n newValue = observable$$1.prepareNewValue(newValue);\n if (newValue !== UNCHANGED) {\n var notifySpy = isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy ? {\n type: \"update\",\n object: this,\n oldValue: observable$$1.value,\n name: name,\n newValue: newValue\n } : null;\n if (notifySpy) spyReportStart(change);\n observable$$1.setNewValue(newValue);\n if (notify) notifyListeners(this, change);\n if (notifySpy) spyReportEnd();\n }\n };\n ObservableMap.prototype._addValue = function (name, newValue) {\n var _this = this;\n transaction(function () {\n var observable$$1 = _this._data[name] = new ObservableValue(newValue, _this.enhancer, _this.name + \".\" + name, false);\n newValue = observable$$1.value; // value might have been changed\n _this._updateHasMapEntry(name, true);\n _this._keys.push(name);\n });\n var notifySpy = isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy ? {\n type: \"add\",\n object: this,\n name: name,\n newValue: newValue\n } : null;\n if (notifySpy) spyReportStart(change);\n if (notify) notifyListeners(this, change);\n if (notifySpy) spyReportEnd();\n };\n ObservableMap.prototype.get = function (key) {\n key = \"\" + key;\n if (this.has(key)) return this.dehanceValue(this._data[key].get());\n return this.dehanceValue(undefined);\n };\n ObservableMap.prototype.dehanceValue = function (value) {\n if (this.dehancer !== undefined) {\n return this.dehancer(value);\n }\n return value;\n };\n ObservableMap.prototype.keys = function () {\n return arrayAsIterator(this._keys.slice());\n };\n ObservableMap.prototype.values = function () {\n return arrayAsIterator(this._keys.map(this.get, this));\n };\n ObservableMap.prototype.entries = function () {\n var _this = this;\n return arrayAsIterator(this._keys.map(function (key) {\n return [key, _this.get(key)];\n }));\n };\n ObservableMap.prototype.forEach = function (callback, thisArg) {\n var _this = this;\n this.keys().forEach(function (key) {\n return callback.call(thisArg, _this.get(key), key, _this);\n });\n };\n /** Merge another object into this object, returns this. */\n ObservableMap.prototype.merge = function (other) {\n var _this = this;\n if (isObservableMap(other)) {\n other = other.toJS();\n }\n transaction(function () {\n if (isPlainObject(other)) Object.keys(other).forEach(function (key) {\n return _this.set(key, other[key]);\n });else if (Array.isArray(other)) other.forEach(function (_a) {\n var key = _a[0],\n value = _a[1];\n return _this.set(key, value);\n });else if (isES6Map(other)) other.forEach(function (value, key) {\n return _this.set(key, value);\n });else if (other !== null && other !== undefined) fail(\"Cannot initialize map from \" + other);\n });\n return this;\n };\n ObservableMap.prototype.clear = function () {\n var _this = this;\n transaction(function () {\n untracked(function () {\n _this.keys().forEach(_this.delete, _this);\n });\n });\n };\n ObservableMap.prototype.replace = function (values) {\n var _this = this;\n transaction(function () {\n // grab all the keys that are present in the new map but not present in the current map\n // and delete them from the map, then merge the new map\n // this will cause reactions only on changed values\n var newKeys = getMapLikeKeys(values);\n var oldKeys = _this.keys();\n var missingKeys = oldKeys.filter(function (k) {\n return newKeys.indexOf(k) === -1;\n });\n missingKeys.forEach(function (k) {\n return _this.delete(k);\n });\n _this.merge(values);\n });\n return this;\n };\n Object.defineProperty(ObservableMap.prototype, \"size\", {\n get: function get() {\n return this._keys.length;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Returns a shallow non observable object clone of this map.\n * Note that the values might still be observable. For a deep clone use mobx.toJS.\n */\n ObservableMap.prototype.toJS = function () {\n var _this = this;\n var res = {};\n this.keys().forEach(function (key) {\n return res[key] = _this.get(key);\n });\n return res;\n };\n ObservableMap.prototype.toJSON = function () {\n // Used by JSON.stringify\n return this.toJS();\n };\n ObservableMap.prototype.isValidKey = function (key) {\n if (key === null || key === undefined) return false;\n if (typeof key === \"string\" || typeof key === \"number\" || typeof key === \"boolean\") return true;\n return false;\n };\n ObservableMap.prototype.assertValidKey = function (key) {\n if (!this.isValidKey(key)) throw new Error(\"[mobx.map] Invalid key: '\" + key + \"', only strings, numbers and booleans are accepted as key in observable maps.\");\n };\n ObservableMap.prototype.toString = function () {\n var _this = this;\n return this.name + \"[{ \" + this.keys().map(function (key) {\n return key + \": \" + (\"\" + _this.get(key));\n }).join(\", \") + \" }]\";\n };\n /**\n * Observes this object. Triggers for the events 'add', 'update' and 'delete'.\n * See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/observe\n * for callback details\n */\n ObservableMap.prototype.observe = function (listener, fireImmediately) {\n invariant(fireImmediately !== true, getMessage(\"m033\"));\n return registerListener(this, listener);\n };\n ObservableMap.prototype.intercept = function (handler) {\n return registerInterceptor(this, handler);\n };\n return ObservableMap;\n}();\ndeclareIterator(ObservableMap.prototype, function () {\n return this.entries();\n});\nfunction map(initialValues) {\n deprecated(\"`mobx.map` is deprecated, use `new ObservableMap` or `mobx.observable.map` instead\");\n return observable.map(initialValues);\n}\n/* 'var' fixes small-build issue */\nvar isObservableMap = createInstanceofPredicate(\"ObservableMap\", ObservableMap);\n\nvar EMPTY_ARRAY = [];\nObject.freeze(EMPTY_ARRAY);\nfunction getGlobal() {\n return typeof window !== \"undefined\" ? window : global;\n}\nfunction getNextId() {\n return ++globalState.mobxGuid;\n}\nfunction fail(message, thing) {\n invariant(false, message, thing);\n throw \"X\"; // unreachable\n}\nfunction invariant(check, message, thing) {\n if (!check) throw new Error(\"[mobx] Invariant failed: \" + message + (thing ? \" in '\" + thing + \"'\" : \"\"));\n}\n/**\n * Prints a deprecation message, but only one time.\n * Returns false if the deprecated message was already printed before\n */\nvar deprecatedMessages = [];\nfunction deprecated(msg) {\n if (deprecatedMessages.indexOf(msg) !== -1) return false;\n deprecatedMessages.push(msg);\n console.error(\"[mobx] Deprecated: \" + msg);\n return true;\n}\n/**\n * Makes sure that the provided function is invoked at most once.\n */\nfunction once(func) {\n var invoked = false;\n return function () {\n if (invoked) return;\n invoked = true;\n return func.apply(this, arguments);\n };\n}\nvar noop = function noop() {};\nfunction unique(list) {\n var res = [];\n list.forEach(function (item) {\n if (res.indexOf(item) === -1) res.push(item);\n });\n return res;\n}\nfunction joinStrings(things, limit, separator) {\n if (limit === void 0) {\n limit = 100;\n }\n if (separator === void 0) {\n separator = \" - \";\n }\n if (!things) return \"\";\n var sliced = things.slice(0, limit);\n return \"\" + sliced.join(separator) + (things.length > limit ? \" (... and \" + (things.length - limit) + \"more)\" : \"\");\n}\nfunction isObject(value) {\n return value !== null && (typeof value === \"undefined\" ? \"undefined\" : _typeof(value)) === \"object\";\n}\nfunction isPlainObject(value) {\n if (value === null || (typeof value === \"undefined\" ? \"undefined\" : _typeof(value)) !== \"object\") return false;\n var proto = Object.getPrototypeOf(value);\n return proto === Object.prototype || proto === null;\n}\nfunction objectAssign() {\n var res = arguments[0];\n for (var i = 1, l = arguments.length; i < l; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (hasOwnProperty(source, key)) {\n res[key] = source[key];\n }\n }\n }\n return res;\n}\nvar prototypeHasOwnProperty = Object.prototype.hasOwnProperty;\nfunction hasOwnProperty(object, propName) {\n return prototypeHasOwnProperty.call(object, propName);\n}\nfunction makeNonEnumerable(object, propNames) {\n for (var i = 0; i < propNames.length; i++) {\n addHiddenProp(object, propNames[i], object[propNames[i]]);\n }\n}\nfunction addHiddenProp(object, propName, value) {\n Object.defineProperty(object, propName, {\n enumerable: false,\n writable: true,\n configurable: true,\n value: value\n });\n}\nfunction addHiddenFinalProp(object, propName, value) {\n Object.defineProperty(object, propName, {\n enumerable: false,\n writable: false,\n configurable: true,\n value: value\n });\n}\nfunction isPropertyConfigurable(object, prop) {\n var descriptor = Object.getOwnPropertyDescriptor(object, prop);\n return !descriptor || descriptor.configurable !== false && descriptor.writable !== false;\n}\nfunction assertPropertyConfigurable(object, prop) {\n invariant(isPropertyConfigurable(object, prop), \"Cannot make property '\" + prop + \"' observable, it is not configurable and writable in the target object\");\n}\nfunction createInstanceofPredicate(name, clazz) {\n var propName = \"isMobX\" + name;\n clazz.prototype[propName] = true;\n return function (x) {\n return isObject(x) && x[propName] === true;\n };\n}\nfunction areBothNaN(a, b) {\n return typeof a === \"number\" && typeof b === \"number\" && isNaN(a) && isNaN(b);\n}\n/**\n * Returns whether the argument is an array, disregarding observability.\n */\nfunction isArrayLike(x) {\n return Array.isArray(x) || isObservableArray(x);\n}\nfunction isES6Map(thing) {\n if (getGlobal().Map !== undefined && thing instanceof getGlobal().Map) return true;\n return false;\n}\nfunction getMapLikeKeys(map$$1) {\n if (isPlainObject(map$$1)) return Object.keys(map$$1);\n if (Array.isArray(map$$1)) return map$$1.map(function (_a) {\n var key = _a[0];\n return key;\n });\n if (isES6Map(map$$1)) return Array.from(map$$1.keys());\n if (isObservableMap(map$$1)) return map$$1.keys();\n return fail(\"Cannot get keys from \" + map$$1);\n}\nfunction iteratorToArray(it) {\n var res = [];\n while (true) {\n var r = it.next();\n if (r.done) break;\n res.push(r.value);\n }\n return res;\n}\nfunction primitiveSymbol() {\n return typeof Symbol === \"function\" && Symbol.toPrimitive || \"@@toPrimitive\";\n}\nfunction toPrimitive(value) {\n return value === null ? null : (typeof value === \"undefined\" ? \"undefined\" : _typeof(value)) === \"object\" ? \"\" + value : value;\n}\n\n/**\n * These values will persist if global state is reset\n */\nvar persistentKeys = [\"mobxGuid\", \"resetId\", \"spyListeners\", \"strictMode\", \"runId\"];\nvar MobXGlobals = /** @class */function () {\n function MobXGlobals() {\n /**\n * MobXGlobals version.\n * MobX compatiblity with other versions loaded in memory as long as this version matches.\n * It indicates that the global state still stores similar information\n */\n this.version = 5;\n /**\n * Currently running derivation\n */\n this.trackingDerivation = null;\n /**\n * Are we running a computation currently? (not a reaction)\n */\n this.computationDepth = 0;\n /**\n * Each time a derivation is tracked, it is assigned a unique run-id\n */\n this.runId = 0;\n /**\n * 'guid' for general purpose. Will be persisted amongst resets.\n */\n this.mobxGuid = 0;\n /**\n * Are we in a batch block? (and how many of them)\n */\n this.inBatch = 0;\n /**\n * Observables that don't have observers anymore, and are about to be\n * suspended, unless somebody else accesses it in the same batch\n *\n * @type {IObservable[]}\n */\n this.pendingUnobservations = [];\n /**\n * List of scheduled, not yet executed, reactions.\n */\n this.pendingReactions = [];\n /**\n * Are we currently processing reactions?\n */\n this.isRunningReactions = false;\n /**\n * Is it allowed to change observables at this point?\n * In general, MobX doesn't allow that when running computations and React.render.\n * To ensure that those functions stay pure.\n */\n this.allowStateChanges = true;\n /**\n * If strict mode is enabled, state changes are by default not allowed\n */\n this.strictMode = false;\n /**\n * Used by createTransformer to detect that the global state has been reset.\n */\n this.resetId = 0;\n /**\n * Spy callbacks\n */\n this.spyListeners = [];\n /**\n * Globally attached error handlers that react specifically to errors in reactions\n */\n this.globalReactionErrorHandlers = [];\n }\n return MobXGlobals;\n}();\nvar globalState = new MobXGlobals();\nvar shareGlobalStateCalled = false;\nvar runInIsolationCalled = false;\nvar warnedAboutMultipleInstances = false;\n{\n var global_1 = getGlobal();\n if (!global_1.__mobxInstanceCount) {\n global_1.__mobxInstanceCount = 1;\n } else {\n global_1.__mobxInstanceCount++;\n setTimeout(function () {\n if (!shareGlobalStateCalled && !runInIsolationCalled && !warnedAboutMultipleInstances) {\n warnedAboutMultipleInstances = true;\n console.warn(\"[mobx] Warning: there are multiple mobx instances active. This might lead to unexpected results. See https://github.com/mobxjs/mobx/issues/1082 for details.\");\n }\n }, 1);\n }\n}\nfunction isolateGlobalState() {\n runInIsolationCalled = true;\n getGlobal().__mobxInstanceCount--;\n}\nfunction shareGlobalState() {\n // TODO: remove in 4.0; just use peer dependencies instead.\n deprecated(\"Using `shareGlobalState` is not recommended, use peer dependencies instead. See https://github.com/mobxjs/mobx/issues/1082 for details.\");\n shareGlobalStateCalled = true;\n var global = getGlobal();\n var ownState = globalState;\n /**\n * Backward compatibility check\n */\n if (global.__mobservableTrackingStack || global.__mobservableViewStack) throw new Error(\"[mobx] An incompatible version of mobservable is already loaded.\");\n if (global.__mobxGlobal && global.__mobxGlobal.version !== ownState.version) throw new Error(\"[mobx] An incompatible version of mobx is already loaded.\");\n if (global.__mobxGlobal) globalState = global.__mobxGlobal;else global.__mobxGlobal = ownState;\n}\nfunction getGlobalState() {\n return globalState;\n}\n\n/**\n * For testing purposes only; this will break the internal state of existing observables,\n * but can be used to get back at a stable state after throwing errors\n */\nfunction resetGlobalState() {\n globalState.resetId++;\n var defaultGlobals = new MobXGlobals();\n for (var key in defaultGlobals) {\n if (persistentKeys.indexOf(key) === -1) globalState[key] = defaultGlobals[key];\n }globalState.allowStateChanges = !globalState.strictMode;\n}\n\nfunction getAtom(thing, property) {\n if ((typeof thing === \"undefined\" ? \"undefined\" : _typeof(thing)) === \"object\" && thing !== null) {\n if (isObservableArray(thing)) {\n invariant(property === undefined, getMessage(\"m036\"));\n return thing.$mobx.atom;\n }\n if (isObservableMap(thing)) {\n var anyThing = thing;\n if (property === undefined) return getAtom(anyThing._keys);\n var observable = anyThing._data[property] || anyThing._hasMap[property];\n invariant(!!observable, \"the entry '\" + property + \"' does not exist in the observable map '\" + getDebugName(thing) + \"'\");\n return observable;\n }\n // Initializers run lazily when transpiling to babel, so make sure they are run...\n runLazyInitializers(thing);\n if (property && !thing.$mobx) thing[property]; // See #1072 // TODO: remove in 4.0\n if (isObservableObject(thing)) {\n if (!property) return fail(\"please specify a property\");\n var observable = thing.$mobx.values[property];\n invariant(!!observable, \"no observable property '\" + property + \"' found on the observable object '\" + getDebugName(thing) + \"'\");\n return observable;\n }\n if (isAtom(thing) || isComputedValue(thing) || isReaction(thing)) {\n return thing;\n }\n } else if (typeof thing === \"function\") {\n if (isReaction(thing.$mobx)) {\n // disposer function\n return thing.$mobx;\n }\n }\n return fail(\"Cannot obtain atom from \" + thing);\n}\nfunction getAdministration(thing, property) {\n invariant(thing, \"Expecting some object\");\n if (property !== undefined) return getAdministration(getAtom(thing, property));\n if (isAtom(thing) || isComputedValue(thing) || isReaction(thing)) return thing;\n if (isObservableMap(thing)) return thing;\n // Initializers run lazily when transpiling to babel, so make sure they are run...\n runLazyInitializers(thing);\n if (thing.$mobx) return thing.$mobx;\n invariant(false, \"Cannot obtain administration from \" + thing);\n}\nfunction getDebugName(thing, property) {\n var named;\n if (property !== undefined) named = getAtom(thing, property);else if (isObservableObject(thing) || isObservableMap(thing)) named = getAdministration(thing);else named = getAtom(thing); // valid for arrays as well\n return named.name;\n}\n\nfunction getDependencyTree(thing, property) {\n return nodeToDependencyTree(getAtom(thing, property));\n}\nfunction nodeToDependencyTree(node) {\n var result = {\n name: node.name\n };\n if (node.observing && node.observing.length > 0) result.dependencies = unique(node.observing).map(nodeToDependencyTree);\n return result;\n}\nfunction getObserverTree(thing, property) {\n return nodeToObserverTree(getAtom(thing, property));\n}\nfunction nodeToObserverTree(node) {\n var result = {\n name: node.name\n };\n if (hasObservers(node)) result.observers = getObservers(node).map(nodeToObserverTree);\n return result;\n}\n\nfunction hasObservers(observable) {\n return observable.observers && observable.observers.length > 0;\n}\nfunction getObservers(observable) {\n return observable.observers;\n}\nfunction addObserver(observable, node) {\n // invariant(node.dependenciesState !== -1, \"INTERNAL ERROR, can add only dependenciesState !== -1\");\n // invariant(observable._observers.indexOf(node) === -1, \"INTERNAL ERROR add already added node\");\n // invariantObservers(observable);\n var l = observable.observers.length;\n if (l) {\n // because object assignment is relatively expensive, let's not store data about index 0.\n observable.observersIndexes[node.__mapid] = l;\n }\n observable.observers[l] = node;\n if (observable.lowestObserverState > node.dependenciesState) observable.lowestObserverState = node.dependenciesState;\n // invariantObservers(observable);\n // invariant(observable._observers.indexOf(node) !== -1, \"INTERNAL ERROR didn't add node\");\n}\nfunction removeObserver(observable, node) {\n // invariant(globalState.inBatch > 0, \"INTERNAL ERROR, remove should be called only inside batch\");\n // invariant(observable._observers.indexOf(node) !== -1, \"INTERNAL ERROR remove already removed node\");\n // invariantObservers(observable);\n if (observable.observers.length === 1) {\n // deleting last observer\n observable.observers.length = 0;\n queueForUnobservation(observable);\n } else {\n // deleting from _observersIndexes is straight forward, to delete from _observers, let's swap `node` with last element\n var list = observable.observers;\n var map = observable.observersIndexes;\n var filler = list.pop(); // get last element, which should fill the place of `node`, so the array doesn't have holes\n if (filler !== node) {\n // otherwise node was the last element, which already got removed from array\n var index = map[node.__mapid] || 0; // getting index of `node`. this is the only place we actually use map.\n if (index) {\n // map store all indexes but 0, see comment in `addObserver`\n map[filler.__mapid] = index;\n } else {\n delete map[filler.__mapid];\n }\n list[index] = filler;\n }\n delete map[node.__mapid];\n }\n // invariantObservers(observable);\n // invariant(observable._observers.indexOf(node) === -1, \"INTERNAL ERROR remove already removed node2\");\n}\nfunction queueForUnobservation(observable) {\n if (!observable.isPendingUnobservation) {\n // invariant(globalState.inBatch > 0, \"INTERNAL ERROR, remove should be called only inside batch\");\n // invariant(observable._observers.length === 0, \"INTERNAL ERROR, should only queue for unobservation unobserved observables\");\n observable.isPendingUnobservation = true;\n globalState.pendingUnobservations.push(observable);\n }\n}\n/**\n * Batch starts a transaction, at least for purposes of memoizing ComputedValues when nothing else does.\n * During a batch `onBecomeUnobserved` will be called at most once per observable.\n * Avoids unnecessary recalculations.\n */\nfunction startBatch() {\n globalState.inBatch++;\n}\nfunction endBatch() {\n if (--globalState.inBatch === 0) {\n runReactions();\n // the batch is actually about to finish, all unobserving should happen here.\n var list = globalState.pendingUnobservations;\n for (var i = 0; i < list.length; i++) {\n var observable = list[i];\n observable.isPendingUnobservation = false;\n if (observable.observers.length === 0) {\n observable.onBecomeUnobserved();\n // NOTE: onBecomeUnobserved might push to `pendingUnobservations`\n }\n }\n globalState.pendingUnobservations = [];\n }\n}\nfunction reportObserved(observable) {\n var derivation = globalState.trackingDerivation;\n if (derivation !== null) {\n /**\n * Simple optimization, give each derivation run an unique id (runId)\n * Check if last time this observable was accessed the same runId is used\n * if this is the case, the relation is already known\n */\n if (derivation.runId !== observable.lastAccessedBy) {\n observable.lastAccessedBy = derivation.runId;\n derivation.newObserving[derivation.unboundDepsCount++] = observable;\n }\n } else if (observable.observers.length === 0) {\n queueForUnobservation(observable);\n }\n}\n/**\n * NOTE: current propagation mechanism will in case of self reruning autoruns behave unexpectedly\n * It will propagate changes to observers from previous run\n * It's hard or maybe impossible (with reasonable perf) to get it right with current approach\n * Hopefully self reruning autoruns aren't a feature people should depend on\n * Also most basic use cases should be ok\n */\n// Called by Atom when its value changes\nfunction propagateChanged(observable) {\n // invariantLOS(observable, \"changed start\");\n if (observable.lowestObserverState === IDerivationState.STALE) return;\n observable.lowestObserverState = IDerivationState.STALE;\n var observers = observable.observers;\n var i = observers.length;\n while (i--) {\n var d = observers[i];\n if (d.dependenciesState === IDerivationState.UP_TO_DATE) {\n if (d.isTracing !== TraceMode.NONE) {\n logTraceInfo(d, observable);\n }\n d.onBecomeStale();\n }\n d.dependenciesState = IDerivationState.STALE;\n }\n // invariantLOS(observable, \"changed end\");\n}\n// Called by ComputedValue when it recalculate and its value changed\nfunction propagateChangeConfirmed(observable) {\n // invariantLOS(observable, \"confirmed start\");\n if (observable.lowestObserverState === IDerivationState.STALE) return;\n observable.lowestObserverState = IDerivationState.STALE;\n var observers = observable.observers;\n var i = observers.length;\n while (i--) {\n var d = observers[i];\n if (d.dependenciesState === IDerivationState.POSSIBLY_STALE) d.dependenciesState = IDerivationState.STALE;else if (d.dependenciesState === IDerivationState.UP_TO_DATE // this happens during computing of `d`, just keep lowestObserverState up to date.\n ) observable.lowestObserverState = IDerivationState.UP_TO_DATE;\n }\n // invariantLOS(observable, \"confirmed end\");\n}\n// Used by computed when its dependency changed, but we don't wan't to immediately recompute.\nfunction propagateMaybeChanged(observable) {\n // invariantLOS(observable, \"maybe start\");\n if (observable.lowestObserverState !== IDerivationState.UP_TO_DATE) return;\n observable.lowestObserverState = IDerivationState.POSSIBLY_STALE;\n var observers = observable.observers;\n var i = observers.length;\n while (i--) {\n var d = observers[i];\n if (d.dependenciesState === IDerivationState.UP_TO_DATE) {\n d.dependenciesState = IDerivationState.POSSIBLY_STALE;\n if (d.isTracing !== TraceMode.NONE) {\n logTraceInfo(d, observable);\n }\n d.onBecomeStale();\n }\n }\n // invariantLOS(observable, \"maybe end\");\n}\nfunction logTraceInfo(derivation, observable) {\n console.log(\"[mobx.trace] '\" + derivation.name + \"' is invalidated due to a change in: '\" + observable.name + \"'\");\n if (derivation.isTracing === TraceMode.BREAK) {\n var lines = [];\n printDepTree(getDependencyTree(derivation), lines, 1);\n // prettier-ignore\n new Function(\"debugger;\\n/*\\nTracing '\" + derivation.name + \"'\\n\\nYou are entering this break point because derivation '\" + derivation.name + \"' is being traced and '\" + observable.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\" + (derivation instanceof ComputedValue ? derivation.derivation.toString() : \"\") + \"\\n\\nThe dependencies for this derivation are:\\n\\n\" + lines.join(\"\\n\") + \"\\n*/\\n \")();\n }\n}\nfunction printDepTree(tree, lines, depth) {\n if (lines.length >= 1000) {\n lines.push(\"(and many more)\");\n return;\n }\n lines.push(\"\" + new Array(depth).join(\"\\t\") + tree.name); // MWE: not the fastest, but the easiest way :)\n if (tree.dependencies) tree.dependencies.forEach(function (child) {\n return printDepTree(child, lines, depth + 1);\n });\n}\n\nvar IDerivationState;\n(function (IDerivationState) {\n // before being run or (outside batch and not being observed)\n // at this point derivation is not holding any data about dependency tree\n IDerivationState[IDerivationState[\"NOT_TRACKING\"] = -1] = \"NOT_TRACKING\";\n // no shallow dependency changed since last computation\n // won't recalculate derivation\n // this is what makes mobx fast\n IDerivationState[IDerivationState[\"UP_TO_DATE\"] = 0] = \"UP_TO_DATE\";\n // some deep dependency changed, but don't know if shallow dependency changed\n // will require to check first if UP_TO_DATE or POSSIBLY_STALE\n // currently only ComputedValue will propagate POSSIBLY_STALE\n //\n // having this state is second big optimization:\n // don't have to recompute on every dependency change, but only when it's needed\n IDerivationState[IDerivationState[\"POSSIBLY_STALE\"] = 1] = \"POSSIBLY_STALE\";\n // A shallow dependency has changed since last computation and the derivation\n // will need to recompute when it's needed next.\n IDerivationState[IDerivationState[\"STALE\"] = 2] = \"STALE\";\n})(IDerivationState || (exports.IDerivationState = IDerivationState = {}));\nvar TraceMode;\n(function (TraceMode) {\n TraceMode[TraceMode[\"NONE\"] = 0] = \"NONE\";\n TraceMode[TraceMode[\"LOG\"] = 1] = \"LOG\";\n TraceMode[TraceMode[\"BREAK\"] = 2] = \"BREAK\";\n})(TraceMode || (TraceMode = {}));\nvar CaughtException = /** @class */function () {\n function CaughtException(cause) {\n this.cause = cause;\n // Empty\n }\n return CaughtException;\n}();\nfunction isCaughtException(e) {\n return e instanceof CaughtException;\n}\n/**\n * Finds out whether any dependency of the derivation has actually changed.\n * If dependenciesState is 1 then it will recalculate dependencies,\n * if any dependency changed it will propagate it by changing dependenciesState to 2.\n *\n * By iterating over the dependencies in the same order that they were reported and\n * stopping on the first change, all the recalculations are only called for ComputedValues\n * that will be tracked by derivation. That is because we assume that if the first x\n * dependencies of the derivation doesn't change then the derivation should run the same way\n * up until accessing x-th dependency.\n */\nfunction shouldCompute(derivation) {\n switch (derivation.dependenciesState) {\n case IDerivationState.UP_TO_DATE:\n return false;\n case IDerivationState.NOT_TRACKING:\n case IDerivationState.STALE:\n return true;\n case IDerivationState.POSSIBLY_STALE:\n {\n var prevUntracked = untrackedStart(); // no need for those computeds to be reported, they will be picked up in trackDerivedFunction.\n var obs = derivation.observing,\n l = obs.length;\n for (var i = 0; i < l; i++) {\n var obj = obs[i];\n if (isComputedValue(obj)) {\n try {\n obj.get();\n } catch (e) {\n // we are not interested in the value *or* exception at this moment, but if there is one, notify all\n untrackedEnd(prevUntracked);\n return true;\n }\n // if ComputedValue `obj` actually changed it will be computed and propagated to its observers.\n // and `derivation` is an observer of `obj`\n if (derivation.dependenciesState === IDerivationState.STALE) {\n untrackedEnd(prevUntracked);\n return true;\n }\n }\n }\n changeDependenciesStateTo0(derivation);\n untrackedEnd(prevUntracked);\n return false;\n }\n }\n}\nfunction isComputingDerivation() {\n return globalState.trackingDerivation !== null; // filter out actions inside computations\n}\nfunction checkIfStateModificationsAreAllowed(atom) {\n var hasObservers$$1 = atom.observers.length > 0;\n // Should never be possible to change an observed observable from inside computed, see #798\n if (globalState.computationDepth > 0 && hasObservers$$1) fail(getMessage(\"m031\") + atom.name);\n // Should not be possible to change observed state outside strict mode, except during initialization, see #563\n if (!globalState.allowStateChanges && hasObservers$$1) fail(getMessage(globalState.strictMode ? \"m030a\" : \"m030b\") + atom.name);\n}\n/**\n * Executes the provided function `f` and tracks which observables are being accessed.\n * The tracking information is stored on the `derivation` object and the derivation is registered\n * as observer of any of the accessed observables.\n */\nfunction trackDerivedFunction(derivation, f, context) {\n // pre allocate array allocation + room for variation in deps\n // array will be trimmed by bindDependencies\n changeDependenciesStateTo0(derivation);\n derivation.newObserving = new Array(derivation.observing.length + 100);\n derivation.unboundDepsCount = 0;\n derivation.runId = ++globalState.runId;\n var prevTracking = globalState.trackingDerivation;\n globalState.trackingDerivation = derivation;\n var result;\n try {\n result = f.call(context);\n } catch (e) {\n result = new CaughtException(e);\n }\n globalState.trackingDerivation = prevTracking;\n bindDependencies(derivation);\n return result;\n}\n/**\n * diffs newObserving with observing.\n * update observing to be newObserving with unique observables\n * notify observers that become observed/unobserved\n */\nfunction bindDependencies(derivation) {\n // invariant(derivation.dependenciesState !== IDerivationState.NOT_TRACKING, \"INTERNAL ERROR bindDependencies expects derivation.dependenciesState !== -1\");\n var prevObserving = derivation.observing;\n var observing = derivation.observing = derivation.newObserving;\n var lowestNewObservingDerivationState = IDerivationState.UP_TO_DATE;\n // Go through all new observables and check diffValue: (this list can contain duplicates):\n // 0: first occurrence, change to 1 and keep it\n // 1: extra occurrence, drop it\n var i0 = 0,\n l = derivation.unboundDepsCount;\n for (var i = 0; i < l; i++) {\n var dep = observing[i];\n if (dep.diffValue === 0) {\n dep.diffValue = 1;\n if (i0 !== i) observing[i0] = dep;\n i0++;\n }\n // Upcast is 'safe' here, because if dep is IObservable, `dependenciesState` will be undefined,\n // not hitting the condition\n if (dep.dependenciesState > lowestNewObservingDerivationState) {\n lowestNewObservingDerivationState = dep.dependenciesState;\n }\n }\n observing.length = i0;\n derivation.newObserving = null; // newObserving shouldn't be needed outside tracking (statement moved down to work around FF bug, see #614)\n // Go through all old observables and check diffValue: (it is unique after last bindDependencies)\n // 0: it's not in new observables, unobserve it\n // 1: it keeps being observed, don't want to notify it. change to 0\n l = prevObserving.length;\n while (l--) {\n var dep = prevObserving[l];\n if (dep.diffValue === 0) {\n removeObserver(dep, derivation);\n }\n dep.diffValue = 0;\n }\n // Go through all new observables and check diffValue: (now it should be unique)\n // 0: it was set to 0 in last loop. don't need to do anything.\n // 1: it wasn't observed, let's observe it. set back to 0\n while (i0--) {\n var dep = observing[i0];\n if (dep.diffValue === 1) {\n dep.diffValue = 0;\n addObserver(dep, derivation);\n }\n }\n // Some new observed derivations may become stale during this derivation computation\n // so they have had no chance to propagate staleness (#916)\n if (lowestNewObservingDerivationState !== IDerivationState.UP_TO_DATE) {\n derivation.dependenciesState = lowestNewObservingDerivationState;\n derivation.onBecomeStale();\n }\n}\nfunction clearObserving(derivation) {\n // invariant(globalState.inBatch > 0, \"INTERNAL ERROR clearObserving should be called only inside batch\");\n var obs = derivation.observing;\n derivation.observing = [];\n var i = obs.length;\n while (i--) {\n removeObserver(obs[i], derivation);\n }derivation.dependenciesState = IDerivationState.NOT_TRACKING;\n}\nfunction untracked(action) {\n var prev = untrackedStart();\n var res = action();\n untrackedEnd(prev);\n return res;\n}\nfunction untrackedStart() {\n var prev = globalState.trackingDerivation;\n globalState.trackingDerivation = null;\n return prev;\n}\nfunction untrackedEnd(prev) {\n globalState.trackingDerivation = prev;\n}\n/**\n * needed to keep `lowestObserverState` correct. when changing from (2 or 1) to 0\n *\n */\nfunction changeDependenciesStateTo0(derivation) {\n if (derivation.dependenciesState === IDerivationState.UP_TO_DATE) return;\n derivation.dependenciesState = IDerivationState.UP_TO_DATE;\n var obs = derivation.observing;\n var i = obs.length;\n while (i--) {\n obs[i].lowestObserverState = IDerivationState.UP_TO_DATE;\n }\n}\n\nfunction log(msg) {\n console.log(msg);\n return msg;\n}\nfunction whyRun(thing, prop) {\n deprecated(\"`whyRun` is deprecated in favor of `trace`\");\n thing = getAtomFromArgs(arguments);\n if (!thing) return log(getMessage(\"m024\"));\n if (isComputedValue(thing) || isReaction(thing)) return log(thing.whyRun());\n return fail(getMessage(\"m025\"));\n}\nfunction trace() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var enterBreakPoint = false;\n if (typeof args[args.length - 1] === \"boolean\") enterBreakPoint = args.pop();\n var derivation = getAtomFromArgs(args);\n if (!derivation) {\n return fail(\"'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly\");\n }\n if (derivation.isTracing === TraceMode.NONE) {\n console.log(\"[mobx.trace] '\" + derivation.name + \"' tracing enabled\");\n }\n derivation.isTracing = enterBreakPoint ? TraceMode.BREAK : TraceMode.LOG;\n}\nfunction getAtomFromArgs(args) {\n switch (args.length) {\n case 0:\n return globalState.trackingDerivation;\n case 1:\n return getAtom(args[0]);\n case 2:\n return getAtom(args[0], args[1]);\n }\n}\n\nvar Reaction = /** @class */function () {\n function Reaction(name, onInvalidate) {\n if (name === void 0) {\n name = \"Reaction@\" + getNextId();\n }\n this.name = name;\n this.onInvalidate = onInvalidate;\n this.observing = []; // nodes we are looking at. Our value depends on these nodes\n this.newObserving = [];\n this.dependenciesState = IDerivationState.NOT_TRACKING;\n this.diffValue = 0;\n this.runId = 0;\n this.unboundDepsCount = 0;\n this.__mapid = \"#\" + getNextId();\n this.isDisposed = false;\n this._isScheduled = false;\n this._isTrackPending = false;\n this._isRunning = false;\n this.isTracing = TraceMode.NONE;\n }\n Reaction.prototype.onBecomeStale = function () {\n this.schedule();\n };\n Reaction.prototype.schedule = function () {\n if (!this._isScheduled) {\n this._isScheduled = true;\n globalState.pendingReactions.push(this);\n runReactions();\n }\n };\n Reaction.prototype.isScheduled = function () {\n return this._isScheduled;\n };\n /**\n * internal, use schedule() if you intend to kick off a reaction\n */\n Reaction.prototype.runReaction = function () {\n if (!this.isDisposed) {\n startBatch();\n this._isScheduled = false;\n if (shouldCompute(this)) {\n this._isTrackPending = true;\n this.onInvalidate();\n if (this._isTrackPending && isSpyEnabled()) {\n // onInvalidate didn't trigger track right away..\n spyReport({\n object: this,\n type: \"scheduled-reaction\"\n });\n }\n }\n endBatch();\n }\n };\n Reaction.prototype.track = function (fn) {\n startBatch();\n var notify = isSpyEnabled();\n var startTime;\n if (notify) {\n startTime = Date.now();\n spyReportStart({\n object: this,\n type: \"reaction\",\n fn: fn\n });\n }\n this._isRunning = true;\n var result = trackDerivedFunction(this, fn, undefined);\n this._isRunning = false;\n this._isTrackPending = false;\n if (this.isDisposed) {\n // disposed during last run. Clean up everything that was bound after the dispose call.\n clearObserving(this);\n }\n if (isCaughtException(result)) this.reportExceptionInDerivation(result.cause);\n if (notify) {\n spyReportEnd({\n time: Date.now() - startTime\n });\n }\n endBatch();\n };\n Reaction.prototype.reportExceptionInDerivation = function (error) {\n var _this = this;\n if (this.errorHandler) {\n this.errorHandler(error, this);\n return;\n }\n var message = \"[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '\" + this;\n var messageToUser = getMessage(\"m037\");\n console.error(message || messageToUser /* latter will not be true, make sure uglify doesn't remove */, error);\n /** If debugging brought you here, please, read the above message :-). Tnx! */\n if (isSpyEnabled()) {\n spyReport({\n type: \"error\",\n message: message,\n error: error,\n object: this\n });\n }\n globalState.globalReactionErrorHandlers.forEach(function (f) {\n return f(error, _this);\n });\n };\n Reaction.prototype.dispose = function () {\n if (!this.isDisposed) {\n this.isDisposed = true;\n if (!this._isRunning) {\n // if disposed while running, clean up later. Maybe not optimal, but rare case\n startBatch();\n clearObserving(this);\n endBatch();\n }\n }\n };\n Reaction.prototype.getDisposer = function () {\n var r = this.dispose.bind(this);\n r.$mobx = this;\n r.onError = registerErrorHandler;\n return r;\n };\n Reaction.prototype.toString = function () {\n return \"Reaction[\" + this.name + \"]\";\n };\n Reaction.prototype.whyRun = function () {\n var observing = unique(this._isRunning ? this.newObserving : this.observing).map(function (dep) {\n return dep.name;\n });\n return \"\\nWhyRun? reaction '\" + this.name + \"':\\n * Status: [\" + (this.isDisposed ? \"stopped\" : this._isRunning ? \"running\" : this.isScheduled() ? \"scheduled\" : \"idle\") + \"]\\n * This reaction will re-run if any of the following observables changes:\\n \" + joinStrings(observing) + \"\\n \" + (this._isRunning ? \" (... or any observable accessed during the remainder of the current run)\" : \"\") + \"\\n\\t\" + getMessage(\"m038\") + \"\\n\";\n };\n Reaction.prototype.trace = function (enterBreakPoint) {\n if (enterBreakPoint === void 0) {\n enterBreakPoint = false;\n }\n trace(this, enterBreakPoint);\n };\n return Reaction;\n}();\nfunction registerErrorHandler(handler) {\n invariant(this && this.$mobx && isReaction(this.$mobx), \"Invalid `this`\");\n invariant(!this.$mobx.errorHandler, \"Only one onErrorHandler can be registered\");\n this.$mobx.errorHandler = handler;\n}\nfunction onReactionError(handler) {\n globalState.globalReactionErrorHandlers.push(handler);\n return function () {\n var idx = globalState.globalReactionErrorHandlers.indexOf(handler);\n if (idx >= 0) globalState.globalReactionErrorHandlers.splice(idx, 1);\n };\n}\n/**\n * Magic number alert!\n * Defines within how many times a reaction is allowed to re-trigger itself\n * until it is assumed that this is gonna be a never ending loop...\n */\nvar MAX_REACTION_ITERATIONS = 100;\nvar reactionScheduler = function reactionScheduler(f) {\n return f();\n};\nfunction runReactions() {\n // Trampolining, if runReactions are already running, new reactions will be picked up\n if (globalState.inBatch > 0 || globalState.isRunningReactions) return;\n reactionScheduler(runReactionsHelper);\n}\nfunction runReactionsHelper() {\n globalState.isRunningReactions = true;\n var allReactions = globalState.pendingReactions;\n var iterations = 0;\n // While running reactions, new reactions might be triggered.\n // Hence we work with two variables and check whether\n // we converge to no remaining reactions after a while.\n while (allReactions.length > 0) {\n if (++iterations === MAX_REACTION_ITERATIONS) {\n console.error(\"Reaction doesn't converge to a stable state after \" + MAX_REACTION_ITERATIONS + \" iterations.\" + (\" Probably there is a cycle in the reactive function: \" + allReactions[0]));\n allReactions.splice(0); // clear reactions\n }\n var remainingReactions = allReactions.splice(0);\n for (var i = 0, l = remainingReactions.length; i < l; i++) {\n remainingReactions[i].runReaction();\n }\n }\n globalState.isRunningReactions = false;\n}\nvar isReaction = createInstanceofPredicate(\"Reaction\", Reaction);\nfunction setReactionScheduler(fn) {\n var baseScheduler = reactionScheduler;\n reactionScheduler = function reactionScheduler(f) {\n return fn(function () {\n return baseScheduler(f);\n });\n };\n}\n\nfunction asReference(value) {\n deprecated(\"asReference is deprecated, use observable.ref instead\");\n return observable.ref(value);\n}\nfunction asStructure(value) {\n deprecated(\"asStructure is deprecated. Use observable.struct, computed.struct or reaction options instead.\");\n return observable.struct(value);\n}\nfunction asFlat(value) {\n deprecated(\"asFlat is deprecated, use observable.shallow instead\");\n return observable.shallow(value);\n}\nfunction asMap(data) {\n deprecated(\"asMap is deprecated, use observable.map or observable.shallowMap instead\");\n return observable.map(data || {});\n}\n\nfunction createComputedDecorator(equals) {\n return createClassPropertyDecorator(function (target, name, _, __, originalDescriptor) {\n invariant(typeof originalDescriptor !== \"undefined\", getMessage(\"m009\"));\n invariant(typeof originalDescriptor.get === \"function\", getMessage(\"m010\"));\n var adm = asObservableObject(target, \"\");\n defineComputedProperty(adm, name, originalDescriptor.get, originalDescriptor.set, equals, false);\n }, function (name) {\n var observable = this.$mobx.values[name];\n if (observable === undefined // See #505\n ) return undefined;\n return observable.get();\n }, function (name, value) {\n this.$mobx.values[name].set(value);\n }, false, false);\n}\nvar computedDecorator = createComputedDecorator(comparer.default);\nvar computedStructDecorator = createComputedDecorator(comparer.structural);\n/**\n * Decorator for class properties: @computed get value() { return expr; }.\n * For legacy purposes also invokable as ES5 observable created: `computed(() => expr)`;\n */\nvar computed = function computed(arg1, arg2, arg3) {\n if (typeof arg2 === \"string\") {\n return computedDecorator.apply(null, arguments);\n }\n invariant(typeof arg1 === \"function\", getMessage(\"m011\"));\n invariant(arguments.length < 3, getMessage(\"m012\"));\n var opts = (typeof arg2 === \"undefined\" ? \"undefined\" : _typeof(arg2)) === \"object\" ? arg2 : {};\n opts.setter = typeof arg2 === \"function\" ? arg2 : opts.setter;\n var equals = opts.equals ? opts.equals : opts.compareStructural || opts.struct ? comparer.structural : comparer.default;\n return new ComputedValue(arg1, opts.context, equals, opts.name || arg1.name || \"\", opts.setter);\n};\ncomputed.struct = computedStructDecorator;\ncomputed.equals = createComputedDecorator;\n\nfunction isComputed(value, property) {\n if (value === null || value === undefined) return false;\n if (property !== undefined) {\n if (isObservableObject(value) === false) return false;\n if (!value.$mobx.values[property]) return false;\n var atom = getAtom(value, property);\n return isComputedValue(atom);\n }\n return isComputedValue(value);\n}\n\nfunction observe(thing, propOrCb, cbOrFire, fireImmediately) {\n if (typeof cbOrFire === \"function\") return observeObservableProperty(thing, propOrCb, cbOrFire, fireImmediately);else return observeObservable(thing, propOrCb, cbOrFire);\n}\nfunction observeObservable(thing, listener, fireImmediately) {\n return getAdministration(thing).observe(listener, fireImmediately);\n}\nfunction observeObservableProperty(thing, property, listener, fireImmediately) {\n return getAdministration(thing, property).observe(listener, fireImmediately);\n}\n\nfunction intercept(thing, propOrHandler, handler) {\n if (typeof handler === \"function\") return interceptProperty(thing, propOrHandler, handler);else return interceptInterceptable(thing, propOrHandler);\n}\nfunction interceptInterceptable(thing, handler) {\n return getAdministration(thing).intercept(handler);\n}\nfunction interceptProperty(thing, property, handler) {\n return getAdministration(thing, property).intercept(handler);\n}\n\n/**\n * expr can be used to create temporarily views inside views.\n * This can be improved to improve performance if a value changes often, but usually doesn't affect the outcome of an expression.\n *\n * In the following example the expression prevents that a component is rerender _each time_ the selection changes;\n * instead it will only rerenders when the current todo is (de)selected.\n *\n * reactiveComponent((props) => {\n * const todo = props.todo;\n * const isSelected = mobx.expr(() => props.viewState.selection === todo);\n * return
{todo.title}
\n * });\n *\n */\nfunction expr(expr, scope) {\n if (!isComputingDerivation()) console.warn(getMessage(\"m013\"));\n // optimization: would be more efficient if the expr itself wouldn't be evaluated first on the next change, but just a 'changed' signal would be fired\n return computed(expr, { context: scope }).get();\n}\n\nfunction toJS(source, detectCycles, __alreadySeen) {\n if (detectCycles === void 0) {\n detectCycles = true;\n }\n if (__alreadySeen === void 0) {\n __alreadySeen = [];\n }\n // optimization: using ES6 map would be more efficient!\n // optimization: lift this function outside toJS, this makes recursion expensive\n function cache(value) {\n if (detectCycles) __alreadySeen.push([source, value]);\n return value;\n }\n if (isObservable(source)) {\n if (detectCycles && __alreadySeen === null) __alreadySeen = [];\n if (detectCycles && source !== null && (typeof source === \"undefined\" ? \"undefined\" : _typeof(source)) === \"object\") {\n for (var i = 0, l = __alreadySeen.length; i < l; i++) {\n if (__alreadySeen[i][0] === source) return __alreadySeen[i][1];\n }\n }\n if (isObservableArray(source)) {\n var res = cache([]);\n var toAdd = source.map(function (value) {\n return toJS(value, detectCycles, __alreadySeen);\n });\n res.length = toAdd.length;\n for (var i = 0, l = toAdd.length; i < l; i++) {\n res[i] = toAdd[i];\n }return res;\n }\n if (isObservableObject(source)) {\n var res = cache({});\n for (var key in source) {\n res[key] = toJS(source[key], detectCycles, __alreadySeen);\n }return res;\n }\n if (isObservableMap(source)) {\n var res_1 = cache({});\n source.forEach(function (value, key) {\n return res_1[key] = toJS(value, detectCycles, __alreadySeen);\n });\n return res_1;\n }\n if (isObservableValue(source)) return toJS(source.get(), detectCycles, __alreadySeen);\n }\n return source;\n}\n\nfunction createTransformer(transformer, onCleanup) {\n invariant(typeof transformer === \"function\" && transformer.length < 2, \"createTransformer expects a function that accepts one argument\");\n // Memoizes: object id -> reactive view that applies transformer to the object\n var objectCache = {};\n // If the resetId changes, we will clear the object cache, see #163\n // This construction is used to avoid leaking refs to the objectCache directly\n var resetId = globalState.resetId;\n // Local transformer class specifically for this transformer\n var Transformer = /** @class */function (_super) {\n __extends(Transformer, _super);\n function Transformer(sourceIdentifier, sourceObject) {\n var _this = _super.call(this, function () {\n return transformer(sourceObject);\n }, undefined, comparer.default, \"Transformer-\" + transformer.name + \"-\" + sourceIdentifier, undefined) || this;\n _this.sourceIdentifier = sourceIdentifier;\n _this.sourceObject = sourceObject;\n return _this;\n }\n Transformer.prototype.onBecomeUnobserved = function () {\n var lastValue = this.value;\n _super.prototype.onBecomeUnobserved.call(this);\n delete objectCache[this.sourceIdentifier];\n if (onCleanup) onCleanup(lastValue, this.sourceObject);\n };\n return Transformer;\n }(ComputedValue);\n return function (object) {\n if (resetId !== globalState.resetId) {\n objectCache = {};\n resetId = globalState.resetId;\n }\n var identifier = getMemoizationId(object);\n var reactiveTransformer = objectCache[identifier];\n if (reactiveTransformer) return reactiveTransformer.get();\n // Not in cache; create a reactive view\n reactiveTransformer = objectCache[identifier] = new Transformer(identifier, object);\n return reactiveTransformer.get();\n };\n}\nfunction getMemoizationId(object) {\n if (typeof object === \"string\" || typeof object === \"number\") return object;\n if (object === null || (typeof object === \"undefined\" ? \"undefined\" : _typeof(object)) !== \"object\") throw new Error(\"[mobx] transform expected some kind of object or primitive value, got: \" + object);\n var tid = object.$transformId;\n if (tid === undefined) {\n tid = getNextId();\n addHiddenProp(object, \"$transformId\", tid);\n }\n return tid;\n}\n\nfunction interceptReads(thing, propOrHandler, handler) {\n var target;\n if (isObservableMap(thing) || isObservableArray(thing) || isObservableValue(thing)) {\n target = getAdministration(thing);\n } else if (isObservableObject(thing)) {\n if (typeof propOrHandler !== \"string\") return fail(\"InterceptReads can only be used with a specific property, not with an object in general\");\n target = getAdministration(thing, propOrHandler);\n } else {\n return fail(\"Expected observable map, object or array as first array\");\n }\n if (target.dehancer !== undefined) return fail(\"An intercept reader was already established\");\n target.dehancer = typeof propOrHandler === \"function\" ? propOrHandler : handler;\n return function () {\n target.dehancer = undefined;\n };\n}\n\n/**\n * (c) Michel Weststrate 2015 - 2016\n * MIT Licensed\n *\n * Welcome to the mobx sources! To get an global overview of how MobX internally works,\n * this is a good place to start:\n * https://medium.com/@mweststrate/becoming-fully-reactive-an-in-depth-explanation-of-mobservable-55995262a254#.xvbh6qd74\n *\n * Source folders:\n * ===============\n *\n * - api/ Most of the public static methods exposed by the module can be found here.\n * - core/ Implementation of the MobX algorithm; atoms, derivations, reactions, dependency trees, optimizations. Cool stuff can be found here.\n * - types/ All the magic that is need to have observable objects, arrays and values is in this folder. Including the modifiers like `asFlat`.\n * - utils/ Utility stuff.\n *\n */\nvar extras = {\n allowStateChanges: allowStateChanges,\n deepEqual: deepEqual,\n getAtom: getAtom,\n getDebugName: getDebugName,\n getDependencyTree: getDependencyTree,\n getAdministration: getAdministration,\n getGlobalState: getGlobalState,\n getObserverTree: getObserverTree,\n interceptReads: interceptReads,\n isComputingDerivation: isComputingDerivation,\n isSpyEnabled: isSpyEnabled,\n onReactionError: onReactionError,\n reserveArrayBuffer: reserveArrayBuffer,\n resetGlobalState: resetGlobalState,\n isolateGlobalState: isolateGlobalState,\n shareGlobalState: shareGlobalState,\n spyReport: spyReport,\n spyReportEnd: spyReportEnd,\n spyReportStart: spyReportStart,\n setReactionScheduler: setReactionScheduler\n};\nvar everything = {\n Reaction: Reaction,\n untracked: untracked,\n Atom: Atom,\n BaseAtom: BaseAtom,\n useStrict: useStrict,\n isStrictModeEnabled: isStrictModeEnabled,\n spy: spy,\n comparer: comparer,\n asReference: asReference,\n asFlat: asFlat,\n asStructure: asStructure,\n asMap: asMap,\n isModifierDescriptor: isModifierDescriptor,\n isObservableObject: isObservableObject,\n isBoxedObservable: isObservableValue,\n isObservableArray: isObservableArray,\n ObservableMap: ObservableMap,\n isObservableMap: isObservableMap,\n map: map,\n transaction: transaction,\n observable: observable,\n computed: computed,\n isObservable: isObservable,\n isComputed: isComputed,\n extendObservable: extendObservable,\n extendShallowObservable: extendShallowObservable,\n observe: observe,\n intercept: intercept,\n autorun: autorun,\n autorunAsync: autorunAsync,\n when: when,\n reaction: reaction,\n action: action,\n isAction: isAction,\n runInAction: runInAction,\n expr: expr,\n toJS: toJS,\n createTransformer: createTransformer,\n whyRun: whyRun,\n isArrayLike: isArrayLike,\n extras: extras\n};\nvar warnedAboutDefaultExport = false;\nvar _loop_1 = function _loop_1(p) {\n var val = everything[p];\n Object.defineProperty(everything, p, {\n get: function get() {\n if (!warnedAboutDefaultExport) {\n warnedAboutDefaultExport = true;\n console.warn(\"Using default export (`import mobx from 'mobx'`) is deprecated \" + \"and won’t work in mobx@4.0.0\\n\" + \"Use `import * as mobx from 'mobx'` instead\");\n }\n return val;\n }\n });\n};\nfor (var p in everything) {\n _loop_1(p);\n}\nif ((typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__ === \"undefined\" ? \"undefined\" : _typeof(__MOBX_DEVTOOLS_GLOBAL_HOOK__)) === \"object\") {\n __MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({ spy: spy, extras: extras });\n}\n\nexports.extras = extras;\nexports.Reaction = Reaction;\nexports.untracked = untracked;\nexports.IDerivationState = IDerivationState;\nexports.Atom = Atom;\nexports.BaseAtom = BaseAtom;\nexports.useStrict = useStrict;\nexports.isStrictModeEnabled = isStrictModeEnabled;\nexports.spy = spy;\nexports.comparer = comparer;\nexports.asReference = asReference;\nexports.asFlat = asFlat;\nexports.asStructure = asStructure;\nexports.asMap = asMap;\nexports.isModifierDescriptor = isModifierDescriptor;\nexports.isObservableObject = isObservableObject;\nexports.isBoxedObservable = isObservableValue;\nexports.isObservableArray = isObservableArray;\nexports.ObservableMap = ObservableMap;\nexports.isObservableMap = isObservableMap;\nexports.map = map;\nexports.transaction = transaction;\nexports.observable = observable;\nexports.computed = computed;\nexports.isObservable = isObservable;\nexports.isComputed = isComputed;\nexports.extendObservable = extendObservable;\nexports.extendShallowObservable = extendShallowObservable;\nexports.observe = observe;\nexports.intercept = intercept;\nexports.autorun = autorun;\nexports.autorunAsync = autorunAsync;\nexports.when = when;\nexports.reaction = reaction;\nexports.action = action;\nexports.isAction = isAction;\nexports.runInAction = runInAction;\nexports.expr = expr;\nexports.toJS = toJS;\nexports.createTransformer = createTransformer;\nexports.whyRun = whyRun;\nexports.trace = trace;\nexports.isArrayLike = isArrayLike;\nexports.default = everything;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(11)))\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Provider = exports.inject = exports.connect = exports.useStaticRendering = exports.Observer = exports.observer = undefined;\n\nvar _observer = __webpack_require__(3);\n\nObject.defineProperty(exports, 'observer', {\n enumerable: true,\n get: function get() {\n return _observer.observer;\n }\n});\nObject.defineProperty(exports, 'Observer', {\n enumerable: true,\n get: function get() {\n return _observer.Observer;\n }\n});\nObject.defineProperty(exports, 'useStaticRendering', {\n enumerable: true,\n get: function get() {\n return _observer.useStaticRendering;\n }\n});\n\nvar _connect = __webpack_require__(12);\n\nObject.defineProperty(exports, 'connect', {\n enumerable: true,\n get: function get() {\n return _connect.connect;\n }\n});\n\nvar _inject = __webpack_require__(5);\n\nObject.defineProperty(exports, 'inject', {\n enumerable: true,\n get: function get() {\n return _inject.inject;\n }\n});\n\nvar _Provider = __webpack_require__(14);\n\nObject.defineProperty(exports, 'Provider', {\n enumerable: true,\n get: function get() {\n return _Provider.Provider;\n }\n});\n\nvar _mobx = __webpack_require__(1);\n\nvar _preact = __webpack_require__(0);\n\nif (!_preact.Component) {\n throw new Error('mobx-preact requires Preact to be available');\n}\nif (!_mobx.extras) {\n throw new Error('mobx-preact requires mobx to be available');\n}\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _typeof2 = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Observer = undefined;\n\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n }\n }return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n };\n}();\n\nvar _typeof = typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\" ? function (obj) {\n return typeof obj === \"undefined\" ? \"undefined\" : _typeof2(obj);\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj === \"undefined\" ? \"undefined\" : _typeof2(obj);\n};\n\nexports.useStaticRendering = useStaticRendering;\nexports.observer = observer;\n\nvar _mobx = __webpack_require__(1);\n\nvar _preact = __webpack_require__(0);\n\nvar _utils = __webpack_require__(4);\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }return call && ((typeof call === \"undefined\" ? \"undefined\" : _typeof2(call)) === \"object\" || typeof call === \"function\") ? call : self;\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : _typeof2(superClass)));\n }subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } });if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\n\nvar isUsingStaticRendering = false;\n\nvar logger = console; // eslint-disable-line no-console\n\nfunction useStaticRendering(useStaticRendering) {\n isUsingStaticRendering = useStaticRendering;\n}\n\n/**\n Workaround\n\n allowStateChanges from mobX must be patched so that props, state and args are passed to the render() function\n */\n\nfunction allowStateChangesStart(allowStateChanges) {\n var prev = _mobx.extras.getGlobalState().allowStateChanges;\n _mobx.extras.getGlobalState().allowStateChanges = allowStateChanges;\n return prev;\n}\nfunction allowStateChangesEnd(prev) {\n _mobx.extras.getGlobalState().allowStateChanges = prev;\n}\n\nfunction allowStateChanges(allowStateChanges, func, props, state, context) {\n var prev = allowStateChangesStart(allowStateChanges);\n var res = void 0;\n try {\n res = func(props, state, context);\n } finally {\n allowStateChangesEnd(prev);\n }\n return res;\n}\n\n/**\n * Utilities\n */\n\nfunction patch(target, funcName) {\n var runMixinFirst = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n var base = target[funcName];\n var mixinFunc = reactiveMixin[funcName];\n var f = !base ? mixinFunc : runMixinFirst === true ? function () {\n mixinFunc.apply(this, arguments);\n base.apply(this, arguments);\n } : function () {\n base.apply(this, arguments);\n mixinFunc.apply(this, arguments);\n };\n\n // MWE: ideally we freeze here to protect against accidental overwrites in component instances, see #195\n // ...but that breaks react-hot-loader, see #231...\n target[funcName] = f;\n}\n\nfunction isObjectShallowModified(prev, next) {\n if (null == prev || null == next || (typeof prev === 'undefined' ? 'undefined' : _typeof(prev)) !== 'object' || (typeof next === 'undefined' ? 'undefined' : _typeof(next)) !== 'object') {\n return prev !== next;\n }\n var keys = Object.keys(prev);\n if (keys.length !== Object.keys(next).length) {\n return true;\n }\n var key = void 0;\n for (var i = keys.length - 1; i >= 0, key = keys[i]; i--) {\n if (next[key] !== prev[key]) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * ReactiveMixin\n */\nvar reactiveMixin = {\n componentWillMount: function componentWillMount() {\n var _this = this;\n\n if (isUsingStaticRendering === true) {\n return;\n }\n // Generate friendly name for debugging\n var initialName = (0, _utils.makeDisplayName)(this);\n\n /**\n * If props are shallowly modified, react will render anyway,\n * so atom.reportChanged() should not result in yet another re-render\n */\n var skipRender = false;\n /**\n * forceUpdate will re-assign this.props. We don't want that to cause a loop,\n * so detect these changes\n */\n var isForcingUpdate = false;\n\n function makePropertyObservableReference(propName) {\n var valueHolder = this[propName];\n var atom = new _mobx.Atom('reactive ' + propName);\n Object.defineProperty(this, propName, {\n configurable: true,\n enumerable: true,\n get: function get() {\n atom.reportObserved();\n return valueHolder;\n },\n set: function set(v) {\n if (!isForcingUpdate && isObjectShallowModified(valueHolder, v)) {\n valueHolder = v;\n skipRender = true;\n atom.reportChanged();\n skipRender = false;\n } else {\n valueHolder = v;\n }\n }\n });\n }\n\n // make this.props an observable reference, see #124\n makePropertyObservableReference.call(this, 'props');\n // make state an observable reference\n makePropertyObservableReference.call(this, 'state');\n\n // wire up reactive render\n var baseRender = this.render.bind(this);\n var reaction = null;\n var isRenderingPending = false;\n\n var initialRender = function initialRender() {\n reaction = new _mobx.Reaction(initialName + '.render()', function () {\n if (!isRenderingPending) {\n // N.B. Getting here *before mounting* means that a component constructor has side effects (see the relevant test in misc.js)\n // This unidiomatic React usage but React will correctly warn about this so we continue as usual\n // See #85 / Pull #44\n isRenderingPending = true;\n if (typeof _this.componentWillReact === 'function') {\n _this.componentWillReact();\n } // TODO: wrap in action?\n if (_this.__$mobxIsUnmounted !== true) {\n // If we are unmounted at this point, componentWillReact() had a side effect causing the component to unmounted\n // TODO: remove this check? Then react will properly warn about the fact that this should not happen? See #73\n // However, people also claim this migth happen during unit tests..\n var hasError = true;\n try {\n isForcingUpdate = true;\n if (!skipRender) {\n _preact.Component.prototype.forceUpdate.call(_this);\n }\n hasError = false;\n } finally {\n isForcingUpdate = false;\n if (hasError) {\n reaction.dispose();\n }\n }\n }\n }\n });\n reaction.reactComponent = _this;\n reactiveRender.$mobx = reaction;\n _this.render = reactiveRender;\n return reactiveRender(_this.props, _this.state, _this.context);\n };\n\n var reactiveRender = function reactiveRender(props, state, context) {\n isRenderingPending = false;\n var exception = undefined;\n var rendering = undefined;\n reaction.track(function () {\n try {\n rendering = allowStateChanges(false, baseRender, props, state, context);\n } catch (e) {\n exception = e;\n }\n });\n if (exception) {\n throw exception;\n }\n return rendering;\n };\n\n this.render = initialRender;\n },\n\n componentWillUnmount: function componentWillUnmount() {\n if (isUsingStaticRendering === true) {\n return;\n }\n this.render.$mobx && this.render.$mobx.dispose();\n this.__$mobxIsUnmounted = true;\n },\n\n componentDidMount: function componentDidMount() {},\n\n componentDidUpdate: function componentDidUpdate() {},\n\n shouldComponentUpdate: function shouldComponentUpdate(nextProps, nextState) {\n if (isUsingStaticRendering) {\n logger.warn('[mobx-preact] 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.');\n }\n // update on any state changes (as is the default)\n if (this.state !== nextState) {\n return true;\n }\n // update if props are shallowly not equal, inspired by PureRenderMixin\n // we could return just 'false' here, and avoid the `skipRender` checks etc\n // however, it is nicer if lifecycle events are triggered like usually,\n // so we return true here if props are shallowly modified.\n return isObjectShallowModified(this.props, nextProps);\n }\n};\n\n/**\n * Observer function / decorator\n */\nfunction observer(componentClass) {\n if (arguments.length > 1) {\n logger.warn('Mobx observer: Using observer to inject stores is not supported. Use `@connect([\"store1\", \"store2\"]) ComponentClass instead or preferably, use `@inject(\"store1\", \"store2\") @observer ComponentClass` or `inject(\"store1\", \"store2\")(observer(componentClass))``');\n }\n\n if (componentClass.isMobxInjector === true) {\n logger.warn('Mobx observer: You are trying to use \\'observer\\' on a component that already has \\'inject\\'. Please apply \\'observer\\' before applying \\'inject\\'');\n }\n\n // Stateless function component:\n if ((0, _utils.isStateless)(componentClass)) {\n var _class, _temp;\n\n return observer((_temp = _class = function (_Component) {\n _inherits(_class, _Component);\n\n function _class() {\n _classCallCheck(this, _class);\n\n return _possibleConstructorReturn(this, (_class.__proto__ || Object.getPrototypeOf(_class)).apply(this, arguments));\n }\n\n _createClass(_class, [{\n key: 'render',\n value: function render() {\n return componentClass.call(this, this.props, this.context);\n }\n }]);\n\n return _class;\n }(_preact.Component), _class.displayName = (0, _utils.makeDisplayName)(componentClass), _temp));\n }\n\n if (!componentClass) {\n throw new Error('Please pass a valid component to \\'observer\\'');\n }\n\n var target = componentClass.prototype || componentClass;\n mixinLifecycleEvents(target);\n componentClass.isMobXReactObserver = true;\n return componentClass;\n}\n\nfunction mixinLifecycleEvents(target) {\n patch(target, 'componentWillMount', true);\n patch(target, 'componentDidMount');\n\n if (!target.shouldComponentUpdate) {\n target.shouldComponentUpdate = reactiveMixin.shouldComponentUpdate;\n }\n}\n\nvar Observer = exports.Observer = observer(function (_ref) {\n var children = _ref.children;\n return children[0]();\n});\n\nObserver.displayName = 'Observer';\n\n/***/ }),\n/* 4 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.isStateless = isStateless;\nexports.makeDisplayName = makeDisplayName;\n\nvar _preact = __webpack_require__(0);\n\nfunction isStateless(component) {\n // `function() {}` has prototype, but `() => {}` doesn't\n // `() => {}` via Babel has prototype too.\n return !(component.prototype && component.prototype.render) && !_preact.Component.isPrototypeOf(component);\n}\n\nfunction makeDisplayName(component) {\n var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n _ref$prefix = _ref.prefix,\n prefix = _ref$prefix === undefined ? '' : _ref$prefix,\n _ref$suffix = _ref.suffix,\n suffix = _ref$suffix === undefined ? '' : _ref$suffix;\n\n var displayName = component.displayName || component.name || component.constructor && component.constructor.name || '';\n return prefix + displayName + suffix;\n}\n\n/***/ }),\n/* 5 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n }\n }return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n };\n}();\n\nexports.inject = inject;\n\nvar _preact = __webpack_require__(0);\n\nvar _hoistNonReactStatics = __webpack_require__(13);\n\nvar _hoistNonReactStatics2 = _interopRequireDefault(_hoistNonReactStatics);\n\nvar _observer = __webpack_require__(3);\n\nvar _utils = __webpack_require__(4);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }return call && ((typeof call === \"undefined\" ? \"undefined\" : _typeof(call)) === \"object\" || typeof call === \"function\") ? call : self;\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : _typeof(superClass)));\n }subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } });if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\n\nvar proxiedInjectorProps = {\n isMobxInjector: {\n value: true,\n writable: true,\n configurable: true,\n enumerable: true\n }\n};\n\n/**\n * Store Injection\n */\nfunction createStoreInjector(grabStoresFn, component, injectNames) {\n var _class, _temp;\n\n var prefix = 'inject-';\n var suffix = injectNames ? '-with-' + injectNames : '';\n var displayName = (0, _utils.makeDisplayName)(component, { prefix: prefix, suffix: suffix });\n\n var Injector = (_temp = _class = function (_Component) {\n _inherits(Injector, _Component);\n\n function Injector() {\n _classCallCheck(this, Injector);\n\n return _possibleConstructorReturn(this, (Injector.__proto__ || Object.getPrototypeOf(Injector)).apply(this, arguments));\n }\n\n _createClass(Injector, [{\n key: 'render',\n value: function render() {\n // Optimization: it might be more efficient to apply the mapper function *outside* the render method\n // (if the mapper is a function), that could avoid expensive(?) re-rendering of the injector component\n // See this test: 'using a custom injector is not too reactive' in inject.js\n var newProps = {};\n for (var key in this.props) {\n if (this.props.hasOwnProperty(key)) {\n newProps[key] = this.props[key];\n }\n }\n var additionalProps = grabStoresFn(this.context.mobxStores || {}, newProps, this.context) || {};\n for (var _key in additionalProps) {\n newProps[_key] = additionalProps[_key];\n }\n\n return (0, _preact.h)(component, newProps);\n }\n }]);\n\n return Injector;\n }(_preact.Component), _class.displayName = displayName, _temp);\n\n // Static fields from component should be visible on the generated Injector\n\n (0, _hoistNonReactStatics2.default)(Injector, component);\n\n Injector.wrappedComponent = component;\n Object.defineProperties(Injector, proxiedInjectorProps);\n\n return Injector;\n}\n\nfunction grabStoresByName(storeNames) {\n return function (baseStores, nextProps) {\n storeNames.forEach(function (storeName) {\n // prefer props over stores\n if (storeName in nextProps) {\n return;\n }\n if (!(storeName in baseStores)) {\n throw new Error('MobX injector: Store \\'' + storeName + '\\' is not available! Make sure it is provided by some Provider');\n }\n nextProps[storeName] = baseStores[storeName];\n });\n return nextProps;\n };\n}\n\n/**\n * higher order component that injects stores to a child.\n * takes either a varargs list of strings, which are stores read from the context,\n * or a function that manually maps the available stores from the context to props:\n * storesToProps(mobxStores, props, context) => newProps\n */\nfunction inject() /* fn(stores, nextProps) or ...storeNames */{\n var grabStoresFn = void 0;\n if (typeof arguments[0] === 'function') {\n grabStoresFn = arguments[0];\n return function (componentClass) {\n var injected = createStoreInjector(grabStoresFn, componentClass);\n injected.isMobxInjector = false; // suppress warning\n // mark the Injector as observer, to make it react to expressions in `grabStoresFn`,\n // see #111\n injected = (0, _observer.observer)(injected);\n injected.isMobxInjector = true; // restore warning\n return injected;\n };\n } else {\n var storeNames = [];\n for (var i = 0; i < arguments.length; i++) {\n storeNames[i] = arguments[i];\n }\n grabStoresFn = grabStoresByName(storeNames);\n return function (componentClass) {\n return createStoreInjector(grabStoresFn, componentClass, storeNames.join('-'));\n };\n }\n}\n\n/***/ }),\n/* 6 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.JSONHTTPError = exports.TextHTTPError = exports.HTTPError = exports.getPagination = undefined;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _pagination = __webpack_require__(16);\n\nObject.defineProperty(exports, \"getPagination\", {\n enumerable: true,\n get: function get() {\n return _pagination.getPagination;\n }\n});\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction _extendableBuiltin(cls) {\n function ExtendableBuiltin() {\n var instance = Reflect.construct(cls, Array.from(arguments));\n Object.setPrototypeOf(instance, Object.getPrototypeOf(this));\n return instance;\n }\n\n ExtendableBuiltin.prototype = Object.create(cls.prototype, {\n constructor: {\n value: cls,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(ExtendableBuiltin, cls);\n } else {\n ExtendableBuiltin.__proto__ = cls;\n }\n\n return ExtendableBuiltin;\n}\n\nvar HTTPError = exports.HTTPError = function (_extendableBuiltin2) {\n _inherits(HTTPError, _extendableBuiltin2);\n\n function HTTPError(response) {\n _classCallCheck(this, HTTPError);\n\n var _this = _possibleConstructorReturn(this, (HTTPError.__proto__ || Object.getPrototypeOf(HTTPError)).call(this, response.statusText));\n\n _this.name = _this.constructor.name;\n if (typeof Error.captureStackTrace === \"function\") {\n Error.captureStackTrace(_this, _this.constructor);\n } else {\n _this.stack = new Error(response.statusText).stack;\n }\n _this.status = response.status;\n return _this;\n }\n\n return HTTPError;\n}(_extendableBuiltin(Error));\n\nvar TextHTTPError = exports.TextHTTPError = function (_HTTPError) {\n _inherits(TextHTTPError, _HTTPError);\n\n function TextHTTPError(response, data) {\n _classCallCheck(this, TextHTTPError);\n\n var _this2 = _possibleConstructorReturn(this, (TextHTTPError.__proto__ || Object.getPrototypeOf(TextHTTPError)).call(this, response));\n\n _this2.data = data;\n return _this2;\n }\n\n return TextHTTPError;\n}(HTTPError);\n\nvar JSONHTTPError = exports.JSONHTTPError = function (_HTTPError2) {\n _inherits(JSONHTTPError, _HTTPError2);\n\n function JSONHTTPError(response, json) {\n _classCallCheck(this, JSONHTTPError);\n\n var _this3 = _possibleConstructorReturn(this, (JSONHTTPError.__proto__ || Object.getPrototypeOf(JSONHTTPError)).call(this, response));\n\n _this3.json = json;\n return _this3;\n }\n\n return JSONHTTPError;\n}(HTTPError);\n\nvar API = function () {\n function API() {\n var apiURL = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n var options = arguments[1];\n\n _classCallCheck(this, API);\n\n this.apiURL = apiURL;\n if (this.apiURL.match(/\\/[^\\/]?/)) {\n // eslint-disable-line no-useless-escape\n this._sameOrigin = true;\n }\n this.defaultHeaders = options && options.defaultHeaders || {};\n }\n\n _createClass(API, [{\n key: \"headers\",\n value: function headers() {\n var _headers = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n return _extends({}, this.defaultHeaders, {\n \"Content-Type\": \"application/json\"\n }, _headers);\n }\n }, {\n key: \"parseJsonResponse\",\n value: function parseJsonResponse(response) {\n return response.json().then(function (json) {\n if (!response.ok) {\n return Promise.reject(new JSONHTTPError(response, json));\n }\n\n var pagination = (0, _pagination.getPagination)(response);\n return pagination ? { pagination: pagination, items: json } : json;\n });\n }\n }, {\n key: \"request\",\n value: function request(path) {\n var _this4 = this;\n\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n var headers = this.headers(options.headers || {});\n if (this._sameOrigin) {\n options.credentials = options.credentials || \"same-origin\";\n }\n return fetch(this.apiURL + path, _extends({}, options, { headers: headers })).then(function (response) {\n var contentType = response.headers.get(\"Content-Type\");\n if (contentType && contentType.match(/json/)) {\n return _this4.parseJsonResponse(response);\n }\n\n if (!response.ok) {\n return response.text().then(function (data) {\n return Promise.reject(new TextHTTPError(response, data));\n });\n }\n return response.text().then(function (data) {\n data;\n });\n });\n }\n }]);\n\n return API;\n}();\n\nexports.default = API;\n\n/***/ }),\n/* 7 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _preact = __webpack_require__(0);\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Button = function (_Component) {\n _inherits(Button, _Component);\n\n function Button() {\n _classCallCheck(this, Button);\n\n return _possibleConstructorReturn(this, (Button.__proto__ || Object.getPrototypeOf(Button)).apply(this, arguments));\n }\n\n _createClass(Button, [{\n key: \"render\",\n value: function render() {\n var _props = this.props,\n saving = _props.saving,\n text = _props.text,\n saving_text = _props.saving_text;\n\n\n return (0, _preact.h)(\n \"button\",\n { type: \"submit\", className: \"btn\" + (saving ? \" saving\" : \"\") },\n saving ? saving_text || \"Saving\" : text || \"Save\"\n );\n }\n }]);\n\n return Button;\n}(_preact.Component);\n\nexports.default = Button;\n\n/***/ }),\n/* 8 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _preact = __webpack_require__(0);\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar messages = {\n confirm: {\n type: \"success\",\n text: \"A confirmation message was sent to your email, click the link there to continue.\"\n },\n password_mail: {\n type: \"success\",\n text: \"We've sent a recovery email to your account, follow the link there to reset your password.\"\n },\n email_changed: {\n type: \"sucess\",\n text: \"Your email address has been updated!\"\n },\n verfication_error: {\n type: \"error\",\n text: \"There was an error verifying your account. Please try again or contact an administrator.\"\n },\n signup_disabled: {\n type: \"error\",\n text: \"Public signups are disabled. Contact an administrator and ask for an invite.\"\n }\n};\n\nvar Message = function (_Component) {\n _inherits(Message, _Component);\n\n function Message() {\n _classCallCheck(this, Message);\n\n return _possibleConstructorReturn(this, (Message.__proto__ || Object.getPrototypeOf(Message)).apply(this, arguments));\n }\n\n _createClass(Message, [{\n key: \"render\",\n value: function render() {\n var type = this.props.type;\n\n var msg = messages[type];\n\n return (0, _preact.h)(\n \"div\",\n { className: \"flashMessage \" + msg.type },\n (0, _preact.h)(\n \"span\",\n null,\n msg.text\n )\n );\n }\n }]);\n\n return Message;\n}(_preact.Component);\n\nexports.default = Message;\n\n/***/ }),\n/* 9 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _netlifyIdentity = __webpack_require__(10);\n\nvar _netlifyIdentity2 = _interopRequireDefault(_netlifyIdentity);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nif (( false ? \"undefined\" : _typeof(exports)) !== undefined) {\n exports.netlifyIdentity = _netlifyIdentity2.default;\n}\nif ((typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) !== undefined) {\n window.netlifyIdentity = _netlifyIdentity2.default;\n}\nif (document.readyState === \"loading\") {\n document.addEventListener(\"DOMContentLoaded\", function () {\n _netlifyIdentity2.default.init();\n });\n} else {\n _netlifyIdentity2.default.init();\n}\n\n/***/ }),\n/* 10 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\n\nvar _preact = __webpack_require__(0);\n\nvar _mobx = __webpack_require__(1);\n\nvar _mobxPreact = __webpack_require__(2);\n\nvar _gotrueJs = __webpack_require__(15);\n\nvar _gotrueJs2 = _interopRequireDefault(_gotrueJs);\n\nvar _app = __webpack_require__(19);\n\nvar _app2 = _interopRequireDefault(_app);\n\nvar _store = __webpack_require__(25);\n\nvar _store2 = _interopRequireDefault(_store);\n\nvar _controls = __webpack_require__(26);\n\nvar _controls2 = _interopRequireDefault(_controls);\n\nvar _modal = __webpack_require__(27);\n\nvar _modal2 = _interopRequireDefault(_modal);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar callbacks = {};\nfunction trigger(callback) {\n var _arguments = arguments;\n\n ;(callbacks[callback] || []).forEach(function (cb) {\n cb.apply(cb, Array.prototype.slice.call(_arguments, 1));\n });\n}\n\nvar validActions = {\n login: true,\n signup: true,\n error: true\n};\n\nvar netlifyIdentity = {\n on: function on(event, cb) {\n callbacks[event] = callbacks[event] || [];\n callbacks[event].push(cb);\n },\n open: function open(action) {\n action = action || \"login\";\n if (!validActions[action]) {\n throw new Error(\"Invalid action for open: \" + action);\n }\n _store2.default.openModal(_store2.default.user ? \"user\" : action);\n },\n close: function close() {\n _store2.default.closeModal();\n },\n currentUser: function currentUser() {\n return _store2.default.gotrue && _store2.default.gotrue.currentUser();\n },\n logout: function logout() {\n return _store2.default.logout();\n },\n get gotrue() {\n if (!_store2.default.gotrue) {\n _store2.default.openModal(\"login\");\n }\n return _store2.default.gotrue;\n },\n init: function init(options) {\n _init(options);\n },\n store: _store2.default\n};\n\nvar queuedIframeStyle = null;\nfunction setStyle(el, css) {\n var style = \"\";\n for (var key in css) {\n style += key + \": \" + css[key] + \"; \";\n }\n if (el) {\n el.setAttribute(\"style\", style);\n } else {\n queuedIframeStyle = style;\n }\n}\n\nvar localHosts = {\n localhost: true,\n \"127.0.0.1\": true,\n \"0.0.0.0\": true\n};\n\nfunction instantiateGotrue(APIUrl) {\n var isLocal = localHosts[document.location.host.split(\":\").shift()];\n var siteURL = isLocal && localStorage.getItem(\"netlifySiteURL\");\n if (APIUrl) {\n return new _gotrueJs2.default({ APIUrl: APIUrl, setCookie: !isLocal });\n }\n if (isLocal && siteURL) {\n var parts = [siteURL];\n if (!siteURL.match(/\\/$/)) {\n parts.push(\"/\");\n }\n parts.push(\".netlify/identity\");\n return new _gotrueJs2.default({ APIUrl: parts.join(\"\"), setCookie: !isLocal });\n }\n if (isLocal) {\n return null;\n }\n\n return new _gotrueJs2.default({ setCookie: !isLocal });\n}\n\nvar root = void 0;\nvar iframe = void 0;\nvar iframeStyle = {\n position: \"fixed\",\n top: 0,\n left: 0,\n border: \"none\",\n width: \"100%\",\n height: \"100%\",\n overflow: \"visible\",\n background: \"transparent\",\n display: \"none\",\n \"z-index\": 99\n};\n\n(0, _mobx.observe)(_store2.default.modal, \"isOpen\", function () {\n if (!_store2.default.settings) {\n _store2.default.loadSettings();\n }\n setStyle(iframe, Object.assign({}, iframeStyle, {\n display: _store2.default.modal.isOpen ? \"block !important\" : \"none\"\n }));\n if (_store2.default.modal.isOpen) {\n trigger(\"open\", _store2.default.modal.page);\n } else {\n trigger(\"close\");\n }\n});\n\n(0, _mobx.observe)(_store2.default, \"siteURL\", function () {\n if (_store2.default.siteURL === null || _store2.default.siteURL === undefined) {\n localStorage.removeItem(\"netlifySiteURL\");\n } else {\n localStorage.setItem(\"netlifySiteURL\", _store2.default.siteURL);\n }\n _store2.default.init(instantiateGotrue(), true);\n});\n\n(0, _mobx.observe)(_store2.default, \"user\", function () {\n if (_store2.default.user) {\n trigger(\"login\", _store2.default.user);\n } else {\n trigger(\"logout\");\n }\n});\n\n(0, _mobx.observe)(_store2.default, \"gotrue\", function () {\n _store2.default.gotrue && trigger(\"init\", _store2.default.gotrue.currentUser());\n});\n\n(0, _mobx.observe)(_store2.default, \"error\", function () {\n trigger(\"error\", _store2.default.error);\n});\n\nvar routes = /(confirmation|invite|recovery|email_change)_token=([^&]+)/;\nvar errorRoute = /error=access_denied&error_description=403/;\nvar accessTokenRoute = /access_token=/;\n\nfunction runRoutes() {\n var hash = (document.location.hash || \"\").replace(/^#\\/?/, \"\");\n if (!hash) {\n return;\n }\n\n var m = hash.match(routes);\n if (m) {\n _store2.default.verifyToken(m[1], m[2]);\n document.location.hash = \"\";\n }\n\n var em = hash.match(errorRoute);\n if (em) {\n _store2.default.openModal(\"signup\");\n document.location.hash = \"\";\n }\n\n var am = hash.match(accessTokenRoute);\n if (am) {\n var params = {};\n hash.split(\"&\").forEach(function (pair) {\n var _pair$split = pair.split(\"=\"),\n _pair$split2 = _slicedToArray(_pair$split, 2),\n key = _pair$split2[0],\n value = _pair$split2[1];\n\n params[key] = value;\n });\n if (!!document && params[\"access_token\"]) {\n document.cookie = \"nf_jwt=\" + params[\"access_token\"];\n }\n document.location.hash = \"\";\n _store2.default.openModal(\"login\");\n _store2.default.completeExternalLogin(params);\n }\n}\n\nfunction _init() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var APIUrl = options.APIUrl,\n _options$logo = options.logo,\n logo = _options$logo === undefined ? true : _options$logo,\n namePlaceholder = options.namePlaceholder;\n\n var controlEls = document.querySelectorAll(\"[data-netlify-identity-menu],[data-netlify-identity-button]\");\n Array.prototype.slice.call(controlEls).forEach(function (el) {\n var controls = null;\n var mode = el.getAttribute(\"data-netlify-identity-menu\") === null ? \"button\" : \"menu\";\n (0, _preact.render)((0, _preact.h)(\n _mobxPreact.Provider,\n { store: _store2.default },\n (0, _preact.h)(_controls2.default, { mode: mode, text: el.innerText.trim() })\n ), el, controls);\n });\n\n _store2.default.init(instantiateGotrue(APIUrl));\n _store2.default.modal.logo = logo;\n _store2.default.setNamePlaceholder(namePlaceholder);\n iframe = document.createElement(\"iframe\");\n iframe.id = \"netlify-identity-widget\";\n iframe.onload = function () {\n var styles = iframe.contentDocument.createElement(\"style\");\n styles.innerHTML = _modal2.default.toString();\n iframe.contentDocument.head.appendChild(styles);\n root = (0, _preact.render)((0, _preact.h)(\n _mobxPreact.Provider,\n { store: _store2.default },\n (0, _preact.h)(_app2.default, null)\n ), iframe.contentDocument.body, root);\n runRoutes();\n };\n setStyle(iframe, iframeStyle);\n iframe.src = \"about:blank\";\n var container = options.container ? document.querySelector(options.container) : document.body;\n container.appendChild(iframe);\n /* There's a certain case where we might have called setStyle before the iframe was ready.\n Make sure we take the last style and apply it */\n if (queuedIframeStyle) {\n iframe.setAttribute(\"style\", queuedIframeStyle);\n queuedIframeStyle = null;\n }\n}\n\nexports.default = netlifyIdentity;\n\n/***/ }),\n/* 11 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar g;\n\n// This works in non-strict mode\ng = function () {\n\treturn this;\n}();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || Function(\"return this\")() || (1, eval)(\"this\");\n} catch (e) {\n\t// This works if the window reference is available\n\tif ((typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n\n/***/ }),\n/* 12 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.connect = connect;\n\nvar _observer = __webpack_require__(3);\n\nvar _inject = __webpack_require__(5);\n\nfunction connect(arg1, arg2) {\n if (typeof arg1 === 'string') {\n throw new Error('Store names should be provided as array');\n }\n if (Array.isArray(arg1)) {\n if (!arg2) {\n // invoked as decorator\n return function (componentClass) {\n return connect(arg1, componentClass);\n };\n } else {\n return _inject.inject.apply(null, arg1)(connect(arg2));\n }\n }\n return (0, _observer.observer)(arg1);\n}\n\n/***/ }),\n/* 13 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\n\nvar REACT_STATICS = {\n childContextTypes: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\n\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = getPrototypeOf && getPrototypeOf(Object);\n\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n if (!REACT_STATICS[key] && !KNOWN_STATICS[key] && (!blacklist || !blacklist[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n\n return targetComponent;\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n\n/***/ }),\n/* 14 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Provider = undefined;\n\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n }\n }return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n };\n}();\n\nvar _preact = __webpack_require__(0);\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }return call && ((typeof call === \"undefined\" ? \"undefined\" : _typeof(call)) === \"object\" || typeof call === \"function\") ? call : self;\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : _typeof(superClass)));\n }subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } });if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\n\nvar specialReactKeys = { children: true, key: true, ref: true };\n\nvar logger = console; // eslint-disable-line no-console\n\nvar Provider = exports.Provider = function (_Component) {\n _inherits(Provider, _Component);\n\n function Provider() {\n _classCallCheck(this, Provider);\n\n return _possibleConstructorReturn(this, (Provider.__proto__ || Object.getPrototypeOf(Provider)).apply(this, arguments));\n }\n\n _createClass(Provider, [{\n key: 'render',\n value: function render(_ref) {\n var children = _ref.children;\n\n return children.length > 1 ? (0, _preact.h)('div', null, ' ', children, ' ') : children[0];\n }\n }, {\n key: 'getChildContext',\n value: function getChildContext() {\n var stores = {};\n // inherit stores\n var baseStores = this.context.mobxStores;\n if (baseStores) {\n for (var key in baseStores) {\n stores[key] = baseStores[key];\n }\n }\n // add own stores\n for (var _key in this.props) {\n if (!specialReactKeys[_key] && _key !== 'suppressChangedStoreWarning') {\n stores[_key] = this.props[_key];\n }\n }\n\n return {\n mobxStores: stores\n };\n }\n }, {\n key: 'componentWillReceiveProps',\n value: function componentWillReceiveProps(nextProps) {\n // Maybe this warning is too aggressive?\n if (Object.keys(nextProps).length !== Object.keys(this.props).length) {\n logger.warn('MobX Provider: The set of provided stores has changed. Please avoid changing stores as the change might not propagate to all children');\n }\n if (!nextProps.suppressChangedStoreWarning) {\n for (var key in nextProps) {\n if (!specialReactKeys[key] && this.props[key] !== nextProps[key]) {\n logger.warn('MobX Provider: Provided store \\'' + key + '\\' has changed. Please avoid replacing stores as the change might not propagate to all children');\n }\n }\n }\n }\n }]);\n\n return Provider;\n}(_preact.Component);\n\n/***/ }),\n/* 15 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n }\n }return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n };\n}();\n\nvar _microApiClient = __webpack_require__(6);\n\nvar _microApiClient2 = _interopRequireDefault(_microApiClient);\n\nvar _user = __webpack_require__(17);\n\nvar _user2 = _interopRequireDefault(_user);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nvar HTTPRegexp = /^http:\\/\\//;\nvar defaultApiURL = \"/.netlify/identity\";\n\nvar GoTrue = function () {\n function GoTrue() {\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref$APIUrl = _ref.APIUrl,\n APIUrl = _ref$APIUrl === undefined ? defaultApiURL : _ref$APIUrl,\n _ref$audience = _ref.audience,\n audience = _ref$audience === undefined ? \"\" : _ref$audience,\n _ref$setCookie = _ref.setCookie,\n setCookie = _ref$setCookie === undefined ? false : _ref$setCookie;\n\n _classCallCheck(this, GoTrue);\n\n if (APIUrl.match(HTTPRegexp)) {\n console.warn(\"Warning:\\n\\nDO NOT USE HTTP IN PRODUCTION FOR GOTRUE EVER!\\nGoTrue REQUIRES HTTPS to work securely.\");\n }\n\n if (audience) {\n this.audience = audience;\n }\n\n this.setCookie = setCookie;\n\n this.api = new _microApiClient2.default(APIUrl);\n }\n\n _createClass(GoTrue, [{\n key: \"_request\",\n value: function _request(path) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n options.headers = options.headers || {};\n var aud = options.audience || this.audience;\n if (aud) {\n options.headers[\"X-JWT-AUD\"] = aud;\n }\n return this.api.request(path, options).catch(function (err) {\n if (err instanceof _microApiClient.JSONHTTPError && err.json) {\n if (err.json.msg) {\n err.message = err.json.msg;\n } else if (err.json.error) {\n err.message = err.json.error + \": \" + err.json.error_description;\n }\n }\n return Promise.reject(err);\n });\n }\n }, {\n key: \"settings\",\n value: function settings() {\n return this._request(\"/settings\");\n }\n }, {\n key: \"signup\",\n value: function signup(email, password, data) {\n return this._request(\"/signup\", {\n method: \"POST\",\n body: JSON.stringify({ email: email, password: password, data: data })\n });\n }\n }, {\n key: \"login\",\n value: function login(email, password, remember) {\n var _this = this;\n\n this._setRememberHeaders(remember);\n return this._request(\"/token\", {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/x-www-form-urlencoded\" },\n body: \"grant_type=password&username=\" + encodeURIComponent(email) + \"&password=\" + encodeURIComponent(password)\n }).then(function (response) {\n _user2.default.removeSavedSession();\n return _this.createUser(response, remember);\n });\n }\n }, {\n key: \"loginExternalUrl\",\n value: function loginExternalUrl(provider) {\n return this.api.apiURL + \"/authorize?provider=\" + provider;\n }\n }, {\n key: \"confirm\",\n value: function confirm(token, remember) {\n this._setRememberHeaders(remember);\n return this.verify(\"signup\", token, remember);\n }\n }, {\n key: \"requestPasswordRecovery\",\n value: function requestPasswordRecovery(email) {\n return this._request(\"/recover\", {\n method: \"POST\",\n body: JSON.stringify({ email: email })\n });\n }\n }, {\n key: \"recover\",\n value: function recover(token, remember) {\n this._setRememberHeaders(remember);\n return this.verify(\"recovery\", token, remember);\n }\n }, {\n key: \"acceptInvite\",\n value: function acceptInvite(token, password, remember) {\n var _this2 = this;\n\n this._setRememberHeaders(remember);\n return this._request(\"/verify\", {\n method: \"POST\",\n body: JSON.stringify({ token: token, password: password, type: \"signup\" })\n }).then(function (response) {\n return _this2.createUser(response, remember);\n });\n }\n }, {\n key: \"acceptInviteExternalUrl\",\n value: function acceptInviteExternalUrl(provider, token) {\n return this.api.apiURL + \"/authorize?provider=\" + provider + \"&invite_token=\" + token;\n }\n }, {\n key: \"createUser\",\n value: function createUser(tokenResponse) {\n var remember = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n this._setRememberHeaders(remember);\n var user = new _user2.default(this.api, tokenResponse, this.audience);\n return user.getUserData().then(function (user) {\n if (remember) {\n user._saveSession();\n }\n return user;\n });\n }\n }, {\n key: \"currentUser\",\n value: function currentUser() {\n var user = _user2.default.recoverSession(this.api);\n user && this._setRememberHeaders(user._fromStorage);\n return user;\n }\n }, {\n key: \"verify\",\n value: function verify(type, token, remember) {\n var _this3 = this;\n\n this._setRememberHeaders(remember);\n return this._request(\"/verify\", {\n method: \"POST\",\n body: JSON.stringify({ token: token, type: type })\n }).then(function (response) {\n return _this3.createUser(response, remember);\n });\n }\n }, {\n key: \"_setRememberHeaders\",\n value: function _setRememberHeaders(remember) {\n if (this.setCookie) {\n this.api.defaultHeaders = this.api.defaultHeaders || {};\n this.api.defaultHeaders[\"X-Use-Cookie\"] = remember ? \"1\" : \"session\";\n }\n }\n }]);\n\n return GoTrue;\n}();\n\nexports.default = GoTrue;\n\nif (typeof window !== \"undefined\") {\n window.GoTrue = GoTrue;\n}\n\n/***/ }),\n/* 16 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\n\nexports.getPagination = getPagination;\nfunction getPagination(response) {\n var links = response.headers.get(\"Link\");\n var pagination = {};\n //var link, url, rel, m, page;\n if (links == null) {\n return null;\n }\n links = links.split(\",\");\n var total = response.headers.get(\"X-Total-Count\");\n\n for (var i = 0, len = links.length; i < len; i++) {\n var link = links[i].replace(/(^\\s*|\\s*$)/, \"\");\n\n var _link$split = link.split(\";\"),\n _link$split2 = _slicedToArray(_link$split, 2),\n url = _link$split2[0],\n rel = _link$split2[1];\n\n var m = url.match(/page=(\\d+)/);\n var page = m && parseInt(m[1], 10);\n if (rel.match(/last/)) {\n pagination.last = page;\n } else if (rel.match(/next/)) {\n pagination.next = page;\n } else if (rel.match(/prev/)) {\n pagination.prev = page;\n } else if (rel.match(/first/)) {\n pagination.first = page;\n }\n }\n\n pagination.last = Math.max(pagination.last || 0, pagination.prev && pagination.prev + 1 || 0);\n pagination.current = pagination.next ? pagination.next - 1 : pagination.last || 1;\n pagination.total = total ? parseInt(total, 10) : null;\n\n return pagination;\n}\n\n/***/ }),\n/* 17 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }return target;\n};\n\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n }\n }return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n };\n}();\n\nvar _microApiClient = __webpack_require__(6);\n\nvar _microApiClient2 = _interopRequireDefault(_microApiClient);\n\nvar _admin = __webpack_require__(18);\n\nvar _admin2 = _interopRequireDefault(_admin);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nvar ExpiryMargin = 60 * 1000;\nvar storageKey = \"gotrue.user\";\nvar refreshPromises = {};\nvar currentUser = null;\nvar forbiddenUpdateAttributes = { api: 1, token: 1, audience: 1, url: 1 };\nvar forbiddenSaveAttributes = { api: 1 };\n\nvar User = function () {\n function User(api, tokenResponse, audience) {\n _classCallCheck(this, User);\n\n this.api = api;\n this.url = api.apiURL;\n this.audience = audience;\n this._processTokenResponse(tokenResponse);\n currentUser = this;\n }\n\n _createClass(User, [{\n key: \"update\",\n value: function update(attributes) {\n var _this = this;\n\n return this._request(\"/user\", {\n method: \"PUT\",\n body: JSON.stringify(attributes)\n }).then(function (response) {\n return _this._saveUserData(response)._refreshSavedSession();\n });\n }\n }, {\n key: \"jwt\",\n value: function jwt(forceRefresh) {\n var _tokenDetails = this.tokenDetails(),\n expires_at = _tokenDetails.expires_at,\n refresh_token = _tokenDetails.refresh_token,\n access_token = _tokenDetails.access_token;\n\n if (forceRefresh || expires_at - ExpiryMargin < Date.now()) {\n return this._refreshToken(refresh_token);\n }\n return Promise.resolve(access_token);\n }\n }, {\n key: \"logout\",\n value: function logout() {\n return this._request(\"/logout\", { method: \"POST\" }).then(this.clearSession.bind(this)).catch(this.clearSession.bind(this));\n }\n }, {\n key: \"_refreshToken\",\n value: function _refreshToken(refresh_token) {\n var _this2 = this;\n\n if (refreshPromises[refresh_token]) {\n return refreshPromises[refresh_token];\n }\n return refreshPromises[refresh_token] = this.api.request(\"/token\", {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/x-www-form-urlencoded\" },\n body: \"grant_type=refresh_token&refresh_token=\" + refresh_token\n }).then(function (response) {\n delete refreshPromises[refresh_token];\n _this2._processTokenResponse(response);\n _this2._refreshSavedSession();\n return _this2.token.access_token;\n }).catch(function (error) {\n delete refreshPromises[refresh_token];\n _this2.clearSession();\n return Promise.reject(error);\n });\n }\n }, {\n key: \"_request\",\n value: function _request(path) {\n var _this3 = this;\n\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n options.headers = options.headers || {};\n\n var aud = options.audience || this.audience;\n if (aud) {\n options.headers[\"X-JWT-AUD\"] = aud;\n }\n\n return this.jwt().then(function (token) {\n return _this3.api.request(path, _extends({\n headers: Object.assign(options.headers, {\n Authorization: \"Bearer \" + token\n })\n }, options)).catch(function (err) {\n if (err instanceof _microApiClient.JSONHTTPError && err.json) {\n if (err.json.msg) {\n err.message = err.json.msg;\n } else if (err.json.error) {\n err.message = err.json.error + \": \" + err.json.error_description;\n }\n }\n return Promise.reject(err);\n });\n });\n }\n }, {\n key: \"getUserData\",\n value: function getUserData() {\n return this._request(\"/user\").then(this._saveUserData.bind(this)).then(this._refreshSavedSession.bind(this));\n }\n }, {\n key: \"_saveUserData\",\n value: function _saveUserData(attributes, fromStorage) {\n for (var key in attributes) {\n if (key in User.prototype || key in forbiddenUpdateAttributes) {\n continue;\n }\n this[key] = attributes[key];\n }\n if (fromStorage) {\n this._fromStorage = true;\n }\n return this;\n }\n }, {\n key: \"_processTokenResponse\",\n value: function _processTokenResponse(tokenResponse) {\n this.token = tokenResponse;\n var claims = void 0;\n try {\n claims = JSON.parse(urlBase64Decode(tokenResponse.access_token.split(\".\")[1]));\n this.token.expires_at = claims.exp * 1000;\n } catch (e) {\n console.error(new Error(\"Gotrue-js: Failed to parse tokenResponse claims: \" + JSON.stringify(tokenResponse)));\n }\n }\n }, {\n key: \"_refreshSavedSession\",\n value: function _refreshSavedSession() {\n // only update saved session if we previously saved something\n if (localStorage.getItem(storageKey)) {\n this._saveSession();\n }\n return this;\n }\n }, {\n key: \"_saveSession\",\n value: function _saveSession() {\n localStorage.setItem(storageKey, JSON.stringify(this._details));\n return this;\n }\n }, {\n key: \"tokenDetails\",\n value: function tokenDetails() {\n return this.token;\n }\n }, {\n key: \"clearSession\",\n value: function clearSession() {\n User.removeSavedSession();\n this.token = null;\n currentUser = null;\n }\n }, {\n key: \"admin\",\n get: function get() {\n return new _admin2.default(this);\n }\n }, {\n key: \"_details\",\n get: function get() {\n var userCopy = {};\n for (var key in this) {\n if (key in User.prototype || key in forbiddenSaveAttributes) {\n continue;\n }\n userCopy[key] = this[key];\n }\n return userCopy;\n }\n }], [{\n key: \"removeSavedSession\",\n value: function removeSavedSession() {\n localStorage.removeItem(storageKey);\n }\n }, {\n key: \"recoverSession\",\n value: function recoverSession(apiInstance) {\n if (currentUser) {\n return currentUser;\n }\n\n var json = localStorage.getItem(storageKey);\n if (json) {\n try {\n var data = JSON.parse(json);\n var url = data.url,\n token = data.token,\n audience = data.audience;\n\n if (!url || !token) {\n return null;\n }\n\n var api = apiInstance || new _microApiClient2.default(url, {});\n return new User(api, token, audience)._saveUserData(data, true);\n } catch (ex) {\n console.error(new Error(\"Gotrue-js: Error recovering session: \" + ex));\n return null;\n }\n }\n\n return null;\n }\n }]);\n\n return User;\n}();\n\nexports.default = User;\n\nfunction urlBase64Decode(str) {\n // From https://jwt.io/js/jwt.js\n var output = str.replace(/-/g, '+').replace(/_/g, '/');\n switch (output.length % 4) {\n case 0:\n break;\n case 2:\n output += '==';\n break;\n case 3:\n output += '=';\n break;\n default:\n throw 'Illegal base64url string!';\n }\n var result = window.atob(output); //polifyll https://github.com/davidchambers/Base64.js\n try {\n return decodeURIComponent(escape(result));\n } catch (err) {\n return result;\n }\n}\n\n/***/ }),\n/* 18 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n }\n }return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n };\n}();\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nvar Admin = function () {\n function Admin(user) {\n _classCallCheck(this, Admin);\n\n this.user = user;\n }\n\n // Return a list of all users in an audience\n\n\n _createClass(Admin, [{\n key: \"listUsers\",\n value: function listUsers(aud) {\n return this.user._request(\"/admin/users\", {\n method: \"GET\",\n audience: aud\n });\n }\n }, {\n key: \"getUser\",\n value: function getUser(user) {\n return this.user._request(\"/admin/users/\" + user.id);\n }\n }, {\n key: \"updateUser\",\n value: function updateUser(user) {\n var attributes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n return this.user._request(\"/admin/users/\" + user.id, {\n method: \"PUT\",\n body: JSON.stringify(attributes)\n });\n }\n }, {\n key: \"createUser\",\n value: function createUser(email, password) {\n var attributes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n attributes.email = email;\n attributes.password = password;\n return this.user._request(\"/admin/users\", {\n method: \"POST\",\n body: JSON.stringify(attributes)\n });\n }\n }, {\n key: \"deleteUser\",\n value: function deleteUser(user) {\n return this.user._request(\"/admin/users/\" + user.id, {\n method: \"DELETE\"\n });\n }\n }]);\n\n return Admin;\n}();\n\nexports.default = Admin;\n\n/***/ }),\n/* 19 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _dec, _class;\n\nvar _preact = __webpack_require__(0);\n\nvar _mobxPreact = __webpack_require__(2);\n\nvar _modal = __webpack_require__(20);\n\nvar _modal2 = _interopRequireDefault(_modal);\n\nvar _siteurl = __webpack_require__(21);\n\nvar _siteurl2 = _interopRequireDefault(_siteurl);\n\nvar _logout = __webpack_require__(22);\n\nvar _logout2 = _interopRequireDefault(_logout);\n\nvar _user = __webpack_require__(23);\n\nvar _user2 = _interopRequireDefault(_user);\n\nvar _providers = __webpack_require__(24);\n\nvar _providers2 = _interopRequireDefault(_providers);\n\nvar _message = __webpack_require__(8);\n\nvar _message2 = _interopRequireDefault(_message);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar pagesWithHeader = { login: true, signup: true };\nvar pages = {\n login: {\n login: true,\n button: \"Log in\",\n button_saving: \"Logging in\",\n email: true,\n password: true,\n link: \"amnesia\",\n link_text: \"Forgot password?\",\n providers: true\n },\n signup: {\n signup: true,\n button: \"Sign up\",\n button_saving: \"Signing Up\",\n name: true,\n email: true,\n password: true,\n providers: true\n },\n amnesia: {\n title: \"Recover password\",\n button: \"Send recovery email\",\n button_saving: \"Sending recovery email\",\n email: true,\n link: \"login\",\n link_text: \"Never mind\"\n },\n recovery: {\n title: \"Recover password\",\n button: \"Update password\",\n button_saving: \"Updating password\",\n password: true,\n link: \"login\",\n link_text: \"Never mind\"\n },\n invite: {\n title: \"Complete your signup\",\n button: \"Sign up\",\n button_saving: \"Signing Up\",\n password: true,\n providers: true\n },\n user: {\n title: \"Logged in\"\n }\n};\n\nvar App = (_dec = (0, _mobxPreact.connect)([\"store\"]), _dec(_class = function (_Component) {\n _inherits(App, _Component);\n\n function App() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, App);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = App.__proto__ || Object.getPrototypeOf(App)).call.apply(_ref, [this].concat(args))), _this), _this.handleClose = function () {\n return _this.props.store.closeModal();\n }, _this.handlePage = function (page) {\n return _this.props.store.openModal(page);\n }, _this.handleLogout = function () {\n return _this.props.store.logout();\n }, _this.handleSiteURL = function (url) {\n return _this.props.store.setSiteURL(url);\n }, _this.clearSiteURL = function (url) {\n return _this.props.store.clearSiteURL();\n }, _this.handleExternalLogin = function (provider) {\n return _this.props.store.externalLogin(provider);\n }, _this.handleUser = function (_ref2) {\n var name = _ref2.name,\n email = _ref2.email,\n password = _ref2.password;\n var store = _this.props.store;\n\n\n switch (store.modal.page) {\n case \"login\":\n store.login(email, password);\n break;\n case \"signup\":\n store.signup(name, email, password);\n break;\n case \"amnesia\":\n store.requestPasswordRecovery(email);\n break;\n case \"invite\":\n store.acceptInvite(password);\n break;\n case \"recovery\":\n store.updatePassword(password);\n break;\n }\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(App, [{\n key: \"renderBody\",\n value: function renderBody() {\n var _this2 = this;\n\n var store = this.props.store;\n\n var page = pages[store.modal.page] || {};\n var pageLinkHandler = function pageLinkHandler() {\n return _this2.handlePage(page.link);\n };\n\n if (!store.gotrue) {\n return (0, _preact.h)(_siteurl2.default, { onSiteURL: this.handleSiteURL });\n }\n if (!store.settings) {\n return;\n }\n if (store.user) {\n return (0, _preact.h)(_logout2.default, {\n user: store.user,\n saving: store.saving,\n onLogout: this.handleLogout\n });\n }\n if (store.modal.page === \"signup\" && store.settings.disable_signup) {\n return (0, _preact.h)(_message2.default, { type: \"signup_disabled\" });\n }\n\n return (0, _preact.h)(\n \"div\",\n null,\n (0, _preact.h)(_user2.default, {\n page: pages[store.modal.page] || {},\n message: store.message,\n saving: store.saving,\n onSubmit: this.handleUser,\n namePlaceholder: store.namePlaceholder\n }),\n !store.user && page.link && store.gotrue && (0, _preact.h)(\n \"button\",\n {\n onclick: pageLinkHandler,\n className: \"btnLink forgotPasswordLink\"\n },\n page.link_text\n ),\n (0, _preact.h)(_siteurl2.default, { devMode: \"true\", onSiteURL: this.clearSiteURL })\n );\n }\n }, {\n key: \"renderProviders\",\n value: function renderProviders() {\n var store = this.props.store;\n\n\n if (!(store.gotrue && store.settings)) {\n return null;\n }\n if (store.modal.page === \"signup\" && store.settings.disable_signup) {\n return null;\n }\n var page = pages[store.modal.page] || {};\n\n if (!page.providers) {\n return null;\n }\n\n var providers = [\"Google\", \"GitHub\", \"GitLab\", \"BitBucket\", \"SAML\"].filter(function (p) {\n return store.settings.external[p.toLowerCase()];\n });\n\n return providers.length ? (0, _preact.h)(_providers2.default, {\n providers: providers,\n labels: store.settings.external_labels || {},\n onLogin: this.handleExternalLogin\n }) : null;\n }\n }, {\n key: \"render\",\n value: function render() {\n var store = this.props.store;\n\n var showHeader = pagesWithHeader[store.modal.page];\n var showSignup = store.settings && !store.settings.disable_signup;\n var page = pages[store.modal.page] || {};\n\n return (0, _preact.h)(\n \"div\",\n null,\n (0, _preact.h)(\n _modal2.default,\n {\n page: page,\n error: store.error,\n showHeader: showHeader,\n showSignup: showSignup,\n devSettings: !store.gotrue,\n loading: !store.error && store.gotrue && !store.settings,\n isOpen: store.modal.isOpen,\n onPage: this.handlePage,\n onClose: this.handleClose,\n logo: store.modal.logo\n },\n this.renderBody(),\n this.renderProviders()\n )\n );\n }\n }]);\n\n return App;\n}(_preact.Component)) || _class);\nexports.default = App;\n\n/***/ }),\n/* 20 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _preact = __webpack_require__(0);\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction formatError(error) {\n return error.json && error.json.error_description || error.message || error.toString();\n}\n\nvar Modal = function (_Component) {\n _inherits(Modal, _Component);\n\n function Modal() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, Modal);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Modal.__proto__ || Object.getPrototypeOf(Modal)).call.apply(_ref, [this].concat(args))), _this), _this.handleClose = function (e) {\n e.preventDefault();\n _this.props.onClose();\n }, _this.blockEvent = function (e) {\n e.stopPropagation();\n }, _this.linkHandler = function (page) {\n return function (e) {\n e.preventDefault();\n _this.props.onPage(page);\n };\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(Modal, [{\n key: \"render\",\n value: function render() {\n var _props = this.props,\n page = _props.page,\n error = _props.error,\n loading = _props.loading,\n showHeader = _props.showHeader,\n showSignup = _props.showSignup,\n devSettings = _props.devSettings,\n isOpen = _props.isOpen,\n children = _props.children,\n logo = _props.logo;\n\n var hidden = loading || !isOpen;\n return (0, _preact.h)(\n \"div\",\n {\n className: \"modalContainer\",\n role: \"dialog\",\n \"aria-hidden\": \"\" + hidden,\n onClick: this.handleClose\n },\n (0, _preact.h)(\n \"div\",\n {\n className: \"modalDialog\" + (loading ? \" visuallyHidden\" : \"\"),\n onClick: this.blockEvent\n },\n (0, _preact.h)(\n \"div\",\n { className: \"modalContent\" },\n (0, _preact.h)(\n \"button\",\n { onclick: this.handleClose, className: \"btn btnClose\" },\n (0, _preact.h)(\n \"span\",\n { className: \"visuallyHidden\" },\n \"Close\"\n )\n ),\n showHeader && (0, _preact.h)(\n \"div\",\n { className: \"header\" },\n showSignup && (0, _preact.h)(\n \"button\",\n {\n className: \"btn btnHeader \" + (page.signup ? \"active\" : \"\"),\n onclick: this.linkHandler(\"signup\")\n },\n \"Sign up\"\n ),\n !devSettings && (0, _preact.h)(\n \"button\",\n {\n className: \"btn btnHeader \" + (page.login ? \"active\" : \"\"),\n onclick: this.linkHandler(\"login\")\n },\n \"Log in\"\n )\n ),\n page.title && (0, _preact.h)(\n \"div\",\n { className: \"header\" },\n (0, _preact.h)(\n \"button\",\n { className: \"btn btnHeader active\" },\n page.title\n )\n ),\n devSettings && (0, _preact.h)(\n \"div\",\n { className: \"header\" },\n (0, _preact.h)(\n \"button\",\n { className: \"btn btnHeader active\" },\n \"Development Settings\"\n )\n ),\n error && (0, _preact.h)(\n \"div\",\n { className: \"flashMessage error\" },\n (0, _preact.h)(\n \"span\",\n null,\n formatError(error)\n )\n ),\n children\n )\n ),\n logo && (0, _preact.h)(\n \"a\",\n {\n href: \"https://www.netlify.com\",\n className: \"callOut\" + (loading ? \" visuallyHidden\" : \"\")\n },\n (0, _preact.h)(\"span\", { className: \"netlifyLogo\" }),\n \"Coded by Netlify\"\n )\n );\n }\n }]);\n\n return Modal;\n}(_preact.Component);\n\nexports.default = Modal;\n\n/***/ }),\n/* 21 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _preact = __webpack_require__(0);\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar SiteURLForm = function (_Component) {\n _inherits(SiteURLForm, _Component);\n\n function SiteURLForm(props) {\n _classCallCheck(this, SiteURLForm);\n\n var _this = _possibleConstructorReturn(this, (SiteURLForm.__proto__ || Object.getPrototypeOf(SiteURLForm)).call(this, props));\n\n _this.handleInput = function (e) {\n _this.setState(_defineProperty({}, e.target.name, e.target.value));\n };\n\n _this.addSiteURL = function (e) {\n e.preventDefault();\n _this.props.onSiteURL(_this.state.url);\n };\n\n _this.clearSiteURL = function (e) {\n e.preventDefault;\n _this.props.onSiteURL();\n };\n\n _this.state = { url: \"\", development: props.devMode || false };\n return _this;\n }\n\n _createClass(SiteURLForm, [{\n key: \"render\",\n value: function render() {\n var _this2 = this;\n\n var _state = this.state,\n url = _state.url,\n development = _state.development;\n\n\n return (0, _preact.h)(\n \"div\",\n null,\n development ? (0, _preact.h)(\n \"div\",\n { \"class\": \"subheader\" },\n (0, _preact.h)(\n \"h3\",\n null,\n \"Development Settings\"\n ),\n (0, _preact.h)(\n \"button\",\n {\n onclick: function onclick(e) {\n return _this2.clearSiteURL(e);\n },\n className: \"btnLink forgotPasswordLink\"\n },\n \"Clear localhost URL\"\n )\n ) : (0, _preact.h)(\n \"form\",\n { onsubmit: this.addSiteURL, className: \"form\" },\n (0, _preact.h)(\n \"div\",\n { className: \"flashMessage\" },\n \"Looks like you're running a local server. Please let us know the URL of your Netlify site.\"\n ),\n (0, _preact.h)(\n \"div\",\n { className: \"formGroup\" },\n (0, _preact.h)(\n \"label\",\n null,\n (0, _preact.h)(\n \"span\",\n { className: \"visuallyHidden\" },\n \"Enter your Netlify Site URL\"\n ),\n (0, _preact.h)(\"input\", {\n className: \"formControl\",\n type: \"url\",\n name: \"url\",\n value: url,\n placeholder: \"URL of your Netlify site\",\n autocapitalize: \"off\",\n required: true,\n oninput: this.handleInput\n }),\n (0, _preact.h)(\"div\", { className: \"inputFieldIcon inputFieldUrl\" })\n )\n ),\n (0, _preact.h)(\n \"button\",\n { type: \"submit\", className: \"btn\" },\n \"Set site's URL\"\n )\n )\n );\n }\n }]);\n\n return SiteURLForm;\n}(_preact.Component);\n\nexports.default = SiteURLForm;\n\n/***/ }),\n/* 22 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _preact = __webpack_require__(0);\n\nvar _button = __webpack_require__(7);\n\nvar _button2 = _interopRequireDefault(_button);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar LogoutForm = function (_Component) {\n _inherits(LogoutForm, _Component);\n\n function LogoutForm() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, LogoutForm);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = LogoutForm.__proto__ || Object.getPrototypeOf(LogoutForm)).call.apply(_ref, [this].concat(args))), _this), _this.handleLogout = function (e) {\n e.preventDefault();\n _this.props.onLogout();\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(LogoutForm, [{\n key: \"render\",\n value: function render() {\n var _props = this.props,\n user = _props.user,\n saving = _props.saving;\n\n\n return (0, _preact.h)(\n \"form\",\n {\n onSubmit: this.handleLogout,\n className: \"form \" + (saving ? \"disabled\" : \"\")\n },\n (0, _preact.h)(\n \"p\",\n { className: \"infoText\" },\n \"Logged in as \",\n (0, _preact.h)(\"br\", null),\n (0, _preact.h)(\n \"span\",\n { className: \"infoTextEmail\" },\n user.user_metadata.full_name || user.user_metadata.name || user.email\n )\n ),\n (0, _preact.h)(_button2.default, { saving: saving, text: \"Log out\", saving_text: \"Logging out\" })\n );\n }\n }]);\n\n return LogoutForm;\n}(_preact.Component);\n\nexports.default = LogoutForm;\n\n/***/ }),\n/* 23 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _preact = __webpack_require__(0);\n\nvar _message = __webpack_require__(8);\n\nvar _message2 = _interopRequireDefault(_message);\n\nvar _button = __webpack_require__(7);\n\nvar _button2 = _interopRequireDefault(_button);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar UserForm = function (_Component) {\n _inherits(UserForm, _Component);\n\n function UserForm(props) {\n _classCallCheck(this, UserForm);\n\n var _this = _possibleConstructorReturn(this, (UserForm.__proto__ || Object.getPrototypeOf(UserForm)).call(this, props));\n\n _this.handleInput = function (e) {\n _this.setState(_defineProperty({}, e.target.name, e.target.value));\n };\n\n _this.handleLogin = function (e) {\n e.preventDefault();\n _this.props.onSubmit(_this.state);\n };\n\n _this.state = { name: \"\", email: \"\", password: \"\" };\n return _this;\n }\n\n _createClass(UserForm, [{\n key: \"render\",\n value: function render() {\n var _props = this.props,\n page = _props.page,\n message = _props.message,\n saving = _props.saving,\n namePlaceholder = _props.namePlaceholder;\n var _state = this.state,\n name = _state.name,\n email = _state.email,\n password = _state.password;\n\n\n return (0, _preact.h)(\n \"form\",\n {\n onsubmit: this.handleLogin,\n className: \"form \" + (saving ? \"disabled\" : \"\")\n },\n message && (0, _preact.h)(_message2.default, { type: message }),\n page.name && (0, _preact.h)(\n \"div\",\n { className: \"formGroup\" },\n (0, _preact.h)(\n \"label\",\n null,\n (0, _preact.h)(\n \"span\",\n { className: \"visuallyHidden\" },\n \"Enter your name\"\n ),\n (0, _preact.h)(\"input\", {\n className: \"formControl\",\n type: \"name\",\n name: \"name\",\n value: name,\n placeholder: namePlaceholder ? namePlaceholder : \"Name\",\n autocapitalize: \"off\",\n required: true,\n oninput: this.handleInput\n }),\n (0, _preact.h)(\"div\", { className: \"inputFieldIcon inputFieldName\" })\n )\n ),\n page.email && (0, _preact.h)(\n \"div\",\n { className: \"formGroup\" },\n (0, _preact.h)(\n \"label\",\n null,\n (0, _preact.h)(\n \"span\",\n { className: \"visuallyHidden\" },\n \"Enter your email\"\n ),\n (0, _preact.h)(\"input\", {\n className: \"formControl\",\n type: \"email\",\n name: \"email\",\n value: email,\n placeholder: \"Email\",\n autocapitalize: \"off\",\n required: true,\n oninput: this.handleInput\n }),\n (0, _preact.h)(\"div\", { className: \"inputFieldIcon inputFieldEmail\" })\n )\n ),\n page.password && (0, _preact.h)(\n \"div\",\n { className: \"formGroup\" },\n (0, _preact.h)(\n \"label\",\n null,\n (0, _preact.h)(\n \"span\",\n { className: \"visuallyHidden\" },\n \"Enter your password\"\n ),\n (0, _preact.h)(\"input\", {\n className: \"formControl\",\n type: \"password\",\n name: \"password\",\n value: password,\n placeholder: \"Password\",\n required: true,\n oninput: this.handleInput\n }),\n (0, _preact.h)(\"div\", { className: \"inputFieldIcon inputFieldPassword\" })\n )\n ),\n (0, _preact.h)(_button2.default, {\n saving: saving,\n text: page.button,\n saving_text: page.button_saving\n })\n );\n }\n }]);\n\n return UserForm;\n}(_preact.Component);\n\nexports.default = UserForm;\n\n/***/ }),\n/* 24 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _preact = __webpack_require__(0);\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Provider = function (_Component) {\n _inherits(Provider, _Component);\n\n function Provider() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, Provider);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Provider.__proto__ || Object.getPrototypeOf(Provider)).call.apply(_ref, [this].concat(args))), _this), _this.handleLogin = function (e) {\n e.preventDefault();\n _this.props.onLogin(_this.props.provider.toLowerCase());\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(Provider, [{\n key: \"render\",\n value: function render() {\n var _props = this.props,\n provider = _props.provider,\n label = _props.label;\n\n\n return (0, _preact.h)(\n \"button\",\n {\n onClick: this.handleLogin,\n className: \"provider\" + provider + \" btn btnProvider\"\n },\n \"Continue with \",\n label\n );\n }\n }]);\n\n return Provider;\n}(_preact.Component);\n\nvar Providers = function (_Component2) {\n _inherits(Providers, _Component2);\n\n function Providers() {\n _classCallCheck(this, Providers);\n\n return _possibleConstructorReturn(this, (Providers.__proto__ || Object.getPrototypeOf(Providers)).apply(this, arguments));\n }\n\n _createClass(Providers, [{\n key: \"getLabel\",\n value: function getLabel(p) {\n var pId = p.toLowerCase();\n if (pId in this.props.labels) {\n return this.props.labels[pId];\n }\n return p;\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this3 = this;\n\n var _props2 = this.props,\n providers = _props2.providers,\n onLogin = _props2.onLogin;\n\n\n return (0, _preact.h)(\n \"div\",\n { className: \"providersGroup\" },\n (0, _preact.h)(\"hr\", { className: \"hr\" }),\n providers.map(function (p) {\n return (0, _preact.h)(Provider, {\n key: p,\n provider: p,\n label: _this3.getLabel(p),\n onLogin: onLogin\n });\n })\n );\n }\n }]);\n\n return Providers;\n}(_preact.Component);\n\nexports.default = Providers;\n\n/***/ }),\n/* 25 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _mobx = __webpack_require__(1);\n\nvar store = (0, _mobx.observable)({\n user: null,\n recovered_user: null,\n message: null,\n settings: null,\n gotrue: null,\n error: null,\n siteURL: null,\n remember: true,\n saving: false,\n invite_token: null,\n email_change_token: null,\n namePlaceholder: null,\n modal: {\n page: \"login\",\n isOpen: false,\n logo: true\n }\n});\n\nstore.setNamePlaceholder = (0, _mobx.action)(function setNamePlaceholder(namePlaceholder) {\n store.namePlaceholder = namePlaceholder;\n});\n\nstore.startAction = (0, _mobx.action)(function startAction() {\n store.saving = true;\n store.error = null;\n store.message = null;\n});\n\nstore.setError = (0, _mobx.action)(function setError(err) {\n store.saving = false;\n store.error = err;\n});\n\nstore.init = (0, _mobx.action)(function init(gotrue, reloadSettings) {\n if (gotrue) {\n store.gotrue = gotrue;\n store.user = gotrue.currentUser();\n if (store.user) {\n store.modal.page = \"user\";\n }\n }\n if (reloadSettings) {\n store.loadSettings();\n }\n});\n\nstore.loadSettings = (0, _mobx.action)(function loadSettings() {\n if (store.settings) {\n return;\n }\n if (!store.gotrue) {\n return;\n }\n\n store.gotrue.settings().then((0, _mobx.action)(function (settings) {\n return store.settings = settings;\n })).catch((0, _mobx.action)(function (err) {\n store.error = new Error(\"Failed to load settings from \" + store.gotrue.api.apiURL);\n }));\n});\n\nstore.setSiteURL = (0, _mobx.action)(function setSiteURL(url) {\n store.siteURL = url;\n});\n\nstore.clearSiteURL = (0, _mobx.action)(function clearSiteURL() {\n store.gotrue = null;\n store.siteURL = null;\n store.settings = null;\n});\n\nstore.login = (0, _mobx.action)(function login(email, password) {\n store.startAction();\n return store.gotrue.login(email, password, store.remember).then((0, _mobx.action)(function (user) {\n store.user = user;\n store.modal.page = \"user\";\n store.invite_token = null;\n if (store.email_change_token) {\n store.doEmailChange();\n }\n store.saving = false;\n })).catch(store.setError);\n});\n\nstore.externalLogin = (0, _mobx.action)(function externalLogin(provider) {\n // store.startAction();\n store.error = null;\n store.message = null;\n var url = store.invite_token ? store.gotrue.acceptInviteExternalUrl(provider, store.invite_token) : store.gotrue.loginExternalUrl(provider);\n window.location.href = url;\n});\n\nstore.completeExternalLogin = (0, _mobx.action)(function completeExternalLogin(params) {\n store.startAction();\n store.gotrue.createUser(params, store.remember).then(function (user) {\n store.user = user;\n store.modal.page = \"user\";\n store.saving = false;\n }).catch(store.setError);\n});\n\nstore.signup = (0, _mobx.action)(function signup(name, email, password) {\n store.startAction();\n return store.gotrue.signup(email, password, { full_name: name }).then((0, _mobx.action)(function () {\n if (store.settings.autoconfirm) {\n store.login(email, password, store.remember);\n } else {\n store.message = \"confirm\";\n }\n store.saving = false;\n })).catch(store.setError);\n});\n\nstore.logout = (0, _mobx.action)(function logout() {\n if (store.user) {\n store.startAction();\n return store.user.logout().then((0, _mobx.action)(function () {\n store.user = null;\n store.modal.page = \"login\";\n store.saving = false;\n })).catch(store.setError);\n } else {\n store.modal.page = \"login\";\n store.saving = false;\n }\n});\n\nstore.updatePassword = (0, _mobx.action)(function updatePassword(password) {\n store.startAction();\n var user = store.recovered_user || store.user;\n user.update({ password: password }).then(function (user) {\n store.user = user;\n store.recovered_user = null;\n store.modal.page = \"user\";\n store.saving = false;\n }).catch(store.setError);\n});\n\nstore.acceptInvite = (0, _mobx.action)(function acceptInvite(password) {\n store.startAction();\n store.gotrue.acceptInvite(store.invite_token, password, store.remember).then(function (user) {\n store.saving = false;\n store.invite_token = null;\n store.user = user;\n store.modal.page = \"user\";\n }).catch(store.setError);\n});\n\nstore.doEmailChange = (0, _mobx.action)(function doEmailChange() {\n store.startAction();\n return store.user.update({ email_change_token: store.email_change_token }).then((0, _mobx.action)(function (user) {\n store.user = user;\n store.email_change_token = null;\n store.message = \"email_changed\";\n store.saving = false;\n })).catch(store.setError);\n});\n\nstore.verifyToken = (0, _mobx.action)(function verifyToken(type, token) {\n var gotrue = store.gotrue;\n store.modal.isOpen = true;\n\n switch (type) {\n case \"confirmation\":\n store.startAction();\n store.modal.page = \"signup\";\n gotrue.confirm(token, store.remember).then((0, _mobx.action)(function (user) {\n store.user = user;\n store.saving = false;\n })).catch((0, _mobx.action)(function (err) {\n console.error(err);\n store.message = \"verfication_error\";\n store.modal.page = \"signup\";\n store.saving = false;\n }));\n break;\n case \"email_change\":\n store.email_change_token = token;\n store.modal.page = \"message\";\n if (store.user) {\n store.doEmailChange();\n } else {\n store.modal.page = \"login\";\n }\n break;\n case \"invite\":\n store.modal.page = type;\n store.invite_token = token;\n break;\n case \"recovery\":\n store.startAction();\n store.modal.page = type;\n store.gotrue.recover(token, store.remember).then(function (user) {\n store.saving = false;\n store.recovered_user = user;\n }).catch(function (err) {\n store.saving = false;\n store.error = err;\n store.modal.page = \"login\";\n });\n break;\n default:\n store.error = \"Unkown token type\";\n }\n});\n\nstore.requestPasswordRecovery = (0, _mobx.action)(function requestPasswordRecovery(email) {\n store.startAction();\n store.gotrue.requestPasswordRecovery(email).then((0, _mobx.action)(function () {\n store.message = \"password_mail\";\n store.saving = false;\n })).catch(store.setError);\n});\n\nstore.openModal = (0, _mobx.action)(function open(page) {\n store.modal.page = page;\n store.modal.isOpen = true;\n});\n\nstore.closeModal = (0, _mobx.action)(function close() {\n store.modal.isOpen = false;\n store.error = null;\n store.message = null;\n store.saving = false;\n});\n\nexports.default = store;\n\n/***/ }),\n/* 26 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _dec, _class;\n\nvar _preact = __webpack_require__(0);\n\nvar _mobxPreact = __webpack_require__(2);\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Controls = (_dec = (0, _mobxPreact.connect)([\"store\"]), _dec(_class = function (_Component) {\n _inherits(Controls, _Component);\n\n function Controls() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, Controls);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Controls.__proto__ || Object.getPrototypeOf(Controls)).call.apply(_ref, [this].concat(args))), _this), _this.handleSignup = function (e) {\n e.preventDefault();\n _this.props.store.openModal(\"signup\");\n }, _this.handleLogin = function (e) {\n e.preventDefault();\n _this.props.store.openModal(\"login\");\n }, _this.handleLogout = function (e) {\n e.preventDefault();\n _this.props.store.openModal(\"user\");\n }, _this.handleButton = function (e) {\n e.preventDefault();\n _this.props.store.openModal(_this.props.store.user ? \"user\" : \"login\");\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(Controls, [{\n key: \"render\",\n value: function render() {\n var user = this.props.store.user;\n\n\n if (this.props.mode === \"button\") {\n return (0, _preact.h)(\n \"a\",\n {\n className: \"netlify-identity-button\",\n href: \"#\",\n onClick: this.handleButton\n },\n this.props.text || (user ? \"Log out\" : \"Log in\")\n );\n }\n\n if (user) {\n return (0, _preact.h)(\n \"ul\",\n { className: \"netlify-identity-menu\" },\n (0, _preact.h)(\n \"li\",\n { className: \"netlify-identity-item netlify-identity-user-details\" },\n \"Logged in as\",\n \" \",\n (0, _preact.h)(\n \"span\",\n { className: \"netlify-identity-user\" },\n user.user_metadata.name || user.email\n )\n ),\n (0, _preact.h)(\n \"li\",\n { className: \"netlify-identity-item\" },\n (0, _preact.h)(\n \"a\",\n {\n className: \"netlify-identity-logout\",\n href: \"#\",\n onClick: this.handleLogout\n },\n \"Log out\"\n )\n )\n );\n }\n\n return (0, _preact.h)(\n \"ul\",\n { className: \"netlify-identity-menu\" },\n (0, _preact.h)(\n \"li\",\n { className: \"netlify-identity-item\" },\n (0, _preact.h)(\n \"a\",\n {\n className: \"netlify-identity-signup\",\n href: \"#\",\n onClick: this.handleSignup\n },\n \"Sign up\"\n )\n ),\n (0, _preact.h)(\n \"li\",\n { className: \"netlify-identity-item\" },\n (0, _preact.h)(\n \"a\",\n {\n className: \"netlify-identity-login\",\n href: \"#\",\n onClick: this.handleLogin\n },\n \"Log in\"\n )\n )\n );\n }\n }]);\n\n return Controls;\n}(_preact.Component)) || _class);\nexports.default = Controls;\n\n/***/ }),\n/* 27 */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(28)(false);\n// imports\n\n\n// module\nexports.push([module.i, \"::-webkit-input-placeholder {\\n /* Chrome/Opera/Safari */\\n color: #a3a9ac;\\n font-weight: 500;\\n}\\n\\n::-moz-placeholder {\\n /* Firefox 19+ */\\n color: #a3a9ac;\\n font-weight: 500;\\n}\\n\\n:-ms-input-placeholder {\\n /* IE 10+ */\\n color: #a3a9ac;\\n font-weight: 500;\\n}\\n\\n:-moz-placeholder {\\n /* Firefox 18- */\\n color: #a3a9ac;\\n font-weight: 500;\\n}\\n\\n.modalContainer {\\n position: absolute;\\n top: 0;\\n left: 0;\\n width: 100%;\\n min-height: 100%;\\n overflow-x: hidden;\\n overflow-y: auto;\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n font-family: -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, Helvetica,\\n Arial, sans-serif, \\\"Apple Color Emoji\\\", \\\"Segoe UI Emoji\\\", \\\"Segoe UI Symbol\\\";\\n font-size: 14px;\\n line-height: 1.5;\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-orient: vertical;\\n -webkit-box-direction: normal;\\n -ms-flex-direction: column;\\n flex-direction: column;\\n -webkit-box-align: center;\\n -ms-flex-align: center;\\n align-items: center;\\n z-index: 99999;\\n}\\n\\n.modalContainer::before {\\n content: \\\"\\\";\\n display: block;\\n position: fixed;\\n top: 0;\\n bottom: 0;\\n left: 0;\\n right: 0;\\n background-color: #fff;\\n z-index: -1;\\n}\\n\\n.modalDialog {\\n -webkit-box-flex: 1;\\n -ms-flex-positive: 1;\\n flex-grow: 1;\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-orient: vertical;\\n -webkit-box-direction: normal;\\n -ms-flex-direction: column;\\n flex-direction: column;\\n width: 100%;\\n}\\n\\n.modalContent {\\n position: relative;\\n padding: 32px;\\n opacity: 0;\\n -webkit-transform: translateY(10px) scale(1);\\n transform: translateY(10px) scale(1);\\n background: #fff;\\n}\\n\\n[aria-hidden=\\\"false\\\"] .modalContent {\\n -webkit-animation: bouncyEntrance 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);\\n animation: bouncyEntrance 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);\\n -webkit-animation-fill-mode: forwards;\\n animation-fill-mode: forwards;\\n }\\n\\n@-webkit-keyframes bouncyEntrance {\\n 0% {\\n opacity: 0;\\n -webkit-transform: translateY(10px) scale(0.9);\\n transform: translateY(10px) scale(0.9);\\n }\\n\\n 100% {\\n opacity: 1;\\n -webkit-transform: translateY(0) scale(1);\\n transform: translateY(0) scale(1);\\n }\\n}\\n\\n@keyframes bouncyEntrance {\\n 0% {\\n opacity: 0;\\n -webkit-transform: translateY(10px) scale(0.9);\\n transform: translateY(10px) scale(0.9);\\n }\\n\\n 100% {\\n opacity: 1;\\n -webkit-transform: translateY(0) scale(1);\\n transform: translateY(0) scale(1);\\n }\\n}\\n\\n@media (min-width: 480px) {\\n .modalContainer::before {\\n background-color: rgb(14, 30, 37);\\n -webkit-animation: fadeIn 0.1s ease-in;\\n animation: fadeIn 0.1s ease-in;\\n -webkit-animation-fill-mode: forwards;\\n animation-fill-mode: forwards;\\n }\\n\\n .modalDialog {\\n max-width: 364px;\\n -webkit-box-pack: center;\\n -ms-flex-pack: center;\\n justify-content: center;\\n }\\n\\n .modalContent {\\n background: #fff;\\n -webkit-box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .07),\\n 0 12px 32px 0 rgba(14, 30, 37, .1);\\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .07),\\n 0 12px 32px 0 rgba(14, 30, 37, .1);\\n border-radius: 8px;\\n margin-top: 32px;\\n }\\n}\\n\\n@-webkit-keyframes fadeIn {\\n 0% {\\n opacity: 0;\\n }\\n\\n 100% {\\n opacity: 0.67;\\n }\\n}\\n\\n@keyframes fadeIn {\\n 0% {\\n opacity: 0;\\n }\\n\\n 100% {\\n opacity: 0.67;\\n }\\n}\\n\\n.flashMessage {\\n text-align: center;\\n color: rgb(14, 30, 37);\\n font-weight: 500;\\n font-size: 14px;\\n background-color: #f2f3f3;\\n padding: 6px;\\n border-radius: 4px;\\n opacity: 0.7;\\n -webkit-transition: opacity 0.2s linear;\\n transition: opacity 0.2s linear;\\n}\\n\\n.flashMessage:hover,\\n.flashMessage:focus {\\n opacity: 1;\\n}\\n\\n.error {\\n color: #fa3946;\\n background-color: #fceef0;\\n opacity: 1;\\n}\\n\\n.error span::before {\\n content: \\\"\\\";\\n display: inline-block;\\n position: relative;\\n top: 3px;\\n margin-right: 4px;\\n width: 16px;\\n height: 16px;\\n background: no-repeat center center;\\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8cGF0aCBmaWxsPSIjRkEzOTQ2IiBkPSJNOCwxLjMzMzMzMzMzIEMxMS42NzYsMS4zMzMzMzMzMyAxNC42NjY2NjY3LDQuMzI0IDE0LjY2NjY2NjcsOCBDMTQuNjY2NjY2NywxMS42NzYgMTEuNjc2LDE0LjY2NjY2NjcgOCwxNC42NjY2NjY3IEM0LjMyNCwxNC42NjY2NjY3IDEuMzMzMzMzMzMsMTEuNjc2IDEuMzMzMzMzMzMsOCBDMS4zMzMzMzMzMyw0LjMyNCA0LjMyNCwxLjMzMzMzMzMzIDgsMS4zMzMzMzMzMyBaIE04LDAgQzMuNTgyLDAgMCwzLjU4MiAwLDggQzAsMTIuNDE4IDMuNTgyLDE2IDgsMTYgQzEyLjQxOCwxNiAxNiwxMi40MTggMTYsOCBDMTYsMy41ODIgMTIuNDE4LDAgOCwwIFogTTcuMTI2NjY2NjcsNS4wMTczMzMzMyBDNy4wNjA2NjY2Nyw0LjQ3OTMzMzMzIDcuNDc4NjY2NjcsNCA4LjAyNTMzMzMzLDQgQzguNTM5MzMzMzMsNCA4Ljk0MzMzMzMzLDQuNDUwNjY2NjcgOC44Nzg2NjY2Nyw0Ljk2NzMzMzMzIEw4LjM3NCw5LjAwMjY2NjY3IEM4LjM1MDY2NjY3LDkuMTkxMzMzMzMgOC4xOSw5LjMzMzMzMzMzIDgsOS4zMzMzMzMzMyBDNy44MSw5LjMzMzMzMzMzIDcuNjQ5MzMzMzMsOS4xOTEzMzMzMyA3LjYyNTMzMzMzLDkuMDAyNjY2NjcgTDcuMTI2NjY2NjcsNS4wMTczMzMzMyBMNy4xMjY2NjY2Nyw1LjAxNzMzMzMzIFogTTgsMTIuMTY2NjY2NyBDNy41NCwxMi4xNjY2NjY3IDcuMTY2NjY2NjcsMTEuNzkzMzMzMyA3LjE2NjY2NjY3LDExLjMzMzMzMzMgQzcuMTY2NjY2NjcsMTAuODczMzMzMyA3LjU0LDEwLjUgOCwxMC41IEM4LjQ2LDEwLjUgOC44MzMzMzMzMywxMC44NzMzMzMzIDguODMzMzMzMzMsMTEuMzMzMzMzMyBDOC44MzMzMzMzMywxMS43OTMzMzMzIDguNDYsMTIuMTY2NjY2NyA4LDEyLjE2NjY2NjcgWiIvPgo8L3N2Zz4K);\\n}\\n\\n.success {\\n}\\n\\n.disabled {\\n opacity: 0.38;\\n pointer-events: none;\\n}\\n\\n.infoText {\\n text-align: center;\\n margin: 32px 0;\\n}\\n\\n.infoTextEmail {\\n font-size: 16px;\\n font-weight: 500;\\n}\\n\\n.saving {\\n background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABQCAMAAACeYYN3AAAAxlBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////DTx3aAAAAQnRSTlMAAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2Nzg5Ojs8PT4/QEGgjKRfAAACk0lEQVR4AYXQDXP5WhAG8CUhiSQqSv4RRRMVL1Fa1VZf3PL9v9Tde9wc9M8+P8/M7s6czJiHgNIvVCJO6YiAMlAiWckASiQrm4bJMZTDrmbBIEC9qpgVjp6n4B+oyEwCzKrMQBVaQIlkpmXZln1dhQB+49gOh5dLexlV6MhsAqyazEQVugCqsOK5nsQmwPWZ53ucvyczSGb4l9T9OsdnLgFOXVZFFd4AqEKrIasR4AdBI2hw1GR6VzMwSWY2A60ZNDl6KnUC3KbMRhXeAqhCpyXzCAjarNVucdqXVEhWaRfCdsj5vQcE1EOZQ7Jy+EcUlklWi2Q3BLQ6nagTcTra2Y0qrHZirRN3OOezTUAjvq4bd7suqpDfSGJUoXcnCwiIerIqqlC96vf6HD1ZsUcE3PYH/QGnrx3uYnqoQn4l6aMK/XtZi4BuIrNIZqVJkiapkhx37Y6AcDgcpsNU44Nz3OuoQn4jSVGFNw+ykID+SGaTzM5G2YiTFVM73AMConE2zjhj7XAXs4EqHE/4d12GKgwmsoiAZCpzSObMptPZdHZVSkCc5/ksnym8cPRUmiQzpvNcmedzTl4o7qlBsuZc1iVg9ChDFdYWshEBveV/FssFZ/l7Z7eowsfl0/JJ4UXj43A/ogpbT7IeAZNnWQ1VuJJNCBi8HKxeVhw9tRaq8JkfrV/WHDULxb1CFbbX7HX9yllfck9A/ipzSea+yeYEJO+yEFX4tim8b94VXjj/zzdU4Z/NmY/NB+fkTglYfMg8knmfsiUBD1+yCFX4+X309f3FOds/UYVR8fH2e6vwovExIuB5K/NJ5v8jWxGQ/chiVOF2d+pn98M5zt3WJFm83+/2O4UXjprabkzAWn+o56k9qvBfX4hMaM+SxOMAAAAASUVORK5CYII=);\\n background-repeat: repeat-x;\\n background-size: contain;\\n background-origin: border-box;\\n background-position: 0% 0%;\\n -webkit-animation: loading 20s linear infinite;\\n animation: loading 20s linear infinite;\\n pointer-events: none;\\n}\\n\\n.saving::after {\\n content: \\\"\\\\2026\\\";\\n}\\n\\n@-webkit-keyframes loading {\\n 0% {\\n background-position: 0% 0%;\\n }\\n\\n 100% {\\n background-position: 700% 0%;\\n }\\n}\\n\\n@keyframes loading {\\n 0% {\\n background-position: 0% 0%;\\n }\\n\\n 100% {\\n background-position: 700% 0%;\\n }\\n}\\n\\n.btn {\\n display: block;\\n position: relative;\\n width: 100%;\\n height: auto;\\n margin: 14px 0 0;\\n padding: 6px;\\n outline: 0;\\n cursor: pointer;\\n border: 2px solid rgb(14, 30, 37);\\n border-radius: 4px;\\n background-color: #2d3b41;\\n color: #fff;\\n -webkit-transition: background-color 0.2s ease;\\n transition: background-color 0.2s ease;\\n font-family: -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, Helvetica,\\n Arial, sans-serif, \\\"Apple Color Emoji\\\", \\\"Segoe UI Emoji\\\", \\\"Segoe UI Symbol\\\";\\n font-size: 14px;\\n font-weight: 500;\\n line-height: 24px;\\n text-align: center;\\n text-decoration: none;\\n white-space: nowrap;\\n}\\n\\n.btn:hover,\\n.btn:focus {\\n background-color: rgb(14, 30, 37);\\n text-decoration: none;\\n}\\n\\n.btnClose {\\n position: absolute;\\n top: 0;\\n right: 0;\\n margin: 0;\\n padding: 0;\\n border: 0;\\n width: 24px;\\n height: 24px;\\n border-radius: 50%;\\n margin: 6px;\\n background: #fff;\\n color: #a3a9ac;\\n}\\n\\n.btnClose::before {\\n content: \\\"\\\\D7\\\";\\n font-size: 25px;\\n line-height: 9px;\\n}\\n\\n.btnClose:hover,\\n.btnClose:focus {\\n background: #e9ebeb;\\n color: rgb(14, 30, 37);\\n}\\n\\n.header {\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n margin-top: -8px;\\n margin-bottom: 32px;\\n}\\n\\n.btnHeader {\\n font-size: 16px;\\n line-height: 24px;\\n background: #fff;\\n color: #a3a9ac;\\n border: 0;\\n border-bottom: 2px solid #e9ebeb;\\n border-radius: 4px 4px 0 0;\\n margin: 0;\\n}\\n\\n.btnHeader:focus,\\n.btnHeader.active {\\n background: #fff;\\n color: rgb(14, 30, 37);\\n border-color: rgb(14, 30, 37);\\n font-weight: 700;\\n}\\n\\n.btnHeader:not(:only-child):hover {\\n background-color: #e9ebeb;\\n color: rgb(14, 30, 37);\\n}\\n\\n.btnHeader:only-child {\\n cursor: auto;\\n}\\n\\n.btnLink {\\n display: block;\\n position: relative;\\n width: auto;\\n height: auto;\\n margin: 14px auto 0;\\n padding: 6px;\\n padding-bottom: 0;\\n outline: 0;\\n cursor: pointer;\\n color: rgb(14, 30, 37);\\n border: none;\\n border-bottom: 2px solid #e9ebeb;\\n border-radius: 0;\\n background-color: inherit;\\n -webkit-transition: border-color 0.2s ease;\\n transition: border-color 0.2s ease;\\n font-family: -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, Helvetica,\\n Arial, sans-serif, \\\"Apple Color Emoji\\\", \\\"Segoe UI Emoji\\\", \\\"Segoe UI Symbol\\\";\\n font-size: 14px;\\n font-weight: 500;\\n line-height: 24px;\\n text-align: center;\\n white-space: nowrap;\\n}\\n\\n.btnLink:hover,\\n.btnLink:focus {\\n background-color: inherit;\\n border-color: #a3a9ac;\\n}\\n\\n.form {\\n}\\n\\n.formGroup {\\n position: relative;\\n margin-top: 14px;\\n}\\n\\n.formControl {\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n display: block;\\n width: 100%;\\n height: 40px;\\n margin: 0;\\n padding: 6px 12px 6px 34px;\\n border: 2px solid #e9ebeb;\\n border-radius: 4px;\\n background: #fff;\\n color: rgb(14, 30, 37);\\n -webkit-box-shadow: none;\\n box-shadow: none;\\n font-size: 14px;\\n font-weight: 500;\\n line-height: 24px;\\n -webkit-transition: -webkit-box-shadow ease-in-out 0.15s;\\n transition: -webkit-box-shadow ease-in-out 0.15s;\\n transition: box-shadow ease-in-out 0.15s;\\n transition: box-shadow ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;\\n -webkit-appearance: none;\\n -moz-appearance: none;\\n}\\n\\n.inputFieldIcon {\\n position: absolute;\\n top: 12px;\\n left: 12px;\\n display: inline-block;\\n width: 16px;\\n height: 16px;\\n background-repeat: no-repeat;\\n background-position: center;\\n pointer-events: none;\\n}\\n\\n.inputFieldName {\\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDE0IDE0Ij4gIDxwYXRoIGZpbGw9IiNBM0E5QUMiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTgsNyBDNi4zNDMxNDU3NSw3IDUsNS42NTY4NTQyNSA1LDQgQzUsMi4zNDMxNDU3NSA2LjM0MzE0NTc1LDEgOCwxIEM5LjY1Njg1NDI1LDEgMTEsMi4zNDMxNDU3NSAxMSw0IEMxMSw1LjY1Njg1NDI1IDkuNjU2ODU0MjUsNyA4LDcgWiBNOCwxNSBMMS41LDE1IEMxLjUsMTEuMTM0MDA2OCA0LjQxMDE0OTEzLDggOCw4IEMxMS41ODk4NTA5LDggMTQuNSwxMS4xMzQwMDY4IDE0LjUsMTUgTDgsMTUgWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEgLTEpIi8+PC9zdmc+);\\n}\\n\\n.inputFieldEmail {\\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxMSIgdmlld0JveD0iMCAwIDE2IDExIj4gIDxwYXRoIG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Sg0NSA4LjcwNyA2LjI5MykiLz48L3N2Zz4=);\\n}\\n\\n.formLabel {\\n}\\n\\n.hr {\\n border: 0;\\n border-top: 2px solid #e9ebeb;\\n margin: 32px 0 -1px;\\n text-align: center;\\n overflow: visible;\\n}\\n\\n.hr::before {\\n content: \\\"or\\\";\\n position: relative;\\n display: inline-block;\\n font-size: 12px;\\n font-weight: 800;\\n line-height: 1;\\n text-transform: uppercase;\\n background-color: #fff;\\n color: rgb(14, 30, 37);\\n padding: 4px;\\n top: -11px;\\n}\\n\\n.btnProvider {\\n padding-left: 40px;\\n padding-right: 40px;\\n}\\n\\n.btnProvider::before {\\n content: \\\"\\\";\\n position: absolute;\\n display: inline-block;\\n vertical-align: middle;\\n width: 32px;\\n height: 40px;\\n background-repeat: no-repeat;\\n background-position: left center;\\n top: -2px;\\n left: 14px;\\n}\\n\\n.providerGoogle {\\n background-color: #4285f4;\\n border-color: #366dc7;\\n}\\n\\n.providerGoogle:hover,\\n.providerGoogle:focus {\\n background-color: #366dc7;\\n}\\n\\n.providerGitHub {\\n background-color: #333;\\n border-color: #000;\\n}\\n\\n.providerGitHub:hover,\\n.providerGitHub:focus {\\n background-color: #000;\\n}\\n\\n.providerGitLab {\\n background-color: #e24329;\\n border-color: #b03320;\\n}\\n\\n.providerGitLab:hover,\\n.providerGitLab:focus {\\n background-color: #b03320;\\n}\\n\\n.providerBitbucket {\\n background-color: #205081;\\n border-color: #14314f;\\n}\\n\\n.providerBitbucket:hover,\\n.providerBitbucket:focus {\\n background-color: #14314f;\\n}\\n\\n.providerGoogle:before {\\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDEzIDEyIj4gIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEuNDg4IC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xLjA5OCIgcnk9IjEuMDg5Ii8+ICAgIDwvZz4gIDwvZz48L3N2Zz4=);\\n}\\n\\n.callOut {\\n display: block;\\n padding: 32px;\\n font-size: 14px;\\n font-weight: 500;\\n text-decoration: none;\\n color: #a3a9ac;\\n text-align: center;\\n}\\n\\n.callOut:after {\\n content: \\\" \\\\2665\\\";\\n -webkit-transition: color 4s ease;\\n transition: color 4s ease;\\n}\\n\\n.callOut:hover:after {\\n color: red;\\n}\\n\\n.callOut .netlifyLogo {\\n display: block;\\n margin: auto;\\n width: 32px;\\n height: 32px;\\n margin-bottom: 8px;\\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmlld0JveD0iMCAwIDMyIDMyIj4gIDxkZWZzPiAgICA8cmFkaWFsR3JhZGllbnQgaWQ9ImEiIGN5PSIwJSIgcj0iMTAwJSIgZng9IjUwJSIgZnk9IjAlIiBncmFkaWVudFRyYW5zZm9ybT0ibWF0cml4KDAgMSAtMS4xNTE4NSAwIC41IC0uNSkiPiAgICAgIDxzdG9wIHN0b3AtY29sb3I9IiMyMEM2QjciIG9mZnNldD0iMCUiLz4gICAgICA8c3RvcCBzdG9wLWNvbG9yPSIjNEQ5QUJGIiBvZmZzZXQ9IjEwMCUiLz4gICAgPC9yYWRpYWxHcmFkaWVudD4gIDwvZGVmcz4gIDxwYXRoIGZpbGw9InVybCgjYSkiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTIyLjk4MDYyMywxMS42MjYyMzc3IEMyMi44NzE3MTA3LDExLjUwNTEzMDYgMjIuNzM1NTcwNCwxMS4zOTc0Nzk4IDIyLjU3MjIwMjEsMTEuMzE2NzQxOCBDMjIuNTU4NTg4MSwxMS4zMTY3NDE4IDIyLjU0NDk3NCwxMS4yODk4MjkxIDIyLjUzMTM2LDExLjI3NjM3MjcgTDIzLjE3MTIxOTQsNy4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EMwLjYyNjIxMzE4NSwxNi44NzQyMTMgMC42Mzk4MjcyNDMsMTYuODYwNzU2OCAwLjY2NzA1NTM1OSwxNi44NjA3NTY4IEw3LjM1MTU1NzgzLDE4LjI0Njc0NjQgWiIvPjwvc3ZnPg==);\\n}\\n\\n.visuallyHidden {\\n border: 0;\\n clip: rect(0 0 0 0);\\n height: 1px;\\n margin: -1px;\\n overflow: hidden;\\n padding: 0;\\n position: absolute;\\n width: 1px;\\n #fff-space: nowrap;\\n}\\n\\n.subheader {\\n margin-top: 2em;\\n border-top: 1px solid rgb(14, 30, 37);\\n}\\n\\n.subheader h3 {\\n padding-top: 1em;\\n text-align: center;\\n }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n/* 28 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\n/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\nmodule.exports = function (useSourceMap) {\n\tvar list = [];\n\n\t// return the list of modules as css string\n\tlist.toString = function toString() {\n\t\treturn this.map(function (item) {\n\t\t\tvar content = cssWithMappingToString(item, useSourceMap);\n\t\t\tif (item[2]) {\n\t\t\t\treturn \"@media \" + item[2] + \"{\" + content + \"}\";\n\t\t\t} else {\n\t\t\t\treturn content;\n\t\t\t}\n\t\t}).join(\"\");\n\t};\n\n\t// import a list of modules into the list\n\tlist.i = function (modules, mediaQuery) {\n\t\tif (typeof modules === \"string\") modules = [[null, modules, \"\"]];\n\t\tvar alreadyImportedModules = {};\n\t\tfor (var i = 0; i < this.length; i++) {\n\t\t\tvar id = this[i][0];\n\t\t\tif (typeof id === \"number\") alreadyImportedModules[id] = true;\n\t\t}\n\t\tfor (i = 0; i < modules.length; i++) {\n\t\t\tvar item = modules[i];\n\t\t\t// skip already imported module\n\t\t\t// this implementation is not 100% perfect for weird media query combinations\n\t\t\t// when a module is imported multiple times with different media queries.\n\t\t\t// I hope this will never occur (Hey this way we have smaller bundles)\n\t\t\tif (typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\n\t\t\t\tif (mediaQuery && !item[2]) {\n\t\t\t\t\titem[2] = mediaQuery;\n\t\t\t\t} else if (mediaQuery) {\n\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\n\t\t\t\t}\n\t\t\t\tlist.push(item);\n\t\t\t}\n\t\t}\n\t};\n\treturn list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n\tvar content = item[1] || '';\n\tvar cssMapping = item[3];\n\tif (!cssMapping) {\n\t\treturn content;\n\t}\n\n\tif (useSourceMap && typeof btoa === 'function') {\n\t\tvar sourceMapping = toComment(cssMapping);\n\t\tvar sourceURLs = cssMapping.sources.map(function (source) {\n\t\t\treturn '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */';\n\t\t});\n\n\t\treturn [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n\t}\n\n\treturn [content].join('\\n');\n}\n\n// Adapted from convert-source-map (MIT)\nfunction toComment(sourceMap) {\n\t// eslint-disable-next-line no-undef\n\tvar base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n\tvar data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;\n\n\treturn '/*# ' + data + ' */';\n}\n\n/***/ })\n/******/ ]);\n\n\n// WEBPACK FOOTER //\n// netlify-identity-widget.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 9);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 32c95e74520dd7180e21","var VNode = function VNode() {};\n\nvar options = {};\n\nvar stack = [];\n\nvar EMPTY_CHILDREN = [];\n\nfunction h(nodeName, attributes) {\n\tvar children = EMPTY_CHILDREN,\n\t lastSimple,\n\t child,\n\t simple,\n\t i;\n\tfor (i = arguments.length; i-- > 2;) {\n\t\tstack.push(arguments[i]);\n\t}\n\tif (attributes && attributes.children != null) {\n\t\tif (!stack.length) stack.push(attributes.children);\n\t\tdelete attributes.children;\n\t}\n\twhile (stack.length) {\n\t\tif ((child = stack.pop()) && child.pop !== undefined) {\n\t\t\tfor (i = child.length; i--;) {\n\t\t\t\tstack.push(child[i]);\n\t\t\t}\n\t\t} else {\n\t\t\tif (typeof child === 'boolean') child = null;\n\n\t\t\tif (simple = typeof nodeName !== 'function') {\n\t\t\t\tif (child == null) child = '';else if (typeof child === 'number') child = String(child);else if (typeof child !== 'string') simple = false;\n\t\t\t}\n\n\t\t\tif (simple && lastSimple) {\n\t\t\t\tchildren[children.length - 1] += child;\n\t\t\t} else if (children === EMPTY_CHILDREN) {\n\t\t\t\tchildren = [child];\n\t\t\t} else {\n\t\t\t\tchildren.push(child);\n\t\t\t}\n\n\t\t\tlastSimple = simple;\n\t\t}\n\t}\n\n\tvar p = new VNode();\n\tp.nodeName = nodeName;\n\tp.children = children;\n\tp.attributes = attributes == null ? undefined : attributes;\n\tp.key = attributes == null ? undefined : attributes.key;\n\n\tif (options.vnode !== undefined) options.vnode(p);\n\n\treturn p;\n}\n\nfunction extend(obj, props) {\n for (var i in props) {\n obj[i] = props[i];\n }return obj;\n}\n\nvar defer = typeof Promise == 'function' ? Promise.resolve().then.bind(Promise.resolve()) : setTimeout;\n\nfunction cloneElement(vnode, props) {\n return h(vnode.nodeName, extend(extend({}, vnode.attributes), props), arguments.length > 2 ? [].slice.call(arguments, 2) : vnode.children);\n}\n\nvar IS_NON_DIMENSIONAL = /acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i;\n\nvar items = [];\n\nfunction enqueueRender(component) {\n\tif (!component._dirty && (component._dirty = true) && items.push(component) == 1) {\n\t\t(options.debounceRendering || defer)(rerender);\n\t}\n}\n\nfunction rerender() {\n\tvar p,\n\t list = items;\n\titems = [];\n\twhile (p = list.pop()) {\n\t\tif (p._dirty) renderComponent(p);\n\t}\n}\n\nfunction isSameNodeType(node, vnode, hydrating) {\n\tif (typeof vnode === 'string' || typeof vnode === 'number') {\n\t\treturn node.splitText !== undefined;\n\t}\n\tif (typeof vnode.nodeName === 'string') {\n\t\treturn !node._componentConstructor && isNamedNode(node, vnode.nodeName);\n\t}\n\treturn hydrating || node._componentConstructor === vnode.nodeName;\n}\n\nfunction isNamedNode(node, nodeName) {\n\treturn node.normalizedNodeName === nodeName || node.nodeName.toLowerCase() === nodeName.toLowerCase();\n}\n\nfunction getNodeProps(vnode) {\n\tvar props = extend({}, vnode.attributes);\n\tprops.children = vnode.children;\n\n\tvar defaultProps = vnode.nodeName.defaultProps;\n\tif (defaultProps !== undefined) {\n\t\tfor (var i in defaultProps) {\n\t\t\tif (props[i] === undefined) {\n\t\t\t\tprops[i] = defaultProps[i];\n\t\t\t}\n\t\t}\n\t}\n\n\treturn props;\n}\n\nfunction createNode(nodeName, isSvg) {\n\tvar node = isSvg ? document.createElementNS('http://www.w3.org/2000/svg', nodeName) : document.createElement(nodeName);\n\tnode.normalizedNodeName = nodeName;\n\treturn node;\n}\n\nfunction removeNode(node) {\n\tvar parentNode = node.parentNode;\n\tif (parentNode) parentNode.removeChild(node);\n}\n\nfunction setAccessor(node, name, old, value, isSvg) {\n\tif (name === 'className') name = 'class';\n\n\tif (name === 'key') {} else if (name === 'ref') {\n\t\tif (old) old(null);\n\t\tif (value) value(node);\n\t} else if (name === 'class' && !isSvg) {\n\t\tnode.className = value || '';\n\t} else if (name === 'style') {\n\t\tif (!value || typeof value === 'string' || typeof old === 'string') {\n\t\t\tnode.style.cssText = value || '';\n\t\t}\n\t\tif (value && typeof value === 'object') {\n\t\t\tif (typeof old !== 'string') {\n\t\t\t\tfor (var i in old) {\n\t\t\t\t\tif (!(i in value)) node.style[i] = '';\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (var i in value) {\n\t\t\t\tnode.style[i] = typeof value[i] === 'number' && IS_NON_DIMENSIONAL.test(i) === false ? value[i] + 'px' : value[i];\n\t\t\t}\n\t\t}\n\t} else if (name === 'dangerouslySetInnerHTML') {\n\t\tif (value) node.innerHTML = value.__html || '';\n\t} else if (name[0] == 'o' && name[1] == 'n') {\n\t\tvar useCapture = name !== (name = name.replace(/Capture$/, ''));\n\t\tname = name.toLowerCase().substring(2);\n\t\tif (value) {\n\t\t\tif (!old) node.addEventListener(name, eventProxy, useCapture);\n\t\t} else {\n\t\t\tnode.removeEventListener(name, eventProxy, useCapture);\n\t\t}\n\t\t(node._listeners || (node._listeners = {}))[name] = value;\n\t} else if (name !== 'list' && name !== 'type' && !isSvg && name in node) {\n\t\ttry {\n\t\t\tnode[name] = value == null ? '' : value;\n\t\t} catch (e) {}\n\t\tif ((value == null || value === false) && name != 'spellcheck') node.removeAttribute(name);\n\t} else {\n\t\tvar ns = isSvg && name !== (name = name.replace(/^xlink:?/, ''));\n\n\t\tif (value == null || value === false) {\n\t\t\tif (ns) node.removeAttributeNS('http://www.w3.org/1999/xlink', name.toLowerCase());else node.removeAttribute(name);\n\t\t} else if (typeof value !== 'function') {\n\t\t\tif (ns) node.setAttributeNS('http://www.w3.org/1999/xlink', name.toLowerCase(), value);else node.setAttribute(name, value);\n\t\t}\n\t}\n}\n\nfunction eventProxy(e) {\n\treturn this._listeners[e.type](options.event && options.event(e) || e);\n}\n\nvar mounts = [];\n\nvar diffLevel = 0;\n\nvar isSvgMode = false;\n\nvar hydrating = false;\n\nfunction flushMounts() {\n\tvar c;\n\twhile (c = mounts.pop()) {\n\t\tif (options.afterMount) options.afterMount(c);\n\t\tif (c.componentDidMount) c.componentDidMount();\n\t}\n}\n\nfunction diff(dom, vnode, context, mountAll, parent, componentRoot) {\n\tif (!diffLevel++) {\n\t\tisSvgMode = parent != null && parent.ownerSVGElement !== undefined;\n\n\t\thydrating = dom != null && !('__preactattr_' in dom);\n\t}\n\n\tvar ret = idiff(dom, vnode, context, mountAll, componentRoot);\n\n\tif (parent && ret.parentNode !== parent) parent.appendChild(ret);\n\n\tif (! --diffLevel) {\n\t\thydrating = false;\n\n\t\tif (!componentRoot) flushMounts();\n\t}\n\n\treturn ret;\n}\n\nfunction idiff(dom, vnode, context, mountAll, componentRoot) {\n\tvar out = dom,\n\t prevSvgMode = isSvgMode;\n\n\tif (vnode == null || typeof vnode === 'boolean') vnode = '';\n\n\tif (typeof vnode === 'string' || typeof vnode === 'number') {\n\t\tif (dom && dom.splitText !== undefined && dom.parentNode && (!dom._component || componentRoot)) {\n\t\t\tif (dom.nodeValue != vnode) {\n\t\t\t\tdom.nodeValue = vnode;\n\t\t\t}\n\t\t} else {\n\t\t\tout = document.createTextNode(vnode);\n\t\t\tif (dom) {\n\t\t\t\tif (dom.parentNode) dom.parentNode.replaceChild(out, dom);\n\t\t\t\trecollectNodeTree(dom, true);\n\t\t\t}\n\t\t}\n\n\t\tout['__preactattr_'] = true;\n\n\t\treturn out;\n\t}\n\n\tvar vnodeName = vnode.nodeName;\n\tif (typeof vnodeName === 'function') {\n\t\treturn buildComponentFromVNode(dom, vnode, context, mountAll);\n\t}\n\n\tisSvgMode = vnodeName === 'svg' ? true : vnodeName === 'foreignObject' ? false : isSvgMode;\n\n\tvnodeName = String(vnodeName);\n\tif (!dom || !isNamedNode(dom, vnodeName)) {\n\t\tout = createNode(vnodeName, isSvgMode);\n\n\t\tif (dom) {\n\t\t\twhile (dom.firstChild) {\n\t\t\t\tout.appendChild(dom.firstChild);\n\t\t\t}\n\t\t\tif (dom.parentNode) dom.parentNode.replaceChild(out, dom);\n\n\t\t\trecollectNodeTree(dom, true);\n\t\t}\n\t}\n\n\tvar fc = out.firstChild,\n\t props = out['__preactattr_'],\n\t vchildren = vnode.children;\n\n\tif (props == null) {\n\t\tprops = out['__preactattr_'] = {};\n\t\tfor (var a = out.attributes, i = a.length; i--;) {\n\t\t\tprops[a[i].name] = a[i].value;\n\t\t}\n\t}\n\n\tif (!hydrating && vchildren && vchildren.length === 1 && typeof vchildren[0] === 'string' && fc != null && fc.splitText !== undefined && fc.nextSibling == null) {\n\t\tif (fc.nodeValue != vchildren[0]) {\n\t\t\tfc.nodeValue = vchildren[0];\n\t\t}\n\t} else if (vchildren && vchildren.length || fc != null) {\n\t\t\tinnerDiffNode(out, vchildren, context, mountAll, hydrating || props.dangerouslySetInnerHTML != null);\n\t\t}\n\n\tdiffAttributes(out, vnode.attributes, props);\n\n\tisSvgMode = prevSvgMode;\n\n\treturn out;\n}\n\nfunction innerDiffNode(dom, vchildren, context, mountAll, isHydrating) {\n\tvar originalChildren = dom.childNodes,\n\t children = [],\n\t keyed = {},\n\t keyedLen = 0,\n\t min = 0,\n\t len = originalChildren.length,\n\t childrenLen = 0,\n\t vlen = vchildren ? vchildren.length : 0,\n\t j,\n\t c,\n\t f,\n\t vchild,\n\t child;\n\n\tif (len !== 0) {\n\t\tfor (var i = 0; i < len; i++) {\n\t\t\tvar _child = originalChildren[i],\n\t\t\t props = _child['__preactattr_'],\n\t\t\t key = vlen && props ? _child._component ? _child._component.__key : props.key : null;\n\t\t\tif (key != null) {\n\t\t\t\tkeyedLen++;\n\t\t\t\tkeyed[key] = _child;\n\t\t\t} else if (props || (_child.splitText !== undefined ? isHydrating ? _child.nodeValue.trim() : true : isHydrating)) {\n\t\t\t\tchildren[childrenLen++] = _child;\n\t\t\t}\n\t\t}\n\t}\n\n\tif (vlen !== 0) {\n\t\tfor (var i = 0; i < vlen; i++) {\n\t\t\tvchild = vchildren[i];\n\t\t\tchild = null;\n\n\t\t\tvar key = vchild.key;\n\t\t\tif (key != null) {\n\t\t\t\tif (keyedLen && keyed[key] !== undefined) {\n\t\t\t\t\tchild = keyed[key];\n\t\t\t\t\tkeyed[key] = undefined;\n\t\t\t\t\tkeyedLen--;\n\t\t\t\t}\n\t\t\t} else if (min < childrenLen) {\n\t\t\t\t\tfor (j = min; j < childrenLen; j++) {\n\t\t\t\t\t\tif (children[j] !== undefined && isSameNodeType(c = children[j], vchild, isHydrating)) {\n\t\t\t\t\t\t\tchild = c;\n\t\t\t\t\t\t\tchildren[j] = undefined;\n\t\t\t\t\t\t\tif (j === childrenLen - 1) childrenLen--;\n\t\t\t\t\t\t\tif (j === min) min++;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\tchild = idiff(child, vchild, context, mountAll);\n\n\t\t\tf = originalChildren[i];\n\t\t\tif (child && child !== dom && child !== f) {\n\t\t\t\tif (f == null) {\n\t\t\t\t\tdom.appendChild(child);\n\t\t\t\t} else if (child === f.nextSibling) {\n\t\t\t\t\tremoveNode(f);\n\t\t\t\t} else {\n\t\t\t\t\tdom.insertBefore(child, f);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tif (keyedLen) {\n\t\tfor (var i in keyed) {\n\t\t\tif (keyed[i] !== undefined) recollectNodeTree(keyed[i], false);\n\t\t}\n\t}\n\n\twhile (min <= childrenLen) {\n\t\tif ((child = children[childrenLen--]) !== undefined) recollectNodeTree(child, false);\n\t}\n}\n\nfunction recollectNodeTree(node, unmountOnly) {\n\tvar component = node._component;\n\tif (component) {\n\t\tunmountComponent(component);\n\t} else {\n\t\tif (node['__preactattr_'] != null && node['__preactattr_'].ref) node['__preactattr_'].ref(null);\n\n\t\tif (unmountOnly === false || node['__preactattr_'] == null) {\n\t\t\tremoveNode(node);\n\t\t}\n\n\t\tremoveChildren(node);\n\t}\n}\n\nfunction removeChildren(node) {\n\tnode = node.lastChild;\n\twhile (node) {\n\t\tvar next = node.previousSibling;\n\t\trecollectNodeTree(node, true);\n\t\tnode = next;\n\t}\n}\n\nfunction diffAttributes(dom, attrs, old) {\n\tvar name;\n\n\tfor (name in old) {\n\t\tif (!(attrs && attrs[name] != null) && old[name] != null) {\n\t\t\tsetAccessor(dom, name, old[name], old[name] = undefined, isSvgMode);\n\t\t}\n\t}\n\n\tfor (name in attrs) {\n\t\tif (name !== 'children' && name !== 'innerHTML' && (!(name in old) || attrs[name] !== (name === 'value' || name === 'checked' ? dom[name] : old[name]))) {\n\t\t\tsetAccessor(dom, name, old[name], old[name] = attrs[name], isSvgMode);\n\t\t}\n\t}\n}\n\nvar recyclerComponents = [];\n\nfunction createComponent(Ctor, props, context) {\n\tvar inst,\n\t i = recyclerComponents.length;\n\n\tif (Ctor.prototype && Ctor.prototype.render) {\n\t\tinst = new Ctor(props, context);\n\t\tComponent.call(inst, props, context);\n\t} else {\n\t\tinst = new Component(props, context);\n\t\tinst.constructor = Ctor;\n\t\tinst.render = doRender;\n\t}\n\n\twhile (i--) {\n\t\tif (recyclerComponents[i].constructor === Ctor) {\n\t\t\tinst.nextBase = recyclerComponents[i].nextBase;\n\t\t\trecyclerComponents.splice(i, 1);\n\t\t\treturn inst;\n\t\t}\n\t}\n\n\treturn inst;\n}\n\nfunction doRender(props, state, context) {\n\treturn this.constructor(props, context);\n}\n\nfunction setComponentProps(component, props, renderMode, context, mountAll) {\n\tif (component._disable) return;\n\tcomponent._disable = true;\n\n\tcomponent.__ref = props.ref;\n\tcomponent.__key = props.key;\n\tdelete props.ref;\n\tdelete props.key;\n\n\tif (typeof component.constructor.getDerivedStateFromProps === 'undefined') {\n\t\tif (!component.base || mountAll) {\n\t\t\tif (component.componentWillMount) component.componentWillMount();\n\t\t} else if (component.componentWillReceiveProps) {\n\t\t\tcomponent.componentWillReceiveProps(props, context);\n\t\t}\n\t}\n\n\tif (context && context !== component.context) {\n\t\tif (!component.prevContext) component.prevContext = component.context;\n\t\tcomponent.context = context;\n\t}\n\n\tif (!component.prevProps) component.prevProps = component.props;\n\tcomponent.props = props;\n\n\tcomponent._disable = false;\n\n\tif (renderMode !== 0) {\n\t\tif (renderMode === 1 || options.syncComponentUpdates !== false || !component.base) {\n\t\t\trenderComponent(component, 1, mountAll);\n\t\t} else {\n\t\t\tenqueueRender(component);\n\t\t}\n\t}\n\n\tif (component.__ref) component.__ref(component);\n}\n\nfunction renderComponent(component, renderMode, mountAll, isChild) {\n\tif (component._disable) return;\n\n\tvar props = component.props,\n\t state = component.state,\n\t context = component.context,\n\t previousProps = component.prevProps || props,\n\t previousState = component.prevState || state,\n\t previousContext = component.prevContext || context,\n\t isUpdate = component.base,\n\t nextBase = component.nextBase,\n\t initialBase = isUpdate || nextBase,\n\t initialChildComponent = component._component,\n\t skip = false,\n\t snapshot = previousContext,\n\t rendered,\n\t inst,\n\t cbase;\n\n\tif (component.constructor.getDerivedStateFromProps) {\n\t\tstate = extend(extend({}, state), component.constructor.getDerivedStateFromProps(props, state));\n\t\tcomponent.state = state;\n\t}\n\n\tif (isUpdate) {\n\t\tcomponent.props = previousProps;\n\t\tcomponent.state = previousState;\n\t\tcomponent.context = previousContext;\n\t\tif (renderMode !== 2 && component.shouldComponentUpdate && component.shouldComponentUpdate(props, state, context) === false) {\n\t\t\tskip = true;\n\t\t} else if (component.componentWillUpdate) {\n\t\t\tcomponent.componentWillUpdate(props, state, context);\n\t\t}\n\t\tcomponent.props = props;\n\t\tcomponent.state = state;\n\t\tcomponent.context = context;\n\t}\n\n\tcomponent.prevProps = component.prevState = component.prevContext = component.nextBase = null;\n\tcomponent._dirty = false;\n\n\tif (!skip) {\n\t\trendered = component.render(props, state, context);\n\n\t\tif (component.getChildContext) {\n\t\t\tcontext = extend(extend({}, context), component.getChildContext());\n\t\t}\n\n\t\tif (isUpdate && component.getSnapshotBeforeUpdate) {\n\t\t\tsnapshot = component.getSnapshotBeforeUpdate(previousProps, previousState);\n\t\t}\n\n\t\tvar childComponent = rendered && rendered.nodeName,\n\t\t toUnmount,\n\t\t base;\n\n\t\tif (typeof childComponent === 'function') {\n\n\t\t\tvar childProps = getNodeProps(rendered);\n\t\t\tinst = initialChildComponent;\n\n\t\t\tif (inst && inst.constructor === childComponent && childProps.key == inst.__key) {\n\t\t\t\tsetComponentProps(inst, childProps, 1, context, false);\n\t\t\t} else {\n\t\t\t\ttoUnmount = inst;\n\n\t\t\t\tcomponent._component = inst = createComponent(childComponent, childProps, context);\n\t\t\t\tinst.nextBase = inst.nextBase || nextBase;\n\t\t\t\tinst._parentComponent = component;\n\t\t\t\tsetComponentProps(inst, childProps, 0, context, false);\n\t\t\t\trenderComponent(inst, 1, mountAll, true);\n\t\t\t}\n\n\t\t\tbase = inst.base;\n\t\t} else {\n\t\t\tcbase = initialBase;\n\n\t\t\ttoUnmount = initialChildComponent;\n\t\t\tif (toUnmount) {\n\t\t\t\tcbase = component._component = null;\n\t\t\t}\n\n\t\t\tif (initialBase || renderMode === 1) {\n\t\t\t\tif (cbase) cbase._component = null;\n\t\t\t\tbase = diff(cbase, rendered, context, mountAll || !isUpdate, initialBase && initialBase.parentNode, true);\n\t\t\t}\n\t\t}\n\n\t\tif (initialBase && base !== initialBase && inst !== initialChildComponent) {\n\t\t\tvar baseParent = initialBase.parentNode;\n\t\t\tif (baseParent && base !== baseParent) {\n\t\t\t\tbaseParent.replaceChild(base, initialBase);\n\n\t\t\t\tif (!toUnmount) {\n\t\t\t\t\tinitialBase._component = null;\n\t\t\t\t\trecollectNodeTree(initialBase, false);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (toUnmount) {\n\t\t\tunmountComponent(toUnmount);\n\t\t}\n\n\t\tcomponent.base = base;\n\t\tif (base && !isChild) {\n\t\t\tvar componentRef = component,\n\t\t\t t = component;\n\t\t\twhile (t = t._parentComponent) {\n\t\t\t\t(componentRef = t).base = base;\n\t\t\t}\n\t\t\tbase._component = componentRef;\n\t\t\tbase._componentConstructor = componentRef.constructor;\n\t\t}\n\t}\n\n\tif (!isUpdate || mountAll) {\n\t\tmounts.unshift(component);\n\t} else if (!skip) {\n\n\t\tif (component.componentDidUpdate) {\n\t\t\tcomponent.componentDidUpdate(previousProps, previousState, snapshot);\n\t\t}\n\t\tif (options.afterUpdate) options.afterUpdate(component);\n\t}\n\n\twhile (component._renderCallbacks.length) {\n\t\tcomponent._renderCallbacks.pop().call(component);\n\t}if (!diffLevel && !isChild) flushMounts();\n}\n\nfunction buildComponentFromVNode(dom, vnode, context, mountAll) {\n\tvar c = dom && dom._component,\n\t originalComponent = c,\n\t oldDom = dom,\n\t isDirectOwner = c && dom._componentConstructor === vnode.nodeName,\n\t isOwner = isDirectOwner,\n\t props = getNodeProps(vnode);\n\twhile (c && !isOwner && (c = c._parentComponent)) {\n\t\tisOwner = c.constructor === vnode.nodeName;\n\t}\n\n\tif (c && isOwner && (!mountAll || c._component)) {\n\t\tsetComponentProps(c, props, 3, context, mountAll);\n\t\tdom = c.base;\n\t} else {\n\t\tif (originalComponent && !isDirectOwner) {\n\t\t\tunmountComponent(originalComponent);\n\t\t\tdom = oldDom = null;\n\t\t}\n\n\t\tc = createComponent(vnode.nodeName, props, context);\n\t\tif (dom && !c.nextBase) {\n\t\t\tc.nextBase = dom;\n\n\t\t\toldDom = null;\n\t\t}\n\t\tsetComponentProps(c, props, 1, context, mountAll);\n\t\tdom = c.base;\n\n\t\tif (oldDom && dom !== oldDom) {\n\t\t\toldDom._component = null;\n\t\t\trecollectNodeTree(oldDom, false);\n\t\t}\n\t}\n\n\treturn dom;\n}\n\nfunction unmountComponent(component) {\n\tif (options.beforeUnmount) options.beforeUnmount(component);\n\n\tvar base = component.base;\n\n\tcomponent._disable = true;\n\n\tif (component.componentWillUnmount) component.componentWillUnmount();\n\n\tcomponent.base = null;\n\n\tvar inner = component._component;\n\tif (inner) {\n\t\tunmountComponent(inner);\n\t} else if (base) {\n\t\tif (base['__preactattr_'] && base['__preactattr_'].ref) base['__preactattr_'].ref(null);\n\n\t\tcomponent.nextBase = base;\n\n\t\tremoveNode(base);\n\t\trecyclerComponents.push(component);\n\n\t\tremoveChildren(base);\n\t}\n\n\tif (component.__ref) component.__ref(null);\n}\n\nfunction Component(props, context) {\n\tthis._dirty = true;\n\n\tthis.context = context;\n\n\tthis.props = props;\n\n\tthis.state = this.state || {};\n\n\tthis._renderCallbacks = [];\n}\n\nextend(Component.prototype, {\n\tsetState: function setState(state, callback) {\n\t\tif (!this.prevState) this.prevState = this.state;\n\t\tthis.state = extend(extend({}, this.state), typeof state === 'function' ? state(this.state, this.props) : state);\n\t\tif (callback) this._renderCallbacks.push(callback);\n\t\tenqueueRender(this);\n\t},\n\tforceUpdate: function forceUpdate(callback) {\n\t\tif (callback) this._renderCallbacks.push(callback);\n\t\trenderComponent(this, 2);\n\t},\n\trender: function render() {}\n});\n\nfunction render(vnode, parent, merge) {\n return diff(merge, vnode, {}, false, parent, false);\n}\n\nvar preact = {\n\th: h,\n\tcreateElement: h,\n\tcloneElement: cloneElement,\n\tComponent: Component,\n\trender: render,\n\trerender: rerender,\n\toptions: options\n};\n\nexport default preact;\nexport { h, h as createElement, cloneElement, Component, render, rerender, options };\n//# sourceMappingURL=preact.mjs.map\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ../node_modules/preact/dist/preact.mjs\n// module id = 0\n// module chunks = 0","/** MobX - (c) Michel Weststrate 2015, 2016 - MIT Licensed */\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n\r\nfunction __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\n\n/**\n * Anything that can be used to _store_ state is an Atom in mobx. Atoms have two important jobs\n *\n * 1) detect when they are being _used_ and report this (using reportObserved). This allows mobx to make the connection between running functions and the data they used\n * 2) they should notify mobx whenever they have _changed_. This way mobx can re-run any functions (derivations) that are using this atom.\n */\nvar BaseAtom = /** @class */ (function () {\n /**\n * Create a new atom. For debugging purposes it is recommended to give it a name.\n * The onBecomeObserved and onBecomeUnobserved callbacks can be used for resource management.\n */\n function BaseAtom(name) {\n if (name === void 0) { name = \"Atom@\" + getNextId(); }\n this.name = name;\n this.isPendingUnobservation = true; // for effective unobserving. BaseAtom has true, for extra optimization, so its onBecomeUnobserved never gets called, because it's not needed\n this.observers = [];\n this.observersIndexes = {};\n this.diffValue = 0;\n this.lastAccessedBy = 0;\n this.lowestObserverState = IDerivationState.NOT_TRACKING;\n }\n BaseAtom.prototype.onBecomeUnobserved = function () {\n // noop\n };\n /**\n * Invoke this method to notify mobx that your atom has been used somehow.\n */\n BaseAtom.prototype.reportObserved = function () {\n reportObserved(this);\n };\n /**\n * Invoke this method _after_ this method has changed to signal mobx that all its observers should invalidate.\n */\n BaseAtom.prototype.reportChanged = function () {\n startBatch();\n propagateChanged(this);\n endBatch();\n };\n BaseAtom.prototype.toString = function () {\n return this.name;\n };\n return BaseAtom;\n}());\nvar Atom = /** @class */ (function (_super) {\n __extends(Atom, _super);\n /**\n * Create a new atom. For debugging purposes it is recommended to give it a name.\n * The onBecomeObserved and onBecomeUnobserved callbacks can be used for resource management.\n */\n function Atom(name, onBecomeObservedHandler, onBecomeUnobservedHandler) {\n if (name === void 0) { name = \"Atom@\" + getNextId(); }\n if (onBecomeObservedHandler === void 0) { onBecomeObservedHandler = noop; }\n if (onBecomeUnobservedHandler === void 0) { onBecomeUnobservedHandler = noop; }\n var _this = _super.call(this, name) || this;\n _this.name = name;\n _this.onBecomeObservedHandler = onBecomeObservedHandler;\n _this.onBecomeUnobservedHandler = onBecomeUnobservedHandler;\n _this.isPendingUnobservation = false; // for effective unobserving.\n _this.isBeingTracked = false;\n return _this;\n }\n Atom.prototype.reportObserved = function () {\n startBatch();\n _super.prototype.reportObserved.call(this);\n if (!this.isBeingTracked) {\n this.isBeingTracked = true;\n this.onBecomeObservedHandler();\n }\n endBatch();\n return !!globalState.trackingDerivation;\n // return doesn't really give useful info, because it can be as well calling computed which calls atom (no reactions)\n // also it could not trigger when calculating reaction dependent on Atom because Atom's value was cached by computed called by given reaction.\n };\n Atom.prototype.onBecomeUnobserved = function () {\n this.isBeingTracked = false;\n this.onBecomeUnobservedHandler();\n };\n return Atom;\n}(BaseAtom));\nvar isAtom = createInstanceofPredicate(\"Atom\", BaseAtom);\n\nfunction hasInterceptors(interceptable) {\n return interceptable.interceptors && interceptable.interceptors.length > 0;\n}\nfunction registerInterceptor(interceptable, handler) {\n var interceptors = interceptable.interceptors || (interceptable.interceptors = []);\n interceptors.push(handler);\n return once(function () {\n var idx = interceptors.indexOf(handler);\n if (idx !== -1)\n interceptors.splice(idx, 1);\n });\n}\nfunction interceptChange(interceptable, change) {\n var prevU = untrackedStart();\n try {\n var interceptors = interceptable.interceptors;\n if (interceptors)\n for (var i = 0, l = interceptors.length; i < l; i++) {\n change = interceptors[i](change);\n invariant(!change || change.type, \"Intercept handlers should return nothing or a change object\");\n if (!change)\n break;\n }\n return change;\n }\n finally {\n untrackedEnd(prevU);\n }\n}\n\nfunction hasListeners(listenable) {\n return listenable.changeListeners && listenable.changeListeners.length > 0;\n}\nfunction registerListener(listenable, handler) {\n var listeners = listenable.changeListeners || (listenable.changeListeners = []);\n listeners.push(handler);\n return once(function () {\n var idx = listeners.indexOf(handler);\n if (idx !== -1)\n listeners.splice(idx, 1);\n });\n}\nfunction notifyListeners(listenable, change) {\n var prevU = untrackedStart();\n var listeners = listenable.changeListeners;\n if (!listeners)\n return;\n listeners = listeners.slice();\n for (var i = 0, l = listeners.length; i < l; i++) {\n listeners[i](change);\n }\n untrackedEnd(prevU);\n}\n\nfunction isSpyEnabled() {\n return !!globalState.spyListeners.length;\n}\nfunction spyReport(event) {\n if (!globalState.spyListeners.length)\n return;\n var listeners = globalState.spyListeners;\n for (var i = 0, l = listeners.length; i < l; i++)\n listeners[i](event);\n}\nfunction spyReportStart(event) {\n var change = objectAssign({}, event, { spyReportStart: true });\n spyReport(change);\n}\nvar END_EVENT = { spyReportEnd: true };\nfunction spyReportEnd(change) {\n if (change)\n spyReport(objectAssign({}, change, END_EVENT));\n else\n spyReport(END_EVENT);\n}\nfunction spy(listener) {\n globalState.spyListeners.push(listener);\n return once(function () {\n var idx = globalState.spyListeners.indexOf(listener);\n if (idx !== -1)\n globalState.spyListeners.splice(idx, 1);\n });\n}\n\nfunction iteratorSymbol() {\n return (typeof Symbol === \"function\" && Symbol.iterator) || \"@@iterator\";\n}\nvar IS_ITERATING_MARKER = \"__$$iterating\";\nfunction arrayAsIterator(array) {\n // returning an array for entries(), values() etc for maps was a mis-interpretation of the specs..,\n // yet it is quite convenient to be able to use the response both as array directly and as iterator\n // it is suboptimal, but alas...\n invariant(array[IS_ITERATING_MARKER] !== true, \"Illegal state: cannot recycle array as iterator\");\n addHiddenFinalProp(array, IS_ITERATING_MARKER, true);\n var idx = -1;\n addHiddenFinalProp(array, \"next\", function next() {\n idx++;\n return {\n done: idx >= this.length,\n value: idx < this.length ? this[idx] : undefined\n };\n });\n return array;\n}\nfunction declareIterator(prototType, iteratorFactory) {\n addHiddenFinalProp(prototType, iteratorSymbol(), iteratorFactory);\n}\n\nvar MAX_SPLICE_SIZE = 10000; // See e.g. https://github.com/mobxjs/mobx/issues/859\n// Detects bug in safari 9.1.1 (or iOS 9 safari mobile). See #364\nvar safariPrototypeSetterInheritanceBug = (function () {\n var v = false;\n var p = {};\n Object.defineProperty(p, \"0\", {\n set: function () {\n v = true;\n }\n });\n Object.create(p)[\"0\"] = 1;\n return v === false;\n})();\n/**\n * This array buffer contains two lists of properties, so that all arrays\n * can recycle their property definitions, which significantly improves performance of creating\n * properties on the fly.\n */\nvar OBSERVABLE_ARRAY_BUFFER_SIZE = 0;\n// Typescript workaround to make sure ObservableArray extends Array\nvar StubArray = /** @class */ (function () {\n function StubArray() {\n }\n return StubArray;\n}());\nfunction inherit(ctor, proto) {\n if (typeof Object[\"setPrototypeOf\"] !== \"undefined\") {\n Object[\"setPrototypeOf\"](ctor.prototype, proto);\n }\n else if (typeof ctor.prototype.__proto__ !== \"undefined\") {\n ctor.prototype.__proto__ = proto;\n }\n else {\n ctor[\"prototype\"] = proto;\n }\n}\ninherit(StubArray, Array.prototype);\n// Weex freeze Array.prototype\n// Make them writeable and configurable in prototype chain\n// https://github.com/alibaba/weex/pull/1529\nif (Object.isFrozen(Array)) {\n \n [\n \"constructor\",\n \"push\",\n \"shift\",\n \"concat\",\n \"pop\",\n \"unshift\",\n \"replace\",\n \"find\",\n \"findIndex\",\n \"splice\",\n \"reverse\",\n \"sort\"\n ].forEach(function (key) {\n Object.defineProperty(StubArray.prototype, key, {\n configurable: true,\n writable: true,\n value: Array.prototype[key]\n });\n });\n}\nvar ObservableArrayAdministration = /** @class */ (function () {\n function ObservableArrayAdministration(name, enhancer, array, owned) {\n this.array = array;\n this.owned = owned;\n this.values = [];\n this.lastKnownLength = 0;\n this.interceptors = null;\n this.changeListeners = null;\n this.atom = new BaseAtom(name || \"ObservableArray@\" + getNextId());\n this.enhancer = function (newV, oldV) { return enhancer(newV, oldV, name + \"[..]\"); };\n }\n ObservableArrayAdministration.prototype.dehanceValue = function (value) {\n if (this.dehancer !== undefined)\n return this.dehancer(value);\n return value;\n };\n ObservableArrayAdministration.prototype.dehanceValues = function (values) {\n if (this.dehancer !== undefined)\n return values.map(this.dehancer);\n return values;\n };\n ObservableArrayAdministration.prototype.intercept = function (handler) {\n return registerInterceptor(this, handler);\n };\n ObservableArrayAdministration.prototype.observe = function (listener, fireImmediately) {\n if (fireImmediately === void 0) { fireImmediately = false; }\n if (fireImmediately) {\n listener({\n object: this.array,\n type: \"splice\",\n index: 0,\n added: this.values.slice(),\n addedCount: this.values.length,\n removed: [],\n removedCount: 0\n });\n }\n return registerListener(this, listener);\n };\n ObservableArrayAdministration.prototype.getArrayLength = function () {\n this.atom.reportObserved();\n return this.values.length;\n };\n ObservableArrayAdministration.prototype.setArrayLength = function (newLength) {\n if (typeof newLength !== \"number\" || newLength < 0)\n throw new Error(\"[mobx.array] Out of range: \" + newLength);\n var currentLength = this.values.length;\n if (newLength === currentLength)\n return;\n else if (newLength > currentLength) {\n var newItems = new Array(newLength - currentLength);\n for (var i = 0; i < newLength - currentLength; i++)\n newItems[i] = undefined; // No Array.fill everywhere...\n this.spliceWithArray(currentLength, 0, newItems);\n }\n else\n this.spliceWithArray(newLength, currentLength - newLength);\n };\n // adds / removes the necessary numeric properties to this object\n ObservableArrayAdministration.prototype.updateArrayLength = function (oldLength, delta) {\n if (oldLength !== this.lastKnownLength)\n throw new Error(\"[mobx] Modification exception: the internal structure of an observable array was changed. Did you use peek() to change it?\");\n this.lastKnownLength += delta;\n if (delta > 0 && oldLength + delta + 1 > OBSERVABLE_ARRAY_BUFFER_SIZE)\n reserveArrayBuffer(oldLength + delta + 1);\n };\n ObservableArrayAdministration.prototype.spliceWithArray = function (index, deleteCount, newItems) {\n var _this = this;\n checkIfStateModificationsAreAllowed(this.atom);\n var length = this.values.length;\n if (index === undefined)\n index = 0;\n else if (index > length)\n index = length;\n else if (index < 0)\n index = Math.max(0, length + index);\n if (arguments.length === 1)\n deleteCount = length - index;\n else if (deleteCount === undefined || deleteCount === null)\n deleteCount = 0;\n else\n deleteCount = Math.max(0, Math.min(deleteCount, length - index));\n if (newItems === undefined)\n newItems = [];\n if (hasInterceptors(this)) {\n var change = interceptChange(this, {\n object: this.array,\n type: \"splice\",\n index: index,\n removedCount: deleteCount,\n added: newItems\n });\n if (!change)\n return EMPTY_ARRAY;\n deleteCount = change.removedCount;\n newItems = change.added;\n }\n newItems = newItems.map(function (v) { return _this.enhancer(v, undefined); });\n var lengthDelta = newItems.length - deleteCount;\n this.updateArrayLength(length, lengthDelta); // create or remove new entries\n var res = this.spliceItemsIntoValues(index, deleteCount, newItems);\n if (deleteCount !== 0 || newItems.length !== 0)\n this.notifyArraySplice(index, newItems, res);\n return this.dehanceValues(res);\n };\n ObservableArrayAdministration.prototype.spliceItemsIntoValues = function (index, deleteCount, newItems) {\n if (newItems.length < MAX_SPLICE_SIZE) {\n return (_a = this.values).splice.apply(_a, [index, deleteCount].concat(newItems));\n }\n else {\n var res = this.values.slice(index, index + deleteCount);\n this.values = this.values\n .slice(0, index)\n .concat(newItems, this.values.slice(index + deleteCount));\n return res;\n }\n var _a;\n };\n ObservableArrayAdministration.prototype.notifyArrayChildUpdate = function (index, newValue, oldValue) {\n var notifySpy = !this.owned && isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy\n ? {\n object: this.array,\n type: \"update\",\n index: index,\n newValue: newValue,\n oldValue: oldValue\n }\n : null;\n if (notifySpy)\n spyReportStart(change);\n this.atom.reportChanged();\n if (notify)\n notifyListeners(this, change);\n if (notifySpy)\n spyReportEnd();\n };\n ObservableArrayAdministration.prototype.notifyArraySplice = function (index, added, removed) {\n var notifySpy = !this.owned && isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy\n ? {\n object: this.array,\n type: \"splice\",\n index: index,\n removed: removed,\n added: added,\n removedCount: removed.length,\n addedCount: added.length\n }\n : null;\n if (notifySpy)\n spyReportStart(change);\n this.atom.reportChanged();\n // conform: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/observe\n if (notify)\n notifyListeners(this, change);\n if (notifySpy)\n spyReportEnd();\n };\n return ObservableArrayAdministration;\n}());\nvar ObservableArray = /** @class */ (function (_super) {\n __extends(ObservableArray, _super);\n function ObservableArray(initialValues, enhancer, name, owned) {\n if (name === void 0) { name = \"ObservableArray@\" + getNextId(); }\n if (owned === void 0) { owned = false; }\n var _this = _super.call(this) || this;\n var adm = new ObservableArrayAdministration(name, enhancer, _this, owned);\n addHiddenFinalProp(_this, \"$mobx\", adm);\n if (initialValues && initialValues.length) {\n _this.spliceWithArray(0, 0, initialValues);\n }\n if (safariPrototypeSetterInheritanceBug) {\n // Seems that Safari won't use numeric prototype setter untill any * numeric property is\n // defined on the instance. After that it works fine, even if this property is deleted.\n Object.defineProperty(adm.array, \"0\", ENTRY_0);\n }\n return _this;\n }\n ObservableArray.prototype.intercept = function (handler) {\n return this.$mobx.intercept(handler);\n };\n ObservableArray.prototype.observe = function (listener, fireImmediately) {\n if (fireImmediately === void 0) { fireImmediately = false; }\n return this.$mobx.observe(listener, fireImmediately);\n };\n ObservableArray.prototype.clear = function () {\n return this.splice(0);\n };\n ObservableArray.prototype.concat = function () {\n var arrays = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n arrays[_i] = arguments[_i];\n }\n this.$mobx.atom.reportObserved();\n return Array.prototype.concat.apply(this.peek(), arrays.map(function (a) { return (isObservableArray(a) ? a.peek() : a); }));\n };\n ObservableArray.prototype.replace = function (newItems) {\n return this.$mobx.spliceWithArray(0, this.$mobx.values.length, newItems);\n };\n /**\n * Converts this array back to a (shallow) javascript structure.\n * For a deep clone use mobx.toJS\n */\n ObservableArray.prototype.toJS = function () {\n return this.slice();\n };\n ObservableArray.prototype.toJSON = function () {\n // Used by JSON.stringify\n return this.toJS();\n };\n ObservableArray.prototype.peek = function () {\n this.$mobx.atom.reportObserved();\n return this.$mobx.dehanceValues(this.$mobx.values);\n };\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n ObservableArray.prototype.find = function (predicate, thisArg, fromIndex) {\n if (fromIndex === void 0) { fromIndex = 0; }\n var idx = this.findIndex.apply(this, arguments);\n return idx === -1 ? undefined : this.get(idx);\n };\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex\n ObservableArray.prototype.findIndex = function (predicate, thisArg, fromIndex) {\n if (fromIndex === void 0) { fromIndex = 0; }\n var items = this.peek(), l = items.length;\n for (var i = fromIndex; i < l; i++)\n if (predicate.call(thisArg, items[i], i, this))\n return i;\n return -1;\n };\n /*\n * functions that do alter the internal structure of the array, (based on lib.es6.d.ts)\n * since these functions alter the inner structure of the array, the have side effects.\n * Because the have side effects, they should not be used in computed function,\n * and for that reason the do not call dependencyState.notifyObserved\n */\n ObservableArray.prototype.splice = function (index, deleteCount) {\n var newItems = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n newItems[_i - 2] = arguments[_i];\n }\n switch (arguments.length) {\n case 0:\n return [];\n case 1:\n return this.$mobx.spliceWithArray(index);\n case 2:\n return this.$mobx.spliceWithArray(index, deleteCount);\n }\n return this.$mobx.spliceWithArray(index, deleteCount, newItems);\n };\n ObservableArray.prototype.spliceWithArray = function (index, deleteCount, newItems) {\n return this.$mobx.spliceWithArray(index, deleteCount, newItems);\n };\n ObservableArray.prototype.push = function () {\n var items = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n items[_i] = arguments[_i];\n }\n var adm = this.$mobx;\n adm.spliceWithArray(adm.values.length, 0, items);\n return adm.values.length;\n };\n ObservableArray.prototype.pop = function () {\n return this.splice(Math.max(this.$mobx.values.length - 1, 0), 1)[0];\n };\n ObservableArray.prototype.shift = function () {\n return this.splice(0, 1)[0];\n };\n ObservableArray.prototype.unshift = function () {\n var items = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n items[_i] = arguments[_i];\n }\n var adm = this.$mobx;\n adm.spliceWithArray(0, 0, items);\n return adm.values.length;\n };\n ObservableArray.prototype.reverse = function () {\n // reverse by default mutates in place before returning the result\n // which makes it both a 'derivation' and a 'mutation'.\n // so we deviate from the default and just make it an dervitation\n var clone = this.slice();\n return clone.reverse.apply(clone, arguments);\n };\n ObservableArray.prototype.sort = function (compareFn) {\n // sort by default mutates in place before returning the result\n // which goes against all good practices. Let's not change the array in place!\n var clone = this.slice();\n return clone.sort.apply(clone, arguments);\n };\n ObservableArray.prototype.remove = function (value) {\n var idx = this.$mobx.dehanceValues(this.$mobx.values).indexOf(value);\n if (idx > -1) {\n this.splice(idx, 1);\n return true;\n }\n return false;\n };\n ObservableArray.prototype.move = function (fromIndex, toIndex) {\n function checkIndex(index) {\n if (index < 0) {\n throw new Error(\"[mobx.array] Index out of bounds: \" + index + \" is negative\");\n }\n var length = this.$mobx.values.length;\n if (index >= length) {\n throw new Error(\"[mobx.array] Index out of bounds: \" + index + \" is not smaller than \" + length);\n }\n }\n checkIndex.call(this, fromIndex);\n checkIndex.call(this, toIndex);\n if (fromIndex === toIndex) {\n return;\n }\n var oldItems = this.$mobx.values;\n var newItems;\n if (fromIndex < toIndex) {\n newItems = oldItems.slice(0, fromIndex).concat(oldItems.slice(fromIndex + 1, toIndex + 1), [\n oldItems[fromIndex]\n ], oldItems.slice(toIndex + 1));\n }\n else {\n // toIndex < fromIndex\n newItems = oldItems.slice(0, toIndex).concat([\n oldItems[fromIndex]\n ], oldItems.slice(toIndex, fromIndex), oldItems.slice(fromIndex + 1));\n }\n this.replace(newItems);\n };\n // See #734, in case property accessors are unreliable...\n ObservableArray.prototype.get = function (index) {\n var impl = this.$mobx;\n if (impl) {\n if (index < impl.values.length) {\n impl.atom.reportObserved();\n return impl.dehanceValue(impl.values[index]);\n }\n console.warn(\"[mobx.array] Attempt to read an array index (\" + index + \") that is out of bounds (\" + impl\n .values\n .length + \"). Please check length first. Out of bound indices will not be tracked by MobX\");\n }\n return undefined;\n };\n // See #734, in case property accessors are unreliable...\n ObservableArray.prototype.set = function (index, newValue) {\n var adm = this.$mobx;\n var values = adm.values;\n if (index < values.length) {\n // update at index in range\n checkIfStateModificationsAreAllowed(adm.atom);\n var oldValue = values[index];\n if (hasInterceptors(adm)) {\n var change = interceptChange(adm, {\n type: \"update\",\n object: this,\n index: index,\n newValue: newValue\n });\n if (!change)\n return;\n newValue = change.newValue;\n }\n newValue = adm.enhancer(newValue, oldValue);\n var changed = newValue !== oldValue;\n if (changed) {\n values[index] = newValue;\n adm.notifyArrayChildUpdate(index, newValue, oldValue);\n }\n }\n else if (index === values.length) {\n // add a new item\n adm.spliceWithArray(index, 0, [newValue]);\n }\n else {\n // out of bounds\n throw new Error(\"[mobx.array] Index out of bounds, \" + index + \" is larger than \" + values.length);\n }\n };\n return ObservableArray;\n}(StubArray));\ndeclareIterator(ObservableArray.prototype, function () {\n return arrayAsIterator(this.slice());\n});\nObject.defineProperty(ObservableArray.prototype, \"length\", {\n enumerable: false,\n configurable: true,\n get: function () {\n return this.$mobx.getArrayLength();\n },\n set: function (newLength) {\n this.$mobx.setArrayLength(newLength);\n }\n});\n[\n \"every\",\n \"filter\",\n \"forEach\",\n \"indexOf\",\n \"join\",\n \"lastIndexOf\",\n \"map\",\n \"reduce\",\n \"reduceRight\",\n \"slice\",\n \"some\",\n \"toString\",\n \"toLocaleString\"\n].forEach(function (funcName) {\n var baseFunc = Array.prototype[funcName];\n invariant(typeof baseFunc === \"function\", \"Base function not defined on Array prototype: '\" + funcName + \"'\");\n addHiddenProp(ObservableArray.prototype, funcName, function () {\n return baseFunc.apply(this.peek(), arguments);\n });\n});\n/**\n * We don't want those to show up in `for (const key in ar)` ...\n */\nmakeNonEnumerable(ObservableArray.prototype, [\n \"constructor\",\n \"intercept\",\n \"observe\",\n \"clear\",\n \"concat\",\n \"get\",\n \"replace\",\n \"toJS\",\n \"toJSON\",\n \"peek\",\n \"find\",\n \"findIndex\",\n \"splice\",\n \"spliceWithArray\",\n \"push\",\n \"pop\",\n \"set\",\n \"shift\",\n \"unshift\",\n \"reverse\",\n \"sort\",\n \"remove\",\n \"move\",\n \"toString\",\n \"toLocaleString\"\n]);\n// See #364\nvar ENTRY_0 = createArrayEntryDescriptor(0);\nfunction createArrayEntryDescriptor(index) {\n return {\n enumerable: false,\n configurable: false,\n get: function () {\n // TODO: Check `this`?, see #752?\n return this.get(index);\n },\n set: function (value) {\n this.set(index, value);\n }\n };\n}\nfunction createArrayBufferItem(index) {\n Object.defineProperty(ObservableArray.prototype, \"\" + index, createArrayEntryDescriptor(index));\n}\nfunction reserveArrayBuffer(max) {\n for (var index = OBSERVABLE_ARRAY_BUFFER_SIZE; index < max; index++)\n createArrayBufferItem(index);\n OBSERVABLE_ARRAY_BUFFER_SIZE = max;\n}\nreserveArrayBuffer(1000);\nvar isObservableArrayAdministration = createInstanceofPredicate(\"ObservableArrayAdministration\", ObservableArrayAdministration);\nfunction isObservableArray(thing) {\n return isObject(thing) && isObservableArrayAdministration(thing.$mobx);\n}\n\nvar UNCHANGED = {};\nvar ObservableValue = /** @class */ (function (_super) {\n __extends(ObservableValue, _super);\n function ObservableValue(value, enhancer, name, notifySpy) {\n if (name === void 0) { name = \"ObservableValue@\" + getNextId(); }\n if (notifySpy === void 0) { notifySpy = true; }\n var _this = _super.call(this, name) || this;\n _this.enhancer = enhancer;\n _this.hasUnreportedChange = false;\n _this.dehancer = undefined;\n _this.value = enhancer(value, undefined, name);\n if (notifySpy && isSpyEnabled()) {\n // only notify spy if this is a stand-alone observable\n spyReport({ type: \"create\", object: _this, newValue: _this.value });\n }\n return _this;\n }\n ObservableValue.prototype.dehanceValue = function (value) {\n if (this.dehancer !== undefined)\n return this.dehancer(value);\n return value;\n };\n ObservableValue.prototype.set = function (newValue) {\n var oldValue = this.value;\n newValue = this.prepareNewValue(newValue);\n if (newValue !== UNCHANGED) {\n var notifySpy = isSpyEnabled();\n if (notifySpy) {\n spyReportStart({\n type: \"update\",\n object: this,\n newValue: newValue,\n oldValue: oldValue\n });\n }\n this.setNewValue(newValue);\n if (notifySpy)\n spyReportEnd();\n }\n };\n ObservableValue.prototype.prepareNewValue = function (newValue) {\n checkIfStateModificationsAreAllowed(this);\n if (hasInterceptors(this)) {\n var change = interceptChange(this, {\n object: this,\n type: \"update\",\n newValue: newValue\n });\n if (!change)\n return UNCHANGED;\n newValue = change.newValue;\n }\n // apply modifier\n newValue = this.enhancer(newValue, this.value, this.name);\n return this.value !== newValue ? newValue : UNCHANGED;\n };\n ObservableValue.prototype.setNewValue = function (newValue) {\n var oldValue = this.value;\n this.value = newValue;\n this.reportChanged();\n if (hasListeners(this)) {\n notifyListeners(this, {\n type: \"update\",\n object: this,\n newValue: newValue,\n oldValue: oldValue\n });\n }\n };\n ObservableValue.prototype.get = function () {\n this.reportObserved();\n return this.dehanceValue(this.value);\n };\n ObservableValue.prototype.intercept = function (handler) {\n return registerInterceptor(this, handler);\n };\n ObservableValue.prototype.observe = function (listener, fireImmediately) {\n if (fireImmediately)\n listener({\n object: this,\n type: \"update\",\n newValue: this.value,\n oldValue: undefined\n });\n return registerListener(this, listener);\n };\n ObservableValue.prototype.toJSON = function () {\n return this.get();\n };\n ObservableValue.prototype.toString = function () {\n return this.name + \"[\" + this.value + \"]\";\n };\n ObservableValue.prototype.valueOf = function () {\n return toPrimitive(this.get());\n };\n return ObservableValue;\n}(BaseAtom));\nObservableValue.prototype[primitiveSymbol()] = ObservableValue.prototype.valueOf;\nvar isObservableValue = createInstanceofPredicate(\"ObservableValue\", ObservableValue);\n\nvar messages = {\n m001: \"It is not allowed to assign new values to @action fields\",\n m002: \"`runInAction` expects a function\",\n m003: \"`runInAction` expects a function without arguments\",\n m004: \"autorun expects a function\",\n m005: \"Warning: attempted to pass an action to autorun. Actions are untracked and will not trigger on state changes. Use `reaction` or wrap only your state modification code in an action.\",\n m006: \"Warning: attempted to pass an action to autorunAsync. Actions are untracked and will not trigger on state changes. Use `reaction` or wrap only your state modification code in an action.\",\n m007: \"reaction only accepts 2 or 3 arguments. If migrating from MobX 2, please provide an options object\",\n m008: \"wrapping reaction expression in `asReference` is no longer supported, use options object instead\",\n m009: \"@computed can only be used on getter functions, like: '@computed get myProps() { return ...; }'. It looks like it was used on a property.\",\n m010: \"@computed can only be used on getter functions, like: '@computed get myProps() { return ...; }'\",\n m011: \"First argument to `computed` should be an expression. If using computed as decorator, don't pass it arguments\",\n m012: \"computed takes one or two arguments if used as function\",\n m013: \"[mobx.expr] 'expr' should only be used inside other reactive functions.\",\n m014: \"extendObservable expected 2 or more arguments\",\n m015: \"extendObservable expects an object as first argument\",\n m016: \"extendObservable should not be used on maps, use map.merge instead\",\n m017: \"all arguments of extendObservable should be objects\",\n m018: \"extending an object with another observable (object) is not supported. Please construct an explicit propertymap, using `toJS` if need. See issue #540\",\n m019: \"[mobx.isObservable] isObservable(object, propertyName) is not supported for arrays and maps. Use map.has or array.length instead.\",\n m020: \"modifiers can only be used for individual object properties\",\n m021: \"observable expects zero or one arguments\",\n m022: \"@observable can not be used on getters, use @computed instead\",\n m024: \"whyRun() can only be used if a derivation is active, or by passing an computed value / reaction explicitly. If you invoked whyRun from inside a computation; the computation is currently suspended but re-evaluating because somebody requested its value.\",\n m025: \"whyRun can only be used on reactions and computed values\",\n m026: \"`action` can only be invoked on functions\",\n m028: \"It is not allowed to set `useStrict` when a derivation is running\",\n m029: \"INTERNAL ERROR only onBecomeUnobserved shouldn't be called twice in a row\",\n m030a: \"Since strict-mode is enabled, changing observed observable values outside actions is not allowed. Please wrap the code in an `action` if this change is intended. Tried to modify: \",\n m030b: \"Side effects like changing state are not allowed at this point. Are you trying to modify state from, for example, the render function of a React component? Tried to modify: \",\n m031: \"Computed values are not allowed to cause side effects by changing observables that are already being observed. Tried to modify: \",\n m032: \"* This computation is suspended (not in use by any reaction) and won't run automatically.\\n\tDidn't expect this computation to be suspended at this point?\\n\t 1. Make sure this computation is used by a reaction (reaction, autorun, observer).\\n\t 2. Check whether you are using this computation synchronously (in the same stack as they reaction that needs it).\",\n m033: \"`observe` doesn't support the fire immediately property for observable maps.\",\n m034: \"`mobx.map` is deprecated, use `new ObservableMap` or `mobx.observable.map` instead\",\n m035: \"Cannot make the designated object observable; it is not extensible\",\n m036: \"It is not possible to get index atoms from arrays\",\n m037: \"Hi there! I'm sorry you have just run into an exception.\\nIf your debugger ends up here, know that some reaction (like the render() of an observer component, autorun or reaction)\\nthrew an exception and that mobx caught it, to avoid that it brings the rest of your application down.\\nThe original cause of the exception (the code that caused this reaction to run (again)), is still in the stack.\\n\\nHowever, more interesting is the actual stack trace of the error itself.\\nHopefully the error is an instanceof Error, because in that case you can inspect the original stack of the error from where it was thrown.\\nSee `error.stack` property, or press the very subtle \\\"(...)\\\" link you see near the console.error message that probably brought you here.\\nThat stack is more interesting than the stack of this console.error itself.\\n\\nIf the exception you see is an exception you created yourself, make sure to use `throw new Error(\\\"Oops\\\")` instead of `throw \\\"Oops\\\"`,\\nbecause the javascript environment will only preserve the original stack trace in the first form.\\n\\nYou can also make sure the debugger pauses the next time this very same exception is thrown by enabling \\\"Pause on caught exception\\\".\\n(Note that it might pause on many other, unrelated exception as well).\\n\\nIf that all doesn't help you out, feel free to open an issue https://github.com/mobxjs/mobx/issues!\\n\",\n m038: \"Missing items in this list?\\n 1. Check whether all used values are properly marked as observable (use isObservable to verify)\\n 2. Make sure you didn't dereference values too early. MobX observes props, not primitives. E.g: use 'person.name' instead of 'name' in your computation.\\n\"\n};\nfunction getMessage(id) {\n return messages[id];\n}\n\nfunction createAction(actionName, fn) {\n invariant(typeof fn === \"function\", getMessage(\"m026\"));\n invariant(typeof actionName === \"string\" && actionName.length > 0, \"actions should have valid names, got: '\" + actionName + \"'\");\n var res = function () {\n return executeAction(actionName, fn, this, arguments);\n };\n res.originalFn = fn;\n res.isMobxAction = true;\n return res;\n}\nfunction executeAction(actionName, fn, scope, args) {\n var runInfo = startAction(actionName, fn, scope, args);\n try {\n return fn.apply(scope, args);\n }\n finally {\n endAction(runInfo);\n }\n}\nfunction startAction(actionName, fn, scope, args) {\n var notifySpy = isSpyEnabled() && !!actionName;\n var startTime = 0;\n if (notifySpy) {\n startTime = Date.now();\n var l = (args && args.length) || 0;\n var flattendArgs = new Array(l);\n if (l > 0)\n for (var i = 0; i < l; i++)\n flattendArgs[i] = args[i];\n spyReportStart({\n type: \"action\",\n name: actionName,\n fn: fn,\n object: scope,\n arguments: flattendArgs\n });\n }\n var prevDerivation = untrackedStart();\n startBatch();\n var prevAllowStateChanges = allowStateChangesStart(true);\n return {\n prevDerivation: prevDerivation,\n prevAllowStateChanges: prevAllowStateChanges,\n notifySpy: notifySpy,\n startTime: startTime\n };\n}\nfunction endAction(runInfo) {\n allowStateChangesEnd(runInfo.prevAllowStateChanges);\n endBatch();\n untrackedEnd(runInfo.prevDerivation);\n if (runInfo.notifySpy)\n spyReportEnd({ time: Date.now() - runInfo.startTime });\n}\nfunction useStrict(strict) {\n invariant(globalState.trackingDerivation === null, getMessage(\"m028\"));\n globalState.strictMode = strict;\n globalState.allowStateChanges = !strict;\n}\nfunction isStrictModeEnabled() {\n return globalState.strictMode;\n}\nfunction allowStateChanges(allowStateChanges, func) {\n // TODO: deprecate / refactor this function in next major\n // Currently only used by `@observer`\n // Proposed change: remove first param, rename to `forbidStateChanges`,\n // require error callback instead of the hardcoded error message now used\n // Use `inAction` instead of allowStateChanges in derivation.ts to check strictMode\n var prev = allowStateChangesStart(allowStateChanges);\n var res;\n try {\n res = func();\n }\n finally {\n allowStateChangesEnd(prev);\n }\n return res;\n}\nfunction allowStateChangesStart(allowStateChanges) {\n var prev = globalState.allowStateChanges;\n globalState.allowStateChanges = allowStateChanges;\n return prev;\n}\nfunction allowStateChangesEnd(prev) {\n globalState.allowStateChanges = prev;\n}\n\n/**\n * Constructs a decorator, that normalizes the differences between\n * TypeScript and Babel. Mainly caused by the fact that legacy-decorator cannot assign\n * values during instance creation to properties that have a getter setter.\n *\n * - Sigh -\n *\n * Also takes care of the difference between @decorator field and @decorator(args) field, and different forms of values.\n * For performance (cpu and mem) reasons the properties are always defined on the prototype (at least initially).\n * This means that these properties despite being enumerable might not show up in Object.keys() (but they will show up in for...in loops).\n */\nfunction createClassPropertyDecorator(\n/**\n * This function is invoked once, when the property is added to a new instance.\n * When this happens is not strictly determined due to differences in TS and Babel:\n * Typescript: Usually when constructing the new instance\n * Babel, sometimes Typescript: during the first get / set\n * Both: when calling `runLazyInitializers(instance)`\n */\nonInitialize, get, set, enumerable, \n/**\n * Can this decorator invoked with arguments? e.g. @decorator(args)\n */\nallowCustomArguments) {\n function classPropertyDecorator(target, key, descriptor, customArgs, argLen) {\n if (argLen === void 0) { argLen = 0; }\n invariant(allowCustomArguments || quacksLikeADecorator(arguments), \"This function is a decorator, but it wasn't invoked like a decorator\");\n if (!descriptor) {\n // typescript (except for getter / setters)\n var newDescriptor = {\n enumerable: enumerable,\n configurable: true,\n get: function () {\n if (!this.__mobxInitializedProps || this.__mobxInitializedProps[key] !== true)\n typescriptInitializeProperty(this, key, undefined, onInitialize, customArgs, descriptor);\n return get.call(this, key);\n },\n set: function (v) {\n if (!this.__mobxInitializedProps || this.__mobxInitializedProps[key] !== true) {\n typescriptInitializeProperty(this, key, v, onInitialize, customArgs, descriptor);\n }\n else {\n set.call(this, key, v);\n }\n }\n };\n if (arguments.length < 3 || (arguments.length === 5 && argLen < 3)) {\n // Typescript target is ES3, so it won't define property for us\n // or using Reflect.decorate polyfill, which will return no descriptor\n // (see https://github.com/mobxjs/mobx/issues/333)\n Object.defineProperty(target, key, newDescriptor);\n }\n return newDescriptor;\n }\n else {\n // babel and typescript getter / setter props\n if (!hasOwnProperty(target, \"__mobxLazyInitializers\")) {\n addHiddenProp(target, \"__mobxLazyInitializers\", (target.__mobxLazyInitializers && target.__mobxLazyInitializers.slice()) || [] // support inheritance\n );\n }\n var value_1 = descriptor.value, initializer_1 = descriptor.initializer;\n target.__mobxLazyInitializers.push(function (instance) {\n onInitialize(instance, key, initializer_1 ? initializer_1.call(instance) : value_1, customArgs, descriptor);\n });\n return {\n enumerable: enumerable,\n configurable: true,\n get: function () {\n if (this.__mobxDidRunLazyInitializers !== true)\n runLazyInitializers(this);\n return get.call(this, key);\n },\n set: function (v) {\n if (this.__mobxDidRunLazyInitializers !== true)\n runLazyInitializers(this);\n set.call(this, key, v);\n }\n };\n }\n }\n if (allowCustomArguments) {\n /** If custom arguments are allowed, we should return a function that returns a decorator */\n return function () {\n /** Direct invocation: @decorator bla */\n if (quacksLikeADecorator(arguments))\n return classPropertyDecorator.apply(null, arguments);\n /** Indirect invocation: @decorator(args) bla */\n var outerArgs = arguments;\n var argLen = arguments.length;\n return function (target, key, descriptor) {\n return classPropertyDecorator(target, key, descriptor, outerArgs, argLen);\n };\n };\n }\n return classPropertyDecorator;\n}\nfunction typescriptInitializeProperty(instance, key, v, onInitialize, customArgs, baseDescriptor) {\n if (!hasOwnProperty(instance, \"__mobxInitializedProps\"))\n addHiddenProp(instance, \"__mobxInitializedProps\", {});\n instance.__mobxInitializedProps[key] = true;\n onInitialize(instance, key, v, customArgs, baseDescriptor);\n}\nfunction runLazyInitializers(instance) {\n if (instance.__mobxDidRunLazyInitializers === true)\n return;\n if (instance.__mobxLazyInitializers) {\n addHiddenProp(instance, \"__mobxDidRunLazyInitializers\", true);\n instance.__mobxDidRunLazyInitializers &&\n instance.__mobxLazyInitializers.forEach(function (initializer) { return initializer(instance); });\n }\n}\nfunction quacksLikeADecorator(args) {\n return (args.length === 2 || args.length === 3) && typeof args[1] === \"string\";\n}\n\nvar actionFieldDecorator = createClassPropertyDecorator(function (target, key, value, args, originalDescriptor) {\n var actionName = args && args.length === 1 ? args[0] : value.name || key || \"\";\n var wrappedAction = action(actionName, value);\n addHiddenProp(target, key, wrappedAction);\n}, function (key) {\n return this[key];\n}, function () {\n invariant(false, getMessage(\"m001\"));\n}, false, true);\nvar boundActionDecorator = createClassPropertyDecorator(function (target, key, value) {\n defineBoundAction(target, key, value);\n}, function (key) {\n return this[key];\n}, function () {\n invariant(false, getMessage(\"m001\"));\n}, false, false);\nvar action = function action(arg1, arg2, arg3, arg4) {\n if (arguments.length === 1 && typeof arg1 === \"function\")\n return createAction(arg1.name || \"\", arg1);\n if (arguments.length === 2 && typeof arg2 === \"function\")\n return createAction(arg1, arg2);\n if (arguments.length === 1 && typeof arg1 === \"string\")\n return namedActionDecorator(arg1);\n return namedActionDecorator(arg2).apply(null, arguments);\n};\naction.bound = function boundAction(arg1, arg2, arg3) {\n if (typeof arg1 === \"function\") {\n var action_1 = createAction(\"\", arg1);\n action_1.autoBind = true;\n return action_1;\n }\n return boundActionDecorator.apply(null, arguments);\n};\nfunction namedActionDecorator(name) {\n return function (target, prop, descriptor) {\n if (descriptor && typeof descriptor.value === \"function\") {\n // TypeScript @action method() { }. Defined on proto before being decorated\n // Don't use the field decorator if we are just decorating a method\n descriptor.value = createAction(name, descriptor.value);\n descriptor.enumerable = false;\n descriptor.configurable = true;\n return descriptor;\n }\n if (descriptor !== undefined && descriptor.get !== undefined) {\n throw new Error(\"[mobx] action is not expected to be used with getters\");\n }\n // bound instance methods\n return actionFieldDecorator(name).apply(this, arguments);\n };\n}\nfunction runInAction(arg1, arg2, arg3) {\n var actionName = typeof arg1 === \"string\" ? arg1 : arg1.name || \"\";\n var fn = typeof arg1 === \"function\" ? arg1 : arg2;\n var scope = typeof arg1 === \"function\" ? arg2 : arg3;\n invariant(typeof fn === \"function\", getMessage(\"m002\"));\n invariant(fn.length === 0, getMessage(\"m003\"));\n invariant(typeof actionName === \"string\" && actionName.length > 0, \"actions should have valid names, got: '\" + actionName + \"'\");\n return executeAction(actionName, fn, scope, undefined);\n}\nfunction isAction(thing) {\n return typeof thing === \"function\" && thing.isMobxAction === true;\n}\nfunction defineBoundAction(target, propertyName, fn) {\n var res = function () {\n return executeAction(propertyName, fn, target, arguments);\n };\n res.isMobxAction = true;\n addHiddenProp(target, propertyName, res);\n}\n\nvar toString = Object.prototype.toString;\nfunction deepEqual(a, b) {\n return eq(a, b);\n}\n// Copied from https://github.com/jashkenas/underscore/blob/5c237a7c682fb68fd5378203f0bf22dce1624854/underscore.js#L1186-L1289\n// Internal recursive comparison function for `isEqual`.\nfunction eq(a, b, aStack, bStack) {\n // Identical objects are equal. `0 === -0`, but they aren't identical.\n // See the [Harmony `egal` proposal](http://wiki.ecmascript.org/doku.php?id=harmony:egal).\n if (a === b)\n return a !== 0 || 1 / a === 1 / b;\n // `null` or `undefined` only equal to itself (strict comparison).\n if (a == null || b == null)\n return false;\n // `NaN`s are equivalent, but non-reflexive.\n if (a !== a)\n return b !== b;\n // Exhaust primitive checks\n var type = typeof a;\n if (type !== \"function\" && type !== \"object\" && typeof b != \"object\")\n return false;\n return deepEq(a, b, aStack, bStack);\n}\n// Internal recursive comparison function for `isEqual`.\nfunction deepEq(a, b, aStack, bStack) {\n // Unwrap any wrapped objects.\n a = unwrap(a);\n b = unwrap(b);\n // Compare `[[Class]]` names.\n var className = toString.call(a);\n if (className !== toString.call(b))\n return false;\n switch (className) {\n // Strings, numbers, regular expressions, dates, and booleans are compared by value.\n case \"[object RegExp]\":\n // RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i')\n case \"[object String]\":\n // Primitives and their corresponding object wrappers are equivalent; thus, `\"5\"` is\n // equivalent to `new String(\"5\")`.\n return \"\" + a === \"\" + b;\n case \"[object Number]\":\n // `NaN`s are equivalent, but non-reflexive.\n // Object(NaN) is equivalent to NaN.\n if (+a !== +a)\n return +b !== +b;\n // An `egal` comparison is performed for other numeric values.\n return +a === 0 ? 1 / +a === 1 / b : +a === +b;\n case \"[object Date]\":\n case \"[object Boolean]\":\n // Coerce dates and booleans to numeric primitive values. Dates are compared by their\n // millisecond representations. Note that invalid dates with millisecond representations\n // of `NaN` are not equivalent.\n return +a === +b;\n case \"[object Symbol]\":\n return (typeof Symbol !== \"undefined\" && Symbol.valueOf.call(a) === Symbol.valueOf.call(b));\n }\n var areArrays = className === \"[object Array]\";\n if (!areArrays) {\n if (typeof a != \"object\" || typeof b != \"object\")\n return false;\n // Objects with different constructors are not equivalent, but `Object`s or `Array`s\n // from different frames are.\n var aCtor = a.constructor, bCtor = b.constructor;\n if (aCtor !== bCtor &&\n !(typeof aCtor === \"function\" &&\n aCtor instanceof aCtor &&\n typeof bCtor === \"function\" &&\n bCtor instanceof bCtor) &&\n (\"constructor\" in a && \"constructor\" in b)) {\n return false;\n }\n }\n // Assume equality for cyclic structures. The algorithm for detecting cyclic\n // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`.\n // Initializing stack of traversed objects.\n // It's done here since we only need them for objects and arrays comparison.\n aStack = aStack || [];\n bStack = bStack || [];\n var length = aStack.length;\n while (length--) {\n // Linear search. Performance is inversely proportional to the number of\n // unique nested structures.\n if (aStack[length] === a)\n return bStack[length] === b;\n }\n // Add the first object to the stack of traversed objects.\n aStack.push(a);\n bStack.push(b);\n // Recursively compare objects and arrays.\n if (areArrays) {\n // Compare array lengths to determine if a deep comparison is necessary.\n length = a.length;\n if (length !== b.length)\n return false;\n // Deep compare the contents, ignoring non-numeric properties.\n while (length--) {\n if (!eq(a[length], b[length], aStack, bStack))\n return false;\n }\n }\n else {\n // Deep compare objects.\n var keys = Object.keys(a), key;\n length = keys.length;\n // Ensure that both objects contain the same number of properties before comparing deep equality.\n if (Object.keys(b).length !== length)\n return false;\n while (length--) {\n // Deep compare each member\n key = keys[length];\n if (!(has(b, key) && eq(a[key], b[key], aStack, bStack)))\n return false;\n }\n }\n // Remove the first object from the stack of traversed objects.\n aStack.pop();\n bStack.pop();\n return true;\n}\nfunction unwrap(a) {\n if (isObservableArray(a))\n return a.peek();\n if (isObservableMap(a))\n return a.entries();\n if (isES6Map(a))\n return iteratorToArray(a.entries());\n return a;\n}\nfunction has(a, key) {\n return Object.prototype.hasOwnProperty.call(a, key);\n}\n\nfunction identityComparer(a, b) {\n return a === b;\n}\nfunction structuralComparer(a, b) {\n return deepEqual(a, b);\n}\nfunction defaultComparer(a, b) {\n return areBothNaN(a, b) || identityComparer(a, b);\n}\nvar comparer = {\n identity: identityComparer,\n structural: structuralComparer,\n default: defaultComparer\n};\n\nfunction autorun(arg1, arg2, arg3) {\n var name, view, scope;\n if (typeof arg1 === \"string\") {\n name = arg1;\n view = arg2;\n scope = arg3;\n }\n else {\n name = arg1.name || \"Autorun@\" + getNextId();\n view = arg1;\n scope = arg2;\n }\n invariant(typeof view === \"function\", getMessage(\"m004\"));\n invariant(isAction(view) === false, getMessage(\"m005\"));\n if (scope)\n view = view.bind(scope);\n var reaction = new Reaction(name, function () {\n this.track(reactionRunner);\n });\n function reactionRunner() {\n view(reaction);\n }\n reaction.schedule();\n return reaction.getDisposer();\n}\nfunction when(arg1, arg2, arg3, arg4) {\n var name, predicate, effect, scope;\n if (typeof arg1 === \"string\") {\n name = arg1;\n predicate = arg2;\n effect = arg3;\n scope = arg4;\n }\n else {\n name = \"When@\" + getNextId();\n predicate = arg1;\n effect = arg2;\n scope = arg3;\n }\n var disposer = autorun(name, function (r) {\n if (predicate.call(scope)) {\n r.dispose();\n var prevUntracked = untrackedStart();\n effect.call(scope);\n untrackedEnd(prevUntracked);\n }\n });\n return disposer;\n}\nfunction autorunAsync(arg1, arg2, arg3, arg4) {\n var name, func, delay, scope;\n if (typeof arg1 === \"string\") {\n name = arg1;\n func = arg2;\n delay = arg3;\n scope = arg4;\n }\n else {\n name = arg1.name || \"AutorunAsync@\" + getNextId();\n func = arg1;\n delay = arg2;\n scope = arg3;\n }\n invariant(isAction(func) === false, getMessage(\"m006\"));\n if (delay === void 0)\n delay = 1;\n if (scope)\n func = func.bind(scope);\n var isScheduled = false;\n var r = new Reaction(name, function () {\n if (!isScheduled) {\n isScheduled = true;\n setTimeout(function () {\n isScheduled = false;\n if (!r.isDisposed)\n r.track(reactionRunner);\n }, delay);\n }\n });\n function reactionRunner() {\n func(r);\n }\n r.schedule();\n return r.getDisposer();\n}\nfunction reaction(expression, effect, arg3) {\n if (arguments.length > 3) {\n fail(getMessage(\"m007\"));\n }\n if (isModifierDescriptor(expression)) {\n fail(getMessage(\"m008\"));\n }\n var opts;\n if (typeof arg3 === \"object\") {\n opts = arg3;\n }\n else {\n opts = {};\n }\n opts.name =\n opts.name || expression.name || effect.name || \"Reaction@\" + getNextId();\n opts.fireImmediately = arg3 === true || opts.fireImmediately === true;\n opts.delay = opts.delay || 0;\n opts.compareStructural = opts.compareStructural || opts.struct || false;\n // TODO: creates ugly spy events, use `effect = (r) => runInAction(opts.name, () => effect(r))` instead\n effect = action(opts.name, opts.context ? effect.bind(opts.context) : effect);\n if (opts.context) {\n expression = expression.bind(opts.context);\n }\n var firstTime = true;\n var isScheduled = false;\n var value;\n var equals = opts.equals\n ? opts.equals\n : opts.compareStructural || opts.struct ? comparer.structural : comparer.default;\n var r = new Reaction(opts.name, function () {\n if (firstTime || opts.delay < 1) {\n reactionRunner();\n }\n else if (!isScheduled) {\n isScheduled = true;\n setTimeout(function () {\n isScheduled = false;\n reactionRunner();\n }, opts.delay);\n }\n });\n function reactionRunner() {\n if (r.isDisposed)\n return;\n var changed = false;\n r.track(function () {\n var nextValue = expression(r);\n changed = firstTime || !equals(value, nextValue);\n value = nextValue;\n });\n if (firstTime && opts.fireImmediately)\n effect(value, r);\n if (!firstTime && changed === true)\n effect(value, r);\n if (firstTime)\n firstTime = false;\n }\n r.schedule();\n return r.getDisposer();\n}\n\n/**\n * A node in the state dependency root that observes other nodes, and can be observed itself.\n *\n * ComputedValue will remember the result of the computation for the duration of the batch, or\n * while being observed.\n *\n * During this time it will recompute only when one of its direct dependencies changed,\n * but only when it is being accessed with `ComputedValue.get()`.\n *\n * Implementation description:\n * 1. First time it's being accessed it will compute and remember result\n * give back remembered result until 2. happens\n * 2. First time any deep dependency change, propagate POSSIBLY_STALE to all observers, wait for 3.\n * 3. When it's being accessed, recompute if any shallow dependency changed.\n * if result changed: propagate STALE to all observers, that were POSSIBLY_STALE from the last step.\n * go to step 2. either way\n *\n * If at any point it's outside batch and it isn't observed: reset everything and go to 1.\n */\nvar ComputedValue = /** @class */ (function () {\n /**\n * Create a new computed value based on a function expression.\n *\n * The `name` property is for debug purposes only.\n *\n * The `equals` property specifies the comparer function to use to determine if a newly produced\n * value differs from the previous value. Two comparers are provided in the library; `defaultComparer`\n * compares based on identity comparison (===), and `structualComparer` deeply compares the structure.\n * Structural comparison can be convenient if you always produce an new aggregated object and\n * don't want to notify observers if it is structurally the same.\n * This is useful for working with vectors, mouse coordinates etc.\n */\n function ComputedValue(derivation, scope, equals, name, setter) {\n this.derivation = derivation;\n this.scope = scope;\n this.equals = equals;\n this.dependenciesState = IDerivationState.NOT_TRACKING;\n this.observing = []; // nodes we are looking at. Our value depends on these nodes\n this.newObserving = null; // during tracking it's an array with new observed observers\n this.isPendingUnobservation = false;\n this.observers = [];\n this.observersIndexes = {};\n this.diffValue = 0;\n this.runId = 0;\n this.lastAccessedBy = 0;\n this.lowestObserverState = IDerivationState.UP_TO_DATE;\n this.unboundDepsCount = 0;\n this.__mapid = \"#\" + getNextId();\n this.value = new CaughtException(null);\n this.isComputing = false; // to check for cycles\n this.isRunningSetter = false;\n this.isTracing = TraceMode.NONE;\n this.name = name || \"ComputedValue@\" + getNextId();\n if (setter)\n this.setter = createAction(name + \"-setter\", setter);\n }\n ComputedValue.prototype.onBecomeStale = function () {\n propagateMaybeChanged(this);\n };\n ComputedValue.prototype.onBecomeUnobserved = function () {\n clearObserving(this);\n this.value = undefined;\n };\n /**\n * Returns the current value of this computed value.\n * Will evaluate its computation first if needed.\n */\n ComputedValue.prototype.get = function () {\n invariant(!this.isComputing, \"Cycle detected in computation \" + this.name, this.derivation);\n if (globalState.inBatch === 0) {\n // This is an minor optimization which could be omitted to simplify the code\n // The computedValue is accessed outside of any mobx stuff. Batch observing should be enough and don't need\n // tracking as it will never be called again inside this batch.\n startBatch();\n if (shouldCompute(this)) {\n if (this.isTracing !== TraceMode.NONE) {\n console.log(\"[mobx.trace] '\" + this\n .name + \"' is being read outside a reactive context and doing a full recompute\");\n }\n this.value = this.computeValue(false);\n }\n endBatch();\n }\n else {\n reportObserved(this);\n if (shouldCompute(this))\n if (this.trackAndCompute())\n propagateChangeConfirmed(this);\n }\n var result = this.value;\n if (isCaughtException(result))\n throw result.cause;\n return result;\n };\n ComputedValue.prototype.peek = function () {\n var res = this.computeValue(false);\n if (isCaughtException(res))\n throw res.cause;\n return res;\n };\n ComputedValue.prototype.set = function (value) {\n if (this.setter) {\n invariant(!this.isRunningSetter, \"The setter of computed value '\" + this\n .name + \"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?\");\n this.isRunningSetter = true;\n try {\n this.setter.call(this.scope, value);\n }\n finally {\n this.isRunningSetter = false;\n }\n }\n else\n invariant(false, \"[ComputedValue '\" + this\n .name + \"'] It is not possible to assign a new value to a computed value.\");\n };\n ComputedValue.prototype.trackAndCompute = function () {\n if (isSpyEnabled()) {\n spyReport({\n object: this.scope,\n type: \"compute\",\n fn: this.derivation\n });\n }\n var oldValue = this.value;\n var wasSuspended = \n /* see #1208 */ this.dependenciesState === IDerivationState.NOT_TRACKING;\n var newValue = (this.value = this.computeValue(true));\n return (wasSuspended ||\n isCaughtException(oldValue) ||\n isCaughtException(newValue) ||\n !this.equals(oldValue, newValue));\n };\n ComputedValue.prototype.computeValue = function (track) {\n this.isComputing = true;\n globalState.computationDepth++;\n var res;\n if (track) {\n res = trackDerivedFunction(this, this.derivation, this.scope);\n }\n else {\n try {\n res = this.derivation.call(this.scope);\n }\n catch (e) {\n res = new CaughtException(e);\n }\n }\n globalState.computationDepth--;\n this.isComputing = false;\n return res;\n };\n ComputedValue.prototype.observe = function (listener, fireImmediately) {\n var _this = this;\n var firstTime = true;\n var prevValue = undefined;\n return autorun(function () {\n var newValue = _this.get();\n if (!firstTime || fireImmediately) {\n var prevU = untrackedStart();\n listener({\n type: \"update\",\n object: _this,\n newValue: newValue,\n oldValue: prevValue\n });\n untrackedEnd(prevU);\n }\n firstTime = false;\n prevValue = newValue;\n });\n };\n ComputedValue.prototype.toJSON = function () {\n return this.get();\n };\n ComputedValue.prototype.toString = function () {\n return this.name + \"[\" + this.derivation.toString() + \"]\";\n };\n ComputedValue.prototype.valueOf = function () {\n return toPrimitive(this.get());\n };\n ComputedValue.prototype.whyRun = function () {\n var isTracking = Boolean(globalState.trackingDerivation);\n var observing = unique(this.isComputing ? this.newObserving : this.observing).map(function (dep) { return dep.name; });\n var observers = unique(getObservers(this).map(function (dep) { return dep.name; }));\n return (\"\\nWhyRun? computation '\" + this.name + \"':\\n * Running because: \" + (isTracking\n ? \"[active] the value of this computation is needed by a reaction\"\n : this.isComputing\n ? \"[get] The value of this computed was requested outside a reaction\"\n : \"[idle] not running at the moment\") + \"\\n\" +\n (this.dependenciesState === IDerivationState.NOT_TRACKING\n ? getMessage(\"m032\")\n : \" * This computation will re-run if any of the following observables changes:\\n \" + joinStrings(observing) + \"\\n \" + (this.isComputing && isTracking\n ? \" (... or any observable accessed during the remainder of the current run)\"\n : \"\") + \"\\n \" + getMessage(\"m038\") + \"\\n\\n * If the outcome of this computation changes, the following observers will be re-run:\\n \" + joinStrings(observers) + \"\\n\"));\n };\n return ComputedValue;\n}());\nComputedValue.prototype[primitiveSymbol()] = ComputedValue.prototype.valueOf;\nvar isComputedValue = createInstanceofPredicate(\"ComputedValue\", ComputedValue);\n\nvar ObservableObjectAdministration = /** @class */ (function () {\n function ObservableObjectAdministration(target, name) {\n this.target = target;\n this.name = name;\n this.values = {};\n this.changeListeners = null;\n this.interceptors = null;\n }\n /**\n * Observes this object. Triggers for the events 'add', 'update' and 'delete'.\n * See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/observe\n * for callback details\n */\n ObservableObjectAdministration.prototype.observe = function (callback, fireImmediately) {\n invariant(fireImmediately !== true, \"`observe` doesn't support the fire immediately property for observable objects.\");\n return registerListener(this, callback);\n };\n ObservableObjectAdministration.prototype.intercept = function (handler) {\n return registerInterceptor(this, handler);\n };\n return ObservableObjectAdministration;\n}());\nfunction asObservableObject(target, name) {\n if (isObservableObject(target) && target.hasOwnProperty(\"$mobx\"))\n return target.$mobx;\n invariant(Object.isExtensible(target), getMessage(\"m035\"));\n if (!isPlainObject(target))\n name = (target.constructor.name || \"ObservableObject\") + \"@\" + getNextId();\n if (!name)\n name = \"ObservableObject@\" + getNextId();\n var adm = new ObservableObjectAdministration(target, name);\n addHiddenFinalProp(target, \"$mobx\", adm);\n return adm;\n}\nfunction defineObservablePropertyFromDescriptor(adm, propName, descriptor, defaultEnhancer) {\n if (adm.values[propName] && !isComputedValue(adm.values[propName])) {\n // already observable property\n invariant(\"value\" in descriptor, \"The property \" + propName + \" in \" + adm.name + \" is already observable, cannot redefine it as computed property\");\n adm.target[propName] = descriptor.value; // the property setter will make 'value' reactive if needed.\n return;\n }\n // not yet observable property\n if (\"value\" in descriptor) {\n // not a computed value\n if (isModifierDescriptor(descriptor.value)) {\n // x : ref(someValue)\n var modifierDescriptor = descriptor.value;\n defineObservableProperty(adm, propName, modifierDescriptor.initialValue, modifierDescriptor.enhancer);\n }\n else if (isAction(descriptor.value) && descriptor.value.autoBind === true) {\n defineBoundAction(adm.target, propName, descriptor.value.originalFn);\n }\n else if (isComputedValue(descriptor.value)) {\n // x: computed(someExpr)\n defineComputedPropertyFromComputedValue(adm, propName, descriptor.value);\n }\n else {\n // x: someValue\n defineObservableProperty(adm, propName, descriptor.value, defaultEnhancer);\n }\n }\n else {\n // get x() { return 3 } set x(v) { }\n defineComputedProperty(adm, propName, descriptor.get, descriptor.set, comparer.default, true);\n }\n}\nfunction defineObservableProperty(adm, propName, newValue, enhancer) {\n assertPropertyConfigurable(adm.target, propName);\n if (hasInterceptors(adm)) {\n var change = interceptChange(adm, {\n object: adm.target,\n name: propName,\n type: \"add\",\n newValue: newValue\n });\n if (!change)\n return;\n newValue = change.newValue;\n }\n var observable = (adm.values[propName] = new ObservableValue(newValue, enhancer, adm.name + \".\" + propName, false));\n newValue = observable.value; // observableValue might have changed it\n Object.defineProperty(adm.target, propName, generateObservablePropConfig(propName));\n notifyPropertyAddition(adm, adm.target, propName, newValue);\n}\nfunction defineComputedProperty(adm, propName, getter, setter, equals, asInstanceProperty) {\n if (asInstanceProperty)\n assertPropertyConfigurable(adm.target, propName);\n adm.values[propName] = new ComputedValue(getter, adm.target, equals, adm.name + \".\" + propName, setter);\n if (asInstanceProperty) {\n Object.defineProperty(adm.target, propName, generateComputedPropConfig(propName));\n }\n}\nfunction defineComputedPropertyFromComputedValue(adm, propName, computedValue) {\n var name = adm.name + \".\" + propName;\n computedValue.name = name;\n if (!computedValue.scope)\n computedValue.scope = adm.target;\n adm.values[propName] = computedValue;\n Object.defineProperty(adm.target, propName, generateComputedPropConfig(propName));\n}\nvar observablePropertyConfigs = {};\nvar computedPropertyConfigs = {};\nfunction generateObservablePropConfig(propName) {\n return (observablePropertyConfigs[propName] ||\n (observablePropertyConfigs[propName] = {\n configurable: true,\n enumerable: true,\n get: function () {\n return this.$mobx.values[propName].get();\n },\n set: function (v) {\n setPropertyValue(this, propName, v);\n }\n }));\n}\nfunction generateComputedPropConfig(propName) {\n return (computedPropertyConfigs[propName] ||\n (computedPropertyConfigs[propName] = {\n configurable: true,\n enumerable: false,\n get: function () {\n return this.$mobx.values[propName].get();\n },\n set: function (v) {\n return this.$mobx.values[propName].set(v);\n }\n }));\n}\nfunction setPropertyValue(instance, name, newValue) {\n var adm = instance.$mobx;\n var observable = adm.values[name];\n // intercept\n if (hasInterceptors(adm)) {\n var change = interceptChange(adm, {\n type: \"update\",\n object: instance,\n name: name,\n newValue: newValue\n });\n if (!change)\n return;\n newValue = change.newValue;\n }\n newValue = observable.prepareNewValue(newValue);\n // notify spy & observers\n if (newValue !== UNCHANGED) {\n var notify = hasListeners(adm);\n var notifySpy = isSpyEnabled();\n var change = notify || notifySpy\n ? {\n type: \"update\",\n object: instance,\n oldValue: observable.value,\n name: name,\n newValue: newValue\n }\n : null;\n if (notifySpy)\n spyReportStart(change);\n observable.setNewValue(newValue);\n if (notify)\n notifyListeners(adm, change);\n if (notifySpy)\n spyReportEnd();\n }\n}\nfunction notifyPropertyAddition(adm, object, name, newValue) {\n var notify = hasListeners(adm);\n var notifySpy = isSpyEnabled();\n var change = notify || notifySpy\n ? {\n type: \"add\",\n object: object,\n name: name,\n newValue: newValue\n }\n : null;\n if (notifySpy)\n spyReportStart(change);\n if (notify)\n notifyListeners(adm, change);\n if (notifySpy)\n spyReportEnd();\n}\nvar isObservableObjectAdministration = createInstanceofPredicate(\"ObservableObjectAdministration\", ObservableObjectAdministration);\nfunction isObservableObject(thing) {\n if (isObject(thing)) {\n // Initializers run lazily when transpiling to babel, so make sure they are run...\n runLazyInitializers(thing);\n return isObservableObjectAdministration(thing.$mobx);\n }\n return false;\n}\n\n/**\n * Returns true if the provided value is reactive.\n * @param value object, function or array\n * @param property if property is specified, checks whether value.property is reactive.\n */\nfunction isObservable(value, property) {\n if (value === null || value === undefined)\n return false;\n if (property !== undefined) {\n if (isObservableArray(value) || isObservableMap(value))\n throw new Error(getMessage(\"m019\"));\n else if (isObservableObject(value)) {\n var o = value.$mobx;\n return o.values && !!o.values[property];\n }\n return false;\n }\n // For first check, see #701\n return (isObservableObject(value) ||\n !!value.$mobx ||\n isAtom(value) ||\n isReaction(value) ||\n isComputedValue(value));\n}\n\nfunction createDecoratorForEnhancer(enhancer) {\n invariant(!!enhancer, \":(\");\n return createClassPropertyDecorator(function (target, name, baseValue, _, baseDescriptor) {\n assertPropertyConfigurable(target, name);\n invariant(!baseDescriptor || !baseDescriptor.get, getMessage(\"m022\"));\n var adm = asObservableObject(target, undefined);\n defineObservableProperty(adm, name, baseValue, enhancer);\n }, function (name) {\n var observable = this.$mobx.values[name];\n if (observable === undefined // See #505\n )\n return undefined;\n return observable.get();\n }, function (name, value) {\n setPropertyValue(this, name, value);\n }, true, false);\n}\n\nfunction extendObservable(target) {\n var properties = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n properties[_i - 1] = arguments[_i];\n }\n return extendObservableHelper(target, deepEnhancer, properties);\n}\nfunction extendShallowObservable(target) {\n var properties = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n properties[_i - 1] = arguments[_i];\n }\n return extendObservableHelper(target, referenceEnhancer, properties);\n}\nfunction extendObservableHelper(target, defaultEnhancer, properties) {\n invariant(arguments.length >= 2, getMessage(\"m014\"));\n invariant(typeof target === \"object\", getMessage(\"m015\"));\n invariant(!isObservableMap(target), getMessage(\"m016\"));\n properties.forEach(function (propSet) {\n invariant(typeof propSet === \"object\", getMessage(\"m017\"));\n invariant(!isObservable(propSet), getMessage(\"m018\"));\n });\n var adm = asObservableObject(target);\n var definedProps = {};\n // Note could be optimised if properties.length === 1\n for (var i = properties.length - 1; i >= 0; i--) {\n var propSet = properties[i];\n for (var key in propSet)\n if (definedProps[key] !== true && hasOwnProperty(propSet, key)) {\n definedProps[key] = true;\n if (target === propSet && !isPropertyConfigurable(target, key))\n continue; // see #111, skip non-configurable or non-writable props for `observable(object)`.\n var descriptor = Object.getOwnPropertyDescriptor(propSet, key);\n defineObservablePropertyFromDescriptor(adm, key, descriptor, defaultEnhancer);\n }\n }\n return target;\n}\n\nvar deepDecorator = createDecoratorForEnhancer(deepEnhancer);\nvar shallowDecorator = createDecoratorForEnhancer(shallowEnhancer);\nvar refDecorator = createDecoratorForEnhancer(referenceEnhancer);\nvar deepStructDecorator = createDecoratorForEnhancer(deepStructEnhancer);\nvar refStructDecorator = createDecoratorForEnhancer(refStructEnhancer);\n/**\n * Turns an object, array or function into a reactive structure.\n * @param v the value which should become observable.\n */\nfunction createObservable(v) {\n if (v === void 0) { v = undefined; }\n // @observable someProp;\n if (typeof arguments[1] === \"string\")\n return deepDecorator.apply(null, arguments);\n invariant(arguments.length <= 1, getMessage(\"m021\"));\n invariant(!isModifierDescriptor(v), getMessage(\"m020\"));\n // it is an observable already, done\n if (isObservable(v))\n return v;\n // something that can be converted and mutated?\n var res = deepEnhancer(v, undefined, undefined);\n // this value could be converted to a new observable data structure, return it\n if (res !== v)\n return res;\n // otherwise, just box it\n return observable.box(v);\n}\nvar observableFactories = {\n box: function (value, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"box\");\n return new ObservableValue(value, deepEnhancer, name);\n },\n shallowBox: function (value, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"shallowBox\");\n return new ObservableValue(value, referenceEnhancer, name);\n },\n array: function (initialValues, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"array\");\n return new ObservableArray(initialValues, deepEnhancer, name);\n },\n shallowArray: function (initialValues, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"shallowArray\");\n return new ObservableArray(initialValues, referenceEnhancer, name);\n },\n map: function (initialValues, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"map\");\n return new ObservableMap(initialValues, deepEnhancer, name);\n },\n shallowMap: function (initialValues, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"shallowMap\");\n return new ObservableMap(initialValues, referenceEnhancer, name);\n },\n object: function (props, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"object\");\n var res = {};\n // convert to observable object\n asObservableObject(res, name);\n // add properties\n extendObservable(res, props);\n return res;\n },\n shallowObject: function (props, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"shallowObject\");\n var res = {};\n asObservableObject(res, name);\n extendShallowObservable(res, props);\n return res;\n },\n ref: function () {\n if (arguments.length < 2) {\n // although ref creates actually a modifier descriptor, the type of the resultig properties\n // of the object is `T` in the end, when the descriptors are interpreted\n return createModifierDescriptor(referenceEnhancer, arguments[0]);\n }\n else {\n return refDecorator.apply(null, arguments);\n }\n },\n shallow: function () {\n if (arguments.length < 2) {\n // although ref creates actually a modifier descriptor, the type of the resultig properties\n // of the object is `T` in the end, when the descriptors are interpreted\n return createModifierDescriptor(shallowEnhancer, arguments[0]);\n }\n else {\n return shallowDecorator.apply(null, arguments);\n }\n },\n deep: function () {\n if (arguments.length < 2) {\n // although ref creates actually a modifier descriptor, the type of the resultig properties\n // of the object is `T` in the end, when the descriptors are interpreted\n return createModifierDescriptor(deepEnhancer, arguments[0]);\n }\n else {\n return deepDecorator.apply(null, arguments);\n }\n },\n struct: function () {\n if (arguments.length < 2) {\n // although ref creates actually a modifier descriptor, the type of the resultig properties\n // of the object is `T` in the end, when the descriptors are interpreted\n return createModifierDescriptor(deepStructEnhancer, arguments[0]);\n }\n else {\n return deepStructDecorator.apply(null, arguments);\n }\n }\n};\nvar observable = createObservable;\n// weird trick to keep our typings nicely with our funcs, and still extend the observable function\nObject.keys(observableFactories).forEach(function (name) { return (observable[name] = observableFactories[name]); });\nobservable.deep.struct = observable.struct;\nobservable.ref.struct = function () {\n if (arguments.length < 2) {\n return createModifierDescriptor(refStructEnhancer, arguments[0]);\n }\n else {\n return refStructDecorator.apply(null, arguments);\n }\n};\nfunction incorrectlyUsedAsDecorator(methodName) {\n fail(\"Expected one or two arguments to observable.\" + methodName + \". Did you accidentally try to use observable.\" + methodName + \" as decorator?\");\n}\n\nfunction isModifierDescriptor(thing) {\n return typeof thing === \"object\" && thing !== null && thing.isMobxModifierDescriptor === true;\n}\nfunction createModifierDescriptor(enhancer, initialValue) {\n invariant(!isModifierDescriptor(initialValue), \"Modifiers cannot be nested\");\n return {\n isMobxModifierDescriptor: true,\n initialValue: initialValue,\n enhancer: enhancer\n };\n}\nfunction deepEnhancer(v, _, name) {\n if (isModifierDescriptor(v))\n fail(\"You tried to assign a modifier wrapped value to a collection, please define modifiers when creating the collection, not when modifying it\");\n // it is an observable already, done\n if (isObservable(v))\n return v;\n // something that can be converted and mutated?\n if (Array.isArray(v))\n return observable.array(v, name);\n if (isPlainObject(v))\n return observable.object(v, name);\n if (isES6Map(v))\n return observable.map(v, name);\n return v;\n}\nfunction shallowEnhancer(v, _, name) {\n if (isModifierDescriptor(v))\n fail(\"You tried to assign a modifier wrapped value to a collection, please define modifiers when creating the collection, not when modifying it\");\n if (v === undefined || v === null)\n return v;\n if (isObservableObject(v) || isObservableArray(v) || isObservableMap(v))\n return v;\n if (Array.isArray(v))\n return observable.shallowArray(v, name);\n if (isPlainObject(v))\n return observable.shallowObject(v, name);\n if (isES6Map(v))\n return observable.shallowMap(v, name);\n return fail(\"The shallow modifier / decorator can only used in combination with arrays, objects and maps\");\n}\nfunction referenceEnhancer(newValue) {\n // never turn into an observable\n return newValue;\n}\nfunction deepStructEnhancer(v, oldValue, name) {\n // don't confuse structurally compare enhancer with ref enhancer! The latter is probably\n // more suited for immutable objects\n if (deepEqual(v, oldValue))\n return oldValue;\n // it is an observable already, done\n if (isObservable(v))\n return v;\n // something that can be converted and mutated?\n if (Array.isArray(v))\n return new ObservableArray(v, deepStructEnhancer, name);\n if (isES6Map(v))\n return new ObservableMap(v, deepStructEnhancer, name);\n if (isPlainObject(v)) {\n var res = {};\n asObservableObject(res, name);\n extendObservableHelper(res, deepStructEnhancer, [v]);\n return res;\n }\n return v;\n}\nfunction refStructEnhancer(v, oldValue, name) {\n if (deepEqual(v, oldValue))\n return oldValue;\n return v;\n}\n\n/**\n * During a transaction no views are updated until the end of the transaction.\n * The transaction will be run synchronously nonetheless.\n *\n * @param action a function that updates some reactive state\n * @returns any value that was returned by the 'action' parameter.\n */\nfunction transaction(action, thisArg) {\n if (thisArg === void 0) { thisArg = undefined; }\n startBatch();\n try {\n return action.apply(thisArg);\n }\n finally {\n endBatch();\n }\n}\n\nvar ObservableMapMarker = {};\nvar ObservableMap = /** @class */ (function () {\n function ObservableMap(initialData, enhancer, name) {\n if (enhancer === void 0) { enhancer = deepEnhancer; }\n if (name === void 0) { name = \"ObservableMap@\" + getNextId(); }\n this.enhancer = enhancer;\n this.name = name;\n this.$mobx = ObservableMapMarker;\n this._data = Object.create(null);\n this._hasMap = Object.create(null); // hasMap, not hashMap >-).\n this._keys = new ObservableArray(undefined, referenceEnhancer, this.name + \".keys()\", true);\n this.interceptors = null;\n this.changeListeners = null;\n this.dehancer = undefined;\n this.merge(initialData);\n }\n ObservableMap.prototype._has = function (key) {\n return typeof this._data[key] !== \"undefined\";\n };\n ObservableMap.prototype.has = function (key) {\n if (!this.isValidKey(key))\n return false;\n key = \"\" + key;\n if (this._hasMap[key])\n return this._hasMap[key].get();\n return this._updateHasMapEntry(key, false).get();\n };\n ObservableMap.prototype.set = function (key, value) {\n this.assertValidKey(key);\n key = \"\" + key;\n var hasKey = this._has(key);\n if (hasInterceptors(this)) {\n var change = interceptChange(this, {\n type: hasKey ? \"update\" : \"add\",\n object: this,\n newValue: value,\n name: key\n });\n if (!change)\n return this;\n value = change.newValue;\n }\n if (hasKey) {\n this._updateValue(key, value);\n }\n else {\n this._addValue(key, value);\n }\n return this;\n };\n ObservableMap.prototype.delete = function (key) {\n var _this = this;\n this.assertValidKey(key);\n key = \"\" + key;\n if (hasInterceptors(this)) {\n var change = interceptChange(this, {\n type: \"delete\",\n object: this,\n name: key\n });\n if (!change)\n return false;\n }\n if (this._has(key)) {\n var notifySpy = isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy\n ? {\n type: \"delete\",\n object: this,\n oldValue: this._data[key].value,\n name: key\n }\n : null;\n if (notifySpy)\n spyReportStart(change);\n transaction(function () {\n _this._keys.remove(key);\n _this._updateHasMapEntry(key, false);\n var observable$$1 = _this._data[key];\n observable$$1.setNewValue(undefined);\n _this._data[key] = undefined;\n });\n if (notify)\n notifyListeners(this, change);\n if (notifySpy)\n spyReportEnd();\n return true;\n }\n return false;\n };\n ObservableMap.prototype._updateHasMapEntry = function (key, value) {\n // optimization; don't fill the hasMap if we are not observing, or remove entry if there are no observers anymore\n var entry = this._hasMap[key];\n if (entry) {\n entry.setNewValue(value);\n }\n else {\n entry = this._hasMap[key] = new ObservableValue(value, referenceEnhancer, this.name + \".\" + key + \"?\", false);\n }\n return entry;\n };\n ObservableMap.prototype._updateValue = function (name, newValue) {\n var observable$$1 = this._data[name];\n newValue = observable$$1.prepareNewValue(newValue);\n if (newValue !== UNCHANGED) {\n var notifySpy = isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy\n ? {\n type: \"update\",\n object: this,\n oldValue: observable$$1.value,\n name: name,\n newValue: newValue\n }\n : null;\n if (notifySpy)\n spyReportStart(change);\n observable$$1.setNewValue(newValue);\n if (notify)\n notifyListeners(this, change);\n if (notifySpy)\n spyReportEnd();\n }\n };\n ObservableMap.prototype._addValue = function (name, newValue) {\n var _this = this;\n transaction(function () {\n var observable$$1 = (_this._data[name] = new ObservableValue(newValue, _this.enhancer, _this.name + \".\" + name, false));\n newValue = observable$$1.value; // value might have been changed\n _this._updateHasMapEntry(name, true);\n _this._keys.push(name);\n });\n var notifySpy = isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy\n ? {\n type: \"add\",\n object: this,\n name: name,\n newValue: newValue\n }\n : null;\n if (notifySpy)\n spyReportStart(change);\n if (notify)\n notifyListeners(this, change);\n if (notifySpy)\n spyReportEnd();\n };\n ObservableMap.prototype.get = function (key) {\n key = \"\" + key;\n if (this.has(key))\n return this.dehanceValue(this._data[key].get());\n return this.dehanceValue(undefined);\n };\n ObservableMap.prototype.dehanceValue = function (value) {\n if (this.dehancer !== undefined) {\n return this.dehancer(value);\n }\n return value;\n };\n ObservableMap.prototype.keys = function () {\n return arrayAsIterator(this._keys.slice());\n };\n ObservableMap.prototype.values = function () {\n return arrayAsIterator(this._keys.map(this.get, this));\n };\n ObservableMap.prototype.entries = function () {\n var _this = this;\n return arrayAsIterator(this._keys.map(function (key) { return [key, _this.get(key)]; }));\n };\n ObservableMap.prototype.forEach = function (callback, thisArg) {\n var _this = this;\n this.keys().forEach(function (key) { return callback.call(thisArg, _this.get(key), key, _this); });\n };\n /** Merge another object into this object, returns this. */\n ObservableMap.prototype.merge = function (other) {\n var _this = this;\n if (isObservableMap(other)) {\n other = other.toJS();\n }\n transaction(function () {\n if (isPlainObject(other))\n Object.keys(other).forEach(function (key) { return _this.set(key, other[key]); });\n else if (Array.isArray(other))\n other.forEach(function (_a) {\n var key = _a[0], value = _a[1];\n return _this.set(key, value);\n });\n else if (isES6Map(other))\n other.forEach(function (value, key) { return _this.set(key, value); });\n else if (other !== null && other !== undefined)\n fail(\"Cannot initialize map from \" + other);\n });\n return this;\n };\n ObservableMap.prototype.clear = function () {\n var _this = this;\n transaction(function () {\n untracked(function () {\n _this.keys().forEach(_this.delete, _this);\n });\n });\n };\n ObservableMap.prototype.replace = function (values) {\n var _this = this;\n transaction(function () {\n // grab all the keys that are present in the new map but not present in the current map\n // and delete them from the map, then merge the new map\n // this will cause reactions only on changed values\n var newKeys = getMapLikeKeys(values);\n var oldKeys = _this.keys();\n var missingKeys = oldKeys.filter(function (k) { return newKeys.indexOf(k) === -1; });\n missingKeys.forEach(function (k) { return _this.delete(k); });\n _this.merge(values);\n });\n return this;\n };\n Object.defineProperty(ObservableMap.prototype, \"size\", {\n get: function () {\n return this._keys.length;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Returns a shallow non observable object clone of this map.\n * Note that the values might still be observable. For a deep clone use mobx.toJS.\n */\n ObservableMap.prototype.toJS = function () {\n var _this = this;\n var res = {};\n this.keys().forEach(function (key) { return (res[key] = _this.get(key)); });\n return res;\n };\n ObservableMap.prototype.toJSON = function () {\n // Used by JSON.stringify\n return this.toJS();\n };\n ObservableMap.prototype.isValidKey = function (key) {\n if (key === null || key === undefined)\n return false;\n if (typeof key === \"string\" || typeof key === \"number\" || typeof key === \"boolean\")\n return true;\n return false;\n };\n ObservableMap.prototype.assertValidKey = function (key) {\n if (!this.isValidKey(key))\n throw new Error(\"[mobx.map] Invalid key: '\" + key + \"', only strings, numbers and booleans are accepted as key in observable maps.\");\n };\n ObservableMap.prototype.toString = function () {\n var _this = this;\n return (this.name +\n \"[{ \" +\n this.keys().map(function (key) { return key + \": \" + (\"\" + _this.get(key)); }).join(\", \") +\n \" }]\");\n };\n /**\n * Observes this object. Triggers for the events 'add', 'update' and 'delete'.\n * See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/observe\n * for callback details\n */\n ObservableMap.prototype.observe = function (listener, fireImmediately) {\n invariant(fireImmediately !== true, getMessage(\"m033\"));\n return registerListener(this, listener);\n };\n ObservableMap.prototype.intercept = function (handler) {\n return registerInterceptor(this, handler);\n };\n return ObservableMap;\n}());\ndeclareIterator(ObservableMap.prototype, function () {\n return this.entries();\n});\nfunction map(initialValues) {\n deprecated(\"`mobx.map` is deprecated, use `new ObservableMap` or `mobx.observable.map` instead\");\n return observable.map(initialValues);\n}\n/* 'var' fixes small-build issue */\nvar isObservableMap = createInstanceofPredicate(\"ObservableMap\", ObservableMap);\n\nvar EMPTY_ARRAY = [];\nObject.freeze(EMPTY_ARRAY);\nfunction getGlobal() {\n return typeof window !== \"undefined\" ? window : global;\n}\nfunction getNextId() {\n return ++globalState.mobxGuid;\n}\nfunction fail(message, thing) {\n invariant(false, message, thing);\n throw \"X\"; // unreachable\n}\nfunction invariant(check, message, thing) {\n if (!check)\n throw new Error(\"[mobx] Invariant failed: \" + message + (thing ? \" in '\" + thing + \"'\" : \"\"));\n}\n/**\n * Prints a deprecation message, but only one time.\n * Returns false if the deprecated message was already printed before\n */\nvar deprecatedMessages = [];\nfunction deprecated(msg) {\n if (deprecatedMessages.indexOf(msg) !== -1)\n return false;\n deprecatedMessages.push(msg);\n console.error(\"[mobx] Deprecated: \" + msg);\n return true;\n}\n/**\n * Makes sure that the provided function is invoked at most once.\n */\nfunction once(func) {\n var invoked = false;\n return function () {\n if (invoked)\n return;\n invoked = true;\n return func.apply(this, arguments);\n };\n}\nvar noop = function () { };\nfunction unique(list) {\n var res = [];\n list.forEach(function (item) {\n if (res.indexOf(item) === -1)\n res.push(item);\n });\n return res;\n}\nfunction joinStrings(things, limit, separator) {\n if (limit === void 0) { limit = 100; }\n if (separator === void 0) { separator = \" - \"; }\n if (!things)\n return \"\";\n var sliced = things.slice(0, limit);\n return \"\" + sliced.join(separator) + (things.length > limit\n ? \" (... and \" + (things.length - limit) + \"more)\"\n : \"\");\n}\nfunction isObject(value) {\n return value !== null && typeof value === \"object\";\n}\nfunction isPlainObject(value) {\n if (value === null || typeof value !== \"object\")\n return false;\n var proto = Object.getPrototypeOf(value);\n return proto === Object.prototype || proto === null;\n}\nfunction objectAssign() {\n var res = arguments[0];\n for (var i = 1, l = arguments.length; i < l; i++) {\n var source = arguments[i];\n for (var key in source)\n if (hasOwnProperty(source, key)) {\n res[key] = source[key];\n }\n }\n return res;\n}\nvar prototypeHasOwnProperty = Object.prototype.hasOwnProperty;\nfunction hasOwnProperty(object, propName) {\n return prototypeHasOwnProperty.call(object, propName);\n}\nfunction makeNonEnumerable(object, propNames) {\n for (var i = 0; i < propNames.length; i++) {\n addHiddenProp(object, propNames[i], object[propNames[i]]);\n }\n}\nfunction addHiddenProp(object, propName, value) {\n Object.defineProperty(object, propName, {\n enumerable: false,\n writable: true,\n configurable: true,\n value: value\n });\n}\nfunction addHiddenFinalProp(object, propName, value) {\n Object.defineProperty(object, propName, {\n enumerable: false,\n writable: false,\n configurable: true,\n value: value\n });\n}\nfunction isPropertyConfigurable(object, prop) {\n var descriptor = Object.getOwnPropertyDescriptor(object, prop);\n return !descriptor || (descriptor.configurable !== false && descriptor.writable !== false);\n}\nfunction assertPropertyConfigurable(object, prop) {\n invariant(isPropertyConfigurable(object, prop), \"Cannot make property '\" + prop + \"' observable, it is not configurable and writable in the target object\");\n}\nfunction createInstanceofPredicate(name, clazz) {\n var propName = \"isMobX\" + name;\n clazz.prototype[propName] = true;\n return function (x) {\n return isObject(x) && x[propName] === true;\n };\n}\nfunction areBothNaN(a, b) {\n return typeof a === \"number\" && typeof b === \"number\" && isNaN(a) && isNaN(b);\n}\n/**\n * Returns whether the argument is an array, disregarding observability.\n */\nfunction isArrayLike(x) {\n return Array.isArray(x) || isObservableArray(x);\n}\nfunction isES6Map(thing) {\n if (getGlobal().Map !== undefined && thing instanceof getGlobal().Map)\n return true;\n return false;\n}\nfunction getMapLikeKeys(map$$1) {\n if (isPlainObject(map$$1))\n return Object.keys(map$$1);\n if (Array.isArray(map$$1))\n return map$$1.map(function (_a) {\n var key = _a[0];\n return key;\n });\n if (isES6Map(map$$1))\n return Array.from(map$$1.keys());\n if (isObservableMap(map$$1))\n return map$$1.keys();\n return fail(\"Cannot get keys from \" + map$$1);\n}\nfunction iteratorToArray(it) {\n var res = [];\n while (true) {\n var r = it.next();\n if (r.done)\n break;\n res.push(r.value);\n }\n return res;\n}\nfunction primitiveSymbol() {\n return (typeof Symbol === \"function\" && Symbol.toPrimitive) || \"@@toPrimitive\";\n}\nfunction toPrimitive(value) {\n return value === null ? null : typeof value === \"object\" ? \"\" + value : value;\n}\n\n/**\n * These values will persist if global state is reset\n */\nvar persistentKeys = [\"mobxGuid\", \"resetId\", \"spyListeners\", \"strictMode\", \"runId\"];\nvar MobXGlobals = /** @class */ (function () {\n function MobXGlobals() {\n /**\n * MobXGlobals version.\n * MobX compatiblity with other versions loaded in memory as long as this version matches.\n * It indicates that the global state still stores similar information\n */\n this.version = 5;\n /**\n * Currently running derivation\n */\n this.trackingDerivation = null;\n /**\n * Are we running a computation currently? (not a reaction)\n */\n this.computationDepth = 0;\n /**\n * Each time a derivation is tracked, it is assigned a unique run-id\n */\n this.runId = 0;\n /**\n * 'guid' for general purpose. Will be persisted amongst resets.\n */\n this.mobxGuid = 0;\n /**\n * Are we in a batch block? (and how many of them)\n */\n this.inBatch = 0;\n /**\n * Observables that don't have observers anymore, and are about to be\n * suspended, unless somebody else accesses it in the same batch\n *\n * @type {IObservable[]}\n */\n this.pendingUnobservations = [];\n /**\n * List of scheduled, not yet executed, reactions.\n */\n this.pendingReactions = [];\n /**\n * Are we currently processing reactions?\n */\n this.isRunningReactions = false;\n /**\n * Is it allowed to change observables at this point?\n * In general, MobX doesn't allow that when running computations and React.render.\n * To ensure that those functions stay pure.\n */\n this.allowStateChanges = true;\n /**\n * If strict mode is enabled, state changes are by default not allowed\n */\n this.strictMode = false;\n /**\n * Used by createTransformer to detect that the global state has been reset.\n */\n this.resetId = 0;\n /**\n * Spy callbacks\n */\n this.spyListeners = [];\n /**\n * Globally attached error handlers that react specifically to errors in reactions\n */\n this.globalReactionErrorHandlers = [];\n }\n return MobXGlobals;\n}());\nvar globalState = new MobXGlobals();\nvar shareGlobalStateCalled = false;\nvar runInIsolationCalled = false;\nvar warnedAboutMultipleInstances = false;\n{\n var global_1 = getGlobal();\n if (!global_1.__mobxInstanceCount) {\n global_1.__mobxInstanceCount = 1;\n }\n else {\n global_1.__mobxInstanceCount++;\n setTimeout(function () {\n if (!shareGlobalStateCalled && !runInIsolationCalled && !warnedAboutMultipleInstances) {\n warnedAboutMultipleInstances = true;\n console.warn(\"[mobx] Warning: there are multiple mobx instances active. This might lead to unexpected results. See https://github.com/mobxjs/mobx/issues/1082 for details.\");\n }\n }, 1);\n }\n}\nfunction isolateGlobalState() {\n runInIsolationCalled = true;\n getGlobal().__mobxInstanceCount--;\n}\nfunction shareGlobalState() {\n // TODO: remove in 4.0; just use peer dependencies instead.\n deprecated(\"Using `shareGlobalState` is not recommended, use peer dependencies instead. See https://github.com/mobxjs/mobx/issues/1082 for details.\");\n shareGlobalStateCalled = true;\n var global = getGlobal();\n var ownState = globalState;\n /**\n * Backward compatibility check\n */\n if (global.__mobservableTrackingStack || global.__mobservableViewStack)\n throw new Error(\"[mobx] An incompatible version of mobservable is already loaded.\");\n if (global.__mobxGlobal && global.__mobxGlobal.version !== ownState.version)\n throw new Error(\"[mobx] An incompatible version of mobx is already loaded.\");\n if (global.__mobxGlobal)\n globalState = global.__mobxGlobal;\n else\n global.__mobxGlobal = ownState;\n}\nfunction getGlobalState() {\n return globalState;\n}\n\n/**\n * For testing purposes only; this will break the internal state of existing observables,\n * but can be used to get back at a stable state after throwing errors\n */\nfunction resetGlobalState() {\n globalState.resetId++;\n var defaultGlobals = new MobXGlobals();\n for (var key in defaultGlobals)\n if (persistentKeys.indexOf(key) === -1)\n globalState[key] = defaultGlobals[key];\n globalState.allowStateChanges = !globalState.strictMode;\n}\n\nfunction getAtom(thing, property) {\n if (typeof thing === \"object\" && thing !== null) {\n if (isObservableArray(thing)) {\n invariant(property === undefined, getMessage(\"m036\"));\n return thing.$mobx.atom;\n }\n if (isObservableMap(thing)) {\n var anyThing = thing;\n if (property === undefined)\n return getAtom(anyThing._keys);\n var observable = anyThing._data[property] || anyThing._hasMap[property];\n invariant(!!observable, \"the entry '\" + property + \"' does not exist in the observable map '\" + getDebugName(thing) + \"'\");\n return observable;\n }\n // Initializers run lazily when transpiling to babel, so make sure they are run...\n runLazyInitializers(thing);\n if (property && !thing.$mobx)\n thing[property]; // See #1072 // TODO: remove in 4.0\n if (isObservableObject(thing)) {\n if (!property)\n return fail(\"please specify a property\");\n var observable = thing.$mobx.values[property];\n invariant(!!observable, \"no observable property '\" + property + \"' found on the observable object '\" + getDebugName(thing) + \"'\");\n return observable;\n }\n if (isAtom(thing) || isComputedValue(thing) || isReaction(thing)) {\n return thing;\n }\n }\n else if (typeof thing === \"function\") {\n if (isReaction(thing.$mobx)) {\n // disposer function\n return thing.$mobx;\n }\n }\n return fail(\"Cannot obtain atom from \" + thing);\n}\nfunction getAdministration(thing, property) {\n invariant(thing, \"Expecting some object\");\n if (property !== undefined)\n return getAdministration(getAtom(thing, property));\n if (isAtom(thing) || isComputedValue(thing) || isReaction(thing))\n return thing;\n if (isObservableMap(thing))\n return thing;\n // Initializers run lazily when transpiling to babel, so make sure they are run...\n runLazyInitializers(thing);\n if (thing.$mobx)\n return thing.$mobx;\n invariant(false, \"Cannot obtain administration from \" + thing);\n}\nfunction getDebugName(thing, property) {\n var named;\n if (property !== undefined)\n named = getAtom(thing, property);\n else if (isObservableObject(thing) || isObservableMap(thing))\n named = getAdministration(thing);\n else\n named = getAtom(thing); // valid for arrays as well\n return named.name;\n}\n\nfunction getDependencyTree(thing, property) {\n return nodeToDependencyTree(getAtom(thing, property));\n}\nfunction nodeToDependencyTree(node) {\n var result = {\n name: node.name\n };\n if (node.observing && node.observing.length > 0)\n result.dependencies = unique(node.observing).map(nodeToDependencyTree);\n return result;\n}\nfunction getObserverTree(thing, property) {\n return nodeToObserverTree(getAtom(thing, property));\n}\nfunction nodeToObserverTree(node) {\n var result = {\n name: node.name\n };\n if (hasObservers(node))\n result.observers = getObservers(node).map(nodeToObserverTree);\n return result;\n}\n\nfunction hasObservers(observable) {\n return observable.observers && observable.observers.length > 0;\n}\nfunction getObservers(observable) {\n return observable.observers;\n}\nfunction addObserver(observable, node) {\n // invariant(node.dependenciesState !== -1, \"INTERNAL ERROR, can add only dependenciesState !== -1\");\n // invariant(observable._observers.indexOf(node) === -1, \"INTERNAL ERROR add already added node\");\n // invariantObservers(observable);\n var l = observable.observers.length;\n if (l) {\n // because object assignment is relatively expensive, let's not store data about index 0.\n observable.observersIndexes[node.__mapid] = l;\n }\n observable.observers[l] = node;\n if (observable.lowestObserverState > node.dependenciesState)\n observable.lowestObserverState = node.dependenciesState;\n // invariantObservers(observable);\n // invariant(observable._observers.indexOf(node) !== -1, \"INTERNAL ERROR didn't add node\");\n}\nfunction removeObserver(observable, node) {\n // invariant(globalState.inBatch > 0, \"INTERNAL ERROR, remove should be called only inside batch\");\n // invariant(observable._observers.indexOf(node) !== -1, \"INTERNAL ERROR remove already removed node\");\n // invariantObservers(observable);\n if (observable.observers.length === 1) {\n // deleting last observer\n observable.observers.length = 0;\n queueForUnobservation(observable);\n }\n else {\n // deleting from _observersIndexes is straight forward, to delete from _observers, let's swap `node` with last element\n var list = observable.observers;\n var map = observable.observersIndexes;\n var filler = list.pop(); // get last element, which should fill the place of `node`, so the array doesn't have holes\n if (filler !== node) {\n // otherwise node was the last element, which already got removed from array\n var index = map[node.__mapid] || 0; // getting index of `node`. this is the only place we actually use map.\n if (index) {\n // map store all indexes but 0, see comment in `addObserver`\n map[filler.__mapid] = index;\n }\n else {\n delete map[filler.__mapid];\n }\n list[index] = filler;\n }\n delete map[node.__mapid];\n }\n // invariantObservers(observable);\n // invariant(observable._observers.indexOf(node) === -1, \"INTERNAL ERROR remove already removed node2\");\n}\nfunction queueForUnobservation(observable) {\n if (!observable.isPendingUnobservation) {\n // invariant(globalState.inBatch > 0, \"INTERNAL ERROR, remove should be called only inside batch\");\n // invariant(observable._observers.length === 0, \"INTERNAL ERROR, should only queue for unobservation unobserved observables\");\n observable.isPendingUnobservation = true;\n globalState.pendingUnobservations.push(observable);\n }\n}\n/**\n * Batch starts a transaction, at least for purposes of memoizing ComputedValues when nothing else does.\n * During a batch `onBecomeUnobserved` will be called at most once per observable.\n * Avoids unnecessary recalculations.\n */\nfunction startBatch() {\n globalState.inBatch++;\n}\nfunction endBatch() {\n if (--globalState.inBatch === 0) {\n runReactions();\n // the batch is actually about to finish, all unobserving should happen here.\n var list = globalState.pendingUnobservations;\n for (var i = 0; i < list.length; i++) {\n var observable = list[i];\n observable.isPendingUnobservation = false;\n if (observable.observers.length === 0) {\n observable.onBecomeUnobserved();\n // NOTE: onBecomeUnobserved might push to `pendingUnobservations`\n }\n }\n globalState.pendingUnobservations = [];\n }\n}\nfunction reportObserved(observable) {\n var derivation = globalState.trackingDerivation;\n if (derivation !== null) {\n /**\n * Simple optimization, give each derivation run an unique id (runId)\n * Check if last time this observable was accessed the same runId is used\n * if this is the case, the relation is already known\n */\n if (derivation.runId !== observable.lastAccessedBy) {\n observable.lastAccessedBy = derivation.runId;\n derivation.newObserving[derivation.unboundDepsCount++] = observable;\n }\n }\n else if (observable.observers.length === 0) {\n queueForUnobservation(observable);\n }\n}\n/**\n * NOTE: current propagation mechanism will in case of self reruning autoruns behave unexpectedly\n * It will propagate changes to observers from previous run\n * It's hard or maybe impossible (with reasonable perf) to get it right with current approach\n * Hopefully self reruning autoruns aren't a feature people should depend on\n * Also most basic use cases should be ok\n */\n// Called by Atom when its value changes\nfunction propagateChanged(observable) {\n // invariantLOS(observable, \"changed start\");\n if (observable.lowestObserverState === IDerivationState.STALE)\n return;\n observable.lowestObserverState = IDerivationState.STALE;\n var observers = observable.observers;\n var i = observers.length;\n while (i--) {\n var d = observers[i];\n if (d.dependenciesState === IDerivationState.UP_TO_DATE) {\n if (d.isTracing !== TraceMode.NONE) {\n logTraceInfo(d, observable);\n }\n d.onBecomeStale();\n }\n d.dependenciesState = IDerivationState.STALE;\n }\n // invariantLOS(observable, \"changed end\");\n}\n// Called by ComputedValue when it recalculate and its value changed\nfunction propagateChangeConfirmed(observable) {\n // invariantLOS(observable, \"confirmed start\");\n if (observable.lowestObserverState === IDerivationState.STALE)\n return;\n observable.lowestObserverState = IDerivationState.STALE;\n var observers = observable.observers;\n var i = observers.length;\n while (i--) {\n var d = observers[i];\n if (d.dependenciesState === IDerivationState.POSSIBLY_STALE)\n d.dependenciesState = IDerivationState.STALE;\n else if (d.dependenciesState === IDerivationState.UP_TO_DATE // this happens during computing of `d`, just keep lowestObserverState up to date.\n )\n observable.lowestObserverState = IDerivationState.UP_TO_DATE;\n }\n // invariantLOS(observable, \"confirmed end\");\n}\n// Used by computed when its dependency changed, but we don't wan't to immediately recompute.\nfunction propagateMaybeChanged(observable) {\n // invariantLOS(observable, \"maybe start\");\n if (observable.lowestObserverState !== IDerivationState.UP_TO_DATE)\n return;\n observable.lowestObserverState = IDerivationState.POSSIBLY_STALE;\n var observers = observable.observers;\n var i = observers.length;\n while (i--) {\n var d = observers[i];\n if (d.dependenciesState === IDerivationState.UP_TO_DATE) {\n d.dependenciesState = IDerivationState.POSSIBLY_STALE;\n if (d.isTracing !== TraceMode.NONE) {\n logTraceInfo(d, observable);\n }\n d.onBecomeStale();\n }\n }\n // invariantLOS(observable, \"maybe end\");\n}\nfunction logTraceInfo(derivation, observable) {\n console.log(\"[mobx.trace] '\" + derivation.name + \"' is invalidated due to a change in: '\" + observable.name + \"'\");\n if (derivation.isTracing === TraceMode.BREAK) {\n var lines = [];\n printDepTree(getDependencyTree(derivation), lines, 1);\n // prettier-ignore\n new Function(\"debugger;\\n/*\\nTracing '\" + derivation.name + \"'\\n\\nYou are entering this break point because derivation '\" + derivation.name + \"' is being traced and '\" + observable.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\" + (derivation instanceof ComputedValue ? derivation.derivation.toString() : \"\") + \"\\n\\nThe dependencies for this derivation are:\\n\\n\" + lines.join(\"\\n\") + \"\\n*/\\n \")();\n }\n}\nfunction printDepTree(tree, lines, depth) {\n if (lines.length >= 1000) {\n lines.push(\"(and many more)\");\n return;\n }\n lines.push(\"\" + new Array(depth).join(\"\\t\") + tree.name); // MWE: not the fastest, but the easiest way :)\n if (tree.dependencies)\n tree.dependencies.forEach(function (child) { return printDepTree(child, lines, depth + 1); });\n}\n\nvar IDerivationState;\n(function (IDerivationState) {\n // before being run or (outside batch and not being observed)\n // at this point derivation is not holding any data about dependency tree\n IDerivationState[IDerivationState[\"NOT_TRACKING\"] = -1] = \"NOT_TRACKING\";\n // no shallow dependency changed since last computation\n // won't recalculate derivation\n // this is what makes mobx fast\n IDerivationState[IDerivationState[\"UP_TO_DATE\"] = 0] = \"UP_TO_DATE\";\n // some deep dependency changed, but don't know if shallow dependency changed\n // will require to check first if UP_TO_DATE or POSSIBLY_STALE\n // currently only ComputedValue will propagate POSSIBLY_STALE\n //\n // having this state is second big optimization:\n // don't have to recompute on every dependency change, but only when it's needed\n IDerivationState[IDerivationState[\"POSSIBLY_STALE\"] = 1] = \"POSSIBLY_STALE\";\n // A shallow dependency has changed since last computation and the derivation\n // will need to recompute when it's needed next.\n IDerivationState[IDerivationState[\"STALE\"] = 2] = \"STALE\";\n})(IDerivationState || (IDerivationState = {}));\nvar TraceMode;\n(function (TraceMode) {\n TraceMode[TraceMode[\"NONE\"] = 0] = \"NONE\";\n TraceMode[TraceMode[\"LOG\"] = 1] = \"LOG\";\n TraceMode[TraceMode[\"BREAK\"] = 2] = \"BREAK\";\n})(TraceMode || (TraceMode = {}));\nvar CaughtException = /** @class */ (function () {\n function CaughtException(cause) {\n this.cause = cause;\n // Empty\n }\n return CaughtException;\n}());\nfunction isCaughtException(e) {\n return e instanceof CaughtException;\n}\n/**\n * Finds out whether any dependency of the derivation has actually changed.\n * If dependenciesState is 1 then it will recalculate dependencies,\n * if any dependency changed it will propagate it by changing dependenciesState to 2.\n *\n * By iterating over the dependencies in the same order that they were reported and\n * stopping on the first change, all the recalculations are only called for ComputedValues\n * that will be tracked by derivation. That is because we assume that if the first x\n * dependencies of the derivation doesn't change then the derivation should run the same way\n * up until accessing x-th dependency.\n */\nfunction shouldCompute(derivation) {\n switch (derivation.dependenciesState) {\n case IDerivationState.UP_TO_DATE:\n return false;\n case IDerivationState.NOT_TRACKING:\n case IDerivationState.STALE:\n return true;\n case IDerivationState.POSSIBLY_STALE: {\n var prevUntracked = untrackedStart(); // no need for those computeds to be reported, they will be picked up in trackDerivedFunction.\n var obs = derivation.observing, l = obs.length;\n for (var i = 0; i < l; i++) {\n var obj = obs[i];\n if (isComputedValue(obj)) {\n try {\n obj.get();\n }\n catch (e) {\n // we are not interested in the value *or* exception at this moment, but if there is one, notify all\n untrackedEnd(prevUntracked);\n return true;\n }\n // if ComputedValue `obj` actually changed it will be computed and propagated to its observers.\n // and `derivation` is an observer of `obj`\n if (derivation.dependenciesState === IDerivationState.STALE) {\n untrackedEnd(prevUntracked);\n return true;\n }\n }\n }\n changeDependenciesStateTo0(derivation);\n untrackedEnd(prevUntracked);\n return false;\n }\n }\n}\nfunction isComputingDerivation() {\n return globalState.trackingDerivation !== null; // filter out actions inside computations\n}\nfunction checkIfStateModificationsAreAllowed(atom) {\n var hasObservers$$1 = atom.observers.length > 0;\n // Should never be possible to change an observed observable from inside computed, see #798\n if (globalState.computationDepth > 0 && hasObservers$$1)\n fail(getMessage(\"m031\") + atom.name);\n // Should not be possible to change observed state outside strict mode, except during initialization, see #563\n if (!globalState.allowStateChanges && hasObservers$$1)\n fail(getMessage(globalState.strictMode ? \"m030a\" : \"m030b\") + atom.name);\n}\n/**\n * Executes the provided function `f` and tracks which observables are being accessed.\n * The tracking information is stored on the `derivation` object and the derivation is registered\n * as observer of any of the accessed observables.\n */\nfunction trackDerivedFunction(derivation, f, context) {\n // pre allocate array allocation + room for variation in deps\n // array will be trimmed by bindDependencies\n changeDependenciesStateTo0(derivation);\n derivation.newObserving = new Array(derivation.observing.length + 100);\n derivation.unboundDepsCount = 0;\n derivation.runId = ++globalState.runId;\n var prevTracking = globalState.trackingDerivation;\n globalState.trackingDerivation = derivation;\n var result;\n try {\n result = f.call(context);\n }\n catch (e) {\n result = new CaughtException(e);\n }\n globalState.trackingDerivation = prevTracking;\n bindDependencies(derivation);\n return result;\n}\n/**\n * diffs newObserving with observing.\n * update observing to be newObserving with unique observables\n * notify observers that become observed/unobserved\n */\nfunction bindDependencies(derivation) {\n // invariant(derivation.dependenciesState !== IDerivationState.NOT_TRACKING, \"INTERNAL ERROR bindDependencies expects derivation.dependenciesState !== -1\");\n var prevObserving = derivation.observing;\n var observing = (derivation.observing = derivation.newObserving);\n var lowestNewObservingDerivationState = IDerivationState.UP_TO_DATE;\n // Go through all new observables and check diffValue: (this list can contain duplicates):\n // 0: first occurrence, change to 1 and keep it\n // 1: extra occurrence, drop it\n var i0 = 0, l = derivation.unboundDepsCount;\n for (var i = 0; i < l; i++) {\n var dep = observing[i];\n if (dep.diffValue === 0) {\n dep.diffValue = 1;\n if (i0 !== i)\n observing[i0] = dep;\n i0++;\n }\n // Upcast is 'safe' here, because if dep is IObservable, `dependenciesState` will be undefined,\n // not hitting the condition\n if (dep.dependenciesState > lowestNewObservingDerivationState) {\n lowestNewObservingDerivationState = dep.dependenciesState;\n }\n }\n observing.length = i0;\n derivation.newObserving = null; // newObserving shouldn't be needed outside tracking (statement moved down to work around FF bug, see #614)\n // Go through all old observables and check diffValue: (it is unique after last bindDependencies)\n // 0: it's not in new observables, unobserve it\n // 1: it keeps being observed, don't want to notify it. change to 0\n l = prevObserving.length;\n while (l--) {\n var dep = prevObserving[l];\n if (dep.diffValue === 0) {\n removeObserver(dep, derivation);\n }\n dep.diffValue = 0;\n }\n // Go through all new observables and check diffValue: (now it should be unique)\n // 0: it was set to 0 in last loop. don't need to do anything.\n // 1: it wasn't observed, let's observe it. set back to 0\n while (i0--) {\n var dep = observing[i0];\n if (dep.diffValue === 1) {\n dep.diffValue = 0;\n addObserver(dep, derivation);\n }\n }\n // Some new observed derivations may become stale during this derivation computation\n // so they have had no chance to propagate staleness (#916)\n if (lowestNewObservingDerivationState !== IDerivationState.UP_TO_DATE) {\n derivation.dependenciesState = lowestNewObservingDerivationState;\n derivation.onBecomeStale();\n }\n}\nfunction clearObserving(derivation) {\n // invariant(globalState.inBatch > 0, \"INTERNAL ERROR clearObserving should be called only inside batch\");\n var obs = derivation.observing;\n derivation.observing = [];\n var i = obs.length;\n while (i--)\n removeObserver(obs[i], derivation);\n derivation.dependenciesState = IDerivationState.NOT_TRACKING;\n}\nfunction untracked(action) {\n var prev = untrackedStart();\n var res = action();\n untrackedEnd(prev);\n return res;\n}\nfunction untrackedStart() {\n var prev = globalState.trackingDerivation;\n globalState.trackingDerivation = null;\n return prev;\n}\nfunction untrackedEnd(prev) {\n globalState.trackingDerivation = prev;\n}\n/**\n * needed to keep `lowestObserverState` correct. when changing from (2 or 1) to 0\n *\n */\nfunction changeDependenciesStateTo0(derivation) {\n if (derivation.dependenciesState === IDerivationState.UP_TO_DATE)\n return;\n derivation.dependenciesState = IDerivationState.UP_TO_DATE;\n var obs = derivation.observing;\n var i = obs.length;\n while (i--)\n obs[i].lowestObserverState = IDerivationState.UP_TO_DATE;\n}\n\nfunction log(msg) {\n console.log(msg);\n return msg;\n}\nfunction whyRun(thing, prop) {\n deprecated(\"`whyRun` is deprecated in favor of `trace`\");\n thing = getAtomFromArgs(arguments);\n if (!thing)\n return log(getMessage(\"m024\"));\n if (isComputedValue(thing) || isReaction(thing))\n return log(thing.whyRun());\n return fail(getMessage(\"m025\"));\n}\nfunction trace() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var enterBreakPoint = false;\n if (typeof args[args.length - 1] === \"boolean\")\n enterBreakPoint = args.pop();\n var derivation = getAtomFromArgs(args);\n if (!derivation) {\n return fail(\"'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly\");\n }\n if (derivation.isTracing === TraceMode.NONE) {\n console.log(\"[mobx.trace] '\" + derivation.name + \"' tracing enabled\");\n }\n derivation.isTracing = enterBreakPoint ? TraceMode.BREAK : TraceMode.LOG;\n}\nfunction getAtomFromArgs(args) {\n switch (args.length) {\n case 0:\n return globalState.trackingDerivation;\n case 1:\n return getAtom(args[0]);\n case 2:\n return getAtom(args[0], args[1]);\n }\n}\n\nvar Reaction = /** @class */ (function () {\n function Reaction(name, onInvalidate) {\n if (name === void 0) { name = \"Reaction@\" + getNextId(); }\n this.name = name;\n this.onInvalidate = onInvalidate;\n this.observing = []; // nodes we are looking at. Our value depends on these nodes\n this.newObserving = [];\n this.dependenciesState = IDerivationState.NOT_TRACKING;\n this.diffValue = 0;\n this.runId = 0;\n this.unboundDepsCount = 0;\n this.__mapid = \"#\" + getNextId();\n this.isDisposed = false;\n this._isScheduled = false;\n this._isTrackPending = false;\n this._isRunning = false;\n this.isTracing = TraceMode.NONE;\n }\n Reaction.prototype.onBecomeStale = function () {\n this.schedule();\n };\n Reaction.prototype.schedule = function () {\n if (!this._isScheduled) {\n this._isScheduled = true;\n globalState.pendingReactions.push(this);\n runReactions();\n }\n };\n Reaction.prototype.isScheduled = function () {\n return this._isScheduled;\n };\n /**\n * internal, use schedule() if you intend to kick off a reaction\n */\n Reaction.prototype.runReaction = function () {\n if (!this.isDisposed) {\n startBatch();\n this._isScheduled = false;\n if (shouldCompute(this)) {\n this._isTrackPending = true;\n this.onInvalidate();\n if (this._isTrackPending && isSpyEnabled()) {\n // onInvalidate didn't trigger track right away..\n spyReport({\n object: this,\n type: \"scheduled-reaction\"\n });\n }\n }\n endBatch();\n }\n };\n Reaction.prototype.track = function (fn) {\n startBatch();\n var notify = isSpyEnabled();\n var startTime;\n if (notify) {\n startTime = Date.now();\n spyReportStart({\n object: this,\n type: \"reaction\",\n fn: fn\n });\n }\n this._isRunning = true;\n var result = trackDerivedFunction(this, fn, undefined);\n this._isRunning = false;\n this._isTrackPending = false;\n if (this.isDisposed) {\n // disposed during last run. Clean up everything that was bound after the dispose call.\n clearObserving(this);\n }\n if (isCaughtException(result))\n this.reportExceptionInDerivation(result.cause);\n if (notify) {\n spyReportEnd({\n time: Date.now() - startTime\n });\n }\n endBatch();\n };\n Reaction.prototype.reportExceptionInDerivation = function (error) {\n var _this = this;\n if (this.errorHandler) {\n this.errorHandler(error, this);\n return;\n }\n var message = \"[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '\" + this;\n var messageToUser = getMessage(\"m037\");\n console.error(message || messageToUser /* latter will not be true, make sure uglify doesn't remove */, error);\n /** If debugging brought you here, please, read the above message :-). Tnx! */\n if (isSpyEnabled()) {\n spyReport({\n type: \"error\",\n message: message,\n error: error,\n object: this\n });\n }\n globalState.globalReactionErrorHandlers.forEach(function (f) { return f(error, _this); });\n };\n Reaction.prototype.dispose = function () {\n if (!this.isDisposed) {\n this.isDisposed = true;\n if (!this._isRunning) {\n // if disposed while running, clean up later. Maybe not optimal, but rare case\n startBatch();\n clearObserving(this);\n endBatch();\n }\n }\n };\n Reaction.prototype.getDisposer = function () {\n var r = this.dispose.bind(this);\n r.$mobx = this;\n r.onError = registerErrorHandler;\n return r;\n };\n Reaction.prototype.toString = function () {\n return \"Reaction[\" + this.name + \"]\";\n };\n Reaction.prototype.whyRun = function () {\n var observing = unique(this._isRunning ? this.newObserving : this.observing).map(function (dep) { return dep.name; });\n return \"\\nWhyRun? reaction '\" + this.name + \"':\\n * Status: [\" + (this.isDisposed\n ? \"stopped\"\n : this._isRunning ? \"running\" : this.isScheduled() ? \"scheduled\" : \"idle\") + \"]\\n * This reaction will re-run if any of the following observables changes:\\n \" + joinStrings(observing) + \"\\n \" + (this._isRunning\n ? \" (... or any observable accessed during the remainder of the current run)\"\n : \"\") + \"\\n\\t\" + getMessage(\"m038\") + \"\\n\";\n };\n Reaction.prototype.trace = function (enterBreakPoint) {\n if (enterBreakPoint === void 0) { enterBreakPoint = false; }\n trace(this, enterBreakPoint);\n };\n return Reaction;\n}());\nfunction registerErrorHandler(handler) {\n invariant(this && this.$mobx && isReaction(this.$mobx), \"Invalid `this`\");\n invariant(!this.$mobx.errorHandler, \"Only one onErrorHandler can be registered\");\n this.$mobx.errorHandler = handler;\n}\nfunction onReactionError(handler) {\n globalState.globalReactionErrorHandlers.push(handler);\n return function () {\n var idx = globalState.globalReactionErrorHandlers.indexOf(handler);\n if (idx >= 0)\n globalState.globalReactionErrorHandlers.splice(idx, 1);\n };\n}\n/**\n * Magic number alert!\n * Defines within how many times a reaction is allowed to re-trigger itself\n * until it is assumed that this is gonna be a never ending loop...\n */\nvar MAX_REACTION_ITERATIONS = 100;\nvar reactionScheduler = function (f) { return f(); };\nfunction runReactions() {\n // Trampolining, if runReactions are already running, new reactions will be picked up\n if (globalState.inBatch > 0 || globalState.isRunningReactions)\n return;\n reactionScheduler(runReactionsHelper);\n}\nfunction runReactionsHelper() {\n globalState.isRunningReactions = true;\n var allReactions = globalState.pendingReactions;\n var iterations = 0;\n // While running reactions, new reactions might be triggered.\n // Hence we work with two variables and check whether\n // we converge to no remaining reactions after a while.\n while (allReactions.length > 0) {\n if (++iterations === MAX_REACTION_ITERATIONS) {\n console.error(\"Reaction doesn't converge to a stable state after \" + MAX_REACTION_ITERATIONS + \" iterations.\" +\n (\" Probably there is a cycle in the reactive function: \" + allReactions[0]));\n allReactions.splice(0); // clear reactions\n }\n var remainingReactions = allReactions.splice(0);\n for (var i = 0, l = remainingReactions.length; i < l; i++)\n remainingReactions[i].runReaction();\n }\n globalState.isRunningReactions = false;\n}\nvar isReaction = createInstanceofPredicate(\"Reaction\", Reaction);\nfunction setReactionScheduler(fn) {\n var baseScheduler = reactionScheduler;\n reactionScheduler = function (f) { return fn(function () { return baseScheduler(f); }); };\n}\n\nfunction asReference(value) {\n deprecated(\"asReference is deprecated, use observable.ref instead\");\n return observable.ref(value);\n}\nfunction asStructure(value) {\n deprecated(\"asStructure is deprecated. Use observable.struct, computed.struct or reaction options instead.\");\n return observable.struct(value);\n}\nfunction asFlat(value) {\n deprecated(\"asFlat is deprecated, use observable.shallow instead\");\n return observable.shallow(value);\n}\nfunction asMap(data) {\n deprecated(\"asMap is deprecated, use observable.map or observable.shallowMap instead\");\n return observable.map(data || {});\n}\n\nfunction createComputedDecorator(equals) {\n return createClassPropertyDecorator(function (target, name, _, __, originalDescriptor) {\n invariant(typeof originalDescriptor !== \"undefined\", getMessage(\"m009\"));\n invariant(typeof originalDescriptor.get === \"function\", getMessage(\"m010\"));\n var adm = asObservableObject(target, \"\");\n defineComputedProperty(adm, name, originalDescriptor.get, originalDescriptor.set, equals, false);\n }, function (name) {\n var observable = this.$mobx.values[name];\n if (observable === undefined // See #505\n )\n return undefined;\n return observable.get();\n }, function (name, value) {\n this.$mobx.values[name].set(value);\n }, false, false);\n}\nvar computedDecorator = createComputedDecorator(comparer.default);\nvar computedStructDecorator = createComputedDecorator(comparer.structural);\n/**\n * Decorator for class properties: @computed get value() { return expr; }.\n * For legacy purposes also invokable as ES5 observable created: `computed(() => expr)`;\n */\nvar computed = function computed(arg1, arg2, arg3) {\n if (typeof arg2 === \"string\") {\n return computedDecorator.apply(null, arguments);\n }\n invariant(typeof arg1 === \"function\", getMessage(\"m011\"));\n invariant(arguments.length < 3, getMessage(\"m012\"));\n var opts = typeof arg2 === \"object\" ? arg2 : {};\n opts.setter = typeof arg2 === \"function\" ? arg2 : opts.setter;\n var equals = opts.equals\n ? opts.equals\n : opts.compareStructural || opts.struct ? comparer.structural : comparer.default;\n return new ComputedValue(arg1, opts.context, equals, opts.name || arg1.name || \"\", opts.setter);\n};\ncomputed.struct = computedStructDecorator;\ncomputed.equals = createComputedDecorator;\n\nfunction isComputed(value, property) {\n if (value === null || value === undefined)\n return false;\n if (property !== undefined) {\n if (isObservableObject(value) === false)\n return false;\n if (!value.$mobx.values[property])\n return false;\n var atom = getAtom(value, property);\n return isComputedValue(atom);\n }\n return isComputedValue(value);\n}\n\nfunction observe(thing, propOrCb, cbOrFire, fireImmediately) {\n if (typeof cbOrFire === \"function\")\n return observeObservableProperty(thing, propOrCb, cbOrFire, fireImmediately);\n else\n return observeObservable(thing, propOrCb, cbOrFire);\n}\nfunction observeObservable(thing, listener, fireImmediately) {\n return getAdministration(thing).observe(listener, fireImmediately);\n}\nfunction observeObservableProperty(thing, property, listener, fireImmediately) {\n return getAdministration(thing, property).observe(listener, fireImmediately);\n}\n\nfunction intercept(thing, propOrHandler, handler) {\n if (typeof handler === \"function\")\n return interceptProperty(thing, propOrHandler, handler);\n else\n return interceptInterceptable(thing, propOrHandler);\n}\nfunction interceptInterceptable(thing, handler) {\n return getAdministration(thing).intercept(handler);\n}\nfunction interceptProperty(thing, property, handler) {\n return getAdministration(thing, property).intercept(handler);\n}\n\n/**\n * expr can be used to create temporarily views inside views.\n * This can be improved to improve performance if a value changes often, but usually doesn't affect the outcome of an expression.\n *\n * In the following example the expression prevents that a component is rerender _each time_ the selection changes;\n * instead it will only rerenders when the current todo is (de)selected.\n *\n * reactiveComponent((props) => {\n * const todo = props.todo;\n * const isSelected = mobx.expr(() => props.viewState.selection === todo);\n * return
{todo.title}
\n * });\n *\n */\nfunction expr(expr, scope) {\n if (!isComputingDerivation())\n console.warn(getMessage(\"m013\"));\n // optimization: would be more efficient if the expr itself wouldn't be evaluated first on the next change, but just a 'changed' signal would be fired\n return computed(expr, { context: scope }).get();\n}\n\nfunction toJS(source, detectCycles, __alreadySeen) {\n if (detectCycles === void 0) { detectCycles = true; }\n if (__alreadySeen === void 0) { __alreadySeen = []; }\n // optimization: using ES6 map would be more efficient!\n // optimization: lift this function outside toJS, this makes recursion expensive\n function cache(value) {\n if (detectCycles)\n __alreadySeen.push([source, value]);\n return value;\n }\n if (isObservable(source)) {\n if (detectCycles && __alreadySeen === null)\n __alreadySeen = [];\n if (detectCycles && source !== null && typeof source === \"object\") {\n for (var i = 0, l = __alreadySeen.length; i < l; i++)\n if (__alreadySeen[i][0] === source)\n return __alreadySeen[i][1];\n }\n if (isObservableArray(source)) {\n var res = cache([]);\n var toAdd = source.map(function (value) { return toJS(value, detectCycles, __alreadySeen); });\n res.length = toAdd.length;\n for (var i = 0, l = toAdd.length; i < l; i++)\n res[i] = toAdd[i];\n return res;\n }\n if (isObservableObject(source)) {\n var res = cache({});\n for (var key in source)\n res[key] = toJS(source[key], detectCycles, __alreadySeen);\n return res;\n }\n if (isObservableMap(source)) {\n var res_1 = cache({});\n source.forEach(function (value, key) { return (res_1[key] = toJS(value, detectCycles, __alreadySeen)); });\n return res_1;\n }\n if (isObservableValue(source))\n return toJS(source.get(), detectCycles, __alreadySeen);\n }\n return source;\n}\n\nfunction createTransformer(transformer, onCleanup) {\n invariant(typeof transformer === \"function\" && transformer.length < 2, \"createTransformer expects a function that accepts one argument\");\n // Memoizes: object id -> reactive view that applies transformer to the object\n var objectCache = {};\n // If the resetId changes, we will clear the object cache, see #163\n // This construction is used to avoid leaking refs to the objectCache directly\n var resetId = globalState.resetId;\n // Local transformer class specifically for this transformer\n var Transformer = /** @class */ (function (_super) {\n __extends(Transformer, _super);\n function Transformer(sourceIdentifier, sourceObject) {\n var _this = _super.call(this, function () { return transformer(sourceObject); }, undefined, comparer.default, \"Transformer-\" + transformer.name + \"-\" + sourceIdentifier, undefined) || this;\n _this.sourceIdentifier = sourceIdentifier;\n _this.sourceObject = sourceObject;\n return _this;\n }\n Transformer.prototype.onBecomeUnobserved = function () {\n var lastValue = this.value;\n _super.prototype.onBecomeUnobserved.call(this);\n delete objectCache[this.sourceIdentifier];\n if (onCleanup)\n onCleanup(lastValue, this.sourceObject);\n };\n return Transformer;\n }(ComputedValue));\n return function (object) {\n if (resetId !== globalState.resetId) {\n objectCache = {};\n resetId = globalState.resetId;\n }\n var identifier = getMemoizationId(object);\n var reactiveTransformer = objectCache[identifier];\n if (reactiveTransformer)\n return reactiveTransformer.get();\n // Not in cache; create a reactive view\n reactiveTransformer = objectCache[identifier] = new Transformer(identifier, object);\n return reactiveTransformer.get();\n };\n}\nfunction getMemoizationId(object) {\n if (typeof object === \"string\" || typeof object === \"number\")\n return object;\n if (object === null || typeof object !== \"object\")\n throw new Error(\"[mobx] transform expected some kind of object or primitive value, got: \" + object);\n var tid = object.$transformId;\n if (tid === undefined) {\n tid = getNextId();\n addHiddenProp(object, \"$transformId\", tid);\n }\n return tid;\n}\n\nfunction interceptReads(thing, propOrHandler, handler) {\n var target;\n if (isObservableMap(thing) || isObservableArray(thing) || isObservableValue(thing)) {\n target = getAdministration(thing);\n }\n else if (isObservableObject(thing)) {\n if (typeof propOrHandler !== \"string\")\n return fail(\"InterceptReads can only be used with a specific property, not with an object in general\");\n target = getAdministration(thing, propOrHandler);\n }\n else {\n return fail(\"Expected observable map, object or array as first array\");\n }\n if (target.dehancer !== undefined)\n return fail(\"An intercept reader was already established\");\n target.dehancer = typeof propOrHandler === \"function\" ? propOrHandler : handler;\n return function () {\n target.dehancer = undefined;\n };\n}\n\n/**\n * (c) Michel Weststrate 2015 - 2016\n * MIT Licensed\n *\n * Welcome to the mobx sources! To get an global overview of how MobX internally works,\n * this is a good place to start:\n * https://medium.com/@mweststrate/becoming-fully-reactive-an-in-depth-explanation-of-mobservable-55995262a254#.xvbh6qd74\n *\n * Source folders:\n * ===============\n *\n * - api/ Most of the public static methods exposed by the module can be found here.\n * - core/ Implementation of the MobX algorithm; atoms, derivations, reactions, dependency trees, optimizations. Cool stuff can be found here.\n * - types/ All the magic that is need to have observable objects, arrays and values is in this folder. Including the modifiers like `asFlat`.\n * - utils/ Utility stuff.\n *\n */\nvar extras = {\n allowStateChanges: allowStateChanges,\n deepEqual: deepEqual,\n getAtom: getAtom,\n getDebugName: getDebugName,\n getDependencyTree: getDependencyTree,\n getAdministration: getAdministration,\n getGlobalState: getGlobalState,\n getObserverTree: getObserverTree,\n interceptReads: interceptReads,\n isComputingDerivation: isComputingDerivation,\n isSpyEnabled: isSpyEnabled,\n onReactionError: onReactionError,\n reserveArrayBuffer: reserveArrayBuffer,\n resetGlobalState: resetGlobalState,\n isolateGlobalState: isolateGlobalState,\n shareGlobalState: shareGlobalState,\n spyReport: spyReport,\n spyReportEnd: spyReportEnd,\n spyReportStart: spyReportStart,\n setReactionScheduler: setReactionScheduler\n};\nvar everything = {\n Reaction: Reaction,\n untracked: untracked,\n Atom: Atom,\n BaseAtom: BaseAtom,\n useStrict: useStrict,\n isStrictModeEnabled: isStrictModeEnabled,\n spy: spy,\n comparer: comparer,\n asReference: asReference,\n asFlat: asFlat,\n asStructure: asStructure,\n asMap: asMap,\n isModifierDescriptor: isModifierDescriptor,\n isObservableObject: isObservableObject,\n isBoxedObservable: isObservableValue,\n isObservableArray: isObservableArray,\n ObservableMap: ObservableMap,\n isObservableMap: isObservableMap,\n map: map,\n transaction: transaction,\n observable: observable,\n computed: computed,\n isObservable: isObservable,\n isComputed: isComputed,\n extendObservable: extendObservable,\n extendShallowObservable: extendShallowObservable,\n observe: observe,\n intercept: intercept,\n autorun: autorun,\n autorunAsync: autorunAsync,\n when: when,\n reaction: reaction,\n action: action,\n isAction: isAction,\n runInAction: runInAction,\n expr: expr,\n toJS: toJS,\n createTransformer: createTransformer,\n whyRun: whyRun,\n isArrayLike: isArrayLike,\n extras: extras\n};\nvar warnedAboutDefaultExport = false;\nvar _loop_1 = function (p) {\n var val = everything[p];\n Object.defineProperty(everything, p, {\n get: function () {\n if (!warnedAboutDefaultExport) {\n warnedAboutDefaultExport = true;\n console.warn(\"Using default export (`import mobx from 'mobx'`) is deprecated \" +\n \"and won’t work in mobx@4.0.0\\n\" +\n \"Use `import * as mobx from 'mobx'` instead\");\n }\n return val;\n }\n });\n};\nfor (var p in everything) {\n _loop_1(p);\n}\nif (typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__ === \"object\") {\n __MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({ spy: spy, extras: extras });\n}\n\nexport { extras, Reaction, untracked, IDerivationState, Atom, BaseAtom, useStrict, isStrictModeEnabled, spy, comparer, asReference, asFlat, asStructure, asMap, isModifierDescriptor, isObservableObject, isObservableValue as isBoxedObservable, isObservableArray, ObservableMap, isObservableMap, map, transaction, observable, computed, isObservable, isComputed, extendObservable, extendShallowObservable, observe, intercept, autorun, autorunAsync, when, reaction, action, isAction, runInAction, expr, toJS, createTransformer, whyRun, trace, isArrayLike };export default everything;\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/mobx/lib/mobx.module.js","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Provider = exports.inject = exports.connect = exports.useStaticRendering = exports.Observer = exports.observer = undefined;\n\nvar _observer = require('./observer');\n\nObject.defineProperty(exports, 'observer', {\n enumerable: true,\n get: function get() {\n return _observer.observer;\n }\n});\nObject.defineProperty(exports, 'Observer', {\n enumerable: true,\n get: function get() {\n return _observer.Observer;\n }\n});\nObject.defineProperty(exports, 'useStaticRendering', {\n enumerable: true,\n get: function get() {\n return _observer.useStaticRendering;\n }\n});\n\nvar _connect = require('./connect');\n\nObject.defineProperty(exports, 'connect', {\n enumerable: true,\n get: function get() {\n return _connect.connect;\n }\n});\n\nvar _inject = require('./inject');\n\nObject.defineProperty(exports, 'inject', {\n enumerable: true,\n get: function get() {\n return _inject.inject;\n }\n});\n\nvar _Provider = require('./Provider');\n\nObject.defineProperty(exports, 'Provider', {\n enumerable: true,\n get: function get() {\n return _Provider.Provider;\n }\n});\n\nvar _mobx = require('mobx');\n\nvar _preact = require('preact');\n\nif (!_preact.Component) {\n throw new Error('mobx-preact requires Preact to be available');\n}\nif (!_mobx.extras) {\n throw new Error('mobx-preact requires mobx to be available');\n}\n\n\n// WEBPACK FOOTER //\n// ../node_modules/mobx-preact/lib/index.js","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Observer = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nexports.useStaticRendering = useStaticRendering;\nexports.observer = observer;\n\nvar _mobx = require('mobx');\n\nvar _preact = require('preact');\n\nvar _utils = require('./utils/utils');\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar isUsingStaticRendering = false;\n\nvar logger = console; // eslint-disable-line no-console\n\nfunction useStaticRendering(useStaticRendering) {\n isUsingStaticRendering = useStaticRendering;\n}\n\n/**\n Workaround\n\n allowStateChanges from mobX must be patched so that props, state and args are passed to the render() function\n */\n\nfunction allowStateChangesStart(allowStateChanges) {\n var prev = _mobx.extras.getGlobalState().allowStateChanges;\n _mobx.extras.getGlobalState().allowStateChanges = allowStateChanges;\n return prev;\n}\nfunction allowStateChangesEnd(prev) {\n _mobx.extras.getGlobalState().allowStateChanges = prev;\n}\n\nfunction allowStateChanges(allowStateChanges, func, props, state, context) {\n var prev = allowStateChangesStart(allowStateChanges);\n var res = void 0;\n try {\n res = func(props, state, context);\n } finally {\n allowStateChangesEnd(prev);\n }\n return res;\n}\n\n/**\n * Utilities\n */\n\nfunction patch(target, funcName) {\n var runMixinFirst = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n var base = target[funcName];\n var mixinFunc = reactiveMixin[funcName];\n var f = !base ? mixinFunc : runMixinFirst === true ? function () {\n mixinFunc.apply(this, arguments);\n base.apply(this, arguments);\n } : function () {\n base.apply(this, arguments);\n mixinFunc.apply(this, arguments);\n };\n\n // MWE: ideally we freeze here to protect against accidental overwrites in component instances, see #195\n // ...but that breaks react-hot-loader, see #231...\n target[funcName] = f;\n}\n\nfunction isObjectShallowModified(prev, next) {\n if (null == prev || null == next || (typeof prev === 'undefined' ? 'undefined' : _typeof(prev)) !== 'object' || (typeof next === 'undefined' ? 'undefined' : _typeof(next)) !== 'object') {\n return prev !== next;\n }\n var keys = Object.keys(prev);\n if (keys.length !== Object.keys(next).length) {\n return true;\n }\n var key = void 0;\n for (var i = keys.length - 1; i >= 0, key = keys[i]; i--) {\n if (next[key] !== prev[key]) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * ReactiveMixin\n */\nvar reactiveMixin = {\n componentWillMount: function componentWillMount() {\n var _this = this;\n\n if (isUsingStaticRendering === true) {\n return;\n }\n // Generate friendly name for debugging\n var initialName = (0, _utils.makeDisplayName)(this);\n\n /**\n * If props are shallowly modified, react will render anyway,\n * so atom.reportChanged() should not result in yet another re-render\n */\n var skipRender = false;\n /**\n * forceUpdate will re-assign this.props. We don't want that to cause a loop,\n * so detect these changes\n */\n var isForcingUpdate = false;\n\n function makePropertyObservableReference(propName) {\n var valueHolder = this[propName];\n var atom = new _mobx.Atom('reactive ' + propName);\n Object.defineProperty(this, propName, {\n configurable: true,\n enumerable: true,\n get: function get() {\n atom.reportObserved();\n return valueHolder;\n },\n set: function set(v) {\n if (!isForcingUpdate && isObjectShallowModified(valueHolder, v)) {\n valueHolder = v;\n skipRender = true;\n atom.reportChanged();\n skipRender = false;\n } else {\n valueHolder = v;\n }\n }\n });\n }\n\n // make this.props an observable reference, see #124\n makePropertyObservableReference.call(this, 'props');\n // make state an observable reference\n makePropertyObservableReference.call(this, 'state');\n\n // wire up reactive render\n var baseRender = this.render.bind(this);\n var reaction = null;\n var isRenderingPending = false;\n\n var initialRender = function initialRender() {\n reaction = new _mobx.Reaction(initialName + '.render()', function () {\n if (!isRenderingPending) {\n // N.B. Getting here *before mounting* means that a component constructor has side effects (see the relevant test in misc.js)\n // This unidiomatic React usage but React will correctly warn about this so we continue as usual\n // See #85 / Pull #44\n isRenderingPending = true;\n if (typeof _this.componentWillReact === 'function') {\n _this.componentWillReact();\n } // TODO: wrap in action?\n if (_this.__$mobxIsUnmounted !== true) {\n // If we are unmounted at this point, componentWillReact() had a side effect causing the component to unmounted\n // TODO: remove this check? Then react will properly warn about the fact that this should not happen? See #73\n // However, people also claim this migth happen during unit tests..\n var hasError = true;\n try {\n isForcingUpdate = true;\n if (!skipRender) {\n _preact.Component.prototype.forceUpdate.call(_this);\n }\n hasError = false;\n } finally {\n isForcingUpdate = false;\n if (hasError) {\n reaction.dispose();\n }\n }\n }\n }\n });\n reaction.reactComponent = _this;\n reactiveRender.$mobx = reaction;\n _this.render = reactiveRender;\n return reactiveRender(_this.props, _this.state, _this.context);\n };\n\n var reactiveRender = function reactiveRender(props, state, context) {\n isRenderingPending = false;\n var exception = undefined;\n var rendering = undefined;\n reaction.track(function () {\n try {\n rendering = allowStateChanges(false, baseRender, props, state, context);\n } catch (e) {\n exception = e;\n }\n });\n if (exception) {\n throw exception;\n }\n return rendering;\n };\n\n this.render = initialRender;\n },\n\n componentWillUnmount: function componentWillUnmount() {\n if (isUsingStaticRendering === true) {\n return;\n }\n this.render.$mobx && this.render.$mobx.dispose();\n this.__$mobxIsUnmounted = true;\n },\n\n componentDidMount: function componentDidMount() {},\n\n componentDidUpdate: function componentDidUpdate() {},\n\n shouldComponentUpdate: function shouldComponentUpdate(nextProps, nextState) {\n if (isUsingStaticRendering) {\n logger.warn('[mobx-preact] 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.');\n }\n // update on any state changes (as is the default)\n if (this.state !== nextState) {\n return true;\n }\n // update if props are shallowly not equal, inspired by PureRenderMixin\n // we could return just 'false' here, and avoid the `skipRender` checks etc\n // however, it is nicer if lifecycle events are triggered like usually,\n // so we return true here if props are shallowly modified.\n return isObjectShallowModified(this.props, nextProps);\n }\n};\n\n/**\n * Observer function / decorator\n */\nfunction observer(componentClass) {\n if (arguments.length > 1) {\n logger.warn('Mobx observer: Using observer to inject stores is not supported. Use `@connect([\"store1\", \"store2\"]) ComponentClass instead or preferably, use `@inject(\"store1\", \"store2\") @observer ComponentClass` or `inject(\"store1\", \"store2\")(observer(componentClass))``');\n }\n\n if (componentClass.isMobxInjector === true) {\n logger.warn('Mobx observer: You are trying to use \\'observer\\' on a component that already has \\'inject\\'. Please apply \\'observer\\' before applying \\'inject\\'');\n }\n\n // Stateless function component:\n if ((0, _utils.isStateless)(componentClass)) {\n var _class, _temp;\n\n return observer((_temp = _class = function (_Component) {\n _inherits(_class, _Component);\n\n function _class() {\n _classCallCheck(this, _class);\n\n return _possibleConstructorReturn(this, (_class.__proto__ || Object.getPrototypeOf(_class)).apply(this, arguments));\n }\n\n _createClass(_class, [{\n key: 'render',\n value: function render() {\n return componentClass.call(this, this.props, this.context);\n }\n }]);\n\n return _class;\n }(_preact.Component), _class.displayName = (0, _utils.makeDisplayName)(componentClass), _temp));\n }\n\n if (!componentClass) {\n throw new Error('Please pass a valid component to \\'observer\\'');\n }\n\n var target = componentClass.prototype || componentClass;\n mixinLifecycleEvents(target);\n componentClass.isMobXReactObserver = true;\n return componentClass;\n}\n\nfunction mixinLifecycleEvents(target) {\n patch(target, 'componentWillMount', true);\n patch(target, 'componentDidMount');\n\n if (!target.shouldComponentUpdate) {\n target.shouldComponentUpdate = reactiveMixin.shouldComponentUpdate;\n }\n}\n\nvar Observer = exports.Observer = observer(function (_ref) {\n var children = _ref.children;\n return children[0]();\n});\n\nObserver.displayName = 'Observer';\n\n\n// WEBPACK FOOTER //\n// ../node_modules/mobx-preact/lib/observer.js","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.isStateless = isStateless;\nexports.makeDisplayName = makeDisplayName;\n\nvar _preact = require('preact');\n\nfunction isStateless(component) {\n // `function() {}` has prototype, but `() => {}` doesn't\n // `() => {}` via Babel has prototype too.\n return !(component.prototype && component.prototype.render) && !_preact.Component.isPrototypeOf(component);\n}\n\nfunction makeDisplayName(component) {\n var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n _ref$prefix = _ref.prefix,\n prefix = _ref$prefix === undefined ? '' : _ref$prefix,\n _ref$suffix = _ref.suffix,\n suffix = _ref$suffix === undefined ? '' : _ref$suffix;\n\n var displayName = component.displayName || component.name || component.constructor && component.constructor.name || '';\n return prefix + displayName + suffix;\n}\n\n\n// WEBPACK FOOTER //\n// ../node_modules/mobx-preact/lib/utils/utils.js","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nexports.inject = inject;\n\nvar _preact = require('preact');\n\nvar _hoistNonReactStatics = require('hoist-non-react-statics');\n\nvar _hoistNonReactStatics2 = _interopRequireDefault(_hoistNonReactStatics);\n\nvar _observer = require('./observer');\n\nvar _utils = require('./utils/utils');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar proxiedInjectorProps = {\n isMobxInjector: {\n value: true,\n writable: true,\n configurable: true,\n enumerable: true\n }\n};\n\n/**\n * Store Injection\n */\nfunction createStoreInjector(grabStoresFn, component, injectNames) {\n var _class, _temp;\n\n var prefix = 'inject-';\n var suffix = injectNames ? '-with-' + injectNames : '';\n var displayName = (0, _utils.makeDisplayName)(component, { prefix: prefix, suffix: suffix });\n\n var Injector = (_temp = _class = function (_Component) {\n _inherits(Injector, _Component);\n\n function Injector() {\n _classCallCheck(this, Injector);\n\n return _possibleConstructorReturn(this, (Injector.__proto__ || Object.getPrototypeOf(Injector)).apply(this, arguments));\n }\n\n _createClass(Injector, [{\n key: 'render',\n value: function render() {\n // Optimization: it might be more efficient to apply the mapper function *outside* the render method\n // (if the mapper is a function), that could avoid expensive(?) re-rendering of the injector component\n // See this test: 'using a custom injector is not too reactive' in inject.js\n var newProps = {};\n for (var key in this.props) {\n if (this.props.hasOwnProperty(key)) {\n newProps[key] = this.props[key];\n }\n }\n var additionalProps = grabStoresFn(this.context.mobxStores || {}, newProps, this.context) || {};\n for (var _key in additionalProps) {\n newProps[_key] = additionalProps[_key];\n }\n\n return (0, _preact.h)(component, newProps);\n }\n }]);\n\n return Injector;\n }(_preact.Component), _class.displayName = displayName, _temp);\n\n // Static fields from component should be visible on the generated Injector\n\n (0, _hoistNonReactStatics2.default)(Injector, component);\n\n Injector.wrappedComponent = component;\n Object.defineProperties(Injector, proxiedInjectorProps);\n\n return Injector;\n}\n\nfunction grabStoresByName(storeNames) {\n return function (baseStores, nextProps) {\n storeNames.forEach(function (storeName) {\n // prefer props over stores\n if (storeName in nextProps) {\n return;\n }\n if (!(storeName in baseStores)) {\n throw new Error('MobX injector: Store \\'' + storeName + '\\' is not available! Make sure it is provided by some Provider');\n }\n nextProps[storeName] = baseStores[storeName];\n });\n return nextProps;\n };\n}\n\n/**\n * higher order component that injects stores to a child.\n * takes either a varargs list of strings, which are stores read from the context,\n * or a function that manually maps the available stores from the context to props:\n * storesToProps(mobxStores, props, context) => newProps\n */\nfunction inject() /* fn(stores, nextProps) or ...storeNames */{\n var grabStoresFn = void 0;\n if (typeof arguments[0] === 'function') {\n grabStoresFn = arguments[0];\n return function (componentClass) {\n var injected = createStoreInjector(grabStoresFn, componentClass);\n injected.isMobxInjector = false; // suppress warning\n // mark the Injector as observer, to make it react to expressions in `grabStoresFn`,\n // see #111\n injected = (0, _observer.observer)(injected);\n injected.isMobxInjector = true; // restore warning\n return injected;\n };\n } else {\n var storeNames = [];\n for (var i = 0; i < arguments.length; i++) {\n storeNames[i] = arguments[i];\n }\n grabStoresFn = grabStoresByName(storeNames);\n return function (componentClass) {\n return createStoreInjector(grabStoresFn, componentClass, storeNames.join('-'));\n };\n }\n}\n\n\n// WEBPACK FOOTER //\n// ../node_modules/mobx-preact/lib/inject.js","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.JSONHTTPError = exports.TextHTTPError = exports.HTTPError = exports.getPagination = undefined;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _pagination = require(\"./pagination\");\n\nObject.defineProperty(exports, \"getPagination\", {\n enumerable: true,\n get: function get() {\n return _pagination.getPagination;\n }\n});\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction _extendableBuiltin(cls) {\n function ExtendableBuiltin() {\n var instance = Reflect.construct(cls, Array.from(arguments));\n Object.setPrototypeOf(instance, Object.getPrototypeOf(this));\n return instance;\n }\n\n ExtendableBuiltin.prototype = Object.create(cls.prototype, {\n constructor: {\n value: cls,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(ExtendableBuiltin, cls);\n } else {\n ExtendableBuiltin.__proto__ = cls;\n }\n\n return ExtendableBuiltin;\n}\n\nvar HTTPError = exports.HTTPError = function (_extendableBuiltin2) {\n _inherits(HTTPError, _extendableBuiltin2);\n\n function HTTPError(response) {\n _classCallCheck(this, HTTPError);\n\n var _this = _possibleConstructorReturn(this, (HTTPError.__proto__ || Object.getPrototypeOf(HTTPError)).call(this, response.statusText));\n\n _this.name = _this.constructor.name;\n if (typeof Error.captureStackTrace === \"function\") {\n Error.captureStackTrace(_this, _this.constructor);\n } else {\n _this.stack = new Error(response.statusText).stack;\n }\n _this.status = response.status;\n return _this;\n }\n\n return HTTPError;\n}(_extendableBuiltin(Error));\n\nvar TextHTTPError = exports.TextHTTPError = function (_HTTPError) {\n _inherits(TextHTTPError, _HTTPError);\n\n function TextHTTPError(response, data) {\n _classCallCheck(this, TextHTTPError);\n\n var _this2 = _possibleConstructorReturn(this, (TextHTTPError.__proto__ || Object.getPrototypeOf(TextHTTPError)).call(this, response));\n\n _this2.data = data;\n return _this2;\n }\n\n return TextHTTPError;\n}(HTTPError);\n\nvar JSONHTTPError = exports.JSONHTTPError = function (_HTTPError2) {\n _inherits(JSONHTTPError, _HTTPError2);\n\n function JSONHTTPError(response, json) {\n _classCallCheck(this, JSONHTTPError);\n\n var _this3 = _possibleConstructorReturn(this, (JSONHTTPError.__proto__ || Object.getPrototypeOf(JSONHTTPError)).call(this, response));\n\n _this3.json = json;\n return _this3;\n }\n\n return JSONHTTPError;\n}(HTTPError);\n\nvar API = function () {\n function API() {\n var apiURL = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n var options = arguments[1];\n\n _classCallCheck(this, API);\n\n this.apiURL = apiURL;\n if (this.apiURL.match(/\\/[^\\/]?/)) {\n // eslint-disable-line no-useless-escape\n this._sameOrigin = true;\n }\n this.defaultHeaders = options && options.defaultHeaders || {};\n }\n\n _createClass(API, [{\n key: \"headers\",\n value: function headers() {\n var _headers = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n return _extends({}, this.defaultHeaders, {\n \"Content-Type\": \"application/json\"\n }, _headers);\n }\n }, {\n key: \"parseJsonResponse\",\n value: function parseJsonResponse(response) {\n return response.json().then(function (json) {\n if (!response.ok) {\n return Promise.reject(new JSONHTTPError(response, json));\n }\n\n var pagination = (0, _pagination.getPagination)(response);\n return pagination ? { pagination: pagination, items: json } : json;\n });\n }\n }, {\n key: \"request\",\n value: function request(path) {\n var _this4 = this;\n\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n var headers = this.headers(options.headers || {});\n if (this._sameOrigin) {\n options.credentials = options.credentials || \"same-origin\";\n }\n return fetch(this.apiURL + path, _extends({}, options, { headers: headers })).then(function (response) {\n var contentType = response.headers.get(\"Content-Type\");\n if (contentType && contentType.match(/json/)) {\n return _this4.parseJsonResponse(response);\n }\n\n if (!response.ok) {\n return response.text().then(function (data) {\n return Promise.reject(new TextHTTPError(response, data));\n });\n }\n return response.text().then(function (data) {\n data;\n });\n });\n }\n }]);\n\n return API;\n}();\n\nexports.default = API;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ../node_modules/micro-api-client/lib/index.js\n// module id = 6\n// module chunks = 0","import { h, Component } from \"preact\";\n\nexport default class Button extends Component {\n render() {\n const { saving, text, saving_text } = this.props;\n\n return (\n \n );\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/forms/button.js","import { h, Component } from \"preact\";\n\nconst messages = {\n confirm: {\n type: \"success\",\n text:\n \"A confirmation message was sent to your email, click the link there to continue.\"\n },\n password_mail: {\n type: \"success\",\n text:\n \"We've sent a recovery email to your account, follow the link there to reset your password.\"\n },\n email_changed: {\n type: \"sucess\",\n text: \"Your email address has been updated!\"\n },\n verfication_error: {\n type: \"error\",\n text:\n \"There was an error verifying your account. Please try again or contact an administrator.\"\n },\n signup_disabled: {\n type: \"error\",\n text:\n \"Public signups are disabled. Contact an administrator and ask for an invite.\"\n }\n};\n\nexport default class Message extends Component {\n render() {\n const { type } = this.props;\n const msg = messages[type];\n\n return (\n
\n {msg.text}\n
\n );\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/forms/message.js","import netlifyIdentity from \"./netlify-identity\";\n\nif (typeof exports !== undefined) {\n exports.netlifyIdentity = netlifyIdentity;\n}\nif (typeof window !== undefined) {\n window.netlifyIdentity = netlifyIdentity;\n}\nif (document.readyState === \"loading\") {\n document.addEventListener(\"DOMContentLoaded\", () => {\n netlifyIdentity.init();\n });\n} else {\n netlifyIdentity.init();\n}\n\n\n\n// WEBPACK FOOTER //\n// ./index.js","import { h, render } from \"preact\"\nimport { observe } from \"mobx\"\nimport { Provider } from \"mobx-preact\"\nimport GoTrue from \"gotrue-js\"\nimport App from \"./components/app\"\nimport store from \"./state/store\"\nimport Controls from \"./components/controls\"\nimport modalCSS from \"./components/modal.css\"\n\nconst callbacks = {}\nfunction trigger(callback) {\n ;(callbacks[callback] || []).forEach((cb) => {\n cb.apply(cb, Array.prototype.slice.call(arguments, 1))\n })\n}\n\nconst validActions = {\n login: true,\n signup: true,\n error: true\n}\n\nconst netlifyIdentity = {\n on: (event, cb) => {\n callbacks[event] = callbacks[event] || []\n callbacks[event].push(cb)\n },\n open: (action) => {\n action = action || \"login\"\n if (!validActions[action]) {\n throw new Error(`Invalid action for open: ${action}`)\n }\n store.openModal(store.user ? \"user\" : action)\n },\n close: () => {\n store.closeModal()\n },\n currentUser: () => {\n return store.gotrue && store.gotrue.currentUser()\n },\n logout: () => {\n return store.logout()\n },\n get gotrue() {\n if (!store.gotrue) {\n store.openModal(\"login\")\n }\n return store.gotrue\n },\n init: (options) => {\n init(options)\n },\n store\n}\n\nlet queuedIframeStyle = null\nfunction setStyle(el, css) {\n let style = \"\"\n for (const key in css) {\n style += `${key}: ${css[key]}; `\n }\n if (el) {\n el.setAttribute(\"style\", style)\n } else {\n queuedIframeStyle = style\n }\n}\n\nconst localHosts = {\n localhost: true,\n \"127.0.0.1\": true,\n \"0.0.0.0\": true\n}\n\nfunction instantiateGotrue(APIUrl) {\n const isLocal = localHosts[document.location.host.split(\":\").shift()]\n const siteURL = isLocal && localStorage.getItem(\"netlifySiteURL\")\n if (APIUrl) {\n return new GoTrue({ APIUrl, setCookie: !isLocal })\n }\n if (isLocal && siteURL) {\n const parts = [siteURL]\n if (!siteURL.match(/\\/$/)) {\n parts.push(\"/\")\n }\n parts.push(\".netlify/identity\")\n return new GoTrue({ APIUrl: parts.join(\"\"), setCookie: !isLocal })\n }\n if (isLocal) {\n return null\n }\n\n return new GoTrue({ setCookie: !isLocal })\n}\n\nlet root\nlet iframe\nconst iframeStyle = {\n position: \"fixed\",\n top: 0,\n left: 0,\n border: \"none\",\n width: \"100%\",\n height: \"100%\",\n overflow: \"visible\",\n background: \"transparent\",\n display: \"none\",\n \"z-index\": 99\n}\n\nobserve(store.modal, \"isOpen\", () => {\n if (!store.settings) {\n store.loadSettings()\n }\n setStyle(iframe, {\n ...iframeStyle,\n display: store.modal.isOpen ? \"block !important\" : \"none\"\n })\n if (store.modal.isOpen) {\n trigger(\"open\", store.modal.page)\n } else {\n trigger(\"close\")\n }\n})\n\nobserve(store, \"siteURL\", () => {\n if (store.siteURL === null || store.siteURL === undefined) {\n localStorage.removeItem(\"netlifySiteURL\")\n } else {\n localStorage.setItem(\"netlifySiteURL\", store.siteURL)\n }\n store.init(instantiateGotrue(), true)\n})\n\nobserve(store, \"user\", () => {\n if (store.user) {\n trigger(\"login\", store.user)\n } else {\n trigger(\"logout\")\n }\n})\n\nobserve(store, \"gotrue\", () => {\n store.gotrue && trigger(\"init\", store.gotrue.currentUser())\n})\n\nobserve(store, \"error\", () => {\n trigger(\"error\", store.error)\n})\n\nconst routes = /(confirmation|invite|recovery|email_change)_token=([^&]+)/\nconst errorRoute = /error=access_denied&error_description=403/\nconst accessTokenRoute = /access_token=/\n\nfunction runRoutes() {\n const hash = (document.location.hash || \"\").replace(/^#\\/?/, \"\")\n if (!hash) {\n return\n }\n\n const m = hash.match(routes)\n if (m) {\n store.verifyToken(m[1], m[2])\n document.location.hash = \"\"\n }\n\n const em = hash.match(errorRoute)\n if (em) {\n store.openModal(\"signup\")\n document.location.hash = \"\"\n }\n\n const am = hash.match(accessTokenRoute)\n if (am) {\n const params = {}\n hash.split(\"&\").forEach((pair) => {\n const [key, value] = pair.split(\"=\")\n params[key] = value\n })\n if (!!document && params[\"access_token\"]) {\n document.cookie = `nf_jwt=${params[\"access_token\"]}`\n }\n document.location.hash = \"\"\n store.openModal(\"login\")\n store.completeExternalLogin(params)\n }\n}\n\nfunction init(options = {}) {\n const { APIUrl, logo = true, namePlaceholder } = options\n const controlEls = document.querySelectorAll(\"[data-netlify-identity-menu],[data-netlify-identity-button]\")\n Array.prototype.slice.call(controlEls).forEach((el) => {\n let controls = null\n const mode = el.getAttribute(\"data-netlify-identity-menu\") === null ? \"button\" : \"menu\"\n render(\n \n \n ,\n el,\n controls\n )\n })\n\n store.init(instantiateGotrue(APIUrl))\n store.modal.logo = logo\n store.setNamePlaceholder(namePlaceholder)\n iframe = document.createElement(\"iframe\")\n iframe.id = \"netlify-identity-widget\"\n iframe.onload = () => {\n const styles = iframe.contentDocument.createElement(\"style\")\n styles.innerHTML = modalCSS.toString()\n iframe.contentDocument.head.appendChild(styles)\n root = render(\n \n \n ,\n iframe.contentDocument.body,\n root\n )\n runRoutes()\n }\n setStyle(iframe, iframeStyle)\n iframe.src = \"about:blank\"\n const container = options.container ? document.querySelector(options.container) : document.body\n container.appendChild(iframe)\n /* There's a certain case where we might have called setStyle before the iframe was ready.\n\t Make sure we take the last style and apply it */\n if (queuedIframeStyle) {\n iframe.setAttribute(\"style\", queuedIframeStyle)\n queuedIframeStyle = null\n }\n}\n\nexport default netlifyIdentity\n\n\n\n// WEBPACK FOOTER //\n// ./netlify-identity.js","var g;\r\n\r\n// This works in non-strict mode\r\ng = (function() {\r\n\treturn this;\r\n})();\r\n\r\ntry {\r\n\t// This works if eval is allowed (see CSP)\r\n\tg = g || Function(\"return this\")() || (1,eval)(\"this\");\r\n} catch(e) {\r\n\t// This works if the window reference is available\r\n\tif(typeof window === \"object\")\r\n\t\tg = window;\r\n}\r\n\r\n// g can still be undefined, but nothing to do about it...\r\n// We return undefined, instead of nothing here, so it's\r\n// easier to handle this case. if(!global) { ...}\r\n\r\nmodule.exports = g;\r\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/webpack/buildin/global.js","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.connect = connect;\n\nvar _observer = require('./observer');\n\nvar _inject = require('./inject');\n\nfunction connect(arg1, arg2) {\n if (typeof arg1 === 'string') {\n throw new Error('Store names should be provided as array');\n }\n if (Array.isArray(arg1)) {\n if (!arg2) {\n // invoked as decorator\n return function (componentClass) {\n return connect(arg1, componentClass);\n };\n } else {\n return _inject.inject.apply(null, arg1)(connect(arg2));\n }\n }\n return (0, _observer.observer)(arg1);\n}\n\n\n// WEBPACK FOOTER //\n// ../node_modules/mobx-preact/lib/connect.js","'use strict';\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar REACT_STATICS = {\n childContextTypes: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\n\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = getPrototypeOf && getPrototypeOf(Object);\n\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') { // don't hoist over string (html) components\n\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n if (!REACT_STATICS[key] && !KNOWN_STATICS[key] && (!blacklist || !blacklist[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n try { // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n\n return targetComponent;\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Provider = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _preact = require('preact');\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar specialReactKeys = { children: true, key: true, ref: true };\n\nvar logger = console; // eslint-disable-line no-console\n\nvar Provider = exports.Provider = function (_Component) {\n _inherits(Provider, _Component);\n\n function Provider() {\n _classCallCheck(this, Provider);\n\n return _possibleConstructorReturn(this, (Provider.__proto__ || Object.getPrototypeOf(Provider)).apply(this, arguments));\n }\n\n _createClass(Provider, [{\n key: 'render',\n value: function render(_ref) {\n var children = _ref.children;\n\n return children.length > 1 ? (0, _preact.h)(\n 'div',\n null,\n ' ',\n children,\n ' '\n ) : children[0];\n }\n }, {\n key: 'getChildContext',\n value: function getChildContext() {\n var stores = {};\n // inherit stores\n var baseStores = this.context.mobxStores;\n if (baseStores) {\n for (var key in baseStores) {\n stores[key] = baseStores[key];\n }\n }\n // add own stores\n for (var _key in this.props) {\n if (!specialReactKeys[_key] && _key !== 'suppressChangedStoreWarning') {\n stores[_key] = this.props[_key];\n }\n }\n\n return {\n mobxStores: stores\n };\n }\n }, {\n key: 'componentWillReceiveProps',\n value: function componentWillReceiveProps(nextProps) {\n // Maybe this warning is too aggressive?\n if (Object.keys(nextProps).length !== Object.keys(this.props).length) {\n logger.warn('MobX Provider: The set of provided stores has changed. Please avoid changing stores as the change might not propagate to all children');\n }\n if (!nextProps.suppressChangedStoreWarning) {\n for (var key in nextProps) {\n if (!specialReactKeys[key] && this.props[key] !== nextProps[key]) {\n logger.warn('MobX Provider: Provided store \\'' + key + '\\' has changed. Please avoid replacing stores as the change might not propagate to all children');\n }\n }\n }\n }\n }]);\n\n return Provider;\n}(_preact.Component);\n\n\n// WEBPACK FOOTER //\n// ../node_modules/mobx-preact/lib/Provider.js","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _microApiClient = require(\"micro-api-client\");\n\nvar _microApiClient2 = _interopRequireDefault(_microApiClient);\n\nvar _user = require(\"./user\");\n\nvar _user2 = _interopRequireDefault(_user);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar HTTPRegexp = /^http:\\/\\//;\nvar defaultApiURL = \"/.netlify/identity\";\n\nvar GoTrue = function () {\n function GoTrue() {\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref$APIUrl = _ref.APIUrl,\n APIUrl = _ref$APIUrl === undefined ? defaultApiURL : _ref$APIUrl,\n _ref$audience = _ref.audience,\n audience = _ref$audience === undefined ? \"\" : _ref$audience,\n _ref$setCookie = _ref.setCookie,\n setCookie = _ref$setCookie === undefined ? false : _ref$setCookie;\n\n _classCallCheck(this, GoTrue);\n\n if (APIUrl.match(HTTPRegexp)) {\n console.warn(\"Warning:\\n\\nDO NOT USE HTTP IN PRODUCTION FOR GOTRUE EVER!\\nGoTrue REQUIRES HTTPS to work securely.\");\n }\n\n if (audience) {\n this.audience = audience;\n }\n\n this.setCookie = setCookie;\n\n this.api = new _microApiClient2.default(APIUrl);\n }\n\n _createClass(GoTrue, [{\n key: \"_request\",\n value: function _request(path) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n options.headers = options.headers || {};\n var aud = options.audience || this.audience;\n if (aud) {\n options.headers[\"X-JWT-AUD\"] = aud;\n }\n return this.api.request(path, options).catch(function (err) {\n if (err instanceof _microApiClient.JSONHTTPError && err.json) {\n if (err.json.msg) {\n err.message = err.json.msg;\n } else if (err.json.error) {\n err.message = err.json.error + \": \" + err.json.error_description;\n }\n }\n return Promise.reject(err);\n });\n }\n }, {\n key: \"settings\",\n value: function settings() {\n return this._request(\"/settings\");\n }\n }, {\n key: \"signup\",\n value: function signup(email, password, data) {\n return this._request(\"/signup\", {\n method: \"POST\",\n body: JSON.stringify({ email: email, password: password, data: data })\n });\n }\n }, {\n key: \"login\",\n value: function login(email, password, remember) {\n var _this = this;\n\n this._setRememberHeaders(remember);\n return this._request(\"/token\", {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/x-www-form-urlencoded\" },\n body: \"grant_type=password&username=\" + encodeURIComponent(email) + \"&password=\" + encodeURIComponent(password)\n }).then(function (response) {\n _user2.default.removeSavedSession();\n return _this.createUser(response, remember);\n });\n }\n }, {\n key: \"loginExternalUrl\",\n value: function loginExternalUrl(provider) {\n return this.api.apiURL + \"/authorize?provider=\" + provider;\n }\n }, {\n key: \"confirm\",\n value: function confirm(token, remember) {\n this._setRememberHeaders(remember);\n return this.verify(\"signup\", token, remember);\n }\n }, {\n key: \"requestPasswordRecovery\",\n value: function requestPasswordRecovery(email) {\n return this._request(\"/recover\", {\n method: \"POST\",\n body: JSON.stringify({ email: email })\n });\n }\n }, {\n key: \"recover\",\n value: function recover(token, remember) {\n this._setRememberHeaders(remember);\n return this.verify(\"recovery\", token, remember);\n }\n }, {\n key: \"acceptInvite\",\n value: function acceptInvite(token, password, remember) {\n var _this2 = this;\n\n this._setRememberHeaders(remember);\n return this._request(\"/verify\", {\n method: \"POST\",\n body: JSON.stringify({ token: token, password: password, type: \"signup\" })\n }).then(function (response) {\n return _this2.createUser(response, remember);\n });\n }\n }, {\n key: \"acceptInviteExternalUrl\",\n value: function acceptInviteExternalUrl(provider, token) {\n return this.api.apiURL + \"/authorize?provider=\" + provider + \"&invite_token=\" + token;\n }\n }, {\n key: \"createUser\",\n value: function createUser(tokenResponse) {\n var remember = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n this._setRememberHeaders(remember);\n var user = new _user2.default(this.api, tokenResponse, this.audience);\n return user.getUserData().then(function (user) {\n if (remember) {\n user._saveSession();\n }\n return user;\n });\n }\n }, {\n key: \"currentUser\",\n value: function currentUser() {\n var user = _user2.default.recoverSession(this.api);\n user && this._setRememberHeaders(user._fromStorage);\n return user;\n }\n }, {\n key: \"verify\",\n value: function verify(type, token, remember) {\n var _this3 = this;\n\n this._setRememberHeaders(remember);\n return this._request(\"/verify\", {\n method: \"POST\",\n body: JSON.stringify({ token: token, type: type })\n }).then(function (response) {\n return _this3.createUser(response, remember);\n });\n }\n }, {\n key: \"_setRememberHeaders\",\n value: function _setRememberHeaders(remember) {\n if (this.setCookie) {\n this.api.defaultHeaders = this.api.defaultHeaders || {};\n this.api.defaultHeaders[\"X-Use-Cookie\"] = remember ? \"1\" : \"session\";\n }\n }\n }]);\n\n return GoTrue;\n}();\n\nexports.default = GoTrue;\n\n\nif (typeof window !== \"undefined\") {\n window.GoTrue = GoTrue;\n}\n\n\n// WEBPACK FOOTER //\n// ../node_modules/gotrue-js/lib/index.js","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\n\nexports.getPagination = getPagination;\nfunction getPagination(response) {\n var links = response.headers.get(\"Link\");\n var pagination = {};\n //var link, url, rel, m, page;\n if (links == null) {\n return null;\n }\n links = links.split(\",\");\n var total = response.headers.get(\"X-Total-Count\");\n\n for (var i = 0, len = links.length; i < len; i++) {\n var link = links[i].replace(/(^\\s*|\\s*$)/, \"\");\n\n var _link$split = link.split(\";\"),\n _link$split2 = _slicedToArray(_link$split, 2),\n url = _link$split2[0],\n rel = _link$split2[1];\n\n var m = url.match(/page=(\\d+)/);\n var page = m && parseInt(m[1], 10);\n if (rel.match(/last/)) {\n pagination.last = page;\n } else if (rel.match(/next/)) {\n pagination.next = page;\n } else if (rel.match(/prev/)) {\n pagination.prev = page;\n } else if (rel.match(/first/)) {\n pagination.first = page;\n }\n }\n\n pagination.last = Math.max(pagination.last || 0, pagination.prev && pagination.prev + 1 || 0);\n pagination.current = pagination.next ? pagination.next - 1 : pagination.last || 1;\n pagination.total = total ? parseInt(total, 10) : null;\n\n return pagination;\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ../node_modules/micro-api-client/lib/pagination.js\n// module id = 16\n// module chunks = 0","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _microApiClient = require(\"micro-api-client\");\n\nvar _microApiClient2 = _interopRequireDefault(_microApiClient);\n\nvar _admin = require(\"./admin\");\n\nvar _admin2 = _interopRequireDefault(_admin);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar ExpiryMargin = 60 * 1000;\nvar storageKey = \"gotrue.user\";\nvar refreshPromises = {};\nvar currentUser = null;\nvar forbiddenUpdateAttributes = { api: 1, token: 1, audience: 1, url: 1 };\nvar forbiddenSaveAttributes = { api: 1 };\n\nvar User = function () {\n function User(api, tokenResponse, audience) {\n _classCallCheck(this, User);\n\n this.api = api;\n this.url = api.apiURL;\n this.audience = audience;\n this._processTokenResponse(tokenResponse);\n currentUser = this;\n }\n\n _createClass(User, [{\n key: \"update\",\n value: function update(attributes) {\n var _this = this;\n\n return this._request(\"/user\", {\n method: \"PUT\",\n body: JSON.stringify(attributes)\n }).then(function (response) {\n return _this._saveUserData(response)._refreshSavedSession();\n });\n }\n }, {\n key: \"jwt\",\n value: function jwt(forceRefresh) {\n var _tokenDetails = this.tokenDetails(),\n expires_at = _tokenDetails.expires_at,\n refresh_token = _tokenDetails.refresh_token,\n access_token = _tokenDetails.access_token;\n\n if (forceRefresh || expires_at - ExpiryMargin < Date.now()) {\n return this._refreshToken(refresh_token);\n }\n return Promise.resolve(access_token);\n }\n }, {\n key: \"logout\",\n value: function logout() {\n return this._request(\"/logout\", { method: \"POST\" }).then(this.clearSession.bind(this)).catch(this.clearSession.bind(this));\n }\n }, {\n key: \"_refreshToken\",\n value: function _refreshToken(refresh_token) {\n var _this2 = this;\n\n if (refreshPromises[refresh_token]) {\n return refreshPromises[refresh_token];\n }\n return refreshPromises[refresh_token] = this.api.request(\"/token\", {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/x-www-form-urlencoded\" },\n body: \"grant_type=refresh_token&refresh_token=\" + refresh_token\n }).then(function (response) {\n delete refreshPromises[refresh_token];\n _this2._processTokenResponse(response);\n _this2._refreshSavedSession();\n return _this2.token.access_token;\n }).catch(function (error) {\n delete refreshPromises[refresh_token];\n _this2.clearSession();\n return Promise.reject(error);\n });\n }\n }, {\n key: \"_request\",\n value: function _request(path) {\n var _this3 = this;\n\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n options.headers = options.headers || {};\n\n var aud = options.audience || this.audience;\n if (aud) {\n options.headers[\"X-JWT-AUD\"] = aud;\n }\n\n return this.jwt().then(function (token) {\n return _this3.api.request(path, _extends({\n headers: Object.assign(options.headers, {\n Authorization: \"Bearer \" + token\n })\n }, options)).catch(function (err) {\n if (err instanceof _microApiClient.JSONHTTPError && err.json) {\n if (err.json.msg) {\n err.message = err.json.msg;\n } else if (err.json.error) {\n err.message = err.json.error + \": \" + err.json.error_description;\n }\n }\n return Promise.reject(err);\n });\n });\n }\n }, {\n key: \"getUserData\",\n value: function getUserData() {\n return this._request(\"/user\").then(this._saveUserData.bind(this)).then(this._refreshSavedSession.bind(this));\n }\n }, {\n key: \"_saveUserData\",\n value: function _saveUserData(attributes, fromStorage) {\n for (var key in attributes) {\n if (key in User.prototype || key in forbiddenUpdateAttributes) {\n continue;\n }\n this[key] = attributes[key];\n }\n if (fromStorage) {\n this._fromStorage = true;\n }\n return this;\n }\n }, {\n key: \"_processTokenResponse\",\n value: function _processTokenResponse(tokenResponse) {\n this.token = tokenResponse;\n var claims = void 0;\n try {\n claims = JSON.parse(urlBase64Decode(tokenResponse.access_token.split(\".\")[1]));\n this.token.expires_at = claims.exp * 1000;\n } catch (e) {\n console.error(new Error(\"Gotrue-js: Failed to parse tokenResponse claims: \" + JSON.stringify(tokenResponse)));\n }\n }\n }, {\n key: \"_refreshSavedSession\",\n value: function _refreshSavedSession() {\n // only update saved session if we previously saved something\n if (localStorage.getItem(storageKey)) {\n this._saveSession();\n }\n return this;\n }\n }, {\n key: \"_saveSession\",\n value: function _saveSession() {\n localStorage.setItem(storageKey, JSON.stringify(this._details));\n return this;\n }\n }, {\n key: \"tokenDetails\",\n value: function tokenDetails() {\n return this.token;\n }\n }, {\n key: \"clearSession\",\n value: function clearSession() {\n User.removeSavedSession();\n this.token = null;\n currentUser = null;\n }\n }, {\n key: \"admin\",\n get: function get() {\n return new _admin2.default(this);\n }\n }, {\n key: \"_details\",\n get: function get() {\n var userCopy = {};\n for (var key in this) {\n if (key in User.prototype || key in forbiddenSaveAttributes) {\n continue;\n }\n userCopy[key] = this[key];\n }\n return userCopy;\n }\n }], [{\n key: \"removeSavedSession\",\n value: function removeSavedSession() {\n localStorage.removeItem(storageKey);\n }\n }, {\n key: \"recoverSession\",\n value: function recoverSession(apiInstance) {\n if (currentUser) {\n return currentUser;\n }\n\n var json = localStorage.getItem(storageKey);\n if (json) {\n try {\n var data = JSON.parse(json);\n var url = data.url,\n token = data.token,\n audience = data.audience;\n\n if (!url || !token) {\n return null;\n }\n\n var api = apiInstance || new _microApiClient2.default(url, {});\n return new User(api, token, audience)._saveUserData(data, true);\n } catch (ex) {\n console.error(new Error(\"Gotrue-js: Error recovering session: \" + ex));\n return null;\n }\n }\n\n return null;\n }\n }]);\n\n return User;\n}();\n\nexports.default = User;\n\n\nfunction urlBase64Decode(str) {\n // From https://jwt.io/js/jwt.js\n var output = str.replace(/-/g, '+').replace(/_/g, '/');\n switch (output.length % 4) {\n case 0:\n break;\n case 2:\n output += '==';\n break;\n case 3:\n output += '=';\n break;\n default:\n throw 'Illegal base64url string!';\n }\n var result = window.atob(output); //polifyll https://github.com/davidchambers/Base64.js\n try {\n return decodeURIComponent(escape(result));\n } catch (err) {\n return result;\n }\n}\n\n\n// WEBPACK FOOTER //\n// ../node_modules/gotrue-js/lib/user.js","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar Admin = function () {\n function Admin(user) {\n _classCallCheck(this, Admin);\n\n this.user = user;\n }\n\n // Return a list of all users in an audience\n\n\n _createClass(Admin, [{\n key: \"listUsers\",\n value: function listUsers(aud) {\n return this.user._request(\"/admin/users\", {\n method: \"GET\",\n audience: aud\n });\n }\n }, {\n key: \"getUser\",\n value: function getUser(user) {\n return this.user._request(\"/admin/users/\" + user.id);\n }\n }, {\n key: \"updateUser\",\n value: function updateUser(user) {\n var attributes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n return this.user._request(\"/admin/users/\" + user.id, {\n method: \"PUT\",\n body: JSON.stringify(attributes)\n });\n }\n }, {\n key: \"createUser\",\n value: function createUser(email, password) {\n var attributes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n attributes.email = email;\n attributes.password = password;\n return this.user._request(\"/admin/users\", {\n method: \"POST\",\n body: JSON.stringify(attributes)\n });\n }\n }, {\n key: \"deleteUser\",\n value: function deleteUser(user) {\n return this.user._request(\"/admin/users/\" + user.id, {\n method: \"DELETE\"\n });\n }\n }]);\n\n return Admin;\n}();\n\nexports.default = Admin;\n\n\n// WEBPACK FOOTER //\n// ../node_modules/gotrue-js/lib/admin.js","import { h, Component } from \"preact\";\nimport { connect } from \"mobx-preact\";\nimport Modal from \"./modal\";\nimport SiteURLForm from \"./forms/siteurl\";\nimport LogoutForm from \"./forms/logout\";\nimport UserForm from \"./forms/user\";\nimport Providers from \"./forms/providers\";\nimport Message from \"./forms/message\";\n\nconst pagesWithHeader = { login: true, signup: true };\nconst pages = {\n login: {\n login: true,\n button: \"Log in\",\n button_saving: \"Logging in\",\n email: true,\n password: true,\n link: \"amnesia\",\n link_text: \"Forgot password?\",\n providers: true\n },\n signup: {\n signup: true,\n button: \"Sign up\",\n button_saving: \"Signing Up\",\n name: true,\n email: true,\n password: true,\n providers: true\n },\n amnesia: {\n title: \"Recover password\",\n button: \"Send recovery email\",\n button_saving: \"Sending recovery email\",\n email: true,\n link: \"login\",\n link_text: \"Never mind\"\n },\n recovery: {\n title: \"Recover password\",\n button: \"Update password\",\n button_saving: \"Updating password\",\n password: true,\n link: \"login\",\n link_text: \"Never mind\"\n },\n invite: {\n title: \"Complete your signup\",\n button: \"Sign up\",\n button_saving: \"Signing Up\",\n password: true,\n providers: true\n },\n user: {\n title: \"Logged in\"\n }\n};\n\n@connect([\"store\"])\nclass App extends Component {\n handleClose = () => this.props.store.closeModal();\n handlePage = page => this.props.store.openModal(page);\n handleLogout = () => this.props.store.logout();\n handleSiteURL = url => this.props.store.setSiteURL(url);\n clearSiteURL = url => this.props.store.clearSiteURL();\n handleExternalLogin = provider => this.props.store.externalLogin(provider);\n handleUser = ({ name, email, password }) => {\n const { store } = this.props;\n\n switch (store.modal.page) {\n case \"login\":\n store.login(email, password);\n break;\n case \"signup\":\n store.signup(name, email, password);\n break;\n case \"amnesia\":\n store.requestPasswordRecovery(email);\n break;\n case \"invite\":\n store.acceptInvite(password);\n break;\n case \"recovery\":\n store.updatePassword(password);\n break;\n }\n };\n\n renderBody() {\n const { store } = this.props;\n const page = pages[store.modal.page] || {};\n const pageLinkHandler = () => this.handlePage(page.link);\n\n if (!store.gotrue) {\n return ;\n }\n if (!store.settings) {\n return;\n }\n if (store.user) {\n return (\n \n );\n }\n if (store.modal.page === \"signup\" && store.settings.disable_signup) {\n return ;\n }\n\n return (\n
\n \n {!store.user && page.link && store.gotrue && (\n \n {page.link_text}\n \n )}\n \n
\n );\n }\n\n renderProviders() {\n const { store } = this.props;\n\n if (!(store.gotrue && store.settings)) {\n return null;\n }\n if (store.modal.page === \"signup\" && store.settings.disable_signup) {\n return null;\n }\n const page = pages[store.modal.page] || {};\n\n if (!page.providers) {\n return null;\n }\n\n const providers = [\n \"Google\",\n \"GitHub\",\n \"GitLab\",\n \"BitBucket\",\n \"SAML\"\n ].filter(p => store.settings.external[p.toLowerCase()]);\n\n return providers.length ? (\n \n ) : null;\n }\n\n render() {\n const { store } = this.props;\n const showHeader = pagesWithHeader[store.modal.page];\n const showSignup = store.settings && !store.settings.disable_signup;\n const page = pages[store.modal.page] || {};\n\n return (\n
\n \n {this.renderBody()}\n {this.renderProviders()}\n \n
\n );\n }\n}\n\nexport default App;\n\n\n\n// WEBPACK FOOTER //\n// ./components/app.js","import { h, Component } from \"preact\";\n\nfunction formatError(error) {\n return (\n (error.json && error.json.error_description) ||\n error.message ||\n error.toString()\n );\n}\n\nexport default class Modal extends Component {\n handleClose = e => {\n e.preventDefault();\n this.props.onClose();\n };\n\n blockEvent = e => {\n e.stopPropagation();\n };\n\n linkHandler = page => e => {\n e.preventDefault();\n this.props.onPage(page);\n };\n\n render() {\n const {\n page,\n error,\n loading,\n showHeader,\n showSignup,\n devSettings,\n isOpen,\n children,\n logo\n } = this.props;\n const hidden = loading || !isOpen;\n return (\n \n \n
\n \n {showHeader && (\n
\n {showSignup && (\n \n Sign up\n \n )}\n {!devSettings && (\n \n Log in\n \n )}\n
\n )}\n {page.title && (\n
\n \n
\n )}\n {devSettings && (\n
\n \n
\n )}\n {error && (\n
\n {formatError(error)}\n
\n )}\n {children}\n
\n \n {logo && (\n \n \n Coded by Netlify\n \n )}\n \n );\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/modal/index.js","import { h, Component } from \"preact\";\n\nexport default class SiteURLForm extends Component {\n constructor(props) {\n super(props);\n this.state = { url: \"\", development: props.devMode || false };\n }\n\n handleInput = e => {\n this.setState({ [e.target.name]: e.target.value });\n };\n\n addSiteURL = e => {\n e.preventDefault();\n this.props.onSiteURL(this.state.url);\n };\n\n clearSiteURL = e => {\n e.preventDefault;\n this.props.onSiteURL();\n };\n\n render() {\n const { url, development } = this.state;\n\n return (\n
\n {development ? (\n
\n

Development Settings

\n this.clearSiteURL(e)}\n className=\"btnLink forgotPasswordLink\"\n >\n Clear localhost URL\n \n
\n ) : (\n
\n
\n {\n \"Looks like you're running a local server. Please let us know the URL of your Netlify site.\"\n }\n
\n
\n
\n );\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/forms/siteurl.js","import { h, Component } from \"preact\";\nimport Button from \"./button\";\n\nexport default class LogoutForm extends Component {\n handleLogout = e => {\n e.preventDefault();\n this.props.onLogout();\n };\n render() {\n const { user, saving } = this.props;\n\n return (\n \n

\n Logged in as
\n \n {user.user_metadata.full_name ||\n user.user_metadata.name ||\n user.email}\n \n

\n \n );\n }\n}\n\nexport default class Providers extends Component {\n getLabel(p) {\n const pId = p.toLowerCase();\n if (pId in this.props.labels) {\n return this.props.labels[pId];\n }\n return p;\n }\n\n render() {\n const { providers, onLogin } = this.props;\n\n return (\n
\n
\n {providers.map(p => (\n \n ))}\n
\n );\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/forms/providers.js","import { observable, action } from \"mobx\";\n\nconst store = observable({\n user: null,\n recovered_user: null,\n message: null,\n settings: null,\n gotrue: null,\n error: null,\n siteURL: null,\n remember: true,\n saving: false,\n invite_token: null,\n email_change_token: null,\n namePlaceholder: null,\n modal: {\n page: \"login\",\n isOpen: false,\n logo: true\n }\n});\n\nstore.setNamePlaceholder = action(function setNamePlaceholder(namePlaceholder) {\n store.namePlaceholder = namePlaceholder;\n});\n\nstore.startAction = action(function startAction() {\n store.saving = true;\n store.error = null;\n store.message = null;\n});\n\nstore.setError = action(function setError(err) {\n store.saving = false;\n store.error = err;\n});\n\nstore.init = action(function init(gotrue, reloadSettings) {\n if (gotrue) {\n store.gotrue = gotrue;\n store.user = gotrue.currentUser();\n if (store.user) {\n store.modal.page = \"user\";\n }\n }\n if (reloadSettings) {\n store.loadSettings();\n }\n});\n\nstore.loadSettings = action(function loadSettings() {\n if (store.settings) {\n return;\n }\n if (!store.gotrue) {\n return;\n }\n\n store.gotrue\n .settings()\n .then(action(settings => (store.settings = settings)))\n .catch(\n action(err => {\n store.error = new Error(\n `Failed to load settings from ${store.gotrue.api.apiURL}`\n );\n })\n );\n});\n\nstore.setSiteURL = action(function setSiteURL(url) {\n store.siteURL = url;\n});\n\nstore.clearSiteURL = action(function clearSiteURL() {\n store.gotrue = null;\n store.siteURL = null;\n store.settings = null;\n});\n\nstore.login = action(function login(email, password) {\n store.startAction();\n return store.gotrue\n .login(email, password, store.remember)\n .then(\n action(user => {\n store.user = user;\n store.modal.page = \"user\";\n store.invite_token = null;\n if (store.email_change_token) {\n store.doEmailChange();\n }\n store.saving = false;\n })\n )\n .catch(store.setError);\n});\n\nstore.externalLogin = action(function externalLogin(provider) {\n // store.startAction();\n store.error = null;\n store.message = null;\n const url = store.invite_token\n ? store.gotrue.acceptInviteExternalUrl(provider, store.invite_token)\n : store.gotrue.loginExternalUrl(provider);\n window.location.href = url;\n});\n\nstore.completeExternalLogin = action(function completeExternalLogin(params) {\n store.startAction();\n store.gotrue\n .createUser(params, store.remember)\n .then(user => {\n store.user = user;\n store.modal.page = \"user\";\n store.saving = false;\n })\n .catch(store.setError);\n});\n\nstore.signup = action(function signup(name, email, password) {\n store.startAction();\n return store.gotrue\n .signup(email, password, { full_name: name })\n .then(\n action(() => {\n if (store.settings.autoconfirm) {\n store.login(email, password, store.remember);\n } else {\n store.message = \"confirm\";\n }\n store.saving = false;\n })\n )\n .catch(store.setError);\n});\n\nstore.logout = action(function logout() {\n if (store.user) {\n store.startAction();\n return store.user\n .logout()\n .then(\n action(() => {\n store.user = null;\n store.modal.page = \"login\";\n store.saving = false;\n })\n )\n .catch(store.setError);\n } else {\n store.modal.page = \"login\";\n store.saving = false;\n }\n});\n\nstore.updatePassword = action(function updatePassword(password) {\n store.startAction();\n const user = store.recovered_user || store.user;\n user\n .update({ password })\n .then(user => {\n store.user = user;\n store.recovered_user = null;\n store.modal.page = \"user\";\n store.saving = false;\n })\n .catch(store.setError);\n});\n\nstore.acceptInvite = action(function acceptInvite(password) {\n store.startAction();\n store.gotrue\n .acceptInvite(store.invite_token, password, store.remember)\n .then(user => {\n store.saving = false;\n store.invite_token = null;\n store.user = user;\n store.modal.page = \"user\";\n })\n .catch(store.setError);\n});\n\nstore.doEmailChange = action(function doEmailChange() {\n store.startAction();\n return store.user\n .update({ email_change_token: store.email_change_token })\n .then(\n action(user => {\n store.user = user;\n store.email_change_token = null;\n store.message = \"email_changed\";\n store.saving = false;\n })\n )\n .catch(store.setError);\n});\n\nstore.verifyToken = action(function verifyToken(type, token) {\n const gotrue = store.gotrue;\n store.modal.isOpen = true;\n\n switch (type) {\n case \"confirmation\":\n store.startAction();\n store.modal.page = \"signup\";\n gotrue\n .confirm(token, store.remember)\n .then(\n action(user => {\n store.user = user;\n store.saving = false;\n })\n )\n .catch(\n action(err => {\n console.error(err);\n store.message = \"verfication_error\";\n store.modal.page = \"signup\";\n store.saving = false;\n })\n );\n break;\n case \"email_change\":\n store.email_change_token = token;\n store.modal.page = \"message\";\n if (store.user) {\n store.doEmailChange();\n } else {\n store.modal.page = \"login\";\n }\n break;\n case \"invite\":\n store.modal.page = type;\n store.invite_token = token;\n break;\n case \"recovery\":\n store.startAction();\n store.modal.page = type;\n store.gotrue\n .recover(token, store.remember)\n .then(user => {\n store.saving = false;\n store.recovered_user = user;\n })\n .catch(err => {\n store.saving = false;\n store.error = err;\n store.modal.page = \"login\";\n });\n break;\n default:\n store.error = \"Unkown token type\";\n }\n});\n\nstore.requestPasswordRecovery = action(function requestPasswordRecovery(email) {\n store.startAction();\n store.gotrue\n .requestPasswordRecovery(email)\n .then(\n action(() => {\n store.message = \"password_mail\";\n store.saving = false;\n })\n )\n .catch(store.setError);\n});\n\nstore.openModal = action(function open(page) {\n store.modal.page = page;\n store.modal.isOpen = true;\n});\n\nstore.closeModal = action(function close() {\n store.modal.isOpen = false;\n store.error = null;\n store.message = null;\n store.saving = false;\n});\n\nexport default store;\n\n\n\n// WEBPACK FOOTER //\n// ./state/store.js","import { h, Component } from \"preact\";\nimport { connect } from \"mobx-preact\";\n\n@connect([\"store\"])\nclass Controls extends Component {\n handleSignup = e => {\n e.preventDefault();\n this.props.store.openModal(\"signup\");\n };\n\n handleLogin = e => {\n e.preventDefault();\n this.props.store.openModal(\"login\");\n };\n\n handleLogout = e => {\n e.preventDefault();\n this.props.store.openModal(\"user\");\n };\n\n handleButton = e => {\n e.preventDefault();\n this.props.store.openModal(this.props.store.user ? \"user\" : \"login\");\n };\n\n render() {\n const { user } = this.props.store;\n\n if (this.props.mode === \"button\") {\n return (\n \n {this.props.text || (user ? \"Log out\" : \"Log in\")}\n \n );\n }\n\n if (user) {\n return (\n
    \n
  • \n Logged in as{\" \"}\n \n {user.user_metadata.name || user.email}\n \n
  • \n
  • \n \n Log out\n \n
  • \n
\n );\n }\n\n return (\n
    \n
  • \n \n Sign up\n \n
  • \n
  • \n \n Log in\n \n
  • \n
\n );\n }\n}\n\nexport default Controls;\n\n\n\n// WEBPACK FOOTER //\n// ./components/controls.js","exports = module.exports = require(\"../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"::-webkit-input-placeholder {\\n /* Chrome/Opera/Safari */\\n color: #a3a9ac;\\n font-weight: 500;\\n}\\n\\n::-moz-placeholder {\\n /* Firefox 19+ */\\n color: #a3a9ac;\\n font-weight: 500;\\n}\\n\\n:-ms-input-placeholder {\\n /* IE 10+ */\\n color: #a3a9ac;\\n font-weight: 500;\\n}\\n\\n:-moz-placeholder {\\n /* Firefox 18- */\\n color: #a3a9ac;\\n font-weight: 500;\\n}\\n\\n.modalContainer {\\n position: absolute;\\n top: 0;\\n left: 0;\\n width: 100%;\\n min-height: 100%;\\n overflow-x: hidden;\\n overflow-y: auto;\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n font-family: -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, Helvetica,\\n Arial, sans-serif, \\\"Apple Color Emoji\\\", \\\"Segoe UI Emoji\\\", \\\"Segoe UI Symbol\\\";\\n font-size: 14px;\\n line-height: 1.5;\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-orient: vertical;\\n -webkit-box-direction: normal;\\n -ms-flex-direction: column;\\n flex-direction: column;\\n -webkit-box-align: center;\\n -ms-flex-align: center;\\n align-items: center;\\n z-index: 99999;\\n}\\n\\n.modalContainer::before {\\n content: \\\"\\\";\\n display: block;\\n position: fixed;\\n top: 0;\\n bottom: 0;\\n left: 0;\\n right: 0;\\n background-color: #fff;\\n z-index: -1;\\n}\\n\\n.modalDialog {\\n -webkit-box-flex: 1;\\n -ms-flex-positive: 1;\\n flex-grow: 1;\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-orient: vertical;\\n -webkit-box-direction: normal;\\n -ms-flex-direction: column;\\n flex-direction: column;\\n width: 100%;\\n}\\n\\n.modalContent {\\n position: relative;\\n padding: 32px;\\n opacity: 0;\\n -webkit-transform: translateY(10px) scale(1);\\n transform: translateY(10px) scale(1);\\n background: #fff;\\n}\\n\\n[aria-hidden=\\\"false\\\"] .modalContent {\\n -webkit-animation: bouncyEntrance 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);\\n animation: bouncyEntrance 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);\\n -webkit-animation-fill-mode: forwards;\\n animation-fill-mode: forwards;\\n }\\n\\n@-webkit-keyframes bouncyEntrance {\\n 0% {\\n opacity: 0;\\n -webkit-transform: translateY(10px) scale(0.9);\\n transform: translateY(10px) scale(0.9);\\n }\\n\\n 100% {\\n opacity: 1;\\n -webkit-transform: translateY(0) scale(1);\\n transform: translateY(0) scale(1);\\n }\\n}\\n\\n@keyframes bouncyEntrance {\\n 0% {\\n opacity: 0;\\n -webkit-transform: translateY(10px) scale(0.9);\\n transform: translateY(10px) scale(0.9);\\n }\\n\\n 100% {\\n opacity: 1;\\n -webkit-transform: translateY(0) scale(1);\\n transform: translateY(0) scale(1);\\n }\\n}\\n\\n@media (min-width: 480px) {\\n .modalContainer::before {\\n background-color: rgb(14, 30, 37);\\n -webkit-animation: fadeIn 0.1s ease-in;\\n animation: fadeIn 0.1s ease-in;\\n -webkit-animation-fill-mode: forwards;\\n animation-fill-mode: forwards;\\n }\\n\\n .modalDialog {\\n max-width: 364px;\\n -webkit-box-pack: center;\\n -ms-flex-pack: center;\\n justify-content: center;\\n }\\n\\n .modalContent {\\n background: #fff;\\n -webkit-box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .07),\\n 0 12px 32px 0 rgba(14, 30, 37, .1);\\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .07),\\n 0 12px 32px 0 rgba(14, 30, 37, .1);\\n border-radius: 8px;\\n margin-top: 32px;\\n }\\n}\\n\\n@-webkit-keyframes fadeIn {\\n 0% {\\n opacity: 0;\\n }\\n\\n 100% {\\n opacity: 0.67;\\n }\\n}\\n\\n@keyframes fadeIn {\\n 0% {\\n opacity: 0;\\n }\\n\\n 100% {\\n opacity: 0.67;\\n }\\n}\\n\\n.flashMessage {\\n text-align: center;\\n color: rgb(14, 30, 37);\\n font-weight: 500;\\n font-size: 14px;\\n background-color: #f2f3f3;\\n padding: 6px;\\n border-radius: 4px;\\n opacity: 0.7;\\n -webkit-transition: opacity 0.2s linear;\\n transition: opacity 0.2s linear;\\n}\\n\\n.flashMessage:hover,\\n.flashMessage:focus {\\n opacity: 1;\\n}\\n\\n.error {\\n color: #fa3946;\\n background-color: #fceef0;\\n opacity: 1;\\n}\\n\\n.error span::before {\\n content: \\\"\\\";\\n display: inline-block;\\n position: relative;\\n top: 3px;\\n margin-right: 4px;\\n width: 16px;\\n height: 16px;\\n background: no-repeat center center;\\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8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MzMywxMC44NzMzMzMzIDguODMzMzMzMzMsMTEuMzMzMzMzMyBDOC44MzMzMzMzMywxMS43OTMzMzMzIDguNDYsMTIuMTY2NjY2NyA4LDEyLjE2NjY2NjcgWiIvPgo8L3N2Zz4K);\\n}\\n\\n.success {\\n}\\n\\n.disabled {\\n opacity: 0.38;\\n pointer-events: none;\\n}\\n\\n.infoText {\\n text-align: center;\\n margin: 32px 0;\\n}\\n\\n.infoTextEmail {\\n font-size: 16px;\\n font-weight: 500;\\n}\\n\\n.saving {\\n background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABQCAMAAACeYYN3AAAAxlBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////DTx3aAAAAQnRSTlMAAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2Nzg5Ojs8PT4/QEGgjKRfAAACk0lEQVR4AYXQDXP5WhAG8CUhiSQqSv4RRRMVL1Fa1VZf3PL9v9Tde9wc9M8+P8/M7s6czJiHgNIvVCJO6YiAMlAiWckASiQrm4bJMZTDrmbBIEC9qpgVjp6n4B+oyEwCzKrMQBVaQIlkpmXZln1dhQB+49gOh5dLexlV6MhsAqyazEQVugCqsOK5nsQmwPWZ53ucvyczSGb4l9T9OsdnLgFOXVZFFd4AqEKrIasR4AdBI2hw1GR6VzMwSWY2A60ZNDl6KnUC3KbMRhXeAqhCpyXzCAjarNVucdqXVEhWaRfCdsj5vQcE1EOZQ7Jy+EcUlklWi2Q3BLQ6nagTcTra2Y0qrHZirRN3OOezTUAjvq4bd7suqpDfSGJUoXcnCwiIerIqqlC96vf6HD1ZsUcE3PYH/QGnrx3uYnqoQn4l6aMK/XtZi4BuIrNIZqVJkiapkhx37Y6AcDgcpsNU44Nz3OuoQn4jSVGFNw+ykID+SGaTzM5G2YiTFVM73AMConE2zjhj7XAXs4EqHE/4d12GKgwmsoiAZCpzSObMptPZdHZVSkCc5/ksnym8cPRUmiQzpvNcmedzTl4o7qlBsuZc1iVg9ChDFdYWshEBveV/FssFZ/l7Z7eowsfl0/JJ4UXj43A/ogpbT7IeAZNnWQ1VuJJNCBi8HKxeVhw9tRaq8JkfrV/WHDULxb1CFbbX7HX9yllfck9A/ipzSea+yeYEJO+yEFX4tim8b94VXjj/zzdU4Z/NmY/NB+fkTglYfMg8knmfsiUBD1+yCFX4+X309f3FOds/UYVR8fH2e6vwovExIuB5K/NJ5v8jWxGQ/chiVOF2d+pn98M5zt3WJFm83+/2O4UXjprabkzAWn+o56k9qvBfX4hMaM+SxOMAAAAASUVORK5CYII=);\\n background-repeat: repeat-x;\\n background-size: contain;\\n background-origin: border-box;\\n background-position: 0% 0%;\\n -webkit-animation: loading 20s linear infinite;\\n animation: loading 20s linear infinite;\\n pointer-events: none;\\n}\\n\\n.saving::after {\\n content: \\\"\\\\2026\\\";\\n}\\n\\n@-webkit-keyframes loading {\\n 0% {\\n background-position: 0% 0%;\\n }\\n\\n 100% {\\n background-position: 700% 0%;\\n }\\n}\\n\\n@keyframes loading {\\n 0% {\\n background-position: 0% 0%;\\n }\\n\\n 100% {\\n background-position: 700% 0%;\\n }\\n}\\n\\n.btn {\\n display: block;\\n position: relative;\\n width: 100%;\\n height: auto;\\n margin: 14px 0 0;\\n padding: 6px;\\n outline: 0;\\n cursor: pointer;\\n border: 2px solid rgb(14, 30, 37);\\n border-radius: 4px;\\n background-color: #2d3b41;\\n color: #fff;\\n -webkit-transition: background-color 0.2s ease;\\n transition: background-color 0.2s ease;\\n font-family: -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, Helvetica,\\n Arial, sans-serif, \\\"Apple Color Emoji\\\", \\\"Segoe UI Emoji\\\", \\\"Segoe UI Symbol\\\";\\n font-size: 14px;\\n font-weight: 500;\\n line-height: 24px;\\n text-align: center;\\n text-decoration: none;\\n white-space: nowrap;\\n}\\n\\n.btn:hover,\\n.btn:focus {\\n background-color: rgb(14, 30, 37);\\n text-decoration: none;\\n}\\n\\n.btnClose {\\n position: absolute;\\n top: 0;\\n right: 0;\\n margin: 0;\\n padding: 0;\\n border: 0;\\n width: 24px;\\n height: 24px;\\n border-radius: 50%;\\n margin: 6px;\\n background: #fff;\\n color: #a3a9ac;\\n}\\n\\n.btnClose::before {\\n content: \\\"\\\\D7\\\";\\n font-size: 25px;\\n line-height: 9px;\\n}\\n\\n.btnClose:hover,\\n.btnClose:focus {\\n background: #e9ebeb;\\n color: rgb(14, 30, 37);\\n}\\n\\n.header {\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n margin-top: -8px;\\n margin-bottom: 32px;\\n}\\n\\n.btnHeader {\\n font-size: 16px;\\n line-height: 24px;\\n background: #fff;\\n color: #a3a9ac;\\n border: 0;\\n border-bottom: 2px solid #e9ebeb;\\n border-radius: 4px 4px 0 0;\\n margin: 0;\\n}\\n\\n.btnHeader:focus,\\n.btnHeader.active {\\n background: #fff;\\n color: rgb(14, 30, 37);\\n border-color: rgb(14, 30, 37);\\n font-weight: 700;\\n}\\n\\n.btnHeader:not(:only-child):hover {\\n background-color: #e9ebeb;\\n color: rgb(14, 30, 37);\\n}\\n\\n.btnHeader:only-child {\\n cursor: auto;\\n}\\n\\n.btnLink {\\n display: block;\\n position: relative;\\n width: auto;\\n height: auto;\\n margin: 14px auto 0;\\n padding: 6px;\\n padding-bottom: 0;\\n outline: 0;\\n cursor: pointer;\\n color: rgb(14, 30, 37);\\n border: none;\\n border-bottom: 2px solid #e9ebeb;\\n border-radius: 0;\\n background-color: inherit;\\n -webkit-transition: border-color 0.2s ease;\\n transition: border-color 0.2s ease;\\n font-family: -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, Helvetica,\\n Arial, sans-serif, \\\"Apple Color Emoji\\\", \\\"Segoe UI Emoji\\\", \\\"Segoe UI Symbol\\\";\\n font-size: 14px;\\n font-weight: 500;\\n line-height: 24px;\\n text-align: center;\\n white-space: nowrap;\\n}\\n\\n.btnLink:hover,\\n.btnLink:focus {\\n background-color: inherit;\\n border-color: #a3a9ac;\\n}\\n\\n.form {\\n}\\n\\n.formGroup {\\n position: relative;\\n margin-top: 14px;\\n}\\n\\n.formControl {\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n display: block;\\n width: 100%;\\n height: 40px;\\n margin: 0;\\n padding: 6px 12px 6px 34px;\\n border: 2px solid #e9ebeb;\\n border-radius: 4px;\\n background: #fff;\\n color: rgb(14, 30, 37);\\n -webkit-box-shadow: none;\\n box-shadow: none;\\n font-size: 14px;\\n font-weight: 500;\\n line-height: 24px;\\n -webkit-transition: -webkit-box-shadow ease-in-out 0.15s;\\n transition: -webkit-box-shadow ease-in-out 0.15s;\\n transition: box-shadow ease-in-out 0.15s;\\n transition: box-shadow ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;\\n -webkit-appearance: none;\\n -moz-appearance: none;\\n}\\n\\n.inputFieldIcon {\\n position: absolute;\\n top: 12px;\\n left: 12px;\\n display: inline-block;\\n width: 16px;\\n height: 16px;\\n background-repeat: no-repeat;\\n background-position: center;\\n pointer-events: none;\\n}\\n\\n.inputFieldName {\\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDE0IDE0Ij4gIDxwYXRoIGZpbGw9IiNBM0E5QUMiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTgsNyBDNi4zNDMxNDU3NSw3IDUsNS42NTY4NTQyNSA1LDQgQzUsMi4zNDMxNDU3NSA2LjM0MzE0NTc1LDEgOCwxIEM5LjY1Njg1NDI1LDEgMTEsMi4zNDMxNDU3NSAxMSw0IEMxMSw1LjY1Njg1NDI1IDkuNjU2ODU0MjUsNyA4LDcgWiBNOCwxNSBMMS41LDE1IEMxLjUsMTEuMTM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xMDQ1Njk1IDYuODk1NDMwNSwxMyA4LDEzIEM5LjEwNDU2OTUsMTMgMTAsMTIuMTA0NTY5NSAxMCwxMSBaIE04LDExIEM3LjQ0NzcxNTI1LDExIDcsMTAuNTUyMjg0NyA3LDEwIEw3LDYgQzcsNS40NDc3MTUyNSA3LjQ0NzcxNTI1LDUgOCw1IEM4LjU1MjI4NDc1LDUgOSw1LjQ0NzcxNTI1IDksNiBMOSwxMCBDOSwxMC41NTIyODQ3IDguNTUyMjg0NzUsMTEgOCwxMSBaIiB0cmFuc2Zvcm09InJvdGF0ZSg0NSA4LjcwNyA2LjI5MykiLz48L3N2Zz4=);\\n}\\n\\n.formLabel {\\n}\\n\\n.hr {\\n border: 0;\\n border-top: 2px solid #e9ebeb;\\n margin: 32px 0 -1px;\\n text-align: center;\\n overflow: visible;\\n}\\n\\n.hr::before {\\n content: \\\"or\\\";\\n position: relative;\\n display: inline-block;\\n font-size: 12px;\\n font-weight: 800;\\n line-height: 1;\\n text-transform: uppercase;\\n background-color: #fff;\\n color: rgb(14, 30, 37);\\n padding: 4px;\\n top: -11px;\\n}\\n\\n.btnProvider {\\n padding-left: 40px;\\n padding-right: 40px;\\n}\\n\\n.btnProvider::before {\\n content: \\\"\\\";\\n position: absolute;\\n display: inline-block;\\n vertical-align: middle;\\n width: 32px;\\n height: 40px;\\n background-repeat: no-repeat;\\n background-position: left center;\\n top: -2px;\\n left: 14px;\\n}\\n\\n.providerGoogle {\\n background-color: #4285f4;\\n border-color: #366dc7;\\n}\\n\\n.providerGoogle:hover,\\n.providerGoogle:focus {\\n background-color: #366dc7;\\n}\\n\\n.providerGitHub {\\n background-color: #333;\\n border-color: #000;\\n}\\n\\n.providerGitHub:hover,\\n.providerGitHub:focus {\\n background-color: #000;\\n}\\n\\n.providerGitLab {\\n background-color: #e24329;\\n border-color: #b03320;\\n}\\n\\n.providerGitLab:hover,\\n.providerGitLab:focus {\\n background-color: #b03320;\\n}\\n\\n.providerBitbucket {\\n background-color: #205081;\\n border-color: #14314f;\\n}\\n\\n.providerBitbucket:hover,\\n.providerBitbucket:focus {\\n background-color: #14314f;\\n}\\n\\n.providerGoogle:before {\\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDEzIDEyIj4gIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEuNDg4IC0yKSI+ICAgIDxyZWN0IHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIvPiAgICA8cGF0aCBmaWxsPSIjRkZGRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iIGQ9Ik0wLjY1MjczNDM3NSwzLjI5NTI4MjQ0IEMwLjIzNzk4NDM3NSw0LjEwNTgzMjA2IDIuODQyMTcwOTRlLTE0LDUuMDE2MDQ1OCAyLjg0MjE3MDk0ZS0xNCw1Ljk3OTM4OTMxIEMyLjg0MjE3MDk0ZS0xNCw2Ljk0MjczMjgyIDAuMjM3OTg0Mzc1LDcuODUyOTAwNzYgMC42NTI3MzQzNzUsOC42NjM0NTAzOCBDMS42NTkwNDY4NywxMC42MTY3MDIzIDMuNzI2MDkzNzUsMTEuOTU4Nzc4NiA2LjExOTUzMTI1LDExLjk1ODc3ODYgQzcuNzcxNzgxMjUsMTEuOTU4Nzc4NiA5LjE1ODg1OTM3LDExLjQyNzI1MTkgMTAuMTcyMDE1NiwxMC41MTA0NDI3IEMxMS4zMjc5MDYyLDkuNDY3MzU4NzggMTEuOTk0MjgxMiw3LjkzMjY0MTIyIDExLjk5NDI4MTIsNi4xMTIyNTk1NCBDMTEuOTk0MjgxMiw1LjYyMDYyNTk1IDExLjk1MzQ1MzEsNS4yNjE4NjI2IDExLjg2NTA5MzcsNC44ODk4MTY3OSBMNi4xMTk1MzEyNSw0Ljg4OTgxNjc5I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TQuMTU1NzA3OSBDMTEuNzIxNDAzNSwxNC4wMTk1OTU2IDExLjkyNzI2NjcsMTIuOTk4NzUxNiAxMi4yMDE3NTE4LDExLjU2OTU2OTIgTDEyLjIwMTc1MTgsMTEuNTAxNTEzIEMxMi4yNzAzNzI5LDExLjM2NTQgMTIuMjAxNzUxOCwxMS4yMjkyODc2IDEyLjA2NDUwOTYsMTEuMjI5Mjg3NiBMMTIuMDY0NTA5NiwxMS4yMjkyODc2IFoiLz4gICAgICA8ZWxsaXBzZSBjeD0iNyIgY3k9IjcuNjkiIHJ4PSIxLjA5OCIgcnk9IjEuMDg5Ii8+ICAgIDwvZz4gIDwvZz48L3N2Zz4=);\\n}\\n\\n.callOut {\\n display: block;\\n padding: 32px;\\n font-size: 14px;\\n font-weight: 500;\\n text-decoration: none;\\n color: #a3a9ac;\\n text-align: center;\\n}\\n\\n.callOut:after {\\n content: \\\" \\\\2665\\\";\\n -webkit-transition: color 4s ease;\\n transition: color 4s ease;\\n}\\n\\n.callOut:hover:after {\\n color: red;\\n}\\n\\n.callOut .netlifyLogo {\\n display: block;\\n margin: auto;\\n width: 32px;\\n height: 32px;\\n margin-bottom: 8px;\\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmlld0JveD0iMCAwIDMyIDMyIj4gIDxkZWZzPiAgICA8cmFkaWFsR3JhZGllbnQgaWQ9ImEiIGN5PSIwJSIgcj0iMTAwJSIgZng9IjUwJSIgZnk9IjAlIiBncmFkaWVudFRyYW5zZm9ybT0ibWF0cml4KDAgMSAtMS4xNTE4NSAwIC41IC0uNSkiPiAgICAgIDxzdG9wIHN0b3AtY29sb3I9IiMyMEM2QjciIG9mZnNldD0iMCUiLz4gICAgICA8c3RvcCBzdG9wLWNvbG9yPSIjNEQ5QUJGIiBvZmZzZXQ9IjEwMCUiLz4gICAgPC9yYWRpYWxHc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A1NzEzIDcuMzc4Nzg1OTQsMTguMzE0MDI3NSA3LjM1MTU1NzgzLDE4LjM0MDkzOTkgTDMuNjM0OTIsMTkuOTE1MzE2NSBDMy42MzQ5MiwxOS45MTUzMTY1IDMuNjIxMzA1OTQsMTkuOTE1MzE2NSAzLjYwNzY5MTg4LDE5LjkwMTg2MDMgTDAuNjI2MjEzMTg1LDE2Ljk0MTQ5NDEgQzAuNjEyNTk5MTI3LDE2LjkyODAzNzggMC41OTg5ODUwNjksMTYuOTAxMTI1NCAwLjYxMjU5OTEyNywxNi44ODc2NjkyIEMwLjYyNjIxMzE4NSwxNi44NzQyMTMgMC42Mzk4MjcyNDMsMTYuODYwNzU2OCAwLjY2NzA1NTM1OSwxNi44NjA3NTY4IEw3LjM1MTU1NzgzLDE4LjI0Njc0NjQgWiIvPjwvc3ZnPg==);\\n}\\n\\n.visuallyHidden {\\n border: 0;\\n clip: rect(0 0 0 0);\\n height: 1px;\\n margin: -1px;\\n overflow: hidden;\\n padding: 0;\\n position: absolute;\\n width: 1px;\\n #fff-space: nowrap;\\n}\\n\\n.subheader {\\n margin-top: 2em;\\n border-top: 1px solid rgb(14, 30, 37);\\n}\\n\\n.subheader h3 {\\n padding-top: 1em;\\n text-align: center;\\n }\\n\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./components/modal.css\n// module id = 27\n// module chunks = 0","/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\nmodule.exports = function(useSourceMap) {\n\tvar list = [];\n\n\t// return the list of modules as css string\n\tlist.toString = function toString() {\n\t\treturn this.map(function (item) {\n\t\t\tvar content = cssWithMappingToString(item, useSourceMap);\n\t\t\tif(item[2]) {\n\t\t\t\treturn \"@media \" + item[2] + \"{\" + content + \"}\";\n\t\t\t} else {\n\t\t\t\treturn content;\n\t\t\t}\n\t\t}).join(\"\");\n\t};\n\n\t// import a list of modules into the list\n\tlist.i = function(modules, mediaQuery) {\n\t\tif(typeof modules === \"string\")\n\t\t\tmodules = [[null, modules, \"\"]];\n\t\tvar alreadyImportedModules = {};\n\t\tfor(var i = 0; i < this.length; i++) {\n\t\t\tvar id = this[i][0];\n\t\t\tif(typeof id === \"number\")\n\t\t\t\talreadyImportedModules[id] = true;\n\t\t}\n\t\tfor(i = 0; i < modules.length; i++) {\n\t\t\tvar item = modules[i];\n\t\t\t// skip already imported module\n\t\t\t// this implementation is not 100% perfect for weird media query combinations\n\t\t\t// when a module is imported multiple times with different media queries.\n\t\t\t// I hope this will never occur (Hey this way we have smaller bundles)\n\t\t\tif(typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\n\t\t\t\tif(mediaQuery && !item[2]) {\n\t\t\t\t\titem[2] = mediaQuery;\n\t\t\t\t} else if(mediaQuery) {\n\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\n\t\t\t\t}\n\t\t\t\tlist.push(item);\n\t\t\t}\n\t\t}\n\t};\n\treturn list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n\tvar content = item[1] || '';\n\tvar cssMapping = item[3];\n\tif (!cssMapping) {\n\t\treturn content;\n\t}\n\n\tif (useSourceMap && typeof btoa === 'function') {\n\t\tvar sourceMapping = toComment(cssMapping);\n\t\tvar sourceURLs = cssMapping.sources.map(function (source) {\n\t\t\treturn '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'\n\t\t});\n\n\t\treturn [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n\t}\n\n\treturn [content].join('\\n');\n}\n\n// Adapted from convert-source-map (MIT)\nfunction toComment(sourceMap) {\n\t// eslint-disable-next-line no-undef\n\tvar base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n\tvar data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;\n\n\treturn '/*# ' + data + ' */';\n}\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/css-loader/lib/css-base.js"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///netlify-identity-widget.js","webpack:///webpack/bootstrap 775367a79ca57956829c","webpack:///../node_modules/preact/dist/preact.mjs","webpack:///../node_modules/mobx/lib/mobx.module.js","webpack:///../node_modules/mobx-preact/lib/index.js","webpack:///../node_modules/mobx-preact/lib/observer.js","webpack:///../node_modules/mobx-preact/lib/utils/utils.js","webpack:///../node_modules/mobx-preact/lib/inject.js","webpack:///../node_modules/micro-api-client/lib/index.js","webpack:///./components/forms/button.js","webpack:///./components/forms/message.js","webpack:///./index.js","webpack:///./netlify-identity.js","webpack:///../node_modules/webpack/buildin/global.js","webpack:///../node_modules/mobx-preact/lib/connect.js","webpack:///../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","webpack:///../node_modules/mobx-preact/lib/Provider.js","webpack:///../node_modules/gotrue-js/lib/index.js","webpack:///../node_modules/micro-api-client/lib/pagination.js","webpack:///../node_modules/gotrue-js/lib/user.js","webpack:///../node_modules/gotrue-js/lib/admin.js","webpack:///./components/app.js","webpack:///./components/modal/index.js","webpack:///./components/forms/siteurl.js","webpack:///./components/forms/logout.js","webpack:///./components/forms/user.js","webpack:///./components/forms/providers.js","webpack:///./state/store.js","webpack:///./components/controls.js","webpack:///./components/modal.css","webpack:///../node_modules/css-loader/lib/css-base.js"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","i","l","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","__webpack_exports__","h","nodeName","attributes","lastSimple","child","simple","children","EMPTY_CHILDREN","arguments","length","stack","push","pop","undefined","String","VNode","key","options","vnode","extend","obj","props","cloneElement","slice","enqueueRender","component","_dirty","items","debounceRendering","defer","rerender","list","renderComponent","isSameNodeType","node","hydrating","splitText","_componentConstructor","isNamedNode","normalizedNodeName","toLowerCase","getNodeProps","defaultProps","createNode","isSvg","document","createElementNS","createElement","removeNode","parentNode","removeChild","setAccessor","old","value","style","cssText","IS_NON_DIMENSIONAL","test","innerHTML","__html","useCapture","replace","substring","addEventListener","eventProxy","removeEventListener","_listeners","e","removeAttribute","ns","removeAttributeNS","setAttributeNS","setAttribute","className","this","type","event","flushMounts","mounts","afterMount","componentDidMount","diff","dom","context","mountAll","parent","componentRoot","diffLevel","isSvgMode","ownerSVGElement","ret","idiff","appendChild","out","prevSvgMode","_component","nodeValue","createTextNode","replaceChild","recollectNodeTree","vnodeName","buildComponentFromVNode","firstChild","fc","vchildren","a","nextSibling","innerDiffNode","dangerouslySetInnerHTML","diffAttributes","isHydrating","j","f","vchild","originalChildren","childNodes","keyed","keyedLen","min","len","childrenLen","vlen","_child","__key","trim","insertBefore","unmountOnly","unmountComponent","ref","removeChildren","lastChild","next","previousSibling","attrs","createComponent","Ctor","inst","recyclerComponents","render","Component","constructor","doRender","nextBase","splice","state","setComponentProps","renderMode","_disable","__ref","getDerivedStateFromProps","base","componentWillMount","componentWillReceiveProps","prevContext","prevProps","syncComponentUpdates","isChild","rendered","cbase","previousProps","previousState","prevState","previousContext","isUpdate","initialBase","initialChildComponent","skip","snapshot","shouldComponentUpdate","componentWillUpdate","getChildContext","getSnapshotBeforeUpdate","toUnmount","childComponent","childProps","_parentComponent","baseParent","componentRef","t","unshift","componentDidUpdate","afterUpdate","_renderCallbacks","originalComponent","oldDom","isDirectOwner","isOwner","beforeUnmount","componentWillUnmount","inner","merge","Promise","resolve","then","bind","setTimeout","setState","callback","forceUpdate","global","__extends","b","__","extendStatics","create","hasInterceptors","interceptable","interceptors","registerInterceptor","handler","once","idx","indexOf","interceptChange","change","prevU","untrackedStart","invariant","untrackedEnd","hasListeners","listenable","changeListeners","registerListener","listeners","notifyListeners","isSpyEnabled","globalState","spyListeners","spyReport","spyReportStart","objectAssign","spyReportEnd","END_EVENT","spy","listener","iteratorSymbol","Symbol","iterator","arrayAsIterator","array","IS_ITERATING_MARKER","addHiddenFinalProp","done","declareIterator","prototType","iteratorFactory","createArrayEntryDescriptor","index","set","createArrayBufferItem","ObservableArray","reserveArrayBuffer","max","OBSERVABLE_ARRAY_BUFFER_SIZE","isObservableArray","thing","isObject","isObservableArrayAdministration","$mobx","getMessage","id","messages","createAction","actionName","fn","res","executeAction","originalFn","isMobxAction","scope","args","runInfo","startAction","apply","endAction","notifySpy","startTime","Date","now","flattendArgs","Array","prevDerivation","startBatch","prevAllowStateChanges","allowStateChangesStart","allowStateChangesEnd","endBatch","time","useStrict","strict","trackingDerivation","strictMode","allowStateChanges","isStrictModeEnabled","func","prev","createClassPropertyDecorator","onInitialize","allowCustomArguments","classPropertyDecorator","target","descriptor","customArgs","argLen","quacksLikeADecorator","addHiddenProp","__mobxLazyInitializers","value_1","initializer_1","initializer","instance","__mobxDidRunLazyInitializers","runLazyInitializers","v","newDescriptor","__mobxInitializedProps","typescriptInitializeProperty","outerArgs","baseDescriptor","forEach","namedActionDecorator","prop","Error","actionFieldDecorator","runInAction","arg1","arg2","arg3","isAction","defineBoundAction","propertyName","deepEqual","eq","aStack","bStack","_typeof","deepEq","unwrap","toString","valueOf","areArrays","aCtor","bCtor","keys","has","peek","isObservableMap","entries","isES6Map","iteratorToArray","identityComparer","structuralComparer","defaultComparer","areBothNaN","autorun","reactionRunner","view","reaction","getNextId","Reaction","track","schedule","getDisposer","when","arg4","predicate","effect","r","dispose","prevUntracked","autorunAsync","delay","isScheduled","isDisposed","expression","changed","nextValue","firstTime","equals","opts","fireImmediately","fail","isModifierDescriptor","compareStructural","struct","action","comparer","structural","default","asObservableObject","isObservableObject","isExtensible","isPlainObject","adm","ObservableObjectAdministration","defineObservablePropertyFromDescriptor","propName","defaultEnhancer","values","isComputedValue","modifierDescriptor","defineObservableProperty","initialValue","enhancer","autoBind","defineComputedPropertyFromComputedValue","defineComputedProperty","newValue","assertPropertyConfigurable","ObservableValue","generateObservablePropConfig","notifyPropertyAddition","setter","asInstanceProperty","ComputedValue","generateComputedPropConfig","computedValue","observablePropertyConfigs","setPropertyValue","computedPropertyConfigs","observable","prepareNewValue","UNCHANGED","notify","oldValue","setNewValue","isObservableObjectAdministration","isObservable","isAtom","isReaction","createDecoratorForEnhancer","baseValue","_","extendObservable","properties","_i","extendObservableHelper","deepEnhancer","extendShallowObservable","referenceEnhancer","propSet","definedProps","isPropertyConfigurable","getOwnPropertyDescriptor","createObservable","deepDecorator","box","incorrectlyUsedAsDecorator","methodName","isMobxModifierDescriptor","createModifierDescriptor","isArray","map","shallowEnhancer","shallowArray","shallowObject","shallowMap","deepStructEnhancer","ObservableMap","refStructEnhancer","transaction","thisArg","initialValues","deprecated","getGlobal","window","mobxGuid","message","check","msg","deprecatedMessages","console","error","invoked","unique","item","joinStrings","things","limit","separator","join","proto","getPrototypeOf","source","prototypeHasOwnProperty","writable","createInstanceofPredicate","clazz","x","isNaN","isArrayLike","Map","getMapLikeKeys","map$$1","_a","from","it","primitiveSymbol","toPrimitive","isolateGlobalState","runInIsolationCalled","__mobxInstanceCount","shareGlobalState","shareGlobalStateCalled","ownState","__mobservableTrackingStack","__mobservableViewStack","__mobxGlobal","version","getGlobalState","resetGlobalState","resetId","defaultGlobals","MobXGlobals","persistentKeys","getAtom","atom","anyThing","_keys","_data","_hasMap","getDebugName","getAdministration","named","getDependencyTree","nodeToDependencyTree","result","observing","dependencies","getObserverTree","nodeToObserverTree","hasObservers","observers","getObservers","addObserver","observersIndexes","__mapid","lowestObserverState","dependenciesState","removeObserver","queueForUnobservation","filler","isPendingUnobservation","pendingUnobservations","inBatch","runReactions","onBecomeUnobserved","reportObserved","derivation","runId","lastAccessedBy","newObserving","unboundDepsCount","propagateChanged","IDerivationState","STALE","UP_TO_DATE","isTracing","TraceMode","NONE","logTraceInfo","onBecomeStale","propagateChangeConfirmed","POSSIBLY_STALE","propagateMaybeChanged","log","BREAK","lines","printDepTree","Function","tree","depth","isCaughtException","CaughtException","shouldCompute","NOT_TRACKING","obs","changeDependenciesStateTo0","isComputingDerivation","checkIfStateModificationsAreAllowed","hasObservers$$1","computationDepth","trackDerivedFunction","prevTracking","bindDependencies","prevObserving","lowestNewObservingDerivationState","i0","dep","diffValue","clearObserving","untracked","whyRun","getAtomFromArgs","trace","enterBreakPoint","LOG","registerErrorHandler","errorHandler","onReactionError","globalReactionErrorHandlers","isRunningReactions","reactionScheduler","runReactionsHelper","allReactions","pendingReactions","iterations","MAX_REACTION_ITERATIONS","remainingReactions","runReaction","setReactionScheduler","baseScheduler","asReference","asStructure","asFlat","shallow","asMap","data","createComputedDecorator","originalDescriptor","isComputed","observe","propOrCb","cbOrFire","observeObservableProperty","observeObservable","intercept","propOrHandler","interceptProperty","interceptInterceptable","expr","warn","computed","toJS","detectCycles","__alreadySeen","cache","toAdd","res_1","isObservableValue","createTransformer","transformer","onCleanup","objectCache","Transformer","_super","sourceIdentifier","sourceObject","_this","lastValue","identifier","getMemoizationId","reactiveTransformer","tid","$transformId","interceptReads","dehancer","setPrototypeOf","__proto__","BaseAtom","reportChanged","Atom","onBecomeObservedHandler","onBecomeUnobservedHandler","noop","isBeingTracked","safariPrototypeSetterInheritanceBug","StubArray","ctor","isFrozen","ObservableArrayAdministration","owned","lastKnownLength","newV","oldV","dehanceValue","dehanceValues","added","addedCount","removed","removedCount","getArrayLength","setArrayLength","newLength","currentLength","newItems","spliceWithArray","updateArrayLength","oldLength","delta","deleteCount","Math","EMPTY_ARRAY","spliceItemsIntoValues","notifyArraySplice","concat","notifyArrayChildUpdate","ENTRY_0","clear","arrays","toJSON","find","fromIndex","findIndex","shift","reverse","clone","sort","remove","move","toIndex","checkIndex","oldItems","impl","funcName","baseFunc","propNames","hasUnreportedChange","m001","m002","m003","m004","m005","m006","m007","m008","m009","m010","m011","m012","m013","m014","m015","m016","m017","m018","m019","m020","m021","m022","m024","m025","m026","m028","m029","m030a","m030b","m031","m032","m033","m034","m035","m036","m037","m038","boundActionDecorator","bound","action_1","identity","isComputing","isRunningSetter","computeValue","trackAndCompute","cause","wasSuspended","prevValue","isTracking","shallowDecorator","refDecorator","deepStructDecorator","refStructDecorator","observableFactories","shallowBox","deep","ObservableMapMarker","initialData","_has","isValidKey","_updateHasMapEntry","assertValidKey","hasKey","_updateValue","_addValue","delete","entry","observable$$1","other","newKeys","filter","k","freeze","warnedAboutMultipleInstances","global_1","onInvalidate","_isScheduled","_isTrackPending","_isRunning","reportExceptionInDerivation","messageToUser","onError","computedDecorator","computedStructDecorator","extras","everything","isBoxedObservable","warnedAboutDefaultExport","val","__MOBX_DEVTOOLS_GLOBAL_HOOK__","injectMobx","Provider","inject","connect","useStaticRendering","Observer","observer","_observer","require","_connect","_inject","_Provider","_mobx","_classCallCheck","Constructor","TypeError","_possibleConstructorReturn","self","ReferenceError","_typeof2","_inherits","subClass","superClass","isUsingStaticRendering","patch","runMixinFirst","mixinFunc","reactiveMixin","isObjectShallowModified","componentClass","logger","isMobxInjector","_utils","isStateless","_class","_temp","_Component","_createClass","_preact","displayName","makeDisplayName","mixinLifecycleEvents","isMobXReactObserver","defineProperties","protoProps","staticProps","makePropertyObservableReference","valueHolder","isForcingUpdate","skipRender","initialName","baseRender","isRenderingPending","initialRender","componentWillReact","__$mobxIsUnmounted","hasError","reactComponent","reactiveRender","exception","rendering","nextProps","nextState","_ref","isPrototypeOf","_ref$prefix","prefix","_ref$suffix","suffix","createStoreInjector","grabStoresFn","injectNames","Injector","newProps","additionalProps","mobxStores","_key","_hoistNonReactStatics2","wrappedComponent","proxiedInjectorProps","grabStoresByName","storeNames","baseStores","storeName","injected","_hoistNonReactStatics","JSONHTTPError","TextHTTPError","HTTPError","getPagination","_extends","assign","_pagination","_extendableBuiltin2","response","statusText","captureStackTrace","status","cls","ExtendableBuiltin","Reflect","construct","_HTTPError","_this2","_HTTPError2","json","_this3","API","apiURL","match","_sameOrigin","defaultHeaders","Content-Type","ok","reject","pagination","path","_this4","headers","credentials","fetch","contentType","parseJsonResponse","text","Button","_props","saving","saving_text","confirm","password_mail","email_changed","verfication_error","signup_disabled","Message","_netlifyIdentity","_netlifyIdentity2","netlifyIdentity","readyState","init","_interopRequireDefault","trigger","_arguments","callbacks","cb","setStyle","el","css","queuedIframeStyle","instantiateGotrue","APIUrl","isLocal","localHosts","location","host","split","siteURL","localStorage","getItem","GoTrue","setCookie","parts","store","setIsLocal","setSiteURL","runRoutes","hash","routes","verifyToken","errorRoute","openModal","accessTokenRoute","params","pair","_pair$split","_pair$split2","_slicedToArray","cookie","completeExternalLogin","_options$logo","logo","namePlaceholder","controlEls","querySelectorAll","mode","getAttribute","_mobxPreact","_controls2","innerText","modal","setNamePlaceholder","iframe","onload","styles","contentDocument","modalCSS","head","root","_app2","body","iframeStyle","src","container","querySelector","sliceIterator","arr","_arr","_n","_d","_e","_s","err","_gotrueJs","_gotrueJs2","_app","_store","_store2","_controls","_modal","_modal2","validActions","login","signup","on","open","user","close","closeModal","currentUser","gotrue","logout","localhost","127.0.0.1","0.0.0.0","identity.netlify.com","position","top","left","border","width","height","overflow","background","display","z-index","settings","loadSettings","isOpen","page","removeItem","setItem","g","eval","hoistNonReactStatics","targetComponent","sourceComponent","blacklist","objectPrototype","inheritedComponent","getOwnPropertyNames","getOwnPropertySymbols","REACT_STATICS","KNOWN_STATICS","childContextTypes","contextTypes","getDefaultProps","mixins","propTypes","caller","callee","arity","specialReactKeys","stores","suppressChangedStoreWarning","_microApiClient","_microApiClient2","_user","_user2","HTTPRegexp","defaultApiURL","_ref$APIUrl","_ref$audience","audience","_ref$setCookie","api","aud","request","catch","error_description","_request","email","password","method","JSON","stringify","remember","_setRememberHeaders","encodeURIComponent","removeSavedSession","createUser","provider","token","verify","tokenResponse","getUserData","_saveSession","recoverSession","_fromStorage","links","total","link","_link$split","_link$split2","url","rel","parseInt","last","first","current","urlBase64Decode","str","output","atob","decodeURIComponent","escape","_admin","_admin2","refreshPromises","forbiddenUpdateAttributes","forbiddenSaveAttributes","User","_processTokenResponse","_saveUserData","_refreshSavedSession","forceRefresh","_tokenDetails","tokenDetails","expires_at","refresh_token","access_token","_refreshToken","clearSession","jwt","Authorization","fromStorage","claims","parse","exp","_details","userCopy","apiInstance","ex","Admin","_siteurl","_siteurl2","_logout","_logout2","_providers","_providers2","_message","_message2","pagesWithHeader","pages","button","button_saving","link_text","providers","amnesia","title","recovery","invite","App","_ret","_len","handleClose","handlePage","handleLogout","handleSiteURL","clearSiteURL","handleExternalLogin","externalLogin","handleUser","_ref2","requestPasswordRecovery","acceptInvite","updatePassword","pageLinkHandler","devMode","onSiteURL","onLogout","disable_signup","onSubmit","onclick","external","labels","external_labels","onLogin","showHeader","showSignup","devSettings","loading","onPage","onClose","renderBody","renderProviders","formatError","Modal","preventDefault","blockEvent","stopPropagation","linkHandler","role","aria-hidden","onClick","href","_defineProperty","SiteURLForm","handleInput","addSiteURL","development","_state","class","onsubmit","placeholder","autocapitalize","required","oninput","_button","_button2","LogoutForm","user_metadata","full_name","UserForm","handleLogin","label","_Component2","Providers","pId","_props2","getLabel","recovered_user","invite_token","email_change_token","setError","reloadSettings","doEmailChange","acceptInviteExternalUrl","loginExternalUrl","autoconfirm","update","recover","Controls","handleSignup","handleButton","cssWithMappingToString","useSourceMap","content","cssMapping","btoa","sourceMapping","toComment","sources","sourceRoot","sourceMap","unescape","mediaQuery","alreadyImportedModules"],"mappings":"CAAS,SAAUA,GCInB,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAE,OAGA,IAAAC,GAAAF,EAAAD,IACAI,EAAAJ,EACAK,GAAA,EACAH,WAUA,OANAJ,GAAAE,GAAAM,KAAAH,EAAAD,QAAAC,IAAAD,QAAAH,GAGAI,EAAAE,GAAA,EAGAF,EAAAD,QAvBA,GAAAD,KA4BAF,GAAAQ,EAAAT,EAGAC,EAAAS,EAAAP,EAGAF,EAAAU,EAAA,SAAAP,EAAAQ,EAAAC,GACAZ,EAAAa,EAAAV,EAAAQ,IACAG,OAAAC,eAAAZ,EAAAQ,GACAK,cAAA,EACAC,YAAA,EACAC,IAAAN,KAMAZ,EAAAmB,EAAA,SAAAf,GACA,GAAAQ,GAAAR,KAAAgB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,IAAoB8xB,EAAuB9xB,EAAK,MAC3D6xB,IAAe7xB,EAAK,GACtBA,EAAK,GAAK6xB,EACDA,IACT7xB,EAAK,GAAK,IAAMA,EAAK,GAAK,UAAY6xB,EAAa,KAEpDztC,EAAKpB,KAAKgd,MAIN5b","file":"netlify-identity-widget.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"/\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 9);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"h\", function() { return h; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createElement\", function() { return h; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"cloneElement\", function() { return cloneElement; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Component\", function() { return Component; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"rerender\", function() { return rerender; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"options\", function() { return options; });\nvar VNode = function VNode() {};\n\nvar options = {};\n\nvar stack = [];\n\nvar EMPTY_CHILDREN = [];\n\nfunction h(nodeName, attributes) {\n\tvar children = EMPTY_CHILDREN,\n\t lastSimple,\n\t child,\n\t simple,\n\t i;\n\tfor (i = arguments.length; i-- > 2;) {\n\t\tstack.push(arguments[i]);\n\t}\n\tif (attributes && attributes.children != null) {\n\t\tif (!stack.length) stack.push(attributes.children);\n\t\tdelete attributes.children;\n\t}\n\twhile (stack.length) {\n\t\tif ((child = stack.pop()) && child.pop !== undefined) {\n\t\t\tfor (i = child.length; i--;) {\n\t\t\t\tstack.push(child[i]);\n\t\t\t}\n\t\t} else {\n\t\t\tif (typeof child === 'boolean') child = null;\n\n\t\t\tif (simple = typeof nodeName !== 'function') {\n\t\t\t\tif (child == null) child = '';else if (typeof child === 'number') child = String(child);else if (typeof child !== 'string') simple = false;\n\t\t\t}\n\n\t\t\tif (simple && lastSimple) {\n\t\t\t\tchildren[children.length - 1] += child;\n\t\t\t} else if (children === EMPTY_CHILDREN) {\n\t\t\t\tchildren = [child];\n\t\t\t} else {\n\t\t\t\tchildren.push(child);\n\t\t\t}\n\n\t\t\tlastSimple = simple;\n\t\t}\n\t}\n\n\tvar p = new VNode();\n\tp.nodeName = nodeName;\n\tp.children = children;\n\tp.attributes = attributes == null ? undefined : attributes;\n\tp.key = attributes == null ? undefined : attributes.key;\n\n\tif (options.vnode !== undefined) options.vnode(p);\n\n\treturn p;\n}\n\nfunction extend(obj, props) {\n for (var i in props) {\n obj[i] = props[i];\n }return obj;\n}\n\nvar defer = typeof Promise == 'function' ? Promise.resolve().then.bind(Promise.resolve()) : setTimeout;\n\nfunction cloneElement(vnode, props) {\n return h(vnode.nodeName, extend(extend({}, vnode.attributes), props), arguments.length > 2 ? [].slice.call(arguments, 2) : vnode.children);\n}\n\nvar IS_NON_DIMENSIONAL = /acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i;\n\nvar items = [];\n\nfunction enqueueRender(component) {\n\tif (!component._dirty && (component._dirty = true) && items.push(component) == 1) {\n\t\t(options.debounceRendering || defer)(rerender);\n\t}\n}\n\nfunction rerender() {\n\tvar p,\n\t list = items;\n\titems = [];\n\twhile (p = list.pop()) {\n\t\tif (p._dirty) renderComponent(p);\n\t}\n}\n\nfunction isSameNodeType(node, vnode, hydrating) {\n\tif (typeof vnode === 'string' || typeof vnode === 'number') {\n\t\treturn node.splitText !== undefined;\n\t}\n\tif (typeof vnode.nodeName === 'string') {\n\t\treturn !node._componentConstructor && isNamedNode(node, vnode.nodeName);\n\t}\n\treturn hydrating || node._componentConstructor === vnode.nodeName;\n}\n\nfunction isNamedNode(node, nodeName) {\n\treturn node.normalizedNodeName === nodeName || node.nodeName.toLowerCase() === nodeName.toLowerCase();\n}\n\nfunction getNodeProps(vnode) {\n\tvar props = extend({}, vnode.attributes);\n\tprops.children = vnode.children;\n\n\tvar defaultProps = vnode.nodeName.defaultProps;\n\tif (defaultProps !== undefined) {\n\t\tfor (var i in defaultProps) {\n\t\t\tif (props[i] === undefined) {\n\t\t\t\tprops[i] = defaultProps[i];\n\t\t\t}\n\t\t}\n\t}\n\n\treturn props;\n}\n\nfunction createNode(nodeName, isSvg) {\n\tvar node = isSvg ? document.createElementNS('http://www.w3.org/2000/svg', nodeName) : document.createElement(nodeName);\n\tnode.normalizedNodeName = nodeName;\n\treturn node;\n}\n\nfunction removeNode(node) {\n\tvar parentNode = node.parentNode;\n\tif (parentNode) parentNode.removeChild(node);\n}\n\nfunction setAccessor(node, name, old, value, isSvg) {\n\tif (name === 'className') name = 'class';\n\n\tif (name === 'key') {} else if (name === 'ref') {\n\t\tif (old) old(null);\n\t\tif (value) value(node);\n\t} else if (name === 'class' && !isSvg) {\n\t\tnode.className = value || '';\n\t} else if (name === 'style') {\n\t\tif (!value || typeof value === 'string' || typeof old === 'string') {\n\t\t\tnode.style.cssText = value || '';\n\t\t}\n\t\tif (value && typeof value === 'object') {\n\t\t\tif (typeof old !== 'string') {\n\t\t\t\tfor (var i in old) {\n\t\t\t\t\tif (!(i in value)) node.style[i] = '';\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (var i in value) {\n\t\t\t\tnode.style[i] = typeof value[i] === 'number' && IS_NON_DIMENSIONAL.test(i) === false ? value[i] + 'px' : value[i];\n\t\t\t}\n\t\t}\n\t} else if (name === 'dangerouslySetInnerHTML') {\n\t\tif (value) node.innerHTML = value.__html || '';\n\t} else if (name[0] == 'o' && name[1] == 'n') {\n\t\tvar useCapture = name !== (name = name.replace(/Capture$/, ''));\n\t\tname = name.toLowerCase().substring(2);\n\t\tif (value) {\n\t\t\tif (!old) node.addEventListener(name, eventProxy, useCapture);\n\t\t} else {\n\t\t\tnode.removeEventListener(name, eventProxy, useCapture);\n\t\t}\n\t\t(node._listeners || (node._listeners = {}))[name] = value;\n\t} else if (name !== 'list' && name !== 'type' && !isSvg && name in node) {\n\t\ttry {\n\t\t\tnode[name] = value == null ? '' : value;\n\t\t} catch (e) {}\n\t\tif ((value == null || value === false) && name != 'spellcheck') node.removeAttribute(name);\n\t} else {\n\t\tvar ns = isSvg && name !== (name = name.replace(/^xlink:?/, ''));\n\n\t\tif (value == null || value === false) {\n\t\t\tif (ns) node.removeAttributeNS('http://www.w3.org/1999/xlink', name.toLowerCase());else node.removeAttribute(name);\n\t\t} else if (typeof value !== 'function') {\n\t\t\tif (ns) node.setAttributeNS('http://www.w3.org/1999/xlink', name.toLowerCase(), value);else node.setAttribute(name, value);\n\t\t}\n\t}\n}\n\nfunction eventProxy(e) {\n\treturn this._listeners[e.type](options.event && options.event(e) || e);\n}\n\nvar mounts = [];\n\nvar diffLevel = 0;\n\nvar isSvgMode = false;\n\nvar hydrating = false;\n\nfunction flushMounts() {\n\tvar c;\n\twhile (c = mounts.pop()) {\n\t\tif (options.afterMount) options.afterMount(c);\n\t\tif (c.componentDidMount) c.componentDidMount();\n\t}\n}\n\nfunction diff(dom, vnode, context, mountAll, parent, componentRoot) {\n\tif (!diffLevel++) {\n\t\tisSvgMode = parent != null && parent.ownerSVGElement !== undefined;\n\n\t\thydrating = dom != null && !('__preactattr_' in dom);\n\t}\n\n\tvar ret = idiff(dom, vnode, context, mountAll, componentRoot);\n\n\tif (parent && ret.parentNode !== parent) parent.appendChild(ret);\n\n\tif (! --diffLevel) {\n\t\thydrating = false;\n\n\t\tif (!componentRoot) flushMounts();\n\t}\n\n\treturn ret;\n}\n\nfunction idiff(dom, vnode, context, mountAll, componentRoot) {\n\tvar out = dom,\n\t prevSvgMode = isSvgMode;\n\n\tif (vnode == null || typeof vnode === 'boolean') vnode = '';\n\n\tif (typeof vnode === 'string' || typeof vnode === 'number') {\n\t\tif (dom && dom.splitText !== undefined && dom.parentNode && (!dom._component || componentRoot)) {\n\t\t\tif (dom.nodeValue != vnode) {\n\t\t\t\tdom.nodeValue = vnode;\n\t\t\t}\n\t\t} else {\n\t\t\tout = document.createTextNode(vnode);\n\t\t\tif (dom) {\n\t\t\t\tif (dom.parentNode) dom.parentNode.replaceChild(out, dom);\n\t\t\t\trecollectNodeTree(dom, true);\n\t\t\t}\n\t\t}\n\n\t\tout['__preactattr_'] = true;\n\n\t\treturn out;\n\t}\n\n\tvar vnodeName = vnode.nodeName;\n\tif (typeof vnodeName === 'function') {\n\t\treturn buildComponentFromVNode(dom, vnode, context, mountAll);\n\t}\n\n\tisSvgMode = vnodeName === 'svg' ? true : vnodeName === 'foreignObject' ? false : isSvgMode;\n\n\tvnodeName = String(vnodeName);\n\tif (!dom || !isNamedNode(dom, vnodeName)) {\n\t\tout = createNode(vnodeName, isSvgMode);\n\n\t\tif (dom) {\n\t\t\twhile (dom.firstChild) {\n\t\t\t\tout.appendChild(dom.firstChild);\n\t\t\t}\n\t\t\tif (dom.parentNode) dom.parentNode.replaceChild(out, dom);\n\n\t\t\trecollectNodeTree(dom, true);\n\t\t}\n\t}\n\n\tvar fc = out.firstChild,\n\t props = out['__preactattr_'],\n\t vchildren = vnode.children;\n\n\tif (props == null) {\n\t\tprops = out['__preactattr_'] = {};\n\t\tfor (var a = out.attributes, i = a.length; i--;) {\n\t\t\tprops[a[i].name] = a[i].value;\n\t\t}\n\t}\n\n\tif (!hydrating && vchildren && vchildren.length === 1 && typeof vchildren[0] === 'string' && fc != null && fc.splitText !== undefined && fc.nextSibling == null) {\n\t\tif (fc.nodeValue != vchildren[0]) {\n\t\t\tfc.nodeValue = vchildren[0];\n\t\t}\n\t} else if (vchildren && vchildren.length || fc != null) {\n\t\t\tinnerDiffNode(out, vchildren, context, mountAll, hydrating || props.dangerouslySetInnerHTML != null);\n\t\t}\n\n\tdiffAttributes(out, vnode.attributes, props);\n\n\tisSvgMode = prevSvgMode;\n\n\treturn out;\n}\n\nfunction innerDiffNode(dom, vchildren, context, mountAll, isHydrating) {\n\tvar originalChildren = dom.childNodes,\n\t children = [],\n\t keyed = {},\n\t keyedLen = 0,\n\t min = 0,\n\t len = originalChildren.length,\n\t childrenLen = 0,\n\t vlen = vchildren ? vchildren.length : 0,\n\t j,\n\t c,\n\t f,\n\t vchild,\n\t child;\n\n\tif (len !== 0) {\n\t\tfor (var i = 0; i < len; i++) {\n\t\t\tvar _child = originalChildren[i],\n\t\t\t props = _child['__preactattr_'],\n\t\t\t key = vlen && props ? _child._component ? _child._component.__key : props.key : null;\n\t\t\tif (key != null) {\n\t\t\t\tkeyedLen++;\n\t\t\t\tkeyed[key] = _child;\n\t\t\t} else if (props || (_child.splitText !== undefined ? isHydrating ? _child.nodeValue.trim() : true : isHydrating)) {\n\t\t\t\tchildren[childrenLen++] = _child;\n\t\t\t}\n\t\t}\n\t}\n\n\tif (vlen !== 0) {\n\t\tfor (var i = 0; i < vlen; i++) {\n\t\t\tvchild = vchildren[i];\n\t\t\tchild = null;\n\n\t\t\tvar key = vchild.key;\n\t\t\tif (key != null) {\n\t\t\t\tif (keyedLen && keyed[key] !== undefined) {\n\t\t\t\t\tchild = keyed[key];\n\t\t\t\t\tkeyed[key] = undefined;\n\t\t\t\t\tkeyedLen--;\n\t\t\t\t}\n\t\t\t} else if (min < childrenLen) {\n\t\t\t\t\tfor (j = min; j < childrenLen; j++) {\n\t\t\t\t\t\tif (children[j] !== undefined && isSameNodeType(c = children[j], vchild, isHydrating)) {\n\t\t\t\t\t\t\tchild = c;\n\t\t\t\t\t\t\tchildren[j] = undefined;\n\t\t\t\t\t\t\tif (j === childrenLen - 1) childrenLen--;\n\t\t\t\t\t\t\tif (j === min) min++;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\tchild = idiff(child, vchild, context, mountAll);\n\n\t\t\tf = originalChildren[i];\n\t\t\tif (child && child !== dom && child !== f) {\n\t\t\t\tif (f == null) {\n\t\t\t\t\tdom.appendChild(child);\n\t\t\t\t} else if (child === f.nextSibling) {\n\t\t\t\t\tremoveNode(f);\n\t\t\t\t} else {\n\t\t\t\t\tdom.insertBefore(child, f);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tif (keyedLen) {\n\t\tfor (var i in keyed) {\n\t\t\tif (keyed[i] !== undefined) recollectNodeTree(keyed[i], false);\n\t\t}\n\t}\n\n\twhile (min <= childrenLen) {\n\t\tif ((child = children[childrenLen--]) !== undefined) recollectNodeTree(child, false);\n\t}\n}\n\nfunction recollectNodeTree(node, unmountOnly) {\n\tvar component = node._component;\n\tif (component) {\n\t\tunmountComponent(component);\n\t} else {\n\t\tif (node['__preactattr_'] != null && node['__preactattr_'].ref) node['__preactattr_'].ref(null);\n\n\t\tif (unmountOnly === false || node['__preactattr_'] == null) {\n\t\t\tremoveNode(node);\n\t\t}\n\n\t\tremoveChildren(node);\n\t}\n}\n\nfunction removeChildren(node) {\n\tnode = node.lastChild;\n\twhile (node) {\n\t\tvar next = node.previousSibling;\n\t\trecollectNodeTree(node, true);\n\t\tnode = next;\n\t}\n}\n\nfunction diffAttributes(dom, attrs, old) {\n\tvar name;\n\n\tfor (name in old) {\n\t\tif (!(attrs && attrs[name] != null) && old[name] != null) {\n\t\t\tsetAccessor(dom, name, old[name], old[name] = undefined, isSvgMode);\n\t\t}\n\t}\n\n\tfor (name in attrs) {\n\t\tif (name !== 'children' && name !== 'innerHTML' && (!(name in old) || attrs[name] !== (name === 'value' || name === 'checked' ? dom[name] : old[name]))) {\n\t\t\tsetAccessor(dom, name, old[name], old[name] = attrs[name], isSvgMode);\n\t\t}\n\t}\n}\n\nvar recyclerComponents = [];\n\nfunction createComponent(Ctor, props, context) {\n\tvar inst,\n\t i = recyclerComponents.length;\n\n\tif (Ctor.prototype && Ctor.prototype.render) {\n\t\tinst = new Ctor(props, context);\n\t\tComponent.call(inst, props, context);\n\t} else {\n\t\tinst = new Component(props, context);\n\t\tinst.constructor = Ctor;\n\t\tinst.render = doRender;\n\t}\n\n\twhile (i--) {\n\t\tif (recyclerComponents[i].constructor === Ctor) {\n\t\t\tinst.nextBase = recyclerComponents[i].nextBase;\n\t\t\trecyclerComponents.splice(i, 1);\n\t\t\treturn inst;\n\t\t}\n\t}\n\n\treturn inst;\n}\n\nfunction doRender(props, state, context) {\n\treturn this.constructor(props, context);\n}\n\nfunction setComponentProps(component, props, renderMode, context, mountAll) {\n\tif (component._disable) return;\n\tcomponent._disable = true;\n\n\tcomponent.__ref = props.ref;\n\tcomponent.__key = props.key;\n\tdelete props.ref;\n\tdelete props.key;\n\n\tif (typeof component.constructor.getDerivedStateFromProps === 'undefined') {\n\t\tif (!component.base || mountAll) {\n\t\t\tif (component.componentWillMount) component.componentWillMount();\n\t\t} else if (component.componentWillReceiveProps) {\n\t\t\tcomponent.componentWillReceiveProps(props, context);\n\t\t}\n\t}\n\n\tif (context && context !== component.context) {\n\t\tif (!component.prevContext) component.prevContext = component.context;\n\t\tcomponent.context = context;\n\t}\n\n\tif (!component.prevProps) component.prevProps = component.props;\n\tcomponent.props = props;\n\n\tcomponent._disable = false;\n\n\tif (renderMode !== 0) {\n\t\tif (renderMode === 1 || options.syncComponentUpdates !== false || !component.base) {\n\t\t\trenderComponent(component, 1, mountAll);\n\t\t} else {\n\t\t\tenqueueRender(component);\n\t\t}\n\t}\n\n\tif (component.__ref) component.__ref(component);\n}\n\nfunction renderComponent(component, renderMode, mountAll, isChild) {\n\tif (component._disable) return;\n\n\tvar props = component.props,\n\t state = component.state,\n\t context = component.context,\n\t previousProps = component.prevProps || props,\n\t previousState = component.prevState || state,\n\t previousContext = component.prevContext || context,\n\t isUpdate = component.base,\n\t nextBase = component.nextBase,\n\t initialBase = isUpdate || nextBase,\n\t initialChildComponent = component._component,\n\t skip = false,\n\t snapshot = previousContext,\n\t rendered,\n\t inst,\n\t cbase;\n\n\tif (component.constructor.getDerivedStateFromProps) {\n\t\tstate = extend(extend({}, state), component.constructor.getDerivedStateFromProps(props, state));\n\t\tcomponent.state = state;\n\t}\n\n\tif (isUpdate) {\n\t\tcomponent.props = previousProps;\n\t\tcomponent.state = previousState;\n\t\tcomponent.context = previousContext;\n\t\tif (renderMode !== 2 && component.shouldComponentUpdate && component.shouldComponentUpdate(props, state, context) === false) {\n\t\t\tskip = true;\n\t\t} else if (component.componentWillUpdate) {\n\t\t\tcomponent.componentWillUpdate(props, state, context);\n\t\t}\n\t\tcomponent.props = props;\n\t\tcomponent.state = state;\n\t\tcomponent.context = context;\n\t}\n\n\tcomponent.prevProps = component.prevState = component.prevContext = component.nextBase = null;\n\tcomponent._dirty = false;\n\n\tif (!skip) {\n\t\trendered = component.render(props, state, context);\n\n\t\tif (component.getChildContext) {\n\t\t\tcontext = extend(extend({}, context), component.getChildContext());\n\t\t}\n\n\t\tif (isUpdate && component.getSnapshotBeforeUpdate) {\n\t\t\tsnapshot = component.getSnapshotBeforeUpdate(previousProps, previousState);\n\t\t}\n\n\t\tvar childComponent = rendered && rendered.nodeName,\n\t\t toUnmount,\n\t\t base;\n\n\t\tif (typeof childComponent === 'function') {\n\n\t\t\tvar childProps = getNodeProps(rendered);\n\t\t\tinst = initialChildComponent;\n\n\t\t\tif (inst && inst.constructor === childComponent && childProps.key == inst.__key) {\n\t\t\t\tsetComponentProps(inst, childProps, 1, context, false);\n\t\t\t} else {\n\t\t\t\ttoUnmount = inst;\n\n\t\t\t\tcomponent._component = inst = createComponent(childComponent, childProps, context);\n\t\t\t\tinst.nextBase = inst.nextBase || nextBase;\n\t\t\t\tinst._parentComponent = component;\n\t\t\t\tsetComponentProps(inst, childProps, 0, context, false);\n\t\t\t\trenderComponent(inst, 1, mountAll, true);\n\t\t\t}\n\n\t\t\tbase = inst.base;\n\t\t} else {\n\t\t\tcbase = initialBase;\n\n\t\t\ttoUnmount = initialChildComponent;\n\t\t\tif (toUnmount) {\n\t\t\t\tcbase = component._component = null;\n\t\t\t}\n\n\t\t\tif (initialBase || renderMode === 1) {\n\t\t\t\tif (cbase) cbase._component = null;\n\t\t\t\tbase = diff(cbase, rendered, context, mountAll || !isUpdate, initialBase && initialBase.parentNode, true);\n\t\t\t}\n\t\t}\n\n\t\tif (initialBase && base !== initialBase && inst !== initialChildComponent) {\n\t\t\tvar baseParent = initialBase.parentNode;\n\t\t\tif (baseParent && base !== baseParent) {\n\t\t\t\tbaseParent.replaceChild(base, initialBase);\n\n\t\t\t\tif (!toUnmount) {\n\t\t\t\t\tinitialBase._component = null;\n\t\t\t\t\trecollectNodeTree(initialBase, false);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (toUnmount) {\n\t\t\tunmountComponent(toUnmount);\n\t\t}\n\n\t\tcomponent.base = base;\n\t\tif (base && !isChild) {\n\t\t\tvar componentRef = component,\n\t\t\t t = component;\n\t\t\twhile (t = t._parentComponent) {\n\t\t\t\t(componentRef = t).base = base;\n\t\t\t}\n\t\t\tbase._component = componentRef;\n\t\t\tbase._componentConstructor = componentRef.constructor;\n\t\t}\n\t}\n\n\tif (!isUpdate || mountAll) {\n\t\tmounts.unshift(component);\n\t} else if (!skip) {\n\n\t\tif (component.componentDidUpdate) {\n\t\t\tcomponent.componentDidUpdate(previousProps, previousState, snapshot);\n\t\t}\n\t\tif (options.afterUpdate) options.afterUpdate(component);\n\t}\n\n\twhile (component._renderCallbacks.length) {\n\t\tcomponent._renderCallbacks.pop().call(component);\n\t}if (!diffLevel && !isChild) flushMounts();\n}\n\nfunction buildComponentFromVNode(dom, vnode, context, mountAll) {\n\tvar c = dom && dom._component,\n\t originalComponent = c,\n\t oldDom = dom,\n\t isDirectOwner = c && dom._componentConstructor === vnode.nodeName,\n\t isOwner = isDirectOwner,\n\t props = getNodeProps(vnode);\n\twhile (c && !isOwner && (c = c._parentComponent)) {\n\t\tisOwner = c.constructor === vnode.nodeName;\n\t}\n\n\tif (c && isOwner && (!mountAll || c._component)) {\n\t\tsetComponentProps(c, props, 3, context, mountAll);\n\t\tdom = c.base;\n\t} else {\n\t\tif (originalComponent && !isDirectOwner) {\n\t\t\tunmountComponent(originalComponent);\n\t\t\tdom = oldDom = null;\n\t\t}\n\n\t\tc = createComponent(vnode.nodeName, props, context);\n\t\tif (dom && !c.nextBase) {\n\t\t\tc.nextBase = dom;\n\n\t\t\toldDom = null;\n\t\t}\n\t\tsetComponentProps(c, props, 1, context, mountAll);\n\t\tdom = c.base;\n\n\t\tif (oldDom && dom !== oldDom) {\n\t\t\toldDom._component = null;\n\t\t\trecollectNodeTree(oldDom, false);\n\t\t}\n\t}\n\n\treturn dom;\n}\n\nfunction unmountComponent(component) {\n\tif (options.beforeUnmount) options.beforeUnmount(component);\n\n\tvar base = component.base;\n\n\tcomponent._disable = true;\n\n\tif (component.componentWillUnmount) component.componentWillUnmount();\n\n\tcomponent.base = null;\n\n\tvar inner = component._component;\n\tif (inner) {\n\t\tunmountComponent(inner);\n\t} else if (base) {\n\t\tif (base['__preactattr_'] && base['__preactattr_'].ref) base['__preactattr_'].ref(null);\n\n\t\tcomponent.nextBase = base;\n\n\t\tremoveNode(base);\n\t\trecyclerComponents.push(component);\n\n\t\tremoveChildren(base);\n\t}\n\n\tif (component.__ref) component.__ref(null);\n}\n\nfunction Component(props, context) {\n\tthis._dirty = true;\n\n\tthis.context = context;\n\n\tthis.props = props;\n\n\tthis.state = this.state || {};\n\n\tthis._renderCallbacks = [];\n}\n\nextend(Component.prototype, {\n\tsetState: function setState(state, callback) {\n\t\tif (!this.prevState) this.prevState = this.state;\n\t\tthis.state = extend(extend({}, this.state), typeof state === 'function' ? state(this.state, this.props) : state);\n\t\tif (callback) this._renderCallbacks.push(callback);\n\t\tenqueueRender(this);\n\t},\n\tforceUpdate: function forceUpdate(callback) {\n\t\tif (callback) this._renderCallbacks.push(callback);\n\t\trenderComponent(this, 2);\n\t},\n\trender: function render() {}\n});\n\nfunction render(vnode, parent, merge) {\n return diff(merge, vnode, {}, false, parent, false);\n}\n\nvar preact = {\n\th: h,\n\tcreateElement: h,\n\tcloneElement: cloneElement,\n\tComponent: Component,\n\trender: render,\n\trerender: rerender,\n\toptions: options\n};\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (preact);\n\n//# sourceMappingURL=preact.mjs.map\n\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(global) {\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\n/** MobX - (c) Michel Weststrate 2015, 2016 - MIT Licensed */\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\n/* global Reflect, Promise */\n\nvar extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function (d, b) {\n d.__proto__ = b;\n} || function (d, b) {\n for (var p in b) {\n if (b.hasOwnProperty(p)) d[p] = b[p];\n }\n};\n\nfunction __extends(d, b) {\n extendStatics(d, b);\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\n/**\n * Anything that can be used to _store_ state is an Atom in mobx. Atoms have two important jobs\n *\n * 1) detect when they are being _used_ and report this (using reportObserved). This allows mobx to make the connection between running functions and the data they used\n * 2) they should notify mobx whenever they have _changed_. This way mobx can re-run any functions (derivations) that are using this atom.\n */\nvar BaseAtom = /** @class */function () {\n /**\n * Create a new atom. For debugging purposes it is recommended to give it a name.\n * The onBecomeObserved and onBecomeUnobserved callbacks can be used for resource management.\n */\n function BaseAtom(name) {\n if (name === void 0) {\n name = \"Atom@\" + getNextId();\n }\n this.name = name;\n this.isPendingUnobservation = true; // for effective unobserving. BaseAtom has true, for extra optimization, so its onBecomeUnobserved never gets called, because it's not needed\n this.observers = [];\n this.observersIndexes = {};\n this.diffValue = 0;\n this.lastAccessedBy = 0;\n this.lowestObserverState = IDerivationState.NOT_TRACKING;\n }\n BaseAtom.prototype.onBecomeUnobserved = function () {\n // noop\n };\n /**\n * Invoke this method to notify mobx that your atom has been used somehow.\n */\n BaseAtom.prototype.reportObserved = function () {\n reportObserved(this);\n };\n /**\n * Invoke this method _after_ this method has changed to signal mobx that all its observers should invalidate.\n */\n BaseAtom.prototype.reportChanged = function () {\n startBatch();\n propagateChanged(this);\n endBatch();\n };\n BaseAtom.prototype.toString = function () {\n return this.name;\n };\n return BaseAtom;\n}();\nvar Atom = /** @class */function (_super) {\n __extends(Atom, _super);\n /**\n * Create a new atom. For debugging purposes it is recommended to give it a name.\n * The onBecomeObserved and onBecomeUnobserved callbacks can be used for resource management.\n */\n function Atom(name, onBecomeObservedHandler, onBecomeUnobservedHandler) {\n if (name === void 0) {\n name = \"Atom@\" + getNextId();\n }\n if (onBecomeObservedHandler === void 0) {\n onBecomeObservedHandler = noop;\n }\n if (onBecomeUnobservedHandler === void 0) {\n onBecomeUnobservedHandler = noop;\n }\n var _this = _super.call(this, name) || this;\n _this.name = name;\n _this.onBecomeObservedHandler = onBecomeObservedHandler;\n _this.onBecomeUnobservedHandler = onBecomeUnobservedHandler;\n _this.isPendingUnobservation = false; // for effective unobserving.\n _this.isBeingTracked = false;\n return _this;\n }\n Atom.prototype.reportObserved = function () {\n startBatch();\n _super.prototype.reportObserved.call(this);\n if (!this.isBeingTracked) {\n this.isBeingTracked = true;\n this.onBecomeObservedHandler();\n }\n endBatch();\n return !!globalState.trackingDerivation;\n // return doesn't really give useful info, because it can be as well calling computed which calls atom (no reactions)\n // also it could not trigger when calculating reaction dependent on Atom because Atom's value was cached by computed called by given reaction.\n };\n Atom.prototype.onBecomeUnobserved = function () {\n this.isBeingTracked = false;\n this.onBecomeUnobservedHandler();\n };\n return Atom;\n}(BaseAtom);\nvar isAtom = createInstanceofPredicate(\"Atom\", BaseAtom);\n\nfunction hasInterceptors(interceptable) {\n return interceptable.interceptors && interceptable.interceptors.length > 0;\n}\nfunction registerInterceptor(interceptable, handler) {\n var interceptors = interceptable.interceptors || (interceptable.interceptors = []);\n interceptors.push(handler);\n return once(function () {\n var idx = interceptors.indexOf(handler);\n if (idx !== -1) interceptors.splice(idx, 1);\n });\n}\nfunction interceptChange(interceptable, change) {\n var prevU = untrackedStart();\n try {\n var interceptors = interceptable.interceptors;\n if (interceptors) for (var i = 0, l = interceptors.length; i < l; i++) {\n change = interceptors[i](change);\n invariant(!change || change.type, \"Intercept handlers should return nothing or a change object\");\n if (!change) break;\n }\n return change;\n } finally {\n untrackedEnd(prevU);\n }\n}\n\nfunction hasListeners(listenable) {\n return listenable.changeListeners && listenable.changeListeners.length > 0;\n}\nfunction registerListener(listenable, handler) {\n var listeners = listenable.changeListeners || (listenable.changeListeners = []);\n listeners.push(handler);\n return once(function () {\n var idx = listeners.indexOf(handler);\n if (idx !== -1) listeners.splice(idx, 1);\n });\n}\nfunction notifyListeners(listenable, change) {\n var prevU = untrackedStart();\n var listeners = listenable.changeListeners;\n if (!listeners) return;\n listeners = listeners.slice();\n for (var i = 0, l = listeners.length; i < l; i++) {\n listeners[i](change);\n }\n untrackedEnd(prevU);\n}\n\nfunction isSpyEnabled() {\n return !!globalState.spyListeners.length;\n}\nfunction spyReport(event) {\n if (!globalState.spyListeners.length) return;\n var listeners = globalState.spyListeners;\n for (var i = 0, l = listeners.length; i < l; i++) {\n listeners[i](event);\n }\n}\nfunction spyReportStart(event) {\n var change = objectAssign({}, event, { spyReportStart: true });\n spyReport(change);\n}\nvar END_EVENT = { spyReportEnd: true };\nfunction spyReportEnd(change) {\n if (change) spyReport(objectAssign({}, change, END_EVENT));else spyReport(END_EVENT);\n}\nfunction spy(listener) {\n globalState.spyListeners.push(listener);\n return once(function () {\n var idx = globalState.spyListeners.indexOf(listener);\n if (idx !== -1) globalState.spyListeners.splice(idx, 1);\n });\n}\n\nfunction iteratorSymbol() {\n return typeof Symbol === \"function\" && Symbol.iterator || \"@@iterator\";\n}\nvar IS_ITERATING_MARKER = \"__$$iterating\";\nfunction arrayAsIterator(array) {\n // returning an array for entries(), values() etc for maps was a mis-interpretation of the specs..,\n // yet it is quite convenient to be able to use the response both as array directly and as iterator\n // it is suboptimal, but alas...\n invariant(array[IS_ITERATING_MARKER] !== true, \"Illegal state: cannot recycle array as iterator\");\n addHiddenFinalProp(array, IS_ITERATING_MARKER, true);\n var idx = -1;\n addHiddenFinalProp(array, \"next\", function next() {\n idx++;\n return {\n done: idx >= this.length,\n value: idx < this.length ? this[idx] : undefined\n };\n });\n return array;\n}\nfunction declareIterator(prototType, iteratorFactory) {\n addHiddenFinalProp(prototType, iteratorSymbol(), iteratorFactory);\n}\n\nvar MAX_SPLICE_SIZE = 10000; // See e.g. https://github.com/mobxjs/mobx/issues/859\n// Detects bug in safari 9.1.1 (or iOS 9 safari mobile). See #364\nvar safariPrototypeSetterInheritanceBug = function () {\n var v = false;\n var p = {};\n Object.defineProperty(p, \"0\", {\n set: function set() {\n v = true;\n }\n });\n Object.create(p)[\"0\"] = 1;\n return v === false;\n}();\n/**\n * This array buffer contains two lists of properties, so that all arrays\n * can recycle their property definitions, which significantly improves performance of creating\n * properties on the fly.\n */\nvar OBSERVABLE_ARRAY_BUFFER_SIZE = 0;\n// Typescript workaround to make sure ObservableArray extends Array\nvar StubArray = /** @class */function () {\n function StubArray() {}\n return StubArray;\n}();\nfunction inherit(ctor, proto) {\n if (typeof Object[\"setPrototypeOf\"] !== \"undefined\") {\n Object[\"setPrototypeOf\"](ctor.prototype, proto);\n } else if (typeof ctor.prototype.__proto__ !== \"undefined\") {\n ctor.prototype.__proto__ = proto;\n } else {\n ctor[\"prototype\"] = proto;\n }\n}\ninherit(StubArray, Array.prototype);\n// Weex freeze Array.prototype\n// Make them writeable and configurable in prototype chain\n// https://github.com/alibaba/weex/pull/1529\nif (Object.isFrozen(Array)) {\n\n [\"constructor\", \"push\", \"shift\", \"concat\", \"pop\", \"unshift\", \"replace\", \"find\", \"findIndex\", \"splice\", \"reverse\", \"sort\"].forEach(function (key) {\n Object.defineProperty(StubArray.prototype, key, {\n configurable: true,\n writable: true,\n value: Array.prototype[key]\n });\n });\n}\nvar ObservableArrayAdministration = /** @class */function () {\n function ObservableArrayAdministration(name, enhancer, array, owned) {\n this.array = array;\n this.owned = owned;\n this.values = [];\n this.lastKnownLength = 0;\n this.interceptors = null;\n this.changeListeners = null;\n this.atom = new BaseAtom(name || \"ObservableArray@\" + getNextId());\n this.enhancer = function (newV, oldV) {\n return enhancer(newV, oldV, name + \"[..]\");\n };\n }\n ObservableArrayAdministration.prototype.dehanceValue = function (value) {\n if (this.dehancer !== undefined) return this.dehancer(value);\n return value;\n };\n ObservableArrayAdministration.prototype.dehanceValues = function (values) {\n if (this.dehancer !== undefined) return values.map(this.dehancer);\n return values;\n };\n ObservableArrayAdministration.prototype.intercept = function (handler) {\n return registerInterceptor(this, handler);\n };\n ObservableArrayAdministration.prototype.observe = function (listener, fireImmediately) {\n if (fireImmediately === void 0) {\n fireImmediately = false;\n }\n if (fireImmediately) {\n listener({\n object: this.array,\n type: \"splice\",\n index: 0,\n added: this.values.slice(),\n addedCount: this.values.length,\n removed: [],\n removedCount: 0\n });\n }\n return registerListener(this, listener);\n };\n ObservableArrayAdministration.prototype.getArrayLength = function () {\n this.atom.reportObserved();\n return this.values.length;\n };\n ObservableArrayAdministration.prototype.setArrayLength = function (newLength) {\n if (typeof newLength !== \"number\" || newLength < 0) throw new Error(\"[mobx.array] Out of range: \" + newLength);\n var currentLength = this.values.length;\n if (newLength === currentLength) return;else if (newLength > currentLength) {\n var newItems = new Array(newLength - currentLength);\n for (var i = 0; i < newLength - currentLength; i++) {\n newItems[i] = undefined;\n } // No Array.fill everywhere...\n this.spliceWithArray(currentLength, 0, newItems);\n } else this.spliceWithArray(newLength, currentLength - newLength);\n };\n // adds / removes the necessary numeric properties to this object\n ObservableArrayAdministration.prototype.updateArrayLength = function (oldLength, delta) {\n if (oldLength !== this.lastKnownLength) throw new Error(\"[mobx] Modification exception: the internal structure of an observable array was changed. Did you use peek() to change it?\");\n this.lastKnownLength += delta;\n if (delta > 0 && oldLength + delta + 1 > OBSERVABLE_ARRAY_BUFFER_SIZE) reserveArrayBuffer(oldLength + delta + 1);\n };\n ObservableArrayAdministration.prototype.spliceWithArray = function (index, deleteCount, newItems) {\n var _this = this;\n checkIfStateModificationsAreAllowed(this.atom);\n var length = this.values.length;\n if (index === undefined) index = 0;else if (index > length) index = length;else if (index < 0) index = Math.max(0, length + index);\n if (arguments.length === 1) deleteCount = length - index;else if (deleteCount === undefined || deleteCount === null) deleteCount = 0;else deleteCount = Math.max(0, Math.min(deleteCount, length - index));\n if (newItems === undefined) newItems = [];\n if (hasInterceptors(this)) {\n var change = interceptChange(this, {\n object: this.array,\n type: \"splice\",\n index: index,\n removedCount: deleteCount,\n added: newItems\n });\n if (!change) return EMPTY_ARRAY;\n deleteCount = change.removedCount;\n newItems = change.added;\n }\n newItems = newItems.map(function (v) {\n return _this.enhancer(v, undefined);\n });\n var lengthDelta = newItems.length - deleteCount;\n this.updateArrayLength(length, lengthDelta); // create or remove new entries\n var res = this.spliceItemsIntoValues(index, deleteCount, newItems);\n if (deleteCount !== 0 || newItems.length !== 0) this.notifyArraySplice(index, newItems, res);\n return this.dehanceValues(res);\n };\n ObservableArrayAdministration.prototype.spliceItemsIntoValues = function (index, deleteCount, newItems) {\n if (newItems.length < MAX_SPLICE_SIZE) {\n return (_a = this.values).splice.apply(_a, [index, deleteCount].concat(newItems));\n } else {\n var res = this.values.slice(index, index + deleteCount);\n this.values = this.values.slice(0, index).concat(newItems, this.values.slice(index + deleteCount));\n return res;\n }\n var _a;\n };\n ObservableArrayAdministration.prototype.notifyArrayChildUpdate = function (index, newValue, oldValue) {\n var notifySpy = !this.owned && isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy ? {\n object: this.array,\n type: \"update\",\n index: index,\n newValue: newValue,\n oldValue: oldValue\n } : null;\n if (notifySpy) spyReportStart(change);\n this.atom.reportChanged();\n if (notify) notifyListeners(this, change);\n if (notifySpy) spyReportEnd();\n };\n ObservableArrayAdministration.prototype.notifyArraySplice = function (index, added, removed) {\n var notifySpy = !this.owned && isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy ? {\n object: this.array,\n type: \"splice\",\n index: index,\n removed: removed,\n added: added,\n removedCount: removed.length,\n addedCount: added.length\n } : null;\n if (notifySpy) spyReportStart(change);\n this.atom.reportChanged();\n // conform: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/observe\n if (notify) notifyListeners(this, change);\n if (notifySpy) spyReportEnd();\n };\n return ObservableArrayAdministration;\n}();\nvar ObservableArray = /** @class */function (_super) {\n __extends(ObservableArray, _super);\n function ObservableArray(initialValues, enhancer, name, owned) {\n if (name === void 0) {\n name = \"ObservableArray@\" + getNextId();\n }\n if (owned === void 0) {\n owned = false;\n }\n var _this = _super.call(this) || this;\n var adm = new ObservableArrayAdministration(name, enhancer, _this, owned);\n addHiddenFinalProp(_this, \"$mobx\", adm);\n if (initialValues && initialValues.length) {\n _this.spliceWithArray(0, 0, initialValues);\n }\n if (safariPrototypeSetterInheritanceBug) {\n // Seems that Safari won't use numeric prototype setter untill any * numeric property is\n // defined on the instance. After that it works fine, even if this property is deleted.\n Object.defineProperty(adm.array, \"0\", ENTRY_0);\n }\n return _this;\n }\n ObservableArray.prototype.intercept = function (handler) {\n return this.$mobx.intercept(handler);\n };\n ObservableArray.prototype.observe = function (listener, fireImmediately) {\n if (fireImmediately === void 0) {\n fireImmediately = false;\n }\n return this.$mobx.observe(listener, fireImmediately);\n };\n ObservableArray.prototype.clear = function () {\n return this.splice(0);\n };\n ObservableArray.prototype.concat = function () {\n var arrays = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n arrays[_i] = arguments[_i];\n }\n this.$mobx.atom.reportObserved();\n return Array.prototype.concat.apply(this.peek(), arrays.map(function (a) {\n return isObservableArray(a) ? a.peek() : a;\n }));\n };\n ObservableArray.prototype.replace = function (newItems) {\n return this.$mobx.spliceWithArray(0, this.$mobx.values.length, newItems);\n };\n /**\n * Converts this array back to a (shallow) javascript structure.\n * For a deep clone use mobx.toJS\n */\n ObservableArray.prototype.toJS = function () {\n return this.slice();\n };\n ObservableArray.prototype.toJSON = function () {\n // Used by JSON.stringify\n return this.toJS();\n };\n ObservableArray.prototype.peek = function () {\n this.$mobx.atom.reportObserved();\n return this.$mobx.dehanceValues(this.$mobx.values);\n };\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n ObservableArray.prototype.find = function (predicate, thisArg, fromIndex) {\n if (fromIndex === void 0) {\n fromIndex = 0;\n }\n var idx = this.findIndex.apply(this, arguments);\n return idx === -1 ? undefined : this.get(idx);\n };\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex\n ObservableArray.prototype.findIndex = function (predicate, thisArg, fromIndex) {\n if (fromIndex === void 0) {\n fromIndex = 0;\n }\n var items = this.peek(),\n l = items.length;\n for (var i = fromIndex; i < l; i++) {\n if (predicate.call(thisArg, items[i], i, this)) return i;\n }return -1;\n };\n /*\n * functions that do alter the internal structure of the array, (based on lib.es6.d.ts)\n * since these functions alter the inner structure of the array, the have side effects.\n * Because the have side effects, they should not be used in computed function,\n * and for that reason the do not call dependencyState.notifyObserved\n */\n ObservableArray.prototype.splice = function (index, deleteCount) {\n var newItems = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n newItems[_i - 2] = arguments[_i];\n }\n switch (arguments.length) {\n case 0:\n return [];\n case 1:\n return this.$mobx.spliceWithArray(index);\n case 2:\n return this.$mobx.spliceWithArray(index, deleteCount);\n }\n return this.$mobx.spliceWithArray(index, deleteCount, newItems);\n };\n ObservableArray.prototype.spliceWithArray = function (index, deleteCount, newItems) {\n return this.$mobx.spliceWithArray(index, deleteCount, newItems);\n };\n ObservableArray.prototype.push = function () {\n var items = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n items[_i] = arguments[_i];\n }\n var adm = this.$mobx;\n adm.spliceWithArray(adm.values.length, 0, items);\n return adm.values.length;\n };\n ObservableArray.prototype.pop = function () {\n return this.splice(Math.max(this.$mobx.values.length - 1, 0), 1)[0];\n };\n ObservableArray.prototype.shift = function () {\n return this.splice(0, 1)[0];\n };\n ObservableArray.prototype.unshift = function () {\n var items = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n items[_i] = arguments[_i];\n }\n var adm = this.$mobx;\n adm.spliceWithArray(0, 0, items);\n return adm.values.length;\n };\n ObservableArray.prototype.reverse = function () {\n // reverse by default mutates in place before returning the result\n // which makes it both a 'derivation' and a 'mutation'.\n // so we deviate from the default and just make it an dervitation\n var clone = this.slice();\n return clone.reverse.apply(clone, arguments);\n };\n ObservableArray.prototype.sort = function (compareFn) {\n // sort by default mutates in place before returning the result\n // which goes against all good practices. Let's not change the array in place!\n var clone = this.slice();\n return clone.sort.apply(clone, arguments);\n };\n ObservableArray.prototype.remove = function (value) {\n var idx = this.$mobx.dehanceValues(this.$mobx.values).indexOf(value);\n if (idx > -1) {\n this.splice(idx, 1);\n return true;\n }\n return false;\n };\n ObservableArray.prototype.move = function (fromIndex, toIndex) {\n function checkIndex(index) {\n if (index < 0) {\n throw new Error(\"[mobx.array] Index out of bounds: \" + index + \" is negative\");\n }\n var length = this.$mobx.values.length;\n if (index >= length) {\n throw new Error(\"[mobx.array] Index out of bounds: \" + index + \" is not smaller than \" + length);\n }\n }\n checkIndex.call(this, fromIndex);\n checkIndex.call(this, toIndex);\n if (fromIndex === toIndex) {\n return;\n }\n var oldItems = this.$mobx.values;\n var newItems;\n if (fromIndex < toIndex) {\n newItems = oldItems.slice(0, fromIndex).concat(oldItems.slice(fromIndex + 1, toIndex + 1), [oldItems[fromIndex]], oldItems.slice(toIndex + 1));\n } else {\n // toIndex < fromIndex\n newItems = oldItems.slice(0, toIndex).concat([oldItems[fromIndex]], oldItems.slice(toIndex, fromIndex), oldItems.slice(fromIndex + 1));\n }\n this.replace(newItems);\n };\n // See #734, in case property accessors are unreliable...\n ObservableArray.prototype.get = function (index) {\n var impl = this.$mobx;\n if (impl) {\n if (index < impl.values.length) {\n impl.atom.reportObserved();\n return impl.dehanceValue(impl.values[index]);\n }\n console.warn(\"[mobx.array] Attempt to read an array index (\" + index + \") that is out of bounds (\" + impl.values.length + \"). Please check length first. Out of bound indices will not be tracked by MobX\");\n }\n return undefined;\n };\n // See #734, in case property accessors are unreliable...\n ObservableArray.prototype.set = function (index, newValue) {\n var adm = this.$mobx;\n var values = adm.values;\n if (index < values.length) {\n // update at index in range\n checkIfStateModificationsAreAllowed(adm.atom);\n var oldValue = values[index];\n if (hasInterceptors(adm)) {\n var change = interceptChange(adm, {\n type: \"update\",\n object: this,\n index: index,\n newValue: newValue\n });\n if (!change) return;\n newValue = change.newValue;\n }\n newValue = adm.enhancer(newValue, oldValue);\n var changed = newValue !== oldValue;\n if (changed) {\n values[index] = newValue;\n adm.notifyArrayChildUpdate(index, newValue, oldValue);\n }\n } else if (index === values.length) {\n // add a new item\n adm.spliceWithArray(index, 0, [newValue]);\n } else {\n // out of bounds\n throw new Error(\"[mobx.array] Index out of bounds, \" + index + \" is larger than \" + values.length);\n }\n };\n return ObservableArray;\n}(StubArray);\ndeclareIterator(ObservableArray.prototype, function () {\n return arrayAsIterator(this.slice());\n});\nObject.defineProperty(ObservableArray.prototype, \"length\", {\n enumerable: false,\n configurable: true,\n get: function get() {\n return this.$mobx.getArrayLength();\n },\n set: function set(newLength) {\n this.$mobx.setArrayLength(newLength);\n }\n});\n[\"every\", \"filter\", \"forEach\", \"indexOf\", \"join\", \"lastIndexOf\", \"map\", \"reduce\", \"reduceRight\", \"slice\", \"some\", \"toString\", \"toLocaleString\"].forEach(function (funcName) {\n var baseFunc = Array.prototype[funcName];\n invariant(typeof baseFunc === \"function\", \"Base function not defined on Array prototype: '\" + funcName + \"'\");\n addHiddenProp(ObservableArray.prototype, funcName, function () {\n return baseFunc.apply(this.peek(), arguments);\n });\n});\n/**\n * We don't want those to show up in `for (const key in ar)` ...\n */\nmakeNonEnumerable(ObservableArray.prototype, [\"constructor\", \"intercept\", \"observe\", \"clear\", \"concat\", \"get\", \"replace\", \"toJS\", \"toJSON\", \"peek\", \"find\", \"findIndex\", \"splice\", \"spliceWithArray\", \"push\", \"pop\", \"set\", \"shift\", \"unshift\", \"reverse\", \"sort\", \"remove\", \"move\", \"toString\", \"toLocaleString\"]);\n// See #364\nvar ENTRY_0 = createArrayEntryDescriptor(0);\nfunction createArrayEntryDescriptor(index) {\n return {\n enumerable: false,\n configurable: false,\n get: function get() {\n // TODO: Check `this`?, see #752?\n return this.get(index);\n },\n set: function set(value) {\n this.set(index, value);\n }\n };\n}\nfunction createArrayBufferItem(index) {\n Object.defineProperty(ObservableArray.prototype, \"\" + index, createArrayEntryDescriptor(index));\n}\nfunction reserveArrayBuffer(max) {\n for (var index = OBSERVABLE_ARRAY_BUFFER_SIZE; index < max; index++) {\n createArrayBufferItem(index);\n }OBSERVABLE_ARRAY_BUFFER_SIZE = max;\n}\nreserveArrayBuffer(1000);\nvar isObservableArrayAdministration = createInstanceofPredicate(\"ObservableArrayAdministration\", ObservableArrayAdministration);\nfunction isObservableArray(thing) {\n return isObject(thing) && isObservableArrayAdministration(thing.$mobx);\n}\n\nvar UNCHANGED = {};\nvar ObservableValue = /** @class */function (_super) {\n __extends(ObservableValue, _super);\n function ObservableValue(value, enhancer, name, notifySpy) {\n if (name === void 0) {\n name = \"ObservableValue@\" + getNextId();\n }\n if (notifySpy === void 0) {\n notifySpy = true;\n }\n var _this = _super.call(this, name) || this;\n _this.enhancer = enhancer;\n _this.hasUnreportedChange = false;\n _this.dehancer = undefined;\n _this.value = enhancer(value, undefined, name);\n if (notifySpy && isSpyEnabled()) {\n // only notify spy if this is a stand-alone observable\n spyReport({ type: \"create\", object: _this, newValue: _this.value });\n }\n return _this;\n }\n ObservableValue.prototype.dehanceValue = function (value) {\n if (this.dehancer !== undefined) return this.dehancer(value);\n return value;\n };\n ObservableValue.prototype.set = function (newValue) {\n var oldValue = this.value;\n newValue = this.prepareNewValue(newValue);\n if (newValue !== UNCHANGED) {\n var notifySpy = isSpyEnabled();\n if (notifySpy) {\n spyReportStart({\n type: \"update\",\n object: this,\n newValue: newValue,\n oldValue: oldValue\n });\n }\n this.setNewValue(newValue);\n if (notifySpy) spyReportEnd();\n }\n };\n ObservableValue.prototype.prepareNewValue = function (newValue) {\n checkIfStateModificationsAreAllowed(this);\n if (hasInterceptors(this)) {\n var change = interceptChange(this, {\n object: this,\n type: \"update\",\n newValue: newValue\n });\n if (!change) return UNCHANGED;\n newValue = change.newValue;\n }\n // apply modifier\n newValue = this.enhancer(newValue, this.value, this.name);\n return this.value !== newValue ? newValue : UNCHANGED;\n };\n ObservableValue.prototype.setNewValue = function (newValue) {\n var oldValue = this.value;\n this.value = newValue;\n this.reportChanged();\n if (hasListeners(this)) {\n notifyListeners(this, {\n type: \"update\",\n object: this,\n newValue: newValue,\n oldValue: oldValue\n });\n }\n };\n ObservableValue.prototype.get = function () {\n this.reportObserved();\n return this.dehanceValue(this.value);\n };\n ObservableValue.prototype.intercept = function (handler) {\n return registerInterceptor(this, handler);\n };\n ObservableValue.prototype.observe = function (listener, fireImmediately) {\n if (fireImmediately) listener({\n object: this,\n type: \"update\",\n newValue: this.value,\n oldValue: undefined\n });\n return registerListener(this, listener);\n };\n ObservableValue.prototype.toJSON = function () {\n return this.get();\n };\n ObservableValue.prototype.toString = function () {\n return this.name + \"[\" + this.value + \"]\";\n };\n ObservableValue.prototype.valueOf = function () {\n return toPrimitive(this.get());\n };\n return ObservableValue;\n}(BaseAtom);\nObservableValue.prototype[primitiveSymbol()] = ObservableValue.prototype.valueOf;\nvar isObservableValue = createInstanceofPredicate(\"ObservableValue\", ObservableValue);\n\nvar messages = {\n m001: \"It is not allowed to assign new values to @action fields\",\n m002: \"`runInAction` expects a function\",\n m003: \"`runInAction` expects a function without arguments\",\n m004: \"autorun expects a function\",\n m005: \"Warning: attempted to pass an action to autorun. Actions are untracked and will not trigger on state changes. Use `reaction` or wrap only your state modification code in an action.\",\n m006: \"Warning: attempted to pass an action to autorunAsync. Actions are untracked and will not trigger on state changes. Use `reaction` or wrap only your state modification code in an action.\",\n m007: \"reaction only accepts 2 or 3 arguments. If migrating from MobX 2, please provide an options object\",\n m008: \"wrapping reaction expression in `asReference` is no longer supported, use options object instead\",\n m009: \"@computed can only be used on getter functions, like: '@computed get myProps() { return ...; }'. It looks like it was used on a property.\",\n m010: \"@computed can only be used on getter functions, like: '@computed get myProps() { return ...; }'\",\n m011: \"First argument to `computed` should be an expression. If using computed as decorator, don't pass it arguments\",\n m012: \"computed takes one or two arguments if used as function\",\n m013: \"[mobx.expr] 'expr' should only be used inside other reactive functions.\",\n m014: \"extendObservable expected 2 or more arguments\",\n m015: \"extendObservable expects an object as first argument\",\n m016: \"extendObservable should not be used on maps, use map.merge instead\",\n m017: \"all arguments of extendObservable should be objects\",\n m018: \"extending an object with another observable (object) is not supported. Please construct an explicit propertymap, using `toJS` if need. See issue #540\",\n m019: \"[mobx.isObservable] isObservable(object, propertyName) is not supported for arrays and maps. Use map.has or array.length instead.\",\n m020: \"modifiers can only be used for individual object properties\",\n m021: \"observable expects zero or one arguments\",\n m022: \"@observable can not be used on getters, use @computed instead\",\n m024: \"whyRun() can only be used if a derivation is active, or by passing an computed value / reaction explicitly. If you invoked whyRun from inside a computation; the computation is currently suspended but re-evaluating because somebody requested its value.\",\n m025: \"whyRun can only be used on reactions and computed values\",\n m026: \"`action` can only be invoked on functions\",\n m028: \"It is not allowed to set `useStrict` when a derivation is running\",\n m029: \"INTERNAL ERROR only onBecomeUnobserved shouldn't be called twice in a row\",\n m030a: \"Since strict-mode is enabled, changing observed observable values outside actions is not allowed. Please wrap the code in an `action` if this change is intended. Tried to modify: \",\n m030b: \"Side effects like changing state are not allowed at this point. Are you trying to modify state from, for example, the render function of a React component? Tried to modify: \",\n m031: \"Computed values are not allowed to cause side effects by changing observables that are already being observed. Tried to modify: \",\n m032: \"* This computation is suspended (not in use by any reaction) and won't run automatically.\\n\tDidn't expect this computation to be suspended at this point?\\n\t 1. Make sure this computation is used by a reaction (reaction, autorun, observer).\\n\t 2. Check whether you are using this computation synchronously (in the same stack as they reaction that needs it).\",\n m033: \"`observe` doesn't support the fire immediately property for observable maps.\",\n m034: \"`mobx.map` is deprecated, use `new ObservableMap` or `mobx.observable.map` instead\",\n m035: \"Cannot make the designated object observable; it is not extensible\",\n m036: \"It is not possible to get index atoms from arrays\",\n m037: \"Hi there! I'm sorry you have just run into an exception.\\nIf your debugger ends up here, know that some reaction (like the render() of an observer component, autorun or reaction)\\nthrew an exception and that mobx caught it, to avoid that it brings the rest of your application down.\\nThe original cause of the exception (the code that caused this reaction to run (again)), is still in the stack.\\n\\nHowever, more interesting is the actual stack trace of the error itself.\\nHopefully the error is an instanceof Error, because in that case you can inspect the original stack of the error from where it was thrown.\\nSee `error.stack` property, or press the very subtle \\\"(...)\\\" link you see near the console.error message that probably brought you here.\\nThat stack is more interesting than the stack of this console.error itself.\\n\\nIf the exception you see is an exception you created yourself, make sure to use `throw new Error(\\\"Oops\\\")` instead of `throw \\\"Oops\\\"`,\\nbecause the javascript environment will only preserve the original stack trace in the first form.\\n\\nYou can also make sure the debugger pauses the next time this very same exception is thrown by enabling \\\"Pause on caught exception\\\".\\n(Note that it might pause on many other, unrelated exception as well).\\n\\nIf that all doesn't help you out, feel free to open an issue https://github.com/mobxjs/mobx/issues!\\n\",\n m038: \"Missing items in this list?\\n 1. Check whether all used values are properly marked as observable (use isObservable to verify)\\n 2. Make sure you didn't dereference values too early. MobX observes props, not primitives. E.g: use 'person.name' instead of 'name' in your computation.\\n\"\n};\nfunction getMessage(id) {\n return messages[id];\n}\n\nfunction createAction(actionName, fn) {\n invariant(typeof fn === \"function\", getMessage(\"m026\"));\n invariant(typeof actionName === \"string\" && actionName.length > 0, \"actions should have valid names, got: '\" + actionName + \"'\");\n var res = function res() {\n return executeAction(actionName, fn, this, arguments);\n };\n res.originalFn = fn;\n res.isMobxAction = true;\n return res;\n}\nfunction executeAction(actionName, fn, scope, args) {\n var runInfo = startAction(actionName, fn, scope, args);\n try {\n return fn.apply(scope, args);\n } finally {\n endAction(runInfo);\n }\n}\nfunction startAction(actionName, fn, scope, args) {\n var notifySpy = isSpyEnabled() && !!actionName;\n var startTime = 0;\n if (notifySpy) {\n startTime = Date.now();\n var l = args && args.length || 0;\n var flattendArgs = new Array(l);\n if (l > 0) for (var i = 0; i < l; i++) {\n flattendArgs[i] = args[i];\n }spyReportStart({\n type: \"action\",\n name: actionName,\n fn: fn,\n object: scope,\n arguments: flattendArgs\n });\n }\n var prevDerivation = untrackedStart();\n startBatch();\n var prevAllowStateChanges = allowStateChangesStart(true);\n return {\n prevDerivation: prevDerivation,\n prevAllowStateChanges: prevAllowStateChanges,\n notifySpy: notifySpy,\n startTime: startTime\n };\n}\nfunction endAction(runInfo) {\n allowStateChangesEnd(runInfo.prevAllowStateChanges);\n endBatch();\n untrackedEnd(runInfo.prevDerivation);\n if (runInfo.notifySpy) spyReportEnd({ time: Date.now() - runInfo.startTime });\n}\nfunction useStrict(strict) {\n invariant(globalState.trackingDerivation === null, getMessage(\"m028\"));\n globalState.strictMode = strict;\n globalState.allowStateChanges = !strict;\n}\nfunction isStrictModeEnabled() {\n return globalState.strictMode;\n}\nfunction allowStateChanges(allowStateChanges, func) {\n // TODO: deprecate / refactor this function in next major\n // Currently only used by `@observer`\n // Proposed change: remove first param, rename to `forbidStateChanges`,\n // require error callback instead of the hardcoded error message now used\n // Use `inAction` instead of allowStateChanges in derivation.ts to check strictMode\n var prev = allowStateChangesStart(allowStateChanges);\n var res;\n try {\n res = func();\n } finally {\n allowStateChangesEnd(prev);\n }\n return res;\n}\nfunction allowStateChangesStart(allowStateChanges) {\n var prev = globalState.allowStateChanges;\n globalState.allowStateChanges = allowStateChanges;\n return prev;\n}\nfunction allowStateChangesEnd(prev) {\n globalState.allowStateChanges = prev;\n}\n\n/**\n * Constructs a decorator, that normalizes the differences between\n * TypeScript and Babel. Mainly caused by the fact that legacy-decorator cannot assign\n * values during instance creation to properties that have a getter setter.\n *\n * - Sigh -\n *\n * Also takes care of the difference between @decorator field and @decorator(args) field, and different forms of values.\n * For performance (cpu and mem) reasons the properties are always defined on the prototype (at least initially).\n * This means that these properties despite being enumerable might not show up in Object.keys() (but they will show up in for...in loops).\n */\nfunction createClassPropertyDecorator(\n/**\n * This function is invoked once, when the property is added to a new instance.\n * When this happens is not strictly determined due to differences in TS and Babel:\n * Typescript: Usually when constructing the new instance\n * Babel, sometimes Typescript: during the first get / set\n * Both: when calling `runLazyInitializers(instance)`\n */\nonInitialize, _get, _set, enumerable,\n/**\n * Can this decorator invoked with arguments? e.g. @decorator(args)\n */\nallowCustomArguments) {\n function classPropertyDecorator(target, key, descriptor, customArgs, argLen) {\n if (argLen === void 0) {\n argLen = 0;\n }\n invariant(allowCustomArguments || quacksLikeADecorator(arguments), \"This function is a decorator, but it wasn't invoked like a decorator\");\n if (!descriptor) {\n // typescript (except for getter / setters)\n var newDescriptor = {\n enumerable: enumerable,\n configurable: true,\n get: function get() {\n if (!this.__mobxInitializedProps || this.__mobxInitializedProps[key] !== true) typescriptInitializeProperty(this, key, undefined, onInitialize, customArgs, descriptor);\n return _get.call(this, key);\n },\n set: function set(v) {\n if (!this.__mobxInitializedProps || this.__mobxInitializedProps[key] !== true) {\n typescriptInitializeProperty(this, key, v, onInitialize, customArgs, descriptor);\n } else {\n _set.call(this, key, v);\n }\n }\n };\n if (arguments.length < 3 || arguments.length === 5 && argLen < 3) {\n // Typescript target is ES3, so it won't define property for us\n // or using Reflect.decorate polyfill, which will return no descriptor\n // (see https://github.com/mobxjs/mobx/issues/333)\n Object.defineProperty(target, key, newDescriptor);\n }\n return newDescriptor;\n } else {\n // babel and typescript getter / setter props\n if (!hasOwnProperty(target, \"__mobxLazyInitializers\")) {\n addHiddenProp(target, \"__mobxLazyInitializers\", target.__mobxLazyInitializers && target.__mobxLazyInitializers.slice() || [] // support inheritance\n );\n }\n var value_1 = descriptor.value,\n initializer_1 = descriptor.initializer;\n target.__mobxLazyInitializers.push(function (instance) {\n onInitialize(instance, key, initializer_1 ? initializer_1.call(instance) : value_1, customArgs, descriptor);\n });\n return {\n enumerable: enumerable,\n configurable: true,\n get: function get() {\n if (this.__mobxDidRunLazyInitializers !== true) runLazyInitializers(this);\n return _get.call(this, key);\n },\n set: function set(v) {\n if (this.__mobxDidRunLazyInitializers !== true) runLazyInitializers(this);\n _set.call(this, key, v);\n }\n };\n }\n }\n if (allowCustomArguments) {\n /** If custom arguments are allowed, we should return a function that returns a decorator */\n return function () {\n /** Direct invocation: @decorator bla */\n if (quacksLikeADecorator(arguments)) return classPropertyDecorator.apply(null, arguments);\n /** Indirect invocation: @decorator(args) bla */\n var outerArgs = arguments;\n var argLen = arguments.length;\n return function (target, key, descriptor) {\n return classPropertyDecorator(target, key, descriptor, outerArgs, argLen);\n };\n };\n }\n return classPropertyDecorator;\n}\nfunction typescriptInitializeProperty(instance, key, v, onInitialize, customArgs, baseDescriptor) {\n if (!hasOwnProperty(instance, \"__mobxInitializedProps\")) addHiddenProp(instance, \"__mobxInitializedProps\", {});\n instance.__mobxInitializedProps[key] = true;\n onInitialize(instance, key, v, customArgs, baseDescriptor);\n}\nfunction runLazyInitializers(instance) {\n if (instance.__mobxDidRunLazyInitializers === true) return;\n if (instance.__mobxLazyInitializers) {\n addHiddenProp(instance, \"__mobxDidRunLazyInitializers\", true);\n instance.__mobxDidRunLazyInitializers && instance.__mobxLazyInitializers.forEach(function (initializer) {\n return initializer(instance);\n });\n }\n}\nfunction quacksLikeADecorator(args) {\n return (args.length === 2 || args.length === 3) && typeof args[1] === \"string\";\n}\n\nvar actionFieldDecorator = createClassPropertyDecorator(function (target, key, value, args, originalDescriptor) {\n var actionName = args && args.length === 1 ? args[0] : value.name || key || \"\";\n var wrappedAction = action(actionName, value);\n addHiddenProp(target, key, wrappedAction);\n}, function (key) {\n return this[key];\n}, function () {\n invariant(false, getMessage(\"m001\"));\n}, false, true);\nvar boundActionDecorator = createClassPropertyDecorator(function (target, key, value) {\n defineBoundAction(target, key, value);\n}, function (key) {\n return this[key];\n}, function () {\n invariant(false, getMessage(\"m001\"));\n}, false, false);\nvar action = function action(arg1, arg2, arg3, arg4) {\n if (arguments.length === 1 && typeof arg1 === \"function\") return createAction(arg1.name || \"\", arg1);\n if (arguments.length === 2 && typeof arg2 === \"function\") return createAction(arg1, arg2);\n if (arguments.length === 1 && typeof arg1 === \"string\") return namedActionDecorator(arg1);\n return namedActionDecorator(arg2).apply(null, arguments);\n};\naction.bound = function boundAction(arg1, arg2, arg3) {\n if (typeof arg1 === \"function\") {\n var action_1 = createAction(\"\", arg1);\n action_1.autoBind = true;\n return action_1;\n }\n return boundActionDecorator.apply(null, arguments);\n};\nfunction namedActionDecorator(name) {\n return function (target, prop, descriptor) {\n if (descriptor && typeof descriptor.value === \"function\") {\n // TypeScript @action method() { }. Defined on proto before being decorated\n // Don't use the field decorator if we are just decorating a method\n descriptor.value = createAction(name, descriptor.value);\n descriptor.enumerable = false;\n descriptor.configurable = true;\n return descriptor;\n }\n if (descriptor !== undefined && descriptor.get !== undefined) {\n throw new Error(\"[mobx] action is not expected to be used with getters\");\n }\n // bound instance methods\n return actionFieldDecorator(name).apply(this, arguments);\n };\n}\nfunction runInAction(arg1, arg2, arg3) {\n var actionName = typeof arg1 === \"string\" ? arg1 : arg1.name || \"\";\n var fn = typeof arg1 === \"function\" ? arg1 : arg2;\n var scope = typeof arg1 === \"function\" ? arg2 : arg3;\n invariant(typeof fn === \"function\", getMessage(\"m002\"));\n invariant(fn.length === 0, getMessage(\"m003\"));\n invariant(typeof actionName === \"string\" && actionName.length > 0, \"actions should have valid names, got: '\" + actionName + \"'\");\n return executeAction(actionName, fn, scope, undefined);\n}\nfunction isAction(thing) {\n return typeof thing === \"function\" && thing.isMobxAction === true;\n}\nfunction defineBoundAction(target, propertyName, fn) {\n var res = function res() {\n return executeAction(propertyName, fn, target, arguments);\n };\n res.isMobxAction = true;\n addHiddenProp(target, propertyName, res);\n}\n\nvar toString = Object.prototype.toString;\nfunction deepEqual(a, b) {\n return eq(a, b);\n}\n// Copied from https://github.com/jashkenas/underscore/blob/5c237a7c682fb68fd5378203f0bf22dce1624854/underscore.js#L1186-L1289\n// Internal recursive comparison function for `isEqual`.\nfunction eq(a, b, aStack, bStack) {\n // Identical objects are equal. `0 === -0`, but they aren't identical.\n // See the [Harmony `egal` proposal](http://wiki.ecmascript.org/doku.php?id=harmony:egal).\n if (a === b) return a !== 0 || 1 / a === 1 / b;\n // `null` or `undefined` only equal to itself (strict comparison).\n if (a == null || b == null) return false;\n // `NaN`s are equivalent, but non-reflexive.\n if (a !== a) return b !== b;\n // Exhaust primitive checks\n var type = typeof a === \"undefined\" ? \"undefined\" : _typeof(a);\n if (type !== \"function\" && type !== \"object\" && (typeof b === \"undefined\" ? \"undefined\" : _typeof(b)) != \"object\") return false;\n return deepEq(a, b, aStack, bStack);\n}\n// Internal recursive comparison function for `isEqual`.\nfunction deepEq(a, b, aStack, bStack) {\n // Unwrap any wrapped objects.\n a = unwrap(a);\n b = unwrap(b);\n // Compare `[[Class]]` names.\n var className = toString.call(a);\n if (className !== toString.call(b)) return false;\n switch (className) {\n // Strings, numbers, regular expressions, dates, and booleans are compared by value.\n case \"[object RegExp]\":\n // RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i')\n case \"[object String]\":\n // Primitives and their corresponding object wrappers are equivalent; thus, `\"5\"` is\n // equivalent to `new String(\"5\")`.\n return \"\" + a === \"\" + b;\n case \"[object Number]\":\n // `NaN`s are equivalent, but non-reflexive.\n // Object(NaN) is equivalent to NaN.\n if (+a !== +a) return +b !== +b;\n // An `egal` comparison is performed for other numeric values.\n return +a === 0 ? 1 / +a === 1 / b : +a === +b;\n case \"[object Date]\":\n case \"[object Boolean]\":\n // Coerce dates and booleans to numeric primitive values. Dates are compared by their\n // millisecond representations. Note that invalid dates with millisecond representations\n // of `NaN` are not equivalent.\n return +a === +b;\n case \"[object Symbol]\":\n return typeof Symbol !== \"undefined\" && Symbol.valueOf.call(a) === Symbol.valueOf.call(b);\n }\n var areArrays = className === \"[object Array]\";\n if (!areArrays) {\n if ((typeof a === \"undefined\" ? \"undefined\" : _typeof(a)) != \"object\" || (typeof b === \"undefined\" ? \"undefined\" : _typeof(b)) != \"object\") return false;\n // Objects with different constructors are not equivalent, but `Object`s or `Array`s\n // from different frames are.\n var aCtor = a.constructor,\n bCtor = b.constructor;\n if (aCtor !== bCtor && !(typeof aCtor === \"function\" && aCtor instanceof aCtor && typeof bCtor === \"function\" && bCtor instanceof bCtor) && \"constructor\" in a && \"constructor\" in b) {\n return false;\n }\n }\n // Assume equality for cyclic structures. The algorithm for detecting cyclic\n // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`.\n // Initializing stack of traversed objects.\n // It's done here since we only need them for objects and arrays comparison.\n aStack = aStack || [];\n bStack = bStack || [];\n var length = aStack.length;\n while (length--) {\n // Linear search. Performance is inversely proportional to the number of\n // unique nested structures.\n if (aStack[length] === a) return bStack[length] === b;\n }\n // Add the first object to the stack of traversed objects.\n aStack.push(a);\n bStack.push(b);\n // Recursively compare objects and arrays.\n if (areArrays) {\n // Compare array lengths to determine if a deep comparison is necessary.\n length = a.length;\n if (length !== b.length) return false;\n // Deep compare the contents, ignoring non-numeric properties.\n while (length--) {\n if (!eq(a[length], b[length], aStack, bStack)) return false;\n }\n } else {\n // Deep compare objects.\n var keys = Object.keys(a),\n key;\n length = keys.length;\n // Ensure that both objects contain the same number of properties before comparing deep equality.\n if (Object.keys(b).length !== length) return false;\n while (length--) {\n // Deep compare each member\n key = keys[length];\n if (!(has(b, key) && eq(a[key], b[key], aStack, bStack))) return false;\n }\n }\n // Remove the first object from the stack of traversed objects.\n aStack.pop();\n bStack.pop();\n return true;\n}\nfunction unwrap(a) {\n if (isObservableArray(a)) return a.peek();\n if (isObservableMap(a)) return a.entries();\n if (isES6Map(a)) return iteratorToArray(a.entries());\n return a;\n}\nfunction has(a, key) {\n return Object.prototype.hasOwnProperty.call(a, key);\n}\n\nfunction identityComparer(a, b) {\n return a === b;\n}\nfunction structuralComparer(a, b) {\n return deepEqual(a, b);\n}\nfunction defaultComparer(a, b) {\n return areBothNaN(a, b) || identityComparer(a, b);\n}\nvar comparer = {\n identity: identityComparer,\n structural: structuralComparer,\n default: defaultComparer\n};\n\nfunction autorun(arg1, arg2, arg3) {\n var name, view, scope;\n if (typeof arg1 === \"string\") {\n name = arg1;\n view = arg2;\n scope = arg3;\n } else {\n name = arg1.name || \"Autorun@\" + getNextId();\n view = arg1;\n scope = arg2;\n }\n invariant(typeof view === \"function\", getMessage(\"m004\"));\n invariant(isAction(view) === false, getMessage(\"m005\"));\n if (scope) view = view.bind(scope);\n var reaction = new Reaction(name, function () {\n this.track(reactionRunner);\n });\n function reactionRunner() {\n view(reaction);\n }\n reaction.schedule();\n return reaction.getDisposer();\n}\nfunction when(arg1, arg2, arg3, arg4) {\n var name, predicate, effect, scope;\n if (typeof arg1 === \"string\") {\n name = arg1;\n predicate = arg2;\n effect = arg3;\n scope = arg4;\n } else {\n name = \"When@\" + getNextId();\n predicate = arg1;\n effect = arg2;\n scope = arg3;\n }\n var disposer = autorun(name, function (r) {\n if (predicate.call(scope)) {\n r.dispose();\n var prevUntracked = untrackedStart();\n effect.call(scope);\n untrackedEnd(prevUntracked);\n }\n });\n return disposer;\n}\nfunction autorunAsync(arg1, arg2, arg3, arg4) {\n var name, func, delay, scope;\n if (typeof arg1 === \"string\") {\n name = arg1;\n func = arg2;\n delay = arg3;\n scope = arg4;\n } else {\n name = arg1.name || \"AutorunAsync@\" + getNextId();\n func = arg1;\n delay = arg2;\n scope = arg3;\n }\n invariant(isAction(func) === false, getMessage(\"m006\"));\n if (delay === void 0) delay = 1;\n if (scope) func = func.bind(scope);\n var isScheduled = false;\n var r = new Reaction(name, function () {\n if (!isScheduled) {\n isScheduled = true;\n setTimeout(function () {\n isScheduled = false;\n if (!r.isDisposed) r.track(reactionRunner);\n }, delay);\n }\n });\n function reactionRunner() {\n func(r);\n }\n r.schedule();\n return r.getDisposer();\n}\nfunction reaction(expression, effect, arg3) {\n if (arguments.length > 3) {\n fail(getMessage(\"m007\"));\n }\n if (isModifierDescriptor(expression)) {\n fail(getMessage(\"m008\"));\n }\n var opts;\n if ((typeof arg3 === \"undefined\" ? \"undefined\" : _typeof(arg3)) === \"object\") {\n opts = arg3;\n } else {\n opts = {};\n }\n opts.name = opts.name || expression.name || effect.name || \"Reaction@\" + getNextId();\n opts.fireImmediately = arg3 === true || opts.fireImmediately === true;\n opts.delay = opts.delay || 0;\n opts.compareStructural = opts.compareStructural || opts.struct || false;\n // TODO: creates ugly spy events, use `effect = (r) => runInAction(opts.name, () => effect(r))` instead\n effect = action(opts.name, opts.context ? effect.bind(opts.context) : effect);\n if (opts.context) {\n expression = expression.bind(opts.context);\n }\n var firstTime = true;\n var isScheduled = false;\n var value;\n var equals = opts.equals ? opts.equals : opts.compareStructural || opts.struct ? comparer.structural : comparer.default;\n var r = new Reaction(opts.name, function () {\n if (firstTime || opts.delay < 1) {\n reactionRunner();\n } else if (!isScheduled) {\n isScheduled = true;\n setTimeout(function () {\n isScheduled = false;\n reactionRunner();\n }, opts.delay);\n }\n });\n function reactionRunner() {\n if (r.isDisposed) return;\n var changed = false;\n r.track(function () {\n var nextValue = expression(r);\n changed = firstTime || !equals(value, nextValue);\n value = nextValue;\n });\n if (firstTime && opts.fireImmediately) effect(value, r);\n if (!firstTime && changed === true) effect(value, r);\n if (firstTime) firstTime = false;\n }\n r.schedule();\n return r.getDisposer();\n}\n\n/**\n * A node in the state dependency root that observes other nodes, and can be observed itself.\n *\n * ComputedValue will remember the result of the computation for the duration of the batch, or\n * while being observed.\n *\n * During this time it will recompute only when one of its direct dependencies changed,\n * but only when it is being accessed with `ComputedValue.get()`.\n *\n * Implementation description:\n * 1. First time it's being accessed it will compute and remember result\n * give back remembered result until 2. happens\n * 2. First time any deep dependency change, propagate POSSIBLY_STALE to all observers, wait for 3.\n * 3. When it's being accessed, recompute if any shallow dependency changed.\n * if result changed: propagate STALE to all observers, that were POSSIBLY_STALE from the last step.\n * go to step 2. either way\n *\n * If at any point it's outside batch and it isn't observed: reset everything and go to 1.\n */\nvar ComputedValue = /** @class */function () {\n /**\n * Create a new computed value based on a function expression.\n *\n * The `name` property is for debug purposes only.\n *\n * The `equals` property specifies the comparer function to use to determine if a newly produced\n * value differs from the previous value. Two comparers are provided in the library; `defaultComparer`\n * compares based on identity comparison (===), and `structualComparer` deeply compares the structure.\n * Structural comparison can be convenient if you always produce an new aggregated object and\n * don't want to notify observers if it is structurally the same.\n * This is useful for working with vectors, mouse coordinates etc.\n */\n function ComputedValue(derivation, scope, equals, name, setter) {\n this.derivation = derivation;\n this.scope = scope;\n this.equals = equals;\n this.dependenciesState = IDerivationState.NOT_TRACKING;\n this.observing = []; // nodes we are looking at. Our value depends on these nodes\n this.newObserving = null; // during tracking it's an array with new observed observers\n this.isPendingUnobservation = false;\n this.observers = [];\n this.observersIndexes = {};\n this.diffValue = 0;\n this.runId = 0;\n this.lastAccessedBy = 0;\n this.lowestObserverState = IDerivationState.UP_TO_DATE;\n this.unboundDepsCount = 0;\n this.__mapid = \"#\" + getNextId();\n this.value = new CaughtException(null);\n this.isComputing = false; // to check for cycles\n this.isRunningSetter = false;\n this.isTracing = TraceMode.NONE;\n this.name = name || \"ComputedValue@\" + getNextId();\n if (setter) this.setter = createAction(name + \"-setter\", setter);\n }\n ComputedValue.prototype.onBecomeStale = function () {\n propagateMaybeChanged(this);\n };\n ComputedValue.prototype.onBecomeUnobserved = function () {\n clearObserving(this);\n this.value = undefined;\n };\n /**\n * Returns the current value of this computed value.\n * Will evaluate its computation first if needed.\n */\n ComputedValue.prototype.get = function () {\n invariant(!this.isComputing, \"Cycle detected in computation \" + this.name, this.derivation);\n if (globalState.inBatch === 0) {\n // This is an minor optimization which could be omitted to simplify the code\n // The computedValue is accessed outside of any mobx stuff. Batch observing should be enough and don't need\n // tracking as it will never be called again inside this batch.\n startBatch();\n if (shouldCompute(this)) {\n if (this.isTracing !== TraceMode.NONE) {\n console.log(\"[mobx.trace] '\" + this.name + \"' is being read outside a reactive context and doing a full recompute\");\n }\n this.value = this.computeValue(false);\n }\n endBatch();\n } else {\n reportObserved(this);\n if (shouldCompute(this)) if (this.trackAndCompute()) propagateChangeConfirmed(this);\n }\n var result = this.value;\n if (isCaughtException(result)) throw result.cause;\n return result;\n };\n ComputedValue.prototype.peek = function () {\n var res = this.computeValue(false);\n if (isCaughtException(res)) throw res.cause;\n return res;\n };\n ComputedValue.prototype.set = function (value) {\n if (this.setter) {\n invariant(!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?\");\n this.isRunningSetter = true;\n try {\n this.setter.call(this.scope, value);\n } finally {\n this.isRunningSetter = false;\n }\n } else invariant(false, \"[ComputedValue '\" + this.name + \"'] It is not possible to assign a new value to a computed value.\");\n };\n ComputedValue.prototype.trackAndCompute = function () {\n if (isSpyEnabled()) {\n spyReport({\n object: this.scope,\n type: \"compute\",\n fn: this.derivation\n });\n }\n var oldValue = this.value;\n var wasSuspended =\n /* see #1208 */this.dependenciesState === IDerivationState.NOT_TRACKING;\n var newValue = this.value = this.computeValue(true);\n return wasSuspended || isCaughtException(oldValue) || isCaughtException(newValue) || !this.equals(oldValue, newValue);\n };\n ComputedValue.prototype.computeValue = function (track) {\n this.isComputing = true;\n globalState.computationDepth++;\n var res;\n if (track) {\n res = trackDerivedFunction(this, this.derivation, this.scope);\n } else {\n try {\n res = this.derivation.call(this.scope);\n } catch (e) {\n res = new CaughtException(e);\n }\n }\n globalState.computationDepth--;\n this.isComputing = false;\n return res;\n };\n ComputedValue.prototype.observe = function (listener, fireImmediately) {\n var _this = this;\n var firstTime = true;\n var prevValue = undefined;\n return autorun(function () {\n var newValue = _this.get();\n if (!firstTime || fireImmediately) {\n var prevU = untrackedStart();\n listener({\n type: \"update\",\n object: _this,\n newValue: newValue,\n oldValue: prevValue\n });\n untrackedEnd(prevU);\n }\n firstTime = false;\n prevValue = newValue;\n });\n };\n ComputedValue.prototype.toJSON = function () {\n return this.get();\n };\n ComputedValue.prototype.toString = function () {\n return this.name + \"[\" + this.derivation.toString() + \"]\";\n };\n ComputedValue.prototype.valueOf = function () {\n return toPrimitive(this.get());\n };\n ComputedValue.prototype.whyRun = function () {\n var isTracking = Boolean(globalState.trackingDerivation);\n var observing = unique(this.isComputing ? this.newObserving : this.observing).map(function (dep) {\n return dep.name;\n });\n var observers = unique(getObservers(this).map(function (dep) {\n return dep.name;\n }));\n return \"\\nWhyRun? computation '\" + this.name + \"':\\n * Running because: \" + (isTracking ? \"[active] the value of this computation is needed by a reaction\" : this.isComputing ? \"[get] The value of this computed was requested outside a reaction\" : \"[idle] not running at the moment\") + \"\\n\" + (this.dependenciesState === IDerivationState.NOT_TRACKING ? getMessage(\"m032\") : \" * This computation will re-run if any of the following observables changes:\\n \" + joinStrings(observing) + \"\\n \" + (this.isComputing && isTracking ? \" (... or any observable accessed during the remainder of the current run)\" : \"\") + \"\\n \" + getMessage(\"m038\") + \"\\n\\n * If the outcome of this computation changes, the following observers will be re-run:\\n \" + joinStrings(observers) + \"\\n\");\n };\n return ComputedValue;\n}();\nComputedValue.prototype[primitiveSymbol()] = ComputedValue.prototype.valueOf;\nvar isComputedValue = createInstanceofPredicate(\"ComputedValue\", ComputedValue);\n\nvar ObservableObjectAdministration = /** @class */function () {\n function ObservableObjectAdministration(target, name) {\n this.target = target;\n this.name = name;\n this.values = {};\n this.changeListeners = null;\n this.interceptors = null;\n }\n /**\n * Observes this object. Triggers for the events 'add', 'update' and 'delete'.\n * See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/observe\n * for callback details\n */\n ObservableObjectAdministration.prototype.observe = function (callback, fireImmediately) {\n invariant(fireImmediately !== true, \"`observe` doesn't support the fire immediately property for observable objects.\");\n return registerListener(this, callback);\n };\n ObservableObjectAdministration.prototype.intercept = function (handler) {\n return registerInterceptor(this, handler);\n };\n return ObservableObjectAdministration;\n}();\nfunction asObservableObject(target, name) {\n if (isObservableObject(target) && target.hasOwnProperty(\"$mobx\")) return target.$mobx;\n invariant(Object.isExtensible(target), getMessage(\"m035\"));\n if (!isPlainObject(target)) name = (target.constructor.name || \"ObservableObject\") + \"@\" + getNextId();\n if (!name) name = \"ObservableObject@\" + getNextId();\n var adm = new ObservableObjectAdministration(target, name);\n addHiddenFinalProp(target, \"$mobx\", adm);\n return adm;\n}\nfunction defineObservablePropertyFromDescriptor(adm, propName, descriptor, defaultEnhancer) {\n if (adm.values[propName] && !isComputedValue(adm.values[propName])) {\n // already observable property\n invariant(\"value\" in descriptor, \"The property \" + propName + \" in \" + adm.name + \" is already observable, cannot redefine it as computed property\");\n adm.target[propName] = descriptor.value; // the property setter will make 'value' reactive if needed.\n return;\n }\n // not yet observable property\n if (\"value\" in descriptor) {\n // not a computed value\n if (isModifierDescriptor(descriptor.value)) {\n // x : ref(someValue)\n var modifierDescriptor = descriptor.value;\n defineObservableProperty(adm, propName, modifierDescriptor.initialValue, modifierDescriptor.enhancer);\n } else if (isAction(descriptor.value) && descriptor.value.autoBind === true) {\n defineBoundAction(adm.target, propName, descriptor.value.originalFn);\n } else if (isComputedValue(descriptor.value)) {\n // x: computed(someExpr)\n defineComputedPropertyFromComputedValue(adm, propName, descriptor.value);\n } else {\n // x: someValue\n defineObservableProperty(adm, propName, descriptor.value, defaultEnhancer);\n }\n } else {\n // get x() { return 3 } set x(v) { }\n defineComputedProperty(adm, propName, descriptor.get, descriptor.set, comparer.default, true);\n }\n}\nfunction defineObservableProperty(adm, propName, newValue, enhancer) {\n assertPropertyConfigurable(adm.target, propName);\n if (hasInterceptors(adm)) {\n var change = interceptChange(adm, {\n object: adm.target,\n name: propName,\n type: \"add\",\n newValue: newValue\n });\n if (!change) return;\n newValue = change.newValue;\n }\n var observable = adm.values[propName] = new ObservableValue(newValue, enhancer, adm.name + \".\" + propName, false);\n newValue = observable.value; // observableValue might have changed it\n Object.defineProperty(adm.target, propName, generateObservablePropConfig(propName));\n notifyPropertyAddition(adm, adm.target, propName, newValue);\n}\nfunction defineComputedProperty(adm, propName, getter, setter, equals, asInstanceProperty) {\n if (asInstanceProperty) assertPropertyConfigurable(adm.target, propName);\n adm.values[propName] = new ComputedValue(getter, adm.target, equals, adm.name + \".\" + propName, setter);\n if (asInstanceProperty) {\n Object.defineProperty(adm.target, propName, generateComputedPropConfig(propName));\n }\n}\nfunction defineComputedPropertyFromComputedValue(adm, propName, computedValue) {\n var name = adm.name + \".\" + propName;\n computedValue.name = name;\n if (!computedValue.scope) computedValue.scope = adm.target;\n adm.values[propName] = computedValue;\n Object.defineProperty(adm.target, propName, generateComputedPropConfig(propName));\n}\nvar observablePropertyConfigs = {};\nvar computedPropertyConfigs = {};\nfunction generateObservablePropConfig(propName) {\n return observablePropertyConfigs[propName] || (observablePropertyConfigs[propName] = {\n configurable: true,\n enumerable: true,\n get: function get() {\n return this.$mobx.values[propName].get();\n },\n set: function set(v) {\n setPropertyValue(this, propName, v);\n }\n });\n}\nfunction generateComputedPropConfig(propName) {\n return computedPropertyConfigs[propName] || (computedPropertyConfigs[propName] = {\n configurable: true,\n enumerable: false,\n get: function get() {\n return this.$mobx.values[propName].get();\n },\n set: function set(v) {\n return this.$mobx.values[propName].set(v);\n }\n });\n}\nfunction setPropertyValue(instance, name, newValue) {\n var adm = instance.$mobx;\n var observable = adm.values[name];\n // intercept\n if (hasInterceptors(adm)) {\n var change = interceptChange(adm, {\n type: \"update\",\n object: instance,\n name: name,\n newValue: newValue\n });\n if (!change) return;\n newValue = change.newValue;\n }\n newValue = observable.prepareNewValue(newValue);\n // notify spy & observers\n if (newValue !== UNCHANGED) {\n var notify = hasListeners(adm);\n var notifySpy = isSpyEnabled();\n var change = notify || notifySpy ? {\n type: \"update\",\n object: instance,\n oldValue: observable.value,\n name: name,\n newValue: newValue\n } : null;\n if (notifySpy) spyReportStart(change);\n observable.setNewValue(newValue);\n if (notify) notifyListeners(adm, change);\n if (notifySpy) spyReportEnd();\n }\n}\nfunction notifyPropertyAddition(adm, object, name, newValue) {\n var notify = hasListeners(adm);\n var notifySpy = isSpyEnabled();\n var change = notify || notifySpy ? {\n type: \"add\",\n object: object,\n name: name,\n newValue: newValue\n } : null;\n if (notifySpy) spyReportStart(change);\n if (notify) notifyListeners(adm, change);\n if (notifySpy) spyReportEnd();\n}\nvar isObservableObjectAdministration = createInstanceofPredicate(\"ObservableObjectAdministration\", ObservableObjectAdministration);\nfunction isObservableObject(thing) {\n if (isObject(thing)) {\n // Initializers run lazily when transpiling to babel, so make sure they are run...\n runLazyInitializers(thing);\n return isObservableObjectAdministration(thing.$mobx);\n }\n return false;\n}\n\n/**\n * Returns true if the provided value is reactive.\n * @param value object, function or array\n * @param property if property is specified, checks whether value.property is reactive.\n */\nfunction isObservable(value, property) {\n if (value === null || value === undefined) return false;\n if (property !== undefined) {\n if (isObservableArray(value) || isObservableMap(value)) throw new Error(getMessage(\"m019\"));else if (isObservableObject(value)) {\n var o = value.$mobx;\n return o.values && !!o.values[property];\n }\n return false;\n }\n // For first check, see #701\n return isObservableObject(value) || !!value.$mobx || isAtom(value) || isReaction(value) || isComputedValue(value);\n}\n\nfunction createDecoratorForEnhancer(enhancer) {\n invariant(!!enhancer, \":(\");\n return createClassPropertyDecorator(function (target, name, baseValue, _, baseDescriptor) {\n assertPropertyConfigurable(target, name);\n invariant(!baseDescriptor || !baseDescriptor.get, getMessage(\"m022\"));\n var adm = asObservableObject(target, undefined);\n defineObservableProperty(adm, name, baseValue, enhancer);\n }, function (name) {\n var observable = this.$mobx.values[name];\n if (observable === undefined // See #505\n ) return undefined;\n return observable.get();\n }, function (name, value) {\n setPropertyValue(this, name, value);\n }, true, false);\n}\n\nfunction extendObservable(target) {\n var properties = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n properties[_i - 1] = arguments[_i];\n }\n return extendObservableHelper(target, deepEnhancer, properties);\n}\nfunction extendShallowObservable(target) {\n var properties = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n properties[_i - 1] = arguments[_i];\n }\n return extendObservableHelper(target, referenceEnhancer, properties);\n}\nfunction extendObservableHelper(target, defaultEnhancer, properties) {\n invariant(arguments.length >= 2, getMessage(\"m014\"));\n invariant((typeof target === \"undefined\" ? \"undefined\" : _typeof(target)) === \"object\", getMessage(\"m015\"));\n invariant(!isObservableMap(target), getMessage(\"m016\"));\n properties.forEach(function (propSet) {\n invariant((typeof propSet === \"undefined\" ? \"undefined\" : _typeof(propSet)) === \"object\", getMessage(\"m017\"));\n invariant(!isObservable(propSet), getMessage(\"m018\"));\n });\n var adm = asObservableObject(target);\n var definedProps = {};\n // Note could be optimised if properties.length === 1\n for (var i = properties.length - 1; i >= 0; i--) {\n var propSet = properties[i];\n for (var key in propSet) {\n if (definedProps[key] !== true && hasOwnProperty(propSet, key)) {\n definedProps[key] = true;\n if (target === propSet && !isPropertyConfigurable(target, key)) continue; // see #111, skip non-configurable or non-writable props for `observable(object)`.\n var descriptor = Object.getOwnPropertyDescriptor(propSet, key);\n defineObservablePropertyFromDescriptor(adm, key, descriptor, defaultEnhancer);\n }\n }\n }\n return target;\n}\n\nvar deepDecorator = createDecoratorForEnhancer(deepEnhancer);\nvar shallowDecorator = createDecoratorForEnhancer(shallowEnhancer);\nvar refDecorator = createDecoratorForEnhancer(referenceEnhancer);\nvar deepStructDecorator = createDecoratorForEnhancer(deepStructEnhancer);\nvar refStructDecorator = createDecoratorForEnhancer(refStructEnhancer);\n/**\n * Turns an object, array or function into a reactive structure.\n * @param v the value which should become observable.\n */\nfunction createObservable(v) {\n if (v === void 0) {\n v = undefined;\n }\n // @observable someProp;\n if (typeof arguments[1] === \"string\") return deepDecorator.apply(null, arguments);\n invariant(arguments.length <= 1, getMessage(\"m021\"));\n invariant(!isModifierDescriptor(v), getMessage(\"m020\"));\n // it is an observable already, done\n if (isObservable(v)) return v;\n // something that can be converted and mutated?\n var res = deepEnhancer(v, undefined, undefined);\n // this value could be converted to a new observable data structure, return it\n if (res !== v) return res;\n // otherwise, just box it\n return observable.box(v);\n}\nvar observableFactories = {\n box: function box(value, name) {\n if (arguments.length > 2) incorrectlyUsedAsDecorator(\"box\");\n return new ObservableValue(value, deepEnhancer, name);\n },\n shallowBox: function shallowBox(value, name) {\n if (arguments.length > 2) incorrectlyUsedAsDecorator(\"shallowBox\");\n return new ObservableValue(value, referenceEnhancer, name);\n },\n array: function array(initialValues, name) {\n if (arguments.length > 2) incorrectlyUsedAsDecorator(\"array\");\n return new ObservableArray(initialValues, deepEnhancer, name);\n },\n shallowArray: function shallowArray(initialValues, name) {\n if (arguments.length > 2) incorrectlyUsedAsDecorator(\"shallowArray\");\n return new ObservableArray(initialValues, referenceEnhancer, name);\n },\n map: function map(initialValues, name) {\n if (arguments.length > 2) incorrectlyUsedAsDecorator(\"map\");\n return new ObservableMap(initialValues, deepEnhancer, name);\n },\n shallowMap: function shallowMap(initialValues, name) {\n if (arguments.length > 2) incorrectlyUsedAsDecorator(\"shallowMap\");\n return new ObservableMap(initialValues, referenceEnhancer, name);\n },\n object: function object(props, name) {\n if (arguments.length > 2) incorrectlyUsedAsDecorator(\"object\");\n var res = {};\n // convert to observable object\n asObservableObject(res, name);\n // add properties\n extendObservable(res, props);\n return res;\n },\n shallowObject: function shallowObject(props, name) {\n if (arguments.length > 2) incorrectlyUsedAsDecorator(\"shallowObject\");\n var res = {};\n asObservableObject(res, name);\n extendShallowObservable(res, props);\n return res;\n },\n ref: function ref() {\n if (arguments.length < 2) {\n // although ref creates actually a modifier descriptor, the type of the resultig properties\n // of the object is `T` in the end, when the descriptors are interpreted\n return createModifierDescriptor(referenceEnhancer, arguments[0]);\n } else {\n return refDecorator.apply(null, arguments);\n }\n },\n shallow: function shallow() {\n if (arguments.length < 2) {\n // although ref creates actually a modifier descriptor, the type of the resultig properties\n // of the object is `T` in the end, when the descriptors are interpreted\n return createModifierDescriptor(shallowEnhancer, arguments[0]);\n } else {\n return shallowDecorator.apply(null, arguments);\n }\n },\n deep: function deep() {\n if (arguments.length < 2) {\n // although ref creates actually a modifier descriptor, the type of the resultig properties\n // of the object is `T` in the end, when the descriptors are interpreted\n return createModifierDescriptor(deepEnhancer, arguments[0]);\n } else {\n return deepDecorator.apply(null, arguments);\n }\n },\n struct: function struct() {\n if (arguments.length < 2) {\n // although ref creates actually a modifier descriptor, the type of the resultig properties\n // of the object is `T` in the end, when the descriptors are interpreted\n return createModifierDescriptor(deepStructEnhancer, arguments[0]);\n } else {\n return deepStructDecorator.apply(null, arguments);\n }\n }\n};\nvar observable = createObservable;\n// weird trick to keep our typings nicely with our funcs, and still extend the observable function\nObject.keys(observableFactories).forEach(function (name) {\n return observable[name] = observableFactories[name];\n});\nobservable.deep.struct = observable.struct;\nobservable.ref.struct = function () {\n if (arguments.length < 2) {\n return createModifierDescriptor(refStructEnhancer, arguments[0]);\n } else {\n return refStructDecorator.apply(null, arguments);\n }\n};\nfunction incorrectlyUsedAsDecorator(methodName) {\n fail(\"Expected one or two arguments to observable.\" + methodName + \". Did you accidentally try to use observable.\" + methodName + \" as decorator?\");\n}\n\nfunction isModifierDescriptor(thing) {\n return (typeof thing === \"undefined\" ? \"undefined\" : _typeof(thing)) === \"object\" && thing !== null && thing.isMobxModifierDescriptor === true;\n}\nfunction createModifierDescriptor(enhancer, initialValue) {\n invariant(!isModifierDescriptor(initialValue), \"Modifiers cannot be nested\");\n return {\n isMobxModifierDescriptor: true,\n initialValue: initialValue,\n enhancer: enhancer\n };\n}\nfunction deepEnhancer(v, _, name) {\n if (isModifierDescriptor(v)) fail(\"You tried to assign a modifier wrapped value to a collection, please define modifiers when creating the collection, not when modifying it\");\n // it is an observable already, done\n if (isObservable(v)) return v;\n // something that can be converted and mutated?\n if (Array.isArray(v)) return observable.array(v, name);\n if (isPlainObject(v)) return observable.object(v, name);\n if (isES6Map(v)) return observable.map(v, name);\n return v;\n}\nfunction shallowEnhancer(v, _, name) {\n if (isModifierDescriptor(v)) fail(\"You tried to assign a modifier wrapped value to a collection, please define modifiers when creating the collection, not when modifying it\");\n if (v === undefined || v === null) return v;\n if (isObservableObject(v) || isObservableArray(v) || isObservableMap(v)) return v;\n if (Array.isArray(v)) return observable.shallowArray(v, name);\n if (isPlainObject(v)) return observable.shallowObject(v, name);\n if (isES6Map(v)) return observable.shallowMap(v, name);\n return fail(\"The shallow modifier / decorator can only used in combination with arrays, objects and maps\");\n}\nfunction referenceEnhancer(newValue) {\n // never turn into an observable\n return newValue;\n}\nfunction deepStructEnhancer(v, oldValue, name) {\n // don't confuse structurally compare enhancer with ref enhancer! The latter is probably\n // more suited for immutable objects\n if (deepEqual(v, oldValue)) return oldValue;\n // it is an observable already, done\n if (isObservable(v)) return v;\n // something that can be converted and mutated?\n if (Array.isArray(v)) return new ObservableArray(v, deepStructEnhancer, name);\n if (isES6Map(v)) return new ObservableMap(v, deepStructEnhancer, name);\n if (isPlainObject(v)) {\n var res = {};\n asObservableObject(res, name);\n extendObservableHelper(res, deepStructEnhancer, [v]);\n return res;\n }\n return v;\n}\nfunction refStructEnhancer(v, oldValue, name) {\n if (deepEqual(v, oldValue)) return oldValue;\n return v;\n}\n\n/**\n * During a transaction no views are updated until the end of the transaction.\n * The transaction will be run synchronously nonetheless.\n *\n * @param action a function that updates some reactive state\n * @returns any value that was returned by the 'action' parameter.\n */\nfunction transaction(action, thisArg) {\n if (thisArg === void 0) {\n thisArg = undefined;\n }\n startBatch();\n try {\n return action.apply(thisArg);\n } finally {\n endBatch();\n }\n}\n\nvar ObservableMapMarker = {};\nvar ObservableMap = /** @class */function () {\n function ObservableMap(initialData, enhancer, name) {\n if (enhancer === void 0) {\n enhancer = deepEnhancer;\n }\n if (name === void 0) {\n name = \"ObservableMap@\" + getNextId();\n }\n this.enhancer = enhancer;\n this.name = name;\n this.$mobx = ObservableMapMarker;\n this._data = Object.create(null);\n this._hasMap = Object.create(null); // hasMap, not hashMap >-).\n this._keys = new ObservableArray(undefined, referenceEnhancer, this.name + \".keys()\", true);\n this.interceptors = null;\n this.changeListeners = null;\n this.dehancer = undefined;\n this.merge(initialData);\n }\n ObservableMap.prototype._has = function (key) {\n return typeof this._data[key] !== \"undefined\";\n };\n ObservableMap.prototype.has = function (key) {\n if (!this.isValidKey(key)) return false;\n key = \"\" + key;\n if (this._hasMap[key]) return this._hasMap[key].get();\n return this._updateHasMapEntry(key, false).get();\n };\n ObservableMap.prototype.set = function (key, value) {\n this.assertValidKey(key);\n key = \"\" + key;\n var hasKey = this._has(key);\n if (hasInterceptors(this)) {\n var change = interceptChange(this, {\n type: hasKey ? \"update\" : \"add\",\n object: this,\n newValue: value,\n name: key\n });\n if (!change) return this;\n value = change.newValue;\n }\n if (hasKey) {\n this._updateValue(key, value);\n } else {\n this._addValue(key, value);\n }\n return this;\n };\n ObservableMap.prototype.delete = function (key) {\n var _this = this;\n this.assertValidKey(key);\n key = \"\" + key;\n if (hasInterceptors(this)) {\n var change = interceptChange(this, {\n type: \"delete\",\n object: this,\n name: key\n });\n if (!change) return false;\n }\n if (this._has(key)) {\n var notifySpy = isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy ? {\n type: \"delete\",\n object: this,\n oldValue: this._data[key].value,\n name: key\n } : null;\n if (notifySpy) spyReportStart(change);\n transaction(function () {\n _this._keys.remove(key);\n _this._updateHasMapEntry(key, false);\n var observable$$1 = _this._data[key];\n observable$$1.setNewValue(undefined);\n _this._data[key] = undefined;\n });\n if (notify) notifyListeners(this, change);\n if (notifySpy) spyReportEnd();\n return true;\n }\n return false;\n };\n ObservableMap.prototype._updateHasMapEntry = function (key, value) {\n // optimization; don't fill the hasMap if we are not observing, or remove entry if there are no observers anymore\n var entry = this._hasMap[key];\n if (entry) {\n entry.setNewValue(value);\n } else {\n entry = this._hasMap[key] = new ObservableValue(value, referenceEnhancer, this.name + \".\" + key + \"?\", false);\n }\n return entry;\n };\n ObservableMap.prototype._updateValue = function (name, newValue) {\n var observable$$1 = this._data[name];\n newValue = observable$$1.prepareNewValue(newValue);\n if (newValue !== UNCHANGED) {\n var notifySpy = isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy ? {\n type: \"update\",\n object: this,\n oldValue: observable$$1.value,\n name: name,\n newValue: newValue\n } : null;\n if (notifySpy) spyReportStart(change);\n observable$$1.setNewValue(newValue);\n if (notify) notifyListeners(this, change);\n if (notifySpy) spyReportEnd();\n }\n };\n ObservableMap.prototype._addValue = function (name, newValue) {\n var _this = this;\n transaction(function () {\n var observable$$1 = _this._data[name] = new ObservableValue(newValue, _this.enhancer, _this.name + \".\" + name, false);\n newValue = observable$$1.value; // value might have been changed\n _this._updateHasMapEntry(name, true);\n _this._keys.push(name);\n });\n var notifySpy = isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy ? {\n type: \"add\",\n object: this,\n name: name,\n newValue: newValue\n } : null;\n if (notifySpy) spyReportStart(change);\n if (notify) notifyListeners(this, change);\n if (notifySpy) spyReportEnd();\n };\n ObservableMap.prototype.get = function (key) {\n key = \"\" + key;\n if (this.has(key)) return this.dehanceValue(this._data[key].get());\n return this.dehanceValue(undefined);\n };\n ObservableMap.prototype.dehanceValue = function (value) {\n if (this.dehancer !== undefined) {\n return this.dehancer(value);\n }\n return value;\n };\n ObservableMap.prototype.keys = function () {\n return arrayAsIterator(this._keys.slice());\n };\n ObservableMap.prototype.values = function () {\n return arrayAsIterator(this._keys.map(this.get, this));\n };\n ObservableMap.prototype.entries = function () {\n var _this = this;\n return arrayAsIterator(this._keys.map(function (key) {\n return [key, _this.get(key)];\n }));\n };\n ObservableMap.prototype.forEach = function (callback, thisArg) {\n var _this = this;\n this.keys().forEach(function (key) {\n return callback.call(thisArg, _this.get(key), key, _this);\n });\n };\n /** Merge another object into this object, returns this. */\n ObservableMap.prototype.merge = function (other) {\n var _this = this;\n if (isObservableMap(other)) {\n other = other.toJS();\n }\n transaction(function () {\n if (isPlainObject(other)) Object.keys(other).forEach(function (key) {\n return _this.set(key, other[key]);\n });else if (Array.isArray(other)) other.forEach(function (_a) {\n var key = _a[0],\n value = _a[1];\n return _this.set(key, value);\n });else if (isES6Map(other)) other.forEach(function (value, key) {\n return _this.set(key, value);\n });else if (other !== null && other !== undefined) fail(\"Cannot initialize map from \" + other);\n });\n return this;\n };\n ObservableMap.prototype.clear = function () {\n var _this = this;\n transaction(function () {\n untracked(function () {\n _this.keys().forEach(_this.delete, _this);\n });\n });\n };\n ObservableMap.prototype.replace = function (values) {\n var _this = this;\n transaction(function () {\n // grab all the keys that are present in the new map but not present in the current map\n // and delete them from the map, then merge the new map\n // this will cause reactions only on changed values\n var newKeys = getMapLikeKeys(values);\n var oldKeys = _this.keys();\n var missingKeys = oldKeys.filter(function (k) {\n return newKeys.indexOf(k) === -1;\n });\n missingKeys.forEach(function (k) {\n return _this.delete(k);\n });\n _this.merge(values);\n });\n return this;\n };\n Object.defineProperty(ObservableMap.prototype, \"size\", {\n get: function get() {\n return this._keys.length;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Returns a shallow non observable object clone of this map.\n * Note that the values might still be observable. For a deep clone use mobx.toJS.\n */\n ObservableMap.prototype.toJS = function () {\n var _this = this;\n var res = {};\n this.keys().forEach(function (key) {\n return res[key] = _this.get(key);\n });\n return res;\n };\n ObservableMap.prototype.toJSON = function () {\n // Used by JSON.stringify\n return this.toJS();\n };\n ObservableMap.prototype.isValidKey = function (key) {\n if (key === null || key === undefined) return false;\n if (typeof key === \"string\" || typeof key === \"number\" || typeof key === \"boolean\") return true;\n return false;\n };\n ObservableMap.prototype.assertValidKey = function (key) {\n if (!this.isValidKey(key)) throw new Error(\"[mobx.map] Invalid key: '\" + key + \"', only strings, numbers and booleans are accepted as key in observable maps.\");\n };\n ObservableMap.prototype.toString = function () {\n var _this = this;\n return this.name + \"[{ \" + this.keys().map(function (key) {\n return key + \": \" + (\"\" + _this.get(key));\n }).join(\", \") + \" }]\";\n };\n /**\n * Observes this object. Triggers for the events 'add', 'update' and 'delete'.\n * See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/observe\n * for callback details\n */\n ObservableMap.prototype.observe = function (listener, fireImmediately) {\n invariant(fireImmediately !== true, getMessage(\"m033\"));\n return registerListener(this, listener);\n };\n ObservableMap.prototype.intercept = function (handler) {\n return registerInterceptor(this, handler);\n };\n return ObservableMap;\n}();\ndeclareIterator(ObservableMap.prototype, function () {\n return this.entries();\n});\nfunction map(initialValues) {\n deprecated(\"`mobx.map` is deprecated, use `new ObservableMap` or `mobx.observable.map` instead\");\n return observable.map(initialValues);\n}\n/* 'var' fixes small-build issue */\nvar isObservableMap = createInstanceofPredicate(\"ObservableMap\", ObservableMap);\n\nvar EMPTY_ARRAY = [];\nObject.freeze(EMPTY_ARRAY);\nfunction getGlobal() {\n return typeof window !== \"undefined\" ? window : global;\n}\nfunction getNextId() {\n return ++globalState.mobxGuid;\n}\nfunction fail(message, thing) {\n invariant(false, message, thing);\n throw \"X\"; // unreachable\n}\nfunction invariant(check, message, thing) {\n if (!check) throw new Error(\"[mobx] Invariant failed: \" + message + (thing ? \" in '\" + thing + \"'\" : \"\"));\n}\n/**\n * Prints a deprecation message, but only one time.\n * Returns false if the deprecated message was already printed before\n */\nvar deprecatedMessages = [];\nfunction deprecated(msg) {\n if (deprecatedMessages.indexOf(msg) !== -1) return false;\n deprecatedMessages.push(msg);\n console.error(\"[mobx] Deprecated: \" + msg);\n return true;\n}\n/**\n * Makes sure that the provided function is invoked at most once.\n */\nfunction once(func) {\n var invoked = false;\n return function () {\n if (invoked) return;\n invoked = true;\n return func.apply(this, arguments);\n };\n}\nvar noop = function noop() {};\nfunction unique(list) {\n var res = [];\n list.forEach(function (item) {\n if (res.indexOf(item) === -1) res.push(item);\n });\n return res;\n}\nfunction joinStrings(things, limit, separator) {\n if (limit === void 0) {\n limit = 100;\n }\n if (separator === void 0) {\n separator = \" - \";\n }\n if (!things) return \"\";\n var sliced = things.slice(0, limit);\n return \"\" + sliced.join(separator) + (things.length > limit ? \" (... and \" + (things.length - limit) + \"more)\" : \"\");\n}\nfunction isObject(value) {\n return value !== null && (typeof value === \"undefined\" ? \"undefined\" : _typeof(value)) === \"object\";\n}\nfunction isPlainObject(value) {\n if (value === null || (typeof value === \"undefined\" ? \"undefined\" : _typeof(value)) !== \"object\") return false;\n var proto = Object.getPrototypeOf(value);\n return proto === Object.prototype || proto === null;\n}\nfunction objectAssign() {\n var res = arguments[0];\n for (var i = 1, l = arguments.length; i < l; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (hasOwnProperty(source, key)) {\n res[key] = source[key];\n }\n }\n }\n return res;\n}\nvar prototypeHasOwnProperty = Object.prototype.hasOwnProperty;\nfunction hasOwnProperty(object, propName) {\n return prototypeHasOwnProperty.call(object, propName);\n}\nfunction makeNonEnumerable(object, propNames) {\n for (var i = 0; i < propNames.length; i++) {\n addHiddenProp(object, propNames[i], object[propNames[i]]);\n }\n}\nfunction addHiddenProp(object, propName, value) {\n Object.defineProperty(object, propName, {\n enumerable: false,\n writable: true,\n configurable: true,\n value: value\n });\n}\nfunction addHiddenFinalProp(object, propName, value) {\n Object.defineProperty(object, propName, {\n enumerable: false,\n writable: false,\n configurable: true,\n value: value\n });\n}\nfunction isPropertyConfigurable(object, prop) {\n var descriptor = Object.getOwnPropertyDescriptor(object, prop);\n return !descriptor || descriptor.configurable !== false && descriptor.writable !== false;\n}\nfunction assertPropertyConfigurable(object, prop) {\n invariant(isPropertyConfigurable(object, prop), \"Cannot make property '\" + prop + \"' observable, it is not configurable and writable in the target object\");\n}\nfunction createInstanceofPredicate(name, clazz) {\n var propName = \"isMobX\" + name;\n clazz.prototype[propName] = true;\n return function (x) {\n return isObject(x) && x[propName] === true;\n };\n}\nfunction areBothNaN(a, b) {\n return typeof a === \"number\" && typeof b === \"number\" && isNaN(a) && isNaN(b);\n}\n/**\n * Returns whether the argument is an array, disregarding observability.\n */\nfunction isArrayLike(x) {\n return Array.isArray(x) || isObservableArray(x);\n}\nfunction isES6Map(thing) {\n if (getGlobal().Map !== undefined && thing instanceof getGlobal().Map) return true;\n return false;\n}\nfunction getMapLikeKeys(map$$1) {\n if (isPlainObject(map$$1)) return Object.keys(map$$1);\n if (Array.isArray(map$$1)) return map$$1.map(function (_a) {\n var key = _a[0];\n return key;\n });\n if (isES6Map(map$$1)) return Array.from(map$$1.keys());\n if (isObservableMap(map$$1)) return map$$1.keys();\n return fail(\"Cannot get keys from \" + map$$1);\n}\nfunction iteratorToArray(it) {\n var res = [];\n while (true) {\n var r = it.next();\n if (r.done) break;\n res.push(r.value);\n }\n return res;\n}\nfunction primitiveSymbol() {\n return typeof Symbol === \"function\" && Symbol.toPrimitive || \"@@toPrimitive\";\n}\nfunction toPrimitive(value) {\n return value === null ? null : (typeof value === \"undefined\" ? \"undefined\" : _typeof(value)) === \"object\" ? \"\" + value : value;\n}\n\n/**\n * These values will persist if global state is reset\n */\nvar persistentKeys = [\"mobxGuid\", \"resetId\", \"spyListeners\", \"strictMode\", \"runId\"];\nvar MobXGlobals = /** @class */function () {\n function MobXGlobals() {\n /**\n * MobXGlobals version.\n * MobX compatiblity with other versions loaded in memory as long as this version matches.\n * It indicates that the global state still stores similar information\n */\n this.version = 5;\n /**\n * Currently running derivation\n */\n this.trackingDerivation = null;\n /**\n * Are we running a computation currently? (not a reaction)\n */\n this.computationDepth = 0;\n /**\n * Each time a derivation is tracked, it is assigned a unique run-id\n */\n this.runId = 0;\n /**\n * 'guid' for general purpose. Will be persisted amongst resets.\n */\n this.mobxGuid = 0;\n /**\n * Are we in a batch block? (and how many of them)\n */\n this.inBatch = 0;\n /**\n * Observables that don't have observers anymore, and are about to be\n * suspended, unless somebody else accesses it in the same batch\n *\n * @type {IObservable[]}\n */\n this.pendingUnobservations = [];\n /**\n * List of scheduled, not yet executed, reactions.\n */\n this.pendingReactions = [];\n /**\n * Are we currently processing reactions?\n */\n this.isRunningReactions = false;\n /**\n * Is it allowed to change observables at this point?\n * In general, MobX doesn't allow that when running computations and React.render.\n * To ensure that those functions stay pure.\n */\n this.allowStateChanges = true;\n /**\n * If strict mode is enabled, state changes are by default not allowed\n */\n this.strictMode = false;\n /**\n * Used by createTransformer to detect that the global state has been reset.\n */\n this.resetId = 0;\n /**\n * Spy callbacks\n */\n this.spyListeners = [];\n /**\n * Globally attached error handlers that react specifically to errors in reactions\n */\n this.globalReactionErrorHandlers = [];\n }\n return MobXGlobals;\n}();\nvar globalState = new MobXGlobals();\nvar shareGlobalStateCalled = false;\nvar runInIsolationCalled = false;\nvar warnedAboutMultipleInstances = false;\n{\n var global_1 = getGlobal();\n if (!global_1.__mobxInstanceCount) {\n global_1.__mobxInstanceCount = 1;\n } else {\n global_1.__mobxInstanceCount++;\n setTimeout(function () {\n if (!shareGlobalStateCalled && !runInIsolationCalled && !warnedAboutMultipleInstances) {\n warnedAboutMultipleInstances = true;\n console.warn(\"[mobx] Warning: there are multiple mobx instances active. This might lead to unexpected results. See https://github.com/mobxjs/mobx/issues/1082 for details.\");\n }\n }, 1);\n }\n}\nfunction isolateGlobalState() {\n runInIsolationCalled = true;\n getGlobal().__mobxInstanceCount--;\n}\nfunction shareGlobalState() {\n // TODO: remove in 4.0; just use peer dependencies instead.\n deprecated(\"Using `shareGlobalState` is not recommended, use peer dependencies instead. See https://github.com/mobxjs/mobx/issues/1082 for details.\");\n shareGlobalStateCalled = true;\n var global = getGlobal();\n var ownState = globalState;\n /**\n * Backward compatibility check\n */\n if (global.__mobservableTrackingStack || global.__mobservableViewStack) throw new Error(\"[mobx] An incompatible version of mobservable is already loaded.\");\n if (global.__mobxGlobal && global.__mobxGlobal.version !== ownState.version) throw new Error(\"[mobx] An incompatible version of mobx is already loaded.\");\n if (global.__mobxGlobal) globalState = global.__mobxGlobal;else global.__mobxGlobal = ownState;\n}\nfunction getGlobalState() {\n return globalState;\n}\n\n/**\n * For testing purposes only; this will break the internal state of existing observables,\n * but can be used to get back at a stable state after throwing errors\n */\nfunction resetGlobalState() {\n globalState.resetId++;\n var defaultGlobals = new MobXGlobals();\n for (var key in defaultGlobals) {\n if (persistentKeys.indexOf(key) === -1) globalState[key] = defaultGlobals[key];\n }globalState.allowStateChanges = !globalState.strictMode;\n}\n\nfunction getAtom(thing, property) {\n if ((typeof thing === \"undefined\" ? \"undefined\" : _typeof(thing)) === \"object\" && thing !== null) {\n if (isObservableArray(thing)) {\n invariant(property === undefined, getMessage(\"m036\"));\n return thing.$mobx.atom;\n }\n if (isObservableMap(thing)) {\n var anyThing = thing;\n if (property === undefined) return getAtom(anyThing._keys);\n var observable = anyThing._data[property] || anyThing._hasMap[property];\n invariant(!!observable, \"the entry '\" + property + \"' does not exist in the observable map '\" + getDebugName(thing) + \"'\");\n return observable;\n }\n // Initializers run lazily when transpiling to babel, so make sure they are run...\n runLazyInitializers(thing);\n if (property && !thing.$mobx) thing[property]; // See #1072 // TODO: remove in 4.0\n if (isObservableObject(thing)) {\n if (!property) return fail(\"please specify a property\");\n var observable = thing.$mobx.values[property];\n invariant(!!observable, \"no observable property '\" + property + \"' found on the observable object '\" + getDebugName(thing) + \"'\");\n return observable;\n }\n if (isAtom(thing) || isComputedValue(thing) || isReaction(thing)) {\n return thing;\n }\n } else if (typeof thing === \"function\") {\n if (isReaction(thing.$mobx)) {\n // disposer function\n return thing.$mobx;\n }\n }\n return fail(\"Cannot obtain atom from \" + thing);\n}\nfunction getAdministration(thing, property) {\n invariant(thing, \"Expecting some object\");\n if (property !== undefined) return getAdministration(getAtom(thing, property));\n if (isAtom(thing) || isComputedValue(thing) || isReaction(thing)) return thing;\n if (isObservableMap(thing)) return thing;\n // Initializers run lazily when transpiling to babel, so make sure they are run...\n runLazyInitializers(thing);\n if (thing.$mobx) return thing.$mobx;\n invariant(false, \"Cannot obtain administration from \" + thing);\n}\nfunction getDebugName(thing, property) {\n var named;\n if (property !== undefined) named = getAtom(thing, property);else if (isObservableObject(thing) || isObservableMap(thing)) named = getAdministration(thing);else named = getAtom(thing); // valid for arrays as well\n return named.name;\n}\n\nfunction getDependencyTree(thing, property) {\n return nodeToDependencyTree(getAtom(thing, property));\n}\nfunction nodeToDependencyTree(node) {\n var result = {\n name: node.name\n };\n if (node.observing && node.observing.length > 0) result.dependencies = unique(node.observing).map(nodeToDependencyTree);\n return result;\n}\nfunction getObserverTree(thing, property) {\n return nodeToObserverTree(getAtom(thing, property));\n}\nfunction nodeToObserverTree(node) {\n var result = {\n name: node.name\n };\n if (hasObservers(node)) result.observers = getObservers(node).map(nodeToObserverTree);\n return result;\n}\n\nfunction hasObservers(observable) {\n return observable.observers && observable.observers.length > 0;\n}\nfunction getObservers(observable) {\n return observable.observers;\n}\nfunction addObserver(observable, node) {\n // invariant(node.dependenciesState !== -1, \"INTERNAL ERROR, can add only dependenciesState !== -1\");\n // invariant(observable._observers.indexOf(node) === -1, \"INTERNAL ERROR add already added node\");\n // invariantObservers(observable);\n var l = observable.observers.length;\n if (l) {\n // because object assignment is relatively expensive, let's not store data about index 0.\n observable.observersIndexes[node.__mapid] = l;\n }\n observable.observers[l] = node;\n if (observable.lowestObserverState > node.dependenciesState) observable.lowestObserverState = node.dependenciesState;\n // invariantObservers(observable);\n // invariant(observable._observers.indexOf(node) !== -1, \"INTERNAL ERROR didn't add node\");\n}\nfunction removeObserver(observable, node) {\n // invariant(globalState.inBatch > 0, \"INTERNAL ERROR, remove should be called only inside batch\");\n // invariant(observable._observers.indexOf(node) !== -1, \"INTERNAL ERROR remove already removed node\");\n // invariantObservers(observable);\n if (observable.observers.length === 1) {\n // deleting last observer\n observable.observers.length = 0;\n queueForUnobservation(observable);\n } else {\n // deleting from _observersIndexes is straight forward, to delete from _observers, let's swap `node` with last element\n var list = observable.observers;\n var map = observable.observersIndexes;\n var filler = list.pop(); // get last element, which should fill the place of `node`, so the array doesn't have holes\n if (filler !== node) {\n // otherwise node was the last element, which already got removed from array\n var index = map[node.__mapid] || 0; // getting index of `node`. this is the only place we actually use map.\n if (index) {\n // map store all indexes but 0, see comment in `addObserver`\n map[filler.__mapid] = index;\n } else {\n delete map[filler.__mapid];\n }\n list[index] = filler;\n }\n delete map[node.__mapid];\n }\n // invariantObservers(observable);\n // invariant(observable._observers.indexOf(node) === -1, \"INTERNAL ERROR remove already removed node2\");\n}\nfunction queueForUnobservation(observable) {\n if (!observable.isPendingUnobservation) {\n // invariant(globalState.inBatch > 0, \"INTERNAL ERROR, remove should be called only inside batch\");\n // invariant(observable._observers.length === 0, \"INTERNAL ERROR, should only queue for unobservation unobserved observables\");\n observable.isPendingUnobservation = true;\n globalState.pendingUnobservations.push(observable);\n }\n}\n/**\n * Batch starts a transaction, at least for purposes of memoizing ComputedValues when nothing else does.\n * During a batch `onBecomeUnobserved` will be called at most once per observable.\n * Avoids unnecessary recalculations.\n */\nfunction startBatch() {\n globalState.inBatch++;\n}\nfunction endBatch() {\n if (--globalState.inBatch === 0) {\n runReactions();\n // the batch is actually about to finish, all unobserving should happen here.\n var list = globalState.pendingUnobservations;\n for (var i = 0; i < list.length; i++) {\n var observable = list[i];\n observable.isPendingUnobservation = false;\n if (observable.observers.length === 0) {\n observable.onBecomeUnobserved();\n // NOTE: onBecomeUnobserved might push to `pendingUnobservations`\n }\n }\n globalState.pendingUnobservations = [];\n }\n}\nfunction reportObserved(observable) {\n var derivation = globalState.trackingDerivation;\n if (derivation !== null) {\n /**\n * Simple optimization, give each derivation run an unique id (runId)\n * Check if last time this observable was accessed the same runId is used\n * if this is the case, the relation is already known\n */\n if (derivation.runId !== observable.lastAccessedBy) {\n observable.lastAccessedBy = derivation.runId;\n derivation.newObserving[derivation.unboundDepsCount++] = observable;\n }\n } else if (observable.observers.length === 0) {\n queueForUnobservation(observable);\n }\n}\n/**\n * NOTE: current propagation mechanism will in case of self reruning autoruns behave unexpectedly\n * It will propagate changes to observers from previous run\n * It's hard or maybe impossible (with reasonable perf) to get it right with current approach\n * Hopefully self reruning autoruns aren't a feature people should depend on\n * Also most basic use cases should be ok\n */\n// Called by Atom when its value changes\nfunction propagateChanged(observable) {\n // invariantLOS(observable, \"changed start\");\n if (observable.lowestObserverState === IDerivationState.STALE) return;\n observable.lowestObserverState = IDerivationState.STALE;\n var observers = observable.observers;\n var i = observers.length;\n while (i--) {\n var d = observers[i];\n if (d.dependenciesState === IDerivationState.UP_TO_DATE) {\n if (d.isTracing !== TraceMode.NONE) {\n logTraceInfo(d, observable);\n }\n d.onBecomeStale();\n }\n d.dependenciesState = IDerivationState.STALE;\n }\n // invariantLOS(observable, \"changed end\");\n}\n// Called by ComputedValue when it recalculate and its value changed\nfunction propagateChangeConfirmed(observable) {\n // invariantLOS(observable, \"confirmed start\");\n if (observable.lowestObserverState === IDerivationState.STALE) return;\n observable.lowestObserverState = IDerivationState.STALE;\n var observers = observable.observers;\n var i = observers.length;\n while (i--) {\n var d = observers[i];\n if (d.dependenciesState === IDerivationState.POSSIBLY_STALE) d.dependenciesState = IDerivationState.STALE;else if (d.dependenciesState === IDerivationState.UP_TO_DATE // this happens during computing of `d`, just keep lowestObserverState up to date.\n ) observable.lowestObserverState = IDerivationState.UP_TO_DATE;\n }\n // invariantLOS(observable, \"confirmed end\");\n}\n// Used by computed when its dependency changed, but we don't wan't to immediately recompute.\nfunction propagateMaybeChanged(observable) {\n // invariantLOS(observable, \"maybe start\");\n if (observable.lowestObserverState !== IDerivationState.UP_TO_DATE) return;\n observable.lowestObserverState = IDerivationState.POSSIBLY_STALE;\n var observers = observable.observers;\n var i = observers.length;\n while (i--) {\n var d = observers[i];\n if (d.dependenciesState === IDerivationState.UP_TO_DATE) {\n d.dependenciesState = IDerivationState.POSSIBLY_STALE;\n if (d.isTracing !== TraceMode.NONE) {\n logTraceInfo(d, observable);\n }\n d.onBecomeStale();\n }\n }\n // invariantLOS(observable, \"maybe end\");\n}\nfunction logTraceInfo(derivation, observable) {\n console.log(\"[mobx.trace] '\" + derivation.name + \"' is invalidated due to a change in: '\" + observable.name + \"'\");\n if (derivation.isTracing === TraceMode.BREAK) {\n var lines = [];\n printDepTree(getDependencyTree(derivation), lines, 1);\n // prettier-ignore\n new Function(\"debugger;\\n/*\\nTracing '\" + derivation.name + \"'\\n\\nYou are entering this break point because derivation '\" + derivation.name + \"' is being traced and '\" + observable.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\" + (derivation instanceof ComputedValue ? derivation.derivation.toString() : \"\") + \"\\n\\nThe dependencies for this derivation are:\\n\\n\" + lines.join(\"\\n\") + \"\\n*/\\n \")();\n }\n}\nfunction printDepTree(tree, lines, depth) {\n if (lines.length >= 1000) {\n lines.push(\"(and many more)\");\n return;\n }\n lines.push(\"\" + new Array(depth).join(\"\\t\") + tree.name); // MWE: not the fastest, but the easiest way :)\n if (tree.dependencies) tree.dependencies.forEach(function (child) {\n return printDepTree(child, lines, depth + 1);\n });\n}\n\nvar IDerivationState;\n(function (IDerivationState) {\n // before being run or (outside batch and not being observed)\n // at this point derivation is not holding any data about dependency tree\n IDerivationState[IDerivationState[\"NOT_TRACKING\"] = -1] = \"NOT_TRACKING\";\n // no shallow dependency changed since last computation\n // won't recalculate derivation\n // this is what makes mobx fast\n IDerivationState[IDerivationState[\"UP_TO_DATE\"] = 0] = \"UP_TO_DATE\";\n // some deep dependency changed, but don't know if shallow dependency changed\n // will require to check first if UP_TO_DATE or POSSIBLY_STALE\n // currently only ComputedValue will propagate POSSIBLY_STALE\n //\n // having this state is second big optimization:\n // don't have to recompute on every dependency change, but only when it's needed\n IDerivationState[IDerivationState[\"POSSIBLY_STALE\"] = 1] = \"POSSIBLY_STALE\";\n // A shallow dependency has changed since last computation and the derivation\n // will need to recompute when it's needed next.\n IDerivationState[IDerivationState[\"STALE\"] = 2] = \"STALE\";\n})(IDerivationState || (exports.IDerivationState = IDerivationState = {}));\nvar TraceMode;\n(function (TraceMode) {\n TraceMode[TraceMode[\"NONE\"] = 0] = \"NONE\";\n TraceMode[TraceMode[\"LOG\"] = 1] = \"LOG\";\n TraceMode[TraceMode[\"BREAK\"] = 2] = \"BREAK\";\n})(TraceMode || (TraceMode = {}));\nvar CaughtException = /** @class */function () {\n function CaughtException(cause) {\n this.cause = cause;\n // Empty\n }\n return CaughtException;\n}();\nfunction isCaughtException(e) {\n return e instanceof CaughtException;\n}\n/**\n * Finds out whether any dependency of the derivation has actually changed.\n * If dependenciesState is 1 then it will recalculate dependencies,\n * if any dependency changed it will propagate it by changing dependenciesState to 2.\n *\n * By iterating over the dependencies in the same order that they were reported and\n * stopping on the first change, all the recalculations are only called for ComputedValues\n * that will be tracked by derivation. That is because we assume that if the first x\n * dependencies of the derivation doesn't change then the derivation should run the same way\n * up until accessing x-th dependency.\n */\nfunction shouldCompute(derivation) {\n switch (derivation.dependenciesState) {\n case IDerivationState.UP_TO_DATE:\n return false;\n case IDerivationState.NOT_TRACKING:\n case IDerivationState.STALE:\n return true;\n case IDerivationState.POSSIBLY_STALE:\n {\n var prevUntracked = untrackedStart(); // no need for those computeds to be reported, they will be picked up in trackDerivedFunction.\n var obs = derivation.observing,\n l = obs.length;\n for (var i = 0; i < l; i++) {\n var obj = obs[i];\n if (isComputedValue(obj)) {\n try {\n obj.get();\n } catch (e) {\n // we are not interested in the value *or* exception at this moment, but if there is one, notify all\n untrackedEnd(prevUntracked);\n return true;\n }\n // if ComputedValue `obj` actually changed it will be computed and propagated to its observers.\n // and `derivation` is an observer of `obj`\n if (derivation.dependenciesState === IDerivationState.STALE) {\n untrackedEnd(prevUntracked);\n return true;\n }\n }\n }\n changeDependenciesStateTo0(derivation);\n untrackedEnd(prevUntracked);\n return false;\n }\n }\n}\nfunction isComputingDerivation() {\n return globalState.trackingDerivation !== null; // filter out actions inside computations\n}\nfunction checkIfStateModificationsAreAllowed(atom) {\n var hasObservers$$1 = atom.observers.length > 0;\n // Should never be possible to change an observed observable from inside computed, see #798\n if (globalState.computationDepth > 0 && hasObservers$$1) fail(getMessage(\"m031\") + atom.name);\n // Should not be possible to change observed state outside strict mode, except during initialization, see #563\n if (!globalState.allowStateChanges && hasObservers$$1) fail(getMessage(globalState.strictMode ? \"m030a\" : \"m030b\") + atom.name);\n}\n/**\n * Executes the provided function `f` and tracks which observables are being accessed.\n * The tracking information is stored on the `derivation` object and the derivation is registered\n * as observer of any of the accessed observables.\n */\nfunction trackDerivedFunction(derivation, f, context) {\n // pre allocate array allocation + room for variation in deps\n // array will be trimmed by bindDependencies\n changeDependenciesStateTo0(derivation);\n derivation.newObserving = new Array(derivation.observing.length + 100);\n derivation.unboundDepsCount = 0;\n derivation.runId = ++globalState.runId;\n var prevTracking = globalState.trackingDerivation;\n globalState.trackingDerivation = derivation;\n var result;\n try {\n result = f.call(context);\n } catch (e) {\n result = new CaughtException(e);\n }\n globalState.trackingDerivation = prevTracking;\n bindDependencies(derivation);\n return result;\n}\n/**\n * diffs newObserving with observing.\n * update observing to be newObserving with unique observables\n * notify observers that become observed/unobserved\n */\nfunction bindDependencies(derivation) {\n // invariant(derivation.dependenciesState !== IDerivationState.NOT_TRACKING, \"INTERNAL ERROR bindDependencies expects derivation.dependenciesState !== -1\");\n var prevObserving = derivation.observing;\n var observing = derivation.observing = derivation.newObserving;\n var lowestNewObservingDerivationState = IDerivationState.UP_TO_DATE;\n // Go through all new observables and check diffValue: (this list can contain duplicates):\n // 0: first occurrence, change to 1 and keep it\n // 1: extra occurrence, drop it\n var i0 = 0,\n l = derivation.unboundDepsCount;\n for (var i = 0; i < l; i++) {\n var dep = observing[i];\n if (dep.diffValue === 0) {\n dep.diffValue = 1;\n if (i0 !== i) observing[i0] = dep;\n i0++;\n }\n // Upcast is 'safe' here, because if dep is IObservable, `dependenciesState` will be undefined,\n // not hitting the condition\n if (dep.dependenciesState > lowestNewObservingDerivationState) {\n lowestNewObservingDerivationState = dep.dependenciesState;\n }\n }\n observing.length = i0;\n derivation.newObserving = null; // newObserving shouldn't be needed outside tracking (statement moved down to work around FF bug, see #614)\n // Go through all old observables and check diffValue: (it is unique after last bindDependencies)\n // 0: it's not in new observables, unobserve it\n // 1: it keeps being observed, don't want to notify it. change to 0\n l = prevObserving.length;\n while (l--) {\n var dep = prevObserving[l];\n if (dep.diffValue === 0) {\n removeObserver(dep, derivation);\n }\n dep.diffValue = 0;\n }\n // Go through all new observables and check diffValue: (now it should be unique)\n // 0: it was set to 0 in last loop. don't need to do anything.\n // 1: it wasn't observed, let's observe it. set back to 0\n while (i0--) {\n var dep = observing[i0];\n if (dep.diffValue === 1) {\n dep.diffValue = 0;\n addObserver(dep, derivation);\n }\n }\n // Some new observed derivations may become stale during this derivation computation\n // so they have had no chance to propagate staleness (#916)\n if (lowestNewObservingDerivationState !== IDerivationState.UP_TO_DATE) {\n derivation.dependenciesState = lowestNewObservingDerivationState;\n derivation.onBecomeStale();\n }\n}\nfunction clearObserving(derivation) {\n // invariant(globalState.inBatch > 0, \"INTERNAL ERROR clearObserving should be called only inside batch\");\n var obs = derivation.observing;\n derivation.observing = [];\n var i = obs.length;\n while (i--) {\n removeObserver(obs[i], derivation);\n }derivation.dependenciesState = IDerivationState.NOT_TRACKING;\n}\nfunction untracked(action) {\n var prev = untrackedStart();\n var res = action();\n untrackedEnd(prev);\n return res;\n}\nfunction untrackedStart() {\n var prev = globalState.trackingDerivation;\n globalState.trackingDerivation = null;\n return prev;\n}\nfunction untrackedEnd(prev) {\n globalState.trackingDerivation = prev;\n}\n/**\n * needed to keep `lowestObserverState` correct. when changing from (2 or 1) to 0\n *\n */\nfunction changeDependenciesStateTo0(derivation) {\n if (derivation.dependenciesState === IDerivationState.UP_TO_DATE) return;\n derivation.dependenciesState = IDerivationState.UP_TO_DATE;\n var obs = derivation.observing;\n var i = obs.length;\n while (i--) {\n obs[i].lowestObserverState = IDerivationState.UP_TO_DATE;\n }\n}\n\nfunction log(msg) {\n console.log(msg);\n return msg;\n}\nfunction whyRun(thing, prop) {\n deprecated(\"`whyRun` is deprecated in favor of `trace`\");\n thing = getAtomFromArgs(arguments);\n if (!thing) return log(getMessage(\"m024\"));\n if (isComputedValue(thing) || isReaction(thing)) return log(thing.whyRun());\n return fail(getMessage(\"m025\"));\n}\nfunction trace() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var enterBreakPoint = false;\n if (typeof args[args.length - 1] === \"boolean\") enterBreakPoint = args.pop();\n var derivation = getAtomFromArgs(args);\n if (!derivation) {\n return fail(\"'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly\");\n }\n if (derivation.isTracing === TraceMode.NONE) {\n console.log(\"[mobx.trace] '\" + derivation.name + \"' tracing enabled\");\n }\n derivation.isTracing = enterBreakPoint ? TraceMode.BREAK : TraceMode.LOG;\n}\nfunction getAtomFromArgs(args) {\n switch (args.length) {\n case 0:\n return globalState.trackingDerivation;\n case 1:\n return getAtom(args[0]);\n case 2:\n return getAtom(args[0], args[1]);\n }\n}\n\nvar Reaction = /** @class */function () {\n function Reaction(name, onInvalidate) {\n if (name === void 0) {\n name = \"Reaction@\" + getNextId();\n }\n this.name = name;\n this.onInvalidate = onInvalidate;\n this.observing = []; // nodes we are looking at. Our value depends on these nodes\n this.newObserving = [];\n this.dependenciesState = IDerivationState.NOT_TRACKING;\n this.diffValue = 0;\n this.runId = 0;\n this.unboundDepsCount = 0;\n this.__mapid = \"#\" + getNextId();\n this.isDisposed = false;\n this._isScheduled = false;\n this._isTrackPending = false;\n this._isRunning = false;\n this.isTracing = TraceMode.NONE;\n }\n Reaction.prototype.onBecomeStale = function () {\n this.schedule();\n };\n Reaction.prototype.schedule = function () {\n if (!this._isScheduled) {\n this._isScheduled = true;\n globalState.pendingReactions.push(this);\n runReactions();\n }\n };\n Reaction.prototype.isScheduled = function () {\n return this._isScheduled;\n };\n /**\n * internal, use schedule() if you intend to kick off a reaction\n */\n Reaction.prototype.runReaction = function () {\n if (!this.isDisposed) {\n startBatch();\n this._isScheduled = false;\n if (shouldCompute(this)) {\n this._isTrackPending = true;\n this.onInvalidate();\n if (this._isTrackPending && isSpyEnabled()) {\n // onInvalidate didn't trigger track right away..\n spyReport({\n object: this,\n type: \"scheduled-reaction\"\n });\n }\n }\n endBatch();\n }\n };\n Reaction.prototype.track = function (fn) {\n startBatch();\n var notify = isSpyEnabled();\n var startTime;\n if (notify) {\n startTime = Date.now();\n spyReportStart({\n object: this,\n type: \"reaction\",\n fn: fn\n });\n }\n this._isRunning = true;\n var result = trackDerivedFunction(this, fn, undefined);\n this._isRunning = false;\n this._isTrackPending = false;\n if (this.isDisposed) {\n // disposed during last run. Clean up everything that was bound after the dispose call.\n clearObserving(this);\n }\n if (isCaughtException(result)) this.reportExceptionInDerivation(result.cause);\n if (notify) {\n spyReportEnd({\n time: Date.now() - startTime\n });\n }\n endBatch();\n };\n Reaction.prototype.reportExceptionInDerivation = function (error) {\n var _this = this;\n if (this.errorHandler) {\n this.errorHandler(error, this);\n return;\n }\n var message = \"[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '\" + this;\n var messageToUser = getMessage(\"m037\");\n console.error(message || messageToUser /* latter will not be true, make sure uglify doesn't remove */, error);\n /** If debugging brought you here, please, read the above message :-). Tnx! */\n if (isSpyEnabled()) {\n spyReport({\n type: \"error\",\n message: message,\n error: error,\n object: this\n });\n }\n globalState.globalReactionErrorHandlers.forEach(function (f) {\n return f(error, _this);\n });\n };\n Reaction.prototype.dispose = function () {\n if (!this.isDisposed) {\n this.isDisposed = true;\n if (!this._isRunning) {\n // if disposed while running, clean up later. Maybe not optimal, but rare case\n startBatch();\n clearObserving(this);\n endBatch();\n }\n }\n };\n Reaction.prototype.getDisposer = function () {\n var r = this.dispose.bind(this);\n r.$mobx = this;\n r.onError = registerErrorHandler;\n return r;\n };\n Reaction.prototype.toString = function () {\n return \"Reaction[\" + this.name + \"]\";\n };\n Reaction.prototype.whyRun = function () {\n var observing = unique(this._isRunning ? this.newObserving : this.observing).map(function (dep) {\n return dep.name;\n });\n return \"\\nWhyRun? reaction '\" + this.name + \"':\\n * Status: [\" + (this.isDisposed ? \"stopped\" : this._isRunning ? \"running\" : this.isScheduled() ? \"scheduled\" : \"idle\") + \"]\\n * This reaction will re-run if any of the following observables changes:\\n \" + joinStrings(observing) + \"\\n \" + (this._isRunning ? \" (... or any observable accessed during the remainder of the current run)\" : \"\") + \"\\n\\t\" + getMessage(\"m038\") + \"\\n\";\n };\n Reaction.prototype.trace = function (enterBreakPoint) {\n if (enterBreakPoint === void 0) {\n enterBreakPoint = false;\n }\n trace(this, enterBreakPoint);\n };\n return Reaction;\n}();\nfunction registerErrorHandler(handler) {\n invariant(this && this.$mobx && isReaction(this.$mobx), \"Invalid `this`\");\n invariant(!this.$mobx.errorHandler, \"Only one onErrorHandler can be registered\");\n this.$mobx.errorHandler = handler;\n}\nfunction onReactionError(handler) {\n globalState.globalReactionErrorHandlers.push(handler);\n return function () {\n var idx = globalState.globalReactionErrorHandlers.indexOf(handler);\n if (idx >= 0) globalState.globalReactionErrorHandlers.splice(idx, 1);\n };\n}\n/**\n * Magic number alert!\n * Defines within how many times a reaction is allowed to re-trigger itself\n * until it is assumed that this is gonna be a never ending loop...\n */\nvar MAX_REACTION_ITERATIONS = 100;\nvar reactionScheduler = function reactionScheduler(f) {\n return f();\n};\nfunction runReactions() {\n // Trampolining, if runReactions are already running, new reactions will be picked up\n if (globalState.inBatch > 0 || globalState.isRunningReactions) return;\n reactionScheduler(runReactionsHelper);\n}\nfunction runReactionsHelper() {\n globalState.isRunningReactions = true;\n var allReactions = globalState.pendingReactions;\n var iterations = 0;\n // While running reactions, new reactions might be triggered.\n // Hence we work with two variables and check whether\n // we converge to no remaining reactions after a while.\n while (allReactions.length > 0) {\n if (++iterations === MAX_REACTION_ITERATIONS) {\n console.error(\"Reaction doesn't converge to a stable state after \" + MAX_REACTION_ITERATIONS + \" iterations.\" + (\" Probably there is a cycle in the reactive function: \" + allReactions[0]));\n allReactions.splice(0); // clear reactions\n }\n var remainingReactions = allReactions.splice(0);\n for (var i = 0, l = remainingReactions.length; i < l; i++) {\n remainingReactions[i].runReaction();\n }\n }\n globalState.isRunningReactions = false;\n}\nvar isReaction = createInstanceofPredicate(\"Reaction\", Reaction);\nfunction setReactionScheduler(fn) {\n var baseScheduler = reactionScheduler;\n reactionScheduler = function reactionScheduler(f) {\n return fn(function () {\n return baseScheduler(f);\n });\n };\n}\n\nfunction asReference(value) {\n deprecated(\"asReference is deprecated, use observable.ref instead\");\n return observable.ref(value);\n}\nfunction asStructure(value) {\n deprecated(\"asStructure is deprecated. Use observable.struct, computed.struct or reaction options instead.\");\n return observable.struct(value);\n}\nfunction asFlat(value) {\n deprecated(\"asFlat is deprecated, use observable.shallow instead\");\n return observable.shallow(value);\n}\nfunction asMap(data) {\n deprecated(\"asMap is deprecated, use observable.map or observable.shallowMap instead\");\n return observable.map(data || {});\n}\n\nfunction createComputedDecorator(equals) {\n return createClassPropertyDecorator(function (target, name, _, __, originalDescriptor) {\n invariant(typeof originalDescriptor !== \"undefined\", getMessage(\"m009\"));\n invariant(typeof originalDescriptor.get === \"function\", getMessage(\"m010\"));\n var adm = asObservableObject(target, \"\");\n defineComputedProperty(adm, name, originalDescriptor.get, originalDescriptor.set, equals, false);\n }, function (name) {\n var observable = this.$mobx.values[name];\n if (observable === undefined // See #505\n ) return undefined;\n return observable.get();\n }, function (name, value) {\n this.$mobx.values[name].set(value);\n }, false, false);\n}\nvar computedDecorator = createComputedDecorator(comparer.default);\nvar computedStructDecorator = createComputedDecorator(comparer.structural);\n/**\n * Decorator for class properties: @computed get value() { return expr; }.\n * For legacy purposes also invokable as ES5 observable created: `computed(() => expr)`;\n */\nvar computed = function computed(arg1, arg2, arg3) {\n if (typeof arg2 === \"string\") {\n return computedDecorator.apply(null, arguments);\n }\n invariant(typeof arg1 === \"function\", getMessage(\"m011\"));\n invariant(arguments.length < 3, getMessage(\"m012\"));\n var opts = (typeof arg2 === \"undefined\" ? \"undefined\" : _typeof(arg2)) === \"object\" ? arg2 : {};\n opts.setter = typeof arg2 === \"function\" ? arg2 : opts.setter;\n var equals = opts.equals ? opts.equals : opts.compareStructural || opts.struct ? comparer.structural : comparer.default;\n return new ComputedValue(arg1, opts.context, equals, opts.name || arg1.name || \"\", opts.setter);\n};\ncomputed.struct = computedStructDecorator;\ncomputed.equals = createComputedDecorator;\n\nfunction isComputed(value, property) {\n if (value === null || value === undefined) return false;\n if (property !== undefined) {\n if (isObservableObject(value) === false) return false;\n if (!value.$mobx.values[property]) return false;\n var atom = getAtom(value, property);\n return isComputedValue(atom);\n }\n return isComputedValue(value);\n}\n\nfunction observe(thing, propOrCb, cbOrFire, fireImmediately) {\n if (typeof cbOrFire === \"function\") return observeObservableProperty(thing, propOrCb, cbOrFire, fireImmediately);else return observeObservable(thing, propOrCb, cbOrFire);\n}\nfunction observeObservable(thing, listener, fireImmediately) {\n return getAdministration(thing).observe(listener, fireImmediately);\n}\nfunction observeObservableProperty(thing, property, listener, fireImmediately) {\n return getAdministration(thing, property).observe(listener, fireImmediately);\n}\n\nfunction intercept(thing, propOrHandler, handler) {\n if (typeof handler === \"function\") return interceptProperty(thing, propOrHandler, handler);else return interceptInterceptable(thing, propOrHandler);\n}\nfunction interceptInterceptable(thing, handler) {\n return getAdministration(thing).intercept(handler);\n}\nfunction interceptProperty(thing, property, handler) {\n return getAdministration(thing, property).intercept(handler);\n}\n\n/**\n * expr can be used to create temporarily views inside views.\n * This can be improved to improve performance if a value changes often, but usually doesn't affect the outcome of an expression.\n *\n * In the following example the expression prevents that a component is rerender _each time_ the selection changes;\n * instead it will only rerenders when the current todo is (de)selected.\n *\n * reactiveComponent((props) => {\n * const todo = props.todo;\n * const isSelected = mobx.expr(() => props.viewState.selection === todo);\n * return
{todo.title}
\n * });\n *\n */\nfunction expr(expr, scope) {\n if (!isComputingDerivation()) console.warn(getMessage(\"m013\"));\n // optimization: would be more efficient if the expr itself wouldn't be evaluated first on the next change, but just a 'changed' signal would be fired\n return computed(expr, { context: scope }).get();\n}\n\nfunction toJS(source, detectCycles, __alreadySeen) {\n if (detectCycles === void 0) {\n detectCycles = true;\n }\n if (__alreadySeen === void 0) {\n __alreadySeen = [];\n }\n // optimization: using ES6 map would be more efficient!\n // optimization: lift this function outside toJS, this makes recursion expensive\n function cache(value) {\n if (detectCycles) __alreadySeen.push([source, value]);\n return value;\n }\n if (isObservable(source)) {\n if (detectCycles && __alreadySeen === null) __alreadySeen = [];\n if (detectCycles && source !== null && (typeof source === \"undefined\" ? \"undefined\" : _typeof(source)) === \"object\") {\n for (var i = 0, l = __alreadySeen.length; i < l; i++) {\n if (__alreadySeen[i][0] === source) return __alreadySeen[i][1];\n }\n }\n if (isObservableArray(source)) {\n var res = cache([]);\n var toAdd = source.map(function (value) {\n return toJS(value, detectCycles, __alreadySeen);\n });\n res.length = toAdd.length;\n for (var i = 0, l = toAdd.length; i < l; i++) {\n res[i] = toAdd[i];\n }return res;\n }\n if (isObservableObject(source)) {\n var res = cache({});\n for (var key in source) {\n res[key] = toJS(source[key], detectCycles, __alreadySeen);\n }return res;\n }\n if (isObservableMap(source)) {\n var res_1 = cache({});\n source.forEach(function (value, key) {\n return res_1[key] = toJS(value, detectCycles, __alreadySeen);\n });\n return res_1;\n }\n if (isObservableValue(source)) return toJS(source.get(), detectCycles, __alreadySeen);\n }\n return source;\n}\n\nfunction createTransformer(transformer, onCleanup) {\n invariant(typeof transformer === \"function\" && transformer.length < 2, \"createTransformer expects a function that accepts one argument\");\n // Memoizes: object id -> reactive view that applies transformer to the object\n var objectCache = {};\n // If the resetId changes, we will clear the object cache, see #163\n // This construction is used to avoid leaking refs to the objectCache directly\n var resetId = globalState.resetId;\n // Local transformer class specifically for this transformer\n var Transformer = /** @class */function (_super) {\n __extends(Transformer, _super);\n function Transformer(sourceIdentifier, sourceObject) {\n var _this = _super.call(this, function () {\n return transformer(sourceObject);\n }, undefined, comparer.default, \"Transformer-\" + transformer.name + \"-\" + sourceIdentifier, undefined) || this;\n _this.sourceIdentifier = sourceIdentifier;\n _this.sourceObject = sourceObject;\n return _this;\n }\n Transformer.prototype.onBecomeUnobserved = function () {\n var lastValue = this.value;\n _super.prototype.onBecomeUnobserved.call(this);\n delete objectCache[this.sourceIdentifier];\n if (onCleanup) onCleanup(lastValue, this.sourceObject);\n };\n return Transformer;\n }(ComputedValue);\n return function (object) {\n if (resetId !== globalState.resetId) {\n objectCache = {};\n resetId = globalState.resetId;\n }\n var identifier = getMemoizationId(object);\n var reactiveTransformer = objectCache[identifier];\n if (reactiveTransformer) return reactiveTransformer.get();\n // Not in cache; create a reactive view\n reactiveTransformer = objectCache[identifier] = new Transformer(identifier, object);\n return reactiveTransformer.get();\n };\n}\nfunction getMemoizationId(object) {\n if (typeof object === \"string\" || typeof object === \"number\") return object;\n if (object === null || (typeof object === \"undefined\" ? \"undefined\" : _typeof(object)) !== \"object\") throw new Error(\"[mobx] transform expected some kind of object or primitive value, got: \" + object);\n var tid = object.$transformId;\n if (tid === undefined) {\n tid = getNextId();\n addHiddenProp(object, \"$transformId\", tid);\n }\n return tid;\n}\n\nfunction interceptReads(thing, propOrHandler, handler) {\n var target;\n if (isObservableMap(thing) || isObservableArray(thing) || isObservableValue(thing)) {\n target = getAdministration(thing);\n } else if (isObservableObject(thing)) {\n if (typeof propOrHandler !== \"string\") return fail(\"InterceptReads can only be used with a specific property, not with an object in general\");\n target = getAdministration(thing, propOrHandler);\n } else {\n return fail(\"Expected observable map, object or array as first array\");\n }\n if (target.dehancer !== undefined) return fail(\"An intercept reader was already established\");\n target.dehancer = typeof propOrHandler === \"function\" ? propOrHandler : handler;\n return function () {\n target.dehancer = undefined;\n };\n}\n\n/**\n * (c) Michel Weststrate 2015 - 2016\n * MIT Licensed\n *\n * Welcome to the mobx sources! To get an global overview of how MobX internally works,\n * this is a good place to start:\n * https://medium.com/@mweststrate/becoming-fully-reactive-an-in-depth-explanation-of-mobservable-55995262a254#.xvbh6qd74\n *\n * Source folders:\n * ===============\n *\n * - api/ Most of the public static methods exposed by the module can be found here.\n * - core/ Implementation of the MobX algorithm; atoms, derivations, reactions, dependency trees, optimizations. Cool stuff can be found here.\n * - types/ All the magic that is need to have observable objects, arrays and values is in this folder. Including the modifiers like `asFlat`.\n * - utils/ Utility stuff.\n *\n */\nvar extras = {\n allowStateChanges: allowStateChanges,\n deepEqual: deepEqual,\n getAtom: getAtom,\n getDebugName: getDebugName,\n getDependencyTree: getDependencyTree,\n getAdministration: getAdministration,\n getGlobalState: getGlobalState,\n getObserverTree: getObserverTree,\n interceptReads: interceptReads,\n isComputingDerivation: isComputingDerivation,\n isSpyEnabled: isSpyEnabled,\n onReactionError: onReactionError,\n reserveArrayBuffer: reserveArrayBuffer,\n resetGlobalState: resetGlobalState,\n isolateGlobalState: isolateGlobalState,\n shareGlobalState: shareGlobalState,\n spyReport: spyReport,\n spyReportEnd: spyReportEnd,\n spyReportStart: spyReportStart,\n setReactionScheduler: setReactionScheduler\n};\nvar everything = {\n Reaction: Reaction,\n untracked: untracked,\n Atom: Atom,\n BaseAtom: BaseAtom,\n useStrict: useStrict,\n isStrictModeEnabled: isStrictModeEnabled,\n spy: spy,\n comparer: comparer,\n asReference: asReference,\n asFlat: asFlat,\n asStructure: asStructure,\n asMap: asMap,\n isModifierDescriptor: isModifierDescriptor,\n isObservableObject: isObservableObject,\n isBoxedObservable: isObservableValue,\n isObservableArray: isObservableArray,\n ObservableMap: ObservableMap,\n isObservableMap: isObservableMap,\n map: map,\n transaction: transaction,\n observable: observable,\n computed: computed,\n isObservable: isObservable,\n isComputed: isComputed,\n extendObservable: extendObservable,\n extendShallowObservable: extendShallowObservable,\n observe: observe,\n intercept: intercept,\n autorun: autorun,\n autorunAsync: autorunAsync,\n when: when,\n reaction: reaction,\n action: action,\n isAction: isAction,\n runInAction: runInAction,\n expr: expr,\n toJS: toJS,\n createTransformer: createTransformer,\n whyRun: whyRun,\n isArrayLike: isArrayLike,\n extras: extras\n};\nvar warnedAboutDefaultExport = false;\nvar _loop_1 = function _loop_1(p) {\n var val = everything[p];\n Object.defineProperty(everything, p, {\n get: function get() {\n if (!warnedAboutDefaultExport) {\n warnedAboutDefaultExport = true;\n console.warn(\"Using default export (`import mobx from 'mobx'`) is deprecated \" + \"and won’t work in mobx@4.0.0\\n\" + \"Use `import * as mobx from 'mobx'` instead\");\n }\n return val;\n }\n });\n};\nfor (var p in everything) {\n _loop_1(p);\n}\nif ((typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__ === \"undefined\" ? \"undefined\" : _typeof(__MOBX_DEVTOOLS_GLOBAL_HOOK__)) === \"object\") {\n __MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({ spy: spy, extras: extras });\n}\n\nexports.extras = extras;\nexports.Reaction = Reaction;\nexports.untracked = untracked;\nexports.IDerivationState = IDerivationState;\nexports.Atom = Atom;\nexports.BaseAtom = BaseAtom;\nexports.useStrict = useStrict;\nexports.isStrictModeEnabled = isStrictModeEnabled;\nexports.spy = spy;\nexports.comparer = comparer;\nexports.asReference = asReference;\nexports.asFlat = asFlat;\nexports.asStructure = asStructure;\nexports.asMap = asMap;\nexports.isModifierDescriptor = isModifierDescriptor;\nexports.isObservableObject = isObservableObject;\nexports.isBoxedObservable = isObservableValue;\nexports.isObservableArray = isObservableArray;\nexports.ObservableMap = ObservableMap;\nexports.isObservableMap = isObservableMap;\nexports.map = map;\nexports.transaction = transaction;\nexports.observable = observable;\nexports.computed = computed;\nexports.isObservable = isObservable;\nexports.isComputed = isComputed;\nexports.extendObservable = extendObservable;\nexports.extendShallowObservable = extendShallowObservable;\nexports.observe = observe;\nexports.intercept = intercept;\nexports.autorun = autorun;\nexports.autorunAsync = autorunAsync;\nexports.when = when;\nexports.reaction = reaction;\nexports.action = action;\nexports.isAction = isAction;\nexports.runInAction = runInAction;\nexports.expr = expr;\nexports.toJS = toJS;\nexports.createTransformer = createTransformer;\nexports.whyRun = whyRun;\nexports.trace = trace;\nexports.isArrayLike = isArrayLike;\nexports.default = everything;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(11)))\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Provider = exports.inject = exports.connect = exports.useStaticRendering = exports.Observer = exports.observer = undefined;\n\nvar _observer = __webpack_require__(3);\n\nObject.defineProperty(exports, 'observer', {\n enumerable: true,\n get: function get() {\n return _observer.observer;\n }\n});\nObject.defineProperty(exports, 'Observer', {\n enumerable: true,\n get: function get() {\n return _observer.Observer;\n }\n});\nObject.defineProperty(exports, 'useStaticRendering', {\n enumerable: true,\n get: function get() {\n return _observer.useStaticRendering;\n }\n});\n\nvar _connect = __webpack_require__(12);\n\nObject.defineProperty(exports, 'connect', {\n enumerable: true,\n get: function get() {\n return _connect.connect;\n }\n});\n\nvar _inject = __webpack_require__(5);\n\nObject.defineProperty(exports, 'inject', {\n enumerable: true,\n get: function get() {\n return _inject.inject;\n }\n});\n\nvar _Provider = __webpack_require__(14);\n\nObject.defineProperty(exports, 'Provider', {\n enumerable: true,\n get: function get() {\n return _Provider.Provider;\n }\n});\n\nvar _mobx = __webpack_require__(1);\n\nvar _preact = __webpack_require__(0);\n\nif (!_preact.Component) {\n throw new Error('mobx-preact requires Preact to be available');\n}\nif (!_mobx.extras) {\n throw new Error('mobx-preact requires mobx to be available');\n}\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _typeof2 = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Observer = undefined;\n\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n }\n }return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n };\n}();\n\nvar _typeof = typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\" ? function (obj) {\n return typeof obj === \"undefined\" ? \"undefined\" : _typeof2(obj);\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj === \"undefined\" ? \"undefined\" : _typeof2(obj);\n};\n\nexports.useStaticRendering = useStaticRendering;\nexports.observer = observer;\n\nvar _mobx = __webpack_require__(1);\n\nvar _preact = __webpack_require__(0);\n\nvar _utils = __webpack_require__(4);\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }return call && ((typeof call === \"undefined\" ? \"undefined\" : _typeof2(call)) === \"object\" || typeof call === \"function\") ? call : self;\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : _typeof2(superClass)));\n }subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } });if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\n\nvar isUsingStaticRendering = false;\n\nvar logger = console; // eslint-disable-line no-console\n\nfunction useStaticRendering(useStaticRendering) {\n isUsingStaticRendering = useStaticRendering;\n}\n\n/**\n Workaround\n\n allowStateChanges from mobX must be patched so that props, state and args are passed to the render() function\n */\n\nfunction allowStateChangesStart(allowStateChanges) {\n var prev = _mobx.extras.getGlobalState().allowStateChanges;\n _mobx.extras.getGlobalState().allowStateChanges = allowStateChanges;\n return prev;\n}\nfunction allowStateChangesEnd(prev) {\n _mobx.extras.getGlobalState().allowStateChanges = prev;\n}\n\nfunction allowStateChanges(allowStateChanges, func, props, state, context) {\n var prev = allowStateChangesStart(allowStateChanges);\n var res = void 0;\n try {\n res = func(props, state, context);\n } finally {\n allowStateChangesEnd(prev);\n }\n return res;\n}\n\n/**\n * Utilities\n */\n\nfunction patch(target, funcName) {\n var runMixinFirst = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n var base = target[funcName];\n var mixinFunc = reactiveMixin[funcName];\n var f = !base ? mixinFunc : runMixinFirst === true ? function () {\n mixinFunc.apply(this, arguments);\n base.apply(this, arguments);\n } : function () {\n base.apply(this, arguments);\n mixinFunc.apply(this, arguments);\n };\n\n // MWE: ideally we freeze here to protect against accidental overwrites in component instances, see #195\n // ...but that breaks react-hot-loader, see #231...\n target[funcName] = f;\n}\n\nfunction isObjectShallowModified(prev, next) {\n if (null == prev || null == next || (typeof prev === 'undefined' ? 'undefined' : _typeof(prev)) !== 'object' || (typeof next === 'undefined' ? 'undefined' : _typeof(next)) !== 'object') {\n return prev !== next;\n }\n var keys = Object.keys(prev);\n if (keys.length !== Object.keys(next).length) {\n return true;\n }\n var key = void 0;\n for (var i = keys.length - 1; i >= 0, key = keys[i]; i--) {\n if (next[key] !== prev[key]) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * ReactiveMixin\n */\nvar reactiveMixin = {\n componentWillMount: function componentWillMount() {\n var _this = this;\n\n if (isUsingStaticRendering === true) {\n return;\n }\n // Generate friendly name for debugging\n var initialName = (0, _utils.makeDisplayName)(this);\n\n /**\n * If props are shallowly modified, react will render anyway,\n * so atom.reportChanged() should not result in yet another re-render\n */\n var skipRender = false;\n /**\n * forceUpdate will re-assign this.props. We don't want that to cause a loop,\n * so detect these changes\n */\n var isForcingUpdate = false;\n\n function makePropertyObservableReference(propName) {\n var valueHolder = this[propName];\n var atom = new _mobx.Atom('reactive ' + propName);\n Object.defineProperty(this, propName, {\n configurable: true,\n enumerable: true,\n get: function get() {\n atom.reportObserved();\n return valueHolder;\n },\n set: function set(v) {\n if (!isForcingUpdate && isObjectShallowModified(valueHolder, v)) {\n valueHolder = v;\n skipRender = true;\n atom.reportChanged();\n skipRender = false;\n } else {\n valueHolder = v;\n }\n }\n });\n }\n\n // make this.props an observable reference, see #124\n makePropertyObservableReference.call(this, 'props');\n // make state an observable reference\n makePropertyObservableReference.call(this, 'state');\n\n // wire up reactive render\n var baseRender = this.render.bind(this);\n var reaction = null;\n var isRenderingPending = false;\n\n var initialRender = function initialRender() {\n reaction = new _mobx.Reaction(initialName + '.render()', function () {\n if (!isRenderingPending) {\n // N.B. Getting here *before mounting* means that a component constructor has side effects (see the relevant test in misc.js)\n // This unidiomatic React usage but React will correctly warn about this so we continue as usual\n // See #85 / Pull #44\n isRenderingPending = true;\n if (typeof _this.componentWillReact === 'function') {\n _this.componentWillReact();\n } // TODO: wrap in action?\n if (_this.__$mobxIsUnmounted !== true) {\n // If we are unmounted at this point, componentWillReact() had a side effect causing the component to unmounted\n // TODO: remove this check? Then react will properly warn about the fact that this should not happen? See #73\n // However, people also claim this migth happen during unit tests..\n var hasError = true;\n try {\n isForcingUpdate = true;\n if (!skipRender) {\n _preact.Component.prototype.forceUpdate.call(_this);\n }\n hasError = false;\n } finally {\n isForcingUpdate = false;\n if (hasError) {\n reaction.dispose();\n }\n }\n }\n }\n });\n reaction.reactComponent = _this;\n reactiveRender.$mobx = reaction;\n _this.render = reactiveRender;\n return reactiveRender(_this.props, _this.state, _this.context);\n };\n\n var reactiveRender = function reactiveRender(props, state, context) {\n isRenderingPending = false;\n var exception = undefined;\n var rendering = undefined;\n reaction.track(function () {\n try {\n rendering = allowStateChanges(false, baseRender, props, state, context);\n } catch (e) {\n exception = e;\n }\n });\n if (exception) {\n throw exception;\n }\n return rendering;\n };\n\n this.render = initialRender;\n },\n\n componentWillUnmount: function componentWillUnmount() {\n if (isUsingStaticRendering === true) {\n return;\n }\n this.render.$mobx && this.render.$mobx.dispose();\n this.__$mobxIsUnmounted = true;\n },\n\n componentDidMount: function componentDidMount() {},\n\n componentDidUpdate: function componentDidUpdate() {},\n\n shouldComponentUpdate: function shouldComponentUpdate(nextProps, nextState) {\n if (isUsingStaticRendering) {\n logger.warn('[mobx-preact] 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.');\n }\n // update on any state changes (as is the default)\n if (this.state !== nextState) {\n return true;\n }\n // update if props are shallowly not equal, inspired by PureRenderMixin\n // we could return just 'false' here, and avoid the `skipRender` checks etc\n // however, it is nicer if lifecycle events are triggered like usually,\n // so we return true here if props are shallowly modified.\n return isObjectShallowModified(this.props, nextProps);\n }\n};\n\n/**\n * Observer function / decorator\n */\nfunction observer(componentClass) {\n if (arguments.length > 1) {\n logger.warn('Mobx observer: Using observer to inject stores is not supported. Use `@connect([\"store1\", \"store2\"]) ComponentClass instead or preferably, use `@inject(\"store1\", \"store2\") @observer ComponentClass` or `inject(\"store1\", \"store2\")(observer(componentClass))``');\n }\n\n if (componentClass.isMobxInjector === true) {\n logger.warn('Mobx observer: You are trying to use \\'observer\\' on a component that already has \\'inject\\'. Please apply \\'observer\\' before applying \\'inject\\'');\n }\n\n // Stateless function component:\n if ((0, _utils.isStateless)(componentClass)) {\n var _class, _temp;\n\n return observer((_temp = _class = function (_Component) {\n _inherits(_class, _Component);\n\n function _class() {\n _classCallCheck(this, _class);\n\n return _possibleConstructorReturn(this, (_class.__proto__ || Object.getPrototypeOf(_class)).apply(this, arguments));\n }\n\n _createClass(_class, [{\n key: 'render',\n value: function render() {\n return componentClass.call(this, this.props, this.context);\n }\n }]);\n\n return _class;\n }(_preact.Component), _class.displayName = (0, _utils.makeDisplayName)(componentClass), _temp));\n }\n\n if (!componentClass) {\n throw new Error('Please pass a valid component to \\'observer\\'');\n }\n\n var target = componentClass.prototype || componentClass;\n mixinLifecycleEvents(target);\n componentClass.isMobXReactObserver = true;\n return componentClass;\n}\n\nfunction mixinLifecycleEvents(target) {\n patch(target, 'componentWillMount', true);\n patch(target, 'componentDidMount');\n\n if (!target.shouldComponentUpdate) {\n target.shouldComponentUpdate = reactiveMixin.shouldComponentUpdate;\n }\n}\n\nvar Observer = exports.Observer = observer(function (_ref) {\n var children = _ref.children;\n return children[0]();\n});\n\nObserver.displayName = 'Observer';\n\n/***/ }),\n/* 4 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.isStateless = isStateless;\nexports.makeDisplayName = makeDisplayName;\n\nvar _preact = __webpack_require__(0);\n\nfunction isStateless(component) {\n // `function() {}` has prototype, but `() => {}` doesn't\n // `() => {}` via Babel has prototype too.\n return !(component.prototype && component.prototype.render) && !_preact.Component.isPrototypeOf(component);\n}\n\nfunction makeDisplayName(component) {\n var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n _ref$prefix = _ref.prefix,\n prefix = _ref$prefix === undefined ? '' : _ref$prefix,\n _ref$suffix = _ref.suffix,\n suffix = _ref$suffix === undefined ? '' : _ref$suffix;\n\n var displayName = component.displayName || component.name || component.constructor && component.constructor.name || '';\n return prefix + displayName + suffix;\n}\n\n/***/ }),\n/* 5 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n }\n }return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n };\n}();\n\nexports.inject = inject;\n\nvar _preact = __webpack_require__(0);\n\nvar _hoistNonReactStatics = __webpack_require__(13);\n\nvar _hoistNonReactStatics2 = _interopRequireDefault(_hoistNonReactStatics);\n\nvar _observer = __webpack_require__(3);\n\nvar _utils = __webpack_require__(4);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }return call && ((typeof call === \"undefined\" ? \"undefined\" : _typeof(call)) === \"object\" || typeof call === \"function\") ? call : self;\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : _typeof(superClass)));\n }subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } });if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\n\nvar proxiedInjectorProps = {\n isMobxInjector: {\n value: true,\n writable: true,\n configurable: true,\n enumerable: true\n }\n};\n\n/**\n * Store Injection\n */\nfunction createStoreInjector(grabStoresFn, component, injectNames) {\n var _class, _temp;\n\n var prefix = 'inject-';\n var suffix = injectNames ? '-with-' + injectNames : '';\n var displayName = (0, _utils.makeDisplayName)(component, { prefix: prefix, suffix: suffix });\n\n var Injector = (_temp = _class = function (_Component) {\n _inherits(Injector, _Component);\n\n function Injector() {\n _classCallCheck(this, Injector);\n\n return _possibleConstructorReturn(this, (Injector.__proto__ || Object.getPrototypeOf(Injector)).apply(this, arguments));\n }\n\n _createClass(Injector, [{\n key: 'render',\n value: function render() {\n // Optimization: it might be more efficient to apply the mapper function *outside* the render method\n // (if the mapper is a function), that could avoid expensive(?) re-rendering of the injector component\n // See this test: 'using a custom injector is not too reactive' in inject.js\n var newProps = {};\n for (var key in this.props) {\n if (this.props.hasOwnProperty(key)) {\n newProps[key] = this.props[key];\n }\n }\n var additionalProps = grabStoresFn(this.context.mobxStores || {}, newProps, this.context) || {};\n for (var _key in additionalProps) {\n newProps[_key] = additionalProps[_key];\n }\n\n return (0, _preact.h)(component, newProps);\n }\n }]);\n\n return Injector;\n }(_preact.Component), _class.displayName = displayName, _temp);\n\n // Static fields from component should be visible on the generated Injector\n\n (0, _hoistNonReactStatics2.default)(Injector, component);\n\n Injector.wrappedComponent = component;\n Object.defineProperties(Injector, proxiedInjectorProps);\n\n return Injector;\n}\n\nfunction grabStoresByName(storeNames) {\n return function (baseStores, nextProps) {\n storeNames.forEach(function (storeName) {\n // prefer props over stores\n if (storeName in nextProps) {\n return;\n }\n if (!(storeName in baseStores)) {\n throw new Error('MobX injector: Store \\'' + storeName + '\\' is not available! Make sure it is provided by some Provider');\n }\n nextProps[storeName] = baseStores[storeName];\n });\n return nextProps;\n };\n}\n\n/**\n * higher order component that injects stores to a child.\n * takes either a varargs list of strings, which are stores read from the context,\n * or a function that manually maps the available stores from the context to props:\n * storesToProps(mobxStores, props, context) => newProps\n */\nfunction inject() /* fn(stores, nextProps) or ...storeNames */{\n var grabStoresFn = void 0;\n if (typeof arguments[0] === 'function') {\n grabStoresFn = arguments[0];\n return function (componentClass) {\n var injected = createStoreInjector(grabStoresFn, componentClass);\n injected.isMobxInjector = false; // suppress warning\n // mark the Injector as observer, to make it react to expressions in `grabStoresFn`,\n // see #111\n injected = (0, _observer.observer)(injected);\n injected.isMobxInjector = true; // restore warning\n return injected;\n };\n } else {\n var storeNames = [];\n for (var i = 0; i < arguments.length; i++) {\n storeNames[i] = arguments[i];\n }\n grabStoresFn = grabStoresByName(storeNames);\n return function (componentClass) {\n return createStoreInjector(grabStoresFn, componentClass, storeNames.join('-'));\n };\n }\n}\n\n/***/ }),\n/* 6 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.JSONHTTPError = exports.TextHTTPError = exports.HTTPError = exports.getPagination = undefined;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _pagination = __webpack_require__(16);\n\nObject.defineProperty(exports, \"getPagination\", {\n enumerable: true,\n get: function get() {\n return _pagination.getPagination;\n }\n});\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction _extendableBuiltin(cls) {\n function ExtendableBuiltin() {\n var instance = Reflect.construct(cls, Array.from(arguments));\n Object.setPrototypeOf(instance, Object.getPrototypeOf(this));\n return instance;\n }\n\n ExtendableBuiltin.prototype = Object.create(cls.prototype, {\n constructor: {\n value: cls,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(ExtendableBuiltin, cls);\n } else {\n ExtendableBuiltin.__proto__ = cls;\n }\n\n return ExtendableBuiltin;\n}\n\nvar HTTPError = exports.HTTPError = function (_extendableBuiltin2) {\n _inherits(HTTPError, _extendableBuiltin2);\n\n function HTTPError(response) {\n _classCallCheck(this, HTTPError);\n\n var _this = _possibleConstructorReturn(this, (HTTPError.__proto__ || Object.getPrototypeOf(HTTPError)).call(this, response.statusText));\n\n _this.name = _this.constructor.name;\n if (typeof Error.captureStackTrace === \"function\") {\n Error.captureStackTrace(_this, _this.constructor);\n } else {\n _this.stack = new Error(response.statusText).stack;\n }\n _this.status = response.status;\n return _this;\n }\n\n return HTTPError;\n}(_extendableBuiltin(Error));\n\nvar TextHTTPError = exports.TextHTTPError = function (_HTTPError) {\n _inherits(TextHTTPError, _HTTPError);\n\n function TextHTTPError(response, data) {\n _classCallCheck(this, TextHTTPError);\n\n var _this2 = _possibleConstructorReturn(this, (TextHTTPError.__proto__ || Object.getPrototypeOf(TextHTTPError)).call(this, response));\n\n _this2.data = data;\n return _this2;\n }\n\n return TextHTTPError;\n}(HTTPError);\n\nvar JSONHTTPError = exports.JSONHTTPError = function (_HTTPError2) {\n _inherits(JSONHTTPError, _HTTPError2);\n\n function JSONHTTPError(response, json) {\n _classCallCheck(this, JSONHTTPError);\n\n var _this3 = _possibleConstructorReturn(this, (JSONHTTPError.__proto__ || Object.getPrototypeOf(JSONHTTPError)).call(this, response));\n\n _this3.json = json;\n return _this3;\n }\n\n return JSONHTTPError;\n}(HTTPError);\n\nvar API = function () {\n function API() {\n var apiURL = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n var options = arguments[1];\n\n _classCallCheck(this, API);\n\n this.apiURL = apiURL;\n if (this.apiURL.match(/\\/[^\\/]?/)) {\n // eslint-disable-line no-useless-escape\n this._sameOrigin = true;\n }\n this.defaultHeaders = options && options.defaultHeaders || {};\n }\n\n _createClass(API, [{\n key: \"headers\",\n value: function headers() {\n var _headers = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n return _extends({}, this.defaultHeaders, {\n \"Content-Type\": \"application/json\"\n }, _headers);\n }\n }, {\n key: \"parseJsonResponse\",\n value: function parseJsonResponse(response) {\n return response.json().then(function (json) {\n if (!response.ok) {\n return Promise.reject(new JSONHTTPError(response, json));\n }\n\n var pagination = (0, _pagination.getPagination)(response);\n return pagination ? { pagination: pagination, items: json } : json;\n });\n }\n }, {\n key: \"request\",\n value: function request(path) {\n var _this4 = this;\n\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n var headers = this.headers(options.headers || {});\n if (this._sameOrigin) {\n options.credentials = options.credentials || \"same-origin\";\n }\n return fetch(this.apiURL + path, _extends({}, options, { headers: headers })).then(function (response) {\n var contentType = response.headers.get(\"Content-Type\");\n if (contentType && contentType.match(/json/)) {\n return _this4.parseJsonResponse(response);\n }\n\n if (!response.ok) {\n return response.text().then(function (data) {\n return Promise.reject(new TextHTTPError(response, data));\n });\n }\n return response.text().then(function (data) {\n data;\n });\n });\n }\n }]);\n\n return API;\n}();\n\nexports.default = API;\n\n/***/ }),\n/* 7 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _preact = __webpack_require__(0);\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Button = function (_Component) {\n _inherits(Button, _Component);\n\n function Button() {\n _classCallCheck(this, Button);\n\n return _possibleConstructorReturn(this, (Button.__proto__ || Object.getPrototypeOf(Button)).apply(this, arguments));\n }\n\n _createClass(Button, [{\n key: \"render\",\n value: function render() {\n var _props = this.props,\n saving = _props.saving,\n text = _props.text,\n saving_text = _props.saving_text;\n\n\n return (0, _preact.h)(\n \"button\",\n { type: \"submit\", className: \"btn\" + (saving ? \" saving\" : \"\") },\n saving ? saving_text || \"Saving\" : text || \"Save\"\n );\n }\n }]);\n\n return Button;\n}(_preact.Component);\n\nexports.default = Button;\n\n/***/ }),\n/* 8 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _preact = __webpack_require__(0);\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar messages = {\n confirm: {\n type: \"success\",\n text: \"A confirmation message was sent to your email, click the link there to continue.\"\n },\n password_mail: {\n type: \"success\",\n text: \"We've sent a recovery email to your account, follow the link there to reset your password.\"\n },\n email_changed: {\n type: \"sucess\",\n text: \"Your email address has been updated!\"\n },\n verfication_error: {\n type: \"error\",\n text: \"There was an error verifying your account. Please try again or contact an administrator.\"\n },\n signup_disabled: {\n type: \"error\",\n text: \"Public signups are disabled. Contact an administrator and ask for an invite.\"\n }\n};\n\nvar Message = function (_Component) {\n _inherits(Message, _Component);\n\n function Message() {\n _classCallCheck(this, Message);\n\n return _possibleConstructorReturn(this, (Message.__proto__ || Object.getPrototypeOf(Message)).apply(this, arguments));\n }\n\n _createClass(Message, [{\n key: \"render\",\n value: function render() {\n var type = this.props.type;\n\n var msg = messages[type];\n\n return (0, _preact.h)(\n \"div\",\n { className: \"flashMessage \" + msg.type },\n (0, _preact.h)(\n \"span\",\n null,\n msg.text\n )\n );\n }\n }]);\n\n return Message;\n}(_preact.Component);\n\nexports.default = Message;\n\n/***/ }),\n/* 9 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _netlifyIdentity = __webpack_require__(10);\n\nvar _netlifyIdentity2 = _interopRequireDefault(_netlifyIdentity);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nif (( false ? \"undefined\" : _typeof(exports)) !== undefined) {\n exports.netlifyIdentity = _netlifyIdentity2.default;\n}\nif ((typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) !== undefined) {\n window.netlifyIdentity = _netlifyIdentity2.default;\n}\nif (document.readyState === \"loading\") {\n document.addEventListener(\"DOMContentLoaded\", function () {\n _netlifyIdentity2.default.init();\n });\n} else {\n _netlifyIdentity2.default.init();\n}\n\n/***/ }),\n/* 10 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\n\nvar _preact = __webpack_require__(0);\n\nvar _mobx = __webpack_require__(1);\n\nvar _mobxPreact = __webpack_require__(2);\n\nvar _gotrueJs = __webpack_require__(15);\n\nvar _gotrueJs2 = _interopRequireDefault(_gotrueJs);\n\nvar _app = __webpack_require__(19);\n\nvar _app2 = _interopRequireDefault(_app);\n\nvar _store = __webpack_require__(25);\n\nvar _store2 = _interopRequireDefault(_store);\n\nvar _controls = __webpack_require__(26);\n\nvar _controls2 = _interopRequireDefault(_controls);\n\nvar _modal = __webpack_require__(27);\n\nvar _modal2 = _interopRequireDefault(_modal);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar callbacks = {};\nfunction trigger(callback) {\n var _arguments = arguments;\n\n (callbacks[callback] || []).forEach(function (cb) {\n cb.apply(cb, Array.prototype.slice.call(_arguments, 1));\n });\n}\n\nvar validActions = {\n login: true,\n signup: true,\n error: true\n};\n\nvar netlifyIdentity = {\n on: function on(event, cb) {\n callbacks[event] = callbacks[event] || [];\n callbacks[event].push(cb);\n },\n open: function open(action) {\n action = action || \"login\";\n if (!validActions[action]) {\n throw new Error(\"Invalid action for open: \" + action);\n }\n _store2.default.openModal(_store2.default.user ? \"user\" : action);\n },\n close: function close() {\n _store2.default.closeModal();\n },\n currentUser: function currentUser() {\n return _store2.default.gotrue && _store2.default.gotrue.currentUser();\n },\n logout: function logout() {\n return _store2.default.logout();\n },\n get gotrue() {\n if (!_store2.default.gotrue) {\n _store2.default.openModal(\"login\");\n }\n return _store2.default.gotrue;\n },\n init: function init(options) {\n _init(options);\n },\n store: _store2.default\n};\n\nvar queuedIframeStyle = null;\nfunction setStyle(el, css) {\n var style = \"\";\n for (var key in css) {\n style += key + \": \" + css[key] + \"; \";\n }\n if (el) {\n el.setAttribute(\"style\", style);\n } else {\n queuedIframeStyle = style;\n }\n}\n\nvar localHosts = {\n localhost: true,\n \"127.0.0.1\": true,\n \"0.0.0.0\": true,\n \"identity.netlify.com\": true\n};\n\nfunction instantiateGotrue(APIUrl) {\n var isLocal = localHosts[document.location.host.split(\":\").shift()];\n var siteURL = isLocal && localStorage.getItem(\"netlifySiteURL\");\n if (APIUrl) {\n return new _gotrueJs2.default({ APIUrl: APIUrl, setCookie: !isLocal });\n }\n if (isLocal && siteURL) {\n var parts = [siteURL];\n if (!siteURL.match(/\\/$/)) {\n parts.push(\"/\");\n }\n parts.push(\".netlify/identity\");\n _store2.default.setIsLocal(isLocal);\n _store2.default.setSiteURL(siteURL);\n return new _gotrueJs2.default({ APIUrl: parts.join(\"\"), setCookie: !isLocal });\n }\n if (isLocal) {\n _store2.default.setIsLocal(isLocal);\n return null;\n }\n\n return new _gotrueJs2.default({ setCookie: !isLocal });\n}\n\nvar root = void 0;\nvar iframe = void 0;\nvar iframeStyle = {\n position: \"fixed\",\n top: 0,\n left: 0,\n border: \"none\",\n width: \"100%\",\n height: \"100%\",\n overflow: \"visible\",\n background: \"transparent\",\n display: \"none\",\n \"z-index\": 99\n};\n\n(0, _mobx.observe)(_store2.default.modal, \"isOpen\", function () {\n if (!_store2.default.settings) {\n _store2.default.loadSettings();\n }\n setStyle(iframe, Object.assign({}, iframeStyle, {\n display: _store2.default.modal.isOpen ? \"block !important\" : \"none\"\n }));\n if (_store2.default.modal.isOpen) {\n trigger(\"open\", _store2.default.modal.page);\n } else {\n trigger(\"close\");\n }\n});\n\n(0, _mobx.observe)(_store2.default, \"siteURL\", function () {\n if (_store2.default.siteURL === null || _store2.default.siteURL === undefined) {\n localStorage.removeItem(\"netlifySiteURL\");\n } else {\n localStorage.setItem(\"netlifySiteURL\", _store2.default.siteURL);\n }\n _store2.default.init(instantiateGotrue(), true);\n});\n\n(0, _mobx.observe)(_store2.default, \"user\", function () {\n if (_store2.default.user) {\n trigger(\"login\", _store2.default.user);\n } else {\n trigger(\"logout\");\n }\n});\n\n(0, _mobx.observe)(_store2.default, \"gotrue\", function () {\n _store2.default.gotrue && trigger(\"init\", _store2.default.gotrue.currentUser());\n});\n\n(0, _mobx.observe)(_store2.default, \"error\", function () {\n trigger(\"error\", _store2.default.error);\n});\n\nvar routes = /(confirmation|invite|recovery|email_change)_token=([^&]+)/;\nvar errorRoute = /error=access_denied&error_description=403/;\nvar accessTokenRoute = /access_token=/;\n\nfunction runRoutes() {\n var hash = (document.location.hash || \"\").replace(/^#\\/?/, \"\");\n if (!hash) {\n return;\n }\n\n var m = hash.match(routes);\n if (m) {\n _store2.default.verifyToken(m[1], m[2]);\n document.location.hash = \"\";\n }\n\n var em = hash.match(errorRoute);\n if (em) {\n _store2.default.openModal(\"signup\");\n document.location.hash = \"\";\n }\n\n var am = hash.match(accessTokenRoute);\n if (am) {\n var params = {};\n hash.split(\"&\").forEach(function (pair) {\n var _pair$split = pair.split(\"=\"),\n _pair$split2 = _slicedToArray(_pair$split, 2),\n key = _pair$split2[0],\n value = _pair$split2[1];\n\n params[key] = value;\n });\n if (!!document && params[\"access_token\"]) {\n document.cookie = \"nf_jwt=\" + params[\"access_token\"];\n }\n document.location.hash = \"\";\n _store2.default.openModal(\"login\");\n _store2.default.completeExternalLogin(params);\n }\n}\n\nfunction _init() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var APIUrl = options.APIUrl,\n _options$logo = options.logo,\n logo = _options$logo === undefined ? true : _options$logo,\n namePlaceholder = options.namePlaceholder;\n\n var controlEls = document.querySelectorAll(\"[data-netlify-identity-menu],[data-netlify-identity-button]\");\n Array.prototype.slice.call(controlEls).forEach(function (el) {\n var controls = null;\n var mode = el.getAttribute(\"data-netlify-identity-menu\") === null ? \"button\" : \"menu\";\n (0, _preact.render)((0, _preact.h)(\n _mobxPreact.Provider,\n { store: _store2.default },\n (0, _preact.h)(_controls2.default, { mode: mode, text: el.innerText.trim() })\n ), el, controls);\n });\n\n _store2.default.init(instantiateGotrue(APIUrl));\n _store2.default.modal.logo = logo;\n _store2.default.setNamePlaceholder(namePlaceholder);\n iframe = document.createElement(\"iframe\");\n iframe.id = \"netlify-identity-widget\";\n iframe.onload = function () {\n var styles = iframe.contentDocument.createElement(\"style\");\n styles.innerHTML = _modal2.default.toString();\n iframe.contentDocument.head.appendChild(styles);\n root = (0, _preact.render)((0, _preact.h)(\n _mobxPreact.Provider,\n { store: _store2.default },\n (0, _preact.h)(_app2.default, null)\n ), iframe.contentDocument.body, root);\n runRoutes();\n };\n setStyle(iframe, iframeStyle);\n iframe.src = \"about:blank\";\n var container = options.container ? document.querySelector(options.container) : document.body;\n container.appendChild(iframe);\n /* There's a certain case where we might have called setStyle before the iframe was ready.\n Make sure we take the last style and apply it */\n if (queuedIframeStyle) {\n iframe.setAttribute(\"style\", queuedIframeStyle);\n queuedIframeStyle = null;\n }\n}\n\nexports.default = netlifyIdentity;\n\n/***/ }),\n/* 11 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar g;\n\n// This works in non-strict mode\ng = function () {\n\treturn this;\n}();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || Function(\"return this\")() || (1, eval)(\"this\");\n} catch (e) {\n\t// This works if the window reference is available\n\tif ((typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n\n/***/ }),\n/* 12 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.connect = connect;\n\nvar _observer = __webpack_require__(3);\n\nvar _inject = __webpack_require__(5);\n\nfunction connect(arg1, arg2) {\n if (typeof arg1 === 'string') {\n throw new Error('Store names should be provided as array');\n }\n if (Array.isArray(arg1)) {\n if (!arg2) {\n // invoked as decorator\n return function (componentClass) {\n return connect(arg1, componentClass);\n };\n } else {\n return _inject.inject.apply(null, arg1)(connect(arg2));\n }\n }\n return (0, _observer.observer)(arg1);\n}\n\n/***/ }),\n/* 13 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\n\nvar REACT_STATICS = {\n childContextTypes: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\n\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = getPrototypeOf && getPrototypeOf(Object);\n\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n if (!REACT_STATICS[key] && !KNOWN_STATICS[key] && (!blacklist || !blacklist[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n\n return targetComponent;\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n\n/***/ }),\n/* 14 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Provider = undefined;\n\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n }\n }return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n };\n}();\n\nvar _preact = __webpack_require__(0);\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }return call && ((typeof call === \"undefined\" ? \"undefined\" : _typeof(call)) === \"object\" || typeof call === \"function\") ? call : self;\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : _typeof(superClass)));\n }subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } });if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\n\nvar specialReactKeys = { children: true, key: true, ref: true };\n\nvar logger = console; // eslint-disable-line no-console\n\nvar Provider = exports.Provider = function (_Component) {\n _inherits(Provider, _Component);\n\n function Provider() {\n _classCallCheck(this, Provider);\n\n return _possibleConstructorReturn(this, (Provider.__proto__ || Object.getPrototypeOf(Provider)).apply(this, arguments));\n }\n\n _createClass(Provider, [{\n key: 'render',\n value: function render(_ref) {\n var children = _ref.children;\n\n return children.length > 1 ? (0, _preact.h)('div', null, ' ', children, ' ') : children[0];\n }\n }, {\n key: 'getChildContext',\n value: function getChildContext() {\n var stores = {};\n // inherit stores\n var baseStores = this.context.mobxStores;\n if (baseStores) {\n for (var key in baseStores) {\n stores[key] = baseStores[key];\n }\n }\n // add own stores\n for (var _key in this.props) {\n if (!specialReactKeys[_key] && _key !== 'suppressChangedStoreWarning') {\n stores[_key] = this.props[_key];\n }\n }\n\n return {\n mobxStores: stores\n };\n }\n }, {\n key: 'componentWillReceiveProps',\n value: function componentWillReceiveProps(nextProps) {\n // Maybe this warning is too aggressive?\n if (Object.keys(nextProps).length !== Object.keys(this.props).length) {\n logger.warn('MobX Provider: The set of provided stores has changed. Please avoid changing stores as the change might not propagate to all children');\n }\n if (!nextProps.suppressChangedStoreWarning) {\n for (var key in nextProps) {\n if (!specialReactKeys[key] && this.props[key] !== nextProps[key]) {\n logger.warn('MobX Provider: Provided store \\'' + key + '\\' has changed. Please avoid replacing stores as the change might not propagate to all children');\n }\n }\n }\n }\n }]);\n\n return Provider;\n}(_preact.Component);\n\n/***/ }),\n/* 15 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n }\n }return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n };\n}();\n\nvar _microApiClient = __webpack_require__(6);\n\nvar _microApiClient2 = _interopRequireDefault(_microApiClient);\n\nvar _user = __webpack_require__(17);\n\nvar _user2 = _interopRequireDefault(_user);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nvar HTTPRegexp = /^http:\\/\\//;\nvar defaultApiURL = \"/.netlify/identity\";\n\nvar GoTrue = function () {\n function GoTrue() {\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref$APIUrl = _ref.APIUrl,\n APIUrl = _ref$APIUrl === undefined ? defaultApiURL : _ref$APIUrl,\n _ref$audience = _ref.audience,\n audience = _ref$audience === undefined ? \"\" : _ref$audience,\n _ref$setCookie = _ref.setCookie,\n setCookie = _ref$setCookie === undefined ? false : _ref$setCookie;\n\n _classCallCheck(this, GoTrue);\n\n if (APIUrl.match(HTTPRegexp)) {\n console.warn(\"Warning:\\n\\nDO NOT USE HTTP IN PRODUCTION FOR GOTRUE EVER!\\nGoTrue REQUIRES HTTPS to work securely.\");\n }\n\n if (audience) {\n this.audience = audience;\n }\n\n this.setCookie = setCookie;\n\n this.api = new _microApiClient2.default(APIUrl);\n }\n\n _createClass(GoTrue, [{\n key: \"_request\",\n value: function _request(path) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n options.headers = options.headers || {};\n var aud = options.audience || this.audience;\n if (aud) {\n options.headers[\"X-JWT-AUD\"] = aud;\n }\n return this.api.request(path, options).catch(function (err) {\n if (err instanceof _microApiClient.JSONHTTPError && err.json) {\n if (err.json.msg) {\n err.message = err.json.msg;\n } else if (err.json.error) {\n err.message = err.json.error + \": \" + err.json.error_description;\n }\n }\n return Promise.reject(err);\n });\n }\n }, {\n key: \"settings\",\n value: function settings() {\n return this._request(\"/settings\");\n }\n }, {\n key: \"signup\",\n value: function signup(email, password, data) {\n return this._request(\"/signup\", {\n method: \"POST\",\n body: JSON.stringify({ email: email, password: password, data: data })\n });\n }\n }, {\n key: \"login\",\n value: function login(email, password, remember) {\n var _this = this;\n\n this._setRememberHeaders(remember);\n return this._request(\"/token\", {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/x-www-form-urlencoded\" },\n body: \"grant_type=password&username=\" + encodeURIComponent(email) + \"&password=\" + encodeURIComponent(password)\n }).then(function (response) {\n _user2.default.removeSavedSession();\n return _this.createUser(response, remember);\n });\n }\n }, {\n key: \"loginExternalUrl\",\n value: function loginExternalUrl(provider) {\n return this.api.apiURL + \"/authorize?provider=\" + provider;\n }\n }, {\n key: \"confirm\",\n value: function confirm(token, remember) {\n this._setRememberHeaders(remember);\n return this.verify(\"signup\", token, remember);\n }\n }, {\n key: \"requestPasswordRecovery\",\n value: function requestPasswordRecovery(email) {\n return this._request(\"/recover\", {\n method: \"POST\",\n body: JSON.stringify({ email: email })\n });\n }\n }, {\n key: \"recover\",\n value: function recover(token, remember) {\n this._setRememberHeaders(remember);\n return this.verify(\"recovery\", token, remember);\n }\n }, {\n key: \"acceptInvite\",\n value: function acceptInvite(token, password, remember) {\n var _this2 = this;\n\n this._setRememberHeaders(remember);\n return this._request(\"/verify\", {\n method: \"POST\",\n body: JSON.stringify({ token: token, password: password, type: \"signup\" })\n }).then(function (response) {\n return _this2.createUser(response, remember);\n });\n }\n }, {\n key: \"acceptInviteExternalUrl\",\n value: function acceptInviteExternalUrl(provider, token) {\n return this.api.apiURL + \"/authorize?provider=\" + provider + \"&invite_token=\" + token;\n }\n }, {\n key: \"createUser\",\n value: function createUser(tokenResponse) {\n var remember = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n this._setRememberHeaders(remember);\n var user = new _user2.default(this.api, tokenResponse, this.audience);\n return user.getUserData().then(function (user) {\n if (remember) {\n user._saveSession();\n }\n return user;\n });\n }\n }, {\n key: \"currentUser\",\n value: function currentUser() {\n var user = _user2.default.recoverSession(this.api);\n user && this._setRememberHeaders(user._fromStorage);\n return user;\n }\n }, {\n key: \"verify\",\n value: function verify(type, token, remember) {\n var _this3 = this;\n\n this._setRememberHeaders(remember);\n return this._request(\"/verify\", {\n method: \"POST\",\n body: JSON.stringify({ token: token, type: type })\n }).then(function (response) {\n return _this3.createUser(response, remember);\n });\n }\n }, {\n key: \"_setRememberHeaders\",\n value: function _setRememberHeaders(remember) {\n if (this.setCookie) {\n this.api.defaultHeaders = this.api.defaultHeaders || {};\n this.api.defaultHeaders[\"X-Use-Cookie\"] = remember ? \"1\" : \"session\";\n }\n }\n }]);\n\n return GoTrue;\n}();\n\nexports.default = GoTrue;\n\nif (typeof window !== \"undefined\") {\n window.GoTrue = GoTrue;\n}\n\n/***/ }),\n/* 16 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\n\nexports.getPagination = getPagination;\nfunction getPagination(response) {\n var links = response.headers.get(\"Link\");\n var pagination = {};\n //var link, url, rel, m, page;\n if (links == null) {\n return null;\n }\n links = links.split(\",\");\n var total = response.headers.get(\"X-Total-Count\");\n\n for (var i = 0, len = links.length; i < len; i++) {\n var link = links[i].replace(/(^\\s*|\\s*$)/, \"\");\n\n var _link$split = link.split(\";\"),\n _link$split2 = _slicedToArray(_link$split, 2),\n url = _link$split2[0],\n rel = _link$split2[1];\n\n var m = url.match(/page=(\\d+)/);\n var page = m && parseInt(m[1], 10);\n if (rel.match(/last/)) {\n pagination.last = page;\n } else if (rel.match(/next/)) {\n pagination.next = page;\n } else if (rel.match(/prev/)) {\n pagination.prev = page;\n } else if (rel.match(/first/)) {\n pagination.first = page;\n }\n }\n\n pagination.last = Math.max(pagination.last || 0, pagination.prev && pagination.prev + 1 || 0);\n pagination.current = pagination.next ? pagination.next - 1 : pagination.last || 1;\n pagination.total = total ? parseInt(total, 10) : null;\n\n return pagination;\n}\n\n/***/ }),\n/* 17 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }return target;\n};\n\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n }\n }return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n };\n}();\n\nvar _microApiClient = __webpack_require__(6);\n\nvar _microApiClient2 = _interopRequireDefault(_microApiClient);\n\nvar _admin = __webpack_require__(18);\n\nvar _admin2 = _interopRequireDefault(_admin);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nvar ExpiryMargin = 60 * 1000;\nvar storageKey = \"gotrue.user\";\nvar refreshPromises = {};\nvar currentUser = null;\nvar forbiddenUpdateAttributes = { api: 1, token: 1, audience: 1, url: 1 };\nvar forbiddenSaveAttributes = { api: 1 };\n\nvar User = function () {\n function User(api, tokenResponse, audience) {\n _classCallCheck(this, User);\n\n this.api = api;\n this.url = api.apiURL;\n this.audience = audience;\n this._processTokenResponse(tokenResponse);\n currentUser = this;\n }\n\n _createClass(User, [{\n key: \"update\",\n value: function update(attributes) {\n var _this = this;\n\n return this._request(\"/user\", {\n method: \"PUT\",\n body: JSON.stringify(attributes)\n }).then(function (response) {\n return _this._saveUserData(response)._refreshSavedSession();\n });\n }\n }, {\n key: \"jwt\",\n value: function jwt(forceRefresh) {\n var _tokenDetails = this.tokenDetails(),\n expires_at = _tokenDetails.expires_at,\n refresh_token = _tokenDetails.refresh_token,\n access_token = _tokenDetails.access_token;\n\n if (forceRefresh || expires_at - ExpiryMargin < Date.now()) {\n return this._refreshToken(refresh_token);\n }\n return Promise.resolve(access_token);\n }\n }, {\n key: \"logout\",\n value: function logout() {\n return this._request(\"/logout\", { method: \"POST\" }).then(this.clearSession.bind(this)).catch(this.clearSession.bind(this));\n }\n }, {\n key: \"_refreshToken\",\n value: function _refreshToken(refresh_token) {\n var _this2 = this;\n\n if (refreshPromises[refresh_token]) {\n return refreshPromises[refresh_token];\n }\n return refreshPromises[refresh_token] = this.api.request(\"/token\", {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/x-www-form-urlencoded\" },\n body: \"grant_type=refresh_token&refresh_token=\" + refresh_token\n }).then(function (response) {\n delete refreshPromises[refresh_token];\n _this2._processTokenResponse(response);\n _this2._refreshSavedSession();\n return _this2.token.access_token;\n }).catch(function (error) {\n delete refreshPromises[refresh_token];\n _this2.clearSession();\n return Promise.reject(error);\n });\n }\n }, {\n key: \"_request\",\n value: function _request(path) {\n var _this3 = this;\n\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n options.headers = options.headers || {};\n\n var aud = options.audience || this.audience;\n if (aud) {\n options.headers[\"X-JWT-AUD\"] = aud;\n }\n\n return this.jwt().then(function (token) {\n return _this3.api.request(path, _extends({\n headers: Object.assign(options.headers, {\n Authorization: \"Bearer \" + token\n })\n }, options)).catch(function (err) {\n if (err instanceof _microApiClient.JSONHTTPError && err.json) {\n if (err.json.msg) {\n err.message = err.json.msg;\n } else if (err.json.error) {\n err.message = err.json.error + \": \" + err.json.error_description;\n }\n }\n return Promise.reject(err);\n });\n });\n }\n }, {\n key: \"getUserData\",\n value: function getUserData() {\n return this._request(\"/user\").then(this._saveUserData.bind(this)).then(this._refreshSavedSession.bind(this));\n }\n }, {\n key: \"_saveUserData\",\n value: function _saveUserData(attributes, fromStorage) {\n for (var key in attributes) {\n if (key in User.prototype || key in forbiddenUpdateAttributes) {\n continue;\n }\n this[key] = attributes[key];\n }\n if (fromStorage) {\n this._fromStorage = true;\n }\n return this;\n }\n }, {\n key: \"_processTokenResponse\",\n value: function _processTokenResponse(tokenResponse) {\n this.token = tokenResponse;\n var claims = void 0;\n try {\n claims = JSON.parse(urlBase64Decode(tokenResponse.access_token.split(\".\")[1]));\n this.token.expires_at = claims.exp * 1000;\n } catch (e) {\n console.error(new Error(\"Gotrue-js: Failed to parse tokenResponse claims: \" + JSON.stringify(tokenResponse)));\n }\n }\n }, {\n key: \"_refreshSavedSession\",\n value: function _refreshSavedSession() {\n // only update saved session if we previously saved something\n if (localStorage.getItem(storageKey)) {\n this._saveSession();\n }\n return this;\n }\n }, {\n key: \"_saveSession\",\n value: function _saveSession() {\n localStorage.setItem(storageKey, JSON.stringify(this._details));\n return this;\n }\n }, {\n key: \"tokenDetails\",\n value: function tokenDetails() {\n return this.token;\n }\n }, {\n key: \"clearSession\",\n value: function clearSession() {\n User.removeSavedSession();\n this.token = null;\n currentUser = null;\n }\n }, {\n key: \"admin\",\n get: function get() {\n return new _admin2.default(this);\n }\n }, {\n key: \"_details\",\n get: function get() {\n var userCopy = {};\n for (var key in this) {\n if (key in User.prototype || key in forbiddenSaveAttributes) {\n continue;\n }\n userCopy[key] = this[key];\n }\n return userCopy;\n }\n }], [{\n key: \"removeSavedSession\",\n value: function removeSavedSession() {\n localStorage.removeItem(storageKey);\n }\n }, {\n key: \"recoverSession\",\n value: function recoverSession(apiInstance) {\n if (currentUser) {\n return currentUser;\n }\n\n var json = localStorage.getItem(storageKey);\n if (json) {\n try {\n var data = JSON.parse(json);\n var url = data.url,\n token = data.token,\n audience = data.audience;\n\n if (!url || !token) {\n return null;\n }\n\n var api = apiInstance || new _microApiClient2.default(url, {});\n return new User(api, token, audience)._saveUserData(data, true);\n } catch (ex) {\n console.error(new Error(\"Gotrue-js: Error recovering session: \" + ex));\n return null;\n }\n }\n\n return null;\n }\n }]);\n\n return User;\n}();\n\nexports.default = User;\n\nfunction urlBase64Decode(str) {\n // From https://jwt.io/js/jwt.js\n var output = str.replace(/-/g, '+').replace(/_/g, '/');\n switch (output.length % 4) {\n case 0:\n break;\n case 2:\n output += '==';\n break;\n case 3:\n output += '=';\n break;\n default:\n throw 'Illegal base64url string!';\n }\n var result = window.atob(output); //polifyll https://github.com/davidchambers/Base64.js\n try {\n return decodeURIComponent(escape(result));\n } catch (err) {\n return result;\n }\n}\n\n/***/ }),\n/* 18 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n }\n }return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n };\n}();\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nvar Admin = function () {\n function Admin(user) {\n _classCallCheck(this, Admin);\n\n this.user = user;\n }\n\n // Return a list of all users in an audience\n\n\n _createClass(Admin, [{\n key: \"listUsers\",\n value: function listUsers(aud) {\n return this.user._request(\"/admin/users\", {\n method: \"GET\",\n audience: aud\n });\n }\n }, {\n key: \"getUser\",\n value: function getUser(user) {\n return this.user._request(\"/admin/users/\" + user.id);\n }\n }, {\n key: \"updateUser\",\n value: function updateUser(user) {\n var attributes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n return this.user._request(\"/admin/users/\" + user.id, {\n method: \"PUT\",\n body: JSON.stringify(attributes)\n });\n }\n }, {\n key: \"createUser\",\n value: function createUser(email, password) {\n var attributes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n attributes.email = email;\n attributes.password = password;\n return this.user._request(\"/admin/users\", {\n method: \"POST\",\n body: JSON.stringify(attributes)\n });\n }\n }, {\n key: \"deleteUser\",\n value: function deleteUser(user) {\n return this.user._request(\"/admin/users/\" + user.id, {\n method: \"DELETE\"\n });\n }\n }]);\n\n return Admin;\n}();\n\nexports.default = Admin;\n\n/***/ }),\n/* 19 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _dec, _class;\n\nvar _preact = __webpack_require__(0);\n\nvar _mobxPreact = __webpack_require__(2);\n\nvar _modal = __webpack_require__(20);\n\nvar _modal2 = _interopRequireDefault(_modal);\n\nvar _siteurl = __webpack_require__(21);\n\nvar _siteurl2 = _interopRequireDefault(_siteurl);\n\nvar _logout = __webpack_require__(22);\n\nvar _logout2 = _interopRequireDefault(_logout);\n\nvar _user = __webpack_require__(23);\n\nvar _user2 = _interopRequireDefault(_user);\n\nvar _providers = __webpack_require__(24);\n\nvar _providers2 = _interopRequireDefault(_providers);\n\nvar _message = __webpack_require__(8);\n\nvar _message2 = _interopRequireDefault(_message);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar pagesWithHeader = { login: true, signup: true };\nvar pages = {\n login: {\n login: true,\n button: \"Log in\",\n button_saving: \"Logging in\",\n email: true,\n password: true,\n link: \"amnesia\",\n link_text: \"Forgot password?\",\n providers: true\n },\n signup: {\n signup: true,\n button: \"Sign up\",\n button_saving: \"Signing Up\",\n name: true,\n email: true,\n password: true,\n providers: true\n },\n amnesia: {\n title: \"Recover password\",\n button: \"Send recovery email\",\n button_saving: \"Sending recovery email\",\n email: true,\n link: \"login\",\n link_text: \"Never mind\"\n },\n recovery: {\n title: \"Recover password\",\n button: \"Update password\",\n button_saving: \"Updating password\",\n password: true,\n link: \"login\",\n link_text: \"Never mind\"\n },\n invite: {\n title: \"Complete your signup\",\n button: \"Sign up\",\n button_saving: \"Signing Up\",\n password: true,\n providers: true\n },\n user: {\n title: \"Logged in\"\n }\n};\n\nvar App = (_dec = (0, _mobxPreact.connect)([\"store\"]), _dec(_class = function (_Component) {\n _inherits(App, _Component);\n\n function App() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, App);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = App.__proto__ || Object.getPrototypeOf(App)).call.apply(_ref, [this].concat(args))), _this), _this.handleClose = function () {\n return _this.props.store.closeModal();\n }, _this.handlePage = function (page) {\n return _this.props.store.openModal(page);\n }, _this.handleLogout = function () {\n return _this.props.store.logout();\n }, _this.handleSiteURL = function (url) {\n return _this.props.store.setSiteURL(url);\n }, _this.clearSiteURL = function (url) {\n return _this.props.store.clearSiteURL();\n }, _this.handleExternalLogin = function (provider) {\n return _this.props.store.externalLogin(provider);\n }, _this.handleUser = function (_ref2) {\n var name = _ref2.name,\n email = _ref2.email,\n password = _ref2.password;\n var store = _this.props.store;\n\n\n switch (store.modal.page) {\n case \"login\":\n store.login(email, password);\n break;\n case \"signup\":\n store.signup(name, email, password);\n break;\n case \"amnesia\":\n store.requestPasswordRecovery(email);\n break;\n case \"invite\":\n store.acceptInvite(password);\n break;\n case \"recovery\":\n store.updatePassword(password);\n break;\n }\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(App, [{\n key: \"renderBody\",\n value: function renderBody() {\n var _this2 = this;\n\n var store = this.props.store;\n\n var page = pages[store.modal.page] || {};\n var pageLinkHandler = function pageLinkHandler() {\n return _this2.handlePage(page.link);\n };\n\n if (store.isLocal && store.siteURL === null) {\n return (0, _preact.h)(_siteurl2.default, {\n devMode: store.siteURL != null,\n onSiteURL: store.siteURL ? this.clearSiteURL : this.handleSiteURL\n });\n }\n if (!store.settings) {\n return;\n }\n if (store.user) {\n return (0, _preact.h)(_logout2.default, {\n user: store.user,\n saving: store.saving,\n onLogout: this.handleLogout\n });\n }\n if (store.modal.page === \"signup\" && store.settings.disable_signup) {\n return (0, _preact.h)(_message2.default, { type: \"signup_disabled\" });\n }\n\n return (0, _preact.h)(\n \"div\",\n null,\n (0, _preact.h)(_user2.default, {\n page: pages[store.modal.page] || {},\n message: store.message,\n saving: store.saving,\n onSubmit: this.handleUser,\n namePlaceholder: store.namePlaceholder\n }),\n !store.user && page.link && store.gotrue && (0, _preact.h)(\n \"button\",\n {\n onclick: pageLinkHandler,\n className: \"btnLink forgotPasswordLink\"\n },\n page.link_text\n ),\n store.isLocal ? (0, _preact.h)(_siteurl2.default, {\n devMode: store.siteURL != null,\n onSiteURL: store.siteURL ? this.clearSiteURL : this.handleSiteURL\n }) : (0, _preact.h)(\"div\", null)\n );\n }\n }, {\n key: \"renderProviders\",\n value: function renderProviders() {\n var store = this.props.store;\n\n\n if (!(store.gotrue && store.settings)) {\n return null;\n }\n if (store.modal.page === \"signup\" && store.settings.disable_signup) {\n return null;\n }\n var page = pages[store.modal.page] || {};\n\n if (!page.providers) {\n return null;\n }\n\n var providers = [\"Google\", \"GitHub\", \"GitLab\", \"BitBucket\", \"SAML\"].filter(function (p) {\n return store.settings.external[p.toLowerCase()];\n });\n\n return providers.length ? (0, _preact.h)(_providers2.default, {\n providers: providers,\n labels: store.settings.external_labels || {},\n onLogin: this.handleExternalLogin\n }) : null;\n }\n }, {\n key: \"render\",\n value: function render() {\n var store = this.props.store;\n\n var showHeader = pagesWithHeader[store.modal.page];\n var showSignup = store.settings && !store.settings.disable_signup;\n var page = pages[store.modal.page] || {};\n\n return (0, _preact.h)(\n \"div\",\n null,\n (0, _preact.h)(\n _modal2.default,\n {\n page: page,\n error: store.error,\n showHeader: showHeader,\n showSignup: showSignup,\n devSettings: !store.gotrue,\n loading: !store.error && store.gotrue && !store.settings,\n isOpen: store.modal.isOpen,\n onPage: this.handlePage,\n onClose: this.handleClose,\n logo: store.modal.logo\n },\n this.renderBody(),\n this.renderProviders()\n )\n );\n }\n }]);\n\n return App;\n}(_preact.Component)) || _class);\nexports.default = App;\n\n/***/ }),\n/* 20 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _preact = __webpack_require__(0);\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction formatError(error) {\n return error.json && error.json.error_description || error.message || error.toString();\n}\n\nvar Modal = function (_Component) {\n _inherits(Modal, _Component);\n\n function Modal() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, Modal);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Modal.__proto__ || Object.getPrototypeOf(Modal)).call.apply(_ref, [this].concat(args))), _this), _this.handleClose = function (e) {\n e.preventDefault();\n _this.props.onClose();\n }, _this.blockEvent = function (e) {\n e.stopPropagation();\n }, _this.linkHandler = function (page) {\n return function (e) {\n e.preventDefault();\n _this.props.onPage(page);\n };\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(Modal, [{\n key: \"render\",\n value: function render() {\n var _props = this.props,\n page = _props.page,\n error = _props.error,\n loading = _props.loading,\n showHeader = _props.showHeader,\n showSignup = _props.showSignup,\n devSettings = _props.devSettings,\n isOpen = _props.isOpen,\n children = _props.children,\n logo = _props.logo;\n\n var hidden = loading || !isOpen;\n return (0, _preact.h)(\n \"div\",\n {\n className: \"modalContainer\",\n role: \"dialog\",\n \"aria-hidden\": \"\" + hidden,\n onClick: this.handleClose\n },\n (0, _preact.h)(\n \"div\",\n {\n className: \"modalDialog\" + (loading ? \" visuallyHidden\" : \"\"),\n onClick: this.blockEvent\n },\n (0, _preact.h)(\n \"div\",\n { className: \"modalContent\" },\n (0, _preact.h)(\n \"button\",\n { onclick: this.handleClose, className: \"btn btnClose\" },\n (0, _preact.h)(\n \"span\",\n { className: \"visuallyHidden\" },\n \"Close\"\n )\n ),\n showHeader && (0, _preact.h)(\n \"div\",\n { className: \"header\" },\n showSignup && (0, _preact.h)(\n \"button\",\n {\n className: \"btn btnHeader \" + (page.signup ? \"active\" : \"\"),\n onclick: this.linkHandler(\"signup\")\n },\n \"Sign up\"\n ),\n !devSettings && (0, _preact.h)(\n \"button\",\n {\n className: \"btn btnHeader \" + (page.login ? \"active\" : \"\"),\n onclick: this.linkHandler(\"login\")\n },\n \"Log in\"\n )\n ),\n page.title && (0, _preact.h)(\n \"div\",\n { className: \"header\" },\n (0, _preact.h)(\n \"button\",\n { className: \"btn btnHeader active\" },\n page.title\n )\n ),\n devSettings && (0, _preact.h)(\n \"div\",\n { className: \"header\" },\n (0, _preact.h)(\n \"button\",\n { className: \"btn btnHeader active\" },\n \"Development Settings\"\n )\n ),\n error && (0, _preact.h)(\n \"div\",\n { className: \"flashMessage error\" },\n (0, _preact.h)(\n \"span\",\n null,\n formatError(error)\n )\n ),\n children\n )\n ),\n logo && (0, _preact.h)(\n \"a\",\n {\n href: \"https://www.netlify.com\",\n className: \"callOut\" + (loading ? \" visuallyHidden\" : \"\")\n },\n (0, _preact.h)(\"span\", { className: \"netlifyLogo\" }),\n \"Coded by Netlify\"\n )\n );\n }\n }]);\n\n return Modal;\n}(_preact.Component);\n\nexports.default = Modal;\n\n/***/ }),\n/* 21 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _preact = __webpack_require__(0);\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar SiteURLForm = function (_Component) {\n _inherits(SiteURLForm, _Component);\n\n function SiteURLForm(props) {\n _classCallCheck(this, SiteURLForm);\n\n var _this = _possibleConstructorReturn(this, (SiteURLForm.__proto__ || Object.getPrototypeOf(SiteURLForm)).call(this, props));\n\n _this.handleInput = function (e) {\n _this.setState(_defineProperty({}, e.target.name, e.target.value));\n };\n\n _this.addSiteURL = function (e) {\n e.preventDefault();\n _this.props.onSiteURL(_this.state.url);\n };\n\n _this.clearSiteURL = function (e) {\n e.preventDefault;\n _this.props.onSiteURL();\n };\n\n _this.state = { url: \"\", development: props.devMode || false };\n return _this;\n }\n\n _createClass(SiteURLForm, [{\n key: \"render\",\n value: function render() {\n var _this2 = this;\n\n var _state = this.state,\n url = _state.url,\n development = _state.development;\n\n\n return (0, _preact.h)(\n \"div\",\n null,\n development ? (0, _preact.h)(\n \"div\",\n { \"class\": \"subheader\" },\n (0, _preact.h)(\n \"h3\",\n null,\n \"Development Settings\"\n ),\n (0, _preact.h)(\n \"button\",\n {\n onclick: function onclick(e) {\n return _this2.clearSiteURL(e);\n },\n className: \"btnLink forgotPasswordLink\"\n },\n \"Clear localhost URL\"\n )\n ) : (0, _preact.h)(\n \"form\",\n { onsubmit: this.addSiteURL, className: \"form\" },\n (0, _preact.h)(\n \"div\",\n { className: \"flashMessage\" },\n \"Looks like you're running a local server. Please let us know the URL of your Netlify site.\"\n ),\n (0, _preact.h)(\n \"div\",\n { className: \"formGroup\" },\n (0, _preact.h)(\n \"label\",\n null,\n (0, _preact.h)(\n \"span\",\n { className: \"visuallyHidden\" },\n \"Enter your Netlify Site URL\"\n ),\n (0, _preact.h)(\"input\", {\n className: \"formControl\",\n type: \"url\",\n name: \"url\",\n value: url,\n placeholder: \"URL of your Netlify site\",\n autocapitalize: \"off\",\n required: true,\n oninput: this.handleInput\n }),\n (0, _preact.h)(\"div\", { className: \"inputFieldIcon inputFieldUrl\" })\n )\n ),\n (0, _preact.h)(\n \"button\",\n { type: \"submit\", className: \"btn\" },\n \"Set site's URL\"\n )\n )\n );\n }\n }]);\n\n return SiteURLForm;\n}(_preact.Component);\n\nexports.default = SiteURLForm;\n\n/***/ }),\n/* 22 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _preact = __webpack_require__(0);\n\nvar _button = __webpack_require__(7);\n\nvar _button2 = _interopRequireDefault(_button);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar LogoutForm = function (_Component) {\n _inherits(LogoutForm, _Component);\n\n function LogoutForm() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, LogoutForm);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = LogoutForm.__proto__ || Object.getPrototypeOf(LogoutForm)).call.apply(_ref, [this].concat(args))), _this), _this.handleLogout = function (e) {\n e.preventDefault();\n _this.props.onLogout();\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(LogoutForm, [{\n key: \"render\",\n value: function render() {\n var _props = this.props,\n user = _props.user,\n saving = _props.saving;\n\n\n return (0, _preact.h)(\n \"form\",\n {\n onSubmit: this.handleLogout,\n className: \"form \" + (saving ? \"disabled\" : \"\")\n },\n (0, _preact.h)(\n \"p\",\n { className: \"infoText\" },\n \"Logged in as \",\n (0, _preact.h)(\"br\", null),\n (0, _preact.h)(\n \"span\",\n { className: \"infoTextEmail\" },\n user.user_metadata.full_name || user.user_metadata.name || user.email\n )\n ),\n (0, _preact.h)(_button2.default, { saving: saving, text: \"Log out\", saving_text: \"Logging out\" })\n );\n }\n }]);\n\n return LogoutForm;\n}(_preact.Component);\n\nexports.default = LogoutForm;\n\n/***/ }),\n/* 23 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _preact = __webpack_require__(0);\n\nvar _message = __webpack_require__(8);\n\nvar _message2 = _interopRequireDefault(_message);\n\nvar _button = __webpack_require__(7);\n\nvar _button2 = _interopRequireDefault(_button);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar UserForm = function (_Component) {\n _inherits(UserForm, _Component);\n\n function UserForm(props) {\n _classCallCheck(this, UserForm);\n\n var _this = _possibleConstructorReturn(this, (UserForm.__proto__ || Object.getPrototypeOf(UserForm)).call(this, props));\n\n _this.handleInput = function (e) {\n _this.setState(_defineProperty({}, e.target.name, e.target.value));\n };\n\n _this.handleLogin = function (e) {\n e.preventDefault();\n _this.props.onSubmit(_this.state);\n };\n\n _this.state = { name: \"\", email: \"\", password: \"\" };\n return _this;\n }\n\n _createClass(UserForm, [{\n key: \"render\",\n value: function render() {\n var _props = this.props,\n page = _props.page,\n message = _props.message,\n saving = _props.saving,\n namePlaceholder = _props.namePlaceholder;\n var _state = this.state,\n name = _state.name,\n email = _state.email,\n password = _state.password;\n\n\n return (0, _preact.h)(\n \"form\",\n {\n onsubmit: this.handleLogin,\n className: \"form \" + (saving ? \"disabled\" : \"\")\n },\n message && (0, _preact.h)(_message2.default, { type: message }),\n page.name && (0, _preact.h)(\n \"div\",\n { className: \"formGroup\" },\n (0, _preact.h)(\n \"label\",\n null,\n (0, _preact.h)(\n \"span\",\n { className: \"visuallyHidden\" },\n \"Enter your name\"\n ),\n (0, _preact.h)(\"input\", {\n className: \"formControl\",\n type: \"name\",\n name: \"name\",\n value: name,\n placeholder: namePlaceholder ? namePlaceholder : \"Name\",\n autocapitalize: \"off\",\n required: true,\n oninput: this.handleInput\n }),\n (0, _preact.h)(\"div\", { className: \"inputFieldIcon inputFieldName\" })\n )\n ),\n page.email && (0, _preact.h)(\n \"div\",\n { className: \"formGroup\" },\n (0, _preact.h)(\n \"label\",\n null,\n (0, _preact.h)(\n \"span\",\n { className: \"visuallyHidden\" },\n \"Enter your email\"\n ),\n (0, _preact.h)(\"input\", {\n className: \"formControl\",\n type: \"email\",\n name: \"email\",\n value: email,\n placeholder: \"Email\",\n autocapitalize: \"off\",\n required: true,\n oninput: this.handleInput\n }),\n (0, _preact.h)(\"div\", { className: \"inputFieldIcon inputFieldEmail\" })\n )\n ),\n page.password && (0, _preact.h)(\n \"div\",\n { className: \"formGroup\" },\n (0, _preact.h)(\n \"label\",\n null,\n (0, _preact.h)(\n \"span\",\n { className: \"visuallyHidden\" },\n \"Enter your password\"\n ),\n (0, _preact.h)(\"input\", {\n className: \"formControl\",\n type: \"password\",\n name: \"password\",\n value: password,\n placeholder: \"Password\",\n required: true,\n oninput: this.handleInput\n }),\n (0, _preact.h)(\"div\", { className: \"inputFieldIcon inputFieldPassword\" })\n )\n ),\n (0, _preact.h)(_button2.default, {\n saving: saving,\n text: page.button,\n saving_text: page.button_saving\n })\n );\n }\n }]);\n\n return UserForm;\n}(_preact.Component);\n\nexports.default = UserForm;\n\n/***/ }),\n/* 24 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _preact = __webpack_require__(0);\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Provider = function (_Component) {\n _inherits(Provider, _Component);\n\n function Provider() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, Provider);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Provider.__proto__ || Object.getPrototypeOf(Provider)).call.apply(_ref, [this].concat(args))), _this), _this.handleLogin = function (e) {\n e.preventDefault();\n _this.props.onLogin(_this.props.provider.toLowerCase());\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(Provider, [{\n key: \"render\",\n value: function render() {\n var _props = this.props,\n provider = _props.provider,\n label = _props.label;\n\n\n return (0, _preact.h)(\n \"button\",\n {\n onClick: this.handleLogin,\n className: \"provider\" + provider + \" btn btnProvider\"\n },\n \"Continue with \",\n label\n );\n }\n }]);\n\n return Provider;\n}(_preact.Component);\n\nvar Providers = function (_Component2) {\n _inherits(Providers, _Component2);\n\n function Providers() {\n _classCallCheck(this, Providers);\n\n return _possibleConstructorReturn(this, (Providers.__proto__ || Object.getPrototypeOf(Providers)).apply(this, arguments));\n }\n\n _createClass(Providers, [{\n key: \"getLabel\",\n value: function getLabel(p) {\n var pId = p.toLowerCase();\n if (pId in this.props.labels) {\n return this.props.labels[pId];\n }\n return p;\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this3 = this;\n\n var _props2 = this.props,\n providers = _props2.providers,\n onLogin = _props2.onLogin;\n\n\n return (0, _preact.h)(\n \"div\",\n { className: \"providersGroup\" },\n (0, _preact.h)(\"hr\", { className: \"hr\" }),\n providers.map(function (p) {\n return (0, _preact.h)(Provider, {\n key: p,\n provider: p,\n label: _this3.getLabel(p),\n onLogin: onLogin\n });\n })\n );\n }\n }]);\n\n return Providers;\n}(_preact.Component);\n\nexports.default = Providers;\n\n/***/ }),\n/* 25 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _mobx = __webpack_require__(1);\n\nvar store = (0, _mobx.observable)({\n user: null,\n recovered_user: null,\n message: null,\n settings: null,\n gotrue: null,\n error: null,\n siteURL: null,\n remember: true,\n saving: false,\n invite_token: null,\n email_change_token: null,\n namePlaceholder: null,\n modal: {\n page: \"login\",\n isOpen: false,\n logo: true\n }\n});\n\nstore.setNamePlaceholder = (0, _mobx.action)(function setNamePlaceholder(namePlaceholder) {\n store.namePlaceholder = namePlaceholder;\n});\n\nstore.startAction = (0, _mobx.action)(function startAction() {\n store.saving = true;\n store.error = null;\n store.message = null;\n});\n\nstore.setError = (0, _mobx.action)(function setError(err) {\n store.saving = false;\n store.error = err;\n});\n\nstore.init = (0, _mobx.action)(function init(gotrue, reloadSettings) {\n if (gotrue) {\n store.gotrue = gotrue;\n store.user = gotrue.currentUser();\n if (store.user) {\n store.modal.page = \"user\";\n }\n }\n if (reloadSettings) {\n store.loadSettings();\n }\n});\n\nstore.loadSettings = (0, _mobx.action)(function loadSettings() {\n if (store.settings) {\n return;\n }\n if (!store.gotrue) {\n return;\n }\n\n store.gotrue.settings().then((0, _mobx.action)(function (settings) {\n return store.settings = settings;\n })).catch((0, _mobx.action)(function (err) {\n store.error = new Error(\"Failed to load settings from \" + store.gotrue.api.apiURL);\n }));\n});\n\nstore.setIsLocal = (0, _mobx.action)(function setIsLocal(isLocal) {\n store.isLocal = isLocal;\n});\n\nstore.setSiteURL = (0, _mobx.action)(function setSiteURL(url) {\n store.siteURL = url;\n});\n\nstore.clearSiteURL = (0, _mobx.action)(function clearSiteURL() {\n store.gotrue = null;\n store.siteURL = null;\n store.settings = null;\n});\n\nstore.login = (0, _mobx.action)(function login(email, password) {\n store.startAction();\n return store.gotrue.login(email, password, store.remember).then((0, _mobx.action)(function (user) {\n store.user = user;\n store.modal.page = \"user\";\n store.invite_token = null;\n if (store.email_change_token) {\n store.doEmailChange();\n }\n store.saving = false;\n })).catch(store.setError);\n});\n\nstore.externalLogin = (0, _mobx.action)(function externalLogin(provider) {\n // store.startAction();\n store.error = null;\n store.message = null;\n var url = store.invite_token ? store.gotrue.acceptInviteExternalUrl(provider, store.invite_token) : store.gotrue.loginExternalUrl(provider);\n window.location.href = url;\n});\n\nstore.completeExternalLogin = (0, _mobx.action)(function completeExternalLogin(params) {\n store.startAction();\n store.gotrue.createUser(params, store.remember).then(function (user) {\n store.user = user;\n store.modal.page = \"user\";\n store.saving = false;\n }).catch(store.setError);\n});\n\nstore.signup = (0, _mobx.action)(function signup(name, email, password) {\n store.startAction();\n return store.gotrue.signup(email, password, { full_name: name }).then((0, _mobx.action)(function () {\n if (store.settings.autoconfirm) {\n store.login(email, password, store.remember);\n } else {\n store.message = \"confirm\";\n }\n store.saving = false;\n })).catch(store.setError);\n});\n\nstore.logout = (0, _mobx.action)(function logout() {\n if (store.user) {\n store.startAction();\n return store.user.logout().then((0, _mobx.action)(function () {\n store.user = null;\n store.modal.page = \"login\";\n store.saving = false;\n })).catch(store.setError);\n } else {\n store.modal.page = \"login\";\n store.saving = false;\n }\n});\n\nstore.updatePassword = (0, _mobx.action)(function updatePassword(password) {\n store.startAction();\n var user = store.recovered_user || store.user;\n user.update({ password: password }).then(function (user) {\n store.user = user;\n store.recovered_user = null;\n store.modal.page = \"user\";\n store.saving = false;\n }).catch(store.setError);\n});\n\nstore.acceptInvite = (0, _mobx.action)(function acceptInvite(password) {\n store.startAction();\n store.gotrue.acceptInvite(store.invite_token, password, store.remember).then(function (user) {\n store.saving = false;\n store.invite_token = null;\n store.user = user;\n store.modal.page = \"user\";\n }).catch(store.setError);\n});\n\nstore.doEmailChange = (0, _mobx.action)(function doEmailChange() {\n store.startAction();\n return store.user.update({ email_change_token: store.email_change_token }).then((0, _mobx.action)(function (user) {\n store.user = user;\n store.email_change_token = null;\n store.message = \"email_changed\";\n store.saving = false;\n })).catch(store.setError);\n});\n\nstore.verifyToken = (0, _mobx.action)(function verifyToken(type, token) {\n var gotrue = store.gotrue;\n store.modal.isOpen = true;\n\n switch (type) {\n case \"confirmation\":\n store.startAction();\n store.modal.page = \"signup\";\n gotrue.confirm(token, store.remember).then((0, _mobx.action)(function (user) {\n store.user = user;\n store.saving = false;\n })).catch((0, _mobx.action)(function (err) {\n console.error(err);\n store.message = \"verfication_error\";\n store.modal.page = \"signup\";\n store.saving = false;\n }));\n break;\n case \"email_change\":\n store.email_change_token = token;\n store.modal.page = \"message\";\n if (store.user) {\n store.doEmailChange();\n } else {\n store.modal.page = \"login\";\n }\n break;\n case \"invite\":\n store.modal.page = type;\n store.invite_token = token;\n break;\n case \"recovery\":\n store.startAction();\n store.modal.page = type;\n store.gotrue.recover(token, store.remember).then(function (user) {\n store.saving = false;\n store.recovered_user = user;\n }).catch(function (err) {\n store.saving = false;\n store.error = err;\n store.modal.page = \"login\";\n });\n break;\n default:\n store.error = \"Unkown token type\";\n }\n});\n\nstore.requestPasswordRecovery = (0, _mobx.action)(function requestPasswordRecovery(email) {\n store.startAction();\n store.gotrue.requestPasswordRecovery(email).then((0, _mobx.action)(function () {\n store.message = \"password_mail\";\n store.saving = false;\n })).catch(store.setError);\n});\n\nstore.openModal = (0, _mobx.action)(function open(page) {\n store.modal.page = page;\n store.modal.isOpen = true;\n});\n\nstore.closeModal = (0, _mobx.action)(function close() {\n store.modal.isOpen = false;\n store.error = null;\n store.message = null;\n store.saving = false;\n});\n\nexports.default = store;\n\n/***/ }),\n/* 26 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _dec, _class;\n\nvar _preact = __webpack_require__(0);\n\nvar _mobxPreact = __webpack_require__(2);\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Controls = (_dec = (0, _mobxPreact.connect)([\"store\"]), _dec(_class = function (_Component) {\n _inherits(Controls, _Component);\n\n function Controls() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, Controls);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Controls.__proto__ || Object.getPrototypeOf(Controls)).call.apply(_ref, [this].concat(args))), _this), _this.handleSignup = function (e) {\n e.preventDefault();\n _this.props.store.openModal(\"signup\");\n }, _this.handleLogin = function (e) {\n e.preventDefault();\n _this.props.store.openModal(\"login\");\n }, _this.handleLogout = function (e) {\n e.preventDefault();\n _this.props.store.openModal(\"user\");\n }, _this.handleButton = function (e) {\n e.preventDefault();\n _this.props.store.openModal(_this.props.store.user ? \"user\" : \"login\");\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(Controls, [{\n key: \"render\",\n value: function render() {\n var user = this.props.store.user;\n\n\n if (this.props.mode === \"button\") {\n return (0, _preact.h)(\n \"a\",\n {\n className: \"netlify-identity-button\",\n href: \"#\",\n onClick: this.handleButton\n },\n this.props.text || (user ? \"Log out\" : \"Log in\")\n );\n }\n\n if (user) {\n return (0, _preact.h)(\n \"ul\",\n { className: \"netlify-identity-menu\" },\n (0, _preact.h)(\n \"li\",\n { className: \"netlify-identity-item netlify-identity-user-details\" },\n \"Logged in as\",\n \" \",\n (0, _preact.h)(\n \"span\",\n { className: \"netlify-identity-user\" },\n user.user_metadata.name || user.email\n )\n ),\n (0, _preact.h)(\n \"li\",\n { className: \"netlify-identity-item\" },\n (0, _preact.h)(\n \"a\",\n {\n className: \"netlify-identity-logout\",\n href: \"#\",\n onClick: this.handleLogout\n },\n \"Log out\"\n )\n )\n );\n }\n\n return (0, _preact.h)(\n \"ul\",\n { className: \"netlify-identity-menu\" },\n (0, _preact.h)(\n \"li\",\n { className: \"netlify-identity-item\" },\n (0, _preact.h)(\n \"a\",\n {\n className: \"netlify-identity-signup\",\n href: \"#\",\n onClick: this.handleSignup\n },\n \"Sign up\"\n )\n ),\n (0, _preact.h)(\n \"li\",\n { className: \"netlify-identity-item\" },\n (0, _preact.h)(\n \"a\",\n {\n className: \"netlify-identity-login\",\n href: \"#\",\n onClick: this.handleLogin\n },\n \"Log in\"\n )\n )\n );\n }\n }]);\n\n return Controls;\n}(_preact.Component)) || _class);\nexports.default = Controls;\n\n/***/ }),\n/* 27 */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(28)(false);\n// imports\n\n\n// module\nexports.push([module.i, \"::-webkit-input-placeholder {\\n /* Chrome/Opera/Safari */\\n color: #a3a9ac;\\n font-weight: 500;\\n}\\n\\n::-moz-placeholder {\\n /* Firefox 19+ */\\n color: #a3a9ac;\\n font-weight: 500;\\n}\\n\\n:-ms-input-placeholder {\\n /* IE 10+ */\\n color: #a3a9ac;\\n font-weight: 500;\\n}\\n\\n:-moz-placeholder {\\n /* Firefox 18- */\\n color: #a3a9ac;\\n font-weight: 500;\\n}\\n\\n.modalContainer {\\n position: absolute;\\n top: 0;\\n left: 0;\\n width: 100%;\\n min-height: 100%;\\n overflow-x: hidden;\\n overflow-y: auto;\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n font-family: -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, Helvetica,\\n Arial, sans-serif, \\\"Apple Color Emoji\\\", \\\"Segoe UI Emoji\\\", \\\"Segoe UI Symbol\\\";\\n font-size: 14px;\\n line-height: 1.5;\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-orient: vertical;\\n -webkit-box-direction: normal;\\n -ms-flex-direction: column;\\n flex-direction: column;\\n -webkit-box-align: center;\\n -ms-flex-align: center;\\n align-items: center;\\n z-index: 99999;\\n}\\n\\n.modalContainer::before {\\n content: \\\"\\\";\\n display: block;\\n position: fixed;\\n top: 0;\\n bottom: 0;\\n left: 0;\\n right: 0;\\n background-color: #fff;\\n z-index: -1;\\n}\\n\\n.modalDialog {\\n -webkit-box-flex: 1;\\n -ms-flex-positive: 1;\\n flex-grow: 1;\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-orient: vertical;\\n -webkit-box-direction: normal;\\n -ms-flex-direction: column;\\n flex-direction: column;\\n width: 100%;\\n}\\n\\n.modalContent {\\n position: relative;\\n padding: 32px;\\n opacity: 0;\\n -webkit-transform: translateY(10px) scale(1);\\n transform: translateY(10px) scale(1);\\n background: #fff;\\n}\\n\\n[aria-hidden=\\\"false\\\"] .modalContent {\\n -webkit-animation: bouncyEntrance 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);\\n animation: bouncyEntrance 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);\\n -webkit-animation-fill-mode: forwards;\\n animation-fill-mode: forwards;\\n }\\n\\n@-webkit-keyframes bouncyEntrance {\\n 0% {\\n opacity: 0;\\n -webkit-transform: translateY(10px) scale(0.9);\\n transform: translateY(10px) scale(0.9);\\n }\\n\\n 100% {\\n opacity: 1;\\n -webkit-transform: translateY(0) scale(1);\\n transform: translateY(0) scale(1);\\n }\\n}\\n\\n@keyframes bouncyEntrance {\\n 0% {\\n opacity: 0;\\n -webkit-transform: translateY(10px) scale(0.9);\\n transform: translateY(10px) scale(0.9);\\n }\\n\\n 100% {\\n opacity: 1;\\n -webkit-transform: translateY(0) scale(1);\\n transform: translateY(0) scale(1);\\n }\\n}\\n\\n@media (min-width: 480px) {\\n .modalContainer::before {\\n background-color: rgb(14, 30, 37);\\n -webkit-animation: fadeIn 0.1s ease-in;\\n animation: fadeIn 0.1s ease-in;\\n -webkit-animation-fill-mode: forwards;\\n animation-fill-mode: forwards;\\n }\\n\\n .modalDialog {\\n max-width: 364px;\\n -webkit-box-pack: center;\\n -ms-flex-pack: center;\\n justify-content: center;\\n }\\n\\n .modalContent {\\n background: #fff;\\n -webkit-box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .07),\\n 0 12px 32px 0 rgba(14, 30, 37, .1);\\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .07),\\n 0 12px 32px 0 rgba(14, 30, 37, .1);\\n border-radius: 8px;\\n margin-top: 32px;\\n }\\n}\\n\\n@-webkit-keyframes fadeIn {\\n 0% {\\n opacity: 0;\\n }\\n\\n 100% {\\n opacity: 0.67;\\n }\\n}\\n\\n@keyframes fadeIn {\\n 0% {\\n opacity: 0;\\n }\\n\\n 100% {\\n opacity: 0.67;\\n }\\n}\\n\\n.flashMessage {\\n text-align: center;\\n color: rgb(14, 30, 37);\\n font-weight: 500;\\n font-size: 14px;\\n background-color: #f2f3f3;\\n padding: 6px;\\n border-radius: 4px;\\n opacity: 0.7;\\n -webkit-transition: opacity 0.2s linear;\\n transition: opacity 0.2s linear;\\n}\\n\\n.flashMessage:hover,\\n.flashMessage:focus {\\n opacity: 1;\\n}\\n\\n.error {\\n color: #fa3946;\\n background-color: #fceef0;\\n opacity: 1;\\n}\\n\\n.error span::before {\\n content: \\\"\\\";\\n display: inline-block;\\n position: relative;\\n top: 3px;\\n margin-right: 4px;\\n width: 16px;\\n height: 16px;\\n background: no-repeat center center;\\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8cGF0aCBmaWxsPSIjRkEzOTQ2IiBkPSJNOCwxLjMzMzMzMzMzIEMxMS42NzYsMS4zMzMzMzMzMyAxNC42NjY2NjY3LDQuMzI0IDE0LjY2NjY2NjcsOCBDMTQuNjY2NjY2NywxMS42NzYgMTEuNjc2LDE0LjY2NjY2NjcgOCwxNC42NjY2NjY3IEM0LjMyNCwxNC42NjY2NjY3IDEuMzMzMzMzMzMsMTEuNjc2IDEuMzMzMzMzMzMsOCBDMS4zMzMzMzMzMyw0LjMyNCA0LjMyNCwxLjMzMzMzMzMzIDgsMS4zMzMzMzMzMyBaIE04LDAgQzMuNTgyLDAgMCwzLjU4MiAwLDggQzAsMTIuNDE4IDMuNTgyLDE2IDgsMTYgQzEyLjQxOCwxNiAxNiwxMi40MTggMTYsOCBDMTYsMy41ODIgMTIuNDE4LDAgOCwwIFogTTcuMTI2NjY2NjcsNS4wMTczMzMzMyBDNy4wNjA2NjY2Nyw0LjQ3OTMzMzMzIDcuNDc4NjY2NjcsNCA4LjAyNTMzMzMzLDQgQzguNTM5MzMzMzMsNCA4Ljk0MzMzMzMzLDQuNDUwNjY2NjcgOC44Nzg2NjY2Nyw0Ljk2NzMzMzMzIEw4LjM3NCw5LjAwMjY2NjY3IEM4LjM1MDY2NjY3LDkuMTkxMzMzMzMgOC4xOSw5LjMzMzMzMzMzIDgsOS4zMzMzMzMzMyBDNy44MSw5LjMzMzMzMzMzIDcuNjQ5MzMzMzMsOS4xOTEzMzMzMyA3LjYyNTMzMzMzLDkuMDAyNjY2NjcgTDcuMTI2NjY2NjcsNS4wMTczMzMzMyBMNy4xMjY2NjY2Nyw1LjAxNzMzMzMzIFogTTgsMTIuMTY2NjY2NyBDNy41NCwxMi4xNjY2NjY3IDcuMTY2NjY2NjcsMTEuNzkzMzMzMyA3LjE2NjY2NjY3LDExLjMzMzMzMzMgQzcuMTY2NjY2NjcsMTAuODczMzMzMyA3LjU0LDEwLjUgOCwxMC41IEM4LjQ2LDEwLjUgOC44MzMzMzMzMywxMC44NzMzMzMzIDguODMzMzMzMzMsMTEuMzMzMzMzMyBDOC44MzMzMzMzMywxMS43OTMzMzMzIDguNDYsMTIuMTY2NjY2NyA4LDEyLjE2NjY2NjcgWiIvPgo8L3N2Zz4K);\\n}\\n\\n.success {\\n}\\n\\n.disabled {\\n opacity: 0.38;\\n pointer-events: none;\\n}\\n\\n.infoText {\\n text-align: center;\\n margin: 32px 0;\\n}\\n\\n.infoTextEmail {\\n font-size: 16px;\\n font-weight: 500;\\n}\\n\\n.saving {\\n background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABQCAMAAACeYYN3AAAAxlBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////DTx3aAAAAQnRSTlMAAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2Nzg5Ojs8PT4/QEGgjKRfAAACk0lEQVR4AYXQDXP5WhAG8CUhiSQqSv4RRRMVL1Fa1VZf3PL9v9Tde9wc9M8+P8/M7s6czJiHgNIvVCJO6YiAMlAiWckASiQrm4bJMZTDrmbBIEC9qpgVjp6n4B+oyEwCzKrMQBVaQIlkpmXZln1dhQB+49gOh5dLexlV6MhsAqyazEQVugCqsOK5nsQmwPWZ53ucvyczSGb4l9T9OsdnLgFOXVZFFd4AqEKrIasR4AdBI2hw1GR6VzMwSWY2A60ZNDl6KnUC3KbMRhXeAqhCpyXzCAjarNVucdqXVEhWaRfCdsj5vQcE1EOZQ7Jy+EcUlklWi2Q3BLQ6nagTcTra2Y0qrHZirRN3OOezTUAjvq4bd7suqpDfSGJUoXcnCwiIerIqqlC96vf6HD1ZsUcE3PYH/QGnrx3uYnqoQn4l6aMK/XtZi4BuIrNIZqVJkiapkhx37Y6AcDgcpsNU44Nz3OuoQn4jSVGFNw+ykID+SGaTzM5G2YiTFVM73AMConE2zjhj7XAXs4EqHE/4d12GKgwmsoiAZCpzSObMptPZdHZVSkCc5/ksnym8cPRUmiQzpvNcmedzTl4o7qlBsuZc1iVg9ChDFdYWshEBveV/FssFZ/l7Z7eowsfl0/JJ4UXj43A/ogpbT7IeAZNnWQ1VuJJNCBi8HKxeVhw9tRaq8JkfrV/WHDULxb1CFbbX7HX9yllfck9A/ipzSea+yeYEJO+yEFX4tim8b94VXjj/zzdU4Z/NmY/NB+fkTglYfMg8knmfsiUBD1+yCFX4+X309f3FOds/UYVR8fH2e6vwovExIuB5K/NJ5v8jWxGQ/chiVOF2d+pn98M5zt3WJFm83+/2O4UXjprabkzAWn+o56k9qvBfX4hMaM+SxOMAAAAASUVORK5CYII=);\\n background-repeat: repeat-x;\\n background-size: contain;\\n background-origin: border-box;\\n background-position: 0% 0%;\\n -webkit-animation: loading 20s linear infinite;\\n animation: loading 20s linear infinite;\\n pointer-events: none;\\n}\\n\\n.saving::after {\\n content: \\\"\\\\2026\\\";\\n}\\n\\n@-webkit-keyframes loading {\\n 0% {\\n background-position: 0% 0%;\\n }\\n\\n 100% {\\n background-position: 700% 0%;\\n }\\n}\\n\\n@keyframes loading {\\n 0% {\\n background-position: 0% 0%;\\n }\\n\\n 100% {\\n background-position: 700% 0%;\\n }\\n}\\n\\n.btn {\\n display: block;\\n position: relative;\\n width: 100%;\\n height: auto;\\n margin: 14px 0 0;\\n padding: 6px;\\n outline: 0;\\n cursor: pointer;\\n border: 2px solid rgb(14, 30, 37);\\n border-radius: 4px;\\n background-color: #2d3b41;\\n color: #fff;\\n -webkit-transition: background-color 0.2s ease;\\n transition: background-color 0.2s ease;\\n font-family: -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, Helvetica,\\n Arial, sans-serif, \\\"Apple Color Emoji\\\", \\\"Segoe UI Emoji\\\", \\\"Segoe UI Symbol\\\";\\n font-size: 14px;\\n font-weight: 500;\\n line-height: 24px;\\n text-align: center;\\n text-decoration: none;\\n white-space: nowrap;\\n}\\n\\n.btn:hover,\\n.btn:focus {\\n background-color: rgb(14, 30, 37);\\n text-decoration: none;\\n}\\n\\n.btnClose {\\n position: absolute;\\n top: 0;\\n right: 0;\\n margin: 0;\\n padding: 0;\\n border: 0;\\n width: 24px;\\n height: 24px;\\n border-radius: 50%;\\n margin: 6px;\\n background: #fff;\\n color: #a3a9ac;\\n}\\n\\n.btnClose::before {\\n content: \\\"\\\\D7\\\";\\n font-size: 25px;\\n line-height: 9px;\\n}\\n\\n.btnClose:hover,\\n.btnClose:focus {\\n background: #e9ebeb;\\n color: rgb(14, 30, 37);\\n}\\n\\n.header {\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n margin-top: -8px;\\n margin-bottom: 32px;\\n}\\n\\n.btnHeader {\\n font-size: 16px;\\n line-height: 24px;\\n background: #fff;\\n color: #a3a9ac;\\n border: 0;\\n border-bottom: 2px solid #e9ebeb;\\n border-radius: 4px 4px 0 0;\\n margin: 0;\\n}\\n\\n.btnHeader:focus,\\n.btnHeader.active {\\n background: #fff;\\n color: rgb(14, 30, 37);\\n border-color: rgb(14, 30, 37);\\n font-weight: 700;\\n}\\n\\n.btnHeader:not(:only-child):hover {\\n background-color: #e9ebeb;\\n color: rgb(14, 30, 37);\\n}\\n\\n.btnHeader:only-child {\\n cursor: auto;\\n}\\n\\n.btnLink {\\n display: block;\\n position: relative;\\n width: auto;\\n height: auto;\\n margin: 14px auto 0;\\n padding: 6px;\\n padding-bottom: 0;\\n outline: 0;\\n cursor: pointer;\\n color: rgb(14, 30, 37);\\n border: none;\\n border-bottom: 2px solid #e9ebeb;\\n border-radius: 0;\\n background-color: inherit;\\n -webkit-transition: border-color 0.2s ease;\\n transition: border-color 0.2s ease;\\n font-family: -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, Helvetica,\\n Arial, sans-serif, \\\"Apple Color Emoji\\\", \\\"Segoe UI Emoji\\\", \\\"Segoe UI Symbol\\\";\\n font-size: 14px;\\n font-weight: 500;\\n line-height: 24px;\\n text-align: center;\\n white-space: nowrap;\\n}\\n\\n.btnLink:hover,\\n.btnLink:focus {\\n background-color: inherit;\\n border-color: #a3a9ac;\\n}\\n\\n.form {\\n}\\n\\n.formGroup {\\n position: relative;\\n margin-top: 14px;\\n}\\n\\n.formControl {\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n display: block;\\n width: 100%;\\n height: 40px;\\n margin: 0;\\n padding: 6px 12px 6px 34px;\\n border: 2px solid #e9ebeb;\\n border-radius: 4px;\\n background: #fff;\\n color: rgb(14, 30, 37);\\n -webkit-box-shadow: none;\\n box-shadow: none;\\n font-size: 14px;\\n font-weight: 500;\\n line-height: 24px;\\n -webkit-transition: -webkit-box-shadow ease-in-out 0.15s;\\n transition: -webkit-box-shadow ease-in-out 0.15s;\\n transition: box-shadow ease-in-out 0.15s;\\n transition: box-shadow ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;\\n -webkit-appearance: none;\\n -moz-appearance: none;\\n}\\n\\n.inputFieldIcon {\\n position: absolute;\\n top: 12px;\\n left: 12px;\\n display: inline-block;\\n width: 16px;\\n height: 16px;\\n background-repeat: no-repeat;\\n background-position: center;\\n pointer-events: none;\\n}\\n\\n.inputFieldName {\\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmc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2IFogTTEwLDYgQzEwLDYuNTUyMjg0NzUgMTAuNDQ3NzE1Myw3IDExLDcgQzExLjU1MjI4NDcsNyAxMiw2LjU1MjI4NDc1IDEyLDYgTDEyLDUgTDEwLDUgTDEwLDYgWiBNNCw1IEM0LDIuNzkwODYxIDUuNzkwODYxLDEgOCwxIEMxMC4yMDkxMzksMSAxMiwyLjc5MDg2MSAxMiw1IEw0LDUgWiBNNCwxMSBMMTIsMTEgQzEyLDEzLjIwOTEzOSAxMC4yMDkxMzksMTUgOCwxNSBDNS43OTA4NjEsMTUgNCwxMy4yMDkxMzkgNCwxMSBaIE0xMCwxMSBMNiwxMSBDNiwxMi4xMDQ1Njk1IDYuODk1NDMwNSwxMyA4LDEzIEM5LjEwNDU2OTUsMTMgMTAsMTIuMTA0NTY5NSAxMCwxMSBaIE04LDExIEM3LjQ0NzcxNTI1LDExIDcsMTAuNTUyMjg0NyA3LDEwIEw3LDYgQzcsNS40NDc3MTUyNSA3LjQ0NzcxNTI1LDUgOCw1IEM4LjU1MjI4NDc1LDUgOSw1LjQ0NzcxNTI1IDksNiBMOSwxMCBDOSwxMC41NTIyODQ3IDguNTUyMjg0NzUsMTEgOCwxMSBaIiB0cmFuc2Zvcm09InJvdGF0ZSg0NSA4LjcwNyA2LjI5MykiLz48L3N2Zz4=);\\n}\\n\\n.formLabel {\\n}\\n\\n.hr {\\n border: 0;\\n border-top: 2px solid #e9ebeb;\\n margin: 32px 0 -1px;\\n text-align: center;\\n overflow: visible;\\n}\\n\\n.hr::before {\\n content: \\\"or\\\";\\n position: relative;\\n display: inline-block;\\n font-size: 12px;\\n font-weight: 800;\\n line-height: 1;\\n text-transform: uppercase;\\n background-color: #fff;\\n color: rgb(14, 30, 37);\\n padding: 4px;\\n top: -11px;\\n}\\n\\n.btnProvider {\\n padding-left: 40px;\\n padding-right: 40px;\\n}\\n\\n.btnProvider::before {\\n content: \\\"\\\";\\n position: absolute;\\n display: inline-block;\\n vertical-align: middle;\\n width: 32px;\\n height: 40px;\\n background-repeat: no-repeat;\\n background-position: left center;\\n top: -2px;\\n left: 14px;\\n}\\n\\n.providerGoogle {\\n background-color: #4285f4;\\n border-color: #366dc7;\\n}\\n\\n.providerGoogle:hover,\\n.providerGoogle:focus {\\n background-color: #366dc7;\\n}\\n\\n.providerGitHub {\\n background-color: #333;\\n border-color: #000;\\n}\\n\\n.providerGitHub:hover,\\n.providerGitHub:focus {\\n background-color: #000;\\n}\\n\\n.providerGitLab {\\n background-color: #e24329;\\n border-color: #b03320;\\n}\\n\\n.providerGitLab:hover,\\n.providerGitLab:focus {\\n background-color: #b03320;\\n}\\n\\n.providerBitbucket {\\n background-color: #205081;\\n border-color: #14314f;\\n}\\n\\n.providerBitbucket:hover,\\n.providerBitbucket:focus {\\n background-color: #14314f;\\n}\\n\\n.providerGoogle:before {\\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDEzIDEyIj4gIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEuNDg4IC0yKSI+ICAgIDxyZWN0IHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIvPiAgICA8cGF0aCBmaWxsPSIjRkZGRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iIGQ9Ik0wLjY1MjczNDM3NSwzLjI5NTI4MjQ0IEMwLjIzNzk4NDM3NSw0LjEwNTgzMjA2IDIuODQyMTcwOTRlLTE0LDUuMDE2MDQ1OCAyLjg0MjE3MDk0ZS0xNCw1Ljk3OTM4OTMxIEMyLjg0MjE3MDk0ZS0xNCw2Ljk0MjczMjgyIDAuMjM3OTg0Mzc1LDcuODUyOTAwNzYgMC42NTI3MzQzNzUsOC42NjM0NTAzOCBDMS42NTkwNDY4NywxMC42MTY3MDIzIDMuNzI2MDk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k3MzQzOCAxLjc3MTMyNzgxLDExLjUwMTUxMyBMMS43NzEzMjc4MSwxMS41Njk1NjkyIEMyLjA0NTgxMjg1LDEyLjk5ODc1MTYgMi4yNTE2NzYxNiwxNC4wMTk1OTU2IDIuMjUxNjc2MTYsMTQuMTU1NzA3OSBDMi40NTc1NDAwOSwxNS4xNzY1NTI1IDQuNTE2MTc2MzIsMTUuOTkzMjI4IDYuOTg2NTM5ODIsMTUuOTkzMjI4IEw2Ljk4NjUzOTgyLDE1Ljk5MzIyOCBDOS40NTY5MDMzMSwxNS45OTMyMjggMTEuNTE1NTM5NSwxNS4xNzY1NTI1IDExLjcyMTQwMzUsMTQuMTU1NzA3OSBDMTEuNzIxNDAzNSwxNC4wMTk1OTU2IDExLjkyNzI2NjcsMTIuOTk4NzUxNiAxMi4yMDE3NTE4LDExLjU2OTU2OTIgTDEyLjIwMTc1MTgsMTEuNTAxNTEzIEMxMi4yNzAzNzI5LDExLjM2NTQgMTIuMjAxNzUxOCwxMS4yMjkyODc2IDEyLjA2NDUwOTYsMTEuMjI5Mjg3NiBMMTIuMDY0NTA5NiwxMS4yMjkyODc2IFoiLz4gICAgICA8ZWxsaXBzZSBjeD0iNyIgY3k9IjcuNjkiIHJ4PSIxLjA5OCIgcnk9IjEuMDg5Ii8+ICAgIDwvZz4gIDwvZz48L3N2Zz4=);\\n}\\n\\n.callOut {\\n display: block;\\n padding: 32px;\\n font-size: 14px;\\n font-weight: 500;\\n text-decoration: none;\\n color: #a3a9ac;\\n text-align: center;\\n}\\n\\n.callOut:after {\\n content: \\\" \\\\2665\\\";\\n -webkit-transition: color 4s ease;\\n transition: color 4s ease;\\n}\\n\\n.callOut:hover:after {\\n color: red;\\n}\\n\\n.callOut .netlifyLogo {\\n display: block;\\n margin: auto;\\n width: 32px;\\n height: 32px;\\n margin-bottom: 8px;\\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRo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gwMDQyOSA4LjExNDAyOTM5LDE2LjgzMzg2ODEgQzguMTI3NjQzNTQsMTYuODQ3MzI0NCA4LjEyNzY0MzU0LDE2Ljg3NDIzNyA4LjExNDAyOTM5LDE2Ljg4NzY5MzMgQzcuOTkxNTAyMSwxNy4wMjIyNTYzIDcuODY4OTc0ODEsMTcuMTcwMjc1NSA3Ljc4NzI4OTk1LDE3LjMzMTc1MTEgWiBNNy4zNTE1NTc4MywxOC4yNDY3NDY0IEM3LjM3ODc4NTk0LDE4LjI0Njc0NjQgNy4zOTI0LDE4LjI2MDIwMjcgNy4zOTI0LDE4LjI4NzExNTEgQzcuMzkyNCwxOC4zMDA1NzEzIDcuMzc4Nzg1OTQsMTguMzE0MDI3NSA3LjM1MTU1NzgzLDE4LjM0MDkzOTkgTDMuNjM0OTIsMTkuOTE1MzE2NSBDMy42MzQ5MiwxOS45MTUzMTY1IDMuNjIxMzA1OTQsMTkuOTE1MzE2NSAzLjYwNzY5MTg4LDE5LjkwMTg2MDMgTDAuNjI2MjEzMTg1LDE2Ljk0MTQ5NDEgQzAuNjEyNTk5MTI3LDE2LjkyODAzNzggMC41OTg5ODUwNjksMTYuOTAxMTI1NCAwLjYxMjU5OTEyNywxNi44ODc2NjkyIEMwLjYyNjIxMzE4NSwxNi44NzQyMTMgMC42Mzk4MjcyNDMsMTYuODYwNzU2OCAwLjY2NzA1NTM1OSwxNi44NjA3NTY4IEw3LjM1MTU1NzgzLDE4LjI0Njc0NjQgWiIvPjwvc3ZnPg==);\\n}\\n\\n.visuallyHidden {\\n border: 0;\\n clip: rect(0 0 0 0);\\n height: 1px;\\n margin: -1px;\\n overflow: hidden;\\n padding: 0;\\n position: absolute;\\n width: 1px;\\n #fff-space: nowrap;\\n}\\n\\n.subheader {\\n margin-top: 2em;\\n border-top: 1px solid rgb(14, 30, 37);\\n}\\n\\n.subheader h3 {\\n padding-top: 1em;\\n text-align: center;\\n }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n/* 28 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\n/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\nmodule.exports = function (useSourceMap) {\n\tvar list = [];\n\n\t// return the list of modules as css string\n\tlist.toString = function toString() {\n\t\treturn this.map(function (item) {\n\t\t\tvar content = cssWithMappingToString(item, useSourceMap);\n\t\t\tif (item[2]) {\n\t\t\t\treturn \"@media \" + item[2] + \"{\" + content + \"}\";\n\t\t\t} else {\n\t\t\t\treturn content;\n\t\t\t}\n\t\t}).join(\"\");\n\t};\n\n\t// import a list of modules into the list\n\tlist.i = function (modules, mediaQuery) {\n\t\tif (typeof modules === \"string\") modules = [[null, modules, \"\"]];\n\t\tvar alreadyImportedModules = {};\n\t\tfor (var i = 0; i < this.length; i++) {\n\t\t\tvar id = this[i][0];\n\t\t\tif (typeof id === \"number\") alreadyImportedModules[id] = true;\n\t\t}\n\t\tfor (i = 0; i < modules.length; i++) {\n\t\t\tvar item = modules[i];\n\t\t\t// skip already imported module\n\t\t\t// this implementation is not 100% perfect for weird media query combinations\n\t\t\t// when a module is imported multiple times with different media queries.\n\t\t\t// I hope this will never occur (Hey this way we have smaller bundles)\n\t\t\tif (typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\n\t\t\t\tif (mediaQuery && !item[2]) {\n\t\t\t\t\titem[2] = mediaQuery;\n\t\t\t\t} else if (mediaQuery) {\n\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\n\t\t\t\t}\n\t\t\t\tlist.push(item);\n\t\t\t}\n\t\t}\n\t};\n\treturn list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n\tvar content = item[1] || '';\n\tvar cssMapping = item[3];\n\tif (!cssMapping) {\n\t\treturn content;\n\t}\n\n\tif (useSourceMap && typeof btoa === 'function') {\n\t\tvar sourceMapping = toComment(cssMapping);\n\t\tvar sourceURLs = cssMapping.sources.map(function (source) {\n\t\t\treturn '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */';\n\t\t});\n\n\t\treturn [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n\t}\n\n\treturn [content].join('\\n');\n}\n\n// Adapted from convert-source-map (MIT)\nfunction toComment(sourceMap) {\n\t// eslint-disable-next-line no-undef\n\tvar base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n\tvar data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;\n\n\treturn '/*# ' + data + ' */';\n}\n\n/***/ })\n/******/ ]);\n\n\n// WEBPACK FOOTER //\n// netlify-identity-widget.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 9);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 775367a79ca57956829c","var VNode = function VNode() {};\n\nvar options = {};\n\nvar stack = [];\n\nvar EMPTY_CHILDREN = [];\n\nfunction h(nodeName, attributes) {\n\tvar children = EMPTY_CHILDREN,\n\t lastSimple,\n\t child,\n\t simple,\n\t i;\n\tfor (i = arguments.length; i-- > 2;) {\n\t\tstack.push(arguments[i]);\n\t}\n\tif (attributes && attributes.children != null) {\n\t\tif (!stack.length) stack.push(attributes.children);\n\t\tdelete attributes.children;\n\t}\n\twhile (stack.length) {\n\t\tif ((child = stack.pop()) && child.pop !== undefined) {\n\t\t\tfor (i = child.length; i--;) {\n\t\t\t\tstack.push(child[i]);\n\t\t\t}\n\t\t} else {\n\t\t\tif (typeof child === 'boolean') child = null;\n\n\t\t\tif (simple = typeof nodeName !== 'function') {\n\t\t\t\tif (child == null) child = '';else if (typeof child === 'number') child = String(child);else if (typeof child !== 'string') simple = false;\n\t\t\t}\n\n\t\t\tif (simple && lastSimple) {\n\t\t\t\tchildren[children.length - 1] += child;\n\t\t\t} else if (children === EMPTY_CHILDREN) {\n\t\t\t\tchildren = [child];\n\t\t\t} else {\n\t\t\t\tchildren.push(child);\n\t\t\t}\n\n\t\t\tlastSimple = simple;\n\t\t}\n\t}\n\n\tvar p = new VNode();\n\tp.nodeName = nodeName;\n\tp.children = children;\n\tp.attributes = attributes == null ? undefined : attributes;\n\tp.key = attributes == null ? undefined : attributes.key;\n\n\tif (options.vnode !== undefined) options.vnode(p);\n\n\treturn p;\n}\n\nfunction extend(obj, props) {\n for (var i in props) {\n obj[i] = props[i];\n }return obj;\n}\n\nvar defer = typeof Promise == 'function' ? Promise.resolve().then.bind(Promise.resolve()) : setTimeout;\n\nfunction cloneElement(vnode, props) {\n return h(vnode.nodeName, extend(extend({}, vnode.attributes), props), arguments.length > 2 ? [].slice.call(arguments, 2) : vnode.children);\n}\n\nvar IS_NON_DIMENSIONAL = /acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i;\n\nvar items = [];\n\nfunction enqueueRender(component) {\n\tif (!component._dirty && (component._dirty = true) && items.push(component) == 1) {\n\t\t(options.debounceRendering || defer)(rerender);\n\t}\n}\n\nfunction rerender() {\n\tvar p,\n\t list = items;\n\titems = [];\n\twhile (p = list.pop()) {\n\t\tif (p._dirty) renderComponent(p);\n\t}\n}\n\nfunction isSameNodeType(node, vnode, hydrating) {\n\tif (typeof vnode === 'string' || typeof vnode === 'number') {\n\t\treturn node.splitText !== undefined;\n\t}\n\tif (typeof vnode.nodeName === 'string') {\n\t\treturn !node._componentConstructor && isNamedNode(node, vnode.nodeName);\n\t}\n\treturn hydrating || node._componentConstructor === vnode.nodeName;\n}\n\nfunction isNamedNode(node, nodeName) {\n\treturn node.normalizedNodeName === nodeName || node.nodeName.toLowerCase() === nodeName.toLowerCase();\n}\n\nfunction getNodeProps(vnode) {\n\tvar props = extend({}, vnode.attributes);\n\tprops.children = vnode.children;\n\n\tvar defaultProps = vnode.nodeName.defaultProps;\n\tif (defaultProps !== undefined) {\n\t\tfor (var i in defaultProps) {\n\t\t\tif (props[i] === undefined) {\n\t\t\t\tprops[i] = defaultProps[i];\n\t\t\t}\n\t\t}\n\t}\n\n\treturn props;\n}\n\nfunction createNode(nodeName, isSvg) {\n\tvar node = isSvg ? document.createElementNS('http://www.w3.org/2000/svg', nodeName) : document.createElement(nodeName);\n\tnode.normalizedNodeName = nodeName;\n\treturn node;\n}\n\nfunction removeNode(node) {\n\tvar parentNode = node.parentNode;\n\tif (parentNode) parentNode.removeChild(node);\n}\n\nfunction setAccessor(node, name, old, value, isSvg) {\n\tif (name === 'className') name = 'class';\n\n\tif (name === 'key') {} else if (name === 'ref') {\n\t\tif (old) old(null);\n\t\tif (value) value(node);\n\t} else if (name === 'class' && !isSvg) {\n\t\tnode.className = value || '';\n\t} else if (name === 'style') {\n\t\tif (!value || typeof value === 'string' || typeof old === 'string') {\n\t\t\tnode.style.cssText = value || '';\n\t\t}\n\t\tif (value && typeof value === 'object') {\n\t\t\tif (typeof old !== 'string') {\n\t\t\t\tfor (var i in old) {\n\t\t\t\t\tif (!(i in value)) node.style[i] = '';\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (var i in value) {\n\t\t\t\tnode.style[i] = typeof value[i] === 'number' && IS_NON_DIMENSIONAL.test(i) === false ? value[i] + 'px' : value[i];\n\t\t\t}\n\t\t}\n\t} else if (name === 'dangerouslySetInnerHTML') {\n\t\tif (value) node.innerHTML = value.__html || '';\n\t} else if (name[0] == 'o' && name[1] == 'n') {\n\t\tvar useCapture = name !== (name = name.replace(/Capture$/, ''));\n\t\tname = name.toLowerCase().substring(2);\n\t\tif (value) {\n\t\t\tif (!old) node.addEventListener(name, eventProxy, useCapture);\n\t\t} else {\n\t\t\tnode.removeEventListener(name, eventProxy, useCapture);\n\t\t}\n\t\t(node._listeners || (node._listeners = {}))[name] = value;\n\t} else if (name !== 'list' && name !== 'type' && !isSvg && name in node) {\n\t\ttry {\n\t\t\tnode[name] = value == null ? '' : value;\n\t\t} catch (e) {}\n\t\tif ((value == null || value === false) && name != 'spellcheck') node.removeAttribute(name);\n\t} else {\n\t\tvar ns = isSvg && name !== (name = name.replace(/^xlink:?/, ''));\n\n\t\tif (value == null || value === false) {\n\t\t\tif (ns) node.removeAttributeNS('http://www.w3.org/1999/xlink', name.toLowerCase());else node.removeAttribute(name);\n\t\t} else if (typeof value !== 'function') {\n\t\t\tif (ns) node.setAttributeNS('http://www.w3.org/1999/xlink', name.toLowerCase(), value);else node.setAttribute(name, value);\n\t\t}\n\t}\n}\n\nfunction eventProxy(e) {\n\treturn this._listeners[e.type](options.event && options.event(e) || e);\n}\n\nvar mounts = [];\n\nvar diffLevel = 0;\n\nvar isSvgMode = false;\n\nvar hydrating = false;\n\nfunction flushMounts() {\n\tvar c;\n\twhile (c = mounts.pop()) {\n\t\tif (options.afterMount) options.afterMount(c);\n\t\tif (c.componentDidMount) c.componentDidMount();\n\t}\n}\n\nfunction diff(dom, vnode, context, mountAll, parent, componentRoot) {\n\tif (!diffLevel++) {\n\t\tisSvgMode = parent != null && parent.ownerSVGElement !== undefined;\n\n\t\thydrating = dom != null && !('__preactattr_' in dom);\n\t}\n\n\tvar ret = idiff(dom, vnode, context, mountAll, componentRoot);\n\n\tif (parent && ret.parentNode !== parent) parent.appendChild(ret);\n\n\tif (! --diffLevel) {\n\t\thydrating = false;\n\n\t\tif (!componentRoot) flushMounts();\n\t}\n\n\treturn ret;\n}\n\nfunction idiff(dom, vnode, context, mountAll, componentRoot) {\n\tvar out = dom,\n\t prevSvgMode = isSvgMode;\n\n\tif (vnode == null || typeof vnode === 'boolean') vnode = '';\n\n\tif (typeof vnode === 'string' || typeof vnode === 'number') {\n\t\tif (dom && dom.splitText !== undefined && dom.parentNode && (!dom._component || componentRoot)) {\n\t\t\tif (dom.nodeValue != vnode) {\n\t\t\t\tdom.nodeValue = vnode;\n\t\t\t}\n\t\t} else {\n\t\t\tout = document.createTextNode(vnode);\n\t\t\tif (dom) {\n\t\t\t\tif (dom.parentNode) dom.parentNode.replaceChild(out, dom);\n\t\t\t\trecollectNodeTree(dom, true);\n\t\t\t}\n\t\t}\n\n\t\tout['__preactattr_'] = true;\n\n\t\treturn out;\n\t}\n\n\tvar vnodeName = vnode.nodeName;\n\tif (typeof vnodeName === 'function') {\n\t\treturn buildComponentFromVNode(dom, vnode, context, mountAll);\n\t}\n\n\tisSvgMode = vnodeName === 'svg' ? true : vnodeName === 'foreignObject' ? false : isSvgMode;\n\n\tvnodeName = String(vnodeName);\n\tif (!dom || !isNamedNode(dom, vnodeName)) {\n\t\tout = createNode(vnodeName, isSvgMode);\n\n\t\tif (dom) {\n\t\t\twhile (dom.firstChild) {\n\t\t\t\tout.appendChild(dom.firstChild);\n\t\t\t}\n\t\t\tif (dom.parentNode) dom.parentNode.replaceChild(out, dom);\n\n\t\t\trecollectNodeTree(dom, true);\n\t\t}\n\t}\n\n\tvar fc = out.firstChild,\n\t props = out['__preactattr_'],\n\t vchildren = vnode.children;\n\n\tif (props == null) {\n\t\tprops = out['__preactattr_'] = {};\n\t\tfor (var a = out.attributes, i = a.length; i--;) {\n\t\t\tprops[a[i].name] = a[i].value;\n\t\t}\n\t}\n\n\tif (!hydrating && vchildren && vchildren.length === 1 && typeof vchildren[0] === 'string' && fc != null && fc.splitText !== undefined && fc.nextSibling == null) {\n\t\tif (fc.nodeValue != vchildren[0]) {\n\t\t\tfc.nodeValue = vchildren[0];\n\t\t}\n\t} else if (vchildren && vchildren.length || fc != null) {\n\t\t\tinnerDiffNode(out, vchildren, context, mountAll, hydrating || props.dangerouslySetInnerHTML != null);\n\t\t}\n\n\tdiffAttributes(out, vnode.attributes, props);\n\n\tisSvgMode = prevSvgMode;\n\n\treturn out;\n}\n\nfunction innerDiffNode(dom, vchildren, context, mountAll, isHydrating) {\n\tvar originalChildren = dom.childNodes,\n\t children = [],\n\t keyed = {},\n\t keyedLen = 0,\n\t min = 0,\n\t len = originalChildren.length,\n\t childrenLen = 0,\n\t vlen = vchildren ? vchildren.length : 0,\n\t j,\n\t c,\n\t f,\n\t vchild,\n\t child;\n\n\tif (len !== 0) {\n\t\tfor (var i = 0; i < len; i++) {\n\t\t\tvar _child = originalChildren[i],\n\t\t\t props = _child['__preactattr_'],\n\t\t\t key = vlen && props ? _child._component ? _child._component.__key : props.key : null;\n\t\t\tif (key != null) {\n\t\t\t\tkeyedLen++;\n\t\t\t\tkeyed[key] = _child;\n\t\t\t} else if (props || (_child.splitText !== undefined ? isHydrating ? _child.nodeValue.trim() : true : isHydrating)) {\n\t\t\t\tchildren[childrenLen++] = _child;\n\t\t\t}\n\t\t}\n\t}\n\n\tif (vlen !== 0) {\n\t\tfor (var i = 0; i < vlen; i++) {\n\t\t\tvchild = vchildren[i];\n\t\t\tchild = null;\n\n\t\t\tvar key = vchild.key;\n\t\t\tif (key != null) {\n\t\t\t\tif (keyedLen && keyed[key] !== undefined) {\n\t\t\t\t\tchild = keyed[key];\n\t\t\t\t\tkeyed[key] = undefined;\n\t\t\t\t\tkeyedLen--;\n\t\t\t\t}\n\t\t\t} else if (min < childrenLen) {\n\t\t\t\t\tfor (j = min; j < childrenLen; j++) {\n\t\t\t\t\t\tif (children[j] !== undefined && isSameNodeType(c = children[j], vchild, isHydrating)) {\n\t\t\t\t\t\t\tchild = c;\n\t\t\t\t\t\t\tchildren[j] = undefined;\n\t\t\t\t\t\t\tif (j === childrenLen - 1) childrenLen--;\n\t\t\t\t\t\t\tif (j === min) min++;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\tchild = idiff(child, vchild, context, mountAll);\n\n\t\t\tf = originalChildren[i];\n\t\t\tif (child && child !== dom && child !== f) {\n\t\t\t\tif (f == null) {\n\t\t\t\t\tdom.appendChild(child);\n\t\t\t\t} else if (child === f.nextSibling) {\n\t\t\t\t\tremoveNode(f);\n\t\t\t\t} else {\n\t\t\t\t\tdom.insertBefore(child, f);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tif (keyedLen) {\n\t\tfor (var i in keyed) {\n\t\t\tif (keyed[i] !== undefined) recollectNodeTree(keyed[i], false);\n\t\t}\n\t}\n\n\twhile (min <= childrenLen) {\n\t\tif ((child = children[childrenLen--]) !== undefined) recollectNodeTree(child, false);\n\t}\n}\n\nfunction recollectNodeTree(node, unmountOnly) {\n\tvar component = node._component;\n\tif (component) {\n\t\tunmountComponent(component);\n\t} else {\n\t\tif (node['__preactattr_'] != null && node['__preactattr_'].ref) node['__preactattr_'].ref(null);\n\n\t\tif (unmountOnly === false || node['__preactattr_'] == null) {\n\t\t\tremoveNode(node);\n\t\t}\n\n\t\tremoveChildren(node);\n\t}\n}\n\nfunction removeChildren(node) {\n\tnode = node.lastChild;\n\twhile (node) {\n\t\tvar next = node.previousSibling;\n\t\trecollectNodeTree(node, true);\n\t\tnode = next;\n\t}\n}\n\nfunction diffAttributes(dom, attrs, old) {\n\tvar name;\n\n\tfor (name in old) {\n\t\tif (!(attrs && attrs[name] != null) && old[name] != null) {\n\t\t\tsetAccessor(dom, name, old[name], old[name] = undefined, isSvgMode);\n\t\t}\n\t}\n\n\tfor (name in attrs) {\n\t\tif (name !== 'children' && name !== 'innerHTML' && (!(name in old) || attrs[name] !== (name === 'value' || name === 'checked' ? dom[name] : old[name]))) {\n\t\t\tsetAccessor(dom, name, old[name], old[name] = attrs[name], isSvgMode);\n\t\t}\n\t}\n}\n\nvar recyclerComponents = [];\n\nfunction createComponent(Ctor, props, context) {\n\tvar inst,\n\t i = recyclerComponents.length;\n\n\tif (Ctor.prototype && Ctor.prototype.render) {\n\t\tinst = new Ctor(props, context);\n\t\tComponent.call(inst, props, context);\n\t} else {\n\t\tinst = new Component(props, context);\n\t\tinst.constructor = Ctor;\n\t\tinst.render = doRender;\n\t}\n\n\twhile (i--) {\n\t\tif (recyclerComponents[i].constructor === Ctor) {\n\t\t\tinst.nextBase = recyclerComponents[i].nextBase;\n\t\t\trecyclerComponents.splice(i, 1);\n\t\t\treturn inst;\n\t\t}\n\t}\n\n\treturn inst;\n}\n\nfunction doRender(props, state, context) {\n\treturn this.constructor(props, context);\n}\n\nfunction setComponentProps(component, props, renderMode, context, mountAll) {\n\tif (component._disable) return;\n\tcomponent._disable = true;\n\n\tcomponent.__ref = props.ref;\n\tcomponent.__key = props.key;\n\tdelete props.ref;\n\tdelete props.key;\n\n\tif (typeof component.constructor.getDerivedStateFromProps === 'undefined') {\n\t\tif (!component.base || mountAll) {\n\t\t\tif (component.componentWillMount) component.componentWillMount();\n\t\t} else if (component.componentWillReceiveProps) {\n\t\t\tcomponent.componentWillReceiveProps(props, context);\n\t\t}\n\t}\n\n\tif (context && context !== component.context) {\n\t\tif (!component.prevContext) component.prevContext = component.context;\n\t\tcomponent.context = context;\n\t}\n\n\tif (!component.prevProps) component.prevProps = component.props;\n\tcomponent.props = props;\n\n\tcomponent._disable = false;\n\n\tif (renderMode !== 0) {\n\t\tif (renderMode === 1 || options.syncComponentUpdates !== false || !component.base) {\n\t\t\trenderComponent(component, 1, mountAll);\n\t\t} else {\n\t\t\tenqueueRender(component);\n\t\t}\n\t}\n\n\tif (component.__ref) component.__ref(component);\n}\n\nfunction renderComponent(component, renderMode, mountAll, isChild) {\n\tif (component._disable) return;\n\n\tvar props = component.props,\n\t state = component.state,\n\t context = component.context,\n\t previousProps = component.prevProps || props,\n\t previousState = component.prevState || state,\n\t previousContext = component.prevContext || context,\n\t isUpdate = component.base,\n\t nextBase = component.nextBase,\n\t initialBase = isUpdate || nextBase,\n\t initialChildComponent = component._component,\n\t skip = false,\n\t snapshot = previousContext,\n\t rendered,\n\t inst,\n\t cbase;\n\n\tif (component.constructor.getDerivedStateFromProps) {\n\t\tstate = extend(extend({}, state), component.constructor.getDerivedStateFromProps(props, state));\n\t\tcomponent.state = state;\n\t}\n\n\tif (isUpdate) {\n\t\tcomponent.props = previousProps;\n\t\tcomponent.state = previousState;\n\t\tcomponent.context = previousContext;\n\t\tif (renderMode !== 2 && component.shouldComponentUpdate && component.shouldComponentUpdate(props, state, context) === false) {\n\t\t\tskip = true;\n\t\t} else if (component.componentWillUpdate) {\n\t\t\tcomponent.componentWillUpdate(props, state, context);\n\t\t}\n\t\tcomponent.props = props;\n\t\tcomponent.state = state;\n\t\tcomponent.context = context;\n\t}\n\n\tcomponent.prevProps = component.prevState = component.prevContext = component.nextBase = null;\n\tcomponent._dirty = false;\n\n\tif (!skip) {\n\t\trendered = component.render(props, state, context);\n\n\t\tif (component.getChildContext) {\n\t\t\tcontext = extend(extend({}, context), component.getChildContext());\n\t\t}\n\n\t\tif (isUpdate && component.getSnapshotBeforeUpdate) {\n\t\t\tsnapshot = component.getSnapshotBeforeUpdate(previousProps, previousState);\n\t\t}\n\n\t\tvar childComponent = rendered && rendered.nodeName,\n\t\t toUnmount,\n\t\t base;\n\n\t\tif (typeof childComponent === 'function') {\n\n\t\t\tvar childProps = getNodeProps(rendered);\n\t\t\tinst = initialChildComponent;\n\n\t\t\tif (inst && inst.constructor === childComponent && childProps.key == inst.__key) {\n\t\t\t\tsetComponentProps(inst, childProps, 1, context, false);\n\t\t\t} else {\n\t\t\t\ttoUnmount = inst;\n\n\t\t\t\tcomponent._component = inst = createComponent(childComponent, childProps, context);\n\t\t\t\tinst.nextBase = inst.nextBase || nextBase;\n\t\t\t\tinst._parentComponent = component;\n\t\t\t\tsetComponentProps(inst, childProps, 0, context, false);\n\t\t\t\trenderComponent(inst, 1, mountAll, true);\n\t\t\t}\n\n\t\t\tbase = inst.base;\n\t\t} else {\n\t\t\tcbase = initialBase;\n\n\t\t\ttoUnmount = initialChildComponent;\n\t\t\tif (toUnmount) {\n\t\t\t\tcbase = component._component = null;\n\t\t\t}\n\n\t\t\tif (initialBase || renderMode === 1) {\n\t\t\t\tif (cbase) cbase._component = null;\n\t\t\t\tbase = diff(cbase, rendered, context, mountAll || !isUpdate, initialBase && initialBase.parentNode, true);\n\t\t\t}\n\t\t}\n\n\t\tif (initialBase && base !== initialBase && inst !== initialChildComponent) {\n\t\t\tvar baseParent = initialBase.parentNode;\n\t\t\tif (baseParent && base !== baseParent) {\n\t\t\t\tbaseParent.replaceChild(base, initialBase);\n\n\t\t\t\tif (!toUnmount) {\n\t\t\t\t\tinitialBase._component = null;\n\t\t\t\t\trecollectNodeTree(initialBase, false);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (toUnmount) {\n\t\t\tunmountComponent(toUnmount);\n\t\t}\n\n\t\tcomponent.base = base;\n\t\tif (base && !isChild) {\n\t\t\tvar componentRef = component,\n\t\t\t t = component;\n\t\t\twhile (t = t._parentComponent) {\n\t\t\t\t(componentRef = t).base = base;\n\t\t\t}\n\t\t\tbase._component = componentRef;\n\t\t\tbase._componentConstructor = componentRef.constructor;\n\t\t}\n\t}\n\n\tif (!isUpdate || mountAll) {\n\t\tmounts.unshift(component);\n\t} else if (!skip) {\n\n\t\tif (component.componentDidUpdate) {\n\t\t\tcomponent.componentDidUpdate(previousProps, previousState, snapshot);\n\t\t}\n\t\tif (options.afterUpdate) options.afterUpdate(component);\n\t}\n\n\twhile (component._renderCallbacks.length) {\n\t\tcomponent._renderCallbacks.pop().call(component);\n\t}if (!diffLevel && !isChild) flushMounts();\n}\n\nfunction buildComponentFromVNode(dom, vnode, context, mountAll) {\n\tvar c = dom && dom._component,\n\t originalComponent = c,\n\t oldDom = dom,\n\t isDirectOwner = c && dom._componentConstructor === vnode.nodeName,\n\t isOwner = isDirectOwner,\n\t props = getNodeProps(vnode);\n\twhile (c && !isOwner && (c = c._parentComponent)) {\n\t\tisOwner = c.constructor === vnode.nodeName;\n\t}\n\n\tif (c && isOwner && (!mountAll || c._component)) {\n\t\tsetComponentProps(c, props, 3, context, mountAll);\n\t\tdom = c.base;\n\t} else {\n\t\tif (originalComponent && !isDirectOwner) {\n\t\t\tunmountComponent(originalComponent);\n\t\t\tdom = oldDom = null;\n\t\t}\n\n\t\tc = createComponent(vnode.nodeName, props, context);\n\t\tif (dom && !c.nextBase) {\n\t\t\tc.nextBase = dom;\n\n\t\t\toldDom = null;\n\t\t}\n\t\tsetComponentProps(c, props, 1, context, mountAll);\n\t\tdom = c.base;\n\n\t\tif (oldDom && dom !== oldDom) {\n\t\t\toldDom._component = null;\n\t\t\trecollectNodeTree(oldDom, false);\n\t\t}\n\t}\n\n\treturn dom;\n}\n\nfunction unmountComponent(component) {\n\tif (options.beforeUnmount) options.beforeUnmount(component);\n\n\tvar base = component.base;\n\n\tcomponent._disable = true;\n\n\tif (component.componentWillUnmount) component.componentWillUnmount();\n\n\tcomponent.base = null;\n\n\tvar inner = component._component;\n\tif (inner) {\n\t\tunmountComponent(inner);\n\t} else if (base) {\n\t\tif (base['__preactattr_'] && base['__preactattr_'].ref) base['__preactattr_'].ref(null);\n\n\t\tcomponent.nextBase = base;\n\n\t\tremoveNode(base);\n\t\trecyclerComponents.push(component);\n\n\t\tremoveChildren(base);\n\t}\n\n\tif (component.__ref) component.__ref(null);\n}\n\nfunction Component(props, context) {\n\tthis._dirty = true;\n\n\tthis.context = context;\n\n\tthis.props = props;\n\n\tthis.state = this.state || {};\n\n\tthis._renderCallbacks = [];\n}\n\nextend(Component.prototype, {\n\tsetState: function setState(state, callback) {\n\t\tif (!this.prevState) this.prevState = this.state;\n\t\tthis.state = extend(extend({}, this.state), typeof state === 'function' ? state(this.state, this.props) : state);\n\t\tif (callback) this._renderCallbacks.push(callback);\n\t\tenqueueRender(this);\n\t},\n\tforceUpdate: function forceUpdate(callback) {\n\t\tif (callback) this._renderCallbacks.push(callback);\n\t\trenderComponent(this, 2);\n\t},\n\trender: function render() {}\n});\n\nfunction render(vnode, parent, merge) {\n return diff(merge, vnode, {}, false, parent, false);\n}\n\nvar preact = {\n\th: h,\n\tcreateElement: h,\n\tcloneElement: cloneElement,\n\tComponent: Component,\n\trender: render,\n\trerender: rerender,\n\toptions: options\n};\n\nexport default preact;\nexport { h, h as createElement, cloneElement, Component, render, rerender, options };\n//# sourceMappingURL=preact.mjs.map\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ../node_modules/preact/dist/preact.mjs\n// module id = 0\n// module chunks = 0","/** MobX - (c) Michel Weststrate 2015, 2016 - MIT Licensed */\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n\r\nfunction __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\n\n/**\n * Anything that can be used to _store_ state is an Atom in mobx. Atoms have two important jobs\n *\n * 1) detect when they are being _used_ and report this (using reportObserved). This allows mobx to make the connection between running functions and the data they used\n * 2) they should notify mobx whenever they have _changed_. This way mobx can re-run any functions (derivations) that are using this atom.\n */\nvar BaseAtom = /** @class */ (function () {\n /**\n * Create a new atom. For debugging purposes it is recommended to give it a name.\n * The onBecomeObserved and onBecomeUnobserved callbacks can be used for resource management.\n */\n function BaseAtom(name) {\n if (name === void 0) { name = \"Atom@\" + getNextId(); }\n this.name = name;\n this.isPendingUnobservation = true; // for effective unobserving. BaseAtom has true, for extra optimization, so its onBecomeUnobserved never gets called, because it's not needed\n this.observers = [];\n this.observersIndexes = {};\n this.diffValue = 0;\n this.lastAccessedBy = 0;\n this.lowestObserverState = IDerivationState.NOT_TRACKING;\n }\n BaseAtom.prototype.onBecomeUnobserved = function () {\n // noop\n };\n /**\n * Invoke this method to notify mobx that your atom has been used somehow.\n */\n BaseAtom.prototype.reportObserved = function () {\n reportObserved(this);\n };\n /**\n * Invoke this method _after_ this method has changed to signal mobx that all its observers should invalidate.\n */\n BaseAtom.prototype.reportChanged = function () {\n startBatch();\n propagateChanged(this);\n endBatch();\n };\n BaseAtom.prototype.toString = function () {\n return this.name;\n };\n return BaseAtom;\n}());\nvar Atom = /** @class */ (function (_super) {\n __extends(Atom, _super);\n /**\n * Create a new atom. For debugging purposes it is recommended to give it a name.\n * The onBecomeObserved and onBecomeUnobserved callbacks can be used for resource management.\n */\n function Atom(name, onBecomeObservedHandler, onBecomeUnobservedHandler) {\n if (name === void 0) { name = \"Atom@\" + getNextId(); }\n if (onBecomeObservedHandler === void 0) { onBecomeObservedHandler = noop; }\n if (onBecomeUnobservedHandler === void 0) { onBecomeUnobservedHandler = noop; }\n var _this = _super.call(this, name) || this;\n _this.name = name;\n _this.onBecomeObservedHandler = onBecomeObservedHandler;\n _this.onBecomeUnobservedHandler = onBecomeUnobservedHandler;\n _this.isPendingUnobservation = false; // for effective unobserving.\n _this.isBeingTracked = false;\n return _this;\n }\n Atom.prototype.reportObserved = function () {\n startBatch();\n _super.prototype.reportObserved.call(this);\n if (!this.isBeingTracked) {\n this.isBeingTracked = true;\n this.onBecomeObservedHandler();\n }\n endBatch();\n return !!globalState.trackingDerivation;\n // return doesn't really give useful info, because it can be as well calling computed which calls atom (no reactions)\n // also it could not trigger when calculating reaction dependent on Atom because Atom's value was cached by computed called by given reaction.\n };\n Atom.prototype.onBecomeUnobserved = function () {\n this.isBeingTracked = false;\n this.onBecomeUnobservedHandler();\n };\n return Atom;\n}(BaseAtom));\nvar isAtom = createInstanceofPredicate(\"Atom\", BaseAtom);\n\nfunction hasInterceptors(interceptable) {\n return interceptable.interceptors && interceptable.interceptors.length > 0;\n}\nfunction registerInterceptor(interceptable, handler) {\n var interceptors = interceptable.interceptors || (interceptable.interceptors = []);\n interceptors.push(handler);\n return once(function () {\n var idx = interceptors.indexOf(handler);\n if (idx !== -1)\n interceptors.splice(idx, 1);\n });\n}\nfunction interceptChange(interceptable, change) {\n var prevU = untrackedStart();\n try {\n var interceptors = interceptable.interceptors;\n if (interceptors)\n for (var i = 0, l = interceptors.length; i < l; i++) {\n change = interceptors[i](change);\n invariant(!change || change.type, \"Intercept handlers should return nothing or a change object\");\n if (!change)\n break;\n }\n return change;\n }\n finally {\n untrackedEnd(prevU);\n }\n}\n\nfunction hasListeners(listenable) {\n return listenable.changeListeners && listenable.changeListeners.length > 0;\n}\nfunction registerListener(listenable, handler) {\n var listeners = listenable.changeListeners || (listenable.changeListeners = []);\n listeners.push(handler);\n return once(function () {\n var idx = listeners.indexOf(handler);\n if (idx !== -1)\n listeners.splice(idx, 1);\n });\n}\nfunction notifyListeners(listenable, change) {\n var prevU = untrackedStart();\n var listeners = listenable.changeListeners;\n if (!listeners)\n return;\n listeners = listeners.slice();\n for (var i = 0, l = listeners.length; i < l; i++) {\n listeners[i](change);\n }\n untrackedEnd(prevU);\n}\n\nfunction isSpyEnabled() {\n return !!globalState.spyListeners.length;\n}\nfunction spyReport(event) {\n if (!globalState.spyListeners.length)\n return;\n var listeners = globalState.spyListeners;\n for (var i = 0, l = listeners.length; i < l; i++)\n listeners[i](event);\n}\nfunction spyReportStart(event) {\n var change = objectAssign({}, event, { spyReportStart: true });\n spyReport(change);\n}\nvar END_EVENT = { spyReportEnd: true };\nfunction spyReportEnd(change) {\n if (change)\n spyReport(objectAssign({}, change, END_EVENT));\n else\n spyReport(END_EVENT);\n}\nfunction spy(listener) {\n globalState.spyListeners.push(listener);\n return once(function () {\n var idx = globalState.spyListeners.indexOf(listener);\n if (idx !== -1)\n globalState.spyListeners.splice(idx, 1);\n });\n}\n\nfunction iteratorSymbol() {\n return (typeof Symbol === \"function\" && Symbol.iterator) || \"@@iterator\";\n}\nvar IS_ITERATING_MARKER = \"__$$iterating\";\nfunction arrayAsIterator(array) {\n // returning an array for entries(), values() etc for maps was a mis-interpretation of the specs..,\n // yet it is quite convenient to be able to use the response both as array directly and as iterator\n // it is suboptimal, but alas...\n invariant(array[IS_ITERATING_MARKER] !== true, \"Illegal state: cannot recycle array as iterator\");\n addHiddenFinalProp(array, IS_ITERATING_MARKER, true);\n var idx = -1;\n addHiddenFinalProp(array, \"next\", function next() {\n idx++;\n return {\n done: idx >= this.length,\n value: idx < this.length ? this[idx] : undefined\n };\n });\n return array;\n}\nfunction declareIterator(prototType, iteratorFactory) {\n addHiddenFinalProp(prototType, iteratorSymbol(), iteratorFactory);\n}\n\nvar MAX_SPLICE_SIZE = 10000; // See e.g. https://github.com/mobxjs/mobx/issues/859\n// Detects bug in safari 9.1.1 (or iOS 9 safari mobile). See #364\nvar safariPrototypeSetterInheritanceBug = (function () {\n var v = false;\n var p = {};\n Object.defineProperty(p, \"0\", {\n set: function () {\n v = true;\n }\n });\n Object.create(p)[\"0\"] = 1;\n return v === false;\n})();\n/**\n * This array buffer contains two lists of properties, so that all arrays\n * can recycle their property definitions, which significantly improves performance of creating\n * properties on the fly.\n */\nvar OBSERVABLE_ARRAY_BUFFER_SIZE = 0;\n// Typescript workaround to make sure ObservableArray extends Array\nvar StubArray = /** @class */ (function () {\n function StubArray() {\n }\n return StubArray;\n}());\nfunction inherit(ctor, proto) {\n if (typeof Object[\"setPrototypeOf\"] !== \"undefined\") {\n Object[\"setPrototypeOf\"](ctor.prototype, proto);\n }\n else if (typeof ctor.prototype.__proto__ !== \"undefined\") {\n ctor.prototype.__proto__ = proto;\n }\n else {\n ctor[\"prototype\"] = proto;\n }\n}\ninherit(StubArray, Array.prototype);\n// Weex freeze Array.prototype\n// Make them writeable and configurable in prototype chain\n// https://github.com/alibaba/weex/pull/1529\nif (Object.isFrozen(Array)) {\n \n [\n \"constructor\",\n \"push\",\n \"shift\",\n \"concat\",\n \"pop\",\n \"unshift\",\n \"replace\",\n \"find\",\n \"findIndex\",\n \"splice\",\n \"reverse\",\n \"sort\"\n ].forEach(function (key) {\n Object.defineProperty(StubArray.prototype, key, {\n configurable: true,\n writable: true,\n value: Array.prototype[key]\n });\n });\n}\nvar ObservableArrayAdministration = /** @class */ (function () {\n function ObservableArrayAdministration(name, enhancer, array, owned) {\n this.array = array;\n this.owned = owned;\n this.values = [];\n this.lastKnownLength = 0;\n this.interceptors = null;\n this.changeListeners = null;\n this.atom = new BaseAtom(name || \"ObservableArray@\" + getNextId());\n this.enhancer = function (newV, oldV) { return enhancer(newV, oldV, name + \"[..]\"); };\n }\n ObservableArrayAdministration.prototype.dehanceValue = function (value) {\n if (this.dehancer !== undefined)\n return this.dehancer(value);\n return value;\n };\n ObservableArrayAdministration.prototype.dehanceValues = function (values) {\n if (this.dehancer !== undefined)\n return values.map(this.dehancer);\n return values;\n };\n ObservableArrayAdministration.prototype.intercept = function (handler) {\n return registerInterceptor(this, handler);\n };\n ObservableArrayAdministration.prototype.observe = function (listener, fireImmediately) {\n if (fireImmediately === void 0) { fireImmediately = false; }\n if (fireImmediately) {\n listener({\n object: this.array,\n type: \"splice\",\n index: 0,\n added: this.values.slice(),\n addedCount: this.values.length,\n removed: [],\n removedCount: 0\n });\n }\n return registerListener(this, listener);\n };\n ObservableArrayAdministration.prototype.getArrayLength = function () {\n this.atom.reportObserved();\n return this.values.length;\n };\n ObservableArrayAdministration.prototype.setArrayLength = function (newLength) {\n if (typeof newLength !== \"number\" || newLength < 0)\n throw new Error(\"[mobx.array] Out of range: \" + newLength);\n var currentLength = this.values.length;\n if (newLength === currentLength)\n return;\n else if (newLength > currentLength) {\n var newItems = new Array(newLength - currentLength);\n for (var i = 0; i < newLength - currentLength; i++)\n newItems[i] = undefined; // No Array.fill everywhere...\n this.spliceWithArray(currentLength, 0, newItems);\n }\n else\n this.spliceWithArray(newLength, currentLength - newLength);\n };\n // adds / removes the necessary numeric properties to this object\n ObservableArrayAdministration.prototype.updateArrayLength = function (oldLength, delta) {\n if (oldLength !== this.lastKnownLength)\n throw new Error(\"[mobx] Modification exception: the internal structure of an observable array was changed. Did you use peek() to change it?\");\n this.lastKnownLength += delta;\n if (delta > 0 && oldLength + delta + 1 > OBSERVABLE_ARRAY_BUFFER_SIZE)\n reserveArrayBuffer(oldLength + delta + 1);\n };\n ObservableArrayAdministration.prototype.spliceWithArray = function (index, deleteCount, newItems) {\n var _this = this;\n checkIfStateModificationsAreAllowed(this.atom);\n var length = this.values.length;\n if (index === undefined)\n index = 0;\n else if (index > length)\n index = length;\n else if (index < 0)\n index = Math.max(0, length + index);\n if (arguments.length === 1)\n deleteCount = length - index;\n else if (deleteCount === undefined || deleteCount === null)\n deleteCount = 0;\n else\n deleteCount = Math.max(0, Math.min(deleteCount, length - index));\n if (newItems === undefined)\n newItems = [];\n if (hasInterceptors(this)) {\n var change = interceptChange(this, {\n object: this.array,\n type: \"splice\",\n index: index,\n removedCount: deleteCount,\n added: newItems\n });\n if (!change)\n return EMPTY_ARRAY;\n deleteCount = change.removedCount;\n newItems = change.added;\n }\n newItems = newItems.map(function (v) { return _this.enhancer(v, undefined); });\n var lengthDelta = newItems.length - deleteCount;\n this.updateArrayLength(length, lengthDelta); // create or remove new entries\n var res = this.spliceItemsIntoValues(index, deleteCount, newItems);\n if (deleteCount !== 0 || newItems.length !== 0)\n this.notifyArraySplice(index, newItems, res);\n return this.dehanceValues(res);\n };\n ObservableArrayAdministration.prototype.spliceItemsIntoValues = function (index, deleteCount, newItems) {\n if (newItems.length < MAX_SPLICE_SIZE) {\n return (_a = this.values).splice.apply(_a, [index, deleteCount].concat(newItems));\n }\n else {\n var res = this.values.slice(index, index + deleteCount);\n this.values = this.values\n .slice(0, index)\n .concat(newItems, this.values.slice(index + deleteCount));\n return res;\n }\n var _a;\n };\n ObservableArrayAdministration.prototype.notifyArrayChildUpdate = function (index, newValue, oldValue) {\n var notifySpy = !this.owned && isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy\n ? {\n object: this.array,\n type: \"update\",\n index: index,\n newValue: newValue,\n oldValue: oldValue\n }\n : null;\n if (notifySpy)\n spyReportStart(change);\n this.atom.reportChanged();\n if (notify)\n notifyListeners(this, change);\n if (notifySpy)\n spyReportEnd();\n };\n ObservableArrayAdministration.prototype.notifyArraySplice = function (index, added, removed) {\n var notifySpy = !this.owned && isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy\n ? {\n object: this.array,\n type: \"splice\",\n index: index,\n removed: removed,\n added: added,\n removedCount: removed.length,\n addedCount: added.length\n }\n : null;\n if (notifySpy)\n spyReportStart(change);\n this.atom.reportChanged();\n // conform: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/observe\n if (notify)\n notifyListeners(this, change);\n if (notifySpy)\n spyReportEnd();\n };\n return ObservableArrayAdministration;\n}());\nvar ObservableArray = /** @class */ (function (_super) {\n __extends(ObservableArray, _super);\n function ObservableArray(initialValues, enhancer, name, owned) {\n if (name === void 0) { name = \"ObservableArray@\" + getNextId(); }\n if (owned === void 0) { owned = false; }\n var _this = _super.call(this) || this;\n var adm = new ObservableArrayAdministration(name, enhancer, _this, owned);\n addHiddenFinalProp(_this, \"$mobx\", adm);\n if (initialValues && initialValues.length) {\n _this.spliceWithArray(0, 0, initialValues);\n }\n if (safariPrototypeSetterInheritanceBug) {\n // Seems that Safari won't use numeric prototype setter untill any * numeric property is\n // defined on the instance. After that it works fine, even if this property is deleted.\n Object.defineProperty(adm.array, \"0\", ENTRY_0);\n }\n return _this;\n }\n ObservableArray.prototype.intercept = function (handler) {\n return this.$mobx.intercept(handler);\n };\n ObservableArray.prototype.observe = function (listener, fireImmediately) {\n if (fireImmediately === void 0) { fireImmediately = false; }\n return this.$mobx.observe(listener, fireImmediately);\n };\n ObservableArray.prototype.clear = function () {\n return this.splice(0);\n };\n ObservableArray.prototype.concat = function () {\n var arrays = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n arrays[_i] = arguments[_i];\n }\n this.$mobx.atom.reportObserved();\n return Array.prototype.concat.apply(this.peek(), arrays.map(function (a) { return (isObservableArray(a) ? a.peek() : a); }));\n };\n ObservableArray.prototype.replace = function (newItems) {\n return this.$mobx.spliceWithArray(0, this.$mobx.values.length, newItems);\n };\n /**\n * Converts this array back to a (shallow) javascript structure.\n * For a deep clone use mobx.toJS\n */\n ObservableArray.prototype.toJS = function () {\n return this.slice();\n };\n ObservableArray.prototype.toJSON = function () {\n // Used by JSON.stringify\n return this.toJS();\n };\n ObservableArray.prototype.peek = function () {\n this.$mobx.atom.reportObserved();\n return this.$mobx.dehanceValues(this.$mobx.values);\n };\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n ObservableArray.prototype.find = function (predicate, thisArg, fromIndex) {\n if (fromIndex === void 0) { fromIndex = 0; }\n var idx = this.findIndex.apply(this, arguments);\n return idx === -1 ? undefined : this.get(idx);\n };\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex\n ObservableArray.prototype.findIndex = function (predicate, thisArg, fromIndex) {\n if (fromIndex === void 0) { fromIndex = 0; }\n var items = this.peek(), l = items.length;\n for (var i = fromIndex; i < l; i++)\n if (predicate.call(thisArg, items[i], i, this))\n return i;\n return -1;\n };\n /*\n * functions that do alter the internal structure of the array, (based on lib.es6.d.ts)\n * since these functions alter the inner structure of the array, the have side effects.\n * Because the have side effects, they should not be used in computed function,\n * and for that reason the do not call dependencyState.notifyObserved\n */\n ObservableArray.prototype.splice = function (index, deleteCount) {\n var newItems = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n newItems[_i - 2] = arguments[_i];\n }\n switch (arguments.length) {\n case 0:\n return [];\n case 1:\n return this.$mobx.spliceWithArray(index);\n case 2:\n return this.$mobx.spliceWithArray(index, deleteCount);\n }\n return this.$mobx.spliceWithArray(index, deleteCount, newItems);\n };\n ObservableArray.prototype.spliceWithArray = function (index, deleteCount, newItems) {\n return this.$mobx.spliceWithArray(index, deleteCount, newItems);\n };\n ObservableArray.prototype.push = function () {\n var items = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n items[_i] = arguments[_i];\n }\n var adm = this.$mobx;\n adm.spliceWithArray(adm.values.length, 0, items);\n return adm.values.length;\n };\n ObservableArray.prototype.pop = function () {\n return this.splice(Math.max(this.$mobx.values.length - 1, 0), 1)[0];\n };\n ObservableArray.prototype.shift = function () {\n return this.splice(0, 1)[0];\n };\n ObservableArray.prototype.unshift = function () {\n var items = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n items[_i] = arguments[_i];\n }\n var adm = this.$mobx;\n adm.spliceWithArray(0, 0, items);\n return adm.values.length;\n };\n ObservableArray.prototype.reverse = function () {\n // reverse by default mutates in place before returning the result\n // which makes it both a 'derivation' and a 'mutation'.\n // so we deviate from the default and just make it an dervitation\n var clone = this.slice();\n return clone.reverse.apply(clone, arguments);\n };\n ObservableArray.prototype.sort = function (compareFn) {\n // sort by default mutates in place before returning the result\n // which goes against all good practices. Let's not change the array in place!\n var clone = this.slice();\n return clone.sort.apply(clone, arguments);\n };\n ObservableArray.prototype.remove = function (value) {\n var idx = this.$mobx.dehanceValues(this.$mobx.values).indexOf(value);\n if (idx > -1) {\n this.splice(idx, 1);\n return true;\n }\n return false;\n };\n ObservableArray.prototype.move = function (fromIndex, toIndex) {\n function checkIndex(index) {\n if (index < 0) {\n throw new Error(\"[mobx.array] Index out of bounds: \" + index + \" is negative\");\n }\n var length = this.$mobx.values.length;\n if (index >= length) {\n throw new Error(\"[mobx.array] Index out of bounds: \" + index + \" is not smaller than \" + length);\n }\n }\n checkIndex.call(this, fromIndex);\n checkIndex.call(this, toIndex);\n if (fromIndex === toIndex) {\n return;\n }\n var oldItems = this.$mobx.values;\n var newItems;\n if (fromIndex < toIndex) {\n newItems = oldItems.slice(0, fromIndex).concat(oldItems.slice(fromIndex + 1, toIndex + 1), [\n oldItems[fromIndex]\n ], oldItems.slice(toIndex + 1));\n }\n else {\n // toIndex < fromIndex\n newItems = oldItems.slice(0, toIndex).concat([\n oldItems[fromIndex]\n ], oldItems.slice(toIndex, fromIndex), oldItems.slice(fromIndex + 1));\n }\n this.replace(newItems);\n };\n // See #734, in case property accessors are unreliable...\n ObservableArray.prototype.get = function (index) {\n var impl = this.$mobx;\n if (impl) {\n if (index < impl.values.length) {\n impl.atom.reportObserved();\n return impl.dehanceValue(impl.values[index]);\n }\n console.warn(\"[mobx.array] Attempt to read an array index (\" + index + \") that is out of bounds (\" + impl\n .values\n .length + \"). Please check length first. Out of bound indices will not be tracked by MobX\");\n }\n return undefined;\n };\n // See #734, in case property accessors are unreliable...\n ObservableArray.prototype.set = function (index, newValue) {\n var adm = this.$mobx;\n var values = adm.values;\n if (index < values.length) {\n // update at index in range\n checkIfStateModificationsAreAllowed(adm.atom);\n var oldValue = values[index];\n if (hasInterceptors(adm)) {\n var change = interceptChange(adm, {\n type: \"update\",\n object: this,\n index: index,\n newValue: newValue\n });\n if (!change)\n return;\n newValue = change.newValue;\n }\n newValue = adm.enhancer(newValue, oldValue);\n var changed = newValue !== oldValue;\n if (changed) {\n values[index] = newValue;\n adm.notifyArrayChildUpdate(index, newValue, oldValue);\n }\n }\n else if (index === values.length) {\n // add a new item\n adm.spliceWithArray(index, 0, [newValue]);\n }\n else {\n // out of bounds\n throw new Error(\"[mobx.array] Index out of bounds, \" + index + \" is larger than \" + values.length);\n }\n };\n return ObservableArray;\n}(StubArray));\ndeclareIterator(ObservableArray.prototype, function () {\n return arrayAsIterator(this.slice());\n});\nObject.defineProperty(ObservableArray.prototype, \"length\", {\n enumerable: false,\n configurable: true,\n get: function () {\n return this.$mobx.getArrayLength();\n },\n set: function (newLength) {\n this.$mobx.setArrayLength(newLength);\n }\n});\n[\n \"every\",\n \"filter\",\n \"forEach\",\n \"indexOf\",\n \"join\",\n \"lastIndexOf\",\n \"map\",\n \"reduce\",\n \"reduceRight\",\n \"slice\",\n \"some\",\n \"toString\",\n \"toLocaleString\"\n].forEach(function (funcName) {\n var baseFunc = Array.prototype[funcName];\n invariant(typeof baseFunc === \"function\", \"Base function not defined on Array prototype: '\" + funcName + \"'\");\n addHiddenProp(ObservableArray.prototype, funcName, function () {\n return baseFunc.apply(this.peek(), arguments);\n });\n});\n/**\n * We don't want those to show up in `for (const key in ar)` ...\n */\nmakeNonEnumerable(ObservableArray.prototype, [\n \"constructor\",\n \"intercept\",\n \"observe\",\n \"clear\",\n \"concat\",\n \"get\",\n \"replace\",\n \"toJS\",\n \"toJSON\",\n \"peek\",\n \"find\",\n \"findIndex\",\n \"splice\",\n \"spliceWithArray\",\n \"push\",\n \"pop\",\n \"set\",\n \"shift\",\n \"unshift\",\n \"reverse\",\n \"sort\",\n \"remove\",\n \"move\",\n \"toString\",\n \"toLocaleString\"\n]);\n// See #364\nvar ENTRY_0 = createArrayEntryDescriptor(0);\nfunction createArrayEntryDescriptor(index) {\n return {\n enumerable: false,\n configurable: false,\n get: function () {\n // TODO: Check `this`?, see #752?\n return this.get(index);\n },\n set: function (value) {\n this.set(index, value);\n }\n };\n}\nfunction createArrayBufferItem(index) {\n Object.defineProperty(ObservableArray.prototype, \"\" + index, createArrayEntryDescriptor(index));\n}\nfunction reserveArrayBuffer(max) {\n for (var index = OBSERVABLE_ARRAY_BUFFER_SIZE; index < max; index++)\n createArrayBufferItem(index);\n OBSERVABLE_ARRAY_BUFFER_SIZE = max;\n}\nreserveArrayBuffer(1000);\nvar isObservableArrayAdministration = createInstanceofPredicate(\"ObservableArrayAdministration\", ObservableArrayAdministration);\nfunction isObservableArray(thing) {\n return isObject(thing) && isObservableArrayAdministration(thing.$mobx);\n}\n\nvar UNCHANGED = {};\nvar ObservableValue = /** @class */ (function (_super) {\n __extends(ObservableValue, _super);\n function ObservableValue(value, enhancer, name, notifySpy) {\n if (name === void 0) { name = \"ObservableValue@\" + getNextId(); }\n if (notifySpy === void 0) { notifySpy = true; }\n var _this = _super.call(this, name) || this;\n _this.enhancer = enhancer;\n _this.hasUnreportedChange = false;\n _this.dehancer = undefined;\n _this.value = enhancer(value, undefined, name);\n if (notifySpy && isSpyEnabled()) {\n // only notify spy if this is a stand-alone observable\n spyReport({ type: \"create\", object: _this, newValue: _this.value });\n }\n return _this;\n }\n ObservableValue.prototype.dehanceValue = function (value) {\n if (this.dehancer !== undefined)\n return this.dehancer(value);\n return value;\n };\n ObservableValue.prototype.set = function (newValue) {\n var oldValue = this.value;\n newValue = this.prepareNewValue(newValue);\n if (newValue !== UNCHANGED) {\n var notifySpy = isSpyEnabled();\n if (notifySpy) {\n spyReportStart({\n type: \"update\",\n object: this,\n newValue: newValue,\n oldValue: oldValue\n });\n }\n this.setNewValue(newValue);\n if (notifySpy)\n spyReportEnd();\n }\n };\n ObservableValue.prototype.prepareNewValue = function (newValue) {\n checkIfStateModificationsAreAllowed(this);\n if (hasInterceptors(this)) {\n var change = interceptChange(this, {\n object: this,\n type: \"update\",\n newValue: newValue\n });\n if (!change)\n return UNCHANGED;\n newValue = change.newValue;\n }\n // apply modifier\n newValue = this.enhancer(newValue, this.value, this.name);\n return this.value !== newValue ? newValue : UNCHANGED;\n };\n ObservableValue.prototype.setNewValue = function (newValue) {\n var oldValue = this.value;\n this.value = newValue;\n this.reportChanged();\n if (hasListeners(this)) {\n notifyListeners(this, {\n type: \"update\",\n object: this,\n newValue: newValue,\n oldValue: oldValue\n });\n }\n };\n ObservableValue.prototype.get = function () {\n this.reportObserved();\n return this.dehanceValue(this.value);\n };\n ObservableValue.prototype.intercept = function (handler) {\n return registerInterceptor(this, handler);\n };\n ObservableValue.prototype.observe = function (listener, fireImmediately) {\n if (fireImmediately)\n listener({\n object: this,\n type: \"update\",\n newValue: this.value,\n oldValue: undefined\n });\n return registerListener(this, listener);\n };\n ObservableValue.prototype.toJSON = function () {\n return this.get();\n };\n ObservableValue.prototype.toString = function () {\n return this.name + \"[\" + this.value + \"]\";\n };\n ObservableValue.prototype.valueOf = function () {\n return toPrimitive(this.get());\n };\n return ObservableValue;\n}(BaseAtom));\nObservableValue.prototype[primitiveSymbol()] = ObservableValue.prototype.valueOf;\nvar isObservableValue = createInstanceofPredicate(\"ObservableValue\", ObservableValue);\n\nvar messages = {\n m001: \"It is not allowed to assign new values to @action fields\",\n m002: \"`runInAction` expects a function\",\n m003: \"`runInAction` expects a function without arguments\",\n m004: \"autorun expects a function\",\n m005: \"Warning: attempted to pass an action to autorun. Actions are untracked and will not trigger on state changes. Use `reaction` or wrap only your state modification code in an action.\",\n m006: \"Warning: attempted to pass an action to autorunAsync. Actions are untracked and will not trigger on state changes. Use `reaction` or wrap only your state modification code in an action.\",\n m007: \"reaction only accepts 2 or 3 arguments. If migrating from MobX 2, please provide an options object\",\n m008: \"wrapping reaction expression in `asReference` is no longer supported, use options object instead\",\n m009: \"@computed can only be used on getter functions, like: '@computed get myProps() { return ...; }'. It looks like it was used on a property.\",\n m010: \"@computed can only be used on getter functions, like: '@computed get myProps() { return ...; }'\",\n m011: \"First argument to `computed` should be an expression. If using computed as decorator, don't pass it arguments\",\n m012: \"computed takes one or two arguments if used as function\",\n m013: \"[mobx.expr] 'expr' should only be used inside other reactive functions.\",\n m014: \"extendObservable expected 2 or more arguments\",\n m015: \"extendObservable expects an object as first argument\",\n m016: \"extendObservable should not be used on maps, use map.merge instead\",\n m017: \"all arguments of extendObservable should be objects\",\n m018: \"extending an object with another observable (object) is not supported. Please construct an explicit propertymap, using `toJS` if need. See issue #540\",\n m019: \"[mobx.isObservable] isObservable(object, propertyName) is not supported for arrays and maps. Use map.has or array.length instead.\",\n m020: \"modifiers can only be used for individual object properties\",\n m021: \"observable expects zero or one arguments\",\n m022: \"@observable can not be used on getters, use @computed instead\",\n m024: \"whyRun() can only be used if a derivation is active, or by passing an computed value / reaction explicitly. If you invoked whyRun from inside a computation; the computation is currently suspended but re-evaluating because somebody requested its value.\",\n m025: \"whyRun can only be used on reactions and computed values\",\n m026: \"`action` can only be invoked on functions\",\n m028: \"It is not allowed to set `useStrict` when a derivation is running\",\n m029: \"INTERNAL ERROR only onBecomeUnobserved shouldn't be called twice in a row\",\n m030a: \"Since strict-mode is enabled, changing observed observable values outside actions is not allowed. Please wrap the code in an `action` if this change is intended. Tried to modify: \",\n m030b: \"Side effects like changing state are not allowed at this point. Are you trying to modify state from, for example, the render function of a React component? Tried to modify: \",\n m031: \"Computed values are not allowed to cause side effects by changing observables that are already being observed. Tried to modify: \",\n m032: \"* This computation is suspended (not in use by any reaction) and won't run automatically.\\n\tDidn't expect this computation to be suspended at this point?\\n\t 1. Make sure this computation is used by a reaction (reaction, autorun, observer).\\n\t 2. Check whether you are using this computation synchronously (in the same stack as they reaction that needs it).\",\n m033: \"`observe` doesn't support the fire immediately property for observable maps.\",\n m034: \"`mobx.map` is deprecated, use `new ObservableMap` or `mobx.observable.map` instead\",\n m035: \"Cannot make the designated object observable; it is not extensible\",\n m036: \"It is not possible to get index atoms from arrays\",\n m037: \"Hi there! I'm sorry you have just run into an exception.\\nIf your debugger ends up here, know that some reaction (like the render() of an observer component, autorun or reaction)\\nthrew an exception and that mobx caught it, to avoid that it brings the rest of your application down.\\nThe original cause of the exception (the code that caused this reaction to run (again)), is still in the stack.\\n\\nHowever, more interesting is the actual stack trace of the error itself.\\nHopefully the error is an instanceof Error, because in that case you can inspect the original stack of the error from where it was thrown.\\nSee `error.stack` property, or press the very subtle \\\"(...)\\\" link you see near the console.error message that probably brought you here.\\nThat stack is more interesting than the stack of this console.error itself.\\n\\nIf the exception you see is an exception you created yourself, make sure to use `throw new Error(\\\"Oops\\\")` instead of `throw \\\"Oops\\\"`,\\nbecause the javascript environment will only preserve the original stack trace in the first form.\\n\\nYou can also make sure the debugger pauses the next time this very same exception is thrown by enabling \\\"Pause on caught exception\\\".\\n(Note that it might pause on many other, unrelated exception as well).\\n\\nIf that all doesn't help you out, feel free to open an issue https://github.com/mobxjs/mobx/issues!\\n\",\n m038: \"Missing items in this list?\\n 1. Check whether all used values are properly marked as observable (use isObservable to verify)\\n 2. Make sure you didn't dereference values too early. MobX observes props, not primitives. E.g: use 'person.name' instead of 'name' in your computation.\\n\"\n};\nfunction getMessage(id) {\n return messages[id];\n}\n\nfunction createAction(actionName, fn) {\n invariant(typeof fn === \"function\", getMessage(\"m026\"));\n invariant(typeof actionName === \"string\" && actionName.length > 0, \"actions should have valid names, got: '\" + actionName + \"'\");\n var res = function () {\n return executeAction(actionName, fn, this, arguments);\n };\n res.originalFn = fn;\n res.isMobxAction = true;\n return res;\n}\nfunction executeAction(actionName, fn, scope, args) {\n var runInfo = startAction(actionName, fn, scope, args);\n try {\n return fn.apply(scope, args);\n }\n finally {\n endAction(runInfo);\n }\n}\nfunction startAction(actionName, fn, scope, args) {\n var notifySpy = isSpyEnabled() && !!actionName;\n var startTime = 0;\n if (notifySpy) {\n startTime = Date.now();\n var l = (args && args.length) || 0;\n var flattendArgs = new Array(l);\n if (l > 0)\n for (var i = 0; i < l; i++)\n flattendArgs[i] = args[i];\n spyReportStart({\n type: \"action\",\n name: actionName,\n fn: fn,\n object: scope,\n arguments: flattendArgs\n });\n }\n var prevDerivation = untrackedStart();\n startBatch();\n var prevAllowStateChanges = allowStateChangesStart(true);\n return {\n prevDerivation: prevDerivation,\n prevAllowStateChanges: prevAllowStateChanges,\n notifySpy: notifySpy,\n startTime: startTime\n };\n}\nfunction endAction(runInfo) {\n allowStateChangesEnd(runInfo.prevAllowStateChanges);\n endBatch();\n untrackedEnd(runInfo.prevDerivation);\n if (runInfo.notifySpy)\n spyReportEnd({ time: Date.now() - runInfo.startTime });\n}\nfunction useStrict(strict) {\n invariant(globalState.trackingDerivation === null, getMessage(\"m028\"));\n globalState.strictMode = strict;\n globalState.allowStateChanges = !strict;\n}\nfunction isStrictModeEnabled() {\n return globalState.strictMode;\n}\nfunction allowStateChanges(allowStateChanges, func) {\n // TODO: deprecate / refactor this function in next major\n // Currently only used by `@observer`\n // Proposed change: remove first param, rename to `forbidStateChanges`,\n // require error callback instead of the hardcoded error message now used\n // Use `inAction` instead of allowStateChanges in derivation.ts to check strictMode\n var prev = allowStateChangesStart(allowStateChanges);\n var res;\n try {\n res = func();\n }\n finally {\n allowStateChangesEnd(prev);\n }\n return res;\n}\nfunction allowStateChangesStart(allowStateChanges) {\n var prev = globalState.allowStateChanges;\n globalState.allowStateChanges = allowStateChanges;\n return prev;\n}\nfunction allowStateChangesEnd(prev) {\n globalState.allowStateChanges = prev;\n}\n\n/**\n * Constructs a decorator, that normalizes the differences between\n * TypeScript and Babel. Mainly caused by the fact that legacy-decorator cannot assign\n * values during instance creation to properties that have a getter setter.\n *\n * - Sigh -\n *\n * Also takes care of the difference between @decorator field and @decorator(args) field, and different forms of values.\n * For performance (cpu and mem) reasons the properties are always defined on the prototype (at least initially).\n * This means that these properties despite being enumerable might not show up in Object.keys() (but they will show up in for...in loops).\n */\nfunction createClassPropertyDecorator(\n/**\n * This function is invoked once, when the property is added to a new instance.\n * When this happens is not strictly determined due to differences in TS and Babel:\n * Typescript: Usually when constructing the new instance\n * Babel, sometimes Typescript: during the first get / set\n * Both: when calling `runLazyInitializers(instance)`\n */\nonInitialize, get, set, enumerable, \n/**\n * Can this decorator invoked with arguments? e.g. @decorator(args)\n */\nallowCustomArguments) {\n function classPropertyDecorator(target, key, descriptor, customArgs, argLen) {\n if (argLen === void 0) { argLen = 0; }\n invariant(allowCustomArguments || quacksLikeADecorator(arguments), \"This function is a decorator, but it wasn't invoked like a decorator\");\n if (!descriptor) {\n // typescript (except for getter / setters)\n var newDescriptor = {\n enumerable: enumerable,\n configurable: true,\n get: function () {\n if (!this.__mobxInitializedProps || this.__mobxInitializedProps[key] !== true)\n typescriptInitializeProperty(this, key, undefined, onInitialize, customArgs, descriptor);\n return get.call(this, key);\n },\n set: function (v) {\n if (!this.__mobxInitializedProps || this.__mobxInitializedProps[key] !== true) {\n typescriptInitializeProperty(this, key, v, onInitialize, customArgs, descriptor);\n }\n else {\n set.call(this, key, v);\n }\n }\n };\n if (arguments.length < 3 || (arguments.length === 5 && argLen < 3)) {\n // Typescript target is ES3, so it won't define property for us\n // or using Reflect.decorate polyfill, which will return no descriptor\n // (see https://github.com/mobxjs/mobx/issues/333)\n Object.defineProperty(target, key, newDescriptor);\n }\n return newDescriptor;\n }\n else {\n // babel and typescript getter / setter props\n if (!hasOwnProperty(target, \"__mobxLazyInitializers\")) {\n addHiddenProp(target, \"__mobxLazyInitializers\", (target.__mobxLazyInitializers && target.__mobxLazyInitializers.slice()) || [] // support inheritance\n );\n }\n var value_1 = descriptor.value, initializer_1 = descriptor.initializer;\n target.__mobxLazyInitializers.push(function (instance) {\n onInitialize(instance, key, initializer_1 ? initializer_1.call(instance) : value_1, customArgs, descriptor);\n });\n return {\n enumerable: enumerable,\n configurable: true,\n get: function () {\n if (this.__mobxDidRunLazyInitializers !== true)\n runLazyInitializers(this);\n return get.call(this, key);\n },\n set: function (v) {\n if (this.__mobxDidRunLazyInitializers !== true)\n runLazyInitializers(this);\n set.call(this, key, v);\n }\n };\n }\n }\n if (allowCustomArguments) {\n /** If custom arguments are allowed, we should return a function that returns a decorator */\n return function () {\n /** Direct invocation: @decorator bla */\n if (quacksLikeADecorator(arguments))\n return classPropertyDecorator.apply(null, arguments);\n /** Indirect invocation: @decorator(args) bla */\n var outerArgs = arguments;\n var argLen = arguments.length;\n return function (target, key, descriptor) {\n return classPropertyDecorator(target, key, descriptor, outerArgs, argLen);\n };\n };\n }\n return classPropertyDecorator;\n}\nfunction typescriptInitializeProperty(instance, key, v, onInitialize, customArgs, baseDescriptor) {\n if (!hasOwnProperty(instance, \"__mobxInitializedProps\"))\n addHiddenProp(instance, \"__mobxInitializedProps\", {});\n instance.__mobxInitializedProps[key] = true;\n onInitialize(instance, key, v, customArgs, baseDescriptor);\n}\nfunction runLazyInitializers(instance) {\n if (instance.__mobxDidRunLazyInitializers === true)\n return;\n if (instance.__mobxLazyInitializers) {\n addHiddenProp(instance, \"__mobxDidRunLazyInitializers\", true);\n instance.__mobxDidRunLazyInitializers &&\n instance.__mobxLazyInitializers.forEach(function (initializer) { return initializer(instance); });\n }\n}\nfunction quacksLikeADecorator(args) {\n return (args.length === 2 || args.length === 3) && typeof args[1] === \"string\";\n}\n\nvar actionFieldDecorator = createClassPropertyDecorator(function (target, key, value, args, originalDescriptor) {\n var actionName = args && args.length === 1 ? args[0] : value.name || key || \"\";\n var wrappedAction = action(actionName, value);\n addHiddenProp(target, key, wrappedAction);\n}, function (key) {\n return this[key];\n}, function () {\n invariant(false, getMessage(\"m001\"));\n}, false, true);\nvar boundActionDecorator = createClassPropertyDecorator(function (target, key, value) {\n defineBoundAction(target, key, value);\n}, function (key) {\n return this[key];\n}, function () {\n invariant(false, getMessage(\"m001\"));\n}, false, false);\nvar action = function action(arg1, arg2, arg3, arg4) {\n if (arguments.length === 1 && typeof arg1 === \"function\")\n return createAction(arg1.name || \"\", arg1);\n if (arguments.length === 2 && typeof arg2 === \"function\")\n return createAction(arg1, arg2);\n if (arguments.length === 1 && typeof arg1 === \"string\")\n return namedActionDecorator(arg1);\n return namedActionDecorator(arg2).apply(null, arguments);\n};\naction.bound = function boundAction(arg1, arg2, arg3) {\n if (typeof arg1 === \"function\") {\n var action_1 = createAction(\"\", arg1);\n action_1.autoBind = true;\n return action_1;\n }\n return boundActionDecorator.apply(null, arguments);\n};\nfunction namedActionDecorator(name) {\n return function (target, prop, descriptor) {\n if (descriptor && typeof descriptor.value === \"function\") {\n // TypeScript @action method() { }. Defined on proto before being decorated\n // Don't use the field decorator if we are just decorating a method\n descriptor.value = createAction(name, descriptor.value);\n descriptor.enumerable = false;\n descriptor.configurable = true;\n return descriptor;\n }\n if (descriptor !== undefined && descriptor.get !== undefined) {\n throw new Error(\"[mobx] action is not expected to be used with getters\");\n }\n // bound instance methods\n return actionFieldDecorator(name).apply(this, arguments);\n };\n}\nfunction runInAction(arg1, arg2, arg3) {\n var actionName = typeof arg1 === \"string\" ? arg1 : arg1.name || \"\";\n var fn = typeof arg1 === \"function\" ? arg1 : arg2;\n var scope = typeof arg1 === \"function\" ? arg2 : arg3;\n invariant(typeof fn === \"function\", getMessage(\"m002\"));\n invariant(fn.length === 0, getMessage(\"m003\"));\n invariant(typeof actionName === \"string\" && actionName.length > 0, \"actions should have valid names, got: '\" + actionName + \"'\");\n return executeAction(actionName, fn, scope, undefined);\n}\nfunction isAction(thing) {\n return typeof thing === \"function\" && thing.isMobxAction === true;\n}\nfunction defineBoundAction(target, propertyName, fn) {\n var res = function () {\n return executeAction(propertyName, fn, target, arguments);\n };\n res.isMobxAction = true;\n addHiddenProp(target, propertyName, res);\n}\n\nvar toString = Object.prototype.toString;\nfunction deepEqual(a, b) {\n return eq(a, b);\n}\n// Copied from https://github.com/jashkenas/underscore/blob/5c237a7c682fb68fd5378203f0bf22dce1624854/underscore.js#L1186-L1289\n// Internal recursive comparison function for `isEqual`.\nfunction eq(a, b, aStack, bStack) {\n // Identical objects are equal. `0 === -0`, but they aren't identical.\n // See the [Harmony `egal` proposal](http://wiki.ecmascript.org/doku.php?id=harmony:egal).\n if (a === b)\n return a !== 0 || 1 / a === 1 / b;\n // `null` or `undefined` only equal to itself (strict comparison).\n if (a == null || b == null)\n return false;\n // `NaN`s are equivalent, but non-reflexive.\n if (a !== a)\n return b !== b;\n // Exhaust primitive checks\n var type = typeof a;\n if (type !== \"function\" && type !== \"object\" && typeof b != \"object\")\n return false;\n return deepEq(a, b, aStack, bStack);\n}\n// Internal recursive comparison function for `isEqual`.\nfunction deepEq(a, b, aStack, bStack) {\n // Unwrap any wrapped objects.\n a = unwrap(a);\n b = unwrap(b);\n // Compare `[[Class]]` names.\n var className = toString.call(a);\n if (className !== toString.call(b))\n return false;\n switch (className) {\n // Strings, numbers, regular expressions, dates, and booleans are compared by value.\n case \"[object RegExp]\":\n // RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i')\n case \"[object String]\":\n // Primitives and their corresponding object wrappers are equivalent; thus, `\"5\"` is\n // equivalent to `new String(\"5\")`.\n return \"\" + a === \"\" + b;\n case \"[object Number]\":\n // `NaN`s are equivalent, but non-reflexive.\n // Object(NaN) is equivalent to NaN.\n if (+a !== +a)\n return +b !== +b;\n // An `egal` comparison is performed for other numeric values.\n return +a === 0 ? 1 / +a === 1 / b : +a === +b;\n case \"[object Date]\":\n case \"[object Boolean]\":\n // Coerce dates and booleans to numeric primitive values. Dates are compared by their\n // millisecond representations. Note that invalid dates with millisecond representations\n // of `NaN` are not equivalent.\n return +a === +b;\n case \"[object Symbol]\":\n return (typeof Symbol !== \"undefined\" && Symbol.valueOf.call(a) === Symbol.valueOf.call(b));\n }\n var areArrays = className === \"[object Array]\";\n if (!areArrays) {\n if (typeof a != \"object\" || typeof b != \"object\")\n return false;\n // Objects with different constructors are not equivalent, but `Object`s or `Array`s\n // from different frames are.\n var aCtor = a.constructor, bCtor = b.constructor;\n if (aCtor !== bCtor &&\n !(typeof aCtor === \"function\" &&\n aCtor instanceof aCtor &&\n typeof bCtor === \"function\" &&\n bCtor instanceof bCtor) &&\n (\"constructor\" in a && \"constructor\" in b)) {\n return false;\n }\n }\n // Assume equality for cyclic structures. The algorithm for detecting cyclic\n // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`.\n // Initializing stack of traversed objects.\n // It's done here since we only need them for objects and arrays comparison.\n aStack = aStack || [];\n bStack = bStack || [];\n var length = aStack.length;\n while (length--) {\n // Linear search. Performance is inversely proportional to the number of\n // unique nested structures.\n if (aStack[length] === a)\n return bStack[length] === b;\n }\n // Add the first object to the stack of traversed objects.\n aStack.push(a);\n bStack.push(b);\n // Recursively compare objects and arrays.\n if (areArrays) {\n // Compare array lengths to determine if a deep comparison is necessary.\n length = a.length;\n if (length !== b.length)\n return false;\n // Deep compare the contents, ignoring non-numeric properties.\n while (length--) {\n if (!eq(a[length], b[length], aStack, bStack))\n return false;\n }\n }\n else {\n // Deep compare objects.\n var keys = Object.keys(a), key;\n length = keys.length;\n // Ensure that both objects contain the same number of properties before comparing deep equality.\n if (Object.keys(b).length !== length)\n return false;\n while (length--) {\n // Deep compare each member\n key = keys[length];\n if (!(has(b, key) && eq(a[key], b[key], aStack, bStack)))\n return false;\n }\n }\n // Remove the first object from the stack of traversed objects.\n aStack.pop();\n bStack.pop();\n return true;\n}\nfunction unwrap(a) {\n if (isObservableArray(a))\n return a.peek();\n if (isObservableMap(a))\n return a.entries();\n if (isES6Map(a))\n return iteratorToArray(a.entries());\n return a;\n}\nfunction has(a, key) {\n return Object.prototype.hasOwnProperty.call(a, key);\n}\n\nfunction identityComparer(a, b) {\n return a === b;\n}\nfunction structuralComparer(a, b) {\n return deepEqual(a, b);\n}\nfunction defaultComparer(a, b) {\n return areBothNaN(a, b) || identityComparer(a, b);\n}\nvar comparer = {\n identity: identityComparer,\n structural: structuralComparer,\n default: defaultComparer\n};\n\nfunction autorun(arg1, arg2, arg3) {\n var name, view, scope;\n if (typeof arg1 === \"string\") {\n name = arg1;\n view = arg2;\n scope = arg3;\n }\n else {\n name = arg1.name || \"Autorun@\" + getNextId();\n view = arg1;\n scope = arg2;\n }\n invariant(typeof view === \"function\", getMessage(\"m004\"));\n invariant(isAction(view) === false, getMessage(\"m005\"));\n if (scope)\n view = view.bind(scope);\n var reaction = new Reaction(name, function () {\n this.track(reactionRunner);\n });\n function reactionRunner() {\n view(reaction);\n }\n reaction.schedule();\n return reaction.getDisposer();\n}\nfunction when(arg1, arg2, arg3, arg4) {\n var name, predicate, effect, scope;\n if (typeof arg1 === \"string\") {\n name = arg1;\n predicate = arg2;\n effect = arg3;\n scope = arg4;\n }\n else {\n name = \"When@\" + getNextId();\n predicate = arg1;\n effect = arg2;\n scope = arg3;\n }\n var disposer = autorun(name, function (r) {\n if (predicate.call(scope)) {\n r.dispose();\n var prevUntracked = untrackedStart();\n effect.call(scope);\n untrackedEnd(prevUntracked);\n }\n });\n return disposer;\n}\nfunction autorunAsync(arg1, arg2, arg3, arg4) {\n var name, func, delay, scope;\n if (typeof arg1 === \"string\") {\n name = arg1;\n func = arg2;\n delay = arg3;\n scope = arg4;\n }\n else {\n name = arg1.name || \"AutorunAsync@\" + getNextId();\n func = arg1;\n delay = arg2;\n scope = arg3;\n }\n invariant(isAction(func) === false, getMessage(\"m006\"));\n if (delay === void 0)\n delay = 1;\n if (scope)\n func = func.bind(scope);\n var isScheduled = false;\n var r = new Reaction(name, function () {\n if (!isScheduled) {\n isScheduled = true;\n setTimeout(function () {\n isScheduled = false;\n if (!r.isDisposed)\n r.track(reactionRunner);\n }, delay);\n }\n });\n function reactionRunner() {\n func(r);\n }\n r.schedule();\n return r.getDisposer();\n}\nfunction reaction(expression, effect, arg3) {\n if (arguments.length > 3) {\n fail(getMessage(\"m007\"));\n }\n if (isModifierDescriptor(expression)) {\n fail(getMessage(\"m008\"));\n }\n var opts;\n if (typeof arg3 === \"object\") {\n opts = arg3;\n }\n else {\n opts = {};\n }\n opts.name =\n opts.name || expression.name || effect.name || \"Reaction@\" + getNextId();\n opts.fireImmediately = arg3 === true || opts.fireImmediately === true;\n opts.delay = opts.delay || 0;\n opts.compareStructural = opts.compareStructural || opts.struct || false;\n // TODO: creates ugly spy events, use `effect = (r) => runInAction(opts.name, () => effect(r))` instead\n effect = action(opts.name, opts.context ? effect.bind(opts.context) : effect);\n if (opts.context) {\n expression = expression.bind(opts.context);\n }\n var firstTime = true;\n var isScheduled = false;\n var value;\n var equals = opts.equals\n ? opts.equals\n : opts.compareStructural || opts.struct ? comparer.structural : comparer.default;\n var r = new Reaction(opts.name, function () {\n if (firstTime || opts.delay < 1) {\n reactionRunner();\n }\n else if (!isScheduled) {\n isScheduled = true;\n setTimeout(function () {\n isScheduled = false;\n reactionRunner();\n }, opts.delay);\n }\n });\n function reactionRunner() {\n if (r.isDisposed)\n return;\n var changed = false;\n r.track(function () {\n var nextValue = expression(r);\n changed = firstTime || !equals(value, nextValue);\n value = nextValue;\n });\n if (firstTime && opts.fireImmediately)\n effect(value, r);\n if (!firstTime && changed === true)\n effect(value, r);\n if (firstTime)\n firstTime = false;\n }\n r.schedule();\n return r.getDisposer();\n}\n\n/**\n * A node in the state dependency root that observes other nodes, and can be observed itself.\n *\n * ComputedValue will remember the result of the computation for the duration of the batch, or\n * while being observed.\n *\n * During this time it will recompute only when one of its direct dependencies changed,\n * but only when it is being accessed with `ComputedValue.get()`.\n *\n * Implementation description:\n * 1. First time it's being accessed it will compute and remember result\n * give back remembered result until 2. happens\n * 2. First time any deep dependency change, propagate POSSIBLY_STALE to all observers, wait for 3.\n * 3. When it's being accessed, recompute if any shallow dependency changed.\n * if result changed: propagate STALE to all observers, that were POSSIBLY_STALE from the last step.\n * go to step 2. either way\n *\n * If at any point it's outside batch and it isn't observed: reset everything and go to 1.\n */\nvar ComputedValue = /** @class */ (function () {\n /**\n * Create a new computed value based on a function expression.\n *\n * The `name` property is for debug purposes only.\n *\n * The `equals` property specifies the comparer function to use to determine if a newly produced\n * value differs from the previous value. Two comparers are provided in the library; `defaultComparer`\n * compares based on identity comparison (===), and `structualComparer` deeply compares the structure.\n * Structural comparison can be convenient if you always produce an new aggregated object and\n * don't want to notify observers if it is structurally the same.\n * This is useful for working with vectors, mouse coordinates etc.\n */\n function ComputedValue(derivation, scope, equals, name, setter) {\n this.derivation = derivation;\n this.scope = scope;\n this.equals = equals;\n this.dependenciesState = IDerivationState.NOT_TRACKING;\n this.observing = []; // nodes we are looking at. Our value depends on these nodes\n this.newObserving = null; // during tracking it's an array with new observed observers\n this.isPendingUnobservation = false;\n this.observers = [];\n this.observersIndexes = {};\n this.diffValue = 0;\n this.runId = 0;\n this.lastAccessedBy = 0;\n this.lowestObserverState = IDerivationState.UP_TO_DATE;\n this.unboundDepsCount = 0;\n this.__mapid = \"#\" + getNextId();\n this.value = new CaughtException(null);\n this.isComputing = false; // to check for cycles\n this.isRunningSetter = false;\n this.isTracing = TraceMode.NONE;\n this.name = name || \"ComputedValue@\" + getNextId();\n if (setter)\n this.setter = createAction(name + \"-setter\", setter);\n }\n ComputedValue.prototype.onBecomeStale = function () {\n propagateMaybeChanged(this);\n };\n ComputedValue.prototype.onBecomeUnobserved = function () {\n clearObserving(this);\n this.value = undefined;\n };\n /**\n * Returns the current value of this computed value.\n * Will evaluate its computation first if needed.\n */\n ComputedValue.prototype.get = function () {\n invariant(!this.isComputing, \"Cycle detected in computation \" + this.name, this.derivation);\n if (globalState.inBatch === 0) {\n // This is an minor optimization which could be omitted to simplify the code\n // The computedValue is accessed outside of any mobx stuff. Batch observing should be enough and don't need\n // tracking as it will never be called again inside this batch.\n startBatch();\n if (shouldCompute(this)) {\n if (this.isTracing !== TraceMode.NONE) {\n console.log(\"[mobx.trace] '\" + this\n .name + \"' is being read outside a reactive context and doing a full recompute\");\n }\n this.value = this.computeValue(false);\n }\n endBatch();\n }\n else {\n reportObserved(this);\n if (shouldCompute(this))\n if (this.trackAndCompute())\n propagateChangeConfirmed(this);\n }\n var result = this.value;\n if (isCaughtException(result))\n throw result.cause;\n return result;\n };\n ComputedValue.prototype.peek = function () {\n var res = this.computeValue(false);\n if (isCaughtException(res))\n throw res.cause;\n return res;\n };\n ComputedValue.prototype.set = function (value) {\n if (this.setter) {\n invariant(!this.isRunningSetter, \"The setter of computed value '\" + this\n .name + \"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?\");\n this.isRunningSetter = true;\n try {\n this.setter.call(this.scope, value);\n }\n finally {\n this.isRunningSetter = false;\n }\n }\n else\n invariant(false, \"[ComputedValue '\" + this\n .name + \"'] It is not possible to assign a new value to a computed value.\");\n };\n ComputedValue.prototype.trackAndCompute = function () {\n if (isSpyEnabled()) {\n spyReport({\n object: this.scope,\n type: \"compute\",\n fn: this.derivation\n });\n }\n var oldValue = this.value;\n var wasSuspended = \n /* see #1208 */ this.dependenciesState === IDerivationState.NOT_TRACKING;\n var newValue = (this.value = this.computeValue(true));\n return (wasSuspended ||\n isCaughtException(oldValue) ||\n isCaughtException(newValue) ||\n !this.equals(oldValue, newValue));\n };\n ComputedValue.prototype.computeValue = function (track) {\n this.isComputing = true;\n globalState.computationDepth++;\n var res;\n if (track) {\n res = trackDerivedFunction(this, this.derivation, this.scope);\n }\n else {\n try {\n res = this.derivation.call(this.scope);\n }\n catch (e) {\n res = new CaughtException(e);\n }\n }\n globalState.computationDepth--;\n this.isComputing = false;\n return res;\n };\n ComputedValue.prototype.observe = function (listener, fireImmediately) {\n var _this = this;\n var firstTime = true;\n var prevValue = undefined;\n return autorun(function () {\n var newValue = _this.get();\n if (!firstTime || fireImmediately) {\n var prevU = untrackedStart();\n listener({\n type: \"update\",\n object: _this,\n newValue: newValue,\n oldValue: prevValue\n });\n untrackedEnd(prevU);\n }\n firstTime = false;\n prevValue = newValue;\n });\n };\n ComputedValue.prototype.toJSON = function () {\n return this.get();\n };\n ComputedValue.prototype.toString = function () {\n return this.name + \"[\" + this.derivation.toString() + \"]\";\n };\n ComputedValue.prototype.valueOf = function () {\n return toPrimitive(this.get());\n };\n ComputedValue.prototype.whyRun = function () {\n var isTracking = Boolean(globalState.trackingDerivation);\n var observing = unique(this.isComputing ? this.newObserving : this.observing).map(function (dep) { return dep.name; });\n var observers = unique(getObservers(this).map(function (dep) { return dep.name; }));\n return (\"\\nWhyRun? computation '\" + this.name + \"':\\n * Running because: \" + (isTracking\n ? \"[active] the value of this computation is needed by a reaction\"\n : this.isComputing\n ? \"[get] The value of this computed was requested outside a reaction\"\n : \"[idle] not running at the moment\") + \"\\n\" +\n (this.dependenciesState === IDerivationState.NOT_TRACKING\n ? getMessage(\"m032\")\n : \" * This computation will re-run if any of the following observables changes:\\n \" + joinStrings(observing) + \"\\n \" + (this.isComputing && isTracking\n ? \" (... or any observable accessed during the remainder of the current run)\"\n : \"\") + \"\\n \" + getMessage(\"m038\") + \"\\n\\n * If the outcome of this computation changes, the following observers will be re-run:\\n \" + joinStrings(observers) + \"\\n\"));\n };\n return ComputedValue;\n}());\nComputedValue.prototype[primitiveSymbol()] = ComputedValue.prototype.valueOf;\nvar isComputedValue = createInstanceofPredicate(\"ComputedValue\", ComputedValue);\n\nvar ObservableObjectAdministration = /** @class */ (function () {\n function ObservableObjectAdministration(target, name) {\n this.target = target;\n this.name = name;\n this.values = {};\n this.changeListeners = null;\n this.interceptors = null;\n }\n /**\n * Observes this object. Triggers for the events 'add', 'update' and 'delete'.\n * See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/observe\n * for callback details\n */\n ObservableObjectAdministration.prototype.observe = function (callback, fireImmediately) {\n invariant(fireImmediately !== true, \"`observe` doesn't support the fire immediately property for observable objects.\");\n return registerListener(this, callback);\n };\n ObservableObjectAdministration.prototype.intercept = function (handler) {\n return registerInterceptor(this, handler);\n };\n return ObservableObjectAdministration;\n}());\nfunction asObservableObject(target, name) {\n if (isObservableObject(target) && target.hasOwnProperty(\"$mobx\"))\n return target.$mobx;\n invariant(Object.isExtensible(target), getMessage(\"m035\"));\n if (!isPlainObject(target))\n name = (target.constructor.name || \"ObservableObject\") + \"@\" + getNextId();\n if (!name)\n name = \"ObservableObject@\" + getNextId();\n var adm = new ObservableObjectAdministration(target, name);\n addHiddenFinalProp(target, \"$mobx\", adm);\n return adm;\n}\nfunction defineObservablePropertyFromDescriptor(adm, propName, descriptor, defaultEnhancer) {\n if (adm.values[propName] && !isComputedValue(adm.values[propName])) {\n // already observable property\n invariant(\"value\" in descriptor, \"The property \" + propName + \" in \" + adm.name + \" is already observable, cannot redefine it as computed property\");\n adm.target[propName] = descriptor.value; // the property setter will make 'value' reactive if needed.\n return;\n }\n // not yet observable property\n if (\"value\" in descriptor) {\n // not a computed value\n if (isModifierDescriptor(descriptor.value)) {\n // x : ref(someValue)\n var modifierDescriptor = descriptor.value;\n defineObservableProperty(adm, propName, modifierDescriptor.initialValue, modifierDescriptor.enhancer);\n }\n else if (isAction(descriptor.value) && descriptor.value.autoBind === true) {\n defineBoundAction(adm.target, propName, descriptor.value.originalFn);\n }\n else if (isComputedValue(descriptor.value)) {\n // x: computed(someExpr)\n defineComputedPropertyFromComputedValue(adm, propName, descriptor.value);\n }\n else {\n // x: someValue\n defineObservableProperty(adm, propName, descriptor.value, defaultEnhancer);\n }\n }\n else {\n // get x() { return 3 } set x(v) { }\n defineComputedProperty(adm, propName, descriptor.get, descriptor.set, comparer.default, true);\n }\n}\nfunction defineObservableProperty(adm, propName, newValue, enhancer) {\n assertPropertyConfigurable(adm.target, propName);\n if (hasInterceptors(adm)) {\n var change = interceptChange(adm, {\n object: adm.target,\n name: propName,\n type: \"add\",\n newValue: newValue\n });\n if (!change)\n return;\n newValue = change.newValue;\n }\n var observable = (adm.values[propName] = new ObservableValue(newValue, enhancer, adm.name + \".\" + propName, false));\n newValue = observable.value; // observableValue might have changed it\n Object.defineProperty(adm.target, propName, generateObservablePropConfig(propName));\n notifyPropertyAddition(adm, adm.target, propName, newValue);\n}\nfunction defineComputedProperty(adm, propName, getter, setter, equals, asInstanceProperty) {\n if (asInstanceProperty)\n assertPropertyConfigurable(adm.target, propName);\n adm.values[propName] = new ComputedValue(getter, adm.target, equals, adm.name + \".\" + propName, setter);\n if (asInstanceProperty) {\n Object.defineProperty(adm.target, propName, generateComputedPropConfig(propName));\n }\n}\nfunction defineComputedPropertyFromComputedValue(adm, propName, computedValue) {\n var name = adm.name + \".\" + propName;\n computedValue.name = name;\n if (!computedValue.scope)\n computedValue.scope = adm.target;\n adm.values[propName] = computedValue;\n Object.defineProperty(adm.target, propName, generateComputedPropConfig(propName));\n}\nvar observablePropertyConfigs = {};\nvar computedPropertyConfigs = {};\nfunction generateObservablePropConfig(propName) {\n return (observablePropertyConfigs[propName] ||\n (observablePropertyConfigs[propName] = {\n configurable: true,\n enumerable: true,\n get: function () {\n return this.$mobx.values[propName].get();\n },\n set: function (v) {\n setPropertyValue(this, propName, v);\n }\n }));\n}\nfunction generateComputedPropConfig(propName) {\n return (computedPropertyConfigs[propName] ||\n (computedPropertyConfigs[propName] = {\n configurable: true,\n enumerable: false,\n get: function () {\n return this.$mobx.values[propName].get();\n },\n set: function (v) {\n return this.$mobx.values[propName].set(v);\n }\n }));\n}\nfunction setPropertyValue(instance, name, newValue) {\n var adm = instance.$mobx;\n var observable = adm.values[name];\n // intercept\n if (hasInterceptors(adm)) {\n var change = interceptChange(adm, {\n type: \"update\",\n object: instance,\n name: name,\n newValue: newValue\n });\n if (!change)\n return;\n newValue = change.newValue;\n }\n newValue = observable.prepareNewValue(newValue);\n // notify spy & observers\n if (newValue !== UNCHANGED) {\n var notify = hasListeners(adm);\n var notifySpy = isSpyEnabled();\n var change = notify || notifySpy\n ? {\n type: \"update\",\n object: instance,\n oldValue: observable.value,\n name: name,\n newValue: newValue\n }\n : null;\n if (notifySpy)\n spyReportStart(change);\n observable.setNewValue(newValue);\n if (notify)\n notifyListeners(adm, change);\n if (notifySpy)\n spyReportEnd();\n }\n}\nfunction notifyPropertyAddition(adm, object, name, newValue) {\n var notify = hasListeners(adm);\n var notifySpy = isSpyEnabled();\n var change = notify || notifySpy\n ? {\n type: \"add\",\n object: object,\n name: name,\n newValue: newValue\n }\n : null;\n if (notifySpy)\n spyReportStart(change);\n if (notify)\n notifyListeners(adm, change);\n if (notifySpy)\n spyReportEnd();\n}\nvar isObservableObjectAdministration = createInstanceofPredicate(\"ObservableObjectAdministration\", ObservableObjectAdministration);\nfunction isObservableObject(thing) {\n if (isObject(thing)) {\n // Initializers run lazily when transpiling to babel, so make sure they are run...\n runLazyInitializers(thing);\n return isObservableObjectAdministration(thing.$mobx);\n }\n return false;\n}\n\n/**\n * Returns true if the provided value is reactive.\n * @param value object, function or array\n * @param property if property is specified, checks whether value.property is reactive.\n */\nfunction isObservable(value, property) {\n if (value === null || value === undefined)\n return false;\n if (property !== undefined) {\n if (isObservableArray(value) || isObservableMap(value))\n throw new Error(getMessage(\"m019\"));\n else if (isObservableObject(value)) {\n var o = value.$mobx;\n return o.values && !!o.values[property];\n }\n return false;\n }\n // For first check, see #701\n return (isObservableObject(value) ||\n !!value.$mobx ||\n isAtom(value) ||\n isReaction(value) ||\n isComputedValue(value));\n}\n\nfunction createDecoratorForEnhancer(enhancer) {\n invariant(!!enhancer, \":(\");\n return createClassPropertyDecorator(function (target, name, baseValue, _, baseDescriptor) {\n assertPropertyConfigurable(target, name);\n invariant(!baseDescriptor || !baseDescriptor.get, getMessage(\"m022\"));\n var adm = asObservableObject(target, undefined);\n defineObservableProperty(adm, name, baseValue, enhancer);\n }, function (name) {\n var observable = this.$mobx.values[name];\n if (observable === undefined // See #505\n )\n return undefined;\n return observable.get();\n }, function (name, value) {\n setPropertyValue(this, name, value);\n }, true, false);\n}\n\nfunction extendObservable(target) {\n var properties = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n properties[_i - 1] = arguments[_i];\n }\n return extendObservableHelper(target, deepEnhancer, properties);\n}\nfunction extendShallowObservable(target) {\n var properties = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n properties[_i - 1] = arguments[_i];\n }\n return extendObservableHelper(target, referenceEnhancer, properties);\n}\nfunction extendObservableHelper(target, defaultEnhancer, properties) {\n invariant(arguments.length >= 2, getMessage(\"m014\"));\n invariant(typeof target === \"object\", getMessage(\"m015\"));\n invariant(!isObservableMap(target), getMessage(\"m016\"));\n properties.forEach(function (propSet) {\n invariant(typeof propSet === \"object\", getMessage(\"m017\"));\n invariant(!isObservable(propSet), getMessage(\"m018\"));\n });\n var adm = asObservableObject(target);\n var definedProps = {};\n // Note could be optimised if properties.length === 1\n for (var i = properties.length - 1; i >= 0; i--) {\n var propSet = properties[i];\n for (var key in propSet)\n if (definedProps[key] !== true && hasOwnProperty(propSet, key)) {\n definedProps[key] = true;\n if (target === propSet && !isPropertyConfigurable(target, key))\n continue; // see #111, skip non-configurable or non-writable props for `observable(object)`.\n var descriptor = Object.getOwnPropertyDescriptor(propSet, key);\n defineObservablePropertyFromDescriptor(adm, key, descriptor, defaultEnhancer);\n }\n }\n return target;\n}\n\nvar deepDecorator = createDecoratorForEnhancer(deepEnhancer);\nvar shallowDecorator = createDecoratorForEnhancer(shallowEnhancer);\nvar refDecorator = createDecoratorForEnhancer(referenceEnhancer);\nvar deepStructDecorator = createDecoratorForEnhancer(deepStructEnhancer);\nvar refStructDecorator = createDecoratorForEnhancer(refStructEnhancer);\n/**\n * Turns an object, array or function into a reactive structure.\n * @param v the value which should become observable.\n */\nfunction createObservable(v) {\n if (v === void 0) { v = undefined; }\n // @observable someProp;\n if (typeof arguments[1] === \"string\")\n return deepDecorator.apply(null, arguments);\n invariant(arguments.length <= 1, getMessage(\"m021\"));\n invariant(!isModifierDescriptor(v), getMessage(\"m020\"));\n // it is an observable already, done\n if (isObservable(v))\n return v;\n // something that can be converted and mutated?\n var res = deepEnhancer(v, undefined, undefined);\n // this value could be converted to a new observable data structure, return it\n if (res !== v)\n return res;\n // otherwise, just box it\n return observable.box(v);\n}\nvar observableFactories = {\n box: function (value, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"box\");\n return new ObservableValue(value, deepEnhancer, name);\n },\n shallowBox: function (value, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"shallowBox\");\n return new ObservableValue(value, referenceEnhancer, name);\n },\n array: function (initialValues, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"array\");\n return new ObservableArray(initialValues, deepEnhancer, name);\n },\n shallowArray: function (initialValues, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"shallowArray\");\n return new ObservableArray(initialValues, referenceEnhancer, name);\n },\n map: function (initialValues, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"map\");\n return new ObservableMap(initialValues, deepEnhancer, name);\n },\n shallowMap: function (initialValues, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"shallowMap\");\n return new ObservableMap(initialValues, referenceEnhancer, name);\n },\n object: function (props, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"object\");\n var res = {};\n // convert to observable object\n asObservableObject(res, name);\n // add properties\n extendObservable(res, props);\n return res;\n },\n shallowObject: function (props, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"shallowObject\");\n var res = {};\n asObservableObject(res, name);\n extendShallowObservable(res, props);\n return res;\n },\n ref: function () {\n if (arguments.length < 2) {\n // although ref creates actually a modifier descriptor, the type of the resultig properties\n // of the object is `T` in the end, when the descriptors are interpreted\n return createModifierDescriptor(referenceEnhancer, arguments[0]);\n }\n else {\n return refDecorator.apply(null, arguments);\n }\n },\n shallow: function () {\n if (arguments.length < 2) {\n // although ref creates actually a modifier descriptor, the type of the resultig properties\n // of the object is `T` in the end, when the descriptors are interpreted\n return createModifierDescriptor(shallowEnhancer, arguments[0]);\n }\n else {\n return shallowDecorator.apply(null, arguments);\n }\n },\n deep: function () {\n if (arguments.length < 2) {\n // although ref creates actually a modifier descriptor, the type of the resultig properties\n // of the object is `T` in the end, when the descriptors are interpreted\n return createModifierDescriptor(deepEnhancer, arguments[0]);\n }\n else {\n return deepDecorator.apply(null, arguments);\n }\n },\n struct: function () {\n if (arguments.length < 2) {\n // although ref creates actually a modifier descriptor, the type of the resultig properties\n // of the object is `T` in the end, when the descriptors are interpreted\n return createModifierDescriptor(deepStructEnhancer, arguments[0]);\n }\n else {\n return deepStructDecorator.apply(null, arguments);\n }\n }\n};\nvar observable = createObservable;\n// weird trick to keep our typings nicely with our funcs, and still extend the observable function\nObject.keys(observableFactories).forEach(function (name) { return (observable[name] = observableFactories[name]); });\nobservable.deep.struct = observable.struct;\nobservable.ref.struct = function () {\n if (arguments.length < 2) {\n return createModifierDescriptor(refStructEnhancer, arguments[0]);\n }\n else {\n return refStructDecorator.apply(null, arguments);\n }\n};\nfunction incorrectlyUsedAsDecorator(methodName) {\n fail(\"Expected one or two arguments to observable.\" + methodName + \". Did you accidentally try to use observable.\" + methodName + \" as decorator?\");\n}\n\nfunction isModifierDescriptor(thing) {\n return typeof thing === \"object\" && thing !== null && thing.isMobxModifierDescriptor === true;\n}\nfunction createModifierDescriptor(enhancer, initialValue) {\n invariant(!isModifierDescriptor(initialValue), \"Modifiers cannot be nested\");\n return {\n isMobxModifierDescriptor: true,\n initialValue: initialValue,\n enhancer: enhancer\n };\n}\nfunction deepEnhancer(v, _, name) {\n if (isModifierDescriptor(v))\n fail(\"You tried to assign a modifier wrapped value to a collection, please define modifiers when creating the collection, not when modifying it\");\n // it is an observable already, done\n if (isObservable(v))\n return v;\n // something that can be converted and mutated?\n if (Array.isArray(v))\n return observable.array(v, name);\n if (isPlainObject(v))\n return observable.object(v, name);\n if (isES6Map(v))\n return observable.map(v, name);\n return v;\n}\nfunction shallowEnhancer(v, _, name) {\n if (isModifierDescriptor(v))\n fail(\"You tried to assign a modifier wrapped value to a collection, please define modifiers when creating the collection, not when modifying it\");\n if (v === undefined || v === null)\n return v;\n if (isObservableObject(v) || isObservableArray(v) || isObservableMap(v))\n return v;\n if (Array.isArray(v))\n return observable.shallowArray(v, name);\n if (isPlainObject(v))\n return observable.shallowObject(v, name);\n if (isES6Map(v))\n return observable.shallowMap(v, name);\n return fail(\"The shallow modifier / decorator can only used in combination with arrays, objects and maps\");\n}\nfunction referenceEnhancer(newValue) {\n // never turn into an observable\n return newValue;\n}\nfunction deepStructEnhancer(v, oldValue, name) {\n // don't confuse structurally compare enhancer with ref enhancer! The latter is probably\n // more suited for immutable objects\n if (deepEqual(v, oldValue))\n return oldValue;\n // it is an observable already, done\n if (isObservable(v))\n return v;\n // something that can be converted and mutated?\n if (Array.isArray(v))\n return new ObservableArray(v, deepStructEnhancer, name);\n if (isES6Map(v))\n return new ObservableMap(v, deepStructEnhancer, name);\n if (isPlainObject(v)) {\n var res = {};\n asObservableObject(res, name);\n extendObservableHelper(res, deepStructEnhancer, [v]);\n return res;\n }\n return v;\n}\nfunction refStructEnhancer(v, oldValue, name) {\n if (deepEqual(v, oldValue))\n return oldValue;\n return v;\n}\n\n/**\n * During a transaction no views are updated until the end of the transaction.\n * The transaction will be run synchronously nonetheless.\n *\n * @param action a function that updates some reactive state\n * @returns any value that was returned by the 'action' parameter.\n */\nfunction transaction(action, thisArg) {\n if (thisArg === void 0) { thisArg = undefined; }\n startBatch();\n try {\n return action.apply(thisArg);\n }\n finally {\n endBatch();\n }\n}\n\nvar ObservableMapMarker = {};\nvar ObservableMap = /** @class */ (function () {\n function ObservableMap(initialData, enhancer, name) {\n if (enhancer === void 0) { enhancer = deepEnhancer; }\n if (name === void 0) { name = \"ObservableMap@\" + getNextId(); }\n this.enhancer = enhancer;\n this.name = name;\n this.$mobx = ObservableMapMarker;\n this._data = Object.create(null);\n this._hasMap = Object.create(null); // hasMap, not hashMap >-).\n this._keys = new ObservableArray(undefined, referenceEnhancer, this.name + \".keys()\", true);\n this.interceptors = null;\n this.changeListeners = null;\n this.dehancer = undefined;\n this.merge(initialData);\n }\n ObservableMap.prototype._has = function (key) {\n return typeof this._data[key] !== \"undefined\";\n };\n ObservableMap.prototype.has = function (key) {\n if (!this.isValidKey(key))\n return false;\n key = \"\" + key;\n if (this._hasMap[key])\n return this._hasMap[key].get();\n return this._updateHasMapEntry(key, false).get();\n };\n ObservableMap.prototype.set = function (key, value) {\n this.assertValidKey(key);\n key = \"\" + key;\n var hasKey = this._has(key);\n if (hasInterceptors(this)) {\n var change = interceptChange(this, {\n type: hasKey ? \"update\" : \"add\",\n object: this,\n newValue: value,\n name: key\n });\n if (!change)\n return this;\n value = change.newValue;\n }\n if (hasKey) {\n this._updateValue(key, value);\n }\n else {\n this._addValue(key, value);\n }\n return this;\n };\n ObservableMap.prototype.delete = function (key) {\n var _this = this;\n this.assertValidKey(key);\n key = \"\" + key;\n if (hasInterceptors(this)) {\n var change = interceptChange(this, {\n type: \"delete\",\n object: this,\n name: key\n });\n if (!change)\n return false;\n }\n if (this._has(key)) {\n var notifySpy = isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy\n ? {\n type: \"delete\",\n object: this,\n oldValue: this._data[key].value,\n name: key\n }\n : null;\n if (notifySpy)\n spyReportStart(change);\n transaction(function () {\n _this._keys.remove(key);\n _this._updateHasMapEntry(key, false);\n var observable$$1 = _this._data[key];\n observable$$1.setNewValue(undefined);\n _this._data[key] = undefined;\n });\n if (notify)\n notifyListeners(this, change);\n if (notifySpy)\n spyReportEnd();\n return true;\n }\n return false;\n };\n ObservableMap.prototype._updateHasMapEntry = function (key, value) {\n // optimization; don't fill the hasMap if we are not observing, or remove entry if there are no observers anymore\n var entry = this._hasMap[key];\n if (entry) {\n entry.setNewValue(value);\n }\n else {\n entry = this._hasMap[key] = new ObservableValue(value, referenceEnhancer, this.name + \".\" + key + \"?\", false);\n }\n return entry;\n };\n ObservableMap.prototype._updateValue = function (name, newValue) {\n var observable$$1 = this._data[name];\n newValue = observable$$1.prepareNewValue(newValue);\n if (newValue !== UNCHANGED) {\n var notifySpy = isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy\n ? {\n type: \"update\",\n object: this,\n oldValue: observable$$1.value,\n name: name,\n newValue: newValue\n }\n : null;\n if (notifySpy)\n spyReportStart(change);\n observable$$1.setNewValue(newValue);\n if (notify)\n notifyListeners(this, change);\n if (notifySpy)\n spyReportEnd();\n }\n };\n ObservableMap.prototype._addValue = function (name, newValue) {\n var _this = this;\n transaction(function () {\n var observable$$1 = (_this._data[name] = new ObservableValue(newValue, _this.enhancer, _this.name + \".\" + name, false));\n newValue = observable$$1.value; // value might have been changed\n _this._updateHasMapEntry(name, true);\n _this._keys.push(name);\n });\n var notifySpy = isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy\n ? {\n type: \"add\",\n object: this,\n name: name,\n newValue: newValue\n }\n : null;\n if (notifySpy)\n spyReportStart(change);\n if (notify)\n notifyListeners(this, change);\n if (notifySpy)\n spyReportEnd();\n };\n ObservableMap.prototype.get = function (key) {\n key = \"\" + key;\n if (this.has(key))\n return this.dehanceValue(this._data[key].get());\n return this.dehanceValue(undefined);\n };\n ObservableMap.prototype.dehanceValue = function (value) {\n if (this.dehancer !== undefined) {\n return this.dehancer(value);\n }\n return value;\n };\n ObservableMap.prototype.keys = function () {\n return arrayAsIterator(this._keys.slice());\n };\n ObservableMap.prototype.values = function () {\n return arrayAsIterator(this._keys.map(this.get, this));\n };\n ObservableMap.prototype.entries = function () {\n var _this = this;\n return arrayAsIterator(this._keys.map(function (key) { return [key, _this.get(key)]; }));\n };\n ObservableMap.prototype.forEach = function (callback, thisArg) {\n var _this = this;\n this.keys().forEach(function (key) { return callback.call(thisArg, _this.get(key), key, _this); });\n };\n /** Merge another object into this object, returns this. */\n ObservableMap.prototype.merge = function (other) {\n var _this = this;\n if (isObservableMap(other)) {\n other = other.toJS();\n }\n transaction(function () {\n if (isPlainObject(other))\n Object.keys(other).forEach(function (key) { return _this.set(key, other[key]); });\n else if (Array.isArray(other))\n other.forEach(function (_a) {\n var key = _a[0], value = _a[1];\n return _this.set(key, value);\n });\n else if (isES6Map(other))\n other.forEach(function (value, key) { return _this.set(key, value); });\n else if (other !== null && other !== undefined)\n fail(\"Cannot initialize map from \" + other);\n });\n return this;\n };\n ObservableMap.prototype.clear = function () {\n var _this = this;\n transaction(function () {\n untracked(function () {\n _this.keys().forEach(_this.delete, _this);\n });\n });\n };\n ObservableMap.prototype.replace = function (values) {\n var _this = this;\n transaction(function () {\n // grab all the keys that are present in the new map but not present in the current map\n // and delete them from the map, then merge the new map\n // this will cause reactions only on changed values\n var newKeys = getMapLikeKeys(values);\n var oldKeys = _this.keys();\n var missingKeys = oldKeys.filter(function (k) { return newKeys.indexOf(k) === -1; });\n missingKeys.forEach(function (k) { return _this.delete(k); });\n _this.merge(values);\n });\n return this;\n };\n Object.defineProperty(ObservableMap.prototype, \"size\", {\n get: function () {\n return this._keys.length;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Returns a shallow non observable object clone of this map.\n * Note that the values might still be observable. For a deep clone use mobx.toJS.\n */\n ObservableMap.prototype.toJS = function () {\n var _this = this;\n var res = {};\n this.keys().forEach(function (key) { return (res[key] = _this.get(key)); });\n return res;\n };\n ObservableMap.prototype.toJSON = function () {\n // Used by JSON.stringify\n return this.toJS();\n };\n ObservableMap.prototype.isValidKey = function (key) {\n if (key === null || key === undefined)\n return false;\n if (typeof key === \"string\" || typeof key === \"number\" || typeof key === \"boolean\")\n return true;\n return false;\n };\n ObservableMap.prototype.assertValidKey = function (key) {\n if (!this.isValidKey(key))\n throw new Error(\"[mobx.map] Invalid key: '\" + key + \"', only strings, numbers and booleans are accepted as key in observable maps.\");\n };\n ObservableMap.prototype.toString = function () {\n var _this = this;\n return (this.name +\n \"[{ \" +\n this.keys().map(function (key) { return key + \": \" + (\"\" + _this.get(key)); }).join(\", \") +\n \" }]\");\n };\n /**\n * Observes this object. Triggers for the events 'add', 'update' and 'delete'.\n * See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/observe\n * for callback details\n */\n ObservableMap.prototype.observe = function (listener, fireImmediately) {\n invariant(fireImmediately !== true, getMessage(\"m033\"));\n return registerListener(this, listener);\n };\n ObservableMap.prototype.intercept = function (handler) {\n return registerInterceptor(this, handler);\n };\n return ObservableMap;\n}());\ndeclareIterator(ObservableMap.prototype, function () {\n return this.entries();\n});\nfunction map(initialValues) {\n deprecated(\"`mobx.map` is deprecated, use `new ObservableMap` or `mobx.observable.map` instead\");\n return observable.map(initialValues);\n}\n/* 'var' fixes small-build issue */\nvar isObservableMap = createInstanceofPredicate(\"ObservableMap\", ObservableMap);\n\nvar EMPTY_ARRAY = [];\nObject.freeze(EMPTY_ARRAY);\nfunction getGlobal() {\n return typeof window !== \"undefined\" ? window : global;\n}\nfunction getNextId() {\n return ++globalState.mobxGuid;\n}\nfunction fail(message, thing) {\n invariant(false, message, thing);\n throw \"X\"; // unreachable\n}\nfunction invariant(check, message, thing) {\n if (!check)\n throw new Error(\"[mobx] Invariant failed: \" + message + (thing ? \" in '\" + thing + \"'\" : \"\"));\n}\n/**\n * Prints a deprecation message, but only one time.\n * Returns false if the deprecated message was already printed before\n */\nvar deprecatedMessages = [];\nfunction deprecated(msg) {\n if (deprecatedMessages.indexOf(msg) !== -1)\n return false;\n deprecatedMessages.push(msg);\n console.error(\"[mobx] Deprecated: \" + msg);\n return true;\n}\n/**\n * Makes sure that the provided function is invoked at most once.\n */\nfunction once(func) {\n var invoked = false;\n return function () {\n if (invoked)\n return;\n invoked = true;\n return func.apply(this, arguments);\n };\n}\nvar noop = function () { };\nfunction unique(list) {\n var res = [];\n list.forEach(function (item) {\n if (res.indexOf(item) === -1)\n res.push(item);\n });\n return res;\n}\nfunction joinStrings(things, limit, separator) {\n if (limit === void 0) { limit = 100; }\n if (separator === void 0) { separator = \" - \"; }\n if (!things)\n return \"\";\n var sliced = things.slice(0, limit);\n return \"\" + sliced.join(separator) + (things.length > limit\n ? \" (... and \" + (things.length - limit) + \"more)\"\n : \"\");\n}\nfunction isObject(value) {\n return value !== null && typeof value === \"object\";\n}\nfunction isPlainObject(value) {\n if (value === null || typeof value !== \"object\")\n return false;\n var proto = Object.getPrototypeOf(value);\n return proto === Object.prototype || proto === null;\n}\nfunction objectAssign() {\n var res = arguments[0];\n for (var i = 1, l = arguments.length; i < l; i++) {\n var source = arguments[i];\n for (var key in source)\n if (hasOwnProperty(source, key)) {\n res[key] = source[key];\n }\n }\n return res;\n}\nvar prototypeHasOwnProperty = Object.prototype.hasOwnProperty;\nfunction hasOwnProperty(object, propName) {\n return prototypeHasOwnProperty.call(object, propName);\n}\nfunction makeNonEnumerable(object, propNames) {\n for (var i = 0; i < propNames.length; i++) {\n addHiddenProp(object, propNames[i], object[propNames[i]]);\n }\n}\nfunction addHiddenProp(object, propName, value) {\n Object.defineProperty(object, propName, {\n enumerable: false,\n writable: true,\n configurable: true,\n value: value\n });\n}\nfunction addHiddenFinalProp(object, propName, value) {\n Object.defineProperty(object, propName, {\n enumerable: false,\n writable: false,\n configurable: true,\n value: value\n });\n}\nfunction isPropertyConfigurable(object, prop) {\n var descriptor = Object.getOwnPropertyDescriptor(object, prop);\n return !descriptor || (descriptor.configurable !== false && descriptor.writable !== false);\n}\nfunction assertPropertyConfigurable(object, prop) {\n invariant(isPropertyConfigurable(object, prop), \"Cannot make property '\" + prop + \"' observable, it is not configurable and writable in the target object\");\n}\nfunction createInstanceofPredicate(name, clazz) {\n var propName = \"isMobX\" + name;\n clazz.prototype[propName] = true;\n return function (x) {\n return isObject(x) && x[propName] === true;\n };\n}\nfunction areBothNaN(a, b) {\n return typeof a === \"number\" && typeof b === \"number\" && isNaN(a) && isNaN(b);\n}\n/**\n * Returns whether the argument is an array, disregarding observability.\n */\nfunction isArrayLike(x) {\n return Array.isArray(x) || isObservableArray(x);\n}\nfunction isES6Map(thing) {\n if (getGlobal().Map !== undefined && thing instanceof getGlobal().Map)\n return true;\n return false;\n}\nfunction getMapLikeKeys(map$$1) {\n if (isPlainObject(map$$1))\n return Object.keys(map$$1);\n if (Array.isArray(map$$1))\n return map$$1.map(function (_a) {\n var key = _a[0];\n return key;\n });\n if (isES6Map(map$$1))\n return Array.from(map$$1.keys());\n if (isObservableMap(map$$1))\n return map$$1.keys();\n return fail(\"Cannot get keys from \" + map$$1);\n}\nfunction iteratorToArray(it) {\n var res = [];\n while (true) {\n var r = it.next();\n if (r.done)\n break;\n res.push(r.value);\n }\n return res;\n}\nfunction primitiveSymbol() {\n return (typeof Symbol === \"function\" && Symbol.toPrimitive) || \"@@toPrimitive\";\n}\nfunction toPrimitive(value) {\n return value === null ? null : typeof value === \"object\" ? \"\" + value : value;\n}\n\n/**\n * These values will persist if global state is reset\n */\nvar persistentKeys = [\"mobxGuid\", \"resetId\", \"spyListeners\", \"strictMode\", \"runId\"];\nvar MobXGlobals = /** @class */ (function () {\n function MobXGlobals() {\n /**\n * MobXGlobals version.\n * MobX compatiblity with other versions loaded in memory as long as this version matches.\n * It indicates that the global state still stores similar information\n */\n this.version = 5;\n /**\n * Currently running derivation\n */\n this.trackingDerivation = null;\n /**\n * Are we running a computation currently? (not a reaction)\n */\n this.computationDepth = 0;\n /**\n * Each time a derivation is tracked, it is assigned a unique run-id\n */\n this.runId = 0;\n /**\n * 'guid' for general purpose. Will be persisted amongst resets.\n */\n this.mobxGuid = 0;\n /**\n * Are we in a batch block? (and how many of them)\n */\n this.inBatch = 0;\n /**\n * Observables that don't have observers anymore, and are about to be\n * suspended, unless somebody else accesses it in the same batch\n *\n * @type {IObservable[]}\n */\n this.pendingUnobservations = [];\n /**\n * List of scheduled, not yet executed, reactions.\n */\n this.pendingReactions = [];\n /**\n * Are we currently processing reactions?\n */\n this.isRunningReactions = false;\n /**\n * Is it allowed to change observables at this point?\n * In general, MobX doesn't allow that when running computations and React.render.\n * To ensure that those functions stay pure.\n */\n this.allowStateChanges = true;\n /**\n * If strict mode is enabled, state changes are by default not allowed\n */\n this.strictMode = false;\n /**\n * Used by createTransformer to detect that the global state has been reset.\n */\n this.resetId = 0;\n /**\n * Spy callbacks\n */\n this.spyListeners = [];\n /**\n * Globally attached error handlers that react specifically to errors in reactions\n */\n this.globalReactionErrorHandlers = [];\n }\n return MobXGlobals;\n}());\nvar globalState = new MobXGlobals();\nvar shareGlobalStateCalled = false;\nvar runInIsolationCalled = false;\nvar warnedAboutMultipleInstances = false;\n{\n var global_1 = getGlobal();\n if (!global_1.__mobxInstanceCount) {\n global_1.__mobxInstanceCount = 1;\n }\n else {\n global_1.__mobxInstanceCount++;\n setTimeout(function () {\n if (!shareGlobalStateCalled && !runInIsolationCalled && !warnedAboutMultipleInstances) {\n warnedAboutMultipleInstances = true;\n console.warn(\"[mobx] Warning: there are multiple mobx instances active. This might lead to unexpected results. See https://github.com/mobxjs/mobx/issues/1082 for details.\");\n }\n }, 1);\n }\n}\nfunction isolateGlobalState() {\n runInIsolationCalled = true;\n getGlobal().__mobxInstanceCount--;\n}\nfunction shareGlobalState() {\n // TODO: remove in 4.0; just use peer dependencies instead.\n deprecated(\"Using `shareGlobalState` is not recommended, use peer dependencies instead. See https://github.com/mobxjs/mobx/issues/1082 for details.\");\n shareGlobalStateCalled = true;\n var global = getGlobal();\n var ownState = globalState;\n /**\n * Backward compatibility check\n */\n if (global.__mobservableTrackingStack || global.__mobservableViewStack)\n throw new Error(\"[mobx] An incompatible version of mobservable is already loaded.\");\n if (global.__mobxGlobal && global.__mobxGlobal.version !== ownState.version)\n throw new Error(\"[mobx] An incompatible version of mobx is already loaded.\");\n if (global.__mobxGlobal)\n globalState = global.__mobxGlobal;\n else\n global.__mobxGlobal = ownState;\n}\nfunction getGlobalState() {\n return globalState;\n}\n\n/**\n * For testing purposes only; this will break the internal state of existing observables,\n * but can be used to get back at a stable state after throwing errors\n */\nfunction resetGlobalState() {\n globalState.resetId++;\n var defaultGlobals = new MobXGlobals();\n for (var key in defaultGlobals)\n if (persistentKeys.indexOf(key) === -1)\n globalState[key] = defaultGlobals[key];\n globalState.allowStateChanges = !globalState.strictMode;\n}\n\nfunction getAtom(thing, property) {\n if (typeof thing === \"object\" && thing !== null) {\n if (isObservableArray(thing)) {\n invariant(property === undefined, getMessage(\"m036\"));\n return thing.$mobx.atom;\n }\n if (isObservableMap(thing)) {\n var anyThing = thing;\n if (property === undefined)\n return getAtom(anyThing._keys);\n var observable = anyThing._data[property] || anyThing._hasMap[property];\n invariant(!!observable, \"the entry '\" + property + \"' does not exist in the observable map '\" + getDebugName(thing) + \"'\");\n return observable;\n }\n // Initializers run lazily when transpiling to babel, so make sure they are run...\n runLazyInitializers(thing);\n if (property && !thing.$mobx)\n thing[property]; // See #1072 // TODO: remove in 4.0\n if (isObservableObject(thing)) {\n if (!property)\n return fail(\"please specify a property\");\n var observable = thing.$mobx.values[property];\n invariant(!!observable, \"no observable property '\" + property + \"' found on the observable object '\" + getDebugName(thing) + \"'\");\n return observable;\n }\n if (isAtom(thing) || isComputedValue(thing) || isReaction(thing)) {\n return thing;\n }\n }\n else if (typeof thing === \"function\") {\n if (isReaction(thing.$mobx)) {\n // disposer function\n return thing.$mobx;\n }\n }\n return fail(\"Cannot obtain atom from \" + thing);\n}\nfunction getAdministration(thing, property) {\n invariant(thing, \"Expecting some object\");\n if (property !== undefined)\n return getAdministration(getAtom(thing, property));\n if (isAtom(thing) || isComputedValue(thing) || isReaction(thing))\n return thing;\n if (isObservableMap(thing))\n return thing;\n // Initializers run lazily when transpiling to babel, so make sure they are run...\n runLazyInitializers(thing);\n if (thing.$mobx)\n return thing.$mobx;\n invariant(false, \"Cannot obtain administration from \" + thing);\n}\nfunction getDebugName(thing, property) {\n var named;\n if (property !== undefined)\n named = getAtom(thing, property);\n else if (isObservableObject(thing) || isObservableMap(thing))\n named = getAdministration(thing);\n else\n named = getAtom(thing); // valid for arrays as well\n return named.name;\n}\n\nfunction getDependencyTree(thing, property) {\n return nodeToDependencyTree(getAtom(thing, property));\n}\nfunction nodeToDependencyTree(node) {\n var result = {\n name: node.name\n };\n if (node.observing && node.observing.length > 0)\n result.dependencies = unique(node.observing).map(nodeToDependencyTree);\n return result;\n}\nfunction getObserverTree(thing, property) {\n return nodeToObserverTree(getAtom(thing, property));\n}\nfunction nodeToObserverTree(node) {\n var result = {\n name: node.name\n };\n if (hasObservers(node))\n result.observers = getObservers(node).map(nodeToObserverTree);\n return result;\n}\n\nfunction hasObservers(observable) {\n return observable.observers && observable.observers.length > 0;\n}\nfunction getObservers(observable) {\n return observable.observers;\n}\nfunction addObserver(observable, node) {\n // invariant(node.dependenciesState !== -1, \"INTERNAL ERROR, can add only dependenciesState !== -1\");\n // invariant(observable._observers.indexOf(node) === -1, \"INTERNAL ERROR add already added node\");\n // invariantObservers(observable);\n var l = observable.observers.length;\n if (l) {\n // because object assignment is relatively expensive, let's not store data about index 0.\n observable.observersIndexes[node.__mapid] = l;\n }\n observable.observers[l] = node;\n if (observable.lowestObserverState > node.dependenciesState)\n observable.lowestObserverState = node.dependenciesState;\n // invariantObservers(observable);\n // invariant(observable._observers.indexOf(node) !== -1, \"INTERNAL ERROR didn't add node\");\n}\nfunction removeObserver(observable, node) {\n // invariant(globalState.inBatch > 0, \"INTERNAL ERROR, remove should be called only inside batch\");\n // invariant(observable._observers.indexOf(node) !== -1, \"INTERNAL ERROR remove already removed node\");\n // invariantObservers(observable);\n if (observable.observers.length === 1) {\n // deleting last observer\n observable.observers.length = 0;\n queueForUnobservation(observable);\n }\n else {\n // deleting from _observersIndexes is straight forward, to delete from _observers, let's swap `node` with last element\n var list = observable.observers;\n var map = observable.observersIndexes;\n var filler = list.pop(); // get last element, which should fill the place of `node`, so the array doesn't have holes\n if (filler !== node) {\n // otherwise node was the last element, which already got removed from array\n var index = map[node.__mapid] || 0; // getting index of `node`. this is the only place we actually use map.\n if (index) {\n // map store all indexes but 0, see comment in `addObserver`\n map[filler.__mapid] = index;\n }\n else {\n delete map[filler.__mapid];\n }\n list[index] = filler;\n }\n delete map[node.__mapid];\n }\n // invariantObservers(observable);\n // invariant(observable._observers.indexOf(node) === -1, \"INTERNAL ERROR remove already removed node2\");\n}\nfunction queueForUnobservation(observable) {\n if (!observable.isPendingUnobservation) {\n // invariant(globalState.inBatch > 0, \"INTERNAL ERROR, remove should be called only inside batch\");\n // invariant(observable._observers.length === 0, \"INTERNAL ERROR, should only queue for unobservation unobserved observables\");\n observable.isPendingUnobservation = true;\n globalState.pendingUnobservations.push(observable);\n }\n}\n/**\n * Batch starts a transaction, at least for purposes of memoizing ComputedValues when nothing else does.\n * During a batch `onBecomeUnobserved` will be called at most once per observable.\n * Avoids unnecessary recalculations.\n */\nfunction startBatch() {\n globalState.inBatch++;\n}\nfunction endBatch() {\n if (--globalState.inBatch === 0) {\n runReactions();\n // the batch is actually about to finish, all unobserving should happen here.\n var list = globalState.pendingUnobservations;\n for (var i = 0; i < list.length; i++) {\n var observable = list[i];\n observable.isPendingUnobservation = false;\n if (observable.observers.length === 0) {\n observable.onBecomeUnobserved();\n // NOTE: onBecomeUnobserved might push to `pendingUnobservations`\n }\n }\n globalState.pendingUnobservations = [];\n }\n}\nfunction reportObserved(observable) {\n var derivation = globalState.trackingDerivation;\n if (derivation !== null) {\n /**\n * Simple optimization, give each derivation run an unique id (runId)\n * Check if last time this observable was accessed the same runId is used\n * if this is the case, the relation is already known\n */\n if (derivation.runId !== observable.lastAccessedBy) {\n observable.lastAccessedBy = derivation.runId;\n derivation.newObserving[derivation.unboundDepsCount++] = observable;\n }\n }\n else if (observable.observers.length === 0) {\n queueForUnobservation(observable);\n }\n}\n/**\n * NOTE: current propagation mechanism will in case of self reruning autoruns behave unexpectedly\n * It will propagate changes to observers from previous run\n * It's hard or maybe impossible (with reasonable perf) to get it right with current approach\n * Hopefully self reruning autoruns aren't a feature people should depend on\n * Also most basic use cases should be ok\n */\n// Called by Atom when its value changes\nfunction propagateChanged(observable) {\n // invariantLOS(observable, \"changed start\");\n if (observable.lowestObserverState === IDerivationState.STALE)\n return;\n observable.lowestObserverState = IDerivationState.STALE;\n var observers = observable.observers;\n var i = observers.length;\n while (i--) {\n var d = observers[i];\n if (d.dependenciesState === IDerivationState.UP_TO_DATE) {\n if (d.isTracing !== TraceMode.NONE) {\n logTraceInfo(d, observable);\n }\n d.onBecomeStale();\n }\n d.dependenciesState = IDerivationState.STALE;\n }\n // invariantLOS(observable, \"changed end\");\n}\n// Called by ComputedValue when it recalculate and its value changed\nfunction propagateChangeConfirmed(observable) {\n // invariantLOS(observable, \"confirmed start\");\n if (observable.lowestObserverState === IDerivationState.STALE)\n return;\n observable.lowestObserverState = IDerivationState.STALE;\n var observers = observable.observers;\n var i = observers.length;\n while (i--) {\n var d = observers[i];\n if (d.dependenciesState === IDerivationState.POSSIBLY_STALE)\n d.dependenciesState = IDerivationState.STALE;\n else if (d.dependenciesState === IDerivationState.UP_TO_DATE // this happens during computing of `d`, just keep lowestObserverState up to date.\n )\n observable.lowestObserverState = IDerivationState.UP_TO_DATE;\n }\n // invariantLOS(observable, \"confirmed end\");\n}\n// Used by computed when its dependency changed, but we don't wan't to immediately recompute.\nfunction propagateMaybeChanged(observable) {\n // invariantLOS(observable, \"maybe start\");\n if (observable.lowestObserverState !== IDerivationState.UP_TO_DATE)\n return;\n observable.lowestObserverState = IDerivationState.POSSIBLY_STALE;\n var observers = observable.observers;\n var i = observers.length;\n while (i--) {\n var d = observers[i];\n if (d.dependenciesState === IDerivationState.UP_TO_DATE) {\n d.dependenciesState = IDerivationState.POSSIBLY_STALE;\n if (d.isTracing !== TraceMode.NONE) {\n logTraceInfo(d, observable);\n }\n d.onBecomeStale();\n }\n }\n // invariantLOS(observable, \"maybe end\");\n}\nfunction logTraceInfo(derivation, observable) {\n console.log(\"[mobx.trace] '\" + derivation.name + \"' is invalidated due to a change in: '\" + observable.name + \"'\");\n if (derivation.isTracing === TraceMode.BREAK) {\n var lines = [];\n printDepTree(getDependencyTree(derivation), lines, 1);\n // prettier-ignore\n new Function(\"debugger;\\n/*\\nTracing '\" + derivation.name + \"'\\n\\nYou are entering this break point because derivation '\" + derivation.name + \"' is being traced and '\" + observable.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\" + (derivation instanceof ComputedValue ? derivation.derivation.toString() : \"\") + \"\\n\\nThe dependencies for this derivation are:\\n\\n\" + lines.join(\"\\n\") + \"\\n*/\\n \")();\n }\n}\nfunction printDepTree(tree, lines, depth) {\n if (lines.length >= 1000) {\n lines.push(\"(and many more)\");\n return;\n }\n lines.push(\"\" + new Array(depth).join(\"\\t\") + tree.name); // MWE: not the fastest, but the easiest way :)\n if (tree.dependencies)\n tree.dependencies.forEach(function (child) { return printDepTree(child, lines, depth + 1); });\n}\n\nvar IDerivationState;\n(function (IDerivationState) {\n // before being run or (outside batch and not being observed)\n // at this point derivation is not holding any data about dependency tree\n IDerivationState[IDerivationState[\"NOT_TRACKING\"] = -1] = \"NOT_TRACKING\";\n // no shallow dependency changed since last computation\n // won't recalculate derivation\n // this is what makes mobx fast\n IDerivationState[IDerivationState[\"UP_TO_DATE\"] = 0] = \"UP_TO_DATE\";\n // some deep dependency changed, but don't know if shallow dependency changed\n // will require to check first if UP_TO_DATE or POSSIBLY_STALE\n // currently only ComputedValue will propagate POSSIBLY_STALE\n //\n // having this state is second big optimization:\n // don't have to recompute on every dependency change, but only when it's needed\n IDerivationState[IDerivationState[\"POSSIBLY_STALE\"] = 1] = \"POSSIBLY_STALE\";\n // A shallow dependency has changed since last computation and the derivation\n // will need to recompute when it's needed next.\n IDerivationState[IDerivationState[\"STALE\"] = 2] = \"STALE\";\n})(IDerivationState || (IDerivationState = {}));\nvar TraceMode;\n(function (TraceMode) {\n TraceMode[TraceMode[\"NONE\"] = 0] = \"NONE\";\n TraceMode[TraceMode[\"LOG\"] = 1] = \"LOG\";\n TraceMode[TraceMode[\"BREAK\"] = 2] = \"BREAK\";\n})(TraceMode || (TraceMode = {}));\nvar CaughtException = /** @class */ (function () {\n function CaughtException(cause) {\n this.cause = cause;\n // Empty\n }\n return CaughtException;\n}());\nfunction isCaughtException(e) {\n return e instanceof CaughtException;\n}\n/**\n * Finds out whether any dependency of the derivation has actually changed.\n * If dependenciesState is 1 then it will recalculate dependencies,\n * if any dependency changed it will propagate it by changing dependenciesState to 2.\n *\n * By iterating over the dependencies in the same order that they were reported and\n * stopping on the first change, all the recalculations are only called for ComputedValues\n * that will be tracked by derivation. That is because we assume that if the first x\n * dependencies of the derivation doesn't change then the derivation should run the same way\n * up until accessing x-th dependency.\n */\nfunction shouldCompute(derivation) {\n switch (derivation.dependenciesState) {\n case IDerivationState.UP_TO_DATE:\n return false;\n case IDerivationState.NOT_TRACKING:\n case IDerivationState.STALE:\n return true;\n case IDerivationState.POSSIBLY_STALE: {\n var prevUntracked = untrackedStart(); // no need for those computeds to be reported, they will be picked up in trackDerivedFunction.\n var obs = derivation.observing, l = obs.length;\n for (var i = 0; i < l; i++) {\n var obj = obs[i];\n if (isComputedValue(obj)) {\n try {\n obj.get();\n }\n catch (e) {\n // we are not interested in the value *or* exception at this moment, but if there is one, notify all\n untrackedEnd(prevUntracked);\n return true;\n }\n // if ComputedValue `obj` actually changed it will be computed and propagated to its observers.\n // and `derivation` is an observer of `obj`\n if (derivation.dependenciesState === IDerivationState.STALE) {\n untrackedEnd(prevUntracked);\n return true;\n }\n }\n }\n changeDependenciesStateTo0(derivation);\n untrackedEnd(prevUntracked);\n return false;\n }\n }\n}\nfunction isComputingDerivation() {\n return globalState.trackingDerivation !== null; // filter out actions inside computations\n}\nfunction checkIfStateModificationsAreAllowed(atom) {\n var hasObservers$$1 = atom.observers.length > 0;\n // Should never be possible to change an observed observable from inside computed, see #798\n if (globalState.computationDepth > 0 && hasObservers$$1)\n fail(getMessage(\"m031\") + atom.name);\n // Should not be possible to change observed state outside strict mode, except during initialization, see #563\n if (!globalState.allowStateChanges && hasObservers$$1)\n fail(getMessage(globalState.strictMode ? \"m030a\" : \"m030b\") + atom.name);\n}\n/**\n * Executes the provided function `f` and tracks which observables are being accessed.\n * The tracking information is stored on the `derivation` object and the derivation is registered\n * as observer of any of the accessed observables.\n */\nfunction trackDerivedFunction(derivation, f, context) {\n // pre allocate array allocation + room for variation in deps\n // array will be trimmed by bindDependencies\n changeDependenciesStateTo0(derivation);\n derivation.newObserving = new Array(derivation.observing.length + 100);\n derivation.unboundDepsCount = 0;\n derivation.runId = ++globalState.runId;\n var prevTracking = globalState.trackingDerivation;\n globalState.trackingDerivation = derivation;\n var result;\n try {\n result = f.call(context);\n }\n catch (e) {\n result = new CaughtException(e);\n }\n globalState.trackingDerivation = prevTracking;\n bindDependencies(derivation);\n return result;\n}\n/**\n * diffs newObserving with observing.\n * update observing to be newObserving with unique observables\n * notify observers that become observed/unobserved\n */\nfunction bindDependencies(derivation) {\n // invariant(derivation.dependenciesState !== IDerivationState.NOT_TRACKING, \"INTERNAL ERROR bindDependencies expects derivation.dependenciesState !== -1\");\n var prevObserving = derivation.observing;\n var observing = (derivation.observing = derivation.newObserving);\n var lowestNewObservingDerivationState = IDerivationState.UP_TO_DATE;\n // Go through all new observables and check diffValue: (this list can contain duplicates):\n // 0: first occurrence, change to 1 and keep it\n // 1: extra occurrence, drop it\n var i0 = 0, l = derivation.unboundDepsCount;\n for (var i = 0; i < l; i++) {\n var dep = observing[i];\n if (dep.diffValue === 0) {\n dep.diffValue = 1;\n if (i0 !== i)\n observing[i0] = dep;\n i0++;\n }\n // Upcast is 'safe' here, because if dep is IObservable, `dependenciesState` will be undefined,\n // not hitting the condition\n if (dep.dependenciesState > lowestNewObservingDerivationState) {\n lowestNewObservingDerivationState = dep.dependenciesState;\n }\n }\n observing.length = i0;\n derivation.newObserving = null; // newObserving shouldn't be needed outside tracking (statement moved down to work around FF bug, see #614)\n // Go through all old observables and check diffValue: (it is unique after last bindDependencies)\n // 0: it's not in new observables, unobserve it\n // 1: it keeps being observed, don't want to notify it. change to 0\n l = prevObserving.length;\n while (l--) {\n var dep = prevObserving[l];\n if (dep.diffValue === 0) {\n removeObserver(dep, derivation);\n }\n dep.diffValue = 0;\n }\n // Go through all new observables and check diffValue: (now it should be unique)\n // 0: it was set to 0 in last loop. don't need to do anything.\n // 1: it wasn't observed, let's observe it. set back to 0\n while (i0--) {\n var dep = observing[i0];\n if (dep.diffValue === 1) {\n dep.diffValue = 0;\n addObserver(dep, derivation);\n }\n }\n // Some new observed derivations may become stale during this derivation computation\n // so they have had no chance to propagate staleness (#916)\n if (lowestNewObservingDerivationState !== IDerivationState.UP_TO_DATE) {\n derivation.dependenciesState = lowestNewObservingDerivationState;\n derivation.onBecomeStale();\n }\n}\nfunction clearObserving(derivation) {\n // invariant(globalState.inBatch > 0, \"INTERNAL ERROR clearObserving should be called only inside batch\");\n var obs = derivation.observing;\n derivation.observing = [];\n var i = obs.length;\n while (i--)\n removeObserver(obs[i], derivation);\n derivation.dependenciesState = IDerivationState.NOT_TRACKING;\n}\nfunction untracked(action) {\n var prev = untrackedStart();\n var res = action();\n untrackedEnd(prev);\n return res;\n}\nfunction untrackedStart() {\n var prev = globalState.trackingDerivation;\n globalState.trackingDerivation = null;\n return prev;\n}\nfunction untrackedEnd(prev) {\n globalState.trackingDerivation = prev;\n}\n/**\n * needed to keep `lowestObserverState` correct. when changing from (2 or 1) to 0\n *\n */\nfunction changeDependenciesStateTo0(derivation) {\n if (derivation.dependenciesState === IDerivationState.UP_TO_DATE)\n return;\n derivation.dependenciesState = IDerivationState.UP_TO_DATE;\n var obs = derivation.observing;\n var i = obs.length;\n while (i--)\n obs[i].lowestObserverState = IDerivationState.UP_TO_DATE;\n}\n\nfunction log(msg) {\n console.log(msg);\n return msg;\n}\nfunction whyRun(thing, prop) {\n deprecated(\"`whyRun` is deprecated in favor of `trace`\");\n thing = getAtomFromArgs(arguments);\n if (!thing)\n return log(getMessage(\"m024\"));\n if (isComputedValue(thing) || isReaction(thing))\n return log(thing.whyRun());\n return fail(getMessage(\"m025\"));\n}\nfunction trace() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var enterBreakPoint = false;\n if (typeof args[args.length - 1] === \"boolean\")\n enterBreakPoint = args.pop();\n var derivation = getAtomFromArgs(args);\n if (!derivation) {\n return fail(\"'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly\");\n }\n if (derivation.isTracing === TraceMode.NONE) {\n console.log(\"[mobx.trace] '\" + derivation.name + \"' tracing enabled\");\n }\n derivation.isTracing = enterBreakPoint ? TraceMode.BREAK : TraceMode.LOG;\n}\nfunction getAtomFromArgs(args) {\n switch (args.length) {\n case 0:\n return globalState.trackingDerivation;\n case 1:\n return getAtom(args[0]);\n case 2:\n return getAtom(args[0], args[1]);\n }\n}\n\nvar Reaction = /** @class */ (function () {\n function Reaction(name, onInvalidate) {\n if (name === void 0) { name = \"Reaction@\" + getNextId(); }\n this.name = name;\n this.onInvalidate = onInvalidate;\n this.observing = []; // nodes we are looking at. Our value depends on these nodes\n this.newObserving = [];\n this.dependenciesState = IDerivationState.NOT_TRACKING;\n this.diffValue = 0;\n this.runId = 0;\n this.unboundDepsCount = 0;\n this.__mapid = \"#\" + getNextId();\n this.isDisposed = false;\n this._isScheduled = false;\n this._isTrackPending = false;\n this._isRunning = false;\n this.isTracing = TraceMode.NONE;\n }\n Reaction.prototype.onBecomeStale = function () {\n this.schedule();\n };\n Reaction.prototype.schedule = function () {\n if (!this._isScheduled) {\n this._isScheduled = true;\n globalState.pendingReactions.push(this);\n runReactions();\n }\n };\n Reaction.prototype.isScheduled = function () {\n return this._isScheduled;\n };\n /**\n * internal, use schedule() if you intend to kick off a reaction\n */\n Reaction.prototype.runReaction = function () {\n if (!this.isDisposed) {\n startBatch();\n this._isScheduled = false;\n if (shouldCompute(this)) {\n this._isTrackPending = true;\n this.onInvalidate();\n if (this._isTrackPending && isSpyEnabled()) {\n // onInvalidate didn't trigger track right away..\n spyReport({\n object: this,\n type: \"scheduled-reaction\"\n });\n }\n }\n endBatch();\n }\n };\n Reaction.prototype.track = function (fn) {\n startBatch();\n var notify = isSpyEnabled();\n var startTime;\n if (notify) {\n startTime = Date.now();\n spyReportStart({\n object: this,\n type: \"reaction\",\n fn: fn\n });\n }\n this._isRunning = true;\n var result = trackDerivedFunction(this, fn, undefined);\n this._isRunning = false;\n this._isTrackPending = false;\n if (this.isDisposed) {\n // disposed during last run. Clean up everything that was bound after the dispose call.\n clearObserving(this);\n }\n if (isCaughtException(result))\n this.reportExceptionInDerivation(result.cause);\n if (notify) {\n spyReportEnd({\n time: Date.now() - startTime\n });\n }\n endBatch();\n };\n Reaction.prototype.reportExceptionInDerivation = function (error) {\n var _this = this;\n if (this.errorHandler) {\n this.errorHandler(error, this);\n return;\n }\n var message = \"[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '\" + this;\n var messageToUser = getMessage(\"m037\");\n console.error(message || messageToUser /* latter will not be true, make sure uglify doesn't remove */, error);\n /** If debugging brought you here, please, read the above message :-). Tnx! */\n if (isSpyEnabled()) {\n spyReport({\n type: \"error\",\n message: message,\n error: error,\n object: this\n });\n }\n globalState.globalReactionErrorHandlers.forEach(function (f) { return f(error, _this); });\n };\n Reaction.prototype.dispose = function () {\n if (!this.isDisposed) {\n this.isDisposed = true;\n if (!this._isRunning) {\n // if disposed while running, clean up later. Maybe not optimal, but rare case\n startBatch();\n clearObserving(this);\n endBatch();\n }\n }\n };\n Reaction.prototype.getDisposer = function () {\n var r = this.dispose.bind(this);\n r.$mobx = this;\n r.onError = registerErrorHandler;\n return r;\n };\n Reaction.prototype.toString = function () {\n return \"Reaction[\" + this.name + \"]\";\n };\n Reaction.prototype.whyRun = function () {\n var observing = unique(this._isRunning ? this.newObserving : this.observing).map(function (dep) { return dep.name; });\n return \"\\nWhyRun? reaction '\" + this.name + \"':\\n * Status: [\" + (this.isDisposed\n ? \"stopped\"\n : this._isRunning ? \"running\" : this.isScheduled() ? \"scheduled\" : \"idle\") + \"]\\n * This reaction will re-run if any of the following observables changes:\\n \" + joinStrings(observing) + \"\\n \" + (this._isRunning\n ? \" (... or any observable accessed during the remainder of the current run)\"\n : \"\") + \"\\n\\t\" + getMessage(\"m038\") + \"\\n\";\n };\n Reaction.prototype.trace = function (enterBreakPoint) {\n if (enterBreakPoint === void 0) { enterBreakPoint = false; }\n trace(this, enterBreakPoint);\n };\n return Reaction;\n}());\nfunction registerErrorHandler(handler) {\n invariant(this && this.$mobx && isReaction(this.$mobx), \"Invalid `this`\");\n invariant(!this.$mobx.errorHandler, \"Only one onErrorHandler can be registered\");\n this.$mobx.errorHandler = handler;\n}\nfunction onReactionError(handler) {\n globalState.globalReactionErrorHandlers.push(handler);\n return function () {\n var idx = globalState.globalReactionErrorHandlers.indexOf(handler);\n if (idx >= 0)\n globalState.globalReactionErrorHandlers.splice(idx, 1);\n };\n}\n/**\n * Magic number alert!\n * Defines within how many times a reaction is allowed to re-trigger itself\n * until it is assumed that this is gonna be a never ending loop...\n */\nvar MAX_REACTION_ITERATIONS = 100;\nvar reactionScheduler = function (f) { return f(); };\nfunction runReactions() {\n // Trampolining, if runReactions are already running, new reactions will be picked up\n if (globalState.inBatch > 0 || globalState.isRunningReactions)\n return;\n reactionScheduler(runReactionsHelper);\n}\nfunction runReactionsHelper() {\n globalState.isRunningReactions = true;\n var allReactions = globalState.pendingReactions;\n var iterations = 0;\n // While running reactions, new reactions might be triggered.\n // Hence we work with two variables and check whether\n // we converge to no remaining reactions after a while.\n while (allReactions.length > 0) {\n if (++iterations === MAX_REACTION_ITERATIONS) {\n console.error(\"Reaction doesn't converge to a stable state after \" + MAX_REACTION_ITERATIONS + \" iterations.\" +\n (\" Probably there is a cycle in the reactive function: \" + allReactions[0]));\n allReactions.splice(0); // clear reactions\n }\n var remainingReactions = allReactions.splice(0);\n for (var i = 0, l = remainingReactions.length; i < l; i++)\n remainingReactions[i].runReaction();\n }\n globalState.isRunningReactions = false;\n}\nvar isReaction = createInstanceofPredicate(\"Reaction\", Reaction);\nfunction setReactionScheduler(fn) {\n var baseScheduler = reactionScheduler;\n reactionScheduler = function (f) { return fn(function () { return baseScheduler(f); }); };\n}\n\nfunction asReference(value) {\n deprecated(\"asReference is deprecated, use observable.ref instead\");\n return observable.ref(value);\n}\nfunction asStructure(value) {\n deprecated(\"asStructure is deprecated. Use observable.struct, computed.struct or reaction options instead.\");\n return observable.struct(value);\n}\nfunction asFlat(value) {\n deprecated(\"asFlat is deprecated, use observable.shallow instead\");\n return observable.shallow(value);\n}\nfunction asMap(data) {\n deprecated(\"asMap is deprecated, use observable.map or observable.shallowMap instead\");\n return observable.map(data || {});\n}\n\nfunction createComputedDecorator(equals) {\n return createClassPropertyDecorator(function (target, name, _, __, originalDescriptor) {\n invariant(typeof originalDescriptor !== \"undefined\", getMessage(\"m009\"));\n invariant(typeof originalDescriptor.get === \"function\", getMessage(\"m010\"));\n var adm = asObservableObject(target, \"\");\n defineComputedProperty(adm, name, originalDescriptor.get, originalDescriptor.set, equals, false);\n }, function (name) {\n var observable = this.$mobx.values[name];\n if (observable === undefined // See #505\n )\n return undefined;\n return observable.get();\n }, function (name, value) {\n this.$mobx.values[name].set(value);\n }, false, false);\n}\nvar computedDecorator = createComputedDecorator(comparer.default);\nvar computedStructDecorator = createComputedDecorator(comparer.structural);\n/**\n * Decorator for class properties: @computed get value() { return expr; }.\n * For legacy purposes also invokable as ES5 observable created: `computed(() => expr)`;\n */\nvar computed = function computed(arg1, arg2, arg3) {\n if (typeof arg2 === \"string\") {\n return computedDecorator.apply(null, arguments);\n }\n invariant(typeof arg1 === \"function\", getMessage(\"m011\"));\n invariant(arguments.length < 3, getMessage(\"m012\"));\n var opts = typeof arg2 === \"object\" ? arg2 : {};\n opts.setter = typeof arg2 === \"function\" ? arg2 : opts.setter;\n var equals = opts.equals\n ? opts.equals\n : opts.compareStructural || opts.struct ? comparer.structural : comparer.default;\n return new ComputedValue(arg1, opts.context, equals, opts.name || arg1.name || \"\", opts.setter);\n};\ncomputed.struct = computedStructDecorator;\ncomputed.equals = createComputedDecorator;\n\nfunction isComputed(value, property) {\n if (value === null || value === undefined)\n return false;\n if (property !== undefined) {\n if (isObservableObject(value) === false)\n return false;\n if (!value.$mobx.values[property])\n return false;\n var atom = getAtom(value, property);\n return isComputedValue(atom);\n }\n return isComputedValue(value);\n}\n\nfunction observe(thing, propOrCb, cbOrFire, fireImmediately) {\n if (typeof cbOrFire === \"function\")\n return observeObservableProperty(thing, propOrCb, cbOrFire, fireImmediately);\n else\n return observeObservable(thing, propOrCb, cbOrFire);\n}\nfunction observeObservable(thing, listener, fireImmediately) {\n return getAdministration(thing).observe(listener, fireImmediately);\n}\nfunction observeObservableProperty(thing, property, listener, fireImmediately) {\n return getAdministration(thing, property).observe(listener, fireImmediately);\n}\n\nfunction intercept(thing, propOrHandler, handler) {\n if (typeof handler === \"function\")\n return interceptProperty(thing, propOrHandler, handler);\n else\n return interceptInterceptable(thing, propOrHandler);\n}\nfunction interceptInterceptable(thing, handler) {\n return getAdministration(thing).intercept(handler);\n}\nfunction interceptProperty(thing, property, handler) {\n return getAdministration(thing, property).intercept(handler);\n}\n\n/**\n * expr can be used to create temporarily views inside views.\n * This can be improved to improve performance if a value changes often, but usually doesn't affect the outcome of an expression.\n *\n * In the following example the expression prevents that a component is rerender _each time_ the selection changes;\n * instead it will only rerenders when the current todo is (de)selected.\n *\n * reactiveComponent((props) => {\n * const todo = props.todo;\n * const isSelected = mobx.expr(() => props.viewState.selection === todo);\n * return
{todo.title}
\n * });\n *\n */\nfunction expr(expr, scope) {\n if (!isComputingDerivation())\n console.warn(getMessage(\"m013\"));\n // optimization: would be more efficient if the expr itself wouldn't be evaluated first on the next change, but just a 'changed' signal would be fired\n return computed(expr, { context: scope }).get();\n}\n\nfunction toJS(source, detectCycles, __alreadySeen) {\n if (detectCycles === void 0) { detectCycles = true; }\n if (__alreadySeen === void 0) { __alreadySeen = []; }\n // optimization: using ES6 map would be more efficient!\n // optimization: lift this function outside toJS, this makes recursion expensive\n function cache(value) {\n if (detectCycles)\n __alreadySeen.push([source, value]);\n return value;\n }\n if (isObservable(source)) {\n if (detectCycles && __alreadySeen === null)\n __alreadySeen = [];\n if (detectCycles && source !== null && typeof source === \"object\") {\n for (var i = 0, l = __alreadySeen.length; i < l; i++)\n if (__alreadySeen[i][0] === source)\n return __alreadySeen[i][1];\n }\n if (isObservableArray(source)) {\n var res = cache([]);\n var toAdd = source.map(function (value) { return toJS(value, detectCycles, __alreadySeen); });\n res.length = toAdd.length;\n for (var i = 0, l = toAdd.length; i < l; i++)\n res[i] = toAdd[i];\n return res;\n }\n if (isObservableObject(source)) {\n var res = cache({});\n for (var key in source)\n res[key] = toJS(source[key], detectCycles, __alreadySeen);\n return res;\n }\n if (isObservableMap(source)) {\n var res_1 = cache({});\n source.forEach(function (value, key) { return (res_1[key] = toJS(value, detectCycles, __alreadySeen)); });\n return res_1;\n }\n if (isObservableValue(source))\n return toJS(source.get(), detectCycles, __alreadySeen);\n }\n return source;\n}\n\nfunction createTransformer(transformer, onCleanup) {\n invariant(typeof transformer === \"function\" && transformer.length < 2, \"createTransformer expects a function that accepts one argument\");\n // Memoizes: object id -> reactive view that applies transformer to the object\n var objectCache = {};\n // If the resetId changes, we will clear the object cache, see #163\n // This construction is used to avoid leaking refs to the objectCache directly\n var resetId = globalState.resetId;\n // Local transformer class specifically for this transformer\n var Transformer = /** @class */ (function (_super) {\n __extends(Transformer, _super);\n function Transformer(sourceIdentifier, sourceObject) {\n var _this = _super.call(this, function () { return transformer(sourceObject); }, undefined, comparer.default, \"Transformer-\" + transformer.name + \"-\" + sourceIdentifier, undefined) || this;\n _this.sourceIdentifier = sourceIdentifier;\n _this.sourceObject = sourceObject;\n return _this;\n }\n Transformer.prototype.onBecomeUnobserved = function () {\n var lastValue = this.value;\n _super.prototype.onBecomeUnobserved.call(this);\n delete objectCache[this.sourceIdentifier];\n if (onCleanup)\n onCleanup(lastValue, this.sourceObject);\n };\n return Transformer;\n }(ComputedValue));\n return function (object) {\n if (resetId !== globalState.resetId) {\n objectCache = {};\n resetId = globalState.resetId;\n }\n var identifier = getMemoizationId(object);\n var reactiveTransformer = objectCache[identifier];\n if (reactiveTransformer)\n return reactiveTransformer.get();\n // Not in cache; create a reactive view\n reactiveTransformer = objectCache[identifier] = new Transformer(identifier, object);\n return reactiveTransformer.get();\n };\n}\nfunction getMemoizationId(object) {\n if (typeof object === \"string\" || typeof object === \"number\")\n return object;\n if (object === null || typeof object !== \"object\")\n throw new Error(\"[mobx] transform expected some kind of object or primitive value, got: \" + object);\n var tid = object.$transformId;\n if (tid === undefined) {\n tid = getNextId();\n addHiddenProp(object, \"$transformId\", tid);\n }\n return tid;\n}\n\nfunction interceptReads(thing, propOrHandler, handler) {\n var target;\n if (isObservableMap(thing) || isObservableArray(thing) || isObservableValue(thing)) {\n target = getAdministration(thing);\n }\n else if (isObservableObject(thing)) {\n if (typeof propOrHandler !== \"string\")\n return fail(\"InterceptReads can only be used with a specific property, not with an object in general\");\n target = getAdministration(thing, propOrHandler);\n }\n else {\n return fail(\"Expected observable map, object or array as first array\");\n }\n if (target.dehancer !== undefined)\n return fail(\"An intercept reader was already established\");\n target.dehancer = typeof propOrHandler === \"function\" ? propOrHandler : handler;\n return function () {\n target.dehancer = undefined;\n };\n}\n\n/**\n * (c) Michel Weststrate 2015 - 2016\n * MIT Licensed\n *\n * Welcome to the mobx sources! To get an global overview of how MobX internally works,\n * this is a good place to start:\n * https://medium.com/@mweststrate/becoming-fully-reactive-an-in-depth-explanation-of-mobservable-55995262a254#.xvbh6qd74\n *\n * Source folders:\n * ===============\n *\n * - api/ Most of the public static methods exposed by the module can be found here.\n * - core/ Implementation of the MobX algorithm; atoms, derivations, reactions, dependency trees, optimizations. Cool stuff can be found here.\n * - types/ All the magic that is need to have observable objects, arrays and values is in this folder. Including the modifiers like `asFlat`.\n * - utils/ Utility stuff.\n *\n */\nvar extras = {\n allowStateChanges: allowStateChanges,\n deepEqual: deepEqual,\n getAtom: getAtom,\n getDebugName: getDebugName,\n getDependencyTree: getDependencyTree,\n getAdministration: getAdministration,\n getGlobalState: getGlobalState,\n getObserverTree: getObserverTree,\n interceptReads: interceptReads,\n isComputingDerivation: isComputingDerivation,\n isSpyEnabled: isSpyEnabled,\n onReactionError: onReactionError,\n reserveArrayBuffer: reserveArrayBuffer,\n resetGlobalState: resetGlobalState,\n isolateGlobalState: isolateGlobalState,\n shareGlobalState: shareGlobalState,\n spyReport: spyReport,\n spyReportEnd: spyReportEnd,\n spyReportStart: spyReportStart,\n setReactionScheduler: setReactionScheduler\n};\nvar everything = {\n Reaction: Reaction,\n untracked: untracked,\n Atom: Atom,\n BaseAtom: BaseAtom,\n useStrict: useStrict,\n isStrictModeEnabled: isStrictModeEnabled,\n spy: spy,\n comparer: comparer,\n asReference: asReference,\n asFlat: asFlat,\n asStructure: asStructure,\n asMap: asMap,\n isModifierDescriptor: isModifierDescriptor,\n isObservableObject: isObservableObject,\n isBoxedObservable: isObservableValue,\n isObservableArray: isObservableArray,\n ObservableMap: ObservableMap,\n isObservableMap: isObservableMap,\n map: map,\n transaction: transaction,\n observable: observable,\n computed: computed,\n isObservable: isObservable,\n isComputed: isComputed,\n extendObservable: extendObservable,\n extendShallowObservable: extendShallowObservable,\n observe: observe,\n intercept: intercept,\n autorun: autorun,\n autorunAsync: autorunAsync,\n when: when,\n reaction: reaction,\n action: action,\n isAction: isAction,\n runInAction: runInAction,\n expr: expr,\n toJS: toJS,\n createTransformer: createTransformer,\n whyRun: whyRun,\n isArrayLike: isArrayLike,\n extras: extras\n};\nvar warnedAboutDefaultExport = false;\nvar _loop_1 = function (p) {\n var val = everything[p];\n Object.defineProperty(everything, p, {\n get: function () {\n if (!warnedAboutDefaultExport) {\n warnedAboutDefaultExport = true;\n console.warn(\"Using default export (`import mobx from 'mobx'`) is deprecated \" +\n \"and won’t work in mobx@4.0.0\\n\" +\n \"Use `import * as mobx from 'mobx'` instead\");\n }\n return val;\n }\n });\n};\nfor (var p in everything) {\n _loop_1(p);\n}\nif (typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__ === \"object\") {\n __MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({ spy: spy, extras: extras });\n}\n\nexport { extras, Reaction, untracked, IDerivationState, Atom, BaseAtom, useStrict, isStrictModeEnabled, spy, comparer, asReference, asFlat, asStructure, asMap, isModifierDescriptor, isObservableObject, isObservableValue as isBoxedObservable, isObservableArray, ObservableMap, isObservableMap, map, transaction, observable, computed, isObservable, isComputed, extendObservable, extendShallowObservable, observe, intercept, autorun, autorunAsync, when, reaction, action, isAction, runInAction, expr, toJS, createTransformer, whyRun, trace, isArrayLike };export default everything;\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/mobx/lib/mobx.module.js","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Provider = exports.inject = exports.connect = exports.useStaticRendering = exports.Observer = exports.observer = undefined;\n\nvar _observer = require('./observer');\n\nObject.defineProperty(exports, 'observer', {\n enumerable: true,\n get: function get() {\n return _observer.observer;\n }\n});\nObject.defineProperty(exports, 'Observer', {\n enumerable: true,\n get: function get() {\n return _observer.Observer;\n }\n});\nObject.defineProperty(exports, 'useStaticRendering', {\n enumerable: true,\n get: function get() {\n return _observer.useStaticRendering;\n }\n});\n\nvar _connect = require('./connect');\n\nObject.defineProperty(exports, 'connect', {\n enumerable: true,\n get: function get() {\n return _connect.connect;\n }\n});\n\nvar _inject = require('./inject');\n\nObject.defineProperty(exports, 'inject', {\n enumerable: true,\n get: function get() {\n return _inject.inject;\n }\n});\n\nvar _Provider = require('./Provider');\n\nObject.defineProperty(exports, 'Provider', {\n enumerable: true,\n get: function get() {\n return _Provider.Provider;\n }\n});\n\nvar _mobx = require('mobx');\n\nvar _preact = require('preact');\n\nif (!_preact.Component) {\n throw new Error('mobx-preact requires Preact to be available');\n}\nif (!_mobx.extras) {\n throw new Error('mobx-preact requires mobx to be available');\n}\n\n\n// WEBPACK FOOTER //\n// ../node_modules/mobx-preact/lib/index.js","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Observer = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nexports.useStaticRendering = useStaticRendering;\nexports.observer = observer;\n\nvar _mobx = require('mobx');\n\nvar _preact = require('preact');\n\nvar _utils = require('./utils/utils');\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar isUsingStaticRendering = false;\n\nvar logger = console; // eslint-disable-line no-console\n\nfunction useStaticRendering(useStaticRendering) {\n isUsingStaticRendering = useStaticRendering;\n}\n\n/**\n Workaround\n\n allowStateChanges from mobX must be patched so that props, state and args are passed to the render() function\n */\n\nfunction allowStateChangesStart(allowStateChanges) {\n var prev = _mobx.extras.getGlobalState().allowStateChanges;\n _mobx.extras.getGlobalState().allowStateChanges = allowStateChanges;\n return prev;\n}\nfunction allowStateChangesEnd(prev) {\n _mobx.extras.getGlobalState().allowStateChanges = prev;\n}\n\nfunction allowStateChanges(allowStateChanges, func, props, state, context) {\n var prev = allowStateChangesStart(allowStateChanges);\n var res = void 0;\n try {\n res = func(props, state, context);\n } finally {\n allowStateChangesEnd(prev);\n }\n return res;\n}\n\n/**\n * Utilities\n */\n\nfunction patch(target, funcName) {\n var runMixinFirst = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n var base = target[funcName];\n var mixinFunc = reactiveMixin[funcName];\n var f = !base ? mixinFunc : runMixinFirst === true ? function () {\n mixinFunc.apply(this, arguments);\n base.apply(this, arguments);\n } : function () {\n base.apply(this, arguments);\n mixinFunc.apply(this, arguments);\n };\n\n // MWE: ideally we freeze here to protect against accidental overwrites in component instances, see #195\n // ...but that breaks react-hot-loader, see #231...\n target[funcName] = f;\n}\n\nfunction isObjectShallowModified(prev, next) {\n if (null == prev || null == next || (typeof prev === 'undefined' ? 'undefined' : _typeof(prev)) !== 'object' || (typeof next === 'undefined' ? 'undefined' : _typeof(next)) !== 'object') {\n return prev !== next;\n }\n var keys = Object.keys(prev);\n if (keys.length !== Object.keys(next).length) {\n return true;\n }\n var key = void 0;\n for (var i = keys.length - 1; i >= 0, key = keys[i]; i--) {\n if (next[key] !== prev[key]) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * ReactiveMixin\n */\nvar reactiveMixin = {\n componentWillMount: function componentWillMount() {\n var _this = this;\n\n if (isUsingStaticRendering === true) {\n return;\n }\n // Generate friendly name for debugging\n var initialName = (0, _utils.makeDisplayName)(this);\n\n /**\n * If props are shallowly modified, react will render anyway,\n * so atom.reportChanged() should not result in yet another re-render\n */\n var skipRender = false;\n /**\n * forceUpdate will re-assign this.props. We don't want that to cause a loop,\n * so detect these changes\n */\n var isForcingUpdate = false;\n\n function makePropertyObservableReference(propName) {\n var valueHolder = this[propName];\n var atom = new _mobx.Atom('reactive ' + propName);\n Object.defineProperty(this, propName, {\n configurable: true,\n enumerable: true,\n get: function get() {\n atom.reportObserved();\n return valueHolder;\n },\n set: function set(v) {\n if (!isForcingUpdate && isObjectShallowModified(valueHolder, v)) {\n valueHolder = v;\n skipRender = true;\n atom.reportChanged();\n skipRender = false;\n } else {\n valueHolder = v;\n }\n }\n });\n }\n\n // make this.props an observable reference, see #124\n makePropertyObservableReference.call(this, 'props');\n // make state an observable reference\n makePropertyObservableReference.call(this, 'state');\n\n // wire up reactive render\n var baseRender = this.render.bind(this);\n var reaction = null;\n var isRenderingPending = false;\n\n var initialRender = function initialRender() {\n reaction = new _mobx.Reaction(initialName + '.render()', function () {\n if (!isRenderingPending) {\n // N.B. Getting here *before mounting* means that a component constructor has side effects (see the relevant test in misc.js)\n // This unidiomatic React usage but React will correctly warn about this so we continue as usual\n // See #85 / Pull #44\n isRenderingPending = true;\n if (typeof _this.componentWillReact === 'function') {\n _this.componentWillReact();\n } // TODO: wrap in action?\n if (_this.__$mobxIsUnmounted !== true) {\n // If we are unmounted at this point, componentWillReact() had a side effect causing the component to unmounted\n // TODO: remove this check? Then react will properly warn about the fact that this should not happen? See #73\n // However, people also claim this migth happen during unit tests..\n var hasError = true;\n try {\n isForcingUpdate = true;\n if (!skipRender) {\n _preact.Component.prototype.forceUpdate.call(_this);\n }\n hasError = false;\n } finally {\n isForcingUpdate = false;\n if (hasError) {\n reaction.dispose();\n }\n }\n }\n }\n });\n reaction.reactComponent = _this;\n reactiveRender.$mobx = reaction;\n _this.render = reactiveRender;\n return reactiveRender(_this.props, _this.state, _this.context);\n };\n\n var reactiveRender = function reactiveRender(props, state, context) {\n isRenderingPending = false;\n var exception = undefined;\n var rendering = undefined;\n reaction.track(function () {\n try {\n rendering = allowStateChanges(false, baseRender, props, state, context);\n } catch (e) {\n exception = e;\n }\n });\n if (exception) {\n throw exception;\n }\n return rendering;\n };\n\n this.render = initialRender;\n },\n\n componentWillUnmount: function componentWillUnmount() {\n if (isUsingStaticRendering === true) {\n return;\n }\n this.render.$mobx && this.render.$mobx.dispose();\n this.__$mobxIsUnmounted = true;\n },\n\n componentDidMount: function componentDidMount() {},\n\n componentDidUpdate: function componentDidUpdate() {},\n\n shouldComponentUpdate: function shouldComponentUpdate(nextProps, nextState) {\n if (isUsingStaticRendering) {\n logger.warn('[mobx-preact] 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.');\n }\n // update on any state changes (as is the default)\n if (this.state !== nextState) {\n return true;\n }\n // update if props are shallowly not equal, inspired by PureRenderMixin\n // we could return just 'false' here, and avoid the `skipRender` checks etc\n // however, it is nicer if lifecycle events are triggered like usually,\n // so we return true here if props are shallowly modified.\n return isObjectShallowModified(this.props, nextProps);\n }\n};\n\n/**\n * Observer function / decorator\n */\nfunction observer(componentClass) {\n if (arguments.length > 1) {\n logger.warn('Mobx observer: Using observer to inject stores is not supported. Use `@connect([\"store1\", \"store2\"]) ComponentClass instead or preferably, use `@inject(\"store1\", \"store2\") @observer ComponentClass` or `inject(\"store1\", \"store2\")(observer(componentClass))``');\n }\n\n if (componentClass.isMobxInjector === true) {\n logger.warn('Mobx observer: You are trying to use \\'observer\\' on a component that already has \\'inject\\'. Please apply \\'observer\\' before applying \\'inject\\'');\n }\n\n // Stateless function component:\n if ((0, _utils.isStateless)(componentClass)) {\n var _class, _temp;\n\n return observer((_temp = _class = function (_Component) {\n _inherits(_class, _Component);\n\n function _class() {\n _classCallCheck(this, _class);\n\n return _possibleConstructorReturn(this, (_class.__proto__ || Object.getPrototypeOf(_class)).apply(this, arguments));\n }\n\n _createClass(_class, [{\n key: 'render',\n value: function render() {\n return componentClass.call(this, this.props, this.context);\n }\n }]);\n\n return _class;\n }(_preact.Component), _class.displayName = (0, _utils.makeDisplayName)(componentClass), _temp));\n }\n\n if (!componentClass) {\n throw new Error('Please pass a valid component to \\'observer\\'');\n }\n\n var target = componentClass.prototype || componentClass;\n mixinLifecycleEvents(target);\n componentClass.isMobXReactObserver = true;\n return componentClass;\n}\n\nfunction mixinLifecycleEvents(target) {\n patch(target, 'componentWillMount', true);\n patch(target, 'componentDidMount');\n\n if (!target.shouldComponentUpdate) {\n target.shouldComponentUpdate = reactiveMixin.shouldComponentUpdate;\n }\n}\n\nvar Observer = exports.Observer = observer(function (_ref) {\n var children = _ref.children;\n return children[0]();\n});\n\nObserver.displayName = 'Observer';\n\n\n// WEBPACK FOOTER //\n// ../node_modules/mobx-preact/lib/observer.js","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.isStateless = isStateless;\nexports.makeDisplayName = makeDisplayName;\n\nvar _preact = require('preact');\n\nfunction isStateless(component) {\n // `function() {}` has prototype, but `() => {}` doesn't\n // `() => {}` via Babel has prototype too.\n return !(component.prototype && component.prototype.render) && !_preact.Component.isPrototypeOf(component);\n}\n\nfunction makeDisplayName(component) {\n var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n _ref$prefix = _ref.prefix,\n prefix = _ref$prefix === undefined ? '' : _ref$prefix,\n _ref$suffix = _ref.suffix,\n suffix = _ref$suffix === undefined ? '' : _ref$suffix;\n\n var displayName = component.displayName || component.name || component.constructor && component.constructor.name || '';\n return prefix + displayName + suffix;\n}\n\n\n// WEBPACK FOOTER //\n// ../node_modules/mobx-preact/lib/utils/utils.js","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nexports.inject = inject;\n\nvar _preact = require('preact');\n\nvar _hoistNonReactStatics = require('hoist-non-react-statics');\n\nvar _hoistNonReactStatics2 = _interopRequireDefault(_hoistNonReactStatics);\n\nvar _observer = require('./observer');\n\nvar _utils = require('./utils/utils');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar proxiedInjectorProps = {\n isMobxInjector: {\n value: true,\n writable: true,\n configurable: true,\n enumerable: true\n }\n};\n\n/**\n * Store Injection\n */\nfunction createStoreInjector(grabStoresFn, component, injectNames) {\n var _class, _temp;\n\n var prefix = 'inject-';\n var suffix = injectNames ? '-with-' + injectNames : '';\n var displayName = (0, _utils.makeDisplayName)(component, { prefix: prefix, suffix: suffix });\n\n var Injector = (_temp = _class = function (_Component) {\n _inherits(Injector, _Component);\n\n function Injector() {\n _classCallCheck(this, Injector);\n\n return _possibleConstructorReturn(this, (Injector.__proto__ || Object.getPrototypeOf(Injector)).apply(this, arguments));\n }\n\n _createClass(Injector, [{\n key: 'render',\n value: function render() {\n // Optimization: it might be more efficient to apply the mapper function *outside* the render method\n // (if the mapper is a function), that could avoid expensive(?) re-rendering of the injector component\n // See this test: 'using a custom injector is not too reactive' in inject.js\n var newProps = {};\n for (var key in this.props) {\n if (this.props.hasOwnProperty(key)) {\n newProps[key] = this.props[key];\n }\n }\n var additionalProps = grabStoresFn(this.context.mobxStores || {}, newProps, this.context) || {};\n for (var _key in additionalProps) {\n newProps[_key] = additionalProps[_key];\n }\n\n return (0, _preact.h)(component, newProps);\n }\n }]);\n\n return Injector;\n }(_preact.Component), _class.displayName = displayName, _temp);\n\n // Static fields from component should be visible on the generated Injector\n\n (0, _hoistNonReactStatics2.default)(Injector, component);\n\n Injector.wrappedComponent = component;\n Object.defineProperties(Injector, proxiedInjectorProps);\n\n return Injector;\n}\n\nfunction grabStoresByName(storeNames) {\n return function (baseStores, nextProps) {\n storeNames.forEach(function (storeName) {\n // prefer props over stores\n if (storeName in nextProps) {\n return;\n }\n if (!(storeName in baseStores)) {\n throw new Error('MobX injector: Store \\'' + storeName + '\\' is not available! Make sure it is provided by some Provider');\n }\n nextProps[storeName] = baseStores[storeName];\n });\n return nextProps;\n };\n}\n\n/**\n * higher order component that injects stores to a child.\n * takes either a varargs list of strings, which are stores read from the context,\n * or a function that manually maps the available stores from the context to props:\n * storesToProps(mobxStores, props, context) => newProps\n */\nfunction inject() /* fn(stores, nextProps) or ...storeNames */{\n var grabStoresFn = void 0;\n if (typeof arguments[0] === 'function') {\n grabStoresFn = arguments[0];\n return function (componentClass) {\n var injected = createStoreInjector(grabStoresFn, componentClass);\n injected.isMobxInjector = false; // suppress warning\n // mark the Injector as observer, to make it react to expressions in `grabStoresFn`,\n // see #111\n injected = (0, _observer.observer)(injected);\n injected.isMobxInjector = true; // restore warning\n return injected;\n };\n } else {\n var storeNames = [];\n for (var i = 0; i < arguments.length; i++) {\n storeNames[i] = arguments[i];\n }\n grabStoresFn = grabStoresByName(storeNames);\n return function (componentClass) {\n return createStoreInjector(grabStoresFn, componentClass, storeNames.join('-'));\n };\n }\n}\n\n\n// WEBPACK FOOTER //\n// ../node_modules/mobx-preact/lib/inject.js","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.JSONHTTPError = exports.TextHTTPError = exports.HTTPError = exports.getPagination = undefined;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _pagination = require(\"./pagination\");\n\nObject.defineProperty(exports, \"getPagination\", {\n enumerable: true,\n get: function get() {\n return _pagination.getPagination;\n }\n});\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction _extendableBuiltin(cls) {\n function ExtendableBuiltin() {\n var instance = Reflect.construct(cls, Array.from(arguments));\n Object.setPrototypeOf(instance, Object.getPrototypeOf(this));\n return instance;\n }\n\n ExtendableBuiltin.prototype = Object.create(cls.prototype, {\n constructor: {\n value: cls,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(ExtendableBuiltin, cls);\n } else {\n ExtendableBuiltin.__proto__ = cls;\n }\n\n return ExtendableBuiltin;\n}\n\nvar HTTPError = exports.HTTPError = function (_extendableBuiltin2) {\n _inherits(HTTPError, _extendableBuiltin2);\n\n function HTTPError(response) {\n _classCallCheck(this, HTTPError);\n\n var _this = _possibleConstructorReturn(this, (HTTPError.__proto__ || Object.getPrototypeOf(HTTPError)).call(this, response.statusText));\n\n _this.name = _this.constructor.name;\n if (typeof Error.captureStackTrace === \"function\") {\n Error.captureStackTrace(_this, _this.constructor);\n } else {\n _this.stack = new Error(response.statusText).stack;\n }\n _this.status = response.status;\n return _this;\n }\n\n return HTTPError;\n}(_extendableBuiltin(Error));\n\nvar TextHTTPError = exports.TextHTTPError = function (_HTTPError) {\n _inherits(TextHTTPError, _HTTPError);\n\n function TextHTTPError(response, data) {\n _classCallCheck(this, TextHTTPError);\n\n var _this2 = _possibleConstructorReturn(this, (TextHTTPError.__proto__ || Object.getPrototypeOf(TextHTTPError)).call(this, response));\n\n _this2.data = data;\n return _this2;\n }\n\n return TextHTTPError;\n}(HTTPError);\n\nvar JSONHTTPError = exports.JSONHTTPError = function (_HTTPError2) {\n _inherits(JSONHTTPError, _HTTPError2);\n\n function JSONHTTPError(response, json) {\n _classCallCheck(this, JSONHTTPError);\n\n var _this3 = _possibleConstructorReturn(this, (JSONHTTPError.__proto__ || Object.getPrototypeOf(JSONHTTPError)).call(this, response));\n\n _this3.json = json;\n return _this3;\n }\n\n return JSONHTTPError;\n}(HTTPError);\n\nvar API = function () {\n function API() {\n var apiURL = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n var options = arguments[1];\n\n _classCallCheck(this, API);\n\n this.apiURL = apiURL;\n if (this.apiURL.match(/\\/[^\\/]?/)) {\n // eslint-disable-line no-useless-escape\n this._sameOrigin = true;\n }\n this.defaultHeaders = options && options.defaultHeaders || {};\n }\n\n _createClass(API, [{\n key: \"headers\",\n value: function headers() {\n var _headers = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n return _extends({}, this.defaultHeaders, {\n \"Content-Type\": \"application/json\"\n }, _headers);\n }\n }, {\n key: \"parseJsonResponse\",\n value: function parseJsonResponse(response) {\n return response.json().then(function (json) {\n if (!response.ok) {\n return Promise.reject(new JSONHTTPError(response, json));\n }\n\n var pagination = (0, _pagination.getPagination)(response);\n return pagination ? { pagination: pagination, items: json } : json;\n });\n }\n }, {\n key: \"request\",\n value: function request(path) {\n var _this4 = this;\n\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n var headers = this.headers(options.headers || {});\n if (this._sameOrigin) {\n options.credentials = options.credentials || \"same-origin\";\n }\n return fetch(this.apiURL + path, _extends({}, options, { headers: headers })).then(function (response) {\n var contentType = response.headers.get(\"Content-Type\");\n if (contentType && contentType.match(/json/)) {\n return _this4.parseJsonResponse(response);\n }\n\n if (!response.ok) {\n return response.text().then(function (data) {\n return Promise.reject(new TextHTTPError(response, data));\n });\n }\n return response.text().then(function (data) {\n data;\n });\n });\n }\n }]);\n\n return API;\n}();\n\nexports.default = API;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ../node_modules/micro-api-client/lib/index.js\n// module id = 6\n// module chunks = 0","import { h, Component } from \"preact\";\n\nexport default class Button extends Component {\n render() {\n const { saving, text, saving_text } = this.props;\n\n return (\n \n );\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/forms/button.js","import { h, Component } from \"preact\";\n\nconst messages = {\n confirm: {\n type: \"success\",\n text:\n \"A confirmation message was sent to your email, click the link there to continue.\"\n },\n password_mail: {\n type: \"success\",\n text:\n \"We've sent a recovery email to your account, follow the link there to reset your password.\"\n },\n email_changed: {\n type: \"sucess\",\n text: \"Your email address has been updated!\"\n },\n verfication_error: {\n type: \"error\",\n text:\n \"There was an error verifying your account. Please try again or contact an administrator.\"\n },\n signup_disabled: {\n type: \"error\",\n text:\n \"Public signups are disabled. Contact an administrator and ask for an invite.\"\n }\n};\n\nexport default class Message extends Component {\n render() {\n const { type } = this.props;\n const msg = messages[type];\n\n return (\n
\n {msg.text}\n
\n );\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/forms/message.js","import netlifyIdentity from \"./netlify-identity\";\n\nif (typeof exports !== undefined) {\n exports.netlifyIdentity = netlifyIdentity;\n}\nif (typeof window !== undefined) {\n window.netlifyIdentity = netlifyIdentity;\n}\nif (document.readyState === \"loading\") {\n document.addEventListener(\"DOMContentLoaded\", () => {\n netlifyIdentity.init();\n });\n} else {\n netlifyIdentity.init();\n}\n\n\n\n// WEBPACK FOOTER //\n// ./index.js","import { h, render } from \"preact\";\nimport { observe } from \"mobx\";\nimport { Provider } from \"mobx-preact\";\nimport GoTrue from \"gotrue-js\";\nimport App from \"./components/app\";\nimport store from \"./state/store\";\nimport Controls from \"./components/controls\";\nimport modalCSS from \"./components/modal.css\";\n\nconst callbacks = {};\nfunction trigger(callback) {\n (callbacks[callback] || []).forEach(cb => {\n cb.apply(cb, Array.prototype.slice.call(arguments, 1));\n });\n}\n\nconst validActions = {\n login: true,\n signup: true,\n error: true\n};\n\nconst netlifyIdentity = {\n on: (event, cb) => {\n callbacks[event] = callbacks[event] || [];\n callbacks[event].push(cb);\n },\n open: action => {\n action = action || \"login\";\n if (!validActions[action]) {\n throw new Error(`Invalid action for open: ${action}`);\n }\n store.openModal(store.user ? \"user\" : action);\n },\n close: () => {\n store.closeModal();\n },\n currentUser: () => {\n return store.gotrue && store.gotrue.currentUser();\n },\n logout: () => {\n return store.logout();\n },\n get gotrue() {\n if (!store.gotrue) {\n store.openModal(\"login\");\n }\n return store.gotrue;\n },\n init: options => {\n init(options);\n },\n store\n};\n\nlet queuedIframeStyle = null;\nfunction setStyle(el, css) {\n let style = \"\";\n for (const key in css) {\n style += `${key}: ${css[key]}; `;\n }\n if (el) {\n el.setAttribute(\"style\", style);\n } else {\n queuedIframeStyle = style;\n }\n}\n\nconst localHosts = {\n localhost: true,\n \"127.0.0.1\": true,\n \"0.0.0.0\": true,\n \"identity.netlify.com\": true\n};\n\nfunction instantiateGotrue(APIUrl) {\n const isLocal = localHosts[document.location.host.split(\":\").shift()];\n const siteURL = isLocal && localStorage.getItem(\"netlifySiteURL\");\n if (APIUrl) {\n return new GoTrue({ APIUrl, setCookie: !isLocal });\n }\n if (isLocal && siteURL) {\n const parts = [siteURL];\n if (!siteURL.match(/\\/$/)) {\n parts.push(\"/\");\n }\n parts.push(\".netlify/identity\");\n store.setIsLocal(isLocal);\n store.setSiteURL(siteURL);\n return new GoTrue({ APIUrl: parts.join(\"\"), setCookie: !isLocal });\n }\n if (isLocal) {\n store.setIsLocal(isLocal);\n return null;\n }\n\n return new GoTrue({ setCookie: !isLocal });\n}\n\nlet root;\nlet iframe;\nconst iframeStyle = {\n position: \"fixed\",\n top: 0,\n left: 0,\n border: \"none\",\n width: \"100%\",\n height: \"100%\",\n overflow: \"visible\",\n background: \"transparent\",\n display: \"none\",\n \"z-index\": 99\n};\n\nobserve(store.modal, \"isOpen\", () => {\n if (!store.settings) {\n store.loadSettings();\n }\n setStyle(iframe, {\n ...iframeStyle,\n display: store.modal.isOpen ? \"block !important\" : \"none\"\n });\n if (store.modal.isOpen) {\n trigger(\"open\", store.modal.page);\n } else {\n trigger(\"close\");\n }\n});\n\nobserve(store, \"siteURL\", () => {\n if (store.siteURL === null || store.siteURL === undefined) {\n localStorage.removeItem(\"netlifySiteURL\");\n } else {\n localStorage.setItem(\"netlifySiteURL\", store.siteURL);\n }\n store.init(instantiateGotrue(), true);\n});\n\nobserve(store, \"user\", () => {\n if (store.user) {\n trigger(\"login\", store.user);\n } else {\n trigger(\"logout\");\n }\n});\n\nobserve(store, \"gotrue\", () => {\n store.gotrue && trigger(\"init\", store.gotrue.currentUser());\n});\n\nobserve(store, \"error\", () => {\n trigger(\"error\", store.error);\n});\n\nconst routes = /(confirmation|invite|recovery|email_change)_token=([^&]+)/;\nconst errorRoute = /error=access_denied&error_description=403/;\nconst accessTokenRoute = /access_token=/;\n\nfunction runRoutes() {\n const hash = (document.location.hash || \"\").replace(/^#\\/?/, \"\");\n if (!hash) {\n return;\n }\n\n const m = hash.match(routes);\n if (m) {\n store.verifyToken(m[1], m[2]);\n document.location.hash = \"\";\n }\n\n const em = hash.match(errorRoute);\n if (em) {\n store.openModal(\"signup\");\n document.location.hash = \"\";\n }\n\n const am = hash.match(accessTokenRoute);\n if (am) {\n const params = {};\n hash.split(\"&\").forEach(pair => {\n const [key, value] = pair.split(\"=\");\n params[key] = value;\n });\n if (!!document && params[\"access_token\"]) {\n document.cookie = `nf_jwt=${params[\"access_token\"]}`;\n }\n document.location.hash = \"\";\n store.openModal(\"login\");\n store.completeExternalLogin(params);\n }\n}\n\nfunction init(options = {}) {\n const { APIUrl, logo = true, namePlaceholder } = options;\n const controlEls = document.querySelectorAll(\n \"[data-netlify-identity-menu],[data-netlify-identity-button]\"\n );\n Array.prototype.slice.call(controlEls).forEach(el => {\n let controls = null;\n const mode =\n el.getAttribute(\"data-netlify-identity-menu\") === null\n ? \"button\"\n : \"menu\";\n render(\n \n \n ,\n el,\n controls\n );\n });\n\n store.init(instantiateGotrue(APIUrl));\n store.modal.logo = logo;\n store.setNamePlaceholder(namePlaceholder);\n iframe = document.createElement(\"iframe\");\n iframe.id = \"netlify-identity-widget\";\n iframe.onload = () => {\n const styles = iframe.contentDocument.createElement(\"style\");\n styles.innerHTML = modalCSS.toString();\n iframe.contentDocument.head.appendChild(styles);\n root = render(\n \n \n ,\n iframe.contentDocument.body,\n root\n );\n runRoutes();\n };\n setStyle(iframe, iframeStyle);\n iframe.src = \"about:blank\";\n const container = options.container\n ? document.querySelector(options.container)\n : document.body;\n container.appendChild(iframe);\n /* There's a certain case where we might have called setStyle before the iframe was ready.\n\t Make sure we take the last style and apply it */\n if (queuedIframeStyle) {\n iframe.setAttribute(\"style\", queuedIframeStyle);\n queuedIframeStyle = null;\n }\n}\n\nexport default netlifyIdentity;\n\n\n\n// WEBPACK FOOTER //\n// ./netlify-identity.js","var g;\r\n\r\n// This works in non-strict mode\r\ng = (function() {\r\n\treturn this;\r\n})();\r\n\r\ntry {\r\n\t// This works if eval is allowed (see CSP)\r\n\tg = g || Function(\"return this\")() || (1,eval)(\"this\");\r\n} catch(e) {\r\n\t// This works if the window reference is available\r\n\tif(typeof window === \"object\")\r\n\t\tg = window;\r\n}\r\n\r\n// g can still be undefined, but nothing to do about it...\r\n// We return undefined, instead of nothing here, so it's\r\n// easier to handle this case. if(!global) { ...}\r\n\r\nmodule.exports = g;\r\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/webpack/buildin/global.js","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.connect = connect;\n\nvar _observer = require('./observer');\n\nvar _inject = require('./inject');\n\nfunction connect(arg1, arg2) {\n if (typeof arg1 === 'string') {\n throw new Error('Store names should be provided as array');\n }\n if (Array.isArray(arg1)) {\n if (!arg2) {\n // invoked as decorator\n return function (componentClass) {\n return connect(arg1, componentClass);\n };\n } else {\n return _inject.inject.apply(null, arg1)(connect(arg2));\n }\n }\n return (0, _observer.observer)(arg1);\n}\n\n\n// WEBPACK FOOTER //\n// ../node_modules/mobx-preact/lib/connect.js","'use strict';\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar REACT_STATICS = {\n childContextTypes: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\n\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = getPrototypeOf && getPrototypeOf(Object);\n\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') { // don't hoist over string (html) components\n\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n if (!REACT_STATICS[key] && !KNOWN_STATICS[key] && (!blacklist || !blacklist[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n try { // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n\n return targetComponent;\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Provider = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _preact = require('preact');\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar specialReactKeys = { children: true, key: true, ref: true };\n\nvar logger = console; // eslint-disable-line no-console\n\nvar Provider = exports.Provider = function (_Component) {\n _inherits(Provider, _Component);\n\n function Provider() {\n _classCallCheck(this, Provider);\n\n return _possibleConstructorReturn(this, (Provider.__proto__ || Object.getPrototypeOf(Provider)).apply(this, arguments));\n }\n\n _createClass(Provider, [{\n key: 'render',\n value: function render(_ref) {\n var children = _ref.children;\n\n return children.length > 1 ? (0, _preact.h)(\n 'div',\n null,\n ' ',\n children,\n ' '\n ) : children[0];\n }\n }, {\n key: 'getChildContext',\n value: function getChildContext() {\n var stores = {};\n // inherit stores\n var baseStores = this.context.mobxStores;\n if (baseStores) {\n for (var key in baseStores) {\n stores[key] = baseStores[key];\n }\n }\n // add own stores\n for (var _key in this.props) {\n if (!specialReactKeys[_key] && _key !== 'suppressChangedStoreWarning') {\n stores[_key] = this.props[_key];\n }\n }\n\n return {\n mobxStores: stores\n };\n }\n }, {\n key: 'componentWillReceiveProps',\n value: function componentWillReceiveProps(nextProps) {\n // Maybe this warning is too aggressive?\n if (Object.keys(nextProps).length !== Object.keys(this.props).length) {\n logger.warn('MobX Provider: The set of provided stores has changed. Please avoid changing stores as the change might not propagate to all children');\n }\n if (!nextProps.suppressChangedStoreWarning) {\n for (var key in nextProps) {\n if (!specialReactKeys[key] && this.props[key] !== nextProps[key]) {\n logger.warn('MobX Provider: Provided store \\'' + key + '\\' has changed. Please avoid replacing stores as the change might not propagate to all children');\n }\n }\n }\n }\n }]);\n\n return Provider;\n}(_preact.Component);\n\n\n// WEBPACK FOOTER //\n// ../node_modules/mobx-preact/lib/Provider.js","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _microApiClient = require(\"micro-api-client\");\n\nvar _microApiClient2 = _interopRequireDefault(_microApiClient);\n\nvar _user = require(\"./user\");\n\nvar _user2 = _interopRequireDefault(_user);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar HTTPRegexp = /^http:\\/\\//;\nvar defaultApiURL = \"/.netlify/identity\";\n\nvar GoTrue = function () {\n function GoTrue() {\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref$APIUrl = _ref.APIUrl,\n APIUrl = _ref$APIUrl === undefined ? defaultApiURL : _ref$APIUrl,\n _ref$audience = _ref.audience,\n audience = _ref$audience === undefined ? \"\" : _ref$audience,\n _ref$setCookie = _ref.setCookie,\n setCookie = _ref$setCookie === undefined ? false : _ref$setCookie;\n\n _classCallCheck(this, GoTrue);\n\n if (APIUrl.match(HTTPRegexp)) {\n console.warn(\"Warning:\\n\\nDO NOT USE HTTP IN PRODUCTION FOR GOTRUE EVER!\\nGoTrue REQUIRES HTTPS to work securely.\");\n }\n\n if (audience) {\n this.audience = audience;\n }\n\n this.setCookie = setCookie;\n\n this.api = new _microApiClient2.default(APIUrl);\n }\n\n _createClass(GoTrue, [{\n key: \"_request\",\n value: function _request(path) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n options.headers = options.headers || {};\n var aud = options.audience || this.audience;\n if (aud) {\n options.headers[\"X-JWT-AUD\"] = aud;\n }\n return this.api.request(path, options).catch(function (err) {\n if (err instanceof _microApiClient.JSONHTTPError && err.json) {\n if (err.json.msg) {\n err.message = err.json.msg;\n } else if (err.json.error) {\n err.message = err.json.error + \": \" + err.json.error_description;\n }\n }\n return Promise.reject(err);\n });\n }\n }, {\n key: \"settings\",\n value: function settings() {\n return this._request(\"/settings\");\n }\n }, {\n key: \"signup\",\n value: function signup(email, password, data) {\n return this._request(\"/signup\", {\n method: \"POST\",\n body: JSON.stringify({ email: email, password: password, data: data })\n });\n }\n }, {\n key: \"login\",\n value: function login(email, password, remember) {\n var _this = this;\n\n this._setRememberHeaders(remember);\n return this._request(\"/token\", {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/x-www-form-urlencoded\" },\n body: \"grant_type=password&username=\" + encodeURIComponent(email) + \"&password=\" + encodeURIComponent(password)\n }).then(function (response) {\n _user2.default.removeSavedSession();\n return _this.createUser(response, remember);\n });\n }\n }, {\n key: \"loginExternalUrl\",\n value: function loginExternalUrl(provider) {\n return this.api.apiURL + \"/authorize?provider=\" + provider;\n }\n }, {\n key: \"confirm\",\n value: function confirm(token, remember) {\n this._setRememberHeaders(remember);\n return this.verify(\"signup\", token, remember);\n }\n }, {\n key: \"requestPasswordRecovery\",\n value: function requestPasswordRecovery(email) {\n return this._request(\"/recover\", {\n method: \"POST\",\n body: JSON.stringify({ email: email })\n });\n }\n }, {\n key: \"recover\",\n value: function recover(token, remember) {\n this._setRememberHeaders(remember);\n return this.verify(\"recovery\", token, remember);\n }\n }, {\n key: \"acceptInvite\",\n value: function acceptInvite(token, password, remember) {\n var _this2 = this;\n\n this._setRememberHeaders(remember);\n return this._request(\"/verify\", {\n method: \"POST\",\n body: JSON.stringify({ token: token, password: password, type: \"signup\" })\n }).then(function (response) {\n return _this2.createUser(response, remember);\n });\n }\n }, {\n key: \"acceptInviteExternalUrl\",\n value: function acceptInviteExternalUrl(provider, token) {\n return this.api.apiURL + \"/authorize?provider=\" + provider + \"&invite_token=\" + token;\n }\n }, {\n key: \"createUser\",\n value: function createUser(tokenResponse) {\n var remember = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n this._setRememberHeaders(remember);\n var user = new _user2.default(this.api, tokenResponse, this.audience);\n return user.getUserData().then(function (user) {\n if (remember) {\n user._saveSession();\n }\n return user;\n });\n }\n }, {\n key: \"currentUser\",\n value: function currentUser() {\n var user = _user2.default.recoverSession(this.api);\n user && this._setRememberHeaders(user._fromStorage);\n return user;\n }\n }, {\n key: \"verify\",\n value: function verify(type, token, remember) {\n var _this3 = this;\n\n this._setRememberHeaders(remember);\n return this._request(\"/verify\", {\n method: \"POST\",\n body: JSON.stringify({ token: token, type: type })\n }).then(function (response) {\n return _this3.createUser(response, remember);\n });\n }\n }, {\n key: \"_setRememberHeaders\",\n value: function _setRememberHeaders(remember) {\n if (this.setCookie) {\n this.api.defaultHeaders = this.api.defaultHeaders || {};\n this.api.defaultHeaders[\"X-Use-Cookie\"] = remember ? \"1\" : \"session\";\n }\n }\n }]);\n\n return GoTrue;\n}();\n\nexports.default = GoTrue;\n\n\nif (typeof window !== \"undefined\") {\n window.GoTrue = GoTrue;\n}\n\n\n// WEBPACK FOOTER //\n// ../node_modules/gotrue-js/lib/index.js","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\n\nexports.getPagination = getPagination;\nfunction getPagination(response) {\n var links = response.headers.get(\"Link\");\n var pagination = {};\n //var link, url, rel, m, page;\n if (links == null) {\n return null;\n }\n links = links.split(\",\");\n var total = response.headers.get(\"X-Total-Count\");\n\n for (var i = 0, len = links.length; i < len; i++) {\n var link = links[i].replace(/(^\\s*|\\s*$)/, \"\");\n\n var _link$split = link.split(\";\"),\n _link$split2 = _slicedToArray(_link$split, 2),\n url = _link$split2[0],\n rel = _link$split2[1];\n\n var m = url.match(/page=(\\d+)/);\n var page = m && parseInt(m[1], 10);\n if (rel.match(/last/)) {\n pagination.last = page;\n } else if (rel.match(/next/)) {\n pagination.next = page;\n } else if (rel.match(/prev/)) {\n pagination.prev = page;\n } else if (rel.match(/first/)) {\n pagination.first = page;\n }\n }\n\n pagination.last = Math.max(pagination.last || 0, pagination.prev && pagination.prev + 1 || 0);\n pagination.current = pagination.next ? pagination.next - 1 : pagination.last || 1;\n pagination.total = total ? parseInt(total, 10) : null;\n\n return pagination;\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ../node_modules/micro-api-client/lib/pagination.js\n// module id = 16\n// module chunks = 0","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _microApiClient = require(\"micro-api-client\");\n\nvar _microApiClient2 = _interopRequireDefault(_microApiClient);\n\nvar _admin = require(\"./admin\");\n\nvar _admin2 = _interopRequireDefault(_admin);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar ExpiryMargin = 60 * 1000;\nvar storageKey = \"gotrue.user\";\nvar refreshPromises = {};\nvar currentUser = null;\nvar forbiddenUpdateAttributes = { api: 1, token: 1, audience: 1, url: 1 };\nvar forbiddenSaveAttributes = { api: 1 };\n\nvar User = function () {\n function User(api, tokenResponse, audience) {\n _classCallCheck(this, User);\n\n this.api = api;\n this.url = api.apiURL;\n this.audience = audience;\n this._processTokenResponse(tokenResponse);\n currentUser = this;\n }\n\n _createClass(User, [{\n key: \"update\",\n value: function update(attributes) {\n var _this = this;\n\n return this._request(\"/user\", {\n method: \"PUT\",\n body: JSON.stringify(attributes)\n }).then(function (response) {\n return _this._saveUserData(response)._refreshSavedSession();\n });\n }\n }, {\n key: \"jwt\",\n value: function jwt(forceRefresh) {\n var _tokenDetails = this.tokenDetails(),\n expires_at = _tokenDetails.expires_at,\n refresh_token = _tokenDetails.refresh_token,\n access_token = _tokenDetails.access_token;\n\n if (forceRefresh || expires_at - ExpiryMargin < Date.now()) {\n return this._refreshToken(refresh_token);\n }\n return Promise.resolve(access_token);\n }\n }, {\n key: \"logout\",\n value: function logout() {\n return this._request(\"/logout\", { method: \"POST\" }).then(this.clearSession.bind(this)).catch(this.clearSession.bind(this));\n }\n }, {\n key: \"_refreshToken\",\n value: function _refreshToken(refresh_token) {\n var _this2 = this;\n\n if (refreshPromises[refresh_token]) {\n return refreshPromises[refresh_token];\n }\n return refreshPromises[refresh_token] = this.api.request(\"/token\", {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/x-www-form-urlencoded\" },\n body: \"grant_type=refresh_token&refresh_token=\" + refresh_token\n }).then(function (response) {\n delete refreshPromises[refresh_token];\n _this2._processTokenResponse(response);\n _this2._refreshSavedSession();\n return _this2.token.access_token;\n }).catch(function (error) {\n delete refreshPromises[refresh_token];\n _this2.clearSession();\n return Promise.reject(error);\n });\n }\n }, {\n key: \"_request\",\n value: function _request(path) {\n var _this3 = this;\n\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n options.headers = options.headers || {};\n\n var aud = options.audience || this.audience;\n if (aud) {\n options.headers[\"X-JWT-AUD\"] = aud;\n }\n\n return this.jwt().then(function (token) {\n return _this3.api.request(path, _extends({\n headers: Object.assign(options.headers, {\n Authorization: \"Bearer \" + token\n })\n }, options)).catch(function (err) {\n if (err instanceof _microApiClient.JSONHTTPError && err.json) {\n if (err.json.msg) {\n err.message = err.json.msg;\n } else if (err.json.error) {\n err.message = err.json.error + \": \" + err.json.error_description;\n }\n }\n return Promise.reject(err);\n });\n });\n }\n }, {\n key: \"getUserData\",\n value: function getUserData() {\n return this._request(\"/user\").then(this._saveUserData.bind(this)).then(this._refreshSavedSession.bind(this));\n }\n }, {\n key: \"_saveUserData\",\n value: function _saveUserData(attributes, fromStorage) {\n for (var key in attributes) {\n if (key in User.prototype || key in forbiddenUpdateAttributes) {\n continue;\n }\n this[key] = attributes[key];\n }\n if (fromStorage) {\n this._fromStorage = true;\n }\n return this;\n }\n }, {\n key: \"_processTokenResponse\",\n value: function _processTokenResponse(tokenResponse) {\n this.token = tokenResponse;\n var claims = void 0;\n try {\n claims = JSON.parse(urlBase64Decode(tokenResponse.access_token.split(\".\")[1]));\n this.token.expires_at = claims.exp * 1000;\n } catch (e) {\n console.error(new Error(\"Gotrue-js: Failed to parse tokenResponse claims: \" + JSON.stringify(tokenResponse)));\n }\n }\n }, {\n key: \"_refreshSavedSession\",\n value: function _refreshSavedSession() {\n // only update saved session if we previously saved something\n if (localStorage.getItem(storageKey)) {\n this._saveSession();\n }\n return this;\n }\n }, {\n key: \"_saveSession\",\n value: function _saveSession() {\n localStorage.setItem(storageKey, JSON.stringify(this._details));\n return this;\n }\n }, {\n key: \"tokenDetails\",\n value: function tokenDetails() {\n return this.token;\n }\n }, {\n key: \"clearSession\",\n value: function clearSession() {\n User.removeSavedSession();\n this.token = null;\n currentUser = null;\n }\n }, {\n key: \"admin\",\n get: function get() {\n return new _admin2.default(this);\n }\n }, {\n key: \"_details\",\n get: function get() {\n var userCopy = {};\n for (var key in this) {\n if (key in User.prototype || key in forbiddenSaveAttributes) {\n continue;\n }\n userCopy[key] = this[key];\n }\n return userCopy;\n }\n }], [{\n key: \"removeSavedSession\",\n value: function removeSavedSession() {\n localStorage.removeItem(storageKey);\n }\n }, {\n key: \"recoverSession\",\n value: function recoverSession(apiInstance) {\n if (currentUser) {\n return currentUser;\n }\n\n var json = localStorage.getItem(storageKey);\n if (json) {\n try {\n var data = JSON.parse(json);\n var url = data.url,\n token = data.token,\n audience = data.audience;\n\n if (!url || !token) {\n return null;\n }\n\n var api = apiInstance || new _microApiClient2.default(url, {});\n return new User(api, token, audience)._saveUserData(data, true);\n } catch (ex) {\n console.error(new Error(\"Gotrue-js: Error recovering session: \" + ex));\n return null;\n }\n }\n\n return null;\n }\n }]);\n\n return User;\n}();\n\nexports.default = User;\n\n\nfunction urlBase64Decode(str) {\n // From https://jwt.io/js/jwt.js\n var output = str.replace(/-/g, '+').replace(/_/g, '/');\n switch (output.length % 4) {\n case 0:\n break;\n case 2:\n output += '==';\n break;\n case 3:\n output += '=';\n break;\n default:\n throw 'Illegal base64url string!';\n }\n var result = window.atob(output); //polifyll https://github.com/davidchambers/Base64.js\n try {\n return decodeURIComponent(escape(result));\n } catch (err) {\n return result;\n }\n}\n\n\n// WEBPACK FOOTER //\n// ../node_modules/gotrue-js/lib/user.js","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar Admin = function () {\n function Admin(user) {\n _classCallCheck(this, Admin);\n\n this.user = user;\n }\n\n // Return a list of all users in an audience\n\n\n _createClass(Admin, [{\n key: \"listUsers\",\n value: function listUsers(aud) {\n return this.user._request(\"/admin/users\", {\n method: \"GET\",\n audience: aud\n });\n }\n }, {\n key: \"getUser\",\n value: function getUser(user) {\n return this.user._request(\"/admin/users/\" + user.id);\n }\n }, {\n key: \"updateUser\",\n value: function updateUser(user) {\n var attributes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n return this.user._request(\"/admin/users/\" + user.id, {\n method: \"PUT\",\n body: JSON.stringify(attributes)\n });\n }\n }, {\n key: \"createUser\",\n value: function createUser(email, password) {\n var attributes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n attributes.email = email;\n attributes.password = password;\n return this.user._request(\"/admin/users\", {\n method: \"POST\",\n body: JSON.stringify(attributes)\n });\n }\n }, {\n key: \"deleteUser\",\n value: function deleteUser(user) {\n return this.user._request(\"/admin/users/\" + user.id, {\n method: \"DELETE\"\n });\n }\n }]);\n\n return Admin;\n}();\n\nexports.default = Admin;\n\n\n// WEBPACK FOOTER //\n// ../node_modules/gotrue-js/lib/admin.js","import { h, Component } from \"preact\";\nimport { connect } from \"mobx-preact\";\nimport Modal from \"./modal\";\nimport SiteURLForm from \"./forms/siteurl\";\nimport LogoutForm from \"./forms/logout\";\nimport UserForm from \"./forms/user\";\nimport Providers from \"./forms/providers\";\nimport Message from \"./forms/message\";\n\nconst pagesWithHeader = { login: true, signup: true };\nconst pages = {\n login: {\n login: true,\n button: \"Log in\",\n button_saving: \"Logging in\",\n email: true,\n password: true,\n link: \"amnesia\",\n link_text: \"Forgot password?\",\n providers: true\n },\n signup: {\n signup: true,\n button: \"Sign up\",\n button_saving: \"Signing Up\",\n name: true,\n email: true,\n password: true,\n providers: true\n },\n amnesia: {\n title: \"Recover password\",\n button: \"Send recovery email\",\n button_saving: \"Sending recovery email\",\n email: true,\n link: \"login\",\n link_text: \"Never mind\"\n },\n recovery: {\n title: \"Recover password\",\n button: \"Update password\",\n button_saving: \"Updating password\",\n password: true,\n link: \"login\",\n link_text: \"Never mind\"\n },\n invite: {\n title: \"Complete your signup\",\n button: \"Sign up\",\n button_saving: \"Signing Up\",\n password: true,\n providers: true\n },\n user: {\n title: \"Logged in\"\n }\n};\n\n@connect([\"store\"])\nclass App extends Component {\n handleClose = () => this.props.store.closeModal();\n handlePage = page => this.props.store.openModal(page);\n handleLogout = () => this.props.store.logout();\n handleSiteURL = url => this.props.store.setSiteURL(url);\n clearSiteURL = url => this.props.store.clearSiteURL();\n handleExternalLogin = provider => this.props.store.externalLogin(provider);\n handleUser = ({ name, email, password }) => {\n const { store } = this.props;\n\n switch (store.modal.page) {\n case \"login\":\n store.login(email, password);\n break;\n case \"signup\":\n store.signup(name, email, password);\n break;\n case \"amnesia\":\n store.requestPasswordRecovery(email);\n break;\n case \"invite\":\n store.acceptInvite(password);\n break;\n case \"recovery\":\n store.updatePassword(password);\n break;\n }\n };\n\n renderBody() {\n const { store } = this.props;\n const page = pages[store.modal.page] || {};\n const pageLinkHandler = () => this.handlePage(page.link);\n\n if (store.isLocal && store.siteURL === null) {\n return (\n \n );\n }\n if (!store.settings) {\n return;\n }\n if (store.user) {\n return (\n \n );\n }\n if (store.modal.page === \"signup\" && store.settings.disable_signup) {\n return ;\n }\n\n return (\n
\n \n {!store.user && page.link && store.gotrue && (\n \n {page.link_text}\n \n )}\n {store.isLocal ? (\n \n ) : (\n
\n )}\n
\n );\n }\n\n renderProviders() {\n const { store } = this.props;\n\n if (!(store.gotrue && store.settings)) {\n return null;\n }\n if (store.modal.page === \"signup\" && store.settings.disable_signup) {\n return null;\n }\n const page = pages[store.modal.page] || {};\n\n if (!page.providers) {\n return null;\n }\n\n const providers = [\n \"Google\",\n \"GitHub\",\n \"GitLab\",\n \"BitBucket\",\n \"SAML\"\n ].filter(p => store.settings.external[p.toLowerCase()]);\n\n return providers.length ? (\n \n ) : null;\n }\n\n render() {\n const { store } = this.props;\n const showHeader = pagesWithHeader[store.modal.page];\n const showSignup = store.settings && !store.settings.disable_signup;\n const page = pages[store.modal.page] || {};\n\n return (\n
\n \n {this.renderBody()}\n {this.renderProviders()}\n \n
\n );\n }\n}\n\nexport default App;\n\n\n\n// WEBPACK FOOTER //\n// ./components/app.js","import { h, Component } from \"preact\";\n\nfunction formatError(error) {\n return (\n (error.json && error.json.error_description) ||\n error.message ||\n error.toString()\n );\n}\n\nexport default class Modal extends Component {\n handleClose = e => {\n e.preventDefault();\n this.props.onClose();\n };\n\n blockEvent = e => {\n e.stopPropagation();\n };\n\n linkHandler = page => e => {\n e.preventDefault();\n this.props.onPage(page);\n };\n\n render() {\n const {\n page,\n error,\n loading,\n showHeader,\n showSignup,\n devSettings,\n isOpen,\n children,\n logo\n } = this.props;\n const hidden = loading || !isOpen;\n return (\n \n \n
\n \n {showHeader && (\n
\n {showSignup && (\n \n Sign up\n \n )}\n {!devSettings && (\n \n Log in\n \n )}\n
\n )}\n {page.title && (\n
\n \n
\n )}\n {devSettings && (\n
\n \n
\n )}\n {error && (\n
\n {formatError(error)}\n
\n )}\n {children}\n
\n
\n {logo && (\n \n \n Coded by Netlify\n \n )}\n
\n );\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/modal/index.js","import { h, Component } from \"preact\";\n\nexport default class SiteURLForm extends Component {\n constructor(props) {\n super(props);\n this.state = { url: \"\", development: props.devMode || false };\n }\n\n handleInput = e => {\n this.setState({ [e.target.name]: e.target.value });\n };\n\n addSiteURL = e => {\n e.preventDefault();\n this.props.onSiteURL(this.state.url);\n };\n\n clearSiteURL = e => {\n e.preventDefault;\n this.props.onSiteURL();\n };\n\n render() {\n const { url, development } = this.state;\n\n return (\n
\n {development ? (\n
\n

Development Settings

\n this.clearSiteURL(e)}\n className=\"btnLink forgotPasswordLink\"\n >\n Clear localhost URL\n \n
\n ) : (\n
\n
\n {\n \"Looks like you're running a local server. Please let us know the URL of your Netlify site.\"\n }\n
\n
\n
\n );\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/forms/siteurl.js","import { h, Component } from \"preact\";\nimport Button from \"./button\";\n\nexport default class LogoutForm extends Component {\n handleLogout = e => {\n e.preventDefault();\n this.props.onLogout();\n };\n render() {\n const { user, saving } = this.props;\n\n return (\n \n

\n Logged in as
\n \n {user.user_metadata.full_name ||\n user.user_metadata.name ||\n user.email}\n \n

\n \n );\n }\n}\n\nexport default class Providers extends Component {\n getLabel(p) {\n const pId = p.toLowerCase();\n if (pId in this.props.labels) {\n return this.props.labels[pId];\n }\n return p;\n }\n\n render() {\n const { providers, onLogin } = this.props;\n\n return (\n
\n
\n {providers.map(p => (\n \n ))}\n
\n );\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/forms/providers.js","import { observable, action } from \"mobx\";\n\nconst store = observable({\n user: null,\n recovered_user: null,\n message: null,\n settings: null,\n gotrue: null,\n error: null,\n siteURL: null,\n remember: true,\n saving: false,\n invite_token: null,\n email_change_token: null,\n namePlaceholder: null,\n modal: {\n page: \"login\",\n isOpen: false,\n logo: true\n }\n});\n\nstore.setNamePlaceholder = action(function setNamePlaceholder(namePlaceholder) {\n store.namePlaceholder = namePlaceholder;\n});\n\nstore.startAction = action(function startAction() {\n store.saving = true;\n store.error = null;\n store.message = null;\n});\n\nstore.setError = action(function setError(err) {\n store.saving = false;\n store.error = err;\n});\n\nstore.init = action(function init(gotrue, reloadSettings) {\n if (gotrue) {\n store.gotrue = gotrue;\n store.user = gotrue.currentUser();\n if (store.user) {\n store.modal.page = \"user\";\n }\n }\n if (reloadSettings) {\n store.loadSettings();\n }\n});\n\nstore.loadSettings = action(function loadSettings() {\n if (store.settings) {\n return;\n }\n if (!store.gotrue) {\n return;\n }\n\n store.gotrue\n .settings()\n .then(action(settings => (store.settings = settings)))\n .catch(\n action(err => {\n store.error = new Error(\n `Failed to load settings from ${store.gotrue.api.apiURL}`\n );\n })\n );\n});\n\nstore.setIsLocal = action(function setIsLocal(isLocal) {\n store.isLocal = isLocal;\n});\n\nstore.setSiteURL = action(function setSiteURL(url) {\n store.siteURL = url;\n});\n\nstore.clearSiteURL = action(function clearSiteURL() {\n store.gotrue = null;\n store.siteURL = null;\n store.settings = null;\n});\n\nstore.login = action(function login(email, password) {\n store.startAction();\n return store.gotrue\n .login(email, password, store.remember)\n .then(\n action(user => {\n store.user = user;\n store.modal.page = \"user\";\n store.invite_token = null;\n if (store.email_change_token) {\n store.doEmailChange();\n }\n store.saving = false;\n })\n )\n .catch(store.setError);\n});\n\nstore.externalLogin = action(function externalLogin(provider) {\n // store.startAction();\n store.error = null;\n store.message = null;\n const url = store.invite_token\n ? store.gotrue.acceptInviteExternalUrl(provider, store.invite_token)\n : store.gotrue.loginExternalUrl(provider);\n window.location.href = url;\n});\n\nstore.completeExternalLogin = action(function completeExternalLogin(params) {\n store.startAction();\n store.gotrue\n .createUser(params, store.remember)\n .then(user => {\n store.user = user;\n store.modal.page = \"user\";\n store.saving = false;\n })\n .catch(store.setError);\n});\n\nstore.signup = action(function signup(name, email, password) {\n store.startAction();\n return store.gotrue\n .signup(email, password, { full_name: name })\n .then(\n action(() => {\n if (store.settings.autoconfirm) {\n store.login(email, password, store.remember);\n } else {\n store.message = \"confirm\";\n }\n store.saving = false;\n })\n )\n .catch(store.setError);\n});\n\nstore.logout = action(function logout() {\n if (store.user) {\n store.startAction();\n return store.user\n .logout()\n .then(\n action(() => {\n store.user = null;\n store.modal.page = \"login\";\n store.saving = false;\n })\n )\n .catch(store.setError);\n } else {\n store.modal.page = \"login\";\n store.saving = false;\n }\n});\n\nstore.updatePassword = action(function updatePassword(password) {\n store.startAction();\n const user = store.recovered_user || store.user;\n user\n .update({ password })\n .then(user => {\n store.user = user;\n store.recovered_user = null;\n store.modal.page = \"user\";\n store.saving = false;\n })\n .catch(store.setError);\n});\n\nstore.acceptInvite = action(function acceptInvite(password) {\n store.startAction();\n store.gotrue\n .acceptInvite(store.invite_token, password, store.remember)\n .then(user => {\n store.saving = false;\n store.invite_token = null;\n store.user = user;\n store.modal.page = \"user\";\n })\n .catch(store.setError);\n});\n\nstore.doEmailChange = action(function doEmailChange() {\n store.startAction();\n return store.user\n .update({ email_change_token: store.email_change_token })\n .then(\n action(user => {\n store.user = user;\n store.email_change_token = null;\n store.message = \"email_changed\";\n store.saving = false;\n })\n )\n .catch(store.setError);\n});\n\nstore.verifyToken = action(function verifyToken(type, token) {\n const gotrue = store.gotrue;\n store.modal.isOpen = true;\n\n switch (type) {\n case \"confirmation\":\n store.startAction();\n store.modal.page = \"signup\";\n gotrue\n .confirm(token, store.remember)\n .then(\n action(user => {\n store.user = user;\n store.saving = false;\n })\n )\n .catch(\n action(err => {\n console.error(err);\n store.message = \"verfication_error\";\n store.modal.page = \"signup\";\n store.saving = false;\n })\n );\n break;\n case \"email_change\":\n store.email_change_token = token;\n store.modal.page = \"message\";\n if (store.user) {\n store.doEmailChange();\n } else {\n store.modal.page = \"login\";\n }\n break;\n case \"invite\":\n store.modal.page = type;\n store.invite_token = token;\n break;\n case \"recovery\":\n store.startAction();\n store.modal.page = type;\n store.gotrue\n .recover(token, store.remember)\n .then(user => {\n store.saving = false;\n store.recovered_user = user;\n })\n .catch(err => {\n store.saving = false;\n store.error = err;\n store.modal.page = \"login\";\n });\n break;\n default:\n store.error = \"Unkown token type\";\n }\n});\n\nstore.requestPasswordRecovery = action(function requestPasswordRecovery(email) {\n store.startAction();\n store.gotrue\n .requestPasswordRecovery(email)\n .then(\n action(() => {\n store.message = \"password_mail\";\n store.saving = false;\n })\n )\n .catch(store.setError);\n});\n\nstore.openModal = action(function open(page) {\n store.modal.page = page;\n store.modal.isOpen = true;\n});\n\nstore.closeModal = action(function close() {\n store.modal.isOpen = false;\n store.error = null;\n store.message = null;\n store.saving = false;\n});\n\nexport default store;\n\n\n\n// WEBPACK FOOTER //\n// ./state/store.js","import { h, Component } from \"preact\";\nimport { connect } from \"mobx-preact\";\n\n@connect([\"store\"])\nclass Controls extends Component {\n handleSignup = e => {\n e.preventDefault();\n this.props.store.openModal(\"signup\");\n };\n\n handleLogin = e => {\n e.preventDefault();\n this.props.store.openModal(\"login\");\n };\n\n handleLogout = e => {\n e.preventDefault();\n this.props.store.openModal(\"user\");\n };\n\n handleButton = e => {\n e.preventDefault();\n this.props.store.openModal(this.props.store.user ? \"user\" : \"login\");\n };\n\n render() {\n const { user } = this.props.store;\n\n if (this.props.mode === \"button\") {\n return (\n \n {this.props.text || (user ? \"Log out\" : \"Log in\")}\n \n );\n }\n\n if (user) {\n return (\n
    \n
  • \n Logged in as{\" \"}\n \n {user.user_metadata.name || user.email}\n \n
  • \n
  • \n \n Log out\n \n
  • \n
\n );\n }\n\n return (\n
    \n
  • \n \n Sign up\n \n
  • \n
  • \n \n Log in\n \n
  • \n
\n );\n }\n}\n\nexport default Controls;\n\n\n\n// WEBPACK FOOTER //\n// ./components/controls.js","exports = module.exports = require(\"../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"::-webkit-input-placeholder {\\n /* Chrome/Opera/Safari */\\n color: #a3a9ac;\\n font-weight: 500;\\n}\\n\\n::-moz-placeholder {\\n /* Firefox 19+ */\\n color: #a3a9ac;\\n font-weight: 500;\\n}\\n\\n:-ms-input-placeholder {\\n /* IE 10+ */\\n color: #a3a9ac;\\n font-weight: 500;\\n}\\n\\n:-moz-placeholder {\\n /* Firefox 18- */\\n color: #a3a9ac;\\n font-weight: 500;\\n}\\n\\n.modalContainer {\\n position: absolute;\\n top: 0;\\n left: 0;\\n width: 100%;\\n min-height: 100%;\\n overflow-x: hidden;\\n overflow-y: auto;\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n font-family: -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, Helvetica,\\n Arial, sans-serif, \\\"Apple Color Emoji\\\", \\\"Segoe UI Emoji\\\", \\\"Segoe UI Symbol\\\";\\n font-size: 14px;\\n line-height: 1.5;\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-orient: vertical;\\n -webkit-box-direction: normal;\\n -ms-flex-direction: column;\\n flex-direction: column;\\n -webkit-box-align: center;\\n -ms-flex-align: center;\\n align-items: center;\\n z-index: 99999;\\n}\\n\\n.modalContainer::before {\\n content: \\\"\\\";\\n display: block;\\n position: fixed;\\n top: 0;\\n bottom: 0;\\n left: 0;\\n right: 0;\\n background-color: #fff;\\n z-index: -1;\\n}\\n\\n.modalDialog {\\n -webkit-box-flex: 1;\\n -ms-flex-positive: 1;\\n flex-grow: 1;\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-orient: vertical;\\n -webkit-box-direction: normal;\\n -ms-flex-direction: column;\\n flex-direction: column;\\n width: 100%;\\n}\\n\\n.modalContent {\\n position: relative;\\n padding: 32px;\\n opacity: 0;\\n -webkit-transform: translateY(10px) scale(1);\\n transform: translateY(10px) scale(1);\\n background: #fff;\\n}\\n\\n[aria-hidden=\\\"false\\\"] .modalContent {\\n -webkit-animation: bouncyEntrance 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);\\n animation: bouncyEntrance 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);\\n -webkit-animation-fill-mode: forwards;\\n animation-fill-mode: forwards;\\n }\\n\\n@-webkit-keyframes bouncyEntrance {\\n 0% {\\n opacity: 0;\\n -webkit-transform: translateY(10px) scale(0.9);\\n transform: translateY(10px) scale(0.9);\\n }\\n\\n 100% {\\n opacity: 1;\\n -webkit-transform: translateY(0) scale(1);\\n transform: translateY(0) scale(1);\\n }\\n}\\n\\n@keyframes bouncyEntrance {\\n 0% {\\n opacity: 0;\\n -webkit-transform: translateY(10px) scale(0.9);\\n transform: translateY(10px) scale(0.9);\\n }\\n\\n 100% {\\n opacity: 1;\\n -webkit-transform: translateY(0) scale(1);\\n transform: translateY(0) scale(1);\\n }\\n}\\n\\n@media (min-width: 480px) {\\n .modalContainer::before {\\n background-color: rgb(14, 30, 37);\\n -webkit-animation: fadeIn 0.1s ease-in;\\n animation: fadeIn 0.1s ease-in;\\n -webkit-animation-fill-mode: forwards;\\n animation-fill-mode: forwards;\\n }\\n\\n .modalDialog {\\n max-width: 364px;\\n -webkit-box-pack: center;\\n -ms-flex-pack: center;\\n justify-content: center;\\n }\\n\\n .modalContent {\\n background: #fff;\\n -webkit-box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .07),\\n 0 12px 32px 0 rgba(14, 30, 37, .1);\\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .07),\\n 0 12px 32px 0 rgba(14, 30, 37, .1);\\n border-radius: 8px;\\n margin-top: 32px;\\n }\\n}\\n\\n@-webkit-keyframes fadeIn {\\n 0% {\\n opacity: 0;\\n }\\n\\n 100% {\\n opacity: 0.67;\\n }\\n}\\n\\n@keyframes fadeIn {\\n 0% {\\n opacity: 0;\\n }\\n\\n 100% {\\n opacity: 0.67;\\n }\\n}\\n\\n.flashMessage {\\n text-align: center;\\n color: rgb(14, 30, 37);\\n font-weight: 500;\\n font-size: 14px;\\n background-color: #f2f3f3;\\n padding: 6px;\\n border-radius: 4px;\\n opacity: 0.7;\\n -webkit-transition: opacity 0.2s linear;\\n transition: opacity 0.2s linear;\\n}\\n\\n.flashMessage:hover,\\n.flashMessage:focus {\\n opacity: 1;\\n}\\n\\n.error {\\n color: #fa3946;\\n background-color: #fceef0;\\n opacity: 1;\\n}\\n\\n.error span::before {\\n content: \\\"\\\";\\n display: inline-block;\\n position: relative;\\n top: 3px;\\n margin-right: 4px;\\n width: 16px;\\n height: 16px;\\n background: no-repeat center center;\\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8cGF0aCBmaWxsPSIjRkEzOTQ2IiBkPSJNOCwxLjMzMzMzMzMzIEMxMS42NzYsMS4zMzMzMzMzMyAxNC42NjY2NjY3LDQuMzI0IDE0LjY2NjY2NjcsOCBDMTQuNjY2NjY2NywxMS42NzYgMTEuNjc2LDE0LjY2NjY2NjcgOCwxNC42NjY2NjY3IEM0LjMyNCwxNC42NjY2NjY3IDEuMzMzMzM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32px 0;\\n}\\n\\n.infoTextEmail {\\n font-size: 16px;\\n font-weight: 500;\\n}\\n\\n.saving {\\n background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABQCAMAAACeYYN3AAAAxlBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////DTx3aAAAAQnRSTlMAAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2Nzg5Ojs8PT4/QEGgjKRfAAACk0lEQVR4AYXQDXP5WhAG8CUhiSQqSv4RRRMVL1Fa1VZf3PL9v9Tde9wc9M8+P8/M7s6czJiHgNIvVCJO6YiAMlAiWckASiQrm4bJMZTDrmbBIEC9qpgVjp6n4B+oyEwCzKrMQBVaQIlkpmXZln1dhQB+49gOh5dLexlV6MhsAqyazEQVugCqsOK5nsQmwPWZ53ucvyczSGb4l9T9OsdnLgFOXVZFFd4AqEKrIasR4AdBI2hw1GR6VzMwSWY2A60ZNDl6KnUC3KbMRhXeAqhCpyXzCAjarNVucdqXVEhWaRfCdsj5vQcE1EOZQ7Jy+EcUlklWi2Q3BLQ6nagTcTra2Y0qrHZirRN3OOezTUAjvq4bd7suqpDfSGJUoXcnCwiIerIqqlC96vf6HD1ZsUcE3PYH/QGnrx3uYnqoQn4l6aMK/XtZi4BuIrNIZqVJkiapkhx37Y6AcDgcpsNU44Nz3OuoQn4jSVGFNw+ykID+SGaTzM5G2YiTFVM73AMConE2zjhj7XAXs4EqHE/4d12GKgwmsoiAZCpzSObMptPZdHZVSkCc5/ksnym8cPRUmiQzpvNcmedzTl4o7qlBsuZc1iVg9ChDFdYWshEBveV/FssFZ/l7Z7eowsfl0/JJ4UXj43A/ogpbT7IeAZNnWQ1VuJJNCBi8HKxeVhw9tRaq8JkfrV/WHDULxb1CFbbX7HX9yllfck9A/ipzSea+yeYEJO+yEFX4tim8b94VXjj/zzdU4Z/NmY/NB+fkTglYfMg8knmfsiUBD1+yCFX4+X309f3FOds/UYVR8fH2e6vwovExIuB5K/NJ5v8jWxGQ/chiVOF2d+pn98M5zt3WJFm83+/2O4UXjprabkzAWn+o56k9qvBfX4hMaM+SxOMAAAAASUVORK5CYII=);\\n background-repeat: repeat-x;\\n background-size: contain;\\n background-origin: border-box;\\n background-position: 0% 0%;\\n -webkit-animation: loading 20s linear infinite;\\n animation: loading 20s linear infinite;\\n pointer-events: none;\\n}\\n\\n.saving::after {\\n content: \\\"\\\\2026\\\";\\n}\\n\\n@-webkit-keyframes loading {\\n 0% {\\n background-position: 0% 0%;\\n }\\n\\n 100% {\\n background-position: 700% 0%;\\n }\\n}\\n\\n@keyframes loading {\\n 0% {\\n background-position: 0% 0%;\\n }\\n\\n 100% {\\n background-position: 700% 0%;\\n }\\n}\\n\\n.btn {\\n display: block;\\n position: relative;\\n width: 100%;\\n height: auto;\\n margin: 14px 0 0;\\n padding: 6px;\\n outline: 0;\\n cursor: pointer;\\n border: 2px solid rgb(14, 30, 37);\\n border-radius: 4px;\\n background-color: #2d3b41;\\n color: #fff;\\n -webkit-transition: background-color 0.2s ease;\\n transition: background-color 0.2s ease;\\n font-family: -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, Helvetica,\\n Arial, sans-serif, \\\"Apple Color Emoji\\\", \\\"Segoe UI Emoji\\\", \\\"Segoe UI Symbol\\\";\\n font-size: 14px;\\n font-weight: 500;\\n line-height: 24px;\\n text-align: center;\\n text-decoration: none;\\n white-space: nowrap;\\n}\\n\\n.btn:hover,\\n.btn:focus {\\n background-color: rgb(14, 30, 37);\\n text-decoration: none;\\n}\\n\\n.btnClose {\\n position: absolute;\\n top: 0;\\n right: 0;\\n margin: 0;\\n padding: 0;\\n border: 0;\\n width: 24px;\\n height: 24px;\\n border-radius: 50%;\\n margin: 6px;\\n background: #fff;\\n color: #a3a9ac;\\n}\\n\\n.btnClose::before {\\n content: \\\"\\\\D7\\\";\\n font-size: 25px;\\n line-height: 9px;\\n}\\n\\n.btnClose:hover,\\n.btnClose:focus {\\n background: #e9ebeb;\\n color: rgb(14, 30, 37);\\n}\\n\\n.header {\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n margin-top: -8px;\\n margin-bottom: 32px;\\n}\\n\\n.btnHeader {\\n font-size: 16px;\\n line-height: 24px;\\n background: #fff;\\n color: #a3a9ac;\\n border: 0;\\n border-bottom: 2px solid #e9ebeb;\\n border-radius: 4px 4px 0 0;\\n margin: 0;\\n}\\n\\n.btnHeader:focus,\\n.btnHeader.active {\\n background: #fff;\\n color: rgb(14, 30, 37);\\n border-color: rgb(14, 30, 37);\\n font-weight: 700;\\n}\\n\\n.btnHeader:not(:only-child):hover {\\n background-color: #e9ebeb;\\n color: rgb(14, 30, 37);\\n}\\n\\n.btnHeader:only-child {\\n cursor: auto;\\n}\\n\\n.btnLink {\\n display: block;\\n position: relative;\\n width: auto;\\n height: auto;\\n margin: 14px auto 0;\\n padding: 6px;\\n padding-bottom: 0;\\n outline: 0;\\n cursor: pointer;\\n color: rgb(14, 30, 37);\\n border: none;\\n border-bottom: 2px solid #e9ebeb;\\n border-radius: 0;\\n background-color: inherit;\\n -webkit-transition: border-color 0.2s ease;\\n transition: border-color 0.2s ease;\\n font-family: -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, Helvetica,\\n Arial, sans-serif, \\\"Apple Color Emoji\\\", \\\"Segoe UI Emoji\\\", \\\"Segoe UI Symbol\\\";\\n font-size: 14px;\\n font-weight: 500;\\n line-height: 24px;\\n text-align: center;\\n white-space: nowrap;\\n}\\n\\n.btnLink:hover,\\n.btnLink:focus {\\n background-color: inherit;\\n border-color: #a3a9ac;\\n}\\n\\n.form {\\n}\\n\\n.formGroup {\\n position: relative;\\n margin-top: 14px;\\n}\\n\\n.formControl {\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n display: block;\\n width: 100%;\\n height: 40px;\\n margin: 0;\\n padding: 6px 12px 6px 34px;\\n border: 2px solid #e9ebeb;\\n border-radius: 4px;\\n background: #fff;\\n color: rgb(14, 30, 37);\\n -webkit-box-shadow: none;\\n box-shadow: none;\\n font-size: 14px;\\n font-weight: 500;\\n line-height: 24px;\\n -webkit-transition: -webkit-box-shadow ease-in-out 0.15s;\\n transition: -webkit-box-shadow ease-in-out 0.15s;\\n transition: box-shadow ease-in-out 0.15s;\\n transition: box-shadow ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;\\n -webkit-appearance: none;\\n -moz-appearance: none;\\n}\\n\\n.inputFieldIcon {\\n position: absolute;\\n top: 12px;\\n left: 12px;\\n display: inline-block;\\n width: 16px;\\n height: 16px;\\n background-repeat: no-repeat;\\n background-position: center;\\n pointer-events: none;\\n}\\n\\n.inputFieldName {\\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDE0IDE0Ij4gIDxwYXRoIGZpbGw9IiNBM0E5QUMiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTgsNyBDNi4zNDMxNDU3NSw3IDUsNS42NTY4NTQyNSA1LDQgQzUsMi4zNDMxNDU3NSA2LjM0MzE0NTc1LDEgOCwxIEM5LjY1Njg1NDI1LDEgMTEsMi4zNDMxNDU3NSAxMSw0IEMxMSw1LjY1Njg1NDI1IDkuNjU2ODU0MjUsNyA4LDcgWiBNOCwxNSBMMS41LDE1IEMxLjUsMTEuMTM0MDA2OCA0LjQxMDE0OTEzLDggOCw4IEMxMS41ODk4NTA5LDggMTQuNSwxMS4xMzQwMDY4IDE0LjUsMTUgTDgsMTUgWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEgLTEpIi8+PC9zdmc+);\\n}\\n\\n.inputFieldEmail {\\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3d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cxNTI1IDksNiBMOSwxMCBDOSwxMC41NTIyODQ3IDguNTUyMjg0NzUsMTEgOCwxMSBaIiB0cmFuc2Zvcm09InJvdGF0ZSg0NSA4LjcwNyA2LjI5MykiLz48L3N2Zz4=);\\n}\\n\\n.formLabel {\\n}\\n\\n.hr {\\n border: 0;\\n border-top: 2px solid #e9ebeb;\\n margin: 32px 0 -1px;\\n text-align: center;\\n overflow: visible;\\n}\\n\\n.hr::before {\\n content: \\\"or\\\";\\n position: relative;\\n display: inline-block;\\n font-size: 12px;\\n font-weight: 800;\\n line-height: 1;\\n text-transform: uppercase;\\n background-color: #fff;\\n color: rgb(14, 30, 37);\\n padding: 4px;\\n top: -11px;\\n}\\n\\n.btnProvider {\\n padding-left: 40px;\\n padding-right: 40px;\\n}\\n\\n.btnProvider::before {\\n content: \\\"\\\";\\n position: absolute;\\n display: inline-block;\\n vertical-align: middle;\\n width: 32px;\\n height: 40px;\\n background-repeat: no-repeat;\\n background-position: left center;\\n top: -2px;\\n left: 14px;\\n}\\n\\n.providerGoogle {\\n background-color: #4285f4;\\n border-color: #366dc7;\\n}\\n\\n.providerGoogle:hover,\\n.providerGoogle:focus {\\n background-color: #366dc7;\\n}\\n\\n.providerGitHub {\\n background-color: #333;\\n border-color: #000;\\n}\\n\\n.providerGitHub:hover,\\n.providerGitHub:focus {\\n background-color: #000;\\n}\\n\\n.providerGitLab {\\n background-color: #e24329;\\n border-color: #b03320;\\n}\\n\\n.providerGitLab:hover,\\n.providerGitLab:focus {\\n background-color: #b03320;\\n}\\n\\n.providerBitbucket {\\n background-color: #205081;\\n border-color: #14314f;\\n}\\n\\n.providerBitbucket:hover,\\n.providerBitbucket:focus {\\n background-color: #14314f;\\n}\\n\\n.providerGoogle:before {\\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDEzIDEyIj4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g3NiBMMTIuMDY0NTA5NiwxMS4yMjkyODc2IFoiLz4gICAgICA8ZWxsaXBzZSBjeD0iNyIgY3k9IjcuNjkiIHJ4PSIxLjA5OCIgcnk9IjEuMDg5Ii8+ICAgIDwvZz4gIDwvZz48L3N2Zz4=);\\n}\\n\\n.callOut {\\n display: block;\\n padding: 32px;\\n font-size: 14px;\\n font-weight: 500;\\n text-decoration: none;\\n color: #a3a9ac;\\n text-align: center;\\n}\\n\\n.callOut:after {\\n content: \\\" \\\\2665\\\";\\n -webkit-transition: color 4s ease;\\n transition: color 4s ease;\\n}\\n\\n.callOut:hover:after {\\n color: red;\\n}\\n\\n.callOut .netlifyLogo {\\n display: block;\\n margin: auto;\\n width: 32px;\\n height: 32px;\\n margin-bottom: 8px;\\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmlld0JveD0iMCAwIDMyIDMyIj4gIDxkZWZzPiAgICA8cmFkaWFsR3JhZGllbnQgaWQ9ImEiIGN5PSIwJSIgcj0iMTAwJSIgZng9IjUwJSIgZnk9IjAlIiBncmFkaWVudFRyYW5zZm9ybT0ibWF0cml4KDAgMSAtMS4xNTE4NSAwIC41IC0uNSkiPiAgICAgIDxzdG9wIHN0b3AtY29sb3I9IiMyMEM2QjciIG9mZnNldD0iMCUiLz4gICAgICA8c3RvcCBzdG9wLWNvbG9yPSIjNEQ5QUJGIiBvZmZzZXQ9IjEwMCUiLz4gICAgPC9yYWRpYWxHcmFkaWVudD4gIDwvZGVmcz4gIDxwYXRoIGZpbGw9InVybCgjYSkiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTIyLjk4MDYyMywxMS42MjYyMzc3IEMyMi44NzE3MTA3LDExLjUwNTEzMDYgMjIuNzM1NTcwNCwxMS4zOTc0Nzk4IDIyLjU3MjIwMjEsMTEuMzE2NzQxOCBDMjIuNTU4NTg4M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gQzAuNjEyNTk5MTI3LDE2LjkyODAzNzggMC41OTg5ODUwNjksMTYuOTAxMTI1NCAwLjYxMjU5OTEyNywxNi44ODc2NjkyIEMwLjYyNjIxMzE4NSwxNi44NzQyMTMgMC42Mzk4MjcyNDMsMTYuODYwNzU2OCAwLjY2NzA1NTM1OSwxNi44NjA3NTY4IEw3LjM1MTU1NzgzLDE4LjI0Njc0NjQgWiIvPjwvc3ZnPg==);\\n}\\n\\n.visuallyHidden {\\n border: 0;\\n clip: rect(0 0 0 0);\\n height: 1px;\\n margin: -1px;\\n overflow: hidden;\\n padding: 0;\\n position: absolute;\\n width: 1px;\\n #fff-space: nowrap;\\n}\\n\\n.subheader {\\n margin-top: 2em;\\n border-top: 1px solid rgb(14, 30, 37);\\n}\\n\\n.subheader h3 {\\n padding-top: 1em;\\n text-align: center;\\n }\\n\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./components/modal.css\n// module id = 27\n// module chunks = 0","/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\nmodule.exports = function(useSourceMap) {\n\tvar list = [];\n\n\t// return the list of modules as css string\n\tlist.toString = function toString() {\n\t\treturn this.map(function (item) {\n\t\t\tvar content = cssWithMappingToString(item, useSourceMap);\n\t\t\tif(item[2]) {\n\t\t\t\treturn \"@media \" + item[2] + \"{\" + content + \"}\";\n\t\t\t} else {\n\t\t\t\treturn content;\n\t\t\t}\n\t\t}).join(\"\");\n\t};\n\n\t// import a list of modules into the list\n\tlist.i = function(modules, mediaQuery) {\n\t\tif(typeof modules === \"string\")\n\t\t\tmodules = [[null, modules, \"\"]];\n\t\tvar alreadyImportedModules = {};\n\t\tfor(var i = 0; i < this.length; i++) {\n\t\t\tvar id = this[i][0];\n\t\t\tif(typeof id === \"number\")\n\t\t\t\talreadyImportedModules[id] = true;\n\t\t}\n\t\tfor(i = 0; i < modules.length; i++) {\n\t\t\tvar item = modules[i];\n\t\t\t// skip already imported module\n\t\t\t// this implementation is not 100% perfect for weird media query combinations\n\t\t\t// when a module is imported multiple times with different media queries.\n\t\t\t// I hope this will never occur (Hey this way we have smaller bundles)\n\t\t\tif(typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\n\t\t\t\tif(mediaQuery && !item[2]) {\n\t\t\t\t\titem[2] = mediaQuery;\n\t\t\t\t} else if(mediaQuery) {\n\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\n\t\t\t\t}\n\t\t\t\tlist.push(item);\n\t\t\t}\n\t\t}\n\t};\n\treturn list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n\tvar content = item[1] || '';\n\tvar cssMapping = item[3];\n\tif (!cssMapping) {\n\t\treturn content;\n\t}\n\n\tif (useSourceMap && typeof btoa === 'function') {\n\t\tvar sourceMapping = toComment(cssMapping);\n\t\tvar sourceURLs = cssMapping.sources.map(function (source) {\n\t\t\treturn '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'\n\t\t});\n\n\t\treturn [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n\t}\n\n\treturn [content].join('\\n');\n}\n\n// Adapted from convert-source-map (MIT)\nfunction toComment(sourceMap) {\n\t// eslint-disable-next-line no-undef\n\tvar base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n\tvar data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;\n\n\treturn '/*# ' + data + ' */';\n}\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/css-loader/lib/css-base.js"],"sourceRoot":""} \ No newline at end of file diff --git a/releases/v1/netlify-identity.js b/releases/v1/netlify-identity.js index 3afccb0af..ad9328759 100644 --- a/releases/v1/netlify-identity.js +++ b/releases/v1/netlify-identity.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.netlifyIdentity=t():e.netlifyIdentity=t()}("undefined"!=typeof self?self:this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=9)}([function(e,t,n){"use strict";function r(e,t){var n,r,o,i,a=A;for(i=arguments.length;i-- >2;)k.push(arguments[i]);for(t&&null!=t.children&&(k.length||k.push(t.children),delete t.children);k.length;)if((r=k.pop())&&void 0!==r.pop)for(i=r.length;i--;)k.push(r[i]);else"boolean"==typeof r&&(r=null),(o="function"!=typeof e)&&(null==r?r="":"number"==typeof r?r+="":"string"!=typeof r&&(o=!1)),o&&n?a[a.length-1]+=r:a===A?a=[r]:a.push(r),n=o;var s=new E;return s.nodeName=e,s.children=a,s.attributes=null==t?void 0:t,s.key=null==t?void 0:t.key,void 0!==L.vnode&&L.vnode(s),s}function o(e,t){for(var n in t)e[n]=t[n];return e}function i(e,t){return r(e.nodeName,o(o({},e.attributes),t),arguments.length>2?[].slice.call(arguments,2):e.children)}function a(e){!e._dirty&&(e._dirty=!0)&&1==C.push(e)&&(L.debounceRendering||S)(s)}function s(){var e,t=C;for(C=[];e=t.pop();)e._dirty&&w(e)}function u(e,t,n){return"string"==typeof t||"number"==typeof t?void 0!==e.splitText:"string"==typeof t.nodeName?!e._componentConstructor&&c(e,t.nodeName):n||e._componentConstructor===t.nodeName}function c(e,t){return e.normalizedNodeName===t||e.nodeName.toLowerCase()===t.toLowerCase()}function M(e){var t=o({},e.attributes);t.children=e.children;var n=e.nodeName.defaultProps;if(void 0!==n)for(var r in n)void 0===t[r]&&(t[r]=n[r]);return t}function l(e,t){var n=t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return n.normalizedNodeName=e,n}function p(e){var t=e.parentNode;t&&t.removeChild(e)}function f(e,t,n,r,o){if("className"===t&&(t="class"),"key"===t);else if("ref"===t)n&&n(null),r&&r(e);else if("class"!==t||o)if("style"===t){if(r&&"string"!=typeof r&&"string"!=typeof n||(e.style.cssText=r||""),r&&"object"==typeof r){if("string"!=typeof n)for(var i in n)i in r||(e.style[i]="");for(var i in r)e.style[i]="number"==typeof r[i]&&!1===U.test(i)?r[i]+"px":r[i]}}else if("dangerouslySetInnerHTML"===t)r&&(e.innerHTML=r.__html||"");else if("o"==t[0]&&"n"==t[1]){var a=t!==(t=t.replace(/Capture$/,""));t=t.toLowerCase().substring(2),r?n||e.addEventListener(t,y,a):e.removeEventListener(t,y,a),(e._listeners||(e._listeners={}))[t]=r}else if("list"!==t&&"type"!==t&&!o&&t in e){try{e[t]=null==r?"":r}catch(e){}null!=r&&!1!==r||"spellcheck"==t||e.removeAttribute(t)}else{var s=o&&t!==(t=t.replace(/^xlink:?/,""));null==r||!1===r?s?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.removeAttribute(t):"function"!=typeof r&&(s?e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),r):e.setAttribute(t,r))}else e.className=r||""}function y(e){return this._listeners[e.type](L.event&&L.event(e)||e)}function d(){for(var e;e=Q.pop();)L.afterMount&&L.afterMount(e),e.componentDidMount&&e.componentDidMount()}function N(e,t,n,r,o,i){_++||(Y=null!=o&&void 0!==o.ownerSVGElement,P=null!=e&&!("__preactattr_"in e));var a=g(e,t,n,r,i);return o&&a.parentNode!==o&&o.appendChild(a),--_||(P=!1,i||d()),a}function g(e,t,n,r,o){var i=e,a=Y;if(null!=t&&"boolean"!=typeof t||(t=""),"string"==typeof t||"number"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||o)?e.nodeValue!=t&&(e.nodeValue=t):(i=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(i,e),h(e,!0))),i.__preactattr_=!0,i;var s=t.nodeName;if("function"==typeof s)return m(e,t,n,r);if(Y="svg"===s||"foreignObject"!==s&&Y,s+="",(!e||!c(e,s))&&(i=l(s,Y),e)){for(;e.firstChild;)i.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(i,e),h(e,!0)}var u=i.firstChild,M=i.__preactattr_,p=t.children;if(null==M){M=i.__preactattr_={};for(var f=i.attributes,y=f.length;y--;)M[f[y].name]=f[y].value}return!P&&p&&1===p.length&&"string"==typeof p[0]&&null!=u&&void 0!==u.splitText&&null==u.nextSibling?u.nodeValue!=p[0]&&(u.nodeValue=p[0]):(p&&p.length||null!=u)&&D(i,p,n,r,P||null!=M.dangerouslySetInnerHTML),T(i,t.attributes,M),Y=a,i}function D(e,t,n,r,o){var i,a,s,c,M,l=e.childNodes,f=[],y={},d=0,N=0,D=l.length,j=0,T=t?t.length:0;if(0!==D)for(var z=0;D>z;z++){var b=l[z],v=b.__preactattr_,w=T&&v?b._component?b._component.__key:v.key:null;null!=w?(d++,y[w]=b):(v||(void 0!==b.splitText?!o||b.nodeValue.trim():o))&&(f[j++]=b)}if(0!==T)for(var z=0;T>z;z++){c=t[z],M=null;var w=c.key;if(null!=w)d&&void 0!==y[w]&&(M=y[w],y[w]=void 0,d--);else if(j>N)for(i=N;j>i;i++)if(void 0!==f[i]&&u(a=f[i],c,o)){M=a,f[i]=void 0,i===j-1&&j--,i===N&&N++;break}M=g(M,c,n,r),s=l[z],M&&M!==e&&M!==s&&(null==s?e.appendChild(M):M===s.nextSibling?p(s):e.insertBefore(M,s))}if(d)for(var z in y)void 0!==y[z]&&h(y[z],!1);for(;j>=N;)void 0!==(M=f[j--])&&h(M,!1)}function h(e,t){var n=e._component;n?x(n):(null!=e.__preactattr_&&e.__preactattr_.ref&&e.__preactattr_.ref(null),!1!==t&&null!=e.__preactattr_||p(e),j(e))}function j(e){for(e=e.lastChild;e;){var t=e.previousSibling;h(e,!0),e=t}}function T(e,t,n){var r;for(r in n)t&&null!=t[r]||null==n[r]||f(e,r,n[r],n[r]=void 0,Y);for(r in t)"children"===r||"innerHTML"===r||r in n&&t[r]===("value"===r||"checked"===r?e[r]:n[r])||f(e,r,n[r],n[r]=t[r],Y)}function z(e,t,n){var r,o=B.length;for(e.prototype&&e.prototype.render?(r=new e(t,n),O.call(r,t,n)):(r=new O(t,n),r.constructor=e,r.render=b);o--;)if(B[o].constructor===e)return r.nextBase=B[o].nextBase,B.splice(o,1),r;return r}function b(e,t,n){return this.constructor(e,n)}function v(e,t,n,r,o){e._disable||(e._disable=!0,e.__ref=t.ref,e.__key=t.key,delete t.ref,delete t.key,void 0===e.constructor.getDerivedStateFromProps&&(!e.base||o?e.componentWillMount&&e.componentWillMount():e.componentWillReceiveProps&&e.componentWillReceiveProps(t,r)),r&&r!==e.context&&(e.prevContext||(e.prevContext=e.context),e.context=r),e.prevProps||(e.prevProps=e.props),e.props=t,e._disable=!1,0!==n&&(1!==n&&!1===L.syncComponentUpdates&&e.base?a(e):w(e,1,o)),e.__ref&&e.__ref(e))}function w(e,t,n,r){if(!e._disable){var i,a,s,u=e.props,c=e.state,l=e.context,p=e.prevProps||u,f=e.prevState||c,y=e.prevContext||l,g=e.base,D=e.nextBase,j=g||D,T=e._component,b=!1,m=y;if(e.constructor.getDerivedStateFromProps&&(c=o(o({},c),e.constructor.getDerivedStateFromProps(u,c)),e.state=c),g&&(e.props=p,e.state=f,e.context=y,2!==t&&e.shouldComponentUpdate&&!1===e.shouldComponentUpdate(u,c,l)?b=!0:e.componentWillUpdate&&e.componentWillUpdate(u,c,l),e.props=u,e.state=c,e.context=l),e.prevProps=e.prevState=e.prevContext=e.nextBase=null,e._dirty=!1,!b){i=e.render(u,c,l),e.getChildContext&&(l=o(o({},l),e.getChildContext())),g&&e.getSnapshotBeforeUpdate&&(m=e.getSnapshotBeforeUpdate(p,f));var O,I,E=i&&i.nodeName;if("function"==typeof E){var k=M(i);a=T,a&&a.constructor===E&&k.key==a.__key?v(a,k,1,l,!1):(O=a,e._component=a=z(E,k,l),a.nextBase=a.nextBase||D,a._parentComponent=e,v(a,k,0,l,!1),w(a,1,n,!0)),I=a.base}else s=j,O=T,O&&(s=e._component=null),(j||1===t)&&(s&&(s._component=null),I=N(s,i,l,n||!g,j&&j.parentNode,!0));if(j&&I!==j&&a!==T){var A=j.parentNode;A&&I!==A&&(A.replaceChild(I,j),O||(j._component=null,h(j,!1)))}if(O&&x(O),e.base=I,I&&!r){for(var S=e,U=e;U=U._parentComponent;)(S=U).base=I;I._component=S,I._componentConstructor=S.constructor}}for(!g||n?Q.unshift(e):b||(e.componentDidUpdate&&e.componentDidUpdate(p,f,m),L.afterUpdate&&L.afterUpdate(e));e._renderCallbacks.length;)e._renderCallbacks.pop().call(e);_||r||d()}}function m(e,t,n,r){for(var o=e&&e._component,i=o,a=e,s=o&&e._componentConstructor===t.nodeName,u=s,c=M(t);o&&!u&&(o=o._parentComponent);)u=o.constructor===t.nodeName;return o&&u&&(!r||o._component)?(v(o,c,3,n,r),e=o.base):(i&&!s&&(x(i),e=a=null),o=z(t.nodeName,c,n),e&&!o.nextBase&&(o.nextBase=e,a=null),v(o,c,1,n,r),e=o.base,a&&e!==a&&(a._component=null,h(a,!1))),e}function x(e){L.beforeUnmount&&L.beforeUnmount(e);var t=e.base;e._disable=!0,e.componentWillUnmount&&e.componentWillUnmount(),e.base=null;var n=e._component;n?x(n):t&&(t.__preactattr_&&t.__preactattr_.ref&&t.__preactattr_.ref(null),e.nextBase=t,p(t),B.push(e),j(t)),e.__ref&&e.__ref(null)}function O(e,t){this._dirty=!0,this.context=t,this.props=e,this.state=this.state||{},this._renderCallbacks=[]}function I(e,t,n){return N(n,e,{},!1,t,!1)}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"h",function(){return r}),n.d(t,"createElement",function(){return r}),n.d(t,"cloneElement",function(){return i}),n.d(t,"Component",function(){return O}),n.d(t,"render",function(){return I}),n.d(t,"rerender",function(){return s}),n.d(t,"options",function(){return L});var E=function(){},L={},k=[],A=[],S="function"==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):setTimeout,U=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,C=[],Q=[],_=0,Y=!1,P=!1,B=[];o(O.prototype,{setState:function(e,t){this.prevState||(this.prevState=this.state),this.state=o(o({},this.state),"function"==typeof e?e(this.state,this.props):e),t&&this._renderCallbacks.push(t),a(this)},forceUpdate:function(e){e&&this._renderCallbacks.push(e),w(this,2)},render:function(){}}),t.default={h:r,createElement:r,cloneElement:i,Component:O,render:I,rerender:s,options:L}},function(e,t,n){"use strict";(function(e){function n(e,t){function n(){this.constructor=e}tn(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function r(e){return e.interceptors&&e.interceptors.length>0}function o(e,t){var n=e.interceptors||(e.interceptors=[]);return n.push(t),Oe(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function i(e,t){var n=wt();try{var r=e.interceptors;if(r)for(var o=0,i=r.length;i>o&&(t=r[o](t),me(!t||t.type,"Intercept handlers should return nothing or a change object"),t);o++);return t}finally{mt(n)}}function a(e){return e.changeListeners&&e.changeListeners.length>0}function s(e,t){var n=e.changeListeners||(e.changeListeners=[]);return n.push(t),Oe(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function u(e,t){var n=wt(),r=e.changeListeners;if(r){r=r.slice();for(var o=0,i=r.length;i>o;o++)r[o](t);mt(n)}}function c(){return!!Vn.spyListeners.length}function M(e){if(Vn.spyListeners.length)for(var t=Vn.spyListeners,n=0,r=t.length;r>n;n++)t[n](e)}function l(e){M(Ae({},e,{spyReportStart:!0}))}function p(e){M(e?Ae({},e,an):an)}function f(e){return Vn.spyListeners.push(e),Oe(function(){var t=Vn.spyListeners.indexOf(e);-1!==t&&Vn.spyListeners.splice(t,1)})}function y(){return"function"==typeof Symbol&&Symbol.iterator||"@@iterator"}function d(e){me(!0!==e[sn],"Illegal state: cannot recycle array as iterator"),Ce(e,sn,!0);var t=-1;return Ce(e,"next",function(){return t++,{done:t>=this.length,value:this.length>t?this[t]:void 0}}),e}function N(e,t){Ce(e,y(),t)}function g(e){return{enumerable:!1,configurable:!1,get:function(){return this.get(e)},set:function(t){this.set(e,t)}}}function D(e){Object.defineProperty(pn.prototype,""+e,g(e))}function h(e){for(var t=cn;e>t;t++)D(t);cn=e}function j(e){return Le(e)&&yn(e.$mobx)}function T(e){return Dn[e]}function z(e,t){me("function"==typeof t,T("m026")),me("string"==typeof e&&e.length>0,"actions should have valid names, got: '"+e+"'");var n=function(){return b(e,t,this,arguments)};return n.originalFn=t,n.isMobxAction=!0,n}function b(e,t,n,r){var o=v(e,t,n,r);try{return t.apply(n,r)}finally{w(o)}}function v(e,t,n,r){var o=c()&&!!e,i=0;if(o){i=Date.now();var a=r&&r.length||0,s=Array(a);if(a>0)for(var u=0;a>u;u++)s[u]=r[u];l({type:"action",name:e,fn:t,object:n,arguments:s})}var M=wt();return ct(),{prevDerivation:M,prevAllowStateChanges:I(!0),notifySpy:o,startTime:i}}function w(e){E(e.prevAllowStateChanges),Mt(),mt(e.prevDerivation),e.notifySpy&&p({time:Date.now()-e.startTime})}function m(e){me(null===Vn.trackingDerivation,T("m028")),Vn.strictMode=e,Vn.allowStateChanges=!e}function x(){return Vn.strictMode}function O(e,t){var n,r=I(e);try{n=t()}finally{E(r)}return n}function I(e){var t=Vn.allowStateChanges;return Vn.allowStateChanges=e,t}function E(e){Vn.allowStateChanges=e}function L(e,t,n,r,o){function i(i,a,s,u,c){if(void 0===c&&(c=0),me(o||S(arguments),"This function is a decorator, but it wasn't invoked like a decorator"),s){Se(i,"__mobxLazyInitializers")||Ue(i,"__mobxLazyInitializers",i.__mobxLazyInitializers&&i.__mobxLazyInitializers.slice()||[]);var M=s.value,l=s.initializer;return i.__mobxLazyInitializers.push(function(t){e(t,a,l?l.call(t):M,u,s)}),{enumerable:r,configurable:!0,get:function(){return!0!==this.__mobxDidRunLazyInitializers&&A(this),t.call(this,a)},set:function(e){!0!==this.__mobxDidRunLazyInitializers&&A(this),n.call(this,a,e)}}}var p={enumerable:r,configurable:!0,get:function(){return this.__mobxInitializedProps&&!0===this.__mobxInitializedProps[a]||k(this,a,void 0,e,u,s),t.call(this,a)},set:function(t){this.__mobxInitializedProps&&!0===this.__mobxInitializedProps[a]?n.call(this,a,t):k(this,a,t,e,u,s)}};return(3>arguments.length||5===arguments.length&&3>c)&&Object.defineProperty(i,a,p),p}return o?function(){if(S(arguments))return i.apply(null,arguments);var e=arguments,t=arguments.length;return function(n,r,o){return i(n,r,o,e,t)}}:i}function k(e,t,n,r,o,i){Se(e,"__mobxInitializedProps")||Ue(e,"__mobxInitializedProps",{}),e.__mobxInitializedProps[t]=!0,r(e,t,n,o,i)}function A(e){!0!==e.__mobxDidRunLazyInitializers&&e.__mobxLazyInitializers&&(Ue(e,"__mobxDidRunLazyInitializers",!0),e.__mobxDidRunLazyInitializers&&e.__mobxLazyInitializers.forEach(function(t){return t(e)}))}function S(e){return(2===e.length||3===e.length)&&"string"==typeof e[1]}function U(e){return function(t,n,r){if(r&&"function"==typeof r.value)return r.value=z(e,r.value),r.enumerable=!1,r.configurable=!0,r;if(void 0!==r&&void 0!==r.get)throw Error("[mobx] action is not expected to be used with getters");return hn(e).apply(this,arguments)}}function C(e,t,n){var r="string"==typeof e?e:e.name||"",o="function"==typeof e?e:t,i="function"==typeof e?t:n;return me("function"==typeof o,T("m002")),me(0===o.length,T("m003")),me("string"==typeof r&&r.length>0,"actions should have valid names, got: '"+r+"'"),b(r,o,i,void 0)}function Q(e){return"function"==typeof e&&!0===e.isMobxAction}function _(e,t,n){var r=function(){return b(t,n,e,arguments)};r.isMobxAction=!0,Ue(e,t,r)}function Y(e,t){return P(e,t)}function P(e,t,n,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!==e)return t!==t;var o=void 0===e?"undefined":en(e);return("function"===o||"object"===o||"object"==(void 0===t?"undefined":en(t)))&&B(e,t,n,r)}function B(e,t,n,r){e=R(e),t=R(t);var o=zn.call(e);if(o!==zn.call(t))return!1;switch(o){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t)}var i="[object Array]"===o;if(!i){if("object"!=(void 0===e?"undefined":en(e))||"object"!=(void 0===t?"undefined":en(t)))return!1;var a=e.constructor,s=t.constructor;if(a!==s&&!("function"==typeof a&&a instanceof a&&"function"==typeof s&&s instanceof s)&&"constructor"in e&&"constructor"in t)return!1}n=n||[],r=r||[];for(var u=n.length;u--;)if(n[u]===e)return r[u]===t;if(n.push(e),r.push(t),i){if((u=e.length)!==t.length)return!1;for(;u--;)if(!P(e[u],t[u],n,r))return!1}else{var c,M=Object.keys(e);if(u=M.length,Object.keys(t).length!==u)return!1;for(;u--;)if(c=M[u],!G(t,c)||!P(e[c],t[c],n,r))return!1}return n.pop(),r.pop(),!0}function R(e){return j(e)?e.peek():Yn(e)?e.entries():Re(e)?He(e.entries()):e}function G(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function H(e,t){return e===t}function Z(e,t){return Y(e,t)}function V(e,t){return Pe(e,t)||H(e,t)}function W(e,t,n){function r(){i(s)}var o,i,a;"string"==typeof e?(o=e,i=t,a=n):(o=e.name||"Autorun@"+ve(),i=e,a=t),me("function"==typeof i,T("m004")),me(!1===Q(i),T("m005")),a&&(i=i.bind(a));var s=new er(o,function(){this.track(r)});return s.schedule(),s.getDisposer()}function J(e,t,n,r){var o,i,a,s;return"string"==typeof e?(o=e,i=t,a=n,s=r):(o="When@"+ve(),i=e,a=t,s=n),W(o,function(e){if(i.call(s)){e.dispose();var t=wt();a.call(s),mt(t)}})}function F(e,t,n,r){function o(){a(M)}var i,a,s,u;"string"==typeof e?(i=e,a=t,s=n,u=r):(i=e.name||"AutorunAsync@"+ve(),a=e,s=t,u=n),me(!1===Q(a),T("m006")),void 0===s&&(s=1),u&&(a=a.bind(u));var c=!1,M=new er(i,function(){c||(c=!0,setTimeout(function(){c=!1,M.isDisposed||M.track(o)},s))});return M.schedule(),M.getDisposer()}function $(e,t,n){function r(){if(!c.isDisposed){var n=!1;c.track(function(){var t=e(c);n=a||!u(i,t),i=t}),a&&o.fireImmediately&&t(i,c),a||!0!==n||t(i,c),a&&(a=!1)}}arguments.length>3&&we(T("m007")),ye(e)&&we(T("m008"));var o;o="object"===(void 0===n?"undefined":en(n))?n:{},o.name=o.name||e.name||t.name||"Reaction@"+ve(),o.fireImmediately=!0===n||!0===o.fireImmediately,o.delay=o.delay||0,o.compareStructural=o.compareStructural||o.struct||!1,t=Tn(o.name,o.context?t.bind(o.context):t),o.context&&(e=e.bind(o.context));var i,a=!0,s=!1,u=o.equals?o.equals:o.compareStructural||o.struct?bn.structural:bn.default,c=new er(o.name,function(){a||1>o.delay?r():s||(s=!0,setTimeout(function(){s=!1,r()},o.delay))});return c.schedule(),c.getDisposer()}function q(e,t){if(ae(e)&&e.hasOwnProperty("$mobx"))return e.$mobx;me(Object.isExtensible(e),T("m035")),ke(e)||(t=(e.constructor.name||"ObservableObject")+"@"+ve()),t||(t="ObservableObject@"+ve());var n=new mn(e,t);return Ce(e,"$mobx",n),n}function X(e,t,n,r){if(e.values[t]&&!wn(e.values[t]))return me("value"in n,"The property "+t+" in "+e.name+" is already observable, cannot redefine it as computed property"),void(e.target[t]=n.value);if("value"in n)if(ye(n.value)){var o=n.value;K(e,t,o.initialValue,o.enhancer)}else Q(n.value)&&!0===n.value.autoBind?_(e.target,t,n.value.originalFn):wn(n.value)?te(e,t,n.value):K(e,t,n.value,r);else ee(e,t,n.get,n.set,bn.default,!0)}function K(e,t,n,o){if(_e(e.target,t),r(e)){var a=i(e,{object:e.target,name:t,type:"add",newValue:n});if(!a)return;n=a.newValue}n=(e.values[t]=new Nn(n,o,e.name+"."+t,!1)).value,Object.defineProperty(e.target,t,ne(t)),ie(e,e.target,t,n)}function ee(e,t,n,r,o,i){i&&_e(e.target,t),e.values[t]=new vn(n,e.target,o,e.name+"."+t,r),i&&Object.defineProperty(e.target,t,re(t))}function te(e,t,n){n.name=e.name+"."+t,n.scope||(n.scope=e.target),e.values[t]=n,Object.defineProperty(e.target,t,re(t))}function ne(e){return xn[e]||(xn[e]={configurable:!0,enumerable:!0,get:function(){return this.$mobx.values[e].get()},set:function(t){oe(this,e,t)}})}function re(e){return On[e]||(On[e]={configurable:!0,enumerable:!1,get:function(){return this.$mobx.values[e].get()},set:function(t){return this.$mobx.values[e].set(t)}})}function oe(e,t,n){var o=e.$mobx,s=o.values[t];if(r(o)){var M=i(o,{type:"update",object:e,name:t,newValue:n});if(!M)return;n=M.newValue}if((n=s.prepareNewValue(n))!==dn){var f=a(o),y=c(),M=f||y?{type:"update",object:e,oldValue:s.value,name:t,newValue:n}:null;y&&l(M),s.setNewValue(n),f&&u(o,M),y&&p()}}function ie(e,t,n,r){var o=a(e),i=c(),s=o||i?{type:"add",object:t,name:n,newValue:r}:null;i&&l(s),o&&u(e,s),i&&p()}function ae(e){return!!Le(e)&&(A(e),In(e.$mobx))}function se(e,t){if(null===e||void 0===e)return!1;if(void 0!==t){if(j(e)||Yn(e))throw Error(T("m019"));if(ae(e)){var n=e.$mobx;return n.values&&!!n.values[t]}return!1}return ae(e)||!!e.$mobx||on(e)||rr(e)||wn(e)}function ue(e){return me(!!e,":("),L(function(t,n,r,o,i){_e(t,n),me(!i||!i.get,T("m022")),K(q(t,void 0),n,r,e)},function(e){var t=this.$mobx.values[e];if(void 0!==t)return t.get()},function(e,t){oe(this,e,t)},!0,!1)}function ce(e){for(var t=[],n=1;arguments.length>n;n++)t[n-1]=arguments[n];return le(e,Ne,t)}function Me(e){for(var t=[],n=1;arguments.length>n;n++)t[n-1]=arguments[n];return le(e,De,t)}function le(e,t,n){me(arguments.length>=2,T("m014")),me("object"===(void 0===e?"undefined":en(e)),T("m015")),me(!Yn(e),T("m016")),n.forEach(function(e){me("object"===(void 0===e?"undefined":en(e)),T("m017")),me(!se(e),T("m018"))});for(var r=q(e),o={},i=n.length-1;i>=0;i--){var a=n[i];for(var s in a)if(!0!==o[s]&&Se(a,s)){if(o[s]=!0,e===a&&!Qe(e,s))continue;var u=Object.getOwnPropertyDescriptor(a,s);X(r,s,u,t)}}return e}function pe(e){if(void 0===e&&(e=void 0),"string"==typeof arguments[1])return En.apply(null,arguments);if(me(1>=arguments.length,T("m021")),me(!ye(e),T("m020")),se(e))return e;var t=Ne(e,void 0,void 0);return t!==e?t:Cn.box(e)}function fe(e){we("Expected one or two arguments to observable."+e+". Did you accidentally try to use observable."+e+" as decorator?")}function ye(e){return"object"===(void 0===e?"undefined":en(e))&&null!==e&&!0===e.isMobxModifierDescriptor}function de(e,t){return me(!ye(t),"Modifiers cannot be nested"),{isMobxModifierDescriptor:!0,initialValue:t,enhancer:e}}function Ne(e,t,n){return ye(e)&&we("You tried to assign a modifier wrapped value to a collection, please define modifiers when creating the collection, not when modifying it"),se(e)?e:Array.isArray(e)?Cn.array(e,n):ke(e)?Cn.object(e,n):Re(e)?Cn.map(e,n):e}function ge(e,t,n){return ye(e)&&we("You tried to assign a modifier wrapped value to a collection, please define modifiers when creating the collection, not when modifying it"),void 0===e||null===e?e:ae(e)||j(e)||Yn(e)?e:Array.isArray(e)?Cn.shallowArray(e,n):ke(e)?Cn.shallowObject(e,n):Re(e)?Cn.shallowMap(e,n):we("The shallow modifier / decorator can only used in combination with arrays, objects and maps")}function De(e){return e}function he(e,t,n){if(Y(e,t))return t;if(se(e))return e;if(Array.isArray(e))return new pn(e,he,n);if(Re(e))return new _n(e,he,n);if(ke(e)){var r={};return q(r,n),le(r,he,[e]),r}return e}function je(e,t){return Y(e,t)?t:e}function Te(e,t){void 0===t&&(t=void 0),ct();try{return e.apply(t)}finally{Mt()}}function ze(e){return xe("`mobx.map` is deprecated, use `new ObservableMap` or `mobx.observable.map` instead"),Cn.map(e)}function be(){return"undefined"!=typeof window?window:e}function ve(){return++Vn.mobxGuid}function we(e,t){throw me(!1,e,t),"X"}function me(e,t,n){if(!e)throw Error("[mobx] Invariant failed: "+t+(n?" in '"+n+"'":""))}function xe(e){return-1===Bn.indexOf(e)&&(Bn.push(e),console.error("[mobx] Deprecated: "+e),!0)}function Oe(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}function Ie(e){var t=[];return e.forEach(function(e){-1===t.indexOf(e)&&t.push(e)}),t}function Ee(e,t,n){return void 0===t&&(t=100),void 0===n&&(n=" - "),e?e.slice(0,t).join(n)+(e.length>t?" (... and "+(e.length-t)+"more)":""):""}function Le(e){return null!==e&&"object"===(void 0===e?"undefined":en(e))}function ke(e){if(null===e||"object"!==(void 0===e?"undefined":en(e)))return!1;var t=Object.getPrototypeOf(e);return t===Object.prototype||null===t}function Ae(){for(var e=arguments[0],t=1,n=arguments.length;n>t;t++){var r=arguments[t];for(var o in r)Se(r,o)&&(e[o]=r[o])}return e}function Se(e,t){return Gn.call(e,t)}function Ue(e,t,n){Object.defineProperty(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function Ce(e,t,n){Object.defineProperty(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function Qe(e,t){var n=Object.getOwnPropertyDescriptor(e,t);return!n||!1!==n.configurable&&!1!==n.writable}function _e(e,t){me(Qe(e,t),"Cannot make property '"+t+"' observable, it is not configurable and writable in the target object")}function Ye(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return Le(e)&&!0===e[n]}}function Pe(e,t){return"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function Be(e){return Array.isArray(e)||j(e)}function Re(e){return void 0!==be().Map&&e instanceof be().Map}function Ge(e){return ke(e)?Object.keys(e):Array.isArray(e)?e.map(function(e){return e[0]}):Re(e)?Array.from(e.keys()):Yn(e)?e.keys():we("Cannot get keys from "+e)}function He(e){for(var t=[];;){var n=e.next();if(n.done)break;t.push(n.value)}return t}function Ze(){return"function"==typeof Symbol&&Symbol.toPrimitive||"@@toPrimitive"}function Ve(e){return null===e?null:"object"===(void 0===e?"undefined":en(e))?""+e:e}function We(){Jn=!0,be().__mobxInstanceCount--}function Je(){xe("Using `shareGlobalState` is not recommended, use peer dependencies instead. See https://github.com/mobxjs/mobx/issues/1082 for details."),Wn=!0;var e=be(),t=Vn;if(e.__mobservableTrackingStack||e.__mobservableViewStack)throw Error("[mobx] An incompatible version of mobservable is already loaded.");if(e.__mobxGlobal&&e.__mobxGlobal.version!==t.version)throw Error("[mobx] An incompatible version of mobx is already loaded.");e.__mobxGlobal?Vn=e.__mobxGlobal:e.__mobxGlobal=t}function Fe(){return Vn}function $e(){Vn.resetId++;var e=new Zn;for(var t in e)-1===Hn.indexOf(t)&&(Vn[t]=e[t]);Vn.allowStateChanges=!Vn.strictMode}function qe(e,t){if("object"===(void 0===e?"undefined":en(e))&&null!==e){if(j(e))return me(void 0===t,T("m036")),e.$mobx.atom;if(Yn(e)){var n=e;if(void 0===t)return qe(n._keys);var r=n._data[t]||n._hasMap[t];return me(!!r,"the entry '"+t+"' does not exist in the observable map '"+Ke(e)+"'"),r}if(A(e),ae(e)){if(!t)return we("please specify a property");var r=e.$mobx.values[t];return me(!!r,"no observable property '"+t+"' found on the observable object '"+Ke(e)+"'"),r}if(on(e)||wn(e)||rr(e))return e}else if("function"==typeof e&&rr(e.$mobx))return e.$mobx;return we("Cannot obtain atom from "+e)}function Xe(e,t){return me(e,"Expecting some object"),void 0!==t?Xe(qe(e,t)):on(e)||wn(e)||rr(e)?e:Yn(e)?e:(A(e),e.$mobx?e.$mobx:void me(!1,"Cannot obtain administration from "+e))}function Ke(e,t){var n;return n=void 0!==t?qe(e,t):ae(e)||Yn(e)?Xe(e):qe(e),n.name}function et(e,t){return tt(qe(e,t))}function tt(e){var t={name:e.name};return e.observing&&e.observing.length>0&&(t.dependencies=Ie(e.observing).map(tt)),t}function nt(e,t){return rt(qe(e,t))}function rt(e){var t={name:e.name};return ot(e)&&(t.observers=it(e).map(rt)),t}function ot(e){return e.observers&&e.observers.length>0}function it(e){return e.observers}function at(e,t){var n=e.observers.length;n&&(e.observersIndexes[t.__mapid]=n),e.observers[n]=t,e.lowestObserverState>t.dependenciesState&&(e.lowestObserverState=t.dependenciesState)}function st(e,t){if(1===e.observers.length)e.observers.length=0,ut(e);else{var n=e.observers,r=e.observersIndexes,o=n.pop();if(o!==t){var i=r[t.__mapid]||0;i?r[o.__mapid]=i:delete r[o.__mapid],n[i]=o}delete r[t.__mapid]}}function ut(e){e.isPendingUnobservation||(e.isPendingUnobservation=!0,Vn.pendingUnobservations.push(e))}function ct(){Vn.inBatch++}function Mt(){if(0==--Vn.inBatch){St();for(var e=Vn.pendingUnobservations,t=0;e.length>t;t++){var n=e[t];n.isPendingUnobservation=!1,0===n.observers.length&&n.onBecomeUnobserved()}Vn.pendingUnobservations=[]}}function lt(e){var t=Vn.trackingDerivation;null!==t?t.runId!==e.lastAccessedBy&&(e.lastAccessedBy=t.runId,t.newObserving[t.unboundDepsCount++]=e):0===e.observers.length&&ut(e)}function pt(e){if(e.lowestObserverState!==qn.STALE){e.lowestObserverState=qn.STALE;for(var t=e.observers,n=t.length;n--;){var r=t[n];r.dependenciesState===qn.UP_TO_DATE&&(r.isTracing!==Xn.NONE&&dt(r,e),r.onBecomeStale()),r.dependenciesState=qn.STALE}}}function ft(e){if(e.lowestObserverState!==qn.STALE){e.lowestObserverState=qn.STALE;for(var t=e.observers,n=t.length;n--;){var r=t[n];r.dependenciesState===qn.POSSIBLY_STALE?r.dependenciesState=qn.STALE:r.dependenciesState===qn.UP_TO_DATE&&(e.lowestObserverState=qn.UP_TO_DATE)}}}function yt(e){if(e.lowestObserverState===qn.UP_TO_DATE){e.lowestObserverState=qn.POSSIBLY_STALE;for(var t=e.observers,n=t.length;n--;){var r=t[n];r.dependenciesState===qn.UP_TO_DATE&&(r.dependenciesState=qn.POSSIBLY_STALE,r.isTracing!==Xn.NONE&&dt(r,e),r.onBecomeStale())}}}function dt(e,t){if(console.log("[mobx.trace] '"+e.name+"' is invalidated due to a change in: '"+t.name+"'"),e.isTracing===Xn.BREAK){var n=[];Nt(et(e),n,1),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 vn?""+e.derivation:"")+"\n\nThe dependencies for this derivation are:\n\n"+n.join("\n")+"\n*/\n ")()}}function Nt(e,t,n){if(t.length>=1e3)return void t.push("(and many more)");t.push(""+Array(n).join("\t")+e.name),e.dependencies&&e.dependencies.forEach(function(e){return Nt(e,t,n+1)})}function gt(e){return e instanceof Kn}function Dt(e){switch(e.dependenciesState){case qn.UP_TO_DATE:return!1;case qn.NOT_TRACKING:case qn.STALE:return!0;case qn.POSSIBLY_STALE:for(var t=wt(),n=e.observing,r=n.length,o=0;r>o;o++){var i=n[o];if(wn(i)){try{i.get()}catch(e){return mt(t),!0}if(e.dependenciesState===qn.STALE)return mt(t),!0}}return xt(e),mt(t),!1}}function ht(){return null!==Vn.trackingDerivation}function jt(e){var t=e.observers.length>0;Vn.computationDepth>0&&t&&we(T("m031")+e.name),!Vn.allowStateChanges&&t&&we(T(Vn.strictMode?"m030a":"m030b")+e.name)}function Tt(e,t,n){xt(e),e.newObserving=Array(e.observing.length+100),e.unboundDepsCount=0,e.runId=++Vn.runId;var r=Vn.trackingDerivation;Vn.trackingDerivation=e;var o;try{o=t.call(n)}catch(e){o=new Kn(e)}return Vn.trackingDerivation=r,zt(e),o}function zt(e){for(var t=e.observing,n=e.observing=e.newObserving,r=qn.UP_TO_DATE,o=0,i=e.unboundDepsCount,a=0;i>a;a++){var s=n[a];0===s.diffValue&&(s.diffValue=1,o!==a&&(n[o]=s),o++),s.dependenciesState>r&&(r=s.dependenciesState)}for(n.length=o,e.newObserving=null,i=t.length;i--;){var s=t[i];0===s.diffValue&&st(s,e),s.diffValue=0}for(;o--;){var s=n[o];1===s.diffValue&&(s.diffValue=0,at(s,e))}r!==qn.UP_TO_DATE&&(e.dependenciesState=r,e.onBecomeStale())}function bt(e){var t=e.observing;e.observing=[];for(var n=t.length;n--;)st(t[n],e);e.dependenciesState=qn.NOT_TRACKING}function vt(e){var t=wt(),n=e();return mt(t),n}function wt(){var e=Vn.trackingDerivation;return Vn.trackingDerivation=null,e}function mt(e){Vn.trackingDerivation=e}function xt(e){if(e.dependenciesState!==qn.UP_TO_DATE){e.dependenciesState=qn.UP_TO_DATE;for(var t=e.observing,n=t.length;n--;)t[n].lowestObserverState=qn.UP_TO_DATE}}function Ot(e){return console.log(e),e}function It(e){return xe("`whyRun` is deprecated in favor of `trace`"),e=Lt(arguments),e?wn(e)||rr(e)?Ot(e.whyRun()):we(T("m025")):Ot(T("m024"))}function Et(){for(var e=[],t=0;arguments.length>t;t++)e[t]=arguments[t];var n=!1;"boolean"==typeof e[e.length-1]&&(n=e.pop());var r=Lt(e);if(!r)return we("'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly");r.isTracing===Xn.NONE&&console.log("[mobx.trace] '"+r.name+"' tracing enabled"),r.isTracing=n?Xn.BREAK:Xn.LOG}function Lt(e){switch(e.length){case 0:return Vn.trackingDerivation;case 1:return qe(e[0]);case 2:return qe(e[0],e[1])}}function kt(e){me(this&&this.$mobx&&rr(this.$mobx),"Invalid `this`"),me(!this.$mobx.errorHandler,"Only one onErrorHandler can be registered"),this.$mobx.errorHandler=e}function At(e){return Vn.globalReactionErrorHandlers.push(e),function(){var t=Vn.globalReactionErrorHandlers.indexOf(e);0>t||Vn.globalReactionErrorHandlers.splice(t,1)}}function St(){Vn.inBatch>0||Vn.isRunningReactions||nr(Ut)}function Ut(){Vn.isRunningReactions=!0;for(var e=Vn.pendingReactions,t=0;e.length>0;){++t===tr&&(console.error("Reaction doesn't converge to a stable state after "+tr+" iterations. Probably there is a cycle in the reactive function: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,o=n.length;o>r;r++)n[r].runReaction()}Vn.isRunningReactions=!1}function Ct(e){var t=nr;nr=function(n){return e(function(){return t(n)})}}function Qt(e){return xe("asReference is deprecated, use observable.ref instead"),Cn.ref(e)}function _t(e){return xe("asStructure is deprecated. Use observable.struct, computed.struct or reaction options instead."),Cn.struct(e)}function Yt(e){return xe("asFlat is deprecated, use observable.shallow instead"),Cn.shallow(e)}function Pt(e){return xe("asMap is deprecated, use observable.map or observable.shallowMap instead"),Cn.map(e||{})}function Bt(e){return L(function(t,n,r,o,i){me(void 0!==i,T("m009")),me("function"==typeof i.get,T("m010")),ee(q(t,""),n,i.get,i.set,e,!1)},function(e){var t=this.$mobx.values[e];if(void 0!==t)return t.get()},function(e,t){this.$mobx.values[e].set(t)},!1,!1)}function Rt(e,t){if(null===e||void 0===e)return!1;if(void 0!==t){if(!1===ae(e))return!1;if(!e.$mobx.values[t])return!1;var n=qe(e,t);return wn(n)}return wn(e)}function Gt(e,t,n,r){return"function"==typeof n?Zt(e,t,n,r):Ht(e,t,n)}function Ht(e,t,n){return Xe(e).observe(t,n)}function Zt(e,t,n,r){return Xe(e,t).observe(n,r)}function Vt(e,t,n){return"function"==typeof n?Jt(e,t,n):Wt(e,t)}function Wt(e,t){return Xe(e).intercept(t)}function Jt(e,t,n){return Xe(e,t).intercept(n)}function Ft(e,t){return ht()||console.warn(T("m013")),ar(e,{context:t}).get()}function $t(e,t,n){function r(r){return t&&n.push([e,r]),r}if(void 0===t&&(t=!0),void 0===n&&(n=[]),se(e)){if(t&&null===n&&(n=[]),t&&null!==e&&"object"===(void 0===e?"undefined":en(e)))for(var o=0,i=n.length;i>o;o++)if(n[o][0]===e)return n[o][1];if(j(e)){var a=r([]),s=e.map(function(e){return $t(e,t,n)});a.length=s.length;for(var o=0,i=s.length;i>o;o++)a[o]=s[o];return a}if(ae(e)){var a=r({});for(var u in e)a[u]=$t(e[u],t,n);return a}if(Yn(e)){var c=r({});return e.forEach(function(e,r){return c[r]=$t(e,t,n)}),c}if(gn(e))return $t(e.get(),t,n)}return e}function qt(e,t){me("function"==typeof e&&2>e.length,"createTransformer expects a function that accepts one argument");var r={},o=Vn.resetId,i=function(o){function i(t,n){var r=o.call(this,function(){return e(n)},void 0,bn.default,"Transformer-"+e.name+"-"+t,void 0)||this;return r.sourceIdentifier=t,r.sourceObject=n,r}return n(i,o),i.prototype.onBecomeUnobserved=function(){var e=this.value;o.prototype.onBecomeUnobserved.call(this),delete r[this.sourceIdentifier],t&&t(e,this.sourceObject)},i}(vn);return function(e){o!==Vn.resetId&&(r={},o=Vn.resetId);var t=Xt(e),n=r[t];return n?n.get():(n=r[t]=new i(t,e),n.get())}}function Xt(e){if("string"==typeof e||"number"==typeof e)return e;if(null===e||"object"!==(void 0===e?"undefined":en(e)))throw Error("[mobx] transform expected some kind of object or primitive value, got: "+e);var t=e.$transformId;return void 0===t&&(t=ve(),Ue(e,"$transformId",t)),t}function Kt(e,t,n){var r;if(Yn(e)||j(e)||gn(e))r=Xe(e);else{if(!ae(e))return we("Expected observable map, object or array as first array");if("string"!=typeof t)return we("InterceptReads can only be used with a specific property, not with an object in general");r=Xe(e,t)}return void 0!==r.dehancer?we("An intercept reader was already established"):(r.dehancer="function"==typeof t?t:n,function(){r.dehancer=void 0})}Object.defineProperty(t,"__esModule",{value:!0});var en="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},tn=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])},nn=function(){function e(e){void 0===e&&(e="Atom@"+ve()),this.name=e,this.isPendingUnobservation=!0,this.observers=[],this.observersIndexes={},this.diffValue=0,this.lastAccessedBy=0,this.lowestObserverState=qn.NOT_TRACKING}return e.prototype.onBecomeUnobserved=function(){},e.prototype.reportObserved=function(){lt(this)},e.prototype.reportChanged=function(){ct(),pt(this),Mt()},e.prototype.toString=function(){return this.name},e}(),rn=function(e){function t(t,n,r){void 0===t&&(t="Atom@"+ve()),void 0===n&&(n=Rn),void 0===r&&(r=Rn);var o=e.call(this,t)||this;return o.name=t,o.onBecomeObservedHandler=n,o.onBecomeUnobservedHandler=r,o.isPendingUnobservation=!1,o.isBeingTracked=!1,o}return n(t,e),t.prototype.reportObserved=function(){return ct(),e.prototype.reportObserved.call(this),this.isBeingTracked||(this.isBeingTracked=!0,this.onBecomeObservedHandler()),Mt(),!!Vn.trackingDerivation},t.prototype.onBecomeUnobserved=function(){this.isBeingTracked=!1,this.onBecomeUnobservedHandler()},t}(nn),on=Ye("Atom",nn),an={spyReportEnd:!0},sn="__$$iterating",un=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),cn=0,Mn=function(){function e(){}return e}();!function(e,t){void 0!==Object.setPrototypeOf?Object.setPrototypeOf(e.prototype,t):void 0!==e.prototype.__proto__?e.prototype.__proto__=t:e.prototype=t}(Mn,Array.prototype),Object.isFrozen(Array)&&["constructor","push","shift","concat","pop","unshift","replace","find","findIndex","splice","reverse","sort"].forEach(function(e){Object.defineProperty(Mn.prototype,e,{configurable:!0,writable:!0,value:Array.prototype[e]})});var ln=function(){function e(e,t,n,r){this.array=n,this.owned=r,this.values=[],this.lastKnownLength=0,this.interceptors=null,this.changeListeners=null,this.atom=new nn(e||"ObservableArray@"+ve()),this.enhancer=function(n,r){return t(n,r,e+"[..]")}}return e.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},e.prototype.dehanceValues=function(e){return void 0!==this.dehancer?e.map(this.dehancer):e},e.prototype.intercept=function(e){return o(this,e)},e.prototype.observe=function(e,t){return void 0===t&&(t=!1),t&&e({object:this.array,type:"splice",index:0,added:this.values.slice(),addedCount:this.values.length,removed:[],removedCount:0}),s(this,e)},e.prototype.getArrayLength=function(){return this.atom.reportObserved(),this.values.length},e.prototype.setArrayLength=function(e){if("number"!=typeof e||0>e)throw Error("[mobx.array] Out of range: "+e);var t=this.values.length;if(e!==t)if(e>t){for(var n=Array(e-t),r=0;e-t>r;r++)n[r]=void 0;this.spliceWithArray(t,0,n)}else this.spliceWithArray(e,t-e)},e.prototype.updateArrayLength=function(e,t){if(e!==this.lastKnownLength)throw Error("[mobx] Modification exception: the internal structure of an observable array was changed. Did you use peek() to change it?");this.lastKnownLength+=t,t>0&&e+t+1>cn&&h(e+t+1)},e.prototype.spliceWithArray=function(e,t,n){var o=this;jt(this.atom);var a=this.values.length;if(void 0===e?e=0:e>a?e=a:0>e&&(e=Math.max(0,a+e)),t=1===arguments.length?a-e:void 0===t||null===t?0:Math.max(0,Math.min(t,a-e)),void 0===n&&(n=[]),r(this)){var s=i(this,{object:this.array,type:"splice",index:e,removedCount:t,added:n});if(!s)return Pn;t=s.removedCount,n=s.added}n=n.map(function(e){return o.enhancer(e,void 0)}),this.updateArrayLength(a,n.length-t);var u=this.spliceItemsIntoValues(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice(e,n,u),this.dehanceValues(u)},e.prototype.spliceItemsIntoValues=function(e,t,n){if(1e4>n.length)return(o=this.values).splice.apply(o,[e,t].concat(n));var r=this.values.slice(e,e+t);return this.values=this.values.slice(0,e).concat(n,this.values.slice(e+t)),r;var o},e.prototype.notifyArrayChildUpdate=function(e,t,n){var r=!this.owned&&c(),o=a(this),i=o||r?{object:this.array,type:"update",index:e,newValue:t,oldValue:n}:null;r&&l(i),this.atom.reportChanged(),o&&u(this,i),r&&p()},e.prototype.notifyArraySplice=function(e,t,n){var r=!this.owned&&c(),o=a(this),i=o||r?{object:this.array,type:"splice",index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;r&&l(i),this.atom.reportChanged(),o&&u(this,i),r&&p()},e}(),pn=function(e){function t(t,n,r,o){void 0===r&&(r="ObservableArray@"+ve()),void 0===o&&(o=!1);var i=e.call(this)||this,a=new ln(r,n,i,o);return Ce(i,"$mobx",a),t&&t.length&&i.spliceWithArray(0,0,t),un&&Object.defineProperty(a.array,"0",fn),i}return n(t,e),t.prototype.intercept=function(e){return this.$mobx.intercept(e)},t.prototype.observe=function(e,t){return void 0===t&&(t=!1),this.$mobx.observe(e,t)},t.prototype.clear=function(){return this.splice(0)},t.prototype.concat=function(){for(var e=[],t=0;arguments.length>t;t++)e[t]=arguments[t];return this.$mobx.atom.reportObserved(),Array.prototype.concat.apply(this.peek(),e.map(function(e){return j(e)?e.peek():e}))},t.prototype.replace=function(e){return this.$mobx.spliceWithArray(0,this.$mobx.values.length,e)},t.prototype.toJS=function(){return this.slice()},t.prototype.toJSON=function(){return this.toJS()},t.prototype.peek=function(){return this.$mobx.atom.reportObserved(),this.$mobx.dehanceValues(this.$mobx.values)},t.prototype.find=function(e,t,n){void 0===n&&(n=0);var r=this.findIndex.apply(this,arguments);return-1===r?void 0:this.get(r)},t.prototype.findIndex=function(e,t,n){void 0===n&&(n=0);for(var r=this.peek(),o=r.length,i=n;o>i;i++)if(e.call(t,r[i],i,this))return i;return-1},t.prototype.splice=function(e,t){for(var n=[],r=2;arguments.length>r;r++)n[r-2]=arguments[r];switch(arguments.length){case 0:return[];case 1:return this.$mobx.spliceWithArray(e);case 2:return this.$mobx.spliceWithArray(e,t)}return this.$mobx.spliceWithArray(e,t,n)},t.prototype.spliceWithArray=function(e,t,n){return this.$mobx.spliceWithArray(e,t,n)},t.prototype.push=function(){for(var e=[],t=0;arguments.length>t;t++)e[t]=arguments[t];var n=this.$mobx;return n.spliceWithArray(n.values.length,0,e),n.values.length},t.prototype.pop=function(){return this.splice(Math.max(this.$mobx.values.length-1,0),1)[0]},t.prototype.shift=function(){return this.splice(0,1)[0]},t.prototype.unshift=function(){for(var e=[],t=0;arguments.length>t;t++)e[t]=arguments[t];var n=this.$mobx;return n.spliceWithArray(0,0,e),n.values.length},t.prototype.reverse=function(){var e=this.slice();return e.reverse.apply(e,arguments)},t.prototype.sort=function(){var e=this.slice();return e.sort.apply(e,arguments)},t.prototype.remove=function(e){var t=this.$mobx.dehanceValues(this.$mobx.values).indexOf(e);return t>-1&&(this.splice(t,1),!0)},t.prototype.move=function(e,t){function n(e){if(0>e)throw Error("[mobx.array] Index out of bounds: "+e+" is negative");var t=this.$mobx.values.length;if(e>=t)throw Error("[mobx.array] Index out of bounds: "+e+" is not smaller than "+t)}if(n.call(this,e),n.call(this,t),e!==t){var r,o=this.$mobx.values;r=t>e?o.slice(0,e).concat(o.slice(e+1,t+1),[o[e]],o.slice(t+1)):o.slice(0,t).concat([o[e]],o.slice(t,e),o.slice(e+1)),this.replace(r)}},t.prototype.get=function(e){var t=this.$mobx;if(t){if(t.values.length>e)return t.atom.reportObserved(),t.dehanceValue(t.values[e]);console.warn("[mobx.array] Attempt to read an array index ("+e+") that is out of bounds ("+t.values.length+"). Please check length first. Out of bound indices will not be tracked by MobX")}},t.prototype.set=function(e,t){var n=this.$mobx,o=n.values;if(o.length>e){jt(n.atom);var a=o[e];if(r(n)){var s=i(n,{type:"update",object:this,index:e,newValue:t});if(!s)return;t=s.newValue}t=n.enhancer(t,a);t!==a&&(o[e]=t,n.notifyArrayChildUpdate(e,t,a))}else{if(e!==o.length)throw Error("[mobx.array] Index out of bounds, "+e+" is larger than "+o.length);n.spliceWithArray(e,0,[t])}},t}(Mn);N(pn.prototype,function(){return d(this.slice())}),Object.defineProperty(pn.prototype,"length",{enumerable:!1,configurable:!0,get:function(){return this.$mobx.getArrayLength()},set:function(e){this.$mobx.setArrayLength(e)}}),["every","filter","forEach","indexOf","join","lastIndexOf","map","reduce","reduceRight","slice","some","toString","toLocaleString"].forEach(function(e){var t=Array.prototype[e];me("function"==typeof t,"Base function not defined on Array prototype: '"+e+"'"),Ue(pn.prototype,e,function(){return t.apply(this.peek(),arguments)})}),function(e,t){for(var n=0;t.length>n;n++)Ue(e,t[n],e[t[n]])}(pn.prototype,["constructor","intercept","observe","clear","concat","get","replace","toJS","toJSON","peek","find","findIndex","splice","spliceWithArray","push","pop","set","shift","unshift","reverse","sort","remove","move","toString","toLocaleString"]);var fn=g(0);h(1e3);var yn=Ye("ObservableArrayAdministration",ln),dn={},Nn=function(e){function t(t,n,r,o){void 0===r&&(r="ObservableValue@"+ve()),void 0===o&&(o=!0);var i=e.call(this,r)||this;return i.enhancer=n,i.hasUnreportedChange=!1,i.dehancer=void 0,i.value=n(t,void 0,r),o&&c()&&M({type:"create",object:i,newValue:i.value}),i}return n(t,e),t.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.prototype.set=function(e){var t=this.value;if((e=this.prepareNewValue(e))!==dn){var n=c();n&&l({type:"update",object:this,newValue:e,oldValue:t}),this.setNewValue(e),n&&p()}},t.prototype.prepareNewValue=function(e){if(jt(this),r(this)){var t=i(this,{object:this,type:"update",newValue:e});if(!t)return dn;e=t.newValue}return e=this.enhancer(e,this.value,this.name),this.value!==e?e:dn},t.prototype.setNewValue=function(e){var t=this.value;this.value=e,this.reportChanged(),a(this)&&u(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 o(this,e)},t.prototype.observe=function(e,t){return t&&e({object:this,type:"update",newValue:this.value,oldValue:void 0}),s(this,e)},t.prototype.toJSON=function(){return this.get()},t.prototype.toString=function(){return this.name+"["+this.value+"]"},t.prototype.valueOf=function(){return Ve(this.get())},t}(nn);Nn.prototype[Ze()]=Nn.prototype.valueOf;var gn=Ye("ObservableValue",Nn),Dn={m001:"It is not allowed to assign new values to @action fields",m002:"`runInAction` expects a function",m003:"`runInAction` expects a function without arguments",m004:"autorun expects a function",m005:"Warning: attempted to pass an action to autorun. Actions are untracked and will not trigger on state changes. Use `reaction` or wrap only your state modification code in an action.",m006:"Warning: attempted to pass an action to autorunAsync. Actions are untracked and will not trigger on state changes. Use `reaction` or wrap only your state modification code in an action.",m007:"reaction only accepts 2 or 3 arguments. If migrating from MobX 2, please provide an options object",m008:"wrapping reaction expression in `asReference` is no longer supported, use options object instead",m009:"@computed can only be used on getter functions, like: '@computed get myProps() { return ...; }'. It looks like it was used on a property.",m010:"@computed can only be used on getter functions, like: '@computed get myProps() { return ...; }'",m011:"First argument to `computed` should be an expression. If using computed as decorator, don't pass it arguments",m012:"computed takes one or two arguments if used as function",m013:"[mobx.expr] 'expr' should only be used inside other reactive functions.",m014:"extendObservable expected 2 or more arguments",m015:"extendObservable expects an object as first argument",m016:"extendObservable should not be used on maps, use map.merge instead",m017:"all arguments of extendObservable should be objects",m018:"extending an object with another observable (object) is not supported. Please construct an explicit propertymap, using `toJS` if need. See issue #540",m019:"[mobx.isObservable] isObservable(object, propertyName) is not supported for arrays and maps. Use map.has or array.length instead.",m020:"modifiers can only be used for individual object properties",m021:"observable expects zero or one arguments",m022:"@observable can not be used on getters, use @computed instead",m024:"whyRun() can only be used if a derivation is active, or by passing an computed value / reaction explicitly. If you invoked whyRun from inside a computation; the computation is currently suspended but re-evaluating because somebody requested its value.",m025:"whyRun can only be used on reactions and computed values",m026:"`action` can only be invoked on functions",m028:"It is not allowed to set `useStrict` when a derivation is running",m029:"INTERNAL ERROR only onBecomeUnobserved shouldn't be called twice in a row",m030a:"Since strict-mode is enabled, changing observed observable values outside actions is not allowed. Please wrap the code in an `action` if this change is intended. Tried to modify: ",m030b:"Side effects like changing state are not allowed at this point. Are you trying to modify state from, for example, the render function of a React component? Tried to modify: ",m031:"Computed values are not allowed to cause side effects by changing observables that are already being observed. Tried to modify: ",m032:"* This computation is suspended (not in use by any reaction) and won't run automatically.\n\tDidn't expect this computation to be suspended at this point?\n\t 1. Make sure this computation is used by a reaction (reaction, autorun, observer).\n\t 2. Check whether you are using this computation synchronously (in the same stack as they reaction that needs it).",m033:"`observe` doesn't support the fire immediately property for observable maps.",m034:"`mobx.map` is deprecated, use `new ObservableMap` or `mobx.observable.map` instead",m035:"Cannot make the designated object observable; it is not extensible",m036:"It is not possible to get index atoms from arrays",m037:'Hi there! I\'m sorry you have just run into an exception.\nIf your debugger ends up here, know that some reaction (like the render() of an observer component, autorun or reaction)\nthrew an exception and that mobx caught it, to avoid that it brings the rest of your application down.\nThe original cause of the exception (the code that caused this reaction to run (again)), is still in the stack.\n\nHowever, more interesting is the actual stack trace of the error itself.\nHopefully the error is an instanceof Error, because in that case you can inspect the original stack of the error from where it was thrown.\nSee `error.stack` property, or press the very subtle "(...)" link you see near the console.error message that probably brought you here.\nThat stack is more interesting than the stack of this console.error itself.\n\nIf the exception you see is an exception you created yourself, make sure to use `throw new Error("Oops")` instead of `throw "Oops"`,\nbecause the javascript environment will only preserve the original stack trace in the first form.\n\nYou can also make sure the debugger pauses the next time this very same exception is thrown by enabling "Pause on caught exception".\n(Note that it might pause on many other, unrelated exception as well).\n\nIf that all doesn\'t help you out, feel free to open an issue https://github.com/mobxjs/mobx/issues!\n',m038:"Missing items in this list?\n 1. Check whether all used values are properly marked as observable (use isObservable to verify)\n 2. Make sure you didn't dereference values too early. MobX observes props, not primitives. E.g: use 'person.name' instead of 'name' in your computation.\n"},hn=L(function(e,t,n,r){Ue(e,t,Tn(r&&1===r.length?r[0]:n.name||t||"",n))},function(e){return this[e]},function(){me(!1,T("m001"))},!1,!0),jn=L(function(e,t,n){_(e,t,n)},function(e){return this[e]},function(){me(!1,T("m001"))},!1,!1),Tn=function(e,t){return 1===arguments.length&&"function"==typeof e?z(e.name||"",e):2===arguments.length&&"function"==typeof t?z(e,t):1===arguments.length&&"string"==typeof e?U(e):U(t).apply(null,arguments)};Tn.bound=function(e){if("function"==typeof e){var t=z("",e);return t.autoBind=!0,t}return jn.apply(null,arguments)};var zn=Object.prototype.toString,bn={identity:H,structural:Z,default:V},vn=function(){function e(e,t,n,r,o){this.derivation=e,this.scope=t,this.equals=n,this.dependenciesState=qn.NOT_TRACKING,this.observing=[],this.newObserving=null,this.isPendingUnobservation=!1,this.observers=[],this.observersIndexes={},this.diffValue=0,this.runId=0,this.lastAccessedBy=0,this.lowestObserverState=qn.UP_TO_DATE,this.unboundDepsCount=0,this.__mapid="#"+ve(),this.value=new Kn(null),this.isComputing=!1,this.isRunningSetter=!1,this.isTracing=Xn.NONE,this.name=r||"ComputedValue@"+ve(),o&&(this.setter=z(r+"-setter",o))}return e.prototype.onBecomeStale=function(){yt(this)},e.prototype.onBecomeUnobserved=function(){bt(this),this.value=void 0},e.prototype.get=function(){me(!this.isComputing,"Cycle detected in computation "+this.name,this.derivation),0===Vn.inBatch?(ct(),Dt(this)&&(this.isTracing!==Xn.NONE&&console.log("[mobx.trace] '"+this.name+"' is being read outside a reactive context and doing a full recompute"),this.value=this.computeValue(!1)),Mt()):(lt(this),Dt(this)&&this.trackAndCompute()&&ft(this));var e=this.value;if(gt(e))throw e.cause;return e},e.prototype.peek=function(){var e=this.computeValue(!1);if(gt(e))throw e.cause;return e},e.prototype.set=function(e){if(this.setter){me(!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 me(!1,"[ComputedValue '"+this.name+"'] It is not possible to assign a new value to a computed value.")},e.prototype.trackAndCompute=function(){c()&&M({object:this.scope,type:"compute",fn:this.derivation});var e=this.value,t=this.dependenciesState===qn.NOT_TRACKING,n=this.value=this.computeValue(!0);return t||gt(e)||gt(n)||!this.equals(e,n)},e.prototype.computeValue=function(e){this.isComputing=!0,Vn.computationDepth++;var t;if(e)t=Tt(this,this.derivation,this.scope);else try{t=this.derivation.call(this.scope)}catch(e){t=new Kn(e)}return Vn.computationDepth--,this.isComputing=!1,t},e.prototype.observe=function(e,t){var n=this,r=!0,o=void 0;return W(function(){var i=n.get();if(!r||t){var a=wt();e({type:"update",object:n,newValue:i,oldValue:o}),mt(a)}r=!1,o=i})},e.prototype.toJSON=function(){return this.get()},e.prototype.toString=function(){return this.name+"["+this.derivation+"]"},e.prototype.valueOf=function(){return Ve(this.get())},e.prototype.whyRun=function(){var e=!!Vn.trackingDerivation,t=Ie(this.isComputing?this.newObserving:this.observing).map(function(e){return e.name}),n=Ie(it(this).map(function(e){return e.name}));return"\nWhyRun? computation '"+this.name+"':\n * Running because: "+(e?"[active] the value of this computation is needed by a reaction":this.isComputing?"[get] The value of this computed was requested outside a reaction":"[idle] not running at the moment")+"\n"+(this.dependenciesState===qn.NOT_TRACKING?T("m032"):" * This computation will re-run if any of the following observables changes:\n "+Ee(t)+"\n "+(this.isComputing&&e?" (... or any observable accessed during the remainder of the current run)":"")+"\n "+T("m038")+"\n\n * If the outcome of this computation changes, the following observers will be re-run:\n "+Ee(n)+"\n")},e}();vn.prototype[Ze()]=vn.prototype.valueOf;var wn=Ye("ComputedValue",vn),mn=function(){function e(e,t){this.target=e,this.name=t,this.values={},this.changeListeners=null,this.interceptors=null}return e.prototype.observe=function(e,t){return me(!0!==t,"`observe` doesn't support the fire immediately property for observable objects."),s(this,e)},e.prototype.intercept=function(e){return o(this,e)},e}(),xn={},On={},In=Ye("ObservableObjectAdministration",mn),En=ue(Ne),Ln=ue(ge),kn=ue(De),An=ue(he),Sn=ue(je),Un={box:function(e,t){return arguments.length>2&&fe("box"),new Nn(e,Ne,t)},shallowBox:function(e,t){return arguments.length>2&&fe("shallowBox"),new Nn(e,De,t)},array:function(e,t){return arguments.length>2&&fe("array"),new pn(e,Ne,t)},shallowArray:function(e,t){return arguments.length>2&&fe("shallowArray"),new pn(e,De,t)},map:function(e,t){return arguments.length>2&&fe("map"),new _n(e,Ne,t)},shallowMap:function(e,t){return arguments.length>2&&fe("shallowMap"),new _n(e,De,t)},object:function(e,t){arguments.length>2&&fe("object");var n={};return q(n,t),ce(n,e),n},shallowObject:function(e,t){arguments.length>2&&fe("shallowObject");var n={};return q(n,t),Me(n,e),n},ref:function(){return 2>arguments.length?de(De,arguments[0]):kn.apply(null,arguments)},shallow:function(){return 2>arguments.length?de(ge,arguments[0]):Ln.apply(null,arguments)},deep:function(){return 2>arguments.length?de(Ne,arguments[0]):En.apply(null,arguments)},struct:function(){return 2>arguments.length?de(he,arguments[0]):An.apply(null,arguments)}},Cn=pe;Object.keys(Un).forEach(function(e){return Cn[e]=Un[e]}),Cn.deep.struct=Cn.struct,Cn.ref.struct=function(){return 2>arguments.length?de(je,arguments[0]):Sn.apply(null,arguments)};var Qn={},_n=function(){function e(e,t,n){void 0===t&&(t=Ne),void 0===n&&(n="ObservableMap@"+ve()),this.enhancer=t,this.name=n,this.$mobx=Qn,this._data=Object.create(null),this._hasMap=Object.create(null),this._keys=new pn(void 0,De,this.name+".keys()",!0),this.interceptors=null,this.changeListeners=null,this.dehancer=void 0,this.merge(e)}return e.prototype._has=function(e){return void 0!==this._data[e]},e.prototype.has=function(e){return!!this.isValidKey(e)&&(e=""+e,this._hasMap[e]?this._hasMap[e].get():this._updateHasMapEntry(e,!1).get())},e.prototype.set=function(e,t){this.assertValidKey(e),e=""+e;var n=this._has(e);if(r(this)){var o=i(this,{type:n?"update":"add",object:this,newValue:t,name:e});if(!o)return this;t=o.newValue}return n?this._updateValue(e,t):this._addValue(e,t),this},e.prototype.delete=function(e){var t=this;if(this.assertValidKey(e),e=""+e,r(this)){var n=i(this,{type:"delete",object:this,name:e});if(!n)return!1}if(this._has(e)){var o=c(),s=a(this),n=s||o?{type:"delete",object:this,oldValue:this._data[e].value,name:e}:null;return o&&l(n),Te(function(){t._keys.remove(e),t._updateHasMapEntry(e,!1),t._data[e].setNewValue(void 0),t._data[e]=void 0}),s&&u(this,n),o&&p(),!0}return!1},e.prototype._updateHasMapEntry=function(e,t){var n=this._hasMap[e];return n?n.setNewValue(t):n=this._hasMap[e]=new Nn(t,De,this.name+"."+e+"?",!1),n},e.prototype._updateValue=function(e,t){var n=this._data[e];if((t=n.prepareNewValue(t))!==dn){var r=c(),o=a(this),i=o||r?{type:"update",object:this,oldValue:n.value,name:e,newValue:t}:null;r&&l(i),n.setNewValue(t),o&&u(this,i),r&&p()}},e.prototype._addValue=function(e,t){var n=this;Te(function(){var r=n._data[e]=new Nn(t,n.enhancer,n.name+"."+e,!1);t=r.value,n._updateHasMapEntry(e,!0),n._keys.push(e)});var r=c(),o=a(this),i=o||r?{type:"add",object:this,name:e,newValue:t}:null;r&&l(i),o&&u(this,i),r&&p()},e.prototype.get=function(e){return e=""+e,this.dehanceValue(this.has(e)?this._data[e].get():void 0)},e.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},e.prototype.keys=function(){return d(this._keys.slice())},e.prototype.values=function(){return d(this._keys.map(this.get,this))},e.prototype.entries=function(){var e=this;return d(this._keys.map(function(t){return[t,e.get(t)]}))},e.prototype.forEach=function(e,t){var n=this;this.keys().forEach(function(r){return e.call(t,n.get(r),r,n)})},e.prototype.merge=function(e){var t=this;return Yn(e)&&(e=e.toJS()),Te(function(){ke(e)?Object.keys(e).forEach(function(n){return t.set(n,e[n])}):Array.isArray(e)?e.forEach(function(e){return t.set(e[0],e[1])}):Re(e)?e.forEach(function(e,n){return t.set(n,e)}):null!==e&&void 0!==e&&we("Cannot initialize map from "+e)}),this},e.prototype.clear=function(){var e=this;Te(function(){vt(function(){e.keys().forEach(e.delete,e)})})},e.prototype.replace=function(e){var t=this;return Te(function(){var n=Ge(e);t.keys().filter(function(e){return-1===n.indexOf(e)}).forEach(function(e){return t.delete(e)}),t.merge(e)}),this},Object.defineProperty(e.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),e.prototype.toJS=function(){var e=this,t={};return this.keys().forEach(function(n){return t[n]=e.get(n)}),t},e.prototype.toJSON=function(){return this.toJS()},e.prototype.isValidKey=function(e){return null!==e&&void 0!==e&&("string"==typeof e||"number"==typeof e||"boolean"==typeof e)},e.prototype.assertValidKey=function(e){if(!this.isValidKey(e))throw Error("[mobx.map] Invalid key: '"+e+"', only strings, numbers and booleans are accepted as key in observable maps.")},e.prototype.toString=function(){var e=this;return this.name+"[{ "+this.keys().map(function(t){return t+": "+e.get(t)}).join(", ")+" }]"},e.prototype.observe=function(e,t){return me(!0!==t,T("m033")),s(this,e)},e.prototype.intercept=function(e){return o(this,e)},e}();N(_n.prototype,function(){return this.entries()});var Yn=Ye("ObservableMap",_n),Pn=[];Object.freeze(Pn);var Bn=[],Rn=function(){},Gn=Object.prototype.hasOwnProperty,Hn=["mobxGuid","resetId","spyListeners","strictMode","runId"],Zn=function(){function e(){this.version=5,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.strictMode=!1,this.resetId=0,this.spyListeners=[],this.globalReactionErrorHandlers=[]}return e}(),Vn=new Zn,Wn=!1,Jn=!1,Fn=!1,$n=be();$n.__mobxInstanceCount?($n.__mobxInstanceCount++,setTimeout(function(){Wn||Jn||Fn||(Fn=!0,console.warn("[mobx] Warning: there are multiple mobx instances active. This might lead to unexpected results. See https://github.com/mobxjs/mobx/issues/1082 for details."))},1)):$n.__mobxInstanceCount=1;var qn;!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"}(qn||(t.IDerivationState=qn={}));var Xn;!function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(Xn||(Xn={}));var Kn=function(){function e(e){this.cause=e}return e}(),er=function(){function e(e,t){void 0===e&&(e="Reaction@"+ve()),this.name=e,this.onInvalidate=t,this.observing=[],this.newObserving=[],this.dependenciesState=qn.NOT_TRACKING,this.diffValue=0,this.runId=0,this.unboundDepsCount=0,this.__mapid="#"+ve(),this.isDisposed=!1,this._isScheduled=!1,this._isTrackPending=!1,this._isRunning=!1,this.isTracing=Xn.NONE}return e.prototype.onBecomeStale=function(){this.schedule()},e.prototype.schedule=function(){this._isScheduled||(this._isScheduled=!0,Vn.pendingReactions.push(this),St())},e.prototype.isScheduled=function(){return this._isScheduled},e.prototype.runReaction=function(){this.isDisposed||(ct(),this._isScheduled=!1,Dt(this)&&(this._isTrackPending=!0,this.onInvalidate(),this._isTrackPending&&c()&&M({object:this,type:"scheduled-reaction"})),Mt())},e.prototype.track=function(e){ct();var t,n=c();n&&(t=Date.now(),l({object:this,type:"reaction",fn:e})),this._isRunning=!0;var r=Tt(this,e,void 0);this._isRunning=!1,this._isTrackPending=!1,this.isDisposed&&bt(this),gt(r)&&this.reportExceptionInDerivation(r.cause),n&&p({time:Date.now()-t}),Mt()},e.prototype.reportExceptionInDerivation=function(e){var t=this;if(this.errorHandler)return void this.errorHandler(e,this);var n="[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '"+this,r=T("m037");console.error(n||r,e),c()&&M({type:"error",message:n,error:e,object:this}),Vn.globalReactionErrorHandlers.forEach(function(n){return n(e,t)})},e.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this._isRunning||(ct(),bt(this),Mt()))},e.prototype.getDisposer=function(){var e=this.dispose.bind(this);return e.$mobx=this,e.onError=kt,e},e.prototype.toString=function(){return"Reaction["+this.name+"]"},e.prototype.whyRun=function(){var e=Ie(this._isRunning?this.newObserving:this.observing).map(function(e){return e.name});return"\nWhyRun? reaction '"+this.name+"':\n * Status: ["+(this.isDisposed?"stopped":this._isRunning?"running":this.isScheduled()?"scheduled":"idle")+"]\n * This reaction will re-run if any of the following observables changes:\n "+Ee(e)+"\n "+(this._isRunning?" (... or any observable accessed during the remainder of the current run)":"")+"\n\t"+T("m038")+"\n"},e.prototype.trace=function(e){void 0===e&&(e=!1),Et(this,e)},e}(),tr=100,nr=function(e){return e()},rr=Ye("Reaction",er),or=Bt(bn.default),ir=Bt(bn.structural),ar=function(e,t){if("string"==typeof t)return or.apply(null,arguments);me("function"==typeof e,T("m011")),me(3>arguments.length,T("m012"));var n="object"===(void 0===t?"undefined":en(t))?t:{};return n.setter="function"==typeof t?t:n.setter,new vn(e,n.context,n.equals?n.equals:n.compareStructural||n.struct?bn.structural:bn.default,n.name||e.name||"",n.setter)};ar.struct=ir,ar.equals=Bt;var sr={allowStateChanges:O,deepEqual:Y,getAtom:qe,getDebugName:Ke,getDependencyTree:et,getAdministration:Xe,getGlobalState:Fe,getObserverTree:nt,interceptReads:Kt,isComputingDerivation:ht,isSpyEnabled:c,onReactionError:At,reserveArrayBuffer:h,resetGlobalState:$e,isolateGlobalState:We,shareGlobalState:Je,spyReport:M,spyReportEnd:p,spyReportStart:l,setReactionScheduler:Ct},ur={Reaction:er,untracked:vt,Atom:rn,BaseAtom:nn,useStrict:m,isStrictModeEnabled:x,spy:f,comparer:bn,asReference:Qt,asFlat:Yt,asStructure:_t,asMap:Pt,isModifierDescriptor:ye,isObservableObject:ae,isBoxedObservable:gn,isObservableArray:j,ObservableMap:_n,isObservableMap:Yn,map:ze,transaction:Te,observable:Cn,computed:ar,isObservable:se,isComputed:Rt,extendObservable:ce,extendShallowObservable:Me,observe:Gt,intercept:Vt,autorun:W,autorunAsync:F,when:J,reaction:$,action:Tn,isAction:Q,runInAction:C,expr:Ft,toJS:$t,createTransformer:qt,whyRun:It,isArrayLike:Be,extras:sr},cr=!1;for(var Mr in ur)!function(e){var t=ur[e];Object.defineProperty(ur,e,{get:function(){return cr||(cr=!0,console.warn("Using default export (`import mobx from 'mobx'`) is deprecated and won’t work in mobx@4.0.0\nUse `import * as mobx from 'mobx'` instead")),t}})}(Mr);"object"===("undefined"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__?"undefined":en(__MOBX_DEVTOOLS_GLOBAL_HOOK__))&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:f,extras:sr}),t.extras=sr,t.Reaction=er,t.untracked=vt,t.IDerivationState=qn,t.Atom=rn,t.BaseAtom=nn,t.useStrict=m,t.isStrictModeEnabled=x,t.spy=f,t.comparer=bn,t.asReference=Qt,t.asFlat=Yt,t.asStructure=_t,t.asMap=Pt,t.isModifierDescriptor=ye,t.isObservableObject=ae,t.isBoxedObservable=gn,t.isObservableArray=j,t.ObservableMap=_n,t.isObservableMap=Yn,t.map=ze,t.transaction=Te,t.observable=Cn,t.computed=ar,t.isObservable=se,t.isComputed=Rt,t.extendObservable=ce,t.extendShallowObservable=Me,t.observe=Gt,t.intercept=Vt,t.autorun=W,t.autorunAsync=F,t.when=J,t.reaction=$,t.action=Tn,t.isAction=Q,t.runInAction=C,t.expr=Ft,t.toJS=$t,t.createTransformer=qt,t.whyRun=It,t.trace=Et,t.isArrayLike=Be,t.default=ur}).call(t,n(10))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Provider=t.inject=t.connect=t.useStaticRendering=t.Observer=t.observer=void 0;var r=n(3);Object.defineProperty(t,"observer",{enumerable:!0,get:function(){return r.observer}}),Object.defineProperty(t,"Observer",{enumerable:!0,get:function(){return r.Observer}}),Object.defineProperty(t,"useStaticRendering",{enumerable:!0,get:function(){return r.useStaticRendering}});var o=n(11);Object.defineProperty(t,"connect",{enumerable:!0,get:function(){return o.connect}});var i=n(5);Object.defineProperty(t,"inject",{enumerable:!0,get:function(){return i.inject}});var a=n(13);Object.defineProperty(t,"Provider",{enumerable:!0,get:function(){return a.Provider}});var s=n(1);if(!n(0).Component)throw Error("mobx-preact requires Preact to be available");if(!s.extras)throw Error("mobx-preact requires mobx to be available")},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":y(t))&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":y(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e){j=e}function s(e){var t=g.extras.getGlobalState().allowStateChanges;return g.extras.getGlobalState().allowStateChanges=e,t}function u(e){g.extras.getGlobalState().allowStateChanges=e}function c(e,t,n,r,o){var i=s(e),a=void 0;try{a=t(n,r,o)}finally{u(i)}return a}function M(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e[t],o=z[t];e[t]=r?!0===n?function(){o.apply(this,arguments),r.apply(this,arguments)}:function(){r.apply(this,arguments),o.apply(this,arguments)}:o}function l(e,t){if(null==e||null==t||"object"!==(void 0===e?"undefined":N(e))||"object"!==(void 0===t?"undefined":N(t)))return e!==t;var n=Object.keys(e);if(n.length!==Object.keys(t).length)return!0;for(var r=void 0,o=n.length-1;r=n[o];o--)if(t[r]!==e[r])return!0;return!1}function p(e){if(arguments.length>1&&T.warn('Mobx observer: Using observer to inject stores is not supported. Use `@connect(["store1", "store2"]) ComponentClass instead or preferably, use `@inject("store1", "store2") @observer ComponentClass` or `inject("store1", "store2")(observer(componentClass))``'),!0===e.isMobxInjector&&T.warn("Mobx observer: You are trying to use 'observer' on a component that already has 'inject'. Please apply 'observer' before applying 'inject'"),(0,h.isStateless)(e)){var t,n;return p((n=t=function(t){function n(){return r(this,n),o(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return i(n,t),d(n,[{key:"render",value:function(){return e.call(this,this.props,this.context)}}]),n}(D.Component),t.displayName=(0,h.makeDisplayName)(e),n))}if(!e)throw Error("Please pass a valid component to 'observer'");return f(e.prototype||e),e.isMobXReactObserver=!0,e}function f(e){M(e,"componentWillMount",!0),M(e,"componentDidMount"),e.shouldComponentUpdate||(e.shouldComponentUpdate=z.shouldComponentUpdate)}var y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0}),t.Observer=void 0;var d=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),N="function"==typeof Symbol&&"symbol"===y(Symbol.iterator)?function(e){return void 0===e?"undefined":y(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":y(e)};t.useStaticRendering=a,t.observer=p;var g=n(1),D=n(0),h=n(4),j=!1,T=console,z={componentWillMount:function(){function e(e){var t=this[e],n=new g.Atom("reactive "+e);Object.defineProperty(this,e,{configurable:!0,enumerable:!0,get:function(){return n.reportObserved(),t},set:function(e){!o&&l(t,e)?(t=e,r=!0,n.reportChanged(),r=!1):t=e}})}var t=this;if(!0!==j){var n=(0,h.makeDisplayName)(this),r=!1,o=!1;e.call(this,"props"),e.call(this,"state");var i=this.render.bind(this),a=null,s=!1,u=function(){return a=new g.Reaction(n+".render()",function(){if(!s&&(s=!0,"function"==typeof t.componentWillReact&&t.componentWillReact(),!0!==t.__$mobxIsUnmounted)){var e=!0;try{o=!0,r||D.Component.prototype.forceUpdate.call(t),e=!1}finally{o=!1,e&&a.dispose()}}}),a.reactComponent=t,M.$mobx=a,t.render=M,M(t.props,t.state,t.context)},M=function(e,t,n){s=!1;var r=void 0,o=void 0;if(a.track(function(){try{o=c(!1,i,e,t,n)}catch(e){r=e}}),r)throw r;return o};this.render=u}},componentWillUnmount:function(){!0!==j&&(this.render.$mobx&&this.render.$mobx.dispose(),this.__$mobxIsUnmounted=!0)},componentDidMount:function(){},componentDidUpdate:function(){},shouldComponentUpdate:function(e,t){return j&&T.warn("[mobx-preact] 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||l(this.props,e)}};(t.Observer=p(function(e){return e.children[0]()})).displayName="Observer"},function(e,t,n){"use strict";function r(e){return!(e.prototype&&e.prototype.render||i.Component.isPrototypeOf(e))}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.prefix,r=void 0===n?"":n,o=t.suffix,i=void 0===o?"":o;return r+(e.displayName||e.name||e.constructor&&e.constructor.name||"")+i}Object.defineProperty(t,"__esModule",{value:!0}),t.isStateless=r,t.makeDisplayName=o;var i=n(0)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":c(t))&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":c(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e,t,n){var a,s,u=n?"-with-"+n:"",c=(0,d.makeDisplayName)(t,{prefix:"inject-",suffix:u}),p=(s=a=function(n){function a(){return r(this,a),o(this,(a.__proto__||Object.getPrototypeOf(a)).apply(this,arguments))}return i(a,n),M(a,[{key:"render",value:function(){var n={};for(var r in this.props)this.props.hasOwnProperty(r)&&(n[r]=this.props[r]);var o=e(this.context.mobxStores||{},n,this.context)||{};for(var i in o)n[i]=o[i];return(0,l.h)(t,n)}}]),a}(l.Component),a.displayName=c,s);return(0,f.default)(p,t),p.wrappedComponent=t,Object.defineProperties(p,N),p}function s(e){return function(t,n){return e.forEach(function(e){if(!(e in n)){if(!(e in t))throw Error("MobX injector: Store '"+e+"' is not available! Make sure it is provided by some Provider");n[e]=t[e]}}),n}}function u(){var e=void 0;if("function"==typeof arguments[0])return e=arguments[0],function(t){var n=a(e,t);return n.isMobxInjector=!1,n=(0,y.observer)(n),n.isMobxInjector=!0,n};for(var t=[],n=0;arguments.length>n;n++)t[n]=arguments[n];return e=s(t),function(n){return a(e,n,t.join("-"))}}var c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0});var M=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.inject=u;var l=n(0),p=n(12),f=function(e){return e&&e.__esModule?e:{default:e}}(p),y=n(3),d=n(4),N={isMobxInjector:{value:!0,writable:!0,configurable:!0,enumerable:!0}}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.JSONHTTPError=t.TextHTTPError=t.HTTPError=t.getPagination=void 0;var a=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(15);Object.defineProperty(t,"getPagination",{enumerable:!0,get:function(){return u.getPagination}});var c=t.HTTPError=function(e){function t(e){r(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e.statusText));return n.name=n.constructor.name,"function"==typeof Error.captureStackTrace?Error.captureStackTrace(n,n.constructor):n.stack=Error(e.statusText).stack,n.status=e.status,n}return i(t,e),t}(function(e){function t(){var t=Reflect.construct(e,Array.from(arguments));return Object.setPrototypeOf(t,Object.getPrototypeOf(this)),t}return t.prototype=Object.create(e.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e,t}(Error)),M=t.TextHTTPError=function(e){function t(e,n){r(this,t);var i=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.data=n,i}return i(t,e),t}(c),l=t.JSONHTTPError=function(e){function t(e,n){r(this,t);var i=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.json=n,i}return i(t,e),t}(c);t.default=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments[1];r(this,e),this.apiURL=t,this.apiURL.match(/\/[^\/]?/)&&(this._sameOrigin=!0),this.defaultHeaders=n&&n.defaultHeaders||{}}return s(e,[{key:"headers",value:function(){return a({},this.defaultHeaders,{"Content-Type":"application/json"},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}},{key:"parseJsonResponse",value:function(e){return e.json().then(function(t){if(!e.ok)return Promise.reject(new l(e,t));var n=(0,u.getPagination)(e);return n?{pagination:n,items:t}:t})}},{key:"request",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.headers(n.headers||{});return this._sameOrigin&&(n.credentials=n.credentials||"same-origin"),fetch(this.apiURL+e,a({},n,{headers:r})).then(function(e){var n=e.headers.get("Content-Type");return n&&n.match(/json/)?t.parseJsonResponse(e):e.ok?e.text().then(function(){}):e.text().then(function(t){return Promise.reject(new M(e,t))})})}}]),e}()},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(0);t.default=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),a(t,[{key:"render",value:function(){var e=this.props,t=e.saving,n=e.text,r=e.saving_text;return(0,s.h)("button",{type:"submit",className:"btn"+(t?" saving":"")},t?r||"Saving":n||"Save")}}]),t}(s.Component)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(0),u={confirm:{type:"success",text:"A confirmation message was sent to your email, click the link there to continue."},password_mail:{type:"success",text:"We've sent a recovery email to your account, follow the link there to reset your password."},email_changed:{type:"sucess",text:"Your email address has been updated!"},verfication_error:{type:"error",text:"There was an error verifying your account. Please try again or contact an administrator."},signup_disabled:{type:"error",text:"Public signups are disabled. Contact an administrator and ask for an invite."}};t.default=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),a(t,[{key:"render",value:function(){var e=this.props.type,t=u[e];return(0,s.h)("div",{className:"flashMessage "+t.type},(0,s.h)("span",null,t.text))}}]),t}(s.Component)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments;(b[e]||[]).forEach(function(e){e.apply(e,Array.prototype.slice.call(t,1))})}function i(e,t){var n="";for(var r in t)n+=r+": "+t[r]+"; ";e?e.setAttribute("style",n):m=n}function a(e){var t=x[document.location.host.split(":").shift()],n=t&&localStorage.getItem("netlifySiteURL");if(e)return new y.default({APIUrl:e,setCookie:!t});if(t&&n){var r=[n];return n.match(/\/$/)||r.push("/"),r.push(".netlify/identity"),new y.default({APIUrl:r.join(""),setCookie:!t})}return t?null:new y.default({setCookie:!t})}function s(){var e=(document.location.hash||"").replace(/^#\/?/,"");if(e){var t=e.match(L);t&&(D.default.verifyToken(t[1],t[2]),document.location.hash="");e.match(k)&&(D.default.openModal("signup"),document.location.hash="");if(e.match(A)){var n={};e.split("&").forEach(function(e){var t=e.split("="),r=c(t,2);n[r[0]]=r[1]}),document&&n.access_token&&(document.cookie="nf_jwt="+n.access_token),document.location.hash="",D.default.openModal("login"),D.default.completeExternalLogin(n)}}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.APIUrl,n=e.logo,r=void 0===n||n,o=e.namePlaceholder,u=document.querySelectorAll("[data-netlify-identity-menu],[data-netlify-identity-button]");Array.prototype.slice.call(u).forEach(function(e){var t=null===e.getAttribute("data-netlify-identity-menu")?"button":"menu";(0,M.render)((0,M.h)(p.Provider,{store:D.default},(0,M.h)(j.default,{mode:t,text:e.innerText.trim()})),e,null)}),D.default.init(a(t)),D.default.modal.logo=r,D.default.setNamePlaceholder(o),I=document.createElement("iframe"),I.id="netlify-identity-widget",I.onload=function(){var e=I.contentDocument.createElement("style");e.innerHTML=""+z.default,I.contentDocument.head.appendChild(e),O=(0,M.render)((0,M.h)(p.Provider,{store:D.default},(0,M.h)(N.default,null)),I.contentDocument.body,O),s()},i(I,E),I.src="about:blank",(e.container?document.querySelector(e.container):document.body).appendChild(I),m&&(I.setAttribute("style",m),m=null)}Object.defineProperty(t,"__esModule",{value:!0});var c=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),M=n(0),l=n(1),p=n(2),f=n(14),y=r(f),d=n(18),N=r(d),g=n(24),D=r(g),h=n(25),j=r(h),T=n(26),z=r(T),b={},v={login:!0,signup:!0,error:!0},w={on:function(e,t){b[e]=b[e]||[],b[e].push(t)},open:function(e){if(e=e||"login",!v[e])throw Error("Invalid action for open: "+e);D.default.openModal(D.default.user?"user":e)},close:function(){D.default.closeModal()},currentUser:function(){return D.default.gotrue&&D.default.gotrue.currentUser()},logout:function(){return D.default.logout()},get gotrue(){return D.default.gotrue||D.default.openModal("login"),D.default.gotrue},init:function(e){u(e)},store:D.default},m=null,x={localhost:!0,"127.0.0.1":!0,"0.0.0.0":!0},O=void 0,I=void 0,E={position:"fixed",top:0,left:0,border:"none",width:"100%",height:"100%",overflow:"visible",background:"transparent",display:"none","z-index":99};(0,l.observe)(D.default.modal,"isOpen",function(){D.default.settings||D.default.loadSettings(),i(I,Object.assign({},E,{display:D.default.modal.isOpen?"block !important":"none"})),D.default.modal.isOpen?o("open",D.default.modal.page):o("close")}),(0,l.observe)(D.default,"siteURL",function(){null===D.default.siteURL||void 0===D.default.siteURL?localStorage.removeItem("netlifySiteURL"):localStorage.setItem("netlifySiteURL",D.default.siteURL),D.default.init(a(),!0)}),(0,l.observe)(D.default,"user",function(){D.default.user?o("login",D.default.user):o("logout")}),(0,l.observe)(D.default,"gotrue",function(){D.default.gotrue&&o("init",D.default.gotrue.currentUser())}),(0,l.observe)(D.default,"error",function(){o("error",D.default.error)});var L=/(confirmation|invite|recovery|email_change)_token=([^&]+)/,k=/error=access_denied&error_description=403/,A=/access_token=/;t.default=w},function(e){"use strict";var t,n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t=function(){return this}();try{t=t||Function("return this")()||(0,eval)("this")}catch(e){"object"===("undefined"==typeof window?"undefined":n(window))&&(t=window)}e.exports=t},function(e,t,n){"use strict";function r(e,t){if("string"==typeof e)throw Error("Store names should be provided as array");return Array.isArray(e)?t?i.inject.apply(null,e)(r(t)):function(t){return r(e,t)}:(0,o.observer)(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.connect=r;var o=n(3),i=n(5)},function(e){"use strict";function t(e,M,l){if("string"!=typeof M){if(c){var p=u(M);p&&p!==c&&t(e,p,l)}var f=i(M);a&&(f=f.concat(a(M)));for(var y=0;f.length>y;++y){var d=f[y];if(!(n[d]||r[d]||l&&l[d])){var N=s(M,d);try{o(e,d,N)}catch(e){}}}return e}return e}var n={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o=Object.defineProperty,i=Object.getOwnPropertyNames,a=Object.getOwnPropertySymbols,s=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,c=u&&u(Object);e.exports=t},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":a(t))&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":a(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0}),t.Provider=void 0;var s=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(0),c={children:!0,key:!0,ref:!0},M=console;t.Provider=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(e){var t=e.children;return t.length>1?(0,u.h)("div",null," ",t," "):t[0]}},{key:"getChildContext",value:function(){var e={},t=this.context.mobxStores;if(t)for(var n in t)e[n]=t[n];for(var r in this.props)c[r]||"suppressChangedStoreWarning"===r||(e[r]=this.props[r]);return{mobxStores:e}}},{key:"componentWillReceiveProps",value:function(e){if(Object.keys(e).length!==Object.keys(this.props).length&&M.warn("MobX Provider: The set of provided stores has changed. Please avoid changing stores as the change might not propagate to all children"),!e.suppressChangedStoreWarning)for(var t in e)c[t]||this.props[t]===e[t]||M.warn("MobX Provider: Provided store '"+t+"' has changed. Please avoid replacing stores as the change might not propagate to all children")}}]),t}(u.Component)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(6),s=r(a),u=n(16),c=r(u),M=/^http:\/\//,l="/.netlify/identity",p=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.APIUrl,r=void 0===n?l:n,i=t.audience,a=void 0===i?"":i,u=t.setCookie,c=void 0!==u&&u;o(this,e),r.match(M)&&console.warn("Warning:\n\nDO NOT USE HTTP IN PRODUCTION FOR GOTRUE EVER!\nGoTrue REQUIRES HTTPS to work securely."),a&&(this.audience=a),this.setCookie=c,this.api=new s.default(r)}return i(e,[{key:"_request",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.headers=t.headers||{};var n=t.audience||this.audience;return n&&(t.headers["X-JWT-AUD"]=n),this.api.request(e,t).catch(function(e){return e instanceof a.JSONHTTPError&&e.json&&(e.json.msg?e.message=e.json.msg:e.json.error&&(e.message=e.json.error+": "+e.json.error_description)),Promise.reject(e)})}},{key:"settings",value:function(){return this._request("/settings")}},{key:"signup",value:function(e,t,n){return this._request("/signup",{method:"POST",body:JSON.stringify({email:e,password:t,data:n})})}},{key:"login",value:function(e,t,n){var r=this;return this._setRememberHeaders(n),this._request("/token",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"grant_type=password&username="+encodeURIComponent(e)+"&password="+encodeURIComponent(t)}).then(function(e){return c.default.removeSavedSession(),r.createUser(e,n)})}},{key:"loginExternalUrl",value:function(e){return this.api.apiURL+"/authorize?provider="+e}},{key:"confirm",value:function(e,t){return this._setRememberHeaders(t),this.verify("signup",e,t)}},{key:"requestPasswordRecovery",value:function(e){return this._request("/recover",{method:"POST",body:JSON.stringify({email:e})})}},{key:"recover",value:function(e,t){return this._setRememberHeaders(t),this.verify("recovery",e,t)}},{key:"acceptInvite",value:function(e,t,n){var r=this;return this._setRememberHeaders(n),this._request("/verify",{method:"POST",body:JSON.stringify({token:e,password:t,type:"signup"})}).then(function(e){return r.createUser(e,n)})}},{key:"acceptInviteExternalUrl",value:function(e,t){return this.api.apiURL+"/authorize?provider="+e+"&invite_token="+t}},{key:"createUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this._setRememberHeaders(t),new c.default(this.api,e,this.audience).getUserData().then(function(e){return t&&e._saveSession(),e})}},{key:"currentUser",value:function(){var e=c.default.recoverSession(this.api);return e&&this._setRememberHeaders(e._fromStorage),e}},{key:"verify",value:function(e,t,n){var r=this;return this._setRememberHeaders(n),this._request("/verify",{method:"POST",body:JSON.stringify({token:t,type:e})}).then(function(e){return r.createUser(e,n)})}},{key:"_setRememberHeaders",value:function(e){this.setCookie&&(this.api.defaultHeaders=this.api.defaultHeaders||{},this.api.defaultHeaders["X-Use-Cookie"]=e?"1":"session")}}]),e}();t.default=p,"undefined"!=typeof window&&(window.GoTrue=p)},function(e,t){"use strict";function n(e){var t=e.headers.get("Link"),n={};if(null==t)return null;t=t.split(",");for(var o=e.headers.get("X-Total-Count"),i=0,a=t.length;a>i;i++){var s=t[i].replace(/(^\s*|\s*$)/,""),u=s.split(";"),c=r(u,2),M=c[0],l=c[1],p=M.match(/page=(\d+)/),f=p&&parseInt(p[1],10);l.match(/last/)?n.last=f:l.match(/next/)?n.next=f:l.match(/prev/)?n.prev=f:l.match(/first/)&&(n.first=f)}return n.last=Math.max(n.last||0,n.prev&&n.prev+1||0),n.current=n.next?n.next-1:n.last||1,n.total=o?parseInt(o,10):null,n}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t.getPagination=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}var n=window.atob(t);try{return decodeURIComponent(escape(n))}catch(e){return n}}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(6),c=r(u),M=n(17),l=r(M),p={},f=null,y={api:1,token:1,audience:1,url:1},d={api:1};t.default=function(){function e(t,n,r){o(this,e),this.api=t,this.url=t.apiURL,this.audience=r,this._processTokenResponse(n),f=this}return s(e,[{key:"update",value:function(e){var t=this;return this._request("/user",{method:"PUT",body:JSON.stringify(e)}).then(function(e){return t._saveUserData(e)._refreshSavedSession()})}},{key:"jwt",value:function(e){var t=this.tokenDetails(),n=t.expires_at,r=t.refresh_token,o=t.access_token;return e||n-6e41&&void 0!==arguments[1]?arguments[1]:{};n.headers=n.headers||{};var r=n.audience||this.audience;return r&&(n.headers["X-JWT-AUD"]=r),this.jwt().then(function(r){return t.api.request(e,a({headers:Object.assign(n.headers,{Authorization:"Bearer "+r})},n)).catch(function(e){return e instanceof u.JSONHTTPError&&e.json&&(e.json.msg?e.message=e.json.msg:e.json.error&&(e.message=e.json.error+": "+e.json.error_description)),Promise.reject(e)})})}},{key:"getUserData",value:function(){return this._request("/user").then(this._saveUserData.bind(this)).then(this._refreshSavedSession.bind(this))}},{key:"_saveUserData",value:function(t,n){for(var r in t)r in e.prototype||r in y||(this[r]=t[r]);return n&&(this._fromStorage=!0),this}},{key:"_processTokenResponse",value:function(e){this.token=e;var t=void 0;try{t=JSON.parse(i(e.access_token.split(".")[1])),this.token.expires_at=1e3*t.exp}catch(t){console.error(Error("Gotrue-js: Failed to parse tokenResponse claims: "+JSON.stringify(e)))}}},{key:"_refreshSavedSession",value:function(){return localStorage.getItem("gotrue.user")&&this._saveSession(),this}},{key:"_saveSession",value:function(){return localStorage.setItem("gotrue.user",JSON.stringify(this._details)),this}},{key:"tokenDetails",value:function(){return this.token}},{key:"clearSession",value:function(){e.removeSavedSession(),this.token=null,f=null}},{key:"admin",get:function(){return new l.default(this)}},{key:"_details",get:function(){var t={};for(var n in this)n in e.prototype||n in d||(t[n]=this[n]);return t}}],[{key:"removeSavedSession",value:function(){localStorage.removeItem("gotrue.user")}},{key:"recoverSession",value:function(t){if(f)return f;var n=localStorage.getItem("gotrue.user");if(n)try{var r=JSON.parse(n),o=r.url,i=r.token,a=r.audience;if(!o||!i)return null;return new e(t||new c.default(o,{}),i,a)._saveUserData(r,!0)}catch(e){return console.error(Error("Gotrue-js: Error recovering session: "+e)),null}return null}}]),e}()},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(){function e(t){n(this,e),this.user=t}return r(e,[{key:"listUsers",value:function(e){return this.user._request("/admin/users",{method:"GET",audience:e})}},{key:"getUser",value:function(e){return this.user._request("/admin/users/"+e.id)}},{key:"updateUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.user._request("/admin/users/"+e.id,{method:"PUT",body:JSON.stringify(t)})}},{key:"createUser",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.email=e,n.password=t,this.user._request("/admin/users",{method:"POST",body:JSON.stringify(n)})}},{key:"deleteUser",value:function(e){return this.user._request("/admin/users/"+e.id,{method:"DELETE"})}}]),e}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s,u=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(0),M=n(2),l=n(19),p=r(l),f=n(20),y=r(f),d=n(21),N=r(d),g=n(22),D=r(g),h=n(23),j=r(h),T=n(8),z=r(T),b={login:!0,signup:!0},v={login:{login:!0,button:"Log in",button_saving:"Logging in",email:!0,password:!0,link:"amnesia",link_text:"Forgot password?",providers:!0},signup:{signup:!0,button:"Sign up",button_saving:"Signing Up",name:!0,email:!0,password:!0,providers:!0},amnesia:{title:"Recover password",button:"Send recovery email",button_saving:"Sending recovery email",email:!0,link:"login",link_text:"Never mind"},recovery:{title:"Recover password",button:"Update password",button_saving:"Updating password",password:!0,link:"login",link_text:"Never mind"},invite:{title:"Complete your signup",button:"Sign up",button_saving:"Signing Up",password:!0,providers:!0},user:{title:"Logged in"}};t.default=(0,M.connect)(["store"])(s=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,u=Array(s),c=0;s>c;c++)u[c]=arguments[c];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),r.handleClose=function(){return r.props.store.closeModal()},r.handlePage=function(e){return r.props.store.openModal(e)},r.handleLogout=function(){return r.props.store.logout()},r.handleSiteURL=function(e){return r.props.store.setSiteURL(e)},r.clearSiteURL=function(){return r.props.store.clearSiteURL()},r.handleExternalLogin=function(e){return r.props.store.externalLogin(e)},r.handleUser=function(e){var t=e.name,n=e.email,o=e.password,i=r.props.store;switch(i.modal.page){case"login":i.login(n,o);break;case"signup":i.signup(t,n,o);break;case"amnesia":i.requestPasswordRecovery(n);break;case"invite":i.acceptInvite(o);break;case"recovery":i.updatePassword(o)}},a=n,i(r,a)}return a(t,e),u(t,[{key:"renderBody",value:function(){var e=this,t=this.props.store,n=v[t.modal.page]||{},r=function(){return e.handlePage(n.link)};return t.gotrue?t.settings?t.user?(0,c.h)(N.default,{user:t.user,saving:t.saving,onLogout:this.handleLogout}):"signup"===t.modal.page&&t.settings.disable_signup?(0,c.h)(z.default,{type:"signup_disabled"}):(0,c.h)("div",null,(0,c.h)(D.default,{page:v[t.modal.page]||{},message:t.message,saving:t.saving,onSubmit:this.handleUser,namePlaceholder:t.namePlaceholder}),!t.user&&n.link&&t.gotrue&&(0,c.h)("button",{onclick:r,className:"btnLink forgotPasswordLink"},n.link_text),(0,c.h)(y.default,{devMode:"true",onSiteURL:this.clearSiteURL})):void 0:(0,c.h)(y.default,{onSiteURL:this.handleSiteURL})}},{key:"renderProviders",value:function(){var e=this.props.store;if(!e.gotrue||!e.settings)return null;if("signup"===e.modal.page&&e.settings.disable_signup)return null;if(!(v[e.modal.page]||{}).providers)return null;var t=["Google","GitHub","GitLab","BitBucket","SAML"].filter(function(t){return e.settings.external[t.toLowerCase()]});return t.length?(0,c.h)(j.default,{providers:t,labels:e.settings.external_labels||{},onLogin:this.handleExternalLogin}):null}},{key:"render",value:function(){var e=this.props.store,t=b[e.modal.page],n=e.settings&&!e.settings.disable_signup;return(0,c.h)("div",null,(0,c.h)(p.default,{page:v[e.modal.page]||{},error:e.error,showHeader:t,showSignup:n,devSettings:!e.gotrue,loading:!e.error&&e.gotrue&&!e.settings,isOpen:e.modal.isOpen,onPage:this.handlePage,onClose:this.handleClose,logo:e.modal.logo},this.renderBody(),this.renderProviders()))}}]),t}(c.Component))||s},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e){return e.json&&e.json.error_description||e.message||""+e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(0);t.default=function(e){function t(){var e,n,i,a;r(this,t);for(var s=arguments.length,u=Array(s),c=0;s>c;c++)u[c]=arguments[c];return n=i=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),i.handleClose=function(e){e.preventDefault(),i.props.onClose()},i.blockEvent=function(e){e.stopPropagation()},i.linkHandler=function(e){return function(t){t.preventDefault(),i.props.onPage(e)}},a=n,o(i,a)}return i(t,e),s(t,[{key:"render",value:function(){var e=this.props,t=e.page,n=e.error,r=e.loading,o=e.showHeader,i=e.showSignup,s=e.devSettings,c=e.isOpen,M=e.children,l=e.logo;return(0,u.h)("div",{className:"modalContainer",role:"dialog","aria-hidden":""+(r||!c),onClick:this.handleClose},(0,u.h)("div",{className:"modalDialog"+(r?" visuallyHidden":""),onClick:this.blockEvent},(0,u.h)("div",{className:"modalContent"},(0,u.h)("button",{onclick:this.handleClose,className:"btn btnClose"},(0,u.h)("span",{className:"visuallyHidden"},"Close")),o&&(0,u.h)("div",{className:"header"},i&&(0,u.h)("button",{className:"btn btnHeader "+(t.signup?"active":""),onclick:this.linkHandler("signup")},"Sign up"),!s&&(0,u.h)("button",{className:"btn btnHeader "+(t.login?"active":""),onclick:this.linkHandler("login")},"Log in")),t.title&&(0,u.h)("div",{className:"header"},(0,u.h)("button",{className:"btn btnHeader active"},t.title)),s&&(0,u.h)("div",{className:"header"},(0,u.h)("button",{className:"btn btnHeader active"},"Development Settings")),n&&(0,u.h)("div",{className:"flashMessage error"},(0,u.h)("span",null,a(n))),M)),l&&(0,u.h)("a",{href:"https://www.netlify.com",className:"callOut"+(r?" visuallyHidden":"")},(0,u.h)("span",{className:"netlifyLogo"}),"Coded by Netlify"))}}]),t}(u.Component)},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(0);t.default=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleInput=function(e){n.setState(r({},e.target.name,e.target.value))},n.addSiteURL=function(e){e.preventDefault(),n.props.onSiteURL(n.state.url)},n.clearSiteURL=function(){n.props.onSiteURL()},n.state={url:"",development:e.devMode||!1},n}return a(t,e),s(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.url;return(0,u.h)("div",null,t.development?(0,u.h)("div",{class:"subheader"},(0,u.h)("h3",null,"Development Settings"),(0,u.h)("button",{onclick:function(t){return e.clearSiteURL(t)},className:"btnLink forgotPasswordLink"},"Clear localhost URL")):(0,u.h)("form",{onsubmit:this.addSiteURL,className:"form"},(0,u.h)("div",{className:"flashMessage"},"Looks like you're running a local server. Please let us know the URL of your Netlify site."),(0,u.h)("div",{className:"formGroup"},(0,u.h)("label",null,(0,u.h)("span",{className:"visuallyHidden"},"Enter your Netlify Site URL"),(0,u.h)("input",{className:"formControl",type:"url",name:"url",value:n,placeholder:"URL of your Netlify site",autocapitalize:"off",required:!0,oninput:this.handleInput}),(0,u.h)("div",{className:"inputFieldIcon inputFieldUrl"}))),(0,u.h)("button",{type:"submit",className:"btn"},"Set site's URL")))}}]),t}(u.Component)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(0),u=n(7),c=function(e){return e&&e.__esModule?e:{default:e}}(u);t.default=function(e){function t(){var e,n,i,a;r(this,t);for(var s=arguments.length,u=Array(s),c=0;s>c;c++)u[c]=arguments[c];return n=i=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),i.handleLogout=function(e){e.preventDefault(),i.props.onLogout()},a=n,o(i,a)}return i(t,e),a(t,[{key:"render",value:function(){var e=this.props,t=e.user,n=e.saving;return(0,s.h)("form",{onSubmit:this.handleLogout,className:"form "+(n?"disabled":"")},(0,s.h)("p",{className:"infoText"},"Logged in as ",(0,s.h)("br",null),(0,s.h)("span",{className:"infoTextEmail"},t.user_metadata.full_name||t.user_metadata.name||t.email)),(0,s.h)(c.default,{saving:n,text:"Log out",saving_text:"Logging out"}))}}]),t}(s.Component)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(0),M=n(8),l=r(M),p=n(7),f=r(p);t.default=function(e){function t(e){i(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleInput=function(e){n.setState(o({},e.target.name,e.target.value))},n.handleLogin=function(e){e.preventDefault(),n.props.onSubmit(n.state)},n.state={name:"",email:"",password:""},n}return s(t,e),u(t,[{key:"render",value:function(){var e=this.props,t=e.page,n=e.message,r=e.saving,o=e.namePlaceholder,i=this.state,a=i.name,s=i.email,u=i.password;return(0,c.h)("form",{onsubmit:this.handleLogin,className:"form "+(r?"disabled":"")},n&&(0,c.h)(l.default,{type:n}),t.name&&(0,c.h)("div",{className:"formGroup"},(0,c.h)("label",null,(0,c.h)("span",{className:"visuallyHidden"},"Enter your name"),(0,c.h)("input",{className:"formControl",type:"name",name:"name",value:a,placeholder:o||"Name",autocapitalize:"off",required:!0,oninput:this.handleInput}),(0,c.h)("div",{className:"inputFieldIcon inputFieldName"}))),t.email&&(0,c.h)("div",{className:"formGroup"},(0,c.h)("label",null,(0,c.h)("span",{className:"visuallyHidden"},"Enter your email"),(0,c.h)("input",{className:"formControl",type:"email",name:"email",value:s,placeholder:"Email",autocapitalize:"off",required:!0,oninput:this.handleInput}),(0,c.h)("div",{className:"inputFieldIcon inputFieldEmail"}))),t.password&&(0,c.h)("div",{className:"formGroup"},(0,c.h)("label",null,(0,c.h)("span",{className:"visuallyHidden"},"Enter your password"),(0,c.h)("input",{className:"formControl",type:"password",name:"password",value:u,placeholder:"Password",required:!0,oninput:this.handleInput}),(0,c.h)("div",{className:"inputFieldIcon inputFieldPassword"}))),(0,c.h)(f.default,{saving:r,text:t.button,saving_text:t.button_saving}))}}]),t}(c.Component)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(0),u=function(e){function t(){var e,n,i,a;r(this,t);for(var s=arguments.length,u=Array(s),c=0;s>c;c++)u[c]=arguments[c];return n=i=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),i.handleLogin=function(e){e.preventDefault(),i.props.onLogin(i.props.provider.toLowerCase())},a=n,o(i,a)}return i(t,e),a(t,[{key:"render",value:function(){var e=this.props;return(0,s.h)("button",{onClick:this.handleLogin,className:"provider"+e.provider+" btn btnProvider"},"Continue with ",e.label)}}]),t}(s.Component);t.default=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),a(t,[{key:"getLabel",value:function(e){var t=e.toLowerCase();return t in this.props.labels?this.props.labels[t]:e}},{key:"render",value:function(){var e=this,t=this.props,n=t.providers,r=t.onLogin;return(0,s.h)("div",{className:"providersGroup"},(0,s.h)("hr",{className:"hr"}),n.map(function(t){return(0,s.h)(u,{key:t,provider:t,label:e.getLabel(t),onLogin:r})}))}}]),t}(s.Component)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=(0,r.observable)({user:null,recovered_user:null,message:null,settings:null,gotrue:null,error:null,siteURL:null,remember:!0,saving:!1,invite_token:null,email_change_token:null,namePlaceholder:null,modal:{page:"login",isOpen:!1,logo:!0}});o.setNamePlaceholder=(0,r.action)(function(e){o.namePlaceholder=e}),o.startAction=(0,r.action)(function(){o.saving=!0,o.error=null,o.message=null}),o.setError=(0,r.action)(function(e){o.saving=!1,o.error=e}),o.init=(0,r.action)(function(e,t){e&&(o.gotrue=e,(o.user=e.currentUser())&&(o.modal.page="user")),t&&o.loadSettings()}),o.loadSettings=(0,r.action)(function(){o.settings||o.gotrue&&o.gotrue.settings().then((0,r.action)(function(e){return o.settings=e})).catch((0,r.action)(function(){o.error=Error("Failed to load settings from "+o.gotrue.api.apiURL)}))}),o.setSiteURL=(0,r.action)(function(e){o.siteURL=e}),o.clearSiteURL=(0,r.action)(function(){o.gotrue=null,o.siteURL=null,o.settings=null}),o.login=(0,r.action)(function(e,t){return o.startAction(),o.gotrue.login(e,t,o.remember).then((0,r.action)(function(e){o.user=e,o.modal.page="user",o.invite_token=null,o.email_change_token&&o.doEmailChange(),o.saving=!1})).catch(o.setError)}),o.externalLogin=(0,r.action)(function(e){o.error=null,o.message=null;var t=o.invite_token?o.gotrue.acceptInviteExternalUrl(e,o.invite_token):o.gotrue.loginExternalUrl(e);window.location.href=t}),o.completeExternalLogin=(0,r.action)(function(e){o.startAction(),o.gotrue.createUser(e,o.remember).then(function(e){o.user=e,o.modal.page="user",o.saving=!1}).catch(o.setError)}),o.signup=(0,r.action)(function(e,t,n){return o.startAction(),o.gotrue.signup(t,n,{full_name:e}).then((0,r.action)(function(){o.settings.autoconfirm?o.login(t,n,o.remember):o.message="confirm",o.saving=!1})).catch(o.setError)}),o.logout=(0,r.action)(function(){if(o.user)return o.startAction(),o.user.logout().then((0,r.action)(function(){o.user=null,o.modal.page="login",o.saving=!1})).catch(o.setError);o.modal.page="login",o.saving=!1}),o.updatePassword=(0,r.action)(function(e){o.startAction(),(o.recovered_user||o.user).update({password:e}).then(function(e){o.user=e,o.recovered_user=null,o.modal.page="user",o.saving=!1}).catch(o.setError)}),o.acceptInvite=(0,r.action)(function(e){o.startAction(),o.gotrue.acceptInvite(o.invite_token,e,o.remember).then(function(e){o.saving=!1,o.invite_token=null,o.user=e,o.modal.page="user"}).catch(o.setError)}),o.doEmailChange=(0,r.action)(function(){return o.startAction(),o.user.update({email_change_token:o.email_change_token}).then((0,r.action)(function(e){o.user=e,o.email_change_token=null,o.message="email_changed",o.saving=!1})).catch(o.setError)}),o.verifyToken=(0,r.action)(function(e,t){var n=o.gotrue;switch(o.modal.isOpen=!0,e){case"confirmation":o.startAction(),o.modal.page="signup",n.confirm(t,o.remember).then((0,r.action)(function(e){o.user=e,o.saving=!1})).catch((0,r.action)(function(e){console.error(e),o.message="verfication_error",o.modal.page="signup",o.saving=!1}));break;case"email_change":o.email_change_token=t,o.modal.page="message",o.user?o.doEmailChange():o.modal.page="login";break;case"invite":o.modal.page=e,o.invite_token=t;break;case"recovery":o.startAction(),o.modal.page=e,o.gotrue.recover(t,o.remember).then(function(e){o.saving=!1,o.recovered_user=e}).catch(function(e){o.saving=!1,o.error=e,o.modal.page="login"});break;default:o.error="Unkown token type"}}),o.requestPasswordRecovery=(0,r.action)(function(e){o.startAction(),o.gotrue.requestPasswordRecovery(e).then((0,r.action)(function(){o.message="password_mail",o.saving=!1})).catch(o.setError)}),o.openModal=(0,r.action)(function(e){o.modal.page=e,o.modal.isOpen=!0}),o.closeModal=(0,r.action)(function(){o.modal.isOpen=!1,o.error=null,o.message=null,o.saving=!1}),t.default=o},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a,s=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(0);t.default=(0,n(2).connect)(["store"])(a=function(e){function t(){var e,n,i,a;r(this,t);for(var s=arguments.length,u=Array(s),c=0;s>c;c++)u[c]=arguments[c];return n=i=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),i.handleSignup=function(e){e.preventDefault(),i.props.store.openModal("signup")},i.handleLogin=function(e){e.preventDefault(),i.props.store.openModal("login")},i.handleLogout=function(e){e.preventDefault(),i.props.store.openModal("user")},i.handleButton=function(e){e.preventDefault(),i.props.store.openModal(i.props.store.user?"user":"login")},a=n,o(i,a)}return i(t,e),s(t,[{key:"render",value:function(){var e=this.props.store.user;return"button"===this.props.mode?(0,u.h)("a",{className:"netlify-identity-button",href:"#",onClick:this.handleButton},this.props.text||(e?"Log out":"Log in")):e?(0,u.h)("ul",{className:"netlify-identity-menu"},(0,u.h)("li",{className:"netlify-identity-item netlify-identity-user-details"},"Logged in as"," ",(0,u.h)("span",{className:"netlify-identity-user"},e.user_metadata.name||e.email)),(0,u.h)("li",{className:"netlify-identity-item"},(0,u.h)("a",{className:"netlify-identity-logout",href:"#",onClick:this.handleLogout},"Log out"))):(0,u.h)("ul",{className:"netlify-identity-menu"},(0,u.h)("li",{className:"netlify-identity-item"},(0,u.h)("a",{className:"netlify-identity-signup",href:"#",onClick:this.handleSignup},"Sign up")),(0,u.h)("li",{className:"netlify-identity-item"},(0,u.h)("a",{className:"netlify-identity-login",href:"#",onClick:this.handleLogin},"Log in")))}}]),t}(u.Component))||a},function(e,t,n){t=e.exports=n(27)(!1),t.push([e.i,'::-webkit-input-placeholder {\n /* Chrome/Opera/Safari */\n color: #a3a9ac;\n font-weight: 500;\n}\n\n::-moz-placeholder {\n /* Firefox 19+ */\n color: #a3a9ac;\n font-weight: 500;\n}\n\n:-ms-input-placeholder {\n /* IE 10+ */\n color: #a3a9ac;\n font-weight: 500;\n}\n\n:-moz-placeholder {\n /* Firefox 18- */\n color: #a3a9ac;\n font-weight: 500;\n}\n\n.modalContainer {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n min-height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,\n Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";\n font-size: 14px;\n line-height: 1.5;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n z-index: 99999;\n}\n\n.modalContainer::before {\n content: "";\n display: block;\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: #fff;\n z-index: -1;\n}\n\n.modalDialog {\n -webkit-box-flex: 1;\n -ms-flex-positive: 1;\n flex-grow: 1;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n width: 100%;\n}\n\n.modalContent {\n position: relative;\n padding: 32px;\n opacity: 0;\n -webkit-transform: translateY(10px) scale(1);\n transform: translateY(10px) scale(1);\n background: #fff;\n}\n\n[aria-hidden="false"] .modalContent {\n -webkit-animation: bouncyEntrance 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);\n animation: bouncyEntrance 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);\n -webkit-animation-fill-mode: forwards;\n animation-fill-mode: forwards;\n }\n\n@-webkit-keyframes bouncyEntrance {\n 0% {\n opacity: 0;\n -webkit-transform: translateY(10px) scale(0.9);\n transform: translateY(10px) scale(0.9);\n }\n\n 100% {\n opacity: 1;\n -webkit-transform: translateY(0) scale(1);\n transform: translateY(0) scale(1);\n }\n}\n\n@keyframes bouncyEntrance {\n 0% {\n opacity: 0;\n -webkit-transform: translateY(10px) scale(0.9);\n transform: translateY(10px) scale(0.9);\n }\n\n 100% {\n opacity: 1;\n -webkit-transform: translateY(0) scale(1);\n transform: translateY(0) scale(1);\n }\n}\n\n@media (min-width: 480px) {\n .modalContainer::before {\n background-color: rgb(14, 30, 37);\n -webkit-animation: fadeIn 0.1s ease-in;\n animation: fadeIn 0.1s ease-in;\n -webkit-animation-fill-mode: forwards;\n animation-fill-mode: forwards;\n }\n\n .modalDialog {\n max-width: 364px;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n }\n\n .modalContent {\n background: #fff;\n -webkit-box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .07),\n 0 12px 32px 0 rgba(14, 30, 37, .1);\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .07),\n 0 12px 32px 0 rgba(14, 30, 37, .1);\n border-radius: 8px;\n margin-top: 32px;\n }\n}\n\n@-webkit-keyframes fadeIn {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 0.67;\n }\n}\n\n@keyframes fadeIn {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 0.67;\n }\n}\n\n.flashMessage {\n text-align: center;\n color: rgb(14, 30, 37);\n font-weight: 500;\n font-size: 14px;\n background-color: #f2f3f3;\n padding: 6px;\n border-radius: 4px;\n opacity: 0.7;\n -webkit-transition: opacity 0.2s linear;\n transition: opacity 0.2s linear;\n}\n\n.flashMessage:hover,\n.flashMessage:focus {\n opacity: 1;\n}\n\n.error {\n color: #fa3946;\n background-color: #fceef0;\n opacity: 1;\n}\n\n.error span::before {\n content: "";\n display: inline-block;\n position: relative;\n top: 3px;\n margin-right: 4px;\n width: 16px;\n height: 16px;\n background: no-repeat center center;\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvM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cuMTY2NjY2NjcsMTAuODczMzMzMyA3LjU0LDEwLjUgOCwxMC41IEM4LjQ2LDEwLjUgOC44MzMzMzMzMywxMC44NzMzMzMzIDguODMzMzMzMzMsMTEuMzMzMzMzMyBDOC44MzMzMzMzMywxMS43OTMzMzMzIDguNDYsMTIuMTY2NjY2NyA4LDEyLjE2NjY2NjcgWiIvPgo8L3N2Zz4K);\n}\n\n.success {\n}\n\n.disabled {\n opacity: 0.38;\n pointer-events: none;\n}\n\n.infoText {\n text-align: center;\n margin: 32px 0;\n}\n\n.infoTextEmail {\n font-size: 16px;\n font-weight: 500;\n}\n\n.saving {\n background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABQCAMAAACeYYN3AAAAxlBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////DTx3aAAAAQnRSTlMAAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2Nzg5Ojs8PT4/QEGgjKRfAAACk0lEQVR4AYXQDXP5WhAG8CUhiSQqSv4RRRMVL1Fa1VZf3PL9v9Tde9wc9M8+P8/M7s6czJiHgNIvVCJO6YiAMlAiWckASiQrm4bJMZTDrmbBIEC9qpgVjp6n4B+oyEwCzKrMQBVaQIlkpmXZln1dhQB+49gOh5dLexlV6MhsAqyazEQVugCqsOK5nsQmwPWZ53ucvyczSGb4l9T9OsdnLgFOXVZFFd4AqEKrIasR4AdBI2hw1GR6VzMwSWY2A60ZNDl6KnUC3KbMRhXeAqhCpyXzCAjarNVucdqXVEhWaRfCdsj5vQcE1EOZQ7Jy+EcUlklWi2Q3BLQ6nagTcTra2Y0qrHZirRN3OOezTUAjvq4bd7suqpDfSGJUoXcnCwiIerIqqlC96vf6HD1ZsUcE3PYH/QGnrx3uYnqoQn4l6aMK/XtZi4BuIrNIZqVJkiapkhx37Y6AcDgcpsNU44Nz3OuoQn4jSVGFNw+ykID+SGaTzM5G2YiTFVM73AMConE2zjhj7XAXs4EqHE/4d12GKgwmsoiAZCpzSObMptPZdHZVSkCc5/ksnym8cPRUmiQzpvNcmedzTl4o7qlBsuZc1iVg9ChDFdYWshEBveV/FssFZ/l7Z7eowsfl0/JJ4UXj43A/ogpbT7IeAZNnWQ1VuJJNCBi8HKxeVhw9tRaq8JkfrV/WHDULxb1CFbbX7HX9yllfck9A/ipzSea+yeYEJO+yEFX4tim8b94VXjj/zzdU4Z/NmY/NB+fkTglYfMg8knmfsiUBD1+yCFX4+X309f3FOds/UYVR8fH2e6vwovExIuB5K/NJ5v8jWxGQ/chiVOF2d+pn98M5zt3WJFm83+/2O4UXjprabkzAWn+o56k9qvBfX4hMaM+SxOMAAAAASUVORK5CYII=);\n background-repeat: repeat-x;\n background-size: contain;\n background-origin: border-box;\n background-position: 0% 0%;\n -webkit-animation: loading 20s linear infinite;\n animation: loading 20s linear infinite;\n pointer-events: none;\n}\n\n.saving::after {\n content: "\\2026";\n}\n\n@-webkit-keyframes loading {\n 0% {\n background-position: 0% 0%;\n }\n\n 100% {\n background-position: 700% 0%;\n }\n}\n\n@keyframes loading {\n 0% {\n background-position: 0% 0%;\n }\n\n 100% {\n background-position: 700% 0%;\n }\n}\n\n.btn {\n display: block;\n position: relative;\n width: 100%;\n height: auto;\n margin: 14px 0 0;\n padding: 6px;\n outline: 0;\n cursor: pointer;\n border: 2px solid rgb(14, 30, 37);\n border-radius: 4px;\n background-color: #2d3b41;\n color: #fff;\n -webkit-transition: background-color 0.2s ease;\n transition: background-color 0.2s ease;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,\n Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n text-align: center;\n text-decoration: none;\n white-space: nowrap;\n}\n\n.btn:hover,\n.btn:focus {\n background-color: rgb(14, 30, 37);\n text-decoration: none;\n}\n\n.btnClose {\n position: absolute;\n top: 0;\n right: 0;\n margin: 0;\n padding: 0;\n border: 0;\n width: 24px;\n height: 24px;\n border-radius: 50%;\n margin: 6px;\n background: #fff;\n color: #a3a9ac;\n}\n\n.btnClose::before {\n content: "\\D7";\n font-size: 25px;\n line-height: 9px;\n}\n\n.btnClose:hover,\n.btnClose:focus {\n background: #e9ebeb;\n color: rgb(14, 30, 37);\n}\n\n.header {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n margin-top: -8px;\n margin-bottom: 32px;\n}\n\n.btnHeader {\n font-size: 16px;\n line-height: 24px;\n background: #fff;\n color: #a3a9ac;\n border: 0;\n border-bottom: 2px solid #e9ebeb;\n border-radius: 4px 4px 0 0;\n margin: 0;\n}\n\n.btnHeader:focus,\n.btnHeader.active {\n background: #fff;\n color: rgb(14, 30, 37);\n border-color: rgb(14, 30, 37);\n font-weight: 700;\n}\n\n.btnHeader:not(:only-child):hover {\n background-color: #e9ebeb;\n color: rgb(14, 30, 37);\n}\n\n.btnHeader:only-child {\n cursor: auto;\n}\n\n.btnLink {\n display: block;\n position: relative;\n width: auto;\n height: auto;\n margin: 14px auto 0;\n padding: 6px;\n padding-bottom: 0;\n outline: 0;\n cursor: pointer;\n color: rgb(14, 30, 37);\n border: none;\n border-bottom: 2px solid #e9ebeb;\n border-radius: 0;\n background-color: inherit;\n -webkit-transition: border-color 0.2s ease;\n transition: border-color 0.2s ease;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,\n Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n text-align: center;\n white-space: nowrap;\n}\n\n.btnLink:hover,\n.btnLink:focus {\n background-color: inherit;\n border-color: #a3a9ac;\n}\n\n.form {\n}\n\n.formGroup {\n position: relative;\n margin-top: 14px;\n}\n\n.formControl {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n display: block;\n width: 100%;\n height: 40px;\n margin: 0;\n padding: 6px 12px 6px 34px;\n border: 2px solid #e9ebeb;\n border-radius: 4px;\n background: #fff;\n color: rgb(14, 30, 37);\n -webkit-box-shadow: none;\n box-shadow: none;\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n -webkit-transition: -webkit-box-shadow ease-in-out 0.15s;\n transition: -webkit-box-shadow ease-in-out 0.15s;\n transition: box-shadow ease-in-out 0.15s;\n transition: box-shadow ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;\n -webkit-appearance: none;\n -moz-appearance: none;\n}\n\n.inputFieldIcon {\n position: absolute;\n top: 12px;\n left: 12px;\n display: inline-block;\n width: 16px;\n height: 16px;\n background-repeat: no-repeat;\n background-position: center;\n pointer-events: none;\n}\n\n.inputFieldName {\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDE0IDE0Ij4gIDxwYXRoIGZpbGw9IiNBM0E5QUMiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTgsNyBDNi4zNDMxNDU3NSw3IDUsNS42NTY4NTQyNSA1LDQgQzUsMi4zNDMxNDU3NSA2LjM0MzE0NTc1LDEgOCwxIEM5LjY1Njg1NDI1LDEgMTEsMi4zNDMxNDU3NSAxMSw0IEMxMSw1LjY1Njg1NDI1IDkuNjU2ODU0MjUsNyA4LDcgWiBNOCwxNSBMMS41LDE1IEMxLjUsMTEuMTM0MDA2OCA0LjQxMDE0OTEzLDggOCw4IEMxMS41ODk4NTA5LDggMTQuNSwxMS4xMzQwMDY4IDE0LjUsMTUgTDgsMTUgWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEgLTEpIi8+PC9zdmc+);\n}\n\n.inputFieldEmail {\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAw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OSwxMC41NTIyODQ3IDguNTUyMjg0NzUsMTEgOCwxMSBaIiB0cmFuc2Zvcm09InJvdGF0ZSg0NSA4LjcwNyA2LjI5MykiLz48L3N2Zz4=);\n}\n\n.formLabel {\n}\n\n.hr {\n border: 0;\n border-top: 2px solid #e9ebeb;\n margin: 32px 0 -1px;\n text-align: center;\n overflow: visible;\n}\n\n.hr::before {\n content: "or";\n position: relative;\n display: inline-block;\n font-size: 12px;\n font-weight: 800;\n line-height: 1;\n text-transform: uppercase;\n background-color: #fff;\n color: rgb(14, 30, 37);\n padding: 4px;\n top: -11px;\n}\n\n.btnProvider {\n padding-left: 40px;\n padding-right: 40px;\n}\n\n.btnProvider::before {\n content: "";\n position: absolute;\n display: inline-block;\n vertical-align: middle;\n width: 32px;\n height: 40px;\n background-repeat: no-repeat;\n background-position: left center;\n top: -2px;\n left: 14px;\n}\n\n.providerGoogle {\n background-color: #4285f4;\n border-color: #366dc7;\n}\n\n.providerGoogle:hover,\n.providerGoogle:focus {\n background-color: #366dc7;\n}\n\n.providerGitHub {\n background-color: #333;\n border-color: #000;\n}\n\n.providerGitHub:hover,\n.providerGitHub:focus {\n background-color: #000;\n}\n\n.providerGitLab {\n background-color: #e24329;\n border-color: #b03320;\n}\n\n.providerGitLab:hover,\n.providerGitLab:focus {\n background-color: #b03320;\n}\n\n.providerBitbucket {\n background-color: #205081;\n border-color: #14314f;\n}\n\n.providerBitbucket:hover,\n.providerBitbucket:focus {\n background-color: #14314f;\n}\n\n.providerGoogle:before {\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDEzIDEyIj4gIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEuNDg4IC0yKSI+ICAgIDxyZWN0IHdpZHRoPSIxNi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48L3N2Zz4=);\n}\n\n.callOut {\n display: block;\n padding: 32px;\n font-size: 14px;\n font-weight: 500;\n text-decoration: none;\n color: #a3a9ac;\n text-align: center;\n}\n\n.callOut:after {\n content: " \\2665";\n -webkit-transition: color 4s ease;\n transition: color 4s ease;\n}\n\n.callOut:hover:after {\n color: red;\n}\n\n.callOut .netlifyLogo {\n display: block;\n margin: auto;\n width: 32px;\n height: 32px;\n margin-bottom: 8px;\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmlld0JveD0iMCAwIDMyIDMyIj4gIDxkZWZzPiAgICA8cmFkaWFsR3JhZGllbnQgaWQ9ImEiIGN5PSIwJSIgcj0iMTAwJSIgZng9IjUwJSIgZnk9IjAlIiBncmFkaWVudFRyYW5zZm9ybT0ibWF0cml4KDAgMSAtMS4xNTE4NSAwIC41IC0uNSkiPiAgICAgIDxzdG9wIHN0b3AtY29sb3I9IiMyMEM2QjciIG9mZnNldD0iMCUiLz4gICAgICA8c3RvcCBzdG9wLWNvbG9yPSIjNEQ5QUJGIiBvZmZzZXQ9IjEwMCUiLz4gICAgPC9yYWRpYWxHcmFkaWVudD4gIDwvZGVmcz4gIDxwYXRoIGZpbGw9InVybCgjYSkiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTIyLjk4MDYyMywxMS42MjYyMzc3IEMyMi44NzE3MTA3LDExLjUwNTEzMDYgMjIuNzM1NTcwNCwxMS4zOTc0Nzk4IDIyLjU3MjIwMjEsMTEuMzE2NzQxOCBDMjIuNTU4NTg4MSwxMS4zMTY3NDE4IDIyLjU0NDk3NCwxMS4yODk4MjkxIDIyLjUzMTM2LDExLjI3NjM3MjcgTDIzLjE3MTIxOTQsNy4zNjA1NzY2MSBDMjMuMTcxMjE5NCw3LjMzMzY2MzkyIDIzLjE4NDgzMzQsNy4zMjAyMDc1OCAyMy4xOTg0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jA3NTY4IEw3LjM1MTU1NzgzLDE4LjI0Njc0NjQgWiIvPjwvc3ZnPg==);\n}\n\n.visuallyHidden {\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n #fff-space: nowrap;\n}\n\n.subheader {\n margin-top: 2em;\n border-top: 1px solid rgb(14, 30, 37);\n}\n\n.subheader h3 {\n padding-top: 1em;\n text-align: center;\n }\n',""])},function(e){"use strict";function t(e,t){var r=e[1]||"",o=e[3];if(!o)return r;if(t&&"function"==typeof btoa){var i=n(o);return[r].concat(o.sources.map(function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"})).concat([i]).join("\n")}return""+r}function n(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var n=[];return n.toString=function(){return this.map(function(n){var r=t(n,e);return n[2]?"@media "+n[2]+"{"+r+"}":r}).join("")},n.i=function(e,t){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;this.length>o;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;e.length>o;o++){var a=e[o];"number"==typeof a[0]&&r[a[0]]||(t&&!a[2]?a[2]=t:t&&(a[2]="("+a[2]+") and ("+t+")"),n.push(a))}},n}}]).default}); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.netlifyIdentity=t():e.netlifyIdentity=t()}("undefined"!=typeof self?self:this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=9)}([function(e,t,n){"use strict";function r(e,t){var n,r,o,i,a=A;for(i=arguments.length;i-- >2;)k.push(arguments[i]);for(t&&null!=t.children&&(k.length||k.push(t.children),delete t.children);k.length;)if((r=k.pop())&&void 0!==r.pop)for(i=r.length;i--;)k.push(r[i]);else"boolean"==typeof r&&(r=null),(o="function"!=typeof e)&&(null==r?r="":"number"==typeof r?r+="":"string"!=typeof r&&(o=!1)),o&&n?a[a.length-1]+=r:a===A?a=[r]:a.push(r),n=o;var s=new E;return s.nodeName=e,s.children=a,s.attributes=null==t?void 0:t,s.key=null==t?void 0:t.key,void 0!==L.vnode&&L.vnode(s),s}function o(e,t){for(var n in t)e[n]=t[n];return e}function i(e,t){return r(e.nodeName,o(o({},e.attributes),t),arguments.length>2?[].slice.call(arguments,2):e.children)}function a(e){!e._dirty&&(e._dirty=!0)&&1==C.push(e)&&(L.debounceRendering||S)(s)}function s(){var e,t=C;for(C=[];e=t.pop();)e._dirty&&w(e)}function u(e,t,n){return"string"==typeof t||"number"==typeof t?void 0!==e.splitText:"string"==typeof t.nodeName?!e._componentConstructor&&c(e,t.nodeName):n||e._componentConstructor===t.nodeName}function c(e,t){return e.normalizedNodeName===t||e.nodeName.toLowerCase()===t.toLowerCase()}function M(e){var t=o({},e.attributes);t.children=e.children;var n=e.nodeName.defaultProps;if(void 0!==n)for(var r in n)void 0===t[r]&&(t[r]=n[r]);return t}function l(e,t){var n=t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return n.normalizedNodeName=e,n}function p(e){var t=e.parentNode;t&&t.removeChild(e)}function f(e,t,n,r,o){if("className"===t&&(t="class"),"key"===t);else if("ref"===t)n&&n(null),r&&r(e);else if("class"!==t||o)if("style"===t){if(r&&"string"!=typeof r&&"string"!=typeof n||(e.style.cssText=r||""),r&&"object"==typeof r){if("string"!=typeof n)for(var i in n)i in r||(e.style[i]="");for(var i in r)e.style[i]="number"==typeof r[i]&&!1===U.test(i)?r[i]+"px":r[i]}}else if("dangerouslySetInnerHTML"===t)r&&(e.innerHTML=r.__html||"");else if("o"==t[0]&&"n"==t[1]){var a=t!==(t=t.replace(/Capture$/,""));t=t.toLowerCase().substring(2),r?n||e.addEventListener(t,y,a):e.removeEventListener(t,y,a),(e._listeners||(e._listeners={}))[t]=r}else if("list"!==t&&"type"!==t&&!o&&t in e){try{e[t]=null==r?"":r}catch(e){}null!=r&&!1!==r||"spellcheck"==t||e.removeAttribute(t)}else{var s=o&&t!==(t=t.replace(/^xlink:?/,""));null==r||!1===r?s?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.removeAttribute(t):"function"!=typeof r&&(s?e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),r):e.setAttribute(t,r))}else e.className=r||""}function y(e){return this._listeners[e.type](L.event&&L.event(e)||e)}function d(){for(var e;e=Q.pop();)L.afterMount&&L.afterMount(e),e.componentDidMount&&e.componentDidMount()}function N(e,t,n,r,o,i){_++||(Y=null!=o&&void 0!==o.ownerSVGElement,P=null!=e&&!("__preactattr_"in e));var a=g(e,t,n,r,i);return o&&a.parentNode!==o&&o.appendChild(a),--_||(P=!1,i||d()),a}function g(e,t,n,r,o){var i=e,a=Y;if(null!=t&&"boolean"!=typeof t||(t=""),"string"==typeof t||"number"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||o)?e.nodeValue!=t&&(e.nodeValue=t):(i=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(i,e),h(e,!0))),i.__preactattr_=!0,i;var s=t.nodeName;if("function"==typeof s)return m(e,t,n,r);if(Y="svg"===s||"foreignObject"!==s&&Y,s+="",(!e||!c(e,s))&&(i=l(s,Y),e)){for(;e.firstChild;)i.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(i,e),h(e,!0)}var u=i.firstChild,M=i.__preactattr_,p=t.children;if(null==M){M=i.__preactattr_={};for(var f=i.attributes,y=f.length;y--;)M[f[y].name]=f[y].value}return!P&&p&&1===p.length&&"string"==typeof p[0]&&null!=u&&void 0!==u.splitText&&null==u.nextSibling?u.nodeValue!=p[0]&&(u.nodeValue=p[0]):(p&&p.length||null!=u)&&D(i,p,n,r,P||null!=M.dangerouslySetInnerHTML),T(i,t.attributes,M),Y=a,i}function D(e,t,n,r,o){var i,a,s,c,M,l=e.childNodes,f=[],y={},d=0,N=0,D=l.length,j=0,T=t?t.length:0;if(0!==D)for(var z=0;D>z;z++){var b=l[z],v=b.__preactattr_,w=T&&v?b._component?b._component.__key:v.key:null;null!=w?(d++,y[w]=b):(v||(void 0!==b.splitText?!o||b.nodeValue.trim():o))&&(f[j++]=b)}if(0!==T)for(var z=0;T>z;z++){c=t[z],M=null;var w=c.key;if(null!=w)d&&void 0!==y[w]&&(M=y[w],y[w]=void 0,d--);else if(j>N)for(i=N;j>i;i++)if(void 0!==f[i]&&u(a=f[i],c,o)){M=a,f[i]=void 0,i===j-1&&j--,i===N&&N++;break}M=g(M,c,n,r),s=l[z],M&&M!==e&&M!==s&&(null==s?e.appendChild(M):M===s.nextSibling?p(s):e.insertBefore(M,s))}if(d)for(var z in y)void 0!==y[z]&&h(y[z],!1);for(;j>=N;)void 0!==(M=f[j--])&&h(M,!1)}function h(e,t){var n=e._component;n?x(n):(null!=e.__preactattr_&&e.__preactattr_.ref&&e.__preactattr_.ref(null),!1!==t&&null!=e.__preactattr_||p(e),j(e))}function j(e){for(e=e.lastChild;e;){var t=e.previousSibling;h(e,!0),e=t}}function T(e,t,n){var r;for(r in n)t&&null!=t[r]||null==n[r]||f(e,r,n[r],n[r]=void 0,Y);for(r in t)"children"===r||"innerHTML"===r||r in n&&t[r]===("value"===r||"checked"===r?e[r]:n[r])||f(e,r,n[r],n[r]=t[r],Y)}function z(e,t,n){var r,o=B.length;for(e.prototype&&e.prototype.render?(r=new e(t,n),O.call(r,t,n)):(r=new O(t,n),r.constructor=e,r.render=b);o--;)if(B[o].constructor===e)return r.nextBase=B[o].nextBase,B.splice(o,1),r;return r}function b(e,t,n){return this.constructor(e,n)}function v(e,t,n,r,o){e._disable||(e._disable=!0,e.__ref=t.ref,e.__key=t.key,delete t.ref,delete t.key,void 0===e.constructor.getDerivedStateFromProps&&(!e.base||o?e.componentWillMount&&e.componentWillMount():e.componentWillReceiveProps&&e.componentWillReceiveProps(t,r)),r&&r!==e.context&&(e.prevContext||(e.prevContext=e.context),e.context=r),e.prevProps||(e.prevProps=e.props),e.props=t,e._disable=!1,0!==n&&(1!==n&&!1===L.syncComponentUpdates&&e.base?a(e):w(e,1,o)),e.__ref&&e.__ref(e))}function w(e,t,n,r){if(!e._disable){var i,a,s,u=e.props,c=e.state,l=e.context,p=e.prevProps||u,f=e.prevState||c,y=e.prevContext||l,g=e.base,D=e.nextBase,j=g||D,T=e._component,b=!1,m=y;if(e.constructor.getDerivedStateFromProps&&(c=o(o({},c),e.constructor.getDerivedStateFromProps(u,c)),e.state=c),g&&(e.props=p,e.state=f,e.context=y,2!==t&&e.shouldComponentUpdate&&!1===e.shouldComponentUpdate(u,c,l)?b=!0:e.componentWillUpdate&&e.componentWillUpdate(u,c,l),e.props=u,e.state=c,e.context=l),e.prevProps=e.prevState=e.prevContext=e.nextBase=null,e._dirty=!1,!b){i=e.render(u,c,l),e.getChildContext&&(l=o(o({},l),e.getChildContext())),g&&e.getSnapshotBeforeUpdate&&(m=e.getSnapshotBeforeUpdate(p,f));var O,I,E=i&&i.nodeName;if("function"==typeof E){var k=M(i);a=T,a&&a.constructor===E&&k.key==a.__key?v(a,k,1,l,!1):(O=a,e._component=a=z(E,k,l),a.nextBase=a.nextBase||D,a._parentComponent=e,v(a,k,0,l,!1),w(a,1,n,!0)),I=a.base}else s=j,O=T,O&&(s=e._component=null),(j||1===t)&&(s&&(s._component=null),I=N(s,i,l,n||!g,j&&j.parentNode,!0));if(j&&I!==j&&a!==T){var A=j.parentNode;A&&I!==A&&(A.replaceChild(I,j),O||(j._component=null,h(j,!1)))}if(O&&x(O),e.base=I,I&&!r){for(var S=e,U=e;U=U._parentComponent;)(S=U).base=I;I._component=S,I._componentConstructor=S.constructor}}for(!g||n?Q.unshift(e):b||(e.componentDidUpdate&&e.componentDidUpdate(p,f,m),L.afterUpdate&&L.afterUpdate(e));e._renderCallbacks.length;)e._renderCallbacks.pop().call(e);_||r||d()}}function m(e,t,n,r){for(var o=e&&e._component,i=o,a=e,s=o&&e._componentConstructor===t.nodeName,u=s,c=M(t);o&&!u&&(o=o._parentComponent);)u=o.constructor===t.nodeName;return o&&u&&(!r||o._component)?(v(o,c,3,n,r),e=o.base):(i&&!s&&(x(i),e=a=null),o=z(t.nodeName,c,n),e&&!o.nextBase&&(o.nextBase=e,a=null),v(o,c,1,n,r),e=o.base,a&&e!==a&&(a._component=null,h(a,!1))),e}function x(e){L.beforeUnmount&&L.beforeUnmount(e);var t=e.base;e._disable=!0,e.componentWillUnmount&&e.componentWillUnmount(),e.base=null;var n=e._component;n?x(n):t&&(t.__preactattr_&&t.__preactattr_.ref&&t.__preactattr_.ref(null),e.nextBase=t,p(t),B.push(e),j(t)),e.__ref&&e.__ref(null)}function O(e,t){this._dirty=!0,this.context=t,this.props=e,this.state=this.state||{},this._renderCallbacks=[]}function I(e,t,n){return N(n,e,{},!1,t,!1)}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"h",function(){return r}),n.d(t,"createElement",function(){return r}),n.d(t,"cloneElement",function(){return i}),n.d(t,"Component",function(){return O}),n.d(t,"render",function(){return I}),n.d(t,"rerender",function(){return s}),n.d(t,"options",function(){return L});var E=function(){},L={},k=[],A=[],S="function"==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):setTimeout,U=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,C=[],Q=[],_=0,Y=!1,P=!1,B=[];o(O.prototype,{setState:function(e,t){this.prevState||(this.prevState=this.state),this.state=o(o({},this.state),"function"==typeof e?e(this.state,this.props):e),t&&this._renderCallbacks.push(t),a(this)},forceUpdate:function(e){e&&this._renderCallbacks.push(e),w(this,2)},render:function(){}}),t.default={h:r,createElement:r,cloneElement:i,Component:O,render:I,rerender:s,options:L}},function(e,t,n){"use strict";(function(e){function n(e,t){function n(){this.constructor=e}tn(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function r(e){return e.interceptors&&e.interceptors.length>0}function o(e,t){var n=e.interceptors||(e.interceptors=[]);return n.push(t),Oe(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function i(e,t){var n=wt();try{var r=e.interceptors;if(r)for(var o=0,i=r.length;i>o&&(t=r[o](t),me(!t||t.type,"Intercept handlers should return nothing or a change object"),t);o++);return t}finally{mt(n)}}function a(e){return e.changeListeners&&e.changeListeners.length>0}function s(e,t){var n=e.changeListeners||(e.changeListeners=[]);return n.push(t),Oe(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function u(e,t){var n=wt(),r=e.changeListeners;if(r){r=r.slice();for(var o=0,i=r.length;i>o;o++)r[o](t);mt(n)}}function c(){return!!Vn.spyListeners.length}function M(e){if(Vn.spyListeners.length)for(var t=Vn.spyListeners,n=0,r=t.length;r>n;n++)t[n](e)}function l(e){M(Ae({},e,{spyReportStart:!0}))}function p(e){M(e?Ae({},e,an):an)}function f(e){return Vn.spyListeners.push(e),Oe(function(){var t=Vn.spyListeners.indexOf(e);-1!==t&&Vn.spyListeners.splice(t,1)})}function y(){return"function"==typeof Symbol&&Symbol.iterator||"@@iterator"}function d(e){me(!0!==e[sn],"Illegal state: cannot recycle array as iterator"),Ce(e,sn,!0);var t=-1;return Ce(e,"next",function(){return t++,{done:t>=this.length,value:this.length>t?this[t]:void 0}}),e}function N(e,t){Ce(e,y(),t)}function g(e){return{enumerable:!1,configurable:!1,get:function(){return this.get(e)},set:function(t){this.set(e,t)}}}function D(e){Object.defineProperty(pn.prototype,""+e,g(e))}function h(e){for(var t=cn;e>t;t++)D(t);cn=e}function j(e){return Le(e)&&yn(e.$mobx)}function T(e){return Dn[e]}function z(e,t){me("function"==typeof t,T("m026")),me("string"==typeof e&&e.length>0,"actions should have valid names, got: '"+e+"'");var n=function(){return b(e,t,this,arguments)};return n.originalFn=t,n.isMobxAction=!0,n}function b(e,t,n,r){var o=v(e,t,n,r);try{return t.apply(n,r)}finally{w(o)}}function v(e,t,n,r){var o=c()&&!!e,i=0;if(o){i=Date.now();var a=r&&r.length||0,s=Array(a);if(a>0)for(var u=0;a>u;u++)s[u]=r[u];l({type:"action",name:e,fn:t,object:n,arguments:s})}var M=wt();return ct(),{prevDerivation:M,prevAllowStateChanges:I(!0),notifySpy:o,startTime:i}}function w(e){E(e.prevAllowStateChanges),Mt(),mt(e.prevDerivation),e.notifySpy&&p({time:Date.now()-e.startTime})}function m(e){me(null===Vn.trackingDerivation,T("m028")),Vn.strictMode=e,Vn.allowStateChanges=!e}function x(){return Vn.strictMode}function O(e,t){var n,r=I(e);try{n=t()}finally{E(r)}return n}function I(e){var t=Vn.allowStateChanges;return Vn.allowStateChanges=e,t}function E(e){Vn.allowStateChanges=e}function L(e,t,n,r,o){function i(i,a,s,u,c){if(void 0===c&&(c=0),me(o||S(arguments),"This function is a decorator, but it wasn't invoked like a decorator"),s){Se(i,"__mobxLazyInitializers")||Ue(i,"__mobxLazyInitializers",i.__mobxLazyInitializers&&i.__mobxLazyInitializers.slice()||[]);var M=s.value,l=s.initializer;return i.__mobxLazyInitializers.push(function(t){e(t,a,l?l.call(t):M,u,s)}),{enumerable:r,configurable:!0,get:function(){return!0!==this.__mobxDidRunLazyInitializers&&A(this),t.call(this,a)},set:function(e){!0!==this.__mobxDidRunLazyInitializers&&A(this),n.call(this,a,e)}}}var p={enumerable:r,configurable:!0,get:function(){return this.__mobxInitializedProps&&!0===this.__mobxInitializedProps[a]||k(this,a,void 0,e,u,s),t.call(this,a)},set:function(t){this.__mobxInitializedProps&&!0===this.__mobxInitializedProps[a]?n.call(this,a,t):k(this,a,t,e,u,s)}};return(3>arguments.length||5===arguments.length&&3>c)&&Object.defineProperty(i,a,p),p}return o?function(){if(S(arguments))return i.apply(null,arguments);var e=arguments,t=arguments.length;return function(n,r,o){return i(n,r,o,e,t)}}:i}function k(e,t,n,r,o,i){Se(e,"__mobxInitializedProps")||Ue(e,"__mobxInitializedProps",{}),e.__mobxInitializedProps[t]=!0,r(e,t,n,o,i)}function A(e){!0!==e.__mobxDidRunLazyInitializers&&e.__mobxLazyInitializers&&(Ue(e,"__mobxDidRunLazyInitializers",!0),e.__mobxDidRunLazyInitializers&&e.__mobxLazyInitializers.forEach(function(t){return t(e)}))}function S(e){return(2===e.length||3===e.length)&&"string"==typeof e[1]}function U(e){return function(t,n,r){if(r&&"function"==typeof r.value)return r.value=z(e,r.value),r.enumerable=!1,r.configurable=!0,r;if(void 0!==r&&void 0!==r.get)throw Error("[mobx] action is not expected to be used with getters");return hn(e).apply(this,arguments)}}function C(e,t,n){var r="string"==typeof e?e:e.name||"",o="function"==typeof e?e:t,i="function"==typeof e?t:n;return me("function"==typeof o,T("m002")),me(0===o.length,T("m003")),me("string"==typeof r&&r.length>0,"actions should have valid names, got: '"+r+"'"),b(r,o,i,void 0)}function Q(e){return"function"==typeof e&&!0===e.isMobxAction}function _(e,t,n){var r=function(){return b(t,n,e,arguments)};r.isMobxAction=!0,Ue(e,t,r)}function Y(e,t){return P(e,t)}function P(e,t,n,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!==e)return t!==t;var o=void 0===e?"undefined":en(e);return("function"===o||"object"===o||"object"==(void 0===t?"undefined":en(t)))&&B(e,t,n,r)}function B(e,t,n,r){e=R(e),t=R(t);var o=zn.call(e);if(o!==zn.call(t))return!1;switch(o){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t)}var i="[object Array]"===o;if(!i){if("object"!=(void 0===e?"undefined":en(e))||"object"!=(void 0===t?"undefined":en(t)))return!1;var a=e.constructor,s=t.constructor;if(a!==s&&!("function"==typeof a&&a instanceof a&&"function"==typeof s&&s instanceof s)&&"constructor"in e&&"constructor"in t)return!1}n=n||[],r=r||[];for(var u=n.length;u--;)if(n[u]===e)return r[u]===t;if(n.push(e),r.push(t),i){if((u=e.length)!==t.length)return!1;for(;u--;)if(!P(e[u],t[u],n,r))return!1}else{var c,M=Object.keys(e);if(u=M.length,Object.keys(t).length!==u)return!1;for(;u--;)if(c=M[u],!G(t,c)||!P(e[c],t[c],n,r))return!1}return n.pop(),r.pop(),!0}function R(e){return j(e)?e.peek():Yn(e)?e.entries():Re(e)?He(e.entries()):e}function G(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function H(e,t){return e===t}function Z(e,t){return Y(e,t)}function V(e,t){return Pe(e,t)||H(e,t)}function W(e,t,n){function r(){i(s)}var o,i,a;"string"==typeof e?(o=e,i=t,a=n):(o=e.name||"Autorun@"+ve(),i=e,a=t),me("function"==typeof i,T("m004")),me(!1===Q(i),T("m005")),a&&(i=i.bind(a));var s=new er(o,function(){this.track(r)});return s.schedule(),s.getDisposer()}function J(e,t,n,r){var o,i,a,s;return"string"==typeof e?(o=e,i=t,a=n,s=r):(o="When@"+ve(),i=e,a=t,s=n),W(o,function(e){if(i.call(s)){e.dispose();var t=wt();a.call(s),mt(t)}})}function F(e,t,n,r){function o(){a(M)}var i,a,s,u;"string"==typeof e?(i=e,a=t,s=n,u=r):(i=e.name||"AutorunAsync@"+ve(),a=e,s=t,u=n),me(!1===Q(a),T("m006")),void 0===s&&(s=1),u&&(a=a.bind(u));var c=!1,M=new er(i,function(){c||(c=!0,setTimeout(function(){c=!1,M.isDisposed||M.track(o)},s))});return M.schedule(),M.getDisposer()}function $(e,t,n){function r(){if(!c.isDisposed){var n=!1;c.track(function(){var t=e(c);n=a||!u(i,t),i=t}),a&&o.fireImmediately&&t(i,c),a||!0!==n||t(i,c),a&&(a=!1)}}arguments.length>3&&we(T("m007")),ye(e)&&we(T("m008"));var o;o="object"===(void 0===n?"undefined":en(n))?n:{},o.name=o.name||e.name||t.name||"Reaction@"+ve(),o.fireImmediately=!0===n||!0===o.fireImmediately,o.delay=o.delay||0,o.compareStructural=o.compareStructural||o.struct||!1,t=Tn(o.name,o.context?t.bind(o.context):t),o.context&&(e=e.bind(o.context));var i,a=!0,s=!1,u=o.equals?o.equals:o.compareStructural||o.struct?bn.structural:bn.default,c=new er(o.name,function(){a||1>o.delay?r():s||(s=!0,setTimeout(function(){s=!1,r()},o.delay))});return c.schedule(),c.getDisposer()}function q(e,t){if(ae(e)&&e.hasOwnProperty("$mobx"))return e.$mobx;me(Object.isExtensible(e),T("m035")),ke(e)||(t=(e.constructor.name||"ObservableObject")+"@"+ve()),t||(t="ObservableObject@"+ve());var n=new mn(e,t);return Ce(e,"$mobx",n),n}function X(e,t,n,r){if(e.values[t]&&!wn(e.values[t]))return me("value"in n,"The property "+t+" in "+e.name+" is already observable, cannot redefine it as computed property"),void(e.target[t]=n.value);if("value"in n)if(ye(n.value)){var o=n.value;K(e,t,o.initialValue,o.enhancer)}else Q(n.value)&&!0===n.value.autoBind?_(e.target,t,n.value.originalFn):wn(n.value)?te(e,t,n.value):K(e,t,n.value,r);else ee(e,t,n.get,n.set,bn.default,!0)}function K(e,t,n,o){if(_e(e.target,t),r(e)){var a=i(e,{object:e.target,name:t,type:"add",newValue:n});if(!a)return;n=a.newValue}n=(e.values[t]=new Nn(n,o,e.name+"."+t,!1)).value,Object.defineProperty(e.target,t,ne(t)),ie(e,e.target,t,n)}function ee(e,t,n,r,o,i){i&&_e(e.target,t),e.values[t]=new vn(n,e.target,o,e.name+"."+t,r),i&&Object.defineProperty(e.target,t,re(t))}function te(e,t,n){n.name=e.name+"."+t,n.scope||(n.scope=e.target),e.values[t]=n,Object.defineProperty(e.target,t,re(t))}function ne(e){return xn[e]||(xn[e]={configurable:!0,enumerable:!0,get:function(){return this.$mobx.values[e].get()},set:function(t){oe(this,e,t)}})}function re(e){return On[e]||(On[e]={configurable:!0,enumerable:!1,get:function(){return this.$mobx.values[e].get()},set:function(t){return this.$mobx.values[e].set(t)}})}function oe(e,t,n){var o=e.$mobx,s=o.values[t];if(r(o)){var M=i(o,{type:"update",object:e,name:t,newValue:n});if(!M)return;n=M.newValue}if((n=s.prepareNewValue(n))!==dn){var f=a(o),y=c(),M=f||y?{type:"update",object:e,oldValue:s.value,name:t,newValue:n}:null;y&&l(M),s.setNewValue(n),f&&u(o,M),y&&p()}}function ie(e,t,n,r){var o=a(e),i=c(),s=o||i?{type:"add",object:t,name:n,newValue:r}:null;i&&l(s),o&&u(e,s),i&&p()}function ae(e){return!!Le(e)&&(A(e),In(e.$mobx))}function se(e,t){if(null===e||void 0===e)return!1;if(void 0!==t){if(j(e)||Yn(e))throw Error(T("m019"));if(ae(e)){var n=e.$mobx;return n.values&&!!n.values[t]}return!1}return ae(e)||!!e.$mobx||on(e)||rr(e)||wn(e)}function ue(e){return me(!!e,":("),L(function(t,n,r,o,i){_e(t,n),me(!i||!i.get,T("m022")),K(q(t,void 0),n,r,e)},function(e){var t=this.$mobx.values[e];if(void 0!==t)return t.get()},function(e,t){oe(this,e,t)},!0,!1)}function ce(e){for(var t=[],n=1;arguments.length>n;n++)t[n-1]=arguments[n];return le(e,Ne,t)}function Me(e){for(var t=[],n=1;arguments.length>n;n++)t[n-1]=arguments[n];return le(e,De,t)}function le(e,t,n){me(arguments.length>=2,T("m014")),me("object"===(void 0===e?"undefined":en(e)),T("m015")),me(!Yn(e),T("m016")),n.forEach(function(e){me("object"===(void 0===e?"undefined":en(e)),T("m017")),me(!se(e),T("m018"))});for(var r=q(e),o={},i=n.length-1;i>=0;i--){var a=n[i];for(var s in a)if(!0!==o[s]&&Se(a,s)){if(o[s]=!0,e===a&&!Qe(e,s))continue;var u=Object.getOwnPropertyDescriptor(a,s);X(r,s,u,t)}}return e}function pe(e){if(void 0===e&&(e=void 0),"string"==typeof arguments[1])return En.apply(null,arguments);if(me(1>=arguments.length,T("m021")),me(!ye(e),T("m020")),se(e))return e;var t=Ne(e,void 0,void 0);return t!==e?t:Cn.box(e)}function fe(e){we("Expected one or two arguments to observable."+e+". Did you accidentally try to use observable."+e+" as decorator?")}function ye(e){return"object"===(void 0===e?"undefined":en(e))&&null!==e&&!0===e.isMobxModifierDescriptor}function de(e,t){return me(!ye(t),"Modifiers cannot be nested"),{isMobxModifierDescriptor:!0,initialValue:t,enhancer:e}}function Ne(e,t,n){return ye(e)&&we("You tried to assign a modifier wrapped value to a collection, please define modifiers when creating the collection, not when modifying it"),se(e)?e:Array.isArray(e)?Cn.array(e,n):ke(e)?Cn.object(e,n):Re(e)?Cn.map(e,n):e}function ge(e,t,n){return ye(e)&&we("You tried to assign a modifier wrapped value to a collection, please define modifiers when creating the collection, not when modifying it"),void 0===e||null===e?e:ae(e)||j(e)||Yn(e)?e:Array.isArray(e)?Cn.shallowArray(e,n):ke(e)?Cn.shallowObject(e,n):Re(e)?Cn.shallowMap(e,n):we("The shallow modifier / decorator can only used in combination with arrays, objects and maps")}function De(e){return e}function he(e,t,n){if(Y(e,t))return t;if(se(e))return e;if(Array.isArray(e))return new pn(e,he,n);if(Re(e))return new _n(e,he,n);if(ke(e)){var r={};return q(r,n),le(r,he,[e]),r}return e}function je(e,t){return Y(e,t)?t:e}function Te(e,t){void 0===t&&(t=void 0),ct();try{return e.apply(t)}finally{Mt()}}function ze(e){return xe("`mobx.map` is deprecated, use `new ObservableMap` or `mobx.observable.map` instead"),Cn.map(e)}function be(){return"undefined"!=typeof window?window:e}function ve(){return++Vn.mobxGuid}function we(e,t){throw me(!1,e,t),"X"}function me(e,t,n){if(!e)throw Error("[mobx] Invariant failed: "+t+(n?" in '"+n+"'":""))}function xe(e){return-1===Bn.indexOf(e)&&(Bn.push(e),console.error("[mobx] Deprecated: "+e),!0)}function Oe(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}function Ie(e){var t=[];return e.forEach(function(e){-1===t.indexOf(e)&&t.push(e)}),t}function Ee(e,t,n){return void 0===t&&(t=100),void 0===n&&(n=" - "),e?e.slice(0,t).join(n)+(e.length>t?" (... and "+(e.length-t)+"more)":""):""}function Le(e){return null!==e&&"object"===(void 0===e?"undefined":en(e))}function ke(e){if(null===e||"object"!==(void 0===e?"undefined":en(e)))return!1;var t=Object.getPrototypeOf(e);return t===Object.prototype||null===t}function Ae(){for(var e=arguments[0],t=1,n=arguments.length;n>t;t++){var r=arguments[t];for(var o in r)Se(r,o)&&(e[o]=r[o])}return e}function Se(e,t){return Gn.call(e,t)}function Ue(e,t,n){Object.defineProperty(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function Ce(e,t,n){Object.defineProperty(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function Qe(e,t){var n=Object.getOwnPropertyDescriptor(e,t);return!n||!1!==n.configurable&&!1!==n.writable}function _e(e,t){me(Qe(e,t),"Cannot make property '"+t+"' observable, it is not configurable and writable in the target object")}function Ye(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return Le(e)&&!0===e[n]}}function Pe(e,t){return"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function Be(e){return Array.isArray(e)||j(e)}function Re(e){return void 0!==be().Map&&e instanceof be().Map}function Ge(e){return ke(e)?Object.keys(e):Array.isArray(e)?e.map(function(e){return e[0]}):Re(e)?Array.from(e.keys()):Yn(e)?e.keys():we("Cannot get keys from "+e)}function He(e){for(var t=[];;){var n=e.next();if(n.done)break;t.push(n.value)}return t}function Ze(){return"function"==typeof Symbol&&Symbol.toPrimitive||"@@toPrimitive"}function Ve(e){return null===e?null:"object"===(void 0===e?"undefined":en(e))?""+e:e}function We(){Jn=!0,be().__mobxInstanceCount--}function Je(){xe("Using `shareGlobalState` is not recommended, use peer dependencies instead. See https://github.com/mobxjs/mobx/issues/1082 for details."),Wn=!0;var e=be(),t=Vn;if(e.__mobservableTrackingStack||e.__mobservableViewStack)throw Error("[mobx] An incompatible version of mobservable is already loaded.");if(e.__mobxGlobal&&e.__mobxGlobal.version!==t.version)throw Error("[mobx] An incompatible version of mobx is already loaded.");e.__mobxGlobal?Vn=e.__mobxGlobal:e.__mobxGlobal=t}function Fe(){return Vn}function $e(){Vn.resetId++;var e=new Zn;for(var t in e)-1===Hn.indexOf(t)&&(Vn[t]=e[t]);Vn.allowStateChanges=!Vn.strictMode}function qe(e,t){if("object"===(void 0===e?"undefined":en(e))&&null!==e){if(j(e))return me(void 0===t,T("m036")),e.$mobx.atom;if(Yn(e)){var n=e;if(void 0===t)return qe(n._keys);var r=n._data[t]||n._hasMap[t];return me(!!r,"the entry '"+t+"' does not exist in the observable map '"+Ke(e)+"'"),r}if(A(e),ae(e)){if(!t)return we("please specify a property");var r=e.$mobx.values[t];return me(!!r,"no observable property '"+t+"' found on the observable object '"+Ke(e)+"'"),r}if(on(e)||wn(e)||rr(e))return e}else if("function"==typeof e&&rr(e.$mobx))return e.$mobx;return we("Cannot obtain atom from "+e)}function Xe(e,t){return me(e,"Expecting some object"),void 0!==t?Xe(qe(e,t)):on(e)||wn(e)||rr(e)?e:Yn(e)?e:(A(e),e.$mobx?e.$mobx:void me(!1,"Cannot obtain administration from "+e))}function Ke(e,t){var n;return n=void 0!==t?qe(e,t):ae(e)||Yn(e)?Xe(e):qe(e),n.name}function et(e,t){return tt(qe(e,t))}function tt(e){var t={name:e.name};return e.observing&&e.observing.length>0&&(t.dependencies=Ie(e.observing).map(tt)),t}function nt(e,t){return rt(qe(e,t))}function rt(e){var t={name:e.name};return ot(e)&&(t.observers=it(e).map(rt)),t}function ot(e){return e.observers&&e.observers.length>0}function it(e){return e.observers}function at(e,t){var n=e.observers.length;n&&(e.observersIndexes[t.__mapid]=n),e.observers[n]=t,e.lowestObserverState>t.dependenciesState&&(e.lowestObserverState=t.dependenciesState)}function st(e,t){if(1===e.observers.length)e.observers.length=0,ut(e);else{var n=e.observers,r=e.observersIndexes,o=n.pop();if(o!==t){var i=r[t.__mapid]||0;i?r[o.__mapid]=i:delete r[o.__mapid],n[i]=o}delete r[t.__mapid]}}function ut(e){e.isPendingUnobservation||(e.isPendingUnobservation=!0,Vn.pendingUnobservations.push(e))}function ct(){Vn.inBatch++}function Mt(){if(0==--Vn.inBatch){St();for(var e=Vn.pendingUnobservations,t=0;e.length>t;t++){var n=e[t];n.isPendingUnobservation=!1,0===n.observers.length&&n.onBecomeUnobserved()}Vn.pendingUnobservations=[]}}function lt(e){var t=Vn.trackingDerivation;null!==t?t.runId!==e.lastAccessedBy&&(e.lastAccessedBy=t.runId,t.newObserving[t.unboundDepsCount++]=e):0===e.observers.length&&ut(e)}function pt(e){if(e.lowestObserverState!==qn.STALE){e.lowestObserverState=qn.STALE;for(var t=e.observers,n=t.length;n--;){var r=t[n];r.dependenciesState===qn.UP_TO_DATE&&(r.isTracing!==Xn.NONE&&dt(r,e),r.onBecomeStale()),r.dependenciesState=qn.STALE}}}function ft(e){if(e.lowestObserverState!==qn.STALE){e.lowestObserverState=qn.STALE;for(var t=e.observers,n=t.length;n--;){var r=t[n];r.dependenciesState===qn.POSSIBLY_STALE?r.dependenciesState=qn.STALE:r.dependenciesState===qn.UP_TO_DATE&&(e.lowestObserverState=qn.UP_TO_DATE)}}}function yt(e){if(e.lowestObserverState===qn.UP_TO_DATE){e.lowestObserverState=qn.POSSIBLY_STALE;for(var t=e.observers,n=t.length;n--;){var r=t[n];r.dependenciesState===qn.UP_TO_DATE&&(r.dependenciesState=qn.POSSIBLY_STALE,r.isTracing!==Xn.NONE&&dt(r,e),r.onBecomeStale())}}}function dt(e,t){if(console.log("[mobx.trace] '"+e.name+"' is invalidated due to a change in: '"+t.name+"'"),e.isTracing===Xn.BREAK){var n=[];Nt(et(e),n,1),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 vn?""+e.derivation:"")+"\n\nThe dependencies for this derivation are:\n\n"+n.join("\n")+"\n*/\n ")()}}function Nt(e,t,n){if(t.length>=1e3)return void t.push("(and many more)");t.push(""+Array(n).join("\t")+e.name),e.dependencies&&e.dependencies.forEach(function(e){return Nt(e,t,n+1)})}function gt(e){return e instanceof Kn}function Dt(e){switch(e.dependenciesState){case qn.UP_TO_DATE:return!1;case qn.NOT_TRACKING:case qn.STALE:return!0;case qn.POSSIBLY_STALE:for(var t=wt(),n=e.observing,r=n.length,o=0;r>o;o++){var i=n[o];if(wn(i)){try{i.get()}catch(e){return mt(t),!0}if(e.dependenciesState===qn.STALE)return mt(t),!0}}return xt(e),mt(t),!1}}function ht(){return null!==Vn.trackingDerivation}function jt(e){var t=e.observers.length>0;Vn.computationDepth>0&&t&&we(T("m031")+e.name),!Vn.allowStateChanges&&t&&we(T(Vn.strictMode?"m030a":"m030b")+e.name)}function Tt(e,t,n){xt(e),e.newObserving=Array(e.observing.length+100),e.unboundDepsCount=0,e.runId=++Vn.runId;var r=Vn.trackingDerivation;Vn.trackingDerivation=e;var o;try{o=t.call(n)}catch(e){o=new Kn(e)}return Vn.trackingDerivation=r,zt(e),o}function zt(e){for(var t=e.observing,n=e.observing=e.newObserving,r=qn.UP_TO_DATE,o=0,i=e.unboundDepsCount,a=0;i>a;a++){var s=n[a];0===s.diffValue&&(s.diffValue=1,o!==a&&(n[o]=s),o++),s.dependenciesState>r&&(r=s.dependenciesState)}for(n.length=o,e.newObserving=null,i=t.length;i--;){var s=t[i];0===s.diffValue&&st(s,e),s.diffValue=0}for(;o--;){var s=n[o];1===s.diffValue&&(s.diffValue=0,at(s,e))}r!==qn.UP_TO_DATE&&(e.dependenciesState=r,e.onBecomeStale())}function bt(e){var t=e.observing;e.observing=[];for(var n=t.length;n--;)st(t[n],e);e.dependenciesState=qn.NOT_TRACKING}function vt(e){var t=wt(),n=e();return mt(t),n}function wt(){var e=Vn.trackingDerivation;return Vn.trackingDerivation=null,e}function mt(e){Vn.trackingDerivation=e}function xt(e){if(e.dependenciesState!==qn.UP_TO_DATE){e.dependenciesState=qn.UP_TO_DATE;for(var t=e.observing,n=t.length;n--;)t[n].lowestObserverState=qn.UP_TO_DATE}}function Ot(e){return console.log(e),e}function It(e){return xe("`whyRun` is deprecated in favor of `trace`"),e=Lt(arguments),e?wn(e)||rr(e)?Ot(e.whyRun()):we(T("m025")):Ot(T("m024"))}function Et(){for(var e=[],t=0;arguments.length>t;t++)e[t]=arguments[t];var n=!1;"boolean"==typeof e[e.length-1]&&(n=e.pop());var r=Lt(e);if(!r)return we("'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly");r.isTracing===Xn.NONE&&console.log("[mobx.trace] '"+r.name+"' tracing enabled"),r.isTracing=n?Xn.BREAK:Xn.LOG}function Lt(e){switch(e.length){case 0:return Vn.trackingDerivation;case 1:return qe(e[0]);case 2:return qe(e[0],e[1])}}function kt(e){me(this&&this.$mobx&&rr(this.$mobx),"Invalid `this`"),me(!this.$mobx.errorHandler,"Only one onErrorHandler can be registered"),this.$mobx.errorHandler=e}function At(e){return Vn.globalReactionErrorHandlers.push(e),function(){var t=Vn.globalReactionErrorHandlers.indexOf(e);0>t||Vn.globalReactionErrorHandlers.splice(t,1)}}function St(){Vn.inBatch>0||Vn.isRunningReactions||nr(Ut)}function Ut(){Vn.isRunningReactions=!0;for(var e=Vn.pendingReactions,t=0;e.length>0;){++t===tr&&(console.error("Reaction doesn't converge to a stable state after "+tr+" iterations. Probably there is a cycle in the reactive function: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,o=n.length;o>r;r++)n[r].runReaction()}Vn.isRunningReactions=!1}function Ct(e){var t=nr;nr=function(n){return e(function(){return t(n)})}}function Qt(e){return xe("asReference is deprecated, use observable.ref instead"),Cn.ref(e)}function _t(e){return xe("asStructure is deprecated. Use observable.struct, computed.struct or reaction options instead."),Cn.struct(e)}function Yt(e){return xe("asFlat is deprecated, use observable.shallow instead"),Cn.shallow(e)}function Pt(e){return xe("asMap is deprecated, use observable.map or observable.shallowMap instead"),Cn.map(e||{})}function Bt(e){return L(function(t,n,r,o,i){me(void 0!==i,T("m009")),me("function"==typeof i.get,T("m010")),ee(q(t,""),n,i.get,i.set,e,!1)},function(e){var t=this.$mobx.values[e];if(void 0!==t)return t.get()},function(e,t){this.$mobx.values[e].set(t)},!1,!1)}function Rt(e,t){if(null===e||void 0===e)return!1;if(void 0!==t){if(!1===ae(e))return!1;if(!e.$mobx.values[t])return!1;var n=qe(e,t);return wn(n)}return wn(e)}function Gt(e,t,n,r){return"function"==typeof n?Zt(e,t,n,r):Ht(e,t,n)}function Ht(e,t,n){return Xe(e).observe(t,n)}function Zt(e,t,n,r){return Xe(e,t).observe(n,r)}function Vt(e,t,n){return"function"==typeof n?Jt(e,t,n):Wt(e,t)}function Wt(e,t){return Xe(e).intercept(t)}function Jt(e,t,n){return Xe(e,t).intercept(n)}function Ft(e,t){return ht()||console.warn(T("m013")),ar(e,{context:t}).get()}function $t(e,t,n){function r(r){return t&&n.push([e,r]),r}if(void 0===t&&(t=!0),void 0===n&&(n=[]),se(e)){if(t&&null===n&&(n=[]),t&&null!==e&&"object"===(void 0===e?"undefined":en(e)))for(var o=0,i=n.length;i>o;o++)if(n[o][0]===e)return n[o][1];if(j(e)){var a=r([]),s=e.map(function(e){return $t(e,t,n)});a.length=s.length;for(var o=0,i=s.length;i>o;o++)a[o]=s[o];return a}if(ae(e)){var a=r({});for(var u in e)a[u]=$t(e[u],t,n);return a}if(Yn(e)){var c=r({});return e.forEach(function(e,r){return c[r]=$t(e,t,n)}),c}if(gn(e))return $t(e.get(),t,n)}return e}function qt(e,t){me("function"==typeof e&&2>e.length,"createTransformer expects a function that accepts one argument");var r={},o=Vn.resetId,i=function(o){function i(t,n){var r=o.call(this,function(){return e(n)},void 0,bn.default,"Transformer-"+e.name+"-"+t,void 0)||this;return r.sourceIdentifier=t,r.sourceObject=n,r}return n(i,o),i.prototype.onBecomeUnobserved=function(){var e=this.value;o.prototype.onBecomeUnobserved.call(this),delete r[this.sourceIdentifier],t&&t(e,this.sourceObject)},i}(vn);return function(e){o!==Vn.resetId&&(r={},o=Vn.resetId);var t=Xt(e),n=r[t];return n?n.get():(n=r[t]=new i(t,e),n.get())}}function Xt(e){if("string"==typeof e||"number"==typeof e)return e;if(null===e||"object"!==(void 0===e?"undefined":en(e)))throw Error("[mobx] transform expected some kind of object or primitive value, got: "+e);var t=e.$transformId;return void 0===t&&(t=ve(),Ue(e,"$transformId",t)),t}function Kt(e,t,n){var r;if(Yn(e)||j(e)||gn(e))r=Xe(e);else{if(!ae(e))return we("Expected observable map, object or array as first array");if("string"!=typeof t)return we("InterceptReads can only be used with a specific property, not with an object in general");r=Xe(e,t)}return void 0!==r.dehancer?we("An intercept reader was already established"):(r.dehancer="function"==typeof t?t:n,function(){r.dehancer=void 0})}Object.defineProperty(t,"__esModule",{value:!0});var en="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},tn=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])},nn=function(){function e(e){void 0===e&&(e="Atom@"+ve()),this.name=e,this.isPendingUnobservation=!0,this.observers=[],this.observersIndexes={},this.diffValue=0,this.lastAccessedBy=0,this.lowestObserverState=qn.NOT_TRACKING}return e.prototype.onBecomeUnobserved=function(){},e.prototype.reportObserved=function(){lt(this)},e.prototype.reportChanged=function(){ct(),pt(this),Mt()},e.prototype.toString=function(){return this.name},e}(),rn=function(e){function t(t,n,r){void 0===t&&(t="Atom@"+ve()),void 0===n&&(n=Rn),void 0===r&&(r=Rn);var o=e.call(this,t)||this;return o.name=t,o.onBecomeObservedHandler=n,o.onBecomeUnobservedHandler=r,o.isPendingUnobservation=!1,o.isBeingTracked=!1,o}return n(t,e),t.prototype.reportObserved=function(){return ct(),e.prototype.reportObserved.call(this),this.isBeingTracked||(this.isBeingTracked=!0,this.onBecomeObservedHandler()),Mt(),!!Vn.trackingDerivation},t.prototype.onBecomeUnobserved=function(){this.isBeingTracked=!1,this.onBecomeUnobservedHandler()},t}(nn),on=Ye("Atom",nn),an={spyReportEnd:!0},sn="__$$iterating",un=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),cn=0,Mn=function(){function e(){}return e}();!function(e,t){void 0!==Object.setPrototypeOf?Object.setPrototypeOf(e.prototype,t):void 0!==e.prototype.__proto__?e.prototype.__proto__=t:e.prototype=t}(Mn,Array.prototype),Object.isFrozen(Array)&&["constructor","push","shift","concat","pop","unshift","replace","find","findIndex","splice","reverse","sort"].forEach(function(e){Object.defineProperty(Mn.prototype,e,{configurable:!0,writable:!0,value:Array.prototype[e]})});var ln=function(){function e(e,t,n,r){this.array=n,this.owned=r,this.values=[],this.lastKnownLength=0,this.interceptors=null,this.changeListeners=null,this.atom=new nn(e||"ObservableArray@"+ve()),this.enhancer=function(n,r){return t(n,r,e+"[..]")}}return e.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},e.prototype.dehanceValues=function(e){return void 0!==this.dehancer?e.map(this.dehancer):e},e.prototype.intercept=function(e){return o(this,e)},e.prototype.observe=function(e,t){return void 0===t&&(t=!1),t&&e({object:this.array,type:"splice",index:0,added:this.values.slice(),addedCount:this.values.length,removed:[],removedCount:0}),s(this,e)},e.prototype.getArrayLength=function(){return this.atom.reportObserved(),this.values.length},e.prototype.setArrayLength=function(e){if("number"!=typeof e||0>e)throw Error("[mobx.array] Out of range: "+e);var t=this.values.length;if(e!==t)if(e>t){for(var n=Array(e-t),r=0;e-t>r;r++)n[r]=void 0;this.spliceWithArray(t,0,n)}else this.spliceWithArray(e,t-e)},e.prototype.updateArrayLength=function(e,t){if(e!==this.lastKnownLength)throw Error("[mobx] Modification exception: the internal structure of an observable array was changed. Did you use peek() to change it?");this.lastKnownLength+=t,t>0&&e+t+1>cn&&h(e+t+1)},e.prototype.spliceWithArray=function(e,t,n){var o=this;jt(this.atom);var a=this.values.length;if(void 0===e?e=0:e>a?e=a:0>e&&(e=Math.max(0,a+e)),t=1===arguments.length?a-e:void 0===t||null===t?0:Math.max(0,Math.min(t,a-e)),void 0===n&&(n=[]),r(this)){var s=i(this,{object:this.array,type:"splice",index:e,removedCount:t,added:n});if(!s)return Pn;t=s.removedCount,n=s.added}n=n.map(function(e){return o.enhancer(e,void 0)}),this.updateArrayLength(a,n.length-t);var u=this.spliceItemsIntoValues(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice(e,n,u),this.dehanceValues(u)},e.prototype.spliceItemsIntoValues=function(e,t,n){if(1e4>n.length)return(o=this.values).splice.apply(o,[e,t].concat(n));var r=this.values.slice(e,e+t);return this.values=this.values.slice(0,e).concat(n,this.values.slice(e+t)),r;var o},e.prototype.notifyArrayChildUpdate=function(e,t,n){var r=!this.owned&&c(),o=a(this),i=o||r?{object:this.array,type:"update",index:e,newValue:t,oldValue:n}:null;r&&l(i),this.atom.reportChanged(),o&&u(this,i),r&&p()},e.prototype.notifyArraySplice=function(e,t,n){var r=!this.owned&&c(),o=a(this),i=o||r?{object:this.array,type:"splice",index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;r&&l(i),this.atom.reportChanged(),o&&u(this,i),r&&p()},e}(),pn=function(e){function t(t,n,r,o){void 0===r&&(r="ObservableArray@"+ve()),void 0===o&&(o=!1);var i=e.call(this)||this,a=new ln(r,n,i,o);return Ce(i,"$mobx",a),t&&t.length&&i.spliceWithArray(0,0,t),un&&Object.defineProperty(a.array,"0",fn),i}return n(t,e),t.prototype.intercept=function(e){return this.$mobx.intercept(e)},t.prototype.observe=function(e,t){return void 0===t&&(t=!1),this.$mobx.observe(e,t)},t.prototype.clear=function(){return this.splice(0)},t.prototype.concat=function(){for(var e=[],t=0;arguments.length>t;t++)e[t]=arguments[t];return this.$mobx.atom.reportObserved(),Array.prototype.concat.apply(this.peek(),e.map(function(e){return j(e)?e.peek():e}))},t.prototype.replace=function(e){return this.$mobx.spliceWithArray(0,this.$mobx.values.length,e)},t.prototype.toJS=function(){return this.slice()},t.prototype.toJSON=function(){return this.toJS()},t.prototype.peek=function(){return this.$mobx.atom.reportObserved(),this.$mobx.dehanceValues(this.$mobx.values)},t.prototype.find=function(e,t,n){void 0===n&&(n=0);var r=this.findIndex.apply(this,arguments);return-1===r?void 0:this.get(r)},t.prototype.findIndex=function(e,t,n){void 0===n&&(n=0);for(var r=this.peek(),o=r.length,i=n;o>i;i++)if(e.call(t,r[i],i,this))return i;return-1},t.prototype.splice=function(e,t){for(var n=[],r=2;arguments.length>r;r++)n[r-2]=arguments[r];switch(arguments.length){case 0:return[];case 1:return this.$mobx.spliceWithArray(e);case 2:return this.$mobx.spliceWithArray(e,t)}return this.$mobx.spliceWithArray(e,t,n)},t.prototype.spliceWithArray=function(e,t,n){return this.$mobx.spliceWithArray(e,t,n)},t.prototype.push=function(){for(var e=[],t=0;arguments.length>t;t++)e[t]=arguments[t];var n=this.$mobx;return n.spliceWithArray(n.values.length,0,e),n.values.length},t.prototype.pop=function(){return this.splice(Math.max(this.$mobx.values.length-1,0),1)[0]},t.prototype.shift=function(){return this.splice(0,1)[0]},t.prototype.unshift=function(){for(var e=[],t=0;arguments.length>t;t++)e[t]=arguments[t];var n=this.$mobx;return n.spliceWithArray(0,0,e),n.values.length},t.prototype.reverse=function(){var e=this.slice();return e.reverse.apply(e,arguments)},t.prototype.sort=function(){var e=this.slice();return e.sort.apply(e,arguments)},t.prototype.remove=function(e){var t=this.$mobx.dehanceValues(this.$mobx.values).indexOf(e);return t>-1&&(this.splice(t,1),!0)},t.prototype.move=function(e,t){function n(e){if(0>e)throw Error("[mobx.array] Index out of bounds: "+e+" is negative");var t=this.$mobx.values.length;if(e>=t)throw Error("[mobx.array] Index out of bounds: "+e+" is not smaller than "+t)}if(n.call(this,e),n.call(this,t),e!==t){var r,o=this.$mobx.values;r=t>e?o.slice(0,e).concat(o.slice(e+1,t+1),[o[e]],o.slice(t+1)):o.slice(0,t).concat([o[e]],o.slice(t,e),o.slice(e+1)),this.replace(r)}},t.prototype.get=function(e){var t=this.$mobx;if(t){if(t.values.length>e)return t.atom.reportObserved(),t.dehanceValue(t.values[e]);console.warn("[mobx.array] Attempt to read an array index ("+e+") that is out of bounds ("+t.values.length+"). Please check length first. Out of bound indices will not be tracked by MobX")}},t.prototype.set=function(e,t){var n=this.$mobx,o=n.values;if(o.length>e){jt(n.atom);var a=o[e];if(r(n)){var s=i(n,{type:"update",object:this,index:e,newValue:t});if(!s)return;t=s.newValue}t=n.enhancer(t,a);t!==a&&(o[e]=t,n.notifyArrayChildUpdate(e,t,a))}else{if(e!==o.length)throw Error("[mobx.array] Index out of bounds, "+e+" is larger than "+o.length);n.spliceWithArray(e,0,[t])}},t}(Mn);N(pn.prototype,function(){return d(this.slice())}),Object.defineProperty(pn.prototype,"length",{enumerable:!1,configurable:!0,get:function(){return this.$mobx.getArrayLength()},set:function(e){this.$mobx.setArrayLength(e)}}),["every","filter","forEach","indexOf","join","lastIndexOf","map","reduce","reduceRight","slice","some","toString","toLocaleString"].forEach(function(e){var t=Array.prototype[e];me("function"==typeof t,"Base function not defined on Array prototype: '"+e+"'"),Ue(pn.prototype,e,function(){return t.apply(this.peek(),arguments)})}),function(e,t){for(var n=0;t.length>n;n++)Ue(e,t[n],e[t[n]])}(pn.prototype,["constructor","intercept","observe","clear","concat","get","replace","toJS","toJSON","peek","find","findIndex","splice","spliceWithArray","push","pop","set","shift","unshift","reverse","sort","remove","move","toString","toLocaleString"]);var fn=g(0);h(1e3);var yn=Ye("ObservableArrayAdministration",ln),dn={},Nn=function(e){function t(t,n,r,o){void 0===r&&(r="ObservableValue@"+ve()),void 0===o&&(o=!0);var i=e.call(this,r)||this;return i.enhancer=n,i.hasUnreportedChange=!1,i.dehancer=void 0,i.value=n(t,void 0,r),o&&c()&&M({type:"create",object:i,newValue:i.value}),i}return n(t,e),t.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.prototype.set=function(e){var t=this.value;if((e=this.prepareNewValue(e))!==dn){var n=c();n&&l({type:"update",object:this,newValue:e,oldValue:t}),this.setNewValue(e),n&&p()}},t.prototype.prepareNewValue=function(e){if(jt(this),r(this)){var t=i(this,{object:this,type:"update",newValue:e});if(!t)return dn;e=t.newValue}return e=this.enhancer(e,this.value,this.name),this.value!==e?e:dn},t.prototype.setNewValue=function(e){var t=this.value;this.value=e,this.reportChanged(),a(this)&&u(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 o(this,e)},t.prototype.observe=function(e,t){return t&&e({object:this,type:"update",newValue:this.value,oldValue:void 0}),s(this,e)},t.prototype.toJSON=function(){return this.get()},t.prototype.toString=function(){return this.name+"["+this.value+"]"},t.prototype.valueOf=function(){return Ve(this.get())},t}(nn);Nn.prototype[Ze()]=Nn.prototype.valueOf;var gn=Ye("ObservableValue",Nn),Dn={m001:"It is not allowed to assign new values to @action fields",m002:"`runInAction` expects a function",m003:"`runInAction` expects a function without arguments",m004:"autorun expects a function",m005:"Warning: attempted to pass an action to autorun. Actions are untracked and will not trigger on state changes. Use `reaction` or wrap only your state modification code in an action.",m006:"Warning: attempted to pass an action to autorunAsync. Actions are untracked and will not trigger on state changes. Use `reaction` or wrap only your state modification code in an action.",m007:"reaction only accepts 2 or 3 arguments. If migrating from MobX 2, please provide an options object",m008:"wrapping reaction expression in `asReference` is no longer supported, use options object instead",m009:"@computed can only be used on getter functions, like: '@computed get myProps() { return ...; }'. It looks like it was used on a property.",m010:"@computed can only be used on getter functions, like: '@computed get myProps() { return ...; }'",m011:"First argument to `computed` should be an expression. If using computed as decorator, don't pass it arguments",m012:"computed takes one or two arguments if used as function",m013:"[mobx.expr] 'expr' should only be used inside other reactive functions.",m014:"extendObservable expected 2 or more arguments",m015:"extendObservable expects an object as first argument",m016:"extendObservable should not be used on maps, use map.merge instead",m017:"all arguments of extendObservable should be objects",m018:"extending an object with another observable (object) is not supported. Please construct an explicit propertymap, using `toJS` if need. See issue #540",m019:"[mobx.isObservable] isObservable(object, propertyName) is not supported for arrays and maps. Use map.has or array.length instead.",m020:"modifiers can only be used for individual object properties",m021:"observable expects zero or one arguments",m022:"@observable can not be used on getters, use @computed instead",m024:"whyRun() can only be used if a derivation is active, or by passing an computed value / reaction explicitly. If you invoked whyRun from inside a computation; the computation is currently suspended but re-evaluating because somebody requested its value.",m025:"whyRun can only be used on reactions and computed values",m026:"`action` can only be invoked on functions",m028:"It is not allowed to set `useStrict` when a derivation is running",m029:"INTERNAL ERROR only onBecomeUnobserved shouldn't be called twice in a row",m030a:"Since strict-mode is enabled, changing observed observable values outside actions is not allowed. Please wrap the code in an `action` if this change is intended. Tried to modify: ",m030b:"Side effects like changing state are not allowed at this point. Are you trying to modify state from, for example, the render function of a React component? Tried to modify: ",m031:"Computed values are not allowed to cause side effects by changing observables that are already being observed. Tried to modify: ",m032:"* This computation is suspended (not in use by any reaction) and won't run automatically.\n\tDidn't expect this computation to be suspended at this point?\n\t 1. Make sure this computation is used by a reaction (reaction, autorun, observer).\n\t 2. Check whether you are using this computation synchronously (in the same stack as they reaction that needs it).",m033:"`observe` doesn't support the fire immediately property for observable maps.",m034:"`mobx.map` is deprecated, use `new ObservableMap` or `mobx.observable.map` instead",m035:"Cannot make the designated object observable; it is not extensible",m036:"It is not possible to get index atoms from arrays",m037:'Hi there! I\'m sorry you have just run into an exception.\nIf your debugger ends up here, know that some reaction (like the render() of an observer component, autorun or reaction)\nthrew an exception and that mobx caught it, to avoid that it brings the rest of your application down.\nThe original cause of the exception (the code that caused this reaction to run (again)), is still in the stack.\n\nHowever, more interesting is the actual stack trace of the error itself.\nHopefully the error is an instanceof Error, because in that case you can inspect the original stack of the error from where it was thrown.\nSee `error.stack` property, or press the very subtle "(...)" link you see near the console.error message that probably brought you here.\nThat stack is more interesting than the stack of this console.error itself.\n\nIf the exception you see is an exception you created yourself, make sure to use `throw new Error("Oops")` instead of `throw "Oops"`,\nbecause the javascript environment will only preserve the original stack trace in the first form.\n\nYou can also make sure the debugger pauses the next time this very same exception is thrown by enabling "Pause on caught exception".\n(Note that it might pause on many other, unrelated exception as well).\n\nIf that all doesn\'t help you out, feel free to open an issue https://github.com/mobxjs/mobx/issues!\n',m038:"Missing items in this list?\n 1. Check whether all used values are properly marked as observable (use isObservable to verify)\n 2. Make sure you didn't dereference values too early. MobX observes props, not primitives. E.g: use 'person.name' instead of 'name' in your computation.\n"},hn=L(function(e,t,n,r){Ue(e,t,Tn(r&&1===r.length?r[0]:n.name||t||"",n))},function(e){return this[e]},function(){me(!1,T("m001"))},!1,!0),jn=L(function(e,t,n){_(e,t,n)},function(e){return this[e]},function(){me(!1,T("m001"))},!1,!1),Tn=function(e,t){return 1===arguments.length&&"function"==typeof e?z(e.name||"",e):2===arguments.length&&"function"==typeof t?z(e,t):1===arguments.length&&"string"==typeof e?U(e):U(t).apply(null,arguments)};Tn.bound=function(e){if("function"==typeof e){var t=z("",e);return t.autoBind=!0,t}return jn.apply(null,arguments)};var zn=Object.prototype.toString,bn={identity:H,structural:Z,default:V},vn=function(){function e(e,t,n,r,o){this.derivation=e,this.scope=t,this.equals=n,this.dependenciesState=qn.NOT_TRACKING,this.observing=[],this.newObserving=null,this.isPendingUnobservation=!1,this.observers=[],this.observersIndexes={},this.diffValue=0,this.runId=0,this.lastAccessedBy=0,this.lowestObserverState=qn.UP_TO_DATE,this.unboundDepsCount=0,this.__mapid="#"+ve(),this.value=new Kn(null),this.isComputing=!1,this.isRunningSetter=!1,this.isTracing=Xn.NONE,this.name=r||"ComputedValue@"+ve(),o&&(this.setter=z(r+"-setter",o))}return e.prototype.onBecomeStale=function(){yt(this)},e.prototype.onBecomeUnobserved=function(){bt(this),this.value=void 0},e.prototype.get=function(){me(!this.isComputing,"Cycle detected in computation "+this.name,this.derivation),0===Vn.inBatch?(ct(),Dt(this)&&(this.isTracing!==Xn.NONE&&console.log("[mobx.trace] '"+this.name+"' is being read outside a reactive context and doing a full recompute"),this.value=this.computeValue(!1)),Mt()):(lt(this),Dt(this)&&this.trackAndCompute()&&ft(this));var e=this.value;if(gt(e))throw e.cause;return e},e.prototype.peek=function(){var e=this.computeValue(!1);if(gt(e))throw e.cause;return e},e.prototype.set=function(e){if(this.setter){me(!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 me(!1,"[ComputedValue '"+this.name+"'] It is not possible to assign a new value to a computed value.")},e.prototype.trackAndCompute=function(){c()&&M({object:this.scope,type:"compute",fn:this.derivation});var e=this.value,t=this.dependenciesState===qn.NOT_TRACKING,n=this.value=this.computeValue(!0);return t||gt(e)||gt(n)||!this.equals(e,n)},e.prototype.computeValue=function(e){this.isComputing=!0,Vn.computationDepth++;var t;if(e)t=Tt(this,this.derivation,this.scope);else try{t=this.derivation.call(this.scope)}catch(e){t=new Kn(e)}return Vn.computationDepth--,this.isComputing=!1,t},e.prototype.observe=function(e,t){var n=this,r=!0,o=void 0;return W(function(){var i=n.get();if(!r||t){var a=wt();e({type:"update",object:n,newValue:i,oldValue:o}),mt(a)}r=!1,o=i})},e.prototype.toJSON=function(){return this.get()},e.prototype.toString=function(){return this.name+"["+this.derivation+"]"},e.prototype.valueOf=function(){return Ve(this.get())},e.prototype.whyRun=function(){var e=!!Vn.trackingDerivation,t=Ie(this.isComputing?this.newObserving:this.observing).map(function(e){return e.name}),n=Ie(it(this).map(function(e){return e.name}));return"\nWhyRun? computation '"+this.name+"':\n * Running because: "+(e?"[active] the value of this computation is needed by a reaction":this.isComputing?"[get] The value of this computed was requested outside a reaction":"[idle] not running at the moment")+"\n"+(this.dependenciesState===qn.NOT_TRACKING?T("m032"):" * This computation will re-run if any of the following observables changes:\n "+Ee(t)+"\n "+(this.isComputing&&e?" (... or any observable accessed during the remainder of the current run)":"")+"\n "+T("m038")+"\n\n * If the outcome of this computation changes, the following observers will be re-run:\n "+Ee(n)+"\n")},e}();vn.prototype[Ze()]=vn.prototype.valueOf;var wn=Ye("ComputedValue",vn),mn=function(){function e(e,t){this.target=e,this.name=t,this.values={},this.changeListeners=null,this.interceptors=null}return e.prototype.observe=function(e,t){return me(!0!==t,"`observe` doesn't support the fire immediately property for observable objects."),s(this,e)},e.prototype.intercept=function(e){return o(this,e)},e}(),xn={},On={},In=Ye("ObservableObjectAdministration",mn),En=ue(Ne),Ln=ue(ge),kn=ue(De),An=ue(he),Sn=ue(je),Un={box:function(e,t){return arguments.length>2&&fe("box"),new Nn(e,Ne,t)},shallowBox:function(e,t){return arguments.length>2&&fe("shallowBox"),new Nn(e,De,t)},array:function(e,t){return arguments.length>2&&fe("array"),new pn(e,Ne,t)},shallowArray:function(e,t){return arguments.length>2&&fe("shallowArray"),new pn(e,De,t)},map:function(e,t){return arguments.length>2&&fe("map"),new _n(e,Ne,t)},shallowMap:function(e,t){return arguments.length>2&&fe("shallowMap"),new _n(e,De,t)},object:function(e,t){arguments.length>2&&fe("object");var n={};return q(n,t),ce(n,e),n},shallowObject:function(e,t){arguments.length>2&&fe("shallowObject");var n={};return q(n,t),Me(n,e),n},ref:function(){return 2>arguments.length?de(De,arguments[0]):kn.apply(null,arguments)},shallow:function(){return 2>arguments.length?de(ge,arguments[0]):Ln.apply(null,arguments)},deep:function(){return 2>arguments.length?de(Ne,arguments[0]):En.apply(null,arguments)},struct:function(){return 2>arguments.length?de(he,arguments[0]):An.apply(null,arguments)}},Cn=pe;Object.keys(Un).forEach(function(e){return Cn[e]=Un[e]}),Cn.deep.struct=Cn.struct,Cn.ref.struct=function(){return 2>arguments.length?de(je,arguments[0]):Sn.apply(null,arguments)};var Qn={},_n=function(){function e(e,t,n){void 0===t&&(t=Ne),void 0===n&&(n="ObservableMap@"+ve()),this.enhancer=t,this.name=n,this.$mobx=Qn,this._data=Object.create(null),this._hasMap=Object.create(null),this._keys=new pn(void 0,De,this.name+".keys()",!0),this.interceptors=null,this.changeListeners=null,this.dehancer=void 0,this.merge(e)}return e.prototype._has=function(e){return void 0!==this._data[e]},e.prototype.has=function(e){return!!this.isValidKey(e)&&(e=""+e,this._hasMap[e]?this._hasMap[e].get():this._updateHasMapEntry(e,!1).get())},e.prototype.set=function(e,t){this.assertValidKey(e),e=""+e;var n=this._has(e);if(r(this)){var o=i(this,{type:n?"update":"add",object:this,newValue:t,name:e});if(!o)return this;t=o.newValue}return n?this._updateValue(e,t):this._addValue(e,t),this},e.prototype.delete=function(e){var t=this;if(this.assertValidKey(e),e=""+e,r(this)){var n=i(this,{type:"delete",object:this,name:e});if(!n)return!1}if(this._has(e)){var o=c(),s=a(this),n=s||o?{type:"delete",object:this,oldValue:this._data[e].value,name:e}:null;return o&&l(n),Te(function(){t._keys.remove(e),t._updateHasMapEntry(e,!1),t._data[e].setNewValue(void 0),t._data[e]=void 0}),s&&u(this,n),o&&p(),!0}return!1},e.prototype._updateHasMapEntry=function(e,t){var n=this._hasMap[e];return n?n.setNewValue(t):n=this._hasMap[e]=new Nn(t,De,this.name+"."+e+"?",!1),n},e.prototype._updateValue=function(e,t){var n=this._data[e];if((t=n.prepareNewValue(t))!==dn){var r=c(),o=a(this),i=o||r?{type:"update",object:this,oldValue:n.value,name:e,newValue:t}:null;r&&l(i),n.setNewValue(t),o&&u(this,i),r&&p()}},e.prototype._addValue=function(e,t){var n=this;Te(function(){var r=n._data[e]=new Nn(t,n.enhancer,n.name+"."+e,!1);t=r.value,n._updateHasMapEntry(e,!0),n._keys.push(e)});var r=c(),o=a(this),i=o||r?{type:"add",object:this,name:e,newValue:t}:null;r&&l(i),o&&u(this,i),r&&p()},e.prototype.get=function(e){return e=""+e,this.dehanceValue(this.has(e)?this._data[e].get():void 0)},e.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},e.prototype.keys=function(){return d(this._keys.slice())},e.prototype.values=function(){return d(this._keys.map(this.get,this))},e.prototype.entries=function(){var e=this;return d(this._keys.map(function(t){return[t,e.get(t)]}))},e.prototype.forEach=function(e,t){var n=this;this.keys().forEach(function(r){return e.call(t,n.get(r),r,n)})},e.prototype.merge=function(e){var t=this;return Yn(e)&&(e=e.toJS()),Te(function(){ke(e)?Object.keys(e).forEach(function(n){return t.set(n,e[n])}):Array.isArray(e)?e.forEach(function(e){return t.set(e[0],e[1])}):Re(e)?e.forEach(function(e,n){return t.set(n,e)}):null!==e&&void 0!==e&&we("Cannot initialize map from "+e)}),this},e.prototype.clear=function(){var e=this;Te(function(){vt(function(){e.keys().forEach(e.delete,e)})})},e.prototype.replace=function(e){var t=this;return Te(function(){var n=Ge(e);t.keys().filter(function(e){return-1===n.indexOf(e)}).forEach(function(e){return t.delete(e)}),t.merge(e)}),this},Object.defineProperty(e.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),e.prototype.toJS=function(){var e=this,t={};return this.keys().forEach(function(n){return t[n]=e.get(n)}),t},e.prototype.toJSON=function(){return this.toJS()},e.prototype.isValidKey=function(e){return null!==e&&void 0!==e&&("string"==typeof e||"number"==typeof e||"boolean"==typeof e)},e.prototype.assertValidKey=function(e){if(!this.isValidKey(e))throw Error("[mobx.map] Invalid key: '"+e+"', only strings, numbers and booleans are accepted as key in observable maps.")},e.prototype.toString=function(){var e=this;return this.name+"[{ "+this.keys().map(function(t){return t+": "+e.get(t)}).join(", ")+" }]"},e.prototype.observe=function(e,t){return me(!0!==t,T("m033")),s(this,e)},e.prototype.intercept=function(e){return o(this,e)},e}();N(_n.prototype,function(){return this.entries()});var Yn=Ye("ObservableMap",_n),Pn=[];Object.freeze(Pn);var Bn=[],Rn=function(){},Gn=Object.prototype.hasOwnProperty,Hn=["mobxGuid","resetId","spyListeners","strictMode","runId"],Zn=function(){function e(){this.version=5,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.strictMode=!1,this.resetId=0,this.spyListeners=[],this.globalReactionErrorHandlers=[]}return e}(),Vn=new Zn,Wn=!1,Jn=!1,Fn=!1,$n=be();$n.__mobxInstanceCount?($n.__mobxInstanceCount++,setTimeout(function(){Wn||Jn||Fn||(Fn=!0,console.warn("[mobx] Warning: there are multiple mobx instances active. This might lead to unexpected results. See https://github.com/mobxjs/mobx/issues/1082 for details."))},1)):$n.__mobxInstanceCount=1;var qn;!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"}(qn||(t.IDerivationState=qn={}));var Xn;!function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(Xn||(Xn={}));var Kn=function(){function e(e){this.cause=e}return e}(),er=function(){function e(e,t){void 0===e&&(e="Reaction@"+ve()),this.name=e,this.onInvalidate=t,this.observing=[],this.newObserving=[],this.dependenciesState=qn.NOT_TRACKING,this.diffValue=0,this.runId=0,this.unboundDepsCount=0,this.__mapid="#"+ve(),this.isDisposed=!1,this._isScheduled=!1,this._isTrackPending=!1,this._isRunning=!1,this.isTracing=Xn.NONE}return e.prototype.onBecomeStale=function(){this.schedule()},e.prototype.schedule=function(){this._isScheduled||(this._isScheduled=!0,Vn.pendingReactions.push(this),St())},e.prototype.isScheduled=function(){return this._isScheduled},e.prototype.runReaction=function(){this.isDisposed||(ct(),this._isScheduled=!1,Dt(this)&&(this._isTrackPending=!0,this.onInvalidate(),this._isTrackPending&&c()&&M({object:this,type:"scheduled-reaction"})),Mt())},e.prototype.track=function(e){ct();var t,n=c();n&&(t=Date.now(),l({object:this,type:"reaction",fn:e})),this._isRunning=!0;var r=Tt(this,e,void 0);this._isRunning=!1,this._isTrackPending=!1,this.isDisposed&&bt(this),gt(r)&&this.reportExceptionInDerivation(r.cause),n&&p({time:Date.now()-t}),Mt()},e.prototype.reportExceptionInDerivation=function(e){var t=this;if(this.errorHandler)return void this.errorHandler(e,this);var n="[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '"+this,r=T("m037");console.error(n||r,e),c()&&M({type:"error",message:n,error:e,object:this}),Vn.globalReactionErrorHandlers.forEach(function(n){return n(e,t)})},e.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this._isRunning||(ct(),bt(this),Mt()))},e.prototype.getDisposer=function(){var e=this.dispose.bind(this);return e.$mobx=this,e.onError=kt,e},e.prototype.toString=function(){return"Reaction["+this.name+"]"},e.prototype.whyRun=function(){var e=Ie(this._isRunning?this.newObserving:this.observing).map(function(e){return e.name});return"\nWhyRun? reaction '"+this.name+"':\n * Status: ["+(this.isDisposed?"stopped":this._isRunning?"running":this.isScheduled()?"scheduled":"idle")+"]\n * This reaction will re-run if any of the following observables changes:\n "+Ee(e)+"\n "+(this._isRunning?" (... or any observable accessed during the remainder of the current run)":"")+"\n\t"+T("m038")+"\n"},e.prototype.trace=function(e){void 0===e&&(e=!1),Et(this,e)},e}(),tr=100,nr=function(e){return e()},rr=Ye("Reaction",er),or=Bt(bn.default),ir=Bt(bn.structural),ar=function(e,t){if("string"==typeof t)return or.apply(null,arguments);me("function"==typeof e,T("m011")),me(3>arguments.length,T("m012"));var n="object"===(void 0===t?"undefined":en(t))?t:{};return n.setter="function"==typeof t?t:n.setter,new vn(e,n.context,n.equals?n.equals:n.compareStructural||n.struct?bn.structural:bn.default,n.name||e.name||"",n.setter)};ar.struct=ir,ar.equals=Bt;var sr={allowStateChanges:O,deepEqual:Y,getAtom:qe,getDebugName:Ke,getDependencyTree:et,getAdministration:Xe,getGlobalState:Fe,getObserverTree:nt,interceptReads:Kt,isComputingDerivation:ht,isSpyEnabled:c,onReactionError:At,reserveArrayBuffer:h,resetGlobalState:$e,isolateGlobalState:We,shareGlobalState:Je,spyReport:M,spyReportEnd:p,spyReportStart:l,setReactionScheduler:Ct},ur={Reaction:er,untracked:vt,Atom:rn,BaseAtom:nn,useStrict:m,isStrictModeEnabled:x,spy:f,comparer:bn,asReference:Qt,asFlat:Yt,asStructure:_t,asMap:Pt,isModifierDescriptor:ye,isObservableObject:ae,isBoxedObservable:gn,isObservableArray:j,ObservableMap:_n,isObservableMap:Yn,map:ze,transaction:Te,observable:Cn,computed:ar,isObservable:se,isComputed:Rt,extendObservable:ce,extendShallowObservable:Me,observe:Gt,intercept:Vt,autorun:W,autorunAsync:F,when:J,reaction:$,action:Tn,isAction:Q,runInAction:C,expr:Ft,toJS:$t,createTransformer:qt,whyRun:It,isArrayLike:Be,extras:sr},cr=!1;for(var Mr in ur)!function(e){var t=ur[e];Object.defineProperty(ur,e,{get:function(){return cr||(cr=!0,console.warn("Using default export (`import mobx from 'mobx'`) is deprecated and won’t work in mobx@4.0.0\nUse `import * as mobx from 'mobx'` instead")),t}})}(Mr);"object"===("undefined"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__?"undefined":en(__MOBX_DEVTOOLS_GLOBAL_HOOK__))&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:f,extras:sr}),t.extras=sr,t.Reaction=er,t.untracked=vt,t.IDerivationState=qn,t.Atom=rn,t.BaseAtom=nn,t.useStrict=m,t.isStrictModeEnabled=x,t.spy=f,t.comparer=bn,t.asReference=Qt,t.asFlat=Yt,t.asStructure=_t,t.asMap=Pt,t.isModifierDescriptor=ye,t.isObservableObject=ae,t.isBoxedObservable=gn,t.isObservableArray=j,t.ObservableMap=_n,t.isObservableMap=Yn,t.map=ze,t.transaction=Te,t.observable=Cn,t.computed=ar,t.isObservable=se,t.isComputed=Rt,t.extendObservable=ce,t.extendShallowObservable=Me,t.observe=Gt,t.intercept=Vt,t.autorun=W,t.autorunAsync=F,t.when=J,t.reaction=$,t.action=Tn,t.isAction=Q,t.runInAction=C,t.expr=Ft,t.toJS=$t,t.createTransformer=qt,t.whyRun=It,t.trace=Et,t.isArrayLike=Be,t.default=ur}).call(t,n(10))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Provider=t.inject=t.connect=t.useStaticRendering=t.Observer=t.observer=void 0;var r=n(3);Object.defineProperty(t,"observer",{enumerable:!0,get:function(){return r.observer}}),Object.defineProperty(t,"Observer",{enumerable:!0,get:function(){return r.Observer}}),Object.defineProperty(t,"useStaticRendering",{enumerable:!0,get:function(){return r.useStaticRendering}});var o=n(11);Object.defineProperty(t,"connect",{enumerable:!0,get:function(){return o.connect}});var i=n(5);Object.defineProperty(t,"inject",{enumerable:!0,get:function(){return i.inject}});var a=n(13);Object.defineProperty(t,"Provider",{enumerable:!0,get:function(){return a.Provider}});var s=n(1);if(!n(0).Component)throw Error("mobx-preact requires Preact to be available");if(!s.extras)throw Error("mobx-preact requires mobx to be available")},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":y(t))&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":y(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e){j=e}function s(e){var t=g.extras.getGlobalState().allowStateChanges;return g.extras.getGlobalState().allowStateChanges=e,t}function u(e){g.extras.getGlobalState().allowStateChanges=e}function c(e,t,n,r,o){var i=s(e),a=void 0;try{a=t(n,r,o)}finally{u(i)}return a}function M(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e[t],o=z[t];e[t]=r?!0===n?function(){o.apply(this,arguments),r.apply(this,arguments)}:function(){r.apply(this,arguments),o.apply(this,arguments)}:o}function l(e,t){if(null==e||null==t||"object"!==(void 0===e?"undefined":N(e))||"object"!==(void 0===t?"undefined":N(t)))return e!==t;var n=Object.keys(e);if(n.length!==Object.keys(t).length)return!0;for(var r=void 0,o=n.length-1;r=n[o];o--)if(t[r]!==e[r])return!0;return!1}function p(e){if(arguments.length>1&&T.warn('Mobx observer: Using observer to inject stores is not supported. Use `@connect(["store1", "store2"]) ComponentClass instead or preferably, use `@inject("store1", "store2") @observer ComponentClass` or `inject("store1", "store2")(observer(componentClass))``'),!0===e.isMobxInjector&&T.warn("Mobx observer: You are trying to use 'observer' on a component that already has 'inject'. Please apply 'observer' before applying 'inject'"),(0,h.isStateless)(e)){var t,n;return p((n=t=function(t){function n(){return r(this,n),o(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return i(n,t),d(n,[{key:"render",value:function(){return e.call(this,this.props,this.context)}}]),n}(D.Component),t.displayName=(0,h.makeDisplayName)(e),n))}if(!e)throw Error("Please pass a valid component to 'observer'");return f(e.prototype||e),e.isMobXReactObserver=!0,e}function f(e){M(e,"componentWillMount",!0),M(e,"componentDidMount"),e.shouldComponentUpdate||(e.shouldComponentUpdate=z.shouldComponentUpdate)}var y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0}),t.Observer=void 0;var d=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),N="function"==typeof Symbol&&"symbol"===y(Symbol.iterator)?function(e){return void 0===e?"undefined":y(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":y(e)};t.useStaticRendering=a,t.observer=p;var g=n(1),D=n(0),h=n(4),j=!1,T=console,z={componentWillMount:function(){function e(e){var t=this[e],n=new g.Atom("reactive "+e);Object.defineProperty(this,e,{configurable:!0,enumerable:!0,get:function(){return n.reportObserved(),t},set:function(e){!o&&l(t,e)?(t=e,r=!0,n.reportChanged(),r=!1):t=e}})}var t=this;if(!0!==j){var n=(0,h.makeDisplayName)(this),r=!1,o=!1;e.call(this,"props"),e.call(this,"state");var i=this.render.bind(this),a=null,s=!1,u=function(){return a=new g.Reaction(n+".render()",function(){if(!s&&(s=!0,"function"==typeof t.componentWillReact&&t.componentWillReact(),!0!==t.__$mobxIsUnmounted)){var e=!0;try{o=!0,r||D.Component.prototype.forceUpdate.call(t),e=!1}finally{o=!1,e&&a.dispose()}}}),a.reactComponent=t,M.$mobx=a,t.render=M,M(t.props,t.state,t.context)},M=function(e,t,n){s=!1;var r=void 0,o=void 0;if(a.track(function(){try{o=c(!1,i,e,t,n)}catch(e){r=e}}),r)throw r;return o};this.render=u}},componentWillUnmount:function(){!0!==j&&(this.render.$mobx&&this.render.$mobx.dispose(),this.__$mobxIsUnmounted=!0)},componentDidMount:function(){},componentDidUpdate:function(){},shouldComponentUpdate:function(e,t){return j&&T.warn("[mobx-preact] 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||l(this.props,e)}};(t.Observer=p(function(e){return e.children[0]()})).displayName="Observer"},function(e,t,n){"use strict";function r(e){return!(e.prototype&&e.prototype.render||i.Component.isPrototypeOf(e))}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.prefix,r=void 0===n?"":n,o=t.suffix,i=void 0===o?"":o;return r+(e.displayName||e.name||e.constructor&&e.constructor.name||"")+i}Object.defineProperty(t,"__esModule",{value:!0}),t.isStateless=r,t.makeDisplayName=o;var i=n(0)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":c(t))&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":c(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e,t,n){var a,s,u=n?"-with-"+n:"",c=(0,d.makeDisplayName)(t,{prefix:"inject-",suffix:u}),p=(s=a=function(n){function a(){return r(this,a),o(this,(a.__proto__||Object.getPrototypeOf(a)).apply(this,arguments))}return i(a,n),M(a,[{key:"render",value:function(){var n={};for(var r in this.props)this.props.hasOwnProperty(r)&&(n[r]=this.props[r]);var o=e(this.context.mobxStores||{},n,this.context)||{};for(var i in o)n[i]=o[i];return(0,l.h)(t,n)}}]),a}(l.Component),a.displayName=c,s);return(0,f.default)(p,t),p.wrappedComponent=t,Object.defineProperties(p,N),p}function s(e){return function(t,n){return e.forEach(function(e){if(!(e in n)){if(!(e in t))throw Error("MobX injector: Store '"+e+"' is not available! Make sure it is provided by some Provider");n[e]=t[e]}}),n}}function u(){var e=void 0;if("function"==typeof arguments[0])return e=arguments[0],function(t){var n=a(e,t);return n.isMobxInjector=!1,n=(0,y.observer)(n),n.isMobxInjector=!0,n};for(var t=[],n=0;arguments.length>n;n++)t[n]=arguments[n];return e=s(t),function(n){return a(e,n,t.join("-"))}}var c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0});var M=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.inject=u;var l=n(0),p=n(12),f=function(e){return e&&e.__esModule?e:{default:e}}(p),y=n(3),d=n(4),N={isMobxInjector:{value:!0,writable:!0,configurable:!0,enumerable:!0}}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.JSONHTTPError=t.TextHTTPError=t.HTTPError=t.getPagination=void 0;var a=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(15);Object.defineProperty(t,"getPagination",{enumerable:!0,get:function(){return u.getPagination}});var c=t.HTTPError=function(e){function t(e){r(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e.statusText));return n.name=n.constructor.name,"function"==typeof Error.captureStackTrace?Error.captureStackTrace(n,n.constructor):n.stack=Error(e.statusText).stack,n.status=e.status,n}return i(t,e),t}(function(e){function t(){var t=Reflect.construct(e,Array.from(arguments));return Object.setPrototypeOf(t,Object.getPrototypeOf(this)),t}return t.prototype=Object.create(e.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e,t}(Error)),M=t.TextHTTPError=function(e){function t(e,n){r(this,t);var i=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.data=n,i}return i(t,e),t}(c),l=t.JSONHTTPError=function(e){function t(e,n){r(this,t);var i=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.json=n,i}return i(t,e),t}(c);t.default=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments[1];r(this,e),this.apiURL=t,this.apiURL.match(/\/[^\/]?/)&&(this._sameOrigin=!0),this.defaultHeaders=n&&n.defaultHeaders||{}}return s(e,[{key:"headers",value:function(){return a({},this.defaultHeaders,{"Content-Type":"application/json"},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}},{key:"parseJsonResponse",value:function(e){return e.json().then(function(t){if(!e.ok)return Promise.reject(new l(e,t));var n=(0,u.getPagination)(e);return n?{pagination:n,items:t}:t})}},{key:"request",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.headers(n.headers||{});return this._sameOrigin&&(n.credentials=n.credentials||"same-origin"),fetch(this.apiURL+e,a({},n,{headers:r})).then(function(e){var n=e.headers.get("Content-Type");return n&&n.match(/json/)?t.parseJsonResponse(e):e.ok?e.text().then(function(){}):e.text().then(function(t){return Promise.reject(new M(e,t))})})}}]),e}()},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(0);t.default=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),a(t,[{key:"render",value:function(){var e=this.props,t=e.saving,n=e.text,r=e.saving_text;return(0,s.h)("button",{type:"submit",className:"btn"+(t?" saving":"")},t?r||"Saving":n||"Save")}}]),t}(s.Component)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(0),u={confirm:{type:"success",text:"A confirmation message was sent to your email, click the link there to continue."},password_mail:{type:"success",text:"We've sent a recovery email to your account, follow the link there to reset your password."},email_changed:{type:"sucess",text:"Your email address has been updated!"},verfication_error:{type:"error",text:"There was an error verifying your account. Please try again or contact an administrator."},signup_disabled:{type:"error",text:"Public signups are disabled. Contact an administrator and ask for an invite."}};t.default=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),a(t,[{key:"render",value:function(){var e=this.props.type,t=u[e];return(0,s.h)("div",{className:"flashMessage "+t.type},(0,s.h)("span",null,t.text))}}]),t}(s.Component)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments;(b[e]||[]).forEach(function(e){e.apply(e,Array.prototype.slice.call(t,1))})}function i(e,t){var n="";for(var r in t)n+=r+": "+t[r]+"; ";e?e.setAttribute("style",n):m=n}function a(e){var t=x[document.location.host.split(":").shift()],n=t&&localStorage.getItem("netlifySiteURL");if(e)return new y.default({APIUrl:e,setCookie:!t});if(t&&n){var r=[n];return n.match(/\/$/)||r.push("/"),r.push(".netlify/identity"),D.default.setIsLocal(t),D.default.setSiteURL(n),new y.default({APIUrl:r.join(""),setCookie:!t})}return t?(D.default.setIsLocal(t),null):new y.default({setCookie:!t})}function s(){var e=(document.location.hash||"").replace(/^#\/?/,"");if(e){var t=e.match(L);t&&(D.default.verifyToken(t[1],t[2]),document.location.hash="");e.match(k)&&(D.default.openModal("signup"),document.location.hash="");if(e.match(A)){var n={};e.split("&").forEach(function(e){var t=e.split("="),r=c(t,2);n[r[0]]=r[1]}),document&&n.access_token&&(document.cookie="nf_jwt="+n.access_token),document.location.hash="",D.default.openModal("login"),D.default.completeExternalLogin(n)}}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.APIUrl,n=e.logo,r=void 0===n||n,o=e.namePlaceholder,u=document.querySelectorAll("[data-netlify-identity-menu],[data-netlify-identity-button]");Array.prototype.slice.call(u).forEach(function(e){var t=null===e.getAttribute("data-netlify-identity-menu")?"button":"menu";(0,M.render)((0,M.h)(p.Provider,{store:D.default},(0,M.h)(j.default,{mode:t,text:e.innerText.trim()})),e,null)}),D.default.init(a(t)),D.default.modal.logo=r,D.default.setNamePlaceholder(o),I=document.createElement("iframe"),I.id="netlify-identity-widget",I.onload=function(){var e=I.contentDocument.createElement("style");e.innerHTML=""+z.default,I.contentDocument.head.appendChild(e),O=(0,M.render)((0,M.h)(p.Provider,{store:D.default},(0,M.h)(N.default,null)),I.contentDocument.body,O),s()},i(I,E),I.src="about:blank",(e.container?document.querySelector(e.container):document.body).appendChild(I),m&&(I.setAttribute("style",m),m=null)}Object.defineProperty(t,"__esModule",{value:!0});var c=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),M=n(0),l=n(1),p=n(2),f=n(14),y=r(f),d=n(18),N=r(d),g=n(24),D=r(g),h=n(25),j=r(h),T=n(26),z=r(T),b={},v={login:!0,signup:!0,error:!0},w={on:function(e,t){b[e]=b[e]||[],b[e].push(t)},open:function(e){if(e=e||"login",!v[e])throw Error("Invalid action for open: "+e);D.default.openModal(D.default.user?"user":e)},close:function(){D.default.closeModal()},currentUser:function(){return D.default.gotrue&&D.default.gotrue.currentUser()},logout:function(){return D.default.logout()},get gotrue(){return D.default.gotrue||D.default.openModal("login"),D.default.gotrue},init:function(e){u(e)},store:D.default},m=null,x={localhost:!0,"127.0.0.1":!0,"0.0.0.0":!0,"identity.netlify.com":!0},O=void 0,I=void 0,E={position:"fixed",top:0,left:0,border:"none",width:"100%",height:"100%",overflow:"visible",background:"transparent",display:"none","z-index":99};(0,l.observe)(D.default.modal,"isOpen",function(){D.default.settings||D.default.loadSettings(),i(I,Object.assign({},E,{display:D.default.modal.isOpen?"block !important":"none"})),D.default.modal.isOpen?o("open",D.default.modal.page):o("close")}),(0,l.observe)(D.default,"siteURL",function(){null===D.default.siteURL||void 0===D.default.siteURL?localStorage.removeItem("netlifySiteURL"):localStorage.setItem("netlifySiteURL",D.default.siteURL),D.default.init(a(),!0)}),(0,l.observe)(D.default,"user",function(){D.default.user?o("login",D.default.user):o("logout")}),(0,l.observe)(D.default,"gotrue",function(){D.default.gotrue&&o("init",D.default.gotrue.currentUser())}),(0,l.observe)(D.default,"error",function(){o("error",D.default.error)});var L=/(confirmation|invite|recovery|email_change)_token=([^&]+)/,k=/error=access_denied&error_description=403/,A=/access_token=/;t.default=w},function(e){"use strict";var t,n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t=function(){return this}();try{t=t||Function("return this")()||(0,eval)("this")}catch(e){"object"===("undefined"==typeof window?"undefined":n(window))&&(t=window)}e.exports=t},function(e,t,n){"use strict";function r(e,t){if("string"==typeof e)throw Error("Store names should be provided as array");return Array.isArray(e)?t?i.inject.apply(null,e)(r(t)):function(t){return r(e,t)}:(0,o.observer)(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.connect=r;var o=n(3),i=n(5)},function(e){"use strict";function t(e,M,l){if("string"!=typeof M){if(c){var p=u(M);p&&p!==c&&t(e,p,l)}var f=i(M);a&&(f=f.concat(a(M)));for(var y=0;f.length>y;++y){var d=f[y];if(!(n[d]||r[d]||l&&l[d])){var N=s(M,d);try{o(e,d,N)}catch(e){}}}return e}return e}var n={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o=Object.defineProperty,i=Object.getOwnPropertyNames,a=Object.getOwnPropertySymbols,s=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,c=u&&u(Object);e.exports=t},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":a(t))&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":a(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0}),t.Provider=void 0;var s=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(0),c={children:!0,key:!0,ref:!0},M=console;t.Provider=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(e){var t=e.children;return t.length>1?(0,u.h)("div",null," ",t," "):t[0]}},{key:"getChildContext",value:function(){var e={},t=this.context.mobxStores;if(t)for(var n in t)e[n]=t[n];for(var r in this.props)c[r]||"suppressChangedStoreWarning"===r||(e[r]=this.props[r]);return{mobxStores:e}}},{key:"componentWillReceiveProps",value:function(e){if(Object.keys(e).length!==Object.keys(this.props).length&&M.warn("MobX Provider: The set of provided stores has changed. Please avoid changing stores as the change might not propagate to all children"),!e.suppressChangedStoreWarning)for(var t in e)c[t]||this.props[t]===e[t]||M.warn("MobX Provider: Provided store '"+t+"' has changed. Please avoid replacing stores as the change might not propagate to all children")}}]),t}(u.Component)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(6),s=r(a),u=n(16),c=r(u),M=/^http:\/\//,l="/.netlify/identity",p=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.APIUrl,r=void 0===n?l:n,i=t.audience,a=void 0===i?"":i,u=t.setCookie,c=void 0!==u&&u;o(this,e),r.match(M)&&console.warn("Warning:\n\nDO NOT USE HTTP IN PRODUCTION FOR GOTRUE EVER!\nGoTrue REQUIRES HTTPS to work securely."),a&&(this.audience=a),this.setCookie=c,this.api=new s.default(r)}return i(e,[{key:"_request",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.headers=t.headers||{};var n=t.audience||this.audience;return n&&(t.headers["X-JWT-AUD"]=n),this.api.request(e,t).catch(function(e){return e instanceof a.JSONHTTPError&&e.json&&(e.json.msg?e.message=e.json.msg:e.json.error&&(e.message=e.json.error+": "+e.json.error_description)),Promise.reject(e)})}},{key:"settings",value:function(){return this._request("/settings")}},{key:"signup",value:function(e,t,n){return this._request("/signup",{method:"POST",body:JSON.stringify({email:e,password:t,data:n})})}},{key:"login",value:function(e,t,n){var r=this;return this._setRememberHeaders(n),this._request("/token",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"grant_type=password&username="+encodeURIComponent(e)+"&password="+encodeURIComponent(t)}).then(function(e){return c.default.removeSavedSession(),r.createUser(e,n)})}},{key:"loginExternalUrl",value:function(e){return this.api.apiURL+"/authorize?provider="+e}},{key:"confirm",value:function(e,t){return this._setRememberHeaders(t),this.verify("signup",e,t)}},{key:"requestPasswordRecovery",value:function(e){return this._request("/recover",{method:"POST",body:JSON.stringify({email:e})})}},{key:"recover",value:function(e,t){return this._setRememberHeaders(t),this.verify("recovery",e,t)}},{key:"acceptInvite",value:function(e,t,n){var r=this;return this._setRememberHeaders(n),this._request("/verify",{method:"POST",body:JSON.stringify({token:e,password:t,type:"signup"})}).then(function(e){return r.createUser(e,n)})}},{key:"acceptInviteExternalUrl",value:function(e,t){return this.api.apiURL+"/authorize?provider="+e+"&invite_token="+t}},{key:"createUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this._setRememberHeaders(t),new c.default(this.api,e,this.audience).getUserData().then(function(e){return t&&e._saveSession(),e})}},{key:"currentUser",value:function(){var e=c.default.recoverSession(this.api);return e&&this._setRememberHeaders(e._fromStorage),e}},{key:"verify",value:function(e,t,n){var r=this;return this._setRememberHeaders(n),this._request("/verify",{method:"POST",body:JSON.stringify({token:t,type:e})}).then(function(e){return r.createUser(e,n)})}},{key:"_setRememberHeaders",value:function(e){this.setCookie&&(this.api.defaultHeaders=this.api.defaultHeaders||{},this.api.defaultHeaders["X-Use-Cookie"]=e?"1":"session")}}]),e}();t.default=p,"undefined"!=typeof window&&(window.GoTrue=p)},function(e,t){"use strict";function n(e){var t=e.headers.get("Link"),n={};if(null==t)return null;t=t.split(",");for(var o=e.headers.get("X-Total-Count"),i=0,a=t.length;a>i;i++){var s=t[i].replace(/(^\s*|\s*$)/,""),u=s.split(";"),c=r(u,2),M=c[0],l=c[1],p=M.match(/page=(\d+)/),f=p&&parseInt(p[1],10);l.match(/last/)?n.last=f:l.match(/next/)?n.next=f:l.match(/prev/)?n.prev=f:l.match(/first/)&&(n.first=f)}return n.last=Math.max(n.last||0,n.prev&&n.prev+1||0),n.current=n.next?n.next-1:n.last||1,n.total=o?parseInt(o,10):null,n}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t.getPagination=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}var n=window.atob(t);try{return decodeURIComponent(escape(n))}catch(e){return n}}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(6),c=r(u),M=n(17),l=r(M),p={},f=null,y={api:1,token:1,audience:1,url:1},d={api:1};t.default=function(){function e(t,n,r){o(this,e),this.api=t,this.url=t.apiURL,this.audience=r,this._processTokenResponse(n),f=this}return s(e,[{key:"update",value:function(e){var t=this;return this._request("/user",{method:"PUT",body:JSON.stringify(e)}).then(function(e){return t._saveUserData(e)._refreshSavedSession()})}},{key:"jwt",value:function(e){var t=this.tokenDetails(),n=t.expires_at,r=t.refresh_token,o=t.access_token;return e||n-6e41&&void 0!==arguments[1]?arguments[1]:{};n.headers=n.headers||{};var r=n.audience||this.audience;return r&&(n.headers["X-JWT-AUD"]=r),this.jwt().then(function(r){return t.api.request(e,a({headers:Object.assign(n.headers,{Authorization:"Bearer "+r})},n)).catch(function(e){return e instanceof u.JSONHTTPError&&e.json&&(e.json.msg?e.message=e.json.msg:e.json.error&&(e.message=e.json.error+": "+e.json.error_description)),Promise.reject(e)})})}},{key:"getUserData",value:function(){return this._request("/user").then(this._saveUserData.bind(this)).then(this._refreshSavedSession.bind(this))}},{key:"_saveUserData",value:function(t,n){for(var r in t)r in e.prototype||r in y||(this[r]=t[r]);return n&&(this._fromStorage=!0),this}},{key:"_processTokenResponse",value:function(e){this.token=e;var t=void 0;try{t=JSON.parse(i(e.access_token.split(".")[1])),this.token.expires_at=1e3*t.exp}catch(t){console.error(Error("Gotrue-js: Failed to parse tokenResponse claims: "+JSON.stringify(e)))}}},{key:"_refreshSavedSession",value:function(){return localStorage.getItem("gotrue.user")&&this._saveSession(),this}},{key:"_saveSession",value:function(){return localStorage.setItem("gotrue.user",JSON.stringify(this._details)),this}},{key:"tokenDetails",value:function(){return this.token}},{key:"clearSession",value:function(){e.removeSavedSession(),this.token=null,f=null}},{key:"admin",get:function(){return new l.default(this)}},{key:"_details",get:function(){var t={};for(var n in this)n in e.prototype||n in d||(t[n]=this[n]);return t}}],[{key:"removeSavedSession",value:function(){localStorage.removeItem("gotrue.user")}},{key:"recoverSession",value:function(t){if(f)return f;var n=localStorage.getItem("gotrue.user");if(n)try{var r=JSON.parse(n),o=r.url,i=r.token,a=r.audience;if(!o||!i)return null;return new e(t||new c.default(o,{}),i,a)._saveUserData(r,!0)}catch(e){return console.error(Error("Gotrue-js: Error recovering session: "+e)),null}return null}}]),e}()},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(){function e(t){n(this,e),this.user=t}return r(e,[{key:"listUsers",value:function(e){return this.user._request("/admin/users",{method:"GET",audience:e})}},{key:"getUser",value:function(e){return this.user._request("/admin/users/"+e.id)}},{key:"updateUser",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.user._request("/admin/users/"+e.id,{method:"PUT",body:JSON.stringify(t)})}},{key:"createUser",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.email=e,n.password=t,this.user._request("/admin/users",{method:"POST",body:JSON.stringify(n)})}},{key:"deleteUser",value:function(e){return this.user._request("/admin/users/"+e.id,{method:"DELETE"})}}]),e}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s,u=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(0),M=n(2),l=n(19),p=r(l),f=n(20),y=r(f),d=n(21),N=r(d),g=n(22),D=r(g),h=n(23),j=r(h),T=n(8),z=r(T),b={login:!0,signup:!0},v={login:{login:!0,button:"Log in",button_saving:"Logging in",email:!0,password:!0,link:"amnesia",link_text:"Forgot password?",providers:!0},signup:{signup:!0,button:"Sign up",button_saving:"Signing Up",name:!0,email:!0,password:!0,providers:!0},amnesia:{title:"Recover password",button:"Send recovery email",button_saving:"Sending recovery email",email:!0,link:"login",link_text:"Never mind"},recovery:{title:"Recover password",button:"Update password",button_saving:"Updating password",password:!0,link:"login",link_text:"Never mind"},invite:{title:"Complete your signup",button:"Sign up",button_saving:"Signing Up",password:!0,providers:!0},user:{title:"Logged in"}};t.default=(0,M.connect)(["store"])(s=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,u=Array(s),c=0;s>c;c++)u[c]=arguments[c];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),r.handleClose=function(){return r.props.store.closeModal()},r.handlePage=function(e){return r.props.store.openModal(e)},r.handleLogout=function(){return r.props.store.logout()},r.handleSiteURL=function(e){return r.props.store.setSiteURL(e)},r.clearSiteURL=function(){return r.props.store.clearSiteURL()},r.handleExternalLogin=function(e){return r.props.store.externalLogin(e)},r.handleUser=function(e){var t=e.name,n=e.email,o=e.password,i=r.props.store;switch(i.modal.page){case"login":i.login(n,o);break;case"signup":i.signup(t,n,o);break;case"amnesia":i.requestPasswordRecovery(n);break;case"invite":i.acceptInvite(o);break;case"recovery":i.updatePassword(o)}},a=n,i(r,a)}return a(t,e),u(t,[{key:"renderBody",value:function(){var e=this,t=this.props.store,n=v[t.modal.page]||{},r=function(){return e.handlePage(n.link)};return t.isLocal&&null===t.siteURL?(0,c.h)(y.default,{devMode:null!=t.siteURL,onSiteURL:t.siteURL?this.clearSiteURL:this.handleSiteURL}):t.settings?t.user?(0,c.h)(N.default,{user:t.user,saving:t.saving,onLogout:this.handleLogout}):"signup"===t.modal.page&&t.settings.disable_signup?(0,c.h)(z.default,{type:"signup_disabled"}):(0,c.h)("div",null,(0,c.h)(D.default,{page:v[t.modal.page]||{},message:t.message,saving:t.saving,onSubmit:this.handleUser,namePlaceholder:t.namePlaceholder}),!t.user&&n.link&&t.gotrue&&(0,c.h)("button",{onclick:r,className:"btnLink forgotPasswordLink"},n.link_text),t.isLocal?(0,c.h)(y.default,{devMode:null!=t.siteURL,onSiteURL:t.siteURL?this.clearSiteURL:this.handleSiteURL}):(0,c.h)("div",null)):void 0}},{key:"renderProviders",value:function(){var e=this.props.store;if(!e.gotrue||!e.settings)return null;if("signup"===e.modal.page&&e.settings.disable_signup)return null;if(!(v[e.modal.page]||{}).providers)return null;var t=["Google","GitHub","GitLab","BitBucket","SAML"].filter(function(t){return e.settings.external[t.toLowerCase()]});return t.length?(0,c.h)(j.default,{providers:t,labels:e.settings.external_labels||{},onLogin:this.handleExternalLogin}):null}},{key:"render",value:function(){var e=this.props.store,t=b[e.modal.page],n=e.settings&&!e.settings.disable_signup;return(0,c.h)("div",null,(0,c.h)(p.default,{page:v[e.modal.page]||{},error:e.error,showHeader:t,showSignup:n,devSettings:!e.gotrue,loading:!e.error&&e.gotrue&&!e.settings,isOpen:e.modal.isOpen,onPage:this.handlePage,onClose:this.handleClose,logo:e.modal.logo},this.renderBody(),this.renderProviders()))}}]),t}(c.Component))||s},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e){return e.json&&e.json.error_description||e.message||""+e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(0);t.default=function(e){function t(){var e,n,i,a;r(this,t);for(var s=arguments.length,u=Array(s),c=0;s>c;c++)u[c]=arguments[c];return n=i=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),i.handleClose=function(e){e.preventDefault(),i.props.onClose()},i.blockEvent=function(e){e.stopPropagation()},i.linkHandler=function(e){return function(t){t.preventDefault(),i.props.onPage(e)}},a=n,o(i,a)}return i(t,e),s(t,[{key:"render",value:function(){var e=this.props,t=e.page,n=e.error,r=e.loading,o=e.showHeader,i=e.showSignup,s=e.devSettings,c=e.isOpen,M=e.children,l=e.logo;return(0,u.h)("div",{className:"modalContainer",role:"dialog","aria-hidden":""+(r||!c),onClick:this.handleClose},(0,u.h)("div",{className:"modalDialog"+(r?" visuallyHidden":""),onClick:this.blockEvent},(0,u.h)("div",{className:"modalContent"},(0,u.h)("button",{onclick:this.handleClose,className:"btn btnClose"},(0,u.h)("span",{className:"visuallyHidden"},"Close")),o&&(0,u.h)("div",{className:"header"},i&&(0,u.h)("button",{className:"btn btnHeader "+(t.signup?"active":""),onclick:this.linkHandler("signup")},"Sign up"),!s&&(0,u.h)("button",{className:"btn btnHeader "+(t.login?"active":""),onclick:this.linkHandler("login")},"Log in")),t.title&&(0,u.h)("div",{className:"header"},(0,u.h)("button",{className:"btn btnHeader active"},t.title)),s&&(0,u.h)("div",{className:"header"},(0,u.h)("button",{className:"btn btnHeader active"},"Development Settings")),n&&(0,u.h)("div",{className:"flashMessage error"},(0,u.h)("span",null,a(n))),M)),l&&(0,u.h)("a",{href:"https://www.netlify.com",className:"callOut"+(r?" visuallyHidden":"")},(0,u.h)("span",{className:"netlifyLogo"}),"Coded by Netlify"))}}]),t}(u.Component)},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(0);t.default=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleInput=function(e){n.setState(r({},e.target.name,e.target.value))},n.addSiteURL=function(e){e.preventDefault(),n.props.onSiteURL(n.state.url)},n.clearSiteURL=function(){n.props.onSiteURL()},n.state={url:"",development:e.devMode||!1},n}return a(t,e),s(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.url;return(0,u.h)("div",null,t.development?(0,u.h)("div",{class:"subheader"},(0,u.h)("h3",null,"Development Settings"),(0,u.h)("button",{onclick:function(t){return e.clearSiteURL(t)},className:"btnLink forgotPasswordLink"},"Clear localhost URL")):(0,u.h)("form",{onsubmit:this.addSiteURL,className:"form"},(0,u.h)("div",{className:"flashMessage"},"Looks like you're running a local server. Please let us know the URL of your Netlify site."),(0,u.h)("div",{className:"formGroup"},(0,u.h)("label",null,(0,u.h)("span",{className:"visuallyHidden"},"Enter your Netlify Site URL"),(0,u.h)("input",{className:"formControl",type:"url",name:"url",value:n,placeholder:"URL of your Netlify site",autocapitalize:"off",required:!0,oninput:this.handleInput}),(0,u.h)("div",{className:"inputFieldIcon inputFieldUrl"}))),(0,u.h)("button",{type:"submit",className:"btn"},"Set site's URL")))}}]),t}(u.Component)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(0),u=n(7),c=function(e){return e&&e.__esModule?e:{default:e}}(u);t.default=function(e){function t(){var e,n,i,a;r(this,t);for(var s=arguments.length,u=Array(s),c=0;s>c;c++)u[c]=arguments[c];return n=i=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),i.handleLogout=function(e){e.preventDefault(),i.props.onLogout()},a=n,o(i,a)}return i(t,e),a(t,[{key:"render",value:function(){var e=this.props,t=e.user,n=e.saving;return(0,s.h)("form",{onSubmit:this.handleLogout,className:"form "+(n?"disabled":"")},(0,s.h)("p",{className:"infoText"},"Logged in as ",(0,s.h)("br",null),(0,s.h)("span",{className:"infoTextEmail"},t.user_metadata.full_name||t.user_metadata.name||t.email)),(0,s.h)(c.default,{saving:n,text:"Log out",saving_text:"Logging out"}))}}]),t}(s.Component)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(0),M=n(8),l=r(M),p=n(7),f=r(p);t.default=function(e){function t(e){i(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleInput=function(e){n.setState(o({},e.target.name,e.target.value))},n.handleLogin=function(e){e.preventDefault(),n.props.onSubmit(n.state)},n.state={name:"",email:"",password:""},n}return s(t,e),u(t,[{key:"render",value:function(){var e=this.props,t=e.page,n=e.message,r=e.saving,o=e.namePlaceholder,i=this.state,a=i.name,s=i.email,u=i.password;return(0,c.h)("form",{onsubmit:this.handleLogin,className:"form "+(r?"disabled":"")},n&&(0,c.h)(l.default,{type:n}),t.name&&(0,c.h)("div",{className:"formGroup"},(0,c.h)("label",null,(0,c.h)("span",{className:"visuallyHidden"},"Enter your name"),(0,c.h)("input",{className:"formControl",type:"name",name:"name",value:a,placeholder:o||"Name",autocapitalize:"off",required:!0,oninput:this.handleInput}),(0,c.h)("div",{className:"inputFieldIcon inputFieldName"}))),t.email&&(0,c.h)("div",{className:"formGroup"},(0,c.h)("label",null,(0,c.h)("span",{className:"visuallyHidden"},"Enter your email"),(0,c.h)("input",{className:"formControl",type:"email",name:"email",value:s,placeholder:"Email",autocapitalize:"off",required:!0,oninput:this.handleInput}),(0,c.h)("div",{className:"inputFieldIcon inputFieldEmail"}))),t.password&&(0,c.h)("div",{className:"formGroup"},(0,c.h)("label",null,(0,c.h)("span",{className:"visuallyHidden"},"Enter your password"),(0,c.h)("input",{className:"formControl",type:"password",name:"password",value:u,placeholder:"Password",required:!0,oninput:this.handleInput}),(0,c.h)("div",{className:"inputFieldIcon inputFieldPassword"}))),(0,c.h)(f.default,{saving:r,text:t.button,saving_text:t.button_saving}))}}]),t}(c.Component)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(0),u=function(e){function t(){var e,n,i,a;r(this,t);for(var s=arguments.length,u=Array(s),c=0;s>c;c++)u[c]=arguments[c];return n=i=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),i.handleLogin=function(e){e.preventDefault(),i.props.onLogin(i.props.provider.toLowerCase())},a=n,o(i,a)}return i(t,e),a(t,[{key:"render",value:function(){var e=this.props;return(0,s.h)("button",{onClick:this.handleLogin,className:"provider"+e.provider+" btn btnProvider"},"Continue with ",e.label)}}]),t}(s.Component);t.default=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),a(t,[{key:"getLabel",value:function(e){var t=e.toLowerCase();return t in this.props.labels?this.props.labels[t]:e}},{key:"render",value:function(){var e=this,t=this.props,n=t.providers,r=t.onLogin;return(0,s.h)("div",{className:"providersGroup"},(0,s.h)("hr",{className:"hr"}),n.map(function(t){return(0,s.h)(u,{key:t,provider:t,label:e.getLabel(t),onLogin:r})}))}}]),t}(s.Component)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=(0,r.observable)({user:null,recovered_user:null,message:null,settings:null,gotrue:null,error:null,siteURL:null,remember:!0,saving:!1,invite_token:null,email_change_token:null,namePlaceholder:null,modal:{page:"login",isOpen:!1,logo:!0}});o.setNamePlaceholder=(0,r.action)(function(e){o.namePlaceholder=e}),o.startAction=(0,r.action)(function(){o.saving=!0,o.error=null,o.message=null}),o.setError=(0,r.action)(function(e){o.saving=!1,o.error=e}),o.init=(0,r.action)(function(e,t){e&&(o.gotrue=e,(o.user=e.currentUser())&&(o.modal.page="user")),t&&o.loadSettings()}),o.loadSettings=(0,r.action)(function(){o.settings||o.gotrue&&o.gotrue.settings().then((0,r.action)(function(e){return o.settings=e})).catch((0,r.action)(function(){o.error=Error("Failed to load settings from "+o.gotrue.api.apiURL)}))}),o.setIsLocal=(0,r.action)(function(e){o.isLocal=e}),o.setSiteURL=(0,r.action)(function(e){o.siteURL=e}),o.clearSiteURL=(0,r.action)(function(){o.gotrue=null,o.siteURL=null,o.settings=null}),o.login=(0,r.action)(function(e,t){return o.startAction(),o.gotrue.login(e,t,o.remember).then((0,r.action)(function(e){o.user=e,o.modal.page="user",o.invite_token=null,o.email_change_token&&o.doEmailChange(),o.saving=!1})).catch(o.setError)}),o.externalLogin=(0,r.action)(function(e){o.error=null,o.message=null;var t=o.invite_token?o.gotrue.acceptInviteExternalUrl(e,o.invite_token):o.gotrue.loginExternalUrl(e);window.location.href=t}),o.completeExternalLogin=(0,r.action)(function(e){o.startAction(),o.gotrue.createUser(e,o.remember).then(function(e){o.user=e,o.modal.page="user",o.saving=!1}).catch(o.setError)}),o.signup=(0,r.action)(function(e,t,n){return o.startAction(),o.gotrue.signup(t,n,{full_name:e}).then((0,r.action)(function(){o.settings.autoconfirm?o.login(t,n,o.remember):o.message="confirm",o.saving=!1})).catch(o.setError)}),o.logout=(0,r.action)(function(){if(o.user)return o.startAction(),o.user.logout().then((0,r.action)(function(){o.user=null,o.modal.page="login",o.saving=!1})).catch(o.setError);o.modal.page="login",o.saving=!1}),o.updatePassword=(0,r.action)(function(e){o.startAction(),(o.recovered_user||o.user).update({password:e}).then(function(e){o.user=e,o.recovered_user=null,o.modal.page="user",o.saving=!1}).catch(o.setError)}),o.acceptInvite=(0,r.action)(function(e){o.startAction(),o.gotrue.acceptInvite(o.invite_token,e,o.remember).then(function(e){o.saving=!1,o.invite_token=null,o.user=e,o.modal.page="user"}).catch(o.setError)}),o.doEmailChange=(0,r.action)(function(){return o.startAction(),o.user.update({email_change_token:o.email_change_token}).then((0,r.action)(function(e){o.user=e,o.email_change_token=null,o.message="email_changed",o.saving=!1})).catch(o.setError)}),o.verifyToken=(0,r.action)(function(e,t){var n=o.gotrue;switch(o.modal.isOpen=!0,e){case"confirmation":o.startAction(),o.modal.page="signup",n.confirm(t,o.remember).then((0,r.action)(function(e){o.user=e,o.saving=!1})).catch((0,r.action)(function(e){console.error(e),o.message="verfication_error",o.modal.page="signup",o.saving=!1}));break;case"email_change":o.email_change_token=t,o.modal.page="message",o.user?o.doEmailChange():o.modal.page="login";break;case"invite":o.modal.page=e,o.invite_token=t;break;case"recovery":o.startAction(),o.modal.page=e,o.gotrue.recover(t,o.remember).then(function(e){o.saving=!1,o.recovered_user=e}).catch(function(e){o.saving=!1,o.error=e,o.modal.page="login"});break;default:o.error="Unkown token type"}}),o.requestPasswordRecovery=(0,r.action)(function(e){o.startAction(),o.gotrue.requestPasswordRecovery(e).then((0,r.action)(function(){o.message="password_mail",o.saving=!1})).catch(o.setError)}),o.openModal=(0,r.action)(function(e){o.modal.page=e,o.modal.isOpen=!0}),o.closeModal=(0,r.action)(function(){o.modal.isOpen=!1,o.error=null,o.message=null,o.saving=!1}),t.default=o},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a,s=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(0);t.default=(0,n(2).connect)(["store"])(a=function(e){function t(){var e,n,i,a;r(this,t);for(var s=arguments.length,u=Array(s),c=0;s>c;c++)u[c]=arguments[c];return n=i=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),i.handleSignup=function(e){e.preventDefault(),i.props.store.openModal("signup")},i.handleLogin=function(e){e.preventDefault(),i.props.store.openModal("login")},i.handleLogout=function(e){e.preventDefault(),i.props.store.openModal("user")},i.handleButton=function(e){e.preventDefault(),i.props.store.openModal(i.props.store.user?"user":"login")},a=n,o(i,a)}return i(t,e),s(t,[{key:"render",value:function(){var e=this.props.store.user;return"button"===this.props.mode?(0,u.h)("a",{className:"netlify-identity-button",href:"#",onClick:this.handleButton},this.props.text||(e?"Log out":"Log in")):e?(0,u.h)("ul",{className:"netlify-identity-menu"},(0,u.h)("li",{className:"netlify-identity-item netlify-identity-user-details"},"Logged in as"," ",(0,u.h)("span",{className:"netlify-identity-user"},e.user_metadata.name||e.email)),(0,u.h)("li",{className:"netlify-identity-item"},(0,u.h)("a",{className:"netlify-identity-logout",href:"#",onClick:this.handleLogout},"Log out"))):(0,u.h)("ul",{className:"netlify-identity-menu"},(0,u.h)("li",{className:"netlify-identity-item"},(0,u.h)("a",{className:"netlify-identity-signup",href:"#",onClick:this.handleSignup},"Sign up")),(0,u.h)("li",{className:"netlify-identity-item"},(0,u.h)("a",{className:"netlify-identity-login",href:"#",onClick:this.handleLogin},"Log in")))}}]),t}(u.Component))||a},function(e,t,n){t=e.exports=n(27)(!1),t.push([e.i,'::-webkit-input-placeholder {\n /* Chrome/Opera/Safari */\n color: #a3a9ac;\n font-weight: 500;\n}\n\n::-moz-placeholder {\n /* Firefox 19+ */\n color: #a3a9ac;\n font-weight: 500;\n}\n\n:-ms-input-placeholder {\n /* IE 10+ */\n color: #a3a9ac;\n font-weight: 500;\n}\n\n:-moz-placeholder {\n /* Firefox 18- */\n color: #a3a9ac;\n font-weight: 500;\n}\n\n.modalContainer {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n min-height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,\n Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";\n font-size: 14px;\n line-height: 1.5;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n z-index: 99999;\n}\n\n.modalContainer::before {\n content: "";\n display: block;\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: #fff;\n z-index: -1;\n}\n\n.modalDialog {\n -webkit-box-flex: 1;\n -ms-flex-positive: 1;\n flex-grow: 1;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n width: 100%;\n}\n\n.modalContent {\n position: relative;\n padding: 32px;\n opacity: 0;\n -webkit-transform: translateY(10px) scale(1);\n transform: translateY(10px) scale(1);\n background: #fff;\n}\n\n[aria-hidden="false"] .modalContent {\n -webkit-animation: bouncyEntrance 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);\n animation: bouncyEntrance 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);\n -webkit-animation-fill-mode: forwards;\n animation-fill-mode: forwards;\n }\n\n@-webkit-keyframes bouncyEntrance {\n 0% {\n opacity: 0;\n -webkit-transform: translateY(10px) scale(0.9);\n transform: translateY(10px) scale(0.9);\n }\n\n 100% {\n opacity: 1;\n -webkit-transform: translateY(0) scale(1);\n transform: translateY(0) scale(1);\n }\n}\n\n@keyframes bouncyEntrance {\n 0% {\n opacity: 0;\n -webkit-transform: translateY(10px) scale(0.9);\n transform: translateY(10px) scale(0.9);\n }\n\n 100% {\n opacity: 1;\n -webkit-transform: translateY(0) scale(1);\n transform: translateY(0) scale(1);\n }\n}\n\n@media (min-width: 480px) {\n .modalContainer::before {\n background-color: rgb(14, 30, 37);\n -webkit-animation: fadeIn 0.1s ease-in;\n animation: fadeIn 0.1s ease-in;\n -webkit-animation-fill-mode: forwards;\n animation-fill-mode: forwards;\n }\n\n .modalDialog {\n max-width: 364px;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n }\n\n .modalContent {\n background: #fff;\n -webkit-box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .07),\n 0 12px 32px 0 rgba(14, 30, 37, .1);\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .07),\n 0 12px 32px 0 rgba(14, 30, 37, .1);\n border-radius: 8px;\n margin-top: 32px;\n }\n}\n\n@-webkit-keyframes fadeIn {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 0.67;\n }\n}\n\n@keyframes fadeIn {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 0.67;\n }\n}\n\n.flashMessage {\n text-align: center;\n color: rgb(14, 30, 37);\n font-weight: 500;\n font-size: 14px;\n background-color: #f2f3f3;\n padding: 6px;\n border-radius: 4px;\n opacity: 0.7;\n -webkit-transition: opacity 0.2s linear;\n transition: opacity 0.2s linear;\n}\n\n.flashMessage:hover,\n.flashMessage:focus {\n opacity: 1;\n}\n\n.error {\n color: #fa3946;\n background-color: #fceef0;\n opacity: 1;\n}\n\n.error span::before {\n content: "";\n display: inline-block;\n position: relative;\n top: 3px;\n margin-right: 4px;\n width: 16px;\n height: 16px;\n background: no-repeat center center;\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8cGF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ywxMC44NzMzMzMzIDguODMzMzMzMzMsMTEuMzMzMzMzMyBDOC44MzMzMzMzMywxMS43OTMzMzMzIDguNDYsMTIuMTY2NjY2NyA4LDEyLjE2NjY2NjcgWiIvPgo8L3N2Zz4K);\n}\n\n.success {\n}\n\n.disabled {\n opacity: 0.38;\n pointer-events: none;\n}\n\n.infoText {\n text-align: center;\n margin: 32px 0;\n}\n\n.infoTextEmail {\n font-size: 16px;\n font-weight: 500;\n}\n\n.saving {\n background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABQCAMAAACeYYN3AAAAxlBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////DTx3aAAAAQnRSTlMAAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2Nzg5Ojs8PT4/QEGgjKRfAAACk0lEQVR4AYXQDXP5WhAG8CUhiSQqSv4RRRMVL1Fa1VZf3PL9v9Tde9wc9M8+P8/M7s6czJiHgNIvVCJO6YiAMlAiWckASiQrm4bJMZTDrmbBIEC9qpgVjp6n4B+oyEwCzKrMQBVaQIlkpmXZln1dhQB+49gOh5dLexlV6MhsAqyazEQVugCqsOK5nsQmwPWZ53ucvyczSGb4l9T9OsdnLgFOXVZFFd4AqEKrIasR4AdBI2hw1GR6VzMwSWY2A60ZNDl6KnUC3KbMRhXeAqhCpyXzCAjarNVucdqXVEhWaRfCdsj5vQcE1EOZQ7Jy+EcUlklWi2Q3BLQ6nagTcTra2Y0qrHZirRN3OOezTUAjvq4bd7suqpDfSGJUoXcnCwiIerIqqlC96vf6HD1ZsUcE3PYH/QGnrx3uYnqoQn4l6aMK/XtZi4BuIrNIZqVJkiapkhx37Y6AcDgcpsNU44Nz3OuoQn4jSVGFNw+ykID+SGaTzM5G2YiTFVM73AMConE2zjhj7XAXs4EqHE/4d12GKgwmsoiAZCpzSObMptPZdHZVSkCc5/ksnym8cPRUmiQzpvNcmedzTl4o7qlBsuZc1iVg9ChDFdYWshEBveV/FssFZ/l7Z7eowsfl0/JJ4UXj43A/ogpbT7IeAZNnWQ1VuJJNCBi8HKxeVhw9tRaq8JkfrV/WHDULxb1CFbbX7HX9yllfck9A/ipzSea+yeYEJO+yEFX4tim8b94VXjj/zzdU4Z/NmY/NB+fkTglYfMg8knmfsiUBD1+yCFX4+X309f3FOds/UYVR8fH2e6vwovExIuB5K/NJ5v8jWxGQ/chiVOF2d+pn98M5zt3WJFm83+/2O4UXjprabkzAWn+o56k9qvBfX4hMaM+SxOMAAAAASUVORK5CYII=);\n background-repeat: repeat-x;\n background-size: contain;\n background-origin: border-box;\n background-position: 0% 0%;\n -webkit-animation: loading 20s linear infinite;\n animation: loading 20s linear infinite;\n pointer-events: none;\n}\n\n.saving::after {\n content: "\\2026";\n}\n\n@-webkit-keyframes loading {\n 0% {\n background-position: 0% 0%;\n }\n\n 100% {\n background-position: 700% 0%;\n }\n}\n\n@keyframes loading {\n 0% {\n background-position: 0% 0%;\n }\n\n 100% {\n background-position: 700% 0%;\n }\n}\n\n.btn {\n display: block;\n position: relative;\n width: 100%;\n height: auto;\n margin: 14px 0 0;\n padding: 6px;\n outline: 0;\n cursor: pointer;\n border: 2px solid rgb(14, 30, 37);\n border-radius: 4px;\n background-color: #2d3b41;\n color: #fff;\n -webkit-transition: background-color 0.2s ease;\n transition: background-color 0.2s ease;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,\n Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n text-align: center;\n text-decoration: none;\n white-space: nowrap;\n}\n\n.btn:hover,\n.btn:focus {\n background-color: rgb(14, 30, 37);\n text-decoration: none;\n}\n\n.btnClose {\n position: absolute;\n top: 0;\n right: 0;\n margin: 0;\n padding: 0;\n border: 0;\n width: 24px;\n height: 24px;\n border-radius: 50%;\n margin: 6px;\n background: #fff;\n color: #a3a9ac;\n}\n\n.btnClose::before {\n content: "\\D7";\n font-size: 25px;\n line-height: 9px;\n}\n\n.btnClose:hover,\n.btnClose:focus {\n background: #e9ebeb;\n color: rgb(14, 30, 37);\n}\n\n.header {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n margin-top: -8px;\n margin-bottom: 32px;\n}\n\n.btnHeader {\n font-size: 16px;\n line-height: 24px;\n background: #fff;\n color: #a3a9ac;\n border: 0;\n border-bottom: 2px solid #e9ebeb;\n border-radius: 4px 4px 0 0;\n margin: 0;\n}\n\n.btnHeader:focus,\n.btnHeader.active {\n background: #fff;\n color: rgb(14, 30, 37);\n border-color: rgb(14, 30, 37);\n font-weight: 700;\n}\n\n.btnHeader:not(:only-child):hover {\n background-color: #e9ebeb;\n color: rgb(14, 30, 37);\n}\n\n.btnHeader:only-child {\n cursor: auto;\n}\n\n.btnLink {\n display: block;\n position: relative;\n width: auto;\n height: auto;\n margin: 14px auto 0;\n padding: 6px;\n padding-bottom: 0;\n outline: 0;\n cursor: pointer;\n color: rgb(14, 30, 37);\n border: none;\n border-bottom: 2px solid #e9ebeb;\n border-radius: 0;\n background-color: inherit;\n -webkit-transition: border-color 0.2s ease;\n transition: border-color 0.2s ease;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,\n Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n text-align: center;\n white-space: nowrap;\n}\n\n.btnLink:hover,\n.btnLink:focus {\n background-color: inherit;\n border-color: #a3a9ac;\n}\n\n.form {\n}\n\n.formGroup {\n position: relative;\n margin-top: 14px;\n}\n\n.formControl {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n display: block;\n width: 100%;\n height: 40px;\n margin: 0;\n padding: 6px 12px 6px 34px;\n border: 2px solid #e9ebeb;\n border-radius: 4px;\n background: #fff;\n color: rgb(14, 30, 37);\n -webkit-box-shadow: none;\n box-shadow: none;\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n -webkit-transition: -webkit-box-shadow ease-in-out 0.15s;\n transition: -webkit-box-shadow ease-in-out 0.15s;\n transition: box-shadow ease-in-out 0.15s;\n transition: box-shadow ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;\n -webkit-appearance: none;\n -moz-appearance: none;\n}\n\n.inputFieldIcon {\n position: absolute;\n top: 12px;\n left: 12px;\n display: inline-block;\n width: 16px;\n height: 16px;\n background-repeat: no-repeat;\n background-position: center;\n pointer-events: none;\n}\n\n.inputFieldName {\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDE0IDE0Ij4gIDxwYXRoIGZpbGw9IiNBM0E5QUMiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTgsNyBDNi4zNDMxNDU3NSw3IDUsNS42NTY4NTQyNSA1LDQgQzUsMi4zNDMxNDU3NSA2LjM0MzE0NTc1LDEgOCwxIEM5LjY1Njg1NDI1LDEgMTEsMi4zNDMxNDU3NSAxMSw0IEMxMSw1LjY1Njg1NDI1IDkuNjU2ODU0MjUsNyA4LDcgWiBNOCwxNSBMMS41LDE1IEMxLjUsMTEuMTM0MDA2OCA0LjQxMDE0OTEzLDggOCw4IEMxMS41ODk4NTA5LDggMTQuNSwxMS4xMzQwMDY4IDE0LjUsMTUgTDgsMTUgWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEgLTEpIi8+PC9zdmc+);\n}\n\n.inputFieldEmail {\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxMSIgdmlld0JveD0iMCAwIDE2IDExIj4gIDxwYXRoIGZ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cwNyA2LjI5MykiLz48L3N2Zz4=);\n}\n\n.formLabel {\n}\n\n.hr {\n border: 0;\n border-top: 2px solid #e9ebeb;\n margin: 32px 0 -1px;\n text-align: center;\n overflow: visible;\n}\n\n.hr::before {\n content: "or";\n position: relative;\n display: inline-block;\n font-size: 12px;\n font-weight: 800;\n line-height: 1;\n text-transform: uppercase;\n background-color: #fff;\n color: rgb(14, 30, 37);\n padding: 4px;\n top: -11px;\n}\n\n.btnProvider {\n padding-left: 40px;\n padding-right: 40px;\n}\n\n.btnProvider::before {\n content: "";\n position: absolute;\n display: inline-block;\n vertical-align: middle;\n width: 32px;\n height: 40px;\n background-repeat: no-repeat;\n background-position: left center;\n top: -2px;\n left: 14px;\n}\n\n.providerGoogle {\n background-color: #4285f4;\n border-color: #366dc7;\n}\n\n.providerGoogle:hover,\n.providerGoogle:focus {\n background-color: #366dc7;\n}\n\n.providerGitHub {\n background-color: #333;\n border-color: #000;\n}\n\n.providerGitHub:hover,\n.providerGitHub:focus {\n background-color: #000;\n}\n\n.providerGitLab {\n background-color: #e24329;\n border-color: #b03320;\n}\n\n.providerGitLab:hover,\n.providerGitLab:focus {\n background-color: #b03320;\n}\n\n.providerBitbucket {\n background-color: #205081;\n border-color: #14314f;\n}\n\n.providerBitbucket:hover,\n.providerBitbucket:focus {\n background-color: #14314f;\n}\n\n.providerGoogle:before {\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDEzIDEyIj4gIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEuNDg4IC0yKSI+ICAgIDxyZWN0IHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIvPiAgICA8cGF0aCBmaWxsPSIjRkZGRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm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9ac;\n text-align: center;\n}\n\n.callOut:after {\n content: " \\2665";\n -webkit-transition: color 4s ease;\n transition: color 4s ease;\n}\n\n.callOut:hover:after {\n color: red;\n}\n\n.callOut .netlifyLogo {\n display: block;\n margin: auto;\n width: 32px;\n height: 32px;\n margin-bottom: 8px;\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmlld0JveD0iMCAwIDMyIDMyIj4gIDxkZWZzPiAgICA8cmFkaWFsR3JhZGllbnQgaWQ9ImEiIGN5PSIwJSIgcj0iMTAwJSIgZng9IjUwJSIgZnk9IjAlIiBncmFkaWVudFRyYW5zZm9ybT0ibWF0cml4KDAgMSAtMS4xNTE4NSAwIC41IC0uNSkiPiAgICAgIDxzdG9wIHN0b3AtY29sb3I9IiMyMEM2QjciIG9mZnNldD0iMCUiLz4gICAgICA8c3RvcCBzdG9wLWNvbG9yPSIjNEQ5QUJGIiBvZmZzZXQ9IjEwMCUiLz4gICAgPC9yYWRpYWxHcmFkaWVudD4gIDwvZGVmcz4gIDxwYXRoIGZpbGw9InVybCgjYSkiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTIyLjk4MDYyMywxMS42MjYyMzc3IEMyMi44NzE3MTA3LDExLjUwNTEzMDYgMjIuNzM1NTcwNCwxMS4zOTc0Nzk4IDIyLjU3MjIwMjEsMTEuMzE2NzQxOCBDMjIuNTU4NTg4MSwxMS4zMTY3NDE4IDIyLjU0NDk3NCwxMS4yODk4MjkxIDIyLjUzMTM2LDExLjI3NjM3MjcgTDIzLjE3MTIxOTQsNy4zNjA1NzY2MSBDMjMuMTcxMjE5NCw3LjMzMzY2MzkyIDIzLjE4NDgzMzQsNy4zMjAyMDc1OCAyMy4xOTg0NDc1LDcuMzIwMjA3NTggTDIzLjIxMjA2MTUsNy4zMjAyMDc1OCBDMjMuMjEyMDYxNSw3LjMyMDIwN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 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n #fff-space: nowrap;\n}\n\n.subheader {\n margin-top: 2em;\n border-top: 1px solid rgb(14, 30, 37);\n}\n\n.subheader h3 {\n padding-top: 1em;\n text-align: center;\n }\n',""])},function(e){"use strict";function t(e,t){var r=e[1]||"",o=e[3];if(!o)return r;if(t&&"function"==typeof btoa){var i=n(o);return[r].concat(o.sources.map(function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"})).concat([i]).join("\n")}return""+r}function n(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var n=[];return n.toString=function(){return this.map(function(n){var r=t(n,e);return n[2]?"@media "+n[2]+"{"+r+"}":r}).join("")},n.i=function(e,t){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;this.length>o;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;e.length>o;o++){var a=e[o];"number"==typeof a[0]&&r[a[0]]||(t&&!a[2]?a[2]=t:t&&(a[2]="("+a[2]+") and ("+t+")"),n.push(a))}},n}}]).default}); //# sourceMappingURL=netlify-identity.js.map \ No newline at end of file diff --git a/releases/v1/netlify-identity.js.map b/releases/v1/netlify-identity.js.map index 03f2d060f..9bd4f356d 100644 --- a/releases/v1/netlify-identity.js.map +++ b/releases/v1/netlify-identity.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///netlify-identity.js","webpack:///webpack/bootstrap 324f32af4729b5383143","webpack:///../node_modules/preact/dist/preact.mjs","webpack:///../node_modules/mobx/lib/mobx.module.js","webpack:///../node_modules/mobx-preact/lib/index.js","webpack:///../node_modules/mobx-preact/lib/observer.js","webpack:///../node_modules/mobx-preact/lib/utils/utils.js","webpack:///../node_modules/mobx-preact/lib/inject.js","webpack:///../node_modules/micro-api-client/lib/index.js","webpack:///./components/forms/button.js","webpack:///./components/forms/message.js","webpack:///./netlify-identity.js","webpack:///../node_modules/webpack/buildin/global.js","webpack:///../node_modules/mobx-preact/lib/connect.js","webpack:///../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","webpack:///../node_modules/mobx-preact/lib/Provider.js","webpack:///../node_modules/gotrue-js/lib/index.js","webpack:///../node_modules/micro-api-client/lib/pagination.js","webpack:///../node_modules/gotrue-js/lib/user.js","webpack:///../node_modules/gotrue-js/lib/admin.js","webpack:///./components/app.js","webpack:///./components/modal/index.js","webpack:///./components/forms/siteurl.js","webpack:///./components/forms/logout.js","webpack:///./components/forms/user.js","webpack:///./components/forms/providers.js","webpack:///./state/store.js","webpack:///./components/controls.js","webpack:///./components/modal.css","webpack:///../node_modules/css-loader/lib/css-base.js"],"names":["root","factory","exports","module","define","amd","self","this","modules","__webpack_require__","moduleId","installedModules","i","l","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","__webpack_exports__","h","nodeName","attributes","lastSimple","child","simple","children","EMPTY_CHILDREN","arguments","length","stack","push","pop","undefined","String","VNode","key","options","vnode","extend","obj","props","cloneElement","slice","enqueueRender","component","_dirty","items","debounceRendering","defer","rerender","list","renderComponent","isSameNodeType","node","hydrating","splitText","_componentConstructor","isNamedNode","normalizedNodeName","toLowerCase","getNodeProps","defaultProps","createNode","isSvg","document","createElementNS","createElement","removeNode","parentNode","removeChild","setAccessor","old","value","style","cssText","IS_NON_DIMENSIONAL","test","innerHTML","__html","useCapture","replace","substring","addEventListener","eventProxy","removeEventListener","_listeners","e","removeAttribute","ns","removeAttributeNS","setAttributeNS","setAttribute","className","type","event","flushMounts","mounts","afterMount","componentDidMount","diff","dom","context","mountAll","parent","componentRoot","diffLevel","isSvgMode","ownerSVGElement","ret","idiff","appendChild","out","prevSvgMode","_component","nodeValue","createTextNode","replaceChild","recollectNodeTree","vnodeName","buildComponentFromVNode","firstChild","fc","vchildren","a","nextSibling","innerDiffNode","dangerouslySetInnerHTML","diffAttributes","isHydrating","j","f","vchild","originalChildren","childNodes","keyed","keyedLen","min","len","childrenLen","vlen","_child","__key","trim","insertBefore","unmountOnly","unmountComponent","ref","removeChildren","lastChild","next","previousSibling","attrs","createComponent","Ctor","inst","recyclerComponents","render","Component","constructor","doRender","nextBase","splice","state","setComponentProps","renderMode","_disable","__ref","getDerivedStateFromProps","base","componentWillMount","componentWillReceiveProps","prevContext","prevProps","syncComponentUpdates","isChild","rendered","cbase","previousProps","previousState","prevState","previousContext","isUpdate","initialBase","initialChildComponent","skip","snapshot","shouldComponentUpdate","componentWillUpdate","getChildContext","getSnapshotBeforeUpdate","toUnmount","childComponent","childProps","_parentComponent","baseParent","componentRef","t","unshift","componentDidUpdate","afterUpdate","_renderCallbacks","originalComponent","oldDom","isDirectOwner","isOwner","beforeUnmount","componentWillUnmount","inner","merge","Promise","resolve","then","bind","setTimeout","setState","callback","forceUpdate","global","__extends","b","__","extendStatics","create","hasInterceptors","interceptable","interceptors","registerInterceptor","handler","once","idx","indexOf","interceptChange","change","prevU","untrackedStart","invariant","untrackedEnd","hasListeners","listenable","changeListeners","registerListener","listeners","notifyListeners","isSpyEnabled","globalState","spyListeners","spyReport","spyReportStart","objectAssign","spyReportEnd","END_EVENT","spy","listener","iteratorSymbol","Symbol","iterator","arrayAsIterator","array","IS_ITERATING_MARKER","addHiddenFinalProp","done","declareIterator","prototType","iteratorFactory","createArrayEntryDescriptor","index","set","createArrayBufferItem","ObservableArray","reserveArrayBuffer","max","OBSERVABLE_ARRAY_BUFFER_SIZE","isObservableArray","thing","isObject","isObservableArrayAdministration","$mobx","getMessage","id","messages","createAction","actionName","fn","res","executeAction","originalFn","isMobxAction","scope","args","runInfo","startAction","apply","endAction","notifySpy","startTime","Date","now","flattendArgs","Array","prevDerivation","startBatch","prevAllowStateChanges","allowStateChangesStart","allowStateChangesEnd","endBatch","time","useStrict","strict","trackingDerivation","strictMode","allowStateChanges","isStrictModeEnabled","func","prev","createClassPropertyDecorator","onInitialize","allowCustomArguments","classPropertyDecorator","target","descriptor","customArgs","argLen","quacksLikeADecorator","addHiddenProp","__mobxLazyInitializers","value_1","initializer_1","initializer","instance","__mobxDidRunLazyInitializers","runLazyInitializers","v","newDescriptor","__mobxInitializedProps","typescriptInitializeProperty","outerArgs","baseDescriptor","forEach","namedActionDecorator","prop","Error","actionFieldDecorator","runInAction","arg1","arg2","arg3","isAction","defineBoundAction","propertyName","deepEqual","eq","aStack","bStack","_typeof","deepEq","unwrap","toString","valueOf","areArrays","aCtor","bCtor","keys","has","peek","isObservableMap","entries","isES6Map","iteratorToArray","identityComparer","structuralComparer","defaultComparer","areBothNaN","autorun","reactionRunner","view","reaction","getNextId","Reaction","track","schedule","getDisposer","when","arg4","predicate","effect","r","dispose","prevUntracked","autorunAsync","delay","isScheduled","isDisposed","expression","changed","nextValue","firstTime","equals","opts","fireImmediately","fail","isModifierDescriptor","compareStructural","struct","action","comparer","structural","default","asObservableObject","isObservableObject","isExtensible","isPlainObject","adm","ObservableObjectAdministration","defineObservablePropertyFromDescriptor","propName","defaultEnhancer","values","isComputedValue","modifierDescriptor","defineObservableProperty","initialValue","enhancer","autoBind","defineComputedPropertyFromComputedValue","defineComputedProperty","newValue","assertPropertyConfigurable","ObservableValue","generateObservablePropConfig","notifyPropertyAddition","setter","asInstanceProperty","ComputedValue","generateComputedPropConfig","computedValue","observablePropertyConfigs","setPropertyValue","computedPropertyConfigs","observable","prepareNewValue","UNCHANGED","notify","oldValue","setNewValue","isObservableObjectAdministration","isObservable","isAtom","isReaction","createDecoratorForEnhancer","baseValue","_","extendObservable","properties","_i","extendObservableHelper","deepEnhancer","extendShallowObservable","referenceEnhancer","propSet","definedProps","isPropertyConfigurable","getOwnPropertyDescriptor","createObservable","deepDecorator","box","incorrectlyUsedAsDecorator","methodName","isMobxModifierDescriptor","createModifierDescriptor","isArray","map","shallowEnhancer","shallowArray","shallowObject","shallowMap","deepStructEnhancer","ObservableMap","refStructEnhancer","transaction","thisArg","initialValues","deprecated","getGlobal","window","mobxGuid","message","check","msg","deprecatedMessages","console","error","invoked","unique","item","joinStrings","things","limit","separator","join","proto","getPrototypeOf","source","prototypeHasOwnProperty","writable","createInstanceofPredicate","clazz","x","isNaN","isArrayLike","Map","getMapLikeKeys","map$$1","_a","from","it","primitiveSymbol","toPrimitive","isolateGlobalState","runInIsolationCalled","__mobxInstanceCount","shareGlobalState","shareGlobalStateCalled","ownState","__mobservableTrackingStack","__mobservableViewStack","__mobxGlobal","version","getGlobalState","resetGlobalState","resetId","defaultGlobals","MobXGlobals","persistentKeys","getAtom","atom","anyThing","_keys","_data","_hasMap","getDebugName","getAdministration","named","getDependencyTree","nodeToDependencyTree","result","observing","dependencies","getObserverTree","nodeToObserverTree","hasObservers","observers","getObservers","addObserver","observersIndexes","__mapid","lowestObserverState","dependenciesState","removeObserver","queueForUnobservation","filler","isPendingUnobservation","pendingUnobservations","inBatch","runReactions","onBecomeUnobserved","reportObserved","derivation","runId","lastAccessedBy","newObserving","unboundDepsCount","propagateChanged","IDerivationState","STALE","UP_TO_DATE","isTracing","TraceMode","NONE","logTraceInfo","onBecomeStale","propagateChangeConfirmed","POSSIBLY_STALE","propagateMaybeChanged","log","BREAK","lines","printDepTree","Function","tree","depth","isCaughtException","CaughtException","shouldCompute","NOT_TRACKING","obs","changeDependenciesStateTo0","isComputingDerivation","checkIfStateModificationsAreAllowed","hasObservers$$1","computationDepth","trackDerivedFunction","prevTracking","bindDependencies","prevObserving","lowestNewObservingDerivationState","i0","dep","diffValue","clearObserving","untracked","whyRun","getAtomFromArgs","trace","enterBreakPoint","LOG","registerErrorHandler","errorHandler","onReactionError","globalReactionErrorHandlers","isRunningReactions","reactionScheduler","runReactionsHelper","allReactions","pendingReactions","iterations","MAX_REACTION_ITERATIONS","remainingReactions","runReaction","setReactionScheduler","baseScheduler","asReference","asStructure","asFlat","shallow","asMap","data","createComputedDecorator","originalDescriptor","isComputed","observe","propOrCb","cbOrFire","observeObservableProperty","observeObservable","intercept","propOrHandler","interceptProperty","interceptInterceptable","expr","warn","computed","toJS","detectCycles","__alreadySeen","cache","toAdd","res_1","isObservableValue","createTransformer","transformer","onCleanup","objectCache","Transformer","_super","sourceIdentifier","sourceObject","_this","lastValue","identifier","getMemoizationId","reactiveTransformer","tid","$transformId","interceptReads","dehancer","setPrototypeOf","__proto__","BaseAtom","reportChanged","Atom","onBecomeObservedHandler","onBecomeUnobservedHandler","noop","isBeingTracked","safariPrototypeSetterInheritanceBug","StubArray","ctor","isFrozen","ObservableArrayAdministration","owned","lastKnownLength","newV","oldV","dehanceValue","dehanceValues","added","addedCount","removed","removedCount","getArrayLength","setArrayLength","newLength","currentLength","newItems","spliceWithArray","updateArrayLength","oldLength","delta","deleteCount","Math","EMPTY_ARRAY","spliceItemsIntoValues","notifyArraySplice","concat","notifyArrayChildUpdate","ENTRY_0","clear","arrays","toJSON","find","fromIndex","findIndex","shift","reverse","clone","sort","remove","move","toIndex","checkIndex","oldItems","impl","funcName","baseFunc","propNames","hasUnreportedChange","m001","m002","m003","m004","m005","m006","m007","m008","m009","m010","m011","m012","m013","m014","m015","m016","m017","m018","m019","m020","m021","m022","m024","m025","m026","m028","m029","m030a","m030b","m031","m032","m033","m034","m035","m036","m037","m038","boundActionDecorator","bound","action_1","identity","isComputing","isRunningSetter","computeValue","trackAndCompute","cause","wasSuspended","prevValue","isTracking","shallowDecorator","refDecorator","deepStructDecorator","refStructDecorator","observableFactories","shallowBox","deep","ObservableMapMarker","initialData","_has","isValidKey","_updateHasMapEntry","assertValidKey","hasKey","_updateValue","_addValue","delete","entry","observable$$1","other","newKeys","filter","k","freeze","warnedAboutMultipleInstances","global_1","onInvalidate","_isScheduled","_isTrackPending","_isRunning","reportExceptionInDerivation","messageToUser","onError","computedDecorator","computedStructDecorator","extras","everything","isBoxedObservable","warnedAboutDefaultExport","val","__MOBX_DEVTOOLS_GLOBAL_HOOK__","injectMobx","Provider","inject","connect","useStaticRendering","Observer","observer","_observer","require","_connect","_inject","_Provider","_mobx","_classCallCheck","Constructor","TypeError","_possibleConstructorReturn","ReferenceError","_typeof2","_inherits","subClass","superClass","isUsingStaticRendering","patch","runMixinFirst","mixinFunc","reactiveMixin","isObjectShallowModified","componentClass","logger","isMobxInjector","_utils","isStateless","_class","_temp","_Component","_createClass","_preact","displayName","makeDisplayName","mixinLifecycleEvents","isMobXReactObserver","defineProperties","protoProps","staticProps","makePropertyObservableReference","valueHolder","isForcingUpdate","skipRender","initialName","baseRender","isRenderingPending","initialRender","componentWillReact","__$mobxIsUnmounted","hasError","reactComponent","reactiveRender","exception","rendering","nextProps","nextState","_ref","isPrototypeOf","_ref$prefix","prefix","_ref$suffix","suffix","createStoreInjector","grabStoresFn","injectNames","Injector","newProps","additionalProps","mobxStores","_key","_hoistNonReactStatics2","wrappedComponent","proxiedInjectorProps","grabStoresByName","storeNames","baseStores","storeName","injected","_hoistNonReactStatics","JSONHTTPError","TextHTTPError","HTTPError","getPagination","_extends","assign","_pagination","_extendableBuiltin2","response","statusText","captureStackTrace","status","cls","ExtendableBuiltin","Reflect","construct","_HTTPError","_this2","_HTTPError2","json","_this3","API","apiURL","match","_sameOrigin","defaultHeaders","Content-Type","ok","reject","pagination","path","_this4","headers","credentials","fetch","contentType","parseJsonResponse","text","Button","_props","saving","saving_text","confirm","password_mail","email_changed","verfication_error","signup_disabled","Message","_interopRequireDefault","trigger","_arguments","callbacks","cb","setStyle","el","css","queuedIframeStyle","instantiateGotrue","APIUrl","isLocal","localHosts","location","host","split","siteURL","localStorage","getItem","GoTrue","setCookie","parts","runRoutes","hash","routes","store","verifyToken","errorRoute","openModal","accessTokenRoute","params","pair","_pair$split","_pair$split2","_slicedToArray","cookie","completeExternalLogin","init","_options$logo","logo","namePlaceholder","controlEls","querySelectorAll","mode","getAttribute","_mobxPreact","_controls2","innerText","modal","setNamePlaceholder","iframe","onload","styles","contentDocument","modalCSS","head","_app2","body","iframeStyle","src","container","querySelector","sliceIterator","arr","_arr","_n","_d","_e","_s","err","_gotrueJs","_gotrueJs2","_app","_store","_store2","_controls","_modal","_modal2","validActions","login","signup","netlifyIdentity","on","open","user","close","closeModal","currentUser","gotrue","logout","localhost","127.0.0.1","0.0.0.0","position","top","left","border","width","height","overflow","background","display","z-index","settings","loadSettings","isOpen","page","removeItem","setItem","g","eval","hoistNonReactStatics","targetComponent","sourceComponent","blacklist","objectPrototype","inheritedComponent","getOwnPropertyNames","getOwnPropertySymbols","REACT_STATICS","KNOWN_STATICS","childContextTypes","contextTypes","getDefaultProps","mixins","propTypes","caller","callee","arity","specialReactKeys","stores","suppressChangedStoreWarning","_microApiClient","_microApiClient2","_user","_user2","HTTPRegexp","defaultApiURL","_ref$APIUrl","_ref$audience","audience","_ref$setCookie","api","aud","request","catch","error_description","_request","email","password","method","JSON","stringify","remember","_setRememberHeaders","encodeURIComponent","removeSavedSession","createUser","provider","token","verify","tokenResponse","getUserData","_saveSession","recoverSession","_fromStorage","links","total","link","_link$split","_link$split2","url","rel","parseInt","last","first","current","urlBase64Decode","str","output","atob","decodeURIComponent","escape","_admin","_admin2","refreshPromises","forbiddenUpdateAttributes","forbiddenSaveAttributes","User","_processTokenResponse","_saveUserData","_refreshSavedSession","forceRefresh","_tokenDetails","tokenDetails","expires_at","refresh_token","access_token","_refreshToken","clearSession","jwt","Authorization","fromStorage","claims","parse","exp","_details","userCopy","apiInstance","ex","Admin","_siteurl","_siteurl2","_logout","_logout2","_providers","_providers2","_message","_message2","pagesWithHeader","pages","button","button_saving","link_text","providers","amnesia","title","recovery","invite","App","_ret","_len","handleClose","handlePage","handleLogout","handleSiteURL","setSiteURL","clearSiteURL","handleExternalLogin","externalLogin","handleUser","_ref2","requestPasswordRecovery","acceptInvite","updatePassword","pageLinkHandler","onLogout","disable_signup","onSubmit","onclick","devMode","onSiteURL","external","labels","external_labels","onLogin","showHeader","showSignup","devSettings","loading","onPage","onClose","renderBody","renderProviders","formatError","Modal","preventDefault","blockEvent","stopPropagation","linkHandler","role","aria-hidden","onClick","href","_defineProperty","SiteURLForm","handleInput","addSiteURL","development","_state","class","onsubmit","placeholder","autocapitalize","required","oninput","_button","_button2","LogoutForm","user_metadata","full_name","UserForm","handleLogin","label","_Component2","Providers","pId","_props2","getLabel","recovered_user","invite_token","email_change_token","setError","reloadSettings","doEmailChange","acceptInviteExternalUrl","loginExternalUrl","autoconfirm","update","recover","Controls","handleSignup","handleButton","cssWithMappingToString","useSourceMap","content","cssMapping","btoa","sourceMapping","toComment","sources","sourceRoot","sourceMap","unescape","mediaQuery","alreadyImportedModules"],"mappings":"CAAA,SAAAA,EAAAC,GACA,gBAAAC,UAAA,gBAAAC,QACAA,OAAAD,QAAAD,IACA,kBAAAG,gBAAAC,IACAD,UAAAH,GACA,gBAAAC,SACAA,QAAA,gBAAAD,IAEAD,EAAA,gBAAAC,KACC,mBAAAK,WAAAC,KAAA,WACD,MCAgB,UAAUC,GCN1B,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAR,OAGA,IAAAC,GAAAQ,EAAAD,IACAE,EAAAF,EACAG,GAAA,EACAX,WAUA,OANAM,GAAAE,GAAAI,KAAAX,EAAAD,QAAAC,IAAAD,QAAAO,GAGAN,EAAAU,GAAA,EAGAV,EAAAD,QAvBA,GAAAS,KA4DA,OAhCAF,GAAAM,EAAAP,EAGAC,EAAAO,EAAAL,EAGAF,EAAAQ,EAAA,SAAAf,EAAAgB,EAAAC,GACAV,EAAAW,EAAAlB,EAAAgB,IACAG,OAAAC,eAAApB,EAAAgB,GACAK,cAAA,EACAC,YAAA,EACAC,IAAAN,KAMAV,EAAAiB,EAAA,SAAAvB,GACA,GAAAgB,GAAAhB,KAAAwB,WACA,WAA2B,MAAAxB,GAAA,SAC3B,WAAiC,MAAAA,GAEjC,OADAM,GAAAQ,EAAAE,EAAA,IAAAA,GACAA,GAIAV,EAAAW,EAAA,SAAAQ,EAAAC,GAAsD,MAAAR,QAAAS,UAAAC,eAAAjB,K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AC3DsxB,IAAetxB,EAAK,GACtBA,EAAK,GAAKsxB,EACDA,IACTtxB,EAAK,GAAK,IAAMA,EAAK,GAAK,UAAYsxB,EAAa,KAEpDjtC,EAAKpB,KAAK+c,MAIN3b,M7BqnPa","file":"netlify-identity.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"netlifyIdentity\"] = factory();\n\telse\n\t\troot[\"netlifyIdentity\"] = factory();\n})(typeof self !== 'undefined' ? self : this, function() {\nreturn \n\n\n// WEBPACK FOOTER //\n// webpack/universalModuleDefinition","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"netlifyIdentity\"] = factory();\n\telse\n\t\troot[\"netlifyIdentity\"] = factory();\n})(typeof self !== 'undefined' ? self : this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"/\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 9);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"h\", function() { return h; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createElement\", function() { return h; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"cloneElement\", function() { return cloneElement; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Component\", function() { return Component; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"rerender\", function() { return rerender; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"options\", function() { return options; });\nvar VNode = function VNode() {};\n\nvar options = {};\n\nvar stack = [];\n\nvar EMPTY_CHILDREN = [];\n\nfunction h(nodeName, attributes) {\n\tvar children = EMPTY_CHILDREN,\n\t lastSimple,\n\t child,\n\t simple,\n\t i;\n\tfor (i = arguments.length; i-- > 2;) {\n\t\tstack.push(arguments[i]);\n\t}\n\tif (attributes && attributes.children != null) {\n\t\tif (!stack.length) stack.push(attributes.children);\n\t\tdelete attributes.children;\n\t}\n\twhile (stack.length) {\n\t\tif ((child = stack.pop()) && child.pop !== undefined) {\n\t\t\tfor (i = child.length; i--;) {\n\t\t\t\tstack.push(child[i]);\n\t\t\t}\n\t\t} else {\n\t\t\tif (typeof child === 'boolean') child = null;\n\n\t\t\tif (simple = typeof nodeName !== 'function') {\n\t\t\t\tif (child == null) child = '';else if (typeof child === 'number') child = String(child);else if (typeof child !== 'string') simple = false;\n\t\t\t}\n\n\t\t\tif (simple && lastSimple) {\n\t\t\t\tchildren[children.length - 1] += child;\n\t\t\t} else if (children === EMPTY_CHILDREN) {\n\t\t\t\tchildren = [child];\n\t\t\t} else {\n\t\t\t\tchildren.push(child);\n\t\t\t}\n\n\t\t\tlastSimple = simple;\n\t\t}\n\t}\n\n\tvar p = new VNode();\n\tp.nodeName = nodeName;\n\tp.children = children;\n\tp.attributes = attributes == null ? undefined : attributes;\n\tp.key = attributes == null ? undefined : attributes.key;\n\n\tif (options.vnode !== undefined) options.vnode(p);\n\n\treturn p;\n}\n\nfunction extend(obj, props) {\n for (var i in props) {\n obj[i] = props[i];\n }return obj;\n}\n\nvar defer = typeof Promise == 'function' ? Promise.resolve().then.bind(Promise.resolve()) : setTimeout;\n\nfunction cloneElement(vnode, props) {\n return h(vnode.nodeName, extend(extend({}, vnode.attributes), props), arguments.length > 2 ? [].slice.call(arguments, 2) : vnode.children);\n}\n\nvar IS_NON_DIMENSIONAL = /acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i;\n\nvar items = [];\n\nfunction enqueueRender(component) {\n\tif (!component._dirty && (component._dirty = true) && items.push(component) == 1) {\n\t\t(options.debounceRendering || defer)(rerender);\n\t}\n}\n\nfunction rerender() {\n\tvar p,\n\t list = items;\n\titems = [];\n\twhile (p = list.pop()) {\n\t\tif (p._dirty) renderComponent(p);\n\t}\n}\n\nfunction isSameNodeType(node, vnode, hydrating) {\n\tif (typeof vnode === 'string' || typeof vnode === 'number') {\n\t\treturn node.splitText !== undefined;\n\t}\n\tif (typeof vnode.nodeName === 'string') {\n\t\treturn !node._componentConstructor && isNamedNode(node, vnode.nodeName);\n\t}\n\treturn hydrating || node._componentConstructor === vnode.nodeName;\n}\n\nfunction isNamedNode(node, nodeName) {\n\treturn node.normalizedNodeName === nodeName || node.nodeName.toLowerCase() === nodeName.toLowerCase();\n}\n\nfunction getNodeProps(vnode) {\n\tvar props = extend({}, vnode.attributes);\n\tprops.children = vnode.children;\n\n\tvar defaultProps = vnode.nodeName.defaultProps;\n\tif (defaultProps !== undefined) {\n\t\tfor (var i in defaultProps) {\n\t\t\tif (props[i] === undefined) {\n\t\t\t\tprops[i] = defaultProps[i];\n\t\t\t}\n\t\t}\n\t}\n\n\treturn props;\n}\n\nfunction createNode(nodeName, isSvg) {\n\tvar node = isSvg ? document.createElementNS('http://www.w3.org/2000/svg', nodeName) : document.createElement(nodeName);\n\tnode.normalizedNodeName = nodeName;\n\treturn node;\n}\n\nfunction removeNode(node) {\n\tvar parentNode = node.parentNode;\n\tif (parentNode) parentNode.removeChild(node);\n}\n\nfunction setAccessor(node, name, old, value, isSvg) {\n\tif (name === 'className') name = 'class';\n\n\tif (name === 'key') {} else if (name === 'ref') {\n\t\tif (old) old(null);\n\t\tif (value) value(node);\n\t} else if (name === 'class' && !isSvg) {\n\t\tnode.className = value || '';\n\t} else if (name === 'style') {\n\t\tif (!value || typeof value === 'string' || typeof old === 'string') {\n\t\t\tnode.style.cssText = value || '';\n\t\t}\n\t\tif (value && typeof value === 'object') {\n\t\t\tif (typeof old !== 'string') {\n\t\t\t\tfor (var i in old) {\n\t\t\t\t\tif (!(i in value)) node.style[i] = '';\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (var i in value) {\n\t\t\t\tnode.style[i] = typeof value[i] === 'number' && IS_NON_DIMENSIONAL.test(i) === false ? value[i] + 'px' : value[i];\n\t\t\t}\n\t\t}\n\t} else if (name === 'dangerouslySetInnerHTML') {\n\t\tif (value) node.innerHTML = value.__html || '';\n\t} else if (name[0] == 'o' && name[1] == 'n') {\n\t\tvar useCapture = name !== (name = name.replace(/Capture$/, ''));\n\t\tname = name.toLowerCase().substring(2);\n\t\tif (value) {\n\t\t\tif (!old) node.addEventListener(name, eventProxy, useCapture);\n\t\t} else {\n\t\t\tnode.removeEventListener(name, eventProxy, useCapture);\n\t\t}\n\t\t(node._listeners || (node._listeners = {}))[name] = value;\n\t} else if (name !== 'list' && name !== 'type' && !isSvg && name in node) {\n\t\ttry {\n\t\t\tnode[name] = value == null ? '' : value;\n\t\t} catch (e) {}\n\t\tif ((value == null || value === false) && name != 'spellcheck') node.removeAttribute(name);\n\t} else {\n\t\tvar ns = isSvg && name !== (name = name.replace(/^xlink:?/, ''));\n\n\t\tif (value == null || value === false) {\n\t\t\tif (ns) node.removeAttributeNS('http://www.w3.org/1999/xlink', name.toLowerCase());else node.removeAttribute(name);\n\t\t} else if (typeof value !== 'function') {\n\t\t\tif (ns) node.setAttributeNS('http://www.w3.org/1999/xlink', name.toLowerCase(), value);else node.setAttribute(name, value);\n\t\t}\n\t}\n}\n\nfunction eventProxy(e) {\n\treturn this._listeners[e.type](options.event && options.event(e) || e);\n}\n\nvar mounts = [];\n\nvar diffLevel = 0;\n\nvar isSvgMode = false;\n\nvar hydrating = false;\n\nfunction flushMounts() {\n\tvar c;\n\twhile (c = mounts.pop()) {\n\t\tif (options.afterMount) options.afterMount(c);\n\t\tif (c.componentDidMount) c.componentDidMount();\n\t}\n}\n\nfunction diff(dom, vnode, context, mountAll, parent, componentRoot) {\n\tif (!diffLevel++) {\n\t\tisSvgMode = parent != null && parent.ownerSVGElement !== undefined;\n\n\t\thydrating = dom != null && !('__preactattr_' in dom);\n\t}\n\n\tvar ret = idiff(dom, vnode, context, mountAll, componentRoot);\n\n\tif (parent && ret.parentNode !== parent) parent.appendChild(ret);\n\n\tif (! --diffLevel) {\n\t\thydrating = false;\n\n\t\tif (!componentRoot) flushMounts();\n\t}\n\n\treturn ret;\n}\n\nfunction idiff(dom, vnode, context, mountAll, componentRoot) {\n\tvar out = dom,\n\t prevSvgMode = isSvgMode;\n\n\tif (vnode == null || typeof vnode === 'boolean') vnode = '';\n\n\tif (typeof vnode === 'string' || typeof vnode === 'number') {\n\t\tif (dom && dom.splitText !== undefined && dom.parentNode && (!dom._component || componentRoot)) {\n\t\t\tif (dom.nodeValue != vnode) {\n\t\t\t\tdom.nodeValue = vnode;\n\t\t\t}\n\t\t} else {\n\t\t\tout = document.createTextNode(vnode);\n\t\t\tif (dom) {\n\t\t\t\tif (dom.parentNode) dom.parentNode.replaceChild(out, dom);\n\t\t\t\trecollectNodeTree(dom, true);\n\t\t\t}\n\t\t}\n\n\t\tout['__preactattr_'] = true;\n\n\t\treturn out;\n\t}\n\n\tvar vnodeName = vnode.nodeName;\n\tif (typeof vnodeName === 'function') {\n\t\treturn buildComponentFromVNode(dom, vnode, context, mountAll);\n\t}\n\n\tisSvgMode = vnodeName === 'svg' ? true : vnodeName === 'foreignObject' ? false : isSvgMode;\n\n\tvnodeName = String(vnodeName);\n\tif (!dom || !isNamedNode(dom, vnodeName)) {\n\t\tout = createNode(vnodeName, isSvgMode);\n\n\t\tif (dom) {\n\t\t\twhile (dom.firstChild) {\n\t\t\t\tout.appendChild(dom.firstChild);\n\t\t\t}\n\t\t\tif (dom.parentNode) dom.parentNode.replaceChild(out, dom);\n\n\t\t\trecollectNodeTree(dom, true);\n\t\t}\n\t}\n\n\tvar fc = out.firstChild,\n\t props = out['__preactattr_'],\n\t vchildren = vnode.children;\n\n\tif (props == null) {\n\t\tprops = out['__preactattr_'] = {};\n\t\tfor (var a = out.attributes, i = a.length; i--;) {\n\t\t\tprops[a[i].name] = a[i].value;\n\t\t}\n\t}\n\n\tif (!hydrating && vchildren && vchildren.length === 1 && typeof vchildren[0] === 'string' && fc != null && fc.splitText !== undefined && fc.nextSibling == null) {\n\t\tif (fc.nodeValue != vchildren[0]) {\n\t\t\tfc.nodeValue = vchildren[0];\n\t\t}\n\t} else if (vchildren && vchildren.length || fc != null) {\n\t\t\tinnerDiffNode(out, vchildren, context, mountAll, hydrating || props.dangerouslySetInnerHTML != null);\n\t\t}\n\n\tdiffAttributes(out, vnode.attributes, props);\n\n\tisSvgMode = prevSvgMode;\n\n\treturn out;\n}\n\nfunction innerDiffNode(dom, vchildren, context, mountAll, isHydrating) {\n\tvar originalChildren = dom.childNodes,\n\t children = [],\n\t keyed = {},\n\t keyedLen = 0,\n\t min = 0,\n\t len = originalChildren.length,\n\t childrenLen = 0,\n\t vlen = vchildren ? vchildren.length : 0,\n\t j,\n\t c,\n\t f,\n\t vchild,\n\t child;\n\n\tif (len !== 0) {\n\t\tfor (var i = 0; i < len; i++) {\n\t\t\tvar _child = originalChildren[i],\n\t\t\t props = _child['__preactattr_'],\n\t\t\t key = vlen && props ? _child._component ? _child._component.__key : props.key : null;\n\t\t\tif (key != null) {\n\t\t\t\tkeyedLen++;\n\t\t\t\tkeyed[key] = _child;\n\t\t\t} else if (props || (_child.splitText !== undefined ? isHydrating ? _child.nodeValue.trim() : true : isHydrating)) {\n\t\t\t\tchildren[childrenLen++] = _child;\n\t\t\t}\n\t\t}\n\t}\n\n\tif (vlen !== 0) {\n\t\tfor (var i = 0; i < vlen; i++) {\n\t\t\tvchild = vchildren[i];\n\t\t\tchild = null;\n\n\t\t\tvar key = vchild.key;\n\t\t\tif (key != null) {\n\t\t\t\tif (keyedLen && keyed[key] !== undefined) {\n\t\t\t\t\tchild = keyed[key];\n\t\t\t\t\tkeyed[key] = undefined;\n\t\t\t\t\tkeyedLen--;\n\t\t\t\t}\n\t\t\t} else if (min < childrenLen) {\n\t\t\t\t\tfor (j = min; j < childrenLen; j++) {\n\t\t\t\t\t\tif (children[j] !== undefined && isSameNodeType(c = children[j], vchild, isHydrating)) {\n\t\t\t\t\t\t\tchild = c;\n\t\t\t\t\t\t\tchildren[j] = undefined;\n\t\t\t\t\t\t\tif (j === childrenLen - 1) childrenLen--;\n\t\t\t\t\t\t\tif (j === min) min++;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\tchild = idiff(child, vchild, context, mountAll);\n\n\t\t\tf = originalChildren[i];\n\t\t\tif (child && child !== dom && child !== f) {\n\t\t\t\tif (f == null) {\n\t\t\t\t\tdom.appendChild(child);\n\t\t\t\t} else if (child === f.nextSibling) {\n\t\t\t\t\tremoveNode(f);\n\t\t\t\t} else {\n\t\t\t\t\tdom.insertBefore(child, f);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tif (keyedLen) {\n\t\tfor (var i in keyed) {\n\t\t\tif (keyed[i] !== undefined) recollectNodeTree(keyed[i], false);\n\t\t}\n\t}\n\n\twhile (min <= childrenLen) {\n\t\tif ((child = children[childrenLen--]) !== undefined) recollectNodeTree(child, false);\n\t}\n}\n\nfunction recollectNodeTree(node, unmountOnly) {\n\tvar component = node._component;\n\tif (component) {\n\t\tunmountComponent(component);\n\t} else {\n\t\tif (node['__preactattr_'] != null && node['__preactattr_'].ref) node['__preactattr_'].ref(null);\n\n\t\tif (unmountOnly === false || node['__preactattr_'] == null) {\n\t\t\tremoveNode(node);\n\t\t}\n\n\t\tremoveChildren(node);\n\t}\n}\n\nfunction removeChildren(node) {\n\tnode = node.lastChild;\n\twhile (node) {\n\t\tvar next = node.previousSibling;\n\t\trecollectNodeTree(node, true);\n\t\tnode = next;\n\t}\n}\n\nfunction diffAttributes(dom, attrs, old) {\n\tvar name;\n\n\tfor (name in old) {\n\t\tif (!(attrs && attrs[name] != null) && old[name] != null) {\n\t\t\tsetAccessor(dom, name, old[name], old[name] = undefined, isSvgMode);\n\t\t}\n\t}\n\n\tfor (name in attrs) {\n\t\tif (name !== 'children' && name !== 'innerHTML' && (!(name in old) || attrs[name] !== (name === 'value' || name === 'checked' ? dom[name] : old[name]))) {\n\t\t\tsetAccessor(dom, name, old[name], old[name] = attrs[name], isSvgMode);\n\t\t}\n\t}\n}\n\nvar recyclerComponents = [];\n\nfunction createComponent(Ctor, props, context) {\n\tvar inst,\n\t i = recyclerComponents.length;\n\n\tif (Ctor.prototype && Ctor.prototype.render) {\n\t\tinst = new Ctor(props, context);\n\t\tComponent.call(inst, props, context);\n\t} else {\n\t\tinst = new Component(props, context);\n\t\tinst.constructor = Ctor;\n\t\tinst.render = doRender;\n\t}\n\n\twhile (i--) {\n\t\tif (recyclerComponents[i].constructor === Ctor) {\n\t\t\tinst.nextBase = recyclerComponents[i].nextBase;\n\t\t\trecyclerComponents.splice(i, 1);\n\t\t\treturn inst;\n\t\t}\n\t}\n\n\treturn inst;\n}\n\nfunction doRender(props, state, context) {\n\treturn this.constructor(props, context);\n}\n\nfunction setComponentProps(component, props, renderMode, context, mountAll) {\n\tif (component._disable) return;\n\tcomponent._disable = true;\n\n\tcomponent.__ref = props.ref;\n\tcomponent.__key = props.key;\n\tdelete props.ref;\n\tdelete props.key;\n\n\tif (typeof component.constructor.getDerivedStateFromProps === 'undefined') {\n\t\tif (!component.base || mountAll) {\n\t\t\tif (component.componentWillMount) component.componentWillMount();\n\t\t} else if (component.componentWillReceiveProps) {\n\t\t\tcomponent.componentWillReceiveProps(props, context);\n\t\t}\n\t}\n\n\tif (context && context !== component.context) {\n\t\tif (!component.prevContext) component.prevContext = component.context;\n\t\tcomponent.context = context;\n\t}\n\n\tif (!component.prevProps) component.prevProps = component.props;\n\tcomponent.props = props;\n\n\tcomponent._disable = false;\n\n\tif (renderMode !== 0) {\n\t\tif (renderMode === 1 || options.syncComponentUpdates !== false || !component.base) {\n\t\t\trenderComponent(component, 1, mountAll);\n\t\t} else {\n\t\t\tenqueueRender(component);\n\t\t}\n\t}\n\n\tif (component.__ref) component.__ref(component);\n}\n\nfunction renderComponent(component, renderMode, mountAll, isChild) {\n\tif (component._disable) return;\n\n\tvar props = component.props,\n\t state = component.state,\n\t context = component.context,\n\t previousProps = component.prevProps || props,\n\t previousState = component.prevState || state,\n\t previousContext = component.prevContext || context,\n\t isUpdate = component.base,\n\t nextBase = component.nextBase,\n\t initialBase = isUpdate || nextBase,\n\t initialChildComponent = component._component,\n\t skip = false,\n\t snapshot = previousContext,\n\t rendered,\n\t inst,\n\t cbase;\n\n\tif (component.constructor.getDerivedStateFromProps) {\n\t\tstate = extend(extend({}, state), component.constructor.getDerivedStateFromProps(props, state));\n\t\tcomponent.state = state;\n\t}\n\n\tif (isUpdate) {\n\t\tcomponent.props = previousProps;\n\t\tcomponent.state = previousState;\n\t\tcomponent.context = previousContext;\n\t\tif (renderMode !== 2 && component.shouldComponentUpdate && component.shouldComponentUpdate(props, state, context) === false) {\n\t\t\tskip = true;\n\t\t} else if (component.componentWillUpdate) {\n\t\t\tcomponent.componentWillUpdate(props, state, context);\n\t\t}\n\t\tcomponent.props = props;\n\t\tcomponent.state = state;\n\t\tcomponent.context = context;\n\t}\n\n\tcomponent.prevProps = component.prevState = component.prevContext = component.nextBase = null;\n\tcomponent._dirty = false;\n\n\tif (!skip) {\n\t\trendered = component.render(props, state, context);\n\n\t\tif (component.getChildContext) {\n\t\t\tcontext = extend(extend({}, context), component.getChildContext());\n\t\t}\n\n\t\tif (isUpdate && component.getSnapshotBeforeUpdate) {\n\t\t\tsnapshot = component.getSnapshotBeforeUpdate(previousProps, previousState);\n\t\t}\n\n\t\tvar childComponent = rendered && rendered.nodeName,\n\t\t toUnmount,\n\t\t base;\n\n\t\tif (typeof childComponent === 'function') {\n\n\t\t\tvar childProps = getNodeProps(rendered);\n\t\t\tinst = initialChildComponent;\n\n\t\t\tif (inst && inst.constructor === childComponent && childProps.key == inst.__key) {\n\t\t\t\tsetComponentProps(inst, childProps, 1, context, false);\n\t\t\t} else {\n\t\t\t\ttoUnmount = inst;\n\n\t\t\t\tcomponent._component = inst = createComponent(childComponent, childProps, context);\n\t\t\t\tinst.nextBase = inst.nextBase || nextBase;\n\t\t\t\tinst._parentComponent = component;\n\t\t\t\tsetComponentProps(inst, childProps, 0, context, false);\n\t\t\t\trenderComponent(inst, 1, mountAll, true);\n\t\t\t}\n\n\t\t\tbase = inst.base;\n\t\t} else {\n\t\t\tcbase = initialBase;\n\n\t\t\ttoUnmount = initialChildComponent;\n\t\t\tif (toUnmount) {\n\t\t\t\tcbase = component._component = null;\n\t\t\t}\n\n\t\t\tif (initialBase || renderMode === 1) {\n\t\t\t\tif (cbase) cbase._component = null;\n\t\t\t\tbase = diff(cbase, rendered, context, mountAll || !isUpdate, initialBase && initialBase.parentNode, true);\n\t\t\t}\n\t\t}\n\n\t\tif (initialBase && base !== initialBase && inst !== initialChildComponent) {\n\t\t\tvar baseParent = initialBase.parentNode;\n\t\t\tif (baseParent && base !== baseParent) {\n\t\t\t\tbaseParent.replaceChild(base, initialBase);\n\n\t\t\t\tif (!toUnmount) {\n\t\t\t\t\tinitialBase._component = null;\n\t\t\t\t\trecollectNodeTree(initialBase, false);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (toUnmount) {\n\t\t\tunmountComponent(toUnmount);\n\t\t}\n\n\t\tcomponent.base = base;\n\t\tif (base && !isChild) {\n\t\t\tvar componentRef = component,\n\t\t\t t = component;\n\t\t\twhile (t = t._parentComponent) {\n\t\t\t\t(componentRef = t).base = base;\n\t\t\t}\n\t\t\tbase._component = componentRef;\n\t\t\tbase._componentConstructor = componentRef.constructor;\n\t\t}\n\t}\n\n\tif (!isUpdate || mountAll) {\n\t\tmounts.unshift(component);\n\t} else if (!skip) {\n\n\t\tif (component.componentDidUpdate) {\n\t\t\tcomponent.componentDidUpdate(previousProps, previousState, snapshot);\n\t\t}\n\t\tif (options.afterUpdate) options.afterUpdate(component);\n\t}\n\n\twhile (component._renderCallbacks.length) {\n\t\tcomponent._renderCallbacks.pop().call(component);\n\t}if (!diffLevel && !isChild) flushMounts();\n}\n\nfunction buildComponentFromVNode(dom, vnode, context, mountAll) {\n\tvar c = dom && dom._component,\n\t originalComponent = c,\n\t oldDom = dom,\n\t isDirectOwner = c && dom._componentConstructor === vnode.nodeName,\n\t isOwner = isDirectOwner,\n\t props = getNodeProps(vnode);\n\twhile (c && !isOwner && (c = c._parentComponent)) {\n\t\tisOwner = c.constructor === vnode.nodeName;\n\t}\n\n\tif (c && isOwner && (!mountAll || c._component)) {\n\t\tsetComponentProps(c, props, 3, context, mountAll);\n\t\tdom = c.base;\n\t} else {\n\t\tif (originalComponent && !isDirectOwner) {\n\t\t\tunmountComponent(originalComponent);\n\t\t\tdom = oldDom = null;\n\t\t}\n\n\t\tc = createComponent(vnode.nodeName, props, context);\n\t\tif (dom && !c.nextBase) {\n\t\t\tc.nextBase = dom;\n\n\t\t\toldDom = null;\n\t\t}\n\t\tsetComponentProps(c, props, 1, context, mountAll);\n\t\tdom = c.base;\n\n\t\tif (oldDom && dom !== oldDom) {\n\t\t\toldDom._component = null;\n\t\t\trecollectNodeTree(oldDom, false);\n\t\t}\n\t}\n\n\treturn dom;\n}\n\nfunction unmountComponent(component) {\n\tif (options.beforeUnmount) options.beforeUnmount(component);\n\n\tvar base = component.base;\n\n\tcomponent._disable = true;\n\n\tif (component.componentWillUnmount) component.componentWillUnmount();\n\n\tcomponent.base = null;\n\n\tvar inner = component._component;\n\tif (inner) {\n\t\tunmountComponent(inner);\n\t} else if (base) {\n\t\tif (base['__preactattr_'] && base['__preactattr_'].ref) base['__preactattr_'].ref(null);\n\n\t\tcomponent.nextBase = base;\n\n\t\tremoveNode(base);\n\t\trecyclerComponents.push(component);\n\n\t\tremoveChildren(base);\n\t}\n\n\tif (component.__ref) component.__ref(null);\n}\n\nfunction Component(props, context) {\n\tthis._dirty = true;\n\n\tthis.context = context;\n\n\tthis.props = props;\n\n\tthis.state = this.state || {};\n\n\tthis._renderCallbacks = [];\n}\n\nextend(Component.prototype, {\n\tsetState: function setState(state, callback) {\n\t\tif (!this.prevState) this.prevState = this.state;\n\t\tthis.state = extend(extend({}, this.state), typeof state === 'function' ? state(this.state, this.props) : state);\n\t\tif (callback) this._renderCallbacks.push(callback);\n\t\tenqueueRender(this);\n\t},\n\tforceUpdate: function forceUpdate(callback) {\n\t\tif (callback) this._renderCallbacks.push(callback);\n\t\trenderComponent(this, 2);\n\t},\n\trender: function render() {}\n});\n\nfunction render(vnode, parent, merge) {\n return diff(merge, vnode, {}, false, parent, false);\n}\n\nvar preact = {\n\th: h,\n\tcreateElement: h,\n\tcloneElement: cloneElement,\n\tComponent: Component,\n\trender: render,\n\trerender: rerender,\n\toptions: options\n};\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (preact);\n\n//# sourceMappingURL=preact.mjs.map\n\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(global) {\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\n/** MobX - (c) Michel Weststrate 2015, 2016 - MIT Licensed */\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\n/* global Reflect, Promise */\n\nvar extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function (d, b) {\n d.__proto__ = b;\n} || function (d, b) {\n for (var p in b) {\n if (b.hasOwnProperty(p)) d[p] = b[p];\n }\n};\n\nfunction __extends(d, b) {\n extendStatics(d, b);\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\n/**\n * Anything that can be used to _store_ state is an Atom in mobx. Atoms have two important jobs\n *\n * 1) detect when they are being _used_ and report this (using reportObserved). This allows mobx to make the connection between running functions and the data they used\n * 2) they should notify mobx whenever they have _changed_. This way mobx can re-run any functions (derivations) that are using this atom.\n */\nvar BaseAtom = /** @class */function () {\n /**\n * Create a new atom. For debugging purposes it is recommended to give it a name.\n * The onBecomeObserved and onBecomeUnobserved callbacks can be used for resource management.\n */\n function BaseAtom(name) {\n if (name === void 0) {\n name = \"Atom@\" + getNextId();\n }\n this.name = name;\n this.isPendingUnobservation = true; // for effective unobserving. BaseAtom has true, for extra optimization, so its onBecomeUnobserved never gets called, because it's not needed\n this.observers = [];\n this.observersIndexes = {};\n this.diffValue = 0;\n this.lastAccessedBy = 0;\n this.lowestObserverState = IDerivationState.NOT_TRACKING;\n }\n BaseAtom.prototype.onBecomeUnobserved = function () {\n // noop\n };\n /**\n * Invoke this method to notify mobx that your atom has been used somehow.\n */\n BaseAtom.prototype.reportObserved = function () {\n reportObserved(this);\n };\n /**\n * Invoke this method _after_ this method has changed to signal mobx that all its observers should invalidate.\n */\n BaseAtom.prototype.reportChanged = function () {\n startBatch();\n propagateChanged(this);\n endBatch();\n };\n BaseAtom.prototype.toString = function () {\n return this.name;\n };\n return BaseAtom;\n}();\nvar Atom = /** @class */function (_super) {\n __extends(Atom, _super);\n /**\n * Create a new atom. For debugging purposes it is recommended to give it a name.\n * The onBecomeObserved and onBecomeUnobserved callbacks can be used for resource management.\n */\n function Atom(name, onBecomeObservedHandler, onBecomeUnobservedHandler) {\n if (name === void 0) {\n name = \"Atom@\" + getNextId();\n }\n if (onBecomeObservedHandler === void 0) {\n onBecomeObservedHandler = noop;\n }\n if (onBecomeUnobservedHandler === void 0) {\n onBecomeUnobservedHandler = noop;\n }\n var _this = _super.call(this, name) || this;\n _this.name = name;\n _this.onBecomeObservedHandler = onBecomeObservedHandler;\n _this.onBecomeUnobservedHandler = onBecomeUnobservedHandler;\n _this.isPendingUnobservation = false; // for effective unobserving.\n _this.isBeingTracked = false;\n return _this;\n }\n Atom.prototype.reportObserved = function () {\n startBatch();\n _super.prototype.reportObserved.call(this);\n if (!this.isBeingTracked) {\n this.isBeingTracked = true;\n this.onBecomeObservedHandler();\n }\n endBatch();\n return !!globalState.trackingDerivation;\n // return doesn't really give useful info, because it can be as well calling computed which calls atom (no reactions)\n // also it could not trigger when calculating reaction dependent on Atom because Atom's value was cached by computed called by given reaction.\n };\n Atom.prototype.onBecomeUnobserved = function () {\n this.isBeingTracked = false;\n this.onBecomeUnobservedHandler();\n };\n return Atom;\n}(BaseAtom);\nvar isAtom = createInstanceofPredicate(\"Atom\", BaseAtom);\n\nfunction hasInterceptors(interceptable) {\n return interceptable.interceptors && interceptable.interceptors.length > 0;\n}\nfunction registerInterceptor(interceptable, handler) {\n var interceptors = interceptable.interceptors || (interceptable.interceptors = []);\n interceptors.push(handler);\n return once(function () {\n var idx = interceptors.indexOf(handler);\n if (idx !== -1) interceptors.splice(idx, 1);\n });\n}\nfunction interceptChange(interceptable, change) {\n var prevU = untrackedStart();\n try {\n var interceptors = interceptable.interceptors;\n if (interceptors) for (var i = 0, l = interceptors.length; i < l; i++) {\n change = interceptors[i](change);\n invariant(!change || change.type, \"Intercept handlers should return nothing or a change object\");\n if (!change) break;\n }\n return change;\n } finally {\n untrackedEnd(prevU);\n }\n}\n\nfunction hasListeners(listenable) {\n return listenable.changeListeners && listenable.changeListeners.length > 0;\n}\nfunction registerListener(listenable, handler) {\n var listeners = listenable.changeListeners || (listenable.changeListeners = []);\n listeners.push(handler);\n return once(function () {\n var idx = listeners.indexOf(handler);\n if (idx !== -1) listeners.splice(idx, 1);\n });\n}\nfunction notifyListeners(listenable, change) {\n var prevU = untrackedStart();\n var listeners = listenable.changeListeners;\n if (!listeners) return;\n listeners = listeners.slice();\n for (var i = 0, l = listeners.length; i < l; i++) {\n listeners[i](change);\n }\n untrackedEnd(prevU);\n}\n\nfunction isSpyEnabled() {\n return !!globalState.spyListeners.length;\n}\nfunction spyReport(event) {\n if (!globalState.spyListeners.length) return;\n var listeners = globalState.spyListeners;\n for (var i = 0, l = listeners.length; i < l; i++) {\n listeners[i](event);\n }\n}\nfunction spyReportStart(event) {\n var change = objectAssign({}, event, { spyReportStart: true });\n spyReport(change);\n}\nvar END_EVENT = { spyReportEnd: true };\nfunction spyReportEnd(change) {\n if (change) spyReport(objectAssign({}, change, END_EVENT));else spyReport(END_EVENT);\n}\nfunction spy(listener) {\n globalState.spyListeners.push(listener);\n return once(function () {\n var idx = globalState.spyListeners.indexOf(listener);\n if (idx !== -1) globalState.spyListeners.splice(idx, 1);\n });\n}\n\nfunction iteratorSymbol() {\n return typeof Symbol === \"function\" && Symbol.iterator || \"@@iterator\";\n}\nvar IS_ITERATING_MARKER = \"__$$iterating\";\nfunction arrayAsIterator(array) {\n // returning an array for entries(), values() etc for maps was a mis-interpretation of the specs..,\n // yet it is quite convenient to be able to use the response both as array directly and as iterator\n // it is suboptimal, but alas...\n invariant(array[IS_ITERATING_MARKER] !== true, \"Illegal state: cannot recycle array as iterator\");\n addHiddenFinalProp(array, IS_ITERATING_MARKER, true);\n var idx = -1;\n addHiddenFinalProp(array, \"next\", function next() {\n idx++;\n return {\n done: idx >= this.length,\n value: idx < this.length ? this[idx] : undefined\n };\n });\n return array;\n}\nfunction declareIterator(prototType, iteratorFactory) {\n addHiddenFinalProp(prototType, iteratorSymbol(), iteratorFactory);\n}\n\nvar MAX_SPLICE_SIZE = 10000; // See e.g. https://github.com/mobxjs/mobx/issues/859\n// Detects bug in safari 9.1.1 (or iOS 9 safari mobile). See #364\nvar safariPrototypeSetterInheritanceBug = function () {\n var v = false;\n var p = {};\n Object.defineProperty(p, \"0\", {\n set: function set() {\n v = true;\n }\n });\n Object.create(p)[\"0\"] = 1;\n return v === false;\n}();\n/**\n * This array buffer contains two lists of properties, so that all arrays\n * can recycle their property definitions, which significantly improves performance of creating\n * properties on the fly.\n */\nvar OBSERVABLE_ARRAY_BUFFER_SIZE = 0;\n// Typescript workaround to make sure ObservableArray extends Array\nvar StubArray = /** @class */function () {\n function StubArray() {}\n return StubArray;\n}();\nfunction inherit(ctor, proto) {\n if (typeof Object[\"setPrototypeOf\"] !== \"undefined\") {\n Object[\"setPrototypeOf\"](ctor.prototype, proto);\n } else if (typeof ctor.prototype.__proto__ !== \"undefined\") {\n ctor.prototype.__proto__ = proto;\n } else {\n ctor[\"prototype\"] = proto;\n }\n}\ninherit(StubArray, Array.prototype);\n// Weex freeze Array.prototype\n// Make them writeable and configurable in prototype chain\n// https://github.com/alibaba/weex/pull/1529\nif (Object.isFrozen(Array)) {\n\n [\"constructor\", \"push\", \"shift\", \"concat\", \"pop\", \"unshift\", \"replace\", \"find\", \"findIndex\", \"splice\", \"reverse\", \"sort\"].forEach(function (key) {\n Object.defineProperty(StubArray.prototype, key, {\n configurable: true,\n writable: true,\n value: Array.prototype[key]\n });\n });\n}\nvar ObservableArrayAdministration = /** @class */function () {\n function ObservableArrayAdministration(name, enhancer, array, owned) {\n this.array = array;\n this.owned = owned;\n this.values = [];\n this.lastKnownLength = 0;\n this.interceptors = null;\n this.changeListeners = null;\n this.atom = new BaseAtom(name || \"ObservableArray@\" + getNextId());\n this.enhancer = function (newV, oldV) {\n return enhancer(newV, oldV, name + \"[..]\");\n };\n }\n ObservableArrayAdministration.prototype.dehanceValue = function (value) {\n if (this.dehancer !== undefined) return this.dehancer(value);\n return value;\n };\n ObservableArrayAdministration.prototype.dehanceValues = function (values) {\n if (this.dehancer !== undefined) return values.map(this.dehancer);\n return values;\n };\n ObservableArrayAdministration.prototype.intercept = function (handler) {\n return registerInterceptor(this, handler);\n };\n ObservableArrayAdministration.prototype.observe = function (listener, fireImmediately) {\n if (fireImmediately === void 0) {\n fireImmediately = false;\n }\n if (fireImmediately) {\n listener({\n object: this.array,\n type: \"splice\",\n index: 0,\n added: this.values.slice(),\n addedCount: this.values.length,\n removed: [],\n removedCount: 0\n });\n }\n return registerListener(this, listener);\n };\n ObservableArrayAdministration.prototype.getArrayLength = function () {\n this.atom.reportObserved();\n return this.values.length;\n };\n ObservableArrayAdministration.prototype.setArrayLength = function (newLength) {\n if (typeof newLength !== \"number\" || newLength < 0) throw new Error(\"[mobx.array] Out of range: \" + newLength);\n var currentLength = this.values.length;\n if (newLength === currentLength) return;else if (newLength > currentLength) {\n var newItems = new Array(newLength - currentLength);\n for (var i = 0; i < newLength - currentLength; i++) {\n newItems[i] = undefined;\n } // No Array.fill everywhere...\n this.spliceWithArray(currentLength, 0, newItems);\n } else this.spliceWithArray(newLength, currentLength - newLength);\n };\n // adds / removes the necessary numeric properties to this object\n ObservableArrayAdministration.prototype.updateArrayLength = function (oldLength, delta) {\n if (oldLength !== this.lastKnownLength) throw new Error(\"[mobx] Modification exception: the internal structure of an observable array was changed. Did you use peek() to change it?\");\n this.lastKnownLength += delta;\n if (delta > 0 && oldLength + delta + 1 > OBSERVABLE_ARRAY_BUFFER_SIZE) reserveArrayBuffer(oldLength + delta + 1);\n };\n ObservableArrayAdministration.prototype.spliceWithArray = function (index, deleteCount, newItems) {\n var _this = this;\n checkIfStateModificationsAreAllowed(this.atom);\n var length = this.values.length;\n if (index === undefined) index = 0;else if (index > length) index = length;else if (index < 0) index = Math.max(0, length + index);\n if (arguments.length === 1) deleteCount = length - index;else if (deleteCount === undefined || deleteCount === null) deleteCount = 0;else deleteCount = Math.max(0, Math.min(deleteCount, length - index));\n if (newItems === undefined) newItems = [];\n if (hasInterceptors(this)) {\n var change = interceptChange(this, {\n object: this.array,\n type: \"splice\",\n index: index,\n removedCount: deleteCount,\n added: newItems\n });\n if (!change) return EMPTY_ARRAY;\n deleteCount = change.removedCount;\n newItems = change.added;\n }\n newItems = newItems.map(function (v) {\n return _this.enhancer(v, undefined);\n });\n var lengthDelta = newItems.length - deleteCount;\n this.updateArrayLength(length, lengthDelta); // create or remove new entries\n var res = this.spliceItemsIntoValues(index, deleteCount, newItems);\n if (deleteCount !== 0 || newItems.length !== 0) this.notifyArraySplice(index, newItems, res);\n return this.dehanceValues(res);\n };\n ObservableArrayAdministration.prototype.spliceItemsIntoValues = function (index, deleteCount, newItems) {\n if (newItems.length < MAX_SPLICE_SIZE) {\n return (_a = this.values).splice.apply(_a, [index, deleteCount].concat(newItems));\n } else {\n var res = this.values.slice(index, index + deleteCount);\n this.values = this.values.slice(0, index).concat(newItems, this.values.slice(index + deleteCount));\n return res;\n }\n var _a;\n };\n ObservableArrayAdministration.prototype.notifyArrayChildUpdate = function (index, newValue, oldValue) {\n var notifySpy = !this.owned && isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy ? {\n object: this.array,\n type: \"update\",\n index: index,\n newValue: newValue,\n oldValue: oldValue\n } : null;\n if (notifySpy) spyReportStart(change);\n this.atom.reportChanged();\n if (notify) notifyListeners(this, change);\n if (notifySpy) spyReportEnd();\n };\n ObservableArrayAdministration.prototype.notifyArraySplice = function (index, added, removed) {\n var notifySpy = !this.owned && isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy ? {\n object: this.array,\n type: \"splice\",\n index: index,\n removed: removed,\n added: added,\n removedCount: removed.length,\n addedCount: added.length\n } : null;\n if (notifySpy) spyReportStart(change);\n this.atom.reportChanged();\n // conform: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/observe\n if (notify) notifyListeners(this, change);\n if (notifySpy) spyReportEnd();\n };\n return ObservableArrayAdministration;\n}();\nvar ObservableArray = /** @class */function (_super) {\n __extends(ObservableArray, _super);\n function ObservableArray(initialValues, enhancer, name, owned) {\n if (name === void 0) {\n name = \"ObservableArray@\" + getNextId();\n }\n if (owned === void 0) {\n owned = false;\n }\n var _this = _super.call(this) || this;\n var adm = new ObservableArrayAdministration(name, enhancer, _this, owned);\n addHiddenFinalProp(_this, \"$mobx\", adm);\n if (initialValues && initialValues.length) {\n _this.spliceWithArray(0, 0, initialValues);\n }\n if (safariPrototypeSetterInheritanceBug) {\n // Seems that Safari won't use numeric prototype setter untill any * numeric property is\n // defined on the instance. After that it works fine, even if this property is deleted.\n Object.defineProperty(adm.array, \"0\", ENTRY_0);\n }\n return _this;\n }\n ObservableArray.prototype.intercept = function (handler) {\n return this.$mobx.intercept(handler);\n };\n ObservableArray.prototype.observe = function (listener, fireImmediately) {\n if (fireImmediately === void 0) {\n fireImmediately = false;\n }\n return this.$mobx.observe(listener, fireImmediately);\n };\n ObservableArray.prototype.clear = function () {\n return this.splice(0);\n };\n ObservableArray.prototype.concat = function () {\n var arrays = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n arrays[_i] = arguments[_i];\n }\n this.$mobx.atom.reportObserved();\n return Array.prototype.concat.apply(this.peek(), arrays.map(function (a) {\n return isObservableArray(a) ? a.peek() : a;\n }));\n };\n ObservableArray.prototype.replace = function (newItems) {\n return this.$mobx.spliceWithArray(0, this.$mobx.values.length, newItems);\n };\n /**\n * Converts this array back to a (shallow) javascript structure.\n * For a deep clone use mobx.toJS\n */\n ObservableArray.prototype.toJS = function () {\n return this.slice();\n };\n ObservableArray.prototype.toJSON = function () {\n // Used by JSON.stringify\n return this.toJS();\n };\n ObservableArray.prototype.peek = function () {\n this.$mobx.atom.reportObserved();\n return this.$mobx.dehanceValues(this.$mobx.values);\n };\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n ObservableArray.prototype.find = function (predicate, thisArg, fromIndex) {\n if (fromIndex === void 0) {\n fromIndex = 0;\n }\n var idx = this.findIndex.apply(this, arguments);\n return idx === -1 ? undefined : this.get(idx);\n };\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex\n ObservableArray.prototype.findIndex = function (predicate, thisArg, fromIndex) {\n if (fromIndex === void 0) {\n fromIndex = 0;\n }\n var items = this.peek(),\n l = items.length;\n for (var i = fromIndex; i < l; i++) {\n if (predicate.call(thisArg, items[i], i, this)) return i;\n }return -1;\n };\n /*\n * functions that do alter the internal structure of the array, (based on lib.es6.d.ts)\n * since these functions alter the inner structure of the array, the have side effects.\n * Because the have side effects, they should not be used in computed function,\n * and for that reason the do not call dependencyState.notifyObserved\n */\n ObservableArray.prototype.splice = function (index, deleteCount) {\n var newItems = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n newItems[_i - 2] = arguments[_i];\n }\n switch (arguments.length) {\n case 0:\n return [];\n case 1:\n return this.$mobx.spliceWithArray(index);\n case 2:\n return this.$mobx.spliceWithArray(index, deleteCount);\n }\n return this.$mobx.spliceWithArray(index, deleteCount, newItems);\n };\n ObservableArray.prototype.spliceWithArray = function (index, deleteCount, newItems) {\n return this.$mobx.spliceWithArray(index, deleteCount, newItems);\n };\n ObservableArray.prototype.push = function () {\n var items = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n items[_i] = arguments[_i];\n }\n var adm = this.$mobx;\n adm.spliceWithArray(adm.values.length, 0, items);\n return adm.values.length;\n };\n ObservableArray.prototype.pop = function () {\n return this.splice(Math.max(this.$mobx.values.length - 1, 0), 1)[0];\n };\n ObservableArray.prototype.shift = function () {\n return this.splice(0, 1)[0];\n };\n ObservableArray.prototype.unshift = function () {\n var items = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n items[_i] = arguments[_i];\n }\n var adm = this.$mobx;\n adm.spliceWithArray(0, 0, items);\n return adm.values.length;\n };\n ObservableArray.prototype.reverse = function () {\n // reverse by default mutates in place before returning the result\n // which makes it both a 'derivation' and a 'mutation'.\n // so we deviate from the default and just make it an dervitation\n var clone = this.slice();\n return clone.reverse.apply(clone, arguments);\n };\n ObservableArray.prototype.sort = function (compareFn) {\n // sort by default mutates in place before returning the result\n // which goes against all good practices. Let's not change the array in place!\n var clone = this.slice();\n return clone.sort.apply(clone, arguments);\n };\n ObservableArray.prototype.remove = function (value) {\n var idx = this.$mobx.dehanceValues(this.$mobx.values).indexOf(value);\n if (idx > -1) {\n this.splice(idx, 1);\n return true;\n }\n return false;\n };\n ObservableArray.prototype.move = function (fromIndex, toIndex) {\n function checkIndex(index) {\n if (index < 0) {\n throw new Error(\"[mobx.array] Index out of bounds: \" + index + \" is negative\");\n }\n var length = this.$mobx.values.length;\n if (index >= length) {\n throw new Error(\"[mobx.array] Index out of bounds: \" + index + \" is not smaller than \" + length);\n }\n }\n checkIndex.call(this, fromIndex);\n checkIndex.call(this, toIndex);\n if (fromIndex === toIndex) {\n return;\n }\n var oldItems = this.$mobx.values;\n var newItems;\n if (fromIndex < toIndex) {\n newItems = oldItems.slice(0, fromIndex).concat(oldItems.slice(fromIndex + 1, toIndex + 1), [oldItems[fromIndex]], oldItems.slice(toIndex + 1));\n } else {\n // toIndex < fromIndex\n newItems = oldItems.slice(0, toIndex).concat([oldItems[fromIndex]], oldItems.slice(toIndex, fromIndex), oldItems.slice(fromIndex + 1));\n }\n this.replace(newItems);\n };\n // See #734, in case property accessors are unreliable...\n ObservableArray.prototype.get = function (index) {\n var impl = this.$mobx;\n if (impl) {\n if (index < impl.values.length) {\n impl.atom.reportObserved();\n return impl.dehanceValue(impl.values[index]);\n }\n console.warn(\"[mobx.array] Attempt to read an array index (\" + index + \") that is out of bounds (\" + impl.values.length + \"). Please check length first. Out of bound indices will not be tracked by MobX\");\n }\n return undefined;\n };\n // See #734, in case property accessors are unreliable...\n ObservableArray.prototype.set = function (index, newValue) {\n var adm = this.$mobx;\n var values = adm.values;\n if (index < values.length) {\n // update at index in range\n checkIfStateModificationsAreAllowed(adm.atom);\n var oldValue = values[index];\n if (hasInterceptors(adm)) {\n var change = interceptChange(adm, {\n type: \"update\",\n object: this,\n index: index,\n newValue: newValue\n });\n if (!change) return;\n newValue = change.newValue;\n }\n newValue = adm.enhancer(newValue, oldValue);\n var changed = newValue !== oldValue;\n if (changed) {\n values[index] = newValue;\n adm.notifyArrayChildUpdate(index, newValue, oldValue);\n }\n } else if (index === values.length) {\n // add a new item\n adm.spliceWithArray(index, 0, [newValue]);\n } else {\n // out of bounds\n throw new Error(\"[mobx.array] Index out of bounds, \" + index + \" is larger than \" + values.length);\n }\n };\n return ObservableArray;\n}(StubArray);\ndeclareIterator(ObservableArray.prototype, function () {\n return arrayAsIterator(this.slice());\n});\nObject.defineProperty(ObservableArray.prototype, \"length\", {\n enumerable: false,\n configurable: true,\n get: function get() {\n return this.$mobx.getArrayLength();\n },\n set: function set(newLength) {\n this.$mobx.setArrayLength(newLength);\n }\n});\n[\"every\", \"filter\", \"forEach\", \"indexOf\", \"join\", \"lastIndexOf\", \"map\", \"reduce\", \"reduceRight\", \"slice\", \"some\", \"toString\", \"toLocaleString\"].forEach(function (funcName) {\n var baseFunc = Array.prototype[funcName];\n invariant(typeof baseFunc === \"function\", \"Base function not defined on Array prototype: '\" + funcName + \"'\");\n addHiddenProp(ObservableArray.prototype, funcName, function () {\n return baseFunc.apply(this.peek(), arguments);\n });\n});\n/**\n * We don't want those to show up in `for (const key in ar)` ...\n */\nmakeNonEnumerable(ObservableArray.prototype, [\"constructor\", \"intercept\", \"observe\", \"clear\", \"concat\", \"get\", \"replace\", \"toJS\", \"toJSON\", \"peek\", \"find\", \"findIndex\", \"splice\", \"spliceWithArray\", \"push\", \"pop\", \"set\", \"shift\", \"unshift\", \"reverse\", \"sort\", \"remove\", \"move\", \"toString\", \"toLocaleString\"]);\n// See #364\nvar ENTRY_0 = createArrayEntryDescriptor(0);\nfunction createArrayEntryDescriptor(index) {\n return {\n enumerable: false,\n configurable: false,\n get: function get() {\n // TODO: Check `this`?, see #752?\n return this.get(index);\n },\n set: function set(value) {\n this.set(index, value);\n }\n };\n}\nfunction createArrayBufferItem(index) {\n Object.defineProperty(ObservableArray.prototype, \"\" + index, createArrayEntryDescriptor(index));\n}\nfunction reserveArrayBuffer(max) {\n for (var index = OBSERVABLE_ARRAY_BUFFER_SIZE; index < max; index++) {\n createArrayBufferItem(index);\n }OBSERVABLE_ARRAY_BUFFER_SIZE = max;\n}\nreserveArrayBuffer(1000);\nvar isObservableArrayAdministration = createInstanceofPredicate(\"ObservableArrayAdministration\", ObservableArrayAdministration);\nfunction isObservableArray(thing) {\n return isObject(thing) && isObservableArrayAdministration(thing.$mobx);\n}\n\nvar UNCHANGED = {};\nvar ObservableValue = /** @class */function (_super) {\n __extends(ObservableValue, _super);\n function ObservableValue(value, enhancer, name, notifySpy) {\n if (name === void 0) {\n name = \"ObservableValue@\" + getNextId();\n }\n if (notifySpy === void 0) {\n notifySpy = true;\n }\n var _this = _super.call(this, name) || this;\n _this.enhancer = enhancer;\n _this.hasUnreportedChange = false;\n _this.dehancer = undefined;\n _this.value = enhancer(value, undefined, name);\n if (notifySpy && isSpyEnabled()) {\n // only notify spy if this is a stand-alone observable\n spyReport({ type: \"create\", object: _this, newValue: _this.value });\n }\n return _this;\n }\n ObservableValue.prototype.dehanceValue = function (value) {\n if (this.dehancer !== undefined) return this.dehancer(value);\n return value;\n };\n ObservableValue.prototype.set = function (newValue) {\n var oldValue = this.value;\n newValue = this.prepareNewValue(newValue);\n if (newValue !== UNCHANGED) {\n var notifySpy = isSpyEnabled();\n if (notifySpy) {\n spyReportStart({\n type: \"update\",\n object: this,\n newValue: newValue,\n oldValue: oldValue\n });\n }\n this.setNewValue(newValue);\n if (notifySpy) spyReportEnd();\n }\n };\n ObservableValue.prototype.prepareNewValue = function (newValue) {\n checkIfStateModificationsAreAllowed(this);\n if (hasInterceptors(this)) {\n var change = interceptChange(this, {\n object: this,\n type: \"update\",\n newValue: newValue\n });\n if (!change) return UNCHANGED;\n newValue = change.newValue;\n }\n // apply modifier\n newValue = this.enhancer(newValue, this.value, this.name);\n return this.value !== newValue ? newValue : UNCHANGED;\n };\n ObservableValue.prototype.setNewValue = function (newValue) {\n var oldValue = this.value;\n this.value = newValue;\n this.reportChanged();\n if (hasListeners(this)) {\n notifyListeners(this, {\n type: \"update\",\n object: this,\n newValue: newValue,\n oldValue: oldValue\n });\n }\n };\n ObservableValue.prototype.get = function () {\n this.reportObserved();\n return this.dehanceValue(this.value);\n };\n ObservableValue.prototype.intercept = function (handler) {\n return registerInterceptor(this, handler);\n };\n ObservableValue.prototype.observe = function (listener, fireImmediately) {\n if (fireImmediately) listener({\n object: this,\n type: \"update\",\n newValue: this.value,\n oldValue: undefined\n });\n return registerListener(this, listener);\n };\n ObservableValue.prototype.toJSON = function () {\n return this.get();\n };\n ObservableValue.prototype.toString = function () {\n return this.name + \"[\" + this.value + \"]\";\n };\n ObservableValue.prototype.valueOf = function () {\n return toPrimitive(this.get());\n };\n return ObservableValue;\n}(BaseAtom);\nObservableValue.prototype[primitiveSymbol()] = ObservableValue.prototype.valueOf;\nvar isObservableValue = createInstanceofPredicate(\"ObservableValue\", ObservableValue);\n\nvar messages = {\n m001: \"It is not allowed to assign new values to @action fields\",\n m002: \"`runInAction` expects a function\",\n m003: \"`runInAction` expects a function without arguments\",\n m004: \"autorun expects a function\",\n m005: \"Warning: attempted to pass an action to autorun. Actions are untracked and will not trigger on state changes. Use `reaction` or wrap only your state modification code in an action.\",\n m006: \"Warning: attempted to pass an action to autorunAsync. Actions are untracked and will not trigger on state changes. Use `reaction` or wrap only your state modification code in an action.\",\n m007: \"reaction only accepts 2 or 3 arguments. If migrating from MobX 2, please provide an options object\",\n m008: \"wrapping reaction expression in `asReference` is no longer supported, use options object instead\",\n m009: \"@computed can only be used on getter functions, like: '@computed get myProps() { return ...; }'. It looks like it was used on a property.\",\n m010: \"@computed can only be used on getter functions, like: '@computed get myProps() { return ...; }'\",\n m011: \"First argument to `computed` should be an expression. If using computed as decorator, don't pass it arguments\",\n m012: \"computed takes one or two arguments if used as function\",\n m013: \"[mobx.expr] 'expr' should only be used inside other reactive functions.\",\n m014: \"extendObservable expected 2 or more arguments\",\n m015: \"extendObservable expects an object as first argument\",\n m016: \"extendObservable should not be used on maps, use map.merge instead\",\n m017: \"all arguments of extendObservable should be objects\",\n m018: \"extending an object with another observable (object) is not supported. Please construct an explicit propertymap, using `toJS` if need. See issue #540\",\n m019: \"[mobx.isObservable] isObservable(object, propertyName) is not supported for arrays and maps. Use map.has or array.length instead.\",\n m020: \"modifiers can only be used for individual object properties\",\n m021: \"observable expects zero or one arguments\",\n m022: \"@observable can not be used on getters, use @computed instead\",\n m024: \"whyRun() can only be used if a derivation is active, or by passing an computed value / reaction explicitly. If you invoked whyRun from inside a computation; the computation is currently suspended but re-evaluating because somebody requested its value.\",\n m025: \"whyRun can only be used on reactions and computed values\",\n m026: \"`action` can only be invoked on functions\",\n m028: \"It is not allowed to set `useStrict` when a derivation is running\",\n m029: \"INTERNAL ERROR only onBecomeUnobserved shouldn't be called twice in a row\",\n m030a: \"Since strict-mode is enabled, changing observed observable values outside actions is not allowed. Please wrap the code in an `action` if this change is intended. Tried to modify: \",\n m030b: \"Side effects like changing state are not allowed at this point. Are you trying to modify state from, for example, the render function of a React component? Tried to modify: \",\n m031: \"Computed values are not allowed to cause side effects by changing observables that are already being observed. Tried to modify: \",\n m032: \"* This computation is suspended (not in use by any reaction) and won't run automatically.\\n\tDidn't expect this computation to be suspended at this point?\\n\t 1. Make sure this computation is used by a reaction (reaction, autorun, observer).\\n\t 2. Check whether you are using this computation synchronously (in the same stack as they reaction that needs it).\",\n m033: \"`observe` doesn't support the fire immediately property for observable maps.\",\n m034: \"`mobx.map` is deprecated, use `new ObservableMap` or `mobx.observable.map` instead\",\n m035: \"Cannot make the designated object observable; it is not extensible\",\n m036: \"It is not possible to get index atoms from arrays\",\n m037: \"Hi there! I'm sorry you have just run into an exception.\\nIf your debugger ends up here, know that some reaction (like the render() of an observer component, autorun or reaction)\\nthrew an exception and that mobx caught it, to avoid that it brings the rest of your application down.\\nThe original cause of the exception (the code that caused this reaction to run (again)), is still in the stack.\\n\\nHowever, more interesting is the actual stack trace of the error itself.\\nHopefully the error is an instanceof Error, because in that case you can inspect the original stack of the error from where it was thrown.\\nSee `error.stack` property, or press the very subtle \\\"(...)\\\" link you see near the console.error message that probably brought you here.\\nThat stack is more interesting than the stack of this console.error itself.\\n\\nIf the exception you see is an exception you created yourself, make sure to use `throw new Error(\\\"Oops\\\")` instead of `throw \\\"Oops\\\"`,\\nbecause the javascript environment will only preserve the original stack trace in the first form.\\n\\nYou can also make sure the debugger pauses the next time this very same exception is thrown by enabling \\\"Pause on caught exception\\\".\\n(Note that it might pause on many other, unrelated exception as well).\\n\\nIf that all doesn't help you out, feel free to open an issue https://github.com/mobxjs/mobx/issues!\\n\",\n m038: \"Missing items in this list?\\n 1. Check whether all used values are properly marked as observable (use isObservable to verify)\\n 2. Make sure you didn't dereference values too early. MobX observes props, not primitives. E.g: use 'person.name' instead of 'name' in your computation.\\n\"\n};\nfunction getMessage(id) {\n return messages[id];\n}\n\nfunction createAction(actionName, fn) {\n invariant(typeof fn === \"function\", getMessage(\"m026\"));\n invariant(typeof actionName === \"string\" && actionName.length > 0, \"actions should have valid names, got: '\" + actionName + \"'\");\n var res = function res() {\n return executeAction(actionName, fn, this, arguments);\n };\n res.originalFn = fn;\n res.isMobxAction = true;\n return res;\n}\nfunction executeAction(actionName, fn, scope, args) {\n var runInfo = startAction(actionName, fn, scope, args);\n try {\n return fn.apply(scope, args);\n } finally {\n endAction(runInfo);\n }\n}\nfunction startAction(actionName, fn, scope, args) {\n var notifySpy = isSpyEnabled() && !!actionName;\n var startTime = 0;\n if (notifySpy) {\n startTime = Date.now();\n var l = args && args.length || 0;\n var flattendArgs = new Array(l);\n if (l > 0) for (var i = 0; i < l; i++) {\n flattendArgs[i] = args[i];\n }spyReportStart({\n type: \"action\",\n name: actionName,\n fn: fn,\n object: scope,\n arguments: flattendArgs\n });\n }\n var prevDerivation = untrackedStart();\n startBatch();\n var prevAllowStateChanges = allowStateChangesStart(true);\n return {\n prevDerivation: prevDerivation,\n prevAllowStateChanges: prevAllowStateChanges,\n notifySpy: notifySpy,\n startTime: startTime\n };\n}\nfunction endAction(runInfo) {\n allowStateChangesEnd(runInfo.prevAllowStateChanges);\n endBatch();\n untrackedEnd(runInfo.prevDerivation);\n if (runInfo.notifySpy) spyReportEnd({ time: Date.now() - runInfo.startTime });\n}\nfunction useStrict(strict) {\n invariant(globalState.trackingDerivation === null, getMessage(\"m028\"));\n globalState.strictMode = strict;\n globalState.allowStateChanges = !strict;\n}\nfunction isStrictModeEnabled() {\n return globalState.strictMode;\n}\nfunction allowStateChanges(allowStateChanges, func) {\n // TODO: deprecate / refactor this function in next major\n // Currently only used by `@observer`\n // Proposed change: remove first param, rename to `forbidStateChanges`,\n // require error callback instead of the hardcoded error message now used\n // Use `inAction` instead of allowStateChanges in derivation.ts to check strictMode\n var prev = allowStateChangesStart(allowStateChanges);\n var res;\n try {\n res = func();\n } finally {\n allowStateChangesEnd(prev);\n }\n return res;\n}\nfunction allowStateChangesStart(allowStateChanges) {\n var prev = globalState.allowStateChanges;\n globalState.allowStateChanges = allowStateChanges;\n return prev;\n}\nfunction allowStateChangesEnd(prev) {\n globalState.allowStateChanges = prev;\n}\n\n/**\n * Constructs a decorator, that normalizes the differences between\n * TypeScript and Babel. Mainly caused by the fact that legacy-decorator cannot assign\n * values during instance creation to properties that have a getter setter.\n *\n * - Sigh -\n *\n * Also takes care of the difference between @decorator field and @decorator(args) field, and different forms of values.\n * For performance (cpu and mem) reasons the properties are always defined on the prototype (at least initially).\n * This means that these properties despite being enumerable might not show up in Object.keys() (but they will show up in for...in loops).\n */\nfunction createClassPropertyDecorator(\n/**\n * This function is invoked once, when the property is added to a new instance.\n * When this happens is not strictly determined due to differences in TS and Babel:\n * Typescript: Usually when constructing the new instance\n * Babel, sometimes Typescript: during the first get / set\n * Both: when calling `runLazyInitializers(instance)`\n */\nonInitialize, _get, _set, enumerable,\n/**\n * Can this decorator invoked with arguments? e.g. @decorator(args)\n */\nallowCustomArguments) {\n function classPropertyDecorator(target, key, descriptor, customArgs, argLen) {\n if (argLen === void 0) {\n argLen = 0;\n }\n invariant(allowCustomArguments || quacksLikeADecorator(arguments), \"This function is a decorator, but it wasn't invoked like a decorator\");\n if (!descriptor) {\n // typescript (except for getter / setters)\n var newDescriptor = {\n enumerable: enumerable,\n configurable: true,\n get: function get() {\n if (!this.__mobxInitializedProps || this.__mobxInitializedProps[key] !== true) typescriptInitializeProperty(this, key, undefined, onInitialize, customArgs, descriptor);\n return _get.call(this, key);\n },\n set: function set(v) {\n if (!this.__mobxInitializedProps || this.__mobxInitializedProps[key] !== true) {\n typescriptInitializeProperty(this, key, v, onInitialize, customArgs, descriptor);\n } else {\n _set.call(this, key, v);\n }\n }\n };\n if (arguments.length < 3 || arguments.length === 5 && argLen < 3) {\n // Typescript target is ES3, so it won't define property for us\n // or using Reflect.decorate polyfill, which will return no descriptor\n // (see https://github.com/mobxjs/mobx/issues/333)\n Object.defineProperty(target, key, newDescriptor);\n }\n return newDescriptor;\n } else {\n // babel and typescript getter / setter props\n if (!hasOwnProperty(target, \"__mobxLazyInitializers\")) {\n addHiddenProp(target, \"__mobxLazyInitializers\", target.__mobxLazyInitializers && target.__mobxLazyInitializers.slice() || [] // support inheritance\n );\n }\n var value_1 = descriptor.value,\n initializer_1 = descriptor.initializer;\n target.__mobxLazyInitializers.push(function (instance) {\n onInitialize(instance, key, initializer_1 ? initializer_1.call(instance) : value_1, customArgs, descriptor);\n });\n return {\n enumerable: enumerable,\n configurable: true,\n get: function get() {\n if (this.__mobxDidRunLazyInitializers !== true) runLazyInitializers(this);\n return _get.call(this, key);\n },\n set: function set(v) {\n if (this.__mobxDidRunLazyInitializers !== true) runLazyInitializers(this);\n _set.call(this, key, v);\n }\n };\n }\n }\n if (allowCustomArguments) {\n /** If custom arguments are allowed, we should return a function that returns a decorator */\n return function () {\n /** Direct invocation: @decorator bla */\n if (quacksLikeADecorator(arguments)) return classPropertyDecorator.apply(null, arguments);\n /** Indirect invocation: @decorator(args) bla */\n var outerArgs = arguments;\n var argLen = arguments.length;\n return function (target, key, descriptor) {\n return classPropertyDecorator(target, key, descriptor, outerArgs, argLen);\n };\n };\n }\n return classPropertyDecorator;\n}\nfunction typescriptInitializeProperty(instance, key, v, onInitialize, customArgs, baseDescriptor) {\n if (!hasOwnProperty(instance, \"__mobxInitializedProps\")) addHiddenProp(instance, \"__mobxInitializedProps\", {});\n instance.__mobxInitializedProps[key] = true;\n onInitialize(instance, key, v, customArgs, baseDescriptor);\n}\nfunction runLazyInitializers(instance) {\n if (instance.__mobxDidRunLazyInitializers === true) return;\n if (instance.__mobxLazyInitializers) {\n addHiddenProp(instance, \"__mobxDidRunLazyInitializers\", true);\n instance.__mobxDidRunLazyInitializers && instance.__mobxLazyInitializers.forEach(function (initializer) {\n return initializer(instance);\n });\n }\n}\nfunction quacksLikeADecorator(args) {\n return (args.length === 2 || args.length === 3) && typeof args[1] === \"string\";\n}\n\nvar actionFieldDecorator = createClassPropertyDecorator(function (target, key, value, args, originalDescriptor) {\n var actionName = args && args.length === 1 ? args[0] : value.name || key || \"\";\n var wrappedAction = action(actionName, value);\n addHiddenProp(target, key, wrappedAction);\n}, function (key) {\n return this[key];\n}, function () {\n invariant(false, getMessage(\"m001\"));\n}, false, true);\nvar boundActionDecorator = createClassPropertyDecorator(function (target, key, value) {\n defineBoundAction(target, key, value);\n}, function (key) {\n return this[key];\n}, function () {\n invariant(false, getMessage(\"m001\"));\n}, false, false);\nvar action = function action(arg1, arg2, arg3, arg4) {\n if (arguments.length === 1 && typeof arg1 === \"function\") return createAction(arg1.name || \"\", arg1);\n if (arguments.length === 2 && typeof arg2 === \"function\") return createAction(arg1, arg2);\n if (arguments.length === 1 && typeof arg1 === \"string\") return namedActionDecorator(arg1);\n return namedActionDecorator(arg2).apply(null, arguments);\n};\naction.bound = function boundAction(arg1, arg2, arg3) {\n if (typeof arg1 === \"function\") {\n var action_1 = createAction(\"\", arg1);\n action_1.autoBind = true;\n return action_1;\n }\n return boundActionDecorator.apply(null, arguments);\n};\nfunction namedActionDecorator(name) {\n return function (target, prop, descriptor) {\n if (descriptor && typeof descriptor.value === \"function\") {\n // TypeScript @action method() { }. Defined on proto before being decorated\n // Don't use the field decorator if we are just decorating a method\n descriptor.value = createAction(name, descriptor.value);\n descriptor.enumerable = false;\n descriptor.configurable = true;\n return descriptor;\n }\n if (descriptor !== undefined && descriptor.get !== undefined) {\n throw new Error(\"[mobx] action is not expected to be used with getters\");\n }\n // bound instance methods\n return actionFieldDecorator(name).apply(this, arguments);\n };\n}\nfunction runInAction(arg1, arg2, arg3) {\n var actionName = typeof arg1 === \"string\" ? arg1 : arg1.name || \"\";\n var fn = typeof arg1 === \"function\" ? arg1 : arg2;\n var scope = typeof arg1 === \"function\" ? arg2 : arg3;\n invariant(typeof fn === \"function\", getMessage(\"m002\"));\n invariant(fn.length === 0, getMessage(\"m003\"));\n invariant(typeof actionName === \"string\" && actionName.length > 0, \"actions should have valid names, got: '\" + actionName + \"'\");\n return executeAction(actionName, fn, scope, undefined);\n}\nfunction isAction(thing) {\n return typeof thing === \"function\" && thing.isMobxAction === true;\n}\nfunction defineBoundAction(target, propertyName, fn) {\n var res = function res() {\n return executeAction(propertyName, fn, target, arguments);\n };\n res.isMobxAction = true;\n addHiddenProp(target, propertyName, res);\n}\n\nvar toString = Object.prototype.toString;\nfunction deepEqual(a, b) {\n return eq(a, b);\n}\n// Copied from https://github.com/jashkenas/underscore/blob/5c237a7c682fb68fd5378203f0bf22dce1624854/underscore.js#L1186-L1289\n// Internal recursive comparison function for `isEqual`.\nfunction eq(a, b, aStack, bStack) {\n // Identical objects are equal. `0 === -0`, but they aren't identical.\n // See the [Harmony `egal` proposal](http://wiki.ecmascript.org/doku.php?id=harmony:egal).\n if (a === b) return a !== 0 || 1 / a === 1 / b;\n // `null` or `undefined` only equal to itself (strict comparison).\n if (a == null || b == null) return false;\n // `NaN`s are equivalent, but non-reflexive.\n if (a !== a) return b !== b;\n // Exhaust primitive checks\n var type = typeof a === \"undefined\" ? \"undefined\" : _typeof(a);\n if (type !== \"function\" && type !== \"object\" && (typeof b === \"undefined\" ? \"undefined\" : _typeof(b)) != \"object\") return false;\n return deepEq(a, b, aStack, bStack);\n}\n// Internal recursive comparison function for `isEqual`.\nfunction deepEq(a, b, aStack, bStack) {\n // Unwrap any wrapped objects.\n a = unwrap(a);\n b = unwrap(b);\n // Compare `[[Class]]` names.\n var className = toString.call(a);\n if (className !== toString.call(b)) return false;\n switch (className) {\n // Strings, numbers, regular expressions, dates, and booleans are compared by value.\n case \"[object RegExp]\":\n // RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i')\n case \"[object String]\":\n // Primitives and their corresponding object wrappers are equivalent; thus, `\"5\"` is\n // equivalent to `new String(\"5\")`.\n return \"\" + a === \"\" + b;\n case \"[object Number]\":\n // `NaN`s are equivalent, but non-reflexive.\n // Object(NaN) is equivalent to NaN.\n if (+a !== +a) return +b !== +b;\n // An `egal` comparison is performed for other numeric values.\n return +a === 0 ? 1 / +a === 1 / b : +a === +b;\n case \"[object Date]\":\n case \"[object Boolean]\":\n // Coerce dates and booleans to numeric primitive values. Dates are compared by their\n // millisecond representations. Note that invalid dates with millisecond representations\n // of `NaN` are not equivalent.\n return +a === +b;\n case \"[object Symbol]\":\n return typeof Symbol !== \"undefined\" && Symbol.valueOf.call(a) === Symbol.valueOf.call(b);\n }\n var areArrays = className === \"[object Array]\";\n if (!areArrays) {\n if ((typeof a === \"undefined\" ? \"undefined\" : _typeof(a)) != \"object\" || (typeof b === \"undefined\" ? \"undefined\" : _typeof(b)) != \"object\") return false;\n // Objects with different constructors are not equivalent, but `Object`s or `Array`s\n // from different frames are.\n var aCtor = a.constructor,\n bCtor = b.constructor;\n if (aCtor !== bCtor && !(typeof aCtor === \"function\" && aCtor instanceof aCtor && typeof bCtor === \"function\" && bCtor instanceof bCtor) && \"constructor\" in a && \"constructor\" in b) {\n return false;\n }\n }\n // Assume equality for cyclic structures. The algorithm for detecting cyclic\n // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`.\n // Initializing stack of traversed objects.\n // It's done here since we only need them for objects and arrays comparison.\n aStack = aStack || [];\n bStack = bStack || [];\n var length = aStack.length;\n while (length--) {\n // Linear search. Performance is inversely proportional to the number of\n // unique nested structures.\n if (aStack[length] === a) return bStack[length] === b;\n }\n // Add the first object to the stack of traversed objects.\n aStack.push(a);\n bStack.push(b);\n // Recursively compare objects and arrays.\n if (areArrays) {\n // Compare array lengths to determine if a deep comparison is necessary.\n length = a.length;\n if (length !== b.length) return false;\n // Deep compare the contents, ignoring non-numeric properties.\n while (length--) {\n if (!eq(a[length], b[length], aStack, bStack)) return false;\n }\n } else {\n // Deep compare objects.\n var keys = Object.keys(a),\n key;\n length = keys.length;\n // Ensure that both objects contain the same number of properties before comparing deep equality.\n if (Object.keys(b).length !== length) return false;\n while (length--) {\n // Deep compare each member\n key = keys[length];\n if (!(has(b, key) && eq(a[key], b[key], aStack, bStack))) return false;\n }\n }\n // Remove the first object from the stack of traversed objects.\n aStack.pop();\n bStack.pop();\n return true;\n}\nfunction unwrap(a) {\n if (isObservableArray(a)) return a.peek();\n if (isObservableMap(a)) return a.entries();\n if (isES6Map(a)) return iteratorToArray(a.entries());\n return a;\n}\nfunction has(a, key) {\n return Object.prototype.hasOwnProperty.call(a, key);\n}\n\nfunction identityComparer(a, b) {\n return a === b;\n}\nfunction structuralComparer(a, b) {\n return deepEqual(a, b);\n}\nfunction defaultComparer(a, b) {\n return areBothNaN(a, b) || identityComparer(a, b);\n}\nvar comparer = {\n identity: identityComparer,\n structural: structuralComparer,\n default: defaultComparer\n};\n\nfunction autorun(arg1, arg2, arg3) {\n var name, view, scope;\n if (typeof arg1 === \"string\") {\n name = arg1;\n view = arg2;\n scope = arg3;\n } else {\n name = arg1.name || \"Autorun@\" + getNextId();\n view = arg1;\n scope = arg2;\n }\n invariant(typeof view === \"function\", getMessage(\"m004\"));\n invariant(isAction(view) === false, getMessage(\"m005\"));\n if (scope) view = view.bind(scope);\n var reaction = new Reaction(name, function () {\n this.track(reactionRunner);\n });\n function reactionRunner() {\n view(reaction);\n }\n reaction.schedule();\n return reaction.getDisposer();\n}\nfunction when(arg1, arg2, arg3, arg4) {\n var name, predicate, effect, scope;\n if (typeof arg1 === \"string\") {\n name = arg1;\n predicate = arg2;\n effect = arg3;\n scope = arg4;\n } else {\n name = \"When@\" + getNextId();\n predicate = arg1;\n effect = arg2;\n scope = arg3;\n }\n var disposer = autorun(name, function (r) {\n if (predicate.call(scope)) {\n r.dispose();\n var prevUntracked = untrackedStart();\n effect.call(scope);\n untrackedEnd(prevUntracked);\n }\n });\n return disposer;\n}\nfunction autorunAsync(arg1, arg2, arg3, arg4) {\n var name, func, delay, scope;\n if (typeof arg1 === \"string\") {\n name = arg1;\n func = arg2;\n delay = arg3;\n scope = arg4;\n } else {\n name = arg1.name || \"AutorunAsync@\" + getNextId();\n func = arg1;\n delay = arg2;\n scope = arg3;\n }\n invariant(isAction(func) === false, getMessage(\"m006\"));\n if (delay === void 0) delay = 1;\n if (scope) func = func.bind(scope);\n var isScheduled = false;\n var r = new Reaction(name, function () {\n if (!isScheduled) {\n isScheduled = true;\n setTimeout(function () {\n isScheduled = false;\n if (!r.isDisposed) r.track(reactionRunner);\n }, delay);\n }\n });\n function reactionRunner() {\n func(r);\n }\n r.schedule();\n return r.getDisposer();\n}\nfunction reaction(expression, effect, arg3) {\n if (arguments.length > 3) {\n fail(getMessage(\"m007\"));\n }\n if (isModifierDescriptor(expression)) {\n fail(getMessage(\"m008\"));\n }\n var opts;\n if ((typeof arg3 === \"undefined\" ? \"undefined\" : _typeof(arg3)) === \"object\") {\n opts = arg3;\n } else {\n opts = {};\n }\n opts.name = opts.name || expression.name || effect.name || \"Reaction@\" + getNextId();\n opts.fireImmediately = arg3 === true || opts.fireImmediately === true;\n opts.delay = opts.delay || 0;\n opts.compareStructural = opts.compareStructural || opts.struct || false;\n // TODO: creates ugly spy events, use `effect = (r) => runInAction(opts.name, () => effect(r))` instead\n effect = action(opts.name, opts.context ? effect.bind(opts.context) : effect);\n if (opts.context) {\n expression = expression.bind(opts.context);\n }\n var firstTime = true;\n var isScheduled = false;\n var value;\n var equals = opts.equals ? opts.equals : opts.compareStructural || opts.struct ? comparer.structural : comparer.default;\n var r = new Reaction(opts.name, function () {\n if (firstTime || opts.delay < 1) {\n reactionRunner();\n } else if (!isScheduled) {\n isScheduled = true;\n setTimeout(function () {\n isScheduled = false;\n reactionRunner();\n }, opts.delay);\n }\n });\n function reactionRunner() {\n if (r.isDisposed) return;\n var changed = false;\n r.track(function () {\n var nextValue = expression(r);\n changed = firstTime || !equals(value, nextValue);\n value = nextValue;\n });\n if (firstTime && opts.fireImmediately) effect(value, r);\n if (!firstTime && changed === true) effect(value, r);\n if (firstTime) firstTime = false;\n }\n r.schedule();\n return r.getDisposer();\n}\n\n/**\n * A node in the state dependency root that observes other nodes, and can be observed itself.\n *\n * ComputedValue will remember the result of the computation for the duration of the batch, or\n * while being observed.\n *\n * During this time it will recompute only when one of its direct dependencies changed,\n * but only when it is being accessed with `ComputedValue.get()`.\n *\n * Implementation description:\n * 1. First time it's being accessed it will compute and remember result\n * give back remembered result until 2. happens\n * 2. First time any deep dependency change, propagate POSSIBLY_STALE to all observers, wait for 3.\n * 3. When it's being accessed, recompute if any shallow dependency changed.\n * if result changed: propagate STALE to all observers, that were POSSIBLY_STALE from the last step.\n * go to step 2. either way\n *\n * If at any point it's outside batch and it isn't observed: reset everything and go to 1.\n */\nvar ComputedValue = /** @class */function () {\n /**\n * Create a new computed value based on a function expression.\n *\n * The `name` property is for debug purposes only.\n *\n * The `equals` property specifies the comparer function to use to determine if a newly produced\n * value differs from the previous value. Two comparers are provided in the library; `defaultComparer`\n * compares based on identity comparison (===), and `structualComparer` deeply compares the structure.\n * Structural comparison can be convenient if you always produce an new aggregated object and\n * don't want to notify observers if it is structurally the same.\n * This is useful for working with vectors, mouse coordinates etc.\n */\n function ComputedValue(derivation, scope, equals, name, setter) {\n this.derivation = derivation;\n this.scope = scope;\n this.equals = equals;\n this.dependenciesState = IDerivationState.NOT_TRACKING;\n this.observing = []; // nodes we are looking at. Our value depends on these nodes\n this.newObserving = null; // during tracking it's an array with new observed observers\n this.isPendingUnobservation = false;\n this.observers = [];\n this.observersIndexes = {};\n this.diffValue = 0;\n this.runId = 0;\n this.lastAccessedBy = 0;\n this.lowestObserverState = IDerivationState.UP_TO_DATE;\n this.unboundDepsCount = 0;\n this.__mapid = \"#\" + getNextId();\n this.value = new CaughtException(null);\n this.isComputing = false; // to check for cycles\n this.isRunningSetter = false;\n this.isTracing = TraceMode.NONE;\n this.name = name || \"ComputedValue@\" + getNextId();\n if (setter) this.setter = createAction(name + \"-setter\", setter);\n }\n ComputedValue.prototype.onBecomeStale = function () {\n propagateMaybeChanged(this);\n };\n ComputedValue.prototype.onBecomeUnobserved = function () {\n clearObserving(this);\n this.value = undefined;\n };\n /**\n * Returns the current value of this computed value.\n * Will evaluate its computation first if needed.\n */\n ComputedValue.prototype.get = function () {\n invariant(!this.isComputing, \"Cycle detected in computation \" + this.name, this.derivation);\n if (globalState.inBatch === 0) {\n // This is an minor optimization which could be omitted to simplify the code\n // The computedValue is accessed outside of any mobx stuff. Batch observing should be enough and don't need\n // tracking as it will never be called again inside this batch.\n startBatch();\n if (shouldCompute(this)) {\n if (this.isTracing !== TraceMode.NONE) {\n console.log(\"[mobx.trace] '\" + this.name + \"' is being read outside a reactive context and doing a full recompute\");\n }\n this.value = this.computeValue(false);\n }\n endBatch();\n } else {\n reportObserved(this);\n if (shouldCompute(this)) if (this.trackAndCompute()) propagateChangeConfirmed(this);\n }\n var result = this.value;\n if (isCaughtException(result)) throw result.cause;\n return result;\n };\n ComputedValue.prototype.peek = function () {\n var res = this.computeValue(false);\n if (isCaughtException(res)) throw res.cause;\n return res;\n };\n ComputedValue.prototype.set = function (value) {\n if (this.setter) {\n invariant(!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?\");\n this.isRunningSetter = true;\n try {\n this.setter.call(this.scope, value);\n } finally {\n this.isRunningSetter = false;\n }\n } else invariant(false, \"[ComputedValue '\" + this.name + \"'] It is not possible to assign a new value to a computed value.\");\n };\n ComputedValue.prototype.trackAndCompute = function () {\n if (isSpyEnabled()) {\n spyReport({\n object: this.scope,\n type: \"compute\",\n fn: this.derivation\n });\n }\n var oldValue = this.value;\n var wasSuspended =\n /* see #1208 */this.dependenciesState === IDerivationState.NOT_TRACKING;\n var newValue = this.value = this.computeValue(true);\n return wasSuspended || isCaughtException(oldValue) || isCaughtException(newValue) || !this.equals(oldValue, newValue);\n };\n ComputedValue.prototype.computeValue = function (track) {\n this.isComputing = true;\n globalState.computationDepth++;\n var res;\n if (track) {\n res = trackDerivedFunction(this, this.derivation, this.scope);\n } else {\n try {\n res = this.derivation.call(this.scope);\n } catch (e) {\n res = new CaughtException(e);\n }\n }\n globalState.computationDepth--;\n this.isComputing = false;\n return res;\n };\n ComputedValue.prototype.observe = function (listener, fireImmediately) {\n var _this = this;\n var firstTime = true;\n var prevValue = undefined;\n return autorun(function () {\n var newValue = _this.get();\n if (!firstTime || fireImmediately) {\n var prevU = untrackedStart();\n listener({\n type: \"update\",\n object: _this,\n newValue: newValue,\n oldValue: prevValue\n });\n untrackedEnd(prevU);\n }\n firstTime = false;\n prevValue = newValue;\n });\n };\n ComputedValue.prototype.toJSON = function () {\n return this.get();\n };\n ComputedValue.prototype.toString = function () {\n return this.name + \"[\" + this.derivation.toString() + \"]\";\n };\n ComputedValue.prototype.valueOf = function () {\n return toPrimitive(this.get());\n };\n ComputedValue.prototype.whyRun = function () {\n var isTracking = Boolean(globalState.trackingDerivation);\n var observing = unique(this.isComputing ? this.newObserving : this.observing).map(function (dep) {\n return dep.name;\n });\n var observers = unique(getObservers(this).map(function (dep) {\n return dep.name;\n }));\n return \"\\nWhyRun? computation '\" + this.name + \"':\\n * Running because: \" + (isTracking ? \"[active] the value of this computation is needed by a reaction\" : this.isComputing ? \"[get] The value of this computed was requested outside a reaction\" : \"[idle] not running at the moment\") + \"\\n\" + (this.dependenciesState === IDerivationState.NOT_TRACKING ? getMessage(\"m032\") : \" * This computation will re-run if any of the following observables changes:\\n \" + joinStrings(observing) + \"\\n \" + (this.isComputing && isTracking ? \" (... or any observable accessed during the remainder of the current run)\" : \"\") + \"\\n \" + getMessage(\"m038\") + \"\\n\\n * If the outcome of this computation changes, the following observers will be re-run:\\n \" + joinStrings(observers) + \"\\n\");\n };\n return ComputedValue;\n}();\nComputedValue.prototype[primitiveSymbol()] = ComputedValue.prototype.valueOf;\nvar isComputedValue = createInstanceofPredicate(\"ComputedValue\", ComputedValue);\n\nvar ObservableObjectAdministration = /** @class */function () {\n function ObservableObjectAdministration(target, name) {\n this.target = target;\n this.name = name;\n this.values = {};\n this.changeListeners = null;\n this.interceptors = null;\n }\n /**\n * Observes this object. Triggers for the events 'add', 'update' and 'delete'.\n * See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/observe\n * for callback details\n */\n ObservableObjectAdministration.prototype.observe = function (callback, fireImmediately) {\n invariant(fireImmediately !== true, \"`observe` doesn't support the fire immediately property for observable objects.\");\n return registerListener(this, callback);\n };\n ObservableObjectAdministration.prototype.intercept = function (handler) {\n return registerInterceptor(this, handler);\n };\n return ObservableObjectAdministration;\n}();\nfunction asObservableObject(target, name) {\n if (isObservableObject(target) && target.hasOwnProperty(\"$mobx\")) return target.$mobx;\n invariant(Object.isExtensible(target), getMessage(\"m035\"));\n if (!isPlainObject(target)) name = (target.constructor.name || \"ObservableObject\") + \"@\" + getNextId();\n if (!name) name = \"ObservableObject@\" + getNextId();\n var adm = new ObservableObjectAdministration(target, name);\n addHiddenFinalProp(target, \"$mobx\", adm);\n return adm;\n}\nfunction defineObservablePropertyFromDescriptor(adm, propName, descriptor, defaultEnhancer) {\n if (adm.values[propName] && !isComputedValue(adm.values[propName])) {\n // already observable property\n invariant(\"value\" in descriptor, \"The property \" + propName + \" in \" + adm.name + \" is already observable, cannot redefine it as computed property\");\n adm.target[propName] = descriptor.value; // the property setter will make 'value' reactive if needed.\n return;\n }\n // not yet observable property\n if (\"value\" in descriptor) {\n // not a computed value\n if (isModifierDescriptor(descriptor.value)) {\n // x : ref(someValue)\n var modifierDescriptor = descriptor.value;\n defineObservableProperty(adm, propName, modifierDescriptor.initialValue, modifierDescriptor.enhancer);\n } else if (isAction(descriptor.value) && descriptor.value.autoBind === true) {\n defineBoundAction(adm.target, propName, descriptor.value.originalFn);\n } else if (isComputedValue(descriptor.value)) {\n // x: computed(someExpr)\n defineComputedPropertyFromComputedValue(adm, propName, descriptor.value);\n } else {\n // x: someValue\n defineObservableProperty(adm, propName, descriptor.value, defaultEnhancer);\n }\n } else {\n // get x() { return 3 } set x(v) { }\n defineComputedProperty(adm, propName, descriptor.get, descriptor.set, comparer.default, true);\n }\n}\nfunction defineObservableProperty(adm, propName, newValue, enhancer) {\n assertPropertyConfigurable(adm.target, propName);\n if (hasInterceptors(adm)) {\n var change = interceptChange(adm, {\n object: adm.target,\n name: propName,\n type: \"add\",\n newValue: newValue\n });\n if (!change) return;\n newValue = change.newValue;\n }\n var observable = adm.values[propName] = new ObservableValue(newValue, enhancer, adm.name + \".\" + propName, false);\n newValue = observable.value; // observableValue might have changed it\n Object.defineProperty(adm.target, propName, generateObservablePropConfig(propName));\n notifyPropertyAddition(adm, adm.target, propName, newValue);\n}\nfunction defineComputedProperty(adm, propName, getter, setter, equals, asInstanceProperty) {\n if (asInstanceProperty) assertPropertyConfigurable(adm.target, propName);\n adm.values[propName] = new ComputedValue(getter, adm.target, equals, adm.name + \".\" + propName, setter);\n if (asInstanceProperty) {\n Object.defineProperty(adm.target, propName, generateComputedPropConfig(propName));\n }\n}\nfunction defineComputedPropertyFromComputedValue(adm, propName, computedValue) {\n var name = adm.name + \".\" + propName;\n computedValue.name = name;\n if (!computedValue.scope) computedValue.scope = adm.target;\n adm.values[propName] = computedValue;\n Object.defineProperty(adm.target, propName, generateComputedPropConfig(propName));\n}\nvar observablePropertyConfigs = {};\nvar computedPropertyConfigs = {};\nfunction generateObservablePropConfig(propName) {\n return observablePropertyConfigs[propName] || (observablePropertyConfigs[propName] = {\n configurable: true,\n enumerable: true,\n get: function get() {\n return this.$mobx.values[propName].get();\n },\n set: function set(v) {\n setPropertyValue(this, propName, v);\n }\n });\n}\nfunction generateComputedPropConfig(propName) {\n return computedPropertyConfigs[propName] || (computedPropertyConfigs[propName] = {\n configurable: true,\n enumerable: false,\n get: function get() {\n return this.$mobx.values[propName].get();\n },\n set: function set(v) {\n return this.$mobx.values[propName].set(v);\n }\n });\n}\nfunction setPropertyValue(instance, name, newValue) {\n var adm = instance.$mobx;\n var observable = adm.values[name];\n // intercept\n if (hasInterceptors(adm)) {\n var change = interceptChange(adm, {\n type: \"update\",\n object: instance,\n name: name,\n newValue: newValue\n });\n if (!change) return;\n newValue = change.newValue;\n }\n newValue = observable.prepareNewValue(newValue);\n // notify spy & observers\n if (newValue !== UNCHANGED) {\n var notify = hasListeners(adm);\n var notifySpy = isSpyEnabled();\n var change = notify || notifySpy ? {\n type: \"update\",\n object: instance,\n oldValue: observable.value,\n name: name,\n newValue: newValue\n } : null;\n if (notifySpy) spyReportStart(change);\n observable.setNewValue(newValue);\n if (notify) notifyListeners(adm, change);\n if (notifySpy) spyReportEnd();\n }\n}\nfunction notifyPropertyAddition(adm, object, name, newValue) {\n var notify = hasListeners(adm);\n var notifySpy = isSpyEnabled();\n var change = notify || notifySpy ? {\n type: \"add\",\n object: object,\n name: name,\n newValue: newValue\n } : null;\n if (notifySpy) spyReportStart(change);\n if (notify) notifyListeners(adm, change);\n if (notifySpy) spyReportEnd();\n}\nvar isObservableObjectAdministration = createInstanceofPredicate(\"ObservableObjectAdministration\", ObservableObjectAdministration);\nfunction isObservableObject(thing) {\n if (isObject(thing)) {\n // Initializers run lazily when transpiling to babel, so make sure they are run...\n runLazyInitializers(thing);\n return isObservableObjectAdministration(thing.$mobx);\n }\n return false;\n}\n\n/**\n * Returns true if the provided value is reactive.\n * @param value object, function or array\n * @param property if property is specified, checks whether value.property is reactive.\n */\nfunction isObservable(value, property) {\n if (value === null || value === undefined) return false;\n if (property !== undefined) {\n if (isObservableArray(value) || isObservableMap(value)) throw new Error(getMessage(\"m019\"));else if (isObservableObject(value)) {\n var o = value.$mobx;\n return o.values && !!o.values[property];\n }\n return false;\n }\n // For first check, see #701\n return isObservableObject(value) || !!value.$mobx || isAtom(value) || isReaction(value) || isComputedValue(value);\n}\n\nfunction createDecoratorForEnhancer(enhancer) {\n invariant(!!enhancer, \":(\");\n return createClassPropertyDecorator(function (target, name, baseValue, _, baseDescriptor) {\n assertPropertyConfigurable(target, name);\n invariant(!baseDescriptor || !baseDescriptor.get, getMessage(\"m022\"));\n var adm = asObservableObject(target, undefined);\n defineObservableProperty(adm, name, baseValue, enhancer);\n }, function (name) {\n var observable = this.$mobx.values[name];\n if (observable === undefined // See #505\n ) return undefined;\n return observable.get();\n }, function (name, value) {\n setPropertyValue(this, name, value);\n }, true, false);\n}\n\nfunction extendObservable(target) {\n var properties = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n properties[_i - 1] = arguments[_i];\n }\n return extendObservableHelper(target, deepEnhancer, properties);\n}\nfunction extendShallowObservable(target) {\n var properties = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n properties[_i - 1] = arguments[_i];\n }\n return extendObservableHelper(target, referenceEnhancer, properties);\n}\nfunction extendObservableHelper(target, defaultEnhancer, properties) {\n invariant(arguments.length >= 2, getMessage(\"m014\"));\n invariant((typeof target === \"undefined\" ? \"undefined\" : _typeof(target)) === \"object\", getMessage(\"m015\"));\n invariant(!isObservableMap(target), getMessage(\"m016\"));\n properties.forEach(function (propSet) {\n invariant((typeof propSet === \"undefined\" ? \"undefined\" : _typeof(propSet)) === \"object\", getMessage(\"m017\"));\n invariant(!isObservable(propSet), getMessage(\"m018\"));\n });\n var adm = asObservableObject(target);\n var definedProps = {};\n // Note could be optimised if properties.length === 1\n for (var i = properties.length - 1; i >= 0; i--) {\n var propSet = properties[i];\n for (var key in propSet) {\n if (definedProps[key] !== true && hasOwnProperty(propSet, key)) {\n definedProps[key] = true;\n if (target === propSet && !isPropertyConfigurable(target, key)) continue; // see #111, skip non-configurable or non-writable props for `observable(object)`.\n var descriptor = Object.getOwnPropertyDescriptor(propSet, key);\n defineObservablePropertyFromDescriptor(adm, key, descriptor, defaultEnhancer);\n }\n }\n }\n return target;\n}\n\nvar deepDecorator = createDecoratorForEnhancer(deepEnhancer);\nvar shallowDecorator = createDecoratorForEnhancer(shallowEnhancer);\nvar refDecorator = createDecoratorForEnhancer(referenceEnhancer);\nvar deepStructDecorator = createDecoratorForEnhancer(deepStructEnhancer);\nvar refStructDecorator = createDecoratorForEnhancer(refStructEnhancer);\n/**\n * Turns an object, array or function into a reactive structure.\n * @param v the value which should become observable.\n */\nfunction createObservable(v) {\n if (v === void 0) {\n v = undefined;\n }\n // @observable someProp;\n if (typeof arguments[1] === \"string\") return deepDecorator.apply(null, arguments);\n invariant(arguments.length <= 1, getMessage(\"m021\"));\n invariant(!isModifierDescriptor(v), getMessage(\"m020\"));\n // it is an observable already, done\n if (isObservable(v)) return v;\n // something that can be converted and mutated?\n var res = deepEnhancer(v, undefined, undefined);\n // this value could be converted to a new observable data structure, return it\n if (res !== v) return res;\n // otherwise, just box it\n return observable.box(v);\n}\nvar observableFactories = {\n box: function box(value, name) {\n if (arguments.length > 2) incorrectlyUsedAsDecorator(\"box\");\n return new ObservableValue(value, deepEnhancer, name);\n },\n shallowBox: function shallowBox(value, name) {\n if (arguments.length > 2) incorrectlyUsedAsDecorator(\"shallowBox\");\n return new ObservableValue(value, referenceEnhancer, name);\n },\n array: function array(initialValues, name) {\n if (arguments.length > 2) incorrectlyUsedAsDecorator(\"array\");\n return new ObservableArray(initialValues, deepEnhancer, name);\n },\n shallowArray: function shallowArray(initialValues, name) {\n if (arguments.length > 2) incorrectlyUsedAsDecorator(\"shallowArray\");\n return new ObservableArray(initialValues, referenceEnhancer, name);\n },\n map: function map(initialValues, name) {\n if (arguments.length > 2) incorrectlyUsedAsDecorator(\"map\");\n return new ObservableMap(initialValues, deepEnhancer, name);\n },\n shallowMap: function shallowMap(initialValues, name) {\n if (arguments.length > 2) incorrectlyUsedAsDecorator(\"shallowMap\");\n return new ObservableMap(initialValues, referenceEnhancer, name);\n },\n object: function object(props, name) {\n if (arguments.length > 2) incorrectlyUsedAsDecorator(\"object\");\n var res = {};\n // convert to observable object\n asObservableObject(res, name);\n // add properties\n extendObservable(res, props);\n return res;\n },\n shallowObject: function shallowObject(props, name) {\n if (arguments.length > 2) incorrectlyUsedAsDecorator(\"shallowObject\");\n var res = {};\n asObservableObject(res, name);\n extendShallowObservable(res, props);\n return res;\n },\n ref: function ref() {\n if (arguments.length < 2) {\n // although ref creates actually a modifier descriptor, the type of the resultig properties\n // of the object is `T` in the end, when the descriptors are interpreted\n return createModifierDescriptor(referenceEnhancer, arguments[0]);\n } else {\n return refDecorator.apply(null, arguments);\n }\n },\n shallow: function shallow() {\n if (arguments.length < 2) {\n // although ref creates actually a modifier descriptor, the type of the resultig properties\n // of the object is `T` in the end, when the descriptors are interpreted\n return createModifierDescriptor(shallowEnhancer, arguments[0]);\n } else {\n return shallowDecorator.apply(null, arguments);\n }\n },\n deep: function deep() {\n if (arguments.length < 2) {\n // although ref creates actually a modifier descriptor, the type of the resultig properties\n // of the object is `T` in the end, when the descriptors are interpreted\n return createModifierDescriptor(deepEnhancer, arguments[0]);\n } else {\n return deepDecorator.apply(null, arguments);\n }\n },\n struct: function struct() {\n if (arguments.length < 2) {\n // although ref creates actually a modifier descriptor, the type of the resultig properties\n // of the object is `T` in the end, when the descriptors are interpreted\n return createModifierDescriptor(deepStructEnhancer, arguments[0]);\n } else {\n return deepStructDecorator.apply(null, arguments);\n }\n }\n};\nvar observable = createObservable;\n// weird trick to keep our typings nicely with our funcs, and still extend the observable function\nObject.keys(observableFactories).forEach(function (name) {\n return observable[name] = observableFactories[name];\n});\nobservable.deep.struct = observable.struct;\nobservable.ref.struct = function () {\n if (arguments.length < 2) {\n return createModifierDescriptor(refStructEnhancer, arguments[0]);\n } else {\n return refStructDecorator.apply(null, arguments);\n }\n};\nfunction incorrectlyUsedAsDecorator(methodName) {\n fail(\"Expected one or two arguments to observable.\" + methodName + \". Did you accidentally try to use observable.\" + methodName + \" as decorator?\");\n}\n\nfunction isModifierDescriptor(thing) {\n return (typeof thing === \"undefined\" ? \"undefined\" : _typeof(thing)) === \"object\" && thing !== null && thing.isMobxModifierDescriptor === true;\n}\nfunction createModifierDescriptor(enhancer, initialValue) {\n invariant(!isModifierDescriptor(initialValue), \"Modifiers cannot be nested\");\n return {\n isMobxModifierDescriptor: true,\n initialValue: initialValue,\n enhancer: enhancer\n };\n}\nfunction deepEnhancer(v, _, name) {\n if (isModifierDescriptor(v)) fail(\"You tried to assign a modifier wrapped value to a collection, please define modifiers when creating the collection, not when modifying it\");\n // it is an observable already, done\n if (isObservable(v)) return v;\n // something that can be converted and mutated?\n if (Array.isArray(v)) return observable.array(v, name);\n if (isPlainObject(v)) return observable.object(v, name);\n if (isES6Map(v)) return observable.map(v, name);\n return v;\n}\nfunction shallowEnhancer(v, _, name) {\n if (isModifierDescriptor(v)) fail(\"You tried to assign a modifier wrapped value to a collection, please define modifiers when creating the collection, not when modifying it\");\n if (v === undefined || v === null) return v;\n if (isObservableObject(v) || isObservableArray(v) || isObservableMap(v)) return v;\n if (Array.isArray(v)) return observable.shallowArray(v, name);\n if (isPlainObject(v)) return observable.shallowObject(v, name);\n if (isES6Map(v)) return observable.shallowMap(v, name);\n return fail(\"The shallow modifier / decorator can only used in combination with arrays, objects and maps\");\n}\nfunction referenceEnhancer(newValue) {\n // never turn into an observable\n return newValue;\n}\nfunction deepStructEnhancer(v, oldValue, name) {\n // don't confuse structurally compare enhancer with ref enhancer! The latter is probably\n // more suited for immutable objects\n if (deepEqual(v, oldValue)) return oldValue;\n // it is an observable already, done\n if (isObservable(v)) return v;\n // something that can be converted and mutated?\n if (Array.isArray(v)) return new ObservableArray(v, deepStructEnhancer, name);\n if (isES6Map(v)) return new ObservableMap(v, deepStructEnhancer, name);\n if (isPlainObject(v)) {\n var res = {};\n asObservableObject(res, name);\n extendObservableHelper(res, deepStructEnhancer, [v]);\n return res;\n }\n return v;\n}\nfunction refStructEnhancer(v, oldValue, name) {\n if (deepEqual(v, oldValue)) return oldValue;\n return v;\n}\n\n/**\n * During a transaction no views are updated until the end of the transaction.\n * The transaction will be run synchronously nonetheless.\n *\n * @param action a function that updates some reactive state\n * @returns any value that was returned by the 'action' parameter.\n */\nfunction transaction(action, thisArg) {\n if (thisArg === void 0) {\n thisArg = undefined;\n }\n startBatch();\n try {\n return action.apply(thisArg);\n } finally {\n endBatch();\n }\n}\n\nvar ObservableMapMarker = {};\nvar ObservableMap = /** @class */function () {\n function ObservableMap(initialData, enhancer, name) {\n if (enhancer === void 0) {\n enhancer = deepEnhancer;\n }\n if (name === void 0) {\n name = \"ObservableMap@\" + getNextId();\n }\n this.enhancer = enhancer;\n this.name = name;\n this.$mobx = ObservableMapMarker;\n this._data = Object.create(null);\n this._hasMap = Object.create(null); // hasMap, not hashMap >-).\n this._keys = new ObservableArray(undefined, referenceEnhancer, this.name + \".keys()\", true);\n this.interceptors = null;\n this.changeListeners = null;\n this.dehancer = undefined;\n this.merge(initialData);\n }\n ObservableMap.prototype._has = function (key) {\n return typeof this._data[key] !== \"undefined\";\n };\n ObservableMap.prototype.has = function (key) {\n if (!this.isValidKey(key)) return false;\n key = \"\" + key;\n if (this._hasMap[key]) return this._hasMap[key].get();\n return this._updateHasMapEntry(key, false).get();\n };\n ObservableMap.prototype.set = function (key, value) {\n this.assertValidKey(key);\n key = \"\" + key;\n var hasKey = this._has(key);\n if (hasInterceptors(this)) {\n var change = interceptChange(this, {\n type: hasKey ? \"update\" : \"add\",\n object: this,\n newValue: value,\n name: key\n });\n if (!change) return this;\n value = change.newValue;\n }\n if (hasKey) {\n this._updateValue(key, value);\n } else {\n this._addValue(key, value);\n }\n return this;\n };\n ObservableMap.prototype.delete = function (key) {\n var _this = this;\n this.assertValidKey(key);\n key = \"\" + key;\n if (hasInterceptors(this)) {\n var change = interceptChange(this, {\n type: \"delete\",\n object: this,\n name: key\n });\n if (!change) return false;\n }\n if (this._has(key)) {\n var notifySpy = isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy ? {\n type: \"delete\",\n object: this,\n oldValue: this._data[key].value,\n name: key\n } : null;\n if (notifySpy) spyReportStart(change);\n transaction(function () {\n _this._keys.remove(key);\n _this._updateHasMapEntry(key, false);\n var observable$$1 = _this._data[key];\n observable$$1.setNewValue(undefined);\n _this._data[key] = undefined;\n });\n if (notify) notifyListeners(this, change);\n if (notifySpy) spyReportEnd();\n return true;\n }\n return false;\n };\n ObservableMap.prototype._updateHasMapEntry = function (key, value) {\n // optimization; don't fill the hasMap if we are not observing, or remove entry if there are no observers anymore\n var entry = this._hasMap[key];\n if (entry) {\n entry.setNewValue(value);\n } else {\n entry = this._hasMap[key] = new ObservableValue(value, referenceEnhancer, this.name + \".\" + key + \"?\", false);\n }\n return entry;\n };\n ObservableMap.prototype._updateValue = function (name, newValue) {\n var observable$$1 = this._data[name];\n newValue = observable$$1.prepareNewValue(newValue);\n if (newValue !== UNCHANGED) {\n var notifySpy = isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy ? {\n type: \"update\",\n object: this,\n oldValue: observable$$1.value,\n name: name,\n newValue: newValue\n } : null;\n if (notifySpy) spyReportStart(change);\n observable$$1.setNewValue(newValue);\n if (notify) notifyListeners(this, change);\n if (notifySpy) spyReportEnd();\n }\n };\n ObservableMap.prototype._addValue = function (name, newValue) {\n var _this = this;\n transaction(function () {\n var observable$$1 = _this._data[name] = new ObservableValue(newValue, _this.enhancer, _this.name + \".\" + name, false);\n newValue = observable$$1.value; // value might have been changed\n _this._updateHasMapEntry(name, true);\n _this._keys.push(name);\n });\n var notifySpy = isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy ? {\n type: \"add\",\n object: this,\n name: name,\n newValue: newValue\n } : null;\n if (notifySpy) spyReportStart(change);\n if (notify) notifyListeners(this, change);\n if (notifySpy) spyReportEnd();\n };\n ObservableMap.prototype.get = function (key) {\n key = \"\" + key;\n if (this.has(key)) return this.dehanceValue(this._data[key].get());\n return this.dehanceValue(undefined);\n };\n ObservableMap.prototype.dehanceValue = function (value) {\n if (this.dehancer !== undefined) {\n return this.dehancer(value);\n }\n return value;\n };\n ObservableMap.prototype.keys = function () {\n return arrayAsIterator(this._keys.slice());\n };\n ObservableMap.prototype.values = function () {\n return arrayAsIterator(this._keys.map(this.get, this));\n };\n ObservableMap.prototype.entries = function () {\n var _this = this;\n return arrayAsIterator(this._keys.map(function (key) {\n return [key, _this.get(key)];\n }));\n };\n ObservableMap.prototype.forEach = function (callback, thisArg) {\n var _this = this;\n this.keys().forEach(function (key) {\n return callback.call(thisArg, _this.get(key), key, _this);\n });\n };\n /** Merge another object into this object, returns this. */\n ObservableMap.prototype.merge = function (other) {\n var _this = this;\n if (isObservableMap(other)) {\n other = other.toJS();\n }\n transaction(function () {\n if (isPlainObject(other)) Object.keys(other).forEach(function (key) {\n return _this.set(key, other[key]);\n });else if (Array.isArray(other)) other.forEach(function (_a) {\n var key = _a[0],\n value = _a[1];\n return _this.set(key, value);\n });else if (isES6Map(other)) other.forEach(function (value, key) {\n return _this.set(key, value);\n });else if (other !== null && other !== undefined) fail(\"Cannot initialize map from \" + other);\n });\n return this;\n };\n ObservableMap.prototype.clear = function () {\n var _this = this;\n transaction(function () {\n untracked(function () {\n _this.keys().forEach(_this.delete, _this);\n });\n });\n };\n ObservableMap.prototype.replace = function (values) {\n var _this = this;\n transaction(function () {\n // grab all the keys that are present in the new map but not present in the current map\n // and delete them from the map, then merge the new map\n // this will cause reactions only on changed values\n var newKeys = getMapLikeKeys(values);\n var oldKeys = _this.keys();\n var missingKeys = oldKeys.filter(function (k) {\n return newKeys.indexOf(k) === -1;\n });\n missingKeys.forEach(function (k) {\n return _this.delete(k);\n });\n _this.merge(values);\n });\n return this;\n };\n Object.defineProperty(ObservableMap.prototype, \"size\", {\n get: function get() {\n return this._keys.length;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Returns a shallow non observable object clone of this map.\n * Note that the values might still be observable. For a deep clone use mobx.toJS.\n */\n ObservableMap.prototype.toJS = function () {\n var _this = this;\n var res = {};\n this.keys().forEach(function (key) {\n return res[key] = _this.get(key);\n });\n return res;\n };\n ObservableMap.prototype.toJSON = function () {\n // Used by JSON.stringify\n return this.toJS();\n };\n ObservableMap.prototype.isValidKey = function (key) {\n if (key === null || key === undefined) return false;\n if (typeof key === \"string\" || typeof key === \"number\" || typeof key === \"boolean\") return true;\n return false;\n };\n ObservableMap.prototype.assertValidKey = function (key) {\n if (!this.isValidKey(key)) throw new Error(\"[mobx.map] Invalid key: '\" + key + \"', only strings, numbers and booleans are accepted as key in observable maps.\");\n };\n ObservableMap.prototype.toString = function () {\n var _this = this;\n return this.name + \"[{ \" + this.keys().map(function (key) {\n return key + \": \" + (\"\" + _this.get(key));\n }).join(\", \") + \" }]\";\n };\n /**\n * Observes this object. Triggers for the events 'add', 'update' and 'delete'.\n * See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/observe\n * for callback details\n */\n ObservableMap.prototype.observe = function (listener, fireImmediately) {\n invariant(fireImmediately !== true, getMessage(\"m033\"));\n return registerListener(this, listener);\n };\n ObservableMap.prototype.intercept = function (handler) {\n return registerInterceptor(this, handler);\n };\n return ObservableMap;\n}();\ndeclareIterator(ObservableMap.prototype, function () {\n return this.entries();\n});\nfunction map(initialValues) {\n deprecated(\"`mobx.map` is deprecated, use `new ObservableMap` or `mobx.observable.map` instead\");\n return observable.map(initialValues);\n}\n/* 'var' fixes small-build issue */\nvar isObservableMap = createInstanceofPredicate(\"ObservableMap\", ObservableMap);\n\nvar EMPTY_ARRAY = [];\nObject.freeze(EMPTY_ARRAY);\nfunction getGlobal() {\n return typeof window !== \"undefined\" ? window : global;\n}\nfunction getNextId() {\n return ++globalState.mobxGuid;\n}\nfunction fail(message, thing) {\n invariant(false, message, thing);\n throw \"X\"; // unreachable\n}\nfunction invariant(check, message, thing) {\n if (!check) throw new Error(\"[mobx] Invariant failed: \" + message + (thing ? \" in '\" + thing + \"'\" : \"\"));\n}\n/**\n * Prints a deprecation message, but only one time.\n * Returns false if the deprecated message was already printed before\n */\nvar deprecatedMessages = [];\nfunction deprecated(msg) {\n if (deprecatedMessages.indexOf(msg) !== -1) return false;\n deprecatedMessages.push(msg);\n console.error(\"[mobx] Deprecated: \" + msg);\n return true;\n}\n/**\n * Makes sure that the provided function is invoked at most once.\n */\nfunction once(func) {\n var invoked = false;\n return function () {\n if (invoked) return;\n invoked = true;\n return func.apply(this, arguments);\n };\n}\nvar noop = function noop() {};\nfunction unique(list) {\n var res = [];\n list.forEach(function (item) {\n if (res.indexOf(item) === -1) res.push(item);\n });\n return res;\n}\nfunction joinStrings(things, limit, separator) {\n if (limit === void 0) {\n limit = 100;\n }\n if (separator === void 0) {\n separator = \" - \";\n }\n if (!things) return \"\";\n var sliced = things.slice(0, limit);\n return \"\" + sliced.join(separator) + (things.length > limit ? \" (... and \" + (things.length - limit) + \"more)\" : \"\");\n}\nfunction isObject(value) {\n return value !== null && (typeof value === \"undefined\" ? \"undefined\" : _typeof(value)) === \"object\";\n}\nfunction isPlainObject(value) {\n if (value === null || (typeof value === \"undefined\" ? \"undefined\" : _typeof(value)) !== \"object\") return false;\n var proto = Object.getPrototypeOf(value);\n return proto === Object.prototype || proto === null;\n}\nfunction objectAssign() {\n var res = arguments[0];\n for (var i = 1, l = arguments.length; i < l; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (hasOwnProperty(source, key)) {\n res[key] = source[key];\n }\n }\n }\n return res;\n}\nvar prototypeHasOwnProperty = Object.prototype.hasOwnProperty;\nfunction hasOwnProperty(object, propName) {\n return prototypeHasOwnProperty.call(object, propName);\n}\nfunction makeNonEnumerable(object, propNames) {\n for (var i = 0; i < propNames.length; i++) {\n addHiddenProp(object, propNames[i], object[propNames[i]]);\n }\n}\nfunction addHiddenProp(object, propName, value) {\n Object.defineProperty(object, propName, {\n enumerable: false,\n writable: true,\n configurable: true,\n value: value\n });\n}\nfunction addHiddenFinalProp(object, propName, value) {\n Object.defineProperty(object, propName, {\n enumerable: false,\n writable: false,\n configurable: true,\n value: value\n });\n}\nfunction isPropertyConfigurable(object, prop) {\n var descriptor = Object.getOwnPropertyDescriptor(object, prop);\n return !descriptor || descriptor.configurable !== false && descriptor.writable !== false;\n}\nfunction assertPropertyConfigurable(object, prop) {\n invariant(isPropertyConfigurable(object, prop), \"Cannot make property '\" + prop + \"' observable, it is not configurable and writable in the target object\");\n}\nfunction createInstanceofPredicate(name, clazz) {\n var propName = \"isMobX\" + name;\n clazz.prototype[propName] = true;\n return function (x) {\n return isObject(x) && x[propName] === true;\n };\n}\nfunction areBothNaN(a, b) {\n return typeof a === \"number\" && typeof b === \"number\" && isNaN(a) && isNaN(b);\n}\n/**\n * Returns whether the argument is an array, disregarding observability.\n */\nfunction isArrayLike(x) {\n return Array.isArray(x) || isObservableArray(x);\n}\nfunction isES6Map(thing) {\n if (getGlobal().Map !== undefined && thing instanceof getGlobal().Map) return true;\n return false;\n}\nfunction getMapLikeKeys(map$$1) {\n if (isPlainObject(map$$1)) return Object.keys(map$$1);\n if (Array.isArray(map$$1)) return map$$1.map(function (_a) {\n var key = _a[0];\n return key;\n });\n if (isES6Map(map$$1)) return Array.from(map$$1.keys());\n if (isObservableMap(map$$1)) return map$$1.keys();\n return fail(\"Cannot get keys from \" + map$$1);\n}\nfunction iteratorToArray(it) {\n var res = [];\n while (true) {\n var r = it.next();\n if (r.done) break;\n res.push(r.value);\n }\n return res;\n}\nfunction primitiveSymbol() {\n return typeof Symbol === \"function\" && Symbol.toPrimitive || \"@@toPrimitive\";\n}\nfunction toPrimitive(value) {\n return value === null ? null : (typeof value === \"undefined\" ? \"undefined\" : _typeof(value)) === \"object\" ? \"\" + value : value;\n}\n\n/**\n * These values will persist if global state is reset\n */\nvar persistentKeys = [\"mobxGuid\", \"resetId\", \"spyListeners\", \"strictMode\", \"runId\"];\nvar MobXGlobals = /** @class */function () {\n function MobXGlobals() {\n /**\n * MobXGlobals version.\n * MobX compatiblity with other versions loaded in memory as long as this version matches.\n * It indicates that the global state still stores similar information\n */\n this.version = 5;\n /**\n * Currently running derivation\n */\n this.trackingDerivation = null;\n /**\n * Are we running a computation currently? (not a reaction)\n */\n this.computationDepth = 0;\n /**\n * Each time a derivation is tracked, it is assigned a unique run-id\n */\n this.runId = 0;\n /**\n * 'guid' for general purpose. Will be persisted amongst resets.\n */\n this.mobxGuid = 0;\n /**\n * Are we in a batch block? (and how many of them)\n */\n this.inBatch = 0;\n /**\n * Observables that don't have observers anymore, and are about to be\n * suspended, unless somebody else accesses it in the same batch\n *\n * @type {IObservable[]}\n */\n this.pendingUnobservations = [];\n /**\n * List of scheduled, not yet executed, reactions.\n */\n this.pendingReactions = [];\n /**\n * Are we currently processing reactions?\n */\n this.isRunningReactions = false;\n /**\n * Is it allowed to change observables at this point?\n * In general, MobX doesn't allow that when running computations and React.render.\n * To ensure that those functions stay pure.\n */\n this.allowStateChanges = true;\n /**\n * If strict mode is enabled, state changes are by default not allowed\n */\n this.strictMode = false;\n /**\n * Used by createTransformer to detect that the global state has been reset.\n */\n this.resetId = 0;\n /**\n * Spy callbacks\n */\n this.spyListeners = [];\n /**\n * Globally attached error handlers that react specifically to errors in reactions\n */\n this.globalReactionErrorHandlers = [];\n }\n return MobXGlobals;\n}();\nvar globalState = new MobXGlobals();\nvar shareGlobalStateCalled = false;\nvar runInIsolationCalled = false;\nvar warnedAboutMultipleInstances = false;\n{\n var global_1 = getGlobal();\n if (!global_1.__mobxInstanceCount) {\n global_1.__mobxInstanceCount = 1;\n } else {\n global_1.__mobxInstanceCount++;\n setTimeout(function () {\n if (!shareGlobalStateCalled && !runInIsolationCalled && !warnedAboutMultipleInstances) {\n warnedAboutMultipleInstances = true;\n console.warn(\"[mobx] Warning: there are multiple mobx instances active. This might lead to unexpected results. See https://github.com/mobxjs/mobx/issues/1082 for details.\");\n }\n }, 1);\n }\n}\nfunction isolateGlobalState() {\n runInIsolationCalled = true;\n getGlobal().__mobxInstanceCount--;\n}\nfunction shareGlobalState() {\n // TODO: remove in 4.0; just use peer dependencies instead.\n deprecated(\"Using `shareGlobalState` is not recommended, use peer dependencies instead. See https://github.com/mobxjs/mobx/issues/1082 for details.\");\n shareGlobalStateCalled = true;\n var global = getGlobal();\n var ownState = globalState;\n /**\n * Backward compatibility check\n */\n if (global.__mobservableTrackingStack || global.__mobservableViewStack) throw new Error(\"[mobx] An incompatible version of mobservable is already loaded.\");\n if (global.__mobxGlobal && global.__mobxGlobal.version !== ownState.version) throw new Error(\"[mobx] An incompatible version of mobx is already loaded.\");\n if (global.__mobxGlobal) globalState = global.__mobxGlobal;else global.__mobxGlobal = ownState;\n}\nfunction getGlobalState() {\n return globalState;\n}\n\n/**\n * For testing purposes only; this will break the internal state of existing observables,\n * but can be used to get back at a stable state after throwing errors\n */\nfunction resetGlobalState() {\n globalState.resetId++;\n var defaultGlobals = new MobXGlobals();\n for (var key in defaultGlobals) {\n if (persistentKeys.indexOf(key) === -1) globalState[key] = defaultGlobals[key];\n }globalState.allowStateChanges = !globalState.strictMode;\n}\n\nfunction getAtom(thing, property) {\n if ((typeof thing === \"undefined\" ? \"undefined\" : _typeof(thing)) === \"object\" && thing !== null) {\n if (isObservableArray(thing)) {\n invariant(property === undefined, getMessage(\"m036\"));\n return thing.$mobx.atom;\n }\n if (isObservableMap(thing)) {\n var anyThing = thing;\n if (property === undefined) return getAtom(anyThing._keys);\n var observable = anyThing._data[property] || anyThing._hasMap[property];\n invariant(!!observable, \"the entry '\" + property + \"' does not exist in the observable map '\" + getDebugName(thing) + \"'\");\n return observable;\n }\n // Initializers run lazily when transpiling to babel, so make sure they are run...\n runLazyInitializers(thing);\n if (property && !thing.$mobx) thing[property]; // See #1072 // TODO: remove in 4.0\n if (isObservableObject(thing)) {\n if (!property) return fail(\"please specify a property\");\n var observable = thing.$mobx.values[property];\n invariant(!!observable, \"no observable property '\" + property + \"' found on the observable object '\" + getDebugName(thing) + \"'\");\n return observable;\n }\n if (isAtom(thing) || isComputedValue(thing) || isReaction(thing)) {\n return thing;\n }\n } else if (typeof thing === \"function\") {\n if (isReaction(thing.$mobx)) {\n // disposer function\n return thing.$mobx;\n }\n }\n return fail(\"Cannot obtain atom from \" + thing);\n}\nfunction getAdministration(thing, property) {\n invariant(thing, \"Expecting some object\");\n if (property !== undefined) return getAdministration(getAtom(thing, property));\n if (isAtom(thing) || isComputedValue(thing) || isReaction(thing)) return thing;\n if (isObservableMap(thing)) return thing;\n // Initializers run lazily when transpiling to babel, so make sure they are run...\n runLazyInitializers(thing);\n if (thing.$mobx) return thing.$mobx;\n invariant(false, \"Cannot obtain administration from \" + thing);\n}\nfunction getDebugName(thing, property) {\n var named;\n if (property !== undefined) named = getAtom(thing, property);else if (isObservableObject(thing) || isObservableMap(thing)) named = getAdministration(thing);else named = getAtom(thing); // valid for arrays as well\n return named.name;\n}\n\nfunction getDependencyTree(thing, property) {\n return nodeToDependencyTree(getAtom(thing, property));\n}\nfunction nodeToDependencyTree(node) {\n var result = {\n name: node.name\n };\n if (node.observing && node.observing.length > 0) result.dependencies = unique(node.observing).map(nodeToDependencyTree);\n return result;\n}\nfunction getObserverTree(thing, property) {\n return nodeToObserverTree(getAtom(thing, property));\n}\nfunction nodeToObserverTree(node) {\n var result = {\n name: node.name\n };\n if (hasObservers(node)) result.observers = getObservers(node).map(nodeToObserverTree);\n return result;\n}\n\nfunction hasObservers(observable) {\n return observable.observers && observable.observers.length > 0;\n}\nfunction getObservers(observable) {\n return observable.observers;\n}\nfunction addObserver(observable, node) {\n // invariant(node.dependenciesState !== -1, \"INTERNAL ERROR, can add only dependenciesState !== -1\");\n // invariant(observable._observers.indexOf(node) === -1, \"INTERNAL ERROR add already added node\");\n // invariantObservers(observable);\n var l = observable.observers.length;\n if (l) {\n // because object assignment is relatively expensive, let's not store data about index 0.\n observable.observersIndexes[node.__mapid] = l;\n }\n observable.observers[l] = node;\n if (observable.lowestObserverState > node.dependenciesState) observable.lowestObserverState = node.dependenciesState;\n // invariantObservers(observable);\n // invariant(observable._observers.indexOf(node) !== -1, \"INTERNAL ERROR didn't add node\");\n}\nfunction removeObserver(observable, node) {\n // invariant(globalState.inBatch > 0, \"INTERNAL ERROR, remove should be called only inside batch\");\n // invariant(observable._observers.indexOf(node) !== -1, \"INTERNAL ERROR remove already removed node\");\n // invariantObservers(observable);\n if (observable.observers.length === 1) {\n // deleting last observer\n observable.observers.length = 0;\n queueForUnobservation(observable);\n } else {\n // deleting from _observersIndexes is straight forward, to delete from _observers, let's swap `node` with last element\n var list = observable.observers;\n var map = observable.observersIndexes;\n var filler = list.pop(); // get last element, which should fill the place of `node`, so the array doesn't have holes\n if (filler !== node) {\n // otherwise node was the last element, which already got removed from array\n var index = map[node.__mapid] || 0; // getting index of `node`. this is the only place we actually use map.\n if (index) {\n // map store all indexes but 0, see comment in `addObserver`\n map[filler.__mapid] = index;\n } else {\n delete map[filler.__mapid];\n }\n list[index] = filler;\n }\n delete map[node.__mapid];\n }\n // invariantObservers(observable);\n // invariant(observable._observers.indexOf(node) === -1, \"INTERNAL ERROR remove already removed node2\");\n}\nfunction queueForUnobservation(observable) {\n if (!observable.isPendingUnobservation) {\n // invariant(globalState.inBatch > 0, \"INTERNAL ERROR, remove should be called only inside batch\");\n // invariant(observable._observers.length === 0, \"INTERNAL ERROR, should only queue for unobservation unobserved observables\");\n observable.isPendingUnobservation = true;\n globalState.pendingUnobservations.push(observable);\n }\n}\n/**\n * Batch starts a transaction, at least for purposes of memoizing ComputedValues when nothing else does.\n * During a batch `onBecomeUnobserved` will be called at most once per observable.\n * Avoids unnecessary recalculations.\n */\nfunction startBatch() {\n globalState.inBatch++;\n}\nfunction endBatch() {\n if (--globalState.inBatch === 0) {\n runReactions();\n // the batch is actually about to finish, all unobserving should happen here.\n var list = globalState.pendingUnobservations;\n for (var i = 0; i < list.length; i++) {\n var observable = list[i];\n observable.isPendingUnobservation = false;\n if (observable.observers.length === 0) {\n observable.onBecomeUnobserved();\n // NOTE: onBecomeUnobserved might push to `pendingUnobservations`\n }\n }\n globalState.pendingUnobservations = [];\n }\n}\nfunction reportObserved(observable) {\n var derivation = globalState.trackingDerivation;\n if (derivation !== null) {\n /**\n * Simple optimization, give each derivation run an unique id (runId)\n * Check if last time this observable was accessed the same runId is used\n * if this is the case, the relation is already known\n */\n if (derivation.runId !== observable.lastAccessedBy) {\n observable.lastAccessedBy = derivation.runId;\n derivation.newObserving[derivation.unboundDepsCount++] = observable;\n }\n } else if (observable.observers.length === 0) {\n queueForUnobservation(observable);\n }\n}\n/**\n * NOTE: current propagation mechanism will in case of self reruning autoruns behave unexpectedly\n * It will propagate changes to observers from previous run\n * It's hard or maybe impossible (with reasonable perf) to get it right with current approach\n * Hopefully self reruning autoruns aren't a feature people should depend on\n * Also most basic use cases should be ok\n */\n// Called by Atom when its value changes\nfunction propagateChanged(observable) {\n // invariantLOS(observable, \"changed start\");\n if (observable.lowestObserverState === IDerivationState.STALE) return;\n observable.lowestObserverState = IDerivationState.STALE;\n var observers = observable.observers;\n var i = observers.length;\n while (i--) {\n var d = observers[i];\n if (d.dependenciesState === IDerivationState.UP_TO_DATE) {\n if (d.isTracing !== TraceMode.NONE) {\n logTraceInfo(d, observable);\n }\n d.onBecomeStale();\n }\n d.dependenciesState = IDerivationState.STALE;\n }\n // invariantLOS(observable, \"changed end\");\n}\n// Called by ComputedValue when it recalculate and its value changed\nfunction propagateChangeConfirmed(observable) {\n // invariantLOS(observable, \"confirmed start\");\n if (observable.lowestObserverState === IDerivationState.STALE) return;\n observable.lowestObserverState = IDerivationState.STALE;\n var observers = observable.observers;\n var i = observers.length;\n while (i--) {\n var d = observers[i];\n if (d.dependenciesState === IDerivationState.POSSIBLY_STALE) d.dependenciesState = IDerivationState.STALE;else if (d.dependenciesState === IDerivationState.UP_TO_DATE // this happens during computing of `d`, just keep lowestObserverState up to date.\n ) observable.lowestObserverState = IDerivationState.UP_TO_DATE;\n }\n // invariantLOS(observable, \"confirmed end\");\n}\n// Used by computed when its dependency changed, but we don't wan't to immediately recompute.\nfunction propagateMaybeChanged(observable) {\n // invariantLOS(observable, \"maybe start\");\n if (observable.lowestObserverState !== IDerivationState.UP_TO_DATE) return;\n observable.lowestObserverState = IDerivationState.POSSIBLY_STALE;\n var observers = observable.observers;\n var i = observers.length;\n while (i--) {\n var d = observers[i];\n if (d.dependenciesState === IDerivationState.UP_TO_DATE) {\n d.dependenciesState = IDerivationState.POSSIBLY_STALE;\n if (d.isTracing !== TraceMode.NONE) {\n logTraceInfo(d, observable);\n }\n d.onBecomeStale();\n }\n }\n // invariantLOS(observable, \"maybe end\");\n}\nfunction logTraceInfo(derivation, observable) {\n console.log(\"[mobx.trace] '\" + derivation.name + \"' is invalidated due to a change in: '\" + observable.name + \"'\");\n if (derivation.isTracing === TraceMode.BREAK) {\n var lines = [];\n printDepTree(getDependencyTree(derivation), lines, 1);\n // prettier-ignore\n new Function(\"debugger;\\n/*\\nTracing '\" + derivation.name + \"'\\n\\nYou are entering this break point because derivation '\" + derivation.name + \"' is being traced and '\" + observable.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\" + (derivation instanceof ComputedValue ? derivation.derivation.toString() : \"\") + \"\\n\\nThe dependencies for this derivation are:\\n\\n\" + lines.join(\"\\n\") + \"\\n*/\\n \")();\n }\n}\nfunction printDepTree(tree, lines, depth) {\n if (lines.length >= 1000) {\n lines.push(\"(and many more)\");\n return;\n }\n lines.push(\"\" + new Array(depth).join(\"\\t\") + tree.name); // MWE: not the fastest, but the easiest way :)\n if (tree.dependencies) tree.dependencies.forEach(function (child) {\n return printDepTree(child, lines, depth + 1);\n });\n}\n\nvar IDerivationState;\n(function (IDerivationState) {\n // before being run or (outside batch and not being observed)\n // at this point derivation is not holding any data about dependency tree\n IDerivationState[IDerivationState[\"NOT_TRACKING\"] = -1] = \"NOT_TRACKING\";\n // no shallow dependency changed since last computation\n // won't recalculate derivation\n // this is what makes mobx fast\n IDerivationState[IDerivationState[\"UP_TO_DATE\"] = 0] = \"UP_TO_DATE\";\n // some deep dependency changed, but don't know if shallow dependency changed\n // will require to check first if UP_TO_DATE or POSSIBLY_STALE\n // currently only ComputedValue will propagate POSSIBLY_STALE\n //\n // having this state is second big optimization:\n // don't have to recompute on every dependency change, but only when it's needed\n IDerivationState[IDerivationState[\"POSSIBLY_STALE\"] = 1] = \"POSSIBLY_STALE\";\n // A shallow dependency has changed since last computation and the derivation\n // will need to recompute when it's needed next.\n IDerivationState[IDerivationState[\"STALE\"] = 2] = \"STALE\";\n})(IDerivationState || (exports.IDerivationState = IDerivationState = {}));\nvar TraceMode;\n(function (TraceMode) {\n TraceMode[TraceMode[\"NONE\"] = 0] = \"NONE\";\n TraceMode[TraceMode[\"LOG\"] = 1] = \"LOG\";\n TraceMode[TraceMode[\"BREAK\"] = 2] = \"BREAK\";\n})(TraceMode || (TraceMode = {}));\nvar CaughtException = /** @class */function () {\n function CaughtException(cause) {\n this.cause = cause;\n // Empty\n }\n return CaughtException;\n}();\nfunction isCaughtException(e) {\n return e instanceof CaughtException;\n}\n/**\n * Finds out whether any dependency of the derivation has actually changed.\n * If dependenciesState is 1 then it will recalculate dependencies,\n * if any dependency changed it will propagate it by changing dependenciesState to 2.\n *\n * By iterating over the dependencies in the same order that they were reported and\n * stopping on the first change, all the recalculations are only called for ComputedValues\n * that will be tracked by derivation. That is because we assume that if the first x\n * dependencies of the derivation doesn't change then the derivation should run the same way\n * up until accessing x-th dependency.\n */\nfunction shouldCompute(derivation) {\n switch (derivation.dependenciesState) {\n case IDerivationState.UP_TO_DATE:\n return false;\n case IDerivationState.NOT_TRACKING:\n case IDerivationState.STALE:\n return true;\n case IDerivationState.POSSIBLY_STALE:\n {\n var prevUntracked = untrackedStart(); // no need for those computeds to be reported, they will be picked up in trackDerivedFunction.\n var obs = derivation.observing,\n l = obs.length;\n for (var i = 0; i < l; i++) {\n var obj = obs[i];\n if (isComputedValue(obj)) {\n try {\n obj.get();\n } catch (e) {\n // we are not interested in the value *or* exception at this moment, but if there is one, notify all\n untrackedEnd(prevUntracked);\n return true;\n }\n // if ComputedValue `obj` actually changed it will be computed and propagated to its observers.\n // and `derivation` is an observer of `obj`\n if (derivation.dependenciesState === IDerivationState.STALE) {\n untrackedEnd(prevUntracked);\n return true;\n }\n }\n }\n changeDependenciesStateTo0(derivation);\n untrackedEnd(prevUntracked);\n return false;\n }\n }\n}\nfunction isComputingDerivation() {\n return globalState.trackingDerivation !== null; // filter out actions inside computations\n}\nfunction checkIfStateModificationsAreAllowed(atom) {\n var hasObservers$$1 = atom.observers.length > 0;\n // Should never be possible to change an observed observable from inside computed, see #798\n if (globalState.computationDepth > 0 && hasObservers$$1) fail(getMessage(\"m031\") + atom.name);\n // Should not be possible to change observed state outside strict mode, except during initialization, see #563\n if (!globalState.allowStateChanges && hasObservers$$1) fail(getMessage(globalState.strictMode ? \"m030a\" : \"m030b\") + atom.name);\n}\n/**\n * Executes the provided function `f` and tracks which observables are being accessed.\n * The tracking information is stored on the `derivation` object and the derivation is registered\n * as observer of any of the accessed observables.\n */\nfunction trackDerivedFunction(derivation, f, context) {\n // pre allocate array allocation + room for variation in deps\n // array will be trimmed by bindDependencies\n changeDependenciesStateTo0(derivation);\n derivation.newObserving = new Array(derivation.observing.length + 100);\n derivation.unboundDepsCount = 0;\n derivation.runId = ++globalState.runId;\n var prevTracking = globalState.trackingDerivation;\n globalState.trackingDerivation = derivation;\n var result;\n try {\n result = f.call(context);\n } catch (e) {\n result = new CaughtException(e);\n }\n globalState.trackingDerivation = prevTracking;\n bindDependencies(derivation);\n return result;\n}\n/**\n * diffs newObserving with observing.\n * update observing to be newObserving with unique observables\n * notify observers that become observed/unobserved\n */\nfunction bindDependencies(derivation) {\n // invariant(derivation.dependenciesState !== IDerivationState.NOT_TRACKING, \"INTERNAL ERROR bindDependencies expects derivation.dependenciesState !== -1\");\n var prevObserving = derivation.observing;\n var observing = derivation.observing = derivation.newObserving;\n var lowestNewObservingDerivationState = IDerivationState.UP_TO_DATE;\n // Go through all new observables and check diffValue: (this list can contain duplicates):\n // 0: first occurrence, change to 1 and keep it\n // 1: extra occurrence, drop it\n var i0 = 0,\n l = derivation.unboundDepsCount;\n for (var i = 0; i < l; i++) {\n var dep = observing[i];\n if (dep.diffValue === 0) {\n dep.diffValue = 1;\n if (i0 !== i) observing[i0] = dep;\n i0++;\n }\n // Upcast is 'safe' here, because if dep is IObservable, `dependenciesState` will be undefined,\n // not hitting the condition\n if (dep.dependenciesState > lowestNewObservingDerivationState) {\n lowestNewObservingDerivationState = dep.dependenciesState;\n }\n }\n observing.length = i0;\n derivation.newObserving = null; // newObserving shouldn't be needed outside tracking (statement moved down to work around FF bug, see #614)\n // Go through all old observables and check diffValue: (it is unique after last bindDependencies)\n // 0: it's not in new observables, unobserve it\n // 1: it keeps being observed, don't want to notify it. change to 0\n l = prevObserving.length;\n while (l--) {\n var dep = prevObserving[l];\n if (dep.diffValue === 0) {\n removeObserver(dep, derivation);\n }\n dep.diffValue = 0;\n }\n // Go through all new observables and check diffValue: (now it should be unique)\n // 0: it was set to 0 in last loop. don't need to do anything.\n // 1: it wasn't observed, let's observe it. set back to 0\n while (i0--) {\n var dep = observing[i0];\n if (dep.diffValue === 1) {\n dep.diffValue = 0;\n addObserver(dep, derivation);\n }\n }\n // Some new observed derivations may become stale during this derivation computation\n // so they have had no chance to propagate staleness (#916)\n if (lowestNewObservingDerivationState !== IDerivationState.UP_TO_DATE) {\n derivation.dependenciesState = lowestNewObservingDerivationState;\n derivation.onBecomeStale();\n }\n}\nfunction clearObserving(derivation) {\n // invariant(globalState.inBatch > 0, \"INTERNAL ERROR clearObserving should be called only inside batch\");\n var obs = derivation.observing;\n derivation.observing = [];\n var i = obs.length;\n while (i--) {\n removeObserver(obs[i], derivation);\n }derivation.dependenciesState = IDerivationState.NOT_TRACKING;\n}\nfunction untracked(action) {\n var prev = untrackedStart();\n var res = action();\n untrackedEnd(prev);\n return res;\n}\nfunction untrackedStart() {\n var prev = globalState.trackingDerivation;\n globalState.trackingDerivation = null;\n return prev;\n}\nfunction untrackedEnd(prev) {\n globalState.trackingDerivation = prev;\n}\n/**\n * needed to keep `lowestObserverState` correct. when changing from (2 or 1) to 0\n *\n */\nfunction changeDependenciesStateTo0(derivation) {\n if (derivation.dependenciesState === IDerivationState.UP_TO_DATE) return;\n derivation.dependenciesState = IDerivationState.UP_TO_DATE;\n var obs = derivation.observing;\n var i = obs.length;\n while (i--) {\n obs[i].lowestObserverState = IDerivationState.UP_TO_DATE;\n }\n}\n\nfunction log(msg) {\n console.log(msg);\n return msg;\n}\nfunction whyRun(thing, prop) {\n deprecated(\"`whyRun` is deprecated in favor of `trace`\");\n thing = getAtomFromArgs(arguments);\n if (!thing) return log(getMessage(\"m024\"));\n if (isComputedValue(thing) || isReaction(thing)) return log(thing.whyRun());\n return fail(getMessage(\"m025\"));\n}\nfunction trace() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var enterBreakPoint = false;\n if (typeof args[args.length - 1] === \"boolean\") enterBreakPoint = args.pop();\n var derivation = getAtomFromArgs(args);\n if (!derivation) {\n return fail(\"'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly\");\n }\n if (derivation.isTracing === TraceMode.NONE) {\n console.log(\"[mobx.trace] '\" + derivation.name + \"' tracing enabled\");\n }\n derivation.isTracing = enterBreakPoint ? TraceMode.BREAK : TraceMode.LOG;\n}\nfunction getAtomFromArgs(args) {\n switch (args.length) {\n case 0:\n return globalState.trackingDerivation;\n case 1:\n return getAtom(args[0]);\n case 2:\n return getAtom(args[0], args[1]);\n }\n}\n\nvar Reaction = /** @class */function () {\n function Reaction(name, onInvalidate) {\n if (name === void 0) {\n name = \"Reaction@\" + getNextId();\n }\n this.name = name;\n this.onInvalidate = onInvalidate;\n this.observing = []; // nodes we are looking at. Our value depends on these nodes\n this.newObserving = [];\n this.dependenciesState = IDerivationState.NOT_TRACKING;\n this.diffValue = 0;\n this.runId = 0;\n this.unboundDepsCount = 0;\n this.__mapid = \"#\" + getNextId();\n this.isDisposed = false;\n this._isScheduled = false;\n this._isTrackPending = false;\n this._isRunning = false;\n this.isTracing = TraceMode.NONE;\n }\n Reaction.prototype.onBecomeStale = function () {\n this.schedule();\n };\n Reaction.prototype.schedule = function () {\n if (!this._isScheduled) {\n this._isScheduled = true;\n globalState.pendingReactions.push(this);\n runReactions();\n }\n };\n Reaction.prototype.isScheduled = function () {\n return this._isScheduled;\n };\n /**\n * internal, use schedule() if you intend to kick off a reaction\n */\n Reaction.prototype.runReaction = function () {\n if (!this.isDisposed) {\n startBatch();\n this._isScheduled = false;\n if (shouldCompute(this)) {\n this._isTrackPending = true;\n this.onInvalidate();\n if (this._isTrackPending && isSpyEnabled()) {\n // onInvalidate didn't trigger track right away..\n spyReport({\n object: this,\n type: \"scheduled-reaction\"\n });\n }\n }\n endBatch();\n }\n };\n Reaction.prototype.track = function (fn) {\n startBatch();\n var notify = isSpyEnabled();\n var startTime;\n if (notify) {\n startTime = Date.now();\n spyReportStart({\n object: this,\n type: \"reaction\",\n fn: fn\n });\n }\n this._isRunning = true;\n var result = trackDerivedFunction(this, fn, undefined);\n this._isRunning = false;\n this._isTrackPending = false;\n if (this.isDisposed) {\n // disposed during last run. Clean up everything that was bound after the dispose call.\n clearObserving(this);\n }\n if (isCaughtException(result)) this.reportExceptionInDerivation(result.cause);\n if (notify) {\n spyReportEnd({\n time: Date.now() - startTime\n });\n }\n endBatch();\n };\n Reaction.prototype.reportExceptionInDerivation = function (error) {\n var _this = this;\n if (this.errorHandler) {\n this.errorHandler(error, this);\n return;\n }\n var message = \"[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '\" + this;\n var messageToUser = getMessage(\"m037\");\n console.error(message || messageToUser /* latter will not be true, make sure uglify doesn't remove */, error);\n /** If debugging brought you here, please, read the above message :-). Tnx! */\n if (isSpyEnabled()) {\n spyReport({\n type: \"error\",\n message: message,\n error: error,\n object: this\n });\n }\n globalState.globalReactionErrorHandlers.forEach(function (f) {\n return f(error, _this);\n });\n };\n Reaction.prototype.dispose = function () {\n if (!this.isDisposed) {\n this.isDisposed = true;\n if (!this._isRunning) {\n // if disposed while running, clean up later. Maybe not optimal, but rare case\n startBatch();\n clearObserving(this);\n endBatch();\n }\n }\n };\n Reaction.prototype.getDisposer = function () {\n var r = this.dispose.bind(this);\n r.$mobx = this;\n r.onError = registerErrorHandler;\n return r;\n };\n Reaction.prototype.toString = function () {\n return \"Reaction[\" + this.name + \"]\";\n };\n Reaction.prototype.whyRun = function () {\n var observing = unique(this._isRunning ? this.newObserving : this.observing).map(function (dep) {\n return dep.name;\n });\n return \"\\nWhyRun? reaction '\" + this.name + \"':\\n * Status: [\" + (this.isDisposed ? \"stopped\" : this._isRunning ? \"running\" : this.isScheduled() ? \"scheduled\" : \"idle\") + \"]\\n * This reaction will re-run if any of the following observables changes:\\n \" + joinStrings(observing) + \"\\n \" + (this._isRunning ? \" (... or any observable accessed during the remainder of the current run)\" : \"\") + \"\\n\\t\" + getMessage(\"m038\") + \"\\n\";\n };\n Reaction.prototype.trace = function (enterBreakPoint) {\n if (enterBreakPoint === void 0) {\n enterBreakPoint = false;\n }\n trace(this, enterBreakPoint);\n };\n return Reaction;\n}();\nfunction registerErrorHandler(handler) {\n invariant(this && this.$mobx && isReaction(this.$mobx), \"Invalid `this`\");\n invariant(!this.$mobx.errorHandler, \"Only one onErrorHandler can be registered\");\n this.$mobx.errorHandler = handler;\n}\nfunction onReactionError(handler) {\n globalState.globalReactionErrorHandlers.push(handler);\n return function () {\n var idx = globalState.globalReactionErrorHandlers.indexOf(handler);\n if (idx >= 0) globalState.globalReactionErrorHandlers.splice(idx, 1);\n };\n}\n/**\n * Magic number alert!\n * Defines within how many times a reaction is allowed to re-trigger itself\n * until it is assumed that this is gonna be a never ending loop...\n */\nvar MAX_REACTION_ITERATIONS = 100;\nvar reactionScheduler = function reactionScheduler(f) {\n return f();\n};\nfunction runReactions() {\n // Trampolining, if runReactions are already running, new reactions will be picked up\n if (globalState.inBatch > 0 || globalState.isRunningReactions) return;\n reactionScheduler(runReactionsHelper);\n}\nfunction runReactionsHelper() {\n globalState.isRunningReactions = true;\n var allReactions = globalState.pendingReactions;\n var iterations = 0;\n // While running reactions, new reactions might be triggered.\n // Hence we work with two variables and check whether\n // we converge to no remaining reactions after a while.\n while (allReactions.length > 0) {\n if (++iterations === MAX_REACTION_ITERATIONS) {\n console.error(\"Reaction doesn't converge to a stable state after \" + MAX_REACTION_ITERATIONS + \" iterations.\" + (\" Probably there is a cycle in the reactive function: \" + allReactions[0]));\n allReactions.splice(0); // clear reactions\n }\n var remainingReactions = allReactions.splice(0);\n for (var i = 0, l = remainingReactions.length; i < l; i++) {\n remainingReactions[i].runReaction();\n }\n }\n globalState.isRunningReactions = false;\n}\nvar isReaction = createInstanceofPredicate(\"Reaction\", Reaction);\nfunction setReactionScheduler(fn) {\n var baseScheduler = reactionScheduler;\n reactionScheduler = function reactionScheduler(f) {\n return fn(function () {\n return baseScheduler(f);\n });\n };\n}\n\nfunction asReference(value) {\n deprecated(\"asReference is deprecated, use observable.ref instead\");\n return observable.ref(value);\n}\nfunction asStructure(value) {\n deprecated(\"asStructure is deprecated. Use observable.struct, computed.struct or reaction options instead.\");\n return observable.struct(value);\n}\nfunction asFlat(value) {\n deprecated(\"asFlat is deprecated, use observable.shallow instead\");\n return observable.shallow(value);\n}\nfunction asMap(data) {\n deprecated(\"asMap is deprecated, use observable.map or observable.shallowMap instead\");\n return observable.map(data || {});\n}\n\nfunction createComputedDecorator(equals) {\n return createClassPropertyDecorator(function (target, name, _, __, originalDescriptor) {\n invariant(typeof originalDescriptor !== \"undefined\", getMessage(\"m009\"));\n invariant(typeof originalDescriptor.get === \"function\", getMessage(\"m010\"));\n var adm = asObservableObject(target, \"\");\n defineComputedProperty(adm, name, originalDescriptor.get, originalDescriptor.set, equals, false);\n }, function (name) {\n var observable = this.$mobx.values[name];\n if (observable === undefined // See #505\n ) return undefined;\n return observable.get();\n }, function (name, value) {\n this.$mobx.values[name].set(value);\n }, false, false);\n}\nvar computedDecorator = createComputedDecorator(comparer.default);\nvar computedStructDecorator = createComputedDecorator(comparer.structural);\n/**\n * Decorator for class properties: @computed get value() { return expr; }.\n * For legacy purposes also invokable as ES5 observable created: `computed(() => expr)`;\n */\nvar computed = function computed(arg1, arg2, arg3) {\n if (typeof arg2 === \"string\") {\n return computedDecorator.apply(null, arguments);\n }\n invariant(typeof arg1 === \"function\", getMessage(\"m011\"));\n invariant(arguments.length < 3, getMessage(\"m012\"));\n var opts = (typeof arg2 === \"undefined\" ? \"undefined\" : _typeof(arg2)) === \"object\" ? arg2 : {};\n opts.setter = typeof arg2 === \"function\" ? arg2 : opts.setter;\n var equals = opts.equals ? opts.equals : opts.compareStructural || opts.struct ? comparer.structural : comparer.default;\n return new ComputedValue(arg1, opts.context, equals, opts.name || arg1.name || \"\", opts.setter);\n};\ncomputed.struct = computedStructDecorator;\ncomputed.equals = createComputedDecorator;\n\nfunction isComputed(value, property) {\n if (value === null || value === undefined) return false;\n if (property !== undefined) {\n if (isObservableObject(value) === false) return false;\n if (!value.$mobx.values[property]) return false;\n var atom = getAtom(value, property);\n return isComputedValue(atom);\n }\n return isComputedValue(value);\n}\n\nfunction observe(thing, propOrCb, cbOrFire, fireImmediately) {\n if (typeof cbOrFire === \"function\") return observeObservableProperty(thing, propOrCb, cbOrFire, fireImmediately);else return observeObservable(thing, propOrCb, cbOrFire);\n}\nfunction observeObservable(thing, listener, fireImmediately) {\n return getAdministration(thing).observe(listener, fireImmediately);\n}\nfunction observeObservableProperty(thing, property, listener, fireImmediately) {\n return getAdministration(thing, property).observe(listener, fireImmediately);\n}\n\nfunction intercept(thing, propOrHandler, handler) {\n if (typeof handler === \"function\") return interceptProperty(thing, propOrHandler, handler);else return interceptInterceptable(thing, propOrHandler);\n}\nfunction interceptInterceptable(thing, handler) {\n return getAdministration(thing).intercept(handler);\n}\nfunction interceptProperty(thing, property, handler) {\n return getAdministration(thing, property).intercept(handler);\n}\n\n/**\n * expr can be used to create temporarily views inside views.\n * This can be improved to improve performance if a value changes often, but usually doesn't affect the outcome of an expression.\n *\n * In the following example the expression prevents that a component is rerender _each time_ the selection changes;\n * instead it will only rerenders when the current todo is (de)selected.\n *\n * reactiveComponent((props) => {\n * const todo = props.todo;\n * const isSelected = mobx.expr(() => props.viewState.selection === todo);\n * return
{todo.title}
\n * });\n *\n */\nfunction expr(expr, scope) {\n if (!isComputingDerivation()) console.warn(getMessage(\"m013\"));\n // optimization: would be more efficient if the expr itself wouldn't be evaluated first on the next change, but just a 'changed' signal would be fired\n return computed(expr, { context: scope }).get();\n}\n\nfunction toJS(source, detectCycles, __alreadySeen) {\n if (detectCycles === void 0) {\n detectCycles = true;\n }\n if (__alreadySeen === void 0) {\n __alreadySeen = [];\n }\n // optimization: using ES6 map would be more efficient!\n // optimization: lift this function outside toJS, this makes recursion expensive\n function cache(value) {\n if (detectCycles) __alreadySeen.push([source, value]);\n return value;\n }\n if (isObservable(source)) {\n if (detectCycles && __alreadySeen === null) __alreadySeen = [];\n if (detectCycles && source !== null && (typeof source === \"undefined\" ? \"undefined\" : _typeof(source)) === \"object\") {\n for (var i = 0, l = __alreadySeen.length; i < l; i++) {\n if (__alreadySeen[i][0] === source) return __alreadySeen[i][1];\n }\n }\n if (isObservableArray(source)) {\n var res = cache([]);\n var toAdd = source.map(function (value) {\n return toJS(value, detectCycles, __alreadySeen);\n });\n res.length = toAdd.length;\n for (var i = 0, l = toAdd.length; i < l; i++) {\n res[i] = toAdd[i];\n }return res;\n }\n if (isObservableObject(source)) {\n var res = cache({});\n for (var key in source) {\n res[key] = toJS(source[key], detectCycles, __alreadySeen);\n }return res;\n }\n if (isObservableMap(source)) {\n var res_1 = cache({});\n source.forEach(function (value, key) {\n return res_1[key] = toJS(value, detectCycles, __alreadySeen);\n });\n return res_1;\n }\n if (isObservableValue(source)) return toJS(source.get(), detectCycles, __alreadySeen);\n }\n return source;\n}\n\nfunction createTransformer(transformer, onCleanup) {\n invariant(typeof transformer === \"function\" && transformer.length < 2, \"createTransformer expects a function that accepts one argument\");\n // Memoizes: object id -> reactive view that applies transformer to the object\n var objectCache = {};\n // If the resetId changes, we will clear the object cache, see #163\n // This construction is used to avoid leaking refs to the objectCache directly\n var resetId = globalState.resetId;\n // Local transformer class specifically for this transformer\n var Transformer = /** @class */function (_super) {\n __extends(Transformer, _super);\n function Transformer(sourceIdentifier, sourceObject) {\n var _this = _super.call(this, function () {\n return transformer(sourceObject);\n }, undefined, comparer.default, \"Transformer-\" + transformer.name + \"-\" + sourceIdentifier, undefined) || this;\n _this.sourceIdentifier = sourceIdentifier;\n _this.sourceObject = sourceObject;\n return _this;\n }\n Transformer.prototype.onBecomeUnobserved = function () {\n var lastValue = this.value;\n _super.prototype.onBecomeUnobserved.call(this);\n delete objectCache[this.sourceIdentifier];\n if (onCleanup) onCleanup(lastValue, this.sourceObject);\n };\n return Transformer;\n }(ComputedValue);\n return function (object) {\n if (resetId !== globalState.resetId) {\n objectCache = {};\n resetId = globalState.resetId;\n }\n var identifier = getMemoizationId(object);\n var reactiveTransformer = objectCache[identifier];\n if (reactiveTransformer) return reactiveTransformer.get();\n // Not in cache; create a reactive view\n reactiveTransformer = objectCache[identifier] = new Transformer(identifier, object);\n return reactiveTransformer.get();\n };\n}\nfunction getMemoizationId(object) {\n if (typeof object === \"string\" || typeof object === \"number\") return object;\n if (object === null || (typeof object === \"undefined\" ? \"undefined\" : _typeof(object)) !== \"object\") throw new Error(\"[mobx] transform expected some kind of object or primitive value, got: \" + object);\n var tid = object.$transformId;\n if (tid === undefined) {\n tid = getNextId();\n addHiddenProp(object, \"$transformId\", tid);\n }\n return tid;\n}\n\nfunction interceptReads(thing, propOrHandler, handler) {\n var target;\n if (isObservableMap(thing) || isObservableArray(thing) || isObservableValue(thing)) {\n target = getAdministration(thing);\n } else if (isObservableObject(thing)) {\n if (typeof propOrHandler !== \"string\") return fail(\"InterceptReads can only be used with a specific property, not with an object in general\");\n target = getAdministration(thing, propOrHandler);\n } else {\n return fail(\"Expected observable map, object or array as first array\");\n }\n if (target.dehancer !== undefined) return fail(\"An intercept reader was already established\");\n target.dehancer = typeof propOrHandler === \"function\" ? propOrHandler : handler;\n return function () {\n target.dehancer = undefined;\n };\n}\n\n/**\n * (c) Michel Weststrate 2015 - 2016\n * MIT Licensed\n *\n * Welcome to the mobx sources! To get an global overview of how MobX internally works,\n * this is a good place to start:\n * https://medium.com/@mweststrate/becoming-fully-reactive-an-in-depth-explanation-of-mobservable-55995262a254#.xvbh6qd74\n *\n * Source folders:\n * ===============\n *\n * - api/ Most of the public static methods exposed by the module can be found here.\n * - core/ Implementation of the MobX algorithm; atoms, derivations, reactions, dependency trees, optimizations. Cool stuff can be found here.\n * - types/ All the magic that is need to have observable objects, arrays and values is in this folder. Including the modifiers like `asFlat`.\n * - utils/ Utility stuff.\n *\n */\nvar extras = {\n allowStateChanges: allowStateChanges,\n deepEqual: deepEqual,\n getAtom: getAtom,\n getDebugName: getDebugName,\n getDependencyTree: getDependencyTree,\n getAdministration: getAdministration,\n getGlobalState: getGlobalState,\n getObserverTree: getObserverTree,\n interceptReads: interceptReads,\n isComputingDerivation: isComputingDerivation,\n isSpyEnabled: isSpyEnabled,\n onReactionError: onReactionError,\n reserveArrayBuffer: reserveArrayBuffer,\n resetGlobalState: resetGlobalState,\n isolateGlobalState: isolateGlobalState,\n shareGlobalState: shareGlobalState,\n spyReport: spyReport,\n spyReportEnd: spyReportEnd,\n spyReportStart: spyReportStart,\n setReactionScheduler: setReactionScheduler\n};\nvar everything = {\n Reaction: Reaction,\n untracked: untracked,\n Atom: Atom,\n BaseAtom: BaseAtom,\n useStrict: useStrict,\n isStrictModeEnabled: isStrictModeEnabled,\n spy: spy,\n comparer: comparer,\n asReference: asReference,\n asFlat: asFlat,\n asStructure: asStructure,\n asMap: asMap,\n isModifierDescriptor: isModifierDescriptor,\n isObservableObject: isObservableObject,\n isBoxedObservable: isObservableValue,\n isObservableArray: isObservableArray,\n ObservableMap: ObservableMap,\n isObservableMap: isObservableMap,\n map: map,\n transaction: transaction,\n observable: observable,\n computed: computed,\n isObservable: isObservable,\n isComputed: isComputed,\n extendObservable: extendObservable,\n extendShallowObservable: extendShallowObservable,\n observe: observe,\n intercept: intercept,\n autorun: autorun,\n autorunAsync: autorunAsync,\n when: when,\n reaction: reaction,\n action: action,\n isAction: isAction,\n runInAction: runInAction,\n expr: expr,\n toJS: toJS,\n createTransformer: createTransformer,\n whyRun: whyRun,\n isArrayLike: isArrayLike,\n extras: extras\n};\nvar warnedAboutDefaultExport = false;\nvar _loop_1 = function _loop_1(p) {\n var val = everything[p];\n Object.defineProperty(everything, p, {\n get: function get() {\n if (!warnedAboutDefaultExport) {\n warnedAboutDefaultExport = true;\n console.warn(\"Using default export (`import mobx from 'mobx'`) is deprecated \" + \"and won’t work in mobx@4.0.0\\n\" + \"Use `import * as mobx from 'mobx'` instead\");\n }\n return val;\n }\n });\n};\nfor (var p in everything) {\n _loop_1(p);\n}\nif ((typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__ === \"undefined\" ? \"undefined\" : _typeof(__MOBX_DEVTOOLS_GLOBAL_HOOK__)) === \"object\") {\n __MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({ spy: spy, extras: extras });\n}\n\nexports.extras = extras;\nexports.Reaction = Reaction;\nexports.untracked = untracked;\nexports.IDerivationState = IDerivationState;\nexports.Atom = Atom;\nexports.BaseAtom = BaseAtom;\nexports.useStrict = useStrict;\nexports.isStrictModeEnabled = isStrictModeEnabled;\nexports.spy = spy;\nexports.comparer = comparer;\nexports.asReference = asReference;\nexports.asFlat = asFlat;\nexports.asStructure = asStructure;\nexports.asMap = asMap;\nexports.isModifierDescriptor = isModifierDescriptor;\nexports.isObservableObject = isObservableObject;\nexports.isBoxedObservable = isObservableValue;\nexports.isObservableArray = isObservableArray;\nexports.ObservableMap = ObservableMap;\nexports.isObservableMap = isObservableMap;\nexports.map = map;\nexports.transaction = transaction;\nexports.observable = observable;\nexports.computed = computed;\nexports.isObservable = isObservable;\nexports.isComputed = isComputed;\nexports.extendObservable = extendObservable;\nexports.extendShallowObservable = extendShallowObservable;\nexports.observe = observe;\nexports.intercept = intercept;\nexports.autorun = autorun;\nexports.autorunAsync = autorunAsync;\nexports.when = when;\nexports.reaction = reaction;\nexports.action = action;\nexports.isAction = isAction;\nexports.runInAction = runInAction;\nexports.expr = expr;\nexports.toJS = toJS;\nexports.createTransformer = createTransformer;\nexports.whyRun = whyRun;\nexports.trace = trace;\nexports.isArrayLike = isArrayLike;\nexports.default = everything;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(10)))\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Provider = exports.inject = exports.connect = exports.useStaticRendering = exports.Observer = exports.observer = undefined;\n\nvar _observer = __webpack_require__(3);\n\nObject.defineProperty(exports, 'observer', {\n enumerable: true,\n get: function get() {\n return _observer.observer;\n }\n});\nObject.defineProperty(exports, 'Observer', {\n enumerable: true,\n get: function get() {\n return _observer.Observer;\n }\n});\nObject.defineProperty(exports, 'useStaticRendering', {\n enumerable: true,\n get: function get() {\n return _observer.useStaticRendering;\n }\n});\n\nvar _connect = __webpack_require__(11);\n\nObject.defineProperty(exports, 'connect', {\n enumerable: true,\n get: function get() {\n return _connect.connect;\n }\n});\n\nvar _inject = __webpack_require__(5);\n\nObject.defineProperty(exports, 'inject', {\n enumerable: true,\n get: function get() {\n return _inject.inject;\n }\n});\n\nvar _Provider = __webpack_require__(13);\n\nObject.defineProperty(exports, 'Provider', {\n enumerable: true,\n get: function get() {\n return _Provider.Provider;\n }\n});\n\nvar _mobx = __webpack_require__(1);\n\nvar _preact = __webpack_require__(0);\n\nif (!_preact.Component) {\n throw new Error('mobx-preact requires Preact to be available');\n}\nif (!_mobx.extras) {\n throw new Error('mobx-preact requires mobx to be available');\n}\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _typeof2 = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Observer = undefined;\n\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n }\n }return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n };\n}();\n\nvar _typeof = typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\" ? function (obj) {\n return typeof obj === \"undefined\" ? \"undefined\" : _typeof2(obj);\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj === \"undefined\" ? \"undefined\" : _typeof2(obj);\n};\n\nexports.useStaticRendering = useStaticRendering;\nexports.observer = observer;\n\nvar _mobx = __webpack_require__(1);\n\nvar _preact = __webpack_require__(0);\n\nvar _utils = __webpack_require__(4);\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }return call && ((typeof call === \"undefined\" ? \"undefined\" : _typeof2(call)) === \"object\" || typeof call === \"function\") ? call : self;\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : _typeof2(superClass)));\n }subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } });if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\n\nvar isUsingStaticRendering = false;\n\nvar logger = console; // eslint-disable-line no-console\n\nfunction useStaticRendering(useStaticRendering) {\n isUsingStaticRendering = useStaticRendering;\n}\n\n/**\n Workaround\n\n allowStateChanges from mobX must be patched so that props, state and args are passed to the render() function\n */\n\nfunction allowStateChangesStart(allowStateChanges) {\n var prev = _mobx.extras.getGlobalState().allowStateChanges;\n _mobx.extras.getGlobalState().allowStateChanges = allowStateChanges;\n return prev;\n}\nfunction allowStateChangesEnd(prev) {\n _mobx.extras.getGlobalState().allowStateChanges = prev;\n}\n\nfunction allowStateChanges(allowStateChanges, func, props, state, context) {\n var prev = allowStateChangesStart(allowStateChanges);\n var res = void 0;\n try {\n res = func(props, state, context);\n } finally {\n allowStateChangesEnd(prev);\n }\n return res;\n}\n\n/**\n * Utilities\n */\n\nfunction patch(target, funcName) {\n var runMixinFirst = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n var base = target[funcName];\n var mixinFunc = reactiveMixin[funcName];\n var f = !base ? mixinFunc : runMixinFirst === true ? function () {\n mixinFunc.apply(this, arguments);\n base.apply(this, arguments);\n } : function () {\n base.apply(this, arguments);\n mixinFunc.apply(this, arguments);\n };\n\n // MWE: ideally we freeze here to protect against accidental overwrites in component instances, see #195\n // ...but that breaks react-hot-loader, see #231...\n target[funcName] = f;\n}\n\nfunction isObjectShallowModified(prev, next) {\n if (null == prev || null == next || (typeof prev === 'undefined' ? 'undefined' : _typeof(prev)) !== 'object' || (typeof next === 'undefined' ? 'undefined' : _typeof(next)) !== 'object') {\n return prev !== next;\n }\n var keys = Object.keys(prev);\n if (keys.length !== Object.keys(next).length) {\n return true;\n }\n var key = void 0;\n for (var i = keys.length - 1; i >= 0, key = keys[i]; i--) {\n if (next[key] !== prev[key]) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * ReactiveMixin\n */\nvar reactiveMixin = {\n componentWillMount: function componentWillMount() {\n var _this = this;\n\n if (isUsingStaticRendering === true) {\n return;\n }\n // Generate friendly name for debugging\n var initialName = (0, _utils.makeDisplayName)(this);\n\n /**\n * If props are shallowly modified, react will render anyway,\n * so atom.reportChanged() should not result in yet another re-render\n */\n var skipRender = false;\n /**\n * forceUpdate will re-assign this.props. We don't want that to cause a loop,\n * so detect these changes\n */\n var isForcingUpdate = false;\n\n function makePropertyObservableReference(propName) {\n var valueHolder = this[propName];\n var atom = new _mobx.Atom('reactive ' + propName);\n Object.defineProperty(this, propName, {\n configurable: true,\n enumerable: true,\n get: function get() {\n atom.reportObserved();\n return valueHolder;\n },\n set: function set(v) {\n if (!isForcingUpdate && isObjectShallowModified(valueHolder, v)) {\n valueHolder = v;\n skipRender = true;\n atom.reportChanged();\n skipRender = false;\n } else {\n valueHolder = v;\n }\n }\n });\n }\n\n // make this.props an observable reference, see #124\n makePropertyObservableReference.call(this, 'props');\n // make state an observable reference\n makePropertyObservableReference.call(this, 'state');\n\n // wire up reactive render\n var baseRender = this.render.bind(this);\n var reaction = null;\n var isRenderingPending = false;\n\n var initialRender = function initialRender() {\n reaction = new _mobx.Reaction(initialName + '.render()', function () {\n if (!isRenderingPending) {\n // N.B. Getting here *before mounting* means that a component constructor has side effects (see the relevant test in misc.js)\n // This unidiomatic React usage but React will correctly warn about this so we continue as usual\n // See #85 / Pull #44\n isRenderingPending = true;\n if (typeof _this.componentWillReact === 'function') {\n _this.componentWillReact();\n } // TODO: wrap in action?\n if (_this.__$mobxIsUnmounted !== true) {\n // If we are unmounted at this point, componentWillReact() had a side effect causing the component to unmounted\n // TODO: remove this check? Then react will properly warn about the fact that this should not happen? See #73\n // However, people also claim this migth happen during unit tests..\n var hasError = true;\n try {\n isForcingUpdate = true;\n if (!skipRender) {\n _preact.Component.prototype.forceUpdate.call(_this);\n }\n hasError = false;\n } finally {\n isForcingUpdate = false;\n if (hasError) {\n reaction.dispose();\n }\n }\n }\n }\n });\n reaction.reactComponent = _this;\n reactiveRender.$mobx = reaction;\n _this.render = reactiveRender;\n return reactiveRender(_this.props, _this.state, _this.context);\n };\n\n var reactiveRender = function reactiveRender(props, state, context) {\n isRenderingPending = false;\n var exception = undefined;\n var rendering = undefined;\n reaction.track(function () {\n try {\n rendering = allowStateChanges(false, baseRender, props, state, context);\n } catch (e) {\n exception = e;\n }\n });\n if (exception) {\n throw exception;\n }\n return rendering;\n };\n\n this.render = initialRender;\n },\n\n componentWillUnmount: function componentWillUnmount() {\n if (isUsingStaticRendering === true) {\n return;\n }\n this.render.$mobx && this.render.$mobx.dispose();\n this.__$mobxIsUnmounted = true;\n },\n\n componentDidMount: function componentDidMount() {},\n\n componentDidUpdate: function componentDidUpdate() {},\n\n shouldComponentUpdate: function shouldComponentUpdate(nextProps, nextState) {\n if (isUsingStaticRendering) {\n logger.warn('[mobx-preact] 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.');\n }\n // update on any state changes (as is the default)\n if (this.state !== nextState) {\n return true;\n }\n // update if props are shallowly not equal, inspired by PureRenderMixin\n // we could return just 'false' here, and avoid the `skipRender` checks etc\n // however, it is nicer if lifecycle events are triggered like usually,\n // so we return true here if props are shallowly modified.\n return isObjectShallowModified(this.props, nextProps);\n }\n};\n\n/**\n * Observer function / decorator\n */\nfunction observer(componentClass) {\n if (arguments.length > 1) {\n logger.warn('Mobx observer: Using observer to inject stores is not supported. Use `@connect([\"store1\", \"store2\"]) ComponentClass instead or preferably, use `@inject(\"store1\", \"store2\") @observer ComponentClass` or `inject(\"store1\", \"store2\")(observer(componentClass))``');\n }\n\n if (componentClass.isMobxInjector === true) {\n logger.warn('Mobx observer: You are trying to use \\'observer\\' on a component that already has \\'inject\\'. Please apply \\'observer\\' before applying \\'inject\\'');\n }\n\n // Stateless function component:\n if ((0, _utils.isStateless)(componentClass)) {\n var _class, _temp;\n\n return observer((_temp = _class = function (_Component) {\n _inherits(_class, _Component);\n\n function _class() {\n _classCallCheck(this, _class);\n\n return _possibleConstructorReturn(this, (_class.__proto__ || Object.getPrototypeOf(_class)).apply(this, arguments));\n }\n\n _createClass(_class, [{\n key: 'render',\n value: function render() {\n return componentClass.call(this, this.props, this.context);\n }\n }]);\n\n return _class;\n }(_preact.Component), _class.displayName = (0, _utils.makeDisplayName)(componentClass), _temp));\n }\n\n if (!componentClass) {\n throw new Error('Please pass a valid component to \\'observer\\'');\n }\n\n var target = componentClass.prototype || componentClass;\n mixinLifecycleEvents(target);\n componentClass.isMobXReactObserver = true;\n return componentClass;\n}\n\nfunction mixinLifecycleEvents(target) {\n patch(target, 'componentWillMount', true);\n patch(target, 'componentDidMount');\n\n if (!target.shouldComponentUpdate) {\n target.shouldComponentUpdate = reactiveMixin.shouldComponentUpdate;\n }\n}\n\nvar Observer = exports.Observer = observer(function (_ref) {\n var children = _ref.children;\n return children[0]();\n});\n\nObserver.displayName = 'Observer';\n\n/***/ }),\n/* 4 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.isStateless = isStateless;\nexports.makeDisplayName = makeDisplayName;\n\nvar _preact = __webpack_require__(0);\n\nfunction isStateless(component) {\n // `function() {}` has prototype, but `() => {}` doesn't\n // `() => {}` via Babel has prototype too.\n return !(component.prototype && component.prototype.render) && !_preact.Component.isPrototypeOf(component);\n}\n\nfunction makeDisplayName(component) {\n var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n _ref$prefix = _ref.prefix,\n prefix = _ref$prefix === undefined ? '' : _ref$prefix,\n _ref$suffix = _ref.suffix,\n suffix = _ref$suffix === undefined ? '' : _ref$suffix;\n\n var displayName = component.displayName || component.name || component.constructor && component.constructor.name || '';\n return prefix + displayName + suffix;\n}\n\n/***/ }),\n/* 5 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n }\n }return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n };\n}();\n\nexports.inject = inject;\n\nvar _preact = __webpack_require__(0);\n\nvar _hoistNonReactStatics = __webpack_require__(12);\n\nvar _hoistNonReactStatics2 = _interopRequireDefault(_hoistNonReactStatics);\n\nvar _observer = __webpack_require__(3);\n\nvar _utils = __webpack_require__(4);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }return call && ((typeof call === \"undefined\" ? \"undefined\" : _typeof(call)) === \"object\" || typeof call === \"function\") ? call : self;\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : _typeof(superClass)));\n }subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } });if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\n\nvar proxiedInjectorProps = {\n isMobxInjector: {\n value: true,\n writable: true,\n configurable: true,\n enumerable: true\n }\n};\n\n/**\n * Store Injection\n */\nfunction createStoreInjector(grabStoresFn, component, injectNames) {\n var _class, _temp;\n\n var prefix = 'inject-';\n var suffix = injectNames ? '-with-' + injectNames : '';\n var displayName = (0, _utils.makeDisplayName)(component, { prefix: prefix, suffix: suffix });\n\n var Injector = (_temp = _class = function (_Component) {\n _inherits(Injector, _Component);\n\n function Injector() {\n _classCallCheck(this, Injector);\n\n return _possibleConstructorReturn(this, (Injector.__proto__ || Object.getPrototypeOf(Injector)).apply(this, arguments));\n }\n\n _createClass(Injector, [{\n key: 'render',\n value: function render() {\n // Optimization: it might be more efficient to apply the mapper function *outside* the render method\n // (if the mapper is a function), that could avoid expensive(?) re-rendering of the injector component\n // See this test: 'using a custom injector is not too reactive' in inject.js\n var newProps = {};\n for (var key in this.props) {\n if (this.props.hasOwnProperty(key)) {\n newProps[key] = this.props[key];\n }\n }\n var additionalProps = grabStoresFn(this.context.mobxStores || {}, newProps, this.context) || {};\n for (var _key in additionalProps) {\n newProps[_key] = additionalProps[_key];\n }\n\n return (0, _preact.h)(component, newProps);\n }\n }]);\n\n return Injector;\n }(_preact.Component), _class.displayName = displayName, _temp);\n\n // Static fields from component should be visible on the generated Injector\n\n (0, _hoistNonReactStatics2.default)(Injector, component);\n\n Injector.wrappedComponent = component;\n Object.defineProperties(Injector, proxiedInjectorProps);\n\n return Injector;\n}\n\nfunction grabStoresByName(storeNames) {\n return function (baseStores, nextProps) {\n storeNames.forEach(function (storeName) {\n // prefer props over stores\n if (storeName in nextProps) {\n return;\n }\n if (!(storeName in baseStores)) {\n throw new Error('MobX injector: Store \\'' + storeName + '\\' is not available! Make sure it is provided by some Provider');\n }\n nextProps[storeName] = baseStores[storeName];\n });\n return nextProps;\n };\n}\n\n/**\n * higher order component that injects stores to a child.\n * takes either a varargs list of strings, which are stores read from the context,\n * or a function that manually maps the available stores from the context to props:\n * storesToProps(mobxStores, props, context) => newProps\n */\nfunction inject() /* fn(stores, nextProps) or ...storeNames */{\n var grabStoresFn = void 0;\n if (typeof arguments[0] === 'function') {\n grabStoresFn = arguments[0];\n return function (componentClass) {\n var injected = createStoreInjector(grabStoresFn, componentClass);\n injected.isMobxInjector = false; // suppress warning\n // mark the Injector as observer, to make it react to expressions in `grabStoresFn`,\n // see #111\n injected = (0, _observer.observer)(injected);\n injected.isMobxInjector = true; // restore warning\n return injected;\n };\n } else {\n var storeNames = [];\n for (var i = 0; i < arguments.length; i++) {\n storeNames[i] = arguments[i];\n }\n grabStoresFn = grabStoresByName(storeNames);\n return function (componentClass) {\n return createStoreInjector(grabStoresFn, componentClass, storeNames.join('-'));\n };\n }\n}\n\n/***/ }),\n/* 6 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.JSONHTTPError = exports.TextHTTPError = exports.HTTPError = exports.getPagination = undefined;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _pagination = __webpack_require__(15);\n\nObject.defineProperty(exports, \"getPagination\", {\n enumerable: true,\n get: function get() {\n return _pagination.getPagination;\n }\n});\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction _extendableBuiltin(cls) {\n function ExtendableBuiltin() {\n var instance = Reflect.construct(cls, Array.from(arguments));\n Object.setPrototypeOf(instance, Object.getPrototypeOf(this));\n return instance;\n }\n\n ExtendableBuiltin.prototype = Object.create(cls.prototype, {\n constructor: {\n value: cls,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(ExtendableBuiltin, cls);\n } else {\n ExtendableBuiltin.__proto__ = cls;\n }\n\n return ExtendableBuiltin;\n}\n\nvar HTTPError = exports.HTTPError = function (_extendableBuiltin2) {\n _inherits(HTTPError, _extendableBuiltin2);\n\n function HTTPError(response) {\n _classCallCheck(this, HTTPError);\n\n var _this = _possibleConstructorReturn(this, (HTTPError.__proto__ || Object.getPrototypeOf(HTTPError)).call(this, response.statusText));\n\n _this.name = _this.constructor.name;\n if (typeof Error.captureStackTrace === \"function\") {\n Error.captureStackTrace(_this, _this.constructor);\n } else {\n _this.stack = new Error(response.statusText).stack;\n }\n _this.status = response.status;\n return _this;\n }\n\n return HTTPError;\n}(_extendableBuiltin(Error));\n\nvar TextHTTPError = exports.TextHTTPError = function (_HTTPError) {\n _inherits(TextHTTPError, _HTTPError);\n\n function TextHTTPError(response, data) {\n _classCallCheck(this, TextHTTPError);\n\n var _this2 = _possibleConstructorReturn(this, (TextHTTPError.__proto__ || Object.getPrototypeOf(TextHTTPError)).call(this, response));\n\n _this2.data = data;\n return _this2;\n }\n\n return TextHTTPError;\n}(HTTPError);\n\nvar JSONHTTPError = exports.JSONHTTPError = function (_HTTPError2) {\n _inherits(JSONHTTPError, _HTTPError2);\n\n function JSONHTTPError(response, json) {\n _classCallCheck(this, JSONHTTPError);\n\n var _this3 = _possibleConstructorReturn(this, (JSONHTTPError.__proto__ || Object.getPrototypeOf(JSONHTTPError)).call(this, response));\n\n _this3.json = json;\n return _this3;\n }\n\n return JSONHTTPError;\n}(HTTPError);\n\nvar API = function () {\n function API() {\n var apiURL = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n var options = arguments[1];\n\n _classCallCheck(this, API);\n\n this.apiURL = apiURL;\n if (this.apiURL.match(/\\/[^\\/]?/)) {\n // eslint-disable-line no-useless-escape\n this._sameOrigin = true;\n }\n this.defaultHeaders = options && options.defaultHeaders || {};\n }\n\n _createClass(API, [{\n key: \"headers\",\n value: function headers() {\n var _headers = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n return _extends({}, this.defaultHeaders, {\n \"Content-Type\": \"application/json\"\n }, _headers);\n }\n }, {\n key: \"parseJsonResponse\",\n value: function parseJsonResponse(response) {\n return response.json().then(function (json) {\n if (!response.ok) {\n return Promise.reject(new JSONHTTPError(response, json));\n }\n\n var pagination = (0, _pagination.getPagination)(response);\n return pagination ? { pagination: pagination, items: json } : json;\n });\n }\n }, {\n key: \"request\",\n value: function request(path) {\n var _this4 = this;\n\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n var headers = this.headers(options.headers || {});\n if (this._sameOrigin) {\n options.credentials = options.credentials || \"same-origin\";\n }\n return fetch(this.apiURL + path, _extends({}, options, { headers: headers })).then(function (response) {\n var contentType = response.headers.get(\"Content-Type\");\n if (contentType && contentType.match(/json/)) {\n return _this4.parseJsonResponse(response);\n }\n\n if (!response.ok) {\n return response.text().then(function (data) {\n return Promise.reject(new TextHTTPError(response, data));\n });\n }\n return response.text().then(function (data) {\n data;\n });\n });\n }\n }]);\n\n return API;\n}();\n\nexports.default = API;\n\n/***/ }),\n/* 7 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _preact = __webpack_require__(0);\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Button = function (_Component) {\n _inherits(Button, _Component);\n\n function Button() {\n _classCallCheck(this, Button);\n\n return _possibleConstructorReturn(this, (Button.__proto__ || Object.getPrototypeOf(Button)).apply(this, arguments));\n }\n\n _createClass(Button, [{\n key: \"render\",\n value: function render() {\n var _props = this.props,\n saving = _props.saving,\n text = _props.text,\n saving_text = _props.saving_text;\n\n\n return (0, _preact.h)(\n \"button\",\n { type: \"submit\", className: \"btn\" + (saving ? \" saving\" : \"\") },\n saving ? saving_text || \"Saving\" : text || \"Save\"\n );\n }\n }]);\n\n return Button;\n}(_preact.Component);\n\nexports.default = Button;\n\n/***/ }),\n/* 8 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _preact = __webpack_require__(0);\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar messages = {\n confirm: {\n type: \"success\",\n text: \"A confirmation message was sent to your email, click the link there to continue.\"\n },\n password_mail: {\n type: \"success\",\n text: \"We've sent a recovery email to your account, follow the link there to reset your password.\"\n },\n email_changed: {\n type: \"sucess\",\n text: \"Your email address has been updated!\"\n },\n verfication_error: {\n type: \"error\",\n text: \"There was an error verifying your account. Please try again or contact an administrator.\"\n },\n signup_disabled: {\n type: \"error\",\n text: \"Public signups are disabled. Contact an administrator and ask for an invite.\"\n }\n};\n\nvar Message = function (_Component) {\n _inherits(Message, _Component);\n\n function Message() {\n _classCallCheck(this, Message);\n\n return _possibleConstructorReturn(this, (Message.__proto__ || Object.getPrototypeOf(Message)).apply(this, arguments));\n }\n\n _createClass(Message, [{\n key: \"render\",\n value: function render() {\n var type = this.props.type;\n\n var msg = messages[type];\n\n return (0, _preact.h)(\n \"div\",\n { className: \"flashMessage \" + msg.type },\n (0, _preact.h)(\n \"span\",\n null,\n msg.text\n )\n );\n }\n }]);\n\n return Message;\n}(_preact.Component);\n\nexports.default = Message;\n\n/***/ }),\n/* 9 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\n\nvar _preact = __webpack_require__(0);\n\nvar _mobx = __webpack_require__(1);\n\nvar _mobxPreact = __webpack_require__(2);\n\nvar _gotrueJs = __webpack_require__(14);\n\nvar _gotrueJs2 = _interopRequireDefault(_gotrueJs);\n\nvar _app = __webpack_require__(18);\n\nvar _app2 = _interopRequireDefault(_app);\n\nvar _store = __webpack_require__(24);\n\nvar _store2 = _interopRequireDefault(_store);\n\nvar _controls = __webpack_require__(25);\n\nvar _controls2 = _interopRequireDefault(_controls);\n\nvar _modal = __webpack_require__(26);\n\nvar _modal2 = _interopRequireDefault(_modal);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar callbacks = {};\nfunction trigger(callback) {\n var _arguments = arguments;\n\n ;(callbacks[callback] || []).forEach(function (cb) {\n cb.apply(cb, Array.prototype.slice.call(_arguments, 1));\n });\n}\n\nvar validActions = {\n login: true,\n signup: true,\n error: true\n};\n\nvar netlifyIdentity = {\n on: function on(event, cb) {\n callbacks[event] = callbacks[event] || [];\n callbacks[event].push(cb);\n },\n open: function open(action) {\n action = action || \"login\";\n if (!validActions[action]) {\n throw new Error(\"Invalid action for open: \" + action);\n }\n _store2.default.openModal(_store2.default.user ? \"user\" : action);\n },\n close: function close() {\n _store2.default.closeModal();\n },\n currentUser: function currentUser() {\n return _store2.default.gotrue && _store2.default.gotrue.currentUser();\n },\n logout: function logout() {\n return _store2.default.logout();\n },\n get gotrue() {\n if (!_store2.default.gotrue) {\n _store2.default.openModal(\"login\");\n }\n return _store2.default.gotrue;\n },\n init: function init(options) {\n _init(options);\n },\n store: _store2.default\n};\n\nvar queuedIframeStyle = null;\nfunction setStyle(el, css) {\n var style = \"\";\n for (var key in css) {\n style += key + \": \" + css[key] + \"; \";\n }\n if (el) {\n el.setAttribute(\"style\", style);\n } else {\n queuedIframeStyle = style;\n }\n}\n\nvar localHosts = {\n localhost: true,\n \"127.0.0.1\": true,\n \"0.0.0.0\": true\n};\n\nfunction instantiateGotrue(APIUrl) {\n var isLocal = localHosts[document.location.host.split(\":\").shift()];\n var siteURL = isLocal && localStorage.getItem(\"netlifySiteURL\");\n if (APIUrl) {\n return new _gotrueJs2.default({ APIUrl: APIUrl, setCookie: !isLocal });\n }\n if (isLocal && siteURL) {\n var parts = [siteURL];\n if (!siteURL.match(/\\/$/)) {\n parts.push(\"/\");\n }\n parts.push(\".netlify/identity\");\n return new _gotrueJs2.default({ APIUrl: parts.join(\"\"), setCookie: !isLocal });\n }\n if (isLocal) {\n return null;\n }\n\n return new _gotrueJs2.default({ setCookie: !isLocal });\n}\n\nvar root = void 0;\nvar iframe = void 0;\nvar iframeStyle = {\n position: \"fixed\",\n top: 0,\n left: 0,\n border: \"none\",\n width: \"100%\",\n height: \"100%\",\n overflow: \"visible\",\n background: \"transparent\",\n display: \"none\",\n \"z-index\": 99\n};\n\n(0, _mobx.observe)(_store2.default.modal, \"isOpen\", function () {\n if (!_store2.default.settings) {\n _store2.default.loadSettings();\n }\n setStyle(iframe, Object.assign({}, iframeStyle, {\n display: _store2.default.modal.isOpen ? \"block !important\" : \"none\"\n }));\n if (_store2.default.modal.isOpen) {\n trigger(\"open\", _store2.default.modal.page);\n } else {\n trigger(\"close\");\n }\n});\n\n(0, _mobx.observe)(_store2.default, \"siteURL\", function () {\n if (_store2.default.siteURL === null || _store2.default.siteURL === undefined) {\n localStorage.removeItem(\"netlifySiteURL\");\n } else {\n localStorage.setItem(\"netlifySiteURL\", _store2.default.siteURL);\n }\n _store2.default.init(instantiateGotrue(), true);\n});\n\n(0, _mobx.observe)(_store2.default, \"user\", function () {\n if (_store2.default.user) {\n trigger(\"login\", _store2.default.user);\n } else {\n trigger(\"logout\");\n }\n});\n\n(0, _mobx.observe)(_store2.default, \"gotrue\", function () {\n _store2.default.gotrue && trigger(\"init\", _store2.default.gotrue.currentUser());\n});\n\n(0, _mobx.observe)(_store2.default, \"error\", function () {\n trigger(\"error\", _store2.default.error);\n});\n\nvar routes = /(confirmation|invite|recovery|email_change)_token=([^&]+)/;\nvar errorRoute = /error=access_denied&error_description=403/;\nvar accessTokenRoute = /access_token=/;\n\nfunction runRoutes() {\n var hash = (document.location.hash || \"\").replace(/^#\\/?/, \"\");\n if (!hash) {\n return;\n }\n\n var m = hash.match(routes);\n if (m) {\n _store2.default.verifyToken(m[1], m[2]);\n document.location.hash = \"\";\n }\n\n var em = hash.match(errorRoute);\n if (em) {\n _store2.default.openModal(\"signup\");\n document.location.hash = \"\";\n }\n\n var am = hash.match(accessTokenRoute);\n if (am) {\n var params = {};\n hash.split(\"&\").forEach(function (pair) {\n var _pair$split = pair.split(\"=\"),\n _pair$split2 = _slicedToArray(_pair$split, 2),\n key = _pair$split2[0],\n value = _pair$split2[1];\n\n params[key] = value;\n });\n if (!!document && params[\"access_token\"]) {\n document.cookie = \"nf_jwt=\" + params[\"access_token\"];\n }\n document.location.hash = \"\";\n _store2.default.openModal(\"login\");\n _store2.default.completeExternalLogin(params);\n }\n}\n\nfunction _init() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var APIUrl = options.APIUrl,\n _options$logo = options.logo,\n logo = _options$logo === undefined ? true : _options$logo,\n namePlaceholder = options.namePlaceholder;\n\n var controlEls = document.querySelectorAll(\"[data-netlify-identity-menu],[data-netlify-identity-button]\");\n Array.prototype.slice.call(controlEls).forEach(function (el) {\n var controls = null;\n var mode = el.getAttribute(\"data-netlify-identity-menu\") === null ? \"button\" : \"menu\";\n (0, _preact.render)((0, _preact.h)(\n _mobxPreact.Provider,\n { store: _store2.default },\n (0, _preact.h)(_controls2.default, { mode: mode, text: el.innerText.trim() })\n ), el, controls);\n });\n\n _store2.default.init(instantiateGotrue(APIUrl));\n _store2.default.modal.logo = logo;\n _store2.default.setNamePlaceholder(namePlaceholder);\n iframe = document.createElement(\"iframe\");\n iframe.id = \"netlify-identity-widget\";\n iframe.onload = function () {\n var styles = iframe.contentDocument.createElement(\"style\");\n styles.innerHTML = _modal2.default.toString();\n iframe.contentDocument.head.appendChild(styles);\n root = (0, _preact.render)((0, _preact.h)(\n _mobxPreact.Provider,\n { store: _store2.default },\n (0, _preact.h)(_app2.default, null)\n ), iframe.contentDocument.body, root);\n runRoutes();\n };\n setStyle(iframe, iframeStyle);\n iframe.src = \"about:blank\";\n var container = options.container ? document.querySelector(options.container) : document.body;\n container.appendChild(iframe);\n /* There's a certain case where we might have called setStyle before the iframe was ready.\n Make sure we take the last style and apply it */\n if (queuedIframeStyle) {\n iframe.setAttribute(\"style\", queuedIframeStyle);\n queuedIframeStyle = null;\n }\n}\n\nexports.default = netlifyIdentity;\n\n/***/ }),\n/* 10 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar g;\n\n// This works in non-strict mode\ng = function () {\n\treturn this;\n}();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || Function(\"return this\")() || (1, eval)(\"this\");\n} catch (e) {\n\t// This works if the window reference is available\n\tif ((typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n\n/***/ }),\n/* 11 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.connect = connect;\n\nvar _observer = __webpack_require__(3);\n\nvar _inject = __webpack_require__(5);\n\nfunction connect(arg1, arg2) {\n if (typeof arg1 === 'string') {\n throw new Error('Store names should be provided as array');\n }\n if (Array.isArray(arg1)) {\n if (!arg2) {\n // invoked as decorator\n return function (componentClass) {\n return connect(arg1, componentClass);\n };\n } else {\n return _inject.inject.apply(null, arg1)(connect(arg2));\n }\n }\n return (0, _observer.observer)(arg1);\n}\n\n/***/ }),\n/* 12 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\n\nvar REACT_STATICS = {\n childContextTypes: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\n\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = getPrototypeOf && getPrototypeOf(Object);\n\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n if (!REACT_STATICS[key] && !KNOWN_STATICS[key] && (!blacklist || !blacklist[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n\n return targetComponent;\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n\n/***/ }),\n/* 13 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Provider = undefined;\n\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n }\n }return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n };\n}();\n\nvar _preact = __webpack_require__(0);\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }return call && ((typeof call === \"undefined\" ? \"undefined\" : _typeof(call)) === \"object\" || typeof call === \"function\") ? call : self;\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : _typeof(superClass)));\n }subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } });if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\n\nvar specialReactKeys = { children: true, key: true, ref: true };\n\nvar logger = console; // eslint-disable-line no-console\n\nvar Provider = exports.Provider = function (_Component) {\n _inherits(Provider, _Component);\n\n function Provider() {\n _classCallCheck(this, Provider);\n\n return _possibleConstructorReturn(this, (Provider.__proto__ || Object.getPrototypeOf(Provider)).apply(this, arguments));\n }\n\n _createClass(Provider, [{\n key: 'render',\n value: function render(_ref) {\n var children = _ref.children;\n\n return children.length > 1 ? (0, _preact.h)('div', null, ' ', children, ' ') : children[0];\n }\n }, {\n key: 'getChildContext',\n value: function getChildContext() {\n var stores = {};\n // inherit stores\n var baseStores = this.context.mobxStores;\n if (baseStores) {\n for (var key in baseStores) {\n stores[key] = baseStores[key];\n }\n }\n // add own stores\n for (var _key in this.props) {\n if (!specialReactKeys[_key] && _key !== 'suppressChangedStoreWarning') {\n stores[_key] = this.props[_key];\n }\n }\n\n return {\n mobxStores: stores\n };\n }\n }, {\n key: 'componentWillReceiveProps',\n value: function componentWillReceiveProps(nextProps) {\n // Maybe this warning is too aggressive?\n if (Object.keys(nextProps).length !== Object.keys(this.props).length) {\n logger.warn('MobX Provider: The set of provided stores has changed. Please avoid changing stores as the change might not propagate to all children');\n }\n if (!nextProps.suppressChangedStoreWarning) {\n for (var key in nextProps) {\n if (!specialReactKeys[key] && this.props[key] !== nextProps[key]) {\n logger.warn('MobX Provider: Provided store \\'' + key + '\\' has changed. Please avoid replacing stores as the change might not propagate to all children');\n }\n }\n }\n }\n }]);\n\n return Provider;\n}(_preact.Component);\n\n/***/ }),\n/* 14 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n }\n }return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n };\n}();\n\nvar _microApiClient = __webpack_require__(6);\n\nvar _microApiClient2 = _interopRequireDefault(_microApiClient);\n\nvar _user = __webpack_require__(16);\n\nvar _user2 = _interopRequireDefault(_user);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nvar HTTPRegexp = /^http:\\/\\//;\nvar defaultApiURL = \"/.netlify/identity\";\n\nvar GoTrue = function () {\n function GoTrue() {\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref$APIUrl = _ref.APIUrl,\n APIUrl = _ref$APIUrl === undefined ? defaultApiURL : _ref$APIUrl,\n _ref$audience = _ref.audience,\n audience = _ref$audience === undefined ? \"\" : _ref$audience,\n _ref$setCookie = _ref.setCookie,\n setCookie = _ref$setCookie === undefined ? false : _ref$setCookie;\n\n _classCallCheck(this, GoTrue);\n\n if (APIUrl.match(HTTPRegexp)) {\n console.warn(\"Warning:\\n\\nDO NOT USE HTTP IN PRODUCTION FOR GOTRUE EVER!\\nGoTrue REQUIRES HTTPS to work securely.\");\n }\n\n if (audience) {\n this.audience = audience;\n }\n\n this.setCookie = setCookie;\n\n this.api = new _microApiClient2.default(APIUrl);\n }\n\n _createClass(GoTrue, [{\n key: \"_request\",\n value: function _request(path) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n options.headers = options.headers || {};\n var aud = options.audience || this.audience;\n if (aud) {\n options.headers[\"X-JWT-AUD\"] = aud;\n }\n return this.api.request(path, options).catch(function (err) {\n if (err instanceof _microApiClient.JSONHTTPError && err.json) {\n if (err.json.msg) {\n err.message = err.json.msg;\n } else if (err.json.error) {\n err.message = err.json.error + \": \" + err.json.error_description;\n }\n }\n return Promise.reject(err);\n });\n }\n }, {\n key: \"settings\",\n value: function settings() {\n return this._request(\"/settings\");\n }\n }, {\n key: \"signup\",\n value: function signup(email, password, data) {\n return this._request(\"/signup\", {\n method: \"POST\",\n body: JSON.stringify({ email: email, password: password, data: data })\n });\n }\n }, {\n key: \"login\",\n value: function login(email, password, remember) {\n var _this = this;\n\n this._setRememberHeaders(remember);\n return this._request(\"/token\", {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/x-www-form-urlencoded\" },\n body: \"grant_type=password&username=\" + encodeURIComponent(email) + \"&password=\" + encodeURIComponent(password)\n }).then(function (response) {\n _user2.default.removeSavedSession();\n return _this.createUser(response, remember);\n });\n }\n }, {\n key: \"loginExternalUrl\",\n value: function loginExternalUrl(provider) {\n return this.api.apiURL + \"/authorize?provider=\" + provider;\n }\n }, {\n key: \"confirm\",\n value: function confirm(token, remember) {\n this._setRememberHeaders(remember);\n return this.verify(\"signup\", token, remember);\n }\n }, {\n key: \"requestPasswordRecovery\",\n value: function requestPasswordRecovery(email) {\n return this._request(\"/recover\", {\n method: \"POST\",\n body: JSON.stringify({ email: email })\n });\n }\n }, {\n key: \"recover\",\n value: function recover(token, remember) {\n this._setRememberHeaders(remember);\n return this.verify(\"recovery\", token, remember);\n }\n }, {\n key: \"acceptInvite\",\n value: function acceptInvite(token, password, remember) {\n var _this2 = this;\n\n this._setRememberHeaders(remember);\n return this._request(\"/verify\", {\n method: \"POST\",\n body: JSON.stringify({ token: token, password: password, type: \"signup\" })\n }).then(function (response) {\n return _this2.createUser(response, remember);\n });\n }\n }, {\n key: \"acceptInviteExternalUrl\",\n value: function acceptInviteExternalUrl(provider, token) {\n return this.api.apiURL + \"/authorize?provider=\" + provider + \"&invite_token=\" + token;\n }\n }, {\n key: \"createUser\",\n value: function createUser(tokenResponse) {\n var remember = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n this._setRememberHeaders(remember);\n var user = new _user2.default(this.api, tokenResponse, this.audience);\n return user.getUserData().then(function (user) {\n if (remember) {\n user._saveSession();\n }\n return user;\n });\n }\n }, {\n key: \"currentUser\",\n value: function currentUser() {\n var user = _user2.default.recoverSession(this.api);\n user && this._setRememberHeaders(user._fromStorage);\n return user;\n }\n }, {\n key: \"verify\",\n value: function verify(type, token, remember) {\n var _this3 = this;\n\n this._setRememberHeaders(remember);\n return this._request(\"/verify\", {\n method: \"POST\",\n body: JSON.stringify({ token: token, type: type })\n }).then(function (response) {\n return _this3.createUser(response, remember);\n });\n }\n }, {\n key: \"_setRememberHeaders\",\n value: function _setRememberHeaders(remember) {\n if (this.setCookie) {\n this.api.defaultHeaders = this.api.defaultHeaders || {};\n this.api.defaultHeaders[\"X-Use-Cookie\"] = remember ? \"1\" : \"session\";\n }\n }\n }]);\n\n return GoTrue;\n}();\n\nexports.default = GoTrue;\n\nif (typeof window !== \"undefined\") {\n window.GoTrue = GoTrue;\n}\n\n/***/ }),\n/* 15 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\n\nexports.getPagination = getPagination;\nfunction getPagination(response) {\n var links = response.headers.get(\"Link\");\n var pagination = {};\n //var link, url, rel, m, page;\n if (links == null) {\n return null;\n }\n links = links.split(\",\");\n var total = response.headers.get(\"X-Total-Count\");\n\n for (var i = 0, len = links.length; i < len; i++) {\n var link = links[i].replace(/(^\\s*|\\s*$)/, \"\");\n\n var _link$split = link.split(\";\"),\n _link$split2 = _slicedToArray(_link$split, 2),\n url = _link$split2[0],\n rel = _link$split2[1];\n\n var m = url.match(/page=(\\d+)/);\n var page = m && parseInt(m[1], 10);\n if (rel.match(/last/)) {\n pagination.last = page;\n } else if (rel.match(/next/)) {\n pagination.next = page;\n } else if (rel.match(/prev/)) {\n pagination.prev = page;\n } else if (rel.match(/first/)) {\n pagination.first = page;\n }\n }\n\n pagination.last = Math.max(pagination.last || 0, pagination.prev && pagination.prev + 1 || 0);\n pagination.current = pagination.next ? pagination.next - 1 : pagination.last || 1;\n pagination.total = total ? parseInt(total, 10) : null;\n\n return pagination;\n}\n\n/***/ }),\n/* 16 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }return target;\n};\n\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n }\n }return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n };\n}();\n\nvar _microApiClient = __webpack_require__(6);\n\nvar _microApiClient2 = _interopRequireDefault(_microApiClient);\n\nvar _admin = __webpack_require__(17);\n\nvar _admin2 = _interopRequireDefault(_admin);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nvar ExpiryMargin = 60 * 1000;\nvar storageKey = \"gotrue.user\";\nvar refreshPromises = {};\nvar currentUser = null;\nvar forbiddenUpdateAttributes = { api: 1, token: 1, audience: 1, url: 1 };\nvar forbiddenSaveAttributes = { api: 1 };\n\nvar User = function () {\n function User(api, tokenResponse, audience) {\n _classCallCheck(this, User);\n\n this.api = api;\n this.url = api.apiURL;\n this.audience = audience;\n this._processTokenResponse(tokenResponse);\n currentUser = this;\n }\n\n _createClass(User, [{\n key: \"update\",\n value: function update(attributes) {\n var _this = this;\n\n return this._request(\"/user\", {\n method: \"PUT\",\n body: JSON.stringify(attributes)\n }).then(function (response) {\n return _this._saveUserData(response)._refreshSavedSession();\n });\n }\n }, {\n key: \"jwt\",\n value: function jwt(forceRefresh) {\n var _tokenDetails = this.tokenDetails(),\n expires_at = _tokenDetails.expires_at,\n refresh_token = _tokenDetails.refresh_token,\n access_token = _tokenDetails.access_token;\n\n if (forceRefresh || expires_at - ExpiryMargin < Date.now()) {\n return this._refreshToken(refresh_token);\n }\n return Promise.resolve(access_token);\n }\n }, {\n key: \"logout\",\n value: function logout() {\n return this._request(\"/logout\", { method: \"POST\" }).then(this.clearSession.bind(this)).catch(this.clearSession.bind(this));\n }\n }, {\n key: \"_refreshToken\",\n value: function _refreshToken(refresh_token) {\n var _this2 = this;\n\n if (refreshPromises[refresh_token]) {\n return refreshPromises[refresh_token];\n }\n return refreshPromises[refresh_token] = this.api.request(\"/token\", {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/x-www-form-urlencoded\" },\n body: \"grant_type=refresh_token&refresh_token=\" + refresh_token\n }).then(function (response) {\n delete refreshPromises[refresh_token];\n _this2._processTokenResponse(response);\n _this2._refreshSavedSession();\n return _this2.token.access_token;\n }).catch(function (error) {\n delete refreshPromises[refresh_token];\n _this2.clearSession();\n return Promise.reject(error);\n });\n }\n }, {\n key: \"_request\",\n value: function _request(path) {\n var _this3 = this;\n\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n options.headers = options.headers || {};\n\n var aud = options.audience || this.audience;\n if (aud) {\n options.headers[\"X-JWT-AUD\"] = aud;\n }\n\n return this.jwt().then(function (token) {\n return _this3.api.request(path, _extends({\n headers: Object.assign(options.headers, {\n Authorization: \"Bearer \" + token\n })\n }, options)).catch(function (err) {\n if (err instanceof _microApiClient.JSONHTTPError && err.json) {\n if (err.json.msg) {\n err.message = err.json.msg;\n } else if (err.json.error) {\n err.message = err.json.error + \": \" + err.json.error_description;\n }\n }\n return Promise.reject(err);\n });\n });\n }\n }, {\n key: \"getUserData\",\n value: function getUserData() {\n return this._request(\"/user\").then(this._saveUserData.bind(this)).then(this._refreshSavedSession.bind(this));\n }\n }, {\n key: \"_saveUserData\",\n value: function _saveUserData(attributes, fromStorage) {\n for (var key in attributes) {\n if (key in User.prototype || key in forbiddenUpdateAttributes) {\n continue;\n }\n this[key] = attributes[key];\n }\n if (fromStorage) {\n this._fromStorage = true;\n }\n return this;\n }\n }, {\n key: \"_processTokenResponse\",\n value: function _processTokenResponse(tokenResponse) {\n this.token = tokenResponse;\n var claims = void 0;\n try {\n claims = JSON.parse(urlBase64Decode(tokenResponse.access_token.split(\".\")[1]));\n this.token.expires_at = claims.exp * 1000;\n } catch (e) {\n console.error(new Error(\"Gotrue-js: Failed to parse tokenResponse claims: \" + JSON.stringify(tokenResponse)));\n }\n }\n }, {\n key: \"_refreshSavedSession\",\n value: function _refreshSavedSession() {\n // only update saved session if we previously saved something\n if (localStorage.getItem(storageKey)) {\n this._saveSession();\n }\n return this;\n }\n }, {\n key: \"_saveSession\",\n value: function _saveSession() {\n localStorage.setItem(storageKey, JSON.stringify(this._details));\n return this;\n }\n }, {\n key: \"tokenDetails\",\n value: function tokenDetails() {\n return this.token;\n }\n }, {\n key: \"clearSession\",\n value: function clearSession() {\n User.removeSavedSession();\n this.token = null;\n currentUser = null;\n }\n }, {\n key: \"admin\",\n get: function get() {\n return new _admin2.default(this);\n }\n }, {\n key: \"_details\",\n get: function get() {\n var userCopy = {};\n for (var key in this) {\n if (key in User.prototype || key in forbiddenSaveAttributes) {\n continue;\n }\n userCopy[key] = this[key];\n }\n return userCopy;\n }\n }], [{\n key: \"removeSavedSession\",\n value: function removeSavedSession() {\n localStorage.removeItem(storageKey);\n }\n }, {\n key: \"recoverSession\",\n value: function recoverSession(apiInstance) {\n if (currentUser) {\n return currentUser;\n }\n\n var json = localStorage.getItem(storageKey);\n if (json) {\n try {\n var data = JSON.parse(json);\n var url = data.url,\n token = data.token,\n audience = data.audience;\n\n if (!url || !token) {\n return null;\n }\n\n var api = apiInstance || new _microApiClient2.default(url, {});\n return new User(api, token, audience)._saveUserData(data, true);\n } catch (ex) {\n console.error(new Error(\"Gotrue-js: Error recovering session: \" + ex));\n return null;\n }\n }\n\n return null;\n }\n }]);\n\n return User;\n}();\n\nexports.default = User;\n\nfunction urlBase64Decode(str) {\n // From https://jwt.io/js/jwt.js\n var output = str.replace(/-/g, '+').replace(/_/g, '/');\n switch (output.length % 4) {\n case 0:\n break;\n case 2:\n output += '==';\n break;\n case 3:\n output += '=';\n break;\n default:\n throw 'Illegal base64url string!';\n }\n var result = window.atob(output); //polifyll https://github.com/davidchambers/Base64.js\n try {\n return decodeURIComponent(escape(result));\n } catch (err) {\n return result;\n }\n}\n\n/***/ }),\n/* 17 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n }\n }return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n };\n}();\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nvar Admin = function () {\n function Admin(user) {\n _classCallCheck(this, Admin);\n\n this.user = user;\n }\n\n // Return a list of all users in an audience\n\n\n _createClass(Admin, [{\n key: \"listUsers\",\n value: function listUsers(aud) {\n return this.user._request(\"/admin/users\", {\n method: \"GET\",\n audience: aud\n });\n }\n }, {\n key: \"getUser\",\n value: function getUser(user) {\n return this.user._request(\"/admin/users/\" + user.id);\n }\n }, {\n key: \"updateUser\",\n value: function updateUser(user) {\n var attributes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n return this.user._request(\"/admin/users/\" + user.id, {\n method: \"PUT\",\n body: JSON.stringify(attributes)\n });\n }\n }, {\n key: \"createUser\",\n value: function createUser(email, password) {\n var attributes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n attributes.email = email;\n attributes.password = password;\n return this.user._request(\"/admin/users\", {\n method: \"POST\",\n body: JSON.stringify(attributes)\n });\n }\n }, {\n key: \"deleteUser\",\n value: function deleteUser(user) {\n return this.user._request(\"/admin/users/\" + user.id, {\n method: \"DELETE\"\n });\n }\n }]);\n\n return Admin;\n}();\n\nexports.default = Admin;\n\n/***/ }),\n/* 18 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _dec, _class;\n\nvar _preact = __webpack_require__(0);\n\nvar _mobxPreact = __webpack_require__(2);\n\nvar _modal = __webpack_require__(19);\n\nvar _modal2 = _interopRequireDefault(_modal);\n\nvar _siteurl = __webpack_require__(20);\n\nvar _siteurl2 = _interopRequireDefault(_siteurl);\n\nvar _logout = __webpack_require__(21);\n\nvar _logout2 = _interopRequireDefault(_logout);\n\nvar _user = __webpack_require__(22);\n\nvar _user2 = _interopRequireDefault(_user);\n\nvar _providers = __webpack_require__(23);\n\nvar _providers2 = _interopRequireDefault(_providers);\n\nvar _message = __webpack_require__(8);\n\nvar _message2 = _interopRequireDefault(_message);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar pagesWithHeader = { login: true, signup: true };\nvar pages = {\n login: {\n login: true,\n button: \"Log in\",\n button_saving: \"Logging in\",\n email: true,\n password: true,\n link: \"amnesia\",\n link_text: \"Forgot password?\",\n providers: true\n },\n signup: {\n signup: true,\n button: \"Sign up\",\n button_saving: \"Signing Up\",\n name: true,\n email: true,\n password: true,\n providers: true\n },\n amnesia: {\n title: \"Recover password\",\n button: \"Send recovery email\",\n button_saving: \"Sending recovery email\",\n email: true,\n link: \"login\",\n link_text: \"Never mind\"\n },\n recovery: {\n title: \"Recover password\",\n button: \"Update password\",\n button_saving: \"Updating password\",\n password: true,\n link: \"login\",\n link_text: \"Never mind\"\n },\n invite: {\n title: \"Complete your signup\",\n button: \"Sign up\",\n button_saving: \"Signing Up\",\n password: true,\n providers: true\n },\n user: {\n title: \"Logged in\"\n }\n};\n\nvar App = (_dec = (0, _mobxPreact.connect)([\"store\"]), _dec(_class = function (_Component) {\n _inherits(App, _Component);\n\n function App() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, App);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = App.__proto__ || Object.getPrototypeOf(App)).call.apply(_ref, [this].concat(args))), _this), _this.handleClose = function () {\n return _this.props.store.closeModal();\n }, _this.handlePage = function (page) {\n return _this.props.store.openModal(page);\n }, _this.handleLogout = function () {\n return _this.props.store.logout();\n }, _this.handleSiteURL = function (url) {\n return _this.props.store.setSiteURL(url);\n }, _this.clearSiteURL = function (url) {\n return _this.props.store.clearSiteURL();\n }, _this.handleExternalLogin = function (provider) {\n return _this.props.store.externalLogin(provider);\n }, _this.handleUser = function (_ref2) {\n var name = _ref2.name,\n email = _ref2.email,\n password = _ref2.password;\n var store = _this.props.store;\n\n\n switch (store.modal.page) {\n case \"login\":\n store.login(email, password);\n break;\n case \"signup\":\n store.signup(name, email, password);\n break;\n case \"amnesia\":\n store.requestPasswordRecovery(email);\n break;\n case \"invite\":\n store.acceptInvite(password);\n break;\n case \"recovery\":\n store.updatePassword(password);\n break;\n }\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(App, [{\n key: \"renderBody\",\n value: function renderBody() {\n var _this2 = this;\n\n var store = this.props.store;\n\n var page = pages[store.modal.page] || {};\n var pageLinkHandler = function pageLinkHandler() {\n return _this2.handlePage(page.link);\n };\n\n if (!store.gotrue) {\n return (0, _preact.h)(_siteurl2.default, { onSiteURL: this.handleSiteURL });\n }\n if (!store.settings) {\n return;\n }\n if (store.user) {\n return (0, _preact.h)(_logout2.default, {\n user: store.user,\n saving: store.saving,\n onLogout: this.handleLogout\n });\n }\n if (store.modal.page === \"signup\" && store.settings.disable_signup) {\n return (0, _preact.h)(_message2.default, { type: \"signup_disabled\" });\n }\n\n return (0, _preact.h)(\n \"div\",\n null,\n (0, _preact.h)(_user2.default, {\n page: pages[store.modal.page] || {},\n message: store.message,\n saving: store.saving,\n onSubmit: this.handleUser,\n namePlaceholder: store.namePlaceholder\n }),\n !store.user && page.link && store.gotrue && (0, _preact.h)(\n \"button\",\n {\n onclick: pageLinkHandler,\n className: \"btnLink forgotPasswordLink\"\n },\n page.link_text\n ),\n (0, _preact.h)(_siteurl2.default, { devMode: \"true\", onSiteURL: this.clearSiteURL })\n );\n }\n }, {\n key: \"renderProviders\",\n value: function renderProviders() {\n var store = this.props.store;\n\n\n if (!(store.gotrue && store.settings)) {\n return null;\n }\n if (store.modal.page === \"signup\" && store.settings.disable_signup) {\n return null;\n }\n var page = pages[store.modal.page] || {};\n\n if (!page.providers) {\n return null;\n }\n\n var providers = [\"Google\", \"GitHub\", \"GitLab\", \"BitBucket\", \"SAML\"].filter(function (p) {\n return store.settings.external[p.toLowerCase()];\n });\n\n return providers.length ? (0, _preact.h)(_providers2.default, {\n providers: providers,\n labels: store.settings.external_labels || {},\n onLogin: this.handleExternalLogin\n }) : null;\n }\n }, {\n key: \"render\",\n value: function render() {\n var store = this.props.store;\n\n var showHeader = pagesWithHeader[store.modal.page];\n var showSignup = store.settings && !store.settings.disable_signup;\n var page = pages[store.modal.page] || {};\n\n return (0, _preact.h)(\n \"div\",\n null,\n (0, _preact.h)(\n _modal2.default,\n {\n page: page,\n error: store.error,\n showHeader: showHeader,\n showSignup: showSignup,\n devSettings: !store.gotrue,\n loading: !store.error && store.gotrue && !store.settings,\n isOpen: store.modal.isOpen,\n onPage: this.handlePage,\n onClose: this.handleClose,\n logo: store.modal.logo\n },\n this.renderBody(),\n this.renderProviders()\n )\n );\n }\n }]);\n\n return App;\n}(_preact.Component)) || _class);\nexports.default = App;\n\n/***/ }),\n/* 19 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _preact = __webpack_require__(0);\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction formatError(error) {\n return error.json && error.json.error_description || error.message || error.toString();\n}\n\nvar Modal = function (_Component) {\n _inherits(Modal, _Component);\n\n function Modal() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, Modal);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Modal.__proto__ || Object.getPrototypeOf(Modal)).call.apply(_ref, [this].concat(args))), _this), _this.handleClose = function (e) {\n e.preventDefault();\n _this.props.onClose();\n }, _this.blockEvent = function (e) {\n e.stopPropagation();\n }, _this.linkHandler = function (page) {\n return function (e) {\n e.preventDefault();\n _this.props.onPage(page);\n };\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(Modal, [{\n key: \"render\",\n value: function render() {\n var _props = this.props,\n page = _props.page,\n error = _props.error,\n loading = _props.loading,\n showHeader = _props.showHeader,\n showSignup = _props.showSignup,\n devSettings = _props.devSettings,\n isOpen = _props.isOpen,\n children = _props.children,\n logo = _props.logo;\n\n var hidden = loading || !isOpen;\n return (0, _preact.h)(\n \"div\",\n {\n className: \"modalContainer\",\n role: \"dialog\",\n \"aria-hidden\": \"\" + hidden,\n onClick: this.handleClose\n },\n (0, _preact.h)(\n \"div\",\n {\n className: \"modalDialog\" + (loading ? \" visuallyHidden\" : \"\"),\n onClick: this.blockEvent\n },\n (0, _preact.h)(\n \"div\",\n { className: \"modalContent\" },\n (0, _preact.h)(\n \"button\",\n { onclick: this.handleClose, className: \"btn btnClose\" },\n (0, _preact.h)(\n \"span\",\n { className: \"visuallyHidden\" },\n \"Close\"\n )\n ),\n showHeader && (0, _preact.h)(\n \"div\",\n { className: \"header\" },\n showSignup && (0, _preact.h)(\n \"button\",\n {\n className: \"btn btnHeader \" + (page.signup ? \"active\" : \"\"),\n onclick: this.linkHandler(\"signup\")\n },\n \"Sign up\"\n ),\n !devSettings && (0, _preact.h)(\n \"button\",\n {\n className: \"btn btnHeader \" + (page.login ? \"active\" : \"\"),\n onclick: this.linkHandler(\"login\")\n },\n \"Log in\"\n )\n ),\n page.title && (0, _preact.h)(\n \"div\",\n { className: \"header\" },\n (0, _preact.h)(\n \"button\",\n { className: \"btn btnHeader active\" },\n page.title\n )\n ),\n devSettings && (0, _preact.h)(\n \"div\",\n { className: \"header\" },\n (0, _preact.h)(\n \"button\",\n { className: \"btn btnHeader active\" },\n \"Development Settings\"\n )\n ),\n error && (0, _preact.h)(\n \"div\",\n { className: \"flashMessage error\" },\n (0, _preact.h)(\n \"span\",\n null,\n formatError(error)\n )\n ),\n children\n )\n ),\n logo && (0, _preact.h)(\n \"a\",\n {\n href: \"https://www.netlify.com\",\n className: \"callOut\" + (loading ? \" visuallyHidden\" : \"\")\n },\n (0, _preact.h)(\"span\", { className: \"netlifyLogo\" }),\n \"Coded by Netlify\"\n )\n );\n }\n }]);\n\n return Modal;\n}(_preact.Component);\n\nexports.default = Modal;\n\n/***/ }),\n/* 20 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _preact = __webpack_require__(0);\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar SiteURLForm = function (_Component) {\n _inherits(SiteURLForm, _Component);\n\n function SiteURLForm(props) {\n _classCallCheck(this, SiteURLForm);\n\n var _this = _possibleConstructorReturn(this, (SiteURLForm.__proto__ || Object.getPrototypeOf(SiteURLForm)).call(this, props));\n\n _this.handleInput = function (e) {\n _this.setState(_defineProperty({}, e.target.name, e.target.value));\n };\n\n _this.addSiteURL = function (e) {\n e.preventDefault();\n _this.props.onSiteURL(_this.state.url);\n };\n\n _this.clearSiteURL = function (e) {\n e.preventDefault;\n _this.props.onSiteURL();\n };\n\n _this.state = { url: \"\", development: props.devMode || false };\n return _this;\n }\n\n _createClass(SiteURLForm, [{\n key: \"render\",\n value: function render() {\n var _this2 = this;\n\n var _state = this.state,\n url = _state.url,\n development = _state.development;\n\n\n return (0, _preact.h)(\n \"div\",\n null,\n development ? (0, _preact.h)(\n \"div\",\n { \"class\": \"subheader\" },\n (0, _preact.h)(\n \"h3\",\n null,\n \"Development Settings\"\n ),\n (0, _preact.h)(\n \"button\",\n {\n onclick: function onclick(e) {\n return _this2.clearSiteURL(e);\n },\n className: \"btnLink forgotPasswordLink\"\n },\n \"Clear localhost URL\"\n )\n ) : (0, _preact.h)(\n \"form\",\n { onsubmit: this.addSiteURL, className: \"form\" },\n (0, _preact.h)(\n \"div\",\n { className: \"flashMessage\" },\n \"Looks like you're running a local server. Please let us know the URL of your Netlify site.\"\n ),\n (0, _preact.h)(\n \"div\",\n { className: \"formGroup\" },\n (0, _preact.h)(\n \"label\",\n null,\n (0, _preact.h)(\n \"span\",\n { className: \"visuallyHidden\" },\n \"Enter your Netlify Site URL\"\n ),\n (0, _preact.h)(\"input\", {\n className: \"formControl\",\n type: \"url\",\n name: \"url\",\n value: url,\n placeholder: \"URL of your Netlify site\",\n autocapitalize: \"off\",\n required: true,\n oninput: this.handleInput\n }),\n (0, _preact.h)(\"div\", { className: \"inputFieldIcon inputFieldUrl\" })\n )\n ),\n (0, _preact.h)(\n \"button\",\n { type: \"submit\", className: \"btn\" },\n \"Set site's URL\"\n )\n )\n );\n }\n }]);\n\n return SiteURLForm;\n}(_preact.Component);\n\nexports.default = SiteURLForm;\n\n/***/ }),\n/* 21 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _preact = __webpack_require__(0);\n\nvar _button = __webpack_require__(7);\n\nvar _button2 = _interopRequireDefault(_button);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar LogoutForm = function (_Component) {\n _inherits(LogoutForm, _Component);\n\n function LogoutForm() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, LogoutForm);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = LogoutForm.__proto__ || Object.getPrototypeOf(LogoutForm)).call.apply(_ref, [this].concat(args))), _this), _this.handleLogout = function (e) {\n e.preventDefault();\n _this.props.onLogout();\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(LogoutForm, [{\n key: \"render\",\n value: function render() {\n var _props = this.props,\n user = _props.user,\n saving = _props.saving;\n\n\n return (0, _preact.h)(\n \"form\",\n {\n onSubmit: this.handleLogout,\n className: \"form \" + (saving ? \"disabled\" : \"\")\n },\n (0, _preact.h)(\n \"p\",\n { className: \"infoText\" },\n \"Logged in as \",\n (0, _preact.h)(\"br\", null),\n (0, _preact.h)(\n \"span\",\n { className: \"infoTextEmail\" },\n user.user_metadata.full_name || user.user_metadata.name || user.email\n )\n ),\n (0, _preact.h)(_button2.default, { saving: saving, text: \"Log out\", saving_text: \"Logging out\" })\n );\n }\n }]);\n\n return LogoutForm;\n}(_preact.Component);\n\nexports.default = LogoutForm;\n\n/***/ }),\n/* 22 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _preact = __webpack_require__(0);\n\nvar _message = __webpack_require__(8);\n\nvar _message2 = _interopRequireDefault(_message);\n\nvar _button = __webpack_require__(7);\n\nvar _button2 = _interopRequireDefault(_button);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar UserForm = function (_Component) {\n _inherits(UserForm, _Component);\n\n function UserForm(props) {\n _classCallCheck(this, UserForm);\n\n var _this = _possibleConstructorReturn(this, (UserForm.__proto__ || Object.getPrototypeOf(UserForm)).call(this, props));\n\n _this.handleInput = function (e) {\n _this.setState(_defineProperty({}, e.target.name, e.target.value));\n };\n\n _this.handleLogin = function (e) {\n e.preventDefault();\n _this.props.onSubmit(_this.state);\n };\n\n _this.state = { name: \"\", email: \"\", password: \"\" };\n return _this;\n }\n\n _createClass(UserForm, [{\n key: \"render\",\n value: function render() {\n var _props = this.props,\n page = _props.page,\n message = _props.message,\n saving = _props.saving,\n namePlaceholder = _props.namePlaceholder;\n var _state = this.state,\n name = _state.name,\n email = _state.email,\n password = _state.password;\n\n\n return (0, _preact.h)(\n \"form\",\n {\n onsubmit: this.handleLogin,\n className: \"form \" + (saving ? \"disabled\" : \"\")\n },\n message && (0, _preact.h)(_message2.default, { type: message }),\n page.name && (0, _preact.h)(\n \"div\",\n { className: \"formGroup\" },\n (0, _preact.h)(\n \"label\",\n null,\n (0, _preact.h)(\n \"span\",\n { className: \"visuallyHidden\" },\n \"Enter your name\"\n ),\n (0, _preact.h)(\"input\", {\n className: \"formControl\",\n type: \"name\",\n name: \"name\",\n value: name,\n placeholder: namePlaceholder ? namePlaceholder : \"Name\",\n autocapitalize: \"off\",\n required: true,\n oninput: this.handleInput\n }),\n (0, _preact.h)(\"div\", { className: \"inputFieldIcon inputFieldName\" })\n )\n ),\n page.email && (0, _preact.h)(\n \"div\",\n { className: \"formGroup\" },\n (0, _preact.h)(\n \"label\",\n null,\n (0, _preact.h)(\n \"span\",\n { className: \"visuallyHidden\" },\n \"Enter your email\"\n ),\n (0, _preact.h)(\"input\", {\n className: \"formControl\",\n type: \"email\",\n name: \"email\",\n value: email,\n placeholder: \"Email\",\n autocapitalize: \"off\",\n required: true,\n oninput: this.handleInput\n }),\n (0, _preact.h)(\"div\", { className: \"inputFieldIcon inputFieldEmail\" })\n )\n ),\n page.password && (0, _preact.h)(\n \"div\",\n { className: \"formGroup\" },\n (0, _preact.h)(\n \"label\",\n null,\n (0, _preact.h)(\n \"span\",\n { className: \"visuallyHidden\" },\n \"Enter your password\"\n ),\n (0, _preact.h)(\"input\", {\n className: \"formControl\",\n type: \"password\",\n name: \"password\",\n value: password,\n placeholder: \"Password\",\n required: true,\n oninput: this.handleInput\n }),\n (0, _preact.h)(\"div\", { className: \"inputFieldIcon inputFieldPassword\" })\n )\n ),\n (0, _preact.h)(_button2.default, {\n saving: saving,\n text: page.button,\n saving_text: page.button_saving\n })\n );\n }\n }]);\n\n return UserForm;\n}(_preact.Component);\n\nexports.default = UserForm;\n\n/***/ }),\n/* 23 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _preact = __webpack_require__(0);\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Provider = function (_Component) {\n _inherits(Provider, _Component);\n\n function Provider() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, Provider);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Provider.__proto__ || Object.getPrototypeOf(Provider)).call.apply(_ref, [this].concat(args))), _this), _this.handleLogin = function (e) {\n e.preventDefault();\n _this.props.onLogin(_this.props.provider.toLowerCase());\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(Provider, [{\n key: \"render\",\n value: function render() {\n var _props = this.props,\n provider = _props.provider,\n label = _props.label;\n\n\n return (0, _preact.h)(\n \"button\",\n {\n onClick: this.handleLogin,\n className: \"provider\" + provider + \" btn btnProvider\"\n },\n \"Continue with \",\n label\n );\n }\n }]);\n\n return Provider;\n}(_preact.Component);\n\nvar Providers = function (_Component2) {\n _inherits(Providers, _Component2);\n\n function Providers() {\n _classCallCheck(this, Providers);\n\n return _possibleConstructorReturn(this, (Providers.__proto__ || Object.getPrototypeOf(Providers)).apply(this, arguments));\n }\n\n _createClass(Providers, [{\n key: \"getLabel\",\n value: function getLabel(p) {\n var pId = p.toLowerCase();\n if (pId in this.props.labels) {\n return this.props.labels[pId];\n }\n return p;\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this3 = this;\n\n var _props2 = this.props,\n providers = _props2.providers,\n onLogin = _props2.onLogin;\n\n\n return (0, _preact.h)(\n \"div\",\n { className: \"providersGroup\" },\n (0, _preact.h)(\"hr\", { className: \"hr\" }),\n providers.map(function (p) {\n return (0, _preact.h)(Provider, {\n key: p,\n provider: p,\n label: _this3.getLabel(p),\n onLogin: onLogin\n });\n })\n );\n }\n }]);\n\n return Providers;\n}(_preact.Component);\n\nexports.default = Providers;\n\n/***/ }),\n/* 24 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _mobx = __webpack_require__(1);\n\nvar store = (0, _mobx.observable)({\n user: null,\n recovered_user: null,\n message: null,\n settings: null,\n gotrue: null,\n error: null,\n siteURL: null,\n remember: true,\n saving: false,\n invite_token: null,\n email_change_token: null,\n namePlaceholder: null,\n modal: {\n page: \"login\",\n isOpen: false,\n logo: true\n }\n});\n\nstore.setNamePlaceholder = (0, _mobx.action)(function setNamePlaceholder(namePlaceholder) {\n store.namePlaceholder = namePlaceholder;\n});\n\nstore.startAction = (0, _mobx.action)(function startAction() {\n store.saving = true;\n store.error = null;\n store.message = null;\n});\n\nstore.setError = (0, _mobx.action)(function setError(err) {\n store.saving = false;\n store.error = err;\n});\n\nstore.init = (0, _mobx.action)(function init(gotrue, reloadSettings) {\n if (gotrue) {\n store.gotrue = gotrue;\n store.user = gotrue.currentUser();\n if (store.user) {\n store.modal.page = \"user\";\n }\n }\n if (reloadSettings) {\n store.loadSettings();\n }\n});\n\nstore.loadSettings = (0, _mobx.action)(function loadSettings() {\n if (store.settings) {\n return;\n }\n if (!store.gotrue) {\n return;\n }\n\n store.gotrue.settings().then((0, _mobx.action)(function (settings) {\n return store.settings = settings;\n })).catch((0, _mobx.action)(function (err) {\n store.error = new Error(\"Failed to load settings from \" + store.gotrue.api.apiURL);\n }));\n});\n\nstore.setSiteURL = (0, _mobx.action)(function setSiteURL(url) {\n store.siteURL = url;\n});\n\nstore.clearSiteURL = (0, _mobx.action)(function clearSiteURL() {\n store.gotrue = null;\n store.siteURL = null;\n store.settings = null;\n});\n\nstore.login = (0, _mobx.action)(function login(email, password) {\n store.startAction();\n return store.gotrue.login(email, password, store.remember).then((0, _mobx.action)(function (user) {\n store.user = user;\n store.modal.page = \"user\";\n store.invite_token = null;\n if (store.email_change_token) {\n store.doEmailChange();\n }\n store.saving = false;\n })).catch(store.setError);\n});\n\nstore.externalLogin = (0, _mobx.action)(function externalLogin(provider) {\n // store.startAction();\n store.error = null;\n store.message = null;\n var url = store.invite_token ? store.gotrue.acceptInviteExternalUrl(provider, store.invite_token) : store.gotrue.loginExternalUrl(provider);\n window.location.href = url;\n});\n\nstore.completeExternalLogin = (0, _mobx.action)(function completeExternalLogin(params) {\n store.startAction();\n store.gotrue.createUser(params, store.remember).then(function (user) {\n store.user = user;\n store.modal.page = \"user\";\n store.saving = false;\n }).catch(store.setError);\n});\n\nstore.signup = (0, _mobx.action)(function signup(name, email, password) {\n store.startAction();\n return store.gotrue.signup(email, password, { full_name: name }).then((0, _mobx.action)(function () {\n if (store.settings.autoconfirm) {\n store.login(email, password, store.remember);\n } else {\n store.message = \"confirm\";\n }\n store.saving = false;\n })).catch(store.setError);\n});\n\nstore.logout = (0, _mobx.action)(function logout() {\n if (store.user) {\n store.startAction();\n return store.user.logout().then((0, _mobx.action)(function () {\n store.user = null;\n store.modal.page = \"login\";\n store.saving = false;\n })).catch(store.setError);\n } else {\n store.modal.page = \"login\";\n store.saving = false;\n }\n});\n\nstore.updatePassword = (0, _mobx.action)(function updatePassword(password) {\n store.startAction();\n var user = store.recovered_user || store.user;\n user.update({ password: password }).then(function (user) {\n store.user = user;\n store.recovered_user = null;\n store.modal.page = \"user\";\n store.saving = false;\n }).catch(store.setError);\n});\n\nstore.acceptInvite = (0, _mobx.action)(function acceptInvite(password) {\n store.startAction();\n store.gotrue.acceptInvite(store.invite_token, password, store.remember).then(function (user) {\n store.saving = false;\n store.invite_token = null;\n store.user = user;\n store.modal.page = \"user\";\n }).catch(store.setError);\n});\n\nstore.doEmailChange = (0, _mobx.action)(function doEmailChange() {\n store.startAction();\n return store.user.update({ email_change_token: store.email_change_token }).then((0, _mobx.action)(function (user) {\n store.user = user;\n store.email_change_token = null;\n store.message = \"email_changed\";\n store.saving = false;\n })).catch(store.setError);\n});\n\nstore.verifyToken = (0, _mobx.action)(function verifyToken(type, token) {\n var gotrue = store.gotrue;\n store.modal.isOpen = true;\n\n switch (type) {\n case \"confirmation\":\n store.startAction();\n store.modal.page = \"signup\";\n gotrue.confirm(token, store.remember).then((0, _mobx.action)(function (user) {\n store.user = user;\n store.saving = false;\n })).catch((0, _mobx.action)(function (err) {\n console.error(err);\n store.message = \"verfication_error\";\n store.modal.page = \"signup\";\n store.saving = false;\n }));\n break;\n case \"email_change\":\n store.email_change_token = token;\n store.modal.page = \"message\";\n if (store.user) {\n store.doEmailChange();\n } else {\n store.modal.page = \"login\";\n }\n break;\n case \"invite\":\n store.modal.page = type;\n store.invite_token = token;\n break;\n case \"recovery\":\n store.startAction();\n store.modal.page = type;\n store.gotrue.recover(token, store.remember).then(function (user) {\n store.saving = false;\n store.recovered_user = user;\n }).catch(function (err) {\n store.saving = false;\n store.error = err;\n store.modal.page = \"login\";\n });\n break;\n default:\n store.error = \"Unkown token type\";\n }\n});\n\nstore.requestPasswordRecovery = (0, _mobx.action)(function requestPasswordRecovery(email) {\n store.startAction();\n store.gotrue.requestPasswordRecovery(email).then((0, _mobx.action)(function () {\n store.message = \"password_mail\";\n store.saving = false;\n })).catch(store.setError);\n});\n\nstore.openModal = (0, _mobx.action)(function open(page) {\n store.modal.page = page;\n store.modal.isOpen = true;\n});\n\nstore.closeModal = (0, _mobx.action)(function close() {\n store.modal.isOpen = false;\n store.error = null;\n store.message = null;\n store.saving = false;\n});\n\nexports.default = store;\n\n/***/ }),\n/* 25 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _dec, _class;\n\nvar _preact = __webpack_require__(0);\n\nvar _mobxPreact = __webpack_require__(2);\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Controls = (_dec = (0, _mobxPreact.connect)([\"store\"]), _dec(_class = function (_Component) {\n _inherits(Controls, _Component);\n\n function Controls() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, Controls);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Controls.__proto__ || Object.getPrototypeOf(Controls)).call.apply(_ref, [this].concat(args))), _this), _this.handleSignup = function (e) {\n e.preventDefault();\n _this.props.store.openModal(\"signup\");\n }, _this.handleLogin = function (e) {\n e.preventDefault();\n _this.props.store.openModal(\"login\");\n }, _this.handleLogout = function (e) {\n e.preventDefault();\n _this.props.store.openModal(\"user\");\n }, _this.handleButton = function (e) {\n e.preventDefault();\n _this.props.store.openModal(_this.props.store.user ? \"user\" : \"login\");\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(Controls, [{\n key: \"render\",\n value: function render() {\n var user = this.props.store.user;\n\n\n if (this.props.mode === \"button\") {\n return (0, _preact.h)(\n \"a\",\n {\n className: \"netlify-identity-button\",\n href: \"#\",\n onClick: this.handleButton\n },\n this.props.text || (user ? \"Log out\" : \"Log in\")\n );\n }\n\n if (user) {\n return (0, _preact.h)(\n \"ul\",\n { className: \"netlify-identity-menu\" },\n (0, _preact.h)(\n \"li\",\n { className: \"netlify-identity-item netlify-identity-user-details\" },\n \"Logged in as\",\n \" \",\n (0, _preact.h)(\n \"span\",\n { className: \"netlify-identity-user\" },\n user.user_metadata.name || user.email\n )\n ),\n (0, _preact.h)(\n \"li\",\n { className: \"netlify-identity-item\" },\n (0, _preact.h)(\n \"a\",\n {\n className: \"netlify-identity-logout\",\n href: \"#\",\n onClick: this.handleLogout\n },\n \"Log out\"\n )\n )\n );\n }\n\n return (0, _preact.h)(\n \"ul\",\n { className: \"netlify-identity-menu\" },\n (0, _preact.h)(\n \"li\",\n { className: \"netlify-identity-item\" },\n (0, _preact.h)(\n \"a\",\n {\n className: \"netlify-identity-signup\",\n href: \"#\",\n onClick: this.handleSignup\n },\n \"Sign up\"\n )\n ),\n (0, _preact.h)(\n \"li\",\n { className: \"netlify-identity-item\" },\n (0, _preact.h)(\n \"a\",\n {\n className: \"netlify-identity-login\",\n href: \"#\",\n onClick: this.handleLogin\n },\n \"Log in\"\n )\n )\n );\n }\n }]);\n\n return Controls;\n}(_preact.Component)) || _class);\nexports.default = Controls;\n\n/***/ }),\n/* 26 */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(27)(false);\n// imports\n\n\n// module\nexports.push([module.i, \"::-webkit-input-placeholder {\\n /* Chrome/Opera/Safari */\\n color: #a3a9ac;\\n font-weight: 500;\\n}\\n\\n::-moz-placeholder {\\n /* Firefox 19+ */\\n color: #a3a9ac;\\n font-weight: 500;\\n}\\n\\n:-ms-input-placeholder {\\n /* IE 10+ */\\n color: #a3a9ac;\\n font-weight: 500;\\n}\\n\\n:-moz-placeholder {\\n /* Firefox 18- */\\n color: #a3a9ac;\\n font-weight: 500;\\n}\\n\\n.modalContainer {\\n position: absolute;\\n top: 0;\\n left: 0;\\n width: 100%;\\n min-height: 100%;\\n overflow-x: hidden;\\n overflow-y: auto;\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n font-family: -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, Helvetica,\\n Arial, sans-serif, \\\"Apple Color Emoji\\\", \\\"Segoe UI Emoji\\\", \\\"Segoe UI Symbol\\\";\\n font-size: 14px;\\n line-height: 1.5;\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-orient: vertical;\\n -webkit-box-direction: normal;\\n -ms-flex-direction: column;\\n flex-direction: column;\\n -webkit-box-align: center;\\n -ms-flex-align: center;\\n align-items: center;\\n z-index: 99999;\\n}\\n\\n.modalContainer::before {\\n content: \\\"\\\";\\n display: block;\\n position: fixed;\\n top: 0;\\n bottom: 0;\\n left: 0;\\n right: 0;\\n background-color: #fff;\\n z-index: -1;\\n}\\n\\n.modalDialog {\\n -webkit-box-flex: 1;\\n -ms-flex-positive: 1;\\n flex-grow: 1;\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-orient: vertical;\\n -webkit-box-direction: normal;\\n -ms-flex-direction: column;\\n flex-direction: column;\\n width: 100%;\\n}\\n\\n.modalContent {\\n position: relative;\\n padding: 32px;\\n opacity: 0;\\n -webkit-transform: translateY(10px) scale(1);\\n transform: translateY(10px) scale(1);\\n background: #fff;\\n}\\n\\n[aria-hidden=\\\"false\\\"] .modalContent {\\n -webkit-animation: bouncyEntrance 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);\\n animation: bouncyEntrance 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);\\n -webkit-animation-fill-mode: forwards;\\n animation-fill-mode: forwards;\\n }\\n\\n@-webkit-keyframes bouncyEntrance {\\n 0% {\\n opacity: 0;\\n -webkit-transform: translateY(10px) scale(0.9);\\n transform: translateY(10px) scale(0.9);\\n }\\n\\n 100% {\\n opacity: 1;\\n -webkit-transform: translateY(0) scale(1);\\n transform: translateY(0) scale(1);\\n }\\n}\\n\\n@keyframes bouncyEntrance {\\n 0% {\\n opacity: 0;\\n -webkit-transform: translateY(10px) scale(0.9);\\n transform: translateY(10px) scale(0.9);\\n }\\n\\n 100% {\\n opacity: 1;\\n -webkit-transform: translateY(0) scale(1);\\n transform: translateY(0) scale(1);\\n }\\n}\\n\\n@media (min-width: 480px) {\\n .modalContainer::before {\\n background-color: rgb(14, 30, 37);\\n -webkit-animation: fadeIn 0.1s ease-in;\\n animation: fadeIn 0.1s ease-in;\\n -webkit-animation-fill-mode: forwards;\\n animation-fill-mode: forwards;\\n }\\n\\n .modalDialog {\\n max-width: 364px;\\n -webkit-box-pack: center;\\n -ms-flex-pack: center;\\n justify-content: center;\\n }\\n\\n .modalContent {\\n background: #fff;\\n -webkit-box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .07),\\n 0 12px 32px 0 rgba(14, 30, 37, .1);\\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .07),\\n 0 12px 32px 0 rgba(14, 30, 37, .1);\\n border-radius: 8px;\\n margin-top: 32px;\\n }\\n}\\n\\n@-webkit-keyframes fadeIn {\\n 0% {\\n opacity: 0;\\n }\\n\\n 100% {\\n opacity: 0.67;\\n }\\n}\\n\\n@keyframes fadeIn {\\n 0% {\\n opacity: 0;\\n }\\n\\n 100% {\\n opacity: 0.67;\\n }\\n}\\n\\n.flashMessage {\\n text-align: center;\\n color: rgb(14, 30, 37);\\n font-weight: 500;\\n font-size: 14px;\\n background-color: #f2f3f3;\\n padding: 6px;\\n border-radius: 4px;\\n opacity: 0.7;\\n -webkit-transition: opacity 0.2s linear;\\n transition: opacity 0.2s linear;\\n}\\n\\n.flashMessage:hover,\\n.flashMessage:focus {\\n opacity: 1;\\n}\\n\\n.error {\\n color: #fa3946;\\n background-color: #fceef0;\\n opacity: 1;\\n}\\n\\n.error span::before {\\n content: \\\"\\\";\\n display: inline-block;\\n position: relative;\\n top: 3px;\\n margin-right: 4px;\\n width: 16px;\\n height: 16px;\\n background: no-repeat center center;\\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0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jQ2LDEwLjUgOC44MzMzMzMzMywxMC44NzMzMzMzIDguODMzMzMzMzMsMTEuMzMzMzMzMyBDOC44MzMzMzMzMywxMS43OTMzMzMzIDguNDYsMTIuMTY2NjY2NyA4LDEyLjE2NjY2NjcgWiIvPgo8L3N2Zz4K);\\n}\\n\\n.success {\\n}\\n\\n.disabled {\\n opacity: 0.38;\\n pointer-events: none;\\n}\\n\\n.infoText {\\n text-align: center;\\n margin: 32px 0;\\n}\\n\\n.infoTextEmail {\\n font-size: 16px;\\n font-weight: 500;\\n}\\n\\n.saving {\\n background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABQCAMAAACeYYN3AAAAxlBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////DTx3aAAAAQnRSTlMAAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2Nzg5Ojs8PT4/QEGgjKRfAAACk0lEQVR4AYXQDXP5WhAG8CUhiSQqSv4RRRMVL1Fa1VZf3PL9v9Tde9wc9M8+P8/M7s6czJiHgNIvVCJO6YiAMlAiWckASiQrm4bJMZTDrmbBIEC9qpgVjp6n4B+oyEwCzKrMQBVaQIlkpmXZln1dhQB+49gOh5dLexlV6MhsAqyazEQVugCqsOK5nsQmwPWZ53ucvyczSGb4l9T9OsdnLgFOXVZFFd4AqEKrIasR4AdBI2hw1GR6VzMwSWY2A60ZNDl6KnUC3KbMRhXeAqhCpyXzCAjarNVucdqXVEhWaRfCdsj5vQcE1EOZQ7Jy+EcUlklWi2Q3BLQ6nagTcTra2Y0qrHZirRN3OOezTUAjvq4bd7suqpDfSGJUoXcnCwiIerIqqlC96vf6HD1ZsUcE3PYH/QGnrx3uYnqoQn4l6aMK/XtZi4BuIrNIZqVJkiapkhx37Y6AcDgcpsNU44Nz3OuoQn4jSVGFNw+ykID+SGaTzM5G2YiTFVM73AMConE2zjhj7XAXs4EqHE/4d12GKgwmsoiAZCpzSObMptPZdHZVSkCc5/ksnym8cPRUmiQzpvNcmedzTl4o7qlBsuZc1iVg9ChDFdYWshEBveV/FssFZ/l7Z7eowsfl0/JJ4UXj43A/ogpbT7IeAZNnWQ1VuJJNCBi8HKxeVhw9tRaq8JkfrV/WHDULxb1CFbbX7HX9yllfck9A/ipzSea+yeYEJO+yEFX4tim8b94VXjj/zzdU4Z/NmY/NB+fkTglYfMg8knmfsiUBD1+yCFX4+X309f3FOds/UYVR8fH2e6vwovExIuB5K/NJ5v8jWxGQ/chiVOF2d+pn98M5zt3WJFm83+/2O4UXjprabkzAWn+o56k9qvBfX4hMaM+SxOMAAAAASUVORK5CYII=);\\n background-repeat: repeat-x;\\n background-size: contain;\\n background-origin: border-box;\\n background-position: 0% 0%;\\n -webkit-animation: loading 20s linear infinite;\\n animation: loading 20s linear infinite;\\n pointer-events: none;\\n}\\n\\n.saving::after {\\n content: \\\"\\\\2026\\\";\\n}\\n\\n@-webkit-keyframes loading {\\n 0% {\\n background-position: 0% 0%;\\n }\\n\\n 100% {\\n background-position: 700% 0%;\\n }\\n}\\n\\n@keyframes loading {\\n 0% {\\n background-position: 0% 0%;\\n }\\n\\n 100% {\\n background-position: 700% 0%;\\n }\\n}\\n\\n.btn {\\n display: block;\\n position: relative;\\n width: 100%;\\n height: auto;\\n margin: 14px 0 0;\\n padding: 6px;\\n outline: 0;\\n cursor: pointer;\\n border: 2px solid rgb(14, 30, 37);\\n border-radius: 4px;\\n background-color: #2d3b41;\\n color: #fff;\\n -webkit-transition: background-color 0.2s ease;\\n transition: background-color 0.2s ease;\\n font-family: -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, Helvetica,\\n Arial, sans-serif, \\\"Apple Color Emoji\\\", \\\"Segoe UI Emoji\\\", \\\"Segoe UI Symbol\\\";\\n font-size: 14px;\\n font-weight: 500;\\n line-height: 24px;\\n text-align: center;\\n text-decoration: none;\\n white-space: nowrap;\\n}\\n\\n.btn:hover,\\n.btn:focus {\\n background-color: rgb(14, 30, 37);\\n text-decoration: none;\\n}\\n\\n.btnClose {\\n position: absolute;\\n top: 0;\\n right: 0;\\n margin: 0;\\n padding: 0;\\n border: 0;\\n width: 24px;\\n height: 24px;\\n border-radius: 50%;\\n margin: 6px;\\n background: #fff;\\n color: #a3a9ac;\\n}\\n\\n.btnClose::before {\\n content: \\\"\\\\D7\\\";\\n font-size: 25px;\\n line-height: 9px;\\n}\\n\\n.btnClose:hover,\\n.btnClose:focus {\\n background: #e9ebeb;\\n color: rgb(14, 30, 37);\\n}\\n\\n.header {\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n margin-top: -8px;\\n margin-bottom: 32px;\\n}\\n\\n.btnHeader {\\n font-size: 16px;\\n line-height: 24px;\\n background: #fff;\\n color: #a3a9ac;\\n border: 0;\\n border-bottom: 2px solid #e9ebeb;\\n border-radius: 4px 4px 0 0;\\n margin: 0;\\n}\\n\\n.btnHeader:focus,\\n.btnHeader.active {\\n background: #fff;\\n color: rgb(14, 30, 37);\\n border-color: rgb(14, 30, 37);\\n font-weight: 700;\\n}\\n\\n.btnHeader:not(:only-child):hover {\\n background-color: #e9ebeb;\\n color: rgb(14, 30, 37);\\n}\\n\\n.btnHeader:only-child {\\n cursor: auto;\\n}\\n\\n.btnLink {\\n display: block;\\n position: relative;\\n width: auto;\\n height: auto;\\n margin: 14px auto 0;\\n padding: 6px;\\n padding-bottom: 0;\\n outline: 0;\\n cursor: pointer;\\n color: rgb(14, 30, 37);\\n border: none;\\n border-bottom: 2px solid #e9ebeb;\\n border-radius: 0;\\n background-color: inherit;\\n -webkit-transition: border-color 0.2s ease;\\n transition: border-color 0.2s ease;\\n font-family: -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, Helvetica,\\n Arial, sans-serif, \\\"Apple Color Emoji\\\", \\\"Segoe UI Emoji\\\", \\\"Segoe UI Symbol\\\";\\n font-size: 14px;\\n font-weight: 500;\\n line-height: 24px;\\n text-align: center;\\n white-space: nowrap;\\n}\\n\\n.btnLink:hover,\\n.btnLink:focus {\\n background-color: inherit;\\n border-color: #a3a9ac;\\n}\\n\\n.form {\\n}\\n\\n.formGroup {\\n position: relative;\\n margin-top: 14px;\\n}\\n\\n.formControl {\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n display: block;\\n width: 100%;\\n height: 40px;\\n margin: 0;\\n padding: 6px 12px 6px 34px;\\n border: 2px solid #e9ebeb;\\n border-radius: 4px;\\n background: #fff;\\n color: rgb(14, 30, 37);\\n -webkit-box-shadow: none;\\n box-shadow: none;\\n font-size: 14px;\\n font-weight: 500;\\n line-height: 24px;\\n -webkit-transition: -webkit-box-shadow ease-in-out 0.15s;\\n transition: -webkit-box-shadow ease-in-out 0.15s;\\n transition: box-shadow ease-in-out 0.15s;\\n transition: box-shadow ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;\\n -webkit-appearance: none;\\n -moz-appearance: none;\\n}\\n\\n.inputFieldIcon {\\n position: absolute;\\n top: 12px;\\n left: 12px;\\n display: inline-block;\\n width: 16px;\\n height: 16px;\\n background-repeat: no-repeat;\\n background-position: center;\\n pointer-events: none;\\n}\\n\\n.inputFieldName {\\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDE0IDE0Ij4gIDxwYXRoIGZpbGw9IiNBM0E5QUMiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTgsNyBDNi4zNDMxNDU3NSw3IDUsNS42NTY4NTQyNSA1LDQgQzUsMi4zNDMxNDU3NSA2LjM0MzE0NTc1LDEgOCwxIEM5LjY1Njg1NDI1LDEgMTEsMi4zNDMxNDU3NSAxMSw0IEMxMSw1LjY1Njg1NDI1IDkuNjU2ODU0MjUsNyA4LDcgWiBNOCwxNSBMM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wxMSBMNiwxMSBDNiwxMi4xMDQ1Njk1IDYuODk1NDMwNSwxMyA4LDEzIEM5LjEwNDU2OTUsMTMgMTAsMTIuMTA0NTY5NSAxMCwxMSBaIE04LDExIEM3LjQ0NzcxNTI1LDExIDcsMTAuNTUyMjg0NyA3LDEwIEw3LDYgQzcsNS40NDc3MTUyNSA3LjQ0NzcxNTI1LDUgOCw1IEM4LjU1MjI4NDc1LDUgOSw1LjQ0NzcxNTI1IDksNiBMOSwxMCBDOSwxMC41NTIyODQ3IDguNTUyMjg0NzUsMTEgOCwxMSBaIiB0cmFuc2Zvcm09InJvdGF0ZSg0NSA4LjcwNyA2LjI5MykiLz48L3N2Zz4=);\\n}\\n\\n.formLabel {\\n}\\n\\n.hr {\\n border: 0;\\n border-top: 2px solid #e9ebeb;\\n margin: 32px 0 -1px;\\n text-align: center;\\n overflow: visible;\\n}\\n\\n.hr::before {\\n content: \\\"or\\\";\\n position: relative;\\n display: inline-block;\\n font-size: 12px;\\n font-weight: 800;\\n line-height: 1;\\n text-transform: uppercase;\\n background-color: #fff;\\n color: rgb(14, 30, 37);\\n padding: 4px;\\n top: -11px;\\n}\\n\\n.btnProvider {\\n padding-left: 40px;\\n padding-right: 40px;\\n}\\n\\n.btnProvider::before {\\n content: \\\"\\\";\\n position: absolute;\\n display: inline-block;\\n vertical-align: middle;\\n width: 32px;\\n height: 40px;\\n background-repeat: no-repeat;\\n background-position: left center;\\n top: -2px;\\n left: 14px;\\n}\\n\\n.providerGoogle {\\n background-color: #4285f4;\\n border-color: #366dc7;\\n}\\n\\n.providerGoogle:hover,\\n.providerGoogle:focus {\\n background-color: #366dc7;\\n}\\n\\n.providerGitHub {\\n background-color: #333;\\n border-color: #000;\\n}\\n\\n.providerGitHub:hover,\\n.providerGitHub:focus {\\n background-color: #000;\\n}\\n\\n.providerGitLab {\\n background-color: #e24329;\\n border-color: #b03320;\\n}\\n\\n.providerGitLab:hover,\\n.providerGitLab:focus {\\n background-color: #b03320;\\n}\\n\\n.providerBitbucket {\\n background-color: #205081;\\n border-color: #14314f;\\n}\\n\\n.providerBitbucket:hover,\\n.providerBitbucket:focus {\\n background-color: #14314f;\\n}\\n\\n.providerGoogle:before {\\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDEzIDEyIj4gIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEuNDg4IC0yKSI+ICAgIDxyZWN0IHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIvPiAgICA8cGF0aCBmaWxsPSIjRkZGRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iIGQ9Ik0wLjY1MjczNDM3NSwzLjI5NTI4MjQ0IEMwLjIzNzk4NDM3NSw0LjEwNTgzMjA2IDIuODQyMTcwOTRlLTE0LDUuMDE2MDQ1OCAyLjg0MjE3MDk0ZS0xNCw1Ljk3OTM4OTMxIEMyLjg0MjE3MDk0ZS0xNCw2Ljk0MjczMjgyIDAuMjM3OTg0Mzc1LDcuODUyOTAwNzYgMC42NTI3MzQzNzUsOC42NjM0NTAzOCBDMS42NTkwNDY4NywxMC42MTY3MDIzIDMuNzI2MDkzNzUsMTEuOTU4Nzc4NiA2LjExOTUzMTI1LDExLjk1ODc3ODYgQzcuNzcxNzgxMjUsMTEuOTU4Nzc4NiA5LjE1ODg1OTM3LDExLjQyNzI1MTkgMTAuMTcyMDE1NiwxMC41MTA0NDI3IEMxMS4zMjc5MDYyLDkuNDY3MzU4NzggMTEuOTk0MjgxMiw3LjkzMjY0MTIyIDExLjk5NDI4MTIsNi4xMTIyNTk1NCBDMTEuOTk0MjgxMiw1LjYyMDYyNTk1IDExLjk1MzQ1MzEsNS4yNjE4NjI2IDExLjg2NTA5MzcsNC44ODk4MTY3OSBMNi4xMTk1M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1NTI1IDExLjcyMTQwMzUsMTQuMTU1NzA3OSBDMTEuNzIxNDAzNSwxNC4wMTk1OTU2IDExLjkyNzI2NjcsMTIuOTk4NzUxNiAxMi4yMDE3NTE4LDExLjU2OTU2OTIgTDEyLjIwMTc1MTgsMTEuNTAxNTEzIEMxMi4yNzAzNzI5LDExLjM2NTQgMTIuMjAxNzUxOCwxMS4yMjkyODc2IDEyLjA2NDUwOTYsMTEuMjI5Mjg3NiBMMTIuMDY0NTA5NiwxMS4yMjkyODc2IFoiLz4gICAgICA8ZWxsaXBzZSBjeD0iNyIgY3k9IjcuNjkiIHJ4PSIxLjA5OCIgcnk9IjEuMDg5Ii8+ICAgIDwvZz4gIDwvZz48L3N2Zz4=);\\n}\\n\\n.callOut {\\n display: block;\\n padding: 32px;\\n font-size: 14px;\\n font-weight: 500;\\n text-decoration: none;\\n color: #a3a9ac;\\n text-align: center;\\n}\\n\\n.callOut:after {\\n content: \\\" \\\\2665\\\";\\n -webkit-transition: color 4s ease;\\n transition: color 4s ease;\\n}\\n\\n.callOut:hover:after {\\n color: red;\\n}\\n\\n.callOut .netlifyLogo {\\n display: block;\\n margin: auto;\\n width: 32px;\\n height: 32px;\\n margin-bottom: 8px;\\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmlld0JveD0iMCAwIDMyIDMyIj4gIDxkZWZzPiAgICA8cmFkaWFsR3JhZGllbnQgaWQ9ImEiIGN5PSIwJSIgcj0iMTAwJSIgZng9IjUwJSIgZnk9IjAlIiBncmFkaWVudFRyYW5zZm9ybT0ibWF0cml4KDAgMSAtMS4xNTE4NSAwIC41IC0uNSkiPiAgICAgIDxzdG9wIHN0b3AtY29sb3I9IiMyMEM2QjciIG9mZnNldD0iMCUiLz4gICAgICA8c3RvcCBzdG9wLWNvbG9yPSIjNEQ5QUJGIiBvZmZzZXQ9IjEwMCU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TEgQzcuMzkyNCwxOC4zMDA1NzEzIDcuMzc4Nzg1OTQsMTguMzE0MDI3NSA3LjM1MTU1NzgzLDE4LjM0MDkzOTkgTDMuNjM0OTIsMTkuOTE1MzE2NSBDMy42MzQ5MiwxOS45MTUzMTY1IDMuNjIxMzA1OTQsMTkuOTE1MzE2NSAzLjYwNzY5MTg4LDE5LjkwMTg2MDMgTDAuNjI2MjEzMTg1LDE2Ljk0MTQ5NDEgQzAuNjEyNTk5MTI3LDE2LjkyODAzNzggMC41OTg5ODUwNjksMTYuOTAxMTI1NCAwLjYxMjU5OTEyNywxNi44ODc2NjkyIEMwLjYyNjIxMzE4NSwxNi44NzQyMTMgMC42Mzk4MjcyNDMsMTYuODYwNzU2OCAwLjY2NzA1NTM1OSwxNi44NjA3NTY4IEw3LjM1MTU1NzgzLDE4LjI0Njc0NjQgWiIvPjwvc3ZnPg==);\\n}\\n\\n.visuallyHidden {\\n border: 0;\\n clip: rect(0 0 0 0);\\n height: 1px;\\n margin: -1px;\\n overflow: hidden;\\n padding: 0;\\n position: absolute;\\n width: 1px;\\n #fff-space: nowrap;\\n}\\n\\n.subheader {\\n margin-top: 2em;\\n border-top: 1px solid rgb(14, 30, 37);\\n}\\n\\n.subheader h3 {\\n padding-top: 1em;\\n text-align: center;\\n }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n/* 27 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\n/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\nmodule.exports = function (useSourceMap) {\n\tvar list = [];\n\n\t// return the list of modules as css string\n\tlist.toString = function toString() {\n\t\treturn this.map(function (item) {\n\t\t\tvar content = cssWithMappingToString(item, useSourceMap);\n\t\t\tif (item[2]) {\n\t\t\t\treturn \"@media \" + item[2] + \"{\" + content + \"}\";\n\t\t\t} else {\n\t\t\t\treturn content;\n\t\t\t}\n\t\t}).join(\"\");\n\t};\n\n\t// import a list of modules into the list\n\tlist.i = function (modules, mediaQuery) {\n\t\tif (typeof modules === \"string\") modules = [[null, modules, \"\"]];\n\t\tvar alreadyImportedModules = {};\n\t\tfor (var i = 0; i < this.length; i++) {\n\t\t\tvar id = this[i][0];\n\t\t\tif (typeof id === \"number\") alreadyImportedModules[id] = true;\n\t\t}\n\t\tfor (i = 0; i < modules.length; i++) {\n\t\t\tvar item = modules[i];\n\t\t\t// skip already imported module\n\t\t\t// this implementation is not 100% perfect for weird media query combinations\n\t\t\t// when a module is imported multiple times with different media queries.\n\t\t\t// I hope this will never occur (Hey this way we have smaller bundles)\n\t\t\tif (typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\n\t\t\t\tif (mediaQuery && !item[2]) {\n\t\t\t\t\titem[2] = mediaQuery;\n\t\t\t\t} else if (mediaQuery) {\n\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\n\t\t\t\t}\n\t\t\t\tlist.push(item);\n\t\t\t}\n\t\t}\n\t};\n\treturn list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n\tvar content = item[1] || '';\n\tvar cssMapping = item[3];\n\tif (!cssMapping) {\n\t\treturn content;\n\t}\n\n\tif (useSourceMap && typeof btoa === 'function') {\n\t\tvar sourceMapping = toComment(cssMapping);\n\t\tvar sourceURLs = cssMapping.sources.map(function (source) {\n\t\t\treturn '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */';\n\t\t});\n\n\t\treturn [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n\t}\n\n\treturn [content].join('\\n');\n}\n\n// Adapted from convert-source-map (MIT)\nfunction toComment(sourceMap) {\n\t// eslint-disable-next-line no-undef\n\tvar base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n\tvar data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;\n\n\treturn '/*# ' + data + ' */';\n}\n\n/***/ })\n/******/ ])[\"default\"];\n});\n\n\n// WEBPACK FOOTER //\n// netlify-identity.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 9);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 324f32af4729b5383143","var VNode = function VNode() {};\n\nvar options = {};\n\nvar stack = [];\n\nvar EMPTY_CHILDREN = [];\n\nfunction h(nodeName, attributes) {\n\tvar children = EMPTY_CHILDREN,\n\t lastSimple,\n\t child,\n\t simple,\n\t i;\n\tfor (i = arguments.length; i-- > 2;) {\n\t\tstack.push(arguments[i]);\n\t}\n\tif (attributes && attributes.children != null) {\n\t\tif (!stack.length) stack.push(attributes.children);\n\t\tdelete attributes.children;\n\t}\n\twhile (stack.length) {\n\t\tif ((child = stack.pop()) && child.pop !== undefined) {\n\t\t\tfor (i = child.length; i--;) {\n\t\t\t\tstack.push(child[i]);\n\t\t\t}\n\t\t} else {\n\t\t\tif (typeof child === 'boolean') child = null;\n\n\t\t\tif (simple = typeof nodeName !== 'function') {\n\t\t\t\tif (child == null) child = '';else if (typeof child === 'number') child = String(child);else if (typeof child !== 'string') simple = false;\n\t\t\t}\n\n\t\t\tif (simple && lastSimple) {\n\t\t\t\tchildren[children.length - 1] += child;\n\t\t\t} else if (children === EMPTY_CHILDREN) {\n\t\t\t\tchildren = [child];\n\t\t\t} else {\n\t\t\t\tchildren.push(child);\n\t\t\t}\n\n\t\t\tlastSimple = simple;\n\t\t}\n\t}\n\n\tvar p = new VNode();\n\tp.nodeName = nodeName;\n\tp.children = children;\n\tp.attributes = attributes == null ? undefined : attributes;\n\tp.key = attributes == null ? undefined : attributes.key;\n\n\tif (options.vnode !== undefined) options.vnode(p);\n\n\treturn p;\n}\n\nfunction extend(obj, props) {\n for (var i in props) {\n obj[i] = props[i];\n }return obj;\n}\n\nvar defer = typeof Promise == 'function' ? Promise.resolve().then.bind(Promise.resolve()) : setTimeout;\n\nfunction cloneElement(vnode, props) {\n return h(vnode.nodeName, extend(extend({}, vnode.attributes), props), arguments.length > 2 ? [].slice.call(arguments, 2) : vnode.children);\n}\n\nvar IS_NON_DIMENSIONAL = /acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i;\n\nvar items = [];\n\nfunction enqueueRender(component) {\n\tif (!component._dirty && (component._dirty = true) && items.push(component) == 1) {\n\t\t(options.debounceRendering || defer)(rerender);\n\t}\n}\n\nfunction rerender() {\n\tvar p,\n\t list = items;\n\titems = [];\n\twhile (p = list.pop()) {\n\t\tif (p._dirty) renderComponent(p);\n\t}\n}\n\nfunction isSameNodeType(node, vnode, hydrating) {\n\tif (typeof vnode === 'string' || typeof vnode === 'number') {\n\t\treturn node.splitText !== undefined;\n\t}\n\tif (typeof vnode.nodeName === 'string') {\n\t\treturn !node._componentConstructor && isNamedNode(node, vnode.nodeName);\n\t}\n\treturn hydrating || node._componentConstructor === vnode.nodeName;\n}\n\nfunction isNamedNode(node, nodeName) {\n\treturn node.normalizedNodeName === nodeName || node.nodeName.toLowerCase() === nodeName.toLowerCase();\n}\n\nfunction getNodeProps(vnode) {\n\tvar props = extend({}, vnode.attributes);\n\tprops.children = vnode.children;\n\n\tvar defaultProps = vnode.nodeName.defaultProps;\n\tif (defaultProps !== undefined) {\n\t\tfor (var i in defaultProps) {\n\t\t\tif (props[i] === undefined) {\n\t\t\t\tprops[i] = defaultProps[i];\n\t\t\t}\n\t\t}\n\t}\n\n\treturn props;\n}\n\nfunction createNode(nodeName, isSvg) {\n\tvar node = isSvg ? document.createElementNS('http://www.w3.org/2000/svg', nodeName) : document.createElement(nodeName);\n\tnode.normalizedNodeName = nodeName;\n\treturn node;\n}\n\nfunction removeNode(node) {\n\tvar parentNode = node.parentNode;\n\tif (parentNode) parentNode.removeChild(node);\n}\n\nfunction setAccessor(node, name, old, value, isSvg) {\n\tif (name === 'className') name = 'class';\n\n\tif (name === 'key') {} else if (name === 'ref') {\n\t\tif (old) old(null);\n\t\tif (value) value(node);\n\t} else if (name === 'class' && !isSvg) {\n\t\tnode.className = value || '';\n\t} else if (name === 'style') {\n\t\tif (!value || typeof value === 'string' || typeof old === 'string') {\n\t\t\tnode.style.cssText = value || '';\n\t\t}\n\t\tif (value && typeof value === 'object') {\n\t\t\tif (typeof old !== 'string') {\n\t\t\t\tfor (var i in old) {\n\t\t\t\t\tif (!(i in value)) node.style[i] = '';\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (var i in value) {\n\t\t\t\tnode.style[i] = typeof value[i] === 'number' && IS_NON_DIMENSIONAL.test(i) === false ? value[i] + 'px' : value[i];\n\t\t\t}\n\t\t}\n\t} else if (name === 'dangerouslySetInnerHTML') {\n\t\tif (value) node.innerHTML = value.__html || '';\n\t} else if (name[0] == 'o' && name[1] == 'n') {\n\t\tvar useCapture = name !== (name = name.replace(/Capture$/, ''));\n\t\tname = name.toLowerCase().substring(2);\n\t\tif (value) {\n\t\t\tif (!old) node.addEventListener(name, eventProxy, useCapture);\n\t\t} else {\n\t\t\tnode.removeEventListener(name, eventProxy, useCapture);\n\t\t}\n\t\t(node._listeners || (node._listeners = {}))[name] = value;\n\t} else if (name !== 'list' && name !== 'type' && !isSvg && name in node) {\n\t\ttry {\n\t\t\tnode[name] = value == null ? '' : value;\n\t\t} catch (e) {}\n\t\tif ((value == null || value === false) && name != 'spellcheck') node.removeAttribute(name);\n\t} else {\n\t\tvar ns = isSvg && name !== (name = name.replace(/^xlink:?/, ''));\n\n\t\tif (value == null || value === false) {\n\t\t\tif (ns) node.removeAttributeNS('http://www.w3.org/1999/xlink', name.toLowerCase());else node.removeAttribute(name);\n\t\t} else if (typeof value !== 'function') {\n\t\t\tif (ns) node.setAttributeNS('http://www.w3.org/1999/xlink', name.toLowerCase(), value);else node.setAttribute(name, value);\n\t\t}\n\t}\n}\n\nfunction eventProxy(e) {\n\treturn this._listeners[e.type](options.event && options.event(e) || e);\n}\n\nvar mounts = [];\n\nvar diffLevel = 0;\n\nvar isSvgMode = false;\n\nvar hydrating = false;\n\nfunction flushMounts() {\n\tvar c;\n\twhile (c = mounts.pop()) {\n\t\tif (options.afterMount) options.afterMount(c);\n\t\tif (c.componentDidMount) c.componentDidMount();\n\t}\n}\n\nfunction diff(dom, vnode, context, mountAll, parent, componentRoot) {\n\tif (!diffLevel++) {\n\t\tisSvgMode = parent != null && parent.ownerSVGElement !== undefined;\n\n\t\thydrating = dom != null && !('__preactattr_' in dom);\n\t}\n\n\tvar ret = idiff(dom, vnode, context, mountAll, componentRoot);\n\n\tif (parent && ret.parentNode !== parent) parent.appendChild(ret);\n\n\tif (! --diffLevel) {\n\t\thydrating = false;\n\n\t\tif (!componentRoot) flushMounts();\n\t}\n\n\treturn ret;\n}\n\nfunction idiff(dom, vnode, context, mountAll, componentRoot) {\n\tvar out = dom,\n\t prevSvgMode = isSvgMode;\n\n\tif (vnode == null || typeof vnode === 'boolean') vnode = '';\n\n\tif (typeof vnode === 'string' || typeof vnode === 'number') {\n\t\tif (dom && dom.splitText !== undefined && dom.parentNode && (!dom._component || componentRoot)) {\n\t\t\tif (dom.nodeValue != vnode) {\n\t\t\t\tdom.nodeValue = vnode;\n\t\t\t}\n\t\t} else {\n\t\t\tout = document.createTextNode(vnode);\n\t\t\tif (dom) {\n\t\t\t\tif (dom.parentNode) dom.parentNode.replaceChild(out, dom);\n\t\t\t\trecollectNodeTree(dom, true);\n\t\t\t}\n\t\t}\n\n\t\tout['__preactattr_'] = true;\n\n\t\treturn out;\n\t}\n\n\tvar vnodeName = vnode.nodeName;\n\tif (typeof vnodeName === 'function') {\n\t\treturn buildComponentFromVNode(dom, vnode, context, mountAll);\n\t}\n\n\tisSvgMode = vnodeName === 'svg' ? true : vnodeName === 'foreignObject' ? false : isSvgMode;\n\n\tvnodeName = String(vnodeName);\n\tif (!dom || !isNamedNode(dom, vnodeName)) {\n\t\tout = createNode(vnodeName, isSvgMode);\n\n\t\tif (dom) {\n\t\t\twhile (dom.firstChild) {\n\t\t\t\tout.appendChild(dom.firstChild);\n\t\t\t}\n\t\t\tif (dom.parentNode) dom.parentNode.replaceChild(out, dom);\n\n\t\t\trecollectNodeTree(dom, true);\n\t\t}\n\t}\n\n\tvar fc = out.firstChild,\n\t props = out['__preactattr_'],\n\t vchildren = vnode.children;\n\n\tif (props == null) {\n\t\tprops = out['__preactattr_'] = {};\n\t\tfor (var a = out.attributes, i = a.length; i--;) {\n\t\t\tprops[a[i].name] = a[i].value;\n\t\t}\n\t}\n\n\tif (!hydrating && vchildren && vchildren.length === 1 && typeof vchildren[0] === 'string' && fc != null && fc.splitText !== undefined && fc.nextSibling == null) {\n\t\tif (fc.nodeValue != vchildren[0]) {\n\t\t\tfc.nodeValue = vchildren[0];\n\t\t}\n\t} else if (vchildren && vchildren.length || fc != null) {\n\t\t\tinnerDiffNode(out, vchildren, context, mountAll, hydrating || props.dangerouslySetInnerHTML != null);\n\t\t}\n\n\tdiffAttributes(out, vnode.attributes, props);\n\n\tisSvgMode = prevSvgMode;\n\n\treturn out;\n}\n\nfunction innerDiffNode(dom, vchildren, context, mountAll, isHydrating) {\n\tvar originalChildren = dom.childNodes,\n\t children = [],\n\t keyed = {},\n\t keyedLen = 0,\n\t min = 0,\n\t len = originalChildren.length,\n\t childrenLen = 0,\n\t vlen = vchildren ? vchildren.length : 0,\n\t j,\n\t c,\n\t f,\n\t vchild,\n\t child;\n\n\tif (len !== 0) {\n\t\tfor (var i = 0; i < len; i++) {\n\t\t\tvar _child = originalChildren[i],\n\t\t\t props = _child['__preactattr_'],\n\t\t\t key = vlen && props ? _child._component ? _child._component.__key : props.key : null;\n\t\t\tif (key != null) {\n\t\t\t\tkeyedLen++;\n\t\t\t\tkeyed[key] = _child;\n\t\t\t} else if (props || (_child.splitText !== undefined ? isHydrating ? _child.nodeValue.trim() : true : isHydrating)) {\n\t\t\t\tchildren[childrenLen++] = _child;\n\t\t\t}\n\t\t}\n\t}\n\n\tif (vlen !== 0) {\n\t\tfor (var i = 0; i < vlen; i++) {\n\t\t\tvchild = vchildren[i];\n\t\t\tchild = null;\n\n\t\t\tvar key = vchild.key;\n\t\t\tif (key != null) {\n\t\t\t\tif (keyedLen && keyed[key] !== undefined) {\n\t\t\t\t\tchild = keyed[key];\n\t\t\t\t\tkeyed[key] = undefined;\n\t\t\t\t\tkeyedLen--;\n\t\t\t\t}\n\t\t\t} else if (min < childrenLen) {\n\t\t\t\t\tfor (j = min; j < childrenLen; j++) {\n\t\t\t\t\t\tif (children[j] !== undefined && isSameNodeType(c = children[j], vchild, isHydrating)) {\n\t\t\t\t\t\t\tchild = c;\n\t\t\t\t\t\t\tchildren[j] = undefined;\n\t\t\t\t\t\t\tif (j === childrenLen - 1) childrenLen--;\n\t\t\t\t\t\t\tif (j === min) min++;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\tchild = idiff(child, vchild, context, mountAll);\n\n\t\t\tf = originalChildren[i];\n\t\t\tif (child && child !== dom && child !== f) {\n\t\t\t\tif (f == null) {\n\t\t\t\t\tdom.appendChild(child);\n\t\t\t\t} else if (child === f.nextSibling) {\n\t\t\t\t\tremoveNode(f);\n\t\t\t\t} else {\n\t\t\t\t\tdom.insertBefore(child, f);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tif (keyedLen) {\n\t\tfor (var i in keyed) {\n\t\t\tif (keyed[i] !== undefined) recollectNodeTree(keyed[i], false);\n\t\t}\n\t}\n\n\twhile (min <= childrenLen) {\n\t\tif ((child = children[childrenLen--]) !== undefined) recollectNodeTree(child, false);\n\t}\n}\n\nfunction recollectNodeTree(node, unmountOnly) {\n\tvar component = node._component;\n\tif (component) {\n\t\tunmountComponent(component);\n\t} else {\n\t\tif (node['__preactattr_'] != null && node['__preactattr_'].ref) node['__preactattr_'].ref(null);\n\n\t\tif (unmountOnly === false || node['__preactattr_'] == null) {\n\t\t\tremoveNode(node);\n\t\t}\n\n\t\tremoveChildren(node);\n\t}\n}\n\nfunction removeChildren(node) {\n\tnode = node.lastChild;\n\twhile (node) {\n\t\tvar next = node.previousSibling;\n\t\trecollectNodeTree(node, true);\n\t\tnode = next;\n\t}\n}\n\nfunction diffAttributes(dom, attrs, old) {\n\tvar name;\n\n\tfor (name in old) {\n\t\tif (!(attrs && attrs[name] != null) && old[name] != null) {\n\t\t\tsetAccessor(dom, name, old[name], old[name] = undefined, isSvgMode);\n\t\t}\n\t}\n\n\tfor (name in attrs) {\n\t\tif (name !== 'children' && name !== 'innerHTML' && (!(name in old) || attrs[name] !== (name === 'value' || name === 'checked' ? dom[name] : old[name]))) {\n\t\t\tsetAccessor(dom, name, old[name], old[name] = attrs[name], isSvgMode);\n\t\t}\n\t}\n}\n\nvar recyclerComponents = [];\n\nfunction createComponent(Ctor, props, context) {\n\tvar inst,\n\t i = recyclerComponents.length;\n\n\tif (Ctor.prototype && Ctor.prototype.render) {\n\t\tinst = new Ctor(props, context);\n\t\tComponent.call(inst, props, context);\n\t} else {\n\t\tinst = new Component(props, context);\n\t\tinst.constructor = Ctor;\n\t\tinst.render = doRender;\n\t}\n\n\twhile (i--) {\n\t\tif (recyclerComponents[i].constructor === Ctor) {\n\t\t\tinst.nextBase = recyclerComponents[i].nextBase;\n\t\t\trecyclerComponents.splice(i, 1);\n\t\t\treturn inst;\n\t\t}\n\t}\n\n\treturn inst;\n}\n\nfunction doRender(props, state, context) {\n\treturn this.constructor(props, context);\n}\n\nfunction setComponentProps(component, props, renderMode, context, mountAll) {\n\tif (component._disable) return;\n\tcomponent._disable = true;\n\n\tcomponent.__ref = props.ref;\n\tcomponent.__key = props.key;\n\tdelete props.ref;\n\tdelete props.key;\n\n\tif (typeof component.constructor.getDerivedStateFromProps === 'undefined') {\n\t\tif (!component.base || mountAll) {\n\t\t\tif (component.componentWillMount) component.componentWillMount();\n\t\t} else if (component.componentWillReceiveProps) {\n\t\t\tcomponent.componentWillReceiveProps(props, context);\n\t\t}\n\t}\n\n\tif (context && context !== component.context) {\n\t\tif (!component.prevContext) component.prevContext = component.context;\n\t\tcomponent.context = context;\n\t}\n\n\tif (!component.prevProps) component.prevProps = component.props;\n\tcomponent.props = props;\n\n\tcomponent._disable = false;\n\n\tif (renderMode !== 0) {\n\t\tif (renderMode === 1 || options.syncComponentUpdates !== false || !component.base) {\n\t\t\trenderComponent(component, 1, mountAll);\n\t\t} else {\n\t\t\tenqueueRender(component);\n\t\t}\n\t}\n\n\tif (component.__ref) component.__ref(component);\n}\n\nfunction renderComponent(component, renderMode, mountAll, isChild) {\n\tif (component._disable) return;\n\n\tvar props = component.props,\n\t state = component.state,\n\t context = component.context,\n\t previousProps = component.prevProps || props,\n\t previousState = component.prevState || state,\n\t previousContext = component.prevContext || context,\n\t isUpdate = component.base,\n\t nextBase = component.nextBase,\n\t initialBase = isUpdate || nextBase,\n\t initialChildComponent = component._component,\n\t skip = false,\n\t snapshot = previousContext,\n\t rendered,\n\t inst,\n\t cbase;\n\n\tif (component.constructor.getDerivedStateFromProps) {\n\t\tstate = extend(extend({}, state), component.constructor.getDerivedStateFromProps(props, state));\n\t\tcomponent.state = state;\n\t}\n\n\tif (isUpdate) {\n\t\tcomponent.props = previousProps;\n\t\tcomponent.state = previousState;\n\t\tcomponent.context = previousContext;\n\t\tif (renderMode !== 2 && component.shouldComponentUpdate && component.shouldComponentUpdate(props, state, context) === false) {\n\t\t\tskip = true;\n\t\t} else if (component.componentWillUpdate) {\n\t\t\tcomponent.componentWillUpdate(props, state, context);\n\t\t}\n\t\tcomponent.props = props;\n\t\tcomponent.state = state;\n\t\tcomponent.context = context;\n\t}\n\n\tcomponent.prevProps = component.prevState = component.prevContext = component.nextBase = null;\n\tcomponent._dirty = false;\n\n\tif (!skip) {\n\t\trendered = component.render(props, state, context);\n\n\t\tif (component.getChildContext) {\n\t\t\tcontext = extend(extend({}, context), component.getChildContext());\n\t\t}\n\n\t\tif (isUpdate && component.getSnapshotBeforeUpdate) {\n\t\t\tsnapshot = component.getSnapshotBeforeUpdate(previousProps, previousState);\n\t\t}\n\n\t\tvar childComponent = rendered && rendered.nodeName,\n\t\t toUnmount,\n\t\t base;\n\n\t\tif (typeof childComponent === 'function') {\n\n\t\t\tvar childProps = getNodeProps(rendered);\n\t\t\tinst = initialChildComponent;\n\n\t\t\tif (inst && inst.constructor === childComponent && childProps.key == inst.__key) {\n\t\t\t\tsetComponentProps(inst, childProps, 1, context, false);\n\t\t\t} else {\n\t\t\t\ttoUnmount = inst;\n\n\t\t\t\tcomponent._component = inst = createComponent(childComponent, childProps, context);\n\t\t\t\tinst.nextBase = inst.nextBase || nextBase;\n\t\t\t\tinst._parentComponent = component;\n\t\t\t\tsetComponentProps(inst, childProps, 0, context, false);\n\t\t\t\trenderComponent(inst, 1, mountAll, true);\n\t\t\t}\n\n\t\t\tbase = inst.base;\n\t\t} else {\n\t\t\tcbase = initialBase;\n\n\t\t\ttoUnmount = initialChildComponent;\n\t\t\tif (toUnmount) {\n\t\t\t\tcbase = component._component = null;\n\t\t\t}\n\n\t\t\tif (initialBase || renderMode === 1) {\n\t\t\t\tif (cbase) cbase._component = null;\n\t\t\t\tbase = diff(cbase, rendered, context, mountAll || !isUpdate, initialBase && initialBase.parentNode, true);\n\t\t\t}\n\t\t}\n\n\t\tif (initialBase && base !== initialBase && inst !== initialChildComponent) {\n\t\t\tvar baseParent = initialBase.parentNode;\n\t\t\tif (baseParent && base !== baseParent) {\n\t\t\t\tbaseParent.replaceChild(base, initialBase);\n\n\t\t\t\tif (!toUnmount) {\n\t\t\t\t\tinitialBase._component = null;\n\t\t\t\t\trecollectNodeTree(initialBase, false);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (toUnmount) {\n\t\t\tunmountComponent(toUnmount);\n\t\t}\n\n\t\tcomponent.base = base;\n\t\tif (base && !isChild) {\n\t\t\tvar componentRef = component,\n\t\t\t t = component;\n\t\t\twhile (t = t._parentComponent) {\n\t\t\t\t(componentRef = t).base = base;\n\t\t\t}\n\t\t\tbase._component = componentRef;\n\t\t\tbase._componentConstructor = componentRef.constructor;\n\t\t}\n\t}\n\n\tif (!isUpdate || mountAll) {\n\t\tmounts.unshift(component);\n\t} else if (!skip) {\n\n\t\tif (component.componentDidUpdate) {\n\t\t\tcomponent.componentDidUpdate(previousProps, previousState, snapshot);\n\t\t}\n\t\tif (options.afterUpdate) options.afterUpdate(component);\n\t}\n\n\twhile (component._renderCallbacks.length) {\n\t\tcomponent._renderCallbacks.pop().call(component);\n\t}if (!diffLevel && !isChild) flushMounts();\n}\n\nfunction buildComponentFromVNode(dom, vnode, context, mountAll) {\n\tvar c = dom && dom._component,\n\t originalComponent = c,\n\t oldDom = dom,\n\t isDirectOwner = c && dom._componentConstructor === vnode.nodeName,\n\t isOwner = isDirectOwner,\n\t props = getNodeProps(vnode);\n\twhile (c && !isOwner && (c = c._parentComponent)) {\n\t\tisOwner = c.constructor === vnode.nodeName;\n\t}\n\n\tif (c && isOwner && (!mountAll || c._component)) {\n\t\tsetComponentProps(c, props, 3, context, mountAll);\n\t\tdom = c.base;\n\t} else {\n\t\tif (originalComponent && !isDirectOwner) {\n\t\t\tunmountComponent(originalComponent);\n\t\t\tdom = oldDom = null;\n\t\t}\n\n\t\tc = createComponent(vnode.nodeName, props, context);\n\t\tif (dom && !c.nextBase) {\n\t\t\tc.nextBase = dom;\n\n\t\t\toldDom = null;\n\t\t}\n\t\tsetComponentProps(c, props, 1, context, mountAll);\n\t\tdom = c.base;\n\n\t\tif (oldDom && dom !== oldDom) {\n\t\t\toldDom._component = null;\n\t\t\trecollectNodeTree(oldDom, false);\n\t\t}\n\t}\n\n\treturn dom;\n}\n\nfunction unmountComponent(component) {\n\tif (options.beforeUnmount) options.beforeUnmount(component);\n\n\tvar base = component.base;\n\n\tcomponent._disable = true;\n\n\tif (component.componentWillUnmount) component.componentWillUnmount();\n\n\tcomponent.base = null;\n\n\tvar inner = component._component;\n\tif (inner) {\n\t\tunmountComponent(inner);\n\t} else if (base) {\n\t\tif (base['__preactattr_'] && base['__preactattr_'].ref) base['__preactattr_'].ref(null);\n\n\t\tcomponent.nextBase = base;\n\n\t\tremoveNode(base);\n\t\trecyclerComponents.push(component);\n\n\t\tremoveChildren(base);\n\t}\n\n\tif (component.__ref) component.__ref(null);\n}\n\nfunction Component(props, context) {\n\tthis._dirty = true;\n\n\tthis.context = context;\n\n\tthis.props = props;\n\n\tthis.state = this.state || {};\n\n\tthis._renderCallbacks = [];\n}\n\nextend(Component.prototype, {\n\tsetState: function setState(state, callback) {\n\t\tif (!this.prevState) this.prevState = this.state;\n\t\tthis.state = extend(extend({}, this.state), typeof state === 'function' ? state(this.state, this.props) : state);\n\t\tif (callback) this._renderCallbacks.push(callback);\n\t\tenqueueRender(this);\n\t},\n\tforceUpdate: function forceUpdate(callback) {\n\t\tif (callback) this._renderCallbacks.push(callback);\n\t\trenderComponent(this, 2);\n\t},\n\trender: function render() {}\n});\n\nfunction render(vnode, parent, merge) {\n return diff(merge, vnode, {}, false, parent, false);\n}\n\nvar preact = {\n\th: h,\n\tcreateElement: h,\n\tcloneElement: cloneElement,\n\tComponent: Component,\n\trender: render,\n\trerender: rerender,\n\toptions: options\n};\n\nexport default preact;\nexport { h, h as createElement, cloneElement, Component, render, rerender, options };\n//# sourceMappingURL=preact.mjs.map\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ../node_modules/preact/dist/preact.mjs\n// module id = 0\n// module chunks = 0","/** MobX - (c) Michel Weststrate 2015, 2016 - MIT Licensed */\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n\r\nfunction __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\n\n/**\n * Anything that can be used to _store_ state is an Atom in mobx. Atoms have two important jobs\n *\n * 1) detect when they are being _used_ and report this (using reportObserved). This allows mobx to make the connection between running functions and the data they used\n * 2) they should notify mobx whenever they have _changed_. This way mobx can re-run any functions (derivations) that are using this atom.\n */\nvar BaseAtom = /** @class */ (function () {\n /**\n * Create a new atom. For debugging purposes it is recommended to give it a name.\n * The onBecomeObserved and onBecomeUnobserved callbacks can be used for resource management.\n */\n function BaseAtom(name) {\n if (name === void 0) { name = \"Atom@\" + getNextId(); }\n this.name = name;\n this.isPendingUnobservation = true; // for effective unobserving. BaseAtom has true, for extra optimization, so its onBecomeUnobserved never gets called, because it's not needed\n this.observers = [];\n this.observersIndexes = {};\n this.diffValue = 0;\n this.lastAccessedBy = 0;\n this.lowestObserverState = IDerivationState.NOT_TRACKING;\n }\n BaseAtom.prototype.onBecomeUnobserved = function () {\n // noop\n };\n /**\n * Invoke this method to notify mobx that your atom has been used somehow.\n */\n BaseAtom.prototype.reportObserved = function () {\n reportObserved(this);\n };\n /**\n * Invoke this method _after_ this method has changed to signal mobx that all its observers should invalidate.\n */\n BaseAtom.prototype.reportChanged = function () {\n startBatch();\n propagateChanged(this);\n endBatch();\n };\n BaseAtom.prototype.toString = function () {\n return this.name;\n };\n return BaseAtom;\n}());\nvar Atom = /** @class */ (function (_super) {\n __extends(Atom, _super);\n /**\n * Create a new atom. For debugging purposes it is recommended to give it a name.\n * The onBecomeObserved and onBecomeUnobserved callbacks can be used for resource management.\n */\n function Atom(name, onBecomeObservedHandler, onBecomeUnobservedHandler) {\n if (name === void 0) { name = \"Atom@\" + getNextId(); }\n if (onBecomeObservedHandler === void 0) { onBecomeObservedHandler = noop; }\n if (onBecomeUnobservedHandler === void 0) { onBecomeUnobservedHandler = noop; }\n var _this = _super.call(this, name) || this;\n _this.name = name;\n _this.onBecomeObservedHandler = onBecomeObservedHandler;\n _this.onBecomeUnobservedHandler = onBecomeUnobservedHandler;\n _this.isPendingUnobservation = false; // for effective unobserving.\n _this.isBeingTracked = false;\n return _this;\n }\n Atom.prototype.reportObserved = function () {\n startBatch();\n _super.prototype.reportObserved.call(this);\n if (!this.isBeingTracked) {\n this.isBeingTracked = true;\n this.onBecomeObservedHandler();\n }\n endBatch();\n return !!globalState.trackingDerivation;\n // return doesn't really give useful info, because it can be as well calling computed which calls atom (no reactions)\n // also it could not trigger when calculating reaction dependent on Atom because Atom's value was cached by computed called by given reaction.\n };\n Atom.prototype.onBecomeUnobserved = function () {\n this.isBeingTracked = false;\n this.onBecomeUnobservedHandler();\n };\n return Atom;\n}(BaseAtom));\nvar isAtom = createInstanceofPredicate(\"Atom\", BaseAtom);\n\nfunction hasInterceptors(interceptable) {\n return interceptable.interceptors && interceptable.interceptors.length > 0;\n}\nfunction registerInterceptor(interceptable, handler) {\n var interceptors = interceptable.interceptors || (interceptable.interceptors = []);\n interceptors.push(handler);\n return once(function () {\n var idx = interceptors.indexOf(handler);\n if (idx !== -1)\n interceptors.splice(idx, 1);\n });\n}\nfunction interceptChange(interceptable, change) {\n var prevU = untrackedStart();\n try {\n var interceptors = interceptable.interceptors;\n if (interceptors)\n for (var i = 0, l = interceptors.length; i < l; i++) {\n change = interceptors[i](change);\n invariant(!change || change.type, \"Intercept handlers should return nothing or a change object\");\n if (!change)\n break;\n }\n return change;\n }\n finally {\n untrackedEnd(prevU);\n }\n}\n\nfunction hasListeners(listenable) {\n return listenable.changeListeners && listenable.changeListeners.length > 0;\n}\nfunction registerListener(listenable, handler) {\n var listeners = listenable.changeListeners || (listenable.changeListeners = []);\n listeners.push(handler);\n return once(function () {\n var idx = listeners.indexOf(handler);\n if (idx !== -1)\n listeners.splice(idx, 1);\n });\n}\nfunction notifyListeners(listenable, change) {\n var prevU = untrackedStart();\n var listeners = listenable.changeListeners;\n if (!listeners)\n return;\n listeners = listeners.slice();\n for (var i = 0, l = listeners.length; i < l; i++) {\n listeners[i](change);\n }\n untrackedEnd(prevU);\n}\n\nfunction isSpyEnabled() {\n return !!globalState.spyListeners.length;\n}\nfunction spyReport(event) {\n if (!globalState.spyListeners.length)\n return;\n var listeners = globalState.spyListeners;\n for (var i = 0, l = listeners.length; i < l; i++)\n listeners[i](event);\n}\nfunction spyReportStart(event) {\n var change = objectAssign({}, event, { spyReportStart: true });\n spyReport(change);\n}\nvar END_EVENT = { spyReportEnd: true };\nfunction spyReportEnd(change) {\n if (change)\n spyReport(objectAssign({}, change, END_EVENT));\n else\n spyReport(END_EVENT);\n}\nfunction spy(listener) {\n globalState.spyListeners.push(listener);\n return once(function () {\n var idx = globalState.spyListeners.indexOf(listener);\n if (idx !== -1)\n globalState.spyListeners.splice(idx, 1);\n });\n}\n\nfunction iteratorSymbol() {\n return (typeof Symbol === \"function\" && Symbol.iterator) || \"@@iterator\";\n}\nvar IS_ITERATING_MARKER = \"__$$iterating\";\nfunction arrayAsIterator(array) {\n // returning an array for entries(), values() etc for maps was a mis-interpretation of the specs..,\n // yet it is quite convenient to be able to use the response both as array directly and as iterator\n // it is suboptimal, but alas...\n invariant(array[IS_ITERATING_MARKER] !== true, \"Illegal state: cannot recycle array as iterator\");\n addHiddenFinalProp(array, IS_ITERATING_MARKER, true);\n var idx = -1;\n addHiddenFinalProp(array, \"next\", function next() {\n idx++;\n return {\n done: idx >= this.length,\n value: idx < this.length ? this[idx] : undefined\n };\n });\n return array;\n}\nfunction declareIterator(prototType, iteratorFactory) {\n addHiddenFinalProp(prototType, iteratorSymbol(), iteratorFactory);\n}\n\nvar MAX_SPLICE_SIZE = 10000; // See e.g. https://github.com/mobxjs/mobx/issues/859\n// Detects bug in safari 9.1.1 (or iOS 9 safari mobile). See #364\nvar safariPrototypeSetterInheritanceBug = (function () {\n var v = false;\n var p = {};\n Object.defineProperty(p, \"0\", {\n set: function () {\n v = true;\n }\n });\n Object.create(p)[\"0\"] = 1;\n return v === false;\n})();\n/**\n * This array buffer contains two lists of properties, so that all arrays\n * can recycle their property definitions, which significantly improves performance of creating\n * properties on the fly.\n */\nvar OBSERVABLE_ARRAY_BUFFER_SIZE = 0;\n// Typescript workaround to make sure ObservableArray extends Array\nvar StubArray = /** @class */ (function () {\n function StubArray() {\n }\n return StubArray;\n}());\nfunction inherit(ctor, proto) {\n if (typeof Object[\"setPrototypeOf\"] !== \"undefined\") {\n Object[\"setPrototypeOf\"](ctor.prototype, proto);\n }\n else if (typeof ctor.prototype.__proto__ !== \"undefined\") {\n ctor.prototype.__proto__ = proto;\n }\n else {\n ctor[\"prototype\"] = proto;\n }\n}\ninherit(StubArray, Array.prototype);\n// Weex freeze Array.prototype\n// Make them writeable and configurable in prototype chain\n// https://github.com/alibaba/weex/pull/1529\nif (Object.isFrozen(Array)) {\n \n [\n \"constructor\",\n \"push\",\n \"shift\",\n \"concat\",\n \"pop\",\n \"unshift\",\n \"replace\",\n \"find\",\n \"findIndex\",\n \"splice\",\n \"reverse\",\n \"sort\"\n ].forEach(function (key) {\n Object.defineProperty(StubArray.prototype, key, {\n configurable: true,\n writable: true,\n value: Array.prototype[key]\n });\n });\n}\nvar ObservableArrayAdministration = /** @class */ (function () {\n function ObservableArrayAdministration(name, enhancer, array, owned) {\n this.array = array;\n this.owned = owned;\n this.values = [];\n this.lastKnownLength = 0;\n this.interceptors = null;\n this.changeListeners = null;\n this.atom = new BaseAtom(name || \"ObservableArray@\" + getNextId());\n this.enhancer = function (newV, oldV) { return enhancer(newV, oldV, name + \"[..]\"); };\n }\n ObservableArrayAdministration.prototype.dehanceValue = function (value) {\n if (this.dehancer !== undefined)\n return this.dehancer(value);\n return value;\n };\n ObservableArrayAdministration.prototype.dehanceValues = function (values) {\n if (this.dehancer !== undefined)\n return values.map(this.dehancer);\n return values;\n };\n ObservableArrayAdministration.prototype.intercept = function (handler) {\n return registerInterceptor(this, handler);\n };\n ObservableArrayAdministration.prototype.observe = function (listener, fireImmediately) {\n if (fireImmediately === void 0) { fireImmediately = false; }\n if (fireImmediately) {\n listener({\n object: this.array,\n type: \"splice\",\n index: 0,\n added: this.values.slice(),\n addedCount: this.values.length,\n removed: [],\n removedCount: 0\n });\n }\n return registerListener(this, listener);\n };\n ObservableArrayAdministration.prototype.getArrayLength = function () {\n this.atom.reportObserved();\n return this.values.length;\n };\n ObservableArrayAdministration.prototype.setArrayLength = function (newLength) {\n if (typeof newLength !== \"number\" || newLength < 0)\n throw new Error(\"[mobx.array] Out of range: \" + newLength);\n var currentLength = this.values.length;\n if (newLength === currentLength)\n return;\n else if (newLength > currentLength) {\n var newItems = new Array(newLength - currentLength);\n for (var i = 0; i < newLength - currentLength; i++)\n newItems[i] = undefined; // No Array.fill everywhere...\n this.spliceWithArray(currentLength, 0, newItems);\n }\n else\n this.spliceWithArray(newLength, currentLength - newLength);\n };\n // adds / removes the necessary numeric properties to this object\n ObservableArrayAdministration.prototype.updateArrayLength = function (oldLength, delta) {\n if (oldLength !== this.lastKnownLength)\n throw new Error(\"[mobx] Modification exception: the internal structure of an observable array was changed. Did you use peek() to change it?\");\n this.lastKnownLength += delta;\n if (delta > 0 && oldLength + delta + 1 > OBSERVABLE_ARRAY_BUFFER_SIZE)\n reserveArrayBuffer(oldLength + delta + 1);\n };\n ObservableArrayAdministration.prototype.spliceWithArray = function (index, deleteCount, newItems) {\n var _this = this;\n checkIfStateModificationsAreAllowed(this.atom);\n var length = this.values.length;\n if (index === undefined)\n index = 0;\n else if (index > length)\n index = length;\n else if (index < 0)\n index = Math.max(0, length + index);\n if (arguments.length === 1)\n deleteCount = length - index;\n else if (deleteCount === undefined || deleteCount === null)\n deleteCount = 0;\n else\n deleteCount = Math.max(0, Math.min(deleteCount, length - index));\n if (newItems === undefined)\n newItems = [];\n if (hasInterceptors(this)) {\n var change = interceptChange(this, {\n object: this.array,\n type: \"splice\",\n index: index,\n removedCount: deleteCount,\n added: newItems\n });\n if (!change)\n return EMPTY_ARRAY;\n deleteCount = change.removedCount;\n newItems = change.added;\n }\n newItems = newItems.map(function (v) { return _this.enhancer(v, undefined); });\n var lengthDelta = newItems.length - deleteCount;\n this.updateArrayLength(length, lengthDelta); // create or remove new entries\n var res = this.spliceItemsIntoValues(index, deleteCount, newItems);\n if (deleteCount !== 0 || newItems.length !== 0)\n this.notifyArraySplice(index, newItems, res);\n return this.dehanceValues(res);\n };\n ObservableArrayAdministration.prototype.spliceItemsIntoValues = function (index, deleteCount, newItems) {\n if (newItems.length < MAX_SPLICE_SIZE) {\n return (_a = this.values).splice.apply(_a, [index, deleteCount].concat(newItems));\n }\n else {\n var res = this.values.slice(index, index + deleteCount);\n this.values = this.values\n .slice(0, index)\n .concat(newItems, this.values.slice(index + deleteCount));\n return res;\n }\n var _a;\n };\n ObservableArrayAdministration.prototype.notifyArrayChildUpdate = function (index, newValue, oldValue) {\n var notifySpy = !this.owned && isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy\n ? {\n object: this.array,\n type: \"update\",\n index: index,\n newValue: newValue,\n oldValue: oldValue\n }\n : null;\n if (notifySpy)\n spyReportStart(change);\n this.atom.reportChanged();\n if (notify)\n notifyListeners(this, change);\n if (notifySpy)\n spyReportEnd();\n };\n ObservableArrayAdministration.prototype.notifyArraySplice = function (index, added, removed) {\n var notifySpy = !this.owned && isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy\n ? {\n object: this.array,\n type: \"splice\",\n index: index,\n removed: removed,\n added: added,\n removedCount: removed.length,\n addedCount: added.length\n }\n : null;\n if (notifySpy)\n spyReportStart(change);\n this.atom.reportChanged();\n // conform: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/observe\n if (notify)\n notifyListeners(this, change);\n if (notifySpy)\n spyReportEnd();\n };\n return ObservableArrayAdministration;\n}());\nvar ObservableArray = /** @class */ (function (_super) {\n __extends(ObservableArray, _super);\n function ObservableArray(initialValues, enhancer, name, owned) {\n if (name === void 0) { name = \"ObservableArray@\" + getNextId(); }\n if (owned === void 0) { owned = false; }\n var _this = _super.call(this) || this;\n var adm = new ObservableArrayAdministration(name, enhancer, _this, owned);\n addHiddenFinalProp(_this, \"$mobx\", adm);\n if (initialValues && initialValues.length) {\n _this.spliceWithArray(0, 0, initialValues);\n }\n if (safariPrototypeSetterInheritanceBug) {\n // Seems that Safari won't use numeric prototype setter untill any * numeric property is\n // defined on the instance. After that it works fine, even if this property is deleted.\n Object.defineProperty(adm.array, \"0\", ENTRY_0);\n }\n return _this;\n }\n ObservableArray.prototype.intercept = function (handler) {\n return this.$mobx.intercept(handler);\n };\n ObservableArray.prototype.observe = function (listener, fireImmediately) {\n if (fireImmediately === void 0) { fireImmediately = false; }\n return this.$mobx.observe(listener, fireImmediately);\n };\n ObservableArray.prototype.clear = function () {\n return this.splice(0);\n };\n ObservableArray.prototype.concat = function () {\n var arrays = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n arrays[_i] = arguments[_i];\n }\n this.$mobx.atom.reportObserved();\n return Array.prototype.concat.apply(this.peek(), arrays.map(function (a) { return (isObservableArray(a) ? a.peek() : a); }));\n };\n ObservableArray.prototype.replace = function (newItems) {\n return this.$mobx.spliceWithArray(0, this.$mobx.values.length, newItems);\n };\n /**\n * Converts this array back to a (shallow) javascript structure.\n * For a deep clone use mobx.toJS\n */\n ObservableArray.prototype.toJS = function () {\n return this.slice();\n };\n ObservableArray.prototype.toJSON = function () {\n // Used by JSON.stringify\n return this.toJS();\n };\n ObservableArray.prototype.peek = function () {\n this.$mobx.atom.reportObserved();\n return this.$mobx.dehanceValues(this.$mobx.values);\n };\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n ObservableArray.prototype.find = function (predicate, thisArg, fromIndex) {\n if (fromIndex === void 0) { fromIndex = 0; }\n var idx = this.findIndex.apply(this, arguments);\n return idx === -1 ? undefined : this.get(idx);\n };\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex\n ObservableArray.prototype.findIndex = function (predicate, thisArg, fromIndex) {\n if (fromIndex === void 0) { fromIndex = 0; }\n var items = this.peek(), l = items.length;\n for (var i = fromIndex; i < l; i++)\n if (predicate.call(thisArg, items[i], i, this))\n return i;\n return -1;\n };\n /*\n * functions that do alter the internal structure of the array, (based on lib.es6.d.ts)\n * since these functions alter the inner structure of the array, the have side effects.\n * Because the have side effects, they should not be used in computed function,\n * and for that reason the do not call dependencyState.notifyObserved\n */\n ObservableArray.prototype.splice = function (index, deleteCount) {\n var newItems = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n newItems[_i - 2] = arguments[_i];\n }\n switch (arguments.length) {\n case 0:\n return [];\n case 1:\n return this.$mobx.spliceWithArray(index);\n case 2:\n return this.$mobx.spliceWithArray(index, deleteCount);\n }\n return this.$mobx.spliceWithArray(index, deleteCount, newItems);\n };\n ObservableArray.prototype.spliceWithArray = function (index, deleteCount, newItems) {\n return this.$mobx.spliceWithArray(index, deleteCount, newItems);\n };\n ObservableArray.prototype.push = function () {\n var items = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n items[_i] = arguments[_i];\n }\n var adm = this.$mobx;\n adm.spliceWithArray(adm.values.length, 0, items);\n return adm.values.length;\n };\n ObservableArray.prototype.pop = function () {\n return this.splice(Math.max(this.$mobx.values.length - 1, 0), 1)[0];\n };\n ObservableArray.prototype.shift = function () {\n return this.splice(0, 1)[0];\n };\n ObservableArray.prototype.unshift = function () {\n var items = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n items[_i] = arguments[_i];\n }\n var adm = this.$mobx;\n adm.spliceWithArray(0, 0, items);\n return adm.values.length;\n };\n ObservableArray.prototype.reverse = function () {\n // reverse by default mutates in place before returning the result\n // which makes it both a 'derivation' and a 'mutation'.\n // so we deviate from the default and just make it an dervitation\n var clone = this.slice();\n return clone.reverse.apply(clone, arguments);\n };\n ObservableArray.prototype.sort = function (compareFn) {\n // sort by default mutates in place before returning the result\n // which goes against all good practices. Let's not change the array in place!\n var clone = this.slice();\n return clone.sort.apply(clone, arguments);\n };\n ObservableArray.prototype.remove = function (value) {\n var idx = this.$mobx.dehanceValues(this.$mobx.values).indexOf(value);\n if (idx > -1) {\n this.splice(idx, 1);\n return true;\n }\n return false;\n };\n ObservableArray.prototype.move = function (fromIndex, toIndex) {\n function checkIndex(index) {\n if (index < 0) {\n throw new Error(\"[mobx.array] Index out of bounds: \" + index + \" is negative\");\n }\n var length = this.$mobx.values.length;\n if (index >= length) {\n throw new Error(\"[mobx.array] Index out of bounds: \" + index + \" is not smaller than \" + length);\n }\n }\n checkIndex.call(this, fromIndex);\n checkIndex.call(this, toIndex);\n if (fromIndex === toIndex) {\n return;\n }\n var oldItems = this.$mobx.values;\n var newItems;\n if (fromIndex < toIndex) {\n newItems = oldItems.slice(0, fromIndex).concat(oldItems.slice(fromIndex + 1, toIndex + 1), [\n oldItems[fromIndex]\n ], oldItems.slice(toIndex + 1));\n }\n else {\n // toIndex < fromIndex\n newItems = oldItems.slice(0, toIndex).concat([\n oldItems[fromIndex]\n ], oldItems.slice(toIndex, fromIndex), oldItems.slice(fromIndex + 1));\n }\n this.replace(newItems);\n };\n // See #734, in case property accessors are unreliable...\n ObservableArray.prototype.get = function (index) {\n var impl = this.$mobx;\n if (impl) {\n if (index < impl.values.length) {\n impl.atom.reportObserved();\n return impl.dehanceValue(impl.values[index]);\n }\n console.warn(\"[mobx.array] Attempt to read an array index (\" + index + \") that is out of bounds (\" + impl\n .values\n .length + \"). Please check length first. Out of bound indices will not be tracked by MobX\");\n }\n return undefined;\n };\n // See #734, in case property accessors are unreliable...\n ObservableArray.prototype.set = function (index, newValue) {\n var adm = this.$mobx;\n var values = adm.values;\n if (index < values.length) {\n // update at index in range\n checkIfStateModificationsAreAllowed(adm.atom);\n var oldValue = values[index];\n if (hasInterceptors(adm)) {\n var change = interceptChange(adm, {\n type: \"update\",\n object: this,\n index: index,\n newValue: newValue\n });\n if (!change)\n return;\n newValue = change.newValue;\n }\n newValue = adm.enhancer(newValue, oldValue);\n var changed = newValue !== oldValue;\n if (changed) {\n values[index] = newValue;\n adm.notifyArrayChildUpdate(index, newValue, oldValue);\n }\n }\n else if (index === values.length) {\n // add a new item\n adm.spliceWithArray(index, 0, [newValue]);\n }\n else {\n // out of bounds\n throw new Error(\"[mobx.array] Index out of bounds, \" + index + \" is larger than \" + values.length);\n }\n };\n return ObservableArray;\n}(StubArray));\ndeclareIterator(ObservableArray.prototype, function () {\n return arrayAsIterator(this.slice());\n});\nObject.defineProperty(ObservableArray.prototype, \"length\", {\n enumerable: false,\n configurable: true,\n get: function () {\n return this.$mobx.getArrayLength();\n },\n set: function (newLength) {\n this.$mobx.setArrayLength(newLength);\n }\n});\n[\n \"every\",\n \"filter\",\n \"forEach\",\n \"indexOf\",\n \"join\",\n \"lastIndexOf\",\n \"map\",\n \"reduce\",\n \"reduceRight\",\n \"slice\",\n \"some\",\n \"toString\",\n \"toLocaleString\"\n].forEach(function (funcName) {\n var baseFunc = Array.prototype[funcName];\n invariant(typeof baseFunc === \"function\", \"Base function not defined on Array prototype: '\" + funcName + \"'\");\n addHiddenProp(ObservableArray.prototype, funcName, function () {\n return baseFunc.apply(this.peek(), arguments);\n });\n});\n/**\n * We don't want those to show up in `for (const key in ar)` ...\n */\nmakeNonEnumerable(ObservableArray.prototype, [\n \"constructor\",\n \"intercept\",\n \"observe\",\n \"clear\",\n \"concat\",\n \"get\",\n \"replace\",\n \"toJS\",\n \"toJSON\",\n \"peek\",\n \"find\",\n \"findIndex\",\n \"splice\",\n \"spliceWithArray\",\n \"push\",\n \"pop\",\n \"set\",\n \"shift\",\n \"unshift\",\n \"reverse\",\n \"sort\",\n \"remove\",\n \"move\",\n \"toString\",\n \"toLocaleString\"\n]);\n// See #364\nvar ENTRY_0 = createArrayEntryDescriptor(0);\nfunction createArrayEntryDescriptor(index) {\n return {\n enumerable: false,\n configurable: false,\n get: function () {\n // TODO: Check `this`?, see #752?\n return this.get(index);\n },\n set: function (value) {\n this.set(index, value);\n }\n };\n}\nfunction createArrayBufferItem(index) {\n Object.defineProperty(ObservableArray.prototype, \"\" + index, createArrayEntryDescriptor(index));\n}\nfunction reserveArrayBuffer(max) {\n for (var index = OBSERVABLE_ARRAY_BUFFER_SIZE; index < max; index++)\n createArrayBufferItem(index);\n OBSERVABLE_ARRAY_BUFFER_SIZE = max;\n}\nreserveArrayBuffer(1000);\nvar isObservableArrayAdministration = createInstanceofPredicate(\"ObservableArrayAdministration\", ObservableArrayAdministration);\nfunction isObservableArray(thing) {\n return isObject(thing) && isObservableArrayAdministration(thing.$mobx);\n}\n\nvar UNCHANGED = {};\nvar ObservableValue = /** @class */ (function (_super) {\n __extends(ObservableValue, _super);\n function ObservableValue(value, enhancer, name, notifySpy) {\n if (name === void 0) { name = \"ObservableValue@\" + getNextId(); }\n if (notifySpy === void 0) { notifySpy = true; }\n var _this = _super.call(this, name) || this;\n _this.enhancer = enhancer;\n _this.hasUnreportedChange = false;\n _this.dehancer = undefined;\n _this.value = enhancer(value, undefined, name);\n if (notifySpy && isSpyEnabled()) {\n // only notify spy if this is a stand-alone observable\n spyReport({ type: \"create\", object: _this, newValue: _this.value });\n }\n return _this;\n }\n ObservableValue.prototype.dehanceValue = function (value) {\n if (this.dehancer !== undefined)\n return this.dehancer(value);\n return value;\n };\n ObservableValue.prototype.set = function (newValue) {\n var oldValue = this.value;\n newValue = this.prepareNewValue(newValue);\n if (newValue !== UNCHANGED) {\n var notifySpy = isSpyEnabled();\n if (notifySpy) {\n spyReportStart({\n type: \"update\",\n object: this,\n newValue: newValue,\n oldValue: oldValue\n });\n }\n this.setNewValue(newValue);\n if (notifySpy)\n spyReportEnd();\n }\n };\n ObservableValue.prototype.prepareNewValue = function (newValue) {\n checkIfStateModificationsAreAllowed(this);\n if (hasInterceptors(this)) {\n var change = interceptChange(this, {\n object: this,\n type: \"update\",\n newValue: newValue\n });\n if (!change)\n return UNCHANGED;\n newValue = change.newValue;\n }\n // apply modifier\n newValue = this.enhancer(newValue, this.value, this.name);\n return this.value !== newValue ? newValue : UNCHANGED;\n };\n ObservableValue.prototype.setNewValue = function (newValue) {\n var oldValue = this.value;\n this.value = newValue;\n this.reportChanged();\n if (hasListeners(this)) {\n notifyListeners(this, {\n type: \"update\",\n object: this,\n newValue: newValue,\n oldValue: oldValue\n });\n }\n };\n ObservableValue.prototype.get = function () {\n this.reportObserved();\n return this.dehanceValue(this.value);\n };\n ObservableValue.prototype.intercept = function (handler) {\n return registerInterceptor(this, handler);\n };\n ObservableValue.prototype.observe = function (listener, fireImmediately) {\n if (fireImmediately)\n listener({\n object: this,\n type: \"update\",\n newValue: this.value,\n oldValue: undefined\n });\n return registerListener(this, listener);\n };\n ObservableValue.prototype.toJSON = function () {\n return this.get();\n };\n ObservableValue.prototype.toString = function () {\n return this.name + \"[\" + this.value + \"]\";\n };\n ObservableValue.prototype.valueOf = function () {\n return toPrimitive(this.get());\n };\n return ObservableValue;\n}(BaseAtom));\nObservableValue.prototype[primitiveSymbol()] = ObservableValue.prototype.valueOf;\nvar isObservableValue = createInstanceofPredicate(\"ObservableValue\", ObservableValue);\n\nvar messages = {\n m001: \"It is not allowed to assign new values to @action fields\",\n m002: \"`runInAction` expects a function\",\n m003: \"`runInAction` expects a function without arguments\",\n m004: \"autorun expects a function\",\n m005: \"Warning: attempted to pass an action to autorun. Actions are untracked and will not trigger on state changes. Use `reaction` or wrap only your state modification code in an action.\",\n m006: \"Warning: attempted to pass an action to autorunAsync. Actions are untracked and will not trigger on state changes. Use `reaction` or wrap only your state modification code in an action.\",\n m007: \"reaction only accepts 2 or 3 arguments. If migrating from MobX 2, please provide an options object\",\n m008: \"wrapping reaction expression in `asReference` is no longer supported, use options object instead\",\n m009: \"@computed can only be used on getter functions, like: '@computed get myProps() { return ...; }'. It looks like it was used on a property.\",\n m010: \"@computed can only be used on getter functions, like: '@computed get myProps() { return ...; }'\",\n m011: \"First argument to `computed` should be an expression. If using computed as decorator, don't pass it arguments\",\n m012: \"computed takes one or two arguments if used as function\",\n m013: \"[mobx.expr] 'expr' should only be used inside other reactive functions.\",\n m014: \"extendObservable expected 2 or more arguments\",\n m015: \"extendObservable expects an object as first argument\",\n m016: \"extendObservable should not be used on maps, use map.merge instead\",\n m017: \"all arguments of extendObservable should be objects\",\n m018: \"extending an object with another observable (object) is not supported. Please construct an explicit propertymap, using `toJS` if need. See issue #540\",\n m019: \"[mobx.isObservable] isObservable(object, propertyName) is not supported for arrays and maps. Use map.has or array.length instead.\",\n m020: \"modifiers can only be used for individual object properties\",\n m021: \"observable expects zero or one arguments\",\n m022: \"@observable can not be used on getters, use @computed instead\",\n m024: \"whyRun() can only be used if a derivation is active, or by passing an computed value / reaction explicitly. If you invoked whyRun from inside a computation; the computation is currently suspended but re-evaluating because somebody requested its value.\",\n m025: \"whyRun can only be used on reactions and computed values\",\n m026: \"`action` can only be invoked on functions\",\n m028: \"It is not allowed to set `useStrict` when a derivation is running\",\n m029: \"INTERNAL ERROR only onBecomeUnobserved shouldn't be called twice in a row\",\n m030a: \"Since strict-mode is enabled, changing observed observable values outside actions is not allowed. Please wrap the code in an `action` if this change is intended. Tried to modify: \",\n m030b: \"Side effects like changing state are not allowed at this point. Are you trying to modify state from, for example, the render function of a React component? Tried to modify: \",\n m031: \"Computed values are not allowed to cause side effects by changing observables that are already being observed. Tried to modify: \",\n m032: \"* This computation is suspended (not in use by any reaction) and won't run automatically.\\n\tDidn't expect this computation to be suspended at this point?\\n\t 1. Make sure this computation is used by a reaction (reaction, autorun, observer).\\n\t 2. Check whether you are using this computation synchronously (in the same stack as they reaction that needs it).\",\n m033: \"`observe` doesn't support the fire immediately property for observable maps.\",\n m034: \"`mobx.map` is deprecated, use `new ObservableMap` or `mobx.observable.map` instead\",\n m035: \"Cannot make the designated object observable; it is not extensible\",\n m036: \"It is not possible to get index atoms from arrays\",\n m037: \"Hi there! I'm sorry you have just run into an exception.\\nIf your debugger ends up here, know that some reaction (like the render() of an observer component, autorun or reaction)\\nthrew an exception and that mobx caught it, to avoid that it brings the rest of your application down.\\nThe original cause of the exception (the code that caused this reaction to run (again)), is still in the stack.\\n\\nHowever, more interesting is the actual stack trace of the error itself.\\nHopefully the error is an instanceof Error, because in that case you can inspect the original stack of the error from where it was thrown.\\nSee `error.stack` property, or press the very subtle \\\"(...)\\\" link you see near the console.error message that probably brought you here.\\nThat stack is more interesting than the stack of this console.error itself.\\n\\nIf the exception you see is an exception you created yourself, make sure to use `throw new Error(\\\"Oops\\\")` instead of `throw \\\"Oops\\\"`,\\nbecause the javascript environment will only preserve the original stack trace in the first form.\\n\\nYou can also make sure the debugger pauses the next time this very same exception is thrown by enabling \\\"Pause on caught exception\\\".\\n(Note that it might pause on many other, unrelated exception as well).\\n\\nIf that all doesn't help you out, feel free to open an issue https://github.com/mobxjs/mobx/issues!\\n\",\n m038: \"Missing items in this list?\\n 1. Check whether all used values are properly marked as observable (use isObservable to verify)\\n 2. Make sure you didn't dereference values too early. MobX observes props, not primitives. E.g: use 'person.name' instead of 'name' in your computation.\\n\"\n};\nfunction getMessage(id) {\n return messages[id];\n}\n\nfunction createAction(actionName, fn) {\n invariant(typeof fn === \"function\", getMessage(\"m026\"));\n invariant(typeof actionName === \"string\" && actionName.length > 0, \"actions should have valid names, got: '\" + actionName + \"'\");\n var res = function () {\n return executeAction(actionName, fn, this, arguments);\n };\n res.originalFn = fn;\n res.isMobxAction = true;\n return res;\n}\nfunction executeAction(actionName, fn, scope, args) {\n var runInfo = startAction(actionName, fn, scope, args);\n try {\n return fn.apply(scope, args);\n }\n finally {\n endAction(runInfo);\n }\n}\nfunction startAction(actionName, fn, scope, args) {\n var notifySpy = isSpyEnabled() && !!actionName;\n var startTime = 0;\n if (notifySpy) {\n startTime = Date.now();\n var l = (args && args.length) || 0;\n var flattendArgs = new Array(l);\n if (l > 0)\n for (var i = 0; i < l; i++)\n flattendArgs[i] = args[i];\n spyReportStart({\n type: \"action\",\n name: actionName,\n fn: fn,\n object: scope,\n arguments: flattendArgs\n });\n }\n var prevDerivation = untrackedStart();\n startBatch();\n var prevAllowStateChanges = allowStateChangesStart(true);\n return {\n prevDerivation: prevDerivation,\n prevAllowStateChanges: prevAllowStateChanges,\n notifySpy: notifySpy,\n startTime: startTime\n };\n}\nfunction endAction(runInfo) {\n allowStateChangesEnd(runInfo.prevAllowStateChanges);\n endBatch();\n untrackedEnd(runInfo.prevDerivation);\n if (runInfo.notifySpy)\n spyReportEnd({ time: Date.now() - runInfo.startTime });\n}\nfunction useStrict(strict) {\n invariant(globalState.trackingDerivation === null, getMessage(\"m028\"));\n globalState.strictMode = strict;\n globalState.allowStateChanges = !strict;\n}\nfunction isStrictModeEnabled() {\n return globalState.strictMode;\n}\nfunction allowStateChanges(allowStateChanges, func) {\n // TODO: deprecate / refactor this function in next major\n // Currently only used by `@observer`\n // Proposed change: remove first param, rename to `forbidStateChanges`,\n // require error callback instead of the hardcoded error message now used\n // Use `inAction` instead of allowStateChanges in derivation.ts to check strictMode\n var prev = allowStateChangesStart(allowStateChanges);\n var res;\n try {\n res = func();\n }\n finally {\n allowStateChangesEnd(prev);\n }\n return res;\n}\nfunction allowStateChangesStart(allowStateChanges) {\n var prev = globalState.allowStateChanges;\n globalState.allowStateChanges = allowStateChanges;\n return prev;\n}\nfunction allowStateChangesEnd(prev) {\n globalState.allowStateChanges = prev;\n}\n\n/**\n * Constructs a decorator, that normalizes the differences between\n * TypeScript and Babel. Mainly caused by the fact that legacy-decorator cannot assign\n * values during instance creation to properties that have a getter setter.\n *\n * - Sigh -\n *\n * Also takes care of the difference between @decorator field and @decorator(args) field, and different forms of values.\n * For performance (cpu and mem) reasons the properties are always defined on the prototype (at least initially).\n * This means that these properties despite being enumerable might not show up in Object.keys() (but they will show up in for...in loops).\n */\nfunction createClassPropertyDecorator(\n/**\n * This function is invoked once, when the property is added to a new instance.\n * When this happens is not strictly determined due to differences in TS and Babel:\n * Typescript: Usually when constructing the new instance\n * Babel, sometimes Typescript: during the first get / set\n * Both: when calling `runLazyInitializers(instance)`\n */\nonInitialize, get, set, enumerable, \n/**\n * Can this decorator invoked with arguments? e.g. @decorator(args)\n */\nallowCustomArguments) {\n function classPropertyDecorator(target, key, descriptor, customArgs, argLen) {\n if (argLen === void 0) { argLen = 0; }\n invariant(allowCustomArguments || quacksLikeADecorator(arguments), \"This function is a decorator, but it wasn't invoked like a decorator\");\n if (!descriptor) {\n // typescript (except for getter / setters)\n var newDescriptor = {\n enumerable: enumerable,\n configurable: true,\n get: function () {\n if (!this.__mobxInitializedProps || this.__mobxInitializedProps[key] !== true)\n typescriptInitializeProperty(this, key, undefined, onInitialize, customArgs, descriptor);\n return get.call(this, key);\n },\n set: function (v) {\n if (!this.__mobxInitializedProps || this.__mobxInitializedProps[key] !== true) {\n typescriptInitializeProperty(this, key, v, onInitialize, customArgs, descriptor);\n }\n else {\n set.call(this, key, v);\n }\n }\n };\n if (arguments.length < 3 || (arguments.length === 5 && argLen < 3)) {\n // Typescript target is ES3, so it won't define property for us\n // or using Reflect.decorate polyfill, which will return no descriptor\n // (see https://github.com/mobxjs/mobx/issues/333)\n Object.defineProperty(target, key, newDescriptor);\n }\n return newDescriptor;\n }\n else {\n // babel and typescript getter / setter props\n if (!hasOwnProperty(target, \"__mobxLazyInitializers\")) {\n addHiddenProp(target, \"__mobxLazyInitializers\", (target.__mobxLazyInitializers && target.__mobxLazyInitializers.slice()) || [] // support inheritance\n );\n }\n var value_1 = descriptor.value, initializer_1 = descriptor.initializer;\n target.__mobxLazyInitializers.push(function (instance) {\n onInitialize(instance, key, initializer_1 ? initializer_1.call(instance) : value_1, customArgs, descriptor);\n });\n return {\n enumerable: enumerable,\n configurable: true,\n get: function () {\n if (this.__mobxDidRunLazyInitializers !== true)\n runLazyInitializers(this);\n return get.call(this, key);\n },\n set: function (v) {\n if (this.__mobxDidRunLazyInitializers !== true)\n runLazyInitializers(this);\n set.call(this, key, v);\n }\n };\n }\n }\n if (allowCustomArguments) {\n /** If custom arguments are allowed, we should return a function that returns a decorator */\n return function () {\n /** Direct invocation: @decorator bla */\n if (quacksLikeADecorator(arguments))\n return classPropertyDecorator.apply(null, arguments);\n /** Indirect invocation: @decorator(args) bla */\n var outerArgs = arguments;\n var argLen = arguments.length;\n return function (target, key, descriptor) {\n return classPropertyDecorator(target, key, descriptor, outerArgs, argLen);\n };\n };\n }\n return classPropertyDecorator;\n}\nfunction typescriptInitializeProperty(instance, key, v, onInitialize, customArgs, baseDescriptor) {\n if (!hasOwnProperty(instance, \"__mobxInitializedProps\"))\n addHiddenProp(instance, \"__mobxInitializedProps\", {});\n instance.__mobxInitializedProps[key] = true;\n onInitialize(instance, key, v, customArgs, baseDescriptor);\n}\nfunction runLazyInitializers(instance) {\n if (instance.__mobxDidRunLazyInitializers === true)\n return;\n if (instance.__mobxLazyInitializers) {\n addHiddenProp(instance, \"__mobxDidRunLazyInitializers\", true);\n instance.__mobxDidRunLazyInitializers &&\n instance.__mobxLazyInitializers.forEach(function (initializer) { return initializer(instance); });\n }\n}\nfunction quacksLikeADecorator(args) {\n return (args.length === 2 || args.length === 3) && typeof args[1] === \"string\";\n}\n\nvar actionFieldDecorator = createClassPropertyDecorator(function (target, key, value, args, originalDescriptor) {\n var actionName = args && args.length === 1 ? args[0] : value.name || key || \"\";\n var wrappedAction = action(actionName, value);\n addHiddenProp(target, key, wrappedAction);\n}, function (key) {\n return this[key];\n}, function () {\n invariant(false, getMessage(\"m001\"));\n}, false, true);\nvar boundActionDecorator = createClassPropertyDecorator(function (target, key, value) {\n defineBoundAction(target, key, value);\n}, function (key) {\n return this[key];\n}, function () {\n invariant(false, getMessage(\"m001\"));\n}, false, false);\nvar action = function action(arg1, arg2, arg3, arg4) {\n if (arguments.length === 1 && typeof arg1 === \"function\")\n return createAction(arg1.name || \"\", arg1);\n if (arguments.length === 2 && typeof arg2 === \"function\")\n return createAction(arg1, arg2);\n if (arguments.length === 1 && typeof arg1 === \"string\")\n return namedActionDecorator(arg1);\n return namedActionDecorator(arg2).apply(null, arguments);\n};\naction.bound = function boundAction(arg1, arg2, arg3) {\n if (typeof arg1 === \"function\") {\n var action_1 = createAction(\"\", arg1);\n action_1.autoBind = true;\n return action_1;\n }\n return boundActionDecorator.apply(null, arguments);\n};\nfunction namedActionDecorator(name) {\n return function (target, prop, descriptor) {\n if (descriptor && typeof descriptor.value === \"function\") {\n // TypeScript @action method() { }. Defined on proto before being decorated\n // Don't use the field decorator if we are just decorating a method\n descriptor.value = createAction(name, descriptor.value);\n descriptor.enumerable = false;\n descriptor.configurable = true;\n return descriptor;\n }\n if (descriptor !== undefined && descriptor.get !== undefined) {\n throw new Error(\"[mobx] action is not expected to be used with getters\");\n }\n // bound instance methods\n return actionFieldDecorator(name).apply(this, arguments);\n };\n}\nfunction runInAction(arg1, arg2, arg3) {\n var actionName = typeof arg1 === \"string\" ? arg1 : arg1.name || \"\";\n var fn = typeof arg1 === \"function\" ? arg1 : arg2;\n var scope = typeof arg1 === \"function\" ? arg2 : arg3;\n invariant(typeof fn === \"function\", getMessage(\"m002\"));\n invariant(fn.length === 0, getMessage(\"m003\"));\n invariant(typeof actionName === \"string\" && actionName.length > 0, \"actions should have valid names, got: '\" + actionName + \"'\");\n return executeAction(actionName, fn, scope, undefined);\n}\nfunction isAction(thing) {\n return typeof thing === \"function\" && thing.isMobxAction === true;\n}\nfunction defineBoundAction(target, propertyName, fn) {\n var res = function () {\n return executeAction(propertyName, fn, target, arguments);\n };\n res.isMobxAction = true;\n addHiddenProp(target, propertyName, res);\n}\n\nvar toString = Object.prototype.toString;\nfunction deepEqual(a, b) {\n return eq(a, b);\n}\n// Copied from https://github.com/jashkenas/underscore/blob/5c237a7c682fb68fd5378203f0bf22dce1624854/underscore.js#L1186-L1289\n// Internal recursive comparison function for `isEqual`.\nfunction eq(a, b, aStack, bStack) {\n // Identical objects are equal. `0 === -0`, but they aren't identical.\n // See the [Harmony `egal` proposal](http://wiki.ecmascript.org/doku.php?id=harmony:egal).\n if (a === b)\n return a !== 0 || 1 / a === 1 / b;\n // `null` or `undefined` only equal to itself (strict comparison).\n if (a == null || b == null)\n return false;\n // `NaN`s are equivalent, but non-reflexive.\n if (a !== a)\n return b !== b;\n // Exhaust primitive checks\n var type = typeof a;\n if (type !== \"function\" && type !== \"object\" && typeof b != \"object\")\n return false;\n return deepEq(a, b, aStack, bStack);\n}\n// Internal recursive comparison function for `isEqual`.\nfunction deepEq(a, b, aStack, bStack) {\n // Unwrap any wrapped objects.\n a = unwrap(a);\n b = unwrap(b);\n // Compare `[[Class]]` names.\n var className = toString.call(a);\n if (className !== toString.call(b))\n return false;\n switch (className) {\n // Strings, numbers, regular expressions, dates, and booleans are compared by value.\n case \"[object RegExp]\":\n // RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i')\n case \"[object String]\":\n // Primitives and their corresponding object wrappers are equivalent; thus, `\"5\"` is\n // equivalent to `new String(\"5\")`.\n return \"\" + a === \"\" + b;\n case \"[object Number]\":\n // `NaN`s are equivalent, but non-reflexive.\n // Object(NaN) is equivalent to NaN.\n if (+a !== +a)\n return +b !== +b;\n // An `egal` comparison is performed for other numeric values.\n return +a === 0 ? 1 / +a === 1 / b : +a === +b;\n case \"[object Date]\":\n case \"[object Boolean]\":\n // Coerce dates and booleans to numeric primitive values. Dates are compared by their\n // millisecond representations. Note that invalid dates with millisecond representations\n // of `NaN` are not equivalent.\n return +a === +b;\n case \"[object Symbol]\":\n return (typeof Symbol !== \"undefined\" && Symbol.valueOf.call(a) === Symbol.valueOf.call(b));\n }\n var areArrays = className === \"[object Array]\";\n if (!areArrays) {\n if (typeof a != \"object\" || typeof b != \"object\")\n return false;\n // Objects with different constructors are not equivalent, but `Object`s or `Array`s\n // from different frames are.\n var aCtor = a.constructor, bCtor = b.constructor;\n if (aCtor !== bCtor &&\n !(typeof aCtor === \"function\" &&\n aCtor instanceof aCtor &&\n typeof bCtor === \"function\" &&\n bCtor instanceof bCtor) &&\n (\"constructor\" in a && \"constructor\" in b)) {\n return false;\n }\n }\n // Assume equality for cyclic structures. The algorithm for detecting cyclic\n // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`.\n // Initializing stack of traversed objects.\n // It's done here since we only need them for objects and arrays comparison.\n aStack = aStack || [];\n bStack = bStack || [];\n var length = aStack.length;\n while (length--) {\n // Linear search. Performance is inversely proportional to the number of\n // unique nested structures.\n if (aStack[length] === a)\n return bStack[length] === b;\n }\n // Add the first object to the stack of traversed objects.\n aStack.push(a);\n bStack.push(b);\n // Recursively compare objects and arrays.\n if (areArrays) {\n // Compare array lengths to determine if a deep comparison is necessary.\n length = a.length;\n if (length !== b.length)\n return false;\n // Deep compare the contents, ignoring non-numeric properties.\n while (length--) {\n if (!eq(a[length], b[length], aStack, bStack))\n return false;\n }\n }\n else {\n // Deep compare objects.\n var keys = Object.keys(a), key;\n length = keys.length;\n // Ensure that both objects contain the same number of properties before comparing deep equality.\n if (Object.keys(b).length !== length)\n return false;\n while (length--) {\n // Deep compare each member\n key = keys[length];\n if (!(has(b, key) && eq(a[key], b[key], aStack, bStack)))\n return false;\n }\n }\n // Remove the first object from the stack of traversed objects.\n aStack.pop();\n bStack.pop();\n return true;\n}\nfunction unwrap(a) {\n if (isObservableArray(a))\n return a.peek();\n if (isObservableMap(a))\n return a.entries();\n if (isES6Map(a))\n return iteratorToArray(a.entries());\n return a;\n}\nfunction has(a, key) {\n return Object.prototype.hasOwnProperty.call(a, key);\n}\n\nfunction identityComparer(a, b) {\n return a === b;\n}\nfunction structuralComparer(a, b) {\n return deepEqual(a, b);\n}\nfunction defaultComparer(a, b) {\n return areBothNaN(a, b) || identityComparer(a, b);\n}\nvar comparer = {\n identity: identityComparer,\n structural: structuralComparer,\n default: defaultComparer\n};\n\nfunction autorun(arg1, arg2, arg3) {\n var name, view, scope;\n if (typeof arg1 === \"string\") {\n name = arg1;\n view = arg2;\n scope = arg3;\n }\n else {\n name = arg1.name || \"Autorun@\" + getNextId();\n view = arg1;\n scope = arg2;\n }\n invariant(typeof view === \"function\", getMessage(\"m004\"));\n invariant(isAction(view) === false, getMessage(\"m005\"));\n if (scope)\n view = view.bind(scope);\n var reaction = new Reaction(name, function () {\n this.track(reactionRunner);\n });\n function reactionRunner() {\n view(reaction);\n }\n reaction.schedule();\n return reaction.getDisposer();\n}\nfunction when(arg1, arg2, arg3, arg4) {\n var name, predicate, effect, scope;\n if (typeof arg1 === \"string\") {\n name = arg1;\n predicate = arg2;\n effect = arg3;\n scope = arg4;\n }\n else {\n name = \"When@\" + getNextId();\n predicate = arg1;\n effect = arg2;\n scope = arg3;\n }\n var disposer = autorun(name, function (r) {\n if (predicate.call(scope)) {\n r.dispose();\n var prevUntracked = untrackedStart();\n effect.call(scope);\n untrackedEnd(prevUntracked);\n }\n });\n return disposer;\n}\nfunction autorunAsync(arg1, arg2, arg3, arg4) {\n var name, func, delay, scope;\n if (typeof arg1 === \"string\") {\n name = arg1;\n func = arg2;\n delay = arg3;\n scope = arg4;\n }\n else {\n name = arg1.name || \"AutorunAsync@\" + getNextId();\n func = arg1;\n delay = arg2;\n scope = arg3;\n }\n invariant(isAction(func) === false, getMessage(\"m006\"));\n if (delay === void 0)\n delay = 1;\n if (scope)\n func = func.bind(scope);\n var isScheduled = false;\n var r = new Reaction(name, function () {\n if (!isScheduled) {\n isScheduled = true;\n setTimeout(function () {\n isScheduled = false;\n if (!r.isDisposed)\n r.track(reactionRunner);\n }, delay);\n }\n });\n function reactionRunner() {\n func(r);\n }\n r.schedule();\n return r.getDisposer();\n}\nfunction reaction(expression, effect, arg3) {\n if (arguments.length > 3) {\n fail(getMessage(\"m007\"));\n }\n if (isModifierDescriptor(expression)) {\n fail(getMessage(\"m008\"));\n }\n var opts;\n if (typeof arg3 === \"object\") {\n opts = arg3;\n }\n else {\n opts = {};\n }\n opts.name =\n opts.name || expression.name || effect.name || \"Reaction@\" + getNextId();\n opts.fireImmediately = arg3 === true || opts.fireImmediately === true;\n opts.delay = opts.delay || 0;\n opts.compareStructural = opts.compareStructural || opts.struct || false;\n // TODO: creates ugly spy events, use `effect = (r) => runInAction(opts.name, () => effect(r))` instead\n effect = action(opts.name, opts.context ? effect.bind(opts.context) : effect);\n if (opts.context) {\n expression = expression.bind(opts.context);\n }\n var firstTime = true;\n var isScheduled = false;\n var value;\n var equals = opts.equals\n ? opts.equals\n : opts.compareStructural || opts.struct ? comparer.structural : comparer.default;\n var r = new Reaction(opts.name, function () {\n if (firstTime || opts.delay < 1) {\n reactionRunner();\n }\n else if (!isScheduled) {\n isScheduled = true;\n setTimeout(function () {\n isScheduled = false;\n reactionRunner();\n }, opts.delay);\n }\n });\n function reactionRunner() {\n if (r.isDisposed)\n return;\n var changed = false;\n r.track(function () {\n var nextValue = expression(r);\n changed = firstTime || !equals(value, nextValue);\n value = nextValue;\n });\n if (firstTime && opts.fireImmediately)\n effect(value, r);\n if (!firstTime && changed === true)\n effect(value, r);\n if (firstTime)\n firstTime = false;\n }\n r.schedule();\n return r.getDisposer();\n}\n\n/**\n * A node in the state dependency root that observes other nodes, and can be observed itself.\n *\n * ComputedValue will remember the result of the computation for the duration of the batch, or\n * while being observed.\n *\n * During this time it will recompute only when one of its direct dependencies changed,\n * but only when it is being accessed with `ComputedValue.get()`.\n *\n * Implementation description:\n * 1. First time it's being accessed it will compute and remember result\n * give back remembered result until 2. happens\n * 2. First time any deep dependency change, propagate POSSIBLY_STALE to all observers, wait for 3.\n * 3. When it's being accessed, recompute if any shallow dependency changed.\n * if result changed: propagate STALE to all observers, that were POSSIBLY_STALE from the last step.\n * go to step 2. either way\n *\n * If at any point it's outside batch and it isn't observed: reset everything and go to 1.\n */\nvar ComputedValue = /** @class */ (function () {\n /**\n * Create a new computed value based on a function expression.\n *\n * The `name` property is for debug purposes only.\n *\n * The `equals` property specifies the comparer function to use to determine if a newly produced\n * value differs from the previous value. Two comparers are provided in the library; `defaultComparer`\n * compares based on identity comparison (===), and `structualComparer` deeply compares the structure.\n * Structural comparison can be convenient if you always produce an new aggregated object and\n * don't want to notify observers if it is structurally the same.\n * This is useful for working with vectors, mouse coordinates etc.\n */\n function ComputedValue(derivation, scope, equals, name, setter) {\n this.derivation = derivation;\n this.scope = scope;\n this.equals = equals;\n this.dependenciesState = IDerivationState.NOT_TRACKING;\n this.observing = []; // nodes we are looking at. Our value depends on these nodes\n this.newObserving = null; // during tracking it's an array with new observed observers\n this.isPendingUnobservation = false;\n this.observers = [];\n this.observersIndexes = {};\n this.diffValue = 0;\n this.runId = 0;\n this.lastAccessedBy = 0;\n this.lowestObserverState = IDerivationState.UP_TO_DATE;\n this.unboundDepsCount = 0;\n this.__mapid = \"#\" + getNextId();\n this.value = new CaughtException(null);\n this.isComputing = false; // to check for cycles\n this.isRunningSetter = false;\n this.isTracing = TraceMode.NONE;\n this.name = name || \"ComputedValue@\" + getNextId();\n if (setter)\n this.setter = createAction(name + \"-setter\", setter);\n }\n ComputedValue.prototype.onBecomeStale = function () {\n propagateMaybeChanged(this);\n };\n ComputedValue.prototype.onBecomeUnobserved = function () {\n clearObserving(this);\n this.value = undefined;\n };\n /**\n * Returns the current value of this computed value.\n * Will evaluate its computation first if needed.\n */\n ComputedValue.prototype.get = function () {\n invariant(!this.isComputing, \"Cycle detected in computation \" + this.name, this.derivation);\n if (globalState.inBatch === 0) {\n // This is an minor optimization which could be omitted to simplify the code\n // The computedValue is accessed outside of any mobx stuff. Batch observing should be enough and don't need\n // tracking as it will never be called again inside this batch.\n startBatch();\n if (shouldCompute(this)) {\n if (this.isTracing !== TraceMode.NONE) {\n console.log(\"[mobx.trace] '\" + this\n .name + \"' is being read outside a reactive context and doing a full recompute\");\n }\n this.value = this.computeValue(false);\n }\n endBatch();\n }\n else {\n reportObserved(this);\n if (shouldCompute(this))\n if (this.trackAndCompute())\n propagateChangeConfirmed(this);\n }\n var result = this.value;\n if (isCaughtException(result))\n throw result.cause;\n return result;\n };\n ComputedValue.prototype.peek = function () {\n var res = this.computeValue(false);\n if (isCaughtException(res))\n throw res.cause;\n return res;\n };\n ComputedValue.prototype.set = function (value) {\n if (this.setter) {\n invariant(!this.isRunningSetter, \"The setter of computed value '\" + this\n .name + \"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?\");\n this.isRunningSetter = true;\n try {\n this.setter.call(this.scope, value);\n }\n finally {\n this.isRunningSetter = false;\n }\n }\n else\n invariant(false, \"[ComputedValue '\" + this\n .name + \"'] It is not possible to assign a new value to a computed value.\");\n };\n ComputedValue.prototype.trackAndCompute = function () {\n if (isSpyEnabled()) {\n spyReport({\n object: this.scope,\n type: \"compute\",\n fn: this.derivation\n });\n }\n var oldValue = this.value;\n var wasSuspended = \n /* see #1208 */ this.dependenciesState === IDerivationState.NOT_TRACKING;\n var newValue = (this.value = this.computeValue(true));\n return (wasSuspended ||\n isCaughtException(oldValue) ||\n isCaughtException(newValue) ||\n !this.equals(oldValue, newValue));\n };\n ComputedValue.prototype.computeValue = function (track) {\n this.isComputing = true;\n globalState.computationDepth++;\n var res;\n if (track) {\n res = trackDerivedFunction(this, this.derivation, this.scope);\n }\n else {\n try {\n res = this.derivation.call(this.scope);\n }\n catch (e) {\n res = new CaughtException(e);\n }\n }\n globalState.computationDepth--;\n this.isComputing = false;\n return res;\n };\n ComputedValue.prototype.observe = function (listener, fireImmediately) {\n var _this = this;\n var firstTime = true;\n var prevValue = undefined;\n return autorun(function () {\n var newValue = _this.get();\n if (!firstTime || fireImmediately) {\n var prevU = untrackedStart();\n listener({\n type: \"update\",\n object: _this,\n newValue: newValue,\n oldValue: prevValue\n });\n untrackedEnd(prevU);\n }\n firstTime = false;\n prevValue = newValue;\n });\n };\n ComputedValue.prototype.toJSON = function () {\n return this.get();\n };\n ComputedValue.prototype.toString = function () {\n return this.name + \"[\" + this.derivation.toString() + \"]\";\n };\n ComputedValue.prototype.valueOf = function () {\n return toPrimitive(this.get());\n };\n ComputedValue.prototype.whyRun = function () {\n var isTracking = Boolean(globalState.trackingDerivation);\n var observing = unique(this.isComputing ? this.newObserving : this.observing).map(function (dep) { return dep.name; });\n var observers = unique(getObservers(this).map(function (dep) { return dep.name; }));\n return (\"\\nWhyRun? computation '\" + this.name + \"':\\n * Running because: \" + (isTracking\n ? \"[active] the value of this computation is needed by a reaction\"\n : this.isComputing\n ? \"[get] The value of this computed was requested outside a reaction\"\n : \"[idle] not running at the moment\") + \"\\n\" +\n (this.dependenciesState === IDerivationState.NOT_TRACKING\n ? getMessage(\"m032\")\n : \" * This computation will re-run if any of the following observables changes:\\n \" + joinStrings(observing) + \"\\n \" + (this.isComputing && isTracking\n ? \" (... or any observable accessed during the remainder of the current run)\"\n : \"\") + \"\\n \" + getMessage(\"m038\") + \"\\n\\n * If the outcome of this computation changes, the following observers will be re-run:\\n \" + joinStrings(observers) + \"\\n\"));\n };\n return ComputedValue;\n}());\nComputedValue.prototype[primitiveSymbol()] = ComputedValue.prototype.valueOf;\nvar isComputedValue = createInstanceofPredicate(\"ComputedValue\", ComputedValue);\n\nvar ObservableObjectAdministration = /** @class */ (function () {\n function ObservableObjectAdministration(target, name) {\n this.target = target;\n this.name = name;\n this.values = {};\n this.changeListeners = null;\n this.interceptors = null;\n }\n /**\n * Observes this object. Triggers for the events 'add', 'update' and 'delete'.\n * See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/observe\n * for callback details\n */\n ObservableObjectAdministration.prototype.observe = function (callback, fireImmediately) {\n invariant(fireImmediately !== true, \"`observe` doesn't support the fire immediately property for observable objects.\");\n return registerListener(this, callback);\n };\n ObservableObjectAdministration.prototype.intercept = function (handler) {\n return registerInterceptor(this, handler);\n };\n return ObservableObjectAdministration;\n}());\nfunction asObservableObject(target, name) {\n if (isObservableObject(target) && target.hasOwnProperty(\"$mobx\"))\n return target.$mobx;\n invariant(Object.isExtensible(target), getMessage(\"m035\"));\n if (!isPlainObject(target))\n name = (target.constructor.name || \"ObservableObject\") + \"@\" + getNextId();\n if (!name)\n name = \"ObservableObject@\" + getNextId();\n var adm = new ObservableObjectAdministration(target, name);\n addHiddenFinalProp(target, \"$mobx\", adm);\n return adm;\n}\nfunction defineObservablePropertyFromDescriptor(adm, propName, descriptor, defaultEnhancer) {\n if (adm.values[propName] && !isComputedValue(adm.values[propName])) {\n // already observable property\n invariant(\"value\" in descriptor, \"The property \" + propName + \" in \" + adm.name + \" is already observable, cannot redefine it as computed property\");\n adm.target[propName] = descriptor.value; // the property setter will make 'value' reactive if needed.\n return;\n }\n // not yet observable property\n if (\"value\" in descriptor) {\n // not a computed value\n if (isModifierDescriptor(descriptor.value)) {\n // x : ref(someValue)\n var modifierDescriptor = descriptor.value;\n defineObservableProperty(adm, propName, modifierDescriptor.initialValue, modifierDescriptor.enhancer);\n }\n else if (isAction(descriptor.value) && descriptor.value.autoBind === true) {\n defineBoundAction(adm.target, propName, descriptor.value.originalFn);\n }\n else if (isComputedValue(descriptor.value)) {\n // x: computed(someExpr)\n defineComputedPropertyFromComputedValue(adm, propName, descriptor.value);\n }\n else {\n // x: someValue\n defineObservableProperty(adm, propName, descriptor.value, defaultEnhancer);\n }\n }\n else {\n // get x() { return 3 } set x(v) { }\n defineComputedProperty(adm, propName, descriptor.get, descriptor.set, comparer.default, true);\n }\n}\nfunction defineObservableProperty(adm, propName, newValue, enhancer) {\n assertPropertyConfigurable(adm.target, propName);\n if (hasInterceptors(adm)) {\n var change = interceptChange(adm, {\n object: adm.target,\n name: propName,\n type: \"add\",\n newValue: newValue\n });\n if (!change)\n return;\n newValue = change.newValue;\n }\n var observable = (adm.values[propName] = new ObservableValue(newValue, enhancer, adm.name + \".\" + propName, false));\n newValue = observable.value; // observableValue might have changed it\n Object.defineProperty(adm.target, propName, generateObservablePropConfig(propName));\n notifyPropertyAddition(adm, adm.target, propName, newValue);\n}\nfunction defineComputedProperty(adm, propName, getter, setter, equals, asInstanceProperty) {\n if (asInstanceProperty)\n assertPropertyConfigurable(adm.target, propName);\n adm.values[propName] = new ComputedValue(getter, adm.target, equals, adm.name + \".\" + propName, setter);\n if (asInstanceProperty) {\n Object.defineProperty(adm.target, propName, generateComputedPropConfig(propName));\n }\n}\nfunction defineComputedPropertyFromComputedValue(adm, propName, computedValue) {\n var name = adm.name + \".\" + propName;\n computedValue.name = name;\n if (!computedValue.scope)\n computedValue.scope = adm.target;\n adm.values[propName] = computedValue;\n Object.defineProperty(adm.target, propName, generateComputedPropConfig(propName));\n}\nvar observablePropertyConfigs = {};\nvar computedPropertyConfigs = {};\nfunction generateObservablePropConfig(propName) {\n return (observablePropertyConfigs[propName] ||\n (observablePropertyConfigs[propName] = {\n configurable: true,\n enumerable: true,\n get: function () {\n return this.$mobx.values[propName].get();\n },\n set: function (v) {\n setPropertyValue(this, propName, v);\n }\n }));\n}\nfunction generateComputedPropConfig(propName) {\n return (computedPropertyConfigs[propName] ||\n (computedPropertyConfigs[propName] = {\n configurable: true,\n enumerable: false,\n get: function () {\n return this.$mobx.values[propName].get();\n },\n set: function (v) {\n return this.$mobx.values[propName].set(v);\n }\n }));\n}\nfunction setPropertyValue(instance, name, newValue) {\n var adm = instance.$mobx;\n var observable = adm.values[name];\n // intercept\n if (hasInterceptors(adm)) {\n var change = interceptChange(adm, {\n type: \"update\",\n object: instance,\n name: name,\n newValue: newValue\n });\n if (!change)\n return;\n newValue = change.newValue;\n }\n newValue = observable.prepareNewValue(newValue);\n // notify spy & observers\n if (newValue !== UNCHANGED) {\n var notify = hasListeners(adm);\n var notifySpy = isSpyEnabled();\n var change = notify || notifySpy\n ? {\n type: \"update\",\n object: instance,\n oldValue: observable.value,\n name: name,\n newValue: newValue\n }\n : null;\n if (notifySpy)\n spyReportStart(change);\n observable.setNewValue(newValue);\n if (notify)\n notifyListeners(adm, change);\n if (notifySpy)\n spyReportEnd();\n }\n}\nfunction notifyPropertyAddition(adm, object, name, newValue) {\n var notify = hasListeners(adm);\n var notifySpy = isSpyEnabled();\n var change = notify || notifySpy\n ? {\n type: \"add\",\n object: object,\n name: name,\n newValue: newValue\n }\n : null;\n if (notifySpy)\n spyReportStart(change);\n if (notify)\n notifyListeners(adm, change);\n if (notifySpy)\n spyReportEnd();\n}\nvar isObservableObjectAdministration = createInstanceofPredicate(\"ObservableObjectAdministration\", ObservableObjectAdministration);\nfunction isObservableObject(thing) {\n if (isObject(thing)) {\n // Initializers run lazily when transpiling to babel, so make sure they are run...\n runLazyInitializers(thing);\n return isObservableObjectAdministration(thing.$mobx);\n }\n return false;\n}\n\n/**\n * Returns true if the provided value is reactive.\n * @param value object, function or array\n * @param property if property is specified, checks whether value.property is reactive.\n */\nfunction isObservable(value, property) {\n if (value === null || value === undefined)\n return false;\n if (property !== undefined) {\n if (isObservableArray(value) || isObservableMap(value))\n throw new Error(getMessage(\"m019\"));\n else if (isObservableObject(value)) {\n var o = value.$mobx;\n return o.values && !!o.values[property];\n }\n return false;\n }\n // For first check, see #701\n return (isObservableObject(value) ||\n !!value.$mobx ||\n isAtom(value) ||\n isReaction(value) ||\n isComputedValue(value));\n}\n\nfunction createDecoratorForEnhancer(enhancer) {\n invariant(!!enhancer, \":(\");\n return createClassPropertyDecorator(function (target, name, baseValue, _, baseDescriptor) {\n assertPropertyConfigurable(target, name);\n invariant(!baseDescriptor || !baseDescriptor.get, getMessage(\"m022\"));\n var adm = asObservableObject(target, undefined);\n defineObservableProperty(adm, name, baseValue, enhancer);\n }, function (name) {\n var observable = this.$mobx.values[name];\n if (observable === undefined // See #505\n )\n return undefined;\n return observable.get();\n }, function (name, value) {\n setPropertyValue(this, name, value);\n }, true, false);\n}\n\nfunction extendObservable(target) {\n var properties = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n properties[_i - 1] = arguments[_i];\n }\n return extendObservableHelper(target, deepEnhancer, properties);\n}\nfunction extendShallowObservable(target) {\n var properties = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n properties[_i - 1] = arguments[_i];\n }\n return extendObservableHelper(target, referenceEnhancer, properties);\n}\nfunction extendObservableHelper(target, defaultEnhancer, properties) {\n invariant(arguments.length >= 2, getMessage(\"m014\"));\n invariant(typeof target === \"object\", getMessage(\"m015\"));\n invariant(!isObservableMap(target), getMessage(\"m016\"));\n properties.forEach(function (propSet) {\n invariant(typeof propSet === \"object\", getMessage(\"m017\"));\n invariant(!isObservable(propSet), getMessage(\"m018\"));\n });\n var adm = asObservableObject(target);\n var definedProps = {};\n // Note could be optimised if properties.length === 1\n for (var i = properties.length - 1; i >= 0; i--) {\n var propSet = properties[i];\n for (var key in propSet)\n if (definedProps[key] !== true && hasOwnProperty(propSet, key)) {\n definedProps[key] = true;\n if (target === propSet && !isPropertyConfigurable(target, key))\n continue; // see #111, skip non-configurable or non-writable props for `observable(object)`.\n var descriptor = Object.getOwnPropertyDescriptor(propSet, key);\n defineObservablePropertyFromDescriptor(adm, key, descriptor, defaultEnhancer);\n }\n }\n return target;\n}\n\nvar deepDecorator = createDecoratorForEnhancer(deepEnhancer);\nvar shallowDecorator = createDecoratorForEnhancer(shallowEnhancer);\nvar refDecorator = createDecoratorForEnhancer(referenceEnhancer);\nvar deepStructDecorator = createDecoratorForEnhancer(deepStructEnhancer);\nvar refStructDecorator = createDecoratorForEnhancer(refStructEnhancer);\n/**\n * Turns an object, array or function into a reactive structure.\n * @param v the value which should become observable.\n */\nfunction createObservable(v) {\n if (v === void 0) { v = undefined; }\n // @observable someProp;\n if (typeof arguments[1] === \"string\")\n return deepDecorator.apply(null, arguments);\n invariant(arguments.length <= 1, getMessage(\"m021\"));\n invariant(!isModifierDescriptor(v), getMessage(\"m020\"));\n // it is an observable already, done\n if (isObservable(v))\n return v;\n // something that can be converted and mutated?\n var res = deepEnhancer(v, undefined, undefined);\n // this value could be converted to a new observable data structure, return it\n if (res !== v)\n return res;\n // otherwise, just box it\n return observable.box(v);\n}\nvar observableFactories = {\n box: function (value, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"box\");\n return new ObservableValue(value, deepEnhancer, name);\n },\n shallowBox: function (value, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"shallowBox\");\n return new ObservableValue(value, referenceEnhancer, name);\n },\n array: function (initialValues, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"array\");\n return new ObservableArray(initialValues, deepEnhancer, name);\n },\n shallowArray: function (initialValues, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"shallowArray\");\n return new ObservableArray(initialValues, referenceEnhancer, name);\n },\n map: function (initialValues, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"map\");\n return new ObservableMap(initialValues, deepEnhancer, name);\n },\n shallowMap: function (initialValues, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"shallowMap\");\n return new ObservableMap(initialValues, referenceEnhancer, name);\n },\n object: function (props, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"object\");\n var res = {};\n // convert to observable object\n asObservableObject(res, name);\n // add properties\n extendObservable(res, props);\n return res;\n },\n shallowObject: function (props, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"shallowObject\");\n var res = {};\n asObservableObject(res, name);\n extendShallowObservable(res, props);\n return res;\n },\n ref: function () {\n if (arguments.length < 2) {\n // although ref creates actually a modifier descriptor, the type of the resultig properties\n // of the object is `T` in the end, when the descriptors are interpreted\n return createModifierDescriptor(referenceEnhancer, arguments[0]);\n }\n else {\n return refDecorator.apply(null, arguments);\n }\n },\n shallow: function () {\n if (arguments.length < 2) {\n // although ref creates actually a modifier descriptor, the type of the resultig properties\n // of the object is `T` in the end, when the descriptors are interpreted\n return createModifierDescriptor(shallowEnhancer, arguments[0]);\n }\n else {\n return shallowDecorator.apply(null, arguments);\n }\n },\n deep: function () {\n if (arguments.length < 2) {\n // although ref creates actually a modifier descriptor, the type of the resultig properties\n // of the object is `T` in the end, when the descriptors are interpreted\n return createModifierDescriptor(deepEnhancer, arguments[0]);\n }\n else {\n return deepDecorator.apply(null, arguments);\n }\n },\n struct: function () {\n if (arguments.length < 2) {\n // although ref creates actually a modifier descriptor, the type of the resultig properties\n // of the object is `T` in the end, when the descriptors are interpreted\n return createModifierDescriptor(deepStructEnhancer, arguments[0]);\n }\n else {\n return deepStructDecorator.apply(null, arguments);\n }\n }\n};\nvar observable = createObservable;\n// weird trick to keep our typings nicely with our funcs, and still extend the observable function\nObject.keys(observableFactories).forEach(function (name) { return (observable[name] = observableFactories[name]); });\nobservable.deep.struct = observable.struct;\nobservable.ref.struct = function () {\n if (arguments.length < 2) {\n return createModifierDescriptor(refStructEnhancer, arguments[0]);\n }\n else {\n return refStructDecorator.apply(null, arguments);\n }\n};\nfunction incorrectlyUsedAsDecorator(methodName) {\n fail(\"Expected one or two arguments to observable.\" + methodName + \". Did you accidentally try to use observable.\" + methodName + \" as decorator?\");\n}\n\nfunction isModifierDescriptor(thing) {\n return typeof thing === \"object\" && thing !== null && thing.isMobxModifierDescriptor === true;\n}\nfunction createModifierDescriptor(enhancer, initialValue) {\n invariant(!isModifierDescriptor(initialValue), \"Modifiers cannot be nested\");\n return {\n isMobxModifierDescriptor: true,\n initialValue: initialValue,\n enhancer: enhancer\n };\n}\nfunction deepEnhancer(v, _, name) {\n if (isModifierDescriptor(v))\n fail(\"You tried to assign a modifier wrapped value to a collection, please define modifiers when creating the collection, not when modifying it\");\n // it is an observable already, done\n if (isObservable(v))\n return v;\n // something that can be converted and mutated?\n if (Array.isArray(v))\n return observable.array(v, name);\n if (isPlainObject(v))\n return observable.object(v, name);\n if (isES6Map(v))\n return observable.map(v, name);\n return v;\n}\nfunction shallowEnhancer(v, _, name) {\n if (isModifierDescriptor(v))\n fail(\"You tried to assign a modifier wrapped value to a collection, please define modifiers when creating the collection, not when modifying it\");\n if (v === undefined || v === null)\n return v;\n if (isObservableObject(v) || isObservableArray(v) || isObservableMap(v))\n return v;\n if (Array.isArray(v))\n return observable.shallowArray(v, name);\n if (isPlainObject(v))\n return observable.shallowObject(v, name);\n if (isES6Map(v))\n return observable.shallowMap(v, name);\n return fail(\"The shallow modifier / decorator can only used in combination with arrays, objects and maps\");\n}\nfunction referenceEnhancer(newValue) {\n // never turn into an observable\n return newValue;\n}\nfunction deepStructEnhancer(v, oldValue, name) {\n // don't confuse structurally compare enhancer with ref enhancer! The latter is probably\n // more suited for immutable objects\n if (deepEqual(v, oldValue))\n return oldValue;\n // it is an observable already, done\n if (isObservable(v))\n return v;\n // something that can be converted and mutated?\n if (Array.isArray(v))\n return new ObservableArray(v, deepStructEnhancer, name);\n if (isES6Map(v))\n return new ObservableMap(v, deepStructEnhancer, name);\n if (isPlainObject(v)) {\n var res = {};\n asObservableObject(res, name);\n extendObservableHelper(res, deepStructEnhancer, [v]);\n return res;\n }\n return v;\n}\nfunction refStructEnhancer(v, oldValue, name) {\n if (deepEqual(v, oldValue))\n return oldValue;\n return v;\n}\n\n/**\n * During a transaction no views are updated until the end of the transaction.\n * The transaction will be run synchronously nonetheless.\n *\n * @param action a function that updates some reactive state\n * @returns any value that was returned by the 'action' parameter.\n */\nfunction transaction(action, thisArg) {\n if (thisArg === void 0) { thisArg = undefined; }\n startBatch();\n try {\n return action.apply(thisArg);\n }\n finally {\n endBatch();\n }\n}\n\nvar ObservableMapMarker = {};\nvar ObservableMap = /** @class */ (function () {\n function ObservableMap(initialData, enhancer, name) {\n if (enhancer === void 0) { enhancer = deepEnhancer; }\n if (name === void 0) { name = \"ObservableMap@\" + getNextId(); }\n this.enhancer = enhancer;\n this.name = name;\n this.$mobx = ObservableMapMarker;\n this._data = Object.create(null);\n this._hasMap = Object.create(null); // hasMap, not hashMap >-).\n this._keys = new ObservableArray(undefined, referenceEnhancer, this.name + \".keys()\", true);\n this.interceptors = null;\n this.changeListeners = null;\n this.dehancer = undefined;\n this.merge(initialData);\n }\n ObservableMap.prototype._has = function (key) {\n return typeof this._data[key] !== \"undefined\";\n };\n ObservableMap.prototype.has = function (key) {\n if (!this.isValidKey(key))\n return false;\n key = \"\" + key;\n if (this._hasMap[key])\n return this._hasMap[key].get();\n return this._updateHasMapEntry(key, false).get();\n };\n ObservableMap.prototype.set = function (key, value) {\n this.assertValidKey(key);\n key = \"\" + key;\n var hasKey = this._has(key);\n if (hasInterceptors(this)) {\n var change = interceptChange(this, {\n type: hasKey ? \"update\" : \"add\",\n object: this,\n newValue: value,\n name: key\n });\n if (!change)\n return this;\n value = change.newValue;\n }\n if (hasKey) {\n this._updateValue(key, value);\n }\n else {\n this._addValue(key, value);\n }\n return this;\n };\n ObservableMap.prototype.delete = function (key) {\n var _this = this;\n this.assertValidKey(key);\n key = \"\" + key;\n if (hasInterceptors(this)) {\n var change = interceptChange(this, {\n type: \"delete\",\n object: this,\n name: key\n });\n if (!change)\n return false;\n }\n if (this._has(key)) {\n var notifySpy = isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy\n ? {\n type: \"delete\",\n object: this,\n oldValue: this._data[key].value,\n name: key\n }\n : null;\n if (notifySpy)\n spyReportStart(change);\n transaction(function () {\n _this._keys.remove(key);\n _this._updateHasMapEntry(key, false);\n var observable$$1 = _this._data[key];\n observable$$1.setNewValue(undefined);\n _this._data[key] = undefined;\n });\n if (notify)\n notifyListeners(this, change);\n if (notifySpy)\n spyReportEnd();\n return true;\n }\n return false;\n };\n ObservableMap.prototype._updateHasMapEntry = function (key, value) {\n // optimization; don't fill the hasMap if we are not observing, or remove entry if there are no observers anymore\n var entry = this._hasMap[key];\n if (entry) {\n entry.setNewValue(value);\n }\n else {\n entry = this._hasMap[key] = new ObservableValue(value, referenceEnhancer, this.name + \".\" + key + \"?\", false);\n }\n return entry;\n };\n ObservableMap.prototype._updateValue = function (name, newValue) {\n var observable$$1 = this._data[name];\n newValue = observable$$1.prepareNewValue(newValue);\n if (newValue !== UNCHANGED) {\n var notifySpy = isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy\n ? {\n type: \"update\",\n object: this,\n oldValue: observable$$1.value,\n name: name,\n newValue: newValue\n }\n : null;\n if (notifySpy)\n spyReportStart(change);\n observable$$1.setNewValue(newValue);\n if (notify)\n notifyListeners(this, change);\n if (notifySpy)\n spyReportEnd();\n }\n };\n ObservableMap.prototype._addValue = function (name, newValue) {\n var _this = this;\n transaction(function () {\n var observable$$1 = (_this._data[name] = new ObservableValue(newValue, _this.enhancer, _this.name + \".\" + name, false));\n newValue = observable$$1.value; // value might have been changed\n _this._updateHasMapEntry(name, true);\n _this._keys.push(name);\n });\n var notifySpy = isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy\n ? {\n type: \"add\",\n object: this,\n name: name,\n newValue: newValue\n }\n : null;\n if (notifySpy)\n spyReportStart(change);\n if (notify)\n notifyListeners(this, change);\n if (notifySpy)\n spyReportEnd();\n };\n ObservableMap.prototype.get = function (key) {\n key = \"\" + key;\n if (this.has(key))\n return this.dehanceValue(this._data[key].get());\n return this.dehanceValue(undefined);\n };\n ObservableMap.prototype.dehanceValue = function (value) {\n if (this.dehancer !== undefined) {\n return this.dehancer(value);\n }\n return value;\n };\n ObservableMap.prototype.keys = function () {\n return arrayAsIterator(this._keys.slice());\n };\n ObservableMap.prototype.values = function () {\n return arrayAsIterator(this._keys.map(this.get, this));\n };\n ObservableMap.prototype.entries = function () {\n var _this = this;\n return arrayAsIterator(this._keys.map(function (key) { return [key, _this.get(key)]; }));\n };\n ObservableMap.prototype.forEach = function (callback, thisArg) {\n var _this = this;\n this.keys().forEach(function (key) { return callback.call(thisArg, _this.get(key), key, _this); });\n };\n /** Merge another object into this object, returns this. */\n ObservableMap.prototype.merge = function (other) {\n var _this = this;\n if (isObservableMap(other)) {\n other = other.toJS();\n }\n transaction(function () {\n if (isPlainObject(other))\n Object.keys(other).forEach(function (key) { return _this.set(key, other[key]); });\n else if (Array.isArray(other))\n other.forEach(function (_a) {\n var key = _a[0], value = _a[1];\n return _this.set(key, value);\n });\n else if (isES6Map(other))\n other.forEach(function (value, key) { return _this.set(key, value); });\n else if (other !== null && other !== undefined)\n fail(\"Cannot initialize map from \" + other);\n });\n return this;\n };\n ObservableMap.prototype.clear = function () {\n var _this = this;\n transaction(function () {\n untracked(function () {\n _this.keys().forEach(_this.delete, _this);\n });\n });\n };\n ObservableMap.prototype.replace = function (values) {\n var _this = this;\n transaction(function () {\n // grab all the keys that are present in the new map but not present in the current map\n // and delete them from the map, then merge the new map\n // this will cause reactions only on changed values\n var newKeys = getMapLikeKeys(values);\n var oldKeys = _this.keys();\n var missingKeys = oldKeys.filter(function (k) { return newKeys.indexOf(k) === -1; });\n missingKeys.forEach(function (k) { return _this.delete(k); });\n _this.merge(values);\n });\n return this;\n };\n Object.defineProperty(ObservableMap.prototype, \"size\", {\n get: function () {\n return this._keys.length;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Returns a shallow non observable object clone of this map.\n * Note that the values might still be observable. For a deep clone use mobx.toJS.\n */\n ObservableMap.prototype.toJS = function () {\n var _this = this;\n var res = {};\n this.keys().forEach(function (key) { return (res[key] = _this.get(key)); });\n return res;\n };\n ObservableMap.prototype.toJSON = function () {\n // Used by JSON.stringify\n return this.toJS();\n };\n ObservableMap.prototype.isValidKey = function (key) {\n if (key === null || key === undefined)\n return false;\n if (typeof key === \"string\" || typeof key === \"number\" || typeof key === \"boolean\")\n return true;\n return false;\n };\n ObservableMap.prototype.assertValidKey = function (key) {\n if (!this.isValidKey(key))\n throw new Error(\"[mobx.map] Invalid key: '\" + key + \"', only strings, numbers and booleans are accepted as key in observable maps.\");\n };\n ObservableMap.prototype.toString = function () {\n var _this = this;\n return (this.name +\n \"[{ \" +\n this.keys().map(function (key) { return key + \": \" + (\"\" + _this.get(key)); }).join(\", \") +\n \" }]\");\n };\n /**\n * Observes this object. Triggers for the events 'add', 'update' and 'delete'.\n * See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/observe\n * for callback details\n */\n ObservableMap.prototype.observe = function (listener, fireImmediately) {\n invariant(fireImmediately !== true, getMessage(\"m033\"));\n return registerListener(this, listener);\n };\n ObservableMap.prototype.intercept = function (handler) {\n return registerInterceptor(this, handler);\n };\n return ObservableMap;\n}());\ndeclareIterator(ObservableMap.prototype, function () {\n return this.entries();\n});\nfunction map(initialValues) {\n deprecated(\"`mobx.map` is deprecated, use `new ObservableMap` or `mobx.observable.map` instead\");\n return observable.map(initialValues);\n}\n/* 'var' fixes small-build issue */\nvar isObservableMap = createInstanceofPredicate(\"ObservableMap\", ObservableMap);\n\nvar EMPTY_ARRAY = [];\nObject.freeze(EMPTY_ARRAY);\nfunction getGlobal() {\n return typeof window !== \"undefined\" ? window : global;\n}\nfunction getNextId() {\n return ++globalState.mobxGuid;\n}\nfunction fail(message, thing) {\n invariant(false, message, thing);\n throw \"X\"; // unreachable\n}\nfunction invariant(check, message, thing) {\n if (!check)\n throw new Error(\"[mobx] Invariant failed: \" + message + (thing ? \" in '\" + thing + \"'\" : \"\"));\n}\n/**\n * Prints a deprecation message, but only one time.\n * Returns false if the deprecated message was already printed before\n */\nvar deprecatedMessages = [];\nfunction deprecated(msg) {\n if (deprecatedMessages.indexOf(msg) !== -1)\n return false;\n deprecatedMessages.push(msg);\n console.error(\"[mobx] Deprecated: \" + msg);\n return true;\n}\n/**\n * Makes sure that the provided function is invoked at most once.\n */\nfunction once(func) {\n var invoked = false;\n return function () {\n if (invoked)\n return;\n invoked = true;\n return func.apply(this, arguments);\n };\n}\nvar noop = function () { };\nfunction unique(list) {\n var res = [];\n list.forEach(function (item) {\n if (res.indexOf(item) === -1)\n res.push(item);\n });\n return res;\n}\nfunction joinStrings(things, limit, separator) {\n if (limit === void 0) { limit = 100; }\n if (separator === void 0) { separator = \" - \"; }\n if (!things)\n return \"\";\n var sliced = things.slice(0, limit);\n return \"\" + sliced.join(separator) + (things.length > limit\n ? \" (... and \" + (things.length - limit) + \"more)\"\n : \"\");\n}\nfunction isObject(value) {\n return value !== null && typeof value === \"object\";\n}\nfunction isPlainObject(value) {\n if (value === null || typeof value !== \"object\")\n return false;\n var proto = Object.getPrototypeOf(value);\n return proto === Object.prototype || proto === null;\n}\nfunction objectAssign() {\n var res = arguments[0];\n for (var i = 1, l = arguments.length; i < l; i++) {\n var source = arguments[i];\n for (var key in source)\n if (hasOwnProperty(source, key)) {\n res[key] = source[key];\n }\n }\n return res;\n}\nvar prototypeHasOwnProperty = Object.prototype.hasOwnProperty;\nfunction hasOwnProperty(object, propName) {\n return prototypeHasOwnProperty.call(object, propName);\n}\nfunction makeNonEnumerable(object, propNames) {\n for (var i = 0; i < propNames.length; i++) {\n addHiddenProp(object, propNames[i], object[propNames[i]]);\n }\n}\nfunction addHiddenProp(object, propName, value) {\n Object.defineProperty(object, propName, {\n enumerable: false,\n writable: true,\n configurable: true,\n value: value\n });\n}\nfunction addHiddenFinalProp(object, propName, value) {\n Object.defineProperty(object, propName, {\n enumerable: false,\n writable: false,\n configurable: true,\n value: value\n });\n}\nfunction isPropertyConfigurable(object, prop) {\n var descriptor = Object.getOwnPropertyDescriptor(object, prop);\n return !descriptor || (descriptor.configurable !== false && descriptor.writable !== false);\n}\nfunction assertPropertyConfigurable(object, prop) {\n invariant(isPropertyConfigurable(object, prop), \"Cannot make property '\" + prop + \"' observable, it is not configurable and writable in the target object\");\n}\nfunction createInstanceofPredicate(name, clazz) {\n var propName = \"isMobX\" + name;\n clazz.prototype[propName] = true;\n return function (x) {\n return isObject(x) && x[propName] === true;\n };\n}\nfunction areBothNaN(a, b) {\n return typeof a === \"number\" && typeof b === \"number\" && isNaN(a) && isNaN(b);\n}\n/**\n * Returns whether the argument is an array, disregarding observability.\n */\nfunction isArrayLike(x) {\n return Array.isArray(x) || isObservableArray(x);\n}\nfunction isES6Map(thing) {\n if (getGlobal().Map !== undefined && thing instanceof getGlobal().Map)\n return true;\n return false;\n}\nfunction getMapLikeKeys(map$$1) {\n if (isPlainObject(map$$1))\n return Object.keys(map$$1);\n if (Array.isArray(map$$1))\n return map$$1.map(function (_a) {\n var key = _a[0];\n return key;\n });\n if (isES6Map(map$$1))\n return Array.from(map$$1.keys());\n if (isObservableMap(map$$1))\n return map$$1.keys();\n return fail(\"Cannot get keys from \" + map$$1);\n}\nfunction iteratorToArray(it) {\n var res = [];\n while (true) {\n var r = it.next();\n if (r.done)\n break;\n res.push(r.value);\n }\n return res;\n}\nfunction primitiveSymbol() {\n return (typeof Symbol === \"function\" && Symbol.toPrimitive) || \"@@toPrimitive\";\n}\nfunction toPrimitive(value) {\n return value === null ? null : typeof value === \"object\" ? \"\" + value : value;\n}\n\n/**\n * These values will persist if global state is reset\n */\nvar persistentKeys = [\"mobxGuid\", \"resetId\", \"spyListeners\", \"strictMode\", \"runId\"];\nvar MobXGlobals = /** @class */ (function () {\n function MobXGlobals() {\n /**\n * MobXGlobals version.\n * MobX compatiblity with other versions loaded in memory as long as this version matches.\n * It indicates that the global state still stores similar information\n */\n this.version = 5;\n /**\n * Currently running derivation\n */\n this.trackingDerivation = null;\n /**\n * Are we running a computation currently? (not a reaction)\n */\n this.computationDepth = 0;\n /**\n * Each time a derivation is tracked, it is assigned a unique run-id\n */\n this.runId = 0;\n /**\n * 'guid' for general purpose. Will be persisted amongst resets.\n */\n this.mobxGuid = 0;\n /**\n * Are we in a batch block? (and how many of them)\n */\n this.inBatch = 0;\n /**\n * Observables that don't have observers anymore, and are about to be\n * suspended, unless somebody else accesses it in the same batch\n *\n * @type {IObservable[]}\n */\n this.pendingUnobservations = [];\n /**\n * List of scheduled, not yet executed, reactions.\n */\n this.pendingReactions = [];\n /**\n * Are we currently processing reactions?\n */\n this.isRunningReactions = false;\n /**\n * Is it allowed to change observables at this point?\n * In general, MobX doesn't allow that when running computations and React.render.\n * To ensure that those functions stay pure.\n */\n this.allowStateChanges = true;\n /**\n * If strict mode is enabled, state changes are by default not allowed\n */\n this.strictMode = false;\n /**\n * Used by createTransformer to detect that the global state has been reset.\n */\n this.resetId = 0;\n /**\n * Spy callbacks\n */\n this.spyListeners = [];\n /**\n * Globally attached error handlers that react specifically to errors in reactions\n */\n this.globalReactionErrorHandlers = [];\n }\n return MobXGlobals;\n}());\nvar globalState = new MobXGlobals();\nvar shareGlobalStateCalled = false;\nvar runInIsolationCalled = false;\nvar warnedAboutMultipleInstances = false;\n{\n var global_1 = getGlobal();\n if (!global_1.__mobxInstanceCount) {\n global_1.__mobxInstanceCount = 1;\n }\n else {\n global_1.__mobxInstanceCount++;\n setTimeout(function () {\n if (!shareGlobalStateCalled && !runInIsolationCalled && !warnedAboutMultipleInstances) {\n warnedAboutMultipleInstances = true;\n console.warn(\"[mobx] Warning: there are multiple mobx instances active. This might lead to unexpected results. See https://github.com/mobxjs/mobx/issues/1082 for details.\");\n }\n }, 1);\n }\n}\nfunction isolateGlobalState() {\n runInIsolationCalled = true;\n getGlobal().__mobxInstanceCount--;\n}\nfunction shareGlobalState() {\n // TODO: remove in 4.0; just use peer dependencies instead.\n deprecated(\"Using `shareGlobalState` is not recommended, use peer dependencies instead. See https://github.com/mobxjs/mobx/issues/1082 for details.\");\n shareGlobalStateCalled = true;\n var global = getGlobal();\n var ownState = globalState;\n /**\n * Backward compatibility check\n */\n if (global.__mobservableTrackingStack || global.__mobservableViewStack)\n throw new Error(\"[mobx] An incompatible version of mobservable is already loaded.\");\n if (global.__mobxGlobal && global.__mobxGlobal.version !== ownState.version)\n throw new Error(\"[mobx] An incompatible version of mobx is already loaded.\");\n if (global.__mobxGlobal)\n globalState = global.__mobxGlobal;\n else\n global.__mobxGlobal = ownState;\n}\nfunction getGlobalState() {\n return globalState;\n}\n\n/**\n * For testing purposes only; this will break the internal state of existing observables,\n * but can be used to get back at a stable state after throwing errors\n */\nfunction resetGlobalState() {\n globalState.resetId++;\n var defaultGlobals = new MobXGlobals();\n for (var key in defaultGlobals)\n if (persistentKeys.indexOf(key) === -1)\n globalState[key] = defaultGlobals[key];\n globalState.allowStateChanges = !globalState.strictMode;\n}\n\nfunction getAtom(thing, property) {\n if (typeof thing === \"object\" && thing !== null) {\n if (isObservableArray(thing)) {\n invariant(property === undefined, getMessage(\"m036\"));\n return thing.$mobx.atom;\n }\n if (isObservableMap(thing)) {\n var anyThing = thing;\n if (property === undefined)\n return getAtom(anyThing._keys);\n var observable = anyThing._data[property] || anyThing._hasMap[property];\n invariant(!!observable, \"the entry '\" + property + \"' does not exist in the observable map '\" + getDebugName(thing) + \"'\");\n return observable;\n }\n // Initializers run lazily when transpiling to babel, so make sure they are run...\n runLazyInitializers(thing);\n if (property && !thing.$mobx)\n thing[property]; // See #1072 // TODO: remove in 4.0\n if (isObservableObject(thing)) {\n if (!property)\n return fail(\"please specify a property\");\n var observable = thing.$mobx.values[property];\n invariant(!!observable, \"no observable property '\" + property + \"' found on the observable object '\" + getDebugName(thing) + \"'\");\n return observable;\n }\n if (isAtom(thing) || isComputedValue(thing) || isReaction(thing)) {\n return thing;\n }\n }\n else if (typeof thing === \"function\") {\n if (isReaction(thing.$mobx)) {\n // disposer function\n return thing.$mobx;\n }\n }\n return fail(\"Cannot obtain atom from \" + thing);\n}\nfunction getAdministration(thing, property) {\n invariant(thing, \"Expecting some object\");\n if (property !== undefined)\n return getAdministration(getAtom(thing, property));\n if (isAtom(thing) || isComputedValue(thing) || isReaction(thing))\n return thing;\n if (isObservableMap(thing))\n return thing;\n // Initializers run lazily when transpiling to babel, so make sure they are run...\n runLazyInitializers(thing);\n if (thing.$mobx)\n return thing.$mobx;\n invariant(false, \"Cannot obtain administration from \" + thing);\n}\nfunction getDebugName(thing, property) {\n var named;\n if (property !== undefined)\n named = getAtom(thing, property);\n else if (isObservableObject(thing) || isObservableMap(thing))\n named = getAdministration(thing);\n else\n named = getAtom(thing); // valid for arrays as well\n return named.name;\n}\n\nfunction getDependencyTree(thing, property) {\n return nodeToDependencyTree(getAtom(thing, property));\n}\nfunction nodeToDependencyTree(node) {\n var result = {\n name: node.name\n };\n if (node.observing && node.observing.length > 0)\n result.dependencies = unique(node.observing).map(nodeToDependencyTree);\n return result;\n}\nfunction getObserverTree(thing, property) {\n return nodeToObserverTree(getAtom(thing, property));\n}\nfunction nodeToObserverTree(node) {\n var result = {\n name: node.name\n };\n if (hasObservers(node))\n result.observers = getObservers(node).map(nodeToObserverTree);\n return result;\n}\n\nfunction hasObservers(observable) {\n return observable.observers && observable.observers.length > 0;\n}\nfunction getObservers(observable) {\n return observable.observers;\n}\nfunction addObserver(observable, node) {\n // invariant(node.dependenciesState !== -1, \"INTERNAL ERROR, can add only dependenciesState !== -1\");\n // invariant(observable._observers.indexOf(node) === -1, \"INTERNAL ERROR add already added node\");\n // invariantObservers(observable);\n var l = observable.observers.length;\n if (l) {\n // because object assignment is relatively expensive, let's not store data about index 0.\n observable.observersIndexes[node.__mapid] = l;\n }\n observable.observers[l] = node;\n if (observable.lowestObserverState > node.dependenciesState)\n observable.lowestObserverState = node.dependenciesState;\n // invariantObservers(observable);\n // invariant(observable._observers.indexOf(node) !== -1, \"INTERNAL ERROR didn't add node\");\n}\nfunction removeObserver(observable, node) {\n // invariant(globalState.inBatch > 0, \"INTERNAL ERROR, remove should be called only inside batch\");\n // invariant(observable._observers.indexOf(node) !== -1, \"INTERNAL ERROR remove already removed node\");\n // invariantObservers(observable);\n if (observable.observers.length === 1) {\n // deleting last observer\n observable.observers.length = 0;\n queueForUnobservation(observable);\n }\n else {\n // deleting from _observersIndexes is straight forward, to delete from _observers, let's swap `node` with last element\n var list = observable.observers;\n var map = observable.observersIndexes;\n var filler = list.pop(); // get last element, which should fill the place of `node`, so the array doesn't have holes\n if (filler !== node) {\n // otherwise node was the last element, which already got removed from array\n var index = map[node.__mapid] || 0; // getting index of `node`. this is the only place we actually use map.\n if (index) {\n // map store all indexes but 0, see comment in `addObserver`\n map[filler.__mapid] = index;\n }\n else {\n delete map[filler.__mapid];\n }\n list[index] = filler;\n }\n delete map[node.__mapid];\n }\n // invariantObservers(observable);\n // invariant(observable._observers.indexOf(node) === -1, \"INTERNAL ERROR remove already removed node2\");\n}\nfunction queueForUnobservation(observable) {\n if (!observable.isPendingUnobservation) {\n // invariant(globalState.inBatch > 0, \"INTERNAL ERROR, remove should be called only inside batch\");\n // invariant(observable._observers.length === 0, \"INTERNAL ERROR, should only queue for unobservation unobserved observables\");\n observable.isPendingUnobservation = true;\n globalState.pendingUnobservations.push(observable);\n }\n}\n/**\n * Batch starts a transaction, at least for purposes of memoizing ComputedValues when nothing else does.\n * During a batch `onBecomeUnobserved` will be called at most once per observable.\n * Avoids unnecessary recalculations.\n */\nfunction startBatch() {\n globalState.inBatch++;\n}\nfunction endBatch() {\n if (--globalState.inBatch === 0) {\n runReactions();\n // the batch is actually about to finish, all unobserving should happen here.\n var list = globalState.pendingUnobservations;\n for (var i = 0; i < list.length; i++) {\n var observable = list[i];\n observable.isPendingUnobservation = false;\n if (observable.observers.length === 0) {\n observable.onBecomeUnobserved();\n // NOTE: onBecomeUnobserved might push to `pendingUnobservations`\n }\n }\n globalState.pendingUnobservations = [];\n }\n}\nfunction reportObserved(observable) {\n var derivation = globalState.trackingDerivation;\n if (derivation !== null) {\n /**\n * Simple optimization, give each derivation run an unique id (runId)\n * Check if last time this observable was accessed the same runId is used\n * if this is the case, the relation is already known\n */\n if (derivation.runId !== observable.lastAccessedBy) {\n observable.lastAccessedBy = derivation.runId;\n derivation.newObserving[derivation.unboundDepsCount++] = observable;\n }\n }\n else if (observable.observers.length === 0) {\n queueForUnobservation(observable);\n }\n}\n/**\n * NOTE: current propagation mechanism will in case of self reruning autoruns behave unexpectedly\n * It will propagate changes to observers from previous run\n * It's hard or maybe impossible (with reasonable perf) to get it right with current approach\n * Hopefully self reruning autoruns aren't a feature people should depend on\n * Also most basic use cases should be ok\n */\n// Called by Atom when its value changes\nfunction propagateChanged(observable) {\n // invariantLOS(observable, \"changed start\");\n if (observable.lowestObserverState === IDerivationState.STALE)\n return;\n observable.lowestObserverState = IDerivationState.STALE;\n var observers = observable.observers;\n var i = observers.length;\n while (i--) {\n var d = observers[i];\n if (d.dependenciesState === IDerivationState.UP_TO_DATE) {\n if (d.isTracing !== TraceMode.NONE) {\n logTraceInfo(d, observable);\n }\n d.onBecomeStale();\n }\n d.dependenciesState = IDerivationState.STALE;\n }\n // invariantLOS(observable, \"changed end\");\n}\n// Called by ComputedValue when it recalculate and its value changed\nfunction propagateChangeConfirmed(observable) {\n // invariantLOS(observable, \"confirmed start\");\n if (observable.lowestObserverState === IDerivationState.STALE)\n return;\n observable.lowestObserverState = IDerivationState.STALE;\n var observers = observable.observers;\n var i = observers.length;\n while (i--) {\n var d = observers[i];\n if (d.dependenciesState === IDerivationState.POSSIBLY_STALE)\n d.dependenciesState = IDerivationState.STALE;\n else if (d.dependenciesState === IDerivationState.UP_TO_DATE // this happens during computing of `d`, just keep lowestObserverState up to date.\n )\n observable.lowestObserverState = IDerivationState.UP_TO_DATE;\n }\n // invariantLOS(observable, \"confirmed end\");\n}\n// Used by computed when its dependency changed, but we don't wan't to immediately recompute.\nfunction propagateMaybeChanged(observable) {\n // invariantLOS(observable, \"maybe start\");\n if (observable.lowestObserverState !== IDerivationState.UP_TO_DATE)\n return;\n observable.lowestObserverState = IDerivationState.POSSIBLY_STALE;\n var observers = observable.observers;\n var i = observers.length;\n while (i--) {\n var d = observers[i];\n if (d.dependenciesState === IDerivationState.UP_TO_DATE) {\n d.dependenciesState = IDerivationState.POSSIBLY_STALE;\n if (d.isTracing !== TraceMode.NONE) {\n logTraceInfo(d, observable);\n }\n d.onBecomeStale();\n }\n }\n // invariantLOS(observable, \"maybe end\");\n}\nfunction logTraceInfo(derivation, observable) {\n console.log(\"[mobx.trace] '\" + derivation.name + \"' is invalidated due to a change in: '\" + observable.name + \"'\");\n if (derivation.isTracing === TraceMode.BREAK) {\n var lines = [];\n printDepTree(getDependencyTree(derivation), lines, 1);\n // prettier-ignore\n new Function(\"debugger;\\n/*\\nTracing '\" + derivation.name + \"'\\n\\nYou are entering this break point because derivation '\" + derivation.name + \"' is being traced and '\" + observable.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\" + (derivation instanceof ComputedValue ? derivation.derivation.toString() : \"\") + \"\\n\\nThe dependencies for this derivation are:\\n\\n\" + lines.join(\"\\n\") + \"\\n*/\\n \")();\n }\n}\nfunction printDepTree(tree, lines, depth) {\n if (lines.length >= 1000) {\n lines.push(\"(and many more)\");\n return;\n }\n lines.push(\"\" + new Array(depth).join(\"\\t\") + tree.name); // MWE: not the fastest, but the easiest way :)\n if (tree.dependencies)\n tree.dependencies.forEach(function (child) { return printDepTree(child, lines, depth + 1); });\n}\n\nvar IDerivationState;\n(function (IDerivationState) {\n // before being run or (outside batch and not being observed)\n // at this point derivation is not holding any data about dependency tree\n IDerivationState[IDerivationState[\"NOT_TRACKING\"] = -1] = \"NOT_TRACKING\";\n // no shallow dependency changed since last computation\n // won't recalculate derivation\n // this is what makes mobx fast\n IDerivationState[IDerivationState[\"UP_TO_DATE\"] = 0] = \"UP_TO_DATE\";\n // some deep dependency changed, but don't know if shallow dependency changed\n // will require to check first if UP_TO_DATE or POSSIBLY_STALE\n // currently only ComputedValue will propagate POSSIBLY_STALE\n //\n // having this state is second big optimization:\n // don't have to recompute on every dependency change, but only when it's needed\n IDerivationState[IDerivationState[\"POSSIBLY_STALE\"] = 1] = \"POSSIBLY_STALE\";\n // A shallow dependency has changed since last computation and the derivation\n // will need to recompute when it's needed next.\n IDerivationState[IDerivationState[\"STALE\"] = 2] = \"STALE\";\n})(IDerivationState || (IDerivationState = {}));\nvar TraceMode;\n(function (TraceMode) {\n TraceMode[TraceMode[\"NONE\"] = 0] = \"NONE\";\n TraceMode[TraceMode[\"LOG\"] = 1] = \"LOG\";\n TraceMode[TraceMode[\"BREAK\"] = 2] = \"BREAK\";\n})(TraceMode || (TraceMode = {}));\nvar CaughtException = /** @class */ (function () {\n function CaughtException(cause) {\n this.cause = cause;\n // Empty\n }\n return CaughtException;\n}());\nfunction isCaughtException(e) {\n return e instanceof CaughtException;\n}\n/**\n * Finds out whether any dependency of the derivation has actually changed.\n * If dependenciesState is 1 then it will recalculate dependencies,\n * if any dependency changed it will propagate it by changing dependenciesState to 2.\n *\n * By iterating over the dependencies in the same order that they were reported and\n * stopping on the first change, all the recalculations are only called for ComputedValues\n * that will be tracked by derivation. That is because we assume that if the first x\n * dependencies of the derivation doesn't change then the derivation should run the same way\n * up until accessing x-th dependency.\n */\nfunction shouldCompute(derivation) {\n switch (derivation.dependenciesState) {\n case IDerivationState.UP_TO_DATE:\n return false;\n case IDerivationState.NOT_TRACKING:\n case IDerivationState.STALE:\n return true;\n case IDerivationState.POSSIBLY_STALE: {\n var prevUntracked = untrackedStart(); // no need for those computeds to be reported, they will be picked up in trackDerivedFunction.\n var obs = derivation.observing, l = obs.length;\n for (var i = 0; i < l; i++) {\n var obj = obs[i];\n if (isComputedValue(obj)) {\n try {\n obj.get();\n }\n catch (e) {\n // we are not interested in the value *or* exception at this moment, but if there is one, notify all\n untrackedEnd(prevUntracked);\n return true;\n }\n // if ComputedValue `obj` actually changed it will be computed and propagated to its observers.\n // and `derivation` is an observer of `obj`\n if (derivation.dependenciesState === IDerivationState.STALE) {\n untrackedEnd(prevUntracked);\n return true;\n }\n }\n }\n changeDependenciesStateTo0(derivation);\n untrackedEnd(prevUntracked);\n return false;\n }\n }\n}\nfunction isComputingDerivation() {\n return globalState.trackingDerivation !== null; // filter out actions inside computations\n}\nfunction checkIfStateModificationsAreAllowed(atom) {\n var hasObservers$$1 = atom.observers.length > 0;\n // Should never be possible to change an observed observable from inside computed, see #798\n if (globalState.computationDepth > 0 && hasObservers$$1)\n fail(getMessage(\"m031\") + atom.name);\n // Should not be possible to change observed state outside strict mode, except during initialization, see #563\n if (!globalState.allowStateChanges && hasObservers$$1)\n fail(getMessage(globalState.strictMode ? \"m030a\" : \"m030b\") + atom.name);\n}\n/**\n * Executes the provided function `f` and tracks which observables are being accessed.\n * The tracking information is stored on the `derivation` object and the derivation is registered\n * as observer of any of the accessed observables.\n */\nfunction trackDerivedFunction(derivation, f, context) {\n // pre allocate array allocation + room for variation in deps\n // array will be trimmed by bindDependencies\n changeDependenciesStateTo0(derivation);\n derivation.newObserving = new Array(derivation.observing.length + 100);\n derivation.unboundDepsCount = 0;\n derivation.runId = ++globalState.runId;\n var prevTracking = globalState.trackingDerivation;\n globalState.trackingDerivation = derivation;\n var result;\n try {\n result = f.call(context);\n }\n catch (e) {\n result = new CaughtException(e);\n }\n globalState.trackingDerivation = prevTracking;\n bindDependencies(derivation);\n return result;\n}\n/**\n * diffs newObserving with observing.\n * update observing to be newObserving with unique observables\n * notify observers that become observed/unobserved\n */\nfunction bindDependencies(derivation) {\n // invariant(derivation.dependenciesState !== IDerivationState.NOT_TRACKING, \"INTERNAL ERROR bindDependencies expects derivation.dependenciesState !== -1\");\n var prevObserving = derivation.observing;\n var observing = (derivation.observing = derivation.newObserving);\n var lowestNewObservingDerivationState = IDerivationState.UP_TO_DATE;\n // Go through all new observables and check diffValue: (this list can contain duplicates):\n // 0: first occurrence, change to 1 and keep it\n // 1: extra occurrence, drop it\n var i0 = 0, l = derivation.unboundDepsCount;\n for (var i = 0; i < l; i++) {\n var dep = observing[i];\n if (dep.diffValue === 0) {\n dep.diffValue = 1;\n if (i0 !== i)\n observing[i0] = dep;\n i0++;\n }\n // Upcast is 'safe' here, because if dep is IObservable, `dependenciesState` will be undefined,\n // not hitting the condition\n if (dep.dependenciesState > lowestNewObservingDerivationState) {\n lowestNewObservingDerivationState = dep.dependenciesState;\n }\n }\n observing.length = i0;\n derivation.newObserving = null; // newObserving shouldn't be needed outside tracking (statement moved down to work around FF bug, see #614)\n // Go through all old observables and check diffValue: (it is unique after last bindDependencies)\n // 0: it's not in new observables, unobserve it\n // 1: it keeps being observed, don't want to notify it. change to 0\n l = prevObserving.length;\n while (l--) {\n var dep = prevObserving[l];\n if (dep.diffValue === 0) {\n removeObserver(dep, derivation);\n }\n dep.diffValue = 0;\n }\n // Go through all new observables and check diffValue: (now it should be unique)\n // 0: it was set to 0 in last loop. don't need to do anything.\n // 1: it wasn't observed, let's observe it. set back to 0\n while (i0--) {\n var dep = observing[i0];\n if (dep.diffValue === 1) {\n dep.diffValue = 0;\n addObserver(dep, derivation);\n }\n }\n // Some new observed derivations may become stale during this derivation computation\n // so they have had no chance to propagate staleness (#916)\n if (lowestNewObservingDerivationState !== IDerivationState.UP_TO_DATE) {\n derivation.dependenciesState = lowestNewObservingDerivationState;\n derivation.onBecomeStale();\n }\n}\nfunction clearObserving(derivation) {\n // invariant(globalState.inBatch > 0, \"INTERNAL ERROR clearObserving should be called only inside batch\");\n var obs = derivation.observing;\n derivation.observing = [];\n var i = obs.length;\n while (i--)\n removeObserver(obs[i], derivation);\n derivation.dependenciesState = IDerivationState.NOT_TRACKING;\n}\nfunction untracked(action) {\n var prev = untrackedStart();\n var res = action();\n untrackedEnd(prev);\n return res;\n}\nfunction untrackedStart() {\n var prev = globalState.trackingDerivation;\n globalState.trackingDerivation = null;\n return prev;\n}\nfunction untrackedEnd(prev) {\n globalState.trackingDerivation = prev;\n}\n/**\n * needed to keep `lowestObserverState` correct. when changing from (2 or 1) to 0\n *\n */\nfunction changeDependenciesStateTo0(derivation) {\n if (derivation.dependenciesState === IDerivationState.UP_TO_DATE)\n return;\n derivation.dependenciesState = IDerivationState.UP_TO_DATE;\n var obs = derivation.observing;\n var i = obs.length;\n while (i--)\n obs[i].lowestObserverState = IDerivationState.UP_TO_DATE;\n}\n\nfunction log(msg) {\n console.log(msg);\n return msg;\n}\nfunction whyRun(thing, prop) {\n deprecated(\"`whyRun` is deprecated in favor of `trace`\");\n thing = getAtomFromArgs(arguments);\n if (!thing)\n return log(getMessage(\"m024\"));\n if (isComputedValue(thing) || isReaction(thing))\n return log(thing.whyRun());\n return fail(getMessage(\"m025\"));\n}\nfunction trace() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var enterBreakPoint = false;\n if (typeof args[args.length - 1] === \"boolean\")\n enterBreakPoint = args.pop();\n var derivation = getAtomFromArgs(args);\n if (!derivation) {\n return fail(\"'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly\");\n }\n if (derivation.isTracing === TraceMode.NONE) {\n console.log(\"[mobx.trace] '\" + derivation.name + \"' tracing enabled\");\n }\n derivation.isTracing = enterBreakPoint ? TraceMode.BREAK : TraceMode.LOG;\n}\nfunction getAtomFromArgs(args) {\n switch (args.length) {\n case 0:\n return globalState.trackingDerivation;\n case 1:\n return getAtom(args[0]);\n case 2:\n return getAtom(args[0], args[1]);\n }\n}\n\nvar Reaction = /** @class */ (function () {\n function Reaction(name, onInvalidate) {\n if (name === void 0) { name = \"Reaction@\" + getNextId(); }\n this.name = name;\n this.onInvalidate = onInvalidate;\n this.observing = []; // nodes we are looking at. Our value depends on these nodes\n this.newObserving = [];\n this.dependenciesState = IDerivationState.NOT_TRACKING;\n this.diffValue = 0;\n this.runId = 0;\n this.unboundDepsCount = 0;\n this.__mapid = \"#\" + getNextId();\n this.isDisposed = false;\n this._isScheduled = false;\n this._isTrackPending = false;\n this._isRunning = false;\n this.isTracing = TraceMode.NONE;\n }\n Reaction.prototype.onBecomeStale = function () {\n this.schedule();\n };\n Reaction.prototype.schedule = function () {\n if (!this._isScheduled) {\n this._isScheduled = true;\n globalState.pendingReactions.push(this);\n runReactions();\n }\n };\n Reaction.prototype.isScheduled = function () {\n return this._isScheduled;\n };\n /**\n * internal, use schedule() if you intend to kick off a reaction\n */\n Reaction.prototype.runReaction = function () {\n if (!this.isDisposed) {\n startBatch();\n this._isScheduled = false;\n if (shouldCompute(this)) {\n this._isTrackPending = true;\n this.onInvalidate();\n if (this._isTrackPending && isSpyEnabled()) {\n // onInvalidate didn't trigger track right away..\n spyReport({\n object: this,\n type: \"scheduled-reaction\"\n });\n }\n }\n endBatch();\n }\n };\n Reaction.prototype.track = function (fn) {\n startBatch();\n var notify = isSpyEnabled();\n var startTime;\n if (notify) {\n startTime = Date.now();\n spyReportStart({\n object: this,\n type: \"reaction\",\n fn: fn\n });\n }\n this._isRunning = true;\n var result = trackDerivedFunction(this, fn, undefined);\n this._isRunning = false;\n this._isTrackPending = false;\n if (this.isDisposed) {\n // disposed during last run. Clean up everything that was bound after the dispose call.\n clearObserving(this);\n }\n if (isCaughtException(result))\n this.reportExceptionInDerivation(result.cause);\n if (notify) {\n spyReportEnd({\n time: Date.now() - startTime\n });\n }\n endBatch();\n };\n Reaction.prototype.reportExceptionInDerivation = function (error) {\n var _this = this;\n if (this.errorHandler) {\n this.errorHandler(error, this);\n return;\n }\n var message = \"[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '\" + this;\n var messageToUser = getMessage(\"m037\");\n console.error(message || messageToUser /* latter will not be true, make sure uglify doesn't remove */, error);\n /** If debugging brought you here, please, read the above message :-). Tnx! */\n if (isSpyEnabled()) {\n spyReport({\n type: \"error\",\n message: message,\n error: error,\n object: this\n });\n }\n globalState.globalReactionErrorHandlers.forEach(function (f) { return f(error, _this); });\n };\n Reaction.prototype.dispose = function () {\n if (!this.isDisposed) {\n this.isDisposed = true;\n if (!this._isRunning) {\n // if disposed while running, clean up later. Maybe not optimal, but rare case\n startBatch();\n clearObserving(this);\n endBatch();\n }\n }\n };\n Reaction.prototype.getDisposer = function () {\n var r = this.dispose.bind(this);\n r.$mobx = this;\n r.onError = registerErrorHandler;\n return r;\n };\n Reaction.prototype.toString = function () {\n return \"Reaction[\" + this.name + \"]\";\n };\n Reaction.prototype.whyRun = function () {\n var observing = unique(this._isRunning ? this.newObserving : this.observing).map(function (dep) { return dep.name; });\n return \"\\nWhyRun? reaction '\" + this.name + \"':\\n * Status: [\" + (this.isDisposed\n ? \"stopped\"\n : this._isRunning ? \"running\" : this.isScheduled() ? \"scheduled\" : \"idle\") + \"]\\n * This reaction will re-run if any of the following observables changes:\\n \" + joinStrings(observing) + \"\\n \" + (this._isRunning\n ? \" (... or any observable accessed during the remainder of the current run)\"\n : \"\") + \"\\n\\t\" + getMessage(\"m038\") + \"\\n\";\n };\n Reaction.prototype.trace = function (enterBreakPoint) {\n if (enterBreakPoint === void 0) { enterBreakPoint = false; }\n trace(this, enterBreakPoint);\n };\n return Reaction;\n}());\nfunction registerErrorHandler(handler) {\n invariant(this && this.$mobx && isReaction(this.$mobx), \"Invalid `this`\");\n invariant(!this.$mobx.errorHandler, \"Only one onErrorHandler can be registered\");\n this.$mobx.errorHandler = handler;\n}\nfunction onReactionError(handler) {\n globalState.globalReactionErrorHandlers.push(handler);\n return function () {\n var idx = globalState.globalReactionErrorHandlers.indexOf(handler);\n if (idx >= 0)\n globalState.globalReactionErrorHandlers.splice(idx, 1);\n };\n}\n/**\n * Magic number alert!\n * Defines within how many times a reaction is allowed to re-trigger itself\n * until it is assumed that this is gonna be a never ending loop...\n */\nvar MAX_REACTION_ITERATIONS = 100;\nvar reactionScheduler = function (f) { return f(); };\nfunction runReactions() {\n // Trampolining, if runReactions are already running, new reactions will be picked up\n if (globalState.inBatch > 0 || globalState.isRunningReactions)\n return;\n reactionScheduler(runReactionsHelper);\n}\nfunction runReactionsHelper() {\n globalState.isRunningReactions = true;\n var allReactions = globalState.pendingReactions;\n var iterations = 0;\n // While running reactions, new reactions might be triggered.\n // Hence we work with two variables and check whether\n // we converge to no remaining reactions after a while.\n while (allReactions.length > 0) {\n if (++iterations === MAX_REACTION_ITERATIONS) {\n console.error(\"Reaction doesn't converge to a stable state after \" + MAX_REACTION_ITERATIONS + \" iterations.\" +\n (\" Probably there is a cycle in the reactive function: \" + allReactions[0]));\n allReactions.splice(0); // clear reactions\n }\n var remainingReactions = allReactions.splice(0);\n for (var i = 0, l = remainingReactions.length; i < l; i++)\n remainingReactions[i].runReaction();\n }\n globalState.isRunningReactions = false;\n}\nvar isReaction = createInstanceofPredicate(\"Reaction\", Reaction);\nfunction setReactionScheduler(fn) {\n var baseScheduler = reactionScheduler;\n reactionScheduler = function (f) { return fn(function () { return baseScheduler(f); }); };\n}\n\nfunction asReference(value) {\n deprecated(\"asReference is deprecated, use observable.ref instead\");\n return observable.ref(value);\n}\nfunction asStructure(value) {\n deprecated(\"asStructure is deprecated. Use observable.struct, computed.struct or reaction options instead.\");\n return observable.struct(value);\n}\nfunction asFlat(value) {\n deprecated(\"asFlat is deprecated, use observable.shallow instead\");\n return observable.shallow(value);\n}\nfunction asMap(data) {\n deprecated(\"asMap is deprecated, use observable.map or observable.shallowMap instead\");\n return observable.map(data || {});\n}\n\nfunction createComputedDecorator(equals) {\n return createClassPropertyDecorator(function (target, name, _, __, originalDescriptor) {\n invariant(typeof originalDescriptor !== \"undefined\", getMessage(\"m009\"));\n invariant(typeof originalDescriptor.get === \"function\", getMessage(\"m010\"));\n var adm = asObservableObject(target, \"\");\n defineComputedProperty(adm, name, originalDescriptor.get, originalDescriptor.set, equals, false);\n }, function (name) {\n var observable = this.$mobx.values[name];\n if (observable === undefined // See #505\n )\n return undefined;\n return observable.get();\n }, function (name, value) {\n this.$mobx.values[name].set(value);\n }, false, false);\n}\nvar computedDecorator = createComputedDecorator(comparer.default);\nvar computedStructDecorator = createComputedDecorator(comparer.structural);\n/**\n * Decorator for class properties: @computed get value() { return expr; }.\n * For legacy purposes also invokable as ES5 observable created: `computed(() => expr)`;\n */\nvar computed = function computed(arg1, arg2, arg3) {\n if (typeof arg2 === \"string\") {\n return computedDecorator.apply(null, arguments);\n }\n invariant(typeof arg1 === \"function\", getMessage(\"m011\"));\n invariant(arguments.length < 3, getMessage(\"m012\"));\n var opts = typeof arg2 === \"object\" ? arg2 : {};\n opts.setter = typeof arg2 === \"function\" ? arg2 : opts.setter;\n var equals = opts.equals\n ? opts.equals\n : opts.compareStructural || opts.struct ? comparer.structural : comparer.default;\n return new ComputedValue(arg1, opts.context, equals, opts.name || arg1.name || \"\", opts.setter);\n};\ncomputed.struct = computedStructDecorator;\ncomputed.equals = createComputedDecorator;\n\nfunction isComputed(value, property) {\n if (value === null || value === undefined)\n return false;\n if (property !== undefined) {\n if (isObservableObject(value) === false)\n return false;\n if (!value.$mobx.values[property])\n return false;\n var atom = getAtom(value, property);\n return isComputedValue(atom);\n }\n return isComputedValue(value);\n}\n\nfunction observe(thing, propOrCb, cbOrFire, fireImmediately) {\n if (typeof cbOrFire === \"function\")\n return observeObservableProperty(thing, propOrCb, cbOrFire, fireImmediately);\n else\n return observeObservable(thing, propOrCb, cbOrFire);\n}\nfunction observeObservable(thing, listener, fireImmediately) {\n return getAdministration(thing).observe(listener, fireImmediately);\n}\nfunction observeObservableProperty(thing, property, listener, fireImmediately) {\n return getAdministration(thing, property).observe(listener, fireImmediately);\n}\n\nfunction intercept(thing, propOrHandler, handler) {\n if (typeof handler === \"function\")\n return interceptProperty(thing, propOrHandler, handler);\n else\n return interceptInterceptable(thing, propOrHandler);\n}\nfunction interceptInterceptable(thing, handler) {\n return getAdministration(thing).intercept(handler);\n}\nfunction interceptProperty(thing, property, handler) {\n return getAdministration(thing, property).intercept(handler);\n}\n\n/**\n * expr can be used to create temporarily views inside views.\n * This can be improved to improve performance if a value changes often, but usually doesn't affect the outcome of an expression.\n *\n * In the following example the expression prevents that a component is rerender _each time_ the selection changes;\n * instead it will only rerenders when the current todo is (de)selected.\n *\n * reactiveComponent((props) => {\n * const todo = props.todo;\n * const isSelected = mobx.expr(() => props.viewState.selection === todo);\n * return
{todo.title}
\n * });\n *\n */\nfunction expr(expr, scope) {\n if (!isComputingDerivation())\n console.warn(getMessage(\"m013\"));\n // optimization: would be more efficient if the expr itself wouldn't be evaluated first on the next change, but just a 'changed' signal would be fired\n return computed(expr, { context: scope }).get();\n}\n\nfunction toJS(source, detectCycles, __alreadySeen) {\n if (detectCycles === void 0) { detectCycles = true; }\n if (__alreadySeen === void 0) { __alreadySeen = []; }\n // optimization: using ES6 map would be more efficient!\n // optimization: lift this function outside toJS, this makes recursion expensive\n function cache(value) {\n if (detectCycles)\n __alreadySeen.push([source, value]);\n return value;\n }\n if (isObservable(source)) {\n if (detectCycles && __alreadySeen === null)\n __alreadySeen = [];\n if (detectCycles && source !== null && typeof source === \"object\") {\n for (var i = 0, l = __alreadySeen.length; i < l; i++)\n if (__alreadySeen[i][0] === source)\n return __alreadySeen[i][1];\n }\n if (isObservableArray(source)) {\n var res = cache([]);\n var toAdd = source.map(function (value) { return toJS(value, detectCycles, __alreadySeen); });\n res.length = toAdd.length;\n for (var i = 0, l = toAdd.length; i < l; i++)\n res[i] = toAdd[i];\n return res;\n }\n if (isObservableObject(source)) {\n var res = cache({});\n for (var key in source)\n res[key] = toJS(source[key], detectCycles, __alreadySeen);\n return res;\n }\n if (isObservableMap(source)) {\n var res_1 = cache({});\n source.forEach(function (value, key) { return (res_1[key] = toJS(value, detectCycles, __alreadySeen)); });\n return res_1;\n }\n if (isObservableValue(source))\n return toJS(source.get(), detectCycles, __alreadySeen);\n }\n return source;\n}\n\nfunction createTransformer(transformer, onCleanup) {\n invariant(typeof transformer === \"function\" && transformer.length < 2, \"createTransformer expects a function that accepts one argument\");\n // Memoizes: object id -> reactive view that applies transformer to the object\n var objectCache = {};\n // If the resetId changes, we will clear the object cache, see #163\n // This construction is used to avoid leaking refs to the objectCache directly\n var resetId = globalState.resetId;\n // Local transformer class specifically for this transformer\n var Transformer = /** @class */ (function (_super) {\n __extends(Transformer, _super);\n function Transformer(sourceIdentifier, sourceObject) {\n var _this = _super.call(this, function () { return transformer(sourceObject); }, undefined, comparer.default, \"Transformer-\" + transformer.name + \"-\" + sourceIdentifier, undefined) || this;\n _this.sourceIdentifier = sourceIdentifier;\n _this.sourceObject = sourceObject;\n return _this;\n }\n Transformer.prototype.onBecomeUnobserved = function () {\n var lastValue = this.value;\n _super.prototype.onBecomeUnobserved.call(this);\n delete objectCache[this.sourceIdentifier];\n if (onCleanup)\n onCleanup(lastValue, this.sourceObject);\n };\n return Transformer;\n }(ComputedValue));\n return function (object) {\n if (resetId !== globalState.resetId) {\n objectCache = {};\n resetId = globalState.resetId;\n }\n var identifier = getMemoizationId(object);\n var reactiveTransformer = objectCache[identifier];\n if (reactiveTransformer)\n return reactiveTransformer.get();\n // Not in cache; create a reactive view\n reactiveTransformer = objectCache[identifier] = new Transformer(identifier, object);\n return reactiveTransformer.get();\n };\n}\nfunction getMemoizationId(object) {\n if (typeof object === \"string\" || typeof object === \"number\")\n return object;\n if (object === null || typeof object !== \"object\")\n throw new Error(\"[mobx] transform expected some kind of object or primitive value, got: \" + object);\n var tid = object.$transformId;\n if (tid === undefined) {\n tid = getNextId();\n addHiddenProp(object, \"$transformId\", tid);\n }\n return tid;\n}\n\nfunction interceptReads(thing, propOrHandler, handler) {\n var target;\n if (isObservableMap(thing) || isObservableArray(thing) || isObservableValue(thing)) {\n target = getAdministration(thing);\n }\n else if (isObservableObject(thing)) {\n if (typeof propOrHandler !== \"string\")\n return fail(\"InterceptReads can only be used with a specific property, not with an object in general\");\n target = getAdministration(thing, propOrHandler);\n }\n else {\n return fail(\"Expected observable map, object or array as first array\");\n }\n if (target.dehancer !== undefined)\n return fail(\"An intercept reader was already established\");\n target.dehancer = typeof propOrHandler === \"function\" ? propOrHandler : handler;\n return function () {\n target.dehancer = undefined;\n };\n}\n\n/**\n * (c) Michel Weststrate 2015 - 2016\n * MIT Licensed\n *\n * Welcome to the mobx sources! To get an global overview of how MobX internally works,\n * this is a good place to start:\n * https://medium.com/@mweststrate/becoming-fully-reactive-an-in-depth-explanation-of-mobservable-55995262a254#.xvbh6qd74\n *\n * Source folders:\n * ===============\n *\n * - api/ Most of the public static methods exposed by the module can be found here.\n * - core/ Implementation of the MobX algorithm; atoms, derivations, reactions, dependency trees, optimizations. Cool stuff can be found here.\n * - types/ All the magic that is need to have observable objects, arrays and values is in this folder. Including the modifiers like `asFlat`.\n * - utils/ Utility stuff.\n *\n */\nvar extras = {\n allowStateChanges: allowStateChanges,\n deepEqual: deepEqual,\n getAtom: getAtom,\n getDebugName: getDebugName,\n getDependencyTree: getDependencyTree,\n getAdministration: getAdministration,\n getGlobalState: getGlobalState,\n getObserverTree: getObserverTree,\n interceptReads: interceptReads,\n isComputingDerivation: isComputingDerivation,\n isSpyEnabled: isSpyEnabled,\n onReactionError: onReactionError,\n reserveArrayBuffer: reserveArrayBuffer,\n resetGlobalState: resetGlobalState,\n isolateGlobalState: isolateGlobalState,\n shareGlobalState: shareGlobalState,\n spyReport: spyReport,\n spyReportEnd: spyReportEnd,\n spyReportStart: spyReportStart,\n setReactionScheduler: setReactionScheduler\n};\nvar everything = {\n Reaction: Reaction,\n untracked: untracked,\n Atom: Atom,\n BaseAtom: BaseAtom,\n useStrict: useStrict,\n isStrictModeEnabled: isStrictModeEnabled,\n spy: spy,\n comparer: comparer,\n asReference: asReference,\n asFlat: asFlat,\n asStructure: asStructure,\n asMap: asMap,\n isModifierDescriptor: isModifierDescriptor,\n isObservableObject: isObservableObject,\n isBoxedObservable: isObservableValue,\n isObservableArray: isObservableArray,\n ObservableMap: ObservableMap,\n isObservableMap: isObservableMap,\n map: map,\n transaction: transaction,\n observable: observable,\n computed: computed,\n isObservable: isObservable,\n isComputed: isComputed,\n extendObservable: extendObservable,\n extendShallowObservable: extendShallowObservable,\n observe: observe,\n intercept: intercept,\n autorun: autorun,\n autorunAsync: autorunAsync,\n when: when,\n reaction: reaction,\n action: action,\n isAction: isAction,\n runInAction: runInAction,\n expr: expr,\n toJS: toJS,\n createTransformer: createTransformer,\n whyRun: whyRun,\n isArrayLike: isArrayLike,\n extras: extras\n};\nvar warnedAboutDefaultExport = false;\nvar _loop_1 = function (p) {\n var val = everything[p];\n Object.defineProperty(everything, p, {\n get: function () {\n if (!warnedAboutDefaultExport) {\n warnedAboutDefaultExport = true;\n console.warn(\"Using default export (`import mobx from 'mobx'`) is deprecated \" +\n \"and won’t work in mobx@4.0.0\\n\" +\n \"Use `import * as mobx from 'mobx'` instead\");\n }\n return val;\n }\n });\n};\nfor (var p in everything) {\n _loop_1(p);\n}\nif (typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__ === \"object\") {\n __MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({ spy: spy, extras: extras });\n}\n\nexport { extras, Reaction, untracked, IDerivationState, Atom, BaseAtom, useStrict, isStrictModeEnabled, spy, comparer, asReference, asFlat, asStructure, asMap, isModifierDescriptor, isObservableObject, isObservableValue as isBoxedObservable, isObservableArray, ObservableMap, isObservableMap, map, transaction, observable, computed, isObservable, isComputed, extendObservable, extendShallowObservable, observe, intercept, autorun, autorunAsync, when, reaction, action, isAction, runInAction, expr, toJS, createTransformer, whyRun, trace, isArrayLike };export default everything;\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/mobx/lib/mobx.module.js","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Provider = exports.inject = exports.connect = exports.useStaticRendering = exports.Observer = exports.observer = undefined;\n\nvar _observer = require('./observer');\n\nObject.defineProperty(exports, 'observer', {\n enumerable: true,\n get: function get() {\n return _observer.observer;\n }\n});\nObject.defineProperty(exports, 'Observer', {\n enumerable: true,\n get: function get() {\n return _observer.Observer;\n }\n});\nObject.defineProperty(exports, 'useStaticRendering', {\n enumerable: true,\n get: function get() {\n return _observer.useStaticRendering;\n }\n});\n\nvar _connect = require('./connect');\n\nObject.defineProperty(exports, 'connect', {\n enumerable: true,\n get: function get() {\n return _connect.connect;\n }\n});\n\nvar _inject = require('./inject');\n\nObject.defineProperty(exports, 'inject', {\n enumerable: true,\n get: function get() {\n return _inject.inject;\n }\n});\n\nvar _Provider = require('./Provider');\n\nObject.defineProperty(exports, 'Provider', {\n enumerable: true,\n get: function get() {\n return _Provider.Provider;\n }\n});\n\nvar _mobx = require('mobx');\n\nvar _preact = require('preact');\n\nif (!_preact.Component) {\n throw new Error('mobx-preact requires Preact to be available');\n}\nif (!_mobx.extras) {\n throw new Error('mobx-preact requires mobx to be available');\n}\n\n\n// WEBPACK FOOTER //\n// ../node_modules/mobx-preact/lib/index.js","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Observer = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nexports.useStaticRendering = useStaticRendering;\nexports.observer = observer;\n\nvar _mobx = require('mobx');\n\nvar _preact = require('preact');\n\nvar _utils = require('./utils/utils');\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar isUsingStaticRendering = false;\n\nvar logger = console; // eslint-disable-line no-console\n\nfunction useStaticRendering(useStaticRendering) {\n isUsingStaticRendering = useStaticRendering;\n}\n\n/**\n Workaround\n\n allowStateChanges from mobX must be patched so that props, state and args are passed to the render() function\n */\n\nfunction allowStateChangesStart(allowStateChanges) {\n var prev = _mobx.extras.getGlobalState().allowStateChanges;\n _mobx.extras.getGlobalState().allowStateChanges = allowStateChanges;\n return prev;\n}\nfunction allowStateChangesEnd(prev) {\n _mobx.extras.getGlobalState().allowStateChanges = prev;\n}\n\nfunction allowStateChanges(allowStateChanges, func, props, state, context) {\n var prev = allowStateChangesStart(allowStateChanges);\n var res = void 0;\n try {\n res = func(props, state, context);\n } finally {\n allowStateChangesEnd(prev);\n }\n return res;\n}\n\n/**\n * Utilities\n */\n\nfunction patch(target, funcName) {\n var runMixinFirst = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n var base = target[funcName];\n var mixinFunc = reactiveMixin[funcName];\n var f = !base ? mixinFunc : runMixinFirst === true ? function () {\n mixinFunc.apply(this, arguments);\n base.apply(this, arguments);\n } : function () {\n base.apply(this, arguments);\n mixinFunc.apply(this, arguments);\n };\n\n // MWE: ideally we freeze here to protect against accidental overwrites in component instances, see #195\n // ...but that breaks react-hot-loader, see #231...\n target[funcName] = f;\n}\n\nfunction isObjectShallowModified(prev, next) {\n if (null == prev || null == next || (typeof prev === 'undefined' ? 'undefined' : _typeof(prev)) !== 'object' || (typeof next === 'undefined' ? 'undefined' : _typeof(next)) !== 'object') {\n return prev !== next;\n }\n var keys = Object.keys(prev);\n if (keys.length !== Object.keys(next).length) {\n return true;\n }\n var key = void 0;\n for (var i = keys.length - 1; i >= 0, key = keys[i]; i--) {\n if (next[key] !== prev[key]) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * ReactiveMixin\n */\nvar reactiveMixin = {\n componentWillMount: function componentWillMount() {\n var _this = this;\n\n if (isUsingStaticRendering === true) {\n return;\n }\n // Generate friendly name for debugging\n var initialName = (0, _utils.makeDisplayName)(this);\n\n /**\n * If props are shallowly modified, react will render anyway,\n * so atom.reportChanged() should not result in yet another re-render\n */\n var skipRender = false;\n /**\n * forceUpdate will re-assign this.props. We don't want that to cause a loop,\n * so detect these changes\n */\n var isForcingUpdate = false;\n\n function makePropertyObservableReference(propName) {\n var valueHolder = this[propName];\n var atom = new _mobx.Atom('reactive ' + propName);\n Object.defineProperty(this, propName, {\n configurable: true,\n enumerable: true,\n get: function get() {\n atom.reportObserved();\n return valueHolder;\n },\n set: function set(v) {\n if (!isForcingUpdate && isObjectShallowModified(valueHolder, v)) {\n valueHolder = v;\n skipRender = true;\n atom.reportChanged();\n skipRender = false;\n } else {\n valueHolder = v;\n }\n }\n });\n }\n\n // make this.props an observable reference, see #124\n makePropertyObservableReference.call(this, 'props');\n // make state an observable reference\n makePropertyObservableReference.call(this, 'state');\n\n // wire up reactive render\n var baseRender = this.render.bind(this);\n var reaction = null;\n var isRenderingPending = false;\n\n var initialRender = function initialRender() {\n reaction = new _mobx.Reaction(initialName + '.render()', function () {\n if (!isRenderingPending) {\n // N.B. Getting here *before mounting* means that a component constructor has side effects (see the relevant test in misc.js)\n // This unidiomatic React usage but React will correctly warn about this so we continue as usual\n // See #85 / Pull #44\n isRenderingPending = true;\n if (typeof _this.componentWillReact === 'function') {\n _this.componentWillReact();\n } // TODO: wrap in action?\n if (_this.__$mobxIsUnmounted !== true) {\n // If we are unmounted at this point, componentWillReact() had a side effect causing the component to unmounted\n // TODO: remove this check? Then react will properly warn about the fact that this should not happen? See #73\n // However, people also claim this migth happen during unit tests..\n var hasError = true;\n try {\n isForcingUpdate = true;\n if (!skipRender) {\n _preact.Component.prototype.forceUpdate.call(_this);\n }\n hasError = false;\n } finally {\n isForcingUpdate = false;\n if (hasError) {\n reaction.dispose();\n }\n }\n }\n }\n });\n reaction.reactComponent = _this;\n reactiveRender.$mobx = reaction;\n _this.render = reactiveRender;\n return reactiveRender(_this.props, _this.state, _this.context);\n };\n\n var reactiveRender = function reactiveRender(props, state, context) {\n isRenderingPending = false;\n var exception = undefined;\n var rendering = undefined;\n reaction.track(function () {\n try {\n rendering = allowStateChanges(false, baseRender, props, state, context);\n } catch (e) {\n exception = e;\n }\n });\n if (exception) {\n throw exception;\n }\n return rendering;\n };\n\n this.render = initialRender;\n },\n\n componentWillUnmount: function componentWillUnmount() {\n if (isUsingStaticRendering === true) {\n return;\n }\n this.render.$mobx && this.render.$mobx.dispose();\n this.__$mobxIsUnmounted = true;\n },\n\n componentDidMount: function componentDidMount() {},\n\n componentDidUpdate: function componentDidUpdate() {},\n\n shouldComponentUpdate: function shouldComponentUpdate(nextProps, nextState) {\n if (isUsingStaticRendering) {\n logger.warn('[mobx-preact] 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.');\n }\n // update on any state changes (as is the default)\n if (this.state !== nextState) {\n return true;\n }\n // update if props are shallowly not equal, inspired by PureRenderMixin\n // we could return just 'false' here, and avoid the `skipRender` checks etc\n // however, it is nicer if lifecycle events are triggered like usually,\n // so we return true here if props are shallowly modified.\n return isObjectShallowModified(this.props, nextProps);\n }\n};\n\n/**\n * Observer function / decorator\n */\nfunction observer(componentClass) {\n if (arguments.length > 1) {\n logger.warn('Mobx observer: Using observer to inject stores is not supported. Use `@connect([\"store1\", \"store2\"]) ComponentClass instead or preferably, use `@inject(\"store1\", \"store2\") @observer ComponentClass` or `inject(\"store1\", \"store2\")(observer(componentClass))``');\n }\n\n if (componentClass.isMobxInjector === true) {\n logger.warn('Mobx observer: You are trying to use \\'observer\\' on a component that already has \\'inject\\'. Please apply \\'observer\\' before applying \\'inject\\'');\n }\n\n // Stateless function component:\n if ((0, _utils.isStateless)(componentClass)) {\n var _class, _temp;\n\n return observer((_temp = _class = function (_Component) {\n _inherits(_class, _Component);\n\n function _class() {\n _classCallCheck(this, _class);\n\n return _possibleConstructorReturn(this, (_class.__proto__ || Object.getPrototypeOf(_class)).apply(this, arguments));\n }\n\n _createClass(_class, [{\n key: 'render',\n value: function render() {\n return componentClass.call(this, this.props, this.context);\n }\n }]);\n\n return _class;\n }(_preact.Component), _class.displayName = (0, _utils.makeDisplayName)(componentClass), _temp));\n }\n\n if (!componentClass) {\n throw new Error('Please pass a valid component to \\'observer\\'');\n }\n\n var target = componentClass.prototype || componentClass;\n mixinLifecycleEvents(target);\n componentClass.isMobXReactObserver = true;\n return componentClass;\n}\n\nfunction mixinLifecycleEvents(target) {\n patch(target, 'componentWillMount', true);\n patch(target, 'componentDidMount');\n\n if (!target.shouldComponentUpdate) {\n target.shouldComponentUpdate = reactiveMixin.shouldComponentUpdate;\n }\n}\n\nvar Observer = exports.Observer = observer(function (_ref) {\n var children = _ref.children;\n return children[0]();\n});\n\nObserver.displayName = 'Observer';\n\n\n// WEBPACK FOOTER //\n// ../node_modules/mobx-preact/lib/observer.js","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.isStateless = isStateless;\nexports.makeDisplayName = makeDisplayName;\n\nvar _preact = require('preact');\n\nfunction isStateless(component) {\n // `function() {}` has prototype, but `() => {}` doesn't\n // `() => {}` via Babel has prototype too.\n return !(component.prototype && component.prototype.render) && !_preact.Component.isPrototypeOf(component);\n}\n\nfunction makeDisplayName(component) {\n var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n _ref$prefix = _ref.prefix,\n prefix = _ref$prefix === undefined ? '' : _ref$prefix,\n _ref$suffix = _ref.suffix,\n suffix = _ref$suffix === undefined ? '' : _ref$suffix;\n\n var displayName = component.displayName || component.name || component.constructor && component.constructor.name || '';\n return prefix + displayName + suffix;\n}\n\n\n// WEBPACK FOOTER //\n// ../node_modules/mobx-preact/lib/utils/utils.js","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nexports.inject = inject;\n\nvar _preact = require('preact');\n\nvar _hoistNonReactStatics = require('hoist-non-react-statics');\n\nvar _hoistNonReactStatics2 = _interopRequireDefault(_hoistNonReactStatics);\n\nvar _observer = require('./observer');\n\nvar _utils = require('./utils/utils');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar proxiedInjectorProps = {\n isMobxInjector: {\n value: true,\n writable: true,\n configurable: true,\n enumerable: true\n }\n};\n\n/**\n * Store Injection\n */\nfunction createStoreInjector(grabStoresFn, component, injectNames) {\n var _class, _temp;\n\n var prefix = 'inject-';\n var suffix = injectNames ? '-with-' + injectNames : '';\n var displayName = (0, _utils.makeDisplayName)(component, { prefix: prefix, suffix: suffix });\n\n var Injector = (_temp = _class = function (_Component) {\n _inherits(Injector, _Component);\n\n function Injector() {\n _classCallCheck(this, Injector);\n\n return _possibleConstructorReturn(this, (Injector.__proto__ || Object.getPrototypeOf(Injector)).apply(this, arguments));\n }\n\n _createClass(Injector, [{\n key: 'render',\n value: function render() {\n // Optimization: it might be more efficient to apply the mapper function *outside* the render method\n // (if the mapper is a function), that could avoid expensive(?) re-rendering of the injector component\n // See this test: 'using a custom injector is not too reactive' in inject.js\n var newProps = {};\n for (var key in this.props) {\n if (this.props.hasOwnProperty(key)) {\n newProps[key] = this.props[key];\n }\n }\n var additionalProps = grabStoresFn(this.context.mobxStores || {}, newProps, this.context) || {};\n for (var _key in additionalProps) {\n newProps[_key] = additionalProps[_key];\n }\n\n return (0, _preact.h)(component, newProps);\n }\n }]);\n\n return Injector;\n }(_preact.Component), _class.displayName = displayName, _temp);\n\n // Static fields from component should be visible on the generated Injector\n\n (0, _hoistNonReactStatics2.default)(Injector, component);\n\n Injector.wrappedComponent = component;\n Object.defineProperties(Injector, proxiedInjectorProps);\n\n return Injector;\n}\n\nfunction grabStoresByName(storeNames) {\n return function (baseStores, nextProps) {\n storeNames.forEach(function (storeName) {\n // prefer props over stores\n if (storeName in nextProps) {\n return;\n }\n if (!(storeName in baseStores)) {\n throw new Error('MobX injector: Store \\'' + storeName + '\\' is not available! Make sure it is provided by some Provider');\n }\n nextProps[storeName] = baseStores[storeName];\n });\n return nextProps;\n };\n}\n\n/**\n * higher order component that injects stores to a child.\n * takes either a varargs list of strings, which are stores read from the context,\n * or a function that manually maps the available stores from the context to props:\n * storesToProps(mobxStores, props, context) => newProps\n */\nfunction inject() /* fn(stores, nextProps) or ...storeNames */{\n var grabStoresFn = void 0;\n if (typeof arguments[0] === 'function') {\n grabStoresFn = arguments[0];\n return function (componentClass) {\n var injected = createStoreInjector(grabStoresFn, componentClass);\n injected.isMobxInjector = false; // suppress warning\n // mark the Injector as observer, to make it react to expressions in `grabStoresFn`,\n // see #111\n injected = (0, _observer.observer)(injected);\n injected.isMobxInjector = true; // restore warning\n return injected;\n };\n } else {\n var storeNames = [];\n for (var i = 0; i < arguments.length; i++) {\n storeNames[i] = arguments[i];\n }\n grabStoresFn = grabStoresByName(storeNames);\n return function (componentClass) {\n return createStoreInjector(grabStoresFn, componentClass, storeNames.join('-'));\n };\n }\n}\n\n\n// WEBPACK FOOTER //\n// ../node_modules/mobx-preact/lib/inject.js","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.JSONHTTPError = exports.TextHTTPError = exports.HTTPError = exports.getPagination = undefined;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _pagination = require(\"./pagination\");\n\nObject.defineProperty(exports, \"getPagination\", {\n enumerable: true,\n get: function get() {\n return _pagination.getPagination;\n }\n});\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction _extendableBuiltin(cls) {\n function ExtendableBuiltin() {\n var instance = Reflect.construct(cls, Array.from(arguments));\n Object.setPrototypeOf(instance, Object.getPrototypeOf(this));\n return instance;\n }\n\n ExtendableBuiltin.prototype = Object.create(cls.prototype, {\n constructor: {\n value: cls,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(ExtendableBuiltin, cls);\n } else {\n ExtendableBuiltin.__proto__ = cls;\n }\n\n return ExtendableBuiltin;\n}\n\nvar HTTPError = exports.HTTPError = function (_extendableBuiltin2) {\n _inherits(HTTPError, _extendableBuiltin2);\n\n function HTTPError(response) {\n _classCallCheck(this, HTTPError);\n\n var _this = _possibleConstructorReturn(this, (HTTPError.__proto__ || Object.getPrototypeOf(HTTPError)).call(this, response.statusText));\n\n _this.name = _this.constructor.name;\n if (typeof Error.captureStackTrace === \"function\") {\n Error.captureStackTrace(_this, _this.constructor);\n } else {\n _this.stack = new Error(response.statusText).stack;\n }\n _this.status = response.status;\n return _this;\n }\n\n return HTTPError;\n}(_extendableBuiltin(Error));\n\nvar TextHTTPError = exports.TextHTTPError = function (_HTTPError) {\n _inherits(TextHTTPError, _HTTPError);\n\n function TextHTTPError(response, data) {\n _classCallCheck(this, TextHTTPError);\n\n var _this2 = _possibleConstructorReturn(this, (TextHTTPError.__proto__ || Object.getPrototypeOf(TextHTTPError)).call(this, response));\n\n _this2.data = data;\n return _this2;\n }\n\n return TextHTTPError;\n}(HTTPError);\n\nvar JSONHTTPError = exports.JSONHTTPError = function (_HTTPError2) {\n _inherits(JSONHTTPError, _HTTPError2);\n\n function JSONHTTPError(response, json) {\n _classCallCheck(this, JSONHTTPError);\n\n var _this3 = _possibleConstructorReturn(this, (JSONHTTPError.__proto__ || Object.getPrototypeOf(JSONHTTPError)).call(this, response));\n\n _this3.json = json;\n return _this3;\n }\n\n return JSONHTTPError;\n}(HTTPError);\n\nvar API = function () {\n function API() {\n var apiURL = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n var options = arguments[1];\n\n _classCallCheck(this, API);\n\n this.apiURL = apiURL;\n if (this.apiURL.match(/\\/[^\\/]?/)) {\n // eslint-disable-line no-useless-escape\n this._sameOrigin = true;\n }\n this.defaultHeaders = options && options.defaultHeaders || {};\n }\n\n _createClass(API, [{\n key: \"headers\",\n value: function headers() {\n var _headers = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n return _extends({}, this.defaultHeaders, {\n \"Content-Type\": \"application/json\"\n }, _headers);\n }\n }, {\n key: \"parseJsonResponse\",\n value: function parseJsonResponse(response) {\n return response.json().then(function (json) {\n if (!response.ok) {\n return Promise.reject(new JSONHTTPError(response, json));\n }\n\n var pagination = (0, _pagination.getPagination)(response);\n return pagination ? { pagination: pagination, items: json } : json;\n });\n }\n }, {\n key: \"request\",\n value: function request(path) {\n var _this4 = this;\n\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n var headers = this.headers(options.headers || {});\n if (this._sameOrigin) {\n options.credentials = options.credentials || \"same-origin\";\n }\n return fetch(this.apiURL + path, _extends({}, options, { headers: headers })).then(function (response) {\n var contentType = response.headers.get(\"Content-Type\");\n if (contentType && contentType.match(/json/)) {\n return _this4.parseJsonResponse(response);\n }\n\n if (!response.ok) {\n return response.text().then(function (data) {\n return Promise.reject(new TextHTTPError(response, data));\n });\n }\n return response.text().then(function (data) {\n data;\n });\n });\n }\n }]);\n\n return API;\n}();\n\nexports.default = API;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ../node_modules/micro-api-client/lib/index.js\n// module id = 6\n// module chunks = 0","import { h, Component } from \"preact\";\n\nexport default class Button extends Component {\n render() {\n const { saving, text, saving_text } = this.props;\n\n return (\n \n );\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/forms/button.js","import { h, Component } from \"preact\";\n\nconst messages = {\n confirm: {\n type: \"success\",\n text:\n \"A confirmation message was sent to your email, click the link there to continue.\"\n },\n password_mail: {\n type: \"success\",\n text:\n \"We've sent a recovery email to your account, follow the link there to reset your password.\"\n },\n email_changed: {\n type: \"sucess\",\n text: \"Your email address has been updated!\"\n },\n verfication_error: {\n type: \"error\",\n text:\n \"There was an error verifying your account. Please try again or contact an administrator.\"\n },\n signup_disabled: {\n type: \"error\",\n text:\n \"Public signups are disabled. Contact an administrator and ask for an invite.\"\n }\n};\n\nexport default class Message extends Component {\n render() {\n const { type } = this.props;\n const msg = messages[type];\n\n return (\n
\n {msg.text}\n
\n );\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/forms/message.js","import { h, render } from \"preact\"\nimport { observe } from \"mobx\"\nimport { Provider } from \"mobx-preact\"\nimport GoTrue from \"gotrue-js\"\nimport App from \"./components/app\"\nimport store from \"./state/store\"\nimport Controls from \"./components/controls\"\nimport modalCSS from \"./components/modal.css\"\n\nconst callbacks = {}\nfunction trigger(callback) {\n ;(callbacks[callback] || []).forEach((cb) => {\n cb.apply(cb, Array.prototype.slice.call(arguments, 1))\n })\n}\n\nconst validActions = {\n login: true,\n signup: true,\n error: true\n}\n\nconst netlifyIdentity = {\n on: (event, cb) => {\n callbacks[event] = callbacks[event] || []\n callbacks[event].push(cb)\n },\n open: (action) => {\n action = action || \"login\"\n if (!validActions[action]) {\n throw new Error(`Invalid action for open: ${action}`)\n }\n store.openModal(store.user ? \"user\" : action)\n },\n close: () => {\n store.closeModal()\n },\n currentUser: () => {\n return store.gotrue && store.gotrue.currentUser()\n },\n logout: () => {\n return store.logout()\n },\n get gotrue() {\n if (!store.gotrue) {\n store.openModal(\"login\")\n }\n return store.gotrue\n },\n init: (options) => {\n init(options)\n },\n store\n}\n\nlet queuedIframeStyle = null\nfunction setStyle(el, css) {\n let style = \"\"\n for (const key in css) {\n style += `${key}: ${css[key]}; `\n }\n if (el) {\n el.setAttribute(\"style\", style)\n } else {\n queuedIframeStyle = style\n }\n}\n\nconst localHosts = {\n localhost: true,\n \"127.0.0.1\": true,\n \"0.0.0.0\": true\n}\n\nfunction instantiateGotrue(APIUrl) {\n const isLocal = localHosts[document.location.host.split(\":\").shift()]\n const siteURL = isLocal && localStorage.getItem(\"netlifySiteURL\")\n if (APIUrl) {\n return new GoTrue({ APIUrl, setCookie: !isLocal })\n }\n if (isLocal && siteURL) {\n const parts = [siteURL]\n if (!siteURL.match(/\\/$/)) {\n parts.push(\"/\")\n }\n parts.push(\".netlify/identity\")\n return new GoTrue({ APIUrl: parts.join(\"\"), setCookie: !isLocal })\n }\n if (isLocal) {\n return null\n }\n\n return new GoTrue({ setCookie: !isLocal })\n}\n\nlet root\nlet iframe\nconst iframeStyle = {\n position: \"fixed\",\n top: 0,\n left: 0,\n border: \"none\",\n width: \"100%\",\n height: \"100%\",\n overflow: \"visible\",\n background: \"transparent\",\n display: \"none\",\n \"z-index\": 99\n}\n\nobserve(store.modal, \"isOpen\", () => {\n if (!store.settings) {\n store.loadSettings()\n }\n setStyle(iframe, {\n ...iframeStyle,\n display: store.modal.isOpen ? \"block !important\" : \"none\"\n })\n if (store.modal.isOpen) {\n trigger(\"open\", store.modal.page)\n } else {\n trigger(\"close\")\n }\n})\n\nobserve(store, \"siteURL\", () => {\n if (store.siteURL === null || store.siteURL === undefined) {\n localStorage.removeItem(\"netlifySiteURL\")\n } else {\n localStorage.setItem(\"netlifySiteURL\", store.siteURL)\n }\n store.init(instantiateGotrue(), true)\n})\n\nobserve(store, \"user\", () => {\n if (store.user) {\n trigger(\"login\", store.user)\n } else {\n trigger(\"logout\")\n }\n})\n\nobserve(store, \"gotrue\", () => {\n store.gotrue && trigger(\"init\", store.gotrue.currentUser())\n})\n\nobserve(store, \"error\", () => {\n trigger(\"error\", store.error)\n})\n\nconst routes = /(confirmation|invite|recovery|email_change)_token=([^&]+)/\nconst errorRoute = /error=access_denied&error_description=403/\nconst accessTokenRoute = /access_token=/\n\nfunction runRoutes() {\n const hash = (document.location.hash || \"\").replace(/^#\\/?/, \"\")\n if (!hash) {\n return\n }\n\n const m = hash.match(routes)\n if (m) {\n store.verifyToken(m[1], m[2])\n document.location.hash = \"\"\n }\n\n const em = hash.match(errorRoute)\n if (em) {\n store.openModal(\"signup\")\n document.location.hash = \"\"\n }\n\n const am = hash.match(accessTokenRoute)\n if (am) {\n const params = {}\n hash.split(\"&\").forEach((pair) => {\n const [key, value] = pair.split(\"=\")\n params[key] = value\n })\n if (!!document && params[\"access_token\"]) {\n document.cookie = `nf_jwt=${params[\"access_token\"]}`\n }\n document.location.hash = \"\"\n store.openModal(\"login\")\n store.completeExternalLogin(params)\n }\n}\n\nfunction init(options = {}) {\n const { APIUrl, logo = true, namePlaceholder } = options\n const controlEls = document.querySelectorAll(\"[data-netlify-identity-menu],[data-netlify-identity-button]\")\n Array.prototype.slice.call(controlEls).forEach((el) => {\n let controls = null\n const mode = el.getAttribute(\"data-netlify-identity-menu\") === null ? \"button\" : \"menu\"\n render(\n \n \n ,\n el,\n controls\n )\n })\n\n store.init(instantiateGotrue(APIUrl))\n store.modal.logo = logo\n store.setNamePlaceholder(namePlaceholder)\n iframe = document.createElement(\"iframe\")\n iframe.id = \"netlify-identity-widget\"\n iframe.onload = () => {\n const styles = iframe.contentDocument.createElement(\"style\")\n styles.innerHTML = modalCSS.toString()\n iframe.contentDocument.head.appendChild(styles)\n root = render(\n \n \n ,\n iframe.contentDocument.body,\n root\n )\n runRoutes()\n }\n setStyle(iframe, iframeStyle)\n iframe.src = \"about:blank\"\n const container = options.container ? document.querySelector(options.container) : document.body\n container.appendChild(iframe)\n /* There's a certain case where we might have called setStyle before the iframe was ready.\n\t Make sure we take the last style and apply it */\n if (queuedIframeStyle) {\n iframe.setAttribute(\"style\", queuedIframeStyle)\n queuedIframeStyle = null\n }\n}\n\nexport default netlifyIdentity\n\n\n\n// WEBPACK FOOTER //\n// ./netlify-identity.js","var g;\r\n\r\n// This works in non-strict mode\r\ng = (function() {\r\n\treturn this;\r\n})();\r\n\r\ntry {\r\n\t// This works if eval is allowed (see CSP)\r\n\tg = g || Function(\"return this\")() || (1,eval)(\"this\");\r\n} catch(e) {\r\n\t// This works if the window reference is available\r\n\tif(typeof window === \"object\")\r\n\t\tg = window;\r\n}\r\n\r\n// g can still be undefined, but nothing to do about it...\r\n// We return undefined, instead of nothing here, so it's\r\n// easier to handle this case. if(!global) { ...}\r\n\r\nmodule.exports = g;\r\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/webpack/buildin/global.js","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.connect = connect;\n\nvar _observer = require('./observer');\n\nvar _inject = require('./inject');\n\nfunction connect(arg1, arg2) {\n if (typeof arg1 === 'string') {\n throw new Error('Store names should be provided as array');\n }\n if (Array.isArray(arg1)) {\n if (!arg2) {\n // invoked as decorator\n return function (componentClass) {\n return connect(arg1, componentClass);\n };\n } else {\n return _inject.inject.apply(null, arg1)(connect(arg2));\n }\n }\n return (0, _observer.observer)(arg1);\n}\n\n\n// WEBPACK FOOTER //\n// ../node_modules/mobx-preact/lib/connect.js","'use strict';\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar REACT_STATICS = {\n childContextTypes: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\n\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = getPrototypeOf && getPrototypeOf(Object);\n\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') { // don't hoist over string (html) components\n\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n if (!REACT_STATICS[key] && !KNOWN_STATICS[key] && (!blacklist || !blacklist[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n try { // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n\n return targetComponent;\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Provider = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _preact = require('preact');\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar specialReactKeys = { children: true, key: true, ref: true };\n\nvar logger = console; // eslint-disable-line no-console\n\nvar Provider = exports.Provider = function (_Component) {\n _inherits(Provider, _Component);\n\n function Provider() {\n _classCallCheck(this, Provider);\n\n return _possibleConstructorReturn(this, (Provider.__proto__ || Object.getPrototypeOf(Provider)).apply(this, arguments));\n }\n\n _createClass(Provider, [{\n key: 'render',\n value: function render(_ref) {\n var children = _ref.children;\n\n return children.length > 1 ? (0, _preact.h)(\n 'div',\n null,\n ' ',\n children,\n ' '\n ) : children[0];\n }\n }, {\n key: 'getChildContext',\n value: function getChildContext() {\n var stores = {};\n // inherit stores\n var baseStores = this.context.mobxStores;\n if (baseStores) {\n for (var key in baseStores) {\n stores[key] = baseStores[key];\n }\n }\n // add own stores\n for (var _key in this.props) {\n if (!specialReactKeys[_key] && _key !== 'suppressChangedStoreWarning') {\n stores[_key] = this.props[_key];\n }\n }\n\n return {\n mobxStores: stores\n };\n }\n }, {\n key: 'componentWillReceiveProps',\n value: function componentWillReceiveProps(nextProps) {\n // Maybe this warning is too aggressive?\n if (Object.keys(nextProps).length !== Object.keys(this.props).length) {\n logger.warn('MobX Provider: The set of provided stores has changed. Please avoid changing stores as the change might not propagate to all children');\n }\n if (!nextProps.suppressChangedStoreWarning) {\n for (var key in nextProps) {\n if (!specialReactKeys[key] && this.props[key] !== nextProps[key]) {\n logger.warn('MobX Provider: Provided store \\'' + key + '\\' has changed. Please avoid replacing stores as the change might not propagate to all children');\n }\n }\n }\n }\n }]);\n\n return Provider;\n}(_preact.Component);\n\n\n// WEBPACK FOOTER //\n// ../node_modules/mobx-preact/lib/Provider.js","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _microApiClient = require(\"micro-api-client\");\n\nvar _microApiClient2 = _interopRequireDefault(_microApiClient);\n\nvar _user = require(\"./user\");\n\nvar _user2 = _interopRequireDefault(_user);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar HTTPRegexp = /^http:\\/\\//;\nvar defaultApiURL = \"/.netlify/identity\";\n\nvar GoTrue = function () {\n function GoTrue() {\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref$APIUrl = _ref.APIUrl,\n APIUrl = _ref$APIUrl === undefined ? defaultApiURL : _ref$APIUrl,\n _ref$audience = _ref.audience,\n audience = _ref$audience === undefined ? \"\" : _ref$audience,\n _ref$setCookie = _ref.setCookie,\n setCookie = _ref$setCookie === undefined ? false : _ref$setCookie;\n\n _classCallCheck(this, GoTrue);\n\n if (APIUrl.match(HTTPRegexp)) {\n console.warn(\"Warning:\\n\\nDO NOT USE HTTP IN PRODUCTION FOR GOTRUE EVER!\\nGoTrue REQUIRES HTTPS to work securely.\");\n }\n\n if (audience) {\n this.audience = audience;\n }\n\n this.setCookie = setCookie;\n\n this.api = new _microApiClient2.default(APIUrl);\n }\n\n _createClass(GoTrue, [{\n key: \"_request\",\n value: function _request(path) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n options.headers = options.headers || {};\n var aud = options.audience || this.audience;\n if (aud) {\n options.headers[\"X-JWT-AUD\"] = aud;\n }\n return this.api.request(path, options).catch(function (err) {\n if (err instanceof _microApiClient.JSONHTTPError && err.json) {\n if (err.json.msg) {\n err.message = err.json.msg;\n } else if (err.json.error) {\n err.message = err.json.error + \": \" + err.json.error_description;\n }\n }\n return Promise.reject(err);\n });\n }\n }, {\n key: \"settings\",\n value: function settings() {\n return this._request(\"/settings\");\n }\n }, {\n key: \"signup\",\n value: function signup(email, password, data) {\n return this._request(\"/signup\", {\n method: \"POST\",\n body: JSON.stringify({ email: email, password: password, data: data })\n });\n }\n }, {\n key: \"login\",\n value: function login(email, password, remember) {\n var _this = this;\n\n this._setRememberHeaders(remember);\n return this._request(\"/token\", {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/x-www-form-urlencoded\" },\n body: \"grant_type=password&username=\" + encodeURIComponent(email) + \"&password=\" + encodeURIComponent(password)\n }).then(function (response) {\n _user2.default.removeSavedSession();\n return _this.createUser(response, remember);\n });\n }\n }, {\n key: \"loginExternalUrl\",\n value: function loginExternalUrl(provider) {\n return this.api.apiURL + \"/authorize?provider=\" + provider;\n }\n }, {\n key: \"confirm\",\n value: function confirm(token, remember) {\n this._setRememberHeaders(remember);\n return this.verify(\"signup\", token, remember);\n }\n }, {\n key: \"requestPasswordRecovery\",\n value: function requestPasswordRecovery(email) {\n return this._request(\"/recover\", {\n method: \"POST\",\n body: JSON.stringify({ email: email })\n });\n }\n }, {\n key: \"recover\",\n value: function recover(token, remember) {\n this._setRememberHeaders(remember);\n return this.verify(\"recovery\", token, remember);\n }\n }, {\n key: \"acceptInvite\",\n value: function acceptInvite(token, password, remember) {\n var _this2 = this;\n\n this._setRememberHeaders(remember);\n return this._request(\"/verify\", {\n method: \"POST\",\n body: JSON.stringify({ token: token, password: password, type: \"signup\" })\n }).then(function (response) {\n return _this2.createUser(response, remember);\n });\n }\n }, {\n key: \"acceptInviteExternalUrl\",\n value: function acceptInviteExternalUrl(provider, token) {\n return this.api.apiURL + \"/authorize?provider=\" + provider + \"&invite_token=\" + token;\n }\n }, {\n key: \"createUser\",\n value: function createUser(tokenResponse) {\n var remember = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n this._setRememberHeaders(remember);\n var user = new _user2.default(this.api, tokenResponse, this.audience);\n return user.getUserData().then(function (user) {\n if (remember) {\n user._saveSession();\n }\n return user;\n });\n }\n }, {\n key: \"currentUser\",\n value: function currentUser() {\n var user = _user2.default.recoverSession(this.api);\n user && this._setRememberHeaders(user._fromStorage);\n return user;\n }\n }, {\n key: \"verify\",\n value: function verify(type, token, remember) {\n var _this3 = this;\n\n this._setRememberHeaders(remember);\n return this._request(\"/verify\", {\n method: \"POST\",\n body: JSON.stringify({ token: token, type: type })\n }).then(function (response) {\n return _this3.createUser(response, remember);\n });\n }\n }, {\n key: \"_setRememberHeaders\",\n value: function _setRememberHeaders(remember) {\n if (this.setCookie) {\n this.api.defaultHeaders = this.api.defaultHeaders || {};\n this.api.defaultHeaders[\"X-Use-Cookie\"] = remember ? \"1\" : \"session\";\n }\n }\n }]);\n\n return GoTrue;\n}();\n\nexports.default = GoTrue;\n\n\nif (typeof window !== \"undefined\") {\n window.GoTrue = GoTrue;\n}\n\n\n// WEBPACK FOOTER //\n// ../node_modules/gotrue-js/lib/index.js","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\n\nexports.getPagination = getPagination;\nfunction getPagination(response) {\n var links = response.headers.get(\"Link\");\n var pagination = {};\n //var link, url, rel, m, page;\n if (links == null) {\n return null;\n }\n links = links.split(\",\");\n var total = response.headers.get(\"X-Total-Count\");\n\n for (var i = 0, len = links.length; i < len; i++) {\n var link = links[i].replace(/(^\\s*|\\s*$)/, \"\");\n\n var _link$split = link.split(\";\"),\n _link$split2 = _slicedToArray(_link$split, 2),\n url = _link$split2[0],\n rel = _link$split2[1];\n\n var m = url.match(/page=(\\d+)/);\n var page = m && parseInt(m[1], 10);\n if (rel.match(/last/)) {\n pagination.last = page;\n } else if (rel.match(/next/)) {\n pagination.next = page;\n } else if (rel.match(/prev/)) {\n pagination.prev = page;\n } else if (rel.match(/first/)) {\n pagination.first = page;\n }\n }\n\n pagination.last = Math.max(pagination.last || 0, pagination.prev && pagination.prev + 1 || 0);\n pagination.current = pagination.next ? pagination.next - 1 : pagination.last || 1;\n pagination.total = total ? parseInt(total, 10) : null;\n\n return pagination;\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ../node_modules/micro-api-client/lib/pagination.js\n// module id = 15\n// module chunks = 0","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _microApiClient = require(\"micro-api-client\");\n\nvar _microApiClient2 = _interopRequireDefault(_microApiClient);\n\nvar _admin = require(\"./admin\");\n\nvar _admin2 = _interopRequireDefault(_admin);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar ExpiryMargin = 60 * 1000;\nvar storageKey = \"gotrue.user\";\nvar refreshPromises = {};\nvar currentUser = null;\nvar forbiddenUpdateAttributes = { api: 1, token: 1, audience: 1, url: 1 };\nvar forbiddenSaveAttributes = { api: 1 };\n\nvar User = function () {\n function User(api, tokenResponse, audience) {\n _classCallCheck(this, User);\n\n this.api = api;\n this.url = api.apiURL;\n this.audience = audience;\n this._processTokenResponse(tokenResponse);\n currentUser = this;\n }\n\n _createClass(User, [{\n key: \"update\",\n value: function update(attributes) {\n var _this = this;\n\n return this._request(\"/user\", {\n method: \"PUT\",\n body: JSON.stringify(attributes)\n }).then(function (response) {\n return _this._saveUserData(response)._refreshSavedSession();\n });\n }\n }, {\n key: \"jwt\",\n value: function jwt(forceRefresh) {\n var _tokenDetails = this.tokenDetails(),\n expires_at = _tokenDetails.expires_at,\n refresh_token = _tokenDetails.refresh_token,\n access_token = _tokenDetails.access_token;\n\n if (forceRefresh || expires_at - ExpiryMargin < Date.now()) {\n return this._refreshToken(refresh_token);\n }\n return Promise.resolve(access_token);\n }\n }, {\n key: \"logout\",\n value: function logout() {\n return this._request(\"/logout\", { method: \"POST\" }).then(this.clearSession.bind(this)).catch(this.clearSession.bind(this));\n }\n }, {\n key: \"_refreshToken\",\n value: function _refreshToken(refresh_token) {\n var _this2 = this;\n\n if (refreshPromises[refresh_token]) {\n return refreshPromises[refresh_token];\n }\n return refreshPromises[refresh_token] = this.api.request(\"/token\", {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/x-www-form-urlencoded\" },\n body: \"grant_type=refresh_token&refresh_token=\" + refresh_token\n }).then(function (response) {\n delete refreshPromises[refresh_token];\n _this2._processTokenResponse(response);\n _this2._refreshSavedSession();\n return _this2.token.access_token;\n }).catch(function (error) {\n delete refreshPromises[refresh_token];\n _this2.clearSession();\n return Promise.reject(error);\n });\n }\n }, {\n key: \"_request\",\n value: function _request(path) {\n var _this3 = this;\n\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n options.headers = options.headers || {};\n\n var aud = options.audience || this.audience;\n if (aud) {\n options.headers[\"X-JWT-AUD\"] = aud;\n }\n\n return this.jwt().then(function (token) {\n return _this3.api.request(path, _extends({\n headers: Object.assign(options.headers, {\n Authorization: \"Bearer \" + token\n })\n }, options)).catch(function (err) {\n if (err instanceof _microApiClient.JSONHTTPError && err.json) {\n if (err.json.msg) {\n err.message = err.json.msg;\n } else if (err.json.error) {\n err.message = err.json.error + \": \" + err.json.error_description;\n }\n }\n return Promise.reject(err);\n });\n });\n }\n }, {\n key: \"getUserData\",\n value: function getUserData() {\n return this._request(\"/user\").then(this._saveUserData.bind(this)).then(this._refreshSavedSession.bind(this));\n }\n }, {\n key: \"_saveUserData\",\n value: function _saveUserData(attributes, fromStorage) {\n for (var key in attributes) {\n if (key in User.prototype || key in forbiddenUpdateAttributes) {\n continue;\n }\n this[key] = attributes[key];\n }\n if (fromStorage) {\n this._fromStorage = true;\n }\n return this;\n }\n }, {\n key: \"_processTokenResponse\",\n value: function _processTokenResponse(tokenResponse) {\n this.token = tokenResponse;\n var claims = void 0;\n try {\n claims = JSON.parse(urlBase64Decode(tokenResponse.access_token.split(\".\")[1]));\n this.token.expires_at = claims.exp * 1000;\n } catch (e) {\n console.error(new Error(\"Gotrue-js: Failed to parse tokenResponse claims: \" + JSON.stringify(tokenResponse)));\n }\n }\n }, {\n key: \"_refreshSavedSession\",\n value: function _refreshSavedSession() {\n // only update saved session if we previously saved something\n if (localStorage.getItem(storageKey)) {\n this._saveSession();\n }\n return this;\n }\n }, {\n key: \"_saveSession\",\n value: function _saveSession() {\n localStorage.setItem(storageKey, JSON.stringify(this._details));\n return this;\n }\n }, {\n key: \"tokenDetails\",\n value: function tokenDetails() {\n return this.token;\n }\n }, {\n key: \"clearSession\",\n value: function clearSession() {\n User.removeSavedSession();\n this.token = null;\n currentUser = null;\n }\n }, {\n key: \"admin\",\n get: function get() {\n return new _admin2.default(this);\n }\n }, {\n key: \"_details\",\n get: function get() {\n var userCopy = {};\n for (var key in this) {\n if (key in User.prototype || key in forbiddenSaveAttributes) {\n continue;\n }\n userCopy[key] = this[key];\n }\n return userCopy;\n }\n }], [{\n key: \"removeSavedSession\",\n value: function removeSavedSession() {\n localStorage.removeItem(storageKey);\n }\n }, {\n key: \"recoverSession\",\n value: function recoverSession(apiInstance) {\n if (currentUser) {\n return currentUser;\n }\n\n var json = localStorage.getItem(storageKey);\n if (json) {\n try {\n var data = JSON.parse(json);\n var url = data.url,\n token = data.token,\n audience = data.audience;\n\n if (!url || !token) {\n return null;\n }\n\n var api = apiInstance || new _microApiClient2.default(url, {});\n return new User(api, token, audience)._saveUserData(data, true);\n } catch (ex) {\n console.error(new Error(\"Gotrue-js: Error recovering session: \" + ex));\n return null;\n }\n }\n\n return null;\n }\n }]);\n\n return User;\n}();\n\nexports.default = User;\n\n\nfunction urlBase64Decode(str) {\n // From https://jwt.io/js/jwt.js\n var output = str.replace(/-/g, '+').replace(/_/g, '/');\n switch (output.length % 4) {\n case 0:\n break;\n case 2:\n output += '==';\n break;\n case 3:\n output += '=';\n break;\n default:\n throw 'Illegal base64url string!';\n }\n var result = window.atob(output); //polifyll https://github.com/davidchambers/Base64.js\n try {\n return decodeURIComponent(escape(result));\n } catch (err) {\n return result;\n }\n}\n\n\n// WEBPACK FOOTER //\n// ../node_modules/gotrue-js/lib/user.js","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar Admin = function () {\n function Admin(user) {\n _classCallCheck(this, Admin);\n\n this.user = user;\n }\n\n // Return a list of all users in an audience\n\n\n _createClass(Admin, [{\n key: \"listUsers\",\n value: function listUsers(aud) {\n return this.user._request(\"/admin/users\", {\n method: \"GET\",\n audience: aud\n });\n }\n }, {\n key: \"getUser\",\n value: function getUser(user) {\n return this.user._request(\"/admin/users/\" + user.id);\n }\n }, {\n key: \"updateUser\",\n value: function updateUser(user) {\n var attributes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n return this.user._request(\"/admin/users/\" + user.id, {\n method: \"PUT\",\n body: JSON.stringify(attributes)\n });\n }\n }, {\n key: \"createUser\",\n value: function createUser(email, password) {\n var attributes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n attributes.email = email;\n attributes.password = password;\n return this.user._request(\"/admin/users\", {\n method: \"POST\",\n body: JSON.stringify(attributes)\n });\n }\n }, {\n key: \"deleteUser\",\n value: function deleteUser(user) {\n return this.user._request(\"/admin/users/\" + user.id, {\n method: \"DELETE\"\n });\n }\n }]);\n\n return Admin;\n}();\n\nexports.default = Admin;\n\n\n// WEBPACK FOOTER //\n// ../node_modules/gotrue-js/lib/admin.js","import { h, Component } from \"preact\";\nimport { connect } from \"mobx-preact\";\nimport Modal from \"./modal\";\nimport SiteURLForm from \"./forms/siteurl\";\nimport LogoutForm from \"./forms/logout\";\nimport UserForm from \"./forms/user\";\nimport Providers from \"./forms/providers\";\nimport Message from \"./forms/message\";\n\nconst pagesWithHeader = { login: true, signup: true };\nconst pages = {\n login: {\n login: true,\n button: \"Log in\",\n button_saving: \"Logging in\",\n email: true,\n password: true,\n link: \"amnesia\",\n link_text: \"Forgot password?\",\n providers: true\n },\n signup: {\n signup: true,\n button: \"Sign up\",\n button_saving: \"Signing Up\",\n name: true,\n email: true,\n password: true,\n providers: true\n },\n amnesia: {\n title: \"Recover password\",\n button: \"Send recovery email\",\n button_saving: \"Sending recovery email\",\n email: true,\n link: \"login\",\n link_text: \"Never mind\"\n },\n recovery: {\n title: \"Recover password\",\n button: \"Update password\",\n button_saving: \"Updating password\",\n password: true,\n link: \"login\",\n link_text: \"Never mind\"\n },\n invite: {\n title: \"Complete your signup\",\n button: \"Sign up\",\n button_saving: \"Signing Up\",\n password: true,\n providers: true\n },\n user: {\n title: \"Logged in\"\n }\n};\n\n@connect([\"store\"])\nclass App extends Component {\n handleClose = () => this.props.store.closeModal();\n handlePage = page => this.props.store.openModal(page);\n handleLogout = () => this.props.store.logout();\n handleSiteURL = url => this.props.store.setSiteURL(url);\n clearSiteURL = url => this.props.store.clearSiteURL();\n handleExternalLogin = provider => this.props.store.externalLogin(provider);\n handleUser = ({ name, email, password }) => {\n const { store } = this.props;\n\n switch (store.modal.page) {\n case \"login\":\n store.login(email, password);\n break;\n case \"signup\":\n store.signup(name, email, password);\n break;\n case \"amnesia\":\n store.requestPasswordRecovery(email);\n break;\n case \"invite\":\n store.acceptInvite(password);\n break;\n case \"recovery\":\n store.updatePassword(password);\n break;\n }\n };\n\n renderBody() {\n const { store } = this.props;\n const page = pages[store.modal.page] || {};\n const pageLinkHandler = () => this.handlePage(page.link);\n\n if (!store.gotrue) {\n return ;\n }\n if (!store.settings) {\n return;\n }\n if (store.user) {\n return (\n \n );\n }\n if (store.modal.page === \"signup\" && store.settings.disable_signup) {\n return ;\n }\n\n return (\n
\n \n {!store.user && page.link && store.gotrue && (\n \n {page.link_text}\n \n )}\n \n
\n );\n }\n\n renderProviders() {\n const { store } = this.props;\n\n if (!(store.gotrue && store.settings)) {\n return null;\n }\n if (store.modal.page === \"signup\" && store.settings.disable_signup) {\n return null;\n }\n const page = pages[store.modal.page] || {};\n\n if (!page.providers) {\n return null;\n }\n\n const providers = [\n \"Google\",\n \"GitHub\",\n \"GitLab\",\n \"BitBucket\",\n \"SAML\"\n ].filter(p => store.settings.external[p.toLowerCase()]);\n\n return providers.length ? (\n \n ) : null;\n }\n\n render() {\n const { store } = this.props;\n const showHeader = pagesWithHeader[store.modal.page];\n const showSignup = store.settings && !store.settings.disable_signup;\n const page = pages[store.modal.page] || {};\n\n return (\n
\n \n {this.renderBody()}\n {this.renderProviders()}\n \n
\n );\n }\n}\n\nexport default App;\n\n\n\n// WEBPACK FOOTER //\n// ./components/app.js","import { h, Component } from \"preact\";\n\nfunction formatError(error) {\n return (\n (error.json && error.json.error_description) ||\n error.message ||\n error.toString()\n );\n}\n\nexport default class Modal extends Component {\n handleClose = e => {\n e.preventDefault();\n this.props.onClose();\n };\n\n blockEvent = e => {\n e.stopPropagation();\n };\n\n linkHandler = page => e => {\n e.preventDefault();\n this.props.onPage(page);\n };\n\n render() {\n const {\n page,\n error,\n loading,\n showHeader,\n showSignup,\n devSettings,\n isOpen,\n children,\n logo\n } = this.props;\n const hidden = loading || !isOpen;\n return (\n \n \n
\n \n {showHeader && (\n
\n {showSignup && (\n \n Sign up\n \n )}\n {!devSettings && (\n \n Log in\n \n )}\n
\n )}\n {page.title && (\n
\n \n
\n )}\n {devSettings && (\n
\n \n
\n )}\n {error && (\n
\n {formatError(error)}\n
\n )}\n {children}\n
\n
\n {logo && (\n \n \n Coded by Netlify\n \n )}\n \n );\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/modal/index.js","import { h, Component } from \"preact\";\n\nexport default class SiteURLForm extends Component {\n constructor(props) {\n super(props);\n this.state = { url: \"\", development: props.devMode || false };\n }\n\n handleInput = e => {\n this.setState({ [e.target.name]: e.target.value });\n };\n\n addSiteURL = e => {\n e.preventDefault();\n this.props.onSiteURL(this.state.url);\n };\n\n clearSiteURL = e => {\n e.preventDefault;\n this.props.onSiteURL();\n };\n\n render() {\n const { url, development } = this.state;\n\n return (\n
\n {development ? (\n
\n

Development Settings

\n this.clearSiteURL(e)}\n className=\"btnLink forgotPasswordLink\"\n >\n Clear localhost URL\n \n
\n ) : (\n
\n
\n {\n \"Looks like you're running a local server. Please let us know the URL of your Netlify site.\"\n }\n
\n
\n
\n );\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/forms/siteurl.js","import { h, Component } from \"preact\";\nimport Button from \"./button\";\n\nexport default class LogoutForm extends Component {\n handleLogout = e => {\n e.preventDefault();\n this.props.onLogout();\n };\n render() {\n const { user, saving } = this.props;\n\n return (\n \n

\n Logged in as
\n \n {user.user_metadata.full_name ||\n user.user_metadata.name ||\n user.email}\n \n

\n \n );\n }\n}\n\nexport default class Providers extends Component {\n getLabel(p) {\n const pId = p.toLowerCase();\n if (pId in this.props.labels) {\n return this.props.labels[pId];\n }\n return p;\n }\n\n render() {\n const { providers, onLogin } = this.props;\n\n return (\n
\n
\n {providers.map(p => (\n \n ))}\n
\n );\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/forms/providers.js","import { observable, action } from \"mobx\";\n\nconst store = observable({\n user: null,\n recovered_user: null,\n message: null,\n settings: null,\n gotrue: null,\n error: null,\n siteURL: null,\n remember: true,\n saving: false,\n invite_token: null,\n email_change_token: null,\n namePlaceholder: null,\n modal: {\n page: \"login\",\n isOpen: false,\n logo: true\n }\n});\n\nstore.setNamePlaceholder = action(function setNamePlaceholder(namePlaceholder) {\n store.namePlaceholder = namePlaceholder;\n});\n\nstore.startAction = action(function startAction() {\n store.saving = true;\n store.error = null;\n store.message = null;\n});\n\nstore.setError = action(function setError(err) {\n store.saving = false;\n store.error = err;\n});\n\nstore.init = action(function init(gotrue, reloadSettings) {\n if (gotrue) {\n store.gotrue = gotrue;\n store.user = gotrue.currentUser();\n if (store.user) {\n store.modal.page = \"user\";\n }\n }\n if (reloadSettings) {\n store.loadSettings();\n }\n});\n\nstore.loadSettings = action(function loadSettings() {\n if (store.settings) {\n return;\n }\n if (!store.gotrue) {\n return;\n }\n\n store.gotrue\n .settings()\n .then(action(settings => (store.settings = settings)))\n .catch(\n action(err => {\n store.error = new Error(\n `Failed to load settings from ${store.gotrue.api.apiURL}`\n );\n })\n );\n});\n\nstore.setSiteURL = action(function setSiteURL(url) {\n store.siteURL = url;\n});\n\nstore.clearSiteURL = action(function clearSiteURL() {\n store.gotrue = null;\n store.siteURL = null;\n store.settings = null;\n});\n\nstore.login = action(function login(email, password) {\n store.startAction();\n return store.gotrue\n .login(email, password, store.remember)\n .then(\n action(user => {\n store.user = user;\n store.modal.page = \"user\";\n store.invite_token = null;\n if (store.email_change_token) {\n store.doEmailChange();\n }\n store.saving = false;\n })\n )\n .catch(store.setError);\n});\n\nstore.externalLogin = action(function externalLogin(provider) {\n // store.startAction();\n store.error = null;\n store.message = null;\n const url = store.invite_token\n ? store.gotrue.acceptInviteExternalUrl(provider, store.invite_token)\n : store.gotrue.loginExternalUrl(provider);\n window.location.href = url;\n});\n\nstore.completeExternalLogin = action(function completeExternalLogin(params) {\n store.startAction();\n store.gotrue\n .createUser(params, store.remember)\n .then(user => {\n store.user = user;\n store.modal.page = \"user\";\n store.saving = false;\n })\n .catch(store.setError);\n});\n\nstore.signup = action(function signup(name, email, password) {\n store.startAction();\n return store.gotrue\n .signup(email, password, { full_name: name })\n .then(\n action(() => {\n if (store.settings.autoconfirm) {\n store.login(email, password, store.remember);\n } else {\n store.message = \"confirm\";\n }\n store.saving = false;\n })\n )\n .catch(store.setError);\n});\n\nstore.logout = action(function logout() {\n if (store.user) {\n store.startAction();\n return store.user\n .logout()\n .then(\n action(() => {\n store.user = null;\n store.modal.page = \"login\";\n store.saving = false;\n })\n )\n .catch(store.setError);\n } else {\n store.modal.page = \"login\";\n store.saving = false;\n }\n});\n\nstore.updatePassword = action(function updatePassword(password) {\n store.startAction();\n const user = store.recovered_user || store.user;\n user\n .update({ password })\n .then(user => {\n store.user = user;\n store.recovered_user = null;\n store.modal.page = \"user\";\n store.saving = false;\n })\n .catch(store.setError);\n});\n\nstore.acceptInvite = action(function acceptInvite(password) {\n store.startAction();\n store.gotrue\n .acceptInvite(store.invite_token, password, store.remember)\n .then(user => {\n store.saving = false;\n store.invite_token = null;\n store.user = user;\n store.modal.page = \"user\";\n })\n .catch(store.setError);\n});\n\nstore.doEmailChange = action(function doEmailChange() {\n store.startAction();\n return store.user\n .update({ email_change_token: store.email_change_token })\n .then(\n action(user => {\n store.user = user;\n store.email_change_token = null;\n store.message = \"email_changed\";\n store.saving = false;\n })\n )\n .catch(store.setError);\n});\n\nstore.verifyToken = action(function verifyToken(type, token) {\n const gotrue = store.gotrue;\n store.modal.isOpen = true;\n\n switch (type) {\n case \"confirmation\":\n store.startAction();\n store.modal.page = \"signup\";\n gotrue\n .confirm(token, store.remember)\n .then(\n action(user => {\n store.user = user;\n store.saving = false;\n })\n )\n .catch(\n action(err => {\n console.error(err);\n store.message = \"verfication_error\";\n store.modal.page = \"signup\";\n store.saving = false;\n })\n );\n break;\n case \"email_change\":\n store.email_change_token = token;\n store.modal.page = \"message\";\n if (store.user) {\n store.doEmailChange();\n } else {\n store.modal.page = \"login\";\n }\n break;\n case \"invite\":\n store.modal.page = type;\n store.invite_token = token;\n break;\n case \"recovery\":\n store.startAction();\n store.modal.page = type;\n store.gotrue\n .recover(token, store.remember)\n .then(user => {\n store.saving = false;\n store.recovered_user = user;\n })\n .catch(err => {\n store.saving = false;\n store.error = err;\n store.modal.page = \"login\";\n });\n break;\n default:\n store.error = \"Unkown token type\";\n }\n});\n\nstore.requestPasswordRecovery = action(function requestPasswordRecovery(email) {\n store.startAction();\n store.gotrue\n .requestPasswordRecovery(email)\n .then(\n action(() => {\n store.message = \"password_mail\";\n store.saving = false;\n })\n )\n .catch(store.setError);\n});\n\nstore.openModal = action(function open(page) {\n store.modal.page = page;\n store.modal.isOpen = true;\n});\n\nstore.closeModal = action(function close() {\n store.modal.isOpen = false;\n store.error = null;\n store.message = null;\n store.saving = false;\n});\n\nexport default store;\n\n\n\n// WEBPACK FOOTER //\n// ./state/store.js","import { h, Component } from \"preact\";\nimport { connect } from \"mobx-preact\";\n\n@connect([\"store\"])\nclass Controls extends Component {\n handleSignup = e => {\n e.preventDefault();\n this.props.store.openModal(\"signup\");\n };\n\n handleLogin = e => {\n e.preventDefault();\n this.props.store.openModal(\"login\");\n };\n\n handleLogout = e => {\n e.preventDefault();\n this.props.store.openModal(\"user\");\n };\n\n handleButton = e => {\n e.preventDefault();\n this.props.store.openModal(this.props.store.user ? \"user\" : \"login\");\n };\n\n render() {\n const { user } = this.props.store;\n\n if (this.props.mode === \"button\") {\n return (\n \n {this.props.text || (user ? \"Log out\" : \"Log in\")}\n \n );\n }\n\n if (user) {\n return (\n
    \n
  • \n Logged in as{\" \"}\n \n {user.user_metadata.name || user.email}\n \n
  • \n
  • \n \n Log out\n \n
  • \n
\n );\n }\n\n return (\n
    \n
  • \n \n Sign up\n \n
  • \n
  • \n \n Log in\n \n
  • \n
\n );\n }\n}\n\nexport default Controls;\n\n\n\n// WEBPACK FOOTER //\n// ./components/controls.js","exports = module.exports = require(\"../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"::-webkit-input-placeholder {\\n /* Chrome/Opera/Safari */\\n color: #a3a9ac;\\n font-weight: 500;\\n}\\n\\n::-moz-placeholder {\\n /* Firefox 19+ */\\n color: #a3a9ac;\\n font-weight: 500;\\n}\\n\\n:-ms-input-placeholder {\\n /* IE 10+ */\\n color: #a3a9ac;\\n font-weight: 500;\\n}\\n\\n:-moz-placeholder {\\n /* Firefox 18- */\\n color: #a3a9ac;\\n font-weight: 500;\\n}\\n\\n.modalContainer {\\n position: absolute;\\n top: 0;\\n left: 0;\\n width: 100%;\\n min-height: 100%;\\n overflow-x: hidden;\\n overflow-y: auto;\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n font-family: -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, Helvetica,\\n Arial, sans-serif, \\\"Apple Color Emoji\\\", \\\"Segoe UI Emoji\\\", \\\"Segoe UI Symbol\\\";\\n font-size: 14px;\\n line-height: 1.5;\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-orient: vertical;\\n -webkit-box-direction: normal;\\n -ms-flex-direction: column;\\n flex-direction: column;\\n -webkit-box-align: center;\\n -ms-flex-align: center;\\n align-items: center;\\n z-index: 99999;\\n}\\n\\n.modalContainer::before {\\n content: \\\"\\\";\\n display: block;\\n position: fixed;\\n top: 0;\\n bottom: 0;\\n left: 0;\\n right: 0;\\n background-color: #fff;\\n z-index: -1;\\n}\\n\\n.modalDialog {\\n -webkit-box-flex: 1;\\n -ms-flex-positive: 1;\\n flex-grow: 1;\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-orient: vertical;\\n -webkit-box-direction: normal;\\n -ms-flex-direction: column;\\n flex-direction: column;\\n width: 100%;\\n}\\n\\n.modalContent {\\n position: relative;\\n padding: 32px;\\n opacity: 0;\\n -webkit-transform: translateY(10px) scale(1);\\n transform: translateY(10px) scale(1);\\n background: #fff;\\n}\\n\\n[aria-hidden=\\\"false\\\"] .modalContent {\\n -webkit-animation: bouncyEntrance 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);\\n animation: bouncyEntrance 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);\\n -webkit-animation-fill-mode: forwards;\\n animation-fill-mode: forwards;\\n }\\n\\n@-webkit-keyframes bouncyEntrance {\\n 0% {\\n opacity: 0;\\n -webkit-transform: translateY(10px) scale(0.9);\\n transform: translateY(10px) scale(0.9);\\n }\\n\\n 100% {\\n opacity: 1;\\n -webkit-transform: translateY(0) scale(1);\\n transform: translateY(0) scale(1);\\n }\\n}\\n\\n@keyframes bouncyEntrance {\\n 0% {\\n opacity: 0;\\n -webkit-transform: translateY(10px) scale(0.9);\\n transform: translateY(10px) scale(0.9);\\n }\\n\\n 100% {\\n opacity: 1;\\n -webkit-transform: translateY(0) scale(1);\\n transform: translateY(0) scale(1);\\n }\\n}\\n\\n@media (min-width: 480px) {\\n .modalContainer::before {\\n background-color: rgb(14, 30, 37);\\n -webkit-animation: fadeIn 0.1s ease-in;\\n animation: fadeIn 0.1s ease-in;\\n -webkit-animation-fill-mode: forwards;\\n animation-fill-mode: forwards;\\n }\\n\\n .modalDialog {\\n max-width: 364px;\\n -webkit-box-pack: center;\\n -ms-flex-pack: center;\\n justify-content: center;\\n }\\n\\n .modalContent {\\n background: #fff;\\n -webkit-box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .07),\\n 0 12px 32px 0 rgba(14, 30, 37, .1);\\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .07),\\n 0 12px 32px 0 rgba(14, 30, 37, .1);\\n border-radius: 8px;\\n margin-top: 32px;\\n }\\n}\\n\\n@-webkit-keyframes fadeIn {\\n 0% {\\n opacity: 0;\\n }\\n\\n 100% {\\n opacity: 0.67;\\n }\\n}\\n\\n@keyframes fadeIn {\\n 0% {\\n opacity: 0;\\n }\\n\\n 100% {\\n opacity: 0.67;\\n }\\n}\\n\\n.flashMessage {\\n text-align: center;\\n color: rgb(14, 30, 37);\\n font-weight: 500;\\n font-size: 14px;\\n background-color: #f2f3f3;\\n padding: 6px;\\n border-radius: 4px;\\n opacity: 0.7;\\n -webkit-transition: opacity 0.2s linear;\\n transition: opacity 0.2s linear;\\n}\\n\\n.flashMessage:hover,\\n.flashMessage:focus {\\n opacity: 1;\\n}\\n\\n.error {\\n color: #fa3946;\\n background-color: #fceef0;\\n opacity: 1;\\n}\\n\\n.error span::before {\\n content: \\\"\\\";\\n display: inline-block;\\n position: relative;\\n top: 3px;\\n margin-right: 4px;\\n width: 16px;\\n height: 16px;\\n background: no-repeat center center;\\n background-image: url(data:image/svg+xml;base64,PH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zMzMyA3LjE2NjY2NjY3LDExLjMzMzMzMzMgQzcuMTY2NjY2NjcsMTAuODczMzMzMyA3LjU0LDEwLjUgOCwxMC41IEM4LjQ2LDEwLjUgOC44MzMzMzMzMywxMC44NzMzMzMzIDguODMzMzMzMzMsMTEuMzMzMzMzMyBDOC44MzMzMzMzMywxMS43OTMzMzMzIDguNDYsMTIuMTY2NjY2NyA4LDEyLjE2NjY2NjcgWiIvPgo8L3N2Zz4K);\\n}\\n\\n.success {\\n}\\n\\n.disabled {\\n opacity: 0.38;\\n pointer-events: none;\\n}\\n\\n.infoText {\\n text-align: center;\\n margin: 32px 0;\\n}\\n\\n.infoTextEmail {\\n font-size: 16px;\\n font-weight: 500;\\n}\\n\\n.saving {\\n background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABQCAMAAACeYYN3AAAAxlBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////DTx3aAAAAQnRSTlMAAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2Nzg5Ojs8PT4/QEGgjKRfAAACk0lEQVR4AYXQDXP5WhAG8CUhiSQqSv4RRRMVL1Fa1VZf3PL9v9Tde9wc9M8+P8/M7s6czJiHgNIvVCJO6YiAMlAiWckASiQrm4bJMZTDrmbBIEC9qpgVjp6n4B+oyEwCzKrMQBVaQIlkpmXZln1dhQB+49gOh5dLexlV6MhsAqyazEQVugCqsOK5nsQmwPWZ53ucvyczSGb4l9T9OsdnLgFOXVZFFd4AqEKrIasR4AdBI2hw1GR6VzMwSWY2A60ZNDl6KnUC3KbMRhXeAqhCpyXzCAjarNVucdqXVEhWaRfCdsj5vQcE1EOZQ7Jy+EcUlklWi2Q3BLQ6nagTcTra2Y0qrHZirRN3OOezTUAjvq4bd7suqpDfSGJUoXcnCwiIerIqqlC96vf6HD1ZsUcE3PYH/QGnrx3uYnqoQn4l6aMK/XtZi4BuIrNIZqVJkiapkhx37Y6AcDgcpsNU44Nz3OuoQn4jSVGFNw+ykID+SGaTzM5G2YiTFVM73AMConE2zjhj7XAXs4EqHE/4d12GKgwmsoiAZCpzSObMptPZdHZVSkCc5/ksnym8cPRUmiQzpvNcmedzTl4o7qlBsuZc1iVg9ChDFdYWshEBveV/FssFZ/l7Z7eowsfl0/JJ4UXj43A/ogpbT7IeAZNnWQ1VuJJNCBi8HKxeVhw9tRaq8JkfrV/WHDULxb1CFbbX7HX9yllfck9A/ipzSea+yeYEJO+yEFX4tim8b94VXjj/zzdU4Z/NmY/NB+fkTglYfMg8knmfsiUBD1+yCFX4+X309f3FOds/UYVR8fH2e6vwovExIuB5K/NJ5v8jWxGQ/chiVOF2d+pn98M5zt3WJFm83+/2O4UXjprabkzAWn+o56k9qvBfX4hMaM+SxOMAAAAASUVORK5CYII=);\\n background-repeat: repeat-x;\\n background-size: contain;\\n background-origin: border-box;\\n background-position: 0% 0%;\\n -webkit-animation: loading 20s linear infinite;\\n animation: loading 20s linear infinite;\\n pointer-events: none;\\n}\\n\\n.saving::after {\\n content: \\\"\\\\2026\\\";\\n}\\n\\n@-webkit-keyframes loading {\\n 0% {\\n background-position: 0% 0%;\\n }\\n\\n 100% {\\n background-position: 700% 0%;\\n }\\n}\\n\\n@keyframes loading {\\n 0% {\\n background-position: 0% 0%;\\n }\\n\\n 100% {\\n background-position: 700% 0%;\\n }\\n}\\n\\n.btn {\\n display: block;\\n position: relative;\\n width: 100%;\\n height: auto;\\n margin: 14px 0 0;\\n padding: 6px;\\n outline: 0;\\n cursor: pointer;\\n border: 2px solid rgb(14, 30, 37);\\n border-radius: 4px;\\n background-color: #2d3b41;\\n color: #fff;\\n -webkit-transition: background-color 0.2s ease;\\n transition: background-color 0.2s ease;\\n font-family: -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, Helvetica,\\n Arial, sans-serif, \\\"Apple Color Emoji\\\", \\\"Segoe UI Emoji\\\", \\\"Segoe UI Symbol\\\";\\n font-size: 14px;\\n font-weight: 500;\\n line-height: 24px;\\n text-align: center;\\n text-decoration: none;\\n white-space: nowrap;\\n}\\n\\n.btn:hover,\\n.btn:focus {\\n background-color: rgb(14, 30, 37);\\n text-decoration: none;\\n}\\n\\n.btnClose {\\n position: absolute;\\n top: 0;\\n right: 0;\\n margin: 0;\\n padding: 0;\\n border: 0;\\n width: 24px;\\n height: 24px;\\n border-radius: 50%;\\n margin: 6px;\\n background: #fff;\\n color: #a3a9ac;\\n}\\n\\n.btnClose::before {\\n content: \\\"\\\\D7\\\";\\n font-size: 25px;\\n line-height: 9px;\\n}\\n\\n.btnClose:hover,\\n.btnClose:focus {\\n background: #e9ebeb;\\n color: rgb(14, 30, 37);\\n}\\n\\n.header {\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n margin-top: -8px;\\n margin-bottom: 32px;\\n}\\n\\n.btnHeader {\\n font-size: 16px;\\n line-height: 24px;\\n background: #fff;\\n color: #a3a9ac;\\n border: 0;\\n border-bottom: 2px solid #e9ebeb;\\n border-radius: 4px 4px 0 0;\\n margin: 0;\\n}\\n\\n.btnHeader:focus,\\n.btnHeader.active {\\n background: #fff;\\n color: rgb(14, 30, 37);\\n border-color: rgb(14, 30, 37);\\n font-weight: 700;\\n}\\n\\n.btnHeader:not(:only-child):hover {\\n background-color: #e9ebeb;\\n color: rgb(14, 30, 37);\\n}\\n\\n.btnHeader:only-child {\\n cursor: auto;\\n}\\n\\n.btnLink {\\n display: block;\\n position: relative;\\n width: auto;\\n height: auto;\\n margin: 14px auto 0;\\n padding: 6px;\\n padding-bottom: 0;\\n outline: 0;\\n cursor: pointer;\\n color: rgb(14, 30, 37);\\n border: none;\\n border-bottom: 2px solid #e9ebeb;\\n border-radius: 0;\\n background-color: inherit;\\n -webkit-transition: border-color 0.2s ease;\\n transition: border-color 0.2s ease;\\n font-family: -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, Helvetica,\\n Arial, sans-serif, \\\"Apple Color Emoji\\\", \\\"Segoe UI Emoji\\\", \\\"Segoe UI Symbol\\\";\\n font-size: 14px;\\n font-weight: 500;\\n line-height: 24px;\\n text-align: center;\\n white-space: nowrap;\\n}\\n\\n.btnLink:hover,\\n.btnLink:focus {\\n background-color: inherit;\\n border-color: #a3a9ac;\\n}\\n\\n.form {\\n}\\n\\n.formGroup {\\n position: relative;\\n margin-top: 14px;\\n}\\n\\n.formControl {\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n display: block;\\n width: 100%;\\n height: 40px;\\n margin: 0;\\n padding: 6px 12px 6px 34px;\\n border: 2px solid #e9ebeb;\\n border-radius: 4px;\\n background: #fff;\\n color: rgb(14, 30, 37);\\n -webkit-box-shadow: none;\\n box-shadow: none;\\n font-size: 14px;\\n font-weight: 500;\\n line-height: 24px;\\n -webkit-transition: -webkit-box-shadow ease-in-out 0.15s;\\n transition: -webkit-box-shadow ease-in-out 0.15s;\\n transition: box-shadow ease-in-out 0.15s;\\n transition: box-shadow ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;\\n -webkit-appearance: none;\\n -moz-appearance: none;\\n}\\n\\n.inputFieldIcon {\\n position: absolute;\\n top: 12px;\\n left: 12px;\\n display: inline-block;\\n width: 16px;\\n height: 16px;\\n background-repeat: no-repeat;\\n background-position: center;\\n pointer-events: none;\\n}\\n\\n.inputFieldName {\\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDE0IDE0Ij4gIDxwYXRoIGZpbGw9IiNBM0E5QUMiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTgsNyBDNi4zNDMxNDU3NSw3IDUsNS42NTY4NTQyNSA1LDQgQzUsMi4zNDMxNDU3NSA2LjM0MzE0NTc1LDEgOCwxIEM5LjY1Njg1N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QzEyLDEzLjIwOTEzOSAxMC4yMDkxMzksMTUgOCwxNSBDNS43OTA4NjEsMTUgNCwxMy4yMDkxMzkgNCwxMSBaIE0xMCwxMSBMNiwxMSBDNiwxMi4xMDQ1Njk1IDYuODk1NDMwNSwxMyA4LDEzIEM5LjEwNDU2OTUsMTMgMTAsMTIuMTA0NTY5NSAxMCwxMSBaIE04LDExIEM3LjQ0NzcxNTI1LDExIDcsMTAuNTUyMjg0NyA3LDEwIEw3LDYgQzcsNS40NDc3MTUyNSA3LjQ0NzcxNTI1LDUgOCw1IEM4LjU1MjI4NDc1LDUgOSw1LjQ0NzcxNTI1IDksNiBMOSwxMCBDOSwxMC41NTIyODQ3IDguNTUyMjg0NzUsMTEgOCwxMSBaIiB0cmFuc2Zvcm09InJvdGF0ZSg0NSA4LjcwNyA2LjI5MykiLz48L3N2Zz4=);\\n}\\n\\n.formLabel {\\n}\\n\\n.hr {\\n border: 0;\\n border-top: 2px solid #e9ebeb;\\n margin: 32px 0 -1px;\\n text-align: center;\\n overflow: visible;\\n}\\n\\n.hr::before {\\n content: \\\"or\\\";\\n position: relative;\\n display: inline-block;\\n font-size: 12px;\\n font-weight: 800;\\n line-height: 1;\\n text-transform: uppercase;\\n background-color: #fff;\\n color: rgb(14, 30, 37);\\n padding: 4px;\\n top: -11px;\\n}\\n\\n.btnProvider {\\n padding-left: 40px;\\n padding-right: 40px;\\n}\\n\\n.btnProvider::before {\\n content: \\\"\\\";\\n position: absolute;\\n display: inline-block;\\n vertical-align: middle;\\n width: 32px;\\n height: 40px;\\n background-repeat: no-repeat;\\n background-position: left center;\\n top: -2px;\\n left: 14px;\\n}\\n\\n.providerGoogle {\\n background-color: #4285f4;\\n border-color: #366dc7;\\n}\\n\\n.providerGoogle:hover,\\n.providerGoogle:focus {\\n background-color: #366dc7;\\n}\\n\\n.providerGitHub {\\n background-color: #333;\\n border-color: #000;\\n}\\n\\n.providerGitHub:hover,\\n.providerGitHub:focus {\\n background-color: #000;\\n}\\n\\n.providerGitLab {\\n background-color: #e24329;\\n border-color: #b03320;\\n}\\n\\n.providerGitLab:hover,\\n.providerGitLab:focus {\\n background-color: #b03320;\\n}\\n\\n.providerBitbucket {\\n background-color: #205081;\\n border-color: #14314f;\\n}\\n\\n.providerBitbucket:hover,\\n.providerBitbucket:focus {\\n background-color: #14314f;\\n}\\n\\n.providerGoogle:before {\\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDEzIDEyIj4gIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEuNDg4IC0yKSI+ICAgIDxyZWN0IHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIvPiAgICA8cGF0aCBmaWxsPSIjRkZGRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iIGQ9Ik0wLjY1MjczNDM3NSwzLjI5NTI4MjQ0IEMwLjIzNzk4NDM3NSw0LjEwNTgzMjA2IDIuODQyMTcwOTRlLTE0LDUuMDE2MDQ1OCAyLjg0MjE3MDk0ZS0xNCw1Ljk3OTM4OTMxIEMyLjg0MjE3MDk0ZS0xNCw2Ljk0MjczMjgyIDAuMjM3OTg0Mzc1LDcuODUyOTAwNzYgMC42NTI3MzQzNzUsOC42NjM0NTAzOCBDMS42NTkwNDY4NywxMC42MTY3MDIzIDMuNzI2MDkzNzUsMTEuOTU4Nzc4NiA2LjExOTUzMTI1LDExLjk1ODc3ODYgQzcuNzcxNzgxMjUsMTEuOTU4Nzc4NiA5LjE1ODg1OTM3LDExLjQyNzI1MTkgMTAuMTcyMDE1NiwxMC41MTA0NDI3IEMxMS4zMjc5MDYyLDkuNDY3MzU4NzggMTEuOTk0MjgxMiw3LjkzMjY0MTIyIDExLjk5NDI4MTIsNi4xMTIyNTk1NCBDMTEuOTk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kzMjI4IEw2Ljk4NjUzOTgyLDE1Ljk5MzIyOCBDOS40NTY5MDMzMSwxNS45OTMyMjggMTEuNTE1NTM5NSwxNS4xNzY1NTI1IDExLjcyMTQwMzUsMTQuMTU1NzA3OSBDMTEuNzIxNDAzNSwxNC4wMTk1OTU2IDExLjkyNzI2NjcsMTIuOTk4NzUxNiAxMi4yMDE3NTE4LDExLjU2OTU2OTIgTDEyLjIwMTc1MTgsMTEuNTAxNTEzIEMxMi4yNzAzNzI5LDExLjM2NTQgMTIuMjAxNzUxOCwxMS4yMjkyODc2IDEyLjA2NDUwOTYsMTEuMjI5Mjg3NiBMMTIuMDY0NTA5NiwxMS4yMjkyODc2IFoiLz4gICAgICA8ZWxsaXBzZSBjeD0iNyIgY3k9IjcuNjkiIHJ4PSIxLjA5OCIgcnk9IjEuMDg5Ii8+ICAgIDwvZz4gIDwvZz48L3N2Zz4=);\\n}\\n\\n.callOut {\\n display: block;\\n padding: 32px;\\n font-size: 14px;\\n font-weight: 500;\\n text-decoration: none;\\n color: #a3a9ac;\\n text-align: center;\\n}\\n\\n.callOut:after {\\n content: \\\" \\\\2665\\\";\\n -webkit-transition: color 4s ease;\\n transition: color 4s ease;\\n}\\n\\n.callOut:hover:after {\\n color: red;\\n}\\n\\n.callOut .netlifyLogo {\\n display: block;\\n margin: auto;\\n width: 32px;\\n height: 32px;\\n margin-bottom: 8px;\\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmlld0JveD0iMCAwIDMyIDMyIj4gIDxkZWZzPiAgICA8cmFkaWFsR3JhZGllbnQgaWQ9ImEiIGN5PSIwJSIgcj0iMTAwJSIgZng9IjUwJSIgZnk9IjAlIiBncmFkaWVudFRyYW5zZm9ybT0ibWF0cml4KDAgMSAtMS4xNTE4NSAwIC41IC0uNSkiPiAgICAgIDxzdG9wIHN0b3AtY29sb3I9I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OC4yNDY3NDY0IEM3LjM3ODc4NTk0LDE4LjI0Njc0NjQgNy4zOTI0LDE4LjI2MDIwMjcgNy4zOTI0LDE4LjI4NzExNTEgQzcuMzkyNCwxOC4zMDA1NzEzIDcuMzc4Nzg1OTQsMTguMzE0MDI3NSA3LjM1MTU1NzgzLDE4LjM0MDkzOTkgTDMuNjM0OTIsMTkuOTE1MzE2NSBDMy42MzQ5MiwxOS45MTUzMTY1IDMuNjIxMzA1OTQsMTkuOTE1MzE2NSAzLjYwNzY5MTg4LDE5LjkwMTg2MDMgTDAuNjI2MjEzMTg1LDE2Ljk0MTQ5NDEgQzAuNjEyNTk5MTI3LDE2LjkyODAzNzggMC41OTg5ODUwNjksMTYuOTAxMTI1NCAwLjYxMjU5OTEyNywxNi44ODc2NjkyIEMwLjYyNjIxMzE4NSwxNi44NzQyMTMgMC42Mzk4MjcyNDMsMTYuODYwNzU2OCAwLjY2NzA1NTM1OSwxNi44NjA3NTY4IEw3LjM1MTU1NzgzLDE4LjI0Njc0NjQgWiIvPjwvc3ZnPg==);\\n}\\n\\n.visuallyHidden {\\n border: 0;\\n clip: rect(0 0 0 0);\\n height: 1px;\\n margin: -1px;\\n overflow: hidden;\\n padding: 0;\\n position: absolute;\\n width: 1px;\\n #fff-space: nowrap;\\n}\\n\\n.subheader {\\n margin-top: 2em;\\n border-top: 1px solid rgb(14, 30, 37);\\n}\\n\\n.subheader h3 {\\n padding-top: 1em;\\n text-align: center;\\n }\\n\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./components/modal.css\n// module id = 26\n// module chunks = 0","/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\nmodule.exports = function(useSourceMap) {\n\tvar list = [];\n\n\t// return the list of modules as css string\n\tlist.toString = function toString() {\n\t\treturn this.map(function (item) {\n\t\t\tvar content = cssWithMappingToString(item, useSourceMap);\n\t\t\tif(item[2]) {\n\t\t\t\treturn \"@media \" + item[2] + \"{\" + content + \"}\";\n\t\t\t} else {\n\t\t\t\treturn content;\n\t\t\t}\n\t\t}).join(\"\");\n\t};\n\n\t// import a list of modules into the list\n\tlist.i = function(modules, mediaQuery) {\n\t\tif(typeof modules === \"string\")\n\t\t\tmodules = [[null, modules, \"\"]];\n\t\tvar alreadyImportedModules = {};\n\t\tfor(var i = 0; i < this.length; i++) {\n\t\t\tvar id = this[i][0];\n\t\t\tif(typeof id === \"number\")\n\t\t\t\talreadyImportedModules[id] = true;\n\t\t}\n\t\tfor(i = 0; i < modules.length; i++) {\n\t\t\tvar item = modules[i];\n\t\t\t// skip already imported module\n\t\t\t// this implementation is not 100% perfect for weird media query combinations\n\t\t\t// when a module is imported multiple times with different media queries.\n\t\t\t// I hope this will never occur (Hey this way we have smaller bundles)\n\t\t\tif(typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\n\t\t\t\tif(mediaQuery && !item[2]) {\n\t\t\t\t\titem[2] = mediaQuery;\n\t\t\t\t} else if(mediaQuery) {\n\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\n\t\t\t\t}\n\t\t\t\tlist.push(item);\n\t\t\t}\n\t\t}\n\t};\n\treturn list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n\tvar content = item[1] || '';\n\tvar cssMapping = item[3];\n\tif (!cssMapping) {\n\t\treturn content;\n\t}\n\n\tif (useSourceMap && typeof btoa === 'function') {\n\t\tvar sourceMapping = toComment(cssMapping);\n\t\tvar sourceURLs = cssMapping.sources.map(function (source) {\n\t\t\treturn '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'\n\t\t});\n\n\t\treturn [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n\t}\n\n\treturn [content].join('\\n');\n}\n\n// Adapted from convert-source-map (MIT)\nfunction toComment(sourceMap) {\n\t// eslint-disable-next-line no-undef\n\tvar base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n\tvar data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;\n\n\treturn '/*# ' + data + ' */';\n}\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/css-loader/lib/css-base.js"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///netlify-identity.js","webpack:///webpack/bootstrap 20f89bffdba0bf5e859f","webpack:///../node_modules/preact/dist/preact.mjs","webpack:///../node_modules/mobx/lib/mobx.module.js","webpack:///../node_modules/mobx-preact/lib/index.js","webpack:///../node_modules/mobx-preact/lib/observer.js","webpack:///../node_modules/mobx-preact/lib/utils/utils.js","webpack:///../node_modules/mobx-preact/lib/inject.js","webpack:///../node_modules/micro-api-client/lib/index.js","webpack:///./components/forms/button.js","webpack:///./components/forms/message.js","webpack:///./netlify-identity.js","webpack:///../node_modules/webpack/buildin/global.js","webpack:///../node_modules/mobx-preact/lib/connect.js","webpack:///../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","webpack:///../node_modules/mobx-preact/lib/Provider.js","webpack:///../node_modules/gotrue-js/lib/index.js","webpack:///../node_modules/micro-api-client/lib/pagination.js","webpack:///../node_modules/gotrue-js/lib/user.js","webpack:///../node_modules/gotrue-js/lib/admin.js","webpack:///./components/app.js","webpack:///./components/modal/index.js","webpack:///./components/forms/siteurl.js","webpack:///./components/forms/logout.js","webpack:///./components/forms/user.js","webpack:///./components/forms/providers.js","webpack:///./state/store.js","webpack:///./components/controls.js","webpack:///./components/modal.css","webpack:///../node_modules/css-loader/lib/css-base.js"],"names":["root","factory","exports","module","define","amd","self","this","modules","__webpack_require__","moduleId","installedModules","i","l","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","__webpack_exports__","h","nodeName","attributes","lastSimple","child","simple","children","EMPTY_CHILDREN","arguments","length","stack","push","pop","undefined","String","VNode","key","options","vnode","extend","obj","props","cloneElement","slice","enqueueRender","component","_dirty","items","debounceRendering","defer","rerender","list","renderComponent","isSameNodeType","node","hydrating","splitText","_componentConstructor","isNamedNode","normalizedNodeName","toLowerCase","getNodeProps","defaultProps","createNode","isSvg","document","createElementNS","createElement","removeNode","parentNode","removeChild","setAccessor","old","value","style","cssText","IS_NON_DIMENSIONAL","test","innerHTML","__html","useCapture","replace","substring","addEventListener","eventProxy","removeEventListener","_listeners","e","removeAttribute","ns","removeAttributeNS","setAttributeNS","setAttribute","className","type","event","flushMounts","mounts","afterMount","componentDidMount","diff","dom","context","mountAll","parent","componentRoot","diffLevel","isSvgMode","ownerSVGElement","ret","idiff","appendChild","out","prevSvgMode","_component","nodeValue","createTextNode","replaceChild","recollectNodeTree","vnodeName","buildComponentFromVNode","firstChild","fc","vchildren","a","nextSibling","innerDiffNode","dangerouslySetInnerHTML","diffAttributes","isHydrating","j","f","vchild","originalChildren","childNodes","keyed","keyedLen","min","len","childrenLen","vlen","_child","__key","trim","insertBefore","unmountOnly","unmountComponent","ref","removeChildren","lastChild","next","previousSibling","attrs","createComponent","Ctor","inst","recyclerComponents","render","Component","constructor","doRender","nextBase","splice","state","setComponentProps","renderMode","_disable","__ref","getDerivedStateFromProps","base","componentWillMount","componentWillReceiveProps","prevContext","prevProps","syncComponentUpdates","isChild","rendered","cbase","previousProps","previousState","prevState","previousContext","isUpdate","initialBase","initialChildComponent","skip","snapshot","shouldComponentUpdate","componentWillUpdate","getChildContext","getSnapshotBeforeUpdate","toUnmount","childComponent","childProps","_parentComponent","baseParent","componentRef","t","unshift","componentDidUpdate","afterUpdate","_renderCallbacks","originalComponent","oldDom","isDirectOwner","isOwner","beforeUnmount","componentWillUnmount","inner","merge","Promise","resolve","then","bind","setTimeout","setState","callback","forceUpdate","global","__extends","b","__","extendStatics","create","hasInterceptors","interceptable","interceptors","registerInterceptor","handler","once","idx","indexOf","interceptChange","change","prevU","untrackedStart","invariant","untrackedEnd","hasListeners","listenable","changeListeners","registerListener","listeners","notifyListeners","isSpyEnabled","globalState","spyListeners","spyReport","spyReportStart","objectAssign","spyReportEnd","END_EVENT","spy","listener","iteratorSymbol","Symbol","iterator","arrayAsIterator","array","IS_ITERATING_MARKER","addHiddenFinalProp","done","declareIterator","prototType","iteratorFactory","createArrayEntryDescriptor","index","set","createArrayBufferItem","ObservableArray","reserveArrayBuffer","max","OBSERVABLE_ARRAY_BUFFER_SIZE","isObservableArray","thing","isObject","isObservableArrayAdministration","$mobx","getMessage","id","messages","createAction","actionName","fn","res","executeAction","originalFn","isMobxAction","scope","args","runInfo","startAction","apply","endAction","notifySpy","startTime","Date","now","flattendArgs","Array","prevDerivation","startBatch","prevAllowStateChanges","allowStateChangesStart","allowStateChangesEnd","endBatch","time","useStrict","strict","trackingDerivation","strictMode","allowStateChanges","isStrictModeEnabled","func","prev","createClassPropertyDecorator","onInitialize","allowCustomArguments","classPropertyDecorator","target","descriptor","customArgs","argLen","quacksLikeADecorator","addHiddenProp","__mobxLazyInitializers","value_1","initializer_1","initializer","instance","__mobxDidRunLazyInitializers","runLazyInitializers","v","newDescriptor","__mobxInitializedProps","typescriptInitializeProperty","outerArgs","baseDescriptor","forEach","namedActionDecorator","prop","Error","actionFieldDecorator","runInAction","arg1","arg2","arg3","isAction","defineBoundAction","propertyName","deepEqual","eq","aStack","bStack","_typeof","deepEq","unwrap","toString","valueOf","areArrays","aCtor","bCtor","keys","has","peek","isObservableMap","entries","isES6Map","iteratorToArray","identityComparer","structuralComparer","defaultComparer","areBothNaN","autorun","reactionRunner","view","reaction","getNextId","Reaction","track","schedule","getDisposer","when","arg4","predicate","effect","r","dispose","prevUntracked","autorunAsync","delay","isScheduled","isDisposed","expression","changed","nextValue","firstTime","equals","opts","fireImmediately","fail","isModifierDescriptor","compareStructural","struct","action","comparer","structural","default","asObservableObject","isObservableObject","isExtensible","isPlainObject","adm","ObservableObjectAdministration","defineObservablePropertyFromDescriptor","propName","defaultEnhancer","values","isComputedValue","modifierDescriptor","defineObservableProperty","initialValue","enhancer","autoBind","defineComputedPropertyFromComputedValue","defineComputedProperty","newValue","assertPropertyConfigurable","ObservableValue","generateObservablePropConfig","notifyPropertyAddition","setter","asInstanceProperty","ComputedValue","generateComputedPropConfig","computedValue","observablePropertyConfigs","setPropertyValue","computedPropertyConfigs","observable","prepareNewValue","UNCHANGED","notify","oldValue","setNewValue","isObservableObjectAdministration","isObservable","isAtom","isReaction","createDecoratorForEnhancer","baseValue","_","extendObservable","properties","_i","extendObservableHelper","deepEnhancer","extendShallowObservable","referenceEnhancer","propSet","definedProps","isPropertyConfigurable","getOwnPropertyDescriptor","createObservable","deepDecorator","box","incorrectlyUsedAsDecorator","methodName","isMobxModifierDescriptor","createModifierDescriptor","isArray","map","shallowEnhancer","shallowArray","shallowObject","shallowMap","deepStructEnhancer","ObservableMap","refStructEnhancer","transaction","thisArg","initialValues","deprecated","getGlobal","window","mobxGuid","message","check","msg","deprecatedMessages","console","error","invoked","unique","item","joinStrings","things","limit","separator","join","proto","getPrototypeOf","source","prototypeHasOwnProperty","writable","createInstanceofPredicate","clazz","x","isNaN","isArrayLike","Map","getMapLikeKeys","map$$1","_a","from","it","primitiveSymbol","toPrimitive","isolateGlobalState","runInIsolationCalled","__mobxInstanceCount","shareGlobalState","shareGlobalStateCalled","ownState","__mobservableTrackingStack","__mobservableViewStack","__mobxGlobal","version","getGlobalState","resetGlobalState","resetId","defaultGlobals","MobXGlobals","persistentKeys","getAtom","atom","anyThing","_keys","_data","_hasMap","getDebugName","getAdministration","named","getDependencyTree","nodeToDependencyTree","result","observing","dependencies","getObserverTree","nodeToObserverTree","hasObservers","observers","getObservers","addObserver","observersIndexes","__mapid","lowestObserverState","dependenciesState","removeObserver","queueForUnobservation","filler","isPendingUnobservation","pendingUnobservations","inBatch","runReactions","onBecomeUnobserved","reportObserved","derivation","runId","lastAccessedBy","newObserving","unboundDepsCount","propagateChanged","IDerivationState","STALE","UP_TO_DATE","isTracing","TraceMode","NONE","logTraceInfo","onBecomeStale","propagateChangeConfirmed","POSSIBLY_STALE","propagateMaybeChanged","log","BREAK","lines","printDepTree","Function","tree","depth","isCaughtException","CaughtException","shouldCompute","NOT_TRACKING","obs","changeDependenciesStateTo0","isComputingDerivation","checkIfStateModificationsAreAllowed","hasObservers$$1","computationDepth","trackDerivedFunction","prevTracking","bindDependencies","prevObserving","lowestNewObservingDerivationState","i0","dep","diffValue","clearObserving","untracked","whyRun","getAtomFromArgs","trace","enterBreakPoint","LOG","registerErrorHandler","errorHandler","onReactionError","globalReactionErrorHandlers","isRunningReactions","reactionScheduler","runReactionsHelper","allReactions","pendingReactions","iterations","MAX_REACTION_ITERATIONS","remainingReactions","runReaction","setReactionScheduler","baseScheduler","asReference","asStructure","asFlat","shallow","asMap","data","createComputedDecorator","originalDescriptor","isComputed","observe","propOrCb","cbOrFire","observeObservableProperty","observeObservable","intercept","propOrHandler","interceptProperty","interceptInterceptable","expr","warn","computed","toJS","detectCycles","__alreadySeen","cache","toAdd","res_1","isObservableValue","createTransformer","transformer","onCleanup","objectCache","Transformer","_super","sourceIdentifier","sourceObject","_this","lastValue","identifier","getMemoizationId","reactiveTransformer","tid","$transformId","interceptReads","dehancer","setPrototypeOf","__proto__","BaseAtom","reportChanged","Atom","onBecomeObservedHandler","onBecomeUnobservedHandler","noop","isBeingTracked","safariPrototypeSetterInheritanceBug","StubArray","ctor","isFrozen","ObservableArrayAdministration","owned","lastKnownLength","newV","oldV","dehanceValue","dehanceValues","added","addedCount","removed","removedCount","getArrayLength","setArrayLength","newLength","currentLength","newItems","spliceWithArray","updateArrayLength","oldLength","delta","deleteCount","Math","EMPTY_ARRAY","spliceItemsIntoValues","notifyArraySplice","concat","notifyArrayChildUpdate","ENTRY_0","clear","arrays","toJSON","find","fromIndex","findIndex","shift","reverse","clone","sort","remove","move","toIndex","checkIndex","oldItems","impl","funcName","baseFunc","propNames","hasUnreportedChange","m001","m002","m003","m004","m005","m006","m007","m008","m009","m010","m011","m012","m013","m014","m015","m016","m017","m018","m019","m020","m021","m022","m024","m025","m026","m028","m029","m030a","m030b","m031","m032","m033","m034","m035","m036","m037","m038","boundActionDecorator","bound","action_1","identity","isComputing","isRunningSetter","computeValue","trackAndCompute","cause","wasSuspended","prevValue","isTracking","shallowDecorator","refDecorator","deepStructDecorator","refStructDecorator","observableFactories","shallowBox","deep","ObservableMapMarker","initialData","_has","isValidKey","_updateHasMapEntry","assertValidKey","hasKey","_updateValue","_addValue","delete","entry","observable$$1","other","newKeys","filter","k","freeze","warnedAboutMultipleInstances","global_1","onInvalidate","_isScheduled","_isTrackPending","_isRunning","reportExceptionInDerivation","messageToUser","onError","computedDecorator","computedStructDecorator","extras","everything","isBoxedObservable","warnedAboutDefaultExport","val","__MOBX_DEVTOOLS_GLOBAL_HOOK__","injectMobx","Provider","inject","connect","useStaticRendering","Observer","observer","_observer","require","_connect","_inject","_Provider","_mobx","_classCallCheck","Constructor","TypeError","_possibleConstructorReturn","ReferenceError","_typeof2","_inherits","subClass","superClass","isUsingStaticRendering","patch","runMixinFirst","mixinFunc","reactiveMixin","isObjectShallowModified","componentClass","logger","isMobxInjector","_utils","isStateless","_class","_temp","_Component","_createClass","_preact","displayName","makeDisplayName","mixinLifecycleEvents","isMobXReactObserver","defineProperties","protoProps","staticProps","makePropertyObservableReference","valueHolder","isForcingUpdate","skipRender","initialName","baseRender","isRenderingPending","initialRender","componentWillReact","__$mobxIsUnmounted","hasError","reactComponent","reactiveRender","exception","rendering","nextProps","nextState","_ref","isPrototypeOf","_ref$prefix","prefix","_ref$suffix","suffix","createStoreInjector","grabStoresFn","injectNames","Injector","newProps","additionalProps","mobxStores","_key","_hoistNonReactStatics2","wrappedComponent","proxiedInjectorProps","grabStoresByName","storeNames","baseStores","storeName","injected","_hoistNonReactStatics","JSONHTTPError","TextHTTPError","HTTPError","getPagination","_extends","assign","_pagination","_extendableBuiltin2","response","statusText","captureStackTrace","status","cls","ExtendableBuiltin","Reflect","construct","_HTTPError","_this2","_HTTPError2","json","_this3","API","apiURL","match","_sameOrigin","defaultHeaders","Content-Type","ok","reject","pagination","path","_this4","headers","credentials","fetch","contentType","parseJsonResponse","text","Button","_props","saving","saving_text","confirm","password_mail","email_changed","verfication_error","signup_disabled","Message","_interopRequireDefault","trigger","_arguments","callbacks","cb","setStyle","el","css","queuedIframeStyle","instantiateGotrue","APIUrl","isLocal","localHosts","location","host","split","siteURL","localStorage","getItem","GoTrue","setCookie","parts","store","setIsLocal","setSiteURL","runRoutes","hash","routes","verifyToken","errorRoute","openModal","accessTokenRoute","params","pair","_pair$split","_pair$split2","_slicedToArray","cookie","completeExternalLogin","init","_options$logo","logo","namePlaceholder","controlEls","querySelectorAll","mode","getAttribute","_mobxPreact","_controls2","innerText","modal","setNamePlaceholder","iframe","onload","styles","contentDocument","modalCSS","head","_app2","body","iframeStyle","src","container","querySelector","sliceIterator","arr","_arr","_n","_d","_e","_s","err","_gotrueJs","_gotrueJs2","_app","_store","_store2","_controls","_modal","_modal2","validActions","login","signup","netlifyIdentity","on","open","user","close","closeModal","currentUser","gotrue","logout","localhost","127.0.0.1","0.0.0.0","identity.netlify.com","position","top","left","border","width","height","overflow","background","display","z-index","settings","loadSettings","isOpen","page","removeItem","setItem","g","eval","hoistNonReactStatics","targetComponent","sourceComponent","blacklist","objectPrototype","inheritedComponent","getOwnPropertyNames","getOwnPropertySymbols","REACT_STATICS","KNOWN_STATICS","childContextTypes","contextTypes","getDefaultProps","mixins","propTypes","caller","callee","arity","specialReactKeys","stores","suppressChangedStoreWarning","_microApiClient","_microApiClient2","_user","_user2","HTTPRegexp","defaultApiURL","_ref$APIUrl","_ref$audience","audience","_ref$setCookie","api","aud","request","catch","error_description","_request","email","password","method","JSON","stringify","remember","_setRememberHeaders","encodeURIComponent","removeSavedSession","createUser","provider","token","verify","tokenResponse","getUserData","_saveSession","recoverSession","_fromStorage","links","total","link","_link$split","_link$split2","url","rel","parseInt","last","first","current","urlBase64Decode","str","output","atob","decodeURIComponent","escape","_admin","_admin2","refreshPromises","forbiddenUpdateAttributes","forbiddenSaveAttributes","User","_processTokenResponse","_saveUserData","_refreshSavedSession","forceRefresh","_tokenDetails","tokenDetails","expires_at","refresh_token","access_token","_refreshToken","clearSession","jwt","Authorization","fromStorage","claims","parse","exp","_details","userCopy","apiInstance","ex","Admin","_siteurl","_siteurl2","_logout","_logout2","_providers","_providers2","_message","_message2","pagesWithHeader","pages","button","button_saving","link_text","providers","amnesia","title","recovery","invite","App","_ret","_len","handleClose","handlePage","handleLogout","handleSiteURL","clearSiteURL","handleExternalLogin","externalLogin","handleUser","_ref2","requestPasswordRecovery","acceptInvite","updatePassword","pageLinkHandler","devMode","onSiteURL","onLogout","disable_signup","onSubmit","onclick","external","labels","external_labels","onLogin","showHeader","showSignup","devSettings","loading","onPage","onClose","renderBody","renderProviders","formatError","Modal","preventDefault","blockEvent","stopPropagation","linkHandler","role","aria-hidden","onClick","href","_defineProperty","SiteURLForm","handleInput","addSiteURL","development","_state","class","onsubmit","placeholder","autocapitalize","required","oninput","_button","_button2","LogoutForm","user_metadata","full_name","UserForm","handleLogin","label","_Component2","Providers","pId","_props2","getLabel","recovered_user","invite_token","email_change_token","setError","reloadSettings","doEmailChange","acceptInviteExternalUrl","loginExternalUrl","autoconfirm","update","recover","Controls","handleSignup","handleButton","cssWithMappingToString","useSourceMap","content","cssMapping","btoa","sourceMapping","toComment","sources","sourceRoot","sourceMap","unescape","mediaQuery","alreadyImportedModules"],"mappings":"CAAA,SAAAA,EAAAC,GACA,gBAAAC,UAAA,gBAAAC,QACAA,OAAAD,QAAAD,IACA,kBAAAG,gBAAAC,IACAD,UAAAH,GACA,gBAAAC,SACAA,QAAA,gBAAAD,IAEAD,EAAA,gBAAAC,KACC,mBAAAK,WAAAC,KAAA,WACD,MCAgB,UAAUC,GCN1B,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAR,OAGA,IAAAC,GAAAQ,EAAAD,IACAE,EAAAF,EACAG,GAAA,EACAX,WAUA,OANAM,GAAAE,GAAAI,KAAAX,EAAAD,Q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H,EAK9B,QAAQD,GAASnjB,OAJAojB,EAAWI,QAAQ3yB,IAAI,SAAU+B,GACjD,MAAO,iBAAmBwwB,EAAWK,WAAa7wB,EAAS,SAGxBoN,QAAQsjB,IAAgB7wB,KAAK,MAGlE,MAAO,GAAC0wB,EAIT,QAASI,GAAUG,GAKlB,MAAO,mEAHML,KAAKM,SAASvK,mBAAmBJ,KAAKC,UAAUyK,MAGtC,MArExBhxC,EAAOD,QAAU,SAASywC,GACzB,GAAIzsC,KAwCJ,OArCAA,GAAKkT,SAAW,WACf,MAAO7W,MAAK+d,IAAI,SAAUuB,GACzB,GAAI+wB,GAAUF,EAAuB7wB,EAAM8wB,EAC3C,OAAG9wB,GAAK,GACA,UAAYA,EAAK,GAAK,IAAM+wB,EAAU,IAEtCA,IAEN1wB,KAAK,KAIThc,EAAKtD,EAAI,SAASJ,EAAS6wC,GACJ,gBAAZ7wC,KACTA,IAAY,KAAMA,EAAS,KAE5B,KAAI,GADA8wC,MACI1wC,EAAI,EAAOL,KAAKqC,OAAThC,EAAiBA,IAAK,CACpC,GAAI0R,GAAK/R,KAAKK,GAAG,EACA,iBAAP0R,KACTg/B,EAAuBh/B,IAAM,GAE/B,IAAI1R,EAAI,EAAOJ,EAAQoC,OAAZhC,EAAoBA,IAAK,CACnC,GAAIif,GAAOrf,EAAQI,EAKG,iBAAZif,GAAK,IAAoByxB,EAAuBzxB,EAAK,MAC3DwxB,IAAexxB,EAAK,GACtBA,EAAK,GAAKwxB,EACDA,IACTxxB,EAAK,GAAK,IAAMA,EAAK,GAAK,UAAYwxB,EAAa,KAEpDntC,EAAKpB,KAAK+c,MAIN3b,M7BmoPa","file":"netlify-identity.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"netlifyIdentity\"] = factory();\n\telse\n\t\troot[\"netlifyIdentity\"] = factory();\n})(typeof self !== 'undefined' ? self : this, function() {\nreturn \n\n\n// WEBPACK FOOTER //\n// webpack/universalModuleDefinition","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"netlifyIdentity\"] = factory();\n\telse\n\t\troot[\"netlifyIdentity\"] = factory();\n})(typeof self !== 'undefined' ? self : this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"/\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 9);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"h\", function() { return h; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createElement\", function() { return h; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"cloneElement\", function() { return cloneElement; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Component\", function() { return Component; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"rerender\", function() { return rerender; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"options\", function() { return options; });\nvar VNode = function VNode() {};\n\nvar options = {};\n\nvar stack = [];\n\nvar EMPTY_CHILDREN = [];\n\nfunction h(nodeName, attributes) {\n\tvar children = EMPTY_CHILDREN,\n\t lastSimple,\n\t child,\n\t simple,\n\t i;\n\tfor (i = arguments.length; i-- > 2;) {\n\t\tstack.push(arguments[i]);\n\t}\n\tif (attributes && attributes.children != null) {\n\t\tif (!stack.length) stack.push(attributes.children);\n\t\tdelete attributes.children;\n\t}\n\twhile (stack.length) {\n\t\tif ((child = stack.pop()) && child.pop !== undefined) {\n\t\t\tfor (i = child.length; i--;) {\n\t\t\t\tstack.push(child[i]);\n\t\t\t}\n\t\t} else {\n\t\t\tif (typeof child === 'boolean') child = null;\n\n\t\t\tif (simple = typeof nodeName !== 'function') {\n\t\t\t\tif (child == null) child = '';else if (typeof child === 'number') child = String(child);else if (typeof child !== 'string') simple = false;\n\t\t\t}\n\n\t\t\tif (simple && lastSimple) {\n\t\t\t\tchildren[children.length - 1] += child;\n\t\t\t} else if (children === EMPTY_CHILDREN) {\n\t\t\t\tchildren = [child];\n\t\t\t} else {\n\t\t\t\tchildren.push(child);\n\t\t\t}\n\n\t\t\tlastSimple = simple;\n\t\t}\n\t}\n\n\tvar p = new VNode();\n\tp.nodeName = nodeName;\n\tp.children = children;\n\tp.attributes = attributes == null ? undefined : attributes;\n\tp.key = attributes == null ? undefined : attributes.key;\n\n\tif (options.vnode !== undefined) options.vnode(p);\n\n\treturn p;\n}\n\nfunction extend(obj, props) {\n for (var i in props) {\n obj[i] = props[i];\n }return obj;\n}\n\nvar defer = typeof Promise == 'function' ? Promise.resolve().then.bind(Promise.resolve()) : setTimeout;\n\nfunction cloneElement(vnode, props) {\n return h(vnode.nodeName, extend(extend({}, vnode.attributes), props), arguments.length > 2 ? [].slice.call(arguments, 2) : vnode.children);\n}\n\nvar IS_NON_DIMENSIONAL = /acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i;\n\nvar items = [];\n\nfunction enqueueRender(component) {\n\tif (!component._dirty && (component._dirty = true) && items.push(component) == 1) {\n\t\t(options.debounceRendering || defer)(rerender);\n\t}\n}\n\nfunction rerender() {\n\tvar p,\n\t list = items;\n\titems = [];\n\twhile (p = list.pop()) {\n\t\tif (p._dirty) renderComponent(p);\n\t}\n}\n\nfunction isSameNodeType(node, vnode, hydrating) {\n\tif (typeof vnode === 'string' || typeof vnode === 'number') {\n\t\treturn node.splitText !== undefined;\n\t}\n\tif (typeof vnode.nodeName === 'string') {\n\t\treturn !node._componentConstructor && isNamedNode(node, vnode.nodeName);\n\t}\n\treturn hydrating || node._componentConstructor === vnode.nodeName;\n}\n\nfunction isNamedNode(node, nodeName) {\n\treturn node.normalizedNodeName === nodeName || node.nodeName.toLowerCase() === nodeName.toLowerCase();\n}\n\nfunction getNodeProps(vnode) {\n\tvar props = extend({}, vnode.attributes);\n\tprops.children = vnode.children;\n\n\tvar defaultProps = vnode.nodeName.defaultProps;\n\tif (defaultProps !== undefined) {\n\t\tfor (var i in defaultProps) {\n\t\t\tif (props[i] === undefined) {\n\t\t\t\tprops[i] = defaultProps[i];\n\t\t\t}\n\t\t}\n\t}\n\n\treturn props;\n}\n\nfunction createNode(nodeName, isSvg) {\n\tvar node = isSvg ? document.createElementNS('http://www.w3.org/2000/svg', nodeName) : document.createElement(nodeName);\n\tnode.normalizedNodeName = nodeName;\n\treturn node;\n}\n\nfunction removeNode(node) {\n\tvar parentNode = node.parentNode;\n\tif (parentNode) parentNode.removeChild(node);\n}\n\nfunction setAccessor(node, name, old, value, isSvg) {\n\tif (name === 'className') name = 'class';\n\n\tif (name === 'key') {} else if (name === 'ref') {\n\t\tif (old) old(null);\n\t\tif (value) value(node);\n\t} else if (name === 'class' && !isSvg) {\n\t\tnode.className = value || '';\n\t} else if (name === 'style') {\n\t\tif (!value || typeof value === 'string' || typeof old === 'string') {\n\t\t\tnode.style.cssText = value || '';\n\t\t}\n\t\tif (value && typeof value === 'object') {\n\t\t\tif (typeof old !== 'string') {\n\t\t\t\tfor (var i in old) {\n\t\t\t\t\tif (!(i in value)) node.style[i] = '';\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (var i in value) {\n\t\t\t\tnode.style[i] = typeof value[i] === 'number' && IS_NON_DIMENSIONAL.test(i) === false ? value[i] + 'px' : value[i];\n\t\t\t}\n\t\t}\n\t} else if (name === 'dangerouslySetInnerHTML') {\n\t\tif (value) node.innerHTML = value.__html || '';\n\t} else if (name[0] == 'o' && name[1] == 'n') {\n\t\tvar useCapture = name !== (name = name.replace(/Capture$/, ''));\n\t\tname = name.toLowerCase().substring(2);\n\t\tif (value) {\n\t\t\tif (!old) node.addEventListener(name, eventProxy, useCapture);\n\t\t} else {\n\t\t\tnode.removeEventListener(name, eventProxy, useCapture);\n\t\t}\n\t\t(node._listeners || (node._listeners = {}))[name] = value;\n\t} else if (name !== 'list' && name !== 'type' && !isSvg && name in node) {\n\t\ttry {\n\t\t\tnode[name] = value == null ? '' : value;\n\t\t} catch (e) {}\n\t\tif ((value == null || value === false) && name != 'spellcheck') node.removeAttribute(name);\n\t} else {\n\t\tvar ns = isSvg && name !== (name = name.replace(/^xlink:?/, ''));\n\n\t\tif (value == null || value === false) {\n\t\t\tif (ns) node.removeAttributeNS('http://www.w3.org/1999/xlink', name.toLowerCase());else node.removeAttribute(name);\n\t\t} else if (typeof value !== 'function') {\n\t\t\tif (ns) node.setAttributeNS('http://www.w3.org/1999/xlink', name.toLowerCase(), value);else node.setAttribute(name, value);\n\t\t}\n\t}\n}\n\nfunction eventProxy(e) {\n\treturn this._listeners[e.type](options.event && options.event(e) || e);\n}\n\nvar mounts = [];\n\nvar diffLevel = 0;\n\nvar isSvgMode = false;\n\nvar hydrating = false;\n\nfunction flushMounts() {\n\tvar c;\n\twhile (c = mounts.pop()) {\n\t\tif (options.afterMount) options.afterMount(c);\n\t\tif (c.componentDidMount) c.componentDidMount();\n\t}\n}\n\nfunction diff(dom, vnode, context, mountAll, parent, componentRoot) {\n\tif (!diffLevel++) {\n\t\tisSvgMode = parent != null && parent.ownerSVGElement !== undefined;\n\n\t\thydrating = dom != null && !('__preactattr_' in dom);\n\t}\n\n\tvar ret = idiff(dom, vnode, context, mountAll, componentRoot);\n\n\tif (parent && ret.parentNode !== parent) parent.appendChild(ret);\n\n\tif (! --diffLevel) {\n\t\thydrating = false;\n\n\t\tif (!componentRoot) flushMounts();\n\t}\n\n\treturn ret;\n}\n\nfunction idiff(dom, vnode, context, mountAll, componentRoot) {\n\tvar out = dom,\n\t prevSvgMode = isSvgMode;\n\n\tif (vnode == null || typeof vnode === 'boolean') vnode = '';\n\n\tif (typeof vnode === 'string' || typeof vnode === 'number') {\n\t\tif (dom && dom.splitText !== undefined && dom.parentNode && (!dom._component || componentRoot)) {\n\t\t\tif (dom.nodeValue != vnode) {\n\t\t\t\tdom.nodeValue = vnode;\n\t\t\t}\n\t\t} else {\n\t\t\tout = document.createTextNode(vnode);\n\t\t\tif (dom) {\n\t\t\t\tif (dom.parentNode) dom.parentNode.replaceChild(out, dom);\n\t\t\t\trecollectNodeTree(dom, true);\n\t\t\t}\n\t\t}\n\n\t\tout['__preactattr_'] = true;\n\n\t\treturn out;\n\t}\n\n\tvar vnodeName = vnode.nodeName;\n\tif (typeof vnodeName === 'function') {\n\t\treturn buildComponentFromVNode(dom, vnode, context, mountAll);\n\t}\n\n\tisSvgMode = vnodeName === 'svg' ? true : vnodeName === 'foreignObject' ? false : isSvgMode;\n\n\tvnodeName = String(vnodeName);\n\tif (!dom || !isNamedNode(dom, vnodeName)) {\n\t\tout = createNode(vnodeName, isSvgMode);\n\n\t\tif (dom) {\n\t\t\twhile (dom.firstChild) {\n\t\t\t\tout.appendChild(dom.firstChild);\n\t\t\t}\n\t\t\tif (dom.parentNode) dom.parentNode.replaceChild(out, dom);\n\n\t\t\trecollectNodeTree(dom, true);\n\t\t}\n\t}\n\n\tvar fc = out.firstChild,\n\t props = out['__preactattr_'],\n\t vchildren = vnode.children;\n\n\tif (props == null) {\n\t\tprops = out['__preactattr_'] = {};\n\t\tfor (var a = out.attributes, i = a.length; i--;) {\n\t\t\tprops[a[i].name] = a[i].value;\n\t\t}\n\t}\n\n\tif (!hydrating && vchildren && vchildren.length === 1 && typeof vchildren[0] === 'string' && fc != null && fc.splitText !== undefined && fc.nextSibling == null) {\n\t\tif (fc.nodeValue != vchildren[0]) {\n\t\t\tfc.nodeValue = vchildren[0];\n\t\t}\n\t} else if (vchildren && vchildren.length || fc != null) {\n\t\t\tinnerDiffNode(out, vchildren, context, mountAll, hydrating || props.dangerouslySetInnerHTML != null);\n\t\t}\n\n\tdiffAttributes(out, vnode.attributes, props);\n\n\tisSvgMode = prevSvgMode;\n\n\treturn out;\n}\n\nfunction innerDiffNode(dom, vchildren, context, mountAll, isHydrating) {\n\tvar originalChildren = dom.childNodes,\n\t children = [],\n\t keyed = {},\n\t keyedLen = 0,\n\t min = 0,\n\t len = originalChildren.length,\n\t childrenLen = 0,\n\t vlen = vchildren ? vchildren.length : 0,\n\t j,\n\t c,\n\t f,\n\t vchild,\n\t child;\n\n\tif (len !== 0) {\n\t\tfor (var i = 0; i < len; i++) {\n\t\t\tvar _child = originalChildren[i],\n\t\t\t props = _child['__preactattr_'],\n\t\t\t key = vlen && props ? _child._component ? _child._component.__key : props.key : null;\n\t\t\tif (key != null) {\n\t\t\t\tkeyedLen++;\n\t\t\t\tkeyed[key] = _child;\n\t\t\t} else if (props || (_child.splitText !== undefined ? isHydrating ? _child.nodeValue.trim() : true : isHydrating)) {\n\t\t\t\tchildren[childrenLen++] = _child;\n\t\t\t}\n\t\t}\n\t}\n\n\tif (vlen !== 0) {\n\t\tfor (var i = 0; i < vlen; i++) {\n\t\t\tvchild = vchildren[i];\n\t\t\tchild = null;\n\n\t\t\tvar key = vchild.key;\n\t\t\tif (key != null) {\n\t\t\t\tif (keyedLen && keyed[key] !== undefined) {\n\t\t\t\t\tchild = keyed[key];\n\t\t\t\t\tkeyed[key] = undefined;\n\t\t\t\t\tkeyedLen--;\n\t\t\t\t}\n\t\t\t} else if (min < childrenLen) {\n\t\t\t\t\tfor (j = min; j < childrenLen; j++) {\n\t\t\t\t\t\tif (children[j] !== undefined && isSameNodeType(c = children[j], vchild, isHydrating)) {\n\t\t\t\t\t\t\tchild = c;\n\t\t\t\t\t\t\tchildren[j] = undefined;\n\t\t\t\t\t\t\tif (j === childrenLen - 1) childrenLen--;\n\t\t\t\t\t\t\tif (j === min) min++;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\tchild = idiff(child, vchild, context, mountAll);\n\n\t\t\tf = originalChildren[i];\n\t\t\tif (child && child !== dom && child !== f) {\n\t\t\t\tif (f == null) {\n\t\t\t\t\tdom.appendChild(child);\n\t\t\t\t} else if (child === f.nextSibling) {\n\t\t\t\t\tremoveNode(f);\n\t\t\t\t} else {\n\t\t\t\t\tdom.insertBefore(child, f);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tif (keyedLen) {\n\t\tfor (var i in keyed) {\n\t\t\tif (keyed[i] !== undefined) recollectNodeTree(keyed[i], false);\n\t\t}\n\t}\n\n\twhile (min <= childrenLen) {\n\t\tif ((child = children[childrenLen--]) !== undefined) recollectNodeTree(child, false);\n\t}\n}\n\nfunction recollectNodeTree(node, unmountOnly) {\n\tvar component = node._component;\n\tif (component) {\n\t\tunmountComponent(component);\n\t} else {\n\t\tif (node['__preactattr_'] != null && node['__preactattr_'].ref) node['__preactattr_'].ref(null);\n\n\t\tif (unmountOnly === false || node['__preactattr_'] == null) {\n\t\t\tremoveNode(node);\n\t\t}\n\n\t\tremoveChildren(node);\n\t}\n}\n\nfunction removeChildren(node) {\n\tnode = node.lastChild;\n\twhile (node) {\n\t\tvar next = node.previousSibling;\n\t\trecollectNodeTree(node, true);\n\t\tnode = next;\n\t}\n}\n\nfunction diffAttributes(dom, attrs, old) {\n\tvar name;\n\n\tfor (name in old) {\n\t\tif (!(attrs && attrs[name] != null) && old[name] != null) {\n\t\t\tsetAccessor(dom, name, old[name], old[name] = undefined, isSvgMode);\n\t\t}\n\t}\n\n\tfor (name in attrs) {\n\t\tif (name !== 'children' && name !== 'innerHTML' && (!(name in old) || attrs[name] !== (name === 'value' || name === 'checked' ? dom[name] : old[name]))) {\n\t\t\tsetAccessor(dom, name, old[name], old[name] = attrs[name], isSvgMode);\n\t\t}\n\t}\n}\n\nvar recyclerComponents = [];\n\nfunction createComponent(Ctor, props, context) {\n\tvar inst,\n\t i = recyclerComponents.length;\n\n\tif (Ctor.prototype && Ctor.prototype.render) {\n\t\tinst = new Ctor(props, context);\n\t\tComponent.call(inst, props, context);\n\t} else {\n\t\tinst = new Component(props, context);\n\t\tinst.constructor = Ctor;\n\t\tinst.render = doRender;\n\t}\n\n\twhile (i--) {\n\t\tif (recyclerComponents[i].constructor === Ctor) {\n\t\t\tinst.nextBase = recyclerComponents[i].nextBase;\n\t\t\trecyclerComponents.splice(i, 1);\n\t\t\treturn inst;\n\t\t}\n\t}\n\n\treturn inst;\n}\n\nfunction doRender(props, state, context) {\n\treturn this.constructor(props, context);\n}\n\nfunction setComponentProps(component, props, renderMode, context, mountAll) {\n\tif (component._disable) return;\n\tcomponent._disable = true;\n\n\tcomponent.__ref = props.ref;\n\tcomponent.__key = props.key;\n\tdelete props.ref;\n\tdelete props.key;\n\n\tif (typeof component.constructor.getDerivedStateFromProps === 'undefined') {\n\t\tif (!component.base || mountAll) {\n\t\t\tif (component.componentWillMount) component.componentWillMount();\n\t\t} else if (component.componentWillReceiveProps) {\n\t\t\tcomponent.componentWillReceiveProps(props, context);\n\t\t}\n\t}\n\n\tif (context && context !== component.context) {\n\t\tif (!component.prevContext) component.prevContext = component.context;\n\t\tcomponent.context = context;\n\t}\n\n\tif (!component.prevProps) component.prevProps = component.props;\n\tcomponent.props = props;\n\n\tcomponent._disable = false;\n\n\tif (renderMode !== 0) {\n\t\tif (renderMode === 1 || options.syncComponentUpdates !== false || !component.base) {\n\t\t\trenderComponent(component, 1, mountAll);\n\t\t} else {\n\t\t\tenqueueRender(component);\n\t\t}\n\t}\n\n\tif (component.__ref) component.__ref(component);\n}\n\nfunction renderComponent(component, renderMode, mountAll, isChild) {\n\tif (component._disable) return;\n\n\tvar props = component.props,\n\t state = component.state,\n\t context = component.context,\n\t previousProps = component.prevProps || props,\n\t previousState = component.prevState || state,\n\t previousContext = component.prevContext || context,\n\t isUpdate = component.base,\n\t nextBase = component.nextBase,\n\t initialBase = isUpdate || nextBase,\n\t initialChildComponent = component._component,\n\t skip = false,\n\t snapshot = previousContext,\n\t rendered,\n\t inst,\n\t cbase;\n\n\tif (component.constructor.getDerivedStateFromProps) {\n\t\tstate = extend(extend({}, state), component.constructor.getDerivedStateFromProps(props, state));\n\t\tcomponent.state = state;\n\t}\n\n\tif (isUpdate) {\n\t\tcomponent.props = previousProps;\n\t\tcomponent.state = previousState;\n\t\tcomponent.context = previousContext;\n\t\tif (renderMode !== 2 && component.shouldComponentUpdate && component.shouldComponentUpdate(props, state, context) === false) {\n\t\t\tskip = true;\n\t\t} else if (component.componentWillUpdate) {\n\t\t\tcomponent.componentWillUpdate(props, state, context);\n\t\t}\n\t\tcomponent.props = props;\n\t\tcomponent.state = state;\n\t\tcomponent.context = context;\n\t}\n\n\tcomponent.prevProps = component.prevState = component.prevContext = component.nextBase = null;\n\tcomponent._dirty = false;\n\n\tif (!skip) {\n\t\trendered = component.render(props, state, context);\n\n\t\tif (component.getChildContext) {\n\t\t\tcontext = extend(extend({}, context), component.getChildContext());\n\t\t}\n\n\t\tif (isUpdate && component.getSnapshotBeforeUpdate) {\n\t\t\tsnapshot = component.getSnapshotBeforeUpdate(previousProps, previousState);\n\t\t}\n\n\t\tvar childComponent = rendered && rendered.nodeName,\n\t\t toUnmount,\n\t\t base;\n\n\t\tif (typeof childComponent === 'function') {\n\n\t\t\tvar childProps = getNodeProps(rendered);\n\t\t\tinst = initialChildComponent;\n\n\t\t\tif (inst && inst.constructor === childComponent && childProps.key == inst.__key) {\n\t\t\t\tsetComponentProps(inst, childProps, 1, context, false);\n\t\t\t} else {\n\t\t\t\ttoUnmount = inst;\n\n\t\t\t\tcomponent._component = inst = createComponent(childComponent, childProps, context);\n\t\t\t\tinst.nextBase = inst.nextBase || nextBase;\n\t\t\t\tinst._parentComponent = component;\n\t\t\t\tsetComponentProps(inst, childProps, 0, context, false);\n\t\t\t\trenderComponent(inst, 1, mountAll, true);\n\t\t\t}\n\n\t\t\tbase = inst.base;\n\t\t} else {\n\t\t\tcbase = initialBase;\n\n\t\t\ttoUnmount = initialChildComponent;\n\t\t\tif (toUnmount) {\n\t\t\t\tcbase = component._component = null;\n\t\t\t}\n\n\t\t\tif (initialBase || renderMode === 1) {\n\t\t\t\tif (cbase) cbase._component = null;\n\t\t\t\tbase = diff(cbase, rendered, context, mountAll || !isUpdate, initialBase && initialBase.parentNode, true);\n\t\t\t}\n\t\t}\n\n\t\tif (initialBase && base !== initialBase && inst !== initialChildComponent) {\n\t\t\tvar baseParent = initialBase.parentNode;\n\t\t\tif (baseParent && base !== baseParent) {\n\t\t\t\tbaseParent.replaceChild(base, initialBase);\n\n\t\t\t\tif (!toUnmount) {\n\t\t\t\t\tinitialBase._component = null;\n\t\t\t\t\trecollectNodeTree(initialBase, false);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (toUnmount) {\n\t\t\tunmountComponent(toUnmount);\n\t\t}\n\n\t\tcomponent.base = base;\n\t\tif (base && !isChild) {\n\t\t\tvar componentRef = component,\n\t\t\t t = component;\n\t\t\twhile (t = t._parentComponent) {\n\t\t\t\t(componentRef = t).base = base;\n\t\t\t}\n\t\t\tbase._component = componentRef;\n\t\t\tbase._componentConstructor = componentRef.constructor;\n\t\t}\n\t}\n\n\tif (!isUpdate || mountAll) {\n\t\tmounts.unshift(component);\n\t} else if (!skip) {\n\n\t\tif (component.componentDidUpdate) {\n\t\t\tcomponent.componentDidUpdate(previousProps, previousState, snapshot);\n\t\t}\n\t\tif (options.afterUpdate) options.afterUpdate(component);\n\t}\n\n\twhile (component._renderCallbacks.length) {\n\t\tcomponent._renderCallbacks.pop().call(component);\n\t}if (!diffLevel && !isChild) flushMounts();\n}\n\nfunction buildComponentFromVNode(dom, vnode, context, mountAll) {\n\tvar c = dom && dom._component,\n\t originalComponent = c,\n\t oldDom = dom,\n\t isDirectOwner = c && dom._componentConstructor === vnode.nodeName,\n\t isOwner = isDirectOwner,\n\t props = getNodeProps(vnode);\n\twhile (c && !isOwner && (c = c._parentComponent)) {\n\t\tisOwner = c.constructor === vnode.nodeName;\n\t}\n\n\tif (c && isOwner && (!mountAll || c._component)) {\n\t\tsetComponentProps(c, props, 3, context, mountAll);\n\t\tdom = c.base;\n\t} else {\n\t\tif (originalComponent && !isDirectOwner) {\n\t\t\tunmountComponent(originalComponent);\n\t\t\tdom = oldDom = null;\n\t\t}\n\n\t\tc = createComponent(vnode.nodeName, props, context);\n\t\tif (dom && !c.nextBase) {\n\t\t\tc.nextBase = dom;\n\n\t\t\toldDom = null;\n\t\t}\n\t\tsetComponentProps(c, props, 1, context, mountAll);\n\t\tdom = c.base;\n\n\t\tif (oldDom && dom !== oldDom) {\n\t\t\toldDom._component = null;\n\t\t\trecollectNodeTree(oldDom, false);\n\t\t}\n\t}\n\n\treturn dom;\n}\n\nfunction unmountComponent(component) {\n\tif (options.beforeUnmount) options.beforeUnmount(component);\n\n\tvar base = component.base;\n\n\tcomponent._disable = true;\n\n\tif (component.componentWillUnmount) component.componentWillUnmount();\n\n\tcomponent.base = null;\n\n\tvar inner = component._component;\n\tif (inner) {\n\t\tunmountComponent(inner);\n\t} else if (base) {\n\t\tif (base['__preactattr_'] && base['__preactattr_'].ref) base['__preactattr_'].ref(null);\n\n\t\tcomponent.nextBase = base;\n\n\t\tremoveNode(base);\n\t\trecyclerComponents.push(component);\n\n\t\tremoveChildren(base);\n\t}\n\n\tif (component.__ref) component.__ref(null);\n}\n\nfunction Component(props, context) {\n\tthis._dirty = true;\n\n\tthis.context = context;\n\n\tthis.props = props;\n\n\tthis.state = this.state || {};\n\n\tthis._renderCallbacks = [];\n}\n\nextend(Component.prototype, {\n\tsetState: function setState(state, callback) {\n\t\tif (!this.prevState) this.prevState = this.state;\n\t\tthis.state = extend(extend({}, this.state), typeof state === 'function' ? state(this.state, this.props) : state);\n\t\tif (callback) this._renderCallbacks.push(callback);\n\t\tenqueueRender(this);\n\t},\n\tforceUpdate: function forceUpdate(callback) {\n\t\tif (callback) this._renderCallbacks.push(callback);\n\t\trenderComponent(this, 2);\n\t},\n\trender: function render() {}\n});\n\nfunction render(vnode, parent, merge) {\n return diff(merge, vnode, {}, false, parent, false);\n}\n\nvar preact = {\n\th: h,\n\tcreateElement: h,\n\tcloneElement: cloneElement,\n\tComponent: Component,\n\trender: render,\n\trerender: rerender,\n\toptions: options\n};\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (preact);\n\n//# sourceMappingURL=preact.mjs.map\n\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(global) {\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\n/** MobX - (c) Michel Weststrate 2015, 2016 - MIT Licensed */\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\n/* global Reflect, Promise */\n\nvar extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function (d, b) {\n d.__proto__ = b;\n} || function (d, b) {\n for (var p in b) {\n if (b.hasOwnProperty(p)) d[p] = b[p];\n }\n};\n\nfunction __extends(d, b) {\n extendStatics(d, b);\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\n/**\n * Anything that can be used to _store_ state is an Atom in mobx. Atoms have two important jobs\n *\n * 1) detect when they are being _used_ and report this (using reportObserved). This allows mobx to make the connection between running functions and the data they used\n * 2) they should notify mobx whenever they have _changed_. This way mobx can re-run any functions (derivations) that are using this atom.\n */\nvar BaseAtom = /** @class */function () {\n /**\n * Create a new atom. For debugging purposes it is recommended to give it a name.\n * The onBecomeObserved and onBecomeUnobserved callbacks can be used for resource management.\n */\n function BaseAtom(name) {\n if (name === void 0) {\n name = \"Atom@\" + getNextId();\n }\n this.name = name;\n this.isPendingUnobservation = true; // for effective unobserving. BaseAtom has true, for extra optimization, so its onBecomeUnobserved never gets called, because it's not needed\n this.observers = [];\n this.observersIndexes = {};\n this.diffValue = 0;\n this.lastAccessedBy = 0;\n this.lowestObserverState = IDerivationState.NOT_TRACKING;\n }\n BaseAtom.prototype.onBecomeUnobserved = function () {\n // noop\n };\n /**\n * Invoke this method to notify mobx that your atom has been used somehow.\n */\n BaseAtom.prototype.reportObserved = function () {\n reportObserved(this);\n };\n /**\n * Invoke this method _after_ this method has changed to signal mobx that all its observers should invalidate.\n */\n BaseAtom.prototype.reportChanged = function () {\n startBatch();\n propagateChanged(this);\n endBatch();\n };\n BaseAtom.prototype.toString = function () {\n return this.name;\n };\n return BaseAtom;\n}();\nvar Atom = /** @class */function (_super) {\n __extends(Atom, _super);\n /**\n * Create a new atom. For debugging purposes it is recommended to give it a name.\n * The onBecomeObserved and onBecomeUnobserved callbacks can be used for resource management.\n */\n function Atom(name, onBecomeObservedHandler, onBecomeUnobservedHandler) {\n if (name === void 0) {\n name = \"Atom@\" + getNextId();\n }\n if (onBecomeObservedHandler === void 0) {\n onBecomeObservedHandler = noop;\n }\n if (onBecomeUnobservedHandler === void 0) {\n onBecomeUnobservedHandler = noop;\n }\n var _this = _super.call(this, name) || this;\n _this.name = name;\n _this.onBecomeObservedHandler = onBecomeObservedHandler;\n _this.onBecomeUnobservedHandler = onBecomeUnobservedHandler;\n _this.isPendingUnobservation = false; // for effective unobserving.\n _this.isBeingTracked = false;\n return _this;\n }\n Atom.prototype.reportObserved = function () {\n startBatch();\n _super.prototype.reportObserved.call(this);\n if (!this.isBeingTracked) {\n this.isBeingTracked = true;\n this.onBecomeObservedHandler();\n }\n endBatch();\n return !!globalState.trackingDerivation;\n // return doesn't really give useful info, because it can be as well calling computed which calls atom (no reactions)\n // also it could not trigger when calculating reaction dependent on Atom because Atom's value was cached by computed called by given reaction.\n };\n Atom.prototype.onBecomeUnobserved = function () {\n this.isBeingTracked = false;\n this.onBecomeUnobservedHandler();\n };\n return Atom;\n}(BaseAtom);\nvar isAtom = createInstanceofPredicate(\"Atom\", BaseAtom);\n\nfunction hasInterceptors(interceptable) {\n return interceptable.interceptors && interceptable.interceptors.length > 0;\n}\nfunction registerInterceptor(interceptable, handler) {\n var interceptors = interceptable.interceptors || (interceptable.interceptors = []);\n interceptors.push(handler);\n return once(function () {\n var idx = interceptors.indexOf(handler);\n if (idx !== -1) interceptors.splice(idx, 1);\n });\n}\nfunction interceptChange(interceptable, change) {\n var prevU = untrackedStart();\n try {\n var interceptors = interceptable.interceptors;\n if (interceptors) for (var i = 0, l = interceptors.length; i < l; i++) {\n change = interceptors[i](change);\n invariant(!change || change.type, \"Intercept handlers should return nothing or a change object\");\n if (!change) break;\n }\n return change;\n } finally {\n untrackedEnd(prevU);\n }\n}\n\nfunction hasListeners(listenable) {\n return listenable.changeListeners && listenable.changeListeners.length > 0;\n}\nfunction registerListener(listenable, handler) {\n var listeners = listenable.changeListeners || (listenable.changeListeners = []);\n listeners.push(handler);\n return once(function () {\n var idx = listeners.indexOf(handler);\n if (idx !== -1) listeners.splice(idx, 1);\n });\n}\nfunction notifyListeners(listenable, change) {\n var prevU = untrackedStart();\n var listeners = listenable.changeListeners;\n if (!listeners) return;\n listeners = listeners.slice();\n for (var i = 0, l = listeners.length; i < l; i++) {\n listeners[i](change);\n }\n untrackedEnd(prevU);\n}\n\nfunction isSpyEnabled() {\n return !!globalState.spyListeners.length;\n}\nfunction spyReport(event) {\n if (!globalState.spyListeners.length) return;\n var listeners = globalState.spyListeners;\n for (var i = 0, l = listeners.length; i < l; i++) {\n listeners[i](event);\n }\n}\nfunction spyReportStart(event) {\n var change = objectAssign({}, event, { spyReportStart: true });\n spyReport(change);\n}\nvar END_EVENT = { spyReportEnd: true };\nfunction spyReportEnd(change) {\n if (change) spyReport(objectAssign({}, change, END_EVENT));else spyReport(END_EVENT);\n}\nfunction spy(listener) {\n globalState.spyListeners.push(listener);\n return once(function () {\n var idx = globalState.spyListeners.indexOf(listener);\n if (idx !== -1) globalState.spyListeners.splice(idx, 1);\n });\n}\n\nfunction iteratorSymbol() {\n return typeof Symbol === \"function\" && Symbol.iterator || \"@@iterator\";\n}\nvar IS_ITERATING_MARKER = \"__$$iterating\";\nfunction arrayAsIterator(array) {\n // returning an array for entries(), values() etc for maps was a mis-interpretation of the specs..,\n // yet it is quite convenient to be able to use the response both as array directly and as iterator\n // it is suboptimal, but alas...\n invariant(array[IS_ITERATING_MARKER] !== true, \"Illegal state: cannot recycle array as iterator\");\n addHiddenFinalProp(array, IS_ITERATING_MARKER, true);\n var idx = -1;\n addHiddenFinalProp(array, \"next\", function next() {\n idx++;\n return {\n done: idx >= this.length,\n value: idx < this.length ? this[idx] : undefined\n };\n });\n return array;\n}\nfunction declareIterator(prototType, iteratorFactory) {\n addHiddenFinalProp(prototType, iteratorSymbol(), iteratorFactory);\n}\n\nvar MAX_SPLICE_SIZE = 10000; // See e.g. https://github.com/mobxjs/mobx/issues/859\n// Detects bug in safari 9.1.1 (or iOS 9 safari mobile). See #364\nvar safariPrototypeSetterInheritanceBug = function () {\n var v = false;\n var p = {};\n Object.defineProperty(p, \"0\", {\n set: function set() {\n v = true;\n }\n });\n Object.create(p)[\"0\"] = 1;\n return v === false;\n}();\n/**\n * This array buffer contains two lists of properties, so that all arrays\n * can recycle their property definitions, which significantly improves performance of creating\n * properties on the fly.\n */\nvar OBSERVABLE_ARRAY_BUFFER_SIZE = 0;\n// Typescript workaround to make sure ObservableArray extends Array\nvar StubArray = /** @class */function () {\n function StubArray() {}\n return StubArray;\n}();\nfunction inherit(ctor, proto) {\n if (typeof Object[\"setPrototypeOf\"] !== \"undefined\") {\n Object[\"setPrototypeOf\"](ctor.prototype, proto);\n } else if (typeof ctor.prototype.__proto__ !== \"undefined\") {\n ctor.prototype.__proto__ = proto;\n } else {\n ctor[\"prototype\"] = proto;\n }\n}\ninherit(StubArray, Array.prototype);\n// Weex freeze Array.prototype\n// Make them writeable and configurable in prototype chain\n// https://github.com/alibaba/weex/pull/1529\nif (Object.isFrozen(Array)) {\n\n [\"constructor\", \"push\", \"shift\", \"concat\", \"pop\", \"unshift\", \"replace\", \"find\", \"findIndex\", \"splice\", \"reverse\", \"sort\"].forEach(function (key) {\n Object.defineProperty(StubArray.prototype, key, {\n configurable: true,\n writable: true,\n value: Array.prototype[key]\n });\n });\n}\nvar ObservableArrayAdministration = /** @class */function () {\n function ObservableArrayAdministration(name, enhancer, array, owned) {\n this.array = array;\n this.owned = owned;\n this.values = [];\n this.lastKnownLength = 0;\n this.interceptors = null;\n this.changeListeners = null;\n this.atom = new BaseAtom(name || \"ObservableArray@\" + getNextId());\n this.enhancer = function (newV, oldV) {\n return enhancer(newV, oldV, name + \"[..]\");\n };\n }\n ObservableArrayAdministration.prototype.dehanceValue = function (value) {\n if (this.dehancer !== undefined) return this.dehancer(value);\n return value;\n };\n ObservableArrayAdministration.prototype.dehanceValues = function (values) {\n if (this.dehancer !== undefined) return values.map(this.dehancer);\n return values;\n };\n ObservableArrayAdministration.prototype.intercept = function (handler) {\n return registerInterceptor(this, handler);\n };\n ObservableArrayAdministration.prototype.observe = function (listener, fireImmediately) {\n if (fireImmediately === void 0) {\n fireImmediately = false;\n }\n if (fireImmediately) {\n listener({\n object: this.array,\n type: \"splice\",\n index: 0,\n added: this.values.slice(),\n addedCount: this.values.length,\n removed: [],\n removedCount: 0\n });\n }\n return registerListener(this, listener);\n };\n ObservableArrayAdministration.prototype.getArrayLength = function () {\n this.atom.reportObserved();\n return this.values.length;\n };\n ObservableArrayAdministration.prototype.setArrayLength = function (newLength) {\n if (typeof newLength !== \"number\" || newLength < 0) throw new Error(\"[mobx.array] Out of range: \" + newLength);\n var currentLength = this.values.length;\n if (newLength === currentLength) return;else if (newLength > currentLength) {\n var newItems = new Array(newLength - currentLength);\n for (var i = 0; i < newLength - currentLength; i++) {\n newItems[i] = undefined;\n } // No Array.fill everywhere...\n this.spliceWithArray(currentLength, 0, newItems);\n } else this.spliceWithArray(newLength, currentLength - newLength);\n };\n // adds / removes the necessary numeric properties to this object\n ObservableArrayAdministration.prototype.updateArrayLength = function (oldLength, delta) {\n if (oldLength !== this.lastKnownLength) throw new Error(\"[mobx] Modification exception: the internal structure of an observable array was changed. Did you use peek() to change it?\");\n this.lastKnownLength += delta;\n if (delta > 0 && oldLength + delta + 1 > OBSERVABLE_ARRAY_BUFFER_SIZE) reserveArrayBuffer(oldLength + delta + 1);\n };\n ObservableArrayAdministration.prototype.spliceWithArray = function (index, deleteCount, newItems) {\n var _this = this;\n checkIfStateModificationsAreAllowed(this.atom);\n var length = this.values.length;\n if (index === undefined) index = 0;else if (index > length) index = length;else if (index < 0) index = Math.max(0, length + index);\n if (arguments.length === 1) deleteCount = length - index;else if (deleteCount === undefined || deleteCount === null) deleteCount = 0;else deleteCount = Math.max(0, Math.min(deleteCount, length - index));\n if (newItems === undefined) newItems = [];\n if (hasInterceptors(this)) {\n var change = interceptChange(this, {\n object: this.array,\n type: \"splice\",\n index: index,\n removedCount: deleteCount,\n added: newItems\n });\n if (!change) return EMPTY_ARRAY;\n deleteCount = change.removedCount;\n newItems = change.added;\n }\n newItems = newItems.map(function (v) {\n return _this.enhancer(v, undefined);\n });\n var lengthDelta = newItems.length - deleteCount;\n this.updateArrayLength(length, lengthDelta); // create or remove new entries\n var res = this.spliceItemsIntoValues(index, deleteCount, newItems);\n if (deleteCount !== 0 || newItems.length !== 0) this.notifyArraySplice(index, newItems, res);\n return this.dehanceValues(res);\n };\n ObservableArrayAdministration.prototype.spliceItemsIntoValues = function (index, deleteCount, newItems) {\n if (newItems.length < MAX_SPLICE_SIZE) {\n return (_a = this.values).splice.apply(_a, [index, deleteCount].concat(newItems));\n } else {\n var res = this.values.slice(index, index + deleteCount);\n this.values = this.values.slice(0, index).concat(newItems, this.values.slice(index + deleteCount));\n return res;\n }\n var _a;\n };\n ObservableArrayAdministration.prototype.notifyArrayChildUpdate = function (index, newValue, oldValue) {\n var notifySpy = !this.owned && isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy ? {\n object: this.array,\n type: \"update\",\n index: index,\n newValue: newValue,\n oldValue: oldValue\n } : null;\n if (notifySpy) spyReportStart(change);\n this.atom.reportChanged();\n if (notify) notifyListeners(this, change);\n if (notifySpy) spyReportEnd();\n };\n ObservableArrayAdministration.prototype.notifyArraySplice = function (index, added, removed) {\n var notifySpy = !this.owned && isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy ? {\n object: this.array,\n type: \"splice\",\n index: index,\n removed: removed,\n added: added,\n removedCount: removed.length,\n addedCount: added.length\n } : null;\n if (notifySpy) spyReportStart(change);\n this.atom.reportChanged();\n // conform: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/observe\n if (notify) notifyListeners(this, change);\n if (notifySpy) spyReportEnd();\n };\n return ObservableArrayAdministration;\n}();\nvar ObservableArray = /** @class */function (_super) {\n __extends(ObservableArray, _super);\n function ObservableArray(initialValues, enhancer, name, owned) {\n if (name === void 0) {\n name = \"ObservableArray@\" + getNextId();\n }\n if (owned === void 0) {\n owned = false;\n }\n var _this = _super.call(this) || this;\n var adm = new ObservableArrayAdministration(name, enhancer, _this, owned);\n addHiddenFinalProp(_this, \"$mobx\", adm);\n if (initialValues && initialValues.length) {\n _this.spliceWithArray(0, 0, initialValues);\n }\n if (safariPrototypeSetterInheritanceBug) {\n // Seems that Safari won't use numeric prototype setter untill any * numeric property is\n // defined on the instance. After that it works fine, even if this property is deleted.\n Object.defineProperty(adm.array, \"0\", ENTRY_0);\n }\n return _this;\n }\n ObservableArray.prototype.intercept = function (handler) {\n return this.$mobx.intercept(handler);\n };\n ObservableArray.prototype.observe = function (listener, fireImmediately) {\n if (fireImmediately === void 0) {\n fireImmediately = false;\n }\n return this.$mobx.observe(listener, fireImmediately);\n };\n ObservableArray.prototype.clear = function () {\n return this.splice(0);\n };\n ObservableArray.prototype.concat = function () {\n var arrays = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n arrays[_i] = arguments[_i];\n }\n this.$mobx.atom.reportObserved();\n return Array.prototype.concat.apply(this.peek(), arrays.map(function (a) {\n return isObservableArray(a) ? a.peek() : a;\n }));\n };\n ObservableArray.prototype.replace = function (newItems) {\n return this.$mobx.spliceWithArray(0, this.$mobx.values.length, newItems);\n };\n /**\n * Converts this array back to a (shallow) javascript structure.\n * For a deep clone use mobx.toJS\n */\n ObservableArray.prototype.toJS = function () {\n return this.slice();\n };\n ObservableArray.prototype.toJSON = function () {\n // Used by JSON.stringify\n return this.toJS();\n };\n ObservableArray.prototype.peek = function () {\n this.$mobx.atom.reportObserved();\n return this.$mobx.dehanceValues(this.$mobx.values);\n };\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n ObservableArray.prototype.find = function (predicate, thisArg, fromIndex) {\n if (fromIndex === void 0) {\n fromIndex = 0;\n }\n var idx = this.findIndex.apply(this, arguments);\n return idx === -1 ? undefined : this.get(idx);\n };\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex\n ObservableArray.prototype.findIndex = function (predicate, thisArg, fromIndex) {\n if (fromIndex === void 0) {\n fromIndex = 0;\n }\n var items = this.peek(),\n l = items.length;\n for (var i = fromIndex; i < l; i++) {\n if (predicate.call(thisArg, items[i], i, this)) return i;\n }return -1;\n };\n /*\n * functions that do alter the internal structure of the array, (based on lib.es6.d.ts)\n * since these functions alter the inner structure of the array, the have side effects.\n * Because the have side effects, they should not be used in computed function,\n * and for that reason the do not call dependencyState.notifyObserved\n */\n ObservableArray.prototype.splice = function (index, deleteCount) {\n var newItems = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n newItems[_i - 2] = arguments[_i];\n }\n switch (arguments.length) {\n case 0:\n return [];\n case 1:\n return this.$mobx.spliceWithArray(index);\n case 2:\n return this.$mobx.spliceWithArray(index, deleteCount);\n }\n return this.$mobx.spliceWithArray(index, deleteCount, newItems);\n };\n ObservableArray.prototype.spliceWithArray = function (index, deleteCount, newItems) {\n return this.$mobx.spliceWithArray(index, deleteCount, newItems);\n };\n ObservableArray.prototype.push = function () {\n var items = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n items[_i] = arguments[_i];\n }\n var adm = this.$mobx;\n adm.spliceWithArray(adm.values.length, 0, items);\n return adm.values.length;\n };\n ObservableArray.prototype.pop = function () {\n return this.splice(Math.max(this.$mobx.values.length - 1, 0), 1)[0];\n };\n ObservableArray.prototype.shift = function () {\n return this.splice(0, 1)[0];\n };\n ObservableArray.prototype.unshift = function () {\n var items = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n items[_i] = arguments[_i];\n }\n var adm = this.$mobx;\n adm.spliceWithArray(0, 0, items);\n return adm.values.length;\n };\n ObservableArray.prototype.reverse = function () {\n // reverse by default mutates in place before returning the result\n // which makes it both a 'derivation' and a 'mutation'.\n // so we deviate from the default and just make it an dervitation\n var clone = this.slice();\n return clone.reverse.apply(clone, arguments);\n };\n ObservableArray.prototype.sort = function (compareFn) {\n // sort by default mutates in place before returning the result\n // which goes against all good practices. Let's not change the array in place!\n var clone = this.slice();\n return clone.sort.apply(clone, arguments);\n };\n ObservableArray.prototype.remove = function (value) {\n var idx = this.$mobx.dehanceValues(this.$mobx.values).indexOf(value);\n if (idx > -1) {\n this.splice(idx, 1);\n return true;\n }\n return false;\n };\n ObservableArray.prototype.move = function (fromIndex, toIndex) {\n function checkIndex(index) {\n if (index < 0) {\n throw new Error(\"[mobx.array] Index out of bounds: \" + index + \" is negative\");\n }\n var length = this.$mobx.values.length;\n if (index >= length) {\n throw new Error(\"[mobx.array] Index out of bounds: \" + index + \" is not smaller than \" + length);\n }\n }\n checkIndex.call(this, fromIndex);\n checkIndex.call(this, toIndex);\n if (fromIndex === toIndex) {\n return;\n }\n var oldItems = this.$mobx.values;\n var newItems;\n if (fromIndex < toIndex) {\n newItems = oldItems.slice(0, fromIndex).concat(oldItems.slice(fromIndex + 1, toIndex + 1), [oldItems[fromIndex]], oldItems.slice(toIndex + 1));\n } else {\n // toIndex < fromIndex\n newItems = oldItems.slice(0, toIndex).concat([oldItems[fromIndex]], oldItems.slice(toIndex, fromIndex), oldItems.slice(fromIndex + 1));\n }\n this.replace(newItems);\n };\n // See #734, in case property accessors are unreliable...\n ObservableArray.prototype.get = function (index) {\n var impl = this.$mobx;\n if (impl) {\n if (index < impl.values.length) {\n impl.atom.reportObserved();\n return impl.dehanceValue(impl.values[index]);\n }\n console.warn(\"[mobx.array] Attempt to read an array index (\" + index + \") that is out of bounds (\" + impl.values.length + \"). Please check length first. Out of bound indices will not be tracked by MobX\");\n }\n return undefined;\n };\n // See #734, in case property accessors are unreliable...\n ObservableArray.prototype.set = function (index, newValue) {\n var adm = this.$mobx;\n var values = adm.values;\n if (index < values.length) {\n // update at index in range\n checkIfStateModificationsAreAllowed(adm.atom);\n var oldValue = values[index];\n if (hasInterceptors(adm)) {\n var change = interceptChange(adm, {\n type: \"update\",\n object: this,\n index: index,\n newValue: newValue\n });\n if (!change) return;\n newValue = change.newValue;\n }\n newValue = adm.enhancer(newValue, oldValue);\n var changed = newValue !== oldValue;\n if (changed) {\n values[index] = newValue;\n adm.notifyArrayChildUpdate(index, newValue, oldValue);\n }\n } else if (index === values.length) {\n // add a new item\n adm.spliceWithArray(index, 0, [newValue]);\n } else {\n // out of bounds\n throw new Error(\"[mobx.array] Index out of bounds, \" + index + \" is larger than \" + values.length);\n }\n };\n return ObservableArray;\n}(StubArray);\ndeclareIterator(ObservableArray.prototype, function () {\n return arrayAsIterator(this.slice());\n});\nObject.defineProperty(ObservableArray.prototype, \"length\", {\n enumerable: false,\n configurable: true,\n get: function get() {\n return this.$mobx.getArrayLength();\n },\n set: function set(newLength) {\n this.$mobx.setArrayLength(newLength);\n }\n});\n[\"every\", \"filter\", \"forEach\", \"indexOf\", \"join\", \"lastIndexOf\", \"map\", \"reduce\", \"reduceRight\", \"slice\", \"some\", \"toString\", \"toLocaleString\"].forEach(function (funcName) {\n var baseFunc = Array.prototype[funcName];\n invariant(typeof baseFunc === \"function\", \"Base function not defined on Array prototype: '\" + funcName + \"'\");\n addHiddenProp(ObservableArray.prototype, funcName, function () {\n return baseFunc.apply(this.peek(), arguments);\n });\n});\n/**\n * We don't want those to show up in `for (const key in ar)` ...\n */\nmakeNonEnumerable(ObservableArray.prototype, [\"constructor\", \"intercept\", \"observe\", \"clear\", \"concat\", \"get\", \"replace\", \"toJS\", \"toJSON\", \"peek\", \"find\", \"findIndex\", \"splice\", \"spliceWithArray\", \"push\", \"pop\", \"set\", \"shift\", \"unshift\", \"reverse\", \"sort\", \"remove\", \"move\", \"toString\", \"toLocaleString\"]);\n// See #364\nvar ENTRY_0 = createArrayEntryDescriptor(0);\nfunction createArrayEntryDescriptor(index) {\n return {\n enumerable: false,\n configurable: false,\n get: function get() {\n // TODO: Check `this`?, see #752?\n return this.get(index);\n },\n set: function set(value) {\n this.set(index, value);\n }\n };\n}\nfunction createArrayBufferItem(index) {\n Object.defineProperty(ObservableArray.prototype, \"\" + index, createArrayEntryDescriptor(index));\n}\nfunction reserveArrayBuffer(max) {\n for (var index = OBSERVABLE_ARRAY_BUFFER_SIZE; index < max; index++) {\n createArrayBufferItem(index);\n }OBSERVABLE_ARRAY_BUFFER_SIZE = max;\n}\nreserveArrayBuffer(1000);\nvar isObservableArrayAdministration = createInstanceofPredicate(\"ObservableArrayAdministration\", ObservableArrayAdministration);\nfunction isObservableArray(thing) {\n return isObject(thing) && isObservableArrayAdministration(thing.$mobx);\n}\n\nvar UNCHANGED = {};\nvar ObservableValue = /** @class */function (_super) {\n __extends(ObservableValue, _super);\n function ObservableValue(value, enhancer, name, notifySpy) {\n if (name === void 0) {\n name = \"ObservableValue@\" + getNextId();\n }\n if (notifySpy === void 0) {\n notifySpy = true;\n }\n var _this = _super.call(this, name) || this;\n _this.enhancer = enhancer;\n _this.hasUnreportedChange = false;\n _this.dehancer = undefined;\n _this.value = enhancer(value, undefined, name);\n if (notifySpy && isSpyEnabled()) {\n // only notify spy if this is a stand-alone observable\n spyReport({ type: \"create\", object: _this, newValue: _this.value });\n }\n return _this;\n }\n ObservableValue.prototype.dehanceValue = function (value) {\n if (this.dehancer !== undefined) return this.dehancer(value);\n return value;\n };\n ObservableValue.prototype.set = function (newValue) {\n var oldValue = this.value;\n newValue = this.prepareNewValue(newValue);\n if (newValue !== UNCHANGED) {\n var notifySpy = isSpyEnabled();\n if (notifySpy) {\n spyReportStart({\n type: \"update\",\n object: this,\n newValue: newValue,\n oldValue: oldValue\n });\n }\n this.setNewValue(newValue);\n if (notifySpy) spyReportEnd();\n }\n };\n ObservableValue.prototype.prepareNewValue = function (newValue) {\n checkIfStateModificationsAreAllowed(this);\n if (hasInterceptors(this)) {\n var change = interceptChange(this, {\n object: this,\n type: \"update\",\n newValue: newValue\n });\n if (!change) return UNCHANGED;\n newValue = change.newValue;\n }\n // apply modifier\n newValue = this.enhancer(newValue, this.value, this.name);\n return this.value !== newValue ? newValue : UNCHANGED;\n };\n ObservableValue.prototype.setNewValue = function (newValue) {\n var oldValue = this.value;\n this.value = newValue;\n this.reportChanged();\n if (hasListeners(this)) {\n notifyListeners(this, {\n type: \"update\",\n object: this,\n newValue: newValue,\n oldValue: oldValue\n });\n }\n };\n ObservableValue.prototype.get = function () {\n this.reportObserved();\n return this.dehanceValue(this.value);\n };\n ObservableValue.prototype.intercept = function (handler) {\n return registerInterceptor(this, handler);\n };\n ObservableValue.prototype.observe = function (listener, fireImmediately) {\n if (fireImmediately) listener({\n object: this,\n type: \"update\",\n newValue: this.value,\n oldValue: undefined\n });\n return registerListener(this, listener);\n };\n ObservableValue.prototype.toJSON = function () {\n return this.get();\n };\n ObservableValue.prototype.toString = function () {\n return this.name + \"[\" + this.value + \"]\";\n };\n ObservableValue.prototype.valueOf = function () {\n return toPrimitive(this.get());\n };\n return ObservableValue;\n}(BaseAtom);\nObservableValue.prototype[primitiveSymbol()] = ObservableValue.prototype.valueOf;\nvar isObservableValue = createInstanceofPredicate(\"ObservableValue\", ObservableValue);\n\nvar messages = {\n m001: \"It is not allowed to assign new values to @action fields\",\n m002: \"`runInAction` expects a function\",\n m003: \"`runInAction` expects a function without arguments\",\n m004: \"autorun expects a function\",\n m005: \"Warning: attempted to pass an action to autorun. Actions are untracked and will not trigger on state changes. Use `reaction` or wrap only your state modification code in an action.\",\n m006: \"Warning: attempted to pass an action to autorunAsync. Actions are untracked and will not trigger on state changes. Use `reaction` or wrap only your state modification code in an action.\",\n m007: \"reaction only accepts 2 or 3 arguments. If migrating from MobX 2, please provide an options object\",\n m008: \"wrapping reaction expression in `asReference` is no longer supported, use options object instead\",\n m009: \"@computed can only be used on getter functions, like: '@computed get myProps() { return ...; }'. It looks like it was used on a property.\",\n m010: \"@computed can only be used on getter functions, like: '@computed get myProps() { return ...; }'\",\n m011: \"First argument to `computed` should be an expression. If using computed as decorator, don't pass it arguments\",\n m012: \"computed takes one or two arguments if used as function\",\n m013: \"[mobx.expr] 'expr' should only be used inside other reactive functions.\",\n m014: \"extendObservable expected 2 or more arguments\",\n m015: \"extendObservable expects an object as first argument\",\n m016: \"extendObservable should not be used on maps, use map.merge instead\",\n m017: \"all arguments of extendObservable should be objects\",\n m018: \"extending an object with another observable (object) is not supported. Please construct an explicit propertymap, using `toJS` if need. See issue #540\",\n m019: \"[mobx.isObservable] isObservable(object, propertyName) is not supported for arrays and maps. Use map.has or array.length instead.\",\n m020: \"modifiers can only be used for individual object properties\",\n m021: \"observable expects zero or one arguments\",\n m022: \"@observable can not be used on getters, use @computed instead\",\n m024: \"whyRun() can only be used if a derivation is active, or by passing an computed value / reaction explicitly. If you invoked whyRun from inside a computation; the computation is currently suspended but re-evaluating because somebody requested its value.\",\n m025: \"whyRun can only be used on reactions and computed values\",\n m026: \"`action` can only be invoked on functions\",\n m028: \"It is not allowed to set `useStrict` when a derivation is running\",\n m029: \"INTERNAL ERROR only onBecomeUnobserved shouldn't be called twice in a row\",\n m030a: \"Since strict-mode is enabled, changing observed observable values outside actions is not allowed. Please wrap the code in an `action` if this change is intended. Tried to modify: \",\n m030b: \"Side effects like changing state are not allowed at this point. Are you trying to modify state from, for example, the render function of a React component? Tried to modify: \",\n m031: \"Computed values are not allowed to cause side effects by changing observables that are already being observed. Tried to modify: \",\n m032: \"* This computation is suspended (not in use by any reaction) and won't run automatically.\\n\tDidn't expect this computation to be suspended at this point?\\n\t 1. Make sure this computation is used by a reaction (reaction, autorun, observer).\\n\t 2. Check whether you are using this computation synchronously (in the same stack as they reaction that needs it).\",\n m033: \"`observe` doesn't support the fire immediately property for observable maps.\",\n m034: \"`mobx.map` is deprecated, use `new ObservableMap` or `mobx.observable.map` instead\",\n m035: \"Cannot make the designated object observable; it is not extensible\",\n m036: \"It is not possible to get index atoms from arrays\",\n m037: \"Hi there! I'm sorry you have just run into an exception.\\nIf your debugger ends up here, know that some reaction (like the render() of an observer component, autorun or reaction)\\nthrew an exception and that mobx caught it, to avoid that it brings the rest of your application down.\\nThe original cause of the exception (the code that caused this reaction to run (again)), is still in the stack.\\n\\nHowever, more interesting is the actual stack trace of the error itself.\\nHopefully the error is an instanceof Error, because in that case you can inspect the original stack of the error from where it was thrown.\\nSee `error.stack` property, or press the very subtle \\\"(...)\\\" link you see near the console.error message that probably brought you here.\\nThat stack is more interesting than the stack of this console.error itself.\\n\\nIf the exception you see is an exception you created yourself, make sure to use `throw new Error(\\\"Oops\\\")` instead of `throw \\\"Oops\\\"`,\\nbecause the javascript environment will only preserve the original stack trace in the first form.\\n\\nYou can also make sure the debugger pauses the next time this very same exception is thrown by enabling \\\"Pause on caught exception\\\".\\n(Note that it might pause on many other, unrelated exception as well).\\n\\nIf that all doesn't help you out, feel free to open an issue https://github.com/mobxjs/mobx/issues!\\n\",\n m038: \"Missing items in this list?\\n 1. Check whether all used values are properly marked as observable (use isObservable to verify)\\n 2. Make sure you didn't dereference values too early. MobX observes props, not primitives. E.g: use 'person.name' instead of 'name' in your computation.\\n\"\n};\nfunction getMessage(id) {\n return messages[id];\n}\n\nfunction createAction(actionName, fn) {\n invariant(typeof fn === \"function\", getMessage(\"m026\"));\n invariant(typeof actionName === \"string\" && actionName.length > 0, \"actions should have valid names, got: '\" + actionName + \"'\");\n var res = function res() {\n return executeAction(actionName, fn, this, arguments);\n };\n res.originalFn = fn;\n res.isMobxAction = true;\n return res;\n}\nfunction executeAction(actionName, fn, scope, args) {\n var runInfo = startAction(actionName, fn, scope, args);\n try {\n return fn.apply(scope, args);\n } finally {\n endAction(runInfo);\n }\n}\nfunction startAction(actionName, fn, scope, args) {\n var notifySpy = isSpyEnabled() && !!actionName;\n var startTime = 0;\n if (notifySpy) {\n startTime = Date.now();\n var l = args && args.length || 0;\n var flattendArgs = new Array(l);\n if (l > 0) for (var i = 0; i < l; i++) {\n flattendArgs[i] = args[i];\n }spyReportStart({\n type: \"action\",\n name: actionName,\n fn: fn,\n object: scope,\n arguments: flattendArgs\n });\n }\n var prevDerivation = untrackedStart();\n startBatch();\n var prevAllowStateChanges = allowStateChangesStart(true);\n return {\n prevDerivation: prevDerivation,\n prevAllowStateChanges: prevAllowStateChanges,\n notifySpy: notifySpy,\n startTime: startTime\n };\n}\nfunction endAction(runInfo) {\n allowStateChangesEnd(runInfo.prevAllowStateChanges);\n endBatch();\n untrackedEnd(runInfo.prevDerivation);\n if (runInfo.notifySpy) spyReportEnd({ time: Date.now() - runInfo.startTime });\n}\nfunction useStrict(strict) {\n invariant(globalState.trackingDerivation === null, getMessage(\"m028\"));\n globalState.strictMode = strict;\n globalState.allowStateChanges = !strict;\n}\nfunction isStrictModeEnabled() {\n return globalState.strictMode;\n}\nfunction allowStateChanges(allowStateChanges, func) {\n // TODO: deprecate / refactor this function in next major\n // Currently only used by `@observer`\n // Proposed change: remove first param, rename to `forbidStateChanges`,\n // require error callback instead of the hardcoded error message now used\n // Use `inAction` instead of allowStateChanges in derivation.ts to check strictMode\n var prev = allowStateChangesStart(allowStateChanges);\n var res;\n try {\n res = func();\n } finally {\n allowStateChangesEnd(prev);\n }\n return res;\n}\nfunction allowStateChangesStart(allowStateChanges) {\n var prev = globalState.allowStateChanges;\n globalState.allowStateChanges = allowStateChanges;\n return prev;\n}\nfunction allowStateChangesEnd(prev) {\n globalState.allowStateChanges = prev;\n}\n\n/**\n * Constructs a decorator, that normalizes the differences between\n * TypeScript and Babel. Mainly caused by the fact that legacy-decorator cannot assign\n * values during instance creation to properties that have a getter setter.\n *\n * - Sigh -\n *\n * Also takes care of the difference between @decorator field and @decorator(args) field, and different forms of values.\n * For performance (cpu and mem) reasons the properties are always defined on the prototype (at least initially).\n * This means that these properties despite being enumerable might not show up in Object.keys() (but they will show up in for...in loops).\n */\nfunction createClassPropertyDecorator(\n/**\n * This function is invoked once, when the property is added to a new instance.\n * When this happens is not strictly determined due to differences in TS and Babel:\n * Typescript: Usually when constructing the new instance\n * Babel, sometimes Typescript: during the first get / set\n * Both: when calling `runLazyInitializers(instance)`\n */\nonInitialize, _get, _set, enumerable,\n/**\n * Can this decorator invoked with arguments? e.g. @decorator(args)\n */\nallowCustomArguments) {\n function classPropertyDecorator(target, key, descriptor, customArgs, argLen) {\n if (argLen === void 0) {\n argLen = 0;\n }\n invariant(allowCustomArguments || quacksLikeADecorator(arguments), \"This function is a decorator, but it wasn't invoked like a decorator\");\n if (!descriptor) {\n // typescript (except for getter / setters)\n var newDescriptor = {\n enumerable: enumerable,\n configurable: true,\n get: function get() {\n if (!this.__mobxInitializedProps || this.__mobxInitializedProps[key] !== true) typescriptInitializeProperty(this, key, undefined, onInitialize, customArgs, descriptor);\n return _get.call(this, key);\n },\n set: function set(v) {\n if (!this.__mobxInitializedProps || this.__mobxInitializedProps[key] !== true) {\n typescriptInitializeProperty(this, key, v, onInitialize, customArgs, descriptor);\n } else {\n _set.call(this, key, v);\n }\n }\n };\n if (arguments.length < 3 || arguments.length === 5 && argLen < 3) {\n // Typescript target is ES3, so it won't define property for us\n // or using Reflect.decorate polyfill, which will return no descriptor\n // (see https://github.com/mobxjs/mobx/issues/333)\n Object.defineProperty(target, key, newDescriptor);\n }\n return newDescriptor;\n } else {\n // babel and typescript getter / setter props\n if (!hasOwnProperty(target, \"__mobxLazyInitializers\")) {\n addHiddenProp(target, \"__mobxLazyInitializers\", target.__mobxLazyInitializers && target.__mobxLazyInitializers.slice() || [] // support inheritance\n );\n }\n var value_1 = descriptor.value,\n initializer_1 = descriptor.initializer;\n target.__mobxLazyInitializers.push(function (instance) {\n onInitialize(instance, key, initializer_1 ? initializer_1.call(instance) : value_1, customArgs, descriptor);\n });\n return {\n enumerable: enumerable,\n configurable: true,\n get: function get() {\n if (this.__mobxDidRunLazyInitializers !== true) runLazyInitializers(this);\n return _get.call(this, key);\n },\n set: function set(v) {\n if (this.__mobxDidRunLazyInitializers !== true) runLazyInitializers(this);\n _set.call(this, key, v);\n }\n };\n }\n }\n if (allowCustomArguments) {\n /** If custom arguments are allowed, we should return a function that returns a decorator */\n return function () {\n /** Direct invocation: @decorator bla */\n if (quacksLikeADecorator(arguments)) return classPropertyDecorator.apply(null, arguments);\n /** Indirect invocation: @decorator(args) bla */\n var outerArgs = arguments;\n var argLen = arguments.length;\n return function (target, key, descriptor) {\n return classPropertyDecorator(target, key, descriptor, outerArgs, argLen);\n };\n };\n }\n return classPropertyDecorator;\n}\nfunction typescriptInitializeProperty(instance, key, v, onInitialize, customArgs, baseDescriptor) {\n if (!hasOwnProperty(instance, \"__mobxInitializedProps\")) addHiddenProp(instance, \"__mobxInitializedProps\", {});\n instance.__mobxInitializedProps[key] = true;\n onInitialize(instance, key, v, customArgs, baseDescriptor);\n}\nfunction runLazyInitializers(instance) {\n if (instance.__mobxDidRunLazyInitializers === true) return;\n if (instance.__mobxLazyInitializers) {\n addHiddenProp(instance, \"__mobxDidRunLazyInitializers\", true);\n instance.__mobxDidRunLazyInitializers && instance.__mobxLazyInitializers.forEach(function (initializer) {\n return initializer(instance);\n });\n }\n}\nfunction quacksLikeADecorator(args) {\n return (args.length === 2 || args.length === 3) && typeof args[1] === \"string\";\n}\n\nvar actionFieldDecorator = createClassPropertyDecorator(function (target, key, value, args, originalDescriptor) {\n var actionName = args && args.length === 1 ? args[0] : value.name || key || \"\";\n var wrappedAction = action(actionName, value);\n addHiddenProp(target, key, wrappedAction);\n}, function (key) {\n return this[key];\n}, function () {\n invariant(false, getMessage(\"m001\"));\n}, false, true);\nvar boundActionDecorator = createClassPropertyDecorator(function (target, key, value) {\n defineBoundAction(target, key, value);\n}, function (key) {\n return this[key];\n}, function () {\n invariant(false, getMessage(\"m001\"));\n}, false, false);\nvar action = function action(arg1, arg2, arg3, arg4) {\n if (arguments.length === 1 && typeof arg1 === \"function\") return createAction(arg1.name || \"\", arg1);\n if (arguments.length === 2 && typeof arg2 === \"function\") return createAction(arg1, arg2);\n if (arguments.length === 1 && typeof arg1 === \"string\") return namedActionDecorator(arg1);\n return namedActionDecorator(arg2).apply(null, arguments);\n};\naction.bound = function boundAction(arg1, arg2, arg3) {\n if (typeof arg1 === \"function\") {\n var action_1 = createAction(\"\", arg1);\n action_1.autoBind = true;\n return action_1;\n }\n return boundActionDecorator.apply(null, arguments);\n};\nfunction namedActionDecorator(name) {\n return function (target, prop, descriptor) {\n if (descriptor && typeof descriptor.value === \"function\") {\n // TypeScript @action method() { }. Defined on proto before being decorated\n // Don't use the field decorator if we are just decorating a method\n descriptor.value = createAction(name, descriptor.value);\n descriptor.enumerable = false;\n descriptor.configurable = true;\n return descriptor;\n }\n if (descriptor !== undefined && descriptor.get !== undefined) {\n throw new Error(\"[mobx] action is not expected to be used with getters\");\n }\n // bound instance methods\n return actionFieldDecorator(name).apply(this, arguments);\n };\n}\nfunction runInAction(arg1, arg2, arg3) {\n var actionName = typeof arg1 === \"string\" ? arg1 : arg1.name || \"\";\n var fn = typeof arg1 === \"function\" ? arg1 : arg2;\n var scope = typeof arg1 === \"function\" ? arg2 : arg3;\n invariant(typeof fn === \"function\", getMessage(\"m002\"));\n invariant(fn.length === 0, getMessage(\"m003\"));\n invariant(typeof actionName === \"string\" && actionName.length > 0, \"actions should have valid names, got: '\" + actionName + \"'\");\n return executeAction(actionName, fn, scope, undefined);\n}\nfunction isAction(thing) {\n return typeof thing === \"function\" && thing.isMobxAction === true;\n}\nfunction defineBoundAction(target, propertyName, fn) {\n var res = function res() {\n return executeAction(propertyName, fn, target, arguments);\n };\n res.isMobxAction = true;\n addHiddenProp(target, propertyName, res);\n}\n\nvar toString = Object.prototype.toString;\nfunction deepEqual(a, b) {\n return eq(a, b);\n}\n// Copied from https://github.com/jashkenas/underscore/blob/5c237a7c682fb68fd5378203f0bf22dce1624854/underscore.js#L1186-L1289\n// Internal recursive comparison function for `isEqual`.\nfunction eq(a, b, aStack, bStack) {\n // Identical objects are equal. `0 === -0`, but they aren't identical.\n // See the [Harmony `egal` proposal](http://wiki.ecmascript.org/doku.php?id=harmony:egal).\n if (a === b) return a !== 0 || 1 / a === 1 / b;\n // `null` or `undefined` only equal to itself (strict comparison).\n if (a == null || b == null) return false;\n // `NaN`s are equivalent, but non-reflexive.\n if (a !== a) return b !== b;\n // Exhaust primitive checks\n var type = typeof a === \"undefined\" ? \"undefined\" : _typeof(a);\n if (type !== \"function\" && type !== \"object\" && (typeof b === \"undefined\" ? \"undefined\" : _typeof(b)) != \"object\") return false;\n return deepEq(a, b, aStack, bStack);\n}\n// Internal recursive comparison function for `isEqual`.\nfunction deepEq(a, b, aStack, bStack) {\n // Unwrap any wrapped objects.\n a = unwrap(a);\n b = unwrap(b);\n // Compare `[[Class]]` names.\n var className = toString.call(a);\n if (className !== toString.call(b)) return false;\n switch (className) {\n // Strings, numbers, regular expressions, dates, and booleans are compared by value.\n case \"[object RegExp]\":\n // RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i')\n case \"[object String]\":\n // Primitives and their corresponding object wrappers are equivalent; thus, `\"5\"` is\n // equivalent to `new String(\"5\")`.\n return \"\" + a === \"\" + b;\n case \"[object Number]\":\n // `NaN`s are equivalent, but non-reflexive.\n // Object(NaN) is equivalent to NaN.\n if (+a !== +a) return +b !== +b;\n // An `egal` comparison is performed for other numeric values.\n return +a === 0 ? 1 / +a === 1 / b : +a === +b;\n case \"[object Date]\":\n case \"[object Boolean]\":\n // Coerce dates and booleans to numeric primitive values. Dates are compared by their\n // millisecond representations. Note that invalid dates with millisecond representations\n // of `NaN` are not equivalent.\n return +a === +b;\n case \"[object Symbol]\":\n return typeof Symbol !== \"undefined\" && Symbol.valueOf.call(a) === Symbol.valueOf.call(b);\n }\n var areArrays = className === \"[object Array]\";\n if (!areArrays) {\n if ((typeof a === \"undefined\" ? \"undefined\" : _typeof(a)) != \"object\" || (typeof b === \"undefined\" ? \"undefined\" : _typeof(b)) != \"object\") return false;\n // Objects with different constructors are not equivalent, but `Object`s or `Array`s\n // from different frames are.\n var aCtor = a.constructor,\n bCtor = b.constructor;\n if (aCtor !== bCtor && !(typeof aCtor === \"function\" && aCtor instanceof aCtor && typeof bCtor === \"function\" && bCtor instanceof bCtor) && \"constructor\" in a && \"constructor\" in b) {\n return false;\n }\n }\n // Assume equality for cyclic structures. The algorithm for detecting cyclic\n // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`.\n // Initializing stack of traversed objects.\n // It's done here since we only need them for objects and arrays comparison.\n aStack = aStack || [];\n bStack = bStack || [];\n var length = aStack.length;\n while (length--) {\n // Linear search. Performance is inversely proportional to the number of\n // unique nested structures.\n if (aStack[length] === a) return bStack[length] === b;\n }\n // Add the first object to the stack of traversed objects.\n aStack.push(a);\n bStack.push(b);\n // Recursively compare objects and arrays.\n if (areArrays) {\n // Compare array lengths to determine if a deep comparison is necessary.\n length = a.length;\n if (length !== b.length) return false;\n // Deep compare the contents, ignoring non-numeric properties.\n while (length--) {\n if (!eq(a[length], b[length], aStack, bStack)) return false;\n }\n } else {\n // Deep compare objects.\n var keys = Object.keys(a),\n key;\n length = keys.length;\n // Ensure that both objects contain the same number of properties before comparing deep equality.\n if (Object.keys(b).length !== length) return false;\n while (length--) {\n // Deep compare each member\n key = keys[length];\n if (!(has(b, key) && eq(a[key], b[key], aStack, bStack))) return false;\n }\n }\n // Remove the first object from the stack of traversed objects.\n aStack.pop();\n bStack.pop();\n return true;\n}\nfunction unwrap(a) {\n if (isObservableArray(a)) return a.peek();\n if (isObservableMap(a)) return a.entries();\n if (isES6Map(a)) return iteratorToArray(a.entries());\n return a;\n}\nfunction has(a, key) {\n return Object.prototype.hasOwnProperty.call(a, key);\n}\n\nfunction identityComparer(a, b) {\n return a === b;\n}\nfunction structuralComparer(a, b) {\n return deepEqual(a, b);\n}\nfunction defaultComparer(a, b) {\n return areBothNaN(a, b) || identityComparer(a, b);\n}\nvar comparer = {\n identity: identityComparer,\n structural: structuralComparer,\n default: defaultComparer\n};\n\nfunction autorun(arg1, arg2, arg3) {\n var name, view, scope;\n if (typeof arg1 === \"string\") {\n name = arg1;\n view = arg2;\n scope = arg3;\n } else {\n name = arg1.name || \"Autorun@\" + getNextId();\n view = arg1;\n scope = arg2;\n }\n invariant(typeof view === \"function\", getMessage(\"m004\"));\n invariant(isAction(view) === false, getMessage(\"m005\"));\n if (scope) view = view.bind(scope);\n var reaction = new Reaction(name, function () {\n this.track(reactionRunner);\n });\n function reactionRunner() {\n view(reaction);\n }\n reaction.schedule();\n return reaction.getDisposer();\n}\nfunction when(arg1, arg2, arg3, arg4) {\n var name, predicate, effect, scope;\n if (typeof arg1 === \"string\") {\n name = arg1;\n predicate = arg2;\n effect = arg3;\n scope = arg4;\n } else {\n name = \"When@\" + getNextId();\n predicate = arg1;\n effect = arg2;\n scope = arg3;\n }\n var disposer = autorun(name, function (r) {\n if (predicate.call(scope)) {\n r.dispose();\n var prevUntracked = untrackedStart();\n effect.call(scope);\n untrackedEnd(prevUntracked);\n }\n });\n return disposer;\n}\nfunction autorunAsync(arg1, arg2, arg3, arg4) {\n var name, func, delay, scope;\n if (typeof arg1 === \"string\") {\n name = arg1;\n func = arg2;\n delay = arg3;\n scope = arg4;\n } else {\n name = arg1.name || \"AutorunAsync@\" + getNextId();\n func = arg1;\n delay = arg2;\n scope = arg3;\n }\n invariant(isAction(func) === false, getMessage(\"m006\"));\n if (delay === void 0) delay = 1;\n if (scope) func = func.bind(scope);\n var isScheduled = false;\n var r = new Reaction(name, function () {\n if (!isScheduled) {\n isScheduled = true;\n setTimeout(function () {\n isScheduled = false;\n if (!r.isDisposed) r.track(reactionRunner);\n }, delay);\n }\n });\n function reactionRunner() {\n func(r);\n }\n r.schedule();\n return r.getDisposer();\n}\nfunction reaction(expression, effect, arg3) {\n if (arguments.length > 3) {\n fail(getMessage(\"m007\"));\n }\n if (isModifierDescriptor(expression)) {\n fail(getMessage(\"m008\"));\n }\n var opts;\n if ((typeof arg3 === \"undefined\" ? \"undefined\" : _typeof(arg3)) === \"object\") {\n opts = arg3;\n } else {\n opts = {};\n }\n opts.name = opts.name || expression.name || effect.name || \"Reaction@\" + getNextId();\n opts.fireImmediately = arg3 === true || opts.fireImmediately === true;\n opts.delay = opts.delay || 0;\n opts.compareStructural = opts.compareStructural || opts.struct || false;\n // TODO: creates ugly spy events, use `effect = (r) => runInAction(opts.name, () => effect(r))` instead\n effect = action(opts.name, opts.context ? effect.bind(opts.context) : effect);\n if (opts.context) {\n expression = expression.bind(opts.context);\n }\n var firstTime = true;\n var isScheduled = false;\n var value;\n var equals = opts.equals ? opts.equals : opts.compareStructural || opts.struct ? comparer.structural : comparer.default;\n var r = new Reaction(opts.name, function () {\n if (firstTime || opts.delay < 1) {\n reactionRunner();\n } else if (!isScheduled) {\n isScheduled = true;\n setTimeout(function () {\n isScheduled = false;\n reactionRunner();\n }, opts.delay);\n }\n });\n function reactionRunner() {\n if (r.isDisposed) return;\n var changed = false;\n r.track(function () {\n var nextValue = expression(r);\n changed = firstTime || !equals(value, nextValue);\n value = nextValue;\n });\n if (firstTime && opts.fireImmediately) effect(value, r);\n if (!firstTime && changed === true) effect(value, r);\n if (firstTime) firstTime = false;\n }\n r.schedule();\n return r.getDisposer();\n}\n\n/**\n * A node in the state dependency root that observes other nodes, and can be observed itself.\n *\n * ComputedValue will remember the result of the computation for the duration of the batch, or\n * while being observed.\n *\n * During this time it will recompute only when one of its direct dependencies changed,\n * but only when it is being accessed with `ComputedValue.get()`.\n *\n * Implementation description:\n * 1. First time it's being accessed it will compute and remember result\n * give back remembered result until 2. happens\n * 2. First time any deep dependency change, propagate POSSIBLY_STALE to all observers, wait for 3.\n * 3. When it's being accessed, recompute if any shallow dependency changed.\n * if result changed: propagate STALE to all observers, that were POSSIBLY_STALE from the last step.\n * go to step 2. either way\n *\n * If at any point it's outside batch and it isn't observed: reset everything and go to 1.\n */\nvar ComputedValue = /** @class */function () {\n /**\n * Create a new computed value based on a function expression.\n *\n * The `name` property is for debug purposes only.\n *\n * The `equals` property specifies the comparer function to use to determine if a newly produced\n * value differs from the previous value. Two comparers are provided in the library; `defaultComparer`\n * compares based on identity comparison (===), and `structualComparer` deeply compares the structure.\n * Structural comparison can be convenient if you always produce an new aggregated object and\n * don't want to notify observers if it is structurally the same.\n * This is useful for working with vectors, mouse coordinates etc.\n */\n function ComputedValue(derivation, scope, equals, name, setter) {\n this.derivation = derivation;\n this.scope = scope;\n this.equals = equals;\n this.dependenciesState = IDerivationState.NOT_TRACKING;\n this.observing = []; // nodes we are looking at. Our value depends on these nodes\n this.newObserving = null; // during tracking it's an array with new observed observers\n this.isPendingUnobservation = false;\n this.observers = [];\n this.observersIndexes = {};\n this.diffValue = 0;\n this.runId = 0;\n this.lastAccessedBy = 0;\n this.lowestObserverState = IDerivationState.UP_TO_DATE;\n this.unboundDepsCount = 0;\n this.__mapid = \"#\" + getNextId();\n this.value = new CaughtException(null);\n this.isComputing = false; // to check for cycles\n this.isRunningSetter = false;\n this.isTracing = TraceMode.NONE;\n this.name = name || \"ComputedValue@\" + getNextId();\n if (setter) this.setter = createAction(name + \"-setter\", setter);\n }\n ComputedValue.prototype.onBecomeStale = function () {\n propagateMaybeChanged(this);\n };\n ComputedValue.prototype.onBecomeUnobserved = function () {\n clearObserving(this);\n this.value = undefined;\n };\n /**\n * Returns the current value of this computed value.\n * Will evaluate its computation first if needed.\n */\n ComputedValue.prototype.get = function () {\n invariant(!this.isComputing, \"Cycle detected in computation \" + this.name, this.derivation);\n if (globalState.inBatch === 0) {\n // This is an minor optimization which could be omitted to simplify the code\n // The computedValue is accessed outside of any mobx stuff. Batch observing should be enough and don't need\n // tracking as it will never be called again inside this batch.\n startBatch();\n if (shouldCompute(this)) {\n if (this.isTracing !== TraceMode.NONE) {\n console.log(\"[mobx.trace] '\" + this.name + \"' is being read outside a reactive context and doing a full recompute\");\n }\n this.value = this.computeValue(false);\n }\n endBatch();\n } else {\n reportObserved(this);\n if (shouldCompute(this)) if (this.trackAndCompute()) propagateChangeConfirmed(this);\n }\n var result = this.value;\n if (isCaughtException(result)) throw result.cause;\n return result;\n };\n ComputedValue.prototype.peek = function () {\n var res = this.computeValue(false);\n if (isCaughtException(res)) throw res.cause;\n return res;\n };\n ComputedValue.prototype.set = function (value) {\n if (this.setter) {\n invariant(!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?\");\n this.isRunningSetter = true;\n try {\n this.setter.call(this.scope, value);\n } finally {\n this.isRunningSetter = false;\n }\n } else invariant(false, \"[ComputedValue '\" + this.name + \"'] It is not possible to assign a new value to a computed value.\");\n };\n ComputedValue.prototype.trackAndCompute = function () {\n if (isSpyEnabled()) {\n spyReport({\n object: this.scope,\n type: \"compute\",\n fn: this.derivation\n });\n }\n var oldValue = this.value;\n var wasSuspended =\n /* see #1208 */this.dependenciesState === IDerivationState.NOT_TRACKING;\n var newValue = this.value = this.computeValue(true);\n return wasSuspended || isCaughtException(oldValue) || isCaughtException(newValue) || !this.equals(oldValue, newValue);\n };\n ComputedValue.prototype.computeValue = function (track) {\n this.isComputing = true;\n globalState.computationDepth++;\n var res;\n if (track) {\n res = trackDerivedFunction(this, this.derivation, this.scope);\n } else {\n try {\n res = this.derivation.call(this.scope);\n } catch (e) {\n res = new CaughtException(e);\n }\n }\n globalState.computationDepth--;\n this.isComputing = false;\n return res;\n };\n ComputedValue.prototype.observe = function (listener, fireImmediately) {\n var _this = this;\n var firstTime = true;\n var prevValue = undefined;\n return autorun(function () {\n var newValue = _this.get();\n if (!firstTime || fireImmediately) {\n var prevU = untrackedStart();\n listener({\n type: \"update\",\n object: _this,\n newValue: newValue,\n oldValue: prevValue\n });\n untrackedEnd(prevU);\n }\n firstTime = false;\n prevValue = newValue;\n });\n };\n ComputedValue.prototype.toJSON = function () {\n return this.get();\n };\n ComputedValue.prototype.toString = function () {\n return this.name + \"[\" + this.derivation.toString() + \"]\";\n };\n ComputedValue.prototype.valueOf = function () {\n return toPrimitive(this.get());\n };\n ComputedValue.prototype.whyRun = function () {\n var isTracking = Boolean(globalState.trackingDerivation);\n var observing = unique(this.isComputing ? this.newObserving : this.observing).map(function (dep) {\n return dep.name;\n });\n var observers = unique(getObservers(this).map(function (dep) {\n return dep.name;\n }));\n return \"\\nWhyRun? computation '\" + this.name + \"':\\n * Running because: \" + (isTracking ? \"[active] the value of this computation is needed by a reaction\" : this.isComputing ? \"[get] The value of this computed was requested outside a reaction\" : \"[idle] not running at the moment\") + \"\\n\" + (this.dependenciesState === IDerivationState.NOT_TRACKING ? getMessage(\"m032\") : \" * This computation will re-run if any of the following observables changes:\\n \" + joinStrings(observing) + \"\\n \" + (this.isComputing && isTracking ? \" (... or any observable accessed during the remainder of the current run)\" : \"\") + \"\\n \" + getMessage(\"m038\") + \"\\n\\n * If the outcome of this computation changes, the following observers will be re-run:\\n \" + joinStrings(observers) + \"\\n\");\n };\n return ComputedValue;\n}();\nComputedValue.prototype[primitiveSymbol()] = ComputedValue.prototype.valueOf;\nvar isComputedValue = createInstanceofPredicate(\"ComputedValue\", ComputedValue);\n\nvar ObservableObjectAdministration = /** @class */function () {\n function ObservableObjectAdministration(target, name) {\n this.target = target;\n this.name = name;\n this.values = {};\n this.changeListeners = null;\n this.interceptors = null;\n }\n /**\n * Observes this object. Triggers for the events 'add', 'update' and 'delete'.\n * See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/observe\n * for callback details\n */\n ObservableObjectAdministration.prototype.observe = function (callback, fireImmediately) {\n invariant(fireImmediately !== true, \"`observe` doesn't support the fire immediately property for observable objects.\");\n return registerListener(this, callback);\n };\n ObservableObjectAdministration.prototype.intercept = function (handler) {\n return registerInterceptor(this, handler);\n };\n return ObservableObjectAdministration;\n}();\nfunction asObservableObject(target, name) {\n if (isObservableObject(target) && target.hasOwnProperty(\"$mobx\")) return target.$mobx;\n invariant(Object.isExtensible(target), getMessage(\"m035\"));\n if (!isPlainObject(target)) name = (target.constructor.name || \"ObservableObject\") + \"@\" + getNextId();\n if (!name) name = \"ObservableObject@\" + getNextId();\n var adm = new ObservableObjectAdministration(target, name);\n addHiddenFinalProp(target, \"$mobx\", adm);\n return adm;\n}\nfunction defineObservablePropertyFromDescriptor(adm, propName, descriptor, defaultEnhancer) {\n if (adm.values[propName] && !isComputedValue(adm.values[propName])) {\n // already observable property\n invariant(\"value\" in descriptor, \"The property \" + propName + \" in \" + adm.name + \" is already observable, cannot redefine it as computed property\");\n adm.target[propName] = descriptor.value; // the property setter will make 'value' reactive if needed.\n return;\n }\n // not yet observable property\n if (\"value\" in descriptor) {\n // not a computed value\n if (isModifierDescriptor(descriptor.value)) {\n // x : ref(someValue)\n var modifierDescriptor = descriptor.value;\n defineObservableProperty(adm, propName, modifierDescriptor.initialValue, modifierDescriptor.enhancer);\n } else if (isAction(descriptor.value) && descriptor.value.autoBind === true) {\n defineBoundAction(adm.target, propName, descriptor.value.originalFn);\n } else if (isComputedValue(descriptor.value)) {\n // x: computed(someExpr)\n defineComputedPropertyFromComputedValue(adm, propName, descriptor.value);\n } else {\n // x: someValue\n defineObservableProperty(adm, propName, descriptor.value, defaultEnhancer);\n }\n } else {\n // get x() { return 3 } set x(v) { }\n defineComputedProperty(adm, propName, descriptor.get, descriptor.set, comparer.default, true);\n }\n}\nfunction defineObservableProperty(adm, propName, newValue, enhancer) {\n assertPropertyConfigurable(adm.target, propName);\n if (hasInterceptors(adm)) {\n var change = interceptChange(adm, {\n object: adm.target,\n name: propName,\n type: \"add\",\n newValue: newValue\n });\n if (!change) return;\n newValue = change.newValue;\n }\n var observable = adm.values[propName] = new ObservableValue(newValue, enhancer, adm.name + \".\" + propName, false);\n newValue = observable.value; // observableValue might have changed it\n Object.defineProperty(adm.target, propName, generateObservablePropConfig(propName));\n notifyPropertyAddition(adm, adm.target, propName, newValue);\n}\nfunction defineComputedProperty(adm, propName, getter, setter, equals, asInstanceProperty) {\n if (asInstanceProperty) assertPropertyConfigurable(adm.target, propName);\n adm.values[propName] = new ComputedValue(getter, adm.target, equals, adm.name + \".\" + propName, setter);\n if (asInstanceProperty) {\n Object.defineProperty(adm.target, propName, generateComputedPropConfig(propName));\n }\n}\nfunction defineComputedPropertyFromComputedValue(adm, propName, computedValue) {\n var name = adm.name + \".\" + propName;\n computedValue.name = name;\n if (!computedValue.scope) computedValue.scope = adm.target;\n adm.values[propName] = computedValue;\n Object.defineProperty(adm.target, propName, generateComputedPropConfig(propName));\n}\nvar observablePropertyConfigs = {};\nvar computedPropertyConfigs = {};\nfunction generateObservablePropConfig(propName) {\n return observablePropertyConfigs[propName] || (observablePropertyConfigs[propName] = {\n configurable: true,\n enumerable: true,\n get: function get() {\n return this.$mobx.values[propName].get();\n },\n set: function set(v) {\n setPropertyValue(this, propName, v);\n }\n });\n}\nfunction generateComputedPropConfig(propName) {\n return computedPropertyConfigs[propName] || (computedPropertyConfigs[propName] = {\n configurable: true,\n enumerable: false,\n get: function get() {\n return this.$mobx.values[propName].get();\n },\n set: function set(v) {\n return this.$mobx.values[propName].set(v);\n }\n });\n}\nfunction setPropertyValue(instance, name, newValue) {\n var adm = instance.$mobx;\n var observable = adm.values[name];\n // intercept\n if (hasInterceptors(adm)) {\n var change = interceptChange(adm, {\n type: \"update\",\n object: instance,\n name: name,\n newValue: newValue\n });\n if (!change) return;\n newValue = change.newValue;\n }\n newValue = observable.prepareNewValue(newValue);\n // notify spy & observers\n if (newValue !== UNCHANGED) {\n var notify = hasListeners(adm);\n var notifySpy = isSpyEnabled();\n var change = notify || notifySpy ? {\n type: \"update\",\n object: instance,\n oldValue: observable.value,\n name: name,\n newValue: newValue\n } : null;\n if (notifySpy) spyReportStart(change);\n observable.setNewValue(newValue);\n if (notify) notifyListeners(adm, change);\n if (notifySpy) spyReportEnd();\n }\n}\nfunction notifyPropertyAddition(adm, object, name, newValue) {\n var notify = hasListeners(adm);\n var notifySpy = isSpyEnabled();\n var change = notify || notifySpy ? {\n type: \"add\",\n object: object,\n name: name,\n newValue: newValue\n } : null;\n if (notifySpy) spyReportStart(change);\n if (notify) notifyListeners(adm, change);\n if (notifySpy) spyReportEnd();\n}\nvar isObservableObjectAdministration = createInstanceofPredicate(\"ObservableObjectAdministration\", ObservableObjectAdministration);\nfunction isObservableObject(thing) {\n if (isObject(thing)) {\n // Initializers run lazily when transpiling to babel, so make sure they are run...\n runLazyInitializers(thing);\n return isObservableObjectAdministration(thing.$mobx);\n }\n return false;\n}\n\n/**\n * Returns true if the provided value is reactive.\n * @param value object, function or array\n * @param property if property is specified, checks whether value.property is reactive.\n */\nfunction isObservable(value, property) {\n if (value === null || value === undefined) return false;\n if (property !== undefined) {\n if (isObservableArray(value) || isObservableMap(value)) throw new Error(getMessage(\"m019\"));else if (isObservableObject(value)) {\n var o = value.$mobx;\n return o.values && !!o.values[property];\n }\n return false;\n }\n // For first check, see #701\n return isObservableObject(value) || !!value.$mobx || isAtom(value) || isReaction(value) || isComputedValue(value);\n}\n\nfunction createDecoratorForEnhancer(enhancer) {\n invariant(!!enhancer, \":(\");\n return createClassPropertyDecorator(function (target, name, baseValue, _, baseDescriptor) {\n assertPropertyConfigurable(target, name);\n invariant(!baseDescriptor || !baseDescriptor.get, getMessage(\"m022\"));\n var adm = asObservableObject(target, undefined);\n defineObservableProperty(adm, name, baseValue, enhancer);\n }, function (name) {\n var observable = this.$mobx.values[name];\n if (observable === undefined // See #505\n ) return undefined;\n return observable.get();\n }, function (name, value) {\n setPropertyValue(this, name, value);\n }, true, false);\n}\n\nfunction extendObservable(target) {\n var properties = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n properties[_i - 1] = arguments[_i];\n }\n return extendObservableHelper(target, deepEnhancer, properties);\n}\nfunction extendShallowObservable(target) {\n var properties = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n properties[_i - 1] = arguments[_i];\n }\n return extendObservableHelper(target, referenceEnhancer, properties);\n}\nfunction extendObservableHelper(target, defaultEnhancer, properties) {\n invariant(arguments.length >= 2, getMessage(\"m014\"));\n invariant((typeof target === \"undefined\" ? \"undefined\" : _typeof(target)) === \"object\", getMessage(\"m015\"));\n invariant(!isObservableMap(target), getMessage(\"m016\"));\n properties.forEach(function (propSet) {\n invariant((typeof propSet === \"undefined\" ? \"undefined\" : _typeof(propSet)) === \"object\", getMessage(\"m017\"));\n invariant(!isObservable(propSet), getMessage(\"m018\"));\n });\n var adm = asObservableObject(target);\n var definedProps = {};\n // Note could be optimised if properties.length === 1\n for (var i = properties.length - 1; i >= 0; i--) {\n var propSet = properties[i];\n for (var key in propSet) {\n if (definedProps[key] !== true && hasOwnProperty(propSet, key)) {\n definedProps[key] = true;\n if (target === propSet && !isPropertyConfigurable(target, key)) continue; // see #111, skip non-configurable or non-writable props for `observable(object)`.\n var descriptor = Object.getOwnPropertyDescriptor(propSet, key);\n defineObservablePropertyFromDescriptor(adm, key, descriptor, defaultEnhancer);\n }\n }\n }\n return target;\n}\n\nvar deepDecorator = createDecoratorForEnhancer(deepEnhancer);\nvar shallowDecorator = createDecoratorForEnhancer(shallowEnhancer);\nvar refDecorator = createDecoratorForEnhancer(referenceEnhancer);\nvar deepStructDecorator = createDecoratorForEnhancer(deepStructEnhancer);\nvar refStructDecorator = createDecoratorForEnhancer(refStructEnhancer);\n/**\n * Turns an object, array or function into a reactive structure.\n * @param v the value which should become observable.\n */\nfunction createObservable(v) {\n if (v === void 0) {\n v = undefined;\n }\n // @observable someProp;\n if (typeof arguments[1] === \"string\") return deepDecorator.apply(null, arguments);\n invariant(arguments.length <= 1, getMessage(\"m021\"));\n invariant(!isModifierDescriptor(v), getMessage(\"m020\"));\n // it is an observable already, done\n if (isObservable(v)) return v;\n // something that can be converted and mutated?\n var res = deepEnhancer(v, undefined, undefined);\n // this value could be converted to a new observable data structure, return it\n if (res !== v) return res;\n // otherwise, just box it\n return observable.box(v);\n}\nvar observableFactories = {\n box: function box(value, name) {\n if (arguments.length > 2) incorrectlyUsedAsDecorator(\"box\");\n return new ObservableValue(value, deepEnhancer, name);\n },\n shallowBox: function shallowBox(value, name) {\n if (arguments.length > 2) incorrectlyUsedAsDecorator(\"shallowBox\");\n return new ObservableValue(value, referenceEnhancer, name);\n },\n array: function array(initialValues, name) {\n if (arguments.length > 2) incorrectlyUsedAsDecorator(\"array\");\n return new ObservableArray(initialValues, deepEnhancer, name);\n },\n shallowArray: function shallowArray(initialValues, name) {\n if (arguments.length > 2) incorrectlyUsedAsDecorator(\"shallowArray\");\n return new ObservableArray(initialValues, referenceEnhancer, name);\n },\n map: function map(initialValues, name) {\n if (arguments.length > 2) incorrectlyUsedAsDecorator(\"map\");\n return new ObservableMap(initialValues, deepEnhancer, name);\n },\n shallowMap: function shallowMap(initialValues, name) {\n if (arguments.length > 2) incorrectlyUsedAsDecorator(\"shallowMap\");\n return new ObservableMap(initialValues, referenceEnhancer, name);\n },\n object: function object(props, name) {\n if (arguments.length > 2) incorrectlyUsedAsDecorator(\"object\");\n var res = {};\n // convert to observable object\n asObservableObject(res, name);\n // add properties\n extendObservable(res, props);\n return res;\n },\n shallowObject: function shallowObject(props, name) {\n if (arguments.length > 2) incorrectlyUsedAsDecorator(\"shallowObject\");\n var res = {};\n asObservableObject(res, name);\n extendShallowObservable(res, props);\n return res;\n },\n ref: function ref() {\n if (arguments.length < 2) {\n // although ref creates actually a modifier descriptor, the type of the resultig properties\n // of the object is `T` in the end, when the descriptors are interpreted\n return createModifierDescriptor(referenceEnhancer, arguments[0]);\n } else {\n return refDecorator.apply(null, arguments);\n }\n },\n shallow: function shallow() {\n if (arguments.length < 2) {\n // although ref creates actually a modifier descriptor, the type of the resultig properties\n // of the object is `T` in the end, when the descriptors are interpreted\n return createModifierDescriptor(shallowEnhancer, arguments[0]);\n } else {\n return shallowDecorator.apply(null, arguments);\n }\n },\n deep: function deep() {\n if (arguments.length < 2) {\n // although ref creates actually a modifier descriptor, the type of the resultig properties\n // of the object is `T` in the end, when the descriptors are interpreted\n return createModifierDescriptor(deepEnhancer, arguments[0]);\n } else {\n return deepDecorator.apply(null, arguments);\n }\n },\n struct: function struct() {\n if (arguments.length < 2) {\n // although ref creates actually a modifier descriptor, the type of the resultig properties\n // of the object is `T` in the end, when the descriptors are interpreted\n return createModifierDescriptor(deepStructEnhancer, arguments[0]);\n } else {\n return deepStructDecorator.apply(null, arguments);\n }\n }\n};\nvar observable = createObservable;\n// weird trick to keep our typings nicely with our funcs, and still extend the observable function\nObject.keys(observableFactories).forEach(function (name) {\n return observable[name] = observableFactories[name];\n});\nobservable.deep.struct = observable.struct;\nobservable.ref.struct = function () {\n if (arguments.length < 2) {\n return createModifierDescriptor(refStructEnhancer, arguments[0]);\n } else {\n return refStructDecorator.apply(null, arguments);\n }\n};\nfunction incorrectlyUsedAsDecorator(methodName) {\n fail(\"Expected one or two arguments to observable.\" + methodName + \". Did you accidentally try to use observable.\" + methodName + \" as decorator?\");\n}\n\nfunction isModifierDescriptor(thing) {\n return (typeof thing === \"undefined\" ? \"undefined\" : _typeof(thing)) === \"object\" && thing !== null && thing.isMobxModifierDescriptor === true;\n}\nfunction createModifierDescriptor(enhancer, initialValue) {\n invariant(!isModifierDescriptor(initialValue), \"Modifiers cannot be nested\");\n return {\n isMobxModifierDescriptor: true,\n initialValue: initialValue,\n enhancer: enhancer\n };\n}\nfunction deepEnhancer(v, _, name) {\n if (isModifierDescriptor(v)) fail(\"You tried to assign a modifier wrapped value to a collection, please define modifiers when creating the collection, not when modifying it\");\n // it is an observable already, done\n if (isObservable(v)) return v;\n // something that can be converted and mutated?\n if (Array.isArray(v)) return observable.array(v, name);\n if (isPlainObject(v)) return observable.object(v, name);\n if (isES6Map(v)) return observable.map(v, name);\n return v;\n}\nfunction shallowEnhancer(v, _, name) {\n if (isModifierDescriptor(v)) fail(\"You tried to assign a modifier wrapped value to a collection, please define modifiers when creating the collection, not when modifying it\");\n if (v === undefined || v === null) return v;\n if (isObservableObject(v) || isObservableArray(v) || isObservableMap(v)) return v;\n if (Array.isArray(v)) return observable.shallowArray(v, name);\n if (isPlainObject(v)) return observable.shallowObject(v, name);\n if (isES6Map(v)) return observable.shallowMap(v, name);\n return fail(\"The shallow modifier / decorator can only used in combination with arrays, objects and maps\");\n}\nfunction referenceEnhancer(newValue) {\n // never turn into an observable\n return newValue;\n}\nfunction deepStructEnhancer(v, oldValue, name) {\n // don't confuse structurally compare enhancer with ref enhancer! The latter is probably\n // more suited for immutable objects\n if (deepEqual(v, oldValue)) return oldValue;\n // it is an observable already, done\n if (isObservable(v)) return v;\n // something that can be converted and mutated?\n if (Array.isArray(v)) return new ObservableArray(v, deepStructEnhancer, name);\n if (isES6Map(v)) return new ObservableMap(v, deepStructEnhancer, name);\n if (isPlainObject(v)) {\n var res = {};\n asObservableObject(res, name);\n extendObservableHelper(res, deepStructEnhancer, [v]);\n return res;\n }\n return v;\n}\nfunction refStructEnhancer(v, oldValue, name) {\n if (deepEqual(v, oldValue)) return oldValue;\n return v;\n}\n\n/**\n * During a transaction no views are updated until the end of the transaction.\n * The transaction will be run synchronously nonetheless.\n *\n * @param action a function that updates some reactive state\n * @returns any value that was returned by the 'action' parameter.\n */\nfunction transaction(action, thisArg) {\n if (thisArg === void 0) {\n thisArg = undefined;\n }\n startBatch();\n try {\n return action.apply(thisArg);\n } finally {\n endBatch();\n }\n}\n\nvar ObservableMapMarker = {};\nvar ObservableMap = /** @class */function () {\n function ObservableMap(initialData, enhancer, name) {\n if (enhancer === void 0) {\n enhancer = deepEnhancer;\n }\n if (name === void 0) {\n name = \"ObservableMap@\" + getNextId();\n }\n this.enhancer = enhancer;\n this.name = name;\n this.$mobx = ObservableMapMarker;\n this._data = Object.create(null);\n this._hasMap = Object.create(null); // hasMap, not hashMap >-).\n this._keys = new ObservableArray(undefined, referenceEnhancer, this.name + \".keys()\", true);\n this.interceptors = null;\n this.changeListeners = null;\n this.dehancer = undefined;\n this.merge(initialData);\n }\n ObservableMap.prototype._has = function (key) {\n return typeof this._data[key] !== \"undefined\";\n };\n ObservableMap.prototype.has = function (key) {\n if (!this.isValidKey(key)) return false;\n key = \"\" + key;\n if (this._hasMap[key]) return this._hasMap[key].get();\n return this._updateHasMapEntry(key, false).get();\n };\n ObservableMap.prototype.set = function (key, value) {\n this.assertValidKey(key);\n key = \"\" + key;\n var hasKey = this._has(key);\n if (hasInterceptors(this)) {\n var change = interceptChange(this, {\n type: hasKey ? \"update\" : \"add\",\n object: this,\n newValue: value,\n name: key\n });\n if (!change) return this;\n value = change.newValue;\n }\n if (hasKey) {\n this._updateValue(key, value);\n } else {\n this._addValue(key, value);\n }\n return this;\n };\n ObservableMap.prototype.delete = function (key) {\n var _this = this;\n this.assertValidKey(key);\n key = \"\" + key;\n if (hasInterceptors(this)) {\n var change = interceptChange(this, {\n type: \"delete\",\n object: this,\n name: key\n });\n if (!change) return false;\n }\n if (this._has(key)) {\n var notifySpy = isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy ? {\n type: \"delete\",\n object: this,\n oldValue: this._data[key].value,\n name: key\n } : null;\n if (notifySpy) spyReportStart(change);\n transaction(function () {\n _this._keys.remove(key);\n _this._updateHasMapEntry(key, false);\n var observable$$1 = _this._data[key];\n observable$$1.setNewValue(undefined);\n _this._data[key] = undefined;\n });\n if (notify) notifyListeners(this, change);\n if (notifySpy) spyReportEnd();\n return true;\n }\n return false;\n };\n ObservableMap.prototype._updateHasMapEntry = function (key, value) {\n // optimization; don't fill the hasMap if we are not observing, or remove entry if there are no observers anymore\n var entry = this._hasMap[key];\n if (entry) {\n entry.setNewValue(value);\n } else {\n entry = this._hasMap[key] = new ObservableValue(value, referenceEnhancer, this.name + \".\" + key + \"?\", false);\n }\n return entry;\n };\n ObservableMap.prototype._updateValue = function (name, newValue) {\n var observable$$1 = this._data[name];\n newValue = observable$$1.prepareNewValue(newValue);\n if (newValue !== UNCHANGED) {\n var notifySpy = isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy ? {\n type: \"update\",\n object: this,\n oldValue: observable$$1.value,\n name: name,\n newValue: newValue\n } : null;\n if (notifySpy) spyReportStart(change);\n observable$$1.setNewValue(newValue);\n if (notify) notifyListeners(this, change);\n if (notifySpy) spyReportEnd();\n }\n };\n ObservableMap.prototype._addValue = function (name, newValue) {\n var _this = this;\n transaction(function () {\n var observable$$1 = _this._data[name] = new ObservableValue(newValue, _this.enhancer, _this.name + \".\" + name, false);\n newValue = observable$$1.value; // value might have been changed\n _this._updateHasMapEntry(name, true);\n _this._keys.push(name);\n });\n var notifySpy = isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy ? {\n type: \"add\",\n object: this,\n name: name,\n newValue: newValue\n } : null;\n if (notifySpy) spyReportStart(change);\n if (notify) notifyListeners(this, change);\n if (notifySpy) spyReportEnd();\n };\n ObservableMap.prototype.get = function (key) {\n key = \"\" + key;\n if (this.has(key)) return this.dehanceValue(this._data[key].get());\n return this.dehanceValue(undefined);\n };\n ObservableMap.prototype.dehanceValue = function (value) {\n if (this.dehancer !== undefined) {\n return this.dehancer(value);\n }\n return value;\n };\n ObservableMap.prototype.keys = function () {\n return arrayAsIterator(this._keys.slice());\n };\n ObservableMap.prototype.values = function () {\n return arrayAsIterator(this._keys.map(this.get, this));\n };\n ObservableMap.prototype.entries = function () {\n var _this = this;\n return arrayAsIterator(this._keys.map(function (key) {\n return [key, _this.get(key)];\n }));\n };\n ObservableMap.prototype.forEach = function (callback, thisArg) {\n var _this = this;\n this.keys().forEach(function (key) {\n return callback.call(thisArg, _this.get(key), key, _this);\n });\n };\n /** Merge another object into this object, returns this. */\n ObservableMap.prototype.merge = function (other) {\n var _this = this;\n if (isObservableMap(other)) {\n other = other.toJS();\n }\n transaction(function () {\n if (isPlainObject(other)) Object.keys(other).forEach(function (key) {\n return _this.set(key, other[key]);\n });else if (Array.isArray(other)) other.forEach(function (_a) {\n var key = _a[0],\n value = _a[1];\n return _this.set(key, value);\n });else if (isES6Map(other)) other.forEach(function (value, key) {\n return _this.set(key, value);\n });else if (other !== null && other !== undefined) fail(\"Cannot initialize map from \" + other);\n });\n return this;\n };\n ObservableMap.prototype.clear = function () {\n var _this = this;\n transaction(function () {\n untracked(function () {\n _this.keys().forEach(_this.delete, _this);\n });\n });\n };\n ObservableMap.prototype.replace = function (values) {\n var _this = this;\n transaction(function () {\n // grab all the keys that are present in the new map but not present in the current map\n // and delete them from the map, then merge the new map\n // this will cause reactions only on changed values\n var newKeys = getMapLikeKeys(values);\n var oldKeys = _this.keys();\n var missingKeys = oldKeys.filter(function (k) {\n return newKeys.indexOf(k) === -1;\n });\n missingKeys.forEach(function (k) {\n return _this.delete(k);\n });\n _this.merge(values);\n });\n return this;\n };\n Object.defineProperty(ObservableMap.prototype, \"size\", {\n get: function get() {\n return this._keys.length;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Returns a shallow non observable object clone of this map.\n * Note that the values might still be observable. For a deep clone use mobx.toJS.\n */\n ObservableMap.prototype.toJS = function () {\n var _this = this;\n var res = {};\n this.keys().forEach(function (key) {\n return res[key] = _this.get(key);\n });\n return res;\n };\n ObservableMap.prototype.toJSON = function () {\n // Used by JSON.stringify\n return this.toJS();\n };\n ObservableMap.prototype.isValidKey = function (key) {\n if (key === null || key === undefined) return false;\n if (typeof key === \"string\" || typeof key === \"number\" || typeof key === \"boolean\") return true;\n return false;\n };\n ObservableMap.prototype.assertValidKey = function (key) {\n if (!this.isValidKey(key)) throw new Error(\"[mobx.map] Invalid key: '\" + key + \"', only strings, numbers and booleans are accepted as key in observable maps.\");\n };\n ObservableMap.prototype.toString = function () {\n var _this = this;\n return this.name + \"[{ \" + this.keys().map(function (key) {\n return key + \": \" + (\"\" + _this.get(key));\n }).join(\", \") + \" }]\";\n };\n /**\n * Observes this object. Triggers for the events 'add', 'update' and 'delete'.\n * See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/observe\n * for callback details\n */\n ObservableMap.prototype.observe = function (listener, fireImmediately) {\n invariant(fireImmediately !== true, getMessage(\"m033\"));\n return registerListener(this, listener);\n };\n ObservableMap.prototype.intercept = function (handler) {\n return registerInterceptor(this, handler);\n };\n return ObservableMap;\n}();\ndeclareIterator(ObservableMap.prototype, function () {\n return this.entries();\n});\nfunction map(initialValues) {\n deprecated(\"`mobx.map` is deprecated, use `new ObservableMap` or `mobx.observable.map` instead\");\n return observable.map(initialValues);\n}\n/* 'var' fixes small-build issue */\nvar isObservableMap = createInstanceofPredicate(\"ObservableMap\", ObservableMap);\n\nvar EMPTY_ARRAY = [];\nObject.freeze(EMPTY_ARRAY);\nfunction getGlobal() {\n return typeof window !== \"undefined\" ? window : global;\n}\nfunction getNextId() {\n return ++globalState.mobxGuid;\n}\nfunction fail(message, thing) {\n invariant(false, message, thing);\n throw \"X\"; // unreachable\n}\nfunction invariant(check, message, thing) {\n if (!check) throw new Error(\"[mobx] Invariant failed: \" + message + (thing ? \" in '\" + thing + \"'\" : \"\"));\n}\n/**\n * Prints a deprecation message, but only one time.\n * Returns false if the deprecated message was already printed before\n */\nvar deprecatedMessages = [];\nfunction deprecated(msg) {\n if (deprecatedMessages.indexOf(msg) !== -1) return false;\n deprecatedMessages.push(msg);\n console.error(\"[mobx] Deprecated: \" + msg);\n return true;\n}\n/**\n * Makes sure that the provided function is invoked at most once.\n */\nfunction once(func) {\n var invoked = false;\n return function () {\n if (invoked) return;\n invoked = true;\n return func.apply(this, arguments);\n };\n}\nvar noop = function noop() {};\nfunction unique(list) {\n var res = [];\n list.forEach(function (item) {\n if (res.indexOf(item) === -1) res.push(item);\n });\n return res;\n}\nfunction joinStrings(things, limit, separator) {\n if (limit === void 0) {\n limit = 100;\n }\n if (separator === void 0) {\n separator = \" - \";\n }\n if (!things) return \"\";\n var sliced = things.slice(0, limit);\n return \"\" + sliced.join(separator) + (things.length > limit ? \" (... and \" + (things.length - limit) + \"more)\" : \"\");\n}\nfunction isObject(value) {\n return value !== null && (typeof value === \"undefined\" ? \"undefined\" : _typeof(value)) === \"object\";\n}\nfunction isPlainObject(value) {\n if (value === null || (typeof value === \"undefined\" ? \"undefined\" : _typeof(value)) !== \"object\") return false;\n var proto = Object.getPrototypeOf(value);\n return proto === Object.prototype || proto === null;\n}\nfunction objectAssign() {\n var res = arguments[0];\n for (var i = 1, l = arguments.length; i < l; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (hasOwnProperty(source, key)) {\n res[key] = source[key];\n }\n }\n }\n return res;\n}\nvar prototypeHasOwnProperty = Object.prototype.hasOwnProperty;\nfunction hasOwnProperty(object, propName) {\n return prototypeHasOwnProperty.call(object, propName);\n}\nfunction makeNonEnumerable(object, propNames) {\n for (var i = 0; i < propNames.length; i++) {\n addHiddenProp(object, propNames[i], object[propNames[i]]);\n }\n}\nfunction addHiddenProp(object, propName, value) {\n Object.defineProperty(object, propName, {\n enumerable: false,\n writable: true,\n configurable: true,\n value: value\n });\n}\nfunction addHiddenFinalProp(object, propName, value) {\n Object.defineProperty(object, propName, {\n enumerable: false,\n writable: false,\n configurable: true,\n value: value\n });\n}\nfunction isPropertyConfigurable(object, prop) {\n var descriptor = Object.getOwnPropertyDescriptor(object, prop);\n return !descriptor || descriptor.configurable !== false && descriptor.writable !== false;\n}\nfunction assertPropertyConfigurable(object, prop) {\n invariant(isPropertyConfigurable(object, prop), \"Cannot make property '\" + prop + \"' observable, it is not configurable and writable in the target object\");\n}\nfunction createInstanceofPredicate(name, clazz) {\n var propName = \"isMobX\" + name;\n clazz.prototype[propName] = true;\n return function (x) {\n return isObject(x) && x[propName] === true;\n };\n}\nfunction areBothNaN(a, b) {\n return typeof a === \"number\" && typeof b === \"number\" && isNaN(a) && isNaN(b);\n}\n/**\n * Returns whether the argument is an array, disregarding observability.\n */\nfunction isArrayLike(x) {\n return Array.isArray(x) || isObservableArray(x);\n}\nfunction isES6Map(thing) {\n if (getGlobal().Map !== undefined && thing instanceof getGlobal().Map) return true;\n return false;\n}\nfunction getMapLikeKeys(map$$1) {\n if (isPlainObject(map$$1)) return Object.keys(map$$1);\n if (Array.isArray(map$$1)) return map$$1.map(function (_a) {\n var key = _a[0];\n return key;\n });\n if (isES6Map(map$$1)) return Array.from(map$$1.keys());\n if (isObservableMap(map$$1)) return map$$1.keys();\n return fail(\"Cannot get keys from \" + map$$1);\n}\nfunction iteratorToArray(it) {\n var res = [];\n while (true) {\n var r = it.next();\n if (r.done) break;\n res.push(r.value);\n }\n return res;\n}\nfunction primitiveSymbol() {\n return typeof Symbol === \"function\" && Symbol.toPrimitive || \"@@toPrimitive\";\n}\nfunction toPrimitive(value) {\n return value === null ? null : (typeof value === \"undefined\" ? \"undefined\" : _typeof(value)) === \"object\" ? \"\" + value : value;\n}\n\n/**\n * These values will persist if global state is reset\n */\nvar persistentKeys = [\"mobxGuid\", \"resetId\", \"spyListeners\", \"strictMode\", \"runId\"];\nvar MobXGlobals = /** @class */function () {\n function MobXGlobals() {\n /**\n * MobXGlobals version.\n * MobX compatiblity with other versions loaded in memory as long as this version matches.\n * It indicates that the global state still stores similar information\n */\n this.version = 5;\n /**\n * Currently running derivation\n */\n this.trackingDerivation = null;\n /**\n * Are we running a computation currently? (not a reaction)\n */\n this.computationDepth = 0;\n /**\n * Each time a derivation is tracked, it is assigned a unique run-id\n */\n this.runId = 0;\n /**\n * 'guid' for general purpose. Will be persisted amongst resets.\n */\n this.mobxGuid = 0;\n /**\n * Are we in a batch block? (and how many of them)\n */\n this.inBatch = 0;\n /**\n * Observables that don't have observers anymore, and are about to be\n * suspended, unless somebody else accesses it in the same batch\n *\n * @type {IObservable[]}\n */\n this.pendingUnobservations = [];\n /**\n * List of scheduled, not yet executed, reactions.\n */\n this.pendingReactions = [];\n /**\n * Are we currently processing reactions?\n */\n this.isRunningReactions = false;\n /**\n * Is it allowed to change observables at this point?\n * In general, MobX doesn't allow that when running computations and React.render.\n * To ensure that those functions stay pure.\n */\n this.allowStateChanges = true;\n /**\n * If strict mode is enabled, state changes are by default not allowed\n */\n this.strictMode = false;\n /**\n * Used by createTransformer to detect that the global state has been reset.\n */\n this.resetId = 0;\n /**\n * Spy callbacks\n */\n this.spyListeners = [];\n /**\n * Globally attached error handlers that react specifically to errors in reactions\n */\n this.globalReactionErrorHandlers = [];\n }\n return MobXGlobals;\n}();\nvar globalState = new MobXGlobals();\nvar shareGlobalStateCalled = false;\nvar runInIsolationCalled = false;\nvar warnedAboutMultipleInstances = false;\n{\n var global_1 = getGlobal();\n if (!global_1.__mobxInstanceCount) {\n global_1.__mobxInstanceCount = 1;\n } else {\n global_1.__mobxInstanceCount++;\n setTimeout(function () {\n if (!shareGlobalStateCalled && !runInIsolationCalled && !warnedAboutMultipleInstances) {\n warnedAboutMultipleInstances = true;\n console.warn(\"[mobx] Warning: there are multiple mobx instances active. This might lead to unexpected results. See https://github.com/mobxjs/mobx/issues/1082 for details.\");\n }\n }, 1);\n }\n}\nfunction isolateGlobalState() {\n runInIsolationCalled = true;\n getGlobal().__mobxInstanceCount--;\n}\nfunction shareGlobalState() {\n // TODO: remove in 4.0; just use peer dependencies instead.\n deprecated(\"Using `shareGlobalState` is not recommended, use peer dependencies instead. See https://github.com/mobxjs/mobx/issues/1082 for details.\");\n shareGlobalStateCalled = true;\n var global = getGlobal();\n var ownState = globalState;\n /**\n * Backward compatibility check\n */\n if (global.__mobservableTrackingStack || global.__mobservableViewStack) throw new Error(\"[mobx] An incompatible version of mobservable is already loaded.\");\n if (global.__mobxGlobal && global.__mobxGlobal.version !== ownState.version) throw new Error(\"[mobx] An incompatible version of mobx is already loaded.\");\n if (global.__mobxGlobal) globalState = global.__mobxGlobal;else global.__mobxGlobal = ownState;\n}\nfunction getGlobalState() {\n return globalState;\n}\n\n/**\n * For testing purposes only; this will break the internal state of existing observables,\n * but can be used to get back at a stable state after throwing errors\n */\nfunction resetGlobalState() {\n globalState.resetId++;\n var defaultGlobals = new MobXGlobals();\n for (var key in defaultGlobals) {\n if (persistentKeys.indexOf(key) === -1) globalState[key] = defaultGlobals[key];\n }globalState.allowStateChanges = !globalState.strictMode;\n}\n\nfunction getAtom(thing, property) {\n if ((typeof thing === \"undefined\" ? \"undefined\" : _typeof(thing)) === \"object\" && thing !== null) {\n if (isObservableArray(thing)) {\n invariant(property === undefined, getMessage(\"m036\"));\n return thing.$mobx.atom;\n }\n if (isObservableMap(thing)) {\n var anyThing = thing;\n if (property === undefined) return getAtom(anyThing._keys);\n var observable = anyThing._data[property] || anyThing._hasMap[property];\n invariant(!!observable, \"the entry '\" + property + \"' does not exist in the observable map '\" + getDebugName(thing) + \"'\");\n return observable;\n }\n // Initializers run lazily when transpiling to babel, so make sure they are run...\n runLazyInitializers(thing);\n if (property && !thing.$mobx) thing[property]; // See #1072 // TODO: remove in 4.0\n if (isObservableObject(thing)) {\n if (!property) return fail(\"please specify a property\");\n var observable = thing.$mobx.values[property];\n invariant(!!observable, \"no observable property '\" + property + \"' found on the observable object '\" + getDebugName(thing) + \"'\");\n return observable;\n }\n if (isAtom(thing) || isComputedValue(thing) || isReaction(thing)) {\n return thing;\n }\n } else if (typeof thing === \"function\") {\n if (isReaction(thing.$mobx)) {\n // disposer function\n return thing.$mobx;\n }\n }\n return fail(\"Cannot obtain atom from \" + thing);\n}\nfunction getAdministration(thing, property) {\n invariant(thing, \"Expecting some object\");\n if (property !== undefined) return getAdministration(getAtom(thing, property));\n if (isAtom(thing) || isComputedValue(thing) || isReaction(thing)) return thing;\n if (isObservableMap(thing)) return thing;\n // Initializers run lazily when transpiling to babel, so make sure they are run...\n runLazyInitializers(thing);\n if (thing.$mobx) return thing.$mobx;\n invariant(false, \"Cannot obtain administration from \" + thing);\n}\nfunction getDebugName(thing, property) {\n var named;\n if (property !== undefined) named = getAtom(thing, property);else if (isObservableObject(thing) || isObservableMap(thing)) named = getAdministration(thing);else named = getAtom(thing); // valid for arrays as well\n return named.name;\n}\n\nfunction getDependencyTree(thing, property) {\n return nodeToDependencyTree(getAtom(thing, property));\n}\nfunction nodeToDependencyTree(node) {\n var result = {\n name: node.name\n };\n if (node.observing && node.observing.length > 0) result.dependencies = unique(node.observing).map(nodeToDependencyTree);\n return result;\n}\nfunction getObserverTree(thing, property) {\n return nodeToObserverTree(getAtom(thing, property));\n}\nfunction nodeToObserverTree(node) {\n var result = {\n name: node.name\n };\n if (hasObservers(node)) result.observers = getObservers(node).map(nodeToObserverTree);\n return result;\n}\n\nfunction hasObservers(observable) {\n return observable.observers && observable.observers.length > 0;\n}\nfunction getObservers(observable) {\n return observable.observers;\n}\nfunction addObserver(observable, node) {\n // invariant(node.dependenciesState !== -1, \"INTERNAL ERROR, can add only dependenciesState !== -1\");\n // invariant(observable._observers.indexOf(node) === -1, \"INTERNAL ERROR add already added node\");\n // invariantObservers(observable);\n var l = observable.observers.length;\n if (l) {\n // because object assignment is relatively expensive, let's not store data about index 0.\n observable.observersIndexes[node.__mapid] = l;\n }\n observable.observers[l] = node;\n if (observable.lowestObserverState > node.dependenciesState) observable.lowestObserverState = node.dependenciesState;\n // invariantObservers(observable);\n // invariant(observable._observers.indexOf(node) !== -1, \"INTERNAL ERROR didn't add node\");\n}\nfunction removeObserver(observable, node) {\n // invariant(globalState.inBatch > 0, \"INTERNAL ERROR, remove should be called only inside batch\");\n // invariant(observable._observers.indexOf(node) !== -1, \"INTERNAL ERROR remove already removed node\");\n // invariantObservers(observable);\n if (observable.observers.length === 1) {\n // deleting last observer\n observable.observers.length = 0;\n queueForUnobservation(observable);\n } else {\n // deleting from _observersIndexes is straight forward, to delete from _observers, let's swap `node` with last element\n var list = observable.observers;\n var map = observable.observersIndexes;\n var filler = list.pop(); // get last element, which should fill the place of `node`, so the array doesn't have holes\n if (filler !== node) {\n // otherwise node was the last element, which already got removed from array\n var index = map[node.__mapid] || 0; // getting index of `node`. this is the only place we actually use map.\n if (index) {\n // map store all indexes but 0, see comment in `addObserver`\n map[filler.__mapid] = index;\n } else {\n delete map[filler.__mapid];\n }\n list[index] = filler;\n }\n delete map[node.__mapid];\n }\n // invariantObservers(observable);\n // invariant(observable._observers.indexOf(node) === -1, \"INTERNAL ERROR remove already removed node2\");\n}\nfunction queueForUnobservation(observable) {\n if (!observable.isPendingUnobservation) {\n // invariant(globalState.inBatch > 0, \"INTERNAL ERROR, remove should be called only inside batch\");\n // invariant(observable._observers.length === 0, \"INTERNAL ERROR, should only queue for unobservation unobserved observables\");\n observable.isPendingUnobservation = true;\n globalState.pendingUnobservations.push(observable);\n }\n}\n/**\n * Batch starts a transaction, at least for purposes of memoizing ComputedValues when nothing else does.\n * During a batch `onBecomeUnobserved` will be called at most once per observable.\n * Avoids unnecessary recalculations.\n */\nfunction startBatch() {\n globalState.inBatch++;\n}\nfunction endBatch() {\n if (--globalState.inBatch === 0) {\n runReactions();\n // the batch is actually about to finish, all unobserving should happen here.\n var list = globalState.pendingUnobservations;\n for (var i = 0; i < list.length; i++) {\n var observable = list[i];\n observable.isPendingUnobservation = false;\n if (observable.observers.length === 0) {\n observable.onBecomeUnobserved();\n // NOTE: onBecomeUnobserved might push to `pendingUnobservations`\n }\n }\n globalState.pendingUnobservations = [];\n }\n}\nfunction reportObserved(observable) {\n var derivation = globalState.trackingDerivation;\n if (derivation !== null) {\n /**\n * Simple optimization, give each derivation run an unique id (runId)\n * Check if last time this observable was accessed the same runId is used\n * if this is the case, the relation is already known\n */\n if (derivation.runId !== observable.lastAccessedBy) {\n observable.lastAccessedBy = derivation.runId;\n derivation.newObserving[derivation.unboundDepsCount++] = observable;\n }\n } else if (observable.observers.length === 0) {\n queueForUnobservation(observable);\n }\n}\n/**\n * NOTE: current propagation mechanism will in case of self reruning autoruns behave unexpectedly\n * It will propagate changes to observers from previous run\n * It's hard or maybe impossible (with reasonable perf) to get it right with current approach\n * Hopefully self reruning autoruns aren't a feature people should depend on\n * Also most basic use cases should be ok\n */\n// Called by Atom when its value changes\nfunction propagateChanged(observable) {\n // invariantLOS(observable, \"changed start\");\n if (observable.lowestObserverState === IDerivationState.STALE) return;\n observable.lowestObserverState = IDerivationState.STALE;\n var observers = observable.observers;\n var i = observers.length;\n while (i--) {\n var d = observers[i];\n if (d.dependenciesState === IDerivationState.UP_TO_DATE) {\n if (d.isTracing !== TraceMode.NONE) {\n logTraceInfo(d, observable);\n }\n d.onBecomeStale();\n }\n d.dependenciesState = IDerivationState.STALE;\n }\n // invariantLOS(observable, \"changed end\");\n}\n// Called by ComputedValue when it recalculate and its value changed\nfunction propagateChangeConfirmed(observable) {\n // invariantLOS(observable, \"confirmed start\");\n if (observable.lowestObserverState === IDerivationState.STALE) return;\n observable.lowestObserverState = IDerivationState.STALE;\n var observers = observable.observers;\n var i = observers.length;\n while (i--) {\n var d = observers[i];\n if (d.dependenciesState === IDerivationState.POSSIBLY_STALE) d.dependenciesState = IDerivationState.STALE;else if (d.dependenciesState === IDerivationState.UP_TO_DATE // this happens during computing of `d`, just keep lowestObserverState up to date.\n ) observable.lowestObserverState = IDerivationState.UP_TO_DATE;\n }\n // invariantLOS(observable, \"confirmed end\");\n}\n// Used by computed when its dependency changed, but we don't wan't to immediately recompute.\nfunction propagateMaybeChanged(observable) {\n // invariantLOS(observable, \"maybe start\");\n if (observable.lowestObserverState !== IDerivationState.UP_TO_DATE) return;\n observable.lowestObserverState = IDerivationState.POSSIBLY_STALE;\n var observers = observable.observers;\n var i = observers.length;\n while (i--) {\n var d = observers[i];\n if (d.dependenciesState === IDerivationState.UP_TO_DATE) {\n d.dependenciesState = IDerivationState.POSSIBLY_STALE;\n if (d.isTracing !== TraceMode.NONE) {\n logTraceInfo(d, observable);\n }\n d.onBecomeStale();\n }\n }\n // invariantLOS(observable, \"maybe end\");\n}\nfunction logTraceInfo(derivation, observable) {\n console.log(\"[mobx.trace] '\" + derivation.name + \"' is invalidated due to a change in: '\" + observable.name + \"'\");\n if (derivation.isTracing === TraceMode.BREAK) {\n var lines = [];\n printDepTree(getDependencyTree(derivation), lines, 1);\n // prettier-ignore\n new Function(\"debugger;\\n/*\\nTracing '\" + derivation.name + \"'\\n\\nYou are entering this break point because derivation '\" + derivation.name + \"' is being traced and '\" + observable.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\" + (derivation instanceof ComputedValue ? derivation.derivation.toString() : \"\") + \"\\n\\nThe dependencies for this derivation are:\\n\\n\" + lines.join(\"\\n\") + \"\\n*/\\n \")();\n }\n}\nfunction printDepTree(tree, lines, depth) {\n if (lines.length >= 1000) {\n lines.push(\"(and many more)\");\n return;\n }\n lines.push(\"\" + new Array(depth).join(\"\\t\") + tree.name); // MWE: not the fastest, but the easiest way :)\n if (tree.dependencies) tree.dependencies.forEach(function (child) {\n return printDepTree(child, lines, depth + 1);\n });\n}\n\nvar IDerivationState;\n(function (IDerivationState) {\n // before being run or (outside batch and not being observed)\n // at this point derivation is not holding any data about dependency tree\n IDerivationState[IDerivationState[\"NOT_TRACKING\"] = -1] = \"NOT_TRACKING\";\n // no shallow dependency changed since last computation\n // won't recalculate derivation\n // this is what makes mobx fast\n IDerivationState[IDerivationState[\"UP_TO_DATE\"] = 0] = \"UP_TO_DATE\";\n // some deep dependency changed, but don't know if shallow dependency changed\n // will require to check first if UP_TO_DATE or POSSIBLY_STALE\n // currently only ComputedValue will propagate POSSIBLY_STALE\n //\n // having this state is second big optimization:\n // don't have to recompute on every dependency change, but only when it's needed\n IDerivationState[IDerivationState[\"POSSIBLY_STALE\"] = 1] = \"POSSIBLY_STALE\";\n // A shallow dependency has changed since last computation and the derivation\n // will need to recompute when it's needed next.\n IDerivationState[IDerivationState[\"STALE\"] = 2] = \"STALE\";\n})(IDerivationState || (exports.IDerivationState = IDerivationState = {}));\nvar TraceMode;\n(function (TraceMode) {\n TraceMode[TraceMode[\"NONE\"] = 0] = \"NONE\";\n TraceMode[TraceMode[\"LOG\"] = 1] = \"LOG\";\n TraceMode[TraceMode[\"BREAK\"] = 2] = \"BREAK\";\n})(TraceMode || (TraceMode = {}));\nvar CaughtException = /** @class */function () {\n function CaughtException(cause) {\n this.cause = cause;\n // Empty\n }\n return CaughtException;\n}();\nfunction isCaughtException(e) {\n return e instanceof CaughtException;\n}\n/**\n * Finds out whether any dependency of the derivation has actually changed.\n * If dependenciesState is 1 then it will recalculate dependencies,\n * if any dependency changed it will propagate it by changing dependenciesState to 2.\n *\n * By iterating over the dependencies in the same order that they were reported and\n * stopping on the first change, all the recalculations are only called for ComputedValues\n * that will be tracked by derivation. That is because we assume that if the first x\n * dependencies of the derivation doesn't change then the derivation should run the same way\n * up until accessing x-th dependency.\n */\nfunction shouldCompute(derivation) {\n switch (derivation.dependenciesState) {\n case IDerivationState.UP_TO_DATE:\n return false;\n case IDerivationState.NOT_TRACKING:\n case IDerivationState.STALE:\n return true;\n case IDerivationState.POSSIBLY_STALE:\n {\n var prevUntracked = untrackedStart(); // no need for those computeds to be reported, they will be picked up in trackDerivedFunction.\n var obs = derivation.observing,\n l = obs.length;\n for (var i = 0; i < l; i++) {\n var obj = obs[i];\n if (isComputedValue(obj)) {\n try {\n obj.get();\n } catch (e) {\n // we are not interested in the value *or* exception at this moment, but if there is one, notify all\n untrackedEnd(prevUntracked);\n return true;\n }\n // if ComputedValue `obj` actually changed it will be computed and propagated to its observers.\n // and `derivation` is an observer of `obj`\n if (derivation.dependenciesState === IDerivationState.STALE) {\n untrackedEnd(prevUntracked);\n return true;\n }\n }\n }\n changeDependenciesStateTo0(derivation);\n untrackedEnd(prevUntracked);\n return false;\n }\n }\n}\nfunction isComputingDerivation() {\n return globalState.trackingDerivation !== null; // filter out actions inside computations\n}\nfunction checkIfStateModificationsAreAllowed(atom) {\n var hasObservers$$1 = atom.observers.length > 0;\n // Should never be possible to change an observed observable from inside computed, see #798\n if (globalState.computationDepth > 0 && hasObservers$$1) fail(getMessage(\"m031\") + atom.name);\n // Should not be possible to change observed state outside strict mode, except during initialization, see #563\n if (!globalState.allowStateChanges && hasObservers$$1) fail(getMessage(globalState.strictMode ? \"m030a\" : \"m030b\") + atom.name);\n}\n/**\n * Executes the provided function `f` and tracks which observables are being accessed.\n * The tracking information is stored on the `derivation` object and the derivation is registered\n * as observer of any of the accessed observables.\n */\nfunction trackDerivedFunction(derivation, f, context) {\n // pre allocate array allocation + room for variation in deps\n // array will be trimmed by bindDependencies\n changeDependenciesStateTo0(derivation);\n derivation.newObserving = new Array(derivation.observing.length + 100);\n derivation.unboundDepsCount = 0;\n derivation.runId = ++globalState.runId;\n var prevTracking = globalState.trackingDerivation;\n globalState.trackingDerivation = derivation;\n var result;\n try {\n result = f.call(context);\n } catch (e) {\n result = new CaughtException(e);\n }\n globalState.trackingDerivation = prevTracking;\n bindDependencies(derivation);\n return result;\n}\n/**\n * diffs newObserving with observing.\n * update observing to be newObserving with unique observables\n * notify observers that become observed/unobserved\n */\nfunction bindDependencies(derivation) {\n // invariant(derivation.dependenciesState !== IDerivationState.NOT_TRACKING, \"INTERNAL ERROR bindDependencies expects derivation.dependenciesState !== -1\");\n var prevObserving = derivation.observing;\n var observing = derivation.observing = derivation.newObserving;\n var lowestNewObservingDerivationState = IDerivationState.UP_TO_DATE;\n // Go through all new observables and check diffValue: (this list can contain duplicates):\n // 0: first occurrence, change to 1 and keep it\n // 1: extra occurrence, drop it\n var i0 = 0,\n l = derivation.unboundDepsCount;\n for (var i = 0; i < l; i++) {\n var dep = observing[i];\n if (dep.diffValue === 0) {\n dep.diffValue = 1;\n if (i0 !== i) observing[i0] = dep;\n i0++;\n }\n // Upcast is 'safe' here, because if dep is IObservable, `dependenciesState` will be undefined,\n // not hitting the condition\n if (dep.dependenciesState > lowestNewObservingDerivationState) {\n lowestNewObservingDerivationState = dep.dependenciesState;\n }\n }\n observing.length = i0;\n derivation.newObserving = null; // newObserving shouldn't be needed outside tracking (statement moved down to work around FF bug, see #614)\n // Go through all old observables and check diffValue: (it is unique after last bindDependencies)\n // 0: it's not in new observables, unobserve it\n // 1: it keeps being observed, don't want to notify it. change to 0\n l = prevObserving.length;\n while (l--) {\n var dep = prevObserving[l];\n if (dep.diffValue === 0) {\n removeObserver(dep, derivation);\n }\n dep.diffValue = 0;\n }\n // Go through all new observables and check diffValue: (now it should be unique)\n // 0: it was set to 0 in last loop. don't need to do anything.\n // 1: it wasn't observed, let's observe it. set back to 0\n while (i0--) {\n var dep = observing[i0];\n if (dep.diffValue === 1) {\n dep.diffValue = 0;\n addObserver(dep, derivation);\n }\n }\n // Some new observed derivations may become stale during this derivation computation\n // so they have had no chance to propagate staleness (#916)\n if (lowestNewObservingDerivationState !== IDerivationState.UP_TO_DATE) {\n derivation.dependenciesState = lowestNewObservingDerivationState;\n derivation.onBecomeStale();\n }\n}\nfunction clearObserving(derivation) {\n // invariant(globalState.inBatch > 0, \"INTERNAL ERROR clearObserving should be called only inside batch\");\n var obs = derivation.observing;\n derivation.observing = [];\n var i = obs.length;\n while (i--) {\n removeObserver(obs[i], derivation);\n }derivation.dependenciesState = IDerivationState.NOT_TRACKING;\n}\nfunction untracked(action) {\n var prev = untrackedStart();\n var res = action();\n untrackedEnd(prev);\n return res;\n}\nfunction untrackedStart() {\n var prev = globalState.trackingDerivation;\n globalState.trackingDerivation = null;\n return prev;\n}\nfunction untrackedEnd(prev) {\n globalState.trackingDerivation = prev;\n}\n/**\n * needed to keep `lowestObserverState` correct. when changing from (2 or 1) to 0\n *\n */\nfunction changeDependenciesStateTo0(derivation) {\n if (derivation.dependenciesState === IDerivationState.UP_TO_DATE) return;\n derivation.dependenciesState = IDerivationState.UP_TO_DATE;\n var obs = derivation.observing;\n var i = obs.length;\n while (i--) {\n obs[i].lowestObserverState = IDerivationState.UP_TO_DATE;\n }\n}\n\nfunction log(msg) {\n console.log(msg);\n return msg;\n}\nfunction whyRun(thing, prop) {\n deprecated(\"`whyRun` is deprecated in favor of `trace`\");\n thing = getAtomFromArgs(arguments);\n if (!thing) return log(getMessage(\"m024\"));\n if (isComputedValue(thing) || isReaction(thing)) return log(thing.whyRun());\n return fail(getMessage(\"m025\"));\n}\nfunction trace() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var enterBreakPoint = false;\n if (typeof args[args.length - 1] === \"boolean\") enterBreakPoint = args.pop();\n var derivation = getAtomFromArgs(args);\n if (!derivation) {\n return fail(\"'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly\");\n }\n if (derivation.isTracing === TraceMode.NONE) {\n console.log(\"[mobx.trace] '\" + derivation.name + \"' tracing enabled\");\n }\n derivation.isTracing = enterBreakPoint ? TraceMode.BREAK : TraceMode.LOG;\n}\nfunction getAtomFromArgs(args) {\n switch (args.length) {\n case 0:\n return globalState.trackingDerivation;\n case 1:\n return getAtom(args[0]);\n case 2:\n return getAtom(args[0], args[1]);\n }\n}\n\nvar Reaction = /** @class */function () {\n function Reaction(name, onInvalidate) {\n if (name === void 0) {\n name = \"Reaction@\" + getNextId();\n }\n this.name = name;\n this.onInvalidate = onInvalidate;\n this.observing = []; // nodes we are looking at. Our value depends on these nodes\n this.newObserving = [];\n this.dependenciesState = IDerivationState.NOT_TRACKING;\n this.diffValue = 0;\n this.runId = 0;\n this.unboundDepsCount = 0;\n this.__mapid = \"#\" + getNextId();\n this.isDisposed = false;\n this._isScheduled = false;\n this._isTrackPending = false;\n this._isRunning = false;\n this.isTracing = TraceMode.NONE;\n }\n Reaction.prototype.onBecomeStale = function () {\n this.schedule();\n };\n Reaction.prototype.schedule = function () {\n if (!this._isScheduled) {\n this._isScheduled = true;\n globalState.pendingReactions.push(this);\n runReactions();\n }\n };\n Reaction.prototype.isScheduled = function () {\n return this._isScheduled;\n };\n /**\n * internal, use schedule() if you intend to kick off a reaction\n */\n Reaction.prototype.runReaction = function () {\n if (!this.isDisposed) {\n startBatch();\n this._isScheduled = false;\n if (shouldCompute(this)) {\n this._isTrackPending = true;\n this.onInvalidate();\n if (this._isTrackPending && isSpyEnabled()) {\n // onInvalidate didn't trigger track right away..\n spyReport({\n object: this,\n type: \"scheduled-reaction\"\n });\n }\n }\n endBatch();\n }\n };\n Reaction.prototype.track = function (fn) {\n startBatch();\n var notify = isSpyEnabled();\n var startTime;\n if (notify) {\n startTime = Date.now();\n spyReportStart({\n object: this,\n type: \"reaction\",\n fn: fn\n });\n }\n this._isRunning = true;\n var result = trackDerivedFunction(this, fn, undefined);\n this._isRunning = false;\n this._isTrackPending = false;\n if (this.isDisposed) {\n // disposed during last run. Clean up everything that was bound after the dispose call.\n clearObserving(this);\n }\n if (isCaughtException(result)) this.reportExceptionInDerivation(result.cause);\n if (notify) {\n spyReportEnd({\n time: Date.now() - startTime\n });\n }\n endBatch();\n };\n Reaction.prototype.reportExceptionInDerivation = function (error) {\n var _this = this;\n if (this.errorHandler) {\n this.errorHandler(error, this);\n return;\n }\n var message = \"[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '\" + this;\n var messageToUser = getMessage(\"m037\");\n console.error(message || messageToUser /* latter will not be true, make sure uglify doesn't remove */, error);\n /** If debugging brought you here, please, read the above message :-). Tnx! */\n if (isSpyEnabled()) {\n spyReport({\n type: \"error\",\n message: message,\n error: error,\n object: this\n });\n }\n globalState.globalReactionErrorHandlers.forEach(function (f) {\n return f(error, _this);\n });\n };\n Reaction.prototype.dispose = function () {\n if (!this.isDisposed) {\n this.isDisposed = true;\n if (!this._isRunning) {\n // if disposed while running, clean up later. Maybe not optimal, but rare case\n startBatch();\n clearObserving(this);\n endBatch();\n }\n }\n };\n Reaction.prototype.getDisposer = function () {\n var r = this.dispose.bind(this);\n r.$mobx = this;\n r.onError = registerErrorHandler;\n return r;\n };\n Reaction.prototype.toString = function () {\n return \"Reaction[\" + this.name + \"]\";\n };\n Reaction.prototype.whyRun = function () {\n var observing = unique(this._isRunning ? this.newObserving : this.observing).map(function (dep) {\n return dep.name;\n });\n return \"\\nWhyRun? reaction '\" + this.name + \"':\\n * Status: [\" + (this.isDisposed ? \"stopped\" : this._isRunning ? \"running\" : this.isScheduled() ? \"scheduled\" : \"idle\") + \"]\\n * This reaction will re-run if any of the following observables changes:\\n \" + joinStrings(observing) + \"\\n \" + (this._isRunning ? \" (... or any observable accessed during the remainder of the current run)\" : \"\") + \"\\n\\t\" + getMessage(\"m038\") + \"\\n\";\n };\n Reaction.prototype.trace = function (enterBreakPoint) {\n if (enterBreakPoint === void 0) {\n enterBreakPoint = false;\n }\n trace(this, enterBreakPoint);\n };\n return Reaction;\n}();\nfunction registerErrorHandler(handler) {\n invariant(this && this.$mobx && isReaction(this.$mobx), \"Invalid `this`\");\n invariant(!this.$mobx.errorHandler, \"Only one onErrorHandler can be registered\");\n this.$mobx.errorHandler = handler;\n}\nfunction onReactionError(handler) {\n globalState.globalReactionErrorHandlers.push(handler);\n return function () {\n var idx = globalState.globalReactionErrorHandlers.indexOf(handler);\n if (idx >= 0) globalState.globalReactionErrorHandlers.splice(idx, 1);\n };\n}\n/**\n * Magic number alert!\n * Defines within how many times a reaction is allowed to re-trigger itself\n * until it is assumed that this is gonna be a never ending loop...\n */\nvar MAX_REACTION_ITERATIONS = 100;\nvar reactionScheduler = function reactionScheduler(f) {\n return f();\n};\nfunction runReactions() {\n // Trampolining, if runReactions are already running, new reactions will be picked up\n if (globalState.inBatch > 0 || globalState.isRunningReactions) return;\n reactionScheduler(runReactionsHelper);\n}\nfunction runReactionsHelper() {\n globalState.isRunningReactions = true;\n var allReactions = globalState.pendingReactions;\n var iterations = 0;\n // While running reactions, new reactions might be triggered.\n // Hence we work with two variables and check whether\n // we converge to no remaining reactions after a while.\n while (allReactions.length > 0) {\n if (++iterations === MAX_REACTION_ITERATIONS) {\n console.error(\"Reaction doesn't converge to a stable state after \" + MAX_REACTION_ITERATIONS + \" iterations.\" + (\" Probably there is a cycle in the reactive function: \" + allReactions[0]));\n allReactions.splice(0); // clear reactions\n }\n var remainingReactions = allReactions.splice(0);\n for (var i = 0, l = remainingReactions.length; i < l; i++) {\n remainingReactions[i].runReaction();\n }\n }\n globalState.isRunningReactions = false;\n}\nvar isReaction = createInstanceofPredicate(\"Reaction\", Reaction);\nfunction setReactionScheduler(fn) {\n var baseScheduler = reactionScheduler;\n reactionScheduler = function reactionScheduler(f) {\n return fn(function () {\n return baseScheduler(f);\n });\n };\n}\n\nfunction asReference(value) {\n deprecated(\"asReference is deprecated, use observable.ref instead\");\n return observable.ref(value);\n}\nfunction asStructure(value) {\n deprecated(\"asStructure is deprecated. Use observable.struct, computed.struct or reaction options instead.\");\n return observable.struct(value);\n}\nfunction asFlat(value) {\n deprecated(\"asFlat is deprecated, use observable.shallow instead\");\n return observable.shallow(value);\n}\nfunction asMap(data) {\n deprecated(\"asMap is deprecated, use observable.map or observable.shallowMap instead\");\n return observable.map(data || {});\n}\n\nfunction createComputedDecorator(equals) {\n return createClassPropertyDecorator(function (target, name, _, __, originalDescriptor) {\n invariant(typeof originalDescriptor !== \"undefined\", getMessage(\"m009\"));\n invariant(typeof originalDescriptor.get === \"function\", getMessage(\"m010\"));\n var adm = asObservableObject(target, \"\");\n defineComputedProperty(adm, name, originalDescriptor.get, originalDescriptor.set, equals, false);\n }, function (name) {\n var observable = this.$mobx.values[name];\n if (observable === undefined // See #505\n ) return undefined;\n return observable.get();\n }, function (name, value) {\n this.$mobx.values[name].set(value);\n }, false, false);\n}\nvar computedDecorator = createComputedDecorator(comparer.default);\nvar computedStructDecorator = createComputedDecorator(comparer.structural);\n/**\n * Decorator for class properties: @computed get value() { return expr; }.\n * For legacy purposes also invokable as ES5 observable created: `computed(() => expr)`;\n */\nvar computed = function computed(arg1, arg2, arg3) {\n if (typeof arg2 === \"string\") {\n return computedDecorator.apply(null, arguments);\n }\n invariant(typeof arg1 === \"function\", getMessage(\"m011\"));\n invariant(arguments.length < 3, getMessage(\"m012\"));\n var opts = (typeof arg2 === \"undefined\" ? \"undefined\" : _typeof(arg2)) === \"object\" ? arg2 : {};\n opts.setter = typeof arg2 === \"function\" ? arg2 : opts.setter;\n var equals = opts.equals ? opts.equals : opts.compareStructural || opts.struct ? comparer.structural : comparer.default;\n return new ComputedValue(arg1, opts.context, equals, opts.name || arg1.name || \"\", opts.setter);\n};\ncomputed.struct = computedStructDecorator;\ncomputed.equals = createComputedDecorator;\n\nfunction isComputed(value, property) {\n if (value === null || value === undefined) return false;\n if (property !== undefined) {\n if (isObservableObject(value) === false) return false;\n if (!value.$mobx.values[property]) return false;\n var atom = getAtom(value, property);\n return isComputedValue(atom);\n }\n return isComputedValue(value);\n}\n\nfunction observe(thing, propOrCb, cbOrFire, fireImmediately) {\n if (typeof cbOrFire === \"function\") return observeObservableProperty(thing, propOrCb, cbOrFire, fireImmediately);else return observeObservable(thing, propOrCb, cbOrFire);\n}\nfunction observeObservable(thing, listener, fireImmediately) {\n return getAdministration(thing).observe(listener, fireImmediately);\n}\nfunction observeObservableProperty(thing, property, listener, fireImmediately) {\n return getAdministration(thing, property).observe(listener, fireImmediately);\n}\n\nfunction intercept(thing, propOrHandler, handler) {\n if (typeof handler === \"function\") return interceptProperty(thing, propOrHandler, handler);else return interceptInterceptable(thing, propOrHandler);\n}\nfunction interceptInterceptable(thing, handler) {\n return getAdministration(thing).intercept(handler);\n}\nfunction interceptProperty(thing, property, handler) {\n return getAdministration(thing, property).intercept(handler);\n}\n\n/**\n * expr can be used to create temporarily views inside views.\n * This can be improved to improve performance if a value changes often, but usually doesn't affect the outcome of an expression.\n *\n * In the following example the expression prevents that a component is rerender _each time_ the selection changes;\n * instead it will only rerenders when the current todo is (de)selected.\n *\n * reactiveComponent((props) => {\n * const todo = props.todo;\n * const isSelected = mobx.expr(() => props.viewState.selection === todo);\n * return
{todo.title}
\n * });\n *\n */\nfunction expr(expr, scope) {\n if (!isComputingDerivation()) console.warn(getMessage(\"m013\"));\n // optimization: would be more efficient if the expr itself wouldn't be evaluated first on the next change, but just a 'changed' signal would be fired\n return computed(expr, { context: scope }).get();\n}\n\nfunction toJS(source, detectCycles, __alreadySeen) {\n if (detectCycles === void 0) {\n detectCycles = true;\n }\n if (__alreadySeen === void 0) {\n __alreadySeen = [];\n }\n // optimization: using ES6 map would be more efficient!\n // optimization: lift this function outside toJS, this makes recursion expensive\n function cache(value) {\n if (detectCycles) __alreadySeen.push([source, value]);\n return value;\n }\n if (isObservable(source)) {\n if (detectCycles && __alreadySeen === null) __alreadySeen = [];\n if (detectCycles && source !== null && (typeof source === \"undefined\" ? \"undefined\" : _typeof(source)) === \"object\") {\n for (var i = 0, l = __alreadySeen.length; i < l; i++) {\n if (__alreadySeen[i][0] === source) return __alreadySeen[i][1];\n }\n }\n if (isObservableArray(source)) {\n var res = cache([]);\n var toAdd = source.map(function (value) {\n return toJS(value, detectCycles, __alreadySeen);\n });\n res.length = toAdd.length;\n for (var i = 0, l = toAdd.length; i < l; i++) {\n res[i] = toAdd[i];\n }return res;\n }\n if (isObservableObject(source)) {\n var res = cache({});\n for (var key in source) {\n res[key] = toJS(source[key], detectCycles, __alreadySeen);\n }return res;\n }\n if (isObservableMap(source)) {\n var res_1 = cache({});\n source.forEach(function (value, key) {\n return res_1[key] = toJS(value, detectCycles, __alreadySeen);\n });\n return res_1;\n }\n if (isObservableValue(source)) return toJS(source.get(), detectCycles, __alreadySeen);\n }\n return source;\n}\n\nfunction createTransformer(transformer, onCleanup) {\n invariant(typeof transformer === \"function\" && transformer.length < 2, \"createTransformer expects a function that accepts one argument\");\n // Memoizes: object id -> reactive view that applies transformer to the object\n var objectCache = {};\n // If the resetId changes, we will clear the object cache, see #163\n // This construction is used to avoid leaking refs to the objectCache directly\n var resetId = globalState.resetId;\n // Local transformer class specifically for this transformer\n var Transformer = /** @class */function (_super) {\n __extends(Transformer, _super);\n function Transformer(sourceIdentifier, sourceObject) {\n var _this = _super.call(this, function () {\n return transformer(sourceObject);\n }, undefined, comparer.default, \"Transformer-\" + transformer.name + \"-\" + sourceIdentifier, undefined) || this;\n _this.sourceIdentifier = sourceIdentifier;\n _this.sourceObject = sourceObject;\n return _this;\n }\n Transformer.prototype.onBecomeUnobserved = function () {\n var lastValue = this.value;\n _super.prototype.onBecomeUnobserved.call(this);\n delete objectCache[this.sourceIdentifier];\n if (onCleanup) onCleanup(lastValue, this.sourceObject);\n };\n return Transformer;\n }(ComputedValue);\n return function (object) {\n if (resetId !== globalState.resetId) {\n objectCache = {};\n resetId = globalState.resetId;\n }\n var identifier = getMemoizationId(object);\n var reactiveTransformer = objectCache[identifier];\n if (reactiveTransformer) return reactiveTransformer.get();\n // Not in cache; create a reactive view\n reactiveTransformer = objectCache[identifier] = new Transformer(identifier, object);\n return reactiveTransformer.get();\n };\n}\nfunction getMemoizationId(object) {\n if (typeof object === \"string\" || typeof object === \"number\") return object;\n if (object === null || (typeof object === \"undefined\" ? \"undefined\" : _typeof(object)) !== \"object\") throw new Error(\"[mobx] transform expected some kind of object or primitive value, got: \" + object);\n var tid = object.$transformId;\n if (tid === undefined) {\n tid = getNextId();\n addHiddenProp(object, \"$transformId\", tid);\n }\n return tid;\n}\n\nfunction interceptReads(thing, propOrHandler, handler) {\n var target;\n if (isObservableMap(thing) || isObservableArray(thing) || isObservableValue(thing)) {\n target = getAdministration(thing);\n } else if (isObservableObject(thing)) {\n if (typeof propOrHandler !== \"string\") return fail(\"InterceptReads can only be used with a specific property, not with an object in general\");\n target = getAdministration(thing, propOrHandler);\n } else {\n return fail(\"Expected observable map, object or array as first array\");\n }\n if (target.dehancer !== undefined) return fail(\"An intercept reader was already established\");\n target.dehancer = typeof propOrHandler === \"function\" ? propOrHandler : handler;\n return function () {\n target.dehancer = undefined;\n };\n}\n\n/**\n * (c) Michel Weststrate 2015 - 2016\n * MIT Licensed\n *\n * Welcome to the mobx sources! To get an global overview of how MobX internally works,\n * this is a good place to start:\n * https://medium.com/@mweststrate/becoming-fully-reactive-an-in-depth-explanation-of-mobservable-55995262a254#.xvbh6qd74\n *\n * Source folders:\n * ===============\n *\n * - api/ Most of the public static methods exposed by the module can be found here.\n * - core/ Implementation of the MobX algorithm; atoms, derivations, reactions, dependency trees, optimizations. Cool stuff can be found here.\n * - types/ All the magic that is need to have observable objects, arrays and values is in this folder. Including the modifiers like `asFlat`.\n * - utils/ Utility stuff.\n *\n */\nvar extras = {\n allowStateChanges: allowStateChanges,\n deepEqual: deepEqual,\n getAtom: getAtom,\n getDebugName: getDebugName,\n getDependencyTree: getDependencyTree,\n getAdministration: getAdministration,\n getGlobalState: getGlobalState,\n getObserverTree: getObserverTree,\n interceptReads: interceptReads,\n isComputingDerivation: isComputingDerivation,\n isSpyEnabled: isSpyEnabled,\n onReactionError: onReactionError,\n reserveArrayBuffer: reserveArrayBuffer,\n resetGlobalState: resetGlobalState,\n isolateGlobalState: isolateGlobalState,\n shareGlobalState: shareGlobalState,\n spyReport: spyReport,\n spyReportEnd: spyReportEnd,\n spyReportStart: spyReportStart,\n setReactionScheduler: setReactionScheduler\n};\nvar everything = {\n Reaction: Reaction,\n untracked: untracked,\n Atom: Atom,\n BaseAtom: BaseAtom,\n useStrict: useStrict,\n isStrictModeEnabled: isStrictModeEnabled,\n spy: spy,\n comparer: comparer,\n asReference: asReference,\n asFlat: asFlat,\n asStructure: asStructure,\n asMap: asMap,\n isModifierDescriptor: isModifierDescriptor,\n isObservableObject: isObservableObject,\n isBoxedObservable: isObservableValue,\n isObservableArray: isObservableArray,\n ObservableMap: ObservableMap,\n isObservableMap: isObservableMap,\n map: map,\n transaction: transaction,\n observable: observable,\n computed: computed,\n isObservable: isObservable,\n isComputed: isComputed,\n extendObservable: extendObservable,\n extendShallowObservable: extendShallowObservable,\n observe: observe,\n intercept: intercept,\n autorun: autorun,\n autorunAsync: autorunAsync,\n when: when,\n reaction: reaction,\n action: action,\n isAction: isAction,\n runInAction: runInAction,\n expr: expr,\n toJS: toJS,\n createTransformer: createTransformer,\n whyRun: whyRun,\n isArrayLike: isArrayLike,\n extras: extras\n};\nvar warnedAboutDefaultExport = false;\nvar _loop_1 = function _loop_1(p) {\n var val = everything[p];\n Object.defineProperty(everything, p, {\n get: function get() {\n if (!warnedAboutDefaultExport) {\n warnedAboutDefaultExport = true;\n console.warn(\"Using default export (`import mobx from 'mobx'`) is deprecated \" + \"and won’t work in mobx@4.0.0\\n\" + \"Use `import * as mobx from 'mobx'` instead\");\n }\n return val;\n }\n });\n};\nfor (var p in everything) {\n _loop_1(p);\n}\nif ((typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__ === \"undefined\" ? \"undefined\" : _typeof(__MOBX_DEVTOOLS_GLOBAL_HOOK__)) === \"object\") {\n __MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({ spy: spy, extras: extras });\n}\n\nexports.extras = extras;\nexports.Reaction = Reaction;\nexports.untracked = untracked;\nexports.IDerivationState = IDerivationState;\nexports.Atom = Atom;\nexports.BaseAtom = BaseAtom;\nexports.useStrict = useStrict;\nexports.isStrictModeEnabled = isStrictModeEnabled;\nexports.spy = spy;\nexports.comparer = comparer;\nexports.asReference = asReference;\nexports.asFlat = asFlat;\nexports.asStructure = asStructure;\nexports.asMap = asMap;\nexports.isModifierDescriptor = isModifierDescriptor;\nexports.isObservableObject = isObservableObject;\nexports.isBoxedObservable = isObservableValue;\nexports.isObservableArray = isObservableArray;\nexports.ObservableMap = ObservableMap;\nexports.isObservableMap = isObservableMap;\nexports.map = map;\nexports.transaction = transaction;\nexports.observable = observable;\nexports.computed = computed;\nexports.isObservable = isObservable;\nexports.isComputed = isComputed;\nexports.extendObservable = extendObservable;\nexports.extendShallowObservable = extendShallowObservable;\nexports.observe = observe;\nexports.intercept = intercept;\nexports.autorun = autorun;\nexports.autorunAsync = autorunAsync;\nexports.when = when;\nexports.reaction = reaction;\nexports.action = action;\nexports.isAction = isAction;\nexports.runInAction = runInAction;\nexports.expr = expr;\nexports.toJS = toJS;\nexports.createTransformer = createTransformer;\nexports.whyRun = whyRun;\nexports.trace = trace;\nexports.isArrayLike = isArrayLike;\nexports.default = everything;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(10)))\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Provider = exports.inject = exports.connect = exports.useStaticRendering = exports.Observer = exports.observer = undefined;\n\nvar _observer = __webpack_require__(3);\n\nObject.defineProperty(exports, 'observer', {\n enumerable: true,\n get: function get() {\n return _observer.observer;\n }\n});\nObject.defineProperty(exports, 'Observer', {\n enumerable: true,\n get: function get() {\n return _observer.Observer;\n }\n});\nObject.defineProperty(exports, 'useStaticRendering', {\n enumerable: true,\n get: function get() {\n return _observer.useStaticRendering;\n }\n});\n\nvar _connect = __webpack_require__(11);\n\nObject.defineProperty(exports, 'connect', {\n enumerable: true,\n get: function get() {\n return _connect.connect;\n }\n});\n\nvar _inject = __webpack_require__(5);\n\nObject.defineProperty(exports, 'inject', {\n enumerable: true,\n get: function get() {\n return _inject.inject;\n }\n});\n\nvar _Provider = __webpack_require__(13);\n\nObject.defineProperty(exports, 'Provider', {\n enumerable: true,\n get: function get() {\n return _Provider.Provider;\n }\n});\n\nvar _mobx = __webpack_require__(1);\n\nvar _preact = __webpack_require__(0);\n\nif (!_preact.Component) {\n throw new Error('mobx-preact requires Preact to be available');\n}\nif (!_mobx.extras) {\n throw new Error('mobx-preact requires mobx to be available');\n}\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _typeof2 = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Observer = undefined;\n\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n }\n }return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n };\n}();\n\nvar _typeof = typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\" ? function (obj) {\n return typeof obj === \"undefined\" ? \"undefined\" : _typeof2(obj);\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj === \"undefined\" ? \"undefined\" : _typeof2(obj);\n};\n\nexports.useStaticRendering = useStaticRendering;\nexports.observer = observer;\n\nvar _mobx = __webpack_require__(1);\n\nvar _preact = __webpack_require__(0);\n\nvar _utils = __webpack_require__(4);\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }return call && ((typeof call === \"undefined\" ? \"undefined\" : _typeof2(call)) === \"object\" || typeof call === \"function\") ? call : self;\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : _typeof2(superClass)));\n }subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } });if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\n\nvar isUsingStaticRendering = false;\n\nvar logger = console; // eslint-disable-line no-console\n\nfunction useStaticRendering(useStaticRendering) {\n isUsingStaticRendering = useStaticRendering;\n}\n\n/**\n Workaround\n\n allowStateChanges from mobX must be patched so that props, state and args are passed to the render() function\n */\n\nfunction allowStateChangesStart(allowStateChanges) {\n var prev = _mobx.extras.getGlobalState().allowStateChanges;\n _mobx.extras.getGlobalState().allowStateChanges = allowStateChanges;\n return prev;\n}\nfunction allowStateChangesEnd(prev) {\n _mobx.extras.getGlobalState().allowStateChanges = prev;\n}\n\nfunction allowStateChanges(allowStateChanges, func, props, state, context) {\n var prev = allowStateChangesStart(allowStateChanges);\n var res = void 0;\n try {\n res = func(props, state, context);\n } finally {\n allowStateChangesEnd(prev);\n }\n return res;\n}\n\n/**\n * Utilities\n */\n\nfunction patch(target, funcName) {\n var runMixinFirst = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n var base = target[funcName];\n var mixinFunc = reactiveMixin[funcName];\n var f = !base ? mixinFunc : runMixinFirst === true ? function () {\n mixinFunc.apply(this, arguments);\n base.apply(this, arguments);\n } : function () {\n base.apply(this, arguments);\n mixinFunc.apply(this, arguments);\n };\n\n // MWE: ideally we freeze here to protect against accidental overwrites in component instances, see #195\n // ...but that breaks react-hot-loader, see #231...\n target[funcName] = f;\n}\n\nfunction isObjectShallowModified(prev, next) {\n if (null == prev || null == next || (typeof prev === 'undefined' ? 'undefined' : _typeof(prev)) !== 'object' || (typeof next === 'undefined' ? 'undefined' : _typeof(next)) !== 'object') {\n return prev !== next;\n }\n var keys = Object.keys(prev);\n if (keys.length !== Object.keys(next).length) {\n return true;\n }\n var key = void 0;\n for (var i = keys.length - 1; i >= 0, key = keys[i]; i--) {\n if (next[key] !== prev[key]) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * ReactiveMixin\n */\nvar reactiveMixin = {\n componentWillMount: function componentWillMount() {\n var _this = this;\n\n if (isUsingStaticRendering === true) {\n return;\n }\n // Generate friendly name for debugging\n var initialName = (0, _utils.makeDisplayName)(this);\n\n /**\n * If props are shallowly modified, react will render anyway,\n * so atom.reportChanged() should not result in yet another re-render\n */\n var skipRender = false;\n /**\n * forceUpdate will re-assign this.props. We don't want that to cause a loop,\n * so detect these changes\n */\n var isForcingUpdate = false;\n\n function makePropertyObservableReference(propName) {\n var valueHolder = this[propName];\n var atom = new _mobx.Atom('reactive ' + propName);\n Object.defineProperty(this, propName, {\n configurable: true,\n enumerable: true,\n get: function get() {\n atom.reportObserved();\n return valueHolder;\n },\n set: function set(v) {\n if (!isForcingUpdate && isObjectShallowModified(valueHolder, v)) {\n valueHolder = v;\n skipRender = true;\n atom.reportChanged();\n skipRender = false;\n } else {\n valueHolder = v;\n }\n }\n });\n }\n\n // make this.props an observable reference, see #124\n makePropertyObservableReference.call(this, 'props');\n // make state an observable reference\n makePropertyObservableReference.call(this, 'state');\n\n // wire up reactive render\n var baseRender = this.render.bind(this);\n var reaction = null;\n var isRenderingPending = false;\n\n var initialRender = function initialRender() {\n reaction = new _mobx.Reaction(initialName + '.render()', function () {\n if (!isRenderingPending) {\n // N.B. Getting here *before mounting* means that a component constructor has side effects (see the relevant test in misc.js)\n // This unidiomatic React usage but React will correctly warn about this so we continue as usual\n // See #85 / Pull #44\n isRenderingPending = true;\n if (typeof _this.componentWillReact === 'function') {\n _this.componentWillReact();\n } // TODO: wrap in action?\n if (_this.__$mobxIsUnmounted !== true) {\n // If we are unmounted at this point, componentWillReact() had a side effect causing the component to unmounted\n // TODO: remove this check? Then react will properly warn about the fact that this should not happen? See #73\n // However, people also claim this migth happen during unit tests..\n var hasError = true;\n try {\n isForcingUpdate = true;\n if (!skipRender) {\n _preact.Component.prototype.forceUpdate.call(_this);\n }\n hasError = false;\n } finally {\n isForcingUpdate = false;\n if (hasError) {\n reaction.dispose();\n }\n }\n }\n }\n });\n reaction.reactComponent = _this;\n reactiveRender.$mobx = reaction;\n _this.render = reactiveRender;\n return reactiveRender(_this.props, _this.state, _this.context);\n };\n\n var reactiveRender = function reactiveRender(props, state, context) {\n isRenderingPending = false;\n var exception = undefined;\n var rendering = undefined;\n reaction.track(function () {\n try {\n rendering = allowStateChanges(false, baseRender, props, state, context);\n } catch (e) {\n exception = e;\n }\n });\n if (exception) {\n throw exception;\n }\n return rendering;\n };\n\n this.render = initialRender;\n },\n\n componentWillUnmount: function componentWillUnmount() {\n if (isUsingStaticRendering === true) {\n return;\n }\n this.render.$mobx && this.render.$mobx.dispose();\n this.__$mobxIsUnmounted = true;\n },\n\n componentDidMount: function componentDidMount() {},\n\n componentDidUpdate: function componentDidUpdate() {},\n\n shouldComponentUpdate: function shouldComponentUpdate(nextProps, nextState) {\n if (isUsingStaticRendering) {\n logger.warn('[mobx-preact] 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.');\n }\n // update on any state changes (as is the default)\n if (this.state !== nextState) {\n return true;\n }\n // update if props are shallowly not equal, inspired by PureRenderMixin\n // we could return just 'false' here, and avoid the `skipRender` checks etc\n // however, it is nicer if lifecycle events are triggered like usually,\n // so we return true here if props are shallowly modified.\n return isObjectShallowModified(this.props, nextProps);\n }\n};\n\n/**\n * Observer function / decorator\n */\nfunction observer(componentClass) {\n if (arguments.length > 1) {\n logger.warn('Mobx observer: Using observer to inject stores is not supported. Use `@connect([\"store1\", \"store2\"]) ComponentClass instead or preferably, use `@inject(\"store1\", \"store2\") @observer ComponentClass` or `inject(\"store1\", \"store2\")(observer(componentClass))``');\n }\n\n if (componentClass.isMobxInjector === true) {\n logger.warn('Mobx observer: You are trying to use \\'observer\\' on a component that already has \\'inject\\'. Please apply \\'observer\\' before applying \\'inject\\'');\n }\n\n // Stateless function component:\n if ((0, _utils.isStateless)(componentClass)) {\n var _class, _temp;\n\n return observer((_temp = _class = function (_Component) {\n _inherits(_class, _Component);\n\n function _class() {\n _classCallCheck(this, _class);\n\n return _possibleConstructorReturn(this, (_class.__proto__ || Object.getPrototypeOf(_class)).apply(this, arguments));\n }\n\n _createClass(_class, [{\n key: 'render',\n value: function render() {\n return componentClass.call(this, this.props, this.context);\n }\n }]);\n\n return _class;\n }(_preact.Component), _class.displayName = (0, _utils.makeDisplayName)(componentClass), _temp));\n }\n\n if (!componentClass) {\n throw new Error('Please pass a valid component to \\'observer\\'');\n }\n\n var target = componentClass.prototype || componentClass;\n mixinLifecycleEvents(target);\n componentClass.isMobXReactObserver = true;\n return componentClass;\n}\n\nfunction mixinLifecycleEvents(target) {\n patch(target, 'componentWillMount', true);\n patch(target, 'componentDidMount');\n\n if (!target.shouldComponentUpdate) {\n target.shouldComponentUpdate = reactiveMixin.shouldComponentUpdate;\n }\n}\n\nvar Observer = exports.Observer = observer(function (_ref) {\n var children = _ref.children;\n return children[0]();\n});\n\nObserver.displayName = 'Observer';\n\n/***/ }),\n/* 4 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.isStateless = isStateless;\nexports.makeDisplayName = makeDisplayName;\n\nvar _preact = __webpack_require__(0);\n\nfunction isStateless(component) {\n // `function() {}` has prototype, but `() => {}` doesn't\n // `() => {}` via Babel has prototype too.\n return !(component.prototype && component.prototype.render) && !_preact.Component.isPrototypeOf(component);\n}\n\nfunction makeDisplayName(component) {\n var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n _ref$prefix = _ref.prefix,\n prefix = _ref$prefix === undefined ? '' : _ref$prefix,\n _ref$suffix = _ref.suffix,\n suffix = _ref$suffix === undefined ? '' : _ref$suffix;\n\n var displayName = component.displayName || component.name || component.constructor && component.constructor.name || '';\n return prefix + displayName + suffix;\n}\n\n/***/ }),\n/* 5 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n }\n }return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n };\n}();\n\nexports.inject = inject;\n\nvar _preact = __webpack_require__(0);\n\nvar _hoistNonReactStatics = __webpack_require__(12);\n\nvar _hoistNonReactStatics2 = _interopRequireDefault(_hoistNonReactStatics);\n\nvar _observer = __webpack_require__(3);\n\nvar _utils = __webpack_require__(4);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }return call && ((typeof call === \"undefined\" ? \"undefined\" : _typeof(call)) === \"object\" || typeof call === \"function\") ? call : self;\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : _typeof(superClass)));\n }subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } });if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\n\nvar proxiedInjectorProps = {\n isMobxInjector: {\n value: true,\n writable: true,\n configurable: true,\n enumerable: true\n }\n};\n\n/**\n * Store Injection\n */\nfunction createStoreInjector(grabStoresFn, component, injectNames) {\n var _class, _temp;\n\n var prefix = 'inject-';\n var suffix = injectNames ? '-with-' + injectNames : '';\n var displayName = (0, _utils.makeDisplayName)(component, { prefix: prefix, suffix: suffix });\n\n var Injector = (_temp = _class = function (_Component) {\n _inherits(Injector, _Component);\n\n function Injector() {\n _classCallCheck(this, Injector);\n\n return _possibleConstructorReturn(this, (Injector.__proto__ || Object.getPrototypeOf(Injector)).apply(this, arguments));\n }\n\n _createClass(Injector, [{\n key: 'render',\n value: function render() {\n // Optimization: it might be more efficient to apply the mapper function *outside* the render method\n // (if the mapper is a function), that could avoid expensive(?) re-rendering of the injector component\n // See this test: 'using a custom injector is not too reactive' in inject.js\n var newProps = {};\n for (var key in this.props) {\n if (this.props.hasOwnProperty(key)) {\n newProps[key] = this.props[key];\n }\n }\n var additionalProps = grabStoresFn(this.context.mobxStores || {}, newProps, this.context) || {};\n for (var _key in additionalProps) {\n newProps[_key] = additionalProps[_key];\n }\n\n return (0, _preact.h)(component, newProps);\n }\n }]);\n\n return Injector;\n }(_preact.Component), _class.displayName = displayName, _temp);\n\n // Static fields from component should be visible on the generated Injector\n\n (0, _hoistNonReactStatics2.default)(Injector, component);\n\n Injector.wrappedComponent = component;\n Object.defineProperties(Injector, proxiedInjectorProps);\n\n return Injector;\n}\n\nfunction grabStoresByName(storeNames) {\n return function (baseStores, nextProps) {\n storeNames.forEach(function (storeName) {\n // prefer props over stores\n if (storeName in nextProps) {\n return;\n }\n if (!(storeName in baseStores)) {\n throw new Error('MobX injector: Store \\'' + storeName + '\\' is not available! Make sure it is provided by some Provider');\n }\n nextProps[storeName] = baseStores[storeName];\n });\n return nextProps;\n };\n}\n\n/**\n * higher order component that injects stores to a child.\n * takes either a varargs list of strings, which are stores read from the context,\n * or a function that manually maps the available stores from the context to props:\n * storesToProps(mobxStores, props, context) => newProps\n */\nfunction inject() /* fn(stores, nextProps) or ...storeNames */{\n var grabStoresFn = void 0;\n if (typeof arguments[0] === 'function') {\n grabStoresFn = arguments[0];\n return function (componentClass) {\n var injected = createStoreInjector(grabStoresFn, componentClass);\n injected.isMobxInjector = false; // suppress warning\n // mark the Injector as observer, to make it react to expressions in `grabStoresFn`,\n // see #111\n injected = (0, _observer.observer)(injected);\n injected.isMobxInjector = true; // restore warning\n return injected;\n };\n } else {\n var storeNames = [];\n for (var i = 0; i < arguments.length; i++) {\n storeNames[i] = arguments[i];\n }\n grabStoresFn = grabStoresByName(storeNames);\n return function (componentClass) {\n return createStoreInjector(grabStoresFn, componentClass, storeNames.join('-'));\n };\n }\n}\n\n/***/ }),\n/* 6 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.JSONHTTPError = exports.TextHTTPError = exports.HTTPError = exports.getPagination = undefined;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _pagination = __webpack_require__(15);\n\nObject.defineProperty(exports, \"getPagination\", {\n enumerable: true,\n get: function get() {\n return _pagination.getPagination;\n }\n});\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction _extendableBuiltin(cls) {\n function ExtendableBuiltin() {\n var instance = Reflect.construct(cls, Array.from(arguments));\n Object.setPrototypeOf(instance, Object.getPrototypeOf(this));\n return instance;\n }\n\n ExtendableBuiltin.prototype = Object.create(cls.prototype, {\n constructor: {\n value: cls,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(ExtendableBuiltin, cls);\n } else {\n ExtendableBuiltin.__proto__ = cls;\n }\n\n return ExtendableBuiltin;\n}\n\nvar HTTPError = exports.HTTPError = function (_extendableBuiltin2) {\n _inherits(HTTPError, _extendableBuiltin2);\n\n function HTTPError(response) {\n _classCallCheck(this, HTTPError);\n\n var _this = _possibleConstructorReturn(this, (HTTPError.__proto__ || Object.getPrototypeOf(HTTPError)).call(this, response.statusText));\n\n _this.name = _this.constructor.name;\n if (typeof Error.captureStackTrace === \"function\") {\n Error.captureStackTrace(_this, _this.constructor);\n } else {\n _this.stack = new Error(response.statusText).stack;\n }\n _this.status = response.status;\n return _this;\n }\n\n return HTTPError;\n}(_extendableBuiltin(Error));\n\nvar TextHTTPError = exports.TextHTTPError = function (_HTTPError) {\n _inherits(TextHTTPError, _HTTPError);\n\n function TextHTTPError(response, data) {\n _classCallCheck(this, TextHTTPError);\n\n var _this2 = _possibleConstructorReturn(this, (TextHTTPError.__proto__ || Object.getPrototypeOf(TextHTTPError)).call(this, response));\n\n _this2.data = data;\n return _this2;\n }\n\n return TextHTTPError;\n}(HTTPError);\n\nvar JSONHTTPError = exports.JSONHTTPError = function (_HTTPError2) {\n _inherits(JSONHTTPError, _HTTPError2);\n\n function JSONHTTPError(response, json) {\n _classCallCheck(this, JSONHTTPError);\n\n var _this3 = _possibleConstructorReturn(this, (JSONHTTPError.__proto__ || Object.getPrototypeOf(JSONHTTPError)).call(this, response));\n\n _this3.json = json;\n return _this3;\n }\n\n return JSONHTTPError;\n}(HTTPError);\n\nvar API = function () {\n function API() {\n var apiURL = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n var options = arguments[1];\n\n _classCallCheck(this, API);\n\n this.apiURL = apiURL;\n if (this.apiURL.match(/\\/[^\\/]?/)) {\n // eslint-disable-line no-useless-escape\n this._sameOrigin = true;\n }\n this.defaultHeaders = options && options.defaultHeaders || {};\n }\n\n _createClass(API, [{\n key: \"headers\",\n value: function headers() {\n var _headers = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n return _extends({}, this.defaultHeaders, {\n \"Content-Type\": \"application/json\"\n }, _headers);\n }\n }, {\n key: \"parseJsonResponse\",\n value: function parseJsonResponse(response) {\n return response.json().then(function (json) {\n if (!response.ok) {\n return Promise.reject(new JSONHTTPError(response, json));\n }\n\n var pagination = (0, _pagination.getPagination)(response);\n return pagination ? { pagination: pagination, items: json } : json;\n });\n }\n }, {\n key: \"request\",\n value: function request(path) {\n var _this4 = this;\n\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n var headers = this.headers(options.headers || {});\n if (this._sameOrigin) {\n options.credentials = options.credentials || \"same-origin\";\n }\n return fetch(this.apiURL + path, _extends({}, options, { headers: headers })).then(function (response) {\n var contentType = response.headers.get(\"Content-Type\");\n if (contentType && contentType.match(/json/)) {\n return _this4.parseJsonResponse(response);\n }\n\n if (!response.ok) {\n return response.text().then(function (data) {\n return Promise.reject(new TextHTTPError(response, data));\n });\n }\n return response.text().then(function (data) {\n data;\n });\n });\n }\n }]);\n\n return API;\n}();\n\nexports.default = API;\n\n/***/ }),\n/* 7 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _preact = __webpack_require__(0);\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Button = function (_Component) {\n _inherits(Button, _Component);\n\n function Button() {\n _classCallCheck(this, Button);\n\n return _possibleConstructorReturn(this, (Button.__proto__ || Object.getPrototypeOf(Button)).apply(this, arguments));\n }\n\n _createClass(Button, [{\n key: \"render\",\n value: function render() {\n var _props = this.props,\n saving = _props.saving,\n text = _props.text,\n saving_text = _props.saving_text;\n\n\n return (0, _preact.h)(\n \"button\",\n { type: \"submit\", className: \"btn\" + (saving ? \" saving\" : \"\") },\n saving ? saving_text || \"Saving\" : text || \"Save\"\n );\n }\n }]);\n\n return Button;\n}(_preact.Component);\n\nexports.default = Button;\n\n/***/ }),\n/* 8 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _preact = __webpack_require__(0);\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar messages = {\n confirm: {\n type: \"success\",\n text: \"A confirmation message was sent to your email, click the link there to continue.\"\n },\n password_mail: {\n type: \"success\",\n text: \"We've sent a recovery email to your account, follow the link there to reset your password.\"\n },\n email_changed: {\n type: \"sucess\",\n text: \"Your email address has been updated!\"\n },\n verfication_error: {\n type: \"error\",\n text: \"There was an error verifying your account. Please try again or contact an administrator.\"\n },\n signup_disabled: {\n type: \"error\",\n text: \"Public signups are disabled. Contact an administrator and ask for an invite.\"\n }\n};\n\nvar Message = function (_Component) {\n _inherits(Message, _Component);\n\n function Message() {\n _classCallCheck(this, Message);\n\n return _possibleConstructorReturn(this, (Message.__proto__ || Object.getPrototypeOf(Message)).apply(this, arguments));\n }\n\n _createClass(Message, [{\n key: \"render\",\n value: function render() {\n var type = this.props.type;\n\n var msg = messages[type];\n\n return (0, _preact.h)(\n \"div\",\n { className: \"flashMessage \" + msg.type },\n (0, _preact.h)(\n \"span\",\n null,\n msg.text\n )\n );\n }\n }]);\n\n return Message;\n}(_preact.Component);\n\nexports.default = Message;\n\n/***/ }),\n/* 9 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\n\nvar _preact = __webpack_require__(0);\n\nvar _mobx = __webpack_require__(1);\n\nvar _mobxPreact = __webpack_require__(2);\n\nvar _gotrueJs = __webpack_require__(14);\n\nvar _gotrueJs2 = _interopRequireDefault(_gotrueJs);\n\nvar _app = __webpack_require__(18);\n\nvar _app2 = _interopRequireDefault(_app);\n\nvar _store = __webpack_require__(24);\n\nvar _store2 = _interopRequireDefault(_store);\n\nvar _controls = __webpack_require__(25);\n\nvar _controls2 = _interopRequireDefault(_controls);\n\nvar _modal = __webpack_require__(26);\n\nvar _modal2 = _interopRequireDefault(_modal);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar callbacks = {};\nfunction trigger(callback) {\n var _arguments = arguments;\n\n (callbacks[callback] || []).forEach(function (cb) {\n cb.apply(cb, Array.prototype.slice.call(_arguments, 1));\n });\n}\n\nvar validActions = {\n login: true,\n signup: true,\n error: true\n};\n\nvar netlifyIdentity = {\n on: function on(event, cb) {\n callbacks[event] = callbacks[event] || [];\n callbacks[event].push(cb);\n },\n open: function open(action) {\n action = action || \"login\";\n if (!validActions[action]) {\n throw new Error(\"Invalid action for open: \" + action);\n }\n _store2.default.openModal(_store2.default.user ? \"user\" : action);\n },\n close: function close() {\n _store2.default.closeModal();\n },\n currentUser: function currentUser() {\n return _store2.default.gotrue && _store2.default.gotrue.currentUser();\n },\n logout: function logout() {\n return _store2.default.logout();\n },\n get gotrue() {\n if (!_store2.default.gotrue) {\n _store2.default.openModal(\"login\");\n }\n return _store2.default.gotrue;\n },\n init: function init(options) {\n _init(options);\n },\n store: _store2.default\n};\n\nvar queuedIframeStyle = null;\nfunction setStyle(el, css) {\n var style = \"\";\n for (var key in css) {\n style += key + \": \" + css[key] + \"; \";\n }\n if (el) {\n el.setAttribute(\"style\", style);\n } else {\n queuedIframeStyle = style;\n }\n}\n\nvar localHosts = {\n localhost: true,\n \"127.0.0.1\": true,\n \"0.0.0.0\": true,\n \"identity.netlify.com\": true\n};\n\nfunction instantiateGotrue(APIUrl) {\n var isLocal = localHosts[document.location.host.split(\":\").shift()];\n var siteURL = isLocal && localStorage.getItem(\"netlifySiteURL\");\n if (APIUrl) {\n return new _gotrueJs2.default({ APIUrl: APIUrl, setCookie: !isLocal });\n }\n if (isLocal && siteURL) {\n var parts = [siteURL];\n if (!siteURL.match(/\\/$/)) {\n parts.push(\"/\");\n }\n parts.push(\".netlify/identity\");\n _store2.default.setIsLocal(isLocal);\n _store2.default.setSiteURL(siteURL);\n return new _gotrueJs2.default({ APIUrl: parts.join(\"\"), setCookie: !isLocal });\n }\n if (isLocal) {\n _store2.default.setIsLocal(isLocal);\n return null;\n }\n\n return new _gotrueJs2.default({ setCookie: !isLocal });\n}\n\nvar root = void 0;\nvar iframe = void 0;\nvar iframeStyle = {\n position: \"fixed\",\n top: 0,\n left: 0,\n border: \"none\",\n width: \"100%\",\n height: \"100%\",\n overflow: \"visible\",\n background: \"transparent\",\n display: \"none\",\n \"z-index\": 99\n};\n\n(0, _mobx.observe)(_store2.default.modal, \"isOpen\", function () {\n if (!_store2.default.settings) {\n _store2.default.loadSettings();\n }\n setStyle(iframe, Object.assign({}, iframeStyle, {\n display: _store2.default.modal.isOpen ? \"block !important\" : \"none\"\n }));\n if (_store2.default.modal.isOpen) {\n trigger(\"open\", _store2.default.modal.page);\n } else {\n trigger(\"close\");\n }\n});\n\n(0, _mobx.observe)(_store2.default, \"siteURL\", function () {\n if (_store2.default.siteURL === null || _store2.default.siteURL === undefined) {\n localStorage.removeItem(\"netlifySiteURL\");\n } else {\n localStorage.setItem(\"netlifySiteURL\", _store2.default.siteURL);\n }\n _store2.default.init(instantiateGotrue(), true);\n});\n\n(0, _mobx.observe)(_store2.default, \"user\", function () {\n if (_store2.default.user) {\n trigger(\"login\", _store2.default.user);\n } else {\n trigger(\"logout\");\n }\n});\n\n(0, _mobx.observe)(_store2.default, \"gotrue\", function () {\n _store2.default.gotrue && trigger(\"init\", _store2.default.gotrue.currentUser());\n});\n\n(0, _mobx.observe)(_store2.default, \"error\", function () {\n trigger(\"error\", _store2.default.error);\n});\n\nvar routes = /(confirmation|invite|recovery|email_change)_token=([^&]+)/;\nvar errorRoute = /error=access_denied&error_description=403/;\nvar accessTokenRoute = /access_token=/;\n\nfunction runRoutes() {\n var hash = (document.location.hash || \"\").replace(/^#\\/?/, \"\");\n if (!hash) {\n return;\n }\n\n var m = hash.match(routes);\n if (m) {\n _store2.default.verifyToken(m[1], m[2]);\n document.location.hash = \"\";\n }\n\n var em = hash.match(errorRoute);\n if (em) {\n _store2.default.openModal(\"signup\");\n document.location.hash = \"\";\n }\n\n var am = hash.match(accessTokenRoute);\n if (am) {\n var params = {};\n hash.split(\"&\").forEach(function (pair) {\n var _pair$split = pair.split(\"=\"),\n _pair$split2 = _slicedToArray(_pair$split, 2),\n key = _pair$split2[0],\n value = _pair$split2[1];\n\n params[key] = value;\n });\n if (!!document && params[\"access_token\"]) {\n document.cookie = \"nf_jwt=\" + params[\"access_token\"];\n }\n document.location.hash = \"\";\n _store2.default.openModal(\"login\");\n _store2.default.completeExternalLogin(params);\n }\n}\n\nfunction _init() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var APIUrl = options.APIUrl,\n _options$logo = options.logo,\n logo = _options$logo === undefined ? true : _options$logo,\n namePlaceholder = options.namePlaceholder;\n\n var controlEls = document.querySelectorAll(\"[data-netlify-identity-menu],[data-netlify-identity-button]\");\n Array.prototype.slice.call(controlEls).forEach(function (el) {\n var controls = null;\n var mode = el.getAttribute(\"data-netlify-identity-menu\") === null ? \"button\" : \"menu\";\n (0, _preact.render)((0, _preact.h)(\n _mobxPreact.Provider,\n { store: _store2.default },\n (0, _preact.h)(_controls2.default, { mode: mode, text: el.innerText.trim() })\n ), el, controls);\n });\n\n _store2.default.init(instantiateGotrue(APIUrl));\n _store2.default.modal.logo = logo;\n _store2.default.setNamePlaceholder(namePlaceholder);\n iframe = document.createElement(\"iframe\");\n iframe.id = \"netlify-identity-widget\";\n iframe.onload = function () {\n var styles = iframe.contentDocument.createElement(\"style\");\n styles.innerHTML = _modal2.default.toString();\n iframe.contentDocument.head.appendChild(styles);\n root = (0, _preact.render)((0, _preact.h)(\n _mobxPreact.Provider,\n { store: _store2.default },\n (0, _preact.h)(_app2.default, null)\n ), iframe.contentDocument.body, root);\n runRoutes();\n };\n setStyle(iframe, iframeStyle);\n iframe.src = \"about:blank\";\n var container = options.container ? document.querySelector(options.container) : document.body;\n container.appendChild(iframe);\n /* There's a certain case where we might have called setStyle before the iframe was ready.\n Make sure we take the last style and apply it */\n if (queuedIframeStyle) {\n iframe.setAttribute(\"style\", queuedIframeStyle);\n queuedIframeStyle = null;\n }\n}\n\nexports.default = netlifyIdentity;\n\n/***/ }),\n/* 10 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar g;\n\n// This works in non-strict mode\ng = function () {\n\treturn this;\n}();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || Function(\"return this\")() || (1, eval)(\"this\");\n} catch (e) {\n\t// This works if the window reference is available\n\tif ((typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n\n/***/ }),\n/* 11 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.connect = connect;\n\nvar _observer = __webpack_require__(3);\n\nvar _inject = __webpack_require__(5);\n\nfunction connect(arg1, arg2) {\n if (typeof arg1 === 'string') {\n throw new Error('Store names should be provided as array');\n }\n if (Array.isArray(arg1)) {\n if (!arg2) {\n // invoked as decorator\n return function (componentClass) {\n return connect(arg1, componentClass);\n };\n } else {\n return _inject.inject.apply(null, arg1)(connect(arg2));\n }\n }\n return (0, _observer.observer)(arg1);\n}\n\n/***/ }),\n/* 12 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\n\nvar REACT_STATICS = {\n childContextTypes: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\n\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = getPrototypeOf && getPrototypeOf(Object);\n\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n if (!REACT_STATICS[key] && !KNOWN_STATICS[key] && (!blacklist || !blacklist[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n\n return targetComponent;\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n\n/***/ }),\n/* 13 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Provider = undefined;\n\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n }\n }return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n };\n}();\n\nvar _preact = __webpack_require__(0);\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }return call && ((typeof call === \"undefined\" ? \"undefined\" : _typeof(call)) === \"object\" || typeof call === \"function\") ? call : self;\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : _typeof(superClass)));\n }subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } });if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\n\nvar specialReactKeys = { children: true, key: true, ref: true };\n\nvar logger = console; // eslint-disable-line no-console\n\nvar Provider = exports.Provider = function (_Component) {\n _inherits(Provider, _Component);\n\n function Provider() {\n _classCallCheck(this, Provider);\n\n return _possibleConstructorReturn(this, (Provider.__proto__ || Object.getPrototypeOf(Provider)).apply(this, arguments));\n }\n\n _createClass(Provider, [{\n key: 'render',\n value: function render(_ref) {\n var children = _ref.children;\n\n return children.length > 1 ? (0, _preact.h)('div', null, ' ', children, ' ') : children[0];\n }\n }, {\n key: 'getChildContext',\n value: function getChildContext() {\n var stores = {};\n // inherit stores\n var baseStores = this.context.mobxStores;\n if (baseStores) {\n for (var key in baseStores) {\n stores[key] = baseStores[key];\n }\n }\n // add own stores\n for (var _key in this.props) {\n if (!specialReactKeys[_key] && _key !== 'suppressChangedStoreWarning') {\n stores[_key] = this.props[_key];\n }\n }\n\n return {\n mobxStores: stores\n };\n }\n }, {\n key: 'componentWillReceiveProps',\n value: function componentWillReceiveProps(nextProps) {\n // Maybe this warning is too aggressive?\n if (Object.keys(nextProps).length !== Object.keys(this.props).length) {\n logger.warn('MobX Provider: The set of provided stores has changed. Please avoid changing stores as the change might not propagate to all children');\n }\n if (!nextProps.suppressChangedStoreWarning) {\n for (var key in nextProps) {\n if (!specialReactKeys[key] && this.props[key] !== nextProps[key]) {\n logger.warn('MobX Provider: Provided store \\'' + key + '\\' has changed. Please avoid replacing stores as the change might not propagate to all children');\n }\n }\n }\n }\n }]);\n\n return Provider;\n}(_preact.Component);\n\n/***/ }),\n/* 14 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n }\n }return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n };\n}();\n\nvar _microApiClient = __webpack_require__(6);\n\nvar _microApiClient2 = _interopRequireDefault(_microApiClient);\n\nvar _user = __webpack_require__(16);\n\nvar _user2 = _interopRequireDefault(_user);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nvar HTTPRegexp = /^http:\\/\\//;\nvar defaultApiURL = \"/.netlify/identity\";\n\nvar GoTrue = function () {\n function GoTrue() {\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref$APIUrl = _ref.APIUrl,\n APIUrl = _ref$APIUrl === undefined ? defaultApiURL : _ref$APIUrl,\n _ref$audience = _ref.audience,\n audience = _ref$audience === undefined ? \"\" : _ref$audience,\n _ref$setCookie = _ref.setCookie,\n setCookie = _ref$setCookie === undefined ? false : _ref$setCookie;\n\n _classCallCheck(this, GoTrue);\n\n if (APIUrl.match(HTTPRegexp)) {\n console.warn(\"Warning:\\n\\nDO NOT USE HTTP IN PRODUCTION FOR GOTRUE EVER!\\nGoTrue REQUIRES HTTPS to work securely.\");\n }\n\n if (audience) {\n this.audience = audience;\n }\n\n this.setCookie = setCookie;\n\n this.api = new _microApiClient2.default(APIUrl);\n }\n\n _createClass(GoTrue, [{\n key: \"_request\",\n value: function _request(path) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n options.headers = options.headers || {};\n var aud = options.audience || this.audience;\n if (aud) {\n options.headers[\"X-JWT-AUD\"] = aud;\n }\n return this.api.request(path, options).catch(function (err) {\n if (err instanceof _microApiClient.JSONHTTPError && err.json) {\n if (err.json.msg) {\n err.message = err.json.msg;\n } else if (err.json.error) {\n err.message = err.json.error + \": \" + err.json.error_description;\n }\n }\n return Promise.reject(err);\n });\n }\n }, {\n key: \"settings\",\n value: function settings() {\n return this._request(\"/settings\");\n }\n }, {\n key: \"signup\",\n value: function signup(email, password, data) {\n return this._request(\"/signup\", {\n method: \"POST\",\n body: JSON.stringify({ email: email, password: password, data: data })\n });\n }\n }, {\n key: \"login\",\n value: function login(email, password, remember) {\n var _this = this;\n\n this._setRememberHeaders(remember);\n return this._request(\"/token\", {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/x-www-form-urlencoded\" },\n body: \"grant_type=password&username=\" + encodeURIComponent(email) + \"&password=\" + encodeURIComponent(password)\n }).then(function (response) {\n _user2.default.removeSavedSession();\n return _this.createUser(response, remember);\n });\n }\n }, {\n key: \"loginExternalUrl\",\n value: function loginExternalUrl(provider) {\n return this.api.apiURL + \"/authorize?provider=\" + provider;\n }\n }, {\n key: \"confirm\",\n value: function confirm(token, remember) {\n this._setRememberHeaders(remember);\n return this.verify(\"signup\", token, remember);\n }\n }, {\n key: \"requestPasswordRecovery\",\n value: function requestPasswordRecovery(email) {\n return this._request(\"/recover\", {\n method: \"POST\",\n body: JSON.stringify({ email: email })\n });\n }\n }, {\n key: \"recover\",\n value: function recover(token, remember) {\n this._setRememberHeaders(remember);\n return this.verify(\"recovery\", token, remember);\n }\n }, {\n key: \"acceptInvite\",\n value: function acceptInvite(token, password, remember) {\n var _this2 = this;\n\n this._setRememberHeaders(remember);\n return this._request(\"/verify\", {\n method: \"POST\",\n body: JSON.stringify({ token: token, password: password, type: \"signup\" })\n }).then(function (response) {\n return _this2.createUser(response, remember);\n });\n }\n }, {\n key: \"acceptInviteExternalUrl\",\n value: function acceptInviteExternalUrl(provider, token) {\n return this.api.apiURL + \"/authorize?provider=\" + provider + \"&invite_token=\" + token;\n }\n }, {\n key: \"createUser\",\n value: function createUser(tokenResponse) {\n var remember = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n this._setRememberHeaders(remember);\n var user = new _user2.default(this.api, tokenResponse, this.audience);\n return user.getUserData().then(function (user) {\n if (remember) {\n user._saveSession();\n }\n return user;\n });\n }\n }, {\n key: \"currentUser\",\n value: function currentUser() {\n var user = _user2.default.recoverSession(this.api);\n user && this._setRememberHeaders(user._fromStorage);\n return user;\n }\n }, {\n key: \"verify\",\n value: function verify(type, token, remember) {\n var _this3 = this;\n\n this._setRememberHeaders(remember);\n return this._request(\"/verify\", {\n method: \"POST\",\n body: JSON.stringify({ token: token, type: type })\n }).then(function (response) {\n return _this3.createUser(response, remember);\n });\n }\n }, {\n key: \"_setRememberHeaders\",\n value: function _setRememberHeaders(remember) {\n if (this.setCookie) {\n this.api.defaultHeaders = this.api.defaultHeaders || {};\n this.api.defaultHeaders[\"X-Use-Cookie\"] = remember ? \"1\" : \"session\";\n }\n }\n }]);\n\n return GoTrue;\n}();\n\nexports.default = GoTrue;\n\nif (typeof window !== \"undefined\") {\n window.GoTrue = GoTrue;\n}\n\n/***/ }),\n/* 15 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\n\nexports.getPagination = getPagination;\nfunction getPagination(response) {\n var links = response.headers.get(\"Link\");\n var pagination = {};\n //var link, url, rel, m, page;\n if (links == null) {\n return null;\n }\n links = links.split(\",\");\n var total = response.headers.get(\"X-Total-Count\");\n\n for (var i = 0, len = links.length; i < len; i++) {\n var link = links[i].replace(/(^\\s*|\\s*$)/, \"\");\n\n var _link$split = link.split(\";\"),\n _link$split2 = _slicedToArray(_link$split, 2),\n url = _link$split2[0],\n rel = _link$split2[1];\n\n var m = url.match(/page=(\\d+)/);\n var page = m && parseInt(m[1], 10);\n if (rel.match(/last/)) {\n pagination.last = page;\n } else if (rel.match(/next/)) {\n pagination.next = page;\n } else if (rel.match(/prev/)) {\n pagination.prev = page;\n } else if (rel.match(/first/)) {\n pagination.first = page;\n }\n }\n\n pagination.last = Math.max(pagination.last || 0, pagination.prev && pagination.prev + 1 || 0);\n pagination.current = pagination.next ? pagination.next - 1 : pagination.last || 1;\n pagination.total = total ? parseInt(total, 10) : null;\n\n return pagination;\n}\n\n/***/ }),\n/* 16 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }return target;\n};\n\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n }\n }return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n };\n}();\n\nvar _microApiClient = __webpack_require__(6);\n\nvar _microApiClient2 = _interopRequireDefault(_microApiClient);\n\nvar _admin = __webpack_require__(17);\n\nvar _admin2 = _interopRequireDefault(_admin);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nvar ExpiryMargin = 60 * 1000;\nvar storageKey = \"gotrue.user\";\nvar refreshPromises = {};\nvar currentUser = null;\nvar forbiddenUpdateAttributes = { api: 1, token: 1, audience: 1, url: 1 };\nvar forbiddenSaveAttributes = { api: 1 };\n\nvar User = function () {\n function User(api, tokenResponse, audience) {\n _classCallCheck(this, User);\n\n this.api = api;\n this.url = api.apiURL;\n this.audience = audience;\n this._processTokenResponse(tokenResponse);\n currentUser = this;\n }\n\n _createClass(User, [{\n key: \"update\",\n value: function update(attributes) {\n var _this = this;\n\n return this._request(\"/user\", {\n method: \"PUT\",\n body: JSON.stringify(attributes)\n }).then(function (response) {\n return _this._saveUserData(response)._refreshSavedSession();\n });\n }\n }, {\n key: \"jwt\",\n value: function jwt(forceRefresh) {\n var _tokenDetails = this.tokenDetails(),\n expires_at = _tokenDetails.expires_at,\n refresh_token = _tokenDetails.refresh_token,\n access_token = _tokenDetails.access_token;\n\n if (forceRefresh || expires_at - ExpiryMargin < Date.now()) {\n return this._refreshToken(refresh_token);\n }\n return Promise.resolve(access_token);\n }\n }, {\n key: \"logout\",\n value: function logout() {\n return this._request(\"/logout\", { method: \"POST\" }).then(this.clearSession.bind(this)).catch(this.clearSession.bind(this));\n }\n }, {\n key: \"_refreshToken\",\n value: function _refreshToken(refresh_token) {\n var _this2 = this;\n\n if (refreshPromises[refresh_token]) {\n return refreshPromises[refresh_token];\n }\n return refreshPromises[refresh_token] = this.api.request(\"/token\", {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/x-www-form-urlencoded\" },\n body: \"grant_type=refresh_token&refresh_token=\" + refresh_token\n }).then(function (response) {\n delete refreshPromises[refresh_token];\n _this2._processTokenResponse(response);\n _this2._refreshSavedSession();\n return _this2.token.access_token;\n }).catch(function (error) {\n delete refreshPromises[refresh_token];\n _this2.clearSession();\n return Promise.reject(error);\n });\n }\n }, {\n key: \"_request\",\n value: function _request(path) {\n var _this3 = this;\n\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n options.headers = options.headers || {};\n\n var aud = options.audience || this.audience;\n if (aud) {\n options.headers[\"X-JWT-AUD\"] = aud;\n }\n\n return this.jwt().then(function (token) {\n return _this3.api.request(path, _extends({\n headers: Object.assign(options.headers, {\n Authorization: \"Bearer \" + token\n })\n }, options)).catch(function (err) {\n if (err instanceof _microApiClient.JSONHTTPError && err.json) {\n if (err.json.msg) {\n err.message = err.json.msg;\n } else if (err.json.error) {\n err.message = err.json.error + \": \" + err.json.error_description;\n }\n }\n return Promise.reject(err);\n });\n });\n }\n }, {\n key: \"getUserData\",\n value: function getUserData() {\n return this._request(\"/user\").then(this._saveUserData.bind(this)).then(this._refreshSavedSession.bind(this));\n }\n }, {\n key: \"_saveUserData\",\n value: function _saveUserData(attributes, fromStorage) {\n for (var key in attributes) {\n if (key in User.prototype || key in forbiddenUpdateAttributes) {\n continue;\n }\n this[key] = attributes[key];\n }\n if (fromStorage) {\n this._fromStorage = true;\n }\n return this;\n }\n }, {\n key: \"_processTokenResponse\",\n value: function _processTokenResponse(tokenResponse) {\n this.token = tokenResponse;\n var claims = void 0;\n try {\n claims = JSON.parse(urlBase64Decode(tokenResponse.access_token.split(\".\")[1]));\n this.token.expires_at = claims.exp * 1000;\n } catch (e) {\n console.error(new Error(\"Gotrue-js: Failed to parse tokenResponse claims: \" + JSON.stringify(tokenResponse)));\n }\n }\n }, {\n key: \"_refreshSavedSession\",\n value: function _refreshSavedSession() {\n // only update saved session if we previously saved something\n if (localStorage.getItem(storageKey)) {\n this._saveSession();\n }\n return this;\n }\n }, {\n key: \"_saveSession\",\n value: function _saveSession() {\n localStorage.setItem(storageKey, JSON.stringify(this._details));\n return this;\n }\n }, {\n key: \"tokenDetails\",\n value: function tokenDetails() {\n return this.token;\n }\n }, {\n key: \"clearSession\",\n value: function clearSession() {\n User.removeSavedSession();\n this.token = null;\n currentUser = null;\n }\n }, {\n key: \"admin\",\n get: function get() {\n return new _admin2.default(this);\n }\n }, {\n key: \"_details\",\n get: function get() {\n var userCopy = {};\n for (var key in this) {\n if (key in User.prototype || key in forbiddenSaveAttributes) {\n continue;\n }\n userCopy[key] = this[key];\n }\n return userCopy;\n }\n }], [{\n key: \"removeSavedSession\",\n value: function removeSavedSession() {\n localStorage.removeItem(storageKey);\n }\n }, {\n key: \"recoverSession\",\n value: function recoverSession(apiInstance) {\n if (currentUser) {\n return currentUser;\n }\n\n var json = localStorage.getItem(storageKey);\n if (json) {\n try {\n var data = JSON.parse(json);\n var url = data.url,\n token = data.token,\n audience = data.audience;\n\n if (!url || !token) {\n return null;\n }\n\n var api = apiInstance || new _microApiClient2.default(url, {});\n return new User(api, token, audience)._saveUserData(data, true);\n } catch (ex) {\n console.error(new Error(\"Gotrue-js: Error recovering session: \" + ex));\n return null;\n }\n }\n\n return null;\n }\n }]);\n\n return User;\n}();\n\nexports.default = User;\n\nfunction urlBase64Decode(str) {\n // From https://jwt.io/js/jwt.js\n var output = str.replace(/-/g, '+').replace(/_/g, '/');\n switch (output.length % 4) {\n case 0:\n break;\n case 2:\n output += '==';\n break;\n case 3:\n output += '=';\n break;\n default:\n throw 'Illegal base64url string!';\n }\n var result = window.atob(output); //polifyll https://github.com/davidchambers/Base64.js\n try {\n return decodeURIComponent(escape(result));\n } catch (err) {\n return result;\n }\n}\n\n/***/ }),\n/* 17 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n }\n }return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n };\n}();\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nvar Admin = function () {\n function Admin(user) {\n _classCallCheck(this, Admin);\n\n this.user = user;\n }\n\n // Return a list of all users in an audience\n\n\n _createClass(Admin, [{\n key: \"listUsers\",\n value: function listUsers(aud) {\n return this.user._request(\"/admin/users\", {\n method: \"GET\",\n audience: aud\n });\n }\n }, {\n key: \"getUser\",\n value: function getUser(user) {\n return this.user._request(\"/admin/users/\" + user.id);\n }\n }, {\n key: \"updateUser\",\n value: function updateUser(user) {\n var attributes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n return this.user._request(\"/admin/users/\" + user.id, {\n method: \"PUT\",\n body: JSON.stringify(attributes)\n });\n }\n }, {\n key: \"createUser\",\n value: function createUser(email, password) {\n var attributes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n attributes.email = email;\n attributes.password = password;\n return this.user._request(\"/admin/users\", {\n method: \"POST\",\n body: JSON.stringify(attributes)\n });\n }\n }, {\n key: \"deleteUser\",\n value: function deleteUser(user) {\n return this.user._request(\"/admin/users/\" + user.id, {\n method: \"DELETE\"\n });\n }\n }]);\n\n return Admin;\n}();\n\nexports.default = Admin;\n\n/***/ }),\n/* 18 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _dec, _class;\n\nvar _preact = __webpack_require__(0);\n\nvar _mobxPreact = __webpack_require__(2);\n\nvar _modal = __webpack_require__(19);\n\nvar _modal2 = _interopRequireDefault(_modal);\n\nvar _siteurl = __webpack_require__(20);\n\nvar _siteurl2 = _interopRequireDefault(_siteurl);\n\nvar _logout = __webpack_require__(21);\n\nvar _logout2 = _interopRequireDefault(_logout);\n\nvar _user = __webpack_require__(22);\n\nvar _user2 = _interopRequireDefault(_user);\n\nvar _providers = __webpack_require__(23);\n\nvar _providers2 = _interopRequireDefault(_providers);\n\nvar _message = __webpack_require__(8);\n\nvar _message2 = _interopRequireDefault(_message);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar pagesWithHeader = { login: true, signup: true };\nvar pages = {\n login: {\n login: true,\n button: \"Log in\",\n button_saving: \"Logging in\",\n email: true,\n password: true,\n link: \"amnesia\",\n link_text: \"Forgot password?\",\n providers: true\n },\n signup: {\n signup: true,\n button: \"Sign up\",\n button_saving: \"Signing Up\",\n name: true,\n email: true,\n password: true,\n providers: true\n },\n amnesia: {\n title: \"Recover password\",\n button: \"Send recovery email\",\n button_saving: \"Sending recovery email\",\n email: true,\n link: \"login\",\n link_text: \"Never mind\"\n },\n recovery: {\n title: \"Recover password\",\n button: \"Update password\",\n button_saving: \"Updating password\",\n password: true,\n link: \"login\",\n link_text: \"Never mind\"\n },\n invite: {\n title: \"Complete your signup\",\n button: \"Sign up\",\n button_saving: \"Signing Up\",\n password: true,\n providers: true\n },\n user: {\n title: \"Logged in\"\n }\n};\n\nvar App = (_dec = (0, _mobxPreact.connect)([\"store\"]), _dec(_class = function (_Component) {\n _inherits(App, _Component);\n\n function App() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, App);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = App.__proto__ || Object.getPrototypeOf(App)).call.apply(_ref, [this].concat(args))), _this), _this.handleClose = function () {\n return _this.props.store.closeModal();\n }, _this.handlePage = function (page) {\n return _this.props.store.openModal(page);\n }, _this.handleLogout = function () {\n return _this.props.store.logout();\n }, _this.handleSiteURL = function (url) {\n return _this.props.store.setSiteURL(url);\n }, _this.clearSiteURL = function (url) {\n return _this.props.store.clearSiteURL();\n }, _this.handleExternalLogin = function (provider) {\n return _this.props.store.externalLogin(provider);\n }, _this.handleUser = function (_ref2) {\n var name = _ref2.name,\n email = _ref2.email,\n password = _ref2.password;\n var store = _this.props.store;\n\n\n switch (store.modal.page) {\n case \"login\":\n store.login(email, password);\n break;\n case \"signup\":\n store.signup(name, email, password);\n break;\n case \"amnesia\":\n store.requestPasswordRecovery(email);\n break;\n case \"invite\":\n store.acceptInvite(password);\n break;\n case \"recovery\":\n store.updatePassword(password);\n break;\n }\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(App, [{\n key: \"renderBody\",\n value: function renderBody() {\n var _this2 = this;\n\n var store = this.props.store;\n\n var page = pages[store.modal.page] || {};\n var pageLinkHandler = function pageLinkHandler() {\n return _this2.handlePage(page.link);\n };\n\n if (store.isLocal && store.siteURL === null) {\n return (0, _preact.h)(_siteurl2.default, {\n devMode: store.siteURL != null,\n onSiteURL: store.siteURL ? this.clearSiteURL : this.handleSiteURL\n });\n }\n if (!store.settings) {\n return;\n }\n if (store.user) {\n return (0, _preact.h)(_logout2.default, {\n user: store.user,\n saving: store.saving,\n onLogout: this.handleLogout\n });\n }\n if (store.modal.page === \"signup\" && store.settings.disable_signup) {\n return (0, _preact.h)(_message2.default, { type: \"signup_disabled\" });\n }\n\n return (0, _preact.h)(\n \"div\",\n null,\n (0, _preact.h)(_user2.default, {\n page: pages[store.modal.page] || {},\n message: store.message,\n saving: store.saving,\n onSubmit: this.handleUser,\n namePlaceholder: store.namePlaceholder\n }),\n !store.user && page.link && store.gotrue && (0, _preact.h)(\n \"button\",\n {\n onclick: pageLinkHandler,\n className: \"btnLink forgotPasswordLink\"\n },\n page.link_text\n ),\n store.isLocal ? (0, _preact.h)(_siteurl2.default, {\n devMode: store.siteURL != null,\n onSiteURL: store.siteURL ? this.clearSiteURL : this.handleSiteURL\n }) : (0, _preact.h)(\"div\", null)\n );\n }\n }, {\n key: \"renderProviders\",\n value: function renderProviders() {\n var store = this.props.store;\n\n\n if (!(store.gotrue && store.settings)) {\n return null;\n }\n if (store.modal.page === \"signup\" && store.settings.disable_signup) {\n return null;\n }\n var page = pages[store.modal.page] || {};\n\n if (!page.providers) {\n return null;\n }\n\n var providers = [\"Google\", \"GitHub\", \"GitLab\", \"BitBucket\", \"SAML\"].filter(function (p) {\n return store.settings.external[p.toLowerCase()];\n });\n\n return providers.length ? (0, _preact.h)(_providers2.default, {\n providers: providers,\n labels: store.settings.external_labels || {},\n onLogin: this.handleExternalLogin\n }) : null;\n }\n }, {\n key: \"render\",\n value: function render() {\n var store = this.props.store;\n\n var showHeader = pagesWithHeader[store.modal.page];\n var showSignup = store.settings && !store.settings.disable_signup;\n var page = pages[store.modal.page] || {};\n\n return (0, _preact.h)(\n \"div\",\n null,\n (0, _preact.h)(\n _modal2.default,\n {\n page: page,\n error: store.error,\n showHeader: showHeader,\n showSignup: showSignup,\n devSettings: !store.gotrue,\n loading: !store.error && store.gotrue && !store.settings,\n isOpen: store.modal.isOpen,\n onPage: this.handlePage,\n onClose: this.handleClose,\n logo: store.modal.logo\n },\n this.renderBody(),\n this.renderProviders()\n )\n );\n }\n }]);\n\n return App;\n}(_preact.Component)) || _class);\nexports.default = App;\n\n/***/ }),\n/* 19 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _preact = __webpack_require__(0);\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction formatError(error) {\n return error.json && error.json.error_description || error.message || error.toString();\n}\n\nvar Modal = function (_Component) {\n _inherits(Modal, _Component);\n\n function Modal() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, Modal);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Modal.__proto__ || Object.getPrototypeOf(Modal)).call.apply(_ref, [this].concat(args))), _this), _this.handleClose = function (e) {\n e.preventDefault();\n _this.props.onClose();\n }, _this.blockEvent = function (e) {\n e.stopPropagation();\n }, _this.linkHandler = function (page) {\n return function (e) {\n e.preventDefault();\n _this.props.onPage(page);\n };\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(Modal, [{\n key: \"render\",\n value: function render() {\n var _props = this.props,\n page = _props.page,\n error = _props.error,\n loading = _props.loading,\n showHeader = _props.showHeader,\n showSignup = _props.showSignup,\n devSettings = _props.devSettings,\n isOpen = _props.isOpen,\n children = _props.children,\n logo = _props.logo;\n\n var hidden = loading || !isOpen;\n return (0, _preact.h)(\n \"div\",\n {\n className: \"modalContainer\",\n role: \"dialog\",\n \"aria-hidden\": \"\" + hidden,\n onClick: this.handleClose\n },\n (0, _preact.h)(\n \"div\",\n {\n className: \"modalDialog\" + (loading ? \" visuallyHidden\" : \"\"),\n onClick: this.blockEvent\n },\n (0, _preact.h)(\n \"div\",\n { className: \"modalContent\" },\n (0, _preact.h)(\n \"button\",\n { onclick: this.handleClose, className: \"btn btnClose\" },\n (0, _preact.h)(\n \"span\",\n { className: \"visuallyHidden\" },\n \"Close\"\n )\n ),\n showHeader && (0, _preact.h)(\n \"div\",\n { className: \"header\" },\n showSignup && (0, _preact.h)(\n \"button\",\n {\n className: \"btn btnHeader \" + (page.signup ? \"active\" : \"\"),\n onclick: this.linkHandler(\"signup\")\n },\n \"Sign up\"\n ),\n !devSettings && (0, _preact.h)(\n \"button\",\n {\n className: \"btn btnHeader \" + (page.login ? \"active\" : \"\"),\n onclick: this.linkHandler(\"login\")\n },\n \"Log in\"\n )\n ),\n page.title && (0, _preact.h)(\n \"div\",\n { className: \"header\" },\n (0, _preact.h)(\n \"button\",\n { className: \"btn btnHeader active\" },\n page.title\n )\n ),\n devSettings && (0, _preact.h)(\n \"div\",\n { className: \"header\" },\n (0, _preact.h)(\n \"button\",\n { className: \"btn btnHeader active\" },\n \"Development Settings\"\n )\n ),\n error && (0, _preact.h)(\n \"div\",\n { className: \"flashMessage error\" },\n (0, _preact.h)(\n \"span\",\n null,\n formatError(error)\n )\n ),\n children\n )\n ),\n logo && (0, _preact.h)(\n \"a\",\n {\n href: \"https://www.netlify.com\",\n className: \"callOut\" + (loading ? \" visuallyHidden\" : \"\")\n },\n (0, _preact.h)(\"span\", { className: \"netlifyLogo\" }),\n \"Coded by Netlify\"\n )\n );\n }\n }]);\n\n return Modal;\n}(_preact.Component);\n\nexports.default = Modal;\n\n/***/ }),\n/* 20 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _preact = __webpack_require__(0);\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar SiteURLForm = function (_Component) {\n _inherits(SiteURLForm, _Component);\n\n function SiteURLForm(props) {\n _classCallCheck(this, SiteURLForm);\n\n var _this = _possibleConstructorReturn(this, (SiteURLForm.__proto__ || Object.getPrototypeOf(SiteURLForm)).call(this, props));\n\n _this.handleInput = function (e) {\n _this.setState(_defineProperty({}, e.target.name, e.target.value));\n };\n\n _this.addSiteURL = function (e) {\n e.preventDefault();\n _this.props.onSiteURL(_this.state.url);\n };\n\n _this.clearSiteURL = function (e) {\n e.preventDefault;\n _this.props.onSiteURL();\n };\n\n _this.state = { url: \"\", development: props.devMode || false };\n return _this;\n }\n\n _createClass(SiteURLForm, [{\n key: \"render\",\n value: function render() {\n var _this2 = this;\n\n var _state = this.state,\n url = _state.url,\n development = _state.development;\n\n\n return (0, _preact.h)(\n \"div\",\n null,\n development ? (0, _preact.h)(\n \"div\",\n { \"class\": \"subheader\" },\n (0, _preact.h)(\n \"h3\",\n null,\n \"Development Settings\"\n ),\n (0, _preact.h)(\n \"button\",\n {\n onclick: function onclick(e) {\n return _this2.clearSiteURL(e);\n },\n className: \"btnLink forgotPasswordLink\"\n },\n \"Clear localhost URL\"\n )\n ) : (0, _preact.h)(\n \"form\",\n { onsubmit: this.addSiteURL, className: \"form\" },\n (0, _preact.h)(\n \"div\",\n { className: \"flashMessage\" },\n \"Looks like you're running a local server. Please let us know the URL of your Netlify site.\"\n ),\n (0, _preact.h)(\n \"div\",\n { className: \"formGroup\" },\n (0, _preact.h)(\n \"label\",\n null,\n (0, _preact.h)(\n \"span\",\n { className: \"visuallyHidden\" },\n \"Enter your Netlify Site URL\"\n ),\n (0, _preact.h)(\"input\", {\n className: \"formControl\",\n type: \"url\",\n name: \"url\",\n value: url,\n placeholder: \"URL of your Netlify site\",\n autocapitalize: \"off\",\n required: true,\n oninput: this.handleInput\n }),\n (0, _preact.h)(\"div\", { className: \"inputFieldIcon inputFieldUrl\" })\n )\n ),\n (0, _preact.h)(\n \"button\",\n { type: \"submit\", className: \"btn\" },\n \"Set site's URL\"\n )\n )\n );\n }\n }]);\n\n return SiteURLForm;\n}(_preact.Component);\n\nexports.default = SiteURLForm;\n\n/***/ }),\n/* 21 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _preact = __webpack_require__(0);\n\nvar _button = __webpack_require__(7);\n\nvar _button2 = _interopRequireDefault(_button);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar LogoutForm = function (_Component) {\n _inherits(LogoutForm, _Component);\n\n function LogoutForm() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, LogoutForm);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = LogoutForm.__proto__ || Object.getPrototypeOf(LogoutForm)).call.apply(_ref, [this].concat(args))), _this), _this.handleLogout = function (e) {\n e.preventDefault();\n _this.props.onLogout();\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(LogoutForm, [{\n key: \"render\",\n value: function render() {\n var _props = this.props,\n user = _props.user,\n saving = _props.saving;\n\n\n return (0, _preact.h)(\n \"form\",\n {\n onSubmit: this.handleLogout,\n className: \"form \" + (saving ? \"disabled\" : \"\")\n },\n (0, _preact.h)(\n \"p\",\n { className: \"infoText\" },\n \"Logged in as \",\n (0, _preact.h)(\"br\", null),\n (0, _preact.h)(\n \"span\",\n { className: \"infoTextEmail\" },\n user.user_metadata.full_name || user.user_metadata.name || user.email\n )\n ),\n (0, _preact.h)(_button2.default, { saving: saving, text: \"Log out\", saving_text: \"Logging out\" })\n );\n }\n }]);\n\n return LogoutForm;\n}(_preact.Component);\n\nexports.default = LogoutForm;\n\n/***/ }),\n/* 22 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _preact = __webpack_require__(0);\n\nvar _message = __webpack_require__(8);\n\nvar _message2 = _interopRequireDefault(_message);\n\nvar _button = __webpack_require__(7);\n\nvar _button2 = _interopRequireDefault(_button);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar UserForm = function (_Component) {\n _inherits(UserForm, _Component);\n\n function UserForm(props) {\n _classCallCheck(this, UserForm);\n\n var _this = _possibleConstructorReturn(this, (UserForm.__proto__ || Object.getPrototypeOf(UserForm)).call(this, props));\n\n _this.handleInput = function (e) {\n _this.setState(_defineProperty({}, e.target.name, e.target.value));\n };\n\n _this.handleLogin = function (e) {\n e.preventDefault();\n _this.props.onSubmit(_this.state);\n };\n\n _this.state = { name: \"\", email: \"\", password: \"\" };\n return _this;\n }\n\n _createClass(UserForm, [{\n key: \"render\",\n value: function render() {\n var _props = this.props,\n page = _props.page,\n message = _props.message,\n saving = _props.saving,\n namePlaceholder = _props.namePlaceholder;\n var _state = this.state,\n name = _state.name,\n email = _state.email,\n password = _state.password;\n\n\n return (0, _preact.h)(\n \"form\",\n {\n onsubmit: this.handleLogin,\n className: \"form \" + (saving ? \"disabled\" : \"\")\n },\n message && (0, _preact.h)(_message2.default, { type: message }),\n page.name && (0, _preact.h)(\n \"div\",\n { className: \"formGroup\" },\n (0, _preact.h)(\n \"label\",\n null,\n (0, _preact.h)(\n \"span\",\n { className: \"visuallyHidden\" },\n \"Enter your name\"\n ),\n (0, _preact.h)(\"input\", {\n className: \"formControl\",\n type: \"name\",\n name: \"name\",\n value: name,\n placeholder: namePlaceholder ? namePlaceholder : \"Name\",\n autocapitalize: \"off\",\n required: true,\n oninput: this.handleInput\n }),\n (0, _preact.h)(\"div\", { className: \"inputFieldIcon inputFieldName\" })\n )\n ),\n page.email && (0, _preact.h)(\n \"div\",\n { className: \"formGroup\" },\n (0, _preact.h)(\n \"label\",\n null,\n (0, _preact.h)(\n \"span\",\n { className: \"visuallyHidden\" },\n \"Enter your email\"\n ),\n (0, _preact.h)(\"input\", {\n className: \"formControl\",\n type: \"email\",\n name: \"email\",\n value: email,\n placeholder: \"Email\",\n autocapitalize: \"off\",\n required: true,\n oninput: this.handleInput\n }),\n (0, _preact.h)(\"div\", { className: \"inputFieldIcon inputFieldEmail\" })\n )\n ),\n page.password && (0, _preact.h)(\n \"div\",\n { className: \"formGroup\" },\n (0, _preact.h)(\n \"label\",\n null,\n (0, _preact.h)(\n \"span\",\n { className: \"visuallyHidden\" },\n \"Enter your password\"\n ),\n (0, _preact.h)(\"input\", {\n className: \"formControl\",\n type: \"password\",\n name: \"password\",\n value: password,\n placeholder: \"Password\",\n required: true,\n oninput: this.handleInput\n }),\n (0, _preact.h)(\"div\", { className: \"inputFieldIcon inputFieldPassword\" })\n )\n ),\n (0, _preact.h)(_button2.default, {\n saving: saving,\n text: page.button,\n saving_text: page.button_saving\n })\n );\n }\n }]);\n\n return UserForm;\n}(_preact.Component);\n\nexports.default = UserForm;\n\n/***/ }),\n/* 23 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _preact = __webpack_require__(0);\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Provider = function (_Component) {\n _inherits(Provider, _Component);\n\n function Provider() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, Provider);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Provider.__proto__ || Object.getPrototypeOf(Provider)).call.apply(_ref, [this].concat(args))), _this), _this.handleLogin = function (e) {\n e.preventDefault();\n _this.props.onLogin(_this.props.provider.toLowerCase());\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(Provider, [{\n key: \"render\",\n value: function render() {\n var _props = this.props,\n provider = _props.provider,\n label = _props.label;\n\n\n return (0, _preact.h)(\n \"button\",\n {\n onClick: this.handleLogin,\n className: \"provider\" + provider + \" btn btnProvider\"\n },\n \"Continue with \",\n label\n );\n }\n }]);\n\n return Provider;\n}(_preact.Component);\n\nvar Providers = function (_Component2) {\n _inherits(Providers, _Component2);\n\n function Providers() {\n _classCallCheck(this, Providers);\n\n return _possibleConstructorReturn(this, (Providers.__proto__ || Object.getPrototypeOf(Providers)).apply(this, arguments));\n }\n\n _createClass(Providers, [{\n key: \"getLabel\",\n value: function getLabel(p) {\n var pId = p.toLowerCase();\n if (pId in this.props.labels) {\n return this.props.labels[pId];\n }\n return p;\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this3 = this;\n\n var _props2 = this.props,\n providers = _props2.providers,\n onLogin = _props2.onLogin;\n\n\n return (0, _preact.h)(\n \"div\",\n { className: \"providersGroup\" },\n (0, _preact.h)(\"hr\", { className: \"hr\" }),\n providers.map(function (p) {\n return (0, _preact.h)(Provider, {\n key: p,\n provider: p,\n label: _this3.getLabel(p),\n onLogin: onLogin\n });\n })\n );\n }\n }]);\n\n return Providers;\n}(_preact.Component);\n\nexports.default = Providers;\n\n/***/ }),\n/* 24 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _mobx = __webpack_require__(1);\n\nvar store = (0, _mobx.observable)({\n user: null,\n recovered_user: null,\n message: null,\n settings: null,\n gotrue: null,\n error: null,\n siteURL: null,\n remember: true,\n saving: false,\n invite_token: null,\n email_change_token: null,\n namePlaceholder: null,\n modal: {\n page: \"login\",\n isOpen: false,\n logo: true\n }\n});\n\nstore.setNamePlaceholder = (0, _mobx.action)(function setNamePlaceholder(namePlaceholder) {\n store.namePlaceholder = namePlaceholder;\n});\n\nstore.startAction = (0, _mobx.action)(function startAction() {\n store.saving = true;\n store.error = null;\n store.message = null;\n});\n\nstore.setError = (0, _mobx.action)(function setError(err) {\n store.saving = false;\n store.error = err;\n});\n\nstore.init = (0, _mobx.action)(function init(gotrue, reloadSettings) {\n if (gotrue) {\n store.gotrue = gotrue;\n store.user = gotrue.currentUser();\n if (store.user) {\n store.modal.page = \"user\";\n }\n }\n if (reloadSettings) {\n store.loadSettings();\n }\n});\n\nstore.loadSettings = (0, _mobx.action)(function loadSettings() {\n if (store.settings) {\n return;\n }\n if (!store.gotrue) {\n return;\n }\n\n store.gotrue.settings().then((0, _mobx.action)(function (settings) {\n return store.settings = settings;\n })).catch((0, _mobx.action)(function (err) {\n store.error = new Error(\"Failed to load settings from \" + store.gotrue.api.apiURL);\n }));\n});\n\nstore.setIsLocal = (0, _mobx.action)(function setIsLocal(isLocal) {\n store.isLocal = isLocal;\n});\n\nstore.setSiteURL = (0, _mobx.action)(function setSiteURL(url) {\n store.siteURL = url;\n});\n\nstore.clearSiteURL = (0, _mobx.action)(function clearSiteURL() {\n store.gotrue = null;\n store.siteURL = null;\n store.settings = null;\n});\n\nstore.login = (0, _mobx.action)(function login(email, password) {\n store.startAction();\n return store.gotrue.login(email, password, store.remember).then((0, _mobx.action)(function (user) {\n store.user = user;\n store.modal.page = \"user\";\n store.invite_token = null;\n if (store.email_change_token) {\n store.doEmailChange();\n }\n store.saving = false;\n })).catch(store.setError);\n});\n\nstore.externalLogin = (0, _mobx.action)(function externalLogin(provider) {\n // store.startAction();\n store.error = null;\n store.message = null;\n var url = store.invite_token ? store.gotrue.acceptInviteExternalUrl(provider, store.invite_token) : store.gotrue.loginExternalUrl(provider);\n window.location.href = url;\n});\n\nstore.completeExternalLogin = (0, _mobx.action)(function completeExternalLogin(params) {\n store.startAction();\n store.gotrue.createUser(params, store.remember).then(function (user) {\n store.user = user;\n store.modal.page = \"user\";\n store.saving = false;\n }).catch(store.setError);\n});\n\nstore.signup = (0, _mobx.action)(function signup(name, email, password) {\n store.startAction();\n return store.gotrue.signup(email, password, { full_name: name }).then((0, _mobx.action)(function () {\n if (store.settings.autoconfirm) {\n store.login(email, password, store.remember);\n } else {\n store.message = \"confirm\";\n }\n store.saving = false;\n })).catch(store.setError);\n});\n\nstore.logout = (0, _mobx.action)(function logout() {\n if (store.user) {\n store.startAction();\n return store.user.logout().then((0, _mobx.action)(function () {\n store.user = null;\n store.modal.page = \"login\";\n store.saving = false;\n })).catch(store.setError);\n } else {\n store.modal.page = \"login\";\n store.saving = false;\n }\n});\n\nstore.updatePassword = (0, _mobx.action)(function updatePassword(password) {\n store.startAction();\n var user = store.recovered_user || store.user;\n user.update({ password: password }).then(function (user) {\n store.user = user;\n store.recovered_user = null;\n store.modal.page = \"user\";\n store.saving = false;\n }).catch(store.setError);\n});\n\nstore.acceptInvite = (0, _mobx.action)(function acceptInvite(password) {\n store.startAction();\n store.gotrue.acceptInvite(store.invite_token, password, store.remember).then(function (user) {\n store.saving = false;\n store.invite_token = null;\n store.user = user;\n store.modal.page = \"user\";\n }).catch(store.setError);\n});\n\nstore.doEmailChange = (0, _mobx.action)(function doEmailChange() {\n store.startAction();\n return store.user.update({ email_change_token: store.email_change_token }).then((0, _mobx.action)(function (user) {\n store.user = user;\n store.email_change_token = null;\n store.message = \"email_changed\";\n store.saving = false;\n })).catch(store.setError);\n});\n\nstore.verifyToken = (0, _mobx.action)(function verifyToken(type, token) {\n var gotrue = store.gotrue;\n store.modal.isOpen = true;\n\n switch (type) {\n case \"confirmation\":\n store.startAction();\n store.modal.page = \"signup\";\n gotrue.confirm(token, store.remember).then((0, _mobx.action)(function (user) {\n store.user = user;\n store.saving = false;\n })).catch((0, _mobx.action)(function (err) {\n console.error(err);\n store.message = \"verfication_error\";\n store.modal.page = \"signup\";\n store.saving = false;\n }));\n break;\n case \"email_change\":\n store.email_change_token = token;\n store.modal.page = \"message\";\n if (store.user) {\n store.doEmailChange();\n } else {\n store.modal.page = \"login\";\n }\n break;\n case \"invite\":\n store.modal.page = type;\n store.invite_token = token;\n break;\n case \"recovery\":\n store.startAction();\n store.modal.page = type;\n store.gotrue.recover(token, store.remember).then(function (user) {\n store.saving = false;\n store.recovered_user = user;\n }).catch(function (err) {\n store.saving = false;\n store.error = err;\n store.modal.page = \"login\";\n });\n break;\n default:\n store.error = \"Unkown token type\";\n }\n});\n\nstore.requestPasswordRecovery = (0, _mobx.action)(function requestPasswordRecovery(email) {\n store.startAction();\n store.gotrue.requestPasswordRecovery(email).then((0, _mobx.action)(function () {\n store.message = \"password_mail\";\n store.saving = false;\n })).catch(store.setError);\n});\n\nstore.openModal = (0, _mobx.action)(function open(page) {\n store.modal.page = page;\n store.modal.isOpen = true;\n});\n\nstore.closeModal = (0, _mobx.action)(function close() {\n store.modal.isOpen = false;\n store.error = null;\n store.message = null;\n store.saving = false;\n});\n\nexports.default = store;\n\n/***/ }),\n/* 25 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _dec, _class;\n\nvar _preact = __webpack_require__(0);\n\nvar _mobxPreact = __webpack_require__(2);\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Controls = (_dec = (0, _mobxPreact.connect)([\"store\"]), _dec(_class = function (_Component) {\n _inherits(Controls, _Component);\n\n function Controls() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, Controls);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Controls.__proto__ || Object.getPrototypeOf(Controls)).call.apply(_ref, [this].concat(args))), _this), _this.handleSignup = function (e) {\n e.preventDefault();\n _this.props.store.openModal(\"signup\");\n }, _this.handleLogin = function (e) {\n e.preventDefault();\n _this.props.store.openModal(\"login\");\n }, _this.handleLogout = function (e) {\n e.preventDefault();\n _this.props.store.openModal(\"user\");\n }, _this.handleButton = function (e) {\n e.preventDefault();\n _this.props.store.openModal(_this.props.store.user ? \"user\" : \"login\");\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(Controls, [{\n key: \"render\",\n value: function render() {\n var user = this.props.store.user;\n\n\n if (this.props.mode === \"button\") {\n return (0, _preact.h)(\n \"a\",\n {\n className: \"netlify-identity-button\",\n href: \"#\",\n onClick: this.handleButton\n },\n this.props.text || (user ? \"Log out\" : \"Log in\")\n );\n }\n\n if (user) {\n return (0, _preact.h)(\n \"ul\",\n { className: \"netlify-identity-menu\" },\n (0, _preact.h)(\n \"li\",\n { className: \"netlify-identity-item netlify-identity-user-details\" },\n \"Logged in as\",\n \" \",\n (0, _preact.h)(\n \"span\",\n { className: \"netlify-identity-user\" },\n user.user_metadata.name || user.email\n )\n ),\n (0, _preact.h)(\n \"li\",\n { className: \"netlify-identity-item\" },\n (0, _preact.h)(\n \"a\",\n {\n className: \"netlify-identity-logout\",\n href: \"#\",\n onClick: this.handleLogout\n },\n \"Log out\"\n )\n )\n );\n }\n\n return (0, _preact.h)(\n \"ul\",\n { className: \"netlify-identity-menu\" },\n (0, _preact.h)(\n \"li\",\n { className: \"netlify-identity-item\" },\n (0, _preact.h)(\n \"a\",\n {\n className: \"netlify-identity-signup\",\n href: \"#\",\n onClick: this.handleSignup\n },\n \"Sign up\"\n )\n ),\n (0, _preact.h)(\n \"li\",\n { className: \"netlify-identity-item\" },\n (0, _preact.h)(\n \"a\",\n {\n className: \"netlify-identity-login\",\n href: \"#\",\n onClick: this.handleLogin\n },\n \"Log in\"\n )\n )\n );\n }\n }]);\n\n return Controls;\n}(_preact.Component)) || _class);\nexports.default = Controls;\n\n/***/ }),\n/* 26 */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(27)(false);\n// imports\n\n\n// module\nexports.push([module.i, \"::-webkit-input-placeholder {\\n /* Chrome/Opera/Safari */\\n color: #a3a9ac;\\n font-weight: 500;\\n}\\n\\n::-moz-placeholder {\\n /* Firefox 19+ */\\n color: #a3a9ac;\\n font-weight: 500;\\n}\\n\\n:-ms-input-placeholder {\\n /* IE 10+ */\\n color: #a3a9ac;\\n font-weight: 500;\\n}\\n\\n:-moz-placeholder {\\n /* Firefox 18- */\\n color: #a3a9ac;\\n font-weight: 500;\\n}\\n\\n.modalContainer {\\n position: absolute;\\n top: 0;\\n left: 0;\\n width: 100%;\\n min-height: 100%;\\n overflow-x: hidden;\\n overflow-y: auto;\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n font-family: -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, Helvetica,\\n Arial, sans-serif, \\\"Apple Color Emoji\\\", \\\"Segoe UI Emoji\\\", \\\"Segoe UI Symbol\\\";\\n font-size: 14px;\\n line-height: 1.5;\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-orient: vertical;\\n -webkit-box-direction: normal;\\n -ms-flex-direction: column;\\n flex-direction: column;\\n -webkit-box-align: center;\\n -ms-flex-align: center;\\n align-items: center;\\n z-index: 99999;\\n}\\n\\n.modalContainer::before {\\n content: \\\"\\\";\\n display: block;\\n position: fixed;\\n top: 0;\\n bottom: 0;\\n left: 0;\\n right: 0;\\n background-color: #fff;\\n z-index: -1;\\n}\\n\\n.modalDialog {\\n -webkit-box-flex: 1;\\n -ms-flex-positive: 1;\\n flex-grow: 1;\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-orient: vertical;\\n -webkit-box-direction: normal;\\n -ms-flex-direction: column;\\n flex-direction: column;\\n width: 100%;\\n}\\n\\n.modalContent {\\n position: relative;\\n padding: 32px;\\n opacity: 0;\\n -webkit-transform: translateY(10px) scale(1);\\n transform: translateY(10px) scale(1);\\n background: #fff;\\n}\\n\\n[aria-hidden=\\\"false\\\"] .modalContent {\\n -webkit-animation: bouncyEntrance 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);\\n animation: bouncyEntrance 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);\\n -webkit-animation-fill-mode: forwards;\\n animation-fill-mode: forwards;\\n }\\n\\n@-webkit-keyframes bouncyEntrance {\\n 0% {\\n opacity: 0;\\n -webkit-transform: translateY(10px) scale(0.9);\\n transform: translateY(10px) scale(0.9);\\n }\\n\\n 100% {\\n opacity: 1;\\n -webkit-transform: translateY(0) scale(1);\\n transform: translateY(0) scale(1);\\n }\\n}\\n\\n@keyframes bouncyEntrance {\\n 0% {\\n opacity: 0;\\n -webkit-transform: translateY(10px) scale(0.9);\\n transform: translateY(10px) scale(0.9);\\n }\\n\\n 100% {\\n opacity: 1;\\n -webkit-transform: translateY(0) scale(1);\\n transform: translateY(0) scale(1);\\n }\\n}\\n\\n@media (min-width: 480px) {\\n .modalContainer::before {\\n background-color: rgb(14, 30, 37);\\n -webkit-animation: fadeIn 0.1s ease-in;\\n animation: fadeIn 0.1s ease-in;\\n -webkit-animation-fill-mode: forwards;\\n animation-fill-mode: forwards;\\n }\\n\\n .modalDialog {\\n max-width: 364px;\\n -webkit-box-pack: center;\\n -ms-flex-pack: center;\\n justify-content: center;\\n }\\n\\n .modalContent {\\n background: #fff;\\n -webkit-box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .07),\\n 0 12px 32px 0 rgba(14, 30, 37, .1);\\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .07),\\n 0 12px 32px 0 rgba(14, 30, 37, .1);\\n border-radius: 8px;\\n margin-top: 32px;\\n }\\n}\\n\\n@-webkit-keyframes fadeIn {\\n 0% {\\n opacity: 0;\\n }\\n\\n 100% {\\n opacity: 0.67;\\n }\\n}\\n\\n@keyframes fadeIn {\\n 0% {\\n opacity: 0;\\n }\\n\\n 100% {\\n opacity: 0.67;\\n }\\n}\\n\\n.flashMessage {\\n text-align: center;\\n color: rgb(14, 30, 37);\\n font-weight: 500;\\n font-size: 14px;\\n background-color: #f2f3f3;\\n padding: 6px;\\n border-radius: 4px;\\n opacity: 0.7;\\n -webkit-transition: opacity 0.2s linear;\\n transition: opacity 0.2s linear;\\n}\\n\\n.flashMessage:hover,\\n.flashMessage:focus {\\n opacity: 1;\\n}\\n\\n.error {\\n color: #fa3946;\\n background-color: #fceef0;\\n opacity: 1;\\n}\\n\\n.error span::before {\\n content: \\\"\\\";\\n display: inline-block;\\n position: relative;\\n top: 3px;\\n margin-right: 4px;\\n width: 16px;\\n height: 16px;\\n background: no-repeat center center;\\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8cGF0aCBmaWxsPSIjRkEzOTQ2IiBkPSJNOCwxLjMzMzMzMzMzI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zMzMzMzMywxMS43OTMzMzMzIDguNDYsMTIuMTY2NjY2NyA4LDEyLjE2NjY2NjcgWiIvPgo8L3N2Zz4K);\\n}\\n\\n.success {\\n}\\n\\n.disabled {\\n opacity: 0.38;\\n pointer-events: none;\\n}\\n\\n.infoText {\\n text-align: center;\\n margin: 32px 0;\\n}\\n\\n.infoTextEmail {\\n font-size: 16px;\\n font-weight: 500;\\n}\\n\\n.saving {\\n background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABQCAMAAACeYYN3AAAAxlBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////DTx3aAAAAQnRSTlMAAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2Nzg5Ojs8PT4/QEGgjKRfAAACk0lEQVR4AYXQDXP5WhAG8CUhiSQqSv4RRRMVL1Fa1VZf3PL9v9Tde9wc9M8+P8/M7s6czJiHgNIvVCJO6YiAMlAiWckASiQrm4bJMZTDrmbBIEC9qpgVjp6n4B+oyEwCzKrMQBVaQIlkpmXZln1dhQB+49gOh5dLexlV6MhsAqyazEQVugCqsOK5nsQmwPWZ53ucvyczSGb4l9T9OsdnLgFOXVZFFd4AqEKrIasR4AdBI2hw1GR6VzMwSWY2A60ZNDl6KnUC3KbMRhXeAqhCpyXzCAjarNVucdqXVEhWaRfCdsj5vQcE1EOZQ7Jy+EcUlklWi2Q3BLQ6nagTcTra2Y0qrHZirRN3OOezTUAjvq4bd7suqpDfSGJUoXcnCwiIerIqqlC96vf6HD1ZsUcE3PYH/QGnrx3uYnqoQn4l6aMK/XtZi4BuIrNIZqVJkiapkhx37Y6AcDgcpsNU44Nz3OuoQn4jSVGFNw+ykID+SGaTzM5G2YiTFVM73AMConE2zjhj7XAXs4EqHE/4d12GKgwmsoiAZCpzSObMptPZdHZVSkCc5/ksnym8cPRUmiQzpvNcmedzTl4o7qlBsuZc1iVg9ChDFdYWshEBveV/FssFZ/l7Z7eowsfl0/JJ4UXj43A/ogpbT7IeAZNnWQ1VuJJNCBi8HKxeVhw9tRaq8JkfrV/WHDULxb1CFbbX7HX9yllfck9A/ipzSea+yeYEJO+yEFX4tim8b94VXjj/zzdU4Z/NmY/NB+fkTglYfMg8knmfsiUBD1+yCFX4+X309f3FOds/UYVR8fH2e6vwovExIuB5K/NJ5v8jWxGQ/chiVOF2d+pn98M5zt3WJFm83+/2O4UXjprabkzAWn+o56k9qvBfX4hMaM+SxOMAAAAASUVORK5CYII=);\\n background-repeat: repeat-x;\\n background-size: contain;\\n background-origin: border-box;\\n background-position: 0% 0%;\\n -webkit-animation: loading 20s linear infinite;\\n animation: loading 20s linear infinite;\\n pointer-events: none;\\n}\\n\\n.saving::after {\\n content: \\\"\\\\2026\\\";\\n}\\n\\n@-webkit-keyframes loading {\\n 0% {\\n background-position: 0% 0%;\\n }\\n\\n 100% {\\n background-position: 700% 0%;\\n }\\n}\\n\\n@keyframes loading {\\n 0% {\\n background-position: 0% 0%;\\n }\\n\\n 100% {\\n background-position: 700% 0%;\\n }\\n}\\n\\n.btn {\\n display: block;\\n position: relative;\\n width: 100%;\\n height: auto;\\n margin: 14px 0 0;\\n padding: 6px;\\n outline: 0;\\n cursor: pointer;\\n border: 2px solid rgb(14, 30, 37);\\n border-radius: 4px;\\n background-color: #2d3b41;\\n color: #fff;\\n -webkit-transition: background-color 0.2s ease;\\n transition: background-color 0.2s ease;\\n font-family: -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, Helvetica,\\n Arial, sans-serif, \\\"Apple Color Emoji\\\", \\\"Segoe UI Emoji\\\", \\\"Segoe UI Symbol\\\";\\n font-size: 14px;\\n font-weight: 500;\\n line-height: 24px;\\n text-align: center;\\n text-decoration: none;\\n white-space: nowrap;\\n}\\n\\n.btn:hover,\\n.btn:focus {\\n background-color: rgb(14, 30, 37);\\n text-decoration: none;\\n}\\n\\n.btnClose {\\n position: absolute;\\n top: 0;\\n right: 0;\\n margin: 0;\\n padding: 0;\\n border: 0;\\n width: 24px;\\n height: 24px;\\n border-radius: 50%;\\n margin: 6px;\\n background: #fff;\\n color: #a3a9ac;\\n}\\n\\n.btnClose::before {\\n content: \\\"\\\\D7\\\";\\n font-size: 25px;\\n line-height: 9px;\\n}\\n\\n.btnClose:hover,\\n.btnClose:focus {\\n background: #e9ebeb;\\n color: rgb(14, 30, 37);\\n}\\n\\n.header {\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n margin-top: -8px;\\n margin-bottom: 32px;\\n}\\n\\n.btnHeader {\\n font-size: 16px;\\n line-height: 24px;\\n background: #fff;\\n color: #a3a9ac;\\n border: 0;\\n border-bottom: 2px solid #e9ebeb;\\n border-radius: 4px 4px 0 0;\\n margin: 0;\\n}\\n\\n.btnHeader:focus,\\n.btnHeader.active {\\n background: #fff;\\n color: rgb(14, 30, 37);\\n border-color: rgb(14, 30, 37);\\n font-weight: 700;\\n}\\n\\n.btnHeader:not(:only-child):hover {\\n background-color: #e9ebeb;\\n color: rgb(14, 30, 37);\\n}\\n\\n.btnHeader:only-child {\\n cursor: auto;\\n}\\n\\n.btnLink {\\n display: block;\\n position: relative;\\n width: auto;\\n height: auto;\\n margin: 14px auto 0;\\n padding: 6px;\\n padding-bottom: 0;\\n outline: 0;\\n cursor: pointer;\\n color: rgb(14, 30, 37);\\n border: none;\\n border-bottom: 2px solid #e9ebeb;\\n border-radius: 0;\\n background-color: inherit;\\n -webkit-transition: border-color 0.2s ease;\\n transition: border-color 0.2s ease;\\n font-family: -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, Helvetica,\\n Arial, sans-serif, \\\"Apple Color Emoji\\\", \\\"Segoe UI Emoji\\\", \\\"Segoe UI Symbol\\\";\\n font-size: 14px;\\n font-weight: 500;\\n line-height: 24px;\\n text-align: center;\\n white-space: nowrap;\\n}\\n\\n.btnLink:hover,\\n.btnLink:focus {\\n background-color: inherit;\\n border-color: #a3a9ac;\\n}\\n\\n.form {\\n}\\n\\n.formGroup {\\n position: relative;\\n margin-top: 14px;\\n}\\n\\n.formControl {\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n display: block;\\n width: 100%;\\n height: 40px;\\n margin: 0;\\n padding: 6px 12px 6px 34px;\\n border: 2px solid #e9ebeb;\\n border-radius: 4px;\\n background: #fff;\\n color: rgb(14, 30, 37);\\n -webkit-box-shadow: none;\\n box-shadow: none;\\n font-size: 14px;\\n font-weight: 500;\\n line-height: 24px;\\n -webkit-transition: -webkit-box-shadow ease-in-out 0.15s;\\n transition: -webkit-box-shadow ease-in-out 0.15s;\\n transition: box-shadow ease-in-out 0.15s;\\n transition: box-shadow ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;\\n -webkit-appearance: none;\\n -moz-appearance: none;\\n}\\n\\n.inputFieldIcon {\\n position: absolute;\\n top: 12px;\\n left: 12px;\\n display: inline-block;\\n width: 16px;\\n height: 16px;\\n background-repeat: no-repeat;\\n background-position: center;\\n pointer-events: none;\\n}\\n\\n.inputFieldName {\\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDE0IDE0Ij4gIDxwYXRoIGZpbGw9IiNBM0E5QUMiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTgsNyBDNi4zNDMxNDU3NSw3IDUsNS42NTY4NTQyNSA1LDQgQzUsMi4zNDMxNDU3NSA2LjM0MzE0NTc1LDEgOCwxIEM5LjY1Njg1NDI1LDEgMTEsMi4zNDMxNDU3NSAxMSw0IEMxMSw1LjY1Njg1NDI1IDkuNjU2ODU0MjUsNyA4LDcgWiBNOCwxNSBMMS41LDE1IEMxLjUsMTEuMTM0MDA2OCA0LjQxMDE0OTEzLDggOCw4IEMxMS41ODk4NTA5LDggMTQu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TMgMTAsMTIuMTA0NTY5NSAxMCwxMSBaIE04LDExIEM3LjQ0NzcxNTI1LDExIDcsMTAuNTUyMjg0NyA3LDEwIEw3LDYgQzcsNS40NDc3MTUyNSA3LjQ0NzcxNTI1LDUgOCw1IEM4LjU1MjI4NDc1LDUgOSw1LjQ0NzcxNTI1IDksNiBMOSwxMCBDOSwxMC41NTIyODQ3IDguNTUyMjg0NzUsMTEgOCwxMSBaIiB0cmFuc2Zvcm09InJvdGF0ZSg0NSA4LjcwNyA2LjI5MykiLz48L3N2Zz4=);\\n}\\n\\n.formLabel {\\n}\\n\\n.hr {\\n border: 0;\\n border-top: 2px solid #e9ebeb;\\n margin: 32px 0 -1px;\\n text-align: center;\\n overflow: visible;\\n}\\n\\n.hr::before {\\n content: \\\"or\\\";\\n position: relative;\\n display: inline-block;\\n font-size: 12px;\\n font-weight: 800;\\n line-height: 1;\\n text-transform: uppercase;\\n background-color: #fff;\\n color: rgb(14, 30, 37);\\n padding: 4px;\\n top: -11px;\\n}\\n\\n.btnProvider {\\n padding-left: 40px;\\n padding-right: 40px;\\n}\\n\\n.btnProvider::before {\\n content: \\\"\\\";\\n position: absolute;\\n display: inline-block;\\n vertical-align: middle;\\n width: 32px;\\n height: 40px;\\n background-repeat: no-repeat;\\n background-position: left center;\\n top: -2px;\\n left: 14px;\\n}\\n\\n.providerGoogle {\\n background-color: #4285f4;\\n border-color: #366dc7;\\n}\\n\\n.providerGoogle:hover,\\n.providerGoogle:focus {\\n background-color: #366dc7;\\n}\\n\\n.providerGitHub {\\n background-color: #333;\\n border-color: #000;\\n}\\n\\n.providerGitHub:hover,\\n.providerGitHub:focus {\\n background-color: #000;\\n}\\n\\n.providerGitLab {\\n background-color: #e24329;\\n border-color: #b03320;\\n}\\n\\n.providerGitLab:hover,\\n.providerGitLab:focus {\\n background-color: #b03320;\\n}\\n\\n.providerBitbucket {\\n background-color: #205081;\\n border-color: #14314f;\\n}\\n\\n.providerBitbucket:hover,\\n.providerBitbucket:focus {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NzI2NjcsMTIuOTk4NzUxNiAxMi4yMDE3NTE4LDExLjU2OTU2OTIgTDEyLjIwMTc1MTgsMTEuNTAxNTEzIEMxMi4yNzAzNzI5LDExLjM2NTQgMTIuMjAxNzUxOCwxMS4yMjkyODc2IDEyLjA2NDUwOTYsMTEuMjI5Mjg3NiBMMTIuMDY0NTA5NiwxMS4yMjkyODc2IFoiLz4gICAgICA8ZWxsaXBzZSBjeD0iNyIgY3k9IjcuNjkiIHJ4PSIxLjA5OCIgcnk9IjEuMDg5Ii8+ICAgIDwvZz4gIDwvZz48L3N2Zz4=);\\n}\\n\\n.callOut {\\n display: block;\\n padding: 32px;\\n font-size: 14px;\\n font-weight: 500;\\n text-decoration: none;\\n color: #a3a9ac;\\n text-align: center;\\n}\\n\\n.callOut:after {\\n content: \\\" \\\\2665\\\";\\n -webkit-transition: color 4s ease;\\n transition: color 4s ease;\\n}\\n\\n.callOut:hover:after {\\n color: red;\\n}\\n\\n.callOut .netlifyLogo {\\n display: block;\\n margin: auto;\\n width: 32px;\\n height: 32px;\\n margin-bottom: 8px;\\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmlld0JveD0iMCAwIDMyIDMyIj4gIDxkZWZzPiAgICA8cmFkaWFsR3JhZGllbnQgaWQ9ImEiIGN5PSIwJSIgcj0iMTAwJSIgZng9IjUwJSIgZnk9IjAlIiBncmFkaWVudFRyYW5zZm9ybT0ibWF0cml4KDAgMSAtMS4xNTE4NSAwIC41IC0uNSkiPiAgICAgIDxzdG9wIHN0b3AtY29sb3I9IiMyMEM2QjciIG9mZnNldD0iMCUiLz4gICAgICA8c3RvcCBzdG9wLWNvbG9yPSIjNEQ5QUJGIiBvZmZzZXQ9IjEwMCUiLz4gICAgPC9yYWRpYWxHcmFkaWVudD4gIDwvZGVmcz4gIDxwYXRoIGZpbGw9InVybCgjYSkiIG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LDE4LjM0MDkzOTkgTDMuNjM0OTIsMTkuOTE1MzE2NSBDMy42MzQ5MiwxOS45MTUzMTY1IDMuNjIxMzA1OTQsMTkuOTE1MzE2NSAzLjYwNzY5MTg4LDE5LjkwMTg2MDMgTDAuNjI2MjEzMTg1LDE2Ljk0MTQ5NDEgQzAuNjEyNTk5MTI3LDE2LjkyODAzNzggMC41OTg5ODUwNjksMTYuOTAxMTI1NCAwLjYxMjU5OTEyNywxNi44ODc2NjkyIEMwLjYyNjIxMzE4NSwxNi44NzQyMTMgMC42Mzk4MjcyNDMsMTYuODYwNzU2OCAwLjY2NzA1NTM1OSwxNi44NjA3NTY4IEw3LjM1MTU1NzgzLDE4LjI0Njc0NjQgWiIvPjwvc3ZnPg==);\\n}\\n\\n.visuallyHidden {\\n border: 0;\\n clip: rect(0 0 0 0);\\n height: 1px;\\n margin: -1px;\\n overflow: hidden;\\n padding: 0;\\n position: absolute;\\n width: 1px;\\n #fff-space: nowrap;\\n}\\n\\n.subheader {\\n margin-top: 2em;\\n border-top: 1px solid rgb(14, 30, 37);\\n}\\n\\n.subheader h3 {\\n padding-top: 1em;\\n text-align: center;\\n }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n/* 27 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\n/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\nmodule.exports = function (useSourceMap) {\n\tvar list = [];\n\n\t// return the list of modules as css string\n\tlist.toString = function toString() {\n\t\treturn this.map(function (item) {\n\t\t\tvar content = cssWithMappingToString(item, useSourceMap);\n\t\t\tif (item[2]) {\n\t\t\t\treturn \"@media \" + item[2] + \"{\" + content + \"}\";\n\t\t\t} else {\n\t\t\t\treturn content;\n\t\t\t}\n\t\t}).join(\"\");\n\t};\n\n\t// import a list of modules into the list\n\tlist.i = function (modules, mediaQuery) {\n\t\tif (typeof modules === \"string\") modules = [[null, modules, \"\"]];\n\t\tvar alreadyImportedModules = {};\n\t\tfor (var i = 0; i < this.length; i++) {\n\t\t\tvar id = this[i][0];\n\t\t\tif (typeof id === \"number\") alreadyImportedModules[id] = true;\n\t\t}\n\t\tfor (i = 0; i < modules.length; i++) {\n\t\t\tvar item = modules[i];\n\t\t\t// skip already imported module\n\t\t\t// this implementation is not 100% perfect for weird media query combinations\n\t\t\t// when a module is imported multiple times with different media queries.\n\t\t\t// I hope this will never occur (Hey this way we have smaller bundles)\n\t\t\tif (typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\n\t\t\t\tif (mediaQuery && !item[2]) {\n\t\t\t\t\titem[2] = mediaQuery;\n\t\t\t\t} else if (mediaQuery) {\n\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\n\t\t\t\t}\n\t\t\t\tlist.push(item);\n\t\t\t}\n\t\t}\n\t};\n\treturn list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n\tvar content = item[1] || '';\n\tvar cssMapping = item[3];\n\tif (!cssMapping) {\n\t\treturn content;\n\t}\n\n\tif (useSourceMap && typeof btoa === 'function') {\n\t\tvar sourceMapping = toComment(cssMapping);\n\t\tvar sourceURLs = cssMapping.sources.map(function (source) {\n\t\t\treturn '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */';\n\t\t});\n\n\t\treturn [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n\t}\n\n\treturn [content].join('\\n');\n}\n\n// Adapted from convert-source-map (MIT)\nfunction toComment(sourceMap) {\n\t// eslint-disable-next-line no-undef\n\tvar base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n\tvar data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;\n\n\treturn '/*# ' + data + ' */';\n}\n\n/***/ })\n/******/ ])[\"default\"];\n});\n\n\n// WEBPACK FOOTER //\n// netlify-identity.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 9);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 20f89bffdba0bf5e859f","var VNode = function VNode() {};\n\nvar options = {};\n\nvar stack = [];\n\nvar EMPTY_CHILDREN = [];\n\nfunction h(nodeName, attributes) {\n\tvar children = EMPTY_CHILDREN,\n\t lastSimple,\n\t child,\n\t simple,\n\t i;\n\tfor (i = arguments.length; i-- > 2;) {\n\t\tstack.push(arguments[i]);\n\t}\n\tif (attributes && attributes.children != null) {\n\t\tif (!stack.length) stack.push(attributes.children);\n\t\tdelete attributes.children;\n\t}\n\twhile (stack.length) {\n\t\tif ((child = stack.pop()) && child.pop !== undefined) {\n\t\t\tfor (i = child.length; i--;) {\n\t\t\t\tstack.push(child[i]);\n\t\t\t}\n\t\t} else {\n\t\t\tif (typeof child === 'boolean') child = null;\n\n\t\t\tif (simple = typeof nodeName !== 'function') {\n\t\t\t\tif (child == null) child = '';else if (typeof child === 'number') child = String(child);else if (typeof child !== 'string') simple = false;\n\t\t\t}\n\n\t\t\tif (simple && lastSimple) {\n\t\t\t\tchildren[children.length - 1] += child;\n\t\t\t} else if (children === EMPTY_CHILDREN) {\n\t\t\t\tchildren = [child];\n\t\t\t} else {\n\t\t\t\tchildren.push(child);\n\t\t\t}\n\n\t\t\tlastSimple = simple;\n\t\t}\n\t}\n\n\tvar p = new VNode();\n\tp.nodeName = nodeName;\n\tp.children = children;\n\tp.attributes = attributes == null ? undefined : attributes;\n\tp.key = attributes == null ? undefined : attributes.key;\n\n\tif (options.vnode !== undefined) options.vnode(p);\n\n\treturn p;\n}\n\nfunction extend(obj, props) {\n for (var i in props) {\n obj[i] = props[i];\n }return obj;\n}\n\nvar defer = typeof Promise == 'function' ? Promise.resolve().then.bind(Promise.resolve()) : setTimeout;\n\nfunction cloneElement(vnode, props) {\n return h(vnode.nodeName, extend(extend({}, vnode.attributes), props), arguments.length > 2 ? [].slice.call(arguments, 2) : vnode.children);\n}\n\nvar IS_NON_DIMENSIONAL = /acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i;\n\nvar items = [];\n\nfunction enqueueRender(component) {\n\tif (!component._dirty && (component._dirty = true) && items.push(component) == 1) {\n\t\t(options.debounceRendering || defer)(rerender);\n\t}\n}\n\nfunction rerender() {\n\tvar p,\n\t list = items;\n\titems = [];\n\twhile (p = list.pop()) {\n\t\tif (p._dirty) renderComponent(p);\n\t}\n}\n\nfunction isSameNodeType(node, vnode, hydrating) {\n\tif (typeof vnode === 'string' || typeof vnode === 'number') {\n\t\treturn node.splitText !== undefined;\n\t}\n\tif (typeof vnode.nodeName === 'string') {\n\t\treturn !node._componentConstructor && isNamedNode(node, vnode.nodeName);\n\t}\n\treturn hydrating || node._componentConstructor === vnode.nodeName;\n}\n\nfunction isNamedNode(node, nodeName) {\n\treturn node.normalizedNodeName === nodeName || node.nodeName.toLowerCase() === nodeName.toLowerCase();\n}\n\nfunction getNodeProps(vnode) {\n\tvar props = extend({}, vnode.attributes);\n\tprops.children = vnode.children;\n\n\tvar defaultProps = vnode.nodeName.defaultProps;\n\tif (defaultProps !== undefined) {\n\t\tfor (var i in defaultProps) {\n\t\t\tif (props[i] === undefined) {\n\t\t\t\tprops[i] = defaultProps[i];\n\t\t\t}\n\t\t}\n\t}\n\n\treturn props;\n}\n\nfunction createNode(nodeName, isSvg) {\n\tvar node = isSvg ? document.createElementNS('http://www.w3.org/2000/svg', nodeName) : document.createElement(nodeName);\n\tnode.normalizedNodeName = nodeName;\n\treturn node;\n}\n\nfunction removeNode(node) {\n\tvar parentNode = node.parentNode;\n\tif (parentNode) parentNode.removeChild(node);\n}\n\nfunction setAccessor(node, name, old, value, isSvg) {\n\tif (name === 'className') name = 'class';\n\n\tif (name === 'key') {} else if (name === 'ref') {\n\t\tif (old) old(null);\n\t\tif (value) value(node);\n\t} else if (name === 'class' && !isSvg) {\n\t\tnode.className = value || '';\n\t} else if (name === 'style') {\n\t\tif (!value || typeof value === 'string' || typeof old === 'string') {\n\t\t\tnode.style.cssText = value || '';\n\t\t}\n\t\tif (value && typeof value === 'object') {\n\t\t\tif (typeof old !== 'string') {\n\t\t\t\tfor (var i in old) {\n\t\t\t\t\tif (!(i in value)) node.style[i] = '';\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (var i in value) {\n\t\t\t\tnode.style[i] = typeof value[i] === 'number' && IS_NON_DIMENSIONAL.test(i) === false ? value[i] + 'px' : value[i];\n\t\t\t}\n\t\t}\n\t} else if (name === 'dangerouslySetInnerHTML') {\n\t\tif (value) node.innerHTML = value.__html || '';\n\t} else if (name[0] == 'o' && name[1] == 'n') {\n\t\tvar useCapture = name !== (name = name.replace(/Capture$/, ''));\n\t\tname = name.toLowerCase().substring(2);\n\t\tif (value) {\n\t\t\tif (!old) node.addEventListener(name, eventProxy, useCapture);\n\t\t} else {\n\t\t\tnode.removeEventListener(name, eventProxy, useCapture);\n\t\t}\n\t\t(node._listeners || (node._listeners = {}))[name] = value;\n\t} else if (name !== 'list' && name !== 'type' && !isSvg && name in node) {\n\t\ttry {\n\t\t\tnode[name] = value == null ? '' : value;\n\t\t} catch (e) {}\n\t\tif ((value == null || value === false) && name != 'spellcheck') node.removeAttribute(name);\n\t} else {\n\t\tvar ns = isSvg && name !== (name = name.replace(/^xlink:?/, ''));\n\n\t\tif (value == null || value === false) {\n\t\t\tif (ns) node.removeAttributeNS('http://www.w3.org/1999/xlink', name.toLowerCase());else node.removeAttribute(name);\n\t\t} else if (typeof value !== 'function') {\n\t\t\tif (ns) node.setAttributeNS('http://www.w3.org/1999/xlink', name.toLowerCase(), value);else node.setAttribute(name, value);\n\t\t}\n\t}\n}\n\nfunction eventProxy(e) {\n\treturn this._listeners[e.type](options.event && options.event(e) || e);\n}\n\nvar mounts = [];\n\nvar diffLevel = 0;\n\nvar isSvgMode = false;\n\nvar hydrating = false;\n\nfunction flushMounts() {\n\tvar c;\n\twhile (c = mounts.pop()) {\n\t\tif (options.afterMount) options.afterMount(c);\n\t\tif (c.componentDidMount) c.componentDidMount();\n\t}\n}\n\nfunction diff(dom, vnode, context, mountAll, parent, componentRoot) {\n\tif (!diffLevel++) {\n\t\tisSvgMode = parent != null && parent.ownerSVGElement !== undefined;\n\n\t\thydrating = dom != null && !('__preactattr_' in dom);\n\t}\n\n\tvar ret = idiff(dom, vnode, context, mountAll, componentRoot);\n\n\tif (parent && ret.parentNode !== parent) parent.appendChild(ret);\n\n\tif (! --diffLevel) {\n\t\thydrating = false;\n\n\t\tif (!componentRoot) flushMounts();\n\t}\n\n\treturn ret;\n}\n\nfunction idiff(dom, vnode, context, mountAll, componentRoot) {\n\tvar out = dom,\n\t prevSvgMode = isSvgMode;\n\n\tif (vnode == null || typeof vnode === 'boolean') vnode = '';\n\n\tif (typeof vnode === 'string' || typeof vnode === 'number') {\n\t\tif (dom && dom.splitText !== undefined && dom.parentNode && (!dom._component || componentRoot)) {\n\t\t\tif (dom.nodeValue != vnode) {\n\t\t\t\tdom.nodeValue = vnode;\n\t\t\t}\n\t\t} else {\n\t\t\tout = document.createTextNode(vnode);\n\t\t\tif (dom) {\n\t\t\t\tif (dom.parentNode) dom.parentNode.replaceChild(out, dom);\n\t\t\t\trecollectNodeTree(dom, true);\n\t\t\t}\n\t\t}\n\n\t\tout['__preactattr_'] = true;\n\n\t\treturn out;\n\t}\n\n\tvar vnodeName = vnode.nodeName;\n\tif (typeof vnodeName === 'function') {\n\t\treturn buildComponentFromVNode(dom, vnode, context, mountAll);\n\t}\n\n\tisSvgMode = vnodeName === 'svg' ? true : vnodeName === 'foreignObject' ? false : isSvgMode;\n\n\tvnodeName = String(vnodeName);\n\tif (!dom || !isNamedNode(dom, vnodeName)) {\n\t\tout = createNode(vnodeName, isSvgMode);\n\n\t\tif (dom) {\n\t\t\twhile (dom.firstChild) {\n\t\t\t\tout.appendChild(dom.firstChild);\n\t\t\t}\n\t\t\tif (dom.parentNode) dom.parentNode.replaceChild(out, dom);\n\n\t\t\trecollectNodeTree(dom, true);\n\t\t}\n\t}\n\n\tvar fc = out.firstChild,\n\t props = out['__preactattr_'],\n\t vchildren = vnode.children;\n\n\tif (props == null) {\n\t\tprops = out['__preactattr_'] = {};\n\t\tfor (var a = out.attributes, i = a.length; i--;) {\n\t\t\tprops[a[i].name] = a[i].value;\n\t\t}\n\t}\n\n\tif (!hydrating && vchildren && vchildren.length === 1 && typeof vchildren[0] === 'string' && fc != null && fc.splitText !== undefined && fc.nextSibling == null) {\n\t\tif (fc.nodeValue != vchildren[0]) {\n\t\t\tfc.nodeValue = vchildren[0];\n\t\t}\n\t} else if (vchildren && vchildren.length || fc != null) {\n\t\t\tinnerDiffNode(out, vchildren, context, mountAll, hydrating || props.dangerouslySetInnerHTML != null);\n\t\t}\n\n\tdiffAttributes(out, vnode.attributes, props);\n\n\tisSvgMode = prevSvgMode;\n\n\treturn out;\n}\n\nfunction innerDiffNode(dom, vchildren, context, mountAll, isHydrating) {\n\tvar originalChildren = dom.childNodes,\n\t children = [],\n\t keyed = {},\n\t keyedLen = 0,\n\t min = 0,\n\t len = originalChildren.length,\n\t childrenLen = 0,\n\t vlen = vchildren ? vchildren.length : 0,\n\t j,\n\t c,\n\t f,\n\t vchild,\n\t child;\n\n\tif (len !== 0) {\n\t\tfor (var i = 0; i < len; i++) {\n\t\t\tvar _child = originalChildren[i],\n\t\t\t props = _child['__preactattr_'],\n\t\t\t key = vlen && props ? _child._component ? _child._component.__key : props.key : null;\n\t\t\tif (key != null) {\n\t\t\t\tkeyedLen++;\n\t\t\t\tkeyed[key] = _child;\n\t\t\t} else if (props || (_child.splitText !== undefined ? isHydrating ? _child.nodeValue.trim() : true : isHydrating)) {\n\t\t\t\tchildren[childrenLen++] = _child;\n\t\t\t}\n\t\t}\n\t}\n\n\tif (vlen !== 0) {\n\t\tfor (var i = 0; i < vlen; i++) {\n\t\t\tvchild = vchildren[i];\n\t\t\tchild = null;\n\n\t\t\tvar key = vchild.key;\n\t\t\tif (key != null) {\n\t\t\t\tif (keyedLen && keyed[key] !== undefined) {\n\t\t\t\t\tchild = keyed[key];\n\t\t\t\t\tkeyed[key] = undefined;\n\t\t\t\t\tkeyedLen--;\n\t\t\t\t}\n\t\t\t} else if (min < childrenLen) {\n\t\t\t\t\tfor (j = min; j < childrenLen; j++) {\n\t\t\t\t\t\tif (children[j] !== undefined && isSameNodeType(c = children[j], vchild, isHydrating)) {\n\t\t\t\t\t\t\tchild = c;\n\t\t\t\t\t\t\tchildren[j] = undefined;\n\t\t\t\t\t\t\tif (j === childrenLen - 1) childrenLen--;\n\t\t\t\t\t\t\tif (j === min) min++;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\tchild = idiff(child, vchild, context, mountAll);\n\n\t\t\tf = originalChildren[i];\n\t\t\tif (child && child !== dom && child !== f) {\n\t\t\t\tif (f == null) {\n\t\t\t\t\tdom.appendChild(child);\n\t\t\t\t} else if (child === f.nextSibling) {\n\t\t\t\t\tremoveNode(f);\n\t\t\t\t} else {\n\t\t\t\t\tdom.insertBefore(child, f);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tif (keyedLen) {\n\t\tfor (var i in keyed) {\n\t\t\tif (keyed[i] !== undefined) recollectNodeTree(keyed[i], false);\n\t\t}\n\t}\n\n\twhile (min <= childrenLen) {\n\t\tif ((child = children[childrenLen--]) !== undefined) recollectNodeTree(child, false);\n\t}\n}\n\nfunction recollectNodeTree(node, unmountOnly) {\n\tvar component = node._component;\n\tif (component) {\n\t\tunmountComponent(component);\n\t} else {\n\t\tif (node['__preactattr_'] != null && node['__preactattr_'].ref) node['__preactattr_'].ref(null);\n\n\t\tif (unmountOnly === false || node['__preactattr_'] == null) {\n\t\t\tremoveNode(node);\n\t\t}\n\n\t\tremoveChildren(node);\n\t}\n}\n\nfunction removeChildren(node) {\n\tnode = node.lastChild;\n\twhile (node) {\n\t\tvar next = node.previousSibling;\n\t\trecollectNodeTree(node, true);\n\t\tnode = next;\n\t}\n}\n\nfunction diffAttributes(dom, attrs, old) {\n\tvar name;\n\n\tfor (name in old) {\n\t\tif (!(attrs && attrs[name] != null) && old[name] != null) {\n\t\t\tsetAccessor(dom, name, old[name], old[name] = undefined, isSvgMode);\n\t\t}\n\t}\n\n\tfor (name in attrs) {\n\t\tif (name !== 'children' && name !== 'innerHTML' && (!(name in old) || attrs[name] !== (name === 'value' || name === 'checked' ? dom[name] : old[name]))) {\n\t\t\tsetAccessor(dom, name, old[name], old[name] = attrs[name], isSvgMode);\n\t\t}\n\t}\n}\n\nvar recyclerComponents = [];\n\nfunction createComponent(Ctor, props, context) {\n\tvar inst,\n\t i = recyclerComponents.length;\n\n\tif (Ctor.prototype && Ctor.prototype.render) {\n\t\tinst = new Ctor(props, context);\n\t\tComponent.call(inst, props, context);\n\t} else {\n\t\tinst = new Component(props, context);\n\t\tinst.constructor = Ctor;\n\t\tinst.render = doRender;\n\t}\n\n\twhile (i--) {\n\t\tif (recyclerComponents[i].constructor === Ctor) {\n\t\t\tinst.nextBase = recyclerComponents[i].nextBase;\n\t\t\trecyclerComponents.splice(i, 1);\n\t\t\treturn inst;\n\t\t}\n\t}\n\n\treturn inst;\n}\n\nfunction doRender(props, state, context) {\n\treturn this.constructor(props, context);\n}\n\nfunction setComponentProps(component, props, renderMode, context, mountAll) {\n\tif (component._disable) return;\n\tcomponent._disable = true;\n\n\tcomponent.__ref = props.ref;\n\tcomponent.__key = props.key;\n\tdelete props.ref;\n\tdelete props.key;\n\n\tif (typeof component.constructor.getDerivedStateFromProps === 'undefined') {\n\t\tif (!component.base || mountAll) {\n\t\t\tif (component.componentWillMount) component.componentWillMount();\n\t\t} else if (component.componentWillReceiveProps) {\n\t\t\tcomponent.componentWillReceiveProps(props, context);\n\t\t}\n\t}\n\n\tif (context && context !== component.context) {\n\t\tif (!component.prevContext) component.prevContext = component.context;\n\t\tcomponent.context = context;\n\t}\n\n\tif (!component.prevProps) component.prevProps = component.props;\n\tcomponent.props = props;\n\n\tcomponent._disable = false;\n\n\tif (renderMode !== 0) {\n\t\tif (renderMode === 1 || options.syncComponentUpdates !== false || !component.base) {\n\t\t\trenderComponent(component, 1, mountAll);\n\t\t} else {\n\t\t\tenqueueRender(component);\n\t\t}\n\t}\n\n\tif (component.__ref) component.__ref(component);\n}\n\nfunction renderComponent(component, renderMode, mountAll, isChild) {\n\tif (component._disable) return;\n\n\tvar props = component.props,\n\t state = component.state,\n\t context = component.context,\n\t previousProps = component.prevProps || props,\n\t previousState = component.prevState || state,\n\t previousContext = component.prevContext || context,\n\t isUpdate = component.base,\n\t nextBase = component.nextBase,\n\t initialBase = isUpdate || nextBase,\n\t initialChildComponent = component._component,\n\t skip = false,\n\t snapshot = previousContext,\n\t rendered,\n\t inst,\n\t cbase;\n\n\tif (component.constructor.getDerivedStateFromProps) {\n\t\tstate = extend(extend({}, state), component.constructor.getDerivedStateFromProps(props, state));\n\t\tcomponent.state = state;\n\t}\n\n\tif (isUpdate) {\n\t\tcomponent.props = previousProps;\n\t\tcomponent.state = previousState;\n\t\tcomponent.context = previousContext;\n\t\tif (renderMode !== 2 && component.shouldComponentUpdate && component.shouldComponentUpdate(props, state, context) === false) {\n\t\t\tskip = true;\n\t\t} else if (component.componentWillUpdate) {\n\t\t\tcomponent.componentWillUpdate(props, state, context);\n\t\t}\n\t\tcomponent.props = props;\n\t\tcomponent.state = state;\n\t\tcomponent.context = context;\n\t}\n\n\tcomponent.prevProps = component.prevState = component.prevContext = component.nextBase = null;\n\tcomponent._dirty = false;\n\n\tif (!skip) {\n\t\trendered = component.render(props, state, context);\n\n\t\tif (component.getChildContext) {\n\t\t\tcontext = extend(extend({}, context), component.getChildContext());\n\t\t}\n\n\t\tif (isUpdate && component.getSnapshotBeforeUpdate) {\n\t\t\tsnapshot = component.getSnapshotBeforeUpdate(previousProps, previousState);\n\t\t}\n\n\t\tvar childComponent = rendered && rendered.nodeName,\n\t\t toUnmount,\n\t\t base;\n\n\t\tif (typeof childComponent === 'function') {\n\n\t\t\tvar childProps = getNodeProps(rendered);\n\t\t\tinst = initialChildComponent;\n\n\t\t\tif (inst && inst.constructor === childComponent && childProps.key == inst.__key) {\n\t\t\t\tsetComponentProps(inst, childProps, 1, context, false);\n\t\t\t} else {\n\t\t\t\ttoUnmount = inst;\n\n\t\t\t\tcomponent._component = inst = createComponent(childComponent, childProps, context);\n\t\t\t\tinst.nextBase = inst.nextBase || nextBase;\n\t\t\t\tinst._parentComponent = component;\n\t\t\t\tsetComponentProps(inst, childProps, 0, context, false);\n\t\t\t\trenderComponent(inst, 1, mountAll, true);\n\t\t\t}\n\n\t\t\tbase = inst.base;\n\t\t} else {\n\t\t\tcbase = initialBase;\n\n\t\t\ttoUnmount = initialChildComponent;\n\t\t\tif (toUnmount) {\n\t\t\t\tcbase = component._component = null;\n\t\t\t}\n\n\t\t\tif (initialBase || renderMode === 1) {\n\t\t\t\tif (cbase) cbase._component = null;\n\t\t\t\tbase = diff(cbase, rendered, context, mountAll || !isUpdate, initialBase && initialBase.parentNode, true);\n\t\t\t}\n\t\t}\n\n\t\tif (initialBase && base !== initialBase && inst !== initialChildComponent) {\n\t\t\tvar baseParent = initialBase.parentNode;\n\t\t\tif (baseParent && base !== baseParent) {\n\t\t\t\tbaseParent.replaceChild(base, initialBase);\n\n\t\t\t\tif (!toUnmount) {\n\t\t\t\t\tinitialBase._component = null;\n\t\t\t\t\trecollectNodeTree(initialBase, false);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (toUnmount) {\n\t\t\tunmountComponent(toUnmount);\n\t\t}\n\n\t\tcomponent.base = base;\n\t\tif (base && !isChild) {\n\t\t\tvar componentRef = component,\n\t\t\t t = component;\n\t\t\twhile (t = t._parentComponent) {\n\t\t\t\t(componentRef = t).base = base;\n\t\t\t}\n\t\t\tbase._component = componentRef;\n\t\t\tbase._componentConstructor = componentRef.constructor;\n\t\t}\n\t}\n\n\tif (!isUpdate || mountAll) {\n\t\tmounts.unshift(component);\n\t} else if (!skip) {\n\n\t\tif (component.componentDidUpdate) {\n\t\t\tcomponent.componentDidUpdate(previousProps, previousState, snapshot);\n\t\t}\n\t\tif (options.afterUpdate) options.afterUpdate(component);\n\t}\n\n\twhile (component._renderCallbacks.length) {\n\t\tcomponent._renderCallbacks.pop().call(component);\n\t}if (!diffLevel && !isChild) flushMounts();\n}\n\nfunction buildComponentFromVNode(dom, vnode, context, mountAll) {\n\tvar c = dom && dom._component,\n\t originalComponent = c,\n\t oldDom = dom,\n\t isDirectOwner = c && dom._componentConstructor === vnode.nodeName,\n\t isOwner = isDirectOwner,\n\t props = getNodeProps(vnode);\n\twhile (c && !isOwner && (c = c._parentComponent)) {\n\t\tisOwner = c.constructor === vnode.nodeName;\n\t}\n\n\tif (c && isOwner && (!mountAll || c._component)) {\n\t\tsetComponentProps(c, props, 3, context, mountAll);\n\t\tdom = c.base;\n\t} else {\n\t\tif (originalComponent && !isDirectOwner) {\n\t\t\tunmountComponent(originalComponent);\n\t\t\tdom = oldDom = null;\n\t\t}\n\n\t\tc = createComponent(vnode.nodeName, props, context);\n\t\tif (dom && !c.nextBase) {\n\t\t\tc.nextBase = dom;\n\n\t\t\toldDom = null;\n\t\t}\n\t\tsetComponentProps(c, props, 1, context, mountAll);\n\t\tdom = c.base;\n\n\t\tif (oldDom && dom !== oldDom) {\n\t\t\toldDom._component = null;\n\t\t\trecollectNodeTree(oldDom, false);\n\t\t}\n\t}\n\n\treturn dom;\n}\n\nfunction unmountComponent(component) {\n\tif (options.beforeUnmount) options.beforeUnmount(component);\n\n\tvar base = component.base;\n\n\tcomponent._disable = true;\n\n\tif (component.componentWillUnmount) component.componentWillUnmount();\n\n\tcomponent.base = null;\n\n\tvar inner = component._component;\n\tif (inner) {\n\t\tunmountComponent(inner);\n\t} else if (base) {\n\t\tif (base['__preactattr_'] && base['__preactattr_'].ref) base['__preactattr_'].ref(null);\n\n\t\tcomponent.nextBase = base;\n\n\t\tremoveNode(base);\n\t\trecyclerComponents.push(component);\n\n\t\tremoveChildren(base);\n\t}\n\n\tif (component.__ref) component.__ref(null);\n}\n\nfunction Component(props, context) {\n\tthis._dirty = true;\n\n\tthis.context = context;\n\n\tthis.props = props;\n\n\tthis.state = this.state || {};\n\n\tthis._renderCallbacks = [];\n}\n\nextend(Component.prototype, {\n\tsetState: function setState(state, callback) {\n\t\tif (!this.prevState) this.prevState = this.state;\n\t\tthis.state = extend(extend({}, this.state), typeof state === 'function' ? state(this.state, this.props) : state);\n\t\tif (callback) this._renderCallbacks.push(callback);\n\t\tenqueueRender(this);\n\t},\n\tforceUpdate: function forceUpdate(callback) {\n\t\tif (callback) this._renderCallbacks.push(callback);\n\t\trenderComponent(this, 2);\n\t},\n\trender: function render() {}\n});\n\nfunction render(vnode, parent, merge) {\n return diff(merge, vnode, {}, false, parent, false);\n}\n\nvar preact = {\n\th: h,\n\tcreateElement: h,\n\tcloneElement: cloneElement,\n\tComponent: Component,\n\trender: render,\n\trerender: rerender,\n\toptions: options\n};\n\nexport default preact;\nexport { h, h as createElement, cloneElement, Component, render, rerender, options };\n//# sourceMappingURL=preact.mjs.map\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ../node_modules/preact/dist/preact.mjs\n// module id = 0\n// module chunks = 0","/** MobX - (c) Michel Weststrate 2015, 2016 - MIT Licensed */\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n\r\nfunction __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\n\n/**\n * Anything that can be used to _store_ state is an Atom in mobx. Atoms have two important jobs\n *\n * 1) detect when they are being _used_ and report this (using reportObserved). This allows mobx to make the connection between running functions and the data they used\n * 2) they should notify mobx whenever they have _changed_. This way mobx can re-run any functions (derivations) that are using this atom.\n */\nvar BaseAtom = /** @class */ (function () {\n /**\n * Create a new atom. For debugging purposes it is recommended to give it a name.\n * The onBecomeObserved and onBecomeUnobserved callbacks can be used for resource management.\n */\n function BaseAtom(name) {\n if (name === void 0) { name = \"Atom@\" + getNextId(); }\n this.name = name;\n this.isPendingUnobservation = true; // for effective unobserving. BaseAtom has true, for extra optimization, so its onBecomeUnobserved never gets called, because it's not needed\n this.observers = [];\n this.observersIndexes = {};\n this.diffValue = 0;\n this.lastAccessedBy = 0;\n this.lowestObserverState = IDerivationState.NOT_TRACKING;\n }\n BaseAtom.prototype.onBecomeUnobserved = function () {\n // noop\n };\n /**\n * Invoke this method to notify mobx that your atom has been used somehow.\n */\n BaseAtom.prototype.reportObserved = function () {\n reportObserved(this);\n };\n /**\n * Invoke this method _after_ this method has changed to signal mobx that all its observers should invalidate.\n */\n BaseAtom.prototype.reportChanged = function () {\n startBatch();\n propagateChanged(this);\n endBatch();\n };\n BaseAtom.prototype.toString = function () {\n return this.name;\n };\n return BaseAtom;\n}());\nvar Atom = /** @class */ (function (_super) {\n __extends(Atom, _super);\n /**\n * Create a new atom. For debugging purposes it is recommended to give it a name.\n * The onBecomeObserved and onBecomeUnobserved callbacks can be used for resource management.\n */\n function Atom(name, onBecomeObservedHandler, onBecomeUnobservedHandler) {\n if (name === void 0) { name = \"Atom@\" + getNextId(); }\n if (onBecomeObservedHandler === void 0) { onBecomeObservedHandler = noop; }\n if (onBecomeUnobservedHandler === void 0) { onBecomeUnobservedHandler = noop; }\n var _this = _super.call(this, name) || this;\n _this.name = name;\n _this.onBecomeObservedHandler = onBecomeObservedHandler;\n _this.onBecomeUnobservedHandler = onBecomeUnobservedHandler;\n _this.isPendingUnobservation = false; // for effective unobserving.\n _this.isBeingTracked = false;\n return _this;\n }\n Atom.prototype.reportObserved = function () {\n startBatch();\n _super.prototype.reportObserved.call(this);\n if (!this.isBeingTracked) {\n this.isBeingTracked = true;\n this.onBecomeObservedHandler();\n }\n endBatch();\n return !!globalState.trackingDerivation;\n // return doesn't really give useful info, because it can be as well calling computed which calls atom (no reactions)\n // also it could not trigger when calculating reaction dependent on Atom because Atom's value was cached by computed called by given reaction.\n };\n Atom.prototype.onBecomeUnobserved = function () {\n this.isBeingTracked = false;\n this.onBecomeUnobservedHandler();\n };\n return Atom;\n}(BaseAtom));\nvar isAtom = createInstanceofPredicate(\"Atom\", BaseAtom);\n\nfunction hasInterceptors(interceptable) {\n return interceptable.interceptors && interceptable.interceptors.length > 0;\n}\nfunction registerInterceptor(interceptable, handler) {\n var interceptors = interceptable.interceptors || (interceptable.interceptors = []);\n interceptors.push(handler);\n return once(function () {\n var idx = interceptors.indexOf(handler);\n if (idx !== -1)\n interceptors.splice(idx, 1);\n });\n}\nfunction interceptChange(interceptable, change) {\n var prevU = untrackedStart();\n try {\n var interceptors = interceptable.interceptors;\n if (interceptors)\n for (var i = 0, l = interceptors.length; i < l; i++) {\n change = interceptors[i](change);\n invariant(!change || change.type, \"Intercept handlers should return nothing or a change object\");\n if (!change)\n break;\n }\n return change;\n }\n finally {\n untrackedEnd(prevU);\n }\n}\n\nfunction hasListeners(listenable) {\n return listenable.changeListeners && listenable.changeListeners.length > 0;\n}\nfunction registerListener(listenable, handler) {\n var listeners = listenable.changeListeners || (listenable.changeListeners = []);\n listeners.push(handler);\n return once(function () {\n var idx = listeners.indexOf(handler);\n if (idx !== -1)\n listeners.splice(idx, 1);\n });\n}\nfunction notifyListeners(listenable, change) {\n var prevU = untrackedStart();\n var listeners = listenable.changeListeners;\n if (!listeners)\n return;\n listeners = listeners.slice();\n for (var i = 0, l = listeners.length; i < l; i++) {\n listeners[i](change);\n }\n untrackedEnd(prevU);\n}\n\nfunction isSpyEnabled() {\n return !!globalState.spyListeners.length;\n}\nfunction spyReport(event) {\n if (!globalState.spyListeners.length)\n return;\n var listeners = globalState.spyListeners;\n for (var i = 0, l = listeners.length; i < l; i++)\n listeners[i](event);\n}\nfunction spyReportStart(event) {\n var change = objectAssign({}, event, { spyReportStart: true });\n spyReport(change);\n}\nvar END_EVENT = { spyReportEnd: true };\nfunction spyReportEnd(change) {\n if (change)\n spyReport(objectAssign({}, change, END_EVENT));\n else\n spyReport(END_EVENT);\n}\nfunction spy(listener) {\n globalState.spyListeners.push(listener);\n return once(function () {\n var idx = globalState.spyListeners.indexOf(listener);\n if (idx !== -1)\n globalState.spyListeners.splice(idx, 1);\n });\n}\n\nfunction iteratorSymbol() {\n return (typeof Symbol === \"function\" && Symbol.iterator) || \"@@iterator\";\n}\nvar IS_ITERATING_MARKER = \"__$$iterating\";\nfunction arrayAsIterator(array) {\n // returning an array for entries(), values() etc for maps was a mis-interpretation of the specs..,\n // yet it is quite convenient to be able to use the response both as array directly and as iterator\n // it is suboptimal, but alas...\n invariant(array[IS_ITERATING_MARKER] !== true, \"Illegal state: cannot recycle array as iterator\");\n addHiddenFinalProp(array, IS_ITERATING_MARKER, true);\n var idx = -1;\n addHiddenFinalProp(array, \"next\", function next() {\n idx++;\n return {\n done: idx >= this.length,\n value: idx < this.length ? this[idx] : undefined\n };\n });\n return array;\n}\nfunction declareIterator(prototType, iteratorFactory) {\n addHiddenFinalProp(prototType, iteratorSymbol(), iteratorFactory);\n}\n\nvar MAX_SPLICE_SIZE = 10000; // See e.g. https://github.com/mobxjs/mobx/issues/859\n// Detects bug in safari 9.1.1 (or iOS 9 safari mobile). See #364\nvar safariPrototypeSetterInheritanceBug = (function () {\n var v = false;\n var p = {};\n Object.defineProperty(p, \"0\", {\n set: function () {\n v = true;\n }\n });\n Object.create(p)[\"0\"] = 1;\n return v === false;\n})();\n/**\n * This array buffer contains two lists of properties, so that all arrays\n * can recycle their property definitions, which significantly improves performance of creating\n * properties on the fly.\n */\nvar OBSERVABLE_ARRAY_BUFFER_SIZE = 0;\n// Typescript workaround to make sure ObservableArray extends Array\nvar StubArray = /** @class */ (function () {\n function StubArray() {\n }\n return StubArray;\n}());\nfunction inherit(ctor, proto) {\n if (typeof Object[\"setPrototypeOf\"] !== \"undefined\") {\n Object[\"setPrototypeOf\"](ctor.prototype, proto);\n }\n else if (typeof ctor.prototype.__proto__ !== \"undefined\") {\n ctor.prototype.__proto__ = proto;\n }\n else {\n ctor[\"prototype\"] = proto;\n }\n}\ninherit(StubArray, Array.prototype);\n// Weex freeze Array.prototype\n// Make them writeable and configurable in prototype chain\n// https://github.com/alibaba/weex/pull/1529\nif (Object.isFrozen(Array)) {\n \n [\n \"constructor\",\n \"push\",\n \"shift\",\n \"concat\",\n \"pop\",\n \"unshift\",\n \"replace\",\n \"find\",\n \"findIndex\",\n \"splice\",\n \"reverse\",\n \"sort\"\n ].forEach(function (key) {\n Object.defineProperty(StubArray.prototype, key, {\n configurable: true,\n writable: true,\n value: Array.prototype[key]\n });\n });\n}\nvar ObservableArrayAdministration = /** @class */ (function () {\n function ObservableArrayAdministration(name, enhancer, array, owned) {\n this.array = array;\n this.owned = owned;\n this.values = [];\n this.lastKnownLength = 0;\n this.interceptors = null;\n this.changeListeners = null;\n this.atom = new BaseAtom(name || \"ObservableArray@\" + getNextId());\n this.enhancer = function (newV, oldV) { return enhancer(newV, oldV, name + \"[..]\"); };\n }\n ObservableArrayAdministration.prototype.dehanceValue = function (value) {\n if (this.dehancer !== undefined)\n return this.dehancer(value);\n return value;\n };\n ObservableArrayAdministration.prototype.dehanceValues = function (values) {\n if (this.dehancer !== undefined)\n return values.map(this.dehancer);\n return values;\n };\n ObservableArrayAdministration.prototype.intercept = function (handler) {\n return registerInterceptor(this, handler);\n };\n ObservableArrayAdministration.prototype.observe = function (listener, fireImmediately) {\n if (fireImmediately === void 0) { fireImmediately = false; }\n if (fireImmediately) {\n listener({\n object: this.array,\n type: \"splice\",\n index: 0,\n added: this.values.slice(),\n addedCount: this.values.length,\n removed: [],\n removedCount: 0\n });\n }\n return registerListener(this, listener);\n };\n ObservableArrayAdministration.prototype.getArrayLength = function () {\n this.atom.reportObserved();\n return this.values.length;\n };\n ObservableArrayAdministration.prototype.setArrayLength = function (newLength) {\n if (typeof newLength !== \"number\" || newLength < 0)\n throw new Error(\"[mobx.array] Out of range: \" + newLength);\n var currentLength = this.values.length;\n if (newLength === currentLength)\n return;\n else if (newLength > currentLength) {\n var newItems = new Array(newLength - currentLength);\n for (var i = 0; i < newLength - currentLength; i++)\n newItems[i] = undefined; // No Array.fill everywhere...\n this.spliceWithArray(currentLength, 0, newItems);\n }\n else\n this.spliceWithArray(newLength, currentLength - newLength);\n };\n // adds / removes the necessary numeric properties to this object\n ObservableArrayAdministration.prototype.updateArrayLength = function (oldLength, delta) {\n if (oldLength !== this.lastKnownLength)\n throw new Error(\"[mobx] Modification exception: the internal structure of an observable array was changed. Did you use peek() to change it?\");\n this.lastKnownLength += delta;\n if (delta > 0 && oldLength + delta + 1 > OBSERVABLE_ARRAY_BUFFER_SIZE)\n reserveArrayBuffer(oldLength + delta + 1);\n };\n ObservableArrayAdministration.prototype.spliceWithArray = function (index, deleteCount, newItems) {\n var _this = this;\n checkIfStateModificationsAreAllowed(this.atom);\n var length = this.values.length;\n if (index === undefined)\n index = 0;\n else if (index > length)\n index = length;\n else if (index < 0)\n index = Math.max(0, length + index);\n if (arguments.length === 1)\n deleteCount = length - index;\n else if (deleteCount === undefined || deleteCount === null)\n deleteCount = 0;\n else\n deleteCount = Math.max(0, Math.min(deleteCount, length - index));\n if (newItems === undefined)\n newItems = [];\n if (hasInterceptors(this)) {\n var change = interceptChange(this, {\n object: this.array,\n type: \"splice\",\n index: index,\n removedCount: deleteCount,\n added: newItems\n });\n if (!change)\n return EMPTY_ARRAY;\n deleteCount = change.removedCount;\n newItems = change.added;\n }\n newItems = newItems.map(function (v) { return _this.enhancer(v, undefined); });\n var lengthDelta = newItems.length - deleteCount;\n this.updateArrayLength(length, lengthDelta); // create or remove new entries\n var res = this.spliceItemsIntoValues(index, deleteCount, newItems);\n if (deleteCount !== 0 || newItems.length !== 0)\n this.notifyArraySplice(index, newItems, res);\n return this.dehanceValues(res);\n };\n ObservableArrayAdministration.prototype.spliceItemsIntoValues = function (index, deleteCount, newItems) {\n if (newItems.length < MAX_SPLICE_SIZE) {\n return (_a = this.values).splice.apply(_a, [index, deleteCount].concat(newItems));\n }\n else {\n var res = this.values.slice(index, index + deleteCount);\n this.values = this.values\n .slice(0, index)\n .concat(newItems, this.values.slice(index + deleteCount));\n return res;\n }\n var _a;\n };\n ObservableArrayAdministration.prototype.notifyArrayChildUpdate = function (index, newValue, oldValue) {\n var notifySpy = !this.owned && isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy\n ? {\n object: this.array,\n type: \"update\",\n index: index,\n newValue: newValue,\n oldValue: oldValue\n }\n : null;\n if (notifySpy)\n spyReportStart(change);\n this.atom.reportChanged();\n if (notify)\n notifyListeners(this, change);\n if (notifySpy)\n spyReportEnd();\n };\n ObservableArrayAdministration.prototype.notifyArraySplice = function (index, added, removed) {\n var notifySpy = !this.owned && isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy\n ? {\n object: this.array,\n type: \"splice\",\n index: index,\n removed: removed,\n added: added,\n removedCount: removed.length,\n addedCount: added.length\n }\n : null;\n if (notifySpy)\n spyReportStart(change);\n this.atom.reportChanged();\n // conform: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/observe\n if (notify)\n notifyListeners(this, change);\n if (notifySpy)\n spyReportEnd();\n };\n return ObservableArrayAdministration;\n}());\nvar ObservableArray = /** @class */ (function (_super) {\n __extends(ObservableArray, _super);\n function ObservableArray(initialValues, enhancer, name, owned) {\n if (name === void 0) { name = \"ObservableArray@\" + getNextId(); }\n if (owned === void 0) { owned = false; }\n var _this = _super.call(this) || this;\n var adm = new ObservableArrayAdministration(name, enhancer, _this, owned);\n addHiddenFinalProp(_this, \"$mobx\", adm);\n if (initialValues && initialValues.length) {\n _this.spliceWithArray(0, 0, initialValues);\n }\n if (safariPrototypeSetterInheritanceBug) {\n // Seems that Safari won't use numeric prototype setter untill any * numeric property is\n // defined on the instance. After that it works fine, even if this property is deleted.\n Object.defineProperty(adm.array, \"0\", ENTRY_0);\n }\n return _this;\n }\n ObservableArray.prototype.intercept = function (handler) {\n return this.$mobx.intercept(handler);\n };\n ObservableArray.prototype.observe = function (listener, fireImmediately) {\n if (fireImmediately === void 0) { fireImmediately = false; }\n return this.$mobx.observe(listener, fireImmediately);\n };\n ObservableArray.prototype.clear = function () {\n return this.splice(0);\n };\n ObservableArray.prototype.concat = function () {\n var arrays = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n arrays[_i] = arguments[_i];\n }\n this.$mobx.atom.reportObserved();\n return Array.prototype.concat.apply(this.peek(), arrays.map(function (a) { return (isObservableArray(a) ? a.peek() : a); }));\n };\n ObservableArray.prototype.replace = function (newItems) {\n return this.$mobx.spliceWithArray(0, this.$mobx.values.length, newItems);\n };\n /**\n * Converts this array back to a (shallow) javascript structure.\n * For a deep clone use mobx.toJS\n */\n ObservableArray.prototype.toJS = function () {\n return this.slice();\n };\n ObservableArray.prototype.toJSON = function () {\n // Used by JSON.stringify\n return this.toJS();\n };\n ObservableArray.prototype.peek = function () {\n this.$mobx.atom.reportObserved();\n return this.$mobx.dehanceValues(this.$mobx.values);\n };\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n ObservableArray.prototype.find = function (predicate, thisArg, fromIndex) {\n if (fromIndex === void 0) { fromIndex = 0; }\n var idx = this.findIndex.apply(this, arguments);\n return idx === -1 ? undefined : this.get(idx);\n };\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex\n ObservableArray.prototype.findIndex = function (predicate, thisArg, fromIndex) {\n if (fromIndex === void 0) { fromIndex = 0; }\n var items = this.peek(), l = items.length;\n for (var i = fromIndex; i < l; i++)\n if (predicate.call(thisArg, items[i], i, this))\n return i;\n return -1;\n };\n /*\n * functions that do alter the internal structure of the array, (based on lib.es6.d.ts)\n * since these functions alter the inner structure of the array, the have side effects.\n * Because the have side effects, they should not be used in computed function,\n * and for that reason the do not call dependencyState.notifyObserved\n */\n ObservableArray.prototype.splice = function (index, deleteCount) {\n var newItems = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n newItems[_i - 2] = arguments[_i];\n }\n switch (arguments.length) {\n case 0:\n return [];\n case 1:\n return this.$mobx.spliceWithArray(index);\n case 2:\n return this.$mobx.spliceWithArray(index, deleteCount);\n }\n return this.$mobx.spliceWithArray(index, deleteCount, newItems);\n };\n ObservableArray.prototype.spliceWithArray = function (index, deleteCount, newItems) {\n return this.$mobx.spliceWithArray(index, deleteCount, newItems);\n };\n ObservableArray.prototype.push = function () {\n var items = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n items[_i] = arguments[_i];\n }\n var adm = this.$mobx;\n adm.spliceWithArray(adm.values.length, 0, items);\n return adm.values.length;\n };\n ObservableArray.prototype.pop = function () {\n return this.splice(Math.max(this.$mobx.values.length - 1, 0), 1)[0];\n };\n ObservableArray.prototype.shift = function () {\n return this.splice(0, 1)[0];\n };\n ObservableArray.prototype.unshift = function () {\n var items = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n items[_i] = arguments[_i];\n }\n var adm = this.$mobx;\n adm.spliceWithArray(0, 0, items);\n return adm.values.length;\n };\n ObservableArray.prototype.reverse = function () {\n // reverse by default mutates in place before returning the result\n // which makes it both a 'derivation' and a 'mutation'.\n // so we deviate from the default and just make it an dervitation\n var clone = this.slice();\n return clone.reverse.apply(clone, arguments);\n };\n ObservableArray.prototype.sort = function (compareFn) {\n // sort by default mutates in place before returning the result\n // which goes against all good practices. Let's not change the array in place!\n var clone = this.slice();\n return clone.sort.apply(clone, arguments);\n };\n ObservableArray.prototype.remove = function (value) {\n var idx = this.$mobx.dehanceValues(this.$mobx.values).indexOf(value);\n if (idx > -1) {\n this.splice(idx, 1);\n return true;\n }\n return false;\n };\n ObservableArray.prototype.move = function (fromIndex, toIndex) {\n function checkIndex(index) {\n if (index < 0) {\n throw new Error(\"[mobx.array] Index out of bounds: \" + index + \" is negative\");\n }\n var length = this.$mobx.values.length;\n if (index >= length) {\n throw new Error(\"[mobx.array] Index out of bounds: \" + index + \" is not smaller than \" + length);\n }\n }\n checkIndex.call(this, fromIndex);\n checkIndex.call(this, toIndex);\n if (fromIndex === toIndex) {\n return;\n }\n var oldItems = this.$mobx.values;\n var newItems;\n if (fromIndex < toIndex) {\n newItems = oldItems.slice(0, fromIndex).concat(oldItems.slice(fromIndex + 1, toIndex + 1), [\n oldItems[fromIndex]\n ], oldItems.slice(toIndex + 1));\n }\n else {\n // toIndex < fromIndex\n newItems = oldItems.slice(0, toIndex).concat([\n oldItems[fromIndex]\n ], oldItems.slice(toIndex, fromIndex), oldItems.slice(fromIndex + 1));\n }\n this.replace(newItems);\n };\n // See #734, in case property accessors are unreliable...\n ObservableArray.prototype.get = function (index) {\n var impl = this.$mobx;\n if (impl) {\n if (index < impl.values.length) {\n impl.atom.reportObserved();\n return impl.dehanceValue(impl.values[index]);\n }\n console.warn(\"[mobx.array] Attempt to read an array index (\" + index + \") that is out of bounds (\" + impl\n .values\n .length + \"). Please check length first. Out of bound indices will not be tracked by MobX\");\n }\n return undefined;\n };\n // See #734, in case property accessors are unreliable...\n ObservableArray.prototype.set = function (index, newValue) {\n var adm = this.$mobx;\n var values = adm.values;\n if (index < values.length) {\n // update at index in range\n checkIfStateModificationsAreAllowed(adm.atom);\n var oldValue = values[index];\n if (hasInterceptors(adm)) {\n var change = interceptChange(adm, {\n type: \"update\",\n object: this,\n index: index,\n newValue: newValue\n });\n if (!change)\n return;\n newValue = change.newValue;\n }\n newValue = adm.enhancer(newValue, oldValue);\n var changed = newValue !== oldValue;\n if (changed) {\n values[index] = newValue;\n adm.notifyArrayChildUpdate(index, newValue, oldValue);\n }\n }\n else if (index === values.length) {\n // add a new item\n adm.spliceWithArray(index, 0, [newValue]);\n }\n else {\n // out of bounds\n throw new Error(\"[mobx.array] Index out of bounds, \" + index + \" is larger than \" + values.length);\n }\n };\n return ObservableArray;\n}(StubArray));\ndeclareIterator(ObservableArray.prototype, function () {\n return arrayAsIterator(this.slice());\n});\nObject.defineProperty(ObservableArray.prototype, \"length\", {\n enumerable: false,\n configurable: true,\n get: function () {\n return this.$mobx.getArrayLength();\n },\n set: function (newLength) {\n this.$mobx.setArrayLength(newLength);\n }\n});\n[\n \"every\",\n \"filter\",\n \"forEach\",\n \"indexOf\",\n \"join\",\n \"lastIndexOf\",\n \"map\",\n \"reduce\",\n \"reduceRight\",\n \"slice\",\n \"some\",\n \"toString\",\n \"toLocaleString\"\n].forEach(function (funcName) {\n var baseFunc = Array.prototype[funcName];\n invariant(typeof baseFunc === \"function\", \"Base function not defined on Array prototype: '\" + funcName + \"'\");\n addHiddenProp(ObservableArray.prototype, funcName, function () {\n return baseFunc.apply(this.peek(), arguments);\n });\n});\n/**\n * We don't want those to show up in `for (const key in ar)` ...\n */\nmakeNonEnumerable(ObservableArray.prototype, [\n \"constructor\",\n \"intercept\",\n \"observe\",\n \"clear\",\n \"concat\",\n \"get\",\n \"replace\",\n \"toJS\",\n \"toJSON\",\n \"peek\",\n \"find\",\n \"findIndex\",\n \"splice\",\n \"spliceWithArray\",\n \"push\",\n \"pop\",\n \"set\",\n \"shift\",\n \"unshift\",\n \"reverse\",\n \"sort\",\n \"remove\",\n \"move\",\n \"toString\",\n \"toLocaleString\"\n]);\n// See #364\nvar ENTRY_0 = createArrayEntryDescriptor(0);\nfunction createArrayEntryDescriptor(index) {\n return {\n enumerable: false,\n configurable: false,\n get: function () {\n // TODO: Check `this`?, see #752?\n return this.get(index);\n },\n set: function (value) {\n this.set(index, value);\n }\n };\n}\nfunction createArrayBufferItem(index) {\n Object.defineProperty(ObservableArray.prototype, \"\" + index, createArrayEntryDescriptor(index));\n}\nfunction reserveArrayBuffer(max) {\n for (var index = OBSERVABLE_ARRAY_BUFFER_SIZE; index < max; index++)\n createArrayBufferItem(index);\n OBSERVABLE_ARRAY_BUFFER_SIZE = max;\n}\nreserveArrayBuffer(1000);\nvar isObservableArrayAdministration = createInstanceofPredicate(\"ObservableArrayAdministration\", ObservableArrayAdministration);\nfunction isObservableArray(thing) {\n return isObject(thing) && isObservableArrayAdministration(thing.$mobx);\n}\n\nvar UNCHANGED = {};\nvar ObservableValue = /** @class */ (function (_super) {\n __extends(ObservableValue, _super);\n function ObservableValue(value, enhancer, name, notifySpy) {\n if (name === void 0) { name = \"ObservableValue@\" + getNextId(); }\n if (notifySpy === void 0) { notifySpy = true; }\n var _this = _super.call(this, name) || this;\n _this.enhancer = enhancer;\n _this.hasUnreportedChange = false;\n _this.dehancer = undefined;\n _this.value = enhancer(value, undefined, name);\n if (notifySpy && isSpyEnabled()) {\n // only notify spy if this is a stand-alone observable\n spyReport({ type: \"create\", object: _this, newValue: _this.value });\n }\n return _this;\n }\n ObservableValue.prototype.dehanceValue = function (value) {\n if (this.dehancer !== undefined)\n return this.dehancer(value);\n return value;\n };\n ObservableValue.prototype.set = function (newValue) {\n var oldValue = this.value;\n newValue = this.prepareNewValue(newValue);\n if (newValue !== UNCHANGED) {\n var notifySpy = isSpyEnabled();\n if (notifySpy) {\n spyReportStart({\n type: \"update\",\n object: this,\n newValue: newValue,\n oldValue: oldValue\n });\n }\n this.setNewValue(newValue);\n if (notifySpy)\n spyReportEnd();\n }\n };\n ObservableValue.prototype.prepareNewValue = function (newValue) {\n checkIfStateModificationsAreAllowed(this);\n if (hasInterceptors(this)) {\n var change = interceptChange(this, {\n object: this,\n type: \"update\",\n newValue: newValue\n });\n if (!change)\n return UNCHANGED;\n newValue = change.newValue;\n }\n // apply modifier\n newValue = this.enhancer(newValue, this.value, this.name);\n return this.value !== newValue ? newValue : UNCHANGED;\n };\n ObservableValue.prototype.setNewValue = function (newValue) {\n var oldValue = this.value;\n this.value = newValue;\n this.reportChanged();\n if (hasListeners(this)) {\n notifyListeners(this, {\n type: \"update\",\n object: this,\n newValue: newValue,\n oldValue: oldValue\n });\n }\n };\n ObservableValue.prototype.get = function () {\n this.reportObserved();\n return this.dehanceValue(this.value);\n };\n ObservableValue.prototype.intercept = function (handler) {\n return registerInterceptor(this, handler);\n };\n ObservableValue.prototype.observe = function (listener, fireImmediately) {\n if (fireImmediately)\n listener({\n object: this,\n type: \"update\",\n newValue: this.value,\n oldValue: undefined\n });\n return registerListener(this, listener);\n };\n ObservableValue.prototype.toJSON = function () {\n return this.get();\n };\n ObservableValue.prototype.toString = function () {\n return this.name + \"[\" + this.value + \"]\";\n };\n ObservableValue.prototype.valueOf = function () {\n return toPrimitive(this.get());\n };\n return ObservableValue;\n}(BaseAtom));\nObservableValue.prototype[primitiveSymbol()] = ObservableValue.prototype.valueOf;\nvar isObservableValue = createInstanceofPredicate(\"ObservableValue\", ObservableValue);\n\nvar messages = {\n m001: \"It is not allowed to assign new values to @action fields\",\n m002: \"`runInAction` expects a function\",\n m003: \"`runInAction` expects a function without arguments\",\n m004: \"autorun expects a function\",\n m005: \"Warning: attempted to pass an action to autorun. Actions are untracked and will not trigger on state changes. Use `reaction` or wrap only your state modification code in an action.\",\n m006: \"Warning: attempted to pass an action to autorunAsync. Actions are untracked and will not trigger on state changes. Use `reaction` or wrap only your state modification code in an action.\",\n m007: \"reaction only accepts 2 or 3 arguments. If migrating from MobX 2, please provide an options object\",\n m008: \"wrapping reaction expression in `asReference` is no longer supported, use options object instead\",\n m009: \"@computed can only be used on getter functions, like: '@computed get myProps() { return ...; }'. It looks like it was used on a property.\",\n m010: \"@computed can only be used on getter functions, like: '@computed get myProps() { return ...; }'\",\n m011: \"First argument to `computed` should be an expression. If using computed as decorator, don't pass it arguments\",\n m012: \"computed takes one or two arguments if used as function\",\n m013: \"[mobx.expr] 'expr' should only be used inside other reactive functions.\",\n m014: \"extendObservable expected 2 or more arguments\",\n m015: \"extendObservable expects an object as first argument\",\n m016: \"extendObservable should not be used on maps, use map.merge instead\",\n m017: \"all arguments of extendObservable should be objects\",\n m018: \"extending an object with another observable (object) is not supported. Please construct an explicit propertymap, using `toJS` if need. See issue #540\",\n m019: \"[mobx.isObservable] isObservable(object, propertyName) is not supported for arrays and maps. Use map.has or array.length instead.\",\n m020: \"modifiers can only be used for individual object properties\",\n m021: \"observable expects zero or one arguments\",\n m022: \"@observable can not be used on getters, use @computed instead\",\n m024: \"whyRun() can only be used if a derivation is active, or by passing an computed value / reaction explicitly. If you invoked whyRun from inside a computation; the computation is currently suspended but re-evaluating because somebody requested its value.\",\n m025: \"whyRun can only be used on reactions and computed values\",\n m026: \"`action` can only be invoked on functions\",\n m028: \"It is not allowed to set `useStrict` when a derivation is running\",\n m029: \"INTERNAL ERROR only onBecomeUnobserved shouldn't be called twice in a row\",\n m030a: \"Since strict-mode is enabled, changing observed observable values outside actions is not allowed. Please wrap the code in an `action` if this change is intended. Tried to modify: \",\n m030b: \"Side effects like changing state are not allowed at this point. Are you trying to modify state from, for example, the render function of a React component? Tried to modify: \",\n m031: \"Computed values are not allowed to cause side effects by changing observables that are already being observed. Tried to modify: \",\n m032: \"* This computation is suspended (not in use by any reaction) and won't run automatically.\\n\tDidn't expect this computation to be suspended at this point?\\n\t 1. Make sure this computation is used by a reaction (reaction, autorun, observer).\\n\t 2. Check whether you are using this computation synchronously (in the same stack as they reaction that needs it).\",\n m033: \"`observe` doesn't support the fire immediately property for observable maps.\",\n m034: \"`mobx.map` is deprecated, use `new ObservableMap` or `mobx.observable.map` instead\",\n m035: \"Cannot make the designated object observable; it is not extensible\",\n m036: \"It is not possible to get index atoms from arrays\",\n m037: \"Hi there! I'm sorry you have just run into an exception.\\nIf your debugger ends up here, know that some reaction (like the render() of an observer component, autorun or reaction)\\nthrew an exception and that mobx caught it, to avoid that it brings the rest of your application down.\\nThe original cause of the exception (the code that caused this reaction to run (again)), is still in the stack.\\n\\nHowever, more interesting is the actual stack trace of the error itself.\\nHopefully the error is an instanceof Error, because in that case you can inspect the original stack of the error from where it was thrown.\\nSee `error.stack` property, or press the very subtle \\\"(...)\\\" link you see near the console.error message that probably brought you here.\\nThat stack is more interesting than the stack of this console.error itself.\\n\\nIf the exception you see is an exception you created yourself, make sure to use `throw new Error(\\\"Oops\\\")` instead of `throw \\\"Oops\\\"`,\\nbecause the javascript environment will only preserve the original stack trace in the first form.\\n\\nYou can also make sure the debugger pauses the next time this very same exception is thrown by enabling \\\"Pause on caught exception\\\".\\n(Note that it might pause on many other, unrelated exception as well).\\n\\nIf that all doesn't help you out, feel free to open an issue https://github.com/mobxjs/mobx/issues!\\n\",\n m038: \"Missing items in this list?\\n 1. Check whether all used values are properly marked as observable (use isObservable to verify)\\n 2. Make sure you didn't dereference values too early. MobX observes props, not primitives. E.g: use 'person.name' instead of 'name' in your computation.\\n\"\n};\nfunction getMessage(id) {\n return messages[id];\n}\n\nfunction createAction(actionName, fn) {\n invariant(typeof fn === \"function\", getMessage(\"m026\"));\n invariant(typeof actionName === \"string\" && actionName.length > 0, \"actions should have valid names, got: '\" + actionName + \"'\");\n var res = function () {\n return executeAction(actionName, fn, this, arguments);\n };\n res.originalFn = fn;\n res.isMobxAction = true;\n return res;\n}\nfunction executeAction(actionName, fn, scope, args) {\n var runInfo = startAction(actionName, fn, scope, args);\n try {\n return fn.apply(scope, args);\n }\n finally {\n endAction(runInfo);\n }\n}\nfunction startAction(actionName, fn, scope, args) {\n var notifySpy = isSpyEnabled() && !!actionName;\n var startTime = 0;\n if (notifySpy) {\n startTime = Date.now();\n var l = (args && args.length) || 0;\n var flattendArgs = new Array(l);\n if (l > 0)\n for (var i = 0; i < l; i++)\n flattendArgs[i] = args[i];\n spyReportStart({\n type: \"action\",\n name: actionName,\n fn: fn,\n object: scope,\n arguments: flattendArgs\n });\n }\n var prevDerivation = untrackedStart();\n startBatch();\n var prevAllowStateChanges = allowStateChangesStart(true);\n return {\n prevDerivation: prevDerivation,\n prevAllowStateChanges: prevAllowStateChanges,\n notifySpy: notifySpy,\n startTime: startTime\n };\n}\nfunction endAction(runInfo) {\n allowStateChangesEnd(runInfo.prevAllowStateChanges);\n endBatch();\n untrackedEnd(runInfo.prevDerivation);\n if (runInfo.notifySpy)\n spyReportEnd({ time: Date.now() - runInfo.startTime });\n}\nfunction useStrict(strict) {\n invariant(globalState.trackingDerivation === null, getMessage(\"m028\"));\n globalState.strictMode = strict;\n globalState.allowStateChanges = !strict;\n}\nfunction isStrictModeEnabled() {\n return globalState.strictMode;\n}\nfunction allowStateChanges(allowStateChanges, func) {\n // TODO: deprecate / refactor this function in next major\n // Currently only used by `@observer`\n // Proposed change: remove first param, rename to `forbidStateChanges`,\n // require error callback instead of the hardcoded error message now used\n // Use `inAction` instead of allowStateChanges in derivation.ts to check strictMode\n var prev = allowStateChangesStart(allowStateChanges);\n var res;\n try {\n res = func();\n }\n finally {\n allowStateChangesEnd(prev);\n }\n return res;\n}\nfunction allowStateChangesStart(allowStateChanges) {\n var prev = globalState.allowStateChanges;\n globalState.allowStateChanges = allowStateChanges;\n return prev;\n}\nfunction allowStateChangesEnd(prev) {\n globalState.allowStateChanges = prev;\n}\n\n/**\n * Constructs a decorator, that normalizes the differences between\n * TypeScript and Babel. Mainly caused by the fact that legacy-decorator cannot assign\n * values during instance creation to properties that have a getter setter.\n *\n * - Sigh -\n *\n * Also takes care of the difference between @decorator field and @decorator(args) field, and different forms of values.\n * For performance (cpu and mem) reasons the properties are always defined on the prototype (at least initially).\n * This means that these properties despite being enumerable might not show up in Object.keys() (but they will show up in for...in loops).\n */\nfunction createClassPropertyDecorator(\n/**\n * This function is invoked once, when the property is added to a new instance.\n * When this happens is not strictly determined due to differences in TS and Babel:\n * Typescript: Usually when constructing the new instance\n * Babel, sometimes Typescript: during the first get / set\n * Both: when calling `runLazyInitializers(instance)`\n */\nonInitialize, get, set, enumerable, \n/**\n * Can this decorator invoked with arguments? e.g. @decorator(args)\n */\nallowCustomArguments) {\n function classPropertyDecorator(target, key, descriptor, customArgs, argLen) {\n if (argLen === void 0) { argLen = 0; }\n invariant(allowCustomArguments || quacksLikeADecorator(arguments), \"This function is a decorator, but it wasn't invoked like a decorator\");\n if (!descriptor) {\n // typescript (except for getter / setters)\n var newDescriptor = {\n enumerable: enumerable,\n configurable: true,\n get: function () {\n if (!this.__mobxInitializedProps || this.__mobxInitializedProps[key] !== true)\n typescriptInitializeProperty(this, key, undefined, onInitialize, customArgs, descriptor);\n return get.call(this, key);\n },\n set: function (v) {\n if (!this.__mobxInitializedProps || this.__mobxInitializedProps[key] !== true) {\n typescriptInitializeProperty(this, key, v, onInitialize, customArgs, descriptor);\n }\n else {\n set.call(this, key, v);\n }\n }\n };\n if (arguments.length < 3 || (arguments.length === 5 && argLen < 3)) {\n // Typescript target is ES3, so it won't define property for us\n // or using Reflect.decorate polyfill, which will return no descriptor\n // (see https://github.com/mobxjs/mobx/issues/333)\n Object.defineProperty(target, key, newDescriptor);\n }\n return newDescriptor;\n }\n else {\n // babel and typescript getter / setter props\n if (!hasOwnProperty(target, \"__mobxLazyInitializers\")) {\n addHiddenProp(target, \"__mobxLazyInitializers\", (target.__mobxLazyInitializers && target.__mobxLazyInitializers.slice()) || [] // support inheritance\n );\n }\n var value_1 = descriptor.value, initializer_1 = descriptor.initializer;\n target.__mobxLazyInitializers.push(function (instance) {\n onInitialize(instance, key, initializer_1 ? initializer_1.call(instance) : value_1, customArgs, descriptor);\n });\n return {\n enumerable: enumerable,\n configurable: true,\n get: function () {\n if (this.__mobxDidRunLazyInitializers !== true)\n runLazyInitializers(this);\n return get.call(this, key);\n },\n set: function (v) {\n if (this.__mobxDidRunLazyInitializers !== true)\n runLazyInitializers(this);\n set.call(this, key, v);\n }\n };\n }\n }\n if (allowCustomArguments) {\n /** If custom arguments are allowed, we should return a function that returns a decorator */\n return function () {\n /** Direct invocation: @decorator bla */\n if (quacksLikeADecorator(arguments))\n return classPropertyDecorator.apply(null, arguments);\n /** Indirect invocation: @decorator(args) bla */\n var outerArgs = arguments;\n var argLen = arguments.length;\n return function (target, key, descriptor) {\n return classPropertyDecorator(target, key, descriptor, outerArgs, argLen);\n };\n };\n }\n return classPropertyDecorator;\n}\nfunction typescriptInitializeProperty(instance, key, v, onInitialize, customArgs, baseDescriptor) {\n if (!hasOwnProperty(instance, \"__mobxInitializedProps\"))\n addHiddenProp(instance, \"__mobxInitializedProps\", {});\n instance.__mobxInitializedProps[key] = true;\n onInitialize(instance, key, v, customArgs, baseDescriptor);\n}\nfunction runLazyInitializers(instance) {\n if (instance.__mobxDidRunLazyInitializers === true)\n return;\n if (instance.__mobxLazyInitializers) {\n addHiddenProp(instance, \"__mobxDidRunLazyInitializers\", true);\n instance.__mobxDidRunLazyInitializers &&\n instance.__mobxLazyInitializers.forEach(function (initializer) { return initializer(instance); });\n }\n}\nfunction quacksLikeADecorator(args) {\n return (args.length === 2 || args.length === 3) && typeof args[1] === \"string\";\n}\n\nvar actionFieldDecorator = createClassPropertyDecorator(function (target, key, value, args, originalDescriptor) {\n var actionName = args && args.length === 1 ? args[0] : value.name || key || \"\";\n var wrappedAction = action(actionName, value);\n addHiddenProp(target, key, wrappedAction);\n}, function (key) {\n return this[key];\n}, function () {\n invariant(false, getMessage(\"m001\"));\n}, false, true);\nvar boundActionDecorator = createClassPropertyDecorator(function (target, key, value) {\n defineBoundAction(target, key, value);\n}, function (key) {\n return this[key];\n}, function () {\n invariant(false, getMessage(\"m001\"));\n}, false, false);\nvar action = function action(arg1, arg2, arg3, arg4) {\n if (arguments.length === 1 && typeof arg1 === \"function\")\n return createAction(arg1.name || \"\", arg1);\n if (arguments.length === 2 && typeof arg2 === \"function\")\n return createAction(arg1, arg2);\n if (arguments.length === 1 && typeof arg1 === \"string\")\n return namedActionDecorator(arg1);\n return namedActionDecorator(arg2).apply(null, arguments);\n};\naction.bound = function boundAction(arg1, arg2, arg3) {\n if (typeof arg1 === \"function\") {\n var action_1 = createAction(\"\", arg1);\n action_1.autoBind = true;\n return action_1;\n }\n return boundActionDecorator.apply(null, arguments);\n};\nfunction namedActionDecorator(name) {\n return function (target, prop, descriptor) {\n if (descriptor && typeof descriptor.value === \"function\") {\n // TypeScript @action method() { }. Defined on proto before being decorated\n // Don't use the field decorator if we are just decorating a method\n descriptor.value = createAction(name, descriptor.value);\n descriptor.enumerable = false;\n descriptor.configurable = true;\n return descriptor;\n }\n if (descriptor !== undefined && descriptor.get !== undefined) {\n throw new Error(\"[mobx] action is not expected to be used with getters\");\n }\n // bound instance methods\n return actionFieldDecorator(name).apply(this, arguments);\n };\n}\nfunction runInAction(arg1, arg2, arg3) {\n var actionName = typeof arg1 === \"string\" ? arg1 : arg1.name || \"\";\n var fn = typeof arg1 === \"function\" ? arg1 : arg2;\n var scope = typeof arg1 === \"function\" ? arg2 : arg3;\n invariant(typeof fn === \"function\", getMessage(\"m002\"));\n invariant(fn.length === 0, getMessage(\"m003\"));\n invariant(typeof actionName === \"string\" && actionName.length > 0, \"actions should have valid names, got: '\" + actionName + \"'\");\n return executeAction(actionName, fn, scope, undefined);\n}\nfunction isAction(thing) {\n return typeof thing === \"function\" && thing.isMobxAction === true;\n}\nfunction defineBoundAction(target, propertyName, fn) {\n var res = function () {\n return executeAction(propertyName, fn, target, arguments);\n };\n res.isMobxAction = true;\n addHiddenProp(target, propertyName, res);\n}\n\nvar toString = Object.prototype.toString;\nfunction deepEqual(a, b) {\n return eq(a, b);\n}\n// Copied from https://github.com/jashkenas/underscore/blob/5c237a7c682fb68fd5378203f0bf22dce1624854/underscore.js#L1186-L1289\n// Internal recursive comparison function for `isEqual`.\nfunction eq(a, b, aStack, bStack) {\n // Identical objects are equal. `0 === -0`, but they aren't identical.\n // See the [Harmony `egal` proposal](http://wiki.ecmascript.org/doku.php?id=harmony:egal).\n if (a === b)\n return a !== 0 || 1 / a === 1 / b;\n // `null` or `undefined` only equal to itself (strict comparison).\n if (a == null || b == null)\n return false;\n // `NaN`s are equivalent, but non-reflexive.\n if (a !== a)\n return b !== b;\n // Exhaust primitive checks\n var type = typeof a;\n if (type !== \"function\" && type !== \"object\" && typeof b != \"object\")\n return false;\n return deepEq(a, b, aStack, bStack);\n}\n// Internal recursive comparison function for `isEqual`.\nfunction deepEq(a, b, aStack, bStack) {\n // Unwrap any wrapped objects.\n a = unwrap(a);\n b = unwrap(b);\n // Compare `[[Class]]` names.\n var className = toString.call(a);\n if (className !== toString.call(b))\n return false;\n switch (className) {\n // Strings, numbers, regular expressions, dates, and booleans are compared by value.\n case \"[object RegExp]\":\n // RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i')\n case \"[object String]\":\n // Primitives and their corresponding object wrappers are equivalent; thus, `\"5\"` is\n // equivalent to `new String(\"5\")`.\n return \"\" + a === \"\" + b;\n case \"[object Number]\":\n // `NaN`s are equivalent, but non-reflexive.\n // Object(NaN) is equivalent to NaN.\n if (+a !== +a)\n return +b !== +b;\n // An `egal` comparison is performed for other numeric values.\n return +a === 0 ? 1 / +a === 1 / b : +a === +b;\n case \"[object Date]\":\n case \"[object Boolean]\":\n // Coerce dates and booleans to numeric primitive values. Dates are compared by their\n // millisecond representations. Note that invalid dates with millisecond representations\n // of `NaN` are not equivalent.\n return +a === +b;\n case \"[object Symbol]\":\n return (typeof Symbol !== \"undefined\" && Symbol.valueOf.call(a) === Symbol.valueOf.call(b));\n }\n var areArrays = className === \"[object Array]\";\n if (!areArrays) {\n if (typeof a != \"object\" || typeof b != \"object\")\n return false;\n // Objects with different constructors are not equivalent, but `Object`s or `Array`s\n // from different frames are.\n var aCtor = a.constructor, bCtor = b.constructor;\n if (aCtor !== bCtor &&\n !(typeof aCtor === \"function\" &&\n aCtor instanceof aCtor &&\n typeof bCtor === \"function\" &&\n bCtor instanceof bCtor) &&\n (\"constructor\" in a && \"constructor\" in b)) {\n return false;\n }\n }\n // Assume equality for cyclic structures. The algorithm for detecting cyclic\n // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`.\n // Initializing stack of traversed objects.\n // It's done here since we only need them for objects and arrays comparison.\n aStack = aStack || [];\n bStack = bStack || [];\n var length = aStack.length;\n while (length--) {\n // Linear search. Performance is inversely proportional to the number of\n // unique nested structures.\n if (aStack[length] === a)\n return bStack[length] === b;\n }\n // Add the first object to the stack of traversed objects.\n aStack.push(a);\n bStack.push(b);\n // Recursively compare objects and arrays.\n if (areArrays) {\n // Compare array lengths to determine if a deep comparison is necessary.\n length = a.length;\n if (length !== b.length)\n return false;\n // Deep compare the contents, ignoring non-numeric properties.\n while (length--) {\n if (!eq(a[length], b[length], aStack, bStack))\n return false;\n }\n }\n else {\n // Deep compare objects.\n var keys = Object.keys(a), key;\n length = keys.length;\n // Ensure that both objects contain the same number of properties before comparing deep equality.\n if (Object.keys(b).length !== length)\n return false;\n while (length--) {\n // Deep compare each member\n key = keys[length];\n if (!(has(b, key) && eq(a[key], b[key], aStack, bStack)))\n return false;\n }\n }\n // Remove the first object from the stack of traversed objects.\n aStack.pop();\n bStack.pop();\n return true;\n}\nfunction unwrap(a) {\n if (isObservableArray(a))\n return a.peek();\n if (isObservableMap(a))\n return a.entries();\n if (isES6Map(a))\n return iteratorToArray(a.entries());\n return a;\n}\nfunction has(a, key) {\n return Object.prototype.hasOwnProperty.call(a, key);\n}\n\nfunction identityComparer(a, b) {\n return a === b;\n}\nfunction structuralComparer(a, b) {\n return deepEqual(a, b);\n}\nfunction defaultComparer(a, b) {\n return areBothNaN(a, b) || identityComparer(a, b);\n}\nvar comparer = {\n identity: identityComparer,\n structural: structuralComparer,\n default: defaultComparer\n};\n\nfunction autorun(arg1, arg2, arg3) {\n var name, view, scope;\n if (typeof arg1 === \"string\") {\n name = arg1;\n view = arg2;\n scope = arg3;\n }\n else {\n name = arg1.name || \"Autorun@\" + getNextId();\n view = arg1;\n scope = arg2;\n }\n invariant(typeof view === \"function\", getMessage(\"m004\"));\n invariant(isAction(view) === false, getMessage(\"m005\"));\n if (scope)\n view = view.bind(scope);\n var reaction = new Reaction(name, function () {\n this.track(reactionRunner);\n });\n function reactionRunner() {\n view(reaction);\n }\n reaction.schedule();\n return reaction.getDisposer();\n}\nfunction when(arg1, arg2, arg3, arg4) {\n var name, predicate, effect, scope;\n if (typeof arg1 === \"string\") {\n name = arg1;\n predicate = arg2;\n effect = arg3;\n scope = arg4;\n }\n else {\n name = \"When@\" + getNextId();\n predicate = arg1;\n effect = arg2;\n scope = arg3;\n }\n var disposer = autorun(name, function (r) {\n if (predicate.call(scope)) {\n r.dispose();\n var prevUntracked = untrackedStart();\n effect.call(scope);\n untrackedEnd(prevUntracked);\n }\n });\n return disposer;\n}\nfunction autorunAsync(arg1, arg2, arg3, arg4) {\n var name, func, delay, scope;\n if (typeof arg1 === \"string\") {\n name = arg1;\n func = arg2;\n delay = arg3;\n scope = arg4;\n }\n else {\n name = arg1.name || \"AutorunAsync@\" + getNextId();\n func = arg1;\n delay = arg2;\n scope = arg3;\n }\n invariant(isAction(func) === false, getMessage(\"m006\"));\n if (delay === void 0)\n delay = 1;\n if (scope)\n func = func.bind(scope);\n var isScheduled = false;\n var r = new Reaction(name, function () {\n if (!isScheduled) {\n isScheduled = true;\n setTimeout(function () {\n isScheduled = false;\n if (!r.isDisposed)\n r.track(reactionRunner);\n }, delay);\n }\n });\n function reactionRunner() {\n func(r);\n }\n r.schedule();\n return r.getDisposer();\n}\nfunction reaction(expression, effect, arg3) {\n if (arguments.length > 3) {\n fail(getMessage(\"m007\"));\n }\n if (isModifierDescriptor(expression)) {\n fail(getMessage(\"m008\"));\n }\n var opts;\n if (typeof arg3 === \"object\") {\n opts = arg3;\n }\n else {\n opts = {};\n }\n opts.name =\n opts.name || expression.name || effect.name || \"Reaction@\" + getNextId();\n opts.fireImmediately = arg3 === true || opts.fireImmediately === true;\n opts.delay = opts.delay || 0;\n opts.compareStructural = opts.compareStructural || opts.struct || false;\n // TODO: creates ugly spy events, use `effect = (r) => runInAction(opts.name, () => effect(r))` instead\n effect = action(opts.name, opts.context ? effect.bind(opts.context) : effect);\n if (opts.context) {\n expression = expression.bind(opts.context);\n }\n var firstTime = true;\n var isScheduled = false;\n var value;\n var equals = opts.equals\n ? opts.equals\n : opts.compareStructural || opts.struct ? comparer.structural : comparer.default;\n var r = new Reaction(opts.name, function () {\n if (firstTime || opts.delay < 1) {\n reactionRunner();\n }\n else if (!isScheduled) {\n isScheduled = true;\n setTimeout(function () {\n isScheduled = false;\n reactionRunner();\n }, opts.delay);\n }\n });\n function reactionRunner() {\n if (r.isDisposed)\n return;\n var changed = false;\n r.track(function () {\n var nextValue = expression(r);\n changed = firstTime || !equals(value, nextValue);\n value = nextValue;\n });\n if (firstTime && opts.fireImmediately)\n effect(value, r);\n if (!firstTime && changed === true)\n effect(value, r);\n if (firstTime)\n firstTime = false;\n }\n r.schedule();\n return r.getDisposer();\n}\n\n/**\n * A node in the state dependency root that observes other nodes, and can be observed itself.\n *\n * ComputedValue will remember the result of the computation for the duration of the batch, or\n * while being observed.\n *\n * During this time it will recompute only when one of its direct dependencies changed,\n * but only when it is being accessed with `ComputedValue.get()`.\n *\n * Implementation description:\n * 1. First time it's being accessed it will compute and remember result\n * give back remembered result until 2. happens\n * 2. First time any deep dependency change, propagate POSSIBLY_STALE to all observers, wait for 3.\n * 3. When it's being accessed, recompute if any shallow dependency changed.\n * if result changed: propagate STALE to all observers, that were POSSIBLY_STALE from the last step.\n * go to step 2. either way\n *\n * If at any point it's outside batch and it isn't observed: reset everything and go to 1.\n */\nvar ComputedValue = /** @class */ (function () {\n /**\n * Create a new computed value based on a function expression.\n *\n * The `name` property is for debug purposes only.\n *\n * The `equals` property specifies the comparer function to use to determine if a newly produced\n * value differs from the previous value. Two comparers are provided in the library; `defaultComparer`\n * compares based on identity comparison (===), and `structualComparer` deeply compares the structure.\n * Structural comparison can be convenient if you always produce an new aggregated object and\n * don't want to notify observers if it is structurally the same.\n * This is useful for working with vectors, mouse coordinates etc.\n */\n function ComputedValue(derivation, scope, equals, name, setter) {\n this.derivation = derivation;\n this.scope = scope;\n this.equals = equals;\n this.dependenciesState = IDerivationState.NOT_TRACKING;\n this.observing = []; // nodes we are looking at. Our value depends on these nodes\n this.newObserving = null; // during tracking it's an array with new observed observers\n this.isPendingUnobservation = false;\n this.observers = [];\n this.observersIndexes = {};\n this.diffValue = 0;\n this.runId = 0;\n this.lastAccessedBy = 0;\n this.lowestObserverState = IDerivationState.UP_TO_DATE;\n this.unboundDepsCount = 0;\n this.__mapid = \"#\" + getNextId();\n this.value = new CaughtException(null);\n this.isComputing = false; // to check for cycles\n this.isRunningSetter = false;\n this.isTracing = TraceMode.NONE;\n this.name = name || \"ComputedValue@\" + getNextId();\n if (setter)\n this.setter = createAction(name + \"-setter\", setter);\n }\n ComputedValue.prototype.onBecomeStale = function () {\n propagateMaybeChanged(this);\n };\n ComputedValue.prototype.onBecomeUnobserved = function () {\n clearObserving(this);\n this.value = undefined;\n };\n /**\n * Returns the current value of this computed value.\n * Will evaluate its computation first if needed.\n */\n ComputedValue.prototype.get = function () {\n invariant(!this.isComputing, \"Cycle detected in computation \" + this.name, this.derivation);\n if (globalState.inBatch === 0) {\n // This is an minor optimization which could be omitted to simplify the code\n // The computedValue is accessed outside of any mobx stuff. Batch observing should be enough and don't need\n // tracking as it will never be called again inside this batch.\n startBatch();\n if (shouldCompute(this)) {\n if (this.isTracing !== TraceMode.NONE) {\n console.log(\"[mobx.trace] '\" + this\n .name + \"' is being read outside a reactive context and doing a full recompute\");\n }\n this.value = this.computeValue(false);\n }\n endBatch();\n }\n else {\n reportObserved(this);\n if (shouldCompute(this))\n if (this.trackAndCompute())\n propagateChangeConfirmed(this);\n }\n var result = this.value;\n if (isCaughtException(result))\n throw result.cause;\n return result;\n };\n ComputedValue.prototype.peek = function () {\n var res = this.computeValue(false);\n if (isCaughtException(res))\n throw res.cause;\n return res;\n };\n ComputedValue.prototype.set = function (value) {\n if (this.setter) {\n invariant(!this.isRunningSetter, \"The setter of computed value '\" + this\n .name + \"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?\");\n this.isRunningSetter = true;\n try {\n this.setter.call(this.scope, value);\n }\n finally {\n this.isRunningSetter = false;\n }\n }\n else\n invariant(false, \"[ComputedValue '\" + this\n .name + \"'] It is not possible to assign a new value to a computed value.\");\n };\n ComputedValue.prototype.trackAndCompute = function () {\n if (isSpyEnabled()) {\n spyReport({\n object: this.scope,\n type: \"compute\",\n fn: this.derivation\n });\n }\n var oldValue = this.value;\n var wasSuspended = \n /* see #1208 */ this.dependenciesState === IDerivationState.NOT_TRACKING;\n var newValue = (this.value = this.computeValue(true));\n return (wasSuspended ||\n isCaughtException(oldValue) ||\n isCaughtException(newValue) ||\n !this.equals(oldValue, newValue));\n };\n ComputedValue.prototype.computeValue = function (track) {\n this.isComputing = true;\n globalState.computationDepth++;\n var res;\n if (track) {\n res = trackDerivedFunction(this, this.derivation, this.scope);\n }\n else {\n try {\n res = this.derivation.call(this.scope);\n }\n catch (e) {\n res = new CaughtException(e);\n }\n }\n globalState.computationDepth--;\n this.isComputing = false;\n return res;\n };\n ComputedValue.prototype.observe = function (listener, fireImmediately) {\n var _this = this;\n var firstTime = true;\n var prevValue = undefined;\n return autorun(function () {\n var newValue = _this.get();\n if (!firstTime || fireImmediately) {\n var prevU = untrackedStart();\n listener({\n type: \"update\",\n object: _this,\n newValue: newValue,\n oldValue: prevValue\n });\n untrackedEnd(prevU);\n }\n firstTime = false;\n prevValue = newValue;\n });\n };\n ComputedValue.prototype.toJSON = function () {\n return this.get();\n };\n ComputedValue.prototype.toString = function () {\n return this.name + \"[\" + this.derivation.toString() + \"]\";\n };\n ComputedValue.prototype.valueOf = function () {\n return toPrimitive(this.get());\n };\n ComputedValue.prototype.whyRun = function () {\n var isTracking = Boolean(globalState.trackingDerivation);\n var observing = unique(this.isComputing ? this.newObserving : this.observing).map(function (dep) { return dep.name; });\n var observers = unique(getObservers(this).map(function (dep) { return dep.name; }));\n return (\"\\nWhyRun? computation '\" + this.name + \"':\\n * Running because: \" + (isTracking\n ? \"[active] the value of this computation is needed by a reaction\"\n : this.isComputing\n ? \"[get] The value of this computed was requested outside a reaction\"\n : \"[idle] not running at the moment\") + \"\\n\" +\n (this.dependenciesState === IDerivationState.NOT_TRACKING\n ? getMessage(\"m032\")\n : \" * This computation will re-run if any of the following observables changes:\\n \" + joinStrings(observing) + \"\\n \" + (this.isComputing && isTracking\n ? \" (... or any observable accessed during the remainder of the current run)\"\n : \"\") + \"\\n \" + getMessage(\"m038\") + \"\\n\\n * If the outcome of this computation changes, the following observers will be re-run:\\n \" + joinStrings(observers) + \"\\n\"));\n };\n return ComputedValue;\n}());\nComputedValue.prototype[primitiveSymbol()] = ComputedValue.prototype.valueOf;\nvar isComputedValue = createInstanceofPredicate(\"ComputedValue\", ComputedValue);\n\nvar ObservableObjectAdministration = /** @class */ (function () {\n function ObservableObjectAdministration(target, name) {\n this.target = target;\n this.name = name;\n this.values = {};\n this.changeListeners = null;\n this.interceptors = null;\n }\n /**\n * Observes this object. Triggers for the events 'add', 'update' and 'delete'.\n * See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/observe\n * for callback details\n */\n ObservableObjectAdministration.prototype.observe = function (callback, fireImmediately) {\n invariant(fireImmediately !== true, \"`observe` doesn't support the fire immediately property for observable objects.\");\n return registerListener(this, callback);\n };\n ObservableObjectAdministration.prototype.intercept = function (handler) {\n return registerInterceptor(this, handler);\n };\n return ObservableObjectAdministration;\n}());\nfunction asObservableObject(target, name) {\n if (isObservableObject(target) && target.hasOwnProperty(\"$mobx\"))\n return target.$mobx;\n invariant(Object.isExtensible(target), getMessage(\"m035\"));\n if (!isPlainObject(target))\n name = (target.constructor.name || \"ObservableObject\") + \"@\" + getNextId();\n if (!name)\n name = \"ObservableObject@\" + getNextId();\n var adm = new ObservableObjectAdministration(target, name);\n addHiddenFinalProp(target, \"$mobx\", adm);\n return adm;\n}\nfunction defineObservablePropertyFromDescriptor(adm, propName, descriptor, defaultEnhancer) {\n if (adm.values[propName] && !isComputedValue(adm.values[propName])) {\n // already observable property\n invariant(\"value\" in descriptor, \"The property \" + propName + \" in \" + adm.name + \" is already observable, cannot redefine it as computed property\");\n adm.target[propName] = descriptor.value; // the property setter will make 'value' reactive if needed.\n return;\n }\n // not yet observable property\n if (\"value\" in descriptor) {\n // not a computed value\n if (isModifierDescriptor(descriptor.value)) {\n // x : ref(someValue)\n var modifierDescriptor = descriptor.value;\n defineObservableProperty(adm, propName, modifierDescriptor.initialValue, modifierDescriptor.enhancer);\n }\n else if (isAction(descriptor.value) && descriptor.value.autoBind === true) {\n defineBoundAction(adm.target, propName, descriptor.value.originalFn);\n }\n else if (isComputedValue(descriptor.value)) {\n // x: computed(someExpr)\n defineComputedPropertyFromComputedValue(adm, propName, descriptor.value);\n }\n else {\n // x: someValue\n defineObservableProperty(adm, propName, descriptor.value, defaultEnhancer);\n }\n }\n else {\n // get x() { return 3 } set x(v) { }\n defineComputedProperty(adm, propName, descriptor.get, descriptor.set, comparer.default, true);\n }\n}\nfunction defineObservableProperty(adm, propName, newValue, enhancer) {\n assertPropertyConfigurable(adm.target, propName);\n if (hasInterceptors(adm)) {\n var change = interceptChange(adm, {\n object: adm.target,\n name: propName,\n type: \"add\",\n newValue: newValue\n });\n if (!change)\n return;\n newValue = change.newValue;\n }\n var observable = (adm.values[propName] = new ObservableValue(newValue, enhancer, adm.name + \".\" + propName, false));\n newValue = observable.value; // observableValue might have changed it\n Object.defineProperty(adm.target, propName, generateObservablePropConfig(propName));\n notifyPropertyAddition(adm, adm.target, propName, newValue);\n}\nfunction defineComputedProperty(adm, propName, getter, setter, equals, asInstanceProperty) {\n if (asInstanceProperty)\n assertPropertyConfigurable(adm.target, propName);\n adm.values[propName] = new ComputedValue(getter, adm.target, equals, adm.name + \".\" + propName, setter);\n if (asInstanceProperty) {\n Object.defineProperty(adm.target, propName, generateComputedPropConfig(propName));\n }\n}\nfunction defineComputedPropertyFromComputedValue(adm, propName, computedValue) {\n var name = adm.name + \".\" + propName;\n computedValue.name = name;\n if (!computedValue.scope)\n computedValue.scope = adm.target;\n adm.values[propName] = computedValue;\n Object.defineProperty(adm.target, propName, generateComputedPropConfig(propName));\n}\nvar observablePropertyConfigs = {};\nvar computedPropertyConfigs = {};\nfunction generateObservablePropConfig(propName) {\n return (observablePropertyConfigs[propName] ||\n (observablePropertyConfigs[propName] = {\n configurable: true,\n enumerable: true,\n get: function () {\n return this.$mobx.values[propName].get();\n },\n set: function (v) {\n setPropertyValue(this, propName, v);\n }\n }));\n}\nfunction generateComputedPropConfig(propName) {\n return (computedPropertyConfigs[propName] ||\n (computedPropertyConfigs[propName] = {\n configurable: true,\n enumerable: false,\n get: function () {\n return this.$mobx.values[propName].get();\n },\n set: function (v) {\n return this.$mobx.values[propName].set(v);\n }\n }));\n}\nfunction setPropertyValue(instance, name, newValue) {\n var adm = instance.$mobx;\n var observable = adm.values[name];\n // intercept\n if (hasInterceptors(adm)) {\n var change = interceptChange(adm, {\n type: \"update\",\n object: instance,\n name: name,\n newValue: newValue\n });\n if (!change)\n return;\n newValue = change.newValue;\n }\n newValue = observable.prepareNewValue(newValue);\n // notify spy & observers\n if (newValue !== UNCHANGED) {\n var notify = hasListeners(adm);\n var notifySpy = isSpyEnabled();\n var change = notify || notifySpy\n ? {\n type: \"update\",\n object: instance,\n oldValue: observable.value,\n name: name,\n newValue: newValue\n }\n : null;\n if (notifySpy)\n spyReportStart(change);\n observable.setNewValue(newValue);\n if (notify)\n notifyListeners(adm, change);\n if (notifySpy)\n spyReportEnd();\n }\n}\nfunction notifyPropertyAddition(adm, object, name, newValue) {\n var notify = hasListeners(adm);\n var notifySpy = isSpyEnabled();\n var change = notify || notifySpy\n ? {\n type: \"add\",\n object: object,\n name: name,\n newValue: newValue\n }\n : null;\n if (notifySpy)\n spyReportStart(change);\n if (notify)\n notifyListeners(adm, change);\n if (notifySpy)\n spyReportEnd();\n}\nvar isObservableObjectAdministration = createInstanceofPredicate(\"ObservableObjectAdministration\", ObservableObjectAdministration);\nfunction isObservableObject(thing) {\n if (isObject(thing)) {\n // Initializers run lazily when transpiling to babel, so make sure they are run...\n runLazyInitializers(thing);\n return isObservableObjectAdministration(thing.$mobx);\n }\n return false;\n}\n\n/**\n * Returns true if the provided value is reactive.\n * @param value object, function or array\n * @param property if property is specified, checks whether value.property is reactive.\n */\nfunction isObservable(value, property) {\n if (value === null || value === undefined)\n return false;\n if (property !== undefined) {\n if (isObservableArray(value) || isObservableMap(value))\n throw new Error(getMessage(\"m019\"));\n else if (isObservableObject(value)) {\n var o = value.$mobx;\n return o.values && !!o.values[property];\n }\n return false;\n }\n // For first check, see #701\n return (isObservableObject(value) ||\n !!value.$mobx ||\n isAtom(value) ||\n isReaction(value) ||\n isComputedValue(value));\n}\n\nfunction createDecoratorForEnhancer(enhancer) {\n invariant(!!enhancer, \":(\");\n return createClassPropertyDecorator(function (target, name, baseValue, _, baseDescriptor) {\n assertPropertyConfigurable(target, name);\n invariant(!baseDescriptor || !baseDescriptor.get, getMessage(\"m022\"));\n var adm = asObservableObject(target, undefined);\n defineObservableProperty(adm, name, baseValue, enhancer);\n }, function (name) {\n var observable = this.$mobx.values[name];\n if (observable === undefined // See #505\n )\n return undefined;\n return observable.get();\n }, function (name, value) {\n setPropertyValue(this, name, value);\n }, true, false);\n}\n\nfunction extendObservable(target) {\n var properties = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n properties[_i - 1] = arguments[_i];\n }\n return extendObservableHelper(target, deepEnhancer, properties);\n}\nfunction extendShallowObservable(target) {\n var properties = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n properties[_i - 1] = arguments[_i];\n }\n return extendObservableHelper(target, referenceEnhancer, properties);\n}\nfunction extendObservableHelper(target, defaultEnhancer, properties) {\n invariant(arguments.length >= 2, getMessage(\"m014\"));\n invariant(typeof target === \"object\", getMessage(\"m015\"));\n invariant(!isObservableMap(target), getMessage(\"m016\"));\n properties.forEach(function (propSet) {\n invariant(typeof propSet === \"object\", getMessage(\"m017\"));\n invariant(!isObservable(propSet), getMessage(\"m018\"));\n });\n var adm = asObservableObject(target);\n var definedProps = {};\n // Note could be optimised if properties.length === 1\n for (var i = properties.length - 1; i >= 0; i--) {\n var propSet = properties[i];\n for (var key in propSet)\n if (definedProps[key] !== true && hasOwnProperty(propSet, key)) {\n definedProps[key] = true;\n if (target === propSet && !isPropertyConfigurable(target, key))\n continue; // see #111, skip non-configurable or non-writable props for `observable(object)`.\n var descriptor = Object.getOwnPropertyDescriptor(propSet, key);\n defineObservablePropertyFromDescriptor(adm, key, descriptor, defaultEnhancer);\n }\n }\n return target;\n}\n\nvar deepDecorator = createDecoratorForEnhancer(deepEnhancer);\nvar shallowDecorator = createDecoratorForEnhancer(shallowEnhancer);\nvar refDecorator = createDecoratorForEnhancer(referenceEnhancer);\nvar deepStructDecorator = createDecoratorForEnhancer(deepStructEnhancer);\nvar refStructDecorator = createDecoratorForEnhancer(refStructEnhancer);\n/**\n * Turns an object, array or function into a reactive structure.\n * @param v the value which should become observable.\n */\nfunction createObservable(v) {\n if (v === void 0) { v = undefined; }\n // @observable someProp;\n if (typeof arguments[1] === \"string\")\n return deepDecorator.apply(null, arguments);\n invariant(arguments.length <= 1, getMessage(\"m021\"));\n invariant(!isModifierDescriptor(v), getMessage(\"m020\"));\n // it is an observable already, done\n if (isObservable(v))\n return v;\n // something that can be converted and mutated?\n var res = deepEnhancer(v, undefined, undefined);\n // this value could be converted to a new observable data structure, return it\n if (res !== v)\n return res;\n // otherwise, just box it\n return observable.box(v);\n}\nvar observableFactories = {\n box: function (value, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"box\");\n return new ObservableValue(value, deepEnhancer, name);\n },\n shallowBox: function (value, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"shallowBox\");\n return new ObservableValue(value, referenceEnhancer, name);\n },\n array: function (initialValues, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"array\");\n return new ObservableArray(initialValues, deepEnhancer, name);\n },\n shallowArray: function (initialValues, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"shallowArray\");\n return new ObservableArray(initialValues, referenceEnhancer, name);\n },\n map: function (initialValues, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"map\");\n return new ObservableMap(initialValues, deepEnhancer, name);\n },\n shallowMap: function (initialValues, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"shallowMap\");\n return new ObservableMap(initialValues, referenceEnhancer, name);\n },\n object: function (props, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"object\");\n var res = {};\n // convert to observable object\n asObservableObject(res, name);\n // add properties\n extendObservable(res, props);\n return res;\n },\n shallowObject: function (props, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"shallowObject\");\n var res = {};\n asObservableObject(res, name);\n extendShallowObservable(res, props);\n return res;\n },\n ref: function () {\n if (arguments.length < 2) {\n // although ref creates actually a modifier descriptor, the type of the resultig properties\n // of the object is `T` in the end, when the descriptors are interpreted\n return createModifierDescriptor(referenceEnhancer, arguments[0]);\n }\n else {\n return refDecorator.apply(null, arguments);\n }\n },\n shallow: function () {\n if (arguments.length < 2) {\n // although ref creates actually a modifier descriptor, the type of the resultig properties\n // of the object is `T` in the end, when the descriptors are interpreted\n return createModifierDescriptor(shallowEnhancer, arguments[0]);\n }\n else {\n return shallowDecorator.apply(null, arguments);\n }\n },\n deep: function () {\n if (arguments.length < 2) {\n // although ref creates actually a modifier descriptor, the type of the resultig properties\n // of the object is `T` in the end, when the descriptors are interpreted\n return createModifierDescriptor(deepEnhancer, arguments[0]);\n }\n else {\n return deepDecorator.apply(null, arguments);\n }\n },\n struct: function () {\n if (arguments.length < 2) {\n // although ref creates actually a modifier descriptor, the type of the resultig properties\n // of the object is `T` in the end, when the descriptors are interpreted\n return createModifierDescriptor(deepStructEnhancer, arguments[0]);\n }\n else {\n return deepStructDecorator.apply(null, arguments);\n }\n }\n};\nvar observable = createObservable;\n// weird trick to keep our typings nicely with our funcs, and still extend the observable function\nObject.keys(observableFactories).forEach(function (name) { return (observable[name] = observableFactories[name]); });\nobservable.deep.struct = observable.struct;\nobservable.ref.struct = function () {\n if (arguments.length < 2) {\n return createModifierDescriptor(refStructEnhancer, arguments[0]);\n }\n else {\n return refStructDecorator.apply(null, arguments);\n }\n};\nfunction incorrectlyUsedAsDecorator(methodName) {\n fail(\"Expected one or two arguments to observable.\" + methodName + \". Did you accidentally try to use observable.\" + methodName + \" as decorator?\");\n}\n\nfunction isModifierDescriptor(thing) {\n return typeof thing === \"object\" && thing !== null && thing.isMobxModifierDescriptor === true;\n}\nfunction createModifierDescriptor(enhancer, initialValue) {\n invariant(!isModifierDescriptor(initialValue), \"Modifiers cannot be nested\");\n return {\n isMobxModifierDescriptor: true,\n initialValue: initialValue,\n enhancer: enhancer\n };\n}\nfunction deepEnhancer(v, _, name) {\n if (isModifierDescriptor(v))\n fail(\"You tried to assign a modifier wrapped value to a collection, please define modifiers when creating the collection, not when modifying it\");\n // it is an observable already, done\n if (isObservable(v))\n return v;\n // something that can be converted and mutated?\n if (Array.isArray(v))\n return observable.array(v, name);\n if (isPlainObject(v))\n return observable.object(v, name);\n if (isES6Map(v))\n return observable.map(v, name);\n return v;\n}\nfunction shallowEnhancer(v, _, name) {\n if (isModifierDescriptor(v))\n fail(\"You tried to assign a modifier wrapped value to a collection, please define modifiers when creating the collection, not when modifying it\");\n if (v === undefined || v === null)\n return v;\n if (isObservableObject(v) || isObservableArray(v) || isObservableMap(v))\n return v;\n if (Array.isArray(v))\n return observable.shallowArray(v, name);\n if (isPlainObject(v))\n return observable.shallowObject(v, name);\n if (isES6Map(v))\n return observable.shallowMap(v, name);\n return fail(\"The shallow modifier / decorator can only used in combination with arrays, objects and maps\");\n}\nfunction referenceEnhancer(newValue) {\n // never turn into an observable\n return newValue;\n}\nfunction deepStructEnhancer(v, oldValue, name) {\n // don't confuse structurally compare enhancer with ref enhancer! The latter is probably\n // more suited for immutable objects\n if (deepEqual(v, oldValue))\n return oldValue;\n // it is an observable already, done\n if (isObservable(v))\n return v;\n // something that can be converted and mutated?\n if (Array.isArray(v))\n return new ObservableArray(v, deepStructEnhancer, name);\n if (isES6Map(v))\n return new ObservableMap(v, deepStructEnhancer, name);\n if (isPlainObject(v)) {\n var res = {};\n asObservableObject(res, name);\n extendObservableHelper(res, deepStructEnhancer, [v]);\n return res;\n }\n return v;\n}\nfunction refStructEnhancer(v, oldValue, name) {\n if (deepEqual(v, oldValue))\n return oldValue;\n return v;\n}\n\n/**\n * During a transaction no views are updated until the end of the transaction.\n * The transaction will be run synchronously nonetheless.\n *\n * @param action a function that updates some reactive state\n * @returns any value that was returned by the 'action' parameter.\n */\nfunction transaction(action, thisArg) {\n if (thisArg === void 0) { thisArg = undefined; }\n startBatch();\n try {\n return action.apply(thisArg);\n }\n finally {\n endBatch();\n }\n}\n\nvar ObservableMapMarker = {};\nvar ObservableMap = /** @class */ (function () {\n function ObservableMap(initialData, enhancer, name) {\n if (enhancer === void 0) { enhancer = deepEnhancer; }\n if (name === void 0) { name = \"ObservableMap@\" + getNextId(); }\n this.enhancer = enhancer;\n this.name = name;\n this.$mobx = ObservableMapMarker;\n this._data = Object.create(null);\n this._hasMap = Object.create(null); // hasMap, not hashMap >-).\n this._keys = new ObservableArray(undefined, referenceEnhancer, this.name + \".keys()\", true);\n this.interceptors = null;\n this.changeListeners = null;\n this.dehancer = undefined;\n this.merge(initialData);\n }\n ObservableMap.prototype._has = function (key) {\n return typeof this._data[key] !== \"undefined\";\n };\n ObservableMap.prototype.has = function (key) {\n if (!this.isValidKey(key))\n return false;\n key = \"\" + key;\n if (this._hasMap[key])\n return this._hasMap[key].get();\n return this._updateHasMapEntry(key, false).get();\n };\n ObservableMap.prototype.set = function (key, value) {\n this.assertValidKey(key);\n key = \"\" + key;\n var hasKey = this._has(key);\n if (hasInterceptors(this)) {\n var change = interceptChange(this, {\n type: hasKey ? \"update\" : \"add\",\n object: this,\n newValue: value,\n name: key\n });\n if (!change)\n return this;\n value = change.newValue;\n }\n if (hasKey) {\n this._updateValue(key, value);\n }\n else {\n this._addValue(key, value);\n }\n return this;\n };\n ObservableMap.prototype.delete = function (key) {\n var _this = this;\n this.assertValidKey(key);\n key = \"\" + key;\n if (hasInterceptors(this)) {\n var change = interceptChange(this, {\n type: \"delete\",\n object: this,\n name: key\n });\n if (!change)\n return false;\n }\n if (this._has(key)) {\n var notifySpy = isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy\n ? {\n type: \"delete\",\n object: this,\n oldValue: this._data[key].value,\n name: key\n }\n : null;\n if (notifySpy)\n spyReportStart(change);\n transaction(function () {\n _this._keys.remove(key);\n _this._updateHasMapEntry(key, false);\n var observable$$1 = _this._data[key];\n observable$$1.setNewValue(undefined);\n _this._data[key] = undefined;\n });\n if (notify)\n notifyListeners(this, change);\n if (notifySpy)\n spyReportEnd();\n return true;\n }\n return false;\n };\n ObservableMap.prototype._updateHasMapEntry = function (key, value) {\n // optimization; don't fill the hasMap if we are not observing, or remove entry if there are no observers anymore\n var entry = this._hasMap[key];\n if (entry) {\n entry.setNewValue(value);\n }\n else {\n entry = this._hasMap[key] = new ObservableValue(value, referenceEnhancer, this.name + \".\" + key + \"?\", false);\n }\n return entry;\n };\n ObservableMap.prototype._updateValue = function (name, newValue) {\n var observable$$1 = this._data[name];\n newValue = observable$$1.prepareNewValue(newValue);\n if (newValue !== UNCHANGED) {\n var notifySpy = isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy\n ? {\n type: \"update\",\n object: this,\n oldValue: observable$$1.value,\n name: name,\n newValue: newValue\n }\n : null;\n if (notifySpy)\n spyReportStart(change);\n observable$$1.setNewValue(newValue);\n if (notify)\n notifyListeners(this, change);\n if (notifySpy)\n spyReportEnd();\n }\n };\n ObservableMap.prototype._addValue = function (name, newValue) {\n var _this = this;\n transaction(function () {\n var observable$$1 = (_this._data[name] = new ObservableValue(newValue, _this.enhancer, _this.name + \".\" + name, false));\n newValue = observable$$1.value; // value might have been changed\n _this._updateHasMapEntry(name, true);\n _this._keys.push(name);\n });\n var notifySpy = isSpyEnabled();\n var notify = hasListeners(this);\n var change = notify || notifySpy\n ? {\n type: \"add\",\n object: this,\n name: name,\n newValue: newValue\n }\n : null;\n if (notifySpy)\n spyReportStart(change);\n if (notify)\n notifyListeners(this, change);\n if (notifySpy)\n spyReportEnd();\n };\n ObservableMap.prototype.get = function (key) {\n key = \"\" + key;\n if (this.has(key))\n return this.dehanceValue(this._data[key].get());\n return this.dehanceValue(undefined);\n };\n ObservableMap.prototype.dehanceValue = function (value) {\n if (this.dehancer !== undefined) {\n return this.dehancer(value);\n }\n return value;\n };\n ObservableMap.prototype.keys = function () {\n return arrayAsIterator(this._keys.slice());\n };\n ObservableMap.prototype.values = function () {\n return arrayAsIterator(this._keys.map(this.get, this));\n };\n ObservableMap.prototype.entries = function () {\n var _this = this;\n return arrayAsIterator(this._keys.map(function (key) { return [key, _this.get(key)]; }));\n };\n ObservableMap.prototype.forEach = function (callback, thisArg) {\n var _this = this;\n this.keys().forEach(function (key) { return callback.call(thisArg, _this.get(key), key, _this); });\n };\n /** Merge another object into this object, returns this. */\n ObservableMap.prototype.merge = function (other) {\n var _this = this;\n if (isObservableMap(other)) {\n other = other.toJS();\n }\n transaction(function () {\n if (isPlainObject(other))\n Object.keys(other).forEach(function (key) { return _this.set(key, other[key]); });\n else if (Array.isArray(other))\n other.forEach(function (_a) {\n var key = _a[0], value = _a[1];\n return _this.set(key, value);\n });\n else if (isES6Map(other))\n other.forEach(function (value, key) { return _this.set(key, value); });\n else if (other !== null && other !== undefined)\n fail(\"Cannot initialize map from \" + other);\n });\n return this;\n };\n ObservableMap.prototype.clear = function () {\n var _this = this;\n transaction(function () {\n untracked(function () {\n _this.keys().forEach(_this.delete, _this);\n });\n });\n };\n ObservableMap.prototype.replace = function (values) {\n var _this = this;\n transaction(function () {\n // grab all the keys that are present in the new map but not present in the current map\n // and delete them from the map, then merge the new map\n // this will cause reactions only on changed values\n var newKeys = getMapLikeKeys(values);\n var oldKeys = _this.keys();\n var missingKeys = oldKeys.filter(function (k) { return newKeys.indexOf(k) === -1; });\n missingKeys.forEach(function (k) { return _this.delete(k); });\n _this.merge(values);\n });\n return this;\n };\n Object.defineProperty(ObservableMap.prototype, \"size\", {\n get: function () {\n return this._keys.length;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Returns a shallow non observable object clone of this map.\n * Note that the values might still be observable. For a deep clone use mobx.toJS.\n */\n ObservableMap.prototype.toJS = function () {\n var _this = this;\n var res = {};\n this.keys().forEach(function (key) { return (res[key] = _this.get(key)); });\n return res;\n };\n ObservableMap.prototype.toJSON = function () {\n // Used by JSON.stringify\n return this.toJS();\n };\n ObservableMap.prototype.isValidKey = function (key) {\n if (key === null || key === undefined)\n return false;\n if (typeof key === \"string\" || typeof key === \"number\" || typeof key === \"boolean\")\n return true;\n return false;\n };\n ObservableMap.prototype.assertValidKey = function (key) {\n if (!this.isValidKey(key))\n throw new Error(\"[mobx.map] Invalid key: '\" + key + \"', only strings, numbers and booleans are accepted as key in observable maps.\");\n };\n ObservableMap.prototype.toString = function () {\n var _this = this;\n return (this.name +\n \"[{ \" +\n this.keys().map(function (key) { return key + \": \" + (\"\" + _this.get(key)); }).join(\", \") +\n \" }]\");\n };\n /**\n * Observes this object. Triggers for the events 'add', 'update' and 'delete'.\n * See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/observe\n * for callback details\n */\n ObservableMap.prototype.observe = function (listener, fireImmediately) {\n invariant(fireImmediately !== true, getMessage(\"m033\"));\n return registerListener(this, listener);\n };\n ObservableMap.prototype.intercept = function (handler) {\n return registerInterceptor(this, handler);\n };\n return ObservableMap;\n}());\ndeclareIterator(ObservableMap.prototype, function () {\n return this.entries();\n});\nfunction map(initialValues) {\n deprecated(\"`mobx.map` is deprecated, use `new ObservableMap` or `mobx.observable.map` instead\");\n return observable.map(initialValues);\n}\n/* 'var' fixes small-build issue */\nvar isObservableMap = createInstanceofPredicate(\"ObservableMap\", ObservableMap);\n\nvar EMPTY_ARRAY = [];\nObject.freeze(EMPTY_ARRAY);\nfunction getGlobal() {\n return typeof window !== \"undefined\" ? window : global;\n}\nfunction getNextId() {\n return ++globalState.mobxGuid;\n}\nfunction fail(message, thing) {\n invariant(false, message, thing);\n throw \"X\"; // unreachable\n}\nfunction invariant(check, message, thing) {\n if (!check)\n throw new Error(\"[mobx] Invariant failed: \" + message + (thing ? \" in '\" + thing + \"'\" : \"\"));\n}\n/**\n * Prints a deprecation message, but only one time.\n * Returns false if the deprecated message was already printed before\n */\nvar deprecatedMessages = [];\nfunction deprecated(msg) {\n if (deprecatedMessages.indexOf(msg) !== -1)\n return false;\n deprecatedMessages.push(msg);\n console.error(\"[mobx] Deprecated: \" + msg);\n return true;\n}\n/**\n * Makes sure that the provided function is invoked at most once.\n */\nfunction once(func) {\n var invoked = false;\n return function () {\n if (invoked)\n return;\n invoked = true;\n return func.apply(this, arguments);\n };\n}\nvar noop = function () { };\nfunction unique(list) {\n var res = [];\n list.forEach(function (item) {\n if (res.indexOf(item) === -1)\n res.push(item);\n });\n return res;\n}\nfunction joinStrings(things, limit, separator) {\n if (limit === void 0) { limit = 100; }\n if (separator === void 0) { separator = \" - \"; }\n if (!things)\n return \"\";\n var sliced = things.slice(0, limit);\n return \"\" + sliced.join(separator) + (things.length > limit\n ? \" (... and \" + (things.length - limit) + \"more)\"\n : \"\");\n}\nfunction isObject(value) {\n return value !== null && typeof value === \"object\";\n}\nfunction isPlainObject(value) {\n if (value === null || typeof value !== \"object\")\n return false;\n var proto = Object.getPrototypeOf(value);\n return proto === Object.prototype || proto === null;\n}\nfunction objectAssign() {\n var res = arguments[0];\n for (var i = 1, l = arguments.length; i < l; i++) {\n var source = arguments[i];\n for (var key in source)\n if (hasOwnProperty(source, key)) {\n res[key] = source[key];\n }\n }\n return res;\n}\nvar prototypeHasOwnProperty = Object.prototype.hasOwnProperty;\nfunction hasOwnProperty(object, propName) {\n return prototypeHasOwnProperty.call(object, propName);\n}\nfunction makeNonEnumerable(object, propNames) {\n for (var i = 0; i < propNames.length; i++) {\n addHiddenProp(object, propNames[i], object[propNames[i]]);\n }\n}\nfunction addHiddenProp(object, propName, value) {\n Object.defineProperty(object, propName, {\n enumerable: false,\n writable: true,\n configurable: true,\n value: value\n });\n}\nfunction addHiddenFinalProp(object, propName, value) {\n Object.defineProperty(object, propName, {\n enumerable: false,\n writable: false,\n configurable: true,\n value: value\n });\n}\nfunction isPropertyConfigurable(object, prop) {\n var descriptor = Object.getOwnPropertyDescriptor(object, prop);\n return !descriptor || (descriptor.configurable !== false && descriptor.writable !== false);\n}\nfunction assertPropertyConfigurable(object, prop) {\n invariant(isPropertyConfigurable(object, prop), \"Cannot make property '\" + prop + \"' observable, it is not configurable and writable in the target object\");\n}\nfunction createInstanceofPredicate(name, clazz) {\n var propName = \"isMobX\" + name;\n clazz.prototype[propName] = true;\n return function (x) {\n return isObject(x) && x[propName] === true;\n };\n}\nfunction areBothNaN(a, b) {\n return typeof a === \"number\" && typeof b === \"number\" && isNaN(a) && isNaN(b);\n}\n/**\n * Returns whether the argument is an array, disregarding observability.\n */\nfunction isArrayLike(x) {\n return Array.isArray(x) || isObservableArray(x);\n}\nfunction isES6Map(thing) {\n if (getGlobal().Map !== undefined && thing instanceof getGlobal().Map)\n return true;\n return false;\n}\nfunction getMapLikeKeys(map$$1) {\n if (isPlainObject(map$$1))\n return Object.keys(map$$1);\n if (Array.isArray(map$$1))\n return map$$1.map(function (_a) {\n var key = _a[0];\n return key;\n });\n if (isES6Map(map$$1))\n return Array.from(map$$1.keys());\n if (isObservableMap(map$$1))\n return map$$1.keys();\n return fail(\"Cannot get keys from \" + map$$1);\n}\nfunction iteratorToArray(it) {\n var res = [];\n while (true) {\n var r = it.next();\n if (r.done)\n break;\n res.push(r.value);\n }\n return res;\n}\nfunction primitiveSymbol() {\n return (typeof Symbol === \"function\" && Symbol.toPrimitive) || \"@@toPrimitive\";\n}\nfunction toPrimitive(value) {\n return value === null ? null : typeof value === \"object\" ? \"\" + value : value;\n}\n\n/**\n * These values will persist if global state is reset\n */\nvar persistentKeys = [\"mobxGuid\", \"resetId\", \"spyListeners\", \"strictMode\", \"runId\"];\nvar MobXGlobals = /** @class */ (function () {\n function MobXGlobals() {\n /**\n * MobXGlobals version.\n * MobX compatiblity with other versions loaded in memory as long as this version matches.\n * It indicates that the global state still stores similar information\n */\n this.version = 5;\n /**\n * Currently running derivation\n */\n this.trackingDerivation = null;\n /**\n * Are we running a computation currently? (not a reaction)\n */\n this.computationDepth = 0;\n /**\n * Each time a derivation is tracked, it is assigned a unique run-id\n */\n this.runId = 0;\n /**\n * 'guid' for general purpose. Will be persisted amongst resets.\n */\n this.mobxGuid = 0;\n /**\n * Are we in a batch block? (and how many of them)\n */\n this.inBatch = 0;\n /**\n * Observables that don't have observers anymore, and are about to be\n * suspended, unless somebody else accesses it in the same batch\n *\n * @type {IObservable[]}\n */\n this.pendingUnobservations = [];\n /**\n * List of scheduled, not yet executed, reactions.\n */\n this.pendingReactions = [];\n /**\n * Are we currently processing reactions?\n */\n this.isRunningReactions = false;\n /**\n * Is it allowed to change observables at this point?\n * In general, MobX doesn't allow that when running computations and React.render.\n * To ensure that those functions stay pure.\n */\n this.allowStateChanges = true;\n /**\n * If strict mode is enabled, state changes are by default not allowed\n */\n this.strictMode = false;\n /**\n * Used by createTransformer to detect that the global state has been reset.\n */\n this.resetId = 0;\n /**\n * Spy callbacks\n */\n this.spyListeners = [];\n /**\n * Globally attached error handlers that react specifically to errors in reactions\n */\n this.globalReactionErrorHandlers = [];\n }\n return MobXGlobals;\n}());\nvar globalState = new MobXGlobals();\nvar shareGlobalStateCalled = false;\nvar runInIsolationCalled = false;\nvar warnedAboutMultipleInstances = false;\n{\n var global_1 = getGlobal();\n if (!global_1.__mobxInstanceCount) {\n global_1.__mobxInstanceCount = 1;\n }\n else {\n global_1.__mobxInstanceCount++;\n setTimeout(function () {\n if (!shareGlobalStateCalled && !runInIsolationCalled && !warnedAboutMultipleInstances) {\n warnedAboutMultipleInstances = true;\n console.warn(\"[mobx] Warning: there are multiple mobx instances active. This might lead to unexpected results. See https://github.com/mobxjs/mobx/issues/1082 for details.\");\n }\n }, 1);\n }\n}\nfunction isolateGlobalState() {\n runInIsolationCalled = true;\n getGlobal().__mobxInstanceCount--;\n}\nfunction shareGlobalState() {\n // TODO: remove in 4.0; just use peer dependencies instead.\n deprecated(\"Using `shareGlobalState` is not recommended, use peer dependencies instead. See https://github.com/mobxjs/mobx/issues/1082 for details.\");\n shareGlobalStateCalled = true;\n var global = getGlobal();\n var ownState = globalState;\n /**\n * Backward compatibility check\n */\n if (global.__mobservableTrackingStack || global.__mobservableViewStack)\n throw new Error(\"[mobx] An incompatible version of mobservable is already loaded.\");\n if (global.__mobxGlobal && global.__mobxGlobal.version !== ownState.version)\n throw new Error(\"[mobx] An incompatible version of mobx is already loaded.\");\n if (global.__mobxGlobal)\n globalState = global.__mobxGlobal;\n else\n global.__mobxGlobal = ownState;\n}\nfunction getGlobalState() {\n return globalState;\n}\n\n/**\n * For testing purposes only; this will break the internal state of existing observables,\n * but can be used to get back at a stable state after throwing errors\n */\nfunction resetGlobalState() {\n globalState.resetId++;\n var defaultGlobals = new MobXGlobals();\n for (var key in defaultGlobals)\n if (persistentKeys.indexOf(key) === -1)\n globalState[key] = defaultGlobals[key];\n globalState.allowStateChanges = !globalState.strictMode;\n}\n\nfunction getAtom(thing, property) {\n if (typeof thing === \"object\" && thing !== null) {\n if (isObservableArray(thing)) {\n invariant(property === undefined, getMessage(\"m036\"));\n return thing.$mobx.atom;\n }\n if (isObservableMap(thing)) {\n var anyThing = thing;\n if (property === undefined)\n return getAtom(anyThing._keys);\n var observable = anyThing._data[property] || anyThing._hasMap[property];\n invariant(!!observable, \"the entry '\" + property + \"' does not exist in the observable map '\" + getDebugName(thing) + \"'\");\n return observable;\n }\n // Initializers run lazily when transpiling to babel, so make sure they are run...\n runLazyInitializers(thing);\n if (property && !thing.$mobx)\n thing[property]; // See #1072 // TODO: remove in 4.0\n if (isObservableObject(thing)) {\n if (!property)\n return fail(\"please specify a property\");\n var observable = thing.$mobx.values[property];\n invariant(!!observable, \"no observable property '\" + property + \"' found on the observable object '\" + getDebugName(thing) + \"'\");\n return observable;\n }\n if (isAtom(thing) || isComputedValue(thing) || isReaction(thing)) {\n return thing;\n }\n }\n else if (typeof thing === \"function\") {\n if (isReaction(thing.$mobx)) {\n // disposer function\n return thing.$mobx;\n }\n }\n return fail(\"Cannot obtain atom from \" + thing);\n}\nfunction getAdministration(thing, property) {\n invariant(thing, \"Expecting some object\");\n if (property !== undefined)\n return getAdministration(getAtom(thing, property));\n if (isAtom(thing) || isComputedValue(thing) || isReaction(thing))\n return thing;\n if (isObservableMap(thing))\n return thing;\n // Initializers run lazily when transpiling to babel, so make sure they are run...\n runLazyInitializers(thing);\n if (thing.$mobx)\n return thing.$mobx;\n invariant(false, \"Cannot obtain administration from \" + thing);\n}\nfunction getDebugName(thing, property) {\n var named;\n if (property !== undefined)\n named = getAtom(thing, property);\n else if (isObservableObject(thing) || isObservableMap(thing))\n named = getAdministration(thing);\n else\n named = getAtom(thing); // valid for arrays as well\n return named.name;\n}\n\nfunction getDependencyTree(thing, property) {\n return nodeToDependencyTree(getAtom(thing, property));\n}\nfunction nodeToDependencyTree(node) {\n var result = {\n name: node.name\n };\n if (node.observing && node.observing.length > 0)\n result.dependencies = unique(node.observing).map(nodeToDependencyTree);\n return result;\n}\nfunction getObserverTree(thing, property) {\n return nodeToObserverTree(getAtom(thing, property));\n}\nfunction nodeToObserverTree(node) {\n var result = {\n name: node.name\n };\n if (hasObservers(node))\n result.observers = getObservers(node).map(nodeToObserverTree);\n return result;\n}\n\nfunction hasObservers(observable) {\n return observable.observers && observable.observers.length > 0;\n}\nfunction getObservers(observable) {\n return observable.observers;\n}\nfunction addObserver(observable, node) {\n // invariant(node.dependenciesState !== -1, \"INTERNAL ERROR, can add only dependenciesState !== -1\");\n // invariant(observable._observers.indexOf(node) === -1, \"INTERNAL ERROR add already added node\");\n // invariantObservers(observable);\n var l = observable.observers.length;\n if (l) {\n // because object assignment is relatively expensive, let's not store data about index 0.\n observable.observersIndexes[node.__mapid] = l;\n }\n observable.observers[l] = node;\n if (observable.lowestObserverState > node.dependenciesState)\n observable.lowestObserverState = node.dependenciesState;\n // invariantObservers(observable);\n // invariant(observable._observers.indexOf(node) !== -1, \"INTERNAL ERROR didn't add node\");\n}\nfunction removeObserver(observable, node) {\n // invariant(globalState.inBatch > 0, \"INTERNAL ERROR, remove should be called only inside batch\");\n // invariant(observable._observers.indexOf(node) !== -1, \"INTERNAL ERROR remove already removed node\");\n // invariantObservers(observable);\n if (observable.observers.length === 1) {\n // deleting last observer\n observable.observers.length = 0;\n queueForUnobservation(observable);\n }\n else {\n // deleting from _observersIndexes is straight forward, to delete from _observers, let's swap `node` with last element\n var list = observable.observers;\n var map = observable.observersIndexes;\n var filler = list.pop(); // get last element, which should fill the place of `node`, so the array doesn't have holes\n if (filler !== node) {\n // otherwise node was the last element, which already got removed from array\n var index = map[node.__mapid] || 0; // getting index of `node`. this is the only place we actually use map.\n if (index) {\n // map store all indexes but 0, see comment in `addObserver`\n map[filler.__mapid] = index;\n }\n else {\n delete map[filler.__mapid];\n }\n list[index] = filler;\n }\n delete map[node.__mapid];\n }\n // invariantObservers(observable);\n // invariant(observable._observers.indexOf(node) === -1, \"INTERNAL ERROR remove already removed node2\");\n}\nfunction queueForUnobservation(observable) {\n if (!observable.isPendingUnobservation) {\n // invariant(globalState.inBatch > 0, \"INTERNAL ERROR, remove should be called only inside batch\");\n // invariant(observable._observers.length === 0, \"INTERNAL ERROR, should only queue for unobservation unobserved observables\");\n observable.isPendingUnobservation = true;\n globalState.pendingUnobservations.push(observable);\n }\n}\n/**\n * Batch starts a transaction, at least for purposes of memoizing ComputedValues when nothing else does.\n * During a batch `onBecomeUnobserved` will be called at most once per observable.\n * Avoids unnecessary recalculations.\n */\nfunction startBatch() {\n globalState.inBatch++;\n}\nfunction endBatch() {\n if (--globalState.inBatch === 0) {\n runReactions();\n // the batch is actually about to finish, all unobserving should happen here.\n var list = globalState.pendingUnobservations;\n for (var i = 0; i < list.length; i++) {\n var observable = list[i];\n observable.isPendingUnobservation = false;\n if (observable.observers.length === 0) {\n observable.onBecomeUnobserved();\n // NOTE: onBecomeUnobserved might push to `pendingUnobservations`\n }\n }\n globalState.pendingUnobservations = [];\n }\n}\nfunction reportObserved(observable) {\n var derivation = globalState.trackingDerivation;\n if (derivation !== null) {\n /**\n * Simple optimization, give each derivation run an unique id (runId)\n * Check if last time this observable was accessed the same runId is used\n * if this is the case, the relation is already known\n */\n if (derivation.runId !== observable.lastAccessedBy) {\n observable.lastAccessedBy = derivation.runId;\n derivation.newObserving[derivation.unboundDepsCount++] = observable;\n }\n }\n else if (observable.observers.length === 0) {\n queueForUnobservation(observable);\n }\n}\n/**\n * NOTE: current propagation mechanism will in case of self reruning autoruns behave unexpectedly\n * It will propagate changes to observers from previous run\n * It's hard or maybe impossible (with reasonable perf) to get it right with current approach\n * Hopefully self reruning autoruns aren't a feature people should depend on\n * Also most basic use cases should be ok\n */\n// Called by Atom when its value changes\nfunction propagateChanged(observable) {\n // invariantLOS(observable, \"changed start\");\n if (observable.lowestObserverState === IDerivationState.STALE)\n return;\n observable.lowestObserverState = IDerivationState.STALE;\n var observers = observable.observers;\n var i = observers.length;\n while (i--) {\n var d = observers[i];\n if (d.dependenciesState === IDerivationState.UP_TO_DATE) {\n if (d.isTracing !== TraceMode.NONE) {\n logTraceInfo(d, observable);\n }\n d.onBecomeStale();\n }\n d.dependenciesState = IDerivationState.STALE;\n }\n // invariantLOS(observable, \"changed end\");\n}\n// Called by ComputedValue when it recalculate and its value changed\nfunction propagateChangeConfirmed(observable) {\n // invariantLOS(observable, \"confirmed start\");\n if (observable.lowestObserverState === IDerivationState.STALE)\n return;\n observable.lowestObserverState = IDerivationState.STALE;\n var observers = observable.observers;\n var i = observers.length;\n while (i--) {\n var d = observers[i];\n if (d.dependenciesState === IDerivationState.POSSIBLY_STALE)\n d.dependenciesState = IDerivationState.STALE;\n else if (d.dependenciesState === IDerivationState.UP_TO_DATE // this happens during computing of `d`, just keep lowestObserverState up to date.\n )\n observable.lowestObserverState = IDerivationState.UP_TO_DATE;\n }\n // invariantLOS(observable, \"confirmed end\");\n}\n// Used by computed when its dependency changed, but we don't wan't to immediately recompute.\nfunction propagateMaybeChanged(observable) {\n // invariantLOS(observable, \"maybe start\");\n if (observable.lowestObserverState !== IDerivationState.UP_TO_DATE)\n return;\n observable.lowestObserverState = IDerivationState.POSSIBLY_STALE;\n var observers = observable.observers;\n var i = observers.length;\n while (i--) {\n var d = observers[i];\n if (d.dependenciesState === IDerivationState.UP_TO_DATE) {\n d.dependenciesState = IDerivationState.POSSIBLY_STALE;\n if (d.isTracing !== TraceMode.NONE) {\n logTraceInfo(d, observable);\n }\n d.onBecomeStale();\n }\n }\n // invariantLOS(observable, \"maybe end\");\n}\nfunction logTraceInfo(derivation, observable) {\n console.log(\"[mobx.trace] '\" + derivation.name + \"' is invalidated due to a change in: '\" + observable.name + \"'\");\n if (derivation.isTracing === TraceMode.BREAK) {\n var lines = [];\n printDepTree(getDependencyTree(derivation), lines, 1);\n // prettier-ignore\n new Function(\"debugger;\\n/*\\nTracing '\" + derivation.name + \"'\\n\\nYou are entering this break point because derivation '\" + derivation.name + \"' is being traced and '\" + observable.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\" + (derivation instanceof ComputedValue ? derivation.derivation.toString() : \"\") + \"\\n\\nThe dependencies for this derivation are:\\n\\n\" + lines.join(\"\\n\") + \"\\n*/\\n \")();\n }\n}\nfunction printDepTree(tree, lines, depth) {\n if (lines.length >= 1000) {\n lines.push(\"(and many more)\");\n return;\n }\n lines.push(\"\" + new Array(depth).join(\"\\t\") + tree.name); // MWE: not the fastest, but the easiest way :)\n if (tree.dependencies)\n tree.dependencies.forEach(function (child) { return printDepTree(child, lines, depth + 1); });\n}\n\nvar IDerivationState;\n(function (IDerivationState) {\n // before being run or (outside batch and not being observed)\n // at this point derivation is not holding any data about dependency tree\n IDerivationState[IDerivationState[\"NOT_TRACKING\"] = -1] = \"NOT_TRACKING\";\n // no shallow dependency changed since last computation\n // won't recalculate derivation\n // this is what makes mobx fast\n IDerivationState[IDerivationState[\"UP_TO_DATE\"] = 0] = \"UP_TO_DATE\";\n // some deep dependency changed, but don't know if shallow dependency changed\n // will require to check first if UP_TO_DATE or POSSIBLY_STALE\n // currently only ComputedValue will propagate POSSIBLY_STALE\n //\n // having this state is second big optimization:\n // don't have to recompute on every dependency change, but only when it's needed\n IDerivationState[IDerivationState[\"POSSIBLY_STALE\"] = 1] = \"POSSIBLY_STALE\";\n // A shallow dependency has changed since last computation and the derivation\n // will need to recompute when it's needed next.\n IDerivationState[IDerivationState[\"STALE\"] = 2] = \"STALE\";\n})(IDerivationState || (IDerivationState = {}));\nvar TraceMode;\n(function (TraceMode) {\n TraceMode[TraceMode[\"NONE\"] = 0] = \"NONE\";\n TraceMode[TraceMode[\"LOG\"] = 1] = \"LOG\";\n TraceMode[TraceMode[\"BREAK\"] = 2] = \"BREAK\";\n})(TraceMode || (TraceMode = {}));\nvar CaughtException = /** @class */ (function () {\n function CaughtException(cause) {\n this.cause = cause;\n // Empty\n }\n return CaughtException;\n}());\nfunction isCaughtException(e) {\n return e instanceof CaughtException;\n}\n/**\n * Finds out whether any dependency of the derivation has actually changed.\n * If dependenciesState is 1 then it will recalculate dependencies,\n * if any dependency changed it will propagate it by changing dependenciesState to 2.\n *\n * By iterating over the dependencies in the same order that they were reported and\n * stopping on the first change, all the recalculations are only called for ComputedValues\n * that will be tracked by derivation. That is because we assume that if the first x\n * dependencies of the derivation doesn't change then the derivation should run the same way\n * up until accessing x-th dependency.\n */\nfunction shouldCompute(derivation) {\n switch (derivation.dependenciesState) {\n case IDerivationState.UP_TO_DATE:\n return false;\n case IDerivationState.NOT_TRACKING:\n case IDerivationState.STALE:\n return true;\n case IDerivationState.POSSIBLY_STALE: {\n var prevUntracked = untrackedStart(); // no need for those computeds to be reported, they will be picked up in trackDerivedFunction.\n var obs = derivation.observing, l = obs.length;\n for (var i = 0; i < l; i++) {\n var obj = obs[i];\n if (isComputedValue(obj)) {\n try {\n obj.get();\n }\n catch (e) {\n // we are not interested in the value *or* exception at this moment, but if there is one, notify all\n untrackedEnd(prevUntracked);\n return true;\n }\n // if ComputedValue `obj` actually changed it will be computed and propagated to its observers.\n // and `derivation` is an observer of `obj`\n if (derivation.dependenciesState === IDerivationState.STALE) {\n untrackedEnd(prevUntracked);\n return true;\n }\n }\n }\n changeDependenciesStateTo0(derivation);\n untrackedEnd(prevUntracked);\n return false;\n }\n }\n}\nfunction isComputingDerivation() {\n return globalState.trackingDerivation !== null; // filter out actions inside computations\n}\nfunction checkIfStateModificationsAreAllowed(atom) {\n var hasObservers$$1 = atom.observers.length > 0;\n // Should never be possible to change an observed observable from inside computed, see #798\n if (globalState.computationDepth > 0 && hasObservers$$1)\n fail(getMessage(\"m031\") + atom.name);\n // Should not be possible to change observed state outside strict mode, except during initialization, see #563\n if (!globalState.allowStateChanges && hasObservers$$1)\n fail(getMessage(globalState.strictMode ? \"m030a\" : \"m030b\") + atom.name);\n}\n/**\n * Executes the provided function `f` and tracks which observables are being accessed.\n * The tracking information is stored on the `derivation` object and the derivation is registered\n * as observer of any of the accessed observables.\n */\nfunction trackDerivedFunction(derivation, f, context) {\n // pre allocate array allocation + room for variation in deps\n // array will be trimmed by bindDependencies\n changeDependenciesStateTo0(derivation);\n derivation.newObserving = new Array(derivation.observing.length + 100);\n derivation.unboundDepsCount = 0;\n derivation.runId = ++globalState.runId;\n var prevTracking = globalState.trackingDerivation;\n globalState.trackingDerivation = derivation;\n var result;\n try {\n result = f.call(context);\n }\n catch (e) {\n result = new CaughtException(e);\n }\n globalState.trackingDerivation = prevTracking;\n bindDependencies(derivation);\n return result;\n}\n/**\n * diffs newObserving with observing.\n * update observing to be newObserving with unique observables\n * notify observers that become observed/unobserved\n */\nfunction bindDependencies(derivation) {\n // invariant(derivation.dependenciesState !== IDerivationState.NOT_TRACKING, \"INTERNAL ERROR bindDependencies expects derivation.dependenciesState !== -1\");\n var prevObserving = derivation.observing;\n var observing = (derivation.observing = derivation.newObserving);\n var lowestNewObservingDerivationState = IDerivationState.UP_TO_DATE;\n // Go through all new observables and check diffValue: (this list can contain duplicates):\n // 0: first occurrence, change to 1 and keep it\n // 1: extra occurrence, drop it\n var i0 = 0, l = derivation.unboundDepsCount;\n for (var i = 0; i < l; i++) {\n var dep = observing[i];\n if (dep.diffValue === 0) {\n dep.diffValue = 1;\n if (i0 !== i)\n observing[i0] = dep;\n i0++;\n }\n // Upcast is 'safe' here, because if dep is IObservable, `dependenciesState` will be undefined,\n // not hitting the condition\n if (dep.dependenciesState > lowestNewObservingDerivationState) {\n lowestNewObservingDerivationState = dep.dependenciesState;\n }\n }\n observing.length = i0;\n derivation.newObserving = null; // newObserving shouldn't be needed outside tracking (statement moved down to work around FF bug, see #614)\n // Go through all old observables and check diffValue: (it is unique after last bindDependencies)\n // 0: it's not in new observables, unobserve it\n // 1: it keeps being observed, don't want to notify it. change to 0\n l = prevObserving.length;\n while (l--) {\n var dep = prevObserving[l];\n if (dep.diffValue === 0) {\n removeObserver(dep, derivation);\n }\n dep.diffValue = 0;\n }\n // Go through all new observables and check diffValue: (now it should be unique)\n // 0: it was set to 0 in last loop. don't need to do anything.\n // 1: it wasn't observed, let's observe it. set back to 0\n while (i0--) {\n var dep = observing[i0];\n if (dep.diffValue === 1) {\n dep.diffValue = 0;\n addObserver(dep, derivation);\n }\n }\n // Some new observed derivations may become stale during this derivation computation\n // so they have had no chance to propagate staleness (#916)\n if (lowestNewObservingDerivationState !== IDerivationState.UP_TO_DATE) {\n derivation.dependenciesState = lowestNewObservingDerivationState;\n derivation.onBecomeStale();\n }\n}\nfunction clearObserving(derivation) {\n // invariant(globalState.inBatch > 0, \"INTERNAL ERROR clearObserving should be called only inside batch\");\n var obs = derivation.observing;\n derivation.observing = [];\n var i = obs.length;\n while (i--)\n removeObserver(obs[i], derivation);\n derivation.dependenciesState = IDerivationState.NOT_TRACKING;\n}\nfunction untracked(action) {\n var prev = untrackedStart();\n var res = action();\n untrackedEnd(prev);\n return res;\n}\nfunction untrackedStart() {\n var prev = globalState.trackingDerivation;\n globalState.trackingDerivation = null;\n return prev;\n}\nfunction untrackedEnd(prev) {\n globalState.trackingDerivation = prev;\n}\n/**\n * needed to keep `lowestObserverState` correct. when changing from (2 or 1) to 0\n *\n */\nfunction changeDependenciesStateTo0(derivation) {\n if (derivation.dependenciesState === IDerivationState.UP_TO_DATE)\n return;\n derivation.dependenciesState = IDerivationState.UP_TO_DATE;\n var obs = derivation.observing;\n var i = obs.length;\n while (i--)\n obs[i].lowestObserverState = IDerivationState.UP_TO_DATE;\n}\n\nfunction log(msg) {\n console.log(msg);\n return msg;\n}\nfunction whyRun(thing, prop) {\n deprecated(\"`whyRun` is deprecated in favor of `trace`\");\n thing = getAtomFromArgs(arguments);\n if (!thing)\n return log(getMessage(\"m024\"));\n if (isComputedValue(thing) || isReaction(thing))\n return log(thing.whyRun());\n return fail(getMessage(\"m025\"));\n}\nfunction trace() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var enterBreakPoint = false;\n if (typeof args[args.length - 1] === \"boolean\")\n enterBreakPoint = args.pop();\n var derivation = getAtomFromArgs(args);\n if (!derivation) {\n return fail(\"'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly\");\n }\n if (derivation.isTracing === TraceMode.NONE) {\n console.log(\"[mobx.trace] '\" + derivation.name + \"' tracing enabled\");\n }\n derivation.isTracing = enterBreakPoint ? TraceMode.BREAK : TraceMode.LOG;\n}\nfunction getAtomFromArgs(args) {\n switch (args.length) {\n case 0:\n return globalState.trackingDerivation;\n case 1:\n return getAtom(args[0]);\n case 2:\n return getAtom(args[0], args[1]);\n }\n}\n\nvar Reaction = /** @class */ (function () {\n function Reaction(name, onInvalidate) {\n if (name === void 0) { name = \"Reaction@\" + getNextId(); }\n this.name = name;\n this.onInvalidate = onInvalidate;\n this.observing = []; // nodes we are looking at. Our value depends on these nodes\n this.newObserving = [];\n this.dependenciesState = IDerivationState.NOT_TRACKING;\n this.diffValue = 0;\n this.runId = 0;\n this.unboundDepsCount = 0;\n this.__mapid = \"#\" + getNextId();\n this.isDisposed = false;\n this._isScheduled = false;\n this._isTrackPending = false;\n this._isRunning = false;\n this.isTracing = TraceMode.NONE;\n }\n Reaction.prototype.onBecomeStale = function () {\n this.schedule();\n };\n Reaction.prototype.schedule = function () {\n if (!this._isScheduled) {\n this._isScheduled = true;\n globalState.pendingReactions.push(this);\n runReactions();\n }\n };\n Reaction.prototype.isScheduled = function () {\n return this._isScheduled;\n };\n /**\n * internal, use schedule() if you intend to kick off a reaction\n */\n Reaction.prototype.runReaction = function () {\n if (!this.isDisposed) {\n startBatch();\n this._isScheduled = false;\n if (shouldCompute(this)) {\n this._isTrackPending = true;\n this.onInvalidate();\n if (this._isTrackPending && isSpyEnabled()) {\n // onInvalidate didn't trigger track right away..\n spyReport({\n object: this,\n type: \"scheduled-reaction\"\n });\n }\n }\n endBatch();\n }\n };\n Reaction.prototype.track = function (fn) {\n startBatch();\n var notify = isSpyEnabled();\n var startTime;\n if (notify) {\n startTime = Date.now();\n spyReportStart({\n object: this,\n type: \"reaction\",\n fn: fn\n });\n }\n this._isRunning = true;\n var result = trackDerivedFunction(this, fn, undefined);\n this._isRunning = false;\n this._isTrackPending = false;\n if (this.isDisposed) {\n // disposed during last run. Clean up everything that was bound after the dispose call.\n clearObserving(this);\n }\n if (isCaughtException(result))\n this.reportExceptionInDerivation(result.cause);\n if (notify) {\n spyReportEnd({\n time: Date.now() - startTime\n });\n }\n endBatch();\n };\n Reaction.prototype.reportExceptionInDerivation = function (error) {\n var _this = this;\n if (this.errorHandler) {\n this.errorHandler(error, this);\n return;\n }\n var message = \"[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '\" + this;\n var messageToUser = getMessage(\"m037\");\n console.error(message || messageToUser /* latter will not be true, make sure uglify doesn't remove */, error);\n /** If debugging brought you here, please, read the above message :-). Tnx! */\n if (isSpyEnabled()) {\n spyReport({\n type: \"error\",\n message: message,\n error: error,\n object: this\n });\n }\n globalState.globalReactionErrorHandlers.forEach(function (f) { return f(error, _this); });\n };\n Reaction.prototype.dispose = function () {\n if (!this.isDisposed) {\n this.isDisposed = true;\n if (!this._isRunning) {\n // if disposed while running, clean up later. Maybe not optimal, but rare case\n startBatch();\n clearObserving(this);\n endBatch();\n }\n }\n };\n Reaction.prototype.getDisposer = function () {\n var r = this.dispose.bind(this);\n r.$mobx = this;\n r.onError = registerErrorHandler;\n return r;\n };\n Reaction.prototype.toString = function () {\n return \"Reaction[\" + this.name + \"]\";\n };\n Reaction.prototype.whyRun = function () {\n var observing = unique(this._isRunning ? this.newObserving : this.observing).map(function (dep) { return dep.name; });\n return \"\\nWhyRun? reaction '\" + this.name + \"':\\n * Status: [\" + (this.isDisposed\n ? \"stopped\"\n : this._isRunning ? \"running\" : this.isScheduled() ? \"scheduled\" : \"idle\") + \"]\\n * This reaction will re-run if any of the following observables changes:\\n \" + joinStrings(observing) + \"\\n \" + (this._isRunning\n ? \" (... or any observable accessed during the remainder of the current run)\"\n : \"\") + \"\\n\\t\" + getMessage(\"m038\") + \"\\n\";\n };\n Reaction.prototype.trace = function (enterBreakPoint) {\n if (enterBreakPoint === void 0) { enterBreakPoint = false; }\n trace(this, enterBreakPoint);\n };\n return Reaction;\n}());\nfunction registerErrorHandler(handler) {\n invariant(this && this.$mobx && isReaction(this.$mobx), \"Invalid `this`\");\n invariant(!this.$mobx.errorHandler, \"Only one onErrorHandler can be registered\");\n this.$mobx.errorHandler = handler;\n}\nfunction onReactionError(handler) {\n globalState.globalReactionErrorHandlers.push(handler);\n return function () {\n var idx = globalState.globalReactionErrorHandlers.indexOf(handler);\n if (idx >= 0)\n globalState.globalReactionErrorHandlers.splice(idx, 1);\n };\n}\n/**\n * Magic number alert!\n * Defines within how many times a reaction is allowed to re-trigger itself\n * until it is assumed that this is gonna be a never ending loop...\n */\nvar MAX_REACTION_ITERATIONS = 100;\nvar reactionScheduler = function (f) { return f(); };\nfunction runReactions() {\n // Trampolining, if runReactions are already running, new reactions will be picked up\n if (globalState.inBatch > 0 || globalState.isRunningReactions)\n return;\n reactionScheduler(runReactionsHelper);\n}\nfunction runReactionsHelper() {\n globalState.isRunningReactions = true;\n var allReactions = globalState.pendingReactions;\n var iterations = 0;\n // While running reactions, new reactions might be triggered.\n // Hence we work with two variables and check whether\n // we converge to no remaining reactions after a while.\n while (allReactions.length > 0) {\n if (++iterations === MAX_REACTION_ITERATIONS) {\n console.error(\"Reaction doesn't converge to a stable state after \" + MAX_REACTION_ITERATIONS + \" iterations.\" +\n (\" Probably there is a cycle in the reactive function: \" + allReactions[0]));\n allReactions.splice(0); // clear reactions\n }\n var remainingReactions = allReactions.splice(0);\n for (var i = 0, l = remainingReactions.length; i < l; i++)\n remainingReactions[i].runReaction();\n }\n globalState.isRunningReactions = false;\n}\nvar isReaction = createInstanceofPredicate(\"Reaction\", Reaction);\nfunction setReactionScheduler(fn) {\n var baseScheduler = reactionScheduler;\n reactionScheduler = function (f) { return fn(function () { return baseScheduler(f); }); };\n}\n\nfunction asReference(value) {\n deprecated(\"asReference is deprecated, use observable.ref instead\");\n return observable.ref(value);\n}\nfunction asStructure(value) {\n deprecated(\"asStructure is deprecated. Use observable.struct, computed.struct or reaction options instead.\");\n return observable.struct(value);\n}\nfunction asFlat(value) {\n deprecated(\"asFlat is deprecated, use observable.shallow instead\");\n return observable.shallow(value);\n}\nfunction asMap(data) {\n deprecated(\"asMap is deprecated, use observable.map or observable.shallowMap instead\");\n return observable.map(data || {});\n}\n\nfunction createComputedDecorator(equals) {\n return createClassPropertyDecorator(function (target, name, _, __, originalDescriptor) {\n invariant(typeof originalDescriptor !== \"undefined\", getMessage(\"m009\"));\n invariant(typeof originalDescriptor.get === \"function\", getMessage(\"m010\"));\n var adm = asObservableObject(target, \"\");\n defineComputedProperty(adm, name, originalDescriptor.get, originalDescriptor.set, equals, false);\n }, function (name) {\n var observable = this.$mobx.values[name];\n if (observable === undefined // See #505\n )\n return undefined;\n return observable.get();\n }, function (name, value) {\n this.$mobx.values[name].set(value);\n }, false, false);\n}\nvar computedDecorator = createComputedDecorator(comparer.default);\nvar computedStructDecorator = createComputedDecorator(comparer.structural);\n/**\n * Decorator for class properties: @computed get value() { return expr; }.\n * For legacy purposes also invokable as ES5 observable created: `computed(() => expr)`;\n */\nvar computed = function computed(arg1, arg2, arg3) {\n if (typeof arg2 === \"string\") {\n return computedDecorator.apply(null, arguments);\n }\n invariant(typeof arg1 === \"function\", getMessage(\"m011\"));\n invariant(arguments.length < 3, getMessage(\"m012\"));\n var opts = typeof arg2 === \"object\" ? arg2 : {};\n opts.setter = typeof arg2 === \"function\" ? arg2 : opts.setter;\n var equals = opts.equals\n ? opts.equals\n : opts.compareStructural || opts.struct ? comparer.structural : comparer.default;\n return new ComputedValue(arg1, opts.context, equals, opts.name || arg1.name || \"\", opts.setter);\n};\ncomputed.struct = computedStructDecorator;\ncomputed.equals = createComputedDecorator;\n\nfunction isComputed(value, property) {\n if (value === null || value === undefined)\n return false;\n if (property !== undefined) {\n if (isObservableObject(value) === false)\n return false;\n if (!value.$mobx.values[property])\n return false;\n var atom = getAtom(value, property);\n return isComputedValue(atom);\n }\n return isComputedValue(value);\n}\n\nfunction observe(thing, propOrCb, cbOrFire, fireImmediately) {\n if (typeof cbOrFire === \"function\")\n return observeObservableProperty(thing, propOrCb, cbOrFire, fireImmediately);\n else\n return observeObservable(thing, propOrCb, cbOrFire);\n}\nfunction observeObservable(thing, listener, fireImmediately) {\n return getAdministration(thing).observe(listener, fireImmediately);\n}\nfunction observeObservableProperty(thing, property, listener, fireImmediately) {\n return getAdministration(thing, property).observe(listener, fireImmediately);\n}\n\nfunction intercept(thing, propOrHandler, handler) {\n if (typeof handler === \"function\")\n return interceptProperty(thing, propOrHandler, handler);\n else\n return interceptInterceptable(thing, propOrHandler);\n}\nfunction interceptInterceptable(thing, handler) {\n return getAdministration(thing).intercept(handler);\n}\nfunction interceptProperty(thing, property, handler) {\n return getAdministration(thing, property).intercept(handler);\n}\n\n/**\n * expr can be used to create temporarily views inside views.\n * This can be improved to improve performance if a value changes often, but usually doesn't affect the outcome of an expression.\n *\n * In the following example the expression prevents that a component is rerender _each time_ the selection changes;\n * instead it will only rerenders when the current todo is (de)selected.\n *\n * reactiveComponent((props) => {\n * const todo = props.todo;\n * const isSelected = mobx.expr(() => props.viewState.selection === todo);\n * return
{todo.title}
\n * });\n *\n */\nfunction expr(expr, scope) {\n if (!isComputingDerivation())\n console.warn(getMessage(\"m013\"));\n // optimization: would be more efficient if the expr itself wouldn't be evaluated first on the next change, but just a 'changed' signal would be fired\n return computed(expr, { context: scope }).get();\n}\n\nfunction toJS(source, detectCycles, __alreadySeen) {\n if (detectCycles === void 0) { detectCycles = true; }\n if (__alreadySeen === void 0) { __alreadySeen = []; }\n // optimization: using ES6 map would be more efficient!\n // optimization: lift this function outside toJS, this makes recursion expensive\n function cache(value) {\n if (detectCycles)\n __alreadySeen.push([source, value]);\n return value;\n }\n if (isObservable(source)) {\n if (detectCycles && __alreadySeen === null)\n __alreadySeen = [];\n if (detectCycles && source !== null && typeof source === \"object\") {\n for (var i = 0, l = __alreadySeen.length; i < l; i++)\n if (__alreadySeen[i][0] === source)\n return __alreadySeen[i][1];\n }\n if (isObservableArray(source)) {\n var res = cache([]);\n var toAdd = source.map(function (value) { return toJS(value, detectCycles, __alreadySeen); });\n res.length = toAdd.length;\n for (var i = 0, l = toAdd.length; i < l; i++)\n res[i] = toAdd[i];\n return res;\n }\n if (isObservableObject(source)) {\n var res = cache({});\n for (var key in source)\n res[key] = toJS(source[key], detectCycles, __alreadySeen);\n return res;\n }\n if (isObservableMap(source)) {\n var res_1 = cache({});\n source.forEach(function (value, key) { return (res_1[key] = toJS(value, detectCycles, __alreadySeen)); });\n return res_1;\n }\n if (isObservableValue(source))\n return toJS(source.get(), detectCycles, __alreadySeen);\n }\n return source;\n}\n\nfunction createTransformer(transformer, onCleanup) {\n invariant(typeof transformer === \"function\" && transformer.length < 2, \"createTransformer expects a function that accepts one argument\");\n // Memoizes: object id -> reactive view that applies transformer to the object\n var objectCache = {};\n // If the resetId changes, we will clear the object cache, see #163\n // This construction is used to avoid leaking refs to the objectCache directly\n var resetId = globalState.resetId;\n // Local transformer class specifically for this transformer\n var Transformer = /** @class */ (function (_super) {\n __extends(Transformer, _super);\n function Transformer(sourceIdentifier, sourceObject) {\n var _this = _super.call(this, function () { return transformer(sourceObject); }, undefined, comparer.default, \"Transformer-\" + transformer.name + \"-\" + sourceIdentifier, undefined) || this;\n _this.sourceIdentifier = sourceIdentifier;\n _this.sourceObject = sourceObject;\n return _this;\n }\n Transformer.prototype.onBecomeUnobserved = function () {\n var lastValue = this.value;\n _super.prototype.onBecomeUnobserved.call(this);\n delete objectCache[this.sourceIdentifier];\n if (onCleanup)\n onCleanup(lastValue, this.sourceObject);\n };\n return Transformer;\n }(ComputedValue));\n return function (object) {\n if (resetId !== globalState.resetId) {\n objectCache = {};\n resetId = globalState.resetId;\n }\n var identifier = getMemoizationId(object);\n var reactiveTransformer = objectCache[identifier];\n if (reactiveTransformer)\n return reactiveTransformer.get();\n // Not in cache; create a reactive view\n reactiveTransformer = objectCache[identifier] = new Transformer(identifier, object);\n return reactiveTransformer.get();\n };\n}\nfunction getMemoizationId(object) {\n if (typeof object === \"string\" || typeof object === \"number\")\n return object;\n if (object === null || typeof object !== \"object\")\n throw new Error(\"[mobx] transform expected some kind of object or primitive value, got: \" + object);\n var tid = object.$transformId;\n if (tid === undefined) {\n tid = getNextId();\n addHiddenProp(object, \"$transformId\", tid);\n }\n return tid;\n}\n\nfunction interceptReads(thing, propOrHandler, handler) {\n var target;\n if (isObservableMap(thing) || isObservableArray(thing) || isObservableValue(thing)) {\n target = getAdministration(thing);\n }\n else if (isObservableObject(thing)) {\n if (typeof propOrHandler !== \"string\")\n return fail(\"InterceptReads can only be used with a specific property, not with an object in general\");\n target = getAdministration(thing, propOrHandler);\n }\n else {\n return fail(\"Expected observable map, object or array as first array\");\n }\n if (target.dehancer !== undefined)\n return fail(\"An intercept reader was already established\");\n target.dehancer = typeof propOrHandler === \"function\" ? propOrHandler : handler;\n return function () {\n target.dehancer = undefined;\n };\n}\n\n/**\n * (c) Michel Weststrate 2015 - 2016\n * MIT Licensed\n *\n * Welcome to the mobx sources! To get an global overview of how MobX internally works,\n * this is a good place to start:\n * https://medium.com/@mweststrate/becoming-fully-reactive-an-in-depth-explanation-of-mobservable-55995262a254#.xvbh6qd74\n *\n * Source folders:\n * ===============\n *\n * - api/ Most of the public static methods exposed by the module can be found here.\n * - core/ Implementation of the MobX algorithm; atoms, derivations, reactions, dependency trees, optimizations. Cool stuff can be found here.\n * - types/ All the magic that is need to have observable objects, arrays and values is in this folder. Including the modifiers like `asFlat`.\n * - utils/ Utility stuff.\n *\n */\nvar extras = {\n allowStateChanges: allowStateChanges,\n deepEqual: deepEqual,\n getAtom: getAtom,\n getDebugName: getDebugName,\n getDependencyTree: getDependencyTree,\n getAdministration: getAdministration,\n getGlobalState: getGlobalState,\n getObserverTree: getObserverTree,\n interceptReads: interceptReads,\n isComputingDerivation: isComputingDerivation,\n isSpyEnabled: isSpyEnabled,\n onReactionError: onReactionError,\n reserveArrayBuffer: reserveArrayBuffer,\n resetGlobalState: resetGlobalState,\n isolateGlobalState: isolateGlobalState,\n shareGlobalState: shareGlobalState,\n spyReport: spyReport,\n spyReportEnd: spyReportEnd,\n spyReportStart: spyReportStart,\n setReactionScheduler: setReactionScheduler\n};\nvar everything = {\n Reaction: Reaction,\n untracked: untracked,\n Atom: Atom,\n BaseAtom: BaseAtom,\n useStrict: useStrict,\n isStrictModeEnabled: isStrictModeEnabled,\n spy: spy,\n comparer: comparer,\n asReference: asReference,\n asFlat: asFlat,\n asStructure: asStructure,\n asMap: asMap,\n isModifierDescriptor: isModifierDescriptor,\n isObservableObject: isObservableObject,\n isBoxedObservable: isObservableValue,\n isObservableArray: isObservableArray,\n ObservableMap: ObservableMap,\n isObservableMap: isObservableMap,\n map: map,\n transaction: transaction,\n observable: observable,\n computed: computed,\n isObservable: isObservable,\n isComputed: isComputed,\n extendObservable: extendObservable,\n extendShallowObservable: extendShallowObservable,\n observe: observe,\n intercept: intercept,\n autorun: autorun,\n autorunAsync: autorunAsync,\n when: when,\n reaction: reaction,\n action: action,\n isAction: isAction,\n runInAction: runInAction,\n expr: expr,\n toJS: toJS,\n createTransformer: createTransformer,\n whyRun: whyRun,\n isArrayLike: isArrayLike,\n extras: extras\n};\nvar warnedAboutDefaultExport = false;\nvar _loop_1 = function (p) {\n var val = everything[p];\n Object.defineProperty(everything, p, {\n get: function () {\n if (!warnedAboutDefaultExport) {\n warnedAboutDefaultExport = true;\n console.warn(\"Using default export (`import mobx from 'mobx'`) is deprecated \" +\n \"and won’t work in mobx@4.0.0\\n\" +\n \"Use `import * as mobx from 'mobx'` instead\");\n }\n return val;\n }\n });\n};\nfor (var p in everything) {\n _loop_1(p);\n}\nif (typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__ === \"object\") {\n __MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({ spy: spy, extras: extras });\n}\n\nexport { extras, Reaction, untracked, IDerivationState, Atom, BaseAtom, useStrict, isStrictModeEnabled, spy, comparer, asReference, asFlat, asStructure, asMap, isModifierDescriptor, isObservableObject, isObservableValue as isBoxedObservable, isObservableArray, ObservableMap, isObservableMap, map, transaction, observable, computed, isObservable, isComputed, extendObservable, extendShallowObservable, observe, intercept, autorun, autorunAsync, when, reaction, action, isAction, runInAction, expr, toJS, createTransformer, whyRun, trace, isArrayLike };export default everything;\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/mobx/lib/mobx.module.js","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Provider = exports.inject = exports.connect = exports.useStaticRendering = exports.Observer = exports.observer = undefined;\n\nvar _observer = require('./observer');\n\nObject.defineProperty(exports, 'observer', {\n enumerable: true,\n get: function get() {\n return _observer.observer;\n }\n});\nObject.defineProperty(exports, 'Observer', {\n enumerable: true,\n get: function get() {\n return _observer.Observer;\n }\n});\nObject.defineProperty(exports, 'useStaticRendering', {\n enumerable: true,\n get: function get() {\n return _observer.useStaticRendering;\n }\n});\n\nvar _connect = require('./connect');\n\nObject.defineProperty(exports, 'connect', {\n enumerable: true,\n get: function get() {\n return _connect.connect;\n }\n});\n\nvar _inject = require('./inject');\n\nObject.defineProperty(exports, 'inject', {\n enumerable: true,\n get: function get() {\n return _inject.inject;\n }\n});\n\nvar _Provider = require('./Provider');\n\nObject.defineProperty(exports, 'Provider', {\n enumerable: true,\n get: function get() {\n return _Provider.Provider;\n }\n});\n\nvar _mobx = require('mobx');\n\nvar _preact = require('preact');\n\nif (!_preact.Component) {\n throw new Error('mobx-preact requires Preact to be available');\n}\nif (!_mobx.extras) {\n throw new Error('mobx-preact requires mobx to be available');\n}\n\n\n// WEBPACK FOOTER //\n// ../node_modules/mobx-preact/lib/index.js","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Observer = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nexports.useStaticRendering = useStaticRendering;\nexports.observer = observer;\n\nvar _mobx = require('mobx');\n\nvar _preact = require('preact');\n\nvar _utils = require('./utils/utils');\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar isUsingStaticRendering = false;\n\nvar logger = console; // eslint-disable-line no-console\n\nfunction useStaticRendering(useStaticRendering) {\n isUsingStaticRendering = useStaticRendering;\n}\n\n/**\n Workaround\n\n allowStateChanges from mobX must be patched so that props, state and args are passed to the render() function\n */\n\nfunction allowStateChangesStart(allowStateChanges) {\n var prev = _mobx.extras.getGlobalState().allowStateChanges;\n _mobx.extras.getGlobalState().allowStateChanges = allowStateChanges;\n return prev;\n}\nfunction allowStateChangesEnd(prev) {\n _mobx.extras.getGlobalState().allowStateChanges = prev;\n}\n\nfunction allowStateChanges(allowStateChanges, func, props, state, context) {\n var prev = allowStateChangesStart(allowStateChanges);\n var res = void 0;\n try {\n res = func(props, state, context);\n } finally {\n allowStateChangesEnd(prev);\n }\n return res;\n}\n\n/**\n * Utilities\n */\n\nfunction patch(target, funcName) {\n var runMixinFirst = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n var base = target[funcName];\n var mixinFunc = reactiveMixin[funcName];\n var f = !base ? mixinFunc : runMixinFirst === true ? function () {\n mixinFunc.apply(this, arguments);\n base.apply(this, arguments);\n } : function () {\n base.apply(this, arguments);\n mixinFunc.apply(this, arguments);\n };\n\n // MWE: ideally we freeze here to protect against accidental overwrites in component instances, see #195\n // ...but that breaks react-hot-loader, see #231...\n target[funcName] = f;\n}\n\nfunction isObjectShallowModified(prev, next) {\n if (null == prev || null == next || (typeof prev === 'undefined' ? 'undefined' : _typeof(prev)) !== 'object' || (typeof next === 'undefined' ? 'undefined' : _typeof(next)) !== 'object') {\n return prev !== next;\n }\n var keys = Object.keys(prev);\n if (keys.length !== Object.keys(next).length) {\n return true;\n }\n var key = void 0;\n for (var i = keys.length - 1; i >= 0, key = keys[i]; i--) {\n if (next[key] !== prev[key]) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * ReactiveMixin\n */\nvar reactiveMixin = {\n componentWillMount: function componentWillMount() {\n var _this = this;\n\n if (isUsingStaticRendering === true) {\n return;\n }\n // Generate friendly name for debugging\n var initialName = (0, _utils.makeDisplayName)(this);\n\n /**\n * If props are shallowly modified, react will render anyway,\n * so atom.reportChanged() should not result in yet another re-render\n */\n var skipRender = false;\n /**\n * forceUpdate will re-assign this.props. We don't want that to cause a loop,\n * so detect these changes\n */\n var isForcingUpdate = false;\n\n function makePropertyObservableReference(propName) {\n var valueHolder = this[propName];\n var atom = new _mobx.Atom('reactive ' + propName);\n Object.defineProperty(this, propName, {\n configurable: true,\n enumerable: true,\n get: function get() {\n atom.reportObserved();\n return valueHolder;\n },\n set: function set(v) {\n if (!isForcingUpdate && isObjectShallowModified(valueHolder, v)) {\n valueHolder = v;\n skipRender = true;\n atom.reportChanged();\n skipRender = false;\n } else {\n valueHolder = v;\n }\n }\n });\n }\n\n // make this.props an observable reference, see #124\n makePropertyObservableReference.call(this, 'props');\n // make state an observable reference\n makePropertyObservableReference.call(this, 'state');\n\n // wire up reactive render\n var baseRender = this.render.bind(this);\n var reaction = null;\n var isRenderingPending = false;\n\n var initialRender = function initialRender() {\n reaction = new _mobx.Reaction(initialName + '.render()', function () {\n if (!isRenderingPending) {\n // N.B. Getting here *before mounting* means that a component constructor has side effects (see the relevant test in misc.js)\n // This unidiomatic React usage but React will correctly warn about this so we continue as usual\n // See #85 / Pull #44\n isRenderingPending = true;\n if (typeof _this.componentWillReact === 'function') {\n _this.componentWillReact();\n } // TODO: wrap in action?\n if (_this.__$mobxIsUnmounted !== true) {\n // If we are unmounted at this point, componentWillReact() had a side effect causing the component to unmounted\n // TODO: remove this check? Then react will properly warn about the fact that this should not happen? See #73\n // However, people also claim this migth happen during unit tests..\n var hasError = true;\n try {\n isForcingUpdate = true;\n if (!skipRender) {\n _preact.Component.prototype.forceUpdate.call(_this);\n }\n hasError = false;\n } finally {\n isForcingUpdate = false;\n if (hasError) {\n reaction.dispose();\n }\n }\n }\n }\n });\n reaction.reactComponent = _this;\n reactiveRender.$mobx = reaction;\n _this.render = reactiveRender;\n return reactiveRender(_this.props, _this.state, _this.context);\n };\n\n var reactiveRender = function reactiveRender(props, state, context) {\n isRenderingPending = false;\n var exception = undefined;\n var rendering = undefined;\n reaction.track(function () {\n try {\n rendering = allowStateChanges(false, baseRender, props, state, context);\n } catch (e) {\n exception = e;\n }\n });\n if (exception) {\n throw exception;\n }\n return rendering;\n };\n\n this.render = initialRender;\n },\n\n componentWillUnmount: function componentWillUnmount() {\n if (isUsingStaticRendering === true) {\n return;\n }\n this.render.$mobx && this.render.$mobx.dispose();\n this.__$mobxIsUnmounted = true;\n },\n\n componentDidMount: function componentDidMount() {},\n\n componentDidUpdate: function componentDidUpdate() {},\n\n shouldComponentUpdate: function shouldComponentUpdate(nextProps, nextState) {\n if (isUsingStaticRendering) {\n logger.warn('[mobx-preact] 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.');\n }\n // update on any state changes (as is the default)\n if (this.state !== nextState) {\n return true;\n }\n // update if props are shallowly not equal, inspired by PureRenderMixin\n // we could return just 'false' here, and avoid the `skipRender` checks etc\n // however, it is nicer if lifecycle events are triggered like usually,\n // so we return true here if props are shallowly modified.\n return isObjectShallowModified(this.props, nextProps);\n }\n};\n\n/**\n * Observer function / decorator\n */\nfunction observer(componentClass) {\n if (arguments.length > 1) {\n logger.warn('Mobx observer: Using observer to inject stores is not supported. Use `@connect([\"store1\", \"store2\"]) ComponentClass instead or preferably, use `@inject(\"store1\", \"store2\") @observer ComponentClass` or `inject(\"store1\", \"store2\")(observer(componentClass))``');\n }\n\n if (componentClass.isMobxInjector === true) {\n logger.warn('Mobx observer: You are trying to use \\'observer\\' on a component that already has \\'inject\\'. Please apply \\'observer\\' before applying \\'inject\\'');\n }\n\n // Stateless function component:\n if ((0, _utils.isStateless)(componentClass)) {\n var _class, _temp;\n\n return observer((_temp = _class = function (_Component) {\n _inherits(_class, _Component);\n\n function _class() {\n _classCallCheck(this, _class);\n\n return _possibleConstructorReturn(this, (_class.__proto__ || Object.getPrototypeOf(_class)).apply(this, arguments));\n }\n\n _createClass(_class, [{\n key: 'render',\n value: function render() {\n return componentClass.call(this, this.props, this.context);\n }\n }]);\n\n return _class;\n }(_preact.Component), _class.displayName = (0, _utils.makeDisplayName)(componentClass), _temp));\n }\n\n if (!componentClass) {\n throw new Error('Please pass a valid component to \\'observer\\'');\n }\n\n var target = componentClass.prototype || componentClass;\n mixinLifecycleEvents(target);\n componentClass.isMobXReactObserver = true;\n return componentClass;\n}\n\nfunction mixinLifecycleEvents(target) {\n patch(target, 'componentWillMount', true);\n patch(target, 'componentDidMount');\n\n if (!target.shouldComponentUpdate) {\n target.shouldComponentUpdate = reactiveMixin.shouldComponentUpdate;\n }\n}\n\nvar Observer = exports.Observer = observer(function (_ref) {\n var children = _ref.children;\n return children[0]();\n});\n\nObserver.displayName = 'Observer';\n\n\n// WEBPACK FOOTER //\n// ../node_modules/mobx-preact/lib/observer.js","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.isStateless = isStateless;\nexports.makeDisplayName = makeDisplayName;\n\nvar _preact = require('preact');\n\nfunction isStateless(component) {\n // `function() {}` has prototype, but `() => {}` doesn't\n // `() => {}` via Babel has prototype too.\n return !(component.prototype && component.prototype.render) && !_preact.Component.isPrototypeOf(component);\n}\n\nfunction makeDisplayName(component) {\n var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n _ref$prefix = _ref.prefix,\n prefix = _ref$prefix === undefined ? '' : _ref$prefix,\n _ref$suffix = _ref.suffix,\n suffix = _ref$suffix === undefined ? '' : _ref$suffix;\n\n var displayName = component.displayName || component.name || component.constructor && component.constructor.name || '';\n return prefix + displayName + suffix;\n}\n\n\n// WEBPACK FOOTER //\n// ../node_modules/mobx-preact/lib/utils/utils.js","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nexports.inject = inject;\n\nvar _preact = require('preact');\n\nvar _hoistNonReactStatics = require('hoist-non-react-statics');\n\nvar _hoistNonReactStatics2 = _interopRequireDefault(_hoistNonReactStatics);\n\nvar _observer = require('./observer');\n\nvar _utils = require('./utils/utils');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar proxiedInjectorProps = {\n isMobxInjector: {\n value: true,\n writable: true,\n configurable: true,\n enumerable: true\n }\n};\n\n/**\n * Store Injection\n */\nfunction createStoreInjector(grabStoresFn, component, injectNames) {\n var _class, _temp;\n\n var prefix = 'inject-';\n var suffix = injectNames ? '-with-' + injectNames : '';\n var displayName = (0, _utils.makeDisplayName)(component, { prefix: prefix, suffix: suffix });\n\n var Injector = (_temp = _class = function (_Component) {\n _inherits(Injector, _Component);\n\n function Injector() {\n _classCallCheck(this, Injector);\n\n return _possibleConstructorReturn(this, (Injector.__proto__ || Object.getPrototypeOf(Injector)).apply(this, arguments));\n }\n\n _createClass(Injector, [{\n key: 'render',\n value: function render() {\n // Optimization: it might be more efficient to apply the mapper function *outside* the render method\n // (if the mapper is a function), that could avoid expensive(?) re-rendering of the injector component\n // See this test: 'using a custom injector is not too reactive' in inject.js\n var newProps = {};\n for (var key in this.props) {\n if (this.props.hasOwnProperty(key)) {\n newProps[key] = this.props[key];\n }\n }\n var additionalProps = grabStoresFn(this.context.mobxStores || {}, newProps, this.context) || {};\n for (var _key in additionalProps) {\n newProps[_key] = additionalProps[_key];\n }\n\n return (0, _preact.h)(component, newProps);\n }\n }]);\n\n return Injector;\n }(_preact.Component), _class.displayName = displayName, _temp);\n\n // Static fields from component should be visible on the generated Injector\n\n (0, _hoistNonReactStatics2.default)(Injector, component);\n\n Injector.wrappedComponent = component;\n Object.defineProperties(Injector, proxiedInjectorProps);\n\n return Injector;\n}\n\nfunction grabStoresByName(storeNames) {\n return function (baseStores, nextProps) {\n storeNames.forEach(function (storeName) {\n // prefer props over stores\n if (storeName in nextProps) {\n return;\n }\n if (!(storeName in baseStores)) {\n throw new Error('MobX injector: Store \\'' + storeName + '\\' is not available! Make sure it is provided by some Provider');\n }\n nextProps[storeName] = baseStores[storeName];\n });\n return nextProps;\n };\n}\n\n/**\n * higher order component that injects stores to a child.\n * takes either a varargs list of strings, which are stores read from the context,\n * or a function that manually maps the available stores from the context to props:\n * storesToProps(mobxStores, props, context) => newProps\n */\nfunction inject() /* fn(stores, nextProps) or ...storeNames */{\n var grabStoresFn = void 0;\n if (typeof arguments[0] === 'function') {\n grabStoresFn = arguments[0];\n return function (componentClass) {\n var injected = createStoreInjector(grabStoresFn, componentClass);\n injected.isMobxInjector = false; // suppress warning\n // mark the Injector as observer, to make it react to expressions in `grabStoresFn`,\n // see #111\n injected = (0, _observer.observer)(injected);\n injected.isMobxInjector = true; // restore warning\n return injected;\n };\n } else {\n var storeNames = [];\n for (var i = 0; i < arguments.length; i++) {\n storeNames[i] = arguments[i];\n }\n grabStoresFn = grabStoresByName(storeNames);\n return function (componentClass) {\n return createStoreInjector(grabStoresFn, componentClass, storeNames.join('-'));\n };\n }\n}\n\n\n// WEBPACK FOOTER //\n// ../node_modules/mobx-preact/lib/inject.js","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.JSONHTTPError = exports.TextHTTPError = exports.HTTPError = exports.getPagination = undefined;\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _pagination = require(\"./pagination\");\n\nObject.defineProperty(exports, \"getPagination\", {\n enumerable: true,\n get: function get() {\n return _pagination.getPagination;\n }\n});\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction _extendableBuiltin(cls) {\n function ExtendableBuiltin() {\n var instance = Reflect.construct(cls, Array.from(arguments));\n Object.setPrototypeOf(instance, Object.getPrototypeOf(this));\n return instance;\n }\n\n ExtendableBuiltin.prototype = Object.create(cls.prototype, {\n constructor: {\n value: cls,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(ExtendableBuiltin, cls);\n } else {\n ExtendableBuiltin.__proto__ = cls;\n }\n\n return ExtendableBuiltin;\n}\n\nvar HTTPError = exports.HTTPError = function (_extendableBuiltin2) {\n _inherits(HTTPError, _extendableBuiltin2);\n\n function HTTPError(response) {\n _classCallCheck(this, HTTPError);\n\n var _this = _possibleConstructorReturn(this, (HTTPError.__proto__ || Object.getPrototypeOf(HTTPError)).call(this, response.statusText));\n\n _this.name = _this.constructor.name;\n if (typeof Error.captureStackTrace === \"function\") {\n Error.captureStackTrace(_this, _this.constructor);\n } else {\n _this.stack = new Error(response.statusText).stack;\n }\n _this.status = response.status;\n return _this;\n }\n\n return HTTPError;\n}(_extendableBuiltin(Error));\n\nvar TextHTTPError = exports.TextHTTPError = function (_HTTPError) {\n _inherits(TextHTTPError, _HTTPError);\n\n function TextHTTPError(response, data) {\n _classCallCheck(this, TextHTTPError);\n\n var _this2 = _possibleConstructorReturn(this, (TextHTTPError.__proto__ || Object.getPrototypeOf(TextHTTPError)).call(this, response));\n\n _this2.data = data;\n return _this2;\n }\n\n return TextHTTPError;\n}(HTTPError);\n\nvar JSONHTTPError = exports.JSONHTTPError = function (_HTTPError2) {\n _inherits(JSONHTTPError, _HTTPError2);\n\n function JSONHTTPError(response, json) {\n _classCallCheck(this, JSONHTTPError);\n\n var _this3 = _possibleConstructorReturn(this, (JSONHTTPError.__proto__ || Object.getPrototypeOf(JSONHTTPError)).call(this, response));\n\n _this3.json = json;\n return _this3;\n }\n\n return JSONHTTPError;\n}(HTTPError);\n\nvar API = function () {\n function API() {\n var apiURL = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n var options = arguments[1];\n\n _classCallCheck(this, API);\n\n this.apiURL = apiURL;\n if (this.apiURL.match(/\\/[^\\/]?/)) {\n // eslint-disable-line no-useless-escape\n this._sameOrigin = true;\n }\n this.defaultHeaders = options && options.defaultHeaders || {};\n }\n\n _createClass(API, [{\n key: \"headers\",\n value: function headers() {\n var _headers = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n return _extends({}, this.defaultHeaders, {\n \"Content-Type\": \"application/json\"\n }, _headers);\n }\n }, {\n key: \"parseJsonResponse\",\n value: function parseJsonResponse(response) {\n return response.json().then(function (json) {\n if (!response.ok) {\n return Promise.reject(new JSONHTTPError(response, json));\n }\n\n var pagination = (0, _pagination.getPagination)(response);\n return pagination ? { pagination: pagination, items: json } : json;\n });\n }\n }, {\n key: \"request\",\n value: function request(path) {\n var _this4 = this;\n\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n var headers = this.headers(options.headers || {});\n if (this._sameOrigin) {\n options.credentials = options.credentials || \"same-origin\";\n }\n return fetch(this.apiURL + path, _extends({}, options, { headers: headers })).then(function (response) {\n var contentType = response.headers.get(\"Content-Type\");\n if (contentType && contentType.match(/json/)) {\n return _this4.parseJsonResponse(response);\n }\n\n if (!response.ok) {\n return response.text().then(function (data) {\n return Promise.reject(new TextHTTPError(response, data));\n });\n }\n return response.text().then(function (data) {\n data;\n });\n });\n }\n }]);\n\n return API;\n}();\n\nexports.default = API;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ../node_modules/micro-api-client/lib/index.js\n// module id = 6\n// module chunks = 0","import { h, Component } from \"preact\";\n\nexport default class Button extends Component {\n render() {\n const { saving, text, saving_text } = this.props;\n\n return (\n \n );\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/forms/button.js","import { h, Component } from \"preact\";\n\nconst messages = {\n confirm: {\n type: \"success\",\n text:\n \"A confirmation message was sent to your email, click the link there to continue.\"\n },\n password_mail: {\n type: \"success\",\n text:\n \"We've sent a recovery email to your account, follow the link there to reset your password.\"\n },\n email_changed: {\n type: \"sucess\",\n text: \"Your email address has been updated!\"\n },\n verfication_error: {\n type: \"error\",\n text:\n \"There was an error verifying your account. Please try again or contact an administrator.\"\n },\n signup_disabled: {\n type: \"error\",\n text:\n \"Public signups are disabled. Contact an administrator and ask for an invite.\"\n }\n};\n\nexport default class Message extends Component {\n render() {\n const { type } = this.props;\n const msg = messages[type];\n\n return (\n
\n {msg.text}\n
\n );\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/forms/message.js","import { h, render } from \"preact\";\nimport { observe } from \"mobx\";\nimport { Provider } from \"mobx-preact\";\nimport GoTrue from \"gotrue-js\";\nimport App from \"./components/app\";\nimport store from \"./state/store\";\nimport Controls from \"./components/controls\";\nimport modalCSS from \"./components/modal.css\";\n\nconst callbacks = {};\nfunction trigger(callback) {\n (callbacks[callback] || []).forEach(cb => {\n cb.apply(cb, Array.prototype.slice.call(arguments, 1));\n });\n}\n\nconst validActions = {\n login: true,\n signup: true,\n error: true\n};\n\nconst netlifyIdentity = {\n on: (event, cb) => {\n callbacks[event] = callbacks[event] || [];\n callbacks[event].push(cb);\n },\n open: action => {\n action = action || \"login\";\n if (!validActions[action]) {\n throw new Error(`Invalid action for open: ${action}`);\n }\n store.openModal(store.user ? \"user\" : action);\n },\n close: () => {\n store.closeModal();\n },\n currentUser: () => {\n return store.gotrue && store.gotrue.currentUser();\n },\n logout: () => {\n return store.logout();\n },\n get gotrue() {\n if (!store.gotrue) {\n store.openModal(\"login\");\n }\n return store.gotrue;\n },\n init: options => {\n init(options);\n },\n store\n};\n\nlet queuedIframeStyle = null;\nfunction setStyle(el, css) {\n let style = \"\";\n for (const key in css) {\n style += `${key}: ${css[key]}; `;\n }\n if (el) {\n el.setAttribute(\"style\", style);\n } else {\n queuedIframeStyle = style;\n }\n}\n\nconst localHosts = {\n localhost: true,\n \"127.0.0.1\": true,\n \"0.0.0.0\": true,\n \"identity.netlify.com\": true\n};\n\nfunction instantiateGotrue(APIUrl) {\n const isLocal = localHosts[document.location.host.split(\":\").shift()];\n const siteURL = isLocal && localStorage.getItem(\"netlifySiteURL\");\n if (APIUrl) {\n return new GoTrue({ APIUrl, setCookie: !isLocal });\n }\n if (isLocal && siteURL) {\n const parts = [siteURL];\n if (!siteURL.match(/\\/$/)) {\n parts.push(\"/\");\n }\n parts.push(\".netlify/identity\");\n store.setIsLocal(isLocal);\n store.setSiteURL(siteURL);\n return new GoTrue({ APIUrl: parts.join(\"\"), setCookie: !isLocal });\n }\n if (isLocal) {\n store.setIsLocal(isLocal);\n return null;\n }\n\n return new GoTrue({ setCookie: !isLocal });\n}\n\nlet root;\nlet iframe;\nconst iframeStyle = {\n position: \"fixed\",\n top: 0,\n left: 0,\n border: \"none\",\n width: \"100%\",\n height: \"100%\",\n overflow: \"visible\",\n background: \"transparent\",\n display: \"none\",\n \"z-index\": 99\n};\n\nobserve(store.modal, \"isOpen\", () => {\n if (!store.settings) {\n store.loadSettings();\n }\n setStyle(iframe, {\n ...iframeStyle,\n display: store.modal.isOpen ? \"block !important\" : \"none\"\n });\n if (store.modal.isOpen) {\n trigger(\"open\", store.modal.page);\n } else {\n trigger(\"close\");\n }\n});\n\nobserve(store, \"siteURL\", () => {\n if (store.siteURL === null || store.siteURL === undefined) {\n localStorage.removeItem(\"netlifySiteURL\");\n } else {\n localStorage.setItem(\"netlifySiteURL\", store.siteURL);\n }\n store.init(instantiateGotrue(), true);\n});\n\nobserve(store, \"user\", () => {\n if (store.user) {\n trigger(\"login\", store.user);\n } else {\n trigger(\"logout\");\n }\n});\n\nobserve(store, \"gotrue\", () => {\n store.gotrue && trigger(\"init\", store.gotrue.currentUser());\n});\n\nobserve(store, \"error\", () => {\n trigger(\"error\", store.error);\n});\n\nconst routes = /(confirmation|invite|recovery|email_change)_token=([^&]+)/;\nconst errorRoute = /error=access_denied&error_description=403/;\nconst accessTokenRoute = /access_token=/;\n\nfunction runRoutes() {\n const hash = (document.location.hash || \"\").replace(/^#\\/?/, \"\");\n if (!hash) {\n return;\n }\n\n const m = hash.match(routes);\n if (m) {\n store.verifyToken(m[1], m[2]);\n document.location.hash = \"\";\n }\n\n const em = hash.match(errorRoute);\n if (em) {\n store.openModal(\"signup\");\n document.location.hash = \"\";\n }\n\n const am = hash.match(accessTokenRoute);\n if (am) {\n const params = {};\n hash.split(\"&\").forEach(pair => {\n const [key, value] = pair.split(\"=\");\n params[key] = value;\n });\n if (!!document && params[\"access_token\"]) {\n document.cookie = `nf_jwt=${params[\"access_token\"]}`;\n }\n document.location.hash = \"\";\n store.openModal(\"login\");\n store.completeExternalLogin(params);\n }\n}\n\nfunction init(options = {}) {\n const { APIUrl, logo = true, namePlaceholder } = options;\n const controlEls = document.querySelectorAll(\n \"[data-netlify-identity-menu],[data-netlify-identity-button]\"\n );\n Array.prototype.slice.call(controlEls).forEach(el => {\n let controls = null;\n const mode =\n el.getAttribute(\"data-netlify-identity-menu\") === null\n ? \"button\"\n : \"menu\";\n render(\n \n \n ,\n el,\n controls\n );\n });\n\n store.init(instantiateGotrue(APIUrl));\n store.modal.logo = logo;\n store.setNamePlaceholder(namePlaceholder);\n iframe = document.createElement(\"iframe\");\n iframe.id = \"netlify-identity-widget\";\n iframe.onload = () => {\n const styles = iframe.contentDocument.createElement(\"style\");\n styles.innerHTML = modalCSS.toString();\n iframe.contentDocument.head.appendChild(styles);\n root = render(\n \n \n ,\n iframe.contentDocument.body,\n root\n );\n runRoutes();\n };\n setStyle(iframe, iframeStyle);\n iframe.src = \"about:blank\";\n const container = options.container\n ? document.querySelector(options.container)\n : document.body;\n container.appendChild(iframe);\n /* There's a certain case where we might have called setStyle before the iframe was ready.\n\t Make sure we take the last style and apply it */\n if (queuedIframeStyle) {\n iframe.setAttribute(\"style\", queuedIframeStyle);\n queuedIframeStyle = null;\n }\n}\n\nexport default netlifyIdentity;\n\n\n\n// WEBPACK FOOTER //\n// ./netlify-identity.js","var g;\r\n\r\n// This works in non-strict mode\r\ng = (function() {\r\n\treturn this;\r\n})();\r\n\r\ntry {\r\n\t// This works if eval is allowed (see CSP)\r\n\tg = g || Function(\"return this\")() || (1,eval)(\"this\");\r\n} catch(e) {\r\n\t// This works if the window reference is available\r\n\tif(typeof window === \"object\")\r\n\t\tg = window;\r\n}\r\n\r\n// g can still be undefined, but nothing to do about it...\r\n// We return undefined, instead of nothing here, so it's\r\n// easier to handle this case. if(!global) { ...}\r\n\r\nmodule.exports = g;\r\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/webpack/buildin/global.js","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.connect = connect;\n\nvar _observer = require('./observer');\n\nvar _inject = require('./inject');\n\nfunction connect(arg1, arg2) {\n if (typeof arg1 === 'string') {\n throw new Error('Store names should be provided as array');\n }\n if (Array.isArray(arg1)) {\n if (!arg2) {\n // invoked as decorator\n return function (componentClass) {\n return connect(arg1, componentClass);\n };\n } else {\n return _inject.inject.apply(null, arg1)(connect(arg2));\n }\n }\n return (0, _observer.observer)(arg1);\n}\n\n\n// WEBPACK FOOTER //\n// ../node_modules/mobx-preact/lib/connect.js","'use strict';\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar REACT_STATICS = {\n childContextTypes: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\n\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = getPrototypeOf && getPrototypeOf(Object);\n\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') { // don't hoist over string (html) components\n\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n if (!REACT_STATICS[key] && !KNOWN_STATICS[key] && (!blacklist || !blacklist[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n try { // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n\n return targetComponent;\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Provider = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _preact = require('preact');\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar specialReactKeys = { children: true, key: true, ref: true };\n\nvar logger = console; // eslint-disable-line no-console\n\nvar Provider = exports.Provider = function (_Component) {\n _inherits(Provider, _Component);\n\n function Provider() {\n _classCallCheck(this, Provider);\n\n return _possibleConstructorReturn(this, (Provider.__proto__ || Object.getPrototypeOf(Provider)).apply(this, arguments));\n }\n\n _createClass(Provider, [{\n key: 'render',\n value: function render(_ref) {\n var children = _ref.children;\n\n return children.length > 1 ? (0, _preact.h)(\n 'div',\n null,\n ' ',\n children,\n ' '\n ) : children[0];\n }\n }, {\n key: 'getChildContext',\n value: function getChildContext() {\n var stores = {};\n // inherit stores\n var baseStores = this.context.mobxStores;\n if (baseStores) {\n for (var key in baseStores) {\n stores[key] = baseStores[key];\n }\n }\n // add own stores\n for (var _key in this.props) {\n if (!specialReactKeys[_key] && _key !== 'suppressChangedStoreWarning') {\n stores[_key] = this.props[_key];\n }\n }\n\n return {\n mobxStores: stores\n };\n }\n }, {\n key: 'componentWillReceiveProps',\n value: function componentWillReceiveProps(nextProps) {\n // Maybe this warning is too aggressive?\n if (Object.keys(nextProps).length !== Object.keys(this.props).length) {\n logger.warn('MobX Provider: The set of provided stores has changed. Please avoid changing stores as the change might not propagate to all children');\n }\n if (!nextProps.suppressChangedStoreWarning) {\n for (var key in nextProps) {\n if (!specialReactKeys[key] && this.props[key] !== nextProps[key]) {\n logger.warn('MobX Provider: Provided store \\'' + key + '\\' has changed. Please avoid replacing stores as the change might not propagate to all children');\n }\n }\n }\n }\n }]);\n\n return Provider;\n}(_preact.Component);\n\n\n// WEBPACK FOOTER //\n// ../node_modules/mobx-preact/lib/Provider.js","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _microApiClient = require(\"micro-api-client\");\n\nvar _microApiClient2 = _interopRequireDefault(_microApiClient);\n\nvar _user = require(\"./user\");\n\nvar _user2 = _interopRequireDefault(_user);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar HTTPRegexp = /^http:\\/\\//;\nvar defaultApiURL = \"/.netlify/identity\";\n\nvar GoTrue = function () {\n function GoTrue() {\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref$APIUrl = _ref.APIUrl,\n APIUrl = _ref$APIUrl === undefined ? defaultApiURL : _ref$APIUrl,\n _ref$audience = _ref.audience,\n audience = _ref$audience === undefined ? \"\" : _ref$audience,\n _ref$setCookie = _ref.setCookie,\n setCookie = _ref$setCookie === undefined ? false : _ref$setCookie;\n\n _classCallCheck(this, GoTrue);\n\n if (APIUrl.match(HTTPRegexp)) {\n console.warn(\"Warning:\\n\\nDO NOT USE HTTP IN PRODUCTION FOR GOTRUE EVER!\\nGoTrue REQUIRES HTTPS to work securely.\");\n }\n\n if (audience) {\n this.audience = audience;\n }\n\n this.setCookie = setCookie;\n\n this.api = new _microApiClient2.default(APIUrl);\n }\n\n _createClass(GoTrue, [{\n key: \"_request\",\n value: function _request(path) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n options.headers = options.headers || {};\n var aud = options.audience || this.audience;\n if (aud) {\n options.headers[\"X-JWT-AUD\"] = aud;\n }\n return this.api.request(path, options).catch(function (err) {\n if (err instanceof _microApiClient.JSONHTTPError && err.json) {\n if (err.json.msg) {\n err.message = err.json.msg;\n } else if (err.json.error) {\n err.message = err.json.error + \": \" + err.json.error_description;\n }\n }\n return Promise.reject(err);\n });\n }\n }, {\n key: \"settings\",\n value: function settings() {\n return this._request(\"/settings\");\n }\n }, {\n key: \"signup\",\n value: function signup(email, password, data) {\n return this._request(\"/signup\", {\n method: \"POST\",\n body: JSON.stringify({ email: email, password: password, data: data })\n });\n }\n }, {\n key: \"login\",\n value: function login(email, password, remember) {\n var _this = this;\n\n this._setRememberHeaders(remember);\n return this._request(\"/token\", {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/x-www-form-urlencoded\" },\n body: \"grant_type=password&username=\" + encodeURIComponent(email) + \"&password=\" + encodeURIComponent(password)\n }).then(function (response) {\n _user2.default.removeSavedSession();\n return _this.createUser(response, remember);\n });\n }\n }, {\n key: \"loginExternalUrl\",\n value: function loginExternalUrl(provider) {\n return this.api.apiURL + \"/authorize?provider=\" + provider;\n }\n }, {\n key: \"confirm\",\n value: function confirm(token, remember) {\n this._setRememberHeaders(remember);\n return this.verify(\"signup\", token, remember);\n }\n }, {\n key: \"requestPasswordRecovery\",\n value: function requestPasswordRecovery(email) {\n return this._request(\"/recover\", {\n method: \"POST\",\n body: JSON.stringify({ email: email })\n });\n }\n }, {\n key: \"recover\",\n value: function recover(token, remember) {\n this._setRememberHeaders(remember);\n return this.verify(\"recovery\", token, remember);\n }\n }, {\n key: \"acceptInvite\",\n value: function acceptInvite(token, password, remember) {\n var _this2 = this;\n\n this._setRememberHeaders(remember);\n return this._request(\"/verify\", {\n method: \"POST\",\n body: JSON.stringify({ token: token, password: password, type: \"signup\" })\n }).then(function (response) {\n return _this2.createUser(response, remember);\n });\n }\n }, {\n key: \"acceptInviteExternalUrl\",\n value: function acceptInviteExternalUrl(provider, token) {\n return this.api.apiURL + \"/authorize?provider=\" + provider + \"&invite_token=\" + token;\n }\n }, {\n key: \"createUser\",\n value: function createUser(tokenResponse) {\n var remember = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n this._setRememberHeaders(remember);\n var user = new _user2.default(this.api, tokenResponse, this.audience);\n return user.getUserData().then(function (user) {\n if (remember) {\n user._saveSession();\n }\n return user;\n });\n }\n }, {\n key: \"currentUser\",\n value: function currentUser() {\n var user = _user2.default.recoverSession(this.api);\n user && this._setRememberHeaders(user._fromStorage);\n return user;\n }\n }, {\n key: \"verify\",\n value: function verify(type, token, remember) {\n var _this3 = this;\n\n this._setRememberHeaders(remember);\n return this._request(\"/verify\", {\n method: \"POST\",\n body: JSON.stringify({ token: token, type: type })\n }).then(function (response) {\n return _this3.createUser(response, remember);\n });\n }\n }, {\n key: \"_setRememberHeaders\",\n value: function _setRememberHeaders(remember) {\n if (this.setCookie) {\n this.api.defaultHeaders = this.api.defaultHeaders || {};\n this.api.defaultHeaders[\"X-Use-Cookie\"] = remember ? \"1\" : \"session\";\n }\n }\n }]);\n\n return GoTrue;\n}();\n\nexports.default = GoTrue;\n\n\nif (typeof window !== \"undefined\") {\n window.GoTrue = GoTrue;\n}\n\n\n// WEBPACK FOOTER //\n// ../node_modules/gotrue-js/lib/index.js","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\n\nexports.getPagination = getPagination;\nfunction getPagination(response) {\n var links = response.headers.get(\"Link\");\n var pagination = {};\n //var link, url, rel, m, page;\n if (links == null) {\n return null;\n }\n links = links.split(\",\");\n var total = response.headers.get(\"X-Total-Count\");\n\n for (var i = 0, len = links.length; i < len; i++) {\n var link = links[i].replace(/(^\\s*|\\s*$)/, \"\");\n\n var _link$split = link.split(\";\"),\n _link$split2 = _slicedToArray(_link$split, 2),\n url = _link$split2[0],\n rel = _link$split2[1];\n\n var m = url.match(/page=(\\d+)/);\n var page = m && parseInt(m[1], 10);\n if (rel.match(/last/)) {\n pagination.last = page;\n } else if (rel.match(/next/)) {\n pagination.next = page;\n } else if (rel.match(/prev/)) {\n pagination.prev = page;\n } else if (rel.match(/first/)) {\n pagination.first = page;\n }\n }\n\n pagination.last = Math.max(pagination.last || 0, pagination.prev && pagination.prev + 1 || 0);\n pagination.current = pagination.next ? pagination.next - 1 : pagination.last || 1;\n pagination.total = total ? parseInt(total, 10) : null;\n\n return pagination;\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ../node_modules/micro-api-client/lib/pagination.js\n// module id = 15\n// module chunks = 0","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _microApiClient = require(\"micro-api-client\");\n\nvar _microApiClient2 = _interopRequireDefault(_microApiClient);\n\nvar _admin = require(\"./admin\");\n\nvar _admin2 = _interopRequireDefault(_admin);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar ExpiryMargin = 60 * 1000;\nvar storageKey = \"gotrue.user\";\nvar refreshPromises = {};\nvar currentUser = null;\nvar forbiddenUpdateAttributes = { api: 1, token: 1, audience: 1, url: 1 };\nvar forbiddenSaveAttributes = { api: 1 };\n\nvar User = function () {\n function User(api, tokenResponse, audience) {\n _classCallCheck(this, User);\n\n this.api = api;\n this.url = api.apiURL;\n this.audience = audience;\n this._processTokenResponse(tokenResponse);\n currentUser = this;\n }\n\n _createClass(User, [{\n key: \"update\",\n value: function update(attributes) {\n var _this = this;\n\n return this._request(\"/user\", {\n method: \"PUT\",\n body: JSON.stringify(attributes)\n }).then(function (response) {\n return _this._saveUserData(response)._refreshSavedSession();\n });\n }\n }, {\n key: \"jwt\",\n value: function jwt(forceRefresh) {\n var _tokenDetails = this.tokenDetails(),\n expires_at = _tokenDetails.expires_at,\n refresh_token = _tokenDetails.refresh_token,\n access_token = _tokenDetails.access_token;\n\n if (forceRefresh || expires_at - ExpiryMargin < Date.now()) {\n return this._refreshToken(refresh_token);\n }\n return Promise.resolve(access_token);\n }\n }, {\n key: \"logout\",\n value: function logout() {\n return this._request(\"/logout\", { method: \"POST\" }).then(this.clearSession.bind(this)).catch(this.clearSession.bind(this));\n }\n }, {\n key: \"_refreshToken\",\n value: function _refreshToken(refresh_token) {\n var _this2 = this;\n\n if (refreshPromises[refresh_token]) {\n return refreshPromises[refresh_token];\n }\n return refreshPromises[refresh_token] = this.api.request(\"/token\", {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/x-www-form-urlencoded\" },\n body: \"grant_type=refresh_token&refresh_token=\" + refresh_token\n }).then(function (response) {\n delete refreshPromises[refresh_token];\n _this2._processTokenResponse(response);\n _this2._refreshSavedSession();\n return _this2.token.access_token;\n }).catch(function (error) {\n delete refreshPromises[refresh_token];\n _this2.clearSession();\n return Promise.reject(error);\n });\n }\n }, {\n key: \"_request\",\n value: function _request(path) {\n var _this3 = this;\n\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n options.headers = options.headers || {};\n\n var aud = options.audience || this.audience;\n if (aud) {\n options.headers[\"X-JWT-AUD\"] = aud;\n }\n\n return this.jwt().then(function (token) {\n return _this3.api.request(path, _extends({\n headers: Object.assign(options.headers, {\n Authorization: \"Bearer \" + token\n })\n }, options)).catch(function (err) {\n if (err instanceof _microApiClient.JSONHTTPError && err.json) {\n if (err.json.msg) {\n err.message = err.json.msg;\n } else if (err.json.error) {\n err.message = err.json.error + \": \" + err.json.error_description;\n }\n }\n return Promise.reject(err);\n });\n });\n }\n }, {\n key: \"getUserData\",\n value: function getUserData() {\n return this._request(\"/user\").then(this._saveUserData.bind(this)).then(this._refreshSavedSession.bind(this));\n }\n }, {\n key: \"_saveUserData\",\n value: function _saveUserData(attributes, fromStorage) {\n for (var key in attributes) {\n if (key in User.prototype || key in forbiddenUpdateAttributes) {\n continue;\n }\n this[key] = attributes[key];\n }\n if (fromStorage) {\n this._fromStorage = true;\n }\n return this;\n }\n }, {\n key: \"_processTokenResponse\",\n value: function _processTokenResponse(tokenResponse) {\n this.token = tokenResponse;\n var claims = void 0;\n try {\n claims = JSON.parse(urlBase64Decode(tokenResponse.access_token.split(\".\")[1]));\n this.token.expires_at = claims.exp * 1000;\n } catch (e) {\n console.error(new Error(\"Gotrue-js: Failed to parse tokenResponse claims: \" + JSON.stringify(tokenResponse)));\n }\n }\n }, {\n key: \"_refreshSavedSession\",\n value: function _refreshSavedSession() {\n // only update saved session if we previously saved something\n if (localStorage.getItem(storageKey)) {\n this._saveSession();\n }\n return this;\n }\n }, {\n key: \"_saveSession\",\n value: function _saveSession() {\n localStorage.setItem(storageKey, JSON.stringify(this._details));\n return this;\n }\n }, {\n key: \"tokenDetails\",\n value: function tokenDetails() {\n return this.token;\n }\n }, {\n key: \"clearSession\",\n value: function clearSession() {\n User.removeSavedSession();\n this.token = null;\n currentUser = null;\n }\n }, {\n key: \"admin\",\n get: function get() {\n return new _admin2.default(this);\n }\n }, {\n key: \"_details\",\n get: function get() {\n var userCopy = {};\n for (var key in this) {\n if (key in User.prototype || key in forbiddenSaveAttributes) {\n continue;\n }\n userCopy[key] = this[key];\n }\n return userCopy;\n }\n }], [{\n key: \"removeSavedSession\",\n value: function removeSavedSession() {\n localStorage.removeItem(storageKey);\n }\n }, {\n key: \"recoverSession\",\n value: function recoverSession(apiInstance) {\n if (currentUser) {\n return currentUser;\n }\n\n var json = localStorage.getItem(storageKey);\n if (json) {\n try {\n var data = JSON.parse(json);\n var url = data.url,\n token = data.token,\n audience = data.audience;\n\n if (!url || !token) {\n return null;\n }\n\n var api = apiInstance || new _microApiClient2.default(url, {});\n return new User(api, token, audience)._saveUserData(data, true);\n } catch (ex) {\n console.error(new Error(\"Gotrue-js: Error recovering session: \" + ex));\n return null;\n }\n }\n\n return null;\n }\n }]);\n\n return User;\n}();\n\nexports.default = User;\n\n\nfunction urlBase64Decode(str) {\n // From https://jwt.io/js/jwt.js\n var output = str.replace(/-/g, '+').replace(/_/g, '/');\n switch (output.length % 4) {\n case 0:\n break;\n case 2:\n output += '==';\n break;\n case 3:\n output += '=';\n break;\n default:\n throw 'Illegal base64url string!';\n }\n var result = window.atob(output); //polifyll https://github.com/davidchambers/Base64.js\n try {\n return decodeURIComponent(escape(result));\n } catch (err) {\n return result;\n }\n}\n\n\n// WEBPACK FOOTER //\n// ../node_modules/gotrue-js/lib/user.js","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar Admin = function () {\n function Admin(user) {\n _classCallCheck(this, Admin);\n\n this.user = user;\n }\n\n // Return a list of all users in an audience\n\n\n _createClass(Admin, [{\n key: \"listUsers\",\n value: function listUsers(aud) {\n return this.user._request(\"/admin/users\", {\n method: \"GET\",\n audience: aud\n });\n }\n }, {\n key: \"getUser\",\n value: function getUser(user) {\n return this.user._request(\"/admin/users/\" + user.id);\n }\n }, {\n key: \"updateUser\",\n value: function updateUser(user) {\n var attributes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n return this.user._request(\"/admin/users/\" + user.id, {\n method: \"PUT\",\n body: JSON.stringify(attributes)\n });\n }\n }, {\n key: \"createUser\",\n value: function createUser(email, password) {\n var attributes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n attributes.email = email;\n attributes.password = password;\n return this.user._request(\"/admin/users\", {\n method: \"POST\",\n body: JSON.stringify(attributes)\n });\n }\n }, {\n key: \"deleteUser\",\n value: function deleteUser(user) {\n return this.user._request(\"/admin/users/\" + user.id, {\n method: \"DELETE\"\n });\n }\n }]);\n\n return Admin;\n}();\n\nexports.default = Admin;\n\n\n// WEBPACK FOOTER //\n// ../node_modules/gotrue-js/lib/admin.js","import { h, Component } from \"preact\";\nimport { connect } from \"mobx-preact\";\nimport Modal from \"./modal\";\nimport SiteURLForm from \"./forms/siteurl\";\nimport LogoutForm from \"./forms/logout\";\nimport UserForm from \"./forms/user\";\nimport Providers from \"./forms/providers\";\nimport Message from \"./forms/message\";\n\nconst pagesWithHeader = { login: true, signup: true };\nconst pages = {\n login: {\n login: true,\n button: \"Log in\",\n button_saving: \"Logging in\",\n email: true,\n password: true,\n link: \"amnesia\",\n link_text: \"Forgot password?\",\n providers: true\n },\n signup: {\n signup: true,\n button: \"Sign up\",\n button_saving: \"Signing Up\",\n name: true,\n email: true,\n password: true,\n providers: true\n },\n amnesia: {\n title: \"Recover password\",\n button: \"Send recovery email\",\n button_saving: \"Sending recovery email\",\n email: true,\n link: \"login\",\n link_text: \"Never mind\"\n },\n recovery: {\n title: \"Recover password\",\n button: \"Update password\",\n button_saving: \"Updating password\",\n password: true,\n link: \"login\",\n link_text: \"Never mind\"\n },\n invite: {\n title: \"Complete your signup\",\n button: \"Sign up\",\n button_saving: \"Signing Up\",\n password: true,\n providers: true\n },\n user: {\n title: \"Logged in\"\n }\n};\n\n@connect([\"store\"])\nclass App extends Component {\n handleClose = () => this.props.store.closeModal();\n handlePage = page => this.props.store.openModal(page);\n handleLogout = () => this.props.store.logout();\n handleSiteURL = url => this.props.store.setSiteURL(url);\n clearSiteURL = url => this.props.store.clearSiteURL();\n handleExternalLogin = provider => this.props.store.externalLogin(provider);\n handleUser = ({ name, email, password }) => {\n const { store } = this.props;\n\n switch (store.modal.page) {\n case \"login\":\n store.login(email, password);\n break;\n case \"signup\":\n store.signup(name, email, password);\n break;\n case \"amnesia\":\n store.requestPasswordRecovery(email);\n break;\n case \"invite\":\n store.acceptInvite(password);\n break;\n case \"recovery\":\n store.updatePassword(password);\n break;\n }\n };\n\n renderBody() {\n const { store } = this.props;\n const page = pages[store.modal.page] || {};\n const pageLinkHandler = () => this.handlePage(page.link);\n\n if (store.isLocal && store.siteURL === null) {\n return (\n \n );\n }\n if (!store.settings) {\n return;\n }\n if (store.user) {\n return (\n \n );\n }\n if (store.modal.page === \"signup\" && store.settings.disable_signup) {\n return ;\n }\n\n return (\n
\n \n {!store.user && page.link && store.gotrue && (\n \n {page.link_text}\n \n )}\n {store.isLocal ? (\n \n ) : (\n
\n )}\n
\n );\n }\n\n renderProviders() {\n const { store } = this.props;\n\n if (!(store.gotrue && store.settings)) {\n return null;\n }\n if (store.modal.page === \"signup\" && store.settings.disable_signup) {\n return null;\n }\n const page = pages[store.modal.page] || {};\n\n if (!page.providers) {\n return null;\n }\n\n const providers = [\n \"Google\",\n \"GitHub\",\n \"GitLab\",\n \"BitBucket\",\n \"SAML\"\n ].filter(p => store.settings.external[p.toLowerCase()]);\n\n return providers.length ? (\n \n ) : null;\n }\n\n render() {\n const { store } = this.props;\n const showHeader = pagesWithHeader[store.modal.page];\n const showSignup = store.settings && !store.settings.disable_signup;\n const page = pages[store.modal.page] || {};\n\n return (\n
\n \n {this.renderBody()}\n {this.renderProviders()}\n \n
\n );\n }\n}\n\nexport default App;\n\n\n\n// WEBPACK FOOTER //\n// ./components/app.js","import { h, Component } from \"preact\";\n\nfunction formatError(error) {\n return (\n (error.json && error.json.error_description) ||\n error.message ||\n error.toString()\n );\n}\n\nexport default class Modal extends Component {\n handleClose = e => {\n e.preventDefault();\n this.props.onClose();\n };\n\n blockEvent = e => {\n e.stopPropagation();\n };\n\n linkHandler = page => e => {\n e.preventDefault();\n this.props.onPage(page);\n };\n\n render() {\n const {\n page,\n error,\n loading,\n showHeader,\n showSignup,\n devSettings,\n isOpen,\n children,\n logo\n } = this.props;\n const hidden = loading || !isOpen;\n return (\n \n \n
\n \n {showHeader && (\n
\n {showSignup && (\n \n Sign up\n \n )}\n {!devSettings && (\n \n Log in\n \n )}\n
\n )}\n {page.title && (\n
\n \n
\n )}\n {devSettings && (\n
\n \n
\n )}\n {error && (\n
\n {formatError(error)}\n
\n )}\n {children}\n
\n
\n {logo && (\n \n \n Coded by Netlify\n \n )}\n
\n );\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/modal/index.js","import { h, Component } from \"preact\";\n\nexport default class SiteURLForm extends Component {\n constructor(props) {\n super(props);\n this.state = { url: \"\", development: props.devMode || false };\n }\n\n handleInput = e => {\n this.setState({ [e.target.name]: e.target.value });\n };\n\n addSiteURL = e => {\n e.preventDefault();\n this.props.onSiteURL(this.state.url);\n };\n\n clearSiteURL = e => {\n e.preventDefault;\n this.props.onSiteURL();\n };\n\n render() {\n const { url, development } = this.state;\n\n return (\n
\n {development ? (\n
\n

Development Settings

\n this.clearSiteURL(e)}\n className=\"btnLink forgotPasswordLink\"\n >\n Clear localhost URL\n \n
\n ) : (\n
\n
\n {\n \"Looks like you're running a local server. Please let us know the URL of your Netlify site.\"\n }\n
\n
\n
\n );\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/forms/siteurl.js","import { h, Component } from \"preact\";\nimport Button from \"./button\";\n\nexport default class LogoutForm extends Component {\n handleLogout = e => {\n e.preventDefault();\n this.props.onLogout();\n };\n render() {\n const { user, saving } = this.props;\n\n return (\n \n

\n Logged in as
\n \n {user.user_metadata.full_name ||\n user.user_metadata.name ||\n user.email}\n \n

\n \n );\n }\n}\n\nexport default class Providers extends Component {\n getLabel(p) {\n const pId = p.toLowerCase();\n if (pId in this.props.labels) {\n return this.props.labels[pId];\n }\n return p;\n }\n\n render() {\n const { providers, onLogin } = this.props;\n\n return (\n
\n
\n {providers.map(p => (\n \n ))}\n
\n );\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/forms/providers.js","import { observable, action } from \"mobx\";\n\nconst store = observable({\n user: null,\n recovered_user: null,\n message: null,\n settings: null,\n gotrue: null,\n error: null,\n siteURL: null,\n remember: true,\n saving: false,\n invite_token: null,\n email_change_token: null,\n namePlaceholder: null,\n modal: {\n page: \"login\",\n isOpen: false,\n logo: true\n }\n});\n\nstore.setNamePlaceholder = action(function setNamePlaceholder(namePlaceholder) {\n store.namePlaceholder = namePlaceholder;\n});\n\nstore.startAction = action(function startAction() {\n store.saving = true;\n store.error = null;\n store.message = null;\n});\n\nstore.setError = action(function setError(err) {\n store.saving = false;\n store.error = err;\n});\n\nstore.init = action(function init(gotrue, reloadSettings) {\n if (gotrue) {\n store.gotrue = gotrue;\n store.user = gotrue.currentUser();\n if (store.user) {\n store.modal.page = \"user\";\n }\n }\n if (reloadSettings) {\n store.loadSettings();\n }\n});\n\nstore.loadSettings = action(function loadSettings() {\n if (store.settings) {\n return;\n }\n if (!store.gotrue) {\n return;\n }\n\n store.gotrue\n .settings()\n .then(action(settings => (store.settings = settings)))\n .catch(\n action(err => {\n store.error = new Error(\n `Failed to load settings from ${store.gotrue.api.apiURL}`\n );\n })\n );\n});\n\nstore.setIsLocal = action(function setIsLocal(isLocal) {\n store.isLocal = isLocal;\n});\n\nstore.setSiteURL = action(function setSiteURL(url) {\n store.siteURL = url;\n});\n\nstore.clearSiteURL = action(function clearSiteURL() {\n store.gotrue = null;\n store.siteURL = null;\n store.settings = null;\n});\n\nstore.login = action(function login(email, password) {\n store.startAction();\n return store.gotrue\n .login(email, password, store.remember)\n .then(\n action(user => {\n store.user = user;\n store.modal.page = \"user\";\n store.invite_token = null;\n if (store.email_change_token) {\n store.doEmailChange();\n }\n store.saving = false;\n })\n )\n .catch(store.setError);\n});\n\nstore.externalLogin = action(function externalLogin(provider) {\n // store.startAction();\n store.error = null;\n store.message = null;\n const url = store.invite_token\n ? store.gotrue.acceptInviteExternalUrl(provider, store.invite_token)\n : store.gotrue.loginExternalUrl(provider);\n window.location.href = url;\n});\n\nstore.completeExternalLogin = action(function completeExternalLogin(params) {\n store.startAction();\n store.gotrue\n .createUser(params, store.remember)\n .then(user => {\n store.user = user;\n store.modal.page = \"user\";\n store.saving = false;\n })\n .catch(store.setError);\n});\n\nstore.signup = action(function signup(name, email, password) {\n store.startAction();\n return store.gotrue\n .signup(email, password, { full_name: name })\n .then(\n action(() => {\n if (store.settings.autoconfirm) {\n store.login(email, password, store.remember);\n } else {\n store.message = \"confirm\";\n }\n store.saving = false;\n })\n )\n .catch(store.setError);\n});\n\nstore.logout = action(function logout() {\n if (store.user) {\n store.startAction();\n return store.user\n .logout()\n .then(\n action(() => {\n store.user = null;\n store.modal.page = \"login\";\n store.saving = false;\n })\n )\n .catch(store.setError);\n } else {\n store.modal.page = \"login\";\n store.saving = false;\n }\n});\n\nstore.updatePassword = action(function updatePassword(password) {\n store.startAction();\n const user = store.recovered_user || store.user;\n user\n .update({ password })\n .then(user => {\n store.user = user;\n store.recovered_user = null;\n store.modal.page = \"user\";\n store.saving = false;\n })\n .catch(store.setError);\n});\n\nstore.acceptInvite = action(function acceptInvite(password) {\n store.startAction();\n store.gotrue\n .acceptInvite(store.invite_token, password, store.remember)\n .then(user => {\n store.saving = false;\n store.invite_token = null;\n store.user = user;\n store.modal.page = \"user\";\n })\n .catch(store.setError);\n});\n\nstore.doEmailChange = action(function doEmailChange() {\n store.startAction();\n return store.user\n .update({ email_change_token: store.email_change_token })\n .then(\n action(user => {\n store.user = user;\n store.email_change_token = null;\n store.message = \"email_changed\";\n store.saving = false;\n })\n )\n .catch(store.setError);\n});\n\nstore.verifyToken = action(function verifyToken(type, token) {\n const gotrue = store.gotrue;\n store.modal.isOpen = true;\n\n switch (type) {\n case \"confirmation\":\n store.startAction();\n store.modal.page = \"signup\";\n gotrue\n .confirm(token, store.remember)\n .then(\n action(user => {\n store.user = user;\n store.saving = false;\n })\n )\n .catch(\n action(err => {\n console.error(err);\n store.message = \"verfication_error\";\n store.modal.page = \"signup\";\n store.saving = false;\n })\n );\n break;\n case \"email_change\":\n store.email_change_token = token;\n store.modal.page = \"message\";\n if (store.user) {\n store.doEmailChange();\n } else {\n store.modal.page = \"login\";\n }\n break;\n case \"invite\":\n store.modal.page = type;\n store.invite_token = token;\n break;\n case \"recovery\":\n store.startAction();\n store.modal.page = type;\n store.gotrue\n .recover(token, store.remember)\n .then(user => {\n store.saving = false;\n store.recovered_user = user;\n })\n .catch(err => {\n store.saving = false;\n store.error = err;\n store.modal.page = \"login\";\n });\n break;\n default:\n store.error = \"Unkown token type\";\n }\n});\n\nstore.requestPasswordRecovery = action(function requestPasswordRecovery(email) {\n store.startAction();\n store.gotrue\n .requestPasswordRecovery(email)\n .then(\n action(() => {\n store.message = \"password_mail\";\n store.saving = false;\n })\n )\n .catch(store.setError);\n});\n\nstore.openModal = action(function open(page) {\n store.modal.page = page;\n store.modal.isOpen = true;\n});\n\nstore.closeModal = action(function close() {\n store.modal.isOpen = false;\n store.error = null;\n store.message = null;\n store.saving = false;\n});\n\nexport default store;\n\n\n\n// WEBPACK FOOTER //\n// ./state/store.js","import { h, Component } from \"preact\";\nimport { connect } from \"mobx-preact\";\n\n@connect([\"store\"])\nclass Controls extends Component {\n handleSignup = e => {\n e.preventDefault();\n this.props.store.openModal(\"signup\");\n };\n\n handleLogin = e => {\n e.preventDefault();\n this.props.store.openModal(\"login\");\n };\n\n handleLogout = e => {\n e.preventDefault();\n this.props.store.openModal(\"user\");\n };\n\n handleButton = e => {\n e.preventDefault();\n this.props.store.openModal(this.props.store.user ? \"user\" : \"login\");\n };\n\n render() {\n const { user } = this.props.store;\n\n if (this.props.mode === \"button\") {\n return (\n \n {this.props.text || (user ? \"Log out\" : \"Log in\")}\n \n );\n }\n\n if (user) {\n return (\n
    \n
  • \n Logged in as{\" \"}\n \n {user.user_metadata.name || user.email}\n \n
  • \n
  • \n \n Log out\n \n
  • \n
\n );\n }\n\n return (\n
    \n
  • \n \n Sign up\n \n
  • \n
  • \n \n Log in\n \n
  • \n
\n );\n }\n}\n\nexport default Controls;\n\n\n\n// WEBPACK FOOTER //\n// ./components/controls.js","exports = module.exports = require(\"../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"::-webkit-input-placeholder {\\n /* Chrome/Opera/Safari */\\n color: #a3a9ac;\\n font-weight: 500;\\n}\\n\\n::-moz-placeholder {\\n /* Firefox 19+ */\\n color: #a3a9ac;\\n font-weight: 500;\\n}\\n\\n:-ms-input-placeholder {\\n /* IE 10+ */\\n color: #a3a9ac;\\n font-weight: 500;\\n}\\n\\n:-moz-placeholder {\\n /* Firefox 18- */\\n color: #a3a9ac;\\n font-weight: 500;\\n}\\n\\n.modalContainer {\\n position: absolute;\\n top: 0;\\n left: 0;\\n width: 100%;\\n min-height: 100%;\\n overflow-x: hidden;\\n overflow-y: auto;\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n font-family: -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, Helvetica,\\n Arial, sans-serif, \\\"Apple Color Emoji\\\", \\\"Segoe UI Emoji\\\", \\\"Segoe UI Symbol\\\";\\n font-size: 14px;\\n line-height: 1.5;\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-orient: vertical;\\n -webkit-box-direction: normal;\\n -ms-flex-direction: column;\\n flex-direction: column;\\n -webkit-box-align: center;\\n -ms-flex-align: center;\\n align-items: center;\\n z-index: 99999;\\n}\\n\\n.modalContainer::before {\\n content: \\\"\\\";\\n display: block;\\n position: fixed;\\n top: 0;\\n bottom: 0;\\n left: 0;\\n right: 0;\\n background-color: #fff;\\n z-index: -1;\\n}\\n\\n.modalDialog {\\n -webkit-box-flex: 1;\\n -ms-flex-positive: 1;\\n flex-grow: 1;\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-orient: vertical;\\n -webkit-box-direction: normal;\\n -ms-flex-direction: column;\\n flex-direction: column;\\n width: 100%;\\n}\\n\\n.modalContent {\\n position: relative;\\n padding: 32px;\\n opacity: 0;\\n -webkit-transform: translateY(10px) scale(1);\\n transform: translateY(10px) scale(1);\\n background: #fff;\\n}\\n\\n[aria-hidden=\\\"false\\\"] .modalContent {\\n -webkit-animation: bouncyEntrance 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);\\n animation: bouncyEntrance 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);\\n -webkit-animation-fill-mode: forwards;\\n animation-fill-mode: forwards;\\n }\\n\\n@-webkit-keyframes bouncyEntrance {\\n 0% {\\n opacity: 0;\\n -webkit-transform: translateY(10px) scale(0.9);\\n transform: translateY(10px) scale(0.9);\\n }\\n\\n 100% {\\n opacity: 1;\\n -webkit-transform: translateY(0) scale(1);\\n transform: translateY(0) scale(1);\\n }\\n}\\n\\n@keyframes bouncyEntrance {\\n 0% {\\n opacity: 0;\\n -webkit-transform: translateY(10px) scale(0.9);\\n transform: translateY(10px) scale(0.9);\\n }\\n\\n 100% {\\n opacity: 1;\\n -webkit-transform: translateY(0) scale(1);\\n transform: translateY(0) scale(1);\\n }\\n}\\n\\n@media (min-width: 480px) {\\n .modalContainer::before {\\n background-color: rgb(14, 30, 37);\\n -webkit-animation: fadeIn 0.1s ease-in;\\n animation: fadeIn 0.1s ease-in;\\n -webkit-animation-fill-mode: forwards;\\n animation-fill-mode: forwards;\\n }\\n\\n .modalDialog {\\n max-width: 364px;\\n -webkit-box-pack: center;\\n -ms-flex-pack: center;\\n justify-content: center;\\n }\\n\\n .modalContent {\\n background: #fff;\\n -webkit-box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .07),\\n 0 12px 32px 0 rgba(14, 30, 37, .1);\\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .07),\\n 0 12px 32px 0 rgba(14, 30, 37, .1);\\n border-radius: 8px;\\n margin-top: 32px;\\n }\\n}\\n\\n@-webkit-keyframes fadeIn {\\n 0% {\\n opacity: 0;\\n }\\n\\n 100% {\\n opacity: 0.67;\\n }\\n}\\n\\n@keyframes fadeIn {\\n 0% {\\n opacity: 0;\\n }\\n\\n 100% {\\n opacity: 0.67;\\n }\\n}\\n\\n.flashMessage {\\n text-align: center;\\n color: rgb(14, 30, 37);\\n font-weight: 500;\\n font-size: 14px;\\n background-color: #f2f3f3;\\n padding: 6px;\\n border-radius: 4px;\\n opacity: 0.7;\\n -webkit-transition: opacity 0.2s linear;\\n transition: opacity 0.2s linear;\\n}\\n\\n.flashMessage:hover,\\n.flashMessage:focus {\\n opacity: 1;\\n}\\n\\n.error {\\n color: #fa3946;\\n background-color: #fceef0;\\n opacity: 1;\\n}\\n\\n.error span::before {\\n content: \\\"\\\";\\n display: inline-block;\\n position: relative;\\n top: 3px;\\n margin-right: 4px;\\n width: 16px;\\n height: 16px;\\n background: no-repeat center center;\\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8cGF0aCBmaWxsPSIjRkEzOTQ2IiBkPSJNOCwxLjMzMzMzMzMzIEMxMS42NzYsMS4zMzMzMzMzMyAxNC42NjY2NjY3LDQuMzI0IDE0LjY2NjY2NjcsOCBDMTQuNjY2NjY2NywxMS42NzYgMTEuNjc2LDE0LjY2NjY2NjcgOCwxNC42NjY2NjY3IEM0LjMyNCwxNC42NjY2NjY3IDEuMzMzMzMzMzMsMTEuNjc2IDEuMzMzMzMzMzMsOCBDMS4zMzMzMzMzMyw0LjMyNCA0LjMyNCwxLjMzMzMzMzMzIDgsMS4zMzMzMzMzMyBaIE04LDAgQzMuNTgyLDAgMCwzLjU4MiAwLDggQzAsMTIuNDE4IDMuNTgyLDE2IDgsMTYgQzEyLjQxOCwxNiAxNiwxMi40MTggMTYsOCBDMTYsMy41ODIgMTIuNDE4LDAgOCwwIFogTTcuMTI2NjY2NjcsNS4wMTczMzMzMyBDNy4wNjA2NjY2Nyw0LjQ3OTMzMzMzIDcuNDc4NjY2NjcsNCA4LjAyNTMzMzMzLDQgQzguNTM5MzMzMzMsNCA4Ljk0MzMzMzMzLDQuNDUwNjY2NjcgOC44Nzg2NjY2Nyw0Ljk2NzMzMzMzIEw4LjM3NCw5LjAwMjY2NjY3IEM4LjM1MDY2NjY3LDkuMTkxMzMzMzMgOC4xOSw5LjMzMzMzMzMzIDgsOS4zMzMzMzMzMyBDNy44MSw5LjMzMzMzMzMzIDcuNjQ5MzMzMzMsOS4xOTEzMzMzMyA3LjYyNTMzMzMzLDkuMDAyNjY2NjcgTDcuMTI2NjY2NjcsNS4wMTczMzMzMyBMNy4xMjY2NjY2Nyw1LjAxNzMzMzMzIFogTTgsMTIuMTY2NjY2NyBDNy41NCwxMi4xNjY2NjY3IDcuMTY2NjY2NjcsMTEuNzkzMzMzMyA3LjE2NjY2NjY3LDExLjMzMzMzMzMgQzcuMTY2NjY2NjcsMTAuODczMzMzMyA3LjU0LDEwLjUgOCwxMC41IEM4LjQ2LDEwLjUgOC44MzMzMzMzMywxMC44NzMzMzMzIDguODMzMzMzMzMsMTEuMzMzMzMzMyBDOC44MzMzMzMzMywxMS43OTMzMzMzIDguNDYsMTIuMTY2NjY2NyA4LDEyLjE2NjY2NjcgWiIvPgo8L3N2Zz4K);\\n}\\n\\n.success {\\n}\\n\\n.disabled {\\n opacity: 0.38;\\n pointer-events: none;\\n}\\n\\n.infoText {\\n text-align: center;\\n margin: 32px 0;\\n}\\n\\n.infoTextEmail {\\n font-size: 16px;\\n font-weight: 500;\\n}\\n\\n.saving {\\n background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABQCAMAAACeYYN3AAAAxlBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////DTx3aAAAAQnRSTlMAAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2Nzg5Ojs8PT4/QEGgjKRfAAACk0lEQVR4AYXQDXP5WhAG8CUhiSQqSv4RRRMVL1Fa1VZf3PL9v9Tde9wc9M8+P8/M7s6czJiHgNIvVCJO6YiAMlAiWckASiQrm4bJMZTDrmbBIEC9qpgVjp6n4B+oyEwCzKrMQBVaQIlkpmXZln1dhQB+49gOh5dLexlV6MhsAqyazEQVugCqsOK5nsQmwPWZ53ucvyczSGb4l9T9OsdnLgFOXVZFFd4AqEKrIasR4AdBI2hw1GR6VzMwSWY2A60ZNDl6KnUC3KbMRhXeAqhCpyXzCAjarNVucdqXVEhWaRfCdsj5vQcE1EOZQ7Jy+EcUlklWi2Q3BLQ6nagTcTra2Y0qrHZirRN3OOezTUAjvq4bd7suqpDfSGJUoXcnCwiIerIqqlC96vf6HD1ZsUcE3PYH/QGnrx3uYnqoQn4l6aMK/XtZi4BuIrNIZqVJkiapkhx37Y6AcDgcpsNU44Nz3OuoQn4jSVGFNw+ykID+SGaTzM5G2YiTFVM73AMConE2zjhj7XAXs4EqHE/4d12GKgwmsoiAZCpzSObMptPZdHZVSkCc5/ksnym8cPRUmiQzpvNcmedzTl4o7qlBsuZc1iVg9ChDFdYWshEBveV/FssFZ/l7Z7eowsfl0/JJ4UXj43A/ogpbT7IeAZNnWQ1VuJJNCBi8HKxeVhw9tRaq8JkfrV/WHDULxb1CFbbX7HX9yllfck9A/ipzSea+yeYEJO+yEFX4tim8b94VXjj/zzdU4Z/NmY/NB+fkTglYfMg8knmfsiUBD1+yCFX4+X309f3FOds/UYVR8fH2e6vwovExIuB5K/NJ5v8jWxGQ/chiVOF2d+pn98M5zt3WJFm83+/2O4UXjprabkzAWn+o56k9qvBfX4hMaM+SxOMAAAAASUVORK5CYII=);\\n background-repeat: repeat-x;\\n background-size: contain;\\n background-origin: border-box;\\n background-position: 0% 0%;\\n -webkit-animation: loading 20s linear infinite;\\n animation: loading 20s linear infinite;\\n pointer-events: none;\\n}\\n\\n.saving::after {\\n content: \\\"\\\\2026\\\";\\n}\\n\\n@-webkit-keyframes loading {\\n 0% {\\n background-position: 0% 0%;\\n }\\n\\n 100% {\\n background-position: 700% 0%;\\n }\\n}\\n\\n@keyframes loading {\\n 0% {\\n background-position: 0% 0%;\\n }\\n\\n 100% {\\n background-position: 700% 0%;\\n }\\n}\\n\\n.btn {\\n display: block;\\n position: relative;\\n width: 100%;\\n height: auto;\\n margin: 14px 0 0;\\n padding: 6px;\\n outline: 0;\\n cursor: pointer;\\n border: 2px solid rgb(14, 30, 37);\\n border-radius: 4px;\\n background-color: #2d3b41;\\n color: #fff;\\n -webkit-transition: background-color 0.2s ease;\\n transition: background-color 0.2s ease;\\n font-family: -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, Helvetica,\\n Arial, sans-serif, \\\"Apple Color Emoji\\\", \\\"Segoe UI Emoji\\\", \\\"Segoe UI Symbol\\\";\\n font-size: 14px;\\n font-weight: 500;\\n line-height: 24px;\\n text-align: center;\\n text-decoration: none;\\n white-space: nowrap;\\n}\\n\\n.btn:hover,\\n.btn:focus {\\n background-color: rgb(14, 30, 37);\\n text-decoration: none;\\n}\\n\\n.btnClose {\\n position: absolute;\\n top: 0;\\n right: 0;\\n margin: 0;\\n padding: 0;\\n border: 0;\\n width: 24px;\\n height: 24px;\\n border-radius: 50%;\\n margin: 6px;\\n background: #fff;\\n color: #a3a9ac;\\n}\\n\\n.btnClose::before {\\n content: \\\"\\\\D7\\\";\\n font-size: 25px;\\n line-height: 9px;\\n}\\n\\n.btnClose:hover,\\n.btnClose:focus {\\n background: #e9ebeb;\\n color: rgb(14, 30, 37);\\n}\\n\\n.header {\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n margin-top: -8px;\\n margin-bottom: 32px;\\n}\\n\\n.btnHeader {\\n font-size: 16px;\\n line-height: 24px;\\n background: #fff;\\n color: #a3a9ac;\\n border: 0;\\n border-bottom: 2px solid #e9ebeb;\\n border-radius: 4px 4px 0 0;\\n margin: 0;\\n}\\n\\n.btnHeader:focus,\\n.btnHeader.active {\\n background: #fff;\\n color: rgb(14, 30, 37);\\n border-color: rgb(14, 30, 37);\\n font-weight: 700;\\n}\\n\\n.btnHeader:not(:only-child):hover {\\n background-color: #e9ebeb;\\n color: rgb(14, 30, 37);\\n}\\n\\n.btnHeader:only-child {\\n cursor: auto;\\n}\\n\\n.btnLink {\\n display: block;\\n position: relative;\\n width: auto;\\n height: auto;\\n margin: 14px auto 0;\\n padding: 6px;\\n padding-bottom: 0;\\n outline: 0;\\n cursor: pointer;\\n color: rgb(14, 30, 37);\\n border: none;\\n border-bottom: 2px solid #e9ebeb;\\n border-radius: 0;\\n background-color: inherit;\\n -webkit-transition: border-color 0.2s ease;\\n transition: border-color 0.2s ease;\\n font-family: -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, Helvetica,\\n Arial, sans-serif, \\\"Apple Color Emoji\\\", \\\"Segoe UI Emoji\\\", \\\"Segoe UI Symbol\\\";\\n font-size: 14px;\\n font-weight: 500;\\n line-height: 24px;\\n text-align: center;\\n white-space: nowrap;\\n}\\n\\n.btnLink:hover,\\n.btnLink:focus {\\n background-color: inherit;\\n border-color: #a3a9ac;\\n}\\n\\n.form {\\n}\\n\\n.formGroup {\\n position: relative;\\n margin-top: 14px;\\n}\\n\\n.formControl {\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n display: block;\\n width: 100%;\\n height: 40px;\\n margin: 0;\\n padding: 6px 12px 6px 34px;\\n border: 2px solid #e9ebeb;\\n border-radius: 4px;\\n background: #fff;\\n color: rgb(14, 30, 37);\\n -webkit-box-shadow: none;\\n box-shadow: none;\\n font-size: 14px;\\n font-weight: 500;\\n line-height: 24px;\\n -webkit-transition: -webkit-box-shadow ease-in-out 0.15s;\\n transition: -webkit-box-shadow ease-in-out 0.15s;\\n transition: box-shadow ease-in-out 0.15s;\\n transition: box-shadow ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;\\n -webkit-appearance: none;\\n -moz-appearance: none;\\n}\\n\\n.inputFieldIcon {\\n position: absolute;\\n top: 12px;\\n left: 12px;\\n display: inline-block;\\n width: 16px;\\n height: 16px;\\n background-repeat: no-repeat;\\n background-position: center;\\n pointer-events: none;\\n}\\n\\n.inputFieldName {\\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDE0IDE0Ij4gIDxwYXRoIGZpbGw9IiNBM0E5QUMiIGZpbGwtcnVsZT0iZXZlbm9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WiBNNCw1IEM0LDIuNzkwODYxIDUuNzkwODYxLDEgOCwxIEMxMC4yMDkxMzksMSAxMiwyLjc5MDg2MSAxMiw1IEw0LDUgWiBNNCwxMSBMMTIsMTEgQzEyLDEzLjIwOTEzOSAxMC4yMDkxMzksMTUgOCwxNSBDNS43OTA4NjEsMTUgNCwxMy4yMDkxMzkgNCwxMSBaIE0xMCwxMSBMNiwxMSBDNiwxMi4xMDQ1Njk1IDYuODk1NDMwNSwxMyA4LDEzIEM5LjEwNDU2OTUsMTMgMTAsMTIuMTA0NTY5NSAxMCwxMSBaIE04LDExIEM3LjQ0NzcxNTI1LDExIDcsMTAuNTUyMjg0NyA3LDEwIEw3LDYgQzcsNS40NDc3MTUyNSA3LjQ0NzcxNTI1LDUgOCw1IEM4LjU1MjI4NDc1LDUgOSw1LjQ0NzcxNTI1IDksNiBMOSwxMCBDOSwxMC41NTIyODQ3IDguNTUyMjg0NzUsMTEgOCwxMSBaIiB0cmFuc2Zvcm09InJvdGF0ZSg0NSA4LjcwNyA2LjI5MykiLz48L3N2Zz4=);\\n}\\n\\n.formLabel {\\n}\\n\\n.hr {\\n border: 0;\\n border-top: 2px solid #e9ebeb;\\n margin: 32px 0 -1px;\\n text-align: center;\\n overflow: visible;\\n}\\n\\n.hr::before {\\n content: \\\"or\\\";\\n position: relative;\\n display: inline-block;\\n font-size: 12px;\\n font-weight: 800;\\n line-height: 1;\\n text-transform: uppercase;\\n background-color: #fff;\\n color: rgb(14, 30, 37);\\n padding: 4px;\\n top: -11px;\\n}\\n\\n.btnProvider {\\n padding-left: 40px;\\n padding-right: 40px;\\n}\\n\\n.btnProvider::before {\\n content: \\\"\\\";\\n position: absolute;\\n display: inline-block;\\n vertical-align: middle;\\n width: 32px;\\n height: 40px;\\n background-repeat: no-repeat;\\n background-position: left center;\\n top: -2px;\\n left: 14px;\\n}\\n\\n.providerGoogle {\\n background-color: #4285f4;\\n border-color: #366dc7;\\n}\\n\\n.providerGoogle:hover,\\n.providerGoogle:focus {\\n background-color: #366dc7;\\n}\\n\\n.providerGitHub {\\n background-color: #333;\\n border-color: #000;\\n}\\n\\n.providerGitHub:hover,\\n.providerGitHub:focus {\\n background-color: #000;\\n}\\n\\n.providerGitLab {\\n background-color: #e24329;\\n border-color: #b03320;\\n}\\n\\n.providerGitLab:hover,\\n.providerGitLab:focus {\\n background-color: #b03320;\\n}\\n\\n.providerBitbucket {\\n background-color: #205081;\\n border-color: #14314f;\\n}\\n\\n.providerBitbucket:hover,\\n.providerBitbucket:focus {\\n background-color: #14314f;\\n}\\n\\n.providerGoogle:before {\\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDEzIDEyIj4gIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEuNDg4IC0yKSI+ICAgIDxyZWN0IHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIvPiAgICA8cGF0aCBmaWxsPSIjRkZGRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iIGQ9Ik0wLjY1MjczNDM3NSwzLjI5NTI4MjQ0IEMwLjIzNzk4NDM3NSw0LjEwNTgzMjA2IDIuODQyMTcwOTRlLTE0LDUuMDE2MDQ1OCAyLjg0MjE3MDk0ZS0xNCw1Ljk3OTM4OTMxIEMyLjg0MjE3MDk0ZS0xNCw2Ljk0MjczMjgyIDAuMjM3OTg0Mzc1LDcuODUyOTAwNzYgMC42NTI3MzQzNzUsOC42NjM0NTAzOCBDMS42NTkwNDY4NywxMC42MTY3MDIzIDMuNzI2MDkzNzUsMTEuOTU4Nzc4NiA2LjExOTUzMTI1LDExLjk1ODc3ODYgQzcuNzcxNzgxMjUsMTEuOTU4Nzc4NiA5LjE1ODg1OTM3LDExLjQyNzI1MTkgMTAuMTcyMDE1Niw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IDIuMjUxNjc2MTYsMTQuMTU1NzA3OSBDMi40NTc1NDAwOSwxNS4xNzY1NTI1IDQuNTE2MTc2MzIsMTUuOTkzMjI4IDYuOTg2NTM5ODIsMTUuOTkzMjI4IEw2Ljk4NjUzOTgyLDE1Ljk5MzIyOCBDOS40NTY5MDMzMSwxNS45OTMyMjggMTEuNTE1NTM5NSwxNS4xNzY1NTI1IDExLjcyMTQwMzUsMTQuMTU1NzA3OSBDMTEuNzIxNDAzNSwxNC4wMTk1OTU2IDExLjkyNzI2NjcsMTIuOTk4NzUxNiAxMi4yMDE3NTE4LDExLjU2OTU2OTIgTDEyLjIwMTc1MTgsMTEuNTAxNTEzIEMxMi4yNzAzNzI5LDExLjM2NTQgMTIuMjAxNzUxOCwxMS4yMjkyODc2IDEyLjA2NDUwOTYsMTEuMjI5Mjg3NiBMMTIuMDY0NTA5NiwxMS4yMjkyODc2IFoiLz4gICAgICA8ZWxsaXBzZSBjeD0iNyIgY3k9IjcuNjkiIHJ4PSIxLjA5OCIgcnk9IjEuMDg5Ii8+ICAgIDwvZz4gIDwvZz48L3N2Zz4=);\\n}\\n\\n.callOut {\\n display: block;\\n padding: 32px;\\n font-size: 14px;\\n font-weight: 500;\\n text-decoration: none;\\n color: #a3a9ac;\\n text-align: center;\\n}\\n\\n.callOut:after {\\n content: \\\" \\\\2665\\\";\\n -webkit-transition: color 4s ease;\\n transition: color 4s ease;\\n}\\n\\n.callOut:hover:after {\\n color: red;\\n}\\n\\n.callOut .netlifyLogo {\\n display: block;\\n margin: auto;\\n width: 32px;\\n height: 32px;\\n margin-bottom: 8px;\\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmlld0JveD0iMCAwIDMyIDMyIj4gIDxkZWZzPiAgICA8cmFkaWFsR3JhZGllbnQgaWQ9ImEiIGN5PSIwJSIgcj0iMTAwJSIgZng9Ij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MgQzcuOTkxNTAyMSwxNy4wMjIyNTYzIDcuODY4OTc0ODEsMTcuMTcwMjc1NSA3Ljc4NzI4OTk1LDE3LjMzMTc1MTEgWiBNNy4zNTE1NTc4MywxOC4yNDY3NDY0IEM3LjM3ODc4NTk0LDE4LjI0Njc0NjQgNy4zOTI0LDE4LjI2MDIwMjcgNy4zOTI0LDE4LjI4NzExNTEgQzcuMzkyNCwxOC4zMDA1NzEzIDcuMzc4Nzg1OTQsMTguMzE0MDI3NSA3LjM1MTU1NzgzLDE4LjM0MDkzOTkgTDMuNjM0OTIsMTkuOTE1MzE2NSBDMy42MzQ5MiwxOS45MTUzMTY1IDMuNjIxMzA1OTQsMTkuOTE1MzE2NSAzLjYwNzY5MTg4LDE5LjkwMTg2MDMgTDAuNjI2MjEzMTg1LDE2Ljk0MTQ5NDEgQzAuNjEyNTk5MTI3LDE2LjkyODAzNzggMC41OTg5ODUwNjksMTYuOTAxMTI1NCAwLjYxMjU5OTEyNywxNi44ODc2NjkyIEMwLjYyNjIxMzE4NSwxNi44NzQyMTMgMC42Mzk4MjcyNDMsMTYuODYwNzU2OCAwLjY2NzA1NTM1OSwxNi44NjA3NTY4IEw3LjM1MTU1NzgzLDE4LjI0Njc0NjQgWiIvPjwvc3ZnPg==);\\n}\\n\\n.visuallyHidden {\\n border: 0;\\n clip: rect(0 0 0 0);\\n height: 1px;\\n margin: -1px;\\n overflow: hidden;\\n padding: 0;\\n position: absolute;\\n width: 1px;\\n #fff-space: nowrap;\\n}\\n\\n.subheader {\\n margin-top: 2em;\\n border-top: 1px solid rgb(14, 30, 37);\\n}\\n\\n.subheader h3 {\\n padding-top: 1em;\\n text-align: center;\\n }\\n\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./components/modal.css\n// module id = 26\n// module chunks = 0","/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\nmodule.exports = function(useSourceMap) {\n\tvar list = [];\n\n\t// return the list of modules as css string\n\tlist.toString = function toString() {\n\t\treturn this.map(function (item) {\n\t\t\tvar content = cssWithMappingToString(item, useSourceMap);\n\t\t\tif(item[2]) {\n\t\t\t\treturn \"@media \" + item[2] + \"{\" + content + \"}\";\n\t\t\t} else {\n\t\t\t\treturn content;\n\t\t\t}\n\t\t}).join(\"\");\n\t};\n\n\t// import a list of modules into the list\n\tlist.i = function(modules, mediaQuery) {\n\t\tif(typeof modules === \"string\")\n\t\t\tmodules = [[null, modules, \"\"]];\n\t\tvar alreadyImportedModules = {};\n\t\tfor(var i = 0; i < this.length; i++) {\n\t\t\tvar id = this[i][0];\n\t\t\tif(typeof id === \"number\")\n\t\t\t\talreadyImportedModules[id] = true;\n\t\t}\n\t\tfor(i = 0; i < modules.length; i++) {\n\t\t\tvar item = modules[i];\n\t\t\t// skip already imported module\n\t\t\t// this implementation is not 100% perfect for weird media query combinations\n\t\t\t// when a module is imported multiple times with different media queries.\n\t\t\t// I hope this will never occur (Hey this way we have smaller bundles)\n\t\t\tif(typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\n\t\t\t\tif(mediaQuery && !item[2]) {\n\t\t\t\t\titem[2] = mediaQuery;\n\t\t\t\t} else if(mediaQuery) {\n\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\n\t\t\t\t}\n\t\t\t\tlist.push(item);\n\t\t\t}\n\t\t}\n\t};\n\treturn list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n\tvar content = item[1] || '';\n\tvar cssMapping = item[3];\n\tif (!cssMapping) {\n\t\treturn content;\n\t}\n\n\tif (useSourceMap && typeof btoa === 'function') {\n\t\tvar sourceMapping = toComment(cssMapping);\n\t\tvar sourceURLs = cssMapping.sources.map(function (source) {\n\t\t\treturn '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'\n\t\t});\n\n\t\treturn [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n\t}\n\n\treturn [content].join('\\n');\n}\n\n// Adapted from convert-source-map (MIT)\nfunction toComment(sourceMap) {\n\t// eslint-disable-next-line no-undef\n\tvar base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n\tvar data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;\n\n\treturn '/*# ' + data + ' */';\n}\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/css-loader/lib/css-base.js"],"sourceRoot":""} \ No newline at end of file